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
02ea8a60e7840d4f7b67bdd44f8d57e4d9bb067a
226
py
Python
randompassword.py
secginelif/python_algoritma1
e132e9fbd30fb56a04734333c22bb5703c10c811
[ "MIT" ]
null
null
null
randompassword.py
secginelif/python_algoritma1
e132e9fbd30fb56a04734333c22bb5703c10c811
[ "MIT" ]
null
null
null
randompassword.py
secginelif/python_algoritma1
e132e9fbd30fb56a04734333c22bb5703c10c811
[ "MIT" ]
null
null
null
from random import choice karakterler = ["a","b","c",1,2,3] uzunluk =int(input("Karakter uzunluğunu giriniz: ")) sifre = "" for i in range(uzunluk): sifre += str(choice(karakterler)) print("Şifreniz {} ".format(sifre))
20.545455
52
0.668142
31
226
4.870968
0.83871
0.225166
0
0
0
0
0
0
0
0
0
0.015464
0.141593
226
11
53
20.545455
0.762887
0
0
0
0
0
0.193833
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.142857
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
02f7eb5b60e1d7585b5358d007bec67bf1e3a320
667
py
Python
alertaclient/models/customer.py
melor/python-alerta-client
fc3e180ccd9c428d06e9e40a43d59d6e691060cf
[ "MIT" ]
null
null
null
alertaclient/models/customer.py
melor/python-alerta-client
fc3e180ccd9c428d06e9e40a43d59d6e691060cf
[ "MIT" ]
null
null
null
alertaclient/models/customer.py
melor/python-alerta-client
fc3e180ccd9c428d06e9e40a43d59d6e691060cf
[ "MIT" ]
null
null
null
class Customer(object): def __init__(self, match, customer, **kwargs): self.id = kwargs.get('id', None) self.match = match self.customer = customer def __repr__(self): return 'Customer(id=%r, match=%r, customer=%r)' % ( self.id, self.match, self.customer) @cla...
24.703704
59
0.52024
73
667
4.643836
0.260274
0.106195
0.100295
0
0
0
0
0
0
0
0
0
0.337331
667
26
60
25.653846
0.766968
0
0
0
0
0
0.105105
0
0
0
0
0
0
1
0.190476
false
0
0
0.142857
0.380952
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
1
0
0
0
1
02fb630664950a095267ed1eccdddd4df46a0618
492
py
Python
modules/module_lists_strings.py
Innovation-DOOEL-Skopje/GLYCO-LongTerm-and-Instantaneous-Glucose-Prediction-from-HRV
8d4a6f1ff91e0fd17783618d92475f2758b3934c
[ "MIT" ]
null
null
null
modules/module_lists_strings.py
Innovation-DOOEL-Skopje/GLYCO-LongTerm-and-Instantaneous-Glucose-Prediction-from-HRV
8d4a6f1ff91e0fd17783618d92475f2758b3934c
[ "MIT" ]
null
null
null
modules/module_lists_strings.py
Innovation-DOOEL-Skopje/GLYCO-LongTerm-and-Instantaneous-Glucose-Prediction-from-HRV
8d4a6f1ff91e0fd17783618d92475f2758b3934c
[ "MIT" ]
null
null
null
import re from typing import List # class MyList(): # # my_list: List # # def __init__(self): def sortl_list_of_strings_alphanumerically(list_of_strings: List[str]) -> list: convert = lambda text: float(text) if text.isdigit() else text alphanum = lambda key: [convert(c) for c in re.split(r'([-+]?[...
8.945455
89
0.628049
68
492
4.294118
0.529412
0.10274
0.222603
0
0
0
0
0
0
0
0
0.010667
0.237805
492
54
90
9.111111
0.768
0.115854
0
0
0
0
0.055838
0.055838
0
0
0
0
0
1
0.125
false
0
0.25
0
0.5
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
02fe7b01d09b8287da4f6bea18f583d730c2cae0
442
py
Python
rllib/algorithms/marwil/__init__.py
jianoaix/ray
1701b923bc83905f8961c06a6a173e3eba46a936
[ "Apache-2.0" ]
null
null
null
rllib/algorithms/marwil/__init__.py
jianoaix/ray
1701b923bc83905f8961c06a6a173e3eba46a936
[ "Apache-2.0" ]
41
2021-09-21T01:13:48.000Z
2022-03-19T07:12:22.000Z
rllib/algorithms/marwil/__init__.py
jianoaix/ray
1701b923bc83905f8961c06a6a173e3eba46a936
[ "Apache-2.0" ]
null
null
null
from ray.rllib.algorithms.marwil.marwil import ( DEFAULT_CONFIG, MARWIL, MARWILConfig, ) from ray.rllib.algorithms.marwil.marwil_tf_policy import ( MARWILTF1Policy, MARWILTF2Policy, ) from ray.rllib.algorithms.marwil.marwil_torch_policy import MARWILTorchPolicy __all__ = [ "MARWIL", "MARWIL...
21.047619
77
0.719457
41
442
7.512195
0.414634
0.068182
0.116883
0.214286
0.331169
0.331169
0
0
0
0
0
0.01105
0.180995
442
20
78
22.1
0.839779
0.024887
0
0
0
0
0.184149
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
02fe87845fb07fcdeb5f9a8489cf425b75a78aa1
3,651
py
Python
tests/testutils/repo/git.py
doraskayo/buildstream
1c72d4342ae7df360808de22c5e49f55dbb6bec6
[ "Apache-2.0" ]
null
null
null
tests/testutils/repo/git.py
doraskayo/buildstream
1c72d4342ae7df360808de22c5e49f55dbb6bec6
[ "Apache-2.0" ]
null
null
null
tests/testutils/repo/git.py
doraskayo/buildstream
1c72d4342ae7df360808de22c5e49f55dbb6bec6
[ "Apache-2.0" ]
null
null
null
import os import shutil import subprocess import pytest from buildstream.testing import Repo from buildstream.testing._utils.site import GIT, GIT_ENV, HAVE_GIT class Git(Repo): def __init__(self, directory, subdir="repo"): if not HAVE_GIT: pytest.skip("git is not available") self.su...
33.190909
114
0.620926
469
3,651
4.646055
0.221748
0.055071
0.087196
0.070675
0.236347
0.163378
0.078935
0.047728
0
0
0
0
0.236374
3,651
109
115
33.495413
0.781564
0.022734
0
0.085366
0
0
0.096213
0
0
0
0
0
0
1
0.219512
false
0
0.073171
0.036585
0.45122
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
f3009917e24847343b3811e4268bf5516cdb94df
709
py
Python
populator/hashfilegen.py
c1moore/cen3031project
0b525756f96ad63245c94bb83797d1f7a801dd64
[ "Apache-2.0", "MIT" ]
null
null
null
populator/hashfilegen.py
c1moore/cen3031project
0b525756f96ad63245c94bb83797d1f7a801dd64
[ "Apache-2.0", "MIT" ]
5
2015-04-06T15:41:16.000Z
2015-07-08T13:23:37.000Z
populator/hashfilegen.py
c1moore/cen3031project
0b525756f96ad63245c94bb83797d1f7a801dd64
[ "Apache-2.0", "MIT" ]
null
null
null
#!/usr/bin/python3 -B #Script that was used to create hashfile.dat, containing a salt and password #You must first create a single valid user in the database for me to locate #Assumes that the plaintext password was "password" in User.py from Util import getPymongoDB import pickle import base64 def main(): db = ge...
28.36
103
0.736248
115
709
4.469565
0.66087
0.042802
0.046693
0.062257
0
0
0
0
0
0
0
0.006723
0.16079
709
24
104
29.541667
0.857143
0.479549
0
0
0
0
0.3241
0
0
0
0
0
0
1
0.090909
false
0.090909
0.272727
0
0.363636
0.090909
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
f300fe771d2be8306fdd3f18411245b712fa0d07
7,698
py
Python
src/dishwasher_segmentation.py
saintaardvark/dishwasher_loading_critic
80fce78779c0bf860669136336ca3e05dc5637fe
[ "MIT" ]
null
null
null
src/dishwasher_segmentation.py
saintaardvark/dishwasher_loading_critic
80fce78779c0bf860669136336ca3e05dc5637fe
[ "MIT" ]
null
null
null
src/dishwasher_segmentation.py
saintaardvark/dishwasher_loading_critic
80fce78779c0bf860669136336ca3e05dc5637fe
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Following along with: https://www.learnopencv.com/pytorch-for-beginners-semantic-segmentation-using-torchvision/ # Generated by https://traingenerator.jrieke.com/ # Before running, install required packages: # pip install numpy torch torchvision pytorch-ignite from pathlib import Path import ...
33.615721
114
0.566381
926
7,698
4.604752
0.346652
0.005159
0.027908
0.011257
0.161116
0.112336
0.080441
0.060038
0.042683
0.042683
0
0.050389
0.265264
7,698
228
115
33.763158
0.703501
0.397116
0
0.079208
1
0.009901
0.100508
0.062735
0
0
0
0
0
1
0.049505
false
0
0.118812
0
0.19802
0.049505
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
f30684d4ba3afa30ea014e3e60ef4d7419fa9532
257
py
Python
recipes/Python/148291_Behavior_like_list_object_carried_out/recipe-148291.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/148291_Behavior_like_list_object_carried_out/recipe-148291.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/148291_Behavior_like_list_object_carried_out/recipe-148291.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
class Listlike: def __init__(self): self.list = [1, 2, 3, 4, 5] def __getitem__(self, index): return self.list[index] def __len__(self): return len(self.list) >>> listlike = Listlike() >>> list(listlike) [1, 2, 3, 4, 5]
21.416667
35
0.571984
36
257
3.75
0.416667
0.177778
0.044444
0.059259
0.074074
0
0
0
0
0
0
0.05291
0.264591
257
11
36
23.363636
0.661376
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
1
f30a6983589fc23f8ed5369c05139451989d6f2d
1,581
py
Python
steam_friends/tests/views/test_main.py
WyseNynja/steam_friends
06d0f1f59c5a18e4a070657566de224b15bffa71
[ "MIT" ]
3
2015-11-30T13:58:51.000Z
2017-12-29T00:32:03.000Z
steam_friends/tests/views/test_main.py
WyseNynja/steam_friends
06d0f1f59c5a18e4a070657566de224b15bffa71
[ "MIT" ]
null
null
null
steam_friends/tests/views/test_main.py
WyseNynja/steam_friends
06d0f1f59c5a18e4a070657566de224b15bffa71
[ "MIT" ]
null
null
null
from __future__ import absolute_import, print_function import pytest def test_error_handler(flask_app): # disable testing so we use our error handler flask_app.testing = False c = flask_app.test_client() rv = c.get('/test/error') print(rv.data) assert "Caught unhandled exception:" in rv.da...
26.79661
112
0.703352
241
1,581
4.423237
0.290456
0.084428
0.123827
0.091932
0.648218
0.648218
0.625704
0.595685
0.564728
0.564728
0
0.029319
0.201771
1,581
58
113
27.258621
0.815372
0.074636
0
0.513514
0
0
0.266118
0.020576
0
0
0
0.017241
0.297297
1
0.135135
false
0
0.054054
0
0.189189
0.135135
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
f30f0e693b3420b3e017b0d4e6fcfc33bc6d7e09
307
py
Python
aula11/exercicio2.py
otaviobizulli/python-exercices
2c61f014bf481fa463721b174ddd4238bf8d0cb3
[ "MIT" ]
null
null
null
aula11/exercicio2.py
otaviobizulli/python-exercices
2c61f014bf481fa463721b174ddd4238bf8d0cb3
[ "MIT" ]
null
null
null
aula11/exercicio2.py
otaviobizulli/python-exercices
2c61f014bf481fa463721b174ddd4238bf8d0cb3
[ "MIT" ]
null
null
null
from random import sample cont1 = 16 cont = 1 m = [] for i in range(5): for j in range(5): m.append(sample(range(cont, cont1), 5)) cont += 15 cont1 += 15 print() m[2][2] = '🍀' for i in range(5): for j in range(5): print(f'{m[j][i]:2}',end=' ',) print()
13.954545
47
0.488599
53
307
2.849057
0.415094
0.18543
0.211921
0.145695
0.317881
0.317881
0.317881
0.317881
0.317881
0.317881
0
0.086538
0.322476
307
21
48
14.619048
0.634615
0
0
0.4
0
0
0.042623
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.2
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
f30faef3ef6e620c515f867c4b602c3c4dd2a9ee
3,328
py
Python
test/test_logistic.py
tbrx/probtorch
bdbd87c57a75a984dd430f6161d14533135a3e0f
[ "Apache-2.0" ]
null
null
null
test/test_logistic.py
tbrx/probtorch
bdbd87c57a75a984dd430f6161d14533135a3e0f
[ "Apache-2.0" ]
null
null
null
test/test_logistic.py
tbrx/probtorch
bdbd87c57a75a984dd430f6161d14533135a3e0f
[ "Apache-2.0" ]
null
null
null
import math from scipy.stats import logistic, kstest import numpy as np from probtorch.distributions.logistic import Logistic import torch from common import TestCase, run_tests, SAMPLE_COUNT from torch.autograd import Variable class TestLogistic(TestCase): def test_logprob(self): mu = Variable(torch.rand...
36.571429
77
0.552284
406
3,328
4.453202
0.226601
0.099558
0.129425
0.09292
0.576881
0.502212
0.441372
0.431969
0.40708
0.387721
0
0.023767
0.329928
3,328
90
78
36.977778
0.786996
0.096154
0
0.492958
0
0
0.005335
0
0
0
0
0.011111
0.098592
1
0.070423
false
0
0.098592
0
0.183099
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
f315c06a90c38cd18ac73eee271db9eb49da805b
3,425
py
Python
examples/turtlebot-master/draw_a_square.py
LiuSeeker/Robotica-projeto-1
425795d51232470ac840faf9dc7d97863d801554
[ "CECILL-B" ]
1
2019-07-14T21:27:21.000Z
2019-07-14T21:27:21.000Z
examples/turtlebot-master/draw_a_square.py
LiuSeeker/Robotica-projeto-1
425795d51232470ac840faf9dc7d97863d801554
[ "CECILL-B" ]
null
null
null
examples/turtlebot-master/draw_a_square.py
LiuSeeker/Robotica-projeto-1
425795d51232470ac840faf9dc7d97863d801554
[ "CECILL-B" ]
null
null
null
#!/usr/bin/env python ''' Copyright (c) 2015, Mark Silliman All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of condit...
41.26506
755
0.685547
499
3,425
4.645291
0.458918
0.012942
0.017256
0.022002
0.106126
0.085418
0.085418
0.085418
0.085418
0.085418
0
0.020116
0.245255
3,425
82
756
41.768293
0.876596
0.152701
0
0.157895
0
0
0.132807
0.015793
0
0
0
0
0
0
null
null
0
0.078947
null
null
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
1
0
0
0
0
0
0
0
0
1
f3163e378bd96fe938566843f54e4caad5c9bee4
383
py
Python
frontend/app/streamengine/streamengine/migrations/0002_channel_is_live.py
r-t-k/StreamEngine-UI
357cb138c020375e5bad1bbe07931a7a82637c0a
[ "MIT" ]
null
null
null
frontend/app/streamengine/streamengine/migrations/0002_channel_is_live.py
r-t-k/StreamEngine-UI
357cb138c020375e5bad1bbe07931a7a82637c0a
[ "MIT" ]
3
2020-07-10T23:13:24.000Z
2020-07-12T21:02:03.000Z
frontend/app/streamengine/streamengine/migrations/0002_channel_is_live.py
r-t-k/StreamEngine-UI
357cb138c020375e5bad1bbe07931a7a82637c0a
[ "MIT" ]
null
null
null
# Generated by Django 3.0.7 on 2020-07-03 18:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('streamengine', '0001_initial'), ] operations = [ migrations.AddField( model_name='channel', name='is_live', ...
20.157895
53
0.5953
40
383
5.625
0.85
0
0
0
0
0
0
0
0
0
0
0.069853
0.289817
383
18
54
21.277778
0.757353
0.117493
0
0
1
0
0.113095
0
0
0
0
0
0
1
0
false
0
0.083333
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f31c78d5841ff2b6252c88f2130b42a9a9c209ec
4,913
gyp
Python
binding.gyp
mceIdo/zeromq.js
1296ce767b92b0a016aed20e181d9e42ae02dfd0
[ "MIT" ]
null
null
null
binding.gyp
mceIdo/zeromq.js
1296ce767b92b0a016aed20e181d9e42ae02dfd0
[ "MIT" ]
null
null
null
binding.gyp
mceIdo/zeromq.js
1296ce767b92b0a016aed20e181d9e42ae02dfd0
[ "MIT" ]
null
null
null
{ 'variables': { 'zmq_shared%': 'false', 'zmq_draft%': 'false', 'zmq_no_sync_resolve%': 'false', }, 'targets': [ { 'target_name': 'libzmq', 'type': 'none', 'conditions': [ ["zmq_shared == 'false'", { 'actions': [{ 'action_name': 'build_libzmq', ...
26.994505
88
0.36495
330
4,913
5.224242
0.424242
0.017401
0.025522
0.027842
0.477378
0.461717
0.334107
0.334107
0.334107
0.334107
0
0.016749
0.465296
4,913
181
89
27.143646
0.639513
0.067372
0
0.50641
0
0.012821
0.391162
0.099759
0
0
0
0
0
1
0
true
0
0
0
0
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
0
0
0
0
0
0
1
f3278fcc1d5e7aeab1f6748f90bc80040e6fce37
1,049
py
Python
sdk/python/gittaggers.py
coolmaksat/arvados
5f571760d4b52426e39ae39d0ce5cb9b7cfb0add
[ "Apache-2.0" ]
1
2021-01-15T10:11:24.000Z
2021-01-15T10:11:24.000Z
sdk/python/gittaggers.py
coolmaksat/arvados
5f571760d4b52426e39ae39d0ce5cb9b7cfb0add
[ "Apache-2.0" ]
null
null
null
sdk/python/gittaggers.py
coolmaksat/arvados
5f571760d4b52426e39ae39d0ce5cb9b7cfb0add
[ "Apache-2.0" ]
1
2020-09-02T08:37:54.000Z
2020-09-02T08:37:54.000Z
# Copyright (C) The Arvados Authors. All rights reserved. # # SPDX-License-Identifier: Apache-2.0 from setuptools.command.egg_info import egg_info import subprocess import time class EggInfoFromGit(egg_info): """Tag the build with git commit timestamp. If a build tag has already been set (e.g., "egg_info -b"...
34.966667
80
0.639657
151
1,049
4.331126
0.589404
0.053517
0.039755
0.04893
0
0
0
0
0
0
0
0.004802
0.20591
1,049
29
81
36.172414
0.780312
0.227836
0
0
0
0
0.101394
0
0
0
0
0
0
1
0.176471
false
0
0.176471
0
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b82453c57935ae43c93b276348b51a38d3e9dd56
5,069
py
Python
pyqtgraph/parametertree/__main__.py
robertsj/poropy
481a604339c9fa797817b2b0a55448329685c1d8
[ "MIT" ]
1
2018-02-11T11:24:14.000Z
2018-02-11T11:24:14.000Z
pyqtgraph/parametertree/__main__.py
robertsj/poropy
481a604339c9fa797817b2b0a55448329685c1d8
[ "MIT" ]
1
2018-06-12T16:15:31.000Z
2018-06-12T16:15:31.000Z
pyqtgraph/parametertree/__main__.py
robertsj/poropy
481a604339c9fa797817b2b0a55448329685c1d8
[ "MIT" ]
7
2015-03-27T16:58:07.000Z
2022-01-01T17:44:02.000Z
## tests for ParameterTree ## make sure pyqtgraph is in path import sys,os md = os.path.abspath(os.path.dirname(__file__)) sys.path.append(os.path.join(md, '..', '..')) from pyqtgraph.Qt import QtCore, QtGui import collections, user app = QtGui.QApplication([]) import pyqtgraph.parametertree.parameterTypes as pTypes ...
38.112782
134
0.601302
603
5,069
5.006634
0.318408
0.032792
0.026499
0.019874
0.102021
0.087777
0.030474
0.030474
0.030474
0.030474
0
0.0225
0.21089
5,069
132
135
38.401515
0.73225
0.077136
0
0.05102
0
0
0.191978
0
0
0
0
0
0
0
null
null
0
0.061224
null
null
0.020408
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
b829f9b6e68befa7276684697d75f344ede98bab
25,935
py
Python
amazon_payments/views.py
simonkagwe/django-oscar-amazon-payments
a20d70a7352c4b30ffee342675752b14b125a463
[ "MIT" ]
7
2015-05-11T08:37:27.000Z
2021-02-08T03:45:18.000Z
amazon_payments/views.py
simonkagwe/django-oscar-amazon-payments
a20d70a7352c4b30ffee342675752b14b125a463
[ "MIT" ]
1
2020-04-16T01:38:30.000Z
2020-04-16T01:38:30.000Z
amazon_payments/views.py
simonkagwe/django-oscar-amazon-payments
a20d70a7352c4b30ffee342675752b14b125a463
[ "MIT" ]
5
2015-07-06T17:51:57.000Z
2017-08-30T09:17:48.000Z
import logging from django.core.urlresolvers import reverse, reverse_lazy from django.contrib import messages from django.conf import settings from django.utils.translation import ugettext as _ from django.shortcuts import redirect, render_to_response from django.template import RequestContext from django.views import...
44.032258
79
0.638327
2,724
25,935
5.848385
0.143539
0.043939
0.029
0.009039
0.497583
0.43588
0.391187
0.343921
0.302492
0.260624
0
0.001616
0.284211
25,935
588
80
44.107143
0.85655
0.04785
0
0.348889
0
0
0.149463
0.061571
0
0
0
0
0
0
null
null
0
0.028889
null
null
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
1
0
0
0
0
0
0
0
0
1
b82d35ea918e2f302a39a2095f448a4db1fb9dc7
5,645
py
Python
sdk/python/pulumi_aws_native/pinpoint/get_apns_sandbox_channel.py
pulumi/pulumi-aws-native
1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3
[ "Apache-2.0" ]
29
2021-09-30T19:32:07.000Z
2022-03-22T21:06:08.000Z
sdk/python/pulumi_aws_native/pinpoint/get_apns_sandbox_channel.py
pulumi/pulumi-aws-native
1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3
[ "Apache-2.0" ]
232
2021-09-30T19:26:26.000Z
2022-03-31T23:22:06.000Z
sdk/python/pulumi_aws_native/pinpoint/get_apns_sandbox_channel.py
pulumi/pulumi-aws-native
1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3
[ "Apache-2.0" ]
4
2021-11-10T19:42:01.000Z
2022-02-05T10:15:49.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __a...
39.201389
187
0.683614
665
5,645
5.466165
0.171429
0.05282
0.089133
0.074278
0.353783
0.25227
0.212105
0.10729
0.039065
0
0
0.000226
0.216829
5,645
143
188
39.475524
0.821986
0.057396
0
0.105263
1
0
0.153206
0.052014
0
0
0
0
0
1
0.114035
false
0
0.04386
0.078947
0.27193
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
b82eca55128577c9b5df39727c57d84deac062b0
703
py
Python
django/apps/adverts/migrations/0007_auto_20150924_0004.py
Haakenlid/tassen
911a2541c77eca522ba5a723f175786f4f9eb481
[ "Apache-2.0" ]
16
2017-03-21T03:53:37.000Z
2021-08-14T06:28:02.000Z
django/apps/adverts/migrations/0007_auto_20150924_0004.py
universitas/universitas.no
911a2541c77eca522ba5a723f175786f4f9eb481
[ "Apache-2.0" ]
104
2017-03-25T00:12:46.000Z
2021-03-09T22:40:58.000Z
django/apps/adverts/migrations/0007_auto_20150924_0004.py
Haakenlid/tassen
911a2541c77eca522ba5a723f175786f4f9eb481
[ "Apache-2.0" ]
6
2017-03-21T03:53:40.000Z
2020-06-07T14:15:38.000Z
from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('adverts', '0006_auto_20150303_0009'), ] operations = [ migrations.AlterField( model_name='adchannel', name='ad_formats', field=models.ManyToManyField( ...
25.107143
71
0.524893
61
703
5.901639
0.622951
0.111111
0.138889
0.161111
0
0
0
0
0
0
0
0.036281
0.372688
703
27
72
26.037037
0.780045
0
0
0.347826
0
0
0.197724
0.032717
0
0
0
0
0
1
0
false
0
0.043478
0
0.173913
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b8372294622f8b4c977adf07023c5a3e3e1783e5
1,198
py
Python
scripts/export_train/gen_pseudo_labels.py
prateeksingh0001/FlexNeuART
ebc82ca4fe01436374c595db2429bc49fb9e1dd0
[ "Apache-2.0" ]
null
null
null
scripts/export_train/gen_pseudo_labels.py
prateeksingh0001/FlexNeuART
ebc82ca4fe01436374c595db2429bc49fb9e1dd0
[ "Apache-2.0" ]
null
null
null
scripts/export_train/gen_pseudo_labels.py
prateeksingh0001/FlexNeuART
ebc82ca4fe01436374c595db2429bc49fb9e1dd0
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # This script generates pseudo-label QREL files from a previously generated import argparse import sys sys.path.append('.') from scripts.common_eval import read_run_dict, write_qrels, QrelEntry, get_sorted_scores_from_score_dict parser = argparse.ArgumentParser('Generate pseudo-QRELs from a r...
33.277778
104
0.696995
177
1,198
4.519774
0.435028
0.035
0.085
0.0475
0.185
0.1375
0
0
0
0
0
0.003077
0.186144
1,198
35
105
34.228571
0.817436
0.078464
0
0
1
0
0.194192
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
b837f34ee8a94b72c58de95c1c2eb19765871d5c
28,924
py
Python
simsoliq/legacy/post_aimd_structure.py
hheenen/SimSoliqTools
6a650b699a69a31e965fb10b4ce74d96d3ccf180
[ "MIT" ]
null
null
null
simsoliq/legacy/post_aimd_structure.py
hheenen/SimSoliqTools
6a650b699a69a31e965fb10b4ce74d96d3ccf180
[ "MIT" ]
null
null
null
simsoliq/legacy/post_aimd_structure.py
hheenen/SimSoliqTools
6a650b699a69a31e965fb10b4ce74d96d3ccf180
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys, os import numpy as np import hashlib, base64 from time import time sys.path.append('/home/cat/heenen/Workspace/TOOLS/ASE-DTU/ase') from ase.data import chemical_symbols as symbls from ase.visualize import view from ase.io import read from operator import itemgetter from itertools im...
44.430108
216
0.544669
4,293
28,924
3.532029
0.146052
0.010684
0.019389
0.023214
0.373475
0.306338
0.262085
0.239069
0.203126
0.188287
0
0.047244
0.27918
28,924
650
217
44.498462
0.680033
0.250899
0
0.183575
0
0
0.076472
0.028719
0
0
0
0.001538
0.002415
0
null
null
0
0.041063
null
null
0.036232
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
b8397301d214638ccfd203809ab9547f451fd977
573
py
Python
spacy/cli/nlp.py
Linguastat/spaCy
71380e4e3e868b5dde01d1a674fce14306b2ffc6
[ "MIT" ]
null
null
null
spacy/cli/nlp.py
Linguastat/spaCy
71380e4e3e868b5dde01d1a674fce14306b2ffc6
[ "MIT" ]
null
null
null
spacy/cli/nlp.py
Linguastat/spaCy
71380e4e3e868b5dde01d1a674fce14306b2ffc6
[ "MIT" ]
null
null
null
# coding: utf8 from __future__ import unicode_literals import platform from pathlib import Path from ..compat import unicode_ from .. import about from .. import util #import spacy import spacy def nlp(sntnc=""): # lets parse a static sentence #sntnc = "At this time tomorrow, we will see if a summer crush c...
23.875
111
0.69459
85
573
4.588235
0.6
0.066667
0
0
0
0
0
0
0
0
0
0.002222
0.21466
573
23
112
24.913043
0.864444
0.47644
0
0
0
0
0.006849
0
0
0
0
0
0
1
0.090909
false
0
0.636364
0
0.727273
0.090909
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
b83c55612b90382666ba532a187fd778e1edc784
1,554
py
Python
icrawler/utils/session.py
awesome-archive/icrawler
b487a7b3f358ab1d8c1104749e21bab0f82236ae
[ "MIT" ]
null
null
null
icrawler/utils/session.py
awesome-archive/icrawler
b487a7b3f358ab1d8c1104749e21bab0f82236ae
[ "MIT" ]
null
null
null
icrawler/utils/session.py
awesome-archive/icrawler
b487a7b3f358ab1d8c1104749e21bab0f82236ae
[ "MIT" ]
null
null
null
import requests from six.moves.urllib.parse import urlsplit class Session(requests.Session): def __init__(self, proxy_pool): super(Session, self).__init__() self.proxy_pool = proxy_pool def _url_scheme(self, url): return urlsplit(url).scheme def get(self, url, **kwargs): ...
33.782609
76
0.555341
164
1,554
5.085366
0.25
0.097122
0.1247
0.068345
0.702638
0.695444
0.616307
0.616307
0.616307
0.616307
0
0
0.351995
1,554
45
77
34.533333
0.828203
0
0
0.615385
0
0
0
0
0
0
0
0
0
1
0.102564
false
0
0.051282
0.025641
0.307692
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
b83dc48ef015678c67515c5dc106987feccb2116
2,265
py
Python
musi/examples/seq2.py
sixohsix/musi
231801895583c19375ad51f3e259c8621b1db923
[ "MIT" ]
1
2015-11-14T17:22:53.000Z
2015-11-14T17:22:53.000Z
musi/examples/seq2.py
sixohsix/musi
231801895583c19375ad51f3e259c8621b1db923
[ "MIT" ]
null
null
null
musi/examples/seq2.py
sixohsix/musi
231801895583c19375ad51f3e259c8621b1db923
[ "MIT" ]
null
null
null
from simplecoremidi import MIDISource, MIDIDestination from musi import C, Buffer, Tap, If, Eval, Tempo, midi, math, waves, play, countdown, util # ## Connect sequence emitter channel 1 to a synth (eg. Cheetah MS6) # Connect sequence emitter channel 2 to a drum machine (eg. 606 preset in Live) midi.DEBUG = True kic...
25.166667
90
0.630464
350
2,265
3.905714
0.297143
0.024872
0.026335
0.020483
0.198976
0.146306
0.073153
0.073153
0.032187
0.032187
0
0.033683
0.200442
2,265
89
91
25.449438
0.721149
0.062252
0
0
0
0
0.080227
0
0
0
0
0
0
0
null
null
0
0.031746
null
null
0.015873
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
b83f690f6267b302359531636ac9faf73df7161e
29,406
py
Python
tenforty/data.py
mmacpherson/tenforty
6b6d7cc24001dabf6ae7d3a6f6ddc50c61e6076c
[ "MIT" ]
2
2020-09-11T19:19:26.000Z
2022-03-07T23:25:26.000Z
tenforty/data.py
mmacpherson/tenforty
6b6d7cc24001dabf6ae7d3a6f6ddc50c61e6076c
[ "MIT" ]
null
null
null
tenforty/data.py
mmacpherson/tenforty
6b6d7cc24001dabf6ae7d3a6f6ddc50c61e6076c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import collections def float_or_float_list(): return True def yes_no(): return True def one_of(x): return True def nonnegative_integer(): return True Field = collections.namedtuple( "Field", "key aliases valid_fn default terminator", defaults=(None, [], floa...
29.914547
85
0.469122
3,106
29,406
4.236639
0.136188
0.339843
0.077286
0.157383
0.774299
0.624364
0.615624
0.609545
0.597994
0.581883
0
0.066492
0.350983
29,406
982
86
29.94501
0.623002
0.000714
0
0.682902
0
0
0.221829
0.014804
0
0
0
0
0
1
0.004145
false
0
0.001036
0.004145
0.009326
0
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
b8416a6655ee91ce728acf50e749eeb46fcf88a6
360
py
Python
flowers.py
avenet/hackerrank
e522030a023af4ff50d5fc64bd3eba30144e006c
[ "MIT" ]
null
null
null
flowers.py
avenet/hackerrank
e522030a023af4ff50d5fc64bd3eba30144e006c
[ "MIT" ]
null
null
null
flowers.py
avenet/hackerrank
e522030a023af4ff50d5fc64bd3eba30144e006c
[ "MIT" ]
null
null
null
N, K = raw_input().split() N = int(N) K = int(K) C = [] numbers = raw_input() i = 0 result = 0 flower_count = 0 x = 0 k = 0 for number in numbers.split(): C.append(int(number)) C.sort(reverse=True) for number in C: k += 1 if k == K + 1: x += 1 k = 1 flower_price = (x+1)*int(number) ...
13.333333
36
0.552778
64
360
3.03125
0.390625
0.030928
0.113402
0
0
0
0
0
0
0
0
0.039216
0.291667
360
27
37
13.333333
0.721569
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.047619
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
b8435af88da1b987d78535d468ea3cb1ca318c52
1,635
py
Python
pytorch/annotator.py
prashanthb-ai/usr
625a7d378549b44da16522859a27ed38bba8a6b2
[ "Unlicense" ]
null
null
null
pytorch/annotator.py
prashanthb-ai/usr
625a7d378549b44da16522859a27ed38bba8a6b2
[ "Unlicense" ]
null
null
null
pytorch/annotator.py
prashanthb-ai/usr
625a7d378549b44da16522859a27ed38bba8a6b2
[ "Unlicense" ]
null
null
null
import pandas as pd import numpy as np import matplotlib.pyplot as plt from skimage import io import os data_dir = "/home/beeps/rtmp/datasets/faces" landmarks_frame = pd.read_csv(os.path.join(data_dir, "face_landmarks.csv")) # iloc pulls out a single row, leaving out the first column (which is the name # of the image...
38.023256
88
0.720489
268
1,635
4.294776
0.485075
0.030408
0.052129
0.069505
0.154648
0
0
0
0
0
0
0.013226
0.167584
1,635
42
89
38.928571
0.832476
0.515596
0
0
0
0
0.113842
0.040103
0
0
0
0.02381
0
1
0
false
0
0.25
0
0.25
0.083333
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
b8454ee7ae8107de5d0c0bffd0adc556ecad6b3a
230
py
Python
src/16/16204.py
youngdaLee/Baekjoon
7d858d557dbbde6603fe4e8af2891c2b0e1940c0
[ "MIT" ]
11
2020-09-20T15:17:11.000Z
2022-03-17T12:43:33.000Z
src/16/16204.py
youngdaLee/Baekjoon
7d858d557dbbde6603fe4e8af2891c2b0e1940c0
[ "MIT" ]
3
2021-10-30T07:51:36.000Z
2022-03-09T05:19:23.000Z
src/16/16204.py
youngdaLee/Baekjoon
7d858d557dbbde6603fe4e8af2891c2b0e1940c0
[ "MIT" ]
13
2021-01-21T03:19:08.000Z
2022-03-28T10:44:58.000Z
""" 16204. 카드 뽑기 작성자: xCrypt0r 언어: Python 3 사용 메모리: 29,380 KB 소요 시간: 76 ms 해결 날짜: 2020년 9월 13일 """ def main(): N, M, K = map(int, input().split()) print(min(M, K) - max(M, K) + N) if __name__ == '__main__': main()
12.777778
39
0.552174
43
230
2.767442
0.837209
0.05042
0
0
0
0
0
0
0
0
0
0.122807
0.256522
230
17
40
13.529412
0.573099
0.395652
0
0
0
0
0.061069
0
0
0
0
0
0
1
0.2
true
0
0
0
0.2
0.2
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
0
0
0
0
0
0
1
b846e57e179e8176bb03052bbd1df62d7accc450
1,878
py
Python
api/places/tests/test_user.py
william-librata/places-api
4d422fef3de501318ad1d8e55ba576171eea626e
[ "MIT" ]
null
null
null
api/places/tests/test_user.py
william-librata/places-api
4d422fef3de501318ad1d8e55ba576171eea626e
[ "MIT" ]
null
null
null
api/places/tests/test_user.py
william-librata/places-api
4d422fef3de501318ad1d8e55ba576171eea626e
[ "MIT" ]
null
null
null
from django.test import TestCase from rest_framework.test import APIClient from django.contrib.auth.models import User class UserTestCase(TestCase): def setUp(self): User.objects.create_user(username='api_user', email='api_user@user.com', password='password') User.objects.create_user(username='ot...
39.957447
109
0.687433
231
1,878
5.385281
0.212121
0.064309
0.106913
0.130225
0.766077
0.586013
0.528135
0.528135
0.528135
0.528135
0
0.008464
0.182109
1,878
46
110
40.826087
0.801432
0
0
0.405405
0
0
0.149174
0.022376
0
0
0
0
0.216216
1
0.162162
false
0.081081
0.081081
0
0.27027
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
b849ccbe45cc0ac6a2bcf8daaee0bc576c13a2d9
365
py
Python
pajbot/web/routes/api/users.py
sadlyfell/bullbot
b6ef96f61678fab4a245d8ccddf9d1ae7aae9fee
[ "MIT" ]
null
null
null
pajbot/web/routes/api/users.py
sadlyfell/bullbot
b6ef96f61678fab4a245d8ccddf9d1ae7aae9fee
[ "MIT" ]
null
null
null
pajbot/web/routes/api/users.py
sadlyfell/bullbot
b6ef96f61678fab4a245d8ccddf9d1ae7aae9fee
[ "MIT" ]
null
null
null
from flask_restful import Resource from pajbot.managers.user import UserManager class APIUser(Resource): @staticmethod def get(username): user = UserManager.find_static(username) if not user: return {"error": "Not found"}, 404 return user.jsonify() def init(api): ap...
20.277778
50
0.665753
43
365
5.581395
0.651163
0
0
0
0
0
0
0
0
0
0
0.010676
0.230137
365
17
51
21.470588
0.843416
0
0
0
0
0
0.084932
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b84d2b43bda07a2382e5b0f634bb849bf6cb3742
13,029
py
Python
ui/ui_PowerSpectrumWidget.py
jaeilepp/eggie
a7e812f27e33f9c43ac2e36c6b45a26a01530a06
[ "BSD-2-Clause" ]
null
null
null
ui/ui_PowerSpectrumWidget.py
jaeilepp/eggie
a7e812f27e33f9c43ac2e36c6b45a26a01530a06
[ "BSD-2-Clause" ]
null
null
null
ui/ui_PowerSpectrumWidget.py
jaeilepp/eggie
a7e812f27e33f9c43ac2e36c6b45a26a01530a06
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'powerSpectrumWidget.ui' # # Created: Fri Feb 6 07:14:51 2015 # by: PyQt4 UI code generator 4.11.3 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 e...
66.815385
203
0.737969
1,182
13,029
8.032149
0.155668
0.141563
0.056035
0.047188
0.486412
0.447756
0.380661
0.20118
0.20118
0.20118
0
0.017378
0.147594
13,029
194
204
67.159794
0.837475
0.017192
0
0.189944
1
0.011173
0.14739
0
0
0
0
0
0
1
0.027933
false
0
0.005587
0.01676
0.055866
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
b852c842587c1cb93f3ae97b39e3845f05a5f7a2
3,863
py
Python
sdk/python/pulumi_google_native/firebaseappcheck/v1beta/get_debug_token.py
AaronFriel/pulumi-google-native
75d1cda425e33d4610348972cd70bddf35f1770d
[ "Apache-2.0" ]
44
2021-04-18T23:00:48.000Z
2022-02-14T17:43:15.000Z
sdk/python/pulumi_google_native/firebaseappcheck/v1beta/get_debug_token.py
AaronFriel/pulumi-google-native
75d1cda425e33d4610348972cd70bddf35f1770d
[ "Apache-2.0" ]
354
2021-04-16T16:48:39.000Z
2022-03-31T17:16:39.000Z
sdk/python/pulumi_google_native/firebaseappcheck/v1beta/get_debug_token.py
AaronFriel/pulumi-google-native
75d1cda425e33d4610348972cd70bddf35f1770d
[ "Apache-2.0" ]
8
2021-04-24T17:46:51.000Z
2022-01-05T10:40:21.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities __...
39.020202
374
0.662956
455
3,863
5.391209
0.318681
0.058296
0.026498
0.030575
0.260497
0.207909
0.139829
0.131268
0.070118
0.070118
0
0.001021
0.239192
3,863
98
375
39.418367
0.833617
0.254465
0
0.075758
1
0
0.118473
0.03637
0
0
0
0
0
1
0.106061
false
0
0.075758
0
0.287879
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
b85457a91f35bb8290b5318e688a0020a74566ba
2,711
py
Python
plgx-esp-ui/polylogyx/dao/v1/queries_dao.py
eclecticiq/eiq-er-ce
ebb12d5c4e0ee144f8166576924b8ce8dc5dfc94
[ "MIT" ]
null
null
null
plgx-esp-ui/polylogyx/dao/v1/queries_dao.py
eclecticiq/eiq-er-ce
ebb12d5c4e0ee144f8166576924b8ce8dc5dfc94
[ "MIT" ]
null
null
null
plgx-esp-ui/polylogyx/dao/v1/queries_dao.py
eclecticiq/eiq-er-ce
ebb12d5c4e0ee144f8166576924b8ce8dc5dfc94
[ "MIT" ]
2
2021-11-12T10:25:02.000Z
2022-03-30T06:33:52.000Z
from polylogyx.models import Query, db, Pack, Tag from polylogyx.utils import create_tags from sqlalchemy import desc, asc, or_, cast import sqlalchemy def get_total_count(): return Query.query.count() def get_total_packed_queries_count(): return Query.query \ .options( db.joinedload(Query.t...
31.894118
250
0.688676
365
2,711
4.956164
0.180822
0.054726
0.093975
0.072968
0.372029
0.326147
0.326147
0.326147
0.298507
0.298507
0
0.000444
0.169679
2,711
84
251
32.27381
0.803199
0
0
0.25
0
0
0.027665
0
0
0
0
0
0
1
0.2
false
0
0.083333
0.133333
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
0
0
1
0
0
0
1
b859806d58c71d0f7c592ed25a4b1775c9d85dea
1,273
py
Python
pymtl3/stdlib/test_utils/valrdy_test_srcs.py
jbrzozo24/pymtl3
50f1193453da6034be97dbc74041b83e76030a5f
[ "BSD-3-Clause" ]
152
2020-06-03T02:34:11.000Z
2022-03-30T04:16:45.000Z
pymtl3/stdlib/test_utils/valrdy_test_srcs.py
jbrzozo24/pymtl3
50f1193453da6034be97dbc74041b83e76030a5f
[ "BSD-3-Clause" ]
139
2019-05-29T00:37:09.000Z
2020-05-17T16:49:26.000Z
pymtl3/stdlib/test_utils/valrdy_test_srcs.py
jbrzozo24/pymtl3
50f1193453da6034be97dbc74041b83e76030a5f
[ "BSD-3-Clause" ]
22
2020-05-18T13:42:05.000Z
2022-03-11T08:37:51.000Z
""" ======================================================================== Test sources ======================================================================== Test sources with CL or RTL interfaces. Author : Yanghui Ou Date : Mar 11, 2019 """ from collections import deque from copy import deepcopy from pymtl3 i...
19.584615
72
0.482325
168
1,273
3.595238
0.404762
0.059603
0.057947
0.039735
0.07947
0
0
0
0
0
0
0.023675
0.303221
1,273
64
73
19.890625
0.657272
0.258445
0
0.235294
0
0
0.007511
0
0
0
0
0.015625
0
1
0.117647
false
0
0.117647
0.058824
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
1
0
0
0
0
0
0
0
0
0
0
1
b85e7f19f1950bc10bb979d4be576f139d215ad3
26,977
py
Python
lib/CoSSH/Configuration/SSHConfiguration.py
Offorensics/cossh
84648e41d4083f39d0ac5ac25951e0a6728116e2
[ "MIT" ]
null
null
null
lib/CoSSH/Configuration/SSHConfiguration.py
Offorensics/cossh
84648e41d4083f39d0ac5ac25951e0a6728116e2
[ "MIT" ]
null
null
null
lib/CoSSH/Configuration/SSHConfiguration.py
Offorensics/cossh
84648e41d4083f39d0ac5ac25951e0a6728116e2
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 #Copyright (c) 2018 Joram Puumala # #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 #to use, copy, modify, me...
35.87367
153
0.694592
4,005
26,977
4.460175
0.124345
0.038291
0.026871
0.042546
0.486424
0.434753
0.394559
0.344679
0.31221
0.28629
0
0.009307
0.187456
26,977
751
154
35.921438
0.805611
0.172814
0
0.415058
0
0.007722
0.183835
0.014176
0.003861
0
0
0
0
1
0.03861
false
0.054054
0.023166
0
0.140927
0.023166
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
b86e485da3ec554154376d2aaf7fc7c76b9bed66
534
py
Python
bayes_distribution_crypto_price_change.py
xSakix/bayesian_analyses
14042e193507bae6d69caeb4035ac45ef9044176
[ "Apache-2.0" ]
null
null
null
bayes_distribution_crypto_price_change.py
xSakix/bayesian_analyses
14042e193507bae6d69caeb4035ac45ef9044176
[ "Apache-2.0" ]
null
null
null
bayes_distribution_crypto_price_change.py
xSakix/bayesian_analyses
14042e193507bae6d69caeb4035ac45ef9044176
[ "Apache-2.0" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np from scipy.stats import binom from crypto_quandl_loader import load_data import price_changes import grid_approx data = load_data('BTER/VTCBTC') up_down = price_changes.compute(data) c1 = up_down.count(1) c0 = up_down.count(0) p1 = c1 / len(up_down) p0 = c0 / len(up...
22.25
73
0.749064
95
534
4.021053
0.442105
0.125654
0.094241
0.057592
0
0
0
0
0
0
0
0.027778
0.123596
534
23
74
23.217391
0.788462
0
0
0
0
0
0.067416
0
0
0
0
0
0
1
0
false
0
0.352941
0
0.352941
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
1
0
0
0
0
1
b86f2316cde90d65b1d01d0435795a04f22233c4
1,832
py
Python
GAN/train.py
zz00zws/magic_learning
c048d244e9abd38079b5f195e7b2bbfebc616310
[ "MIT" ]
1
2019-12-02T08:09:54.000Z
2019-12-02T08:09:54.000Z
GAN/train.py
zz00zws/magic_learning
c048d244e9abd38079b5f195e7b2bbfebc616310
[ "MIT" ]
null
null
null
GAN/train.py
zz00zws/magic_learning
c048d244e9abd38079b5f195e7b2bbfebc616310
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import torch.utils.data as data import nets import torch.optim as optim from torchvision import transforms,datasets from torchvision.utils import save_image import cfg device = torch.device("cuda" if torch.cuda.is_available() else "cpu") tf = transforms.Compose( [tran...
32.140351
87
0.624454
258
1,832
4.360465
0.368217
0.049778
0.053333
0.023111
0.126222
0.126222
0.088889
0
0
0
0
0.028671
0.219432
1,832
56
88
32.714286
0.757343
0.031659
0
0
0
0
0.025791
0
0
0
0
0
0
0
null
null
0
0.170213
null
null
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
1
0
0
0
0
0
0
0
0
1
b87115a3740a1b954587a1beac7d01fb624e2ad9
965
py
Python
sensor/Relay.py
Smart4L/embedded-server
cf10ebb1ccc3002b45c20315ec521eaf1a9e7f10
[ "MIT" ]
null
null
null
sensor/Relay.py
Smart4L/embedded-server
cf10ebb1ccc3002b45c20315ec521eaf1a9e7f10
[ "MIT" ]
null
null
null
sensor/Relay.py
Smart4L/embedded-server
cf10ebb1ccc3002b45c20315ec521eaf1a9e7f10
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import RPi.GPIO as GPIO from time import sleep GPIO.setmode(GPIO.BCM) GPIO.setwarnings(False) class Relay(): def __init__(self, name, pin): self.pin = pin # 5 6 13 19 self.name = name self.init_gpio() self.status = "off" def init_gpio(self): ...
18.557692
79
0.60829
142
965
3.971831
0.34507
0.086879
0.078014
0.090426
0.285461
0.285461
0.14539
0.14539
0.14539
0.14539
0
0.014805
0.230052
965
51
80
18.921569
0.74428
0.054922
0
0.176471
0
0
0.051705
0
0
0
0
0
0
1
0.235294
false
0
0.058824
0.088235
0.411765
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
b877840bd68ce53da92002bbd74dca9fa9d28a07
960
py
Python
e2e/tests/ClinicAdminTest.py
PSW-ISA-G4-MNS/PSW-ISA
f96858c64b91f7b61e8995e59154d6df36f3a970
[ "MIT" ]
null
null
null
e2e/tests/ClinicAdminTest.py
PSW-ISA-G4-MNS/PSW-ISA
f96858c64b91f7b61e8995e59154d6df36f3a970
[ "MIT" ]
1
2022-01-21T23:35:26.000Z
2022-01-21T23:35:26.000Z
e2e/tests/ClinicAdminTest.py
PSW-ISA-G4-MNS/PSW-ISA
f96858c64b91f7b61e8995e59154d6df36f3a970
[ "MIT" ]
null
null
null
import unittest import time from .utils import * class ClinicAdminTest(unittest.TestCase): def setUp(self): self.driver = get_driver() login(self.driver, "clinic_admin@office.com", "XXX") def tearDown(self): logout(self.driver) self.driver.close() def test_basic(...
34.285714
113
0.635417
122
960
4.819672
0.401639
0.221088
0.119048
0.107143
0.517007
0.443878
0.37415
0.27551
0.27551
0.146259
0
0.007916
0.210417
960
28
114
34.285714
0.76781
0
0
0.304348
0
0
0.152966
0.106139
0
0
0
0
0.043478
1
0.130435
false
0
0.130435
0
0.304348
0
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
b878b4ed133a139c3ac837f2860d34fd8c880bd3
3,128
py
Python
src/miteg.py
rebryant/model-counting
02f650741bddb6a94a0729889dfeb8e9b0e8521a
[ "MIT" ]
2
2021-04-13T21:46:32.000Z
2022-03-22T19:18:23.000Z
src/miteg.py
rebryant/model-counting
02f650741bddb6a94a0729889dfeb8e9b0e8521a
[ "MIT" ]
null
null
null
src/miteg.py
rebryant/model-counting
02f650741bddb6a94a0729889dfeb8e9b0e8521a
[ "MIT" ]
2
2021-04-13T16:58:23.000Z
2021-11-07T02:56:24.000Z
#!/usr/bin/python # Model counting for free ITE graph # Optionally generate output ITEG file import getopt import sys import iteg import writer def usage(name): print("Usage: %s [-h] [-i IFILE] [-p PREFIX] [-o OFILE] [-q QFILE] [-P PFILE]" % name) print(" -h Print this message") print(" -i IFILE ...
29.509434
90
0.524297
390
3,128
4.184615
0.312821
0.025735
0.029412
0.022059
0.232843
0.182598
0.159314
0.116422
0.116422
0.058824
0
0.005437
0.353261
3,128
105
91
29.790476
0.801285
0.027813
0
0.25
1
0.010417
0.190915
0
0
0
0
0
0
1
0.03125
false
0
0.041667
0
0.145833
0.145833
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
b87be4f8ec1f43d0c87370f86c8a1a45b3382db5
4,569
py
Python
tfidf.py
ezhouyang/class
6bef374a78bdef8df946680c283df9643ac91ed7
[ "Apache-2.0" ]
1
2017-11-18T13:44:39.000Z
2017-11-18T13:44:39.000Z
tfidf.py
ezhouyang/class
6bef374a78bdef8df946680c283df9643ac91ed7
[ "Apache-2.0" ]
null
null
null
tfidf.py
ezhouyang/class
6bef374a78bdef8df946680c283df9643ac91ed7
[ "Apache-2.0" ]
null
null
null
#coding:utf-8 import numpy as np from sklearn.feature_extraction.text import CountVectorizer from sklearn.feature_extraction.text import TfidfTransformer from sklearn.feature_extraction.text import TfidfVectorizer from sklearn import svm from sklearn.neighbors import KNeighborsClassifier from sklearn.linear_model impo...
29.101911
170
0.613044
668
4,569
4.071856
0.267964
0.035294
0.017647
0.024265
0.316544
0.240441
0.180882
0.161029
0.122794
0.122794
0
0.034552
0.23353
4,569
156
171
29.288462
0.742147
0.181878
0
0.166667
0
0
0.077993
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.15625
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
b87ee22592f5ac31e7f6ada3d5633d9c8f6e850d
383
py
Python
tests/test_scripts/test_flatten.py
luochuankai-JHU/ndmg
1307cc4dbaf84e33d61b13a6f83f9bcc4e5cfad6
[ "Apache-2.0" ]
null
null
null
tests/test_scripts/test_flatten.py
luochuankai-JHU/ndmg
1307cc4dbaf84e33d61b13a6f83f9bcc4e5cfad6
[ "Apache-2.0" ]
14
2018-09-12T15:02:01.000Z
2019-11-13T16:13:56.000Z
tests/test_scripts/test_flatten.py
luochuankai-JHU/ndmg
1307cc4dbaf84e33d61b13a6f83f9bcc4e5cfad6
[ "Apache-2.0" ]
2
2018-10-23T21:47:09.000Z
2019-10-30T00:43:05.000Z
# def flatten(current, result=[]): # if isinstance(current, dict): # for key in current: # flatten(current[key], result) # else: # result.append(current) # return result import ndmg def test_flatten(): current = {'name':'liming', 'age':'20'} value = ndmg.utils.bids_ut...
21.277778
54
0.582245
43
383
5.139535
0.55814
0.253394
0
0
0
0
0
0
0
0
0
0.013986
0.253264
383
17
55
22.529412
0.758741
0.509138
0
0
0
0
0.128492
0
0
0
0
0
0.2
1
0.2
false
0
0.2
0
0.4
0
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
b880edfe2349e8e04aa8851044b26afc46e94613
774
py
Python
articles/making-chrome-headless-undetectable/inject.py
sangaline/intoli-article-materials
b01010ddc769ac20ce492bce478ee49c859c5db3
[ "BSD-2-Clause-FreeBSD" ]
248
2018-02-11T09:04:12.000Z
2022-03-23T02:55:17.000Z
articles/making-chrome-headless-undetectable/inject.py
sangaline/intoli-article-materials
b01010ddc769ac20ce492bce478ee49c859c5db3
[ "BSD-2-Clause-FreeBSD" ]
46
2018-02-20T01:37:32.000Z
2022-03-22T20:58:01.000Z
articles/making-chrome-headless-undetectable/inject.py
sangaline/intoli-article-materials
b01010ddc769ac20ce492bce478ee49c859c5db3
[ "BSD-2-Clause-FreeBSD" ]
67
2018-02-09T23:38:16.000Z
2022-03-17T01:43:52.000Z
from bs4 import BeautifulSoup from mitmproxy import ctx # load in the javascript to inject with open('injected-test-bypasses.js', 'r') as f: content_js = f.read() def response(flow): # only process 200 responses of html content if flow.response.headers['Content-Type'] != 'text/html': return ...
28.666667
83
0.671835
104
774
4.961538
0.528846
0.093023
0.077519
0.085271
0
0
0
0
0
0
0
0.013267
0.22093
774
26
84
29.769231
0.842454
0.125323
0
0.117647
0
0
0.194651
0.074294
0
0
0
0
0
1
0.058824
false
0.117647
0.117647
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
0
0
1
0
0
0
0
0
1
b8871e7de01a56fa4b78b50abc5827ab5439c495
1,299
py
Python
klab/gfx/color_definitions.py
Kortemme-Lab/klab
68f028a4d7f97b9009bff45799b5602824052dd1
[ "MIT" ]
2
2016-06-14T00:32:19.000Z
2021-07-04T01:56:17.000Z
klab/gfx/color_definitions.py
Kortemme-Lab/klab
68f028a4d7f97b9009bff45799b5602824052dd1
[ "MIT" ]
2
2019-01-17T18:52:17.000Z
2019-01-17T18:52:56.000Z
klab/gfx/color_definitions.py
Kortemme-Lab/klab
68f028a4d7f97b9009bff45799b5602824052dd1
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 # The MIT License (MIT) # # Copyright (c) 2015 Shane O'Connor # # 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 r...
41.903226
79
0.749038
192
1,299
5.052083
0.609375
0.090722
0.026804
0
0
0
0
0
0
0
0
0.028169
0.180139
1,299
31
80
41.903226
0.882629
0.845266
0
0
0
0
0.194444
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
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
0
0
0
0
0
0
0
1
b88f3c98954c062e41da5c0d80323ada61cdc24a
308
py
Python
composer/models/unet/__init__.py
jacobfulano/composer
4ad81df2d2ca6e5f0b4922bb2db750cd76ba34e8
[ "Apache-2.0" ]
2
2022-03-17T04:48:04.000Z
2022-03-20T09:06:19.000Z
composer/models/unet/__init__.py
jacobfulano/composer
4ad81df2d2ca6e5f0b4922bb2db750cd76ba34e8
[ "Apache-2.0" ]
null
null
null
composer/models/unet/__init__.py
jacobfulano/composer
4ad81df2d2ca6e5f0b4922bb2db750cd76ba34e8
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 MosaicML. All Rights Reserved. from composer.models.unet.unet import UNet as UNet from composer.models.unet.unet_hparams import UnetHparams as UnetHparams _task = 'Image Segmentation' _dataset = 'BRATS' _name = 'UNet' _quality = '69.1' _metric = 'Dice' _ttt = '21m' _hparams = 'unet.yaml'
23.692308
72
0.756494
42
308
5.357143
0.666667
0.106667
0.16
0.195556
0.231111
0
0
0
0
0
0
0.033962
0.13961
308
12
73
25.666667
0.815094
0.146104
0
0
0
0
0.180077
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b891e10c3666658d531179aa29d446100bf3fa27
443
py
Python
meiduo/apps/oauth/urls.py
libin-c/Meiduo
58468fd619a8d9f022df442a10a56b1b12ed1dd8
[ "MIT" ]
null
null
null
meiduo/apps/oauth/urls.py
libin-c/Meiduo
58468fd619a8d9f022df442a10a56b1b12ed1dd8
[ "MIT" ]
5
2020-05-11T20:23:15.000Z
2021-11-02T15:46:04.000Z
meiduo/apps/oauth/urls.py
libin-c/Meiduo
58468fd619a8d9f022df442a10a56b1b12ed1dd8
[ "MIT" ]
null
null
null
from django.conf.urls import url, include from django.contrib import admin from . import views urlpatterns = [ # QQ 登录 url(r'^qq/login/$', views.QQAuthURLView.as_view(), name='qq_login'), url(r'^oauth_callback/$', views.QQAuthUserView.as_view(), name='oauth_callback'), # 获取新浪登录页面连接 url('^sina/logi...
26.058824
85
0.688488
56
443
5.303571
0.482143
0.080808
0.06734
0
0
0
0
0
0
0
0
0
0.148984
443
16
86
27.6875
0.787798
0.051919
0
0
0
0
0.1875
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b895af3216ec6d419ab352ef5d0bd20b9b9c0076
1,945
py
Python
params_pytorch_sp.py
hyllios/dftb_jax
035058d8c0aac4ef610f5ef82afcdadc6d2fdab9
[ "Apache-2.0" ]
null
null
null
params_pytorch_sp.py
hyllios/dftb_jax
035058d8c0aac4ef610f5ef82afcdadc6d2fdab9
[ "Apache-2.0" ]
null
null
null
params_pytorch_sp.py
hyllios/dftb_jax
035058d8c0aac4ef610f5ef82afcdadc6d2fdab9
[ "Apache-2.0" ]
null
null
null
import time import torch # [s, px, py, pz, dxy, dyz, dxz, dx2-y2, dz2, S] def get_hop_int(input_params=torch.zeros(7)): # input_params[0]=V_sss, # input_params[1]=V_sps, # input_params[2]=V_pps, # input_params[3]=V_ppp, # input_params[4]=l, # input_params[5]=m # input_params[6]=n ...
44.204545
103
0.647301
338
1,945
3.310651
0.186391
0.50134
0.128686
0.069705
0.529044
0.277033
0.168901
0.101877
0.075067
0.075067
0
0.092963
0.203599
1,945
43
104
45.232558
0.629438
0.196915
0
0
0
0
0
0
0
0
0
0
0
1
0.041667
false
0
0.083333
0
0.166667
0
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
b89ee66a309a11c27345abab21c8bcc8ee48d4d4
5,896
py
Python
HaveIBeenPwned/pwned.py
jkung2314/InfoSec
f2a6ad4ddad2844a3493c057a84989e1ae0a8c50
[ "MIT" ]
null
null
null
HaveIBeenPwned/pwned.py
jkung2314/InfoSec
f2a6ad4ddad2844a3493c057a84989e1ae0a8c50
[ "MIT" ]
null
null
null
HaveIBeenPwned/pwned.py
jkung2314/InfoSec
f2a6ad4ddad2844a3493c057a84989e1ae0a8c50
[ "MIT" ]
null
null
null
""" Jonathan Kung <jhkung@ucsc.edu> University of California, Santa Cruz Infrastructure Security Team """ import settings import ldapServer from DB import compromisedDB from kafka import KafkaProducer from kafka import KafkaConsumer import json import imaplib import email import re import urllib2 import request...
28.621359
238
0.626696
789
5,896
4.652725
0.287706
0.006538
0.010896
0.013075
0.158268
0.103514
0.075729
0.070008
0.070008
0.070008
0
0.01776
0.216927
5,896
205
239
28.760976
0.777345
0.107361
0
0.232258
0
0.006452
0.194221
0.056831
0
0
0
0
0
1
0.03871
false
0.096774
0.077419
0
0.141935
0.083871
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
b89f6895ae315a6fa2da1b62603ea4ada5edd79d
2,799
py
Python
cloudferrylib/utils/proxy_client.py
toha10/CloudFerry
5f844a480d3326d1fea74cca35b648c32d390fab
[ "Apache-2.0" ]
null
null
null
cloudferrylib/utils/proxy_client.py
toha10/CloudFerry
5f844a480d3326d1fea74cca35b648c32d390fab
[ "Apache-2.0" ]
null
null
null
cloudferrylib/utils/proxy_client.py
toha10/CloudFerry
5f844a480d3326d1fea74cca35b648c32d390fab
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2014 Mirantis Inc. # # Licensed under the Apache License, Version 2.0 (the License); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, so...
32.546512
89
0.594855
308
2,799
5.308442
0.435065
0.205505
0.022018
0.019572
0
0
0
0
0
0
0
0.005322
0.328689
2,799
85
90
32.929412
0.864822
0.19507
0
0
0
0
0
0
0
0
0
0
0
1
0.078125
false
0
0.03125
0
0.203125
0
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
b8a2682ac57914204c107303a16e082f116e2ef6
2,501
py
Python
scripts/prospector_parse.py
errai34/prospector
181957619ee91dd93c681b06f335e8e136160d80
[ "MIT" ]
1
2018-11-10T16:49:21.000Z
2018-11-10T16:49:21.000Z
scripts/prospector_parse.py
errai34/prospector
181957619ee91dd93c681b06f335e8e136160d80
[ "MIT" ]
null
null
null
scripts/prospector_parse.py
errai34/prospector
181957619ee91dd93c681b06f335e8e136160d80
[ "MIT" ]
null
null
null
from prospect import argument_parser from prospect.fitting import fit_model def build_model(zred=0.0, add_neb=True, **run_params): """Instantiate and return a ProspectorParams model subclass. :param zred: (optional, default: 0.1) The redshift of the model :param add_neb: (optional, d...
29.423529
80
0.635746
299
2,501
5.12709
0.391304
0.071755
0.033268
0.062622
0.100457
0
0
0
0
0
0
0.011585
0.240704
2,501
84
81
29.77381
0.795682
0.085166
0
0
0
0
0.103023
0
0
0
0
0
0
0
null
null
0
0.083333
null
null
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
1
0
0
0
0
0
0
0
0
1
b8a7877af32f2d88ffbf4db84acc42103dca4967
4,177
py
Python
Scripts/DBotPredictPhishingWords/dbot_predict_phishing_words_test.py
vibhuabharadwaj/content
30d639dbea0015536a3040ec18f93e50322bded0
[ "MIT" ]
7
2020-09-24T22:38:01.000Z
2021-07-14T15:58:35.000Z
Scripts/DBotPredictPhishingWords/dbot_predict_phishing_words_test.py
vibhuabharadwaj/content
30d639dbea0015536a3040ec18f93e50322bded0
[ "MIT" ]
7
2021-03-25T23:09:39.000Z
2021-09-23T23:27:14.000Z
Scripts/DBotPredictPhishingWords/dbot_predict_phishing_words_test.py
vibhuabharadwaj/content
30d639dbea0015536a3040ec18f93e50322bded0
[ "MIT" ]
2
2020-12-08T17:03:33.000Z
2021-07-13T18:32:06.000Z
from CommonServerPython import * from collections import defaultdict from DBotPredictPhishingWords import get_model_data, predict_phishing_words import pytest def get_args(): args = defaultdict(lambda: "yes") args['encoding'] = 'utf8' args['encoding'] = 'utf8' args['removeNonEnglishWords'] = 'no' ...
52.2125
117
0.5808
384
4,177
6.145833
0.223958
0.069915
0.057203
0.067797
0.693644
0.648305
0.648305
0.629661
0.629661
0.600847
0
0.026928
0.279866
4,177
79
118
52.873418
0.757646
0
0
0.492537
0
0
0.2983
0.066794
0
0
0
0
0.059701
1
0.089552
false
0
0.059701
0
0.238806
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
b8a79102c95c3ddc2591a03c82b5990a797aa8e4
2,390
py
Python
cms_pages/migrations/0014_auto_20160918_0358.py
n6151h/pyconau2017
092de5fd60d2b0dd207242cf2585e16ec6843392
[ "MIT" ]
null
null
null
cms_pages/migrations/0014_auto_20160918_0358.py
n6151h/pyconau2017
092de5fd60d2b0dd207242cf2585e16ec6843392
[ "MIT" ]
null
null
null
cms_pages/migrations/0014_auto_20160918_0358.py
n6151h/pyconau2017
092de5fd60d2b0dd207242cf2585e16ec6843392
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-09-18 03:58 from __future__ import unicode_literals from django.db import migrations def image_to_custom_image(apps, schema_editor): Image = apps.get_model("wagtailimages","Image") CustomImage = apps.get_model("cms_pages", "CustomImage") HomePag...
31.038961
80
0.621757
288
2,390
4.940972
0.392361
0.046381
0.033732
0.031623
0.104006
0.061841
0.061841
0.061841
0.061841
0.061841
0
0.01813
0.261506
2,390
76
81
31.447368
0.788102
0.07908
0
0.08
1
0
0.143964
0.010478
0
0
0
0
0
1
0.04
false
0
0.04
0
0.14
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b8b13a0648c38f350b44d85e36aa356eb213b142
786
py
Python
tests/app/test_app.py
pedrotcaraujo/Flask-Philo-Core
8b24d5ed102c3ffad92a58f102fe1641966d4acf
[ "MIT" ]
null
null
null
tests/app/test_app.py
pedrotcaraujo/Flask-Philo-Core
8b24d5ed102c3ffad92a58f102fe1641966d4acf
[ "MIT" ]
null
null
null
tests/app/test_app.py
pedrotcaraujo/Flask-Philo-Core
8b24d5ed102c3ffad92a58f102fe1641966d4acf
[ "MIT" ]
null
null
null
from flask_philo_core import init_app from flask_philo_core.test import create_test_app from flask_philo_core.exceptions import ConfigurationError from unittest.mock import patch import os import pytest import sys BASE_DIR = os.path.dirname(os.path.dirname(__file__)) sys.path.append(os.path.join(BASE_DIR, '../')) ...
26.2
63
0.71883
111
786
4.747748
0.414414
0.094877
0.106262
0.102467
0.079696
0
0
0
0
0
0
0
0.198473
786
29
64
27.103448
0.836508
0.137405
0
0
0
0
0.067976
0.040786
0
0
0
0
0.111111
1
0.055556
false
0
0.388889
0
0.444444
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
b8b3da97ee4e04e73a406db8e66be53c52298575
5,584
py
Python
dbgen.py
jacksimple/simple-cve-api
da0774b78a0514d519e890b6cc722301f85a143d
[ "MIT" ]
null
null
null
dbgen.py
jacksimple/simple-cve-api
da0774b78a0514d519e890b6cc722301f85a143d
[ "MIT" ]
null
null
null
dbgen.py
jacksimple/simple-cve-api
da0774b78a0514d519e890b6cc722301f85a143d
[ "MIT" ]
null
null
null
""" This script generates the SQLite database from the cvelist repo. At a high level it traverses the folder structure looking for JSON files, cleans them a bit, and inserts them into SQLite. It rebuilds the database from scratch each time. """ import json import logging import os import sqlite3 FORMAT = "%(asctime)s...
31.022222
110
0.577364
661
5,584
4.717095
0.240545
0.01764
0.048108
0.036562
0.357922
0.290892
0.255292
0.24535
0.24535
0.224182
0
0.001338
0.330946
5,584
179
111
31.195531
0.833244
0.327722
0
0.028169
1
0
0.134314
0.011584
0
0
0
0
0
1
0.070423
false
0
0.056338
0
0.183099
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
b8b8b2fedde77126d1d428aa123f60137034c333
10,049
py
Python
pypeep/main.py
cuyu/pypeep
eba8a05fc7510363f115ac4ea4a7f29b8e01cbf0
[ "MIT" ]
null
null
null
pypeep/main.py
cuyu/pypeep
eba8a05fc7510363f115ac4ea4a7f29b8e01cbf0
[ "MIT" ]
null
null
null
pypeep/main.py
cuyu/pypeep
eba8a05fc7510363f115ac4ea4a7f29b8e01cbf0
[ "MIT" ]
null
null
null
import os import xml.etree.ElementTree as et import argparse import pkgutil import shutil from subprocess import call import time from common import get_host_ip, get_unoccupied_port, is_port_in_use, get_pid_by_name from client import Client import re from colorama import init, Fore, Back, Style from logger import setup...
40.849593
120
0.653398
1,328
10,049
4.71988
0.188253
0.025846
0.030313
0.016752
0.259572
0.224314
0.150766
0.134493
0.081685
0.054882
0
0.002442
0.225694
10,049
245
121
41.016327
0.80311
0.053438
0
0.032432
0
0
0.185427
0.005791
0
0
0
0
0.021622
0
null
null
0.016216
0.075676
null
null
0.005405
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
b8b99d694691db04dae1b9d8a8e6fb4167b4d6eb
11,008
py
Python
crdb/migrations/0001_initial.py
jsayles/CoworkingDB
78776910eba0354a7fd96b2e2c53a78e934d8673
[ "MIT" ]
1
2021-07-05T13:19:14.000Z
2021-07-05T13:19:14.000Z
crdb/migrations/0001_initial.py
jsayles/CoworkingDB
78776910eba0354a7fd96b2e2c53a78e934d8673
[ "MIT" ]
15
2019-04-23T11:11:58.000Z
2021-07-05T20:15:42.000Z
crdb/migrations/0001_initial.py
jsayles/CoworkingDB
78776910eba0354a7fd96b2e2c53a78e934d8673
[ "MIT" ]
null
null
null
# Generated by Django 3.0.6 on 2020-05-04 17:45 import crdb.models from django.conf import settings import django.contrib.auth.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies...
66.715152
329
0.593477
1,155
11,008
5.526407
0.246753
0.0423
0.02632
0.03948
0.588438
0.556008
0.497258
0.405295
0.392762
0.378975
0
0.017288
0.232831
11,008
164
330
67.121951
0.738544
0.004088
0
0.484076
1
0
0.210747
0.002646
0
0
0
0
0
1
0
false
0.006369
0.038217
0
0.063694
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
b218e5bd2ff42d362ee13655b2fefaa038f98cbe
1,356
py
Python
api_basebone/restful/export/formatter.py
git-men/bsm-django
46d1fcbd8ca379d20a3396fd7ea529ccf998f59d
[ "MIT" ]
90
2020-12-07T04:49:43.000Z
2022-03-31T08:24:35.000Z
api_basebone/restful/export/formatter.py
flyowl/lightning
946c98986c1c42bf8c28f203cdf8512262283c25
[ "MIT" ]
4
2021-01-11T16:10:55.000Z
2022-02-18T12:13:23.000Z
api_basebone/restful/export/formatter.py
flyowl/lightning
946c98986c1c42bf8c28f203cdf8512262283c25
[ "MIT" ]
16
2020-12-07T12:32:05.000Z
2022-01-30T05:36:51.000Z
from collections import namedtuple Param = namedtuple('Param', ['name', 'display_name', 'type', 'required', 'default', 'choices']) Param.__new__.__defaults__ = (None,) * len(Param._fields) _FORMATTERS = {} def formatter(name=None, params=[]): def deco_func(func): # 做注册工作 func_name = name if name e...
30.133333
95
0.666667
165
1,356
5.290909
0.254545
0.051546
0.051546
0.04811
0.208477
0.174112
0.174112
0.174112
0.093929
0
0
0.000898
0.178466
1,356
44
96
30.818182
0.782765
0.014749
0
0.083333
0
0
0.112528
0
0
0
0
0.022727
0
1
0.166667
false
0
0.027778
0.055556
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
b21f2bfd5f0d2cff4755244bf2a4962f1a16cd02
2,809
py
Python
runtrainer/pipelines.py
Infern1/runtrainer.com_export_to_gpx
e6badd25ebd6548e866003b8a35a6ea2ad0d94a8
[ "Apache-2.0" ]
null
null
null
runtrainer/pipelines.py
Infern1/runtrainer.com_export_to_gpx
e6badd25ebd6548e866003b8a35a6ea2ad0d94a8
[ "Apache-2.0" ]
null
null
null
runtrainer/pipelines.py
Infern1/runtrainer.com_export_to_gpx
e6badd25ebd6548e866003b8a35a6ea2ad0d94a8
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: http://doc.scrapy.org/en/latest/topics/item-pipeline.html import srtm as mod_srtm import gpxpy import gpxpy.gpx from datetime import datetime,timedelta,time def seconds(dhms): """C...
37.453333
106
0.615166
382
2,809
4.408377
0.387435
0.042755
0.042755
0.026722
0.106888
0.04038
0.04038
0
0
0
0
0.013043
0.263083
2,809
74
107
37.959459
0.800483
0.275187
0
0.052632
0
0
0.071319
0
0
0
0
0
0
0
null
null
0
0.105263
null
null
0.026316
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
b2202fd71d289ef896a5185ce27f86585a7d78c2
4,711
py
Python
tests/test_string_helpers.py
natalia-rubio/py_grama
968c1c0238d7165de3b1b96534791feacc4aa960
[ "MIT" ]
13
2020-02-24T16:51:51.000Z
2022-03-30T18:56:55.000Z
tests/test_string_helpers.py
natalia-rubio/py_grama
968c1c0238d7165de3b1b96534791feacc4aa960
[ "MIT" ]
78
2019-12-30T19:13:21.000Z
2022-02-23T18:17:54.000Z
tests/test_string_helpers.py
natalia-rubio/py_grama
968c1c0238d7165de3b1b96534791feacc4aa960
[ "MIT" ]
7
2020-10-19T17:49:25.000Z
2021-08-15T20:46:52.000Z
import unittest from context import grama as gr from numpy import isnan from pandas import Series, Index ##============================================================================== ## string helper tests ##============================================================================== class TestStringHelpers(unit...
32.715278
81
0.540225
668
4,711
3.582335
0.155689
0.228165
0.08692
0.103218
0.521103
0.432094
0.301713
0.190974
0.137902
0.06519
0
0.034756
0.248779
4,711
143
82
32.944056
0.641424
0.055827
0
0.019417
0
0
0.077357
0
0
0
0
0
0.38835
1
0.106796
false
0
0.038835
0
0.15534
0.009709
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
b224d4062a170c6f0d5e62feab9c4a4a23bfee00
297
py
Python
scripts/T01_taxonomy.py
shengqh/spcount
fbc3316c765742aeb7ebb7346f562e3449d0acc2
[ "MIT" ]
null
null
null
scripts/T01_taxonomy.py
shengqh/spcount
fbc3316c765742aeb7ebb7346f562e3449d0acc2
[ "MIT" ]
null
null
null
scripts/T01_taxonomy.py
shengqh/spcount
fbc3316c765742aeb7ebb7346f562e3449d0acc2
[ "MIT" ]
null
null
null
from context import spcount, taxonomy_file from spcount.taxonomy_util import prepare_taxonomy import logging logger = logging.getLogger('taxonomy') logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(name)s - %(levelname)-8s - %(message)s') prepare_taxonomy(logger, taxonomy_file)
27
104
0.784512
38
297
6
0.552632
0.131579
0
0
0
0
0
0
0
0
0
0.003717
0.094276
297
10
105
29.7
0.843866
0
0
0
0
0
0.209459
0
0
0
0
0
0
1
0
false
0
0.5
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
0
1
0
0
0
0
1
b225d022fe62cce6319523d4a65e5a3acb7fb798
20,477
py
Python
bag/more_codecs.py
nandoflorestan/bag
851d7b7179e8061006aa589f3e5df848fd6a4ec8
[ "MIT" ]
24
2015-02-03T18:13:48.000Z
2020-12-31T03:50:12.000Z
bag/more_codecs.py
nandoflorestan/bag
851d7b7179e8061006aa589f3e5df848fd6a4ec8
[ "MIT" ]
1
2015-04-01T20:40:16.000Z
2015-04-01T20:40:16.000Z
bag/more_codecs.py
nandoflorestan/bag
851d7b7179e8061006aa589f3e5df848fd6a4ec8
[ "MIT" ]
5
2015-04-01T18:42:21.000Z
2019-08-10T20:56:03.000Z
#!/usr/bin/env python3 """What do you do when Python does not know about some exotic encoder or decoder that exists out there? Suppose you have some text, perhaps an e-mail message, that Python won't decode, saying:: LookupError: unknown encoding: ansi_x3.110-1983 What you do is tell Python to call some UNIX com...
47.731935
98
0.635591
2,551
20,477
5.016072
0.49118
0.019928
0.00422
0.001876
0.05447
0.051188
0.046968
0.044858
0.044858
0.044858
0
0.2197
0.176002
20,477
428
99
47.843458
0.538316
0.08092
0
0.079545
0
0
0.501216
0.004053
0
0
0
0
0.003788
1
0.026515
false
0.011364
0.011364
0.003788
0.083333
0.007576
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b227cc60a8f535e2eb7773baa7ababe4b119b235
3,718
py
Python
rta/read/isoquant_db.py
MatteoLacki/rta
93944d6fc934126e0bb4d076c8b4213cadbe49a1
[ "BSD-2-Clause" ]
1
2018-05-31T14:31:18.000Z
2018-05-31T14:31:18.000Z
rta/read/isoquant_db.py
MatteoLacki/rta
93944d6fc934126e0bb4d076c8b4213cadbe49a1
[ "BSD-2-Clause" ]
null
null
null
rta/read/isoquant_db.py
MatteoLacki/rta
93944d6fc934126e0bb4d076c8b4213cadbe49a1
[ "BSD-2-Clause" ]
null
null
null
import pandas as pd import pymysql from sqlalchemy import create_engine def drop_table_sql(name = "small_peptide"): """Generate an SQL statement for droping a table.""" return f"DROP TABLE IF EXISTS {name};" def retrieve_data(password, project, user, ip,...
39.553191
144
0.579882
470
3,718
4.417021
0.291489
0.030347
0.028902
0.023121
0.349229
0.256744
0.23025
0.172447
0.126204
0.092486
0
0.00041
0.344271
3,718
93
145
39.978495
0.851107
0.168101
0
0.173913
1
0
0.522069
0.031621
0
0
0
0
0.028986
1
0.043478
false
0.028986
0.043478
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b22c7af68366d3d27c1d14aa9c48bc191ec56c61
526
py
Python
beginners/single_double_quotes.py
TahirIqbalGit/100-Python-Programs
ba80072c674c1b0d704e4bbbe403e720ffb98973
[ "MIT" ]
2
2021-08-25T07:58:40.000Z
2021-10-14T19:46:36.000Z
beginners/single_double_quotes.py
TahirIqbalGit/100-Python-Programs
ba80072c674c1b0d704e4bbbe403e720ffb98973
[ "MIT" ]
null
null
null
beginners/single_double_quotes.py
TahirIqbalGit/100-Python-Programs
ba80072c674c1b0d704e4bbbe403e720ffb98973
[ "MIT" ]
null
null
null
""" This file is create and managed by Tahir Iqbal ---------------------------------------------- It can be use only for education purpose """ # Printing Single and Double Quote # single quote should print in double quotes single = "Python's" print(single) # double quote should print in single quotes doub...
22.869565
50
0.659696
72
526
4.819444
0.430556
0.080692
0.138329
0.103746
0
0
0
0
0
0
0
0
0.178707
526
22
51
23.909091
0.803241
0.671103
0
0
0
0
0.196078
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
1
b2312eae19ce1a0016eb708f251605f42d0635e6
360
py
Python
users/urls.py
jameskomo/instagram-clone
a57f7e61555ede380a1a4eed566e4646867917aa
[ "Unlicense" ]
null
null
null
users/urls.py
jameskomo/instagram-clone
a57f7e61555ede380a1a4eed566e4646867917aa
[ "Unlicense" ]
null
null
null
users/urls.py
jameskomo/instagram-clone
a57f7e61555ede380a1a4eed566e4646867917aa
[ "Unlicense" ]
null
null
null
from django.urls import path, include from django.conf.urls import url from django.conf import settings from django.conf.urls.static import static from . import views urlpatterns=[ path('register/', views.register, name='my_instagram-register'), ] if settings.DEBUG: urlpatterns+= static(settings.MEDIA_U...
30
81
0.769444
49
360
5.571429
0.428571
0.14652
0.153846
0.131868
0
0
0
0
0
0
0
0
0.133333
360
12
81
30
0.875
0
0
0
0
0
0.083102
0.058172
0
0
0
0
0
1
0
false
0
0.5
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
0
1
0
0
0
0
1
b231fc1a56b9c71ef9b7f4e57f0723177b1ee547
1,651
py
Python
src/vsc/model/constraint_implies_model.py
aneels3/pyvsc
692fa2baa9cc0251411b3a8ace2854b7e65c288a
[ "Apache-2.0" ]
null
null
null
src/vsc/model/constraint_implies_model.py
aneels3/pyvsc
692fa2baa9cc0251411b3a8ace2854b7e65c288a
[ "Apache-2.0" ]
null
null
null
src/vsc/model/constraint_implies_model.py
aneels3/pyvsc
692fa2baa9cc0251411b3a8ace2854b7e65c288a
[ "Apache-2.0" ]
null
null
null
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
31.75
65
0.684434
215
1,651
5.176744
0.530233
0.053908
0.02336
0.028751
0
0
0
0
0
0
0
0.007968
0.239855
1,651
52
66
31.75
0.878884
0.479709
0
0
0
0
0.017857
0
0
0
0
0
0
1
0.263158
false
0
0.052632
0
0.473684
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
b23806a1cdb5b3df468cdfd8ec597caf4eaf6437
1,197
py
Python
00-test.py
TheRedGreek/constructed_test
353f3a474162ff6de56dddc932160c6d7e7edbe8
[ "BSD-2-Clause" ]
1
2019-12-20T21:53:37.000Z
2019-12-20T21:53:37.000Z
00-test.py
TheRedGreek/constructed_test
353f3a474162ff6de56dddc932160c6d7e7edbe8
[ "BSD-2-Clause" ]
null
null
null
00-test.py
TheRedGreek/constructed_test
353f3a474162ff6de56dddc932160c6d7e7edbe8
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import json print json.dumps({ "_meta": { "hostvars": { "test0.na.example.net": { "region": "NA", "data_center": "FDC", "environment": "LAB", "baseline": "2019q3", "owni...
29.925
116
0.411028
94
1,197
5.138298
0.446809
0.165631
0.132505
0.149068
0.254658
0.198758
0.198758
0.198758
0
0
0
0.034483
0.418546
1,197
39
117
30.692308
0.659483
0.035088
0
0.25
0
0
0.398959
0.114484
0
0
0
0
0
0
null
null
0
0.027778
null
null
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
1
0
0
0
0
0
0
0
0
1
b23f325b0ea057d3d6c2261cf20790d6bac7be4d
666
py
Python
tests/stock_tests.py
desiguel/asx-announce-analysis
77b899d6fb2ab8252ec758f7dde689b4d46167f6
[ "Unlicense" ]
6
2017-10-02T12:02:04.000Z
2022-01-23T21:43:47.000Z
tests/stock_tests.py
desiguel/asx-announce-analysis
77b899d6fb2ab8252ec758f7dde689b4d46167f6
[ "Unlicense" ]
null
null
null
tests/stock_tests.py
desiguel/asx-announce-analysis
77b899d6fb2ab8252ec758f7dde689b4d46167f6
[ "Unlicense" ]
6
2017-04-10T13:43:40.000Z
2021-09-08T00:46:41.000Z
from stock import * import pandas as pd def test_stock_constructor(): """ Testing the announcement constructor. """ stock = Stock(1045) assert isinstance(stock, Stock) def test_get_asx_code(): """ Testing the get_asx_code function """ stock = Stock(1045) fn_required_result = "O...
23.785714
55
0.681682
89
666
4.853933
0.370787
0.092593
0.097222
0.074074
0
0
0
0
0
0
0
0.023301
0.226727
666
27
56
24.666667
0.815534
0.241742
0
0.214286
0
0
0.015385
0
0
0
0
0
0.214286
1
0.214286
false
0
0.142857
0
0.357143
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
b24691ff41c2616f3d7d2a17303b63cffd80bea9
458
py
Python
examples/chr12_plot.py
vaquerizaslab/tadtool
9c69a69c637d1cdb95e320e1b2ffeddfd901894e
[ "MIT" ]
38
2016-07-04T02:07:52.000Z
2021-10-13T06:10:36.000Z
examples/chr12_plot.py
vaquerizaslab/tadtool
9c69a69c637d1cdb95e320e1b2ffeddfd901894e
[ "MIT" ]
27
2016-07-20T07:57:52.000Z
2021-11-15T18:09:34.000Z
examples/chr12_plot.py
vaquerizaslab/tadtool
9c69a69c637d1cdb95e320e1b2ffeddfd901894e
[ "MIT" ]
15
2016-10-24T09:35:26.000Z
2022-01-24T14:11:34.000Z
import tadtool.tad as tad import tadtool.plot as tp # load regions data set regions = tad.HicRegionFileReader().regions("chr12_20-35Mb_regions.bed") # load matrix matrix = tad.HicMatrixFileReader().matrix("chr12_20-35Mb.matrix.txt") # prepare plot tad_plot = tp.TADtoolPlot(matrix, regions, norm='lin', max_dist=10000...
25.444444
96
0.768559
66
458
5.242424
0.530303
0.075145
0.063584
0
0
0
0
0
0
0
0
0.090465
0.106987
458
17
97
26.941176
0.755501
0.122271
0
0
0
0
0.214646
0.181818
0
0
0
0
0
1
0
false
0
0.375
0
0.375
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
b24b0f8bb1905f367eb9eaa99768a17ec0aad893
490
py
Python
15Flask/day04/cart/__init__.py
HaoZhang95/PythonAndMachineLearning
b897224b8a0e6a5734f408df8c24846a98c553bf
[ "MIT" ]
937
2019-05-08T08:46:25.000Z
2022-03-31T12:56:07.000Z
15Flask/day04/cart/__init__.py
Sakura-gh/Python24
b97e18867264a0647d5645c7d757a0040e755577
[ "MIT" ]
47
2019-09-17T10:06:02.000Z
2022-03-11T23:46:52.000Z
15Flask/day04/cart/__init__.py
Sakura-gh/Python24
b97e18867264a0647d5645c7d757a0040e755577
[ "MIT" ]
354
2019-05-10T02:15:26.000Z
2022-03-30T05:52:57.000Z
from flask import Blueprint # 每一个模块蓝图可以拥有自己的静态文件夹,默认的app会设置好系统级别的static # 但是蓝图需要自己手动设置注册静态文件的路径 # 为了区分加载的是主应用下的static还是模块下的static,给模块初始化的时候添加url前缀 # 添加前缀后,那么该蓝图.route的时候就自动添加了该前缀, 加载img的时候使用/cart/static/xxx.img # 如果模块模板和主营业模板下都拥有相同的html名字,则优先加载主营业下的模板 cart_blue = Blueprint('cart', __name__, stat...
30.625
63
0.722449
39
490
8.871795
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.197959
490
15
64
32.666667
0.880407
0.502041
0
0
0
0
0.101266
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
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
b24e5141ebdfb44773c01edfecfa3cfb63d90dd0
494
py
Python
Exams/Respuestas/ejercicio_09_r.py
jorgemauricio/python
4f45cc64c8b8ff9edbe8b7e8741b2b523f031662
[ "MIT" ]
null
null
null
Exams/Respuestas/ejercicio_09_r.py
jorgemauricio/python
4f45cc64c8b8ff9edbe8b7e8741b2b523f031662
[ "MIT" ]
null
null
null
Exams/Respuestas/ejercicio_09_r.py
jorgemauricio/python
4f45cc64c8b8ff9edbe8b7e8741b2b523f031662
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Mon Jul 17 16:17:25 2017 @author: jorgemauricio - Escribir un programa que genere un password aleatorio de al menos 8 caracteres. Debes de considerar que un password fuerte incluye letras minúsculas, mayúsculas, números y símbolos """ import random s ...
26
125
0.728745
63
494
5.714286
0.793651
0.055556
0
0
0
0
0
0
0
0
0
0.06383
0.143725
494
18
126
27.444444
0.787234
0.609312
0
0
0
0
0.476923
0.379487
0
0
0
0
0
1
0
false
0.6
0.2
0
0.2
0.2
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
b250165961c4439f0b7ef7d742d6a479ebdd15d8
608
py
Python
oms_cms/backend/contact/send_mail.py
Hamel007/oms_cms
a120b27932fe1bd89f2c621c181b80b19caba0e0
[ "BSD-3-Clause" ]
null
null
null
oms_cms/backend/contact/send_mail.py
Hamel007/oms_cms
a120b27932fe1bd89f2c621c181b80b19caba0e0
[ "BSD-3-Clause" ]
null
null
null
oms_cms/backend/contact/send_mail.py
Hamel007/oms_cms
a120b27932fe1bd89f2c621c181b80b19caba0e0
[ "BSD-3-Clause" ]
null
null
null
from oms_cms.config import settings from oms_cms.backend.utils.models import EmailsFeedback from sendgrid import SendGridAPIClient from sendgrid.helpers.mail import Mail def send_mail_contact(subject, message): """Отправка письма через SendGrid""" message = Mail( from_email=settings.DEFAULT_FROM_EMAI...
30.4
66
0.713816
75
608
5.64
0.573333
0.033097
0.047281
0
0
0
0
0
0
0
0
0
0.199013
608
19
67
32
0.868583
0.049342
0
0
0
0
0.003497
0
0
0
0
0
0
1
0.066667
false
0.066667
0.266667
0
0.333333
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
1
0
0
0
0
0
1
b25214bc559402c40fcf2fb301e1542ca3f44d9d
6,621
py
Python
intrinsic_reliability.py
apayeur/GIF-Ca
7ba9e715d79aa3a733f417f7dfce81842041e7ec
[ "MIT" ]
1
2020-06-05T15:34:34.000Z
2020-06-05T15:34:34.000Z
src/intrinsic_reliability.py
apayeur/GIF-K
36228dfe5ffc2cded3f3224e289bd60e6bc7b93c
[ "MIT" ]
null
null
null
src/intrinsic_reliability.py
apayeur/GIF-K
36228dfe5ffc2cded3f3224e289bd60e6bc7b93c
[ "MIT" ]
null
null
null
from Experiment import * from iGIF_NP import * from AEC_Badel import * from Tools import * from Filter_Rect_LogSpaced import * import matplotlib.pyplot as plt import numpy as np import copy import os R_X = {} # List separate experiments in separate folder data_folders_for_separate_experiments = ['seventh_set'...
44.736486
153
0.57378
743
6,621
4.854643
0.270525
0.032437
0.037427
0.024397
0.24702
0.197394
0.18076
0.18076
0.18076
0.165789
0
0.016989
0.235463
6,621
147
154
45.040816
0.695575
0.118411
0
0.166667
0
0
0.067755
0.02714
0
0
0
0
0
0
null
null
0
0.1
null
null
0.033333
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
b253929bf0c1a84818b80155fb1e85747cfc5bb0
1,336
py
Python
db_methods/db_waitlist.py
ShashkovS/vmsh_tasks_bot
08f04dffd3ee4d09e10355f9d198103807daceb1
[ "MIT" ]
1
2021-09-01T20:42:45.000Z
2021-09-01T20:42:45.000Z
db_methods/db_waitlist.py
ShashkovS/vmsh_tasks_bot
08f04dffd3ee4d09e10355f9d198103807daceb1
[ "MIT" ]
null
null
null
db_methods/db_waitlist.py
ShashkovS/vmsh_tasks_bot
08f04dffd3ee4d09e10355f9d198103807daceb1
[ "MIT" ]
2
2020-09-09T14:05:19.000Z
2020-09-09T20:02:00.000Z
import sqlite3 from typing import List from datetime import datetime # ██ ██ █████ ██ ████████ ██ ██ ███████ ████████ # ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ # ██ █ ██ ███████ ██ ██ ██ ██ ███████ ██ # ██ ███ ██ ██ ██ ██ ██ ██ ██ ██ ██ # ███ ███ ██ █...
30.363636
69
0.437874
169
1,336
4.183432
0.307692
0.152758
0.169731
0.181047
0.388967
0.312588
0.161245
0.161245
0.056577
0.031117
0
0.002361
0.366018
1,336
43
70
31.069767
0.664699
0.207335
0
0.451613
0
0
0.318139
0
0
0
0
0
0
1
0.096774
false
0
0.096774
0
0.290323
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b258c1a5683fa4039b1b20461d1c342634fbfc19
2,801
py
Python
redis_metrics/management/commands/fix_redis_metrics_keys.py
bradmontgomery/django-redis-metrics
b1466b5742f3f1e3aac4264cb8b73e25e765e972
[ "MIT" ]
52
2015-01-03T19:40:50.000Z
2022-01-23T14:08:43.000Z
redis_metrics/management/commands/fix_redis_metrics_keys.py
bradmontgomery/django-redis-metrics
b1466b5742f3f1e3aac4264cb8b73e25e765e972
[ "MIT" ]
31
2015-01-05T10:28:50.000Z
2020-03-30T15:42:35.000Z
redis_metrics/management/commands/fix_redis_metrics_keys.py
bradmontgomery/django-redis-metrics
b1466b5742f3f1e3aac4264cb8b73e25e765e972
[ "MIT" ]
11
2015-03-07T12:15:53.000Z
2019-11-03T15:31:59.000Z
""" This command essentially migrates data used for a number of items used by the R class. This should fix any issues related to: WRONGTYPE Operation against a key holding the wrong kind of value These include: * """ from __future__ import unicode_literals import json from django.core.management.base import No...
38.369863
89
0.59693
402
2,801
4.087065
0.325871
0.010956
0.021911
0.027389
0.458308
0.444918
0.401704
0.372489
0.337188
0.337188
0
0.005208
0.314531
2,801
72
90
38.902778
0.850521
0.33738
0
0.27907
0
0
0.115238
0.011469
0
0
0
0
0
1
0.023256
false
0.069767
0.116279
0
0.186047
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
b25901f938d7e831b1393026bd3939f417b6679c
749
py
Python
hivwholeseq/patients/get_days_since_infection.py
iosonofabio/hivwholeseq
d504c63b446c3a0308aad6d6e484ea1666bbe6df
[ "MIT" ]
3
2016-12-01T03:12:06.000Z
2021-07-03T01:29:26.000Z
hivwholeseq/patients/get_days_since_infection.py
iosonofabio/hivwholeseq
d504c63b446c3a0308aad6d6e484ea1666bbe6df
[ "MIT" ]
null
null
null
hivwholeseq/patients/get_days_since_infection.py
iosonofabio/hivwholeseq
d504c63b446c3a0308aad6d6e484ea1666bbe6df
[ "MIT" ]
3
2016-01-17T03:43:46.000Z
2020-03-25T07:00:11.000Z
# vim: fdm=indent ''' author: Fabio Zanini date: 18/05/15 content: Get days since infection from dates. ''' # Globals import pandas as pd from hivwholeseq.patients.patients import load_patients from hivwholeseq.patients.samples import load_samples_sequenced, itersample # Script if __name__ == '__main__...
22.69697
75
0.639519
89
749
5.202247
0.58427
0.064795
0.099352
0
0
0
0
0
0
0
0
0.014337
0.255007
749
32
76
23.40625
0.815412
0.040053
0
0
0
0
0.063622
0
0
0
0
0
0
0
null
null
0
0.1875
null
null
0.0625
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
b25c46bc2c103f5282df1c0d1ecf60ff50118ffd
1,359
py
Python
otree_redwood/utils.py
etherealmachine/otree-redwood-extensions
98cdba94487da8db7eaee41f68e2b03d0a1887ad
[ "MIT" ]
null
null
null
otree_redwood/utils.py
etherealmachine/otree-redwood-extensions
98cdba94487da8db7eaee41f68e2b03d0a1887ad
[ "MIT" ]
null
null
null
otree_redwood/utils.py
etherealmachine/otree-redwood-extensions
98cdba94487da8db7eaee41f68e2b03d0a1887ad
[ "MIT" ]
null
null
null
import threading import time _timers = {} class DiscreteEventEmitter(): def __init__(self, interval, period_length, group, callback, start_immediate=False): self.interval = float(interval) self.period_length = period_length self.group = group self.intervals = self.period_length / ...
32.357143
106
0.626196
162
1,359
5.092593
0.302469
0.087273
0.092121
0.065455
0.164848
0.164848
0.077576
0
0
0
0
0.003061
0.278882
1,359
41
107
33.146341
0.838776
0.067697
0
0.121212
0
0
0
0
0
0
0
0.02439
0
1
0.151515
false
0
0.060606
0.030303
0.272727
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
b25dbc11caae9eb519d6c90fce45c8b42eab58c5
222
py
Python
backend/conf/settings_e2e.py
domasx2/django-angular-docker-seed
5c1ad6d62d179c9cb5cdbf7b1254576efa63b2fb
[ "Unlicense" ]
32
2015-04-27T02:01:59.000Z
2021-04-06T10:19:42.000Z
backend/conf/settings_e2e.py
domasx2/django-angular-docker-seed
5c1ad6d62d179c9cb5cdbf7b1254576efa63b2fb
[ "Unlicense" ]
14
2015-03-21T08:20:34.000Z
2016-02-15T07:07:39.000Z
backend/conf/settings_e2e.py
domasx2/django-angular-docker-seed
5c1ad6d62d179c9cb5cdbf7b1254576efa63b2fb
[ "Unlicense" ]
21
2015-03-18T18:40:12.000Z
2021-03-16T22:12:44.000Z
from .settings import * DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'django', 'USER': 'django', 'HOST': 'dbe2e', 'PORT': 5432, } }
20.181818
59
0.504505
19
222
5.842105
0.894737
0
0
0
0
0
0
0
0
0
0
0.039216
0.310811
222
11
60
20.181818
0.686275
0
0
0
0
0
0.376682
0.170404
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b2610cbb9013dfaf0820b03a0a602902e729113f
332
py
Python
examples/hello_world_function_handler.py
osantana/toy
a87687582aacb4172da76dc5b9c578d362e73e28
[ "Unlicense" ]
16
2019-02-12T19:50:11.000Z
2022-03-26T18:08:28.000Z
examples/hello_world_function_handler.py
osantana/toy
a87687582aacb4172da76dc5b9c578d362e73e28
[ "Unlicense" ]
null
null
null
examples/hello_world_function_handler.py
osantana/toy
a87687582aacb4172da76dc5b9c578d362e73e28
[ "Unlicense" ]
null
null
null
from toy.application import Application from toy.server import HTTPServer from toy.http import Response def hello_world(request): return Response('Hello World!',content_type='text/plain') class MyApp(Application): def initialize(self): self.add_route(r'/', hello_world) server = HTTPServer(MyApp()) se...
22.133333
61
0.746988
44
332
5.545455
0.568182
0.086066
0
0
0
0
0
0
0
0
0
0
0.141566
332
14
62
23.714286
0.85614
0
0
0
0
0
0.069486
0
0
0
0
0
0
1
0.2
false
0
0.3
0.1
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b2619e5f837a6a3f16e311f726b29e88aaafe9d2
2,943
py
Python
codewars_Error_correction_1__Hamming_Code.py
DazEB2/SimplePyScripts
1dde0a42ba93fe89609855d6db8af1c63b1ab7cc
[ "CC-BY-4.0" ]
117
2015-12-18T07:18:27.000Z
2022-03-28T00:25:54.000Z
codewars_Error_correction_1__Hamming_Code.py
DazEB2/SimplePyScripts
1dde0a42ba93fe89609855d6db8af1c63b1ab7cc
[ "CC-BY-4.0" ]
8
2018-10-03T09:38:46.000Z
2021-12-13T19:51:09.000Z
codewars_Error_correction_1__Hamming_Code.py
DazEB2/SimplePyScripts
1dde0a42ba93fe89609855d6db8af1c63b1ab7cc
[ "CC-BY-4.0" ]
28
2016-08-02T17:43:47.000Z
2022-03-21T08:31:12.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'ipetrash' # SOURCE: https://www.codewars.com/kata/5ef9ca8b76be6d001d5e1c3e/train/python def chunks(l, n): """Yield successive n-sized chunks from l.""" for i in range(0, len(l), n): yield l[i: i + n] # Task 1: Encode function # # Implem...
32.7
115
0.646619
362
2,943
5.20442
0.455801
0.023355
0.007431
0.024416
0.096603
0.075372
0
0
0
0
0
0.229194
0.236493
2,943
89
116
33.067416
0.609257
0.613999
0
0.129032
0
0
0.162385
0.13211
0
0
0
0
0.096774
1
0.096774
false
0
0
0.032258
0.16129
0.096774
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b2628e75fcf576c4314dbd205d22a10ab95fe42e
192
py
Python
ids.py
Mohammed2680/cat-plugin
def8b63aca50be84909afbab84bcd320acae3fd0
[ "Apache-2.0" ]
null
null
null
ids.py
Mohammed2680/cat-plugin
def8b63aca50be84909afbab84bcd320acae3fd0
[ "Apache-2.0" ]
null
null
null
ids.py
Mohammed2680/cat-plugin
def8b63aca50be84909afbab84bcd320acae3fd0
[ "Apache-2.0" ]
1
2022-03-05T01:09:45.000Z
2022-03-05T01:09:45.000Z
from telethon import events @bot.on(events.NewMessage(outgoing=True, incoming=False)) async def hi(event): text = event.text for a in range(1): await bot.send_file(event.chat_id, text)
32
57
0.744792
32
192
4.40625
0.8125
0.12766
0
0
0
0
0
0
0
0
0
0.006024
0.135417
192
6
58
32
0.843373
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b267ba30df64787e0531446ebf748b62db7873fd
541
py
Python
nemo/utils/misc.py
ParikhKadam/NeMo
ee11f7c4666d410d91f9da33c61f4819ea625013
[ "Apache-2.0" ]
1
2020-11-05T09:39:59.000Z
2020-11-05T09:39:59.000Z
nemo/utils/misc.py
ParikhKadam/NeMo
ee11f7c4666d410d91f9da33c61f4819ea625013
[ "Apache-2.0" ]
1
2020-06-11T00:54:42.000Z
2020-06-11T00:54:42.000Z
nemo/utils/misc.py
ParikhKadam/NeMo
ee11f7c4666d410d91f9da33c61f4819ea625013
[ "Apache-2.0" ]
3
2020-03-10T05:10:07.000Z
2020-12-08T01:33:35.000Z
# Copyright (c) 2019 NVIDIA Corporation from collections import UserDict def pad_to(x, k=8): """Pad int value up to divisor of k. Examples: >>> pad_to(31, 8) 32 """ return x + (x % k > 0) * (k - x % k) class Config(UserDict): MAIN_SECTIONS = ('optimization', 'input', 'target',...
20.807692
68
0.567468
70
541
4.214286
0.614286
0.020339
0
0
0
0
0
0
0
0
0
0.028871
0.295749
541
25
69
21.64
0.745407
0.207024
0
0
0
0
0.079012
0
0
0
0
0
0
1
0.2
false
0
0.1
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b2736736a383726d55d5af270391f7a2e0ff27d5
1,846
py
Python
script/organiseTaskList.py
shawnwun/woz
e9147620137c7958ee7583f0bcb5000bf5871aef
[ "Apache-2.0" ]
13
2018-01-10T11:45:47.000Z
2020-02-13T11:44:26.000Z
script/organiseTaskList.py
shawnwun/woz
e9147620137c7958ee7583f0bcb5000bf5871aef
[ "Apache-2.0" ]
1
2018-11-06T03:08:18.000Z
2020-01-10T06:23:08.000Z
script/organiseTaskList.py
shawnwun/woz
e9147620137c7958ee7583f0bcb5000bf5871aef
[ "Apache-2.0" ]
5
2018-01-10T02:34:24.000Z
2019-07-31T08:26:08.000Z
###################################################################### ###################################################################### # Copyright Tsung-Hsien Wen, Cambridge Dialogue Systems Group, 2017 # ###################################################################### ####################################...
28.4
88
0.46208
200
1,846
4.26
0.395
0.057512
0.070423
0.035211
0.122066
0.051643
0
0
0
0
0
0.010167
0.254063
1,846
64
89
28.84375
0.608569
0.106176
0
0.219512
0
0
0.108984
0
0
0
0
0
0
0
null
null
0.02439
0.121951
null
null
0.073171
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
b2782c6f25760d5a843c36841697eba248a35475
2,440
py
Python
authentication/tests.py
vollov/ocbl-rest
79509c027dc84f5dddf59cea832881ca95879e31
[ "MIT" ]
null
null
null
authentication/tests.py
vollov/ocbl-rest
79509c027dc84f5dddf59cea832881ca95879e31
[ "MIT" ]
null
null
null
authentication/tests.py
vollov/ocbl-rest
79509c027dc84f5dddf59cea832881ca95879e31
[ "MIT" ]
null
null
null
from django.test import TestCase from rest_framework.test import APIClient from django.contrib.auth import authenticate from app.settings import JWT_HEADER ############################################### ## test user registration ############################################### class TestUserAuthentication(TestCase):...
36.41791
84
0.577049
243
2,440
5.691358
0.358025
0.069414
0.075922
0.069414
0.376717
0.321041
0.231381
0.072307
0.072307
0.072307
0
0.015686
0.268443
2,440
67
85
36.41791
0.759104
0.22418
0
0.243243
0
0
0.20796
0
0
0
0
0
0.135135
1
0.135135
false
0.162162
0.108108
0
0.351351
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
b27b0a15760915ef4a8bc44cef5ad2da5e49e6c8
11,012
py
Python
sdk/python/pulumi_alicloud/vpc/get_nat_gateways.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
42
2019-03-18T06:34:37.000Z
2022-03-24T07:08:57.000Z
sdk/python/pulumi_alicloud/vpc/get_nat_gateways.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
152
2019-04-15T21:03:44.000Z
2022-03-29T18:00:57.000Z
sdk/python/pulumi_alicloud/vpc/get_nat_gateways.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
3
2020-08-26T17:30:07.000Z
2021-07-05T01:37:45.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
38.774648
281
0.638122
1,335
11,012
4.979026
0.130337
0.042124
0.036107
0.072213
0.271852
0.158116
0.106514
0.056567
0.011133
0
0
0.000734
0.258173
11,012
283
282
38.911661
0.812951
0.164457
0
0.116751
1
0
0.14617
0.011992
0
0
0
0
0
1
0.096447
false
0
0.030457
0.020305
0.228426
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
b27bbed3418fb53c3500a264fb820eb9f4c4a5fb
3,496
py
Python
Src/ui_about.py
keoni29/romclient
c757e134b6efe37741dfdfb6ce90d7514ddc01d5
[ "MIT" ]
3
2019-03-02T12:18:20.000Z
2022-01-04T10:07:28.000Z
Src/ui_about.py
keoni29/romclient
c757e134b6efe37741dfdfb6ce90d7514ddc01d5
[ "MIT" ]
1
2020-05-13T03:31:09.000Z
2020-05-13T13:11:44.000Z
Src/ui_about.py
keoni29/romclient
c757e134b6efe37741dfdfb6ce90d7514ddc01d5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'QT5Designer_AboutROMClient_v04-00.ui' # # Created by: PyQt5 UI code generator 5.10.1 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_aboutDialog(object): def setupUi(self, ab...
71.346939
287
0.71167
453
3,496
5.481236
0.344371
0.072493
0.019734
0.036649
0.427306
0.387032
0.387032
0.387032
0.316955
0.316955
0
0.029126
0.116133
3,496
48
288
72.833333
0.77411
0.059211
0
0.166667
1
0.027778
0.216702
0.011277
0
0
0
0
0
1
0.055556
false
0
0.027778
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b27e8006c316a112b409d6fddb81dc89470a9edb
5,939
py
Python
tests/__init__.py
chrisdotcode/statuses
4872f0b708abef8c6de17e75e53be2dc6fdc1a46
[ "BSD-3-Clause" ]
1
2019-04-19T14:37:51.000Z
2019-04-19T14:37:51.000Z
tests/__init__.py
chrisdotcode/statuses
4872f0b708abef8c6de17e75e53be2dc6fdc1a46
[ "BSD-3-Clause" ]
null
null
null
tests/__init__.py
chrisdotcode/statuses
4872f0b708abef8c6de17e75e53be2dc6fdc1a46
[ "BSD-3-Clause" ]
null
null
null
import unittest from status import Failed, InProgress, NotStarted, Status, Succeeded class StatusTests(unittest.TestCase): def test_init(self): with self.assertRaises(NotImplementedError) as e: Status() self.assertEqual( str(e.exception), "Please instantiate on...
44.654135
73
0.658528
556
5,939
7.001799
0.118705
0.092474
0.064218
0.036989
0.256358
0.128949
0.089905
0.089905
0.089905
0.089905
0
0.030405
0.197003
5,939
132
74
44.992424
0.785909
0
0
0
0
0
0.036033
0.003704
0
0
0
0
0.836207
1
0.068966
false
0
0.017241
0
0.094828
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
1
0
0
0
0
0
0
0
0
0
1
b283eedffcecf57adc65c30fe503378a2d755de1
513
py
Python
0392. Is Subsequence/solution_double_pointer.py
furutuki/LeetCodeSolution
db5e6573d0c907dfa3e6ad5e5b3b5ff9944a4f53
[ "MIT" ]
null
null
null
0392. Is Subsequence/solution_double_pointer.py
furutuki/LeetCodeSolution
db5e6573d0c907dfa3e6ad5e5b3b5ff9944a4f53
[ "MIT" ]
null
null
null
0392. Is Subsequence/solution_double_pointer.py
furutuki/LeetCodeSolution
db5e6573d0c907dfa3e6ad5e5b3b5ff9944a4f53
[ "MIT" ]
null
null
null
class Solution: def isSubsequence(self, s: str, t: str) -> bool: if not s: return True m, n = 0, len(s) - 1 i, j = 0, len(t) - 1 while i <= j and m <= n: if t[i] == s[m]: m += 1 i += 1 else: i += 1 ...
20.52
52
0.321637
67
513
2.462687
0.38806
0.036364
0
0
0
0
0
0
0
0
0
0.042553
0.54191
513
25
53
20.52
0.659574
0
0
0.3
0
0
0.015564
0
0
0
0
0
0
1
0.05
false
0
0
0
0.2
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
b28752715c222364ff9e482761933bd69beaf3f9
512
py
Python
src/setup.py
damarkian/m-spacedog
4040bc8df1c176331d805d11f63dd18e5c6a5ea4
[ "MIT" ]
null
null
null
src/setup.py
damarkian/m-spacedog
4040bc8df1c176331d805d11f63dd18e5c6a5ea4
[ "MIT" ]
null
null
null
src/setup.py
damarkian/m-spacedog
4040bc8df1c176331d805d11f63dd18e5c6a5ea4
[ "MIT" ]
null
null
null
import setuptools setuptools.setup( name = "m-spacedog", packages = setuptools.find_packages(where = "python"), package_dir = { "" : "python" }, classifiers = ( "Programming Language :: Python ...
24.380952
81
0.4375
32
512
6.90625
0.84375
0
0
0
0
0
0
0
0
0
0
0.003546
0.449219
512
20
82
25.6
0.780142
0
0
0
0
0
0.255859
0
0
0
0
0
0
1
0
true
0
0.052632
0
0.052632
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
0
0
0
0
0
0
1
b297831bd4f357a469f52be77a4e6b8e0ee7e06e
519
py
Python
tests/models/test_award.py
lexicalunit/spellbot
17a4999d5e1def06246727ac5481230aa4a4557d
[ "MIT" ]
13
2020-07-03T01:20:54.000Z
2021-11-22T06:06:21.000Z
tests/models/test_award.py
lexicalunit/spellbot
17a4999d5e1def06246727ac5481230aa4a4557d
[ "MIT" ]
660
2020-06-26T02:52:18.000Z
2022-03-31T14:14:02.000Z
tests/models/test_award.py
lexicalunit/spellbot
17a4999d5e1def06246727ac5481230aa4a4557d
[ "MIT" ]
3
2020-07-12T06:18:39.000Z
2021-06-22T06:54:47.000Z
from tests.fixtures import Factories class TestModelAward: def test_award(self, factories: Factories): guild = factories.guild.create() guild_award = factories.guild_award.create(guild=guild) assert guild_award.to_dict() == { "id": guild_award.id, "guild_xid": guil...
30.529412
63
0.61657
56
519
5.482143
0.392857
0.29316
0
0
0
0
0
0
0
0
0
0
0.277457
519
16
64
32.4375
0.818667
0
0
0
0
0
0.069364
0
0
0
0
0
0.076923
1
0.076923
false
0
0.076923
0
0.230769
0
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
b29b9f5a76a1f307da55ecf15b0b8615b8df35eb
551
py
Python
wc_sim/on_ROSS/try_c_and_python/python_call_c.py
KarrLab/wc_sim
5b0ee03c3d19193fa67a3797d4258b753e6bc576
[ "MIT" ]
8
2018-03-27T21:35:25.000Z
2022-01-18T08:32:20.000Z
wc_sim/on_ROSS/try_c_and_python/python_call_c.py
KarrLab/wc_sim
5b0ee03c3d19193fa67a3797d4258b753e6bc576
[ "MIT" ]
114
2018-02-27T14:14:39.000Z
2020-12-30T15:06:51.000Z
wc_sim/on_ROSS/try_c_and_python/python_call_c.py
KarrLab/wc_sim
5b0ee03c3d19193fa67a3797d4258b753e6bc576
[ "MIT" ]
2
2019-04-05T16:17:28.000Z
2020-05-17T12:55:20.000Z
''' :Author: Arthur Goldberg <Arthur.Goldberg@mssm.edu> :Date: 2017-04-06 :Copyright: 2017-2018, Karr Lab :License: MIT ''' # example program using example spam module # TODO(Arthur): cover after MVP wc_sim done import spam # pragma: no cover for cmd in ["ls -l", "date", "no_such_command", 7, None, 'kill']: # pr...
26.238095
86
0.637024
77
551
4.519481
0.675325
0.068966
0.112069
0
0
0
0
0
0
0
0
0.038462
0.197822
551
20
87
27.55
0.748869
0.455535
0
0
0
0
0.204861
0
0
0
0
0.05
0
1
0
false
0
0.125
0
0.125
0.375
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
b29c3027243bc654acb7dffcccf514d790e300fc
5,994
py
Python
gefapi/services/user_service.py
erick-otenyo/trends.earth-API
143a4798965e9daa4a53626ace984c7e5b9e359d
[ "X11" ]
1
2019-02-25T08:30:14.000Z
2019-02-25T08:30:14.000Z
gefapi/services/user_service.py
erick-otenyo/trends.earth-API
143a4798965e9daa4a53626ace984c7e5b9e359d
[ "X11" ]
null
null
null
gefapi/services/user_service.py
erick-otenyo/trends.earth-API
143a4798965e9daa4a53626ace984c7e5b9e359d
[ "X11" ]
2
2019-07-19T15:40:47.000Z
2020-03-02T14:28:25.000Z
"""SCRIPT SERVICE""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import random import datetime import string import logging from uuid import UUID from gefapi import db from gefapi.models import User from gefapi.errors import UserNotFound, UserDuplicate...
36.327273
121
0.601935
694
5,994
5.07781
0.164265
0.04597
0.031215
0.038593
0.513337
0.47815
0.430477
0.413451
0.413451
0.413451
0
0.000945
0.293794
5,994
164
122
36.54878
0.831562
0.008675
0
0.496599
0
0
0.121227
0
0
0
0
0
0
1
0.054422
false
0.122449
0.088435
0
0.204082
0.006803
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
b29de3e1692df9c333f40af8076e907656248b4f
1,469
py
Python
main.py
lelouch0204/son2sat
9cfb8e969a5c25458eeedc2423facd4f038c7087
[ "Apache-2.0" ]
5
2020-02-16T17:38:52.000Z
2022-03-24T04:49:35.000Z
main.py
lelouch0204/son2sat
9cfb8e969a5c25458eeedc2423facd4f038c7087
[ "Apache-2.0" ]
1
2020-11-24T15:09:46.000Z
2020-11-24T17:31:05.000Z
main.py
lelouch0204/son2sat
9cfb8e969a5c25458eeedc2423facd4f038c7087
[ "Apache-2.0" ]
1
2022-01-30T10:20:37.000Z
2022-01-30T10:20:37.000Z
# main.py from __future__ import absolute_import from __future__ import division from __future__ import print_function import glob import tensorflow as tf from datasets.aracati import Aracati from keras import backend as K from models.unet import Unet from trainers.trainer import Trainer from utils.logger import Log...
24.898305
114
0.681416
193
1,469
4.963731
0.38342
0.036534
0.050104
0.039666
0
0
0
0
0
0
0
0.002629
0.223281
1,469
58
115
25.327586
0.836985
0.004765
0
0.051282
0
0
0.039726
0.023973
0
0
0
0
0
1
0.025641
false
0
0.307692
0
0.333333
0.025641
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
b2a819b8773b1c6221b3ca92de8dd5b101bbb991
425
py
Python
video2image(data Generator).py
kranthik13/DeepWay
7369fb50739847c59770076874aa4a61a31d33bd
[ "MIT" ]
null
null
null
video2image(data Generator).py
kranthik13/DeepWay
7369fb50739847c59770076874aa4a61a31d33bd
[ "MIT" ]
null
null
null
video2image(data Generator).py
kranthik13/DeepWay
7369fb50739847c59770076874aa4a61a31d33bd
[ "MIT" ]
null
null
null
import cv2 import numpy as np cap=cv2.VideoCapture('C:/Users/satinder/Desktop/center5.mp4') ret=True i=0 j=3772 while ret: ret,frame=cap.read() frame=cv2.resize(frame,(640,480)) cv2.imshow('s',frame) if(i%5==0): cv2.imwrite('C:/Users/satinder/Desktop/center/'+str(j)+'.jpg',frame) ...
22.368421
77
0.602353
68
425
3.764706
0.588235
0.046875
0.109375
0.164063
0
0
0
0
0
0
0
0.077381
0.209412
425
18
78
23.611111
0.684524
0
0
0
0
0
0.186732
0.17199
0
0
0.009828
0
0
1
0
false
0
0.117647
0
0.117647
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b2aa1b975ec5533d6db53d62cdc1ce2db46ca16c
538
py
Python
boogabot.py
andrew-zabloudil/BoogaBot
6d4180b6d7200363da78ae54692657e5ab35b1a5
[ "MIT" ]
null
null
null
boogabot.py
andrew-zabloudil/BoogaBot
6d4180b6d7200363da78ae54692657e5ab35b1a5
[ "MIT" ]
1
2021-02-26T03:30:05.000Z
2021-02-26T03:30:05.000Z
boogabot.py
andrew-zabloudil/BoogaBot
6d4180b6d7200363da78ae54692657e5ab35b1a5
[ "MIT" ]
null
null
null
#! python3 """ This file creates the bot item for BoogaBot. All commands are located in the files found in the cogs folder. """ import os import discord from discord.ext import commands from cogs.regular_commands import RegularCommands from cogs.mod_commands import ModCommands from cogs.bot_listeners import BotListene...
24.454545
66
0.801115
80
538
5.2625
0.4875
0.057007
0.064133
0.057007
0
0
0
0
0
0
0
0.002083
0.107807
538
21
67
25.619048
0.875
0.219331
0
0
0
0
0.033981
0
0
0
0
0
0
1
0
false
0
0.5
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
0
1
0
0
0
0
1
b2b1aaf7c9009029177ae7e92d57cf13305fc23b
675
py
Python
main.py
Zeitocrab/PyRoar
2fa837568b40afb75a300ca94eabd8abf82786a9
[ "MIT" ]
3
2017-11-18T02:14:18.000Z
2017-11-18T16:33:40.000Z
main.py
Zeitocrab/PyRoar
2fa837568b40afb75a300ca94eabd8abf82786a9
[ "MIT" ]
null
null
null
main.py
Zeitocrab/PyRoar
2fa837568b40afb75a300ca94eabd8abf82786a9
[ "MIT" ]
null
null
null
import pyroar, asyncio bot = pyroar.PSBot() account = pyroar.getAccount('USERNAME') @bot.event async def on_connect(bot): print('Connected to {}'.format(bot.server)) @bot.event async def on_ready(bot, account): await bot.joinRoom(pyroar.getRoom('ROOMID')) print('Ready!') @bot.event async def on_pm(bot, ...
25
70
0.715556
97
675
4.938144
0.484536
0.066806
0.10856
0.133612
0.150313
0
0
0
0
0
0
0
0.155556
675
26
71
25.961538
0.840351
0.148148
0
0.222222
0
0
0.075044
0
0
0
0
0
0
1
0
false
0.055556
0.055556
0
0.055556
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
1
0
0
0
0
0
1
a2329d888854b79d75f6b8eee7c14af911d2697a
919
py
Python
blog/migrations/0011_auto_20210511_1947.py
ibnshayed/Advanced-Blog-Application
27b38d569d5f883a0cd02b04d50162fa35de2388
[ "MIT" ]
21
2021-04-24T19:45:07.000Z
2022-02-10T05:50:16.000Z
blog/migrations/0011_auto_20210511_1947.py
ibnshayed/Advanced-Blog-Application
27b38d569d5f883a0cd02b04d50162fa35de2388
[ "MIT" ]
3
2021-07-22T00:45:52.000Z
2021-09-01T16:31:32.000Z
blog/migrations/0011_auto_20210511_1947.py
ibnshayed/Advanced-Blog-Application
27b38d569d5f883a0cd02b04d50162fa35de2388
[ "MIT" ]
14
2021-05-24T16:27:32.000Z
2022-03-25T18:02:19.000Z
# Generated by Django 3.1.5 on 2021-05-11 13:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0010_auto_20210509_1936'), ] operations = [ migrations.CreateModel( name='Contact', fields=[ ...
31.689655
114
0.572361
94
919
5.457447
0.638298
0.064327
0.070175
0.093567
0
0
0
0
0
0
0
0.062787
0.289445
919
28
115
32.821429
0.722818
0.048966
0
0.090909
1
0
0.102064
0.026376
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a233b72a8b9c86f7ea2ca8cd490ee7fdd7aa649f
438
py
Python
froide/accesstoken/migrations/0002_accesstoken_timestamp.py
OpendataCH/froide
8136bac0d8caa56f9cfc7ba15480be987280e55d
[ "MIT" ]
null
null
null
froide/accesstoken/migrations/0002_accesstoken_timestamp.py
OpendataCH/froide
8136bac0d8caa56f9cfc7ba15480be987280e55d
[ "MIT" ]
null
null
null
froide/accesstoken/migrations/0002_accesstoken_timestamp.py
OpendataCH/froide
8136bac0d8caa56f9cfc7ba15480be987280e55d
[ "MIT" ]
null
null
null
# Generated by Django 2.1.4 on 2019-01-18 13:46 import django.utils.timezone from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("accesstoken", "0001_initial"), ] operations = [ migrations.AddField( model_name="accesstoken", ...
21.9
74
0.630137
46
438
5.956522
0.73913
0.080292
0.138686
0
0
0
0
0
0
0
0
0.058462
0.257991
438
19
75
23.052632
0.784615
0.10274
0
0
1
0
0.109974
0
0
0
0
0
0
1
0
false
0
0.153846
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a238f98e6c99abf89c0dc30b8927689423db1de1
540
py
Python
Solutions/014/Solution.py
FaMiFisH/ProjectEuler
605cc8c0bf7a5dd44afb0bec7ba265619247f733
[ "MIT" ]
null
null
null
Solutions/014/Solution.py
FaMiFisH/ProjectEuler
605cc8c0bf7a5dd44afb0bec7ba265619247f733
[ "MIT" ]
null
null
null
Solutions/014/Solution.py
FaMiFisH/ProjectEuler
605cc8c0bf7a5dd44afb0bec7ba265619247f733
[ "MIT" ]
null
null
null
def even(n): return n/2 def odd(n): return (3*n)+1 if __name__ == '__main__': appeared = [] z = 0 x = 0 for i in range(1,1000000): y = 0 a = i while a != 1: if i not in appeared: if a % 2 == 0: a = even(a...
20
36
0.298148
66
540
2.318182
0.409091
0.091503
0.039216
0
0
0
0
0
0
0
0
0.087558
0.598148
540
27
37
20
0.617512
0.033333
0
0.086957
0
0
0.016129
0
0
0
0
0
0
1
0.086957
false
0
0
0.086957
0.173913
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
a23a3049605e968c0c30ab8f6e91fc6cdfb4c05f
5,020
py
Python
pocketlib/__init__.py
kumarstack55/python-pocket-cli
ba09472b8f4ad5f559eabb57f5e2c7b0a563897a
[ "MIT" ]
null
null
null
pocketlib/__init__.py
kumarstack55/python-pocket-cli
ba09472b8f4ad5f559eabb57f5e2c7b0a563897a
[ "MIT" ]
null
null
null
pocketlib/__init__.py
kumarstack55/python-pocket-cli
ba09472b8f4ad5f559eabb57f5e2c7b0a563897a
[ "MIT" ]
null
null
null
#!/usr/bin/env python # coding: utf-8 import functools import json import os import requests import sys import urllib.parse from typing import Callable from typing import Any CONSUMER_KEY_NAME = 'POCKET_CONSUMER_KEY' ACCESS_TOKEN_NAME = 'POCKET_ACCESS_TOKEN' def get_env_name(name: str) -> str: """Get environmen...
26.145833
76
0.593028
615
5,020
4.617886
0.266667
0.050352
0.024648
0.023239
0.016197
0
0
0
0
0
0
0.004484
0.289243
5,020
191
77
26.282723
0.79148
0.291434
0
0.060976
0
0
0.046468
0
0
0
0
0.015707
0
1
0.146341
false
0.036585
0.109756
0
0.390244
0.012195
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
a23cc1a736bc5d79395f48a9ae12a72d3ca6f790
1,277
py
Python
packages/pyre/schemata/Array.py
rtburns-jpl/pyre
ffc4fc1b2936e355f709d084eb4055954960b3a2
[ "BSD-3-Clause" ]
null
null
null
packages/pyre/schemata/Array.py
rtburns-jpl/pyre
ffc4fc1b2936e355f709d084eb4055954960b3a2
[ "BSD-3-Clause" ]
1
2021-06-10T23:42:13.000Z
2021-06-10T23:42:13.000Z
packages/pyre/schemata/Array.py
jlmaurer/pyre
6af38a83621d7d6228d147b4bb94f97fbb10f6e2
[ "BSD-3-Clause" ]
2
2020-08-31T18:07:52.000Z
2021-12-10T08:54:39.000Z
# -*- coding: utf-8 -*- # # michael a.g. aïvázis # orthologue # (c) 1998-2020 all rights reserved # # externals import collections # superclass from .Schema import Schema # declaration class Array(Schema): """ The array type declarator """ # constants typename = 'array' # the name of my type ...
23.218182
72
0.596711
153
1,277
4.928105
0.568627
0.015915
0.045093
0
0
0
0
0
0
0
0
0.011287
0.306186
1,277
54
73
23.648148
0.839729
0.394675
0
0
0
0
0.063114
0
0
0
0
0
0
1
0.133333
false
0
0.133333
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1