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
3e410665f2914febcefd29bc26211733f3b6cf88
1,988
py
Python
a4-py/index.py
francisgerman70/CSC370
0682ea5abdfdbc87b76efd18f98e27a6c49d2b45
[ "MIT" ]
null
null
null
a4-py/index.py
francisgerman70/CSC370
0682ea5abdfdbc87b76efd18f98e27a6c49d2b45
[ "MIT" ]
null
null
null
a4-py/index.py
francisgerman70/CSC370
0682ea5abdfdbc87b76efd18f98e27a6c49d2b45
[ "MIT" ]
8
2022-03-02T19:39:03.000Z
2022-03-22T06:21:25.000Z
# Definition of a Linearised B+-tree index class with fan-out 3 # The keys are unsigned (i.e., non-negative) integers. # # This is a *linearised* tree, i.e., it is implemented as an array rather # than with pointers. As you have seen in previous classes, one can # implement a binary tree of height *h* with an arra...
45.181818
84
0.676056
351
1,988
3.77208
0.356125
0.037009
0.037764
0.05287
0.293051
0.293051
0.293051
0.293051
0.274924
0.226586
0
0.013963
0.243461
1,988
43
85
46.232558
0.866356
0.747988
0
0
0
0
0
0
0
0
0
0
0
1
0.357143
false
0
0.142857
0.285714
0.928571
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
3e48ede201d56980ee505898e6bc9ec684eb0932
7,569
py
Python
utils/loss.py
kyotovision-public/multimodal-material-segmentation
2f057e9efca0780a887c97fbca9fcfb49fb4d03a
[ "MIT" ]
null
null
null
utils/loss.py
kyotovision-public/multimodal-material-segmentation
2f057e9efca0780a887c97fbca9fcfb49fb4d03a
[ "MIT" ]
null
null
null
utils/loss.py
kyotovision-public/multimodal-material-segmentation
2f057e9efca0780a887c97fbca9fcfb49fb4d03a
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import numpy as np KITTI_LOSS_WEIGHT = torch.tensor([ [1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], # background [0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0...
45.323353
133
0.505219
1,505
7,569
2.501661
0.086379
0.427092
0.60239
0.758566
0.592032
0.556972
0.556972
0.556441
0.530943
0.477291
0
0.173705
0.283525
7,569
166
134
45.596386
0.520561
0.094596
0
0.365854
0
0
0.004115
0
0
0
0
0
0.01626
1
0.056911
false
0
0.02439
0
0.162602
0.04878
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
3e54742d042737a415958421036eb141bdd3ae61
26
py
Python
JapaneseTokenizer/common/__init__.py
fumankaitori/JapaneseTokenizers
3bdfb6be73de0f78e5c08f3a51376ad3efa00b6c
[ "MIT" ]
134
2015-12-14T05:05:41.000Z
2022-03-27T15:52:30.000Z
JapaneseTokenizer/common/__init__.py
fumankaitori/JapaneseTokenizers
3bdfb6be73de0f78e5c08f3a51376ad3efa00b6c
[ "MIT" ]
40
2016-03-29T05:41:50.000Z
2020-07-08T08:54:50.000Z
JapaneseTokenizer/common/__init__.py
fumankaitori/JapaneseTokenizers
3bdfb6be73de0f78e5c08f3a51376ad3efa00b6c
[ "MIT" ]
22
2016-01-27T01:17:59.000Z
2022-02-15T13:46:39.000Z
__author__ = 'kensuke-mi'
13
25
0.730769
3
26
5
1
0
0
0
0
0
0
0
0
0
0
0
0.115385
26
1
26
26
0.652174
0
0
0
0
0
0.384615
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
3e567972e31f7b128c60c719f7e16254c58aa6da
118
py
Python
testapp/customfields/__init__.py
stevelittlefish/easyforms
7944b83ec94a29ca55777d16536e13cbf8f6996f
[ "Apache-2.0" ]
5
2017-04-27T09:08:33.000Z
2020-08-25T21:54:56.000Z
testapp/customfields/__init__.py
stevelittlefish/easyforms
7944b83ec94a29ca55777d16536e13cbf8f6996f
[ "Apache-2.0" ]
8
2021-01-15T15:42:44.000Z
2022-01-13T00:41:20.000Z
testapp/customfields/__init__.py
stevelittlefish/easyforms
7944b83ec94a29ca55777d16536e13cbf8f6996f
[ "Apache-2.0" ]
null
null
null
""" Custom fields package """ from .customfields import * __author__ = 'Stephen Brown (Little Fish Solutions LTD)'
13.111111
56
0.720339
13
118
6.230769
1
0
0
0
0
0
0
0
0
0
0
0
0.169492
118
8
57
14.75
0.826531
0.177966
0
0
0
0
0.465909
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
3e734254e83652f238829868f2615efb0d3a9fe5
84
py
Python
meddlr/transforms/param_kind.py
ad12/meddlr
dda5a4ad7855de3a34331c60599e3253f980e989
[ "Apache-2.0" ]
23
2021-11-05T02:00:01.000Z
2022-03-21T15:35:38.000Z
meddlr/transforms/param_kind.py
ad12/meddlr
dda5a4ad7855de3a34331c60599e3253f980e989
[ "Apache-2.0" ]
29
2021-11-04T22:18:26.000Z
2022-03-24T01:04:53.000Z
meddlr/transforms/param_kind.py
ad12/meddlr
dda5a4ad7855de3a34331c60599e3253f980e989
[ "Apache-2.0" ]
1
2022-01-25T22:34:51.000Z
2022-01-25T22:34:51.000Z
from enum import Enum class ParamKind(Enum): SINGLE_ARG = 0 MULTI_ARG = 1
12
22
0.678571
13
84
4.230769
0.769231
0
0
0
0
0
0
0
0
0
0
0.032258
0.261905
84
6
23
14
0.854839
0
0
0
0
0
0
0
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
e41dfbfa8aedfb04895165be39a769cf35737676
7,206
py
Python
tron/command_context.py
Yelp/Tron
d60b015163418bf66f638e4c12337289ad8c040a
[ "Apache-2.0" ]
190
2015-01-01T17:40:46.000Z
2022-02-02T09:32:03.000Z
tron/command_context.py
Yelp/Tron
d60b015163418bf66f638e4c12337289ad8c040a
[ "Apache-2.0" ]
237
2015-01-14T19:25:01.000Z
2022-03-15T18:33:29.000Z
tron/command_context.py
Yelp/Tron
d60b015163418bf66f638e4c12337289ad8c040a
[ "Apache-2.0" ]
40
2015-01-22T07:54:15.000Z
2022-03-03T08:01:29.000Z
"""Command Context is how we construct the command line for a command which may have variables that need to be rendered. """ import operator import re from functools import reduce from tron.utils import timeutils def build_context(object, parent): """Construct a CommandContext for object. object must have a prop...
33.516279
122
0.635998
962
7,206
4.621622
0.302495
0.018893
0.022042
0.011471
0.05803
0.021592
0
0
0
0
0
0.001574
0.294754
7,206
214
123
33.672897
0.873278
0.412157
0
0.211009
0
0
0.029945
0.011827
0
0
0
0
0
1
0.238532
false
0.009174
0.036697
0.12844
0.587156
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
e43f591f06bb910aedd8f22b0c8852cea27a4dc6
667
py
Python
rlcard/games/dungeonmayhem/__init__.py
IndianBoy42/rlcard
0f18a61affefcec6da092a61171e40058261f294
[ "MIT" ]
null
null
null
rlcard/games/dungeonmayhem/__init__.py
IndianBoy42/rlcard
0f18a61affefcec6da092a61171e40058261f294
[ "MIT" ]
null
null
null
rlcard/games/dungeonmayhem/__init__.py
IndianBoy42/rlcard
0f18a61affefcec6da092a61171e40058261f294
[ "MIT" ]
null
null
null
from rlcard.games.dungeonmayhem.barbarian import \ DungeonMayhemBarbarian as Barbarian # from rlcard.games.dungeonmayhem.card import DungeonMayhemCard as Card # from rlcard.games.dungeonmayhem.char import DungeonMayhemCharacter as Character # from rlcard.games.dungeonmayhem.game import DungeonMayhemGame as Game fro...
51.307692
81
0.841079
77
667
7.285714
0.363636
0.124777
0.187166
0.349376
0
0
0
0
0
0
0
0
0.103448
667
12
82
55.583333
0.938127
0.328336
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e440f81d864b98caf9a5a9c44eb15e74ae499b7e
554
py
Python
bdbc/lib/python3.5/site-packages/bigchaindb/common/crypto.py
entropyx/fiduchain-blockchain-interface
07336a5eebfaa9cddb148edb94461a8fd57562b1
[ "MIT" ]
null
null
null
bdbc/lib/python3.5/site-packages/bigchaindb/common/crypto.py
entropyx/fiduchain-blockchain-interface
07336a5eebfaa9cddb148edb94461a8fd57562b1
[ "MIT" ]
null
null
null
bdbc/lib/python3.5/site-packages/bigchaindb/common/crypto.py
entropyx/fiduchain-blockchain-interface
07336a5eebfaa9cddb148edb94461a8fd57562b1
[ "MIT" ]
null
null
null
# Separate all crypto code so that we can easily test several implementations import sha3 from cryptoconditions import crypto def hash_data(data): """Hash the provided data using SHA3-256""" return sha3.sha3_256(data.encode()).hexdigest() def generate_key_pair(): # TODO FOR CC: Adjust interface so that...
29.157895
77
0.777978
73
554
5.753425
0.630137
0.028571
0.071429
0
0
0
0
0
0
0
0
0.052966
0.148014
554
18
78
30.777778
0.836864
0.33574
0
0
0
0
0
0
0
0
0
0.055556
0
1
0.222222
false
0
0.222222
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
1
0
0
1
0
0
0
0
1
0
0
3
e44302acd1f09f3f6dfad11db64edd0c869fb26b
474
py
Python
Practical Slips/Slip 07/Q2_A.py
PritKalariya/TY-BBA-CA-Lab-Book-Solutions
0e3281e6b7496ebd0c5a3af9ea3229af3fedc3b1
[ "MIT" ]
1
2022-03-13T17:28:15.000Z
2022-03-13T17:28:15.000Z
Practical Slips/Slip 07/Q2_A.py
PritKalariya/TY-BBA-CA-Sem-5-Practical-Slips-and-Lab-Book
0e3281e6b7496ebd0c5a3af9ea3229af3fedc3b1
[ "MIT" ]
1
2021-12-04T05:24:02.000Z
2021-12-07T13:35:53.000Z
Practical Slips/Slip 07/Q2_A.py
PritKalariya/TY-BBA-CA-Lab-Book-Solutions
0e3281e6b7496ebd0c5a3af9ea3229af3fedc3b1
[ "MIT" ]
1
2022-02-14T08:48:00.000Z
2022-02-14T08:48:00.000Z
# Write Python class to perform addition of two complex numbers using binary + operator overloading. class Complex: def __init__(self, real, imaginary): self.real = real self.imaginary = imaginary def __add__(self, other): return Complex(self.real + other.real, self.imaginary + other.i...
27.882353
100
0.656118
63
474
4.746032
0.47619
0.107023
0.113712
0
0
0
0
0
0
0
0
0.021918
0.229958
474
17
101
27.882353
0.79726
0.206751
0
0
0
0
0.010667
0
0
0
0
0
0
1
0.272727
false
0
0
0.181818
0.545455
0.090909
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
e44608e82ece772405187c610977a11a90623d35
894
py
Python
agnocomplete/exceptions.py
mike-perdide/django-agnocomplete
1ef67a0a808cfe61c6d1ac5ec449ee1a0f0246e8
[ "MIT" ]
10
2017-12-11T23:33:00.000Z
2022-01-24T05:28:48.000Z
agnocomplete/exceptions.py
mike-perdide/django-agnocomplete
1ef67a0a808cfe61c6d1ac5ec449ee1a0f0246e8
[ "MIT" ]
26
2017-11-21T08:55:29.000Z
2022-02-04T13:44:27.000Z
agnocomplete/exceptions.py
mike-perdide/django-agnocomplete
1ef67a0a808cfe61c6d1ac5ec449ee1a0f0246e8
[ "MIT" ]
2
2018-01-10T09:06:49.000Z
2021-07-11T10:24:23.000Z
""" Agnocomplete exception classes """ from requests.exceptions import HTTPError class UnregisteredAgnocompleteException(Exception): """ Occurs when trying to instanciate an unregistered Agnocompletion class """ pass class AuthenticationRequiredAgnocompleteException(Exception): """ Occurs wh...
19.021277
74
0.702461
89
894
7.05618
0.539326
0.119427
0.090764
0.079618
0.254777
0.254777
0.254777
0.254777
0.254777
0.254777
0
0.001449
0.228188
894
46
75
19.434783
0.908696
0.463087
0
0.461538
0
0
0
0
0
0
0
0
0
1
0
true
0.461538
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
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
3
e44876090783c8ea0ceae40edf8b3f6622a75f03
237
py
Python
projects/apps.py
ChameleonCloud/portal
92a06fb926dc36e997b94fb8dcd22b7e0d24d3ee
[ "Apache-2.0" ]
3
2015-08-04T20:53:41.000Z
2020-02-14T22:58:20.000Z
projects/apps.py
ChameleonCloud/portal
92a06fb926dc36e997b94fb8dcd22b7e0d24d3ee
[ "Apache-2.0" ]
103
2015-01-15T14:21:00.000Z
2022-03-31T19:14:20.000Z
projects/apps.py
ChameleonCloud/portal
92a06fb926dc36e997b94fb8dcd22b7e0d24d3ee
[ "Apache-2.0" ]
4
2016-02-22T16:48:20.000Z
2021-01-08T17:13:21.000Z
from django.apps import AppConfig from projects import monkey_patching class ProjectsConfig(AppConfig): name = "projects" def ready(self): print("MONKEY PATCHING USER MODEL") monkey_patching.patch_user_model()
21.545455
43
0.729958
28
237
6.035714
0.642857
0.248521
0
0
0
0
0
0
0
0
0
0
0.198312
237
10
44
23.7
0.889474
0
0
0
0
0
0.14346
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.714286
0.142857
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
0
0
0
0
0
0
1
0
0
3
e472a4058da11d3ba3d977f2011b534e6fc56345
136
py
Python
WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/Python_String_format()_scientific_format.txt.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
5
2021-06-02T23:44:25.000Z
2021-12-27T16:21:57.000Z
WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/Python_String_format()_scientific_format.txt.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
22
2021-05-31T01:33:25.000Z
2021-10-18T18:32:39.000Z
WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/mini-scripts/Python_String_format()_scientific_format.txt.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
3
2021-06-19T03:37:47.000Z
2021-08-31T00:49:51.000Z
# Use "e" to convert a number into scientific number format (with a lower-case e): txt = "We have {:e} chickens." print(txt.format(5))
27.2
82
0.691176
24
136
3.916667
0.75
0
0
0
0
0
0
0
0
0
0
0.00885
0.169118
136
4
83
34
0.823009
0.588235
0
0
0
0
0.407407
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
e48ec6bc15665252021824ad4b1a7d18e02e2731
342
py
Python
classes.py
geevi/tf_simple
2b864ae349814a98611fc001c67f723e0578ef4b
[ "Apache-2.0" ]
3
2017-04-20T06:43:29.000Z
2017-10-13T08:13:19.000Z
classes.py
geevi/tf_simple
2b864ae349814a98611fc001c67f723e0578ef4b
[ "Apache-2.0" ]
null
null
null
classes.py
geevi/tf_simple
2b864ae349814a98611fc001c67f723e0578ef4b
[ "Apache-2.0" ]
1
2017-05-08T09:51:48.000Z
2017-05-08T09:51:48.000Z
from builtins import object class BaseModel(object): def __init__(self, dataset): self.dataset = dataset def train(self, sess): return sess.run([self.optimizer, self.train_summary_op, self.global_step], self.train_feed)[1:] def validate(self, sess): return sess.run(self.val_summa...
26.307692
103
0.695906
48
342
4.729167
0.479167
0.096916
0.123348
0.15859
0.220264
0.220264
0
0
0
0
0
0.003623
0.192982
342
12
104
28.5
0.818841
0
0
0
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0.125
0.25
0.875
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
e4aba370b7cf2ddb0e62a50feefb7691a307ebde
29
py
Python
dstools/ml/__init__.py
DorimenUkraine/ds-tools
34454a6054b9a81358f392f996b41f38895b15fd
[ "Apache-2.0" ]
8
2017-04-28T11:56:33.000Z
2019-06-23T14:50:14.000Z
dstools/ml/__init__.py
dllllb/ds-pipeline
d7ad191d6d532fef425ec00b1250c8a566c563c7
[ "Apache-2.0" ]
null
null
null
dstools/ml/__init__.py
dllllb/ds-pipeline
d7ad191d6d532fef425ec00b1250c8a566c563c7
[ "Apache-2.0" ]
4
2017-12-12T12:56:32.000Z
2019-06-23T14:49:52.000Z
__author__ = 'Dmitri Babaev'
14.5
28
0.758621
3
29
6
1
0
0
0
0
0
0
0
0
0
0
0
0.137931
29
1
29
29
0.72
0
0
0
0
0
0.448276
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
e4ac72eb5f13a069cce6090a1a62a7a066a5e000
1,033
py
Python
environment/envtest.py
goramos/pyrl
df6131dc7564a0456b63ebcf23e9d92b152fd0d0
[ "MIT" ]
5
2017-09-25T11:08:02.000Z
2021-03-07T18:21:11.000Z
environment/envtest.py
goramos/pyrl
df6131dc7564a0456b63ebcf23e9d92b152fd0d0
[ "MIT" ]
1
2021-04-01T12:53:51.000Z
2021-04-01T12:53:51.000Z
environment/envtest.py
goramos/pyrl
df6131dc7564a0456b63ebcf23e9d92b152fd0d0
[ "MIT" ]
12
2018-03-20T16:30:09.000Z
2021-12-15T09:16:37.000Z
''' Created on 08/08/2014 @author: Gabriel de O. Ramos <goramos@inf.ufrgs.br> ''' from environment import Environment class EnvTest1(Environment): def __init__(self): #create the environment as a dictionary self._env = {"s1" : ["s1>s2","s1>s3"], "s2": ["s2>s1", "s2>s3"], "s3": ["null...
26.487179
88
0.591481
133
1,033
4.398496
0.406015
0.076923
0.066667
0.064957
0
0
0
0
0
0
0
0.035961
0.300097
1,033
39
89
26.487179
0.773167
0.268151
0
0
0
0
0.047043
0
0
0
0
0
0
1
0.277778
false
0
0.055556
0.166667
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e4b3ef0516c6bcf5e1bd242f8f4603886053c7b2
245
py
Python
registration/admin.py
akshaya9/fosswebsite
5669a90ebb1fea2213c207a938236fba7643375c
[ "MIT" ]
369
2017-10-02T03:04:24.000Z
2022-03-26T10:54:55.000Z
registration/admin.py
akshaya9/fosswebsite
5669a90ebb1fea2213c207a938236fba7643375c
[ "MIT" ]
121
2017-10-01T14:21:48.000Z
2018-11-08T16:57:26.000Z
registration/admin.py
akshaya9/fosswebsite
5669a90ebb1fea2213c207a938236fba7643375c
[ "MIT" ]
69
2017-10-13T11:04:38.000Z
2021-12-08T06:23:19.000Z
# created by Chirath R, chirath.02@gmail.com # -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib import admin # Register your models here. from registration.models import UserInfo admin.site.register(UserInfo)
22.272727
44
0.779592
34
245
5.470588
0.735294
0
0
0
0
0
0
0
0
0
0
0.014085
0.130612
245
10
45
24.5
0.859155
0.371429
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
e4cdfcd46a9c0cd6d52cefccf7d29824da36c448
137
py
Python
tests/test_unittests.py
oren0e/cob
f2a5d74a15f5262d7980e4cf1f1a20af29194ffb
[ "BSD-3-Clause" ]
2
2019-04-07T20:19:55.000Z
2021-05-27T10:23:31.000Z
tests/test_unittests.py
oren0e/cob
f2a5d74a15f5262d7980e4cf1f1a20af29194ffb
[ "BSD-3-Clause" ]
126
2016-08-10T19:59:45.000Z
2021-11-26T06:58:16.000Z
tests/test_unittests.py
oren0e/cob
f2a5d74a15f5262d7980e4cf1f1a20af29194ffb
[ "BSD-3-Clause" ]
6
2017-11-16T12:05:47.000Z
2021-11-24T09:21:17.000Z
import subprocess import pytest from .project import Project def test_models(): project = Project('unittests') project.test()
13.7
34
0.729927
16
137
6.1875
0.5625
0
0
0
0
0
0
0
0
0
0
0
0.182482
137
9
35
15.222222
0.883929
0
0
0
0
0
0.065693
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e4de25287174308be4a17ac8524f2a8499654216
124
py
Python
chibi_command/ffmpeg.py
dem4ply/chibi_command
49efc3070bdf40e5f27146379487345b1accd427
[ "WTFPL" ]
null
null
null
chibi_command/ffmpeg.py
dem4ply/chibi_command
49efc3070bdf40e5f27146379487345b1accd427
[ "WTFPL" ]
null
null
null
chibi_command/ffmpeg.py
dem4ply/chibi_command
49efc3070bdf40e5f27146379487345b1accd427
[ "WTFPL" ]
null
null
null
from chibi_command import Command class Ffmpeg( Command ): command = 'ffmpeg' captive = False ffmpeg = Ffmpeg()
12.4
33
0.685484
14
124
6
0.571429
0
0
0
0
0
0
0
0
0
0
0
0.233871
124
9
34
13.777778
0.884211
0
0
0
0
0
0.048387
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
e4f55272d5b3b3c971b489223a76f7eb370e32d2
1,230
py
Python
tap_immuta/schemas/global_policy.py
immuta/tap-immuta
4b0789ba879a5f0d4120bb44011b857f67b83ff8
[ "MIT" ]
null
null
null
tap_immuta/schemas/global_policy.py
immuta/tap-immuta
4b0789ba879a5f0d4120bb44011b857f67b83ff8
[ "MIT" ]
1
2021-10-08T13:59:44.000Z
2021-10-08T13:59:44.000Z
tap_immuta/schemas/global_policy.py
immuta/tap-immuta
4b0789ba879a5f0d4120bb44011b857f67b83ff8
[ "MIT" ]
null
null
null
from singer_sdk import typing as th schema = th.PropertiesList( th.Property("id", th.IntegerType), th.Property("name", th.StringType), th.Property("type", th.StringType), th.Property("template", th.BooleanType), th.Property("staged", th.BooleanType), th.Property("systemGenerated", th.BooleanTyp...
31.538462
61
0.544715
116
1,230
5.758621
0.301724
0.299401
0.209581
0.329341
0.197605
0.197605
0.197605
0.143713
0.143713
0
0
0
0.307317
1,230
38
62
32.368421
0.784038
0
0
0.405405
0
0
0.11626
0
0
0
0
0
0
1
0
false
0
0.027027
0
0.027027
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
90224f22ba83c064b35cda4c9ea8af4d30995862
2,572
py
Python
tests/test_extract.py
ckindermann/gizmos
f35396e3bab677826cf8530f685ecbf1a8b19d2c
[ "BSD-3-Clause" ]
null
null
null
tests/test_extract.py
ckindermann/gizmos
f35396e3bab677826cf8530f685ecbf1a8b19d2c
[ "BSD-3-Clause" ]
null
null
null
tests/test_extract.py
ckindermann/gizmos
f35396e3bab677826cf8530f685ecbf1a8b19d2c
[ "BSD-3-Clause" ]
null
null
null
import psycopg2 import sqlite3 from gizmos.extract import extract_terms from rdflib import Graph from util import test_conn, test_db, create_postgresql_db, create_sqlite_db, compare_graphs def extract_no_hierarchy(conn): ttl = extract_terms( conn, {"OBI:0100046": {}, "BFO:0000040": {}}, ["rdfs:label", "I...
27.073684
102
0.683904
306
2,572
5.555556
0.153595
0.077647
0.088235
0.055882
0.728824
0.728824
0.728824
0.709412
0.588824
0.588824
0
0.038389
0.179627
2,572
94
103
27.361702
0.767299
0
0
0.546875
0
0
0.19479
0.080482
0
0
0
0
0
1
0.109375
false
0
0.078125
0
0.1875
0
0
0
0
null
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
90390928973ab7a51e889fdeb28fb5917531d9af
321
py
Python
setup.py
samirchar/toxic_comments
7011cfeae4a2ac1c310626ae2a5f50ff9acaeea6
[ "MIT" ]
null
null
null
setup.py
samirchar/toxic_comments
7011cfeae4a2ac1c310626ae2a5f50ff9acaeea6
[ "MIT" ]
null
null
null
setup.py
samirchar/toxic_comments
7011cfeae4a2ac1c310626ae2a5f50ff9acaeea6
[ "MIT" ]
null
null
null
from setuptools import find_packages, setup setup( name='src', packages=find_packages(), version='0.1.0', description='Kaggle toxic comment classification challenge. https://www.kaggle.com/c/jigsaw-toxic-comment-classification-challenge/notebooks', author='samir char-iglesias', license='MIT', )...
29.181818
146
0.728972
39
321
5.948718
0.74359
0.103448
0.224138
0.301724
0
0
0
0
0
0
0
0.01083
0.137072
321
10
147
32.1
0.826715
0
0
0
0
0.111111
0.489097
0
0
0
0
0
0
1
0
true
0
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
1
0
0
0
0
0
0
3
9044e978769a5669e19da7383f8c13d116848995
174
py
Python
exercícios/EX_CursoEmVideo/ex027.py
jose-carlos-code/CursoEmvideo-python
8c9b82db2c2b906f6d8f2359a680b9b3af25da43
[ "MIT" ]
1
2021-01-11T15:10:36.000Z
2021-01-11T15:10:36.000Z
exercícios/EX_CursoEmVideo/ex027.py
jose-carlos-code/CursoEmvideo-python
8c9b82db2c2b906f6d8f2359a680b9b3af25da43
[ "MIT" ]
null
null
null
exercícios/EX_CursoEmVideo/ex027.py
jose-carlos-code/CursoEmvideo-python
8c9b82db2c2b906f6d8f2359a680b9b3af25da43
[ "MIT" ]
null
null
null
nome = str(input('qual o seu nome completo?: ')).strip() d = nome.split() print('o seu primeiro nome é {}'.format(d[0])) print('o seu ultimo nome é {}'.format(d[len(d)-1]))
29
56
0.626437
32
174
3.40625
0.5625
0.110092
0.165138
0.220183
0
0
0
0
0
0
0
0.013333
0.137931
174
5
57
34.8
0.713333
0
0
0
0
0
0.421965
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
5f4b6e5962914a227cc69fd973a0c319afae0bd0
19
py
Python
alvi/tests/test_client/config.py
alviproject/alvi
ec77919a546c11c46b178a21236792f8b0d95cbd
[ "MIT" ]
10
2015-06-01T09:11:33.000Z
2018-03-02T13:52:46.000Z
alvi/tests/test_client/config.py
alviproject/alvi
ec77919a546c11c46b178a21236792f8b0d95cbd
[ "MIT" ]
null
null
null
alvi/tests/test_client/config.py
alviproject/alvi
ec77919a546c11c46b178a21236792f8b0d95cbd
[ "MIT" ]
5
2015-09-17T17:34:16.000Z
2019-09-04T10:50:29.000Z
default_scenes = []
19
19
0.736842
2
19
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.105263
19
1
19
19
0.764706
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5f6f644ff4343194677611cf53382b58a01aa676
171
py
Python
pmfp/entrypoint/schema/core.py
Python-Tools/pmfp
832273890eec08e84f9c68d03f3316b2c8139133
[ "MIT" ]
4
2017-09-15T03:38:56.000Z
2019-12-16T02:03:14.000Z
pmfp/entrypoint/schema/core.py
Python-Tools/pmfp
832273890eec08e84f9c68d03f3316b2c8139133
[ "MIT" ]
1
2021-04-27T10:51:42.000Z
2021-04-27T10:51:42.000Z
pmfp/entrypoint/schema/core.py
Python-Tools/pmfp
832273890eec08e84f9c68d03f3316b2c8139133
[ "MIT" ]
null
null
null
"""ppm schema命令的处理.""" from schema_entry import EntryPoint from ..core import ppm class Schema(EntryPoint): """jsonschema相关的工具.""" schema = ppm.regist_sub(Schema)
15.545455
35
0.725146
20
171
6.1
0.6
0
0
0
0
0
0
0
0
0
0
0
0.140351
171
10
36
17.1
0.829932
0.192982
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
5f7532b995631244d0ccd153b8495f40d54522a5
106
py
Python
goldman/utils/__init__.py
sassoo/goldman
b72540c9ad06b5c68aadb1b4fa8cb0b716260bf2
[ "MIT" ]
2
2016-07-26T13:47:51.000Z
2017-02-13T12:08:38.000Z
goldman/utils/__init__.py
sassoo/goldman
b72540c9ad06b5c68aadb1b4fa8cb0b716260bf2
[ "MIT" ]
null
null
null
goldman/utils/__init__.py
sassoo/goldman
b72540c9ad06b5c68aadb1b4fa8cb0b716260bf2
[ "MIT" ]
null
null
null
""" utils ~~~~~ Helper routines & 3rd party interfaces can be placed in this module. """
13.25
64
0.566038
12
106
5
1
0
0
0
0
0
0
0
0
0
0
0.013699
0.311321
106
7
65
15.142857
0.808219
0.764151
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
5f772daf459a02b5562d15412d698dff8f60f633
256
py
Python
python/datamodel_parser/application/__init__.py
sdss/datamodel_parser
a4ff123ff7daf88e7402a7d50c38141d206e8054
[ "BSD-3-Clause" ]
2
2019-06-19T09:28:26.000Z
2019-09-20T01:58:00.000Z
python/datamodel_parser/application/__init__.py
sdss/datamodel_parser
a4ff123ff7daf88e7402a7d50c38141d206e8054
[ "BSD-3-Clause" ]
null
null
null
python/datamodel_parser/application/__init__.py
sdss/datamodel_parser
a4ff123ff7daf88e7402a7d50c38141d206e8054
[ "BSD-3-Clause" ]
null
null
null
from .Argument import Argument from .Util import Util from .Type import Type from .Intro import Intro from .Stub import Stub from .Hdu import Hdu from .Database import Database from .File import File from .Filespec import Filespec from .Store import Store
23.272727
30
0.804688
40
256
5.15
0.3
0
0
0
0
0
0
0
0
0
0
0
0.15625
256
10
31
25.6
0.953704
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
5f79dd8420b757f4b70c92adb6fd1bb2261eb90d
2,245
py
Python
src/UQpy/Inference/__init__.py
marrov/UQpy
b04a267b3080e3d4d38e876547ba0d3b979734f3
[ "MIT" ]
132
2018-03-13T13:56:33.000Z
2022-03-21T13:59:17.000Z
src/UQpy/Inference/__init__.py
marrov/UQpy
b04a267b3080e3d4d38e876547ba0d3b979734f3
[ "MIT" ]
140
2018-05-21T13:40:01.000Z
2022-03-29T14:18:01.000Z
src/UQpy/Inference/__init__.py
marrov/UQpy
b04a267b3080e3d4d38e876547ba0d3b979734f3
[ "MIT" ]
61
2018-05-02T13:40:05.000Z
2022-03-06T11:31:21.000Z
# UQpy is distributed under the MIT license. # # Copyright (C) 2018 -- Michael D. Shields # # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated # documentation files (the "Software"), to deal in the Software without restriction, including without limitation th...
52.209302
120
0.809354
288
2,245
6.309028
0.475694
0.044029
0.093561
0.050633
0.222345
0
0
0
0
0
0
0.002059
0.134521
2,245
42
121
53.452381
0.933093
0.732739
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
5f8bfde56325b1a83c4ccfd94ff4f4f69365f0bd
375
py
Python
perturbation_classifiers/subconcept/clustering/__init__.py
rjos/perturbation-classifiers
5637b49c5c297e20b4ee6bcee25173d9d11d642f
[ "MIT" ]
null
null
null
perturbation_classifiers/subconcept/clustering/__init__.py
rjos/perturbation-classifiers
5637b49c5c297e20b4ee6bcee25173d9d11d642f
[ "MIT" ]
null
null
null
perturbation_classifiers/subconcept/clustering/__init__.py
rjos/perturbation-classifiers
5637b49c5c297e20b4ee6bcee25173d9d11d642f
[ "MIT" ]
null
null
null
# coding=utf-8 # Author: Rodolfo J. O. Soares <rodolfoj.soares@gmail.com> from .internal_validation import best_k_calinsk_harabasz, best_k_davies_bouldin, best_k_gap_statistic, best_k_silhouette from .small_cluster import find_small_clusters __all__ = ['best_k_calinsk_harabasz', 'best_k_davies_bouldin', 'best_k_gap_...
46.875
130
0.832
57
375
4.912281
0.508772
0.142857
0.085714
0.142857
0.5
0.5
0.5
0.5
0.5
0.5
0
0.00289
0.077333
375
8
130
46.875
0.806358
0.184
0
0
0
0
0.328947
0.144737
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
396ebd4580cc1dca856bf21f3660a1ff46a1aff9
18,668
py
Python
PyBioMed/test/test_PyDNA.py
Bibyutatsu/PyBioMed
263429e5ffa2ac7bf32ccb6fac969a12ce6cf637
[ "BSD-3-Clause" ]
90
2016-12-23T05:36:15.000Z
2022-03-19T21:00:46.000Z
PyBioMed/test/test_PyDNA.py
Bibyutatsu/PyBioMed
263429e5ffa2ac7bf32ccb6fac969a12ce6cf637
[ "BSD-3-Clause" ]
9
2019-04-24T08:16:22.000Z
2022-03-28T03:38:02.000Z
PyBioMed/test/test_PyDNA.py
Bibyutatsu/PyBioMed
263429e5ffa2ac7bf32ccb6fac969a12ce6cf637
[ "BSD-3-Clause" ]
52
2017-03-24T15:50:47.000Z
2022-03-28T13:46:59.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2016-2017, Zhijiang Yao, Jie Dong and Dongsheng Cao # All rights reserved. # This file is part of the PyBioMed. # The contents are covered by the terms of the BSD license # which is included in the file license.txt, found at the root # of the PyBioMed source tree. """ The s...
24.150065
88
0.396775
1,845
18,668
3.952304
0.142005
0.072408
0.05362
0.063083
0.763028
0.725178
0.647422
0.624383
0.515359
0.459408
0
0.145111
0.382044
18,668
772
89
24.181347
0.486997
0.058067
0
0.789238
0
0
0.211767
0.15031
0
0
0
0
0
1
0.001495
false
0
0.007474
0
0.008969
0.188341
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
397062901e6084527b63a868c6eb1211fe5ae2f0
693
py
Python
backend/pokemon/migrations/0004_auto_20210601_1842.py
DeborahAlmeida/pokebattle
c8cf741eaca2372cd3aca02709c65b12e237fe11
[ "MIT" ]
null
null
null
backend/pokemon/migrations/0004_auto_20210601_1842.py
DeborahAlmeida/pokebattle
c8cf741eaca2372cd3aca02709c65b12e237fe11
[ "MIT" ]
5
2021-04-08T17:52:40.000Z
2021-08-16T13:46:15.000Z
backend/pokemon/migrations/0004_auto_20210601_1842.py
DeborahAlmeida/pokebattle
c8cf741eaca2372cd3aca02709c65b12e237fe11
[ "MIT" ]
null
null
null
# Generated by Django 3.2 on 2021-06-01 18:42 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pokemon', '0003_alter_pokemon_pokemon_id'), ] operations = [ migrations.AlterField( model_name='pokemon', name='attack...
23.896552
53
0.561328
65
693
5.876923
0.523077
0.157068
0.196335
0.227749
0.557592
0.47644
0.371728
0.371728
0.371728
0.371728
0
0.038462
0.324675
693
28
54
24.75
0.777778
0.062049
0
0.545455
1
0
0.111111
0.044753
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
39c767d01b79fbb60f81979d120e3ae8c9f677eb
577
py
Python
pythoncollections/dicionarios/dicionario.py
joao0710/primeiro-repo
4fe1240c417d42fb4ec17861003a13b0d0e9310d
[ "MIT" ]
null
null
null
pythoncollections/dicionarios/dicionario.py
joao0710/primeiro-repo
4fe1240c417d42fb4ec17861003a13b0d0e9310d
[ "MIT" ]
null
null
null
pythoncollections/dicionarios/dicionario.py
joao0710/primeiro-repo
4fe1240c417d42fb4ec17861003a13b0d0e9310d
[ "MIT" ]
null
null
null
meu_diionario = {1 : 'Fabio', 2: 'Maria', 3 : 'José'} print(type(meu_diionario)) print(meu_diionario[3]) usuarios = { 10000: 'Joao Victor Lopes dos santos'} print(usuarios[10000]) for chave, valor in meu_diionario.items(): print(valor) #get() print(meu_diionario.get(2)) #len() print(len(meu_diionario)) #pop() m...
19.233333
53
0.715771
83
577
4.807229
0.373494
0.421053
0.255639
0.090226
0.170426
0.170426
0.170426
0.170426
0.170426
0
0
0.039139
0.114385
577
30
54
19.233333
0.741683
0.081456
0
0.294118
0
0
0.121905
0
0
0
0
0
0
1
0
false
0
0
0
0
0.588235
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
39f61a72de9d649d8d794bf2dfef2cb7f9b6e2ab
213
py
Python
Fibonacci/HugeFibonacciLastDigit.py
MahmudX/Algorithms
df498929b5d3fc0f0d558b3369c2aa9804c292f1
[ "MIT" ]
null
null
null
Fibonacci/HugeFibonacciLastDigit.py
MahmudX/Algorithms
df498929b5d3fc0f0d558b3369c2aa9804c292f1
[ "MIT" ]
null
null
null
Fibonacci/HugeFibonacciLastDigit.py
MahmudX/Algorithms
df498929b5d3fc0f0d558b3369c2aa9804c292f1
[ "MIT" ]
null
null
null
from Fibonacci import GetFibonacci from Pisano import GetPisano def GetFibonacciLastDigit(n, m): r = n % GetPisano(m) return GetFibonacci(r) % m print(GetFibonacciLastDigit(2816213588, 239))
19.363636
46
0.71831
24
213
6.375
0.625
0
0
0
0
0
0
0
0
0
0
0.076923
0.206573
213
10
47
21.3
0.828402
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
8402e11212eb1eb518f700e6692241e668e86938
160
py
Python
proper_forms/fields/password.py
jpsca/pforms
77c9da93e5224e79bb147aa873f28951e972bb21
[ "MIT" ]
2
2019-10-11T03:13:10.000Z
2019-11-12T10:31:54.000Z
proper_forms/fields/password.py
jpsca/hyperform
d5c450ad8684a853fed26f8c2606877151125a9e
[ "MIT" ]
2
2021-11-18T18:01:28.000Z
2021-11-18T18:03:29.000Z
proper_forms/fields/password.py
jpsca/hyperform
d5c450ad8684a853fed26f8c2606877151125a9e
[ "MIT" ]
null
null
null
from .text import Text __all__ = ("Password", ) class Password(Text): input_type = "password" @property def values(self): return [""]
11.428571
27
0.59375
17
160
5.294118
0.764706
0
0
0
0
0
0
0
0
0
0
0
0.275
160
13
28
12.307692
0.775862
0
0
0
0
0
0.1
0
0
0
0
0
0
1
0.142857
false
0.428571
0.142857
0.142857
0.714286
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
0
0
0
3
842783606e6dc54dd92789fd191828d8675e8fb3
3,028
py
Python
pyresttest/test_parsing.py
LGordon2/pyresttest
805d59806e73ee4ecdd8d1656c067b467d8468c1
[ "Apache-2.0" ]
null
null
null
pyresttest/test_parsing.py
LGordon2/pyresttest
805d59806e73ee4ecdd8d1656c067b467d8468c1
[ "Apache-2.0" ]
null
null
null
pyresttest/test_parsing.py
LGordon2/pyresttest
805d59806e73ee4ecdd8d1656c067b467d8468c1
[ "Apache-2.0" ]
null
null
null
import unittest from parsing import flatten_dictionaries, lowercase_keys, safe_to_bool class TestParsing(unittest.TestCase): """ Tests for parsing utility functions """ def test_flatten(self): """ Test flattening of lists of dictionaries to single dictionaries """ #Test happy path: list of si...
39.324675
121
0.622853
334
3,028
5.532934
0.236527
0.032468
0.054113
0.061688
0.766775
0.748918
0.691558
0.673701
0.647186
0.647186
0
0.000443
0.253963
3,028
77
122
39.324675
0.817618
0.178666
0
0.566038
0
0
0.118078
0
0
0
0
0
0.358491
1
0.037736
false
0.056604
0.037736
0
0.09434
0
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
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
842f6bba4151ddaa508986b580b51d03df7c915b
1,967
py
Python
specklepy/reduction/filter.py
felixbosco/specklepy
18f1d542f04cbe31fec8675791bf8350a09441c6
[ "MIT" ]
null
null
null
specklepy/reduction/filter.py
felixbosco/specklepy
18f1d542f04cbe31fec8675791bf8350a09441c6
[ "MIT" ]
null
null
null
specklepy/reduction/filter.py
felixbosco/specklepy
18f1d542f04cbe31fec8675791bf8350a09441c6
[ "MIT" ]
2
2020-12-07T14:21:13.000Z
2021-02-26T13:52:52.000Z
import numpy as np def hot_pixel_mask(image, threshold=5): """Identify hot pixels via a 2nd derivative method and create a hot pixel mask with hot pixels `True`. Arguments: image (np.ndarray): Image for which the mask shall be created. threshold (int or float, optional): ...
31.725806
108
0.681749
303
1,967
4.30363
0.29703
0.055215
0.03681
0.048313
0.273773
0.187117
0.121166
0.075153
0.075153
0
0
0.015954
0.203355
1,967
61
109
32.245902
0.816209
0.259278
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.035714
0.107143
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
843a5a409fd09a1a40d5931d4a3dec7cbb56ed55
304
py
Python
src/aims_ui/config/base.py
ONSdigital/address-index-ui
57867604744f7bf6e2d596fc649bb8d3bf9baf11
[ "MIT" ]
null
null
null
src/aims_ui/config/base.py
ONSdigital/address-index-ui
57867604744f7bf6e2d596fc649bb8d3bf9baf11
[ "MIT" ]
1
2022-03-11T20:46:21.000Z
2022-03-11T20:46:21.000Z
src/aims_ui/config/base.py
ONSdigital/address-index-ui
57867604744f7bf6e2d596fc649bb8d3bf9baf11
[ "MIT" ]
1
2021-04-11T08:02:33.000Z
2021-04-11T08:02:33.000Z
"""FLASK BASE CONFIG""" import os JSONIFY_PRETTYPRINT_REGULAR = True MAX_CONTENT_LENGTH = 3 * 1000 * 1000 API_AUTH_TYPE = os.getenv('API_AUTH_TYPE') JWT_TOKEN = os.getenv('JWT_TOKEN') API_BSC_AUTH_USERNAME = os.getenv('API_BSC_AUTH_USERNAME') API_BSC_AUTH_PASSWORD = os.getenv('API_BSC_AUTH_PASSWORD')
27.636364
58
0.792763
49
304
4.469388
0.469388
0.146119
0.182648
0.164384
0.164384
0
0
0
0
0
0
0.032727
0.095395
304
10
59
30.4
0.763636
0.055921
0
0
0
0
0.227758
0.149466
0
0
0
0
0
1
0
false
0.142857
0.142857
0
0.142857
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
844de87cb69529d08a457321d88967c96cddb571
126
py
Python
python/modules/calulator.py
itzsoumyadip/vs
acf32cd0bacb26e62854060e0acf5eb41b7a68c8
[ "Unlicense" ]
1
2019-07-05T04:27:05.000Z
2019-07-05T04:27:05.000Z
python/modules/calulator.py
itzsoumyadip/vs
acf32cd0bacb26e62854060e0acf5eb41b7a68c8
[ "Unlicense" ]
null
null
null
python/modules/calulator.py
itzsoumyadip/vs
acf32cd0bacb26e62854060e0acf5eb41b7a68c8
[ "Unlicense" ]
null
null
null
from cal import * a=2 b=4 c=add(a,b) print(c) #6 c=sub(a,b) print(c) #-2 c=div(a,b) print(c) #2.0 c=mul(a,b) print(c) #8
6.3
18
0.555556
36
126
1.944444
0.444444
0.114286
0.4
0.457143
0.257143
0
0
0
0
0
0
0.067961
0.18254
126
20
19
6.3
0.61165
0.055556
0
0.363636
0
0
0
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.363636
0
0
1
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
8455f962b188d3dd947285f4ec1d7911e6a17ff4
154
py
Python
fcapsy/utils.py
rvyjidacek/fcapsy
6d531a337b0e65cac10e41b84d232498f3a05b76
[ "MIT" ]
null
null
null
fcapsy/utils.py
rvyjidacek/fcapsy
6d531a337b0e65cac10e41b84d232498f3a05b76
[ "MIT" ]
null
null
null
fcapsy/utils.py
rvyjidacek/fcapsy
6d531a337b0e65cac10e41b84d232498f3a05b76
[ "MIT" ]
null
null
null
def iterator_mean(iterator): n = 0 sum_value = 0.0 for value in iterator: sum_value += value n += 1 return sum_value / n
17.111111
28
0.564935
23
154
3.608696
0.478261
0.289157
0
0
0
0
0
0
0
0
0
0.040404
0.357143
154
8
29
19.25
0.79798
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
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
ffcee35cf1c3534a34e74369651cc9daa4c380d7
594
py
Python
discord/ext/vbu/cogs/utils/errors.py
6days9weeks/Novus
a21157f15d7a07669cb75b3f023bd9eedf40e40e
[ "MIT" ]
2
2022-01-22T16:05:42.000Z
2022-01-22T16:06:07.000Z
discord/ext/vbu/cogs/utils/errors.py
6days9weeks/Novus
a21157f15d7a07669cb75b3f023bd9eedf40e40e
[ "MIT" ]
null
null
null
discord/ext/vbu/cogs/utils/errors.py
6days9weeks/Novus
a21157f15d7a07669cb75b3f023bd9eedf40e40e
[ "MIT" ]
null
null
null
from .checks.is_config_set import ConfigNotSet from .checks.meta_command import InvokedMetaCommand from .checks.bot_is_ready import BotNotReady from .checks.is_voter import IsNotVoter from .checks.is_bot_support import NotBotSupport # from .checks.slash_commands import IsSlashCommand, IsNotSlashCommand, BotNotInGuild f...
54
100
0.885522
67
594
7.626866
0.567164
0.136986
0.093933
0
0
0
0
0
0
0
0
0
0.075758
594
10
101
59.4
0.930783
0.139731
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
ffed32329414783f450f769ec9f48fd7111d8997
1,213
py
Python
test/grid_tests.py
basvandenberg/puzzlepy
b0ae79b3cb74e7f4fbb3ac60293e0e4e284e4894
[ "MIT" ]
null
null
null
test/grid_tests.py
basvandenberg/puzzlepy
b0ae79b3cb74e7f4fbb3ac60293e0e4e284e4894
[ "MIT" ]
null
null
null
test/grid_tests.py
basvandenberg/puzzlepy
b0ae79b3cb74e7f4fbb3ac60293e0e4e284e4894
[ "MIT" ]
null
null
null
from nose.tools import * from puzzlepy import grid class TestGrid: def setup(self): self.small_grid = grid.Grid(3, 3) self.grid = grid.Grid(9, 9) def teardown(self): self.small_grid = None self.grid = None def test_top_triangle_coordinates(self): coords = self.sm...
28.209302
59
0.563067
174
1,213
3.804598
0.189655
0.145015
0.190332
0.285498
0.486405
0.329305
0.123867
0
0
0
0
0.066286
0.278648
1,213
42
60
28.880952
0.690286
0
0
0
0
0
0
0
0
0
0
0
0.551724
1
0.137931
false
0
0.068966
0
0.241379
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
1
0
0
0
0
0
0
0
0
0
3
fff50b691a5d15c81869dc146714c5b02779c011
5,942
py
Python
educasite/educa/courses/migrations/0001_initial.py
ch1huizong/dj
12009375fc2113acb0a6cb17f6c2146c83595de8
[ "Unlicense" ]
17
2017-08-11T03:42:07.000Z
2020-09-23T15:09:05.000Z
educasite/educa/courses/migrations/0001_initial.py
ch1huizong/dj
12009375fc2113acb0a6cb17f6c2146c83595de8
[ "Unlicense" ]
null
null
null
educasite/educa/courses/migrations/0001_initial.py
ch1huizong/dj
12009375fc2113acb0a6cb17f6c2146c83595de8
[ "Unlicense" ]
13
2017-12-02T06:58:34.000Z
2022-02-01T14:10:14.000Z
# Generated by Django 2.2.3 on 2019-08-23 08:59 import courses.fields from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_...
45.015152
196
0.558903
560
5,942
5.760714
0.173214
0.027278
0.043397
0.068196
0.721327
0.721327
0.689089
0.66522
0.66522
0.66522
0
0.011015
0.297206
5,942
131
197
45.358779
0.761494
0.007573
0
0.620968
1
0
0.105004
0.008991
0
0
0
0
0
1
0
false
0
0.032258
0
0.064516
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fff9fcaa7d0716aabd7eedcd98e652cd40c7ca0f
520
py
Python
Chapter16/threading_example.py
PacktPublishing/GettingStartedwithPythonfortheInternetofThings-
a5a86ae38b3a4c625dfc1213d32a3f49e1e298c6
[ "MIT" ]
6
2017-05-17T17:51:45.000Z
2021-11-08T13:10:35.000Z
Chapter16/threading_example.py
PacktPublishing/GettingStartedwithPythonfortheInternetofThings-
a5a86ae38b3a4c625dfc1213d32a3f49e1e298c6
[ "MIT" ]
null
null
null
Chapter16/threading_example.py
PacktPublishing/GettingStartedwithPythonfortheInternetofThings-
a5a86ae38b3a4c625dfc1213d32a3f49e1e298c6
[ "MIT" ]
14
2017-05-21T17:59:40.000Z
2021-10-02T16:58:16.000Z
#!/usr/bin/python3 """ Sensor Processing Example """ import threading import time def sensor_processing(string): for num in range(5): time.sleep(5) print("%s: Iteration: %d" %(string, num)) if __name__ == '__main__': thread_1 = threading.Thread(target=sensor_processing, args=("Sensor 1",)) thread_1...
23.636364
75
0.7
70
520
4.942857
0.442857
0.231214
0.182081
0.234104
0.407514
0.407514
0.407514
0
0
0
0
0.026906
0.142308
520
22
76
23.636364
0.748879
0.082692
0
0
0
0
0.10515
0
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.230769
0.076923
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
080ed581ae2bf6ebcfc16eeb29d9801529869c89
803
py
Python
skaha/context.py
CHIMEFRB/skaha
e90c5e8a2a55f35a0c99337f754872d1382e5909
[ "MIT" ]
null
null
null
skaha/context.py
CHIMEFRB/skaha
e90c5e8a2a55f35a0c99337f754872d1382e5909
[ "MIT" ]
6
2021-11-02T19:02:47.000Z
2022-02-01T21:39:29.000Z
skaha/context.py
CHIMEFRB/skaha
e90c5e8a2a55f35a0c99337f754872d1382e5909
[ "MIT" ]
null
null
null
"""Get available resources from the skaha server.""" from attr import attrs from skaha.client import SkahaClient @attrs class Context(SkahaClient): """Get available resources from the skaha server.""" def __attrs_post_init__(self): """Initialize the context server URL.""" self.server = self....
25.903226
57
0.581569
80
803
5.7625
0.4
0.156182
0.136659
0.16269
0.253796
0.253796
0.253796
0
0
0
0
0.003623
0.312578
803
30
58
26.766667
0.831522
0.514321
0
0
0
0
0.027875
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
0821907f9a3a9ab45a0ab69b97959901f59cce22
853
py
Python
hyperbolic/poincare/util.py
smh0109/hyperbolic
d5ac6a9cb0d900a96d3a2499da1bc83257469ef4
[ "MIT" ]
77
2018-08-15T15:13:30.000Z
2022-03-26T09:55:51.000Z
hyperbolic/poincare/util.py
smh0109/hyperbolic
d5ac6a9cb0d900a96d3a2499da1bc83257469ef4
[ "MIT" ]
10
2020-05-22T00:27:15.000Z
2022-01-30T01:38:00.000Z
hyperbolic/poincare/util.py
smh0109/hyperbolic
d5ac6a9cb0d900a96d3a2499da1bc83257469ef4
[ "MIT" ]
25
2018-02-18T16:40:08.000Z
2021-12-30T09:15:10.000Z
import math def radialEuclidToPoincare(r): return 2 * math.atanh(r) def radialPoincareToEuclid(r): return math.tanh(r/2) def poincareToEuclidFactor(hr): return math.cosh(hr/2)**2 / 2 def triangleSideForAngles(adj1, adj2, opposite): ''' Uses the hyperbolic law of cosines, solved for the side length ...
28.433333
77
0.63306
123
853
4.390244
0.341463
0.064815
0.059259
0.074074
0.27037
0.27037
0.151852
0.151852
0.151852
0
0
0.020062
0.240328
853
29
78
29.413793
0.813272
0.227433
0
0
0
0
0
0
0
0
0
0
0
1
0.294118
false
0
0.058824
0.176471
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
0
0
1
1
0
0
3
0834bcce6793828040cd6fed3c20e91627249a0a
574
py
Python
ckanext/searchterms/tests/mockplugin.py
RTIInternational/ckanext-searchterms
d3b9ec65d86ef6a26a42f1bd9efdeed00be47229
[ "MIT" ]
null
null
null
ckanext/searchterms/tests/mockplugin.py
RTIInternational/ckanext-searchterms
d3b9ec65d86ef6a26a42f1bd9efdeed00be47229
[ "MIT" ]
null
null
null
ckanext/searchterms/tests/mockplugin.py
RTIInternational/ckanext-searchterms
d3b9ec65d86ef6a26a42f1bd9efdeed00be47229
[ "MIT" ]
null
null
null
import ckan.plugins as p from ckanext.searchterms.interfaces import ISearchterms import pandas as pd class SearchtermsMockPlugin(p.SingletonPlugin): """ This plugin is - made available as `searchterms_mock_plugin` by the entrypoints list in setup.py - included in the plugin list in test_plugin.py ...
27.333333
85
0.728223
74
574
5.554054
0.621622
0.029197
0.111922
0.141119
0
0
0
0
0
0
0
0
0.200348
574
20
86
28.7
0.895425
0.339721
0
0
0
0
0.025641
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0.222222
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
0
0
0
3
0853ce8ebfdbbf561fb0977475006e3ce980dcbf
2,705
py
Python
auraxium/models/_ability.py
leonhard-s/auraxium
8a1b7fb6e6e1b11334d69875df032ccc6da330bf
[ "MIT" ]
23
2018-12-04T12:47:11.000Z
2022-02-08T05:46:21.000Z
auraxium/models/_ability.py
brhumphe/auraxium
8a1b7fb6e6e1b11334d69875df032ccc6da330bf
[ "MIT" ]
50
2020-04-15T10:55:30.000Z
2022-02-20T11:14:01.000Z
auraxium/models/_ability.py
brhumphe/auraxium
8a1b7fb6e6e1b11334d69875df032ccc6da330bf
[ "MIT" ]
6
2018-12-02T11:55:03.000Z
2020-10-06T05:15:36.000Z
"""Data classes for :mod:`auraxium.ps2._ability`.""" from typing import Optional from .base import RESTPayload __all__ = [ 'AbilityData', 'AbilityTypeData', 'ResourceTypeData' ] # pylint: disable=too-few-public-methods class AbilityData(RESTPayload): """Data class for :class:`auraxium.ps2.Ability`...
29.086022
68
0.679852
342
2,705
5.28655
0.245614
0.225111
0.306969
0.052544
0.706305
0.693031
0.663164
0.598451
0.598451
0.598451
0
0.023618
0.217375
2,705
92
69
29.402174
0.83042
0.214787
0
0.612903
0
0
0.020349
0
0
0
0
0
0
1
0
false
0
0.032258
0
0.919355
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
f22f64d7448aadfc2f29cf9c3c2092054f7b494a
294
py
Python
scripts/data/gen_test_data.py
chippography/counselors
dba735831c8a6252b80c758c9a0964488c165f9f
[ "MIT" ]
null
null
null
scripts/data/gen_test_data.py
chippography/counselors
dba735831c8a6252b80c758c9a0964488c165f9f
[ "MIT" ]
null
null
null
scripts/data/gen_test_data.py
chippography/counselors
dba735831c8a6252b80c758c9a0964488c165f9f
[ "MIT" ]
null
null
null
#!/usr/bin/env python import yaml # # Counselor file format is a yaml, structured as: # # # - name: Person 1 # loc: London, UK # mobile: +CC 0123456789 (text string) # availability: # - start: YYYY-MM-DD-hh:mm (datetime string) # end: YYYY-MM-DD-hh:mm # - name: Person 2 # ... #
17.294118
49
0.619048
43
294
4.232558
0.767442
0.10989
0.087912
0.10989
0.131868
0
0
0
0
0
0
0.052402
0.221088
294
16
50
18.375
0.742358
0.860544
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
f230f3ef5e484380ccbbc5d685f514320d7e09c1
433
py
Python
exe5/main.py
neitan666/algoritmos2
c9fd141bead0cd171f6b2f5d209833da085a1992
[ "MIT" ]
null
null
null
exe5/main.py
neitan666/algoritmos2
c9fd141bead0cd171f6b2f5d209833da085a1992
[ "MIT" ]
null
null
null
exe5/main.py
neitan666/algoritmos2
c9fd141bead0cd171f6b2f5d209833da085a1992
[ "MIT" ]
null
null
null
from ContaCorrente import ContaCorrente from ContaPoupanca import ContaPoupanca cc = ContaCorrente("neitan",181626,1000) print("---------------") cc.cadastro() print("---------------") cc.depositar(100) print("---------------") cc.cadastro() print("---------------") cp = ContaPoupanca("jair",299302 ,5000) cp.cadas...
21.65
42
0.542725
39
433
6.025641
0.435897
0.221277
0.12766
0.170213
0
0
0
0
0
0
0
0.065
0.076212
433
19
43
22.789474
0.5225
0
0
0.647059
0
0
0.265589
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.117647
0.411765
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
0
1
0
3
f2352056e4d59b7bc9fd013b312a6149e89d3405
486
py
Python
geoscript/feature/field.py
dvntucker/geoscript-py
ea1b6ac584f3813b542204370399bb8f3209d214
[ "MIT" ]
22
2015-01-14T01:37:40.000Z
2021-07-11T14:21:38.000Z
geoscript/feature/field.py
dvntucker/geoscript-py
ea1b6ac584f3813b542204370399bb8f3209d214
[ "MIT" ]
15
2017-10-13T19:21:15.000Z
2021-08-06T08:59:31.000Z
geoscript/feature/field.py
dvntucker/geoscript-py
ea1b6ac584f3813b542204370399bb8f3209d214
[ "MIT" ]
15
2015-01-14T01:38:35.000Z
2020-04-26T02:05:01.000Z
class Field(object): """ A schema field composed of a name and a type. A geometric attribute also contains a :class:`Projection <geoscript.proj.Projection>`. """ def __init__(self, name, typ, proj=None): self.name = name self.typ = typ self.proj = proj def __repr__(self): return '%s: %s' % ...
27
134
0.654321
72
486
4.194444
0.375
0.10596
0.072848
0
0
0
0
0
0
0
0
0
0.213992
486
17
135
28.588235
0.790576
0.271605
0
0
0
0
0.017595
0
0
0
0
0
0
1
0.3
false
0
0
0.2
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
f2473028f40b8b19b126c7a73fe92804e9dfc9ce
739
py
Python
checkov/cloudformation/checks/resource/aws/QLDBLedgerPermissionsMode.py
pmalkki/checkov
b6cdf386dd976fe27c16fed6d550756a678a5d7b
[ "Apache-2.0" ]
4,013
2019-12-09T13:16:54.000Z
2022-03-31T14:31:01.000Z
checkov/cloudformation/checks/resource/aws/QLDBLedgerPermissionsMode.py
pmalkki/checkov
b6cdf386dd976fe27c16fed6d550756a678a5d7b
[ "Apache-2.0" ]
1,258
2019-12-17T09:55:51.000Z
2022-03-31T19:17:17.000Z
checkov/cloudformation/checks/resource/aws/QLDBLedgerPermissionsMode.py
pmalkki/checkov
b6cdf386dd976fe27c16fed6d550756a678a5d7b
[ "Apache-2.0" ]
638
2019-12-19T08:57:38.000Z
2022-03-30T21:38:37.000Z
from checkov.common.models.enums import CheckCategories from checkov.cloudformation.checks.resource.base_resource_value_check import BaseResourceValueCheck class QLDBLedgerPermissionsMode(BaseResourceValueCheck): def __init__(self) -> None: name = "Ensure QLDB ledger permissions mode is set to STANDARD" ...
35.190476
106
0.741543
78
739
6.769231
0.602564
0.102273
0.049242
0
0
0
0
0
0
0
0
0.004902
0.171854
739
20
107
36.95
0.857843
0
0
0
0
0
0.156969
0.035183
0
0
0
0
0
1
0.214286
false
0
0.142857
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
f247718daadf7fcf36aff4fece7346357cdb84d7
88
py
Python
what_apps/main/urls.py
SlashRoot/WHAT
69e78d01065142446234e77ea7c8c31e3482af29
[ "MIT" ]
null
null
null
what_apps/main/urls.py
SlashRoot/WHAT
69e78d01065142446234e77ea7c8c31e3482af29
[ "MIT" ]
null
null
null
what_apps/main/urls.py
SlashRoot/WHAT
69e78d01065142446234e77ea7c8c31e3482af29
[ "MIT" ]
null
null
null
from django.conf.urls.defaults import * urlpatterns = patterns('main.views', )
17.6
39
0.681818
10
88
6
1
0
0
0
0
0
0
0
0
0
0
0
0.193182
88
5
40
17.6
0.84507
0
0
0
0
0
0.11236
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
f2659f484c586eea1699d65e77a8570093cb5c60
257
py
Python
grblc/search/ads/ECHO.py
youngsm/adsgrb
a89b56b371888deb67788a9f5a91300b281784a6
[ "MIT" ]
null
null
null
grblc/search/ads/ECHO.py
youngsm/adsgrb
a89b56b371888deb67788a9f5a91300b281784a6
[ "MIT" ]
null
null
null
grblc/search/ads/ECHO.py
youngsm/adsgrb
a89b56b371888deb67788a9f5a91300b281784a6
[ "MIT" ]
null
null
null
from multiprocessing import Semaphore class SynchronizedEcho: def __init__(self, n=1): self.print_lock = Semaphore(n) def __call__(self, *a, **b): self.print_lock.acquire() print(*a, **b) self.print_lock.release()
21.416667
38
0.63035
32
257
4.71875
0.5625
0.178808
0.258278
0.145695
0.198676
0
0
0
0
0
0
0.005155
0.245136
257
11
39
23.363636
0.773196
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.5
0.5
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
1
0
3
f2b8d6b4cd524e27a66a1591d1b26b739e973168
202
py
Python
tests/functional/__init__.py
kazanzhy/dbt-core
bc3468e649e2d46e734b1bc3d55c4e216cd3a935
[ "Apache-2.0" ]
799
2021-10-13T21:40:33.000Z
2022-03-31T16:19:31.000Z
tests/functional/__init__.py
kazanzhy/dbt-core
bc3468e649e2d46e734b1bc3d55c4e216cd3a935
[ "Apache-2.0" ]
939
2021-10-13T17:45:24.000Z
2022-03-31T22:09:58.000Z
tests/functional/__init__.py
kazanzhy/dbt-core
bc3468e649e2d46e734b1bc3d55c4e216cd3a935
[ "Apache-2.0" ]
175
2021-10-14T18:59:06.000Z
2022-03-31T16:17:32.000Z
# Functional tests focus on the business requirements of an application. They # only verify the output of an action and do not check the intermediate states # of the system when performing that action.
50.5
78
0.80198
32
202
5.0625
0.78125
0.049383
0
0
0
0
0
0
0
0
0
0
0.173267
202
3
79
67.333333
0.97006
0.965347
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
4b3aa5332d6ca9eb4f980457b46bb9130bd59b20
4,181
py
Python
tests/test_misc.py
thebigmunch/google-music-utils
a562d36ade47992679daa2a97956773e30f131a1
[ "MIT" ]
2
2019-04-24T09:37:25.000Z
2020-10-22T15:05:26.000Z
tests/test_misc.py
thebigmunch/google-music-utils
a562d36ade47992679daa2a97956773e30f131a1
[ "MIT" ]
1
2020-08-17T13:52:53.000Z
2020-08-17T13:52:53.000Z
tests/test_misc.py
thebigmunch/google-music-utils
a562d36ade47992679daa2a97956773e30f131a1
[ "MIT" ]
1
2020-08-17T13:49:45.000Z
2020-08-17T13:49:45.000Z
import sys from pathlib import Path import pytest from audio_metadata import Tags from google_music_utils.misc import suggest_filename, template_to_filepath @pytest.mark.parametrize( 'metadata, expected', [ ({'title': 'One Time', 'tracknumber': '1'}, '01 One Time'), ({'title': 'One Time', 'tracknumber': '1/7'...
32.664063
89
0.588137
484
4,181
5.022727
0.130165
0.118058
0.098725
0.120938
0.787742
0.780337
0.726039
0.722336
0.672151
0.59564
0
0.017484
0.165511
4,181
127
90
32.92126
0.679278
0
0
0.418803
0
0
0.475006
0.067448
0
0
0
0
0.025641
1
0.025641
false
0
0.042735
0
0.068376
0
0
0
0
null
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4b40beba76ca4faa4a70557d4173fcac7a81e1a5
28
py
Python
app/settings.py
ttbug/book_store
2c07a4c9e179fd943f67e178bafda9384a666dc0
[ "MIT" ]
null
null
null
app/settings.py
ttbug/book_store
2c07a4c9e179fd943f67e178bafda9384a666dc0
[ "MIT" ]
null
null
null
app/settings.py
ttbug/book_store
2c07a4c9e179fd943f67e178bafda9384a666dc0
[ "MIT" ]
null
null
null
# 每一页显示的数目 NUM_PER_PAGE = 15
14
17
0.785714
5
28
4
1
0
0
0
0
0
0
0
0
0
0
0.083333
0.142857
28
2
17
14
0.75
0.285714
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4b45ae3d1b0a15d43c95a108b8a336d464f38d13
588
py
Python
userService/user/models.py
rakshit-singh/PythonMicroservices
65e42c8c9767b8c8068563931be286033bd1c1e2
[ "Apache-2.0" ]
null
null
null
userService/user/models.py
rakshit-singh/PythonMicroservices
65e42c8c9767b8c8068563931be286033bd1c1e2
[ "Apache-2.0" ]
null
null
null
userService/user/models.py
rakshit-singh/PythonMicroservices
65e42c8c9767b8c8068563931be286033bd1c1e2
[ "Apache-2.0" ]
null
null
null
from pickle import TRUE from django.db import models from django.core import validators from .validator import validatePhoneNo class User(models.Model): first_name = models.CharField(max_length=20, blank=False) last_name = models.CharField(max_length=20) email_id = models.EmailField(max_length=220, blank...
30.947368
108
0.736395
79
588
5.278481
0.455696
0.086331
0.129496
0.172662
0.143885
0.143885
0
0
0
0
0
0.018
0.14966
588
19
109
30.947368
0.816
0
0
0
0
0
0.028862
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0.090909
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
4b4a3cb927e6e2e234f2db170e8a21b91a8b7ee8
108
py
Python
PythonScript/PythonIntermedio/cap_7/leerJSON.py
FranklinA/CoursesAndSelfStudy
63a699d6df7eef52190b608e2dd5728f7aa7264a
[ "MIT" ]
null
null
null
PythonScript/PythonIntermedio/cap_7/leerJSON.py
FranklinA/CoursesAndSelfStudy
63a699d6df7eef52190b608e2dd5728f7aa7264a
[ "MIT" ]
null
null
null
PythonScript/PythonIntermedio/cap_7/leerJSON.py
FranklinA/CoursesAndSelfStudy
63a699d6df7eef52190b608e2dd5728f7aa7264a
[ "MIT" ]
null
null
null
# import json with open('note.json') as file: data=json.load(file) print(data) print(data["clientesA"])
10.8
31
0.694444
17
108
4.411765
0.647059
0.24
0
0
0
0
0
0
0
0
0
0
0.12963
108
9
32
12
0.797872
0
0
0
0
0
0.168224
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4b5aecad692dabd04cc4f58821452e95e2a84df9
76
pyw
Python
Alames.pyw
KLZ-0/Alames
cc9af04674706af2ddbfe955046021acf8bedffa
[ "MIT" ]
null
null
null
Alames.pyw
KLZ-0/Alames
cc9af04674706af2ddbfe955046021acf8bedffa
[ "MIT" ]
null
null
null
Alames.pyw
KLZ-0/Alames
cc9af04674706af2ddbfe955046021acf8bedffa
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import sys import Alames ala = Alames.Alames(sys.argv)
10.857143
29
0.736842
12
76
4.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0.015152
0.131579
76
6
30
12.666667
0.833333
0.223684
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4b6e1d475ad5db455a50c2156645cabf1b9b2e4b
1,828
py
Python
app/models.py
Vector254/Job-hunter
4db543da4f6672b7d7d5e835869ae0d9fa1cbe0d
[ "MIT" ]
null
null
null
app/models.py
Vector254/Job-hunter
4db543da4f6672b7d7d5e835869ae0d9fa1cbe0d
[ "MIT" ]
null
null
null
app/models.py
Vector254/Job-hunter
4db543da4f6672b7d7d5e835869ae0d9fa1cbe0d
[ "MIT" ]
1
2020-10-02T14:41:18.000Z
2020-10-02T14:41:18.000Z
from werkzeug.security import generate_password_hash,check_password_hash from flask_login import UserMixin from flask import Flask from . import db from . import login_manager @login_manager.user_loader def load_user(user_id): return User.query.get(int(user_id)) class User(UserMixin, db.Model): __tablen...
23.435897
88
0.647155
226
1,828
5.057522
0.314159
0.062992
0.07874
0.097988
0.155731
0.045494
0
0
0
0
0
0
0.259847
1,828
77
89
23.74026
0.844789
0.041028
0
0.086957
1
0
0.021499
0
0
0
0
0
0
1
0.152174
false
0.217391
0.108696
0.043478
0.586957
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
1
0
0
1
0
0
3
4b88b164e8b55076adca8343e71a80e67f9cc8c7
122
py
Python
examples/pathlib-read-text/pathlib_read_text.py
Cyberspirit/pythonic
aeb96fb514c0adb78f8ffbdadd80012a0ff510ed
[ "MIT" ]
2
2022-03-01T09:09:38.000Z
2022-03-25T06:52:58.000Z
examples/pathlib-read-text/pathlib_read_text.py
Cyberspirit/pythonic
aeb96fb514c0adb78f8ffbdadd80012a0ff510ed
[ "MIT" ]
null
null
null
examples/pathlib-read-text/pathlib_read_text.py
Cyberspirit/pythonic
aeb96fb514c0adb78f8ffbdadd80012a0ff510ed
[ "MIT" ]
1
2022-01-17T22:02:32.000Z
2022-01-17T22:02:32.000Z
""" Use pathlib to read text from a file. """ import pathlib text = pathlib.Path('myfile.txt').read_text() print(text)
12.2
45
0.688525
19
122
4.368421
0.684211
0.192771
0
0
0
0
0
0
0
0
0
0
0.155738
122
9
46
13.555556
0.805825
0.303279
0
0
0
0
0.12987
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
4bb748b7f9c5e736962ffc989549ec6df30fb714
155
py
Python
Chapter04/tab_trouble.py
PacktPublishing/Daniel-Arbuckles-Mastering-Python
ecd1e78d95aedc832d8f5ceec4794374459e890a
[ "MIT" ]
28
2017-08-10T18:21:52.000Z
2021-11-22T11:13:01.000Z
Chapter04/tab_trouble.py
PacktPublishing/Daniel-Arbuckles-Mastering-Python
ecd1e78d95aedc832d8f5ceec4794374459e890a
[ "MIT" ]
2
2019-06-17T13:22:00.000Z
2019-06-17T14:06:18.000Z
Chapter04/tab_trouble.py
PacktPublishing/Daniel-Arbuckles-Mastering-Python
ecd1e78d95aedc832d8f5ceec4794374459e890a
[ "MIT" ]
20
2017-07-07T16:25:50.000Z
2022-01-11T15:57:18.000Z
def tabs_cause_problems(): with open('test.txt') as f: for line in f: try: print(int(line)) except ValueError: print('Not an integer')
17.222222
31
0.632258
24
155
4
0.875
0
0
0
0
0
0
0
0
0
0
0
0.23871
155
8
32
19.375
0.813559
0
0
0
0
0
0.142857
0
0
0
0
0
0
0
null
null
0
0
null
null
0.285714
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
4bc556b11f88ec7d4ba94e40941a42e6e3c417d2
390
py
Python
tests/config_test.py
aquilax/showtime-cli
a0a89e8e6b201c02305a421f0eb93fdafd85e208
[ "MIT" ]
null
null
null
tests/config_test.py
aquilax/showtime-cli
a0a89e8e6b201c02305a421f0eb93fdafd85e208
[ "MIT" ]
null
null
null
tests/config_test.py
aquilax/showtime-cli
a0a89e8e6b201c02305a421f0eb93fdafd85e208
[ "MIT" ]
null
null
null
"""Showtime Config Module Tests""" from unittest.mock import MagicMock import pytest from showtime.config import Config @pytest.fixture def test_config() -> Config: config = Config() config.read = MagicMock() return config def test_load_file_name(test_config): test_config.load('test_file_name.ini...
19.5
66
0.753846
54
390
5.185185
0.425926
0.142857
0.192857
0.171429
0
0
0
0
0
0
0
0
0.148718
390
19
67
20.526316
0.843373
0.071795
0
0
0
0
0.101124
0
0
0
0
0
0.090909
1
0.181818
false
0
0.272727
0
0.545455
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
29c13b4f149ddae192f00367487344e0c3590c42
196
py
Python
telegram_commands/unwatchdefine.py
SalamiArmy/InfoBoet
71df751e50b4b458db44444ef7d6dfe6f68e648f
[ "Apache-2.0" ]
1
2021-07-14T21:48:48.000Z
2021-07-14T21:48:48.000Z
telegram_commands/unwatchdefine.py
SalamiArmy/InfoBoet
71df751e50b4b458db44444ef7d6dfe6f68e648f
[ "Apache-2.0" ]
6
2017-11-27T06:04:34.000Z
2020-02-19T05:15:02.000Z
telegram_commands/unwatchdefine.py
SalamiArmy/InfoBoet
71df751e50b4b458db44444ef7d6dfe6f68e648f
[ "Apache-2.0" ]
2
2017-08-16T20:26:02.000Z
2020-11-10T18:44:11.000Z
# coding=utf-8 import main watchdefine = main.load_code_as_module('watchdefine') def run(bot, chat_id, user, keyConfig, message, totalResults=1): watchdefine.unwatch(bot, chat_id, message)
21.777778
64
0.760204
28
196
5.142857
0.75
0.097222
0.125
0
0
0
0
0
0
0
0
0.011628
0.122449
196
8
65
24.5
0.825581
0.061224
0
0
0
0
0.061111
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
29c83344a28c99b00b8f112b99dcf78ebe05b16b
336
py
Python
docker/web/django-amazon-price-monitor/price_monitor/__init__.py
gomberg5264/pricemointor3
01bcf738af2654a46a684ed19e491ed487b8bf21
[ "MIT" ]
150
2015-03-17T19:27:46.000Z
2022-02-04T10:03:26.000Z
docker/web/django-amazon-price-monitor/price_monitor/__init__.py
gomberg5264/pricemointor3
01bcf738af2654a46a684ed19e491ed487b8bf21
[ "MIT" ]
81
2015-01-28T16:42:49.000Z
2018-10-07T11:48:19.000Z
docker/web/django-amazon-price-monitor/price_monitor/__init__.py
gomberg5264/pricemointor3
01bcf738af2654a46a684ed19e491ed487b8bf21
[ "MIT" ]
41
2015-02-10T20:34:14.000Z
2021-11-01T06:51:26.000Z
"""Dummy init module for the price_monitor package. It will be overwritten when docker mounts the real package.""" def get_version(): """ Returns DEV as version. Just a placeholder while building the web docker image, will be overwritten by mounted docker volume. :return: the version identifier """ ...
30.545455
129
0.720238
47
336
5.106383
0.723404
0.05
0.141667
0
0
0
0
0
0
0
0
0
0.208333
336
10
130
33.6
0.902256
0.794643
0
0
0
0
0.068182
0
0
0
0
0
0
1
0.5
true
0
0
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
1
1
0
0
0
1
0
0
3
4b259595dddcc2997d43cc6b9eda2eb9c4e9f43f
508
py
Python
mooc/views.py
amandasavluchinske/mooc
3d83748b2ddda646597b5a3b57f838ed0fb99b3e
[ "MIT" ]
null
null
null
mooc/views.py
amandasavluchinske/mooc
3d83748b2ddda646597b5a3b57f838ed0fb99b3e
[ "MIT" ]
2
2021-05-07T01:37:50.000Z
2022-02-10T10:08:41.000Z
mooc/views.py
amandasavluchinske/mooc
3d83748b2ddda646597b5a3b57f838ed0fb99b3e
[ "MIT" ]
null
null
null
from django.core.urlresolvers import reverse from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import render from django.views.generic import * from .models import * #DetailView, FormView, TemplateView, UpdateView, ListView class Home(TemplateView): template_name = 'home.html' d...
26.736842
58
0.757874
60
508
6.316667
0.516667
0.105541
0.126649
0.08971
0.195251
0.195251
0.195251
0.195251
0
0
0
0
0.15748
508
19
59
26.736842
0.885514
0.110236
0
0.153846
0
0
0.070796
0
0
0
0
0
0
1
0.153846
false
0
0.384615
0.153846
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
0
0
1
1
1
0
0
3
d9af22e72e9f21044b5d5b9d114cb3594d085b58
98
py
Python
geophoto_api/apps.py
amatmv/geophoto-backend
56e823e8aa152dc80e40a65a7311c5561c965ee0
[ "MIT" ]
1
2019-11-04T22:03:09.000Z
2019-11-04T22:03:09.000Z
geophoto_api/apps.py
amatmv/GeoPhoto_Server
56e823e8aa152dc80e40a65a7311c5561c965ee0
[ "MIT" ]
null
null
null
geophoto_api/apps.py
amatmv/GeoPhoto_Server
56e823e8aa152dc80e40a65a7311c5561c965ee0
[ "MIT" ]
null
null
null
from django.apps import AppConfig class GeophotoApiConfig(AppConfig): name = 'geophoto_api'
16.333333
35
0.77551
11
98
6.818182
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.153061
98
5
36
19.6
0.903614
0
0
0
0
0
0.122449
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
d9ceb3df72ea302a00c9f059f159d80488ca105c
151
py
Python
forDemo.py
sumforest/first_python
93d6349bc9741c84174ff4982b04099beab72971
[ "Apache-2.0" ]
null
null
null
forDemo.py
sumforest/first_python
93d6349bc9741c84174ff4982b04099beab72971
[ "Apache-2.0" ]
null
null
null
forDemo.py
sumforest/first_python
93d6349bc9741c84174ff4982b04099beab72971
[ "Apache-2.0" ]
null
null
null
big_factories = ['ByteDance','Alibaba','Tencnet','Google','Meituan'] for index in range (len(big_factories)): print(big_factories[index],end=',')
30.2
68
0.701987
19
151
5.421053
0.736842
0.349515
0
0
0
0
0
0
0
0
0
0
0.092715
151
4
69
37.75
0.751825
0
0
0
0
0
0.245033
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d9e0dce44ea2ae8a88680ce9adec43aada8e8269
501
py
Python
GCL/augmentors/node_dropping.py
lem0nle/PyGCL
340b0201a5edf4236fef4c96b958ff373ceb7f28
[ "Apache-2.0" ]
361
2021-07-09T15:15:23.000Z
2022-03-30T07:08:10.000Z
GCL/augmentors/node_dropping.py
lem0nle/PyGCL
340b0201a5edf4236fef4c96b958ff373ceb7f28
[ "Apache-2.0" ]
25
2021-08-21T11:06:26.000Z
2022-03-29T02:51:56.000Z
GCL/augmentors/node_dropping.py
lem0nle/PyGCL
340b0201a5edf4236fef4c96b958ff373ceb7f28
[ "Apache-2.0" ]
45
2021-08-07T02:59:45.000Z
2022-03-29T05:07:17.000Z
from GCL.augmentors.augmentor import Graph, Augmentor from GCL.augmentors.functional import drop_node class NodeDropping(Augmentor): def __init__(self, pn: float): super(NodeDropping, self).__init__() self.pn = pn def augment(self, g: Graph) -> Graph: x, edge_index, edge_weights = g.u...
31.3125
94
0.706587
69
501
4.826087
0.405797
0.135135
0.195195
0.24024
0
0
0
0
0
0
0
0.002469
0.191617
501
15
95
33.4
0.819753
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
d9f36a7f42c2147b919ae94a79e93744f9f2de72
51
py
Python
eve_auth/__init__.py
bastianh/django-eve-auth
26d7440a41708d46b057f98d60dffe9705c03d8b
[ "BSD-2-Clause" ]
1
2017-09-20T09:15:14.000Z
2017-09-20T09:15:14.000Z
eve_auth/__init__.py
bastianh/django-eve-auth
26d7440a41708d46b057f98d60dffe9705c03d8b
[ "BSD-2-Clause" ]
2
2021-08-19T13:26:04.000Z
2021-08-19T13:26:08.000Z
elmo/eve_auth/__init__.py
stephenswat/eve_lunar_mining_organiser
2f6e84b0a9fc60588ca9bdc2ffd074be7fbf0b12
[ "MIT" ]
2
2017-10-09T20:15:03.000Z
2018-02-03T15:54:53.000Z
default_app_config = 'eve_auth.apps.EveAuthConfig'
25.5
50
0.843137
7
51
5.714286
1
0
0
0
0
0
0
0
0
0
0
0
0.058824
51
1
51
51
0.833333
0
0
0
0
0
0.529412
0.529412
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
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d9f43f38effe4991acf0fe48a3e8b998ab888edc
142
py
Python
authO/apps.py
markvangeffen/public_dashboard
81521f93ab6337e4f90f58722811e0c8358174a8
[ "MIT" ]
null
null
null
authO/apps.py
markvangeffen/public_dashboard
81521f93ab6337e4f90f58722811e0c8358174a8
[ "MIT" ]
null
null
null
authO/apps.py
markvangeffen/public_dashboard
81521f93ab6337e4f90f58722811e0c8358174a8
[ "MIT" ]
null
null
null
from django.apps import AppConfig class AuthoConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'authO'
20.285714
56
0.753521
17
142
6.176471
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.15493
142
6
57
23.666667
0.875
0
0
0
0
0
0.239437
0.204225
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
d9f4f3b7aa169e51c8d5b97b858301180cffad16
347
py
Python
src/services/__init__.py
panyamred/aaib4-inference
0fc774cdde7055ddc3ed873a36132cf62e78a781
[ "MIT" ]
2
2021-05-27T14:26:50.000Z
2022-02-11T07:06:07.000Z
src/services/__init__.py
panyamred/aaib4-inference
0fc774cdde7055ddc3ed873a36132cf62e78a781
[ "MIT" ]
null
null
null
src/services/__init__.py
panyamred/aaib4-inference
0fc774cdde7055ddc3ed873a36132cf62e78a781
[ "MIT" ]
4
2021-05-27T12:26:19.000Z
2022-02-24T03:44:53.000Z
from .model_loader import Loadmodels ''' load_models pre-loads nmt variable and stores the translator object in a dictionary with keys being the model id''' load_models = Loadmodels() from .fairseq_translate import FairseqTranslateService, FairseqAutoCompleteTranslateService from .fairseq_document_translate import Fair...
69.4
119
0.861671
40
347
7.325
0.725
0.068259
0
0
0
0
0
0
0
0
0
0
0.097983
347
5
120
69.4
0.936102
0
0
0
0
0
0
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
8a0142270ff7998b2e4ed180a2845a8384ad80fa
203
py
Python
meiduo_mall/meiduo_mall/apps/oauth/urls.py
hhyluor/Code_Repository-
0b692bcd5b00312b5c9fd19d55b50c495d27de2b
[ "MIT" ]
null
null
null
meiduo_mall/meiduo_mall/apps/oauth/urls.py
hhyluor/Code_Repository-
0b692bcd5b00312b5c9fd19d55b50c495d27de2b
[ "MIT" ]
null
null
null
meiduo_mall/meiduo_mall/apps/oauth/urls.py
hhyluor/Code_Repository-
0b692bcd5b00312b5c9fd19d55b50c495d27de2b
[ "MIT" ]
1
2021-12-29T05:43:28.000Z
2021-12-29T05:43:28.000Z
from django.urls import re_path from . import views urlpatterns = [ re_path(r'^qq/authorization/$', views.OAuthURLView.as_view()), re_path(r'^oauth_callback/$', views.OAuthUserView.as_view()), ]
29
66
0.724138
28
203
5.035714
0.607143
0.12766
0.099291
0
0
0
0
0
0
0
0
0
0.118227
203
7
67
29
0.78771
0
0
0
0
0
0.176471
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
8a0b702c51d08304e40f23c86f6c721266bec40c
4,825
py
Python
data/dog_names.py
nevin-watkins/dog_breed_app
da5f3f8c67509175f666d8d45b101b902121a055
[ "MIT" ]
null
null
null
data/dog_names.py
nevin-watkins/dog_breed_app
da5f3f8c67509175f666d8d45b101b902121a055
[ "MIT" ]
null
null
null
data/dog_names.py
nevin-watkins/dog_breed_app
da5f3f8c67509175f666d8d45b101b902121a055
[ "MIT" ]
null
null
null
dog_names = ['ages/train/001.Affenpinscher', 'ages/train/002.Afghan_hound', 'ages/train/003.Airedale_terrier', 'ages/train/004.Akita', 'ages/train/005.Alaskan_malamute', 'ages/train/006.American_eskimo_dog', 'ages/train/007.American_foxhound', 'ages/train/008.American_staffordshire_terrier', 'ages/train...
36.278195
54
0.751088
680
4,825
5.117647
0.457353
0.343966
0.091954
0.017241
0
0
0
0
0
0
0
0.090129
0.082487
4,825
133
55
36.278195
0.695957
0
0
0
0
0
0.855773
0.842991
0
0
0
0
0
1
0
false
0
0
0
0
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8a0c48d0994334718fa85546e0c9fa00240eece2
466
py
Python
stats/pitching.py
mujinyun/Python-Baseball
fd198c8dd49e018ffd38cc2bc64d8d10d9575a6e
[ "MIT" ]
null
null
null
stats/pitching.py
mujinyun/Python-Baseball
fd198c8dd49e018ffd38cc2bc64d8d10d9575a6e
[ "MIT" ]
null
null
null
stats/pitching.py
mujinyun/Python-Baseball
fd198c8dd49e018ffd38cc2bc64d8d10d9575a6e
[ "MIT" ]
null
null
null
import pandas as pd import matplotlib.pyplot as plt from data import games plays = games[games['type'] == 'play'] strike_outs = plays[plays['event'].str.contains('K')] strike_outs = strike_outs.groupby(['year', 'game_id']).size() strike_outs = strike_outs.reset_index(name='strike_outs') strike_outs = strike_outs.loc[...
31.066667
83
0.725322
71
466
4.56338
0.535211
0.37037
0.197531
0.246914
0
0
0
0
0
0
0
0
0.087983
466
14
84
33.285714
0.762353
0
0
0
0
0
0.180258
0
0
0
0
0
0
1
0
false
0
0.3
0
0.3
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
8a265384a74e946eb4b6b9f2a186e0825b5ccc99
235
py
Python
smartsim/error/__init__.py
billschereriii/SmartSim
7ef4cffeba23fe19b931bdae819f4de99bb112a3
[ "BSD-2-Clause" ]
1
2022-01-19T21:18:59.000Z
2022-01-19T21:18:59.000Z
smartsim/error/__init__.py
billschereriii/SmartSim
7ef4cffeba23fe19b931bdae819f4de99bb112a3
[ "BSD-2-Clause" ]
null
null
null
smartsim/error/__init__.py
billschereriii/SmartSim
7ef4cffeba23fe19b931bdae819f4de99bb112a3
[ "BSD-2-Clause" ]
null
null
null
from .errors import ( AllocationError, EntityExistsError, LauncherError, ParameterWriterError, ShellError, SmartSimError, SSConfigError, SSInternalError, SSUnsupportedError, UserStrategyError, )
18.076923
25
0.710638
13
235
12.846154
1
0
0
0
0
0
0
0
0
0
0
0
0.234043
235
12
26
19.583333
0.927778
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
8a2caec6ef1c43c72385fd007c09003a7dfc0ad2
77
py
Python
contar.py
rejeitado/primeirocodigo
33586fcf5721a3a8cf372eee480f6105442b08c2
[ "MIT" ]
null
null
null
contar.py
rejeitado/primeirocodigo
33586fcf5721a3a8cf372eee480f6105442b08c2
[ "MIT" ]
null
null
null
contar.py
rejeitado/primeirocodigo
33586fcf5721a3a8cf372eee480f6105442b08c2
[ "MIT" ]
null
null
null
print("este programa conta de um a dez") for x in range(1,11): print(x)
15.4
40
0.649351
16
77
3.125
0.875
0
0
0
0
0
0
0
0
0
0
0.05
0.220779
77
4
41
19.25
0.783333
0
0
0
0
0
0.407895
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
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
0
1
0
3
8a35b96ff2ba9e79f13ba8ec5d23f9e8bbf8b0c8
89
py
Python
kpc/3.py
Lockdef/kyopro-code
2d943a87987af05122c556e173e5108a0c1c77c8
[ "MIT" ]
null
null
null
kpc/3.py
Lockdef/kyopro-code
2d943a87987af05122c556e173e5108a0c1c77c8
[ "MIT" ]
null
null
null
kpc/3.py
Lockdef/kyopro-code
2d943a87987af05122c556e173e5108a0c1c77c8
[ "MIT" ]
null
null
null
a, b, c = map(int, input().split()) if b + c > a: print(b+c - a) else: print(0)
12.714286
35
0.47191
18
89
2.333333
0.611111
0.142857
0.142857
0
0
0
0
0
0
0
0
0.015873
0.292135
89
6
36
14.833333
0.650794
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.4
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
8a4e4b94a34dec0a3b7d8a35981b74750995f0c8
301
py
Python
Python3/0692-Top-K-Frequent-Words/soln.py
wyaadarsh/LeetCode-Solutions
3719f5cb059eefd66b83eb8ae990652f4b7fd124
[ "MIT" ]
5
2020-07-24T17:48:59.000Z
2020-12-21T05:56:00.000Z
Python3/0692-Top-K-Frequent-Words/soln.py
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
null
null
null
Python3/0692-Top-K-Frequent-Words/soln.py
zhangyaqi1989/LeetCode-Solutions
2655a1ffc8678ad1de6c24295071308a18c5dc6e
[ "MIT" ]
2
2020-07-24T17:49:01.000Z
2020-08-31T19:57:35.000Z
class Solution: def topKFrequent(self, words, k): """ :type words: List[str] :type k: int :rtype: List[str] """ pairs = [(-cnt, word) for word, cnt in collections.Counter(words).items()] return [word for _, word in heapq.nsmallest(k, pairs)]
33.444444
82
0.551495
37
301
4.459459
0.621622
0.084848
0.133333
0
0
0
0
0
0
0
0
0
0.305648
301
9
83
33.444444
0.789474
0.17608
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
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
8a5acd24752b19bc38ac6d1e1b6ec692dfcee46b
171
py
Python
main.py
dadvisor/core
31d59707eb9bf33f5bea4a8fb6fb1f0de9a37eba
[ "MIT" ]
null
null
null
main.py
dadvisor/core
31d59707eb9bf33f5bea4a8fb6fb1f0de9a37eba
[ "MIT" ]
null
null
null
main.py
dadvisor/core
31d59707eb9bf33f5bea4a8fb6fb1f0de9a37eba
[ "MIT" ]
null
null
null
""" Start the main program. Use the following command: python3 -u src/main.py """ from dadvisor import run_forever if __name__ == '__main__': run_forever()
15.545455
32
0.678363
23
171
4.608696
0.782609
0.188679
0
0
0
0
0
0
0
0
0
0.007463
0.216374
171
10
33
17.1
0.783582
0.432749
0
0
0
0
0.098765
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
8a6264e9ffb046453112dee8d3ff09abf3d4afa1
82
py
Python
agc/agc001/agc001a.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
1
2019-08-21T00:49:34.000Z
2019-08-21T00:49:34.000Z
agc/agc001/agc001a.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
null
null
null
agc/agc001/agc001a.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
null
null
null
N = int(input()) L = list(map(int, input().split())) L.sort() print(sum(L[::2]))
13.666667
35
0.54878
15
82
3
0.733333
0.355556
0
0
0
0
0
0
0
0
0
0.013889
0.121951
82
5
36
16.4
0.611111
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8a74b68d374fd51047951dab9f88cf82cbaf0c44
1,406
py
Python
pygimli/testing/test_OSMGetter.py
baender/gimli
eb9a2204669cf11209b9577472f61ac70217a191
[ "Apache-2.0" ]
224
2015-02-20T21:36:24.000Z
2022-03-30T07:27:43.000Z
pygimli/testing/test_OSMGetter.py
baender/gimli
eb9a2204669cf11209b9577472f61ac70217a191
[ "Apache-2.0" ]
341
2015-05-21T14:39:51.000Z
2022-03-31T01:54:07.000Z
pygimli/testing/test_OSMGetter.py
baender/gimli
eb9a2204669cf11209b9577472f61ac70217a191
[ "Apache-2.0" ]
107
2015-01-24T14:40:21.000Z
2022-02-25T12:12:13.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # write a correct test! import unittest from pygimli.viewer.mpl import underlayMap #from pygimli.io import readGPX, readSimpleLatLon import matplotlib.pyplot as plt #import pyproj class TestOSMGetter(unittest.TestCase): def test_OSM(self): #zone = 32 ...
23.04918
85
0.510669
154
1,406
4.603896
0.571429
0.011284
0.059238
0.076164
0.115656
0.115656
0.115656
0.115656
0.115656
0
0
0.041037
0.341394
1,406
60
86
23.433333
0.724622
0.560455
0
0
0
0
0.013817
0
0
0
0
0
0
1
0.125
false
0.125
0.375
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
8a75948a07763acddb10da42d7934ec13b3fb314
517
py
Python
twitch.py
xJavaTheHutt/Twitchtistics
9effbc3f05e307723b4844b864e5a52b0084b347
[ "MIT" ]
null
null
null
twitch.py
xJavaTheHutt/Twitchtistics
9effbc3f05e307723b4844b864e5a52b0084b347
[ "MIT" ]
null
null
null
twitch.py
xJavaTheHutt/Twitchtistics
9effbc3f05e307723b4844b864e5a52b0084b347
[ "MIT" ]
null
null
null
import requests BASE_URL = 'https://api.twitch.tv/helix/' HEADERS = {'Client-ID': 'CLIENT_ID'} INDENT = 2 # Call Twitch API for a response def get_response(query): url = BASE_URL + query response = requests.get(url, headers=HEADERS) return response.json() # Print out JSON def print_response(response): ...
19.884615
56
0.715667
78
517
4.551282
0.423077
0.050704
0.078873
0
0
0
0
0
0
0
0
0.011442
0.154739
517
25
57
20.68
0.800915
0.087041
0
0
0
0
0.187633
0.057569
0
0
0
0
0
1
0.285714
false
0
0.071429
0.142857
0.571429
0.142857
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
8a8f07af027d3529c2e745107dca5ad8d5fd5952
509
py
Python
Week 6/id_510/Leetcode_51_510.py
larryRishi/algorithm004-05
e60d0b1176acd32a9184b215e36d4122ba0b6263
[ "Apache-2.0" ]
1
2019-10-12T06:48:45.000Z
2019-10-12T06:48:45.000Z
Week 6/id_510/Leetcode_51_510.py
larryRishi/algorithm004-05
e60d0b1176acd32a9184b215e36d4122ba0b6263
[ "Apache-2.0" ]
1
2019-12-01T10:02:03.000Z
2019-12-01T10:02:03.000Z
Week 6/id_510/Leetcode_51_510.py
larryRishi/algorithm004-05
e60d0b1176acd32a9184b215e36d4122ba0b6263
[ "Apache-2.0" ]
null
null
null
""" n 皇后问题研究的是如何将 n 个皇后放置在 n×n 的棋盘上,并且使皇后彼此之间不能相互攻击。 上图为 8 皇后问题的一种解法。 给定一个整数 n,返回所有不同的 n 皇后问题的解决方案。 每一种解法包含一个明确的 n 皇后问题的棋子放置方案,该方案中 'Q' 和 '.' 分别代表了皇后和空位。 示例: 输入: 4 输出: [ [".Q..", // 解法 1 "...Q", "Q...", "..Q."], ["..Q.", // 解法 2 "Q...", "...Q", ".Q.."] ] 解释: 4 皇后问题存在两个不同的解法。 来源:力扣(LeetCode) 链接:...
14.138889
54
0.595285
72
509
4.222222
0.708333
0.032895
0.029605
0
0
0
0
0
0
0
0
0.012165
0.192534
509
35
55
14.542857
0.725061
0.770138
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0.25
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
8a96346284b6db805c38fc087dd6f81aea1dc48b
1,565
py
Python
tests/dbus/payloads/test_interface_update_payload.py
skateman/supervisor
0675f66ee6342d46bde03aa667cae43edff320dd
[ "Apache-2.0" ]
null
null
null
tests/dbus/payloads/test_interface_update_payload.py
skateman/supervisor
0675f66ee6342d46bde03aa667cae43edff320dd
[ "Apache-2.0" ]
null
null
null
tests/dbus/payloads/test_interface_update_payload.py
skateman/supervisor
0675f66ee6342d46bde03aa667cae43edff320dd
[ "Apache-2.0" ]
null
null
null
"""Test interface update payload.""" import pytest from supervisor.dbus.const import ConnectionType from supervisor.dbus.payloads.generate import interface_update_payload from supervisor.utils.gdbus import DBus @pytest.mark.asyncio async def test_interface_update_payload_ethernet(network_interface): """Test inte...
43.472222
87
0.693291
204
1,565
5.151961
0.220588
0.038059
0.039962
0.175071
0.730733
0.715509
0.635585
0.631779
0.631779
0.534729
0
0.051058
0.123962
1,565
35
88
44.714286
0.715536
0.019169
0
0.56
1
0
0.159231
0
0
0
0
0
0.32
1
0
false
0
0.16
0
0.16
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
8aa1d7641bd94ce432d46dd06786edda9b06f431
106
py
Python
tutorials/W1D5_DimensionalityReduction/solutions/W1D5_Tutorial3_Solution_d27990ad.py
eduardojdiniz/CompNeuro
20269e66540dc4e802273735c97323020ee37406
[ "CC-BY-4.0", "BSD-3-Clause" ]
2,294
2020-05-11T12:05:35.000Z
2022-03-28T21:23:34.000Z
tutorials/W1D5_DimensionalityReduction/solutions/W1D5_Tutorial3_Solution_d27990ad.py
pellet/course-content
bb383857992469e0e7a9c36639ac0d05e842d9bd
[ "CC-BY-4.0", "BSD-3-Clause" ]
629
2020-05-11T15:42:26.000Z
2022-03-29T12:23:35.000Z
tutorials/W1D5_DimensionalityReduction/solutions/W1D5_Tutorial3_Solution_d27990ad.py
pellet/course-content
bb383857992469e0e7a9c36639ac0d05e842d9bd
[ "CC-BY-4.0", "BSD-3-Clause" ]
917
2020-05-11T12:47:53.000Z
2022-03-31T12:14:41.000Z
# Plot the weights of the first principal component with plt.xkcd(): plot_MNIST_weights(evectors[:, 0])
26.5
51
0.754717
16
106
4.875
0.8125
0
0
0
0
0
0
0
0
0
0
0.010989
0.141509
106
4
52
26.5
0.846154
0.462264
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
8aab5d7bf6dba2f0174cdc49223767daa60bd637
16,046
py
Python
Blender 2.91/2.91/scripts/addons/rigify/utils/widgets_basic.py
calculusrobotics/RNNs-for-Bayesian-State-Estimation
2aacf86d2e447e10c840b4926d4de7bc5e46d9bc
[ "MIT" ]
1
2020-01-18T22:13:24.000Z
2020-01-18T22:13:24.000Z
release/scripts/addons/rigify/utils/widgets_basic.py
ringsce/Rings3D
8059d1e2460fc8d6f101eff8e695f68a99f6671d
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
release/scripts/addons/rigify/utils/widgets_basic.py
ringsce/Rings3D
8059d1e2460fc8d6f101eff8e695f68a99f6671d
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
#====================== BEGIN GPL LICENSE BLOCK ====================== # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later vers...
97.841463
2,872
0.632182
2,226
16,046
4.510782
0.172956
0.011353
0.010756
0.011951
0.330744
0.272284
0.24878
0.20974
0.20974
0.20974
0
0.485712
0.169076
16,046
163
2,873
98.441718
0.267382
0.101209
0
0.519231
0
0
0.00007
0
0
0
0
0
0
1
0.076923
false
0
0.019231
0
0.144231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8aafcc7b2f346a0599e29d0a206b163df9a04c21
1,721
py
Python
fastlmm/pyplink/snpset/PositionRange.py
HealthML/FaST-LMM
3c502ce1c693a934b5f2ff7b63a9577e892cb716
[ "Apache-2.0" ]
2
2019-12-10T09:55:40.000Z
2019-12-11T20:58:10.000Z
fastlmmhpc/pyplink/snpset/PositionRange.py
epiproject/FaST-LMM-HPC
5d6df81268aeff19015194ab0718a9163b8d33af
[ "Apache-2.0" ]
null
null
null
fastlmmhpc/pyplink/snpset/PositionRange.py
epiproject/FaST-LMM-HPC
5d6df81268aeff19015194ab0718a9163b8d33af
[ "Apache-2.0" ]
null
null
null
import numpy as SP import subprocess, sys, os.path class PositionRange(object): # implements ISnpSet ''' When given to a bed reader, tells it to read 'nSNPs' starting at index position 'start'. See the Bed class's 'read' method of examples of its use. See __init__.py for specification of interface it...
33.096154
145
0.622313
231
1,721
4.493506
0.380952
0.069364
0.06262
0.049133
0.147399
0.055877
0.055877
0
0
0
0
0.00321
0.276002
1,721
52
146
33.096154
0.829856
0.364904
0
0.071429
0
0
0.034102
0.034102
0
0
0
0
0
1
0.321429
false
0
0.071429
0.142857
0.678571
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
8abd495be82913913b3b30ae945329b1bbf30be3
1,827
py
Python
xero_python/accounting/models/history_records.py
sromero84/xero-python
89558c0baa8080c3f522701eb1b94f909248dbd7
[ "MIT" ]
null
null
null
xero_python/accounting/models/history_records.py
sromero84/xero-python
89558c0baa8080c3f522701eb1b94f909248dbd7
[ "MIT" ]
null
null
null
xero_python/accounting/models/history_records.py
sromero84/xero-python
89558c0baa8080c3f522701eb1b94f909248dbd7
[ "MIT" ]
null
null
null
# coding: utf-8 """ Accounting API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 OpenAPI spec version: 2.3.4 Contact: api@xero.com Generated by: https://openapi-generator.tech """ import re # noqa: F401 from xero_pytho...
27.681818
124
0.65572
210
1,827
5.557143
0.37619
0.227935
0.092545
0.065124
0.294773
0.212511
0.180805
0.180805
0.065124
0.065124
0
0.018464
0.258894
1,827
65
125
28.107692
0.843427
0.421456
0
0
1
0
0.09292
0
0
0
0
0
0
1
0.1875
false
0
0.125
0
0.5625
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
76ed98fb605c6b977986bd4eeb0cc460641ffd38
714
py
Python
mayan/apps/mime_types/settings.py
bonitobonita24/Mayan-EDMS
7845fe0e1e83c81f5d227a16116397a3d3883b85
[ "Apache-2.0" ]
343
2015-01-05T14:19:35.000Z
2018-12-10T19:07:48.000Z
mayan/apps/mime_types/settings.py
bonitobonita24/Mayan-EDMS
7845fe0e1e83c81f5d227a16116397a3d3883b85
[ "Apache-2.0" ]
191
2015-01-03T00:48:19.000Z
2018-11-30T09:10:25.000Z
mayan/apps/mime_types/settings.py
bonitobonita24/Mayan-EDMS
7845fe0e1e83c81f5d227a16116397a3d3883b85
[ "Apache-2.0" ]
114
2015-01-08T20:21:05.000Z
2018-12-10T19:07:53.000Z
from django.utils.translation import ugettext_lazy as _ from mayan.apps.smart_settings.classes import SettingNamespace from .literals import ( DEFAULT_MIME_TYPE_BACKEND, DEFAULT_MIME_TYPE_BACKEND_ARGUMENTS ) namespace = SettingNamespace(label=_('MIME types'), name='mime_types') setting_backend = namespace.add_s...
31.043478
71
0.780112
93
714
5.591398
0.408602
0.107692
0.201923
0.169231
0.357692
0.184615
0.184615
0.184615
0
0
0
0
0.145658
714
22
72
32.454545
0.852459
0
0
0
0
0
0.228291
0.037815
0
0
0
0
0
1
0
false
0.055556
0.166667
0
0.166667
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
0a072008fe985eda28a814000bfe0d91a9b7cdcd
1,447
py
Python
ansys/mapdl/core/__init__.py
da1910/pymapdl
305b70b30e61a78011e974ff4cb409ee21f89e13
[ "MIT" ]
null
null
null
ansys/mapdl/core/__init__.py
da1910/pymapdl
305b70b30e61a78011e974ff4cb409ee21f89e13
[ "MIT" ]
null
null
null
ansys/mapdl/core/__init__.py
da1910/pymapdl
305b70b30e61a78011e974ff4cb409ee21f89e13
[ "MIT" ]
null
null
null
import appdirs import os _LOCAL_PORTS = [] # Per contract with Sphinx-Gallery, this method must be available at top level from pyvista.utilities.sphinx_gallery import _get_sg_image_scraper from ansys.mapdl.core._version import __version__ from ansys.mapdl.core.convert import convert_script from ansys.mapdl.core.laun...
32.886364
80
0.77678
214
1,447
5.009346
0.378505
0.130597
0.182836
0.218284
0.184701
0.110075
0
0
0
0
0
0
0.153421
1,447
43
81
33.651163
0.875102
0.21009
0
0
0
0
0.032628
0
0
0
0
0
0
1
0
false
0.038462
0.5
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0a10a1c8cc53c1cfed4bf6f704857160b947a191
2,509
py
Python
python_scripts/04_basic_parameters_tuning_exercise_02.py
GaelVaroquaux/scikit-learn-tutorial-1
88c45edc32a451a96beed56fdfa1ee64a9fbf7d8
[ "CC0-1.0" ]
43
2019-10-01T13:57:39.000Z
2022-03-10T17:04:47.000Z
python_scripts/04_basic_parameters_tuning_exercise_02.py
GaelVaroquaux/scikit-learn-tutorial-1
88c45edc32a451a96beed56fdfa1ee64a9fbf7d8
[ "CC0-1.0" ]
23
2019-09-19T10:00:01.000Z
2020-06-09T13:13:29.000Z
python_scripts/04_basic_parameters_tuning_exercise_02.py
GaelVaroquaux/scikit-learn-tutorial-1
88c45edc32a451a96beed56fdfa1ee64a9fbf7d8
[ "CC0-1.0" ]
25
2019-09-25T17:02:10.000Z
2020-04-16T02:16:00.000Z
# --- # jupyter: # jupytext: # formats: python_scripts//py:percent,notebooks//ipynb # text_representation: # extension: .py # format_name: percent # format_version: '1.2' # jupytext_version: 1.2.4 # kernelspec: # display_name: Python 3 # language: python # name: python3 #...
29.517647
79
0.73057
335
2,509
5.39403
0.495522
0.036525
0.009961
0.014388
0.036525
0.036525
0.036525
0.036525
0
0
0
0.01244
0.166999
2,509
84
80
29.869048
0.852153
0.707055
0
0
0
0
0.095729
0
0
0
0
0.011905
0
1
0
false
0
0.533333
0
0.533333
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
0a1aed0efbfaca6451c0bfd7a04e431d6ffd6f75
12,286
py
Python
tests/plotting/bokeh/testcurveplot.py
lelatbones/holoviews
c94deaaf6250821ff30b764893e598ce24be98c0
[ "BSD-3-Clause" ]
null
null
null
tests/plotting/bokeh/testcurveplot.py
lelatbones/holoviews
c94deaaf6250821ff30b764893e598ce24be98c0
[ "BSD-3-Clause" ]
null
null
null
tests/plotting/bokeh/testcurveplot.py
lelatbones/holoviews
c94deaaf6250821ff30b764893e598ce24be98c0
[ "BSD-3-Clause" ]
null
null
null
import datetime as dt from unittest import SkipTest import numpy as np from holoviews.core import NdOverlay, HoloMap, DynamicMap from holoviews.core.options import Cycle, Palette from holoviews.core.util import pd, basestring from holoviews.element import Curve from holoviews.plotting.util import rgb2hex from holovie...
49.943089
115
0.618346
1,606
12,286
4.562267
0.113948
0.069606
0.075201
0.088713
0.773987
0.75174
0.71025
0.697557
0.68036
0.642418
0
0.039743
0.225867
12,286
245
116
50.146939
0.730628
0.005942
0
0.5
0
0
0.063473
0
0
0
0
0
0.2
1
0.128571
false
0.004762
0.057143
0
0.190476
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
0a2ee0f9e708f785ec8474bca2c3191ee8594ceb
18
py
Python
hello_pi/__init__.py
samlet/hello-pi
d40249c963f58d2314799428632b85b077345bed
[ "MIT" ]
null
null
null
hello_pi/__init__.py
samlet/hello-pi
d40249c963f58d2314799428632b85b077345bed
[ "MIT" ]
null
null
null
hello_pi/__init__.py
samlet/hello-pi
d40249c963f58d2314799428632b85b077345bed
[ "MIT" ]
null
null
null
name = "hello_pi"
9
17
0.666667
3
18
3.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.166667
18
1
18
18
0.733333
0
0
0
0
0
0.444444
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
0a586d84e299ae4bd0a7e1c920174dc36499c30a
2,666
py
Python
src/pycalendar/outputfilter.py
LaudateCorpus1/ccs-pycalendar
4c7e0513a8a7a19ab4602ff2a82af968b78c413e
[ "Apache-2.0" ]
72
2016-08-14T17:45:09.000Z
2021-11-16T06:15:11.000Z
src/pycalendar/outputfilter.py
ass-a2s/ccs-pycalendar
7aad34797f055875d4207615e6ad493707037f6a
[ "Apache-2.0" ]
3
2017-04-06T18:16:01.000Z
2020-05-14T05:57:00.000Z
src/pycalendar/outputfilter.py
ass-a2s/ccs-pycalendar
7aad34797f055875d4207615e6ad493707037f6a
[ "Apache-2.0" ]
26
2016-09-14T16:27:00.000Z
2022-03-26T11:42:20.000Z
## # Copyright (c) 2007-2013 Cyrus Daboo. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless ...
29.955056
77
0.665416
319
2,666
5.54232
0.366771
0.10181
0.039593
0.018665
0.1069
0.035068
0.035068
0
0
0
0
0.006141
0.267067
2,666
88
78
30.295455
0.898669
0.300825
0
0.125
0
0
0
0
0
0
0
0
0
1
0.291667
false
0
0
0.145833
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0a68159a03c4445bdbba2fb60a6193ec5768eca1
70
py
Python
osziplotter/modelcontroller/Enums.py
SinTh0r4s/WifiOsziPlotter
882a2e4b17250c6b55c27e435a8c6a650b14fde0
[ "MIT" ]
null
null
null
osziplotter/modelcontroller/Enums.py
SinTh0r4s/WifiOsziPlotter
882a2e4b17250c6b55c27e435a8c6a650b14fde0
[ "MIT" ]
null
null
null
osziplotter/modelcontroller/Enums.py
SinTh0r4s/WifiOsziPlotter
882a2e4b17250c6b55c27e435a8c6a650b14fde0
[ "MIT" ]
null
null
null
class Domain: time: str = "Time" frequency: str = "Frequency"
17.5
32
0.614286
8
70
5.375
0.625
0
0
0
0
0
0
0
0
0
0
0
0.257143
70
3
33
23.333333
0.826923
0
0
0
0
0
0.185714
0
0
0
0
0
0
1
0
true
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
0a701ad1b711133c6f361c7dafff58bfe97b4907
11,184
py
Python
etk/unit_tests/test_html_content_extractor.py
varuniyer/etk
57dc2ed2bfef0d9914747bed41fdc4123bfe4423
[ "MIT" ]
null
null
null
etk/unit_tests/test_html_content_extractor.py
varuniyer/etk
57dc2ed2bfef0d9914747bed41fdc4123bfe4423
[ "MIT" ]
null
null
null
etk/unit_tests/test_html_content_extractor.py
varuniyer/etk
57dc2ed2bfef0d9914747bed41fdc4123bfe4423
[ "MIT" ]
2
2018-11-08T00:20:44.000Z
2018-11-08T00:36:05.000Z
import unittest import json from etk.extractors.html_content_extractor import HTMLContentExtractor, Strategy class TestGlossaryExtractor(unittest.TestCase): def test_html_content_extractor(self) -> None: hce = HTMLContentExtractor() with open('etk/unit_tests/ground_truth/sample_html.jl', 'r') as...
338.909091
4,806
0.70878
1,912
11,184
4.118724
0.257322
0.037587
0.032381
0.020317
0.580825
0.565206
0.552762
0.548571
0.522413
0.522413
0
0.119595
0.206009
11,184
33
4,807
338.909091
0.76723
0.323498
0
0
0
0.15
0.861563
0.013883
0
0
0
0
0.15
1
0.05
false
0
0.15
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6a566a9336e45b2e8e0fd5aeaf33f74d578bc086
457
py
Python
xos/tosca/tests/allObserverTests.py
xmaruto/mcord
3678a3d10c3703c2b73f396c293faebf0c82a4f4
[ "Apache-2.0" ]
null
null
null
xos/tosca/tests/allObserverTests.py
xmaruto/mcord
3678a3d10c3703c2b73f396c293faebf0c82a4f4
[ "Apache-2.0" ]
5
2020-06-05T17:47:15.000Z
2021-09-23T23:21:27.000Z
xos/tosca/tests/allObserverTests.py
pan2za/xos
c2a4da2ccaa12360b2718be303b247866aefdfe6
[ "Apache-2.0" ]
null
null
null
from observerVMTest import ObserverVMTest from observerContainerTest import ObserverContainerTest from observerImageTest import ObserverImageTest from observerUserTest import ObserverUserTest from observerSiteTest import ObserverSiteTest from observerSliceTest import ObserverSliceTest if __name__ == "__main__": Ob...
30.466667
55
0.833698
33
457
11.30303
0.333333
0
0
0
0
0
0
0
0
0
0
0
0.129103
457
14
56
32.642857
0.937186
0
0
0
0
0
0.017505
0
0
0
0
0
0
1
0
true
0
0.461538
0
0.461538
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
6a691ae538f9605ecfc7bf9f0caed7cf7cef3385
241
py
Python
coreir/base.py
cristian-mattarei/pycoreir
a5933c1599253267f70ccd820dd6375922bbac1e
[ "BSD-3-Clause" ]
null
null
null
coreir/base.py
cristian-mattarei/pycoreir
a5933c1599253267f70ccd820dd6375922bbac1e
[ "BSD-3-Clause" ]
null
null
null
coreir/base.py
cristian-mattarei/pycoreir
a5933c1599253267f70ccd820dd6375922bbac1e
[ "BSD-3-Clause" ]
null
null
null
import ctypes as ct from .lib import libcoreir_c import coreir class CoreIRType(object): def __init__(self, ptr, context): self.ptr = ptr assert isinstance(context, coreir.context.Context) self.context = context
24.1
58
0.701245
31
241
5.290323
0.612903
0.085366
0
0
0
0
0
0
0
0
0
0
0.224066
241
9
59
26.777778
0.877005
0
0
0
0
0
0
0
0
0
0
0
0.125
1
0.125
false
0
0.375
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
6a6afa48f4b645fbcec030245477af356ebb14cf
234
py
Python
Lib/site-packages/cloudpickle/__init__.py
jsturtz/env
d523b0be3345f883a727679d58ff29efb4389d16
[ "bzip2-1.0.6" ]
null
null
null
Lib/site-packages/cloudpickle/__init__.py
jsturtz/env
d523b0be3345f883a727679d58ff29efb4389d16
[ "bzip2-1.0.6" ]
null
null
null
Lib/site-packages/cloudpickle/__init__.py
jsturtz/env
d523b0be3345f883a727679d58ff29efb4389d16
[ "bzip2-1.0.6" ]
null
null
null
from __future__ import absolute_import import sys import pickle from cloudpickle.cloudpickle import * if sys.version_info[:2] >= (3, 8): from cloudpickle.cloudpickle_fast import CloudPickler, dumps, dump __version__ = '1.2.2'
19.5
70
0.769231
32
234
5.28125
0.5625
0.177515
0.307692
0
0
0
0
0
0
0
0
0.03
0.145299
234
11
71
21.272727
0.815
0
0
0
0
0
0.021368
0
0
0
0
0
0
1
0
false
0
0.714286
0
0.714286
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
6a6fcf805bcfeb7b8746e11d54ce55a555b2c207
990
py
Python
Exercise7/exercise5/car.py
Ssteevooh/Object-Oriented-Programming
be39b2721f43605bb214d7acc89128455c48c80d
[ "MIT" ]
null
null
null
Exercise7/exercise5/car.py
Ssteevooh/Object-Oriented-Programming
be39b2721f43605bb214d7acc89128455c48c80d
[ "MIT" ]
null
null
null
Exercise7/exercise5/car.py
Ssteevooh/Object-Oriented-Programming
be39b2721f43605bb214d7acc89128455c48c80d
[ "MIT" ]
null
null
null
# File name: car.py # Author: Steve Hommy # Description: Create a Car Class class Car: def __init__(self, brand, model, boot_size): self.__brand = brand self.__model = model self.__boot_size = boot_size self.__owner = None def set_brand(self): self.__brand = input("Wha...
22.5
64
0.60101
131
990
4.114504
0.229008
0.148423
0.111317
0.06308
0.051948
0
0
0
0
0
0
0
0.29697
990
43
65
23.023256
0.774425
0.069697
0
0
0
0
0.224646
0
0
0
0
0
0
1
0.344828
false
0
0
0.172414
0.551724
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