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
ed3f22bc9cd6901491dd74a1964aa19636812550
581
py
Python
tools/test_net.py
by-liu/SegLossBia
9cc639c04084cda9d5fb20ea34699db7e0beaf5c
[ "MIT" ]
18
2021-04-20T17:03:20.000Z
2022-03-12T05:56:24.000Z
tools/test_net.py
by-liu/SegLossBia
9cc639c04084cda9d5fb20ea34699db7e0beaf5c
[ "MIT" ]
null
null
null
tools/test_net.py
by-liu/SegLossBia
9cc639c04084cda9d5fb20ea34699db7e0beaf5c
[ "MIT" ]
1
2021-07-08T17:44:15.000Z
2021-07-08T17:44:15.000Z
import sys import logging from seglossbias.utils import mkdir, setup_logging from seglossbias.engine import default_argument_parser, load_config, DefaultTester logger = logging.getLogger(__name__) def setup(args): cfg = load_config(args) mkdir(cfg.OUTPUT_DIR) setup_logging(output_dir=cfg.OUTPUT_DIR) ...
20.75
82
0.717728
74
581
5.310811
0.459459
0.068702
0.111959
0
0
0
0
0
0
0
0
0
0.175559
581
27
83
21.518519
0.820459
0
0
0
0
0
0.04475
0
0
0
0
0
0
1
0.105263
false
0
0.210526
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed3f423aba07bd3e0294dc5b518080a8998ed87f
1,047
py
Python
sarpy/io/nitf/tres/unclass/ENGRDA.py
anielsen001/sarpy
07bf157f54a5304185fc0e1c34010053fd6ae9d9
[ "MIT" ]
null
null
null
sarpy/io/nitf/tres/unclass/ENGRDA.py
anielsen001/sarpy
07bf157f54a5304185fc0e1c34010053fd6ae9d9
[ "MIT" ]
null
null
null
sarpy/io/nitf/tres/unclass/ENGRDA.py
anielsen001/sarpy
07bf157f54a5304185fc0e1c34010053fd6ae9d9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from ..tre_elements import TREExtension, TREElement __classification__ = "UNCLASSIFIED" __author__ = "Thomas McCullough" class RECORD(TREElement): def __init__(self, value): super(RECORD, self).__init__() self.add_field('ENGLN', 'd', 2, value) self.add_field('ENG...
29.914286
60
0.621777
132
1,047
4.621212
0.371212
0.137705
0.216393
0.25082
0.347541
0.163934
0
0
0
0
0
0.013366
0.213945
1,047
34
61
30.794118
0.727825
0.020057
0
0.083333
0
0
0.118164
0
0
0
0
0
0
1
0.083333
false
0
0.041667
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ed402a46ff5fc00fad7e1376b1ab297b4013340b
7,808
py
Python
jp_doodle/quantity_forest.py
lingruiluo/jp_doodle
b3935208821898f22ab504c2b26dd4d37f08f0e4
[ "BSD-2-Clause" ]
43
2018-10-10T08:38:07.000Z
2022-03-19T22:44:42.000Z
jp_doodle/quantity_forest.py
firmfrol19/jp_doodle
cb34938edaedbe15590ebe8024060dd97bb69fa9
[ "BSD-2-Clause" ]
8
2018-09-17T19:49:45.000Z
2020-08-24T15:51:16.000Z
jp_doodle/quantity_forest.py
firmfrol19/jp_doodle
cb34938edaedbe15590ebe8024060dd97bb69fa9
[ "BSD-2-Clause" ]
5
2019-06-13T15:53:55.000Z
2020-11-13T01:22:56.000Z
from jp_doodle import doodle_files qf_js = doodle_files.vendor_path("js/quantity_forest.js") from jp_doodle import dual_canvas import jp_proxy_widget import os from subprocess import check_output import pprint if bytes != str: unicode = str def directory_usage(directory, epsilon=0.02): if not os.path.isdir(di...
34.702222
115
0.523309
858
7,808
4.648019
0.22028
0.042628
0.063942
0.040371
0.199097
0.17653
0.161484
0.161484
0.161484
0.111836
0
0.014018
0.351306
7,808
224
116
34.857143
0.773347
0.032531
0
0.149254
0
0.004975
0.201511
0.0232
0
0
0
0
0
1
0.044776
false
0.004975
0.029851
0
0.139303
0.00995
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed40391b29c9dd84fbde6dce8cec5a7ba2c96f0b
3,139
py
Python
LeetCode-All-Solution/Python3/LC-0035-Search-Insert-Position.py
YuweiYin/Algorithm_YuweiYin
28648fac59c5a4e3c907978cbd1b3e662ba18fd5
[ "MIT" ]
null
null
null
LeetCode-All-Solution/Python3/LC-0035-Search-Insert-Position.py
YuweiYin/Algorithm_YuweiYin
28648fac59c5a4e3c907978cbd1b3e662ba18fd5
[ "MIT" ]
null
null
null
LeetCode-All-Solution/Python3/LC-0035-Search-Insert-Position.py
YuweiYin/Algorithm_YuweiYin
28648fac59c5a4e3c907978cbd1b3e662ba18fd5
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- """================================================================= @Project : Algorithm_YuweiYin/LeetCode-All-Solution/Python3 @File : LC-0035-Search-Insert-Position.py @Author : [YuweiYin](https://github.com/YuweiYin) @Date : 2022-01-01 ============================...
28.798165
107
0.572794
416
3,139
4.225962
0.346154
0.025597
0.027304
0.027873
0.20876
0.197383
0.151877
0.09215
0.047782
0
0
0.046256
0.27684
3,139
108
108
29.064815
0.728194
0.292768
0
0
0
0
0.026444
0
0
0
0
0
0
1
0.081081
false
0
0.081081
0
0.324324
0.081081
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed4086f481b4822d573ede5f8a9108ee4da236b6
290
py
Python
coding202-parsing-json/get-ap-json-1.py
firodj/ciscodevnet-coding-skills-sample-code
4fca975e450cf0c913001fe1b36582f7a094b1e7
[ "Apache-2.0" ]
null
null
null
coding202-parsing-json/get-ap-json-1.py
firodj/ciscodevnet-coding-skills-sample-code
4fca975e450cf0c913001fe1b36582f7a094b1e7
[ "Apache-2.0" ]
null
null
null
coding202-parsing-json/get-ap-json-1.py
firodj/ciscodevnet-coding-skills-sample-code
4fca975e450cf0c913001fe1b36582f7a094b1e7
[ "Apache-2.0" ]
null
null
null
import requests url = 'https://64.103.26.61/api/contextaware/v1/maps/info/DevNetCampus/DevNetBuilding/DevNetZone' headers = {'Authorization': 'Basic bGVhcm5pbmc6bGVhcm5pbmc=='} response = requests.get(url, headers=headers, verify=False) responseString = response.text print(responseString)
41.428571
97
0.8
33
290
7.030303
0.818182
0
0
0
0
0
0
0
0
0
0
0.04797
0.065517
290
6
98
48.333333
0.808118
0
0
0
0
0.166667
0.458621
0.086207
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ed4193bd5735a5283b0caa027d333560a4c2793c
1,078
py
Python
lldb/test/API/lang/swift/optimized_code/bound_generic_enum/TestSwiftOptimizedBoundGenericEnum.py
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
605
2019-10-18T01:15:54.000Z
2022-03-31T14:31:04.000Z
lldb/test/API/lang/swift/optimized_code/bound_generic_enum/TestSwiftOptimizedBoundGenericEnum.py
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
3,180
2019-10-18T01:21:21.000Z
2022-03-31T23:25:41.000Z
lldb/test/API/lang/swift/optimized_code/bound_generic_enum/TestSwiftOptimizedBoundGenericEnum.py
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
275
2019-10-18T05:27:22.000Z
2022-03-30T09:04:21.000Z
import lldb from lldbsuite.test.decorators import * import lldbsuite.test.lldbtest as lldbtest import lldbsuite.test.lldbutil as lldbutil import os import unittest2 class TestSwiftOptimizedBoundGenericEnum(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) @swiftTest def test(self): ...
35.933333
79
0.705009
125
1,078
5.928
0.528
0.037787
0.051282
0.062078
0.17274
0.17274
0
0
0
0
0
0.002299
0.19295
1,078
29
80
37.172414
0.849425
0.09462
0
0.095238
0
0
0.054639
0
0
0
0
0.034483
0.047619
1
0.047619
false
0
0.285714
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
ed4253185dfabd501835c1030a3d60a0f1a59215
296
py
Python
kervi/kervi/plugin/routing/kervi_io/__init__.py
wentzlau/kervi
d35a422a6bca6b0ef50a4f9e5c382dece855abdc
[ "MIT" ]
null
null
null
kervi/kervi/plugin/routing/kervi_io/__init__.py
wentzlau/kervi
d35a422a6bca6b0ef50a4f9e5c382dece855abdc
[ "MIT" ]
null
null
null
kervi/kervi/plugin/routing/kervi_io/__init__.py
wentzlau/kervi
d35a422a6bca6b0ef50a4f9e5c382dece855abdc
[ "MIT" ]
null
null
null
#Copyright 2017 Tim Wentlau. #Distributed under the MIT License. See LICENSE in root of project. def init_plugin(config, manager): from kervi.plugin.routing.kervi_io.mq_router import KerviIORouterPlugin return KerviIORouterPlugin(config, manager) def plugin_type(): return "routing"
32.888889
75
0.787162
39
296
5.871795
0.74359
0.113537
0
0
0
0
0
0
0
0
0
0.015748
0.141892
296
9
76
32.888889
0.885827
0.314189
0
0
0
0
0.034653
0
0
0
0
0
0
1
0.4
false
0
0.2
0.2
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
ed42d7a8a9a02745abd1180b0c82d5235e6a3711
903
py
Python
bc_gym_planning_env/envs/base/action.py
ghostFaceKillah/bc-gym-planning-env
3cc0eb03adb752d304c3f007675cfff86691d007
[ "MIT" ]
2
2019-04-28T02:26:23.000Z
2021-12-06T16:04:36.000Z
bc_gym_planning_env/envs/base/action.py
ghostFaceKillah/bc-gym-planning-env
3cc0eb03adb752d304c3f007675cfff86691d007
[ "MIT" ]
7
2019-03-12T14:07:40.000Z
2019-05-02T04:46:30.000Z
bc_gym_planning_env/envs/base/action.py
ghostFaceKillah/bc-gym-planning-env
3cc0eb03adb752d304c3f007675cfff86691d007
[ "MIT" ]
7
2019-01-08T08:09:09.000Z
2022-02-07T09:57:02.000Z
""" Code for wrapping the motion primitive action in an object. """ from __future__ import division from __future__ import absolute_import import attr import numpy as np from bc_gym_planning_env.utilities.serialize import Serializable @attr.s(cmp=False) class Action(Serializable): """ Object representing an 'ac...
28.21875
100
0.713178
119
903
5.084034
0.537815
0.049587
0.052893
0.072727
0.168595
0.168595
0.168595
0.168595
0.168595
0
0
0.001395
0.20598
903
31
101
29.129032
0.842399
0.158361
0
0.1
0
0
0
0
0
0
0
0
0
1
0.15
false
0
0.25
0.1
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ed42fcb801fa38e9585e0b02fe9fd71eff57af66
1,863
py
Python
histogram.py
ccfelius/queueing
c38bd2fe230e52d6166a94449cec28f82e245ec2
[ "MIT" ]
1
2020-12-10T17:36:40.000Z
2020-12-10T17:36:40.000Z
histogram.py
ccfelius/queueing
c38bd2fe230e52d6166a94449cec28f82e245ec2
[ "MIT" ]
null
null
null
histogram.py
ccfelius/queueing
c38bd2fe230e52d6166a94449cec28f82e245ec2
[ "MIT" ]
1
2021-01-05T13:08:03.000Z
2021-01-05T13:08:03.000Z
import matplotlib.pyplot as plt import pandas as pd import math import numpy as np from scipy import stats import seaborn as sns data = pd.read_csv("data/500-4.txt", sep="\t") # example1 = data[data["SIM_TIME"] == 500] simulations = 500 simtimes = [5, 50, 150, 500, 1000] # for i in [1, 2, 4]: # data = pd.read_c...
30.540984
83
0.662909
336
1,863
3.580357
0.375
0.0266
0.036575
0.049875
0.264339
0.201164
0.121363
0.086451
0.038238
0.038238
0
0.09419
0.122383
1,863
60
84
31.05
0.64159
0.107354
0
0
0
0
0.224638
0.018116
0
0
0
0
0
1
0
false
0
0.146341
0
0.146341
0.195122
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed4391eec6c0ca45d66a840d1a081ef7d248ea7e
558
py
Python
python/1931.py
zheedong/BaekJoon
7f9e00085276a337d18ee3bb90c98126f7af4d3a
[ "MIT" ]
null
null
null
python/1931.py
zheedong/BaekJoon
7f9e00085276a337d18ee3bb90c98126f7af4d3a
[ "MIT" ]
null
null
null
python/1931.py
zheedong/BaekJoon
7f9e00085276a337d18ee3bb90c98126f7af4d3a
[ "MIT" ]
null
null
null
n = int(input()) conf_set = [] for _ in range(n): conf_set.append(tuple(map(int, input().split()))) conf_set.sort(key=lambda x : (x[1], x[0])) # 끝나는 시간을 기준으로 정렬 # 시작과 종료가 같은 경우를 포함하기 위해선, 시작 시간도 오름차순으로 정렬해 줘야 한다 solution_list = [conf_set[0]] # Greedy Algorithm for conf in conf_set[1:]: last_conf = solution...
23.25
59
0.664875
98
558
3.561224
0.571429
0.100287
0.063037
0
0
0
0
0
0
0
0
0.011364
0.21147
558
24
60
23.25
0.781818
0.241935
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed4408c93538d9f83abe75060897c6705abd216b
2,219
py
Python
social_webpy/app.py
python-social-auth/social-app-webpy
edcfd8dd95c66a3524961e5212e13c9c2e8515a3
[ "BSD-3-Clause" ]
2
2017-06-21T15:29:09.000Z
2022-01-26T21:12:25.000Z
social_webpy/app.py
python-social-auth/social-app-webpy
edcfd8dd95c66a3524961e5212e13c9c2e8515a3
[ "BSD-3-Clause" ]
null
null
null
social_webpy/app.py
python-social-auth/social-app-webpy
edcfd8dd95c66a3524961e5212e13c9c2e8515a3
[ "BSD-3-Clause" ]
1
2018-10-21T07:33:36.000Z
2018-10-21T07:33:36.000Z
import web from social_core.actions import do_auth, do_complete, do_disconnect from .utils import psa, load_strategy, load_strategy urls = ( r'/login/(?P<backend>[^/]+)/?', 'auth', r'/complete/(?P<backend>[^/]+)/?', 'complete', r'/disconnect/(?P<backend>[^/]+)/?', 'disconnect', r'/disconnect/(?P<bac...
28.818182
78
0.598918
259
2,219
4.942085
0.216216
0.094531
0.066406
0.042188
0.222656
0.1375
0.0875
0.0875
0.0875
0.0875
0
0
0.250113
2,219
76
79
29.197368
0.769231
0
0
0.142857
0
0
0.121226
0.085174
0
0
0
0
0
1
0.178571
false
0
0.053571
0.125
0.446429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
ed4409f82d978378f6be973493d164c3f3a747dd
2,133
py
Python
stellar/config.py
gomyar/stellar
b2dfbe136f1540f0ca6ac5779ebaeae996a3b747
[ "MIT" ]
null
null
null
stellar/config.py
gomyar/stellar
b2dfbe136f1540f0ca6ac5779ebaeae996a3b747
[ "MIT" ]
null
null
null
stellar/config.py
gomyar/stellar
b2dfbe136f1540f0ca6ac5779ebaeae996a3b747
[ "MIT" ]
null
null
null
import os import logging import yaml from schema import Use, Schema, SchemaError, Optional class InvalidConfig(Exception): pass class MissingConfig(Exception): pass default_config = { 'logging': 30, 'migrate_from_0_3_2': True } schema = Schema({ 'stellar_url': Use(str), 'url': Use(str), ...
23.43956
70
0.554149
234
2,133
4.854701
0.307692
0.15493
0.044014
0.074824
0.310739
0.286092
0.286092
0.253521
0.253521
0.253521
0
0.005678
0.339428
2,133
90
71
23.7
0.800568
0
0
0.402778
0
0
0.078293
0
0
0
0
0
0
1
0.041667
false
0.055556
0.055556
0
0.166667
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
ed446ef71ae2d9e250f77adc4d3e36a498ecb373
3,239
py
Python
egs2/mr_openslr64/asr1/local/data_prep.py
texpomru13/espnet
7ef005e832e2fb033f356c16f54e0f08762fb4b0
[ "Apache-2.0" ]
1
2022-03-25T14:41:05.000Z
2022-03-25T14:41:05.000Z
egs2/mr_openslr64/asr1/local/data_prep.py
texpomru13/espnet
7ef005e832e2fb033f356c16f54e0f08762fb4b0
[ "Apache-2.0" ]
2
2019-04-23T04:43:33.000Z
2019-05-13T13:06:52.000Z
egs2/mr_openslr64/asr1/local/data_prep.py
texpomru13/espnet
7ef005e832e2fb033f356c16f54e0f08762fb4b0
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # Copyright 2021 Carnegie Mellon University (Peter Wu) # Apache 2.0 (http://www.apache.org/licenses/LICENSE-2.0) import argparse import os import random if __name__ == "__main__": parser = argparse.ArgumentParser() parser.add_argument("-d", help="downloads directory", type=str, def...
32.39
88
0.538747
448
3,239
3.674107
0.252232
0.038275
0.043742
0.027339
0.309235
0.178007
0.117861
0.102066
0.102066
0.102066
0
0.026667
0.328496
3,239
99
89
32.717172
0.730115
0.040753
0
0.13253
0
0.012048
0.065722
0
0
0
0
0
0
1
0
false
0
0.036145
0
0.036145
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed44cdd790149a7a7aba7ae668b2598d57504c5a
9,404
py
Python
movement_validation/features/feature_processing_options.py
eulerkaku/movement_validation
af939a42a97c1de889cf13bad0c22a2824d60947
[ "MIT" ]
null
null
null
movement_validation/features/feature_processing_options.py
eulerkaku/movement_validation
af939a42a97c1de889cf13bad0c22a2824d60947
[ "MIT" ]
null
null
null
movement_validation/features/feature_processing_options.py
eulerkaku/movement_validation
af939a42a97c1de889cf13bad0c22a2824d60947
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ This module will hold a class that will be referenced when processing features. I'd like to move things from "config" into here ... - @JimHokanson """ from __future__ import division from .. import utils #Can't do this, would be circular #from .worm_features import WormFeatures class...
34.072464
116
0.606231
1,125
9,404
4.873778
0.322667
0.010213
0.01605
0.018603
0.139522
0.089732
0.0766
0.053256
0.053256
0.030275
0
0.012403
0.314122
9,404
276
117
34.072464
0.837674
0.43205
0
0.16092
0
0
0.067644
0.015456
0
0
0
0.01087
0
1
0.16092
false
0
0.022989
0.034483
0.321839
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
ed44fdb0f01181ea268ba486b1d64620229b6b81
634
py
Python
xos/ec2_observer/steps/__init__.py
wathsalav/xos
f6bcaa37a948ee41729236afe7fce0802e002404
[ "Apache-2.0" ]
null
null
null
xos/ec2_observer/steps/__init__.py
wathsalav/xos
f6bcaa37a948ee41729236afe7fce0802e002404
[ "Apache-2.0" ]
null
null
null
xos/ec2_observer/steps/__init__.py
wathsalav/xos
f6bcaa37a948ee41729236afe7fce0802e002404
[ "Apache-2.0" ]
null
null
null
#from .sync_external_routes import SyncExternalRoutes #from .sync_network_slivers import SyncNetworkSlivers #from .sync_networks import SyncNetworks #from .sync_network_deployments import SyncNetworkDeployments #from .sync_site_privileges import SyncSitePrivilege #from .sync_slice_memberships import SyncSliceMembership...
39.625
61
0.865931
76
634
6.960526
0.473684
0.196597
0.056711
0
0
0
0
0
0
0
0
0
0.089905
634
15
62
42.266667
0.916811
0.954259
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
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
1
0
0
0
0
0
0
2
ed45225f06a1a8cadf577895bd9772f8a5fae7c7
1,240
py
Python
src/napari_geojson/_tests/test_writer.py
NHPatterson/napari-geojson
8e7925dc7600608673d489e24e8760c4669eaa0b
[ "BSD-3-Clause" ]
null
null
null
src/napari_geojson/_tests/test_writer.py
NHPatterson/napari-geojson
8e7925dc7600608673d489e24e8760c4669eaa0b
[ "BSD-3-Clause" ]
6
2021-12-31T06:04:05.000Z
2022-02-27T15:19:29.000Z
src/napari_geojson/_tests/test_writer.py
NHPatterson/napari-geojson
8e7925dc7600608673d489e24e8760c4669eaa0b
[ "BSD-3-Clause" ]
1
2022-02-22T20:35:07.000Z
2022-02-22T20:35:07.000Z
import geojson import pytest from napari_geojson import write_shapes ellipse = [[[0, 0], [0, 5], [5, 5], [5, 0]], "ellipse", "Polygon"] line = [[[0, 0], [5, 5]], "line", "LineString"] polygon = [[[0, 0], [5, 5], [0, 10]], "polygon", "Polygon"] polyline = [[[0, 0], [5, 5], [0, 10]], "path", "LineString"] rectangle = [...
33.513514
75
0.647581
169
1,240
4.573965
0.343195
0.023286
0.019405
0.025873
0.129366
0.03881
0.020699
0.020699
0
0
0
0.03831
0.179032
1,240
36
76
34.444444
0.721022
0.06371
0
0
0
0
0.136167
0.02255
0
0
0
0
0.076923
1
0.038462
false
0
0.115385
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed45fdb6ca6f0aa4bd602cf9c46a5336b5f100f3
115
py
Python
algorithms/521. Longest Uncommon Subsequence I.py
woozway/py3-leetcode
e51a9ce7a6bb3e35c0fcb8c8f4f6cd5763708dbf
[ "MIT" ]
1
2020-12-02T13:54:30.000Z
2020-12-02T13:54:30.000Z
algorithms/521. Longest Uncommon Subsequence I.py
woozway/py3-leetcode
e51a9ce7a6bb3e35c0fcb8c8f4f6cd5763708dbf
[ "MIT" ]
null
null
null
algorithms/521. Longest Uncommon Subsequence I.py
woozway/py3-leetcode
e51a9ce7a6bb3e35c0fcb8c8f4f6cd5763708dbf
[ "MIT" ]
null
null
null
class Solution: def findLUSlength(self, a: str, b: str) -> int: return -1 if a == b else max(len(a), len(b))
28.75
49
0.608696
21
115
3.333333
0.714286
0
0
0
0
0
0
0
0
0
0
0.011111
0.217391
115
3
50
38.333333
0.766667
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
5
ed487e9bb61e7b47c76c3fe0f4b895d4d0e7a7e7
12,688
py
Python
pgmpy/models/ClusterGraph.py
echoyi/pgmpy
c37dda4401f23ec73fc5d17d957867cd62e588d3
[ "MIT" ]
null
null
null
pgmpy/models/ClusterGraph.py
echoyi/pgmpy
c37dda4401f23ec73fc5d17d957867cd62e588d3
[ "MIT" ]
null
null
null
pgmpy/models/ClusterGraph.py
echoyi/pgmpy
c37dda4401f23ec73fc5d17d957867cd62e588d3
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from collections import defaultdict import numpy as np from pgmpy.base import UndirectedGraph from pgmpy.factors import factor_product class ClusterGraph(UndirectedGraph): r""" Base class for representing Cluster Graph. Cluster graph is an undirected graph which is associated wi...
34.953168
119
0.534994
1,502
12,688
4.458722
0.155127
0.010751
0.008511
0.007167
0.409138
0.342392
0.305361
0.297297
0.266836
0.259071
0
0.00813
0.321406
12,688
362
120
35.049724
0.769686
0.566756
0
0.129032
0
0
0.086792
0
0
0
0
0
0
1
0.11828
false
0
0.043011
0
0.247312
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed48aebeb275b2b66a2ca1e46510e44f4c833499
1,474
py
Python
plugins/commands_window/plugin.py
stonewell/eim
50fc4bb6e265ed8a5eb84577fd203e83934d55a7
[ "MIT" ]
null
null
null
plugins/commands_window/plugin.py
stonewell/eim
50fc4bb6e265ed8a5eb84577fd203e83934d55a7
[ "MIT" ]
null
null
null
plugins/commands_window/plugin.py
stonewell/eim
50fc4bb6e265ed8a5eb84577fd203e83934d55a7
[ "MIT" ]
null
null
null
from PySide6.QtWidgets import QListWidgetItem from yapsy.IPlugin import IPlugin class Plugin(IPlugin): def __init__(self): IPlugin.__init__(self) def activate(self): IPlugin.activate(self) return def deactivate(self): IPlugin.deactivate(self) def set_current_window(self, ...
25.859649
80
0.683853
186
1,474
5.075269
0.360215
0.044492
0.038136
0.023305
0.065678
0.065678
0.065678
0.065678
0
0
0
0.000862
0.213026
1,474
56
81
26.321429
0.812931
0
0
0
0
0
0.045839
0
0
0
0
0
0
1
0.194444
false
0
0.055556
0
0.305556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed493a7b9c217715b159a3e6f8cf67b68a3aa7f3
478
py
Python
custom_components/helpers.py
zroger49/broadlink_custom_component
c7b0f9648f1dbaad64e573561e852b689be5a755
[ "MIT" ]
null
null
null
custom_components/helpers.py
zroger49/broadlink_custom_component
c7b0f9648f1dbaad64e573561e852b689be5a755
[ "MIT" ]
2
2022-01-30T15:29:17.000Z
2022-03-13T10:54:58.000Z
custom_components/helpers.py
racelandshop/broadlink_custom_component
c7b0f9648f1dbaad64e573561e852b689be5a755
[ "MIT" ]
1
2022-01-16T16:05:24.000Z
2022-01-16T16:05:24.000Z
"""Helpers for the Broadlink remote.""" from base64 import b64decode from homeassistant.helpers import config_validation as cv def decode_packet(value): """Decode a data packet given for a Broadlink remote.""" value = cv.string(value) extra = len(value) % 4 if extra > 0: value = value + ("=" ...
26.555556
60
0.65272
65
478
4.753846
0.538462
0.097087
0
0
0
0
0
0
0
0
0
0.029255
0.213389
478
17
61
28.117647
0.792553
0.221757
0
0
0
0
0.014045
0
0
0
0
0
0
1
0.2
false
0
0.2
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
0
0
1
0
ed49ab3c5d4f24945d71fc6987cac08699af6050
692
py
Python
problems/139.Word_Break/AC_dp_n2.py
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
problems/139.Word_Break/AC_dp_n2.py
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
problems/139.Word_Break/AC_dp_n2.py
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # Author: illuz <iilluzen[at]gmail.com> # File: AC_dp_n2.py # Create Date: 2015-04-21 10:21:18 # Usage: AC_dp_n2.py # Descripton: class Solution: # @param s, a string # @param dict, a set of string # @return a boolean def wordBreak(self, s...
23.862069
58
0.460983
101
692
3.118812
0.554455
0.019048
0.038095
0.050794
0
0
0
0
0
0
0
0.045131
0.391619
692
28
59
24.714286
0.703088
0.362717
0
0
0
0
0.004651
0
0
0
0
0
0
0
null
null
0
0
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ed49cff59f1ab26e4ca17666763624af983410cc
8,641
py
Python
examples/pybullet/gym/pybullet_envs/bullet/kukaCamGymEnv.py
motionfigures/bullet3
4a66d6c80b38a87ecbdf2fd5c4d281f0b5913d22
[ "Zlib" ]
51
2018-11-11T12:47:38.000Z
2022-03-06T08:39:43.000Z
examples/pybullet/gym/pybullet_envs/bullet/kukaCamGymEnv.py
motionfigures/bullet3
4a66d6c80b38a87ecbdf2fd5c4d281f0b5913d22
[ "Zlib" ]
2
2019-11-15T03:21:45.000Z
2020-09-10T11:53:58.000Z
examples/pybullet/gym/pybullet_envs/bullet/kukaCamGymEnv.py
motionfigures/bullet3
4a66d6c80b38a87ecbdf2fd5c4d281f0b5913d22
[ "Zlib" ]
14
2018-12-12T09:12:14.000Z
2021-10-17T14:30:25.000Z
import os, inspect currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) parentdir = os.path.dirname(os.path.dirname(currentdir)) os.sys.path.insert(0,parentdir) import math import gym from gym import spaces from gym.utils import seeding import numpy as np import time import pybullet...
32.731061
270
0.661035
1,091
8,641
5.092576
0.248396
0.025198
0.025918
0.024478
0.210223
0.173326
0.100612
0.083873
0.061915
0.061915
0
0.091742
0.204027
8,641
263
271
32.855513
0.716051
0.138294
0
0.202128
0
0
0.014045
0.003106
0
0
0
0
0
1
0.053191
false
0
0.06383
0
0.18617
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed4a2840446404d2f282a8452d7b98f961fd5554
6,392
py
Python
hi-ml-histopathology/src/histopathology/preprocessing/tiling.py
kumar-pratik/hi-ml
a108cf4ea244a76127adedc0ca60f0a5afdfb3e8
[ "MIT" ]
402
2020-09-22T16:38:16.000Z
2022-03-30T09:56:03.000Z
hi-ml-histopathology/src/histopathology/preprocessing/tiling.py
kumar-pratik/hi-ml
a108cf4ea244a76127adedc0ca60f0a5afdfb3e8
[ "MIT" ]
259
2020-09-23T09:32:33.000Z
2022-03-30T18:15:01.000Z
hi-ml-histopathology/src/histopathology/preprocessing/tiling.py
kumar-pratik/hi-ml
a108cf4ea244a76127adedc0ca60f0a5afdfb3e8
[ "MIT" ]
112
2020-09-23T00:12:58.000Z
2022-03-31T07:39:55.000Z
# ------------------------------------------------------------------------------------------ # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License (MIT). See LICENSE in the repo root for license information. # -------------------------------------------------------------------...
49.550388
110
0.661608
930
6,392
4.35914
0.22043
0.078934
0.01554
0.019734
0.308584
0.261223
0.236063
0.230883
0.225456
0.225456
0
0.010277
0.208385
6,392
128
111
49.9375
0.790909
0.442897
0
0.153846
0
0
0.028454
0
0
0
0
0
0
1
0.061538
false
0
0.030769
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed4a5900145229cd2e22ae9792f8a8881bfd83d3
9,697
py
Python
miniapp/miniapp/hartreefock/hf.py
savcardamone/tyche-
ea89edea89a607291e4fe0ba738d75522f54dc1a
[ "MIT" ]
null
null
null
miniapp/miniapp/hartreefock/hf.py
savcardamone/tyche-
ea89edea89a607291e4fe0ba738d75522f54dc1a
[ "MIT" ]
1
2018-12-28T13:30:16.000Z
2018-12-29T10:30:33.000Z
miniapp/miniapp/hartreefock/hf.py
savcardamone/tyche
ea89edea89a607291e4fe0ba738d75522f54dc1a
[ "MIT" ]
null
null
null
from math import pi from numpy import array, ndarray, divide, sqrt, argsort, sort, diag, trace from numpy.linalg import eig, norm class HartreeFock(): zeta = array([38.474970, 5.782948, 1.242567, 0.298073]) num_aos = len(zeta) num_mos = 0 energy_tolerance = 0.0001; density_tolerance = 0.001 ...
39.579592
131
0.607301
1,313
9,697
4.252856
0.156893
0.055158
0.057307
0.05265
0.350287
0.310888
0.250537
0.189828
0.153653
0.121418
0
0.011183
0.299165
9,697
245
132
39.579592
0.810477
0.120553
0
0.155405
0
0
0.053734
0
0
0
0
0
0
1
0.101351
false
0
0.02027
0.027027
0.263514
0.081081
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed4a99de0c0a371040dd37f7fc6fad45e488b616
132
py
Python
6.爬取豆瓣排行榜电影数据(含GUI界面版)/main.py
shengqiangzhang/examples-of-web-crawlers
89eb6c169b8824a6a9bc78e7a32e064d33560aa7
[ "MIT" ]
12,023
2019-03-13T08:53:27.000Z
2022-03-31T21:31:15.000Z
6.爬取豆瓣排行榜电影数据(含GUI界面版)/main.py
shengqiangzhang/examples-of-web-crawlers
89eb6c169b8824a6a9bc78e7a32e064d33560aa7
[ "MIT" ]
100
2019-03-14T04:09:12.000Z
2022-03-22T14:24:11.000Z
6.爬取豆瓣排行榜电影数据(含GUI界面版)/main.py
shengqiangzhang/examples-of-web-crawlers
89eb6c169b8824a6a9bc78e7a32e064d33560aa7
[ "MIT" ]
3,693
2019-03-13T08:21:22.000Z
2022-03-31T16:07:08.000Z
# -*- coding:utf-8 -*- from uiObject import uiObject # main入口 if __name__ == '__main__': ui = uiObject() ui.ui_process()
13.2
29
0.621212
16
132
4.5625
0.75
0
0
0
0
0
0
0
0
0
0
0.009709
0.219697
132
10
30
13.2
0.699029
0.204545
0
0
0
0
0.07767
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ed4ce61eb4af04f3704ae96a5870d43583535a63
524
py
Python
photos/models.py
eude313/vault
d3e24cf01d15de94244b7d2e80316355a0827f74
[ "MIT" ]
null
null
null
photos/models.py
eude313/vault
d3e24cf01d15de94244b7d2e80316355a0827f74
[ "MIT" ]
null
null
null
photos/models.py
eude313/vault
d3e24cf01d15de94244b7d2e80316355a0827f74
[ "MIT" ]
null
null
null
from django.db import models from cloudinary.models import CloudinaryField # Create your models here. class Category(models.Model): name = models.CharField( max_length=200, null=False, blank=False ) def __str__(self): return self.name class Photo(models.Model): category = models.ForeignKey(...
29.111111
94
0.71374
64
524
5.671875
0.546875
0.077135
0.055096
0.088154
0.110193
0
0
0
0
0
0
0.007026
0.185115
524
18
95
29.111111
0.843091
0.045802
0
0.166667
0
0
0.01002
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
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
1
0
0
0
1
ed4d3cea76d6d1815b54c52a975d47ddfb5f8c99
7,496
py
Python
server/djangoapp/restapis.py
christiansencq/ibm_capstone
d445fd40c0267be0948a5d85e9d43828b908641c
[ "Apache-2.0" ]
null
null
null
server/djangoapp/restapis.py
christiansencq/ibm_capstone
d445fd40c0267be0948a5d85e9d43828b908641c
[ "Apache-2.0" ]
null
null
null
server/djangoapp/restapis.py
christiansencq/ibm_capstone
d445fd40c0267be0948a5d85e9d43828b908641c
[ "Apache-2.0" ]
null
null
null
import requests import json # import related models here from .models import CarDealer, DealerReview from requests.auth import HTTPBasicAuth import logging logger = logging.getLogger(__name__) # Create a `get_request` to make HTTP GET requests # e.g., response = requests.get(url, params=params, headers={'Content-Type...
46.271605
140
0.603522
939
7,496
4.654952
0.13099
0.038435
0.048044
0.02059
0.58911
0.555022
0.535575
0.515214
0.48021
0.470373
0
0.00218
0.265608
7,496
161
141
46.559006
0.791826
0.324707
0
0.524752
0
0
0.105221
0
0
0
0
0
0
1
0.059406
false
0
0.049505
0
0.168317
0.079208
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed4d8f444cbb7eba10514b86dbcd28fb80cd5824
2,035
py
Python
examples/python/upload.py
oslokommune/okdata-data-uploader
fc006ae90440b267613260bba90235799bf0cf6e
[ "MIT" ]
null
null
null
examples/python/upload.py
oslokommune/okdata-data-uploader
fc006ae90440b267613260bba90235799bf0cf6e
[ "MIT" ]
null
null
null
examples/python/upload.py
oslokommune/okdata-data-uploader
fc006ae90440b267613260bba90235799bf0cf6e
[ "MIT" ]
null
null
null
import logging from configparser import ConfigParser from sdk.data_uploader import DataUploader logging.basicConfig(level=logging.INFO) log = logging.getLogger() config = ConfigParser() config.read("config.ini") ##### # Datasets to be added to metadata API datasetData = { "title": "Test", "description": "Tes...
30.373134
86
0.678624
234
2,035
5.897436
0.538462
0.025362
0.045652
0.011594
0
0
0
0
0
0
0
0.039262
0.173956
2,035
66
87
30.833333
0.781678
0.121867
0
0
0
0
0.348588
0.084181
0
0
0
0
0
1
0
false
0
0.058824
0
0.058824
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed4da4c3e62ea1a20080eade8fbb9743d55cdd88
3,558
py
Python
doc/examples.py
Enerccio/mahjong
903505a7886c31845dfa6b3f54c936a4feb29e6e
[ "MIT" ]
254
2017-09-20T15:02:20.000Z
2022-03-28T11:33:28.000Z
doc/examples.py
Enerccio/mahjong
903505a7886c31845dfa6b3f54c936a4feb29e6e
[ "MIT" ]
39
2017-09-23T14:28:36.000Z
2022-01-06T08:41:57.000Z
doc/examples.py
Enerccio/mahjong
903505a7886c31845dfa6b3f54c936a4feb29e6e
[ "MIT" ]
38
2017-10-19T09:06:53.000Z
2022-03-15T05:08:22.000Z
from mahjong.hand_calculating.hand import HandCalculator from mahjong.meld import Meld from mahjong.hand_calculating.hand_config import HandConfig, OptionalRules from mahjong.shanten import Shanten from mahjong.tile import TilesConverter calculator = HandCalculator() # useful helper def print_hand_result(hand_result...
35.227723
133
0.537943
355
3,558
5.132394
0.261972
0.1427
0.15697
0.164654
0.493963
0.403952
0.384193
0.322173
0.322173
0.236004
0
0.039509
0.153457
3,558
100
134
35.58
0.565405
0.13575
0
0.282609
0
0
0.032992
0
0
0
0
0
0
1
0.021739
false
0
0.108696
0
0.130435
0.26087
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
ed4e6dc26f15763248de005c84025114cd89fa6c
436
py
Python
src/infi/mount_utils/solaris/mounter.py
Infinidat/mount-utils
e4e08e21c278a2391494a7b9d9d7efdaeb393a9c
[ "BSD-3-Clause" ]
null
null
null
src/infi/mount_utils/solaris/mounter.py
Infinidat/mount-utils
e4e08e21c278a2391494a7b9d9d7efdaeb393a9c
[ "BSD-3-Clause" ]
null
null
null
src/infi/mount_utils/solaris/mounter.py
Infinidat/mount-utils
e4e08e21c278a2391494a7b9d9d7efdaeb393a9c
[ "BSD-3-Clause" ]
null
null
null
from ..base.mounter import MounterMixin, execute_mount class SolarisMounterMixin(MounterMixin): def _get_fstab_path(self): return "/etc/fstab" def _get_entry_format(self, entry): return entry.get_format_solaris() def mount_entry(self, entry): args = ["-F", entry.get_typename(), en...
31.142857
84
0.694954
54
436
5.314815
0.481481
0.111498
0
0
0
0
0
0
0
0
0
0
0.188073
436
13
85
33.538462
0.810734
0
0
0
0
0
0.027523
0
0
0
0
0
0
1
0.3
false
0
0.1
0.2
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
ed4edc151ca26cac5de8e4d708a84551964ac057
14,366
py
Python
sdk/python/pulumi_oci/database/get_external_non_container_database.py
EladGabay/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
5
2021-08-17T11:14:46.000Z
2021-12-31T02:07:03.000Z
sdk/python/pulumi_oci/database/get_external_non_container_database.py
pulumi-oci/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
1
2021-09-06T11:21:29.000Z
2021-09-06T11:21:29.000Z
sdk/python/pulumi_oci/database/get_external_non_container_database.py
pulumi-oci/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
2
2021-08-24T23:31:30.000Z
2022-01-02T19:26:54.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
45.034483
457
0.69748
1,662
14,366
5.711191
0.127557
0.028972
0.052676
0.073746
0.397282
0.263064
0.170881
0.136115
0.0748
0.0748
0
0.000088
0.212864
14,366
318
458
45.176101
0.839317
0.188013
0
0.105263
1
0
0.191274
0.071045
0
0
0
0
0
1
0.110048
false
0
0.028708
0.004785
0.253589
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
ed4f8a612b9b05faf17087ad729a1b5925503103
1,358
py
Python
setup.py
xmedius/xmedius-mailrelayserver
44bb55c4b543e96bb23a45499d281c1bbab18abf
[ "MIT" ]
null
null
null
setup.py
xmedius/xmedius-mailrelayserver
44bb55c4b543e96bb23a45499d281c1bbab18abf
[ "MIT" ]
null
null
null
setup.py
xmedius/xmedius-mailrelayserver
44bb55c4b543e96bb23a45499d281c1bbab18abf
[ "MIT" ]
null
null
null
from setuptools import setup from setuptools.command.install import install class PostInstallCommand(install): user_options = install.user_options + [ ('noservice', None, None), ] def initialize_options(self): install.initialize_options(self) self.noservice = None def finalize...
30.863636
104
0.667158
138
1,358
6.485507
0.586957
0.049162
0.040223
0.046927
0.096089
0.096089
0
0
0
0
0
0.006542
0.212077
1,358
43
105
31.581395
0.829907
0
0
0
0
0
0.343405
0.048637
0
0
0
0
0
1
0.081081
false
0
0.081081
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
0
0
0
0
0
1
0
ed502bad0b09f0685ca1ff615fe9d8b7f8ad7287
1,554
py
Python
143.py
tsbxmw/leetcode
e751311b8b5f2769874351717a22c35c19b48a36
[ "MIT" ]
null
null
null
143.py
tsbxmw/leetcode
e751311b8b5f2769874351717a22c35c19b48a36
[ "MIT" ]
null
null
null
143.py
tsbxmw/leetcode
e751311b8b5f2769874351717a22c35c19b48a36
[ "MIT" ]
null
null
null
# 143. 重排链表 # 给定一个单链表 L:L0→L1→…→Ln-1→Ln , # 将其重新排列后变为: L0→Ln→L1→Ln-1→L2→Ln-2→… # 你不能只是单纯的改变节点内部的值,而是需要实际的进行节点交换。 # 示例 1: # 给定链表 1->2->3->4, 重新排列为 1->4->2->3. # 示例 2: # 给定链表 1->2->3->4->5, 重新排列为 1->5->2->4->3. # Definition for singly-linked list. # class ListNode: # def __init__(self, x): # ...
24.28125
62
0.462677
209
1,554
3.478469
0.301435
0.077029
0.060523
0.016506
0.233838
0.203576
0.203576
0.203576
0.203576
0.203576
0
0.050647
0.402831
1,554
64
63
24.28125
0.715517
0.441441
0
0.291667
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed50775b4eac2d767b8b5f1e618533d64da3321f
1,882
py
Python
CraftProtocol/NBT/NBTTagList.py
Toranktto/CraftProtocol
a6f4a67756c3868820ab76df5e148d76b020d990
[ "MIT" ]
21
2018-05-12T20:18:02.000Z
2022-02-18T17:33:50.000Z
CraftProtocol/NBT/NBTTagList.py
Toranktto/CraftProtocol
a6f4a67756c3868820ab76df5e148d76b020d990
[ "MIT" ]
1
2018-06-23T09:13:39.000Z
2018-06-27T01:22:27.000Z
CraftProtocol/NBT/NBTTagList.py
Toranktto/CraftProtocol
a6f4a67756c3868820ab76df5e148d76b020d990
[ "MIT" ]
2
2018-05-19T21:36:00.000Z
2020-10-02T03:23:13.000Z
#!/usr/bin/env python from CraftProtocol.NBT.NBTBase import NBTBase from CraftProtocol.NBT.NBTProvider import NBTProvider from CraftProtocol.StreamIO import StreamIO class NBTTagList(NBTBase): TYPE_ID = 0x09 def __init__(self, tag_type, values=None): NBTBase.__init__(self) if values is None...
25.093333
88
0.643996
245
1,882
4.469388
0.220408
0.115068
0.090411
0.054795
0.150685
0.150685
0.150685
0.150685
0.122374
0.122374
0
0.002135
0.253454
1,882
74
89
25.432432
0.777224
0.010627
0
0.122449
0
0
0.020419
0
0
0
0.002149
0
0.061224
1
0.265306
false
0
0.061224
0.122449
0.510204
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ed5085f9be9c98ff85fd3851495ed53a851d06cd
25,960
py
Python
examples/0b02b172-ad67-449b-b4a2-ff645b28c508.py
lapaniku/GAS
e49ce302689af683da744cd172e0359c0ba0af86
[ "MIT" ]
37
2021-12-12T17:36:24.000Z
2022-03-12T15:46:56.000Z
examples/0b02b172-ad67-449b-b4a2-ff645b28c508.py
lapaniku/GAS
e49ce302689af683da744cd172e0359c0ba0af86
[ "MIT" ]
1
2021-12-19T12:39:10.000Z
2021-12-19T12:39:10.000Z
examples/0b02b172-ad67-449b-b4a2-ff645b28c508.py
lapaniku/GAS
e49ce302689af683da744cd172e0359c0ba0af86
[ "MIT" ]
3
2021-12-17T17:29:35.000Z
2022-03-12T15:26:49.000Z
# This program was generated by "Generative Art Synthesizer" # Generation date: 2021-11-28 09:21:40 UTC # GAS change date: 2021-11-28 09:20:21 UTC # GAS md5 hash: ad55481e87ca5a7e9a8e92cd336d1cad # Python version: 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 18:58:18) [MSC v.1900 64 bit (AMD64)] # For more informat...
64.9
346
0.689908
3,816
25,960
4.669025
0.211478
0.064826
0.088399
0.01145
0.135545
0.063535
0.037492
0.028512
0.023573
0.018409
0
0.536433
0.130894
25,960
399
347
65.062657
0.253258
0.022265
0
0.058496
1
0
0.002918
0
0
0
0
0
0
1
0.030641
false
0
0.008357
0
0.069638
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ed510f09d28e1fdb65727ee044b934fd67984f9c
2,555
py
Python
onmt/bin/build_vocab.py
comydream/OpenNMT-py
2f3c810069ca03b752d9886782648e576b39a06d
[ "MIT" ]
1
2021-10-01T15:03:35.000Z
2021-10-01T15:03:35.000Z
onmt/bin/build_vocab.py
urialon/OpenNMT-py
bdca05a3fac8f864b21c86a8ad03c09895212e70
[ "MIT" ]
null
null
null
onmt/bin/build_vocab.py
urialon/OpenNMT-py
bdca05a3fac8f864b21c86a8ad03c09895212e70
[ "MIT" ]
null
null
null
#!/usr/bin/env python """Get vocabulary coutings from transformed corpora samples.""" from onmt.utils.logging import init_logger from onmt.utils.misc import set_random_seed, check_path from onmt.utils.parse import ArgumentParser from onmt.opts import dynamic_prepare_opts from onmt.inputters.corpus import build_vocab fr...
33.618421
77
0.706849
366
2,555
4.661202
0.336066
0.046893
0.032239
0.044549
0.126612
0.100821
0.038687
0
0
0
0
0.003378
0.189041
2,555
75
78
34.066667
0.819981
0.147162
0
0.042553
0
0
0.120037
0.057917
0
0
0
0
0.021277
1
0.085106
false
0
0.12766
0
0.234043
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed51b4414d9639f63dd9eb5d177b6130aa8d5108
2,756
py
Python
schools3/ml/experiments/feat_pruning_experiment.py
dssg/mlpolicylab_fall20_schools3_public
f8eff4c56e9bada1eb81ddaca03686d7ef53c2c4
[ "MIT" ]
null
null
null
schools3/ml/experiments/feat_pruning_experiment.py
dssg/mlpolicylab_fall20_schools3_public
f8eff4c56e9bada1eb81ddaca03686d7ef53c2c4
[ "MIT" ]
null
null
null
schools3/ml/experiments/feat_pruning_experiment.py
dssg/mlpolicylab_fall20_schools3_public
f8eff4c56e9bada1eb81ddaca03686d7ef53c2c4
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd from schools3.ml.experiments.models_experiment import ModelsExperiment from schools3.data.base.cohort import Cohort from schools3.config import main_config from schools3.config import global_config from schools3.data.datasets.dataset import Dataset from schools3.ml.experiments.fea...
43.746032
123
0.717707
327
2,756
5.810398
0.308869
0.063158
0.036842
0.039474
0.08
0.050526
0.050526
0.050526
0.050526
0
0
0.005051
0.209724
2,756
62
124
44.451613
0.867309
0.061321
0
0.04
0
0
0.010449
0
0
0
0
0
0
1
0.04
false
0
0.3
0
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
0
0
0
0
0
0
0
0
0
0
1
0
ed51e5aefc8aa4c007f752784c838fb5f4f57c1c
2,297
py
Python
network/dataset/image_loading.py
imsb-uke/podometric_u_net
a33afcc186d618889df73c7ab2941dfbb63574ac
[ "MIT" ]
null
null
null
network/dataset/image_loading.py
imsb-uke/podometric_u_net
a33afcc186d618889df73c7ab2941dfbb63574ac
[ "MIT" ]
null
null
null
network/dataset/image_loading.py
imsb-uke/podometric_u_net
a33afcc186d618889df73c7ab2941dfbb63574ac
[ "MIT" ]
null
null
null
import os import numpy as np from skimage.io import imread def get_file_count(paths, image_format='.tif'): total_count = 0 for path in paths: try: path_list = [_ for _ in os.listdir(path) if _.endswith(image_format)] total_count += len(path_list) except OSError: ...
37.048387
124
0.652155
348
2,297
4.103448
0.241379
0.039216
0.04902
0.058824
0.436975
0.298319
0.19888
0.19888
0.131653
0.106443
0
0.015437
0.238572
2,297
62
125
37.048387
0.801029
0.053548
0
0.085106
0
0.021277
0.117566
0
0
0
0
0
0
1
0.106383
false
0
0.06383
0
0.276596
0.021277
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed52fe7003cd3391400a3e6ca8a3b67edfc17d59
6,769
py
Python
series/simple/numeric_series.py
kefir/snakee
a17734d4b2d7dfd3e6c7b195baa128fbc84d197b
[ "MIT" ]
null
null
null
series/simple/numeric_series.py
kefir/snakee
a17734d4b2d7dfd3e6c7b195baa128fbc84d197b
[ "MIT" ]
null
null
null
series/simple/numeric_series.py
kefir/snakee
a17734d4b2d7dfd3e6c7b195baa128fbc84d197b
[ "MIT" ]
null
null
null
from typing import Optional, Callable try: # Assume we're a sub-module in a package. from series import series_classes as sc from utils import numeric as nm except ImportError: # Apparently no higher-level package has been imported, fall back to a local import. from .. import series_classes as sc fro...
34.186869
116
0.601418
850
6,769
4.571765
0.177647
0.026763
0.020072
0.012352
0.289243
0.235203
0.170612
0.161091
0.092126
0.067422
0
0.004893
0.30551
6,769
197
117
34.360406
0.82174
0.019796
0
0.113772
0
0
0.006636
0
0
0
0
0
0
1
0.143713
false
0
0.035928
0.047904
0.323353
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed5484913e5b4d8984ea6ca02d8e86830b881e11
4,857
py
Python
app/internal/module/video/database.py
kuropengin/SHINtube-video-api
8a4b068fb95a9a2736b3dba3782dbbbf73815290
[ "MIT" ]
null
null
null
app/internal/module/video/database.py
kuropengin/SHINtube-video-api
8a4b068fb95a9a2736b3dba3782dbbbf73815290
[ "MIT" ]
null
null
null
app/internal/module/video/database.py
kuropengin/SHINtube-video-api
8a4b068fb95a9a2736b3dba3782dbbbf73815290
[ "MIT" ]
null
null
null
import glob import pathlib from .filemanager import filemanager_class class database_class(filemanager_class): def __init__(self): filemanager_class.__init__(self) async def update_info(self, year, cid, vid, title, explanation): # 既存のjsonを読み込み json_file = "/".join([self.video_dir, str...
33.267123
71
0.558369
557
4,857
4.61939
0.136445
0.062184
0.051302
0.04625
0.717062
0.698018
0.688302
0.678197
0.678197
0.678197
0
0.004254
0.322421
4,857
145
72
33.496552
0.777575
0.02656
0
0.713043
0
0
0.104158
0.013152
0
0
0
0
0
1
0.008696
false
0.008696
0.026087
0
0.191304
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ed548c718f56038d0a32759b322ccf9c4f9f5e93
29,735
py
Python
python/OpenGeoTile.py
scoofy/open-geotiling
0b1305d4482d6df46104135662ffe4565f92f9f0
[ "Apache-2.0" ]
null
null
null
python/OpenGeoTile.py
scoofy/open-geotiling
0b1305d4482d6df46104135662ffe4565f92f9f0
[ "Apache-2.0" ]
null
null
null
python/OpenGeoTile.py
scoofy/open-geotiling
0b1305d4482d6df46104135662ffe4565f92f9f0
[ "Apache-2.0" ]
null
null
null
from openlocationcode import openlocationcode as olc from enum import Enum import math, re class TileSize(Enum): ''' An area of 20° x 20°. The side length of this tile varies with its location on the globe, but can be up to approximately 2200km. Tile addresses will be 2 characters long.''' GLOBAL = (2,...
43.535871
150
0.613351
3,453
29,735
5.144802
0.139299
0.026119
0.026738
0.01351
0.404447
0.346411
0.310611
0.283648
0.270532
0.255784
0
0.015501
0.297057
29,735
682
151
43.599707
0.833844
0.210459
0
0.225888
0
0
0.05866
0.013262
0
0
0
0
0
1
0.086294
false
0
0.007614
0.01269
0.215736
0.002538
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed55484ea14f91f98d1615b910fc743371e53922
13,543
py
Python
deep-rl/lib/python2.7/site-packages/OpenGL/arrays/arraydatatype.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
87
2015-04-09T16:57:27.000Z
2022-02-21T13:21:12.000Z
deep-rl/lib/python2.7/site-packages/OpenGL/arrays/arraydatatype.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
47
2015-04-09T21:05:30.000Z
2021-06-22T15:21:18.000Z
deep-rl/lib/python2.7/site-packages/OpenGL/arrays/arraydatatype.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
16
2015-04-09T19:10:22.000Z
2020-07-19T05:41:06.000Z
"""Array data-type implementations (abstraction points for GL array types""" import ctypes import OpenGL from OpenGL.raw.GL import _types from OpenGL import plugins from OpenGL.arrays import formathandler, _arrayconstants as GL_1_1 from OpenGL import logs _log = logs.getLog( 'OpenGL.arrays.arraydatatype' ) from OpenG...
44.844371
100
0.616333
1,442
13,543
5.597087
0.180999
0.009664
0.012886
0.018585
0.164911
0.112502
0.072606
0.029488
0.008425
0
0
0.00826
0.302739
13,543
301
101
44.993355
0.846447
0.159197
0
0.166667
0
0
0.017495
0.002486
0
0
0
0.003322
0
1
0.081081
false
0
0.045045
0
0.509009
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
ed57f1712b86394159992dc11fd79688181d493e
13,851
bzl
Python
tensorflow_probability/python/build_defs.bzl
jbergmanster/probability
e15b307066e7485b8fe9faf3d289c739ab8d3806
[ "Apache-2.0" ]
null
null
null
tensorflow_probability/python/build_defs.bzl
jbergmanster/probability
e15b307066e7485b8fe9faf3d289c739ab8d3806
[ "Apache-2.0" ]
null
null
null
tensorflow_probability/python/build_defs.bzl
jbergmanster/probability
e15b307066e7485b8fe9faf3d289c739ab8d3806
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 The TensorFlow Probability 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...
35.698454
89
0.608043
1,657
13,851
4.86904
0.176222
0.025905
0.009916
0.016361
0.302429
0.20005
0.146257
0.111304
0.089737
0.064452
0
0.0046
0.27803
13,851
387
90
35.790698
0.8022
0.320121
0
0.28125
0
0
0.104155
0.030918
0
0
0
0
0
1
0.035156
false
0
0.011719
0
0.085938
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed583ccefc13cf5fca32a4b108662e62505e92e1
5,425
py
Python
src/wikidated/wikidata/wikidata_dump.py
lschmelzeisen/wikidata-history-analyzer
8673639b61839d2dca271fbbaf2feb8563b75f2d
[ "ECL-2.0", "Apache-2.0" ]
6
2021-06-10T09:26:44.000Z
2021-07-07T13:49:00.000Z
src/wikidated/wikidata/wikidata_dump.py
lschmelzeisen/wikidata-history-analyzer
8673639b61839d2dca271fbbaf2feb8563b75f2d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/wikidated/wikidata/wikidata_dump.py
lschmelzeisen/wikidata-history-analyzer
8673639b61839d2dca271fbbaf2feb8563b75f2d
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# # Copyright 2021 Lukas Schmelzeisen # # 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 ...
33.487654
87
0.654194
642
5,425
5.325545
0.323988
0.032173
0.028078
0.022814
0.147412
0.118456
0.101784
0.045627
0.022229
0.022229
0
0.010875
0.254194
5,425
161
88
33.695652
0.834157
0.106728
0
0.033898
0
0
0.117233
0.041839
0
0
0
0
0
1
0.042373
false
0
0.127119
0.016949
0.305085
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed58570015c33daeb7f03921904a43571a44e66f
18,726
py
Python
tcapygen/layoutgen.py
Ahrvo-Trading-Systems/tcapy
df8439aa5c754fc9a7fde463c44c489b27112f76
[ "Apache-2.0" ]
189
2020-03-20T17:03:04.000Z
2022-03-30T13:33:27.000Z
tcapygen/layoutgen.py
Ahrvo-Trading-Systems/tcapy
df8439aa5c754fc9a7fde463c44c489b27112f76
[ "Apache-2.0" ]
4
2020-06-06T14:58:21.000Z
2022-03-10T22:31:15.000Z
tcapygen/layoutgen.py
Ahrvo-Trading-Systems/tcapy
df8439aa5c754fc9a7fde463c44c489b27112f76
[ "Apache-2.0" ]
60
2020-03-20T17:06:56.000Z
2022-03-26T02:48:58.000Z
from __future__ import division, print_function __author__ = 'saeedamen' # Saeed Amen / saeed@cuemacro.com # # Copyright 2017 Cuemacro Ltd. - http//www.cuemacro.com / @cuemacro # # See the License for the specific language governing permissions and limitations under the License. # ## Web server components import da...
58.51875
154
0.595215
2,030
18,726
5.20936
0.139409
0.039716
0.029314
0.04104
0.618345
0.518676
0.468085
0.425816
0.40766
0.385437
0
0.006055
0.268023
18,726
319
155
58.702194
0.765448
0.090035
0
0.283784
0
0
0.24997
0.097548
0
0
0
0
0
1
0.013514
false
0
0.04955
0
0.072072
0.004505
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed585ed9b9e64b5cd7e7fef27facda2ab0843b74
4,320
py
Python
tests/molecular/molecules/molecule/fixtures/cof/periodic_kagome.py
andrewtarzia/stk
1ac2ecbb5c9940fe49ce04cbf5603fd7538c475a
[ "MIT" ]
21
2018-04-12T16:25:24.000Z
2022-02-14T23:05:43.000Z
tests/molecular/molecules/molecule/fixtures/cof/periodic_kagome.py
JelfsMaterialsGroup/stk
0d3e1b0207aa6fa4d4d5ee8dfe3a29561abb08a2
[ "MIT" ]
8
2019-03-19T12:36:36.000Z
2020-11-11T12:46:00.000Z
tests/molecular/molecules/molecule/fixtures/cof/periodic_kagome.py
supramolecular-toolkit/stk
0d3e1b0207aa6fa4d4d5ee8dfe3a29561abb08a2
[ "MIT" ]
5
2018-08-07T13:00:16.000Z
2021-11-01T00:55:10.000Z
import pytest import stk from ...case_data import CaseData @pytest.fixture( scope='session', params=( lambda name: CaseData( molecule=stk.ConstructedMolecule( topology_graph=stk.cof.PeriodicKagome( building_blocks=( stk.BuildingB...
45.473684
71
0.344907
682
4,320
2.164223
0.140762
0.075881
0.093496
0.02168
0.867209
0.867209
0.867209
0.867209
0.867209
0.867209
0
0.145964
0.371991
4,320
94
72
45.957447
0.398083
0
0
0.868132
0
0.373626
0.43125
0.417593
0
0
0
0
0
1
0.010989
false
0
0.032967
0.010989
0.054945
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
1
0
0
1
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
10
ed587bf56577619d8ec39ef62825f11e9ce7e776
3,511
py
Python
projects/MAE/utils/weight_convert.py
Oneflow-Inc/libai
e473bd3962f07b1e37232d2be39c8257df0ec0f3
[ "Apache-2.0" ]
55
2021-12-10T08:47:06.000Z
2022-03-28T09:02:15.000Z
projects/MAE/utils/weight_convert.py
Oneflow-Inc/libai
e473bd3962f07b1e37232d2be39c8257df0ec0f3
[ "Apache-2.0" ]
106
2021-11-03T05:16:45.000Z
2022-03-31T06:16:23.000Z
projects/MAE/utils/weight_convert.py
Oneflow-Inc/libai
e473bd3962f07b1e37232d2be39c8257df0ec0f3
[ "Apache-2.0" ]
13
2021-12-29T08:12:08.000Z
2022-03-28T06:59:45.000Z
# coding=utf-8 # Copyright 2021 The OneFlow Authors. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
32.509259
95
0.656508
494
3,511
4.520243
0.3583
0.037618
0.025078
0.034483
0.337662
0.211375
0.172862
0.149575
0.149575
0.149575
0
0.011606
0.239248
3,511
107
96
32.813084
0.82441
0.312731
0
0.103448
0
0
0.143539
0.035559
0
0
0
0
0
1
0.068966
false
0
0.051724
0
0.189655
0.017241
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed5a1b538137819cd768e00bc5a8aa7705765275
37
py
Python
dthm4kaiako/events/__init__.py
taskmaker1/dthm4kaiako
681babc10b3223b5ae7fdf19b98c53d2bef4ea1a
[ "MIT" ]
3
2018-12-10T07:03:02.000Z
2021-04-12T02:18:30.000Z
dthm4kaiako/events/__init__.py
taskmaker1/dthm4kaiako
681babc10b3223b5ae7fdf19b98c53d2bef4ea1a
[ "MIT" ]
566
2018-09-30T02:54:28.000Z
2022-03-28T01:20:01.000Z
dthm4kaiako/events/__init__.py
taskmaker1/dthm4kaiako
681babc10b3223b5ae7fdf19b98c53d2bef4ea1a
[ "MIT" ]
3
2019-04-04T19:53:39.000Z
2021-05-16T02:04:46.000Z
"""Module for events application."""
18.5
36
0.702703
4
37
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.108108
37
1
37
37
0.787879
0.810811
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
5
ed5a4c9715fe0f81c7675d25ae101b58391d1929
8,462
py
Python
spot/level1.py
K0gata/SGLI_Python_output_tool
1368e0408edd737a5109d0523db6c147faa80b97
[ "MIT" ]
1
2020-08-04T04:17:49.000Z
2020-08-04T04:17:49.000Z
spot/level1.py
K0gata/SGLI_Python_Open_Tool
1368e0408edd737a5109d0523db6c147faa80b97
[ "MIT" ]
null
null
null
spot/level1.py
K0gata/SGLI_Python_Open_Tool
1368e0408edd737a5109d0523db6c147faa80b97
[ "MIT" ]
null
null
null
import numpy as np import logging from decimal import Decimal, ROUND_HALF_UP from abc import ABC, abstractmethod, abstractproperty from spot.utility import bilin_2d from spot.config import PROJ_TYPE # ============================= # Level-1 template class # ============================= class L1Interface(ABC): ...
34.538776
120
0.610021
1,113
8,462
4.337826
0.150045
0.052196
0.043082
0.045775
0.600249
0.547639
0.490472
0.439105
0.36599
0.335128
0
0.013121
0.243441
8,462
244
121
34.680328
0.741018
0.072205
0
0.462963
0
0
0.136852
0.017378
0
0
0.000767
0
0
1
0.117284
false
0
0.037037
0.024691
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed5a7dc4339280b02e5e632da64cfe3100fda887
345
py
Python
168. Excel Sheet Column Title.py
Alvin1994/leetcode-python3-
ba2bde873c925554cc39f2bd13be81967713477d
[ "Apache-2.0" ]
null
null
null
168. Excel Sheet Column Title.py
Alvin1994/leetcode-python3-
ba2bde873c925554cc39f2bd13be81967713477d
[ "Apache-2.0" ]
null
null
null
168. Excel Sheet Column Title.py
Alvin1994/leetcode-python3-
ba2bde873c925554cc39f2bd13be81967713477d
[ "Apache-2.0" ]
null
null
null
class Solution: # @return a string def convertToTitle(self, n: int) -> str: capitals = [chr(x) for x in range(ord('A'), ord('Z')+1)] result = [] while n > 0: result.insert(0, capitals[(n-1)%len(capitals)]) n = (n-1) % len(capitals) # result.reverse() ...
34.5
64
0.510145
45
345
3.911111
0.6
0.102273
0.056818
0.147727
0
0
0
0
0
0
0
0.021186
0.315942
345
10
65
34.5
0.724576
0.095652
0
0
0
0
0.006452
0
0
0
0
0
0
1
0.125
false
0
0
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed5ab9e7476a3e24312d9ef871509f4e43e86312
18,788
py
Python
devil/devil/utils/cmd_helper.py
Martijnve23/catapult
5c63b19d221af6a12889e8727acc85d93892cab7
[ "BSD-3-Clause" ]
1,894
2015-04-17T18:29:53.000Z
2022-03-28T22:41:06.000Z
devil/devil/utils/cmd_helper.py
Martijnve23/catapult
5c63b19d221af6a12889e8727acc85d93892cab7
[ "BSD-3-Clause" ]
4,640
2015-07-08T16:19:08.000Z
2019-12-02T15:01:27.000Z
infra/services/android_docker/third_party/devil/utils/cmd_helper.py
NDevTK/chromium-infra
d38e088e158d81f7f2065a38aa1ea1894f735ec4
[ "BSD-3-Clause" ]
698
2015-06-02T19:18:35.000Z
2022-03-29T16:57:15.000Z
# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """A wrapper for subprocess to make calling shell commands easier.""" import codecs import logging import os import pipes import select import signal imp...
31.10596
80
0.64951
2,518
18,788
4.753376
0.175139
0.024814
0.009775
0.007519
0.438884
0.406884
0.37405
0.36135
0.349319
0.329769
0
0.003368
0.27294
18,788
603
81
31.157546
0.87284
0.381627
0
0.450617
0
0
0.031292
0
0
0
0
0.003317
0.003086
1
0.064815
false
0.006173
0.049383
0.003086
0.175926
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed5b25db8eee2bdd6eb22e7c4a9c331775d6cf05
1,651
py
Python
services/server/server/apps/checkout/migrations/0001_initial.py
AyanSamanta23/moni-moni
8e8aa4edf4cd2e2b005f6dbe8c885ecc791e6a2b
[ "MIT" ]
null
null
null
services/server/server/apps/checkout/migrations/0001_initial.py
AyanSamanta23/moni-moni
8e8aa4edf4cd2e2b005f6dbe8c885ecc791e6a2b
[ "MIT" ]
null
null
null
services/server/server/apps/checkout/migrations/0001_initial.py
AyanSamanta23/moni-moni
8e8aa4edf4cd2e2b005f6dbe8c885ecc791e6a2b
[ "MIT" ]
null
null
null
# Generated by Django 4.0.2 on 2022-02-26 15:52 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='FundingOptions', fields=[ ('id', models.Big...
40.268293
142
0.59358
161
1,651
5.875776
0.391304
0.127907
0.084567
0.100423
0.432347
0.432347
0.432347
0.432347
0.432347
0.432347
0
0.026823
0.277408
1,651
40
143
41.275
0.766136
0.027256
0
0.363636
1
0
0.208229
0
0
0
0
0
0
1
0
false
0
0.030303
0
0.151515
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ed5b5860c856a4418e7eeb1cf777cb4c10722142
2,845
py
Python
api/to_astm.py
urchinpro/L2-forms
37f33386984efbb2d1e92c73d915256247801109
[ "MIT" ]
null
null
null
api/to_astm.py
urchinpro/L2-forms
37f33386984efbb2d1e92c73d915256247801109
[ "MIT" ]
null
null
null
api/to_astm.py
urchinpro/L2-forms
37f33386984efbb2d1e92c73d915256247801109
[ "MIT" ]
null
null
null
import itertools from astm import codec from collections import defaultdict from django.utils import timezone import directions.models as directions import directory.models as directory import api.models as api import simplejson as json def get_astm_header() -> list: return ['H|\\^&', None, None, ['1', '2.00'], N...
34.277108
138
0.636555
372
2,845
4.755376
0.247312
0.049746
0.033917
0.027134
0.308649
0.246467
0.196721
0.196721
0.163934
0.091577
0
0.007404
0.240422
2,845
82
139
34.695122
0.811199
0
0
0.313433
0
0
0.013357
0
0
0
0
0
0
1
0.104478
false
0
0.119403
0.059701
0.328358
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed5bad05b400253943df833d896315c0be535899
19,288
py
Python
test/unit/test_som_rom_parser.py
CospanDesign/nysa
ffe07f0b8fe2f6217e7a862d89b80f1b17163be9
[ "MIT" ]
15
2015-08-31T20:50:39.000Z
2022-03-13T08:56:39.000Z
test/unit/test_som_rom_parser.py
CospanDesign/nysa
ffe07f0b8fe2f6217e7a862d89b80f1b17163be9
[ "MIT" ]
5
2015-05-02T16:48:57.000Z
2017-06-15T16:25:34.000Z
test/unit/test_som_rom_parser.py
CospanDesign/nysa
ffe07f0b8fe2f6217e7a862d89b80f1b17163be9
[ "MIT" ]
6
2016-09-02T16:02:13.000Z
2021-06-29T22:29:45.000Z
#!/usr/bin/python import unittest import json import sys import os import string sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir)) from nysa.cbuilder import sdb_component as sdbc from nysa.cbuilder import sdb_object_model as som ...
27.792507
169
0.506999
2,144
19,288
4.387127
0.097015
0.209547
0.23283
0.298533
0.868063
0.824793
0.816606
0.80438
0.792367
0.777801
0
0.287109
0.352084
19,288
693
170
27.832612
0.465552
0.020479
0
0.875399
0
0
0.252728
0
0
0
0.01591
0
0.007987
0
null
null
0.001597
0.023962
null
null
0.039936
0
0
0
null
1
1
1
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
13
ed5bb200d9597641b3d366c18b6bda01b9a7883d
6,119
py
Python
src/TF-gui/tftrain.py
jeetsagar/turbojet
9b17edde0a7e01d0fa320261fbc2734ce53577d2
[ "MIT" ]
null
null
null
src/TF-gui/tftrain.py
jeetsagar/turbojet
9b17edde0a7e01d0fa320261fbc2734ce53577d2
[ "MIT" ]
null
null
null
src/TF-gui/tftrain.py
jeetsagar/turbojet
9b17edde0a7e01d0fa320261fbc2734ce53577d2
[ "MIT" ]
2
2021-05-20T05:47:59.000Z
2021-08-24T07:44:37.000Z
#!python3 import os import pandas as pd import tensorflow as tf from tensorflow.keras import layers os.environ["CUDA_VISIBLE_DEVICES"] = "0" # gpu_devices = tf.config.experimental.list_physical_devices("GPU") # for device in gpu_devices: # tf.config.experimental.set_memory_growth(device, True) def trainModel...
42.493056
120
0.57346
664
6,119
5.161145
0.201807
0.063029
0.099796
0.094543
0.674934
0.657426
0.642836
0.642836
0.642836
0.638751
0
0.032579
0.292695
6,119
143
121
42.79021
0.759242
0.041183
0
0.669492
0
0
0.061263
0.007679
0
0
0
0
0
1
0.033898
false
0
0.033898
0.008475
0.084746
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
ed5bcaf7cb360ac7f0af74528df0eb589224f1a5
5,434
py
Python
library/kong_api.py
sebastienc/ansible-kong-module
c1e7b471a517d1ec99c5629f3729ebc34088bd64
[ "MIT" ]
34
2016-03-09T17:10:52.000Z
2019-12-25T08:31:49.000Z
library/kong_api.py
sebastienc/ansible-kong-module
c1e7b471a517d1ec99c5629f3729ebc34088bd64
[ "MIT" ]
6
2016-05-16T14:09:05.000Z
2018-07-23T21:09:33.000Z
library/kong_api.py
sebastienc/ansible-kong-module
c1e7b471a517d1ec99c5629f3729ebc34088bd64
[ "MIT" ]
23
2016-02-17T12:18:16.000Z
2021-05-06T09:39:35.000Z
#!/usr/bin/python DOCUMENTATION = ''' --- module: kong short_description: Configure a Kong API Gateway ''' EXAMPLES = ''' - name: Register a site kong: kong_admin_uri: http://127.0.0.1:8001/apis/ name: "Mockbin" taget_url: "http://mockbin.com" request_host: "mockbin.com" state: present - ...
30.188889
133
0.597902
662
5,434
4.685801
0.193353
0.034816
0.054803
0.047389
0.303997
0.199871
0.179884
0.088975
0.066409
0.066409
0
0.008947
0.280088
5,434
179
134
30.357542
0.783998
0.006625
0
0.145985
0
0
0.159036
0
0
0
0
0
0
1
0.094891
false
0.072993
0.021898
0.007299
0.211679
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
ed5c8a4473db3e1f846fdf5ddd27546849b2b2e4
3,091
py
Python
src/compas_plotters/artists/lineartist.py
XingxinHE/compas
d2901dbbacdaf4694e5adae78ba8f093f10532bf
[ "MIT" ]
null
null
null
src/compas_plotters/artists/lineartist.py
XingxinHE/compas
d2901dbbacdaf4694e5adae78ba8f093f10532bf
[ "MIT" ]
null
null
null
src/compas_plotters/artists/lineartist.py
XingxinHE/compas
d2901dbbacdaf4694e5adae78ba8f093f10532bf
[ "MIT" ]
null
null
null
from compas_plotters.artists import Artist from matplotlib.lines import Line2D from compas.geometry import intersection_line_box_xy __all__ = ['LineArtist'] class LineArtist(Artist): """""" zorder = 1000 def __init__(self, line, draw_points=False, draw_as_segment=False, linewidth=1.0, linestyle='solid...
36.364706
122
0.530573
363
3,091
4.280992
0.179063
0.066924
0.077864
0.072072
0.574003
0.574003
0.574003
0.574003
0.574003
0.574003
0
0.033486
0.362342
3,091
84
123
36.797619
0.754947
0
0
0.60274
0
0
0.004862
0
0
0
0
0
0
1
0.068493
false
0
0.041096
0.013699
0.164384
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed5d3821ab68704ffac0f126c20afbf8dae239de
1,018
py
Python
plot2d_artificial_dataset1_silvq.py
manome/python-silvq
b50d7486e970fbe9a5b66dd3fc5beb8b5de8ca2f
[ "BSD-3-Clause" ]
null
null
null
plot2d_artificial_dataset1_silvq.py
manome/python-silvq
b50d7486e970fbe9a5b66dd3fc5beb8b5de8ca2f
[ "BSD-3-Clause" ]
null
null
null
plot2d_artificial_dataset1_silvq.py
manome/python-silvq
b50d7486e970fbe9a5b66dd3fc5beb8b5de8ca2f
[ "BSD-3-Clause" ]
null
null
null
# -*- encoding: utf8 -*- import numpy as np from sklearn.metrics import accuracy_score from sklearn.model_selection import train_test_split from lvq import SilvqModel from lvq.utils import plot2d def main(): # Load dataset dataset = np.loadtxt('data/artificial_dataset1.csv', delimiter=',') x = dataset[:...
30.848485
118
0.697446
147
1,018
4.632653
0.496599
0.022026
0.041116
0
0
0
0
0
0
0
0
0.024038
0.182711
1,018
32
119
31.8125
0.794471
0.210216
0
0
0
0
0.10566
0.03522
0
0
0
0
0
1
0.058824
false
0
0.294118
0
0.352941
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed5d69e17539392ab832fd82b04ce64e261c7b31
7,727
py
Python
classification_experiments/Fine-Tuned-ResNet-50/Fine-Tuned-ResNet-50.py
ifr1m/hyper-kvasir
21cc366e78c0cb4e180a26a0e441d6c0d5171da9
[ "CC-BY-4.0" ]
38
2019-12-20T13:17:09.000Z
2022-03-20T08:39:40.000Z
classification_experiments/Fine-Tuned-ResNet-50/Fine-Tuned-ResNet-50.py
smaranjitghose/hyper-kvasir
b4815d151ef90cffa1bbc8fbf97cd091a20ce600
[ "CC-BY-4.0" ]
2
2021-01-12T10:45:13.000Z
2021-01-28T06:14:45.000Z
classification_experiments/Fine-Tuned-ResNet-50/Fine-Tuned-ResNet-50.py
smaranjitghose/hyper-kvasir
b4815d151ef90cffa1bbc8fbf97cd091a20ce600
[ "CC-BY-4.0" ]
11
2020-03-24T17:58:04.000Z
2021-12-09T16:12:16.000Z
#!/usr/bin/env python # coding: utf-8 # In[ ]: #Importing all required libraries # In[ ]: from __future__ import absolute_import, division, print_function, unicode_literals # In[ ]: #Checking for correct cuda and tf versions from tensorflow.python.platform import build_info as tf_build_info print(tf_build_in...
21.889518
102
0.666235
1,036
7,727
4.765444
0.237452
0.023699
0.017014
0.013774
0.342718
0.286409
0.209034
0.169739
0.169739
0.152724
0
0.013114
0.220396
7,727
352
103
21.951705
0.806441
0.14197
0
0.253247
0
0
0.098203
0.016443
0
0
0
0
0
1
0
false
0
0.116883
0
0.116883
0.058442
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed5e905c814c4d72273c16c39c47e06ae62fc1f0
897
gyp
Python
tools/android/android_tools.gyp
SlimKatLegacy/android_external_chromium_org
ee480ef5039d7c561fc66ccf52169ead186f1bea
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-03-04T02:36:53.000Z
2016-06-25T11:22:17.000Z
tools/android/android_tools.gyp
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
tools/android/android_tools.gyp
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
4
2015-02-09T08:49:30.000Z
2017-08-26T02:03:34.000Z
# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'targets': [ # Intermediate target grouping the android tools needed to run native # unittests and instrumentation test apks. { 'ta...
25.628571
73
0.596433
94
897
5.585106
0.595745
0.057143
0.114286
0
0
0
0
0
0
0
0
0.013761
0.270903
897
34
74
26.382353
0.788991
0.298774
0
0.357143
0
0
0.536116
0.325843
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
ed5f32dd2cd9143c086d6a609f05220bf9f92fde
12,380
py
Python
test/functional/fantasygold_opcall.py
FantasyGold/FantasyGold-Core
afff8871e770045e468e2f536ede9db0dff889d5
[ "MIT" ]
13
2018-04-30T21:43:40.000Z
2020-12-07T11:06:47.000Z
test/functional/fantasygold_opcall.py
donoel2/FantasyGold-Core
afff8871e770045e468e2f536ede9db0dff889d5
[ "MIT" ]
4
2018-05-10T00:18:18.000Z
2019-07-08T23:12:54.000Z
test/functional/fantasygold_opcall.py
donoel2/FantasyGold-Core
afff8871e770045e468e2f536ede9db0dff889d5
[ "MIT" ]
13
2018-04-30T17:41:54.000Z
2020-12-08T18:24:06.000Z
#!/usr/bin/env python3 # Copyright (c) 2015-2016 The Bitcoin Core developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. from test_framework.test_framework import BitcoinTestFramework from test_framework.util import * from tes...
57.581395
689
0.714943
1,640
12,380
5.10061
0.152439
0.030126
0.025822
0.040167
0.634429
0.59474
0.564854
0.532337
0.496234
0.478542
0
0.102193
0.185864
12,380
215
690
57.581395
0.727751
0.13853
0
0.302013
0
0
0.159123
0.059588
0
0
0.002087
0
0.04698
1
0.114094
false
0.006711
0.04698
0
0.167785
0.09396
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed5fdee808e9a889711f8e8007e05b2a81263072
1,883
py
Python
intake_sklearn/source.py
AlbertDeFusco/intake-sklearn
6cd0e11b26703712eb338032518e5c55b725c48f
[ "BSD-3-Clause" ]
1
2022-02-23T09:00:38.000Z
2022-02-23T09:00:38.000Z
intake_sklearn/source.py
AlbertDeFusco/intake-sklearn
6cd0e11b26703712eb338032518e5c55b725c48f
[ "BSD-3-Clause" ]
1
2019-10-14T12:25:26.000Z
2019-10-25T13:55:59.000Z
intake_sklearn/source.py
AlbertDeFusco/intake-sklearn
6cd0e11b26703712eb338032518e5c55b725c48f
[ "BSD-3-Clause" ]
1
2021-07-28T17:49:36.000Z
2021-07-28T17:49:36.000Z
from intake.source.base import DataSource, Schema import joblib import fsspec import sklearn import re from . import __version__ class SklearnModelSource(DataSource): container = 'python' name = 'sklearn' version = __version__ partition_access = False def __init__(self, urlpath, storage_options=N...
27.691176
89
0.591609
208
1,883
5.086538
0.461538
0.119093
0.05104
0.082231
0.20794
0.126654
0
0
0
0
0
0.003762
0.294211
1,883
67
90
28.104478
0.792325
0.123739
0
0
0
0
0.142676
0.032974
0
0
0
0
0
1
0.097561
false
0
0.146341
0
0.439024
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed607bad1d48fdf5da41de44d6ec206f2716afe4
4,915
py
Python
jedi/evaluate/dynamic.py
hatamov/jedi
10df0f933f931a8e0e70304d823f6df0dc3000bd
[ "MIT" ]
null
null
null
jedi/evaluate/dynamic.py
hatamov/jedi
10df0f933f931a8e0e70304d823f6df0dc3000bd
[ "MIT" ]
null
null
null
jedi/evaluate/dynamic.py
hatamov/jedi
10df0f933f931a8e0e70304d823f6df0dc3000bd
[ "MIT" ]
null
null
null
""" One of the really important features of |jedi| is to have an option to understand code like this:: def foo(bar): bar. # completion here foo(1) There's no doubt wheter bar is an ``int`` or not, but if there's also a call like ``foo('str')``, what would happen? Well, we'll just show both. Because th...
33.435374
95
0.584334
593
4,915
4.738617
0.32715
0.022776
0.017082
0.015658
0.088968
0.055516
0.02847
0.02847
0
0
0
0.001221
0.333672
4,915
146
96
33.664384
0.856794
0.278739
0
0.139241
0
0
0.02127
0
0
0
0
0
0
1
0.075949
false
0
0.113924
0
0.278481
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed614dd2f553e42b3e9876c261fcf0d4bfb4705a
2,245
py
Python
steamcheck/views.py
moird/linux-game-report
8c3204d857134b0685bc3c213cd9d9e9f9a5f2fd
[ "MIT" ]
null
null
null
steamcheck/views.py
moird/linux-game-report
8c3204d857134b0685bc3c213cd9d9e9f9a5f2fd
[ "MIT" ]
null
null
null
steamcheck/views.py
moird/linux-game-report
8c3204d857134b0685bc3c213cd9d9e9f9a5f2fd
[ "MIT" ]
null
null
null
from steamcheck import app from flask import jsonify, render_template import os import steamapi import json @app.route('/') def index(): return render_template("index.html") @app.route('/report/<name>') def report(name=None): """ This will generate the report based on the users Steam ID. Returns JSON ...
35.634921
111
0.623163
288
2,245
4.736111
0.413194
0.066716
0.047654
0.026393
0.036657
0
0
0
0
0
0
0
0.270379
2,245
63
112
35.634921
0.832723
0.260579
0
0.04878
0
0
0.116625
0.041563
0
0
0
0
0
1
0.04878
false
0
0.121951
0.02439
0.219512
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed6236b34ab65a1e059ca45441d455cec6bd4e90
516
py
Python
validator/delphi_validator/run.py
benjaminysmith/covidcast-indicators
b1474cd68a1497166fefe4beffd4d5ff867b9a61
[ "MIT" ]
null
null
null
validator/delphi_validator/run.py
benjaminysmith/covidcast-indicators
b1474cd68a1497166fefe4beffd4d5ff867b9a61
[ "MIT" ]
null
null
null
validator/delphi_validator/run.py
benjaminysmith/covidcast-indicators
b1474cd68a1497166fefe4beffd4d5ff867b9a61
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Functions to call when running the tool. This module should contain a function called `run_module`, that is executed when the module is run with `python -m delphi_validator`. """ from delphi_utils import read_params from .validate import Validator def run_module(): """Run the validator...
28.666667
75
0.732558
71
516
5.15493
0.577465
0.098361
0
0
0
0
0
0
0
0
0
0.002309
0.160853
516
17
76
30.352941
0.842956
0.443798
0
0
0
0
0.072727
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.428571
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed62a0f3bd61d82280e96fe9d14711d5df97f622
1,876
py
Python
datasets/validation_folders.py
zenithfang/supervised_dispnet
f81dfccfdc944e015d8fae17e24b3e664bec14d6
[ "MIT" ]
39
2020-01-17T18:33:42.000Z
2021-11-14T02:36:32.000Z
datasets/validation_folders.py
zenithfang/supervised_dispnet
f81dfccfdc944e015d8fae17e24b3e664bec14d6
[ "MIT" ]
7
2020-01-10T14:52:44.000Z
2021-03-15T18:55:35.000Z
datasets/validation_folders.py
zenithfang/supervised_dispnet
f81dfccfdc944e015d8fae17e24b3e664bec14d6
[ "MIT" ]
10
2020-03-01T11:35:50.000Z
2022-01-18T10:54:04.000Z
import torch.utils.data as data import numpy as np from imageio import imread from path import Path import pdb def crawl_folders(folders_list): imgs = [] depth = [] for folder in folders_list: current_imgs = sorted(folder.files('*.jpg')) current_depth = [] fo...
32.912281
153
0.615672
257
1,876
4.346304
0.381323
0.056401
0.03581
0.030439
0
0
0
0
0
0
0
0.04068
0.279318
1,876
56
154
33.5
0.785503
0.220682
0
0
0
0
0.028302
0
0
0
0
0
0.027778
1
0.138889
false
0
0.138889
0.055556
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed62a4dc340088a21f482019440f649f39123cfc
1,293
py
Python
secretpy/ciphers/rot18.py
tigertv/crypt
e464f998e5540f52e269fe360ec9d3a08e976b2e
[ "MIT" ]
51
2019-01-09T02:38:03.000Z
2022-03-19T19:08:02.000Z
secretpy/ciphers/rot18.py
tigertv/crypt
e464f998e5540f52e269fe360ec9d3a08e976b2e
[ "MIT" ]
7
2019-10-03T19:50:32.000Z
2021-05-28T22:52:09.000Z
secretpy/ciphers/rot18.py
tigertv/crypt
e464f998e5540f52e269fe360ec9d3a08e976b2e
[ "MIT" ]
13
2019-04-16T16:39:44.000Z
2021-06-01T21:50:12.000Z
#!/usr/bin/python from .rot13 import Rot13 import secretpy.alphabets as al class Rot18: """ The Rot18 Cipher """ __rot13 = Rot13() def __init__(self): alphabet = al.ENGLISH half = len(alphabet) >> 1 self.__alphabet = alphabet[:half] + al.DECIMAL[:5] + alphabet[half:] + al...
24.396226
93
0.58314
150
1,293
4.853333
0.3
0.098901
0.049451
0.057692
0.576923
0.458791
0.384615
0.384615
0.384615
0.384615
0
0.019187
0.314772
1,293
52
94
24.865385
0.802483
0.320959
0
0.125
0
0
0
0
0
0
0
0
0
1
0.3125
false
0
0.125
0.125
0.8125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
ed6310e1d8d83cf871e0d32a527ca7f1529b58ca
1,302
py
Python
pysaurus/database/special_properties.py
notoraptor/pysaurus
3bf5fe8c15e0e0e580e5edaea05b4a1298641367
[ "MIT" ]
null
null
null
pysaurus/database/special_properties.py
notoraptor/pysaurus
3bf5fe8c15e0e0e580e5edaea05b4a1298641367
[ "MIT" ]
4
2021-08-13T14:03:02.000Z
2022-03-05T16:02:45.000Z
pysaurus/database/special_properties.py
notoraptor/pysaurus
3bf5fe8c15e0e0e580e5edaea05b4a1298641367
[ "MIT" ]
null
null
null
from abc import abstractmethod from pysaurus.database.properties import PropType from pysaurus.database.video import Video class SpecialPropType(PropType): __slots__ = () @abstractmethod def get(self, video: Video): raise NotImplementedError() class PropError(SpecialPropType): __slots__ = ...
26.04
83
0.627496
144
1,302
5.479167
0.319444
0.050697
0.081115
0.076046
0.106464
0
0
0
0
0
0
0
0.274962
1,302
49
84
26.571429
0.835805
0
0
0.194444
0
0
0.005376
0
0
0
0
0
0
1
0.166667
false
0
0.083333
0.055556
0.472222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed65a740d0a6c0e521ed5a04db6b899535f0bcde
19,613
py
Python
patrole_tempest_plugin/rbac_utils.py
openstack/patrole
fa0ee135121a5e86301ad5ee1854b3a0bd70b69b
[ "Apache-2.0" ]
14
2017-01-03T15:07:18.000Z
2020-09-17T18:07:39.000Z
patrole_tempest_plugin/rbac_utils.py
openstack/patrole
fa0ee135121a5e86301ad5ee1854b3a0bd70b69b
[ "Apache-2.0" ]
null
null
null
patrole_tempest_plugin/rbac_utils.py
openstack/patrole
fa0ee135121a5e86301ad5ee1854b3a0bd70b69b
[ "Apache-2.0" ]
12
2017-02-28T20:08:48.000Z
2020-12-30T09:31:51.000Z
# Copyright 2017 AT&T Corporation. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
39.069721
120
0.629175
2,396
19,613
4.896077
0.18823
0.036826
0.020459
0.017646
0.29128
0.201603
0.151394
0.122411
0.105021
0.093087
0
0.001942
0.291133
19,613
501
121
39.147705
0.841833
0.431652
0
0.209091
0
0
0.054
0
0
0
0
0.003992
0
1
0.104545
false
0
0.036364
0
0.240909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed66f473c8ee9e1a4cbf088bc3dc94834ee24ff9
6,029
py
Python
core/my_widgets/drug_picker.py
kimera1999/pmpktn
5307b6684a08bac4b88617f097017b5ea4192ab2
[ "MIT" ]
null
null
null
core/my_widgets/drug_picker.py
kimera1999/pmpktn
5307b6684a08bac4b88617f097017b5ea4192ab2
[ "MIT" ]
null
null
null
core/my_widgets/drug_picker.py
kimera1999/pmpktn
5307b6684a08bac4b88617f097017b5ea4192ab2
[ "MIT" ]
1
2020-05-16T14:28:59.000Z
2020-05-16T14:28:59.000Z
from initialize import * from core.db.db_func import query_linedrug_list import os import wx class DrugPopup(wx.ComboPopup): def __init__(self, parent): super().__init__() self.lc = None self.mv = parent.mv self.init_d_l = query_linedrug_list(self.mv.sess).all() self.d_l =...
31.238342
96
0.543208
705
6,029
4.52766
0.255319
0.056391
0.028195
0.026629
0.280388
0.204887
0.148496
0.148496
0.127193
0.114975
0
0.008551
0.340521
6,029
192
97
31.401042
0.794266
0
0
0.272727
0
0
0.022558
0.006469
0
0
0
0
0
1
0.139394
false
0
0.024242
0.018182
0.212121
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed6710b9dafd0dadb8b0c6608676f1c2e79ad2c8
615
py
Python
em Python/Roteiro4/Roteiro4__grafos.py
GuilhermeEsdras/Grafos
b6556c3d679496d576f65b798a1a584cd73e40f4
[ "MIT" ]
null
null
null
em Python/Roteiro4/Roteiro4__grafos.py
GuilhermeEsdras/Grafos
b6556c3d679496d576f65b798a1a584cd73e40f4
[ "MIT" ]
null
null
null
em Python/Roteiro4/Roteiro4__grafos.py
GuilhermeEsdras/Grafos
b6556c3d679496d576f65b798a1a584cd73e40f4
[ "MIT" ]
null
null
null
from Roteiro4.Roteiro4__funcoes import Grafo class Grafos: # Grafo da Paraíba paraiba = Grafo(['J', 'C', 'E', 'P', 'M', 'T', 'Z']) for aresta in ['J-C', 'C-E', 'C-E', 'C-P', 'C-P', 'C-M', 'C-T', 'M-T', 'T-Z']: paraiba.adicionaAresta(aresta) # --- # # Grafo Completo grafo...
23.653846
82
0.461789
90
615
3.111111
0.277778
0.035714
0.117857
0.057143
0.192857
0
0
0
0
0
0
0.011236
0.276423
615
25
83
24.6
0.617978
0.078049
0
0
0
0
0.122302
0
0
0
0
0
0
1
0
false
0
0.090909
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
0
0
0
0
1
0
ed6739ff5f8ea8f36a47b3ca0134c0c015b0b7c7
3,499
py
Python
fuzzybee/joboard/views.py
youtaya/knight
6899e18ca6b1ef01daaae7d7fd14b50a26aa0aee
[ "MIT" ]
null
null
null
fuzzybee/joboard/views.py
youtaya/knight
6899e18ca6b1ef01daaae7d7fd14b50a26aa0aee
[ "MIT" ]
null
null
null
fuzzybee/joboard/views.py
youtaya/knight
6899e18ca6b1ef01daaae7d7fd14b50a26aa0aee
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.shortcuts import get_object_or_404, render_to_response, render from django.http import HttpResponseRedirect, HttpResponse from django.core.urlresolvers import reverse from django.shortcuts import redirect from joboard.models import Factory from joboard.forms import FactoryForm from d...
33.009434
105
0.658474
427
3,499
5.234192
0.318501
0.03132
0.026846
0.022371
0.134228
0.134228
0.106488
0.106488
0.106488
0.106488
0
0.006264
0.22435
3,499
105
106
33.32381
0.817244
0.044584
0
0.168539
0
0
0.124138
0.015892
0
0
0
0
0
0
null
null
0
0.168539
null
null
0.078652
0
0
0
null
0
0
0
0
0
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
ed67b3786dc5aa973280b427220b99a230def591
464
py
Python
flask/app.py
yatsu/react-flask-graphql-example
18a38b7602c81a85a3cc38c74440ce34d63fc32a
[ "MIT" ]
21
2017-06-24T15:29:30.000Z
2021-03-03T06:58:41.000Z
flask/app.py
yatsu/react-flask-graphql-example
18a38b7602c81a85a3cc38c74440ce34d63fc32a
[ "MIT" ]
null
null
null
flask/app.py
yatsu/react-flask-graphql-example
18a38b7602c81a85a3cc38c74440ce34d63fc32a
[ "MIT" ]
6
2018-01-15T06:36:11.000Z
2022-03-18T07:57:39.000Z
from flask import Flask from flask_cors import CORS from flask_graphql import GraphQLView from schema import Schema def create_app(**kwargs): app = Flask(__name__) app.debug = True app.add_url_rule( '/graphql', view_func=GraphQLView.as_view('graphql', schema=Schema, **kwargs) ) ret...
22.095238
73
0.668103
60
464
4.833333
0.466667
0.093103
0
0
0
0
0
0
0
0
0
0
0.206897
464
20
74
23.2
0.788043
0
0
0
0
0
0.084052
0
0
0
0
0
0
1
0.0625
false
0
0.25
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed689bd57d1b5e295bd3bb253d9bfc772e080d82
5,431
py
Python
mortgagetvm/mortgageOptions.py
AndrewChap/mortgagetvm
4ec39707d61bcb3224bdcddce84bf237f02352d1
[ "MIT" ]
null
null
null
mortgagetvm/mortgageOptions.py
AndrewChap/mortgagetvm
4ec39707d61bcb3224bdcddce84bf237f02352d1
[ "MIT" ]
null
null
null
mortgagetvm/mortgageOptions.py
AndrewChap/mortgagetvm
4ec39707d61bcb3224bdcddce84bf237f02352d1
[ "MIT" ]
null
null
null
# Factory-like class for mortgage options class MortgageOptions: def __init__(self,kind,**inputOptions): self.set_default_options() self.set_kind_options(kind = kind) self.set_input_options(**inputOptions) def set_default_options(self): self.optionList = dict() self.optionList['commonDefaul...
58.397849
88
0.606518
635
5,431
5.162205
0.195276
0.080537
0.063453
0.083282
0.787065
0.773642
0.750763
0.721171
0.690665
0.676022
0
0.028647
0.299392
5,431
92
89
59.032609
0.832852
0.384275
0
0.465909
0
0
0.11307
0.015805
0
0
0
0
0
1
0.045455
false
0.011364
0
0
0.056818
0
0
0
0
null
0
0
0
0
1
1
1
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
4
ed693e39d7414ae26d14dc6568bc549d2c30f321
1,452
py
Python
DD/Terrain.py
CodingBullywug/DDreshape
393e5ea336eb6cb78f31345731ccf52baf19bfac
[ "MIT" ]
2
2020-04-13T04:47:26.000Z
2022-02-19T06:10:04.000Z
DD/Terrain.py
CodingBullywug/DDreshape
393e5ea336eb6cb78f31345731ccf52baf19bfac
[ "MIT" ]
null
null
null
DD/Terrain.py
CodingBullywug/DDreshape
393e5ea336eb6cb78f31345731ccf52baf19bfac
[ "MIT" ]
1
2020-04-13T04:47:30.000Z
2020-04-13T04:47:30.000Z
from DD.utils import PoolByteArray2NumpyArray, NumpyArray2PoolByteArray from DD.Entity import Entity import numpy as np class Terrain(Entity): def __init__(self, json, width, height, scale=4, terrain_types=4): super(Terrain, self).__init__(json) self._scale = scale self.terrain_types = terr...
37.230769
144
0.644628
188
1,452
4.808511
0.244681
0.169248
0.057522
0.059735
0.185841
0.161504
0.068584
0
0
0
0
0.021409
0.227961
1,452
38
145
38.210526
0.785013
0
0
0
0
0
0.011019
0
0
0
0
0
0
1
0.310345
false
0
0.103448
0
0.482759
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ed69c7e1252a3ec3f75d6d65d353de14affd6d0c
1,628
py
Python
bluesky/tests/utils.py
AbbyGi/bluesky
759f9c55dce97dc47513cca749a69dd861bdf58d
[ "BSD-3-Clause" ]
43
2015-08-04T20:13:41.000Z
2019-04-12T17:21:36.000Z
bluesky/tests/utils.py
AbbyGi/bluesky
759f9c55dce97dc47513cca749a69dd861bdf58d
[ "BSD-3-Clause" ]
966
2015-07-29T16:43:21.000Z
2019-05-09T21:02:28.000Z
bluesky/tests/utils.py
AbbyGi/bluesky
759f9c55dce97dc47513cca749a69dd861bdf58d
[ "BSD-3-Clause" ]
48
2019-05-15T18:01:06.000Z
2022-03-03T18:53:43.000Z
from collections import defaultdict import contextlib import tempfile import sys import threading import asyncio @contextlib.contextmanager def _print_redirect(): old_stdout = sys.stdout try: fout = tempfile.TemporaryFile(mode="w+", encoding="utf-8") sys.stdout = fout yield fout fi...
23.941176
66
0.594595
200
1,628
4.63
0.405
0.037797
0.047516
0.030238
0
0
0
0
0
0
0
0.002604
0.292383
1,628
67
67
24.298507
0.801215
0
0
0
0
0
0.058968
0
0
0
0
0
0
1
0.12963
false
0
0.111111
0
0.296296
0.018519
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed69da856e9dae34d6443933a8a9df258e7f8e95
1,116
py
Python
cli/check_json.py
MJJojo97/openslides-backend
af0d1edb0070e352d46f285a1ba0bbe3702d49ae
[ "MIT" ]
null
null
null
cli/check_json.py
MJJojo97/openslides-backend
af0d1edb0070e352d46f285a1ba0bbe3702d49ae
[ "MIT" ]
null
null
null
cli/check_json.py
MJJojo97/openslides-backend
af0d1edb0070e352d46f285a1ba0bbe3702d49ae
[ "MIT" ]
null
null
null
import json import sys from openslides_backend.models.checker import Checker, CheckException def main() -> int: files = sys.argv[1:] if not files: print("No files specified.") return 1 possible_modes = tuple(f"--{mode}" for mode in Checker.modes) modes = tuple(mode[2:] for mode in p...
24.8
78
0.53405
147
1,116
3.959184
0.401361
0.089347
0.030928
0.04811
0.051546
0
0
0
0
0
0
0.012605
0.360215
1,116
44
79
25.363636
0.802521
0
0
0.057143
0
0
0.130824
0.021505
0
0
0
0
0
1
0.028571
false
0
0.085714
0
0.171429
0.114286
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed6a3ab7b10d68f5a936266b4ec7064d1ae865c6
313
py
Python
utils/mgmt.py
robinagist/manic
b1bdefbb11c7489164a0c08bb092ffecb5900261
[ "MIT" ]
2
2018-09-06T05:39:11.000Z
2020-10-13T21:40:06.000Z
utils/mgmt.py
robinagist/manic
b1bdefbb11c7489164a0c08bb092ffecb5900261
[ "MIT" ]
20
2018-01-20T05:00:23.000Z
2018-01-25T17:55:00.000Z
utils/mgmt.py
robinagist/Manic-Mapped-Memory-Server
b1bdefbb11c7489164a0c08bb092ffecb5900261
[ "MIT" ]
null
null
null
from utils.data import load_memfile_configs from utils.server import plain_response from sanic import response def get_mappedfile_configs(): cfgs = load_memfile_configs() return response.json(plain_response(cfgs, 0), status=200) def created_mapped_file(): pass def delete_mapped_file(): pass
19.5625
61
0.776358
44
313
5.25
0.568182
0.077922
0.155844
0
0
0
0
0
0
0
0
0.015094
0.153355
313
16
62
19.5625
0.856604
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0.3
false
0.2
0.3
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
ed6ad5b625da50e0023d94d78806dbcd8acd64a1
28,127
py
Python
datasets/medicalImage.py
UpCoder/YNe
2f932456eda29b1e04f4c7e212e2ab0dacfe831b
[ "MIT" ]
null
null
null
datasets/medicalImage.py
UpCoder/YNe
2f932456eda29b1e04f4c7e212e2ab0dacfe831b
[ "MIT" ]
null
null
null
datasets/medicalImage.py
UpCoder/YNe
2f932456eda29b1e04f4c7e212e2ab0dacfe831b
[ "MIT" ]
null
null
null
# -*- coding=utf-8 -*- import SimpleITK as itk import pydicom import numpy as np from PIL import Image, ImageDraw import gc from skimage.morphology import disk, dilation import nipy import os from glob import glob import scipy import cv2 from xml.dom.minidom import Document typenames = ['CYST', 'FNH', 'HCC', 'HEM', 'M...
33.484524
138
0.657731
4,003
28,127
4.37322
0.113415
0.02879
0.036559
0.036559
0.55004
0.507483
0.485948
0.465955
0.453045
0.428996
0
0.023685
0.211932
28,127
840
139
33.484524
0.766083
0.093611
0
0.424658
0
0.001712
0.035461
0.0034
0
0
0
0
0.001712
0
null
null
0
0.032534
null
null
0.030822
0
0
0
null
0
0
0
0
0
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
ed6aff1082796c2046965ddce3d39f2087944e89
925
py
Python
setup.py
marcus-luck/zohoreader
e832f076a8a87bf27607980fb85a1d2bc8339743
[ "MIT" ]
1
2020-11-11T02:19:50.000Z
2020-11-11T02:19:50.000Z
setup.py
marcus-luck/zohoreader
e832f076a8a87bf27607980fb85a1d2bc8339743
[ "MIT" ]
null
null
null
setup.py
marcus-luck/zohoreader
e832f076a8a87bf27607980fb85a1d2bc8339743
[ "MIT" ]
null
null
null
from setuptools import setup def readme(): with open('README.rst') as f: return f.read() setup(name='zohoreader', version='0.1', description='A simple reader for zoho projects API to get all projects, users and timereports', long_description=readme(), classifiers=[ 'Devel...
28.030303
101
0.596757
106
925
5.132075
0.754717
0.055147
0
0
0
0
0
0
0
0
0
0.019034
0.261622
925
32
102
28.90625
0.777452
0
0
0.071429
0
0
0.418378
0.048649
0
0
0
0
0
1
0.035714
true
0
0.035714
0
0.107143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
ed6b5de7ad69456fafac8a04559f11ef56300d5e
24,607
bzl
Python
web/repositories.bzl
Ubehebe/rules_webtesting
c231866a3bccc0f27b31050a57dc2b4a700ad64e
[ "Apache-2.0" ]
null
null
null
web/repositories.bzl
Ubehebe/rules_webtesting
c231866a3bccc0f27b31050a57dc2b4a700ad64e
[ "Apache-2.0" ]
null
null
null
web/repositories.bzl
Ubehebe/rules_webtesting
c231866a3bccc0f27b31050a57dc2b4a700ad64e
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing,...
43.019231
152
0.675011
2,760
24,607
5.812319
0.152174
0.021319
0.029173
0.042638
0.48398
0.440095
0.372273
0.314425
0.284815
0.258945
0
0.124626
0.211525
24,607
571
153
43.094571
0.702196
0.135368
0
0.375
0
0.122881
0.518002
0.192875
0
0
0
0
0
1
0.069915
false
0
0.048729
0
0.125
0.002119
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed6b5f33a003c3ef902a30bdc2ac23b77d488f11
8,045
py
Python
code/tools/run_viz_single_task.py
santomon/taskonomy
4b22087a2686172b21b61589831061e7a386fe36
[ "MIT" ]
789
2018-03-21T05:28:38.000Z
2022-03-29T19:32:47.000Z
code/tools/run_viz_single_task.py
santomon/taskonomy
4b22087a2686172b21b61589831061e7a386fe36
[ "MIT" ]
46
2018-05-03T07:11:10.000Z
2022-03-11T23:26:03.000Z
code/tools/run_viz_single_task.py
santomon/taskonomy
4b22087a2686172b21b61589831061e7a386fe36
[ "MIT" ]
152
2018-03-24T10:20:44.000Z
2022-02-09T02:38:10.000Z
from __future__ import absolute_import, division, print_function import argparse import importlib import itertools import time from multiprocessing import Pool import numpy as np import os import pdb import pickle import subprocess import sys import tensorflow as tf import tensorflow.contrib.slim as slim import thr...
35.131004
313
0.605842
969
8,045
4.780186
0.308566
0.01943
0.024611
0.013601
0.18804
0.160622
0.137737
0.092832
0.092832
0.076857
0
0.009131
0.264885
8,045
228
314
35.285088
0.774095
0.082411
0
0.161677
0
0.005988
0.145898
0.030384
0
0
0
0
0
1
0.02994
false
0.005988
0.161677
0
0.203593
0.047904
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed6bae7a17f418cda8c2e6d4ee817869bb64ec62
35,884
bzl
Python
stratum/portage/build_defs.bzl
cholve/stratum
09ddb5acb604f7e694a6b7d2fe93fea79f801794
[ "Apache-2.0" ]
267
2019-09-11T15:01:37.000Z
2022-03-28T11:14:29.000Z
stratum/portage/build_defs.bzl
cholve/stratum
09ddb5acb604f7e694a6b7d2fe93fea79f801794
[ "Apache-2.0" ]
906
2019-09-18T03:37:08.000Z
2022-03-30T00:59:53.000Z
stratum/portage/build_defs.bzl
cholve/stratum
09ddb5acb604f7e694a6b7d2fe93fea79f801794
[ "Apache-2.0" ]
107
2019-09-16T07:30:53.000Z
2022-03-18T09:53:03.000Z
# Copyright 2018 Google LLC # Copyright 2018-present Open Networking Foundation # SPDX-License-Identifier: Apache-2.0 """A portable build system for Stratum P4 switch stack. To use this, load() this file in a BUILD file, specifying the symbols needed. The public symbols are the macros: decorate(path) sc_cc_lib ...
35.042969
90
0.582767
4,328
35,884
4.64903
0.143715
0.019681
0.013568
0.007604
0.293375
0.202823
0.157696
0.131554
0.108046
0.063317
0
0.005021
0.306293
35,884
1,023
91
35.077224
0.803278
0.369162
0
0.309231
0
0.001538
0.12986
0.044113
0
0
0
0.002933
0
1
0.027692
false
0
0
0.004615
0.050769
0.004615
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed6c12390ca654e898450e0424a1c59a124edd59
96,578
py
Python
src/genie/libs/parser/ios/tests/test_show_platform.py
miuvlad/genieparser
60b1151e3c67c6b55d75e30359d0bf52825efad8
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/ios/tests/test_show_platform.py
miuvlad/genieparser
60b1151e3c67c6b55d75e30359d0bf52825efad8
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/ios/tests/test_show_platform.py
miuvlad/genieparser
60b1151e3c67c6b55d75e30359d0bf52825efad8
[ "Apache-2.0" ]
null
null
null
#!/bin/env python import unittest from unittest.mock import Mock from pyats.topology import Device from genie.metaparser.util.exceptions import SchemaEmptyParserError,\ SchemaMissingKeyError from genie.libs.parser.ios.show_platform import ShowVersion,\ Dir,\ ShowRedundan...
41.307956
153
0.510582
9,787
96,578
4.897415
0.092061
0.046317
0.024035
0.018631
0.736601
0.685652
0.636623
0.588513
0.549874
0.503119
0
0.08707
0.381857
96,578
2,337
154
41.325631
0.715808
0.000166
0
0.40197
0
0.031527
0.425099
0.019666
0
0
0.00117
0
0.038424
1
0.038424
false
0.000985
0.010345
0
0.090148
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed6c19de3061a6952b4f83f10500239e87852cc5
2,883
py
Python
autumn/projects/covid_19/sri_lanka/sri_lanka/project.py
emmamcbryde/AuTuMN-1
b1e7de15ac6ef6bed95a80efab17f0780ec9ff6f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
autumn/projects/covid_19/sri_lanka/sri_lanka/project.py
emmamcbryde/AuTuMN-1
b1e7de15ac6ef6bed95a80efab17f0780ec9ff6f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
autumn/projects/covid_19/sri_lanka/sri_lanka/project.py
emmamcbryde/AuTuMN-1
b1e7de15ac6ef6bed95a80efab17f0780ec9ff6f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
import numpy as np from autumn.calibration.proposal_tuning import perform_all_params_proposal_tuning from autumn.core.project import Project, ParameterSet, load_timeseries, build_rel_path, get_all_available_scenario_paths, \ use_tuned_proposal_sds from autumn.calibration import Calibration from autumn.calibration.p...
43.029851
123
0.794658
401
2,883
5.399002
0.351621
0.036952
0.038799
0.030485
0.213395
0.06097
0.04388
0.04388
0
0
0
0.027413
0.10163
2,883
67
124
43.029851
0.808494
0.181755
0
0.043478
0
0
0.151193
0.105622
0
0
0
0.014925
0
1
0
false
0
0.217391
0
0.217391
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
ed6c1e66e6a96e129aa7826692f68edb943e0fae
9,245
py
Python
Analytics/resources/themes/test_subthemes.py
thanosbnt/SharingCitiesDashboard
5d123691d1f25d0b85e20e4e8293266bf23c9f8a
[ "Apache-2.0" ]
4
2018-11-21T14:42:18.000Z
2020-05-11T10:52:59.000Z
Analytics/resources/themes/test_subthemes.py
thanosbnt/SharingCitiesDashboard
5d123691d1f25d0b85e20e4e8293266bf23c9f8a
[ "Apache-2.0" ]
60
2018-11-21T15:11:59.000Z
2019-12-02T10:46:44.000Z
Analytics/resources/themes/test_subthemes.py
thanosbnt/SharingCitiesDashboard
5d123691d1f25d0b85e20e4e8293266bf23c9f8a
[ "Apache-2.0" ]
7
2018-11-21T14:42:44.000Z
2019-11-28T16:24:14.000Z
import unittest from http import HTTPStatus from unittest import TestCase import bcrypt from flask.ctx import AppContext from flask.testing import FlaskClient from app import create_app from models.theme import Theme, SubTheme from models.users import Users class TestSubTemes(TestCase): """ Unittest for the...
42.800926
119
0.589508
1,038
9,245
5.026012
0.133911
0.062105
0.06613
0.027602
0.575618
0.548591
0.502588
0.477477
0.463676
0.422657
0
0.006824
0.318442
9,245
215
120
43
0.82114
0.160087
0
0.377778
0
0
0.115056
0.027104
0
0
0
0
0.133333
1
0.096296
false
0.02963
0.066667
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed6c49af1afdf5e937dac3ecb68b0de9cb7816d4
11,421
py
Python
selfdrive/sensord/rawgps/structs.py
TC921/openpilot
d5d91e6e3be02e2525ed8d6137e5fdca2b81657c
[ "MIT" ]
null
null
null
selfdrive/sensord/rawgps/structs.py
TC921/openpilot
d5d91e6e3be02e2525ed8d6137e5fdca2b81657c
[ "MIT" ]
null
null
null
selfdrive/sensord/rawgps/structs.py
TC921/openpilot
d5d91e6e3be02e2525ed8d6137e5fdca2b81657c
[ "MIT" ]
null
null
null
from struct import unpack_from, calcsize LOG_GNSS_POSITION_REPORT = 0x1476 LOG_GNSS_GPS_MEASUREMENT_REPORT = 0x1477 LOG_GNSS_CLOCK_REPORT = 0x1478 LOG_GNSS_GLONASS_MEASUREMENT_REPORT = 0x1480 LOG_GNSS_BDS_MEASUREMENT_REPORT = 0x1756 LOG_GNSS_GAL_MEASUREMENT_REPORT = 0x1886 LOG_GNSS_OEMDRE_MEASUREMENT_REPORT = 0x14DE ...
50.76
403
0.698976
1,487
11,421
5.174849
0.246133
0.040026
0.02872
0.02924
0.488369
0.446524
0.424691
0.382326
0.369591
0.312411
0
0.047333
0.228614
11,421
224
404
50.986607
0.826107
0.001313
0
0.349057
0
0.051887
0.832968
0.108637
0
0
0.015958
0
0.004717
1
0.014151
false
0
0.004717
0
0.033019
0.004717
0
0
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
ed6ced72ed9bc083484bd7a8ca32221ff538be8a
12,541
py
Python
python2.7libs/hammer_tools/content_browser.py
anvdev/Hammer-Tools
0211ec837da6754e537c98624ecd07c23abab28e
[ "Apache-2.0" ]
19
2019-10-09T13:48:11.000Z
2021-06-14T01:25:23.000Z
python2.7libs/hammer_tools/content_browser.py
anvdev/Hammer-Tools
0211ec837da6754e537c98624ecd07c23abab28e
[ "Apache-2.0" ]
219
2019-10-08T14:44:48.000Z
2021-06-19T06:27:46.000Z
python2.7libs/hammer_tools/content_browser.py
anvdev/Hammer-Tools
0211ec837da6754e537c98624ecd07c23abab28e
[ "Apache-2.0" ]
3
2020-02-14T06:18:06.000Z
2020-11-25T20:47:06.000Z
from __future__ import print_function try: from PyQt5.QtWidgets import * from PyQt5.QtGui import * from PyQt5.QtCore import * except ImportError: from PySide2.QtWidgets import * from PySide2.QtGui import * from PySide2.QtCore import * import hou from hammer_tools.utils import createAction d...
37.21365
106
0.660633
1,186
12,541
6.908938
0.228499
0.007811
0.008787
0.012082
0.16866
0.127532
0.109226
0.082866
0.071272
0.041982
0
0.016994
0.239853
12,541
336
107
37.324405
0.842547
0.006299
0
0.197133
0
0
0.033406
0.003533
0
0
0
0
0
1
0.0681
false
0.021505
0.035842
0.003584
0.143369
0.003584
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed6cf42a0947849b7e11a5ffae5ba378599d9f7e
1,106
py
Python
rt-thread/applications/server/udp_sender.py
luhuadong/stm32f769-disco-demo
c7fb0d627b02c3f87959f43f1447bc79f62a7099
[ "Apache-2.0" ]
null
null
null
rt-thread/applications/server/udp_sender.py
luhuadong/stm32f769-disco-demo
c7fb0d627b02c3f87959f43f1447bc79f62a7099
[ "Apache-2.0" ]
null
null
null
rt-thread/applications/server/udp_sender.py
luhuadong/stm32f769-disco-demo
c7fb0d627b02c3f87959f43f1447bc79f62a7099
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 """ UDP sender """ import socket import time import sys smsg = b'\xaa\x08\xfe\x00\xc9\xe6\x5f\xee' def main(): ip_port = ('192.168.3.188', 8888) if len(sys.argv) < 2: port = 8888 else: port = int(sys.argv[1]) # 1. 创建 udp 套接字 udp_socket = socket.socket(s...
17.83871
65
0.513562
149
1,106
3.671141
0.516779
0.082267
0.076782
0.06947
0.084095
0.084095
0
0
0
0
0
0.071809
0.320072
1,106
61
66
18.131148
0.655585
0.251356
0
0
0
0
0.096894
0.039752
0
0
0
0
0
1
0.037037
false
0
0.111111
0
0.148148
0.185185
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed6da0909e41c7d13eeccbce6856b66ed6774782
1,273
py
Python
yudzuki/role.py
LunaProject-Discord/yudzuki.py
7ff2d1f9e39ed5300a46c48fb95df50046814ede
[ "MIT" ]
6
2021-04-29T12:48:55.000Z
2021-06-25T06:54:37.000Z
yudzuki/role.py
LunaProject-Discord/yudzuki.py
7ff2d1f9e39ed5300a46c48fb95df50046814ede
[ "MIT" ]
null
null
null
yudzuki/role.py
LunaProject-Discord/yudzuki.py
7ff2d1f9e39ed5300a46c48fb95df50046814ede
[ "MIT" ]
null
null
null
__all__ = ( "Role", ) class Role: def __init__(self, data): self.data = data self._update(data) def _get_json(self): return self.data def __repr__(self): return ( f"<Role id={self.id} name={self.name}>" ) def __str__(self): ...
19.584615
51
0.531815
136
1,273
4.683824
0.176471
0.172684
0.197802
0.050235
0
0
0
0
0
0
0
0
0.358995
1,273
64
52
19.890625
0.780637
0
0
0.2
0
0
0.080911
0
0
0
0
0
0
1
0.26
false
0
0
0.22
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
ed6e652c3847138189ca7b951889b9b3a32aa8ce
1,702
py
Python
jassen/django/project/project/urls.py
cabilangan112/intern-drf-blog
b2d6c7a4af1316b2c7ce38547bd9df99b4f3e8b9
[ "MIT" ]
null
null
null
jassen/django/project/project/urls.py
cabilangan112/intern-drf-blog
b2d6c7a4af1316b2c7ce38547bd9df99b4f3e8b9
[ "MIT" ]
null
null
null
jassen/django/project/project/urls.py
cabilangan112/intern-drf-blog
b2d6c7a4af1316b2c7ce38547bd9df99b4f3e8b9
[ "MIT" ]
null
null
null
"""project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-based...
37.822222
101
0.756757
239
1,702
5.313808
0.343096
0.047244
0.070866
0.018898
0.092126
0.092126
0.059055
0
0
0
0
0.005348
0.121034
1,702
45
102
37.822222
0.843583
0.36604
0
0
0
0
0.10904
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ed6e6b0df61cc3926c2f1e1ffc6195fcb5a7b2f1
13
py
Python
deep-learning-app/src/models/__init__.py
everbrez/Deep-Learning-based-Chemical-Graphics-Analysis-Platform
5ecaedadd74e96891c28d9f73384e07c1526916b
[ "Apache-2.0" ]
1
2021-04-30T10:44:32.000Z
2021-04-30T10:44:32.000Z
deep-learning-app/src/models/__init__.py
everbrez/Deep-Learning-based-Chemical-Graphics-Analysis-Platform
5ecaedadd74e96891c28d9f73384e07c1526916b
[ "Apache-2.0" ]
null
null
null
deep-learning-app/src/models/__init__.py
everbrez/Deep-Learning-based-Chemical-Graphics-Analysis-Platform
5ecaedadd74e96891c28d9f73384e07c1526916b
[ "Apache-2.0" ]
null
null
null
print('init')
13
13
0.692308
2
13
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0
13
1
13
13
0.692308
0
0
0
0
0
0.285714
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
5
ed6e6d96a4c0121238dbb61b6a4a506e75d9c0bd
1,007
py
Python
chemmltoolkit/tensorflow/callbacks/variableScheduler.py
Andy-Wilkinson/ChemMLToolk
83efc7ea66d2def860a3e04ccd70d77fb689fddc
[ "MIT" ]
1
2019-10-30T03:43:24.000Z
2019-10-30T03:43:24.000Z
chemmltoolkit/tensorflow/callbacks/variableScheduler.py
Andy-Wilkinson/ChemMLToolk
83efc7ea66d2def860a3e04ccd70d77fb689fddc
[ "MIT" ]
2
2021-11-28T21:09:30.000Z
2021-11-28T21:09:39.000Z
chemmltoolkit/tensorflow/callbacks/variableScheduler.py
Andy-Wilkinson/ChemMLToolkit
83efc7ea66d2def860a3e04ccd70d77fb689fddc
[ "MIT" ]
null
null
null
import tensorflow as tf class VariableScheduler(tf.keras.callbacks.Callback): """Schedules an arbitary variable during training. Arguments: variable: The variable to modify the value of. schedule: A function that takes an epoch index (integer, indexed from 0) and current variable ...
37.296296
73
0.646475
122
1,007
5.245902
0.491803
0.09375
0.05
0
0
0
0
0
0
0
0
0.00813
0.26713
1,007
26
74
38.730769
0.859079
0.345581
0
0
0
0
0.144231
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0
0.285714
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed6f5b3794c25687738dfe6c60b7b8d1ed6647b2
14,621
py
Python
join_peaks.py
nijibabulu/chip_tools
04def22059a6018b3b49247d69d7b04eee1dcd89
[ "MIT" ]
null
null
null
join_peaks.py
nijibabulu/chip_tools
04def22059a6018b3b49247d69d7b04eee1dcd89
[ "MIT" ]
null
null
null
join_peaks.py
nijibabulu/chip_tools
04def22059a6018b3b49247d69d7b04eee1dcd89
[ "MIT" ]
null
null
null
#! /usr/bin/env python import os import sys import math import csv import collections import docopt import peakzilla_qnorm_mapq_patched as pz __doc__ = ''' Usage: join_peaks.py [options] PEAKS CHIP INPUT [ (PEAKS CHIP INPUT) ... ] This script finds peaks in common between multiple ChIP experiments determined by pe...
39.730978
122
0.603584
1,894
14,621
4.508976
0.160507
0.030328
0.011241
0.014052
0.312412
0.291686
0.238993
0.228337
0.177635
0.122248
0
0.00789
0.271869
14,621
367
123
39.839237
0.794289
0.165173
0
0.087866
0
0
0.125933
0.014407
0
0
0
0
0
0
null
null
0
0.029289
null
null
0.012552
0
0
0
null
0
0
0
0
0
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
ed6ff0df42bec5dfbd4d71634bb7ab44a9c003d2
9,473
py
Python
django_town/rest_swagger/views.py
uptown/django-town
4c3b078a8ce5dcc275d65faa4a1cdfb7ebc74a50
[ "MIT" ]
null
null
null
django_town/rest_swagger/views.py
uptown/django-town
4c3b078a8ce5dcc275d65faa4a1cdfb7ebc74a50
[ "MIT" ]
null
null
null
django_town/rest_swagger/views.py
uptown/django-town
4c3b078a8ce5dcc275d65faa4a1cdfb7ebc74a50
[ "MIT" ]
null
null
null
from django_town.rest import RestApiView, rest_api_manager from django_town.http import http_json_response from django_town.cache.utlis import SimpleCache from django_town.oauth2.swagger import swagger_authorizations_data from django_town.social.oauth2.permissions import OAuth2Authenticated, OAuth2AuthenticatedOrReadOn...
43.059091
108
0.331468
525
9,473
5.819048
0.28
0.032079
0.064812
0.042553
0.304092
0.207856
0.184288
0.184288
0.153191
0.120458
0
0.01407
0.579859
9,473
219
109
43.255708
0.753518
0
0
0.320755
0
0
0.146522
0.013512
0
0
0
0
0
1
0.009434
false
0.009434
0.028302
0
0.051887
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
ed71593db0e5552171798bc1852cca8f7c4d9f3e
2,285
py
Python
components/dash-core-components/tests/integration/dropdown/test_dynamic_options.py
mastermind88/dash
760af721980e18d91bdbc4e204d1d063c7ed325c
[ "MIT" ]
null
null
null
components/dash-core-components/tests/integration/dropdown/test_dynamic_options.py
mastermind88/dash
760af721980e18d91bdbc4e204d1d063c7ed325c
[ "MIT" ]
null
null
null
components/dash-core-components/tests/integration/dropdown/test_dynamic_options.py
mastermind88/dash
760af721980e18d91bdbc4e204d1d063c7ed325c
[ "MIT" ]
null
null
null
from dash import Dash, Input, Output, dcc, html from dash.exceptions import PreventUpdate def test_dddo001_dynamic_options(dash_dcc): dropdown_options = [ {"label": "New York City", "value": "NYC"}, {"label": "Montreal", "value": "MTL"}, {"label": "San Francisco", "value": "SF"}, ] ...
27.202381
87
0.647265
299
2,285
4.705686
0.327759
0.074627
0.072495
0.03838
0.284293
0.208955
0.167733
0.093817
0.093817
0
0
0.007834
0.217943
2,285
83
88
27.53012
0.779519
0.088403
0
0.207547
0
0
0.210881
0.034665
0
0
0
0
0.113208
1
0.075472
false
0
0.037736
0
0.132075
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
0
0
0
0
0
0
0
1
0
ed725c3c070133c88aad862a90d3bfcbc58edf09
768
py
Python
Server.py
dipghoshraj/live-video-streming-with-web-socket
dda924e22a4c40d225ec39dd94ee1e489233c403
[ "BSD-2-Clause" ]
3
2020-06-30T03:49:46.000Z
2021-07-17T16:15:55.000Z
Server.py
dipghoshraj/live-video-streming-with-web-socket
dda924e22a4c40d225ec39dd94ee1e489233c403
[ "BSD-2-Clause" ]
null
null
null
Server.py
dipghoshraj/live-video-streming-with-web-socket
dda924e22a4c40d225ec39dd94ee1e489233c403
[ "BSD-2-Clause" ]
null
null
null
import cv2 import io import socket import struct import time import pickle import zlib client_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) client_socket.connect(('127.0.0.1', 8485)) connection = client_socket.makefile('wb') cam = cv2.VideoCapture("E:/songs/Attention Charlie Puth(GabbarWorld.com) 1080p.mp4...
29.538462
84
0.71224
115
768
4.643478
0.565217
0.089888
0.067416
0.06367
0
0
0
0
0
0
0
0.049849
0.138021
768
25
85
30.72
0.756798
0.057292
0
0
0
0
0.112656
0.029207
0
0
0
0
0
1
0
false
0
0.291667
0
0.291667
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed74d0762a12ab84a6b4c685f57a0a532e003b99
7,059
py
Python
hal/agent/tf2_utils.py
gunpowder78/google-research
d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5
[ "Apache-2.0" ]
1
2022-03-13T21:48:52.000Z
2022-03-13T21:48:52.000Z
hal/agent/tf2_utils.py
gunpowder78/google-research
d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5
[ "Apache-2.0" ]
null
null
null
hal/agent/tf2_utils.py
gunpowder78/google-research
d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5
[ "Apache-2.0" ]
1
2022-03-30T07:20:29.000Z
2022-03-30T07:20:29.000Z
# coding=utf-8 # Copyright 2022 The Google Research 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 applicab...
32.380734
79
0.696841
1,034
7,059
4.591876
0.268859
0.029486
0.043808
0.022746
0.157329
0.132477
0.064869
0.046335
0.046335
0.022746
0
0.01482
0.197053
7,059
217
80
32.529954
0.822865
0.47103
0
0.120482
0
0
0.005108
0
0
0
0
0
0.012048
1
0.13253
false
0
0.036145
0.012048
0.301205
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed753328e567a24c6d1169588942c86a984af1ee
4,437
py
Python
wolk/logger_factory.py
Wolkabout/WolkConnect-Python-
11412e3f88911170f587b5e857d07ab41c8f52b5
[ "Apache-2.0" ]
6
2016-12-19T13:36:44.000Z
2018-05-10T15:08:15.000Z
wolk/logger_factory.py
Wolkabout/WolkConnect-Python
11412e3f88911170f587b5e857d07ab41c8f52b5
[ "Apache-2.0" ]
5
2019-02-23T09:37:12.000Z
2021-09-17T13:54:58.000Z
wolk/logger_factory.py
Wolkabout/WolkConnect-Python-
11412e3f88911170f587b5e857d07ab41c8f52b5
[ "Apache-2.0" ]
3
2016-08-15T22:19:00.000Z
2017-12-28T09:48:37.000Z
"""LoggerFactory Module.""" # Copyright 2020 WolkAbout Technology s.r.o. # # 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 # # Unl...
30.8125
88
0.610773
539
4,437
4.940631
0.278293
0.042058
0.020278
0.013519
0.160721
0.064589
0.032294
0.032294
0.032294
0.032294
0
0.002569
0.298174
4,437
143
89
31.027972
0.852601
0.334235
0
0.180556
0
0
0.08502
0.017667
0
0
0
0
0
1
0.055556
false
0
0.041667
0
0.152778
0.013889
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
ed7563752fb4afab443eb59eb4484ffff4182b40
1,830
py
Python
raw.py
andre-marcos-perez/data-pipeline-demo
2647cce6e90d39798eda352608dc0f6d6ab5255a
[ "MIT" ]
3
2021-05-20T23:24:13.000Z
2021-08-20T12:23:18.000Z
raw.py
andre-marcos-perez/data-pipeline-demo
2647cce6e90d39798eda352608dc0f6d6ab5255a
[ "MIT" ]
null
null
null
raw.py
andre-marcos-perez/data-pipeline-demo
2647cce6e90d39798eda352608dc0f6d6ab5255a
[ "MIT" ]
3
2021-05-26T14:49:20.000Z
2022-03-21T23:17:54.000Z
import json import gzip import requests from datetime import datetime import pendulum import boto3 from botocore.exceptions import ClientError from util.log import Log from settings.aws_settings import AWSSettings from settings.telegram_settings import TelegramSettings def lambda_handler(event: dict, context: dict)...
31.016949
103
0.62623
226
1,830
4.964602
0.469027
0.032086
0.023173
0.037433
0.096257
0.057041
0.057041
0.057041
0
0
0
0.005818
0.248634
1,830
58
104
31.551724
0.810182
0
0
0.046512
0
0
0.162842
0.043169
0
0
0
0
0
1
0.023256
false
0
0.232558
0
0.27907
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0