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
18e1ed9a3e5623ed8c4a6d773664de5e6b8a52a6
191
py
Python
8_Quadratic_Equation/solution.py
resultakak/python-testdom-solutions
971f0ff6eb57fbc4658e2c18251b386bc28a654c
[ "MIT" ]
2
2022-02-09T10:39:57.000Z
2022-02-09T10:40:04.000Z
8_Quadratic_Equation/solution.py
resultakak/python-testdom-solutions
971f0ff6eb57fbc4658e2c18251b386bc28a654c
[ "MIT" ]
null
null
null
8_Quadratic_Equation/solution.py
resultakak/python-testdom-solutions
971f0ff6eb57fbc4658e2c18251b386bc28a654c
[ "MIT" ]
1
2022-02-09T10:45:41.000Z
2022-02-09T10:45:41.000Z
from math import sqrt def find_roots(a, b, c): discriminant = b**2 - 4*a*c return ( (-b + sqrt(discriminant))/(2*a), (-b - sqrt(discriminant))/(2*a) ) print(find_roots(2, 10, 8))
19.1
79
0.596859
33
191
3.393939
0.515152
0.160714
0.303571
0.321429
0.339286
0
0
0
0
0
0
0.051948
0.193717
191
9
80
21.222222
0.675325
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0.2
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
18e278c9b4c7d735fbae69b3f339039a0d77926a
266
py
Python
src/accounts/views.py
TheNavis/back-end
22f0e5d2ec5c745207ae1b1b05457fa4e25dc3a3
[ "MIT" ]
null
null
null
src/accounts/views.py
TheNavis/back-end
22f0e5d2ec5c745207ae1b1b05457fa4e25dc3a3
[ "MIT" ]
3
2020-06-05T18:29:58.000Z
2021-06-10T20:34:13.000Z
src/accounts/views.py
TheNavis/back-end
22f0e5d2ec5c745207ae1b1b05457fa4e25dc3a3
[ "MIT" ]
null
null
null
from django.shortcuts import render from rest_framework import viewsets from .models import Account from .serializers import AccountSerializer class AccountView(viewsets.ModelViewSet): queryset = Account.objects.all() serializer_class = AccountSerializer
24.181818
42
0.819549
29
266
7.448276
0.655172
0
0
0
0
0
0
0
0
0
0
0
0.131579
266
10
43
26.6
0.935065
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.571429
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
18e87851663202a46e9f29ce085be9b5a0b47fc3
11,475
py
Python
onnx/backend/test/case/node/gridsample.py
justinchuby/onnx
805ae1e634697e37b43701e585c9c253a29ce076
[ "Apache-2.0" ]
1
2022-03-04T03:29:37.000Z
2022-03-04T03:29:37.000Z
onnx/backend/test/case/node/gridsample.py
justinchuby/onnx
805ae1e634697e37b43701e585c9c253a29ce076
[ "Apache-2.0" ]
null
null
null
onnx/backend/test/case/node/gridsample.py
justinchuby/onnx
805ae1e634697e37b43701e585c9c253a29ce076
[ "Apache-2.0" ]
1
2022-03-27T19:17:02.000Z
2022-03-27T19:17:02.000Z
# SPDX-License-Identifier: Apache-2.0 import numpy as np # type: ignore import onnx from ..base import Base from . import expect class GridSample(Base): @staticmethod def export_gridsample() -> None: node = onnx.helper.make_node( 'GridSample', inputs=['X', 'Grid'], ...
30.6
86
0.329935
1,100
11,475
3.354545
0.113636
0.04336
0.035772
0.082927
0.597019
0.555827
0.549322
0.517073
0.498374
0.488618
0
0.205768
0.528627
11,475
374
87
30.681818
0.476428
0.079303
0
0.326667
0
0
0.042722
0.020778
0
0
0
0
0
1
0.01
false
0
0.013333
0
0.026667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
1
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
18fe5be66c738ee8dacb3b50e67553f121f3a8c5
241
py
Python
utils/__init__.py
dywlavender/multi-label-classification
ec8567169b3f1b08c7dafeb71f007275621a5a95
[ "MIT" ]
17
2019-10-16T04:39:27.000Z
2022-01-24T03:21:58.000Z
utils/__init__.py
dywlavender/multi-label-classification
ec8567169b3f1b08c7dafeb71f007275621a5a95
[ "MIT" ]
null
null
null
utils/__init__.py
dywlavender/multi-label-classification
ec8567169b3f1b08c7dafeb71f007275621a5a95
[ "MIT" ]
5
2020-03-04T09:08:02.000Z
2021-07-20T02:28:57.000Z
# -*- coding: utf-8 -*- """ File __init__.py @author: ZhengYuwei 功能: generate_txt:用于根据图片及图片名字(以'_'分割,最后为车牌号),生成标签文件; check_label_file.py:校验标签文件中,图片路径所指的图片是否存在、可读、且不为空; draw_tools.py: 绘制混淆图 logger_callback.py:训练logger的回调类; """
24.1
54
0.709544
32
241
5.03125
0.875
0
0
0
0
0
0
0
0
0
0
0.004785
0.13278
241
10
55
24.1
0.76555
0.962656
0
null
1
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
7a061f5a74e68ad614151965ac06c6a321163a2d
24,525
py
Python
test/rpc/test_base.py
aescay/dbt
f6f0f5ce1eab5b124a58119a3003d0d198247ecd
[ "Apache-2.0" ]
1
2021-09-01T20:50:52.000Z
2021-09-01T20:50:52.000Z
test/rpc/test_base.py
JasonGluck/dbt
7a07017b96ac332c872725343833a94b49129c68
[ "Apache-2.0" ]
null
null
null
test/rpc/test_base.py
JasonGluck/dbt
7a07017b96ac332c872725343833a94b49129c68
[ "Apache-2.0" ]
null
null
null
# flake8: disable=redefined-outer-name from datetime import datetime, timedelta import time import yaml from .util import ( ProjectDefinition, get_querier, ) def test_rpc_basics( project_root, profiles_root, postgres_profile, unique_schema ): project = ProjectDefinition( models={'my_model.sql': 's...
30.92686
131
0.629276
2,975
24,525
4.934454
0.102857
0.08767
0.058856
0.060831
0.753065
0.730586
0.714033
0.675136
0.646253
0.604905
0
0.009603
0.256922
24,525
792
132
30.965909
0.795928
0.034414
0
0.560317
0
0
0.174586
0.016655
0
0
0
0
0.153968
1
0.034921
false
0.009524
0.006349
0
0.047619
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
7a0a08862c25b84101914829c72273724f1e5f14
192
py
Python
examples/redis/tools/redis_watch.py
kingge/streamparse
da5fc42e81b2ed268c7a6fb94448844eec031064
[ "Apache-2.0" ]
1
2015-06-08T23:05:04.000Z
2015-06-08T23:05:04.000Z
examples/redis/tools/redis_watch.py
kingge/streamparse
da5fc42e81b2ed268c7a6fb94448844eec031064
[ "Apache-2.0" ]
1
2020-06-25T07:11:18.000Z
2020-06-25T07:11:18.000Z
examples/redis/tools/redis_watch.py
kingge/streamparse
da5fc42e81b2ed268c7a6fb94448844eec031064
[ "Apache-2.0" ]
null
null
null
from redis import StrictRedis import sys from pprint import pprint r = StrictRedis() pprint(r.zrevrange("words", 0, -1, withscores=True), indent=4, width=40) sys.stdout.flush()
19.2
52
0.697917
27
192
4.962963
0.703704
0.104478
0
0
0
0
0
0
0
0
0
0.031847
0.182292
192
9
53
21.333333
0.821656
0
0
0
0
0
0.026042
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7a0b1692a26fad8a8db0ecc9f27aff9e3aef08fe
97
py
Python
app/executable/__init__.py
aroranipun04/CloudCV-Old
c17f5be8a221532c77d413b6afc6bd0be5e4f788
[ "MIT" ]
11
2016-02-29T21:12:58.000Z
2016-07-06T22:29:22.000Z
app/executable/__init__.py
aroranipun04/CloudCV-Old
c17f5be8a221532c77d413b6afc6bd0be5e4f788
[ "MIT" ]
9
2016-03-04T15:51:34.000Z
2016-05-29T10:28:02.000Z
app/executable/__init__.py
aroranipun04/CloudCV-Old
c17f5be8a221532c77d413b6afc6bd0be5e4f788
[ "MIT" ]
16
2016-02-23T03:22:02.000Z
2016-07-09T18:46:34.000Z
__author__ = 'dexter' # Path Hack import sys import os sys.path.insert(0, os.path.abspath('..'))
16.166667
41
0.701031
15
97
4.266667
0.666667
0
0
0
0
0
0
0
0
0
0
0.011765
0.123711
97
5
42
19.4
0.741176
0.092784
0
0
0
0
0.093023
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7a11286617ceac6208bf6e1c6cb3a00edfa9d447
489
py
Python
fah_xchem/data/__init__.py
choderalab/fah-xchem
779eeaa9c3cee0e143e5adcc13b54edc41af2b80
[ "MIT" ]
3
2020-10-20T00:42:10.000Z
2021-01-26T23:55:06.000Z
fah_xchem/data/__init__.py
choderalab/fah-xchem
779eeaa9c3cee0e143e5adcc13b54edc41af2b80
[ "MIT" ]
108
2020-09-09T20:55:37.000Z
2022-03-04T06:11:26.000Z
fah_xchem/data/__init__.py
choderalab/fah-xchem
779eeaa9c3cee0e143e5adcc13b54edc41af2b80
[ "MIT" ]
3
2020-12-23T21:58:19.000Z
2021-08-21T19:39:27.000Z
from os.path import dirname, join import json import bz2 from ..schema import TimestampedAnalysis def get_compound_series_analysis_results(): module_path = dirname(__file__) compound_series_analysis_file = join(module_path, "results/minimal-neq-sprint/minimal-neq-sprint-stereofilter-P0033-dimer-neutral-rest...
28.764706
164
0.781186
66
489
5.530303
0.545455
0.115068
0.180822
0.142466
0
0
0
0
0
0
0
0.016393
0.126789
489
16
165
30.5625
0.838407
0
0
0
0
0.1
0.221311
0.219262
0
0
0
0
0
1
0.1
false
0
0.4
0
0.6
0.1
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
7a195a968776826c2cdf17c5c3171beba0b83430
252
py
Python
Data_Types.py
linocondor/Basic_Python_Data_Types
ac9482ff8dacc828f96cc91ecf032204b288eb1b
[ "MIT" ]
null
null
null
Data_Types.py
linocondor/Basic_Python_Data_Types
ac9482ff8dacc828f96cc91ecf032204b288eb1b
[ "MIT" ]
null
null
null
Data_Types.py
linocondor/Basic_Python_Data_Types
ac9482ff8dacc828f96cc91ecf032204b288eb1b
[ "MIT" ]
null
null
null
#Basic Data Types #String print("Hello"[0]) #Subscript print("Hello"[4]) #Subscript print("123" + "456") #Integer print(123 + 456) print(123_456_789) #Read as a number but easy to understando to humans #float 3.1451 #Boolean True False
9.333333
71
0.68254
39
252
4.358974
0.717949
0.141176
0.194118
0
0
0
0
0
0
0
0
0.136585
0.186508
252
26
72
9.692308
0.692683
0.43254
0
0
0
0
0.121212
0
0
0
0
0
0
1
0
true
0
0
0
0
0.625
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
e13fbb25b0cdc43d29025fa7d5e4d6f619c8f947
11,363
py
Python
tezos/python-tests/tools/constants.py
adonagy/tezedge
36a4b593cc6c60c599474f35a6ed3ff7b6a7c85f
[ "MIT" ]
46
2019-11-12T23:40:22.000Z
2021-04-13T23:55:58.000Z
tezos/python-tests/tools/constants.py
adonagy/tezedge
36a4b593cc6c60c599474f35a6ed3ff7b6a7c85f
[ "MIT" ]
92
2019-11-15T13:01:50.000Z
2021-04-09T02:02:53.000Z
tezos/python-tests/tools/constants.py
adonagy/tezedge
36a4b593cc6c60c599474f35a6ed3ff7b6a7c85f
[ "MIT" ]
39
2019-11-08T17:03:03.000Z
2021-04-06T15:42:29.000Z
import json import os.path from tools import paths def get_parameters(folder: str) -> dict: """Takes a protocol folder ('proto_alpha', 'proto_005_PsBabyM1'...) and retrieve json test parameters for that protocol. Assertion failure if parameters can't be found.""" params_file = ( f'{paths.TEZ...
44.913043
100
0.707032
1,238
11,363
6.439418
0.478191
0.009659
0.008781
0.006774
0.016558
0.007777
0
0
0
0
0
0.144248
0.177594
11,363
252
101
45.09127
0.708828
0.042594
0
0.088785
0
0.154206
0.813632
0.586122
0
1
0.001232
0
0.004673
1
0.004673
false
0
0.014019
0
0.023364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
3
e1462a4758390fd8a5490735cf01e9a8c29a10b7
481
py
Python
osdu_commons/utils/validators.py
binderjoe/sdu-commons
7c6b609aced4beb166754c589db7dfc22239a7df
[ "Apache-2.0" ]
null
null
null
osdu_commons/utils/validators.py
binderjoe/sdu-commons
7c6b609aced4beb166754c589db7dfc22239a7df
[ "Apache-2.0" ]
null
null
null
osdu_commons/utils/validators.py
binderjoe/sdu-commons
7c6b609aced4beb166754c589db7dfc22239a7df
[ "Apache-2.0" ]
null
null
null
import attr @attr.s(repr=False, slots=True, hash=True) class _ListOfValidator: validator = attr.ib() def __call__(self, inst, attr, value): if not isinstance(value, list): raise TypeError(f'List expected, got {value.__class__}') for item in value: self.validator(inst,...
22.904762
68
0.656965
61
481
4.918033
0.508197
0.16
0.1
0
0
0
0
0
0
0
0
0
0.234927
481
20
69
24.05
0.815217
0
0
0
0
0
0.155925
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0.153846
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e151b1462344b29c14691b814403eea4a09e6cc3
234
py
Python
conftest.py
cheginit/pygeohydro
01a4adba0291b4a7dd69dded7ee17d7250e0f989
[ "MIT" ]
12
2021-03-06T10:05:32.000Z
2022-03-01T23:27:24.000Z
conftest.py
cheginit/pygeohydro
01a4adba0291b4a7dd69dded7ee17d7250e0f989
[ "MIT" ]
50
2021-03-05T20:19:03.000Z
2022-03-21T13:12:14.000Z
conftest.py
cheginit/pygeohydro
01a4adba0291b4a7dd69dded7ee17d7250e0f989
[ "MIT" ]
2
2021-04-19T16:34:18.000Z
2021-06-18T18:56:33.000Z
"""Configuration for pytest.""" import pytest @pytest.fixture(autouse=True) def add_standard_imports(doctest_namespace): """Add pygeohydro namespace for doctest.""" import pygeohydro as gh doctest_namespace["gh"] = gh
19.5
47
0.730769
28
234
5.964286
0.571429
0.191617
0
0
0
0
0
0
0
0
0
0
0.153846
234
11
48
21.272727
0.843434
0.269231
0
0
0
0
0.0125
0
0
0
0
0
0
1
0.2
false
0
0.6
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
e156ba67051a02e56570ba5504ba020311ffbbe3
88
py
Python
test/integration/IfStringToIntEnd/if string to int end.py
HighSchoolHacking/GLS-Draft
9e418b6290e7c8e3f2da87668784bdba1cde5a76
[ "MIT" ]
30
2019-10-29T12:47:50.000Z
2022-02-12T06:41:39.000Z
test/integration/IfStringToIntEnd/if string to int end.py
HighSchoolHacking/GLS-Draft
9e418b6290e7c8e3f2da87668784bdba1cde5a76
[ "MIT" ]
247
2017-09-21T17:11:18.000Z
2019-10-08T12:59:07.000Z
test/integration/IfStringToIntEnd/if string to int end.py
HighSchoolHacking/GLS-Draft
9e418b6290e7c8e3f2da87668784bdba1cde5a76
[ "MIT" ]
17
2017-10-01T16:53:20.000Z
2018-11-28T07:20:35.000Z
# bbb = None try: bbb = int(aaa) except: pass if bbb is not None: # ... #
7.333333
19
0.488636
13
88
3.307692
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.363636
88
11
20
8
0.767857
0.034091
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0.166667
0
null
null
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
1
0
0
1
0
0
0
0
0
3
e15f705fe17fe04ec1c618dc8667864380ad08c7
375
py
Python
colorapi/colorapi/models.py
hectorip/DjangoRestAPI
178f4550a00af63b5524dca7d8a9e120e2f110a0
[ "Apache-2.0" ]
null
null
null
colorapi/colorapi/models.py
hectorip/DjangoRestAPI
178f4550a00af63b5524dca7d8a9e120e2f110a0
[ "Apache-2.0" ]
null
null
null
colorapi/colorapi/models.py
hectorip/DjangoRestAPI
178f4550a00af63b5524dca7d8a9e120e2f110a0
[ "Apache-2.0" ]
null
null
null
from django.db import models class Color(models.Model): name = models.CharField(blank=False, unique=True, max_length=40) hexadecimal = models.CharField(max_length=7, unique=True) red = models.PositiveSmallIntegerField() green = models.PositiveSmallIntegerField() blue = models.PositiveSmallIntegerF...
31.25
68
0.736
42
375
6.428571
0.642857
0.344444
0
0
0
0
0
0
0
0
0
0.009585
0.165333
375
12
69
31.25
0.853035
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0.111111
1
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
e168b02c218a0c0efeec98b7c32f35dd684044dc
288
py
Python
src/django_analytics_app/models.py
kajohny/blockchain_analytics_tool
28e9304189f1ca34511504e77a0f33d8adf3325c
[ "MIT" ]
null
null
null
src/django_analytics_app/models.py
kajohny/blockchain_analytics_tool
28e9304189f1ca34511504e77a0f33d8adf3325c
[ "MIT" ]
null
null
null
src/django_analytics_app/models.py
kajohny/blockchain_analytics_tool
28e9304189f1ca34511504e77a0f33d8adf3325c
[ "MIT" ]
null
null
null
from django.db import models class Address(models.Model): address_name = models.CharField(max_length=100, null=False, blank=False, unique=True) address_balance = models.IntegerField() def __str__(self): return f'{self.address_name} - {self.address_balance}'
32
90
0.711806
37
288
5.297297
0.675676
0.112245
0
0
0
0
0
0
0
0
0
0.012658
0.177083
288
8
91
36
0.814346
0
0
0
0
0
0.157143
0.078571
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
e16da46f31913f0c6b264c9b5f38c66ed77a3441
154
py
Python
emojis.py
mirakelsvampen/eventplanner-bot
68e666d8e4696cf3ed9b6b2577d70f1023603865
[ "Apache-2.0" ]
null
null
null
emojis.py
mirakelsvampen/eventplanner-bot
68e666d8e4696cf3ed9b6b2577d70f1023603865
[ "Apache-2.0" ]
null
null
null
emojis.py
mirakelsvampen/eventplanner-bot
68e666d8e4696cf3ed9b6b2577d70f1023603865
[ "Apache-2.0" ]
null
null
null
numbers = { 0: "0⃣", 1: "1⃣", 2: "2⃣", 3: "3⃣", 4: "4⃣", 5: "5⃣", 6: "6⃣", 7: "7⃣", 8: "8⃣", 9: "9⃣", 10:"🔟" }
11.846154
12
0.188312
33
154
1.212121
0.424242
0
0
0
0
0
0
0
0
0
0
0.255814
0.441558
154
13
13
11.846154
0.081395
0
0
0
0
0
0.135484
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
1
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
0
0
0
0
0
0
0
3
e1882bb8873cd8b16dc3263d1574bf6fcbfe54ae
138
py
Python
backend/parser.py
giliam/turbo-songwriter
3d100b08dc19c60d7a1324120e06bd9f971eea5a
[ "MIT" ]
null
null
null
backend/parser.py
giliam/turbo-songwriter
3d100b08dc19c60d7a1324120e06bd9f971eea5a
[ "MIT" ]
12
2017-09-25T20:13:29.000Z
2020-02-12T00:12:41.000Z
backend/parser.py
giliam/turbo-songwriter
3d100b08dc19c60d7a1324120e06bd9f971eea5a
[ "MIT" ]
null
null
null
from songwriter.parser import Parser parser = Parser("../data/file/word/document.xml") parser.parse() parser.save_songs() parser.compile()
27.6
49
0.775362
19
138
5.578947
0.684211
0.226415
0
0
0
0
0
0
0
0
0
0
0.065217
138
5
50
27.6
0.821705
0
0
0
0
0
0.215827
0.215827
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e18973954a81417d45c100019c47d844cf25b763
73
py
Python
ManyBeautiful/ManyBeautifulMall/apps/contents/urls.py
17605272633/ManyBeautifulMall
e99f080cb624459b175d6158e0d296373ceabe79
[ "MIT" ]
1
2018-10-27T06:12:42.000Z
2018-10-27T06:12:42.000Z
ManyBeautiful/ManyBeautifulMall/apps/contents/urls.py
17605272633/ManyBeautifulMall
e99f080cb624459b175d6158e0d296373ceabe79
[ "MIT" ]
null
null
null
ManyBeautiful/ManyBeautifulMall/apps/contents/urls.py
17605272633/ManyBeautifulMall
e99f080cb624459b175d6158e0d296373ceabe79
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns = [ ]
10.428571
32
0.726027
10
73
5.3
0.8
0
0
0
0
0
0
0
0
0
0
0
0.191781
73
7
33
10.428571
0.898305
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e18976ecccd25d859723736cf2585a941450327a
324
py
Python
tutorials/W2D1_BayesianStatistics/solutions/W2D1_Tutorial4_Solution_1a8512fe.py
liuxiaomiao123/NeuroMathAcademy
16a7969604a300bf9fbb86f8a5b26050ebd14c65
[ "CC-BY-4.0" ]
2
2020-07-03T04:39:09.000Z
2020-07-12T02:08:31.000Z
tutorials/W2D1_BayesianStatistics/solutions/W2D1_Tutorial4_Solution_1a8512fe.py
NinaHKivanani/course-content
3c91dd1a669cebce892486ba4f8086b1ef2e1e49
[ "CC-BY-4.0" ]
1
2020-06-22T22:57:03.000Z
2020-06-22T22:57:03.000Z
tutorials/W2D1_BayesianStatistics/solutions/W2D1_Tutorial4_Solution_1a8512fe.py
NinaHKivanani/course-content
3c91dd1a669cebce892486ba4f8086b1ef2e1e49
[ "CC-BY-4.0" ]
1
2021-03-29T21:08:26.000Z
2021-03-29T21:08:26.000Z
input_matrix = np.zeros_like(posterior_matrix) for i in np.arange(x.shape[0]): input_matrix[:, i] = my_gaussian(hypothetical_stim, -2.5, 1) input_matrix[:, i] = input_matrix[:, i] / np.sum(input_matrix[:, i]) with plt.xkcd(): plot_mymatrix(input_matrix, 'x', 'x_tilde', 'Sample Input Matrix: p(x_tilde | x = -2....
36
91
0.682099
55
324
3.781818
0.527273
0.370192
0.230769
0
0
0
0
0
0
0
0
0.021277
0.12963
324
9
91
36
0.716312
0
0
0
0
0
0.154321
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
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
e1914e8caddc4c2ab157dce1f739d7d9982fb3c9
5,132
py
Python
ambuild2/frontend/v2_0/cpp/vendors.py
Wend4r/ambuild
cbf415104b1e7ac6baaf614cda517a5a2e827a42
[ "BSD-3-Clause" ]
null
null
null
ambuild2/frontend/v2_0/cpp/vendors.py
Wend4r/ambuild
cbf415104b1e7ac6baaf614cda517a5a2e827a42
[ "BSD-3-Clause" ]
null
null
null
ambuild2/frontend/v2_0/cpp/vendors.py
Wend4r/ambuild
cbf415104b1e7ac6baaf614cda517a5a2e827a42
[ "BSD-3-Clause" ]
null
null
null
# vim: set ts=8 sts=2 sw=2 tw=99 et: # # This file is part of AMBuild. # # AMBuild is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # ...
35.150685
84
0.644583
603
5,132
5.371476
0.305141
0.034579
0.047237
0.038901
0.301328
0.267675
0.165792
0.128743
0.111763
0.111763
0
0.005598
0.234217
5,132
145
85
35.393103
0.818575
0.196999
0
0.326316
0
0
0.046143
0
0
0
0
0
0
1
0.273684
false
0
0.031579
0.168421
0.610526
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
e1be369d3597c4f83556ddd8e4dbf7b9a86d7092
7,660
py
Python
nand_io/crc.py
Noltari/nand-io
23442ed57950360cd4104d77959bd3001170b333
[ "MIT" ]
null
null
null
nand_io/crc.py
Noltari/nand-io
23442ed57950360cd4104d77959bd3001170b333
[ "MIT" ]
null
null
null
nand_io/crc.py
Noltari/nand-io
23442ed57950360cd4104d77959bd3001170b333
[ "MIT" ]
null
null
null
# SPDX-License-Identifier: MIT """CRC.""" CRC16_START = 0xA281 CRC16_TABLE = [ 0x0000, 0xC0C1, 0xC181, 0x0140, 0xC301, 0x03C0, 0x0280, 0xC241, 0xC601, 0x06C0, 0x0780, 0xC741, 0x0500, 0xC5C1, 0xC481, 0x0440, 0xCC01, 0x0CC0, 0x0D80, 0xCD41, ...
14.158965
64
0.569321
577
7,660
7.533795
0.923744
0.007361
0.005061
0.006901
0.025305
0.025305
0.025305
0.025305
0.025305
0
0
0.516956
0.353264
7,660
540
65
14.185185
0.360517
0.008616
0
0.015094
0
0
0
0
0
0
0.543679
0
0
1
0.003774
false
0
0
0
0.007547
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
1
0
0
0
0
0
0
0
0
0
0
0
3
beccf4e6eb3eb42ec7bd91fb78a05a84a63f6785
2,157
py
Python
ilastikrag/accumulators/base/base_edge_accumulator.py
ilastik/ilastikrag
e6cd157b25eaffed5283c48471f7b58a0e4889d7
[ "BSD-3-Clause" ]
null
null
null
ilastikrag/accumulators/base/base_edge_accumulator.py
ilastik/ilastikrag
e6cd157b25eaffed5283c48471f7b58a0e4889d7
[ "BSD-3-Clause" ]
6
2017-10-21T00:03:33.000Z
2021-12-21T17:30:17.000Z
ilastikrag/accumulators/base/base_edge_accumulator.py
ilastik/ilastikrag
e6cd157b25eaffed5283c48471f7b58a0e4889d7
[ "BSD-3-Clause" ]
null
null
null
class BaseEdgeAccumulator(object): """ Base class for all edge accumulators, i.e. accumulators that compute features from the edge values between superpixels (not superpixel contents). """ #: Accumulator type ACCUMULATOR_TYPE = 'edge' #: An id string for this accumulator. #: Must n...
29.148649
96
0.59388
240
2,157
5.208333
0.445833
0.04
0.0648
0.0288
0
0
0
0
0
0
0
0.000687
0.324988
2,157
73
97
29.547945
0.85783
0.555401
0
0.222222
0
0
0.006024
0
0
0
0
0
0
1
0.388889
false
0.055556
0
0.055556
0.611111
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
beeab0fdc87ea34e5a0afe4fa1f60a1ea0b7d0c5
151
py
Python
Problem8/lib.py
kkoukakis/ProjectEuler
9ab3fc85eb5958e97ab3e315e3777a39af9a12c4
[ "MIT" ]
null
null
null
Problem8/lib.py
kkoukakis/ProjectEuler
9ab3fc85eb5958e97ab3e315e3777a39af9a12c4
[ "MIT" ]
null
null
null
Problem8/lib.py
kkoukakis/ProjectEuler
9ab3fc85eb5958e97ab3e315e3777a39af9a12c4
[ "MIT" ]
null
null
null
def num2array(number): length = len(str(number)) array = [int((number % pow(10,x)) / pow(10,x-1)) for x in range(length,0,-1)] return array
37.75
81
0.615894
26
151
3.576923
0.653846
0.107527
0.129032
0
0
0
0
0
0
0
0
0.065574
0.192053
151
4
82
37.75
0.696721
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
beeb386c9cf699466eb0310f15dec9ee7381ed29
312
py
Python
drive/documents/urls.py
amirasaad/drive
6c8692884d16544b2713071cb652458af1af95c7
[ "MIT" ]
null
null
null
drive/documents/urls.py
amirasaad/drive
6c8692884d16544b2713071cb652458af1af95c7
[ "MIT" ]
null
null
null
drive/documents/urls.py
amirasaad/drive
6c8692884d16544b2713071cb652458af1af95c7
[ "MIT" ]
null
null
null
from rest_framework.routers import DefaultRouter from drive.documents.viewsets import MetadataViewSet, DocumentViewSet documents_router = DefaultRouter() documents_router.register(r'metadata', MetadataViewSet, basename='metadata') documents_router.register(r'documents', DocumentViewSet, basename='document')
34.666667
77
0.846154
32
312
8.125
0.53125
0.173077
0.176923
0.184615
0
0
0
0
0
0
0
0
0.067308
312
8
78
39
0.893471
0
0
0
0
0
0.105769
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
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
1
0
0
0
0
3
beff05314d1e3c5a9727d5b5ee05dfd2269017b3
31,837
py
Python
bert/sentiment_modeling.py
huminghao16/SpanABSA
66369af840599df2a886d4ad1db1ceec53c0649f
[ "Apache-2.0" ]
111
2019-06-17T11:10:41.000Z
2022-03-23T02:34:27.000Z
bert/sentiment_modeling.py
snath99920/SpanABSA
66369af840599df2a886d4ad1db1ceec53c0649f
[ "Apache-2.0" ]
13
2019-07-10T04:46:08.000Z
2021-10-29T23:33:38.000Z
bert/sentiment_modeling.py
snath99920/SpanABSA
66369af840599df2a886d4ad1db1ceec53c0649f
[ "Apache-2.0" ]
19
2019-08-12T09:22:12.000Z
2021-10-04T12:24:14.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function import torch import torch.nn as nn from torch.nn import CrossEntropyLoss from bert.modeling import BertModel, BERTLayerNorm from allennlp.modules import ConditionalRandomField def flatten(x): if...
50.534921
131
0.641738
4,038
31,837
4.778356
0.06315
0.035035
0.02099
0.018658
0.776263
0.734491
0.702773
0.650117
0.637989
0.622182
0
0.010566
0.268713
31,837
629
132
50.615262
0.818186
0.118541
0
0.599576
0
0
0.004491
0
0
0
0
0.004769
0.029661
1
0.069915
false
0
0.016949
0
0.173729
0.002119
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
830bdbcfb41c10404cf104a423242303f95a3958
816
py
Python
elvis/units.py
dailab/elvis
9b808d0777b014ee0c2d79e4b9a2390bea4841e6
[ "MIT" ]
5
2021-08-23T13:37:35.000Z
2022-02-28T02:29:49.000Z
elvis/units.py
dailab/elvis
9b808d0777b014ee0c2d79e4b9a2390bea4841e6
[ "MIT" ]
2
2021-05-18T15:57:48.000Z
2022-02-24T03:37:13.000Z
elvis/units.py
dailab/elvis
9b808d0777b014ee0c2d79e4b9a2390bea4841e6
[ "MIT" ]
1
2022-02-28T02:29:20.000Z
2022-02-28T02:29:20.000Z
class Power: """Unit for electrical power.""" def __init__(self, watts): self.watts = watts @property def kilowatts(self): return self.watts / 1000.0 class Current: """Unit for electrical current.""" def __init__(self, amps): self.amps = amps @property def m...
19.428571
42
0.607843
99
816
4.767677
0.242424
0.059322
0.144068
0
0
0
0
0
0
0
0
0.017007
0.279412
816
41
43
19.902439
0.785714
0.136029
0
0.083333
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0
0.208333
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
8327508b111f798e5568e68c9105381c9eed27c7
326
py
Python
dynaconf/vendor/ruamel/yaml/anchor.py
sephiartlist/dynaconf
9c5f60b289c1f0fa3f899f1962a8fe5712c74eab
[ "MIT" ]
2,293
2015-08-14T22:39:31.000Z
2022-03-31T12:44:49.000Z
dynaconf/vendor/ruamel/yaml/anchor.py
sephiartlist/dynaconf
9c5f60b289c1f0fa3f899f1962a8fe5712c74eab
[ "MIT" ]
676
2015-08-20T19:29:56.000Z
2022-03-31T13:45:51.000Z
dynaconf/vendor/ruamel/yaml/anchor.py
sephiartlist/dynaconf
9c5f60b289c1f0fa3f899f1962a8fe5712c74eab
[ "MIT" ]
255
2015-12-02T21:16:33.000Z
2022-03-20T22:03:46.000Z
_A=False if _A:from typing import Any,Dict,Optional,List,Union,Optional,Iterator anchor_attrib='_yaml_anchor' class Anchor: __slots__='value','always_dump';attrib=anchor_attrib def __init__(A):A.value=None;A.always_dump=_A def __repr__(A):B=', (always dump)'if A.always_dump else'';return 'Anchor({!r}{})'.format(A.va...
46.571429
101
0.766871
55
326
4.145455
0.527273
0.175439
0.096491
0
0
0
0
0
0
0
0
0
0.064417
326
7
101
46.571429
0.747541
0
0
0
0
0
0.174312
0
0
0
0
0
0
1
0.285714
false
0
0.142857
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
1
0
0
0
0
1
0
0
3
8339d8d349d79e4901a9d21a21c6b901aa1163af
150
py
Python
tests/server/client.py
yashbhutoria/PyRFC
139544f0985aaa0b3c408a0daa29031d0d31ad0d
[ "Apache-2.0" ]
400
2015-01-28T09:26:56.000Z
2022-03-31T06:27:30.000Z
tests/server/client.py
yashbhutoria/PyRFC
139544f0985aaa0b3c408a0daa29031d0d31ad0d
[ "Apache-2.0" ]
247
2015-02-04T11:30:44.000Z
2022-03-29T09:50:01.000Z
tests/server/client.py
yashbhutoria/PyRFC
139544f0985aaa0b3c408a0daa29031d0d31ad0d
[ "Apache-2.0" ]
124
2015-01-10T16:09:37.000Z
2022-02-27T18:52:47.000Z
from pyrfc import Connection import pickle client = Connection(dest="MME") fd = client.get_function_description("BAPI_USER_GET_DETAIL") print(fd)
15
60
0.793333
21
150
5.428571
0.761905
0
0
0
0
0
0
0
0
0
0
0
0.113333
150
9
61
16.666667
0.857143
0
0
0
0
0
0.153333
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
833c9c36e51650097c93840ebadb48ec9573577a
156
py
Python
pipupgrade.py
FourMInfo/MacOSXWiki
e63cbd993c365d3cb428025a21d8bccc58f51131
[ "Apache-2.0" ]
1
2021-11-05T22:59:23.000Z
2021-11-05T22:59:23.000Z
pipupgrade.py
FourMInfo/MacOSXWiki
e63cbd993c365d3cb428025a21d8bccc58f51131
[ "Apache-2.0" ]
null
null
null
pipupgrade.py
FourMInfo/MacOSXWiki
e63cbd993c365d3cb428025a21d8bccc58f51131
[ "Apache-2.0" ]
1
2021-11-05T22:54:46.000Z
2021-11-05T22:54:46.000Z
import pip from subprocess import call for dist in pip.get_installed_distributions(): call("pip2 install --upgrade " + dist.project_name, shell=True)
26
67
0.762821
22
156
5.272727
0.818182
0
0
0
0
0
0
0
0
0
0
0.007519
0.147436
156
5
68
31.2
0.864662
0
0
0
0
0
0.147436
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
834c5701f1b45bf97c9033f7ed468243cfbdb60c
289
py
Python
src/DungeonsDragonsTests/EnvironmentTests.py
DieAntonie/eventstore-python
1f162a466bcfdf6138248b6a89b4b6df1ce67c6c
[ "BSD-3-Clause" ]
1
2021-10-02T20:59:57.000Z
2021-10-02T20:59:57.000Z
src/DungeonsDragonsTests/EnvironmentTests.py
DieAntonie/eventstore-python
1f162a466bcfdf6138248b6a89b4b6df1ce67c6c
[ "BSD-3-Clause" ]
2
2020-03-24T16:36:16.000Z
2020-03-24T16:51:03.000Z
src/DungeonsDragonsTests/EnvironmentTests.py
DieAntonie/eventstore-python
1f162a466bcfdf6138248b6a89b4b6df1ce67c6c
[ "BSD-3-Clause" ]
null
null
null
import uuid from ..Infrastructure.BDDTest import BDDTest from ..DungeonsDragons.Environment.EnvironmentAggregate import EnvironmentAggregate class EnvironmentTests(BDDTest): def setUp(self): self.sut = EnvironmentAggregate() if __name__ == '__main__': unittest.main()
20.642857
83
0.764706
27
289
7.888889
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.148789
289
13
84
22.230769
0.865854
0
0
0
0
0
0.027682
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
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
835025784e2bbcaf271e8e2af596d885730ccbf5
146
py
Python
Dataset/Leetcode/train/58/172.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/58/172.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/58/172.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: def XXX(self, s: str) -> int: while s.endswith(' '): s = s[:-1] return len(s) - s.rfind(' ') -1
20.857143
39
0.438356
20
146
3.2
0.7
0.0625
0
0
0
0
0
0
0
0
0
0.021739
0.369863
146
6
40
24.333333
0.673913
0
0
0
0
0
0.013793
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
83504681c1535fc4f68d338209971c445625b071
337
py
Python
cloacina/__init__.py
ahalterman/cloacina
44224fd499a94b7d97dcce3d2cf1c185d4c70e2d
[ "MIT" ]
18
2015-09-01T11:51:49.000Z
2021-10-31T13:17:58.000Z
cloacina/__init__.py
ahalterman/cloacina
44224fd499a94b7d97dcce3d2cf1c185d4c70e2d
[ "MIT" ]
11
2015-09-02T01:02:50.000Z
2016-01-21T15:48:15.000Z
cloacina/__init__.py
ahalterman/cloacina
44224fd499a94b7d97dcce3d2cf1c185d4c70e2d
[ "MIT" ]
9
2016-01-10T23:04:34.000Z
2020-11-19T14:09:59.000Z
from authenticate import authenticate from construct_page_list import construct_page_list from download_day_source import download_day_source from extract_from_b64 import extract_from_b64 from get_results import get_results from get_source_day_total import get_source_day_total from utilities import parse_config import ...
37.444444
53
0.910979
52
337
5.480769
0.365385
0.091228
0.119298
0.119298
0
0
0
0
0
0
0
0.013029
0.089021
337
8
54
42.125
0.915309
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
1
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
836240c169286a73d1927bf0eb3b46685f507cf1
708
py
Python
tests/function_tests/test_generic_univariate_function.py
dpazel/music_rep
2f9de9b98b13df98f1a0a2120b84714725ce527e
[ "MIT" ]
1
2021-05-06T19:45:54.000Z
2021-05-06T19:45:54.000Z
tests/function_tests/test_generic_univariate_function.py
dpazel/music_rep
2f9de9b98b13df98f1a0a2120b84714725ce527e
[ "MIT" ]
null
null
null
tests/function_tests/test_generic_univariate_function.py
dpazel/music_rep
2f9de9b98b13df98f1a0a2120b84714725ce527e
[ "MIT" ]
null
null
null
import unittest from function.generic_univariate_function import GenericUnivariateFunction def square(x): return x * x class TestGenericUnivariateFunction(unittest.TestCase): def setUp(self): pass def tearDown(self): pass def test_simple_function(self): f = GenericUnivaria...
20.228571
74
0.586158
89
708
4.52809
0.426966
0.138958
0.218362
0.079404
0.208437
0.208437
0.119107
0.119107
0
0
0
0.042596
0.303672
708
34
75
20.823529
0.774848
0
0
0.25
0
0
0.011299
0
0
0
0
0
0.333333
1
0.208333
false
0.083333
0.083333
0.083333
0.416667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
55c271b651d520d10ab6218ec333c84cb2114531
3,033
py
Python
src/biotite/sequence/__init__.py
alex123012/biotite
5702c6eb4e9a577954177788815b0f517c111c12
[ "BSD-3-Clause" ]
208
2018-04-20T15:59:42.000Z
2022-03-22T07:47:12.000Z
src/biotite/sequence/__init__.py
alex123012/biotite
5702c6eb4e9a577954177788815b0f517c111c12
[ "BSD-3-Clause" ]
121
2017-11-15T14:52:07.000Z
2022-03-30T16:31:41.000Z
src/biotite/sequence/__init__.py
alex123012/biotite
5702c6eb4e9a577954177788815b0f517c111c12
[ "BSD-3-Clause" ]
49
2018-07-19T09:06:24.000Z
2022-03-23T17:21:34.000Z
# This source code is part of the Biotite package and is distributed # under the 3-Clause BSD License. Please see 'LICENSE.rst' for further # information. """ A subpackage for handling sequences. A :class:`Sequence` can be seen as a succession of symbols. The set of symbols, that can occur in a sequence, is defined b...
40.986486
72
0.748104
450
3,033
5.024444
0.466667
0.051747
0.024768
0.020345
0.006192
0
0
0
0
0
0
0.00668
0.160897
3,033
73
73
41.547945
0.881729
0.919881
0
0
0
0
0.137339
0
0
0
0
0
0
1
0
false
0
0.777778
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
55c84f260104774c3ccf1264357702bc96f53baa
421
py
Python
index.py
AndrewGnagy/cv-ml-excercise-analysis
1aaade777e95758aeb65e1c6ad1915b50cbdcf72
[ "MIT" ]
null
null
null
index.py
AndrewGnagy/cv-ml-excercise-analysis
1aaade777e95758aeb65e1c6ad1915b50cbdcf72
[ "MIT" ]
null
null
null
index.py
AndrewGnagy/cv-ml-excercise-analysis
1aaade777e95758aeb65e1c6ad1915b50cbdcf72
[ "MIT" ]
null
null
null
from model_evaluate import give_prediction from keypoints_from_video_flat import format_and_process, play_video_for_show format_and_process("videos/squats_good_form_1.mp4", "data/squats-good-data1.data") print("Results: " + give_prediction("data/squats-good-data1.data")) format_and_process("videos/squats_bad_form_1.m...
52.625
82
0.817102
65
421
4.953846
0.4
0.124224
0.149068
0.136646
0.664596
0.279503
0.279503
0.279503
0
0
0
0.02005
0.052257
421
8
83
52.625
0.786967
0
0
0
0
0
0.42891
0.386256
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.333333
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
1
0
1
0
0
0
0
3
55cc08129c2e450d57fd77acea7f9b55d8e10246
466
py
Python
angalabiri/causes/apps.py
dark-codr/ebiangala
0af3de29b2afa71df3e138cd16ecddc69fbd597d
[ "MIT" ]
1
2021-03-25T14:06:23.000Z
2021-03-25T14:06:23.000Z
angalabiri/causes/apps.py
dark-codr/ebiangala
0af3de29b2afa71df3e138cd16ecddc69fbd597d
[ "MIT" ]
5
2021-09-08T03:08:46.000Z
2022-03-12T00:56:35.000Z
angalabiri/causes/apps.py
me-edavids/ebiangala
0af3de29b2afa71df3e138cd16ecddc69fbd597d
[ "MIT" ]
null
null
null
from django.apps import AppConfig from django.utils.translation import gettext_lazy as _ class CausesConfig(AppConfig): name = 'angalabiri.causes' verbose_name = _("Causes") def ready(self): # story_model = apps.get_model("etopoenergy.blog", "etopoenergy.blog.models.Post") # secretballot....
29.125
90
0.680258
52
466
5.923077
0.711538
0.064935
0
0
0
0
0
0
0
0
0
0.00838
0.23176
466
15
91
31.066667
0.851955
0.285408
0
0
0
0
0.069909
0
0
0
0
0
0
1
0.1
false
0.1
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
55d5e12e467cb85f08dbfd3376f5cf52330f4bc4
623
py
Python
ample/widgets.py
Eeems/ample
f4e40d92fd86d582a9c20aef3a829c639b76ebf4
[ "MIT" ]
null
null
null
ample/widgets.py
Eeems/ample
f4e40d92fd86d582a9c20aef3a829c639b76ebf4
[ "MIT" ]
null
null
null
ample/widgets.py
Eeems/ample
f4e40d92fd86d582a9c20aef3a829c639b76ebf4
[ "MIT" ]
null
null
null
from asciimatics.widgets import Widget class AnsiLabel(Widget): def __init__(self, height, name=None, **kwargs): super(AnsiLabel, self).__init__(name, **kwargs) self._column = 0 self._required_height = height def update(self, frame_no): pass def reset(self): pass ...
23.961538
73
0.654896
80
623
4.825
0.55
0.108808
0.093264
0
0
0
0
0
0
0
0
0.006522
0.261637
623
25
74
24.92
0.832609
0.05618
0
0.176471
0
0
0
0
0
0
0
0
0
1
0.352941
false
0.176471
0.058824
0.117647
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
55e61074808444d20aec8e777eeb6f5444a0678e
2,945
py
Python
tests/test_responses.py
Squidtoon99/dispike
db4b1a12268afcc87a96003923e6f56139872f0e
[ "MIT" ]
null
null
null
tests/test_responses.py
Squidtoon99/dispike
db4b1a12268afcc87a96003923e6f56139872f0e
[ "MIT" ]
null
null
null
tests/test_responses.py
Squidtoon99/dispike
db4b1a12268afcc87a96003923e6f56139872f0e
[ "MIT" ]
null
null
null
from dispike.errors.network import DiscordAPIError from dispike.models.incoming import IncomingDiscordInteraction from dispike.response import DiscordResponse from dispike.helper.embed import Embed from .test_dispike import dispike_object import inspect import pytest import typing import respx from httpx import Respons...
32.362637
73
0.740577
329
2,945
6.288754
0.170213
0.277429
0.183664
0.173997
0.643306
0.542291
0.520058
0.520058
0.461092
0.461092
0
0.004008
0.152801
2,945
90
74
32.722222
0.825251
0
0
0.522388
0
0
0.059762
0
0
0
0
0
0.298507
1
0.089552
false
0
0.164179
0.014925
0.268657
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
55eafcd6ceb719598f38fed87c61f2bc5ff164ae
157
py
Python
tests/snippets/builtin_open.py
crw5996/RustPython
7c06cedf48699a6c3852c71dd7f5e23c4d33f95e
[ "MIT" ]
1
2020-05-03T14:29:22.000Z
2020-05-03T14:29:22.000Z
tests/snippets/builtin_open.py
crw5996/RustPython
7c06cedf48699a6c3852c71dd7f5e23c4d33f95e
[ "MIT" ]
null
null
null
tests/snippets/builtin_open.py
crw5996/RustPython
7c06cedf48699a6c3852c71dd7f5e23c4d33f95e
[ "MIT" ]
null
null
null
from testutils import assert_raises fd = open('README.md') assert 'RustPython' in fd.read() assert_raises(FileNotFoundError, lambda: open('DoesNotExist'))
22.428571
62
0.77707
20
157
6
0.75
0.2
0
0
0
0
0
0
0
0
0
0
0.101911
157
6
63
26.166667
0.851064
0
0
0
0
0
0.197452
0
0
0
0
0
0.75
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
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
55facc589446255b351d2658320124d1ea8ef28e
153
py
Python
Mundo2/Desafio037.py
Marcoakira/Desafios_Python_do_Curso_Guanabara
c49b774148a2232f8f3c21b83e3dc97610480757
[ "MIT" ]
null
null
null
Mundo2/Desafio037.py
Marcoakira/Desafios_Python_do_Curso_Guanabara
c49b774148a2232f8f3c21b83e3dc97610480757
[ "MIT" ]
null
null
null
Mundo2/Desafio037.py
Marcoakira/Desafios_Python_do_Curso_Guanabara
c49b774148a2232f8f3c21b83e3dc97610480757
[ "MIT" ]
null
null
null
numero = float(input('Escolha um numero a qual deseja converter')) base = int(input('Digite:\n1 para Binario\n2 para octal\n3para hexadecimal')) hnivbkj
38.25
77
0.764706
23
153
5.086957
0.869565
0
0
0
0
0
0
0
0
0
0
0.022222
0.117647
153
3
78
51
0.844444
0
0
0
0
0
0.633987
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
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
360580e94bef9de98f473a703a1e3cff03d1d829
1,699
py
Python
modules/trends.py
vsaliievaa/politician-profiler
941645328936b48c27550842a20d0963e61a8f6d
[ "MIT" ]
null
null
null
modules/trends.py
vsaliievaa/politician-profiler
941645328936b48c27550842a20d0963e61a8f6d
[ "MIT" ]
null
null
null
modules/trends.py
vsaliievaa/politician-profiler
941645328936b48c27550842a20d0963e61a8f6d
[ "MIT" ]
null
null
null
''' Module for working with Google Trends. ''' from pytrends.request import TrendReq import pandas as pd class Trends: def __init__(self, keywords): self.pytrends = TrendReq(hl='uk', tz=360) self.pytrends.build_payload(keywords) def interest_over_time(self): return self.pytrends.inte...
31.462963
95
0.680989
208
1,699
5.350962
0.350962
0.097035
0.113208
0.059299
0.052111
0
0
0
0
0
0
0.009326
0.179517
1,699
53
96
32.056604
0.789096
0.379047
0
0
0
0
0.023301
0
0
0
0
0
0
1
0.4
false
0
0.1
0.35
0.9
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
360b3298b34692037bed8628b3b743f16e4b8139
219
py
Python
terrascript/data/scottwinkler/shell.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
507
2017-07-26T02:58:38.000Z
2022-01-21T12:35:13.000Z
terrascript/data/scottwinkler/shell.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
135
2017-07-20T12:01:59.000Z
2021-10-04T22:25:40.000Z
terrascript/data/scottwinkler/shell.py
mjuenema/python-terrascript
6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d
[ "BSD-2-Clause" ]
81
2018-02-20T17:55:28.000Z
2022-01-31T07:08:40.000Z
# terrascript/data/scottwinkler/shell.py # Automatically generated by tools/makecode.py (24-Sep-2021 15:27:03 UTC) import terrascript class shell_script(terrascript.Data): pass __all__ = [ "shell_script", ]
16.846154
73
0.744292
29
219
5.413793
0.758621
0.191083
0
0
0
0
0
0
0
0
0
0.064171
0.146119
219
12
74
18.25
0.775401
0.502283
0
0
1
0
0.113208
0
0
0
0
0
0
1
0
false
0.166667
0.166667
0
0.333333
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
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
3628ba0c01df9cc7b72e4c1569ef971f074e337b
256
py
Python
backend/authentication/token.py
ambikads/portunus
a9c9047757528ef5667fcfda2eb43f313281a3c9
[ "MIT" ]
null
null
null
backend/authentication/token.py
ambikads/portunus
a9c9047757528ef5667fcfda2eb43f313281a3c9
[ "MIT" ]
2
2020-11-20T00:10:47.000Z
2020-12-02T21:30:21.000Z
backend/authentication/token.py
ambikads/portunus
a9c9047757528ef5667fcfda2eb43f313281a3c9
[ "MIT" ]
null
null
null
from datetime import timedelta from rest_framework_simplejwt.tokens import Token, BlacklistMixin RESET_LINK_VALID_MINUTES = 5 class ResetToken(BlacklistMixin, Token): token_type = "reset" lifetime = timedelta(minutes=RESET_LINK_VALID_MINUTES)
21.333333
65
0.8125
31
256
6.419355
0.612903
0.090452
0.140704
0.211055
0
0
0
0
0
0
0
0.004505
0.132813
256
11
66
23.272727
0.891892
0
0
0
0
0
0.019531
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.833333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
3628c0303381810ff5406b01e9bdebd1fe87a235
2,502
py
Python
python/codegen/shared.py
mpcal/shashki-ai
969436624a128c0566aff8dafa701ff21dbc8222
[ "MIT" ]
5
2021-03-21T21:35:37.000Z
2021-08-10T09:06:43.000Z
python/codegen/shared.py
mpcal/shashki-ai
969436624a128c0566aff8dafa701ff21dbc8222
[ "MIT" ]
1
2021-07-26T07:27:05.000Z
2021-07-27T13:16:35.000Z
python/codegen/shared.py
mpcal/shashki-ai
969436624a128c0566aff8dafa701ff21dbc8222
[ "MIT" ]
null
null
null
import os import subprocess # Output directory CPP_OUT_DIR = os.path.dirname(__file__) + "/../../src/generated" def format_cc(file_cc): """Formats the given file with clang-format""" try: subprocess.call(["clang-format", "-i", file_cc]) except FileNotFoundError: pass # clang-format not o...
42.40678
87
0.414069
429
2,502
2.379953
0.235431
0.023506
0.029383
0.031342
0.127326
0.043095
0
0
0
0
0
0.298623
0.27458
2,502
58
88
43.137931
0.263912
0.178657
0
0
1
0
0.037811
0
0
0
0
0
0
1
0.022222
false
0.022222
0.044444
0
0.066667
0.022222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
362fa0dbc814e48027f4b5687ffe94929e623c13
312
py
Python
behavioral/visitor/data/human.py
Kozak24/Patterns
351d5c11f7c64ce5d58db37b6715fc8f7d31945a
[ "MIT" ]
null
null
null
behavioral/visitor/data/human.py
Kozak24/Patterns
351d5c11f7c64ce5d58db37b6715fc8f7d31945a
[ "MIT" ]
null
null
null
behavioral/visitor/data/human.py
Kozak24/Patterns
351d5c11f7c64ce5d58db37b6715fc8f7d31945a
[ "MIT" ]
null
null
null
from dataclasses import dataclass from typing import Any from behavioral.visitor.data import NPC from behavioral.visitor.logic import BaseVisitor @dataclass class Human(NPC): type: str name: str age: int def accept(self, visitor: BaseVisitor) -> Any: return visitor.visit_human(self)
19.5
50
0.737179
41
312
5.585366
0.585366
0.122271
0.183406
0
0
0
0
0
0
0
0
0
0.195513
312
15
51
20.8
0.912351
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0.090909
0.909091
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
3643dc42cfb7c3a7ddfba70fcda60f5a9ae7061a
273
py
Python
tests/conftest.py
uw-cryo/dem-tools
c99a74b3361bca7d1733e9699c3cedd25a5b5948
[ "MIT" ]
1
2021-11-13T12:59:53.000Z
2021-11-13T12:59:53.000Z
tests/conftest.py
jomey/raster_compare
5199005d01f569e187e944d62af0ea70c383d16a
[ "MIT" ]
3
2019-09-30T19:40:42.000Z
2019-10-27T02:23:58.000Z
tests/conftest.py
jomey/raster_compare
5199005d01f569e187e944d62af0ea70c383d16a
[ "MIT" ]
1
2020-02-07T07:15:13.000Z
2020-02-07T07:15:13.000Z
from pathlib import PurePath import pytest @pytest.fixture(scope='session') def fixture_path(): return PurePath(__file__).with_name('fixtures') @pytest.fixture(scope='module') def tmp_input_path(tmpdir_factory): return tmpdir_factory.mktemp('test_input_path')
19.5
51
0.776557
36
273
5.555556
0.611111
0.13
0.18
0
0
0
0
0
0
0
0
0
0.106227
273
13
52
21
0.819672
0
0
0
0
0
0.131868
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
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
366e3c08ec58144f2c88a7bce885c97a28d620cc
520
py
Python
pywindowframes/__init__.py
afmelin/pywindowframes
eab943940aff9924b013a07999a2abeee4a0b520
[ "MIT" ]
1
2021-02-16T18:25:15.000Z
2021-02-16T18:25:15.000Z
pywindowframes/__init__.py
afmelin/pywindowframes
eab943940aff9924b013a07999a2abeee4a0b520
[ "MIT" ]
5
2021-02-16T18:21:44.000Z
2021-02-16T18:28:45.000Z
pywindowframes/__init__.py
afmelin/pywindowframes
eab943940aff9924b013a07999a2abeee4a0b520
[ "MIT" ]
null
null
null
__version__ = 0.147 print(f"Thank you for using pywindowframes. Please report any indecencies to 79141108+afmelin@users.noreply.github.com." f"\nPywindowframes version: {__version__}") from .core import WindowBase from .core import StaticWindow from .core import open_or_close_window from .core import po...
30.588235
121
0.786538
71
520
5.56338
0.577465
0.141772
0.248101
0.096203
0
0
0
0
0
0
0
0.027397
0.157692
520
16
122
32.5
0.874429
0
0
0
0
0.076923
0.297619
0.083333
0
0
0
0
0
1
0
false
0
0.769231
0
0.769231
0.076923
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
368f79a038ba3180ffd592bd21f15b352c0134f7
665
py
Python
UsageExamples/utils/Author.py
AomiVel/discord-ext-embeds
2e7e427fc3cf47c51648c73c23f45a60418af4d6
[ "MIT" ]
null
null
null
UsageExamples/utils/Author.py
AomiVel/discord-ext-embeds
2e7e427fc3cf47c51648c73c23f45a60418af4d6
[ "MIT" ]
null
null
null
UsageExamples/utils/Author.py
AomiVel/discord-ext-embeds
2e7e427fc3cf47c51648c73c23f45a60418af4d6
[ "MIT" ]
null
null
null
""" YOU MUST USE NAME """ """ import """ from discord.ext import embed # or from discord.ext.embed import utils """ use """ embed.utils.Author embed.Author utils.Author # Use name only embed.Embed( author=utils.Author('author name') ) # Use name and url embed.Embed( author=utils.Author('author name', '...
16.219512
89
0.669173
95
665
4.663158
0.2
0.173815
0.216704
0.297968
0.591422
0.519187
0.519187
0.435666
0.428894
0.230248
0
0
0.150376
665
40
90
16.625
0.784071
0.124812
0
0.25
0
0
0.302198
0
0
0
0
0
0
1
0
true
0
0.1
0
0.1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
369cdc2349e744313ef4dcfbe9fd8ac0210d4f11
243
py
Python
tests/util.py
m-thielen/hyde
b641efad354bdfd7d21c4ec28eaa196cbec258a6
[ "MIT" ]
1
2019-03-16T02:37:31.000Z
2019-03-16T02:37:31.000Z
tests/util.py
m-thielen/hyde
b641efad354bdfd7d21c4ec28eaa196cbec258a6
[ "MIT" ]
null
null
null
tests/util.py
m-thielen/hyde
b641efad354bdfd7d21c4ec28eaa196cbec258a6
[ "MIT" ]
null
null
null
from django.utils.html import strip_spaces_between_tags def assert_html_equals(expected, actual): expected = strip_spaces_between_tags(expected.strip()) actual = strip_spaces_between_tags(actual.strip()) assert expected == actual
34.714286
58
0.794239
32
243
5.6875
0.4375
0.181319
0.296703
0.362637
0
0
0
0
0
0
0
0
0.123457
243
6
59
40.5
0.85446
0
0
0
0
0
0
0
0
0
0
0
0.4
1
0.2
false
0
0.2
0
0.4
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
36bd28df0fdfcf671c744bf999741c47d6ca1bd9
151
py
Python
dfsaas_blog/apps.py
django-for-saas/dfsaas-blog
226212cf59207aa751b6aefc8bd859a1dd625b20
[ "MIT" ]
null
null
null
dfsaas_blog/apps.py
django-for-saas/dfsaas-blog
226212cf59207aa751b6aefc8bd859a1dd625b20
[ "MIT" ]
null
null
null
dfsaas_blog/apps.py
django-for-saas/dfsaas-blog
226212cf59207aa751b6aefc8bd859a1dd625b20
[ "MIT" ]
null
null
null
from django.apps import AppConfig class DFSAASBlogAppConfig(AppConfig): name = 'dfsaas_blog' verbose_name = "Blog" label = 'dfsaas_blog'
18.875
37
0.721854
17
151
6.235294
0.705882
0.188679
0
0
0
0
0
0
0
0
0
0
0.192053
151
7
38
21.571429
0.868852
0
0
0
0
0
0.172185
0
0
0
0
0
0
1
0
false
0
0.2
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
36c6619858beb3040cd41c4f51dde677175f4fd0
13,089
py
Python
interface/K12edu/testcase/learning_controller.py
aoruilin/SeleniumBase
304fd7a23661ebf561da47d4cd8f7365dba519ca
[ "MIT" ]
null
null
null
interface/K12edu/testcase/learning_controller.py
aoruilin/SeleniumBase
304fd7a23661ebf561da47d4cd8f7365dba519ca
[ "MIT" ]
null
null
null
interface/K12edu/testcase/learning_controller.py
aoruilin/SeleniumBase
304fd7a23661ebf561da47d4cd8f7365dba519ca
[ "MIT" ]
null
null
null
import time import unittest import requests from interface.K12edu.common.assert_msg import assert_res from interface.K12edu.common.parameter_for_others import ParameterForOthers class LearningController(unittest.TestCase): """学情分析""" def setUp(self) -> None: self.manager_parm = ParameterForOthers(i...
43.63
111
0.487661
1,476
13,089
4.151762
0.092818
0.053688
0.035901
0.039164
0.781332
0.750979
0.702839
0.670039
0.639687
0.60248
0
0.006968
0.385973
13,089
299
112
43.77592
0.755506
0.019253
0
0.580087
0
0
0.209825
0.142077
0
0
0
0
0.060606
1
0.051948
false
0
0.021645
0
0.077922
0.125541
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
7fd83345e6bae53b3068e71c79b6c47f4953b5f5
48
py
Python
ncov/apps/news/models/__init__.py
ExchangeAnn/2019ncov
dbb2c87a6ae4eb50bece9f5b6e2431e89d66f02e
[ "MIT" ]
null
null
null
ncov/apps/news/models/__init__.py
ExchangeAnn/2019ncov
dbb2c87a6ae4eb50bece9f5b6e2431e89d66f02e
[ "MIT" ]
274
2020-02-22T07:54:37.000Z
2021-06-23T12:48:05.000Z
ncov/apps/news/models/__init__.py
ExchangeAnn/2019ncov
dbb2c87a6ae4eb50bece9f5b6e2431e89d66f02e
[ "MIT" ]
4
2020-02-20T11:19:33.000Z
2020-09-30T12:40:34.000Z
from .db import News __all__ = [ "News", ]
8
20
0.5625
6
48
3.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.291667
48
5
21
9.6
0.676471
0
0
0
0
0
0.083333
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
7fe84c9cefdf5c46000ce6b5caf7a2f86e5e4c2c
27,156
py
Python
lda/code/lda_plotters.py
RP0001/ms2ldaviz
35ae516f5d3ec9d1a348e8308a4ea50f3ebcdfd7
[ "MIT" ]
null
null
null
lda/code/lda_plotters.py
RP0001/ms2ldaviz
35ae516f5d3ec9d1a348e8308a4ea50f3ebcdfd7
[ "MIT" ]
null
null
null
lda/code/lda_plotters.py
RP0001/ms2ldaviz
35ae516f5d3ec9d1a348e8308a4ea50f3ebcdfd7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import plotly as plotly from plotly.graph_objs import * import networkx as nx import json import pickle import numpy as np from networkx.readwrite import json_graph # Some useful plotting code (uses plotly) # Should put this into a separate file class VariationalLDAPlotter(object): def __...
33.076736
141
0.418545
2,677
27,156
4.099739
0.094509
0.043827
0.025057
0.022961
0.749339
0.698223
0.667973
0.632164
0.618497
0.615216
0
0.017857
0.474149
27,156
821
142
33.076736
0.7507
0.023752
0
0.712707
0
0
0.035705
0
0
0
0
0.001218
0
0
null
null
0
0.01105
null
null
0.004144
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
7feea8a369120ec5ba61fd3fd5db0c7e6fc13282
1,952
py
Python
cle/backends/macho/segment.py
yuzeming/cle
bbd2438c09c92232509baece0a053785b69c3f7a
[ "BSD-2-Clause" ]
null
null
null
cle/backends/macho/segment.py
yuzeming/cle
bbd2438c09c92232509baece0a053785b69c3f7a
[ "BSD-2-Clause" ]
null
null
null
cle/backends/macho/segment.py
yuzeming/cle
bbd2438c09c92232509baece0a053785b69c3f7a
[ "BSD-2-Clause" ]
1
2022-01-24T23:39:59.000Z
2022-01-24T23:39:59.000Z
# -*-coding:utf8 -*- # This file is part of Mach-O Loader for CLE. # Contributed December 2016 by Fraunhofer SIT (https://www.sit.fraunhofer.de/en/). from .. import Region class MachOSegment(Region): """ Mach-O Segment - offset is the offset into the file the region starts - vaddr (or just a...
32
103
0.627049
250
1,952
4.8
0.4
0.025
0.063333
0.04
0.115833
0.115833
0
0
0
0
0
0.012257
0.289447
1,952
60
104
32.533333
0.85292
0.440061
0
0.115385
0
0
0
0
0
0
0.012283
0
0
1
0.230769
false
0
0.038462
0.115385
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
0
0
1
1
0
0
3
7ff7a21842a2a45598c25e8322f30af9be156510
2,339
py
Python
dpm/distributions/uniform.py
nextBillyonair/DPM
840ffaafe15c208b200b74094ffa8fe493b4c975
[ "MIT" ]
1
2021-07-20T14:02:55.000Z
2021-07-20T14:02:55.000Z
dpm/distributions/uniform.py
nextBillyonair/DPM
840ffaafe15c208b200b74094ffa8fe493b4c975
[ "MIT" ]
null
null
null
dpm/distributions/uniform.py
nextBillyonair/DPM
840ffaafe15c208b200b74094ffa8fe493b4c975
[ "MIT" ]
null
null
null
import torch from torch import nn from torch.nn import Parameter from torch.nn.functional import softplus from .distribution import Distribution from torch._six import inf class Uniform(Distribution): def __init__(self, low=0., high=1., learnable=True): super().__init__() if not isinstance(low, t...
28.52439
80
0.583583
309
2,339
4.365696
0.239482
0.083024
0.071164
0.088955
0.151964
0.088213
0
0
0
0
0
0.008777
0.269346
2,339
81
81
28.876543
0.780573
0
0
0.109375
0
0
0.005985
0
0
0
0
0
0
1
0.234375
false
0
0.09375
0.15625
0.59375
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
3d0005441c2b83fe94e9c071f1bf228c09323e16
7,537
py
Python
src/utoolbox/io/dataset_xr/format.py
thhsieh00/utoolbox-core
e46704348d60985c205a16f41788d2c185e11fb6
[ "Apache-2.0" ]
3
2020-08-21T02:34:32.000Z
2021-04-06T06:56:46.000Z
src/utoolbox/io/dataset_xr/format.py
liuyenting/utoolbox-core
d1430967458204b99780c547eaca60d066490946
[ "Apache-2.0" ]
null
null
null
src/utoolbox/io/dataset_xr/format.py
liuyenting/utoolbox-core
d1430967458204b99780c547eaca60d066490946
[ "Apache-2.0" ]
null
null
null
from __future__ import annotations import logging from abc import ABC, abstractmethod from typing import Any, Dict, List, Optional, Tuple from .request import Request logger = logging.getLogger("utoolbox.io.dataset.format") class Format(ABC): """ Represents an implementation to read/write a pa...
27.209386
113
0.530052
779
7,537
4.983312
0.225931
0.043277
0.032458
0.021638
0.223338
0.200927
0.1695
0.153529
0.081917
0.081917
0
0
0.385299
7,537
276
114
27.307971
0.837902
0.267613
0
0.32
0
0
0.068054
0.005635
0
0
0
0.01087
0.024
1
0.288
false
0.04
0.04
0.072
0.528
0.008
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
3d133ef981f241f1e4f204b2909f241fed3d138c
108
py
Python
robust_sleep_net/models/modulo_net/epochs_encoder/__init__.py
Dreem-Organization/RobustSleepNet
c8ff3f6f857299eb2bf2e9400483084d5ecd4106
[ "MIT" ]
16
2021-04-06T14:04:45.000Z
2022-03-11T14:37:08.000Z
robust_sleep_net/models/modulo_net/epochs_encoder/__init__.py
Dreem-Organization/RobustSleepNet
c8ff3f6f857299eb2bf2e9400483084d5ecd4106
[ "MIT" ]
null
null
null
robust_sleep_net/models/modulo_net/epochs_encoder/__init__.py
Dreem-Organization/RobustSleepNet
c8ff3f6f857299eb2bf2e9400483084d5ecd4106
[ "MIT" ]
4
2021-06-10T06:48:33.000Z
2022-03-26T22:29:07.000Z
from .robust_encoder import RobustSleepEncoder epoch_encoders = {"RobustSleepEncoder": RobustSleepEncoder}
27
59
0.851852
9
108
10
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.083333
108
3
60
36
0.909091
0
0
0
0
0
0.166667
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3d2e871ad9f2471bed8749eadbdf3a039cf4f7ce
1,169
py
Python
backend/covidmap/serializers.py
lucasrosate/covid-world-map
ba876f6ee6eb0d716bca5a2918da55deb13de39f
[ "MIT" ]
null
null
null
backend/covidmap/serializers.py
lucasrosate/covid-world-map
ba876f6ee6eb0d716bca5a2918da55deb13de39f
[ "MIT" ]
null
null
null
backend/covidmap/serializers.py
lucasrosate/covid-world-map
ba876f6ee6eb0d716bca5a2918da55deb13de39f
[ "MIT" ]
null
null
null
from rest_framework import serializers class CovidGeneralDataSerializer(serializers.Serializer): continent_name = serializers.CharField(read_only=True) location_name = serializers.CharField(read_only=True) date_registered = serializers.DateField(read_only=True, format="%d/%m/%Y") new_cases_smoothed = ...
58.45
112
0.739093
122
1,169
6.795082
0.327869
0.144753
0.217129
0.411339
0.642943
0.516285
0.166466
0
0
0
0
0
0.185629
1,169
19
113
61.526316
0.870798
0
0
0
0
0
0.006843
0
0
0
0
0
0
1
0
false
0
0.058824
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
3d32e917e9426399328ea611c6a7eb53967f08a5
118
py
Python
redisfe/models/__init__.py
IdanAtias/redis-on-k8s
a20acaf44f37adcd41a1fc5c360fba1bacd2528e
[ "MIT" ]
null
null
null
redisfe/models/__init__.py
IdanAtias/redis-on-k8s
a20acaf44f37adcd41a1fc5c360fba1bacd2528e
[ "MIT" ]
null
null
null
redisfe/models/__init__.py
IdanAtias/redis-on-k8s
a20acaf44f37adcd41a1fc5c360fba1bacd2528e
[ "MIT" ]
null
null
null
from .items import ( Item, AddItemRequest, AddItemResponse, GetItemResponse, ListItemsResponse, )
14.75
22
0.677966
8
118
10
1
0
0
0
0
0
0
0
0
0
0
0
0.254237
118
7
23
16.857143
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
3d33091f0361a1409f259f4ace7741e25696a2d7
1,117
py
Python
ejercicios_python/Clase09/practica9-4.py
hcgalvan/UNSAM-Python-programming
c4b3f5ae0702dc03ea6010cb8051c7eec6aef42f
[ "MIT" ]
null
null
null
ejercicios_python/Clase09/practica9-4.py
hcgalvan/UNSAM-Python-programming
c4b3f5ae0702dc03ea6010cb8051c7eec6aef42f
[ "MIT" ]
null
null
null
ejercicios_python/Clase09/practica9-4.py
hcgalvan/UNSAM-Python-programming
c4b3f5ae0702dc03ea6010cb8051c7eec6aef42f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Oct 21 18:23:56 2021 @author: User """ # Metodos especiales class Lote(object): def __init__(self): ... def __repr__(self): ... #%% class Date(object): def __init__(self, year, month, day): self.year = year self.month = month ...
21.075472
59
0.542525
146
1,117
3.794521
0.342466
0.045126
0.079422
0.061372
0.234657
0.234657
0
0
0
0
0
0.016332
0.287377
1,117
53
60
21.075472
0.679648
0.195166
0
0.333333
0
0
0.136723
0.085876
0
0
0
0.018868
0
1
0.393939
false
0
0
0.151515
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
0
0
0
3
3d49b875bdaf23bb8769aa627ba4512161b767cf
163
py
Python
21 Others/VonNeumanSet.py
XuuRee/python-data-structures
a3972f5781d666d15d61c0d474877880d1b7c483
[ "MIT" ]
null
null
null
21 Others/VonNeumanSet.py
XuuRee/python-data-structures
a3972f5781d666d15d61c0d474877880d1b7c483
[ "MIT" ]
null
null
null
21 Others/VonNeumanSet.py
XuuRee/python-data-structures
a3972f5781d666d15d61c0d474877880d1b7c483
[ "MIT" ]
null
null
null
def vonNoeman(n): if n == 0: return [] res = [] for i in range(n,0,-1): res.append(vonNoeman(n-i)) return res print(vonNoeman(30))
18.111111
34
0.521472
25
163
3.4
0.6
0.235294
0
0
0
0
0
0
0
0
0
0.044643
0.312883
163
9
35
18.111111
0.714286
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.375
0.125
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3d53c53da35a9d934240dc155e6131860645b41c
186
py
Python
server/run.py
InbarShirizly/zoom_attendance_check
8a151baa3b774c68c1b32aa05ac365002ca272ca
[ "MIT" ]
15
2020-08-26T04:53:34.000Z
2022-03-13T13:19:43.000Z
server/run.py
PixelogicDev/zoom_attendance_check
7c47066d006ae2205ccb04371115904ec48e3bda
[ "MIT" ]
41
2020-09-22T13:34:13.000Z
2021-09-04T15:37:02.000Z
server/run.py
PixelogicDev/zoom_attendance_check
7c47066d006ae2205ccb04371115904ec48e3bda
[ "MIT" ]
1
2020-10-14T01:44:55.000Z
2020-10-14T01:44:55.000Z
from server import app, db import os if __name__ == '__main__': if not os.path.exists("/server/site.db"): db.create_all() db.session.commit() app.run(debug=True)
23.25
45
0.634409
28
186
3.892857
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.22043
186
8
46
23.25
0.751724
0
0
0
0
0
0.122995
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
e9e753d1787d5c2ff2cc10605c7d6462dabc7145
1,077
py
Python
tests/test_start_soon.py
gottadiveintopython/asynckivy
0672310d6a44034bb2916590f1a90dae0b5807c7
[ "MIT" ]
49
2019-09-11T16:17:44.000Z
2022-03-22T20:40:26.000Z
tests/test_start_soon.py
gottadiveintopython/asynckivy
0672310d6a44034bb2916590f1a90dae0b5807c7
[ "MIT" ]
9
2020-03-30T03:05:51.000Z
2022-03-14T07:03:25.000Z
tests/test_start_soon.py
gottadiveintopython/asynckivy
0672310d6a44034bb2916590f1a90dae0b5807c7
[ "MIT" ]
6
2020-10-08T00:36:23.000Z
2022-01-24T11:32:14.000Z
def test_normaly(): from kivy.clock import Clock import asynckivy as ak from asynckivy import _start_soon async def do_nothing(): pass task1 = ak.start_soon(do_nothing()) task2 = ak.start_soon(do_nothing()) assert _start_soon._waiting == [task1, task2, ] assert not task1.done ...
23.413043
51
0.661096
142
1,077
4.78169
0.239437
0.145803
0.110457
0.162003
0.743741
0.513991
0.468336
0.468336
0.468336
0.468336
0
0.029963
0.256267
1,077
45
52
23.933333
0.817728
0
0
0.594595
0
0
0
0
0
0
0
0
0.405405
1
0.054054
false
0.054054
0.162162
0
0.216216
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
1
0
0
0
1
0
0
0
0
0
3
e9f289cf33274d788c80b9f9cd75693ace90c34a
213,484
py
Python
viewers/resources_qrc.py
compix/MetadataManager
11b8c07a8d638aaad94d9b4e4aa2b1cbb7e57533
[ "MIT" ]
null
null
null
viewers/resources_qrc.py
compix/MetadataManager
11b8c07a8d638aaad94d9b4e4aa2b1cbb7e57533
[ "MIT" ]
null
null
null
viewers/resources_qrc.py
compix/MetadataManager
11b8c07a8d638aaad94d9b4e4aa2b1cbb7e57533
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Resource object code # # Created: So Aug 16 12:34:48 2020 # by: The Resource Compiler for PySide2 (Qt v5.12.3) # # WARNING! All changes made in this file will be lost! from PySide2 import QtCore qt_resource_data = b"\ \x00\x00\x14\x90\ \x89\ PNG\x0d\x0a\x1a\x0a\x00\x00\x00\x0dIHDR\x00\...
48.785192
96
0.711032
47,864
213,484
3.16572
0.12828
0.070365
0.090342
0.109606
0.100789
0.096915
0.093444
0.092322
0.08693
0.085386
0
0.259574
0.022086
213,484
4,375
97
48.796343
0.466223
0.000862
0
0.049312
0
0.769037
0.00037
0.000103
0
0
0.000038
0
0
1
0.000459
false
0
0.000229
0
0.000688
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e9f486899facbb4f29c04e0467bfd54953bccf58
178
py
Python
pywikipathways/_version.py
kozo2/pyWikiPathways
4bc94b0d8dc7e79b10dda201b0edf4a7e651c018
[ "MIT" ]
null
null
null
pywikipathways/_version.py
kozo2/pyWikiPathways
4bc94b0d8dc7e79b10dda201b0edf4a7e651c018
[ "MIT" ]
null
null
null
pywikipathways/_version.py
kozo2/pyWikiPathways
4bc94b0d8dc7e79b10dda201b0edf4a7e651c018
[ "MIT" ]
3
2021-09-05T21:50:23.000Z
2022-03-03T03:37:35.000Z
# -*- coding:utf-8 -*- # This is the official version of this library. Change it here, and the build and documentation # should pick it up automatically. __version__ = "0.0.2"
25.428571
95
0.713483
28
178
4.392857
0.785714
0
0
0
0
0
0
0
0
0
0
0.027397
0.179775
178
6
96
29.666667
0.815068
0.825843
0
0
0
0
0.185185
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
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e9f69e3052d94c586da24406e803995887191a0b
336
py
Python
uhugo/post_install/providers/netlify.py
akshaybabloo/uHugo-python
647439c829bfbdf1140c6e8f4c81a4c16a903dc4
[ "MIT" ]
null
null
null
uhugo/post_install/providers/netlify.py
akshaybabloo/uHugo-python
647439c829bfbdf1140c6e8f4c81a4c16a903dc4
[ "MIT" ]
18
2021-07-10T06:19:13.000Z
2022-03-11T03:11:01.000Z
uhugo/post_install/providers/netlify.py
akshaybabloo/uHugo
133db0a553f1cb1376eafbd2f56818ef4985ad1a
[ "MIT" ]
null
null
null
from typing import Text from . import ProviderBase class Netlify(ProviderBase): """ Netlify provider """ def update_config_file(self, file_name: Text): """ Updates ``netlify.yaml`` file with Hugo's version :param file_name: Path of ``netlify.yaml`` :return: "...
17.684211
57
0.589286
37
336
5.243243
0.675676
0.082474
0
0
0
0
0
0
0
0
0
0
0.303571
336
18
58
18.666667
0.82906
0.354167
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
e9f7b3d09c46112405f4ff6d80ddf593ffcf085b
179
py
Python
datasets/data_utils/WebCrawler.py
gcy506067668/MLBasicAlgorithm
2149c334ed8d0cf2ad8496bea45e0d6ecd82a4ca
[ "Apache-2.0" ]
null
null
null
datasets/data_utils/WebCrawler.py
gcy506067668/MLBasicAlgorithm
2149c334ed8d0cf2ad8496bea45e0d6ecd82a4ca
[ "Apache-2.0" ]
null
null
null
datasets/data_utils/WebCrawler.py
gcy506067668/MLBasicAlgorithm
2149c334ed8d0cf2ad8496bea45e0d6ecd82a4ca
[ "Apache-2.0" ]
null
null
null
from datasets.data_utils.Crawlers import BaiduPic class WebCrawler: @staticmethod def goToFind(keys, limit=8000): baidu_list = BaiduPic.goToFind(keys, limit)
16.272727
51
0.726257
21
179
6.095238
0.809524
0.1875
0.265625
0
0
0
0
0
0
0
0
0.027778
0.195531
179
10
52
17.9
0.861111
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
e9fae7bce4fb281903642d79f1e285d736e0bf6e
301
py
Python
src/__init__.py
napnel/UoA-thesis-s1260099
dce954b8795c24dc8fbbacb8b7ebdfe101fc01c6
[ "Apache-2.0" ]
null
null
null
src/__init__.py
napnel/UoA-thesis-s1260099
dce954b8795c24dc8fbbacb8b7ebdfe101fc01c6
[ "Apache-2.0" ]
null
null
null
src/__init__.py
napnel/UoA-thesis-s1260099
dce954b8795c24dc8fbbacb8b7ebdfe101fc01c6
[ "Apache-2.0" ]
null
null
null
from ray.rllib.models import ModelCatalog from ray.tune import register_trainable from src.experiments import ExperimentCV from src.models.batch_norm import BatchNormModel ModelCatalog.register_custom_model("batch_norm_model", BatchNormModel) register_trainable(ExperimentCV.__name__, ExperimentCV)
33.444444
70
0.873754
37
301
6.810811
0.486486
0.055556
0
0
0
0
0
0
0
0
0
0
0.07309
301
8
71
37.625
0.903226
0
0
0
0
0
0.053156
0
0
0
0
0
0
1
0
true
0
0.666667
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
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
18172dc7f4fa6bd0c1d1baed655ca4c444bf2eff
3,686
py
Python
main/utils.py
japmeet01/fplmanager-website
c7a533f49acb04ee56876dff8759bb68468b0592
[ "MIT" ]
5
2020-02-07T23:24:05.000Z
2021-07-23T23:37:41.000Z
main/utils.py
japmeet01/fplmanager-website
c7a533f49acb04ee56876dff8759bb68468b0592
[ "MIT" ]
11
2020-01-13T10:02:33.000Z
2022-02-10T14:42:36.000Z
main/utils.py
japmeet01/fplmanager-website
c7a533f49acb04ee56876dff8759bb68468b0592
[ "MIT" ]
11
2020-02-07T23:24:09.000Z
2020-10-16T14:57:54.000Z
OPT_PARAM_CHOICES = [ ('assists', 'Assists'), ('bonus', 'Bonus Points'), ('bps', 'BPS'), ('creativity', 'Creativity'), ('dreamteam_count', 'Dreamteam Count'), ('ep_next', 'xP (Next GW)'), ('ep_this', 'xP (Last GW)'), ('xg_season', 'xG (Season)'), ('form', 'Form'), ('goals_scored'...
115.1875
1,605
0.791915
569
3,686
4.836555
0.205624
0.156977
0.010174
0.016715
0.56468
0.545785
0.524709
0.50218
0.50218
0.50218
0
0.077187
0.051004
3,686
31
1,606
118.903226
0.709548
0
0
0
0
0.068966
0.889582
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1818e9cec5cadc45c5a37692832e48badf56d24c
75
py
Python
front/__init__.py
Joynice/PicGo_Web
11412060176ad8c43812764237940ff5e00b4f20
[ "MIT" ]
5
2019-12-18T13:45:00.000Z
2020-01-30T14:14:22.000Z
front/__init__.py
Joynice/PicGo_Web
11412060176ad8c43812764237940ff5e00b4f20
[ "MIT" ]
1
2021-01-27T09:35:00.000Z
2021-01-27T09:35:00.000Z
front/__init__.py
Joynice/PicGo_Web
11412060176ad8c43812764237940ff5e00b4f20
[ "MIT" ]
1
2020-03-19T05:33:36.000Z
2020-03-19T05:33:36.000Z
# -*- coding: UTF-8 -*- __author__ = 'Joynice' from .views import front_bp
18.75
27
0.666667
10
75
4.5
1
0
0
0
0
0
0
0
0
0
0
0.015873
0.16
75
4
27
18.75
0.698413
0.28
0
0
0
0
0.132075
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1834f27c6d0ce2a4a31d618263ad1ceaff76df5b
55
py
Python
colorslogging/__init__.py
n00B-ToT/colorslogging
551a65ecb6bd8c44dcab42a7f969dbef8992249d
[ "MIT" ]
null
null
null
colorslogging/__init__.py
n00B-ToT/colorslogging
551a65ecb6bd8c44dcab42a7f969dbef8992249d
[ "MIT" ]
null
null
null
colorslogging/__init__.py
n00B-ToT/colorslogging
551a65ecb6bd8c44dcab42a7f969dbef8992249d
[ "MIT" ]
null
null
null
from .colorslogging import * logger = getLogger()
13.75
30
0.690909
5
55
7.6
1
0
0
0
0
0
0
0
0
0
0
0
0.218182
55
3
31
18.333333
0.883721
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
43ea6d2a596feeb4b294bdff7a0c18a4d8980130
812
py
Python
pymdptoolbox_example/pymdp_example.py
haiqinggatech/RLDM-tutorial
befaac693b01f80b27af1bca8383f43cc737bcab
[ "MIT" ]
null
null
null
pymdptoolbox_example/pymdp_example.py
haiqinggatech/RLDM-tutorial
befaac693b01f80b27af1bca8383f43cc737bcab
[ "MIT" ]
null
null
null
pymdptoolbox_example/pymdp_example.py
haiqinggatech/RLDM-tutorial
befaac693b01f80b27af1bca8383f43cc737bcab
[ "MIT" ]
null
null
null
import mdptoolbox.example import numpy as np P, R = mdptoolbox.example.forest(p=0.3, r1=0.3, S=5) prob = np.zeros((2, 5, 5)) prob[0] = [[0.3, 0.7, 0., 0., 0.], [0.3, 0.0, 0.7, 0., 0.], [0.3, 0.0, 0., 0.7, 0.], [0.3, 0.0, 0., 0., 0.7], [0.3, 0.0, 0., 0., 0.7]] prob[1] = [[...
20.820513
55
0.449507
153
812
2.385621
0.196078
0.20274
0.189041
0.120548
0.169863
0.161644
0.156164
0.112329
0.068493
0.068493
0
0.165837
0.257389
812
38
56
21.368421
0.439469
0
0
0.166667
0
0
0
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.2
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
43f04a5c8a069ac80f7a15e86dace017b2a2c29d
353
py
Python
beecrowd-1059.py
jessicabessaoliveira/Python
c4732f5e9528a40721b7c16364e6310e7ed8d490
[ "MIT" ]
null
null
null
beecrowd-1059.py
jessicabessaoliveira/Python
c4732f5e9528a40721b7c16364e6310e7ed8d490
[ "MIT" ]
null
null
null
beecrowd-1059.py
jessicabessaoliveira/Python
c4732f5e9528a40721b7c16364e6310e7ed8d490
[ "MIT" ]
null
null
null
# https://www.beecrowd.com.br/judge/pt/problems/view/1059 ''' Faça um programa que mostre os números pares entre 1 e 100, inclusive. Entrada Neste problema extremamente simples de repetição não há entrada. Saída Imprima todos os números pares entre 1 e 100, inclusive se for o caso, um em cada linha. ''' for i in ra...
23.533333
88
0.728045
61
353
4.213115
0.786885
0.070039
0.108949
0.14786
0.256809
0.256809
0.256809
0.256809
0
0
0
0.059028
0.184136
353
15
89
23.533333
0.833333
0.84136
0
0
0
0
0
0
0
0
0
0.066667
0
1
0
false
0
0
0
0
0.5
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
1
0
0
0
0
0
0
0
0
1
0
3
a11c55a5692af12aa1a31ab2c407e8ef65d4989f
296
py
Python
chi/reservation_api_examples.py
ChameleonCloud/python-chi
82c926f5dd50501b6d893ed33ebd48ed7f1565a1
[ "Apache-2.0" ]
null
null
null
chi/reservation_api_examples.py
ChameleonCloud/python-chi
82c926f5dd50501b6d893ed33ebd48ed7f1565a1
[ "Apache-2.0" ]
13
2021-01-25T19:47:06.000Z
2021-09-02T16:03:31.000Z
chi/reservation_api_examples.py
ChameleonCloud/python-chi
82c926f5dd50501b6d893ed33ebd48ed7f1565a1
[ "Apache-2.0" ]
1
2020-03-16T17:02:24.000Z
2020-03-16T17:02:24.000Z
# DEPRECATED # This module is an alias to the lease module and should not be used. # It is temporarily left in place so that existing references do not break. from .lease import * print(""" The 'reservation_api_examples' module is deprecated! Use the 'lease' module directly going forward. """)
29.6
75
0.760135
46
296
4.847826
0.76087
0.071749
0.125561
0
0
0
0
0
0
0
0
0
0.168919
296
9
76
32.888889
0.906504
0.513514
0
0
0
0
0.721429
0.185714
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0.2
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
a1234d7b39168bb8c82ba43fc67d3259afe36fd8
99
py
Python
testing/__init__.py
HAMZA310/jupyter-testing
8e00c2fdfae57f5fce4afc957210e892a87ab54b
[ "MIT" ]
1
2020-03-04T18:26:39.000Z
2020-03-04T18:26:39.000Z
testing/__init__.py
HAMZA310/jupyter-testing
8e00c2fdfae57f5fce4afc957210e892a87ab54b
[ "MIT" ]
null
null
null
testing/__init__.py
HAMZA310/jupyter-testing
8e00c2fdfae57f5fce4afc957210e892a87ab54b
[ "MIT" ]
9
2019-11-24T22:59:06.000Z
2021-04-27T10:11:42.000Z
import testing.testing as testing # Compatibility from .testing import TestImpl test = TestImpl()
19.8
49
0.79798
12
99
6.583333
0.583333
0
0
0
0
0
0
0
0
0
0
0
0.141414
99
4
50
24.75
0.929412
0.131313
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
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
a12f05cc7cb6c2c3aa20af299ad790a8f562d672
433
py
Python
2017/day4.py
rboulton/adventofcode
dcb8270113cabd950a61db744ce2c817239431c4
[ "MIT" ]
null
null
null
2017/day4.py
rboulton/adventofcode
dcb8270113cabd950a61db744ce2c817239431c4
[ "MIT" ]
null
null
null
2017/day4.py
rboulton/adventofcode
dcb8270113cabd950a61db744ce2c817239431c4
[ "MIT" ]
null
null
null
import sys def has_duplicates(phrase): words = phrase.split() already_seen = set() for word in words: if word in already_seen: return True already_seen.add(word) return False def phrase_is_valid(phrase): return not has_duplicates(phrase) def count_valid(phrases): ...
22.789474
66
0.690531
63
433
4.571429
0.47619
0.114583
0.131944
0.131944
0
0
0
0
0
0
0
0.005917
0.2194
433
19
67
22.789474
0.846154
0
0
0
0
0
0
0
0
0
0
0
0
1
0.214286
false
0
0.071429
0.142857
0.571429
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a1478bbcbd7ef070683e730203fd098720ed8d6d
22
py
Python
unload/__init__.py
okxjd/processing_ng
accc304d2a2606f1fa09872d5020bde11389299c
[ "MIT" ]
null
null
null
unload/__init__.py
okxjd/processing_ng
accc304d2a2606f1fa09872d5020bde11389299c
[ "MIT" ]
null
null
null
unload/__init__.py
okxjd/processing_ng
accc304d2a2606f1fa09872d5020bde11389299c
[ "MIT" ]
null
null
null
__all__ = ['Unload']
11
21
0.590909
2
22
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.181818
22
1
22
22
0.5
0
0
0
0
0
0.285714
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
a16b9e02aca9326d7ae270cb382b29ba4e49c737
617
py
Python
asyncio_run_in_process/exceptions.py
vaporydev/asyncio-run-in-process
0ebfcea6ce9f0ae50abe7bf98d4c2d3783b4e86b
[ "MIT" ]
12
2019-11-06T00:46:52.000Z
2021-11-04T14:10:13.000Z
asyncio_run_in_process/exceptions.py
vaporydev/asyncio-run-in-process
0ebfcea6ce9f0ae50abe7bf98d4c2d3783b4e86b
[ "MIT" ]
20
2019-11-05T20:19:44.000Z
2020-12-17T15:57:41.000Z
asyncio_run_in_process/exceptions.py
vaporydev/asyncio-run-in-process
0ebfcea6ce9f0ae50abe7bf98d4c2d3783b4e86b
[ "MIT" ]
6
2019-11-05T19:36:53.000Z
2021-11-04T14:10:02.000Z
class BaseRunInProcessException(Exception): pass class ProcessKilled(BaseRunInProcessException): pass class InvalidState(BaseRunInProcessException): pass class ChildCancelled(BaseRunInProcessException): pass class UnpickleableValue(BaseRunInProcessException): pass class InvalidDataFromChil...
21.275862
97
0.771475
62
617
7.677419
0.709677
0.094538
0.285714
0
0
0
0
0
0
0
0
0.003891
0.166937
617
28
98
22.035714
0.922179
0.371151
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
a182ed15888bcee153672b37db397f60a95e1514
2,431
py
Python
paymill/paymill_context.py
cruncher/pymill
dc4213f75a0581414d063f729edb91f6308dca84
[ "MIT" ]
null
null
null
paymill/paymill_context.py
cruncher/pymill
dc4213f75a0581414d063f729edb91f6308dca84
[ "MIT" ]
null
null
null
paymill/paymill_context.py
cruncher/pymill
dc4213f75a0581414d063f729edb91f6308dca84
[ "MIT" ]
null
null
null
# coding=utf-8 __author__ = 'yalnazov' from .utils import http_client from .services import client_service from .services import offer_service from .services import payment_service from .services import preauthorization_service from .services import refund_service from .services import subscription_service from .servic...
37.4
106
0.752777
290
2,431
6.017241
0.231034
0.068768
0.080229
0.108309
0.025215
0
0
0
0
0
0
0.001505
0.179761
2,431
64
107
37.984375
0.873621
0.075278
0
0
0
0
0.016721
0
0
0
0
0
0
1
0.232558
false
0
0.232558
0.209302
0.697674
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
a1b5a23bfa7682357b468924c6d5ea09e2cf42ea
907
py
Python
src/sima/riflex/loadformulation.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/riflex/loadformulation.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/riflex/loadformulation.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
# Generated with LoadFormulation # from enum import Enum from enum import auto class LoadFormulation(Enum): """""" MORISON = auto() MACCAMY_FUCHS = auto() POTN = auto() TVIV = auto() MORISON_PART_SUB = auto() NET = auto() NONE = auto() def label(self): if self == LoadFormu...
30.233333
73
0.611907
95
907
5.778947
0.368421
0.076503
0.26776
0.102004
0
0
0
0
0
0
0
0
0.302095
907
30
74
30.233333
0.867299
0.033076
0
0
1
0
0.175115
0
0
0
0
0
0
1
0.04
false
0
0.08
0
0.72
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
a1ce5f7ec0be1140efad6ea0e31ce19b5a43044e
245
py
Python
odin/contrib/pint/units.py
thedrow/odin
2d360057eefd66cdb6b4d4612c8c5344d924f9ff
[ "BSD-3-Clause" ]
22
2016-07-12T12:46:54.000Z
2022-01-18T20:48:48.000Z
odin/contrib/pint/units.py
thedrow/odin
2d360057eefd66cdb6b4d4612c8c5344d924f9ff
[ "BSD-3-Clause" ]
86
2015-09-27T14:28:55.000Z
2021-09-06T03:11:33.000Z
odin/contrib/pint/units.py
thedrow/odin
2d360057eefd66cdb6b4d4612c8c5344d924f9ff
[ "BSD-3-Clause" ]
7
2015-09-27T14:26:08.000Z
2021-10-06T22:03:03.000Z
# -*- coding: utf-8 -*- try: from pint import UnitRegistry except ImportError: raise ImportError("The pint package is not installed, please install this library to use quantity fields.") # Common unit registry registry = UnitRegistry()
27.222222
111
0.738776
31
245
5.83871
0.870968
0
0
0
0
0
0
0
0
0
0
0.004951
0.17551
245
8
112
30.625
0.891089
0.171429
0
0
0
0
0.43
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
b81f9a783686bb52902c95bed3c630a2b21f35d3
17,567
py
Python
app/schemas/yolov5.py
wiki-yu/fastapi-algorithm-library
8f745e9fe4d1d063dc8505d4c7f467e95209a385
[ "MIT" ]
null
null
null
app/schemas/yolov5.py
wiki-yu/fastapi-algorithm-library
8f745e9fe4d1d063dc8505d4c7f467e95209a385
[ "MIT" ]
null
null
null
app/schemas/yolov5.py
wiki-yu/fastapi-algorithm-library
8f745e9fe4d1d063dc8505d4c7f467e95209a385
[ "MIT" ]
null
null
null
from typing import Optional, List from pydantic import BaseModel class Yolov5InputData(BaseModel): """Shared properties while creating or reading data""" data: Optional[str] = None class Yolov5Response(BaseModel): """Properties to return to client""" model_weights: str filenames: List[str] r...
42.63835
101
0.183526
631
17,567
5.061807
0.231379
0.051659
0.03444
0.055103
0.461177
0.446775
0.434252
0.407326
0.393237
0.330307
0
0.219365
0.736608
17,567
411
102
42.742092
0.470931
0.004497
0
0.411471
0
0
0.11558
0
0
0
0
0
0
1
0
false
0
0.004988
0
0.024938
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
1
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
629f072c44a502ba2e3d2445f605f0742f61a852
45
py
Python
marathon/cached.py
adrianchifor/run-marathon
60040447358536d54c7721bb2d3e6ac6fc9fbce1
[ "Apache-2.0" ]
8
2019-12-18T06:47:24.000Z
2020-01-23T17:46:59.000Z
marathon/cached.py
adrianchifor/run-marathon
60040447358536d54c7721bb2d3e6ac6fc9fbce1
[ "Apache-2.0" ]
null
null
null
marathon/cached.py
adrianchifor/run-marathon
60040447358536d54c7721bb2d3e6ac6fc9fbce1
[ "Apache-2.0" ]
1
2021-09-14T15:05:22.000Z
2021-09-14T15:05:22.000Z
#!/usr/bin/env python3 marathon_config = {}
11.25
22
0.688889
6
45
5
1
0
0
0
0
0
0
0
0
0
0
0.025641
0.133333
45
3
23
15
0.74359
0.466667
0
0
0
0
0
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
62a0f26d5ec7c0de138aa6a121efec95d68c76b6
381
py
Python
Dataset/Leetcode/valid/7/14.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/7/14.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/7/14.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: def XXX(self, x: int) -> int: if -10 < x <10: return x else: str_x = str(x) if str_x[0] != "-": str_x = str_x[::-1] x = int(str_x) else : str_x = str_x[:0:-1] x = -int(str...
25.4
55
0.380577
51
381
2.686275
0.313725
0.262774
0.153285
0.175182
0.313869
0.189781
0
0
0
0
0
0.151042
0.496063
381
14
56
27.214286
0.5625
0
0
0.153846
0
0
0.002632
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
62b31d35902514e7943072ccef7a6e9eaf398543
227
py
Python
pyconde/lightningtalks/admin.py
EuroPython/djep
afcccbdda483e5f6962ac97f0dc4c4c5ea67fd21
[ "BSD-3-Clause" ]
5
2015-01-02T14:33:14.000Z
2021-08-03T10:19:07.000Z
pyconde/lightningtalks/admin.py
EuroPython/djep
afcccbdda483e5f6962ac97f0dc4c4c5ea67fd21
[ "BSD-3-Clause" ]
null
null
null
pyconde/lightningtalks/admin.py
EuroPython/djep
afcccbdda483e5f6962ac97f0dc4c4c5ea67fd21
[ "BSD-3-Clause" ]
3
2015-08-30T09:45:03.000Z
2017-04-08T12:15:22.000Z
from django.contrib import admin from . import models class LightningTalkAdmin(admin.ModelAdmin): list_display = ['title',] raw_id_fields = ('speakers',) admin.site.register(models.LightningTalk, LightningTalkAdmin)
22.7
61
0.76652
25
227
6.84
0.76
0
0
0
0
0
0
0
0
0
0
0
0.127753
227
10
61
22.7
0.863636
0
0
0
0
0
0.057018
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.833333
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
62c571a920ee445739828d6530b3e8031e725100
12,079
py
Python
tests/query/test_query_api.py
rafaelschlatter/TSIClient
2728df22fd1c69c0f08980f5c4bc4eaa358f245c
[ "MIT" ]
null
null
null
tests/query/test_query_api.py
rafaelschlatter/TSIClient
2728df22fd1c69c0f08980f5c4bc4eaa358f245c
[ "MIT" ]
null
null
null
tests/query/test_query_api.py
rafaelschlatter/TSIClient
2728df22fd1c69c0f08980f5c4bc4eaa358f245c
[ "MIT" ]
1
2020-01-30T07:37:08.000Z
2020-01-30T07:37:08.000Z
import pytest import requests import pandas as pd from TSIClient.exceptions import TSIQueryError, TSIStoreError from tests.mock_responses import MockURLs, MockResponses class TestQueryApi: def test__getVariableAggregate_with_no_aggregate_returns_None_and_getSeries( self, client ): requestType ...
40.945763
92
0.639043
1,200
12,079
6.188333
0.111667
0.027471
0.037032
0.043765
0.773768
0.755184
0.716536
0.679639
0.652437
0.652437
0
0.078104
0.261197
12,079
294
93
41.085034
0.754034
0
0
0.588933
0
0
0.151254
0.068797
0
0
0
0
0.15415
1
0.075099
false
0
0.019763
0
0.098814
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
62cc50092a1d0f32cc1c0396ed829aaae1a46b0a
706
py
Python
apps/students/form.py
bigyanlamsal/school
fc05ba1fc3dfa777e632abe7d5d7c9bc5f7d831b
[ "MIT" ]
null
null
null
apps/students/form.py
bigyanlamsal/school
fc05ba1fc3dfa777e632abe7d5d7c9bc5f7d831b
[ "MIT" ]
null
null
null
apps/students/form.py
bigyanlamsal/school
fc05ba1fc3dfa777e632abe7d5d7c9bc5f7d831b
[ "MIT" ]
null
null
null
from django import forms from .models import Notice_info, Vacancy_info, Carousel_info , Administration_info class NoticesForm(forms.ModelForm): class Meta: model = Notice_info fields= ['title', 'detail', 'passport', 'date'] class VacancyForm(forms.ModelForm): class Meta: model = Vacanc...
32.090909
82
0.672805
75
706
6.16
0.413333
0.121212
0.164502
0.199134
0.242424
0
0
0
0
0
0
0
0.212465
706
22
83
32.090909
0.830935
0
0
0.222222
0
0
0.169731
0
0
0
0
0
0
1
0
false
0.055556
0.111111
0
0.555556
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
62fdf0eb2c4ce311a9bbaf4cb91e3fdd909d3f97
139
py
Python
mysterious-mice/spacebook/game/urls.py
Vthechamp22/summer-code-jam-2021
0a8bf1f22f6c73300891fd779da36efd8e1304c1
[ "MIT" ]
40
2020-08-02T07:38:22.000Z
2021-07-26T01:46:50.000Z
mysterious-mice/spacebook/game/urls.py
Vthechamp22/summer-code-jam-2021
0a8bf1f22f6c73300891fd779da36efd8e1304c1
[ "MIT" ]
134
2020-07-31T12:15:45.000Z
2020-12-13T04:42:19.000Z
mysterious-mice/spacebook/game/urls.py
Vthechamp22/summer-code-jam-2021
0a8bf1f22f6c73300891fd779da36efd8e1304c1
[ "MIT" ]
101
2020-07-31T12:00:47.000Z
2021-11-01T09:06:58.000Z
from django.urls import path from .views import GameView app_name = "game" urlpatterns = [path("game/", GameView.as_view(), name="game")]
23.166667
62
0.726619
20
139
4.95
0.65
0.161616
0
0
0
0
0
0
0
0
0
0
0.122302
139
5
63
27.8
0.811475
0
0
0
0
0
0.093525
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1a02d91ee6bb3613c604fffdcf07f2f83043d841
611
py
Python
puzz/utils.py
Shathra/puzzlib
98c63e69cb6c3de0aa3167a8834c224f7f25f6a7
[ "BSD-2-Clause" ]
1
2016-06-19T04:25:35.000Z
2016-06-19T04:25:35.000Z
puzz/utils.py
Shathra/puzzlib
98c63e69cb6c3de0aa3167a8834c224f7f25f6a7
[ "BSD-2-Clause" ]
null
null
null
puzz/utils.py
Shathra/puzzlib
98c63e69cb6c3de0aa3167a8834c224f7f25f6a7
[ "BSD-2-Clause" ]
null
null
null
from itertools import izip def add( a, b): return tuple(x + y for x, y in izip(a, b)) def sub( a, b): return tuple(x - y for x, y in izip(a, b)) def _get_file( mode, filepath = None, fd = None): if fd is None and filepath is None: raise ValueError('_get_file function requires a valid file parameter') if fd is...
20.366667
72
0.631751
107
611
3.514019
0.420561
0.021277
0.042553
0.069149
0.164894
0.164894
0.164894
0.164894
0.164894
0.164894
0
0.010417
0.214403
611
30
73
20.366667
0.772917
0
0
0
0
0
0.089869
0
0
0
0
0
0
1
0.3
false
0
0.05
0.15
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1a21fd4f479d7b3c690f664e51c59e57af8f6ca0
452
py
Python
tesliper/extraction/__init__.py
mishioo/tesliper
e09dcbc0eeb5cc5f7d612ea7f913e4c5dd58a327
[ "BSD-2-Clause" ]
null
null
null
tesliper/extraction/__init__.py
mishioo/tesliper
e09dcbc0eeb5cc5f7d612ea7f913e4c5dd58a327
[ "BSD-2-Clause" ]
4
2022-02-24T18:28:39.000Z
2022-03-23T16:27:59.000Z
tesliper/extraction/__init__.py
mishioo/tesliper
e09dcbc0eeb5cc5f7d612ea7f913e4c5dd58a327
[ "BSD-2-Clause" ]
null
null
null
"""Classes for reading and parsing files. Abstract Base Class for parsers, as well as concrete parser implementations are defined in this subpackage. It also contains a :class:`.Soxhlet` class that is designed to orchestrate batch data extraction. """ from .gaussian_parser import GaussianParser from .parameters_parser...
37.666667
87
0.827434
61
452
6.065574
0.688525
0.097297
0
0
0
0
0
0
0
0
0
0
0.128319
452
11
88
41.090909
0.939086
0.542035
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
1a2dffa88088da791af182c836fa73f430e6f1ee
1,453
py
Python
scripts/helpers/environment_checks.py
mrhappyasthma/HappyDebugging
06cacd926570f1bbc35943ef864c3b26231eabd8
[ "MIT" ]
2
2018-08-27T22:44:03.000Z
2020-09-12T21:07:03.000Z
scripts/helpers/environment_checks.py
mrhappyasthma/HappyDebugging
06cacd926570f1bbc35943ef864c3b26231eabd8
[ "MIT" ]
16
2018-02-12T20:12:52.000Z
2019-11-13T23:36:44.000Z
scripts/helpers/environment_checks.py
mrhappyasthma/HappyDebugging
06cacd926570f1bbc35943ef864c3b26231eabd8
[ "MIT" ]
null
null
null
class EnvironmentChecks: """A class of utility methods for checking the Target/Build environment.""" @classmethod def _getArchitectureFromTarget(cls, target): """Parses the architecture from a given SBTarget. @param target An SBTarget instance. """ # Format of the triple is `arch-vendor-os` (e.g...
31.586957
85
0.740537
147
1,453
7.278912
0.353742
0.117757
0.11215
0.134579
0.345794
0.278505
0.095327
0.095327
0
0
0
0.035628
0.150034
1,453
45
86
32.288889
0.830769
0.154852
0
0.3
0
0
0.017384
0
0
0
0
0
0
1
0.3
false
0
0
0.266667
0.633333
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
a7eda8cbc3864c39f5ca49e99517443caaf558d3
1,258
py
Python
demos/19.01.16/8am/string_formatting.py
joeparis/CS161-Demos-Winter-19
613a93de9169fa4ee62538ff0ac93a9930b75fef
[ "MIT" ]
null
null
null
demos/19.01.16/8am/string_formatting.py
joeparis/CS161-Demos-Winter-19
613a93de9169fa4ee62538ff0ac93a9930b75fef
[ "MIT" ]
null
null
null
demos/19.01.16/8am/string_formatting.py
joeparis/CS161-Demos-Winter-19
613a93de9169fa4ee62538ff0ac93a9930b75fef
[ "MIT" ]
null
null
null
#! /usr/bin/python3 # coding=utf-8 """ A quick and dirty review of Python print() formatting. """ name = "Joe" answer = 42 PI = 3.14 ### "old-school method" ### # print("Hello %s" % name) # print("Hello %s %s" % (name, answer)) # print("Hello %s %d" % (name, answer)) # print("Hello %s %4d" % (name, answer)) # print...
32.25641
81
0.608903
204
1,258
3.754902
0.205882
0.182768
0.172324
0.208877
0.630548
0.502611
0.407311
0.342037
0.272846
0.122715
0
0.031835
0.151033
1,258
38
82
33.105263
0.685393
0.655803
0
0.2
0
0.1
0.654731
0
0
0
0
0
0
1
0
false
0
0
0
0
0.7
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
c5150c9bfed12d75eec52085f9fa3094ad60cb76
219
py
Python
customlogging/constants.py
Lumidatum/customlogging
93551b10c1b763bf23813f6fa8a6e1ef37bb101d
[ "MIT" ]
null
null
null
customlogging/constants.py
Lumidatum/customlogging
93551b10c1b763bf23813f6fa8a6e1ef37bb101d
[ "MIT" ]
null
null
null
customlogging/constants.py
Lumidatum/customlogging
93551b10c1b763bf23813f6fa8a6e1ef37bb101d
[ "MIT" ]
null
null
null
LOCAL_PLAIN_TEXT_FILE = 1 LOCAL_JSON_FILE = 2 LOCAL_SQLLITE3 = 3 S3_PLAIN_TEXT_FILE = 4 S3_JSON_FILE = 5 REMOTE_COUCH_DB = 6 MODEL_API_STATUS_UP = 'MODEL_API_STATUS_UP' MODEL_API_STATUS_DOWN = 'MODEL_API_STATUS_DOWN'
19.909091
47
0.826484
41
219
3.804878
0.512195
0.205128
0.358974
0.205128
0.294872
0.294872
0.294872
0
0
0
0
0.046632
0.118721
219
10
48
21.9
0.761658
0
0
0
0
0
0.182648
0.09589
0
0
0
0
0
1
0
false
0
0
0
0
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
c52722148a2a845d131f12b56e2b145190cf4bba
719
py
Python
snr/core/tasks.py
sfshaw/SNR
593b7b78a91e23e0fcb03985b72f29a66101579c
[ "MIT" ]
1
2021-03-09T21:54:56.000Z
2021-03-09T21:54:56.000Z
snr/core/tasks.py
sfshaw-calpoly/SNR
593b7b78a91e23e0fcb03985b72f29a66101579c
[ "MIT" ]
null
null
null
snr/core/tasks.py
sfshaw-calpoly/SNR
593b7b78a91e23e0fcb03985b72f29a66101579c
[ "MIT" ]
1
2021-12-04T19:51:18.000Z
2021-12-04T19:51:18.000Z
from typing import Any, List from snr.prelude import * ADD_COMPONENT_TASK_NAME: TaskName = "add_component" REMOVE_ENDPOINT_TASK_NAME: TaskName = "remove_endpoint" def event(name: str, val_list: List[Any] = []) -> Task: return Task(TaskType.event, name, val_list=val_list) def re...
24.793103
55
0.625869
82
719
5.280488
0.341463
0.110855
0.096998
0.152425
0.115473
0
0
0
0
0
0
0
0.275382
719
28
56
25.678571
0.831094
0
0
0
0
0
0.057024
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.222222
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
0
1
1
0
0
3
c553de82471bca7af00a1a8c95bbbfcc0d9867be
1,401
py
Python
aiovk/exceptions.py
Termonoid/aiovk
cc4275cf027054b151936c7abcebd716682d770a
[ "MIT" ]
113
2016-07-08T15:19:13.000Z
2022-03-24T10:58:40.000Z
aiovk2/exceptions.py
alexanderlarin/aiovk2
320a974d7c0d886579c041be42ef3b954086b9b8
[ "MIT" ]
40
2016-08-07T16:33:41.000Z
2022-01-20T11:47:23.000Z
aiovk2/exceptions.py
alexanderlarin/aiovk2
320a974d7c0d886579c041be42ef3b954086b9b8
[ "MIT" ]
49
2016-07-14T00:08:07.000Z
2022-01-08T20:30:31.000Z
from urllib.parse import urlencode CAPTCHA_IS_NEEDED = 14 AUTHORIZATION_FAILED = 5 # invalid access token class VkException(Exception): pass class VkAuthError(VkException): def __init__(self, error, description, url='', params=''): self.error = error self.description = description ...
26.433962
97
0.65025
165
1,401
5.278788
0.375758
0.072331
0.082664
0.101033
0.373134
0.342135
0.342135
0.342135
0.342135
0.342135
0
0.002804
0.23626
1,401
52
98
26.942308
0.811215
0.014276
0
0.457143
0
0
0.138506
0
0
0
0
0
0
1
0.228571
false
0.028571
0.028571
0.114286
0.542857
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
c5657079b338cccc8e5d7010bf817e347f462ced
818
py
Python
frappe-bench/apps/erpnext/erpnext/patches/v7_0/setup_account_table_for_expense_claim_type_if_exists.py
Semicheche/foa_frappe_docker
a186b65d5e807dd4caf049e8aeb3620a799c1225
[ "MIT" ]
1
2021-04-29T14:55:29.000Z
2021-04-29T14:55:29.000Z
frappe-bench/apps/erpnext/erpnext/patches/v7_0/setup_account_table_for_expense_claim_type_if_exists.py
Semicheche/foa_frappe_docker
a186b65d5e807dd4caf049e8aeb3620a799c1225
[ "MIT" ]
null
null
null
frappe-bench/apps/erpnext/erpnext/patches/v7_0/setup_account_table_for_expense_claim_type_if_exists.py
Semicheche/foa_frappe_docker
a186b65d5e807dd4caf049e8aeb3620a799c1225
[ "MIT" ]
1
2021-04-29T14:39:01.000Z
2021-04-29T14:39:01.000Z
from __future__ import unicode_literals import frappe def execute(): frappe.reload_doc("hr", "doctype", "expense_claim_type") frappe.reload_doc("hr", "doctype", "expense_claim_account") if not frappe.db.has_column('Expense Claim Type', 'default_account'): return for expense_claim_type in frappe.get_all("Expens...
40.9
100
0.761614
111
818
5.288288
0.369369
0.224872
0.272572
0.195911
0.424191
0.321976
0.258944
0
0
0
0
0
0.111247
818
20
101
40.9
0.807428
0
0
0
0
0
0.239316
0.025641
0
0
0
0
0
1
0.058824
false
0
0.117647
0
0.235294
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
3d6c293ce6d249649607b5a75bf4f3d56ed2d0c4
10,378
py
Python
ambari-server/src/main/resources/stacks/service_advisor.py
gcxtx/ambari
133d9c4661b21182482c25f96c3f0bf0a9740a9f
[ "Apache-2.0" ]
1
2021-05-06T06:24:04.000Z
2021-05-06T06:24:04.000Z
ambari-server/src/main/resources/stacks/service_advisor.py
gcxtx/ambari
133d9c4661b21182482c25f96c3f0bf0a9740a9f
[ "Apache-2.0" ]
null
null
null
ambari-server/src/main/resources/stacks/service_advisor.py
gcxtx/ambari
133d9c4661b21182482c25f96c3f0bf0a9740a9f
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env ambari-python-wrap """ 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...
41.678715
141
0.745038
1,199
10,378
6.409508
0.282736
0.027066
0.01093
0.011061
0.187508
0.1473
0.1054
0.057254
0.048406
0.048406
0
0.003367
0.169975
10,378
248
142
41.846774
0.888786
0.093371
0
0.2
0
0
0.087421
0.009991
0
0
0
0
0
1
0.275
false
0.025
0
0.15
0.55
0.0375
0
0
0
null
0
0
0
0
0
0
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
3d70bb1cf9fea03504245552a793b147c23a9ca7
118
py
Python
gym_snake/__init__.py
Psychofun/Snake-Gym
59646ef2213e4cc2a68e238d010f5e9f25826951
[ "MIT" ]
null
null
null
gym_snake/__init__.py
Psychofun/Snake-Gym
59646ef2213e4cc2a68e238d010f5e9f25826951
[ "MIT" ]
1
2020-05-09T20:27:33.000Z
2020-05-09T20:27:33.000Z
gym_snake/__init__.py
Psychofun/Snake-Gym
59646ef2213e4cc2a68e238d010f5e9f25826951
[ "MIT" ]
null
null
null
from gym.envs.registration import register register( id='snake-v0', entry_point='gym_snake.envs:SnakeEnv', )
16.857143
42
0.728814
16
118
5.25
0.75
0
0
0
0
0
0
0
0
0
0
0.009901
0.144068
118
6
43
19.666667
0.821782
0
0
0
0
0
0.262712
0.194915
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
3d716102f07e6eca0ea4c4562e184db27b6fe045
261
py
Python
Helpers/Colors.py
RaitzeR/VAL
e9c3950e02028c0c38d8313460c50f060a3f4eb5
[ "MIT" ]
2
2017-05-15T13:23:04.000Z
2018-02-15T15:37:16.000Z
Helpers/Colors.py
RaitzeR/VAL
e9c3950e02028c0c38d8313460c50f060a3f4eb5
[ "MIT" ]
null
null
null
Helpers/Colors.py
RaitzeR/VAL
e9c3950e02028c0c38d8313460c50f060a3f4eb5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from typing import Tuple COLORS = {'white': (255, 255, 255), 'red': (255, 0, 0), 'blue': (0, 0, 255), 'silver': (192, 192, 192), 'black': (0, 0, 0)} def getColor(color: str) -> Tuple[int, int, int]: return COLORS[color]
26.1
103
0.54023
39
261
3.615385
0.564103
0.056738
0
0
0
0
0
0
0
0
0
0.156863
0.218391
261
9
104
29
0.534314
0.08046
0
0
0
0
0.096639
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
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
0
1
1
0
0
3
3d7a8fecd9939e71457b73fa78f06b517cc88d4e
794
py
Python
core/src/zeit/cms/content/davtoken.py
rickdg/vivi
16134ac954bf8425646d4ad47bdd1f372e089355
[ "BSD-3-Clause" ]
5
2019-05-16T09:51:29.000Z
2021-05-31T09:30:03.000Z
core/src/zeit/cms/content/davtoken.py
rickdg/vivi
16134ac954bf8425646d4ad47bdd1f372e089355
[ "BSD-3-Clause" ]
107
2019-05-24T12:19:02.000Z
2022-03-23T15:05:56.000Z
core/src/zeit/cms/content/davtoken.py
rickdg/vivi
16134ac954bf8425646d4ad47bdd1f372e089355
[ "BSD-3-Clause" ]
3
2020-08-14T11:01:17.000Z
2022-01-08T17:32:19.000Z
import six import zeit.cms.content.interfaces import zeit.cms.interfaces import zope.component import zope.interface @zope.component.adapter(bool) @zope.interface.implementer(zeit.cms.content.interfaces.IDAVToken) def fromBool(value): if value: return 'yes' return 'no' @zope.component.adapter(type(N...
24.060606
66
0.775819
103
794
5.970874
0.349515
0.079675
0.113821
0.195122
0.390244
0.390244
0.390244
0.390244
0.390244
0
0
0
0.108312
794
32
67
24.8125
0.868644
0.039043
0
0.173913
0
0
0.00657
0
0
0
0
0
0
1
0.173913
false
0
0.217391
0.130435
0.608696
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3