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
9c1e62f397d478ebc7f2fa2f5ddd6bd7a69acfa5
847
py
Python
24.classes_python/4.exercicio1.py
robinson-1985/python-zero-dnc
df510d67e453611fcd320df1397cdb9ca47fecb8
[ "MIT" ]
null
null
null
24.classes_python/4.exercicio1.py
robinson-1985/python-zero-dnc
df510d67e453611fcd320df1397cdb9ca47fecb8
[ "MIT" ]
null
null
null
24.classes_python/4.exercicio1.py
robinson-1985/python-zero-dnc
df510d67e453611fcd320df1397cdb9ca47fecb8
[ "MIT" ]
null
null
null
# 1. Recrie a classe Carro e adicione um novo atributo e um novo método (função). class Carro(): def __init__(self, litros, velocidade = 0, buzina = 'BIBI!!'): self.litros = litros self.velocidade = velocidade self.buzina = buzina def aciona_buzina(self, litros = 20): print(sel...
33.88
103
0.605667
99
847
5.131313
0.343434
0.216535
0.106299
0.066929
0.267717
0.267717
0.267717
0.267717
0.267717
0.267717
0
0.019737
0.282172
847
24
104
35.291667
0.815789
0.09327
0
0.117647
0
0
0.152941
0
0
0
0
0.041667
0
1
0.235294
false
0
0
0
0.294118
0.235294
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
1
0
0
1
0
0
0
0
0
0
0
3
9c39b35d032bc161e5226167b3ffe7f6312b131c
863
py
Python
course_catalog/migrations/0008_renames_last_updated_field_20190111_1820.py
mitodl/course-catalog
a57fa3e958e6be405cef0e00f7a29456c01d43db
[ "BSD-3-Clause" ]
null
null
null
course_catalog/migrations/0008_renames_last_updated_field_20190111_1820.py
mitodl/course-catalog
a57fa3e958e6be405cef0e00f7a29456c01d43db
[ "BSD-3-Clause" ]
46
2018-12-19T00:38:52.000Z
2019-07-11T19:01:06.000Z
course_catalog/migrations/0008_renames_last_updated_field_20190111_1820.py
mitodl/course-catalog
a57fa3e958e6be405cef0e00f7a29456c01d43db
[ "BSD-3-Clause" ]
1
2018-12-17T03:48:16.000Z
2018-12-17T03:48:16.000Z
# Generated by Django 2.0.8 on 2019-01-11 18:20 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('course_catalog', '0007_alters_created_on_field_20190111_1755'), ] operations = [ migrations.RenameField( model_name='course', ...
25.382353
73
0.571263
84
863
5.547619
0.452381
0.180258
0.223176
0.257511
0.484979
0.484979
0.484979
0.484979
0.412017
0.412017
0
0.053265
0.325608
863
33
74
26.151515
0.747423
0.052144
0
0.592593
1
0
0.230392
0.051471
0
0
0
0
0
1
0
false
0
0.037037
0
0.148148
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9c582a06d80b818ac5d05ea32f683f9933f8f402
552
py
Python
tests/mock_fixtures/mock_fixtures.py
NeveIsa/geneal
064b0409912088886bf56fe9a729d74dac92a235
[ "MIT" ]
47
2020-07-10T14:28:52.000Z
2022-03-25T17:20:52.000Z
tests/mock_fixtures/mock_fixtures.py
NeveIsa/geneal
064b0409912088886bf56fe9a729d74dac92a235
[ "MIT" ]
10
2020-08-08T16:35:40.000Z
2022-03-08T00:07:19.000Z
tests/mock_fixtures/mock_fixtures.py
NeveIsa/geneal
064b0409912088886bf56fe9a729d74dac92a235
[ "MIT" ]
14
2020-08-07T20:49:18.000Z
2022-03-31T17:55:47.000Z
import logging import random import pytest import matplotlib.pyplot as plt import plotly.graph_objects as go @pytest.fixture def mock_matplotlib(mocker): mocker.patch.object(plt, "show", lambda: None) @pytest.fixture def mock_logging(mocker): mocker.patch.object(logging, "info", lambda x: None) @pytest.fi...
21.230769
76
0.757246
78
552
5.24359
0.358974
0.127139
0.156479
0.195599
0.117359
0
0
0
0
0
0
0
0.126812
552
25
77
22.08
0.848548
0
0
0.235294
0
0
0.061594
0
0
0
0
0
0
1
0.235294
false
0
0.294118
0
0.529412
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
9c5fd4d5e0d5f6362225e5d46e8402569e2a49cb
76
py
Python
src/constants.py
tarrade/proj_DL_models_and_pipelines_with_GCP
8c400b6bdc006f99f1412166824d68b64264abf2
[ "Apache-2.0" ]
6
2019-04-05T13:32:40.000Z
2019-06-30T17:01:19.000Z
src/constants.py
tarrade/proj_DL_models_and_pipelines_with_GCP
8c400b6bdc006f99f1412166824d68b64264abf2
[ "Apache-2.0" ]
4
2019-01-13T19:32:34.000Z
2019-04-26T16:21:46.000Z
src/constants.py
tarrade/proj_DL_models_and_pipelines_with_GCP
8c400b6bdc006f99f1412166824d68b64264abf2
[ "Apache-2.0" ]
2
2019-04-25T18:32:24.000Z
2019-05-10T15:46:21.000Z
NUM_EPOCHS = 12 BATCH_SIZE = 64 LEARNING_RATE = 0.001 N_PIXEL = 784 # 28x28
15.2
21
0.736842
14
76
3.714286
1
0
0
0
0
0
0
0
0
0
0
0.241935
0.184211
76
5
22
15.2
0.596774
0.065789
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9c65ac16f08402b30459618a1a3a9d317e22849e
287
py
Python
app/backend/confirmationemails/urls.py
NicholasCF/meridien
dd00caf341d4c9979b89dc8441224ff2b97eac7f
[ "MIT" ]
null
null
null
app/backend/confirmationemails/urls.py
NicholasCF/meridien
dd00caf341d4c9979b89dc8441224ff2b97eac7f
[ "MIT" ]
null
null
null
app/backend/confirmationemails/urls.py
NicholasCF/meridien
dd00caf341d4c9979b89dc8441224ff2b97eac7f
[ "MIT" ]
null
null
null
from django.conf.urls import url from confirmationemails import views urlpatterns = [ url('update_confirmation', views.create_or_update_confirmation_template), url('get_confirmation', views.get_confirmation_template), url('resend_confirmation', views.resend_confirmation) ]
31.888889
77
0.804878
33
287
6.69697
0.484848
0.230769
0.208145
0
0
0
0
0
0
0
0
0
0.108014
287
8
78
35.875
0.863281
0
0
0
0
0
0.188153
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9c6629c606d4266e4998908edbc623041fa710ec
1,364
py
Python
army_ant/index/result_set.py
feup-infolab/army-ant
7b33120d5160f73d7a41a05e6336489c917fb75c
[ "BSD-3-Clause" ]
5
2018-01-18T14:11:52.000Z
2020-10-23T16:02:25.000Z
army_ant/index/result_set.py
feup-infolab/army-ant
7b33120d5160f73d7a41a05e6336489c917fb75c
[ "BSD-3-Clause" ]
10
2018-02-02T20:19:36.000Z
2020-10-05T08:46:36.000Z
army_ant/index/result_set.py
feup-infolab/army-ant
7b33120d5160f73d7a41a05e6336489c917fb75c
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # # result_set.py # José Devezas (joseluisdevezas@gmail.com) # 2018-03-09 (refactor: 2019-03-14) import logging logger = logging.getLogger(__name__) class ResultSet(object): def __init__(self, results, num_docs, trace=None, trace_ascii=None): self.results = results self.num...
27.28
79
0.601173
164
1,364
4.737805
0.390244
0.099099
0.042471
0
0
0
0
0
0
0
0
0.016632
0.294721
1,364
49
80
27.836735
0.79106
0.134164
0
0
0
0
0.05617
0
0
0
0
0
0
1
0.212121
false
0
0.030303
0.121212
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9c7c95a1de1449b3a445b8dea31503f3fa816dee
218
py
Python
src/outputters/ConsoleLogger.py
dsteinmo/pysws
8666df23640328cd8c3fe85000446105e6b14770
[ "MIT" ]
1
2016-06-15T23:02:05.000Z
2016-06-15T23:02:05.000Z
src/outputters/ConsoleLogger.py
dsteinmo/pysws
8666df23640328cd8c3fe85000446105e6b14770
[ "MIT" ]
null
null
null
src/outputters/ConsoleLogger.py
dsteinmo/pysws
8666df23640328cd8c3fe85000446105e6b14770
[ "MIT" ]
null
null
null
class ConsoleLogger: def __init__(self, config): self.interval = config['logging_interval'] def output(self, timestep, message): if (timestep % self.interval) == 0: print(message)
24.222222
50
0.623853
23
218
5.695652
0.608696
0.183206
0
0
0
0
0
0
0
0
0
0.006211
0.261468
218
8
51
27.25
0.807453
0
0
0
0
0
0.073733
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.5
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
92c1a67273010ca955999a137d363203b44e96c7
278
py
Python
SayHello/sayhello/models.py
authetic-x/Flask_Practice
90ca69467cd6de8eb41669d2a87ab072fc11e1c8
[ "MIT" ]
1
2020-07-29T16:46:32.000Z
2020-07-29T16:46:32.000Z
SayHello/sayhello/models.py
authetic-x/Flask_Practice
90ca69467cd6de8eb41669d2a87ab072fc11e1c8
[ "MIT" ]
null
null
null
SayHello/sayhello/models.py
authetic-x/Flask_Practice
90ca69467cd6de8eb41669d2a87ab072fc11e1c8
[ "MIT" ]
null
null
null
from datetime import datetime from sayhello import db class Message(db.Model): id = db.Column(db.Integer, primary_key=True) body = db.Column(db.String(200)) name = db.Column(db.String(20)) timestamp = db.Column(db.DateTime, default=datetime.utcnow, index=True)
30.888889
75
0.723022
42
278
4.761905
0.547619
0.16
0.2
0.16
0
0
0
0
0
0
0
0.021186
0.151079
278
9
75
30.888889
0.826271
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
92c272ace2783e928fb7d9c7ef9a5a743fa01a89
344
py
Python
tests/test_cfgmdl.py
KIPAC/cfgmdl
ea2903b51594ca1102f812c73ad77228fe51cc00
[ "BSD-3-Clause" ]
null
null
null
tests/test_cfgmdl.py
KIPAC/cfgmdl
ea2903b51594ca1102f812c73ad77228fe51cc00
[ "BSD-3-Clause" ]
null
null
null
tests/test_cfgmdl.py
KIPAC/cfgmdl
ea2903b51594ca1102f812c73ad77228fe51cc00
[ "BSD-3-Clause" ]
1
2022-02-22T20:20:46.000Z
2022-02-22T20:20:46.000Z
""" Example unit tests for cfgmdl package """ import unittest import cfgmdl class ExampleTestCase(unittest.TestCase): def setUp(self): self.message = 'Hello, world' def tearDown(self): pass def test_run(self): pass def test_failure(self): pass if __name__ == '__main_...
15.636364
41
0.633721
40
344
5.2
0.625
0.115385
0.105769
0.144231
0
0
0
0
0
0
0
0
0.264535
344
21
42
16.380952
0.822134
0.107558
0
0.230769
0
0
0.06689
0
0
0
0
0
0
1
0.307692
false
0.230769
0.153846
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
92c884feb5d5dfe7faedaa1a6f4131bcdb18ce23
222
py
Python
rac/rac/const.py
anencore94/RA-crawler
5c6426d3bc873de7c8eab2a92bb9f4ecbdbbb36b
[ "Apache-2.0" ]
null
null
null
rac/rac/const.py
anencore94/RA-crawler
5c6426d3bc873de7c8eab2a92bb9f4ecbdbbb36b
[ "Apache-2.0" ]
null
null
null
rac/rac/const.py
anencore94/RA-crawler
5c6426d3bc873de7c8eab2a92bb9f4ecbdbbb36b
[ "Apache-2.0" ]
null
null
null
from enum import Enum class CompanyUrl(str, Enum): LINE = "https://careers.linecorp.com" KAKAO = "https://careers.kakao.com" NAVER = "https://recruit.navercorp.com/naver/job" COUPANG = '' WOOWAH = ''
22.2
53
0.63964
27
222
5.259259
0.666667
0.169014
0
0
0
0
0
0
0
0
0
0
0.198198
222
9
54
24.666667
0.797753
0
0
0
0
0
0.414414
0
0
0
0
0
0
1
0
false
0
0.142857
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
92d2f8773067c55e78793503ebacfb15b1150f30
331
py
Python
mmdet/core/mask/__init__.py
voinSR/OBBDetection
4c779baabdadd513eeb7e4bf3015357b6420e078
[ "Apache-2.0" ]
null
null
null
mmdet/core/mask/__init__.py
voinSR/OBBDetection
4c779baabdadd513eeb7e4bf3015357b6420e078
[ "Apache-2.0" ]
null
null
null
mmdet/core/mask/__init__.py
voinSR/OBBDetection
4c779baabdadd513eeb7e4bf3015357b6420e078
[ "Apache-2.0" ]
null
null
null
from .mask_target import mask_target from .structures import BitmapMasks, PolygonMasks from .utils import encode_mask_results, split_combined_polys from .obb.obb_mask_target import obb_mask_target __all__ = [ 'split_combined_polys', 'mask_target', 'BitmapMasks', 'PolygonMasks', 'encode_mask_results', 'obb_mask...
33.1
73
0.806647
43
331
5.72093
0.348837
0.243902
0.158537
0
0
0
0
0
0
0
0
0
0.111782
331
9
74
36.777778
0.836735
0
0
0
0
0
0.265861
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
92d3e50c3687cecefc073ee36d57d6cd6079fd3d
197
py
Python
corehq/apps/zapier/apps.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
471
2015-01-10T02:55:01.000Z
2022-03-29T18:07:18.000Z
corehq/apps/zapier/apps.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
14,354
2015-01-01T07:38:23.000Z
2022-03-31T20:55:14.000Z
corehq/apps/zapier/apps.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
175
2015-01-06T07:16:47.000Z
2022-03-29T13:27:01.000Z
from django.apps import AppConfig class ZapierConfig(AppConfig): name = 'corehq.apps.zapier' verbose_name = 'Zapier' def ready(self): from .signals import receivers # noqa
17.909091
46
0.685279
23
197
5.826087
0.73913
0
0
0
0
0
0
0
0
0
0
0
0.228426
197
10
47
19.7
0.881579
0.020305
0
0
0
0
0.125654
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
1310a60240fd7982118dc6cbda462acb7cb00f68
8,586
py
Python
premade_modules/2.79/2.79b/bpy/ops/armature.py
echantry/fake-bpy-module
004cdf198841e639b7d9a4c4db95ca1c0d3aa2c7
[ "MIT" ]
null
null
null
premade_modules/2.79/2.79b/bpy/ops/armature.py
echantry/fake-bpy-module
004cdf198841e639b7d9a4c4db95ca1c0d3aa2c7
[ "MIT" ]
null
null
null
premade_modules/2.79/2.79b/bpy/ops/armature.py
echantry/fake-bpy-module
004cdf198841e639b7d9a4c4db95ca1c0d3aa2c7
[ "MIT" ]
null
null
null
def align(): '''Align selected bones to the active bone (or to their parent) ''' pass def armature_layers( layers=(False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, False, F...
24.185915
228
0.670976
1,111
8,586
5.087309
0.210621
0.109696
0.159236
0.205237
0.347134
0.31741
0.31281
0.273178
0.273178
0.273178
0
0.004828
0.228046
8,586
354
229
24.254237
0.847918
0.665851
0
0.55
0
0
0.029085
0
0
0
0
0
0
1
0.45
false
0.45
0
0
0.45
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
1331ba7783ef049faede9d7af35fe2125011fb58
297
py
Python
tools/leetcode.279.Perfect Squares/leetcode.279.Perfect Squares.submission0.py
tedye/leetcode
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
[ "MIT" ]
4
2015-10-10T00:30:55.000Z
2020-07-27T19:45:54.000Z
tools/leetcode.279.Perfect Squares/leetcode.279.Perfect Squares.submission0.py
tedye/leetcode
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
[ "MIT" ]
null
null
null
tools/leetcode.279.Perfect Squares/leetcode.279.Perfect Squares.submission0.py
tedye/leetcode
975d7e3b8cb9b6be9e80e07febf4bcf6414acd46
[ "MIT" ]
null
null
null
class Solution(object): _num = [0] def numSquares(self, n): """ :type n: int :rtype: int """ num = self._num while len(num) <= n: num += [min(num[-i*i] for i in range(1, int(len(num)**0.5+1))) + 1] return num[n]
297
297
0.427609
41
297
3.04878
0.536585
0.064
0
0
0
0
0
0
0
0
0
0.033708
0.400673
297
1
297
297
0.668539
0.080808
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
1332ad0ca48ae86bc7d0e4e9071075cab12853f4
211
py
Python
lmdiag/tests/test_plot.py
dynobo/lmdiag
439f6284a08f4329a0ca8fcbc8da7158f856cebf
[ "MIT" ]
13
2018-06-26T14:23:20.000Z
2021-06-15T09:29:44.000Z
lmdiag/tests/test_plot.py
dynobo/lmdiag
439f6284a08f4329a0ca8fcbc8da7158f856cebf
[ "MIT" ]
3
2018-05-14T08:46:04.000Z
2020-01-23T11:52:02.000Z
lmdiag/tests/test_plot.py
dynobo/lmdiag
439f6284a08f4329a0ca8fcbc8da7158f856cebf
[ "MIT" ]
6
2018-06-26T14:35:29.000Z
2021-06-19T01:08:02.000Z
"""Test-Suite for plot.py.""" from unittest import TestCase import lmdiag class TestPlot(TestCase): def test_is_plot(self): result = lmdiag.plot(lm) self.assertTrue(isinstance(result, matplotlib.plot))
23.444444
54
0.748815
29
211
5.37931
0.689655
0
0
0
0
0
0
0
0
0
0
0
0.127962
211
9
54
23.444444
0.847826
0.109005
0
0
0
0
0
0
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
133c52bdd97568e37f4963b3ab8df236e7a9af0d
246
py
Python
cashfree_sdk/payouts/validations/__bulk_bank_validation.py
cashfree/cashfree-sdk-python
f59f706a9ef6bc5d34c5933045b526dc9b0eea57
[ "MIT" ]
1
2020-06-24T20:53:57.000Z
2020-06-24T20:53:57.000Z
cashfree_sdk/payouts/validations/__bulk_bank_validation.py
cashfree/cashfree-sdk-python
f59f706a9ef6bc5d34c5933045b526dc9b0eea57
[ "MIT" ]
8
2020-01-09T11:22:18.000Z
2021-05-23T09:39:03.000Z
cashfree_sdk/payouts/validations/__bulk_bank_validation.py
cashfree/cashfree-sdk-python
f59f706a9ef6bc5d34c5933045b526dc9b0eea57
[ "MIT" ]
3
2020-05-11T04:47:06.000Z
2022-03-31T00:56:10.000Z
class BulkBankValidation: end_point = "/payout/v1/bulkValidation/bankDetails" req_type = "POST" def __init__(self, *args, **kwargs): self.bulkValidationId = kwargs["bulkValidationId"] self.entries = kwargs["entries"]
30.75
58
0.682927
24
246
6.75
0.75
0
0
0
0
0
0
0
0
0
0
0.005025
0.191057
246
8
59
30.75
0.809045
0
0
0
0
0
0.260163
0.150407
0
0
0
0
0
1
0.166667
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
13404af6ebdebf211299a72e8fcf12df18dca8aa
232
py
Python
schemas/cashiers.py
rimtzg/supertpv-branch-server
c8ebf8b1d43c90d964a3f26c195b7078a573adb7
[ "MIT" ]
null
null
null
schemas/cashiers.py
rimtzg/supertpv-branch-server
c8ebf8b1d43c90d964a3f26c195b7078a573adb7
[ "MIT" ]
1
2022-02-26T17:28:54.000Z
2022-02-26T17:28:54.000Z
schemas/cashiers.py
rimtzg/supertpv-branch-server
c8ebf8b1d43c90d964a3f26c195b7078a573adb7
[ "MIT" ]
null
null
null
from schema import Schema, Optional, Use schema = Schema({ 'name' : Use(str.lower), 'username' : Use(str.lower), 'password' : Use(str.lower), Optional('active', default=False) : Use(bool), }, ignore_extra_keys=True)
29
50
0.655172
30
232
5
0.6
0.12
0.22
0
0
0
0
0
0
0
0
0
0.172414
232
8
51
29
0.78125
0
0
0
0
0
0.111588
0
0
0
0
0
0
1
0
false
0.142857
0.142857
0
0.142857
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
1342148a61a50908b34f6f3afb898714f19c7bb3
21,385
py
Python
python/pyspark/mllib/random.py
wangyeweikuer/spark
731aa2cdf8a78835621fbf3de2d3492b27711d1a
[ "BSD-2-Clause", "Apache-2.0", "CC0-1.0", "MIT", "MIT-0", "ECL-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-11-18T05:24:48.000Z
2021-11-18T05:24:48.000Z
python/pyspark/mllib/random.py
wangyeweikuer/spark
731aa2cdf8a78835621fbf3de2d3492b27711d1a
[ "BSD-2-Clause", "Apache-2.0", "CC0-1.0", "MIT", "MIT-0", "ECL-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
6
2018-06-14T11:15:27.000Z
2019-01-27T12:11:23.000Z
python/pyspark/mllib/random.py
wangyeweikuer/spark
731aa2cdf8a78835621fbf3de2d3492b27711d1a
[ "BSD-2-Clause", "Apache-2.0", "CC0-1.0", "MIT", "MIT-0", "ECL-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-09-19T22:04:32.000Z
2021-09-19T22:04:32.000Z
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
30.593705
100
0.542857
2,391
21,385
4.843162
0.102886
0.018653
0.006477
0.021589
0.770812
0.743264
0.714421
0.67418
0.670898
0.619948
0
0.022301
0.33949
21,385
698
101
30.637536
0.797522
0.587982
0
0.623529
0
0
0.038583
0
0
0
0
0
0
1
0.088235
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
1
1
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
3
135c1ff897a7960f08ba4e5cc745c71e17e5f378
250
py
Python
database/models/authorization.py
FAU-SWARM/database
20c161d70e010f7fc72b85a4dfa02b5b22b77c64
[ "MIT" ]
null
null
null
database/models/authorization.py
FAU-SWARM/database
20c161d70e010f7fc72b85a4dfa02b5b22b77c64
[ "MIT" ]
null
null
null
database/models/authorization.py
FAU-SWARM/database
20c161d70e010f7fc72b85a4dfa02b5b22b77c64
[ "MIT" ]
null
null
null
from mongoengine import StringField import logging LOGGER = logging.getLogger(__name__) LOGGER.addHandler(logging.NullHandler()) # database imports from . import BaseDocument class Authorization(BaseDocument): name = StringField(required=True)
22.727273
40
0.812
26
250
7.653846
0.653846
0
0
0
0
0
0
0
0
0
0
0
0.112
250
10
41
25
0.896396
0.064
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.714286
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
1362a47fcaf319f5295fed136c95b988cf3893e4
21
py
Python
aim/sdk/data_version.py
avkudr/aim
5961f31d358929287986ace09c73310886a94704
[ "Apache-2.0" ]
2,195
2020-01-23T03:08:11.000Z
2022-03-31T14:32:19.000Z
aim/sdk/data_version.py
deepanprabhu/aim
c00d8ec7bb2d9fd230a9430b516ca90cdb8072cb
[ "Apache-2.0" ]
696
2020-02-08T21:55:45.000Z
2022-03-31T16:52:22.000Z
aim/sdk/data_version.py
deepanprabhu/aim
c00d8ec7bb2d9fd230a9430b516ca90cdb8072cb
[ "Apache-2.0" ]
150
2020-03-27T10:44:25.000Z
2022-03-21T21:29:41.000Z
DATA_VERSION = '1.1'
10.5
20
0.666667
4
21
3.25
0.75
0
0
0
0
0
0
0
0
0
0
0.111111
0.142857
21
1
21
21
0.611111
0
0
0
0
0
0.142857
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1380d29d809314c6b667a1e891e397acd5750658
74
py
Python
Mundo 2/Aulas/Aula_14_Uso_Do_While.py
PedroHenrique-Santos/Curso-Python
0086f3ef7712ac04bc5c0c6e12c5b66c58e4810d
[ "MIT" ]
3
2020-04-09T00:31:28.000Z
2020-04-18T13:47:31.000Z
Mundo 2/Aulas/Aula_14_Uso_Do_While.py
PedroHenrique-Santos/Curso-Python
0086f3ef7712ac04bc5c0c6e12c5b66c58e4810d
[ "MIT" ]
2
2020-04-10T01:33:00.000Z
2020-04-10T01:37:05.000Z
Mundo 2/Aulas/Aula_14_Uso_Do_While.py
PedroHenrique-Santos/Curso-Python
0086f3ef7712ac04bc5c0c6e12c5b66c58e4810d
[ "MIT" ]
null
null
null
# Uso do While cont = 0 while cont == 100: print(cont) cont += 1
10.571429
18
0.554054
12
74
3.416667
0.666667
0.439024
0
0
0
0
0
0
0
0
0
0.1
0.324324
74
7
19
10.571429
0.72
0.162162
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1395fd0df97e6b72f0af373f1d342b2c5a5c8b8e
1,134
py
Python
endrpi/model/system.py
persanix-llc/endrpi-server
0bc69bfde977e558e7097175d1207be4da388065
[ "Apache-2.0" ]
2
2021-04-30T18:12:14.000Z
2021-10-30T02:53:48.000Z
endrpi/model/system.py
persanix-llc/endrpi-server
0bc69bfde977e558e7097175d1207be4da388065
[ "Apache-2.0" ]
1
2021-08-29T16:18:15.000Z
2021-08-29T16:18:15.000Z
endrpi/model/system.py
persanix-llc/endrpi-server
0bc69bfde977e558e7097175d1207be4da388065
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2020 - 2021 Persanix LLC. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
34.363636
75
0.767196
156
1,134
5.570513
0.557692
0.069045
0.103567
0.036824
0
0
0
0
0
0
0
0.012766
0.171076
1,134
32
76
35.4375
0.911702
0.565256
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
13977f883dc74775e980440651bdcbdfd5af6600
424
py
Python
flowtorch/bijectors/__init__.py
brianjo/flowtorch
88dcc5cf0a7e1899de18d0fc88157690a1d189ac
[ "MIT" ]
5
2020-12-09T22:05:16.000Z
2020-12-17T23:43:15.000Z
flowtorch/bijectors/__init__.py
stefanwebb/flowtorch-old
7dfc0ccb1ba43d0b0190611f27e966f55ef7784e
[ "MIT" ]
12
2020-12-09T21:03:36.000Z
2020-12-17T23:36:30.000Z
flowtorch/bijectors/__init__.py
stefanwebb/flowtorch-old
7dfc0ccb1ba43d0b0190611f27e966f55ef7784e
[ "MIT" ]
null
null
null
# Copyright (c) FlowTorch Development Team. All Rights Reserved # SPDX-License-Identifier: MIT # TODO: Scan all classes deriving from Bijector in flowtorch.bijector and add here # automatically from flowtorch.bijectors.affine_autoregressive import AffineAutoregressive from flowtorch.bijectors.compose import Compose fr...
38.545455
82
0.823113
49
424
7.020408
0.612245
0.113372
0.19186
0
0
0
0
0
0
0
0
0
0.108491
424
10
83
42.4
0.910053
0.436321
0
0
0
0
0.145299
0
0
0
0
0.1
0
1
0
false
0
0.75
0
0.75
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
1
0
0
0
0
0
1
0
0
0
0
3
139bf81f6b5a26dbe58a514120d0c8a48be6369c
12,787
py
Python
mkdocs/tests/config/base_tests.py
hwmrocker/mkdocs
81d8cfcb575a886846f746f2bc9ed3e40a34e8fb
[ "BSD-2-Clause" ]
null
null
null
mkdocs/tests/config/base_tests.py
hwmrocker/mkdocs
81d8cfcb575a886846f746f2bc9ed3e40a34e8fb
[ "BSD-2-Clause" ]
null
null
null
mkdocs/tests/config/base_tests.py
hwmrocker/mkdocs
81d8cfcb575a886846f746f2bc9ed3e40a34e8fb
[ "BSD-2-Clause" ]
null
null
null
import os import tempfile import unittest from tempfile import TemporaryDirectory from mkdocs import exceptions from mkdocs.config import base, defaults from mkdocs.config.config_options import BaseConfigOption class ConfigBaseTests(unittest.TestCase): def test_unrecognised_keys(self): c = base.Config(...
36.638968
83
0.620005
1,469
12,787
5.201498
0.103472
0.077215
0.019631
0.023819
0.75566
0.7287
0.703573
0.66863
0.633425
0.624526
0
0.007021
0.264878
12,787
348
84
36.744253
0.805851
0.068585
0
0.674897
0
0
0.114349
0.006429
0
0
0
0
0.230453
1
0.115226
false
0
0.028807
0
0.17284
0
0
0
0
null
0
0
0
0
1
1
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
3
13a7236f5ddd75e832b46a32bd40989c99c9c54a
693
py
Python
imagezmq_backup/__init__.py
ajdroid/tobii_ros
b103cb772604458d9822911494af75057902ebb1
[ "Unlicense" ]
null
null
null
imagezmq_backup/__init__.py
ajdroid/tobii_ros
b103cb772604458d9822911494af75057902ebb1
[ "Unlicense" ]
null
null
null
imagezmq_backup/__init__.py
ajdroid/tobii_ros
b103cb772604458d9822911494af75057902ebb1
[ "Unlicense" ]
null
null
null
""" imagezmq_backup: transport OpenCV images via ZMQ. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ A pair of Python classes that transport OpenCV images from one computer to another. For example, OpenCV images gathered by a Raspberry Pi camera could be sent to another computer for displaying the images using cv2.imshow(...
40.764706
77
0.748918
89
693
5.303371
0.640449
0.076271
0.108051
0
0
0
0
0
0
0
0
0.008333
0.134199
693
17
78
40.764706
0.778333
0.940837
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
13b113c2628e5af6ea1511b7418777bfa1da1c58
94
py
Python
apps/cmsauth/apps.py
ForsetiRe/seven_cms
e7ffaf6ca9de5f5237f3db0bbce3d11904cf8f93
[ "Apache-2.0" ]
1
2020-07-23T09:19:03.000Z
2020-07-23T09:19:03.000Z
apps/cmsauth/apps.py
ForsetiRe/seven_cms
e7ffaf6ca9de5f5237f3db0bbce3d11904cf8f93
[ "Apache-2.0" ]
5
2021-03-30T14:10:19.000Z
2022-01-13T03:07:44.000Z
apps/cmsauth/apps.py
ForsetiRe/seven_cms
e7ffaf6ca9de5f5237f3db0bbce3d11904cf8f93
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class CmsauthConfig(AppConfig): name = 'apps.cmsauth'
15.666667
33
0.755319
11
94
6.454545
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.159574
94
5
34
18.8
0.898734
0
0
0
0
0
0.12766
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
13b52866e6068f6f17b62bae58421cf5b9808256
2,500
py
Python
tests/test_safebrowsing.py
CBS2606/python-adguardhome
d7454ff7eb9917e67882e5c969444bf7810f0bfd
[ "MIT" ]
54
2019-05-26T14:20:44.000Z
2022-03-12T19:35:17.000Z
tests/test_safebrowsing.py
CBS2606/python-adguardhome
d7454ff7eb9917e67882e5c969444bf7810f0bfd
[ "MIT" ]
455
2019-06-06T19:14:49.000Z
2022-03-30T07:20:00.000Z
tests/test_safebrowsing.py
CBS2606/python-adguardhome
d7454ff7eb9917e67882e5c969444bf7810f0bfd
[ "MIT" ]
21
2019-06-06T19:06:20.000Z
2022-02-16T18:09:37.000Z
"""Tests for `adguardhome.safebrowsing`.""" import aiohttp import pytest from adguardhome import AdGuardHome from adguardhome.exceptions import AdGuardHomeError @pytest.mark.asyncio async def test_enabled(aresponses): """Test request of current AdGuard Home browsing security status.""" aresponses.add( ...
29.761905
72
0.6252
241
2,500
6.473029
0.232365
0.057692
0.076923
0.088462
0.798077
0.798077
0.685897
0.614103
0.614103
0.614103
0
0.022424
0.2508
2,500
83
73
30.120482
0.810465
0.0148
0
0.757143
0
0
0.187227
0.074366
0
0
0
0
0.028571
1
0
false
0
0.057143
0
0.057143
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
13d5f9e23acc81da2d75e22ed985655e01cefc77
682
py
Python
desktop/core/ext-py/colorama-0.3.2/demos/demo03.py
kokosing/hue
2307f5379a35aae9be871e836432e6f45138b3d9
[ "Apache-2.0" ]
5,079
2015-01-01T03:39:46.000Z
2022-03-31T07:38:22.000Z
desktop/core/ext-py/colorama-0.3.2/demos/demo03.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
1,623
2015-01-01T08:06:24.000Z
2022-03-30T19:48:52.000Z
desktop/core/ext-py/colorama-0.3.2/demos/demo03.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
2,033
2015-01-04T07:18:02.000Z
2022-03-28T19:55:47.000Z
#!/usr/bin/python # Copyright Jonathan Hartley 2013. BSD 3-Clause license, see LICENSE file. # Demonstrate the different behavior when autoreset is True and False. from __future__ import print_function import fixpath from colorama import init, Fore, Back, Style init(autoreset=True) print(Fore.CYAN + Back.MAGENTA + S...
40.117647
102
0.766862
104
682
4.980769
0.557692
0.081081
0.069498
0
0
0
0
0
0
0
0
0.015332
0.139296
682
16
103
42.625
0.867121
0.231672
0
0
0
0
0.479846
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.555556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
3
13eaff0a82b18b2eeec21dd54534e71f43bdddab
7,607
py
Python
counterexamples/phase_king.py
ilinastoilkovska/syncTA
9224ef50d5ada4782d0a1d5723531ebe43149584
[ "Apache-2.0" ]
2
2021-01-05T11:45:48.000Z
2021-04-06T12:59:38.000Z
counterexamples/phase_king.py
ilinastoilkovska/syncTA
9224ef50d5ada4782d0a1d5723531ebe43149584
[ "Apache-2.0" ]
null
null
null
counterexamples/phase_king.py
ilinastoilkovska/syncTA
9224ef50d5ada4782d0a1d5723531ebe43149584
[ "Apache-2.0" ]
null
null
null
# process local states local = range(34) # L states L = {"x0" : [0, 16], "x1" : [1, 17], "k0" : [22], "k1" : [23], "kf" : [30], "m0" : [4, 5, 20, 21], "m1" : [3, 5, 19, 21]} # initial states initial = [0, 1, 16, 17, 26, 27] # rules rules = [] rules.append({'idx': 0, 'from': 0, 'to': 2, 'guard': "(and (< x0 (- n t)) (<...
54.726619
138
0.489549
1,193
7,607
3.117351
0.119028
0.21296
0.271041
0.123689
0.633504
0.550148
0.539392
0.377521
0.349556
0.320516
0
0.087744
0.165505
7,607
138
139
55.123188
0.49811
0.042461
0
0
0
0
0.412598
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
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
3
13ee64bfa133bcfe1c5bd188587ec4706db595c6
5,885
py
Python
release/stubs.min/Wms/RemotingObjects/Barcodes/SSCC.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/Wms/RemotingObjects/Barcodes/SSCC.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/Wms/RemotingObjects/Barcodes/SSCC.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
# encoding: utf-8 # module Wms.RemotingObjects.Barcodes.SSCC calls itself SSCC # from Wms.RemotingObjects,Version=1.23.1.0,Culture=neutral,PublicKeyToken=null # by generator 1.145 # no doc # no important from __init__ import * # no functions # classes class GS1Prefixes(object): # no doc def ZZZ(self): ...
27.890995
215
0.665251
712
5,885
5.356742
0.258427
0.047195
0.028317
0.037756
0.483482
0.408495
0.374934
0.33849
0.33849
0.293131
0
0.004399
0.227528
5,885
210
216
28.02381
0.83458
0.559728
0
0.45283
0
0
0
0
0
0
0
0
0
1
0.339623
false
0.301887
0.018868
0
0.622642
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
13f7056f1ec4718b947160d856caaa4e4fc4f67f
136
py
Python
Python/Sets/SetUnion()Operation.py
devansh-pratap-singh/hackerrank-solutions
227817d90846424cd3078e60b225eb201e906cf9
[ "MIT" ]
1
2020-10-15T14:03:52.000Z
2020-10-15T14:03:52.000Z
Python/Sets/SetUnion()Operation.py
devansh-pratap-singh/HackerRank-Solutions
227817d90846424cd3078e60b225eb201e906cf9
[ "MIT" ]
null
null
null
Python/Sets/SetUnion()Operation.py
devansh-pratap-singh/HackerRank-Solutions
227817d90846424cd3078e60b225eb201e906cf9
[ "MIT" ]
null
null
null
e = int(input()) set_e = set(input().split()) f = int(input()) set_f = set(input().split()) total = set_e.union(set_f) print(len(total))
22.666667
28
0.639706
25
136
3.32
0.4
0.192771
0.26506
0
0
0
0
0
0
0
0
0
0.110294
136
6
29
22.666667
0.68595
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
13f7c36effc558c7ee77fa6f47ba5b97981b1436
240
py
Python
stubs/3.2/codecs.py
zyga/mypy
5b7e222568cd20c31cde4e02adc9fd77d949197a
[ "PSF-2.0" ]
1
2019-06-16T07:05:32.000Z
2019-06-16T07:05:32.000Z
stubs/3.2/codecs.py
zyga/mypy
5b7e222568cd20c31cde4e02adc9fd77d949197a
[ "PSF-2.0" ]
null
null
null
stubs/3.2/codecs.py
zyga/mypy
5b7e222568cd20c31cde4e02adc9fd77d949197a
[ "PSF-2.0" ]
null
null
null
from typing import Function BOM_UTF8 = b'' class CodecInfo(tuple): def __init__(self, *args) -> None: pass def register(search_function: Function[[str], CodecInfo]) -> None: pass def lookup(encoding: str) -> CodecInfo: pass
18.461538
66
0.691667
31
240
5.16129
0.677419
0.1
0.1375
0
0
0
0
0
0
0
0
0.005102
0.183333
240
12
67
20
0.811224
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0.375
false
0.375
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
1
0
1
0
0
1
0
0
3
b9234ab76b716dbd4ec76a47e8fc297931789af0
493
py
Python
core/__init__.py
tomken/tmake
ee4f2c709a3e021fb04427bd7ae72f99d2714176
[ "MIT" ]
2
2020-01-11T04:26:27.000Z
2022-01-10T06:35:22.000Z
core/__init__.py
tomken/tmake
ee4f2c709a3e021fb04427bd7ae72f99d2714176
[ "MIT" ]
null
null
null
core/__init__.py
tomken/tmake
ee4f2c709a3e021fb04427bd7ae72f99d2714176
[ "MIT" ]
1
2020-04-25T01:06:39.000Z
2020-04-25T01:06:39.000Z
from .actions.tmake_action import ActionManager, Action from .tmake_log import * from .tmake_exception import * from .info.tmake_constants import * from .info.tmake_platform import PlatformInfo from .info.tmake_info import GlobalData as data from .info.tmake_cmake_info import CMakeProjectInfo from .cmd.tmake_base i...
27.388889
62
0.827586
72
493
5.458333
0.347222
0.127226
0.132316
0.096692
0
0
0
0
0
0
0
0
0.117647
493
17
63
29
0.903448
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
b9259898d6ebf53ee61f96d37c97a3ebf6ee2b72
251
py
Python
cy_widgets/exchange/signal.py
cragod/CYWidgets
b1df1e32c363ed9252737d3041a7557b1dc604fe
[ "MIT" ]
1
2021-06-17T02:25:25.000Z
2021-06-17T02:25:25.000Z
cy_widgets/exchange/signal.py
cragod/CYWidgets
b1df1e32c363ed9252737d3041a7557b1dc604fe
[ "MIT" ]
null
null
null
cy_widgets/exchange/signal.py
cragod/CYWidgets
b1df1e32c363ed9252737d3041a7557b1dc604fe
[ "MIT" ]
1
2021-12-08T06:50:33.000Z
2021-12-08T06:50:33.000Z
from enum import Enum class ExchangeSignal(Enum): """现货交易信号""" LONG = 'long' # 开多 SHORT = 'short' # 开空 CLOSE = 'close' # 平仓 CLOSE_THEN_LONG = 'close_then_long' # 平仓 + 开多 CLOSE_THEN_SHORT = 'close_then_short' # 平仓 + 开空
22.818182
52
0.601594
33
251
4.333333
0.393939
0.251748
0.181818
0
0
0
0
0
0
0
0
0
0.2749
251
10
53
25.1
0.785714
0.12749
0
0
0
0
0.215311
0
0
0
0
0
0
1
0
false
0
0.142857
0
1
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b92e7808669c3b8671b8733b86c149cbaef389c9
4,055
py
Python
supertokens_python/recipe/emailpassword/syncio/__init__.py
SKOOTUK/supertokens-python
c0751dd5af911835199223efbe5a91e7c1f1f954
[ "Apache-2.0" ]
null
null
null
supertokens_python/recipe/emailpassword/syncio/__init__.py
SKOOTUK/supertokens-python
c0751dd5af911835199223efbe5a91e7c1f1f954
[ "Apache-2.0" ]
3
2022-02-21T18:42:06.000Z
2022-03-04T11:54:15.000Z
supertokens_python/recipe/emailpassword/syncio/__init__.py
SKOOTUK/supertokens-python
c0751dd5af911835199223efbe5a91e7c1f1f954
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2021, VRAI Labs and/or its affiliates. All rights reserved. # # This software is licensed under the Apache License, Version 2.0 (the # "License") as published by the Apache Software Foundation. # # You may not use this file except in compliance with the License. You may # obtain a copy of the License at...
45.055556
120
0.766708
578
4,055
5.131488
0.190311
0.089009
0.092043
0.080917
0.63857
0.545179
0.453136
0.426837
0.406271
0.406271
0
0.002316
0.148212
4,055
89
121
45.561798
0.856398
0.161529
0
0.156863
0
0
0
0
0
0
0
0
0
1
0.156863
false
0.54902
0.313725
0
0.705882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
b933e826648682bb40304cc4664daaf6245e6d06
1,828
py
Python
src/sasctl/utils/pyml2ds/connectors/ensembles/lgb.py
jameskochubasas/python-sasctl
65107c2d4355390ca09e83eb89167c86506c9926
[ "Apache-2.0" ]
30
2019-07-12T00:18:21.000Z
2022-03-18T08:36:35.000Z
src/sasctl/utils/pyml2ds/connectors/ensembles/lgb.py
jameskochubasas/python-sasctl
65107c2d4355390ca09e83eb89167c86506c9926
[ "Apache-2.0" ]
89
2019-07-12T20:46:46.000Z
2022-03-29T16:16:46.000Z
src/sasctl/utils/pyml2ds/connectors/ensembles/lgb.py
jameskochubasas/python-sasctl
65107c2d4355390ca09e83eb89167c86506c9926
[ "Apache-2.0" ]
41
2019-07-11T15:08:55.000Z
2022-01-10T05:30:50.000Z
from sasctl.utils.pyml2ds.basic import TreeParser from .core import EnsembleParser class LightgbmTreeParser(TreeParser): """Class for parsing lightgbm tree. """ def _not_leaf(self): return 'split_feature' in self._node def _get_var(self): return self._features[self._node['split_featu...
25.746479
73
0.625821
206
1,828
5.23301
0.349515
0.092764
0.090909
0.100186
0.124304
0
0
0
0
0
0
0.003715
0.263676
1,828
70
74
26.114286
0.797177
0.083698
0
0
0
0
0.164936
0
0
0
0
0
0
1
0.3
false
0
0.05
0.25
0.65
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b94c45ac86aa5e386b6343410c174350bb8d9b1d
3,028
py
Python
examples/ScanNet/NYU40_colors.py
Sasha-ObjectMatching-Pipeline/sparseconvnet_ros
cbaaffcc6eea6a006f847464879bd4c29821d5e1
[ "BSD-3-Clause" ]
null
null
null
examples/ScanNet/NYU40_colors.py
Sasha-ObjectMatching-Pipeline/sparseconvnet_ros
cbaaffcc6eea6a006f847464879bd4c29821d5e1
[ "BSD-3-Clause" ]
null
null
null
examples/ScanNet/NYU40_colors.py
Sasha-ObjectMatching-Pipeline/sparseconvnet_ros
cbaaffcc6eea6a006f847464879bd4c29821d5e1
[ "BSD-3-Clause" ]
1
2022-02-25T15:04:49.000Z
2022-02-25T15:04:49.000Z
# color palette for nyu40 labels (correspond to ScanNetV2 ground truth labels) def create_color_palette_gt(): return [ (0, 0, 0), (174, 199, 232), # wall (152, 223, 138), # floor (31, 119, 180), # cabinet (255, 187, 120), # bed (188, 189, 34), # chair (140, 8...
32.913043
87
0.448481
368
3,028
3.673913
0.51087
0.007396
0.02071
0.031065
0
0
0
0
0
0
0
0.336735
0.385073
3,028
92
88
32.913043
0.389366
0.257596
0
0.045455
0
0
0
0
0
0
0
0
0
1
0.022727
true
0
0
0.022727
0.045455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
b955eece982c8d7627d37e20b41ef5826c9b8edb
102
py
Python
cap9/ex7/main1.py
felipesch92/livroPython
061b1c095c3ec2d25fb1d5fdfbf9e9dbe10b3307
[ "MIT" ]
null
null
null
cap9/ex7/main1.py
felipesch92/livroPython
061b1c095c3ec2d25fb1d5fdfbf9e9dbe10b3307
[ "MIT" ]
null
null
null
cap9/ex7/main1.py
felipesch92/livroPython
061b1c095c3ec2d25fb1d5fdfbf9e9dbe10b3307
[ "MIT" ]
null
null
null
l = [['felipe', 99], ['tamara', 50], ['fernando', 60]] l1 = sorted(l) l = sorted(l) print(l) print(l1)
20.4
54
0.558824
17
102
3.352941
0.588235
0.245614
0
0
0
0
0
0
0
0
0
0.091954
0.147059
102
5
55
20.4
0.563218
0
0
0
0
0
0.194175
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b957d9766e0ec198664060398485fa08edc50282
2,038
py
Python
torchrs/train/datamodules/__init__.py
isaaccorley/torchrs
bb27a29e344741f8dda504ac296af6d03a20e7df
[ "MIT" ]
146
2021-07-23T03:56:22.000Z
2022-03-21T03:25:54.000Z
torchrs/train/datamodules/__init__.py
isaaccorley/torchrs
bb27a29e344741f8dda504ac296af6d03a20e7df
[ "MIT" ]
6
2021-07-26T13:18:59.000Z
2022-03-14T11:05:26.000Z
torchrs/train/datamodules/__init__.py
isaaccorley/torchrs
bb27a29e344741f8dda504ac296af6d03a20e7df
[ "MIT" ]
21
2021-07-27T06:14:58.000Z
2022-02-17T01:57:27.000Z
from .base import BaseDataModule from .probav import PROBAVDataModule from .etci2021 import ETCI2021DataModule from .rsvqa import RSVQALRDataModule, RSVQAHRDataModule, RSVQAxBENDataModule from .eurosat import EuroSATRGBDataModule, EuroSATMSDataModule from .resisc45 import RESISC45DataModule from .rsicd import RSICDData...
48.52381
106
0.84053
161
2,038
10.571429
0.434783
0.045828
0
0
0
0
0
0
0
0
0
0.024905
0.093719
2,038
41
107
49.707317
0.896589
0
0
0
0
0
0.292934
0.074092
0
0
0
0
0
1
0
false
0
0.74359
0
0.74359
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
b98d5153305d79ac7885fd7ca22f9e703e69c9fc
190
py
Python
ai_challenge/data_structures/transition.py
village-people/flying-pig
c86b589aadb02dbfd42a917a388c2b8488ecd338
[ "MIT" ]
72
2017-05-22T18:22:58.000Z
2019-03-11T22:49:00.000Z
ai_challenge/data_structures/transition.py
village-people/flying-pig
c86b589aadb02dbfd42a917a388c2b8488ecd338
[ "MIT" ]
1
2017-06-09T05:26:43.000Z
2017-08-22T11:41:41.000Z
ai_challenge/data_structures/transition.py
village-people/flying-pig
c86b589aadb02dbfd42a917a388c2b8488ecd338
[ "MIT" ]
3
2017-05-25T08:49:27.000Z
2019-09-09T18:41:54.000Z
from collections import namedtuple """ A container for transitions. """ Transition = namedtuple('Transition', ('id', 'state', 'action', 'reward', 'state_', 'done'))
31.666667
78
0.6
17
190
6.647059
0.823529
0
0
0
0
0
0
0
0
0
0
0
0.231579
190
5
79
38
0.773973
0
0
0
0
0
0.253247
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b99f72fe6efd609415c31dc11a3d1f7da8b5270b
520
py
Python
api/nucleus/migrations/0004_auto_20180407_0531.py
wepickheroes/wepickheroes.github.io
032c2a75ef058aaceb795ce552c52fbcc4cdbba3
[ "MIT" ]
3
2018-02-15T20:04:23.000Z
2018-09-29T18:13:55.000Z
api/nucleus/migrations/0004_auto_20180407_0531.py
wepickheroes/wepickheroes.github.io
032c2a75ef058aaceb795ce552c52fbcc4cdbba3
[ "MIT" ]
5
2018-01-31T02:01:15.000Z
2018-05-11T04:07:32.000Z
api/nucleus/migrations/0004_auto_20180407_0531.py
prattl/wepickheroes
032c2a75ef058aaceb795ce552c52fbcc4cdbba3
[ "MIT" ]
null
null
null
# Generated by Django 2.0 on 2018-04-07 05:31 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('nucleus', '0003_auto_20180324_2100'), ] operations = [ migrations.RemoveField( model_name='teammember', name='position', ...
20.8
47
0.561538
45
520
6.377778
0.688889
0.125436
0.181185
0.209059
0
0
0
0
0
0
0
0.086207
0.330769
520
24
48
21.666667
0.738506
0.082692
0
0.388889
1
0
0.170526
0.048421
0
0
0
0
0
1
0
false
0
0.055556
0
0.222222
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b9ae6df5c08817567af9470a4808794418d1a0be
1,125
py
Python
tests/test_bus.py
agners/hassio
42d993575ba94159046112d5ab16fac82ff5fe57
[ "Apache-2.0" ]
584
2020-01-31T18:53:10.000Z
2022-03-29T21:12:15.000Z
tests/test_bus.py
BigElkHunter/cyberockit
fa7140fd9a5ee1316d103628f1f7f4c6db05b158
[ "Apache-2.0" ]
1,056
2020-01-30T09:59:44.000Z
2022-03-31T10:15:32.000Z
tests/test_bus.py
BigElkHunter/cyberockit
fa7140fd9a5ee1316d103628f1f7f4c6db05b158
[ "Apache-2.0" ]
295
2020-02-03T11:30:42.000Z
2022-03-31T18:53:14.000Z
"""Test bus backend.""" import asyncio import pytest from supervisor.const import BusEvent from supervisor.coresys import CoreSys @pytest.mark.asyncio async def test_bus_event(coresys: CoreSys) -> None: """Test bus events over the backend.""" results = [] async def callback(data) -> None: """T...
25
70
0.700444
145
1,125
5.289655
0.262069
0.045632
0.136897
0.125163
0.809648
0.809648
0.809648
0.676662
0.511082
0.511082
0
0.006522
0.182222
1,125
44
71
25.568182
0.827174
0.015111
0
0.52
0
0
0.00813
0
0
0
0
0
0.12
1
0
false
0
0.16
0
0.16
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b9c175c840c6dac8dd9bdc878e7b9e11d11de053
3,316
py
Python
infoblox_netmri/api/remote/models/changed_port_net_explorer_inv_summary_grid_remote.py
IngmarVG-IB/infoblox-netmri
b0c725fd64aee1890d83917d911b89236207e564
[ "Apache-2.0" ]
null
null
null
infoblox_netmri/api/remote/models/changed_port_net_explorer_inv_summary_grid_remote.py
IngmarVG-IB/infoblox-netmri
b0c725fd64aee1890d83917d911b89236207e564
[ "Apache-2.0" ]
null
null
null
infoblox_netmri/api/remote/models/changed_port_net_explorer_inv_summary_grid_remote.py
IngmarVG-IB/infoblox-netmri
b0c725fd64aee1890d83917d911b89236207e564
[ "Apache-2.0" ]
null
null
null
from ..remote import RemoteModel from infoblox_netmri.utils.utils import check_api_availability class ChangedPortNetExplorerInvSummaryGridRemote(RemoteModel): """ | ``DeviceIPDotted:`` none | ``attribute type:`` string | ``DeviceIPNumeric:`` none | ``attribute type:`` string ...
20.855346
62
0.447829
191
3,316
7.759162
0.240838
0.254386
0.332659
0.450067
0
0
0
0
0
0
0
0
0.416164
3,316
159
63
20.855346
0.765496
0.493366
0
0
0
0
0.254393
0.018335
0
0
0
0
0
1
0
false
0
0.060606
0
0.121212
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b9c2419721a6e87bac6a776fa8bcb81e190bf1ee
608
py
Python
certbot_redis/redisurlparser.py
panic75/certbot-redis-plugin
87631dbe4c42ce9d7b84108b8862080cb49ba110
[ "MIT" ]
null
null
null
certbot_redis/redisurlparser.py
panic75/certbot-redis-plugin
87631dbe4c42ce9d7b84108b8862080cb49ba110
[ "MIT" ]
null
null
null
certbot_redis/redisurlparser.py
panic75/certbot-redis-plugin
87631dbe4c42ce9d7b84108b8862080cb49ba110
[ "MIT" ]
null
null
null
try: from urllib import parse except ImportError: import urlparse as parse class RedisUrlParser: def __init__(self, redis_url): if 'redis' not in parse.uses_netloc: parse.uses_netloc.append('redis') url = parse.urlparse(redis_url) # type: parse.ParseResult self._hostna...
20.266667
66
0.636513
71
608
5.253521
0.408451
0.064343
0.112601
0
0
0
0
0
0
0
0
0
0.284539
608
29
67
20.965517
0.857471
0.037829
0
0.142857
0
0
0.017153
0
0
0
0
0
0
1
0.190476
false
0.142857
0.142857
0.142857
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
1
0
0
3
b9db4d6ddc80440ef89899114f8e3269f926d002
6,803
py
Python
example/geopage_nospatial/models.py
mariusboe/wagtail-geo-widget
bced21950685d0d1843acd77bb0740b7df3b1415
[ "MIT" ]
null
null
null
example/geopage_nospatial/models.py
mariusboe/wagtail-geo-widget
bced21950685d0d1843acd77bb0740b7df3b1415
[ "MIT" ]
null
null
null
example/geopage_nospatial/models.py
mariusboe/wagtail-geo-widget
bced21950685d0d1843acd77bb0740b7df3b1415
[ "MIT" ]
null
null
null
from django.db import models from django.utils.functional import cached_property from django.utils.translation import ugettext as _ from wagtail.admin.edit_handlers import FieldPanel, MultiFieldPanel, StreamFieldPanel from wagtail.core import blocks from wagtail.core.fields import StreamField from wagtail.core.models i...
28.464435
88
0.540644
576
6,803
6.21875
0.164931
0.036851
0.036293
0.04746
0.78029
0.735343
0.735343
0.695142
0.651591
0.651591
0
0.005505
0.359106
6,803
238
89
28.584034
0.816055
0
0
0.653465
0
0
0.067617
0.009261
0
0
0
0
0
1
0.079208
false
0
0.069307
0.039604
0.331683
0
0
0
0
null
0
0
0
0
1
1
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
3
b9df3d4f2d622aea23062423ebac171ef0fac383
2,096
py
Python
GPflow/priors.py
blutooth/dgp
bedbbc3595fbe124d7a06c3d6d64f9009304491e
[ "Apache-2.0" ]
1
2018-09-06T04:42:37.000Z
2018-09-06T04:42:37.000Z
GPflow/priors.py
blutooth/dgp
bedbbc3595fbe124d7a06c3d6d64f9009304491e
[ "Apache-2.0" ]
null
null
null
GPflow/priors.py
blutooth/dgp
bedbbc3595fbe124d7a06c3d6d64f9009304491e
[ "Apache-2.0" ]
null
null
null
import densities import tensorflow as tf import numpy as np from param import Parameterized class Prior(Parameterized): def logp(self, x): """ The log density of the prior as x All priors (for the moment) are univariate, so if x is a vector or an array, this is the sum of the log ...
27.578947
77
0.612118
298
2,096
4.090604
0.218121
0.074651
0.07219
0.085316
0.544709
0.444627
0.444627
0.40525
0.40525
0.35603
0
0.015199
0.24666
2,096
75
78
27.946667
0.756808
0.09542
0
0.511111
0
0
0.012561
0
0
0
0
0
0
1
0.311111
false
0
0.088889
0.177778
0.688889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b9ee4fd181b7cf28eb06e6fc7608f5a8d6c4a0f0
661
py
Python
powerline/matchers/vim.py
zhaocai/powerline
8aae1145835b4b2a71f1ed71b81d490e2907bd39
[ "MIT" ]
null
null
null
powerline/matchers/vim.py
zhaocai/powerline
8aae1145835b4b2a71f1ed71b81d490e2907bd39
[ "MIT" ]
null
null
null
powerline/matchers/vim.py
zhaocai/powerline
8aae1145835b4b2a71f1ed71b81d490e2907bd39
[ "MIT" ]
null
null
null
# vim:fileencoding=utf-8:noet from __future__ import absolute_import import os from powerline.bindings.vim import vim_getbufoption def help(matcher_info): return str(vim_getbufoption(matcher_info, 'buftype')) == 'help' def cmdwin(matcher_info): name = matcher_info['buffer'].name return name and os.path.basenam...
22.793103
68
0.757943
90
661
5.311111
0.355556
0.230126
0.106695
0.125523
0.598326
0.598326
0.598326
0.598326
0.502092
0.280335
0
0.001706
0.113464
661
28
69
23.607143
0.813993
0.040847
0
0.133333
0
0
0.118671
0
0
0
0
0
0
1
0.333333
false
0
0.2
0.2
0.866667
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
1
0
0
0
1
0
0
0
3
b9f6114d1448e00d1b15f6838ebb7e3f4162ee0f
1,192
py
Python
stubs.min/System/Runtime/InteropServices/__init___parts/HandleRef.py
ricardyn/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
1
2021-02-02T13:39:16.000Z
2021-02-02T13:39:16.000Z
stubs.min/System/Runtime/InteropServices/__init___parts/HandleRef.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
stubs.min/System/Runtime/InteropServices/__init___parts/HandleRef.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
class HandleRef(object): """ Wraps a managed object holding a handle to a resource that is passed to unmanaged code using platform invoke. HandleRef(wrapper: object,handle: IntPtr) """ @staticmethod def ToIntPtr(value): """ ToIntPtr(value: HandleRef) -> IntPtr Returns the internal integ...
26.488889
112
0.683725
141
1,192
5.695035
0.340426
0.07472
0.033624
0.063512
0.367372
0.367372
0.14944
0.14944
0.14944
0.14944
0
0
0.217282
1,192
44
113
27.090909
0.860665
0.511745
0
0.444444
0
0
0
0
0
0
0
0
0
1
0.222222
false
0.222222
0
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
1
0
1
0
0
1
0
0
3
6a061bda75158647bd28d57a42913ae162a2b2a9
609
py
Python
owm/exceptions/parse_response_error.py
cloudbutton/geoprocesses
fde95438ef14fbaafa74ea1741ebcbba0efdcdef
[ "MIT" ]
null
null
null
owm/exceptions/parse_response_error.py
cloudbutton/geoprocesses
fde95438ef14fbaafa74ea1741ebcbba0efdcdef
[ "MIT" ]
4
2021-03-19T00:54:25.000Z
2022-03-11T23:48:07.000Z
owm/exceptions/parse_response_error.py
cloudbutton/geoprocesses
fde95438ef14fbaafa74ea1741ebcbba0efdcdef
[ "MIT" ]
null
null
null
""" Module containing ParseResponseError class AUTHOR: Juanjo DATE: 08/01/2019 """ import os from . import OWMError class ParseResponseError(OWMError): """ Error class that represents failures when parsing payload data in HTTP responses sent by the OWM web API. :param str message: the message of...
19.645161
74
0.661741
72
609
5.458333
0.652778
0.083969
0.045802
0
0
0
0
0
0
0
0
0.017544
0.251232
609
30
75
20.3
0.844298
0.44335
0
0
0
0
0.162252
0
0
0
0
0
0
1
0.25
false
0
0.25
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6a07095387c3e6cd37a2c93a7587da8f9502a15f
8,436
py
Python
tests/test_wsse_signature.py
jindriago-scf/python-zeep
1a1601880069f1d4f1d28bb2576d037e20f40bb5
[ "MIT" ]
null
null
null
tests/test_wsse_signature.py
jindriago-scf/python-zeep
1a1601880069f1d4f1d28bb2576d037e20f40bb5
[ "MIT" ]
null
null
null
tests/test_wsse_signature.py
jindriago-scf/python-zeep
1a1601880069f1d4f1d28bb2576d037e20f40bb5
[ "MIT" ]
null
null
null
import os import sys import pytest from lxml import etree from lxml.etree import QName from tests.utils import load_xml from zeep import ns, wsse from zeep.exceptions import SignatureVerificationFailed from zeep.wsse import signature from zeep.wsse.signature import xmlsec as xmlsec_installed KEY_FILE = os.path.join(...
34.57377
125
0.638099
987
8,436
5.305978
0.16616
0.043536
0.068933
0.079817
0.769525
0.765897
0.725797
0.695627
0.638915
0.624403
0
0.019435
0.219298
8,436
243
126
34.716049
0.775736
0.002134
0
0.470588
0
0
0.175547
0.059648
0
0
0
0
0.07563
1
0.05042
false
0
0.084034
0
0.134454
0
0
0
0
null
0
0
0
0
1
1
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
3
6a0e32a527b5f184cb1bd213da402f9ed6791d9c
507
py
Python
tests/tensor/test_initialize.py
jedhsu/tensor
3b2fe21029fa7c50b034190e77d79d1a94ea5e8f
[ "Apache-2.0" ]
null
null
null
tests/tensor/test_initialize.py
jedhsu/tensor
3b2fe21029fa7c50b034190e77d79d1a94ea5e8f
[ "Apache-2.0" ]
null
null
null
tests/tensor/test_initialize.py
jedhsu/tensor
3b2fe21029fa7c50b034190e77d79d1a94ea5e8f
[ "Apache-2.0" ]
null
null
null
""" *Initialize Tensor, [Unit Tests]* """ from tensor.tensor.initialize import InitializeTensor from tensor.tensor.initialize import Tensor from tensor.tensor.initialize import Test class TestInitializeTensor: def test_init_and_create(self): tensor = Test.square assert isinstance(tensor, I...
26.684211
53
0.692308
59
507
5.847458
0.40678
0.243478
0.13913
0.226087
0.278261
0
0
0
0
0
0
0.01995
0.209073
507
18
54
28.166667
0.840399
0.069034
0
0
0
0
0
0
0
0
0
0
0.454545
1
0.090909
false
0
0.272727
0
0.454545
0
0
0
0
null
1
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
1
0
0
0
0
0
0
0
0
0
3
6a1f3cf8c1dafc926212c82f34e2ef6f732751e6
15,830
py
Python
tests/test_edgeql_ir_mult_inference.py
Marnixvdb/edgedb
266d1d0eaab52b3907daafa757f2323a5110379d
[ "Apache-2.0" ]
null
null
null
tests/test_edgeql_ir_mult_inference.py
Marnixvdb/edgedb
266d1d0eaab52b3907daafa757f2323a5110379d
[ "Apache-2.0" ]
null
null
null
tests/test_edgeql_ir_mult_inference.py
Marnixvdb/edgedb
266d1d0eaab52b3907daafa757f2323a5110379d
[ "Apache-2.0" ]
null
null
null
# # This source file is part of the EdgeDB open source project. # # Copyright 2020-present MagicStack Inc. and the EdgeDB authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http...
20.478655
75
0.493746
1,776
15,830
4.139077
0.179617
0.081894
0.152088
0.175486
0.596381
0.573119
0.553938
0.542647
0.446742
0.291797
0
0.028259
0.398673
15,830
772
76
20.505181
0.743986
0.55439
0
0.034783
0
0
0.026875
0.003594
0
0
0
0
0.008696
1
0.756522
false
0
0.06087
0
0.834783
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
6a2d66c490587a8edea500ec4b7551e77b3c6250
5,233
py
Python
temboo/core/Library/PostgreSQL/RunCommand.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
7
2016-03-07T02:07:21.000Z
2022-01-21T02:22:41.000Z
temboo/core/Library/PostgreSQL/RunCommand.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
null
null
null
temboo/core/Library/PostgreSQL/RunCommand.py
jordanemedlock/psychtruths
52e09033ade9608bd5143129f8a1bfac22d634dd
[ "Apache-2.0" ]
8
2016-06-14T06:01:11.000Z
2020-04-22T09:21:44.000Z
# -*- coding: utf-8 -*- ############################################################################### # # RunCommand # Executes a SQL command for a Postgres database. # # Python versions 2.6, 2.7, 3.x # # Copyright 2014, Temboo Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not us...
42.544715
265
0.677241
648
5,233
5.391975
0.283951
0.020034
0.027476
0.034345
0.286491
0.104465
0.089582
0.022324
0
0
0
0.004841
0.210587
5,233
122
266
42.893443
0.840959
0.505446
0
0
0
0
0.051683
0.014225
0
0
0
0
0
1
0.390244
false
0.04878
0.121951
0.121951
0.780488
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6a473008fb0cbdb957b46c122f89e350e8170444
2,575
py
Python
edb/common/ordered.py
aaronbrighton/edgedb
4aacd1d4e248ae0d483c075ba93fc462da291ef4
[ "Apache-2.0" ]
7,302
2018-05-10T18:36:31.000Z
2022-03-31T17:49:36.000Z
edb/common/ordered.py
aaronbrighton/edgedb
4aacd1d4e248ae0d483c075ba93fc462da291ef4
[ "Apache-2.0" ]
1,602
2018-05-10T17:45:38.000Z
2022-03-31T23:46:19.000Z
edb/common/ordered.py
aaronbrighton/edgedb
4aacd1d4e248ae0d483c075ba93fc462da291ef4
[ "Apache-2.0" ]
236
2018-05-13T14:15:29.000Z
2022-03-29T19:39:19.000Z
# # This source file is part of the EdgeDB open source project. # # Copyright 2008-present MagicStack Inc. and the EdgeDB authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http...
28.932584
74
0.646602
345
2,575
4.617391
0.388406
0.057125
0.031387
0.056497
0.093534
0.02511
0
0
0
0
0
0.00413
0.247767
2,575
88
75
29.261364
0.818276
0.250097
0
0.081633
0
0
0.019341
0
0
0
0
0
0
1
0.265306
false
0
0.081633
0.102041
0.653061
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
6a475e9b0f9f5a5590393fdaf02e71990e1c55ed
457
py
Python
BlockWorldAgent.py
iamaoxiang/blockworld
e21ccb1d5698b4628daf4ecf6a22bb91a8cce627
[ "MIT" ]
null
null
null
BlockWorldAgent.py
iamaoxiang/blockworld
e21ccb1d5698b4628daf4ecf6a22bb91a8cce627
[ "MIT" ]
null
null
null
BlockWorldAgent.py
iamaoxiang/blockworld
e21ccb1d5698b4628daf4ecf6a22bb91a8cce627
[ "MIT" ]
null
null
null
from State import State class BlockWorldAgent: def __init__(self): pass def solve(self, initial_arrangement, goal_arrangement): #construct state object with initial state numOfBlocks = 0 for ls in initial_arrangement: for e in ls: ...
22.85
74
0.606127
46
457
5.826087
0.543478
0.201493
0.164179
0.246269
0
0
0
0
0
0
0
0.006667
0.343545
457
19
75
24.052632
0.886667
0.089716
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0.090909
0.090909
0
0.454545
0
0
0
0
null
1
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
1
0
0
0
0
0
3
dbfb522429744a97dfe754f634c72c8339d9af38
1,417
py
Python
shared/templates/create_audit_rules_file_deletion_events.py
dhanushkar-wso2/scap-security-guide
e4134011d3274f828a0d2119e1fa24396ef73a1b
[ "BSD-3-Clause" ]
null
null
null
shared/templates/create_audit_rules_file_deletion_events.py
dhanushkar-wso2/scap-security-guide
e4134011d3274f828a0d2119e1fa24396ef73a1b
[ "BSD-3-Clause" ]
null
null
null
shared/templates/create_audit_rules_file_deletion_events.py
dhanushkar-wso2/scap-security-guide
e4134011d3274f828a0d2119e1fa24396ef73a1b
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python2 # # create_audit_rules_file_deletion_events.py # generate template-based checks for file deletion events from template_common import FilesGenerator, UnknownTargetError import re class AuditRulesFileDeletionEventsGenerator(FilesGenerator): def generate(self, target, args): name...
29.520833
75
0.541284
131
1,417
5.496183
0.366412
0.133333
0.2
0.213889
0.468056
0.3125
0.15
0
0
0
0
0.005495
0.357798
1,417
47
76
30.148936
0.785714
0.293578
0
0.153846
1
0
0.259858
0.191102
0
0
0
0
0
1
0.076923
false
0
0.076923
0.038462
0.192308
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e0019af7507256512cf8ca8686e78247b3a9e7fa
1,952
py
Python
tests/pyre.pkg/schemata/inets.py
PyreFramework/pyre
345c7449a3416eea1c1affa74fb32faff30a6aaa
[ "BSD-3-Clause" ]
null
null
null
tests/pyre.pkg/schemata/inets.py
PyreFramework/pyre
345c7449a3416eea1c1affa74fb32faff30a6aaa
[ "BSD-3-Clause" ]
null
null
null
tests/pyre.pkg/schemata/inets.py
PyreFramework/pyre
345c7449a3416eea1c1affa74fb32faff30a6aaa
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # michael a.g. aïvázis # orthologue # (c) 1998-2022 all rights reserved # """ Exercise the internet address parser """ def test(): # get the package parts from pyre.schemata.INet import ( INet as inet, IPv4 as ipv4, Unix as unix) ...
25.684211
67
0.644467
256
1,952
4.878906
0.308594
0.228983
0.163331
0.110488
0.664532
0.664532
0.63731
0.605284
0.605284
0.605284
0
0.052562
0.220287
1,952
75
68
26.026667
0.768068
0.190061
0
0.578947
0
0
0.218006
0.049518
0
0
0
0
0.578947
1
0.026316
false
0
0.026316
0
0.078947
0
0
0
0
null
1
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
1
0
0
0
0
0
0
0
0
0
3
e00f054884874a3b45f77e1a8677baf1aee7cd62
317
py
Python
Documentation/matplotlib/users/tight_layout_guide-12.py
leesavide/pythonista-docs-deprecated
9ec3363f07e328bde0a58738a16907f11dfd06e1
[ "Apache-2.0" ]
16
2016-06-14T19:45:35.000Z
2020-11-30T19:02:58.000Z
Documentation/matplotlib/users/tight_layout_guide-12.py
leesavide/pythonista-docs
9ec3363f07e328bde0a58738a16907f11dfd06e1
[ "Apache-2.0" ]
1
2016-06-15T07:10:27.000Z
2016-06-15T07:10:27.000Z
Documentation/matplotlib/users/tight_layout_guide-12.py
leesavide/pythonista-docs
9ec3363f07e328bde0a58738a16907f11dfd06e1
[ "Apache-2.0" ]
null
null
null
top = min(gs1.top, gs2.top) bottom = max(gs1.bottom, gs2.bottom) gs1.tight_layout(fig, rect=[None, 0 + (bottom-gs1.bottom), 0.5, 1 - (gs1.top-top)]) gs2.tight_layout(fig, rect=[0.5, 0 + (bottom-gs2.bottom), None, 1 - (gs2.top-top)], h_pad=0.5)
39.625
58
0.504732
48
317
3.270833
0.333333
0.038217
0.191083
0.229299
0
0
0
0
0
0
0
0.092166
0.315457
317
8
59
39.625
0.631336
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e00fd4801d67393183eb5f6ee02e03686b279f10
1,958
py
Python
tests/tests_work/test_work_livre.py
jqueuniet/senscritiquescraper
4b8f45487f93459737f926635d7edf1fe0fe7d7a
[ "MIT" ]
null
null
null
tests/tests_work/test_work_livre.py
jqueuniet/senscritiquescraper
4b8f45487f93459737f926635d7edf1fe0fe7d7a
[ "MIT" ]
null
null
null
tests/tests_work/test_work_livre.py
jqueuniet/senscritiquescraper
4b8f45487f93459737f926635d7edf1fe0fe7d7a
[ "MIT" ]
null
null
null
def test_get_work_livre(work_object_livre): details = work_object_livre.get_details() assert isinstance(details, dict) assert len(details) == 16 def test_rating_work_livre(work_object_livre): main_rating = work_object_livre.get_main_rating() assert isinstance(main_rating, str) assert main_rati...
31.079365
88
0.797242
279
1,958
5.100358
0.143369
0.168658
0.252987
0.160225
0.33591
0.101897
0
0
0
0
0
0.01462
0.12666
1,958
62
89
31.580645
0.817544
0
0
0
0
0
0.037283
0
0
0
0
0
0.4
1
0.3
false
0
0
0
0.3
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
e02a1f4e9a56d8ff354686890ac6b1ec84117ed1
275
py
Python
django_telegram/bot/decorators/chat_context.py
cloudblue/django-telegram
a034cbef87cc132834e145d027a3275699fb474a
[ "Apache-2.0" ]
1
2021-07-06T02:30:15.000Z
2021-07-06T02:30:15.000Z
django_telegram/bot/decorators/chat_context.py
cloudblue/django-telegram
a034cbef87cc132834e145d027a3275699fb474a
[ "Apache-2.0" ]
1
2021-04-20T17:58:05.000Z
2021-04-21T10:00:49.000Z
django_telegram/bot/decorators/chat_context.py
cloudblue/django-telegram
a034cbef87cc132834e145d027a3275699fb474a
[ "Apache-2.0" ]
2
2021-12-29T08:45:17.000Z
2021-12-29T08:47:03.000Z
from functools import wraps def chat_context(func): @wraps(func) def check_chat_and_exec(self, update, context): if self.chat_id == update.message.chat.id: res = func(self, update, context) return res return check_chat_and_exec
22.916667
51
0.658182
38
275
4.552632
0.473684
0.104046
0.138728
0.184971
0
0
0
0
0
0
0
0
0.258182
275
11
52
25
0.848039
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.625
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
e0340b7cb03ab28e4e6711c3249240ab8011dd33
1,322
py
Python
rest_auth/app_settings.py
ZachLiuGIS/django-rest-auth
d25df33a7921ca6d4a3d036535528ed9a395cd48
[ "MIT" ]
1
2018-02-26T07:26:30.000Z
2018-02-26T07:26:30.000Z
docker/app/app/backend/apps/_archive/accounts_old/django-rest-auth-master/rest_auth/app_settings.py
JTarball/docker-django-polymer-starter-kit
b5250030b1646e29567c15d01ba4668c6ad535c9
[ "0BSD" ]
null
null
null
docker/app/app/backend/apps/_archive/accounts_old/django-rest-auth-master/rest_auth/app_settings.py
JTarball/docker-django-polymer-starter-kit
b5250030b1646e29567c15d01ba4668c6ad535c9
[ "0BSD" ]
1
2019-11-21T16:17:52.000Z
2019-11-21T16:17:52.000Z
from django.conf import settings from rest_auth.serializers import ( TokenSerializer as DefaultTokenSerializer, UserDetailsSerializer as DefaultUserDetailsSerializer, LoginSerializer as DefaultLoginSerializer, PasswordResetSerializer as DefaultPasswordResetSerializer, PasswordResetConfirmSerializer...
28.73913
76
0.79879
92
1,322
11.25
0.369565
0.094686
0.169082
0.162319
0.11401
0.079227
0
0
0
0
0
0
0.145991
1,322
45
77
29.377778
0.91674
0
0
0.083333
0
0
0.121029
0.096823
0
0
0
0
0
1
0
false
0.333333
0.25
0
0.25
0
0
0
1
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
1
0
0
0
0
0
3
e0553aa8a7f013abdd17f5f3edc5f368085151c5
154
py
Python
task_04.py
emelianovss/ypb-good-develop-01
5350e3e2ce258a641e1dc3afa8cde9b7de4d3139
[ "MIT" ]
null
null
null
task_04.py
emelianovss/ypb-good-develop-01
5350e3e2ce258a641e1dc3afa8cde9b7de4d3139
[ "MIT" ]
null
null
null
task_04.py
emelianovss/ypb-good-develop-01
5350e3e2ce258a641e1dc3afa8cde9b7de4d3139
[ "MIT" ]
null
null
null
class MyClass: def __init__(self, s): self.s = s def function(c: MyClass) -> str: return c.copy().upper() function(MyClass('string'))
14
32
0.603896
21
154
4.238095
0.619048
0.11236
0
0
0
0
0
0
0
0
0
0
0.233766
154
10
33
15.4
0.754237
0
0
0
0
0
0.038961
0
0
0
0
0
0
1
0.333333
false
0
0
0.166667
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
e05abe6395934eabfece24f449fa7a571832452b
245
py
Python
torch_connectomics/model/model_zoo/__init__.py
pragyasingh7/pytorch_connectomics
fdc8e1900b0a38d19ea50f78f8c81da2a4f015a9
[ "MIT" ]
null
null
null
torch_connectomics/model/model_zoo/__init__.py
pragyasingh7/pytorch_connectomics
fdc8e1900b0a38d19ea50f78f8c81da2a4f015a9
[ "MIT" ]
null
null
null
torch_connectomics/model/model_zoo/__init__.py
pragyasingh7/pytorch_connectomics
fdc8e1900b0a38d19ea50f78f8c81da2a4f015a9
[ "MIT" ]
null
null
null
from .unetv0 import unetv0 from .unetv1 import unetv1 from .unetv2 import unetv2 from .unetv3 import unetv3 from .fpn import fpn as fpn from .fpn1_py import fpn1 as fpn_orig __all__ = ['unetv0', 'unetv1', 'unetv2', 'unetv3', 'fpn', 'fpn_orig']
27.222222
69
0.742857
38
245
4.605263
0.315789
0.057143
0
0
0
0
0
0
0
0
0
0.067308
0.15102
245
8
70
30.625
0.774038
0
0
0
0
0
0.142857
0
0
0
0
0
0
1
0
false
0
0.857143
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
e05d471d5cafebe12e8205a88dbe7aebf1d03f31
543
py
Python
rinex/admin.py
marcozecchini/rinex_webservice
f36e7175dcede93d3acefab988fc5916b24e10e6
[ "Apache-2.0" ]
null
null
null
rinex/admin.py
marcozecchini/rinex_webservice
f36e7175dcede93d3acefab988fc5916b24e10e6
[ "Apache-2.0" ]
4
2020-07-01T14:05:43.000Z
2021-09-22T19:27:39.000Z
rinex/admin.py
marcozecchini/rinex_webservice
f36e7175dcede93d3acefab988fc5916b24e10e6
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from django.contrib.auth import get_user_model from django.contrib.auth.admin import UserAdmin from .forms import CustomUserCreationForm, CustomUserChangeForm from .models import CustomUser, RinexMetadata class CustomUserAdmin(UserAdmin): add_form = CustomUserCreationForm form...
30.166667
63
0.808471
57
543
7.631579
0.508772
0.068966
0.117241
0.096552
0
0
0
0
0
0
0
0
0.121547
543
18
64
30.166667
0.91195
0
0
0
0
0
0.023897
0
0
0
0
0
0
1
0
false
0.071429
0.357143
0
0.785714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
e07686ffa4b7e7a1251d49215b2d09b0d5dea5b6
17,273
py
Python
research/domain_adaptation/domain_separation/models.py
Dzinushi/models_1_4
d7e72793a68c1667d403b1542c205d1cd9b1d17c
[ "Apache-2.0" ]
null
null
null
research/domain_adaptation/domain_separation/models.py
Dzinushi/models_1_4
d7e72793a68c1667d403b1542c205d1cd9b1d17c
[ "Apache-2.0" ]
null
null
null
research/domain_adaptation/domain_separation/models.py
Dzinushi/models_1_4
d7e72793a68c1667d403b1542c205d1cd9b1d17c
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 The TensorFlow Authors All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
39.079186
82
0.599954
2,172
17,273
4.615562
0.131676
0.057456
0.039501
0.025536
0.736359
0.728579
0.719701
0.694863
0.657855
0.635611
0
0.035133
0.266717
17,273
441
83
39.1678
0.756356
0.339895
0
0.615741
0
0
0.06413
0.002013
0
0
0
0
0
1
0.041667
false
0
0.009259
0
0.092593
0
0
0
0
null
0
0
0
0
1
1
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
3
0eb2c0a8da4260891067c468e2be8d0e4937e87d
510
py
Python
userbot/modules/lmao.py
deltaonealpha/DerutaHandora
e7d4f567e2968bd154ca96623e52fa2ebdc61439
[ "OML", "Naumen", "Condor-1.1", "MS-PL" ]
2
2020-05-11T08:49:27.000Z
2020-07-06T08:19:18.000Z
userbot/modules/lmao.py
deltaonealpha/DerutaHandora
e7d4f567e2968bd154ca96623e52fa2ebdc61439
[ "OML", "Naumen", "Condor-1.1", "MS-PL" ]
2
2020-05-11T09:00:48.000Z
2020-05-21T10:50:27.000Z
userbot/modules/lmao.py
deltaonealpha/DerutaHandora
e7d4f567e2968bd154ca96623e52fa2ebdc61439
[ "OML", "Naumen", "Condor-1.1", "MS-PL" ]
1
2020-05-11T08:42:34.000Z
2020-05-11T08:42:34.000Z
"""cmd .lol""" from telethon import events import io import urllib.request from telethon.tl.types import DocumentAttributeFilename, MessageMediaPhoto from userbot import bot, CMD_HELP from userbot.events import register @register(outgoing=True, pattern="^.lmao") async def _(aevent): if aevent.fwd_from: r...
34
184
0.570588
101
510
3.287129
0.336634
0.084337
0.081325
0.096386
0.105422
0.105422
0.057229
0.054217
0.054217
0
0
0
0.229412
510
15
184
34
0.732824
0.015686
0
0
0
0.090909
0.331992
0.044266
0
0
0
0
0
1
0
true
0
0.545455
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
0ebcab8c8befede3b52e800de4c225a2edc56ed3
217
py
Python
.venv/lib/python3.8/site-packages/cleo/__init__.py
RivtLib/replit01
ce1ae18b446a9c844f40e88a51c71fbc45ab3ad7
[ "MIT" ]
1
2020-08-07T16:09:57.000Z
2020-08-07T16:09:57.000Z
.venv/lib/python3.8/site-packages/cleo/__init__.py
RivtLib/replit01
ce1ae18b446a9c844f40e88a51c71fbc45ab3ad7
[ "MIT" ]
null
null
null
.venv/lib/python3.8/site-packages/cleo/__init__.py
RivtLib/replit01
ce1ae18b446a9c844f40e88a51c71fbc45ab3ad7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from .application import Application from .commands import Command from .helpers import argument, option from .testers import ApplicationTester, CommandTester __version__ = "0.8.1"
21.7
54
0.732719
25
217
6.2
0.68
0
0
0
0
0
0
0
0
0
0
0.022346
0.175115
217
9
55
24.111111
0.843575
0.096774
0
0
0
0
0.027027
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0edeca87cdb72be835d022560ef344fc974789e1
201
py
Python
useful_layers/layers/ABCLayer.py
jernsting/useful_layers
707246e020722ee992e95151c43425ee59c14aae
[ "MIT" ]
null
null
null
useful_layers/layers/ABCLayer.py
jernsting/useful_layers
707246e020722ee992e95151c43425ee59c14aae
[ "MIT" ]
2
2021-07-13T22:29:53.000Z
2021-08-12T16:57:12.000Z
useful_layers/layers/ABCLayer.py
jernsting/useful_layers
707246e020722ee992e95151c43425ee59c14aae
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod import torch class Layer(ABC, torch.nn.Module): @abstractmethod def forward(self, x: torch.Tensor) -> torch.Tensor: """Perform a forward pass"""
18.272727
55
0.681592
26
201
5.269231
0.653846
0.160584
0
0
0
0
0
0
0
0
0
0
0.20398
201
10
56
20.1
0.85625
0.109453
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
0edf3e9e04ffaff51c82e48d62c28e0148acfef1
358
py
Python
modbus/vmc_unelvent/airflow_get.py
dsacchet/scripting
7b5fd6381be3471d75bdb7bac6e3ba3d1f829573
[ "BSD-3-Clause" ]
null
null
null
modbus/vmc_unelvent/airflow_get.py
dsacchet/scripting
7b5fd6381be3471d75bdb7bac6e3ba3d1f829573
[ "BSD-3-Clause" ]
null
null
null
modbus/vmc_unelvent/airflow_get.py
dsacchet/scripting
7b5fd6381be3471d75bdb7bac6e3ba3d1f829573
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python import minimalmodbus import sys value=['low','boost','bypass'] instrument = minimalmodbus.Instrument('/dev/ttyVMC1',0) instrument.serial.baudrate = 19200 instrument.serial.bytesize = 8 instrument.serial.parity = 'E' instrument.serial.stopbits = 1 result = instrument.read_register(15,0,3,False) pri...
22.375
55
0.76257
46
358
5.913043
0.695652
0.235294
0
0
0
0
0
0
0
0
0
0.04
0.092179
358
15
56
23.866667
0.796923
0.044693
0
0
0
0
0.131965
0
0
0
0
0
0
0
null
null
0.1
0.2
null
null
0.1
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
1
0
0
1
0
0
0
0
0
3
0eecbf88dbc9c79d540fdc9fd35fe59ad3888ee2
4,134
py
Python
v2.5.7/otp/movement/PyVec3.py
TTOFFLINE-LEAK/ttoffline
bb0e91704a755d34983e94288d50288e46b68380
[ "MIT" ]
4
2019-07-01T15:46:43.000Z
2021-07-23T16:26:48.000Z
v2.5.7/otp/movement/PyVec3.py
TTOFFLINE-LEAK/ttoffline
bb0e91704a755d34983e94288d50288e46b68380
[ "MIT" ]
1
2019-06-29T03:40:05.000Z
2021-06-13T01:15:16.000Z
v2.5.7/otp/movement/PyVec3.py
TTOFFLINE-LEAK/ttoffline
bb0e91704a755d34983e94288d50288e46b68380
[ "MIT" ]
4
2019-07-28T21:18:46.000Z
2021-02-25T06:37:25.000Z
from panda3d.core import * import types, math class PyVec3: Epsilon = 0.0001 ScalarTypes = (types.FloatType, types.IntType, types.LongType) def __init__(self, *args): self.assign(*args) def assign(self, *args): if len(args) == 1: arg = args[0] if type(arg) in P...
23.355932
149
0.466618
571
4,134
3.23993
0.14711
0.062162
0.038919
0.027027
0.410811
0.392432
0.340541
0.323243
0.296216
0.277838
0
0.011116
0.390663
4,134
177
150
23.355932
0.723303
0
0
0.235294
0
0
0.003869
0
0
0
0
0
0
1
0.294118
false
0
0.014706
0.161765
0.544118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0ef53fe8c96dd0369b626eb293f2457e53a07895
484
py
Python
etcd3ref/__init__.py
Hochikong/python-etcd3
0b6709d18cbca23cbba457cd93a160a9e1a01834
[ "Apache-2.0" ]
null
null
null
etcd3ref/__init__.py
Hochikong/python-etcd3
0b6709d18cbca23cbba457cd93a160a9e1a01834
[ "Apache-2.0" ]
null
null
null
etcd3ref/__init__.py
Hochikong/python-etcd3
0b6709d18cbca23cbba457cd93a160a9e1a01834
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import import etcd3ref.etcdrpc as etcdrpc from etcd3ref.client import Etcd3Client from etcd3ref.client import Transactions from etcd3ref.client import client from etcd3ref.exceptions import Etcd3Exception from etcd3ref.leases import Lease from etcd3ref.locks import Lock from etcd3ref.me...
22
46
0.758264
54
484
6.62963
0.351852
0.234637
0.150838
0.201117
0
0
0
0
0
0
0
0.029851
0.169421
484
21
47
23.047619
0.860697
0
0
0
0
0
0.134298
0
0
0
0
0
0
1
0
false
0
0.473684
0
0.473684
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0efb3fc67b44cff21a739ed6eebce4472eaada06
1,374
py
Python
src/yellowdog_client/model/work_requirement_summary.py
yellowdog/yellowdog-sdk-python-public
da69a7d6e45c92933e34fefcaef8b5d98dcd6036
[ "Apache-2.0" ]
null
null
null
src/yellowdog_client/model/work_requirement_summary.py
yellowdog/yellowdog-sdk-python-public
da69a7d6e45c92933e34fefcaef8b5d98dcd6036
[ "Apache-2.0" ]
null
null
null
src/yellowdog_client/model/work_requirement_summary.py
yellowdog/yellowdog-sdk-python-public
da69a7d6e45c92933e34fefcaef8b5d98dcd6036
[ "Apache-2.0" ]
null
null
null
from dataclasses import dataclass from datetime import datetime from typing import Optional from .identified import Identified from .tagged import Tagged from .work_requirement_status import WorkRequirementStatus @dataclass class WorkRequirementSummary(Identified, Tagged): """Provides a summary of a WorkRequirem...
44.322581
122
0.737263
177
1,374
5.711864
0.468927
0.118694
0.124629
0.035608
0.110781
0.061325
0
0
0
0
0
0.002686
0.187045
1,374
30
123
45.8
0.902417
0.074236
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.944444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
160f7d8f42cce584ec132bb5b92f6e23198b69b6
1,847
py
Python
sandbox/lib/jumpscale/JumpScale9/data/email/Email.py
Jumpscale/sandbox_linux
2aacd36b467ef30ac83718abfa82c6883b67a02f
[ "Apache-2.0" ]
null
null
null
sandbox/lib/jumpscale/JumpScale9/data/email/Email.py
Jumpscale/sandbox_linux
2aacd36b467ef30ac83718abfa82c6883b67a02f
[ "Apache-2.0" ]
1
2018-04-04T12:13:40.000Z
2018-05-03T07:57:52.000Z
sandbox/lib/jumpscale/JumpScale9/data/email/Email.py
Jumpscale/sandbox_linux
2aacd36b467ef30ac83718abfa82c6883b67a02f
[ "Apache-2.0" ]
null
null
null
import json from js9 import j from .Message import Message import JumpScale9.data.email.Sender as Sender from .utils import get_msg_path, get_json_msg JSBASE = j.application.jsbase_get_class() class EmailTool(JSBASE): def __init__(self): self.__jslocation__ = "j.tools.email" JSBASE.__init__(self) ...
26.385714
93
0.581483
242
1,847
4.31405
0.400826
0.022989
0.020115
0.019157
0
0
0
0
0
0
0
0.010836
0.300487
1,847
69
94
26.768116
0.797214
0.309691
0
0
0
0
0.053908
0
0
0
0
0
0
1
0.25
false
0.071429
0.178571
0.035714
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
161d03102dee9dc16d8f60f4191cd694cd82dd1d
201
py
Python
libs/cxx/setup.py
gregbugaj/TextGenerator
d92431bdce31914a108417f7b00ed80b8f994298
[ "MIT" ]
166
2019-10-08T09:26:42.000Z
2022-03-29T22:27:30.000Z
libs/cxx/setup.py
gregbugaj/TextGenerator
d92431bdce31914a108417f7b00ed80b8f994298
[ "MIT" ]
17
2019-12-18T02:07:13.000Z
2022-03-04T06:40:54.000Z
libs/cxx/setup.py
gregbugaj/TextGenerator
d92431bdce31914a108417f7b00ed80b8f994298
[ "MIT" ]
47
2019-11-24T08:04:20.000Z
2022-03-23T00:43:33.000Z
from distutils.core import setup import numpy as np from Cython.Build import cythonize numpy_include = np.get_include() setup(ext_modules=cythonize("select_by_kp.pyx"), include_dirs=[numpy_include])
25.125
78
0.81592
31
201
5.064516
0.645161
0.152866
0
0
0
0
0
0
0
0
0
0
0.094527
201
7
79
28.714286
0.862637
0
0
0
0
0
0.079602
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
161e3c9a9b9c3a94af7195e28768602a4176c3a2
3,788
py
Python
views/sliceview/slicerootitem.py
dongniu/cadnano2
6805fe2af856c59b06373c0ee0142ad6bc286262
[ "Unlicense" ]
17
2015-02-07T03:46:49.000Z
2021-09-25T09:23:41.000Z
views/sliceview/slicerootitem.py
scholer/cadnano2
0b8bba1ab3277ac9859ef78615890d351561784c
[ "Unlicense" ]
2
2017-08-22T03:17:16.000Z
2021-07-03T14:42:41.000Z
views/sliceview/slicerootitem.py
scholer/cadnano2
0b8bba1ab3277ac9859ef78615890d351561784c
[ "Unlicense" ]
9
2015-09-06T22:41:38.000Z
2022-03-27T13:57:37.000Z
# The MIT License # # Copyright (c) 2011 Wyss Institute at Harvard University # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # ...
35.074074
79
0.702746
430
3,788
6.139535
0.45814
0.022727
0.023864
0.018182
0.048485
0.048485
0.048485
0.048485
0
0
0
0.002028
0.218849
3,788
107
80
35.401869
0.890166
0.478617
0
0.175
0
0
0.02451
0
0
0
0
0
0
1
0.275
false
0.075
0.175
0.025
0.525
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
163dac95aff1d2251377938ac9a5afe454f74206
178
py
Python
run-tests.py
douglaslassance/python-gitmodel
730e62104d900d6c3450db5d4c2fa6dcfa0da03a
[ "BSD-3-Clause" ]
14
2015-01-10T18:23:17.000Z
2018-10-13T02:07:38.000Z
run-tests.py
douglaslassance/python-gitmodel
730e62104d900d6c3450db5d4c2fa6dcfa0da03a
[ "BSD-3-Clause" ]
null
null
null
run-tests.py
douglaslassance/python-gitmodel
730e62104d900d6c3450db5d4c2fa6dcfa0da03a
[ "BSD-3-Clause" ]
3
2015-01-08T15:40:37.000Z
2021-11-29T21:08:53.000Z
#!/usr/bin/env python import sys import os sys.path.insert(0, os.path.abspath(os.path.dirname(__file__))) from gitmodel.test import main if __name__ == '__main__': main()
16.181818
62
0.719101
28
178
4.142857
0.678571
0.103448
0
0
0
0
0
0
0
0
0
0.006494
0.134831
178
10
63
17.8
0.746753
0.11236
0
0
0
0
0.050955
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
1659a408b228002fbaf7e3cfa6e57cdd58006776
2,416
py
Python
atest/testdata/keywords/type_conversion/AnnotationsWithTyping.py
phil-davis/robotframework
4d4ce686cbe01e293bb86ea6ff34330e8c45fc43
[ "ECL-2.0", "Apache-2.0" ]
9
2020-04-22T08:30:52.000Z
2020-12-07T08:25:09.000Z
atest/testdata/keywords/type_conversion/AnnotationsWithTyping.py
phil-davis/robotframework
4d4ce686cbe01e293bb86ea6ff34330e8c45fc43
[ "ECL-2.0", "Apache-2.0" ]
63
2020-03-04T17:31:39.000Z
2022-03-01T09:12:16.000Z
atest/testdata/keywords/type_conversion/AnnotationsWithTyping.py
phil-davis/robotframework
4d4ce686cbe01e293bb86ea6ff34330e8c45fc43
[ "ECL-2.0", "Apache-2.0" ]
4
2016-02-29T15:42:22.000Z
2018-05-08T08:58:18.000Z
from typing import (List, Sequence, MutableSequence, Dict, Mapping, MutableMapping, Set, MutableSet) def list_(argument: List, expected=None): _validate_type(argument, expected) def list_with_params(argument: List[int], expected=None): _validate_type(argument, expecte...
27.146067
84
0.730546
276
2,416
6.108696
0.134058
0.156584
0.237248
0.332147
0.628707
0.628707
0.628707
0.628707
0.383749
0.080664
0
0
0.165149
2,416
88
85
27.454545
0.835895
0
0
0.395833
0
0
0.012831
0
0
0
0
0
0.020833
1
0.416667
false
0
0.020833
0
0.4375
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
16691199a01170180995cadb3289d430c858967a
736
py
Python
booking/migrations/0006_auto_20210721_1541.py
screw-pack/hazel
ade9b6c6a396b3da2bb2d5505cfb63e1579cdab8
[ "MIT" ]
null
null
null
booking/migrations/0006_auto_20210721_1541.py
screw-pack/hazel
ade9b6c6a396b3da2bb2d5505cfb63e1579cdab8
[ "MIT" ]
null
null
null
booking/migrations/0006_auto_20210721_1541.py
screw-pack/hazel
ade9b6c6a396b3da2bb2d5505cfb63e1579cdab8
[ "MIT" ]
null
null
null
# Generated by Django 3.2.4 on 2021-07-21 13:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('booking', '0005_auto_20210720_1456'), ] operations = [ migrations.AddConstraint( model_name='booking', constraint=mo...
28.307692
96
0.610054
69
736
6.376812
0.536232
0.156818
0.190909
0.218182
0
0
0
0
0
0
0
0.056777
0.258152
736
25
97
29.44
0.749084
0.061141
0
0.315789
1
0
0.146589
0.033382
0
0
0
0
0
1
0
false
0
0.052632
0
0.210526
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
166de65b595678449d7b66abc2b71aa3d36c6ed7
444
py
Python
tests/gen.py
MDBijman/language
f09e6506ea453d945239d0ff849b03ceb365038a
[ "MIT" ]
2
2021-09-28T13:04:37.000Z
2022-02-16T12:06:02.000Z
tests/gen.py
MDBijman/language
f09e6506ea453d945239d0ff849b03ceb365038a
[ "MIT" ]
2
2019-03-29T21:39:21.000Z
2019-03-29T21:40:35.000Z
tests/gen.py
MDBijman/gale
31323610f36a1591dae6337a0b7dfe9683ed3dc0
[ "MIT" ]
null
null
null
from pathlib import Path Path("tests/benchmarks/").mkdir(exist_ok=True) many_vars = open("tests/benchmarks/many_vars.gale", "w") many_vars.write("mod many_vars;\n") many_vars.write("main: [str] -> ui64\n") many_vars.write("main s = {\n") many_vars.write("\tlet v0: ui64 = 1;\n") n = 40 for i in range(1, n): many_...
22.2
58
0.657658
83
444
3.373494
0.409639
0.314286
0.325
0.3
0.296429
0.114286
0
0
0
0
0
0.035897
0.121622
444
19
59
23.368421
0.682051
0
0
0
0
0
0.371622
0.06982
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
166e52fce14e0fde01488dee65a0999dd355997d
492
py
Python
validation/rules/regex.py
moveaxlab/validation-py
c435b5b470bedde953a6f6a6363b8a268a20c926
[ "MIT" ]
1
2019-03-20T14:25:41.000Z
2019-03-20T14:25:41.000Z
validation/rules/regex.py
moveaxlab/validation-py
c435b5b470bedde953a6f6a6363b8a268a20c926
[ "MIT" ]
null
null
null
validation/rules/regex.py
moveaxlab/validation-py
c435b5b470bedde953a6f6a6363b8a268a20c926
[ "MIT" ]
null
null
null
""" Regex """ import re from .rule import Rule from ..constants import rules from ..types import StringType class RegexRule(Rule): required_params = 1 supported_types = (StringType,) @staticmethod def name() -> str: return rules.REGEX def _abides_by_the_rule(self, value) -> bool: ...
21.391304
51
0.664634
65
492
4.907692
0.569231
0.056426
0
0
0
0
0
0
0
0
0
0.005333
0.237805
492
22
52
22.363636
0.845333
0.085366
0
0
0
0
0
0
0
0
0
0
0
1
0.214286
false
0
0.285714
0.142857
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
16772adcc86b2404038f01266c8c8b55448d568b
253
py
Python
src/napari_basicpy/_tests/test_sample_data.py
tdmorello/napari-basicpy
70e1a16f1401a5c7636ce7a995b79a93bef179d0
[ "BSD-3-Clause" ]
2
2022-01-16T09:18:49.000Z
2022-01-20T03:05:34.000Z
src/napari_basicpy/_tests/test_sample_data.py
tdmorello/napari-basicpy
70e1a16f1401a5c7636ce7a995b79a93bef179d0
[ "BSD-3-Clause" ]
3
2022-01-18T13:42:33.000Z
2022-01-18T13:44:38.000Z
src/napari_basicpy/_tests/test_sample_data.py
tdmorello/napari-basicpy
70e1a16f1401a5c7636ce7a995b79a93bef179d0
[ "BSD-3-Clause" ]
1
2022-01-16T09:19:14.000Z
2022-01-16T09:19:14.000Z
def test_data(make_napari_viewer): viewer = make_napari_viewer() n = len(viewer.layers) viewer.open_sample("napari-basicpy", "sample_data") assert len(viewer.layers) == (n + 1) # NOTE # assert viewer.layers[0].dtype == np.uint8
28.111111
55
0.667984
35
253
4.628571
0.542857
0.222222
0.197531
0
0
0
0
0
0
0
0
0.014634
0.189723
253
8
56
31.625
0.77561
0.181818
0
0
0
0
0.122549
0
0
0
0
0
0.2
1
0.2
false
0
0
0
0.2
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
167770e72136cddec079c3241b440f79fa587799
464
py
Python
tests/adventofcode/year_2015/test_day_03_2015.py
Frazzer951/Advent-Of-Code
419a6b7915a529fd49215639db79dcf5bde9cab7
[ "MIT" ]
null
null
null
tests/adventofcode/year_2015/test_day_03_2015.py
Frazzer951/Advent-Of-Code
419a6b7915a529fd49215639db79dcf5bde9cab7
[ "MIT" ]
2
2022-02-02T15:59:34.000Z
2022-02-02T15:59:44.000Z
tests/adventofcode/year_2015/test_day_03_2015.py
Frazzer951/Advent-Of-Code
419a6b7915a529fd49215639db79dcf5bde9cab7
[ "MIT" ]
null
null
null
import pytest from adventofcode.year_2015.day_03_2015 import part_one from adventofcode.year_2015.day_03_2015 import part_two @pytest.mark.parametrize(["line", "expected"], [(">", 2), ("^>v<", 4), ("^v^v^v^v^v", 2)]) def test_part_one(line, expected): assert expected == part_one([line]) @pytest.mark.parametrize...
33.142857
92
0.659483
73
464
4
0.315068
0.054795
0.061644
0.054795
0.760274
0.294521
0.294521
0.294521
0.294521
0
0
0.065534
0.112069
464
13
93
35.692308
0.643204
0
0
0
0
0
0.118534
0
0
0
0
0
0.222222
1
0.222222
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
1
0
0
1
0
1
0
0
3
167fff26dc62e42c5675cc7920b41918f9d16c51
3,037
py
Python
lib/exabgp/bgp/message/update/nlri/nlri.py
bopopescu/exabgpsec
f7f4b97626422ef2c997c359e96c60e7b51291ae
[ "BSD-3-Clause" ]
2
2018-02-07T14:49:11.000Z
2021-09-08T15:31:51.000Z
lib/exabgp/bgp/message/update/nlri/nlri.py
nembery/exabgp
53cfff843ddde33bf1c437a1c4ce99de20c6bade
[ "BSD-3-Clause" ]
null
null
null
lib/exabgp/bgp/message/update/nlri/nlri.py
nembery/exabgp
53cfff843ddde33bf1c437a1c4ce99de20c6bade
[ "BSD-3-Clause" ]
1
2020-07-23T16:53:39.000Z
2020-07-23T16:53:39.000Z
# encoding: utf-8 """ nlri.py Created by Thomas Mangin on 2012-07-08. Copyright (c) 2009-2017 Exa Networks. All rights reserved. License: 3-clause BSD. (See the COPYRIGHT file) """ from exabgp.protocol.family import AFI from exabgp.protocol.family import SAFI from exabgp.protocol.family import Family from exabgp.bgp....
27.36036
80
0.703326
457
3,037
4.54267
0.339168
0.034682
0.043353
0.054913
0.249037
0.205684
0.180636
0.164258
0.11079
0.11079
0
0.009936
0.171551
3,037
110
81
27.609091
0.815183
0.182417
0
0.086957
0
0
0.069692
0
0
0
0
0
0
1
0.26087
false
0
0.101449
0.15942
0.652174
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
16c3876affeeeb32176176cad25b4be16cfe586c
37,815
py
Python
src/KAOSBank_scripts.py
KnowsCount/money-and-honour
bd706ca9cdbd1f5c0786a9ecdeb40ca8046b9087
[ "MIT" ]
1
2021-01-17T06:21:36.000Z
2021-01-17T06:21:36.000Z
src/KAOSBank_scripts.py
KnowsCount/money-and-honour
bd706ca9cdbd1f5c0786a9ecdeb40ca8046b9087
[ "MIT" ]
2
2021-01-17T12:57:37.000Z
2021-02-08T02:16:45.000Z
src/KAOSBank_scripts.py
KnowsCount/money-and-honour
bd706ca9cdbd1f5c0786a9ecdeb40ca8046b9087
[ "MIT" ]
null
null
null
# Banking (2.0) by Lazeras # Released 1 December 2011 from header_common import * from header_operations import * from module_constants import * from module_constants import * from header_parties import * from header_skills import * from header_mission_templates import * from header_items import * from header...
43.919861
184
0.59598
4,363
37,815
4.729085
0.084575
0.073087
0.043765
0.037561
0.782387
0.746668
0.714583
0.693404
0.671206
0.654486
0
0.019295
0.188655
37,815
861
185
43.919861
0.653206
0.141082
0
0.696875
0
0.009375
0.402301
0.218375
0
0
0.001983
0
0
1
0.001563
false
0
0.023438
0
0.025
0
0
0
0
null
0
0
0
0
1
1
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
3
16c3b577d22832fecaaa04337e379d3c4247da6f
712
py
Python
model-optimizer/mo/front/tf/register_custom_ops.py
monroid/openvino
8272b3857ef5be0aaa8abbf7bd0d5d5615dc40b6
[ "Apache-2.0" ]
2,406
2020-04-22T15:47:54.000Z
2022-03-31T10:27:37.000Z
model-optimizer/mo/front/tf/register_custom_ops.py
thomas-yanxin/openvino
031e998a15ec738c64cc2379d7f30fb73087c272
[ "Apache-2.0" ]
4,948
2020-04-22T15:12:39.000Z
2022-03-31T18:45:42.000Z
model-optimizer/mo/front/tf/register_custom_ops.py
thomas-yanxin/openvino
031e998a15ec738c64cc2379d7f30fb73087c272
[ "Apache-2.0" ]
991
2020-04-23T18:21:09.000Z
2022-03-31T18:40:57.000Z
# Copyright (C) 2018-2021 Intel Corporation # SPDX-License-Identifier: Apache-2.0 from mo.front.common.replacement import FrontReplacementOp, FrontReplacementPattern, FrontReplacementSubgraph from mo.front.extractor import FrontExtractorOp from mo.front.tf.replacement import FrontReplacementFromConfigFileSubGraph, Fro...
47.466667
111
0.816011
52
712
11.096154
0.596154
0.031196
0.057192
0
0
0
0
0
0
0
0
0.016234
0.134831
712
14
112
50.857143
0.920455
0.108146
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
16daa25d94ce46f5943c77d40e2f76efc8b5eca3
3,921
py
Python
{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/customadmin/templatetags/admin_extras.py
tsantor/cookiecutter-django
6aa4b4f2accb8ecb969189e0f54f8e490dbc262b
[ "BSD-3-Clause" ]
null
null
null
{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/customadmin/templatetags/admin_extras.py
tsantor/cookiecutter-django
6aa4b4f2accb8ecb969189e0f54f8e490dbc262b
[ "BSD-3-Clause" ]
26
2021-02-01T08:37:50.000Z
2022-02-22T20:59:39.000Z
{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/customadmin/templatetags/admin_extras.py
tsantor/cookiecutter-django
6aa4b4f2accb8ecb969189e0f54f8e490dbc262b
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from django import template from django.contrib.auth.models import Group register = template.Library() # ----------------------------------------------------------------------------- # Inclusion Tags # ----------------------------------------------------------------------------- @register.i...
31.878049
84
0.659016
474
3,921
5.274262
0.21097
0.0952
0.112
0.1736
0.5592
0.5164
0.3904
0.3176
0.2956
0.1924
0
0.000889
0.138995
3,921
122
85
32.139344
0.739633
0.338179
0
0.16
0
0
0.332006
0.257564
0
0
0
0
0
1
0.28
false
0
0.04
0.04
0.6
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
bc44a56d1ee83f42d40d6f3ed86fa5fbca231a40
284
py
Python
python/easy/generate-a-string-with-chars.py
anidever/leetcode
fd8ac6d9c5e80d03ea6a5e4988502dcffff0ddc7
[ "WTFPL" ]
null
null
null
python/easy/generate-a-string-with-chars.py
anidever/leetcode
fd8ac6d9c5e80d03ea6a5e4988502dcffff0ddc7
[ "WTFPL" ]
null
null
null
python/easy/generate-a-string-with-chars.py
anidever/leetcode
fd8ac6d9c5e80d03ea6a5e4988502dcffff0ddc7
[ "WTFPL" ]
1
2020-12-20T00:52:26.000Z
2020-12-20T00:52:26.000Z
# question can be found on leetcode.com/generate-a-string-with-characters-that-have-odd-counts/ class Solution: def generateTheString(self, n: int) -> str: if n // 2 == 1: return "a" * (n - 2) + "b" + "c" else: return "a" * (n - 2) + "b"
28.4
95
0.53169
40
284
3.775
0.775
0.039735
0.10596
0.119205
0.13245
0
0
0
0
0
0
0.020202
0.302817
284
9
96
31.555556
0.742424
0.327465
0
0
1
0
0.026455
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
bc51b104ade66f4765a00e7f4c8d13852f73e358
417
py
Python
examples/functions.py
Defite/python-base
ef5eeb7098513a4016397f3f527562fe0ae50071
[ "MIT" ]
null
null
null
examples/functions.py
Defite/python-base
ef5eeb7098513a4016397f3f527562fe0ae50071
[ "MIT" ]
null
null
null
examples/functions.py
Defite/python-base
ef5eeb7098513a4016397f3f527562fe0ae50071
[ "MIT" ]
null
null
null
#! /usr/bin/env python def say_name(): """ Asks for name and print it """ name = input("Name: ") print(name) # say_name() def add(num1=1, num2=2): return num1 + num2 # sum = add() # print("Sum is {0}".format(sum)) def madlibs(name, noun="sneakers", adjective="red"): return "{0} has ...
14.892857
58
0.582734
60
417
4.016667
0.55
0.058091
0
0
0
0
0
0
0
0
0
0.030675
0.218225
417
27
59
15.444444
0.708589
0.247002
0
0
0
0
0.152542
0
0
0
0
0
0
1
0.333333
false
0
0
0.222222
0.555556
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
bc5904973b30f2ce4e61f06597d79e452e441878
13,049
py
Python
utils/annotation/lib/query.py
VV123/NLIDB
56d9050f3ce85b58a0648487db83f398a0681b10
[ "MIT" ]
12
2018-11-26T09:38:27.000Z
2021-09-14T13:01:50.000Z
utils/annotation/lib/query.py
VV123/NLIDB
56d9050f3ce85b58a0648487db83f398a0681b10
[ "MIT" ]
1
2019-05-13T18:36:49.000Z
2019-05-14T03:35:13.000Z
utils/annotation/lib/query.py
VV123/NLIDB
56d9050f3ce85b58a0648487db83f398a0681b10
[ "MIT" ]
4
2018-11-26T09:39:44.000Z
2020-03-02T05:36:55.000Z
# -*- coding: utf-8 -*- from lib.common import detokenize from collections import defaultdict from copy import deepcopy import re import numpy as np import sys re_whitespace = re.compile(r'\s+', flags=re.UNICODE) class Query: agg_ops = ['', 'MAX', 'MIN', 'COUNT', 'SUM', 'AVG'] cond_ops = ['equal', 'greater'...
41.958199
279
0.542034
1,620
13,049
4.216667
0.109877
0.038062
0.022837
0.02635
0.763139
0.739862
0.728151
0.683794
0.665788
0.647636
0
0.002546
0.307763
13,049
310
280
42.093548
0.753681
0.028125
0
0.655039
0
0
0.099542
0
0.01938
0
0
0
0
1
0.077519
false
0
0.023256
0.01938
0.209302
0.011628
0
0
0
null
0
0
0
0
1
1
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
3
bc5bcd733f21d5ebcdeee958ade87d21a409ea1a
2,567
py
Python
src/castile/builtins.py
catseye/Castile
9a6bd7c604aeb9b91311fabcccf9da257df5c511
[ "BSD-3-Clause" ]
1
2021-02-05T17:00:03.000Z
2021-02-05T17:00:03.000Z
src/castile/builtins.py
catseye/Castile
9a6bd7c604aeb9b91311fabcccf9da257df5c511
[ "BSD-3-Clause" ]
null
null
null
src/castile/builtins.py
catseye/Castile
9a6bd7c604aeb9b91311fabcccf9da257df5c511
[ "BSD-3-Clause" ]
null
null
null
import sys from castile.types import Function, String, Integer, Void, Union class TaggedValue(object): def __init__(self, tag, value): self.tag = tag self.value = value def __repr__(self): return '(%r, %r)' % (self.tag, self.value) def builtin_len(s): return len(s) def builti...
25.415842
78
0.638099
340
2,567
4.726471
0.3
0.068451
0.065339
0.04107
0.168015
0.149347
0.118233
0.118233
0.059739
0.059739
0
0.003008
0.222828
2,567
100
79
25.67
0.802506
0.285547
0
0.039216
0
0
0.044886
0
0
0
0
0
0
1
0.254902
false
0
0.039216
0.137255
0.568627
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
bc67c93f2ebbc89892b365d38ec6758838fff60b
382
py
Python
lec2.py
seanstanaway/IA241-github
ce69c99d02e52919d6bca947769901ed596e73f5
[ "MIT" ]
null
null
null
lec2.py
seanstanaway/IA241-github
ce69c99d02e52919d6bca947769901ed596e73f5
[ "MIT" ]
null
null
null
lec2.py
seanstanaway/IA241-github
ce69c99d02e52919d6bca947769901ed596e73f5
[ "MIT" ]
null
null
null
""" this is a regional comment """ #print('hello world') # this is a line comment #print( type(123) ) #print ( type (123.) ) #print( type('123') ) #print( "hello world" ) #print( 'hello world' ) #print ( "Tom's cat" ) #print(2.**3) my_int = 123 print(my_int) my_int = 321 print(my_int) my_float = 123. my_st...
11.235294
46
0.620419
62
382
3.693548
0.370968
0.174672
0.196507
0.222707
0.179039
0.179039
0.179039
0
0
0
0
0.068182
0.193717
382
34
47
11.235294
0.675325
0.541885
0
0.25
0
0
0.06875
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
bc8d72f32bbf7ad8a906570a6f1b19c08c99db94
4,090
py
Python
tests/test_limitmatrix.py
cznewt/pyanp
2b90363ba3f9d60aef1e4f74c6cda9f5fda83561
[ "MIT" ]
17
2019-01-03T08:11:40.000Z
2021-12-27T03:19:26.000Z
tests/test_limitmatrix.py
ArdalanMarandi/pyanp
731fa2c6090e274843f854081610599a2001e00a
[ "MIT" ]
57
2018-03-31T13:18:39.000Z
2020-12-28T19:37:33.000Z
tests/test_limitmatrix.py
ArdalanMarandi/pyanp
731fa2c6090e274843f854081610599a2001e00a
[ "MIT" ]
14
2018-03-17T18:31:36.000Z
2022-03-11T16:52:38.000Z
import unittest import numpy as np import pyanp.limitmatrix as lm class MyTestCase(unittest.TestCase): def test_calculus(self): mat = np.array([ [0.3, 0.2, 0.4], [0.1, 0.5, 0.5], [0.6, 0.3, 0.1] ]) result = lm.calculus(mat) expected = np.array([[ ...
32.72
127
0.428606
523
4,090
3.271511
0.114723
0.045587
0.033314
0.02104
0.75453
0.722385
0.686733
0.680888
0.638223
0.575687
0
0.200898
0.401222
4,090
124
128
32.983871
0.497754
0.016381
0
0.633929
0
0
0.00199
0
0
0
0
0
0.098214
1
0.0625
false
0
0.026786
0
0.098214
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
1
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
3
bcbe497b9f14b0829c001a5e51aa8029e522df87
601
py
Python
Config-Scripts/service.autoexec/resources/kodi-defence.py
joy-it/MultimediaCase-for-Raspberry-Pi
909522521b2d53175b8460d9ef5bb1a51cfaec44
[ "MIT" ]
9
2020-12-29T22:17:13.000Z
2021-12-14T09:12:47.000Z
Config-Scripts/service.autoexec/resources/kodi-defence.py
joy-it/MultimediaCase-for-Raspberry-Pi
909522521b2d53175b8460d9ef5bb1a51cfaec44
[ "MIT" ]
null
null
null
Config-Scripts/service.autoexec/resources/kodi-defence.py
joy-it/MultimediaCase-for-Raspberry-Pi
909522521b2d53175b8460d9ef5bb1a51cfaec44
[ "MIT" ]
2
2021-12-07T15:55:35.000Z
2022-03-21T11:43:43.000Z
import os import time while True: if os.path.exists("/storage/.kodi/addons/service.autoexec/resources/start-defence_de.txt") == True: time.sleep(10) os.system("rm /storage/.kodi/userdata/guisettings.xml && touch /storage/.kodi/userdata/guisettings.xml") os.system("cp /storage/.kodi/addons/s...
46.230769
126
0.69218
80
601
5.175
0.4375
0.15942
0.123188
0.173913
0.584541
0.504831
0.405797
0
0
0
0
0.005837
0.144759
601
12
127
50.083333
0.799611
0
0
0
0
0.181818
0.529118
0.447587
0
0
0
0
0
1
0
true
0
0.181818
0
0.181818
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
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
bcbf0758d9be5e1d47d5215d7887c6272cfa30b3
1,638
py
Python
test/x/test_image_classification.py
Ishticode/kornia
974abb43ec72d12dbd244a2fb247bbbab8498de0
[ "ECL-2.0", "Apache-2.0" ]
418
2018-10-02T22:31:36.000Z
2019-01-16T14:15:45.000Z
test/x/test_image_classification.py
Ishticode/kornia
974abb43ec72d12dbd244a2fb247bbbab8498de0
[ "ECL-2.0", "Apache-2.0" ]
94
2019-01-17T22:10:45.000Z
2019-05-22T23:47:58.000Z
test/x/test_image_classification.py
Ishticode/kornia
974abb43ec72d12dbd244a2fb247bbbab8498de0
[ "ECL-2.0", "Apache-2.0" ]
25
2018-10-02T22:50:04.000Z
2019-01-13T18:14:11.000Z
import pytest import torch import torch.nn as nn from torch.utils.data import Dataset from kornia.contrib import ClassificationHead, VisionTransformer from kornia.x import Configuration, ImageClassifierTrainer class DummyDatasetClassification(Dataset): def __len__(self): return 10 def __getitem__(se...
26.852459
120
0.742979
171
1,638
7.02924
0.356725
0.064892
0.079867
0.123128
0.254576
0.254576
0.242928
0.144759
0
0
0
0.010241
0.165446
1,638
60
121
27.3
0.869056
0
0
0.146341
0
0
0.003053
0
0
0
0
0
0
1
0.243902
false
0
0.146341
0.146341
0.634146
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
bcbfe303f19aa2c51df7a17b07f30609d5495bcd
802
py
Python
admin-portal/queues/admin.py
oakbani/ksdp-portal
8f44b3cb0081a7f31b9c8121883dd51945a05520
[ "MIT" ]
null
null
null
admin-portal/queues/admin.py
oakbani/ksdp-portal
8f44b3cb0081a7f31b9c8121883dd51945a05520
[ "MIT" ]
null
null
null
admin-portal/queues/admin.py
oakbani/ksdp-portal
8f44b3cb0081a7f31b9c8121883dd51945a05520
[ "MIT" ]
1
2021-09-19T10:58:17.000Z
2021-09-19T10:58:17.000Z
from django.contrib import admin # Register your models here. from .models import WaitingListOT, WaitingListPT, WaitingListST, MasterList class WaitingListOTAdmin(admin.ModelAdmin): list_display = ["client", "date", "status"] list_editable = ["status"] pass admin.site.register(WaitingListOT, WaitingLi...
20.564103
75
0.744389
79
802
7.493671
0.341772
0.101351
0.128378
0.175676
0.435811
0.390203
0.390203
0.319257
0.319257
0.319257
0
0
0.140898
802
38
76
21.105263
0.859216
0.032419
0
0.421053
0
0
0.090439
0
0
0
0
0
0
1
0
false
0.210526
0.105263
0
0.578947
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
1
0
0
1
0
0
3
bcd4988782ded74db9c65e10f6ee8e48eead0881
53
py
Python
pawan/lib/python3.6/hashlib.py
pawannn29/projectdjango
a2c269b99676109a9a28f1ff3bc26b3d7779056c
[ "bzip2-1.0.6" ]
null
null
null
pawan/lib/python3.6/hashlib.py
pawannn29/projectdjango
a2c269b99676109a9a28f1ff3bc26b3d7779056c
[ "bzip2-1.0.6" ]
null
null
null
pawan/lib/python3.6/hashlib.py
pawannn29/projectdjango
a2c269b99676109a9a28f1ff3bc26b3d7779056c
[ "bzip2-1.0.6" ]
null
null
null
/Users/NikhilArora/anaconda3/lib/python3.6/hashlib.py
53
53
0.849057
8
53
5.625
1
0
0
0
0
0
0
0
0
0
0
0.056604
0
53
1
53
53
0.792453
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
bcd5c31e3f6a1804e3e472886f461701bd201398
897
py
Python
ENV/lib/python3.6/site-packages/pyramid/config/zca.py
captain-c00keys/pyramid-stocks
0acf3363a6a7ee61cd41b855f43c9d6f9582ae6a
[ "MIT" ]
null
null
null
ENV/lib/python3.6/site-packages/pyramid/config/zca.py
captain-c00keys/pyramid-stocks
0acf3363a6a7ee61cd41b855f43c9d6f9582ae6a
[ "MIT" ]
null
null
null
ENV/lib/python3.6/site-packages/pyramid/config/zca.py
captain-c00keys/pyramid-stocks
0acf3363a6a7ee61cd41b855f43c9d6f9582ae6a
[ "MIT" ]
null
null
null
from pyramid.threadlocal import get_current_registry class ZCAConfiguratorMixin(object): def hook_zca(self): """ Call :func:`zope.component.getSiteManager.sethook` with the argument :data:`pyramid.threadlocal.get_current_registry`, causing the :term:`Zope Component Architecture` 'global' AP...
42.714286
74
0.704571
101
897
6.168317
0.475248
0.146067
0.109149
0.149278
0.298555
0.298555
0.134831
0
0
0
0
0
0.19621
897
20
75
44.85
0.864078
0.539576
0
0.25
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.375
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
bce3f63d5e9941d613b18e3a7bf1b7acb8145ef3
629
py
Python
belfast/rdf/rdfns.py
ecds/belfast-group-site
d3856110e6864768732a0b4f504767585c24d4b0
[ "Apache-2.0" ]
3
2017-05-20T02:25:03.000Z
2021-10-03T08:34:06.000Z
belfast/rdf/rdfns.py
emory-libraries-ecds/belfast-group-site
d3856110e6864768732a0b4f504767585c24d4b0
[ "Apache-2.0" ]
null
null
null
belfast/rdf/rdfns.py
emory-libraries-ecds/belfast-group-site
d3856110e6864768732a0b4f504767585c24d4b0
[ "Apache-2.0" ]
null
null
null
import rdflib # rdf namespaces ARCH = rdflib.Namespace('http://purl.org/archival/vocab/arch#') SCHEMA_ORG = rdflib.Namespace('http://schema.org/') DC = rdflib.Namespace('http://purl.org/dc/terms/') DCMITYPE = rdflib.Namespace('http://purl.org/dc/dcmitype/') BIBO = rdflib.Namespace('http://purl.org/ontology/bibo/') GEO...
39.3125
95
0.747218
90
629
5.177778
0.522222
0.225322
0.285408
0.197425
0.23176
0.120172
0
0
0
0
0
0.039587
0.076312
629
15
96
41.933333
0.762478
0.165342
0
0
0
0
0.53167
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bce739290c460d0aff5289f568f626febb08c934
181
py
Python
Leetcode/0214. Shortest Palindrome/0214.py
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/0214. Shortest Palindrome/0214.py
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/0214. Shortest Palindrome/0214.py
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
class Solution: def shortestPalindrome(self, s: str) -> str: t = s[::-1] for i in range(len(t)): if s.startswith(t[i:]): return t[:i] + s return t + s
18.1
46
0.524862
29
181
3.275862
0.586207
0.042105
0
0
0
0
0
0
0
0
0
0.007937
0.303867
181
9
47
20.111111
0.746032
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
bcf347436026e7f8c4c901b6ff75edc597095d52
48
py
Python
ldap_peoples/version.py
fx74/django-ldap-academia-ou-manager
c5bffa963e389f970e1a8e257fe107ebbc201b54
[ "BSD-2-Clause" ]
16
2019-01-13T10:37:20.000Z
2021-11-25T09:51:19.000Z
ldap_peoples/version.py
fx74/django-ldap-academia-ou-manager
c5bffa963e389f970e1a8e257fe107ebbc201b54
[ "BSD-2-Clause" ]
1
2019-04-02T14:26:35.000Z
2019-04-02T14:26:35.000Z
ldap_peoples/version.py
fx74/django-ldap-academia-ou-manager
c5bffa963e389f970e1a8e257fe107ebbc201b54
[ "BSD-2-Clause" ]
4
2019-01-17T14:50:33.000Z
2020-12-03T11:47:05.000Z
__version__ = '0.6.dev0' VERSION = __version__
12
24
0.729167
6
48
4.5
0.666667
0
0
0
0
0
0
0
0
0
0
0.073171
0.145833
48
3
25
16
0.585366
0
0
0
0
0
0.166667
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3