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
2fd609d4474e97ecd96adcd146f2f550e0772740
3,364
py
Python
python/paddle/v2/fluid/tests/test_image_classification_layer.py
hero9968/PaddlePaddle-book
1ff47b284c565d030b198705d5f18b4bd4ce53e5
[ "Apache-2.0" ]
3
2018-04-16T23:35:32.000Z
2019-08-12T01:01:07.000Z
python/paddle/v2/fluid/tests/test_image_classification_layer.py
hero9968/PaddlePaddle-book
1ff47b284c565d030b198705d5f18b4bd4ce53e5
[ "Apache-2.0" ]
null
null
null
python/paddle/v2/fluid/tests/test_image_classification_layer.py
hero9968/PaddlePaddle-book
1ff47b284c565d030b198705d5f18b4bd4ce53e5
[ "Apache-2.0" ]
2
2020-11-04T08:07:46.000Z
2020-11-06T08:33:24.000Z
import unittest import paddle.v2.fluid as fluid import paddle.v2.fluid.nets as nets from paddle.v2.fluid.framework import Program def conv_block(input, num_filter, groups, dropouts, main_program=None, startup_program=None): return nets.im...
30.306306
70
0.557075
354
3,364
5.011299
0.228814
0.204622
0.260428
0.136415
0.590192
0.544532
0.524239
0.5
0.44363
0.386133
0
0.034467
0.353151
3,364
110
71
30.581818
0.78079
0.019917
0
0.505376
0
0
0.025812
0
0
0
0
0
0
0
null
null
0
0.043011
null
null
0.010753
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
2fe3ab7c0891538e31c761a8eb7e20de5f8c7f87
747
py
Python
elastalert/ruletypes/whitelist_rule.py
JasperJuergensen/elastalert
8033361083b5edad1845ad9b307b8280ef278da7
[ "Apache-2.0" ]
2
2020-06-19T13:02:19.000Z
2021-02-11T19:35:46.000Z
elastalert/ruletypes/whitelist_rule.py
JasperJuergensen/elastalert
8033361083b5edad1845ad9b307b8280ef278da7
[ "Apache-2.0" ]
9
2020-04-09T15:40:37.000Z
2022-01-19T17:49:22.000Z
elastalert/ruletypes/whitelist_rule.py
JasperJuergensen/elastalert
8033361083b5edad1845ad9b307b8280ef278da7
[ "Apache-2.0" ]
null
null
null
from elastalert.ruletypes.compare_rule import CompareRule from elastalert.utils.util import lookup_es_key class WhitelistRule(CompareRule): """ A CompareRule where the compare function checks a given term against a whitelist """ required_options = frozenset(["compare_key", "whitelist", "ignore_null"]) d...
33.954545
92
0.694779
92
747
5.423913
0.521739
0.072144
0.044088
0
0
0
0
0
0
0
0
0
0.199465
747
21
93
35.571429
0.834448
0.107095
0
0
0
0
0.107739
0
0
0
0
0
0
1
0.214286
false
0.071429
0.142857
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
6418078f8613c17f5188fe8834323e3f7475a6a4
192
py
Python
a.py
CodeSoftwareComputation/puzzles
6c93e28a36233b0a491e6f358c00d8c8a3b53615
[ "MIT" ]
null
null
null
a.py
CodeSoftwareComputation/puzzles
6c93e28a36233b0a491e6f358c00d8c8a3b53615
[ "MIT" ]
null
null
null
a.py
CodeSoftwareComputation/puzzles
6c93e28a36233b0a491e6f358c00d8c8a3b53615
[ "MIT" ]
null
null
null
def check_validity(num): if num % 2 == 0 return False return True if __name__ == "__main__": for i in range(10000): if check_validity(i): print i
17.454545
29
0.546875
26
192
3.653846
0.692308
0.273684
0
0
0
0
0
0
0
0
0
0.057377
0.364583
192
10
30
19.2
0.721311
0
0
0
0
0
0.041667
0
0
0
0
0
0
0
null
null
0
0
null
null
0.125
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
643179b096e6a580c83ce21d644c468a23ef60b9
113
py
Python
mimic/plugins/heat_plugin.py
ksheedlo/mimic
c84b6a0d336e8a37a685b5d71537aec5e44d9a8f
[ "Apache-2.0" ]
141
2015-01-07T19:28:31.000Z
2022-02-11T06:04:13.000Z
mimic/plugins/heat_plugin.py
ksheedlo/mimic
c84b6a0d336e8a37a685b5d71537aec5e44d9a8f
[ "Apache-2.0" ]
575
2015-01-04T20:23:08.000Z
2019-10-04T08:20:04.000Z
mimic/plugins/heat_plugin.py
ksheedlo/mimic
c84b6a0d336e8a37a685b5d71537aec5e44d9a8f
[ "Apache-2.0" ]
63
2015-01-09T20:39:41.000Z
2020-07-06T14:20:56.000Z
""" Plugin for Rackspace Cloud Orchestration mock. """ from mimic.rest.heat_api import HeatApi heat = HeatApi()
16.142857
46
0.752212
15
113
5.6
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.141593
113
6
47
18.833333
0.865979
0.40708
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ff2544799e6e9b72b58a1d571a3b86376e771059
14,598
py
Python
imgscrapper.py
adacienciala/Salvador
c49c05cfbacd60adf27388c01a2572bece2962de
[ "MIT" ]
1
2022-02-18T00:09:47.000Z
2022-02-18T00:09:47.000Z
imgscrapper.py
adacienciala/Salvador
c49c05cfbacd60adf27388c01a2572bece2962de
[ "MIT" ]
null
null
null
imgscrapper.py
adacienciala/Salvador
c49c05cfbacd60adf27388c01a2572bece2962de
[ "MIT" ]
1
2021-02-23T20:27:28.000Z
2021-02-23T20:27:28.000Z
import hashlib import io import os import time import requests from PIL import Image from selenium import webdriver from selenium.common.exceptions import StaleElementReferenceException def __keep_image(folder: str, url: str): try: image_content = requests.get(url).content except Exception as e: ...
75.247423
588
0.754281
2,128
14,598
4.906955
0.117481
0.088872
0.11109
0.034476
0.732714
0.708485
0.674583
0.658495
0.651216
0.644129
0
0.04676
0.122483
14,598
193
589
75.637306
0.768384
0
0
0.142857
0
0.12987
0.601932
0.029114
0
0
0
0
0
1
0.058442
false
0
0.051948
0.006494
0.207792
0.051948
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ff2a2b93b021b25f72dd174e48c34f6ce3bcd4b6
739
py
Python
model/ManagerStatus.py
liorperry/fuzz
2d49b2ea62b59f2790797a93be6a68aae8a150f7
[ "MIT" ]
1
2020-04-23T08:11:40.000Z
2020-04-23T08:11:40.000Z
model/ManagerStatus.py
liorperry/fuzz
2d49b2ea62b59f2790797a93be6a68aae8a150f7
[ "MIT" ]
null
null
null
model/ManagerStatus.py
liorperry/fuzz
2d49b2ea62b59f2790797a93be6a68aae8a150f7
[ "MIT" ]
null
null
null
import json import uuid from model.Status import Status # Status manager for the entire client from service.utils import MyEncoder class MyManagerStatus: def __init__(self): self.clientStatus = Status.NOT_INITIATED self.id = uuid.uuid4().hex self.progs = dict() def toJSON(self): ...
21.114286
107
0.627876
92
739
4.98913
0.402174
0.117647
0.098039
0.078431
0.130719
0.130719
0.130719
0
0
0
0
0.001815
0.254398
739
34
108
21.735294
0.831216
0.083897
0
0.095238
0
0
0.019288
0
0
0
0
0
0
1
0.333333
false
0
0.190476
0.238095
0.809524
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ff42e34e54f3df8ff1f688d69af53443bd309c39
1,013
py
Python
plugins/Tester/anyLayer.py
sol-ansano-kim/mediTest
5434a1dd882a5d0270695f345e4a4bfbf3e7ac12
[ "MIT" ]
59
2017-08-27T08:51:07.000Z
2022-03-05T13:50:27.000Z
plugins/Tester/anyLayer.py
sol-ansano-kim/mediTest
5434a1dd882a5d0270695f345e4a4bfbf3e7ac12
[ "MIT" ]
5
2017-09-04T06:08:42.000Z
2020-06-04T02:27:25.000Z
plugins/Tester/anyLayer.py
sol-ansano-kim/mediTest
5434a1dd882a5d0270695f345e4a4bfbf3e7ac12
[ "MIT" ]
17
2017-10-10T10:21:34.000Z
2022-03-19T06:30:13.000Z
import medic from maya import OpenMaya from maya import cmds class AnyLayer(medic.PyTester): def __init__(self): super(AnyLayer, self).__init__() def Name(self): return "AnyLayer" def Description(self): return "Check if any render, anim or display layer exists" def Match(sel...
23.55814
160
0.6308
119
1,013
5.302521
0.445378
0.047544
0.071315
0.10935
0.129952
0.088748
0
0
0
0
0
0
0.254689
1,013
42
161
24.119048
0.835762
0
0
0.071429
0
0
0.098717
0
0
0
0
0
0
1
0.285714
false
0
0.107143
0.178571
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ff449de84b016444091e0d7cbc815469bf5723e9
371
py
Python
jabba/analysis/result.py
puppetlabs/jabba
71c1d008ab497020fba6ffa12a600721eb3f5ef7
[ "MIT" ]
1
2017-05-10T19:07:57.000Z
2017-05-10T19:07:57.000Z
jabba/analysis/result.py
OSLL/jenkins_job_builder_visualization
71c1d008ab497020fba6ffa12a600721eb3f5ef7
[ "MIT" ]
39
2017-02-23T10:29:13.000Z
2017-04-18T16:19:38.000Z
jabba/analysis/result.py
isabella232/jabba
71c1d008ab497020fba6ffa12a600721eb3f5ef7
[ "MIT" ]
1
2021-03-17T17:12:44.000Z
2021-03-17T17:12:44.000Z
class Result(object): """ Base class for analysis results """ def __init__(self): self.results = [] self.header = 'Abstract analysis result' def is_ok(self): return len(self.results) == 0 def add(self, err): self.results.append(err) def format_header(self)...
20.611111
48
0.574124
46
371
4.5
0.478261
0.15942
0
0
0
0
0
0
0
0
0
0.003759
0.283019
371
17
49
21.823529
0.774436
0.083558
0
0
0
0
0.108025
0
0
0
0
0
0
1
0.4
false
0
0
0.2
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ff49c4f79cdc41671c71dc52a99606f157f464bd
88
py
Python
Beginner/Python/1001.py
HelderIury/Uri-Online-Judge
f53a6bbe40e2d38eb28ed46b2d17d5d794de72d5
[ "MIT" ]
null
null
null
Beginner/Python/1001.py
HelderIury/Uri-Online-Judge
f53a6bbe40e2d38eb28ed46b2d17d5d794de72d5
[ "MIT" ]
null
null
null
Beginner/Python/1001.py
HelderIury/Uri-Online-Judge
f53a6bbe40e2d38eb28ed46b2d17d5d794de72d5
[ "MIT" ]
null
null
null
num = int(input()) num2 = int(input()) soma = num + num2 print('X = {}'.format(soma))
12.571429
28
0.568182
13
88
3.846154
0.615385
0.32
0
0
0
0
0
0
0
0
0
0.027778
0.181818
88
6
29
14.666667
0.666667
0
0
0
0
0
0.068182
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ff517d4930abef299ebad116c57e23aa71074243
1,360
py
Python
mischief/util/error_handlers.py
lemming-online/mischief
1bddca9214141b62da279092be57f3d7b6377015
[ "MIT" ]
null
null
null
mischief/util/error_handlers.py
lemming-online/mischief
1bddca9214141b62da279092be57f3d7b6377015
[ "MIT" ]
2
2017-10-31T02:26:31.000Z
2017-12-07T01:09:25.000Z
mischief/util/error_handlers.py
lemming-online/mischief
1bddca9214141b62da279092be57f3d7b6377015
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ error code handlers """ from flask import jsonify from pymongo.errors import DuplicateKeyError def init_error_handlers(app): def generic_error(message, code): return jsonify({'error': {'reason': message}}), code def http_error(error): return generic_error(error.des...
26.153846
86
0.6375
152
1,360
5.578947
0.460526
0.09434
0.099057
0.117925
0.235849
0.235849
0.235849
0
0
0
0
0.021825
0.258824
1,360
51
87
26.666667
0.819444
0.186765
0
0.15625
0
0
0.034742
0
0
0
0
0
0
1
0.28125
false
0
0.0625
0.21875
0.59375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ff5c7c84bcef19e77db9a6c8d474f201bf98272f
608
py
Python
pytta/utils/__init__.py
jvitorcarli/PyTTa
c02faea590635fcb270ec98508e6d9d5114538a9
[ "MIT" ]
66
2018-11-03T22:54:42.000Z
2022-02-21T09:53:44.000Z
pytta/utils/__init__.py
jvitorcarli/PyTTa
c02faea590635fcb270ec98508e6d9d5114538a9
[ "MIT" ]
24
2018-11-08T22:05:29.000Z
2021-07-08T19:25:37.000Z
pytta/utils/__init__.py
jvitorcarli/PyTTa
c02faea590635fcb270ec98508e6d9d5114538a9
[ "MIT" ]
27
2018-11-03T22:56:05.000Z
2022-01-12T14:26:34.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Utilities sub-package. Contains simple tools which help to keep things modularized and make accessible the reuse of some operations. Intended to hold tools (classes and functions) whose operate built-in python classes, NumPy arrays, and other stuff not contained by th...
20.266667
76
0.705592
87
608
4.908046
0.804598
0.046838
0
0
0
0
0
0
0
0
0
0.026263
0.185855
608
29
77
20.965517
0.836364
0.802632
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
ff737bd5a2002a0314c1e05bba9b6a0bdf692455
101
py
Python
src/newhello.py
cecilphillip/python-stream
04bf875efffb4b00a8e3fa4ddec94381080418e7
[ "MIT" ]
5
2019-10-02T17:34:10.000Z
2019-12-18T16:31:45.000Z
src/newhello.py
cecilphillip/python-stream
04bf875efffb4b00a8e3fa4ddec94381080418e7
[ "MIT" ]
null
null
null
src/newhello.py
cecilphillip/python-stream
04bf875efffb4b00a8e3fa4ddec94381080418e7
[ "MIT" ]
2
2019-10-02T17:47:48.000Z
2019-10-18T20:17:38.000Z
from functions import add_numbers add_numbers(1,2,3) name = 'VS Code' print(f'Hello from {name}')
12.625
33
0.722772
18
101
3.944444
0.777778
0.28169
0
0
0
0
0
0
0
0
0
0.034884
0.148515
101
7
34
14.428571
0.790698
0
0
0
0
0
0.237624
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ffa0e0e42abba8f7573751b9da237498da2f9ba6
131
py
Python
app/__init__.py
mtrissi/news_portal_api_flask
9c45492d38cce5db53dec5e1684cd3b79972e9fa
[ "MIT" ]
null
null
null
app/__init__.py
mtrissi/news_portal_api_flask
9c45492d38cce5db53dec5e1684cd3b79972e9fa
[ "MIT" ]
null
null
null
app/__init__.py
mtrissi/news_portal_api_flask
9c45492d38cce5db53dec5e1684cd3b79972e9fa
[ "MIT" ]
null
null
null
from flask import Flask app = Flask(__name__) from app.api import bp as api_bp app.register_blueprint(api_bp, url_prefix="/api")
18.714286
49
0.778626
23
131
4.086957
0.521739
0.106383
0
0
0
0
0
0
0
0
0
0
0.129771
131
6
50
21.833333
0.824561
0
0
0
0
0
0.030534
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ffba087bf0e00a2ca02e2a857af8661428ddf36a
263
py
Python
main.py
electricSoda/Multi-Snake
12bf6710361418a38ea67ab701b3978b54f37881
[ "Apache-2.0" ]
2
2020-10-13T20:51:52.000Z
2021-12-26T22:06:37.000Z
main.py
electricSoda/Multi-Snake
12bf6710361418a38ea67ab701b3978b54f37881
[ "Apache-2.0" ]
null
null
null
main.py
electricSoda/Multi-Snake
12bf6710361418a38ea67ab701b3978b54f37881
[ "Apache-2.0" ]
null
null
null
#Multi-Snake #main.py #import modules and scripts import os import time import mainScreen import credits #set working directory os.chdir('C:\\teleport\\Code\\Multi-Snake') #this is a loop so put non-loops before it mainScreen.startScrn('Multi-Snake', 'white')
17.533333
44
0.764259
41
263
4.902439
0.756098
0.149254
0
0
0
0
0
0
0
0
0
0
0.121673
263
14
45
18.785714
0.87013
0.403042
0
0
0
0
0.309211
0.203947
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
441e48d2bef7e1a6e22bb9c3cc88d72eccc2bb61
425
py
Python
genome_integration/samples/__init__.py
adriaan-vd-graaf/genome_integration
345eae53aab9a23c080ae10f2ee3d8305f75a5c6
[ "MIT" ]
13
2019-08-18T15:48:35.000Z
2022-03-28T07:48:49.000Z
genome_integration/samples/__init__.py
adriaan-vd-graaf/genome_integration
345eae53aab9a23c080ae10f2ee3d8305f75a5c6
[ "MIT" ]
1
2021-09-10T06:58:24.000Z
2021-09-10T07:50:45.000Z
genome_integration/samples/__init__.py
adriaan-vd-graaf/genome_integration
345eae53aab9a23c080ae10f2ee3d8305f75a5c6
[ "MIT" ]
null
null
null
__author__ = "Adriaan van der Graaf" class Sample: """ Implements a sample. only name is stored. Attributes ---------- Name: str sample name Phenotype: can be a value, an array or dictionary of values, but initialized as None """ def __init__(self, name, phenotype=None): ...
17.708333
88
0.609412
52
425
4.769231
0.634615
0.096774
0
0
0
0
0
0
0
0
0
0
0.296471
425
24
89
17.708333
0.829431
0.407059
0
0
0
0
0.095455
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
444a511b4e7f6dc57493405fdf4682f709fd5e36
172
py
Python
pages/urls.py
Victor-Fiamoncini/red-django
0c1e35fda81ae1384bd934c7812ebe811b9306f8
[ "MIT" ]
null
null
null
pages/urls.py
Victor-Fiamoncini/red-django
0c1e35fda81ae1384bd934c7812ebe811b9306f8
[ "MIT" ]
7
2021-03-19T03:00:46.000Z
2022-03-12T00:07:55.000Z
pages/urls.py
Victor-Fiamoncini/realtor_manager
0c1e35fda81ae1384bd934c7812ebe811b9306f8
[ "MIT" ]
null
null
null
# Imports from django.urls import path from . import views # Pages urls urlpatterns = [ path('', views.index, name='index'), path('about', views.about, name='about'), ]
17.2
42
0.680233
23
172
5.086957
0.521739
0
0
0
0
0
0
0
0
0
0
0
0.151163
172
9
43
19.111111
0.80137
0.104651
0
0
0
0
0.099338
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
44681a38eb1f95ae1e9b88bd70e9b5f87ba55095
1,982
py
Python
insights/parsers/tests/test_ipcs_sem.py
dougsland/insights-core
4bde73b75d1b26c3ba98e9ca4c46f8cc1fa969ff
[ "Apache-2.0" ]
1
2020-02-19T06:36:22.000Z
2020-02-19T06:36:22.000Z
insights/parsers/tests/test_ipcs_sem.py
dougsland/insights-core
4bde73b75d1b26c3ba98e9ca4c46f8cc1fa969ff
[ "Apache-2.0" ]
null
null
null
insights/parsers/tests/test_ipcs_sem.py
dougsland/insights-core
4bde73b75d1b26c3ba98e9ca4c46f8cc1fa969ff
[ "Apache-2.0" ]
null
null
null
from insights.parsers.ipcs_sem import IpcsS, IpcsSI from insights.tests import context_wrap IPCS_S = """ ------ Semaphore Arrays -------- key semid owner perms nsems 0x00000000 557056 apache 600 1 0x00000000 589825 apache 600 1 0x00000000 131074 apache 600 ...
34.77193
69
0.498486
239
1,982
4.066946
0.393305
0.028807
0.093621
0.082305
0.010288
0
0
0
0
0
0
0.358014
0.420787
1,982
56
70
35.392857
0.488676
0
0
0.041667
0
0
0.714934
0
0
0
0.075681
0
0.125
1
0.041667
false
0
0.041667
0
0.083333
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
0
0
0
0
0
0
0
3
4468f7631a4756d9594c351c3fff97a4101a0c6f
294
py
Python
2 semester/PW/Coursera/Python/4 Week/3.py
kurpenok/Labs
069c92b7964a1445d093313b38ebdc56318d2a73
[ "MIT" ]
1
2022-02-06T17:50:25.000Z
2022-02-06T17:50:25.000Z
2 semester/PW/Coursera/Python/4 Week/3.py
kurpenok/Labs
069c92b7964a1445d093313b38ebdc56318d2a73
[ "MIT" ]
null
null
null
2 semester/PW/Coursera/Python/4 Week/3.py
kurpenok/Labs
069c92b7964a1445d093313b38ebdc56318d2a73
[ "MIT" ]
1
2022-03-02T06:45:06.000Z
2022-03-02T06:45:06.000Z
from math import sqrt def IsPointInCircle(x, y, xc, yc, r) -> bool: return sqrt((x - xc)**2 + (y - yc)**2) <= r x = float(input()) y = float(input()) xc = float(input()) yc = float(input()) r = float(input()) if IsPointInCircle(x, y, xc, yc, r): print('YES') else: print('NO')
16.333333
47
0.564626
48
294
3.458333
0.4375
0.301205
0.204819
0.228916
0.26506
0.26506
0
0
0
0
0
0.008658
0.214286
294
17
48
17.294118
0.709957
0
0
0
0
0
0.017007
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0.083333
0.25
0.166667
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4473854a974de136417edad06b8d66f21fabad3d
3,126
py
Python
covidestimator/migrations/0001_initial.py
welz-atm/covid4andela
d7a198fa8a01d158108932410b9b71aef3d62742
[ "MIT" ]
null
null
null
covidestimator/migrations/0001_initial.py
welz-atm/covid4andela
d7a198fa8a01d158108932410b9b71aef3d62742
[ "MIT" ]
5
2021-03-19T01:59:13.000Z
2021-09-22T18:53:28.000Z
covidestimator/migrations/0001_initial.py
welz-atm/covid4andela
d7a198fa8a01d158108932410b9b71aef3d62742
[ "MIT" ]
null
null
null
# Generated by Django 3.0.5 on 2020-04-16 15:59 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Data', fields=[ ...
52.983051
115
0.617722
283
3,126
6.770318
0.257951
0.10334
0.135699
0.177453
0.785491
0.785491
0.342902
0.342902
0.342902
0.298017
0
0.008895
0.244722
3,126
58
116
53.896552
0.802626
0.014395
0
0.372549
1
0
0.172783
0.098084
0
0
0
0
0
1
0
false
0
0.039216
0
0.117647
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
44830b852c5105e12048ab179265c0362bacccce
25,129
py
Python
rdr_service/model/bq_participant_summary.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
39
2017-10-13T19:16:27.000Z
2021-09-24T16:58:21.000Z
rdr_service/model/bq_participant_summary.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
312
2017-09-08T15:42:13.000Z
2022-03-23T18:21:40.000Z
rdr_service/model/bq_participant_summary.py
all-of-us/raw-data-repository
d28ad957557587b03ff9c63d55dd55e0508f91d8
[ "BSD-3-Clause" ]
19
2017-09-15T13:58:00.000Z
2022-02-07T18:33:20.000Z
from datetime import datetime from enum import Enum from rdr_service.model.bq_base import BQTable, BQSchema, BQView, BQField, BQFieldTypeEnum, BQFieldModeEnum, \ BQRecordField class BQStreetAddressTypeEnum(Enum): RESIDENCE = 1 MAILING = 2 EMPLOYMENT = 3 # TODO: Revert to using in participant_enum.p...
64.104592
120
0.78093
2,538
25,129
7.460599
0.126872
0.217428
0.150462
0.162662
0.582202
0.348931
0.172696
0.101241
0.072987
0.064853
0
0.004955
0.132636
25,129
391
121
64.268542
0.863782
0.085678
0
0.131086
0
0
0.143329
0.047043
0
0
0
0.007673
0
1
0
false
0
0.011236
0
0.910112
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
921faeee6f40b934dd377c8431ec2d9992fc4557
175
py
Python
ftp_server.py
hughligit/cos-ftp-server-V5
81fcfa7dd781efac41d1a895a850a628c6b4ac32
[ "MIT" ]
40
2017-10-18T10:35:11.000Z
2022-03-19T05:35:45.000Z
ftp_server.py
hughligit/cos-ftp-server-V5
81fcfa7dd781efac41d1a895a850a628c6b4ac32
[ "MIT" ]
9
2017-11-04T06:58:23.000Z
2022-01-25T11:29:05.000Z
ftp_server.py
hughligit/cos-ftp-server-V5
81fcfa7dd781efac41d1a895a850a628c6b4ac32
[ "MIT" ]
16
2017-12-26T11:53:40.000Z
2022-02-23T08:36:29.000Z
#!/usr/bin/env python # -*- coding:utf-8 -*- import sys from ftp_v5 import server reload(sys) sys.setdefaultencoding('utf-8') if __name__ == "__main__": server.main()
13.461538
31
0.674286
25
175
4.36
0.72
0.073395
0
0
0
0
0
0
0
0
0
0.02027
0.154286
175
12
32
14.583333
0.716216
0.234286
0
0
0
0
0.098485
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
92396ceb7b91ae51aba9fdc4f8b74a77d18b2123
2,874
py
Python
dataviva/api/sc/models.py
joelvisroman/dataviva-site
b4219558457746fd5c6b8f4b65b04c738c656fbd
[ "MIT" ]
126
2015-03-24T12:30:43.000Z
2022-01-06T03:29:54.000Z
dataviva/api/sc/models.py
joelvisroman/dataviva-site
b4219558457746fd5c6b8f4b65b04c738c656fbd
[ "MIT" ]
694
2015-01-14T11:55:28.000Z
2021-02-08T20:23:11.000Z
dataviva/api/sc/models.py
joelvisroman/dataviva-site
b4219558457746fd5c6b8f4b65b04c738c656fbd
[ "MIT" ]
52
2015-06-19T01:54:56.000Z
2019-09-23T13:10:46.000Z
from dataviva import db from dataviva.utils.auto_serialize import AutoSerialize from dataviva.api.attrs.models import Bra, Course_sc, School class Sc(db.Model, AutoSerialize): __abstract__ = True year = db.Column(db.Integer(4), primary_key=True) age = db.Column(db.Float()) classes = db.Column(db.Integ...
30.574468
97
0.674322
467
2,874
3.843683
0.122056
0.120334
0.150418
0.113649
0.738162
0.686908
0.656825
0.656825
0.626741
0.613928
0
0.01251
0.165623
2,874
93
98
30.903226
0.73603
0
0
0.45
0
0
0.045233
0
0
0
0
0
0
1
0.116667
false
0
0.05
0.116667
1
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
92649018c316d37585291c15d01a94d745cf3ed9
516
py
Python
farms2face/story/models.py
dev1farms2face/f2f
54e58187a68574bf2bd0dfb7e58a2b416336106a
[ "MIT" ]
null
null
null
farms2face/story/models.py
dev1farms2face/f2f
54e58187a68574bf2bd0dfb7e58a2b416336106a
[ "MIT" ]
null
null
null
farms2face/story/models.py
dev1farms2face/f2f
54e58187a68574bf2bd0dfb7e58a2b416336106a
[ "MIT" ]
2
2018-06-19T12:12:08.000Z
2018-06-25T18:45:36.000Z
from __future__ import unicode_literals from django.db import models from django.contrib.contenttypes.models import ContentType class Story(models.Model): name = models.CharField(max_length=100) title = models.CharField(max_length=1000) image = models.FileField(upload_to='images/story/') description = ...
39.692308
75
0.757752
68
516
5.544118
0.529412
0.159151
0.190981
0.254642
0.238727
0.238727
0.238727
0.238727
0.238727
0
0
0.035955
0.137597
516
12
76
43
0.811236
0
0
0
0
0
0.027132
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0.090909
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
9265267852da92ef1102e3ca3622146c83b16bb0
153
py
Python
Lion/sol.py
papachristoumarios/IEEEXtreme11.0
4c3b5aaa71641a6d0b3e9823c4738050f2553b27
[ "MIT" ]
13
2018-10-11T14:13:56.000Z
2022-02-17T18:30:17.000Z
Lion/sol.py
papachristoumarios/IEEEXtreme11.0-PComplete
4c3b5aaa71641a6d0b3e9823c4738050f2553b27
[ "MIT" ]
null
null
null
Lion/sol.py
papachristoumarios/IEEEXtreme11.0-PComplete
4c3b5aaa71641a6d0b3e9823c4738050f2553b27
[ "MIT" ]
7
2018-10-24T08:36:59.000Z
2021-07-19T18:16:53.000Z
import math def solve(): pass def main(): N = int(raw_input()) for _ in xrange(N): solve() if __name__ == "__main__": main()
10.928571
26
0.535948
20
153
3.6
0.75
0
0
0
0
0
0
0
0
0
0
0
0.313725
153
13
27
11.769231
0.685714
0
0
0
0
0
0.052288
0
0
0
0
0
0
1
0.222222
false
0.111111
0.111111
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
9276cf49981964f722275bfe1c7db88ca6678c77
198
py
Python
mews/utils/database/__init__.py
AndrielFR/AmimeMews
5fdf7ce18d977bce8125ce7fcc6e929320a1a752
[ "MIT" ]
null
null
null
mews/utils/database/__init__.py
AndrielFR/AmimeMews
5fdf7ce18d977bce8125ce7fcc6e929320a1a752
[ "MIT" ]
null
null
null
mews/utils/database/__init__.py
AndrielFR/AmimeMews
5fdf7ce18d977bce8125ce7fcc6e929320a1a752
[ "MIT" ]
null
null
null
# SPDX-License-Identifier: MIT # Copyright (c) 2022 Andriel Ferreira <https://github.com/AndrielFR> from mews import database conn = database.get_conn() from .posts import * from .words import *
19.8
68
0.747475
27
198
5.444444
0.777778
0
0
0
0
0
0
0
0
0
0
0.023529
0.141414
198
9
69
22
0.841176
0.479798
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
927c31b85d0525171baf284aa5ea98e279ebf4f8
1,813
py
Python
notebook/float_to_hex.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
174
2018-05-30T21:14:50.000Z
2022-03-25T07:59:37.000Z
notebook/float_to_hex.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
5
2019-08-10T03:22:02.000Z
2021-07-12T20:31:17.000Z
notebook/float_to_hex.py
vhn0912/python-snippets
80b2e1d6b2b8f12ae30d6dbe86d25bb2b3a02038
[ "MIT" ]
53
2018-04-27T05:26:35.000Z
2022-03-25T07:59:37.000Z
import struct import sys f_max = sys.float_info.max print(f_max) # 1.7976931348623157e+308 print(struct.pack('>d', f_max)) # b'\x7f\xef\xff\xff\xff\xff\xff\xff' print(type(struct.pack('>d', f_max))) # <class 'bytes'> print(struct.pack('<d', f_max)) # b'\xff\xff\xff\xff\xff\xff\xef\x7f' print(struct.unpack('>Q', s...
22.6625
67
0.707667
277
1,813
4.462094
0.173285
0.058252
0.115696
0.126214
0.47411
0.468447
0.406149
0.292071
0.268608
0.214401
0
0.208106
0.088252
1,813
79
68
22.949367
0.539625
0.282956
0
0
0
0
0.039124
0
0
0
0
0
0
1
0.125
false
0
0.0625
0.125
0.3125
0.65625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
1
0
3
92a56f28a16ae5feb256e233c8c6cabcde59282e
56
py
Python
test.py
mac389/semantic-distance
0ae8223e64610de79fdc370c7e44e2cda051c190
[ "MIT" ]
2
2017-03-09T21:42:32.000Z
2018-07-13T02:04:15.000Z
test.py
mac389/semantic-distance
0ae8223e64610de79fdc370c7e44e2cda051c190
[ "MIT" ]
null
null
null
test.py
mac389/semantic-distance
0ae8223e64610de79fdc370c7e44e2cda051c190
[ "MIT" ]
2
2017-03-09T21:42:35.000Z
2018-07-13T02:04:17.000Z
import SemanticDistance as SD test = 'this is a test'
11.2
29
0.732143
9
56
4.555556
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.214286
56
4
30
14
0.931818
0
0
0
0
0
0.254545
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2b80ee612422fbbf970ca26ccc5ae363313b90b7
366
py
Python
yafn/log.py
txlyre/yafn
df5e4a899c82f864de888a64663e16d0497aa240
[ "MIT" ]
1
2022-03-31T08:35:55.000Z
2022-03-31T08:35:55.000Z
yafn/log.py
txlyre/yafn
df5e4a899c82f864de888a64663e16d0497aa240
[ "MIT" ]
null
null
null
yafn/log.py
txlyre/yafn
df5e4a899c82f864de888a64663e16d0497aa240
[ "MIT" ]
null
null
null
import sys import logging logging.basicConfig(format="[%(asctime)s] %(levelname)s: %(message)s", datefmt="%Y-%m-%d %H:%M:%S", level=logging.INFO) def info(message): logging.info(message) def warning(message): logging.warning(message) def error(message): logging.error(message) def fatal(message)...
19.263158
120
0.674863
50
366
4.94
0.44
0.226721
0.153846
0.210526
0
0
0
0
0
0
0
0.003236
0.155738
366
18
121
20.333333
0.796117
0
0
0.166667
0
0
0.163793
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0
0.5
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
2ba572df8c232c8fcd3e541ec548f30a792a0397
142,714
py
Python
pysnmp-with-texts/NNCEXTSPVC-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/NNCEXTSPVC-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/NNCEXTSPVC-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module NNCEXTSPVC-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NNCEXTSPVC-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:22:57 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27 2...
212.056464
10,328
0.768026
16,804
142,714
6.517734
0.056653
0.045469
0.079572
0.007816
0.655245
0.574988
0.567154
0.555312
0.548245
0.538037
0
0.050406
0.093081
142,714
672
10,329
212.372024
0.795797
0.002256
0
0.013575
0
0.233786
0.425922
0.045743
0
0
0
0
0
1
0
false
0
0.013575
0
0.022624
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2bb9064c0d85b5d5f6f22be03100ed289db546f9
1,501
py
Python
setup.py
zopefoundation/z3c.objpath
bc4947b105a6851d06d09a205f8fffcb8088507f
[ "ZPL-2.1" ]
1
2021-03-05T17:27:29.000Z
2021-03-05T17:27:29.000Z
setup.py
zopefoundation/z3c.objpath
bc4947b105a6851d06d09a205f8fffcb8088507f
[ "ZPL-2.1" ]
5
2018-03-12T17:28:42.000Z
2021-09-21T06:16:30.000Z
setup.py
zopefoundation/z3c.objpath
bc4947b105a6851d06d09a205f8fffcb8088507f
[ "ZPL-2.1" ]
null
null
null
# coding=utf-8 from setuptools import find_packages from setuptools import setup import os def read(*rnames): with open(os.path.join(os.path.dirname(__file__), *rnames)) as f: return f.read() long_description = ( read('src', 'z3c', 'objpath', 'README.rst') + '\n' + read('CHANGES.rst') ) se...
28.320755
70
0.616256
162
1,501
5.604938
0.524691
0.209251
0.27533
0.171806
0.059471
0
0
0
0
0
0
0.019048
0.230513
1,501
52
71
28.865385
0.7671
0.007995
0
0.044444
0
0
0.451244
0.014795
0
0
0
0
0
1
0.022222
false
0
0.066667
0
0.111111
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2bc5a0e5f28695c796ae1f573185273adcb9afe5
186
py
Python
app/server.py
randomicu/fakedata-provider
639e31888c2be57961f78d653a6a10d7f324be23
[ "Unlicense" ]
1
2021-05-11T19:35:11.000Z
2021-05-11T19:35:11.000Z
app/server.py
randomicu/fakedata-provider
639e31888c2be57961f78d653a6a10d7f324be23
[ "Unlicense" ]
75
2020-09-25T07:25:23.000Z
2022-03-18T09:06:44.000Z
app/server.py
randomicu/fakedata-provider
639e31888c2be57961f78d653a6a10d7f324be23
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python import uvicorn from app.main import app # noqa: F401 if __name__ == '__main__': uvicorn.run('server:app', host='0.0.0.0', port=8000, workers=1, reload=True)
23.25
80
0.682796
31
186
3.83871
0.741935
0.05042
0.05042
0
0
0
0
0
0
0
0
0.075472
0.145161
186
7
81
26.571429
0.672956
0.166667
0
0
0
0
0.163399
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
2bd09aecc73a3bfbc1cd1cf631839ec4a0f26e4a
872
py
Python
runge_kutta/runge_kutta.py
SeanMatthewNolan/algorithm_sandbox
07e5f4880f4cdbea99f3722ba3c898ea95d8ba13
[ "MIT" ]
null
null
null
runge_kutta/runge_kutta.py
SeanMatthewNolan/algorithm_sandbox
07e5f4880f4cdbea99f3722ba3c898ea95d8ba13
[ "MIT" ]
null
null
null
runge_kutta/runge_kutta.py
SeanMatthewNolan/algorithm_sandbox
07e5f4880f4cdbea99f3722ba3c898ea95d8ba13
[ "MIT" ]
null
null
null
from abc import ABC import numpy as np from shared_utils.constants import EMPTY_ARRAY, EMPTY_ARRAY_2D class RKStep(ABC): """ Butcher - 2016 - NUMERICAL METHODS FOR ORDINARY DIFFERENTIAL EQUATIONS - pg 98 c | A ---------- | b^T A - dependence of the stages on the derivatives found at ot...
25.647059
98
0.65367
134
872
4.074627
0.522388
0.07326
0.043956
0.098901
0.230769
0.230769
0.230769
0.230769
0.230769
0.230769
0
0.033435
0.245413
872
33
99
26.424242
0.796353
0.361239
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0.083333
0.25
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
2beb173c42eebd3306e7aaba1cef5c91f6647023
432
py
Python
fastapi_skeleton/api/routes/__init__.py
pphszx/fastapi-ml-skeleton
f92ce62a64227e71955eeb5caa836bd39f6c5ee3
[ "Apache-2.0" ]
null
null
null
fastapi_skeleton/api/routes/__init__.py
pphszx/fastapi-ml-skeleton
f92ce62a64227e71955eeb5caa836bd39f6c5ee3
[ "Apache-2.0" ]
null
null
null
fastapi_skeleton/api/routes/__init__.py
pphszx/fastapi-ml-skeleton
f92ce62a64227e71955eeb5caa836bd39f6c5ee3
[ "Apache-2.0" ]
null
null
null
from fastapi import APIRouter from fastapi_skeleton.api.routes import heartbeat, houseprice, iris, haier api_router = APIRouter() api_router.include_router(heartbeat.router, tags=["健康检测"], prefix="/health") api_router.include_router(haier.router, tags=["海尔模型"], prefix="/model") api_router.include_router(houseprice.ro...
43.2
78
0.777778
57
432
5.719298
0.368421
0.138037
0.196319
0.269939
0.202454
0.202454
0
0
0
0
0
0
0.064815
432
9
79
48
0.806931
0
0
0
0
0
0.101852
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2beb6ca67b8e316f432b753e25617d73b5361980
737
py
Python
sites/gocd-interface/apps/project/forms.py
scaryclam/gocd-interface
b1faac45ece35f9bc7d5065281717c313501e04b
[ "MIT" ]
null
null
null
sites/gocd-interface/apps/project/forms.py
scaryclam/gocd-interface
b1faac45ece35f9bc7d5065281717c313501e04b
[ "MIT" ]
null
null
null
sites/gocd-interface/apps/project/forms.py
scaryclam/gocd-interface
b1faac45ece35f9bc7d5065281717c313501e04b
[ "MIT" ]
null
null
null
from django import forms class ProjectForm(forms.Form): name = forms.CharField(max_length=255) description = forms.CharField(max_length=1024, widget=forms.Textarea) visible_to_all = forms.BooleanField(required=False) gocd_server_host = forms.CharField(max_length=255) gocd_server_port = forms.Integ...
36.85
73
0.757123
91
737
5.923077
0.373626
0.181818
0.220779
0.298701
0.693878
0.64564
0.64564
0.512059
0.512059
0.512059
0
0.036278
0.139756
737
19
74
38.789474
0.81388
0
0
0.4
0
0
0.020353
0
0
0
0
0
0
1
0
false
0.133333
0.066667
0
0.866667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
920833b0820d4bba721a4d92f06e4a8a7a11f392
13,814
py
Python
scripts/python/catalyst/updatedSCR/kinetic_analysis.py
coelectrolyzer/cats
21f8e6f5f176767ec403ad2738c80a5a71fba959
[ "MIT" ]
1
2022-02-17T16:37:12.000Z
2022-02-17T16:37:12.000Z
scripts/python/catalyst/updatedSCR/kinetic_analysis.py
coelectrolyzer/cats
21f8e6f5f176767ec403ad2738c80a5a71fba959
[ "MIT" ]
5
2021-10-30T00:06:31.000Z
2022-03-09T13:34:07.000Z
scripts/python/catalyst/updatedSCR/kinetic_analysis.py
coelectrolyzer/cats
21f8e6f5f176767ec403ad2738c80a5a71fba959
[ "MIT" ]
3
2021-05-08T02:26:08.000Z
2022-03-01T22:27:40.000Z
import json ''' files_to_read = ["250C_model02.json", "300C_model02.json", "350C_model02.json", "400C_model02.json", "450C_model02.json", "500C_model02.json", "550C_model02.json"] ''' ''' files_to_read = ["250C_mo...
39.924855
156
0.492833
1,829
13,814
3.540186
0.128486
0.137297
0.261776
0.314131
0.788571
0.712741
0.59861
0.531737
0.481081
0.379151
0
0.098506
0.307007
13,814
345
157
40.04058
0.577875
0.017374
0
0.285714
0
0
0.135436
0.001656
0
0
0
0
0
1
0
false
0.003968
0.003968
0
0.003968
0.007937
0
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a601bdfad38e2cbf26f83d90c0a351e4b10f5816
658
py
Python
django/demsausage/app/admin.py
keithamoss/demsausage-v3
4f97918cd3cdd218b1f76a276ca76b1874f2dd47
[ "MIT" ]
1
2018-07-14T11:14:18.000Z
2018-07-14T11:14:18.000Z
django/demsausage/app/admin.py
keithamoss/demsausage-v3
4f97918cd3cdd218b1f76a276ca76b1874f2dd47
[ "MIT" ]
44
2017-11-13T08:31:55.000Z
2019-02-24T11:32:20.000Z
django/demsausage/app/admin.py
keithamoss/demsausage-v3
4f97918cd3cdd218b1f76a276ca76b1874f2dd47
[ "MIT" ]
2
2018-11-21T04:40:28.000Z
2018-11-23T00:08:14.000Z
from demsausage.util import get_env from django.contrib import admin from django.contrib.auth.models import User from django.db import connection from .models import Profile # Register your models here. admin.register(Profile)(admin.ModelAdmin) def get_super_admins(): return ["keithamoss@gmail.com"] def get_a...
22.689655
90
0.738602
87
658
5.436782
0.494253
0.038055
0.071882
0.097252
0
0
0
0
0
0
0
0
0.153495
658
28
91
23.5
0.849192
0.039514
0
0
0
0
0.114286
0
0
0
0
0
0
1
0.235294
true
0
0.294118
0.176471
0.823529
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
0
0
0
3
a644837509fcbb5cc651828bddca97e9d49d4ae8
122
py
Python
resurs_bank/config.py
sergeevyi/resurs-bank-simplifiedflow-python
94fde0bf40366d1bc20b9e3f5e21946cba20d0be
[ "Apache-2.0" ]
1
2020-09-13T23:41:21.000Z
2020-09-13T23:41:21.000Z
resurs_bank/config.py
sergeevyi/resurs-bank-simplifiedflow-python
94fde0bf40366d1bc20b9e3f5e21946cba20d0be
[ "Apache-2.0" ]
null
null
null
resurs_bank/config.py
sergeevyi/resurs-bank-simplifiedflow-python
94fde0bf40366d1bc20b9e3f5e21946cba20d0be
[ "Apache-2.0" ]
null
null
null
client_id = '' client_secret = '' api_url = 'https://test.resurs.com/ecommerce-test/ws/V4/SimplifiedShopFlowService?wsdl'
30.5
87
0.762295
16
122
5.625
0.875
0
0
0
0
0
0
0
0
0
0
0.00885
0.07377
122
3
88
40.666667
0.787611
0
0
0
0
0
0.614754
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a659176d88aaf97ccf9c5643c767b3f56b064fa0
1,548
py
Python
Lessons/U4L1.py
hastysun/Python
b63921160fe13291dbfcbdcf821364e76d3164d5
[ "Apache-2.0" ]
1
2018-05-16T22:41:38.000Z
2018-05-16T22:41:38.000Z
Lessons/U4L1.py
hastysun/Python
b63921160fe13291dbfcbdcf821364e76d3164d5
[ "Apache-2.0" ]
null
null
null
Lessons/U4L1.py
hastysun/Python
b63921160fe13291dbfcbdcf821364e76d3164d5
[ "Apache-2.0" ]
null
null
null
## Unit 4 Lesson 1 - Classes and Objects ## Gavin Weiss - Computer Programming II ## Libraries import time import random import os ## Code # Basics of object oriented programming # Classes and Objects are the foundation of object-oriented programming # A class is a group that has similar functions and variables # A...
33.652174
79
0.760982
240
1,548
4.891667
0.445833
0.030664
0.028961
0.045997
0
0
0
0
0
0
0
0.001591
0.187985
1,548
45
80
34.4
0.932379
0.812016
0
0
0
0
0.230469
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
a66751d37161f6f5079137df2042a36d2e94cb1d
558
py
Python
lassie/__init__.py
slavaGanzin/lassie
edae0df109f2c3de3d9c4855e200304b6aa186c9
[ "MIT" ]
null
null
null
lassie/__init__.py
slavaGanzin/lassie
edae0df109f2c3de3d9c4855e200304b6aa186c9
[ "MIT" ]
20
2021-05-03T18:02:23.000Z
2022-03-12T12:01:04.000Z
Lib/site-packages/lassie/__init__.py
fochoao/cpython
3dc84b260e5bced65ebc2c45c40c8fa65f9b5aa9
[ "bzip2-1.0.6", "0BSD" ]
null
null
null
# -*- coding: utf-8 -*- # __ ______ ______ ______ __ ______ # /\ \ /\ __ \ /\ ___\ /\ ___\ /\ \ /\ ___\ # \ \ \____ \ \ __ \ \ \___ \ \ \___ \ \ \ \ \ \ __\ # \ \_____\ \ \_\ \_\ \/\_____\ \/\_____\ \ \_\ \ \_____\ # \/_____/ \/_/\/_/ \/___...
25.363636
70
0.462366
31
558
5
0.774194
0
0
0
0
0
0
0
0
0
0
0.013441
0.333333
558
21
71
26.571429
0.403226
0.763441
0
0
0
0
0.050847
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
a683ce650d281467082cc91b80c7b9f8153dbc38
369
py
Python
src/03_packaging_cpp_binaries/greeter/test_package/conanfile.py
grzegorzludwa/conan_workshop
c9bc4e88bdfe5cabec199c450a40a6bfc06fb77c
[ "MIT" ]
null
null
null
src/03_packaging_cpp_binaries/greeter/test_package/conanfile.py
grzegorzludwa/conan_workshop
c9bc4e88bdfe5cabec199c450a40a6bfc06fb77c
[ "MIT" ]
null
null
null
src/03_packaging_cpp_binaries/greeter/test_package/conanfile.py
grzegorzludwa/conan_workshop
c9bc4e88bdfe5cabec199c450a40a6bfc06fb77c
[ "MIT" ]
null
null
null
from conans import ConanFile, tools class GreeterTestConan(ConanFile): settings = "os", "compiler", "build_type", "arch" def build(self): pass def imports(self): self.copy("*", dst="bin", src="bin") def test(self): if not tools.cross_building(self): # TODO: run g...
21.705882
55
0.596206
44
369
4.954545
0.772727
0
0
0
0
0
0
0
0
0
0
0
0.281843
369
16
56
23.0625
0.822642
0.111111
0
0
0
0
0.095092
0
0
0
0
0.0625
0
1
0.3
false
0.1
0.2
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
a694a8714d96ca721614b8f0f4b56ccccb2bad25
158
py
Python
comentario/apps.py
GuilleJR83/ProyectoInformatorio2021
2c23e6b42f0ac3bf37c9b46d0431d29793b5c688
[ "CC0-1.0" ]
null
null
null
comentario/apps.py
GuilleJR83/ProyectoInformatorio2021
2c23e6b42f0ac3bf37c9b46d0431d29793b5c688
[ "CC0-1.0" ]
null
null
null
comentario/apps.py
GuilleJR83/ProyectoInformatorio2021
2c23e6b42f0ac3bf37c9b46d0431d29793b5c688
[ "CC0-1.0" ]
3
2021-12-27T21:26:01.000Z
2022-01-04T14:01:09.000Z
from django.apps import AppConfig class ComentarioConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'comentario'
22.571429
57
0.740506
17
158
6.764706
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.177215
158
6
58
26.333333
0.884615
0
0
0
0
0
0.256579
0.190789
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
a6980d3563e8e8498e53f2e16160bc3bfaded736
6,594
py
Python
fhirclient/models/substancepolymer.py
zzhou41/client-py
cbfa8d7c7f1bad233b237b7c5582fc0577b21f70
[ "Apache-2.0" ]
null
null
null
fhirclient/models/substancepolymer.py
zzhou41/client-py
cbfa8d7c7f1bad233b237b7c5582fc0577b21f70
[ "Apache-2.0" ]
null
null
null
fhirclient/models/substancepolymer.py
zzhou41/client-py
cbfa8d7c7f1bad233b237b7c5582fc0577b21f70
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 4.0.0-a53ec6ee1b (http://hl7.org/fhir/StructureDefinition/SubstancePolymer) on 2019-07-29. # 2019, SMART Health IT. import sys from dataclasses import dataclass from typing import ClassVar, Optional, List from .fhirabstractbase import empty_list f...
41.734177
146
0.704883
497
6,594
9.315895
0.16499
0.05054
0.054428
0.056371
0.276458
0.238661
0.139525
0.074514
0.074514
0.062635
0
0.003916
0.186837
6,594
158
147
41.734177
0.859567
0.038672
0
0.384615
1
0
0.138726
0.074051
0
0
0
0.044304
0
1
0.059829
false
0
0.076923
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
3
a6ca77aef67c227e188933a9b48776aed84e5890
1,749
py
Python
Engine/8/Engine/Logic/Player.py
eze1376/AICup2021
2d8703e9f44e234f5a00fc4a3e5a3847155b380b
[ "Apache-2.0" ]
null
null
null
Engine/8/Engine/Logic/Player.py
eze1376/AICup2021
2d8703e9f44e234f5a00fc4a3e5a3847155b380b
[ "Apache-2.0" ]
null
null
null
Engine/8/Engine/Logic/Player.py
eze1376/AICup2021
2d8703e9f44e234f5a00fc4a3e5a3847155b380b
[ "Apache-2.0" ]
null
null
null
from . import settings class Player(): def __init__(self, health=3, bombRange=2, max_bomb_range=5, trapCount=1, initX=1, initY=1, name=''): self.__health = health self.__bombRange = bombRange self.__trapCount = trapCount self.__HealthUpgradeCount = 0 self.__bombPlaceCount =...
23.635135
104
0.62207
184
1,749
5.576087
0.277174
0.097466
0.122807
0.031189
0
0
0
0
0
0
0
0.015347
0.292167
1,749
73
105
23.958904
0.813409
0.013722
0
0
0
0
0
0
0
0
0
0
0
1
0.32
false
0
0.02
0.18
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4702d8d89bc94e396c302af93f5e979898f1d2f2
1,810
py
Python
auth/authorizations.py
focusonecc/common
d61631d5b1c068422dcf40be199972ed36fa26be
[ "MIT" ]
null
null
null
auth/authorizations.py
focusonecc/common
d61631d5b1c068422dcf40be199972ed36fa26be
[ "MIT" ]
4
2017-12-25T12:32:42.000Z
2018-01-02T13:17:40.000Z
auth/authorizations.py
focusonecc/common
d61631d5b1c068422dcf40be199972ed36fa26be
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # @Author: theo-l # @Date: 2017-07-05 11:11:12 # @Last Modified by: theo-l # @Last Modified time: 2017-07-05 11:11:51 from django.contrib.auth import get_user_model from tastypie.exceptions import Unauthorized from tastypie.authorization import Authorization AUTH_MODEL = get_user_model() ...
32.321429
95
0.671823
235
1,810
5.076596
0.374468
0.083822
0.134116
0.100587
0.423303
0.403185
0.349539
0.289187
0.289187
0.289187
0
0.02106
0.239227
1,810
55
96
32.909091
0.845316
0.21326
0
0.192308
0
0
0.099419
0
0
0
0
0
0
1
0.269231
false
0
0.115385
0.115385
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4703d2307d4fc89191fa94fa5a6c843e209a93eb
334
py
Python
flask_raft/status.py
VMois/flask-pysyncobj-raft-replication-demo
c126e1558baa52e55f9c9b36433b98738e54b59e
[ "MIT" ]
null
null
null
flask_raft/status.py
VMois/flask-pysyncobj-raft-replication-demo
c126e1558baa52e55f9c9b36433b98738e54b59e
[ "MIT" ]
null
null
null
flask_raft/status.py
VMois/flask-pysyncobj-raft-replication-demo
c126e1558baa52e55f9c9b36433b98738e54b59e
[ "MIT" ]
null
null
null
import json from flask import Blueprint, current_app from raft import get_status bp = Blueprint('status', __name__, url_prefix='/status') @bp.route('/raft', methods=['GET']) def raft_status(): return current_app.response_class( json.dumps(get_status(), indent=4, sort_keys=True), mimetype='appli...
22.266667
59
0.712575
45
334
5.022222
0.622222
0.088496
0
0
0
0
0
0
0
0
0
0.003534
0.152695
334
14
60
23.857143
0.795053
0
0
0
0
0
0.110778
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0.111111
0.555556
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
471d4849a7c94c47c9c94025272a033498564432
1,561
py
Python
webex_teams_api.py
Frankli141/Anyone-Can-Code-Week4
3dceafbf6aa8ff5cadf8cb9275aef1163bdffce3
[ "MIT" ]
null
null
null
webex_teams_api.py
Frankli141/Anyone-Can-Code-Week4
3dceafbf6aa8ff5cadf8cb9275aef1163bdffce3
[ "MIT" ]
2
2020-09-09T15:59:54.000Z
2020-09-10T02:05:28.000Z
webex_teams_api.py
Frankli141/Anyone-Can-Code-Week4
3dceafbf6aa8ff5cadf8cb9275aef1163bdffce3
[ "MIT" ]
null
null
null
import requests import json import pprint #Disable annoying warnings import urllib3 urllib3.disable_warnings() # Import Webex Teams Bot Token import CRED BOT_TOKEN = CRED.TOKEN #Start of functions def list_people_email(): ''' List people by email ''' # <Add your code here> def list_people_displayname(): '''...
13.814159
60
0.65663
229
1,561
4.349345
0.275109
0.084337
0.13253
0.180723
0.373494
0.373494
0.197791
0.100402
0.100402
0.100402
0
0.002435
0.210762
1,561
113
61
13.814159
0.806006
0.457399
0
0
0
0
0.083444
0
0.037037
0
0
0.00885
0
1
0.481481
false
0
0.185185
0
0.703704
0.074074
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
472fb136e8e9d13af649eb3bac9ecde7f2a9290b
1,460
py
Python
FuzzySet.py
omidai/Fuzzy-Q-Learning
750ee3864d620b554f8cb0783b6841dfbef12d7b
[ "MIT" ]
22
2018-01-11T20:59:34.000Z
2022-03-16T07:20:55.000Z
FuzzySet.py
omidai/Fuzzy-Q-Learning
750ee3864d620b554f8cb0783b6841dfbef12d7b
[ "MIT" ]
null
null
null
FuzzySet.py
omidai/Fuzzy-Q-Learning
750ee3864d620b554f8cb0783b6841dfbef12d7b
[ "MIT" ]
14
2018-12-30T16:01:16.000Z
2022-03-04T01:48:29.000Z
class Trapeziums(object): def __init__(self, left, left_top, right_top, right): self.left = left self.right = right self.left_top = left_top self.right_top = right_top def membership_value(self, input_value): if (input_value >= self.left_top) and (input_value <= self.rig...
33.181818
89
0.615753
187
1,460
4.534759
0.112299
0.180425
0.247642
0.127358
0.794811
0.737028
0.732311
0.653302
0.476415
0.386792
0
0.009615
0.287671
1,460
43
90
33.953488
0.805769
0
0
0.393939
0
0
0
0
0
0
0
0
0
1
0.121212
false
0
0
0
0.242424
0
0
0
0
null
0
1
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
0
0
0
0
0
0
0
0
3
5b3a789746b6a8460b1c8a4f261d50b2fecccb43
306
py
Python
tlks_fb/config.py
GDG-Ukraine/talks-feedback
9016e2ecc35858d45f4979fab5a54ee953a75f04
[ "MIT" ]
1
2018-07-19T08:41:50.000Z
2018-07-19T08:41:50.000Z
tlks_fb/config.py
GDG-Ukraine/talks-feedback
9016e2ecc35858d45f4979fab5a54ee953a75f04
[ "MIT" ]
79
2018-08-07T19:54:01.000Z
2021-06-25T15:15:08.000Z
feature_api/config.py
open-craft-guild/aio-feature-flags
991b4b5e91d89de2589990117769bf5b7636bde0
[ "MIT" ]
null
null
null
"""Config validation setup.""" import trafaret as t CONFIG_TRAFARET = t.Dict({ t.Key('DEBUG'): t.Bool, t.Key('DATABASE_NAME'): t.String, t.Key('DATABASE_USERNAME'): t.String, t.Key('DATABASE_PASSWORD'): t.String, t.Key('DATABASE_HOST'): t.String, t.Key('DATABASE_PORT'): t.Int })
23.538462
41
0.643791
46
306
4.152174
0.413043
0.125654
0.314136
0.230366
0.397906
0
0
0
0
0
0
0
0.160131
306
12
42
25.5
0.743191
0.078431
0
0
0
0
0.282609
0
0
0
0
0
0
1
0
false
0.111111
0.111111
0
0.111111
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
5b64e7e0b9ed01b0f8b69dac6f0fa297ef78c842
1,400
py
Python
connect_four/evaluation/incremental_victor/solution/fake_solution_manager.py
rpachauri/connect4
6caf6965afaaff6883193ac295c6ac5b1f4e9c4a
[ "MIT" ]
null
null
null
connect_four/evaluation/incremental_victor/solution/fake_solution_manager.py
rpachauri/connect4
6caf6965afaaff6883193ac295c6ac5b1f4e9c4a
[ "MIT" ]
null
null
null
connect_four/evaluation/incremental_victor/solution/fake_solution_manager.py
rpachauri/connect4
6caf6965afaaff6883193ac295c6ac5b1f4e9c4a
[ "MIT" ]
null
null
null
from typing import Set from connect_four.evaluation.incremental_victor.solution.solution import Solution from connect_four.evaluation.incremental_victor.solution.solution_manager import SolutionManager class FakeSolutionManager(SolutionManager): def __init__(self, solutions: Set[Solution], win_conditions: Set[So...
38.888889
106
0.704286
168
1,400
5.672619
0.255952
0.115425
0.062959
0.066107
0.289612
0.237146
0.237146
0.237146
0.115425
0.115425
0
0
0.210714
1,400
35
107
40
0.862443
0.068571
0
0.083333
0
0
0
0
0
0
0
0
0
1
0.208333
false
0
0.125
0.166667
0.541667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5b78002a95564e94258f2f2748d630b26aed87c1
181
py
Python
earsie_eats_blog/recipes/urls.py
genomics-geek/earsie-eats.com
b2d1e6626daa44b5e03198bdc9362758803fd3ee
[ "MIT" ]
null
null
null
earsie_eats_blog/recipes/urls.py
genomics-geek/earsie-eats.com
b2d1e6626daa44b5e03198bdc9362758803fd3ee
[ "MIT" ]
2
2018-10-15T20:37:03.000Z
2018-10-15T20:37:21.000Z
earsie_eats_blog/recipes/urls.py
genomics-geek/earsie-eats.com
b2d1e6626daa44b5e03198bdc9362758803fd3ee
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.conf.urls import url from .views import RecipeImageUploadView urlpatterns = [ url(r'^upload-image/$', RecipeImageUploadView.as_view()), ]
18.1
61
0.701657
21
181
6
0.809524
0
0
0
0
0
0
0
0
0
0
0.006452
0.143646
181
9
62
20.111111
0.806452
0.116022
0
0
0
0
0.094937
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5b96b1cdd2f7ec0f501adc96eab8301e2cb057c5
387
py
Python
openff/interchange/drivers/__init__.py
daico007/openff-interchange
f6586908d39d75abab2b731ec4f0c2891e050cb3
[ "MIT" ]
null
null
null
openff/interchange/drivers/__init__.py
daico007/openff-interchange
f6586908d39d75abab2b731ec4f0c2891e050cb3
[ "MIT" ]
8
2021-06-23T19:24:19.000Z
2022-03-01T05:04:46.000Z
openff/interchange/drivers/__init__.py
justinGilmer/openff-system
d5a3da9701c66eddf49cacd6038342f413c04786
[ "MIT" ]
null
null
null
from openff.interchange.drivers.amber import get_amber_energies from openff.interchange.drivers.gromacs import get_gromacs_energies from openff.interchange.drivers.lammps import get_lammps_energies from openff.interchange.drivers.openmm import get_openmm_energies __all__ = [ "get_openmm_energies", "get_gromacs...
32.25
67
0.824289
49
387
6.102041
0.244898
0.133779
0.280936
0.374582
0.361204
0
0
0
0
0
0
0
0.105943
387
11
68
35.181818
0.864162
0
0
0
0
0
0.196382
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5b9b0dad5a9b4e619e9b3063477ddc535cef055f
95
py
Python
my-python-lib-blog-post/simple.py
infinyon/fluvio-demo-apps-rust
00815139d94324ce07cdd6d48f262b550261349c
[ "Apache-2.0" ]
5
2020-10-09T19:24:15.000Z
2022-03-17T13:10:34.000Z
my-python-lib-blog-post/simple.py
infinyon/fluvio-demo-apps-rust
00815139d94324ce07cdd6d48f262b550261349c
[ "Apache-2.0" ]
5
2020-10-13T15:18:33.000Z
2021-03-31T14:32:22.000Z
my-python-lib-blog-post/simple.py
infinyon/fluvio-demo-apps-rust
00815139d94324ce07cdd6d48f262b550261349c
[ "Apache-2.0" ]
4
2021-02-09T13:01:14.000Z
2021-03-31T14:12:19.000Z
from my_python_lib import Foo foo = Foo(1) print(foo.val()) foo.set_field(11) print(foo.val())
15.833333
29
0.726316
19
95
3.473684
0.631579
0.181818
0.333333
0
0
0
0
0
0
0
0
0.035294
0.105263
95
5
30
19
0.741176
0
0
0.4
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5bcc45bdac271d2e945d2fda20ffc3807833a4a5
89
py
Python
crawler/apps.py
wu87988622/parseltongue
f3351341183a1743992514955e1fb6fe5c898420
[ "Apache-2.0" ]
3
2018-03-28T03:44:17.000Z
2021-05-22T05:15:32.000Z
crawler/apps.py
wu87988622/parseltongue
f3351341183a1743992514955e1fb6fe5c898420
[ "Apache-2.0" ]
9
2018-03-19T06:27:35.000Z
2019-02-20T05:56:10.000Z
crawler/apps.py
wu87988622/parseltongue
f3351341183a1743992514955e1fb6fe5c898420
[ "Apache-2.0" ]
2
2018-03-22T07:50:11.000Z
2018-03-26T02:01:15.000Z
from django.apps import AppConfig class CarwlerConfig(AppConfig): name = 'carwler'
14.833333
33
0.752809
10
89
6.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.168539
89
5
34
17.8
0.905405
0
0
0
0
0
0.078652
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
5be015933ffcd6e2001420f98d0d914041478f00
28
py
Python
benchmarks/visualization/__init__.py
eteq/astropy-benchmarks
a8d5b3f30b2f1d7252d450aad53bb0572e44a1e8
[ "BSD-3-Clause" ]
5
2018-01-30T01:26:07.000Z
2020-12-03T08:11:19.000Z
benchmarks/visualization/__init__.py
eteq/astropy-benchmarks
a8d5b3f30b2f1d7252d450aad53bb0572e44a1e8
[ "BSD-3-Clause" ]
72
2015-10-03T13:46:06.000Z
2021-11-19T16:42:03.000Z
benchmarks/visualization/__init__.py
eteq/astropy-benchmarks
a8d5b3f30b2f1d7252d450aad53bb0572e44a1e8
[ "BSD-3-Clause" ]
18
2015-05-25T17:01:26.000Z
2021-03-18T16:49:32.000Z
__all__ = [ "wcsaxes" ]
7
13
0.5
2
28
5
1
0
0
0
0
0
0
0
0
0
0
0
0.321429
28
3
14
9.333333
0.526316
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5be626256a48ebf9861ce6dbcab16f367713c3e7
265
py
Python
src/app/util/git_client.py
CLARIAH/wp4-csdh-api
8f5d75c82a77a62545fa091da238b17691eab1c3
[ "MIT" ]
1
2018-09-30T06:48:03.000Z
2018-09-30T06:48:03.000Z
src/app/util/git_client.py
CLARIAH/wp4-csdh-api
8f5d75c82a77a62545fa091da238b17691eab1c3
[ "MIT" ]
10
2016-01-22T13:18:52.000Z
2016-04-19T10:08:54.000Z
src/app/util/git_client.py
CLARIAH/wp4-csdh-api
8f5d75c82a77a62545fa091da238b17691eab1c3
[ "MIT" ]
null
null
null
import app.config as config import gevent.subprocess as sp DATA_PATH = config.TEMP_PATH def add_file(absolute_path, author, email): out = sp.check_output(['python', 'app/util/git_command.py', DATA_PATH, absolute_path, author, email]) return out.strip()
24.090909
105
0.74717
41
265
4.634146
0.634146
0.084211
0.189474
0.242105
0
0
0
0
0
0
0
0
0.139623
265
10
106
26.5
0.833333
0
0
0
0
0
0.109434
0.086792
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7516df46c3df085ddb0d0ecd9a79af8519b14352
8,227
py
Python
Validation/Geometry/test/step3_PhaseI_testing.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
1
2019-08-09T08:42:11.000Z
2019-08-09T08:42:11.000Z
Validation/Geometry/test/step3_PhaseI_testing.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
Validation/Geometry/test/step3_PhaseI_testing.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
1
2019-04-03T19:23:27.000Z
2019-04-03T19:23:27.000Z
# Auto generated configuration file # using: # Revision: 1.19 # Source: /local/reps/CMSSW/CMSSW/Configuration/Applications/python/ConfigBuilder.py,v # with command line options: step3 --conditions auto:phase1_2017_realistic --pileup_input das:/RelValMinBias_13/CMSSW_8_1_0_pre7-81X_upgrade2017_realistic_v3_UPG17newGT...
57.93662
1,403
0.820348
977
8,227
6.710338
0.292733
0.043929
0.056132
0.061013
0.312996
0.250305
0.231849
0.231849
0.197987
0.197987
0
0.093803
0.072201
8,227
141
1,404
58.347518
0.765099
0.151453
0
0.094737
1
0.136842
0.44561
0.420894
0
0
0
0
0
1
0
false
0
0.052632
0
0.052632
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
754371a7aaf71e94b82e9229ecc9ef369b7bd11f
150
py
Python
shyurl/__init__.py
tomatohater/django-shyurl
94c7fab35e7bf5e79ae254e3cfd4f9449b843b13
[ "MIT" ]
null
null
null
shyurl/__init__.py
tomatohater/django-shyurl
94c7fab35e7bf5e79ae254e3cfd4f9449b843b13
[ "MIT" ]
null
null
null
shyurl/__init__.py
tomatohater/django-shyurl
94c7fab35e7bf5e79ae254e3cfd4f9449b843b13
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """`django-shyurl` main package.""" from . import checks VERSION = (0, 1) __version__ = '.'.join([str(x) for x in VERSION])
18.75
49
0.6
21
150
4.095238
0.857143
0
0
0
0
0
0
0
0
0
0
0.024
0.166667
150
7
50
21.428571
0.664
0.346667
0
0
0
0
0.01087
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
75498e94fc84c4cb82cec1af30c5b9a29cf84567
23
py
Python
src/edurepo/teachers/templatetags/__init__.py
trawick/edurepo
c56ccb795fdf97ec29c7a81a9769b6a70da93b1d
[ "Apache-2.0" ]
null
null
null
src/edurepo/teachers/templatetags/__init__.py
trawick/edurepo
c56ccb795fdf97ec29c7a81a9769b6a70da93b1d
[ "Apache-2.0" ]
7
2020-06-05T18:11:44.000Z
2021-04-20T18:42:31.000Z
src/edurepo/teachers/templatetags/__init__.py
trawick/edurepo
c56ccb795fdf97ec29c7a81a9769b6a70da93b1d
[ "Apache-2.0" ]
null
null
null
__author__ = 'trawick'
11.5
22
0.73913
2
23
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.130435
23
1
23
23
0.65
0
0
0
0
0
0.304348
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f32f13bc244f3956a8b6d0d58da11b431d96cacc
72
py
Python
dailyfresh/login.py
zhangxiaochuZXC/dailyfresh23
35c41bf4d4c16a16e553506a6a2db7a73e67b732
[ "MIT" ]
null
null
null
dailyfresh/login.py
zhangxiaochuZXC/dailyfresh23
35c41bf4d4c16a16e553506a6a2db7a73e67b732
[ "MIT" ]
null
null
null
dailyfresh/login.py
zhangxiaochuZXC/dailyfresh23
35c41bf4d4c16a16e553506a6a2db7a73e67b732
[ "MIT" ]
null
null
null
num1 = 10 # 修复bug num2 = 20000 num3 = 30 num4 = 40 str = 'v2.0开发完成'
6.545455
16
0.583333
12
72
3.5
1
0
0
0
0
0
0
0
0
0
0
0.333333
0.291667
72
10
17
7.2
0.490196
0.069444
0
0
0
0
0.123077
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f333ce6e2e3be0be44298649d07c23c60c2229cf
55
py
Python
Downloaders/__init__.py
Goswamiroyal/Miss_fruity_music-
b172b6854acfcb828ac2928b7c9b019c91da58b1
[ "MIT" ]
23
2021-09-14T11:36:24.000Z
2022-03-22T09:55:05.000Z
Downloaders/__init__.py
Goswamiroyal/Miss_fruity_music-
b172b6854acfcb828ac2928b7c9b019c91da58b1
[ "MIT" ]
null
null
null
Downloaders/__init__.py
Goswamiroyal/Miss_fruity_music-
b172b6854acfcb828ac2928b7c9b019c91da58b1
[ "MIT" ]
54
2021-09-14T16:10:35.000Z
2022-03-25T19:21:11.000Z
from downloaders import youtube __all__ = ["youtube"]
13.75
31
0.763636
6
55
6.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.145455
55
3
32
18.333333
0.808511
0
0
0
0
0
0.127273
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f3446f9ac64d06d2e12134aaaa521d1594d84288
246
py
Python
measure/views.py
mpsk2/tut-backend
af467809b79b6c1ee84e506cebc7e5ac3fa675bd
[ "MIT" ]
null
null
null
measure/views.py
mpsk2/tut-backend
af467809b79b6c1ee84e506cebc7e5ac3fa675bd
[ "MIT" ]
null
null
null
measure/views.py
mpsk2/tut-backend
af467809b79b6c1ee84e506cebc7e5ac3fa675bd
[ "MIT" ]
null
null
null
from rest_framework import viewsets from .models import Category from .serializers import CategorySerializer class CategoryViewSet(viewsets.ReadOnlyModelViewSet): queryset = Category.objects.all() serializer_class = CategorySerializer
24.6
53
0.825203
24
246
8.375
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.126016
246
9
54
27.333333
0.934884
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f3650421af3b3f0379ee15e27492aa9929ccbc7d
4,922
py
Python
QiskitExercises/lab12.py
rhpreston/quantum-course-labs
548194841dd15cd147e5cc8dedf8c9d50dd4d525
[ "Apache-2.0" ]
3
2021-07-16T17:59:38.000Z
2021-08-09T14:52:50.000Z
QiskitExercises/lab12.py
rhpreston/quantum-course-labs
548194841dd15cd147e5cc8dedf8c9d50dd4d525
[ "Apache-2.0" ]
null
null
null
QiskitExercises/lab12.py
rhpreston/quantum-course-labs
548194841dd15cd147e5cc8dedf8c9d50dd4d525
[ "Apache-2.0" ]
4
2021-07-12T19:21:02.000Z
2022-02-19T06:18:51.000Z
# Lab 12: Deutsch-Jozsa Algorithm # Copyright 2021 The MITRE Corporation. All Rights Reserved. from qiskit import QuantumCircuit, ClassicalRegister, QuantumRegister from qiskit import execute from qiskit import Aer def always_zero(circuit, input, output): """ This oracle always "returns" zero, so it never p...
42.431034
90
0.689151
722
4,922
4.682825
0.209141
0.034014
0.019521
0.035788
0.590358
0.538007
0.505176
0.38391
0.377107
0.300503
0
0.008475
0.256806
4,922
115
91
42.8
0.915801
0.81796
0
0.230769
0
0
0.10582
0
0
0
0
0
0
1
0.384615
false
0
0.230769
0
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
f365bf6b0c117d8c2d8b182ef5fbd7258fbd732b
929
py
Python
core/permissions/permissions.py
MubongwoNdasi/pms
0cc5dcbc25b31e13631672e1a03c88e2ad46bc92
[ "MIT" ]
null
null
null
core/permissions/permissions.py
MubongwoNdasi/pms
0cc5dcbc25b31e13631672e1a03c88e2ad46bc92
[ "MIT" ]
8
2021-03-18T22:27:44.000Z
2022-02-10T09:18:50.000Z
core/permissions/permissions.py
MubongwoNdasi/pms
0cc5dcbc25b31e13631672e1a03c88e2ad46bc92
[ "MIT" ]
1
2021-09-20T06:37:41.000Z
2021-09-20T06:37:41.000Z
from django.utils.translation import ugettext_lazy as _ ROLE_LIST = (('ADMIN', _('Admin')), ('PHARMACIST', _('Pharmacist')), ('BILLING', _('Billing'))) class Role: def __init__(self): self.admin = 'ADMIN' self.pharmacist = 'PHARMACIST' self.superadmin = 'SUPERADMIN' def admin(self):...
22.658537
95
0.64155
101
929
5.70297
0.217822
0.078125
0.072917
0.125
0.440972
0.440972
0.440972
0.263889
0.263889
0.263889
0
0
0.241119
929
41
96
22.658537
0.817021
0
0
0.307692
0
0
0.101075
0
0
0
0
0
0
1
0.307692
false
0
0.038462
0.230769
0.653846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f3841feee98267a59743cad2e8f372779a200b43
164
py
Python
src/datasets/__init__.py
jackgoffinet/poe-vae
18ca2cd4cffe3259e19525c2dc65c84d7219e9d6
[ "MIT" ]
null
null
null
src/datasets/__init__.py
jackgoffinet/poe-vae
18ca2cd4cffe3259e19525c2dc65c84d7219e9d6
[ "MIT" ]
null
null
null
src/datasets/__init__.py
jackgoffinet/poe-vae
18ca2cd4cffe3259e19525c2dc65c84d7219e9d6
[ "MIT" ]
1
2022-01-14T12:29:51.000Z
2022-01-14T12:29:51.000Z
""" """ __date__ = "May 2021" from .mnist_halves import MnistHalvesDataset from .mnist_pixels import MnistPixelsDataset if __name__ == '__main__': pass ###
10.25
44
0.713415
17
164
6.058824
0.823529
0.174757
0
0
0
0
0
0
0
0
0
0.029412
0.170732
164
15
45
10.933333
0.727941
0
0
0
0
0
0.105263
0
0
0
0
0
0
1
0
false
0.2
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
f398cdbbb896cf1be89b247c7e3aa375696bace7
135
py
Python
sendcloud/__init__.py
Lennart-2001/sendcloud
34aef4820b0437e71d2fa9de7b322677499c367a
[ "MIT" ]
3
2021-03-24T15:13:42.000Z
2021-12-14T12:57:13.000Z
sendcloud/__init__.py
Lennart-2001/sendcloud
34aef4820b0437e71d2fa9de7b322677499c367a
[ "MIT" ]
2
2020-12-01T13:08:41.000Z
2021-03-22T18:15:43.000Z
sendcloud/__init__.py
Lennart-2001/sendcloud
34aef4820b0437e71d2fa9de7b322677499c367a
[ "MIT" ]
3
2020-12-01T13:05:55.000Z
2022-03-27T09:07:02.000Z
API_KEY: str API_SECRET: str BASE_URL: str = "https://panel.sendcloud.sc/api/v2/" PARTNER_ID: str = "" from .classes import * # noqa
19.285714
52
0.696296
22
135
4.090909
0.772727
0
0
0
0
0
0
0
0
0
0
0.008696
0.148148
135
6
53
22.5
0.773913
0.02963
0
0
0
0
0.263566
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
f3c74eae1b9a4d340df526624098213e37d23dac
558
py
Python
src/einsteinpy/symbolic/predefined/__init__.py
bibek22/einsteinpy
78bf5d942cbb12393852f8e4d7a8426f1ffe6f23
[ "MIT" ]
2
2019-04-07T04:01:57.000Z
2019-07-11T11:59:55.000Z
src/einsteinpy/symbolic/predefined/__init__.py
bibek22/einsteinpy
78bf5d942cbb12393852f8e4d7a8426f1ffe6f23
[ "MIT" ]
2
2019-04-08T17:39:50.000Z
2019-04-11T03:10:09.000Z
src/einsteinpy/symbolic/predefined/__init__.py
bibek22/einsteinpy
78bf5d942cbb12393852f8e4d7a8426f1ffe6f23
[ "MIT" ]
null
null
null
from .barriola_vilenkin import BarriolaVilekin from .bertotti_kasner import BertottiKasner from .bessel_gravitational_wave import BesselGravitationalWave from .cmetric import CMetric from .davidson import Davidson from .de_sitter import AntiDeSitter, AntiDeSitterStatic, DeSitter from .ernst import Ernst from .find impo...
42.923077
80
0.867384
63
558
7.555556
0.555556
0
0
0
0
0
0
0
0
0
0
0
0.098566
558
12
81
46.5
0.946322
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
45ec65da79150d60451cfad9ee8a4ee41771f4e7
249
py
Python
piece/knight.py
zackee12/command-line-chess
bcd46d44b5e42bf7cbf6d69506f4f0da68b68c6c
[ "MIT" ]
null
null
null
piece/knight.py
zackee12/command-line-chess
bcd46d44b5e42bf7cbf6d69506f4f0da68b68c6c
[ "MIT" ]
null
null
null
piece/knight.py
zackee12/command-line-chess
bcd46d44b5e42bf7cbf6d69506f4f0da68b68c6c
[ "MIT" ]
null
null
null
from piece.base import SingleMovePiece class Knight(SingleMovePiece): VALUE = 3 MOVE_VECTORS = [ (-2, 1), (-2, -1), (2, 1), (2, -1), (-1, 2), (-1, -2), (1, 2), (1, -2) ]
14.647059
38
0.37751
28
249
3.321429
0.464286
0.150538
0.193548
0.215054
0.172043
0.172043
0.172043
0
0
0
0
0.120567
0.433735
249
16
39
15.5625
0.539007
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
34147f0f7d4efd78319a37470c0ea5e6c893ec54
476
py
Python
tests/integration/webdriver/downloads/test_downloads.py
symonk/browzer
4d9ee5adba6819d787357247da69b5429af9cde1
[ "MIT" ]
6
2018-07-25T09:14:08.000Z
2020-12-18T21:25:28.000Z
tests/integration/webdriver/downloads/test_downloads.py
symonk/sylenium
4d9ee5adba6819d787357247da69b5429af9cde1
[ "MIT" ]
32
2018-07-23T19:34:27.000Z
2020-11-18T01:38:42.000Z
tests/integration/webdriver/downloads/test_downloads.py
symonk/browzer
4d9ee5adba6819d787357247da69b5429af9cde1
[ "MIT" ]
3
2018-10-10T07:43:55.000Z
2020-01-10T21:50:24.000Z
import os import time from assertpy import assert_that from sylenium import Configuration def test_download_file(driver_creator, tmpdir) -> None: with driver_creator(Configuration(download_directory=str(tmpdir))) as driver: driver.get("http://ipv4.download.thinkbroadband.com/1MB.zip") # TODO => ...
31.733333
91
0.735294
66
476
5.181818
0.681818
0.05848
0
0
0
0
0
0
0
0
0
0.010101
0.168067
476
14
92
34
0.853535
0.170168
0
0
0
0
0.137405
0
0
0
0
0.071429
0.222222
1
0.111111
false
0
0.444444
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
3415a67312fd44836ab3c7a25722358b96f9c4a4
75
py
Python
stb/__init__.py
eugenetriguba/stb-automator
f524f6ff7413ec77c259da9978fa2f053fb9693a
[ "MIT" ]
2
2021-05-20T10:02:46.000Z
2021-07-29T04:36:19.000Z
stb/__init__.py
eugenetriguba/stb-automator
f524f6ff7413ec77c259da9978fa2f053fb9693a
[ "MIT" ]
null
null
null
stb/__init__.py
eugenetriguba/stb-automator
f524f6ff7413ec77c259da9978fa2f053fb9693a
[ "MIT" ]
null
null
null
from stb.remote import Remote __version__ = "0.1.0" __all__ = ["Remote"]
12.5
29
0.693333
11
75
4
0.727273
0
0
0
0
0
0
0
0
0
0
0.047619
0.16
75
5
30
15
0.650794
0
0
0
0
0
0.146667
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
341ef63be6af53f6f469d99efd15238c38fb5c42
300
py
Python
mmdet/models/bbox_heads/__init__.py
ktw361/Local-Mid-Propagation
0a99e82cccf8c35bc5f6989af2702203def4c7a4
[ "Apache-2.0" ]
10
2020-08-13T17:51:20.000Z
2021-05-23T08:31:50.000Z
mmdet/models/bbox_heads/__init__.py
ktw361/Local-Mid-Propagation
0a99e82cccf8c35bc5f6989af2702203def4c7a4
[ "Apache-2.0" ]
null
null
null
mmdet/models/bbox_heads/__init__.py
ktw361/Local-Mid-Propagation
0a99e82cccf8c35bc5f6989af2702203def4c7a4
[ "Apache-2.0" ]
2
2020-09-07T08:33:43.000Z
2020-12-22T12:28:26.000Z
from .bbox_head import BBoxHead from .convfc_bbox_head import ConvFCBBoxHead, SharedFCBBoxHead from .double_bbox_head import DoubleConvFCBBoxHead from .rfcn_bbox_head import RfcnBBoxHead __all__ = [ 'BBoxHead', 'ConvFCBBoxHead', 'SharedFCBBoxHead', 'DoubleConvFCBBoxHead', 'RfcnBBoxHead', ]
30
77
0.806667
30
300
7.7
0.433333
0.138528
0.242424
0
0
0
0
0
0
0
0
0
0.116667
300
9
78
33.333333
0.871698
0
0
0
0
0
0.233333
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
341f1c61ef9445f339a1568dc9c0907d207b23b1
2,826
py
Python
yaci/dict_storage.py
aabdullah-bos/yaci
ed5031399cc8dab6fcebef7ab5d965b457ed3f9e
[ "MIT" ]
null
null
null
yaci/dict_storage.py
aabdullah-bos/yaci
ed5031399cc8dab6fcebef7ab5d965b457ed3f9e
[ "MIT" ]
17
2019-01-17T17:19:06.000Z
2021-08-23T19:52:22.000Z
yaci/dict_storage.py
aabdullah-bos/yaci
ed5031399cc8dab6fcebef7ab5d965b457ed3f9e
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from . import base_storage class DictStorage(base_storage.CacheStorage): """ Dictionary implementation of CacheStorage, stores values in memory. It should be noted that this is not truly a persistent cache, and that cache values will only last in the scope ...
27.436893
79
0.626327
347
2,826
5.008646
0.348703
0.041427
0.051784
0.063291
0.252014
0.228999
0.228999
0.228999
0.228999
0.228999
0
0
0.305025
2,826
102
80
27.705882
0.884929
0.545648
0
0.310345
0
0
0
0
0
0
0
0.009804
0
1
0.413793
false
0.103448
0.068966
0.034483
0.689655
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
342109c6e7b491cb86d035f202b2799d24cc68fe
135
py
Python
tests/conftest.py
MrThearMan/magic-specs
01741c1fb2e23774b8f637db3d8d74a078238164
[ "MIT" ]
null
null
null
tests/conftest.py
MrThearMan/magic-specs
01741c1fb2e23774b8f637db3d8d74a078238164
[ "MIT" ]
null
null
null
tests/conftest.py
MrThearMan/magic-specs
01741c1fb2e23774b8f637db3d8d74a078238164
[ "MIT" ]
null
null
null
from magic_specs import Definition __all__ = ["TestDefinition"] class TestDefinition(Definition): foo = 1 bar = 2
13.5
35
0.659259
14
135
6
0.857143
0
0
0
0
0
0
0
0
0
0
0.020202
0.266667
135
9
36
15
0.828283
0
0
0
0
0
0.111111
0
0
0
0
0
0
1
0
false
0
0.2
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
0
0
1
0
0
3
3474cac93d1796d0b844c5c6d5ca4e0f8c655bb1
358
py
Python
backend/avatar/utils.py
pyszczek/avatar
9be63ded42cfb9d19a4419bb6e298d0baa6d8f3b
[ "MIT" ]
1
2019-10-23T14:21:42.000Z
2019-10-23T14:21:42.000Z
backend/avatar/utils.py
pyszczek/avatar
9be63ded42cfb9d19a4419bb6e298d0baa6d8f3b
[ "MIT" ]
11
2020-06-05T23:53:32.000Z
2022-03-12T00:02:05.000Z
backend/avatar/utils.py
pyszczek/avatar
9be63ded42cfb9d19a4419bb6e298d0baa6d8f3b
[ "MIT" ]
1
2019-10-23T13:12:14.000Z
2019-10-23T13:12:14.000Z
from django.utils import timezone from django.utils.crypto import get_random_string def upload_to(instance, filename): ext = str(filename).split(".")[-1] date_now = timezone.now().strftime("%Y-%m-%d") filename = "{0}.{1}".format(get_random_string(64), ext) return '{0}/{1}'.format(date_now, filename) ...
25.571429
59
0.675978
52
358
4.519231
0.538462
0.085106
0.12766
0
0
0
0
0
0
0
0
0.022876
0.145251
358
13
60
27.538462
0.745098
0
0
0
0
0
0.064246
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
cab818fab548527f9e54485b90b3070af67a8fa7
166
py
Python
Python/18 Mutations.py
hnwarid/HackerRankExercises
5f6f710387b61cbf225e51517e702009659f4416
[ "MIT" ]
null
null
null
Python/18 Mutations.py
hnwarid/HackerRankExercises
5f6f710387b61cbf225e51517e702009659f4416
[ "MIT" ]
null
null
null
Python/18 Mutations.py
hnwarid/HackerRankExercises
5f6f710387b61cbf225e51517e702009659f4416
[ "MIT" ]
null
null
null
def mutate_string(string, position, character): stringlist = list(string) stringlist[position] = character string = ''.join(stringlist) return string
27.666667
47
0.710843
17
166
6.882353
0.529412
0.290598
0
0
0
0
0
0
0
0
0
0
0.186747
166
5
48
33.2
0.866667
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cabdb90d5083833200564f2fdb1483dd906d22eb
207
py
Python
src/apps/reservation/urls.py
lizaveta-stasevich/booking
acebd0d9d3035e802cdf6e719a142fe5f74ec2c1
[ "Apache-2.0" ]
null
null
null
src/apps/reservation/urls.py
lizaveta-stasevich/booking
acebd0d9d3035e802cdf6e719a142fe5f74ec2c1
[ "Apache-2.0" ]
6
2020-06-06T00:11:43.000Z
2022-02-10T09:33:51.000Z
src/apps/reservation/urls.py
lizaveta-stasevich/booking
acebd0d9d3035e802cdf6e719a142fe5f74ec2c1
[ "Apache-2.0" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path("", views.ReservateView.as_view(), name='reservation'), path('<int:pk>/', views.TicketView.as_view(), name='train-detail'), ]
20.7
71
0.676329
26
207
5.307692
0.653846
0.086957
0.144928
0
0
0
0
0
0
0
0
0
0.140097
207
9
72
23
0.775281
0
0
0
0
0
0.154589
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
cac5af0f758cc27ceccc34c0f6b783b3832de67e
1,792
py
Python
test/test_user.py
sirrah23/GTDApp
25a8709af925d8344b462974b58a865b34ba2a44
[ "MIT" ]
null
null
null
test/test_user.py
sirrah23/GTDApp
25a8709af925d8344b462974b58a865b34ba2a44
[ "MIT" ]
null
null
null
test/test_user.py
sirrah23/GTDApp
25a8709af925d8344b462974b58a865b34ba2a44
[ "MIT" ]
null
null
null
from GTDApp.repo import UserRepo from utils import drop_db, random_objectid import pytest @pytest.fixture def resource(): drop_db("gtd_test") # TODO: read from config? def test_store_user(resource): UserRepo.add_user(username="user1", password="mypass", email="user@gtd.com") users = UserRepo.get_all_user...
35.84
96
0.716518
256
1,792
4.789063
0.214844
0.089723
0.068516
0.085644
0.731648
0.66721
0.640294
0.625612
0.625612
0.625612
0
0.013271
0.15904
1,792
50
97
35.84
0.800265
0.045201
0
0.512195
0
0
0.125878
0
0
0
0
0.02
0.365854
1
0.121951
false
0.195122
0.073171
0
0.195122
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
3
cacdc5ff28a66527a7563d9c01c56a4cce90b41c
1,257
py
Python
SoftUni-Basic/conditional_statements_advanced/exercises/new_house.py
Darkartt/SoftUni
23d65ddb9f1e454c9b1338a60dc52f5a64c30bc9
[ "MIT" ]
null
null
null
SoftUni-Basic/conditional_statements_advanced/exercises/new_house.py
Darkartt/SoftUni
23d65ddb9f1e454c9b1338a60dc52f5a64c30bc9
[ "MIT" ]
null
null
null
SoftUni-Basic/conditional_statements_advanced/exercises/new_house.py
Darkartt/SoftUni
23d65ddb9f1e454c9b1338a60dc52f5a64c30bc9
[ "MIT" ]
null
null
null
flowers = input() amount_flowers = int(input()) budget = int(input()) final_price = 0 one_rose_price = 5 one_Dahlias_price = 3.80 one_Tulips_price = 2.80 one_Narcissus_price = 3 one_Gladiolus_price = 2.50 if flowers == "Roses": final_price = amount_flowers * one_rose_price if amount_flowers > 80: fin...
30.658537
116
0.698488
182
1,257
4.516484
0.247253
0.291971
0.182482
0.243309
0.467153
0.309002
0.309002
0.309002
0.309002
0.309002
0
0.039801
0.200477
1,257
41
117
30.658537
0.778109
0
0
0.121212
0
0.030303
0.160572
0
0
0
0
0
0
1
0
false
0
0
0
0
0.060606
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cad5e92dd52f15c225013bab10efbd3a2732757b
1,392
py
Python
src/analysis/proper_experiments/v400/pcgrl_how_many_ran.py
Michael-Beukman/NEATNoveltyPCG
2441d80eb0f6dd288a00ebb56c432963cefc879d
[ "MIT" ]
5
2022-01-26T23:19:46.000Z
2022-02-10T20:24:19.000Z
src/analysis/proper_experiments/v400/pcgrl_how_many_ran.py
Michael-Beukman/NEATNoveltyPCG
2441d80eb0f6dd288a00ebb56c432963cefc879d
[ "MIT" ]
null
null
null
src/analysis/proper_experiments/v400/pcgrl_how_many_ran.py
Michael-Beukman/NEATNoveltyPCG
2441d80eb0f6dd288a00ebb56c432963cefc879d
[ "MIT" ]
null
null
null
def main(): dic = { 'wide': [ 'logs/pipelines/all_pcgrl/pcgrl_smb_wide_5.mscluster41.144549.out', 'logs/pipelines/all_pcgrl/pcgrl_smb_wide_4.mscluster40.144548.out', 'logs/pipelines/all_pcgrl/pcgrl_smb_wide_3.mscluster18.144536.out', 'logs/pipelines/all_pcgrl/...
48
109
0.618534
192
1,392
4.213542
0.369792
0.160692
0.197775
0.25958
0.449938
0.449938
0.449938
0.365884
0
0
0
0.093333
0.24569
1,392
29
110
48
0.677143
0
0
0
0
0.035714
0.559225
0.466619
0
0
0
0
0
1
0.035714
false
0
0
0
0.035714
0.035714
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1b0080cf95d1ce102e5014e12382c6d325ad683f
187
py
Python
data_collection/gazette/spiders/sc_luzerna.py
Jefersonalves/diario-oficial
9a4bdfe2e31414c993d88831a67160c49a5ee657
[ "MIT" ]
3
2021-08-18T17:50:31.000Z
2021-11-12T23:36:33.000Z
data_collection/gazette/spiders/sc_luzerna.py
Jefersonalves/diario-oficial
9a4bdfe2e31414c993d88831a67160c49a5ee657
[ "MIT" ]
4
2021-02-10T02:36:48.000Z
2022-03-02T14:55:34.000Z
data_collection/gazette/spiders/sc_luzerna.py
Jefersonalves/diario-oficial
9a4bdfe2e31414c993d88831a67160c49a5ee657
[ "MIT" ]
null
null
null
from gazette.spiders.base import FecamGazetteSpider class ScLuzernaSpider(FecamGazetteSpider): name = "sc_luzerna" FECAM_QUERY = "cod_entidade:155" TERRITORY_ID = "4210035"
23.375
51
0.764706
20
187
6.95
0.95
0
0
0
0
0
0
0
0
0
0
0.063291
0.15508
187
7
52
26.714286
0.816456
0
0
0
0
0
0.176471
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
1b0c18f467cef050baf5d04a2c1f2add72c2c792
120
py
Python
test.py
Ebonsignori/Autoclicker
9692a830ef55fd79d91651b0b10204a1a1878b96
[ "MIT" ]
null
null
null
test.py
Ebonsignori/Autoclicker
9692a830ef55fd79d91651b0b10204a1a1878b96
[ "MIT" ]
null
null
null
test.py
Ebonsignori/Autoclicker
9692a830ef55fd79d91651b0b10204a1a1878b96
[ "MIT" ]
null
null
null
import pyautogui as pag x, y = pag.locateCenterOnScreen("osrs_x_bow_spell.PNG") pag.moveTo(x, y) print(pag.position())
20
55
0.758333
20
120
4.4
0.7
0.045455
0
0
0
0
0
0
0
0
0
0
0.1
120
5
56
24
0.814815
0
0
0
0
0
0.166667
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
1b192c2436f410afdfbb65aa3124d4ce9f50a170
510
py
Python
test_main.py
victor-cleber/data_analysis_import_data
c2eba81602cafc41b566947988d45914b203a018
[ "MIT" ]
null
null
null
test_main.py
victor-cleber/data_analysis_import_data
c2eba81602cafc41b566947988d45914b203a018
[ "MIT" ]
null
null
null
test_main.py
victor-cleber/data_analysis_import_data
c2eba81602cafc41b566947988d45914b203a018
[ "MIT" ]
null
null
null
import unittest import main class Test_Main_Menu(unittest.TestCase): def test_import_files_option(self): """ Test """ option = 1 result = menu(option) self.assertEqual(result, "import files") def test_show_logs_option(self): pass def test_show_numb...
17.586207
51
0.623529
61
510
4.786885
0.42623
0.119863
0.113014
0.15411
0.130137
0
0
0
0
0
0
0.00277
0.292157
510
28
52
18.214286
0.806094
0.007843
0
0.235294
0
0
0.041494
0
0
0
0
0
0.058824
1
0.294118
false
0.235294
0.294118
0
0.647059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
1b1d2024546b86f4678ba1e89502d5a36e1a2e8c
56
py
Python
synpost/__init__.py
blakev/synpost
7db705463499e9ea609b9864b769d482b4f34a5d
[ "MIT" ]
null
null
null
synpost/__init__.py
blakev/synpost
7db705463499e9ea609b9864b769d482b4f34a5d
[ "MIT" ]
null
null
null
synpost/__init__.py
blakev/synpost
7db705463499e9ea609b9864b769d482b4f34a5d
[ "MIT" ]
null
null
null
__author__ = 'Blake' from build import Build as build
11.2
32
0.75
8
56
4.75
0.75
0
0
0
0
0
0
0
0
0
0
0
0.196429
56
4
33
14
0.844444
0
0
0
0
0
0.090909
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1b1e51ceb44964c619b4cb06ba27ba3e06081a48
1,196
py
Python
General/files/oop_patterns/state.py
dmryutov/web-developer-cheatsheet
b7ed1f662337dd6c31f3c5056eb014b0a9c64258
[ "MIT" ]
2
2020-07-07T11:39:32.000Z
2022-02-14T10:13:36.000Z
General/files/oop_patterns/state.py
dmryutov/web-developer-cheatsheet
b7ed1f662337dd6c31f3c5056eb014b0a9c64258
[ "MIT" ]
null
null
null
General/files/oop_patterns/state.py
dmryutov/web-developer-cheatsheet
b7ed1f662337dd6c31f3c5056eb014b0a9c64258
[ "MIT" ]
8
2019-06-29T04:36:40.000Z
2022-02-17T03:50:48.000Z
class LampStateBase(object): """Состояние лампы""" def get_color(self): raise NotImplementedError() class GreenLampState(LampStateBase): def get_color(self): return 'Green' class RedLampState(LampStateBase): def get_color(self): return 'Red' class BlueLampState(LampStateBas...
21.745455
66
0.605351
139
1,196
4.992806
0.280576
0.095101
0.138329
0.086455
0.317003
0.242075
0.095101
0.095101
0.095101
0.095101
0
0.007009
0.284281
1,196
55
67
21.745455
0.803738
0.038462
0
0.228571
0
0
0.010526
0
0
0
0
0
0
1
0.228571
false
0
0
0.114286
0.514286
0.028571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1b288c52aca6d83d621cb8ffc621d943698a6e4b
298
py
Python
zcrmsdk/src/com/zoho/crm/api/email_templates/__init__.py
zoho/zohocrm-python-sdk-2.1
cde6fcd1c5c8f7a572154ebb2b947ec697c24209
[ "Apache-2.0" ]
null
null
null
zcrmsdk/src/com/zoho/crm/api/email_templates/__init__.py
zoho/zohocrm-python-sdk-2.1
cde6fcd1c5c8f7a572154ebb2b947ec697c24209
[ "Apache-2.0" ]
null
null
null
zcrmsdk/src/com/zoho/crm/api/email_templates/__init__.py
zoho/zohocrm-python-sdk-2.1
cde6fcd1c5c8f7a572154ebb2b947ec697c24209
[ "Apache-2.0" ]
null
null
null
from .api_exception import APIException from .response_handler import ResponseHandler from .attachment import Attachment from .email_templates_operations import EmailTemplatesOperations, GetEmailTemplatesParam from .response_wrapper import ResponseWrapper from .email_template import EmailTemplate
42.571429
88
0.892617
31
298
8.387097
0.580645
0.092308
0
0
0
0
0
0
0
0
0
0
0.083893
298
6
89
49.666667
0.952381
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
1b3942e9ba7e5825feff43cc1d35569cf5ffbecc
152
py
Python
src/Plugin/Break.py
eblade/pyroman
a544eb2e13b45a20e4f11b28c7b349e27594452e
[ "MIT" ]
null
null
null
src/Plugin/Break.py
eblade/pyroman
a544eb2e13b45a20e4f11b28c7b349e27594452e
[ "MIT" ]
null
null
null
src/Plugin/Break.py
eblade/pyroman
a544eb2e13b45a20e4f11b28c7b349e27594452e
[ "MIT" ]
null
null
null
#!/usr/bin/python from Generic import Generic class Break(Generic): def __init__(self): super(Break, self).__init__() self.init()
16.888889
37
0.644737
19
152
4.736842
0.631579
0.177778
0
0
0
0
0
0
0
0
0
0
0.223684
152
8
38
19
0.762712
0.105263
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
1b4d5b3b2ece3067bbcd50c77642369fafdf4638
131
py
Python
spider/spider01.py
lebronjames/python1
06bfb3d85ea4415217d65ab37ca22b10e217a74a
[ "Apache-2.0" ]
null
null
null
spider/spider01.py
lebronjames/python1
06bfb3d85ea4415217d65ab37ca22b10e217a74a
[ "Apache-2.0" ]
null
null
null
spider/spider01.py
lebronjames/python1
06bfb3d85ea4415217d65ab37ca22b10e217a74a
[ "Apache-2.0" ]
null
null
null
#coding:utf-8 from urllib.request import urlopen html=urlopen("http://tieba.baidu.com/") print(html.read().decode('utf-8')) #解决中文编码
32.75
42
0.740458
21
131
4.619048
0.809524
0.082474
0
0
0
0
0
0
0
0
0
0.016129
0.053435
131
4
42
32.75
0.766129
0.137405
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1bd2cb291510b8683f1a6096d636283f8e63c805
331
py
Python
strategy.py
fearlessspider/IKH-Quant-Connect
7545fdfcca4b83a02789e5572cd3f5e107f52985
[ "MIT" ]
3
2021-03-02T13:07:15.000Z
2021-11-15T09:51:07.000Z
strategy.py
ikamanu/IKH-Quant-Connect
7545fdfcca4b83a02789e5572cd3f5e107f52985
[ "MIT" ]
null
null
null
strategy.py
ikamanu/IKH-Quant-Connect
7545fdfcca4b83a02789e5572cd3f5e107f52985
[ "MIT" ]
3
2021-04-05T04:18:03.000Z
2021-06-28T17:59:08.000Z
class Strategy: moneymanagement = None def __init__(self, moneymanagement): self.moneymanagement = moneymanagement def can_find_pattern(self, data): if self.moneymanagement.checkDrawdown() < - float(self.moneymanagement.algorithm.Portfolio.Cash) * 0.1: return False r...
23.642857
111
0.682779
33
331
6.666667
0.666667
0.345455
0
0
0
0
0
0
0
0
0
0.007905
0.23565
331
13
112
25.461538
0.86166
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.75
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
1bd3dbdc1cc7eaf5089a486ae1be33c3ead7d270
717
py
Python
python/en/_pandas/my_example/pd_read_csv_df_to_numpy.py
aimldl/coding
70ddbfaa454ab92fd072ee8dc614ecc330b34a70
[ "MIT" ]
null
null
null
python/en/_pandas/my_example/pd_read_csv_df_to_numpy.py
aimldl/coding
70ddbfaa454ab92fd072ee8dc614ecc330b34a70
[ "MIT" ]
null
null
null
python/en/_pandas/my_example/pd_read_csv_df_to_numpy.py
aimldl/coding
70ddbfaa454ab92fd072ee8dc614ecc330b34a70
[ "MIT" ]
null
null
null
''' Read a dataframe into a numpy array. ''' import os import numpy as np import pandas as pd if __name__ == '__main__': dir_input = 'input' filename = 'example.csv' file = os.path.join( dir_input, filename ) df = pd.read_csv( file, header=0 ) data_np = df.to_numpy() ...
29.875
74
0.447699
84
717
3.666667
0.619048
0.058442
0.038961
0
0
0
0
0
0
0
0
0.27027
0.380753
717
23
75
31.173913
0.423423
0.585774
0
0
0
0
0.084806
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1bd472054ea7ecb9a657f1fddea58341f7ad99b4
64
py
Python
python/taichi/system/__init__.py
rezahojabr/taichi
122c0352ec480b740a4118819458cbf08d2e5ddb
[ "MIT" ]
3
2020-01-08T02:58:51.000Z
2020-10-28T07:01:58.000Z
python/taichi/system/__init__.py
rezahojabr/taichi
122c0352ec480b740a4118819458cbf08d2e5ddb
[ "MIT" ]
1
2019-10-20T08:46:09.000Z
2019-10-20T08:46:09.000Z
python/taichi/system/__init__.py
rezahojabr/taichi
122c0352ec480b740a4118819458cbf08d2e5ddb
[ "MIT" ]
1
2020-03-25T16:37:00.000Z
2020-03-25T16:37:00.000Z
from .unit_watcher import UnitWatcher __all__ = ['UnitWatcher']
21.333333
37
0.796875
7
64
6.571429
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.109375
64
3
38
21.333333
0.807018
0
0
0
0
0
0.169231
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
59f3cc616ee7131349354a5ed58beabcfc6d9813
25,023
py
Python
train.py
hanebarla/CrowdCounting-using-PedestrianFlow
0f7c196a8b396d92901172a334ecf0256f30ff8a
[ "MIT" ]
null
null
null
train.py
hanebarla/CrowdCounting-using-PedestrianFlow
0f7c196a8b396d92901172a334ecf0256f30ff8a
[ "MIT" ]
null
null
null
train.py
hanebarla/CrowdCounting-using-PedestrianFlow
0f7c196a8b396d92901172a334ecf0256f30ff8a
[ "MIT" ]
null
null
null
import os from random import shuffle from lib.model import CANNet2s, SimpleCNN from lib.utils import save_checkpoint, fix_model_state_dict import torch from torch import nn from torch.autograd import Variable from torchvision import datasets, models, transforms import torch.nn.functional as F import numpy as np impor...
56.105381
666
0.623586
4,043
25,023
3.659164
0.069503
0.024064
0.116804
0.082195
0.744018
0.714614
0.700825
0.671962
0.657023
0.642896
0
0.066347
0.175399
25,023
445
667
56.231461
0.650625
0.064021
0
0.442815
0
0
0.04906
0.004017
0
0
0
0
0
1
0.020528
false
0
0.046921
0
0.085044
0.043988
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9408388e20b13c7bf57e205ffcce4fb90011104a
6,539
py
Python
BookClub/tests/views/reviews_views/test_create_book_review_comment_view.py
amir-rahim/BookClubSocialNetwork
b69a07cd33592f700214252a64c7c1c53845625d
[ "MIT" ]
4
2022-02-04T02:11:48.000Z
2022-03-12T21:38:01.000Z
BookClub/tests/views/reviews_views/test_create_book_review_comment_view.py
amir-rahim/BookClubSocialNetwork
b69a07cd33592f700214252a64c7c1c53845625d
[ "MIT" ]
51
2022-02-01T18:56:23.000Z
2022-03-31T15:35:37.000Z
BookClub/tests/views/reviews_views/test_create_book_review_comment_view.py
amir-rahim/BookClubSocialNetwork
b69a07cd33592f700214252a64c7c1c53845625d
[ "MIT" ]
null
null
null
"""Unit testing of the Create Review Comment view""" from django.contrib import messages from django.contrib.messages import get_messages from django.test import TestCase, tag from django.urls import reverse from BookClub.models import BookReview, BookReviewComment, User from BookClub.tests.helpers import LogInTester,...
46.707143
113
0.686649
787
6,539
5.437103
0.151207
0.091143
0.07011
0.049077
0.748306
0.726338
0.702501
0.675859
0.644543
0.644543
0
0.014358
0.211806
6,539
139
114
47.043165
0.815871
0.013764
0
0.568
0
0.008
0.119602
0.047064
0
0
0
0
0.192
1
0.064
false
0.04
0.048
0
0.128
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
941fe631e7f345c260c7a15991b311a020db5d0f
2,452
py
Python
blockcert/migrations/0003_auto_20180623_1650.py
amit502/digi_cert
a0d9669ed1470961509b69e9c9b18bf197079d3d
[ "MIT" ]
null
null
null
blockcert/migrations/0003_auto_20180623_1650.py
amit502/digi_cert
a0d9669ed1470961509b69e9c9b18bf197079d3d
[ "MIT" ]
null
null
null
blockcert/migrations/0003_auto_20180623_1650.py
amit502/digi_cert
a0d9669ed1470961509b69e9c9b18bf197079d3d
[ "MIT" ]
2
2018-08-08T14:46:35.000Z
2021-07-13T12:08:16.000Z
# Generated by Django 2.0.2 on 2018-06-23 11:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blockcert', '0002_remove_profile_birth_date'), ] operations = [ migrations.RemoveField( model_name='profile', name='...
29.902439
64
0.53385
210
2,452
6.038095
0.314286
0.099369
0.176656
0.22082
0.733438
0.733438
0.493691
0.40694
0.397476
0.397476
0
0.01853
0.339723
2,452
81
65
30.271605
0.76467
0.018352
0
0.666667
1
0
0.136798
0.030769
0
0
0
0
0
1
0
false
0
0.013333
0
0.053333
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9429cba66c982481029c0106edab6ec6a0a63ed1
1,650
py
Python
api/tests/helpers/utils.py
daichi-yoshikawa/django-boilerplate
bcae204d28ed83d50b2300d97e7329f54ed9f7da
[ "MIT" ]
4
2021-02-17T01:53:06.000Z
2021-09-30T13:16:26.000Z
api/tests/helpers/utils.py
daichi-yoshikawa/django-boilerplate
bcae204d28ed83d50b2300d97e7329f54ed9f7da
[ "MIT" ]
null
null
null
api/tests/helpers/utils.py
daichi-yoshikawa/django-boilerplate
bcae204d28ed83d50b2300d97e7329f54ed9f7da
[ "MIT" ]
1
2022-03-18T08:39:29.000Z
2022-03-18T08:39:29.000Z
import pytest from rest_framework import status from core import models def is_ok(status_code): return status_code in [status.HTTP_200_OK, status.HTTP_201_CREATED] def default_password(): return 'testtest' def first_name_from(seed, as_dict=False): ret = f'F{str(seed).zfill(3)}' return { 'first_name': ret }...
25
79
0.70303
262
1,650
4.209924
0.21374
0.079782
0.076156
0.050771
0.597461
0.461469
0.359021
0.261106
0.166818
0.166818
0
0.00721
0.159394
1,650
65
80
25.384615
0.788032
0
0
0.372549
0
0
0.130303
0.061212
0
0
0
0
0
1
0.215686
false
0.058824
0.058824
0.058824
0.509804
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
9439435d991cedc8a8614875c697d387c858b60a
838
py
Python
hydra-configs-torchvision/hydra_configs/torchvision/__init__.py
LaudateCorpus1/hydra-torch
0bd477ce14fe31de511004ab745ce4f3b6b2e7a5
[ "MIT" ]
149
2020-10-14T04:15:09.000Z
2022-03-31T13:10:47.000Z
hydra-configs-torchvision/hydra_configs/torchvision/__init__.py
LaudateCorpus1/hydra-torch
0bd477ce14fe31de511004ab745ce4f3b6b2e7a5
[ "MIT" ]
57
2020-10-15T17:21:49.000Z
2022-02-25T18:25:18.000Z
hydra-configs-torchvision/hydra_configs/torchvision/__init__.py
LaudateCorpus1/hydra-torch
0bd477ce14fe31de511004ab745ce4f3b6b2e7a5
[ "MIT" ]
15
2020-10-16T20:32:43.000Z
2022-02-16T06:41:35.000Z
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved # # Generated by configen, do not edit. # See https://github.com/facebookresearch/hydra/tree/main/tools/configen # fmt: off # isort:skip_file # flake8: noqa from packaging import version from pkg_resources import get_distribution import warnings im...
44.105263
245
0.798329
111
838
5.891892
0.63964
0.137615
0.070336
0.091743
0
0
0
0
0
0
0
0.004021
0.109785
838
18
246
46.555556
0.872654
0.347255
0
0
1
0.142857
0.460967
0.141264
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
9439b8631ef9244382e975bae3a8ddbcebf77495
673
py
Python
Desafios/Mundo 3 - Modulos/ex108/moeda.py
lucasllimati/CursoEmVideo
01d75626baf8b82f141d62f681e55a9bda0099fd
[ "MIT" ]
null
null
null
Desafios/Mundo 3 - Modulos/ex108/moeda.py
lucasllimati/CursoEmVideo
01d75626baf8b82f141d62f681e55a9bda0099fd
[ "MIT" ]
null
null
null
Desafios/Mundo 3 - Modulos/ex108/moeda.py
lucasllimati/CursoEmVideo
01d75626baf8b82f141d62f681e55a9bda0099fd
[ "MIT" ]
null
null
null
# Moeda # 108 # Crie um módulo chamado moeda.py que tenha as funções incorporadas aumentar(), diminuir(), dobro() e metade(). Faça também um programa que importe esse módulo e use algumas dessas funções. def aumentar(preco = 0, taxa = 0): return preco + (preco * taxa / 100) def diminuir(preco = 0, taxa = 0): ...
28.041667
189
0.632987
98
673
4.346939
0.428571
0.070423
0.112676
0.051643
0.2723
0.2723
0.173709
0.173709
0.173709
0.173709
0
0.061567
0.203566
673
24
190
28.041667
0.733209
0.292719
0
0
0
0
0.156448
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9447b81294443e2479952a84d29eb1edb9f218c5
107
py
Python
src/datahub/src/api/v1/models/supported_actuals.py
mibrl12/data-monitor-poc
26127ede9aae7e86aa6f170ea06acedc0c9bd4fd
[ "MIT" ]
null
null
null
src/datahub/src/api/v1/models/supported_actuals.py
mibrl12/data-monitor-poc
26127ede9aae7e86aa6f170ea06acedc0c9bd4fd
[ "MIT" ]
null
null
null
src/datahub/src/api/v1/models/supported_actuals.py
mibrl12/data-monitor-poc
26127ede9aae7e86aa6f170ea06acedc0c9bd4fd
[ "MIT" ]
null
null
null
from enum import Enum class SupportedActuals(Enum): PRICE = 1 PRODUCTION = 2 CONSUMPTION = 3
13.375
29
0.672897
13
107
5.538462
0.846154
0
0
0
0
0
0
0
0
0
0
0.038462
0.271028
107
7
30
15.285714
0.884615
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
846fd4278d421fc6776a469ceff1d5cc94519b19
182
py
Python
app/extensions/common.py
eco-community/lottery-bot
f43718199407ea2acf66ca5626fc903c96b1f1e7
[ "MIT" ]
1
2021-04-06T17:56:26.000Z
2021-04-06T17:56:26.000Z
app/extensions/common.py
eco-community/lottery-bot
f43718199407ea2acf66ca5626fc903c96b1f1e7
[ "MIT" ]
null
null
null
app/extensions/common.py
eco-community/lottery-bot
f43718199407ea2acf66ca5626fc903c96b1f1e7
[ "MIT" ]
2
2021-04-05T05:52:59.000Z
2021-12-27T20:06:31.000Z
from discord.ext import commands class CommonCog(commands.Cog): def __init__(self, bot: commands.Bot): self.bot = bot def setup(bot): bot.add_cog(CommonCog(bot))
16.545455
42
0.686813
26
182
4.615385
0.538462
0.116667
0
0
0
0
0
0
0
0
0
0
0.197802
182
10
43
18.2
0.821918
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
847d030bddb23039e8291f97c29ec68b44cb602b
259
py
Python
util/dice.py
botamochi0x12/Python-Roguelike-Framework
230101fb076e3d2a8009ce3320d25cf197192328
[ "MIT" ]
25
2016-12-08T14:31:16.000Z
2021-12-16T11:04:57.000Z
util/dice.py
botamochi0x12/Python-Roguelike-Framework
230101fb076e3d2a8009ce3320d25cf197192328
[ "MIT" ]
4
2015-01-10T23:37:02.000Z
2016-08-07T16:23:39.000Z
util/dice.py
botamochi0x12/Python-Roguelike-Framework
230101fb076e3d2a8009ce3320d25cf197192328
[ "MIT" ]
11
2016-10-01T20:09:24.000Z
2021-08-15T20:46:14.000Z
class Dice(object): __slots__ = ['sides'] def __init__(self, sides): self.sides = sides class DiceStack(object): __slots__ = ['amount', 'dice'] def __init__(self, amount, dice): self.amount = amount self.dice = dice
19.923077
37
0.598456
29
259
4.793103
0.344828
0.158273
0.158273
0
0
0
0
0
0
0
0
0
0.27027
259
13
38
19.923077
0.73545
0
0
0
0
0
0.057692
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
84884d0a3e495f443b084dbcc78497ab0ed6bb7c
150
py
Python
loopr/api/row/abs_row.py
looprai/loopr-python-sdk
b2eb4eae29dcd0f8054ed19bb08ebf0c9978f6f0
[ "MIT" ]
4
2020-10-22T06:36:01.000Z
2021-01-22T11:59:59.000Z
loopr/api/row/abs_row.py
looprai/loopr-python-sdk
b2eb4eae29dcd0f8054ed19bb08ebf0c9978f6f0
[ "MIT" ]
null
null
null
loopr/api/row/abs_row.py
looprai/loopr-python-sdk
b2eb4eae29dcd0f8054ed19bb08ebf0c9978f6f0
[ "MIT" ]
null
null
null
import abc class AbsRow(metaclass=abc.ABCMeta): @staticmethod @abc.abstractmethod def _add_row_instance(client, **kwargs): pass
16.666667
44
0.693333
17
150
5.941176
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.213333
150
8
45
18.75
0.855932
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.166667
0.166667
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
84a3a58a62cec255b1b72dea57b50d05f9401b1c
1,024
py
Python
hydra/app/call.py
Hydraverse/hypy
7f276975747ba86296044526acc090e540ee77cc
[ "Apache-2.0" ]
3
2021-11-18T19:04:10.000Z
2022-01-26T04:53:51.000Z
hydra/app/call.py
Hydraverse/hypy
7f276975747ba86296044526acc090e540ee77cc
[ "Apache-2.0" ]
null
null
null
hydra/app/call.py
Hydraverse/hypy
7f276975747ba86296044526acc090e540ee77cc
[ "Apache-2.0" ]
null
null
null
"""Contract call to method ID converter. Will eventually also generate function calls based on params specified. """ from argparse import ArgumentParser from hydra.util import sha from hydra.app.cli import HydraApp from hydra.test import Test @HydraApp.register(name="call", desc=__doc__, version="1.00") class Call(...
23.813953
92
0.680664
133
1,024
5.022556
0.481203
0.041916
0.035928
0.04491
0.158683
0.158683
0.158683
0.158683
0
0
0
0.008505
0.196289
1,024
42
93
24.380952
0.803159
0.167969
0
0.090909
1
0
0.064671
0
0
0
0
0
0.090909
1
0.227273
false
0
0.181818
0.045455
0.545455
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3