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
16693286bda8fc5cb36e02f9aa7765ff20fcfe4e
7,066
py
Python
tests/unit/utils/test_validators.py
kajusK/HiddenPlaces
aa976f611a419bc33f8a65f0314956ec09fe2bfd
[ "MIT" ]
null
null
null
tests/unit/utils/test_validators.py
kajusK/HiddenPlaces
aa976f611a419bc33f8a65f0314956ec09fe2bfd
[ "MIT" ]
null
null
null
tests/unit/utils/test_validators.py
kajusK/HiddenPlaces
aa976f611a419bc33f8a65f0314956ec09fe2bfd
[ "MIT" ]
null
null
null
"""Unit tests for app.validators. """ from wtforms import ValidationError import flask from pytest import raises from app.utils.validators import password_rules, image_file, allowed_file class DummyField(object): """Dummy field object to emulate wtforms field.""" def __init__(self, data=None, errors=(), raw_d...
35.686869
78
0.644495
849
7,066
5.202591
0.177856
0.069278
0.040752
0.062259
0.709079
0.678515
0.662441
0.633009
0.616255
0.582975
0
0.01664
0.209029
7,066
197
79
35.86802
0.773663
0.055618
0
0.532847
0
0
0.125057
0
0
0
0
0
0.021898
1
0.138686
false
0.116788
0.029197
0.021898
0.211679
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
166add4d1cc09be73d6135b394a15f57ecfca1b9
615
py
Python
ts_eval/utils/nans.py
vshulyak/ts-eval
2049b1268cf4272f5fa1471851523f8da14dd84c
[ "MIT" ]
1
2021-07-12T08:58:07.000Z
2021-07-12T08:58:07.000Z
ts_eval/utils/nans.py
vshulyak/ts-eval
2049b1268cf4272f5fa1471851523f8da14dd84c
[ "MIT" ]
null
null
null
ts_eval/utils/nans.py
vshulyak/ts-eval
2049b1268cf4272f5fa1471851523f8da14dd84c
[ "MIT" ]
null
null
null
import warnings import numpy as np def nans_in_same_positions(*arrays): """ Compares all provided arrays to see if they have NaNs in the same positions. """ if len(arrays) == 0: return True for arr in arrays[1:]: if not (np.isnan(arrays[0]) == np.isnan(arr)).all(): ret...
24.6
80
0.642276
84
615
4.654762
0.571429
0.046036
0.046036
0
0
0
0
0
0
0
0
0.00655
0.255285
615
24
81
25.625
0.847162
0.243902
0
0.153846
0
0
0.013825
0
0
0
0
0
0
1
0.153846
false
0
0.153846
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
0
0
0
0
0
0
0
0
1
0
0
1
166b671e9115e476c69bab6e6077599dd6b6cdea
5,434
py
Python
tests/authorization/test_searches.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
2
2018-02-23T12:16:11.000Z
2020-10-08T17:54:24.000Z
tests/authorization/test_searches.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
87
2017-04-21T18:57:15.000Z
2021-12-13T19:43:57.000Z
tests/authorization/test_searches.py
UOC/dlkit
a9d265db67e81b9e0f405457464e762e2c03f769
[ "MIT" ]
1
2018-03-01T16:44:25.000Z
2018-03-01T16:44:25.000Z
"""Unit tests of authorization searches.""" import pytest from ..utilities.general import is_never_authz, is_no_authz, uses_cataloging, uses_filesystem_only from dlkit.abstract_osid.osid import errors from dlkit.primordium.id.primitives import Id from dlkit.primordium.type.primitives import Type from dlkit.runtime ...
36.469799
176
0.749724
643
5,434
6.001555
0.157076
0.051827
0.043535
0.08396
0.714693
0.637989
0.584089
0.584089
0.56284
0.502721
0
0
0.144645
5,434
148
177
36.716216
0.83025
0.146117
0
0.586957
0
0
0.200615
0.109866
0
0
0
0
0
1
0.195652
false
0.130435
0.076087
0
0.315217
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
166ed868a00e2876de6024b3dcf661e7d6afc455
216
py
Python
OOP_MiniQuiz/run_car_Level2.py
HelloYeew/helloyeew-lab-computer-programming-i
60b05072f32f23bab4a336b506ba7f66e52c045d
[ "MIT" ]
null
null
null
OOP_MiniQuiz/run_car_Level2.py
HelloYeew/helloyeew-lab-computer-programming-i
60b05072f32f23bab4a336b506ba7f66e52c045d
[ "MIT" ]
null
null
null
OOP_MiniQuiz/run_car_Level2.py
HelloYeew/helloyeew-lab-computer-programming-i
60b05072f32f23bab4a336b506ba7f66e52c045d
[ "MIT" ]
null
null
null
from car import * def compare(car1,car2): print(car1) print(car2) car1 = Car("Nissan","Tiida",450000) car2 = Car("Toyota","Vios",400000) car3 = Car("BMW","X3",3400000) compare(car3,car1) compare(car1,car2)
18
35
0.671296
32
216
4.53125
0.5625
0.151724
0.206897
0
0
0
0
0
0
0
0
0.165775
0.134259
216
12
36
18
0.609626
0
0
0
0
0
0.119816
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.222222
0.222222
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
16725a52de27142aa18864c727dddea44204b666
5,940
py
Python
beartype/vale/__init__.py
posita/beartype
e56399686e1f2ffd5128a4030b19314504e32450
[ "MIT" ]
null
null
null
beartype/vale/__init__.py
posita/beartype
e56399686e1f2ffd5128a4030b19314504e32450
[ "MIT" ]
null
null
null
beartype/vale/__init__.py
posita/beartype
e56399686e1f2ffd5128a4030b19314504e32450
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # --------------------( LICENSE )-------------------- # Copyright (c) 2014-2021 Beartype authors. # See "LICENSE" for further details. ''' **Beartype validators.** This submodule publishes a PEP-compliant hierarchy of subscriptable (indexable) classes enabling callers ...
45.343511
99
0.711616
714
5,940
5.837535
0.457983
0.017274
0.011996
0.016795
0.071017
0.056622
0.056622
0.037428
0
0
0
0.003598
0.157744
5,940
130
100
45.692308
0.829502
0.868687
0
0.210526
0
0
0.050725
0
0
0
0
0.007692
0
1
0
false
0
0.210526
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1676599bdfdd4b081bb8bb20aa32589f69c604ef
3,701
py
Python
src/regrtest.py
ucsd-progsys/csolve-bak
89cfeb5403e617f45ece4bae9f88f8e6cd7ca934
[ "BSD-3-Clause" ]
null
null
null
src/regrtest.py
ucsd-progsys/csolve-bak
89cfeb5403e617f45ece4bae9f88f8e6cd7ca934
[ "BSD-3-Clause" ]
1
2018-04-24T10:43:07.000Z
2018-04-24T10:43:07.000Z
src/regrtest.py
ucsd-progsys/csolve-bak
89cfeb5403e617f45ece4bae9f88f8e6cd7ca934
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # Copyright (c) 2009 The Regents of the University of California. All rights reserved. # # Permission is hereby granted, without written agreement and without # license or royalty fees, to use, copy, modify, and distribute this # software and its documentation for any purpose, provided that the # abov...
38.154639
107
0.676574
493
3,701
5.010142
0.432049
0.02915
0.030364
0.050607
0.083401
0.020243
0.020243
0
0
0
0
0.003842
0.156174
3,701
96
108
38.552083
0.787064
0.321805
0
0.071429
0
0
0.144167
0.044583
0
0
0
0
0
0
null
null
0
0.035714
null
null
0.017857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
167b69684843eed85973a69dafe6205fbdff9406
845
py
Python
cocos2d/tools/jenkins-scripts/configs/cocos-2dx-develop-win32.py
triompha/EarthWarrior3D
d68a347902fa1ca1282df198860f5fb95f326797
[ "MIT" ]
null
null
null
cocos2d/tools/jenkins-scripts/configs/cocos-2dx-develop-win32.py
triompha/EarthWarrior3D
d68a347902fa1ca1282df198860f5fb95f326797
[ "MIT" ]
null
null
null
cocos2d/tools/jenkins-scripts/configs/cocos-2dx-develop-win32.py
triompha/EarthWarrior3D
d68a347902fa1ca1282df198860f5fb95f326797
[ "MIT" ]
null
null
null
import os import subprocess import sys print 'Build Config:' print ' Host:win7 x86' print ' Branch:develop' print ' Target:win32' print ' "%VS110COMNTOOLS%..\IDE\devenv.com" "build\cocos2d-win32.vc2012.sln" /Build "Debug|Win32"' if(os.path.exists('build/cocos2d-win32.vc2012.sln') == False): node_...
33.8
127
0.668639
122
845
4.57377
0.491803
0.064516
0.091398
0.123656
0.286738
0.240143
0.240143
0.240143
0.240143
0.240143
0
0.05618
0.157396
845
24
128
35.208333
0.727528
0
0
0
0
0.086957
0.516443
0.243605
0
0
0
0
0
0
null
null
0
0.130435
null
null
0.304348
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
16848dd03e02c952cce813e4092be02064f38ca9
1,470
py
Python
githubdl/url_helpers.py
wilvk/githubdl
1dc8c1c0d93a8e4b8155aecf4f5e73e2931ed920
[ "MIT" ]
16
2018-06-20T00:01:40.000Z
2022-01-24T08:16:17.000Z
githubdl/url_helpers.py
wilvk/githubdl
1dc8c1c0d93a8e4b8155aecf4f5e73e2931ed920
[ "MIT" ]
12
2018-07-18T21:09:37.000Z
2020-03-28T23:38:13.000Z
githubdl/url_helpers.py
wilvk/githubdl
1dc8c1c0d93a8e4b8155aecf4f5e73e2931ed920
[ "MIT" ]
null
null
null
import re from urllib.parse import urlparse import logging def check_url_is_http(repo_url): predicate = re.compile('^https?://.*$') match = predicate.search(repo_url) return False if match is None else True def check_url_is_ssh(repo_url): predicate = re.compile(r'^git\@.*\.git$') match = predicate...
31.276596
76
0.706803
223
1,470
4.327354
0.246637
0.108808
0.067358
0.074611
0.635233
0.577202
0.472539
0.404145
0.404145
0.404145
0
0.001643
0.172109
1,470
46
77
31.956522
0.79129
0
0
0.263158
0
0
0.081633
0
0
0
0
0
0
1
0.210526
false
0
0.078947
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
168c810ecd449bb3eb263646cbc454470f8c28e4
527
py
Python
train_test_val.py
arashk7/Yolo5_Dataset_Generator
aeba58b51201b8521478c777b40c4d31f0c60be9
[ "Apache-2.0" ]
null
null
null
train_test_val.py
arashk7/Yolo5_Dataset_Generator
aeba58b51201b8521478c777b40c4d31f0c60be9
[ "Apache-2.0" ]
null
null
null
train_test_val.py
arashk7/Yolo5_Dataset_Generator
aeba58b51201b8521478c777b40c4d31f0c60be9
[ "Apache-2.0" ]
null
null
null
import os import shutil input_dir = 'E:\Dataset\zhitang\Dataset_Zhitang_Yolo5' output_dir = 'E:\Dataset\zhitang\Dataset_Zhitang_Yolo5\ZhitangYolo5' in_img_dir = os.path.join(input_dir, 'Images') in_label_dir = os.path.join(input_dir, 'Labels') out_img_dir = os.path.join(output_dir, 'images') out_label_dir = os.path.jo...
22.913043
68
0.736243
87
527
4.218391
0.37931
0.081744
0.13624
0.141689
0.52861
0.435967
0.201635
0
0
0
0
0.006438
0.11575
527
22
69
23.954545
0.781116
0
0
0
0
0
0.250478
0.17782
0
0
0
0
0
0
null
null
0
0.133333
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
168cde4a792e9985c473078c1d3e1678761198e7
4,873
py
Python
homeassistant/components/media_player/pjlink.py
dauden1184/home-assistant
f4c6d389b77d0efa86644e76604eaea5d21abdb5
[ "Apache-2.0" ]
4
2019-01-10T14:47:54.000Z
2021-04-22T02:06:27.000Z
homeassistant/components/media_player/pjlink.py
dauden1184/home-assistant
f4c6d389b77d0efa86644e76604eaea5d21abdb5
[ "Apache-2.0" ]
6
2021-02-08T21:02:40.000Z
2022-03-12T00:52:16.000Z
homeassistant/components/media_player/pjlink.py
dauden1184/home-assistant
f4c6d389b77d0efa86644e76604eaea5d21abdb5
[ "Apache-2.0" ]
3
2018-08-29T19:26:20.000Z
2020-01-19T11:58:22.000Z
""" Support for controlling projector via the PJLink protocol. For more details about this platform, please refer to the documentation at https://home-assistant.io/components/media_player.pjlink/ """ import logging import voluptuous as vol from homeassistant.components.media_player import ( PLATFORM_SCHEMA, SUPP...
31.038217
78
0.65668
580
4,873
5.277586
0.227586
0.03953
0.033322
0.037243
0.159752
0.063378
0.04247
0.029402
0
0
0
0.002704
0.241125
4,873
156
79
31.237179
0.825041
0.14488
0
0.134615
0
0
0.015935
0
0
0
0
0
0
1
0.144231
false
0.067308
0.067308
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
168f0267685e958dd990feeae60a1086e6b78107
31,038
py
Python
pxr/usd/usdGeom/testenv/testUsdGeomSchemata.py
yurivict/USD
3b097e3ba8fabf1777a1256e241ea15df83f3065
[ "Apache-2.0" ]
1
2022-03-16T01:40:10.000Z
2022-03-16T01:40:10.000Z
pxr/usd/usdGeom/testenv/testUsdGeomSchemata.py
yurivict/USD
3b097e3ba8fabf1777a1256e241ea15df83f3065
[ "Apache-2.0" ]
null
null
null
pxr/usd/usdGeom/testenv/testUsdGeomSchemata.py
yurivict/USD
3b097e3ba8fabf1777a1256e241ea15df83f3065
[ "Apache-2.0" ]
1
2018-10-03T19:08:33.000Z
2018-10-03T19:08:33.000Z
#!/pxrpythonsubst # # Copyright 2017 Pixar # # Licensed under the Apache License, Version 2.0 (the "Apache License") # with the following modification; you may not use this file except in # compliance with the Apache License and the following modification to it: # Section 6. Trademarks. is deleted and replaced with: # ...
42.69326
100
0.63055
3,425
31,038
5.706277
0.16292
0.070917
0.027937
0.028142
0.456048
0.358831
0.312679
0.27763
0.258033
0.209681
0
0.018041
0.257104
31,038
726
101
42.752066
0.82956
0.204266
0
0.384449
0
0
0.04174
0.002734
0
0
0
0
0.414687
1
0.034557
false
0
0.019438
0
0.056156
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
168fdf67ec71ebdf125bbe9b6f5c14dad854391f
1,310
py
Python
round_robin_generator/matchup_times.py
avadavat/round_robin_generator
242d522386f6af26db029232fcffb51004ff4c59
[ "MIT" ]
null
null
null
round_robin_generator/matchup_times.py
avadavat/round_robin_generator
242d522386f6af26db029232fcffb51004ff4c59
[ "MIT" ]
5
2020-04-26T19:44:41.000Z
2020-05-01T16:26:06.000Z
round_robin_generator/matchup_times.py
avadavat/round_robin_generator
242d522386f6af26db029232fcffb51004ff4c59
[ "MIT" ]
null
null
null
import pandas as pd from datetime import timedelta def generate_times(matchup_df: pd.DataFrame, tournament_start_time, game_duration, game_stagger): time_df = pd.DataFrame(index=matchup_df.index, columns=matchup_df.columns) if game_stagger == 0: for round_num in range(time_df.shape[0]): ro...
48.518519
116
0.636641
178
1,310
4.432584
0.359551
0.060837
0.072243
0.053232
0.371356
0.320659
0.139417
0.139417
0.139417
0.139417
0
0.006244
0.266412
1,310
26
117
50.384615
0.814776
0
0
0.3
1
0
0.023529
0
0
0
0
0
0
1
0.05
false
0
0.1
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1690da2be65319bb6696ac8f2ce11540524171c2
14,922
py
Python
src/week2-mlflow/AutoML/XGBoost-fake-news-automl.py
xzhnshng/databricks-zero-to-mlops
f1691c6f6137ad8b938e64cea4700c7011efb800
[ "CC0-1.0" ]
null
null
null
src/week2-mlflow/AutoML/XGBoost-fake-news-automl.py
xzhnshng/databricks-zero-to-mlops
f1691c6f6137ad8b938e64cea4700c7011efb800
[ "CC0-1.0" ]
null
null
null
src/week2-mlflow/AutoML/XGBoost-fake-news-automl.py
xzhnshng/databricks-zero-to-mlops
f1691c6f6137ad8b938e64cea4700c7011efb800
[ "CC0-1.0" ]
null
null
null
# Databricks notebook source # MAGIC %md # MAGIC # XGBoost training # MAGIC This is an auto-generated notebook. To reproduce these results, attach this notebook to the **10-3-ML-Cluster** cluster and rerun it. # MAGIC - Compare trials in the [MLflow experiment](#mlflow/experiments/406583024052808/s?orderByKey=metrics.%...
36.753695
461
0.743399
2,099
14,922
5.13959
0.273464
0.013904
0.015573
0.022896
0.229514
0.170745
0.136911
0.131072
0.109752
0.062106
0
0.024601
0.13919
14,922
405
462
36.844444
0.815259
0.513537
0
0.2
1
0.007143
0.172551
0.053452
0
0
0
0
0
1
0
false
0.007143
0.242857
0
0.242857
0.007143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1694a3aec6658351c14a81b2e91e92955b6cb8a7
341
py
Python
lucky_guess/__init__.py
mfinzi/lucky-guess-chemist
01898b733dc7d026f70d0cb6337309cb600502fb
[ "MIT" ]
null
null
null
lucky_guess/__init__.py
mfinzi/lucky-guess-chemist
01898b733dc7d026f70d0cb6337309cb600502fb
[ "MIT" ]
null
null
null
lucky_guess/__init__.py
mfinzi/lucky-guess-chemist
01898b733dc7d026f70d0cb6337309cb600502fb
[ "MIT" ]
null
null
null
import importlib import pkgutil __all__ = [] for loader, module_name, is_pkg in pkgutil.walk_packages(__path__): module = importlib.import_module('.'+module_name,package=__name__) try: globals().update({k: getattr(module, k) for k in module.__all__}) __all__ += module.__all__ except Att...
34.1
73
0.71261
42
341
5.095238
0.547619
0.140187
0
0
0
0
0
0
0
0
0
0
0.181818
341
10
74
34.1
0.767025
0
0
0
0
0
0.002924
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
169ed0cf36c52beabffce88a57318686603b6c41
443
py
Python
users/migrations/0002_auto_20191113_1352.py
Dragonite/djangohat
68890703b1fc647785cf120ada281d6f3fcc4121
[ "MIT" ]
2
2019-11-15T05:07:24.000Z
2019-11-15T10:27:48.000Z
users/migrations/0002_auto_20191113_1352.py
Dragonite/djangohat
68890703b1fc647785cf120ada281d6f3fcc4121
[ "MIT" ]
null
null
null
users/migrations/0002_auto_20191113_1352.py
Dragonite/djangohat
68890703b1fc647785cf120ada281d6f3fcc4121
[ "MIT" ]
null
null
null
# Generated by Django 2.2.2 on 2019-11-13 13:52 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migrations.AlterField( model_name='users', name='site_key', fi...
23.315789
119
0.625282
47
443
5.808511
0.765957
0.014652
0
0
0
0
0
0
0
0
0
0.130699
0.257336
443
18
120
24.611111
0.699088
0.10158
0
0
1
0
0.156566
0.080808
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
16a335de057546c0e95c5699aa9470bc30a7f928
334
py
Python
src/djangoreactredux/wsgi.py
noscripter/django-react-redux-jwt-base
078fb86005db106365df51fa11d8602fa432e3c3
[ "MIT" ]
4
2016-07-03T08:18:45.000Z
2018-12-25T07:47:41.000Z
src/djangoreactredux/wsgi.py
noscripter/django-react-redux-jwt-base
078fb86005db106365df51fa11d8602fa432e3c3
[ "MIT" ]
2
2021-03-20T00:02:08.000Z
2021-06-10T23:34:26.000Z
src/djangoreactredux/wsgi.py
noscripter/django-react-redux-jwt-base
078fb86005db106365df51fa11d8602fa432e3c3
[ "MIT" ]
1
2019-08-02T14:51:41.000Z
2019-08-02T14:51:41.000Z
""" WSGI config for django-react-redux-jwt-base project. """ import os os.environ.setdefault("DJANGO_SETTINGS_MODULE", "djangoreactredux.settings.dev") from django.core.wsgi import get_wsgi_application from whitenoise.django import DjangoWhiteNoise application = get_wsgi_application() application = DjangoWhiteNoise...
23.857143
80
0.820359
40
334
6.7
0.575
0.052239
0.134328
0
0
0
0
0
0
0
0
0
0.086826
334
13
81
25.692308
0.878689
0.155689
0
0
0
0
0.186813
0.186813
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
16a40296272a4a2617c7e2666b6828a4cb958030
1,414
py
Python
simple_settings/dynamic_settings/base.py
matthewh/simple-settings
dbddf8d5be7096ee7c4c3cc6d82824befa9b714f
[ "MIT" ]
null
null
null
simple_settings/dynamic_settings/base.py
matthewh/simple-settings
dbddf8d5be7096ee7c4c3cc6d82824befa9b714f
[ "MIT" ]
null
null
null
simple_settings/dynamic_settings/base.py
matthewh/simple-settings
dbddf8d5be7096ee7c4c3cc6d82824befa9b714f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import re from copy import deepcopy import jsonpickle class BaseReader(object): """ Base class for dynamic readers """ _default_conf = {} def __init__(self, conf): self.conf = deepcopy(self._default_conf) self.conf.update(conf) self.key_pattern = s...
28.28
68
0.609618
183
1,414
4.519126
0.311475
0.084643
0.050786
0.029021
0.095526
0.067715
0.067715
0.067715
0
0
0
0.000988
0.2843
1,414
49
69
28.857143
0.816206
0.141443
0
0.129032
0
0
0.025022
0
0
0
0
0
0
1
0.16129
false
0
0.096774
0
0.516129
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
16a89cacbc82dd93659b9a841883e22a139d8576
447
py
Python
main.py
1999foxes/run-cmd-from-websocket
0e2a080fe92b93c6cba63dfe5649ac2a3e745009
[ "Apache-2.0" ]
null
null
null
main.py
1999foxes/run-cmd-from-websocket
0e2a080fe92b93c6cba63dfe5649ac2a3e745009
[ "Apache-2.0" ]
null
null
null
main.py
1999foxes/run-cmd-from-websocket
0e2a080fe92b93c6cba63dfe5649ac2a3e745009
[ "Apache-2.0" ]
null
null
null
import asyncio import json import logging import websockets logging.basicConfig() async def counter(websocket, path): try: print("connect") async for message in websocket: print(message) finally: USERS.remove(websocket) async def main(): async with websockets.serve(c...
17.88
60
0.657718
50
447
5.72
0.62
0.055944
0
0
0
0
0
0
0
0
0
0.011834
0.243848
447
24
61
18.625
0.83432
0.024609
0
0
0
0
0.0553
0
0
0
0
0
0
1
0
true
0
0.235294
0
0.235294
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
16a8a652721deb01765dac84306cf8e790d8b09a
3,998
py
Python
3d_Vnet/3dvnet.py
GingerSpacetail/Brain-Tumor-Segmentation-and-Survival-Prediction-using-Deep-Neural-Networks
f627ce48e44bcc7d295ee1cf4086bfdfd7705d44
[ "MIT" ]
100
2020-05-21T10:23:31.000Z
2022-03-26T18:26:38.000Z
3d_Vnet/3dvnet.py
GingerSpacetail/Brain-Tumor-Segmentation-and-Survival-Prediction-using-Deep-Neural-Networks
f627ce48e44bcc7d295ee1cf4086bfdfd7705d44
[ "MIT" ]
3
2020-08-19T18:14:01.000Z
2021-01-04T09:53:07.000Z
3d_Vnet/3dvnet.py
GingerSpacetail/Brain-Tumor-Segmentation-and-Survival-Prediction-using-Deep-Neural-Networks
f627ce48e44bcc7d295ee1cf4086bfdfd7705d44
[ "MIT" ]
25
2020-09-05T04:19:22.000Z
2022-02-09T19:30:29.000Z
import random import pandas as pd import numpy as np import matplotlib.pyplot as plt #%matplotlib inline import tensorflow as tf import keras.backend as K from keras.utils import to_categorical from keras import metrics from keras.models import Model, load_model from keras.layers import Input, BatchNormalizat...
34.465517
118
0.693847
617
3,998
4.36953
0.210697
0.027448
0.021142
0.033383
0.428042
0.35089
0.306751
0.303042
0.303042
0.267433
0
0.064865
0.167084
3,998
115
119
34.765217
0.744745
0.074037
0
0.162162
0
0
0.017603
0
0
0
0
0
0
1
0.027027
false
0
0.405405
0
0.459459
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
16a9cd5f8c3947e5f770014cb07528f411173928
18,818
py
Python
lib/networks/Resnet50_train.py
yangxue0827/TF_Deformable_Net
00c86380fd2725ebe7ae22f41d460ffc0bca378d
[ "MIT" ]
193
2017-07-19T14:29:38.000Z
2021-10-20T07:35:42.000Z
lib/networks/Resnet50_train.py
yangxue0827/TF_Deformable_Net
00c86380fd2725ebe7ae22f41d460ffc0bca378d
[ "MIT" ]
29
2017-07-24T10:07:22.000Z
2020-01-03T20:38:36.000Z
lib/networks/Resnet50_train.py
Zardinality/TF_Deformable_Net
00c86380fd2725ebe7ae22f41d460ffc0bca378d
[ "MIT" ]
67
2017-07-27T14:32:47.000Z
2021-12-27T13:10:37.000Z
# -------------------------------------------------------- # TFFRCNN - Resnet50 # Copyright (c) 2016 # Licensed under The MIT License [see LICENSE for details] # Written by miraclebiu # -------------------------------------------------------- import tensorflow as tf from .network import Network from ..fast_rcnn.config...
58.080247
189
0.597619
2,416
18,818
4.447434
0.074089
0.020289
0.102932
0.109819
0.74053
0.709912
0.548813
0.541461
0.395905
0.384272
0
0.06968
0.240408
18,818
323
190
58.260062
0.682034
0.144064
0
0.021097
0
0
0.189634
0.009158
0
0
0
0
0
1
0.008439
false
0
0.012658
0
0.025316
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
16ad65c0a3b3c48d1d5528a704a36242b69e1b30
590
py
Python
python/get_links.py
quiddity-wp/mediawiki-api-demos
98910dbd9c2cbbb13db790f3e8979419aeab34d4
[ "MIT" ]
63
2019-05-19T13:22:37.000Z
2022-03-30T13:21:40.000Z
python/get_links.py
quiddity-wp/mediawiki-api-demos
98910dbd9c2cbbb13db790f3e8979419aeab34d4
[ "MIT" ]
67
2019-05-03T17:17:19.000Z
2021-06-21T11:02:10.000Z
python/get_links.py
quiddity-wp/mediawiki-api-demos
98910dbd9c2cbbb13db790f3e8979419aeab34d4
[ "MIT" ]
49
2019-02-19T09:28:33.000Z
2019-03-24T04:36:53.000Z
#This file is auto-generated. See modules.json and autogenerator.py for details #!/usr/bin/python3 """ get_links.py MediaWiki API Demos Demo of `Links` module: Get all links on the given page(s) MIT License """ import requests S = requests.Session() URL = "https://en.wikipedia.org/w/api.php" PAR...
16.857143
79
0.618644
87
590
4.183908
0.689655
0
0
0
0
0
0
0
0
0
0
0.002155
0.213559
590
34
80
17.352941
0.782328
0.340678
0
0
1
0
0.288462
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
16b0eceb3e8aafd2e9b6e9e274abab88018c34aa
495
py
Python
subir/ingreso/migrations/0004_auto_20191003_1509.py
Brandon1625/subir
b827a30e64219fdc9de07689d2fb32e2c4bd02b7
[ "bzip2-1.0.6" ]
null
null
null
subir/ingreso/migrations/0004_auto_20191003_1509.py
Brandon1625/subir
b827a30e64219fdc9de07689d2fb32e2c4bd02b7
[ "bzip2-1.0.6" ]
null
null
null
subir/ingreso/migrations/0004_auto_20191003_1509.py
Brandon1625/subir
b827a30e64219fdc9de07689d2fb32e2c4bd02b7
[ "bzip2-1.0.6" ]
null
null
null
# Generated by Django 2.2.4 on 2019-10-03 21:09 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('ingreso', '0003_auto_20190907_2152'), ] operations = [ migrations.AlterField( model_name='detal...
24.75
116
0.650505
58
495
5.431034
0.689655
0.07619
0.088889
0.139683
0
0
0
0
0
0
0
0.081579
0.232323
495
19
117
26.052632
0.747368
0.090909
0
0
1
0
0.154018
0.051339
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
16b8947aeb5e92484b74a59f50dce7a8d1075f22
23,601
py
Python
dev/Tools/build/waf-1.7.13/lmbrwaflib/unit_test_lumberyard_modules.py
akulamartin/lumberyard
2d4be458a02845179be098e40cdc0c48f28f3b5a
[ "AML" ]
8
2019-10-07T16:33:47.000Z
2020-12-07T03:59:58.000Z
dev/Tools/build/waf-1.7.13/lmbrwaflib/unit_test_lumberyard_modules.py
29e7e280-0d1c-4bba-98fe-f7cd3ca7500a/lumberyard
1c52b941dcb7d94341fcf21275fe71ff67173ada
[ "AML" ]
null
null
null
dev/Tools/build/waf-1.7.13/lmbrwaflib/unit_test_lumberyard_modules.py
29e7e280-0d1c-4bba-98fe-f7cd3ca7500a/lumberyard
1c52b941dcb7d94341fcf21275fe71ff67173ada
[ "AML" ]
4
2019-08-05T07:25:46.000Z
2020-12-07T05:12:55.000Z
# # All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or # its licensors. # # For complete copyright and license terms please see the LICENSE at the root of this # distribution (the "License"). All use of this software is governed by the License, # or, if provided, by the license below or th...
43.304587
191
0.637897
2,345
23,601
6.03838
0.088699
0.04202
0.046328
0.055085
0.724929
0.697387
0.673234
0.662076
0.642514
0.62959
0
0.001173
0.277785
23,601
544
192
43.384191
0.829569
0.079403
0
0.581662
0
0
0.099921
0.014941
0
0
0
0
0.17765
1
0.106017
false
0.028653
0.014327
0.011461
0.17192
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
16bd643a28b81f74d29d0b9a43b20d245093f663
12,716
py
Python
tensorhive/config.py
roscisz/TensorHive
4a680f47a0ee1ce366dc82ad9964e229d9749c4e
[ "Apache-2.0" ]
129
2017-08-25T11:45:15.000Z
2022-03-29T05:11:25.000Z
tensorhive/config.py
roscisz/TensorHive
4a680f47a0ee1ce366dc82ad9964e229d9749c4e
[ "Apache-2.0" ]
251
2017-07-27T10:05:58.000Z
2022-03-02T12:46:13.000Z
tensorhive/config.py
roscisz/TensorHive
4a680f47a0ee1ce366dc82ad9964e229d9749c4e
[ "Apache-2.0" ]
20
2017-08-13T13:05:14.000Z
2022-03-19T02:21:37.000Z
from pathlib import PosixPath import configparser from typing import Dict, Optional, Any, List from inspect import cleandoc import shutil import tensorhive import os import logging log = logging.getLogger(__name__) class CONFIG_FILES: # Where to copy files # (TensorHive tries to load these by default) con...
42.959459
118
0.681268
1,527
12,716
5.429601
0.212181
0.032565
0.048245
0.022193
0.267157
0.199132
0.138584
0.101435
0.075624
0.066216
0
0.006244
0.206511
12,716
295
119
43.105085
0.814965
0.094291
0
0.087805
0
0
0.172567
0.045692
0
0
0
0
0
1
0.053659
false
0.004878
0.058537
0.009756
0.609756
0.009756
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
16c7d2d61e641808d594577e77047ea93c4d6c86
8,007
py
Python
software/Opal/spud/diamond/build/lib.linux-x86_64-2.7/diamond/dialogs.py
msc-acse/acse-9-independent-research-project-Wade003
cfcba990d52ccf535171cf54c0a91b184db6f276
[ "MIT" ]
2
2020-05-11T02:39:46.000Z
2020-05-11T03:08:38.000Z
software/multifluids_icferst/libspud/diamond/build/lib.linux-x86_64-2.7/diamond/dialogs.py
msc-acse/acse-9-independent-research-project-Wade003
cfcba990d52ccf535171cf54c0a91b184db6f276
[ "MIT" ]
null
null
null
software/multifluids_icferst/libspud/diamond/build/lib.linux-x86_64-2.7/diamond/dialogs.py
msc-acse/acse-9-independent-research-project-Wade003
cfcba990d52ccf535171cf54c0a91b184db6f276
[ "MIT" ]
2
2020-05-21T22:50:19.000Z
2020-10-28T17:16:31.000Z
#!/usr/bin/env python # This file is part of Diamond. # # Diamond is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
28.193662
95
0.723242
1,113
8,007
4.997305
0.230907
0.031643
0.018878
0.019777
0.233549
0.144373
0.093132
0.06005
0.044948
0.020137
0
0.00511
0.168977
8,007
283
96
28.293286
0.830778
0.100912
0
0.104651
0
0
0.031669
0
0
0
0
0
0
0
null
null
0
0.02907
null
null
0.011628
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
16c8cf672763555c8ebe97c11704c5a42703427b
5,536
py
Python
bobjiang/settings.py
bobjiangps/django-blog
6afd36fa96c5a027546575b362b0a481c5d7c1a5
[ "MIT" ]
3
2019-10-25T13:08:04.000Z
2020-01-05T11:29:18.000Z
bobjiang/settings.py
bobjiangps/django-blog
6afd36fa96c5a027546575b362b0a481c5d7c1a5
[ "MIT" ]
9
2020-05-10T10:13:56.000Z
2022-03-11T23:33:52.000Z
bobjiang/settings.py
bobjiangps/django-blog
6afd36fa96c5a027546575b362b0a481c5d7c1a5
[ "MIT" ]
3
2019-02-11T02:55:51.000Z
2020-01-05T11:29:20.000Z
""" Django settings for bobjiang project. Generated by 'django-admin startproject' using Django 2.0.6. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import os i...
28.984293
171
0.638728
564
5,536
6.138298
0.460993
0.056326
0.044483
0.050549
0.173888
0.149913
0.077123
0.077123
0.034662
0
0
0.007706
0.203035
5,536
190
172
29.136842
0.776972
0.213692
0
0.041322
1
0
0.462624
0.250174
0
0
0
0
0
1
0
false
0.049587
0.016529
0
0.016529
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
16c94789f75ac4c3a4caedf7d0832ce6641802d7
671
py
Python
Users/models.py
titusnjuguna/FreeDom
204b3d06ba66e6e8a04af976a25c3c1b7c070f75
[ "MIT" ]
1
2022-02-10T17:54:53.000Z
2022-02-10T17:54:53.000Z
Users/models.py
titusnjuguna/FreeDom
204b3d06ba66e6e8a04af976a25c3c1b7c070f75
[ "MIT" ]
null
null
null
Users/models.py
titusnjuguna/FreeDom
204b3d06ba66e6e8a04af976a25c3c1b7c070f75
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from PIL import Image class Profile(models.Model): user = models.ForeignKey(User, on_delete=models.CASCADE) image = models.ImageField(default='default.jpg', upload_to='profile_pic/') ...
29.173913
60
0.588674
82
671
4.682927
0.536585
0.052083
0.057292
0.078125
0
0
0
0
0
0
0
0.025696
0.304024
671
22
61
30.5
0.796574
0
0
0
0
0
0.076006
0
0
0
0
0
0
1
0.125
false
0
0.1875
0.0625
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
16cc8a900ca38b32bc2a6bbb0fff269ef5b921da
1,430
py
Python
conanfile.py
mmurooka/mc_rtc_data
bf45279cc59f9d85915cb2a01a84c23e5ce45958
[ "BSD-2-Clause" ]
1
2021-04-12T06:02:53.000Z
2021-04-12T06:02:53.000Z
conanfile.py
mmurooka/mc_rtc_data
bf45279cc59f9d85915cb2a01a84c23e5ce45958
[ "BSD-2-Clause" ]
3
2020-06-18T10:01:15.000Z
2021-11-08T12:43:43.000Z
conanfile.py
mmurooka/mc_rtc_data
bf45279cc59f9d85915cb2a01a84c23e5ce45958
[ "BSD-2-Clause" ]
4
2020-03-12T08:57:41.000Z
2021-09-07T03:07:56.000Z
# -*- coding: utf-8 -*- # from conans import python_requires import conans.tools as tools import os base = python_requires("Eigen3ToPython/latest@multi-contact/dev") class MCRTCDataConan(base.Eigen3ToPythonConan): name = "mc_rtc_data" version = "1.0.4" description = "Environments/Robots description for m...
34.878049
168
0.652448
181
1,430
4.983425
0.524862
0.027716
0.039911
0.037694
0.133038
0.133038
0.073171
0.073171
0
0
0
0.014731
0.193007
1,430
40
169
35.75
0.766898
0.014685
0
0
0
0
0.360142
0.064769
0
0
0
0
0
1
0.096774
false
0.032258
0.096774
0
0.645161
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
16cd7731b200cbda5815fed9bc8eb8baf3b78188
1,217
py
Python
hyperion/migrations/0006_auto_20190218_2251.py
ExiaSR/hyperion
0b14ef55ed00b964f1966c722f4162c475aa4895
[ "MIT" ]
3
2019-01-30T03:50:04.000Z
2019-02-20T00:33:05.000Z
hyperion/migrations/0006_auto_20190218_2251.py
ExiaSR/hyperion
0b14ef55ed00b964f1966c722f4162c475aa4895
[ "MIT" ]
173
2019-01-30T08:30:54.000Z
2019-04-05T19:43:06.000Z
hyperion/migrations/0006_auto_20190218_2251.py
ExiaSR/hyperion
0b14ef55ed00b964f1966c722f4162c475aa4895
[ "MIT" ]
2
2019-05-06T22:59:56.000Z
2020-09-29T03:13:03.000Z
# Generated by Django 2.1.5 on 2019-02-18 22:51 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('hyperion', '0005_auto_20190212_2116'), ] operations = [ migrations.RenameField( model_name='pos...
34.771429
201
0.571898
129
1,217
5.27907
0.542636
0.052863
0.057269
0.064611
0.25257
0.170338
0
0
0
0
0
0.056106
0.253081
1,217
34
202
35.794118
0.693069
0.036976
0
0.321429
1
0
0.209402
0.019658
0
0
0
0
0
1
0
false
0
0.071429
0
0.178571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
16cdaac129cd705700eab605365385f7b7b8a82c
2,236
py
Python
pottan_ocr/utils.py
nithyadurai87/pottan-ocr-tamil
e455891dc0ddd508d1318abf84fc59cc548873f7
[ "MIT" ]
5
2019-05-05T18:26:14.000Z
2019-08-02T05:04:12.000Z
pottan_ocr/utils.py
nithyadurai87/pottan-ocr-tamil
e455891dc0ddd508d1318abf84fc59cc548873f7
[ "MIT" ]
3
2020-07-17T02:28:11.000Z
2021-05-08T21:58:10.000Z
pottan_ocr/utils.py
nithyadurai87/pottan-ocr-tamil
e455891dc0ddd508d1318abf84fc59cc548873f7
[ "MIT" ]
3
2020-04-11T19:39:08.000Z
2020-12-21T08:44:21.000Z
import torch import json import numpy as np from torch.autograd import Variable import gzip import yaml from re import split from matplotlib import pyplot def showImg( im ): pyplot.imshow( im ) pyplot.show() def myOpen( fname, mode ): return open( fname, mode, encoding="utf-8" ) def readFile( fname ): ...
24.304348
99
0.58542
301
2,236
4.312292
0.38206
0.042373
0.046225
0.030817
0.101695
0.035439
0
0
0
0
0
0.006231
0.2822
2,236
91
100
24.571429
0.802492
0.086315
0
0
0
0
0.057579
0
0
0
0
0
0
1
0.203125
false
0
0.125
0.03125
0.4375
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
16cf7d6d5783bc8dc6f881f5646090c8b7e4317c
7,584
py
Python
population_estimator/curses_io.py
cruzanta/population-estimator
cb56c551b615726543d8b1643302be2d30fd593c
[ "MIT" ]
1
2019-02-10T01:30:09.000Z
2019-02-10T01:30:09.000Z
population_estimator/curses_io.py
cruzantada/population-estimator
cb56c551b615726543d8b1643302be2d30fd593c
[ "MIT" ]
null
null
null
population_estimator/curses_io.py
cruzantada/population-estimator
cb56c551b615726543d8b1643302be2d30fd593c
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ Module for painting output on and obtaining input from a text-based terminal window using the curses library. """ import curses import textwrap def display_string(screen, a_string, output_line): # Paints a string on a text-based terminal window. _, width = screen.getmaxyx() tr...
36.114286
80
0.676292
1,118
7,584
4.447227
0.12254
0.104586
0.044449
0.055511
0.736726
0.707763
0.673572
0.620676
0.570193
0.55712
0
0.003944
0.264504
7,584
209
81
36.287081
0.887415
0.520042
0
0.493671
0
0
0.021778
0
0
0
0
0
0
1
0.088608
false
0
0.025316
0
0.202532
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
16d095db1ff9ef61a032d5e0564695c1cb47f1b3
6,986
py
Python
SAP/released_tr_email_sender/ui.py
botisko/personal_programs
2e234271db438e228b9028b8180a6e833f482104
[ "MIT" ]
null
null
null
SAP/released_tr_email_sender/ui.py
botisko/personal_programs
2e234271db438e228b9028b8180a6e833f482104
[ "MIT" ]
1
2021-01-08T13:25:16.000Z
2021-01-08T13:25:16.000Z
SAP/released_tr_email_sender/ui.py
botisko/personal_programs
2e234271db438e228b9028b8180a6e833f482104
[ "MIT" ]
1
2021-01-08T12:52:29.000Z
2021-01-08T12:52:29.000Z
import json from tkinter import * from tkinter import ttk from tkinter import messagebox from tr_data import TRData, NO_DATA_MEETS_CRITERIA from email_text import email_body_template from helpers import send_email RECIPIENT = <email_address> EXCEPTION_FILE = "tr_number_exceptions.json" class TrEmailSender: def...
38.174863
134
0.61838
878
6,986
4.687927
0.21754
0.034985
0.031584
0.044218
0.252915
0.187804
0.160836
0.11516
0.090865
0.073372
0
0.012905
0.278987
6,986
182
135
38.384615
0.804249
0.066848
0
0.15873
0
0
0.115574
0.021391
0
0
0
0
0
0
null
null
0
0.063492
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
16d0a3ae5b7a5043417a9ada134eda9cc4f2dd27
1,548
py
Python
AI-Practice-Tensorflow-Notes-master/opt/opt4_8_backward.py
foochane/Tensorflow-Learning
54d210a1286051e9d60c98a62bd63eb070bc0a11
[ "Apache-2.0" ]
2
2019-01-23T14:23:17.000Z
2019-01-23T14:23:49.000Z
AI-Practice-Tensorflow-Notes-master/opt/opt4_8_backward.py
foochane/Tensorflow-Learning
54d210a1286051e9d60c98a62bd63eb070bc0a11
[ "Apache-2.0" ]
null
null
null
AI-Practice-Tensorflow-Notes-master/opt/opt4_8_backward.py
foochane/Tensorflow-Learning
54d210a1286051e9d60c98a62bd63eb070bc0a11
[ "Apache-2.0" ]
null
null
null
#coding:utf-8 #0导入模块 ,生成模拟数据集 import tensorflow as tf import numpy as np import matplotlib.pyplot as plt import opt4_8_generateds import opt4_8_forward STEPS = 40000 BATCH_SIZE = 30 LEARNING_RATE_BASE = 0.001 LEARNING_RATE_DECAY = 0.999 REGULARIZER = 0.01 def backward(): x = tf.placeholder(tf.float32, shape=(None, ...
24.967742
72
0.700258
259
1,548
3.945946
0.416988
0.07045
0.026419
0.043053
0.060665
0.060665
0
0
0
0
0
0.043247
0.148579
1,548
61
73
25.377049
0.73217
0.029716
0
0
1
0
0.02737
0
0
0
0
0
0
1
0.022727
false
0
0.113636
0
0.136364
0.022727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
16d1b5218231a945c48c3095503b717e135149a2
7,987
py
Python
tests/test_transliterate.py
abosoar/camel_tools
0a92c06f6dde0063e26df5cbe4d74c2f99b418e0
[ "MIT" ]
1
2021-03-23T12:50:47.000Z
2021-03-23T12:50:47.000Z
tests/test_transliterate.py
KaoutharMokrane/camel_tools
e9099907835b05d448362bce2cb0e815ac7f5590
[ "MIT" ]
null
null
null
tests/test_transliterate.py
KaoutharMokrane/camel_tools
e9099907835b05d448362bce2cb0e815ac7f5590
[ "MIT" ]
1
2021-01-24T05:06:33.000Z
2021-01-24T05:06:33.000Z
# -*- coding: utf-8 -*- # MIT License # # Copyright 2018-2020 New York University Abu Dhabi # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitatio...
33.700422
79
0.662076
1,035
7,987
4.97971
0.192271
0.02988
0.051222
0.034148
0.689756
0.650175
0.598564
0.576251
0.520567
0.510477
0
0.002331
0.248028
7,987
236
80
33.84322
0.855811
0.428446
0
0.357143
0
0
0.113724
0
0
0
0
0
0.166667
1
0.261905
false
0
0.047619
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
16d397fdfd404f351b1fb42cfa6cff5538a49320
790
py
Python
00-Aulas/Aula007_2.py
AmandaRH07/Python_Entra21
4084962508f1597c0498d8b329e0f45e2ac55302
[ "MIT" ]
null
null
null
00-Aulas/Aula007_2.py
AmandaRH07/Python_Entra21
4084962508f1597c0498d8b329e0f45e2ac55302
[ "MIT" ]
null
null
null
00-Aulas/Aula007_2.py
AmandaRH07/Python_Entra21
4084962508f1597c0498d8b329e0f45e2ac55302
[ "MIT" ]
null
null
null
# Funções cabecalho = "SISTEMA DE CADASTRO DE FUNCIONARIO\n\n\n" rodape = "\n\n\n Obrigada pela preferencia" def imprimir_tela(conteudo): print(cabecalho) #print(opcao_menu) print(conteudo) print(rodape) def ler_opcoes(): opcao = int(input("Insira a opção: ")) return opcao def carregar_o...
27.241379
70
0.655696
101
790
5.039604
0.445545
0.141454
0.127701
0.176817
0.294695
0.294695
0
0
0
0
0
0.008292
0.236709
790
29
71
27.241379
0.835821
0.03038
0
0
0
0
0.378272
0
0
0
0
0
0
1
0.136364
false
0.045455
0
0
0.181818
0.136364
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
16d55202daea41a875b382f2393a76063d29376b
4,865
py
Python
lib/django-0.96/django/views/generic/list_detail.py
MiCHiLU/google_appengine_sdk
3da9f20d7e65e26c4938d2c4054bc4f39cbc5522
[ "Apache-2.0" ]
790
2015-01-03T02:13:39.000Z
2020-05-10T19:53:57.000Z
AppServer/lib/django-0.96/django/views/generic/list_detail.py
nlake44/appscale
6944af660ca4cb772c9b6c2332ab28e5ef4d849f
[ "Apache-2.0" ]
1,361
2015-01-08T23:09:40.000Z
2020-04-14T00:03:04.000Z
AppServer/lib/django-0.96/django/views/generic/list_detail.py
nlake44/appscale
6944af660ca4cb772c9b6c2332ab28e5ef4d849f
[ "Apache-2.0" ]
155
2015-01-08T22:59:31.000Z
2020-04-08T08:01:53.000Z
from django.template import loader, RequestContext from django.http import Http404, HttpResponse from django.core.xheaders import populate_xheaders from django.core.paginator import ObjectPaginator, InvalidPage from django.core.exceptions import ObjectDoesNotExist def object_list(request, queryset, paginate_by=None, p...
36.856061
113
0.623227
578
4,865
5.029412
0.200692
0.057792
0.03096
0.024768
0.328173
0.290334
0.265566
0.179567
0.148607
0.148607
0
0.007225
0.288798
4,865
131
114
37.137405
0.832948
0
0
0.382022
0
0
0.07343
0
0
0
0
0
0
0
null
null
0
0.05618
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
16d79dca474781cfacdcca9ed1544b5e9e33234c
2,612
py
Python
src/richie/apps/courses/lms/edx.py
kernicPanel/richie
803deda3e29383ce85593e1836a3cf4efc6b847e
[ "MIT" ]
null
null
null
src/richie/apps/courses/lms/edx.py
kernicPanel/richie
803deda3e29383ce85593e1836a3cf4efc6b847e
[ "MIT" ]
null
null
null
src/richie/apps/courses/lms/edx.py
kernicPanel/richie
803deda3e29383ce85593e1836a3cf4efc6b847e
[ "MIT" ]
null
null
null
""" Backend to connect Open edX richie with an LMS """ import logging import re import requests from requests.auth import AuthBase from ..serializers import SyncCourseRunSerializer from .base import BaseLMSBackend logger = logging.getLogger(__name__) def split_course_key(key): """Split an OpenEdX course key by...
32.246914
88
0.68683
326
2,612
5.380368
0.407975
0.041049
0.035918
0.027366
0
0
0
0
0
0
0
0.002886
0.204058
2,612
80
89
32.65
0.840789
0.383231
0
0
0
0
0.06345
0
0
0
0
0
0
1
0.216216
false
0
0.162162
0
0.621622
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
16d7b7c1c6e2def8cf0c9ec10f6916a0a8cf367f
4,106
py
Python
BitTorrent-5.2.2/BTL/brpclib.py
jpabb7/p2pScrapper
0fd57049606864223eb45f956a58adda1231af88
[ "MIT" ]
4
2016-04-26T03:43:54.000Z
2016-11-17T08:09:04.000Z
BitTorrent-5.2.2/BTL/brpclib.py
jpabb7/p2pScrapper
0fd57049606864223eb45f956a58adda1231af88
[ "MIT" ]
17
2015-01-05T21:06:22.000Z
2015-12-07T20:45:44.000Z
BitTorrent-5.2.2/BTL/brpclib.py
jpabb7/p2pScrapper
0fd57049606864223eb45f956a58adda1231af88
[ "MIT" ]
7
2015-07-28T09:17:17.000Z
2021-11-07T02:29:41.000Z
# by Greg Hazel import xmlrpclib from xmlrpclib2 import * from BTL import brpc old_PyCurlTransport = PyCurlTransport class PyCurlTransport(old_PyCurlTransport): def set_connection_params(self, h): h.add_header('User-Agent', "brpclib.py/1.0") h.add_header('Connection', "Keep-Alive") h.add_...
30.641791
74
0.605212
503
4,106
4.695825
0.355865
0.016935
0.00508
0.024132
0.009314
0
0
0
0
0
0
0.012735
0.273259
4,106
133
75
30.87218
0.77882
0.11057
0
0.052632
0
0
0.092642
0.008027
0
0
0
0
0.026316
0
null
null
0
0.052632
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
16de03e641bb707c0257c647f4e57b0375e2b543
668
py
Python
Python/fibs.py
familug/FAMILUG
ef8c11d92f4038d80f3f1a24cbab022c19791acf
[ "BSD-2-Clause" ]
5
2015-10-13T04:13:04.000Z
2020-12-23T13:47:43.000Z
Python/fibs.py
familug/FAMILUG
ef8c11d92f4038d80f3f1a24cbab022c19791acf
[ "BSD-2-Clause" ]
null
null
null
Python/fibs.py
familug/FAMILUG
ef8c11d92f4038d80f3f1a24cbab022c19791acf
[ "BSD-2-Clause" ]
8
2015-07-20T15:37:38.000Z
2021-04-14T07:18:10.000Z
def fib(n): if n < 2: return n else: return fib(n-1) + fib(n-2) def fib_fast(n): from math import sqrt s5 = sqrt(5) x = (1 + s5) ** n y = (1 - s5) ** n return int((x - y)/(s5 * 2**n)) def print_fib(n): for i in range(n): print fib(i), print for i i...
15.904762
35
0.438623
113
668
2.469027
0.283186
0.057348
0.064516
0.11828
0.143369
0.143369
0.143369
0
0
0
0
0.06701
0.419162
668
41
36
16.292683
0.652062
0
0
0.181818
0
0
0.011976
0
0
0
0
0
0
0
null
null
0
0.030303
null
null
0.363636
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
16e4dfbf8bd61eccd8ee52165a28c0666d169326
840
py
Python
test_mnist.py
aidiary/chainer-siamese
6abce9192298e14682a7c766e2a5cdd10f519193
[ "MIT" ]
null
null
null
test_mnist.py
aidiary/chainer-siamese
6abce9192298e14682a7c766e2a5cdd10f519193
[ "MIT" ]
null
null
null
test_mnist.py
aidiary/chainer-siamese
6abce9192298e14682a7c766e2a5cdd10f519193
[ "MIT" ]
null
null
null
import os import chainer import chainer.links as L from net import SiameseNetwork import numpy as np import matplotlib.pyplot as plt # 訓練済みモデルをロード model = SiameseNetwork() chainer.serializers.load_npz(os.path.join('result', 'model.npz'), model) # テストデータをロード _, test = chainer.datasets.get_mnist(ndim=3) test_data, te...
24.705882
72
0.667857
118
840
4.677966
0.618644
0.047101
0.036232
0.057971
0
0
0
0
0
0
0
0.07978
0.134524
840
33
73
25.454545
0.679505
0.140476
0
0
0
0
0.156863
0
0
0
0
0
0
1
0
false
0
0.315789
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
16e5abfcca6728651310e1b9d7d20815d0685476
5,535
py
Python
TwoFeetTempoMove.py
b0nz0/TwisterTempo
fc975af4095509d8ec4fe2f84313fe152577bed2
[ "MIT" ]
null
null
null
TwoFeetTempoMove.py
b0nz0/TwisterTempo
fc975af4095509d8ec4fe2f84313fe152577bed2
[ "MIT" ]
null
null
null
TwoFeetTempoMove.py
b0nz0/TwisterTempo
fc975af4095509d8ec4fe2f84313fe152577bed2
[ "MIT" ]
null
null
null
from random import randrange, random from time import time import logging from TwisterTempoGUI import TwisterTempoGUI class TwoFeetTempoMove(object): COLORS_ALPHA = {0: 'RED', 1: 'BLUE', 2: 'YELLOW', 3: 'GREEN'} COLORS_RGB = {0: (255, 0, 0), 1: (0, 0, 255), 2: (255, 255, 0), 3: (0, 255, 0)} FOOT_CHANGE_...
45.368852
106
0.592954
652
5,535
4.673313
0.142638
0.065638
0.089596
0.162783
0.605514
0.507384
0.409583
0.350837
0.258943
0.258943
0
0.026302
0.313098
5,535
121
107
45.743802
0.775118
0.024571
0
0.352941
0
0
0.051001
0
0
0
0
0
0.019608
1
0.068627
false
0
0.039216
0.019608
0.186275
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
16ef740b41f41832481d4956834bb037ddc3b7b6
2,614
py
Python
tests/test_nested_structures_inside_structure_values.py
Robinson04/StructNoSQL
335c63593025582336bb67ad0b0ed39d30800b74
[ "MIT" ]
3
2020-10-30T23:31:26.000Z
2022-03-30T21:48:40.000Z
tests/test_nested_structures_inside_structure_values.py
Robinson04/StructNoSQL
335c63593025582336bb67ad0b0ed39d30800b74
[ "MIT" ]
42
2020-09-16T15:23:11.000Z
2021-09-20T13:00:50.000Z
tests/test_nested_structures_inside_structure_values.py
Robinson04/StructNoSQL
335c63593025582336bb67ad0b0ed39d30800b74
[ "MIT" ]
2
2021-01-03T21:37:22.000Z
2021-08-12T20:28:52.000Z
import unittest from typing import Set, Optional, Dict, List from uuid import uuid4 from StructNoSQL import BaseField, MapModel, TableDataModel from tests.components.playground_table_clients import PlaygroundDynamoDBBasicTable, TEST_ACCOUNT_ID class TableModel(TableDataModel): accountId = BaseField(field_type=st...
38.441176
114
0.704285
277
2,614
6.270758
0.306859
0.031088
0.048359
0.041451
0.342545
0.264824
0.218768
0.218768
0.218768
0.218768
0
0.001429
0.197016
2,614
67
115
39.014925
0.826108
0.076129
0
0.229167
0
0
0.134855
0.086722
0
0
0
0.014925
0.104167
1
0.083333
false
0.041667
0.104167
0
0.270833
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
bc43defd49d4ea43585c8d3910e9622ef8bc8d38
1,099
py
Python
scrapy/spider/spider/items.py
huobingli/splider
a62f0553160531a0735b249b0dc49747e9c821f9
[ "MIT" ]
null
null
null
scrapy/spider/spider/items.py
huobingli/splider
a62f0553160531a0735b249b0dc49747e9c821f9
[ "MIT" ]
null
null
null
scrapy/spider/spider/items.py
huobingli/splider
a62f0553160531a0735b249b0dc49747e9c821f9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy from scrapy.loader import ItemLoader from scrapy.loader.processors import TakeFirst # class SpiderItem(scrapy.Item): # # define the fields for your...
24.977273
52
0.66424
133
1,099
5.428571
0.503759
0.213296
0.062327
0.049862
0.135734
0.135734
0.135734
0.135734
0.135734
0.135734
0
0.00348
0.215651
1,099
44
53
24.977273
0.834107
0.503185
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.214286
0
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bc44f25c8ff96beccbbd3fbaa05ae2dcf6790cc6
576
py
Python
fopp/Chapter 12. Functions/get_num_digits.py
H2u-Hwng/EVC
c650fe7356a333011514cf9025dfd97bf71b1de3
[ "MIT" ]
null
null
null
fopp/Chapter 12. Functions/get_num_digits.py
H2u-Hwng/EVC
c650fe7356a333011514cf9025dfd97bf71b1de3
[ "MIT" ]
null
null
null
fopp/Chapter 12. Functions/get_num_digits.py
H2u-Hwng/EVC
c650fe7356a333011514cf9025dfd97bf71b1de3
[ "MIT" ]
null
null
null
# Take number, and convert integer to string # Calculate and return number of digits def get_num_digits(num): # Convert int to str num_str = str(num) # Calculate number of digits digits = len(num_str) return digits # Define main function def main(): # Prompt user for an int...
20.571429
70
0.647569
80
576
4.5625
0.4375
0.087671
0.153425
0
0
0
0
0
0
0
0
0
0.276042
576
27
71
21.333333
0.8753
0.402778
0
0
0
0
0.221557
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.333333
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
bc450f5f688b95fda7b269a4ca568c7ecc5143ca
4,992
py
Python
whois/__init__.py
mzpqnxow/whois-1
b5623ed25cfa58d9457d30dae640e69b9e530b23
[ "MIT" ]
null
null
null
whois/__init__.py
mzpqnxow/whois-1
b5623ed25cfa58d9457d30dae640e69b9e530b23
[ "MIT" ]
null
null
null
whois/__init__.py
mzpqnxow/whois-1
b5623ed25cfa58d9457d30dae640e69b9e530b23
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import print_function from __future__ import absolute_import from __future__ import unicode_literals from __future__ import division from future import standard_library standard_library.install_aliases() from builtins import * import re import sys import os import subprocess imp...
42.305085
1,227
0.55629
927
4,992
2.9137
0.211435
0.035542
0.048871
0.059237
0.197705
0.183636
0.178082
0.155498
0.138467
0.138467
0
0.109804
0.182692
4,992
117
1,228
42.666667
0.552206
0.252404
0
0.132353
0
0.014706
0.358366
0.337107
0
0
0
0
0
1
0.029412
false
0.014706
0.191176
0
0.264706
0.044118
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
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bc45c15aebfb0da618b90f3884eb8a545e0f2823
3,255
py
Python
app/dialog/avatar_picture_dialog.py
tirinox/alphavatarbot
5adac8c9c4534206eaf6c146f6e194ed5951d055
[ "MIT" ]
1
2021-03-18T15:35:15.000Z
2021-03-18T15:35:15.000Z
app/dialog/avatar_picture_dialog.py
tirinox/alphavatarbot
5adac8c9c4534206eaf6c146f6e194ed5951d055
[ "MIT" ]
null
null
null
app/dialog/avatar_picture_dialog.py
tirinox/alphavatarbot
5adac8c9c4534206eaf6c146f6e194ed5951d055
[ "MIT" ]
1
2021-03-18T15:35:51.000Z
2021-03-18T15:35:51.000Z
import asyncio from contextlib import AsyncExitStack from aiogram.dispatcher.filters.state import StatesGroup, State from aiogram.dispatcher.storage import FSMContextProxy from aiogram.types import Message, PhotoSize, ReplyKeyboardRemove, ContentTypes from aiogram.utils.helper import HelperMode from dialog.avatar_ima...
39.695122
119
0.677112
404
3,255
5.200495
0.324257
0.023322
0.042837
0.036173
0.254641
0.150405
0.097097
0.039981
0
0
0
0.006093
0.243625
3,255
81
120
40.185185
0.847279
0.046083
0
0.070175
0
0
0.00839
0.00839
0
0
0
0.012346
0
1
0.035088
false
0
0.192982
0.017544
0.350877
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
bc4baf04ed5a5ebda75a1b19ad254a0f725f6190
2,027
py
Python
nehebn2.py
psifertex/nehebn2
8b62a88a9d06624dbb62b8b74cc0566172fba970
[ "MIT" ]
null
null
null
nehebn2.py
psifertex/nehebn2
8b62a88a9d06624dbb62b8b74cc0566172fba970
[ "MIT" ]
null
null
null
nehebn2.py
psifertex/nehebn2
8b62a88a9d06624dbb62b8b74cc0566172fba970
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from components import ProgramState import binaryninja as binja import argparse import os.path import curses # TODO...impliment live-refreashing the settings.json during run (add the keybinding and check for it here in the global input loop) # TODO...support multi-key presses? Not sure if this ...
28.957143
138
0.644795
253
2,027
5.098814
0.561265
0.027907
0.027907
0.021705
0
0
0
0
0
0
0
0.01225
0.23483
2,027
69
139
29.376812
0.819471
0.207203
0
0.12
0
0
0.080675
0
0
0
0
0.014493
0
1
0.02
false
0
0.1
0
0.12
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
bc4f1db83b181105ad1b030028d4a99321957de7
560
py
Python
boards/migrations/0024_boardpreferences_moderators.py
oscarsiles/jotlet
361f7ad0d32ea96d012020a67493931482207036
[ "BSD-3-Clause" ]
null
null
null
boards/migrations/0024_boardpreferences_moderators.py
oscarsiles/jotlet
361f7ad0d32ea96d012020a67493931482207036
[ "BSD-3-Clause" ]
2
2022-03-21T22:22:33.000Z
2022-03-28T22:18:33.000Z
boards/migrations/0024_boardpreferences_moderators.py
oscarsiles/jotlet
361f7ad0d32ea96d012020a67493931482207036
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 4.0.3 on 2022-03-01 14:42 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('boards', '0023_alter_image_type'), ] operations ...
26.666667
115
0.673214
62
560
5.903226
0.709677
0.054645
0.087432
0.114754
0
0
0
0
0
0
0
0.043779
0.225
560
20
116
28
0.799539
0.080357
0
0
1
0
0.134503
0.040936
0
0
0
0
0
1
0
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bc511f5404ed81ec6c064f4f97b303375361769d
774
py
Python
leetcode/47.py
windniw/just-for-fun
54e5c2be145f3848811bfd127f6a89545e921570
[ "Apache-2.0" ]
1
2019-08-28T23:15:25.000Z
2019-08-28T23:15:25.000Z
leetcode/47.py
windniw/just-for-fun
54e5c2be145f3848811bfd127f6a89545e921570
[ "Apache-2.0" ]
null
null
null
leetcode/47.py
windniw/just-for-fun
54e5c2be145f3848811bfd127f6a89545e921570
[ "Apache-2.0" ]
null
null
null
""" link: https://leetcode.com/problems/permutations-ii problem: 求全排列,nums中存在重复数 solution: 同46,加上排序即可 """ class Solution: def permuteUnique(self, nums: List[int]) -> List[List[int]]: if len(nums) == 1: return [nums] new_nums = nums.copy() new_nums.sort() ...
28.666667
73
0.529716
106
774
3.698113
0.367925
0.285714
0.122449
0.112245
0.201531
0.163265
0.163265
0.163265
0.163265
0.163265
0
0.023166
0.330749
774
26
74
29.769231
0.733591
0.127907
0
0.125
0
0
0
0
0
0
0
0
0
1
0.0625
false
0
0
0
0.25
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bc53c586e44516a506fdeff0f180d92c8730dd5b
908
py
Python
courses/migrations/0003_alter_content_options_alter_module_options_and_more.py
antonnifo/E-Soma
93d49b27dedbff58d19f8245a79693762fc819d5
[ "MIT" ]
1
2022-02-09T06:28:04.000Z
2022-02-09T06:28:04.000Z
courses/migrations/0003_alter_content_options_alter_module_options_and_more.py
antonnifo/E-Soma
93d49b27dedbff58d19f8245a79693762fc819d5
[ "MIT" ]
null
null
null
courses/migrations/0003_alter_content_options_alter_module_options_and_more.py
antonnifo/E-Soma
93d49b27dedbff58d19f8245a79693762fc819d5
[ "MIT" ]
1
2022-02-09T06:29:11.000Z
2022-02-09T06:29:11.000Z
# Generated by Django 4.0.1 on 2022-01-20 13:10 import courses.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('courses', '0002_video_text_image_file_content'), ] operations = [ migrations.AlterModelOptions( name='content', ...
25.942857
67
0.562775
83
908
6.048193
0.518072
0.077689
0.123506
0.119522
0.294821
0.294821
0.294821
0.294821
0.294821
0.294821
0
0.033816
0.316079
908
34
68
26.705882
0.774557
0.049559
0
0.571429
1
0
0.119628
0.039489
0
0
0
0
0
1
0
false
0
0.071429
0
0.178571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bc56aa53a834b83d16f942b242b5f67998363eda
22,135
py
Python
mscreen/autodocktools_prepare_py3k/mglutil/web/services/AppService_services.py
e-mayo/mscreen
a50f0b2f7104007c730baa51b4ec65c891008c47
[ "MIT" ]
9
2021-03-06T04:24:28.000Z
2022-01-03T09:53:07.000Z
mglutil/web/services/AppService_services.py
e-mayo/autodocktools-prepare-py3k
2dd2316837bcb7c19384294443b2855e5ccd3e01
[ "BSD-3-Clause" ]
3
2021-03-07T05:37:16.000Z
2021-09-19T15:06:54.000Z
mglutil/web/services/AppService_services.py
e-mayo/autodocktools-prepare-py3k
2dd2316837bcb7c19384294443b2855e5ccd3e01
[ "BSD-3-Clause" ]
4
2019-08-28T23:11:39.000Z
2021-11-27T08:43:36.000Z
################################################## # ./AppService_services.py # generated by ZSI.wsdl2python # # ################################################## from .AppService_services_types import * from .AppService_services_types import \ nbcr_sdsc_edu_opal_types as ns1 import urllib.parse, types from...
41.296642
136
0.651096
2,066
22,135
6.687803
0.099226
0.045162
0.056452
0.079033
0.555475
0.505609
0.448795
0.415865
0.385467
0.344069
0
0.010064
0.250373
22,135
535
137
41.373832
0.822636
0.252586
0
0.262948
1
0
0.066174
0
0
0
0
0
0
1
0.175299
false
0
0.023904
0.007968
0.446215
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bc5ad874ef55f36dd52e0759ceb93fea5f606b23
2,437
py
Python
constellation_forms/migrations/0001_initial.py
ConstellationApps/Forms
5d2bacf589c1a473cf619f34d569d33191b11285
[ "ISC" ]
2
2017-04-18T02:41:00.000Z
2017-04-18T02:51:39.000Z
constellation_forms/migrations/0001_initial.py
ConstellationApps/Forms
5d2bacf589c1a473cf619f34d569d33191b11285
[ "ISC" ]
33
2017-03-03T06:16:44.000Z
2019-08-20T23:06:21.000Z
constellation_forms/migrations/0001_initial.py
ConstellationApps/Forms
5d2bacf589c1a473cf619f34d569d33191b11285
[ "ISC" ]
1
2017-02-22T18:48:04.000Z
2017-02-22T18:48:04.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-03-15 00:56 from __future__ import unicode_literals from django.conf import settings import django.contrib.postgres.fields.jsonb from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial =...
37.492308
142
0.552318
222
2,437
5.932432
0.40991
0.024298
0.047836
0.061503
0.32574
0.301443
0.23918
0.23918
0.179954
0.179954
0
0.012331
0.30119
2,437
64
143
38.078125
0.76101
0.027903
0
0.375
1
0
0.108199
0.010144
0
0
0
0
0
1
0
false
0
0.089286
0
0.160714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bc5ae8aa40e31ef7936556c55251ff7ab9886286
2,258
py
Python
src/webpy1/src/borough/dbsqli.py
ptphp/PyLib
07ac99cf2deb725475f5771b123b9ea1375f5e65
[ "Apache-2.0" ]
1
2020-02-17T08:18:29.000Z
2020-02-17T08:18:29.000Z
src/webpy1/src/borough/dbsqli.py
ptphp/PyLib
07ac99cf2deb725475f5771b123b9ea1375f5e65
[ "Apache-2.0" ]
null
null
null
src/webpy1/src/borough/dbsqli.py
ptphp/PyLib
07ac99cf2deb725475f5771b123b9ea1375f5e65
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import sqlite3 as sqlite import os.path as osp import sys class Sqli(object): conn = '' cursor = '' def __init__(self, dbname): try: self.conn = sqlite.connect(osp.abspath(dbname)) except Exception, what: print wh...
27.204819
79
0.529672
248
2,258
4.754032
0.294355
0.093299
0.100933
0.117048
0.524173
0.476675
0.439355
0.439355
0.439355
0.402884
0
0.002706
0.345438
2,258
82
80
27.536585
0.794993
0.018601
0
0.546667
0
0
0.412376
0.019874
0
0
0
0
0
0
null
null
0
0.04
null
null
0.106667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
bc5eeaf616c5264490632d3b43d2af7080e1aea8
28,625
py
Python
gate/mate_ksx3267v2.py
mrchoi87/IRSOSv4
886c3dcbeb64c3a8cc257b58692946fd5462312e
[ "BSD-3-Clause" ]
null
null
null
gate/mate_ksx3267v2.py
mrchoi87/IRSOSv4
886c3dcbeb64c3a8cc257b58692946fd5462312e
[ "BSD-3-Clause" ]
null
null
null
gate/mate_ksx3267v2.py
mrchoi87/IRSOSv4
886c3dcbeb64c3a8cc257b58692946fd5462312e
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # # -*- coding: utf-8 -*- # # Copyright (c) 2018 JiNong, Inc. # All right reserved. # import struct import time import socket import select import traceback import hashlib import json from enum import IntEnum from threading import Thread, Lock from mate import Mate, ThreadMate, DevType from mbloc...
40.71835
212
0.516681
3,147
28,625
4.632031
0.13918
0.026754
0.022295
0.02744
0.41737
0.369349
0.339164
0.265487
0.201413
0.175894
0
0.041242
0.307109
28,625
702
213
40.776353
0.693708
0.081013
0
0.256619
0
0.002037
0.132772
0.023035
0
0
0
0
0
0
null
null
0
0.026477
null
null
0.028513
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
bc6537e769f6b3ef7aa9a2e3afa098d8b075693f
1,220
py
Python
evsim/assessor.py
cbchoi/nppsim
4d096f9d2fdb5ebf3e3e83be7b1974bfc92554c1
[ "MIT" ]
3
2020-01-21T13:06:37.000Z
2021-03-01T23:35:20.000Z
evsim/assessor.py
cbchoi/pohangsim
e978ff39ec94413ae44129510c56acb134770298
[ "MIT" ]
null
null
null
evsim/assessor.py
cbchoi/pohangsim
e978ff39ec94413ae44129510c56acb134770298
[ "MIT" ]
null
null
null
from evsim.system_simulator import SystemSimulator from evsim.behavior_model_executor import BehaviorModelExecutor from evsim.system_message import SysMessage from evsim.definition import * import os import subprocess as sp class Assessor(BehaviorModelExecutor): def __init__(self, instance_time, destruct...
34.857143
126
0.657377
145
1,220
5.275862
0.427586
0.047059
0.039216
0.052288
0.269281
0.269281
0.269281
0.269281
0.269281
0.14902
0
0.003165
0.222951
1,220
35
127
34.857143
0.803797
0.261475
0
0
0
0
0.030233
0
0
0
0
0
0
1
0.2
false
0
0.3
0.05
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
bc6c634a8700c04a493d0272caa915d4e9038c51
580
py
Python
mvp/migrations/0004_auto_20201127_0649.py
Wastecoinng/mvp_beta
2faa4b9eeac99b2c284bafad955b90f9951991fc
[ "MIT" ]
null
null
null
mvp/migrations/0004_auto_20201127_0649.py
Wastecoinng/mvp_beta
2faa4b9eeac99b2c284bafad955b90f9951991fc
[ "MIT" ]
null
null
null
mvp/migrations/0004_auto_20201127_0649.py
Wastecoinng/mvp_beta
2faa4b9eeac99b2c284bafad955b90f9951991fc
[ "MIT" ]
null
null
null
# Generated by Django 2.2.13 on 2020-11-27 05:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('mvp', '0003_hublocation'), ] operations = [ migrations.RemoveField( model_name='hublocation', name='longitude', ...
24.166667
105
0.591379
57
580
5.912281
0.719298
0.053412
0.118694
0.142433
0
0
0
0
0
0
0
0.06846
0.294828
580
23
106
25.217391
0.755501
0.07931
0
0.235294
1
0
0.120301
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bc6daca01b612effa21edcc2bb7e569ddcd2750f
751
py
Python
adminapp/migrations/0012_auto_20210714_1155.py
mofresh27/MuseumExperience-Group2-Python-BE-1
d6ca7aceeddfcfdefdf112ab5e40cf74d6b472ce
[ "MIT" ]
null
null
null
adminapp/migrations/0012_auto_20210714_1155.py
mofresh27/MuseumExperience-Group2-Python-BE-1
d6ca7aceeddfcfdefdf112ab5e40cf74d6b472ce
[ "MIT" ]
1
2021-07-19T14:27:28.000Z
2021-07-19T14:27:28.000Z
adminapp/migrations/0012_auto_20210714_1155.py
mofresh27/MuseumExperience-Group2-Python-BE-1
d6ca7aceeddfcfdefdf112ab5e40cf74d6b472ce
[ "MIT" ]
2
2021-07-14T21:56:46.000Z
2021-07-15T16:11:41.000Z
# Generated by Django 3.2.4 on 2021-07-14 11:55 from django.db import migrations, models import uuid class Migration(migrations.Migration): dependencies = [ ('adminapp', '0011_faq'), ] operations = [ migrations.AddField( model_name='faq', name='uuid', ...
25.033333
78
0.565912
78
751
5.397436
0.512821
0.064133
0.085511
0.114014
0.418052
0.418052
0.418052
0.418052
0.228029
0
0
0.03861
0.310253
751
29
79
25.896552
0.774131
0.05992
0
0.434783
1
0
0.06108
0
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bc6e15840fb47699b6ed6ae5254ac356715fcfad
2,794
py
Python
tests/gen_test.py
tinylambda/tornadio2
7b112e2e207bd7500288b42896f9970c16e623ad
[ "Apache-2.0" ]
null
null
null
tests/gen_test.py
tinylambda/tornadio2
7b112e2e207bd7500288b42896f9970c16e623ad
[ "Apache-2.0" ]
null
null
null
tests/gen_test.py
tinylambda/tornadio2
7b112e2e207bd7500288b42896f9970c16e623ad
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ tornadio2.tests.gen ~~~~~~~~~~~~~~~~~~~ :copyright: (c) 2011 by the Serge S. Koval, see AUTHORS for more details. :license: Apache, see LICENSE for more details. """ from collections import deque from nose.tools import eq_ from tornadio2 import gen _queue = None def in...
17.910256
77
0.598067
362
2,794
4.38674
0.19337
0.09068
0.098237
0.040302
0.561083
0.509446
0.490554
0.442065
0.438917
0.397985
0
0.015093
0.264853
2,794
155
78
18.025806
0.758033
0.084825
0
0.62766
0
0
0.013444
0
0
0
0
0
0
1
0.202128
false
0
0.031915
0
0.276596
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
bc7c42367a8432fba7810ae50ee93f6f9fc12d32
2,516
py
Python
unittests/tools/test_intsights_parser.py
M-Rod101/django-DefectDojo
7b09a00b1a526abaf40455c2ddec16aaa06b16e2
[ "BSD-3-Clause" ]
249
2016-09-06T21:04:40.000Z
2018-01-19T15:59:44.000Z
unittests/tools/test_intsights_parser.py
OWASP/django-DefectDojo
c101e47b294863877cd68a82d0cc60f8017b45b1
[ "BSD-3-Clause" ]
255
2016-09-06T21:36:37.000Z
2018-01-19T19:57:57.000Z
unittests/tools/test_intsights_parser.py
M-Rod101/django-DefectDojo
7b09a00b1a526abaf40455c2ddec16aaa06b16e2
[ "BSD-3-Clause" ]
152
2016-09-06T21:04:54.000Z
2018-01-18T08:52:24.000Z
from ..dojo_test_case import DojoTestCase from dojo.models import Test from dojo.tools.intsights.parser import IntSightsParser class TestIntSightsParser(DojoTestCase): def test_intsights_parser_with_one_critical_vuln_has_one_findings_json( self): testfile = open("unittests/scans/intsights/ints...
38.121212
102
0.677663
265
2,516
6.177358
0.267925
0.073305
0.04887
0.067196
0.736714
0.707392
0.653635
0.653635
0.609652
0.483812
0
0.022786
0.232512
2,516
65
103
38.707692
0.824961
0
0
0.518519
0
0
0.194754
0.116852
0
0
0
0
0.203704
1
0.092593
false
0
0.055556
0
0.166667
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bc831b7e95388ec378c7efd07e50c5540c59f285
435
py
Python
gullveig/web/__init__.py
Addvilz/gullveig
6ac5e66062c1b5ea8ad7c66f69be9e3d99ac0825
[ "Apache-2.0" ]
8
2020-08-24T14:53:14.000Z
2021-03-16T03:58:01.000Z
gullveig/web/__init__.py
Addvilz/gullveig
6ac5e66062c1b5ea8ad7c66f69be9e3d99ac0825
[ "Apache-2.0" ]
6
2020-08-25T13:19:02.000Z
2021-02-21T21:55:34.000Z
gullveig/web/__init__.py
Addvilz/gullveig
6ac5e66062c1b5ea8ad7c66f69be9e3d99ac0825
[ "Apache-2.0" ]
null
null
null
import logging from gullveig import bootstrap_default_logger # Configure default logging def _configure_default_web_logger(): logger = logging.getLogger('gullveig-web') bootstrap_default_logger(logger) api_logger = logging.getLogger('gullveig-api') bootstrap_default_logger(api_logger) aio_logge...
22.894737
52
0.795402
51
435
6.392157
0.294118
0.196319
0.269939
0.153374
0
0
0
0
0
0
0
0
0.128736
435
18
53
24.166667
0.860158
0.057471
0
0
0
0
0.093137
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.3
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bc926bb3d7c2f20a37f4cae0b86f7455ebdb913c
1,430
py
Python
scalability/tests/test_misc.py
ggreif/ic
ac56ec91f077c00d59eea3f73f51e14a1b3ea882
[ "Apache-2.0" ]
941
2021-05-10T08:14:14.000Z
2022-03-31T11:40:24.000Z
scalability/tests/test_misc.py
ggreif/ic
ac56ec91f077c00d59eea3f73f51e14a1b3ea882
[ "Apache-2.0" ]
3
2022-02-16T12:24:20.000Z
2022-03-23T12:05:41.000Z
scalability/tests/test_misc.py
ggreif/ic
ac56ec91f077c00d59eea3f73f51e14a1b3ea882
[ "Apache-2.0" ]
122
2021-05-10T08:21:23.000Z
2022-03-25T20:34:12.000Z
import unittest from unittest import TestCase from misc import verify class TestVerify(TestCase): """Tests misc.py verifies function.""" def test_verify__with_zero_threshold_and_expected_succeeds(self): """Test passes when expected rate, actual rate and threshold are all zero.""" result = ve...
43.333333
110
0.735664
189
1,430
5.31746
0.285714
0.053731
0.051741
0.053731
0.552239
0.452736
0.452736
0.406965
0.275622
0.275622
0
0.02874
0.172727
1,430
32
111
44.6875
0.820795
0.263636
0
0.222222
0
0
0.066212
0
0
0
0
0
0.222222
1
0.222222
false
0
0.166667
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
bc9aea616fee38b1a73a79e690091369c909ef06
737
py
Python
var/spack/repos/builtin/packages/aspell/package.py
jeanbez/spack
f4e51ce8f366c85bf5aa0eafe078677b42dae1ba
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
var/spack/repos/builtin/packages/aspell/package.py
jeanbez/spack
f4e51ce8f366c85bf5aa0eafe078677b42dae1ba
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
8
2021-11-09T20:28:40.000Z
2022-03-15T03:26:33.000Z
var/spack/repos/builtin/packages/aspell/package.py
jeanbez/spack
f4e51ce8f366c85bf5aa0eafe078677b42dae1ba
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
2
2019-02-08T20:37:20.000Z
2019-03-31T15:19:26.000Z
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack.package import * # See also: AspellDictPackage class Aspell(AutotoolsPackage, GNUMirrorPackage): """GNU A...
32.043478
98
0.738128
95
737
5.694737
0.778947
0.016636
0.022181
0.027726
0
0
0
0
0
0
0
0.113419
0.150611
737
22
99
33.5
0.750799
0.459973
0
0
0
0
0.409922
0.24282
0
0
0
0
0
1
0
false
0
0.125
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
bc9f42407dc824808c93da43b669882c77d6d9f4
9,461
py
Python
web/app/forms.py
Devidence7/Break
f961b1b46977c86739ff651fe81a1d9fff98a8e1
[ "MIT" ]
null
null
null
web/app/forms.py
Devidence7/Break
f961b1b46977c86739ff651fe81a1d9fff98a8e1
[ "MIT" ]
null
null
null
web/app/forms.py
Devidence7/Break
f961b1b46977c86739ff651fe81a1d9fff98a8e1
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import Form, StringField, PasswordField, BooleanField, SubmitField, IntegerField, validators, FileField, \ MultipleFileField, SelectField, RadioField, HiddenField, DecimalField, TextAreaField from wtforms.fields.html5 import DateField from wtforms.validators import DataR...
48.025381
323
0.649931
957
9,461
6.426332
0.258098
0.075122
0.099024
0.095772
0.56374
0.539024
0.507317
0.47122
0.396423
0.353008
0
0.014233
0.220273
9,461
196
324
48.270408
0.819032
0.036043
0
0.376471
0
0
0.374383
0
0
0
0
0
0
1
0
false
0.064706
0.023529
0
0.458824
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
bcaa324b8d6cf63921fcf9763740cc9027d44173
855
py
Python
trips/migrations/0004_invoice.py
chorna/taxi24
09e174a0cb3b9543ca4987e60cd0d37ecda6ac3c
[ "MIT" ]
null
null
null
trips/migrations/0004_invoice.py
chorna/taxi24
09e174a0cb3b9543ca4987e60cd0d37ecda6ac3c
[ "MIT" ]
null
null
null
trips/migrations/0004_invoice.py
chorna/taxi24
09e174a0cb3b9543ca4987e60cd0d37ecda6ac3c
[ "MIT" ]
null
null
null
# Generated by Django 3.2.5 on 2021-07-11 23:51 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('trips', '0003_alter_trip_state'), ] operations = [ migrations.CreateModel( name='Invoice', ...
32.884615
130
0.592982
94
855
5.244681
0.62766
0.048682
0.056795
0.089249
0
0
0
0
0
0
0
0.036566
0.264327
855
25
131
34.2
0.747218
0.052632
0
0
1
0
0.115099
0.02599
0
0
0
0
0
1
0
false
0
0.105263
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bcaae8938e310a72ba14496462496246c713e82d
577
py
Python
contrib/micronet/scripts/file2buf.py
pmalhaire/WireHub
588a372e678b49557deed6ba88a896596222fb2d
[ "Apache-2.0" ]
337
2018-12-21T22:13:57.000Z
2019-11-01T18:35:10.000Z
contrib/micronet/scripts/file2buf.py
nask0/WireHub
588a372e678b49557deed6ba88a896596222fb2d
[ "Apache-2.0" ]
8
2018-12-24T20:16:40.000Z
2019-09-02T11:54:48.000Z
contrib/micronet/scripts/file2buf.py
nask0/WireHub
588a372e678b49557deed6ba88a896596222fb2d
[ "Apache-2.0" ]
18
2018-12-24T02:49:38.000Z
2019-07-31T20:00:47.000Z
#!/usr/bin/env python3 import os import sys MAX = 8 fpath = sys.argv[1] name = sys.argv[2] with open(fpath, "rb") as fh: sys.stdout.write("char %s[] = {" % (name,) ) i = 0 while True: if i > 0: sys.stdout.write(", ") if i % MAX == 0: sys.stdout.write("\n\t") ...
15.594595
49
0.443674
82
577
3.109756
0.5
0.176471
0.27451
0.117647
0
0
0
0
0
0
0
0.029891
0.362218
577
36
50
16.027778
0.663043
0.036395
0
0.086957
0
0
0.099278
0
0
0
0
0
0
1
0
false
0
0.086957
0
0.086957
0.173913
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bcab784b7b6a5cec70ca79e8907334431af7152b
2,505
py
Python
shudder/__main__.py
fitpay/shudder
3bd3d7d712f60b7c7db1d259c024dde3eaeed26c
[ "Apache-2.0" ]
null
null
null
shudder/__main__.py
fitpay/shudder
3bd3d7d712f60b7c7db1d259c024dde3eaeed26c
[ "Apache-2.0" ]
null
null
null
shudder/__main__.py
fitpay/shudder
3bd3d7d712f60b7c7db1d259c024dde3eaeed26c
[ "Apache-2.0" ]
null
null
null
# Copyright 2014 Scopely, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
37.38806
75
0.637126
314
2,505
4.961783
0.44586
0.038511
0.048139
0.053915
0.065469
0.065469
0.065469
0.065469
0.065469
0.065469
0
0.009377
0.276248
2,505
66
76
37.954545
0.849972
0.219561
0
0.046512
0
0
0.084015
0
0
0
0
0
0
0
null
null
0
0.209302
null
null
0.069767
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
bcae93da2c9dcb0c8765b93504dcb020462aad8e
1,696
py
Python
game/ball.py
geoncic/PyBlock
69c8220e38a21b7e1c6dd2196752173f9e78981f
[ "MIT" ]
null
null
null
game/ball.py
geoncic/PyBlock
69c8220e38a21b7e1c6dd2196752173f9e78981f
[ "MIT" ]
null
null
null
game/ball.py
geoncic/PyBlock
69c8220e38a21b7e1c6dd2196752173f9e78981f
[ "MIT" ]
null
null
null
import pygame import pygame.gfxdraw from constants import Constants class Balls(object): def __init__(self, all_sprites, all_balls): self.all_sprites = all_sprites self.all_balls = all_balls def spawn_ball(self, pos, vel, team): # Todo: Figure out how to spawn multiple balls with some...
30.836364
102
0.625
245
1,696
4.130612
0.302041
0.041502
0.039526
0.035573
0.083992
0.059289
0.059289
0.059289
0.059289
0
0
0.006339
0.255896
1,696
54
103
31.407407
0.795563
0.081958
0
0.05
0
0
0.012878
0
0
0
0
0.018519
0
1
0.175
false
0
0.075
0
0.3
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
bcaebabdfa8553517a45b393cf40eff654bc096f
36,597
py
Python
program/eggUI.py
otills/embryocv
d501f057bada15ff5dc753d3dae5a883b5c9e244
[ "MIT" ]
1
2020-08-05T02:47:12.000Z
2020-08-05T02:47:12.000Z
program/eggUI.py
otills/embryocv
d501f057bada15ff5dc753d3dae5a883b5c9e244
[ "MIT" ]
null
null
null
program/eggUI.py
otills/embryocv
d501f057bada15ff5dc753d3dae5a883b5c9e244
[ "MIT" ]
1
2020-08-05T02:47:16.000Z
2020-08-05T02:47:16.000Z
from pyqtgraph.Qt import QtCore, QtGui import numpy as np from scipy.spatial import distance as dist import glob import re import os from PyQt5 import QtGui from PyQt5.QtCore import * from PyQt5.QtGui import * import sys import cv2 import pandas as pd from PyQt5.Qt import * import pyqtgraph as pg #from PyQt4.Qt import ...
54.540984
329
0.545099
3,856
36,597
5.138745
0.111774
0.055514
0.076306
0.034418
0.686652
0.660207
0.640424
0.617159
0.605249
0.605047
0
0.020821
0.244064
36,597
671
330
54.540984
0.695427
0.409924
0
0.585227
0
0
0.012608
0
0
0
0
0
0
1
0.048295
false
0
0.056818
0
0.116477
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bcaf69ed2a6fded7e4b539b423940b33563b6d40
540
py
Python
tests/unittest/options/pricing/test_binomial_trees.py
yiluzhu/quant
784c5cc20eeded2ff684b464eec4744f000d9638
[ "MIT" ]
1
2020-10-14T12:56:14.000Z
2020-10-14T12:56:14.000Z
tests/unittest/options/pricing/test_binomial_trees.py
yiluzhu/quant
784c5cc20eeded2ff684b464eec4744f000d9638
[ "MIT" ]
null
null
null
tests/unittest/options/pricing/test_binomial_trees.py
yiluzhu/quant
784c5cc20eeded2ff684b464eec4744f000d9638
[ "MIT" ]
null
null
null
from unittest import TestCase from options.pricing.binomial_trees import BinomialTreePricer from options.option import OptionType, Option class BinomialTreeTestCase(TestCase): def test_basic(self): """European option, spot price 50, strike price 52, risk free interest rate 5% expiry 2 years, vo...
30
86
0.698148
67
540
5.58209
0.656716
0.058824
0
0
0
0
0
0
0
0
0
0.061466
0.216667
540
17
87
31.764706
0.822695
0.196296
0
0
0
0
0
0
0
0
0
0
0.111111
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
bcb0236709da62fc588329e551c92b5fc621ffd9
2,927
py
Python
kafka/structs.py
informatique-cdc/kafka-python
d73bd6fc2f8825e2fddb7c4f091af7b266e37aea
[ "Apache-2.0" ]
4,389
2015-06-12T06:00:10.000Z
2022-03-31T20:41:42.000Z
kafka/structs.py
informatique-cdc/kafka-python
d73bd6fc2f8825e2fddb7c4f091af7b266e37aea
[ "Apache-2.0" ]
1,595
2015-12-02T20:58:22.000Z
2022-03-27T07:28:03.000Z
kafka/structs.py
informatique-cdc/kafka-python
d73bd6fc2f8825e2fddb7c4f091af7b266e37aea
[ "Apache-2.0" ]
1,115
2015-12-02T23:17:52.000Z
2022-03-30T03:34:29.000Z
""" Other useful structs """ from __future__ import absolute_import from collections import namedtuple """A topic and partition tuple Keyword Arguments: topic (str): A topic name partition (int): A partition id """ TopicPartition = namedtuple("TopicPartition", ["topic", "partition"]) """A Kafka broker...
33.261364
102
0.702767
358
2,927
5.692737
0.374302
0.023553
0.027478
0.023553
0.102552
0.069676
0.069676
0.035329
0.035329
0
0
0.001697
0.194739
2,927
87
103
33.643678
0.862961
0.031773
0
0
0
0
0.415135
0.022703
0
0
0
0.011494
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
bcb21686e2484863628d877e956c259a49e6e1be
2,542
py
Python
app/resources/magic_castle_api.py
ComputeCanada/mc-hub
92b4c212ba8f7b5b1c8b8700f981275605a07067
[ "BSD-3-Clause" ]
5
2020-09-04T16:34:36.000Z
2020-09-25T19:14:59.000Z
app/resources/magic_castle_api.py
ComputeCanada/mc-hub
92b4c212ba8f7b5b1c8b8700f981275605a07067
[ "BSD-3-Clause" ]
39
2020-09-12T17:37:14.000Z
2022-03-10T17:49:57.000Z
app/resources/magic_castle_api.py
ComputeCanada/mc-hub
92b4c212ba8f7b5b1c8b8700f981275605a07067
[ "BSD-3-Clause" ]
1
2021-03-29T15:42:13.000Z
2021-03-29T15:42:13.000Z
from flask import request from resources.api_view import ApiView from exceptions.invalid_usage_exception import InvalidUsageException from models.user.user import User from models.user.authenticated_user import AuthenticatedUser class MagicCastleAPI(ApiView): def get(self, user: User, hostname): if hostna...
39.71875
77
0.5893
257
2,542
5.509728
0.249027
0.217514
0.093927
0.056497
0.658192
0.634181
0.634181
0.634181
0.634181
0.580508
0
0
0.335563
2,542
63
78
40.349206
0.838366
0
0
0.54386
0
0
0.043666
0
0
0
0
0
0
1
0.070175
false
0.035088
0.087719
0
0.298246
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bcb4c4328d404e8eec9df91c64d171e98d7a2415
5,778
py
Python
src/Gismo_XY To Location.py
AntonelloDN/gismo
3ffbabaf8405efd3572701c9e0b7497211dfc248
[ "Apache-2.0" ]
57
2017-01-31T11:55:22.000Z
2022-03-26T16:00:40.000Z
src/Gismo_XY To Location.py
AntonelloDN/gismo
3ffbabaf8405efd3572701c9e0b7497211dfc248
[ "Apache-2.0" ]
11
2017-02-22T16:45:11.000Z
2020-05-06T17:00:07.000Z
src/Gismo_XY To Location.py
AntonelloDN/gismo
3ffbabaf8405efd3572701c9e0b7497211dfc248
[ "Apache-2.0" ]
19
2017-01-29T18:02:58.000Z
2021-08-25T10:56:57.000Z
# xy to location # # Gismo is a plugin for GIS environmental analysis (GPL) started by Djordje Spasic. # # This file is part of Gismo. # # Copyright (c) 2019, Djordje Spasic <djordjedspasic@gmail.com> # Gismo is free software: you can redistribute it and/or modify it under the terms of the GNU General Public Lic...
47.360656
246
0.72776
653
5,778
6.320061
0.338438
0.040708
0.028108
0.045554
0.17228
0.130119
0.089411
0.067846
0.038284
0.038284
0
0.012208
0.206127
5,778
121
247
47.752066
0.887508
0.18207
0
0.220339
0
0
0.065931
0
0
0
0
0
0
0
null
null
0.016949
0.050847
null
null
0.237288
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
bcbef8c15ce4fa1656c062f45eb901b87f935220
1,828
py
Python
musicLrc.py
xiangxing98/Rhythm-Enlightment
d6302321e858d07480b18e94c59de87f91c39202
[ "MIT" ]
null
null
null
musicLrc.py
xiangxing98/Rhythm-Enlightment
d6302321e858d07480b18e94c59de87f91c39202
[ "MIT" ]
null
null
null
musicLrc.py
xiangxing98/Rhythm-Enlightment
d6302321e858d07480b18e94c59de87f91c39202
[ "MIT" ]
null
null
null
import time musicLrc = """ [00:03.50]传奇 [00:19.10]作词:刘兵 作曲:李健 [00:20.60]演唱:王菲 [00:26.60] [04:40.75][02:39.90][00:36.25]只是因为在人群中多看了你一眼 [04:49.00] [02:47.44][00:43.69]再也没能忘掉你容颜 [02:54.83][00:51.24]梦想着偶然能有一天再相见 [03:02.32][00:58.75]从此我开始孤单思念 [03:08.15][01:04.30] [03:09.35][01:05.50]想你时你在天边 [03:16.90][01:13.13]想你时你在眼前 [03:...
22.292683
62
0.605033
297
1,828
3.723906
0.380471
0.014467
0.016275
0.0217
0.227848
0.209765
0.209765
0.209765
0.209765
0.209765
0
0.212225
0.203501
1,828
82
63
22.292683
0.54739
0.098468
0
0
0
0.04
0.413392
0.310044
0
0
0
0
0
1
0
false
0.02
0.02
0
0.02
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bcc231c6648af0cd64b843faf63ad79a79b6853b
895
py
Python
src/plugins/sjsy.py
2443391447/nonebot2
c9fa0c44c130b8a1425b2b71105fa909232c37b0
[ "MIT" ]
1
2021-08-24T03:18:23.000Z
2021-08-24T03:18:23.000Z
src/plugins/sjsy.py
2443391447/nonebot2
c9fa0c44c130b8a1425b2b71105fa909232c37b0
[ "MIT" ]
null
null
null
src/plugins/sjsy.py
2443391447/nonebot2
c9fa0c44c130b8a1425b2b71105fa909232c37b0
[ "MIT" ]
1
2021-09-01T07:50:03.000Z
2021-09-01T07:50:03.000Z
from nonebot import on_keyword, on_command from nonebot.typing import T_State from nonebot.adapters.cqhttp import Message, Bot, Event # 这两个没用的别删 from nonebot.adapters.cqhttp.message import MessageSegment import requests from nonebot.permission import * from nonebot.rule import to_me from aiocqhttp.exceptions im...
28.870968
68
0.689385
119
895
5.168067
0.529412
0.107317
0.061789
0.081301
0
0
0
0
0
0
0
0
0.2
895
31
69
28.870968
0.850559
0.109497
0
0
0
0
0.086387
0.032723
0
0
0
0
0
1
0
false
0.045455
0.363636
0
0.409091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
bccb37cf2799cc964344db7c5cf679594dae2889
2,252
py
Python
tests/test_api.py
ines/spacy-js
5b7a86cb0d1099285e01252f7e1d44a36ad9a07f
[ "MIT" ]
141
2018-10-27T17:18:54.000Z
2022-03-31T11:08:02.000Z
tests/test_api.py
Fabulabs/spacy-js
c7a34298203d26b25f9eb1f6b9eb875faa33d144
[ "MIT" ]
16
2018-10-27T21:44:36.000Z
2022-01-22T03:01:54.000Z
tests/test_api.py
Fabulabs/spacy-js
c7a34298203d26b25f9eb1f6b9eb875faa33d144
[ "MIT" ]
22
2019-01-12T16:38:20.000Z
2022-03-14T19:11:38.000Z
# coding: utf8 from __future__ import unicode_literals import pytest import spacy import json from api.server import parse, doc2json, load_model @pytest.fixture(scope="session") def model(): return "en_core_web_sm" @pytest.fixture(scope="session") def text(): return "This is a sentence about Facebook. Thi...
27.463415
68
0.654085
330
2,252
4.321212
0.193939
0.105189
0.063815
0.070126
0.28892
0.130435
0.051893
0
0
0
0
0.017214
0.174512
2,252
81
69
27.802469
0.749866
0.005329
0
0.133333
0
0
0.143878
0
0
0
0
0
0.433333
1
0.15
false
0
0.083333
0.066667
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
bcd088f1e5c34ccfa8be8350d7cb0a6ebc06a38b
4,979
py
Python
HealthNet/prescriptions/views.py
jimga150/HealthNet
84e55302b02221ae6e93640904af837fdfe09a83
[ "MIT" ]
null
null
null
HealthNet/prescriptions/views.py
jimga150/HealthNet
84e55302b02221ae6e93640904af837fdfe09a83
[ "MIT" ]
null
null
null
HealthNet/prescriptions/views.py
jimga150/HealthNet
84e55302b02221ae6e93640904af837fdfe09a83
[ "MIT" ]
null
null
null
from django.shortcuts import redirect from .forms import PrescriptionForm from core.views import is_doctor, is_nurse, is_admin, is_patient from core.models import * from .models import Prescription from django.contrib.auth.decorators import login_required, user_passes_test from django.utils import timezone from dja...
33.193333
119
0.69753
612
4,979
5.537582
0.236928
0.030688
0.025081
0.033933
0.238713
0.179994
0.179994
0.179994
0.167896
0.156388
0
0
0.207672
4,979
149
120
33.416107
0.859062
0.228962
0
0.240506
0
0
0.096651
0.026409
0
0
0
0
0
1
0.088608
false
0.063291
0.113924
0
0.316456
0.025316
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
bcd3c580510f803674768f898ad9016345f92071
3,027
py
Python
scripts/test_cache_size_vs_code_balance.py
tareqmalas/girih
0c126788937d189147be47115703b752235e585c
[ "BSD-3-Clause" ]
7
2015-07-14T08:29:14.000Z
2021-07-30T14:53:13.000Z
scripts/test_cache_size_vs_code_balance.py
tareqmalas/girih
0c126788937d189147be47115703b752235e585c
[ "BSD-3-Clause" ]
null
null
null
scripts/test_cache_size_vs_code_balance.py
tareqmalas/girih
0c126788937d189147be47115703b752235e585c
[ "BSD-3-Clause" ]
3
2016-08-30T01:25:40.000Z
2017-06-22T05:50:05.000Z
#!/usr/bin/env python def igs_test(target_dir, exp_name, th, group='', dry_run=0): from scripts.conf.conf import machine_conf, machine_info from scripts.utils import run_test import itertools cs = 8192 th = th # Test using rasonable time # T = scale * size / perf # scale = T*perf/size desired_time...
31.863158
218
0.573835
546
3,027
2.981685
0.272894
0.015971
0.016585
0.014742
0.207617
0.140049
0.136364
0.095209
0.070639
0
0
0.102475
0.239181
3,027
94
219
32.202128
0.604429
0.072019
0
0.109375
0
0
0.094353
0.028592
0
0
0.00143
0
0
0
null
null
0
0.109375
null
null
0.015625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
bcd52639c509cc2628a1148eef258524825f4528
8,408
py
Python
pyripple/protocol/orderbook.py
gip/pyripple
d0c696bed7c6ad4c2309733484f9915074f9acdd
[ "Apache-2.0" ]
null
null
null
pyripple/protocol/orderbook.py
gip/pyripple
d0c696bed7c6ad4c2309733484f9915074f9acdd
[ "Apache-2.0" ]
null
null
null
pyripple/protocol/orderbook.py
gip/pyripple
d0c696bed7c6ad4c2309733484f9915074f9acdd
[ "Apache-2.0" ]
null
null
null
# PyRipple # # Copyright 2015 Gilles Pirio # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
37.20354
154
0.593958
1,142
8,408
4.335377
0.21366
0.014543
0.012927
0.017774
0.286811
0.226621
0.2143
0.172288
0.172288
0.140982
0
0.027131
0.228473
8,408
225
155
37.368889
0.736088
0.070171
0
0.177083
0
0
0.11526
0
0
0
0
0
0.005208
0
null
null
0
0.036458
null
null
0.036458
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
bcd88cb9aee8377371dcb96cf615ef4e2ec10580
4,113
py
Python
exercises/level_0/stringing.py
eliranM98/python_course
d9431dd6c0f27fca8ca052cc2a821ed0b883136c
[ "MIT" ]
6
2019-03-29T06:14:53.000Z
2021-10-15T23:42:36.000Z
exercises/level_0/stringing.py
eliranM98/python_course
d9431dd6c0f27fca8ca052cc2a821ed0b883136c
[ "MIT" ]
4
2019-09-06T10:03:40.000Z
2022-03-11T23:30:55.000Z
exercises/level_0/stringing.py
eliranM98/python_course
d9431dd6c0f27fca8ca052cc2a821ed0b883136c
[ "MIT" ]
12
2019-06-20T19:34:52.000Z
2021-10-15T23:42:39.000Z
text = ''' Victor Hugo's ({}) tale of injustice, heroism and love follows the fortunes of Jean Valjean, an escaped convict determined to put his criminal past behind him. But his attempts to become a respected member of the community are constantly put under threat: by his own conscience, when, owing to a case of mista...
41.545455
590
0.735959
680
4,113
4.295588
0.310294
0.054776
0.061623
0.054776
0.093461
0.068127
0.046217
0.046217
0.046217
0.046217
0
0.026237
0.110382
4,113
98
591
41.969388
0.771796
0
0
0
0
0.033708
0.490396
0.029176
0
0
0
0
0
1
0
false
0
0
0
0
0.438202
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
bcddbefe85e0c400583bdfd288157408fcf8f518
11,271
py
Python
rpython/translator/platform/posix.py
wdv4758h/mu-client-pypy
d2fcc01f0b4fe3ffa232762124e3e6d38ed3a0cf
[ "Apache-2.0", "OpenSSL" ]
null
null
null
rpython/translator/platform/posix.py
wdv4758h/mu-client-pypy
d2fcc01f0b4fe3ffa232762124e3e6d38ed3a0cf
[ "Apache-2.0", "OpenSSL" ]
null
null
null
rpython/translator/platform/posix.py
wdv4758h/mu-client-pypy
d2fcc01f0b4fe3ffa232762124e3e6d38ed3a0cf
[ "Apache-2.0", "OpenSSL" ]
null
null
null
"""Base support for POSIX-like platforms.""" import py, os, sys from rpython.translator.platform import Platform, log, _run_subprocess import rpython rpydir = str(py.path.local(rpython.__file__).join('..')) class BasePosix(Platform): exe_ext = '' make_cmd = 'make' relevant_environ = ('CPATH', 'LIBRARY_...
36.009585
130
0.53021
1,322
11,271
4.350227
0.196672
0.019475
0.018258
0.011824
0.113719
0.061902
0.041732
0.010433
0
0
0
0.000927
0.329784
11,271
312
131
36.125
0.760392
0.035933
0
0.11811
0
0.007874
0.11812
0.009157
0
0
0
0
0.011811
0
null
null
0.003937
0.019685
null
null
0.011811
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
bce0bfd9222f594d713d4743ed32c26bb4279c4c
1,483
py
Python
check_perm.py
codecakes/random_games
1e670021ec97a196726e937e658878dc63ba9d34
[ "MIT" ]
null
null
null
check_perm.py
codecakes/random_games
1e670021ec97a196726e937e658878dc63ba9d34
[ "MIT" ]
null
null
null
check_perm.py
codecakes/random_games
1e670021ec97a196726e937e658878dc63ba9d34
[ "MIT" ]
null
null
null
""" PermCheck Check whether array A is a permutation. https://codility.com/demo/results/demoANZ7M2-GFU/ Task description A non-empty zero-indexed array A consisting of N integers is given. A permutation is a sequence containing each element from 1 to N once, and only once. For example, array A such that: A[0] = 4...
27.981132
123
0.662171
285
1,483
3.424561
0.329825
0.061475
0.032787
0.057377
0.25
0.229508
0.229508
0.110656
0.110656
0.110656
0
0.054916
0.238705
1,483
53
124
27.981132
0.809566
0.864464
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bce207bdb62870e146b1e56a1b168c691c0515ac
4,273
py
Python
utils/scene_bounding_box.py
davidemarelli/sfm_flow
7a96d8309cc01b8499347ba0cae882923d82bbcc
[ "MIT" ]
8
2020-10-27T12:52:17.000Z
2022-03-30T04:15:37.000Z
utils/scene_bounding_box.py
ElsevierSoftwareX/SOFTX_2020_51
b240a113c91405fac60444a6e56e87e3cf17a27b
[ "MIT" ]
1
2020-11-09T01:56:04.000Z
2020-11-24T15:58:26.000Z
utils/scene_bounding_box.py
davidemarelli/sfm_flow
7a96d8309cc01b8499347ba0cae882923d82bbcc
[ "MIT" ]
2
2021-12-02T10:04:39.000Z
2022-03-28T07:54:07.000Z
import logging from typing import Tuple import bpy from mathutils import Vector from .object import get_objs logger = logging.getLogger(__name__) class SceneBoundingBox(): """Scene bounding box, build a bounding box that includes all objects except the excluded ones.""" ##################################...
39.934579
113
0.388018
402
4,273
3.945274
0.226368
0.047289
0.040353
0.064313
0.250315
0.153846
0
0
0
0
0
0.00545
0.227007
4,273
106
114
40.311321
0.47472
0.300725
0
0.071429
0
0.017857
0.067402
0
0
0
0
0
0
1
0.160714
false
0
0.089286
0.017857
0.392857
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
bce8b5c80fccdda525f4313d1b8dac7df83862d2
3,765
py
Python
scraper-code/myanimelist/base.py
XueAlfred/MALAnalysis
630d578b30f7540769774e1e4ee072d9775bf4bf
[ "MIT" ]
15
2015-01-24T10:52:42.000Z
2021-08-09T10:23:58.000Z
scraper-code/myanimelist/base.py
XueAlfred/MALAnalysis
630d578b30f7540769774e1e4ee072d9775bf4bf
[ "MIT" ]
10
2015-01-24T10:51:18.000Z
2018-09-05T00:17:03.000Z
scraper-code/myanimelist/base.py
XueAlfred/MALAnalysis
630d578b30f7540769774e1e4ee072d9775bf4bf
[ "MIT" ]
18
2015-01-24T11:29:38.000Z
2021-12-04T02:41:09.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- import abc import bs4 import functools import utilities class Error(Exception): """Base exception class that takes a message to display upon raising. """ def __init__(self, message=None): """Creates an instance of Error. :type message: str :param message: A...
27.683824
127
0.662151
493
3,765
4.791075
0.298174
0.033023
0.038103
0.032176
0.063506
0.052498
0.052498
0
0
0
0
0.001691
0.214608
3,765
136
128
27.683824
0.797092
0.290571
0
0.155844
0
0
0.018143
0
0
0
0
0
0
1
0.207792
false
0.012987
0.051948
0.090909
0.480519
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
bcefbd3c4fdc15d991e7f75b480521ed8994a120
2,234
py
Python
mandelbruh/util.py
pereradrian/mandelbruh
fb68c5f2af84d51097e73f3a248e3a1b95fbbf47
[ "MIT" ]
null
null
null
mandelbruh/util.py
pereradrian/mandelbruh
fb68c5f2af84d51097e73f3a248e3a1b95fbbf47
[ "MIT" ]
null
null
null
mandelbruh/util.py
pereradrian/mandelbruh
fb68c5f2af84d51097e73f3a248e3a1b95fbbf47
[ "MIT" ]
null
null
null
import numpy as np def normalize(x): return x / np.linalg.norm(x) def norm_sq(v): return np.dot(v,v) def norm(v): return np.linalg.norm(v) def get_sub_keys(v): if type(v) is not tuple and type(v) is not list: return [] return [k for k in v if type(k) is str] def to_vec3(v): if isinstance(v, (float, int)): ...
21.68932
88
0.625783
427
2,234
3.159251
0.187354
0.053373
0.031134
0.026686
0.237213
0.15493
0.072646
0.050408
0.050408
0.050408
0
0.029067
0.199194
2,234
102
89
21.901961
0.724986
0
0
0.270588
0
0
0.036258
0
0
0
0
0
0
1
0.188235
false
0
0.011765
0.035294
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
bcf633a886ab43d9c3c7c35185345d3f776c81e3
4,899
py
Python
src/promnesia/sources/telegram.py
halhenke/promnesia
03f46b7e0740790ef091e6f48d0ac2e6bf05bcb7
[ "MIT" ]
1,327
2019-11-02T20:10:38.000Z
2022-03-29T16:58:36.000Z
src/promnesia/sources/telegram.py
halhenke/promnesia
03f46b7e0740790ef091e6f48d0ac2e6bf05bcb7
[ "MIT" ]
157
2019-09-06T11:16:40.000Z
2022-03-27T20:01:52.000Z
src/promnesia/sources/telegram.py
halhenke/promnesia
03f46b7e0740790ef091e6f48d0ac2e6bf05bcb7
[ "MIT" ]
60
2020-06-08T22:12:24.000Z
2022-03-22T16:57:22.000Z
''' Uses [[https://github.com/fabianonline/telegram_backup#readme][telegram_backup]] database for messages data ''' from pathlib import Path from textwrap import dedent from typing import Optional, Union, TypeVar from urllib.parse import unquote # TODO mm, make it easier to rememember to use... from ..common import P...
37.684615
154
0.560931
606
4,899
4.437294
0.40429
0.007438
0.017851
0.013388
0.095203
0.081071
0.081071
0.063221
0.063221
0.063221
0
0.006813
0.340886
4,899
129
155
37.976744
0.825952
0.221678
0
0.146067
0
0.022472
0.464523
0.013553
0
0
0
0.015504
0.011236
1
0.05618
false
0
0.078652
0
0.191011
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
bcf9e42ce187d88ea3d733bded3e343188bcd463
10,196
py
Python
daproli/transformer.py
ermshaua/daproli
c1f7aeec431d9c60ae06eeac23455c1a03bc82cf
[ "BSD-3-Clause" ]
null
null
null
daproli/transformer.py
ermshaua/daproli
c1f7aeec431d9c60ae06eeac23455c1a03bc82cf
[ "BSD-3-Clause" ]
null
null
null
daproli/transformer.py
ermshaua/daproli
c1f7aeec431d9c60ae06eeac23455c1a03bc82cf
[ "BSD-3-Clause" ]
null
null
null
from joblib import Parallel, delayed from tqdm import tqdm from .processing import map, filter, split, expand, combine, join from .manipulation import windowed, flatten class BaseTransformer: ''' The BaseTransformer defines a generic data transformation pattern that can be implemented with a number of da...
36.028269
127
0.640643
1,277
10,196
4.981989
0.097103
0.033008
0.02122
0.037724
0.682804
0.666143
0.6094
0.600283
0.587865
0.556429
0
0.002518
0.260004
10,196
282
128
36.156028
0.840689
0.382601
0
0.535714
0
0
0
0
0
0
0
0
0
1
0.205357
false
0
0.035714
0.071429
0.455357
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
bcfb7330e40f9b79f2ab184f143d401951828548
2,513
py
Python
tacker/sol_refactored/common/vnf_instance_utils.py
h1r0mu/tacker
8c69dda51fcfe215c4878a86b82018d2b96e5561
[ "Apache-2.0" ]
116
2015-10-18T02:57:08.000Z
2022-03-15T04:09:18.000Z
tacker/sol_refactored/common/vnf_instance_utils.py
h1r0mu/tacker
8c69dda51fcfe215c4878a86b82018d2b96e5561
[ "Apache-2.0" ]
6
2016-11-07T22:15:54.000Z
2021-05-09T06:13:08.000Z
tacker/sol_refactored/common/vnf_instance_utils.py
h1r0mu/tacker
8c69dda51fcfe215c4878a86b82018d2b96e5561
[ "Apache-2.0" ]
166
2015-10-20T15:31:52.000Z
2021-11-12T08:39:49.000Z
# Copyright (C) 2021 Nippon Telegraph and Telephone Corporation # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICE...
32.217949
78
0.68842
345
2,513
4.884058
0.446377
0.024926
0.035608
0.045104
0.080712
0
0
0
0
0
0
0.008264
0.229606
2,513
77
79
32.636364
0.862087
0.374055
0
0.078947
0
0
0.043254
0.018722
0
0
0
0.012987
0
1
0.157895
false
0
0.078947
0.052632
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
bcfe9ac7b39f229df7d1b4504478244ea3835c1b
483
py
Python
tests/migrations/0010_modeltest_datetime_field1.py
intellineers/django-bridger
ed097984a99df7da40a4d01bd00c56e3c6083056
[ "BSD-3-Clause" ]
2
2020-03-17T00:53:23.000Z
2020-07-16T07:00:33.000Z
tests/migrations/0010_modeltest_datetime_field1.py
intellineers/django-bridger
ed097984a99df7da40a4d01bd00c56e3c6083056
[ "BSD-3-Clause" ]
76
2019-12-05T01:15:57.000Z
2021-09-07T16:47:27.000Z
tests/migrations/0010_modeltest_datetime_field1.py
intellineers/django-bridger
ed097984a99df7da40a4d01bd00c56e3c6083056
[ "BSD-3-Clause" ]
1
2020-02-05T15:09:47.000Z
2020-02-05T15:09:47.000Z
# Generated by Django 2.2.9 on 2020-01-28 14:50 import django.utils.timezone from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("tests", "0009_auto_20200113_1239"), ] operations = [ migrations.AddField( model_name="modeltest", ...
23
74
0.63354
52
483
5.769231
0.75
0.073333
0.126667
0
0
0
0
0
0
0
0
0.089636
0.26087
483
20
75
24.15
0.7507
0.093168
0
0
1
0
0.119266
0.052752
0
0
0
0
0
1
0
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4c09b0745eee677f40540659a3c584b6e7535d0a
968
py
Python
js/matrixjs/matrix_compile.py
kennytilton/ConnectJS
a16121052839b6f447718dccb008761d92094885
[ "MIT" ]
7
2017-07-31T20:28:33.000Z
2020-11-23T13:18:20.000Z
js/matrixjs/matrix_compile.py
kennytilton/ConnectJS
a16121052839b6f447718dccb008761d92094885
[ "MIT" ]
null
null
null
js/matrixjs/matrix_compile.py
kennytilton/ConnectJS
a16121052839b6f447718dccb008761d92094885
[ "MIT" ]
1
2020-02-26T06:09:33.000Z
2020-02-26T06:09:33.000Z
#!/usr/bin/python2.4 import httplib, urllib, sys # Define the parameters for the POST request and encode them in # a URL-safe format. params = urllib.urlencode([ #('js_code', sys.argv[1]), ('code_url', 'https://raw.githubusercontent.com/kennytilton/MatrixJS/master/js/matrixjs/js/Matrix/Cells.js'), ('code...
38.72
113
0.72314
126
968
5.492063
0.571429
0.026012
0.052023
0.065029
0.33526
0.33526
0.33526
0.33526
0.33526
0.33526
0
0.003472
0.107438
968
25
114
38.72
0.797454
0.191116
0
0
0
0.1875
0.578947
0.106547
0
0
0
0
0
0
null
null
0
0.0625
null
null
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4c0acd1ef9075a9d08118479182c8461e04d6e01
3,844
py
Python
texts.py
ProtKsen/pgame
c4455c6c07eaf275f9fcfa661cd6933ee7b1ff92
[ "MIT" ]
2
2021-04-14T09:49:27.000Z
2022-03-08T17:26:49.000Z
texts.py
ProtKsen/pgame
c4455c6c07eaf275f9fcfa661cd6933ee7b1ff92
[ "MIT" ]
null
null
null
texts.py
ProtKsen/pgame
c4455c6c07eaf275f9fcfa661cd6933ee7b1ff92
[ "MIT" ]
2
2021-01-11T12:09:26.000Z
2021-04-14T09:49:45.000Z
"""Text parts.""" SEPARATOR = '----------------------------------' CONT_GAME = 'enter для продолжения игры' GREETING = 'Добро пожаловать в игру ''Сундук сокровищ''!\n' \ 'Попробуй себя в роли капитана корабля, собери ' \ 'команду и достань все сокровища!' NAME_QUESTION = 'Как тебя зовут?' CHOO...
48.05
90
0.533299
434
3,844
4.693548
0.532258
0.006873
0.032401
0.053019
0.18704
0.18704
0.18704
0.186549
0.186549
0.186549
0
0.010349
0.32128
3,844
79
91
48.658228
0.77041
0.002862
0
0.190476
0
0
0.655344
0.046512
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4c0b4ff66b7c9992658d93e432fdd2bd5452694f
3,587
py
Python
api/migrations/0001_initial.py
alerin345/Instagram-React
25dfbcbff2a2d050e4f2804a74cd7c901cd2cb66
[ "MIT" ]
null
null
null
api/migrations/0001_initial.py
alerin345/Instagram-React
25dfbcbff2a2d050e4f2804a74cd7c901cd2cb66
[ "MIT" ]
null
null
null
api/migrations/0001_initial.py
alerin345/Instagram-React
25dfbcbff2a2d050e4f2804a74cd7c901cd2cb66
[ "MIT" ]
null
null
null
# Generated by Django 3.1.3 on 2021-01-07 00:42 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUT...
48.472973
170
0.611096
368
3,587
5.836957
0.214674
0.037244
0.058659
0.092179
0.674581
0.663873
0.663873
0.663873
0.59311
0.59311
0
0.006287
0.246167
3,587
73
171
49.136986
0.788092
0.012545
0
0.575758
1
0
0.079096
0
0
0
0
0
0
1
0
false
0
0.060606
0
0.121212
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4c10bad25f060a9091150e60b188f22ceaae17b0
14,801
py
Python
PythonServer/UnitTestCasesForWebSocket.py
Cyberlightning/2D-3DCapture
e5fdcec4f25358fc1964068180e4e774f45daa8a
[ "Apache-2.0" ]
2
2015-11-04T10:21:48.000Z
2016-03-07T15:14:35.000Z
2D-3D-Capture/PythonServer/UnitTestCasesForWebSocket.py
Cyberlightning/Cyber-WeX
11dc560b7a30eb31c1dfa18196f6a0760648f9a7
[ "Apache-2.0" ]
null
null
null
2D-3D-Capture/PythonServer/UnitTestCasesForWebSocket.py
Cyberlightning/Cyber-WeX
11dc560b7a30eb31c1dfa18196f6a0760648f9a7
[ "Apache-2.0" ]
null
null
null
''' Created on Mar 6, 2014 @author: tharanga ''' import unittest from time import sleep import EventService as es from EventService import WebSocketServer as ws from EventService import EventManager as em import socket from base64 import b64encode import struct import MySQLdb import json import EventService import fl...
57.368217
386
0.646375
1,841
14,801
5.128734
0.197175
0.038551
0.008261
0.011015
0.553908
0.46738
0.443444
0.407223
0.384876
0.35681
0
0.077514
0.191136
14,801
258
387
57.368217
0.711159
0.066347
0
0.22439
0
0.029268
0.311163
0.093363
0
0
0.0008
0
0.131707
0
null
null
0
0.063415
null
null
0.004878
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4c1514125da0b6d26946b5990ca8e3d69b019fd3
1,369
py
Python
tests/core/feature_extraction/test_galaxyProcessor.py
EmilioCC/gti770-student-framework
3cd72da8fe78c7ecfc26c9e688cbe1b7deee353a
[ "MIT" ]
null
null
null
tests/core/feature_extraction/test_galaxyProcessor.py
EmilioCC/gti770-student-framework
3cd72da8fe78c7ecfc26c9e688cbe1b7deee353a
[ "MIT" ]
null
null
null
tests/core/feature_extraction/test_galaxyProcessor.py
EmilioCC/gti770-student-framework
3cd72da8fe78c7ecfc26c9e688cbe1b7deee353a
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import numpy as np from unittest import TestCase from core.feature_extraction.galaxy.galaxy_processor import GalaxyProcessor from commons.helpers.dataset.strategies.galaxy_dataset.label_strategy import GalaxyDataSetLabelStrategy from commons.helpers.dataset.conte...
42.78125
103
0.731921
166
1,369
5.807229
0.39759
0.036307
0.062241
0.074689
0.128631
0
0
0
0
0
0
0.004513
0.19065
1,369
32
104
42.78125
0.865523
0.208181
0
0
0
0
0.057514
0.025046
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4c155f18a1b1670b63f094d3de08857496d9f8be
1,630
py
Python
gmso/formats/formats_registry.py
chrisiacovella/gmso
c78e2425ccb98ea952f024a569346d36045f6918
[ "MIT" ]
20
2020-02-28T21:47:54.000Z
2022-02-14T20:13:56.000Z
gmso/formats/formats_registry.py
chrisiacovella/gmso
c78e2425ccb98ea952f024a569346d36045f6918
[ "MIT" ]
364
2020-03-02T16:11:57.000Z
2022-03-29T00:57:00.000Z
gmso/formats/formats_registry.py
chrisiacovella/gmso
c78e2425ccb98ea952f024a569346d36045f6918
[ "MIT" ]
28
2020-02-28T21:12:30.000Z
2022-01-31T21:02:30.000Z
"""Registry utilities to handle formats for gmso Topology.""" class UnsupportedFileFormatError(Exception): """Exception to be raised whenever the file loading or saving is not supported.""" class Registry: """A registry to incorporate a callable with a file extension.""" def __init__(self): sel...
28.596491
86
0.655828
183
1,630
5.661202
0.355191
0.081081
0.088803
0.100386
0.333977
0.277992
0.277992
0.277992
0.208494
0.208494
0
0
0.257055
1,630
56
87
29.107143
0.855491
0.234356
0
0.387097
0
0
0.094449
0
0
0
0
0
0.064516
1
0.225806
false
0
0
0
0.451613
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
4c193e499f0f1632e4dcf16c607003de7e5c3eaa
14,091
py
Python
docker/docker-puppet.py
mail2nsrajesh/tripleo-heat-templates
368b3eadda577f9914d181893df2df96367e8fad
[ "Apache-2.0" ]
null
null
null
docker/docker-puppet.py
mail2nsrajesh/tripleo-heat-templates
368b3eadda577f9914d181893df2df96367e8fad
[ "Apache-2.0" ]
null
null
null
docker/docker-puppet.py
mail2nsrajesh/tripleo-heat-templates
368b3eadda577f9914d181893df2df96367e8fad
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
39.581461
139
0.613299
1,823
14,091
4.626988
0.224355
0.065442
0.014226
0.015175
0.251452
0.219324
0.182573
0.14179
0.108477
0.097095
0
0.0052
0.263076
14,091
355
140
39.692958
0.807107
0.155986
0
0.203065
0
0.034483
0.32239
0.099671
0
0
0
0
0
0
null
null
0
0.034483
null
null
0.007663
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4c1b595f4c6b8f77081c78b4858260e00facf459
4,420
py
Python
pylinkcheck.py
clayball/pylinkcheck
085e5562525bebc77b8ebfd3b0fb676b01f4be68
[ "MIT" ]
null
null
null
pylinkcheck.py
clayball/pylinkcheck
085e5562525bebc77b8ebfd3b0fb676b01f4be68
[ "MIT" ]
null
null
null
pylinkcheck.py
clayball/pylinkcheck
085e5562525bebc77b8ebfd3b0fb676b01f4be68
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2016 Clay Wells # # A Python-based link checker. # # Usage: pylinkcheck.py -r https://www.example.com # # By default, we can spider and check all of the links found at the URL's # domain. For example, a check of https://foo.example.com will only check # links with the base URL ...
29.466667
78
0.671946
651
4,420
4.554531
0.360983
0.016863
0.022934
0.010793
0.031703
0.016189
0.016189
0
0
0
0
0.006862
0.175792
4,420
150
79
29.466667
0.807027
0.423303
0
0.126761
0
0
0.23655
0.011956
0
0
0
0.006667
0
0
null
null
0
0.098592
null
null
0.28169
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4c1e5197c84f6ae0e879e45cf958dcfad6b26bdf
7,000
py
Python
console.py
aplneto/redes_projeto
450ef8ac61e46bc38ff34142d07eda3d726ce326
[ "MIT" ]
1
2019-04-04T13:10:01.000Z
2019-04-04T13:10:01.000Z
console.py
aplneto/redes_projeto
450ef8ac61e46bc38ff34142d07eda3d726ce326
[ "MIT" ]
null
null
null
console.py
aplneto/redes_projeto
450ef8ac61e46bc38ff34142d07eda3d726ce326
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """Módulo de configuração dos consoles """ from Crypto.PublicKey import RSA import socket import os import base64 class Console(object): """Superclasse Console Classe base para os terminais de cliente e servidor. Attributes: ...
32.110092
80
0.532143
770
7,000
4.771429
0.327273
0.019053
0.023136
0.018508
0.10724
0.0773
0.043549
0.024496
0.024496
0
0
0.013242
0.395857
7,000
218
81
32.110092
0.855521
0.460857
0
0.054795
0
0
0.02305
0
0
0
0
0.087156
0
1
0.150685
false
0
0.082192
0.013699
0.328767
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
4c1e5c9719ab7645023165c5beb655aadf6e00c7
4,988
py
Python
sandbox/settings.py
OmenApps/marion
f501674cafbd91f0bbad7454e4dcf3527cf4445e
[ "MIT" ]
null
null
null
sandbox/settings.py
OmenApps/marion
f501674cafbd91f0bbad7454e4dcf3527cf4445e
[ "MIT" ]
null
null
null
sandbox/settings.py
OmenApps/marion
f501674cafbd91f0bbad7454e4dcf3527cf4445e
[ "MIT" ]
null
null
null
""" Django settings for marion project. """ from pathlib import Path from tempfile import mkdtemp from configurations import Configuration, values BASE_DIR = Path(__file__).parent.resolve() DATA_DIR = Path("/data") # pylint: disable=no-init class Base(Configuration): """ This is the base configuration ever...
30.230303
88
0.635525
503
4,988
6.139165
0.405567
0.063148
0.038536
0.027202
0.066062
0.050518
0
0
0
0
0
0.002456
0.265237
4,988
164
89
30.414634
0.840109
0.255413
0
0.063158
0
0
0.370668
0.282783
0
0
0
0
0
1
0
false
0.073684
0.031579
0
0.347368
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4c215b75166895f7437c7eb221fac00ff09ebb82
2,032
py
Python
coingate/migrations/0004_auto_20200207_1959.py
glitzybunny/coingate_sandbox_payment
f5686964cdd6b7d65f9f37957da4b2cda6a02f63
[ "MIT" ]
2
2020-08-31T17:53:06.000Z
2020-08-31T18:33:05.000Z
coingate/migrations/0004_auto_20200207_1959.py
glitzybunny/coingate_sandbox_payment
f5686964cdd6b7d65f9f37957da4b2cda6a02f63
[ "MIT" ]
5
2021-03-30T12:48:17.000Z
2021-09-22T18:32:14.000Z
coingate/migrations/0004_auto_20200207_1959.py
glitzybunny/coingate_sandbox_payment
f5686964cdd6b7d65f9f37957da4b2cda6a02f63
[ "MIT" ]
1
2020-11-04T04:42:58.000Z
2020-11-04T04:42:58.000Z
# Generated by Django 3.0.3 on 2020-02-07 19:59 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('coingate', '0003_auto_20200207_1513'), ] operations = [ migrations.RemoveField( model_name='payment', name='token', ...
38.339623
326
0.561024
199
2,032
5.603015
0.41206
0.088789
0.114798
0.143498
0.423318
0.423318
0.389238
0.389238
0.220628
0.129148
0
0.028995
0.270177
2,032
52
327
39.076923
0.722859
0.022146
0
0.5
1
0
0.207557
0.011587
0
0
0
0
0
1
0
false
0
0.021739
0
0.086957
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4c219c1f42bd3a942209df9b52e42549c3b34e00
309
py
Python
space_trace/__init__.py
SpaceTeam/space-event-trace
ec00d6895e0bdc2a046ec2d45143d6f8d47ace6f
[ "MIT" ]
2
2022-01-04T00:34:27.000Z
2022-01-04T00:51:14.000Z
space_trace/__init__.py
SpaceTeam/space-event-trace
ec00d6895e0bdc2a046ec2d45143d6f8d47ace6f
[ "MIT" ]
null
null
null
space_trace/__init__.py
SpaceTeam/space-event-trace
ec00d6895e0bdc2a046ec2d45143d6f8d47ace6f
[ "MIT" ]
null
null
null
import toml from flask import Flask from flask_sqlalchemy import SQLAlchemy app = Flask(__name__, instance_relative_config=True) app.config.from_file("config.toml", load=toml.load) db = SQLAlchemy(app) @app.before_first_request def create_table(): db.create_all() from space_trace import views, cli
18.176471
52
0.789644
46
309
5.021739
0.543478
0.077922
0
0
0
0
0
0
0
0
0
0
0.122977
309
16
53
19.3125
0.852399
0
0
0
0
0
0.035599
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1