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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b3d5c6b0799acb59e7f97ded14237449e0204389
| 74
|
py
|
Python
|
cvat/apps/authentication/__init__.py
|
syonekura/cvat
|
c579ba2319f967f09ab2bf080e357b2bde7180dd
|
[
"MIT"
] | 1
|
2022-01-18T16:08:34.000Z
|
2022-01-18T16:08:34.000Z
|
cvat/apps/authentication/__init__.py
|
syonekura/cvat
|
c579ba2319f967f09ab2bf080e357b2bde7180dd
|
[
"MIT"
] | null | null | null |
cvat/apps/authentication/__init__.py
|
syonekura/cvat
|
c579ba2319f967f09ab2bf080e357b2bde7180dd
|
[
"MIT"
] | null | null | null |
default_app_config = 'cvat.apps.authentication.apps.AuthenticationConfig'
| 37
| 73
| 0.864865
| 8
| 74
| 7.75
| 0.875
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.040541
| 74
| 1
| 74
| 74
| 0.873239
| 0
| 0
| 0
| 0
| 0
| 0.675676
| 0.675676
| 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
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
b604a1f80096bd8401b26de7cfeb493886bb04b8
| 847
|
py
|
Python
|
notebooks/organism/canine/common.py
|
tomwhite/gwas-analysis
|
5b219607b8311722f16f7df8a8aad09ba69dc448
|
[
"Apache-2.0"
] | 19
|
2020-03-18T01:06:58.000Z
|
2022-02-06T19:59:30.000Z
|
notebooks/organism/canine/common.py
|
tomwhite/gwas-analysis
|
5b219607b8311722f16f7df8a8aad09ba69dc448
|
[
"Apache-2.0"
] | 39
|
2020-01-20T19:50:19.000Z
|
2021-01-07T19:01:48.000Z
|
notebooks/organism/canine/common.py
|
tomwhite/gwas-analysis
|
5b219607b8311722f16f7df8a8aad09ba69dc448
|
[
"Apache-2.0"
] | 5
|
2020-03-13T20:47:24.000Z
|
2022-01-13T09:43:35.000Z
|
import pandas as pd
import os.path as osp
import json
def load_reference_genome(path):
with open(path, 'r') as fd:
return json.load(fd)
def get_bim(data_dir, data_file):
return pd.read_csv(
osp.join(data_dir, data_file + '.bim'), sep='\s+', header=None,
names=['contig', 'snp', 'pos', 'locus', 'alt', 'ref'])
def get_fam(data_dir, data_file):
return pd.read_csv(
osp.join(data_dir, data_file + '.fam'), sep='\s+', header=None,
names=['fid', 'iid', 'iid_paternal', 'iid_maternal', 'sex', 'pheno'])
def get_breed(df_ref_fam):
return df_ref_fam['fid'].str.split('[-_]').str[0]
def get_breed_info(data_dir, data_file):
df = pd.read_excel(osp.join(data_dir, data_file), sheet_name=0)
df = df.rename(columns=lambda c: c.lower()).rename(columns={'abrev.': 'abbr'})
return df
| 33.88
| 82
| 0.637544
| 136
| 847
| 3.75
| 0.433824
| 0.082353
| 0.129412
| 0.176471
| 0.321569
| 0.247059
| 0.203922
| 0.203922
| 0.203922
| 0.203922
| 0
| 0.002878
| 0.179457
| 847
| 25
| 83
| 33.88
| 0.730935
| 0
| 0
| 0.1
| 0
| 0
| 0.10967
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.15
| 0.15
| 0.65
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
37524d14de45aed8fdb9d33c4e2f54cfc956b1d1
| 907
|
py
|
Python
|
lib/systems/thymine.py
|
pulsar-chem/BPModule
|
f8e64e04fdb01947708f098e833600c459c2ff0e
|
[
"BSD-3-Clause"
] | null | null | null |
lib/systems/thymine.py
|
pulsar-chem/BPModule
|
f8e64e04fdb01947708f098e833600c459c2ff0e
|
[
"BSD-3-Clause"
] | null | null | null |
lib/systems/thymine.py
|
pulsar-chem/BPModule
|
f8e64e04fdb01947708f098e833600c459c2ff0e
|
[
"BSD-3-Clause"
] | null | null | null |
import pulsar as psr
def load_ref_system():
""" Returns thymine as found in the IQMol fragment library.
All credit to https://github.com/nutjunkie/IQmol
"""
return psr.make_system("""
C 1.2968 0.1931 -0.0745
C 1.0973 -1.1460 -0.0338
N -0.1920 -1.6945 0.0478
C -1.3449 -0.8600 0.0919
N -1.1526 0.5437 0.0518
C 0.1547 1.1225 -0.0321
O -2.4624 -1.3576 0.1626
C 2.6589 0.7724 -0.1648
O 0.1900 2.3418 -0.0598
H 1.9295 -1.8636 -0.0624
H -0.3064 -2.6823 0.0746
H -1.9604 1.1307 0.0834
H 3.4393 0.0002 -0.1449
H 2.8463 1.4610 0.6704
H 2.7763 1.3444 -1.0955
""")
| 39.434783
| 63
| 0.418964
| 134
| 907
| 2.813433
| 0.58209
| 0.015915
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.478723
| 0.481808
| 907
| 22
| 64
| 41.227273
| 0.323404
| 0.114664
| 0
| 0
| 0
| 0
| 0.89272
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.052632
| true
| 0
| 0.052632
| 0
| 0.157895
| 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
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
376d65f957a803ef182298e8ade014f5d5a78d0d
| 98
|
py
|
Python
|
theone/main.py
|
laozijiaojiangnan/TheOne
|
73c1e7cee545c2eb2b2118f2dbf2d4d0c56e3824
|
[
"Apache-2.0"
] | null | null | null |
theone/main.py
|
laozijiaojiangnan/TheOne
|
73c1e7cee545c2eb2b2118f2dbf2d4d0c56e3824
|
[
"Apache-2.0"
] | null | null | null |
theone/main.py
|
laozijiaojiangnan/TheOne
|
73c1e7cee545c2eb2b2118f2dbf2d4d0c56e3824
|
[
"Apache-2.0"
] | null | null | null |
from theone.server import WsgiServer
if __name__ == '__main__':
WsgiServer().serve_forever()
| 19.6
| 36
| 0.744898
| 11
| 98
| 5.818182
| 0.909091
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.142857
| 98
| 4
| 37
| 24.5
| 0.761905
| 0
| 0
| 0
| 0
| 0
| 0.081633
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.333333
| 0
| 0.333333
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
37a2bb5918acdd9a263b3888e67e05e15e3be9a1
| 174
|
py
|
Python
|
real_estate_api/agent/permission.py
|
rossi1/RES
|
729196bfa45cc2b47acc93c49c07c7e8f0f6ea93
|
[
"MIT"
] | null | null | null |
real_estate_api/agent/permission.py
|
rossi1/RES
|
729196bfa45cc2b47acc93c49c07c7e8f0f6ea93
|
[
"MIT"
] | null | null | null |
real_estate_api/agent/permission.py
|
rossi1/RES
|
729196bfa45cc2b47acc93c49c07c7e8f0f6ea93
|
[
"MIT"
] | null | null | null |
from rest_framework.permissions import BasePermission
class IsAgent(BasePermission):
def has_object_permission(self, request, view):
return request.user.is_agent
| 34.8
| 53
| 0.798851
| 21
| 174
| 6.428571
| 0.904762
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.137931
| 174
| 5
| 54
| 34.8
| 0.9
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.25
| 0.25
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
|
0
| 4
|
37bc28299c0e7c08da83bae259ff7c7da8ac6268
| 139
|
py
|
Python
|
aced_hmm/__init__.py
|
tufts-ml/aced-hmm-hospital-progression-model
|
da918dfa38991169bd14302add1e61b4cff049f5
|
[
"MIT"
] | 2
|
2021-04-14T02:29:15.000Z
|
2021-11-30T03:30:49.000Z
|
aced_hmm/__init__.py
|
tufts-ml/aced-hmm-hospital-progression-model
|
da918dfa38991169bd14302add1e61b4cff049f5
|
[
"MIT"
] | 2
|
2021-04-16T14:52:57.000Z
|
2021-12-06T19:46:40.000Z
|
aced_hmm/__init__.py
|
tufts-ml/aced-hmm-hospital-progression-model
|
da918dfa38991169bd14302add1e61b4cff049f5
|
[
"MIT"
] | 1
|
2021-11-29T16:17:35.000Z
|
2021-11-29T16:17:35.000Z
|
from . import simulator
# All scripts in this folder are implicitly imported already, such as:
# * run_forecast.py
# * print_parameters.py
| 27.8
| 70
| 0.769784
| 20
| 139
| 5.25
| 0.95
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.158273
| 139
| 5
| 71
| 27.8
| 0.897436
| 0.776978
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 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
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
808469da0df9fd7ef5eaac794c0bd10695098ee7
| 109
|
py
|
Python
|
file_import_export/apps.py
|
sharif-42/News_Aggregation_System
|
8df4b562e57410bf059bb38367a14ac5ba12fb00
|
[
"MIT"
] | null | null | null |
file_import_export/apps.py
|
sharif-42/News_Aggregation_System
|
8df4b562e57410bf059bb38367a14ac5ba12fb00
|
[
"MIT"
] | 4
|
2021-03-19T02:55:45.000Z
|
2021-06-10T19:08:12.000Z
|
file_import_export/apps.py
|
sharif-42/News_Aggregation_System
|
8df4b562e57410bf059bb38367a14ac5ba12fb00
|
[
"MIT"
] | null | null | null |
from django.apps import AppConfig
class FileImportExportConfig(AppConfig):
name = 'file_import_export'
| 18.166667
| 40
| 0.798165
| 12
| 109
| 7.083333
| 0.833333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.137615
| 109
| 5
| 41
| 21.8
| 0.904255
| 0
| 0
| 0
| 0
| 0
| 0.165138
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 1
| 0
| 1.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
| 1
| 0
|
0
| 4
|
808f899458dc76e91d82ae178d3610169fddeac2
| 87
|
py
|
Python
|
code/arc003_1_01.py
|
KoyanagiHitoshi/AtCoder
|
731892543769b5df15254e1f32b756190378d292
|
[
"MIT"
] | 3
|
2019-08-16T16:55:48.000Z
|
2021-04-11T10:21:40.000Z
|
code/arc003_1_01.py
|
KoyanagiHitoshi/AtCoder
|
731892543769b5df15254e1f32b756190378d292
|
[
"MIT"
] | null | null | null |
code/arc003_1_01.py
|
KoyanagiHitoshi/AtCoder
|
731892543769b5df15254e1f32b756190378d292
|
[
"MIT"
] | null | null | null |
N=int(input())
print(sum(map(int,input().translate(str.maketrans("FDCBA","01234"))))/N)
| 43.5
| 72
| 0.689655
| 14
| 87
| 4.285714
| 0.785714
| 0.266667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.05814
| 0.011494
| 87
| 2
| 72
| 43.5
| 0.639535
| 0
| 0
| 0
| 0
| 0
| 0.113636
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.5
| 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
| 1
|
0
| 4
|
809de5cf2d24aff14036db1375d514188c4117e9
| 413
|
py
|
Python
|
yatube/apps/posts/post_api/filters.py
|
azharkih/PetBlog
|
691d5e2ebdff0148e195d84442ff52acc0f036c3
|
[
"BSD-3-Clause"
] | 1
|
2021-04-08T07:46:19.000Z
|
2021-04-08T07:46:19.000Z
|
yatube/apps/posts/post_api/filters.py
|
azharkih/PetBlog
|
691d5e2ebdff0148e195d84442ff52acc0f036c3
|
[
"BSD-3-Clause"
] | null | null | null |
yatube/apps/posts/post_api/filters.py
|
azharkih/PetBlog
|
691d5e2ebdff0148e195d84442ff52acc0f036c3
|
[
"BSD-3-Clause"
] | null | null | null |
from django_filters import rest_framework as filters
from ..models import Post
class PostFilter(filters.FilterSet):
date__gte = filters.NumericRangeFilter(field_name="pub_date",
lookup_expr='gte')
date__lte = filters.NumericRangeFilter(field_name="pub_date",
lookup_expr='lte')
class Meta:
model = Post
| 29.5
| 65
| 0.600484
| 42
| 413
| 5.619048
| 0.547619
| 0.211864
| 0.254237
| 0.288136
| 0.432203
| 0.432203
| 0.432203
| 0.432203
| 0
| 0
| 0
| 0
| 0.326877
| 413
| 13
| 66
| 31.769231
| 0.848921
| 0
| 0
| 0
| 0
| 0
| 0.053269
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.222222
| 0
| 0.666667
| 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
| 1
| 0
|
0
| 4
|
80a92bf2d9276940ef32dc23316520ab53e1df84
| 620
|
py
|
Python
|
notion/block/database.py
|
huksley/notion-py
|
90c66891ed6b892c77befd8eeeba4cb637b008a9
|
[
"MIT"
] | 58
|
2020-07-01T17:13:26.000Z
|
2022-03-16T16:02:01.000Z
|
notion/block/database.py
|
huksley/notion-py
|
90c66891ed6b892c77befd8eeeba4cb637b008a9
|
[
"MIT"
] | 30
|
2020-07-02T09:28:05.000Z
|
2022-02-04T18:10:36.000Z
|
notion/block/database.py
|
huksley/notion-py
|
90c66891ed6b892c77befd8eeeba4cb637b008a9
|
[
"MIT"
] | 10
|
2020-07-01T14:59:09.000Z
|
2021-11-28T07:57:47.000Z
|
# from notion.block.common import Block
#
#
# class LinkedDatabaseBlock(Block):
# pass
#
#
# class BoardDatabaseBlock(Block):
# pass
#
#
# class BoardInlineDatabaseBlock(Block):
# pass
#
#
# class CalendarDatabaseBlock(Block):
# pass
#
#
# class CalendarInlineDatabaseBlock(Block):
# pass
#
#
# class GalleryDatabaseBlock(Block):
# pass
#
#
# class GalleryInlineDatabaseBlock(Block):
# pass
#
#
# class ListDatabaseBlock(Block):
# pass
#
#
# class ListInlineDatabaseBlock(Block):
# pass
#
#
# class TableDatabaseBlock(Block):
# pass
#
#
# class TableInlineDatabaseBlock(Block):
# pass
#
| 13.191489
| 43
| 0.682258
| 50
| 620
| 8.46
| 0.36
| 0.234043
| 0.330969
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.187097
| 620
| 46
| 44
| 13.478261
| 0.839286
| 0.85
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 0
| 0
| 0
| null | 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
039d9b97064df2cc1a7505a1a1e7814eed53b28e
| 696
|
py
|
Python
|
tests/test_csv.py
|
bioimageit/bioimageit_formats
|
eea284c707d58fa553f2c4f4c7aae446d1106224
|
[
"BSD-4-Clause"
] | null | null | null |
tests/test_csv.py
|
bioimageit/bioimageit_formats
|
eea284c707d58fa553f2c4f4c7aae446d1106224
|
[
"BSD-4-Clause"
] | null | null | null |
tests/test_csv.py
|
bioimageit/bioimageit_formats
|
eea284c707d58fa553f2c4f4c7aae446d1106224
|
[
"BSD-4-Clause"
] | null | null | null |
import unittest
import os
import os.path
from bioimageit_formats import FormatsAccess
class TestRequest(unittest.TestCase):
def setUp(self):
FormatsAccess(os.path.join('tests', 'formats.json'))
def tearDown(self):
pass
def test_csv_table(self):
extension = FormatsAccess.instance().get('tablecsv').extension
self.assertEquals(extension, 'csv')
def test_csv_array(self):
extension = FormatsAccess.instance().get('arraycsv').extension
self.assertEquals(extension, 'csv')
def test_csv_number(self):
extension = FormatsAccess.instance().get('numbercsv').extension
self.assertEquals(extension, 'csv')
| 27.84
| 71
| 0.683908
| 75
| 696
| 6.253333
| 0.413333
| 0.044776
| 0.063966
| 0.217484
| 0.515991
| 0.200426
| 0.200426
| 0.200426
| 0
| 0
| 0
| 0
| 0.201149
| 696
| 24
| 72
| 29
| 0.843525
| 0
| 0
| 0.166667
| 0
| 0
| 0.073276
| 0
| 0
| 0
| 0
| 0
| 0.166667
| 1
| 0.277778
| false
| 0.055556
| 0.222222
| 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
| 1
| 0
| 1
| 0
| 0
| 1
| 0
|
0
| 4
|
03a243d06e0725840376db15dc82eb30d916bf06
| 63
|
py
|
Python
|
tests/demo.py
|
ahupp/pegen
|
e28fe4fb1972c55af5ddb6a7bdd9cba4ea072b81
|
[
"MIT"
] | null | null | null |
tests/demo.py
|
ahupp/pegen
|
e28fe4fb1972c55af5ddb6a7bdd9cba4ea072b81
|
[
"MIT"
] | null | null | null |
tests/demo.py
|
ahupp/pegen
|
e28fe4fb1972c55af5ddb6a7bdd9cba4ea072b81
|
[
"MIT"
] | null | null | null |
def foo():
print(__file__ + ": parsed and executed.")
foo()
| 12.6
| 44
| 0.619048
| 8
| 63
| 4.375
| 0.875
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.190476
| 63
| 4
| 45
| 15.75
| 0.686275
| 0
| 0
| 0
| 0
| 0
| 0.349206
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| true
| 0
| 0
| 0
| 0.333333
| 0.333333
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
03e0c551a57043e18626ea654aa09a3af2b4fb4f
| 965
|
py
|
Python
|
year2019/day01/code.py
|
romainvigneres/advent_of_code
|
2ae38617706cb1041ab3950cdec3713176dc3633
|
[
"MIT"
] | null | null | null |
year2019/day01/code.py
|
romainvigneres/advent_of_code
|
2ae38617706cb1041ab3950cdec3713176dc3633
|
[
"MIT"
] | null | null | null |
year2019/day01/code.py
|
romainvigneres/advent_of_code
|
2ae38617706cb1041ab3950cdec3713176dc3633
|
[
"MIT"
] | null | null | null |
from common import input_list_integer
def mass_to_fuel(mass):
return mass // 3 - 2
def part_one(list_integer):
return sum([mass_to_fuel(x) for x in list_integer])
def test_one():
assert mass_to_fuel(12) == 2
assert mass_to_fuel(14) == 2
assert mass_to_fuel(1969) == 654
assert mass_to_fuel(100756) == 33583
def mass_to_fuel_full(mass):
result = 0
fuel_mass = mass_to_fuel(mass)
while fuel_mass > 0:
result += fuel_mass
fuel_mass = mass_to_fuel(fuel_mass)
return result
def part_two(list_integer):
return sum([mass_to_fuel_full(x) for x in list_integer])
def test_two():
assert mass_to_fuel_full(14) == 2
assert mass_to_fuel_full(1969) == 966
assert mass_to_fuel_full(100756) == 50346
def get_result():
inp = input_list_integer("2019", "01")
# part one
test_one()
print("Part one", part_one(inp))
# part two
test_two()
print("Part two", part_two(inp))
| 20.978261
| 60
| 0.671503
| 158
| 965
| 3.765823
| 0.246835
| 0.131092
| 0.218487
| 0.188235
| 0.411765
| 0.24874
| 0.184874
| 0.084034
| 0
| 0
| 0
| 0.073236
| 0.221762
| 965
| 45
| 61
| 21.444444
| 0.719041
| 0.017617
| 0
| 0
| 0
| 0
| 0.02328
| 0
| 0
| 0
| 0
| 0
| 0.241379
| 1
| 0.241379
| false
| 0
| 0.034483
| 0.103448
| 0.413793
| 0.068966
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
|
0
| 4
|
03ea1dbab984a2b02eef420550bcebdf9197e996
| 22,007
|
py
|
Python
|
pyparsehtml/src/html_data.py
|
pdoms/PyParseHtml
|
513ad30cdfb77eea815b66b1ad91c1c96f3dff81
|
[
"MIT"
] | null | null | null |
pyparsehtml/src/html_data.py
|
pdoms/PyParseHtml
|
513ad30cdfb77eea815b66b1ad91c1c96f3dff81
|
[
"MIT"
] | null | null | null |
pyparsehtml/src/html_data.py
|
pdoms/PyParseHtml
|
513ad30cdfb77eea815b66b1ad91c1c96f3dff81
|
[
"MIT"
] | null | null | null |
html_tags = ['<!--...-->', '<!DOCTYPE>', '<a>', '<abbr>', '<acronym>', '<address>', '<applet>', '<area>', '<article>', '<aside>', '<audio>', '<b>', '<base>', '<basefont>', '<bdi>', '<bdo>', '<big>', '<blockquote>', '<body>', '<br>', '<button>', '<canvas>', '<caption>', '<center>', '<cite>', '<code>', '<col>', '<colgroup>', '<data>', '<datalist>', '<dd>', '<del>', '<details>', '<dfn>', '<dialog>', '<dir>', '<div>', '<dl>', '<dt>', '<em>', '<embed>', '<fieldset>', '<figcaption>', '<figure>', '<font>', '<footer>', '<form>', '<frame>', '<frameset>', '<h1> to <h6>', '<head>', '<header>', '<hr>', '<html>', '<i>', '<iframe>', '<img>', '<input>', '<ins>', '<kbd>', '<label>', '<legend>', '<li>', '<link>', '<main>', '<map>', '<mark>', '<meta>', '<meter>', '<nav>', '<noframes>', '<noscript>', '<object>', '<ol>', '<optgroup>', '<option>', '<output>', '<p>', '<param>', '<picture>', '<pre>', '<progress>', '<q>', '<rp>', '<rt>', '<ruby>', '<s>', '<samp>', '<script>', '<section>', '<select>', '<small>', '<source>', '<span>', '<strike>', '<strong>', '<style>', '<sub>', '<summary>', '<sup>', '<svg>', '<table>', '<tbody>', '<td>', '<template>', '<textarea>', '<tfoot>', '<th>', '<thead>', '<time>', '<title>', '<tr>', '<track>', '<tt>', '<u>', '<ul>', '<var>', '<video>', '<wbr>']
html_tags_stripped = ['!--...--', '!DOCTYPE', 'a', 'abbr', 'acronym', 'address', 'applet', 'area', 'article', 'aside', 'audio', 'b', 'base', 'basefont', 'bdi', 'bdo', 'big', 'blockquote', 'body', 'br', 'button', 'canvas', 'caption', 'center', 'cite', 'code', 'col', 'colgroup', 'data', 'datalist', 'dd', 'del', 'details', 'dfn', 'dialog', 'dir', 'div', 'dl', 'dt', 'em', 'embed', 'fieldset', 'figcaption', 'figure', 'font', 'footer', 'form', 'frame', 'frameset', 'h1 to h6', 'head', 'header', 'hr', 'html', 'i', 'iframe', 'img', 'input', 'ins', 'kbd', 'label', 'legend', 'li', 'link', 'main', 'map', 'mark', 'meta', 'meter', 'nav', 'noframes', 'noscript', 'object', 'ol', 'optgroup', 'option', 'output', 'p', 'param', 'picture', 'pre', 'progress', 'q', 'rp', 'rt', 'ruby', 's', 'samp', 'script', 'section', 'select', 'small', 'source', 'span', 'strike', 'strong', 'style', 'sub', 'summary', 'sup', 'svg', 'table', 'tbody', 'td', 'template', 'textarea', 'tfoot', 'th', 'thead', 'time', 'title', 'tr', 'track', 'tt', 'u', 'ul', 'var', 'video', 'wbr']
all_attributes_list = ['accept', 'accept-charset', 'accesskey', 'action', 'alt', 'async', 'autocomplete', 'autofocus', 'autoplay', 'charset', 'checked', 'cite', 'class', 'cols', 'colspan', 'contenteditable', 'controls', 'coords', 'data', 'data-*', 'datetime', 'default', 'defer', 'dir', 'dirname', 'disabled', 'download', 'draggable', 'enctype', 'for', 'form', 'formaction', 'headers', 'height', 'hidden', 'high', 'href', 'hreflang', 'http-equiv', 'id', 'ismap', 'kind', 'label', 'lang', 'list', 'loop', 'low', 'max', 'maxlength', 'media', 'method', 'min', 'multiple', 'muted', 'name', 'novalidate', 'onabort', 'onafterprint', 'onbeforeprint', 'onbeforeunload', 'onblur', 'oncanplay', 'oncanplaythrough', 'onchange', 'onclick', 'oncontextmenu', 'oncopy', 'oncuechange', 'oncut', 'ondblclick', 'ondrag', 'ondragend', 'ondragenter', 'ondragleave', 'ondragover', 'ondragstart', 'ondrop', 'ondurationchange', 'onemptied', 'onended', 'onerror', 'onfocus', 'onhashchange', 'oninput', 'oninvalid', 'onkeydown', 'onkeypress', 'onkeyup', 'onload', 'onloadeddata', 'onloadedmetadata', 'onloadstart', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'onmousewheel', 'onoffline', 'ononline', 'onpagehide', 'onpageshow', 'onpaste', 'onpause', 'onplay', 'onplaying', 'onpopstate', 'onprogress', 'onratechange', 'onreset', 'onresize', 'onscroll', 'onsearch', 'onseeked', 'onseeking', 'onselect', 'onstalled', 'onstorage', 'onsubmit', 'onsuspend', 'ontimeupdate', 'ontoggle', 'onunload', 'onvolumechange', 'onwaiting', 'onwheel', 'open', 'optimum', 'pattern', 'placeholder', 'poster', 'preload', 'readonly', 'rel', 'required', 'reversed', 'rows', 'rowspan', 'scope', 'selected', 'shape', 'size', 'sizes', 'span', 'spellcheck', 'src', 'srcdoc', 'srclang', 'srcset', 'start', 'step', 'style', 'tabindex', 'target', 'title', 'translate', 'type', 'usemap', 'value', 'width', 'wrap']
attributes = {'accept': ['<input />'], 'accept-charset': ['<form>'], 'accesskey': ['global attribute'], 'action': ['<form>'], 'alt': ['<area />', '<img />', '<input />'], 'async': ['<script>'], 'autocomplete': ['<form>', '<input />'], 'autofocus': ['<button>', '<input />', '<select>', '<textarea>'], 'autoplay': ['<audio>', '<video>'], 'charset': ['<meta />', '<script>'], 'checked': ['<input />'], 'cite': ['<blockquote>', '<del>', '<ins>', '<q>'], 'class': ['global attribute'], 'cols': ['<textarea>'], 'colspan': ['<td>', '<th>'], 'contenteditable': ['global attribute'], 'controls': ['<audio>', '<video>'], 'coords': ['<area />'], 'data': ['<object>'], 'data-*': ['global attribute'], 'datetime': ['<del>', '<ins>', '<time>'], 'default': ['<track />'], 'defer': ['<script>'], 'dir': ['global attribute'], 'dirname': ['<input />', '<textarea>'], 'disabled': ['<button>', '<fieldset>', '<input />', '<optgroup>', '<option>', '<select>', '<textarea>'], 'download': ['<a>', '<area />'], 'draggable': ['global attribute'], 'enctype': ['<form>'], 'for': ['<label>', '<output>'], 'form': ['<button>', '<fieldset>', '<input />', '<label>', '<meter>', '<object>', '<output>', '<select>', '<textarea>'], 'formaction': ['<button>', '<input />'], 'headers': ['<td>', '<th>'], 'height': ['<canvas>', '<embed />', '<iframe>', '<img />', '<input />', '<object>', '<video>'], 'hidden': ['global attribute'], 'high': ['<meter>'], 'href': ['<a>', '<area />', '<base />', '<link />'], 'hreflang': ['<a>', '<area />', '<link />'], 'http-equiv': ['<meta />'], 'id': ['global attribute'], 'ismap': ['<img />'], 'kind': ['<track />'], 'label': ['<track />', '<option>', '<optgroup>'], 'lang': ['global attribute'], 'list': ['<input />'], 'loop': ['<audio>', '<video>'], 'low': ['<meter>'], 'max': ['<input />', '<meter>', '<progress>'], 'maxlength': ['<input />', '<textarea>'], 'media': ['<a>', '<area />', '<link />', '<source />', '<style>'], 'method': ['<form>'], 'min': ['<input />', '<meter>'], 'multiple': ['<input />', '<select>'], 'muted': ['<video>', '<audio>'], 'name': ['<button>', '<fieldset>', '<form>', '<iframe>', '<input />', '<map>', '<meta />', '<object>', '<output>', '<param />', '<select>', '<textarea>'], 'novalidate': ['<form>'], 'onabort': ['<audio>', '<embed />', '<img />', '<object>', '<video>'], 'onafterprint': ['<body>'], 'onbeforeprint': ['<body>'], 'onbeforeunload': ['<body>'], 'onblur': ['All visible'], 'oncanplay': ['<audio>', '<embed />', '<object>', '<video>'], 'oncanplaythrough': ['<audio>', '<video>'], 'onchange': ['All visible'], 'onclick': ['All visible'], 'oncontextmenu': ['All visible'], 'oncopy': ['All visible'], 'oncuechange': ['<track />'], 'oncut': ['All visible'], 'ondblclick': ['All visible'], 'ondrag': ['All visible'], 'ondragend': ['All visible'], 'ondragenter': ['All visible'], 'ondragleave': ['All visible'], 'ondragover': ['All visible'], 'ondragstart': ['All visible'], 'ondrop': ['All visible'], 'ondurationchange': ['<audio>', '<video>'], 'onemptied': ['<audio>', '<video>'], 'onended': ['<audio>', '<video>'], 'onerror': ['<audio>', '<body>', '<embed />', '<img />', '<object>', '<script>', '<style>', '<video>'], 'onfocus': ['All visible'], 'onhashchange': ['<body>'], 'oninput': ['All visible'], 'oninvalid': ['All visible'], 'onkeydown': ['All visible'], 'onkeypress': ['All visible'], 'onkeyup': ['All visible'], 'onload': ['<body>', '<iframe>', '<img />', '<input />', '<link />', '<script>', '<style>'], 'onloadeddata': ['<audio>', '<video>'], 'onloadedmetadata': ['<audio>', '<video>'], 'onloadstart': ['<audio>', '<video>'], 'onmousedown': ['All visible'], 'onmousemove': ['All visible'], 'onmouseout': ['All visible'], 'onmouseover': ['All visible'], 'onmouseup': ['All visible'], 'onmousewheel': ['All visible'], 'onoffline': ['<body>'], 'ononline': ['<body>'], 'onpagehide': ['<body>'], 'onpageshow': ['<body>'], 'onpaste': ['All visible'], 'onpause': ['<audio>', '<video>'], 'onplay': ['<audio>', '<video>'], 'onplaying': ['<audio>', '<video>'], 'onpopstate': ['<body>'], 'onprogress': ['<audio>', '<video>'], 'onratechange': ['<audio>', '<video>'], 'onreset': ['<form>'], 'onresize': ['<body>'], 'onscroll': ['All visible'], 'onsearch': ['<input />'], 'onseeked': ['<audio>', '<video>'], 'onseeking': ['<audio>', '<video>'], 'onselect': ['All visible'], 'onstalled': ['<audio>', '<video>'], 'onstorage': ['<body>'], 'onsubmit': ['<form>'], 'onsuspend': ['<audio>', '<video>'], 'ontimeupdate': ['<audio>', '<video>'], 'ontoggle': ['<details>'], 'onunload': ['<body>'], 'onvolumechange': ['<audio>', '<video>'], 'onwaiting': ['<audio>', '<video>'], 'onwheel': ['All visible'], 'open': ['<details>'], 'optimum': ['<meter>'], 'pattern': ['<input />'], 'placeholder': ['<input />', '<textarea>'], 'poster': ['<video>'], 'preload': ['<audio>', '<video>'], 'readonly': ['<input />', '<textarea>'], 'rel': ['<a>', '<area />', '<form>', '<link />'], 'required': ['<input />', '<select>', '<textarea>'], 'reversed': ['<ol>'], 'rows': ['<textarea>'], 'rowspan': ['<td>', '<th>'], 'scope': ['<th>'], 'selected': ['<option>'], 'shape': ['<area />'], 'size': ['<input />', '<select>'], 'sizes': ['<img />', '<link />', '<source />'], 'span': ['<col />', '<colgroup>'], 'spellcheck': ['global attribute'], 'src': ['<audio>', '<embed />', '<iframe>', '<img />', '<input />', '<script>', '<source />', '<track />', '<video>'], 'srcdoc': ['<iframe>'], 'srclang': ['<track />'], 'srcset': ['<img />', '<source />'], 'start': ['<ol>'], 'step': ['<input />'], 'style': ['global attribute'], 'tabindex': ['global attribute'], 'target': ['<a>', '<area />', '<base />', '<form>'], 'title': ['global attribute'], 'translate': ['global attribute'], 'type': ['<a>', '<button>', '<embed />', '<input />', '<link />', '<menu>', '<object>', '<script>', '<source />', '<style>'], 'usemap': ['<img />', '<object>'], 'value': ['<button>', '<input />', '<li>', '<option>', '<meter>', '<progress>', '<param />'], 'width': ['<canvas>', '<embed />', '<iframe>', '<img />', '<input />', '<object>', '<video>'], 'wrap': ['<textarea>']}
html_tags_incl_attributes = {'<!--...-->': [], '<!DOCTYPE>': [], '<a>': ['download', 'href', 'hreflang', 'media', 'rel', 'target', 'type'], '<abbr>': [], '<acronym>': [], '<address>': [], '<applet>': [], '<article>': [], '<aside>': [], '<audio>': ['autoplay', 'controls', 'loop', 'muted', 'onabort', 'oncanplay', 'oncanplaythrough', 'ondurationchange', 'onemptied', 'onended', 'onerror', 'onloadeddata', 'onloadedmetadata', 'onloadstart', 'onpause', 'onplay', 'onplaying', 'onprogress', 'onratechange', 'onseeked', 'onseeking', 'onstalled', 'onsuspend', 'ontimeupdate', 'onvolumechange', 'onwaiting', 'preload', 'src'], '<b>': [], '<basefont>': [], '<bdi>': [], '<bdo>': [], '<big>': [], '<blockquote>': ['cite'], '<body>': ['onafterprint', 'onbeforeprint', 'onbeforeunload', 'onerror', 'onhashchange', 'onload', 'onoffline', 'ononline', 'onpagehide', 'onpageshow', 'onpopstate', 'onresize', 'onstorage', 'onunload'], '<button>': ['autofocus', 'disabled', 'form', 'formaction', 'name', 'type', 'value'], '<canvas>': ['height', 'width'], '<caption>': [], '<center>': [], '<cite>': [], '<code>': [], '<colgroup>': ['span'], '<data>': [], '<datalist>': [], '<dd>': [], '<del>': ['cite', 'datetime'], '<details>': ['ontoggle', 'open'], '<dfn>': [], '<dialog>': [], '<dir>': [], '<div>': [], '<dl>': [], '<dt>': [], '<em>': [], '<fieldset>': ['disabled', 'form', 'name'], '<figcaption>': [], '<figure>': [], '<font>': [], '<footer>': [], '<form>': ['accept-charset', 'action', 'autocomplete', 'enctype', 'method', 'name', 'novalidate', 'onreset', 'onsubmit', 'rel', 'target'], '<frame>': [], '<frameset>': [], '<h1> to <h6>': [], '<head>': [], '<header>': [], '<html>': [], '<i>': [], '<iframe>': ['height', 'name', 'onload', 'src', 'srcdoc', 'width'], '<ins>': ['cite', 'datetime'], '<kbd>': [], '<label>': ['for', 'form'], '<legend>': [], '<li>': ['value'], '<main>': [], '<map>': ['name'], '<mark>': [], '<meter>': ['form', 'high', 'low', 'max', 'min', 'optimum', 'value'], '<nav>': [], '<noframes>': [], '<noscript>': [], '<object>': ['data', 'form', 'height', 'name', 'onabort', 'oncanplay', 'onerror', 'type', 'usemap', 'width'], '<ol>': ['reversed', 'start'], '<optgroup>': ['disabled', 'label'], '<option>': ['disabled', 'label', 'selected', 'value'], '<output>': ['for', 'form', 'name'], '<p>': [], '<picture>': [], '<pre>': [], '<progress>': ['max', 'value'], '<q>': ['cite'], '<rp>': [], '<rt>': [], '<ruby>': [], '<s>': [], '<samp>': [], '<script>': ['async', 'charset', 'defer', 'onerror', 'onload', 'src', 'type'], '<section>': [], '<select>': ['autofocus', 'disabled', 'form', 'multiple', 'name', 'required', 'size'], '<small>': [], '<span>': [], '<strike>': [], '<strong>': [], '<style>': ['media', 'onerror', 'onload', 'type'], '<sub>': [], '<summary>': [], '<sup>': [], '<svg>': [], '<table>': [], '<tbody>': [], '<td>': ['colspan', 'headers', 'rowspan'], '<template>': [], '<textarea>': ['autofocus', 'cols', 'dirname', 'disabled', 'form', 'maxlength', 'name', 'placeholder', 'readonly', 'required', 'rows', 'wrap'], '<tfoot>': [], '<th>': ['colspan', 'headers', 'rowspan', 'scope'], '<thead>': [], '<time>': ['datetime'], '<title>': [], '<tr>': [], '<tt>': [], '<u>': [], '<ul>': [], '<var>': [], '<video>': ['autoplay', 'controls', 'height', 'loop', 'muted', 'onabort', 'oncanplay', 'oncanplaythrough', 'ondurationchange', 'onemptied', 'onended', 'onerror', 'onloadeddata', 'onloadedmetadata', 'onloadstart', 'onpause', 'onplay', 'onplaying', 'onprogress', 'onratechange', 'onseeked', 'onseeking', 'onstalled', 'onsuspend', 'ontimeupdate', 'onvolumechange', 'onwaiting', 'poster', 'preload', 'src', 'width'], '<area />': ['alt', 'coords', 'download', 'href', 'hreflang', 'media', 'rel', 'shape', 'target'], '<base />': ['href', 'target'], '<br />': [], '<col />': ['span'], '<embed />': ['height', 'onabort', 'oncanplay', 'onerror', 'src', 'type', 'width'], '<hr />': [], '<img />': ['alt', 'height', 'ismap', 'onabort', 'onerror', 'onload', 'sizes', 'src', 'srcset', 'usemap', 'width'], '<input />': ['accept', 'alt', 'autocomplete', 'autofocus', 'checked', 'dirname', 'disabled', 'form', 'formaction', 'height', 'list', 'max', 'maxlength', 'min', 'multiple', 'name', 'onload', 'onsearch', 'pattern', 'placeholder', 'readonly', 'required', 'size', 'src', 'step', 'type', 'value', 'width'], '<link />': ['href', 'hreflang', 'media', 'onload', 'rel', 'sizes', 'type'], '<meta />': ['charset', 'http-equiv', 'name'], '<param />': ['name', 'value'], '<source />': ['media', 'sizes', 'src', 'srcset', 'type'], '<track />': ['default', 'kind', 'label', 'oncuechange', 'src', 'srclang'], '<wbr />': []}
global_attributes = ['accesskey', 'class', 'contenteditable', 'data-*', 'dir', 'draggable', 'hidden', 'id', 'lang', 'onblur', 'onchange', 'onclick', 'oncontextmenu', 'oncopy', 'oncut', 'ondblclick', 'ondrag', 'ondragend', 'ondragenter', 'ondragleave', 'ondragover', 'ondragstart', 'ondrop', 'onfocus', 'oninput', 'oninvalid', 'onkeydown', 'onkeypress', 'onkeyup', 'onmousedown', 'onmousemove', 'onmouseout', 'onmouseover', 'onmouseup', 'onmousewheel', 'onpaste', 'onscroll', 'onselect', 'onwheel', 'spellcheck', 'style', 'tabindex', 'title', 'translate']
self_closing_tags = ['<area />', '<base />', '<br />', '<col />', '<embed />', '<hr />', '<img />', '<input />', '<link />', '<meta />', '<param />', '<source />', '<track />', '<wbr />']
self_closer = [['<area />', '<area>'], ['<base />', '<base>'], ['<br />', '<br>'], ['<col />', '<col>'], ['<embed />', '<embed>'], ['<hr />', '<hr>'], ['<img />', '<img>'], ['<input />', '<input>'], ['<link />', '<link>'], ['<meta />', '<meta>'], ['<param />', '<param>'], ['<source />', '<source>'], ['<track />', '<track>'], ['<wbr />', '<wbr>']]
css_properties = ['align-content', 'align-items', 'align-self', 'animation', 'animation-delay', 'animation-direction', 'animation-duration', 'animation-fill-mode', 'animation-iteration-count', 'animation-name', '@keyframes', 'animation-play-state', 'animation-timing-function', 'backface-visibility', 'background', 'background-attachment', 'background-clip', 'background-color', 'background-image', 'background-origin', 'background-position', 'background-repeat', 'background-size', 'border', 'border-bottom', 'border-bottom-color', 'border-bottom-left-radius', 'border-bottom-right-radius', 'border-bottom-style', 'border-bottom-width', 'border-collapse', 'border-color', 'border-image', 'border-image-outset', 'border-image-repeat', 'border-image-slice', 'border-image-source', 'border-image-width', 'border-left', 'border-left-color', 'border-left-style', 'border-left-width', 'border-radius', 'border-right', 'border-right-color', 'border-right-style', 'border-right-width', 'border-spacing', 'border-style', 'border-top', 'border-top-color', 'border-top-left-radius', 'border-top-right-radius', 'border-top-style', 'border-top-width', 'border-width', 'bottom', 'box-shadow', 'box-sizing', 'caption-side', 'clear', 'clip', 'color', 'column-count', 'column-fill', 'column-gap', 'column-rule', 'column-rule-color', 'column-rule-style', 'column-rule-width', 'column-span', 'column-width', 'columns', 'column-width', 'column-count', 'content', 'counter-increment', 'counter-reset', 'cursor', 'direction', 'display', 'empty-cells', 'flex', 'flex-basis', 'flex-direction', 'flex-flow', 'flex-direction', 'flex-wrap', 'flex-grow', 'flex-shrink', 'flex-wrap', 'float', 'font', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'height', 'justify-content', 'left', 'letter-spacing', 'line-height', 'list-style', 'list-style-image', 'list-style-position', 'list-style-type', 'margin', 'margin-bottom', 'margin-left', 'margin-right', 'margin-top', 'max-height', 'max-width', 'min-height', 'min-width', 'opacity', 'order', 'outline', 'outline-color', 'outline-offset', 'outline-style', 'outline-width', 'overflow', 'overflow-x', 'overflow-y', 'padding', 'padding-bottom', 'padding-left', 'padding-right', 'padding-top', 'page-break-after', 'page-break-before', 'page-break-inside', 'perspective', 'perspective-origin', 'position', 'quotes', 'resize', 'right', 'tab-size', 'table-layout', 'text-align', 'text-align-last', 'text-align', 'justify', 'text-decoration', 'text-decoration-color', 'text-decoration-line', 'text-decoration-line', 'text-decoration-style', 'text-decoration-line', 'text-indent', 'text-justify', 'text-align', 'justify', 'text-overflow', 'text-shadow', 'text-transform', 'top', 'transform', 'transform-origin', 'transform-style', 'transition', 'transition-delay', 'transition-duration', 'transition-property', 'transition-timing-function', 'vertical-align', 'visibility', 'white-space', 'width', 'word-break', 'word-spacing', 'word-wrap', 'z-index', 'animation', 'animation-delay', 'animation-direction', 'animation-duration', 'animation-fill-mode', 'animation-iteration-count', 'animation-name', '@keyframes', 'animation-play-state', 'animation-timing-function', 'background', 'background-attachment', 'background-clip', 'background-color', 'background-image', 'background-origin', 'background-position', 'background-repeat', 'background-size', 'border', 'border-bottom', 'border-bottom-color', 'border-bottom-left-radius', 'border-bottom-right-radius', 'border-bottom-style', 'border-bottom-width', 'border-color', 'border-image', 'border-image-outset', 'border-image-repeat', 'border-image-slice', 'border-image-source', 'border-image-width', 'border-left', 'border-left-color', 'border-left-style', 'border-left-width', 'border-radius', 'border-right', 'border-right-color', 'border-right-style', 'border-right-width', 'border-style', 'border-top', 'border-top-color', 'border-top-left-radius', 'border-top-right-radius', 'border-top-style', 'border-top-width', 'border-width', 'color', 'opacity', 'height', 'max-height', 'max-width', 'min-height', 'min-width', 'width', 'content', 'quotes', 'counter-reset', 'counter-increment', 'align-content', 'align-items', 'align-self', 'flex', 'flex-basis', 'flex-direction', 'flex-flow', 'flex-direction', 'flex-wrap', 'flex-grow', 'flex-shrink', 'flex-wrap', 'justify-content', 'order', 'font', 'font-family', 'font-size', 'font-size-adjust', 'font-stretch', 'font-style', 'font-variant', 'font-weight', 'list-style', 'list-style-image', 'list-style-position', 'list-style-type', 'margin', 'margin-bottom', 'margin-left', 'margin-right', 'margin-top', 'column-count', 'column-fill', 'column-gap', 'column-rule', 'column-rule-color', 'column-rule-style', 'column-rule-width', 'column-span', 'column-width', 'columns', 'column-width', 'column-count', 'outline', 'outline-color', 'outline-offset', 'outline-style', 'outline-width', 'padding', 'padding-bottom', 'padding-left', 'padding-right', 'padding-top', 'page-break-after', 'page-break-before', 'page-break-inside', 'border-collapse', 'border-spacing', 'caption-side', 'empty-cells', 'table-layout', 'direction', 'tab-size', 'text-align', 'text-align-last', 'text-align', 'justify', 'text-decoration', 'text-decoration-color', 'text-decoration-line', 'text-decoration-line', 'text-decoration-style', 'text-decoration-line', 'text-indent', 'text-justify', 'text-align', 'justify', 'text-overflow', 'text-shadow', 'text-transform', 'line-height', 'vertical-align', 'letter-spacing', 'word-spacing', 'white-space', 'word-break', 'word-wrap', 'backface-visibility', 'perspective', 'perspective-origin', 'transform', 'transform-origin', 'transform-style', 'transition', 'transition-delay', 'transition-duration', 'transition-property', 'transition-timing-function', 'display', 'position', 'top', 'right', 'bottom', 'left', 'float', 'clear', 'z-index', 'overflow', 'overflow-x', 'overflow-y', 'resize', 'clip', 'visibility', 'cursor', 'box-shadow', 'box-sizing']
| 2,200.7
| 6,058
| 0.571545
| 2,159
| 22,007
| 5.819824
| 0.17786
| 0.023876
| 0.006685
| 0.010505
| 0.452766
| 0.431914
| 0.415281
| 0.403343
| 0.397931
| 0.376443
| 0
| 0.0003
| 0.089744
| 22,007
| 9
| 6,059
| 2,445.222222
| 0.626947
| 0
| 0
| 0
| 0
| 0
| 0.64793
| 0.021357
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.333333
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
03eb57266ecc14ef2415e3b839a35813cd625d5b
| 99
|
py
|
Python
|
pymdmix_core/plugin/__init__.py
|
ggutierrez-bio/mdmix4
|
feec780d77594242532ca7a52be7127b3ec5228b
|
[
"MIT"
] | null | null | null |
pymdmix_core/plugin/__init__.py
|
ggutierrez-bio/mdmix4
|
feec780d77594242532ca7a52be7127b3ec5228b
|
[
"MIT"
] | 3
|
2021-02-17T15:38:30.000Z
|
2021-02-20T22:49:40.000Z
|
pymdmix_core/plugin/__init__.py
|
mdmix4/pymdmix-core
|
feec780d77594242532ca7a52be7127b3ec5228b
|
[
"MIT"
] | null | null | null |
from pymdmix_core.plugin.base import Plugin, PluginManager
__all__ = ['Plugin', 'PluginManager']
| 19.8
| 58
| 0.777778
| 11
| 99
| 6.545455
| 0.727273
| 0.527778
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.111111
| 99
| 4
| 59
| 24.75
| 0.818182
| 0
| 0
| 0
| 0
| 0
| 0.191919
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 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
| 1
| 0
| 0
| 0
|
0
| 4
|
03f4ae706decb1d259a97522e01e0c37ba2d7cbb
| 751
|
py
|
Python
|
lacusCloud_app/lacus_middleware/lacus_common/core/repositories/cacheFilesManagement.py
|
tavog96/distribuidosProyecto
|
8aee06ca580389412809353ac312c417aa1163fa
|
[
"MIT"
] | null | null | null |
lacusCloud_app/lacus_middleware/lacus_common/core/repositories/cacheFilesManagement.py
|
tavog96/distribuidosProyecto
|
8aee06ca580389412809353ac312c417aa1163fa
|
[
"MIT"
] | null | null | null |
lacusCloud_app/lacus_middleware/lacus_common/core/repositories/cacheFilesManagement.py
|
tavog96/distribuidosProyecto
|
8aee06ca580389412809353ac312c417aa1163fa
|
[
"MIT"
] | null | null | null |
class cacheFilesManager:
configFile = False
cacheRootPath = ''
cacheFileExtension = '.dat'
resourcesRootPath = ''
def createCacheFiles (self, fileInfo):
raise NotImplementedError
def deleteCacheFiles (self, fileInfo):
raise NotImplementedError
def getCacheFile (self, fileUID, chunkNumber):
raise NotImplementedError
def setChunkContent (self, fileUID, chunkNumber, content):
raise NotImplementedError
def restoreFileFromCache (self, fileInfo):
raise NotImplementedError
def copyFileIntoChunks (self, cachedFileInfo):
raise NotImplementedError
def writeChunkContent (self, content, fileName):
raise NotImplementedError
| 18.775
| 62
| 0.685752
| 54
| 751
| 9.537037
| 0.462963
| 0.326214
| 0.314563
| 0.209709
| 0.227184
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.255659
| 751
| 39
| 63
| 19.25641
| 0.921288
| 0
| 0
| 0.368421
| 0
| 0
| 0.005333
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.368421
| false
| 0
| 0
| 0
| 0.631579
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
207394ed69be9b870ca3ee64ba91405838447f5e
| 104
|
py
|
Python
|
erm.py
|
popping-tarts/First-repo
|
1e6410e50a26b670664f3d897efa10c0e4d04ed9
|
[
"MIT"
] | null | null | null |
erm.py
|
popping-tarts/First-repo
|
1e6410e50a26b670664f3d897efa10c0e4d04ed9
|
[
"MIT"
] | null | null | null |
erm.py
|
popping-tarts/First-repo
|
1e6410e50a26b670664f3d897efa10c0e4d04ed9
|
[
"MIT"
] | null | null | null |
response = 'yes','no'
print(response)
('yes', 'no')
if input('control!') == response:
print('DESIST!')
| 17.333333
| 33
| 0.615385
| 13
| 104
| 4.923077
| 0.615385
| 0.34375
| 0.40625
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.115385
| 104
| 5
| 34
| 20.8
| 0.695652
| 0
| 0
| 0
| 0
| 0
| 0.240385
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.4
| 1
| 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
| 4
|
20800d1b8c6f1fc415e9c63b14f68e488ebd6e52
| 86
|
py
|
Python
|
plerr/__main__.py
|
JForden/pylint-errors
|
f6f2f02aea6c5eaf93c95af23adc96e7d32bdb1e
|
[
"MIT"
] | 49
|
2020-05-30T03:55:07.000Z
|
2022-03-31T14:28:28.000Z
|
plerr/__main__.py
|
JForden/pylint-errors
|
f6f2f02aea6c5eaf93c95af23adc96e7d32bdb1e
|
[
"MIT"
] | 8
|
2020-07-18T18:02:02.000Z
|
2022-03-31T08:42:30.000Z
|
plerr/__main__.py
|
JForden/pylint-errors
|
f6f2f02aea6c5eaf93c95af23adc96e7d32bdb1e
|
[
"MIT"
] | 14
|
2020-10-28T01:41:06.000Z
|
2022-03-25T12:18:55.000Z
|
"""plerr entrypoint."""
from . import cli
if __name__ == '__main__':
cli.main()
| 12.285714
| 26
| 0.616279
| 10
| 86
| 4.5
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.197674
| 86
| 6
| 27
| 14.333333
| 0.652174
| 0.197674
| 0
| 0
| 0
| 0
| 0.126984
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.333333
| 0
| 0.333333
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
208628a1e2a925625723b804de2b6b61bf0b954c
| 113
|
py
|
Python
|
training/Leetcode/386.py
|
voleking/ICPC
|
fc2cf408fa2607ad29b01eb00a1a212e6d0860a5
|
[
"MIT"
] | 68
|
2017-10-08T04:44:23.000Z
|
2019-08-06T20:15:02.000Z
|
training/Leetcode/386.py
|
voleking/ICPC
|
fc2cf408fa2607ad29b01eb00a1a212e6d0860a5
|
[
"MIT"
] | null | null | null |
training/Leetcode/386.py
|
voleking/ICPC
|
fc2cf408fa2607ad29b01eb00a1a212e6d0860a5
|
[
"MIT"
] | 32
|
2020-07-27T13:54:24.000Z
|
2021-12-25T18:12:50.000Z
|
class Solution:
def lexicalOrder(self, n: int) -> List[int]:
return sorted(range(1, n + 1), key=str)
| 28.25
| 48
| 0.610619
| 17
| 113
| 4.058824
| 0.823529
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.022989
| 0.230089
| 113
| 3
| 49
| 37.666667
| 0.770115
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0
| 0.333333
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
|
0
| 4
|
209d67bad12c374fef0d9879336c08f3cc476f04
| 362
|
py
|
Python
|
tests/test_complex.py
|
side-projects-collection/python-travis-example
|
927d9e9070bda896c3f1f32a66cfe3228293ea3d
|
[
"MIT"
] | null | null | null |
tests/test_complex.py
|
side-projects-collection/python-travis-example
|
927d9e9070bda896c3f1f32a66cfe3228293ea3d
|
[
"MIT"
] | null | null | null |
tests/test_complex.py
|
side-projects-collection/python-travis-example
|
927d9e9070bda896c3f1f32a66cfe3228293ea3d
|
[
"MIT"
] | null | null | null |
import pytest
from python_travis.arithmetic import Arithmetic
def test_arith_add():
assert(2 * 10 + Arithmetic(10, 20).add() == 50)
def test_arith_add2():
assert(2 * 10 + Arithmetic(10, 20).add() == 50)
def test_arith_minus():
assert(Arithmetic(10, 20).minus() == -10)
def test_arith_multiple():
assert(Arithmetic(10, 20).multiple() == 200)
| 22.625
| 51
| 0.676796
| 52
| 362
| 4.538462
| 0.365385
| 0.118644
| 0.20339
| 0.161017
| 0.338983
| 0.338983
| 0.338983
| 0.338983
| 0.338983
| 0.338983
| 0
| 0.105611
| 0.162983
| 362
| 15
| 52
| 24.133333
| 0.673267
| 0
| 0
| 0.2
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.4
| 1
| 0.4
| true
| 0
| 0.2
| 0
| 0.6
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
20c48c8da9de464a6b8267b50c4fec88d32e2893
| 731
|
py
|
Python
|
calaccess_raw/migrations/0024_auto_20210822_2158.py
|
california-civic-data-coalition/django-calaccess-raw-data
|
f2e5adbbb295326a88c3c9a505b6fe4d4377328f
|
[
"MIT"
] | 48
|
2015-01-10T18:06:03.000Z
|
2022-01-27T16:48:29.000Z
|
calaccess_raw/migrations/0024_auto_20210822_2158.py
|
world-admin/django-calaccess-raw-data
|
f2e5adbbb295326a88c3c9a505b6fe4d4377328f
|
[
"MIT"
] | 1,193
|
2015-01-07T06:35:20.000Z
|
2021-06-19T11:43:20.000Z
|
calaccess_raw/migrations/0024_auto_20210822_2158.py
|
world-admin/django-calaccess-raw-data
|
f2e5adbbb295326a88c3c9a505b6fe4d4377328f
|
[
"MIT"
] | 163
|
2015-01-10T18:06:09.000Z
|
2022-01-14T00:29:12.000Z
|
# Generated by Django 3.2.6 on 2021-08-22 21:58
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('calaccess_raw', '0023_alter_rawdataversion_clean_zip_archive'),
]
operations = [
migrations.RemoveField(
model_name='rawdatafile',
name='download_columns_count',
),
migrations.RemoveField(
model_name='rawdatafile',
name='download_records_count',
),
migrations.RemoveField(
model_name='rawdatafile',
name='error_count',
),
migrations.RemoveField(
model_name='rawdatafile',
name='error_log_archive',
),
]
| 24.366667
| 73
| 0.586867
| 66
| 731
| 6.242424
| 0.575758
| 0.203884
| 0.252427
| 0.291262
| 0.536408
| 0.536408
| 0.536408
| 0.26699
| 0
| 0
| 0
| 0.037849
| 0.313269
| 731
| 29
| 74
| 25.206897
| 0.782869
| 0.06156
| 0
| 0.521739
| 1
| 0
| 0.251462
| 0.127193
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.043478
| 0
| 0.173913
| 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
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
457618b15e98f7f370fda784716184d4f51f0ce5
| 23
|
py
|
Python
|
github_backup/__init__.py
|
joeminicucci/python-github-backup
|
840b32b38e6d7d650408ae93acaddff794e83a27
|
[
"MIT"
] | 4
|
2020-02-05T11:26:47.000Z
|
2021-05-26T07:48:46.000Z
|
github_backup/__init__.py
|
joeminicucci/python-github-backup
|
840b32b38e6d7d650408ae93acaddff794e83a27
|
[
"MIT"
] | null | null | null |
github_backup/__init__.py
|
joeminicucci/python-github-backup
|
840b32b38e6d7d650408ae93acaddff794e83a27
|
[
"MIT"
] | null | null | null |
__version__ = '0.38.0'
| 11.5
| 22
| 0.652174
| 4
| 23
| 2.75
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.2
| 0.130435
| 23
| 1
| 23
| 23
| 0.35
| 0
| 0
| 0
| 0
| 0
| 0.26087
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
457d700da3aad85af78ed7ae5862aa88c9b3df9e
| 622
|
py
|
Python
|
core/pandajob/urls_pandajob_singlejob.py
|
kiae-grid/panda-bigmon-core
|
ec71fcdb6ca8751eb3b2aefe0737c899c71fc583
|
[
"Apache-2.0"
] | null | null | null |
core/pandajob/urls_pandajob_singlejob.py
|
kiae-grid/panda-bigmon-core
|
ec71fcdb6ca8751eb3b2aefe0737c899c71fc583
|
[
"Apache-2.0"
] | null | null | null |
core/pandajob/urls_pandajob_singlejob.py
|
kiae-grid/panda-bigmon-core
|
ec71fcdb6ca8751eb3b2aefe0737c899c71fc583
|
[
"Apache-2.0"
] | null | null | null |
from django.conf.urls import patterns, include, url
import views as pandajob_views
urlpatterns_pandajob_singlejob = patterns('',
### url(r'^job$', pandajob_views.jobInfo, name='jobInfo'),
# url(r'^job/$', pandajob_views.jobInfo, name='jobInfo'),
# url(r'^job/(.*)/$', pandajob_views.jobInfo, name='jobInfo'),
# url(r'^job/(.*)/(.*)/$', pandajob_views.jobInfo, name='jobInfo'),
url(r'^$', pandajob_views.jobInfo, name='jobInfo'),
url(r'^(.*)/$', pandajob_views.jobInfo, name='jobInfo'),
url(r'^(.*)/(.*)/$', pandajob_views.jobInfo, name='jobInfo'),
)
urlpatterns = urlpatterns_pandajob_singlejob
| 38.875
| 70
| 0.662379
| 74
| 622
| 5.405405
| 0.22973
| 0.26
| 0.35
| 0.42
| 0.6425
| 0.6425
| 0.6425
| 0.6425
| 0.6425
| 0.6425
| 0
| 0
| 0.110932
| 622
| 15
| 71
| 41.466667
| 0.723327
| 0.395498
| 0
| 0
| 0
| 0
| 0.115068
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.25
| 0
| 0.25
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
458892fd81524c2bf4bbd75037cfffa472f9f044
| 86
|
py
|
Python
|
asyncy/processing/__init__.py
|
rashmi43/platform-engine
|
dd9a22742bc8dc43a530ea5edef39b3c35db57c1
|
[
"Apache-2.0"
] | null | null | null |
asyncy/processing/__init__.py
|
rashmi43/platform-engine
|
dd9a22742bc8dc43a530ea5edef39b3c35db57c1
|
[
"Apache-2.0"
] | null | null | null |
asyncy/processing/__init__.py
|
rashmi43/platform-engine
|
dd9a22742bc8dc43a530ea5edef39b3c35db57c1
|
[
"Apache-2.0"
] | null | null | null |
from .Lexicon import Lexicon
from .Story import Story
__all__ = ['Lexicon', 'Story']
| 17.2
| 30
| 0.732558
| 11
| 86
| 5.363636
| 0.454545
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.151163
| 86
| 4
| 31
| 21.5
| 0.808219
| 0
| 0
| 0
| 0
| 0
| 0.139535
| 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
| 1
| 0
|
0
| 4
|
45cd805b4a586193ac7f5d3c3d7da89074e5d614
| 137
|
py
|
Python
|
backend/server/apps/endpoints/admin.py
|
Lin777/DriverAPI
|
7d64efd14bc28015b0e557a1dc3b60d8740ac766
|
[
"MIT"
] | null | null | null |
backend/server/apps/endpoints/admin.py
|
Lin777/DriverAPI
|
7d64efd14bc28015b0e557a1dc3b60d8740ac766
|
[
"MIT"
] | null | null | null |
backend/server/apps/endpoints/admin.py
|
Lin777/DriverAPI
|
7d64efd14bc28015b0e557a1dc3b60d8740ac766
|
[
"MIT"
] | null | null | null |
from django.contrib import admin
from .models import DatosMovimiento
# Register your models here.
admin.site.register(DatosMovimiento)
| 19.571429
| 36
| 0.824818
| 17
| 137
| 6.647059
| 0.647059
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.116788
| 137
| 7
| 36
| 19.571429
| 0.933884
| 0.189781
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 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
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
45da39475defebe2b140910fa3d9f71f5c8c17fc
| 101
|
py
|
Python
|
tutorials/W2D2_ModernConvnets/solutions/W2D2_Tutorial1_Solution_9f27445e.py
|
justynaekert/course-content-dl
|
aa64d9feb1ae92ad4b7afaf13b13616b3a020c20
|
[
"CC-BY-4.0",
"BSD-3-Clause"
] | 473
|
2021-04-13T18:27:42.000Z
|
2022-03-28T14:14:35.000Z
|
tutorials/W2D2_ModernConvnets/solutions/W2D2_Tutorial1_Solution_9f27445e.py
|
justynaekert/course-content-dl
|
aa64d9feb1ae92ad4b7afaf13b13616b3a020c20
|
[
"CC-BY-4.0",
"BSD-3-Clause"
] | 399
|
2021-06-07T20:56:59.000Z
|
2022-01-26T23:05:06.000Z
|
tutorials/W2D2_ModernConvnets/solutions/W2D2_Tutorial1_Solution_9f27445e.py
|
justynaekert/course-content-dl
|
aa64d9feb1ae92ad4b7afaf13b13616b3a020c20
|
[
"CC-BY-4.0",
"BSD-3-Clause"
] | 170
|
2021-04-16T11:09:32.000Z
|
2022-03-31T12:13:52.000Z
|
"""
The more input features the more parameter saving
4: 28 less params
64: 448 less params
""";
| 16.833333
| 49
| 0.693069
| 16
| 101
| 4.375
| 0.75
| 0.2
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.101266
| 0.217822
| 101
| 6
| 50
| 16.833333
| 0.78481
| 0.90099
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 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
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
aff0bf097dcc71c1474e248c0f414910a675bd4f
| 170
|
py
|
Python
|
python/testData/codeInsight/controlflow/tryexceptelsefinally.py
|
jnthn/intellij-community
|
8fa7c8a3ace62400c838e0d5926a7be106aa8557
|
[
"Apache-2.0"
] | 2
|
2019-04-28T07:48:50.000Z
|
2020-12-11T14:18:08.000Z
|
python/testData/codeInsight/controlflow/tryexceptelsefinally.py
|
jnthn/intellij-community
|
8fa7c8a3ace62400c838e0d5926a7be106aa8557
|
[
"Apache-2.0"
] | 173
|
2018-07-05T13:59:39.000Z
|
2018-08-09T01:12:03.000Z
|
python/testData/codeInsight/controlflow/tryexceptelsefinally.py
|
jnthn/intellij-community
|
8fa7c8a3ace62400c838e0d5926a7be106aa8557
|
[
"Apache-2.0"
] | 2
|
2020-03-15T08:57:37.000Z
|
2020-04-07T04:48:14.000Z
|
d = dict()
try:
v = d['key']
except KeyError:
print 'element not found'
else:
print 'element value {0}'.format(v)
finally:
print 'excuting finally clause'
| 18.888889
| 39
| 0.641176
| 24
| 170
| 4.541667
| 0.75
| 0.220183
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.007576
| 0.223529
| 170
| 9
| 40
| 18.888889
| 0.818182
| 0
| 0
| 0
| 0
| 0
| 0.350877
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0
| null | null | 0.333333
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
b32f29da40bb0e297a33029b69a2d80e8c3438c8
| 29
|
py
|
Python
|
version.py
|
accept8605/OOT-Rando-with-working-Navi
|
84616d081efdc6989acd534676d2400d2bd68f23
|
[
"MIT"
] | null | null | null |
version.py
|
accept8605/OOT-Rando-with-working-Navi
|
84616d081efdc6989acd534676d2400d2bd68f23
|
[
"MIT"
] | null | null | null |
version.py
|
accept8605/OOT-Rando-with-working-Navi
|
84616d081efdc6989acd534676d2400d2bd68f23
|
[
"MIT"
] | null | null | null |
__version__ = '4.10.5 f.LUM'
| 14.5
| 28
| 0.655172
| 6
| 29
| 2.5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.16
| 0.137931
| 29
| 1
| 29
| 29
| 0.44
| 0
| 0
| 0
| 0
| 0
| 0.413793
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
b332f7903932ebad5aae77e77b43fd3c630bd000
| 194
|
py
|
Python
|
tests/existing_vm_example/existing_vm_bp_editable_params.py
|
tuxtof/calm-dsl
|
5af67435d8304b97e170a690068f2d5975e9bfe6
|
[
"Apache-2.0"
] | 37
|
2019-12-23T15:23:20.000Z
|
2022-03-15T11:12:11.000Z
|
tests/existing_vm_example/existing_vm_bp_editable_params.py
|
gabybeitler/calm-dsl
|
bac453413cfcf800eef95d89d5a7323c83654a93
|
[
"Apache-2.0"
] | 144
|
2020-03-09T11:22:09.000Z
|
2022-03-28T21:34:09.000Z
|
tests/existing_vm_example/existing_vm_bp_editable_params.py
|
gabybeitler/calm-dsl
|
bac453413cfcf800eef95d89d5a7323c83654a93
|
[
"Apache-2.0"
] | 46
|
2020-01-23T14:28:04.000Z
|
2022-03-09T04:17:10.000Z
|
variable_list = [
{"value": {"value": "var1_new_val"}, "context": "DefaultProfile", "name": "var1"},
{"value": {"value": "var2_new_val"}, "context": "DefaultProfile", "name": "var2"},
]
| 38.8
| 86
| 0.592784
| 20
| 194
| 5.5
| 0.5
| 0.181818
| 0.236364
| 0.490909
| 0.563636
| 0
| 0
| 0
| 0
| 0
| 0
| 0.02381
| 0.134021
| 194
| 4
| 87
| 48.5
| 0.630952
| 0
| 0
| 0
| 0
| 0
| 0.525773
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0
| 1
| 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
| 4
|
b34704988c527d8b3220a3f02389bfa090506452
| 697
|
py
|
Python
|
cogs/Misc/page.py
|
Ash-born/Utils-Bot-Discord
|
10a14dcec92412370848ce8b7d6cc2a5f5dd1a40
|
[
"MIT"
] | 1
|
2022-01-09T20:39:44.000Z
|
2022-01-09T20:39:44.000Z
|
cogs/Misc/page.py
|
Ash-born/Utils-Bot-Discord
|
10a14dcec92412370848ce8b7d6cc2a5f5dd1a40
|
[
"MIT"
] | null | null | null |
cogs/Misc/page.py
|
Ash-born/Utils-Bot-Discord
|
10a14dcec92412370848ce8b7d6cc2a5f5dd1a40
|
[
"MIT"
] | null | null | null |
class Page:
def __init__(self, start: int, end: int, step: int):
self.last_start = start
self.start = start
self.end = end
self.step = step
def next(self):
self.start += self.step
if self.start < self.start + self.step > self.end:
self.start = self.end - self.step
old_start = self.last_start
self.last_start = self.start
return self.start, old_start
def last(self):
self.start -= self.step
if self.start < self.start + self.step < self.step:
self.start = 0
old_start = self.last_start
self.last_start = self.start
return self.start, old_start
| 26.807692
| 59
| 0.575323
| 95
| 697
| 4.084211
| 0.157895
| 0.347938
| 0.234536
| 0.175258
| 0.613402
| 0.613402
| 0.613402
| 0.613402
| 0.613402
| 0.613402
| 0
| 0.002128
| 0.325681
| 697
| 25
| 60
| 27.88
| 0.823404
| 0
| 0
| 0.3
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.15
| false
| 0
| 0
| 0
| 0.3
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
b349206103293d1f3c9180094696abc8233ca2cc
| 222
|
py
|
Python
|
icrawler/__init__.py
|
awesome-archive/icrawler
|
b487a7b3f358ab1d8c1104749e21bab0f82236ae
|
[
"MIT"
] | null | null | null |
icrawler/__init__.py
|
awesome-archive/icrawler
|
b487a7b3f358ab1d8c1104749e21bab0f82236ae
|
[
"MIT"
] | null | null | null |
icrawler/__init__.py
|
awesome-archive/icrawler
|
b487a7b3f358ab1d8c1104749e21bab0f82236ae
|
[
"MIT"
] | null | null | null |
from .feeder import Feeder
from .feeder import SimpleSEFeeder
from .parser import Parser
from .downloader import Downloader
from .crawler import Crawler
__all__ = ['crawler', 'feeder', 'parser', 'downloader', 'examples']
| 27.75
| 67
| 0.774775
| 26
| 222
| 6.461538
| 0.346154
| 0.119048
| 0.190476
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.126126
| 222
| 7
| 68
| 31.714286
| 0.865979
| 0
| 0
| 0
| 0
| 0
| 0.166667
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.833333
| 0
| 0.833333
| 0
| 1
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
2fc5bba8a92c6d75263f92660530f9dfb2ca8a77
| 1,862
|
py
|
Python
|
matrice A.py
|
cccchloeeee/M9-projet
|
4bd34f11bdc9ab6874af2849339fd0e196215e0f
|
[
"MIT"
] | null | null | null |
matrice A.py
|
cccchloeeee/M9-projet
|
4bd34f11bdc9ab6874af2849339fd0e196215e0f
|
[
"MIT"
] | null | null | null |
matrice A.py
|
cccchloeeee/M9-projet
|
4bd34f11bdc9ab6874af2849339fd0e196215e0f
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
"""
Created on Tue Feb 15 10:43:53 2022
@author: fbloc
"""
# Incidence Matrice: Matrice A
import numpy as np
A = np.zeros([60, 49])
# Flux directed to room 1
A[0, 0] = 1
A[1, 0], A[1, 1] = -1, 1
A[2, 1], A[2, 2] = -1, 1
A[3, 2], A[3, 3] = -1, 1
A[4, 3], A[4, 4] = -1, 1
A[5, 4], A[5, 5] = -1, 1
A[6, 5], A[6, 6] = -1, 1
A[7, 6], A[7, 20] = -1, 1
A[8, 7] = 1
A[9, 7], A[9, 8] = -1, 1
A[10, 8], A[10, 9] = -1, 1
A[11, 9], A[11, 20] = -1, 1
A[12, 10] = 1
A[13, 10], A[13, 11] = -1, 1
A[14, 11], A[14, 12] = -1, 1
A[15, 12], A[15, 20] = -1, 1
A[16, 13] = 1
A[17, 13], A[17, 14] = -1, 1
A[18, 14], A[18, 15] = -1, 1
A[19, 15], A[19, 16] = -1, 1
A[20, 16], A[20, 17] = -1, 1
A[21, 17], A[21, 18] = -1, 1
A[22, 18], A[22, 19] = -1, 1
A[23, 19], A[23, 20] = -1, 1
A[24, 20] = 1
A[25, 20] = 1
A[26, 20], A[26, 21] = -1, 1
A[27, 21], A[27, 22] = -1, 1
A[28, 22], A[28, 23] = -1, 1
A[29, 23], A[29, 24] = -1, 1
A[30, 24], A[30, 25] = -1, 1
A[31, 25], A[31, 26] = -1, 1
A[32, 26], A[32, 27] = -1, 1
A[33, 27], A[33, 31] = -1, 1
A[34, 28] = 1
A[35, 28], A[35, 29] = -1, 1
A[36, 29], A[36, 30] = -1, 1
A[37, 30], A[37, 31] = -1, 1
# Flux directed to room 2
A[38, 31], A[38, 32] = 1, -1
A[39, 32], A[39, 33] = 1, -1
A[40, 33], A[40, 34] = 1, -1
A[41, 34], A[41, 35] = 1, -1
A[42, 35], A[42, 36] = 1, -1
A[43, 36], A[43, 37] = 1, -1
A[44, 37], A[44, 38] = 1, -1
A[45, 38] = 1
A[46, 31], A[46, 39] = 1, -1
A[47, 39], A[47, 40] = 1, -1
A[48, 40], A[48, 41] = 1, -1
A[49, 41] = 1
A[50, 31], A[50, 42] = 1, -1
A[51, 42], A[51, 43] = 1, -1
A[52, 43], A[52, 44] = 1, -1
A[53, 44], A[53, 45] = 1, -1
A[54, 45], A[54, 46] = 1, -1
A[55, 46], A[55, 47] = 1, -1
A[56, 47], A[56, 48] = 1, -1
A[57, 48] = 1
A[58, 31] = 1
A[59, 31] = 1
print(A)
| 23.56962
| 36
| 0.404404
| 471
| 1,862
| 1.598726
| 0.176221
| 0.159363
| 0.187251
| 0.02656
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.396801
| 0.294844
| 1,862
| 78
| 37
| 23.871795
| 0.176695
| 0.081096
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.015873
| 0
| 0.015873
| 0.015873
| 0
| 0
| 1
| null | 0
| 1
| 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
| 4
|
2fc980092954e3c01c5e4449f6e9fbc36fe0e136
| 386
|
py
|
Python
|
generated-libraries/python/netapp/fpolicy/fpolicy_server_status.py
|
radekg/netapp-ontap-lib-get
|
6445ebb071ec147ea82a486fbe9f094c56c5c40d
|
[
"MIT"
] | 2
|
2017-03-28T15:31:26.000Z
|
2018-08-16T22:15:18.000Z
|
generated-libraries/python/netapp/fpolicy/fpolicy_server_status.py
|
radekg/netapp-ontap-lib-get
|
6445ebb071ec147ea82a486fbe9f094c56c5c40d
|
[
"MIT"
] | null | null | null |
generated-libraries/python/netapp/fpolicy/fpolicy_server_status.py
|
radekg/netapp-ontap-lib-get
|
6445ebb071ec147ea82a486fbe9f094c56c5c40d
|
[
"MIT"
] | null | null | null |
class FpolicyServerStatus(basestring):
"""
Status
Possible values:
<ul>
<li> "connected" - Server Connected,
<li> "disconnected" - Server Disconnected,
<li> "connecting" - Connecting Server,
<li> "disconnecting" - Disconnecting Server
</ul>
"""
@staticmethod
def get_api_name():
return "fpolicy-server-status"
| 22.705882
| 47
| 0.595855
| 33
| 386
| 6.909091
| 0.606061
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.284974
| 386
| 16
| 48
| 24.125
| 0.826087
| 0.531088
| 0
| 0
| 0
| 0
| 0.153285
| 0.153285
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| true
| 0
| 0
| 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
| 1
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
2feef3830ec0fbbb44553fe329271571d8c7341c
| 1,450
|
py
|
Python
|
pokepay/crypto.py
|
pokepay/pokepay-partner-python-sdk
|
7437370dc1cd0bde38959713015074315291b1e1
|
[
"MIT"
] | null | null | null |
pokepay/crypto.py
|
pokepay/pokepay-partner-python-sdk
|
7437370dc1cd0bde38959713015074315291b1e1
|
[
"MIT"
] | null | null | null |
pokepay/crypto.py
|
pokepay/pokepay-partner-python-sdk
|
7437370dc1cd0bde38959713015074315291b1e1
|
[
"MIT"
] | 1
|
2022-01-28T03:00:12.000Z
|
2022-01-28T03:00:12.000Z
|
import base64
# pip install pycryptodomex
from Cryptodome.Cipher import AES
from Cryptodome import Random
from Cryptodome.Util import Padding
def _base64_url_decode(str):
return base64.urlsafe_b64decode(str + '=' * (-len(str) % 4))
def _base64_url_encode(bytes):
return base64.urlsafe_b64encode(bytes).decode(encoding='utf-8').replace(
'=', '')
def _encrypt(plaintext, key, block_size=16):
iv = Random.get_random_bytes(block_size)
key = _base64_url_decode(key)
cipher = AES.new(key, AES.MODE_CBC, iv)
plaintext_bytes = Padding.pad(plaintext.encode(encoding='utf-8'),
block_size,
style='pkcs7')
ciphertext_bytes = cipher.encrypt(b'0' * block_size + plaintext_bytes)
return _base64_url_encode(ciphertext_bytes)
def _decrypt(ciphertext, key, block_size=16):
ciphertext_bytes = _base64_url_decode(ciphertext)
body = ciphertext_bytes[16:]
iv = ciphertext_bytes[:16]
key = _base64_url_decode(key)
cipher = AES.new(key, AES.MODE_CBC, iv)
plaintext_bytes = cipher.decrypt(body)
pad_size = plaintext_bytes[-1]
return plaintext_bytes[:-pad_size].decode(encoding='utf-8')
class AESCipher(object):
def __init__(self, key):
self.key = key
def encrypt(self, plaintext):
return _encrypt(plaintext, self.key)
def decrypt(self, ciphertext):
return _decrypt(ciphertext, self.key)
| 30.208333
| 76
| 0.683448
| 184
| 1,450
| 5.119565
| 0.288043
| 0.057325
| 0.063694
| 0.038217
| 0.131635
| 0.131635
| 0.131635
| 0.131635
| 0.131635
| 0.131635
| 0
| 0.032174
| 0.206897
| 1,450
| 47
| 77
| 30.851064
| 0.786957
| 0.017241
| 0
| 0.117647
| 0
| 0
| 0.016163
| 0
| 0
| 0
| 0
| 0.021277
| 0
| 1
| 0.205882
| false
| 0
| 0.117647
| 0.117647
| 0.529412
| 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
| 1
| 0
|
0
| 4
|
64051e2a564983a97695aa6345f833702e188731
| 75
|
py
|
Python
|
src/miniq/main.py
|
zgoda/miniq
|
8ed973aec6904cba881903ad99ca25aedb978d70
|
[
"BSD-3-Clause"
] | null | null | null |
src/miniq/main.py
|
zgoda/miniq
|
8ed973aec6904cba881903ad99ca25aedb978d70
|
[
"BSD-3-Clause"
] | null | null | null |
src/miniq/main.py
|
zgoda/miniq
|
8ed973aec6904cba881903ad99ca25aedb978d70
|
[
"BSD-3-Clause"
] | null | null | null |
from .app import app, db
from .models import User
from .views import index
| 18.75
| 24
| 0.773333
| 13
| 75
| 4.461538
| 0.615385
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.173333
| 75
| 3
| 25
| 25
| 0.935484
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 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
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
640735c2c6bd38f7885e88475febd3e2426fd85f
| 63
|
py
|
Python
|
use_yamlbot_as_module.py
|
Muratam/yamlslackbot
|
55f8904a3534e9d39fe47c1d31bc87f8a7f64957
|
[
"MIT"
] | 1
|
2018-01-25T05:02:39.000Z
|
2018-01-25T05:02:39.000Z
|
use_yamlbot_as_module.py
|
Muratam/yamlslackbot
|
55f8904a3534e9d39fe47c1d31bc87f8a7f64957
|
[
"MIT"
] | null | null | null |
use_yamlbot_as_module.py
|
Muratam/yamlslackbot
|
55f8904a3534e9d39fe47c1d31bc87f8a7f64957
|
[
"MIT"
] | null | null | null |
from yamlbot import YamlBot
YamlBot("template.yml").connect()
| 15.75
| 33
| 0.777778
| 8
| 63
| 6.125
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.095238
| 63
| 3
| 34
| 21
| 0.859649
| 0
| 0
| 0
| 0
| 0
| 0.190476
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.5
| 0
| 0.5
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 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
| 4
|
641ab4755539b35ad7a39fe3121969db610693f5
| 67
|
py
|
Python
|
outils/gestionnaire_module.py
|
stormi/tsunami
|
bdc853229834b52b2ee8ed54a3161a1a3133d926
|
[
"BSD-3-Clause"
] | 14
|
2015-08-21T19:15:21.000Z
|
2017-11-26T13:59:17.000Z
|
outils/gestionnaire_module.py
|
stormi/tsunami
|
bdc853229834b52b2ee8ed54a3161a1a3133d926
|
[
"BSD-3-Clause"
] | 20
|
2015-09-29T20:50:45.000Z
|
2018-06-21T12:58:30.000Z
|
outils/gestionnaire_module.py
|
stormi/tsunami
|
bdc853229834b52b2ee8ed54a3161a1a3133d926
|
[
"BSD-3-Clause"
] | 3
|
2015-05-02T19:42:03.000Z
|
2018-09-06T10:55:00.000Z
|
#!/usr/bin/python3
# -*-coding:Utf-8 -*
import gestionnaire_module
| 16.75
| 26
| 0.716418
| 9
| 67
| 5.222222
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.032787
| 0.089552
| 67
| 3
| 27
| 22.333333
| 0.737705
| 0.537313
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 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
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
6426386ca9a837b40af9b4d2aa7437767a9b2376
| 113
|
py
|
Python
|
puzzle/action.py
|
SpilledMilkCOM/IHatePython
|
93688c877287bbca8eed24d322ca51e1e4090ea1
|
[
"MIT"
] | null | null | null |
puzzle/action.py
|
SpilledMilkCOM/IHatePython
|
93688c877287bbca8eed24d322ca51e1e4090ea1
|
[
"MIT"
] | null | null | null |
puzzle/action.py
|
SpilledMilkCOM/IHatePython
|
93688c877287bbca8eed24d322ca51e1e4090ea1
|
[
"MIT"
] | null | null | null |
class Action:
def __init__(self, number, values):
self.number = number
self.values = values
| 18.833333
| 39
| 0.619469
| 13
| 113
| 5.076923
| 0.538462
| 0.30303
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.292035
| 113
| 5
| 40
| 22.6
| 0.825
| 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 | 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
ff2ff68ab2d854e8524a519730998e56cddd7b2e
| 66
|
py
|
Python
|
inspector/plottools/PlotTransitionTimeseries.py
|
m-lab/analysis
|
cfdcb3475c042f0d2d6fa96ef29c57f8e29c17d9
|
[
"Apache-2.0"
] | 4
|
2020-04-11T20:06:59.000Z
|
2021-06-30T08:06:31.000Z
|
inspector/plottools/PlotTransitionTimeseries.py
|
m-lab/analysis
|
cfdcb3475c042f0d2d6fa96ef29c57f8e29c17d9
|
[
"Apache-2.0"
] | 11
|
2019-01-19T02:19:20.000Z
|
2021-08-30T22:04:21.000Z
|
inspector/plottools/PlotTransitionTimeseries.py
|
m-lab/analysis
|
cfdcb3475c042f0d2d6fa96ef29c57f8e29c17d9
|
[
"Apache-2.0"
] | 1
|
2020-06-25T09:48:12.000Z
|
2020-06-25T09:48:12.000Z
|
""" Do simple 2 color time series plots across the transition
"""
| 22
| 61
| 0.727273
| 10
| 66
| 4.8
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.018519
| 0.181818
| 66
| 2
| 62
| 33
| 0.87037
| 0.863636
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
ff3e89cef5b22adf954ac98b4d33d087a029d97e
| 14
|
py
|
Python
|
core/__main__.py
|
timo-cmd2/Haiku
|
ec1d16ab90b5274974a319108e18c44fa9178df0
|
[
"CC0-1.0"
] | 3
|
2021-01-11T14:37:46.000Z
|
2021-05-10T08:43:28.000Z
|
core/__main__.py
|
timo-cmd2/HyperKube
|
ec1d16ab90b5274974a319108e18c44fa9178df0
|
[
"CC0-1.0"
] | 2
|
2021-07-18T14:25:44.000Z
|
2021-07-20T15:38:03.000Z
|
core/__main__.py
|
timo-cmd2/HyperKube
|
ec1d16ab90b5274974a319108e18c44fa9178df0
|
[
"CC0-1.0"
] | null | null | null |
# main pyfile
| 7
| 13
| 0.714286
| 2
| 14
| 5
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.214286
| 14
| 1
| 14
| 14
| 0.909091
| 0.785714
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
ff5785a14a6d825bda7afbc2059046172715ad63
| 557
|
py
|
Python
|
src/sae-svm.py
|
taoxianpeng/pytorch-AutoEncoders
|
cb0edd050c763f0fc29f8275c266b151f5d5dca9
|
[
"Apache-2.0"
] | null | null | null |
src/sae-svm.py
|
taoxianpeng/pytorch-AutoEncoders
|
cb0edd050c763f0fc29f8275c266b151f5d5dca9
|
[
"Apache-2.0"
] | null | null | null |
src/sae-svm.py
|
taoxianpeng/pytorch-AutoEncoders
|
cb0edd050c763f0fc29f8275c266b151f5d5dca9
|
[
"Apache-2.0"
] | null | null | null |
from torchvision import datasets
from torchvision.datasets import ImageFolder
import torch
from sklearn import svm
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
def load_datasets(path):
datasets = ImageFolder(path)
def load_modal():
modal = torch.load('D:\GitHub\pytorch-AutoEncoders\src\SEAutoEncoder_modal.pt')
return modal
def clas_svm():
pass
def clas_pso_svm():
pass
def clas_spso_svm():
pass
def plot():
pass
if __name__ == "__main__":
antoEncoder = load_modal()
print(antoEncoder)
| 19.892857
| 83
| 0.734291
| 76
| 557
| 5.157895
| 0.5
| 0.053571
| 0.076531
| 0.071429
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.183124
| 557
| 27
| 84
| 20.62963
| 0.861538
| 0
| 0
| 0.173913
| 0
| 0
| 0.116906
| 0.102518
| 0
| 0
| 0
| 0
| 0
| 1
| 0.26087
| false
| 0.173913
| 0.304348
| 0
| 0.608696
| 0.043478
| 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
| 1
| 0
| 1
| 0
|
0
| 4
|
ff588acba3a2dea9600f4281e303b96e581c359d
| 416
|
py
|
Python
|
src/zvt/recorders/em/macro/__init__.py
|
stungkit/zvt
|
c5daeb3dc394305d3eb7298f5ff0e01cbd237760
|
[
"MIT"
] | null | null | null |
src/zvt/recorders/em/macro/__init__.py
|
stungkit/zvt
|
c5daeb3dc394305d3eb7298f5ff0e01cbd237760
|
[
"MIT"
] | null | null | null |
src/zvt/recorders/em/macro/__init__.py
|
stungkit/zvt
|
c5daeb3dc394305d3eb7298f5ff0e01cbd237760
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
# the __all__ is generated
__all__ = []
# __init__.py structure:
# common code of the package
# export interface in __all__ which contains __all__ of its sub modules
# import all from submodule em_treasury_yield_recorder
from .em_treasury_yield_recorder import *
from .em_treasury_yield_recorder import __all__ as _em_treasury_yield_recorder_all
__all__ += _em_treasury_yield_recorder_all
| 29.714286
| 82
| 0.807692
| 60
| 416
| 4.816667
| 0.5
| 0.17301
| 0.259516
| 0.397924
| 0.408305
| 0.228374
| 0
| 0
| 0
| 0
| 0
| 0.002778
| 0.134615
| 416
| 13
| 83
| 32
| 0.8
| 0.526442
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 0
| 0
| 0
| 0
| null | 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
ff6a4c70bb5e9f2203281a7f154da5f3d9014291
| 3,442
|
py
|
Python
|
11_largest_product_in_a_grid.py
|
benjiyo/EulerProject
|
47b6c5cc0ff969c050320efed98f5769cdc25c6e
|
[
"MIT"
] | null | null | null |
11_largest_product_in_a_grid.py
|
benjiyo/EulerProject
|
47b6c5cc0ff969c050320efed98f5769cdc25c6e
|
[
"MIT"
] | null | null | null |
11_largest_product_in_a_grid.py
|
benjiyo/EulerProject
|
47b6c5cc0ff969c050320efed98f5769cdc25c6e
|
[
"MIT"
] | null | null | null |
import numpy as np
input_string = """08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08
49 49 99 40 17 81 18 57 60 87 17 40 98 43 69 48 04 56 62 00
81 49 31 73 55 79 14 29 93 71 40 67 53 88 30 03 49 13 36 65
52 70 95 23 04 60 11 42 69 24 68 56 01 32 56 71 37 02 36 91
22 31 16 71 51 67 63 89 41 92 36 54 22 40 40 28 66 33 13 80
24 47 32 60 99 03 45 02 44 75 33 53 78 36 84 20 35 17 12 50
32 98 81 28 64 23 67 10 26 38 40 67 59 54 70 66 18 38 64 70
67 26 20 68 02 62 12 20 95 63 94 39 63 08 40 91 66 49 94 21
24 55 58 05 66 73 99 26 97 17 78 78 96 83 14 88 34 89 63 72
21 36 23 09 75 00 76 44 20 45 35 14 00 61 33 97 34 31 33 95
78 17 53 28 22 75 31 67 15 94 03 80 04 62 16 14 09 53 56 92
16 39 05 42 96 35 31 47 55 58 88 24 00 17 54 24 36 29 85 57
86 56 00 48 35 71 89 07 05 44 44 37 44 60 21 58 51 54 17 58
19 80 81 68 05 94 47 69 28 73 92 13 86 52 17 77 04 89 55 40
04 52 08 83 97 35 99 16 07 97 57 32 16 26 26 79 33 27 98 66
88 36 68 87 57 62 20 72 03 46 33 67 46 55 12 32 63 93 53 69
04 42 16 73 38 25 39 11 24 94 72 18 08 46 29 32 40 62 76 36
20 69 36 41 72 30 23 88 34 62 99 69 82 67 59 85 74 04 36 16
20 73 35 29 78 31 90 01 74 31 49 71 48 86 81 16 23 57 05 54
01 70 54 71 83 51 54 69 16 92 33 48 61 43 52 01 89 19 67 48
"""
size = int(np.sqrt(len(input_string) / 3)) # 20
input_string = input_string.split()
grid = np.zeros((size, size))
for i in range(20):
for j in range(20):
grid[i][j] = int(input_string[20 * i + j])
best_i = 0
best_j = 0
row_prod = 0
col_prod = 0
dia_prod = 0
max_prod = 0
# Upper left box of matrix
for i in range(size - 4):
for j in range(size - 4):
row_prod = np.prod(grid[i, j:j+4])
col_prod = np.prod(grid[i:i+4, j])
dia_prod = np.prod([grid[i+x, j+x] for x in range(4)])
if row_prod > max_prod:
max_prod = row_prod
best_i, best_j = i, j
direction = 'row'
elif col_prod > max_prod:
max_prod = col_prod
best_i, best_j = i, j
direction = 'col'
elif dia_prod > max_prod:
max_prod = dia_prod
best_i, best_j = i, j
direction = 'dia\\'
# Lower left box of matrix. To catch the / diagonals
for i in range(3, size):
for j in range(size - 4):
dia_prod = np.prod([grid[i-x, j+x] for x in range(4)])
if dia_prod > max_prod:
max_prod = dia_prod
best_i, best_j = i, j
direction = 'dia/'
# Lower 4x20 strip of matrix. To catch row
for i in range(size - 4, size):
for j in range(size - 4):
row_prod = np.prod(grid[i, j:j+4])
if row_prod > max_prod:
max_prod = row_prod
best_i, best_j = i, j
direction = 'row'
# Rightmost 20x4 strip of matrix. To catch col
for i in range(size - 4):
for j in range(size - 4, size):
col_prod = np.prod(grid[i:i+4, j])
if col_prod > max_prod:
max_prod = col_prod
best_i, best_j = i, j
direction = 'col'
i = best_i
j = best_j
print int( max_prod)
print 'i,j:', i, j
if direction == 'row':
print 'row'
print int(grid[i, j:j+4])
elif direction == 'col':
print 'col'
print int(grid[i:i+4, j])
elif direction == 'dia\\':
print 'dia\\'
print [int(grid[i+x, j+x]) for x in range(4)]
elif direction == 'dia/':
print 'dia/'
print [int(grid[i-x, j+x]) for x in range(4)]
| 31.290909
| 77
| 0.584253
| 781
| 3,442
| 2.503201
| 0.185659
| 0.050128
| 0.067519
| 0.042967
| 0.38977
| 0.359079
| 0.350895
| 0.338619
| 0.338619
| 0.317136
| 0
| 0.364307
| 0.330912
| 3,442
| 109
| 78
| 31.577982
| 0.484585
| 0.047647
| 0
| 0.306818
| 0
| 0
| 0.383557
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| null | null | 0
| 0.011364
| null | null | 0.113636
| 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 | 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
ff8bcf62d206acb1fee306b38ac45357bc3dfeef
| 327
|
py
|
Python
|
tests/test_bst.py
|
tjkemper/data-structure-scripts
|
b201067ba1d9d28cd11bf013c76d7b87e58ef2d1
|
[
"MIT"
] | null | null | null |
tests/test_bst.py
|
tjkemper/data-structure-scripts
|
b201067ba1d9d28cd11bf013c76d7b87e58ef2d1
|
[
"MIT"
] | null | null | null |
tests/test_bst.py
|
tjkemper/data-structure-scripts
|
b201067ba1d9d28cd11bf013c76d7b87e58ef2d1
|
[
"MIT"
] | null | null | null |
from src.data_structures.bst import BST
def test_bst_height():
bst = BST([])
assert bst.height() == -1
bst = BST([1])
assert bst.height() == 0
bst = BST([1, 1])
assert bst.height() == 1
bst = BST([1, 1, 1])
assert bst.height() == 2
bst = BST([1, 1, 1, 1])
assert bst.height() == 3
| 17.210526
| 39
| 0.525994
| 51
| 327
| 3.313725
| 0.27451
| 0.319527
| 0.443787
| 0.378698
| 0.532544
| 0.47929
| 0.272189
| 0
| 0
| 0
| 0
| 0.064103
| 0.284404
| 327
| 18
| 40
| 18.166667
| 0.65812
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.416667
| 1
| 0.083333
| false
| 0
| 0.083333
| 0
| 0.166667
| 0
| 0
| 0
| 0
| null | 1
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
ff9a1015d1b5313d7c9c64462a2a75c5a26aa033
| 210
|
py
|
Python
|
olgram/router.py
|
BelarusRazam/olgram
|
9e3ed843e3722ff2b1ca961065e4e9544a41dd02
|
[
"CC0-1.0"
] | 77
|
2021-09-17T14:17:08.000Z
|
2022-03-31T21:06:55.000Z
|
olgram/router.py
|
BelarusRazam/olgram
|
9e3ed843e3722ff2b1ca961065e4e9544a41dd02
|
[
"CC0-1.0"
] | 11
|
2021-09-26T14:45:56.000Z
|
2022-03-26T18:09:46.000Z
|
olgram/router.py
|
BelarusRazam/olgram
|
9e3ed843e3722ff2b1ca961065e4e9544a41dd02
|
[
"CC0-1.0"
] | 13
|
2021-10-04T12:53:26.000Z
|
2022-03-30T12:29:45.000Z
|
from aiogram import Dispatcher, Bot
from aiogram.contrib.fsm_storage.memory import MemoryStorage
from .settings import BotSettings
bot = Bot(BotSettings.token())
dp = Dispatcher(bot, storage=MemoryStorage())
| 26.25
| 60
| 0.809524
| 26
| 210
| 6.5
| 0.538462
| 0.130178
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.104762
| 210
| 7
| 61
| 30
| 0.898936
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.6
| 0
| 0.6
| 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
| 1
| 0
|
0
| 4
|
441828b130af8af831c640e4b712eb45de337267
| 163
|
py
|
Python
|
test/__init__.py
|
MatissJanis/bank2ynab
|
ade89b2aa5062821540a2efd3f91594c8f930469
|
[
"MIT"
] | 129
|
2018-11-18T19:18:34.000Z
|
2022-03-29T11:21:00.000Z
|
test/__init__.py
|
jtpedersen/bank2ynab
|
407b10acab6bf181d0da245aa179e2d2a812e67d
|
[
"MIT"
] | 197
|
2018-10-12T11:50:12.000Z
|
2022-01-25T22:28:01.000Z
|
test/__init__.py
|
jtpedersen/bank2ynab
|
407b10acab6bf181d0da245aa179e2d2a812e67d
|
[
"MIT"
] | 60
|
2018-11-20T03:02:25.000Z
|
2022-01-25T23:23:13.000Z
|
import sys
from os.path import join, realpath, dirname
project_dirname = dirname(dirname(realpath(__file__)))
sys.path.append(join(project_dirname, "bank2ynab"))
| 27.166667
| 54
| 0.797546
| 22
| 163
| 5.636364
| 0.545455
| 0.225806
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.006711
| 0.08589
| 163
| 5
| 55
| 32.6
| 0.825503
| 0
| 0
| 0
| 0
| 0
| 0.055215
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 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
| 1
| 0
| 0
| 0
|
0
| 4
|
44337ff65e5182c151185e4c70cdbd09f81f0085
| 140
|
py
|
Python
|
metabolomics_spectrum_resolver/error.py
|
mwang87/MetabolomicsSpectrumResolver
|
3b63df3f919e6ab1ac2ca48027747985854d5c1d
|
[
"MIT"
] | 5
|
2019-10-10T16:55:48.000Z
|
2021-05-27T16:06:31.000Z
|
metabolomics_spectrum_resolver/error.py
|
mwang87/MetabolomicsSpectrumResolver
|
3b63df3f919e6ab1ac2ca48027747985854d5c1d
|
[
"MIT"
] | 125
|
2019-10-02T18:49:18.000Z
|
2021-12-17T17:17:03.000Z
|
metabolomics_spectrum_resolver/error.py
|
mwang87/MetabolomicsSpectrumResolver
|
3b63df3f919e6ab1ac2ca48027747985854d5c1d
|
[
"MIT"
] | 3
|
2020-05-11T15:20:29.000Z
|
2020-07-26T23:38:49.000Z
|
class UsiError(Exception):
def __init__(self, message, error_code):
self.message = message
self.error_code = error_code
| 28
| 44
| 0.685714
| 17
| 140
| 5.235294
| 0.529412
| 0.303371
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.228571
| 140
| 4
| 45
| 35
| 0.824074
| 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 | 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
4440ba9ce17192f9991b523970e6bff637aaf430
| 245
|
py
|
Python
|
web/exceptions/zen_http_exception.py
|
mmktomato/zenmai-bts
|
e8915aed1174f9bc62f945d7be946d00fb43d4b8
|
[
"MIT"
] | null | null | null |
web/exceptions/zen_http_exception.py
|
mmktomato/zenmai-bts
|
e8915aed1174f9bc62f945d7be946d00fb43d4b8
|
[
"MIT"
] | null | null | null |
web/exceptions/zen_http_exception.py
|
mmktomato/zenmai-bts
|
e8915aed1174f9bc62f945d7be946d00fb43d4b8
|
[
"MIT"
] | null | null | null |
class ZenHttpException(Exception):
"""Exception with HTTP status code."""
def __init__(self, status):
"""Creates an instance.
Args:
status (int): HTTP status code.
"""
self.status = status
| 18.846154
| 43
| 0.563265
| 24
| 245
| 5.583333
| 0.625
| 0.149254
| 0.208955
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.322449
| 245
| 12
| 44
| 20.416667
| 0.807229
| 0.391837
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0
| 0
| 0.666667
| 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
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
445c1799d0d92fe9a78221dea129114f74c2cff8
| 225
|
py
|
Python
|
test.py
|
zhp510730568/bert
|
3dde891e754e0affe24ab30f75ef598435fc8ac4
|
[
"Apache-2.0"
] | null | null | null |
test.py
|
zhp510730568/bert
|
3dde891e754e0affe24ab30f75ef598435fc8ac4
|
[
"Apache-2.0"
] | null | null | null |
test.py
|
zhp510730568/bert
|
3dde891e754e0affe24ab30f75ef598435fc8ac4
|
[
"Apache-2.0"
] | null | null | null |
from __future__ import print_function
import json
import nltk
from nltk.corpus import wordnet
from nltk.corpus import wordnet as wn
import csv
import tensorflow as tf
if __name__=='__main__':
tf.nn.rnn_cell.BasicRNNCell
| 17.307692
| 37
| 0.813333
| 35
| 225
| 4.828571
| 0.6
| 0.094675
| 0.16568
| 0.236686
| 0.319527
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.142222
| 225
| 13
| 38
| 17.307692
| 0.875648
| 0
| 0
| 0
| 0
| 0
| 0.035398
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.777778
| 0
| 0.777778
| 0.111111
| 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
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
445c19eacdaee106c9e09e69bb62fa118b637433
| 384
|
py
|
Python
|
openpds/backends/dual.py
|
pmundt/openPDS
|
6287d5946627cdafbfb3b0bc617b21eb2431f55e
|
[
"MIT"
] | 67
|
2015-01-05T17:13:34.000Z
|
2021-08-17T16:30:10.000Z
|
openpds/backends/dual.py
|
pmundt/openPDS
|
6287d5946627cdafbfb3b0bc617b21eb2431f55e
|
[
"MIT"
] | 19
|
2015-01-22T21:37:16.000Z
|
2018-12-02T00:58:37.000Z
|
openpds/backends/dual.py
|
pmundt/openPDS
|
6287d5946627cdafbfb3b0bc617b21eb2431f55e
|
[
"MIT"
] | 29
|
2015-01-05T17:13:40.000Z
|
2019-07-08T03:21:48.000Z
|
from openpds.backends.sql import SQLiteInternalDataStore
from openpds.backends..mongo import InternalDataStore
from openpds.backends.compound import CompoundInternalDataStore
def getInternalDataStore(profile, app_id, lab_id, token):
return CompoundInternalDataStore(InternalDataStore(profile, app_id, lab_id, token), SQLiteInternalDataStore(profile, app_id, lab_id, token))
| 48
| 144
| 0.838542
| 42
| 384
| 7.52381
| 0.428571
| 0.10443
| 0.18038
| 0.142405
| 0.208861
| 0.208861
| 0
| 0
| 0
| 0
| 0
| 0
| 0.09375
| 384
| 7
| 145
| 54.857143
| 0.908046
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0.6
| null | null | 0
| 0
| 0
| 0
| null | 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
4469833c30f4b93e0d6f0c8fc0f28f8cefb60499
| 100
|
py
|
Python
|
ghostpost_app/apps.py
|
amandalynnes/ghostpost
|
804b87790cafdc0740f860820b667e0dbd99c1b8
|
[
"MIT"
] | null | null | null |
ghostpost_app/apps.py
|
amandalynnes/ghostpost
|
804b87790cafdc0740f860820b667e0dbd99c1b8
|
[
"MIT"
] | null | null | null |
ghostpost_app/apps.py
|
amandalynnes/ghostpost
|
804b87790cafdc0740f860820b667e0dbd99c1b8
|
[
"MIT"
] | null | null | null |
from django.apps import AppConfig
class GhostpostAppConfig(AppConfig):
name = 'ghostpost_app'
| 16.666667
| 36
| 0.78
| 11
| 100
| 7
| 0.909091
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.15
| 100
| 5
| 37
| 20
| 0.905882
| 0
| 0
| 0
| 0
| 0
| 0.13
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
923ef7d44446aa5361dded352d868c8751e08ae3
| 95
|
py
|
Python
|
python/p1256.py
|
forewing/lc
|
314468a1a3bb7d38eccf1f34b0d1b7da04a34784
|
[
"CC0-1.0"
] | null | null | null |
python/p1256.py
|
forewing/lc
|
314468a1a3bb7d38eccf1f34b0d1b7da04a34784
|
[
"CC0-1.0"
] | null | null | null |
python/p1256.py
|
forewing/lc
|
314468a1a3bb7d38eccf1f34b0d1b7da04a34784
|
[
"CC0-1.0"
] | null | null | null |
class Solution:
def encode(self, num: int) -> str:
return format(num + 1, "b")[1:]
| 23.75
| 39
| 0.557895
| 14
| 95
| 3.785714
| 0.857143
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.028571
| 0.263158
| 95
| 3
| 40
| 31.666667
| 0.728571
| 0
| 0
| 0
| 0
| 0
| 0.010526
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0
| 0.333333
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
|
0
| 4
|
926df1aa524e0803b8cd2ec46756831038b3b830
| 70
|
py
|
Python
|
tests/__init__.py
|
fitzgeraldja/lazypredictplus
|
53280f5405fe2b4f90190c20d71c097f56f8e2d2
|
[
"MIT"
] | null | null | null |
tests/__init__.py
|
fitzgeraldja/lazypredictplus
|
53280f5405fe2b4f90190c20d71c097f56f8e2d2
|
[
"MIT"
] | null | null | null |
tests/__init__.py
|
fitzgeraldja/lazypredictplus
|
53280f5405fe2b4f90190c20d71c097f56f8e2d2
|
[
"MIT"
] | null | null | null |
# -*- coding: utf-8 -*-
"""Unit test package for lazypredictplus."""
| 17.5
| 44
| 0.614286
| 8
| 70
| 5.375
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.016949
| 0.157143
| 70
| 3
| 45
| 23.333333
| 0.711864
| 0.871429
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
9287b8bde368700fbda1a008fe43efa219f106cc
| 86
|
py
|
Python
|
dnscatz/__init__.py
|
kirei/catz
|
419629bc3089ae22b94e9568668bcbc0ddd9243c
|
[
"BSD-2-Clause"
] | null | null | null |
dnscatz/__init__.py
|
kirei/catz
|
419629bc3089ae22b94e9568668bcbc0ddd9243c
|
[
"BSD-2-Clause"
] | null | null | null |
dnscatz/__init__.py
|
kirei/catz
|
419629bc3089ae22b94e9568668bcbc0ddd9243c
|
[
"BSD-2-Clause"
] | null | null | null |
import pkg_resources
__version__ = pkg_resources.get_distribution("dnscatz").version
| 21.5
| 63
| 0.848837
| 10
| 86
| 6.6
| 0.7
| 0.363636
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.069767
| 86
| 3
| 64
| 28.666667
| 0.825
| 0
| 0
| 0
| 0
| 0
| 0.081395
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 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
| 1
| 0
| 0
| 0
|
0
| 4
|
2ba3d1b760a40d5e14a78a705cbe8deb64be3d29
| 89
|
py
|
Python
|
cleverbot/__init__.py
|
duanegtr/legendv3-cogs
|
ffde1452a75ad42b4f6511b612ce486e96fcd6de
|
[
"MIT"
] | 10
|
2020-05-25T13:32:30.000Z
|
2022-02-01T12:33:07.000Z
|
cleverbot/__init__.py
|
darcyle/tl-cogs
|
6b13c4a6247115571c5a2bb6ea98ed1fe2d44d79
|
[
"MIT"
] | 2
|
2020-05-23T22:53:07.000Z
|
2020-08-09T11:28:12.000Z
|
cleverbot/__init__.py
|
darcyle/tl-cogs
|
6b13c4a6247115571c5a2bb6ea98ed1fe2d44d79
|
[
"MIT"
] | 7
|
2020-05-18T17:37:33.000Z
|
2022-01-13T04:08:05.000Z
|
from .cleverbot import Cleverbotcog
def setup(bot):
bot.add_cog(Cleverbotcog(bot))
| 14.833333
| 35
| 0.752809
| 12
| 89
| 5.5
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.146067
| 89
| 5
| 36
| 17.8
| 0.868421
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0.333333
| 0
| 0.666667
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
2ba826eccb72259f055c583c31ddc136150295af
| 935
|
py
|
Python
|
runTests.py
|
JohnWebb4/toy_problems
|
7d7351bdfbc95205f65b6a6b5f730acbd3bdf171
|
[
"MIT"
] | null | null | null |
runTests.py
|
JohnWebb4/toy_problems
|
7d7351bdfbc95205f65b6a6b5f730acbd3bdf171
|
[
"MIT"
] | 1
|
2021-08-30T04:27:24.000Z
|
2021-08-30T04:27:24.000Z
|
runTests.py
|
JohnWebb4/toy-problems
|
d0691f8eb7cde31c8e6df15502357d6a9492a0ea
|
[
"MIT"
] | null | null | null |
import unittest
from src.specialMultiple.specialMultipleTests import TestSpecialMultiple
from src.chefAndGroups.chefAndGroupsTests import TestChefAndGroups
from src.countingValleys.countingValleysTests import TestCountingValleys
from src.containerOfBalls.containerOfBallsTests import TestContainerOfBalls
from src.cycleDetection.cycleDetectionTests import TestCycleDetection
from src.longestSubstring.longestSubstringTests import TestLongestSubstring
from src.ransomNote.ransomNoteTests import TestRansomNote
from src.makingAnagrams.makingAnagramsTests import TestMakingAnagrams
from src.removeDuplicates.removeDuplicatesTests import TestRemoveDuplicates
from src.shortestPathMatrix.shortestPathMatrixTests import TestShortestPathMatrix
from src.reverseInteger.reverseIntegerTests import TestReverseInteger
from src.roadsAndLibraries.roadsAndLibrariesTests import TestRoadsAndLibraries
if __name__ == '__main__':
unittest.main()
| 51.944444
| 81
| 0.900535
| 79
| 935
| 10.556962
| 0.544304
| 0.100719
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.065241
| 935
| 17
| 82
| 55
| 0.954233
| 0
| 0
| 0
| 0
| 0
| 0.008556
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.866667
| 0
| 0.866667
| 0
| 0
| 0
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
2bcd894b9cafee40216b1b061b8e26423e0998ec
| 8,821
|
py
|
Python
|
opnsense_cli/tests/commands/plugin/test_haproxy_acl.py
|
jan-win1993/opn-cli
|
83c4792571dacbe6483722a95276954c7a2d0b3c
|
[
"BSD-2-Clause"
] | 13
|
2021-05-17T10:42:25.000Z
|
2022-02-21T02:10:41.000Z
|
opnsense_cli/tests/commands/plugin/test_haproxy_acl.py
|
jan-win1993/opn-cli
|
83c4792571dacbe6483722a95276954c7a2d0b3c
|
[
"BSD-2-Clause"
] | 14
|
2021-05-17T13:53:27.000Z
|
2021-12-16T12:45:44.000Z
|
opnsense_cli/tests/commands/plugin/test_haproxy_acl.py
|
jan-win1993/opn-cli
|
83c4792571dacbe6483722a95276954c7a2d0b3c
|
[
"BSD-2-Clause"
] | 2
|
2021-04-28T08:41:07.000Z
|
2022-03-28T10:20:51.000Z
|
from unittest.mock import patch, Mock
from opnsense_cli.commands.plugin.haproxy.acl import acl
from opnsense_cli.tests.commands.base import CommandTestCase
class TestHaproxyAclCommands(CommandTestCase):
def setUp(self):
self._api_data_fixtures_reconfigure_OK = {
"status": "ok"
}
self._api_data_fixtures_reconfigure_FAILED = {
"status": "failed"
}
self._api_data_fixtures_configtest_OK = {
"result": "Configuration file is valid\n\n\n"
}
self._api_data_fixtures_configtest_FAILED = {
"result": "Configuration file is invalid\n\n\n"
}
self._api_data_fixtures_create_OK = {
"result": "saved",
"uuid": "85282721-934c-42be-ba4d-a93cbfda26af"
}
self._api_data_fixtures_create_ERROR = {
"result": "failed",
"validations": {'acl.ssl_c_verify_code': 'Please specify a value between 0 and 500000.'}
}
self._api_data_fixtures_update_OK = {
"result": "saved"
}
self._api_data_fixtures_update_NOT_EXISTS = {
"result": "failed"
}
self._api_data_fixtures_delete_NOT_FOUND = {
"result": "not found"
}
self._api_data_fixtures_delete_OK = {
"result": "deleted"
}
self._api_data_fixtures_list_EMPTY = {
"haproxy": {
"acls": {
"acl": []
}
}
}
self._api_data_fixtures_list = self._read_json_fixture('plugin/haproxy/model_data.json')
self._api_client_args_fixtures = [
'api_key',
'api_secret',
'https://127.0.0.1/api',
True,
'~/.opn-cli/ca.pem',
60
]
@patch('opnsense_cli.commands.plugin.haproxy.acl.ApiClient.execute')
def test_list(self, api_response_mock: Mock):
result = self._opn_cli_command_result(
api_response_mock,
[
self._api_data_fixtures_list,
],
acl,
[
'list', '-o', 'plain', '-c',
'uuid,name,description,expression,negate'
]
)
self.assertIn(
(
"0a5b6c77-7a3a-4cb1-9a38-9ace2756c68e my_condition http_auth 0\n"
),
result.output
)
@patch('opnsense_cli.commands.plugin.haproxy.acl.ApiClient.execute')
def test_list_EMPTY(self, api_response_mock: Mock):
result = self._opn_cli_command_result(
api_response_mock,
[
self._api_data_fixtures_list_EMPTY,
],
acl,
['list', '-o', 'plain']
)
self.assertIn("", result.output)
@patch('opnsense_cli.commands.plugin.haproxy.acl.ApiClient.execute')
def test_show_NOT_FOUND(self, api_response_mock: Mock):
result = self._opn_cli_command_result(
api_response_mock,
[
self._api_data_fixtures_list,
],
acl,
['show', 'b468c719-89db-45a8-bd02-b081246dc002']
)
self.assertIn("", result.output)
@patch('opnsense_cli.commands.plugin.haproxy.acl.ApiClient.execute')
def test_show_EMPTY_STRING(self, api_response_mock: Mock):
result = self._opn_cli_command_result(
api_response_mock,
[
self._api_data_fixtures_list,
],
acl,
['show', '']
)
self.assertIn("", result.output)
@patch('opnsense_cli.commands.plugin.haproxy.acl.ApiClient.execute')
def test_show(self, api_response_mock: Mock):
result = self._opn_cli_command_result(
api_response_mock,
[
self._api_data_fixtures_list,
],
acl,
[
'show', '0a5b6c77-7a3a-4cb1-9a38-9ace2756c68e', '-o', 'plain', '-c',
'uuid,name,description,expression,negate'
]
)
self.assertIn(
(
"0a5b6c77-7a3a-4cb1-9a38-9ace2756c68e my_condition http_auth 0\n"
),
result.output
)
@patch('opnsense_cli.commands.plugin.haproxy.acl.ApiClient.execute')
def test_create_OK(self, api_response_mock: Mock):
result = self._opn_cli_command_result(
api_response_mock,
[
self._api_data_fixtures_list,
self._api_data_fixtures_create_OK,
self._api_data_fixtures_configtest_OK,
self._api_data_fixtures_reconfigure_OK,
],
acl,
[
"create", "my_test_acl",
"--expression", "hdr_beg",
"--hdr_beg", "preifx_",
"--no-negate",
"--nbsrv_backend", "pool1",
"--queryBackend", "pool1",
"--allowedUsers", "user1",
"--allowedGroups", "group1",
]
)
self.assertIn(
(
"saved \n"
),
result.output
)
@patch('opnsense_cli.commands.plugin.haproxy.acl.ApiClient.execute')
def test_create_ERROR(self, api_response_mock: Mock):
result = self._opn_cli_command_result(
api_response_mock,
[
self._api_data_fixtures_create_ERROR,
self._api_data_fixtures_configtest_OK,
self._api_data_fixtures_reconfigure_OK,
],
acl,
[
"create", "my_test_acl",
"--expression", "ssl_c_verify_code",
"--ssl_c_verify_code", 100000000000
]
)
self.assertIn(
(
"Error: {'result': 'failed', 'validations': "
"{'acl.ssl_c_verify_code': 'Please specify a value between 0 and 500000.'}}\n"
),
result.output
)
self.assertEqual(1, result.exit_code)
@patch('opnsense_cli.commands.plugin.haproxy.acl.ApiClient.execute')
def test_update_OK(self, api_response_mock: Mock):
result = self._opn_cli_command_result(
api_response_mock,
[
self._api_data_fixtures_update_OK,
self._api_data_fixtures_configtest_OK,
self._api_data_fixtures_reconfigure_OK,
],
acl,
[
"update", "0a5b6c77-7a3a-4cb1-9a38-9ace2756c68e",
"--no-negate"
]
)
self.assertIn(
(
"saved \n"
),
result.output
)
@patch('opnsense_cli.commands.plugin.haproxy.acl.ApiClient.execute')
def test_update_NOT_EXISTS(self, api_response_mock: Mock):
result = self._opn_cli_command_result(
api_response_mock,
[
self._api_data_fixtures_update_NOT_EXISTS,
self._api_data_fixtures_configtest_OK,
self._api_data_fixtures_reconfigure_OK,
],
acl,
[
"update", "99282721-934c-42be-ba4d-a93cbfda2644",
"--no-negate",
]
)
self.assertIn(
(
"Error: {'result': 'failed'}\n"
),
result.output
)
self.assertEqual(1, result.exit_code)
@patch('opnsense_cli.commands.plugin.haproxy.acl.ApiClient.execute')
def test_delete_OK(self, api_response_mock: Mock):
result = self._opn_cli_command_result(
api_response_mock,
[
self._api_data_fixtures_delete_OK,
self._api_data_fixtures_configtest_OK,
self._api_data_fixtures_reconfigure_OK,
],
acl,
[
"delete", "0a5b6c77-7a3a-4cb1-9a38-9ace2756c68e",
]
)
self.assertIn(
(
"deleted \n"
),
result.output
)
@patch('opnsense_cli.commands.plugin.haproxy.acl.ApiClient.execute')
def test_delete_NOT_FOUND(self, api_response_mock: Mock):
result = self._opn_cli_command_result(
api_response_mock,
[
self._api_data_fixtures_delete_NOT_FOUND,
self._api_data_fixtures_configtest_OK,
self._api_data_fixtures_reconfigure_OK,
],
acl,
[
"delete", "99282721-934c-42be-ba4d-a93cbfda2644",
]
)
self.assertIn("Error: {'result': 'not found'}\n", result.output)
self.assertEqual(1, result.exit_code)
| 31.730216
| 100
| 0.530325
| 852
| 8,821
| 5.091549
| 0.149061
| 0.077455
| 0.091286
| 0.157676
| 0.834486
| 0.781005
| 0.707008
| 0.677501
| 0.677501
| 0.667589
| 0
| 0.039089
| 0.367759
| 8,821
| 277
| 101
| 31.844765
| 0.738748
| 0
| 0
| 0.427451
| 0
| 0
| 0.221403
| 0.126516
| 0
| 0
| 0
| 0
| 0.054902
| 1
| 0.047059
| false
| 0
| 0.011765
| 0
| 0.062745
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 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
| 4
|
2be0be96da0df229de36b5b08439706f6b27940c
| 1,891
|
py
|
Python
|
qcloudsdktdsql/CdbTdsqlAddUserRequest.py
|
f3n9/qcloudcli
|
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
|
[
"Apache-2.0"
] | null | null | null |
qcloudsdktdsql/CdbTdsqlAddUserRequest.py
|
f3n9/qcloudcli
|
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
|
[
"Apache-2.0"
] | null | null | null |
qcloudsdktdsql/CdbTdsqlAddUserRequest.py
|
f3n9/qcloudcli
|
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
|
[
"Apache-2.0"
] | null | null | null |
# -*- coding: utf-8 -*-
from qcloudsdkcore.request import Request
class CdbTdsqlAddUserRequest(Request):
def __init__(self):
super(CdbTdsqlAddUserRequest, self).__init__(
'tdsql', 'qcloudcliV1', 'CdbTdsqlAddUser', 'tdsql.api.qcloud.com')
def get_cdbInstanceId(self):
return self.get_params().get('cdbInstanceId')
def set_cdbInstanceId(self, cdbInstanceId):
self.add_param('cdbInstanceId', cdbInstanceId)
def get_dbMode(self):
return self.get_params().get('dbMode')
def set_dbMode(self, dbMode):
self.add_param('dbMode', dbMode)
def get_delayThresh(self):
return self.get_params().get('delayThresh')
def set_delayThresh(self, delayThresh):
self.add_param('delayThresh', delayThresh)
def get_description(self):
return self.get_params().get('description')
def set_description(self, description):
self.add_param('description', description)
def get_host(self):
return self.get_params().get('host')
def set_host(self, host):
self.add_param('host', host)
def get_password(self):
return self.get_params().get('password')
def set_password(self, password):
self.add_param('password', password)
def get_readOnly(self):
return self.get_params().get('readOnly')
def set_readOnly(self, readOnly):
self.add_param('readOnly', readOnly)
def get_sameIDC(self):
return self.get_params().get('sameIDC')
def set_sameIDC(self, sameIDC):
self.add_param('sameIDC', sameIDC)
def get_userName(self):
return self.get_params().get('userName')
def set_userName(self, userName):
self.add_param('userName', userName)
def get_watch(self):
return self.get_params().get('watch')
def set_watch(self, watch):
self.add_param('watch', watch)
| 27.014286
| 78
| 0.660497
| 225
| 1,891
| 5.337778
| 0.155556
| 0.049958
| 0.11657
| 0.141549
| 0.216486
| 0.216486
| 0
| 0
| 0
| 0
| 0
| 0.001338
| 0.209413
| 1,891
| 69
| 79
| 27.405797
| 0.802007
| 0.011105
| 0
| 0
| 0
| 0
| 0.114026
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.466667
| false
| 0.088889
| 0.022222
| 0.222222
| 0.733333
| 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
| 1
| 0
|
0
| 4
|
2be0ed6210e09e01f80a15e28930dbcc5432a9de
| 516
|
py
|
Python
|
abstract_factory/factory_high_quality.py
|
rlelito/DesignPatterns
|
4e59442a10c1407ed4d9cdceea790263c30223b3
|
[
"MIT"
] | null | null | null |
abstract_factory/factory_high_quality.py
|
rlelito/DesignPatterns
|
4e59442a10c1407ed4d9cdceea790263c30223b3
|
[
"MIT"
] | null | null | null |
abstract_factory/factory_high_quality.py
|
rlelito/DesignPatterns
|
4e59442a10c1407ed4d9cdceea790263c30223b3
|
[
"MIT"
] | null | null | null |
from factory_controller import FactoryController
from driver_screen import ScreenDriver
from driver_printer import PrinterDriver
from driver_screen_high_quality import ScreenDriverHighQuality
from driver_printer_high_quality import PrinterDriverHighQuality
class FactoryHighQuality(FactoryController):
@staticmethod
def get_screen_driver() -> ScreenDriver:
return ScreenDriverHighQuality()
@staticmethod
def get_printer_driver() -> PrinterDriver:
return PrinterDriverHighQuality()
| 32.25
| 64
| 0.825581
| 48
| 516
| 8.604167
| 0.416667
| 0.096852
| 0.077482
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.137597
| 516
| 15
| 65
| 34.4
| 0.92809
| 0
| 0
| 0.166667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.166667
| true
| 0
| 0.416667
| 0.166667
| 0.833333
| 0.25
| 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
| 1
| 1
| 0
|
0
| 4
|
2bf269e7698918ba1c3e24319a7a3a1881d3512e
| 241
|
py
|
Python
|
nn_meter/builder/kernel_predictor_builder/predictor_builder/__init__.py
|
Andyyoung0507/nn-Meter
|
d5d4cd92a2c81a9f6f5806965a80b9217ffc73cc
|
[
"MIT"
] | null | null | null |
nn_meter/builder/kernel_predictor_builder/predictor_builder/__init__.py
|
Andyyoung0507/nn-Meter
|
d5d4cd92a2c81a9f6f5806965a80b9217ffc73cc
|
[
"MIT"
] | null | null | null |
nn_meter/builder/kernel_predictor_builder/predictor_builder/__init__.py
|
Andyyoung0507/nn-Meter
|
d5d4cd92a2c81a9f6f5806965a80b9217ffc73cc
|
[
"MIT"
] | null | null | null |
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.
from .build_predictor import build_predictor_by_data
from .extract_feature import get_data_by_profiled_results, BaseFeatureParser
from .utils import collect_kernel_data
| 48.2
| 76
| 0.863071
| 33
| 241
| 5.969697
| 0.727273
| 0.142132
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.095436
| 241
| 5
| 77
| 48.2
| 0.90367
| 0.282158
| 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
| 1
| 0
|
0
| 4
|
920caf82ecba4352814b7fef540e6e63949341c4
| 172
|
py
|
Python
|
regions/io/crtf/__init__.py
|
dhomeier/regions
|
5055128abda57c3b463f51ede0a6ac0ef5a0c698
|
[
"BSD-3-Clause"
] | 46
|
2015-05-26T20:59:24.000Z
|
2022-03-31T04:57:50.000Z
|
regions/io/crtf/__init__.py
|
dhomeier/regions
|
5055128abda57c3b463f51ede0a6ac0ef5a0c698
|
[
"BSD-3-Clause"
] | 338
|
2015-05-15T20:33:35.000Z
|
2022-03-31T21:43:43.000Z
|
regions/io/crtf/__init__.py
|
dhomeier/regions
|
5055128abda57c3b463f51ede0a6ac0ef5a0c698
|
[
"BSD-3-Clause"
] | 49
|
2016-03-21T22:12:31.000Z
|
2022-03-29T21:50:25.000Z
|
# Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
This subpackage provides tools for reading and writing CRTF (CASA Region
Text Format) region files.
"""
| 28.666667
| 72
| 0.761628
| 26
| 172
| 5.038462
| 0.923077
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.006944
| 0.162791
| 172
| 5
| 73
| 34.4
| 0.902778
| 0.94186
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
ecf84a18ee039fcfa365dc05d59769fd28aee6bb
| 64
|
py
|
Python
|
renewer/action.py
|
cloud-gov/legacy-domain-certificate-renewer
|
6b008fdc8e1277cfe4449626e6c488d11fc4857c
|
[
"CC0-1.0"
] | 1
|
2021-11-16T17:25:21.000Z
|
2021-11-16T17:25:21.000Z
|
renewer/action.py
|
cloud-gov/legacy-domain-certificate-renewer
|
6b008fdc8e1277cfe4449626e6c488d11fc4857c
|
[
"CC0-1.0"
] | 1
|
2021-12-22T19:04:34.000Z
|
2021-12-22T19:04:34.000Z
|
renewer/action.py
|
cloud-gov/legacy-domain-certificate-renewer
|
6b008fdc8e1277cfe4449626e6c488d11fc4857c
|
[
"CC0-1.0"
] | null | null | null |
from enum import Enum
class Action(Enum):
RENEW = "renew"
| 10.666667
| 21
| 0.671875
| 9
| 64
| 4.777778
| 0.666667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.234375
| 64
| 5
| 22
| 12.8
| 0.877551
| 0
| 0
| 0
| 0
| 0
| 0.078125
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
a60a9e936dbbc42029787ae760241cf445fb6411
| 360
|
py
|
Python
|
src/contentus/models.py
|
HammudElHammud/DjangoProject
|
6e9fc3065fec9a7b9e624139c84cca7942c2e2d5
|
[
"bzip2-1.0.6"
] | null | null | null |
src/contentus/models.py
|
HammudElHammud/DjangoProject
|
6e9fc3065fec9a7b9e624139c84cca7942c2e2d5
|
[
"bzip2-1.0.6"
] | null | null | null |
src/contentus/models.py
|
HammudElHammud/DjangoProject
|
6e9fc3065fec9a7b9e624139c84cca7942c2e2d5
|
[
"bzip2-1.0.6"
] | null | null | null |
from django.db import models
class Contentus(models.Model):
name = models.CharField(default='',max_length=20)
email = models.CharField(default='',max_length=20)
tel = models.IntegerField(default='')
subject = models.CharField(default='',max_length=50)
message = models.CharField(default='',max_length=200)
# Create your models here.
| 32.727273
| 58
| 0.713889
| 45
| 360
| 5.622222
| 0.533333
| 0.237154
| 0.347826
| 0.395257
| 0.505929
| 0.26087
| 0
| 0
| 0
| 0
| 0
| 0.029316
| 0.147222
| 360
| 10
| 59
| 36
| 0.794788
| 0.066667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.142857
| 0
| 1
| 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
| 1
| 0
|
0
| 4
|
a62e19cd5bae3a721f6492e4396d8dd1bec07008
| 97
|
py
|
Python
|
Main.py
|
FizzyKing6002/chess-project
|
5721ef9acb4b318a4bf3a04f30da7f579d947ce1
|
[
"MIT"
] | null | null | null |
Main.py
|
FizzyKing6002/chess-project
|
5721ef9acb4b318a4bf3a04f30da7f579d947ce1
|
[
"MIT"
] | null | null | null |
Main.py
|
FizzyKing6002/chess-project
|
5721ef9acb4b318a4bf3a04f30da7f579d947ce1
|
[
"MIT"
] | null | null | null |
import Chess_v0_8_threading as Chess
if __name__ == "__main__":
Chess.startup.start()
| 16.166667
| 37
| 0.701031
| 13
| 97
| 4.384615
| 0.846154
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.025974
| 0.206186
| 97
| 5
| 38
| 19.4
| 0.714286
| 0
| 0
| 0
| 0
| 0
| 0.086957
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.333333
| 0
| 0.333333
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
a6526dfa47c0add943ce14aad42e73f0f8c8ce85
| 519
|
py
|
Python
|
profiles_api/admin.py
|
pawel-zielinski/profiles-rest-api
|
d8842716cdd102dcffde6ea3f5ac8baeefeb9516
|
[
"MIT"
] | null | null | null |
profiles_api/admin.py
|
pawel-zielinski/profiles-rest-api
|
d8842716cdd102dcffde6ea3f5ac8baeefeb9516
|
[
"MIT"
] | null | null | null |
profiles_api/admin.py
|
pawel-zielinski/profiles-rest-api
|
d8842716cdd102dcffde6ea3f5ac8baeefeb9516
|
[
"MIT"
] | null | null | null |
from django.contrib import admin
from profiles_api import models # Import models from our project
admin.site.register(models.UserProfile) # To tell the Django admin to register our UserProfile model with the admin site so it makes it
# accessible through the admin interface.
admin.site.register(models.ProfileFeedItem)
# Register your models here.
| 57.666667
| 175
| 0.55106
| 52
| 519
| 5.480769
| 0.519231
| 0.094737
| 0.119298
| 0.161404
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.416185
| 519
| 8
| 176
| 64.875
| 0.940594
| 0.368015
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.5
| 0
| 0.5
| 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
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
a65dff7140831e12c53108881e7e65125ba8c12f
| 120
|
py
|
Python
|
reddit_to_sqlite/__init__.py
|
namuan/reddit-to-sqlite
|
98305a7fb045a0a29939ca904d2497afd7779556
|
[
"MIT"
] | 2
|
2021-06-22T17:55:03.000Z
|
2021-12-26T16:44:31.000Z
|
reddit_to_sqlite/__init__.py
|
namuan/reddit-to-sqlite
|
98305a7fb045a0a29939ca904d2497afd7779556
|
[
"MIT"
] | null | null | null |
reddit_to_sqlite/__init__.py
|
namuan/reddit-to-sqlite
|
98305a7fb045a0a29939ca904d2497afd7779556
|
[
"MIT"
] | 1
|
2021-12-26T16:50:03.000Z
|
2021-12-26T16:50:03.000Z
|
# __version__ = '0.1.0'
import pkg_resources
__version__ = pkg_resources.get_distribution("reddit_to_sqlite").version
| 20
| 72
| 0.8
| 16
| 120
| 5.1875
| 0.6875
| 0.289157
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.027523
| 0.091667
| 120
| 5
| 73
| 24
| 0.733945
| 0.175
| 0
| 0
| 0
| 0
| 0.164948
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.5
| 0
| 0.5
| 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
| 1
| 0
| 0
| 0
|
0
| 4
|
a663a2acb456a7a1f68ef915df9651761cf72314
| 171
|
py
|
Python
|
carkov/analyze/__init__.py
|
aldercone/carkov
|
ce5490a04018f2496ea3d41343b67f656b29f40e
|
[
"BSD-3-Clause"
] | null | null | null |
carkov/analyze/__init__.py
|
aldercone/carkov
|
ce5490a04018f2496ea3d41343b67f656b29f40e
|
[
"BSD-3-Clause"
] | null | null | null |
carkov/analyze/__init__.py
|
aldercone/carkov
|
ce5490a04018f2496ea3d41343b67f656b29f40e
|
[
"BSD-3-Clause"
] | null | null | null |
#
# carkov markov chain library
# © Copyright 2021 by Aldercone Studio <aldercone@gmail.com>
# This is free software, see the included LICENSE for terms and conditions.
#
| 28.5
| 75
| 0.766082
| 25
| 171
| 5.28
| 0.96
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.027972
| 0.163743
| 171
| 5
| 76
| 34.2
| 0.888112
| 0.935673
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
a6baede86ec0d643459ab742910f2c5203e14c62
| 172
|
py
|
Python
|
Abstract Factory/Python 3/TeamAssessmentRPCConnection.py
|
kuuhaku86/design-patterns
|
9044ecbeb366fec97e27f1ec51e66d0fafdace07
|
[
"MIT"
] | 11
|
2022-03-24T15:08:06.000Z
|
2022-03-30T19:24:30.000Z
|
Abstract Factory/Python 3/TeamAssessmentRPCConnection.py
|
kuuhaku86/design-patterns
|
9044ecbeb366fec97e27f1ec51e66d0fafdace07
|
[
"MIT"
] | null | null | null |
Abstract Factory/Python 3/TeamAssessmentRPCConnection.py
|
kuuhaku86/design-patterns
|
9044ecbeb366fec97e27f1ec51e66d0fafdace07
|
[
"MIT"
] | null | null | null |
from IRPCConnection import IRPCConnection
class TeamAssessmentRPCConnection(IRPCConnection):
def callProcedure(self):
print("Calling procedure from Assessment Team")
| 34.4
| 51
| 0.831395
| 16
| 172
| 8.9375
| 0.8125
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.110465
| 172
| 5
| 51
| 34.4
| 0.934641
| 0
| 0
| 0
| 0
| 0
| 0.219653
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.25
| 0
| 0.75
| 0.25
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
a6ccd8a4ecad08ede2bb736c4e32217713052486
| 56
|
py
|
Python
|
tests/integrations/tornado/__init__.py
|
annu-ps31/sentry-python
|
3966b4a9744bfcb8c53dcca1b615bbadf4935aec
|
[
"BSD-2-Clause"
] | 1,213
|
2018-06-19T00:51:01.000Z
|
2022-03-31T06:37:16.000Z
|
tests/integrations/tornado/__init__.py
|
annu-ps31/sentry-python
|
3966b4a9744bfcb8c53dcca1b615bbadf4935aec
|
[
"BSD-2-Clause"
] | 1,020
|
2018-07-16T12:50:36.000Z
|
2022-03-31T20:42:49.000Z
|
tests/integrations/tornado/__init__.py
|
annu-ps31/sentry-python
|
3966b4a9744bfcb8c53dcca1b615bbadf4935aec
|
[
"BSD-2-Clause"
] | 340
|
2018-07-16T12:47:27.000Z
|
2022-03-22T10:13:21.000Z
|
import pytest
tornado = pytest.importorskip("tornado")
| 14
| 40
| 0.785714
| 6
| 56
| 7.333333
| 0.666667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.107143
| 56
| 3
| 41
| 18.666667
| 0.88
| 0
| 0
| 0
| 0
| 0
| 0.125
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 1
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
4710d063489b42fe7668723075140f770e9dcf20
| 183
|
py
|
Python
|
strategy/strategy_abc.py
|
zarcen/design_pattern_py
|
d8c89d0c8545ac0d38404f2864073cef6b143776
|
[
"MIT"
] | null | null | null |
strategy/strategy_abc.py
|
zarcen/design_pattern_py
|
d8c89d0c8545ac0d38404f2864073cef6b143776
|
[
"MIT"
] | null | null | null |
strategy/strategy_abc.py
|
zarcen/design_pattern_py
|
d8c89d0c8545ac0d38404f2864073cef6b143776
|
[
"MIT"
] | null | null | null |
from abc import ABC, abstractmethod
class AbsStrategy(ABC):
@abstractmethod
def calculate(self, order):
""" Calculate shipping cost """
return order.flat_fee
| 22.875
| 39
| 0.677596
| 20
| 183
| 6.15
| 0.75
| 0.276423
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.234973
| 183
| 8
| 40
| 22.875
| 0.878571
| 0.125683
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0.2
| 0
| 0.8
| 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
| 1
| 0
|
0
| 4
|
472b5edefbd5801187de64ed5eabef03a52288e3
| 291
|
py
|
Python
|
grammpy/exceptions/CannotConvertException.py
|
PatrikValkovic/grammpy
|
8308a1fd349bf9ea0d267360cc9a4ab20d1629e8
|
[
"MIT"
] | 1
|
2021-02-04T12:41:08.000Z
|
2021-02-04T12:41:08.000Z
|
grammpy/exceptions/CannotConvertException.py
|
PatrikValkovic/grammpy
|
8308a1fd349bf9ea0d267360cc9a4ab20d1629e8
|
[
"MIT"
] | 3
|
2017-07-08T16:28:52.000Z
|
2020-04-23T18:06:24.000Z
|
grammpy/exceptions/CannotConvertException.py
|
PatrikValkovic/grammpy
|
8308a1fd349bf9ea0d267360cc9a4ab20d1629e8
|
[
"MIT"
] | 1
|
2021-02-04T12:41:10.000Z
|
2021-02-04T12:41:10.000Z
|
#!/usr/bin/env python
"""
:Author Patrik Valkovic
:Created 01.08.2017 08:54
:Licence MIT
Part of grammpy
"""
from .GrammpyException import GrammpyException
class CannotConvertException(GrammpyException, ValueError):
"""
Library cant convert objects
"""
pass
| 18.1875
| 60
| 0.690722
| 31
| 291
| 6.483871
| 0.903226
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.052402
| 0.213058
| 291
| 16
| 61
| 18.1875
| 0.825328
| 0.439863
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.333333
| 0.333333
| 0
| 0.666667
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 1
| 1
| 0
| 1
| 0
|
0
| 4
|
5b6b563c517fa0dd9de78f61c5a45b5736482e06
| 75
|
py
|
Python
|
config.py
|
ikurilov/wordTranslateCardsBot
|
bc47429e1a49b548215a8b453381ff521e619d8f
|
[
"MIT"
] | null | null | null |
config.py
|
ikurilov/wordTranslateCardsBot
|
bc47429e1a49b548215a8b453381ff521e619d8f
|
[
"MIT"
] | null | null | null |
config.py
|
ikurilov/wordTranslateCardsBot
|
bc47429e1a49b548215a8b453381ff521e619d8f
|
[
"MIT"
] | null | null | null |
import os
dbconnect = os.environ['DB_URL']
token = os.environ['BOT_TOKEN']
| 18.75
| 32
| 0.733333
| 12
| 75
| 4.416667
| 0.666667
| 0.339623
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.106667
| 75
| 3
| 33
| 25
| 0.791045
| 0
| 0
| 0
| 0
| 0
| 0.2
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.333333
| 0
| 0.333333
| 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
| 1
| 0
| 0
| 0
|
0
| 4
|
5b8d56cea06f1d748129342e9e267429e92496ce
| 174
|
py
|
Python
|
py2asm/instructions/interrupts.py
|
malikshahzad228/py2asm
|
de80070a0a166bc752657040af928da0f3f8be5b
|
[
"MIT"
] | null | null | null |
py2asm/instructions/interrupts.py
|
malikshahzad228/py2asm
|
de80070a0a166bc752657040af928da0f3f8be5b
|
[
"MIT"
] | 1
|
2020-09-05T17:11:09.000Z
|
2020-09-06T11:24:05.000Z
|
py2asm/instructions/interrupts.py
|
malikshahzad228/py2asm
|
de80070a0a166bc752657040af928da0f3f8be5b
|
[
"MIT"
] | 2
|
2020-09-02T08:05:20.000Z
|
2021-05-26T05:27:56.000Z
|
from py2asm.instructions.base import Instruction
class Int(Instruction):
name = 'INT'
def __init__(self, immediate_byte):
super().__init__(immediate_byte)
| 19.333333
| 48
| 0.718391
| 20
| 174
| 5.75
| 0.75
| 0.226087
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.007042
| 0.183908
| 174
| 8
| 49
| 21.75
| 0.802817
| 0
| 0
| 0
| 0
| 0
| 0.017241
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0.2
| 0
| 0.8
| 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
| 1
| 0
|
0
| 4
|
5b9070debe4d9130e04aa9d105fc3f08b6f224a3
| 12
|
py
|
Python
|
base/helper.py
|
geek911/hospitalmanagement
|
32ace7a10cfbd919a39e2101ae60bf2633224788
|
[
"MIT"
] | null | null | null |
base/helper.py
|
geek911/hospitalmanagement
|
32ace7a10cfbd919a39e2101ae60bf2633224788
|
[
"MIT"
] | null | null | null |
base/helper.py
|
geek911/hospitalmanagement
|
32ace7a10cfbd919a39e2101ae60bf2633224788
|
[
"MIT"
] | null | null | null |
### Helper
| 4
| 10
| 0.5
| 1
| 12
| 6
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.25
| 12
| 2
| 11
| 6
| 0.666667
| 0.5
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
5bc41bfaa30ef1b12b467000e5c51fac7de05e52
| 24
|
py
|
Python
|
life.py
|
Jpowell10/firstrepo
|
c41ac4a0526b6e56449df5adaa448091d930f731
|
[
"CC0-1.0"
] | null | null | null |
life.py
|
Jpowell10/firstrepo
|
c41ac4a0526b6e56449df5adaa448091d930f731
|
[
"CC0-1.0"
] | null | null | null |
life.py
|
Jpowell10/firstrepo
|
c41ac4a0526b6e56449df5adaa448091d930f731
|
[
"CC0-1.0"
] | null | null | null |
steve = 42
print(steve)
| 12
| 13
| 0.708333
| 4
| 24
| 4.25
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.1
| 0.166667
| 24
| 2
| 13
| 12
| 0.75
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.5
| 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
| 1
|
0
| 4
|
5beea57deffb472a7be811df5fb1bc9424c873fa
| 3,347
|
py
|
Python
|
tests/contracts/KT1GqyAwGGqUbrduNgn4c4aVUXU9UGnXwNmD/test_micheline_coding_KT1Gqy.py
|
jpic/pytezos
|
39327363235902de9355e667b8661345865bddd1
|
[
"MIT"
] | null | null | null |
tests/contracts/KT1GqyAwGGqUbrduNgn4c4aVUXU9UGnXwNmD/test_micheline_coding_KT1Gqy.py
|
jpic/pytezos
|
39327363235902de9355e667b8661345865bddd1
|
[
"MIT"
] | null | null | null |
tests/contracts/KT1GqyAwGGqUbrduNgn4c4aVUXU9UGnXwNmD/test_micheline_coding_KT1Gqy.py
|
jpic/pytezos
|
39327363235902de9355e667b8661345865bddd1
|
[
"MIT"
] | null | null | null |
from unittest import TestCase
from tests import get_data
from pytezos.michelson.converter import build_schema, decode_micheline, encode_micheline
class MichelineCodingTestKT1Gqy(TestCase):
@classmethod
def setUpClass(cls):
cls.maxDiff = None
code = get_data(
path='contracts/KT1GqyAwGGqUbrduNgn4c4aVUXU9UGnXwNmD/code_KT1Gqy.json')
cls.schema = dict(
parameter=build_schema(code[0]),
storage=build_schema(code[1])
)
def test_micheline_inverse_storage_KT1Gqy(self):
expected = get_data(
path='contracts/KT1GqyAwGGqUbrduNgn4c4aVUXU9UGnXwNmD/storage_KT1Gqy.json')
decoded = decode_micheline(expected, self.schema['storage'])
actual = encode_micheline(decoded, self.schema['storage'])
self.assertEqual(expected, actual)
def test_micheline_inverse_parameter_op1vDy(self):
expected = get_data(
path='contracts/KT1GqyAwGGqUbrduNgn4c4aVUXU9UGnXwNmD/parameter_op1vDy.json')
decoded = decode_micheline(expected, self.schema['parameter'])
actual = encode_micheline(decoded, self.schema['parameter'])
self.assertEqual(expected, actual)
def test_micheline_inverse_parameter_ooqAps(self):
expected = get_data(
path='contracts/KT1GqyAwGGqUbrduNgn4c4aVUXU9UGnXwNmD/parameter_ooqAps.json')
decoded = decode_micheline(expected, self.schema['parameter'])
actual = encode_micheline(decoded, self.schema['parameter'])
self.assertEqual(expected, actual)
def test_micheline_inverse_parameter_onu43U(self):
expected = get_data(
path='contracts/KT1GqyAwGGqUbrduNgn4c4aVUXU9UGnXwNmD/parameter_onu43U.json')
decoded = decode_micheline(expected, self.schema['parameter'])
actual = encode_micheline(decoded, self.schema['parameter'])
self.assertEqual(expected, actual)
def test_micheline_inverse_parameter_oo6Wkn(self):
expected = get_data(
path='contracts/KT1GqyAwGGqUbrduNgn4c4aVUXU9UGnXwNmD/parameter_oo6Wkn.json')
decoded = decode_micheline(expected, self.schema['parameter'])
actual = encode_micheline(decoded, self.schema['parameter'])
self.assertEqual(expected, actual)
def test_micheline_inverse_parameter_ooHqAk(self):
expected = get_data(
path='contracts/KT1GqyAwGGqUbrduNgn4c4aVUXU9UGnXwNmD/parameter_ooHqAk.json')
decoded = decode_micheline(expected, self.schema['parameter'])
actual = encode_micheline(decoded, self.schema['parameter'])
self.assertEqual(expected, actual)
def test_micheline_inverse_parameter_ooU8MM(self):
expected = get_data(
path='contracts/KT1GqyAwGGqUbrduNgn4c4aVUXU9UGnXwNmD/parameter_ooU8MM.json')
decoded = decode_micheline(expected, self.schema['parameter'])
actual = encode_micheline(decoded, self.schema['parameter'])
self.assertEqual(expected, actual)
def test_micheline_inverse_parameter_ooBcbW(self):
expected = get_data(
path='contracts/KT1GqyAwGGqUbrduNgn4c4aVUXU9UGnXwNmD/parameter_ooBcbW.json')
decoded = decode_micheline(expected, self.schema['parameter'])
actual = encode_micheline(decoded, self.schema['parameter'])
self.assertEqual(expected, actual)
| 45.22973
| 88
| 0.717658
| 324
| 3,347
| 7.191358
| 0.148148
| 0.06867
| 0.114163
| 0.077253
| 0.81588
| 0.791845
| 0.775536
| 0.727468
| 0.496137
| 0.469957
| 0
| 0.019181
| 0.190021
| 3,347
| 73
| 89
| 45.849315
| 0.84028
| 0
| 0
| 0.491803
| 0
| 0
| 0.222587
| 0.180759
| 0
| 0
| 0
| 0
| 0.131148
| 1
| 0.147541
| false
| 0
| 0.04918
| 0
| 0.213115
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 1
| 1
| 1
| 1
| 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
| 4
|
5bfab8269a03d94f4121b7a51937472d71c94a4c
| 196
|
py
|
Python
|
commands/deviot_show_terminal.py
|
Rod-O/Deviot
|
45f59052a6f6f5d462d8dcddbf5836ef3b9f3eec
|
[
"Apache-2.0"
] | 327
|
2015-12-12T05:09:09.000Z
|
2022-03-31T21:36:59.000Z
|
commands/deviot_show_terminal.py
|
Rod-O/Deviot
|
45f59052a6f6f5d462d8dcddbf5836ef3b9f3eec
|
[
"Apache-2.0"
] | 326
|
2016-01-03T14:03:00.000Z
|
2022-03-02T09:35:47.000Z
|
commands/deviot_show_terminal.py
|
Rod-O/Deviot
|
45f59052a6f6f5d462d8dcddbf5836ef3b9f3eec
|
[
"Apache-2.0"
] | 87
|
2015-12-12T17:31:02.000Z
|
2022-03-31T21:37:00.000Z
|
from sublime_plugin import WindowCommand
from ..platformio.pio_terminal import PioTerminal
class DeviotShowTerminalCommand(WindowCommand):
def run(self):
PioTerminal().show_input()
| 21.777778
| 49
| 0.785714
| 20
| 196
| 7.55
| 0.8
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.142857
| 196
| 8
| 50
| 24.5
| 0.89881
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.2
| false
| 0
| 0.4
| 0
| 0.8
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 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
| 4
|
750b404111cdba7b725246e9227b211e31ac7bfa
| 536
|
py
|
Python
|
tictactoe/cell.py
|
neelabhg/tic-tac-toe-python
|
1ab6cbbc5b187e0088c90ba1c523caec01f62fcd
|
[
"Unlicense"
] | 1
|
2019-03-02T23:43:05.000Z
|
2019-03-02T23:43:05.000Z
|
tictactoe/cell.py
|
neelabhg/tic-tac-toe-python
|
1ab6cbbc5b187e0088c90ba1c523caec01f62fcd
|
[
"Unlicense"
] | null | null | null |
tictactoe/cell.py
|
neelabhg/tic-tac-toe-python
|
1ab6cbbc5b187e0088c90ba1c523caec01f62fcd
|
[
"Unlicense"
] | null | null | null |
from .tokens import VALID_TOKENS, TOKEN_EMPTY
class Cell:
def __init__(self):
self.token = TOKEN_EMPTY
def __str__(self):
return self.token
def is_empty(self):
return self.token == TOKEN_EMPTY
def is_occupied(self):
return not self.is_empty()
@property
def token(self):
return self._token
@token.setter
def token(self, value):
if value not in VALID_TOKENS:
raise ValueError('Invalid token {0}'.format(value))
self._token = value
| 20.615385
| 63
| 0.623134
| 69
| 536
| 4.57971
| 0.376812
| 0.142405
| 0.132911
| 0.18038
| 0.246835
| 0
| 0
| 0
| 0
| 0
| 0
| 0.002625
| 0.289179
| 536
| 25
| 64
| 21.44
| 0.826772
| 0
| 0
| 0
| 0
| 0
| 0.031716
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0.055556
| 0.222222
| 0.666667
| 0
| 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 1
| 0
|
0
| 4
|
75108852e3b097fa018e86ba5ff4426dfa9d70a5
| 619
|
py
|
Python
|
Pacote download/Exercicios/tabela do brasileirao.py
|
Henrique-GM/Exercicios_de_Python
|
8cbbcaa31fc19e467576ab21ba3458d67052c40b
|
[
"Unlicense"
] | null | null | null |
Pacote download/Exercicios/tabela do brasileirao.py
|
Henrique-GM/Exercicios_de_Python
|
8cbbcaa31fc19e467576ab21ba3458d67052c40b
|
[
"Unlicense"
] | null | null | null |
Pacote download/Exercicios/tabela do brasileirao.py
|
Henrique-GM/Exercicios_de_Python
|
8cbbcaa31fc19e467576ab21ba3458d67052c40b
|
[
"Unlicense"
] | null | null | null |
tabela_brasileirao = ('Palmeiras', 'Bragantino', 'Atlético-PR', 'Atlético-MG', 'Fortaleza', 'Bahia', 'Santos',
'Atlético-GO', 'Ceará', 'Corinthians', 'Fluminense', 'Flamengo', 'Juventude', 'Internacional',
'América-MG', 'São Paulo', 'Sport', 'Cuiabá', 'Chapecoense', 'Grêmio')
print(f'\nOS 5 PRIMEIROS COLOCADOS FORAM\n{tabela_brasileirao[0:5]}')
print(f'\nOS QUATRO PRIMEIROS ÚLTIMOS FORAM\n{tabela_brasileirao[-4:]}')
print(f'\nTIMES EM ORDEM ALFABÉTICA\n{sorted(tabela_brasileirao)}')
print('\nA POSIÇÃO EM QUE SE ENCONTRA:', tabela_brasileirao.index('Chapecoense') + 1)
| 68.777778
| 116
| 0.672052
| 72
| 619
| 5.708333
| 0.666667
| 0.206813
| 0.043796
| 0.111922
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.00947
| 0.147011
| 619
| 8
| 117
| 77.375
| 0.768939
| 0
| 0
| 0
| 0
| 0
| 0.638126
| 0.168013
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0
| 0
| 0
| 0.571429
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
|
0
| 4
|
752a0010cd8a568a97c37a97d394f3de4887ab25
| 232
|
py
|
Python
|
utils/nengo_spinnaker_path.py
|
SpiNNakerManchester/nengo_spinnaker
|
147e2b3d6c0965259d6897f177f23e5c99b184f9
|
[
"MIT"
] | 13
|
2015-06-10T08:58:05.000Z
|
2022-03-29T08:20:14.000Z
|
utils/nengo_spinnaker_path.py
|
SpiNNakerManchester/nengo_spinnaker
|
147e2b3d6c0965259d6897f177f23e5c99b184f9
|
[
"MIT"
] | 131
|
2015-04-16T15:17:12.000Z
|
2020-06-19T05:38:56.000Z
|
utils/nengo_spinnaker_path.py
|
SpiNNakerManchester/nengo_spinnaker
|
147e2b3d6c0965259d6897f177f23e5c99b184f9
|
[
"MIT"
] | 7
|
2015-07-01T00:01:50.000Z
|
2018-06-28T10:12:18.000Z
|
#!/usr/bin/env python
"""Print the path of the local Nengo/SpiNNaker installation."""
if __name__=="__main__": # pragma: no cover
import nengo_spinnaker
import os.path
print(os.path.dirname(nengo_spinnaker.__file__))
| 25.777778
| 63
| 0.724138
| 32
| 232
| 4.8125
| 0.6875
| 0.272727
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.155172
| 232
| 8
| 64
| 29
| 0.785714
| 0.409483
| 0
| 0
| 0
| 0
| 0.061538
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.5
| 0
| 0.5
| 0.25
| 0
| 0
| 0
| null | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
7548da03e7ab06aecdac544220ef1150f7c72ddf
| 62
|
py
|
Python
|
analyzer/utils/__init__.py
|
frommwonderland/EManalysis
|
2787f063e2e83521fd6439d06a07f5521e43dc94
|
[
"MIT"
] | null | null | null |
analyzer/utils/__init__.py
|
frommwonderland/EManalysis
|
2787f063e2e83521fd6439d06a07f5521e43dc94
|
[
"MIT"
] | null | null | null |
analyzer/utils/__init__.py
|
frommwonderland/EManalysis
|
2787f063e2e83521fd6439d06a07f5521e43dc94
|
[
"MIT"
] | null | null | null |
# from .eval_model import *
#
# __all__ = ["Evaluationmodel"]
| 15.5
| 31
| 0.677419
| 6
| 62
| 6.166667
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.16129
| 62
| 3
| 32
| 20.666667
| 0.711538
| 0.887097
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
755760508111c50da962db27eb4e0314e62630fb
| 35
|
py
|
Python
|
tests/__init__.py
|
FudanSELab/sotag
|
75cbaf2573f25cf400f411c43bf5ad5a2d471e02
|
[
"MIT"
] | null | null | null |
tests/__init__.py
|
FudanSELab/sotag
|
75cbaf2573f25cf400f411c43bf5ad5a2d471e02
|
[
"MIT"
] | null | null | null |
tests/__init__.py
|
FudanSELab/sotag
|
75cbaf2573f25cf400f411c43bf5ad5a2d471e02
|
[
"MIT"
] | null | null | null |
"""Unit test package for sotag."""
| 17.5
| 34
| 0.657143
| 5
| 35
| 4.6
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.142857
| 35
| 1
| 35
| 35
| 0.766667
| 0.8
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 1
| 1
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
f32925006c03c2845d17a1c513835158a76dd582
| 305
|
py
|
Python
|
course-1:basic-building-blocks/subject-3:integers/lesson-3.0:Fibonacci puzzle.py
|
regnart-tech-club/python
|
069df070059de662d4104de8192e45407a7e94ce
|
[
"Apache-2.0"
] | null | null | null |
course-1:basic-building-blocks/subject-3:integers/lesson-3.0:Fibonacci puzzle.py
|
regnart-tech-club/python
|
069df070059de662d4104de8192e45407a7e94ce
|
[
"Apache-2.0"
] | null | null | null |
course-1:basic-building-blocks/subject-3:integers/lesson-3.0:Fibonacci puzzle.py
|
regnart-tech-club/python
|
069df070059de662d4104de8192e45407a7e94ce
|
[
"Apache-2.0"
] | 1
|
2016-04-03T00:53:37.000Z
|
2016-04-03T00:53:37.000Z
|
# The Fibonacci Sequence is a series of integers
# that start with 0, 1
# then the next integer is the sum of the previous two.
# The first seven integers in the series is 0, 1, 1, 2, 3, 5, 8.
# Write a program using variables and integer operators
# that will print the first 12 integers in the series.
| 38.125
| 64
| 0.737705
| 57
| 305
| 3.947368
| 0.614035
| 0.017778
| 0.115556
| 0.168889
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.045643
| 0.209836
| 305
| 7
| 65
| 43.571429
| 0.887967
| 0.954098
| 0
| null | 0
| null | 0
| 0
| null | 0
| 0
| 0
| null | 1
| null | true
| 0
| 0
| null | null | null | 0
| 0
| 0
| null | 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
f331f67933143e5b572d17dfa5a0d23163e8a312
| 145
|
py
|
Python
|
src/package/05/setup.py
|
privong/still-magic
|
1d651840497d66d44ff43528f6e1f38e698ce168
|
[
"CC-BY-4.0"
] | null | null | null |
src/package/05/setup.py
|
privong/still-magic
|
1d651840497d66d44ff43528f6e1f38e698ce168
|
[
"CC-BY-4.0"
] | null | null | null |
src/package/05/setup.py
|
privong/still-magic
|
1d651840497d66d44ff43528f6e1f38e698ce168
|
[
"CC-BY-4.0"
] | null | null | null |
from setuptools import setup, find_packages
setup(
name='zipf',
version='0.1',
author='Greg Wilson',
packages=find_packages()
)
| 16.111111
| 43
| 0.668966
| 18
| 145
| 5.277778
| 0.777778
| 0.252632
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.017241
| 0.2
| 145
| 8
| 44
| 18.125
| 0.801724
| 0
| 0
| 0
| 0
| 0
| 0.124138
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0.142857
| 0
| 0.142857
| 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
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
f33e666305feb58dc3cd198462ac0f4cdadbc885
| 246
|
py
|
Python
|
CodeWars/Python/6 kyu/Timer Decorator/main.py
|
opastushkov/codewars-solutions
|
0132a24259a4e87f926048318332dcb4d94858ca
|
[
"MIT"
] | null | null | null |
CodeWars/Python/6 kyu/Timer Decorator/main.py
|
opastushkov/codewars-solutions
|
0132a24259a4e87f926048318332dcb4d94858ca
|
[
"MIT"
] | null | null | null |
CodeWars/Python/6 kyu/Timer Decorator/main.py
|
opastushkov/codewars-solutions
|
0132a24259a4e87f926048318332dcb4d94858ca
|
[
"MIT"
] | null | null | null |
from time import time
def timer(limit):
def decorator(func):
def inner(arg=0):
start = time()
func()
return time() - start < limit - arg
return inner
return decorator
| 27.333333
| 51
| 0.49187
| 26
| 246
| 4.653846
| 0.5
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.007092
| 0.426829
| 246
| 9
| 52
| 27.333333
| 0.851064
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.333333
| false
| 0
| 0.111111
| 0
| 0.777778
| 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
| 1
| 0
|
0
| 4
|
f37376428db330346a11f1ee765ad1e44b8f12aa
| 189
|
py
|
Python
|
planfood/products/apps.py
|
vsventy/planfood-server
|
e7db1930705f15b70c989205b4b876649695cc94
|
[
"MIT"
] | null | null | null |
planfood/products/apps.py
|
vsventy/planfood-server
|
e7db1930705f15b70c989205b4b876649695cc94
|
[
"MIT"
] | null | null | null |
planfood/products/apps.py
|
vsventy/planfood-server
|
e7db1930705f15b70c989205b4b876649695cc94
|
[
"MIT"
] | null | null | null |
from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
class ProductsConfig(AppConfig):
name = 'planfood.products'
verbose_name = _('Products')
| 23.625
| 55
| 0.772487
| 22
| 189
| 6.454545
| 0.727273
| 0.140845
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.148148
| 189
| 7
| 56
| 27
| 0.881988
| 0
| 0
| 0
| 0
| 0
| 0.132275
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.4
| 0
| 1
| 0
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
f37c3d58e75f12b3bbc083fac6e98622994a3984
| 111
|
py
|
Python
|
blocksmith/__init__.py
|
juanmanavella/blocksmith
|
a68e485605e7e838998bad39b18c0e8198416c67
|
[
"Apache-2.0"
] | 201
|
2018-09-21T19:55:41.000Z
|
2022-03-29T10:56:06.000Z
|
blocksmith/__init__.py
|
juanmanavella/blocksmith
|
a68e485605e7e838998bad39b18c0e8198416c67
|
[
"Apache-2.0"
] | 11
|
2018-08-15T18:52:16.000Z
|
2021-08-03T06:32:56.000Z
|
blocksmith/__init__.py
|
juanmanavella/blocksmith
|
a68e485605e7e838998bad39b18c0e8198416c67
|
[
"Apache-2.0"
] | 65
|
2018-08-08T16:05:43.000Z
|
2022-03-07T02:20:29.000Z
|
from .generator import KeyGenerator
from .bitcoin import BitcoinWallet
from .ethereum import EthereumWallet
| 27.75
| 37
| 0.837838
| 12
| 111
| 7.75
| 0.666667
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.135135
| 111
| 3
| 38
| 37
| 0.96875
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 1
| 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
| 1
| 0
| 1
| 0
| 0
| 0
|
0
| 4
|
f38b66e19435124d124ddb538600623b1211de19
| 36,691
|
py
|
Python
|
Mouse Coords Tracker/Icons.py
|
ThunderZ-Coder-A/Host-Python
|
2526d67b863931f9cbaee118acd53fb63333097d
|
[
"MIT"
] | 1
|
2020-10-03T03:16:25.000Z
|
2020-10-03T03:16:25.000Z
|
Mouse Coords Tracker/Icons.py
|
ThunderZ-Coder-A/Host-Python
|
2526d67b863931f9cbaee118acd53fb63333097d
|
[
"MIT"
] | 1
|
2020-10-01T14:21:40.000Z
|
2020-10-02T05:41:57.000Z
|
Mouse Coords Tracker/Icons.py
|
ThunderZ-Coder-A/Host-Python
|
2526d67b863931f9cbaee118acd53fb63333097d
|
[
"MIT"
] | 7
|
2020-10-01T15:42:21.000Z
|
2020-10-03T03:16:32.000Z
|
# -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.15.0)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x07\x8a\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x14\x00\x00\x00\x14\x08\x06\x00\x00\x00\x8d\x89\x1d\x0d\
\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x16\x25\x00\x00\x16\x25\
\x01\x49\x52\x24\xf0\x00\x00\x06\xbe\x69\x54\x58\x74\x58\x4d\x4c\
\x3a\x63\x6f\x6d\x2e\x61\x64\x6f\x62\x65\x2e\x78\x6d\x70\x00\x00\
\x00\x00\x00\x3c\x3f\x78\x70\x61\x63\x6b\x65\x74\x20\x62\x65\x67\
\x69\x6e\x3d\x22\xef\xbb\xbf\x22\x20\x69\x64\x3d\x22\x57\x35\x4d\
\x30\x4d\x70\x43\x65\x68\x69\x48\x7a\x72\x65\x53\x7a\x4e\x54\x63\
\x7a\x6b\x63\x39\x64\x22\x3f\x3e\x20\x3c\x78\x3a\x78\x6d\x70\x6d\
\x65\x74\x61\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x3d\x22\x61\x64\x6f\
\x62\x65\x3a\x6e\x73\x3a\x6d\x65\x74\x61\x2f\x22\x20\x78\x3a\x78\
\x6d\x70\x74\x6b\x3d\x22\x41\x64\x6f\x62\x65\x20\x58\x4d\x50\x20\
\x43\x6f\x72\x65\x20\x35\x2e\x36\x2d\x63\x31\x34\x38\x20\x37\x39\
\x2e\x31\x36\x34\x30\x33\x36\x2c\x20\x32\x30\x31\x39\x2f\x30\x38\
\x2f\x31\x33\x2d\x30\x31\x3a\x30\x36\x3a\x35\x37\x20\x20\x20\x20\
\x20\x20\x20\x20\x22\x3e\x20\x3c\x72\x64\x66\x3a\x52\x44\x46\x20\
\x78\x6d\x6c\x6e\x73\x3a\x72\x64\x66\x3d\x22\x68\x74\x74\x70\x3a\
\x2f\x2f\x77\x77\x77\x2e\x77\x33\x2e\x6f\x72\x67\x2f\x31\x39\x39\
\x39\x2f\x30\x32\x2f\x32\x32\x2d\x72\x64\x66\x2d\x73\x79\x6e\x74\
\x61\x78\x2d\x6e\x73\x23\x22\x3e\x20\x3c\x72\x64\x66\x3a\x44\x65\
\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\x20\x72\x64\x66\x3a\x61\x62\
\x6f\x75\x74\x3d\x22\x22\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x6d\x70\
\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\
\x65\x2e\x63\x6f\x6d\x2f\x78\x61\x70\x2f\x31\x2e\x30\x2f\x22\x20\
\x78\x6d\x6c\x6e\x73\x3a\x64\x63\x3d\x22\x68\x74\x74\x70\x3a\x2f\
\x2f\x70\x75\x72\x6c\x2e\x6f\x72\x67\x2f\x64\x63\x2f\x65\x6c\x65\
\x6d\x65\x6e\x74\x73\x2f\x31\x2e\x31\x2f\x22\x20\x78\x6d\x6c\x6e\
\x73\x3a\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x3d\x22\x68\x74\x74\
\x70\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\
\x2f\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x2f\x31\x2e\x30\x2f\x22\
\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x6d\x70\x4d\x4d\x3d\x22\x68\x74\
\x74\x70\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\
\x6d\x2f\x78\x61\x70\x2f\x31\x2e\x30\x2f\x6d\x6d\x2f\x22\x20\x78\
\x6d\x6c\x6e\x73\x3a\x73\x74\x45\x76\x74\x3d\x22\x68\x74\x74\x70\
\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\
\x78\x61\x70\x2f\x31\x2e\x30\x2f\x73\x54\x79\x70\x65\x2f\x52\x65\
\x73\x6f\x75\x72\x63\x65\x45\x76\x65\x6e\x74\x23\x22\x20\x78\x6d\
\x70\x3a\x43\x72\x65\x61\x74\x6f\x72\x54\x6f\x6f\x6c\x3d\x22\x41\
\x64\x6f\x62\x65\x20\x50\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\x32\
\x31\x2e\x30\x20\x28\x57\x69\x6e\x64\x6f\x77\x73\x29\x22\x20\x78\
\x6d\x70\x3a\x43\x72\x65\x61\x74\x65\x44\x61\x74\x65\x3d\x22\x32\
\x30\x32\x30\x2d\x30\x35\x2d\x30\x32\x54\x31\x37\x3a\x34\x38\x3a\
\x32\x34\x2d\x30\x33\x3a\x30\x30\x22\x20\x78\x6d\x70\x3a\x4d\x6f\
\x64\x69\x66\x79\x44\x61\x74\x65\x3d\x22\x32\x30\x32\x30\x2d\x30\
\x35\x2d\x30\x33\x54\x31\x31\x3a\x30\x37\x3a\x31\x32\x2d\x30\x33\
\x3a\x30\x30\x22\x20\x78\x6d\x70\x3a\x4d\x65\x74\x61\x64\x61\x74\
\x61\x44\x61\x74\x65\x3d\x22\x32\x30\x32\x30\x2d\x30\x35\x2d\x30\
\x33\x54\x31\x31\x3a\x30\x37\x3a\x31\x32\x2d\x30\x33\x3a\x30\x30\
\x22\x20\x64\x63\x3a\x66\x6f\x72\x6d\x61\x74\x3d\x22\x69\x6d\x61\
\x67\x65\x2f\x70\x6e\x67\x22\x20\x70\x68\x6f\x74\x6f\x73\x68\x6f\
\x70\x3a\x43\x6f\x6c\x6f\x72\x4d\x6f\x64\x65\x3d\x22\x33\x22\x20\
\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x3a\x49\x43\x43\x50\x72\x6f\
\x66\x69\x6c\x65\x3d\x22\x73\x52\x47\x42\x20\x49\x45\x43\x36\x31\
\x39\x36\x36\x2d\x32\x2e\x31\x22\x20\x78\x6d\x70\x4d\x4d\x3a\x49\
\x6e\x73\x74\x61\x6e\x63\x65\x49\x44\x3d\x22\x78\x6d\x70\x2e\x69\
\x69\x64\x3a\x30\x34\x36\x36\x30\x37\x63\x31\x2d\x35\x35\x31\x39\
\x2d\x37\x66\x34\x36\x2d\x62\x30\x39\x32\x2d\x65\x64\x66\x34\x30\
\x34\x62\x35\x38\x62\x61\x34\x22\x20\x78\x6d\x70\x4d\x4d\x3a\x44\
\x6f\x63\x75\x6d\x65\x6e\x74\x49\x44\x3d\x22\x61\x64\x6f\x62\x65\
\x3a\x64\x6f\x63\x69\x64\x3a\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\
\x3a\x66\x32\x38\x32\x35\x63\x32\x30\x2d\x65\x35\x33\x33\x2d\x62\
\x39\x34\x61\x2d\x39\x34\x36\x62\x2d\x37\x32\x39\x65\x31\x61\x31\
\x36\x65\x62\x30\x39\x22\x20\x78\x6d\x70\x4d\x4d\x3a\x4f\x72\x69\
\x67\x69\x6e\x61\x6c\x44\x6f\x63\x75\x6d\x65\x6e\x74\x49\x44\x3d\
\x22\x78\x6d\x70\x2e\x64\x69\x64\x3a\x63\x38\x35\x61\x62\x66\x39\
\x61\x2d\x62\x34\x34\x39\x2d\x31\x31\x34\x35\x2d\x61\x38\x39\x66\
\x2d\x65\x39\x35\x64\x31\x30\x31\x37\x39\x63\x34\x33\x22\x3e\x20\
\x3c\x78\x6d\x70\x4d\x4d\x3a\x48\x69\x73\x74\x6f\x72\x79\x3e\x20\
\x3c\x72\x64\x66\x3a\x53\x65\x71\x3e\x20\x3c\x72\x64\x66\x3a\x6c\
\x69\x20\x73\x74\x45\x76\x74\x3a\x61\x63\x74\x69\x6f\x6e\x3d\x22\
\x63\x72\x65\x61\x74\x65\x64\x22\x20\x73\x74\x45\x76\x74\x3a\x69\
\x6e\x73\x74\x61\x6e\x63\x65\x49\x44\x3d\x22\x78\x6d\x70\x2e\x69\
\x69\x64\x3a\x63\x38\x35\x61\x62\x66\x39\x61\x2d\x62\x34\x34\x39\
\x2d\x31\x31\x34\x35\x2d\x61\x38\x39\x66\x2d\x65\x39\x35\x64\x31\
\x30\x31\x37\x39\x63\x34\x33\x22\x20\x73\x74\x45\x76\x74\x3a\x77\
\x68\x65\x6e\x3d\x22\x32\x30\x32\x30\x2d\x30\x35\x2d\x30\x32\x54\
\x31\x37\x3a\x34\x38\x3a\x32\x34\x2d\x30\x33\x3a\x30\x30\x22\x20\
\x73\x74\x45\x76\x74\x3a\x73\x6f\x66\x74\x77\x61\x72\x65\x41\x67\
\x65\x6e\x74\x3d\x22\x41\x64\x6f\x62\x65\x20\x50\x68\x6f\x74\x6f\
\x73\x68\x6f\x70\x20\x32\x31\x2e\x30\x20\x28\x57\x69\x6e\x64\x6f\
\x77\x73\x29\x22\x2f\x3e\x20\x3c\x72\x64\x66\x3a\x6c\x69\x20\x73\
\x74\x45\x76\x74\x3a\x61\x63\x74\x69\x6f\x6e\x3d\x22\x73\x61\x76\
\x65\x64\x22\x20\x73\x74\x45\x76\x74\x3a\x69\x6e\x73\x74\x61\x6e\
\x63\x65\x49\x44\x3d\x22\x78\x6d\x70\x2e\x69\x69\x64\x3a\x36\x39\
\x32\x30\x31\x32\x32\x37\x2d\x63\x32\x65\x39\x2d\x30\x66\x34\x39\
\x2d\x39\x34\x38\x37\x2d\x61\x34\x63\x62\x33\x38\x31\x37\x38\x62\
\x31\x31\x22\x20\x73\x74\x45\x76\x74\x3a\x77\x68\x65\x6e\x3d\x22\
\x32\x30\x32\x30\x2d\x30\x35\x2d\x30\x32\x54\x31\x37\x3a\x35\x32\
\x3a\x33\x39\x2d\x30\x33\x3a\x30\x30\x22\x20\x73\x74\x45\x76\x74\
\x3a\x73\x6f\x66\x74\x77\x61\x72\x65\x41\x67\x65\x6e\x74\x3d\x22\
\x41\x64\x6f\x62\x65\x20\x50\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\
\x32\x31\x2e\x30\x20\x28\x57\x69\x6e\x64\x6f\x77\x73\x29\x22\x20\
\x73\x74\x45\x76\x74\x3a\x63\x68\x61\x6e\x67\x65\x64\x3d\x22\x2f\
\x22\x2f\x3e\x20\x3c\x72\x64\x66\x3a\x6c\x69\x20\x73\x74\x45\x76\
\x74\x3a\x61\x63\x74\x69\x6f\x6e\x3d\x22\x73\x61\x76\x65\x64\x22\
\x20\x73\x74\x45\x76\x74\x3a\x69\x6e\x73\x74\x61\x6e\x63\x65\x49\
\x44\x3d\x22\x78\x6d\x70\x2e\x69\x69\x64\x3a\x30\x34\x36\x36\x30\
\x37\x63\x31\x2d\x35\x35\x31\x39\x2d\x37\x66\x34\x36\x2d\x62\x30\
\x39\x32\x2d\x65\x64\x66\x34\x30\x34\x62\x35\x38\x62\x61\x34\x22\
\x20\x73\x74\x45\x76\x74\x3a\x77\x68\x65\x6e\x3d\x22\x32\x30\x32\
\x30\x2d\x30\x35\x2d\x30\x33\x54\x31\x31\x3a\x30\x37\x3a\x31\x32\
\x2d\x30\x33\x3a\x30\x30\x22\x20\x73\x74\x45\x76\x74\x3a\x73\x6f\
\x66\x74\x77\x61\x72\x65\x41\x67\x65\x6e\x74\x3d\x22\x41\x64\x6f\
\x62\x65\x20\x50\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\x32\x31\x2e\
\x30\x20\x28\x57\x69\x6e\x64\x6f\x77\x73\x29\x22\x20\x73\x74\x45\
\x76\x74\x3a\x63\x68\x61\x6e\x67\x65\x64\x3d\x22\x2f\x22\x2f\x3e\
\x20\x3c\x2f\x72\x64\x66\x3a\x53\x65\x71\x3e\x20\x3c\x2f\x78\x6d\
\x70\x4d\x4d\x3a\x48\x69\x73\x74\x6f\x72\x79\x3e\x20\x3c\x2f\x72\
\x64\x66\x3a\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\x3e\x20\
\x3c\x2f\x72\x64\x66\x3a\x52\x44\x46\x3e\x20\x3c\x2f\x78\x3a\x78\
\x6d\x70\x6d\x65\x74\x61\x3e\x20\x3c\x3f\x78\x70\x61\x63\x6b\x65\
\x74\x20\x65\x6e\x64\x3d\x22\x72\x22\x3f\x3e\x87\xd9\x7a\x6b\x00\
\x00\x00\x72\x49\x44\x41\x54\x38\x8d\xed\xce\x2b\x0e\x02\x31\x14\
\x05\xd0\x53\x52\xc3\x24\x20\x27\xa9\x60\x1f\x2c\x87\xcd\x62\xbb\
\x01\x16\xd0\x04\xc1\xe0\xf8\x98\x62\x2a\xb0\x25\x13\x54\x9f\xb9\
\xe2\xde\x9c\xbc\x50\x6b\xb5\xe6\x6d\x56\xd5\x06\x38\xc0\x01\x0e\
\xf0\x6f\x60\x2c\xa5\x4c\xd8\xe3\x88\x8a\xd0\x69\x04\x3c\x70\x4d\
\x29\xe5\x88\x1d\x0e\x38\xfd\x08\xc2\x1d\x19\x39\x7e\x21\x73\x2b\
\xdf\x9d\xd8\x16\xb1\xa5\x88\x27\x6e\x38\xb7\xc1\xab\xe3\xcb\x8a\
\x09\x0b\x2e\xf0\x01\xb5\xcc\x16\xe1\x07\x9d\x6b\x52\x00\x00\x00\
\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
\x00\x00\x10\x63\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x79\x00\x00\x00\x3d\x08\x06\x00\x00\x00\x89\x33\xc6\x33\
\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x0b\x13\x00\x00\x0b\x13\
\x01\x00\x9a\x9c\x18\x00\x00\x05\xd1\x69\x54\x58\x74\x58\x4d\x4c\
\x3a\x63\x6f\x6d\x2e\x61\x64\x6f\x62\x65\x2e\x78\x6d\x70\x00\x00\
\x00\x00\x00\x3c\x3f\x78\x70\x61\x63\x6b\x65\x74\x20\x62\x65\x67\
\x69\x6e\x3d\x22\xef\xbb\xbf\x22\x20\x69\x64\x3d\x22\x57\x35\x4d\
\x30\x4d\x70\x43\x65\x68\x69\x48\x7a\x72\x65\x53\x7a\x4e\x54\x63\
\x7a\x6b\x63\x39\x64\x22\x3f\x3e\x20\x3c\x78\x3a\x78\x6d\x70\x6d\
\x65\x74\x61\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x3d\x22\x61\x64\x6f\
\x62\x65\x3a\x6e\x73\x3a\x6d\x65\x74\x61\x2f\x22\x20\x78\x3a\x78\
\x6d\x70\x74\x6b\x3d\x22\x41\x64\x6f\x62\x65\x20\x58\x4d\x50\x20\
\x43\x6f\x72\x65\x20\x35\x2e\x36\x2d\x63\x31\x34\x35\x20\x37\x39\
\x2e\x31\x36\x33\x34\x39\x39\x2c\x20\x32\x30\x31\x38\x2f\x30\x38\
\x2f\x31\x33\x2d\x31\x36\x3a\x34\x30\x3a\x32\x32\x20\x20\x20\x20\
\x20\x20\x20\x20\x22\x3e\x20\x3c\x72\x64\x66\x3a\x52\x44\x46\x20\
\x78\x6d\x6c\x6e\x73\x3a\x72\x64\x66\x3d\x22\x68\x74\x74\x70\x3a\
\x2f\x2f\x77\x77\x77\x2e\x77\x33\x2e\x6f\x72\x67\x2f\x31\x39\x39\
\x39\x2f\x30\x32\x2f\x32\x32\x2d\x72\x64\x66\x2d\x73\x79\x6e\x74\
\x61\x78\x2d\x6e\x73\x23\x22\x3e\x20\x3c\x72\x64\x66\x3a\x44\x65\
\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\x20\x72\x64\x66\x3a\x61\x62\
\x6f\x75\x74\x3d\x22\x22\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x6d\x70\
\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\
\x65\x2e\x63\x6f\x6d\x2f\x78\x61\x70\x2f\x31\x2e\x30\x2f\x22\x20\
\x78\x6d\x6c\x6e\x73\x3a\x78\x6d\x70\x4d\x4d\x3d\x22\x68\x74\x74\
\x70\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\
\x2f\x78\x61\x70\x2f\x31\x2e\x30\x2f\x6d\x6d\x2f\x22\x20\x78\x6d\
\x6c\x6e\x73\x3a\x73\x74\x45\x76\x74\x3d\x22\x68\x74\x74\x70\x3a\
\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\x78\
\x61\x70\x2f\x31\x2e\x30\x2f\x73\x54\x79\x70\x65\x2f\x52\x65\x73\
\x6f\x75\x72\x63\x65\x45\x76\x65\x6e\x74\x23\x22\x20\x78\x6d\x6c\
\x6e\x73\x3a\x64\x63\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x70\x75\
\x72\x6c\x2e\x6f\x72\x67\x2f\x64\x63\x2f\x65\x6c\x65\x6d\x65\x6e\
\x74\x73\x2f\x31\x2e\x31\x2f\x22\x20\x78\x6d\x6c\x6e\x73\x3a\x70\
\x68\x6f\x74\x6f\x73\x68\x6f\x70\x3d\x22\x68\x74\x74\x70\x3a\x2f\
\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\x70\x68\
\x6f\x74\x6f\x73\x68\x6f\x70\x2f\x31\x2e\x30\x2f\x22\x20\x78\x6d\
\x70\x3a\x43\x72\x65\x61\x74\x6f\x72\x54\x6f\x6f\x6c\x3d\x22\x41\
\x64\x6f\x62\x65\x20\x50\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\x43\
\x43\x20\x32\x30\x31\x39\x20\x28\x57\x69\x6e\x64\x6f\x77\x73\x29\
\x22\x20\x78\x6d\x70\x3a\x43\x72\x65\x61\x74\x65\x44\x61\x74\x65\
\x3d\x22\x32\x30\x32\x30\x2d\x31\x30\x2d\x30\x32\x54\x30\x30\x3a\
\x35\x35\x3a\x35\x32\x2b\x30\x35\x3a\x33\x30\x22\x20\x78\x6d\x70\
\x3a\x4d\x65\x74\x61\x64\x61\x74\x61\x44\x61\x74\x65\x3d\x22\x32\
\x30\x32\x30\x2d\x31\x30\x2d\x30\x32\x54\x30\x30\x3a\x35\x35\x3a\
\x35\x32\x2b\x30\x35\x3a\x33\x30\x22\x20\x78\x6d\x70\x3a\x4d\x6f\
\x64\x69\x66\x79\x44\x61\x74\x65\x3d\x22\x32\x30\x32\x30\x2d\x31\
\x30\x2d\x30\x32\x54\x30\x30\x3a\x35\x35\x3a\x35\x32\x2b\x30\x35\
\x3a\x33\x30\x22\x20\x78\x6d\x70\x4d\x4d\x3a\x49\x6e\x73\x74\x61\
\x6e\x63\x65\x49\x44\x3d\x22\x78\x6d\x70\x2e\x69\x69\x64\x3a\x36\
\x62\x36\x33\x65\x30\x36\x63\x2d\x32\x35\x61\x37\x2d\x30\x64\x34\
\x64\x2d\x61\x64\x32\x66\x2d\x37\x61\x30\x35\x37\x33\x37\x63\x36\
\x32\x65\x30\x22\x20\x78\x6d\x70\x4d\x4d\x3a\x44\x6f\x63\x75\x6d\
\x65\x6e\x74\x49\x44\x3d\x22\x61\x64\x6f\x62\x65\x3a\x64\x6f\x63\
\x69\x64\x3a\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x3a\x33\x31\x30\
\x31\x38\x33\x61\x38\x2d\x32\x61\x66\x30\x2d\x30\x61\x34\x62\x2d\
\x38\x62\x64\x38\x2d\x39\x37\x31\x66\x38\x63\x38\x36\x33\x35\x32\
\x66\x22\x20\x78\x6d\x70\x4d\x4d\x3a\x4f\x72\x69\x67\x69\x6e\x61\
\x6c\x44\x6f\x63\x75\x6d\x65\x6e\x74\x49\x44\x3d\x22\x78\x6d\x70\
\x2e\x64\x69\x64\x3a\x34\x38\x66\x62\x32\x33\x37\x66\x2d\x64\x39\
\x65\x32\x2d\x30\x63\x34\x39\x2d\x61\x32\x62\x32\x2d\x65\x31\x63\
\x62\x32\x31\x30\x64\x64\x37\x39\x34\x22\x20\x64\x63\x3a\x66\x6f\
\x72\x6d\x61\x74\x3d\x22\x69\x6d\x61\x67\x65\x2f\x70\x6e\x67\x22\
\x20\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x3a\x43\x6f\x6c\x6f\x72\
\x4d\x6f\x64\x65\x3d\x22\x33\x22\x3e\x20\x3c\x78\x6d\x70\x4d\x4d\
\x3a\x48\x69\x73\x74\x6f\x72\x79\x3e\x20\x3c\x72\x64\x66\x3a\x53\
\x65\x71\x3e\x20\x3c\x72\x64\x66\x3a\x6c\x69\x20\x73\x74\x45\x76\
\x74\x3a\x61\x63\x74\x69\x6f\x6e\x3d\x22\x63\x72\x65\x61\x74\x65\
\x64\x22\x20\x73\x74\x45\x76\x74\x3a\x69\x6e\x73\x74\x61\x6e\x63\
\x65\x49\x44\x3d\x22\x78\x6d\x70\x2e\x69\x69\x64\x3a\x34\x38\x66\
\x62\x32\x33\x37\x66\x2d\x64\x39\x65\x32\x2d\x30\x63\x34\x39\x2d\
\x61\x32\x62\x32\x2d\x65\x31\x63\x62\x32\x31\x30\x64\x64\x37\x39\
\x34\x22\x20\x73\x74\x45\x76\x74\x3a\x77\x68\x65\x6e\x3d\x22\x32\
\x30\x32\x30\x2d\x31\x30\x2d\x30\x32\x54\x30\x30\x3a\x35\x35\x3a\
\x35\x32\x2b\x30\x35\x3a\x33\x30\x22\x20\x73\x74\x45\x76\x74\x3a\
\x73\x6f\x66\x74\x77\x61\x72\x65\x41\x67\x65\x6e\x74\x3d\x22\x41\
\x64\x6f\x62\x65\x20\x50\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\x43\
\x43\x20\x32\x30\x31\x39\x20\x28\x57\x69\x6e\x64\x6f\x77\x73\x29\
\x22\x2f\x3e\x20\x3c\x72\x64\x66\x3a\x6c\x69\x20\x73\x74\x45\x76\
\x74\x3a\x61\x63\x74\x69\x6f\x6e\x3d\x22\x73\x61\x76\x65\x64\x22\
\x20\x73\x74\x45\x76\x74\x3a\x69\x6e\x73\x74\x61\x6e\x63\x65\x49\
\x44\x3d\x22\x78\x6d\x70\x2e\x69\x69\x64\x3a\x36\x62\x36\x33\x65\
\x30\x36\x63\x2d\x32\x35\x61\x37\x2d\x30\x64\x34\x64\x2d\x61\x64\
\x32\x66\x2d\x37\x61\x30\x35\x37\x33\x37\x63\x36\x32\x65\x30\x22\
\x20\x73\x74\x45\x76\x74\x3a\x77\x68\x65\x6e\x3d\x22\x32\x30\x32\
\x30\x2d\x31\x30\x2d\x30\x32\x54\x30\x30\x3a\x35\x35\x3a\x35\x32\
\x2b\x30\x35\x3a\x33\x30\x22\x20\x73\x74\x45\x76\x74\x3a\x73\x6f\
\x66\x74\x77\x61\x72\x65\x41\x67\x65\x6e\x74\x3d\x22\x41\x64\x6f\
\x62\x65\x20\x50\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\x43\x43\x20\
\x32\x30\x31\x39\x20\x28\x57\x69\x6e\x64\x6f\x77\x73\x29\x22\x20\
\x73\x74\x45\x76\x74\x3a\x63\x68\x61\x6e\x67\x65\x64\x3d\x22\x2f\
\x22\x2f\x3e\x20\x3c\x2f\x72\x64\x66\x3a\x53\x65\x71\x3e\x20\x3c\
\x2f\x78\x6d\x70\x4d\x4d\x3a\x48\x69\x73\x74\x6f\x72\x79\x3e\x20\
\x3c\x2f\x72\x64\x66\x3a\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6f\
\x6e\x3e\x20\x3c\x2f\x72\x64\x66\x3a\x52\x44\x46\x3e\x20\x3c\x2f\
\x78\x3a\x78\x6d\x70\x6d\x65\x74\x61\x3e\x20\x3c\x3f\x78\x70\x61\
\x63\x6b\x65\x74\x20\x65\x6e\x64\x3d\x22\x72\x22\x3f\x3e\x00\x62\
\x4b\x12\x00\x00\x0a\x38\x49\x44\x41\x54\x78\xda\xed\x9d\x4d\x8c\
\x25\xd7\x55\xc7\x7f\xe7\xde\x5b\x1f\xef\xbd\x9e\x8f\x6e\xcf\x57\
\x8c\x27\x33\xe3\x99\xd8\x3d\x33\x4a\xac\x04\x90\x82\x12\x45\x0a\
\x22\xb0\x08\x10\x14\x25\x12\xd9\x21\xc8\x3e\x2c\x60\x01\x6c\x22\
\x65\x11\x36\x96\x58\x40\x22\x39\x22\x32\x64\x47\x04\xac\xc0\xb0\
\x42\xa0\x10\x07\x5b\x49\x8c\xd1\x78\x1c\x07\x7f\xc5\x63\x87\xcc\
\xf4\x4c\xf7\x74\xf7\xfb\xa8\xba\xf7\x9e\xc3\xa2\xaa\xc7\x23\x84\
\x25\x47\x82\x71\xbf\x76\x9d\xa7\xab\x6e\xbd\x56\x49\xaf\xea\x57\
\xe7\xeb\x7f\x4f\xf5\x13\x33\x63\xb0\x83\x6d\x6e\xb8\x04\x03\xe4\
\x7d\x67\x22\x42\x51\x14\xe3\x33\x67\xce\x7c\x48\x44\x78\x27\xd6\
\x00\xf9\x1e\x70\x56\x6c\xf2\x47\xbf\xf5\xbb\x8f\x5d\x58\xb9\xff\
\xb3\x83\x9f\x1e\x4c\xc8\x5e\x53\x3e\x96\x76\xa7\xa7\x7e\xe7\xe7\
\x3e\xf5\x95\x12\xff\xc8\x80\xf1\x00\x42\x46\x58\xfd\xeb\xbf\xf9\
\x66\x9e\x98\x3f\xf6\x51\x7f\xee\x2f\x5c\x70\x0f\x0c\x28\x0f\x16\
\x64\x43\x24\xbc\xfa\xda\x8f\xdc\xf7\xbe\xf5\x2d\x2e\x72\xe2\x91\
\x47\x8a\xfb\xbf\x8e\x93\xc3\x03\xce\x03\x94\x93\x05\x01\xef\x6c\
\x9a\xa7\xac\x4a\xcd\xcf\xc7\xf7\x7c\xe2\x72\x75\xf2\x51\x04\x3f\
\x20\x3d\x40\x2d\x94\x81\x2c\x24\x33\x11\xe3\x14\x47\xf8\x60\x7a\
\xcf\xe7\x4f\x57\x6b\xbf\x37\x20\x3d\x38\x90\x4d\x81\x86\xcc\xb6\
\xcd\xa8\xc6\x63\x26\x32\xe2\x03\x76\xe2\x4b\x6b\xf5\xca\x6f\x0e\
\x58\x0f\x8a\x18\x22\xc6\x4c\x12\xd7\x98\xf2\x83\xc5\x35\x54\xe0\
\xb0\x8e\x8b\x0f\x70\xea\xab\x93\xb2\xfe\xe8\x80\xf6\x00\x40\x16\
\xc4\x32\xc6\x16\x0d\xb7\x74\x87\x4d\xdb\x41\x9d\xe3\x50\x1e\x1f\
\x5d\xf7\xa7\x1e\x0f\x21\x5c\x18\xf0\x2e\x79\xb8\x06\xc1\xe3\x51\
\x81\x99\x24\x36\x6d\xc6\x2e\x0b\x7c\x70\xdc\x97\x47\xe7\xd7\xcb\
\x93\x8f\x8b\x77\x6b\x03\xe2\xe5\x85\x2c\x8a\x91\x31\x92\x29\x0a\
\x98\x08\x46\x42\x2d\x71\xc4\xd7\x9c\xcd\x87\x3f\xf2\xbe\xfa\xf8\
\x9f\x22\x14\x03\xe4\xa5\xf4\x62\x3a\xc0\x7d\xe0\xf6\xe2\x69\x2d\
\xb3\xb0\x96\xb9\x2d\x88\x24\x26\x32\xe6\x5c\x5a\xfd\xdc\x03\xf5\
\xda\x17\x91\x01\xf2\x52\x86\xeb\x52\x3c\x63\x09\x4c\x5c\xcd\x88\
\x80\x89\x32\x25\xb2\xb0\xc4\xae\xce\xd9\x95\x06\x8f\xe7\xac\x1d\
\xfd\x83\xb5\xea\xd0\xe7\x07\xc8\xcb\x56\x73\x61\x04\xc4\x4a\xf1\
\x94\x12\x40\x1c\x0a\x44\x8c\x88\xb1\x6b\x2d\x9b\xba\x4b\xc6\x58\
\xd1\x4a\x2e\xca\xf1\x47\x57\xaa\xd1\x2f\x0f\x90\x97\x2c\x5c\x2b\
\x86\x76\xbf\xe2\x10\xbc\x74\x85\x98\x88\xe0\x3a\x4d\x8c\x39\x2d\
\xde\x15\x1c\xd1\xd1\xe1\x75\x7f\xe2\x6b\x55\x51\xbe\x7f\x80\xbc\
\x3c\x94\x2d\xf4\x1f\x3d\x91\x3b\xb8\x38\x14\xc3\xc4\x61\x38\xda\
\xde\xa3\xa7\xd2\x20\x2e\x70\x5f\x1a\xbf\xf7\xe1\xe2\xc4\x37\xbc\
\xf7\xa7\x06\xc8\x4b\x62\x1e\xa1\xc6\xe3\x71\x34\x24\x12\xd0\x88\
\x92\x50\xa2\x40\xc2\xc8\x62\xcc\x73\xc3\xdc\x1a\x0a\x5f\x72\x7f\
\x3a\xf4\xc8\x83\xd5\xb1\xaf\xe2\x64\x34\x40\xde\xf7\x39\xb9\x8b\
\xd9\x4e\x04\x45\xc9\x2e\x23\xfd\x2b\x9a\x92\x4c\xc1\x39\x40\x48\
\x18\xbb\xb6\xa0\xb5\x44\xe5\x6b\xde\x9b\x8f\xfc\xc6\xe9\x7a\xed\
\xcb\xef\xa6\x8a\x7b\x69\x73\x32\x88\x79\x1c\x1e\x48\x96\x71\x40\
\x10\x87\x0a\xa8\x74\xfd\x73\xc6\x58\x38\x65\x46\xe2\xb6\xcd\x68\
\x2d\x32\x92\x8a\xf3\x79\xf5\x0b\x27\xea\x23\x5f\x18\x20\xef\x73\
\xd0\x7b\x62\x88\xc7\xe1\xcd\x63\xa2\x38\xeb\x0a\xb2\x84\xb1\xb0\
\xcc\x9c\xcc\xc2\x12\x0d\x5d\x7b\xb5\x63\x0b\x54\x84\x11\x35\xef\
\xe3\xbe\x3f\x3e\x52\x8d\x3f\x3d\x40\xde\xc7\xf1\xda\x30\x22\x99\
\x84\x11\x70\x58\x0f\x58\xad\xf3\xe2\x68\x99\x68\x09\xef\x3c\xc1\
\x17\x28\x9d\xfc\xb9\xa1\xbb\xb8\xc2\xb3\x6a\x93\x7a\xdd\x9f\x7c\
\x6c\x54\x56\xbf\x30\x40\xde\x9f\xf1\x5a\xf6\x72\x70\x06\x14\xba\
\x12\x4c\x1c\x26\x60\x4e\xf0\xde\xe3\xc5\x13\x35\xd3\xe6\x48\x43\
\x66\xaa\x89\xa9\x45\x66\x96\x28\xc2\x88\xa3\x79\x7c\xdf\x85\x70\
\xe2\xeb\x21\xf8\xd3\x03\xe4\xfd\x19\xae\x4d\xcd\x00\xa1\x25\x11\
\x4d\x29\x25\x50\x39\x8f\x5a\xee\x3c\xbe\x1f\x9f\x15\x8c\xa2\x1f\
\x1b\x71\x78\xa6\x69\xc1\x66\x9a\xe1\x5d\xc9\xf1\x3c\x59\xbf\x50\
\x9d\xf8\x73\x71\x72\x68\x80\xbc\xcf\x2c\xa1\x34\x28\x0d\x19\x35\
\x25\x92\x99\xe6\x86\xa8\x19\x67\x82\x6a\x57\x65\x9b\x80\x78\x8f\
\xd2\x15\x64\x38\x63\x61\x91\xa9\xcd\x98\x49\x42\xc5\x73\x32\x1d\
\xfa\xc4\xb9\xd1\xf1\x3f\x41\x08\x03\xe4\x7d\x94\x93\x23\xca\xb6\
\x35\xcc\x2c\x92\x05\x04\x41\xc5\x30\x35\xbc\x09\x4e\xba\x53\xdb\
\xcb\xd1\x49\x8c\x16\x65\x61\x2d\x0d\x91\x1d\x9b\xb3\x91\xb6\xba\
\xcd\x0c\x57\xf3\x60\x5e\xfd\xed\xfb\xeb\xb5\x3f\x3c\x88\x90\xc3\
\x32\x7b\xf2\x5c\x22\x23\x5a\x04\x8f\x09\x04\x3c\x22\x9d\x08\x62\
\x74\xbd\x33\x22\x64\x55\xcc\x8c\xe0\x1c\xad\x29\x82\x61\x06\x42\
\x46\x14\x0a\xef\x29\xad\xe0\x0c\xab\x5f\x9c\xd5\xed\x2b\x5b\x8b\
\xdd\xbf\x1c\x3c\x79\xbf\xdc\xa1\xe6\x09\x52\x00\x0e\x27\xd2\x65\
\x5f\xe9\x04\x10\xb3\x3b\x0d\xf5\x9d\x9f\xc1\x05\x10\x68\x2d\xa3\
\x62\x14\x21\xb0\xab\x0b\x36\xd2\x36\x73\x32\x45\x0e\x72\x96\xb5\
\x3f\x1b\x97\xf5\xc7\x07\xc8\xfb\xa0\xf0\x12\xc4\x4a\x09\xac\x50\
\x33\xa1\xa2\xa4\x02\x11\x12\x19\xd7\xf9\x30\x86\x91\x2d\x63\x18\
\x22\x42\xca\x11\x67\x5d\x55\xae\xaa\x44\x4d\x08\xd0\x5a\x64\xc7\
\xa6\x38\x1f\x18\xe5\x72\xe5\xb4\x5f\xfd\xda\x41\x1a\x1f\x72\xcb\
\xfb\xc1\xbb\x5d\xa7\x02\x4f\x4d\x60\x44\x49\x21\x05\x05\x45\xd7\
\x46\x21\x04\xf1\x38\x1c\x42\xa7\x75\xef\xbd\x9c\x38\x10\xc8\xaa\
\x5d\x82\x17\x65\xa6\x73\x6e\xe7\x5d\x10\x38\x12\xeb\xf3\xe7\x8b\
\x63\xdf\x70\xde\x1f\x1b\x20\xbf\x73\x7d\x32\xce\xa0\x30\x21\x98\
\xa3\x96\x92\x12\xcf\x98\x9a\x9a\x0a\xaf\x1e\x30\x92\x65\x10\xeb\
\x31\xbf\x79\xf4\x1e\xf4\x80\x60\x40\xb4\x4e\x25\x9b\xd9\x8c\xa9\
\x2d\x28\x5c\xc9\xc9\x74\xe8\xc3\x67\xca\xb5\xaf\xe0\xa4\x1a\x20\
\xbf\x83\x25\xb6\xc3\x28\x44\x28\xfa\xd3\x10\x85\x02\x47\x21\xae\
\x7b\xc7\x8c\xac\x19\xeb\xaa\x2c\x8c\x8c\x92\x11\x7b\x13\xbc\x07\
\x9c\xc0\x08\x4f\x89\x90\xb5\x25\x59\x8b\x33\x38\x1d\x57\x3e\x7b\
\xba\x5a\xfb\xd2\xb2\x6f\x66\x2c\x6d\x75\x7d\xa7\xb0\x32\x45\x50\
\x1c\xa0\x24\xd4\x32\x95\x2b\xc8\x28\xc6\x82\x6c\x42\x42\xc9\x9a\
\xef\xe4\xe9\x46\x23\x8a\x22\x7d\x63\x5c\xf4\x47\x87\x2e\x76\x73\
\x5b\x77\x99\x13\x18\x5b\xe0\x67\xe2\xe4\xf7\x17\x65\xfc\xcf\x1b\
\xcd\xf6\x63\x03\xe4\x77\x40\xf1\xca\x28\x53\x5a\x4a\x51\x02\x86\
\x33\xc3\x23\x14\xe2\x89\x24\x44\x05\xc5\xc8\xa6\x38\x71\xa8\x65\
\x66\xda\x10\xc9\xe6\x10\x51\xd3\x3e\x74\x83\xd8\x9e\x67\x0b\xce\
\xe8\x6f\x00\xc7\x48\x3d\xa7\x64\xf4\xe8\xa2\x4a\xaf\xef\x34\xb3\
\xbf\x1b\x20\xdf\xd3\xbc\xac\x24\xcb\x34\x16\x99\x6b\xec\x33\x4f\
\x06\x51\x9a\x9c\x3a\xd1\x43\x13\x91\x84\x0a\x64\xb3\x3b\x51\xd7\
\x15\xee\x46\xcc\xe9\xc7\x02\x15\x48\x69\x48\xe9\x45\x4a\x27\xae\
\x34\x28\x54\x09\x41\x5c\x88\x9a\x7d\x63\x4a\x93\x75\xe5\x84\x1b\
\x3d\x9e\xca\xfc\xa9\x79\xdb\x7c\x7b\x80\x7c\x8f\x14\x2f\x65\x6f\
\xce\x2b\x13\xf7\x66\xaf\x7b\x25\x6c\x97\x96\x5b\x69\xca\xb6\xcd\
\x29\x42\x41\x30\x47\x41\x20\x48\x57\x6e\xb5\xa6\xf5\x34\xcf\x9f\
\x36\xb5\x6d\xa0\xea\x57\x81\x50\x09\x52\x3a\xe7\x6a\x81\xca\x89\
\xab\x9c\x93\x72\x41\xd6\xc2\xd2\xcc\x89\xfb\x59\xe0\xbb\x40\x33\
\x40\xbe\x27\x9e\x6c\x34\xfd\x7e\x31\x22\x28\x90\x51\x16\x96\xb8\
\x99\x77\x98\x4a\xa4\xac\xab\x79\xcc\x71\x9b\x98\x4f\x06\x71\x04\
\x3c\xb5\x94\xcc\x73\x3c\xbc\x08\x65\x9c\xb7\xcd\x13\x40\x01\x8c\
\x80\x0a\xa3\x32\xac\xce\x39\x97\x1d\xf8\xbc\x77\x03\x08\x70\x03\
\x78\x16\x18\x0f\x90\xef\x9d\x18\x42\x6b\x11\xa5\xc2\x59\xdf\xf7\
\x0a\x6c\xc6\x29\x6d\x61\xac\x3f\x7c\xb1\xb9\xfa\xd2\x0b\xdf\x5b\
\xc4\x76\x77\xec\xab\x5f\x8a\x39\xfb\xb1\x14\x54\x14\x24\xcb\x8c\
\x5c\x79\x79\x2e\xcd\x97\x31\xb6\x7a\xd0\xa1\x5f\x45\xbf\x2a\xa0\
\xec\x57\xd5\x07\x8a\x0d\xe8\x67\xfa\x07\xc8\xff\xef\x6e\x2c\x62\
\x62\x48\xa0\x45\xa8\x80\xd6\x94\x5b\x36\x67\x16\x12\x17\x2f\x5f\
\x6a\xaf\xbe\xf2\xc3\x7f\x9d\x4e\xa7\x4f\x22\x92\xcd\xf1\xb0\x65\
\x3d\x6b\x28\x8a\xe2\x81\xca\xfc\x87\xab\x50\xbe\xbf\x89\xed\xdf\
\xff\x2f\xd9\xe0\xee\xe5\xee\x5a\x06\xb4\x43\x9f\x7c\xcf\x7a\x64\
\xa1\x14\x8f\x99\x92\x4d\xb9\x99\x77\xb8\x2d\x73\x2e\x5d\xbe\xdc\
\x5e\x7d\xe5\x87\xdf\xde\xdc\xdc\xfc\x47\xe0\x9f\x30\x7b\x3a\x6b\
\x7e\x16\x81\xdc\x6f\x49\x16\xe2\x29\x12\xe5\xc8\x15\xbf\xd6\x7b\
\xed\xff\xd4\x5a\xba\xe8\xdf\x79\x6d\x0b\x2c\x80\x19\x30\xef\xdf\
\x1f\x20\xdf\x9b\x70\x0d\xa6\x4a\x26\xb2\xa1\xbb\xcc\x5c\x64\xfd\
\xe2\xc5\x78\xe5\xd5\x17\x9e\xdc\xdc\xdc\xfc\x07\xe0\x5f\x80\x67\
\x80\x17\x93\xe6\xef\xe2\xa5\x49\xd6\x55\xe4\x1e\xcf\x84\x92\x91\
\x14\x9f\x74\xde\x9f\xe7\x80\xdb\x72\xca\x9a\xd6\x15\x5e\x85\x73\
\xdd\x23\x31\x7e\xc1\x43\x97\x2f\xa5\xe7\x5f\x7f\xf9\xc9\x5b\x9b\
\x9b\x4f\xf4\x80\xaf\x02\xb7\x80\x9b\x49\xf3\x73\x09\x7d\x21\x91\
\xc1\xba\x99\xb0\x80\xa7\xca\x72\xba\xf6\xc5\xaf\x0c\x90\xf7\x71\
\x1b\xb5\x93\xe7\xec\x4a\xcb\xfa\xa5\xcb\xe9\xb9\xd7\x5f\xfa\xce\
\xc6\xcd\x8d\x27\x80\x7f\x06\x9e\x03\x76\xfa\xd0\xbb\x8b\xf1\x5a\
\xb4\xfc\x4c\x12\xed\x85\xcd\x4c\x10\xf0\x19\x26\xae\xfc\x75\x84\
\xa3\x03\xe4\xfd\xe8\xcc\x66\x16\x83\x71\xe1\xd2\xc5\xf4\x83\x37\
\x5e\xfe\xb7\x8d\x9b\x1b\x7b\x21\xfa\x79\x60\xbb\xcf\xab\xf4\xed\
\xce\x46\xd4\xf4\x7d\xf5\xb2\x1d\x2d\xf5\x55\xb9\x51\xe2\x99\x68\
\xf8\x48\xe9\xc3\x07\x07\xc8\xfb\xd0\x91\xd5\x2c\x4c\xc6\x2b\x3c\
\x77\xed\xc5\xa7\x6e\x6c\x6c\xdc\x1d\xa2\xb7\x79\x73\x4e\x80\xbe\
\x50\xda\xd4\xac\x2f\x24\xf4\x8a\x4a\x46\xbb\xa7\xa6\xa8\x24\x50\
\x64\xaa\x71\xa8\x7f\x15\x0e\xee\xbf\x87\x5a\xca\x27\x28\x04\x24\
\x97\x6e\xe7\xa5\xd9\xf5\xa7\x6e\x6e\xde\xda\xf3\xe0\x2b\xc0\xed\
\xbb\x3c\xf8\x6e\x9b\x01\x3f\x4e\x96\xff\x3d\x3b\x21\x9b\x82\x19\
\x23\xe9\x36\x21\x8e\x52\x7d\xda\x39\x77\x76\x80\xbc\x8f\xbc\xd8\
\xcc\xf2\x46\xb3\xfd\xcd\x26\xc5\xbf\xed\x73\xf0\x15\x60\xeb\x2d\
\x00\xd3\xb7\x41\x1b\x31\xa5\xef\x27\xe1\x7a\x6b\x99\xbd\x7d\xe5\
\x4a\x02\xa3\xc4\xd9\x51\x28\x7e\x71\x80\xbc\x9f\xa4\x90\x2e\xfc\
\x7e\xe7\x6d\x02\xa6\xff\xdb\x6d\x33\x7b\x51\x1d\xcf\x47\xe9\xe4\
\xcf\x64\x99\x1a\xcf\x48\x3d\xab\x7e\xfc\x19\x84\x23\x03\xe4\xfd\
\x61\x19\xb8\x4e\xa7\x23\xbf\x1d\xc0\x7b\x36\x07\x7e\xd2\x6a\x7a\
\x2a\x7b\xc9\x6a\x86\x37\xa8\x4c\xa8\xcd\x33\xc9\xfe\x63\xa5\x2f\
\x3e\x34\x40\xde\x3f\x9e\xbc\x4b\xb7\x61\xb0\xf3\x53\x28\x50\x11\
\xb8\xd5\xa6\xf4\x1f\x51\xec\xf5\x44\x17\xb2\x1b\x14\xc4\x61\x49\
\xeb\x15\x5f\x7d\xf2\x20\x16\x60\xcb\x0a\x59\xfb\x65\x3f\xe5\x71\
\xdb\x98\xbd\x92\xb0\x67\x1b\x51\xb6\x2d\x32\x25\x76\x33\x22\x0a\
\x63\x09\x9f\x71\xce\x9d\x1b\x20\x2f\xb7\x2d\x80\x1b\x6d\x4e\x4f\
\xb7\x9e\xc5\x94\x48\x44\x69\x88\xd4\x12\x28\x22\x67\x6a\x5f\x7c\
\x7c\x80\xbc\xdc\x96\x80\x5b\x39\xa7\xab\x2d\xfa\xf2\xde\x73\xcc\
\x0b\x4b\xcc\x68\x99\xe7\x86\x89\xaf\x3e\x27\x22\xab\x03\xe4\xe5\
\xb6\x1d\xe0\x5a\x12\x7d\xa6\x75\xca\x96\x2d\x78\xc3\x6e\xb3\xe5\
\x23\xe3\xa3\x87\x09\xce\xad\x3b\xe7\x2e\x0c\x90\x97\xdb\x1a\xe0\
\x7a\x93\xe3\xd3\x2a\xb2\x63\x85\x70\xee\xe1\x87\xec\x81\x87\x1e\
\xdc\xca\x2b\xe5\x95\xeb\xcd\xce\x5f\xe5\x9c\x15\x0e\xce\x13\x8e\
\xe1\x5d\x08\x39\x03\x5b\x9a\xf5\xc5\x79\x91\x9e\x2a\x8a\xe2\xfc\
\xab\x3f\x79\xe3\xda\xe6\xd6\xd6\x35\xe0\xd5\xbe\x35\xdb\x3a\x48\
\x27\x2c\xcb\xf6\x0d\x6f\xff\x47\xdf\xcb\x54\x03\x97\x81\x8f\x01\
\xa7\x81\x9b\xc0\x8f\x80\xd7\x80\x6b\xc0\x7f\x01\xd3\xb7\xaa\xde\
\x97\xee\x9a\xbd\x4b\x21\x3b\xe0\x38\x70\x0e\x98\xd0\xed\x3b\x5f\
\xa7\xd3\xbe\x17\xbd\xb7\xbf\xe5\x85\x19\x20\x2f\x07\x64\x78\x73\
\x58\x4f\xfa\x3c\x1d\xdf\x6e\xdf\xbd\x6c\xd7\xec\xbf\x01\x9d\x41\
\x43\x3c\x8e\x5f\xba\x80\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\
\x60\x82\
\x00\x00\x08\x7f\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x14\x00\x00\x00\x14\x08\x06\x00\x00\x00\x8d\x89\x1d\x0d\
\x00\x00\x00\x09\x70\x48\x59\x73\x00\x00\x16\x25\x00\x00\x16\x25\
\x01\x49\x52\x24\xf0\x00\x00\x06\xbe\x69\x54\x58\x74\x58\x4d\x4c\
\x3a\x63\x6f\x6d\x2e\x61\x64\x6f\x62\x65\x2e\x78\x6d\x70\x00\x00\
\x00\x00\x00\x3c\x3f\x78\x70\x61\x63\x6b\x65\x74\x20\x62\x65\x67\
\x69\x6e\x3d\x22\xef\xbb\xbf\x22\x20\x69\x64\x3d\x22\x57\x35\x4d\
\x30\x4d\x70\x43\x65\x68\x69\x48\x7a\x72\x65\x53\x7a\x4e\x54\x63\
\x7a\x6b\x63\x39\x64\x22\x3f\x3e\x20\x3c\x78\x3a\x78\x6d\x70\x6d\
\x65\x74\x61\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x3d\x22\x61\x64\x6f\
\x62\x65\x3a\x6e\x73\x3a\x6d\x65\x74\x61\x2f\x22\x20\x78\x3a\x78\
\x6d\x70\x74\x6b\x3d\x22\x41\x64\x6f\x62\x65\x20\x58\x4d\x50\x20\
\x43\x6f\x72\x65\x20\x35\x2e\x36\x2d\x63\x31\x34\x38\x20\x37\x39\
\x2e\x31\x36\x34\x30\x33\x36\x2c\x20\x32\x30\x31\x39\x2f\x30\x38\
\x2f\x31\x33\x2d\x30\x31\x3a\x30\x36\x3a\x35\x37\x20\x20\x20\x20\
\x20\x20\x20\x20\x22\x3e\x20\x3c\x72\x64\x66\x3a\x52\x44\x46\x20\
\x78\x6d\x6c\x6e\x73\x3a\x72\x64\x66\x3d\x22\x68\x74\x74\x70\x3a\
\x2f\x2f\x77\x77\x77\x2e\x77\x33\x2e\x6f\x72\x67\x2f\x31\x39\x39\
\x39\x2f\x30\x32\x2f\x32\x32\x2d\x72\x64\x66\x2d\x73\x79\x6e\x74\
\x61\x78\x2d\x6e\x73\x23\x22\x3e\x20\x3c\x72\x64\x66\x3a\x44\x65\
\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\x20\x72\x64\x66\x3a\x61\x62\
\x6f\x75\x74\x3d\x22\x22\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x6d\x70\
\x3d\x22\x68\x74\x74\x70\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\
\x65\x2e\x63\x6f\x6d\x2f\x78\x61\x70\x2f\x31\x2e\x30\x2f\x22\x20\
\x78\x6d\x6c\x6e\x73\x3a\x64\x63\x3d\x22\x68\x74\x74\x70\x3a\x2f\
\x2f\x70\x75\x72\x6c\x2e\x6f\x72\x67\x2f\x64\x63\x2f\x65\x6c\x65\
\x6d\x65\x6e\x74\x73\x2f\x31\x2e\x31\x2f\x22\x20\x78\x6d\x6c\x6e\
\x73\x3a\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x3d\x22\x68\x74\x74\
\x70\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\
\x2f\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x2f\x31\x2e\x30\x2f\x22\
\x20\x78\x6d\x6c\x6e\x73\x3a\x78\x6d\x70\x4d\x4d\x3d\x22\x68\x74\
\x74\x70\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\
\x6d\x2f\x78\x61\x70\x2f\x31\x2e\x30\x2f\x6d\x6d\x2f\x22\x20\x78\
\x6d\x6c\x6e\x73\x3a\x73\x74\x45\x76\x74\x3d\x22\x68\x74\x74\x70\
\x3a\x2f\x2f\x6e\x73\x2e\x61\x64\x6f\x62\x65\x2e\x63\x6f\x6d\x2f\
\x78\x61\x70\x2f\x31\x2e\x30\x2f\x73\x54\x79\x70\x65\x2f\x52\x65\
\x73\x6f\x75\x72\x63\x65\x45\x76\x65\x6e\x74\x23\x22\x20\x78\x6d\
\x70\x3a\x43\x72\x65\x61\x74\x6f\x72\x54\x6f\x6f\x6c\x3d\x22\x41\
\x64\x6f\x62\x65\x20\x50\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\x32\
\x31\x2e\x30\x20\x28\x57\x69\x6e\x64\x6f\x77\x73\x29\x22\x20\x78\
\x6d\x70\x3a\x43\x72\x65\x61\x74\x65\x44\x61\x74\x65\x3d\x22\x32\
\x30\x32\x30\x2d\x30\x35\x2d\x30\x32\x54\x31\x37\x3a\x34\x38\x3a\
\x32\x34\x2d\x30\x33\x3a\x30\x30\x22\x20\x78\x6d\x70\x3a\x4d\x6f\
\x64\x69\x66\x79\x44\x61\x74\x65\x3d\x22\x32\x30\x32\x30\x2d\x30\
\x35\x2d\x30\x33\x54\x31\x31\x3a\x30\x37\x3a\x31\x33\x2d\x30\x33\
\x3a\x30\x30\x22\x20\x78\x6d\x70\x3a\x4d\x65\x74\x61\x64\x61\x74\
\x61\x44\x61\x74\x65\x3d\x22\x32\x30\x32\x30\x2d\x30\x35\x2d\x30\
\x33\x54\x31\x31\x3a\x30\x37\x3a\x31\x33\x2d\x30\x33\x3a\x30\x30\
\x22\x20\x64\x63\x3a\x66\x6f\x72\x6d\x61\x74\x3d\x22\x69\x6d\x61\
\x67\x65\x2f\x70\x6e\x67\x22\x20\x70\x68\x6f\x74\x6f\x73\x68\x6f\
\x70\x3a\x43\x6f\x6c\x6f\x72\x4d\x6f\x64\x65\x3d\x22\x33\x22\x20\
\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\x3a\x49\x43\x43\x50\x72\x6f\
\x66\x69\x6c\x65\x3d\x22\x73\x52\x47\x42\x20\x49\x45\x43\x36\x31\
\x39\x36\x36\x2d\x32\x2e\x31\x22\x20\x78\x6d\x70\x4d\x4d\x3a\x49\
\x6e\x73\x74\x61\x6e\x63\x65\x49\x44\x3d\x22\x78\x6d\x70\x2e\x69\
\x69\x64\x3a\x34\x32\x62\x34\x65\x65\x36\x31\x2d\x33\x63\x33\x36\
\x2d\x35\x65\x34\x34\x2d\x61\x62\x66\x66\x2d\x66\x36\x30\x63\x37\
\x37\x31\x35\x30\x33\x36\x32\x22\x20\x78\x6d\x70\x4d\x4d\x3a\x44\
\x6f\x63\x75\x6d\x65\x6e\x74\x49\x44\x3d\x22\x61\x64\x6f\x62\x65\
\x3a\x64\x6f\x63\x69\x64\x3a\x70\x68\x6f\x74\x6f\x73\x68\x6f\x70\
\x3a\x35\x38\x31\x63\x38\x39\x66\x39\x2d\x66\x64\x33\x65\x2d\x66\
\x37\x34\x65\x2d\x62\x32\x61\x64\x2d\x62\x61\x62\x66\x31\x36\x61\
\x62\x66\x64\x38\x39\x22\x20\x78\x6d\x70\x4d\x4d\x3a\x4f\x72\x69\
\x67\x69\x6e\x61\x6c\x44\x6f\x63\x75\x6d\x65\x6e\x74\x49\x44\x3d\
\x22\x78\x6d\x70\x2e\x64\x69\x64\x3a\x39\x64\x33\x64\x33\x37\x36\
\x33\x2d\x38\x66\x32\x31\x2d\x32\x34\x34\x61\x2d\x61\x66\x38\x64\
\x2d\x34\x36\x61\x34\x33\x62\x65\x39\x63\x37\x31\x31\x22\x3e\x20\
\x3c\x78\x6d\x70\x4d\x4d\x3a\x48\x69\x73\x74\x6f\x72\x79\x3e\x20\
\x3c\x72\x64\x66\x3a\x53\x65\x71\x3e\x20\x3c\x72\x64\x66\x3a\x6c\
\x69\x20\x73\x74\x45\x76\x74\x3a\x61\x63\x74\x69\x6f\x6e\x3d\x22\
\x63\x72\x65\x61\x74\x65\x64\x22\x20\x73\x74\x45\x76\x74\x3a\x69\
\x6e\x73\x74\x61\x6e\x63\x65\x49\x44\x3d\x22\x78\x6d\x70\x2e\x69\
\x69\x64\x3a\x39\x64\x33\x64\x33\x37\x36\x33\x2d\x38\x66\x32\x31\
\x2d\x32\x34\x34\x61\x2d\x61\x66\x38\x64\x2d\x34\x36\x61\x34\x33\
\x62\x65\x39\x63\x37\x31\x31\x22\x20\x73\x74\x45\x76\x74\x3a\x77\
\x68\x65\x6e\x3d\x22\x32\x30\x32\x30\x2d\x30\x35\x2d\x30\x32\x54\
\x31\x37\x3a\x34\x38\x3a\x32\x34\x2d\x30\x33\x3a\x30\x30\x22\x20\
\x73\x74\x45\x76\x74\x3a\x73\x6f\x66\x74\x77\x61\x72\x65\x41\x67\
\x65\x6e\x74\x3d\x22\x41\x64\x6f\x62\x65\x20\x50\x68\x6f\x74\x6f\
\x73\x68\x6f\x70\x20\x32\x31\x2e\x30\x20\x28\x57\x69\x6e\x64\x6f\
\x77\x73\x29\x22\x2f\x3e\x20\x3c\x72\x64\x66\x3a\x6c\x69\x20\x73\
\x74\x45\x76\x74\x3a\x61\x63\x74\x69\x6f\x6e\x3d\x22\x73\x61\x76\
\x65\x64\x22\x20\x73\x74\x45\x76\x74\x3a\x69\x6e\x73\x74\x61\x6e\
\x63\x65\x49\x44\x3d\x22\x78\x6d\x70\x2e\x69\x69\x64\x3a\x64\x38\
\x66\x65\x61\x39\x37\x33\x2d\x30\x36\x38\x34\x2d\x34\x64\x34\x64\
\x2d\x61\x35\x37\x66\x2d\x63\x31\x39\x66\x65\x61\x34\x31\x31\x35\
\x31\x37\x22\x20\x73\x74\x45\x76\x74\x3a\x77\x68\x65\x6e\x3d\x22\
\x32\x30\x32\x30\x2d\x30\x35\x2d\x30\x32\x54\x31\x37\x3a\x35\x32\
\x3a\x34\x30\x2d\x30\x33\x3a\x30\x30\x22\x20\x73\x74\x45\x76\x74\
\x3a\x73\x6f\x66\x74\x77\x61\x72\x65\x41\x67\x65\x6e\x74\x3d\x22\
\x41\x64\x6f\x62\x65\x20\x50\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\
\x32\x31\x2e\x30\x20\x28\x57\x69\x6e\x64\x6f\x77\x73\x29\x22\x20\
\x73\x74\x45\x76\x74\x3a\x63\x68\x61\x6e\x67\x65\x64\x3d\x22\x2f\
\x22\x2f\x3e\x20\x3c\x72\x64\x66\x3a\x6c\x69\x20\x73\x74\x45\x76\
\x74\x3a\x61\x63\x74\x69\x6f\x6e\x3d\x22\x73\x61\x76\x65\x64\x22\
\x20\x73\x74\x45\x76\x74\x3a\x69\x6e\x73\x74\x61\x6e\x63\x65\x49\
\x44\x3d\x22\x78\x6d\x70\x2e\x69\x69\x64\x3a\x34\x32\x62\x34\x65\
\x65\x36\x31\x2d\x33\x63\x33\x36\x2d\x35\x65\x34\x34\x2d\x61\x62\
\x66\x66\x2d\x66\x36\x30\x63\x37\x37\x31\x35\x30\x33\x36\x32\x22\
\x20\x73\x74\x45\x76\x74\x3a\x77\x68\x65\x6e\x3d\x22\x32\x30\x32\
\x30\x2d\x30\x35\x2d\x30\x33\x54\x31\x31\x3a\x30\x37\x3a\x31\x33\
\x2d\x30\x33\x3a\x30\x30\x22\x20\x73\x74\x45\x76\x74\x3a\x73\x6f\
\x66\x74\x77\x61\x72\x65\x41\x67\x65\x6e\x74\x3d\x22\x41\x64\x6f\
\x62\x65\x20\x50\x68\x6f\x74\x6f\x73\x68\x6f\x70\x20\x32\x31\x2e\
\x30\x20\x28\x57\x69\x6e\x64\x6f\x77\x73\x29\x22\x20\x73\x74\x45\
\x76\x74\x3a\x63\x68\x61\x6e\x67\x65\x64\x3d\x22\x2f\x22\x2f\x3e\
\x20\x3c\x2f\x72\x64\x66\x3a\x53\x65\x71\x3e\x20\x3c\x2f\x78\x6d\
\x70\x4d\x4d\x3a\x48\x69\x73\x74\x6f\x72\x79\x3e\x20\x3c\x2f\x72\
\x64\x66\x3a\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6f\x6e\x3e\x20\
\x3c\x2f\x72\x64\x66\x3a\x52\x44\x46\x3e\x20\x3c\x2f\x78\x3a\x78\
\x6d\x70\x6d\x65\x74\x61\x3e\x20\x3c\x3f\x78\x70\x61\x63\x6b\x65\
\x74\x20\x65\x6e\x64\x3d\x22\x72\x22\x3f\x3e\x87\x89\x44\xbb\x00\
\x00\x01\x67\x49\x44\x41\x54\x38\x8d\xcd\xd4\xbd\x4e\x54\x41\x18\
\xc6\xf1\xdf\x2e\x48\x62\xe8\x24\x21\x2e\x81\x86\xab\xa0\xb2\xa1\
\xd9\x10\x03\x5a\xa1\xe1\x0a\x2c\xad\x88\x2d\x1f\x9b\x08\xec\xae\
\xf1\x0a\x80\xa0\xa5\x26\x44\x0b\x2d\xb4\xe0\x1e\xbc\x00\x12\xb3\
\xed\x96\x22\x84\xa5\x98\x39\x30\x0c\xe7\x2c\x98\x50\x38\xc9\xc9\
\x9c\xcc\xcc\xfb\x7f\x9f\x79\xe7\x99\xa9\x0d\x06\x03\xf7\xd9\xea\
\xf7\x4a\xc3\x68\xf1\xd3\xeb\xf5\xe0\x31\xfe\xa0\x7f\x87\xd8\x1a\
\x26\x71\x82\x7e\xa3\xd1\x28\x55\xf8\x0c\xaf\x30\x92\x04\x95\x81\
\xe0\x21\x5e\x63\x2e\x9d\xcc\x81\x8f\xd0\xc2\x9b\x21\xca\x8a\xa2\
\x7f\xc4\x2a\xc6\xd2\xc9\xd1\x6c\x71\x2b\xf6\x9b\xf8\x8b\xad\x0a\
\xe8\x3e\x96\xb0\x8c\xc3\x2a\x60\x2d\x66\x6f\xe1\x0c\x6f\x71\x8e\
\x9d\x0c\xf6\x09\xcf\xf1\x14\x5f\xf3\x4c\x29\x30\xf5\xcf\x56\x84\
\xb6\x63\xa2\xed\x38\xbe\x17\x61\x4d\x7c\x2b\x93\x9e\x6f\x39\x6d\
\x9d\x98\xa4\x83\x53\xcc\x60\x05\xf3\xf8\x51\x15\x34\x0c\x08\xdd\
\xa8\xf4\x7d\x84\x2e\x0c\x83\x71\x37\x63\x4f\xc7\x7e\x04\x53\xb7\
\x2d\xbe\x4d\xe1\x67\xc1\x9b\x4f\x30\x8b\x5d\x4c\x08\xb5\xfd\x67\
\xe0\x5e\x84\x35\x71\x14\xbf\x02\x56\x77\x75\x50\x95\xc0\xc2\x36\
\x70\x80\x97\x6e\x1e\x40\x47\xb0\x52\x17\x0f\x5c\xf9\xf6\x32\x36\
\xb7\xcd\x38\x3e\x60\x31\xaa\x2b\x3b\x80\x77\x42\x3d\x77\x62\xfc\
\x5a\x22\xe4\xc6\x96\x37\x84\x1b\xf0\x42\x76\x03\xb2\x9d\xb4\x85\
\xbb\xbc\x8e\x63\xa1\xb6\xa5\xc0\xef\x51\xd5\x97\x0a\x58\xda\xb6\
\xf1\x1b\xbf\xd2\xc1\x1c\xf8\x53\xf0\xdb\xb0\x57\xb7\x98\x3b\x11\
\x1e\x88\x6b\x6b\x6b\xff\xfd\x8b\x7d\x01\x9e\x89\x4d\x94\x0e\x9a\
\xe4\x35\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82\
"
qt_resource_name = b"\
\x00\x06\
\x04\xfa\x65\x73\
\x00\x49\
\x00\x63\x00\x6f\x00\x6e\x00\x73\x00\x43\
\x00\x05\
\x00\x4f\xa6\x53\
\x00\x49\
\x00\x63\x00\x6f\x00\x6e\x00\x73\
\x00\x17\
\x04\x25\x97\xa7\
\x00\x63\
\x00\x69\x00\x6c\x00\x2d\x00\x77\x00\x69\x00\x6e\x00\x64\x00\x6f\x00\x77\x00\x2d\x00\x6d\x00\x69\x00\x6e\x00\x69\x00\x6d\x00\x69\
\x00\x7a\x00\x65\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x16\
\x0d\xe4\x6b\x07\
\x00\x4d\
\x00\x6f\x00\x75\x00\x73\x00\x65\x00\x5f\x00\x63\x00\x75\x00\x72\x00\x73\x00\x6f\x00\x72\x00\x5f\x00\x69\x00\x6d\x00\x61\x00\x67\
\x00\x65\x00\x2e\x00\x70\x00\x6e\x00\x67\
\x00\x09\
\x0f\x4b\x84\xa7\
\x00\x63\
\x00\x69\x00\x6c\x00\x2d\x00\x78\x00\x2e\x00\x70\x00\x6e\x00\x67\
"
qt_resource_struct_v1 = b"\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x02\
\x00\x00\x00\x12\x00\x02\x00\x00\x00\x03\x00\x00\x00\x03\
\x00\x00\x00\x22\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
\x00\x00\x00\x56\x00\x00\x00\x00\x00\x01\x00\x00\x07\x8e\
\x00\x00\x00\x88\x00\x00\x00\x00\x00\x01\x00\x00\x17\xf5\
"
qt_resource_struct_v2 = b"\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x01\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00\x00\x00\x02\x00\x00\x00\x01\x00\x00\x00\x02\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00\x12\x00\x02\x00\x00\x00\x03\x00\x00\x00\x03\
\x00\x00\x00\x00\x00\x00\x00\x00\
\x00\x00\x00\x22\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
\x00\x00\x01\x73\xa4\xe5\x1b\x68\
\x00\x00\x00\x56\x00\x00\x00\x00\x00\x01\x00\x00\x07\x8e\
\x00\x00\x01\x74\xe5\xa0\xc9\x40\
\x00\x00\x00\x88\x00\x00\x00\x00\x00\x01\x00\x00\x17\xf5\
\x00\x00\x01\x73\xa4\xe5\x1b\x68\
"
qt_version = [int(v) for v in QtCore.qVersion().split('.')]
if qt_version < [5, 8, 0]:
rcc_version = 1
qt_resource_struct = qt_resource_struct_v1
else:
rcc_version = 2
qt_resource_struct = qt_resource_struct_v2
def qInitResources():
QtCore.qRegisterResourceData(rcc_version, qt_resource_struct, qt_resource_name, qt_resource_data)
def qCleanupResources():
QtCore.qUnregisterResourceData(rcc_version, qt_resource_struct, qt_resource_name, qt_resource_data)
qInitResources()
| 60.746689
| 129
| 0.726718
| 8,805
| 36,691
| 3.023964
| 0.034867
| 0.041914
| 0.038196
| 0.027041
| 0.600766
| 0.596485
| 0.592053
| 0.591264
| 0.588785
| 0.588785
| 0
| 0.376
| 0.018833
| 36,691
| 603
| 130
| 60.84743
| 0.363611
| 0.004143
| 0
| 0.39523
| 0
| 0.913118
| 0.000027
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0.003407
| false
| 0
| 0.001704
| 0
| 0.005111
| 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 | 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
f3c3dcc959d8cd2a6f9169e236bb2d64afc6aa1f
| 180
|
py
|
Python
|
examples/jobs/job_print_parameters.py
|
luizfernandomeier/hangpy
|
61965fbc2738da64abb52c351730bfaf8c8bdf5e
|
[
"MIT"
] | 5
|
2021-04-09T20:17:55.000Z
|
2021-04-10T13:17:37.000Z
|
examples/jobs/job_print_parameters.py
|
luizfernandomeier/hangpy
|
61965fbc2738da64abb52c351730bfaf8c8bdf5e
|
[
"MIT"
] | 10
|
2021-04-11T14:21:28.000Z
|
2021-05-01T13:32:19.000Z
|
examples/jobs/job_print_parameters.py
|
luizfernandomeier/hangpy
|
61965fbc2738da64abb52c351730bfaf8c8bdf5e
|
[
"MIT"
] | null | null | null |
from hangpy import JobActivityBase
class JobPrintParameters(JobActivityBase):
def action(self):
print(f'This is what you have sent me: {self.get_job().parameters}')
| 22.5
| 76
| 0.733333
| 23
| 180
| 5.695652
| 0.913043
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.172222
| 180
| 7
| 77
| 25.714286
| 0.879195
| 0
| 0
| 0
| 0
| 0
| 0.322222
| 0.15
| 0
| 0
| 0
| 0
| 0
| 1
| 0.25
| false
| 0
| 0.25
| 0
| 0.75
| 0.25
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
| 0
|
0
| 4
|
f3c6ed96da3d077d591e02832aa57afa2ead3528
| 259
|
py
|
Python
|
systori/apps/accounting/management/commands/createchartofaccounts.py
|
systori/systori
|
e309c63e735079ff6032fdaf1db354ec872b28b1
|
[
"BSD-3-Clause"
] | 12
|
2018-01-30T00:44:06.000Z
|
2020-07-13T05:20:48.000Z
|
systori/apps/accounting/management/commands/createchartofaccounts.py
|
systori/systori
|
e309c63e735079ff6032fdaf1db354ec872b28b1
|
[
"BSD-3-Clause"
] | 36
|
2018-03-06T17:49:50.000Z
|
2020-06-23T19:26:00.000Z
|
systori/apps/accounting/management/commands/createchartofaccounts.py
|
systori/systori
|
e309c63e735079ff6032fdaf1db354ec872b28b1
|
[
"BSD-3-Clause"
] | 3
|
2018-08-03T07:03:09.000Z
|
2020-07-09T20:21:10.000Z
|
from django.core.management.base import BaseCommand
from systori.apps.accounting import workflow
class Command(BaseCommand):
help = "Generate skr03 chart of accounts."
def handle(self, *args, **options):
workflow.create_chart_of_accounts()
| 25.9
| 51
| 0.752896
| 32
| 259
| 6
| 0.78125
| 0.072917
| 0.15625
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.009174
| 0.158301
| 259
| 9
| 52
| 28.777778
| 0.87156
| 0
| 0
| 0
| 1
| 0
| 0.127413
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0.166667
| false
| 0
| 0.333333
| 0
| 0.833333
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 1
| 0
|
0
| 4
|
346708c03beca2636441e4067b3e3881963fa5fe
| 132
|
py
|
Python
|
reth_buffer/reth_buffer/cache_policy/base_policy.py
|
sosp2021/Reth
|
10c032f44a25049355ebdd97a2cb3299e8c3fb82
|
[
"MIT"
] | null | null | null |
reth_buffer/reth_buffer/cache_policy/base_policy.py
|
sosp2021/Reth
|
10c032f44a25049355ebdd97a2cb3299e8c3fb82
|
[
"MIT"
] | 1
|
2021-08-10T02:58:58.000Z
|
2021-08-10T02:58:58.000Z
|
reth_buffer/reth_buffer/cache_policy/base_policy.py
|
sosp2021/reth
|
10c032f44a25049355ebdd97a2cb3299e8c3fb82
|
[
"MIT"
] | null | null | null |
from abc import ABC, abstractmethod
class BasePolicy(ABC):
@abstractmethod
def get_indices(self, batch_size):
...
| 16.5
| 38
| 0.681818
| 15
| 132
| 5.866667
| 0.8
| 0.386364
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.227273
| 132
| 7
| 39
| 18.857143
| 0.862745
| 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 | 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
| 1
| 0
|
0
| 4
|
346cbf746079f2c562e06fd55f8dd924fa212c03
| 2,472
|
py
|
Python
|
tests/conftest.py
|
obendidi/pstock
|
e98a4859d7216c985c1f1084a686ad53fd06ef27
|
[
"MIT"
] | 5
|
2022-01-09T20:10:23.000Z
|
2022-02-21T11:14:32.000Z
|
tests/conftest.py
|
obendidi/pstock
|
e98a4859d7216c985c1f1084a686ad53fd06ef27
|
[
"MIT"
] | 18
|
2022-01-18T23:46:03.000Z
|
2022-03-28T22:24:19.000Z
|
tests/conftest.py
|
obendidi/pstock
|
e98a4859d7216c985c1f1084a686ad53fd06ef27
|
[
"MIT"
] | null | null | null |
import pickle
from pathlib import Path
import pendulum
import pytest
from httpx import Response
from pytest_cases import case, fixture, parametrize_with_cases
@pytest.fixture
def pendulum_now():
now = pendulum.now()
pendulum.set_test_now(now)
yield now
pendulum.set_test_now()
class QuoteResponseCases:
def _load_response(self, filename: str) -> Response:
with open(Path(__file__).parent / "data" / filename, "rb") as f:
return pickle.load(f)
@case(tags=["quote"])
def case_cryptocurrency_quote(self) -> Response:
return self._load_response("CRYPTOCURRENCY-quote.obj")
@case(tags=["financials"])
def case_cryptocurrency_financials(self) -> Response:
return self._load_response("CRYPTOCURRENCY-financials.obj")
@case(tags=["quote"])
def case_currency_quote(self) -> Response:
return self._load_response("CURRENCY-quote.obj")
@case(tags=["financials"])
def case_currency_financials(self) -> Response:
return self._load_response("CURRENCY-financials.obj")
@case(tags=["quote"])
def case_equity_quote(self) -> Response:
return self._load_response("EQUITY-quote.obj")
@case(tags=["financials"])
def case_equity_financials(self) -> Response:
return self._load_response("EQUITY-financials.obj")
@case(tags=["quote"])
def case_etf_quote(self) -> Response:
return self._load_response("ETF-quote.obj")
@case(tags=["financials"])
def case_etf_financials(self) -> Response:
return self._load_response("ETF-financials.obj")
@case(tags=["quote"])
def case_future_quote(self) -> Response:
return self._load_response("FUTURE-quote.obj")
@case(tags=["financials"])
def case_future_financials(self) -> Response:
return self._load_response("FUTURE-financials.obj")
@case(tags=["quote"])
def case_index_quote(self) -> Response:
return self._load_response("INDEX-quote.obj")
@case(tags=["financials"])
def case_index_financials(self) -> Response:
return self._load_response("INDEX-financials.obj")
@fixture(scope="session")
@parametrize_with_cases("response", cases=QuoteResponseCases)
def quote_response(response: Response) -> Response:
return response
@fixture(scope="session")
@parametrize_with_cases("response", cases=QuoteResponseCases, has_tag="quote")
def main_quote_response(response: Response) -> Response:
return response
| 30.146341
| 78
| 0.701456
| 295
| 2,472
| 5.640678
| 0.162712
| 0.117788
| 0.129808
| 0.158654
| 0.750601
| 0.713341
| 0.713341
| 0.084135
| 0.084135
| 0
| 0
| 0
| 0.16788
| 2,472
| 81
| 79
| 30.518519
| 0.808945
| 0
| 0
| 0.266667
| 0
| 0
| 0.147654
| 0.047735
| 0
| 0
| 0
| 0
| 0
| 1
| 0.266667
| false
| 0
| 0.1
| 0.233333
| 0.633333
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 1
| 0
| 0
|
0
| 4
|
caddc7898f5cdfbb75f9c6f5836e2cfa8b04bb96
| 4,443
|
py
|
Python
|
test-gen/pyca-test-vectors.py
|
charmander/bcrypt-only
|
4dfbcc94f7fba1fab1934126c0a9c5172fccbe29
|
[
"ISC"
] | null | null | null |
test-gen/pyca-test-vectors.py
|
charmander/bcrypt-only
|
4dfbcc94f7fba1fab1934126c0a9c5172fccbe29
|
[
"ISC"
] | null | null | null |
test-gen/pyca-test-vectors.py
|
charmander/bcrypt-only
|
4dfbcc94f7fba1fab1934126c0a9c5172fccbe29
|
[
"ISC"
] | null | null | null |
# from https://github.com/pyca/bcrypt/blob/3.1.7/tests/test_bcrypt.py
#
# Copyright 2013 Donald Stufft
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
[
(
b"Kk4DQuMMfZL9o",
b"$2b$04$cVWp4XaNU8a4v1uMRum2SO",
b"$2b$04$cVWp4XaNU8a4v1uMRum2SO026BWLIoQMD/TXg5uZV.0P.uO8m3YEm",
),
(
b"9IeRXmnGxMYbs",
b"$2b$04$pQ7gRO7e6wx/936oXhNjrO",
b"$2b$04$pQ7gRO7e6wx/936oXhNjrOUNOHL1D0h1N2IDbJZYs.1ppzSof6SPy",
),
(
b"xVQVbwa1S0M8r",
b"$2b$04$SQe9knOzepOVKoYXo9xTte",
b"$2b$04$SQe9knOzepOVKoYXo9xTteNYr6MBwVz4tpriJVe3PNgYufGIsgKcW",
),
(
b"Zfgr26LWd22Za",
b"$2b$04$eH8zX.q5Q.j2hO1NkVYJQO",
b"$2b$04$eH8zX.q5Q.j2hO1NkVYJQOM6KxntS/ow3.YzVmFrE4t//CoF4fvne",
),
(
b"Tg4daC27epFBE",
b"$2b$04$ahiTdwRXpUG2JLRcIznxc.",
b"$2b$04$ahiTdwRXpUG2JLRcIznxc.s1.ydaPGD372bsGs8NqyYjLY1inG5n2",
),
(
b"xhQPMmwh5ALzW",
b"$2b$04$nQn78dV0hGHf5wUBe0zOFu",
b"$2b$04$nQn78dV0hGHf5wUBe0zOFu8n07ZbWWOKoGasZKRspZxtt.vBRNMIy",
),
(
b"59je8h5Gj71tg",
b"$2b$04$cvXudZ5ugTg95W.rOjMITu",
b"$2b$04$cvXudZ5ugTg95W.rOjMITuM1jC0piCl3zF5cmGhzCibHZrNHkmckG",
),
(
b"wT4fHJa2N9WSW",
b"$2b$04$YYjtiq4Uh88yUsExO0RNTu",
b"$2b$04$YYjtiq4Uh88yUsExO0RNTuEJ.tZlsONac16A8OcLHleWFjVawfGvO",
),
(
b"uSgFRnQdOgm4S",
b"$2b$04$WLTjgY/pZSyqX/fbMbJzf.",
b"$2b$04$WLTjgY/pZSyqX/fbMbJzf.qxCeTMQOzgL.CimRjMHtMxd/VGKojMu",
),
(
b"tEPtJZXur16Vg",
b"$2b$04$2moPs/x/wnCfeQ5pCheMcu",
b"$2b$04$2moPs/x/wnCfeQ5pCheMcuSJQ/KYjOZG780UjA/SiR.KsYWNrC7SG",
),
(
b"vvho8C6nlVf9K",
b"$2b$04$HrEYC/AQ2HS77G78cQDZQ.",
b"$2b$04$HrEYC/AQ2HS77G78cQDZQ.r44WGcruKw03KHlnp71yVQEwpsi3xl2",
),
(
b"5auCCY9by0Ruf",
b"$2b$04$vVYgSTfB8KVbmhbZE/k3R.",
b"$2b$04$vVYgSTfB8KVbmhbZE/k3R.ux9A0lJUM4CZwCkHI9fifke2.rTF7MG",
),
(
b"GtTkR6qn2QOZW",
b"$2b$04$JfoNrR8.doieoI8..F.C1O",
b"$2b$04$JfoNrR8.doieoI8..F.C1OQgwE3uTeuardy6lw0AjALUzOARoyf2m",
),
(
b"zKo8vdFSnjX0f",
b"$2b$04$HP3I0PUs7KBEzMBNFw7o3O",
b"$2b$04$HP3I0PUs7KBEzMBNFw7o3O7f/uxaZU7aaDot1quHMgB2yrwBXsgyy",
),
(
b"I9VfYlacJiwiK",
b"$2b$04$xnFVhJsTzsFBTeP3PpgbMe",
b"$2b$04$xnFVhJsTzsFBTeP3PpgbMeMREb6rdKV9faW54Sx.yg9plf4jY8qT6",
),
(
b"VFPO7YXnHQbQO",
b"$2b$04$WQp9.igoLqVr6Qk70mz6xu",
b"$2b$04$WQp9.igoLqVr6Qk70mz6xuRxE0RttVXXdukpR9N54x17ecad34ZF6",
),
(
b"VDx5BdxfxstYk",
b"$2b$04$xgZtlonpAHSU/njOCdKztO",
b"$2b$04$xgZtlonpAHSU/njOCdKztOPuPFzCNVpB4LGicO4/OGgHv.uKHkwsS",
),
(
b"dEe6XfVGrrfSH",
b"$2b$04$2Siw3Nv3Q/gTOIPetAyPr.",
b"$2b$04$2Siw3Nv3Q/gTOIPetAyPr.GNj3aO0lb1E5E9UumYGKjP9BYqlNWJe",
),
(
b"cTT0EAFdwJiLn",
b"$2b$04$7/Qj7Kd8BcSahPO4khB8me",
b"$2b$04$7/Qj7Kd8BcSahPO4khB8me4ssDJCW3r4OGYqPF87jxtrSyPj5cS5m",
),
(
b"J8eHUDuxBB520",
b"$2b$04$VvlCUKbTMjaxaYJ.k5juoe",
b"$2b$04$VvlCUKbTMjaxaYJ.k5juoecpG/7IzcH1AkmqKi.lIZMVIOLClWAk.",
),
(
b"U*U",
b"$2a$05$CCCCCCCCCCCCCCCCCCCCC.",
b"$2a$05$CCCCCCCCCCCCCCCCCCCCC.E5YPO9kmyuRGyh0XouQYb4YMJKvyOeW",
),
(
b"U*U*",
b"$2a$05$CCCCCCCCCCCCCCCCCCCCC.",
b"$2a$05$CCCCCCCCCCCCCCCCCCCCC.VGOzA784oUp/Z0DY336zx7pLYAy0lwK",
),
(
b"U*U*U",
b"$2a$05$XXXXXXXXXXXXXXXXXXXXXO",
b"$2a$05$XXXXXXXXXXXXXXXXXXXXXOAcXxm9kjPGEMsLznoKqmqw7tc8WCx4a",
),
(
b"0123456789abcdefghijklmnopqrstuvwxyz"
b"ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
#b"chars after 72 are ignored"
,
b"$2a$05$abcdefghijklmnopqrstuu",
b"$2a$05$abcdefghijklmnopqrstuu5s2v8.iXieOjg/.AySBTTZIIVFJeBui",
),
(
b"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
b"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
b"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
b"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
b"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
b"\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa\xaa"
#b"chars after 72 are ignored as usual"
,
b"$2a$05$/OK.fbVrR/bpIqNJ5ianF.",
b"$2a$05$/OK.fbVrR/bpIqNJ5ianF.swQOIzjOiJ9GHEPuhEkvqrUyvWhEMx6"
),
(
b"\xa3",
b"$2a$05$/OK.fbVrR/bpIqNJ5ianF.",
b"$2a$05$/OK.fbVrR/bpIqNJ5ianF.Sa7shbm4.OzKpvFnX1pQLmQW96oUlCq"
),
]
| 27.943396
| 74
| 0.731488
| 539
| 4,443
| 6.027829
| 0.384045
| 0.121884
| 0.166205
| 0.199446
| 0.234841
| 0.171745
| 0.130809
| 0.130809
| 0.130809
| 0.130809
| 0
| 0.123644
| 0.108035
| 4,443
| 158
| 75
| 28.120253
| 0.69619
| 0.153275
| 0
| 0.257143
| 0
| 0.042857
| 0.787927
| 0.714209
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 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
| 1
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
caf1bd4d7b565b701a009d28d1a0d4ef5a2dff3b
| 4,664
|
py
|
Python
|
tests/epyccel/test_epyccel_generators.py
|
nandiniraja348/pyccel
|
d857efcb8ff327f72473daeb86903c7e9ef93a36
|
[
"MIT"
] | 3
|
2017-08-31T14:11:55.000Z
|
2018-03-05T04:47:58.000Z
|
tests/epyccel/test_epyccel_generators.py
|
nandiniraja348/pyccel
|
d857efcb8ff327f72473daeb86903c7e9ef93a36
|
[
"MIT"
] | null | null | null |
tests/epyccel/test_epyccel_generators.py
|
nandiniraja348/pyccel
|
d857efcb8ff327f72473daeb86903c7e9ef93a36
|
[
"MIT"
] | 1
|
2018-02-13T23:46:49.000Z
|
2018-02-13T23:46:49.000Z
|
# pylint: disable=missing-function-docstring, missing-module-docstring/
import pytest
import numpy as np
from numpy.random import randint, rand
from pyccel.epyccel import epyccel
def test_sum_range(language):
def f(a0 : 'int[:]'):
return sum(a0[i] for i in range(len(a0)))
n = randint(1,50)
x = randint(100,size=n)
f_epyc = epyccel(f, language = language)
assert f(x) == f_epyc(x)
def test_sum_var(language):
def f(a : 'int[:]'):
return sum(ai for ai in a)
n = randint(1,50)
x = randint(100,size=n)
f_epyc = epyccel(f, language = language)
assert f(x) == f_epyc(x)
def test_sum_var2(language):
def f(a : 'int[:,:]'):
return sum(aii for ai in a for aii in ai)
n1 = randint(1,10)
n2 = randint(1,10)
x = randint(10,size=(n1,n2))
f_epyc = epyccel(f, language = language)
assert f(x) == f_epyc(x)
def test_sum_var3(language):
def f(a : 'int[:,:,:]'):
m,n,p = a.shape
return sum(a[i,j,k] for i in range(m) for j in range(n) for k in range(p))
n1 = randint(1,10)
n2 = randint(1,10)
n3 = randint(1,10)
x = randint(10,size=(n1,n2,n3))
f_epyc = epyccel(f, language = language)
assert f(x) == f_epyc(x)
def test_sum_var4(language):
def f(a : 'int[:]'):
s = 3
return sum(ai for ai in a),s
n = randint(1,50)
x = randint(100,size=n)
f_epyc = epyccel(f, language = language)
assert f(x) == f_epyc(x)
@pytest.mark.parametrize( 'language', (
pytest.param("fortran", marks = pytest.mark.fortran),
pytest.param("c", marks = [
pytest.mark.xfail(reason="Max not implemented in C for integers"),
pytest.mark.c]
),
pytest.param("python", marks = pytest.mark.python)
)
)
def test_max(language):
def f():
return max(i if i>k else k for i in range(5) for k in range(10))
f_epyc = epyccel(f, language = language)
assert f() == f_epyc()
@pytest.mark.parametrize( 'language', (
pytest.param("fortran", marks = pytest.mark.fortran),
pytest.param("c", marks = [
pytest.mark.xfail(reason="Min not implemented in C for integers"),
pytest.mark.c]
),
pytest.param("python", marks = pytest.mark.python)
)
)
def test_min(language):
def f():
return min(k if i>k else 0 if i==k else i for i in range(5) for k in range(10))
f_epyc = epyccel(f, language = language)
assert f() == f_epyc()
def test_expression1(language):
def f(b : 'float[:]'):
n = b.shape[0]
return (2*sum(b[i] for i in range(n))**5+5)*min(j+1. for j in b)**4+9
n = randint(1,10)
x = np.array(randint(100,size=n), dtype=float)
f_epyc = epyccel(f, language = language)
assert f(x) == f_epyc(x)
@pytest.mark.parametrize( 'language', (
pytest.param("fortran", marks = pytest.mark.fortran),
pytest.param("c", marks = [
pytest.mark.xfail(reason="Function in function not implemented in C"),
pytest.mark.c]
),
pytest.param("python", marks = pytest.mark.python)
)
)
def test_expression2(language):
def f(b : 'int[:]'):
def incr(x : int):
y = x + 1
return y
n = b.shape[0]
return 5+incr(2+incr(6+sum(b[i] for i in range(n))))
n = randint(1,10)
x = randint(100,size=n)
f_epyc = epyccel(f, language = language)
assert f(x) == f_epyc(x)
def test_nested_generators1(language):
def f(a : 'float[:,:,:,:]'):
return sum(sum(sum(a[i,k,o,2] for i in range(5)) for k in range(5)) for o in range(5))
x = randint(0, 50, size=(5,5,5,5)).astype(float)
f_epyc = epyccel(f, language = language)
assert f(x) == f_epyc(x)
def test_nested_generators2(language):
def f(a : 'float[:,:,:,:]'):
return min(min(sum(min(max(a[i,k,o,l]*l for i in range(5)) for k in range(5)) for o in range(5)) for l in range(5)),0.)
x = randint(0, 50, size=(5,5,5,5)).astype(float)
f_epyc = epyccel(f, language = language)
assert f(x) == f_epyc(x)
def test_nested_generators3(language):
def f(a : 'float[:,:,:,:]'):
return sum(sum(a[i,k,4,2] for i in range(5)) for k in range(5))**2
x = randint(0, 10, size=(5,5,5,5)).astype(float)
f_epyc = epyccel(f, language = language)
assert f(x) == f_epyc(x)
def test_nested_generators4(language):
def f(a : 'float[:,:,:,:]'):
return min(max(a[i,k,4,2] for i in range(5)) for k in range(5))**2
x = randint(0, 10, size=(5,5,5,5)).astype(float)
f_epyc = epyccel(f, language = language)
assert f(x) == f_epyc(x)
| 26.350282
| 127
| 0.578902
| 772
| 4,664
| 3.435233
| 0.121762
| 0.04902
| 0.058824
| 0.063725
| 0.771116
| 0.723228
| 0.723228
| 0.673077
| 0.623303
| 0.602187
| 0
| 0.039576
| 0.252358
| 4,664
| 176
| 128
| 26.5
| 0.720964
| 0.014794
| 0
| 0.572581
| 0
| 0
| 0.062486
| 0
| 0
| 0
| 0
| 0
| 0.104839
| 1
| 0.217742
| false
| 0
| 0.032258
| 0.072581
| 0.362903
| 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
cafc1184460726d94923dcde1f05c50900ade20a
| 24
|
py
|
Python
|
data/studio21_generated/interview/1717/starter_code.py
|
vijaykumawat256/Prompt-Summarization
|
614f5911e2acd2933440d909de2b4f86653dc214
|
[
"Apache-2.0"
] | null | null | null |
data/studio21_generated/interview/1717/starter_code.py
|
vijaykumawat256/Prompt-Summarization
|
614f5911e2acd2933440d909de2b4f86653dc214
|
[
"Apache-2.0"
] | null | null | null |
data/studio21_generated/interview/1717/starter_code.py
|
vijaykumawat256/Prompt-Summarization
|
614f5911e2acd2933440d909de2b4f86653dc214
|
[
"Apache-2.0"
] | null | null | null |
def top_3_words(text):
| 12
| 22
| 0.75
| 5
| 24
| 3.2
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.047619
| 0.125
| 24
| 2
| 23
| 12
| 0.714286
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | null | 0
| 0
| null | null | 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
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
1b02c9568cd480e1e3d8b611ee0fc70dd4213ffc
| 66
|
py
|
Python
|
blousebrothers/search/__init__.py
|
sladinji/blousebrothers
|
461de3ba011c0aaed3f0014136c4497b6890d086
|
[
"MIT"
] | 1
|
2022-01-27T11:58:10.000Z
|
2022-01-27T11:58:10.000Z
|
blousebrothers/search/__init__.py
|
sladinji/blousebrothers
|
461de3ba011c0aaed3f0014136c4497b6890d086
|
[
"MIT"
] | 5
|
2021-03-19T00:01:54.000Z
|
2022-03-11T23:46:21.000Z
|
blousebrothers/search/__init__.py
|
sladinji/blousebrothers
|
461de3ba011c0aaed3f0014136c4497b6890d086
|
[
"MIT"
] | null | null | null |
default_app_config = 'blousebrothers.search.config.SearchConfig'
| 22
| 64
| 0.848485
| 7
| 66
| 7.714286
| 0.857143
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.060606
| 66
| 2
| 65
| 33
| 0.870968
| 0
| 0
| 0
| 0
| 0
| 0.630769
| 0.630769
| 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
| 1
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
1b39cf68a5e91c265cc0815f59638fda7fc765e6
| 561
|
py
|
Python
|
question/serializers.py
|
arnav-mandal1234/AnswerIt
|
cfb64f408c0d88016b2ae6aaa5f2d9b5147f9ef2
|
[
"MIT"
] | 1
|
2018-05-03T15:26:45.000Z
|
2018-05-03T15:26:45.000Z
|
question/serializers.py
|
arnav-mandal1234/AnswerIt
|
cfb64f408c0d88016b2ae6aaa5f2d9b5147f9ef2
|
[
"MIT"
] | null | null | null |
question/serializers.py
|
arnav-mandal1234/AnswerIt
|
cfb64f408c0d88016b2ae6aaa5f2d9b5147f9ef2
|
[
"MIT"
] | 6
|
2018-05-03T15:26:52.000Z
|
2020-10-04T15:03:48.000Z
|
from rest_framework import serializers
from .models import *
from user.models import CustomUser
class QuestionSerializer(serializers.ModelSerializer):
class Meta:
model = Question
fields = '__all__'
class AnswerSerializer(serializers.ModelSerializer):
class Meta:
model = Answer
fields = '__all__'
class CommentSerializer(serializers.ModelSerializer):
class Meta:
model = Comment
fields = '__all__'
class CustomuserSerializer(serializers.ModelSerializer):
class Meta:
model = CustomUser
fields = '__all__'
| 20.035714
| 57
| 0.73975
| 53
| 561
| 7.509434
| 0.396226
| 0.261307
| 0.311558
| 0.351759
| 0.40201
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.190731
| 561
| 28
| 58
| 20.035714
| 0.876652
| 0
| 0
| 0.421053
| 0
| 0
| 0.052336
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| false
| 0
| 0.157895
| 0
| 0.578947
| 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
| 1
| 0
|
0
| 4
|
1b3b688af2b5bc96f80d4bbb77b52e388102cd4c
| 5,359
|
py
|
Python
|
cleaning.py
|
louis-zhao101/Prisoner-Dilemma-Simulation
|
1677eddc4cadd7ca30bc6c40334517218c8cd2d6
|
[
"MIT"
] | null | null | null |
cleaning.py
|
louis-zhao101/Prisoner-Dilemma-Simulation
|
1677eddc4cadd7ca30bc6c40334517218c8cd2d6
|
[
"MIT"
] | null | null | null |
cleaning.py
|
louis-zhao101/Prisoner-Dilemma-Simulation
|
1677eddc4cadd7ca30bc6c40334517218c8cd2d6
|
[
"MIT"
] | 1
|
2021-05-21T08:12:33.000Z
|
2021-05-21T08:12:33.000Z
|
import csv
import os
import numpy as np
import networkx as nx
import matplotlib.pyplot as plt
import re
import random
from simulations_updated import Node
def generate_network(type, num_nodes, num_subgraphs = 4, cooperator_proportion= 0.5, seed=33, p =0.5, m =3, k =3):
if type == 'twitter':
return twitter_random_subgraph_clean(cooperator_proportion, num_subgraphs, seed)
elif type == 'facebook':
return facebook_random_subgraph_clean(cooperator_proportion, num_subgraphs, seed = seed )
elif type == 'karate':
return karate_clean(cooperator_proportion)
elif type == 'ER':
return generate_random_network(type, num_nodes , cooperator_proportion, p, seed = seed )
elif type == 'NWS':
return generate_random_network(type, num_nodes, cooperator_proportion, p, k, seed = seed)
elif type == 'BA':
return generate_random_network(type, num_nodes, cooperator_proportion,m, seed =seed)
else:
print("enter a valid network")
def twitter_random_subgraph_clean( cooperator_proportion= 0.5, num_subgraphs =100, seed =100):
directory = os.path.dirname(__file__) + '/resources' + '/twitter'
os.chdir(directory)
subgraph_names = os.listdir(directory)
subgraph_set = set()
for name in subgraph_names:
subgraph_id = re.findall("^\d+", name)
subgraph_set.add(subgraph_id[0])
subgraph_set = list(subgraph_set)
subgraph_set = [ name + '.edges' for name in subgraph_set]
random.seed(seed)
subgraph_random_set = random.sample(subgraph_set, num_subgraphs)
combined = []
for subgraph in subgraph_random_set:
network = open(subgraph, 'r').read().splitlines()
combined.extend(network)
sources = [int(L.split()[0]) for L in combined]
targets = [int(L.split()[1]) for L in combined]
G = nx.Graph()
E = len(sources) # Number of edges
for i in range(E):
G.add_edge(sources[i], targets[i])
node_dict = generate_node_dict(G.number_of_nodes(), cooperator_proportion, 100 )
return node_dict, nx.to_numpy_array(G)
def facebook_random_subgraph_clean( cooperator_proportion= 0.5, num_subgraphs =4, seed =33):
directory = os.path.dirname(__file__) + '/resources' + '/facebook'
os.chdir(directory)
subgraph_names = os.listdir(directory)
subgraph_set = set()
for name in subgraph_names:
subgraph_id = re.findall("^\d+", name)
subgraph_set.add(subgraph_id[0])
subgraph_set = list(subgraph_set)
subgraph_set = [ name + '.edges' for name in subgraph_set]
subgraph_set.sort()
random.seed(seed)
subgraph_random_set = random.sample(subgraph_set, num_subgraphs)
print(subgraph_random_set)
combined = []
for subgraph in subgraph_random_set:
network = open(subgraph, 'r').read().splitlines()
combined.extend(network)
sources = [int(L.split()[0]) for L in combined]
targets = [int(L.split()[1]) for L in combined]
G = nx.Graph()
E = len(sources) # Number of edges
for i in range(E):
G.add_edge(sources[i], targets[i])
node_dict = generate_node_dict(G.number_of_nodes(), cooperator_proportion, 100 )
return node_dict, nx.to_numpy_array(G)
def facebook_clean( cooperator_proportion = 0.5 ): #reads in an edgelist and returns the corresponding numpy adjacnecy matrix
directory = os.path.dirname(__file__) + '/resources'
os.chdir(directory)
network1 = open('facebook_combined.txt', 'r')
network1 = network1.read().splitlines()
sources = [int(L.split()[0]) for L in network1]
targets = [int(L.split()[1]) for L in network1]
G = nx.Graph()
E = len(sources) # Number of edges
for i in range(E):
G.add_edge(sources[i], targets[i])
node_dict = generate_node_dict(G.number_of_nodes(), cooperator_proportion, 100 )
return node_dict, nx.to_numpy_array(G)
def karate_clean( cooperator_proportion = 0.5 ): #reads in an edgelist and returns the corresponding numpy adjacnecy matrix
directory = os.path.dirname(__file__) + '/resources'
os.chdir(directory)
network1 = open('soc-karate.txt', 'r')
network1 = network1.read().splitlines()
sources = [int(L.split()[0]) for L in network1]
targets = [int(L.split()[1]) for L in network1]
G = nx.Graph()
E = len(sources) # Number of edges
for i in range(E):
G.add_edge(sources[i], targets[i])
node_dict = generate_node_dict(G.number_of_nodes(), cooperator_proportion, 100 )
return node_dict, nx.to_numpy_array(G)
def generate_random_network(type, num_nodes , cooperator_proportion=0.5, p =0.5, m =3, k =3, seed =100):
#Enter type of graph and corresponding parameters and returns randomly generated graph's numpy adjacency matrix
node_dict = generate_node_dict(num_nodes, cooperator_proportion, seed )
if type == 'ER':
graph = nx.erdos_renyi_graph(num_nodes, p, seed= seed)
return node_dict, nx.to_numpy_array(graph)
elif type == 'BA':
graph = nx.barabasi_albert_graph(num_nodes, m, seed = seed)
return node_dict, nx.to_numpy_array(graph)
elif type == 'NWS':
graph = nx.newman_watts_strogatz_graph(num_nodes, k, p, seed= seed)
return node_dict, nx.to_numpy_array(graph)
else:
return "Enter a valid graph type : ER, BA, or WS"
def generate_node_dict(num_nodes, cooperator_proportion = 0.5, seed =100 ):
random.seed( seed)
nodes = {}
for i in range (0, num_nodes):
unif = random.uniform(0, 1)
if unif <= cooperator_proportion:
nodes[i] = Node(0, i) # TODO: added node id to node class
else:
nodes[i] = Node(1, i)
return nodes
if __name__ == '__main__':
print(generate_network('facebook', 100)[0])
| 34.352564
| 126
| 0.730547
| 817
| 5,359
| 4.574051
| 0.156671
| 0.101686
| 0.066899
| 0.04121
| 0.754884
| 0.744715
| 0.719026
| 0.691731
| 0.648113
| 0.60396
| 0
| 0.017674
| 0.144803
| 5,359
| 155
| 127
| 34.574194
| 0.797731
| 0.065871
| 0
| 0.620968
| 1
| 0
| 0.045646
| 0.004204
| 0
| 0
| 0
| 0.006452
| 0
| 1
| 0.056452
| false
| 0
| 0.064516
| 0
| 0.241935
| 0.024194
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 1
| 1
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
|
0
| 4
|
1b3b874ef8a7eabf53f5e042b41dd8a196a8ec44
| 58
|
py
|
Python
|
contest/abc143/A.py
|
mola1129/atcoder
|
1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db
|
[
"MIT"
] | null | null | null |
contest/abc143/A.py
|
mola1129/atcoder
|
1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db
|
[
"MIT"
] | null | null | null |
contest/abc143/A.py
|
mola1129/atcoder
|
1d3b18cb92d0ba18c41172f49bfcd0dd8d29f9db
|
[
"MIT"
] | null | null | null |
a, b = map(int, input().split())
print(max(0, a - 2 * b))
| 19.333333
| 32
| 0.517241
| 12
| 58
| 2.5
| 0.833333
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.042553
| 0.189655
| 58
| 2
| 33
| 29
| 0.595745
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0
| 0
| 0
| 0
| 0.5
| 1
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| null | 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| 0
| 0
| 0
| 1
|
0
| 4
|
1b69fdd81df83776300e46355cea63c3d8072c97
| 216
|
py
|
Python
|
benkyo/user/schema.py
|
xersuy/django-benkyou
|
59ed6dc953175487e0d32534219643ad606e8288
|
[
"MIT"
] | null | null | null |
benkyo/user/schema.py
|
xersuy/django-benkyou
|
59ed6dc953175487e0d32534219643ad606e8288
|
[
"MIT"
] | null | null | null |
benkyo/user/schema.py
|
xersuy/django-benkyou
|
59ed6dc953175487e0d32534219643ad606e8288
|
[
"MIT"
] | null | null | null |
from ninja import Schema, Field
class UserSchema(Schema):
id: int
first_name: str
last_name: str
class LoginSchema(Schema):
username: str
password: str
class UserInfo(Schema):
data: str
| 12.705882
| 31
| 0.680556
| 28
| 216
| 5.178571
| 0.642857
| 0.096552
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0.24537
| 216
| 16
| 32
| 13.5
| 0.889571
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 0
| 1
| 0
| true
| 0.1
| 0.1
| 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
| 1
| 1
| 0
| 0
| 1
| 0
|
0
| 4
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.