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
f5b627e24e421c36c0cffec5971fd211635dc5e2
3,485
py
Python
alpha_vantage_proxy/timeseries.py
kburd/alpha-vantage-proxy
5d781382f307381bcb1879b38954ed01ed8f2389
[ "MIT" ]
null
null
null
alpha_vantage_proxy/timeseries.py
kburd/alpha-vantage-proxy
5d781382f307381bcb1879b38954ed01ed8f2389
[ "MIT" ]
null
null
null
alpha_vantage_proxy/timeseries.py
kburd/alpha-vantage-proxy
5d781382f307381bcb1879b38954ed01ed8f2389
[ "MIT" ]
null
null
null
import requests from alpha_vantage_proxy.models import * class TimeSeries: def setFunction(self, function): self.function = function return self def intraday(self): return self.setFunction(TimeSeriesFunction.INTRADAY) def intradayExtended(self): return self.setFunction(T...
24.716312
103
0.629842
364
3,485
5.934066
0.291209
0.12037
0.123148
0.092593
0.361574
0.183333
0
0
0
0
0
0.005132
0.273171
3,485
140
104
24.892857
0.847612
0
0
0.074468
0
0
0.013203
0
0
0
0
0
0
1
0.319149
false
0
0.021277
0.212766
0.670213
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
f5bd04e54d4e84de92925588060d6c27abdf4a93
32,625
py
Python
pstk/model/model.py
agux/faix
99fcca313518b57dcde46c2ddcea9896598b64ea
[ "MIT" ]
null
null
null
pstk/model/model.py
agux/faix
99fcca313518b57dcde46c2ddcea9896598b64ea
[ "MIT" ]
7
2020-04-04T04:53:36.000Z
2022-02-10T00:42:39.000Z
pstk/model/model.py
agux/faix
99fcca313518b57dcde46c2ddcea9896598b64ea
[ "MIT" ]
null
null
null
from __future__ import print_function import functools import tensorflow as tf import numpy as np import math import numbers def stddev(init_scale, feature_size): return np.sqrt(init_scale/feature_size) def weight_bias(W_shape, b_shape, bias_init=0.1): W = tf.Variable(tf.random.truncated_normal(W_shape, std...
40.079853
124
0.579218
3,991
32,625
4.582811
0.08444
0.038054
0.047567
0.026244
0.777802
0.74363
0.716238
0.680536
0.664407
0.641881
0
0.02322
0.301701
32,625
813
125
40.129151
0.779607
0.157333
0
0.657143
0
0
0.029636
0
0
0
0
0
0
1
0.07563
false
0
0.010084
0.003361
0.161345
0.047059
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
f5c37f0a08dc3d2a71a788486d64c7e2c85672d1
711
py
Python
models/migrations/0005_auto_20210830_0635.py
fehernandez12/the-star-rover
171975b125f531bf808131486e73aaaa45af1d66
[ "MIT" ]
1
2021-08-12T03:32:19.000Z
2021-08-12T03:32:19.000Z
models/migrations/0005_auto_20210830_0635.py
fehernandez12/the-star-rover
171975b125f531bf808131486e73aaaa45af1d66
[ "MIT" ]
1
2021-08-15T15:06:10.000Z
2021-08-15T15:06:10.000Z
models/migrations/0005_auto_20210830_0635.py
fehernandez12/the-star-rover
171975b125f531bf808131486e73aaaa45af1d66
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2021-08-30 06:35 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('models', '0004_model_agency'), ] operations = [ migrations.AlterField( model_name='measurements', name='chest', ...
24.517241
54
0.571027
64
711
6.265625
0.53125
0.149626
0.187032
0.216958
0.605985
0.516209
0.40399
0.40399
0.40399
0.40399
0
0.039095
0.316456
711
28
55
25.392857
0.786008
0.063291
0
0.545455
1
0
0.10994
0
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
f5e4fcadd547bfd52685ee9381e76b9e9e21b878
333
py
Python
03/03/rindex.py
pylangstudy/201708
126b1af96a1d1f57522d5a1d435b58597bea2e57
[ "CC0-1.0" ]
null
null
null
03/03/rindex.py
pylangstudy/201708
126b1af96a1d1f57522d5a1d435b58597bea2e57
[ "CC0-1.0" ]
39
2017-07-31T22:54:01.000Z
2017-08-31T00:19:03.000Z
03/03/rindex.py
pylangstudy/201708
126b1af96a1d1f57522d5a1d435b58597bea2e57
[ "CC0-1.0" ]
null
null
null
s = b'abcdefgabc' print(s) print('c:', s.rindex(b'c')) print('c:', s.index(b'c')) #print('z:', s.rindex(b'z'))#ValueError: subsection not found s = bytearray(b'abcdefgabc') print(s) print('c:', s.rindex(bytearray(b'c'))) print('c:', s.index(bytearray(b'c'))) #print('z:', s.rindex(bytearray(b'z')))#ValueError: subsecti...
27.75
72
0.648649
58
333
3.724138
0.224138
0.111111
0.12963
0.157407
0.824074
0.824074
0.277778
0.277778
0
0
0
0
0.081081
333
11
73
30.272727
0.705882
0.387387
0
0.25
0
0
0.16
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
f5e8df13f4c6759091c0e197bec40ace1eb5ed56
86
py
Python
site-packages/serpent/enums.py
nanpuhaha/SerpentAI
6af1105fc0a970227a0d7c11e6a0da1bd0bacec6
[ "MIT" ]
6,762
2017-09-17T20:28:40.000Z
2022-03-31T12:35:47.000Z
site-packages/serpent/enums.py
nanpuhaha/SerpentAI
6af1105fc0a970227a0d7c11e6a0da1bd0bacec6
[ "MIT" ]
159
2017-09-19T21:54:58.000Z
2021-03-26T18:15:58.000Z
site-packages/serpent/enums.py
nanpuhaha/SerpentAI
6af1105fc0a970227a0d7c11e6a0da1bd0bacec6
[ "MIT" ]
880
2017-09-23T01:16:50.000Z
2022-03-27T18:58:30.000Z
import enum class InputControlTypes(enum.Enum): DISCRETE = 0 CONTINUOUS = 1
12.285714
35
0.697674
10
86
6
0.8
0
0
0
0
0
0
0
0
0
0
0.030303
0.232558
86
6
36
14.333333
0.878788
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
eb0d0b8f443a48cde4cc88f0662ed30835d5040c
64
py
Python
example/src/template2.p.py
laurentb/confman
1f8d05f494a8b3c8fbf89a477b2bd67bc60dbac7
[ "MIT" ]
null
null
null
example/src/template2.p.py
laurentb/confman
1f8d05f494a8b3c8fbf89a477b2bd67bc60dbac7
[ "MIT" ]
null
null
null
example/src/template2.p.py
laurentb/confman
1f8d05f494a8b3c8fbf89a477b2bd67bc60dbac7
[ "MIT" ]
null
null
null
template("template2").render(_strict = False, _warning = False)
32
63
0.75
7
64
6.571429
0.857143
0
0
0
0
0
0
0
0
0
0
0.017241
0.09375
64
1
64
64
0.775862
0
0
0
0
0
0.140625
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
eb1bf6f64b86413cdaada2a9a5a94d096b5442f2
100
py
Python
python_programs/factorial_by_recursion.py
abhayanigam/Learn_Python_Programming
801e3fff2b1fe35e4c93f4ced649516c519eb8f9
[ "MIT" ]
1
2021-08-28T15:10:26.000Z
2021-08-28T15:10:26.000Z
python_programs/factorial_by_recursion.py
abhayanigam/Learn_Python_Programming
801e3fff2b1fe35e4c93f4ced649516c519eb8f9
[ "MIT" ]
null
null
null
python_programs/factorial_by_recursion.py
abhayanigam/Learn_Python_Programming
801e3fff2b1fe35e4c93f4ced649516c519eb8f9
[ "MIT" ]
null
null
null
def fact(n): if n > 0: return (n*fact(n - 1)) else: return 1 print(fact(5))
14.285714
30
0.46
17
100
2.705882
0.588235
0.217391
0
0
0
0
0
0
0
0
0
0.064516
0.38
100
6
31
16.666667
0.677419
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.5
0.166667
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
eb25ff207c7a80eb3ba63b40f28d1e631181b021
1,850
py
Python
code/vertice.py
LuizHenriqueBO/Teoria-dos-Grafos
0cda597bbee0330149a8d56316eda82c2389345c
[ "MIT" ]
null
null
null
code/vertice.py
LuizHenriqueBO/Teoria-dos-Grafos
0cda597bbee0330149a8d56316eda82c2389345c
[ "MIT" ]
null
null
null
code/vertice.py
LuizHenriqueBO/Teoria-dos-Grafos
0cda597bbee0330149a8d56316eda82c2389345c
[ "MIT" ]
null
null
null
from sys import maxsize class Vertice(object): def __init__(self, nome, valor): self.nome = nome self.valor = valor self.cor = 'branco' self.distancia = maxsize self.predecessor = None self.grau_entrada = 0 self.grau_saida = 0 self.tempo_entrada = No...
22.289157
55
0.66973
237
1,850
4.881857
0.113924
0.095073
0.101124
0.029386
0.13656
0
0
0
0
0
0
0.002935
0.263243
1,850
82
56
22.560976
0.845928
0
0
0.04
0
0
0.003252
0
0
0
0
0
0
1
0.4
false
0
0.02
0.18
0.62
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
de3598e08341cc167f59339c23a513cc4e5f0809
485
py
Python
app/core/wallet/repository.py
temojudo/BitcoinWallet
5a7fda9d5051d0e448e385856ed6a23cf60324c0
[ "MIT" ]
null
null
null
app/core/wallet/repository.py
temojudo/BitcoinWallet
5a7fda9d5051d0e448e385856ed6a23cf60324c0
[ "MIT" ]
null
null
null
app/core/wallet/repository.py
temojudo/BitcoinWallet
5a7fda9d5051d0e448e385856ed6a23cf60324c0
[ "MIT" ]
null
null
null
from typing import List, Protocol from app.core.transaction.transaction import Transaction from app.core.wallet.wallet import Wallet class IWalletRepository(Protocol): def save(self, wallet: Wallet) -> Wallet: pass def fetch_by_wallet_address(self, address: str) -> Wallet: pass def upda...
25.526316
75
0.709278
60
485
5.616667
0.416667
0.106825
0.115727
0
0
0
0
0
0
0
0
0
0.204124
485
18
76
26.944444
0.873057
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.333333
0.25
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
de379b4de32f2393447da2bddd4cb98cb496b89e
508
py
Python
Python/Bits/est_positif.py
GeneralNZR/maths-and-javascript
8a0e638e59808b1d987269dddac0b99c96c78c4a
[ "MIT" ]
3
2021-10-01T06:11:28.000Z
2021-10-04T20:50:07.000Z
Python/Bits/est_positif.py
GeneralNZR/maths-and-javascript
8a0e638e59808b1d987269dddac0b99c96c78c4a
[ "MIT" ]
null
null
null
Python/Bits/est_positif.py
GeneralNZR/maths-and-javascript
8a0e638e59808b1d987269dddac0b99c96c78c4a
[ "MIT" ]
null
null
null
def est_positif(n: int) -> bool: """ Description: Vérifie si un nombre est positif. Paramètres: n: {int} -- Nombre à vérifier Retourne: {bool} -- True si positif, false sinon Exemple: >>> est_positif(1) True >>> est_positif(-1) Fals...
23.090909
77
0.584646
60
508
4.8
0.533333
0.138889
0.076389
0.083333
0
0
0
0
0
0
0
0.280702
0.326772
508
22
78
23.090909
0.561404
0.738189
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
de3a54de8a2db2ff017d4e6e283ff00eafd31b75
495
py
Python
src/classes/service.py
IMMORTALxJO/kubegraph
efb76fd6778758404595183b5023adf093f34e02
[ "Apache-2.0" ]
3
2019-10-22T09:51:26.000Z
2022-03-11T18:45:28.000Z
src/classes/service.py
IMMORTALxJO/kubegraph
efb76fd6778758404595183b5023adf093f34e02
[ "Apache-2.0" ]
3
2019-10-06T18:09:48.000Z
2020-03-14T09:47:57.000Z
src/classes/service.py
IMMORTALxJO/kubegraph
efb76fd6778758404595183b5023adf093f34e02
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 class Service: def __init__(self, kube_connector, resource): self.__resource = resource self.__kube_connector = kube_connector self.__extract_meta() def __extract_meta(self): self.namespace = self.__resource.metadata.namespace self.name = self._...
30.9375
96
0.70303
57
495
5.631579
0.385965
0.224299
0.249221
0.161994
0
0
0
0
0
0
0
0.002538
0.20404
495
15
97
33
0.812183
0.042424
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
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
de4c32c97560e7c1ee6987b3dd1c8ef514e7f27d
867
py
Python
preprocess/010_datetime/04/python_awesome.py
liyiliuxingyu/Data-preprocessing-goes-from-getting-started-to-real-world
c83fc7b92b52bc106d9a803a6fec24d6470889c3
[ "BSD-3-Clause" ]
null
null
null
preprocess/010_datetime/04/python_awesome.py
liyiliuxingyu/Data-preprocessing-goes-from-getting-started-to-real-world
c83fc7b92b52bc106d9a803a6fec24d6470889c3
[ "BSD-3-Clause" ]
null
null
null
preprocess/010_datetime/04/python_awesome.py
liyiliuxingyu/Data-preprocessing-goes-from-getting-started-to-real-world
c83fc7b92b52bc106d9a803a6fec24d6470889c3
[ "BSD-3-Clause" ]
null
null
null
import pandas as pd from preprocess.load_data.data_loader import load_hotel_reserve customer_tb, hotel_tb, reserve_tb = load_hotel_reserve() # 本书刊登内容如下 # 导入timedelta所在的datetime库 import datetime # 将reserve_datetime转换为datetime64[ns]类型 reserve_tb['reserve_datetime'] = \ pd.to_datetime(reserve_tb['reserve_datetime'], ...
29.896552
76
0.806228
111
867
5.981982
0.378378
0.135542
0.216867
0.253012
0.311747
0.246988
0
0
0
0
0
0.015
0.077278
867
29
77
29.896552
0.815
0.231834
0
0
0
0
0.232877
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
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
de5146720bb0e3eab90ed39964fbd2505e6ac4d6
4,120
py
Python
onnx_darknet/backend_rep.py
minhoolee/onnx-darknet
d0227c305710b740e6b06315d83b021a183bfdaf
[ "Apache-2.0" ]
6
2019-02-26T07:38:01.000Z
2020-07-08T22:18:22.000Z
onnx_darknet/backend_rep.py
minhoolee/onnx-darknet
d0227c305710b740e6b06315d83b021a183bfdaf
[ "Apache-2.0" ]
1
2019-02-26T07:48:26.000Z
2019-02-26T22:00:22.000Z
onnx_darknet/backend_rep.py
minhoolee/onnx-darknet
d0227c305710b740e6b06315d83b021a183bfdaf
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import onnx_darknet.darknet as dn from onnx.backend.base import BackendRep, namedtupledict class DarknetRep(BackendRep): def __init__(self, graph=None, name=None,...
32.698413
94
0.567476
454
4,120
4.96696
0.284141
0.053215
0.037251
0.026608
0.087805
0.045233
0.021286
0
0
0
0
0.000369
0.342718
4,120
125
95
32.96
0.832349
0.496845
0
0.14
0
0
0
0
0
0
0
0.024
0
1
0.28
false
0
0.12
0.1
0.52
0.02
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
de58a5fd6ed1a6c0dcb8173384d8eb1697196c08
121
py
Python
SpartaCoding/week_3/hash.py
Haamseongho/KBDS_Algorithm
6639970583ea6b59b54d045529f3b47b9dd1bebd
[ "Apache-2.0" ]
null
null
null
SpartaCoding/week_3/hash.py
Haamseongho/KBDS_Algorithm
6639970583ea6b59b54d045529f3b47b9dd1bebd
[ "Apache-2.0" ]
null
null
null
SpartaCoding/week_3/hash.py
Haamseongho/KBDS_Algorithm
6639970583ea6b59b54d045529f3b47b9dd1bebd
[ "Apache-2.0" ]
null
null
null
import hashlib class MyHashMap: def __init__(self): self.size = 1000 self.table = collections.default
24.2
40
0.669421
14
121
5.5
0.857143
0
0
0
0
0
0
0
0
0
0
0.044444
0.256198
121
5
40
24.2
0.811111
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
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
de71ee45390c08ca24548eaa7991f0910112418a
3,195
py
Python
py_solutions_11-20/Euler_11.py
tijko/Project-Euler
d953a2bf6932c2c4e1235409fedf760add65a0ba
[ "MIT" ]
null
null
null
py_solutions_11-20/Euler_11.py
tijko/Project-Euler
d953a2bf6932c2c4e1235409fedf760add65a0ba
[ "MIT" ]
1
2022-03-15T02:49:09.000Z
2022-03-15T02:49:09.000Z
py_solutions_11-20/Euler_11.py
tijko/Project-Euler
d953a2bf6932c2c4e1235409fedf760add65a0ba
[ "MIT" ]
null
null
null
# What is the greatest product of four adjacent numbers in any direction # (up, down, left, right, or diagonally) in the 20x20 grid? from __future__ import print_function import numpy as np import timeit try: range = xrange except NameError: pass try: reduce = reduce except NameError: from functo...
38.493976
73
0.594053
683
3,195
2.74817
0.285505
0.018647
0.023442
0.031966
0.196058
0.196058
0.155035
0.155035
0.135855
0.039425
0
0.394054
0.336776
3,195
82
74
38.963415
0.491741
0.070736
0
0.117647
0
0
0.45749
0
0
1
0
0
0
1
0.029412
false
0.014706
0.058824
0
0.117647
0.044118
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
3
de93720f8724d29f1fa57c14bfc00ca9f102524c
1,583
py
Python
generated-libraries/python/netapp/diagnosis/diagnosis_status.py
radekg/netapp-ontap-lib-get
6445ebb071ec147ea82a486fbe9f094c56c5c40d
[ "MIT" ]
2
2017-03-28T15:31:26.000Z
2018-08-16T22:15:18.000Z
generated-libraries/python/netapp/diagnosis/diagnosis_status.py
radekg/netapp-ontap-lib-get
6445ebb071ec147ea82a486fbe9f094c56c5c40d
[ "MIT" ]
null
null
null
generated-libraries/python/netapp/diagnosis/diagnosis_status.py
radekg/netapp-ontap-lib-get
6445ebb071ec147ea82a486fbe9f094c56c5c40d
[ "MIT" ]
null
null
null
from netapp.netapp_object import NetAppObject class DiagnosisStatus(NetAppObject): """ System Health Status When returned as part of the output, all elements of this typedef are reported, unless limited by a set of desired attributes specified by the caller. <p> When used as input to specif...
31.039216
88
0.641819
196
1,583
5.132653
0.520408
0.023857
0.017893
0.021869
0.049702
0.049702
0.049702
0
0
0
0
0
0.290587
1,583
50
89
31.66
0.895815
0.507896
0
0.086957
0
0
0.093373
0
0
0
0
0
0
1
0.217391
false
0
0.043478
0.130435
0.521739
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
dea7d1411f82f15ccd94de70e066603531576db4
13,650
py
Python
TrekBot2_WS/devel/.private/mav_planning_msgs/lib/python2.7/dist-packages/mav_planning_msgs/msg/_PolynomialTrajectory4D.py
Rafcin/TrekBot
d3dc63e6c16a040b16170f143556ef358018b7da
[ "Unlicense" ]
1
2019-11-07T08:06:26.000Z
2019-11-07T08:06:26.000Z
TrekBot2_WS/devel/.private/mav_planning_msgs/lib/python2.7/dist-packages/mav_planning_msgs/msg/_PolynomialTrajectory4D.py
Rafcin/TrekBot
d3dc63e6c16a040b16170f143556ef358018b7da
[ "Unlicense" ]
null
null
null
TrekBot2_WS/devel/.private/mav_planning_msgs/lib/python2.7/dist-packages/mav_planning_msgs/msg/_PolynomialTrajectory4D.py
Rafcin/TrekBot
d3dc63e6c16a040b16170f143556ef358018b7da
[ "Unlicense" ]
null
null
null
# This Python file uses the following encoding: utf-8 """autogenerated by genpy from mav_planning_msgs/PolynomialTrajectory4D.msg. Do not edit.""" import sys python3 = True if sys.hexversion > 0x03000000 else False import genpy import struct import mav_planning_msgs.msg import genpy import std_msgs.msg class Polynomi...
34.821429
145
0.601026
1,809
13,650
4.338308
0.132117
0.077472
0.056065
0.051988
0.703746
0.703746
0.661825
0.655199
0.629205
0.608053
0
0.022375
0.263297
13,650
391
146
34.910486
0.758055
0.092381
0
0.646199
1
0.002924
0.136925
0.026894
0
0
0.000817
0
0
1
0.032164
false
0
0.017544
0
0.093567
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
deb1837a57477e5e1f4439a35ca45f0a6bc94bfd
508
py
Python
logging_utils/context/stack/simple.py
michalbachowski/pylogging_utils
0fe12fbea940fe4c9ae0eab76988d47bcda75213
[ "MIT" ]
null
null
null
logging_utils/context/stack/simple.py
michalbachowski/pylogging_utils
0fe12fbea940fe4c9ae0eab76988d47bcda75213
[ "MIT" ]
null
null
null
logging_utils/context/stack/simple.py
michalbachowski/pylogging_utils
0fe12fbea940fe4c9ae0eab76988d47bcda75213
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from itertools import chain from logging_utils._compat import iteritems, map class SimpleContextStack(object): def __init__(self): self._stack = [] def push(self, context): self._stack.append(context) return self def pop(self): self._stack.pop() ...
20.32
86
0.639764
61
508
5
0.459016
0.147541
0.085246
0
0
0
0
0
0
0
0
0.002611
0.246063
508
24
87
21.166667
0.793734
0.041339
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.133333
0.133333
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ded6cb4eda5ec87ae0a3830745500e38969e1604
2,479
py
Python
tests/OpenMaya/test_MFnTransform.py
christophercrouzet/bana
8087df05ba9844b4d78d3c4699948ca61cf7621d
[ "MIT" ]
24
2017-01-11T15:57:46.000Z
2020-09-23T06:18:30.000Z
tests/OpenMaya/test_MFnTransform.py
christophercrouzet/bana
8087df05ba9844b4d78d3c4699948ca61cf7621d
[ "MIT" ]
null
null
null
tests/OpenMaya/test_MFnTransform.py
christophercrouzet/bana
8087df05ba9844b4d78d3c4699948ca61cf7621d
[ "MIT" ]
2
2017-03-06T23:52:08.000Z
2020-09-23T06:19:03.000Z
#!/usr/bin/env mayapy import os import sys import unittest import maya.standalone from maya import OpenMaya _HERE = os.path.abspath(os.path.dirname(__file__)) sys.path.insert(0, os.path.abspath(os.path.join(_HERE, *((os.pardir,) * 2)))) import bana bana.initialize() maya.standalone.initialize() class MFnTransfor...
38.138462
77
0.666398
328
2,479
4.981707
0.179878
0.238678
0.231334
0.220318
0.706242
0.664627
0.586291
0.526316
0.350061
0.350061
0
0.04689
0.156918
2,479
64
78
38.734375
0.734928
0.008068
0
0.085106
0
0
0.054109
0
0
0
0
0
0.382979
1
0.06383
false
0
0.148936
0
0.234043
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
deea4bcc0d89643c1daa75e0b483a2d672370273
16,254
py
Python
rspub/core/config.py
EHRI/rspub-core
1f6b0c84825037b7df442ae0d258d5d897ff6905
[ "Apache-2.0" ]
1
2017-02-01T15:03:29.000Z
2017-02-01T15:03:29.000Z
rspub/core/config.py
EHRI/rspub-core
1f6b0c84825037b7df442ae0d258d5d897ff6905
[ "Apache-2.0" ]
3
2017-02-15T12:25:22.000Z
2017-04-10T13:51:54.000Z
rspub/core/config.py
EHRI/rspub-core
1f6b0c84825037b7df442ae0d258d5d897ff6905
[ "Apache-2.0" ]
3
2017-02-15T09:04:39.000Z
2021-06-21T09:01:59.000Z
#! /usr/bin/env python3 # -*- coding: utf-8 -*- """ :samp:`Save and load multiple configurations` The class :class:`Configurations` (mark the `s` at the end) enables you to save, load, remove and list multiple configurations. Class :class:`Configuration` (mark the absence of `s` at the end) is a singleton. It should ...
37.538106
104
0.691768
2,083
16,254
5.025444
0.118579
0.063049
0.034773
0.043943
0.452235
0.358426
0.267577
0.188002
0.160107
0.151032
0
0.001619
0.201981
16,254
432
105
37.625
0.805412
0.126
0
0.142322
0
0
0.092786
0.007672
0
0
0
0
0
1
0.307116
false
0
0.022472
0.11985
0.52809
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
deeb8c4d219d28316c962876b14e56fc2fd25d50
107
py
Python
theory/Lesson4-Functions/code/math_example.py
dgrafov/redi-python-intro
bbb29e58cd75602b720be5f7695fa4a66db521dd
[ "MIT" ]
8
2018-01-30T10:40:32.000Z
2018-09-08T21:08:03.000Z
theory/Lesson4-Functions/code/math_example.py
dgrafov/redi-python-intro
bbb29e58cd75602b720be5f7695fa4a66db521dd
[ "MIT" ]
null
null
null
theory/Lesson4-Functions/code/math_example.py
dgrafov/redi-python-intro
bbb29e58cd75602b720be5f7695fa4a66db521dd
[ "MIT" ]
5
2018-02-08T18:02:34.000Z
2019-10-05T17:51:23.000Z
# Lesson4: importing a math module # source: code/math_example.py import math c = math.ceil(1.5) print(c)
15.285714
34
0.728972
19
107
4.052632
0.789474
0
0
0
0
0
0
0
0
0
0
0.032967
0.149533
107
7
35
15.285714
0.813187
0.570093
0
0
0
0
0
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
720394f176fa39fa752c1e61ada9721e8a1ec43e
240
py
Python
stubs/gi/repository/GLib.py
trickeydan/pepper2
3aba1c74568cd0a04c9178caba26e9238c90e9ba
[ "MIT" ]
null
null
null
stubs/gi/repository/GLib.py
trickeydan/pepper2
3aba1c74568cd0a04c9178caba26e9238c90e9ba
[ "MIT" ]
22
2019-12-22T20:11:24.000Z
2020-01-18T19:09:11.000Z
stubs/gi/repository/GLib.py
j5api/pepper2
3aba1c74568cd0a04c9178caba26e9238c90e9ba
[ "MIT" ]
null
null
null
"""Type stubs for gi.repository.GLib.""" class Error(Exception): """Horrific GLib Error God Object.""" @property def message(self) -> str: ... class MainLoop: def run(self) -> None: ... def quit(self) -> None: ...
16
41
0.583333
29
240
4.827586
0.724138
0.114286
0
0
0
0
0
0
0
0
0
0
0.229167
240
15
42
16
0.756757
0.275
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
a0cf7a0e254fe38693b49b78c04346442a3c39ed
63
py
Python
lang/py/cookbook/v2/source/cb2_18_15_exm_2.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_18_15_exm_2.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
lang/py/cookbook/v2/source/cb2_18_15_exm_2.py
ch1huizong/learning
632267634a9fd84a5f5116de09ff1e2681a6cc85
[ "MIT" ]
null
null
null
total = 0.0 for number in numbers: total += number
15.75
26
0.571429
9
63
4
0.666667
0
0
0
0
0
0
0
0
0
0
0.04878
0.349206
63
3
27
21
0.829268
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
a0e5d754c75f6678a2ba8aa933a786a053a9f4e0
274
py
Python
luminateapi/dto/app_tcp.py
luminatesec/luminate_api
924ffc912a0ccfed7c88e18aa0d89454790f89b5
[ "Apache-2.0" ]
7
2018-11-20T09:07:52.000Z
2019-07-16T20:58:13.000Z
luminateapi/dto/app_tcp.py
luminatesec/luminate_api
924ffc912a0ccfed7c88e18aa0d89454790f89b5
[ "Apache-2.0" ]
null
null
null
luminateapi/dto/app_tcp.py
luminatesec/luminate_api
924ffc912a0ccfed7c88e18aa0d89454790f89b5
[ "Apache-2.0" ]
2
2018-09-03T16:56:46.000Z
2018-09-04T14:14:15.000Z
from .common import * class TCPTunnelSetting: def __init__(self, target, ports): self.target = target self.ports = ports def to_dict(self): return {"target": from_str(self.target), "ports": from_list(from_int, self.ports)}
22.833333
57
0.613139
33
274
4.848485
0.484848
0.1875
0.1875
0
0
0
0
0
0
0
0
0
0.273723
274
11
58
24.909091
0.80402
0
0
0
0
0
0.040146
0
0
0
0
0
0
1
0.25
false
0
0.125
0.125
0.625
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
a0ec43f5be46672807875223bef19e48e2e7f27b
640
py
Python
coin.py
EricPoehlsen/Moneytool
1943d3994c28c9961ba0f950877622301e51cad0
[ "MIT" ]
null
null
null
coin.py
EricPoehlsen/Moneytool
1943d3994c28c9961ba0f950877622301e51cad0
[ "MIT" ]
null
null
null
coin.py
EricPoehlsen/Moneytool
1943d3994c28c9961ba0f950877622301e51cad0
[ "MIT" ]
null
null
null
from PIL import Image, ImageTk class Coin(object): """ super class for all coin objects ... """ DIMS = () UNITS = () NAME = "generic" def __init__(self): self.area = 0 self.volume = 0 def calculate_shape(self): pass def generate_shape(self, volume): pass...
20
48
0.553125
75
640
4.573333
0.533333
0.069971
0
0
0
0
0
0
0
0
0
0.009174
0.31875
640
32
49
20
0.777523
0.120313
0
0.1
0
0
0.034926
0
0
0
0
0
0
1
0.3
false
0.1
0.05
0.05
0.65
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
9d23cb09a5a5bf6a2f4201ffac061cc75e9d2144
489
py
Python
lombokify/class_declaration_collector.py
andrewromanenco/lombokify-py
bfd3d4aa2e7cbecbd8a4b379999bb4b903ce4884
[ "MIT" ]
null
null
null
lombokify/class_declaration_collector.py
andrewromanenco/lombokify-py
bfd3d4aa2e7cbecbd8a4b379999bb4b903ce4884
[ "MIT" ]
null
null
null
lombokify/class_declaration_collector.py
andrewromanenco/lombokify-py
bfd3d4aa2e7cbecbd8a4b379999bb4b903ce4884
[ "MIT" ]
null
null
null
from antlr4 import ParseTreeWalker from lombokify.antlr_generated.Java8Parser import Java8Parser from lombokify.antlr_generated.Java8ParserListener import Java8ParserListener # Collect all Class nodes class ClassDeclarationCollector(Java8ParserListener): def __init__(self): self.nodes = [] def process(self, tr...
37.615385
87
0.822086
50
489
7.88
0.5
0.06599
0.091371
0.137056
0
0
0
0
0
0
0
0.016018
0.106339
489
12
88
40.75
0.885584
0.047035
0
0
1
0
0
0
0
0
0
0
0
1
0.3
false
0
0.3
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
19e0cf7373c45f7254cd89502af4f6145e02268b
48
py
Python
code-023.py
cpermuttacth/BornToDev
fde536ea307ca7ce76743a8116c36c2fd5e4f5e2
[ "Apache-2.0" ]
null
null
null
code-023.py
cpermuttacth/BornToDev
fde536ea307ca7ce76743a8116c36c2fd5e4f5e2
[ "Apache-2.0" ]
null
null
null
code-023.py
cpermuttacth/BornToDev
fde536ea307ca7ce76743a8116c36c2fd5e4f5e2
[ "Apache-2.0" ]
null
null
null
a = int(input()) for x in range(a): print("A")
12
18
0.5625
10
48
2.7
0.8
0
0
0
0
0
0
0
0
0
0
0
0.1875
48
3
19
16
0.692308
0
0
0
0
0
0.020833
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
c20500fb82589202fe71e7feeb6c7120f89bf451
2,746
py
Python
wrappers/python/manual/virgil_crypto/tests/phe/client_test.py
odidev/virgil-crypto-c
3d5d5cb19fdcf81eab08cdc63647f040117ecbd8
[ "BSD-3-Clause" ]
26
2018-12-17T13:45:25.000Z
2022-01-16T20:00:04.000Z
wrappers/python/manual/virgil_crypto/tests/phe/client_test.py
odidev/virgil-crypto-c
3d5d5cb19fdcf81eab08cdc63647f040117ecbd8
[ "BSD-3-Clause" ]
4
2019-01-03T12:08:52.000Z
2021-12-02T05:21:13.000Z
wrappers/python/manual/virgil_crypto/tests/phe/client_test.py
odidev/virgil-crypto-c
3d5d5cb19fdcf81eab08cdc63647f040117ecbd8
[ "BSD-3-Clause" ]
8
2019-01-24T08:22:06.000Z
2022-02-07T11:37:00.000Z
import unittest from virgil_crypto.phe import Client from virgil_crypto.phe import Server class ClientTest(unittest.TestCase): def test_enroll_account(self): s = Server() c = Client() server_private_key, server_public_key = s.generate_server_keypair() client_private_key, client_p...
34.325
85
0.652586
284
2,746
5.901408
0.126761
0.095465
0.124105
0.170644
0.711217
0.658711
0.621718
0.621718
0.621718
0.621718
0
0.003009
0.273853
2,746
79
86
34.759494
0.837513
0
0
0.632353
0
0
0.01748
0
0
0
0
0
0.117647
1
0.044118
false
0.147059
0.044118
0
0.102941
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
c20b43c3f887fdfc0c755b640c370efc55c5ef12
788
py
Python
user.py
millywayne/password-locker
6d7da9d9ee782aff22de016ae69a1fe2010b0f15
[ "MIT" ]
null
null
null
user.py
millywayne/password-locker
6d7da9d9ee782aff22de016ae69a1fe2010b0f15
[ "MIT" ]
null
null
null
user.py
millywayne/password-locker
6d7da9d9ee782aff22de016ae69a1fe2010b0f15
[ "MIT" ]
null
null
null
from os import uname from passlocker import passlocker class user: """ generating new instances """ user_list = [] def _init_(self, uname, passlocker, email): """ saving objects for user_list """ self.username = uname self.userpasslock = passlocker def...
19.219512
48
0.513959
79
788
5
0.443038
0.101266
0.075949
0.096203
0.116456
0
0
0
0
0
0
0
0.398477
788
41
49
19.219512
0.833333
0.15736
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0.1875
0.125
0
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
1
0
0
1
0
0
3
c2263ae1566debc550bdcbb1254f155f95dab5f4
256
py
Python
Python/List-1/middle_way.py
LucasHenrique-dev/exerc-cios-codingbat
ff92db10387757b9a2e3f72be6b7e51824b1ffa6
[ "MIT" ]
2
2020-12-09T13:36:44.000Z
2021-08-16T01:17:16.000Z
Python/List-1/middle_way.py
LucasHenrique-dev/exerc-cios-codingbat
ff92db10387757b9a2e3f72be6b7e51824b1ffa6
[ "MIT" ]
null
null
null
Python/List-1/middle_way.py
LucasHenrique-dev/exerc-cios-codingbat
ff92db10387757b9a2e3f72be6b7e51824b1ffa6
[ "MIT" ]
null
null
null
""" Dada 2 listas numéricas ("a" e "b") de tamanho 3, retorne uma nova contendo os seus elementos do meio. """ def middle_way(a, b): return a[int(len(a)/2):int(len(a)/2)+1] + b[int(len(b)/2):int(len(b)/2)+1] print(middle_way([1, 2, 3], [4, 5, 6]))
21.333333
78
0.601563
54
256
2.814815
0.555556
0.157895
0.092105
0.105263
0
0
0
0
0
0
0
0.065421
0.164063
256
11
79
23.272727
0.64486
0.398438
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.333333
0.666667
0.333333
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
c23da5ebddee521584254ea83fa1a5f6d1561a09
404
py
Python
mode_examples/walrus_pattern.py
BorjaEst/py-recursion
c23755faa5e406579f68e7e19fe3307c4f1889f8
[ "MIT" ]
1
2022-02-07T12:42:39.000Z
2022-02-07T12:42:39.000Z
mode_examples/walrus_pattern.py
BorjaEst/py-recursion
c23755faa5e406579f68e7e19fe3307c4f1889f8
[ "MIT" ]
null
null
null
mode_examples/walrus_pattern.py
BorjaEst/py-recursion
c23755faa5e406579f68e7e19fe3307c4f1889f8
[ "MIT" ]
null
null
null
"""A walrus pattern looks like d := datetime(year=2020, month=m). It matches only if its sub-pattern also matches. It binds whatever the sub-pattern match does, and also binds the named variable to the entire object. """ # TODO # match group_shapes(): # case [], [point := Point(x, y), *other]: # print(f"...
33.666667
78
0.643564
60
404
4.3
0.733333
0.077519
0
0
0
0
0
0
0
0
0
0.01278
0.225248
404
11
79
36.727273
0.811502
0.950495
0
null
0
null
0
0
null
0
0
0.090909
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
3
df98d2af83324ae3ae00c73f166db4647a32f4de
103
py
Python
language/knowledge_graph_embedding/config.py
huxin711/ColossalAI-Examples
fa3560683dec891315d5356e76c10ff20e41266f
[ "Apache-2.0" ]
39
2022-01-18T09:35:17.000Z
2022-03-30T09:17:35.000Z
language/knowledge_graph_embedding/config.py
huxin711/ColossalAI-Examples
fa3560683dec891315d5356e76c10ff20e41266f
[ "Apache-2.0" ]
26
2022-01-20T05:45:23.000Z
2022-03-30T08:41:39.000Z
language/knowledge_graph_embedding/config.py
huxin711/ColossalAI-Examples
fa3560683dec891315d5356e76c10ff20e41266f
[ "Apache-2.0" ]
31
2022-01-18T14:16:29.000Z
2022-03-30T09:17:39.000Z
from colossalai.amp import AMP_TYPE CONFIG = dict( fp16=dict( mode=AMP_TYPE.TORCH ) )
12.875
35
0.640777
14
103
4.571429
0.714286
0.21875
0
0
0
0
0
0
0
0
0
0.026667
0.271845
103
7
36
14.714286
0.826667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
dfb6883f8bc95c6a43728174fe6cdc247aedd16c
843
py
Python
code_modifing/java_lang_module.py
2jun0/CodeSecret-Backend
66fcb2de26ef4f7eb0f0ec8dcc00b2e0732d592c
[ "MIT" ]
1
2020-07-31T02:50:09.000Z
2020-07-31T02:50:09.000Z
code_modifing/java_lang_module.py
2jun0/CodeSecret-Backend
66fcb2de26ef4f7eb0f0ec8dcc00b2e0732d592c
[ "MIT" ]
null
null
null
code_modifing/java_lang_module.py
2jun0/CodeSecret-Backend
66fcb2de26ef4f7eb0f0ec8dcc00b2e0732d592c
[ "MIT" ]
null
null
null
from models import File, Repository from .default_lang_module import DefaultLangModule import re class JavaLangModule(DefaultLangModule): def __init__(self, fork_repo:Repository, gitignore_file:File): super().__init__(fork_repo, 'AASecretKeys.java', gitignore_file) def _get_comment_str(self, s:str): return '//{...
38.318182
164
0.76038
121
843
4.950413
0.347107
0.040067
0.070117
0.070117
0
0
0
0
0
0
0
0.001323
0.103203
843
22
165
38.318182
0.791005
0
0
0
0
0
0.199052
0
0
0
0
0
0
1
0.375
false
0
0.3125
0.25
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
0
0
0
3
dfb95dc06efaf916f69dc06445437f9f861c2a2f
172
py
Python
testproject/testapp/tests/conftest.py
sunscrapers/hedju
9270e905f0221105295fa58cfdca693d9e01066b
[ "MIT" ]
6
2019-02-05T14:15:40.000Z
2020-03-30T12:20:24.000Z
testproject/testapp/tests/conftest.py
sunscrapers/hedju
9270e905f0221105295fa58cfdca693d9e01066b
[ "MIT" ]
6
2021-03-18T21:21:40.000Z
2022-02-10T07:34:05.000Z
testproject/testapp/tests/conftest.py
sunscrapers/hedju
9270e905f0221105295fa58cfdca693d9e01066b
[ "MIT" ]
4
2020-03-29T20:59:00.000Z
2021-11-30T19:45:10.000Z
import pytest from .factories import ExampleFactory BATCH_SIZE = 231 @pytest.fixture(autouse=True) def example_data(): ExampleFactory.create_batch(size=BATCH_SIZE)
15.636364
48
0.796512
22
172
6.045455
0.681818
0.203008
0
0
0
0
0
0
0
0
0
0.019868
0.122093
172
10
49
17.2
0.860927
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0
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
1
0
0
0
0
3
dfc7ed92c0f65435d31fc5a9ed589b8ce38c2a54
666
py
Python
FusionIIIT/applications/counselling_cell/admin.py
sabhishekpratap5/sonarcubeTest2
9bd8105e457f6feb8c38fa94b335e54783fca99e
[ "bzip2-1.0.6" ]
29
2019-02-20T15:35:33.000Z
2022-03-22T11:10:57.000Z
FusionIIIT/applications/counselling_cell/admin.py
sabhishekpratap5/sonarcubeTest2
9bd8105e457f6feb8c38fa94b335e54783fca99e
[ "bzip2-1.0.6" ]
409
2019-01-17T19:30:51.000Z
2022-03-31T16:28:45.000Z
FusionIIIT/applications/counselling_cell/admin.py
sabhishekpratap5/sonarcubeTest2
9bd8105e457f6feb8c38fa94b335e54783fca99e
[ "bzip2-1.0.6" ]
456
2019-01-12T11:01:13.000Z
2022-03-30T17:06:52.000Z
from django.contrib import admin from .models import ( CounsellingFAQ, CounsellingIssue, CounsellingIssueCategory, CounsellingMeeting, CounsellingMinutes, FacultyCounsellingTeam, StudentCounsellingInfo, StudentCounsellingTeam, StudentMeetingRequest ) admin.site.register(Counsell...
25.615385
45
0.827327
53
666
10.396226
0.320755
0.147005
0.277677
0.137931
0
0
0
0
0
0
0
0
0.100601
666
26
46
25.615385
0.919866
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.095238
0
0.095238
0
0
0
1
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
dfe550e087ffdde0eb4d60d78484043139060c9b
110
py
Python
terracommon/document_generator/__init__.py
Terralego/terra-back
32779117ee3613b9d2e476cf445f94dbdb0f114f
[ "MIT" ]
4
2019-05-07T12:34:35.000Z
2019-11-14T10:52:11.000Z
terracommon/document_generator/__init__.py
Terralego/terra-back
32779117ee3613b9d2e476cf445f94dbdb0f114f
[ "MIT" ]
16
2019-08-14T11:09:39.000Z
2022-02-10T07:55:31.000Z
terracommon/document_generator/__init__.py
Terralego/terra-back
32779117ee3613b9d2e476cf445f94dbdb0f114f
[ "MIT" ]
1
2019-04-17T09:03:02.000Z
2019-04-17T09:03:02.000Z
default_app_config = ('terracommon.document_generator.apps.' 'DocumentGeneratorConfig')
36.666667
60
0.672727
8
110
8.875
1
0
0
0
0
0
0
0
0
0
0
0
0.236364
110
2
61
55
0.845238
0
0
0
0
0
0.536364
0.536364
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
dfe56435a14ed87cde0ce07b7f83f2d2c233547e
485
py
Python
questions_three/graphql/graphql_response.py
filfreire/questions-three
1d1d621d5647407bf2d1b271e0b9c7c9f1afc5c8
[ "MIT" ]
5
2019-07-22T06:04:07.000Z
2021-07-23T06:01:51.000Z
questions_three/graphql/graphql_response.py
filfreire/questions-three
1d1d621d5647407bf2d1b271e0b9c7c9f1afc5c8
[ "MIT" ]
15
2020-07-28T17:33:40.000Z
2021-08-23T17:30:05.000Z
questions_three/graphql/graphql_response.py
filfreire/questions-three
1d1d621d5647407bf2d1b271e0b9c7c9f1afc5c8
[ "MIT" ]
4
2019-08-25T22:41:59.000Z
2020-10-21T14:28:15.000Z
import requests from questions_three.vanilla import Structure class GraphqlResponse: def __init__(self, requests_response): if not isinstance(requests_response, requests.Response): raise TypeError("Refusing to work until given a requests.Response") self.http_response = requests_respon...
25.526316
79
0.71134
56
485
5.946429
0.535714
0.24024
0.144144
0
0
0
0
0
0
0
0
0
0.216495
485
18
80
26.944444
0.876316
0
0
0.153846
0
0
0.098969
0
0
0
0
0
0
1
0.230769
false
0
0.153846
0.153846
0.615385
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
dff6e31cd077a18f4725cd96d69dd2872f68b111
23
py
Python
netbox_icinga/version.py
izabela1337/netbox-icinga
37ec689fe0bfc524c692a7777354c336c2a98cf2
[ "BSD-3-Clause" ]
null
null
null
netbox_icinga/version.py
izabela1337/netbox-icinga
37ec689fe0bfc524c692a7777354c336c2a98cf2
[ "BSD-3-Clause" ]
null
null
null
netbox_icinga/version.py
izabela1337/netbox-icinga
37ec689fe0bfc524c692a7777354c336c2a98cf2
[ "BSD-3-Clause" ]
null
null
null
VERSION = "0.0.1-beta"
11.5
22
0.608696
5
23
2.8
0.8
0
0
0
0
0
0
0
0
0
0
0.15
0.130435
23
1
23
23
0.55
0
0
0
0
0
0.434783
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
dff91cb03690d84fc9846432eb19fece0ebeebe7
242
py
Python
1 ano/logica-de-programacao/prova4_2.py
ThiagoPereira232/tecnico-informatica
6b55ecf34501b38052943acf1b37074e3472ce6e
[ "MIT" ]
1
2021-09-24T16:26:04.000Z
2021-09-24T16:26:04.000Z
1 ano/logica-de-programacao/prova4_2.py
ThiagoPereira232/tecnico-informatica
6b55ecf34501b38052943acf1b37074e3472ce6e
[ "MIT" ]
null
null
null
1 ano/logica-de-programacao/prova4_2.py
ThiagoPereira232/tecnico-informatica
6b55ecf34501b38052943acf1b37074e3472ce6e
[ "MIT" ]
null
null
null
def areaTriangulo(b,h): a = 0 a = (b * h) / 2 return a b = float(input('Digite a base do triangulo: ')) h = float(input('Digite a altura do triangulo: ')) print(f'A area de triangulo {b} x {h} é {areaTriangulo(b,h)}')
24.2
62
0.578512
41
242
3.414634
0.512195
0.042857
0.214286
0.242857
0
0
0
0
0
0
0
0.011173
0.260331
242
9
63
26.888889
0.77095
0
0
0
0
0
0.454545
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0.142857
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5f04af92f83901d9880bc8b56d17533dacbc99ef
3,845
py
Python
14. lstrip/lstrip_solutions.py
jeury301/python-morsels
fdbe0b1c80120e2d1388808816538fea5dab8892
[ "MIT" ]
2
2018-08-21T10:29:57.000Z
2019-04-17T07:05:17.000Z
14. lstrip/lstrip_solutions.py
jeury301/python-morsels
fdbe0b1c80120e2d1388808816538fea5dab8892
[ "MIT" ]
null
null
null
14. lstrip/lstrip_solutions.py
jeury301/python-morsels
fdbe0b1c80120e2d1388808816538fea5dab8892
[ "MIT" ]
null
null
null
def v0_lstrip(iterable, strip_value): """Return iterable with strip_value items removed from beginning.""" stripped = [] is_beginning = True for item in iterable: if is_beginning: if item != strip_value: is_beginning = False else: continue ...
31.008065
78
0.656957
468
3,845
5.258547
0.153846
0.182853
0.084518
0.107273
0.788297
0.768387
0.707436
0.68143
0.650549
0.577408
0
0.004636
0.270741
3,845
123
79
31.260163
0.873039
0.23355
0
0.755319
0
0
0
0
0
0
0
0
0
1
0.159574
false
0.010638
0.010638
0.042553
0.244681
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5f19e294e990f8c7011cb4aa8bdfd3b869e7c096
321
py
Python
server/konnection/testing.py
HailanXyouknow/CMPUT404_PROJECT
3020fca583ecb74fe2e5784798e4b504891cde5d
[ "W3C-20150513" ]
null
null
null
server/konnection/testing.py
HailanXyouknow/CMPUT404_PROJECT
3020fca583ecb74fe2e5784798e4b504891cde5d
[ "W3C-20150513" ]
null
null
null
server/konnection/testing.py
HailanXyouknow/CMPUT404_PROJECT
3020fca583ecb74fe2e5784798e4b504891cde5d
[ "W3C-20150513" ]
null
null
null
from django.test import TestCase from konnection.temporaryTests import demoTest class DemoTests(TestCase): """TODO: This is a placeholder unit testing, please remove it whenever there is an actual testing""" def test_return_true(self): """Test the funtion return true""" self.assertTrue(demoTest)...
40.125
104
0.741433
42
321
5.619048
0.738095
0.084746
0.118644
0
0
0
0
0
0
0
0
0
0.180685
321
7
105
45.857143
0.897338
0.383178
0
0
0
0
0
0
0
0
0
0.142857
0.2
1
0.2
false
0
0.4
0
0.8
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
1
0
0
0
0
0
1
0
0
0
0
3
5f265510a6627cac3dcd29fd187f12d58d5f5f60
1,058
py
Python
utils/argparser.py
ephreal/rollbot
8e345f97a30e2788daf1ef7f6615e0b489eda57c
[ "MIT" ]
2
2021-03-27T21:43:19.000Z
2022-01-22T17:54:15.000Z
utils/argparser.py
ephreal/rollbot
8e345f97a30e2788daf1ef7f6615e0b489eda57c
[ "MIT" ]
null
null
null
utils/argparser.py
ephreal/rollbot
8e345f97a30e2788daf1ef7f6615e0b489eda57c
[ "MIT" ]
1
2019-03-15T16:52:19.000Z
2019-03-15T16:52:19.000Z
# -*- coding: utf-8 -*- """ This software is licensed under the License (MIT) located at https://github.com/ephreal/rollbot/Licence Please see the license for any restrictions or rights granted to you by the License. """ import argparse class ArgumentParserError(): pass class BotParser(argparse.ArgumentParser...
24.604651
77
0.642722
137
1,058
4.839416
0.715328
0.045249
0.033183
0.048265
0.060332
0
0
0
0
0
0
0.001274
0.258034
1,058
42
78
25.190476
0.843312
0.510397
0
0.307692
0
0
0.049887
0
0
0
0
0
0
1
0.230769
false
0.076923
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
1
0
1
0
0
1
0
0
3
5f27bfc141d285b74699e41cbf7ecd6b1237379a
7,993
py
Python
tests/test_2_activity_validate.py
JosePazNoguera/pam
afb580c57223acd01466938eea8dc3d83097d5dd
[ "MIT" ]
29
2020-04-10T23:24:26.000Z
2021-05-21T12:30:03.000Z
tests/test_2_activity_validate.py
JosePazNoguera/pam
afb580c57223acd01466938eea8dc3d83097d5dd
[ "MIT" ]
63
2020-04-29T19:02:11.000Z
2022-03-29T14:02:04.000Z
tests/test_2_activity_validate.py
JosePazNoguera/pam
afb580c57223acd01466938eea8dc3d83097d5dd
[ "MIT" ]
13
2020-04-16T19:00:18.000Z
2022-03-18T14:42:48.000Z
import pytest from datetime import datetime from pam.core import Person from pam.activity import Plan, Activity, Leg from pam.utils import minutes_to_datetime as mtdt from .fixtures import person_heh, person_heh_open1, person_hew_open2, person_whw, person_whshw from pam.variables import END_OF_DAY from pam import PAMS...
23.034582
96
0.533091
947
7,993
4.176346
0.077086
0.099115
0.088748
0.060177
0.804804
0.722124
0.679646
0.59292
0.577244
0.4933
0
0.033675
0.364694
7,993
346
97
23.101156
0.745175
0
0
0.758389
0
0
0.017643
0
0
0
0
0
0.04698
1
0.077181
false
0
0.026846
0
0.124161
0
0
0
0
null
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5f2bd2a37f369379c91745b89a7b7eaf99da4db1
363
py
Python
test/test_java_packager.py
nma/coding-pytest-extension
935c2fbcb01ba48d5e60eb2419397c2838d439ef
[ "MIT" ]
1
2015-07-19T18:54:28.000Z
2015-07-19T18:54:28.000Z
test/test_java_packager.py
nma/coding-pytest-extension
935c2fbcb01ba48d5e60eb2419397c2838d439ef
[ "MIT" ]
null
null
null
test/test_java_packager.py
nma/coding-pytest-extension
935c2fbcb01ba48d5e60eb2419397c2838d439ef
[ "MIT" ]
null
null
null
import hashlib, os, unittest, yaml from compilation_builder.packager import Packager, JavaPackager from test.base_test_case import BaseTestCase class TestJavaCompilationOfCode(BaseTestCase): def test_bundle_code_and_test_then_execute(self): pass def test_compile_failure(self): pass def ...
22.6875
63
0.768595
45
363
5.888889
0.577778
0.079245
0.083019
0.113208
0
0
0
0
0
0
0
0
0.181818
363
15
64
24.2
0.892256
0
0
0.3
0
0
0
0
0
0
0
0
0
1
0.3
false
0.3
0.3
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
a02df83fa743ce3f275a4c1425865a794137108a
202
py
Python
src/icemac/addressbook/browser/person/interfaces.py
icemac/icemac.addressbook
6197e6e01da922feb100dd0943576523050cd703
[ "BSD-2-Clause" ]
1
2020-03-26T20:16:44.000Z
2020-03-26T20:16:44.000Z
src/icemac/addressbook/browser/person/interfaces.py
icemac/icemac.addressbook
6197e6e01da922feb100dd0943576523050cd703
[ "BSD-2-Clause" ]
2
2020-02-21T13:04:23.000Z
2020-02-21T13:06:10.000Z
src/icemac/addressbook/browser/person/interfaces.py
icemac/icemac.addressbook
6197e6e01da922feb100dd0943576523050cd703
[ "BSD-2-Clause" ]
null
null
null
import zope.interface class IBirthDate(zope.interface.Interface): """Person's birthdate data.""" icalendar_event = zope.interface.Attribute( 'Birthdate as icalendar.Event or `None`')
22.444444
49
0.712871
23
202
6.217391
0.652174
0.272727
0
0
0
0
0
0
0
0
0
0
0.168317
202
8
50
25.25
0.85119
0.118812
0
0
0
0
0.22093
0
0
0
0
0
0
1
0
false
0
0.25
0
0.75
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
a0423a3a7b66139cf65142268a26ad12adfd4026
250
py
Python
ex010.py
cristianoandrad/ExerciciosPythonCursoEmVideo
362603436b71c8ef8386d7a9ab3c5fed0b8d63f7
[ "MIT" ]
null
null
null
ex010.py
cristianoandrad/ExerciciosPythonCursoEmVideo
362603436b71c8ef8386d7a9ab3c5fed0b8d63f7
[ "MIT" ]
null
null
null
ex010.py
cristianoandrad/ExerciciosPythonCursoEmVideo
362603436b71c8ef8386d7a9ab3c5fed0b8d63f7
[ "MIT" ]
null
null
null
# Crie um programa que leia quanto dinheiro uma pessoa tem na carteira e mostre quantos dólares ela pode comprar. din = float(input('Quanto voce tem quantos reais na sua carteira R$ ')) print('Seu dinheiro vale US$ {:.2f} dólares'.format(din/3.27))
50
113
0.748
42
250
4.452381
0.809524
0
0
0
0
0
0
0
0
0
0
0.018957
0.156
250
4
114
62.5
0.867299
0.444
0
0
0
0
0.620438
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
a0507a047ec7848a52e92c251f9fca6882b2c07a
1,164
py
Python
fable_sedlex/fable_modules/fable_library/fsharp_collections.py
thautwarm/Fable.Sedlex
f7d0f1f3d64f633f7d35a3314f4c2681d80a6761
[ "MIT" ]
15
2021-12-28T14:14:32.000Z
2022-01-10T13:03:00.000Z
lua_parser/fable_sedlex/fable_modules/fable_library/fsharp_collections.py
thautwarm/lua-parser-lark
06cf19bc8595a70823fc0f67462ca29dd9e118a0
[ "MIT" ]
1
2022-01-01T08:26:59.000Z
2022-01-01T08:26:59.000Z
lua_parser/fable_sedlex/fable_modules/fable_library/fsharp_collections.py
thautwarm/lua-parser-lark
06cf19bc8595a70823fc0f67462ca29dd9e118a0
[ "MIT" ]
2
2021-12-28T23:46:50.000Z
2022-01-03T04:46:33.000Z
from typing import (TypeVar, Any, Callable) from .util import (structural_hash, equals, physical_hash, compare) T = TypeVar("T") def HashIdentity_FromFunctions(hash_1: Callable[[T], int], eq: Callable[[T, T], bool]) -> Any: class ObjectExpr2: def Equals(self, x: T, y: T=None, hash_1=hash_1, eq=eq) -> bool...
31.459459
112
0.670103
156
1,164
4.871795
0.24359
0.039474
0.039474
0.055263
0.252632
0.252632
0.171053
0
0
0
0
0.025974
0.206186
1,164
36
113
32.333333
0.796537
0
0
0
0
0
0.000861
0
0
0
0
0
0
1
0.380952
false
0
0.095238
0.285714
0.952381
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
a0552d6289f2ade4ec478c92b9ee4f255395348e
135
py
Python
bin/confirm_dry_run.py
botleague/leaderboard-generator
644bed2b056d04b604a09ab4f1ad78afbc4ceee7
[ "MIT" ]
null
null
null
bin/confirm_dry_run.py
botleague/leaderboard-generator
644bed2b056d04b604a09ab4f1ad78afbc4ceee7
[ "MIT" ]
null
null
null
bin/confirm_dry_run.py
botleague/leaderboard-generator
644bed2b056d04b604a09ab4f1ad78afbc4ceee7
[ "MIT" ]
null
null
null
from leaderboard_generator.config import config if config.dry_run: print('Confirmed') else: raise RuntimeError('NOT DRY RUN')
19.285714
47
0.755556
18
135
5.555556
0.777778
0.12
0
0
0
0
0
0
0
0
0
0
0.155556
135
6
48
22.5
0.877193
0
0
0
0
0
0.148148
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
a0725f4ab06ed4c471a07f89c3cb2259688a08f7
139
py
Python
week06/lecture/examples/src6/1/division.py
uldash/CS50x
c3ee0f42ad514b57a13c3ffbb96238b3ca3730e1
[ "MIT" ]
null
null
null
week06/lecture/examples/src6/1/division.py
uldash/CS50x
c3ee0f42ad514b57a13c3ffbb96238b3ca3730e1
[ "MIT" ]
null
null
null
week06/lecture/examples/src6/1/division.py
uldash/CS50x
c3ee0f42ad514b57a13c3ffbb96238b3ca3730e1
[ "MIT" ]
null
null
null
# Division with int # Prompt user for x x = int(input("x: ")) # Prompt user for y y = int(input("y: ")) # Perform division print(x / y)
12.636364
21
0.611511
24
139
3.541667
0.458333
0.235294
0.305882
0
0
0
0
0
0
0
0
0
0.223022
139
10
22
13.9
0.787037
0.503597
0
0
0
0
0.09375
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
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
0
0
3
a09397f1d93f8f377f6957b92e7bb680963ec3c0
349
py
Python
__init__.py
eherr/morphablegraphs
2e24897aa1714b96f0409f3f590df2e58ebb4b25
[ "MIT" ]
5
2020-03-03T21:07:01.000Z
2021-05-12T16:59:28.000Z
__init__.py
eherr/morphablegraphs
2e24897aa1714b96f0409f3f590df2e58ebb4b25
[ "MIT" ]
null
null
null
__init__.py
eherr/morphablegraphs
2e24897aa1714b96f0409f3f590df2e58ebb4b25
[ "MIT" ]
1
2020-07-20T06:57:08.000Z
2020-07-20T06:57:08.000Z
import os import sys # change working directory to the script file directory file_dir_name, file_name = os.path.split(os.path.abspath(__file__)) sys.path.append(os.sep.join([file_dir_name, 'mgrd'])) # add mgrd package to import path from .motion_generator import MotionGenerator, GraphWalkOptimizer, DEFAULT_ALGORITHM_C...
49.857143
114
0.819484
50
349
5.48
0.6
0.051095
0.080292
0
0
0
0
0
0
0
0
0
0.097421
349
6
115
58.166667
0.869841
0.243553
0
0
0
0
0.015326
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
a0a38a4602b01a11d2d8a1d028806d36be0f7cd7
115
py
Python
testing/F2PY-2.45.241_1926/build/lib/f2py2e/__cvs_version__.py
fireballpoint1/fortranTOpy
55843a62c6f0a2f8e2a777ef70193940d3d2d141
[ "Apache-2.0" ]
1
2018-08-26T05:10:56.000Z
2018-08-26T05:10:56.000Z
testing/F2PY-2.45.241_1926/build/lib/f2py2e/__cvs_version__.py
fireballpoint1/fortranTOpy
55843a62c6f0a2f8e2a777ef70193940d3d2d141
[ "Apache-2.0" ]
null
null
null
testing/F2PY-2.45.241_1926/build/lib/f2py2e/__cvs_version__.py
fireballpoint1/fortranTOpy
55843a62c6f0a2f8e2a777ef70193940d3d2d141
[ "Apache-2.0" ]
1
2018-06-26T18:06:44.000Z
2018-06-26T18:06:44.000Z
### DO NOT EDIT THIS FILE!!! ### DO NOT TRY TO COMMIT THIS FILE TO CVS REPOSITORY!!! cvs_version = (1,45,241,1926)
28.75
55
0.669565
21
115
3.619048
0.714286
0.131579
0
0
0
0
0
0
0
0
0
0.105263
0.173913
115
3
56
38.333333
0.694737
0.66087
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a0bb339cdd2de7e0986c6aae5e648672a41f5ac4
445
py
Python
nsd1803/python/day01/hello.py
MrWangwf/nsd1806
069e993b0bb64cb21adc2a25aa56f6da674453bc
[ "Apache-2.0" ]
null
null
null
nsd1803/python/day01/hello.py
MrWangwf/nsd1806
069e993b0bb64cb21adc2a25aa56f6da674453bc
[ "Apache-2.0" ]
null
null
null
nsd1803/python/day01/hello.py
MrWangwf/nsd1806
069e993b0bb64cb21adc2a25aa56f6da674453bc
[ "Apache-2.0" ]
null
null
null
# 美胜丑,明胜暗,简胜繁 # print('Hello World!') # 字符串必须放到引号中 # print('Hello', 'World', '!', 123) # 数字不用放到引号中 # print('Hello', 'World', '!', 123, sep='***') # 各项间用***分开 # print('Hello' + 'World!') # 字符串拼接 # print('Hello', 'World', '!', 123, end='') # 不打印回车 user = input('username: ') print(user) a = input('number: ') # in...
26.176471
59
0.582022
54
445
4.796296
0.555556
0.19305
0.289575
0.208494
0
0
0
0
0
0
0
0.038043
0.173034
445
16
60
27.8125
0.665761
0.705618
0
0
0
0
0.159292
0
0
0
0
0
0
1
0
false
0
0
0
0
0.6
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
a0c134c5eefe704891dfbdd8fb1c310f9117f11f
2,387
py
Python
main.py
ethicalvats/weak-keys-generator
b1bfae40991fc752ab39766c67eefa2e1ccf0038
[ "MIT" ]
null
null
null
main.py
ethicalvats/weak-keys-generator
b1bfae40991fc752ab39766c67eefa2e1ccf0038
[ "MIT" ]
1
2019-10-13T10:29:17.000Z
2019-10-17T14:44:12.000Z
main.py
ethicalvats/weak-keys-generator
b1bfae40991fc752ab39766c67eefa2e1ccf0038
[ "MIT" ]
null
null
null
import codecs import eth_address import bigquery def fetch_transactions(address): result = bigquery.make(address) print("Transactions") for row in result: print(row) def gen_eth_address(key): address = eth_address.gen(key[2:]) print("Ethereum Address") print(address) # fetch_tra...
26.820225
78
0.789694
205
2,387
8.853659
0.282927
0.070523
0.069421
0.094215
0.154821
0.1427
0.1427
0.127273
0
0
0
0.483489
0.149979
2,387
88
79
27.125
0.41104
0.011311
0
0.133333
0
0
0.022053
0
0
0
0.447837
0
0
1
0.2
false
0
0.05
0
0.25
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
3
a0c58472a41fe8aa8c7c8df5384b6b9aa8fde5fb
225
py
Python
alarm_client/__init__.py
StephenCleary/ethereum-alarm-clock
73547223b2021638b85e9f5ac2aaff18179598f7
[ "MIT" ]
1
2018-01-26T08:00:19.000Z
2018-01-26T08:00:19.000Z
alarm_client/__init__.py
ethereum-alarm-clock/alarm_client
021a8562e4ea2e8cfdb6467a8fd6647dbc37ad70
[ "MIT" ]
null
null
null
alarm_client/__init__.py
ethereum-alarm-clock/alarm_client
021a8562e4ea2e8cfdb6467a8fd6647dbc37ad70
[ "MIT" ]
1
2020-06-15T00:57:09.000Z
2020-06-15T00:57:09.000Z
import pkg_resources __version__ = pkg_resources.get_distribution("ethereum-alarm-clock-client").version try: # load environment variables import dotenv dotenv.load_dotenv('.env') except ImportError: pass
17.307692
83
0.755556
26
225
6.230769
0.730769
0.148148
0
0
0
0
0
0
0
0
0
0
0.16
225
12
84
18.75
0.857143
0.115556
0
0
0
0
0.15736
0.137056
0
0
0
0
0
1
0
false
0.142857
0.428571
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
2602b3b812b122e30405c1d6f23dd7f2ea49aaa9
1,375
py
Python
format_text_pretrain/test_format_pretrain_data.py
sophiaalthammer/patent-lim
d774651b26fc89c83225136afadcd92c2b101393
[ "Apache-2.0" ]
4
2021-06-14T19:24:19.000Z
2021-07-28T14:48:52.000Z
format_text_pretrain/test_format_pretrain_data.py
sophiaalthammer/patent-lim
d774651b26fc89c83225136afadcd92c2b101393
[ "Apache-2.0" ]
null
null
null
format_text_pretrain/test_format_pretrain_data.py
sophiaalthammer/patent-lim
d774651b26fc89c83225136afadcd92c2b101393
[ "Apache-2.0" ]
null
null
null
# # patent_lim: Linguistically informed masking for representation learning in the patent domain # # Copyright (c) Siemens AG, 2020 # # SPDX-License-Identifier: Apache-2.0 # import pytest import os import pandas as pd from format_text_pretrain.format_pretrain_data import preprocess_text_column, split_sentences_nltk, s...
44.354839
134
0.647273
177
1,375
4.864407
0.440678
0.055749
0.041812
0.069686
0.209059
0.144019
0.144019
0.097561
0.097561
0
0
0.010721
0.253818
1,375
30
135
45.833333
0.82846
0.347636
0
0
0
0
0.423077
0.107466
0
0
0
0
0
1
0.153846
true
0
0.384615
0.153846
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
1
0
0
0
3
26190ad930da582ecff919aeafb78a1a24c1ce0e
150
py
Python
venta/resources.py
cor14095/backGaresa
6dffcff513c1812a88315d16303b90996f6b98d7
[ "MIT" ]
null
null
null
venta/resources.py
cor14095/backGaresa
6dffcff513c1812a88315d16303b90996f6b98d7
[ "MIT" ]
null
null
null
venta/resources.py
cor14095/backGaresa
6dffcff513c1812a88315d16303b90996f6b98d7
[ "MIT" ]
1
2021-08-09T00:55:17.000Z
2021-08-09T00:55:17.000Z
from import_export import resources from .models import Sales class ProductResource(resources.ModelResource): class Meta: model = Sales
18.75
47
0.76
17
150
6.647059
0.647059
0
0
0
0
0
0
0
0
0
0
0
0.193333
150
7
48
21.428571
0.933884
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
261c90127f26115d382d34ba1ce119c01ce5f366
484
py
Python
authentication/tests/factories.py
NonsoAmadi10/BRT
61b787cd0bd5ad4e81f9853c8fa978ac32bfe777
[ "MIT" ]
null
null
null
authentication/tests/factories.py
NonsoAmadi10/BRT
61b787cd0bd5ad4e81f9853c8fa978ac32bfe777
[ "MIT" ]
null
null
null
authentication/tests/factories.py
NonsoAmadi10/BRT
61b787cd0bd5ad4e81f9853c8fa978ac32bfe777
[ "MIT" ]
null
null
null
""" Reference for using factories: https://adriennedomingus.com/blog/using-factoryboy-with-django-tests """ import factory import random from factory.django import DjangoModelFactory from authentication.models import User class UserFactory(DjangoModelFactory): email = factory.Sequence(lambda n: 'person{0}@test....
28.470588
108
0.75
56
484
6.464286
0.660714
0
0
0
0
0
0
0
0
0
0
0.002433
0.150826
484
16
109
30.25
0.878346
0.206612
0
0
0
0
0.047872
0
0
0
0
0
0
1
0
false
0.2
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
26291548b587b4567f8a2e8ee4e4545390eaf735
3,417
py
Python
unittests/test.py
cidermole/pyslet
b30e9a439f6c0f0e2d01f1ac80986944bed7427b
[ "BSD-3-Clause" ]
62
2015-02-05T19:51:16.000Z
2022-03-17T22:36:39.000Z
unittests/test.py
cidermole/pyslet
b30e9a439f6c0f0e2d01f1ac80986944bed7427b
[ "BSD-3-Clause" ]
64
2015-01-04T15:43:28.000Z
2022-02-22T08:54:20.000Z
unittests/test.py
cidermole/pyslet
b30e9a439f6c0f0e2d01f1ac80986944bed7427b
[ "BSD-3-Clause" ]
39
2015-10-24T08:31:38.000Z
2021-11-01T19:50:13.000Z
#! /usr/bin/env python """Runs unit tests on all pyslet modules""" import unittest import logging import sys from pyslet.py26 import py26 import test_blockstore import test_html401 import test_http_auth import test_http_client import test_http_cookie import test_http_grammar import test_http_messages import test_htt...
28.957627
66
0.831431
506
3,417
5.245059
0.173913
0.138659
0.243029
0.307837
0.42728
0.255463
0
0
0
0
0
0.03568
0.073164
3,417
117
67
29.205128
0.802337
0.033363
0
0
0
0
0.002428
0
0
0
0
0
0
1
0.019417
false
0
0.456311
0.009709
0.495146
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
262ac77bb73fe1e6d2a3f2d24e165e5012ba4553
392
py
Python
cbexplorer/types/Char.py
ambitus/cbexplorer
8bb50efce9f81e29ad96c5c1bd49e3d3e95cc97e
[ "Apache-2.0" ]
1
2021-12-07T10:09:44.000Z
2021-12-07T10:09:44.000Z
cbexplorer/types/Char.py
ambitus/cbexplorer
8bb50efce9f81e29ad96c5c1bd49e3d3e95cc97e
[ "Apache-2.0" ]
1
2021-12-20T22:03:05.000Z
2021-12-20T22:03:05.000Z
cbexplorer/types/Char.py
ambitus/cbexplorer
8bb50efce9f81e29ad96c5c1bd49e3d3e95cc97e
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Copyright 2020- IBM Inc. All rights reserved # SPDX-License-Identifier: Apache2.0 # """ """ from .AbstractType import AbstractType class Char(AbstractType): length = None def __init__(self, locator, length=0): self.locator = locator self.le...
17.043478
46
0.647959
47
392
5.191489
0.723404
0.090164
0
0
0
0
0
0
0
0
0
0.029508
0.221939
392
22
47
17.818182
0.770492
0.313776
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2637c9e026cb9182ef89c1b3d9b32b2df8cc6552
354
py
Python
Python/Skrypty/Python - Szkolenie_11-2015/przyklady_rec_python/threads/threads1.py
Elzei/show-off
fd6c46480160d795a7c1c833a798f3d49eddf144
[ "MIT" ]
null
null
null
Python/Skrypty/Python - Szkolenie_11-2015/przyklady_rec_python/threads/threads1.py
Elzei/show-off
fd6c46480160d795a7c1c833a798f3d49eddf144
[ "MIT" ]
null
null
null
Python/Skrypty/Python - Szkolenie_11-2015/przyklady_rec_python/threads/threads1.py
Elzei/show-off
fd6c46480160d795a7c1c833a798f3d49eddf144
[ "MIT" ]
null
null
null
#!/usr/bin/env python2.7 # -*- coding: utf-8 -*- from threading import Thread import time def countdown(n): while n > 0: print "t - minus", n n -= 1 time.sleep(1) # To jeszcze nie startuje wątków! t1 = Thread(target=countdown, args=(5,)) t2 = Thread(target=countdown, args=(8,)) t1.start()...
16.090909
40
0.60452
54
354
3.962963
0.648148
0.11215
0.196262
0.233645
0
0
0
0
0
0
0
0.050909
0.223164
354
21
41
16.857143
0.727273
0.217514
0
0
0
0
0.032967
0
0
0
0
0
0
0
null
null
0
0.153846
null
null
0.076923
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
1
0
0
0
0
0
0
0
0
3
264bff693cf103b3f5ae37c24b385054f01d42ad
250
py
Python
relogic/components/ner_component.py
Impavidity/relogic
f647106e143cd603b95b63e06ea530cdd516aefe
[ "MIT" ]
24
2019-07-20T02:10:21.000Z
2022-03-15T07:13:07.000Z
relogic/components/ner_component.py
One-paper-luck/relogic
f647106e143cd603b95b63e06ea530cdd516aefe
[ "MIT" ]
3
2019-11-28T04:19:25.000Z
2019-11-30T23:29:19.000Z
relogic/components/ner_component.py
One-paper-luck/relogic
f647106e143cd603b95b63e06ea530cdd516aefe
[ "MIT" ]
5
2019-11-27T03:12:07.000Z
2021-12-08T11:45:43.000Z
from relogic.components.component import Component from relogic.structures.structure import Structure from typing import List class NERComponent(Component): """ """ def execute(self, inputs: List[Structure]): self._predictor(inputs)
15.625
50
0.756
28
250
6.714286
0.571429
0.117021
0
0
0
0
0
0
0
0
0
0
0.152
250
15
51
16.666667
0.886792
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
26582171ca4988b0034f5b6500c36243eadfe4d2
3,648
py
Python
ccnpy/crypto/tests/test_RsaSha256.py
mmosko/ccnpy
20d982e2e3845818fde7f3facdc8cbcdff323dbb
[ "Apache-2.0" ]
1
2020-12-23T14:17:25.000Z
2020-12-23T14:17:25.000Z
ccnpy/crypto/tests/test_RsaSha256.py
mmosko/ccnpy
20d982e2e3845818fde7f3facdc8cbcdff323dbb
[ "Apache-2.0" ]
1
2019-07-01T18:19:05.000Z
2019-07-02T05:35:52.000Z
ccnpy/crypto/tests/test_RsaSha256.py
mmosko/ccnpy
20d982e2e3845818fde7f3facdc8cbcdff323dbb
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Marc Mosko # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
47.376623
88
0.831963
310
3,648
9.732258
0.63871
0.019887
0.008618
0.010607
0.027179
0
0
0
0
0
0
0.101966
0.107456
3,648
76
89
48
0.824631
0.197917
0
0
0
0
0.754127
0.678129
0
1
0
0
0.019608
1
0.019608
false
0
0.039216
0
0.117647
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
1
0
0
0
0
0
0
0
0
0
0
0
0
3
26697036b26f513f5b6aa7b30f0622abe3ceb7ad
149
py
Python
JOI/joi2013yo_a.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
JOI/joi2013yo_a.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
JOI/joi2013yo_a.py
ryosuke0825/atcoder_python
185cdbe7db44ecca1aaf357858d16d31ce515ddb
[ "MIT" ]
null
null
null
import math L = int(input()) A = int(input()) B = int(input()) C = int(input()) D = int(input()) print(int(L-max(math.ceil(A/C), math.ceil(B/D))))
14.9
49
0.583893
29
149
3
0.413793
0.45977
0
0
0
0
0
0
0
0
0
0
0.14094
149
9
50
16.555556
0.679688
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.142857
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
26799e8b283f2b99a89ba063cd3583536c5c0025
2,157
py
Python
setup.py
byRo0t96/hiphp
0cfef4a4662fe5e666dd43e85e902d6c7615d85b
[ "MIT" ]
1
2021-09-11T18:44:43.000Z
2021-09-11T18:44:43.000Z
setup.py
yasserbdj96/hiphp
0cfef4a4662fe5e666dd43e85e902d6c7615d85b
[ "MIT" ]
null
null
null
setup.py
yasserbdj96/hiphp
0cfef4a4662fe5e666dd43e85e902d6c7615d85b
[ "MIT" ]
null
null
null
from setuptools import setup,find_packages setup( name="hiphp", version="0.1.14", author="Boudjada Yasser (yasserbdj96)", author_email="yasser.bdj96@gmail.com", description='''backdoor control php sites, The site is controlled by sending commands, files and codes to the site using the http or ...
69.580645
658
0.617988
249
2,157
5.313253
0.485944
0.021164
0.027211
0.034769
0.455026
0.455026
0.455026
0.455026
0.455026
0.455026
0
0.009731
0.190079
2,157
31
659
69.580645
0.747567
0
0
0
0
0.032258
0.614192
0.010338
0
0
0
0
0
1
0
true
0.064516
0.032258
0
0.032258
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
cd00373ce465ac565c147d29f2d6f7b7dc18c1d7
75
py
Python
meca/constants.py
numython-rd/meca
0d49e17eb3c1c4a1a56a5b399ab9ff47a6022f2a
[ "MIT" ]
null
null
null
meca/constants.py
numython-rd/meca
0d49e17eb3c1c4a1a56a5b399ab9ff47a6022f2a
[ "MIT" ]
null
null
null
meca/constants.py
numython-rd/meca
0d49e17eb3c1c4a1a56a5b399ab9ff47a6022f2a
[ "MIT" ]
null
null
null
# Numython R&D from numpy import exp, pi g = 9.806 # gravity acceleration
18.75
33
0.72
13
75
4.153846
1
0
0
0
0
0
0
0
0
0
0
0.066667
0.2
75
4
33
18.75
0.833333
0.44
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
cd0c0d27cc83b78d3e9a5790771a1b699296c71a
595
py
Python
W04/flask-map-01/app.py
maloyang/KH20210925_Python_Data_Science
5a9d972618e4d7a5a5e617c7eb28d59b4e92239f
[ "MIT" ]
null
null
null
W04/flask-map-01/app.py
maloyang/KH20210925_Python_Data_Science
5a9d972618e4d7a5a5e617c7eb28d59b4e92239f
[ "MIT" ]
null
null
null
W04/flask-map-01/app.py
maloyang/KH20210925_Python_Data_Science
5a9d972618e4d7a5a5e617c7eb28d59b4e92239f
[ "MIT" ]
3
2021-09-25T02:14:40.000Z
2021-10-30T05:17:12.000Z
# -*- coding: utf-8 -*- from flask import Flask, request, abort, render_template, Response from flask import json, jsonify, session, redirect, url_for #from flask_cors import CORS, cross_origin # for cross domain problem from flask import send_file import requests import csv import folium import geocoder app = Flask...
22.037037
69
0.719328
87
595
4.632184
0.54023
0.08933
0.111663
0
0
0
0
0
0
0
0
0.019608
0.142857
595
26
70
22.884615
0.770588
0.147899
0
0
0
0
0.091451
0
0
0
0
0
0
1
0.125
false
0
0.4375
0.125
0.6875
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
cd10e583b5669d25744a29036d9787e6e942310e
607
py
Python
contact/forms.py
luisbastir/django2webcompany
3a282cf10db441fae9ae9c6e027a640cb694efbc
[ "Unlicense" ]
null
null
null
contact/forms.py
luisbastir/django2webcompany
3a282cf10db441fae9ae9c6e027a640cb694efbc
[ "Unlicense" ]
null
null
null
contact/forms.py
luisbastir/django2webcompany
3a282cf10db441fae9ae9c6e027a640cb694efbc
[ "Unlicense" ]
null
null
null
from django import forms class ContactForm(forms.Form): name = forms.CharField(label="Nombre", required=True, widget=forms.TextInput(attrs={"class":"form-control", "placeholder":"Escribe tu nombre"}), min_length=3, max_length=100) email = forms.EmailField(label="Correo", required=True, widget=forms.EmailInput(attr...
101.166667
193
0.752883
82
607
5.5
0.426829
0.079823
0.119734
0.152993
0.321508
0.279379
0.181818
0
0
0
0
0.024823
0.07084
607
6
193
101.166667
0.774823
0
0
0
0
0
0.264803
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
cd2281d814a88a327c809f4d4ce467a6de13fb72
144
py
Python
reviews_libdir/example_config.py
RTMJr/Pitchfork-SQL-Project
1ce691c02131cbbc4726c3d3ef0d2b9321e8153b
[ "MIT" ]
null
null
null
reviews_libdir/example_config.py
RTMJr/Pitchfork-SQL-Project
1ce691c02131cbbc4726c3d3ef0d2b9321e8153b
[ "MIT" ]
null
null
null
reviews_libdir/example_config.py
RTMJr/Pitchfork-SQL-Project
1ce691c02131cbbc4726c3d3ef0d2b9321e8153b
[ "MIT" ]
null
null
null
user = "user_name_here" password = "password_here" host = "host_here" app_name = "discogs app name here" user_token = "discogs app token here"
20.571429
37
0.743056
22
144
4.590909
0.363636
0.158416
0
0
0
0
0
0
0
0
0
0
0.152778
144
6
38
24
0.827869
0
0
0
0
0
0.552448
0
0
0
0
0
0
1
0
false
0.2
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
0
1
0
0
0
0
0
3
cd25372fe0a419d205564d8506edeff386bc9d69
105
py
Python
Tropes/core.py
Direwolf82/Data-Science-Projects
4919bad603f8c95d4e3160dd1f9d144284354131
[ "Apache-2.0" ]
null
null
null
Tropes/core.py
Direwolf82/Data-Science-Projects
4919bad603f8c95d4e3160dd1f9d144284354131
[ "Apache-2.0" ]
null
null
null
Tropes/core.py
Direwolf82/Data-Science-Projects
4919bad603f8c95d4e3160dd1f9d144284354131
[ "Apache-2.0" ]
null
null
null
import requests page = requests.get("http://dataquestio.github.io/web-scraping-pages/simple.html") page
21
82
0.780952
15
105
5.466667
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.066667
105
4
83
26.25
0.836735
0
0
0
0
0
0.561905
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
cd28731ba43f8d26354be57f6ab8cde7443868ad
785
py
Python
tests/RamlWrapTest/utils/validation_handler.py
jmons/ramlwrap
43506cde5aa1d5717b217273ab460e877ef25db1
[ "MIT" ]
9
2016-10-24T09:00:53.000Z
2021-12-24T10:15:14.000Z
tests/RamlWrapTest/utils/validation_handler.py
jmons/ramlwrap
43506cde5aa1d5717b217273ab460e877ef25db1
[ "MIT" ]
33
2017-03-14T11:36:59.000Z
2021-12-27T11:20:09.000Z
tests/RamlWrapTest/utils/validation_handler.py
jmons/ramlwrap
43506cde5aa1d5717b217273ab460e877ef25db1
[ "MIT" ]
4
2017-03-30T09:58:22.000Z
2020-02-18T12:42:28.000Z
""" Custom validation handler for returning unqiue and customised validation responses. """ from django.http.response import HttpResponse def custom_validation_response(e): """ Custom validation handler to override the default and return a HttpResponse I'm a teapot code. """ return HttpResponse(...
21.216216
62
0.705732
95
785
5.715789
0.421053
0.206262
0.169429
0.138122
0.39779
0.39779
0.39779
0.39779
0.39779
0.309392
0
0.004894
0.219108
785
36
63
21.805556
0.880914
0.442038
0
0
0
0
0.042895
0
0
0
0
0
0
1
0.3
false
0
0.1
0
0.6
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
cd37655f5267d15b6aef91c4e409def5320f1365
631
py
Python
bakery/bakery.py
iredelmeier/doughknots
487431b189eed8e33d369403100ff3b68d7a4151
[ "MIT" ]
3
2019-07-17T23:21:58.000Z
2019-07-18T16:31:31.000Z
bakery/bakery.py
iredelmeier/doughknots
487431b189eed8e33d369403100ff3b68d7a4151
[ "MIT" ]
1
2021-06-02T00:13:12.000Z
2021-06-02T00:13:12.000Z
bakery/bakery.py
iredelmeier/doughknots
487431b189eed8e33d369403100ff3b68d7a4151
[ "MIT" ]
null
null
null
from abc import abstractmethod from typing import Mapping from .kind import Kind class Bakery: @abstractmethod async def bake(self, kind: Kind, amount: int = 1) -> None: pass @abstractmethod async def take(self, kind: Kind, amount: int = 1) -> None: pass @abstractmethod asyn...
21.033333
62
0.618067
80
631
4.875
0.275
0.123077
0.123077
0.184615
0.682051
0.682051
0.682051
0.54359
0.54359
0.54359
0
0.008772
0.277338
631
29
63
21.758621
0.846491
0
0
0.7
0
0
0
0
0
0
0
0
0
1
0
true
0.25
0.15
0
0.3
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
1
1
0
0
0
0
0
3
cd582a3c8e12968de833564c3aee5e267f823314
1,005
py
Python
giveaway/migrations/0001_initial.py
nikhilchaudhary0126/goodshare
c1578796b6376f02970f61ea418e9eb87dc5bb64
[ "MIT" ]
1
2022-02-26T09:25:39.000Z
2022-02-26T09:25:39.000Z
giveaway/migrations/0001_initial.py
nikhilchaudhary0126/goodshare
c1578796b6376f02970f61ea418e9eb87dc5bb64
[ "MIT" ]
null
null
null
giveaway/migrations/0001_initial.py
nikhilchaudhary0126/goodshare
c1578796b6376f02970f61ea418e9eb87dc5bb64
[ "MIT" ]
null
null
null
# Generated by Django 3.2.5 on 2022-02-26 20:04 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Food', fields=[ ('id', models.BigAutoField(...
32.419355
117
0.547264
93
1,005
5.817204
0.580645
0.166359
0.19963
0.266174
0.144177
0
0
0
0
0
0
0.038849
0.308458
1,005
30
118
33.5
0.739568
0.044776
0
0
1
0
0.082463
0
0
0
0
0
0
1
0
false
0
0.043478
0
0.217391
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
cd6bc298ee908f9dbeee4d22f40c832bde69c3dd
3,291
py
Python
payplug/test/test_init/test_dao_refund.py
SOGEXIS/payplug-python
f87d823058710f19d2afd6feab1e8a22703d895a
[ "MIT" ]
null
null
null
payplug/test/test_init/test_dao_refund.py
SOGEXIS/payplug-python
f87d823058710f19d2afd6feab1e8a22703d895a
[ "MIT" ]
null
null
null
payplug/test/test_init/test_dao_refund.py
SOGEXIS/payplug-python
f87d823058710f19d2afd6feab1e8a22703d895a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import pytest from mock import patch import payplug from payplug import resources from payplug.test import TestBase @patch('payplug.config.secret_key', 'a_secret_key') @patch.object(payplug.HttpClient, 'post', lambda *args, **kwargs: ({'id': 're_refund_id'}, 200)) @patch.object(payplug.HttpCli...
35.771739
96
0.652081
391
3,291
5.212276
0.189258
0.110402
0.070658
0.083906
0.750245
0.749264
0.742885
0.735034
0.680079
0.57998
0
0.018992
0.216044
3,291
91
97
36.164835
0.77093
0.006381
0
0.397059
0
0
0.22705
0.046206
0
0
0
0
0.235294
1
0.102941
false
0
0.073529
0.014706
0.220588
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
cd75e4b07f8528a5f4a644d9cf41b206a8035b5e
3,090
py
Python
apps/api/v1/serializers.py
developersociety/commonslibrary
38a77a8eea9d11e1819535ca98d577430b830c02
[ "BSD-3-Clause" ]
4
2018-03-20T06:32:16.000Z
2021-03-25T10:05:25.000Z
apps/api/v1/serializers.py
developersociety/commonslibrary
38a77a8eea9d11e1819535ca98d577430b830c02
[ "BSD-3-Clause" ]
22
2018-03-01T15:16:50.000Z
2020-04-16T10:51:29.000Z
apps/api/v1/serializers.py
developersociety/commonslibrary
38a77a8eea9d11e1819535ca98d577430b830c02
[ "BSD-3-Clause" ]
1
2019-02-20T09:40:41.000Z
2019-02-20T09:40:41.000Z
from django.urls import reverse from rest_framework import serializers from sorl.thumbnail import get_thumbnail from accounts.models import User from directory.models import Organisation from resources.models import Resource from tags.models import Tag class ResourceSerializer(serializers.ModelSerializer): orga...
30.9
93
0.685113
344
3,090
5.994186
0.238372
0.201746
0.06935
0.062076
0.240543
0.099903
0.073715
0.073715
0.073715
0
0
0.00407
0.204854
3,090
99
94
31.212121
0.835165
0
0
0.152778
0
0
0.088673
0.008738
0
0
0
0
0
1
0.180556
false
0
0.097222
0.152778
0.777778
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
cd77ebdc5b3bbec616690048716af3f9efda55df
85
py
Python
listing.py
Michel-Nassalang/python
8c3b40d63c9930ac32120140db04fff6ec6c46bf
[ "Apache-2.0" ]
null
null
null
listing.py
Michel-Nassalang/python
8c3b40d63c9930ac32120140db04fff6ec6c46bf
[ "Apache-2.0" ]
null
null
null
listing.py
Michel-Nassalang/python
8c3b40d63c9930ac32120140db04fff6ec6c46bf
[ "Apache-2.0" ]
null
null
null
liste = [5, 12, 7, 54, 4, 19, 23] classeur = { 'positif':[], 'negatif': [] }
17
33
0.447059
11
85
3.454545
1
0
0
0
0
0
0
0
0
0
0
0.180328
0.282353
85
5
34
17
0.442623
0
0
0
0
0
0.162791
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cd82af02b7d6307ace997106db611af8f246c8f3
242
py
Python
src/gateio_new_coins_announcements_bot/auth/gateio_auth.py
MarcosPalacios/gateio-crypto-trading-bot-binance-announcements-new-coins
180763fa167ede0a7534d485a3c4c7b3030b43ec
[ "MIT" ]
823
2021-10-17T13:00:38.000Z
2022-03-29T04:07:52.000Z
src/gateio_new_coins_announcements_bot/auth/gateio_auth.py
MarcosPalacios/gateio-crypto-trading-bot-binance-announcements-new-coins
180763fa167ede0a7534d485a3c4c7b3030b43ec
[ "MIT" ]
118
2021-10-18T10:44:12.000Z
2022-03-09T10:07:11.000Z
src/gateio_new_coins_announcements_bot/auth/gateio_auth.py
MarcosPalacios/gateio-crypto-trading-bot-binance-announcements-new-coins
180763fa167ede0a7534d485a3c4c7b3030b43ec
[ "MIT" ]
277
2021-10-17T23:31:59.000Z
2022-03-29T07:51:44.000Z
import yaml from gate_api import Configuration def load_gateio_creds(file): with open(file) as file: auth = yaml.load(file, Loader=yaml.FullLoader) return Configuration(key=auth["gateio_api"], secret=auth["gateio_secret"])
24.2
78
0.735537
34
242
5.088235
0.588235
0.115607
0
0
0
0
0
0
0
0
0
0
0.157025
242
9
79
26.888889
0.848039
0
0
0
0
0
0.095041
0
0
0
0
0
0
1
0.166667
false
0
0.333333
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
26b28eaacde34a8da11dc0ee4f87a5fb110a0925
871
py
Python
src/main/api/model/DailyReport.py
MagedMYoussef/corona-bel3raby
4558f6ddc936f01e21f51800a73779ad855707b9
[ "MIT" ]
null
null
null
src/main/api/model/DailyReport.py
MagedMYoussef/corona-bel3raby
4558f6ddc936f01e21f51800a73779ad855707b9
[ "MIT" ]
null
null
null
src/main/api/model/DailyReport.py
MagedMYoussef/corona-bel3raby
4558f6ddc936f01e21f51800a73779ad855707b9
[ "MIT" ]
1
2020-04-10T20:36:24.000Z
2020-04-10T20:36:24.000Z
from ..util.Database import db from datetime import date class DailyReport(db.Model): """ User Model for storing covid-19 daily reports """ __tablename__ = "daily_reports" country = db.Column(db.String(100), primary_key=True) report_date = db.Column(db.Date(), primary_key=True) total_confirmed = ...
36.291667
157
0.692308
126
871
4.619048
0.412698
0.151203
0.189003
0.204467
0.393471
0
0
0
0
0
0
0.006878
0.165327
871
23
158
37.869565
0.793673
0.051665
0
0
0
0
0.015892
0
0
0
0
0
0
1
0.058824
false
0
0.117647
0.058824
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
26cb1858c763165d0568e5cfd74743d6f55c4761
172
py
Python
server.py
lostsquirrel/words
aaa4bb2b3a9c8c7c7300e29ec73f39cff4409b8d
[ "MIT" ]
null
null
null
server.py
lostsquirrel/words
aaa4bb2b3a9c8c7c7300e29ec73f39cff4409b8d
[ "MIT" ]
null
null
null
server.py
lostsquirrel/words
aaa4bb2b3a9c8c7c7300e29ec73f39cff4409b8d
[ "MIT" ]
null
null
null
from gevent.pywsgi import WSGIServer from words import app if __name__ == '__main__': http_server = WSGIServer(('0.0.0.0', 8000), app) http_server.serve_forever()
24.571429
52
0.72093
25
172
4.52
0.64
0.053097
0.053097
0
0
0
0
0
0
0
0
0.055172
0.156977
172
6
53
28.666667
0.724138
0
0
0
0
0
0.087209
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
26d9b5dce4ec9fba15c25d609bb7cdb89688133b
229
py
Python
data/settings.py
consbio/batamp-viz
93b5e39414087fbbc32f9e18c71905444ae3c7bb
[ "MIT" ]
null
null
null
data/settings.py
consbio/batamp-viz
93b5e39414087fbbc32f9e18c71905444ae3c7bb
[ "MIT" ]
1
2021-09-01T07:27:15.000Z
2021-09-01T07:27:15.000Z
data/settings.py
consbio/batamp-viz
93b5e39414087fbbc32f9e18c71905444ae3c7bb
[ "MIT" ]
null
null
null
import os from dotenv import load_dotenv, find_dotenv load_dotenv(find_dotenv()) # These variables are stored in .env in the project root DATABASIN_USER = os.getenv("DATABASIN_USER") DATABASIN_KEY = os.getenv("DATABASIN_KEY")
22.9
56
0.79476
35
229
4.971429
0.542857
0.114943
0.16092
0.229885
0
0
0
0
0
0
0
0
0.122271
229
9
57
25.444444
0.865672
0.235808
0
0
0
0
0.156977
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f8055edc28a03ed166bbd28ea245a57b5abbb3e3
301
py
Python
unix_processes/fork.py
tsurubee/study
bebe5764a2137b8c01b66ca8fa10c0bde503207c
[ "MIT" ]
1
2019-12-15T14:53:02.000Z
2019-12-15T14:53:02.000Z
unix_processes/fork.py
tsurubee/study_books
bebe5764a2137b8c01b66ca8fa10c0bde503207c
[ "MIT" ]
null
null
null
unix_processes/fork.py
tsurubee/study_books
bebe5764a2137b8c01b66ca8fa10c0bde503207c
[ "MIT" ]
null
null
null
#fork(2)システムコールによりプロセスが生成されることを確認する #if句が親プロセスによって実行され、else句が子プロセスによって実行されていることがわかる。 import os print("parent process pid: {0}".format(os.getpid())) if os.fork(): print("Here in the if block. pid: {0}".format(os.getpid())) else: print("Here in the else block. pid: {0}".format(os.getpid()))
25.083333
65
0.707641
41
301
5.195122
0.487805
0.056338
0.140845
0.169014
0.300469
0.215962
0
0
0
0
0
0.015094
0.119601
301
11
66
27.363636
0.788679
0.269103
0
0
0
0
0.389908
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0.5
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
f80587f0d1c9650da96b3e60c244ccec5468b010
755
py
Python
py/poetryy/template_tokenizer.py
solemn-leader/verslibre
b4e03b5dadb57f7b451341b33b1975233343295d
[ "Unlicense" ]
3
2021-07-27T09:25:47.000Z
2021-09-13T11:38:30.000Z
py/poetryy/template_tokenizer.py
solemn-leader/verslibre
b4e03b5dadb57f7b451341b33b1975233343295d
[ "Unlicense" ]
null
null
null
py/poetryy/template_tokenizer.py
solemn-leader/verslibre
b4e03b5dadb57f7b451341b33b1975233343295d
[ "Unlicense" ]
1
2021-11-06T13:31:53.000Z
2021-11-06T13:31:53.000Z
# -*- coding: utf-8 -*- ''' Простой токенизатор - разбивает строку на слова ''' from __future__ import print_function import re class TemplateTokenizer(object): def __init__(self): self.regex = re.compile(r'[%s\s]+' % re.escape(u'[  +<>`~; .,??!-…№”“„{}/\'"–—_:«»*]())》\t')) def normalize_word(self, ...
29.038462
101
0.55894
120
755
3.5
0.491667
0.064286
0.057143
0.033333
0.161905
0.161905
0.161905
0.161905
0.161905
0.161905
0
0.01406
0.246358
755
25
102
30.2
0.704745
0.092715
0
0
0
0.066667
0.051699
0
0
0
0
0
0
1
0.266667
false
0
0.133333
0.133333
0.733333
0.066667
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
f80c153aa38e751a569f78ef4c11600aed120ccd
141
py
Python
toolbox/nn/Flatten.py
LinXueyuanStdio/KGE-toolbox
916842835e61ba99dde1409592977a2ec55f8aae
[ "Apache-2.0" ]
2
2021-10-17T17:50:24.000Z
2021-12-13T05:22:46.000Z
toolbox/nn/Flatten.py
LinXueyuanStdio/KGE-toolbox
916842835e61ba99dde1409592977a2ec55f8aae
[ "Apache-2.0" ]
null
null
null
toolbox/nn/Flatten.py
LinXueyuanStdio/KGE-toolbox
916842835e61ba99dde1409592977a2ec55f8aae
[ "Apache-2.0" ]
null
null
null
import torch.nn as nn class Flatten(nn.Module): def forward(self, x): n = x.size(0) x = x.view(n, -1) return x
15.666667
25
0.524823
24
141
3.083333
0.708333
0
0
0
0
0
0
0
0
0
0
0.021505
0.340426
141
8
26
17.625
0.774194
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
f80e24d20c5db8b9c277bcbe3661f022b01eff5d
166
py
Python
src/atlantic/urls.py
bpilkerton/vendor-upload
ba43b620340c9fffd26cf6a8ee5bc9f97ffabda1
[ "Unlicense" ]
null
null
null
src/atlantic/urls.py
bpilkerton/vendor-upload
ba43b620340c9fffd26cf6a8ee5bc9f97ffabda1
[ "Unlicense" ]
null
null
null
src/atlantic/urls.py
bpilkerton/vendor-upload
ba43b620340c9fffd26cf6a8ee5bc9f97ffabda1
[ "Unlicense" ]
null
null
null
from django.contrib import admin from django.urls import path, include urlpatterns = [ path('', include('upload.urls')), path('upload/', admin.site.urls), ]
20.75
37
0.686747
21
166
5.428571
0.52381
0.175439
0
0
0
0
0
0
0
0
0
0
0.156627
166
7
38
23.714286
0.814286
0
0
0
0
0
0.108434
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
f81b6e80d2729403d0a40ed606cadabce577a7d5
686
py
Python
examples/linklist/example_project/models.py
moccu/django-anylink
1ad9a19500d394f0d651f966952be1cd93b35103
[ "BSD-3-Clause" ]
6
2015-05-18T13:49:15.000Z
2020-04-10T00:02:27.000Z
examples/linklist/example_project/models.py
moccu/django-anylink
1ad9a19500d394f0d651f966952be1cd93b35103
[ "BSD-3-Clause" ]
10
2015-04-07T09:09:50.000Z
2018-06-19T09:33:47.000Z
examples/linklist/example_project/models.py
moccu/django-anylink
1ad9a19500d394f0d651f966952be1cd93b35103
[ "BSD-3-Clause" ]
4
2015-05-29T16:23:26.000Z
2020-09-16T07:19:33.000Z
from anylink.fields import AnyLinkField from django.db import models from django.template.defaultfilters import slugify class LinkableObject(models.Model): description = models.CharField(max_length=255) def __str__(self): return self.description def get_absolute_url(self): return u'/{0}/...
22.866667
70
0.718659
84
686
5.666667
0.440476
0.058824
0.063025
0.10084
0.336134
0.336134
0.336134
0.336134
0.336134
0.336134
0
0.01421
0.1793
686
29
71
23.655172
0.831261
0
0
0.388889
0
0
0.01312
0
0
0
0
0
0
1
0.222222
false
0
0.166667
0.222222
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f81e14d917ef259b9215a8386b3b9f9b856e263d
51
py
Python
src/apps/order/__init__.py
pygaur/gsshop
87a25239ebd3d15f67057865b66d07d6857f6084
[ "Apache-2.0" ]
2
2020-04-14T19:22:13.000Z
2020-08-18T17:08:33.000Z
src/apps/order/__init__.py
pygaur/gsshop
87a25239ebd3d15f67057865b66d07d6857f6084
[ "Apache-2.0" ]
8
2020-05-25T14:05:45.000Z
2022-03-12T00:46:30.000Z
src/apps/order/__init__.py
pygaur/gsshop
87a25239ebd3d15f67057865b66d07d6857f6084
[ "Apache-2.0" ]
1
2020-04-14T19:22:18.000Z
2020-04-14T19:22:18.000Z
default_app_config = 'apps.order.apps.OrderConfig'
25.5
50
0.823529
7
51
5.714286
0.857143
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
f825e59ad9b4778cc7237ba92b18e0efc217bf74
727
py
Python
authome/widgets.py
rockychen-dpaw/authome
caea623ea7f5d16dc0554fcc7cc78c8063788fb8
[ "Apache-2.0" ]
2
2019-07-02T06:23:54.000Z
2021-12-14T04:02:40.000Z
authome/widgets.py
rockychen-dpaw/authome
caea623ea7f5d16dc0554fcc7cc78c8063788fb8
[ "Apache-2.0" ]
9
2019-02-18T03:19:54.000Z
2022-03-31T06:10:36.000Z
authome/widgets.py
rockychen-dpaw/authome
caea623ea7f5d16dc0554fcc7cc78c8063788fb8
[ "Apache-2.0" ]
6
2019-01-22T08:10:16.000Z
2022-02-15T02:42:03.000Z
from django import forms class ReadonlyWidget(forms.HiddenInput): def __init__(self,f_display=None,*args,**kwargs): super().__init__(*args,**kwargs) self._f_display = f_display if f_display else lambda value:str(value) if value is not None else "" @property def is_hidden(self): r...
38.263158
180
0.708391
102
727
4.852941
0.45098
0.080808
0.072727
0.068687
0.09697
0.09697
0
0
0
0
0
0
0.14718
727
18
181
40.388889
0.798387
0
0
0
0
0
0.150138
0.097796
0
0
0
0
0
1
0.25
false
0
0.083333
0.166667
0.583333
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
f84c30085bc81258d916bac9ade3a6c4f2a4ca77
277
py
Python
ramda/where.py
zydmayday/pamda
6740d0294f3bedbeeef3bbc3042a43dceb3239b2
[ "MIT" ]
1
2022-03-14T07:35:13.000Z
2022-03-14T07:35:13.000Z
ramda/where.py
zydmayday/pamda
6740d0294f3bedbeeef3bbc3042a43dceb3239b2
[ "MIT" ]
3
2022-03-24T02:30:18.000Z
2022-03-31T07:46:04.000Z
ramda/where.py
zydmayday/pamda
6740d0294f3bedbeeef3bbc3042a43dceb3239b2
[ "MIT" ]
null
null
null
from .private._curry2 import _curry2 from .private._has import _has from .private._helper import getAttribute def inner_where(spec, testObj): return not any((_has(spec, prop) and not spec[prop](getAttribute(testObj, prop))) for prop in spec) where = _curry2(inner_where)
25.181818
101
0.772563
41
277
5
0.463415
0.160976
0
0
0
0
0
0
0
0
0
0.012448
0.129964
277
10
102
27.7
0.838174
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.5
0.166667
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
f88223a0cb59839cd4475535c520bf3d208fab01
135
py
Python
conftest.py
sacovo/django-advanced-filters
cd3b564c9d1def526393bda35280df2c5f0a1f68
[ "MIT" ]
1
2020-09-30T13:08:10.000Z
2020-09-30T13:08:10.000Z
conftest.py
sacovo/django-advanced-filters
cd3b564c9d1def526393bda35280df2c5f0a1f68
[ "MIT" ]
null
null
null
conftest.py
sacovo/django-advanced-filters
cd3b564c9d1def526393bda35280df2c5f0a1f68
[ "MIT" ]
1
2019-10-17T11:09:24.000Z
2019-10-17T11:09:24.000Z
import django IGNORE_MIGRATIONS = django.VERSION < (1, 7) if IGNORE_MIGRATIONS: collect_ignore = ["advanced_filters/migrations"]
19.285714
52
0.762963
16
135
6.1875
0.6875
0.323232
0
0
0
0
0
0
0
0
0
0.017241
0.140741
135
6
53
22.5
0.836207
0
0
0
0
0
0.2
0.2
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
f896977f2c7dcd55605349e758aa75cbd2660e28
769
py
Python
AyAdb/Files.py
AkagiYui/AzurLaneTool
f00fa6e5c6371db72ee399d7bd178a81f39afd8b
[ "Apache-2.0" ]
null
null
null
AyAdb/Files.py
AkagiYui/AzurLaneTool
f00fa6e5c6371db72ee399d7bd178a81f39afd8b
[ "Apache-2.0" ]
null
null
null
AyAdb/Files.py
AkagiYui/AzurLaneTool
f00fa6e5c6371db72ee399d7bd178a81f39afd8b
[ "Apache-2.0" ]
null
null
null
from AyAdb import AyAdb class Files: __device: AyAdb = None def __init__(self, device=None): self.__device = device def create_directory(self, directory): self.__device.shell('mkdir -p ' + directory) def is_exists(self, file): return self.__device.shell('[ -e ' + file + ' ] ...
28.481481
97
0.586476
99
769
4.30303
0.292929
0.164319
0.176056
0.147887
0.298122
0.298122
0.161972
0.161972
0
0
0
0.015625
0.250975
769
26
98
29.576923
0.723958
0
0
0
0
0
0.130039
0
0
0
0
0
0
1
0.411765
false
0
0.058824
0.176471
0.764706
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
f8bae8b6031407514340991d2065cd8cec56a041
381
py
Python
ckpt_lookup.py
hongliangduan/Reproducing-the-invention-of-a-named-reaction-Zero-shot-prediction-of-unseen-chemical-reactions
2d688bff2202e37321dedba7cdac67cd3c1e1fad
[ "MIT" ]
null
null
null
ckpt_lookup.py
hongliangduan/Reproducing-the-invention-of-a-named-reaction-Zero-shot-prediction-of-unseen-chemical-reactions
2d688bff2202e37321dedba7cdac67cd3c1e1fad
[ "MIT" ]
null
null
null
ckpt_lookup.py
hongliangduan/Reproducing-the-invention-of-a-named-reaction-Zero-shot-prediction-of-unseen-chemical-reactions
2d688bff2202e37321dedba7cdac67cd3c1e1fad
[ "MIT" ]
null
null
null
import os import tensorflow as tf # checkpoint_path=os.path.join(os.getcwd(),'ckpt1/ner.ckpt') reader=tf.train.NewCheckpointReader("/usr/local/lib/python2.7/dist-packages/tensor2tensor/t2t_train/translate_retro_syn/transformer-transformer_base_single_gpu/-0") var=reader.get_variable_to_shape_map() for key in var: ...
38.1
164
0.7979
59
381
4.932203
0.745763
0.061856
0
0
0
0
0
0
0
0
0
0.016901
0.068241
381
9
165
42.333333
0.802817
0.230971
0
0
0
0.166667
0.468966
0.431034
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
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
1
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f8cca471ac2677ea3aad3cf767847ec2aeca8ab7
3,326
py
Python
oo/carro.py
willian-virgilio/pythonbirds
af83d165260369e46402c22f41055a13e56f5e70
[ "MIT" ]
null
null
null
oo/carro.py
willian-virgilio/pythonbirds
af83d165260369e46402c22f41055a13e56f5e70
[ "MIT" ]
null
null
null
oo/carro.py
willian-virgilio/pythonbirds
af83d165260369e46402c22f41055a13e56f5e70
[ "MIT" ]
null
null
null
""" Criar um carro pela composição a partir de duas classes 1)Motor 2)Direção O motor terá que controlar a velocidade. Ele oferece os seguintes atributos: 1) Atributo de dados Velocidade 2) Metodo Acelerar, que deverar incrementar 1 velocidade em 1 unidade 3) Método de frear que devera decrementar 2 velocidades A dir...
21.320513
70
0.691221
445
3,326
5
0.168539
0.056629
0.069213
0.062921
0.409438
0.372584
0.156854
0.103371
0.066517
0.066517
0
0.01026
0.179495
3,326
155
71
21.458065
0.805057
0.628984
0
0.243902
0
0
0.014718
0
0
0
0
0.03871
0
1
0.317073
false
0
0
0.073171
0.512195
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
3e28dbc12b865ed1586c6ae21c7495b4d2951d15
246
py
Python
apps/empresas/urls.py
CleitonCandiotto/gestao_rh
ee8d6a25bb97f43d96b5e29e6e938891d82b2fe3
[ "MIT" ]
null
null
null
apps/empresas/urls.py
CleitonCandiotto/gestao_rh
ee8d6a25bb97f43d96b5e29e6e938891d82b2fe3
[ "MIT" ]
null
null
null
apps/empresas/urls.py
CleitonCandiotto/gestao_rh
ee8d6a25bb97f43d96b5e29e6e938891d82b2fe3
[ "MIT" ]
null
null
null
from django.urls import path from .views import EmpresaCreateView, EmpresaEditView urlpatterns = [ path('add/', EmpresaCreateView.as_view(), name='add_empresa'), path('edit/<int:pk>/', EmpresaEditView.as_view(), name='edit_empresa' ) ]
30.75
75
0.727642
29
246
6.034483
0.586207
0.068571
0.114286
0
0
0
0
0
0
0
0
0
0.121951
246
8
76
30.75
0.810185
0
0
0
0
0
0.165992
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
3e2fda83424b1f6dc1efb850cb4be90b6c48594d
47
py
Python
tcfcli/cmds/cli/__init__.py
alfredhuang211/scfcli
f5e086ff4fcee8d645682e85cd1486b28a224d08
[ "Apache-2.0" ]
null
null
null
tcfcli/cmds/cli/__init__.py
alfredhuang211/scfcli
f5e086ff4fcee8d645682e85cd1486b28a224d08
[ "Apache-2.0" ]
null
null
null
tcfcli/cmds/cli/__init__.py
alfredhuang211/scfcli
f5e086ff4fcee8d645682e85cd1486b28a224d08
[ "Apache-2.0" ]
null
null
null
""" TCF CLI VERSION """ __version__ = '0.1.1'
7.833333
21
0.574468
7
47
3.285714
0.714286
0
0
0
0
0
0
0
0
0
0
0.078947
0.191489
47
5
22
9.4
0.526316
0.319149
0
0
0
0
0.208333
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
3e6cda28713cc2a0d7cd6b12767101454e8fb3cb
596
py
Python
PokeTest.py
GMessias/Discord_BOT_PXG
78ada4a6a61238145e41eddabec2ab98e47ebf7f
[ "MIT" ]
null
null
null
PokeTest.py
GMessias/Discord_BOT_PXG
78ada4a6a61238145e41eddabec2ab98e47ebf7f
[ "MIT" ]
null
null
null
PokeTest.py
GMessias/Discord_BOT_PXG
78ada4a6a61238145e41eddabec2ab98e47ebf7f
[ "MIT" ]
null
null
null
import requests import json args = input("Coloque o nome de um Pokemon => ") #pokemon name pokeName = args.lower() try: r = requests.get(f'https://pokeapi.co/api/v2/pokemon/{pokeName}') packages_json = r.json() packages_json.keys() print(packages_json['name']) print(packages_json['orde...
25.913043
69
0.654362
77
596
4.948052
0.532468
0.251969
0.223097
0
0
0
0
0
0
0
0
0.002058
0.184564
596
23
70
25.913043
0.781893
0.020134
0
0
0
0
0.285959
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.444444
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
3e6fba92a3529daf62da464c728f65cc155fa0a2
132
py
Python
camera_basic.py
SeoBoSeok/woodyflaskserver
1fcb04b8af5724b96df802584de9dbff0fec4771
[ "MIT" ]
null
null
null
camera_basic.py
SeoBoSeok/woodyflaskserver
1fcb04b8af5724b96df802584de9dbff0fec4771
[ "MIT" ]
null
null
null
camera_basic.py
SeoBoSeok/woodyflaskserver
1fcb04b8af5724b96df802584de9dbff0fec4771
[ "MIT" ]
null
null
null
from picamera import PiCamera from time import sleep camera = PiCamera() camera.start_preview() sleep(5) camera.stop_preview()
22
31
0.772727
18
132
5.555556
0.555556
0
0
0
0
0
0
0
0
0
0
0.00885
0.143939
132
6
32
22
0.876106
0
0
0
0
0
0
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
e42708f92e8705e7d677e2759b9257cd136ae3d3
289
py
Python
cian/exceptions.py
OlegYurchik/cian
70fe269d6fde73f0fa6eacd29714690beb098ec5
[ "MIT" ]
null
null
null
cian/exceptions.py
OlegYurchik/cian
70fe269d6fde73f0fa6eacd29714690beb098ec5
[ "MIT" ]
1
2019-12-09T09:02:37.000Z
2019-12-09T09:02:37.000Z
cian/exceptions.py
OlegYurchik/aiocian
70fe269d6fde73f0fa6eacd29714690beb098ec5
[ "MIT" ]
1
2021-04-10T07:22:47.000Z
2021-04-10T07:22:47.000Z
class CianException(Exception): """Base class for exceptions""" class CianStatusException(CianException): """Incorrect status in response from cian server""" def __init__(self, status): super().__init__(f"Status in response from cian is not 'ok'. Status: {status}")
28.9
87
0.702422
34
289
5.735294
0.647059
0.082051
0.164103
0.205128
0.246154
0
0
0
0
0
0
0
0.176471
289
9
88
32.111111
0.819328
0.245675
0
0
0
0
0.280193
0
0
0
0
0
0
1
0.25
false
0
0
0
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
e444da7a54e8a731aca375d019165c2f126f4633
53
py
Python
python/testData/quickFixes/PyRemoveArgumentQuickFixTest/duplicateKWArg_after.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2018-12-29T09:53:39.000Z
2018-12-29T09:53:42.000Z
python/testData/quickFixes/PyRemoveArgumentQuickFixTest/duplicateKWArg_after.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/quickFixes/PyRemoveArgumentQuickFixTest/duplicateKWArg_after.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
def foo(**args): pass a = {} b = {} foo(**a)
5.3
16
0.377358
8
53
2.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.339623
53
9
17
5.888889
0.571429
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
e464ad635b2ad8fe544bba0539c26e62643d405c
459
py
Python
torchtrainer/callbacks/__init__.py
nirvguy/torchtrainer
e0be2e2f9264836dc98ccedee9528b01b3597997
[ "MIT" ]
2
2019-08-09T16:31:57.000Z
2019-09-05T23:50:33.000Z
torchtrainer/callbacks/__init__.py
nirvguy/torchtrainer
e0be2e2f9264836dc98ccedee9528b01b3597997
[ "MIT" ]
null
null
null
torchtrainer/callbacks/__init__.py
nirvguy/torchtrainer
e0be2e2f9264836dc98ccedee9528b01b3597997
[ "MIT" ]
null
null
null
from .base import Callback from .container import CallbackContainer from .history import History from .progress_bars import ProgbarLogger from .stats_exporters import CSVLogger from .checkpoint import ModelCheckpoint from .exceptions import MeterNotFound from .logger import Logger from .stopping import EarlyStopping fr...
38.25
106
0.858388
51
459
7.686275
0.568627
0
0
0
0
0
0
0
0
0
0
0
0.106754
459
11
107
41.727273
0.956098
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
e47c7e2cb129af8e9eaed22a605ce731576b57dc
170
py
Python
fastapi_mail/__init__.py
imaskm/fastapi-mail
9a457e12d832ec01cffbacf9a9e420a31d3f3fb1
[ "MIT" ]
null
null
null
fastapi_mail/__init__.py
imaskm/fastapi-mail
9a457e12d832ec01cffbacf9a9e420a31d3f3fb1
[ "MIT" ]
null
null
null
fastapi_mail/__init__.py
imaskm/fastapi-mail
9a457e12d832ec01cffbacf9a9e420a31d3f3fb1
[ "MIT" ]
1
2022-03-09T08:18:16.000Z
2022-03-09T08:18:16.000Z
from fastapi_mail.fastmail import FastMail from fastapi_mail.version import VERSION __author__ = "sabuhi.shukurov@gmail.com" __all__ = [ "FastMail", "VERSION" ]
14.166667
42
0.752941
20
170
5.9
0.6
0.186441
0.254237
0
0
0
0
0
0
0
0
0
0.152941
170
12
43
14.166667
0.819444
0
0
0
0
0
0.235294
0.147059
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e4a12ee6a269fe9c37cf776a114c6ebff564a0c4
179
py
Python
pyzork/data/__init__.py
Kendandra/pyzork
93e0412ed57b3d0285ae25cca5abf774f02c0147
[ "MIT" ]
null
null
null
pyzork/data/__init__.py
Kendandra/pyzork
93e0412ed57b3d0285ae25cca5abf774f02c0147
[ "MIT" ]
null
null
null
pyzork/data/__init__.py
Kendandra/pyzork
93e0412ed57b3d0285ae25cca5abf774f02c0147
[ "MIT" ]
null
null
null
# This file is so the contents of this folder can be included as resouces. # See https://stackoverflow.com/questions/6028000/how-to-read-a-static-file-from-inside-a-python-package
89.5
104
0.793296
31
179
4.580645
0.903226
0
0
0
0
0
0
0
0
0
0
0.04321
0.094972
179
2
104
89.5
0.833333
0.977654
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