hexsha
string
size
int64
ext
string
lang
string
max_stars_repo_path
string
max_stars_repo_name
string
max_stars_repo_head_hexsha
string
max_stars_repo_licenses
list
max_stars_count
int64
max_stars_repo_stars_event_min_datetime
string
max_stars_repo_stars_event_max_datetime
string
max_issues_repo_path
string
max_issues_repo_name
string
max_issues_repo_head_hexsha
string
max_issues_repo_licenses
list
max_issues_count
int64
max_issues_repo_issues_event_min_datetime
string
max_issues_repo_issues_event_max_datetime
string
max_forks_repo_path
string
max_forks_repo_name
string
max_forks_repo_head_hexsha
string
max_forks_repo_licenses
list
max_forks_count
int64
max_forks_repo_forks_event_min_datetime
string
max_forks_repo_forks_event_max_datetime
string
content
string
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
qsc_code_num_words_quality_signal
int64
qsc_code_num_chars_quality_signal
float64
qsc_code_mean_word_length_quality_signal
float64
qsc_code_frac_words_unique_quality_signal
float64
qsc_code_frac_chars_top_2grams_quality_signal
float64
qsc_code_frac_chars_top_3grams_quality_signal
float64
qsc_code_frac_chars_top_4grams_quality_signal
float64
qsc_code_frac_chars_dupe_5grams_quality_signal
float64
qsc_code_frac_chars_dupe_6grams_quality_signal
float64
qsc_code_frac_chars_dupe_7grams_quality_signal
float64
qsc_code_frac_chars_dupe_8grams_quality_signal
float64
qsc_code_frac_chars_dupe_9grams_quality_signal
float64
qsc_code_frac_chars_dupe_10grams_quality_signal
float64
qsc_code_frac_chars_replacement_symbols_quality_signal
float64
qsc_code_frac_chars_digital_quality_signal
float64
qsc_code_frac_chars_whitespace_quality_signal
float64
qsc_code_size_file_byte_quality_signal
float64
qsc_code_num_lines_quality_signal
float64
qsc_code_num_chars_line_max_quality_signal
float64
qsc_code_num_chars_line_mean_quality_signal
float64
qsc_code_frac_chars_alphabet_quality_signal
float64
qsc_code_frac_chars_comments_quality_signal
float64
qsc_code_cate_xml_start_quality_signal
float64
qsc_code_frac_lines_dupe_lines_quality_signal
float64
qsc_code_cate_autogen_quality_signal
float64
qsc_code_frac_lines_long_string_quality_signal
float64
qsc_code_frac_chars_string_length_quality_signal
float64
qsc_code_frac_chars_long_word_length_quality_signal
float64
qsc_code_frac_lines_string_concat_quality_signal
float64
qsc_code_cate_encoded_data_quality_signal
float64
qsc_code_frac_chars_hex_words_quality_signal
float64
qsc_code_frac_lines_prompt_comments_quality_signal
float64
qsc_code_frac_lines_assert_quality_signal
float64
qsc_codepython_cate_ast_quality_signal
float64
qsc_codepython_frac_lines_func_ratio_quality_signal
float64
qsc_codepython_cate_var_zero_quality_signal
bool
qsc_codepython_frac_lines_pass_quality_signal
float64
qsc_codepython_frac_lines_import_quality_signal
float64
qsc_codepython_frac_lines_simplefunc_quality_signal
float64
qsc_codepython_score_lines_no_logic_quality_signal
float64
qsc_codepython_frac_lines_print_quality_signal
float64
qsc_code_num_words
int64
qsc_code_num_chars
int64
qsc_code_mean_word_length
int64
qsc_code_frac_words_unique
null
qsc_code_frac_chars_top_2grams
int64
qsc_code_frac_chars_top_3grams
int64
qsc_code_frac_chars_top_4grams
int64
qsc_code_frac_chars_dupe_5grams
int64
qsc_code_frac_chars_dupe_6grams
int64
qsc_code_frac_chars_dupe_7grams
int64
qsc_code_frac_chars_dupe_8grams
int64
qsc_code_frac_chars_dupe_9grams
int64
qsc_code_frac_chars_dupe_10grams
int64
qsc_code_frac_chars_replacement_symbols
int64
qsc_code_frac_chars_digital
int64
qsc_code_frac_chars_whitespace
int64
qsc_code_size_file_byte
int64
qsc_code_num_lines
int64
qsc_code_num_chars_line_max
int64
qsc_code_num_chars_line_mean
int64
qsc_code_frac_chars_alphabet
int64
qsc_code_frac_chars_comments
int64
qsc_code_cate_xml_start
int64
qsc_code_frac_lines_dupe_lines
int64
qsc_code_cate_autogen
int64
qsc_code_frac_lines_long_string
int64
qsc_code_frac_chars_string_length
int64
qsc_code_frac_chars_long_word_length
int64
qsc_code_frac_lines_string_concat
null
qsc_code_cate_encoded_data
int64
qsc_code_frac_chars_hex_words
int64
qsc_code_frac_lines_prompt_comments
int64
qsc_code_frac_lines_assert
int64
qsc_codepython_cate_ast
int64
qsc_codepython_frac_lines_func_ratio
int64
qsc_codepython_cate_var_zero
int64
qsc_codepython_frac_lines_pass
int64
qsc_codepython_frac_lines_import
int64
qsc_codepython_frac_lines_simplefunc
int64
qsc_codepython_score_lines_no_logic
int64
qsc_codepython_frac_lines_print
int64
effective
string
hits
int64
9389cb7a39d34434b205d05068e576faba98ddc7
1,639
py
Python
legacy/tests/test_complete_tdf.py
solar464/TDF_deterministic_encryption
ff9dceacb37ce7727a8205cc72a4d928d37cce6f
[ "MIT" ]
null
null
null
legacy/tests/test_complete_tdf.py
solar464/TDF_deterministic_encryption
ff9dceacb37ce7727a8205cc72a4d928d37cce6f
[ "MIT" ]
null
null
null
legacy/tests/test_complete_tdf.py
solar464/TDF_deterministic_encryption
ff9dceacb37ce7727a8205cc72a4d928d37cce6f
[ "MIT" ]
null
null
null
import unittest import pickle from array import array import complete_tdf from floodberry.floodberry_ed25519 import GE25519 from tdf_strucs import TDFMatrix, TDFError from complete_tdf import CTDFCodec as Codec, CTDFCipherText as CipherText from utils import int_lst_to_bitarr TEST_DIR = "legacy/tests/" PACK_TEST_KEY...
29.267857
73
0.700427
252
1,639
4.269841
0.281746
0.05948
0.040892
0.055762
0.087361
0.042751
0
0
0
0
0
0.025602
0.18975
1,639
55
74
29.8
0.784639
0.025015
0
0
0
0
0.055777
0.013944
0
0
0
0
0.166667
1
0.111111
false
0
0.222222
0
0.361111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
938c81e0713358c52bf4da54926facac71c9eb0c
431
py
Python
wherethefuck/celery.py
luismasuelli/wherethefuck
6e68543a804c299be4362836c518e34f10029b48
[ "MIT" ]
1
2019-11-18T15:02:16.000Z
2019-11-18T15:02:16.000Z
wherethefuck/celery.py
luismasuelli/wherethefuck
6e68543a804c299be4362836c518e34f10029b48
[ "MIT" ]
null
null
null
wherethefuck/celery.py
luismasuelli/wherethefuck
6e68543a804c299be4362836c518e34f10029b48
[ "MIT" ]
null
null
null
import os from celery import Celery from django.conf import settings # set the default Django settings module for the 'celery' program. os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'wherethefuck.settings') # create and run celery workers. app = Celery(broker=settings.CELERY_BROKER_URL) app.config_from_object('djan...
28.733333
72
0.798144
59
431
5.559322
0.559322
0.060976
0.121951
0
0
0
0
0
0
0
0
0
0.106729
431
14
73
30.785714
0.851948
0.220418
0
0
0
0
0.213213
0.129129
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
938caebc89dfb3ff5ef96ed29916b89a93439b97
395
py
Python
plot_main.py
Alexhaoge/MLSR
1397176ea4c71533f3995ff476727217125c9f83
[ "MIT" ]
1
2020-12-27T15:45:09.000Z
2020-12-27T15:45:09.000Z
plot_main.py
Alexhaoge/MLSR
1397176ea4c71533f3995ff476727217125c9f83
[ "MIT" ]
null
null
null
plot_main.py
Alexhaoge/MLSR
1397176ea4c71533f3995ff476727217125c9f83
[ "MIT" ]
1
2021-04-08T17:03:36.000Z
2021-04-08T17:03:36.000Z
from MLSR.data import DataSet from MLSR.plot import * x = DataSet('data/rand_select_400_avg.csv') x.generate_feature() y = DataSet('data/not_selected_avg.csv') y.generate_feature() z = DataSet.static_merge(x, y) #plot_tsne(z, 'log/tsne.png') z = z.convert_to_ssl() z0, z1 = z.split_by_weak_label() plot_tsne_ssl(z0, 'lo...
28.214286
47
0.749367
76
395
3.605263
0.5
0.087591
0.080292
0.087591
0
0
0
0
0
0
0
0.041783
0.091139
395
13
48
30.384615
0.721448
0.070886
0
0
1
0
0.221311
0.144809
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
939056f893dc7a63b3b4c5c9d0f8b92f4cb9205c
7,652
py
Python
utils/utils_convert2hdf5.py
jiyeonkim127/PSI
5c525d5304fb756c9314ea3e225bbb180e521b9a
[ "Xnet", "X11" ]
138
2020-04-18T19:32:12.000Z
2022-03-31T06:58:33.000Z
utils/utils_convert2hdf5.py
jiyeonkim127/PSI
5c525d5304fb756c9314ea3e225bbb180e521b9a
[ "Xnet", "X11" ]
19
2020-04-21T18:24:20.000Z
2022-03-12T00:25:11.000Z
utils/utils_convert2hdf5.py
jiyeonkim127/PSI
5c525d5304fb756c9314ea3e225bbb180e521b9a
[ "Xnet", "X11" ]
19
2020-04-22T01:32:25.000Z
2022-03-24T02:52:01.000Z
import numpy as np import scipy.io as sio import os, glob, sys import h5py_cache as h5c sys.path.append('/home/yzhang/workspaces/smpl-env-gen-3d-internal') sys.path.append('/home/yzhang/workspaces/smpl-env-gen-3d-internal/source') from batch_gen_hdf5 import BatchGeneratorWithSceneMeshMatfile import torch ''' In t...
49.688312
176
0.627418
1,114
7,652
4.01526
0.137343
0.121619
0.072435
0.071987
0.671138
0.583501
0.501453
0.426559
0.334898
0.262911
0
0.038189
0.18897
7,652
153
177
50.013072
0.682565
0.29012
0
0.25974
0
0
0.1322
0.045703
0
0
0
0
0
1
0
false
0
0.077922
0
0.077922
0.064935
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
939077a570d47a79177487efee3028816d6b91da
421
py
Python
trains/models.py
Seshathri-saravanan/quest
397c92e36167b9554fd72f55bdac0a2cbcdfea6f
[ "MIT" ]
null
null
null
trains/models.py
Seshathri-saravanan/quest
397c92e36167b9554fd72f55bdac0a2cbcdfea6f
[ "MIT" ]
null
null
null
trains/models.py
Seshathri-saravanan/quest
397c92e36167b9554fd72f55bdac0a2cbcdfea6f
[ "MIT" ]
1
2021-11-09T15:58:33.000Z
2021-11-09T15:58:33.000Z
from django.db import models class Train(models.Model): no = models.CharField(max_length=20) destination = models.CharField(max_length=50) source = models.CharField(max_length=50) days = models.CharField(max_length=10) name = models.CharField(max_length=50) arrival = models.CharField(max_length...
32.384615
49
0.724466
57
421
5.157895
0.438596
0.357143
0.428571
0.571429
0.530612
0
0
0
0
0
0
0.040115
0.171021
421
12
50
35.083333
0.802292
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0.090909
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
93938181b040ac3ac5f94151cbff662943eef747
3,324
py
Python
tests/test_names.py
fabiocaccamo/python-fontbro
2ed7ef0d3d1ed4d91387278cfb5f7fd63324451b
[ "MIT" ]
11
2021-11-17T23:51:55.000Z
2022-03-17T20:38:14.000Z
tests/test_names.py
fabiocaccamo/python-fontbro
2ed7ef0d3d1ed4d91387278cfb5f7fd63324451b
[ "MIT" ]
4
2022-02-21T02:16:06.000Z
2022-03-28T02:18:16.000Z
tests/test_names.py
fabiocaccamo/python-fontbro
2ed7ef0d3d1ed4d91387278cfb5f7fd63324451b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from fontbro import Font from tests import AbstractTestCase class NamesTestCase(AbstractTestCase): """ Test case for the methods related to the font names. """ def test_get_name_by_id(self): font = self._get_font("/Roboto_Mono/static/RobotoMono-Regular.ttf") ...
38.206897
85
0.65343
404
3,324
5.054455
0.160891
0.088149
0.052889
0.066112
0.621939
0.580313
0.523996
0.471107
0.432909
0.432909
0
0.003943
0.237064
3,324
86
86
38.651163
0.801262
0.038508
0
0.223881
0
0
0.263373
0.12618
0
0
0
0
0.208955
1
0.134328
false
0
0.029851
0
0.179104
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93946c005b5692a8ad70e09207171d1d003f400a
3,901
py
Python
parse_ecosim_files.py
lmorillas/ecosim_to_we
2bd158146fa72ec7cbc9bcd1aaa57f3c6715cb56
[ "Apache-2.0" ]
null
null
null
parse_ecosim_files.py
lmorillas/ecosim_to_we
2bd158146fa72ec7cbc9bcd1aaa57f3c6715cb56
[ "Apache-2.0" ]
null
null
null
parse_ecosim_files.py
lmorillas/ecosim_to_we
2bd158146fa72ec7cbc9bcd1aaa57f3c6715cb56
[ "Apache-2.0" ]
null
null
null
from amara.bindery import html from amara.lib import U import urllib import urlparse import time ''' This script extract data from html pages and write the data into a .json file ready to create the mediawiki / wikieducator pages ''' BASE = 'http://academics.smcvt.edu/dmccabe/teaching/Community/' def parse_notes_...
25.664474
93
0.605229
532
3,901
4.353383
0.291353
0.017271
0.011658
0.018135
0.183074
0.183074
0.183074
0.121762
0.121762
0.088083
0
0.006311
0.268905
3,901
151
94
25.834437
0.80575
0.06101
0
0.117647
0
0.011765
0.143911
0
0
0
0
0
0
0
null
null
0
0.070588
null
null
0.035294
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9394ac8b332dbc27f6671e32b2abfcd0890092b3
117
py
Python
web_scraping/ec2files/ec2file78.py
nikibhatt/Groa
fc2d4ae87cb825e6d54a0831c72be16541eebe61
[ "MIT" ]
1
2020-04-08T20:11:48.000Z
2020-04-08T20:11:48.000Z
web_scraping/ec2files/ec2file78.py
cmgospod/Groa
31b3624bfe61e772b55f8175b4e95d63c9e67966
[ "MIT" ]
null
null
null
web_scraping/ec2files/ec2file78.py
cmgospod/Groa
31b3624bfe61e772b55f8175b4e95d63c9e67966
[ "MIT" ]
1
2020-09-12T07:07:41.000Z
2020-09-12T07:07:41.000Z
from scraper import * s = Scraper(start=138996, end=140777, max_iter=30, scraper_instance=78) s.scrape_letterboxd()
39
72
0.777778
18
117
4.888889
0.833333
0
0
0
0
0
0
0
0
0
0
0.152381
0.102564
117
3
73
39
0.685714
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
9396f021d37c0bb0196896103dbb10d80bb60437
20,826
py
Python
backend/tests/usecases/test_control_resource.py
crosspower/naruko
4c524e2ef955610a711830bc86d730ffe4fc2bd8
[ "MIT" ]
17
2019-01-23T04:37:43.000Z
2019-10-15T01:42:31.000Z
backend/tests/usecases/test_control_resource.py
snickerjp/naruko
4c524e2ef955610a711830bc86d730ffe4fc2bd8
[ "MIT" ]
1
2019-01-23T08:04:44.000Z
2019-01-23T08:44:33.000Z
backend/tests/usecases/test_control_resource.py
snickerjp/naruko
4c524e2ef955610a711830bc86d730ffe4fc2bd8
[ "MIT" ]
6
2019-01-23T09:10:59.000Z
2020-12-02T04:15:41.000Z
from django.core.exceptions import PermissionDenied from django.test import TestCase from backend.models import UserModel, AwsEnvironmentModel from unittest import mock # デコレーターをmock化 with mock.patch('backend.models.OperationLogModel.operation_log', lambda executor_index=None, target_method=None, target_arg_index_...
39.146617
162
0.687554
2,443
20,826
5.470323
0.051985
0.076025
0.050284
0.038761
0.881547
0.854535
0.839045
0.809114
0.793699
0.786142
0
0.003238
0.228945
20,826
531
163
39.220339
0.828995
0.048545
0
0.731563
0
0
0.036765
0.029266
0
0
0
0
0.324484
1
0.082596
false
0
0.014749
0
0.100295
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
93972dbe0dbe487735de9457da88b6e093fc9d7c
371
py
Python
cool.py
divine-coder/CODECHEF-PYTHON
a1e34d6f9f75cf7b9497f1ef2f937cb4f64f1543
[ "MIT" ]
null
null
null
cool.py
divine-coder/CODECHEF-PYTHON
a1e34d6f9f75cf7b9497f1ef2f937cb4f64f1543
[ "MIT" ]
4
2020-10-04T07:49:30.000Z
2021-10-02T05:24:40.000Z
cool.py
divine-coder/CODECHEF-PYTHON
a1e34d6f9f75cf7b9497f1ef2f937cb4f64f1543
[ "MIT" ]
7
2020-10-04T07:46:55.000Z
2021-11-05T14:30:00.000Z
def check(b,ind,c): i=ind while i<len(b): if b[i]==c: return i i+=1 return -1 a=raw_input() b=raw_input() i=0 index=0 co=0 if a[0]==b[0]: co+=1 i+=1 while i<len(a): index1=check(b,index+1,a[i]) print a[i],index1 if index1!=-1: index=index1 co+=1 ...
13.740741
32
0.471698
70
371
2.471429
0.271429
0.034682
0.104046
0
0
0
0
0
0
0
0
0.071429
0.358491
371
26
33
14.269231
0.655462
0.02965
0
0.217391
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.086957
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
939786f9e786e13e34a09c07c33b9d33a5fb6c2c
1,273
py
Python
core-python/Core_Python/file/RemoveTempDirs.py
theumang100/tutorials-1
497f54c2adb022c316530319a168fca1c007d4b1
[ "MIT" ]
9
2020-04-23T05:24:19.000Z
2022-02-17T16:37:51.000Z
core-python/Core_Python/file/RemoveTempDirs.py
theumang100/tutorials-1
497f54c2adb022c316530319a168fca1c007d4b1
[ "MIT" ]
5
2020-10-01T05:08:37.000Z
2020-10-12T03:18:10.000Z
core-python/Core_Python/file/RemoveTempDirs.py
theumang100/tutorials-1
497f54c2adb022c316530319a168fca1c007d4b1
[ "MIT" ]
9
2020-04-28T14:06:41.000Z
2021-10-19T18:32:28.000Z
import os from pathlib import Path from shutil import rmtree # change your parent dir accordingly try: directory = "TempDir" parent_dir = "E:/GitHub/1) Git_Tutorials_Repo_Projects/core-python/Core_Python/" td1, td2 = "TempA", "TempA" path = os.path.join(parent_dir, directory) temp_mul_dirs = os.path...
47.148148
101
0.683425
207
1,273
4.140097
0.362319
0.105018
0.073512
0.105018
0.161027
0.161027
0.121354
0.063011
0.063011
0.063011
0
0.007634
0.176748
1,273
27
102
47.148148
0.810115
0.069128
0
0
0
0
0.222362
0.065327
0
0
0
0
0
1
0
false
0
0.157895
0
0.157895
0.157895
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
939b63bdfc91f71662536be6efe59324a01bcaa9
587
py
Python
code/python/echomesh/color/WheelColor_test.py
silky/echomesh
2fe5a00a79c215b4aca4083e5252fcdcbd0507aa
[ "MIT" ]
1
2019-06-27T11:34:13.000Z
2019-06-27T11:34:13.000Z
code/python/echomesh/color/WheelColor_test.py
silky/echomesh
2fe5a00a79c215b4aca4083e5252fcdcbd0507aa
[ "MIT" ]
null
null
null
code/python/echomesh/color/WheelColor_test.py
silky/echomesh
2fe5a00a79c215b4aca4083e5252fcdcbd0507aa
[ "MIT" ]
null
null
null
from __future__ import absolute_import, division, print_function, unicode_literals from echomesh.color import WheelColor from echomesh.util.TestCase import TestCase EXPECTED = [ [ 0., 1., 0.], [ 0.3, 0.7, 0. ], [ 0.6, 0.4, 0. ], [ 0.9, 0.1, 0. ], [ 0. , 0.2, 0.8], [ 0. , 0.5, 0.5], [ 0. , 0...
25.521739
82
0.558773
96
587
3.322917
0.416667
0.062696
0.037618
0.025078
0
0
0
0
0
0
0
0.126126
0.243612
587
22
83
26.681818
0.592342
0
0
0
0
0
0
0
0
0
0
0
0.052632
1
0.052632
false
0
0.157895
0
0.263158
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
939de781cdf5e974811b59296ad87e9307743d04
1,000
py
Python
modules/IPlugin.py
SRottgardt/data_pipeline
8adcc886870f49bf0d544952be689d16825fe38e
[ "Apache-2.0" ]
3
2021-02-14T16:28:50.000Z
2021-02-16T23:23:49.000Z
modules/IPlugin.py
SRottgardt/data_pipeline
8adcc886870f49bf0d544952be689d16825fe38e
[ "Apache-2.0" ]
null
null
null
modules/IPlugin.py
SRottgardt/data_pipeline
8adcc886870f49bf0d544952be689d16825fe38e
[ "Apache-2.0" ]
null
null
null
from modules.CommandData import CommandData class IPlugin(object): def __init__(self): """create the plugin interface """ self.pluginName = "" self.pluginAutor = "" self.pluginVersion = 0 self.pluginDescription = "" self.pluginCommand = "" self.comman...
26.315789
90
0.586
93
1,000
6.225806
0.505376
0.07772
0.044905
0
0
0
0
0
0
0
0
0.00146
0.315
1,000
37
91
27.027027
0.843796
0.288
0
0
0
0
0.106383
0
0
0
0
0
0
1
0.263158
false
0
0.052632
0
0.368421
0.157895
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
939df3af89d3fd8f0de44f63d3d42fe43872956f
4,890
py
Python
PySatImageAnalysis/sample_generator.py
danaja/sat_image_building_extraction
3d6cc26854666b566af0930a213a6f907733eaf7
[ "MIT" ]
2
2017-03-30T16:21:45.000Z
2019-01-09T03:01:01.000Z
PySatImageAnalysis/sample_generator.py
danaja/sat_image_building_extraction
3d6cc26854666b566af0930a213a6f907733eaf7
[ "MIT" ]
null
null
null
PySatImageAnalysis/sample_generator.py
danaja/sat_image_building_extraction
3d6cc26854666b566af0930a213a6f907733eaf7
[ "MIT" ]
1
2018-12-18T08:49:55.000Z
2018-12-18T08:49:55.000Z
# -*- coding: utf-8 -*- #Used to generate positive building samples from google satellite images #based on OSM building polygons in geojson format # #Note 1: Accuracy of OSM building polygons may vary #Note 2: Requires downloaded google satellite images(tiles) to # have the following file name structure # ...
38.203125
124
0.616769
634
4,890
4.57571
0.31388
0.024819
0.025853
0.031024
0.253706
0.253706
0.219924
0.219924
0.197173
0.197173
0
0.025166
0.228016
4,890
127
125
38.503937
0.743311
0.582618
0
0.044444
1
0.022222
0.09548
0.077197
0
0
0
0
0
0
null
null
0
0.155556
null
null
0.044444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
939e7757a3e174c6114642e42e77179f804882a6
779
py
Python
notebook/demo/src/multifuns.py
marketmodelbrokendown/1
587283fd972d0060815dde82a57667e74765c9ae
[ "MIT" ]
2
2019-03-13T15:34:42.000Z
2019-03-13T15:34:47.000Z
notebook/demo/src/multifuns.py
hervey-su/home
655b9e7b8180592742a132832795170a00debb47
[ "MIT" ]
1
2020-11-18T21:55:20.000Z
2020-11-18T21:55:20.000Z
notebook/demo/src/multifuns.py
marketmodelbrokendown/1
587283fd972d0060815dde82a57667e74765c9ae
[ "MIT" ]
null
null
null
from ctypes import cdll,c_int,c_double,POINTER _lib = cdll.LoadLibrary('./demo/bin/libmultifuns.dll') # double dprod(double *x, int n) def dprod(x): _lib.dprod.argtypes = [POINTER(c_double), c_int] _lib.dprod.restype = c_double n = len(x) # convert a Python list into a C array by using ctypes a...
26.862069
59
0.658537
131
779
3.748092
0.267176
0.065173
0.04277
0.04888
0.207739
0.207739
0.207739
0.207739
0.207739
0.207739
0
0
0.206675
779
28
60
27.821429
0.794498
0.24647
0
0.111111
0
0
0.046552
0.046552
0
0
0
0
0
1
0.166667
false
0
0.055556
0
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93a10bd2227db590b05aec0efe907cfefee1e40e
843
py
Python
api/nivo_api/cli/database.py
RemiDesgrange/nivo
e13dcd7c00d1fbc41c23d51c9004901d7704b498
[ "MIT" ]
2
2019-05-07T20:23:59.000Z
2020-04-26T11:18:38.000Z
api/nivo_api/cli/database.py
RemiDesgrange/nivo
e13dcd7c00d1fbc41c23d51c9004901d7704b498
[ "MIT" ]
89
2019-08-06T12:47:50.000Z
2022-03-28T04:03:25.000Z
api/nivo_api/cli/database.py
RemiDesgrange/nivo
e13dcd7c00d1fbc41c23d51c9004901d7704b498
[ "MIT" ]
1
2020-06-23T10:07:38.000Z
2020-06-23T10:07:38.000Z
from nivo_api.core.db.connection import metadata, create_database_connections from sqlalchemy.engine import Engine from sqlalchemy.exc import ProgrammingError def is_postgis_installed(engine: Engine) -> bool: try: engine.execute("SELECT postgis_version()") return True except ProgrammingError: ...
32.423077
85
0.720047
116
843
5.043103
0.396552
0.059829
0.112821
0.092308
0.133333
0.099145
0.099145
0
0
0
0
0
0.185053
843
25
86
33.72
0.851528
0
0
0
0
0
0.150652
0
0
0
0
0
0
1
0.105263
false
0
0.157895
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93a2c7906ab4851fa8921bb2fef6ee5531e13056
357
py
Python
start_spiders.py
pluto-junzeng/baiduSpider
ea591920cd0994e83e36f033f98c6cc6859141d6
[ "Apache-2.0" ]
13
2020-12-07T03:19:12.000Z
2022-01-19T13:02:41.000Z
start_spiders.py
zengjunjun/baiduSpider
ea591920cd0994e83e36f033f98c6cc6859141d6
[ "Apache-2.0" ]
null
null
null
start_spiders.py
zengjunjun/baiduSpider
ea591920cd0994e83e36f033f98c6cc6859141d6
[ "Apache-2.0" ]
3
2021-07-10T08:24:55.000Z
2022-01-19T13:02:43.000Z
""" @Author:lichunhui @Time: @Description: 百度百科爬虫程序入口 """ from scrapy import cmdline # cmdline.execute("scrapy crawl baidu_spider".split()) # cmdline.execute("scrapy crawl baike_spider".split()) # cmdline.execute("scrapy crawl wiki_zh_spider".split()) # cmdline.execute("scrapy crawl wiki_en_spider".split()) cmdline...
25.5
56
0.7507
44
357
5.954545
0.431818
0.267176
0.381679
0.381679
0.561069
0.442748
0.305344
0
0
0
0
0
0.092437
357
13
57
27.461538
0.808642
0.753501
0
0
0
0
0.197368
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
93a32ef6fddce5cbc92f060b72225c59adf371f7
515
py
Python
sources/pysimplegui/simpleeventloop.py
kantel/pythoncuriosa
4dfb92b443cbe0acf8d8efa5c54efbf13e834620
[ "MIT" ]
null
null
null
sources/pysimplegui/simpleeventloop.py
kantel/pythoncuriosa
4dfb92b443cbe0acf8d8efa5c54efbf13e834620
[ "MIT" ]
null
null
null
sources/pysimplegui/simpleeventloop.py
kantel/pythoncuriosa
4dfb92b443cbe0acf8d8efa5c54efbf13e834620
[ "MIT" ]
null
null
null
import PySimpleGUI as sg layout = [ [sg.Text("Wie heißt Du?")], [sg.Input(key = "-INPUT-")], [sg.Text(size = (40, 1), key = "-OUTPUT-")], [sg.Button("Okay"), sg.Button("Quit")] ] window = sg.Window("Hallo PySimpleGUI", layout) keep_going = True while keep_going: event, val...
24.52381
69
0.557282
62
515
4.564516
0.548387
0.095406
0
0
0
0
0
0
0
0
0
0.007752
0.248544
515
21
70
24.52381
0.723514
0
0
0
0
0
0.160853
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93a5a387bf24ca83ae37f5241ea161f3010ef4cf
3,247
py
Python
datasets/fusiongallery.py
weshoke/UV-Net
9e833df6868695a2cea5c5b79a0b613b224eacf2
[ "MIT" ]
null
null
null
datasets/fusiongallery.py
weshoke/UV-Net
9e833df6868695a2cea5c5b79a0b613b224eacf2
[ "MIT" ]
null
null
null
datasets/fusiongallery.py
weshoke/UV-Net
9e833df6868695a2cea5c5b79a0b613b224eacf2
[ "MIT" ]
null
null
null
import numpy as np import pathlib from torch.utils.data import Dataset, DataLoader import dgl import torch from dgl.data.utils import load_graphs import json from datasets import util from tqdm import tqdm class FusionGalleryDataset(Dataset): @staticmethod def num_classes(): return 8 def __init__...
32.47
128
0.57838
408
3,247
4.477941
0.428922
0.038314
0.038314
0.01642
0.042693
0
0
0
0
0
0
0.005489
0.326763
3,247
99
129
32.79798
0.830284
0.248537
0
0.058824
0
0
0.039713
0
0
0
0
0
0.014706
1
0.088235
false
0
0.132353
0.044118
0.308824
0.014706
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93a73833278709acd49bb46a9f2c8ae73acf367a
3,690
py
Python
mpa/modules/models/heads/custom_ssd_head.py
openvinotoolkit/model_preparation_algorithm
8d36bf5944837b7a3d22fc2c3a4cb93423619fc2
[ "Apache-2.0" ]
null
null
null
mpa/modules/models/heads/custom_ssd_head.py
openvinotoolkit/model_preparation_algorithm
8d36bf5944837b7a3d22fc2c3a4cb93423619fc2
[ "Apache-2.0" ]
null
null
null
mpa/modules/models/heads/custom_ssd_head.py
openvinotoolkit/model_preparation_algorithm
8d36bf5944837b7a3d22fc2c3a4cb93423619fc2
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2022 Intel Corporation # SPDX-License-Identifier: Apache-2.0 # from mmdet.models.builder import HEADS, build_loss from mmdet.models.losses import smooth_l1_loss from mmdet.models.dense_heads.ssd_head import SSDHead @HEADS.register_module() class CustomSSDHead(SSDHead): def __init__( self,...
40.108696
79
0.622493
478
3,690
4.497908
0.301255
0.058605
0.042326
0.065116
0.163721
0.10186
0.091163
0.04
0.04
0
0
0.011525
0.29458
3,690
91
80
40.549451
0.814445
0.352575
0
0
0
0
0.009062
0
0
0
0
0
0
1
0.04
false
0
0.06
0
0.14
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93a84d645ccedf01c50e4963b06e5f5cf6720d08
2,918
py
Python
Python/ml_converter.py
daduz11/ios-facenet-id
0ec634cf7f4f12c2bfa6334a72d5f2ab0a4afde4
[ "Apache-2.0" ]
2
2021-07-22T07:35:48.000Z
2022-03-03T05:48:08.000Z
Python/ml_converter.py
daduz11/ios-facenet-id
0ec634cf7f4f12c2bfa6334a72d5f2ab0a4afde4
[ "Apache-2.0" ]
null
null
null
Python/ml_converter.py
daduz11/ios-facenet-id
0ec634cf7f4f12c2bfa6334a72d5f2ab0a4afde4
[ "Apache-2.0" ]
2
2021-03-11T14:50:05.000Z
2021-04-18T14:58:24.000Z
""" Copyright 2020 daduz11 Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writin...
38.906667
160
0.660384
376
2,918
4.973404
0.428191
0.032086
0.032086
0.017112
0.029947
0.029947
0.029947
0
0
0
0
0.024015
0.24366
2,918
74
161
39.432432
0.82329
0.187457
0
0.173913
0
0
0.188751
0
0
0
0
0
0
1
0.043478
false
0
0.108696
0
0.282609
0.086957
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93a90aa96a7060708343be286a46a3cbad16b9b8
628
py
Python
pizza_utils/stringutils.py
ILikePizza555/py-pizza-utils
f336fc2c391430f5d901d85dfda50974d9f8aba7
[ "MIT" ]
null
null
null
pizza_utils/stringutils.py
ILikePizza555/py-pizza-utils
f336fc2c391430f5d901d85dfda50974d9f8aba7
[ "MIT" ]
null
null
null
pizza_utils/stringutils.py
ILikePizza555/py-pizza-utils
f336fc2c391430f5d901d85dfda50974d9f8aba7
[ "MIT" ]
null
null
null
def find_from(string, subs, start = None, end = None): """ Returns a tuple of the lowest index where a substring in the iterable "subs" was found, and the substring. If multiple substrings are found, it will return the first one. If nothing is found, it will return (-1, None) """ string = strin...
27.304348
110
0.598726
90
628
4.111111
0.433333
0.121622
0.059459
0.091892
0
0
0
0
0
0
0
0.006928
0.31051
628
22
111
28.545455
0.847575
0.345541
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93aa7bc7eef6be2b816f51dac8d5aa561ac4c490
4,844
py
Python
lab/experiment_futures.py
ajmal017/ta_scanner
21f12bfd8b5936d1d1977a32c756715539b0d97c
[ "BSD-3-Clause" ]
16
2020-06-22T05:24:20.000Z
2022-02-15T11:41:14.000Z
lab/experiment_futures.py
ajmal017/ta_scanner
21f12bfd8b5936d1d1977a32c756715539b0d97c
[ "BSD-3-Clause" ]
24
2020-07-07T04:22:03.000Z
2021-01-03T07:21:02.000Z
lab/experiment_futures.py
ajmal017/ta_scanner
21f12bfd8b5936d1d1977a32c756715539b0d97c
[ "BSD-3-Clause" ]
3
2020-06-21T12:12:14.000Z
2021-09-01T04:46:59.000Z
# todos # - [ ] all dates and date deltas are in time, not integers from loguru import logger from typing import Dict import sys import datetime from datetime import timedelta import numpy as np from ta_scanner.data.data import load_and_cache, db_data_fetch_between, aggregate_bars from ta_scanner.data.ib import IbDat...
28
120
0.706441
698
4,844
4.637536
0.266476
0.06055
0.032129
0.021007
0.061477
0.033982
0
0
0
0
0
0.015861
0.193022
4,844
172
121
28.162791
0.812228
0.061519
0
0.016949
0
0.008475
0.051158
0.032635
0
0
0
0.005814
0
1
0.042373
false
0
0.127119
0.008475
0.20339
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93ade385d6ee900f8bf10af83edfd79ce2a15da9
841
py
Python
01.Hello_tkinter.py
amitdev101/learning-tkinter
1f7eabe1ac958c83c8bbe70e15682ecd4f7b5de5
[ "MIT" ]
null
null
null
01.Hello_tkinter.py
amitdev101/learning-tkinter
1f7eabe1ac958c83c8bbe70e15682ecd4f7b5de5
[ "MIT" ]
1
2020-11-15T15:43:03.000Z
2020-11-15T15:43:16.000Z
01.Hello_tkinter.py
amitdev101/learning-tkinter
1f7eabe1ac958c83c8bbe70e15682ecd4f7b5de5
[ "MIT" ]
null
null
null
import tkinter as tk import os print(tk) print(dir(tk)) print(tk.TkVersion) print(os.getcwd()) '''To initialize tkinter, we have to create a Tk root widget, which is a window with a title bar and other decoration provided by the window manager. The root widget has to be created before any other widgets and there can...
36.565217
115
0.737218
153
841
4.052288
0.503268
0.064516
0.041935
0
0
0
0
0
0
0
0
0
0.178359
841
22
116
38.227273
0.89725
0
0
0
0
0
0.060773
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93aee3614d8d0959902e63d0a0a8aa33c102d4fd
14,700
py
Python
myscrumy/remiljscrumy/views.py
mikkeyiv/Django-App
b1114e9e53bd673119a38a1acfefb7a9fd9f172e
[ "MIT" ]
null
null
null
myscrumy/remiljscrumy/views.py
mikkeyiv/Django-App
b1114e9e53bd673119a38a1acfefb7a9fd9f172e
[ "MIT" ]
null
null
null
myscrumy/remiljscrumy/views.py
mikkeyiv/Django-App
b1114e9e53bd673119a38a1acfefb7a9fd9f172e
[ "MIT" ]
null
null
null
from django.shortcuts import render,redirect,get_object_or_404 from remiljscrumy.models import ScrumyGoals,GoalStatus,ScrumyHistory,User from django.http import HttpResponse,Http404,HttpResponseRedirect from .forms import SignupForm,CreateGoalForm,MoveGoalForm,DevMoveGoalForm,AdminChangeGoalForm,QAChangeGoalForm,QAC...
49.328859
206
0.606531
1,590
14,700
5.515723
0.131447
0.047891
0.045496
0.070696
0.645382
0.601824
0.547434
0.502166
0.46146
0.451653
0
0.00569
0.27068
14,700
298
207
49.328859
0.812331
0.319728
0
0.553571
0
0
0.125942
0.040306
0
0
0
0
0
1
0.029762
false
0.011905
0.059524
0.005952
0.232143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93b17847a4ea4d1f1c0c385ce9727ab17aed5c27
3,088
py
Python
examples/ex03_oscillator_classes.py
icemtel/carpet
5905e02ab0e44822829a672955dccad3e09eea07
[ "MIT" ]
null
null
null
examples/ex03_oscillator_classes.py
icemtel/carpet
5905e02ab0e44822829a672955dccad3e09eea07
[ "MIT" ]
null
null
null
examples/ex03_oscillator_classes.py
icemtel/carpet
5905e02ab0e44822829a672955dccad3e09eea07
[ "MIT" ]
null
null
null
''' Cilia classes are used to compute fixed points faster. - Assume symmetry like in an m-twist (make a plot to see it) - Assume that symmetries is not broken in time -> define classes of symmetry and interactions between them. Done: - Create a ring of cilia. - Define symmetry classes - Use classes to solve ODE - Map...
36.761905
114
0.748381
520
3,088
4.196154
0.330769
0.021998
0.030247
0.038497
0.188818
0.163153
0.145738
0.135655
0.070577
0.03758
0
0.030104
0.160946
3,088
83
115
37.204819
0.812042
0.352008
0
0
0
0
0.005105
0
0
0
0
0
0
1
0
false
0
0.152174
0
0.152174
0.021739
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93b1f4ae1de1aaae99760a70f835707158943004
749
py
Python
cars/donkeycar/sim/Adafruit_PCA9685-pkg/Adafruit_PCA9685/__init__.py
kuaikai/kuaikai
ca7e7b2d2f6f16b892a21c819ba43201beadf370
[ "Apache-2.0" ]
6
2018-03-27T15:46:28.000Z
2018-06-23T21:56:15.000Z
cars/donkeycar/sim/Adafruit_PCA9685-pkg/Adafruit_PCA9685/__init__.py
kuaikai/kuaikai
ca7e7b2d2f6f16b892a21c819ba43201beadf370
[ "Apache-2.0" ]
3
2018-03-30T15:54:34.000Z
2018-07-11T19:44:59.000Z
cars/donkeycar/sim/Adafruit_PCA9685-pkg/Adafruit_PCA9685/__init__.py
kuaikai/kuaikai
ca7e7b2d2f6f16b892a21c819ba43201beadf370
[ "Apache-2.0" ]
null
null
null
""" SCL <scott@rerobots.net> 2018 """ import json import os import tempfile import time class PCA9685: def __init__(self): self._fd, self._pathname = tempfile.mkstemp(prefix='kuaikai_sim_', dir='/tmp', text=True) self._fp = os.fdopen(self._fd, 'wt') def __del__(self): self._fp.close(...
22.69697
97
0.534045
95
749
3.936842
0.442105
0.064171
0.048128
0.080214
0.219251
0.219251
0.219251
0.219251
0.219251
0.219251
0
0.014953
0.285714
749
32
98
23.40625
0.684112
0.038718
0
0.272727
0
0
0.115331
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0
0.409091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93b2760677f1d106e80a9cb1e7a2b2ab58fbe987
2,851
py
Python
bayesian-belief/sequential_bayes.py
ichko/interactive
6659f81c11c0f180295b758b457343d32323eb35
[ "MIT" ]
null
null
null
bayesian-belief/sequential_bayes.py
ichko/interactive
6659f81c11c0f180295b758b457343d32323eb35
[ "MIT" ]
null
null
null
bayesian-belief/sequential_bayes.py
ichko/interactive
6659f81c11c0f180295b758b457343d32323eb35
[ "MIT" ]
1
2019-02-05T20:22:08.000Z
2019-02-05T20:22:08.000Z
import numpy as np import matplotlib.pyplot as plt import scipy.stats def set_ax_range(): LEFT_AX.set_xlim(X_RANGE) LEFT_AX.set_ylim(Y_RANGE) def range_plot(ax, f, x_range, y_range): bins = 50 xi, yi = np.mgrid[ min(x_range):max(x_range):bins*1j, min(y_range):max(y_range):bins*1j ...
24.791304
88
0.618029
478
2,851
3.439331
0.228033
0.040146
0.039538
0.038929
0.156934
0.131995
0.09854
0.09854
0
0
0
0.023373
0.234655
2,851
114
89
25.008772
0.730064
0
0
0.072289
0
0
0.007717
0
0
0
0
0
0
1
0.120482
false
0
0.036145
0.024096
0.228916
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93b33aae2d1691aa0b0588d3a8ea2f43f4819a38
9,255
py
Python
cgc/legacy/kmeans.py
cffbots/cgc
1ea8b6bb6e4e9e728aff493744d8646b4953eaa4
[ "Apache-2.0" ]
11
2020-09-04T10:28:48.000Z
2022-03-10T13:56:43.000Z
cgc/legacy/kmeans.py
cffbots/cgc
1ea8b6bb6e4e9e728aff493744d8646b4953eaa4
[ "Apache-2.0" ]
40
2020-08-19T09:23:15.000Z
2022-03-01T16:16:30.000Z
cgc/legacy/kmeans.py
phenology/geoclustering
9b9b6ab8e64cdb62dbed6bdcfe63612e99665fd1
[ "Apache-2.0" ]
4
2020-10-03T21:17:18.000Z
2022-03-09T14:32:56.000Z
import numpy as np import logging import matplotlib.pyplot as plt from sklearn.cluster import KMeans from ..results import Results logger = logging.getLogger(__name__) class KmeansResults(Results): """ Contains results and metadata of a k-means refinement calculation """ def reset(self): sel...
38.723849
79
0.581415
1,210
9,255
4.220661
0.197521
0.051694
0.05326
0.021147
0.173879
0.073624
0.052085
0.02663
0.016448
0.016448
0
0.009571
0.322636
9,255
238
80
38.886555
0.805073
0.212966
0
0.092715
0
0
0.058161
0.003319
0
0
0
0
0
1
0.039735
false
0
0.033113
0
0.099338
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93b3d6b31717b3ff24e2cbf4724891aa06fd3451
5,175
py
Python
BAF2LOH.py
Xiaohuaniu0032/HLALOH
24587c75fad08e7f1821866fb72f9b7e756689bb
[ "MIT" ]
null
null
null
BAF2LOH.py
Xiaohuaniu0032/HLALOH
24587c75fad08e7f1821866fb72f9b7e756689bb
[ "MIT" ]
2
2020-10-26T01:39:33.000Z
2020-12-04T02:41:11.000Z
BAF2LOH.py
Xiaohuaniu0032/HLALOH
24587c75fad08e7f1821866fb72f9b7e756689bb
[ "MIT" ]
null
null
null
import sys import os import configparser import argparse import glob def parse_args(): AP = argparse.ArgumentParser("Convert BAF into LOH") AP.add_argument('-indir',help='result dir',dest='indir') AP.add_argument('-name',help='sample name',dest='name') AP.add_argument('-bam',help='bam',dest='bam') ...
33.823529
183
0.592464
861
5,175
3.333333
0.182346
0.020209
0.063415
0.082927
0.454007
0.365157
0.334495
0.274564
0.241115
0.196516
0
0.013115
0.233816
5,175
152
184
34.046053
0.710719
0.097778
0
0.244681
0
0.042553
0.238208
0.069998
0.010638
0
0
0
0
1
0.021277
false
0.06383
0.053191
0
0.085106
0.021277
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
93b68bf304e52b47592144b9352709027d4393ab
3,221
py
Python
src/tests/benchmarks/tools/bench/Vellamo3.py
VirtualVFix/AndroidTestFramework
1feb769c6aca39a78e6daefd6face0a1e4d62cd4
[ "MIT" ]
null
null
null
src/tests/benchmarks/tools/bench/Vellamo3.py
VirtualVFix/AndroidTestFramework
1feb769c6aca39a78e6daefd6face0a1e4d62cd4
[ "MIT" ]
null
null
null
src/tests/benchmarks/tools/bench/Vellamo3.py
VirtualVFix/AndroidTestFramework
1feb769c6aca39a78e6daefd6face0a1e4d62cd4
[ "MIT" ]
null
null
null
# All rights reserved by forest fairy. # You cannot modify or share anything without sacrifice. # If you don't agree, keep calm and don't look at code bellow! __author__ = "VirtualV <https://github.com/virtualvfix>" __date__ = "$Apr 13, 2014 8:47:25 PM$" import re from config import CONFIG from tests.exceptions impor...
46.681159
118
0.533064
404
3,221
4.081683
0.376238
0.036386
0.049121
0.045482
0.173438
0.140085
0.099454
0.06792
0.038811
0
0
0.013501
0.310152
3,221
68
119
47.367647
0.728623
0.068923
0
0.072727
0
0
0.128676
0.046791
0
0
0
0
0
1
0.072727
false
0.018182
0.072727
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93b6e5c40e7caecbcb7b62ae060f41d6eac3c44d
3,879
py
Python
tests/commands/test_template_image_apply_overlays.py
dsoprea/image_template_overlay_apply
ce54429e07ac140b33add685d39221b1fb5cadb2
[ "MIT" ]
1
2020-05-07T00:24:21.000Z
2020-05-07T00:24:21.000Z
tests/commands/test_template_image_apply_overlays.py
dsoprea/image_template_overlay_apply
ce54429e07ac140b33add685d39221b1fb5cadb2
[ "MIT" ]
null
null
null
tests/commands/test_template_image_apply_overlays.py
dsoprea/image_template_overlay_apply
ce54429e07ac140b33add685d39221b1fb5cadb2
[ "MIT" ]
null
null
null
import sys import unittest import os import tempfile import shutil import contextlib import json import subprocess import PIL import templatelayer.testing_common _APP_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..')) _SCRIPT_PATH = os.path.join(_APP_PATH, 'templatelayer', 'resources', 'scri...
28.733333
80
0.467389
331
3,879
5.250755
0.283988
0.080552
0.104718
0.080552
0.264672
0.161105
0.13809
0.13809
0.113924
0.113924
0
0.028855
0.428203
3,879
134
81
28.947761
0.754734
0.014179
0
0.262136
0
0
0.189104
0.007596
0
0
0
0
0.009709
1
0.009709
false
0
0.097087
0
0.116505
0.009709
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93b7d3ab9113fe2fed663ad41fb0b7d4b95f018e
3,993
py
Python
src/gpt2/evaluate_model.py
alexgQQ/GPT2
b2d78965f7cdcfe7dcf475969f4d4cce2b3ee82a
[ "Apache-2.0" ]
94
2020-05-05T04:27:05.000Z
2022-03-31T01:08:20.000Z
src/gpt2/evaluate_model.py
seeodm/GPT2
366d8517ac0bdf85e45e46adbef10cbe55740ee1
[ "Apache-2.0" ]
7
2020-09-11T02:25:30.000Z
2021-11-23T16:03:01.000Z
src/gpt2/evaluate_model.py
seeodm/GPT2
366d8517ac0bdf85e45e46adbef10cbe55740ee1
[ "Apache-2.0" ]
24
2020-07-14T19:15:39.000Z
2022-02-18T05:57:31.000Z
import argparse import torch import torch.nn as nn from gpt2.modeling import Transformer from gpt2.data import Dataset, Vocab, TokenizedCorpus from gpt2.evaluation import EvaluationSpec, EvaluateConfig, Evaluator from typing import Dict class GPT2EvaluationSpec(EvaluationSpec): def __init__(self, eval_corpus: str...
42.478723
76
0.630604
478
3,993
5.110879
0.263598
0.063037
0.065493
0.027835
0.103152
0.04912
0.04912
0
0
0
0
0.008763
0.25695
3,993
93
77
42.935484
0.814628
0
0
0
0
0
0.146256
0
0
0
0
0
0
1
0.093333
false
0
0.093333
0.026667
0.24
0.013333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93b7f2e32bcec2e7242f5985332622842d33261b
571
py
Python
alerter/src/alerter/alert_data/chainlink_contract_alert_data.py
SimplyVC/panic
2f5c327ea0d14b6a49dc8f4599a255048bc2ff6d
[ "Apache-2.0" ]
41
2019-08-23T12:40:42.000Z
2022-03-28T11:06:02.000Z
alerter/src/alerter/alert_data/chainlink_contract_alert_data.py
SimplyVC/panic
2f5c327ea0d14b6a49dc8f4599a255048bc2ff6d
[ "Apache-2.0" ]
147
2019-08-30T22:09:48.000Z
2022-03-30T08:46:26.000Z
alerter/src/alerter/alert_data/chainlink_contract_alert_data.py
SimplyVC/panic
2f5c327ea0d14b6a49dc8f4599a255048bc2ff6d
[ "Apache-2.0" ]
3
2019-09-03T21:12:28.000Z
2021-08-18T14:27:56.000Z
from typing import Dict from src.alerter.alert_data.alert_data import AlertData class ChainlinkContractAlertData(AlertData): """ ChainlinkContractAlertData will store extra information needed for the data store such as the contract_proxy_address. """ def __init__(self): super().__init__(...
24.826087
74
0.698774
66
571
5.666667
0.484848
0.144385
0.213904
0
0
0
0
0
0
0
0
0
0.227671
571
22
75
25.954545
0.848073
0.204904
0
0
0
0
0.050691
0.050691
0
0
0
0
0
1
0.25
false
0
0.166667
0.083333
0.583333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
93ba2653ba488171fc0c6a50b7e6cee03b9a572c
1,332
py
Python
mytrain/my_unpack.py
JinkelaCrops/t2t-learning
5d9b5a5164af763c24f1cbce9d97561e9f2b772c
[ "Apache-2.0" ]
5
2019-03-28T03:52:32.000Z
2021-02-24T07:09:26.000Z
mytrain/my_unpack.py
JinkelaCrops/t2t-learning
5d9b5a5164af763c24f1cbce9d97561e9f2b772c
[ "Apache-2.0" ]
null
null
null
mytrain/my_unpack.py
JinkelaCrops/t2t-learning
5d9b5a5164af763c24f1cbce9d97561e9f2b772c
[ "Apache-2.0" ]
2
2018-08-07T03:43:09.000Z
2019-12-09T06:41:40.000Z
from processutils.textfilter import Unpack from utils.simplelog import Logger import argparse parser = argparse.ArgumentParser(description="my_unpack") parser.add_argument('-f', "--file_prefix", required=True) parser.add_argument('-sep', "--separator", required=True) # args = parser.parse_args([ # "-f", "../test...
29.6
90
0.638889
177
1,332
4.570621
0.372881
0.049444
0.051916
0.059333
0.066749
0.066749
0.066749
0
0
0
0
0.00282
0.201201
1,332
44
91
30.272727
0.757519
0.075826
0
0
0
0
0.130506
0
0
0
0
0
0
1
0.032258
false
0
0.096774
0
0.16129
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93baf5e4d83867b7e987a8bdfa95d1e350aa7b07
10,173
py
Python
source/api/dataplane/runtime/chalicelib/common.py
awslabs/aws-media-replay-engine
2c217eff42f8e2c56b43e2ecf593f5aaa92c5451
[ "Apache-2.0" ]
22
2021-11-24T01:23:07.000Z
2022-03-26T23:24:46.000Z
source/api/dataplane/runtime/chalicelib/common.py
awslabs/aws-media-replay-engine
2c217eff42f8e2c56b43e2ecf593f5aaa92c5451
[ "Apache-2.0" ]
null
null
null
source/api/dataplane/runtime/chalicelib/common.py
awslabs/aws-media-replay-engine
2c217eff42f8e2c56b43e2ecf593f5aaa92c5451
[ "Apache-2.0" ]
3
2021-12-10T09:42:51.000Z
2022-02-16T02:22:50.000Z
# Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 import os import json import urllib.parse import boto3 import decimal from decimal import Decimal from datetime import datetime from chalice import Chalice from chalice import IAMAuthorizer from chalice imp...
45.013274
132
0.626954
1,051
10,173
5.943863
0.196004
0.076837
0.097327
0.050424
0.62558
0.580439
0.502481
0.435569
0.427405
0.392668
0
0.004807
0.284282
10,173
226
133
45.013274
0.85318
0.165831
0
0.417143
0
0
0.183722
0.071691
0
0
0
0
0
1
0.022857
false
0.022857
0.085714
0
0.131429
0.028571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93bc932331d06fe620b9dc241c2d48eeb8fdbdb8
9,559
py
Python
oec_sync/sync/oec.py
SamnnyWong/OECSynchronizer
9b28c96988158f5717bacd47f59cbabb1ce072cd
[ "Unlicense", "MIT" ]
null
null
null
oec_sync/sync/oec.py
SamnnyWong/OECSynchronizer
9b28c96988158f5717bacd47f59cbabb1ce072cd
[ "Unlicense", "MIT" ]
null
null
null
oec_sync/sync/oec.py
SamnnyWong/OECSynchronizer
9b28c96988158f5717bacd47f59cbabb1ce072cd
[ "Unlicense", "MIT" ]
null
null
null
from xml.etree import ElementTree as Etree from model import * from astro_unit import * from io import StringIO import logging class FieldMeta: """ OEC field metadata. """ def __init__(self, datatype: str, unit: str = None): self.type = datatype self.unit = unit # Maps field name to ...
37.194553
79
0.574746
1,039
9,559
5.202117
0.245428
0.080481
0.031637
0.012211
0.131915
0.100833
0.072155
0.059204
0.032562
0.032562
0
0.000919
0.316874
9,559
256
80
37.339844
0.826799
0.246679
0
0.18543
0
0
0.119936
0
0
0
0
0
0
1
0.066225
false
0
0.033113
0
0.165563
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93bd3505c0bee8de6a5685c5e02ee9cbc78b0fdd
9,072
py
Python
pyAnVIL/anvil/util/ingest_helper.py
anvilproject/client-apis
cbd892042e092b0a1dede4c561bcfdde15e9a3ad
[ "Apache-2.0" ]
8
2019-07-02T20:41:24.000Z
2022-01-12T21:50:21.000Z
pyAnVIL/anvil/util/ingest_helper.py
mmtmn/client-apis
215adae0b7f401b4bf62e7bd79b6a8adfe69cf4f
[ "Apache-2.0" ]
37
2019-01-16T17:48:02.000Z
2021-08-13T21:35:54.000Z
pyAnVIL/anvil/util/ingest_helper.py
mmtmn/client-apis
215adae0b7f401b4bf62e7bd79b6a8adfe69cf4f
[ "Apache-2.0" ]
7
2019-05-13T14:59:27.000Z
2022-01-12T21:50:22.000Z
"""Validate AnVIL workspace(s).""" import os from google.cloud.storage import Client from google.cloud.storage.blob import Blob from collections import defaultdict import ipywidgets as widgets from ipywidgets import interact from IPython.display import display import pandas as pd import firecloud.api as FAPI from typ...
53.680473
270
0.61541
982
9,072
5.504073
0.201629
0.048104
0.022017
0.021277
0.211286
0.177058
0.153747
0.121184
0.108233
0.108233
0
0.00105
0.264991
9,072
168
271
54
0.809538
0.044202
0
0.096296
0
0
0.141864
0.021094
0
0
0
0
0.007407
1
0.059259
false
0
0.081481
0.007407
0.2
0.02963
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93bd854e0f319cd263a25841957dc223b7ca22bf
1,513
py
Python
acsl-pydev/acsl/lect03p2/c1_inter_stigid_sol1.py
odys-z/hello
39ca67cae34eb4bc4cbd848a06b3c0d65a995954
[ "MIT" ]
null
null
null
acsl-pydev/acsl/lect03p2/c1_inter_stigid_sol1.py
odys-z/hello
39ca67cae34eb4bc4cbd848a06b3c0d65a995954
[ "MIT" ]
3
2021-04-17T18:36:24.000Z
2022-03-04T20:30:09.000Z
acsl-pydev/acsl/lect03p2/c1_inter_stigid_sol1.py
odys-z/hello
39ca67cae34eb4bc4cbd848a06b3c0d65a995954
[ "MIT" ]
null
null
null
''' Intermediate C#1, stigid PROBLEM: Given a number less than 10^50 and length n, find the sum of all the n -digit numbers (starting on the left) that are formed such that, after the first n -digit number is formed all others are formed by deleting the leading digit and taking the next n -digits. '''...
29.096154
150
0.643754
231
1,513
4.190476
0.471861
0.123967
0.024793
0.020661
0.02686
0.02686
0.02686
0
0
0
0
0.273096
0.184402
1,513
51
151
29.666667
0.511345
0.261071
0
0.068966
0
0
0.164234
0.074818
0
0
0
0
0.344828
1
0.034483
false
0
0.034483
0
0.103448
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
93be43a153e5c582c6fc97ea9f7ab11f70cb7196
1,857
py
Python
otcextensions/tests/functional/sdk/vlb/v3/test_certificate.py
artem-lifshits/python-otcextensions
2021da124f393e0429dd5913a3bc635e6143ba1e
[ "Apache-2.0" ]
10
2018-03-03T17:59:59.000Z
2020-01-08T10:03:00.000Z
otcextensions/tests/functional/sdk/vlb/v3/test_certificate.py
artem-lifshits/python-otcextensions
2021da124f393e0429dd5913a3bc635e6143ba1e
[ "Apache-2.0" ]
208
2020-02-10T08:27:46.000Z
2022-03-29T15:24:21.000Z
otcextensions/tests/functional/sdk/vlb/v3/test_certificate.py
artem-lifshits/python-otcextensions
2021da124f393e0429dd5913a3bc635e6143ba1e
[ "Apache-2.0" ]
15
2020-04-01T20:45:54.000Z
2022-03-23T12:45:43.000Z
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
41.266667
76
0.736672
236
1,857
5.673729
0.419492
0.161314
0.115011
0.172517
0.321882
0.275579
0.244959
0.244959
0.244959
0.244959
0
0.009156
0.176629
1,857
44
77
42.204545
0.866579
0.281099
0
0.24
0
0
0.003779
0
0
0
0
0
0.32
1
0.2
false
0
0.04
0
0.28
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
93c35e82e3070b5dcaa7b5ce0646c0a3d9c9b51e
5,760
py
Python
hasy.py
MartinThoma/cv-datasets
f0566839bc2e625274bd2d439114c6665ba1b37e
[ "MIT" ]
1
2017-03-11T14:14:12.000Z
2017-03-11T14:14:12.000Z
hasy.py
MartinThoma/cv-datasets
f0566839bc2e625274bd2d439114c6665ba1b37e
[ "MIT" ]
null
null
null
hasy.py
MartinThoma/cv-datasets
f0566839bc2e625274bd2d439114c6665ba1b37e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Utility file for the HASYv2 dataset. See https://arxiv.org/abs/1701.08380 for details. """ from __future__ import absolute_import from keras.utils.data_utils import get_file from keras import backend as K import numpy as np import scipy.ndimage import os import tarfile import shutil import...
31.823204
78
0.562326
744
5,760
4.170699
0.25672
0.030938
0.029004
0.02417
0.211086
0.168869
0.152755
0.101837
0.087657
0.087657
0
0.022256
0.321354
5,760
180
79
32
0.771553
0.161806
0
0.125
0
0
0.073166
0.012372
0
0
0
0
0
1
0.026786
false
0
0.089286
0
0.142857
0.008929
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93c6042870f0e48cc7e28c2ead79abb162bef666
1,201
py
Python
pyvisdk/do/quiesce_datastore_io_for_ha_failed.py
Infinidat/pyvisdk
f2f4e5f50da16f659ccc1d84b6a00f397fa997f8
[ "MIT" ]
null
null
null
pyvisdk/do/quiesce_datastore_io_for_ha_failed.py
Infinidat/pyvisdk
f2f4e5f50da16f659ccc1d84b6a00f397fa997f8
[ "MIT" ]
null
null
null
pyvisdk/do/quiesce_datastore_io_for_ha_failed.py
Infinidat/pyvisdk
f2f4e5f50da16f659ccc1d84b6a00f397fa997f8
[ "MIT" ]
null
null
null
import logging from pyvisdk.exceptions import InvalidArgumentError ######################################## # Automatically generated, do not edit. ######################################## log = logging.getLogger(__name__) def QuiesceDatastoreIOForHAFailed(vim, *args, **kwargs): '''A QuiesceDatastoreIOForHAFail...
34.314286
124
0.621982
128
1,201
5.804688
0.65625
0.064603
0.037685
0
0
0
0
0
0
0
0
0.006257
0.201499
1,201
34
125
35.323529
0.768509
0.179017
0
0
1
0
0.220358
0.044743
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
93c65b7f60b1d4ed3df0c1dfda29fa877d20e341
8,071
py
Python
control/tracking.py
oholsen/hagedag
4e2881fa1f636228e5cbe76e61fb4b224f0b1e4a
[ "Apache-2.0" ]
null
null
null
control/tracking.py
oholsen/hagedag
4e2881fa1f636228e5cbe76e61fb4b224f0b1e4a
[ "Apache-2.0" ]
null
null
null
control/tracking.py
oholsen/hagedag
4e2881fa1f636228e5cbe76e61fb4b224f0b1e4a
[ "Apache-2.0" ]
null
null
null
""" Based on Extended kalman filter (EKF) localization sample in PythonRobotics by Atsushi Sakai (@Atsushi_twi) """ import math import matplotlib.pyplot as plt import numpy as np # Simulation parameter INPUT_NOISE = np.diag([0.1, np.deg2rad(30.0)]) ** 2 GPS_NOISE = np.diag([0.1, 0.1]) ** 2 # Covariance for EKF ...
25.143302
107
0.525585
1,275
8,071
3.246275
0.167059
0.024644
0.02102
0.016429
0.303455
0.276878
0.250544
0.225417
0.221551
0.169123
0
0.039579
0.317557
8,071
320
108
25.221875
0.711874
0.185355
0
0.215385
0
0
0.006648
0
0
0
0
0
0
1
0.117949
false
0
0.020513
0.010256
0.220513
0.005128
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93c6c2347f6844b6a0ab7634a4e1c68474fa2859
337
py
Python
tests/test_plugin_setup.py
ldb385/q2-winnowing
f9c1dc7ecedbd3d204b3a26974f29a164de3eaf1
[ "BSD-3-Clause" ]
1
2020-07-24T21:58:38.000Z
2020-07-24T21:58:38.000Z
tests/test_plugin_setup.py
ldb385/q2-winnowing
f9c1dc7ecedbd3d204b3a26974f29a164de3eaf1
[ "BSD-3-Clause" ]
1
2020-07-21T16:45:03.000Z
2020-07-21T16:45:03.000Z
tests/test_plugin_setup.py
ldb385/q2-winnowing
f9c1dc7ecedbd3d204b3a26974f29a164de3eaf1
[ "BSD-3-Clause" ]
null
null
null
from unittest import TestCase, main as unittest_main from q2_winnowing.plugin_setup import plugin as winnowing_plugin class PluginSetupTests( TestCase ): package = 'q2_winnowing.tests' def test_plugin_setup(self): self.assertEqual( winnowing_plugin.name, "winnowing") if __name__ == '__main__': ...
22.466667
64
0.756677
41
337
5.804878
0.487805
0.189076
0
0
0
0
0
0
0
0
0
0.007117
0.166172
337
15
65
22.466667
0.839858
0
0
0
0
0
0.103858
0
0
0
0
0
0.125
1
0.125
false
0
0.25
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
93c70f97a9fcc20d868e2f05ea3a698a7c994530
974
py
Python
Lab11/BacktrackingIterative.py
alexnaiman/Fundamentals-Of-Programming---Lab-assignments
ef066e6036e20b9c686799f507f10e15e50e3285
[ "MIT" ]
4
2018-02-19T13:57:38.000Z
2022-01-08T04:10:54.000Z
Lab11/BacktrackingIterative.py
alexnaiman/Fundamentals-Of-Programming---Lab-assignments
ef066e6036e20b9c686799f507f10e15e50e3285
[ "MIT" ]
null
null
null
Lab11/BacktrackingIterative.py
alexnaiman/Fundamentals-Of-Programming---Lab-assignments
ef066e6036e20b9c686799f507f10e15e50e3285
[ "MIT" ]
null
null
null
l = [0, "-", "+"] def backIter(): x = [0] # candidate solution while len(x) > 0: choosed = False while (not choosed) and l.index(x[-1]) < len(l) - 1: x[-1] = l[l.index(x[-1]) + 1] # increase the last component choosed = consistent(x) if choosed: ...
21.173913
73
0.464066
127
974
3.559055
0.354331
0.013274
0.030973
0.035398
0.053097
0
0
0
0
0
0
0.033389
0.38501
974
45
74
21.644444
0.721202
0.096509
0
0.058824
0
0
0.022892
0
0
0
0
0
0
1
0.117647
false
0
0
0.029412
0.205882
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93c86f77e89802184faaf894ae457e773562fb59
31,674
py
Python
dreadlord_counter_strike.py
lorenypsum/dreadlord_counter_strike
5f63c97ab28d84f8d7d9ff2f481c5111f0bc2ef1
[ "MIT" ]
null
null
null
dreadlord_counter_strike.py
lorenypsum/dreadlord_counter_strike
5f63c97ab28d84f8d7d9ff2f481c5111f0bc2ef1
[ "MIT" ]
null
null
null
dreadlord_counter_strike.py
lorenypsum/dreadlord_counter_strike
5f63c97ab28d84f8d7d9ff2f481c5111f0bc2ef1
[ "MIT" ]
null
null
null
from datetime import datetime from enum import Enum, auto from random import randint from time import sleep from typing import Optional, Tuple class GameItem(Enum): DEATH = auto() WOODEN_SWORD = auto() SIMPLE_BOW = auto() VIOLIN = auto() ORDINARY_SWORD = auto() STRAHD_SLAYER_SWORD...
36.281787
210
0.46224
3,373
31,674
4.279573
0.133709
0.074818
0.106685
0.026602
0.613717
0.5531
0.519778
0.460132
0.438171
0.385313
0
0.020088
0.407495
31,674
872
211
36.323395
0.748921
0.038896
0
0.630653
0
0.016332
0.333277
0.013799
0
0
0
0
0
1
0.012563
false
0.001256
0.006281
0
0.096734
0.327889
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93c8ba0b9839234f94247033001b32b0fa66bf75
193
py
Python
redacoes/models/vesibulares.py
VictorGM01/controle_de_questoes
658e81b2e2fe78fb1e6bb7ff3f537c8a28e7c9e8
[ "MIT" ]
1
2022-03-23T12:32:20.000Z
2022-03-23T12:32:20.000Z
redacoes/models/vesibulares.py
VictorGM01/controle_de_questoes
658e81b2e2fe78fb1e6bb7ff3f537c8a28e7c9e8
[ "MIT" ]
null
null
null
redacoes/models/vesibulares.py
VictorGM01/controle_de_questoes
658e81b2e2fe78fb1e6bb7ff3f537c8a28e7c9e8
[ "MIT" ]
null
null
null
from django.db import models class Vestibular(models.TextChoices): ENEM = 'ENEM' UNICAMP = 'Unicamp' FUVEST = 'Fuvest' UNESP = 'Unesp' UERJ = 'UERJ' OUTROS = 'Outros'
17.545455
37
0.621762
21
193
5.714286
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.259067
193
10
38
19.3
0.839161
0
0
0
0
0
0.165803
0
0
0
0
0
0
1
0
false
0
0.125
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
93c9a643270a43403d7d70db7f672d353ef62da2
635
py
Python
backend/helper/mds.py
marinaevers/regional-correlations
8ca91a5283a92e75f3d99f870c295ca580edb949
[ "MIT" ]
null
null
null
backend/helper/mds.py
marinaevers/regional-correlations
8ca91a5283a92e75f3d99f870c295ca580edb949
[ "MIT" ]
null
null
null
backend/helper/mds.py
marinaevers/regional-correlations
8ca91a5283a92e75f3d99f870c295ca580edb949
[ "MIT" ]
null
null
null
import numpy as np def mds(d, dimensions=3): """ Multidimensional Scaling - Given a matrix of interpoint distances, find a set of low dimensional points that have similar interpoint distances. """ (n, n) = d.shape E = (-0.5 * d ** 2) # Use mat to get column and row means to act as co...
24.423077
80
0.601575
106
635
3.603774
0.59434
0.04712
0.054974
0.089005
0.062827
0
0
0
0
0
0
0.021368
0.262992
635
25
81
25.4
0.794872
0.451969
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93c9ac724fdd806412549f0dec59d52778127c89
492
py
Python
sm3.py
matthewmuccio/InterviewPrepKit
13dabeddc3c83866c88bef1c80498c313e4c233e
[ "MIT" ]
2
2018-09-19T00:59:09.000Z
2022-01-09T18:38:01.000Z
sm3.py
matthewmuccio/InterviewPrepKit
13dabeddc3c83866c88bef1c80498c313e4c233e
[ "MIT" ]
null
null
null
sm3.py
matthewmuccio/InterviewPrepKit
13dabeddc3c83866c88bef1c80498c313e4c233e
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from collections import Counter # Complete the isValid function below. def isValid(s): freq = Counter(s) values = list(freq.values()) values.sort() return "YES" if values.count(values[0]) == len(values) or (values.count(values[0]) == len(values) - 1 and values[-1] - values[-2]...
25.894737
217
0.630081
72
492
4.194444
0.5
0.092715
0.168874
0.119205
0.274834
0.178808
0
0
0
0
0
0.027778
0.195122
492
18
218
27.333333
0.734848
0.117886
0
0
0
0
0.030093
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.3
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93caeae8160e612312e97b73a71f33bfdd865b27
10,238
py
Python
etiquette/constants.py
voussoir/etiquette
e982858c28335b11528c52af181abd1bbc71673f
[ "BSD-3-Clause" ]
20
2018-03-20T01:40:13.000Z
2022-02-11T20:23:41.000Z
etiquette/constants.py
voussoir/etiquette
e982858c28335b11528c52af181abd1bbc71673f
[ "BSD-3-Clause" ]
null
null
null
etiquette/constants.py
voussoir/etiquette
e982858c28335b11528c52af181abd1bbc71673f
[ "BSD-3-Clause" ]
1
2018-03-20T13:10:31.000Z
2018-03-20T13:10:31.000Z
''' This file provides data and objects that do not change throughout the runtime. ''' import converter import string import traceback import warnings from voussoirkit import sqlhelpers from voussoirkit import winwhich # FFmpeg ##########################################################################################...
31.696594
100
0.567298
1,125
10,238
4.955556
0.216
0.036771
0.078924
0.080359
0.421345
0.372556
0.325919
0.280359
0.207713
0.111749
0
0.006729
0.187146
10,238
322
101
31.795031
0.663182
0.018265
0
0.280142
0
0
0.756813
0.244839
0
0
0
0
0
1
0.003546
false
0.007092
0.021277
0
0.035461
0.003546
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
93cb4419d9691b2ed3418c709e86de6b48657ce2
122
py
Python
Day_2_Software_engineering_best_practices/solutions/06_07_08_full_package/spectra_analysis/__init__.py
Morisset/python-workshop
ec8b0c4f08a24833e53a22f6b52566a08715c9d0
[ "BSD-3-Clause" ]
null
null
null
Day_2_Software_engineering_best_practices/solutions/06_07_08_full_package/spectra_analysis/__init__.py
Morisset/python-workshop
ec8b0c4f08a24833e53a22f6b52566a08715c9d0
[ "BSD-3-Clause" ]
null
null
null
Day_2_Software_engineering_best_practices/solutions/06_07_08_full_package/spectra_analysis/__init__.py
Morisset/python-workshop
ec8b0c4f08a24833e53a22f6b52566a08715c9d0
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Spectra analysis utilities """ from ._version import __version__ __all__ = ['__version__']
12.2
33
0.663934
12
122
5.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0.009804
0.163934
122
9
34
13.555556
0.656863
0.401639
0
0
0
0
0.171875
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
93cc27f8724fb44128386ebba57195949fa0feb9
88,309
py
Python
tacker/tests/unit/vnfm/infra_drivers/kubernetes/test_kubernetes_driver.py
takahashi-tsc/tacker
a0ae01a13dcc51bb374060adcbb4fd484ab37156
[ "Apache-2.0" ]
null
null
null
tacker/tests/unit/vnfm/infra_drivers/kubernetes/test_kubernetes_driver.py
takahashi-tsc/tacker
a0ae01a13dcc51bb374060adcbb4fd484ab37156
[ "Apache-2.0" ]
null
null
null
tacker/tests/unit/vnfm/infra_drivers/kubernetes/test_kubernetes_driver.py
takahashi-tsc/tacker
a0ae01a13dcc51bb374060adcbb4fd484ab37156
[ "Apache-2.0" ]
1
2020-11-16T02:14:35.000Z
2020-11-16T02:14:35.000Z
# Copyright (C) 2020 FUJITSU # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by a...
51.372309
79
0.691651
10,262
88,309
5.446209
0.034399
0.055503
0.053678
0.067992
0.952012
0.936517
0.929306
0.916603
0.8774
0.847269
0
0.011265
0.239058
88,309
1,718
80
51.402212
0.820441
0.00676
0
0.717788
0
0
0.112592
0.079615
0
0
0
0
0.079824
1
0.063482
false
0
0.011942
0
0.076053
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
93cd3692a60479202468f2712c8bb24c8cc1672a
841
py
Python
src/codplayer/__init__.py
petli/codplayer
172187b91662affd8e89f572c0db9be1c4257627
[ "MIT" ]
14
2015-04-27T20:40:46.000Z
2019-02-01T09:22:02.000Z
src/codplayer/__init__.py
petli/codplayer
172187b91662affd8e89f572c0db9be1c4257627
[ "MIT" ]
10
2015-01-05T18:11:28.000Z
2018-09-03T08:42:50.000Z
src/codplayer/__init__.py
petli/codplayer
172187b91662affd8e89f572c0db9be1c4257627
[ "MIT" ]
4
2017-03-03T16:59:39.000Z
2019-11-08T11:15:06.000Z
# codplayer supporting package # # Copyright 2013-2014 Peter Liljenberg <peter.liljenberg@gmail.com> # # Distributed under an MIT license, please see LICENSE in the top dir. # Don't include the audio device modules in the list of modules, # as they may not be available on all systems from pkg_resources import get_dis...
19.55814
70
0.65874
110
841
4.918182
0.745455
0.055453
0
0
0
0
0
0
0
0
0
0.015221
0.218787
841
42
71
20.02381
0.808219
0.362664
0
0
0
0
0.231939
0
0
0
0
0
0
1
0.038462
false
0
0.115385
0.038462
0.192308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93cf143d7b69f8a96f36f23910ce3b0b601f20d1
436
py
Python
lib/googlecloudsdk/third_party/apis/bigtableclusteradmin/v1/__init__.py
bopopescu/SDK
e6d9aaee2456f706d1d86e8ec2a41d146e33550d
[ "Apache-2.0" ]
null
null
null
lib/googlecloudsdk/third_party/apis/bigtableclusteradmin/v1/__init__.py
bopopescu/SDK
e6d9aaee2456f706d1d86e8ec2a41d146e33550d
[ "Apache-2.0" ]
null
null
null
lib/googlecloudsdk/third_party/apis/bigtableclusteradmin/v1/__init__.py
bopopescu/SDK
e6d9aaee2456f706d1d86e8ec2a41d146e33550d
[ "Apache-2.0" ]
2
2020-11-04T03:08:21.000Z
2020-11-05T08:14:41.000Z
"""Common imports for generated bigtableclusteradmin client library.""" # pylint:disable=wildcard-import import pkgutil from googlecloudsdk.third_party.apitools.base.py import * from googlecloudsdk.third_party.apis.bigtableclusteradmin.v1.bigtableclusteradmin_v1_client import * from googlecloudsdk.third_party.apis.bi...
39.636364
102
0.855505
49
436
7.204082
0.510204
0.249292
0.195467
0.23796
0.464589
0.464589
0.464589
0.464589
0.464589
0.464589
0
0.009852
0.068807
436
10
103
43.6
0.859606
0.222477
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
6
93d04402f33cb3c06a7016fef8b0328a457f038a
4,229
py
Python
elementalcms/management/pages.py
paranoid-software/elemental-cms
7f09f9cd5498577d23fa70d1a51497b9de232598
[ "MIT" ]
3
2022-01-12T09:11:54.000Z
2022-02-24T22:39:11.000Z
elementalcms/management/pages.py
paranoid-software/elemental-cms
7f09f9cd5498577d23fa70d1a51497b9de232598
[ "MIT" ]
null
null
null
elementalcms/management/pages.py
paranoid-software/elemental-cms
7f09f9cd5498577d23fa70d1a51497b9de232598
[ "MIT" ]
1
2022-01-12T09:11:56.000Z
2022-01-12T09:11:56.000Z
from typing import Tuple, Optional import click from cloup import constraint, option, command, pass_context from cloup.constraints import RequireExactly from .pagescommands import Create, Remove, Push, Pull, List, Publish, Unpublish class Pages(click.Group): def __init__(self): super(Pages, self).__ini...
34.663934
119
0.581698
516
4,229
4.713178
0.217054
0.032895
0.040296
0.051809
0.379934
0.363487
0.26398
0.221217
0.221217
0.221217
0
0.002679
0.293923
4,229
121
120
34.950413
0.811788
0.018444
0
0.46729
0
0.018692
0.310918
0
0
0
0
0.008264
0
1
0.074766
false
0.074766
0.046729
0.028037
0.196262
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
93d13c525fccba1c9782ed2b28a9ab8aac0b37da
339
py
Python
shapesimage.py
riddhigupta1318/menu_driven
1a3e4a8d3ff3dbcd9cffaa87ab9fbc66868d9eb6
[ "Apache-2.0" ]
null
null
null
shapesimage.py
riddhigupta1318/menu_driven
1a3e4a8d3ff3dbcd9cffaa87ab9fbc66868d9eb6
[ "Apache-2.0" ]
null
null
null
shapesimage.py
riddhigupta1318/menu_driven
1a3e4a8d3ff3dbcd9cffaa87ab9fbc66868d9eb6
[ "Apache-2.0" ]
null
null
null
#!/user/bin/python3 import cv2 #loading image img=cv2.imread("dog.jpeg") img1=cv2.line(img,(0,0),(200,114),(110,176,123),2) #print height and width print(img.shape) #to display that image cv2.imshow("dogg",img1) #image window holder activate #wait key will destroy by pressing q button cv2.waitKey(0) cv2.d...
16.142857
50
0.719764
56
339
4.357143
0.767857
0
0
0
0
0
0
0
0
0
0
0.095238
0.132743
339
20
51
16.95
0.734694
0.439528
0
0
0
0
0.065574
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93d37d046fccd50496fe96e2714742d3c5e3222c
2,139
py
Python
RNNS/utils/wrdembdGen.py
CenIII/Text-style-transfer-DeleteRetrieve
2b7aa017765dcae65b42fc94d3ccaddc57ac8661
[ "MIT" ]
null
null
null
RNNS/utils/wrdembdGen.py
CenIII/Text-style-transfer-DeleteRetrieve
2b7aa017765dcae65b42fc94d3ccaddc57ac8661
[ "MIT" ]
null
null
null
RNNS/utils/wrdembdGen.py
CenIII/Text-style-transfer-DeleteRetrieve
2b7aa017765dcae65b42fc94d3ccaddc57ac8661
[ "MIT" ]
null
null
null
import gensim import fnmatch import os import pickle import numpy as np # from symspellpy.symspellpy import SymSpell, Verbosity # import the module # initial_capacity = 83000 # # maximum edit distance per dictionary precalculation # max_edit_distance_dictionary = 2 # prefix_length = 7 # sym_spell = SymSpell(initial_c...
27.423077
118
0.694717
288
2,139
5.027778
0.385417
0.041436
0.041436
0.03453
0.058011
0
0
0
0
0
0
0.023464
0.16316
2,139
78
119
27.423077
0.785475
0.486209
0
0.15
0
0
0.123711
0.043112
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93d43839068d5fe40ab642bf29baf0d261531656
8,611
py
Python
cls_utils/job.py
prmurali1leo/Engineering_challenge
d73dcba265587c22f0869880bf372cfaa045bfa6
[ "MIT" ]
null
null
null
cls_utils/job.py
prmurali1leo/Engineering_challenge
d73dcba265587c22f0869880bf372cfaa045bfa6
[ "MIT" ]
null
null
null
cls_utils/job.py
prmurali1leo/Engineering_challenge
d73dcba265587c22f0869880bf372cfaa045bfa6
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np from hashlib import md5 import datetime import pyarrow.parquet as pq import pyarrow as pa from src.dimension_surrogate_resolver import DimensionSurrogateResolver def run(): for dt in ["20160201", "20160301"]: create_fact_dimension_tables(dt) display_output() de...
42.004878
120
0.648124
1,042
8,611
5.082534
0.177543
0.068542
0.018505
0.021526
0.310612
0.223754
0.174849
0.13784
0.121979
0.121979
0
0.010091
0.217396
8,611
204
121
42.210784
0.775783
0
0
0.125
0
0
0.227848
0.042388
0
0
0
0
0
1
0.095238
false
0
0.041667
0.011905
0.238095
0.029762
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93d52227fd91adf6e2131607d2e901a6c4913898
3,294
py
Python
busy_home.py
jerr0328/HAP-python
87199a1fb7ffc451961948c634e46439cbace370
[ "Apache-2.0" ]
462
2017-10-14T16:58:36.000Z
2022-03-24T01:40:23.000Z
busy_home.py
jerr0328/HAP-python
87199a1fb7ffc451961948c634e46439cbace370
[ "Apache-2.0" ]
371
2017-11-28T14:00:02.000Z
2022-03-31T21:44:07.000Z
busy_home.py
jerr0328/HAP-python
87199a1fb7ffc451961948c634e46439cbace370
[ "Apache-2.0" ]
129
2017-11-23T20:50:28.000Z
2022-03-17T01:26:53.000Z
"""Starts a fake fan, lightbulb, garage door and a TemperatureSensor """ import logging import signal import random from pyhap.accessory import Accessory, Bridge from pyhap.accessory_driver import AccessoryDriver from pyhap.const import (CATEGORY_FAN, CATEGORY_LIGHTBULB, ...
31.371429
77
0.683667
373
3,294
5.758713
0.27882
0.037244
0.020484
0.027933
0.164804
0.110801
0.110801
0.110801
0.078212
0.040968
0
0.00419
0.203097
3,294
104
78
31.673077
0.814095
0.086825
0
0.153846
0
0
0.110366
0
0
0
0
0
0
1
0.138462
false
0
0.092308
0
0.369231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93d680ecf48e6dbb1495bab46f68ebdbe3aea08b
574
py
Python
Backend/src/commercial/urls.py
ChristianTaborda/Energycorp
2447b5af211501450177b0b60852dcb31d6ca12d
[ "MIT" ]
1
2020-12-31T00:07:40.000Z
2020-12-31T00:07:40.000Z
Backend/src/commercial/urls.py
ChristianTaborda/Energycorp
2447b5af211501450177b0b60852dcb31d6ca12d
[ "MIT" ]
null
null
null
Backend/src/commercial/urls.py
ChristianTaborda/Energycorp
2447b5af211501450177b0b60852dcb31d6ca12d
[ "MIT" ]
null
null
null
from django.urls import path from .views import ( # CRUDS CommercialList, CommercialDelete, CommercialDetail, CommercialCreate, CommercialUpdate, CommercialDelete, CommercialInactivate, # QUERY ) urlpatterns = [ #CRUD path('', CommercialList.as_view()), path('create/', Com...
22.076923
61
0.667247
52
574
7.25
0.442308
0.095491
0.132626
0
0
0
0
0
0
0
0
0
0.182927
574
25
62
22.96
0.803838
0.038328
0
0.111111
0
0
0.093578
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93d7075c75f515ae6f7dbc9fddf988695545df0c
2,715
py
Python
src/traquitanas/geo/layers.py
traquitanas/traquitanas
788a536de4c762b050e9d09c55b15e4d0bee3434
[ "MIT" ]
null
null
null
src/traquitanas/geo/layers.py
traquitanas/traquitanas
788a536de4c762b050e9d09c55b15e4d0bee3434
[ "MIT" ]
null
null
null
src/traquitanas/geo/layers.py
traquitanas/traquitanas
788a536de4c762b050e9d09c55b15e4d0bee3434
[ "MIT" ]
1
2021-10-07T20:58:56.000Z
2021-10-07T20:58:56.000Z
import folium def add_lyr_google_hybrid(min_zoom, max_zoom): row = { 'link': 'https://mt1.google.com/vt/lyrs=y&x={x}&y={y}&z={z}', 'name': 'Google Hybrid', 'attribution': 'https://www.google.com/maps', } lyr = folium.TileLayer( tiles=row['link'], attr=('<a href="{}"...
27.15
92
0.537385
336
2,715
4.1875
0.166667
0.074627
0.117271
0.099502
0.857143
0.857143
0.840085
0.840085
0.745558
0.745558
0
0.01003
0.265562
2,715
99
93
27.424242
0.695587
0
0
0.666667
0
0.045977
0.279926
0.030939
0
0
0
0
0
1
0.057471
false
0.011494
0.011494
0
0.126437
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
93d7e71a979233c8c73b2a4018aacf592bc1a08e
1,277
py
Python
migrations/versions/6e5e2b4c2433_add_hometasks_for_students.py
AnvarGaliullin/LSP
ed1f00ddc6346c5c141b421c7a3305e4c9e1b0d1
[ "MIT" ]
null
null
null
migrations/versions/6e5e2b4c2433_add_hometasks_for_students.py
AnvarGaliullin/LSP
ed1f00ddc6346c5c141b421c7a3305e4c9e1b0d1
[ "MIT" ]
null
null
null
migrations/versions/6e5e2b4c2433_add_hometasks_for_students.py
AnvarGaliullin/LSP
ed1f00ddc6346c5c141b421c7a3305e4c9e1b0d1
[ "MIT" ]
null
null
null
"""Add Hometasks for Students Revision ID: 6e5e2b4c2433 Revises: b9acba47fd53 Create Date: 2020-01-10 20:52:40.063133 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '6e5e2b4c2433' down_revision = 'b9acba47fd53' branch_labels = None depends_on = None def upgr...
31.925
103
0.702428
155
1,277
5.632258
0.425806
0.054983
0.068729
0.09622
0.270332
0.270332
0.210767
0.100802
0
0
0
0.047619
0.144871
1,277
39
104
32.74359
0.751832
0.24119
0
0
0
0
0.252146
0.037554
0
0
0
0
0
1
0.095238
false
0
0.095238
0
0.190476
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93d903dc4a4d4fc536ec37d420b4604d14554d90
1,759
py
Python
scripts/plotting.py
intelligent-soft-robots/o80_roboball2d
094d36f870b9c20ef5e05baf92ed8ed5b9a5277c
[ "BSD-3-Clause" ]
null
null
null
scripts/plotting.py
intelligent-soft-robots/o80_roboball2d
094d36f870b9c20ef5e05baf92ed8ed5b9a5277c
[ "BSD-3-Clause" ]
null
null
null
scripts/plotting.py
intelligent-soft-robots/o80_roboball2d
094d36f870b9c20ef5e05baf92ed8ed5b9a5277c
[ "BSD-3-Clause" ]
null
null
null
import time import math import fyplot import o80_roboball2d from functools import partial def _plot(frontend_robot,frontend_simulation): plt = fyplot.Plot("o80_roboball2d",50,(2000,800)) def get_observed_angle(frontend,dof): return frontend.read().get_observed_states().get(dof).get_position() ...
30.327586
84
0.651507
226
1,759
4.778761
0.261062
0.096296
0.023148
0.088889
0.427778
0.392593
0.303704
0.037037
0
0
0
0.067587
0.217737
1,759
57
85
30.859649
0.717297
0
0
0
0
0
0.023322
0
0
0
0
0
0
1
0.128205
false
0.025641
0.128205
0.076923
0.358974
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93d96a3758d5ca27cf2434f779255814b61dd0c7
10,099
py
Python
kvm_pirate/elf/structs.py
Mic92/kvm-pirate
26626db320b385f51ccb88dad76209a812c40ca6
[ "MIT" ]
6
2020-12-15T04:26:43.000Z
2020-12-15T13:26:09.000Z
kvm_pirate/elf/structs.py
Mic92/kvm-pirate
26626db320b385f51ccb88dad76209a812c40ca6
[ "MIT" ]
null
null
null
kvm_pirate/elf/structs.py
Mic92/kvm-pirate
26626db320b385f51ccb88dad76209a812c40ca6
[ "MIT" ]
null
null
null
# # Copyright (C) 2018 The Android Open Source Project # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable la...
26.231169
77
0.600951
1,263
10,099
4.532067
0.160728
0.037736
0.039832
0.046122
0.472397
0.446366
0.391509
0.372991
0.328616
0.307652
0
0.046951
0.266066
10,099
384
78
26.299479
0.72531
0.285573
0
0.186529
0
0
0.111095
0
0
0
0.005063
0
0
1
0.088083
false
0.010363
0.015544
0
0.352332
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93db2131f51a021bb76ace2f9993a86a1d6b0e6b
469
py
Python
connect-2018/exercises/2018/lr-automation/cbr.py
cbcommunity/cb-connect
3ccfd1ed51e808f567f9f0fc4e8fe2688ef9ee76
[ "MIT" ]
5
2019-06-03T21:02:32.000Z
2020-12-01T08:59:50.000Z
connect-2018/exercises/2018/lr-automation/cbr.py
cbcommunity/cb-connect-2018
3ccfd1ed51e808f567f9f0fc4e8fe2688ef9ee76
[ "MIT" ]
null
null
null
connect-2018/exercises/2018/lr-automation/cbr.py
cbcommunity/cb-connect-2018
3ccfd1ed51e808f567f9f0fc4e8fe2688ef9ee76
[ "MIT" ]
1
2019-07-09T20:09:14.000Z
2019-07-09T20:09:14.000Z
from cbapi.response import * from lrjob import run_liveresponse from cbapi.example_helpers import get_cb_response_object, build_cli_parser def main(): parser = build_cli_parser("Cb Response Live Response example") parser.add_argument("sensorid", nargs=1) args = parser.parse_args() c = get_cb_response...
26.055556
74
0.742004
65
469
4.984615
0.523077
0.092593
0.080247
0.117284
0
0
0
0
0
0
0
0.005051
0.15565
469
18
75
26.055556
0.813131
0
0
0
0
0
0.104255
0
0
0
0
0
0
1
0.083333
false
0
0.25
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93db88634b9a24a07909d849964c5b879194e57a
6,655
py
Python
sqlite_to_stasis.py
mrozekma/Sprint
0bf531d2f16a7bc5b56dbc8c6eae5dc9e251b2f1
[ "MIT" ]
2
2015-03-18T13:58:46.000Z
2020-04-10T14:54:56.000Z
sqlite_to_stasis.py
mrozekma/Sprint
0bf531d2f16a7bc5b56dbc8c6eae5dc9e251b2f1
[ "MIT" ]
20
2015-01-16T18:46:53.000Z
2016-02-18T22:01:00.000Z
sqlite_to_stasis.py
mrozekma/Sprint
0bf531d2f16a7bc5b56dbc8c6eae5dc9e251b2f1
[ "MIT" ]
2
2015-08-24T15:39:20.000Z
2016-01-03T06:03:13.000Z
from os import rename from os.path import isfile import pickle import sqlite3 from stasis.DiskMap import DiskMap from utils import tsToDate, dateToTs from datetime import timedelta source = sqlite3.connect('db') source.row_factory = sqlite3.Row dest = DiskMap('db-new', create = True, cache = False) # Some cleanup, be...
37.59887
327
0.677536
947
6,655
4.746568
0.216473
0.03337
0.03337
0.040044
0.338598
0.246496
0.227586
0.134594
0.042937
0.042937
0
0.007422
0.149662
6,655
176
328
37.8125
0.786888
0.136289
0
0.326087
0
0.014493
0.381243
0.011526
0
0
0
0
0.007246
0
null
null
0
0.050725
null
null
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
93db9daeaca176a0d9639c9a8adf4162b78f5785
52
py
Python
list_ebs.py
willfong/aws-helper
21708044fbf95b76393e9b5f0e86c5e74ff11c77
[ "MIT" ]
null
null
null
list_ebs.py
willfong/aws-helper
21708044fbf95b76393e9b5f0e86c5e74ff11c77
[ "MIT" ]
null
null
null
list_ebs.py
willfong/aws-helper
21708044fbf95b76393e9b5f0e86c5e74ff11c77
[ "MIT" ]
null
null
null
import boto3 aws_ebs_client = boto3.client('ebs')
10.4
36
0.75
8
52
4.625
0.625
0
0
0
0
0
0
0
0
0
0
0.044444
0.134615
52
4
37
13
0.777778
0
0
0
0
0
0.058824
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
93dfe7ab2f36df70ba6de51ccd1196139a54d7d0
1,211
py
Python
MakeSlides/MakeSlides.py
bobm123/BeeWareTalk
d6df32320f59bcd0f71a181c3d67ce4cbe5eb1b3
[ "MIT" ]
null
null
null
MakeSlides/MakeSlides.py
bobm123/BeeWareTalk
d6df32320f59bcd0f71a181c3d67ce4cbe5eb1b3
[ "MIT" ]
null
null
null
MakeSlides/MakeSlides.py
bobm123/BeeWareTalk
d6df32320f59bcd0f71a181c3d67ce4cbe5eb1b3
[ "MIT" ]
null
null
null
''' Generate slideshows from markdown that use the remark.js script details here: https://github.com/gnab/remark Run it like this: python MakeSlides.py <source_text.md> <Slidestack Title> index.html ''' import sys import os template = ''' <!DOCTYPE html> <html> <head> <title>{title_string}</title> <met...
20.525424
71
0.625929
161
1,211
4.565217
0.484472
0.04898
0.043537
0.040816
0.084354
0.084354
0.084354
0.084354
0
0
0
0.005336
0.226259
1,211
58
72
20.87931
0.779082
0.218002
0
0.058824
1
0
0.422009
0.102564
0
0
0
0
0
1
0.029412
false
0
0.058824
0
0.088235
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
93e030c92ac6f8fce1b888c7a5422a8bac82faba
144
py
Python
makesolid/__init__.py
aarchiba/makesolid
121fca121a838fa4d62ae96ce1fc81dba64c2198
[ "MIT" ]
null
null
null
makesolid/__init__.py
aarchiba/makesolid
121fca121a838fa4d62ae96ce1fc81dba64c2198
[ "MIT" ]
null
null
null
makesolid/__init__.py
aarchiba/makesolid
121fca121a838fa4d62ae96ce1fc81dba64c2198
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import division, print_function from ._mesh import * from ._openscad import * from ._threads import *
18
47
0.722222
18
144
5.333333
0.666667
0.208333
0
0
0
0
0
0
0
0
0
0.008333
0.166667
144
7
48
20.571429
0.791667
0.145833
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
93e13a546c607eee62ff4605caebeeafa51bfb7a
6,805
py
Python
pricePrediction/preprocessData/prepareDataMol2Price.py
rsanchezgarc/CoPriNet
33708a82746278270fd1aa600d4b562ea0f62c1c
[ "MIT" ]
null
null
null
pricePrediction/preprocessData/prepareDataMol2Price.py
rsanchezgarc/CoPriNet
33708a82746278270fd1aa600d4b562ea0f62c1c
[ "MIT" ]
null
null
null
pricePrediction/preprocessData/prepareDataMol2Price.py
rsanchezgarc/CoPriNet
33708a82746278270fd1aa600d4b562ea0f62c1c
[ "MIT" ]
1
2022-03-02T16:21:16.000Z
2022-03-02T16:21:16.000Z
import gzip import os import re import sys import time from functools import reduce from itertools import chain from multiprocessing import cpu_count import lmdb import psutil import joblib from joblib import Parallel, delayed import numpy as np from pricePrediction import config from pricePrediction.config import USE...
42.006173
140
0.627039
778
6,805
5.272494
0.316195
0.018284
0.021941
0.008776
0.07411
0.042418
0
0
0
0
0
0.008842
0.268773
6,805
162
141
42.006173
0.815514
0.023806
0
0.016393
0
0
0.063052
0
0
0
0
0
0.016393
1
0.032787
false
0
0.155738
0
0.221311
0.065574
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93e251e9378f58f91368189ca0f98d7e9d184630
173
py
Python
Demos/Demo-4.2 Modules/script_3.py
Josverl/MicroPython-Bootcamp
29f5ccc9768fbea621029dcf6eea9c91ff84c1d5
[ "MIT" ]
4
2018-04-28T13:43:20.000Z
2021-03-11T16:10:35.000Z
Demos/Demo-4.2 Modules/script_3.py
Josverl/MicroPython-Bootcamp
29f5ccc9768fbea621029dcf6eea9c91ff84c1d5
[ "MIT" ]
null
null
null
Demos/Demo-4.2 Modules/script_3.py
Josverl/MicroPython-Bootcamp
29f5ccc9768fbea621029dcf6eea9c91ff84c1d5
[ "MIT" ]
null
null
null
# import just one function from a module # to save memory from module import dowork #now we can us a different name to get to the imported function # dowork(13,45) dir()
19.222222
63
0.745665
31
173
4.16129
0.741935
0
0
0
0
0
0
0
0
0
0
0.028986
0.202312
173
9
64
19.222222
0.905797
0.676301
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
93e2b831da7ddd82cdee3f6c7c6866a56f385beb
2,894
py
Python
lanzou/gui/workers/more.py
WaterLemons2k/lanzou-gui
f5c57f980ee9a6d47164a39b90d82eb0391ede8b
[ "MIT" ]
1,093
2019-12-25T10:42:34.000Z
2022-03-28T22:35:32.000Z
lanzou/gui/workers/more.py
Enrontime/lanzou-gui
8e89438d938ee4994a4118502c3f14d467b55acc
[ "MIT" ]
116
2019-12-24T04:01:43.000Z
2022-03-26T16:12:41.000Z
lanzou/gui/workers/more.py
Enrontime/lanzou-gui
8e89438d938ee4994a4118502c3f14d467b55acc
[ "MIT" ]
188
2020-01-11T14:17:13.000Z
2022-03-29T09:18:34.000Z
from PyQt5.QtCore import QThread, pyqtSignal, QMutex from lanzou.api import LanZouCloud from lanzou.gui.models import Infos from lanzou.debug import logger class GetMoreInfoWorker(QThread): '''获取文件直链、文件(夹)提取码描述,用于登录后显示更多信息''' infos = pyqtSignal(object) share_url = pyqtSignal(object) dl_link = pyqtSig...
34.86747
106
0.516586
332
2,894
4.268072
0.325301
0.095272
0.035286
0.02964
0.074806
0.032463
0
0
0
0
0
0.006101
0.376987
2,894
82
107
35.292683
0.776484
0.051486
0
0.242857
0
0
0.029283
0
0
0
0
0
0
1
0.1
false
0
0.057143
0
0.228571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93e32bae11b86f9998eb40958c5a33c52acf9800
2,728
py
Python
src/ipu/source/folder_monitor.py
feagi/feagi-core
d83c51480fcbe153fa14b2360b4d61f6ae4e2811
[ "Apache-2.0" ]
11
2020-02-18T16:03:10.000Z
2021-12-06T19:53:06.000Z
src/ipu/source/folder_monitor.py
feagi/feagi-core
d83c51480fcbe153fa14b2360b4d61f6ae4e2811
[ "Apache-2.0" ]
34
2019-12-17T04:59:42.000Z
2022-01-18T20:58:46.000Z
src/ipu/source/folder_monitor.py
feagi/feagi-core
d83c51480fcbe153fa14b2360b4d61f6ae4e2811
[ "Apache-2.0" ]
3
2019-12-16T06:09:56.000Z
2020-10-18T12:01:31.000Z
""" Source: https://camcairns.github.io/python/2017/09/06/python_watchdog_jobs_queue.html This class inherits from the Watchdog PatternMatchingEventHandler class. In this code our watchdog will only be triggered if a file is moved to have a .trigger extension. Once triggered the watchdog places the event object on the...
36.864865
117
0.66129
340
2,728
5.126471
0.414706
0.037866
0.027539
0.014917
0.052783
0.028686
0
0
0
0
0
0.004873
0.247801
2,728
73
118
37.369863
0.844542
0.264296
0
0
0
0
0.115767
0
0
0
0
0.013699
0
1
0.142857
false
0.02381
0.190476
0
0.357143
0.119048
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
93e4b9ba2043f4d210f572091843a3b906a5ef27
1,492
py
Python
adminmgr/media/code/python/red1/myReducer2.2.py
IamMayankThakur/test-bigdata
cef633eb394419b955bdce479699d0115d8f99c3
[ "Apache-2.0" ]
9
2019-11-08T02:05:27.000Z
2021-12-13T12:06:35.000Z
adminmgr/media/code/python/red2/myReducer2.2.py
IamMayankThakur/test-bigdata
cef633eb394419b955bdce479699d0115d8f99c3
[ "Apache-2.0" ]
6
2019-11-27T03:23:16.000Z
2021-06-10T19:15:13.000Z
adminmgr/media/code/python/red2/myReducer2.2.py
IamMayankThakur/test-bigdata
cef633eb394419b955bdce479699d0115d8f99c3
[ "Apache-2.0" ]
4
2019-11-26T17:04:27.000Z
2021-12-13T11:57:03.000Z
#!/usr/bin/python3 import sys #import fileinput from operator import itemgetter myDictionary = {} myList=[] for line in sys.stdin: line = line.strip() line = line.split("\t") batsman, bowler, wickets = line[0], line[1], int(line[2]) if batsman not in myDictionary: myDictionary[batsman] = {} ...
30.44898
121
0.663539
180
1,492
5.5
0.305556
0.170707
0.20202
0.105051
0.226263
0.159596
0.092929
0
0
0
0
0.017617
0.201072
1,492
48
122
31.083333
0.812919
0.119973
0
0.066667
0
0
0.003823
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.033333
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
93e5a39d73ffdd336557527636051e03eddd2896
2,478
py
Python
tests/datastore_test.py
isouzasoares/needle-forms
1cdb097e1e9801d53607683aa6dcb645b1b82226
[ "MIT" ]
null
null
null
tests/datastore_test.py
isouzasoares/needle-forms
1cdb097e1e9801d53607683aa6dcb645b1b82226
[ "MIT" ]
3
2020-03-31T04:49:13.000Z
2021-04-30T21:03:00.000Z
tests/datastore_test.py
isouzasoares/needle-forms
1cdb097e1e9801d53607683aa6dcb645b1b82226
[ "MIT" ]
2
2019-11-05T14:48:39.000Z
2020-03-26T20:17:42.000Z
from abstractions.datastore import Datastore from unittest.mock import Mock from google.cloud.datastore.entity import Entity from unittest.mock import patch import pytest """ #test_valid_information::ut #test_with_invalid_information::ut """ @patch("google.cloud.datastore.Client") def test_update_entity(mocked_data...
34.416667
75
0.75222
321
2,478
5.46729
0.196262
0.075214
0.136752
0.156695
0.528205
0.519658
0.480912
0.387464
0.308832
0.308832
0
0.004093
0.112591
2,478
71
76
34.901408
0.793997
0.007667
0
0.276596
0
0
0.192145
0.149071
0
0
0
0
0.170213
1
0.148936
false
0.06383
0.106383
0
0.255319
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
93e5d68b70881e1e29365acb06e52f0fb4bc0b36
2,331
py
Python
neuro_logging/__init__.py
neuro-inc/neuro-logging
e3173a40d0e2559f113f1420ed8a3fd4a0e76dde
[ "Apache-2.0" ]
null
null
null
neuro_logging/__init__.py
neuro-inc/neuro-logging
e3173a40d0e2559f113f1420ed8a3fd4a0e76dde
[ "Apache-2.0" ]
50
2021-08-20T00:10:05.000Z
2022-02-21T16:44:46.000Z
neuro_logging/__init__.py
neuro-inc/neuro-logging
e3173a40d0e2559f113f1420ed8a3fd4a0e76dde
[ "Apache-2.0" ]
null
null
null
import logging import logging.config import os from importlib.metadata import version from typing import Any, Union from .trace import ( make_request_logging_trace_config, make_sentry_trace_config, make_zipkin_trace_config, new_sampled_trace, new_trace, new_trace_cm, notrace, setup_sent...
25.336957
86
0.607465
243
2,331
5.473251
0.36214
0.049624
0.045113
0.034586
0.287218
0.243609
0.243609
0.243609
0.193985
0.193985
0
0.000575
0.253968
2,331
91
87
25.615385
0.764232
0
0
0.050633
0
0
0.277134
0.075504
0
0
0
0
0
1
0.037975
false
0
0.075949
0.012658
0.139241
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93e8008d69beb181243428fecbcab6a20eb6cce6
3,628
py
Python
quantrocket/houston.py
Jay-Jay-D/quantrocket-client
b70ac199382d22d56fad923ca2233ce027f3264a
[ "Apache-2.0" ]
null
null
null
quantrocket/houston.py
Jay-Jay-D/quantrocket-client
b70ac199382d22d56fad923ca2233ce027f3264a
[ "Apache-2.0" ]
null
null
null
quantrocket/houston.py
Jay-Jay-D/quantrocket-client
b70ac199382d22d56fad923ca2233ce027f3264a
[ "Apache-2.0" ]
1
2019-06-12T11:34:27.000Z
2019-06-12T11:34:27.000Z
# Copyright 2017 QuantRocket - All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
33.284404
88
0.651599
463
3,628
5.021598
0.386609
0.025806
0.014194
0.013763
0.055914
0.025806
0
0
0
0
0
0.006275
0.253308
3,628
109
89
33.284404
0.851975
0.419239
0
0.041667
0
0
0.106762
0
0
0
0
0
0
1
0.125
false
0.041667
0.083333
0.020833
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93e81c0784cf18fea2ad26a23da9cc7f264a20a2
3,778
py
Python
src/Sudoku/SudokuGenerator.py
andrea-pollastro/Sudoku
84d82c9a181ad87f782efe7489fa28da70993590
[ "MIT" ]
1
2020-01-09T10:48:47.000Z
2020-01-09T10:48:47.000Z
src/Sudoku/SudokuGenerator.py
andrea-pollastro/Sudoku
84d82c9a181ad87f782efe7489fa28da70993590
[ "MIT" ]
null
null
null
src/Sudoku/SudokuGenerator.py
andrea-pollastro/Sudoku
84d82c9a181ad87f782efe7489fa28da70993590
[ "MIT" ]
null
null
null
from random import shuffle from math import sqrt from enum import Enum from src.Sudoku.SudokuSolver import SudokuSolver from src.Sudoku.Sudoku import Sudoku """ **** SUDOKU GENERATOR **** Author: Andrea Pollastro Date: September 2018 """ class SudokuGenerator: __solver = SudokuSolver() def createSudoku(...
35.641509
117
0.636051
456
3,778
5.111842
0.298246
0.018018
0.013728
0.018876
0.085371
0.085371
0.074646
0.06435
0.040326
0.040326
0
0.010083
0.264955
3,778
106
118
35.641509
0.829312
0.149021
0
0.118421
0
0
0
0
0
0
0
0
0
1
0.118421
false
0
0.065789
0.013158
0.460526
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93e8893408bea136d9cbb5e2c4e9cac3b5b0c2f9
15,753
py
Python
stanza/coptic.py
CopticScriptorium/stanza
a16b152fce3d2cc325b7d67e03952bd00c878fe3
[ "Apache-2.0" ]
null
null
null
stanza/coptic.py
CopticScriptorium/stanza
a16b152fce3d2cc325b7d67e03952bd00c878fe3
[ "Apache-2.0" ]
null
null
null
stanza/coptic.py
CopticScriptorium/stanza
a16b152fce3d2cc325b7d67e03952bd00c878fe3
[ "Apache-2.0" ]
null
null
null
import argparse import random, os from os.path import join as j from collections import OrderedDict import conllu import torch import pathlib import tempfile import depedit import stanza.models.parser as parser from stanza.models.depparse.data import DataLoader from stanza.models.depparse.trainer import Trainer from s...
35.320628
120
0.599314
2,004
15,753
4.513972
0.221058
0.041676
0.013929
0.013266
0.234579
0.195888
0.180853
0.126907
0.086226
0.086226
0
0.011084
0.266933
15,753
445
121
35.4
0.772255
0.142386
0
0.159639
0
0
0.129719
0.014372
0
0
0
0
0.006024
1
0.051205
false
0
0.054217
0
0.156627
0.03012
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93e9f8a0d79848804615cc209c301de7b2ddbead
151
py
Python
chap01/07.py
knuu/nlp100
5008d678d7c8d15057ac67fe68b0667657c39b29
[ "MIT" ]
1
2015-09-11T10:33:42.000Z
2015-09-11T10:33:42.000Z
chap01/07.py
knuu/nlp100
5008d678d7c8d15057ac67fe68b0667657c39b29
[ "MIT" ]
null
null
null
chap01/07.py
knuu/nlp100
5008d678d7c8d15057ac67fe68b0667657c39b29
[ "MIT" ]
null
null
null
def makeSentence(x, y, z): return '{0}時の{1}は{2}'.format(x, y, z) if __name__ == '__main__': ans = makeSentence(12, '気温', 22.4) print(ans)
21.571429
41
0.576159
26
151
3.038462
0.807692
0.050633
0.075949
0
0
0
0
0
0
0
0
0.066667
0.205298
151
6
42
25.166667
0.591667
0
0
0
0
0
0.145695
0
0
0
0
0
0
1
0.2
false
0
0
0.2
0.4
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
93ea9b725dcae36d582332e92813504608956ade
49
py
Python
src/fseq/__init__.py
tanioklyce/python-fseq
be0d5d895ead1b099dd0d47602520c9ebf1f449d
[ "MIT" ]
3
2019-12-07T19:32:32.000Z
2021-12-27T05:19:26.000Z
src/fseq/__init__.py
tanioklyce/python-fseq
be0d5d895ead1b099dd0d47602520c9ebf1f449d
[ "MIT" ]
3
2020-01-05T03:05:58.000Z
2021-04-24T06:28:16.000Z
src/fseq/__init__.py
tanioklyce/python-fseq
be0d5d895ead1b099dd0d47602520c9ebf1f449d
[ "MIT" ]
4
2020-03-13T17:49:06.000Z
2022-03-14T01:26:28.000Z
__version__ = '0.1.0' from .parser import parse
12.25
25
0.714286
8
49
3.875
0.875
0
0
0
0
0
0
0
0
0
0
0.073171
0.163265
49
3
26
16.333333
0.682927
0
0
0
0
0
0.102041
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
4
93eaa3d71ba2d5f76f2ff30667b738af79cf0791
1,769
py
Python
pycraft/configuration.py
duaneking/pycraft
eb7fcc9ee44677555f667520b74fe053a3fb2392
[ "MIT" ]
null
null
null
pycraft/configuration.py
duaneking/pycraft
eb7fcc9ee44677555f667520b74fe053a3fb2392
[ "MIT" ]
null
null
null
pycraft/configuration.py
duaneking/pycraft
eb7fcc9ee44677555f667520b74fe053a3fb2392
[ "MIT" ]
null
null
null
from os.path import expanduser import sys import json ''' The configuration file will be stored as a json file @example { window: { w_dimension: 800 h_dimension: 600 resizeable: False } } ''' class ConfigurationLoader: ''' ''' def __init__(self): ''' Initialize with defaut values ''' ...
28.532258
94
0.692482
224
1,769
5.254464
0.339286
0.101954
0.17842
0.186916
0.326253
0.115548
0.057774
0
0
0
0
0.009563
0.172414
1,769
61
95
29
0.794399
0.117015
0
0.129032
0
0
0.228261
0
0
0
0
0
0
1
0.096774
false
0
0.096774
0.032258
0.290323
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
93ebca1d1f1083aaf12c3d720e9e95e6ae2564e1
11,432
py
Python
diff.py
JohnAgapeyev/binary_diff
4e8a1eb9540af134375f171e4a5a8781d042043d
[ "MIT" ]
null
null
null
diff.py
JohnAgapeyev/binary_diff
4e8a1eb9540af134375f171e4a5a8781d042043d
[ "MIT" ]
null
null
null
diff.py
JohnAgapeyev/binary_diff
4e8a1eb9540af134375f171e4a5a8781d042043d
[ "MIT" ]
null
null
null
#!/bin/python3 import sys import os import getopt import csv import json import itertools import zipfile import tarfile import binwalk import collections from heapq import nsmallest from collections import defaultdict import tlsh import numpy as np import matplotlib.pyplot as plt from multiprocessing.dummy import Poo...
30.485333
141
0.571641
1,478
11,432
4.307172
0.226658
0.023877
0.018379
0.026861
0.17028
0.125039
0.125039
0.117499
0.098492
0.083883
0
0.021536
0.317617
11,432
374
142
30.566845
0.794514
0.048198
0
0.190939
0
0
0.048947
0.002576
0
0
0
0
0
1
0.045307
false
0.006472
0.067961
0.006472
0.200647
0.035599
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93ecc85140eb083700cb75cd12da34a931dcc1e5
3,132
py
Python
proyecto_opti.py
rafaelfrieri1/Optimization-Project
20db5200cd361d358e213310c6eb2997c893ff27
[ "MIT" ]
null
null
null
proyecto_opti.py
rafaelfrieri1/Optimization-Project
20db5200cd361d358e213310c6eb2997c893ff27
[ "MIT" ]
null
null
null
proyecto_opti.py
rafaelfrieri1/Optimization-Project
20db5200cd361d358e213310c6eb2997c893ff27
[ "MIT" ]
null
null
null
from pyomo.environ import * import numpy as np cijr = [] fjr = [] with open("./Test_Instances/RAND2000_120-80.txt") as instanceFile: n = int(instanceFile.readline()) clientsFacilitiesSizeStr = instanceFile.readline().strip().split(" ") instanceFile.readline() for phase in range(2): for i in range(1, len(cl...
28.472727
295
0.590358
495
3,132
3.731313
0.212121
0.060639
0.077964
0.075799
0.258798
0.212777
0.179751
0.120736
0.036816
0.036816
0
0.085415
0.207535
3,132
110
296
28.472727
0.658743
0.155811
0
0.126984
0
0
0.016839
0.013777
0
0
0
0
0
1
0
false
0
0.031746
0
0.031746
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93ee69a5215c2d7c2cad4e30beebcfeebc327ae5
367
py
Python
import_gs.py
christophdrayss/labelImg-pointer-upgrade
9304d2c347abb935543579e14554aa74ec97807c
[ "MIT" ]
null
null
null
import_gs.py
christophdrayss/labelImg-pointer-upgrade
9304d2c347abb935543579e14554aa74ec97807c
[ "MIT" ]
null
null
null
import_gs.py
christophdrayss/labelImg-pointer-upgrade
9304d2c347abb935543579e14554aa74ec97807c
[ "MIT" ]
null
null
null
# # exports a specific folder in the import directory to the google cloud # # Syntax: # python3 import.py <GS URI> # # Example: # python3 import.py gs://bini-products-bucket/training-sets-2/intrusion/poc1_v1.2.0/frames # # import os import sys # uri cloud_uri = sys.argv[1] os.system('mkdir -p import') os.system...
18.35
90
0.692098
60
367
4.183333
0.666667
0.103586
0.119522
0.135458
0
0
0
0
0
0
0
0.02589
0.158038
367
19
91
19.315789
0.786408
0.574932
0
0
0
0
0.305556
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
93ef5cd7a8eaabe0926f1a74eb45c72effabde13
482,361
py
Python
pynos/versions/ver_7/ver_7_1_0/yang/brocade_xstp_ext.py
bdeetz/pynos
bd8a34e98f322de3fc06750827d8bbc3a0c00380
[ "Apache-2.0" ]
12
2015-09-21T23:56:09.000Z
2018-03-30T04:35:32.000Z
pynos/versions/ver_7/ver_7_1_0/yang/brocade_xstp_ext.py
bdeetz/pynos
bd8a34e98f322de3fc06750827d8bbc3a0c00380
[ "Apache-2.0" ]
10
2016-09-15T19:03:27.000Z
2017-07-17T23:38:01.000Z
pynos/versions/ver_7/ver_7_1_0/yang/brocade_xstp_ext.py
bdeetz/pynos
bd8a34e98f322de3fc06750827d8bbc3a0c00380
[ "Apache-2.0" ]
6
2015-08-14T08:05:23.000Z
2022-02-03T15:33:54.000Z
#!/usr/bin/env python import xml.etree.ElementTree as ET class brocade_xstp_ext(object): """Auto generated class. """ def __init__(self, **kwargs): self._callback = kwargs.pop('callback') def get_stp_brief_info_input_request_type_getnext_request_last_rcvd_instance_instance_id(sel...
47.744333
133
0.671974
60,957
482,361
4.958856
0.001641
0.145297
0.076056
0.103713
0.99956
0.99956
0.99956
0.99956
0.99956
0.99956
0
0
0.216794
482,361
10,103
134
47.744333
0.800123
0.034006
0
0.99949
1
0
0.133677
0.002781
0
0
0
0
0
1
0.072066
false
0
0.000128
0
0.14426
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
93f0a5f958369eb4430a00c36a168b1783fda002
735
py
Python
portal/middleware.py
cds-snc/covid-alert-portal
e7d56fa9fa4a2ad2d60f056eae063713661bd260
[ "MIT" ]
43
2020-07-31T14:38:06.000Z
2022-03-07T11:28:28.000Z
portal/middleware.py
cds-snc/covid-alert-portal
e7d56fa9fa4a2ad2d60f056eae063713661bd260
[ "MIT" ]
322
2020-07-23T19:38:26.000Z
2022-03-31T19:15:45.000Z
portal/middleware.py
cds-snc/covid-alert-portal
e7d56fa9fa4a2ad2d60f056eae063713661bd260
[ "MIT" ]
6
2020-11-28T19:30:20.000Z
2021-07-29T18:06:55.000Z
import pytz from django.conf import settings class TZMiddleware: def __init__(self, get_response): self.get_response = get_response def __call__(self, request): browser_tz = request.COOKIES.get("browserTimezone") tz = None if browser_tz: try: tz = p...
27.222222
75
0.642177
89
735
4.921348
0.393258
0.100457
0.10274
0.109589
0.157534
0.157534
0
0
0
0
0
0
0.293878
735
26
76
28.269231
0.843931
0
0
0
0
0
0.020408
0
0
0
0
0
0
1
0.15
false
0.05
0.1
0.05
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93f2524a7c6f2e836f91bdc023c3abf9b271eb96
56
py
Python
mikaponics/foundation/__init__.py
mikaponics/mikaponics-back
98e1ff8bab7dda3492e5ff637bf5aafd111c840c
[ "BSD-3-Clause" ]
2
2019-04-30T23:51:41.000Z
2019-05-04T00:35:52.000Z
mikaponics/foundation/__init__.py
mikaponics/mikaponics-back
98e1ff8bab7dda3492e5ff637bf5aafd111c840c
[ "BSD-3-Clause" ]
27
2019-04-30T20:22:28.000Z
2022-02-10T08:10:32.000Z
mikaponics/foundation/__init__.py
mikaponics/mikaponics-back
98e1ff8bab7dda3492e5ff637bf5aafd111c840c
[ "BSD-3-Clause" ]
1
2019-03-08T18:24:23.000Z
2019-03-08T18:24:23.000Z
default_app_config = 'foundation.apps.FoundationConfig'
28
55
0.857143
6
56
7.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.053571
56
1
56
56
0.867925
0
0
0
0
0
0.571429
0.571429
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
93f3149ab4cf735ff8855c62f4a02835c7b351e6
483
py
Python
app/main.py
cesko-digital/newschatbot
4f47d7902433bff09b48fcebcf9ee8422eb0ec7e
[ "MIT" ]
1
2021-04-06T16:52:36.000Z
2021-04-06T16:52:36.000Z
app/main.py
cesko-digital/newschatbot
4f47d7902433bff09b48fcebcf9ee8422eb0ec7e
[ "MIT" ]
17
2021-05-30T17:06:48.000Z
2021-09-26T08:20:02.000Z
app/main.py
cesko-digital/newschatbot
4f47d7902433bff09b48fcebcf9ee8422eb0ec7e
[ "MIT" ]
null
null
null
from flask import Flask from flask_migrate import Migrate from app.model import db from app.controller import api app = Flask(__name__) app.register_blueprint(api) app.config[ "SQLALCHEMY_DATABASE_URI" ] = "postgresql://newschatbotdevelopment:Wlk8skrHKvZEbM6Gw@database.internal.newschatbot.ceskodigital.net:5432/n...
25.421053
134
0.797101
60
483
6.1
0.516667
0.04918
0.103825
0
0
0
0
0
0
0
0
0.013857
0.10352
483
18
135
26.833333
0.831409
0
0
0
0
0
0.391304
0.374741
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93f37962ca5f7dd8a9101563b5c77758b61305bc
67
py
Python
api/vehicles/test_cases/__init__.py
jaconsta/soat_cnpx
3c5a05a334e44158b0aa9ab57c309771953b2950
[ "MIT" ]
null
null
null
api/vehicles/test_cases/__init__.py
jaconsta/soat_cnpx
3c5a05a334e44158b0aa9ab57c309771953b2950
[ "MIT" ]
null
null
null
api/vehicles/test_cases/__init__.py
jaconsta/soat_cnpx
3c5a05a334e44158b0aa9ab57c309771953b2950
[ "MIT" ]
null
null
null
from .test_vehicles_crud import * from .test_soat_vehicles import *
33.5
33
0.835821
10
67
5.2
0.6
0.307692
0
0
0
0
0
0
0
0
0
0
0.104478
67
2
34
33.5
0.866667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
93f51b485662f69b94bcc6b67cecfbb6633cdc40
2,887
py
Python
examples/siha/sleep_intraday_dataset.py
qcri/tasrif
327bc1eccb8f8e11d8869ba65a7c72ad038aa094
[ "BSD-3-Clause" ]
20
2021-12-06T10:41:54.000Z
2022-03-13T16:25:43.000Z
examples/siha/sleep_intraday_dataset.py
qcri/tasrif
327bc1eccb8f8e11d8869ba65a7c72ad038aa094
[ "BSD-3-Clause" ]
33
2021-12-06T08:27:18.000Z
2022-03-14T05:07:53.000Z
examples/siha/sleep_intraday_dataset.py
qcri/tasrif
327bc1eccb8f8e11d8869ba65a7c72ad038aa094
[ "BSD-3-Clause" ]
2
2022-02-07T08:06:48.000Z
2022-02-14T07:13:42.000Z
"""Example on how to read sleep data from SIHA """ import os from tasrif.data_readers.siha_dataset import SihaDataset from tasrif.processing_pipeline import SequenceOperator from tasrif.processing_pipeline.custom import JqOperator from tasrif.processing_pipeline.pandas import ( ConvertToDatetimeOperator, JsonN...
38.493333
108
0.512643
206
2,887
7.11165
0.378641
0.106485
0.049147
0.057338
0.07372
0
0
0
0
0
0
0
0.32629
2,887
74
109
39.013514
0.753213
0.014894
0
0.044776
0
0.029851
0.375749
0.008107
0
0
0
0
0
1
0
false
0
0.074627
0
0.074627
0.014925
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93f625804e80ba67e77913d8e04521c5e668b99a
6,169
py
Python
tests/test_contract.py
MioYvo/vision-python-sdk
53608232c333f57f83a8b16ba92f50e90f28ac88
[ "MIT" ]
null
null
null
tests/test_contract.py
MioYvo/vision-python-sdk
53608232c333f57f83a8b16ba92f50e90f28ac88
[ "MIT" ]
null
null
null
tests/test_contract.py
MioYvo/vision-python-sdk
53608232c333f57f83a8b16ba92f50e90f28ac88
[ "MIT" ]
null
null
null
import pytest from visionpy import Vision, Contract from visionpy import AsyncVision, AsyncContract from visionpy.keys import PrivateKey # vpioneer addr and key PRIVATE_KEY = PrivateKey(bytes.fromhex("a318cb4f1f3b87d604163e4a854312555d57158d78aef26797482d3038c4018b")) FROM_ADDR = 'VSfD1o6FPChqdqLgwJaztjckyyo2GSM1KP' ...
36.288235
481
0.70449
527
6,169
8.083491
0.210626
0.071831
0.030986
0.025352
0.714789
0.643662
0.626291
0.560329
0.554695
0.526761
0
0.208985
0.191765
6,169
169
482
36.502959
0.645407
0.036959
0
0.524194
0
0
0.302024
0.215852
0
0
0
0
0.064516
1
0.032258
false
0
0.032258
0
0.064516
0.185484
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
93f6815c90e0d2c5d837cca53aee27c9bd4b93f4
261
py
Python
store/cach.py
fj-fj-fj/drf-api-orm
c3fdd9ca31dafe40b8b1b88b5ee9dbeb4880a92a
[ "MIT" ]
null
null
null
store/cach.py
fj-fj-fj/drf-api-orm
c3fdd9ca31dafe40b8b1b88b5ee9dbeb4880a92a
[ "MIT" ]
2
2021-03-20T10:18:45.000Z
2021-04-05T19:45:58.000Z
store/cach.py
fj-fj-fj/drf-api-orm
c3fdd9ca31dafe40b8b1b88b5ee9dbeb4880a92a
[ "MIT" ]
1
2021-03-19T20:51:17.000Z
2021-03-19T20:51:17.000Z
from django.db.models import Avg from store.models import Book, UserBookRelation def set_rating(book: Book) -> None: rating = UserBookRelation.objects.filter(book=book).aggregate(rating=Avg('rate')).get('rating') book.rating = rating book.save()
26.1
99
0.731801
35
261
5.428571
0.542857
0.157895
0
0
0
0
0
0
0
0
0
0
0.137931
261
9
100
29
0.844444
0
0
0
0
0
0.038314
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
93f841a8146cf689db89cb783c3060d1cae831aa
555
py
Python
webware/PSP/PSPPage.py
PeaceWorksTechnologySolutions/w4py3
7f9e7088034e3e3ac53158edfa4f377b5b2f45fe
[ "MIT" ]
11
2020-10-18T07:33:56.000Z
2021-09-27T21:03:38.000Z
webware/PSP/PSPPage.py
PeaceWorksTechnologySolutions/w4py3
7f9e7088034e3e3ac53158edfa4f377b5b2f45fe
[ "MIT" ]
9
2020-01-03T18:58:25.000Z
2020-01-09T18:36:23.000Z
webware/PSP/PSPPage.py
PeaceWorksTechnologySolutions/w4py3
7f9e7088034e3e3ac53158edfa4f377b5b2f45fe
[ "MIT" ]
4
2020-06-30T09:41:56.000Z
2021-02-20T13:48:08.000Z
"""Default base class for PSP pages. This class is intended to be used in the future as the default base class for PSP pages in the event that some special processing is needed. Right now, no special processing is needed, so the default base class for PSP pages is the standard Webware Page. """ from Page import Page ...
26.428571
73
0.717117
83
555
4.662651
0.481928
0.085271
0.124031
0.147287
0.224806
0.224806
0.155039
0
0
0
0
0
0.216216
555
20
74
27.75
0.889655
0.520721
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
93f8df4d6dce3b4bf4d20eae42a3c300c4be5bdc
139,378
py
Python
rcsb/utils/dictionary/DictMethodEntityInstanceHelper.py
rcsb/py-rcsb_utils_dictionary
459f759ed7bc267ef63f57b230974afe555d9157
[ "Apache-2.0" ]
2
2022-01-22T16:23:44.000Z
2022-01-22T20:28:34.000Z
rcsb/utils/dictionary/DictMethodEntityInstanceHelper.py
rcsb/py-rcsb_utils_dictionary
459f759ed7bc267ef63f57b230974afe555d9157
[ "Apache-2.0" ]
4
2021-11-23T15:27:49.000Z
2022-03-30T19:51:43.000Z
rcsb/utils/dictionary/DictMethodEntityInstanceHelper.py
rcsb/py-rcsb_utils_dictionary
459f759ed7bc267ef63f57b230974afe555d9157
[ "Apache-2.0" ]
2
2022-01-22T16:23:46.000Z
2022-03-27T18:01:42.000Z
## # File: DictMethodEntityInstanceHelper.py # Author: J. Westbrook # Date: 16-Jul-2019 # Version: 0.001 Initial version # # # Updates: # 22-Nov-2021 dwp authSeqBeg and authSeqEnd are returned as integers but must be compared as strings in pAuthAsymD # ## """ This helper class implements methods supporting enti...
56.474068
184
0.543536
13,074
139,378
5.589873
0.065473
0.079637
0.07337
0.047727
0.785077
0.751745
0.712091
0.670411
0.650995
0.632618
0
0.009702
0.359576
139,378
2,467
185
56.49696
0.809043
0.120679
0
0.703576
0
0.00346
0.142303
0.05038
0
0
0
0
0
1
0.012687
false
0.00173
0.00346
0
0.047866
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
93f8e49e11b7653fd863536bebeb07d2b758a06e
12,788
py
Python
tests/data/long_statement_strings.py
aalto-speech/fi-parliament-tools
c40ab81a23c661765c380238cbf10acf733d94d4
[ "MIT" ]
5
2021-05-19T22:56:40.000Z
2022-03-29T15:25:03.000Z
tests/data/long_statement_strings.py
aalto-speech/fi-parliament-tools
c40ab81a23c661765c380238cbf10acf733d94d4
[ "MIT" ]
32
2021-05-10T07:58:57.000Z
2022-03-01T08:02:11.000Z
tests/data/long_statement_strings.py
aalto-speech/fi-parliament-tools
c40ab81a23c661765c380238cbf10acf733d94d4
[ "MIT" ]
null
null
null
"""Long statement strings and other space consuming data definitions for testing are declared here. This is done to avoid clutter in main test files. """ from typing import Dict from typing import List from typing import Tuple import pytest from _pytest.fixtures import SubRequest from fi_parliament_tools.parsing.dat...
37.722714
100
0.626759
1,297
12,788
6.141866
0.508096
0.005021
0.006277
0.020085
0.224077
0.210394
0.199347
0.168968
0.158423
0.158423
0
0.026911
0.256099
12,788
338
101
37.83432
0.810155
0.057632
0
0.406667
0
0.003333
0.586862
0.025258
0
0
0
0
0
1
0.023333
false
0
0.02
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
93f98465a257a935b04f433473c8d2f49911d9f0
336
py
Python
atcoder/abc144/d.py
sugitanishi/competitive-programming
51af65fdce514ece12f8afbf142b809d63eefb5d
[ "MIT" ]
null
null
null
atcoder/abc144/d.py
sugitanishi/competitive-programming
51af65fdce514ece12f8afbf142b809d63eefb5d
[ "MIT" ]
null
null
null
atcoder/abc144/d.py
sugitanishi/competitive-programming
51af65fdce514ece12f8afbf142b809d63eefb5d
[ "MIT" ]
null
null
null
import sys import math import itertools from collections import deque sys.setrecursionlimit(10000000) input=lambda : sys.stdin.readline().rstrip() a,b,x=map(int,input().split()) if (a**2*b)-x<=(a**2*b)/2: c=2*((a**2*b)-x)/(a**2) print(math.degrees(math.atan2(c,a))) else: c=2*x/b/a print(math.degrees(ma...
22.4
44
0.657738
63
336
3.507937
0.428571
0.036199
0.040724
0.036199
0.280543
0.054299
0
0
0
0
0
0.057239
0.116071
336
14
45
24
0.686869
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
93faa5a4405de0a04d15d1ea4890ad9da6d219ed
12,644
py
Python
bakefont3/encode.py
golightlyb/bakefont3
b5e05f5f96dc37136cf1cf6053c081a7b30f9ea8
[ "MIT" ]
7
2017-12-01T16:48:12.000Z
2021-01-21T13:05:24.000Z
bakefont3/encode.py
golightlyb/bakefont3
b5e05f5f96dc37136cf1cf6053c081a7b30f9ea8
[ "MIT" ]
1
2021-04-19T01:03:37.000Z
2021-04-19T03:02:52.000Z
bakefont3/encode.py
golightlyb/bakefont3
b5e05f5f96dc37136cf1cf6053c081a7b30f9ea8
[ "MIT" ]
null
null
null
import struct import itertools import freetype ENDIAN = '<' # always little endian # If you make a modified version, please change the URL in the string to # let people know what generated the file! # example: Bakefont 3.0.2 (compatible; Acme Inc version 1.3) ENCODER = "Bakefont 3.0.2 (https://github.com/golightlyb/b...
34.358696
94
0.612148
1,730
12,644
4.443353
0.216185
0.015611
0.008196
0.022896
0.281254
0.18876
0.165604
0.126968
0.067126
0.042149
0
0.046704
0.283692
12,644
367
95
34.452316
0.802032
0.397105
0
0.086486
1
0
0.041077
0
0
0
0
0.002725
0.043243
1
0.124324
false
0
0.016216
0.027027
0.221622
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
93fcc6644a7bd3a91ddcfdaa15c6e3faf2dbec83
137
py
Python
tests/views/test_healthcheck.py
oliveryuen/python-flask
a53c9ed823fc2f63c416e5a3b47e91f5c9d91604
[ "Apache-2.0" ]
null
null
null
tests/views/test_healthcheck.py
oliveryuen/python-flask
a53c9ed823fc2f63c416e5a3b47e91f5c9d91604
[ "Apache-2.0" ]
null
null
null
tests/views/test_healthcheck.py
oliveryuen/python-flask
a53c9ed823fc2f63c416e5a3b47e91f5c9d91604
[ "Apache-2.0" ]
null
null
null
"""Test health check""" def test_healthcheck(client): response = client.get("/healthcheck") assert response.status_code == 200
19.571429
41
0.70073
16
137
5.875
0.75
0
0
0
0
0
0
0
0
0
0
0.026087
0.160584
137
6
42
22.833333
0.791304
0.124088
0
0
0
0
0.105263
0
0
0
0
0
0.333333
1
0.333333
false
0
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
93fe622a14e935745be6617c3d7a3da20bbb3012
578
py
Python
venv/Lib/site-packages/fbs/_state.py
Acuf5928/check-
4b993e0bcee33434506565dab11ece3dfa9c5cab
[ "MIT" ]
1
2020-03-30T00:08:41.000Z
2020-03-30T00:08:41.000Z
venv/Lib/site-packages/fbs/_state.py
Acuf5928/check-
4b993e0bcee33434506565dab11ece3dfa9c5cab
[ "MIT" ]
null
null
null
venv/Lib/site-packages/fbs/_state.py
Acuf5928/check-
4b993e0bcee33434506565dab11ece3dfa9c5cab
[ "MIT" ]
2
2018-12-29T07:49:59.000Z
2020-03-18T02:44:31.000Z
""" This INTERNAL module is used to manage fbs's global state. Having it here, in one central place, allows fbs's test suite to manipulate the state to test various scenarios. """ from collections import OrderedDict SETTINGS = {} LOADED_PROFILES = [] COMMANDS = OrderedDict() def get(): return dict(SETTINGS), list...
27.52381
77
0.749135
74
578
5.77027
0.567568
0.196721
0.154567
0.140515
0
0
0
0
0
0
0
0
0.155709
578
21
78
27.52381
0.875
0.295848
0
0
0
0
0
0
0
0
0
0
0
1
0.153846
false
0
0.076923
0.076923
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0