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
0c79a3fc909266657859ec6f1fef5e42cc8f960d
742
py
Python
blender/2.79/scripts/presets/interaction/blender.py
uzairakbar/bpy2.79
3a3e0004ac6783c4e4b89d939e4432de99026a85
[ "MIT" ]
2
2019-11-27T09:05:42.000Z
2020-02-20T01:25:23.000Z
blender/2.79/scripts/presets/interaction/blender.py
uzairakbar/bpy2.79
3a3e0004ac6783c4e4b89d939e4432de99026a85
[ "MIT" ]
null
null
null
blender/2.79/scripts/presets/interaction/blender.py
uzairakbar/bpy2.79
3a3e0004ac6783c4e4b89d939e4432de99026a85
[ "MIT" ]
4
2020-02-19T20:02:26.000Z
2022-02-11T18:47:56.000Z
# Configuration Blender import bpy bpy.context.user_preferences.view.use_mouse_depth_cursor = False bpy.context.user_preferences.view.use_mouse_depth_navigate = False bpy.context.user_preferences.view.use_zoom_to_mouse = False bpy.context.user_preferences.view.use_rotate_around_active = False bpy.context.user_preferen...
49.466667
68
0.861186
108
742
5.564815
0.314815
0.183028
0.25624
0.457571
0.693844
0.582363
0.524126
0.139767
0
0
0
0
0.052561
742
14
69
53
0.854908
0.028302
0
0
0
0
0.037552
0
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
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
1
0
0
0
0
0
0
3
0c79c37d225ec1c6d80e48b67b03336578f10162
334
py
Python
client/ui/roundrect.py
rrsilaya/spaceteam
eca853d82f14d1d5f5f892977dfb35d20da40d0b
[ "MIT" ]
null
null
null
client/ui/roundrect.py
rrsilaya/spaceteam
eca853d82f14d1d5f5f892977dfb35d20da40d0b
[ "MIT" ]
null
null
null
client/ui/roundrect.py
rrsilaya/spaceteam
eca853d82f14d1d5f5f892977dfb35d20da40d0b
[ "MIT" ]
null
null
null
def create_rounded_rectangle(canvas, x1, y1, x2, y2, r=25, **kwargs): points = (x1+r, y1, x1+r, y1, x2-r, y1, x2-r, y1, x2, y1, x2, y1+r, x2, y1+r, x2, y2-r, x2, y2-r, x2, y2, x2-r, y2, x2-r, y2, x1+r, y2, x1+r, y2, x1, y2, x1, y2-r, x1, y2-r, x1, y1+r, x1, y1+r, x1, y1) return canvas.create_polygon(points, kwargs,...
83.5
203
0.598802
77
334
2.558442
0.220779
0.101523
0.076142
0.060914
0.304569
0.304569
0
0
0
0
0
0.166667
0.173653
334
3
204
111.333333
0.547101
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
0cb8965b375d02d5a557489ce15ad2ffa88f827d
1,009
py
Python
build/env/lib/python2.7/site-packages/ipython-0.10-py2.7.egg/IPython/platutils_dummy.py
lumanjiao/XLS_BigData
2c4c37872b8636df1c8b0e005bc12a635a753c7a
[ "Apache-2.0" ]
11
2019-03-20T07:38:35.000Z
2021-06-18T09:42:46.000Z
build/env/lib/python2.6/site-packages/ipython-0.10-py2.6.egg/IPython/platutils_dummy.py
lockhart39/HueQualityAndIngestionApp
c75e55a43a8bdeb7aa0f5bf2101ec72b01dcac1c
[ "Apache-2.0" ]
null
null
null
build/env/lib/python2.6/site-packages/ipython-0.10-py2.6.egg/IPython/platutils_dummy.py
lockhart39/HueQualityAndIngestionApp
c75e55a43a8bdeb7aa0f5bf2101ec72b01dcac1c
[ "Apache-2.0" ]
5
2019-06-29T03:13:02.000Z
2020-04-23T04:47:11.000Z
# -*- coding: utf-8 -*- """ Platform specific utility functions, dummy version This has empty implementation of the platutils functions, used for unsupported operating systems. Authors ------- - Ville Vainio <vivainio@gmail.com> """ #***************************************************************************** # ...
29.676471
78
0.583746
123
1,009
4.731707
0.707317
0.034364
0.030928
0
0
0
0
0
0
0
0
0.020118
0.162537
1,009
33
79
30.575758
0.668639
0.758176
0
0
0
0
0.037559
0
0
0
0
0
0
1
0.428571
false
0.142857
0
0
0.714286
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
1
0
0
3
0cbc457024d9857d554e3acd309760654010fb26
14,959
py
Python
app/api/rules/rules.py
ligross/attr_lingvo
5331c77264b1e624a6f8833e52ffa43e48789eb4
[ "MIT" ]
null
null
null
app/api/rules/rules.py
ligross/attr_lingvo
5331c77264b1e624a6f8833e52ffa43e48789eb4
[ "MIT" ]
7
2020-07-21T01:39:18.000Z
2022-02-19T03:25:01.000Z
app/api/rules/rules.py
ligross/attr_lingvo
5331c77264b1e624a6f8833e52ffa43e48789eb4
[ "MIT" ]
1
2020-10-27T10:11:25.000Z
2020-10-27T10:11:25.000Z
import regex as re UNIFORM_ROWS = ( r'(NOUN,\s*NOUN,\s*NOUN)', r'(ADJF,\s*ADJF,\s*ADJF)', r'(ADJS,\s*ADJS,\s*ADJS)', r'(VERB,\s*VERB,\s*VERB)', r'(INFN,\s*INFN,\s*INFN)', r'((и|да и|ни|или|либо) NOUN,\s*(и|да и|ни|или|либо) NOUN,\s*(и|да и|ни|или|либо) NOUN)', r'(NOUN,\s*NOUN (да|и|либо|или...
77.507772
677
0.539408
2,213
14,959
3.633077
0.103479
0.007463
0.027363
0.01791
0.767413
0.723134
0.674005
0.662935
0.650622
0.650622
0
0.001334
0.248145
14,959
192
678
77.911458
0.710056
0
0
0.230769
0
0.118343
0.618223
0.222141
0
0
0
0
0
1
0
false
0
0.005917
0
0.005917
0
0
0
0
null
0
0
0
0
1
0
0
0
1
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
3
0cbf383510b406690e1e6d201506b41a2c33d3af
4,137
py
Python
antelope/refs/flow_ref.py
AntelopeLCA/antelope_lca
18ae7621713c8cc92c7d8fcc7c0810c1ca3fea32
[ "BSD-3-Clause" ]
null
null
null
antelope/refs/flow_ref.py
AntelopeLCA/antelope_lca
18ae7621713c8cc92c7d8fcc7c0810c1ca3fea32
[ "BSD-3-Clause" ]
null
null
null
antelope/refs/flow_ref.py
AntelopeLCA/antelope_lca
18ae7621713c8cc92c7d8fcc7c0810c1ca3fea32
[ "BSD-3-Clause" ]
null
null
null
from .base import EntityRef, InvalidQuery from ..flows import Flow ''' FlowRef could conceivably be used to store characterizations (as opposed to LcFlows, where they're useless) Think about this for future. ''' class FlowRef(EntityRef, Flow): """ Flows can lookup: """ _etype = 'flow' _ref_f...
31.580153
121
0.606478
465
4,137
5.24086
0.294624
0.045137
0.017234
0.025851
0.170702
0.097251
0.059089
0.027903
0.027903
0
0
0
0.284264
4,137
130
122
31.823077
0.823033
0.040609
0
0.037037
0
0
0.025444
0
0
0
0
0
0
1
0.259259
false
0.018519
0.037037
0.148148
0.574074
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
0cd361b8cd235724bb06591947cd96d589b6f379
771
py
Python
qcloudsdkvpc/DeteleSubnetAclRuleRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkvpc/DeteleSubnetAclRuleRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkvpc/DeteleSubnetAclRuleRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from qcloudsdkcore.request import Request class DeteleSubnetAclRuleRequest(Request): def __init__(self): super(DeteleSubnetAclRuleRequest, self).__init__( 'vpc', 'qcloudcliV1', 'DeteleSubnetAclRule', 'vpc.api.qcloud.com') def get_networkAclId(self): return...
27.535714
78
0.675746
85
771
5.894118
0.329412
0.035928
0.083832
0.101796
0.155689
0.155689
0
0
0
0
0
0.003226
0.19585
771
27
79
28.555556
0.804839
0.027237
0
0
0
0
0.137701
0
0
0
0
0
0
1
0.411765
false
0
0.058824
0.176471
0.705882
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
0ce664babd298621aebe932ec3af2a01a7c52846
184
py
Python
train_sentencepiece.py
sinchir0/try_sentencepiece
aaf0fb78a404e51da8d3e072fb6153eb18aeceb2
[ "MIT" ]
null
null
null
train_sentencepiece.py
sinchir0/try_sentencepiece
aaf0fb78a404e51da8d3e072fb6153eb18aeceb2
[ "MIT" ]
null
null
null
train_sentencepiece.py
sinchir0/try_sentencepiece
aaf0fb78a404e51da8d3e072fb6153eb18aeceb2
[ "MIT" ]
null
null
null
import sentencepiece as spm # モデルの学習 spm.SentencePieceTrainer.Train( input='all_tweet.txt', model_prefix='sentencepiece', vocab_size=2000, character_coverage=0.9995 )
18.4
33
0.744565
22
184
6.045455
0.909091
0
0
0
0
0
0
0
0
0
0
0.058065
0.157609
184
9
34
20.444444
0.8
0.032609
0
0
0
0
0.147727
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
0ced9da0e9ef880c02c9b9021e2be5e9311e1c76
2,146
py
Python
manticore/core/cpu/disasm.py
evanpjensen/manticore
3f74e3b7f80757b493bdce3d13178043513ea102
[ "Apache-2.0" ]
null
null
null
manticore/core/cpu/disasm.py
evanpjensen/manticore
3f74e3b7f80757b493bdce3d13178043513ea102
[ "Apache-2.0" ]
null
null
null
manticore/core/cpu/disasm.py
evanpjensen/manticore
3f74e3b7f80757b493bdce3d13178043513ea102
[ "Apache-2.0" ]
null
null
null
from abc import abstractproperty, abstractmethod import capstone as cs class Instruction(object): """Capstone-like instruction to be used internally """ @property @abstractmethod def address(self): pass @property @abstractmethod def mnemonic(self): pass @property...
22.829787
65
0.640727
235
2,146
5.774468
0.378723
0.100221
0.128961
0.110538
0.292557
0.170965
0.170965
0.170965
0.170965
0.092852
0
0.000649
0.282386
2,146
93
66
23.075269
0.880519
0.321994
0
0.461538
0
0
0.026667
0
0
0
0
0.010753
0
1
0.230769
false
0.134615
0.038462
0
0.365385
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
1
0
1
0
0
0
0
0
3
0cedec85e34947069a16cfe92eff78dfd10b3ddb
107
py
Python
7 kyu/Disemvowel Trolls/Disemvowel Trolls.py
anthonyjatoba/codewars
76b0d66dd1ba76a4d136b658920cdf85fd5c4b06
[ "MIT" ]
null
null
null
7 kyu/Disemvowel Trolls/Disemvowel Trolls.py
anthonyjatoba/codewars
76b0d66dd1ba76a4d136b658920cdf85fd5c4b06
[ "MIT" ]
null
null
null
7 kyu/Disemvowel Trolls/Disemvowel Trolls.py
anthonyjatoba/codewars
76b0d66dd1ba76a4d136b658920cdf85fd5c4b06
[ "MIT" ]
null
null
null
def disemvowel(string): for v in 'aeiouAEIOU': string = string.replace(v, '') return string
26.75
38
0.626168
13
107
5.153846
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.252336
107
4
39
26.75
0.8375
0
0
0
0
0
0.092593
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
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
0
0
0
0
3
0cf120b9ed88b3695431646c93f45f913af0d3da
331
py
Python
CAIL2020/cocr/torchocr/datasets/det_modules/__init__.py
ShenDezhou/CAIL
c4cfa98ab4ecedbce34a7a5a186830486047540c
[ "Apache-2.0" ]
71
2020-07-16T01:49:27.000Z
2022-03-27T16:55:00.000Z
CAIL2020/cocr/torchocr/datasets/det_modules/__init__.py
ShenDezhou/CAIL
c4cfa98ab4ecedbce34a7a5a186830486047540c
[ "Apache-2.0" ]
11
2020-09-18T14:26:25.000Z
2022-02-09T23:49:33.000Z
CAIL2020/cocr/torchocr/datasets/det_modules/__init__.py
ShenDezhou/CAIL
c4cfa98ab4ecedbce34a7a5a186830486047540c
[ "Apache-2.0" ]
16
2020-07-15T07:24:30.000Z
2022-03-19T05:41:11.000Z
# -*- coding: utf-8 -*- # @Time : 2019/12/4 10:53 # @Author : THU """ 此模块包含了检测算法的图片预处理组件,如随机裁剪,随机缩放,随机旋转,label制作等 """ from .iaa_augment import IaaAugment from .augment import * from .random_crop_data import EastRandomCropData,PSERandomCrop from .make_border_map import MakeBorderMap from .make_shrink_map import Mak...
25.461538
62
0.767372
43
331
5.744186
0.744186
0.105263
0
0
0
0
0
0
0
0
0
0.041522
0.126888
331
12
63
27.583333
0.813149
0.326284
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
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
1
0
1
0
1
0
0
3
0b283cdcdb096fa155a7582691ad256e1838b2ca
252
py
Python
hitbtcapi/compat.py
aopina1/HitBTC_API
6762407c5cc6636d0b6c9fdae8f221733a84aa24
[ "MIT" ]
12
2018-04-13T12:49:23.000Z
2021-11-20T06:20:46.000Z
hitbtcapi/compat.py
aopina1/HitBTC_API
6762407c5cc6636d0b6c9fdae8f221733a84aa24
[ "MIT" ]
1
2019-03-07T06:29:25.000Z
2019-03-07T06:29:25.000Z
hitbtcapi/compat.py
aopina1/HitBTC_API
6762407c5cc6636d0b6c9fdae8f221733a84aa24
[ "MIT" ]
6
2018-06-23T15:53:42.000Z
2021-01-22T02:27:02.000Z
# coding: utf-8 import inspect import six if six.PY2: from itertools import imap from urllib import quote from urlparse import urlparse elif six.PY3: imap = map from urllib.parse import quote from urllib.parse import urlparse
18
37
0.722222
37
252
4.918919
0.486486
0.164835
0.164835
0.230769
0
0
0
0
0
0
0
0.015625
0.238095
252
13
38
19.384615
0.932292
0.051587
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.7
0
0.7
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
0b5307eda66551a7e13055ef2b35924e935a05c3
648
py
Python
scaleapi/evaluation_tasks.py
scaleapi/scaleapi-python-client
5c38b89ca76a1b935288761d962094822034d6cb
[ "Apache-2.0" ]
43
2016-10-18T04:02:18.000Z
2022-02-24T22:54:19.000Z
scaleapi/evaluation_tasks.py
scaleapi/scaleapi-python-client
5c38b89ca76a1b935288761d962094822034d6cb
[ "Apache-2.0" ]
12
2017-05-03T03:54:53.000Z
2022-02-09T01:36:54.000Z
scaleapi/evaluation_tasks.py
scaleapi/scaleapi-python-client
5c38b89ca76a1b935288761d962094822034d6cb
[ "Apache-2.0" ]
27
2017-03-14T18:20:00.000Z
2021-09-16T17:49:45.000Z
class EvaluationTask: """EvaluationTask class, containing EvaluationTask information.""" def __init__(self, json, client): self._json = json self.id = json["id"] self.initial_response = getattr(json, "initial_response", None) self.expected_response = json["expected_response"] ...
28.173913
71
0.638889
73
648
5.328767
0.369863
0.082262
0.046272
0.128535
0
0
0
0
0
0
0
0
0.24537
648
22
72
29.454545
0.795501
0.152778
0
0
0
0
0.169145
0.104089
0
0
0
0
0
1
0.333333
false
0
0
0.2
0.666667
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
0b5ae682351da51bb5dc616b9d725febe886d2ab
3,068
py
Python
aliyun-python-sdk-emr/aliyunsdkemr/request/v20160408/DumpMetaDataSourceForOuterRequest.py
bricklayer-Liu/aliyun-openapi-python-sdk
20da2554de22679fc7c5462c483663e4d79512aa
[ "Apache-2.0" ]
1
2021-03-08T02:59:17.000Z
2021-03-08T02:59:17.000Z
aliyun-python-sdk-emr/aliyunsdkemr/request/v20160408/DumpMetaDataSourceForOuterRequest.py
bricklayer-Liu/aliyun-openapi-python-sdk
20da2554de22679fc7c5462c483663e4d79512aa
[ "Apache-2.0" ]
null
null
null
aliyun-python-sdk-emr/aliyunsdkemr/request/v20160408/DumpMetaDataSourceForOuterRequest.py
bricklayer-Liu/aliyun-openapi-python-sdk
20da2554de22679fc7c5462c483663e4d79512aa
[ "Apache-2.0" ]
null
null
null
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
34.863636
90
0.769557
387
3,068
5.919897
0.315245
0.02357
0.054998
0.066783
0.121781
0.121781
0.121781
0
0
0
0
0.006372
0.130378
3,068
88
91
34.863636
0.852324
0.245763
0
0
0
0
0.142028
0.011612
0
0
0
0
0
1
0.395833
false
0
0.041667
0.1875
0.645833
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
0b5e6ce71344c754d3ad4981179a4231d435f26c
226
py
Python
EDMScripts/ManualStateSelector.py
jstammers/EDMSuite
2841c0edef32a496855ca41deaa0f710b017ae2f
[ "MIT" ]
6
2017-02-02T17:54:23.000Z
2021-07-03T12:41:36.000Z
EDMScripts/ManualStateSelector.py
jstammers/EDMSuite
2841c0edef32a496855ca41deaa0f710b017ae2f
[ "MIT" ]
null
null
null
EDMScripts/ManualStateSelector.py
jstammers/EDMSuite
2841c0edef32a496855ca41deaa0f710b017ae2f
[ "MIT" ]
11
2015-03-19T18:23:38.000Z
2021-02-18T11:05:51.000Z
from System import Random rand = Random() def randomBool(): if rand.Next(0,2) < 1: return "True" else: return "False" def run_script(): print("(" + randomBool() + ", " + randomBool() + ", " + randomBool() + ")" )
15.066667
77
0.579646
26
226
5
0.730769
0.307692
0
0
0
0
0
0
0
0
0
0.016949
0.216814
226
14
78
16.142857
0.717514
0
0
0
0
0
0.066964
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.555556
0.111111
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
0b6553ea027221c317d66767ff4781f228bd10eb
94
py
Python
helios/store/tests/__init__.py
panosl/helios
22ceb736709aaa336def81d801797d72321a737e
[ "BSD-3-Clause" ]
2
2021-01-26T02:37:19.000Z
2021-12-02T14:15:22.000Z
helios/store/tests/__init__.py
panosl/helios
22ceb736709aaa336def81d801797d72321a737e
[ "BSD-3-Clause" ]
null
null
null
helios/store/tests/__init__.py
panosl/helios
22ceb736709aaa336def81d801797d72321a737e
[ "BSD-3-Clause" ]
null
null
null
from helios.store.tests.cart import CART_TESTS __test__ = { 'CART_TESTS': CART_TESTS, }
13.428571
46
0.723404
13
94
4.692308
0.538462
0.442623
0
0
0
0
0
0
0
0
0
0
0.170213
94
6
47
15.666667
0.782051
0
0
0
0
0
0.106383
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0b6c46970e7fae680de602fd27ea491690157796
50,175
py
Python
mypy/types.py
bavardage/mypy
b116b6844a40d57eac23e5254b221aa79ea69094
[ "PSF-2.0" ]
1
2021-08-23T21:06:32.000Z
2021-08-23T21:06:32.000Z
mypy/types.py
bavardage/mypy
b116b6844a40d57eac23e5254b221aa79ea69094
[ "PSF-2.0" ]
null
null
null
mypy/types.py
bavardage/mypy
b116b6844a40d57eac23e5254b221aa79ea69094
[ "PSF-2.0" ]
null
null
null
"""Classes for representing mypy types.""" from abc import abstractmethod import copy from typing import ( Any, TypeVar, Dict, List, Tuple, cast, Generic, Set, Sequence, Optional, Union ) import mypy.nodes from mypy.nodes import INVARIANT, SymbolNode from mypy import experiments T = TypeVar('T') JsonDict = Di...
33.651911
99
0.6001
6,293
50,175
4.650564
0.091212
0.013155
0.015684
0.013668
0.383483
0.32478
0.250803
0.163671
0.143614
0.129263
0
0.002007
0.295007
50,175
1,490
100
33.674497
0.825347
0.216941
0
0.316969
0
0
0.057248
0
0
0
0
0.002013
0.023479
1
0.214514
false
0.018143
0.007471
0.109925
0.503735
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
0b7ae0e628e0def3b7be3cd9371f36738267282e
260
py
Python
airtable/perform_request.py
jlouie95618/airtable-python
dafdbb2028bbf63a2a1c1daa3e8adf5db7d071bd
[ "MIT" ]
2
2015-09-20T13:43:05.000Z
2016-04-12T02:48:50.000Z
airtable/perform_request.py
jlouie95618/airtable-python
dafdbb2028bbf63a2a1c1daa3e8adf5db7d071bd
[ "MIT" ]
null
null
null
airtable/perform_request.py
jlouie95618/airtable-python
dafdbb2028bbf63a2a1c1daa3e8adf5db7d071bd
[ "MIT" ]
null
null
null
import requests def performRequest(): header = { 'Authorization': 'Bearer keyrpG4FPpEqZ0ubg'} r = requests.get('https://api.airtable.com/v0/app9uvKeuVL1pOfCD/Cuisines/recgruzSZ0BvRB63q', headers = header) print r print r.text performRequest()
28.888889
114
0.734615
27
260
7.074074
0.777778
0.062827
0
0
0
0
0
0
0
0
0
0.036036
0.146154
260
9
115
28.888889
0.824324
0
0
0
0
0
0.417625
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.285714
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
1
0
0
0
0
0
0
0
0
3
0badd93e16eff8024db03e59cd8ff370d92844f5
415
py
Python
dropbox_problem/problem_8.py
loftwah/Daily-Coding-Problem
0327f0b4f69ef419436846c831110795c7a3c1fe
[ "MIT" ]
129
2018-10-14T17:52:29.000Z
2022-01-29T15:45:57.000Z
dropbox_problem/problem_8.py
loftwah/Daily-Coding-Problem
0327f0b4f69ef419436846c831110795c7a3c1fe
[ "MIT" ]
2
2019-11-30T23:28:23.000Z
2020-01-03T16:30:32.000Z
dropbox_problem/problem_8.py
loftwah/Daily-Coding-Problem
0327f0b4f69ef419436846c831110795c7a3c1fe
[ "MIT" ]
60
2019-02-21T09:18:31.000Z
2022-03-25T21:01:04.000Z
"""This problem was asked by Dropbox. Given a list of words, determine whether the words can be chained to form a circle. A word X can be placed in front of another word Y in a circle if the last character of X is same as the first character of Y. For example, the words ['chair', 'height', 'racket', touch', 'tunic'...
51.875
84
0.703614
71
415
4.112676
0.591549
0.054795
0
0
0
0
0
0
0
0
0
0
0.192771
415
8
85
51.875
0.871642
0.985542
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
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
3
0baea31e34c0cc50f2feaf646fd4265f07656e22
870
py
Python
projects/ia-algorithms/states.py
ricktrovato/PyScientific
0d6b8ed40e79817ff37b3d3a77bf42bb16217e73
[ "MIT" ]
null
null
null
projects/ia-algorithms/states.py
ricktrovato/PyScientific
0d6b8ed40e79817ff37b3d3a77bf42bb16217e73
[ "MIT" ]
null
null
null
projects/ia-algorithms/states.py
ricktrovato/PyScientific
0d6b8ed40e79817ff37b3d3a77bf42bb16217e73
[ "MIT" ]
null
null
null
class State: def __init__(self, element = None): if element == None: # create initial state self.element = self.get_initial_state() else: self.element = element def get_initial_state(self): """ Este metodo retorna o estado incial da busca...
27.1875
72
0.583908
97
870
5.113402
0.536082
0.110887
0.064516
0
0
0
0
0
0
0
0
0
0.348276
870
31
73
28.064516
0.87478
0.324138
0
0
0
0
0.014199
0
0
0
0
0.096774
0
1
0.307692
false
0
0
0
0.615385
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
1
0
0
0
0
1
0
0
3
0bb1a4837654146a82ca092954d2ee4a129b663a
132
py
Python
src/general_utility/lib_util.py
se4u/mvlsa
19b91d190466b94b3eea72a6fcd43ac623b71a0e
[ "MIT" ]
12
2015-08-07T10:11:32.000Z
2021-04-16T02:42:58.000Z
src/general_utility/lib_util.py
se4u/mvlsa
19b91d190466b94b3eea72a6fcd43ac623b71a0e
[ "MIT" ]
1
2015-06-22T16:52:13.000Z
2015-06-22T16:52:13.000Z
src/general_utility/lib_util.py
se4u/mvlsa
19b91d190466b94b3eea72a6fcd43ac623b71a0e
[ "MIT" ]
6
2015-06-14T17:39:36.000Z
2021-04-16T02:42:59.000Z
def count_and_print(f, l): c=0 for e in l: f.write(e) f.write("\n") c+=1 f.close() return c
14.666667
26
0.439394
24
132
2.333333
0.666667
0.214286
0
0
0
0
0
0
0
0
0
0.025641
0.409091
132
8
27
16.5
0.692308
0
0
0
0
0
0.015152
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0.125
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e7e374f2f6f65878955f87ae52d3ad7480eb984d
186
py
Python
tests/_support/namespacing.py
crazy-penguins/raft
3eb829f1c0d90608743cadac4c5a04017c93c607
[ "BSD-2-Clause" ]
null
null
null
tests/_support/namespacing.py
crazy-penguins/raft
3eb829f1c0d90608743cadac4c5a04017c93c607
[ "BSD-2-Clause" ]
null
null
null
tests/_support/namespacing.py
crazy-penguins/raft
3eb829f1c0d90608743cadac4c5a04017c93c607
[ "BSD-2-Clause" ]
null
null
null
from raft import Collection, task, call from package import module @task def top_pre(c): pass @task(call(top_pre)) def toplevel(c): pass ns = Collection(module, toplevel)
10.941176
39
0.704301
28
186
4.607143
0.535714
0.124031
0
0
0
0
0
0
0
0
0
0
0.198925
186
16
40
11.625
0.865772
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.222222
false
0.222222
0.222222
0
0.444444
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
1
0
1
0
0
0
0
0
3
e7e79ace5dc23236a9f10589e8e5e659d94c8209
146
py
Python
dissector/apps.py
ebrent8/clear-linux-dissector-web
45f1f9b5a5753ab8b14ed3c99f1c9e68bb97a47c
[ "MIT" ]
3
2019-05-12T21:11:53.000Z
2019-09-15T18:11:21.000Z
dissector/apps.py
ebrent8/clear-linux-dissector-web
45f1f9b5a5753ab8b14ed3c99f1c9e68bb97a47c
[ "MIT" ]
21
2019-06-26T05:01:01.000Z
2022-03-11T23:47:21.000Z
dissector/apps.py
ebrent8/clear-linux-dissector-web
45f1f9b5a5753ab8b14ed3c99f1c9e68bb97a47c
[ "MIT" ]
8
2019-06-13T08:51:12.000Z
2021-02-17T11:14:46.000Z
from django.apps import AppConfig class ClearLinuxDissectorConfig(AppConfig): name = 'dissector' verbose_name = 'Clear Linux Dissector'
20.857143
43
0.767123
15
146
7.4
0.8
0
0
0
0
0
0
0
0
0
0
0
0.164384
146
6
44
24.333333
0.909836
0
0
0
0
0
0.205479
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
e7f03ca24c5ea04812cc5ab1f2a3aaa50ea2f653
1,352
py
Python
t/02-run.py
jeffa/window-viewport
7eadeb24c08418473d9ab3e1c88770a6fef89487
[ "MIT" ]
null
null
null
t/02-run.py
jeffa/window-viewport
7eadeb24c08418473d9ab3e1c88770a6fef89487
[ "MIT" ]
null
null
null
t/02-run.py
jeffa/window-viewport
7eadeb24c08418473d9ab3e1c88770a6fef89487
[ "MIT" ]
null
null
null
import unittest from math import sin #import window.viewport from window.viewport import viewport class TestLoad(unittest.TestCase): def test_defaults(self): w2v = viewport( Wb = 0, Wt = 1, Wl = 0, Wr = 1, Vb = 9, Vt = 0, Vl = 0, Vr = 9 ) self.assertEqual( w2v.Dx(.5), 4.5, 'correct Dx()' ) ...
33.8
88
0.54142
222
1,352
3.256757
0.198198
0.248963
0.273859
0.319502
0.452282
0.42047
0.42047
0.24758
0.24758
0.127248
0
0.066941
0.281805
1,352
39
89
34.666667
0.677652
0.016272
0
0.166667
0
0
0.21219
0
0
0
0
0
0.4
1
0.033333
false
0
0.1
0
0.166667
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e7f73de4c3b1206ddb084491790ac4e8d1dd724f
851
py
Python
StaticMethods/PopulationCorrelationCoefficient.py
KaranShah197/Statistical-Calculator
797d452b2934939353eb93a61b0ec7a4e5910c3d
[ "MIT" ]
null
null
null
StaticMethods/PopulationCorrelationCoefficient.py
KaranShah197/Statistical-Calculator
797d452b2934939353eb93a61b0ec7a4e5910c3d
[ "MIT" ]
null
null
null
StaticMethods/PopulationCorrelationCoefficient.py
KaranShah197/Statistical-Calculator
797d452b2934939353eb93a61b0ec7a4e5910c3d
[ "MIT" ]
null
null
null
from StaticMethods.Exceptions import exception from StaticMethods.CalulcateMean import calMean from StaticMethods.PopulationStandardDeviation import stddev from StaticMethods.addition import addition from StaticMethods.division import division from StaticMethods.multiplication import multiplication from StaticMethods.r...
32.730769
139
0.761457
95
851
6.821053
0.336842
0.209877
0
0
0
0
0
0
0
0
0
0.002793
0.158637
851
25
140
34.04
0.902235
0.043478
0
0
0
0
0
0
0
0
0
0
0
1
0.052632
false
0
0.421053
0
0.526316
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
e7feee87b3264e9e085df60b9a9161b7a453d29c
322
py
Python
HLTrigger/Configuration/python/HLT_75e33/modules/hltEgammaGsfElectronsUnseeded_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:24:46.000Z
2021-11-30T16:24:46.000Z
HLTrigger/Configuration/python/HLT_75e33/modules/hltEgammaGsfElectronsUnseeded_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
4
2021-11-29T13:57:56.000Z
2022-03-29T06:28:36.000Z
HLTrigger/Configuration/python/HLT_75e33/modules/hltEgammaGsfElectronsUnseeded_cfi.py
PKUfudawei/cmssw
8fbb5ce74398269c8a32956d7c7943766770c093
[ "Apache-2.0" ]
1
2021-11-30T16:16:05.000Z
2021-11-30T16:16:05.000Z
import FWCore.ParameterSet.Config as cms hltEgammaGsfElectronsUnseeded = cms.EDProducer("EgammaHLTPixelMatchElectronProducers", BSProducer = cms.InputTag("hltOnlineBeamSpot"), GsfTrackProducer = cms.InputTag("hltEgammaGsfTracksUnseeded"), TrackProducer = cms.InputTag(""), UseGsfTracks = cms.bool(True) ...
35.777778
86
0.779503
25
322
10.04
0.72
0.131474
0
0
0
0
0
0
0
0
0
0
0.114907
322
8
87
40.25
0.880702
0
0
0
0
0
0.245342
0.192547
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
1
0
1
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
3
e7feff0ac2d1fa1d4e684383aac3b68beba895dd
251
py
Python
{{cookiecutter.repo_name}}/project/apps/main/views/__init__.py
DC23/simple-django-cookiecutter
8cb43f8f29aae5c237e94f7c9ceb706d239629eb
[ "MIT" ]
null
null
null
{{cookiecutter.repo_name}}/project/apps/main/views/__init__.py
DC23/simple-django-cookiecutter
8cb43f8f29aae5c237e94f7c9ceb706d239629eb
[ "MIT" ]
null
null
null
{{cookiecutter.repo_name}}/project/apps/main/views/__init__.py
DC23/simple-django-cookiecutter
8cb43f8f29aae5c237e94f7c9ceb706d239629eb
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Ignore unused imports warning # pylama: ignore=W0611 # You must import all views here from .index import IndexView from .er import ErView # Dev views, remove later from .debug import DebugView from .lorem import LoremView
19.307692
32
0.74502
36
251
5.194444
0.75
0
0
0
0
0
0
0
0
0
0
0.024155
0.175299
251
12
33
20.916667
0.879227
0.505976
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
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
1
0
1
0
1
0
0
3
f0025f721b30ca2ce633f4ee7f5a7c39b0186ca1
154
py
Python
tests/test_multi_group.py
astrojhgu/rt1d
cb49510ae9850d1491dcf9336e3994fb1b153438
[ "MIT" ]
null
null
null
tests/test_multi_group.py
astrojhgu/rt1d
cb49510ae9850d1491dcf9336e3994fb1b153438
[ "MIT" ]
null
null
null
tests/test_multi_group.py
astrojhgu/rt1d
cb49510ae9850d1491dcf9336e3994fb1b153438
[ "MIT" ]
null
null
null
""" test_multi_group.py Author: Jordan Mirocha Affiliation: University of Colorado at Boulder Created on: Sun Mar 24 01:04:54 2013 Description: """
11.846154
46
0.746753
23
154
4.913043
1
0
0
0
0
0
0
0
0
0
0
0.09375
0.168831
154
12
47
12.833333
0.789063
0.915584
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
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
3
f00df5f25030ac0a2b5538d5f3c23e0bea9b19d5
272
py
Python
nmd.py
gdmgent-1819-iot/labo1-nawatend
7c1ef2eb7119cafa42209b564f6cae2d42f836b0
[ "X11" ]
null
null
null
nmd.py
gdmgent-1819-iot/labo1-nawatend
7c1ef2eb7119cafa42209b564f6cae2d42f836b0
[ "X11" ]
null
null
null
nmd.py
gdmgent-1819-iot/labo1-nawatend
7c1ef2eb7119cafa42209b564f6cae2d42f836b0
[ "X11" ]
null
null
null
from sense_hat import SenseHat import random import time sense = SenseHat() while True: for i in ("N", "M","D"): c = (random.randint(1,256),random.randint(1,256),random.randint(1,256)) sense.show_letter(str(i),text_colour=c) time.sleep(1) time.sleep(2)
19.428571
75
0.676471
46
272
3.934783
0.565217
0.21547
0.232044
0.281768
0.281768
0.281768
0.281768
0.281768
0
0
0
0.061135
0.158088
272
14
76
19.428571
0.729258
0
0
0
0
0
0.010989
0
0
0
0
0
0
1
0
false
0
0.3
0
0.3
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f01419050b178f3d53bc62df8d91f430e02178dd
5,180
py
Python
src/CIQS-CLI-Extension/cloudintelligencequickstart/models/__init__.py
Azure/CIQS-Azure-Cli-Extension
1203b3180f9d5a6db2ba443f437d115e996fb5be
[ "MIT" ]
1
2020-06-01T13:59:38.000Z
2020-06-01T13:59:38.000Z
src/CIQS-CLI-Extension/cloudintelligencequickstart/models/__init__.py
Azure/CIQS-Azure-Cli-Extension
1203b3180f9d5a6db2ba443f437d115e996fb5be
[ "MIT" ]
2
2018-06-02T00:06:53.000Z
2018-07-20T21:00:47.000Z
src/CIQS-CLI-Extension/cloudintelligencequickstart/models/__init__.py
Azure/CIQS-Azure-Cli-Extension
1203b3180f9d5a6db2ba443f437d115e996fb5be
[ "MIT" ]
2
2018-06-01T19:18:51.000Z
2021-01-10T10:56:29.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from ...
70.958904
219
0.883591
346
5,180
12.739884
0.320809
0.088476
0.115699
0.146098
0.232305
0.09755
0.050817
0.050817
0
0
0
0.000206
0.061004
5,180
72
220
71.944444
0.906044
0.058108
0
0
1
0
0.271757
0.271757
0
0
0
0
0
1
0
false
0
0.484375
0
0.484375
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f0159487a3a208ba68c8a303eea3ea7840eec52c
1,883
py
Python
xquant/engine/commission.py
wbpyer/wbpyer
43ec15ce55994766a7c2948f353aeb205a774008
[ "MIT" ]
2
2019-10-16T11:09:08.000Z
2021-02-23T01:37:52.000Z
xquant/engine/commission.py
wbpyer/wbpyer
43ec15ce55994766a7c2948f353aeb205a774008
[ "MIT" ]
null
null
null
xquant/engine/commission.py
wbpyer/wbpyer
43ec15ce55994766a7c2948f353aeb205a774008
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Commission 佣金+费税模型 New in V0.3.4 @author: @version: 0.4 """ from abc import ABCMeta, abstractmethod import math class Commission(object): """ 佣金和费税 """ __metaclass__ = ABCMeta @abstractmethod def get_commission(self): raise NotImplementedError("Should im...
23.835443
97
0.65693
235
1,883
4.86383
0.331915
0.091864
0.057743
0.069991
0.328959
0.328959
0.194226
0.194226
0.194226
0.194226
0
0.023129
0.219331
1,883
78
98
24.141026
0.754422
0.144981
0
0.15625
0
0
0.114865
0.082432
0
0
0
0
0
1
0.28125
false
0.03125
0.0625
0.1875
0.71875
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
f02c92f2dcbc7590e749bce523e634fee163add1
136
py
Python
data/IdeKey.py
gringofe/ulauncher-jetbrains-reloaded
7b5e0ae8de89bc486ed6b479bdbcd12689168507
[ "MIT" ]
null
null
null
data/IdeKey.py
gringofe/ulauncher-jetbrains-reloaded
7b5e0ae8de89bc486ed6b479bdbcd12689168507
[ "MIT" ]
null
null
null
data/IdeKey.py
gringofe/ulauncher-jetbrains-reloaded
7b5e0ae8de89bc486ed6b479bdbcd12689168507
[ "MIT" ]
null
null
null
""" Contains IdeKey type """ from typing import Literal IdeKey = Literal["clion", "idea", "phpstorm", "pycharm", "rider", "webstorm"]
22.666667
77
0.669118
15
136
6.066667
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.139706
136
5
78
27.2
0.777778
0.147059
0
0
0
0
0.342593
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f04a6e3e29fcd33e65d5c849f0ffb87ee4c5aa33
114
py
Python
Desafio16.py
sergioboff/Desafios-Curso-em-Video
f876396635b12c00bdd9523758364bbebfd70ae0
[ "MIT" ]
null
null
null
Desafio16.py
sergioboff/Desafios-Curso-em-Video
f876396635b12c00bdd9523758364bbebfd70ae0
[ "MIT" ]
null
null
null
Desafio16.py
sergioboff/Desafios-Curso-em-Video
f876396635b12c00bdd9523758364bbebfd70ae0
[ "MIT" ]
null
null
null
import math num = float (input('Digite um numero Real: ')) print ('O número inteiro é {}'.format(math.floor(num)))
38
55
0.692982
18
114
4.388889
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.131579
114
3
55
38
0.79798
0
0
0
0
0
0.382609
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f0553277b94344e5efba24dda486ea85a03637fc
521
py
Python
utest/application/plugins_for_loader/plugin_module.py
crylearner/RIDE3X
767f45b0c908f18ecc7473208def8dc7489f43b0
[ "ECL-2.0", "Apache-2.0" ]
1
2017-08-20T14:46:02.000Z
2017-08-20T14:46:02.000Z
utest/application/plugins_for_loader/plugin_module.py
crylearner/RIDE3X
767f45b0c908f18ecc7473208def8dc7489f43b0
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
utest/application/plugins_for_loader/plugin_module.py
crylearner/RIDE3X
767f45b0c908f18ecc7473208def8dc7489f43b0
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
from robotide.pluginapi import Plugin class ExamplePlugin1(Plugin): def __init__(self, application): Plugin.__init__(self, application) class ExamplePlugin2(Plugin): def __init__(self, application): Plugin.__init__(self, application) def turn_off(self, name): se...
22.652174
49
0.6238
60
521
4.983333
0.416667
0.107023
0.254181
0.113712
0.354515
0.354515
0.354515
0.354515
0.354515
0
0
0.005405
0.289827
521
22
50
23.681818
0.802703
0
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.071429
0
0.642857
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
0
1
0
0
3
b2b4fcaa06e9b8bf37d56b53f8e4d205e960bc6c
2,507
py
Python
tests.py
sandeep-gh/tailwind-tags
2ba139efada7e7c58daf74d624a39fdc494816cb
[ "MIT" ]
null
null
null
tests.py
sandeep-gh/tailwind-tags
2ba139efada7e7c58daf74d624a39fdc494816cb
[ "MIT" ]
null
null
null
tests.py
sandeep-gh/tailwind-tags
2ba139efada7e7c58daf74d624a39fdc494816cb
[ "MIT" ]
null
null
null
from tailwind_tags import * import tailwind_tags as tt #res = get_styReport(text/gray/6, mr/sb/2, mr/x/auto, W/6, G/cols/6) from addict import Dict #res = get_styReport(mr/4) res = tstr(sw/pink/"600/80") # r = fw.normal #pd/5 # resize/x/5 # res = r.keyvaleval() print(res) # dictionary from class name to abbrv used in...
24.821782
76
0.561627
373
2,507
3.705094
0.348525
0.065123
0.021708
0.026049
0.088278
0.062229
0
0
0
0
0
0.027168
0.236538
2,507
100
77
25.07
0.69488
0.884324
0
0
0
0
0.028037
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
b2d15d46979068deb6da2400371f8a30f44103ea
479
py
Python
count_bits.py
DemetriusStorm/100daysofcode
ce87a596b565c5740ae3c48adac91cba779b3833
[ "MIT" ]
null
null
null
count_bits.py
DemetriusStorm/100daysofcode
ce87a596b565c5740ae3c48adac91cba779b3833
[ "MIT" ]
null
null
null
count_bits.py
DemetriusStorm/100daysofcode
ce87a596b565c5740ae3c48adac91cba779b3833
[ "MIT" ]
null
null
null
""" Write a function that takes an integer as input, and returns the number of bits that are equal to one in the binary representation of that number. You can guarantee that input is non-negative. Example: The binary representation of 1234 is 10011010010, so the function should return 5 in this case """ def count_bit...
28.176471
115
0.749478
86
479
4.104651
0.593023
0.152975
0.1983
0.141643
0
0
0
0
0
0
0
0.05679
0.154489
479
16
116
29.9375
0.814815
0.617954
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0.142857
0.285714
0.714286
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
1
0
3
b2d849ba980442faadf31ce9d66914db758ef67a
174
py
Python
andrew_li_django_website/andrew_site/settings/dev.py
Zeyu-Li/django_login
88d0b71e780e71c8f94ce9555192598c07c128b6
[ "MIT" ]
1
2019-06-05T17:11:00.000Z
2019-06-05T17:11:00.000Z
andrew_li_django_website/andrew_site/settings/dev.py
Zeyu-Li/django_ecommerse_app_deprecated
88d0b71e780e71c8f94ce9555192598c07c128b6
[ "MIT" ]
2
2019-05-31T17:14:14.000Z
2019-06-05T17:04:37.000Z
andrew_li_django_website/andrew_site/settings/dev.py
Zeyu-Li/django_ecommerse_app_deprecated
88d0b71e780e71c8f94ce9555192598c07c128b6
[ "MIT" ]
2
2019-05-22T17:44:52.000Z
2019-06-07T17:35:30.000Z
from andrew_site.settings.base import * # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = 'a0oe6rx_q$6_or^+jw1zvw+uxq_t1+xn08#3&kd19p$4#hniyt'
34.8
66
0.787356
30
174
4.4
0.9
0.136364
0
0
0
0
0
0
0
0
0
0.070968
0.109195
174
4
67
43.5
0.780645
0.367816
0
0
0
0
0.462963
0.462963
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b2e44c9bc71c86c0f942c6a1dc7e6e28a8bb9bce
312
py
Python
Task2/03_personal-info.py
telecomprofi/Cisco-DevOps-MDP-02
f44173d468319a90dc6b7c5ea92cd6b8b3762b45
[ "Apache-2.0" ]
null
null
null
Task2/03_personal-info.py
telecomprofi/Cisco-DevOps-MDP-02
f44173d468319a90dc6b7c5ea92cd6b8b3762b45
[ "Apache-2.0" ]
null
null
null
Task2/03_personal-info.py
telecomprofi/Cisco-DevOps-MDP-02
f44173d468319a90dc6b7c5ea92cd6b8b3762b45
[ "Apache-2.0" ]
null
null
null
#03_personal-info.py space= " " firstName = input("What is your first name?") lastName = input("What is your last name?") location = input("What is your location?") age = input("What is your age?") print("Hi "+ firstName + space + lastName +"! Your location is "+ location + " and you are "+age + " years old!")
39
113
0.669872
46
312
4.521739
0.5
0.173077
0.211538
0.288462
0
0
0
0
0
0
0
0.007722
0.169872
312
7
114
44.571429
0.795367
0.060897
0
0
0
0
0.455479
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b2ec8d45c198c1263c6122c6bbec3944de9c6d70
814
py
Python
release/stubs.min/System/Runtime/InteropServices/__init___parts/GuidAttribute.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/System/Runtime/InteropServices/__init___parts/GuidAttribute.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/System/Runtime/InteropServices/__init___parts/GuidAttribute.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
class GuidAttribute: """ Supplies an explicit System.Guid when an automatic GUID is undesirable. GuidAttribute(guid: str) """ def ZZZ(self): """hardcoded/mock instance of the class""" return GuidAttribute() instance=ZZZ() """hardcoded/returns an instance of the class""" def __init__(self,*arg...
30.148148
215
0.681818
104
814
4.875
0.423077
0.029586
0.059172
0.112426
0.22288
0.22288
0.22288
0.22288
0.22288
0.22288
0
0
0.179361
814
26
216
31.307692
0.758982
0.455774
0
0.2
0
0
0
0
0
0
0
0
0
1
0.3
false
0.2
0
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
1
0
0
3
6511870d964056cf9883e3513ab19e3622715a7d
2,280
py
Python
ijson/backends/yajl2_c.py
simonw/ijson
f2ed122298a24b748f7a7f3c5dd197bba16b4421
[ "BSD-3-Clause" ]
394
2019-06-20T08:24:38.000Z
2022-03-31T23:20:51.000Z
ijson/backends/yajl2_c.py
simonw/ijson
f2ed122298a24b748f7a7f3c5dd197bba16b4421
[ "BSD-3-Clause" ]
67
2019-08-02T07:18:05.000Z
2022-03-16T13:47:00.000Z
ijson/backends/yajl2_c.py
simonw/ijson
f2ed122298a24b748f7a7f3c5dd197bba16b4421
[ "BSD-3-Clause" ]
34
2019-07-20T01:05:20.000Z
2022-03-19T07:32:05.000Z
# # Contributed by Rodrigo Tobar <rtobar@icrar.org> # # ICRAR - International Centre for Radio Astronomy Research # (c) UWA - The University of Western Australia, 2016 # Copyright by UWA (in the framework of the ICRAR) # ''' Wrapper for _yajl2 C extension module ''' from ijson import common, compat, utils from . impor...
32.112676
75
0.738596
333
2,280
4.753754
0.195195
0.114972
0.128869
0.065698
0.756159
0.753001
0.630449
0.630449
0.497789
0.366393
0
0.012251
0.140789
2,280
70
76
32.571429
0.795814
0.107456
0
0.363636
0
0
0.003958
0
0
0
0
0
0
1
0.272727
false
0
0.045455
0.090909
0.590909
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
651bd23a3c52dcbfe68daf8b4db86845bba58f38
21
py
Python
tests/pydecompile-test/decompiler-baselines/string_length.py
jaydeetay/pxt
aad1beaf15edc46e1327806367298cbc942dcbc1
[ "MIT" ]
977
2019-05-06T23:12:55.000Z
2022-03-29T19:11:44.000Z
tests/pydecompile-test/decompiler-baselines/string_length.py
jaydeetay/pxt
aad1beaf15edc46e1327806367298cbc942dcbc1
[ "MIT" ]
3,980
2019-05-09T20:48:14.000Z
2022-03-28T20:33:07.000Z
tests/pydecompile-test/decompiler-baselines/string_length.py
jaydeetay/pxt
aad1beaf15edc46e1327806367298cbc942dcbc1
[ "MIT" ]
306
2016-04-09T05:28:07.000Z
2019-05-02T14:23:29.000Z
x = "Okay" y = len(x)
10.5
10
0.47619
5
21
2
0.8
0
0
0
0
0
0
0
0
0
0
0
0.238095
21
2
11
10.5
0.625
0
0
0
0
0
0.181818
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
653e7b7882a6cac5af67e615cf5bad865f704e16
178
py
Python
src/dp/rest_api/v1/parsers/input/ratings/__init__.py
Michalesko/DP_API
73e27bf0bb06330d7903977d8cd4d1fdb57afaec
[ "MIT" ]
null
null
null
src/dp/rest_api/v1/parsers/input/ratings/__init__.py
Michalesko/DP_API
73e27bf0bb06330d7903977d8cd4d1fdb57afaec
[ "MIT" ]
null
null
null
src/dp/rest_api/v1/parsers/input/ratings/__init__.py
Michalesko/DP_API
73e27bf0bb06330d7903977d8cd4d1fdb57afaec
[ "MIT" ]
null
null
null
# coding: utf-8 __author__ = 'Miso' from postRateParser import post_user_rate_parser from postRatesParser import UserIntialRatingParser from getRateParser import get_rate_parser
29.666667
50
0.865169
22
178
6.590909
0.727273
0.137931
0
0
0
0
0
0
0
0
0
0.00625
0.101124
178
6
51
29.666667
0.9
0.073034
0
0
0
0
0.02439
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e8f829a0799e8f426890fdf8a375f16c04472ba9
1,540
py
Python
software/pynguin/pynguin/generation/stoppingconditions/maxtimestoppingcondition.py
se2p/artifact-pynguin-ssbse2020
32b5f4d27ef1b81e5c541471e98fa6e50f5ce8a6
[ "CC-BY-4.0" ]
3
2020-08-20T10:27:13.000Z
2021-11-02T20:28:16.000Z
software/pynguin/pynguin/generation/stoppingconditions/maxtimestoppingcondition.py
se2p/artifact-pynguin-ssbse2020
32b5f4d27ef1b81e5c541471e98fa6e50f5ce8a6
[ "CC-BY-4.0" ]
null
null
null
software/pynguin/pynguin/generation/stoppingconditions/maxtimestoppingcondition.py
se2p/artifact-pynguin-ssbse2020
32b5f4d27ef1b81e5c541471e98fa6e50f5ce8a6
[ "CC-BY-4.0" ]
null
null
null
# This file is part of Pynguin. # # Pynguin is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Pynguin is distributed in the ho...
34.222222
85
0.727273
219
1,540
4.990868
0.502283
0.025618
0.051235
0.05215
0.153705
0.153705
0.124428
0
0
0
0
0.009724
0.198701
1,540
44
86
35
0.876013
0.507143
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.055556
0.166667
0.055556
0.666667
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
1
0
0
3
3313582f0f4661e2168dd42d59a04ef8e197b715
127
py
Python
PBO_19188/Latihan4.1.list1.py
Fazlur9/PBO
357b739c0c20ed2aa0c3cc58d48bbae843e9e946
[ "MIT" ]
null
null
null
PBO_19188/Latihan4.1.list1.py
Fazlur9/PBO
357b739c0c20ed2aa0c3cc58d48bbae843e9e946
[ "MIT" ]
null
null
null
PBO_19188/Latihan4.1.list1.py
Fazlur9/PBO
357b739c0c20ed2aa0c3cc58d48bbae843e9e946
[ "MIT" ]
null
null
null
list1_int=[1,2,3,4,5,6] list_string=['info 1', 'info 2', 'info 3'] list_string=["PBO", "pemrograman web", "Grafika Komputer"]
42.333333
58
0.661417
23
127
3.521739
0.695652
0.246914
0
0
0
0
0
0
0
0
0
0.087719
0.102362
127
3
58
42.333333
0.622807
0
0
0
0
0
0.412698
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3319a400d91fa0653e4e0b83d6ce2a48f79d23f9
524
py
Python
common/utils.py
jakubrachwalski/PriceAlertService
820e724feaded12c365de97df3d8ad887e680b50
[ "MIT" ]
null
null
null
common/utils.py
jakubrachwalski/PriceAlertService
820e724feaded12c365de97df3d8ad887e680b50
[ "MIT" ]
null
null
null
common/utils.py
jakubrachwalski/PriceAlertService
820e724feaded12c365de97df3d8ad887e680b50
[ "MIT" ]
null
null
null
__author__ = 'Jakub Rachwalski' import re from passlib.hash import pbkdf2_sha512 class Utils: @staticmethod def email_is_valid(email: str) -> bool: EMAIL_REGEX = re.compile(r"[^@]+@[^@]+\.[^@]+") return True if EMAIL_REGEX.match(email) else False @staticmethod def hash_password(pass...
24.952381
67
0.675573
63
524
5.396825
0.52381
0.105882
0.105882
0
0
0
0
0
0
0
0
0.028846
0.206107
524
20
68
26.2
0.788462
0
0
0.214286
0
0
0.064886
0
0
0
0
0
0
1
0.214286
false
0.357143
0.142857
0.142857
0.642857
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
1
0
0
0
3
331d95f22dc19ad473b1d8cf36307d7554931d28
1,011
py
Python
proud/unification/interface.py
RemuLang/proud
8e833863a0cc915d8c6e588aa812b1c6d1842347
[ "MIT" ]
16
2020-01-13T12:36:33.000Z
2022-02-18T16:08:50.000Z
proud/unification/interface.py
RemuLang/proud
8e833863a0cc915d8c6e588aa812b1c6d1842347
[ "MIT" ]
5
2020-01-14T01:28:34.000Z
2020-01-20T12:43:26.000Z
proud/unification/interface.py
RemuLang/proud
8e833863a0cc915d8c6e588aa812b1c6d1842347
[ "MIT" ]
1
2022-02-18T16:08:54.000Z
2022-02-18T16:08:54.000Z
from proud.unification.type_encode import * from proud.unification.tc_make import make from contextlib import contextmanager import typing as t class TCState: def __init__(self): make(self) def push_level(self) -> Level: raise NotImplementedError def new_var(self, *props, Var=None, **kwa...
26.605263
76
0.641939
130
1,011
4.907692
0.453846
0.30094
0.296238
0.047022
0.087774
0.087774
0.087774
0
0
0
0
0
0.256182
1,011
37
77
27.324324
0.848404
0.063304
0
0.347826
0
0
0
0
0
0
0
0
0
1
0.391304
false
0
0.173913
0
0.608696
0
0
0
0
null
1
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
0
0
0
0
3
33293300412a4b98d1b9aac44eb4a06f676bf52f
10,879
py
Python
AoC20/day_03/__init__.py
a-recknagel/AoC20
7aa0013dc745bdc0ad357e1168b212bd065fd092
[ "MIT" ]
null
null
null
AoC20/day_03/__init__.py
a-recknagel/AoC20
7aa0013dc745bdc0ad357e1168b212bd065fd092
[ "MIT" ]
null
null
null
AoC20/day_03/__init__.py
a-recknagel/AoC20
7aa0013dc745bdc0ad357e1168b212bd065fd092
[ "MIT" ]
null
null
null
class Coord(tuple): def __add__(self, other): if isinstance(other, Coord) and len(self) == len(other): return Coord(i+j for i, j in zip(self, other)) def trees(inp, step: tuple): step = Coord(step) current = step while current[0] < len(inp): yield inp[current[0]][current[1]...
30.818697
64
0.020866
56
10,879
3.964286
0.482143
0.081081
0
0
0
0
0
0
0
0
0
0.000383
0.040537
10,879
353
65
30.818697
0.020885
0
0
0.005747
0
0
0.962776
0.920404
0
0
0
0
0
1
0.005747
false
0
0
0
0.011494
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
335ae3fec517e98135873e1648ce37ac4db01573
497
py
Python
greedypermutation/vizpoint.py
siddharthsheth/greedypermutation
a9637830c3f65250a1aa02480a381cfea2f64b90
[ "MIT" ]
6
2020-12-10T10:47:43.000Z
2021-11-04T15:37:04.000Z
greedypermutation/vizpoint.py
siddharthsheth/greedypermutation
a9637830c3f65250a1aa02480a381cfea2f64b90
[ "MIT" ]
2
2021-09-01T17:24:07.000Z
2021-09-01T17:24:14.000Z
greedypermutation/vizpoint.py
siddharthsheth/greedypermutation
a9637830c3f65250a1aa02480a381cfea2f64b90
[ "MIT" ]
2
2021-07-31T11:15:06.000Z
2021-09-02T17:33:41.000Z
from ds2viz.element import Circle class VizPoint(Circle): def __init__(self, x, y, radius = 1): super().__init__(radius) self.x, self.y = x, y self.align('center', (x,y)) def __iter__(self): yield self.x yield self.y def dist(self, other): return sum((a-b) ...
23.666667
67
0.56338
74
497
3.513514
0.459459
0.076923
0.069231
0.076923
0
0
0
0
0
0
0
0.014085
0.285714
497
20
68
24.85
0.71831
0
0
0
0
0
0.012072
0
0
0
0
0
0
1
0.333333
false
0
0.066667
0.2
0.666667
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
3362bac76293e635222932492e38a885869ea7c0
86
py
Python
Task/Loop-over-multiple-arrays-simultaneously/Python/loop-over-multiple-arrays-simultaneously-1.py
djgoku/RosettaCodeData
91df62d46142e921b3eacdb52b0316c39ee236bc
[ "Info-ZIP" ]
null
null
null
Task/Loop-over-multiple-arrays-simultaneously/Python/loop-over-multiple-arrays-simultaneously-1.py
djgoku/RosettaCodeData
91df62d46142e921b3eacdb52b0316c39ee236bc
[ "Info-ZIP" ]
null
null
null
Task/Loop-over-multiple-arrays-simultaneously/Python/loop-over-multiple-arrays-simultaneously-1.py
djgoku/RosettaCodeData
91df62d46142e921b3eacdb52b0316c39ee236bc
[ "Info-ZIP" ]
null
null
null
>>> print ( '\n'.join(''.join(x) for x in zip('abc', 'ABC', '123')) ) aA1 bB2 cC3 >>>
14.333333
69
0.488372
15
86
2.8
0.8
0
0
0
0
0
0
0
0
0
0
0.084507
0.174419
86
5
70
17.2
0.507042
0
0
0
0
0
0.127907
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
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
1
0
0
0
0
0
0
0
0
3
6828ca5e75a65b2d836dce8fde97303e4f0ad4b4
326
py
Python
Aperture/ApertureSquare.py
srio/BeamlineComponents
0fd107365f2ff3ec413df5ec6f4694a7903cbb94
[ "MIT" ]
null
null
null
Aperture/ApertureSquare.py
srio/BeamlineComponents
0fd107365f2ff3ec413df5ec6f4694a7903cbb94
[ "MIT" ]
null
null
null
Aperture/ApertureSquare.py
srio/BeamlineComponents
0fd107365f2ff3ec413df5ec6f4694a7903cbb94
[ "MIT" ]
null
null
null
""" Represents a square aperture. """ from BeamlineComponents.Aperture.ApertureRectangle import ApertureRectangle class ApertureSquare(ApertureRectangle): def __init__(self, side_length): AperatureRectangle.__init__(self, side_length, side_length) def sideLength(self): return self.lengthVerti...
25.076923
75
0.766871
31
326
7.709677
0.612903
0.125523
0.100418
0.150628
0
0
0
0
0
0
0
0
0.150307
326
12
76
27.166667
0.862816
0.088957
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
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
6843f206645cbb5b5599a4ccf84ae2f1e16e715e
11,305
py
Python
src/deep_dialog/nlu/evaltest.py
aaivu/aaivu-task-oriented-conversational-agent
99e4caf5b6d44c57b38a661dc176b76ed869b051
[ "Apache-2.0" ]
2
2021-02-18T19:03:06.000Z
2021-05-05T12:28:59.000Z
src/deep_dialog/nlu/evaltest.py
aaivu/aaivu-task-oriented-conversational-agent
99e4caf5b6d44c57b38a661dc176b76ed869b051
[ "Apache-2.0" ]
null
null
null
src/deep_dialog/nlu/evaltest.py
aaivu/aaivu-task-oriented-conversational-agent
99e4caf5b6d44c57b38a661dc176b76ed869b051
[ "Apache-2.0" ]
3
2020-12-07T13:59:36.000Z
2021-01-07T02:19:39.000Z
import csv, numpy import pandas as pd from math import isnan from rasa.test import get_evaluation_metrics from pipeline_ensemble import test_stack_pipelines, test_pipelines from pipeline_ensemble_preprocessing import DictComparison # itargets = ('greeting', 'greeting', 'greeting', 'confirm_answer', 'deny', 'deny', 't...
163.84058
2,519
0.650951
1,167
11,305
6.190231
0.161954
0.129568
0.153239
0.154485
0.589009
0.540421
0.446844
0.40144
0.370432
0.322398
0
0.019314
0.102344
11,305
68
2,520
166.25
0.69255
0.824326
0
0
0
0
0.319838
0.319838
0
0
0
0
0
1
0.021739
false
0.021739
0.130435
0
0.173913
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
684bc947e67c6297809b3d5495d48bf7b4801a78
742
py
Python
tdb/interface.py
KEVINYZY/tdb
df6b34f7a149914126f0f2c70ab74c2bc2e78723
[ "Apache-2.0" ]
1,527
2015-12-13T21:10:42.000Z
2022-02-20T00:11:57.000Z
tdb/interface.py
afcarl/tdb
5e78b5dbecf78b6d28eb2f5b67decf8d1f1eb17d
[ "Apache-2.0" ]
14
2015-12-29T02:54:04.000Z
2018-02-18T07:10:45.000Z
tdb/interface.py
afcarl/tdb
5e78b5dbecf78b6d28eb2f5b67decf8d1f1eb17d
[ "Apache-2.0" ]
184
2015-12-14T18:47:26.000Z
2021-07-09T10:24:43.000Z
""" top-level interface methods so user doesn't need to directly construct a dbsession """ import debug_session # default session _dbsession=None def debug(evals,feed_dict=None,breakpoints=None,break_immediately=False,session=None): """ spawns a new debug session """ global _dbsession _dbsession=debug_session.D...
19.025641
86
0.769542
101
742
5.415842
0.465347
0.137112
0.153565
0.219378
0.120658
0
0
0
0
0
0
0
0.132075
742
39
87
19.025641
0.849379
0.242588
0
0.277778
0
0
0
0
0
0
0
0
0
1
0.277778
false
0
0.055556
0
0.611111
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
684e83ed2754494b0b9937bd8413948661e593bd
128
py
Python
06 - Decisions/example1.py
gyratory/NPTfP3
7e070e2e7a01cd2b750914719f71476fe1efcf4d
[ "Unlicense" ]
null
null
null
06 - Decisions/example1.py
gyratory/NPTfP3
7e070e2e7a01cd2b750914719f71476fe1efcf4d
[ "Unlicense" ]
null
null
null
06 - Decisions/example1.py
gyratory/NPTfP3
7e070e2e7a01cd2b750914719f71476fe1efcf4d
[ "Unlicense" ]
null
null
null
# This program demonstrates the use of the == operator using numbers print (5 == 6) # Using variables x = 5 y = 8 print(x == y)
18.285714
68
0.671875
22
128
3.909091
0.727273
0
0
0
0
0
0
0
0
0
0
0.04
0.21875
128
6
69
21.333333
0.82
0.640625
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
6853794f53b4ee048349323624ba745ddda47340
304
py
Python
tests/smoke_testing_test.py
univerone/python-wechaty-getting-started
86dac7c2d5a6a182bcb1b642aeb6eea14f996bb0
[ "Apache-2.0" ]
1
2020-07-14T18:41:42.000Z
2020-07-14T18:41:42.000Z
tests/smoke_testing_test.py
univerone/python-wechaty-getting-started
86dac7c2d5a6a182bcb1b642aeb6eea14f996bb0
[ "Apache-2.0" ]
1
2021-12-13T20:43:51.000Z
2021-12-13T20:43:51.000Z
tests/smoke_testing_test.py
univerone/python-wechaty-getting-started
86dac7c2d5a6a182bcb1b642aeb6eea14f996bb0
[ "Apache-2.0" ]
null
null
null
""" Smoke Testing """ # from typing import ( # # Any, # Iterable, # ) from wechaty import ( Wechaty ) def test_smoke_testing() -> None: """ wechaty """ # os.environ['WECHATY_PUPPET_HOSTIE_TOKEN'] = 'test' # bot = Wechaty() assert Wechaty, 'should be imported successfully'
16
56
0.611842
32
304
5.65625
0.6875
0.132597
0
0
0
0
0
0
0
0
0
0
0.243421
304
18
57
16.888889
0.786957
0.450658
0
0
0
0
0.210884
0
0
0
0
0
0.2
1
0.2
true
0
0.4
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
1
0
1
0
1
0
0
3
688a8db571892e5b29124a58b055b5adac2fb93f
25,524
py
Python
acapy_client/models/__init__.py
Indicio-tech/acapy-client
0bd47af23308362db749c2671a3e7f8259855897
[ "Apache-2.0" ]
4
2021-08-05T09:20:34.000Z
2021-08-08T19:37:29.000Z
acapy_client/models/__init__.py
Indicio-tech/acapy-client
0bd47af23308362db749c2671a3e7f8259855897
[ "Apache-2.0" ]
null
null
null
acapy_client/models/__init__.py
Indicio-tech/acapy-client
0bd47af23308362db749c2671a3e7f8259855897
[ "Apache-2.0" ]
2
2021-08-12T18:18:45.000Z
2021-08-14T13:22:28.000Z
""" Contains all the data models used in inputs/outputs """ from .action_menu_fetch_result import ActionMenuFetchResult from .action_menu_modules_result import ActionMenuModulesResult from .admin_api_message_tracing import AdminAPIMessageTracing from .admin_config import AdminConfig from .admin_config_config import Ad...
59.775176
116
0.916275
2,900
25,524
7.64931
0.236552
0.026326
0.016364
0.008791
0.122977
0.04526
0.026191
0.020241
0
0
0
0.014526
0.0668
25,524
426
117
59.915493
0.916789
0.001998
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.995283
0
0.995283
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
1
0
1
0
0
3
688da068be212d8baf6b052dfec5d791d0790923
1,946
py
Python
backend/backend/users/models.py
Redaloukil/PackageWay
977cf865c067bf6004cc9d82a995cd31be1c4889
[ "MIT" ]
null
null
null
backend/backend/users/models.py
Redaloukil/PackageWay
977cf865c067bf6004cc9d82a995cd31be1c4889
[ "MIT" ]
15
2019-12-28T10:54:22.000Z
2022-03-15T19:17:54.000Z
backend/backend/users/models.py
Redaloukil/PackageWay
977cf865c067bf6004cc9d82a995cd31be1c4889
[ "MIT" ]
1
2020-03-25T00:24:55.000Z
2020-03-25T00:24:55.000Z
import uuid from django.contrib.auth.models import AbstractUser , PermissionsMixin from django.db import models from django.urls import reverse from django.utils.translation import ugettext_lazy as _ from backend.users.managers import UserManager USER_TYPE = ( ("0" , "client"), ("1" , "delivery") ) class User...
29.484848
93
0.681912
240
1,946
5.3375
0.379167
0.046838
0.054645
0.037471
0.25605
0.227947
0.184231
0.13427
0
0
0
0.010263
0.198869
1,946
65
94
29.938462
0.811418
0.019013
0
0.2
0
0
0.05506
0
0
0
0
0
0
1
0.155556
false
0.088889
0.133333
0.133333
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
1
0
1
1
0
0
3
6896b53da5fb3b9b908e85e87aa4247bcf943a68
88
py
Python
test/login.py
yewei496096569/test007
feea1bf7ab3e31cd53ea1266ac36dfd9bac915c5
[ "MIT" ]
null
null
null
test/login.py
yewei496096569/test007
feea1bf7ab3e31cd53ea1266ac36dfd9bac915c5
[ "MIT" ]
null
null
null
test/login.py
yewei496096569/test007
feea1bf7ab3e31cd53ea1266ac36dfd9bac915c5
[ "MIT" ]
null
null
null
manager_num1 =10 manager_num2 =11 zhangsan_num1 = 22 num3 = 30 pp = 36 ll = 23 nishuia
11
18
0.727273
16
88
3.8125
0.875
0
0
0
0
0
0
0
0
0
0
0.228571
0.204545
88
7
19
12.571429
0.642857
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
3
689a90603905b5e483233adda90da553637a1f35
1,211
py
Python
atest/testresources/listeners/ListenImports.py
rdagum/robotframework
b7069d505374e9f09a140ed5a9727d2a40716446
[ "ECL-2.0", "Apache-2.0" ]
7,073
2015-01-01T17:19:16.000Z
2022-03-31T22:01:29.000Z
atest/testresources/listeners/ListenImports.py
imust6226/robotframework
08c56fef2ebc64d682c7f99acd77c480d8d0e028
[ "ECL-2.0", "Apache-2.0" ]
2,412
2015-01-02T09:29:05.000Z
2022-03-31T13:10:46.000Z
atest/testresources/listeners/ListenImports.py
3mdeb/robotframework
6006ce0b3d5fc6b45c5eb040dc859acd64bfa846
[ "ECL-2.0", "Apache-2.0" ]
2,298
2015-01-03T02:47:15.000Z
2022-03-31T02:00:16.000Z
import os try: basestring except NameError: basestring = str class ListenImports: ROBOT_LISTENER_API_VERSION = 2 def __init__(self, imports): self.imports = open(imports, 'w') def library_import(self, name, attrs): self._imported("Library", name, attrs) def resource_import(...
29.536585
80
0.595376
149
1,211
4.691275
0.369128
0.090129
0.074392
0.081545
0.133047
0.133047
0
0
0
0
0
0.00442
0.252684
1,211
40
81
30.275
0.767956
0
0
0
0
0
0.081751
0
0
0
0
0
0
1
0.233333
false
0
0.466667
0
0.866667
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
1
0
1
0
0
3
d79f9b158a70ef34d846b0830fe0b7eaab8173e4
6,853
py
Python
packages/byfire/controlpanel/models.py
rusty-eagle/ByFire
1e127c3629793b2c27b173e649488c0b3332ebb1
[ "MIT" ]
null
null
null
packages/byfire/controlpanel/models.py
rusty-eagle/ByFire
1e127c3629793b2c27b173e649488c0b3332ebb1
[ "MIT" ]
null
null
null
packages/byfire/controlpanel/models.py
rusty-eagle/ByFire
1e127c3629793b2c27b173e649488c0b3332ebb1
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class System(models.Model): hostname = models.CharField(max_length=128,default="firewall") domain = models.CharField(max_length=128,default="lan") apply_iptables = models.BooleanField(default=True) apply_ipaddrs = models.BooleanField(default=Fals...
32.325472
82
0.668029
823
6,853
5.449575
0.218712
0.170569
0.204682
0.27291
0.500334
0.456187
0.361204
0.288517
0.288517
0.147157
0
0.032969
0.21217
6,853
211
83
32.478673
0.79774
0.047279
0
0.277778
0
0
0.042916
0
0
0
0
0
0
1
0.005556
false
0
0.005556
0.005556
0.566667
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
1
0
0
3
d7aa34f1806e52568fab04c4fb28c6a72eef81ee
20,999
py
Python
_build/jupyter_execute/curriculum-notebooks/SocialStudies/BubonicPlague/bubonic-plague-and-SIR-model.py
BryceHaley/curriculum-jbook
d1246799ddfe62b0cf5c389394a18c2904383437
[ "CC-BY-4.0" ]
1
2022-03-18T18:19:40.000Z
2022-03-18T18:19:40.000Z
_build/jupyter_execute/curriculum-notebooks/SocialStudies/BubonicPlague/bubonic-plague-and-SIR-model.py
callysto/curriculum-jbook
ffb685901e266b0ae91d1250bf63e05a87c456d9
[ "CC-BY-4.0" ]
null
null
null
_build/jupyter_execute/curriculum-notebooks/SocialStudies/BubonicPlague/bubonic-plague-and-SIR-model.py
callysto/curriculum-jbook
ffb685901e266b0ae91d1250bf63e05a87c456d9
[ "CC-BY-4.0" ]
null
null
null
![Callysto.ca Banner](https://github.com/callysto/curriculum-notebooks/blob/master/callysto-notebook-banner-top.jpg?raw=true) <a href="https://hub.callysto.ca/jupyter/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fcallysto%2Fcurriculum-notebooks&branch=master&subPath=SocialStudies/BubonicPlague/bubonic-pla...
67.73871
1,036
0.734225
3,496
20,999
4.380149
0.218249
0.015151
0.009338
0.003135
0.169268
0.130935
0.113564
0.079801
0.055835
0.02364
0
0.024656
0.186866
20,999
310
1,037
67.73871
0.872152
0
0
0.125786
0
0.201258
0.06605
0
0
0
0
0
0
0
null
null
0.006289
0.044025
null
null
0.081761
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
d7ac95589e993a30d83cc0beaf0037b078ebf192
322
py
Python
lib/cache.py
shyam-patel-kira/LA-CO-SS
76ace6159b5fcf60063e52809b7dac76ccf4952d
[ "BSD-2-Clause" ]
null
null
null
lib/cache.py
shyam-patel-kira/LA-CO-SS
76ace6159b5fcf60063e52809b7dac76ccf4952d
[ "BSD-2-Clause" ]
null
null
null
lib/cache.py
shyam-patel-kira/LA-CO-SS
76ace6159b5fcf60063e52809b7dac76ccf4952d
[ "BSD-2-Clause" ]
null
null
null
import redis class Cache: def __init__(self, host, port): self.conn = redis.Redis(host=host, port=port) def get(self, key): return self.conn.get(key) def sef(self, key, value): self.conn.set(key, value) def hgetall(self, key): return self.conn.hgetall(key) def hmset(self, key, value): self.conn.hms...
17.888889
47
0.689441
53
322
4.113208
0.339623
0.183486
0.119266
0.155963
0.376147
0
0
0
0
0
0
0
0.164596
322
18
48
17.888889
0.810409
0
0
0
0
0
0
0
0
0
0
0
0
1
0.416667
false
0
0.083333
0.166667
0.75
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
d7cc9e6cf54fc41f6a4525f7d3479d0cbe050086
630
py
Python
misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/uiSchemaGenerate.py
jackwhich/acrn-hypervisor-1
2ff11c2ef04a2668979b3e363e25f13cf48376ac
[ "BSD-3-Clause" ]
null
null
null
misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/uiSchemaGenerate.py
jackwhich/acrn-hypervisor-1
2ff11c2ef04a2668979b3e363e25f13cf48376ac
[ "BSD-3-Clause" ]
null
null
null
misc/config_tools/configurator/packages/configurator/src/pages/Config/ConfigForm/CustomWidget/uiSchemaGenerate.py
jackwhich/acrn-hypervisor-1
2ff11c2ef04a2668979b3e363e25f13cf48376ac
[ "BSD-3-Clause" ]
null
null
null
import json def generate_ui_schema(cur_node_name): def _handle(node_path_list: list): val = node_path_list[0] if val == '0': val = 'items' if len(node_path_list) == 1: return { val: {} } node_path_list = node_path_list[1:] ...
20.322581
43
0.55873
79
630
4.012658
0.367089
0.201893
0.227129
0.113565
0.138801
0.138801
0
0
0
0
0
0.011737
0.32381
630
30
44
21
0.732394
0
0
0.090909
1
0
0.069841
0.042857
0
0
0
0
0
1
0.136364
false
0
0.045455
0
0.318182
0.045455
0
0
0
null
1
1
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
3
d7e901521174445933f4decb6964fa6c2e112df0
70
py
Python
youtube_dl/version.py
daviewales/youtube-dl-1
e2904a0b527255f9525b95a8300e9572f689436d
[ "Unlicense" ]
2
2021-06-08T07:27:52.000Z
2021-08-24T09:32:01.000Z
youtube_dl/version.py
paulchui123/youtube-dl
c4cabf040e1bf37aec69a3ff45594ac6965ba139
[ "Unlicense" ]
null
null
null
youtube_dl/version.py
paulchui123/youtube-dl
c4cabf040e1bf37aec69a3ff45594ac6965ba139
[ "Unlicense" ]
3
2020-11-17T16:53:29.000Z
2021-06-08T07:27:54.000Z
from __future__ import unicode_literals __version__ = '2020.11.21.1'
17.5
39
0.8
10
70
4.7
1
0
0
0
0
0
0
0
0
0
0
0.145161
0.114286
70
3
40
23.333333
0.612903
0
0
0
0
0
0.171429
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d7eec84789a73e2d186cd23dff95671d7cdcf30d
208
py
Python
twitch_project/youtube_bot/views.py
tejesh95/livecoding
327114d67d613ef7300528d62b5165cd215bc1b4
[ "MIT" ]
null
null
null
twitch_project/youtube_bot/views.py
tejesh95/livecoding
327114d67d613ef7300528d62b5165cd215bc1b4
[ "MIT" ]
null
null
null
twitch_project/youtube_bot/views.py
tejesh95/livecoding
327114d67d613ef7300528d62b5165cd215bc1b4
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.http import HttpResponse # Create your views here. BASE_URL = "https://www.googleapis.com/youtube/v3" YOUTUBE_KEY = "AIzaSyCv3VYLRXJdOk1KhsTMxcDLRfht-7jEzbQ"
26
55
0.8125
26
208
6.423077
0.846154
0.11976
0
0
0
0
0
0
0
0
0
0.02139
0.100962
208
7
56
29.714286
0.871658
0.110577
0
0
0
0
0.415301
0.213115
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
cc0c3022d122c4910775004cb26d29af03affaa7
202
py
Python
maths_plots.py
yiftach21-meet/meet2019y1lab6
55c39e7c2fcbf0cc264e0de79e69eb1a85596f85
[ "MIT" ]
null
null
null
maths_plots.py
yiftach21-meet/meet2019y1lab6
55c39e7c2fcbf0cc264e0de79e69eb1a85596f85
[ "MIT" ]
null
null
null
maths_plots.py
yiftach21-meet/meet2019y1lab6
55c39e7c2fcbf0cc264e0de79e69eb1a85596f85
[ "MIT" ]
null
null
null
result = [] for count in range (1,100): if count % 3 == 0: result.append("Fizz") if count % 5 == 0: result.append("Buzz") else: result.append(count) print(result)
16.833333
29
0.529703
27
202
3.962963
0.592593
0.336449
0.242991
0
0
0
0
0
0
0
0
0.057971
0.316832
202
11
30
18.363636
0.717391
0
0
0
0
0
0.039801
0
0
0
0
0
0
1
0
false
0
0
0
0
0.111111
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cc146b46813bbc36640398ef72e11d21c099e7bc
57,738
py
Python
Tests/test_python25.py
cwensley/ironpython2
f854444e1e08afc8850cb7c1a739a7dd2d10d32a
[ "Apache-2.0" ]
1,078
2016-07-19T02:48:30.000Z
2022-03-30T21:22:34.000Z
Tests/test_python25.py
cwensley/ironpython2
f854444e1e08afc8850cb7c1a739a7dd2d10d32a
[ "Apache-2.0" ]
576
2017-05-21T12:36:48.000Z
2022-03-30T13:47:03.000Z
Tests/test_python25.py
cwensley/ironpython2
f854444e1e08afc8850cb7c1a739a7dd2d10d32a
[ "Apache-2.0" ]
269
2017-05-21T04:44:47.000Z
2022-03-31T16:18:13.000Z
# Licensed to the .NET Foundation under one or more agreements. # The .NET Foundation licenses this file to you under the Apache 2.0 License. # See the LICENSE file in the project root for more information. import exceptions import sys import unittest from iptest import is_cli, run_test isPython25 = ((sys.version_i...
44.932296
225
0.546988
6,734
57,738
4.62875
0.070092
0.104427
0.102663
0.074238
0.751556
0.705518
0.652615
0.570966
0.485338
0.385467
0
0.047422
0.297309
57,738
1,284
226
44.96729
0.720842
0.072656
0
0.346626
0
0.018405
0.147549
0.029495
0
0
0
0
0.379346
0
null
null
0.066462
0.013292
null
null
0.002045
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
cc1a6d5f9d1cf54bd43d2cb96fdc01e27ee80701
219
py
Python
data/data/models/structures/zone/cube.py
maosplx/L2py
5d81b2ea150c0096cfce184706fa226950f7f583
[ "MIT" ]
7
2020-09-01T21:52:37.000Z
2022-02-25T16:00:08.000Z
data/data/models/structures/zone/cube.py
maosplx/L2py
5d81b2ea150c0096cfce184706fa226950f7f583
[ "MIT" ]
4
2021-09-10T22:15:09.000Z
2022-03-25T22:17:43.000Z
data/data/models/structures/zone/cube.py
maosplx/L2py
5d81b2ea150c0096cfce184706fa226950f7f583
[ "MIT" ]
9
2020-09-01T21:53:39.000Z
2022-03-30T12:03:04.000Z
from dataclasses import dataclass, field from data.models.structures.zone.farm import ZoneFarm @dataclass class ZoneCube(ZoneFarm): x1: Int32 x2: Int32 y1: Int32 y2: Int32 z1: Int32 z2: Int32
15.642857
53
0.69863
29
219
5.275862
0.689655
0
0
0
0
0
0
0
0
0
0
0.107143
0.232877
219
13
54
16.846154
0.803571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.9
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
1
0
0
0
1
0
0
3
cc20580d46bc82deead369395cb44993fef83514
395
py
Python
test1.py
geoser/azureservices
00f713275e86e195b0dc492a4590c8c503042720
[ "MIT" ]
null
null
null
test1.py
geoser/azureservices
00f713275e86e195b0dc492a4590c8c503042720
[ "MIT" ]
null
null
null
test1.py
geoser/azureservices
00f713275e86e195b0dc492a4590c8c503042720
[ "MIT" ]
null
null
null
import resources import sql.sql_deployment as sd from sql.sql_parameters import SqlParameters from helper import ServiceType s = 'VM' #res = resources.get_all_tks_resource_groups() #params = SqlParameters() #params.administrator_password = "})&B7Tq33n1f" #p = sd.get_parameters(params) #t = sd.get_template() #reso...
20.789474
74
0.782278
53
395
5.641509
0.622642
0.040134
0
0
0
0
0
0
0
0
0
0.067989
0.106329
395
19
75
20.789474
0.779037
0.602532
0
0
0
0
0.013158
0
0
0
0
0
0
1
0
false
0.166667
0.666667
0
0.666667
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
1
0
1
0
0
3
cc273e213e3449521b706a7efec7442857553a6b
317
py
Python
allennlp/nn/parallel/__init__.py
MSLars/allennlp
2cdb8742c8c8c3c38ace4bdfadbdc750a1aa2475
[ "Apache-2.0" ]
11,433
2017-06-27T03:08:46.000Z
2022-03-31T18:14:33.000Z
allennlp/nn/parallel/__init__.py
MSLars/allennlp
2cdb8742c8c8c3c38ace4bdfadbdc750a1aa2475
[ "Apache-2.0" ]
4,006
2017-06-26T21:45:43.000Z
2022-03-31T02:11:10.000Z
allennlp/nn/parallel/__init__.py
MSLars/allennlp
2cdb8742c8c8c3c38ace4bdfadbdc750a1aa2475
[ "Apache-2.0" ]
2,560
2017-06-26T21:16:53.000Z
2022-03-30T07:55:46.000Z
from allennlp.nn.parallel.sharded_module_mixin import ShardedModuleMixin from allennlp.nn.parallel.ddp_accelerator import ( DdpAccelerator, DdpWrappedModel, TorchDdpAccelerator, ) from allennlp.nn.parallel.fairscale_fsdp_accelerator import ( FairScaleFsdpAccelerator, FairScaleFsdpWrappedModel, )
28.818182
72
0.820189
29
317
8.793103
0.62069
0.141176
0.164706
0.258824
0
0
0
0
0
0
0
0
0.123028
317
10
73
31.7
0.917266
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.3
0
0.3
0
1
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
1
0
0
0
0
0
0
3
cc29724919d906e40b670e6eac42bbc5877eb350
4,652
py
Python
src/appservice-kube/azext_appservice_kube/tests/latest/test_appservice_kube_scenario.py
haroonf/azure-cli-extensions
61c044d34c224372f186934fa7c9313f1cd3a525
[ "MIT" ]
1
2022-01-25T07:33:18.000Z
2022-01-25T07:33:18.000Z
src/appservice-kube/azext_appservice_kube/tests/latest/test_appservice_kube_scenario.py
haroonf/azure-cli-extensions
61c044d34c224372f186934fa7c9313f1cd3a525
[ "MIT" ]
9
2022-03-25T19:35:49.000Z
2022-03-31T06:09:47.000Z
src/appservice-kube/azext_appservice_kube/tests/latest/test_appservice_kube_scenario.py
haroonf/azure-cli-extensions
61c044d34c224372f186934fa7c9313f1cd3a525
[ "MIT" ]
1
2022-03-10T22:13:02.000Z
2022-03-10T22:13:02.000Z
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
58.886076
144
0.646389
548
4,652
5.310219
0.239051
0.08488
0.104467
0.12646
0.717869
0.707904
0.696564
0.687973
0.664948
0.652234
0
0.010592
0.167885
4,652
78
145
59.641026
0.741152
0.08577
0
0.431034
0
0.034483
0.289585
0.036993
0
0
0
0.012821
0.068966
1
0.051724
false
0.017241
0.068966
0
0.155172
0
0
0
0
null
0
0
0
0
1
0
0
0
1
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
3
0bc7cdeb5c2ce19f4048e618d45a3e5e99b07e64
1,043
py
Python
Semana 3/knapsack/test_pytest_knapsack.py
juandausa/CompetitiveProgrammingCoreSkills
1ef0d902b6c05afba4b44c34ade87c376187fd1d
[ "MIT" ]
null
null
null
Semana 3/knapsack/test_pytest_knapsack.py
juandausa/CompetitiveProgrammingCoreSkills
1ef0d902b6c05afba4b44c34ade87c376187fd1d
[ "MIT" ]
null
null
null
Semana 3/knapsack/test_pytest_knapsack.py
juandausa/CompetitiveProgrammingCoreSkills
1ef0d902b6c05afba4b44c34ade87c376187fd1d
[ "MIT" ]
null
null
null
from item import Item from knapsack import calculate_best_items def test_calculate_for_weight_one(): items = [Item(1, 1), Item(1, 2), Item(1, 9), Item(2, 80000)] assert calculate_best_items(items, 1) == 9 def test_stament_one(): '''3 5 1 3 1 2 1 1 ''' it...
20.45098
74
0.489933
157
1,043
3.101911
0.216561
0.082136
0.221766
0.246407
0.355236
0.250513
0
0
0
0
0
0.147014
0.373921
1,043
50
75
20.86
0.598775
0.081496
0
0
0
0
0
0
0
0
0
0
0.294118
1
0.294118
false
0
0.117647
0
0.411765
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
1
0
0
0
0
0
0
0
3
0bd123d029df26836a68289fa0be2fba150fc7db
733
py
Python
net/DSSnet/DSSnet_hosts.py
JinLabIIT/DSSnet
3b9c1771eae8e2a1157d36500bce4b6e84e52c4d
[ "Apache-2.0" ]
8
2016-11-28T01:22:17.000Z
2021-06-01T13:25:48.000Z
net/DSSnet/DSSnet_hosts.py
JinLabIIT/DSSnet
3b9c1771eae8e2a1157d36500bce4b6e84e52c4d
[ "Apache-2.0" ]
2
2018-12-18T14:38:32.000Z
2019-02-23T02:35:08.000Z
net/DSSnet/DSSnet_hosts.py
JinLabIIT/DSSnet
3b9c1771eae8e2a1157d36500bce4b6e84e52c4d
[ "Apache-2.0" ]
2
2016-11-28T01:22:19.000Z
2018-03-02T18:32:08.000Z
class DSSnet_hosts: 'class for meta process/IED info' p_id = 0 def __init__(self, msg, IED_id, command, ip, pipe = True): self.properties= msg self.IED_id = IED_id self.process_id= DSSnet_hosts.p_id self.command = command self.ip = ip self.pipe = pipe...
25.275862
84
0.581173
101
733
3.960396
0.29703
0.0625
0.0675
0.105
0
0
0
0
0
0
0
0.004057
0.327422
733
28
85
26.178571
0.807302
0.042292
0
0
0
0
0.062756
0
0
0
0
0
0
1
0.285714
false
0
0
0.238095
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0bdedecd1b7f159ac93edb23afb398f6f3976db3
1,059
py
Python
atrous_conv.py
pit-ray/Anime-Semantic-Segmentation-GAN
8b41b3bd89e6eb6093f0c09f95dd6f89cfdeee1a
[ "MIT" ]
36
2020-02-27T12:56:22.000Z
2022-03-09T20:03:25.000Z
atrous_conv.py
pit-ray/Anime-Semantic-Segmentation-GAN
8b41b3bd89e6eb6093f0c09f95dd6f89cfdeee1a
[ "MIT" ]
3
2020-05-27T15:26:01.000Z
2021-08-22T05:17:37.000Z
atrous_conv.py
pit-ray/Anime-Semantic-Segmentation-GAN
8b41b3bd89e6eb6093f0c09f95dd6f89cfdeee1a
[ "MIT" ]
3
2020-12-14T08:46:13.000Z
2021-06-25T00:33:29.000Z
# coding: utf-8 import chainer.links as L from spectral_norms import SNConv, SNHookConv class AtrousConv(L.DilatedConvolution2D): def __init__(self, in_channels, out_channels, ksize=None, rate=1, initialW=None): super().__init__(in_channels, out_channels, ksize=ksize, stride=1, pad=rate, dilate=rate, init...
35.3
116
0.72899
140
1,059
5.192857
0.3
0.082531
0.10729
0.173315
0.651995
0.651995
0.583219
0.583219
0.583219
0.583219
0
0.008999
0.160529
1,059
29
117
36.517241
0.808774
0.012276
0
0.333333
0
0
0.037356
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
0be0fdfc9618146c14baa5d89757dd10208c2d77
191
py
Python
rest/rest_api_project/rest_api_app/database/__init__.py
elastest/elastest-persistence-service
a8678f7582bc0f3574b2f95db0dc92fd8747f723
[ "Apache-2.0" ]
null
null
null
rest/rest_api_project/rest_api_app/database/__init__.py
elastest/elastest-persistence-service
a8678f7582bc0f3574b2f95db0dc92fd8747f723
[ "Apache-2.0" ]
8
2017-08-31T11:06:53.000Z
2018-02-14T14:45:44.000Z
rest/rest_api_project/rest_api_app/database/__init__.py
elastest/elastest-persistence-service
a8678f7582bc0f3574b2f95db0dc92fd8747f723
[ "Apache-2.0" ]
6
2017-07-01T22:35:04.000Z
2020-10-27T08:35:09.000Z
from flask_sqlalchemy import SQLAlchemy db = SQLAlchemy() def reset_database(): from rest_api_app.database.models import Backup, Category # noqa db.drop_all() db.create_all()
19.1
69
0.73822
26
191
5.192308
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.17801
191
9
70
21.222222
0.859873
0.020942
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0bebb1c488f6b90baec2eda46dfe2614f54533c1
3,130
py
Python
app/utils/wtf_handler/register.py
WMU-Su-ChaShan-21Lab/MagicExWASPortal
35f5ba3f10bb90d99a64d376fff8c322a11b8598
[ "MIT" ]
null
null
null
app/utils/wtf_handler/register.py
WMU-Su-ChaShan-21Lab/MagicExWASPortal
35f5ba3f10bb90d99a64d376fff8c322a11b8598
[ "MIT" ]
null
null
null
app/utils/wtf_handler/register.py
WMU-Su-ChaShan-21Lab/MagicExWASPortal
35f5ba3f10bb90d99a64d376fff8c322a11b8598
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- """ @File Name : register.py @Create Time : 2021/7/15 10:04 @Description : @Version : @License : @Author : diklios @Contact Email : diklios5768@gmail.com @Github : https://github.com/diklios5768 @Blog : @Motto ...
35.977011
138
0.71246
329
3,130
6.68693
0.367781
0.050909
0.09
0.034091
0.473636
0.418182
0.418182
0.418182
0.418182
0.418182
0
0.011691
0.180192
3,130
86
139
36.395349
0.845674
0.195847
0
0.5
0
0
0.0412
0
0
0
0
0.011628
0
1
0.166667
false
0.071429
0.119048
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
1
0
0
3
0bec83aa79df35159dadcb97eb70b368843bb1f6
596
py
Python
ltr/helpers/solr_escape.py
tanjie123/hello-ltr
fe1ad1989e1bb17dfc8d1c09931480becf59766e
[ "Apache-2.0" ]
109
2019-04-18T01:24:29.000Z
2022-03-12T17:37:30.000Z
ltr/helpers/solr_escape.py
tanjie123/hello-ltr
fe1ad1989e1bb17dfc8d1c09931480becf59766e
[ "Apache-2.0" ]
63
2019-04-14T01:01:24.000Z
2022-03-03T20:48:41.000Z
ltr/helpers/solr_escape.py
tanjie123/hello-ltr
fe1ad1989e1bb17dfc8d1c09931480becf59766e
[ "Apache-2.0" ]
41
2019-04-22T15:22:41.000Z
2022-02-26T00:03:02.000Z
def esc_kw(kw): """ Take a keyword and escape all the Solr parts we want to escape!""" kw = kw.replace('\\', '\\\\') # be sure to do this first, as we inject \! kw = kw.replace('(', '\(') kw = kw.replace(')', '\)') kw = kw.replace('+', '\+') kw = kw.replace('-', '\-') kw = kw.replace...
28.380952
77
0.422819
70
596
3.585714
0.342857
0.239044
0.613546
0.621514
0.569721
0.569721
0.569721
0.569721
0.569721
0.569721
0
0
0.266779
596
20
78
29.8
0.574371
0.177852
0
0
0
0
0.094737
0
0
0
0
0
0
1
0.0625
false
0
0
0
0.125
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0bed19a92912ccda603e3f470ca48154c417bb59
9,752
py
Python
blackmamba/lib/rope/base/pyscopes.py
oz90210/blackmamba
65c82c8e99028d6fbb57098ce82d0a394df215a0
[ "MIT" ]
463
2015-01-15T08:17:42.000Z
2022-03-28T15:10:20.000Z
blackmamba/lib/rope/base/pyscopes.py
oz90210/blackmamba
65c82c8e99028d6fbb57098ce82d0a394df215a0
[ "MIT" ]
52
2015-01-06T02:43:59.000Z
2022-03-14T11:15:21.000Z
blackmamba/lib/rope/base/pyscopes.py
oz90210/blackmamba
65c82c8e99028d6fbb57098ce82d0a394df215a0
[ "MIT" ]
249
2015-01-07T22:49:49.000Z
2022-03-18T02:32:06.000Z
import rope.base.builtins import rope.base.codeanalyze import rope.base.pynames from rope.base import ast, exceptions, utils class Scope(object): def __init__(self, pycore, pyobject, parent_scope): self.pycore = pycore self.pyobject = pyobject self.parent = parent_scope def get_names...
30.95873
78
0.622949
1,186
9,752
4.865936
0.132378
0.03223
0.020794
0.014729
0.330792
0.22717
0.154912
0.115751
0.059262
0.044013
0
0.001153
0.288659
9,752
314
79
31.057325
0.830763
0.073728
0
0.257778
0
0
0.008407
0
0
0
0
0
0
1
0.24
false
0.004444
0.017778
0.102222
0.537778
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
0bf9a60c81b36dd6e2610bd15f4bfb9f0cba5d5e
355
py
Python
tests/kyu_6_tests/test_multiples_of_3_and_5.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
tests/kyu_6_tests/test_multiples_of_3_and_5.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
tests/kyu_6_tests/test_multiples_of_3_and_5.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
import unittest from katas.kyu_6.multiples_of_3_and_5 import solution class MultiplesOfThreeAndFiveTestCase(unittest.TestCase): def test_equals(self): self.assertEqual(solution(10), 23) def test_equals_2(self): self.assertEqual(solution(100), 2318) def test_equals_3(self): self....
23.666667
57
0.735211
46
355
5.456522
0.586957
0.083665
0.155378
0.322709
0
0
0
0
0
0
0
0.085034
0.171831
355
14
58
25.357143
0.768707
0
0
0
0
0
0
0
0
0
0
0
0.333333
1
0.333333
false
0
0.222222
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
04010c1ffae2015355287dfcef8a16ff69fb4ac2
1,587
py
Python
Uncuffed/messages/EncryptedImageMessage.py
WckdAwe/Uncuffed
c86c2ef33c689d7895ff45e9ba6108a9f7831c2d
[ "MIT" ]
2
2021-09-16T09:17:34.000Z
2021-11-18T12:44:34.000Z
Uncuffed/messages/EncryptedImageMessage.py
WckdAwe/Uncuffed
c86c2ef33c689d7895ff45e9ba6108a9f7831c2d
[ "MIT" ]
null
null
null
Uncuffed/messages/EncryptedImageMessage.py
WckdAwe/Uncuffed
c86c2ef33c689d7895ff45e9ba6108a9f7831c2d
[ "MIT" ]
null
null
null
import base64 import binascii import collections from Crypto.Cipher import PKCS1_OAEP from Crypto.PublicKey import RSA from Crypto.PublicKey.RSA import RsaKey from werkzeug.datastructures import FileStorage from .AMessage import EMessageType from .ImageMessage import ImageMessage class EncryptedImageMe...
35.266667
90
0.689351
190
1,587
5.578947
0.273684
0.062264
0.028302
0.039623
0.249057
0.209434
0.156604
0.084906
0.084906
0
0
0.012
0.21235
1,587
44
91
36.068182
0.836
0.195967
0
0
0
0
0.012255
0
0
0
0
0
0
1
0.222222
false
0
0.407407
0.037037
0.777778
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
1
0
1
0
0
3
0407a1300fa8f4428454cc994004dcd4acb5d4b4
252
py
Python
order/urls.py
abdukhashimov/django-rest-gsoft
f205e7c1bbb575920bdd43d3ec46a97f6fade90e
[ "MIT" ]
null
null
null
order/urls.py
abdukhashimov/django-rest-gsoft
f205e7c1bbb575920bdd43d3ec46a97f6fade90e
[ "MIT" ]
5
2021-03-18T23:24:36.000Z
2021-09-22T18:31:01.000Z
order/urls.py
abdukhashimov/django-rest-gsoft
f205e7c1bbb575920bdd43d3ec46a97f6fade90e
[ "MIT" ]
null
null
null
from django.urls import path from .views import OrderCreateView, BaseContactCreateView urlpatterns = [ path('order/', OrderCreateView.as_view(), name='order-create'), path('contact/', BaseContactCreateView.as_view(), name='contact-create') ]
28
76
0.746032
27
252
6.888889
0.555556
0.064516
0.107527
0
0
0
0
0
0
0
0
0
0.115079
252
8
77
31.5
0.834081
0
0
0
0
0
0.15873
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
040c04ebd461963b0dc8e7ea26adc6ebc27fe6fc
1,055
py
Python
lib/exabgp/bmp/peer.py
PowerDNS/exabgp
bbf69f25853e10432fbe588b5bc2f8d9f1e5dda2
[ "BSD-3-Clause" ]
8
2015-01-11T09:57:26.000Z
2019-07-05T05:57:02.000Z
lib/exabgp/bmp/peer.py
Acidburn0zzz/exabgp
bbf69f25853e10432fbe588b5bc2f8d9f1e5dda2
[ "BSD-3-Clause" ]
1
2018-11-15T22:10:09.000Z
2018-11-15T22:20:31.000Z
lib/exabgp/bmp/peer.py
Acidburn0zzz/exabgp
bbf69f25853e10432fbe588b5bc2f8d9f1e5dda2
[ "BSD-3-Clause" ]
6
2015-09-11T01:51:06.000Z
2020-03-10T19:16:18.000Z
# encoding: utf-8 """ peer.py Created by Thomas Mangin on 2013-02-26. Copyright (c) 2009-2012 Exa Networks. All rights reserved. """ from struct import unpack from exabgp.protocol.ip import IPv4 from exabgp.protocol.ip import IPv6 # XXX: FIXME: Move this within Peer with the same API as other classes such as Attribu...
22.934783
99
0.683412
172
1,055
4.104651
0.517442
0.056657
0.050992
0.056657
0.073654
0
0
0
0
0
0
0.077449
0.167773
1,055
45
100
23.444444
0.726651
0.210427
0
0
0
0
0.03034
0
0
0
0
0.022222
0
1
0.185185
false
0
0.111111
0.148148
0.62963
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
1
1
0
0
3
041afc56ff7044824a24398d132a2ca7a118a8d1
62
py
Python
docs/conf.py
opnfv/barometer
52e3a8bc19d86205e81442acfa9512006207c023
[ "Apache-2.0" ]
9
2017-07-18T15:32:44.000Z
2021-05-29T12:25:11.000Z
docs/conf.py
opnfv/barometer
52e3a8bc19d86205e81442acfa9512006207c023
[ "Apache-2.0" ]
2
2018-01-04T23:05:43.000Z
2018-10-16T17:22:35.000Z
docs/conf.py
opnfv/barometer
52e3a8bc19d86205e81442acfa9512006207c023
[ "Apache-2.0" ]
16
2017-07-04T11:42:26.000Z
2021-05-27T10:36:22.000Z
from docs_conf.conf import * extensions = ['reno.sphinxext']
15.5
31
0.741935
8
62
5.625
0.875
0
0
0
0
0
0
0
0
0
0
0
0.129032
62
3
32
20.666667
0.833333
0
0
0
0
0
0.225806
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
04260974fa1259b75735ed1e324eb6c87715c938
90
py
Python
drams/vagrant-settings.py
FAIRDataPipeline/data-registry
656ba8893b39ee2a73e51e79722e0363125ed8f4
[ "BSD-2-Clause" ]
null
null
null
drams/vagrant-settings.py
FAIRDataPipeline/data-registry
656ba8893b39ee2a73e51e79722e0363125ed8f4
[ "BSD-2-Clause" ]
116
2021-06-28T11:11:59.000Z
2022-03-24T09:29:30.000Z
drams/vagrant-settings.py
ScottishCovidResponse/data-registry
92753a7067b409c06bf38cf8c493cea4570fc34f
[ "BSD-2-Clause" ]
1
2022-03-16T10:36:27.000Z
2022-03-16T10:36:27.000Z
from .base_settings import * ALLOWED_HOSTS = ['192.168.20.10', '127.0.0.1', 'localhost']
22.5
59
0.677778
15
90
3.933333
0.933333
0
0
0
0
0
0
0
0
0
0
0.2
0.111111
90
3
60
30
0.5375
0
0
0
0
0
0.344444
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0427e9fffd77b7eabc23b693b0d11073a1109a2e
206
py
Python
src/backend/command/model/configuration/_utils.py
kairu-ms/aaz-dev-tools
233a70253487ebbc8347bdd1851e07c2a745104f
[ "MIT" ]
null
null
null
src/backend/command/model/configuration/_utils.py
kairu-ms/aaz-dev-tools
233a70253487ebbc8347bdd1851e07c2a745104f
[ "MIT" ]
2
2021-12-21T03:49:53.000Z
2021-12-29T07:32:31.000Z
src/backend/command/model/configuration/_utils.py
kairu-ms/aaz-dev-tools
233a70253487ebbc8347bdd1851e07c2a745104f
[ "MIT" ]
1
2021-11-18T09:07:11.000Z
2021-11-18T09:07:11.000Z
class CMDDiffLevelEnum: BreakingChange = 1 # diff breaking change part Structure = 2 # Associate = 5 # include diff for links All = 10 # including description and help messages
22.888889
57
0.665049
23
206
5.956522
0.956522
0
0
0
0
0
0
0
0
0
0
0.034247
0.291262
206
8
58
25.75
0.90411
0.427184
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
042888c821315f9ac9268da7b68e21e264d574b7
452
py
Python
Narcissistic Number/is_narcissistic_number.py
rayvantsahni/Let-us-Math
571ee70452feae0b15f37d46de658b0c0251bd3d
[ "MIT" ]
2
2020-08-06T07:09:38.000Z
2020-09-12T02:32:23.000Z
Narcissistic Number/is_narcissistic_number.py
rayvantsahni/Math-is-Fun
571ee70452feae0b15f37d46de658b0c0251bd3d
[ "MIT" ]
null
null
null
Narcissistic Number/is_narcissistic_number.py
rayvantsahni/Math-is-Fun
571ee70452feae0b15f37d46de658b0c0251bd3d
[ "MIT" ]
1
2021-08-30T14:17:28.000Z
2021-08-30T14:17:28.000Z
def is_narcissistic_number(n): original_number = n number_of_digits = get_number_of_digits(n) sum = 0 while n != 0: sum += (n % 10) ** number_of_digits n //= 10 return original_number == sum def get_number_of_digits(n): return len(str(n)) if __name__ == "__main__": n = ...
22.6
102
0.64823
67
452
4.014925
0.38806
0.267658
0.208178
0.167286
0.133829
0
0
0
0
0
0
0.017442
0.238938
452
19
103
23.789474
0.764535
0
0
0
0
0
0.163717
0
0
0
0
0
0
1
0.153846
false
0
0
0.076923
0.307692
0.076923
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
045bf9ba8d6ff8f294a328699fba58ce94500ed4
438
py
Python
lang/py/cookbook/v2/source/cb2_20_5_exm_1.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_20_5_exm_1.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_20_5_exm_1.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
class Rectangle(object): def __init__(self, x, y): self._x = x # don't trigger _setSide prematurely self.y = y # now trigger it, so area gets computed def _setSide(self, attrname, value): setattr(self, attrname, value) self.area = self._x * ...
43.8
78
0.584475
55
438
4.418182
0.472727
0.061728
0.139918
0.156379
0
0
0
0
0
0
0
0
0.305936
438
9
79
48.666667
0.799342
0.164384
0
0
0
0
0.011019
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.555556
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
0
1
0
0
3
045ea9d96a207c246b79e7a3f67b9e1f58c41c9a
113
py
Python
Data Scientist Career Path/3. Python Fundamentals/5. Python List/1. Intro to List/5. list append.py
myarist/Codecademy
2ba0f104bc67ab6ef0f8fb869aa12aa02f5f1efb
[ "MIT" ]
23
2021-06-06T15:35:55.000Z
2022-03-21T06:53:42.000Z
Data Scientist Career Path/3. Python Fundamentals/5. Python List/1. Intro to List/5. list append.py
shivaniverma1/Data-Scientist
f82939a411484311171465591455880c8e354750
[ "MIT" ]
null
null
null
Data Scientist Career Path/3. Python Fundamentals/5. Python List/1. Intro to List/5. list append.py
shivaniverma1/Data-Scientist
f82939a411484311171465591455880c8e354750
[ "MIT" ]
9
2021-06-08T01:32:04.000Z
2022-03-18T15:38:09.000Z
orders = ["daisies", "periwinkle"] print(orders) orders.append("tulips") orders.append("roses") print(orders)
12.555556
34
0.707965
13
113
6.153846
0.538462
0.275
0
0
0
0
0
0
0
0
0
0
0.097345
113
9
35
12.555556
0.784314
0
0
0.4
0
0
0.245614
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f0b2a999cc91b895ea645ef70fdcecb2516bc0f9
259
py
Python
FrEIA/__init__.py
paulhfu/FrEIA
e5694e596503a930395cde843f6523da09b6b6e7
[ "MIT" ]
1
2021-05-14T03:34:36.000Z
2021-05-14T03:34:36.000Z
FrEIA/__init__.py
paulhfu/FrEIA
e5694e596503a930395cde843f6523da09b6b6e7
[ "MIT" ]
null
null
null
FrEIA/__init__.py
paulhfu/FrEIA
e5694e596503a930395cde843f6523da09b6b6e7
[ "MIT" ]
null
null
null
'''Framework for Easily Invertible Architectures. Module to construct invertible networks with pytorch, based on a graph structure of operations.''' from . import framework from . import modules from . import dummy_modules __all__ = ["framework", "modules"]
28.777778
70
0.783784
32
259
6.1875
0.71875
0.151515
0
0
0
0
0
0
0
0
0
0
0.138996
259
8
71
32.375
0.887892
0.548263
0
0
0
0
0.144144
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
f0c4920ddf3d896a46bdc78d877ea09f43153496
115
py
Python
Src/Tests/test_Main.py
mickers13/RiskSniffer
562ef3da9c16f38e0ef34fa5b22f0abaca5e608d
[ "MIT" ]
null
null
null
Src/Tests/test_Main.py
mickers13/RiskSniffer
562ef3da9c16f38e0ef34fa5b22f0abaca5e608d
[ "MIT" ]
null
null
null
Src/Tests/test_Main.py
mickers13/RiskSniffer
562ef3da9c16f38e0ef34fa5b22f0abaca5e608d
[ "MIT" ]
null
null
null
from unittest import TestCase class TestMain(TestCase): def test_load_banned_urls(self): self.fail()
16.428571
36
0.721739
15
115
5.333333
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.2
115
6
37
19.166667
0.869565
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
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
0
0
0
0
3
f0c97a366003419512b3b24c843d24bff2120063
8,827
py
Python
tests/tests.py
Bouke/django-airbrake
28fbbd68c5858054753182d6299b3b200df76377
[ "MIT" ]
3
2015-10-13T05:39:49.000Z
2018-06-19T17:30:41.000Z
tests/tests.py
Bouke/django-airbrake
28fbbd68c5858054753182d6299b3b200df76377
[ "MIT" ]
5
2015-02-12T05:42:19.000Z
2018-05-27T08:31:36.000Z
tests/tests.py
Bouke/django-airbrake
28fbbd68c5858054753182d6299b3b200df76377
[ "MIT" ]
7
2015-02-11T23:40:19.000Z
2019-06-24T20:19:44.000Z
import logging import xml.etree.ElementTree as etree try: from unittest.mock import patch except ImportError: from mock import patch import django from django.conf import settings from django.contrib.sessions.backends.db import SessionStore from django.test import TestCase from django.test.utils import overri...
35.882114
107
0.488614
797
8,827
5.293601
0.181932
0.01991
0.045034
0.026547
0.742593
0.72055
0.661294
0.63617
0.63617
0.602512
0
0.016129
0.395944
8,827
245
108
36.028571
0.775131
0.014728
0
0.756881
0
0.009174
0.598435
0.163963
0
0
0
0.004082
0.041284
1
0.027523
false
0.013761
0.073395
0
0.110092
0
0
0
0
null
0
0
0
0
1
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
3
f0d2d21c4d32cf8fc1d1951b1fc809276b0c04b3
765
py
Python
laboratory/utils.py
urchinpro/L2-forms
37f33386984efbb2d1e92c73d915256247801109
[ "MIT" ]
null
null
null
laboratory/utils.py
urchinpro/L2-forms
37f33386984efbb2d1e92c73d915256247801109
[ "MIT" ]
null
null
null
laboratory/utils.py
urchinpro/L2-forms
37f33386984efbb2d1e92c73d915256247801109
[ "MIT" ]
null
null
null
from datetime import datetime from django.utils import timezone def localtime(d: datetime): return timezone.localtime(d) def strfdatetime(d, format: str): if not d: return "" try: return timezone.localtime(d).strftime(format) except: d = datetime(year=d.year, ...
21.25
83
0.605229
100
765
4.59
0.33
0.087146
0.117647
0.104575
0.244009
0.244009
0.244009
0.244009
0.244009
0.244009
0
0
0.243137
765
35
84
21.857143
0.792746
0
0
0
0
0
0.030065
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0.227273
0.727273
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
f0eb70d69078901ef0d50db1cfca1a41426e7435
97
py
Python
pys/testing.py
nahian-147/my_codes
9729c56b227d75354ea49982720de94ed1c21909
[ "MIT" ]
null
null
null
pys/testing.py
nahian-147/my_codes
9729c56b227d75354ea49982720de94ed1c21909
[ "MIT" ]
null
null
null
pys/testing.py
nahian-147/my_codes
9729c56b227d75354ea49982720de94ed1c21909
[ "MIT" ]
null
null
null
import subprocess p = int(subprocess.check_output(["./testing","5"]).decode()) print(p*p)
16.166667
61
0.649485
13
97
4.769231
0.769231
0
0
0
0
0
0
0
0
0
0
0.011905
0.134021
97
5
62
19.4
0.72619
0
0
0
0
0
0.108696
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f0ed5a8b1c879973dba72c63cd3d160334a02226
59
py
Python
src/app/training/__init__.py
serious-notreally/cappa
993a8df35ca6c3b22f3ca811937fd29c07fc71aa
[ "MIT" ]
9
2020-04-05T07:35:55.000Z
2021-08-03T05:50:05.000Z
src/app/training/__init__.py
serious-notreally/cappa
993a8df35ca6c3b22f3ca811937fd29c07fc71aa
[ "MIT" ]
89
2020-01-26T11:50:06.000Z
2022-03-31T07:14:18.000Z
src/app/training/__init__.py
serious-notreally/cappa
993a8df35ca6c3b22f3ca811937fd29c07fc71aa
[ "MIT" ]
13
2020-03-10T14:45:07.000Z
2021-07-31T02:43:40.000Z
default_app_config = "app.training.apps.TrainingAppConfig"
29.5
58
0.847458
7
59
6.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.050847
59
1
59
59
0.857143
0
0
0
0
0
0.59322
0.59322
0
0
0
0
0
1
0
false
0
0
0
0
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f0f179d2da7b614878cdd822e072f3b5d82b295b
210
py
Python
legacy/ABC_113/B1.py
mo-mo-666/AtCoder
99556f5ed98510850aaa8ab2b845da6a9359f5a5
[ "MIT" ]
null
null
null
legacy/ABC_113/B1.py
mo-mo-666/AtCoder
99556f5ed98510850aaa8ab2b845da6a9359f5a5
[ "MIT" ]
null
null
null
legacy/ABC_113/B1.py
mo-mo-666/AtCoder
99556f5ed98510850aaa8ab2b845da6a9359f5a5
[ "MIT" ]
null
null
null
import numpy as np n = int(input()) t, a = map(int, input().split()) h = list(map(int, input().split())) h = np.array(h) dift = abs((t - h * 0.006) - a) ans = np.argmin(dift) + 1 print(ans)
14
36
0.52381
37
210
2.972973
0.594595
0.218182
0.2
0.290909
0.309091
0
0
0
0
0
0
0.032051
0.257143
210
14
37
15
0.673077
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.125
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0b074cfd360229339b102d842a59b9ebb1b66716
97
py
Python
subjects/InputOutput.py
NightySide/simple
c6e8e0567966f9edd09e0821ea1292ebef7fca59
[ "Unlicense" ]
null
null
null
subjects/InputOutput.py
NightySide/simple
c6e8e0567966f9edd09e0821ea1292ebef7fca59
[ "Unlicense" ]
null
null
null
subjects/InputOutput.py
NightySide/simple
c6e8e0567966f9edd09e0821ea1292ebef7fca59
[ "Unlicense" ]
null
null
null
def disp(*txt, p): print(*txt) ask = lambda p : p.b(input()) functions = {">>":disp,"?":ask}
19.4
31
0.536082
15
97
3.466667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.175258
97
4
32
24.25
0.65
0
0
0
0
0
0.030928
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0.25
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
0
0
0
0
3
0b12739a1ea62c31667e466d9e1170e55b1d0eda
277
py
Python
src/bearzzzbot/routes.py
bear3z/BeARzzzBot
04055d6c85c004c75a8d4a1c904ffadb3d7f7ea3
[ "MIT" ]
3
2022-01-15T00:41:33.000Z
2022-01-18T14:27:32.000Z
src/bearzzzbot/routes.py
bear3z/BeARzzzBot
04055d6c85c004c75a8d4a1c904ffadb3d7f7ea3
[ "MIT" ]
2
2022-01-15T13:41:54.000Z
2022-01-17T08:57:34.000Z
src/bearzzzbot/routes.py
bear3z/BeARzzzBot
04055d6c85c004c75a8d4a1c904ffadb3d7f7ea3
[ "MIT" ]
null
null
null
from fastapi.responses import ORJSONResponse from fastapi.routing import APIRouter from bearzzzbot.drawings.resources import router as drawing_router api_router = APIRouter(default_response_class=ORJSONResponse) api_router.include_router(drawing_router, prefix="/drawing")
27.7
66
0.859206
34
277
6.794118
0.558824
0.095238
0
0
0
0
0
0
0
0
0
0
0.083032
277
9
67
30.777778
0.909449
0
0
0
0
0
0.028881
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
0b12de9f308481c86c2a39cb2b2c781829266bc5
883
py
Python
service-workers/service-worker/resources/bytecheck-worker.py
ayg/web-platform-tests
99893ad85e2fbe917e0f5d1b3dbdadb7233601ee
[ "BSD-3-Clause" ]
4
2020-09-09T15:28:01.000Z
2021-12-01T00:59:56.000Z
service-workers/service-worker/resources/bytecheck-worker.py
063095/web-platform-tests
255d54144a82ce76d8e50a4aa8de284151119f8b
[ "BSD-3-Clause" ]
null
null
null
service-workers/service-worker/resources/bytecheck-worker.py
063095/web-platform-tests
255d54144a82ce76d8e50a4aa8de284151119f8b
[ "BSD-3-Clause" ]
null
null
null
import time def main(request, response): headers = [('Content-Type', 'application/javascript'), ('Cache-Control', 'max-age=0')] main_content_type = '' if 'main' in request.GET: main_content_type = request.GET['main'] main_content = 'default' if main_content_type == 'time': ...
26.757576
65
0.636467
100
883
5.38
0.3
0.250929
0.083643
0.074349
0.100372
0
0
0
0
0
0
0.001468
0.228766
883
32
66
27.59375
0.788546
0
0
0
0
0
0.219706
0.089468
0
0
0
0
0
1
0.041667
false
0
0.458333
0
0.541667
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
0b18e0fb8cc72943e657d33841c0dcf003ec4e00
307
py
Python
ProjectEuler.Problem.020.py
jihunroh/ProjectEuler-Python
2fceaf5c3dd61038004b6128c5d9ee7a76142bca
[ "MIT" ]
null
null
null
ProjectEuler.Problem.020.py
jihunroh/ProjectEuler-Python
2fceaf5c3dd61038004b6128c5d9ee7a76142bca
[ "MIT" ]
null
null
null
ProjectEuler.Problem.020.py
jihunroh/ProjectEuler-Python
2fceaf5c3dd61038004b6128c5d9ee7a76142bca
[ "MIT" ]
null
null
null
from ProjectEulerCommons.Base import * Answer( sum([int(digit) for digit in str(factorial(100))]) ) """ ------------------------------------------------ ProjectEuler.Problem.020.py The Answer is: 648 Time Elasped: 0.0049893856048583984sec ------------------------------------------------ """
21.928571
54
0.478827
26
307
5.653846
0.923077
0
0
0
0
0
0
0
0
0
0
0.107807
0.123779
307
13
55
23.615385
0.438662
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
9be031dbf3561ddbf3d46489b685ac755c9a8296
355
py
Python
kubernetes_typed/client/models/v1_custom_resource_validation.py
nikhiljha/kubernetes-typed
4f4b969aa400c88306f92560e56bda6d19b2a895
[ "Apache-2.0" ]
22
2020-12-10T13:06:02.000Z
2022-02-13T21:58:15.000Z
kubernetes_typed/client/models/v1_custom_resource_validation.py
nikhiljha/kubernetes-typed
4f4b969aa400c88306f92560e56bda6d19b2a895
[ "Apache-2.0" ]
4
2021-03-08T07:06:12.000Z
2022-03-29T23:41:45.000Z
kubernetes_typed/client/models/v1_custom_resource_validation.py
nikhiljha/kubernetes-typed
4f4b969aa400c88306f92560e56bda6d19b2a895
[ "Apache-2.0" ]
2
2021-09-05T19:18:28.000Z
2022-03-14T02:56:17.000Z
# Code generated by `typeddictgen`. DO NOT EDIT. """V1CustomResourceValidationDict generated type.""" from typing import TypedDict from kubernetes_typed.client import V1JSONSchemaPropsDict V1CustomResourceValidationDict = TypedDict( "V1CustomResourceValidationDict", { "openAPIV3Schema": V1JSONSchemaPr...
25.357143
57
0.766197
27
355
10.037037
0.740741
0
0
0
0
0
0
0
0
0
0
0.02
0.15493
355
13
58
27.307692
0.883333
0.264789
0
0
1
0
0.176471
0.117647
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
1
0
1
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
3
9bec59fceabd51a981ce634c69750cf822c90ea3
139
py
Python
mrp/examples/06_remote/bob.py
colesbury/fairo
9e50a3aa7369c68c80e84d80abd5fcdee8a9277a
[ "MIT" ]
73
2021-09-14T19:24:45.000Z
2022-03-27T06:43:26.000Z
mrp/examples/06_remote/bob.py
colesbury/fairo
9e50a3aa7369c68c80e84d80abd5fcdee8a9277a
[ "MIT" ]
268
2021-09-14T22:40:23.000Z
2022-03-31T23:01:54.000Z
mrp/examples/06_remote/bob.py
colesbury/fairo
9e50a3aa7369c68c80e84d80abd5fcdee8a9277a
[ "MIT" ]
20
2021-09-14T19:24:47.000Z
2022-03-30T19:03:44.000Z
import a0 import signal s = a0.RemoteSubscriber( "localhost", "some/topic", lambda pkt: print(f"Got {pkt.payload}") ) signal.pause()
15.444444
70
0.690647
19
139
5.052632
0.789474
0
0
0
0
0
0
0
0
0
0
0.016949
0.151079
139
8
71
17.375
0.79661
0
0
0
0
0
0.258993
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
9bfaad88945882036d8ec76a5d54772cb9d933b9
418
py
Python
pymysquery/connection_base.py
mkeneqa/pysquery
2007bc7a6d41353360bdc40fccafc96fc94f5678
[ "MIT" ]
null
null
null
pymysquery/connection_base.py
mkeneqa/pysquery
2007bc7a6d41353360bdc40fccafc96fc94f5678
[ "MIT" ]
5
2020-07-16T18:48:50.000Z
2020-12-08T04:17:18.000Z
pymysquery/connection_base.py
mkeneqa/pysquery
2007bc7a6d41353360bdc40fccafc96fc94f5678
[ "MIT" ]
1
2020-12-01T20:22:52.000Z
2020-12-01T20:22:52.000Z
import abc import contextlib class ConnectionBase(metaclass=abc.ABCMeta): @abc.abstractmethod def connect(self): raise NotImplementedError("You should implement this!") @abc.abstractmethod def disconnect(self): raise NotImplementedError("You should implement this!") @contextlib....
22
63
0.708134
41
418
7.195122
0.585366
0.115254
0.135593
0.210169
0.338983
0.338983
0.338983
0
0
0
0
0
0.217703
418
18
64
23.222222
0.902141
0.059809
0
0.333333
0
0
0.132992
0
0
0
0
0
0
1
0.25
false
0.083333
0.166667
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3