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
0829534c63fae0dfb66814593c9605ce70347325
28,509
py
Python
biosteam/_system.py
tylerhuntington222/biosteam
234959180a3210d95e39a012454f455723c92686
[ "MIT" ]
null
null
null
biosteam/_system.py
tylerhuntington222/biosteam
234959180a3210d95e39a012454f455723c92686
[ "MIT" ]
null
null
null
biosteam/_system.py
tylerhuntington222/biosteam
234959180a3210d95e39a012454f455723c92686
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # BioSTEAM: The Biorefinery Simulation and Techno-Economic Analysis Modules # Copyright (C) 2020, Yoel Cortes-Pena <yoelcortes@gmail.com> # # This module is under the UIUC open-source license. See # github.com/BioSTEAMDevelopmentGroup/biosteam/blob/master/LICENSE.txt # for license details. """...
35.725564
128
0.582377
3,240
28,509
4.912037
0.119753
0.021112
0.004524
0.011938
0.330066
0.283632
0.250895
0.195287
0.167515
0.154697
0
0.002686
0.321021
28,509
798
129
35.725564
0.819497
0.20818
0
0.31028
0
0
0.058415
0.008555
0
0
0
0
0.003738
1
0.123364
false
0.003738
0.026168
0.007477
0.228037
0.007477
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
082bb5b00799a75a854f5404ce105bcaeac6c3e7
1,005
py
Python
modules/AI/research/findContour.py
killax-d/Counter-Coins-API
97acede70e26b23f96883bb14e2bf6ace3759174
[ "MIT" ]
null
null
null
modules/AI/research/findContour.py
killax-d/Counter-Coins-API
97acede70e26b23f96883bb14e2bf6ace3759174
[ "MIT" ]
null
null
null
modules/AI/research/findContour.py
killax-d/Counter-Coins-API
97acede70e26b23f96883bb14e2bf6ace3759174
[ "MIT" ]
null
null
null
import cv2 import numpy as np image = cv2.imread('original.png') gray = cv2.cvtColor(image.copy(), cv2.COLOR_BGR2GRAY) gray = cv2.equalizeHist(gray) blur = cv2.GaussianBlur(gray, (19, 19), 0) # Application d'un seuil pour obtenir une image binaire thresh = cv2.adaptiveThreshold(blur, 255, cv2.ADAPTIVE_THRESH_GAUSSIAN...
30.454545
103
0.711443
144
1,005
4.895833
0.590278
0.022695
0
0
0
0
0
0
0
0
0
0.06152
0.175124
1,005
33
104
30.454545
0.788902
0.155224
0
0.086957
0
0
0.026005
0
0
0
0
0
0
1
0
false
0.043478
0.086957
0
0.086957
0.043478
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
083461c10e66e08e6e0c8ad2d8f84b46b0b09e65
8,413
py
Python
python/src/ties/cli/test/ties_convert_tests.py
Noblis/ties-lib
e7c6165ebcd80e11b792fd4bcddf6ce634da0c60
[ "ECL-2.0", "Apache-2.0" ]
1
2020-04-10T19:02:27.000Z
2020-04-10T19:02:27.000Z
python/src/ties/cli/test/ties_convert_tests.py
Noblis/ties-lib
e7c6165ebcd80e11b792fd4bcddf6ce634da0c60
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
python/src/ties/cli/test/ties_convert_tests.py
Noblis/ties-lib
e7c6165ebcd80e11b792fd4bcddf6ce634da0c60
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
################################################################################ # Copyright 2019 Noblis, Inc # # # # Licensed under the Apache License, Version 2.0 (the "License"); ...
36.578261
111
0.562463
1,016
8,413
4.431102
0.188976
0.031986
0.03665
0.049978
0.496224
0.491337
0.491337
0.48534
0.469347
0.422923
0
0.010215
0.313443
8,413
229
112
36.737991
0.769217
0.127303
0
0.445055
0
0.016484
0.292744
0.050329
0
0
0
0
0.010989
1
0.104396
false
0.010989
0.043956
0
0.153846
0.005495
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
0834a96e609f196a4e397fc0d0398ea157ccd7e5
2,316
py
Python
Edge Detection.py
paulmtree/Lung-Segmentation-Project
2cffe09ce6a4818200d88b9e4e87155feb594366
[ "MIT" ]
14
2020-11-10T16:47:54.000Z
2022-03-15T12:17:29.000Z
Edge Detection.py
paulmtree/Lung-Segmentation-Project
2cffe09ce6a4818200d88b9e4e87155feb594366
[ "MIT" ]
3
2020-11-21T09:49:15.000Z
2021-05-30T23:58:30.000Z
Edge Detection.py
paulmtree/Lung-Segmentation-Project
2cffe09ce6a4818200d88b9e4e87155feb594366
[ "MIT" ]
3
2021-11-04T18:08:53.000Z
2022-01-13T03:22:26.000Z
from PIL import Image, ImageFilter import numpy as np import glob from numpy import array import matplotlib.pyplot as plt from skimage import morphology import scipy.ndimage def sample_stack(stack, rows=2, cols=2, start_with=0, show_every=1, display1 = True): if (display1): new_list = [] new_list.a...
35.090909
128
0.658895
342
2,316
4.359649
0.318713
0.042254
0.032193
0.04829
0.391683
0.336687
0.317907
0.28169
0.179745
0.179745
0
0.021568
0.179188
2,316
66
129
35.090909
0.762756
0.124784
0
0.195122
0
0
0.151836
0.084007
0
0
0
0
0
1
0.02439
false
0
0.170732
0
0.195122
0.02439
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
08354cb83dbefe75aa87b426bfa4c3e544572c47
2,191
py
Python
benchmark.py
Umass-ITS/Open3D-PointNet2-Semantic3D
0254926f62cbca695aa1e76a18fec0863be5e455
[ "MIT" ]
330
2019-04-10T21:31:24.000Z
2021-07-26T06:16:17.000Z
benchmark.py
largeword/Open3D-PointNet2-Semantic3D
3a9751dc724877933fc883320100796cef23489d
[ "MIT" ]
44
2019-04-10T15:28:36.000Z
2021-06-22T17:39:05.000Z
benchmark.py
largeword/Open3D-PointNet2-Semantic3D
3a9751dc724877933fc883320100796cef23489d
[ "MIT" ]
78
2019-04-08T09:39:29.000Z
2021-06-08T02:39:14.000Z
import json import numpy as np import tensorflow as tf import time from predict import Predictor if __name__ == "__main__": checkpoint = "logs/semantic_backup_full_submit_dec_10/best_model_epoch_275.ckpt" hyper_params = json.loads(open("semantic.json").read()) predictor = Predictor( checkpoint_pa...
30.013699
86
0.652214
274
2,191
4.912409
0.408759
0.066865
0.071322
0.077266
0.408618
0.36107
0.36107
0.36107
0.36107
0.36107
0
0.009042
0.242812
2,191
72
87
30.430556
0.802291
0.082154
0
0.313725
0
0
0.119381
0.032468
0
0
0
0
0
1
0
false
0
0.098039
0
0.098039
0.039216
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
0836babd9f72c506519d713c961b9257fd759c19
447
py
Python
tests/my_select_group.py
oldjun/PyMyORM
ac49910f21d3f3d3d4b3d75a0f998526963f0a2a
[ "MIT" ]
1
2021-12-01T23:47:24.000Z
2021-12-01T23:47:24.000Z
tests/my_select_group.py
oldjun/PyMyORM
ac49910f21d3f3d3d4b3d75a0f998526963f0a2a
[ "MIT" ]
null
null
null
tests/my_select_group.py
oldjun/PyMyORM
ac49910f21d3f3d3d4b3d75a0f998526963f0a2a
[ "MIT" ]
2
2022-01-03T15:03:37.000Z
2022-02-16T09:00:58.000Z
from pymyorm.database import Database from config import db from models.user import User if __name__ == '__main__': Database.connect(**db) # # case 1 # all = User.find().select('count(*) as count', 'money').group('money').order('count asc').all() # for one in all: # print(one) all = User....
27.9375
102
0.615213
63
447
4.238095
0.460317
0.052434
0.082397
0.127341
0.164794
0.164794
0.164794
0
0
0
0
0.002825
0.208054
447
15
103
29.8
0.751412
0.295302
0
0
0
0
0.175325
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.125
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
083725212ef9f198c79212406fcc54599eb1abb4
2,783
py
Python
framework/codejam/extract/cyclomatic_complexity.py
neizod/coding-analysis
cc086bcf204e570032d11b12a46ac819cfe93f2b
[ "MIT" ]
1
2015-05-22T05:01:53.000Z
2015-05-22T05:01:53.000Z
framework/codejam/extract/cyclomatic_complexity.py
neizod/coding-analysis
cc086bcf204e570032d11b12a46ac819cfe93f2b
[ "MIT" ]
null
null
null
framework/codejam/extract/cyclomatic_complexity.py
neizod/coding-analysis
cc086bcf204e570032d11b12a46ac819cfe93f2b
[ "MIT" ]
null
null
null
import os import json import logging from framework._utils import FunctionHook class CodeJamExtractCyclomaticComplexity(FunctionHook): ''' This method will extract cyclomatic complexity from submitted code. Need to run `extract language` first, since not every language has implement with the extr...
42.815385
75
0.606899
304
2,783
5.467105
0.361842
0.028881
0.04633
0.039711
0.33574
0.220217
0.198556
0.198556
0.198556
0.198556
0
0
0.285304
2,783
64
76
43.484375
0.835596
0.126123
0
0.196078
0
0
0.110034
0.017707
0
0
0
0
0
1
0.058824
false
0
0.196078
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
08384f79281339a1e0387a70c9f20061ae7f5d42
64
py
Python
tests/basic/numeric.py
MoonStarCZW/py2rb
89b247717d33d780fbf143e1583bfe9252984da4
[ "MIT" ]
null
null
null
tests/basic/numeric.py
MoonStarCZW/py2rb
89b247717d33d780fbf143e1583bfe9252984da4
[ "MIT" ]
null
null
null
tests/basic/numeric.py
MoonStarCZW/py2rb
89b247717d33d780fbf143e1583bfe9252984da4
[ "MIT" ]
null
null
null
print(int(2.0)) print(float(2)) print(abs(-2.0)) print(abs(-2))
12.8
16
0.625
14
64
2.857143
0.428571
0.1
0.35
0
0
0
0
0
0
0
0
0.1
0.0625
64
4
17
16
0.566667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
0
1
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
0
0
0
1
0
5
083ac0bbfaedec44e83a000de5fcb0cfa49ed48e
310
py
Python
tests/symmetry/test_point_group.py
kijanac/Materia
b49af518c8eff7d3a8c6caff39783e3daf80a7a0
[ "MIT" ]
null
null
null
tests/symmetry/test_point_group.py
kijanac/Materia
b49af518c8eff7d3a8c6caff39783e3daf80a7a0
[ "MIT" ]
null
null
null
tests/symmetry/test_point_group.py
kijanac/Materia
b49af518c8eff7d3a8c6caff39783e3daf80a7a0
[ "MIT" ]
null
null
null
# import materia as mtr # import numpy as np # def test_point_group_C1(): # ctable = mtr.symmetry.C1().cayley_table() # assert (ctable == np.array([[0]])).all() # def test_point_group_Ci(): # ctable = mtr.symmetry.Ci().cayley_table() # assert (ctable == np.array([[0, 1], [1, 0]])).all()
20.666667
57
0.606452
45
310
4
0.466667
0.077778
0.133333
0.188889
0.344444
0.344444
0.344444
0
0
0
0
0.027888
0.190323
310
14
58
22.142857
0.689243
0.925806
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
083e03b527a87a9ebea41c58c4a9944e76e7007f
1,948
py
Python
extrator/test/test_pipeline.py
MinisterioPublicoRJ/robotj
946e9547eea6f548609f7ccfaf1c6a13fffece65
[ "MIT" ]
3
2018-03-13T12:17:13.000Z
2021-04-18T19:55:04.000Z
extrator/test/test_pipeline.py
MinisterioPublicoRJ/robotj
946e9547eea6f548609f7ccfaf1c6a13fffece65
[ "MIT" ]
1
2018-06-19T13:09:10.000Z
2018-06-19T13:09:10.000Z
extrator/test/test_pipeline.py
MinisterioPublicoRJ/robotj
946e9547eea6f548609f7ccfaf1c6a13fffece65
[ "MIT" ]
1
2021-04-18T19:55:09.000Z
2021-04-18T19:55:09.000Z
from unittest.mock import patch, MagicMock from unittest import TestCase from ..crawler.pipeliner import pipeline from ..settings import URL_PROCESSO class Pipeline(TestCase): @patch('robotj.extrator.crawler.pipeliner.parse_itens', return_value={'d': 4}) @patch('robotj.extrator.crawler.pipeliner.pa...
38.96
76
0.661704
242
1,948
4.950413
0.322314
0.106845
0.106845
0.133556
0.301336
0.173623
0
0
0
0
0
0.026298
0.219199
1,948
49
77
39.755102
0.761341
0
0
0
0
0
0.232033
0.178131
0
0
0
0
0.219512
1
0.02439
false
0
0.097561
0
0.146341
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
083f30db4f011f2e287409fe5ae43ef0e966b47a
3,943
py
Python
tests/test_step.py
arup-group/mc
50b8faa8b9d40dece88e0a27f911edd427ebc064
[ "MIT" ]
null
null
null
tests/test_step.py
arup-group/mc
50b8faa8b9d40dece88e0a27f911edd427ebc064
[ "MIT" ]
12
2021-12-14T15:10:43.000Z
2022-03-31T13:39:25.000Z
tests/test_step.py
arup-group/mc
50b8faa8b9d40dece88e0a27f911edd427ebc064
[ "MIT" ]
null
null
null
from pathlib import Path import pytest from copy import deepcopy import os from mc.base import BaseConfig from mc import step @pytest.fixture() def config(): in_file = Path("tests/test_data/test_config.xml") return BaseConfig(in_file) def test_set_write_path(config): step.set_write_path(config, {'outpu...
39.43
103
0.672331
441
3,943
5.854875
0.190476
0.116189
0.050349
0.076685
0.725019
0.656468
0.622773
0.622773
0.605345
0.605345
0
0.01259
0.153944
3,943
99
104
39.828283
0.761391
0
0
0.37037
0
0
0.420238
0.203398
0
0
0
0
0.345679
1
0.111111
false
0
0.074074
0
0.197531
0
0
0
0
null
0
0
0
0
0
0
0
0
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
1
0840e1f2cca91c8f40fea1035d91f9ed0ea2c8f1
15,552
py
Python
lambda_functions.py
intirix/serverless-secrets-manager
2c89b2c497f7078c38885125dfa79db944a214db
[ "Apache-2.0" ]
2
2018-05-23T06:04:13.000Z
2020-11-04T23:16:09.000Z
lambda_functions.py
intirix/serverless-secrets-manager
2c89b2c497f7078c38885125dfa79db944a214db
[ "Apache-2.0" ]
null
null
null
lambda_functions.py
intirix/serverless-secrets-manager
2c89b2c497f7078c38885125dfa79db944a214db
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import system import db import client import server import logging import json import base64 import os from aws_xray_sdk.core import patch_all if "AWS_REGION" in os.environ: patch_all() class LambdaCommon: def __init__(self, ddb_client=None): self.log = logging.getLogger("Lambda")...
29.622857
84
0.600244
1,676
15,552
5.49284
0.102625
0.119922
0.050511
0.036498
0.703237
0.69748
0.682381
0.669889
0.654573
0.630241
0
0.024065
0.267876
15,552
524
85
29.679389
0.784472
0.003215
0
0.633178
0
0
0.160839
0.030774
0
0
0
0
0
1
0.053738
false
0.002336
0.021028
0.002336
0.343458
0.002336
0
0
0
null
0
0
0
0
0
0
0
0
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
1
08418a8370fcf775a2fd7e29466ecc715efe0e4f
2,575
py
Python
tests/utils_test.py
asrashley/dash-live
1ffbc57896e4e46855a42af6ef79a1865ebfce55
[ "Apache-2.0" ]
2
2019-11-02T06:26:29.000Z
2020-05-15T16:54:20.000Z
tests/utils_test.py
asrashley/dash-live
1ffbc57896e4e46855a42af6ef79a1865ebfce55
[ "Apache-2.0" ]
1
2020-01-20T17:20:54.000Z
2020-01-21T08:38:30.000Z
tests/utils_test.py
asrashley/dash-live
1ffbc57896e4e46855a42af6ef79a1865ebfce55
[ "Apache-2.0" ]
null
null
null
try: import cStringIO as StringIO except ImportError: import StringIO import datetime import os import sys import unittest _src = os.path.join(os.path.dirname(__file__),"..", "src") if not _src in sys.path: sys.path.append(_src) import utils class DateTimeTests(unittest.TestCase): def test_isoforma...
35.763889
97
0.597282
337
2,575
4.468843
0.362018
0.099602
0.063745
0.029216
0.21846
0.205843
0.179283
0.13413
0.095618
0.095618
0
0.087838
0.252816
2,575
71
98
36.267606
0.694906
0.041165
0
0.180328
0
0
0.070183
0.009736
0
0
0.001623
0
0.196721
1
0.032787
false
0
0.131148
0
0.196721
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
08432f03ae4911f91726c50919d96811876b71c7
9,364
py
Python
midv500/download_dataset.py
fcakyon/midv500-to-coco
2f1cd74e0bb8da2301a96e3fb0cd9f17005ed08c
[ "MIT" ]
39
2020-05-15T17:34:32.000Z
2022-03-25T08:22:47.000Z
midv500/download_dataset.py
fcakyon/midv500-to-coco
2f1cd74e0bb8da2301a96e3fb0cd9f17005ed08c
[ "MIT" ]
1
2020-08-04T09:04:06.000Z
2020-08-19T12:50:15.000Z
midv500/download_dataset.py
fcakyon/midv500-to-coco
2f1cd74e0bb8da2301a96e3fb0cd9f17005ed08c
[ "MIT" ]
6
2020-04-23T19:40:16.000Z
2021-12-19T17:52:42.000Z
import os import argparse from midv500.utils import download, unzip midv500_links = [ "ftp://smartengines.com/midv-500/dataset/01_alb_id.zip", "ftp://smartengines.com/midv-500/dataset/02_aut_drvlic_new.zip", "ftp://smartengines.com/midv-500/dataset/03_aut_id_old.zip", "ftp://smartengines.com/midv-500/d...
54.127168
90
0.705788
1,390
9,364
4.571223
0.133094
0.11237
0.283286
0.346239
0.839156
0.82751
0.822002
0.8209
0.8209
0.81492
0
0.099589
0.117471
9,364
172
91
54.44186
0.669288
0.041756
0
0.047945
0
0.342466
0.76732
0.738668
0
0
0
0
0
1
0.006849
false
0.219178
0.020548
0
0.027397
0.034247
0
0
0
null
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
12
0845053b64f5370f1498b8e4729e90a827f0c839
6,329
py
Python
erpnext_taxjar/api.py
DigiThinkIT/erpnext_taxjar
5313dbdd931745e9655d3f5fd53c830abb0d7ee7
[ "MIT" ]
null
null
null
erpnext_taxjar/api.py
DigiThinkIT/erpnext_taxjar
5313dbdd931745e9655d3f5fd53c830abb0d7ee7
[ "MIT" ]
8
2017-07-01T11:13:14.000Z
2020-11-19T13:26:29.000Z
erpnext_taxjar/api.py
DigiThinkIT/erpnext_taxjar
5313dbdd931745e9655d3f5fd53c830abb0d7ee7
[ "MIT" ]
13
2017-06-30T15:47:00.000Z
2022-02-22T16:24:41.000Z
import traceback import pycountry import taxjar import frappe from erpnext import get_default_company from frappe import _ from frappe.contacts.doctype.address.address import get_company_address TAX_ACCOUNT_HEAD = frappe.db.get_single_value("TaxJar Settings", "tax_account_head") SHIP_ACCOUNT_HEAD = frappe.db.get_sin...
26.931915
133
0.746721
927
6,329
4.848975
0.199569
0.044049
0.046719
0.034038
0.322358
0.249166
0.241824
0.194883
0.194883
0.173971
0
0.001676
0.151367
6,329
234
134
27.047009
0.835226
0.123084
0
0.297468
0
0
0.137308
0.026378
0
0
0
0
0
1
0.063291
false
0.006329
0.044304
0
0.208861
0.006329
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
08453ede8c646dbf40688a3665092cf3d4f4e359
3,543
py
Python
tests/lib_test.py
grundrauschen/center-points
5a12f68ac012a0a2bf52d8a8381d0272e309ac18
[ "MIT" ]
null
null
null
tests/lib_test.py
grundrauschen/center-points
5a12f68ac012a0a2bf52d8a8381d0272e309ac18
[ "MIT" ]
2
2015-06-03T10:57:13.000Z
2015-09-15T12:43:22.000Z
tests/lib_test.py
fu-berlin-swp-2014/center-points
0fa523314a3168d4d229b6f61d0d05d314a8b35a
[ "MIT" ]
null
null
null
import unittest import numpy as np import numpy.testing as nptest import centerpoints.lib as lib class TestLibrary(unittest.TestCase): def setUp(self): # { dimension -> points } self.d_plus_2_points = {} for d in [3, 5, 10, 100]: # we need d+2 points, first take all bases ...
36.90625
76
0.519616
444
3,543
3.941441
0.195946
0.016
0.015429
0.011429
0.322857
0.276
0.133143
0.128571
0.128571
0.128571
0
0.043848
0.369179
3,543
95
77
37.294737
0.73915
0.05899
0
0.202899
0
0
0
0
0
0
0
0
0.173913
1
0.072464
false
0
0.057971
0
0.144928
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
084547589496d6e3bddafc72879279f994ed30e1
711
py
Python
genome-experimentation/cleaning-genome-data.py
shivamsyal/summer21
68cdcae1524e720066e57baa190f15477b69515a
[ "MIT" ]
null
null
null
genome-experimentation/cleaning-genome-data.py
shivamsyal/summer21
68cdcae1524e720066e57baa190f15477b69515a
[ "MIT" ]
null
null
null
genome-experimentation/cleaning-genome-data.py
shivamsyal/summer21
68cdcae1524e720066e57baa190f15477b69515a
[ "MIT" ]
2
2022-01-10T18:16:18.000Z
2022-03-20T01:17:28.000Z
# test comment import os filename = input("File to format: ") os.system("gunzip "+filename) n = int(input("What number genome is this? ")) os.system("mv "+filename[:-3]+" genome"+str(n)+".fna") original = "genome"+str(n)+".fna" copy = "genome"+str(n)+"_copy.fna" filtered = "genome"+str(n)+"_filtered.fna" rem = ['>'] wi...
30.913043
54
0.624473
119
711
3.714286
0.453782
0.081448
0.090498
0.058824
0
0
0
0
0
0
0
0.006826
0.175809
711
22
55
32.318182
0.74744
0.016878
0
0
0
0
0.164993
0
0
0
0
0
0
1
0
false
0
0.047619
0
0.047619
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
084592c05031adcf4e22889393a72a2880d58eb8
758
py
Python
villas/controller/components/managers/generic.py
VILLASframework/VILLAScontroller
e672439797f209afdd5bc62078f7d49c60269aa4
[ "Apache-2.0" ]
null
null
null
villas/controller/components/managers/generic.py
VILLASframework/VILLAScontroller
e672439797f209afdd5bc62078f7d49c60269aa4
[ "Apache-2.0" ]
null
null
null
villas/controller/components/managers/generic.py
VILLASframework/VILLAScontroller
e672439797f209afdd5bc62078f7d49c60269aa4
[ "Apache-2.0" ]
null
null
null
from villas.controller.components.manager import Manager from villas.controller.component import Component class GenericManager(Manager): def create(self, payload): component = Component.from_dict(payload.get('parameters')) try: self.add_component(component) except KeyError: ...
28.074074
76
0.62533
81
758
5.814815
0.432099
0.042463
0.084926
0.101911
0.123142
0
0
0
0
0
0
0
0.283641
758
26
77
29.153846
0.867403
0
0
0.222222
0
0
0.135884
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.277778
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
0845d2588d5c55abf24f9ab405009bd284d758d8
833
py
Python
tests/test_composition.py
gregorynicholas/proto-pigeon
65a5d961e7a8506f3a968b21aaf68f625fd13190
[ "Apache-2.0" ]
null
null
null
tests/test_composition.py
gregorynicholas/proto-pigeon
65a5d961e7a8506f3a968b21aaf68f625fd13190
[ "Apache-2.0" ]
null
null
null
tests/test_composition.py
gregorynicholas/proto-pigeon
65a5d961e7a8506f3a968b21aaf68f625fd13190
[ "Apache-2.0" ]
null
null
null
from protorpc.messages import Message, IntegerField, StringField import protopigeon class MessageOne(Message): one = IntegerField(1) two = IntegerField(2) class MessageTwo(Message): three = StringField(1) four = StringField(2) def test(): ComposedMessage = protopigeon.compose(MessageOne, Messa...
23.138889
65
0.686675
89
833
6.426966
0.359551
0.090909
0.195804
0
0
0
0
0
0
0
0
0.015314
0.216086
833
35
66
23.8
0.860643
0.046819
0
0
0
0
0.030303
0
0
0
0
0
0.375
1
0.041667
false
0
0.083333
0
0.375
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
0
0
0
0
0
0
0
0
1
0846011f39bb03a7af3bf569426365af42543fe1
1,503
py
Python
udacity-program_self_driving_car_engineer_v2.0/module02-computer vision/exercise02-data acquisiton and visualization/visualization.py
linksdl/futuretec-project-self_driving_cars_projects
38e8f14543132ec86a8bada8d708eefaef23fee8
[ "MIT" ]
null
null
null
udacity-program_self_driving_car_engineer_v2.0/module02-computer vision/exercise02-data acquisiton and visualization/visualization.py
linksdl/futuretec-project-self_driving_cars_projects
38e8f14543132ec86a8bada8d708eefaef23fee8
[ "MIT" ]
null
null
null
udacity-program_self_driving_car_engineer_v2.0/module02-computer vision/exercise02-data acquisiton and visualization/visualization.py
linksdl/futuretec-project-self_driving_cars_projects
38e8f14543132ec86a8bada8d708eefaef23fee8
[ "MIT" ]
null
null
null
""" # !/usr/bin/env python # -*- coding: utf-8 -*- @Time : 2022/2/23 19:35 @Author : shengdl999links@gmail.com @ProjectName : udacity-program_self_driving_car_engineer_v1.0_source.0 @File : visualization.py """ import glob import os.path import matplotlib.pyplot as plt from matplotlib.patches import ...
25.05
98
0.594145
218
1,503
3.958716
0.53211
0.076477
0.013905
0
0
0
0
0
0
0
0
0.04529
0.265469
1,503
59
99
25.474576
0.736413
0.27678
0
0
0
0
0.048387
0
0
0
0
0
0
1
0.032258
false
0
0.193548
0
0.225806
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
084746dfc5f458e9131b1743d5567db36da8ab9c
898
py
Python
setup.py
georgenicolaou/python-fakeports
24eecf879e0d2d2a100be06952fb3677019457e2
[ "MIT" ]
3
2020-02-03T08:25:10.000Z
2021-09-29T15:59:01.000Z
setup.py
georgenicolaou/python-fakeports
24eecf879e0d2d2a100be06952fb3677019457e2
[ "MIT" ]
2
2021-01-18T19:27:44.000Z
2021-01-18T19:27:44.000Z
setup.py
georgenicolaou/python-fakeports
24eecf879e0d2d2a100be06952fb3677019457e2
[ "MIT" ]
null
null
null
from setuptools import setup long_description = 'TODO' # with open("README.md", "r") as rfd: # long_description = rfd.read() REQUIREMENTS = [r.strip() for r in open("requirements.txt").readlines()] setup( name='python-fakeports', version="0.1", packages=['python_fakeports'], url='', license='G...
28.967742
72
0.644766
99
898
5.767677
0.69697
0.105079
0
0
0
0
0
0
0
0
0
0.004132
0.191537
898
30
73
29.933333
0.782369
0.076837
0
0
0
0
0.416465
0
0
0
0
0
0
1
0
false
0
0.038462
0
0.038462
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
08483d8175b8bd82d7534d3c981f5d1467884db2
195
py
Python
darzalib/Incoming/__init__.py
swrlly/Midnight
b4375002761a13a09a6c3085e9b34384b28227ba
[ "MIT" ]
2
2021-11-18T13:38:52.000Z
2021-11-19T04:15:24.000Z
darzalib/Incoming/__init__.py
swrlly/Midnight
b4375002761a13a09a6c3085e9b34384b28227ba
[ "MIT" ]
null
null
null
darzalib/Incoming/__init__.py
swrlly/Midnight
b4375002761a13a09a6c3085e9b34384b28227ba
[ "MIT" ]
null
null
null
from .BiomeDisplay import BiomeDisplay from .Chats import Chats from .PlayEffect import PlayEffect from .Reconnect import Reconnect from .SwapAck import SwapAck from .UseItemAck import UseItemAck
32.5
38
0.851282
24
195
6.916667
0.333333
0
0
0
0
0
0
0
0
0
0
0
0.117949
195
6
39
32.5
0.965116
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
5
08486cbf36ba6ba189128910a8b98a815a664466
938
py
Python
python/17_letter_combinations_of_a_phone_number.py
dchapp/blind75
aaa409cf2db4ef6d0f86177f4217eceeb391caa8
[ "MIT" ]
null
null
null
python/17_letter_combinations_of_a_phone_number.py
dchapp/blind75
aaa409cf2db4ef6d0f86177f4217eceeb391caa8
[ "MIT" ]
null
null
null
python/17_letter_combinations_of_a_phone_number.py
dchapp/blind75
aaa409cf2db4ef6d0f86177f4217eceeb391caa8
[ "MIT" ]
null
null
null
num_to_letters = { '2': ['a', 'b', 'c'], '3': ['d', 'e', 'f'], '4': ['g', 'h', 'i'], '5': ['j', 'k', 'l'], '6': ['m', 'n', 'o'], '7': ['p', 'q', 'r', 's'], '8': ['t', 'u', 'v'], '9': ['w', 'x', 'y', 'z'], } class Solution: def letterCombinations(self,...
28.424242
65
0.410448
108
938
3.453704
0.583333
0.107239
0.112601
0.107239
0
0
0
0
0
0
0
0.022807
0.392324
938
32
66
29.3125
0.631579
0
0
0
0
0
0.036247
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.259259
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
084d1fd01b6f648a85848dd0310b96b0d8966a0e
651
py
Python
yotta/options/registry.py
microbit-foundation/yotta
82d854b43d391abb5a006b05e7beffe7d0d6ffbf
[ "Apache-2.0" ]
176
2015-01-02T07:31:59.000Z
2022-03-21T12:40:02.000Z
yotta/options/registry.py
microbit-foundation/yotta
82d854b43d391abb5a006b05e7beffe7d0d6ffbf
[ "Apache-2.0" ]
549
2015-01-05T16:19:54.000Z
2021-01-15T13:46:42.000Z
yotta/options/registry.py
microbit-foundation/yotta
82d854b43d391abb5a006b05e7beffe7d0d6ffbf
[ "Apache-2.0" ]
84
2015-01-10T21:01:00.000Z
2022-03-24T16:04:42.000Z
# Copyright 2014-2015 ARM Limited # # Licensed under the Apache License, Version 2.0 # See LICENSE file for details. # standard library options from argparse import Action, SUPPRESS class RegistryAction(Action): def __init__(self, *args, **kwargs): kwargs['nargs'] = 1 self.dest = kwargs['dest'] ...
27.125
70
0.680492
77
651
5.571429
0.649351
0.04662
0
0
0
0
0
0
0
0
0
0.023077
0.201229
651
23
71
28.304348
0.801923
0.204301
0
0
0
0
0.052734
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0
0.384615
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
084edafd90972abf12ce9cf828ac494b0afdd467
4,453
py
Python
src/pybraingym/environment.py
anetczuk/pybraingym
4f930021d7802e88c75a1a0aed135dd4de66cc1b
[ "MIT" ]
null
null
null
src/pybraingym/environment.py
anetczuk/pybraingym
4f930021d7802e88c75a1a0aed135dd4de66cc1b
[ "MIT" ]
null
null
null
src/pybraingym/environment.py
anetczuk/pybraingym
4f930021d7802e88c75a1a0aed135dd4de66cc1b
[ "MIT" ]
null
null
null
# MIT License # # Copyright (c) 2019 Arkadiusz Netczuk <dev.arnet@gmail.com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # t...
32.50365
104
0.651246
511
4,453
5.636008
0.348337
0.045139
0.032986
0.017708
0.119792
0.086806
0.086806
0.054167
0.054167
0.054167
0
0.002978
0.245902
4,453
136
105
32.742647
0.854675
0.355042
0
0.142857
0
0
0
0
0
0
0
0
0
1
0.233766
false
0
0.025974
0.051948
0.402597
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
084eddbd29309d0a8c29e8b0baeae41ed4f83c9f
7,420
py
Python
logicscen.py
exposit/pythia-oracle
60e4e806c9ed1627f2649822ab1901d28933daac
[ "MIT" ]
32
2016-08-27T01:31:42.000Z
2022-03-21T08:59:28.000Z
logicscen.py
exposit/pythia-oracle
60e4e806c9ed1627f2649822ab1901d28933daac
[ "MIT" ]
3
2016-08-27T00:51:47.000Z
2019-08-26T13:23:04.000Z
logicscen.py
exposit/pythia-oracle
60e4e806c9ed1627f2649822ab1901d28933daac
[ "MIT" ]
10
2016-08-28T14:14:41.000Z
2021-03-18T03:24:22.000Z
#!/usr/bin/env python #-*- coding: utf-8 -*- #--------------------------------------------------------------------------------------------------- # --> Logic to handle scenarios #--------------------------------------------------------------------------------------------------- import imports from imports import * imp...
27.279412
119
0.508491
728
7,420
5.151099
0.171703
0.0448
0.0504
0.034667
0.5064
0.4888
0.4816
0.4096
0.378933
0.355467
0
0.00902
0.327628
7,420
271
120
27.380074
0.742634
0.053774
0
0.569307
0
0
0.073741
0.013408
0.004951
0
0
0
0
1
0.029703
false
0.044554
0.024752
0
0.064356
0.004951
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
0850f9781ec228546bf41eccc932a22fd036e4a8
7,980
py
Python
datyy/views/projects.py
VladimirSiv/datyy
4f3b54557850212ca3ce4c0d16cd56eb9989d7c4
[ "MIT" ]
null
null
null
datyy/views/projects.py
VladimirSiv/datyy
4f3b54557850212ca3ce4c0d16cd56eb9989d7c4
[ "MIT" ]
null
null
null
datyy/views/projects.py
VladimirSiv/datyy
4f3b54557850212ca3ce4c0d16cd56eb9989d7c4
[ "MIT" ]
null
null
null
import dash import dash_html_components as html import dash_bootstrap_components as dbc import numpy as np from server import app from dash.dependencies import Input, Output, State from dash.exceptions import PreventUpdate from components.cards import simple_info_card from components.dropdowns import dropdown_single fr...
28.098592
90
0.52193
764
7,980
5.328534
0.175393
0.025547
0.023581
0.023581
0.355687
0.336281
0.283468
0.226234
0.125031
0.067305
0
0.005659
0.37995
7,980
283
91
28.19788
0.817098
0.180827
0
0.378378
0
0
0.150685
0.010513
0
0
0
0
0
1
0.032432
false
0
0.086486
0
0.156757
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
08540bf2ac8cadc1cf3900bd14a8f79f2ba8831e
146
py
Python
week-02/appendA.py
norbertbodo91/pythonExercises
9cd773c5d6ce3280d19a84ef12b8fd478ff09613
[ "MIT" ]
null
null
null
week-02/appendA.py
norbertbodo91/pythonExercises
9cd773c5d6ce3280d19a84ef12b8fd478ff09613
[ "MIT" ]
null
null
null
week-02/appendA.py
norbertbodo91/pythonExercises
9cd773c5d6ce3280d19a84ef12b8fd478ff09613
[ "MIT" ]
null
null
null
def appendA(toAppend): newWord = toAppend + 'a' return newWord print(appendA(toAppend = raw_input("Enter a word to add an A letter: ")))
24.333333
73
0.684932
21
146
4.714286
0.714286
0.30303
0
0
0
0
0
0
0
0
0
0
0.19863
146
5
74
29.2
0.846154
0
0
0
0
0
0.232877
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
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
1
0
0
0
0
0
0
0
4
085550c02672da4291f033dfdf10337c089c2aa8
16,119
py
Python
multiacctcf.py
DonMills/multiacct-CF-orchestrate
4acce3c984c1801ff66cf9d210e3a0d1a6f9246b
[ "MIT" ]
11
2017-07-19T07:05:44.000Z
2022-02-07T19:35:51.000Z
multiacctcf.py
DonMills/multiacct-CF-orchestrate
4acce3c984c1801ff66cf9d210e3a0d1a6f9246b
[ "MIT" ]
null
null
null
multiacctcf.py
DonMills/multiacct-CF-orchestrate
4acce3c984c1801ff66cf9d210e3a0d1a6f9246b
[ "MIT" ]
2
2017-07-19T15:01:52.000Z
2022-02-07T19:35:53.000Z
#!/usr/bin/python from __future__ import print_function import threading import boto3 import botocore import argparse from time import ctime ############### # Some Global Vars ############## lock = threading.Lock() awsaccts = [{'acct': 'acct1ID', 'name': 'master', 'cffile': 'location of clou...
39.70197
179
0.470749
1,463
16,119
5.138756
0.20164
0.026337
0.013966
0.033653
0.415137
0.361798
0.340516
0.301809
0.216547
0.196329
0
0.004021
0.382902
16,119
405
180
39.8
0.751784
0.051182
0
0.405882
0
0.020588
0.254067
0.004549
0
0
0
0
0
1
0.011765
false
0
0.017647
0
0.029412
0.117647
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
085769a397608c592ac48390d3b4d6b67aae08eb
882
py
Python
NIM/tests/woa_test.py
buctlab/source-seeking-multi-robot-team-simulator
a68c214b9bd19006a94c0adc832681bbaf0d6dc8
[ "Apache-2.0" ]
null
null
null
NIM/tests/woa_test.py
buctlab/source-seeking-multi-robot-team-simulator
a68c214b9bd19006a94c0adc832681bbaf0d6dc8
[ "Apache-2.0" ]
null
null
null
NIM/tests/woa_test.py
buctlab/source-seeking-multi-robot-team-simulator
a68c214b9bd19006a94c0adc832681bbaf0d6dc8
[ "Apache-2.0" ]
null
null
null
import os from Config import Config from NIM.algorithms import WhaleOptimizationAlgorithm from NIM.algorithms.algorithm import logger if __name__ == '__main__': with open(Config.default_saved_scene_path, 'r') as f: data = f.read() m2d = eval(data) seed = 5 woa = WhaleOptimizationAlgorithm(m2...
36.75
119
0.675737
115
882
4.895652
0.530435
0.0373
0.060391
0
0
0
0
0
0
0
0
0.004335
0.21542
882
23
120
38.347826
0.809249
0
0
0
0
0
0.091837
0.043084
0
0
0
0
0
1
0
false
0
0.235294
0
0.235294
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
085893c679735b22d323d01a1e71583ba759cc3a
6,242
py
Python
src/COVIDZejunDatagraphs.py
luisflores0330/ista131final
168ac6afe666e945ae717387b50420804b33c4f3
[ "Apache-2.0" ]
null
null
null
src/COVIDZejunDatagraphs.py
luisflores0330/ista131final
168ac6afe666e945ae717387b50420804b33c4f3
[ "Apache-2.0" ]
null
null
null
src/COVIDZejunDatagraphs.py
luisflores0330/ista131final
168ac6afe666e945ae717387b50420804b33c4f3
[ "Apache-2.0" ]
4
2021-12-07T21:44:31.000Z
2021-12-07T23:20:04.000Z
''' File: COVIDZejunDatagraphs.py Author: Zejun Li Purpose: This file contains 12 different functions to make 5 different graphs about the COVID 19 in Idaho ''' import pandas as pd, numpy as np, matplotlib.pyplot as plt import matplotlib.dates as mdates import datetime import datetime as dt def get_df(): ...
33.026455
187
0.603172
975
6,242
3.740513
0.206154
0.03071
0.019742
0.039485
0.610913
0.525363
0.489443
0.46312
0.378942
0.349328
0
0.029196
0.237264
6,242
188
188
33.202128
0.73682
0.165812
0
0.376
0
0
0.178499
0.040145
0
0
0
0
0
1
0.096
false
0
0.032
0.008
0.168
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
0858b5bc59305248e9f97a28c217e52f4157d9b4
1,118
py
Python
tests/test_pipeline_disk_deduplication.py
kingking888/skyscraper
d710202f9581c3791d2cf7ee3ae33e950e46c0b7
[ "MIT" ]
1
2021-03-21T07:25:43.000Z
2021-03-21T07:25:43.000Z
tests/test_pipeline_disk_deduplication.py
kingking888/skyscraper
d710202f9581c3791d2cf7ee3ae33e950e46c0b7
[ "MIT" ]
null
null
null
tests/test_pipeline_disk_deduplication.py
kingking888/skyscraper
d710202f9581c3791d2cf7ee3ae33e950e46c0b7
[ "MIT" ]
1
2021-04-24T11:38:18.000Z
2021-04-24T11:38:18.000Z
import pytest import json import datetime from scrapy.spiders import Spider import scrapy.exceptions from skyscraper.items import BasicItem from scrapy.exceptions import DropItem from skyscraper.pipelines.filesystem import DiskDeduplicationPipeline class MockDeduplication(): def __init__(self): self.s =...
24.304348
74
0.686047
137
1,118
5.510949
0.416058
0.019868
0.075497
0.091391
0.303311
0.188079
0.188079
0.111258
0.111258
0
0
0.001117
0.199463
1,118
45
75
24.844444
0.842458
0.073345
0
0.3
0
0
0.121124
0
0
0
0
0
0
1
0.133333
false
0
0.266667
0.033333
0.466667
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
08597f4873dfad388e0eb75f921c519b7373d12a
180
py
Python
windscribe/__init__.py
Dayzpd/Python-Windscribe
eaaca7b39286434ec8588c967076f0b5b9961d91
[ "MIT" ]
9
2020-09-17T19:42:18.000Z
2022-01-04T07:14:37.000Z
windscribe/__init__.py
Dayzpd/Python-Windscribe
eaaca7b39286434ec8588c967076f0b5b9961d91
[ "MIT" ]
4
2020-10-28T16:22:54.000Z
2022-01-04T07:13:18.000Z
windscribe/__init__.py
Dayzpd/Python-Windscribe
eaaca7b39286434ec8588c967076f0b5b9961d91
[ "MIT" ]
4
2020-12-11T11:13:27.000Z
2022-01-16T02:40:55.000Z
__all__ = [ 'account', 'connect', 'locations', 'login', 'logout', ] from .windscribe import ( account, connect, locations, login, logout, )
12
25
0.527778
14
180
6.5
0.642857
0.307692
0.505495
0.615385
0.747253
0
0
0
0
0
0
0
0.327778
180
15
26
12
0.752066
0
0
0
0
0
0.187845
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0
1
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
0
0
0
4
085a588c3443a2133c8229f5612a92a5ee522cad
335
py
Python
src/videos/migrations/0009_rename_updated_timestamp_video_updated.py
imsubhamsingh/vibeon
5ea67bb8dae0a0c28d36f81374eb4f046d842cf5
[ "Apache-2.0" ]
null
null
null
src/videos/migrations/0009_rename_updated_timestamp_video_updated.py
imsubhamsingh/vibeon
5ea67bb8dae0a0c28d36f81374eb4f046d842cf5
[ "Apache-2.0" ]
2
2021-07-19T18:41:46.000Z
2022-02-10T11:43:07.000Z
src/videos/migrations/0009_rename_updated_timestamp_video_updated.py
imsubhamsingh/vibeon
5ea67bb8dae0a0c28d36f81374eb4f046d842cf5
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.2 on 2021-04-20 19:34 from django.db import migrations class Migration(migrations.Migration): dependencies = [("videos", "0008_video_updated_timestamp")] operations = [ migrations.RenameField( model_name="video", old_name="updated_timestamp", new_name="updated" ...
22.333333
80
0.674627
39
335
5.615385
0.74359
0.146119
0
0
0
0
0
0
0
0
0
0.068441
0.214925
335
14
81
23.928571
0.764259
0.128358
0
0
1
0
0.217241
0.096552
0
0
0
0
0
1
0
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
085b597e5e9aaf7c138a4db4c8f8739331aa2a66
2,342
py
Python
SVM/SVM_Regression/Sklearn_SVM_Regression.py
Jojoxiao/Machine-Learning-for-Beginner-by-Python3
71b91c9cba5803bd78d4d31be6dabb1d3989e968
[ "MIT" ]
397
2018-05-28T02:07:32.000Z
2022-03-30T09:53:37.000Z
SVM/SVM_Regression/Sklearn_SVM_Regression.py
976634681/Machine-Learning-for-Beginner-by-Python3
d9effcbb1b390dc608a0f4c0a28f0ad03892047a
[ "MIT" ]
4
2019-01-14T16:41:02.000Z
2021-03-11T13:23:06.000Z
SVM/SVM_Regression/Sklearn_SVM_Regression.py
976634681/Machine-Learning-for-Beginner-by-Python3
d9effcbb1b390dc608a0f4c0a28f0ad03892047a
[ "MIT" ]
235
2018-06-28T05:31:40.000Z
2022-03-11T03:20:07.000Z
# -*- coding:utf-8 -*- # &Author AnFany # 利用Sklearn包实现支持核函数回归 """ 第一部分:引入库 """ # 引入部分的北京PM2.5数据 import SVM_Regression_Data as rdata # 引入库包 from sklearn import svm import numpy as np import matplotlib.pyplot as plt from pylab import mpl mpl.rcParams['font.sans-serif'] = ['FangSong'] # 中文字体名称 mpl...
22.519231
101
0.557643
344
2,342
3.75
0.40407
0.046512
0.037209
0.031008
0.217054
0.20155
0.104651
0.05969
0.05969
0.045736
0
0.035493
0.242101
2,342
103
102
22.737864
0.691268
0.085824
0
0.044444
0
0
0.064767
0
0
0
0
0
0
1
0.066667
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
085b8a0758f970cf513eb9555d20e921de2dbc2f
1,655
py
Python
tests/test_history.py
dfroger/conda
c0f99ff46b217d081501e66f4dcd7bcdb5d9c6aa
[ "BSD-3-Clause" ]
null
null
null
tests/test_history.py
dfroger/conda
c0f99ff46b217d081501e66f4dcd7bcdb5d9c6aa
[ "BSD-3-Clause" ]
null
null
null
tests/test_history.py
dfroger/conda
c0f99ff46b217d081501e66f4dcd7bcdb5d9c6aa
[ "BSD-3-Clause" ]
null
null
null
from os.path import dirname import unittest from .decorators import skip_if_no_mock from .helpers import mock from conda import history class HistoryTestCase(unittest.TestCase): def test_works_as_context_manager(self): h = history.History("/path/to/prefix") self.assertTrue(getattr(h, '__enter__'...
31.826923
73
0.590937
200
1,655
4.65
0.365
0.045161
0.064516
0.03871
0.272043
0.272043
0.155914
0.122581
0.122581
0.122581
0
0.031987
0.282175
1,655
51
74
32.45098
0.750842
0
0
0.128205
0
0
0.123263
0
0
0
0
0
0.205128
1
0.153846
false
0.025641
0.128205
0
0.384615
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
085dd2a204aa1776b398919049eef21372b1d7e4
107
py
Python
src/zojax/catalog/tests/__init__.py
Zojax/zojax.catalog
1be9ef2cd4516d6c1dcfe7da52c4d438852e7ea6
[ "ZPL-2.1" ]
null
null
null
src/zojax/catalog/tests/__init__.py
Zojax/zojax.catalog
1be9ef2cd4516d6c1dcfe7da52c4d438852e7ea6
[ "ZPL-2.1" ]
null
null
null
src/zojax/catalog/tests/__init__.py
Zojax/zojax.catalog
1be9ef2cd4516d6c1dcfe7da52c4d438852e7ea6
[ "ZPL-2.1" ]
null
null
null
# This file is necessary to make this directory a package. from zojax.catalog.catalog import queryCatalog
26.75
58
0.813084
16
107
5.4375
0.875
0
0
0
0
0
0
0
0
0
0
0
0.149533
107
3
59
35.666667
0.956044
0.523364
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
5
085e0152d8a979274c20816965dae9f9c36f8c65
6,066
py
Python
src/bpp/views/raporty/ranking_autorow.py
iplweb/django-bpp
85f183a99d8d5027ae4772efac1e4a9f21675849
[ "BSD-3-Clause" ]
1
2017-04-27T19:50:02.000Z
2017-04-27T19:50:02.000Z
src/bpp/views/raporty/ranking_autorow.py
mpasternak/django-bpp
434338821d5ad1aaee598f6327151aba0af66f5e
[ "BSD-3-Clause" ]
41
2019-11-07T00:07:02.000Z
2022-02-27T22:09:39.000Z
src/bpp/views/raporty/ranking_autorow.py
iplweb/bpp
f027415cc3faf1ca79082bf7bacd4be35b1a6fdf
[ "BSD-3-Clause" ]
null
null
null
# -*- encoding: utf-8 -*- import itertools try: from django.core.urlresolvers import reverse except ImportError: from django.urls import reverse from django.db.models.aggregates import Sum from django.template.defaultfilters import safe from django.utils.functional import cached_property from django_tables2 im...
32.612903
88
0.616716
663
6,066
5.392157
0.260935
0.026853
0.033566
0.017902
0.141259
0.085874
0.043636
0.024056
0.024056
0
0
0.001817
0.274151
6,066
185
89
32.789189
0.810129
0.003792
0
0.18543
0
0
0.13905
0.008442
0
0
0
0
0
1
0.072848
false
0.006623
0.086093
0.033113
0.337748
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
f22aabe1afa4a1593594ef47c8110872cb757c3c
16,701
py
Python
client-lib/pypi/nsrr/nsrr.py
nsrr/nsrr-cloud
a1e33bc3ba3220600e8b1973882d2ed76a7277c6
[ "MIT" ]
null
null
null
client-lib/pypi/nsrr/nsrr.py
nsrr/nsrr-cloud
a1e33bc3ba3220600e8b1973882d2ed76a7277c6
[ "MIT" ]
null
null
null
client-lib/pypi/nsrr/nsrr.py
nsrr/nsrr-cloud
a1e33bc3ba3220600e8b1973882d2ed76a7277c6
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import requests from requests.structures import CaseInsensitiveDict import json import getpass from pathlib import Path import hashlib import pandas as pd import gzip from multiprocessing import Process # Global variables #API_SERVER='https://dev-cloud.sleepdata.org/api/v1' API_SERVER='https://clo...
42.496183
163
0.598946
2,109
16,701
4.519678
0.105737
0.05193
0.030214
0.033991
0.619597
0.572073
0.511855
0.456567
0.439677
0.415653
0
0.009641
0.285791
16,701
393
164
42.496183
0.789487
0.011257
0
0.509804
0
0.016807
0.176834
0.001454
0
0
0
0
0
1
0.047619
false
0.008403
0.02521
0
0.148459
0.151261
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
f22b087ab319568e891a7406ef151ad2f4d6b818
509
py
Python
assignment2.py
talsperre/random-walk
5c810f571c9de28926850e1ad70ff4c29df9c0f4
[ "MIT" ]
null
null
null
assignment2.py
talsperre/random-walk
5c810f571c9de28926850e1ad70ff4c29df9c0f4
[ "MIT" ]
null
null
null
assignment2.py
talsperre/random-walk
5c810f571c9de28926850e1ad70ff4c29df9c0f4
[ "MIT" ]
null
null
null
import numpy as np N = 100 R = 10000 R_range = range(R) size = (N, 3) C = np.zeros((N, 3)) k = 1 print ("100") print ("STEP: ", k) for i in range(N): print ("He ", C[i, 0], " ", C[i, 1], " ", C[i, 2]) k += 1 for j in range(R): A = np.random.uniform(-1, 1, size) B = np.sum(np.multiply(A, A), axis=1) B = np.sqrt(B)...
18.851852
53
0.489194
109
509
2.256881
0.330275
0.04878
0.105691
0.138211
0.390244
0.390244
0.390244
0.390244
0.390244
0.390244
0
0.084656
0.257367
509
27
54
18.851852
0.566138
0
0
0.4
0
0
0.054902
0
0
0
0
0
0
1
0
false
0
0.04
0
0.04
0.24
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
f22fac0a3ced91e4e4e5768a9d363783d0f24bd3
1,462
py
Python
parallel/images_common.py
minrk/ipython-cse17
16a9059c7054a8bd4977a3cb8b09c100ea779069
[ "BSD-3-Clause" ]
3
2017-03-02T07:11:37.000Z
2017-03-03T06:13:32.000Z
parallel/images_common.py
minrk/ipython-cse17
16a9059c7054a8bd4977a3cb8b09c100ea779069
[ "BSD-3-Clause" ]
null
null
null
parallel/images_common.py
minrk/ipython-cse17
16a9059c7054a8bd4977a3cb8b09c100ea779069
[ "BSD-3-Clause" ]
null
null
null
import os import matplotlib.pyplot as plt from skimage.io import imread def plot_corners(img, corners, show=True): """Display the image and plot all contours found""" plt.imshow(img, cmap='gray') plt.plot(corners[:,1], corners[:,0], 'r+', markeredgewidth=1.5, markersize=8) # Plot corners plt.axis('ima...
29.24
96
0.666211
202
1,462
4.717822
0.430693
0.04617
0.029381
0.044071
0.052466
0
0
0
0
0
0
0.005277
0.222298
1,462
49
97
29.836735
0.832894
0.197674
0
0
0
0
0.016874
0
0
0
0
0
0
1
0.129032
false
0
0.16129
0
0.387097
0.064516
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
f23153ff9da39e77238d222d2874c0c47b3effe7
1,765
py
Python
tests/test_copies.py
mschmidtkorth/shallow-backup
6629fed7d5a3a13eb068c7ef0168cfa8ffbd3bbf
[ "MIT" ]
1
2021-07-25T19:26:47.000Z
2021-07-25T19:26:47.000Z
tests/test_copies.py
mschmidtkorth/shallow-backup
6629fed7d5a3a13eb068c7ef0168cfa8ffbd3bbf
[ "MIT" ]
null
null
null
tests/test_copies.py
mschmidtkorth/shallow-backup
6629fed7d5a3a13eb068c7ef0168cfa8ffbd3bbf
[ "MIT" ]
null
null
null
import os import sys import pytest import shutil from .test_utils import setup_env_vars, unset_env_vars, BACKUP_DEST_DIR, FAKE_HOME_DIR, DIRS sys.path.insert(0, "../shallow_backup") from shallow_backup.utils import copy_dir_if_valid TEST_TEXT_FILE = os.path.join(FAKE_HOME_DIR, 'test-file.txt') class TestCopyMethods:...
32.090909
94
0.65779
245
1,765
4.465306
0.342857
0.060329
0.080439
0.038391
0.161792
0.128885
0.107861
0.062157
0.062157
0
0
0.001487
0.23796
1,765
54
95
32.685185
0.811896
0.108215
0
0.108108
0
0
0.064153
0
0
0
0
0.018519
0.108108
1
0.108108
false
0
0.162162
0
0.297297
0.027027
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
f2320f768e412bebfaa5c2e31eeb4a3c480eacaf
1,395
py
Python
loan/killeragent.py
Casper-Smet/LOAN
3aabf80cf4314bcba33779329fc6e4971b85e742
[ "MIT" ]
null
null
null
loan/killeragent.py
Casper-Smet/LOAN
3aabf80cf4314bcba33779329fc6e4971b85e742
[ "MIT" ]
null
null
null
loan/killeragent.py
Casper-Smet/LOAN
3aabf80cf4314bcba33779329fc6e4971b85e742
[ "MIT" ]
null
null
null
from collections import namedtuple import networkx as nx from mesa import Agent, Model class KillerAgent(Agent): def __init__(self, unique_id: int, model: Model, creator, pos: int, target_location: int, target_disease: str) -> None: super().__init__(unique_id, model) self.creator = creator ...
34.875
128
0.658065
182
1,395
4.703297
0.318681
0.057243
0.063084
0.073598
0.098131
0.098131
0
0
0
0
0
0.000939
0.236559
1,395
40
129
34.875
0.801878
0
0
0
0
0.032258
0.055874
0.039398
0
0
0
0
0
1
0.225806
false
0
0.096774
0.096774
0.451613
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
f23235dddab2a9fffc993f7fe1be533663c51d2b
290
py
Python
src/calc.py
ceIery/epic7-speed-calculator
2f91e57117e2b6873772e6a703e47241570ab75f
[ "MIT" ]
null
null
null
src/calc.py
ceIery/epic7-speed-calculator
2f91e57117e2b6873772e6a703e47241570ab75f
[ "MIT" ]
null
null
null
src/calc.py
ceIery/epic7-speed-calculator
2f91e57117e2b6873772e6a703e47241570ab75f
[ "MIT" ]
null
null
null
""" Given a base speed value and a list of percentages, calculates the speed value for each percentage """ def get_speeds(percents, base): speeds = [] for percent in percents: speeds.append(round(((int)(base) * ((int)(percent) / 100)))) print(speeds) return speeds
24.166667
78
0.662069
39
290
4.897436
0.666667
0.104712
0
0
0
0
0
0
0
0
0
0.013158
0.213793
290
11
79
26.363636
0.824561
0.337931
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
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
0
0
0
0
0
0
0
0
1
0
f2330e7134a6c2ae1cacee5b851dbdfec9f5f1d4
11,762
py
Python
src/magi/actions/base.py
personalrobotics/magipy
6f86d6938168f580f667cfc093cf7e9f218e2853
[ "BSD-3-Clause" ]
null
null
null
src/magi/actions/base.py
personalrobotics/magipy
6f86d6938168f580f667cfc093cf7e9f218e2853
[ "BSD-3-Clause" ]
1
2018-01-06T00:24:06.000Z
2018-01-06T00:24:06.000Z
src/magi/actions/base.py
personalrobotics/magipy
6f86d6938168f580f667cfc093cf7e9f218e2853
[ "BSD-3-Clause" ]
null
null
null
"""Base classes, context managers, and exceptions for MAGI actions.""" from abc import ABCMeta, abstractmethod import logging from openravepy import KinBody, Robot LOGGER = logging.getLogger(__name__) LOGGER.setLevel(logging.INFO) class SaveAndJump(object): """ Save the state of the environment and jump th...
32.672222
85
0.655841
1,359
11,762
5.591611
0.18028
0.033162
0.01895
0.031978
0.401763
0.312936
0.283853
0.23911
0.20279
0.18134
0
0.000934
0.271552
11,762
359
86
32.763231
0.885971
0.466502
0
0.335821
0
0
0.029735
0
0
0
0
0
0.007463
1
0.171642
false
0.044776
0.022388
0
0.380597
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
f233b62fa43bf27f7df361b2d0940e083df21551
6,471
py
Python
src/core/python/core/io/od.py
railtoolkit/OpenLinTim
27eba8b6038946ce162e9f7bbc0bd23045029d51
[ "MIT" ]
null
null
null
src/core/python/core/io/od.py
railtoolkit/OpenLinTim
27eba8b6038946ce162e9f7bbc0bd23045029d51
[ "MIT" ]
null
null
null
src/core/python/core/io/od.py
railtoolkit/OpenLinTim
27eba8b6038946ce162e9f7bbc0bd23045029d51
[ "MIT" ]
null
null
null
from typing import List from core.exceptions.input_exceptions import (InputFormatException, InputTypeInconsistencyException) from core.model.graph import Graph from core.model.impl.fullOD import FullOD from core.model.impl.mapOD import MapOD from core.model.infrastructure ...
44.020408
126
0.626642
844
6,471
4.735782
0.191943
0.056042
0.019515
0.021016
0.487616
0.482612
0.405054
0.398549
0.379034
0.367025
0
0.002888
0.304281
6,471
146
127
44.321918
0.88494
0.386803
0
0.333333
0
0
0.031045
0.012532
0
0
0
0
0
1
0.083333
false
0.027778
0.138889
0
0.277778
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
f23575bb8b4e289c914a5be32dd736b94767c391
4,395
py
Python
kriging/_kriging.py
ERSSLE/ordinary_kriging
f983081e4f12b0bae03bd042a6f451c65dcb2759
[ "MIT" ]
3
2020-09-08T16:55:44.000Z
2021-12-04T15:35:07.000Z
kriging/_kriging.py
ERSSLE/ordinary_kriging
f983081e4f12b0bae03bd042a6f451c65dcb2759
[ "MIT" ]
null
null
null
kriging/_kriging.py
ERSSLE/ordinary_kriging
f983081e4f12b0bae03bd042a6f451c65dcb2759
[ "MIT" ]
2
2021-08-25T09:35:50.000Z
2021-12-07T08:19:11.000Z
# encoding: utf-8 """ Ordinary Kriging interpolation is a linear estimation of regionalized variables. It assumes that the data change into a normal distribution, and considers that the expected value of regionalized variable Z is unknown. The interpolation process is similar to the weighted sliding average, an...
35.731707
100
0.597952
649
4,395
3.975347
0.269646
0.034109
0.015504
0.009302
0.153488
0.125969
0.115504
0.077519
0.077519
0.041085
0
0.02766
0.251422
4,395
122
101
36.02459
0.756535
0.281456
0
0
0
0
0.007666
0
0
0
0
0
0
1
0.1
false
0
0.057143
0.014286
0.257143
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
f236ea30d7814e6e5f7e36351bc7667f7fad4f04
125
py
Python
steam/utils/__init__.py
ivicel/steamkit-python
0a3f250e432cf890965db5e7245841aa512bca22
[ "Apache-2.0" ]
5
2018-11-16T08:59:41.000Z
2021-04-03T05:32:18.000Z
steam/utils/__init__.py
ivicel/steamkit-python
0a3f250e432cf890965db5e7245841aa512bca22
[ "Apache-2.0" ]
null
null
null
steam/utils/__init__.py
ivicel/steamkit-python
0a3f250e432cf890965db5e7245841aa512bca22
[ "Apache-2.0" ]
null
null
null
from .util import clear_proto_mask, is_proto_msg, add_proto_mask __all__ = [clear_proto_mask, is_proto_msg, add_proto_mask]
31.25
64
0.84
22
125
4.045455
0.454545
0.404494
0.314607
0.359551
0.808989
0.808989
0.808989
0.808989
0.808989
0
0
0
0.096
125
4
65
31.25
0.787611
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
1
1
1
1
1
1
1
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
11
f2377bda1f457053d6b4f86097a8d1ba0041422b
260
py
Python
src/arm/src/iksolverservicetester.py
Busboombot/ros_idx6dof
63b3a49393ab2c619b6b56c634cd440ab9b464ef
[ "MIT" ]
1
2020-03-15T15:30:43.000Z
2020-03-15T15:30:43.000Z
src/arm/src/iksolverservicetester.py
Busboombot/ros_idx6dof
63b3a49393ab2c619b6b56c634cd440ab9b464ef
[ "MIT" ]
null
null
null
src/arm/src/iksolverservicetester.py
Busboombot/ros_idx6dof
63b3a49393ab2c619b6b56c634cd440ab9b464ef
[ "MIT" ]
null
null
null
#!/usr/bin/python import rospy from arm.srv import IKService, IKServiceResponse rospy.init_node("asdf", anonymous=True) rospy.wait_for_service('IKService') srv = rospy.ServiceProxy('IKService', IKService) resp = srv([5, 16, 8, 0, 0, 0], None) print resp
17.333333
48
0.734615
38
260
4.947368
0.684211
0.021277
0
0
0
0
0
0
0
0
0
0.030702
0.123077
260
14
49
18.571429
0.79386
0.061538
0
0
0
0
0.090535
0
0
0
0
0
0
0
null
null
0
0.285714
null
null
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
1
0
0
0
0
0
0
0
0
1
f23806bdb5c4b2e6ddeae98b2f41f0141fe5c5b9
1,410
py
Python
crypto-scrapers/scrapers/spiders/coin_market_cap.py
chnsh/crypto-index-fund
6c4122b868372ba99aba4f703e85d8ee12af07de
[ "MIT" ]
14
2018-05-27T19:34:59.000Z
2022-02-09T12:02:38.000Z
crypto-scrapers/scrapers/spiders/coin_market_cap.py
chnsh/crypto-index-fund
6c4122b868372ba99aba4f703e85d8ee12af07de
[ "MIT" ]
4
2018-05-28T02:44:07.000Z
2022-03-02T14:55:20.000Z
crypto-scrapers/scrapers/spiders/coin_market_cap.py
chnsh/crypto-index-fund
6c4122b868372ba99aba4f703e85d8ee12af07de
[ "MIT" ]
1
2022-03-07T05:26:47.000Z
2022-03-07T05:26:47.000Z
from datetime import datetime from locale import * import scrapy from injector import Injector from scrapers.items import CoinMarketCapItem from scrapers.utils import UrlListGenerator setlocale(LC_NUMERIC, '') class CoinMarketCapSpider(scrapy.Spider): name = "cmc" custom_settings = { 'ITEM_PIPELINE...
33.571429
76
0.565248
164
1,410
4.780488
0.481707
0.061224
0.066327
0
0
0
0
0
0
0
0
0.017034
0.292199
1,410
41
77
34.390244
0.768537
0
0
0
0
0
0.078723
0.021277
0
0
0
0
0
1
0.058824
false
0
0.176471
0
0.323529
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
f23af2303a08de830f84db88bf6e00cef4e25589
4,361
py
Python
crawler/cli.py
NicolasLM/crawler
15ed6441fef3b68bfadc970f597271191fe66cf8
[ "MIT" ]
null
null
null
crawler/cli.py
NicolasLM/crawler
15ed6441fef3b68bfadc970f597271191fe66cf8
[ "MIT" ]
null
null
null
crawler/cli.py
NicolasLM/crawler
15ed6441fef3b68bfadc970f597271191fe66cf8
[ "MIT" ]
null
null
null
from collections import OrderedDict from urllib.parse import urlparse import click import rethinkdb as r import redis import crawler.conf as conf # cli does not need to be thread-safe conn = r.connect(host=conf.RethinkDBConf.HOST, db=conf.RethinkDBConf.DB) domains = r.table('domains') @click.group...
33.806202
79
0.64022
543
4,361
5.092081
0.252302
0.0434
0.034358
0.024593
0.233273
0.179747
0.124051
0.110669
0.083906
0.083906
0
0.004661
0.212795
4,361
128
80
34.070313
0.800757
0.086907
0
0.180851
0
0
0.172711
0
0
0
0
0
0
1
0.085106
false
0
0.095745
0
0.180851
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
0
0
0
0
0
1
0
f23b010b735f63cc59ac899de4d7a1e041082294
9,667
py
Python
run.py
keyunluo/Pytorch-DDP
ff91affdd2c4cebe1719e9a46f118405c308fd1f
[ "Apache-2.0" ]
null
null
null
run.py
keyunluo/Pytorch-DDP
ff91affdd2c4cebe1719e9a46f118405c308fd1f
[ "Apache-2.0" ]
null
null
null
run.py
keyunluo/Pytorch-DDP
ff91affdd2c4cebe1719e9a46f118405c308fd1f
[ "Apache-2.0" ]
null
null
null
# -8*- coding: utf-8 -*- import torch import torch.nn as nn import torch.optim as optim import torch.multiprocessing as mp import torch.backends.cudnn as cudnn from torch.utils.data import DataLoader, Dataset from torch.nn.parallel import DistributedDataParallel from torch.utils.data.distributed import DistributedSamp...
39.618852
150
0.602359
1,170
9,667
4.760684
0.228205
0.010772
0.027469
0.017953
0.175224
0.158528
0.124237
0.124237
0.077558
0.077558
0
0.015598
0.283749
9,667
243
151
39.781893
0.78885
0.005276
0
0.121359
0
0
0.037099
0
0
0
0
0
0.004854
1
0.07767
false
0
0.048544
0.009709
0.174757
0.014563
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
f23c95d3f1d786e4a9f7ff9ea7ec7de8d8f85605
373
py
Python
newsletter/urls.py
vallka/djellifique
fb84fba6be413f9d38276d89ae84aeaff761218f
[ "MIT" ]
null
null
null
newsletter/urls.py
vallka/djellifique
fb84fba6be413f9d38276d89ae84aeaff761218f
[ "MIT" ]
null
null
null
newsletter/urls.py
vallka/djellifique
fb84fba6be413f9d38276d89ae84aeaff761218f
[ "MIT" ]
null
null
null
from django.urls import path from .views import * app_name = 'newsletter' urlpatterns = [ path('pixel/', my_image, name='pixel'), path('click/<str:uuid>/', click_redirect, name='click'), path('notification/', notification, name='notification'), path('sendtest/<str:slug>', sendtest, name='sendtest'), ...
26.642857
61
0.659517
45
373
5.4
0.466667
0.057613
0
0
0
0
0
0
0
0
0
0
0.142091
373
13
62
28.692308
0.759375
0
0
0
0
0
0.310992
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
f23e9e3046350977154c8ce79c350de302fd2dce
197
py
Python
04_While/Step03/gamjapark.py
StudyForCoding/BEAKJOON
84e1c5e463255e919ccf6b6a782978c205420dbf
[ "MIT" ]
null
null
null
04_While/Step03/gamjapark.py
StudyForCoding/BEAKJOON
84e1c5e463255e919ccf6b6a782978c205420dbf
[ "MIT" ]
3
2020-11-04T05:38:53.000Z
2021-03-02T02:15:19.000Z
04_While/Step03/gamjapark.py
StudyForCoding/BEAKJOON
84e1c5e463255e919ccf6b6a782978c205420dbf
[ "MIT" ]
null
null
null
n = int(input()) temp_n = n k=0 while True: a = int(temp_n / 10) b = temp_n % 10 c = (a + b) % 10 new = b*10 + c k += 1 if new == n: break temp_n = new print(k)
14.071429
24
0.446701
38
197
2.210526
0.447368
0.238095
0.166667
0
0
0
0
0
0
0
0
0.084746
0.401015
197
13
25
15.153846
0.627119
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.076923
0
0
0
null
1
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
0
1
f23ec17cf55792ab6ef9150b36b5c3e6f5471fbb
6,491
py
Python
vesc_driver/src/mathdir/cubic_spline_planner.py
Taek-16/vesc_study
c4f8e56a2530b17622ca73e9eba57830a1b51ad9
[ "Apache-2.0" ]
1
2021-02-13T10:48:13.000Z
2021-02-13T10:48:13.000Z
vesc_driver/src/mathdir/cubic_spline_planner.py
Taek-16/vesc_study
c4f8e56a2530b17622ca73e9eba57830a1b51ad9
[ "Apache-2.0" ]
null
null
null
vesc_driver/src/mathdir/cubic_spline_planner.py
Taek-16/vesc_study
c4f8e56a2530b17622ca73e9eba57830a1b51ad9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python """ cubic spline planner Author: Atsushi Sakai """ import math import numpy as np import bisect from scipy.spatial import distance class Spline: """ Cubic Spline class """ def __init__(self, x, y): self.b, self.c, self.d, self.w = [], [], [], [] self.x = x ...
24.130112
131
0.475582
995
6,491
3.031156
0.162814
0.028183
0.021883
0.01061
0.392573
0.340849
0.306366
0.28183
0.241379
0.187666
0
0.02636
0.362964
6,491
268
132
24.220149
0.703023
0.088122
0
0.355422
0
0.006024
0.037156
0.011378
0
0
0
0
0
1
0.096386
false
0
0.036145
0
0.271084
0.006024
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
f23ec9a0fbd46e6d9b5f8659349c47ab52aec354
333
py
Python
bbtest/steps/appliance_steps.py
jancajthaml-openbank/e2e
a2ef84b6564022e95de76438fc795e2ef927aa2b
[ "Apache-2.0" ]
null
null
null
bbtest/steps/appliance_steps.py
jancajthaml-openbank/e2e
a2ef84b6564022e95de76438fc795e2ef927aa2b
[ "Apache-2.0" ]
30
2018-03-18T05:58:32.000Z
2022-01-19T23:21:31.000Z
bbtest/steps/appliance_steps.py
jancajthaml-openbank/e2e
a2ef84b6564022e95de76438fc795e2ef927aa2b
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from behave import * from helpers.eventually import eventually @given('appliance is running') def appliance_running(context): @eventually(5) def wait_for_appliance_up(): assert context.appliance.running(), 'appliance did not start within 5 seconds' wait_for_ap...
23.785714
82
0.744745
45
333
5.355556
0.622222
0.13278
0.13278
0.149378
0
0
0
0
0
0
0
0.013937
0.138138
333
13
83
25.615385
0.825784
0.129129
0
0
0
0
0.208333
0
0
0
0
0
0.125
1
0.25
false
0
0.25
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
f23fb929e898694417f38446747b98726264f0e7
1,211
py
Python
irkshop/urls.py
Beomi/irkshop
c109a62216cb6550add64fbf402883debc5011d1
[ "Apache-2.0" ]
19
2016-11-06T10:28:14.000Z
2020-11-01T02:04:51.000Z
irkshop/urls.py
Beomi/irkshop
c109a62216cb6550add64fbf402883debc5011d1
[ "Apache-2.0" ]
17
2016-10-19T11:58:48.000Z
2022-01-13T00:32:34.000Z
irkshop/urls.py
Beomi/irkshop
c109a62216cb6550add64fbf402883debc5011d1
[ "Apache-2.0" ]
4
2016-11-06T10:54:26.000Z
2019-08-31T16:08:56.000Z
from django.conf.urls import url, include from django.contrib import admin from django.contrib.auth.views import login, logout from django.conf import settings from django.views.static import serve from django.views.generic import TemplateView urlpatterns = [ url(r'^admin/', admin.site.urls), url(r'^accounts/l...
41.758621
101
0.663088
155
1,211
5.064516
0.348387
0.050955
0.050955
0.04586
0
0
0
0
0
0
0
0
0.168456
1,211
28
102
43.25
0.779543
0.012386
0
0
0
0
0.229481
0.074539
0
0
0
0
0
1
0
false
0
0.32
0
0.32
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
f240eb401196f0b66c32fe422e4a7253f5e5528f
1,469
py
Python
mojave_setup/fonts.py
RuchirChawdhry/macOS-Mojave-Setup
5e61fe8c20abc42e63fcbd1c7e310aab8cc02a1c
[ "MIT" ]
null
null
null
mojave_setup/fonts.py
RuchirChawdhry/macOS-Mojave-Setup
5e61fe8c20abc42e63fcbd1c7e310aab8cc02a1c
[ "MIT" ]
null
null
null
mojave_setup/fonts.py
RuchirChawdhry/macOS-Mojave-Setup
5e61fe8c20abc42e63fcbd1c7e310aab8cc02a1c
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import subprocess as sp class Fonts: FONTS = [ "source-code-pro", "source-sans-pro", "source-serif-pro", "roboto", "roboto-mono", "roboto-slab", "open-sans", "open-sans-condensed", "lato", ...
22.953125
80
0.479238
143
1,469
4.888112
0.601399
0.050072
0.031474
0
0
0
0
0
0
0
0
0.003138
0.349217
1,469
63
81
23.31746
0.728033
0.029272
0
0
0
0
0.373596
0.016152
0
0
0
0
0
1
0.035714
false
0
0.017857
0
0.107143
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
f2414f0188cf0460b22148b0732eea50d4b58390
5,142
py
Python
plag/urls.py
neetu6860/plagiarism-detection-software
7f05210aafdccf33a2bc732a40348eff43f46fba
[ "MIT" ]
19
2018-09-03T09:10:20.000Z
2021-12-24T13:52:18.000Z
plag/urls.py
neetu6860/plagiarism-detection-software
7f05210aafdccf33a2bc732a40348eff43f46fba
[ "MIT" ]
3
2019-10-31T18:42:38.000Z
2021-06-10T21:37:23.000Z
plag/urls.py
neetu6860/plagiarism-detection-software
7f05210aafdccf33a2bc732a40348eff43f46fba
[ "MIT" ]
16
2018-06-06T15:04:59.000Z
2022-03-29T04:53:07.000Z
from django.conf.urls import patterns, url from django.contrib import admin from django.contrib.auth.decorators import login_required from django.views.generic import TemplateView admin.autodiscover() from plag import views, const urlpatterns = patterns('', url(r'^$', views.IndexView.as_view(...
57.775281
119
0.532283
536
5,142
4.923507
0.18097
0.054566
0.084881
0.116711
0.359606
0.30125
0.229632
0.093217
0.023494
0
0
0
0.317581
5,142
88
120
58.431818
0.752066
0.002139
0
0
0
0.014925
0.32092
0.200039
0
0
0
0.011364
0
1
0
false
0
0.074627
0
0.074627
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
1
0
0
0
0
0
0
0
0
0
0
1
f242795159bdd7a9675c51d4615c5d8382e738be
2,419
py
Python
coinut.py
DanHenry4/AutoCoinut
f7c79f19a9193bc7c1193712088ca836b030f523
[ "MIT" ]
4
2016-05-08T02:15:50.000Z
2020-07-01T08:16:45.000Z
coinut.py
DanHenry4/AutoCoinut
f7c79f19a9193bc7c1193712088ca836b030f523
[ "MIT" ]
null
null
null
coinut.py
DanHenry4/AutoCoinut
f7c79f19a9193bc7c1193712088ca836b030f523
[ "MIT" ]
null
null
null
import hmac import hashlib import json import uuid import httplib2 COINUT_URL = 'https://coinut.com/api/' class Coinut(): def __init__(self, user = None, api_key = None): self.user = user self.api_key = api_key self.http = httplib2.Http() def request(self, api, content = {}): ...
27.488636
76
0.574618
276
2,419
4.847826
0.242754
0.080717
0.139761
0.053812
0.136024
0.136024
0.073244
0.073244
0.073244
0.073244
0
0.003584
0.307979
2,419
87
77
27.804598
0.795699
0
0
0.098361
0
0
0.119471
0
0
0
0
0
0
1
0.213115
false
0
0.081967
0.131148
0.508197
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
1
1
0
0
3
f2430c615c25842a6a15c7289e5e98e1e77f49ce
1,817
py
Python
src/neighborly/core/residence.py
ShiJbey/neighborly
5af1e3211f1ef0e25803790850e7cd3d3a49be69
[ "MIT" ]
null
null
null
src/neighborly/core/residence.py
ShiJbey/neighborly
5af1e3211f1ef0e25803790850e7cd3d3a49be69
[ "MIT" ]
null
null
null
src/neighborly/core/residence.py
ShiJbey/neighborly
5af1e3211f1ef0e25803790850e7cd3d3a49be69
[ "MIT" ]
null
null
null
from typing import Any, Dict from ordered_set import OrderedSet from neighborly.core.ecs import Component from neighborly.core.engine import AbstractFactory, ComponentDefinition class Residence(Component): __slots__ = "owners", "former_owners", "residents", "former_residents", "_vacant" def __init__(self) ...
32.446429
85
0.63071
199
1,817
5.537688
0.261307
0.054446
0.083485
0.098004
0.181488
0
0
0
0
0
0
0.000732
0.248211
1,817
55
86
33.036364
0.806003
0.035773
0
0
0
0
0.063182
0
0
0
0
0
0
1
0.170732
false
0
0.097561
0.073171
0.414634
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
f2439cb603c2e5bb9b0700a3b097f6415267d55a
15,518
py
Python
tests/SBHRun_Environment.py
SD2E/synbiohub_adapter
492f9ef1054b17d790654310b895bb7ad155808e
[ "MIT" ]
1
2019-10-08T20:31:16.000Z
2019-10-08T20:31:16.000Z
tests/SBHRun_Environment.py
SD2E/synbiohub_adapter
492f9ef1054b17d790654310b895bb7ad155808e
[ "MIT" ]
84
2018-03-06T16:02:30.000Z
2020-09-01T18:17:54.000Z
tests/SBHRun_Environment.py
SD2E/synbiohub_adapter
492f9ef1054b17d790654310b895bb7ad155808e
[ "MIT" ]
1
2019-02-06T17:17:54.000Z
2019-02-06T17:17:54.000Z
import threading import time import pandas as pd import numpy as np import matplotlib.cm as cm import matplotlib.pyplot as plt import os import fnmatch import random import re import getpass import sys from rdflib import Graph from synbiohub_adapter.SynBioHubUtil import * from sbol import * """ This class will...
33.661605
110
0.660974
2,072
15,518
4.775579
0.195946
0.042446
0.009702
0.016271
0.318343
0.261445
0.199697
0.165235
0.152299
0.135927
0
0.007362
0.238497
15,518
460
111
33.734783
0.829991
0.163681
0
0.229167
0
0
0.097857
0.022608
0
0
0
0.004348
0
1
0.107639
false
0.006944
0.052083
0.020833
0.236111
0.027778
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
f245528c941762eda827c561627c5aa634c97c9f
2,842
py
Python
setup.py
Unidata/drilsdown
55aca7168fb390f31c36729605401564e9b82c56
[ "MIT" ]
3
2018-05-25T00:19:12.000Z
2021-01-08T15:54:36.000Z
setup.py
suvarchal/drilsdown
e82f58396f640fef847353caf1bd4b2bf016c7a6
[ "MIT" ]
11
2017-10-31T20:15:24.000Z
2019-12-16T21:01:55.000Z
setup.py
suvarchal/drilsdown
e82f58396f640fef847353caf1bd4b2bf016c7a6
[ "MIT" ]
10
2018-02-08T22:23:28.000Z
2019-09-29T23:25:19.000Z
import os from six import iteritems from setuptools import setup from setuptools.command.develop import develop from setuptools.command.install import install import subprocess PACKAGE_NAME = 'drilsdown' SOURCES = { 'ipython_IDV': 'projects/ipython_IDV', 'idv_teleport': 'projects/IDV_teleport', 'ramadda_publi...
32.295455
105
0.60943
317
2,842
5.381703
0.457413
0.049824
0.058617
0.054513
0.184056
0.126612
0.064478
0.064478
0.064478
0
0
0.009108
0.26601
2,842
87
106
32.666667
0.808725
0.165377
0
0.055556
0
0
0.29108
0.030303
0
0
0
0
0
1
0.041667
false
0
0.083333
0
0.152778
0.041667
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
f24567e433386b2908e8d4a58f10fb0b2a6b3b98
2,129
py
Python
ejercicios/Ejercicio6.py
Xavitheforce/Ejercicios_Iteracion
e840439e1277b5946592128d5c771d895c2fac2c
[ "Apache-2.0" ]
null
null
null
ejercicios/Ejercicio6.py
Xavitheforce/Ejercicios_Iteracion
e840439e1277b5946592128d5c771d895c2fac2c
[ "Apache-2.0" ]
null
null
null
ejercicios/Ejercicio6.py
Xavitheforce/Ejercicios_Iteracion
e840439e1277b5946592128d5c771d895c2fac2c
[ "Apache-2.0" ]
null
null
null
from datetime import datetime class Banco(): def __init__(self): self.cuentas = { '1':{ 'nombre': 'Marcos Martinez', 'balance': 173735, 'tipo': 1, 'movimientos': [] },'2':{ 'nombre': 'Alejandro Sanchez', 'balance': 1342, 'tipo': 0, 'movi...
39.425926
184
0.622828
241
2,129
5.419087
0.307054
0.092649
0.075038
0.107198
0.264165
0.174579
0.136294
0.087289
0.087289
0.087289
0
0.013253
0.220291
2,129
54
185
39.425926
0.772289
0
0
0.169811
0
0
0.296714
0
0
0
0
0
0
1
0.056604
false
0
0.018868
0
0.150943
0.09434
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
f2470b57f1baf4a7e69d418b396753a2d81c5b04
752
py
Python
authentik/sources/saml/migrations/0011_auto_20210324_0736.py
BeryJu/passbook
350f0d836580f4411524614f361a76c4f27b8a2d
[ "MIT" ]
15
2020-01-05T09:09:57.000Z
2020-11-28T05:27:39.000Z
authentik/sources/saml/migrations/0011_auto_20210324_0736.py
BeryJu/passbook
350f0d836580f4411524614f361a76c4f27b8a2d
[ "MIT" ]
302
2020-01-21T08:03:59.000Z
2020-12-04T05:04:57.000Z
authentik/sources/saml/migrations/0011_auto_20210324_0736.py
BeryJu/passbook
350f0d836580f4411524614f361a76c4f27b8a2d
[ "MIT" ]
3
2020-03-04T08:21:59.000Z
2020-08-01T20:37:18.000Z
# Generated by Django 3.1.7 on 2021-03-24 07:36 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("authentik_flows", "0016_auto_20201202_1307"), ("authentik_sources_saml", "0010_samlsource_pre_authentication_flow"),...
28.923077
78
0.62633
77
752
5.87013
0.636364
0.053097
0.061947
0.097345
0
0
0
0
0
0
0
0.06422
0.275266
752
25
79
30.08
0.765138
0.05984
0
0.105263
1
0
0.296454
0.187234
0
0
0
0
0
1
0
false
0
0.105263
0
0.263158
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
f248957a375715c7681a4295ca66a47a10ee7ea3
6,891
py
Python
tempest/tests/common/test_service_clients.py
xavpaice/tempest
958bd694df27511e0346d799876fe49331b8145c
[ "Apache-2.0" ]
null
null
null
tempest/tests/common/test_service_clients.py
xavpaice/tempest
958bd694df27511e0346d799876fe49331b8145c
[ "Apache-2.0" ]
null
null
null
tempest/tests/common/test_service_clients.py
xavpaice/tempest
958bd694df27511e0346d799876fe49331b8145c
[ "Apache-2.0" ]
null
null
null
# Copyright 2015 NEC Corporation. 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 ...
47.524138
79
0.753882
837
6,891
5.951016
0.236559
0.092752
0.156394
0.200763
0.419795
0.399518
0.343706
0.238105
0.098374
0
0
0.014477
0.188071
6,891
144
80
47.854167
0.875782
0.087505
0
0
0
0
0.026937
0.013389
0
0
0.001594
0
0.008
1
0.008
false
0
0.36
0
0.376
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
1
0
0
0
0
2
f2490fc27568d943c3ececc3e75fce355b5da3ff
3,497
py
Python
advent/days/day17/day.py
RuedigerLudwig/advent2021
ce069d485bb34b4752ec4e89f195f7cc8cf084cc
[ "Unlicense" ]
null
null
null
advent/days/day17/day.py
RuedigerLudwig/advent2021
ce069d485bb34b4752ec4e89f195f7cc8cf084cc
[ "Unlicense" ]
null
null
null
advent/days/day17/day.py
RuedigerLudwig/advent2021
ce069d485bb34b4752ec4e89f195f7cc8cf084cc
[ "Unlicense" ]
null
null
null
from __future__ import annotations from itertools import product from typing import Iterator day_num = 17 def part1(lines: Iterator[str]) -> int: probe = Target.from_str(next(lines)) mx = max(y for _, y in probe.get_possible()) return mx * (mx + 1) >> 1 def part2(lines: Iterator[str]) -> int: prob...
31.223214
82
0.501859
455
3,497
3.630769
0.167033
0.043584
0.03632
0.021792
0.259685
0.21247
0.21247
0.183414
0.101695
0.101695
0
0.016635
0.398341
3,497
111
83
31.504505
0.768536
0
0
0.255556
0
0
0.00143
0
0
0
0
0
0
1
0.111111
false
0
0.033333
0.011111
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
f249ee34b1745d4a243c396362c75f872d9af531
687
py
Python
Software_Carpentry/Conway/test_conway.py
dgasmith/SICM2-Software-Summer-School-2014
af97770cbade3bf4a246f21e607e8be66c9df7da
[ "MIT" ]
2
2015-07-16T14:00:27.000Z
2016-01-10T20:21:48.000Z
Software_Carpentry/Conway/test_conway.py
dgasmith/SICM2-Software-Summer-School-2014
af97770cbade3bf4a246f21e607e8be66c9df7da
[ "MIT" ]
null
null
null
Software_Carpentry/Conway/test_conway.py
dgasmith/SICM2-Software-Summer-School-2014
af97770cbade3bf4a246f21e607e8be66c9df7da
[ "MIT" ]
null
null
null
from conway import * def test_neighbors_at_origin(): result = [(1,1), (-1,-1), (0,1), (1,0), (-1,1), (1,-1), (-1,0), (0,-1)] nb = neighbors((0,0)) assert( set(result) == set(nb) ) def test_neighbors_at_negative_quadrant(): result = [(0, -1), (-2, -1), (-1, 0), (-1, -2), (0, 0), (0, -2), (-2, 0), (...
28.625
87
0.513828
108
687
3.185185
0.185185
0.069767
0.043605
0.046512
0.389535
0.366279
0.156977
0
0
0
0
0.096475
0.215429
687
23
88
29.869565
0.541744
0
0
0.117647
0
0
0
0
0
0
0
0
0.235294
1
0.235294
false
0
0.058824
0
0.294118
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
f24a5dc578f63a0c2e113a798ce9969cd7ed080c
5,426
py
Python
app_backend/__init__.py
zhanghe06/bearing_project
78a20fc321f72d3ae05c7ab7e52e01d02904e3fc
[ "MIT" ]
1
2020-06-21T04:08:26.000Z
2020-06-21T04:08:26.000Z
app_backend/__init__.py
zhanghe06/bearing_project
78a20fc321f72d3ae05c7ab7e52e01d02904e3fc
[ "MIT" ]
13
2019-10-18T17:19:32.000Z
2022-01-13T00:44:43.000Z
app_backend/__init__.py
zhanghe06/bearing_project
78a20fc321f72d3ae05c7ab7e52e01d02904e3fc
[ "MIT" ]
5
2019-02-07T03:15:16.000Z
2021-09-04T14:06:28.000Z
#!/usr/bin/env python # encoding: utf-8 """ @author: zhanghe @software: PyCharm @file: __init__.py @time: 2018-03-06 00:00 """ from __future__ import unicode_literals import eventlet eventlet.monkey_patch() from logging.config import dictConfig from config import current_config from flask import Flask from flask_...
30.483146
86
0.838555
792
5,426
5.435606
0.215909
0.058537
0.113821
0.141231
0.35029
0.0964
0.0964
0.0964
0.0964
0.053194
0
0.002829
0.08791
5,426
177
87
30.655367
0.867044
0.134353
0
0.068966
0
0
0.045708
0.017811
0
0
0
0
0
1
0
false
0
0.422414
0
0.422414
0.267241
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
f24ac29d015f11200dad8879234dd7ab9c174313
2,003
py
Python
N50.py
kstatebioinfo/stanford_swc
daa3f37bcbbe4a8a3cbe59a48b380603b9794634
[ "CC0-1.0" ]
null
null
null
N50.py
kstatebioinfo/stanford_swc
daa3f37bcbbe4a8a3cbe59a48b380603b9794634
[ "CC0-1.0" ]
null
null
null
N50.py
kstatebioinfo/stanford_swc
daa3f37bcbbe4a8a3cbe59a48b380603b9794634
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python3 ########################################################################## # USAGE: import N50 # help(N50) # N50.main(~/stanford_swc/fasta-o-matic/fasta/normal.fa) # DESCRIPTION: Function that calculates N50 for a FASTA file # Created by Jennifer M Shelton ################################...
34.534483
74
0.495756
211
2,003
4.601896
0.454976
0.025747
0.032956
0.035015
0.053553
0.053553
0
0
0
0
0
0.027721
0.261608
2,003
57
75
35.140351
0.628803
0.324513
0
0.2
0
0
0.013598
0
0
0
0
0
0
1
0.057143
false
0
0.057143
0
0.114286
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
f24b0ee4bbb24e050ab403a0d1e6bf087f8143ee
34,017
py
Python
ColDoc/latex.py
mennucc/ColDoc_project
947a79592b689f57e59652b37868cc22e520f724
[ "BSD-3-Clause" ]
null
null
null
ColDoc/latex.py
mennucc/ColDoc_project
947a79592b689f57e59652b37868cc22e520f724
[ "BSD-3-Clause" ]
null
null
null
ColDoc/latex.py
mennucc/ColDoc_project
947a79592b689f57e59652b37868cc22e520f724
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 __all__ = ('main_by_args','latex_main','latex_uuid','latex_tree') cmd_help=""" Command help: blob compile the blob(s) with --uuid=UUID, tree compile all the blobs starting from --uuid=UUID main_public compile the whole document, for the general public ...
39.010321
135
0.587559
4,420
34,017
4.350226
0.118552
0.037861
0.020595
0.01165
0.402798
0.3342
0.29041
0.257437
0.213647
0.192532
0
0.003825
0.28524
34,017
871
136
39.055109
0.786995
0.07752
0
0.298422
0
0.002869
0.164914
0.016864
0
0
0
0.002296
0.012912
1
0.021521
false
0
0.021521
0
0.077475
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
f24b88cb32a898b91b261cd705b2ad3fcd5d1287
2,950
py
Python
extension/visualizer/generate_visualizer_header.py
AldoMyrtaj/duckdb
3aa4978a2ceab8df25e4b20c388bcd7629de73ed
[ "MIT" ]
2,816
2018-06-26T18:52:52.000Z
2021-04-06T10:39:15.000Z
extension/visualizer/generate_visualizer_header.py
AldoMyrtaj/duckdb
3aa4978a2ceab8df25e4b20c388bcd7629de73ed
[ "MIT" ]
1,310
2021-04-06T16:04:52.000Z
2022-03-31T13:52:53.000Z
extension/visualizer/generate_visualizer_header.py
AldoMyrtaj/duckdb
3aa4978a2ceab8df25e4b20c388bcd7629de73ed
[ "MIT" ]
270
2021-04-09T06:18:28.000Z
2022-03-31T11:55:37.000Z
# this script generates visualizer header import os visualizer_dir = 'extension/visualizer' visualizer_css = os.path.join(visualizer_dir, 'visualizer.css') visualizer_d3 = os.path.join(visualizer_dir, 'd3.js') visualizer_script = os.path.join(visualizer_dir, 'script.js') visualizer_header = os.path.join(visualizer_dir...
36.419753
92
0.737627
410
2,950
5.207317
0.453659
0.044965
0.018735
0.037471
0.129274
0.0637
0.0637
0.0637
0.0637
0.0637
0
0.007913
0.186102
2,950
81
93
36.419753
0.881299
0.01322
0
0.031746
1
0
0.586598
0.018213
0
0
0
0
0
1
0.063492
false
0
0.031746
0
0.15873
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
f24c7bebfc50062402e4f3d020937fffe8042def
1,945
py
Python
kivyx/uix/aspectratio.py
gottadiveintopython/kivyx.uix.aspectratio
e8b049fe76c9350b8c167ff1fb32299b8feceba7
[ "MIT" ]
null
null
null
kivyx/uix/aspectratio.py
gottadiveintopython/kivyx.uix.aspectratio
e8b049fe76c9350b8c167ff1fb32299b8feceba7
[ "MIT" ]
null
null
null
kivyx/uix/aspectratio.py
gottadiveintopython/kivyx.uix.aspectratio
e8b049fe76c9350b8c167ff1fb32299b8feceba7
[ "MIT" ]
null
null
null
__all__ = ('KXAspectRatio', ) from kivy.uix.layout import Layout from kivy.properties import BoundedNumericProperty, OptionProperty HALIGN_TO_ATTR = { 'center': 'center_x', 'middle': 'center_x', 'left': 'x', 'right': 'right', } VALIGN_TO_ATTR = { 'center': 'center_y', 'middle': 'center_y', ...
29.469697
68
0.5491
239
1,945
4.251046
0.267782
0.086614
0.059055
0.038386
0.226378
0.122047
0.122047
0.122047
0.064961
0
0
0.006047
0.319794
1,945
65
69
29.923077
0.761905
0
0
0.107143
0
0
0.096708
0
0
0
0
0
0
1
0.053571
false
0
0.035714
0
0.196429
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
f24e4b499348b1e6839320b71759fce8e46d5cc8
4,006
py
Python
src/analyze_img.py
IW276/IW276SS21-P13
851e220c34d55caa91f0967e02dc86c34deee2fa
[ "MIT" ]
null
null
null
src/analyze_img.py
IW276/IW276SS21-P13
851e220c34d55caa91f0967e02dc86c34deee2fa
[ "MIT" ]
null
null
null
src/analyze_img.py
IW276/IW276SS21-P13
851e220c34d55caa91f0967e02dc86c34deee2fa
[ "MIT" ]
null
null
null
import cv2 import numpy as np from matplotlib import pyplot as plt brightness = {"DARK": 0, "NORMAL": 1, "LIGHT": 2} contrast = {"HIGH": 2, "NORMAL": 1, "LOW": 0} class ImageSetup: def __init__(self): self.brightness = None self.contrast = None...
30.120301
92
0.595856
488
4,006
4.778689
0.213115
0.108062
0.051458
0.041166
0.126501
0.045455
0
0
0
0
0
0.02982
0.28008
4,006
132
93
30.348485
0.778779
0.030205
0
0.066667
0
0
0.057231
0
0
0
0
0
0
1
0.12381
false
0
0.028571
0
0.219048
0.104762
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
f2503cce75279fee15a3fc46cd4a46df58314fef
3,799
py
Python
models/game/bots/RandoMaxBot.py
zachdj/ultimate-tic-tac-toe
b8e6128d9d19628f6f889a3958d30854527a8645
[ "MIT" ]
null
null
null
models/game/bots/RandoMaxBot.py
zachdj/ultimate-tic-tac-toe
b8e6128d9d19628f6f889a3958d30854527a8645
[ "MIT" ]
null
null
null
models/game/bots/RandoMaxBot.py
zachdj/ultimate-tic-tac-toe
b8e6128d9d19628f6f889a3958d30854527a8645
[ "MIT" ]
null
null
null
import random from models.game.bots.Bot import Bot from models.game.Board import Board class RandoMaxBot(Bot): """ Semi-random bot This is a minimax bot that scores moves randomly unless the end of the game is seen within a 2-ply lookahead """ def __init__(self, number, name=None): if name is...
36.528846
120
0.589102
498
3,799
4.351406
0.230924
0.046147
0.035994
0.040609
0.522381
0.522381
0.522381
0.49377
0.460545
0.460545
0
0.016594
0.333772
3,799
103
121
36.883495
0.839589
0.225059
0
0.591549
0
0
0.01153
0
0
0
0
0
0
1
0.084507
false
0.014085
0.042254
0.014085
0.366197
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
f251f3a1ac391e245be08c921c85c8b349b00732
1,924
py
Python
fineDinner.py
SMartQi/whose-treat
85f1d27dfb2b728a33cf8b6fcd73213ca24edb0b
[ "MIT" ]
1
2020-01-30T11:09:31.000Z
2020-01-30T11:09:31.000Z
fineDinner.py
SMartQi/whose-treat
85f1d27dfb2b728a33cf8b6fcd73213ca24edb0b
[ "MIT" ]
null
null
null
fineDinner.py
SMartQi/whose-treat
85f1d27dfb2b728a33cf8b6fcd73213ca24edb0b
[ "MIT" ]
null
null
null
#!/usr/bin/env python #-*- encoding:UTF-8 -*- """ Background: JJ and MM want to have a fine dinner, celebrating their annual bonuses. They make this rule: This dinner is on the person who gets more annual bonus. And the cost of the dinner is the diff of money they make mod 300, per capita. Requirement: Decide the mo...
29.6
135
0.670478
292
1,924
4.390411
0.458904
0.024961
0.021841
0.031201
0.25429
0.25429
0.25429
0.25429
0.193448
0.193448
0
0.022981
0.20842
1,924
64
136
30.0625
0.818779
0.327963
0
0.157895
0
0
0.244617
0
0
0
0
0
0
1
0.052632
false
0.078947
0.026316
0
0.131579
0.210526
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
f25714dd2e5fb95e7b87e1b330afecfe7458cf18
49
py
Python
libs/pytvmaze/__init__.py
Sparklingx/nzbhydra
e2433e1155255ba37341cc79750b104e7dd8889a
[ "Apache-2.0" ]
674
2015-11-06T04:22:47.000Z
2022-02-26T17:31:43.000Z
libs/pytvmaze/__init__.py
Sparklingx/nzbhydra
e2433e1155255ba37341cc79750b104e7dd8889a
[ "Apache-2.0" ]
713
2015-11-06T10:48:58.000Z
2018-11-27T16:32:18.000Z
libs/pytvmaze/__init__.py
Sparklingx/nzbhydra
e2433e1155255ba37341cc79750b104e7dd8889a
[ "Apache-2.0" ]
106
2015-12-07T11:21:06.000Z
2022-03-11T10:58:41.000Z
#!/usr/bin/python from pytvmaze.tvmaze import *
12.25
29
0.734694
7
49
5.142857
1
0
0
0
0
0
0
0
0
0
0
0
0.122449
49
3
30
16.333333
0.837209
0.326531
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
6
f25ce39acdbb3d945528b6cb2be68ac5895f77bb
1,241
py
Python
backend/server.py
mugeshk97/billing-api
3bf6899f62bee6db7870c3b6008a10c887eb3aa3
[ "MIT" ]
null
null
null
backend/server.py
mugeshk97/billing-api
3bf6899f62bee6db7870c3b6008a10c887eb3aa3
[ "MIT" ]
null
null
null
backend/server.py
mugeshk97/billing-api
3bf6899f62bee6db7870c3b6008a10c887eb3aa3
[ "MIT" ]
null
null
null
from flask import Flask, request, jsonify from connection import get_sql_connection from product import get_all_products, insert_product, delete_product import json from flask_cors import CORS app = Flask(__name__) CORS(app) cnx = get_sql_connection() @app.route('/getProducts', methods=['GET']) def get_products(): ...
29.547619
68
0.709106
157
1,241
5.343949
0.312102
0.064362
0.064362
0.085816
0.31466
0.31466
0.31466
0.224076
0.224076
0.224076
0
0.007612
0.153102
1,241
42
69
29.547619
0.790676
0
0
0.228571
0
0
0.1562
0.065217
0
0
0
0
0
1
0.085714
false
0
0.142857
0
0.314286
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
f25fca280607b95bdb378b87fdab5966ef3e46d2
555
py
Python
api/restaurant_helper_functions.py
daniellespencer/stfu-and-eat
cb82b364ba226dd61f11547720a20a132c1562f6
[ "MIT" ]
1
2020-05-15T01:36:59.000Z
2020-05-15T01:36:59.000Z
api/restaurant_helper_functions.py
daniellespencer/stfu-and-eat
cb82b364ba226dd61f11547720a20a132c1562f6
[ "MIT" ]
null
null
null
api/restaurant_helper_functions.py
daniellespencer/stfu-and-eat
cb82b364ba226dd61f11547720a20a132c1562f6
[ "MIT" ]
2
2020-05-15T01:31:37.000Z
2020-05-20T00:04:41.000Z
import random from api.config import restaurant_collection as restaurants def organize_restaurant_output(): output = [] for q in restaurants.find(): output.append({ "id" : str(q['_id']), 'name' : q['name'], 'neighborhood' : q['neighborhood'], 'cuisine' :...
26.428571
59
0.567568
58
555
5.327586
0.551724
0.07767
0
0
0
0
0
0
0
0
0
0.005089
0.291892
555
21
60
26.428571
0.78117
0
0
0
0
0
0.142086
0
0
0
0
0
0
1
0.117647
false
0
0.117647
0
0.352941
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
f26261a417ed0c023adbf8199f1af50c5d35454f
351
py
Python
source/exceptions.py
corradiniste/Paneka-discord-bot
43672b2720c88635266e0962f446bd36bd7ced7d
[ "MIT" ]
12
2020-08-03T05:47:20.000Z
2021-10-06T06:20:19.000Z
source/exceptions.py
Shivanirudh/Paneka-discord-bot
0ec257e92e40baf23233711c9cf9889e8c56ab53
[ "MIT" ]
5
2020-10-03T08:27:35.000Z
2021-06-02T04:45:57.000Z
source/exceptions.py
Shivanirudh/Paneka-discord-bot
0ec257e92e40baf23233711c9cf9889e8c56ab53
[ "MIT" ]
6
2020-08-06T10:41:49.000Z
2022-02-14T17:26:07.000Z
class InvalidLimitException(Exception): """ Invalid number of matches requested """ pass class InvalidLeagueCodeException(Exception): """ The League code requested is either invalid or not supported """ pass class InvalidTeamCodeException(Exception): """ The Team Code requested...
17.55
64
0.672365
33
351
7.151515
0.606061
0.076271
0.127119
0
0
0
0
0
0
0
0
0
0.250712
351
19
65
18.473684
0.897338
0.373219
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
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
0
1
1
0
0
0
0
0
2
f26337b1b3af5eb32cdd87718a2212d8a63d5996
6,187
py
Python
nz_snow_tools/eval/brewster_calibration_TF.py
jonoconway/nz_snow_tools
7002fb401fb48225260fada6fd5b5b7ca5ad1184
[ "MIT" ]
3
2020-09-01T07:53:05.000Z
2021-02-02T20:28:37.000Z
nz_snow_tools/eval/brewster_calibration_TF.py
jonoconway/nz_snow_tools
7002fb401fb48225260fada6fd5b5b7ca5ad1184
[ "MIT" ]
null
null
null
nz_snow_tools/eval/brewster_calibration_TF.py
jonoconway/nz_snow_tools
7002fb401fb48225260fada6fd5b5b7ca5ad1184
[ "MIT" ]
null
null
null
""" code to call the snow model for a simple test case using brewster glacier data """ from __future__ import division import numpy as np import matplotlib.pylab as plt import datetime as dt from nz_snow_tools.util.utils import resample_to_fsca, nash_sut, mean_bias, rmsd, mean_absolute_error, coef_determ seb_dat = np...
38.66875
216
0.725715
1,369
6,187
2.996348
0.148283
0.073135
0.109703
0.164554
0.732569
0.713554
0.686738
0.66236
0.614334
0.608971
0
0.055776
0.104574
6,187
160
217
38.66875
0.684657
0.157265
0
0.292683
0
0
0.148698
0.028158
0
0
0
0
0
1
0.00813
false
0
0.04878
0.00813
0.065041
0.089431
0
0
0
null
0
0
1
0
1
0
0
0
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
3
f263d10e4b0315d66a52d4a47d9ce8cba72ce9a2
336
py
Python
Task1F.py
momopmoXZ/1a-flood-coding
13d2f6387e136f046b07a045eadfe654e9c2c27f
[ "MIT" ]
null
null
null
Task1F.py
momopmoXZ/1a-flood-coding
13d2f6387e136f046b07a045eadfe654e9c2c27f
[ "MIT" ]
null
null
null
Task1F.py
momopmoXZ/1a-flood-coding
13d2f6387e136f046b07a045eadfe654e9c2c27f
[ "MIT" ]
1
2022-02-07T17:04:41.000Z
2022-02-07T17:04:41.000Z
from floodsystem.stationdata import build_station_list from floodsystem.station import inconsistent_typical_range_stations stations = build_station_list() incon_station=inconsistent_typical_range_stations(stations) incon_names=[] for station in incon_station: incon_names.append(station.name) incon_names.sort() prin...
33.6
67
0.863095
44
336
6.227273
0.431818
0.145985
0.116788
0.233577
0.291971
0
0
0
0
0
0
0
0.074405
336
9
68
37.333333
0.881029
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0.111111
0
0
0
null
0
0
1
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
0
0
0
0
2
f263dc6e6df0ca9888bd8e9bcfdb5d8ed564b445
507
py
Python
yaga_ga/evolutionary_algorithm/operators/base.py
alessandrolenzi/yaga
872503ad04a2831135143750bc309188e5685284
[ "MIT" ]
null
null
null
yaga_ga/evolutionary_algorithm/operators/base.py
alessandrolenzi/yaga
872503ad04a2831135143750bc309188e5685284
[ "MIT" ]
null
null
null
yaga_ga/evolutionary_algorithm/operators/base.py
alessandrolenzi/yaga
872503ad04a2831135143750bc309188e5685284
[ "MIT" ]
null
null
null
from typing import Generic, TypeVar from typing_extensions import Final from yaga_ga.evolutionary_algorithm.individuals import IndividualStructure class InvalidOperatorError(ValueError): pass IndividualType = TypeVar("IndividualType") GeneType = TypeVar("GeneType") class GeneticOperator(Generic[IndividualTy...
24.142857
81
0.792899
47
507
8.340426
0.531915
0.168367
0.117347
0
0
0
0
0
0
0
0
0
0.142012
507
20
82
25.35
0.901149
0
0
0
0
0
0.043393
0
0
0
0
0
0
1
0.083333
false
0.083333
0.25
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
0
0
1
0
0
0
0
0
1
f2647ec6e2d3b985a5cc52948c24f37ae5751457
3,973
py
Python
stimuli.py
lieke2020/workmate_match
803f4e3b1fa62280cc0d6a7cd61eb80929dae918
[ "MIT" ]
null
null
null
stimuli.py
lieke2020/workmate_match
803f4e3b1fa62280cc0d6a7cd61eb80929dae918
[ "MIT" ]
null
null
null
stimuli.py
lieke2020/workmate_match
803f4e3b1fa62280cc0d6a7cd61eb80929dae918
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Dec 1 13:21:44 2021 This file holds the stimuli that are used in the world to represent cues. obs_time --> Stimulus representing time match_cifar --> Natural scenes for phase 1 learning obs_cifar --> Natural scenes for phase 2 learning match_alp...
37.838095
100
0.683614
620
3,973
4.327419
0.377419
0.023854
0.013418
0.025345
0.115542
0.022363
0
0
0
0
0
0.031409
0.206645
3,973
104
101
38.201923
0.819797
0.532343
0
0
0
0
0.02426
0.01716
0
0
0
0
0
1
0.111111
false
0
0.111111
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
f2661fcc769c20d3c2e052ada4cb40f950039d1a
675
py
Python
tallerestructurasselectivas/14.py
juandab07/Algoritmos-y-programacion
f3c10f5c4620b15432ecfe2b9f5831437a49ace9
[ "MIT" ]
null
null
null
tallerestructurasselectivas/14.py
juandab07/Algoritmos-y-programacion
f3c10f5c4620b15432ecfe2b9f5831437a49ace9
[ "MIT" ]
null
null
null
tallerestructurasselectivas/14.py
juandab07/Algoritmos-y-programacion
f3c10f5c4620b15432ecfe2b9f5831437a49ace9
[ "MIT" ]
null
null
null
print('ingrese el monto a pagar en aseo urbano') aseo=float(input()) print('ingrese el valor de lectura del mes anterior') ant=float(input()) print('ingrese el valor de lectura del mes actual') act=float(input()) cons=act-ant if 0<cons<=100: pago=cons*4600 print('debera pagar $',pago,'en luz electrica y',aseo,'...
35.526316
75
0.694815
114
675
4.114035
0.324561
0.063966
0.127932
0.170576
0.635394
0.635394
0.635394
0.635394
0.635394
0.635394
0
0.06993
0.152593
675
19
76
35.526316
0.75
0
0
0.210526
0
0
0.457101
0
0
0
0
0
0
1
0
false
0
0
0
0
0.368421
0
0
0
null
0
0
1
0
0
0
0
0
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
2
f2684fd08fdc8ebf74875458af9886f1554c5e7c
1,040
py
Python
meilisearch/tests/test_synonyms_meilisearch.py
jtmiclat/meilisearch-python
b6a48a62bb64ae58181550a0ddc793dcdc0a2b06
[ "MIT" ]
null
null
null
meilisearch/tests/test_synonyms_meilisearch.py
jtmiclat/meilisearch-python
b6a48a62bb64ae58181550a0ddc793dcdc0a2b06
[ "MIT" ]
null
null
null
meilisearch/tests/test_synonyms_meilisearch.py
jtmiclat/meilisearch-python
b6a48a62bb64ae58181550a0ddc793dcdc0a2b06
[ "MIT" ]
null
null
null
import time import meilisearch from meilisearch.tests import BASE_URL, MASTER_KEY class TestSynonyms: client = meilisearch.Client(BASE_URL, MASTER_KEY) index = None new_synonyms = { 'hp': ['harry potter'] } default_synonyms = {} def setup_class(self): self.index = self.client.c...
28.888889
64
0.674038
120
1,040
5.658333
0.333333
0.079529
0.100147
0.106038
0.430044
0.326951
0.182622
0.182622
0.182622
0
0
0.001259
0.236538
1,040
35
65
29.714286
0.853904
0
0
0.241379
0
0
0.036538
0
0
0
0
0
0.241379
1
0.172414
false
0
0.103448
0
0.448276
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
f2689ab69abc970864477a6211da1d0af11f1927
168
py
Python
main.py
dansoliveira/pasc-compiler
642f2745395dcc5b4ebbdd1fa83169362f863e61
[ "MIT" ]
null
null
null
main.py
dansoliveira/pasc-compiler
642f2745395dcc5b4ebbdd1fa83169362f863e61
[ "MIT" ]
1
2018-05-10T13:03:04.000Z
2018-05-10T13:03:04.000Z
main.py
dansoliveira/pasc-compiler
642f2745395dcc5b4ebbdd1fa83169362f863e61
[ "MIT" ]
null
null
null
from lexer import Lexer from parser import Parser if __name__ == "__main__": lexer = Lexer("exemplos/teste2.pasc") parser = Parser(lexer) parser.executa()
21
41
0.702381
21
168
5.238095
0.52381
0
0
0
0
0
0
0
0
0
0
0.007353
0.190476
168
8
42
21
0.801471
0
0
0
0
0
0.16568
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
f26a5c6b870f2f9eb67aa2735878c21021be7143
324
py
Python
leetcode/easy/plus-one.py
vtemian/interviews-prep
ddef96b5ecc699a590376a892a804c143fe18034
[ "Apache-2.0" ]
8
2019-05-14T12:50:29.000Z
2022-03-01T09:08:27.000Z
leetcode/easy/plus-one.py
vtemian/interviews-prep
ddef96b5ecc699a590376a892a804c143fe18034
[ "Apache-2.0" ]
46
2019-03-24T20:59:29.000Z
2019-04-09T16:28:43.000Z
leetcode/easy/plus-one.py
vtemian/interviews-prep
ddef96b5ecc699a590376a892a804c143fe18034
[ "Apache-2.0" ]
1
2022-01-28T12:46:29.000Z
2022-01-28T12:46:29.000Z
class Solution: def plusOne(self, digits: List[int]) -> List[int]: carry = 1 result = [] for digit in digits[::-1]: digit += carry result.append(digit % 10) carry = digit // 10 if carry: result.append(carry) return result[::...
20.25
54
0.475309
35
324
4.4
0.514286
0.090909
0.220779
0
0
0
0
0
0
0
0
0.036082
0.401235
324
15
55
21.6
0.757732
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.272727
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
0
0
0
0
0
0
0
0
1
f26a6e2aee87a0b97e130dc33aaab4654d6c6049
69
py
Python
microdevices/connector/__init__.py
lmokto/microdevices
75a129d1c32f64afe9027338c4be304322ded857
[ "MIT" ]
null
null
null
microdevices/connector/__init__.py
lmokto/microdevices
75a129d1c32f64afe9027338c4be304322ded857
[ "MIT" ]
1
2021-06-02T00:01:14.000Z
2021-06-02T00:01:14.000Z
microdevices/connector/__init__.py
lmokto/microdevices
75a129d1c32f64afe9027338c4be304322ded857
[ "MIT" ]
null
null
null
from .mqtt import MQTTClient from .sql import * from .redis import *
17.25
28
0.753623
10
69
5.2
0.6
0
0
0
0
0
0
0
0
0
0
0
0.173913
69
3
29
23
0.912281
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
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
1
0
1
0
1
0
0
5
f26a8afeac7319e72d66512791f4976ac936a01f
1,275
py
Python
examples/1-marshmallow/server/resources/user/schema.py
FlyingBird95/openapi_generator
df4649b9723eb89fa370b02220356b7596794069
[ "MIT" ]
3
2022-01-10T12:43:36.000Z
2022-01-13T18:08:15.000Z
examples/1-marshmallow/server/resources/user/schema.py
FlyingBird95/openapi_generator
df4649b9723eb89fa370b02220356b7596794069
[ "MIT" ]
6
2022-02-06T19:00:05.000Z
2022-03-22T14:22:21.000Z
examples/1-marshmallow/server/resources/user/schema.py
FlyingBird95/openapi-builder
df4649b9723eb89fa370b02220356b7596794069
[ "MIT" ]
2
2021-12-17T17:26:06.000Z
2021-12-17T17:39:00.000Z
from marshmallow import Schema, fields class RegisterUser(Schema): """Deserialize register user schema.""" email = fields.Email(required=True) """Email.""" first_name = fields.String(required=True) """First name.""" last_name = fields.String(required=True) """Last name.""" password...
19.615385
71
0.620392
137
1,275
5.708029
0.364964
0.138107
0.122762
0.122762
0.360614
0.223785
0.094629
0
0
0
0
0
0.212549
1,275
64
72
19.921875
0.778884
0.134902
0
0
0
0
0.006889
0
0
0
0
0
0
1
0.045455
false
0.090909
0.045455
0.045455
0.954545
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
1
0
0
2
f26cee0b9842c7bd2fa3f00e76d7e1a08850c951
450
py
Python
coloredterm/__init__.py
hostedposted/coloredterm
72d07a0bd12eb797e4b2772dfe45aca5234d27b6
[ "MIT" ]
1
2021-02-12T01:21:44.000Z
2021-02-12T01:21:44.000Z
coloredterm/__init__.py
hostedposted/coloredterm
72d07a0bd12eb797e4b2772dfe45aca5234d27b6
[ "MIT" ]
4
2021-07-07T04:09:58.000Z
2022-02-03T04:05:30.000Z
coloredterm/__init__.py
hostedposted/coloredterm
72d07a0bd12eb797e4b2772dfe45aca5234d27b6
[ "MIT" ]
1
2021-02-20T22:58:31.000Z
2021-02-20T22:58:31.000Z
"""Collection of tools for changing the text of your terminal.""" from coloredterm.coloredterm import ( Back, bg, colored, colors, cprint, fg, Fore, names, pattern_input, pattern_print, rand, Style ) __version__ = "0.1.9" __all__ = [ 'Back', 'bg', 'colored', ...
14.516129
65
0.542222
47
450
4.93617
0.638298
0.051724
0.112069
0.163793
0.594828
0.594828
0.594828
0.594828
0.594828
0.594828
0
0.00974
0.315556
450
31
66
14.516129
0.743506
0.131111
0
0
0
0
0.196891
0
0
0
0
0
0
1
0
false
0
0.034483
0
0.034483
0.137931
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
f26e13939dbd7efae31817537aae9cd55a260550
1,706
py
Python
src/export_as_csv.py
mustilica/tt-history
1bb60cb81e97ef1abecf657cfa078798bb29cace
[ "MIT" ]
26
2015-02-12T20:33:01.000Z
2018-04-25T05:29:52.000Z
src/export_as_csv.py
mustilica/tt-history
1bb60cb81e97ef1abecf657cfa078798bb29cace
[ "MIT" ]
3
2019-11-27T18:19:23.000Z
2020-11-26T08:53:13.000Z
src/export_as_csv.py
mustilica/tt-history
1bb60cb81e97ef1abecf657cfa078798bb29cace
[ "MIT" ]
8
2015-01-11T00:12:40.000Z
2018-04-01T22:34:45.000Z
# Run from GAE remote API: # {GAE Path}\remote_api_shell.py -s {YourAPPName}.appspot.com # import export_as_csv import csv from google.appengine.ext import db from google.appengine.ext.db import GqlQuery def exportToCsv(query, csvFileName, delimiter): with open(csvFileName, 'wb') as csvFile: csvWriter ...
28.433333
74
0.622509
176
1,706
6
0.5
0.048295
0.035985
0.041667
0
0
0
0
0
0
0
0.005691
0.279015
1,706
59
75
28.915254
0.852846
0.100821
0
0
0
0
0.103471
0.017027
0
0
0
0
0
0
null
null
0
0.081081
null
null
0.054054
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
f26f15c108eabe8ae9328cc4ea34ff13c08d0947
950
py
Python
main.py
AbhigyanRanjan0505/dvigyuoixfhybiocthgnkfi
db1b5198f1a0902aff21c74c58578dcb1feda39d
[ "MIT" ]
null
null
null
main.py
AbhigyanRanjan0505/dvigyuoixfhybiocthgnkfi
db1b5198f1a0902aff21c74c58578dcb1feda39d
[ "MIT" ]
null
null
null
main.py
AbhigyanRanjan0505/dvigyuoixfhybiocthgnkfi
db1b5198f1a0902aff21c74c58578dcb1feda39d
[ "MIT" ]
null
null
null
import plotly.figure_factory as figure_factory import statistics import random import pandas df = pandas.read_csv("data.csv") data = df["reading_time"].tolist() population_mean = statistics.mean(data) print("Population mean :", population_mean) def show_fig(mean_list): df = mean_list fig = fig...
22.093023
52
0.648421
126
950
4.650794
0.365079
0.081911
0.09215
0.051195
0.040956
0
0
0
0
0
0
0.011127
0.243158
950
42
53
22.619048
0.803894
0
0
0
0
0
0.070485
0
0
0
0
0
0
1
0.1
false
0
0.133333
0
0.266667
0.066667
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
f26f70f686db6ff49ef92baf12b70818b5613277
209
py
Python
ddtrace/contrib/sqlite3/connection.py
sharov/dd-trace-py
d0995b49cf7147ab463d0a67a38779fad3f539b4
[ "BSD-3-Clause" ]
1
2019-11-24T23:09:29.000Z
2019-11-24T23:09:29.000Z
ddtrace/contrib/sqlite3/connection.py
sharov/dd-trace-py
d0995b49cf7147ab463d0a67a38779fad3f539b4
[ "BSD-3-Clause" ]
null
null
null
ddtrace/contrib/sqlite3/connection.py
sharov/dd-trace-py
d0995b49cf7147ab463d0a67a38779fad3f539b4
[ "BSD-3-Clause" ]
2
2017-05-27T05:58:36.000Z
2019-02-07T13:38:53.000Z
from sqlite3 import Connection from ddtrace.util import deprecated @deprecated(message='Use patching instead (see the docs).', version='0.6.0') def connection_factory(*args, **kwargs): return Connection
26.125
76
0.76555
28
209
5.678571
0.785714
0
0
0
0
0
0
0
0
0
0
0.021858
0.124402
209
7
77
29.857143
0.846995
0
0
0
0
0
0.196172
0
0
0
0
0
0
1
0.2
true
0
0.4
0.2
0.8
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
1
0
1
1
1
0
0
6
f27341117d08bd618bf3ac5014feb6d7ff7d069e
801
py
Python
kafka_client_decorators/util/logging_helper.py
cdsedson/kafka-decorator
f2c958df88c5698148aae4c5314dd39e31e995c3
[ "MIT" ]
null
null
null
kafka_client_decorators/util/logging_helper.py
cdsedson/kafka-decorator
f2c958df88c5698148aae4c5314dd39e31e995c3
[ "MIT" ]
null
null
null
kafka_client_decorators/util/logging_helper.py
cdsedson/kafka-decorator
f2c958df88c5698148aae4c5314dd39e31e995c3
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # -*- coding: utf-8 -*- """Define function used on logging.""" import logging __KAFKA_DECORATOR_DEBUG__ = None def set_debug_level(level): """Set the level of log. Set logging level for all loggers create by get_logger function Parameters ---------- level: log level def...
19.536585
67
0.636704
93
801
5.11828
0.494624
0.147059
0.19958
0
0
0
0
0
0
0
0
0.003384
0.262172
801
40
68
20.025
0.80203
0.475655
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.1
0
0.4
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
0
0
0
0
0
0
0
0
1
f2738d7e2edb6f5a98849ea7773345dc1a404833
1,409
py
Python
hseling_lib_diachrony_webvectors/hseling_lib_diachrony_webvectors/strings_reader.py
wadimiusz/hseling-repo-diachrony-webvectors
5488d74141df360a6a721637ae7c7577136172d7
[ "MIT" ]
null
null
null
hseling_lib_diachrony_webvectors/hseling_lib_diachrony_webvectors/strings_reader.py
wadimiusz/hseling-repo-diachrony-webvectors
5488d74141df360a6a721637ae7c7577136172d7
[ "MIT" ]
null
null
null
hseling_lib_diachrony_webvectors/hseling_lib_diachrony_webvectors/strings_reader.py
wadimiusz/hseling-repo-diachrony-webvectors
5488d74141df360a6a721637ae7c7577136172d7
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding:utf8 """ this module reads strings.csv, which contains all the strings, and lets the main app use it """ import sys import csv import os from flask import Markup import configparser config = configparser.RawConfigParser() path = '../hseling_api_diachrony_webvectors/hseling_api_diachron...
32.022727
104
0.721079
187
1,409
5.315508
0.524064
0.065392
0.038229
0.05835
0.124748
0.06841
0.06841
0.06841
0.06841
0
0
0.010815
0.146913
1,409
43
105
32.767442
0.81614
0.220724
0
0
0
0
0.239852
0.140221
0
0
0
0
0.038462
1
0
false
0
0.192308
0
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
f274273a939d4c8377fbaeb7efafd00e9604432e
1,077
py
Python
day 5&6/linked list.py
yogeshkhola/100daysofDSA
93f0d30d718795e4e3eb5d8e677b87baebd0df7c
[ "MIT" ]
3
2021-03-01T17:04:33.000Z
2021-03-01T17:44:23.000Z
day 5&6/linked list.py
yogeshkhola/100daysofDSA
93f0d30d718795e4e3eb5d8e677b87baebd0df7c
[ "MIT" ]
null
null
null
day 5&6/linked list.py
yogeshkhola/100daysofDSA
93f0d30d718795e4e3eb5d8e677b87baebd0df7c
[ "MIT" ]
null
null
null
class node: def __init__(self,data): self.data=data self.next=None class LinkedList: def __init__(self): self.start=None #(self/head) def viewList(self):#this function print the whole list if self.start==None: print("list is empty") else: temp...
21.54
58
0.571959
126
1,077
4.825397
0.285714
0.148026
0.085526
0.074013
0.215461
0.149671
0.092105
0
0
0
0
0.013587
0.31662
1,077
50
59
21.54
0.8125
0.056639
0
0.282051
0
0
0.033531
0
0
0
0
0
0
1
0.128205
false
0
0
0
0.179487
0.102564
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
f2765c1d1962f66a204431e4dc547e6e1d4a52be
40,603
py
Python
detex/getdata.py
d-chambers/Detex
46602eb8e05e080a23111c8f2716065a016613c2
[ "BSD-3-Clause" ]
39
2015-08-15T20:10:14.000Z
2022-03-17T00:41:57.000Z
detex/getdata.py
d-chambers/Detex
46602eb8e05e080a23111c8f2716065a016613c2
[ "BSD-3-Clause" ]
39
2015-09-28T23:50:59.000Z
2019-07-16T20:38:31.000Z
detex/getdata.py
d-chambers/Detex
46602eb8e05e080a23111c8f2716065a016613c2
[ "BSD-3-Clause" ]
8
2015-10-08T20:43:40.000Z
2020-08-05T22:47:45.000Z
# -*- coding: utf-8 -*- """ Created on Thu Nov 10 20:21:46 2015 @author: derrick """ from __future__ import print_function, absolute_import, unicode_literals, division import glob import itertools import json import os import random import numpy as np import obspy import pandas as pd from six import string_types im...
38.929051
102
0.582174
4,924
40,603
4.749594
0.152924
0.010604
0.015906
0.019883
0.263565
0.213537
0.177107
0.159661
0.13127
0.09672
0
0.009421
0.325493
40,603
1,042
103
38.966411
0.844525
0.292146
0
0.280788
0
0
0.078739
0
0
0
0
0
0
1
0.045977
false
0.001642
0.022989
0
0.131363
0.001642
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
f2766a9a2df58d6c9fe0fc41dab441157d2a7a7d
4,850
py
Python
HouseHunter/core.py
JGBMichalski/House-Hunter
7ad1e866907545b8e2302c1a775cadbd8f807ad9
[ "MIT" ]
null
null
null
HouseHunter/core.py
JGBMichalski/House-Hunter
7ad1e866907545b8e2302c1a775cadbd8f807ad9
[ "MIT" ]
null
null
null
HouseHunter/core.py
JGBMichalski/House-Hunter
7ad1e866907545b8e2302c1a775cadbd8f807ad9
[ "MIT" ]
null
null
null
from tarfile import SUPPORTED_TYPES import requests import re from bs4 import BeautifulSoup import json import HouseHunter.globals as Globals from HouseHunter.ad import * from pathlib import Path class Core(): def __init__(self, filename="ads.json"): self.filepath = Path().absolute().joinpath(filename) if...
34.15493
142
0.583711
639
4,850
4.283255
0.250391
0.04019
0.018268
0.021922
0.299963
0.267081
0.194008
0.174278
0.174278
0.174278
0
0.003361
0.325155
4,850
141
143
34.397163
0.832875
0.185979
0
0.168539
0
0
0.028775
0
0
0
0
0
0
1
0.101124
false
0
0.089888
0.011236
0.325843
0.011236
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
f27a87d9305d94ef4ecc93fe8c501738b9c6465e
582
py
Python
recipes/Python/474122_neat/recipe-474122.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/474122_neat/recipe-474122.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/474122_neat/recipe-474122.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
# nice and clean closure notation def get_counter_neat(): def f(): f.x += 1 return f.x f.x = 0 return f # traditional, not_so_neat closure notation def get_counter_traditional(): x = [0] def f(): x[0] += 1 return x[0] return f #### EXAMPLE ######################...
20.068966
72
0.487973
83
582
3.192771
0.301205
0.211321
0.135849
0.158491
0.211321
0
0
0
0
0
0
0.030588
0.269759
582
28
73
20.785714
0.592941
0.213058
0
0.52381
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.333333
0
0
0
null
1
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
2