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
04b3dceaf446dfdc4b87656ef1d87b34318b1cff
1,821
py
Python
dao/control/worker/validation/helper.py
Symantec/dao-control
1bba46ce4bacfbe48ab71ef6cdb1cb433a0a1029
[ "Apache-2.0" ]
null
null
null
dao/control/worker/validation/helper.py
Symantec/dao-control
1bba46ce4bacfbe48ab71ef6cdb1cb433a0a1029
[ "Apache-2.0" ]
null
null
null
dao/control/worker/validation/helper.py
Symantec/dao-control
1bba46ce4bacfbe48ab71ef6cdb1cb433a0a1029
[ "Apache-2.0" ]
4
2016-07-19T22:32:24.000Z
2021-02-26T10:21:11.000Z
# Copyright 2016 Symantec, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
28.904762
75
0.714443
260
1,821
4.896154
0.438462
0.047133
0.043991
0.043991
0.18696
0.18696
0.102121
0.102121
0.080126
0.080126
0
0.005468
0.196595
1,821
62
76
29.370968
0.864662
0.30313
0
0.228571
0
0
0.054183
0
0
0
0
0
0
1
0.142857
false
0
0.2
0
0.514286
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
04b59ba3579177bc6213aac9053542c64e92a566
626
py
Python
DQM/HcalTasks/python/RawTask.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
DQM/HcalTasks/python/RawTask.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
DQM/HcalTasks/python/RawTask.py
pasmuss/cmssw
566f40c323beef46134485a45ea53349f59ae534
[ "Apache-2.0" ]
null
null
null
import FWCore.ParameterSet.Config as cms # prep a FED skip list rawTask = cms.EDAnalyzer( "RawTask", # standard parameters name = cms.untracked.string("RawTask"), debug = cms.untracked.int32(0), runkeyVal = cms.untracked.int32(0), runkeyName = cms.untracked.string("pp_run"), ptype = cms.untracked.int32(0), ...
17.885714
54
0.715655
76
626
5.855263
0.565789
0.296629
0.152809
0.121348
0
0
0
0
0
0
0
0.028037
0.145367
626
34
55
18.411765
0.803738
0.071885
0
0
0
0
0.086726
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
04c01ef715ce004f5105f588c8319e3c3abe3947
907
py
Python
eds/openmtc-gevent/server/openmtc-server/src/openmtc_server/db/db_gevent_sql/serializer.py
piyush82/elastest-device-emulator-service
b4d6b393d6042c54a7b3dfb5f58cad5efd00f0e7
[ "Apache-2.0" ]
null
null
null
eds/openmtc-gevent/server/openmtc-server/src/openmtc_server/db/db_gevent_sql/serializer.py
piyush82/elastest-device-emulator-service
b4d6b393d6042c54a7b3dfb5f58cad5efd00f0e7
[ "Apache-2.0" ]
null
null
null
eds/openmtc-gevent/server/openmtc-server/src/openmtc_server/db/db_gevent_sql/serializer.py
piyush82/elastest-device-emulator-service
b4d6b393d6042c54a7b3dfb5f58cad5efd00f0e7
[ "Apache-2.0" ]
null
null
null
from futile.logging import get_logger from base64 import b64encode, b64decode logger = get_logger(__name__) try: from ujson import loads, dumps except ImportError: try: from simplejson import loads, dumps except ImportError: logger.warning("Neither ujson nor simplejson packages are availab...
25.914286
102
0.728776
116
907
5.62931
0.362069
0.084227
0.073507
0.067381
0.205207
0.104135
0.104135
0
0
0
0
0.020718
0.201764
907
34
103
26.676471
0.881215
0
0
0.222222
0
0
0.192053
0
0
0
0
0
0
1
0.074074
false
0
0.37037
0.074074
0.518519
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
04c1229270f39cd33dc08303d971143105ca5e08
2,506
py
Python
tensorflow_federated/python/core/impl/do_not_use_compiler.py
ddayzzz/federated
283ea72f555da78ff4b084c1d94731ef8f16b363
[ "Apache-2.0" ]
1
2020-08-27T14:16:06.000Z
2020-08-27T14:16:06.000Z
tensorflow_federated/python/core/impl/do_not_use_compiler.py
mhalawad/federated
d683db15d87eb545e3df6530a698ba1c785ebe79
[ "Apache-2.0" ]
null
null
null
tensorflow_federated/python/core/impl/do_not_use_compiler.py
mhalawad/federated
d683db15d87eb545e3df6530a698ba1c785ebe79
[ "Apache-2.0" ]
null
null
null
# Copyright 2020, The TensorFlow Federated Authors. # # 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 o...
45.563636
88
0.805267
332
2,506
5.846386
0.412651
0.07831
0.082947
0.104585
0.200412
0.200412
0.143225
0.113344
0.060793
0
0
0.007777
0.127694
2,506
54
89
46.407407
0.880146
0.321628
0
0
0
0
0.069254
0
0
0
0
0.018519
0
1
0.066667
false
0
0.266667
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
04c7c5f7030c2edf83ee7e95b8438c4997fcd3f3
4,317
py
Python
test_terra_bonobo_nodes/tests/test_osm.py
Terralego/terra-bonobo-nodes
13b45348cd2becc9222dc6a77e0de68f7f6d60d4
[ "MIT" ]
1
2019-08-08T15:18:55.000Z
2019-08-08T15:18:55.000Z
test_terra_bonobo_nodes/tests/test_osm.py
Terralego/terra-bonobo-nodes
13b45348cd2becc9222dc6a77e0de68f7f6d60d4
[ "MIT" ]
14
2019-09-11T14:34:51.000Z
2022-03-10T10:33:07.000Z
test_terra_bonobo_nodes/tests/test_osm.py
Terralego/terra-bonobo-nodes
13b45348cd2becc9222dc6a77e0de68f7f6d60d4
[ "MIT" ]
null
null
null
import json import unittest from unittest import mock import requests from terra_bonobo_nodes import osm class Test_TestOsm_OverpassExtract(unittest.TestCase): def test_osm_overpassextract_logg_error(self): query = "query" request = requests.Session() overpassextract = osm.OverpassExtrac...
36.897436
87
0.631457
451
4,317
5.886918
0.281596
0.030508
0.019586
0.028625
0.522034
0.426365
0.324294
0.324294
0.232768
0.232768
0
0.039234
0.23836
4,317
116
88
37.215517
0.768248
0
0
0.337079
0
0
0.184894
0.03026
0
0
0
0
0.11236
1
0.089888
false
0.078652
0.05618
0
0.179775
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
04caa4b0e6c14b924e5490b844515c969aad4130
1,530
py
Python
observations/r/softbacks.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
199
2017-07-24T01:34:27.000Z
2022-01-29T00:50:55.000Z
observations/r/softbacks.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
46
2017-09-05T19:27:20.000Z
2019-01-07T09:47:26.000Z
observations/r/softbacks.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
45
2017-07-26T00:10:44.000Z
2022-03-16T20:44:59.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import csv import numpy as np import os import sys from observations.util import maybe_download_and_extract def softbacks(path): """Measurements on a Selection of Paperback Books ...
27.321429
72
0.697386
214
1,530
4.85514
0.537383
0.046198
0.046198
0.044273
0.086622
0
0
0
0
0
0
0.004259
0.23268
1,530
55
73
27.818182
0.88075
0.456863
0
0
0
0
0.101266
0
0
0
0
0
0
1
0.045455
false
0
0.409091
0
0.5
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
0
0
0
0
1
0
0
0
0
1
04cd85a9c4db7610c9c372f44ff885a23b4a2623
113
py
Python
competitive/AtCoder/ABC147/B.py
pn11/benkyokai
9ebdc46b529e76b7196add26dbc1e62ad48e72b0
[ "MIT" ]
null
null
null
competitive/AtCoder/ABC147/B.py
pn11/benkyokai
9ebdc46b529e76b7196add26dbc1e62ad48e72b0
[ "MIT" ]
22
2020-03-24T16:24:47.000Z
2022-02-26T15:51:18.000Z
competitive/AtCoder/ABC147/B.py
pn11/benkyokai
9ebdc46b529e76b7196add26dbc1e62ad48e72b0
[ "MIT" ]
null
null
null
S = input() l = len(S) nhug = 0 for i in range(l//2): if S[i] != S[l-1-i]: nhug += 1 print(nhug)
9.416667
24
0.451327
24
113
2.125
0.583333
0
0
0
0
0
0
0
0
0
0
0.052632
0.327434
113
11
25
10.272727
0.618421
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
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
04d162a965363ad1f9b1f69b2924edb8d9d1c0f1
283
py
Python
pages/themes/beginners/OOP/examples/simple_Person_class.py
ProgressBG-Python-Course/ProgressBG-Python
6429833696c2c50d9f902f62cc3a65ca62659c69
[ "MIT" ]
null
null
null
pages/themes/beginners/OOP/examples/simple_Person_class.py
ProgressBG-Python-Course/ProgressBG-Python
6429833696c2c50d9f902f62cc3a65ca62659c69
[ "MIT" ]
null
null
null
pages/themes/beginners/OOP/examples/simple_Person_class.py
ProgressBG-Python-Course/ProgressBG-Python
6429833696c2c50d9f902f62cc3a65ca62659c69
[ "MIT" ]
null
null
null
class Person: def __init__(self, name, age): self.name = name self.age = age def greet(self): print("Hi there! I'm {}, {} years old!".format(self.name, self.age)) maria = Person("Maria Popova", 25) pesho = Person("Pesho", 27) print(maria) # name = Maria Popova # age = 25
18.866667
70
0.64311
44
283
4.045455
0.477273
0.134831
0.123596
0
0
0
0
0
0
0
0
0.025974
0.183746
283
15
71
18.866667
0.744589
0.09894
0
0
0
0
0.189723
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.333333
0.222222
0
0
0
null
0
0
0
0
0
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
04d175bdcaa5d75fe4b131be41ed22dd02487567
808
py
Python
investigations/check_desi0_dataset.py
nam8/Barry
5deb15d71d620079aa46ced73e23b1da8b9c4e57
[ "MIT" ]
13
2019-07-29T20:39:20.000Z
2021-09-26T09:20:52.000Z
investigations/check_desi0_dataset.py
nam8/Barry
5deb15d71d620079aa46ced73e23b1da8b9c4e57
[ "MIT" ]
1
2021-02-11T10:54:58.000Z
2021-02-11T10:54:58.000Z
investigations/check_desi0_dataset.py
nam8/Barry
5deb15d71d620079aa46ced73e23b1da8b9c4e57
[ "MIT" ]
7
2019-08-26T04:54:00.000Z
2022-01-20T14:47:47.000Z
import logging if __name__ == "__main__": logging.basicConfig(level=logging.DEBUG, format="[%(levelname)7s |%(funcName)20s] %(message)s") logging.getLogger("matplotlib").setLevel(logging.ERROR) from barry.datasets.dataset_power_spectrum import PowerSpectrum_DESIMockChallenge0_Z01 from barry.models i...
38.47619
105
0.75
93
808
6.290323
0.655914
0.046154
0.116239
0.082051
0
0
0
0
0
0
0
0.033046
0.138614
808
20
106
40.4
0.807471
0.055693
0
0
0
0
0.134387
0.042161
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
04d19b6a768ec0368279a267482e4338f4fad8b9
29,317
py
Python
Fusion/modules/Fusion/Core/Gluon.py
roadnarrows-robotics/rnr-sdk
aee20c65b49fb3eedf924c5c2ec9f19f4f1a1b29
[ "MIT" ]
null
null
null
Fusion/modules/Fusion/Core/Gluon.py
roadnarrows-robotics/rnr-sdk
aee20c65b49fb3eedf924c5c2ec9f19f4f1a1b29
[ "MIT" ]
null
null
null
Fusion/modules/Fusion/Core/Gluon.py
roadnarrows-robotics/rnr-sdk
aee20c65b49fb3eedf924c5c2ec9f19f4f1a1b29
[ "MIT" ]
null
null
null
################################################################################ # # Gluon.py # """ The Gluon "Glue" Module between Fusion, vRobot, and vBrain Objects. The Gluon Module provides the common "glue" between the vRobot and vBrain servers and the Fusion client. Author: Robin D. Knight Email: robin.knight...
30.602296
82
0.603063
3,006
29,317
5.840319
0.178975
0.027569
0.020506
0.010652
0.413762
0.3572
0.29967
0.262303
0.248576
0.230349
0
0.001476
0.283658
29,317
957
83
30.634274
0.834484
0.502166
0
0.298561
0
0
0.061847
0
0
0
0
0
0
1
0.230216
false
0.02518
0.02518
0
0.381295
0.021583
0
0
0
null
0
0
0
0
0
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
04d19d5b0d2a633fe43856cd55d5951fb6f82bbc
2,426
py
Python
components/ps2_controller/Cpp/deprecated/ps2x/__init__.py
minhan74/UV-Robot
52f5b643c376a91d8a34ffa0fca1c65c1110c47b
[ "MIT" ]
1
2020-07-29T13:38:40.000Z
2020-07-29T13:38:40.000Z
components/ps2_controller/Cpp/deprecated/ps2x/__init__.py
minhan74/UV-Robot
52f5b643c376a91d8a34ffa0fca1c65c1110c47b
[ "MIT" ]
6
2020-04-13T14:14:39.000Z
2020-06-02T09:39:34.000Z
components/ps2_controller/Cpp/deprecated/ps2x/__init__.py
minhan74/UV-Robot
52f5b643c376a91d8a34ffa0fca1c65c1110c47b
[ "MIT" ]
null
null
null
"""------------------------------------------------------------*- Main execution code for controlling PS2X controller with Raspberry Pi Tested on: Raspberry Pi 3B/3B+ (c) Minh-An Dao 2020 <bit.ly/DMA-HomePage> <minhan7497@gmail.com>. version 1.00 - 19/04/2020 --------------------------------------------------...
41.827586
96
0.586562
319
2,426
4.410658
0.429467
0.042644
0.053305
0.06752
0.32978
0.32978
0.32978
0.308458
0.308458
0.308458
0
0.064921
0.244435
2,426
57
97
42.561404
0.702673
0.867271
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
04d4633d6016da26a80309d7f1ff882f0a21acd6
1,152
py
Python
order/user_order/migrations/0001_initial.py
Virusuki/AWS_MSA_service_order
5b95fe1c86d06434f46ff2cb6be7add9874120a3
[ "Apache-2.0" ]
null
null
null
order/user_order/migrations/0001_initial.py
Virusuki/AWS_MSA_service_order
5b95fe1c86d06434f46ff2cb6be7add9874120a3
[ "Apache-2.0" ]
null
null
null
order/user_order/migrations/0001_initial.py
Virusuki/AWS_MSA_service_order
5b95fe1c86d06434f46ff2cb6be7add9874120a3
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.3 on 2022-02-24 09:11 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Shop', fields=[ ...
33.882353
114
0.586806
121
1,152
5.438017
0.479339
0.036474
0.082067
0.109422
0.340426
0.340426
0.240122
0.240122
0.240122
0.240122
0
0.026474
0.278646
1,152
33
115
34.909091
0.765343
0.039063
0
0.384615
1
0
0.090498
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.230769
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
04d9025e63221b22631549c588356a64675cb755
1,509
py
Python
document retrieval/doc_ret_bfs.py
amudalab/concept-graphs
59748671dd510bfb6fd1098c99aac048f93e9821
[ "MIT" ]
1
2021-02-15T02:09:32.000Z
2021-02-15T02:09:32.000Z
document retrieval/doc_ret_bfs.py
amudalab/concept-graphs
59748671dd510bfb6fd1098c99aac048f93e9821
[ "MIT" ]
null
null
null
document retrieval/doc_ret_bfs.py
amudalab/concept-graphs
59748671dd510bfb6fd1098c99aac048f93e9821
[ "MIT" ]
4
2017-03-07T12:01:58.000Z
2019-02-28T10:03:57.000Z
def BFS(graph,root,k): checked = [] visited=[] level=[] l=[] l.append(root) level.append(l) count =0 checked.append(root) while len(checked)>0: v = checked.pop(0) visited.append(v) l=[] for edge in graph[v]: #l=list(set(graph[...
34.295455
127
0.448641
201
1,509
3.318408
0.21393
0.035982
0.053973
0.038981
0.155922
0.116942
0.116942
0.116942
0.116942
0.116942
0
0.013655
0.369119
1,509
43
128
35.093023
0.686975
0.124586
0
0.105263
0
0
0.026751
0
0.052632
0
0
0
0
0
null
null
0
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
04da6ff6ca318d53ffa8ba27b97ea7e757193a1f
767
py
Python
places/migrations/0001_initial.py
ahkhystrix/learn-devman-django-1-afisha
783c01542113dcfada8d2aef96fb46847e959ef5
[ "MIT" ]
null
null
null
places/migrations/0001_initial.py
ahkhystrix/learn-devman-django-1-afisha
783c01542113dcfada8d2aef96fb46847e959ef5
[ "MIT" ]
null
null
null
places/migrations/0001_initial.py
ahkhystrix/learn-devman-django-1-afisha
783c01542113dcfada8d2aef96fb46847e959ef5
[ "MIT" ]
null
null
null
# Generated by Django 3.0.7 on 2020-06-06 10:40 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Feature', fields=[ ('id', models.AutoField(...
28.407407
114
0.554107
70
767
5.957143
0.7
0.107914
0.1247
0
0
0
0
0
0
0
0
0.034026
0.3103
767
26
115
29.5
0.754253
0.05867
0
0
1
0
0.115278
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
04dc704051f0135b1d7f8eb82ccb8a4c7eae463a
535
py
Python
dwfjob/migrations/0006_auto_20191128_1801.py
ADACS-Australia/SS19A-JCooke
4b4a54f612a5322fd7b00e3603e3847319a04799
[ "MIT" ]
null
null
null
dwfjob/migrations/0006_auto_20191128_1801.py
ADACS-Australia/SS19A-JCooke
4b4a54f612a5322fd7b00e3603e3847319a04799
[ "MIT" ]
6
2020-02-27T02:51:29.000Z
2021-06-10T19:50:09.000Z
dwfjob/migrations/0006_auto_20191128_1801.py
ADACS-Australia/SS19A-JCooke
4b4a54f612a5322fd7b00e3603e3847319a04799
[ "MIT" ]
null
null
null
# Generated by Django 2.2.1 on 2019-11-28 07:01 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('dwfjob', '0005_jobparameter_run_dates'), ] operations = [ migrations.AlterField( model_name='jobparameter', name='te...
28.157895
188
0.633645
58
535
5.689655
0.672414
0.1
0.115152
0
0
0
0
0
0
0
0
0.050725
0.226168
535
18
189
29.722222
0.746377
0.084112
0
0
1
0
0.284836
0.055328
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
04deea86a610e57ec22816635ec5ed5090ef8fda
6,828
py
Python
tests/test_random.py
dendisuhubdy/mpyc
07c22fd5ae09fe310b6172847b99e009753d88fe
[ "MIT" ]
null
null
null
tests/test_random.py
dendisuhubdy/mpyc
07c22fd5ae09fe310b6172847b99e009753d88fe
[ "MIT" ]
null
null
null
tests/test_random.py
dendisuhubdy/mpyc
07c22fd5ae09fe310b6172847b99e009753d88fe
[ "MIT" ]
null
null
null
import unittest from mpyc.runtime import mpc from mpyc.random import (getrandbits, randrange, random_unit_vector, randint, shuffle, random_permutation, random_derangement, choice, choices, sample, random, uniform) class Arithmetic(unittest.TestCase): @classmethod...
42.943396
94
0.590656
971
6,828
4.128733
0.107106
0.065852
0.098778
0.157146
0.717885
0.695934
0.666999
0.605138
0.574956
0.474433
0
0.059353
0.235062
6,828
158
95
43.21519
0.708214
0.007469
0
0.398551
0
0
0
0
0
0
0
0
0.478261
1
0.036232
false
0
0.021739
0
0.065217
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
04ec4e89b4d38c2d7a22f7ffdafbcbffa116671e
3,370
py
Python
DSToolkit/statistical/distances.py
AndreaFerrante/DSToolkit
6f527cb4c19127cecd74bb682330236aa4e41839
[ "MIT" ]
null
null
null
DSToolkit/statistical/distances.py
AndreaFerrante/DSToolkit
6f527cb4c19127cecd74bb682330236aa4e41839
[ "MIT" ]
null
null
null
DSToolkit/statistical/distances.py
AndreaFerrante/DSToolkit
6f527cb4c19127cecd74bb682330236aa4e41839
[ "MIT" ]
null
null
null
######################################################################################### # This is a class that collects data science "distances methods". # Distances measure similarities between features (both numeric and categorical). # Distances are used in a lot of fields: in Machine Learning inside methods (such ...
30.636364
110
0.660534
538
3,370
4.074349
0.297398
0.025547
0.030109
0.035584
0.298814
0.218066
0.190693
0.108577
0.078467
0.024635
0
0.014142
0.202671
3,370
109
111
30.917431
0.801638
0.615727
0
0.153846
0
0
0
0
0
0
0
0
0.153846
1
0.230769
false
0
0.038462
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
04ee7bf005d0b35a08b2317e4d636d03c46ddd85
563
py
Python
reqherd/webservice/models/hardreq.py
zthurman/reqherd
6b35c4f22d4e28c363f82a5f3331657f8244a589
[ "Apache-2.0" ]
null
null
null
reqherd/webservice/models/hardreq.py
zthurman/reqherd
6b35c4f22d4e28c363f82a5f3331657f8244a589
[ "Apache-2.0" ]
null
null
null
reqherd/webservice/models/hardreq.py
zthurman/reqherd
6b35c4f22d4e28c363f82a5f3331657f8244a589
[ "Apache-2.0" ]
null
null
null
from sqlalchemy import Column, Unicode, Integer, ForeignKey from ..db.baseclass import Requirement class Hardware_Requirement(Requirement): doc_prefix = Column(Unicode(10), nullable=False, default="HWRS") system_requirement_id = Column( Integer, ForeignKey("system_requirement.id"), nullable=False ...
29.631579
105
0.678508
60
563
6.1
0.45
0.185792
0.20765
0
0
0
0
0
0
0
0
0.004494
0.209591
563
18
106
31.277778
0.817978
0
0
0
0
0
0.193606
0.154529
0
0
0
0
0
1
0.076923
false
0
0.153846
0.076923
0.538462
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
04f059c1f1d5023768f9934a5d12dfed84469b68
267
py
Python
music/urls.py
mmosoroohh/music_api
37a874b40ee7d0fbe328dda7490d0a3d2c00380e
[ "MIT" ]
null
null
null
music/urls.py
mmosoroohh/music_api
37a874b40ee7d0fbe328dda7490d0a3d2c00380e
[ "MIT" ]
8
2019-12-04T23:03:37.000Z
2022-02-10T08:32:57.000Z
music/urls.py
mmosoroohh/music_api
37a874b40ee7d0fbe328dda7490d0a3d2c00380e
[ "MIT" ]
null
null
null
from django.urls import path from .views import ( ListCreateSongsView, SongsDetailView ) urlpatterns = [ path('songs/', ListCreateSongsView.as_view(), name="songs-list-create"), path('songs/<int:pk>/', SongsDetailView.as_view(), name="songs-detail"), ]
24.272727
76
0.707865
30
267
6.233333
0.6
0.096257
0.106952
0.160428
0
0
0
0
0
0
0
0
0.131086
267
10
77
26.7
0.806034
0
0
0
0
0
0.18797
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
04f483b3b5875fb2e19a78a90d9e27c82753f703
460
py
Python
aws_billing/csvfix-dbr.py
mariquit/scratchpad
d07cc363baa67617ce57eacf39a3ce154b29dbba
[ "Unlicense" ]
null
null
null
aws_billing/csvfix-dbr.py
mariquit/scratchpad
d07cc363baa67617ce57eacf39a3ce154b29dbba
[ "Unlicense" ]
null
null
null
aws_billing/csvfix-dbr.py
mariquit/scratchpad
d07cc363baa67617ce57eacf39a3ce154b29dbba
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python2.7 import csv import sys from printf import printf try: if (sys.argv[1] == '-'): f = sys.stdin.read().splitlines() else: filename = sys.argv[1] f = open(filename, 'r') csv = csv.reader(f) data = list(csv) for row in data: for n in range(len(row)): if n < (len...
19.166667
37
0.556522
71
460
3.605634
0.549296
0.054688
0.0625
0.070313
0
0
0
0
0
0
0
0.014793
0.265217
460
23
38
20
0.742604
0.05
0
0.105263
0
0
0.071101
0
0
0
0
0
0
0
null
null
0
0.157895
null
null
0.210526
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
04fa4860544b2b5021ee64439c838254b1dc4dd7
1,351
py
Python
flask-app/app.py
OuldBay-Abderrahmane/TwitterScrapper-SentimentAnalysis
0fd2555215e9dedbae332d787f635665a03c0d7a
[ "MIT" ]
null
null
null
flask-app/app.py
OuldBay-Abderrahmane/TwitterScrapper-SentimentAnalysis
0fd2555215e9dedbae332d787f635665a03c0d7a
[ "MIT" ]
null
null
null
flask-app/app.py
OuldBay-Abderrahmane/TwitterScrapper-SentimentAnalysis
0fd2555215e9dedbae332d787f635665a03c0d7a
[ "MIT" ]
null
null
null
from flask import Flask from flask import Flask, render_template, request, redirect from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, BooleanField, DateField, SubmitField from wtforms.validators import Optional from flask_bootstrap import Bootstrap from twitter_scrapper import fetch_data ...
29.369565
100
0.704663
158
1,351
5.822785
0.335443
0.03913
0.065217
0.043478
0
0
0
0
0
0
0
0.001745
0.151739
1,351
45
101
30.022222
0.801047
0
0
0
0
0
0.185788
0.055514
0
0
0
0
0
1
0.090909
false
0.030303
0.212121
0.060606
0.606061
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
b6b9d1a9362717c511c2b2582b6883479d0556fb
10,982
py
Python
dothttp/parse_models.py
cedric05/dothttp
ae68f2c3dbb8f1053a0feeab0ac829aa5d3a2a6e
[ "Apache-2.0" ]
10
2021-02-09T17:21:49.000Z
2021-12-05T19:10:53.000Z
dothttp/parse_models.py
cedric05/dothttp
ae68f2c3dbb8f1053a0feeab0ac829aa5d3a2a6e
[ "Apache-2.0" ]
60
2021-02-07T17:20:47.000Z
2022-03-12T06:26:23.000Z
dothttp/parse_models.py
cedric05/dothttp
ae68f2c3dbb8f1053a0feeab0ac829aa5d3a2a6e
[ "Apache-2.0" ]
null
null
null
import enum import os from dataclasses import dataclass, field from typing import List, Optional, Union from dothttp import DotHttpException @dataclass class Allhttp: pass @dataclass class NameWrap: name: str base: Optional[str] = None @dataclass class UrlWrap: method: str url: str @datacla...
27.183168
85
0.402021
674
10,982
6.505935
0.538576
0.067047
0.038769
0.023945
0.055644
0.02919
0
0
0
0
0
0.007163
0.504189
10,982
403
86
27.25062
0.798163
0.025952
0
0.114035
0
0
0.199102
0.008888
0
0
0
0
0
1
0.008772
false
0.011696
0.01462
0
0.25731
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b6bc5f00b2e845ae742fe876d0ba293af04951de
564
py
Python
setup.py
athina-edu/athina-web
08a8bf5012ce9853b88a6f2f77d6483248535786
[ "MIT" ]
null
null
null
setup.py
athina-edu/athina-web
08a8bf5012ce9853b88a6f2f77d6483248535786
[ "MIT" ]
11
2019-03-15T04:39:49.000Z
2021-03-30T12:28:33.000Z
setup.py
athina-edu/athina-web
08a8bf5012ce9853b88a6f2f77d6483248535786
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='athinaweb', version='0.97', packages=find_packages(), scripts=['manage.py'], install_requires=['gitpython', 'Django>=3.0', 'djangorestframework', 'python-dateutil', 'gunicorn', 'django-registration', ...
31.333333
91
0.634752
57
564
6.175439
0.824561
0.068182
0
0
0
0
0
0
0
0
0
0.011161
0.205674
564
17
92
33.176471
0.774554
0
0
0
0
0
0.382979
0.047872
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
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
b6bf4bd83b83644a45fb269012d0de9a845e71d5
6,328
py
Python
rental/middlewares.py
meihuanyu/rental
eb29b280c294defefefd56de5a8e32040c481f62
[ "MIT" ]
5
2017-07-21T09:44:33.000Z
2021-08-08T16:27:45.000Z
rental/middlewares.py
meihuanyu/rental
eb29b280c294defefefd56de5a8e32040c481f62
[ "MIT" ]
3
2021-03-31T18:28:23.000Z
2022-03-02T14:54:29.000Z
rental/middlewares.py
meihuanyu/rental
eb29b280c294defefefd56de5a8e32040c481f62
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*-coding:utf-8-*- import time import random from scrapy.downloadermiddlewares.retry import RetryMiddleware #代理ip,这是固定的导入 from scrapy.downloadermiddlewares.useragent import UserAgentMiddleware import pymongo import logging import utils class TimeoutIp(RetryMiddleware): def __init__(self,ip='')...
48.676923
129
0.589128
843
6,328
4.368921
0.23013
0.039099
0.043986
0.097746
0.499321
0.419223
0.382026
0.357317
0.332338
0.284008
0
0.098556
0.256005
6,328
130
130
48.676923
0.68373
0.04409
0
0.158416
0
0.178218
0.377969
0
0
0
0
0
0
0
null
null
0
0.069307
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
b6c311506ca55a16ee808683d6af876b5567c854
830
py
Python
spark_auto_mapper_fhir/value_sets/v2_0868.py
imranq2/SparkAutoMapper.FHIR
dd23b218fb0097d1edc2f3e688e8d6d4d7278bd2
[ "Apache-2.0" ]
1
2020-10-31T23:25:07.000Z
2020-10-31T23:25:07.000Z
spark_auto_mapper_fhir/value_sets/v2_0868.py
icanbwell/SparkAutoMapper.FHIR
98f368e781b46523142c7cb513c670d659a93c9b
[ "Apache-2.0" ]
null
null
null
spark_auto_mapper_fhir/value_sets/v2_0868.py
icanbwell/SparkAutoMapper.FHIR
98f368e781b46523142c7cb513c670d659a93c9b
[ "Apache-2.0" ]
null
null
null
from __future__ import annotations from spark_auto_mapper_fhir.fhir_types.uri import FhirUri from spark_auto_mapper_fhir.value_sets.generic_type import GenericTypeCode from spark_auto_mapper.type_definitions.defined_types import AutoMapperTextInputType # This file is auto-generated by generate_classes so do not edi...
31.923077
84
0.761446
107
830
5.654206
0.542056
0.049587
0.064463
0.094215
0.249587
0.173554
0.173554
0
0
0
0
0.051282
0.154217
830
25
85
33.2
0.810541
0.33253
0
0
0
0
0.092275
0
0
0
0
0
0
1
0.125
false
0
0.5
0
0.875
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
b6c74747384b0184333eceed0bff6db1fe9c8008
5,270
py
Python
yam/serverapp.py
Aleksandre/YAM
a14deb47e34aabfa667273ab7ace558d0749722f
[ "MIT" ]
null
null
null
yam/serverapp.py
Aleksandre/YAM
a14deb47e34aabfa667273ab7ace558d0749722f
[ "MIT" ]
null
null
null
yam/serverapp.py
Aleksandre/YAM
a14deb47e34aabfa667273ab7ace558d0749722f
[ "MIT" ]
null
null
null
""" Calling this module puts up a server able to process incoming request, keep track of known devices and broadcast it's presence to other devices. For now, the server only handles music playback requests. TL:DR This is an audio player controlled remotely via TCP commands """ import threading from player import Loc...
31.369048
177
0.689184
560
5,270
6.419643
0.307143
0.024478
0.01669
0.028373
0.175522
0.149652
0.128234
0.128234
0.071488
0.071488
0
0.006433
0.203605
5,270
167
178
31.556886
0.850131
0.02315
0
0.165138
0
0
0.14224
0
0
0
0
0
0
0
null
null
0.009174
0.091743
null
null
0.055046
0
0
0
null
0
0
0
0
0
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
b6d4511f657886ee589f53100aece31769fc4f19
1,489
py
Python
koku/reporting/migrations/0194_awscostentrylineitemdailysummary_savingsplan_effective_cost.py
cgoodfred/koku
f1de8bc90d6a818c4f77af710cafe50dc1274700
[ "Apache-2.0" ]
157
2018-04-30T16:27:53.000Z
2022-03-31T08:17:21.000Z
koku/reporting/migrations/0194_awscostentrylineitemdailysummary_savingsplan_effective_cost.py
cgoodfred/koku
f1de8bc90d6a818c4f77af710cafe50dc1274700
[ "Apache-2.0" ]
3,250
2018-04-26T14:14:25.000Z
2022-03-31T23:49:15.000Z
koku/reporting/migrations/0194_awscostentrylineitemdailysummary_savingsplan_effective_cost.py
cgoodfred/koku
f1de8bc90d6a818c4f77af710cafe50dc1274700
[ "Apache-2.0" ]
65
2018-05-10T14:11:50.000Z
2022-03-18T19:22:58.000Z
# Generated by Django 3.1.12 on 2021-09-09 14:23 import pkgutil from django.db import connection from django.db import migrations from django.db import models def add_aws_views(apps, schema_editor): """Create the AWS Materialized views from files.""" version = "_20210910" views = { f"sql/views/{v...
38.179487
111
0.667562
181
1,489
5.19337
0.458564
0.021277
0.047872
0.085106
0.254255
0.254255
0.194681
0.194681
0.194681
0.194681
0
0.026823
0.198791
1,489
38
112
39.184211
0.761106
0.062458
0
0
1
0
0.351079
0.253957
0
0
0
0
0
1
0.034483
false
0
0.137931
0
0.275862
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
b6d4e893de6c1c1473c00631c95aff6091d44560
884
py
Python
desafios/desafio112/utilidadesCeV/moeda/__init__.py
JonasAraujoP/Python
4ce6d330af4d078ff8658c82b3f3fbf2c41722d5
[ "MIT" ]
null
null
null
desafios/desafio112/utilidadesCeV/moeda/__init__.py
JonasAraujoP/Python
4ce6d330af4d078ff8658c82b3f3fbf2c41722d5
[ "MIT" ]
null
null
null
desafios/desafio112/utilidadesCeV/moeda/__init__.py
JonasAraujoP/Python
4ce6d330af4d078ff8658c82b3f3fbf2c41722d5
[ "MIT" ]
null
null
null
def aumentar(v=0, t=0, per=False): res = v + (v*t/100) return res if per is False else f'{moeda(res)}' def diminuir(v=0, t=0, per=False): res = v - (v*t/100) return res if per == False else f'{moeda(res)}' def dobro(v=0, per=False): res = v*2 return res if not per else f'{moeda(res)}' def ...
26
61
0.541855
156
884
3.070513
0.269231
0.025052
0.075157
0.100209
0.425887
0.392484
0.348643
0.348643
0.348643
0.348643
0
0.041298
0.233032
884
34
62
26
0.665192
0
0
0.208333
0
0
0.332203
0
0
0
0
0
0
1
0.25
false
0
0
0.041667
0.458333
0.208333
0
0
0
null
0
0
0
0
0
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
b6d61c5a5fe1b3ab8c2f43bc226e90c03fb9f2da
7,251
py
Python
django_excel_to_model/management/commands/import_excel_according_to_model.py
weijia/django-excel-to-model
2bab354835e31133f1344bee2cb12cb3627eef3d
[ "BSD-3-Clause" ]
2
2021-03-14T14:29:19.000Z
2021-05-02T10:36:47.000Z
django_excel_to_model/management/commands/import_excel_according_to_model.py
weijia/django-excel-to-model
2bab354835e31133f1344bee2cb12cb3627eef3d
[ "BSD-3-Clause" ]
1
2020-03-11T06:20:59.000Z
2020-04-22T02:17:35.000Z
django_excel_to_model/management/commands/import_excel_according_to_model.py
weijia/django-excel-to-model
2bab354835e31133f1344bee2cb12cb3627eef3d
[ "BSD-3-Clause" ]
4
2018-04-28T02:39:05.000Z
2021-07-27T02:04:27.000Z
import argparse import importlib import os from django.contrib.contenttypes.models import ContentType from django.core.management.base import BaseCommand from django_excel_to_model.field_tools import get_valid_excel_field_name from django_excel_to_model.file_readers.csv_reader import CsvFile from django_excel_to_model...
44.213415
123
0.696869
932
7,251
5.021459
0.182403
0.03141
0.052778
0.051282
0.448077
0.332906
0.271795
0.186111
0.145513
0.133974
0
0.010659
0.223693
7,251
163
124
44.484663
0.82075
0.055165
0
0.056
0
0
0.077913
0.020465
0
0
0
0
0
1
0.08
false
0.008
0.328
0
0.488
0.032
0
0
0
null
0
0
0
0
0
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
b6d73e5b07236d88c67963833b75d02b67745a25
575
py
Python
neclib/typing.py
nanten2/necst-lib
763477825c24b4307028b2d8ac1d08954512899b
[ "MIT" ]
1
2022-02-04T12:12:46.000Z
2022-02-04T12:12:46.000Z
neclib/typing.py
nanten2/neclib
763477825c24b4307028b2d8ac1d08954512899b
[ "MIT" ]
14
2022-02-09T06:32:28.000Z
2022-03-27T10:27:20.000Z
neclib/typing.py
nanten2/neclib
763477825c24b4307028b2d8ac1d08954512899b
[ "MIT" ]
null
null
null
"""Type aliases for simple type hinting.""" __all__ = ["Literal", "PathLike", "AngleUnit"] import os from typing import Union try: from typing import Literal except ImportError: from typing_extensions import Literal Literal = Literal """Alias of ``Literal``, defined in different packages depends on Python ...
26.136364
85
0.709565
72
575
5.597222
0.611111
0.074442
0.079404
0
0
0
0
0
0
0
0
0
0.149565
575
21
86
27.380952
0.824131
0.064348
0
0
0
0
0.137705
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b6dbe28451563f6f8ea65a54f16bf3001b785888
461
py
Python
mlexpt/ml/models.py
stephenhky/ml-experiment
2e0bd7945c3f9caed6dcecc1bdc49dbeec24d6ad
[ "MIT" ]
4
2020-04-28T09:26:59.000Z
2021-10-05T08:29:18.000Z
mlexpt/ml/models.py
stephenhky/ml-experiment
2e0bd7945c3f9caed6dcecc1bdc49dbeec24d6ad
[ "MIT" ]
null
null
null
mlexpt/ml/models.py
stephenhky/ml-experiment
2e0bd7945c3f9caed6dcecc1bdc49dbeec24d6ad
[ "MIT" ]
null
null
null
from .classifiers.linear import MulticlassLogisticRegression from .encoders.sklearnencoders import ExperimentalPCA, ExperimentalIncrementalPCA, ExperimentalUMAP from .encoders.dictembedding import DictEmbedding classifiers_dict = { 'LogisticRegression': MulticlassLogisticRegression, } encoders_dict = { 'P...
23.05
99
0.800434
32
461
11.4375
0.53125
0.065574
0
0
0
0
0
0
0
0
0
0
0.127983
461
19
100
24.263158
0.910448
0
0
0
0
0
0.115468
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
1
null
0
0
0
0
0
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
b6dc9285a7b3345aa7f648cba03883e76fec34e1
4,590
py
Python
playback/cli/nova_compute.py
jiasir/playback
58b2a5d669dcfaa8cad50c544a4b068dcacf9b69
[ "MIT" ]
6
2015-05-09T10:39:54.000Z
2017-07-02T21:19:42.000Z
playback/cli/nova_compute.py
jiasir/playback
58b2a5d669dcfaa8cad50c544a4b068dcacf9b69
[ "MIT" ]
20
2015-06-10T05:02:42.000Z
2022-03-29T21:54:07.000Z
playback/cli/nova_compute.py
jiasir/playback
58b2a5d669dcfaa8cad50c544a4b068dcacf9b69
[ "MIT" ]
6
2015-03-25T06:13:38.000Z
2016-04-08T02:22:05.000Z
import sys import logging from playback.api import NovaCompute from cliff.command import Command def make_target(args): try: target = NovaCompute(user=args.user, hosts=args.hosts.split(','), key_filename=args.key_filename, password=args.password) except AttributeError: ...
52.758621
107
0.556209
491
4,590
5.05499
0.234216
0.061644
0.116438
0.11523
0.242949
0.124496
0
0
0
0
0
0.011688
0.328976
4,590
86
108
53.372093
0.794156
0.004357
0
0
0
0
0.287905
0.017309
0
0
0
0
0
1
0.052632
false
0.210526
0.052632
0
0.157895
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
b6dc9ee644b8867ba21093dbb5f39c76d0d0c33a
1,160
py
Python
ch3/greedy/loowater_UVa11292.py
lyskevin/cpbook-code
027f77933428d7688f935800ffa9109794e429b1
[ "UPL-1.0" ]
1,441
2018-12-03T23:46:17.000Z
2022-03-29T06:36:43.000Z
ch3/greedy/loowater_UVa11292.py
lyskevin/cpbook-code
027f77933428d7688f935800ffa9109794e429b1
[ "UPL-1.0" ]
53
2018-12-11T13:50:35.000Z
2022-03-20T04:30:39.000Z
ch3/greedy/loowater_UVa11292.py
lyskevin/cpbook-code
027f77933428d7688f935800ffa9109794e429b1
[ "UPL-1.0" ]
420
2018-12-04T11:22:08.000Z
2022-03-27T15:25:33.000Z
def main(): while True: n,m = map(int, input().split()) if n==0 and m==0: break D = [9] * n H = [0] * m for d in range(n): D[d] = int(input()) for k in range(m): H[k] = int(input()) D.sort() #...
37.419355
74
0.325862
126
1,160
3
0.444444
0.063492
0.084656
0
0
0
0
0
0
0
0
0.02045
0.578448
1,160
30
75
38.666667
0.752556
0.174138
0
0.137931
0
0
0.022175
0
0
0
0
0
0
1
0.034483
false
0
0
0
0.034483
0.068966
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b6e1ef0f733a40153ad64864dbc7c65c87809173
18,266
py
Python
stimpy/visual.py
kclamar/stimpy
71cf458573444bb26d90fa56ed8f3ec69e31bf38
[ "MIT" ]
null
null
null
stimpy/visual.py
kclamar/stimpy
71cf458573444bb26d90fa56ed8f3ec69e31bf38
[ "MIT" ]
null
null
null
stimpy/visual.py
kclamar/stimpy
71cf458573444bb26d90fa56ed8f3ec69e31bf38
[ "MIT" ]
null
null
null
from psychopy import visual from .stim import StimulusData class ShapeStim(StimulusData): def __init__( self, units="", colorSpace="rgb", fillColor=False, lineColor=False, lineWidth=1.5, vertices=((-0.5, 0), (0, 0.5), (0.5, 0)), windingRule=None, ...
24.193377
73
0.480346
1,625
18,266
5.305231
0.081231
0.024823
0.022619
0.020879
0.662336
0.643777
0.583807
0.543208
0.523257
0.495998
0
0.03323
0.416785
18,266
754
74
24.225464
0.776026
0
0
0.78025
0
0
0.006405
0
0
0
0
0
0
1
0.023644
false
0
0.002782
0
0.05007
0
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
b6e3e93410248939ec02f12fdb2af6a54488030b
935
py
Python
scripts/write_numpy_array.py
reckless129/PointNet_Custom_Object_Detection
1603081af8eaf612cbc6ac13f66c27773a79f534
[ "MIT" ]
20
2020-01-06T08:59:34.000Z
2022-03-24T01:23:46.000Z
scripts/write_numpy_array.py
reckless129/PointNet_Custom_Object_Detection
1603081af8eaf612cbc6ac13f66c27773a79f534
[ "MIT" ]
2
2020-02-07T09:53:27.000Z
2021-04-28T14:02:30.000Z
scripts/write_numpy_array.py
reckless129/PointNet_Custom_Object_Detection
1603081af8eaf612cbc6ac13f66c27773a79f534
[ "MIT" ]
5
2021-01-26T13:03:14.000Z
2022-01-16T16:01:34.000Z
import h5py import os, os.path import numpy as np from plyfile import PlyData, PlyElement test_pcd_frame = np.zeros((4096,10),dtype=float) plydata = PlyData.read("/home/atas/scripts/1053.ply") for j in range(0, 4096): label = 0 if(plydata['vertex']['blue'][j] > 0 or plydata['vertex']['red'][j] > 0 or pl...
26.714286
137
0.571123
151
935
3.423841
0.337748
0.301741
0.135397
0.069633
0.170213
0
0
0
0
0
0
0.066756
0.19893
935
34
138
27.5
0.623498
0
0
0.105263
0
0
0.146524
0.028877
0
0
0
0
0
1
0
false
0
0.210526
0
0.210526
0.052632
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b6e567907e5b395acf3a74651b9258ee208c63b7
2,652
py
Python
src/Article.py
borismus/lightning
e33173a1d9905004bbb789d36c8622cd577b6b40
[ "Apache-2.0" ]
14
2015-01-10T12:40:16.000Z
2021-11-08T10:21:58.000Z
src/Article.py
borismus/lightning
e33173a1d9905004bbb789d36c8622cd577b6b40
[ "Apache-2.0" ]
null
null
null
src/Article.py
borismus/lightning
e33173a1d9905004bbb789d36c8622cd577b6b40
[ "Apache-2.0" ]
3
2017-03-16T00:08:26.000Z
2018-07-16T04:55:20.000Z
import warnings class Article(object): def __init__(self, title, type_name, content, date_created, source_path, slug, permalink, snip, output_path, meta_description, yaml): # The title of this article. self.title = title # Name of the template to use for this article. self.type_name = type_name...
28.516129
80
0.676094
356
2,652
4.837079
0.275281
0.046458
0.041812
0.031359
0.030197
0.030197
0
0
0
0
0
0.000482
0.217195
2,652
92
81
28.826087
0.828998
0.233032
0
0.109091
0
0
0.022344
0
0
0
0
0
0
1
0.218182
false
0
0.018182
0.072727
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
1
0
0
0
0
0
0
0
1
b6e5ae720b6a2e63112a7641f1e3882d61c65774
393
py
Python
sbsim.py
patricksanders/SpringBreakSimulator
0d695e4952c5e603442e0aaa6175018253cf13d7
[ "MIT" ]
2
2016-03-13T21:56:21.000Z
2016-03-15T22:06:39.000Z
sbsim.py
patricksanders/SpringBreakSimulator
0d695e4952c5e603442e0aaa6175018253cf13d7
[ "MIT" ]
null
null
null
sbsim.py
patricksanders/SpringBreakSimulator
0d695e4952c5e603442e0aaa6175018253cf13d7
[ "MIT" ]
null
null
null
from sys import argv from generator import * script, inputfile = argv def main(): order = 2 filetext = process_file() markov = GeneratorDict(filetext, order, 123) markov.read_text() output = markov.output_text() print output def process_file(): with open(inputfile) as f: filetex...
16.375
48
0.651399
48
393
5.083333
0.583333
0.090164
0
0
0
0
0
0
0
0
0
0.013559
0.249364
393
23
49
17.086957
0.813559
0
0
0
0
0
0.020356
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b6eaccebc85e3bcc3cb5e47272dd7f2d4ff2efdd
3,965
py
Python
XSTAF/tools/workspace_spliter/ui/ui_workspace_spliter.py
xcgspring/XSTAF
68a5bec4312173f931b9024e851cefaf778e3bfd
[ "Apache-2.0" ]
2
2016-03-21T01:02:57.000Z
2018-03-16T02:25:04.000Z
XSTAF/tools/workspace_spliter/ui/ui_workspace_spliter.py
xcgspring/XSTAF
68a5bec4312173f931b9024e851cefaf778e3bfd
[ "Apache-2.0" ]
null
null
null
XSTAF/tools/workspace_spliter/ui/ui_workspace_spliter.py
xcgspring/XSTAF
68a5bec4312173f931b9024e851cefaf778e3bfd
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'workspace_spliter.ui' # # Created: Tue Mar 24 13:44:48 2015 # by: PyQt4 UI code generator 4.11.3 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 exc...
52.171053
117
0.736444
399
3,965
7.203008
0.285714
0.058455
0.007307
0.012178
0.218511
0.121086
0.121086
0.121086
0.084203
0.057063
0
0.026543
0.154351
3,965
75
118
52.866667
0.830599
0.05599
0
0.1
1
0
0.095315
0.042035
0
0
0
0
0
1
0.083333
false
0
0.033333
0.05
0.183333
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
b6ebd1d64120ead87461b4da8d219b3c2da33b2a
8,396
py
Python
host/pyball/pyball.py
dinglewanker/airball-embedded
a5d09e10e117c4d0927cd0148614c555614854ee
[ "MIT" ]
13
2018-03-10T04:39:32.000Z
2022-01-04T06:57:06.000Z
host/pyball/pyball.py
dinglewanker/airball-embedded
a5d09e10e117c4d0927cd0148614c555614854ee
[ "MIT" ]
null
null
null
host/pyball/pyball.py
dinglewanker/airball-embedded
a5d09e10e117c4d0927cd0148614c555614854ee
[ "MIT" ]
3
2018-08-30T15:45:13.000Z
2021-07-16T01:18:30.000Z
#!/usr/bin/python2 import Queue import threading import socket import time import os import sys import pygame import math ######################################################################## class ProbeReader(threading.Thread): def __init__(self): threading.Thread.__init__(self) self.__q__ =...
27.801325
107
0.52132
944
8,396
4.223517
0.240466
0.034111
0.02759
0.025082
0.218209
0.167545
0.137447
0.126912
0.114372
0.097316
0
0.02444
0.303121
8,396
301
108
27.893688
0.656982
0.015603
0
0.233184
0
0
0.039464
0
0
0
0.001548
0.003322
0
0
null
null
0.03139
0.035874
null
null
0.008969
0
0
0
null
0
0
0
0
0
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
b6f04046105866524e6719bf5bc6e1a8bd60e864
1,703
py
Python
nz_django/day6/form_demo2/front/views.py
gaohj/nzflask_bbs
36a94c380b78241ed5d1e07edab9618c3e8d477b
[ "Apache-2.0" ]
null
null
null
nz_django/day6/form_demo2/front/views.py
gaohj/nzflask_bbs
36a94c380b78241ed5d1e07edab9618c3e8d477b
[ "Apache-2.0" ]
27
2020-02-12T07:55:58.000Z
2022-03-12T00:19:09.000Z
nz_django/day6/form_demo2/front/views.py
gaohj/nzflask_bbs
36a94c380b78241ed5d1e07edab9618c3e8d477b
[ "Apache-2.0" ]
2
2020-02-18T01:54:55.000Z
2020-02-21T11:36:28.000Z
from django.shortcuts import render from django.http import HttpResponse from django.views import View from .forms import Myform,RegisterForm from .models import User class IndexView(View): def get(self,request): form = Myform() return render(request,'index.html',context={'form':form}) def post...
43.666667
232
0.613623
186
1,703
5.521505
0.360215
0.064265
0.087634
0.105161
0.342746
0.342746
0.177215
0.177215
0.177215
0.097371
0
0.010853
0.242513
1,703
39
233
43.666667
0.785271
0.18027
0
0.411765
0
0
0.059626
0
0
0
0
0
0
1
0.117647
false
0.058824
0.147059
0
0.5
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b6f9cadd60d2ddfee12057632cdc971c5bc8c9e2
7,759
py
Python
virt/ansible-latest/lib/python2.7/site-packages/ansible/module_utils/vmware_rest_client.py
lakhlaifi/RedHat-Ansible
27c5077cced9d416081fcd5d69ea44bca0317fa4
[ "Apache-2.0" ]
1
2020-03-29T18:41:01.000Z
2020-03-29T18:41:01.000Z
ansible/ansible/module_utils/vmware_rest_client.py
SergeyCherepanov/ansible
875711cd2fd6b783c812241c2ed7a954bf6f670f
[ "MIT" ]
7
2020-09-07T17:27:56.000Z
2022-03-02T06:25:46.000Z
ansible/ansible/module_utils/vmware_rest_client.py
SergeyCherepanov/ansible
875711cd2fd6b783c812241c2ed7a954bf6f670f
[ "MIT" ]
1
2020-03-22T01:04:48.000Z
2020-03-22T01:04:48.000Z
# -*- coding: utf-8 -*- # Copyright: (c) 2018, Ansible Project # Copyright: (c) 2018, Abhijeet Kasurde <akasurde@redhat.com> # Simplified BSD License (see licenses/simplified_bsd.txt or https://opensource.org/licenses/BSD-2-Clause) from __future__ import absolute_import, division, print_function __metaclass__ = type ...
37.302885
109
0.624307
894
7,759
5.181208
0.240492
0.015544
0.02418
0.031088
0.215889
0.177245
0.106434
0.071459
0.024827
0.015976
0
0.002571
0.298105
7,759
207
110
37.483092
0.847962
0.166903
0
0.149254
0
0
0.098419
0.003388
0
0
0
0
0
1
0.052239
false
0.067164
0.126866
0.007463
0.246269
0.007463
0
0
0
null
0
0
0
0
0
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
b6fbdad63efbc556afe358b7b03eda28968d1ee8
834
py
Python
abupy/WidgetBu/ABuWGVerifyTool.py
luqin/firefly
2e5ab17f2d20deb3c68c927f6208ea89db7c639d
[ "MIT" ]
1
2019-05-28T05:54:42.000Z
2019-05-28T05:54:42.000Z
abupy/WidgetBu/ABuWGVerifyTool.py
momantang/cobrass
f11435d4836aa29078a3cd4beb4ca88967300c84
[ "Apache-2.0" ]
9
2020-03-24T16:45:25.000Z
2022-03-11T23:40:51.000Z
abupy/WidgetBu/ABuWGVerifyTool.py
luqin/firefly
2e5ab17f2d20deb3c68c927f6208ea89db7c639d
[ "MIT" ]
1
2021-09-08T17:39:58.000Z
2021-09-08T17:39:58.000Z
# -*- encoding:utf-8 -*- """策略验证工具图形可视化""" from __future__ import print_function from __future__ import absolute_import from __future__ import division import ipywidgets as widgets from ..WidgetBu.ABuWGBase import WidgetBase from ..WidgetBu.ABuWGGridSearch import WidgetGridSearch from ..WidgetBu.ABuWGCrossVal import...
27.8
82
0.72542
97
834
5.824742
0.525773
0.063717
0.084956
0
0
0
0
0
0
0
0
0.001449
0.172662
834
29
83
28.758621
0.817391
0.057554
0
0
0
0
0.024516
0
0
0
0
0
0
1
0.055556
false
0
0.388889
0
0.5
0.055556
0
0
0
null
0
0
0
0
0
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
8e0b9aca182e55fed6fce4d1e936f7f20e91be5d
343
py
Python
test/abstract_test.py
akbokha/fhttp
6ac98ac9abe56259565d45854f58daf4ab808d65
[ "MIT" ]
1
2018-03-19T10:16:37.000Z
2018-03-19T10:16:37.000Z
test/abstract_test.py
akbokha/fhttp
6ac98ac9abe56259565d45854f58daf4ab808d65
[ "MIT" ]
3
2018-03-22T23:38:09.000Z
2018-04-07T09:09:53.000Z
test/abstract_test.py
akbokha/fhttp
6ac98ac9abe56259565d45854f58daf4ab808d65
[ "MIT" ]
null
null
null
import unittest from abc import ABCMeta from ip_to_mac_mapper import IpToMacMapper class AbstractTest(unittest.TestCase): __metaclass__ = ABCMeta def setUp(self): self.mockedMapping = IpToMacMapper().set_all({ '192.168.56.101': '08:00:27:B0:A1:AB', '192.168.56.102': '08:00:27...
22.866667
54
0.644315
47
343
4.531915
0.723404
0.056338
0.075117
0
0
0
0
0
0
0
0
0.150376
0.22449
343
14
55
24.5
0.650376
0
0
0
0
0
0.180758
0
0
0
0
0
0
1
0.1
false
0
0.3
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8e0f8c2a5fc8e5f340e1a8a4cb1700e67f6256b4
552
py
Python
Simple-Autoecnoders/data.py
piyush2896/Autoencoder-Implementations
baf38cff97a4baad4c04ec0b0a98a1b114c32568
[ "MIT" ]
7
2018-07-23T08:56:01.000Z
2020-02-24T06:09:49.000Z
Simple-Autoecnoders/data.py
piyush2896/Autoencoder-Implementations
baf38cff97a4baad4c04ec0b0a98a1b114c32568
[ "MIT" ]
null
null
null
Simple-Autoecnoders/data.py
piyush2896/Autoencoder-Implementations
baf38cff97a4baad4c04ec0b0a98a1b114c32568
[ "MIT" ]
1
2018-10-15T10:17:48.000Z
2018-10-15T10:17:48.000Z
import tensorflow as tf from utils import get_data (train_data, train_labels), (eval_data, eval_labels) = get_data() train_input_func = tf.estimator.inputs.numpy_input_fn( x={"x": train_data}, y=train_data, batch_size=100, num_epochs=None, shuffle=True) eval_input_fn = tf.estimator.inputs.numpy_i...
23
65
0.713768
86
552
4.244186
0.360465
0.09589
0.139726
0.180822
0.473973
0.473973
0.342466
0.342466
0.342466
0.342466
0
0.010893
0.168478
552
24
66
23
0.784314
0
0
0.210526
0
0
0.005425
0
0
0
0
0
0
1
0
false
0
0.105263
0
0.105263
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
8e1416e6482af708947fc31d357098324fb72a50
549
py
Python
4.5in.py
eshitamalhotraaaa/Pull-A-Code
552e45b7ae89c234b44541fb5bc41a82944d9f5a
[ "MIT" ]
null
null
null
4.5in.py
eshitamalhotraaaa/Pull-A-Code
552e45b7ae89c234b44541fb5bc41a82944d9f5a
[ "MIT" ]
null
null
null
4.5in.py
eshitamalhotraaaa/Pull-A-Code
552e45b7ae89c234b44541fb5bc41a82944d9f5a
[ "MIT" ]
1
2020-10-01T11:41:59.000Z
2020-10-01T11:41:59.000Z
#PROGRAM TO FIND NUMBER OF MATCHED CHARACTERS IN TWO STRINGS def nmatchedchar(str1,str2): assert str1.isalpha() assert str2.isalpha() temp1=str1.lower() temp2=str2.lower() count=0 for ch1 in temp1: for ch2 in temp2: if ch1==ch2: count+=1 ret...
27.45
100
0.624772
71
549
4.802817
0.577465
0.046921
0.076246
0.093842
0
0
0
0
0
0
0
0.04
0.271403
549
19
101
28.894737
0.8125
0.107468
0
0
0
0
0.151064
0
0
0
0
0
0.133333
0
null
null
0
0
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8e186e4c0f651efe33155de961839240453e74c0
2,382
py
Python
maskrcnn_benchmark/data/datasets/kins.py
TengFeiHan0/CenterMask-_
58629cc01ad6484e7ae9c0b5935e565feb247152
[ "BSD-2-Clause" ]
15
2020-03-12T15:12:19.000Z
2020-07-26T08:53:53.000Z
maskrcnn_benchmark/data/datasets/kins.py
TengFeiHan0/CenterMask-_
58629cc01ad6484e7ae9c0b5935e565feb247152
[ "BSD-2-Clause" ]
null
null
null
maskrcnn_benchmark/data/datasets/kins.py
TengFeiHan0/CenterMask-_
58629cc01ad6484e7ae9c0b5935e565feb247152
[ "BSD-2-Clause" ]
2
2020-03-26T04:42:11.000Z
2020-05-04T16:22:21.000Z
import torch import torch.utils.data as data import numpy as np import math from pycocotools.coco import COCO import os from PIL import Image from maskrcnn_benchmark.structures.bounding_box import BoxList from maskrcnn_benchmark.structures.segmentation_mask import SegmentationMask class KITTIDataset(data.Dataset): ...
37.21875
100
0.653652
336
2,382
4.443452
0.348214
0.048225
0.021433
0.03215
0.108506
0.092431
0.092431
0.049565
0.049565
0
0
0.0022
0.236776
2,382
63
101
37.809524
0.819032
0.037783
0
0.04
0
0
0.030157
0
0
0
0
0.015873
0
1
0.1
false
0
0.18
0.02
0.38
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
8e1f6978df72f51e8c7d20586da6f199db1af02e
1,226
py
Python
tests/conftest.py
teaglebuilt/bocadillo
b2138e77747d3ab9f87e4b352f6b7c1e72520fe1
[ "MIT" ]
434
2018-11-19T15:16:05.000Z
2022-02-19T03:18:52.000Z
tests/conftest.py
teaglebuilt/bocadillo
b2138e77747d3ab9f87e4b352f6b7c1e72520fe1
[ "MIT" ]
295
2018-11-20T15:11:17.000Z
2020-03-14T19:42:03.000Z
tests/conftest.py
teaglebuilt/bocadillo
b2138e77747d3ab9f87e4b352f6b7c1e72520fe1
[ "MIT" ]
62
2018-11-17T22:41:06.000Z
2021-09-11T17:45:59.000Z
import typing import pytest from bocadillo import App, configure, create_client, Templates, settings @pytest.fixture(name="raw_app") def fixture_raw_app(request) -> App: settings._clear() return App() @pytest.fixture(name="app") def fixture_app(raw_app: App) -> App: configure(raw_app) return raw_a...
21.137931
75
0.702284
143
1,226
5.867133
0.272727
0.077473
0.060787
0.047676
0
0
0
0
0
0
0
0.003956
0.175367
1,226
57
76
21.508772
0.825915
0
0
0.052632
0
0
0.092985
0
0
0
0
0
0
1
0.157895
false
0
0.078947
0.078947
0.526316
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
8e223f11529676fbef4d4911351d56e100bb2110
1,040
py
Python
raymon/__init__.py
raymon-ai/raymon
e1b0370de1f1d55c06b3c78fd820b1c1fe65db68
[ "MIT" ]
21
2021-06-14T08:37:22.000Z
2022-03-08T05:41:54.000Z
raymon/__init__.py
raymon-ai/raymon
e1b0370de1f1d55c06b3c78fd820b1c1fe65db68
[ "MIT" ]
57
2021-01-30T08:45:13.000Z
2022-02-21T16:15:00.000Z
raymon/__init__.py
raymon-ai/raymon
e1b0370de1f1d55c06b3c78fd820b1c1fe65db68
[ "MIT" ]
1
2021-06-18T09:53:58.000Z
2021-06-18T09:53:58.000Z
from raymon.api import RaymonAPI from raymon.loggers import RaymonAPILogger from raymon.trace import Trace from raymon.tags import Tag from raymon.globals import Serializable, DataException from raymon.profiling.profiles import ModelProfile from raymon.profiling.components import ( InputComponent, OutputCompone...
23.636364
78
0.766346
121
1,040
6.347107
0.429752
0.15625
0.098958
0.059896
0
0
0
0
0
0
0
0
0.177885
1,040
43
79
24.186047
0.898246
0
0
0.121212
0
0
0.044231
0
0
0
0
0
0
1
0.090909
false
0.030303
0.30303
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
8e23ad2c92917fcab2a92b8492bb13442d1a1d09
2,187
py
Python
pyannote/audio/pipeline/utils.py
Mymoza/pyannote-audio
9ac612ee6b854a1a65c3d8992856550304969674
[ "MIT" ]
1
2020-09-30T23:47:27.000Z
2020-09-30T23:47:27.000Z
pyannote/audio/pipeline/utils.py
picheny-nyu/pyannote-audio
9ac612ee6b854a1a65c3d8992856550304969674
[ "MIT" ]
null
null
null
pyannote/audio/pipeline/utils.py
picheny-nyu/pyannote-audio
9ac612ee6b854a1a65c3d8992856550304969674
[ "MIT" ]
1
2020-02-06T16:22:54.000Z
2020-02-06T16:22:54.000Z
#!/usr/bin/env python # encoding: utf-8 # The MIT License (MIT) # Copyright (c) 2017-2018 CNRS # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limita...
35.852459
79
0.717878
305
2,187
5.134426
0.462295
0.056194
0.061303
0.068966
0.355045
0.319285
0.319285
0.319285
0.319285
0.319285
0
0.005155
0.201646
2,187
60
80
36.45
0.891753
0.722908
0
0.222222
0
0
0.147002
0
0
0
0
0
0.222222
1
0.222222
false
0
0.111111
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
8e2c72d4e5fe3592e847820c2e6e33c959dcc688
1,195
py
Python
terminal/roll.py
jghibiki/DungeonBuilder
af0879fa89b2e73f2bc256dc9e5311b815fe2220
[ "MIT" ]
3
2016-12-08T20:09:57.000Z
2021-05-21T13:59:21.000Z
terminal/roll.py
jghibiki/Cursed
af0879fa89b2e73f2bc256dc9e5311b815fe2220
[ "MIT" ]
26
2016-12-09T20:30:31.000Z
2017-05-31T20:57:21.000Z
terminal/roll.py
jghibiki/DungeonBuilder
af0879fa89b2e73f2bc256dc9e5311b815fe2220
[ "MIT" ]
null
null
null
from interactive import InteractiveModule, TextDisplayModule from text_box import TextBox import random class Roll(InteractiveModule, TextDisplayModule): def __init__(self): pass def _handle(self, viewer, ch): pass def _handle_combo(self, viewer, buff): buff = buff.split(" ") ...
23.431373
71
0.50795
149
1,195
3.979866
0.395973
0.059022
0.043845
0.057336
0
0
0
0
0
0
0
0.011658
0.353975
1,195
50
72
23.9
0.756477
0
0
0.135135
0
0
0.057741
0
0
0
0
0
0
1
0.189189
false
0.135135
0.081081
0
0.324324
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
8e3a03c9a5cd0aef6185c6c0b8c642218d496e66
990
py
Python
WisRecCloud/apps/recall/migrations/0005_moviecfdata.py
DooBeDooBa/WisRecCloud
1801fc05c8aaabc5e668ce30eb83e26c65855ef1
[ "CC0-1.0" ]
1
2019-12-13T08:48:35.000Z
2019-12-13T08:48:35.000Z
WisRecCloud/apps/recall/migrations/0005_moviecfdata.py
DooBeDooBa/WisRecCloud
1801fc05c8aaabc5e668ce30eb83e26c65855ef1
[ "CC0-1.0" ]
20
2020-01-28T23:12:37.000Z
2022-03-12T00:08:52.000Z
WisRecCloud/apps/recall/migrations/0005_moviecfdata.py
DooBeDooBa/WisRecCloud
1801fc05c8aaabc5e668ce30eb83e26c65855ef1
[ "CC0-1.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2019-12-12 01:44 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('recall', '0004_clientinfo_user_name'), ] operatio...
31.935484
144
0.582828
100
990
5.55
0.6
0.057658
0.05045
0.079279
0
0
0
0
0
0
0
0.030942
0.281818
990
30
145
33
0.749648
0.069697
0
0
1
0
0.162309
0.027233
0
0
0
0
0
1
0
false
0
0.130435
0
0.26087
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
8e424bf18a33252ec5e06c534068e6f17ce3a893
2,241
py
Python
src/main.py
JasoSalgado/challenge-python-02
c236b2f8417376bfda67d9c763905c869875dc01
[ "MIT" ]
null
null
null
src/main.py
JasoSalgado/challenge-python-02
c236b2f8417376bfda67d9c763905c869875dc01
[ "MIT" ]
null
null
null
src/main.py
JasoSalgado/challenge-python-02
c236b2f8417376bfda67d9c763905c869875dc01
[ "MIT" ]
null
null
null
# Resolve the problem!! import string import random LOWER_LETTERS = list('abcdefghijklmnopqrstuvwxyz') UPPER_LETTERS = list('ABCDEFGHIJKLMNOPQRSTUVWXYZ') DIGITS = list('0123456789') SYMBOLS = list('!"#$%&\'()*+,-./:;?@[]^_`{|}~') def generate_password(): # Start coding here password = random.choice(LOWER_LET...
25.758621
91
0.570727
249
2,241
4.963855
0.228916
0.038835
0.080906
0.035599
0.351942
0.351942
0.329288
0.329288
0.329288
0.268608
0
0.021724
0.342704
2,241
86
92
26.05814
0.81738
0.017403
0
0.3125
0
0
0.049568
0.023647
0
0
0
0
0
1
0.046875
false
0.28125
0.03125
0
0.125
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
8e42d0623023cdd987bdc83d721754da18a93f2b
4,430
py
Python
shared/templates/create_sysctl.py
mpreisler/scap-security-guide
4e7df9a865f459d32914edbb83fae21cd4b89124
[ "BSD-3-Clause" ]
1
2019-01-07T10:43:25.000Z
2019-01-07T10:43:25.000Z
shared/templates/create_sysctl.py
mpreisler/scap-security-guide
4e7df9a865f459d32914edbb83fae21cd4b89124
[ "BSD-3-Clause" ]
null
null
null
shared/templates/create_sysctl.py
mpreisler/scap-security-guide
4e7df9a865f459d32914edbb83fae21cd4b89124
[ "BSD-3-Clause" ]
1
2019-12-12T12:08:14.000Z
2019-12-12T12:08:14.000Z
import re from template_common import FilesGenerator, UnknownTargetError class SysctlGenerator(FilesGenerator): def is_ipv6_id(self, var_id): return var_id.find("ipv6") >= 0 def get_files_var_for_id(self, var_id): if self.is_ipv6_id(var_id): template_name = 'template_OVAL_sysctl...
36.61157
91
0.489165
415
4,430
4.884337
0.178313
0.111001
0.081401
0.059201
0.783917
0.767144
0.697089
0.645782
0.617168
0.529354
0
0.005183
0.43386
4,430
120
92
36.916667
0.80303
0.105643
0
0.505263
0
0
0.180921
0.086032
0
0
0
0
0
1
0.052632
false
0
0.021053
0.021053
0.115789
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
8e443cc9f9caa99c8eac3f7f3685e9a4433b6643
1,913
py
Python
steenzout/barcode/__init__.py
steenzout/python-viivakoodi
78716f6fc8403abca1867be66fd94e74fbf4b187
[ "MIT" ]
6
2016-08-29T17:11:57.000Z
2020-09-30T11:33:51.000Z
steenzout/barcode/__init__.py
steenzout/python-viivakoodi
78716f6fc8403abca1867be66fd94e74fbf4b187
[ "MIT" ]
3
2016-11-03T17:43:28.000Z
2017-05-23T13:42:48.000Z
steenzout/barcode/__init__.py
steenzout/python-viivakoodi
78716f6fc8403abca1867be66fd94e74fbf4b187
[ "MIT" ]
3
2017-09-12T23:55:33.000Z
2018-12-03T16:39:12.000Z
# -*- coding: utf-8 -*- """This package provides a simple way to create standard bar codes. It needs no external packages to be installed, the bar codes are created as SVG objects. If PIL (Python Imaging Library) is installed, the bar codes can also be rendered as images (all formats supported by PIL). """ from six ...
23.617284
89
0.652901
238
1,913
5.176471
0.462185
0.034091
0.024351
0.032468
0.051948
0
0
0
0
0
0
0.00069
0.242028
1,913
80
90
23.9125
0.848966
0.50758
0
0.148148
0
0
0.045509
0
0
0
0
0
0
1
0.148148
false
0.037037
0.259259
0
0.592593
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
8e44c97c3703f4a80294d776af0a93c67a783a03
2,600
py
Python
code/preprocess_map.py
jatinmistry13/InvertedIndex
ab125122b21230a94659d583c20f6f17b65f7e72
[ "MIT" ]
2
2021-08-07T21:57:29.000Z
2022-01-13T20:06:21.000Z
code/preprocess_map.py
jatinmistry13/InvertedIndex
ab125122b21230a94659d583c20f6f17b65f7e72
[ "MIT" ]
null
null
null
code/preprocess_map.py
jatinmistry13/InvertedIndex
ab125122b21230a94659d583c20f6f17b65f7e72
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys import re import porter2 REVIEWTEXT_TAG = '''"text": ''' USERID_TAG = '''"user_id": ''' REVIEWID_TAG = '''"review_id": ''' REVIEWTEXT_END_TAG = ''', "type":''' BUSINESS_TAG = '''"business_id": "''' USERID_IDX = 8 REVIEWID_IDX = 10 RATING_IDX = 12 stopwordsList = [] def getStopWordsL...
23.853211
77
0.626154
278
2,600
5.784173
0.334532
0.074627
0.037313
0.046642
0.032338
0
0
0
0
0
0
0.011681
0.242692
2,600
108
78
24.074074
0.804977
0.258077
0
0.109091
0
0
0.049974
0
0
0
0
0
0
0
null
null
0
0.054545
null
null
0.018182
0
0
0
null
0
0
0
0
0
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
8e44e5e7448a37387301ee1615d7f36fdd78c8f6
5,256
py
Python
EnchantedMushroom.py
XiphosResearch/steelcon-python-injection
04d00a20b83d5f4988a05d587fff6fef94204c81
[ "WTFPL" ]
38
2015-03-05T14:26:53.000Z
2022-02-05T08:07:48.000Z
EnchantedMushroom.py
shekkbuilder/steelcon-python-injection
04d00a20b83d5f4988a05d587fff6fef94204c81
[ "WTFPL" ]
null
null
null
EnchantedMushroom.py
shekkbuilder/steelcon-python-injection
04d00a20b83d5f4988a05d587fff6fef94204c81
[ "WTFPL" ]
29
2015-03-05T14:07:51.000Z
2021-06-18T13:07:57.000Z
#!/usr/bin/python2 import commands import platform from ptrace.debugger.debugger import PtraceDebugger from ptrace.debugger.debugger import PtraceProcess import sys import time cyan = "\x1b[1;36m" red = "\x1b[1;31m" boldgreen = "\x1b[1;32m" clear = "\x1b[0m" procname = "test" # XXX: FOR TESTING. Can use sshd instead o...
35.04
96
0.611492
825
5,256
3.883636
0.276364
0.031835
0.02809
0.031835
0.280899
0.197566
0.142322
0.104869
0.104869
0.104869
0
0.136915
0.199581
5,256
149
97
35.275168
0.624673
0.034627
0
0.184615
0
0.192308
0.373965
0.261144
0
0
0
0
0
0
null
null
0
0.046154
null
null
0.123077
0
0
0
null
0
0
0
0
0
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
8e4b7cbe6b7ed1f9aea80de754ae2933e34fe501
1,528
py
Python
tests/test_cme_agriculture_calendar.py
lionelyoung/pandas_market_calendars
be565a2044b72f77cfd6e342fb83b363dbc492ae
[ "MIT" ]
null
null
null
tests/test_cme_agriculture_calendar.py
lionelyoung/pandas_market_calendars
be565a2044b72f77cfd6e342fb83b363dbc492ae
[ "MIT" ]
null
null
null
tests/test_cme_agriculture_calendar.py
lionelyoung/pandas_market_calendars
be565a2044b72f77cfd6e342fb83b363dbc492ae
[ "MIT" ]
null
null
null
import pandas as pd import pytz from pandas_market_calendars.exchange_calendar_cme_agriculture import CMEAgricultureExchangeCalendar def test_time_zone(): assert CMEAgricultureExchangeCalendar().tz == pytz.timezone('America/Chicago') assert CMEAgricultureExchangeCalendar().name == 'CME_Agriculture' def tes...
31.183673
100
0.642016
215
1,528
4.483721
0.413953
0.037344
0.016598
0.024896
0.033195
0.033195
0
0
0
0
0
0.213753
0.210079
1,528
48
101
31.833333
0.584921
0.255236
0
0.074074
0
0
0.204809
0
0
0
0
0
0.185185
1
0.111111
false
0
0.111111
0
0.222222
0.037037
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f3ccbfe5a56a43527f790e9f58bbd4ff9fa060ae
4,543
py
Python
verce-hpc-pe/src/dirmonitor-dataprov.py
KNMI/VERCE
c2f9eaa70ecf1621a218afc5d73ca1304ca8ed36
[ "MIT" ]
2
2017-09-07T04:33:18.000Z
2019-01-07T13:32:15.000Z
verce-hpc-pe/src/dirmonitor-dataprov.py
KNMI/VERCE
c2f9eaa70ecf1621a218afc5d73ca1304ca8ed36
[ "MIT" ]
2
2016-10-06T13:07:05.000Z
2017-12-20T09:47:08.000Z
verce-hpc-pe/src/dirmonitor-dataprov.py
KNMI/VERCE
c2f9eaa70ecf1621a218afc5d73ca1304ca8ed36
[ "MIT" ]
4
2016-04-25T22:15:40.000Z
2017-12-18T14:40:58.000Z
import os, time import sys from globusTransferPE import * from urlparse import urlsplit import types import uuid def getUniqueId(): return str(os.getpid())+"-"+str(uuid.uuid1()) path_to_watch = sys.argv[1] prov_sourcebaseurl = sys.argv[2] prov_targetbaseurl = sys.argv[3] data_targetbaseurl = sys.argv[4] pool ...
35.771654
172
0.492186
429
4,543
5.165501
0.356643
0.008123
0.024819
0.055505
0.279332
0.279332
0.279332
0.252256
0.252256
0.252256
0
0.005735
0.385868
4,543
127
173
35.771654
0.78853
0.032798
0
0.131868
0
0
0.146275
0.005013
0
0
0
0
0
0
null
null
0
0.065934
null
null
0.054945
0
0
0
null
0
0
0
0
0
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
f3cf5aca266a1b5e4f943d3d6919f1de3fd64ac9
215
py
Python
Code/Python/get_random_bytes.py
rf-peixoto/Studies
89178b6caa29cfa24d54058f3c7fc3424c541760
[ "CC0-1.0" ]
1
2021-02-10T12:53:37.000Z
2021-02-10T12:53:37.000Z
Code/Python/get_random_bytes.py
rf-peixoto/Studies
89178b6caa29cfa24d54058f3c7fc3424c541760
[ "CC0-1.0" ]
null
null
null
Code/Python/get_random_bytes.py
rf-peixoto/Studies
89178b6caa29cfa24d54058f3c7fc3424c541760
[ "CC0-1.0" ]
null
null
null
import os loops = int(input("How many loops? ")) bts = int(input("How many bytes per loop? ")) with open("random.bytes", "wb") as fl: for i in range(loops): fl.write(os.getrandom(bts)) print("Done.")
19.545455
45
0.623256
35
215
3.828571
0.714286
0.119403
0.164179
0.223881
0
0
0
0
0
0
0
0
0.195349
215
10
46
21.5
0.774566
0
0
0
0
0
0.27907
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.142857
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
f3d344582d91e344f3ed59bce457ea2ac6b9c970
1,453
py
Python
bench_logging_silent.py
haypo/pymicrobench
7c6b92deaf5cf0c3fc965fcfcbc6a78f7d0d10f4
[ "MIT" ]
3
2018-01-17T18:45:23.000Z
2020-10-02T06:26:03.000Z
bench_logging_silent.py
vstinner/pymicrobench
7c6b92deaf5cf0c3fc965fcfcbc6a78f7d0d10f4
[ "MIT" ]
null
null
null
bench_logging_silent.py
vstinner/pymicrobench
7c6b92deaf5cf0c3fc965fcfcbc6a78f7d0d10f4
[ "MIT" ]
4
2018-01-17T18:45:23.000Z
2020-10-08T15:24:51.000Z
#!/usr/bin/env python3 """ Measure the overhead of a logging call doing nothing. """ import io import logging import six from six.moves import xrange import pyperf FORMAT = 'important: %s' MESSAGE = 'some important information to be logged' def bench_logging_silent(loops, logger, stream): # micro-optimization:...
23.435484
69
0.627667
175
1,453
5.091429
0.474286
0.123457
0.13468
0.181818
0.233446
0.233446
0.233446
0.233446
0.233446
0.13468
0
0.007576
0.273228
1,453
61
70
23.819672
0.836174
0.093599
0
0.243902
0
0
0.13619
0
0
0
0
0
0
1
0.02439
false
0
0.170732
0
0.219512
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
f3df89a58f80eebc54acd5b7304c73e5f2c8af27
5,355
py
Python
server/app/models/user.py
SheetWithoutShit/sws-server
16b7154188f08b33f84d88caea217673cf989b2b
[ "MIT" ]
null
null
null
server/app/models/user.py
SheetWithoutShit/sws-server
16b7154188f08b33f84d88caea217673cf989b2b
[ "MIT" ]
57
2020-08-01T14:58:59.000Z
2020-09-20T13:27:16.000Z
server/app/models/user.py
SpentlessInc/spentless-server
16b7154188f08b33f84d88caea217673cf989b2b
[ "MIT" ]
null
null
null
"""This module provides functionality to interact with user data in database.""" import logging import bcrypt from asyncpg import exceptions from sqlalchemy import func from sqlalchemy.orm import relationship from sqlalchemy.exc import SQLAlchemyError from app.db import db from app.models import BaseModelMixin, pars...
37.978723
95
0.655275
654
5,355
5.253823
0.229358
0.019208
0.026193
0.045402
0.473516
0.389988
0.324214
0.298021
0.236903
0.211874
0
0.00516
0.239963
5,355
140
96
38.25
0.839066
0.046872
0
0.287129
0
0
0.145379
0.005192
0
0
0
0
0
1
0.029703
false
0.118812
0.089109
0
0.336634
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
f3e37d68a487d5fc10dc22615d160c7a4268f786
609
py
Python
aula7/aula7.py
higornobrega/Python_3_Basico_ao_Avancado
d056dffa0954fa33a767c58ce2a7a15f7435d047
[ "MIT" ]
null
null
null
aula7/aula7.py
higornobrega/Python_3_Basico_ao_Avancado
d056dffa0954fa33a767c58ce2a7a15f7435d047
[ "MIT" ]
null
null
null
aula7/aula7.py
higornobrega/Python_3_Basico_ao_Avancado
d056dffa0954fa33a767c58ce2a7a15f7435d047
[ "MIT" ]
null
null
null
nome = 'Luiz Otávio' idade = 32 altura = 1.80 e_maior = idade > 18 peso = 80 imc = peso / (altura**2) print(nome, 'tem', idade, 'anos de idade e seu imc é', imc) # print(f'{nome} tem {idade} anos de idade e seu imc é {imc:.2f}') print('{} tem {} anos de idade e seu imc é {:.2f}'.format(nome, idade, imc)) # No exempl...
38.0625
95
0.64532
119
609
3.294118
0.327731
0.076531
0.140306
0.091837
0.32398
0.221939
0.221939
0.173469
0.173469
0.173469
0
0.044355
0.18555
609
16
95
38.0625
0.745968
0.183908
0
0
0
0.181818
0.486815
0
0
0
0
0
0
1
0
false
0
0
0
0
0.454545
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
f3e5f230e36ba2e1589a83dd7e4de9a75af69dd1
940
py
Python
bbpyp/lexicomb/parser/block.py
BloggerBust/tag_script
985a4b6b8c026431842d608ba8feafe8751dd425
[ "Apache-2.0" ]
null
null
null
bbpyp/lexicomb/parser/block.py
BloggerBust/tag_script
985a4b6b8c026431842d608ba8feafe8751dd425
[ "Apache-2.0" ]
null
null
null
bbpyp/lexicomb/parser/block.py
BloggerBust/tag_script
985a4b6b8c026431842d608ba8feafe8751dd425
[ "Apache-2.0" ]
null
null
null
from bbpyp.lexicomb.parser.statement import Statement from bbpyp.lexicomb.parser.model.result import Result class Block(Statement): def __init__(self, statement_sequence, statement_seperator, *args, **kwargs): super().__init__(*args, **kwargs) self._statement_sequence = statement_sequence ...
30.322581
81
0.654255
98
940
5.877551
0.357143
0.157986
0.182292
0.079861
0
0
0
0
0
0
0
0
0.267021
940
30
82
31.333333
0.835994
0
0
0
0
0
0.051064
0.02766
0
0
0
0
0
1
0.166667
false
0
0.083333
0.083333
0.416667
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
f3e6225675f7464b01f43ec3b47bd41b5d86a621
594
py
Python
meiduo_mall/apps/goods/migrations/0003_auto_20190617_1442.py
liuyinsi111/ck
657cc849b5039b817942678aed022215920130b2
[ "Apache-2.0" ]
null
null
null
meiduo_mall/apps/goods/migrations/0003_auto_20190617_1442.py
liuyinsi111/ck
657cc849b5039b817942678aed022215920130b2
[ "Apache-2.0" ]
null
null
null
meiduo_mall/apps/goods/migrations/0003_auto_20190617_1442.py
liuyinsi111/ck
657cc849b5039b817942678aed022215920130b2
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.11 on 2019-06-17 06:42 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('goods', '0002_auto_20190327_0415'), ] operations ...
27
153
0.666667
68
594
5.647059
0.676471
0.0625
0.072917
0.114583
0
0
0
0
0
0
0
0.072495
0.210438
594
21
154
28.285714
0.746269
0.116162
0
0
1
0
0.151341
0.086207
0
0
0
0
0
1
0
false
0
0.214286
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f3e78b98adbe3cafbf3ca5154b14a7c739e2c59a
541
py
Python
web/middleware.py
CloudCray/TigerShark
e27f1e775652576743518d9f2dfd57266f0c541f
[ "BSD-3-Clause" ]
24
2015-03-18T10:15:20.000Z
2022-03-18T13:38:34.000Z
web/middleware.py
tspannhw/TigerShark
5081641f1b189a43e9eab4813256598cc0a79f6f
[ "BSD-3-Clause" ]
10
2016-04-11T14:55:54.000Z
2021-08-07T15:41:14.000Z
web/middleware.py
tspannhw/TigerShark
5081641f1b189a43e9eab4813256598cc0a79f6f
[ "BSD-3-Clause" ]
21
2015-11-21T09:19:47.000Z
2020-09-17T16:52:50.000Z
from django.conf import settings from django.core.exceptions import MiddlewareNotUsed import sys class FlushLog( object ): def __init__( self ): if settings.DEBUG: pass else: raise MiddlewareNotUsed def process_response(self, request, response): #sys.s...
28.473684
53
0.621072
57
541
5.789474
0.526316
0.081818
0.084848
0.10303
0.169697
0.169697
0
0
0
0
0
0
0.295749
541
18
54
30.055556
0.866142
0.060998
0
0.25
0
0
0
0
0
0
0
0
0
1
0.1875
false
0.0625
0.1875
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
f3e8e5a33b331f7d65915ada2794408b57966659
1,106
py
Python
attacks/rsa/wiener_attack_lattice.py
jvdsn/crypto-attacks
df37f112c28687efd105b7770b1baa4c53a71ad8
[ "MIT" ]
139
2020-10-26T00:43:15.000Z
2022-03-28T20:00:46.000Z
attacks/rsa/wiener_attack_lattice.py
jvdsn/crypto-attacks
df37f112c28687efd105b7770b1baa4c53a71ad8
[ "MIT" ]
6
2021-06-21T05:59:04.000Z
2022-02-17T22:50:42.000Z
attacks/rsa/wiener_attack_lattice.py
jvdsn/crypto-attacks
df37f112c28687efd105b7770b1baa4c53a71ad8
[ "MIT" ]
22
2021-07-01T08:42:54.000Z
2022-03-20T20:27:18.000Z
import os import sys from math import isqrt from sage.all import ZZ from sage.all import matrix path = os.path.dirname(os.path.dirname(os.path.dirname(os.path.realpath(os.path.abspath(__file__))))) if sys.path[1] != path: sys.path.insert(1, path) from attacks.factorization import known_phi from shared.lattice im...
29.105263
136
0.630199
176
1,106
3.914773
0.420455
0.043541
0.104499
0.065312
0.146589
0.065312
0.065312
0.065312
0
0
0
0.009732
0.256781
1,106
37
137
29.891892
0.828467
0.312839
0
0
0
0
0
0
0
0
0
0
0
1
0.043478
false
0
0.304348
0
0.391304
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
f3eac5acec6b274bb7e63bd40495cc4eecd618d6
1,905
py
Python
protein_transformer/models/transformer/Optimizer.py
joegomes/protein-transformer
3ac6d4d8e632e8e610191447c0ad950247f6987a
[ "BSD-3-Clause" ]
77
2019-11-17T20:36:01.000Z
2022-02-19T23:41:16.000Z
protein_transformer/models/transformer/Optimizer.py
joegomes/protein-transformer
3ac6d4d8e632e8e610191447c0ad950247f6987a
[ "BSD-3-Clause" ]
8
2020-02-10T23:00:11.000Z
2020-07-06T17:28:08.000Z
protein_transformer/models/transformer/Optimizer.py
joegomes/protein-transformer
3ac6d4d8e632e8e610191447c0ad950247f6987a
[ "BSD-3-Clause" ]
16
2020-02-16T12:35:04.000Z
2022-02-19T23:41:23.000Z
'''A wrapper class for optimizer ''' import numpy as np class ScheduledOptim(): """ A learning rate scheduler that implements the scheduling used in the Attenion is All You Need paper. Work extends on original implemention by github user jadore801120. https://github.com/jadore801120/attention-is-al...
30.238095
102
0.619948
253
1,905
4.41502
0.351779
0.044763
0.064458
0.091316
0.068935
0.051925
0.051925
0
0
0
0
0.017544
0.28189
1,905
62
103
30.725806
0.798977
0.286614
0
0
0
0
0.001675
0
0
0
0
0
0
1
0.241379
false
0
0.034483
0.034483
0.37931
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
f3f4999df07452e70caff2bc302d0afe79d6c7a5
455
py
Python
src/players/random.py
jrenrut/1d-chess
6f6f0b5fdb9712f03ecedb0ce324f10c1573dbe1
[ "MIT" ]
null
null
null
src/players/random.py
jrenrut/1d-chess
6f6f0b5fdb9712f03ecedb0ce324f10c1573dbe1
[ "MIT" ]
null
null
null
src/players/random.py
jrenrut/1d-chess
6f6f0b5fdb9712f03ecedb0ce324f10c1573dbe1
[ "MIT" ]
null
null
null
import numpy as np from .player import Player class Random(Player): def move(self): attack_squares = [] for square, attack_squares_ in self.game.player_moves.items(): for attack_square in attack_squares_: attack_squares.append([square, attack_square]) index =...
25.277778
70
0.657143
58
455
4.948276
0.482759
0.271777
0
0
0
0
0
0
0
0
0
0.002941
0.252747
455
17
71
26.764706
0.841176
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.181818
0
0.454545
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6d03abe3e841075e77889af570696083bf42c9c3
9,875
py
Python
sklearn/knn/KNNandPartitionTrees.py
saurabbhsp/machineLearning
e468854b57c8de6e80bc397bde6f1c71ee50d495
[ "Apache-2.0" ]
3
2017-12-01T16:57:03.000Z
2021-01-08T08:30:12.000Z
sklearn/knn/KNNandPartitionTrees.py
saurabbhsp/machineLearning
e468854b57c8de6e80bc397bde6f1c71ee50d495
[ "Apache-2.0" ]
null
null
null
sklearn/knn/KNNandPartitionTrees.py
saurabbhsp/machineLearning
e468854b57c8de6e80bc397bde6f1c71ee50d495
[ "Apache-2.0" ]
6
2019-07-05T12:27:36.000Z
2022-01-25T11:52:21.000Z
# coding: utf-8 # In[101]: get_ipython().run_cell_magic('javascript', '', '<!-- Ignore this block -->\nIPython.OutputArea.prototype._should_scroll = function(lines) {\n return false;\n}') # In[102]: get_ipython().run_line_magic('config', "InlineBackend.figure_format = 'retina'") from __future__ import divis...
22.191011
398
0.697722
1,213
9,875
5.522671
0.235779
0.003583
0.021496
0.030452
0.692044
0.679504
0.651739
0.640991
0.61651
0.599791
0
0.029681
0.160709
9,875
444
399
22.240991
0.778596
0.178532
0
0.795322
0
0.005848
0.251739
0.100063
0
0
0
0
0
1
0
false
0
0.070175
0
0.070175
0.157895
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6d1cbba0af1fce0041ffcc7e4e77ee0fcfa68d6a
13,333
py
Python
nutils/transform.py
timovanopstal/nutils
49d6cc2eae385f887827193cb8517cab03befe59
[ "MIT" ]
null
null
null
nutils/transform.py
timovanopstal/nutils
49d6cc2eae385f887827193cb8517cab03befe59
[ "MIT" ]
null
null
null
nutils/transform.py
timovanopstal/nutils
49d6cc2eae385f887827193cb8517cab03befe59
[ "MIT" ]
null
null
null
# -*- coding: utf8 -*- # # Module ELEMENT # # Part of Nutils: open source numerical utilities for Python. Jointly developed # by HvZ Computational Engineering, TU/e Multiscale Engineering Fluid Dynamics, # and others. More info at http://nutils.org <info@nutils.org>. (c) 2014 """ The transform module. """ from __futu...
30.029279
174
0.653266
1,711
13,333
4.976037
0.147282
0.028189
0.011745
0.014799
0.229269
0.153394
0.106883
0.073291
0.052619
0.043223
0
0.017018
0.224331
13,333
443
175
30.097065
0.806227
0.066677
0
0.295385
0
0
0.00846
0
0
0
0
0
0.08
1
0.203077
false
0.003077
0.009231
0.098462
0.452308
0.003077
0
0
0
null
0
0
0
0
0
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
6d1d081a0a58a5c7cfd02c50c167c86299d05359
339
py
Python
iotapp/Apps/Network/static.py
fcarbah/IOT
6b323c75844d0a6744df12059466d6c54bd0b242
[ "MIT" ]
null
null
null
iotapp/Apps/Network/static.py
fcarbah/IOT
6b323c75844d0a6744df12059466d6c54bd0b242
[ "MIT" ]
null
null
null
iotapp/Apps/Network/static.py
fcarbah/IOT
6b323c75844d0a6744df12059466d6c54bd0b242
[ "MIT" ]
null
null
null
import json import sys sys.path.append('/home/pi/iotapp') from Classes import net net_info = net.Network() data = json.loads(sys.argv[1]) #res = net_info.setIPInfo(data) #test_data ={'ip':'192.168.0.4','subnet':'255.255.255.0','gateway':'192.168.0.1','dns':['192.168.0.1',''],'mode':2} res = net_info.set(data) prin...
21.1875
115
0.672566
62
339
3.612903
0.548387
0.09375
0.09375
0.071429
0
0
0
0
0
0
0
0.116129
0.085546
339
15
116
22.6
0.606452
0.424779
0
0
0
0
0.07772
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
6d25c7b9b9fe11951669f1228211d4495bd126c8
930
py
Python
atest/testdata/keywords/resources/MyLibrary2.py
ldtri0209/robotframework
6bc11a350cbaf5d0801cc5431f32cc1435bb65df
[ "ECL-2.0", "Apache-2.0" ]
4
2016-01-13T13:48:28.000Z
2021-09-05T07:14:07.000Z
atest/testdata/keywords/resources/MyLibrary2.py
ldtri0209/robotframework
6bc11a350cbaf5d0801cc5431f32cc1435bb65df
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
atest/testdata/keywords/resources/MyLibrary2.py
ldtri0209/robotframework
6bc11a350cbaf5d0801cc5431f32cc1435bb65df
[ "ECL-2.0", "Apache-2.0" ]
2
2018-01-18T22:00:17.000Z
2018-07-26T10:53:00.000Z
from robot.libraries.BuiltIn import BuiltIn, register_run_keyword class MyLibrary2: def keyword_only_in_library_2(self): print "Keyword from library 2" def keyword_in_both_libraries(self): print "Keyword from library 2" def keyword_in_all_resources_and_libraries(self): p...
30
65
0.721505
121
930
5.272727
0.338843
0.094044
0.100313
0.125392
0.429467
0.429467
0.429467
0.429467
0.429467
0.153605
0
0.010884
0.209677
930
30
66
31
0.857143
0
0
0.315789
0
0
0.217204
0
0
0
0
0
0
0
null
null
0
0.052632
null
null
0.263158
0
0
0
null
0
0
0
0
0
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
6d2afcae772dfb5f2d8ce0a85da389ae8af1daf7
658
py
Python
scieio/chromatography/migrations/0021_auto_20200419_0304.py
arnelimperial/scieio
279a25766f20d074a3df824c0fbc8b2d8e35f272
[ "MIT" ]
null
null
null
scieio/chromatography/migrations/0021_auto_20200419_0304.py
arnelimperial/scieio
279a25766f20d074a3df824c0fbc8b2d8e35f272
[ "MIT" ]
8
2021-03-19T01:56:44.000Z
2022-03-12T00:24:21.000Z
scieio/chromatography/migrations/0021_auto_20200419_0304.py
arnelimperial/scieio
279a25766f20d074a3df824c0fbc8b2d8e35f272
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2020-04-19 00:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('chromatography', '0020_auto_20200419_0141'), ] operations = [ migrations.AlterField( model_name='gcsystem', name='pr...
27.416667
101
0.613982
71
658
5.56338
0.633803
0.101266
0.126582
0.146835
0.38481
0.38481
0.38481
0
0
0
0
0.10124
0.264438
658
23
102
28.608696
0.714876
0.068389
0
0.352941
1
0
0.148936
0.037643
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
6d2b1b67569988a962d98975d2148e33e6523fd8
394
py
Python
Tuples/Tuples.py
maj3r1819/Data-Structures-and-Algorithms
d7587c762b30c1945ebbac60794370215613b670
[ "MIT" ]
null
null
null
Tuples/Tuples.py
maj3r1819/Data-Structures-and-Algorithms
d7587c762b30c1945ebbac60794370215613b670
[ "MIT" ]
null
null
null
Tuples/Tuples.py
maj3r1819/Data-Structures-and-Algorithms
d7587c762b30c1945ebbac60794370215613b670
[ "MIT" ]
null
null
null
#Creating a Tuple newtuple = 'a','b','c','d' print(newtuple) # Tuple with 1 element tupple = 'a', print(tupple) newtuple1 = tuple('abcd') print(newtuple1) print("------------------") #Accessing Tuples newtuple = 'a','b','c','d' print(newtuple[1]) print(newtuple[-1]) #Traversing a Tuple for i in newtuple: print(...
15.76
27
0.604061
54
394
4.407407
0.388889
0.07563
0.084034
0.092437
0.210084
0.210084
0.210084
0
0
0
0
0.01462
0.13198
394
25
28
15.76
0.681287
0.22335
0
0.285714
0
0
0.165563
0
0
0
0
0
0
1
0
false
0
0
0
0
0.642857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
6d2fdf4c59ff138062adb62ea8507e966ad6019d
10,402
py
Python
spc/backend.py
adamnew123456/spc
8809d1817f66cf8266f145aa0c2474b32dc1087a
[ "MIT" ]
1
2017-10-15T19:55:48.000Z
2017-10-15T19:55:48.000Z
spc/backend.py
adamnew123456/spc
8809d1817f66cf8266f145aa0c2474b32dc1087a
[ "MIT" ]
null
null
null
spc/backend.py
adamnew123456/spc
8809d1817f66cf8266f145aa0c2474b32dc1087a
[ "MIT" ]
null
null
null
""" This is the base backend, which contains parts which should be common to most backends. """ from .errors import CompilerError from . import types class EmptyBackend: """ A skeleton backend which has all the methods used by the driver. Note that all identifiers (var. names, field names, etc.) are given...
30.238372
99
0.58556
1,234
10,402
4.78282
0.226904
0.041172
0.042697
0.02982
0.180786
0.109624
0.080312
0.070823
0.055236
0
0
0.001297
0.332917
10,402
343
100
30.326531
0.849258
0.384349
0
0.04717
0
0
0.034862
0
0
0
0
0
0
1
0.386792
false
0
0.018868
0
0.45283
0.018868
0
0
0
null
0
0
0
0
0
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
6d316a7eeb88d13aab900f4b44eb318707619a14
434
py
Python
examples/searchretrieve.py
danmichaelo/sruthi
c0fba512958d11d199946aa10583ee115cf45c69
[ "MIT" ]
4
2021-05-12T11:12:33.000Z
2022-03-03T15:08:19.000Z
examples/searchretrieve.py
danmichaelo/sruthi
c0fba512958d11d199946aa10583ee115cf45c69
[ "MIT" ]
11
2020-05-23T11:22:38.000Z
2021-12-06T18:20:50.000Z
examples/searchretrieve.py
danmichaelo/sruthi
c0fba512958d11d199946aa10583ee115cf45c69
[ "MIT" ]
2
2020-10-01T16:04:56.000Z
2020-11-09T20:09:41.000Z
import sruthi records = sruthi.searchretrieve('https://suche.staatsarchiv.djiktzh.ch/SRU/', query='Zurich') print("SRU version:", records.sru_version) print("Count:", records.count) print('') for record in records: # print fields from schema print(record['reference']) print(record['title']) print(reco...
28.933333
93
0.686636
55
434
5.4
0.581818
0.148148
0
0
0
0
0
0
0
0
0
0
0.145161
434
14
94
31
0.800539
0.170507
0
0.181818
0
0
0.260504
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.727273
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
6d33e569c465ff571794807ca14ec3f9bffabf1a
3,575
py
Python
tasks/mp/mp.py
sandhums/clinical-outcome-mine
c8db1a8be344afa0e734040848a98c730f0124e2
[ "Apache-2.0" ]
34
2021-02-10T03:28:21.000Z
2022-03-28T09:52:35.000Z
tasks/mp/mp.py
sandhums/clinical-outcome-mine
c8db1a8be344afa0e734040848a98c730f0124e2
[ "Apache-2.0" ]
6
2021-05-04T09:21:02.000Z
2022-03-15T09:18:38.000Z
tasks/mp/mp.py
sandhums/clinical-outcome-mine
c8db1a8be344afa0e734040848a98c730f0124e2
[ "Apache-2.0" ]
7
2021-02-23T06:42:21.000Z
2022-02-11T09:55:32.000Z
import os import re import sys sys.path.append('.') from tasks import mimic_utils import pandas as pd def mp_in_hospital_mimic(mimic_dir: str, save_dir: str, seed: int, admission_only: bool): """ Extracts information needed for the task from the MIMIC dataset. Namely "TEXT" column from NOTEEVENTS.csv and ...
44.6875
138
0.694266
499
3,575
4.751503
0.342685
0.050612
0.04555
0.048081
0.270772
0.197385
0.113876
0.076761
0.053986
0.053986
0
0.002829
0.208951
3,575
79
139
45.253165
0.835573
0.329231
0
0
0
0.054054
0.171808
0.056984
0
0
0
0
0
1
0.054054
false
0.054054
0.135135
0
0.216216
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
6d39d6e470d3de4d888b61687b88d24e35a52631
1,861
py
Python
judah/sources/database/date_based.py
sopherapps/judah
132f42adf90a71e91596fe523af84d5606c9ac9b
[ "MIT" ]
null
null
null
judah/sources/database/date_based.py
sopherapps/judah
132f42adf90a71e91596fe523af84d5606c9ac9b
[ "MIT" ]
null
null
null
judah/sources/database/date_based.py
sopherapps/judah
132f42adf90a71e91596fe523af84d5606c9ac9b
[ "MIT" ]
null
null
null
"""Module containing configurations for the date-based database data source""" from datetime import date from typing import Dict, Any, Optional, Type, Generator, Iterator from sqlalchemy import text from .config import DatabaseSourceDataModel from ..base.date_based import DateBasedBaseSource from ...destinations.dat...
41.355556
112
0.713595
230
1,861
5.604348
0.417391
0.027153
0.025601
0.031032
0
0
0
0
0
0
0
0.004082
0.210102
1,861
44
113
42.295455
0.872789
0.190758
0
0
0
0
0.012121
0
0
0
0
0
0
1
0.076923
false
0
0.269231
0
0.576923
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
6d42679b9f61f8aafa1b20a67219b6014a9d6965
17,798
py
Python
tests/snippets/whats_left_to_implement.py
cnheider/RustPython
63c83086c797095d016a1b2b9d4343231a9ccdd6
[ "MIT" ]
null
null
null
tests/snippets/whats_left_to_implement.py
cnheider/RustPython
63c83086c797095d016a1b2b9d4343231a9ccdd6
[ "MIT" ]
null
null
null
tests/snippets/whats_left_to_implement.py
cnheider/RustPython
63c83086c797095d016a1b2b9d4343231a9ccdd6
[ "MIT" ]
null
null
null
bool_expected_methods = [ '__abs__', '__add__', '__and__', '__bool__', '__ceil__', '__class__', '__delattr__', '__dir__', '__divmod__', '__doc__', '__eq__', '__float__', '__floor__', '__floordiv__', '__format__', '__ge__', '__getattribute__', '__ge...
17.851555
59
0.549275
1,343
17,798
5.386448
0.163068
0.0658
0.088471
0.033177
0.744125
0.663533
0.487144
0.468067
0.468067
0.461294
0
0.000157
0.285594
17,798
996
60
17.869478
0.568777
0.020227
0
0.873033
0
0
0.413152
0.001549
0
0
0
0.001004
0
1
0
false
0
0
0
0
0.003148
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
6d4d97950ebaf531bff6c94011e9087ba04a9231
2,606
py
Python
src/skspatial/objects/_base_sphere.py
CristianoPizzamiglio/scikit-spatial
95ca2d4f2948cf6a69ec4bc7236b70fd66db1de5
[ "BSD-3-Clause" ]
35
2019-08-22T04:25:29.000Z
2022-03-10T16:23:45.000Z
src/skspatial/objects/_base_sphere.py
CristianoPizzamiglio/scikit-spatial
95ca2d4f2948cf6a69ec4bc7236b70fd66db1de5
[ "BSD-3-Clause" ]
241
2019-03-04T23:08:26.000Z
2022-03-27T13:25:30.000Z
src/skspatial/objects/_base_sphere.py
CristianoPizzamiglio/scikit-spatial
95ca2d4f2948cf6a69ec4bc7236b70fd66db1de5
[ "BSD-3-Clause" ]
7
2020-11-13T21:40:05.000Z
2022-02-07T00:38:30.000Z
"""Module for base class of Circle and Sphere.""" import numpy as np from skspatial._functions import _contains_point from skspatial.objects._base_spatial import _BaseSpatial from skspatial.objects.point import Point from skspatial.objects.vector import Vector from skspatial.typing import array_like class _BaseSpher...
28.955556
89
0.613968
332
2,606
4.665663
0.259036
0.069722
0.064558
0.054874
0.177534
0.08909
0.08909
0.071014
0.071014
0.071014
0
0.026261
0.269378
2,606
89
90
29.280899
0.78729
0.363008
0
0
0
0
0.099357
0.037884
0
0
0
0
0
1
0.185185
false
0
0.222222
0
0.592593
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
6d5d8340712282fa0113be5e09739a3356b96653
351
py
Python
app.py
Otamio/wikidata-property-finder
3555cd6d350ff0772d236acec90b4ca13acfa5b3
[ "MIT" ]
null
null
null
app.py
Otamio/wikidata-property-finder
3555cd6d350ff0772d236acec90b4ca13acfa5b3
[ "MIT" ]
2
2021-02-25T02:05:10.000Z
2021-02-26T02:30:52.000Z
app.py
Otamio/wikidata-property-finder
3555cd6d350ff0772d236acec90b4ca13acfa5b3
[ "MIT" ]
1
2021-02-10T08:43:29.000Z
2021-02-10T08:43:29.000Z
import api.hello from flask import Flask from flask_cors import CORS from flask_restful import Api from api.PropertyFinderResource import PropertyFinderResource app = Flask(__name__) CORS(app) app.register_blueprint(api.hello.bp) api = Api(app) api.add_resource(PropertyFinderResource, '/search') if __name__ == '__ma...
21.9375
61
0.797721
48
351
5.5
0.4375
0.102273
0
0
0
0
0
0
0
0
0
0.016077
0.11396
351
15
62
23.4
0.832797
0
0
0
0
0
0.042735
0
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
6d61561b6a71604f83924ab2c554962878779167
2,180
py
Python
spatialdata/geocoords/CSCart.py
rwalkerlewis/spatialdata
515c8d9dec21d261d0d654b5c30e6759565268d2
[ "MIT" ]
6
2017-09-19T11:05:33.000Z
2019-09-26T08:18:30.000Z
spatialdata/geocoords/CSCart.py
rwalkerlewis/spatialdata
515c8d9dec21d261d0d654b5c30e6759565268d2
[ "MIT" ]
38
2017-06-28T15:44:50.000Z
2022-02-17T04:04:02.000Z
spatialdata/geocoords/CSCart.py
rwalkerlewis/spatialdata
515c8d9dec21d261d0d654b5c30e6759565268d2
[ "MIT" ]
11
2015-11-09T06:29:35.000Z
2021-06-02T14:13:59.000Z
# ---------------------------------------------------------------------- # # Brad T. Aagaard, U.S. Geological Survey # # This code was developed as part of the Computational Infrastructure # for Geodynamics (http://geodynamics.org). # # Copyright (c) 2010-2017 University of California, Davis # # See COPYING for license...
23.695652
74
0.554587
197
2,180
6.050761
0.497462
0.041946
0.047819
0.041946
0.13255
0.13255
0
0
0
0
0
0.005285
0.218807
2,180
91
75
23.956044
0.694656
0.467431
0
0.125
0
0
0.089921
0
0
0
0
0
0
1
0.166667
false
0
0.166667
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
6d61b6258df78cbd58092517778ab18eedf0da97
1,024
py
Python
Food/src/window/window.py
Babarbitz/Project-Food
e57b31b04a4c52ba6bba7e205e88b26a3f3b22f2
[ "MIT" ]
1
2020-11-05T21:47:20.000Z
2020-11-05T21:47:20.000Z
Food/src/window/window.py
Babarbitz/Project-Food
e57b31b04a4c52ba6bba7e205e88b26a3f3b22f2
[ "MIT" ]
null
null
null
Food/src/window/window.py
Babarbitz/Project-Food
e57b31b04a4c52ba6bba7e205e88b26a3f3b22f2
[ "MIT" ]
1
2020-11-05T21:58:07.000Z
2020-11-05T21:58:07.000Z
## @file window.py # @title Window object for game output # @author Lucas Zacharewicz # @date February 19, 2019 import pygame from .constants import * ## @brief The class wraps pygame functionallity related to window sprite lists, # clock speed, and rendering to a form that is easier to use for the # ...
29.257143
79
0.65918
137
1,024
4.883212
0.50365
0.149477
0.167414
0.167414
0
0
0
0
0
0
0
0.01671
0.240234
1,024
34
80
30.117647
0.843188
0.356445
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.277778
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
6d62852792a1e6b61d9d4353fe9a83a933add27c
5,524
py
Python
homework13.py
WillSkywalker/core-python-programming
8c8b36beb7dce6b09fc2cec17c844bcf519101c0
[ "Apache-2.0" ]
1
2015-11-12T15:10:35.000Z
2015-11-12T15:10:35.000Z
homework13.py
WillSkywalker/core-python-programming
8c8b36beb7dce6b09fc2cec17c844bcf519101c0
[ "Apache-2.0" ]
null
null
null
homework13.py
WillSkywalker/core-python-programming
8c8b36beb7dce6b09fc2cec17c844bcf519101c0
[ "Apache-2.0" ]
null
null
null
#!usr/bin/env python # Author: Will Skyywalker # Core Python Programming - Homework 13 from math import sqrt, atan, pi from time import ctime class MoneyFmt(float): # 13-3, 13-17 def __init__(self, amount, bracket=False): super(MoneyFmt, self).__init__() self._amount = amount self._brac...
24.995475
61
0.542361
712
5,524
3.914326
0.207865
0.057409
0.031575
0.044851
0.366344
0.277718
0.215644
0.148906
0.068174
0.039469
0
0.030029
0.318791
5,524
220
62
25.109091
0.710603
0.038921
0
0.166667
0
0
0.00911
0
0
0
0
0
0
0
null
null
0
0.013333
null
null
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ed951907ec2eb775856f65067d48e175394576da
458
py
Python
0679 Circular Greater Element to the Right.py
ansabgillani/binarysearchcomproblems
12fe8632f8cbb5058c91a55bae53afa813a3247e
[ "MIT" ]
1
2020-12-29T21:17:26.000Z
2020-12-29T21:17:26.000Z
0679 Circular Greater Element to the Right.py
ansabgillani/binarysearchcomproblems
12fe8632f8cbb5058c91a55bae53afa813a3247e
[ "MIT" ]
null
null
null
0679 Circular Greater Element to the Right.py
ansabgillani/binarysearchcomproblems
12fe8632f8cbb5058c91a55bae53afa813a3247e
[ "MIT" ]
4
2021-09-09T17:42:43.000Z
2022-03-18T04:54:03.000Z
class Solution: def solve(self, nums): ans = [-1]*len(nums) unmatched = [] for i in range(len(nums)): while unmatched and unmatched[0][0] < nums[i]: ans[heappop(unmatched)[1]] = nums[i] heappush(unmatched, [nums[i], i]) for i in range(len(nu...
26.941176
58
0.508734
58
458
4.017241
0.344828
0.107296
0.051502
0.094421
0.652361
0.652361
0.652361
0.652361
0.652361
0.652361
0
0.023333
0.344978
458
16
59
28.625
0.753333
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
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
ed964e8bdd79d6c9c6f4f92212432b7d444f3123
3,374
py
Python
examples/calculator/manage.py
goodboy/pulsar
e4b42d94b7e262a165782747d65f8b39fb8d3ba9
[ "BSD-3-Clause" ]
1
2020-11-30T07:36:57.000Z
2020-11-30T07:36:57.000Z
examples/calculator/manage.py
goodboy/pulsar
e4b42d94b7e262a165782747d65f8b39fb8d3ba9
[ "BSD-3-Clause" ]
null
null
null
examples/calculator/manage.py
goodboy/pulsar
e4b42d94b7e262a165782747d65f8b39fb8d3ba9
[ "BSD-3-Clause" ]
null
null
null
'''\ This is a a :ref:`JSON-RPC <apps-rpc>` server with some simple functions. To run the server type:: python manage.py Open a new shell and launch python and type:: >>> from pulsar.apps import rpc >>> p = rpc.JsonProxy('http://localhost:8060') >>> p.ping() 'pong' >>> p.functions_list() ...
25.953846
76
0.631298
413
3,374
5.048426
0.380145
0.026379
0.017266
0.032614
0.111751
0.056115
0.046043
0.032614
0.032614
0
0
0.007067
0.24511
3,374
129
77
26.155039
0.811543
0.385892
0
0
0
0
0.009611
0
0
0
0
0
0.020408
1
0.183673
false
0
0.081633
0.020408
0.612245
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
ed9e37a7b1507dbf7263bce31453df209f2f29a4
556
py
Python
setup.py
krystalgamer/krystal
17c9a3a3290f10ad4aafd852ca01599233a53010
[ "MIT" ]
null
null
null
setup.py
krystalgamer/krystal
17c9a3a3290f10ad4aafd852ca01599233a53010
[ "MIT" ]
null
null
null
setup.py
krystalgamer/krystal
17c9a3a3290f10ad4aafd852ca01599233a53010
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='krystal', version='1.0.0', description="Krystal's static website builder", author='krystalgamer', author_email='krystalgamer@protonmail.com', url='https://github.com/krystalgamer/krystal', packages=find_pa...
23.166667
55
0.557554
57
556
5.333333
0.649123
0.078947
0
0
0
0
0
0
0
0
0
0.030769
0.298561
556
23
56
24.173913
0.748718
0
0
0
0
0
0.370504
0.048561
0
0
0
0
0
1
0
true
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
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
eda4a46b56dd30c18d6bcd1f9074f5364ddb035f
5,003
py
Python
metasyntactic/themes/wales_towns.py
ask/metasyntactic
70fe86893665c1f8f5372398b1770d4d1ec41d4e
[ "ClArtistic" ]
4
2017-07-10T01:55:31.000Z
2022-02-18T05:36:43.000Z
metasyntactic/themes/wales_towns.py
ask/metasyntactic
70fe86893665c1f8f5372398b1770d4d1ec41d4e
[ "ClArtistic" ]
1
2020-09-15T19:49:40.000Z
2020-09-15T19:54:16.000Z
metasyntactic/themes/wales_towns.py
ask/metasyntactic
70fe86893665c1f8f5372398b1770d4d1ec41d4e
[ "ClArtistic" ]
2
2017-04-04T10:25:15.000Z
2021-01-29T17:15:27.000Z
# -*- coding: utf-8 -*- ''' ################################ Acme::MetaSyntactic::wales_towns ################################ **** NAME **** Acme::MetaSyntactic::wales_towns - Towns in Wales *********** DESCRIPTION *********** List of towns in Wales. It would be nice to extend this to a list of all towns and ...
13.165789
211
0.718969
662
5,003
5.364048
0.492447
0.086173
0.074908
0.098564
0.274852
0.269783
0.269783
0.269783
0.269783
0.242185
0
0.058781
0.177094
5,003
379
212
13.200528
0.803741
0.503898
0
0
0
0
0.657628
0.008499
0
0
0
0
0
1
0.025773
false
0.005155
0.015464
0.005155
0.082474
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
eda5e64331ab326cf38434677a641d6a846e8647
2,171
py
Python
code-sample-python/python_first_project/01_types_and_operations.py
aquatir/learntocode
9b860a528ded64fab2686a93c49dfd4b3947d6c9
[ "MIT" ]
null
null
null
code-sample-python/python_first_project/01_types_and_operations.py
aquatir/learntocode
9b860a528ded64fab2686a93c49dfd4b3947d6c9
[ "MIT" ]
1
2017-10-03T11:25:54.000Z
2017-10-03T11:25:54.000Z
code-sample-python/python_first_project/01_types_and_operations.py
aquatir/remember_java_api
6acc72e23a954152d922e380d06f337f55921950
[ "MIT" ]
null
null
null
# This is a sample Python script. # Press shift+⌃R to execute it or replace it with your code. # Press Double ⇧ to search everywhere for classes, files, tool windows, actions, and settings. def print_hi(name): # Use a breakpoint in the code line below to debug your script. print(f'Hi, {name}') # Press ⌘F8 t...
27.481013
110
0.621373
335
2,171
3.940299
0.420896
0.054545
0.034091
0.018182
0.030303
0.030303
0
0
0
0
0
0.099214
0.2386
2,171
78
111
27.833333
0.69752
0.345924
0
0
0
0
0.115805
0
0
0
0
0
0
1
0.022727
false
0
0
0
0.022727
0.727273
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
eda6f887c3434eb64bd48ae2ea456f56e48c6057
482
py
Python
gitnb/config.py
brookisme/nb_git
097ff4ece09fa6e0230ac140e25ea59d5797af70
[ "MIT" ]
14
2017-06-15T03:11:51.000Z
2019-03-15T23:57:49.000Z
gitnb/config.py
brookisme/nb_git
097ff4ece09fa6e0230ac140e25ea59d5797af70
[ "MIT" ]
null
null
null
gitnb/config.py
brookisme/nb_git
097ff4ece09fa6e0230ac140e25ea59d5797af70
[ "MIT" ]
null
null
null
import os import yaml import gitnb.paths as paths # # LOAD USER CONFIG # if os.path.isfile(paths.USER_CONFIG): user_config=yaml.safe_load(open(paths.USER_CONFIG)) else: user_config={} # # LOAD DEFAULT CONFIG # default_config=yaml.safe_load(open(paths.DEFAULT_CONFIG)) """ fig (as in con.fig) get propert...
17.851852
57
0.707469
72
482
4.569444
0.402778
0.212766
0.072948
0.109422
0.164134
0.164134
0
0
0
0
0
0
0.184647
482
27
58
17.851852
0.83715
0.074689
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.25
0.083333
0.416667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
edb8df8e7ccf2b99c13e6074e923ea19b062ab2e
432
py
Python
paytm/migrations/0002_paytm_history_merc_unq_ref.py
jaswal72/paytm_django
03cb130d7728e71703dedf8d849e6fc646d4db8b
[ "MIT" ]
4
2019-03-30T08:56:11.000Z
2019-11-19T11:59:53.000Z
paytm/migrations/0002_paytm_history_merc_unq_ref.py
tanmayag8958/paytm_django
dfba1c9185f4a8defcfc609888ad66e57715ec48
[ "MIT" ]
3
2020-02-11T23:57:58.000Z
2021-06-10T21:17:48.000Z
paytm/migrations/0002_paytm_history_merc_unq_ref.py
tanmayag8958/paytm_django
dfba1c9185f4a8defcfc609888ad66e57715ec48
[ "MIT" ]
3
2019-03-31T12:23:09.000Z
2019-11-19T11:59:59.000Z
# Generated by Django 2.1.7 on 2019-03-29 15:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('paytm', '0001_initial'), ] operations = [ migrations.AddField( model_name='paytm_history', name='MERC_UNQ_REF', ...
22.736842
98
0.618056
51
432
5.039216
0.784314
0.062257
0.085603
0.108949
0
0
0
0
0
0
0
0.065831
0.261574
432
18
99
24
0.739812
0.104167
0
0
1
0
0.158442
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
edc13de754d890a7fe138e69df0ac798e2172ce3
613
py
Python
SyncUp/models.py
michaelzap94/lasantabiblia-platform-django
e33aa769737a2f2bcd61bfd594e85f4cdcb4751f
[ "MIT" ]
null
null
null
SyncUp/models.py
michaelzap94/lasantabiblia-platform-django
e33aa769737a2f2bcd61bfd594e85f4cdcb4751f
[ "MIT" ]
8
2021-03-19T11:25:38.000Z
2022-03-12T00:49:05.000Z
SyncUp/models.py
michaelzap94/lasantabiblia-platform-django
e33aa769737a2f2bcd61bfd594e85f4cdcb4751f
[ "MIT" ]
null
null
null
from django.db import models from django.conf import settings from django.utils.translation import gettext_lazy as _ class SyncUp(models.Model): # The related_name attribute specifies the name of the reverse relation from the User model back to your model user = models.OneToOneField( settings.AUTH_USER_MODEL,...
40.866667
114
0.773246
88
613
5.204545
0.659091
0.065502
0
0
0
0
0
0
0
0
0
0.007678
0.150082
613
14
115
43.785714
0.871401
0.176183
0
0
0
0
0.013917
0
0
0
0
0
0
1
0.1
false
0
0.3
0.1
1
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
edc290da3f8b9476968908f91e1799096dae267a
1,102
py
Python
cpdb/twitterbot/tests/handlers/test_handlers.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
25
2018-07-20T22:31:40.000Z
2021-07-15T16:58:41.000Z
cpdb/twitterbot/tests/handlers/test_handlers.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
13
2018-06-18T23:08:47.000Z
2022-02-10T07:38:25.000Z
cpdb/twitterbot/tests/handlers/test_handlers.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
6
2018-05-17T21:59:43.000Z
2020-11-17T00:30:26.000Z
from django.test import SimpleTestCase from mock import Mock from twitterbot.handlers import MentionEventHandler, FollowEventHandler class MentionEventHandlerTestCase(SimpleTestCase): def test_handle(self): handler = MentionEventHandler(event_data=None, for_user_id=123, original_event=None) matc...
34.4375
110
0.749546
134
1,102
5.791045
0.30597
0.082474
0.154639
0.195876
0.460052
0.398196
0.177835
0.103093
0
0
0
0.013015
0.163339
1,102
31
111
35.548387
0.828633
0
0
0.2
0
0
0.00726
0
0
0
0
0
0.15
1
0.1
false
0
0.15
0
0.35
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
edc6bd35da65eb28456345703bc577fdb978b9df
1,974
py
Python
backend_files/transcribe_lambda.py
chaksoham/smart_photo_album
9616f6ae37407b577a3d30d731682255c600d046
[ "MIT" ]
null
null
null
backend_files/transcribe_lambda.py
chaksoham/smart_photo_album
9616f6ae37407b577a3d30d731682255c600d046
[ "MIT" ]
null
null
null
backend_files/transcribe_lambda.py
chaksoham/smart_photo_album
9616f6ae37407b577a3d30d731682255c600d046
[ "MIT" ]
null
null
null
import json import boto3 import time import urllib client = boto3.client('transcribe') def lambda_handler(event, context): # TODO implement def extract_info(event): put_info = event.get('Records')[-1] bucket_key = put_info.get('s3').get('bucket').get('name') audio_key = put_info.get('...
30.84375
94
0.642351
218
1,974
5.600917
0.40367
0.045045
0.02457
0.031941
0.176904
0.068796
0
0
0
0
0
0.010603
0.235562
1,974
64
95
30.84375
0.798542
0.038501
0
0.04
0
0
0.17265
0.023231
0
0
0
0.015625
0
1
0.06
false
0.02
0.08
0
0.2
0.02
0
0
0
null
0
0
0
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
edcb7f8b971a7b43e75ec04aeb2c8e6b6bef2242
545
py
Python
scripts/categorical.py
jesussantana/Predicting-Cardano-Price
3b35ef5abdbd6bee9ab7bf8321318c691374dfbe
[ "MIT" ]
1
2021-05-07T08:30:05.000Z
2021-05-07T08:30:05.000Z
scripts/categorical.py
jesussantana/Advanced-Machine-Learning
71ba0d4677550056d7aef6ab3e7d0affe0a27f50
[ "MIT" ]
null
null
null
scripts/categorical.py
jesussantana/Advanced-Machine-Learning
71ba0d4677550056d7aef6ab3e7d0affe0a27f50
[ "MIT" ]
1
2022-02-17T23:59:51.000Z
2022-02-17T23:59:51.000Z
# Create Dummies # ============================================================================== """ import sys new_path = '../scripts/' if new_path not in sys.path: sys.path.append(new_path)""" # ============================================================================== import pandas as pd from skle...
25.952381
80
0.46789
59
545
4.186441
0.525424
0.11336
0.072874
0
0
0
0
0
0
0
0
0.004338
0.154128
545
20
81
27.25
0.531453
0.484404
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
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
edcef98b9dacc4ad7161a18913e7407f99c623b2
410
py
Python
yougetguide/com/aaron/youtu.py
qsunny/python
ace8c3178a9a9619de2b60ca242c2079dd2f825e
[ "MIT" ]
null
null
null
yougetguide/com/aaron/youtu.py
qsunny/python
ace8c3178a9a9619de2b60ca242c2079dd2f825e
[ "MIT" ]
2
2021-03-25T22:00:07.000Z
2022-01-20T15:51:48.000Z
yougetguide/com/aaron/youtu.py
qsunny/python
ace8c3178a9a9619de2b60ca242c2079dd2f825e
[ "MIT" ]
null
null
null
# _*_ encoding:utf-8 _*_ """ pip install you-get https://you-get.org/ """ __author__ = "aaron.qiu" from you_get.common import any_download from you_get.__main__ import main_dev if __name__ == '__main__': any_download(url="https://www.youtube.com/watch?v=QuPiZ86EFhQ", output_dir="E:\\", merge="E:\\") # any_dow...
29.285714
102
0.692683
61
410
4.196721
0.540984
0.09375
0.078125
0.148438
0.421875
0.296875
0.296875
0.296875
0.296875
0
0
0.01087
0.102439
410
13
103
31.538462
0.684783
0.392683
0
0
0
0
0.283333
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
edd0ebdf6864a01a951e212e764f36ba0626acf2
19,587
py
Python
api/query_utils.py
ImagingDataCommons/ISB-CGC-API
d3207a6ada958ad5ac3cb8834b216ec1108dcf1c
[ "Apache-2.0" ]
null
null
null
api/query_utils.py
ImagingDataCommons/ISB-CGC-API
d3207a6ada958ad5ac3cb8834b216ec1108dcf1c
[ "Apache-2.0" ]
5
2020-07-07T23:45:21.000Z
2021-06-11T17:52:29.000Z
api/query_utils.py
ImagingDataCommons/ISB-CGC-API
d3207a6ada958ad5ac3cb8834b216ec1108dcf1c
[ "Apache-2.0" ]
2
2019-10-15T01:17:35.000Z
2021-04-05T19:54:12.000Z
# # Copyright 2015-2019, Institute for Systems Biology # # 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 ...
35.291892
114
0.567928
2,135
19,587
4.98829
0.125995
0.105634
0.039437
0.023662
0.701596
0.680469
0.653052
0.642629
0.642629
0.635305
0
0.005823
0.342472
19,587
554
115
35.355596
0.821104
0.221269
0
0.619186
0
0
0.103612
0
0
0
0
0
0
1
0.037791
false
0
0.026163
0
0.162791
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
edd231719bb848d4caaedf4e7a95678b9602d5b9
1,092
py
Python
src/shared/models/abstract_models.py
Alirezaja1384/MajazAmooz
9200e46bed33aeb60d578a5c4c02013a8032cf08
[ "MIT" ]
3
2021-04-01T19:42:53.000Z
2022-03-01T09:50:17.000Z
src/shared/models/abstract_models.py
Alirezaja1384/MajazAmooz
9200e46bed33aeb60d578a5c4c02013a8032cf08
[ "MIT" ]
null
null
null
src/shared/models/abstract_models.py
Alirezaja1384/MajazAmooz
9200e46bed33aeb60d578a5c4c02013a8032cf08
[ "MIT" ]
null
null
null
from django.db import models from django_lifecycle import LifecycleModel, BEFORE_CREATE, hook class AbstractScoreCoinModel(LifecycleModel): """ Abstract score-coin model for using in score-coin based models like upvote, like, etc. """ score = models.IntegerField( verbose_name="امتیاز", ed...
25.395349
77
0.64011
130
1,092
5.238462
0.4
0.052863
0.073421
0.085169
0.14978
0.14978
0.14978
0.14978
0.14978
0.14978
0
0.005006
0.268315
1,092
42
78
26
0.847309
0.241758
0
0.1
0
0
0.025401
0
0
0
0
0
0
1
0.15
false
0
0.1
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
edd42620fa3f6d3fb811c8b357f23e63fc5d6888
1,566
py
Python
hordak/migrations/0002_check_leg_trigger_20160903_1149.py
PetrDlouhy/django-hordak
71c141928c5a2cc102bcfd710d7bdf17093933c9
[ "MIT" ]
187
2016-12-12T10:58:11.000Z
2022-03-27T08:14:19.000Z
hordak/migrations/0002_check_leg_trigger_20160903_1149.py
PetrDlouhy/django-hordak
71c141928c5a2cc102bcfd710d7bdf17093933c9
[ "MIT" ]
62
2016-12-10T00:12:47.000Z
2022-03-16T09:23:05.000Z
hordak/migrations/0002_check_leg_trigger_20160903_1149.py
waldocollective/django-hordak
dc9b8e5008954ca0f4b089d89348e7dec4301f65
[ "MIT" ]
47
2016-12-12T11:07:31.000Z
2022-03-15T20:30:07.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2016-09-03 11:49 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [("hordak", "0001_initial")] operations = [ migrations.RunSQL( """ CREA...
32.625
122
0.511494
152
1,566
5.098684
0.546053
0.051613
0.056774
0.049032
0.165161
0.165161
0.165161
0.165161
0.165161
0.165161
0
0.028857
0.424649
1,566
47
123
33.319149
0.831299
0.043423
0
0.285714
1
0
0.238329
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
edd5d0f12b197bf2b966536534fbe6136d66a68f
3,840
py
Python
chromHMM_utilities/naive_bayes_summary_tracks/get_binary_file_num_genome_pos.py
ernstlab/full_stack_chromHMM
715c60cdd189165b92c45c6c64bf09f6802e7cb4
[ "Unlicense" ]
null
null
null
chromHMM_utilities/naive_bayes_summary_tracks/get_binary_file_num_genome_pos.py
ernstlab/full_stack_chromHMM
715c60cdd189165b92c45c6c64bf09f6802e7cb4
[ "Unlicense" ]
null
null
null
chromHMM_utilities/naive_bayes_summary_tracks/get_binary_file_num_genome_pos.py
ernstlab/full_stack_chromHMM
715c60cdd189165b92c45c6c64bf09f6802e7cb4
[ "Unlicense" ]
null
null
null
# Copyright 2021 Ha Vu (havu73@ucla.edu) # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distri...
44.651163
462
0.756771
627
3,840
4.446571
0.365231
0.017934
0.021521
0.016141
0.152798
0.1033
0.086083
0.06528
0.046628
0.046628
0
0.009633
0.161979
3,840
86
463
44.651163
0.856743
0.32526
0
0.152542
0
0.016949
0.147085
0.014576
0
0
0
0
0
0
null
null
0.016949
0.118644
null
null
0.101695
0
0
0
null
0
0
0
0
0
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