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
a0ec2f26fb31150bac79d73b40f8fc97030f7dc8
371
py
Python
shop/migrations/0002_alter_category_options.py
BwanaQ/store-crud
91321f987f9c8035bcaed58b18c3948e54232e9a
[ "MIT" ]
1
2021-12-02T08:44:41.000Z
2021-12-02T08:44:41.000Z
shop_crud/shop/migrations/0002_alter_category_options.py
BwanaQ/shop_crud
3f94666654d66fca9f160a0c5edff02df4d343eb
[ "MIT" ]
null
null
null
shop_crud/shop/migrations/0002_alter_category_options.py
BwanaQ/shop_crud
3f94666654d66fca9f160a0c5edff02df4d343eb
[ "MIT" ]
null
null
null
# Generated by Django 3.2.9 on 2021-12-02 09:54 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('shop', '0001_initial'), ] operations = [ migrations.AlterModelOptions( name='category', options={'ordering': ('name',), 'ver...
20.611111
81
0.592992
37
371
5.864865
0.837838
0
0
0
0
0
0
0
0
0
0
0.070111
0.269542
371
17
82
21.823529
0.730627
0.121294
0
0
1
0
0.200617
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a0fcebc21d74ac422be6078ea03752eb4b5c7a6e
8,036
py
Python
Environmental_PAH_Mutagenicity/prediction_data_generation.py
twsleight/Environmental_PAH_Mutagenicity
c104b4a98455e0e3763966429ea1596886e8c6d3
[ "MIT" ]
1
2021-12-09T15:27:01.000Z
2021-12-09T15:27:01.000Z
Environmental_PAH_Mutagenicity/prediction_data_generation.py
twsleight/Environmental_PAH_Mutagenicity
c104b4a98455e0e3763966429ea1596886e8c6d3
[ "MIT" ]
1
2020-12-08T17:25:42.000Z
2021-05-13T01:36:56.000Z
Environmental_PAH_Mutagenicity/prediction_data_generation.py
twsleight/Environmental_PAH_Mutagenicity
c104b4a98455e0e3763966429ea1596886e8c6d3
[ "MIT" ]
null
null
null
#main file to run the scripts that generate the data based off of the #guassian .out files #and Sauron forged in secret a master ring... from IPython import get_ipython; get_ipython().magic('reset -sf') import pandas as pd import glob import os from rdkit import Chem from Environmental_PAH_Mutagenicity.rea...
29.985075
166
0.631284
1,007
8,036
4.873883
0.268123
0.039731
0.024654
0.04075
0.328851
0.292787
0.286267
0.263447
0.242665
0.242665
0
0.017205
0.233325
8,036
267
167
30.097378
0.779419
0.278746
0
0.176471
1
0.008403
0.144948
0.039895
0
0
0.001045
0
0
1
0.008403
false
0
0.084034
0
0.10084
0.05042
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9d000088dd5c41988e1a6cc52fe57e619e12f2d1
1,993
py
Python
signal_preprocessing/preprocess.py
NikhilMahadevan/analyze-tremor-bradykinesia-PD
df0dc881a6e4ceb3f1d02c09b65175c931337403
[ "MIT" ]
13
2020-01-23T20:14:19.000Z
2022-03-07T02:52:39.000Z
signal_preprocessing/preprocess.py
NikhilMahadevan/analyze-tremor-bradykinesia-PD
df0dc881a6e4ceb3f1d02c09b65175c931337403
[ "MIT" ]
null
null
null
signal_preprocessing/preprocess.py
NikhilMahadevan/analyze-tremor-bradykinesia-PD
df0dc881a6e4ceb3f1d02c09b65175c931337403
[ "MIT" ]
9
2020-04-29T08:52:39.000Z
2022-02-27T00:42:19.000Z
''' This file houses functions used for pre-processing accelerometer sensor signals. ''' from scipy import signal import pandas as pd from sklearn.decomposition import PCA def band_pass_filter(data_df, sampling_rate, bp_cutoff, order, channels=['X', 'Y', 'Z']): ''' Band-pass filter a given sensor signal. ...
36.236364
109
0.724034
287
1,993
4.850174
0.351916
0.047414
0.030172
0.028736
0.081897
0.081897
0.081897
0.081897
0.081897
0.081897
0
0.007956
0.18013
1,993
55
110
36.236364
0.843941
0.398896
0
0.105263
0
0
0.027605
0
0
0
0
0
0
1
0.105263
false
0.105263
0.157895
0
0.368421
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
0
0
0
0
0
1
9d03ad4417df1110908c53e53becc05748a1489d
2,116
py
Python
src/model/self_smoothing_operator.py
JayChanHoi/flight-delay-forecasting-model
4a9b796e7fc5eedd084d054f26e707edfde37aee
[ "MIT" ]
1
2021-03-01T05:11:01.000Z
2021-03-01T05:11:01.000Z
src/model/self_smoothing_operator.py
JayChanHoi/flight-delay-forecasting-model
4a9b796e7fc5eedd084d054f26e707edfde37aee
[ "MIT" ]
null
null
null
src/model/self_smoothing_operator.py
JayChanHoi/flight-delay-forecasting-model
4a9b796e7fc5eedd084d054f26e707edfde37aee
[ "MIT" ]
null
null
null
import torch class SSO(): def __init__(self, iteration_num=20, gaussian_kernel_k=0.2, k_nearest_neighbors=10): self.T = iteration_num self.gaussian_kernel_k = gaussian_kernel_k self.k = k_nearest_neighbors def _get_similarity_matrix(self, feature_matrix): distance_matrix = torc...
51.609756
132
0.739603
266
2,116
5.503759
0.278195
0.262295
0.147541
0.030738
0.243852
0.035519
0
0
0
0
0
0.008681
0.183365
2,116
41
133
51.609756
0.838542
0
0
0.064516
0
0
0.063297
0
0
0
0
0
0
1
0.129032
false
0
0.032258
0
0.290323
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
0
0
0
0
1
9d0953881fed49852fbaa0f12462817597b33dd2
1,188
py
Python
fuzzylink/_memory_check.py
tseastmond/fuzzylink
5aee255ab31b5a387694d512451e95791925ccfb
[ "MIT" ]
null
null
null
fuzzylink/_memory_check.py
tseastmond/fuzzylink
5aee255ab31b5a387694d512451e95791925ccfb
[ "MIT" ]
null
null
null
fuzzylink/_memory_check.py
tseastmond/fuzzylink
5aee255ab31b5a387694d512451e95791925ccfb
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- from os import kill from psutil import virtual_memory from time import sleep ############################################################################### ############################################################################### #################################...
27
79
0.43266
108
1,188
4.722222
0.62037
0.05098
0.05098
0.062745
0.078431
0
0
0
0
0
0
0.007273
0.305556
1,188
44
80
27
0.610909
0.378788
0
0
0
0
0.006787
0
0
0
0
0
0
1
0.071429
false
0.071429
0.214286
0
0.285714
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
0
0
0
0
0
1
9d0f1f6758b4f7db0aecb932c4dd6e6867314e1b
3,996
py
Python
src/dictionary/models.py
albertonl/langsbay
cab14fe63c28dfe22e0a2ab7ca0e3c45b7d8dd25
[ "MIT" ]
3
2020-07-08T14:36:30.000Z
2021-01-14T14:42:14.000Z
src/dictionary/models.py
albertonl/langsbay
cab14fe63c28dfe22e0a2ab7ca0e3c45b7d8dd25
[ "MIT" ]
7
2021-04-08T21:21:27.000Z
2022-01-13T02:58:58.000Z
src/dictionary/models.py
albertonl/langsbay
cab14fe63c28dfe22e0a2ab7ca0e3c45b7d8dd25
[ "MIT" ]
1
2020-07-08T14:36:34.000Z
2020-07-08T14:36:34.000Z
from django.db import models from django.contrib.auth.models import User from learning.models import Language class DictionaryTerm(models.Model): user = models.ForeignKey(User, on_delete=models.SET_NULL, null=True, blank=True) lemma = models.CharField(max_length=120) language = models.ForeignKey(Language,...
49.333333
135
0.72022
490
3,996
5.708163
0.242857
0.031462
0.051126
0.066857
0.622095
0.611012
0.599571
0.587415
0.569181
0.515195
0
0.006866
0.161662
3,996
80
136
49.95
0.82806
0.087838
0
0.442623
0
0.032787
0.286421
0.052776
0
0
0
0
0
1
0.04918
false
0
0.04918
0.04918
0.672131
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
0
0
1
0
0
1
9d174bbc45a3158cea84e065be670fa744197b59
380
py
Python
ops/run_coveralls.py
atztogo/parsevasp
c16cee80a08cfcdc4fa0fd30633ece750f541243
[ "MIT" ]
28
2019-03-06T11:33:01.000Z
2022-02-25T22:29:12.000Z
ops/run_coveralls.py
DropD/aiida_vasp
9967f5501a6fc1c67981154068135cec7be5396a
[ "MIT" ]
386
2018-09-04T15:05:51.000Z
2022-03-04T12:18:39.000Z
ops/run_coveralls.py
DropD/aiida_vasp
9967f5501a6fc1c67981154068135cec7be5396a
[ "MIT" ]
35
2019-01-14T17:12:08.000Z
2022-02-24T18:52:11.000Z
"""Run coveralls only on travis.""" import os import subprocess import click def echo_call(cmd): click.echo('calling: {}'.format(' '.join(cmd)), err=True) @click.command() def main(): """Run coveralls only on travis.""" if os.getenv('TRAVIS'): cmd = ['coveralls'] echo_call(cmd) s...
17.272727
61
0.610526
48
380
4.625
0.479167
0.094595
0.144144
0.162162
0.216216
0
0
0
0
0
0
0
0.218421
380
21
62
18.095238
0.747475
0.155263
0
0
0
0
0.112903
0
0
0
0
0
0
1
0.153846
false
0
0.230769
0
0.384615
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9d190a419a5c76ccf0f6f64de5e00148441f9393
1,159
py
Python
xgbclassify_and_neural_networks.py
priyagurjar/signal-processing
bae7f0830c0e6a7feedbc25774d048fb62059425
[ "Apache-2.0" ]
null
null
null
xgbclassify_and_neural_networks.py
priyagurjar/signal-processing
bae7f0830c0e6a7feedbc25774d048fb62059425
[ "Apache-2.0" ]
null
null
null
xgbclassify_and_neural_networks.py
priyagurjar/signal-processing
bae7f0830c0e6a7feedbc25774d048fb62059425
[ "Apache-2.0" ]
null
null
null
import pandas as pd import numpy as np from sklearn import metrics from sklearn import preprocessing from sklearn.neural_network import MLPClassifier import xgboost as xgb from sklearn.model_selection import train_test_split import matplotlib.pyplot as plt from sklearn.preprocessing import LabelEncoder from xgboost imp...
41.392857
112
0.830026
190
1,159
4.863158
0.436842
0.071429
0.036797
0.025974
0.188312
0.147186
0.097403
0
0
0
0
0.01385
0.065574
1,159
27
113
42.925926
0.839335
0.044003
0
0
0
0
0.200542
0.078591
0
0
0
0
0
1
0
false
0
0.423077
0
0.423077
0.076923
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
0
0
0
0
1
9d2c7f0ee52398e5251ebbd7525bed45835014a5
2,191
py
Python
canvas_client/__main__.py
pszabolcs/canvas_client
a9493604988dbc49b4afc84c95b844d91cc63951
[ "MIT" ]
null
null
null
canvas_client/__main__.py
pszabolcs/canvas_client
a9493604988dbc49b4afc84c95b844d91cc63951
[ "MIT" ]
null
null
null
canvas_client/__main__.py
pszabolcs/canvas_client
a9493604988dbc49b4afc84c95b844d91cc63951
[ "MIT" ]
null
null
null
# __main__.py import argparse import os from configparser import ConfigParser from canvas_client.client import Client from canvas_client import util #TODO add progress bar config_path = os.path.join(".", "config.json") if not os.path.isfile(config_path): init = util.query_yes_no( "No conf...
33.707692
106
0.543587
256
2,191
4.46875
0.421875
0.012238
0.01049
0.031469
0.071678
0.034965
0
0
0
0
0
0.00273
0.331356
2,191
65
107
33.707692
0.778157
0.025103
0
0.12766
0
0
0.302078
0.035766
0
0
0
0.015385
0
1
0.021277
false
0
0.106383
0
0.12766
0.06383
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9d3a6f8b17799d107e6f88b2f930592bea6c1732
4,975
py
Python
extract_province.py
BoonthichaSaejia/ThaiSum
fdb99eab23e60a933acf4e84836f53ddf05b7c8b
[ "Apache-2.0" ]
23
2020-11-20T09:10:10.000Z
2022-01-30T16:44:39.000Z
extract_province.py
BoonthichaSaejia/ThaiSum
fdb99eab23e60a933acf4e84836f53ddf05b7c8b
[ "Apache-2.0" ]
2
2020-12-02T13:41:57.000Z
2021-11-07T17:19:57.000Z
extract_province.py
nakhunchumpolsathien/ThaiSum
c72b26799c60ff10f31d28af6df41ea97c732285
[ "Apache-2.0" ]
7
2020-12-03T08:16:38.000Z
2021-12-05T13:05:06.000Z
import pandas as pd from tqdm import tqdm df = pd.read_csv('thaisum.csv', encoding='utf-8') acr = atg = aya = bkk = bkn = brm = cbi = cco = cmi = cnt = cpm = cpn = cri = cti = kbi = kkn = kpt = kri = ksn = lei = lpg = lpn = lri = mdh = mkm = msn = nan = nbi = nbp = nki = nma = npm = npt = nrt = nsn = nwt = nyk = pbi ...
20.8159
463
0.442613
919
4,975
2.520131
0.25136
0.166235
0.299223
0.073402
0.056995
0.056995
0
0
0
0
0
0.025757
0.375678
4,975
238
464
20.903361
0.682872
0
0
0
0
0
0.182915
0
0
0
0
0
0
1
0
false
0
0.012579
0
0.012579
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9d40cf11bac2733824713a359bded2ba6d84e216
628
py
Python
WEEKS/CD_Sata-Structures/_RESOURCES/pytutor/PythonTutor-scripts/extractnumber.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
null
null
null
WEEKS/CD_Sata-Structures/_RESOURCES/pytutor/PythonTutor-scripts/extractnumber.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
null
null
null
WEEKS/CD_Sata-Structures/_RESOURCES/pytutor/PythonTutor-scripts/extractnumber.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
null
null
null
# Try using a regex as alternative solution # in progress, search for 59.09210 import pprint l = [ "0.5550.51080.446159.09210.53940.77390.85033.9272", "0.0150.01380.01211.59890.01460.02090.0230.1063", ] # Split item def split_list(seq): stack = [] for item in seq: stack.append(item.split("."...
17.942857
55
0.58121
92
628
3.945652
0.521739
0.049587
0.044077
0.071625
0
0
0
0
0
0
0
0.200903
0.294586
628
34
56
18.470588
0.61851
0.210191
0
0.105263
0
0
0.202041
0.191837
0
0
0
0
0
1
0.052632
false
0
0.052632
0
0.157895
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9d428fcb9266ff062bcd8c79ad1abd7107037afc
3,404
py
Python
run.py
CikuKariuki/Password-lock
c2c95b54ee186a0aeab3adcc11def1e0435c0401
[ "Unlicense" ]
null
null
null
run.py
CikuKariuki/Password-lock
c2c95b54ee186a0aeab3adcc11def1e0435c0401
[ "Unlicense" ]
null
null
null
run.py
CikuKariuki/Password-lock
c2c95b54ee186a0aeab3adcc11def1e0435c0401
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3.6 import random from account import Credentials from account import User def create_account(users_name,username,password): """ function to create new credentials for a new account """ new_account = User(users_name) new_account = Credentials(username,password) return new_...
31.813084
132
0.592244
358
3,404
5.5
0.304469
0.035551
0.046724
0.051803
0.057897
0.038598
0
0
0
0
0
0.005504
0.30611
3,404
107
133
31.813084
0.828112
0.096357
0
0.1
0
0.014286
0.261554
0.059946
0
0
0
0
0
1
0.1
false
0.185714
0.042857
0
0.2
0.342857
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
0
0
0
0
0
1
9d5e94621bbc52b570e0cc24ca720991618049b1
2,552
py
Python
bin/get_stories.py
rxw/snapy
c62c1b6e5a2ef1890c4ee6513268766ded90106a
[ "MIT" ]
33
2015-09-10T19:12:31.000Z
2022-02-22T21:12:45.000Z
bin/get_stories.py
rxw/snapy
c62c1b6e5a2ef1890c4ee6513268766ded90106a
[ "MIT" ]
14
2015-09-07T01:38:57.000Z
2018-10-20T13:33:51.000Z
bin/get_stories.py
rxw/snapy
c62c1b6e5a2ef1890c4ee6513268766ded90106a
[ "MIT" ]
13
2015-09-07T02:46:25.000Z
2021-12-22T11:53:43.000Z
#!/usr/bin/env python2 """Basic Snapchat client Usage: get_stories.py [-q -z] -u <username> [-p <password> | -a <auth_token>] --gmail=<gmail> --gpasswd=<gpasswd> <path> Options: -h --help Show usage -q --quiet Suppress output -u --username=<username> Username -p ...
27.73913
115
0.57837
294
2,552
4.87415
0.357143
0.050244
0.029309
0.025122
0
0
0
0
0
0
0
0.006098
0.293103
2,552
91
116
28.043956
0.788248
0.230016
0
0.12963
0
0
0.129213
0
0
0
0
0
0
1
0.018519
false
0.185185
0.166667
0
0.185185
0.074074
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
0
0
0
0
0
1
19c248c27a2ddd8eaff9c3e6cf341ca2658b31f4
3,372
py
Python
data/data_processing.py
HenryL-study/Voice-Style-Conversion-via-Seq2Seq-model
8f4de198ca85ea824bd95c53aa624626ce7f8fe2
[ "MIT" ]
2
2018-12-08T22:58:04.000Z
2020-10-20T07:54:09.000Z
data/data_processing.py
HenryL-study/Voice-Style-Conversion-via-Seq2Seq-model
8f4de198ca85ea824bd95c53aa624626ce7f8fe2
[ "MIT" ]
null
null
null
data/data_processing.py
HenryL-study/Voice-Style-Conversion-via-Seq2Seq-model
8f4de198ca85ea824bd95c53aa624626ce7f8fe2
[ "MIT" ]
1
2019-10-28T10:45:20.000Z
2019-10-28T10:45:20.000Z
import librosa import numpy as np import os import pyworld def world_encode_spectral_envelop(sp, fs, dim=36): # Get Mel-cepstral coefficients (MCEPs) #sp = sp.astype(np.float64) coded_sp = pyworld.code_spectral_envelope(sp, fs, dim) return coded_sp def world_decompose(wav, fs, frame_period = ...
47.492958
124
0.671115
499
3,372
4.310621
0.222445
0.078103
0.039052
0.055788
0.486285
0.384937
0.384937
0.352394
0.352394
0.288238
0
0.034879
0.200771
3,372
71
124
47.492958
0.763265
0.28707
0
0.086957
0
0
0.102228
0.076016
0
0
0
0.014085
0
1
0.086957
false
0
0.086957
0
0.26087
0.021739
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
19c3852d028dd3c727b9587d26113b3935e2bd86
1,580
py
Python
applications/keras-seq2seq/components/training/src/export-keras-model.py
agilestacks/kubeflow-extensions
92b7575c21af00dcb2a42c001c802ebed8d128dd
[ "Apache-2.0" ]
10
2019-12-27T08:51:44.000Z
2020-12-07T01:33:13.000Z
applications/keras-seq2seq/components/training/src/export-keras-model.py
agilestacks/kubeflow-extensions
92b7575c21af00dcb2a42c001c802ebed8d128dd
[ "Apache-2.0" ]
1
2019-12-23T08:24:00.000Z
2019-12-23T12:36:40.000Z
applications/keras-seq2seq/components/training/src/export-keras-model.py
agilestacks/kubeflow-extensions
92b7575c21af00dcb2a42c001c802ebed8d128dd
[ "Apache-2.0" ]
4
2019-09-12T03:23:17.000Z
2020-10-23T09:37:32.000Z
import tensorflow as tf logger = logging.getLogger() logger.setLevel(logging.WARNING) # Parsing flags. parser = argparse.ArgumentParser() parser.add_argument("--input_hdf5_model") parser.add_argument("--output_model_path") parser.add_argument("--mkdirs", type=bool, default=False) parser.add_argument("--tempfile", def...
30.980392
74
0.748101
231
1,580
4.95671
0.47619
0.061135
0.059389
0.049782
0
0
0
0
0
0
0
0.008191
0.15
1,580
50
75
31.6
0.844378
0.283544
0
0
0
0
0.149866
0.021409
0
0
0
0.02
0
1
0
false
0
0.032258
0
0.032258
0.129032
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
19c870615ddefd3b94b5c442b8f17f6498f6401f
17,193
py
Python
core/drivers/basedriver.py
cmu-db/cmdbac
1f981e6f110728e51ba4ffdb90ff2d4ce091057a
[ "Apache-2.0" ]
31
2016-04-07T04:54:29.000Z
2021-11-30T02:30:57.000Z
core/drivers/basedriver.py
cmu-db/db-webcrawler
1f981e6f110728e51ba4ffdb90ff2d4ce091057a
[ "Apache-2.0" ]
22
2015-12-19T14:49:18.000Z
2021-09-07T23:48:24.000Z
core/drivers/basedriver.py
cmu-db/dbac
1f981e6f110728e51ba4ffdb90ff2d4ce091057a
[ "Apache-2.0" ]
7
2016-05-13T01:02:01.000Z
2019-10-06T16:52:54.000Z
import os, sys sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir)) import logging import requests import re import copy import traceback import time import datetime import json from library.models import * from cmudbac.settings import * import utils import extract import submit import count ## ======...
34.180915
133
0.517304
1,840
17,193
4.632065
0.120652
0.019711
0.019946
0.011498
0.457233
0.391529
0.355978
0.326294
0.301889
0.291564
0
0.005913
0.3705
17,193
502
134
34.249004
0.781576
0.04432
0
0.505025
0
0
0.066134
0.001647
0
0
0
0
0
0
null
null
0.015075
0.045226
null
null
0.005025
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
1
0
0
0
0
0
0
0
0
1
19d2103293f254b91988d14d1e6c24e1c49f910f
1,064
py
Python
Player text/Player.py
J040-M4RC0S-Z/first-programs
380af382d0139eba4b13688e78effbd1c21b3213
[ "MIT" ]
1
2021-02-06T22:35:20.000Z
2021-02-06T22:35:20.000Z
Player text/Player.py
J040-M4RC0S-Z/first-programs
380af382d0139eba4b13688e78effbd1c21b3213
[ "MIT" ]
null
null
null
Player text/Player.py
J040-M4RC0S-Z/first-programs
380af382d0139eba4b13688e78effbd1c21b3213
[ "MIT" ]
null
null
null
import pygame change = int(input('Digite o Número da música que você deseja tocar: [1/2/3/4]: ')) if change == (1000-999): print("Está tocando: 'Diego e Vitor Hugo - Pisadinha'") music1= pygame.mixer.init() pygame.init() pygame.mixer.music.load('pis.mp3') pygame.mixer.music.play() pygame.event...
23.130435
83
0.62782
142
1,064
4.704225
0.422535
0.197605
0.191617
0.125749
0.571856
0.571856
0.571856
0.571856
0.571856
0.238024
0
0.038915
0.203008
1,064
45
84
23.644444
0.748821
0
0
0.444444
0
0
0.235849
0
0
0
0
0
0
1
0
false
0
0.027778
0
0.027778
0.138889
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
19d3a922f6d0184a04cdf7086ce54a4cc4905fd5
680
py
Python
face_detect.py
hsnsl/AI
c3195a5ec2eb5dc0f5aebecc02e2c937ab9f99f3
[ "MIT" ]
1
2021-04-21T11:39:44.000Z
2021-04-21T11:39:44.000Z
face_detect.py
hsnsl/AI
c3195a5ec2eb5dc0f5aebecc02e2c937ab9f99f3
[ "MIT" ]
null
null
null
face_detect.py
hsnsl/AI
c3195a5ec2eb5dc0f5aebecc02e2c937ab9f99f3
[ "MIT" ]
1
2021-06-17T11:58:04.000Z
2021-06-17T11:58:04.000Z
import cv2 import numpy as np from random import randrange #generated by:Hasan Saleh trained_face_data = cv2.CascadeClassifier('haarcascade_frontalface_default.xml') webcam=cv2.VideoCapture(0) while True: successful_frame_read , frame = webcam.read() grayscaled_img = cv2.cvtColor(frame,cv2.COLOR_BGR2GRAY) f...
34
94
0.725
97
680
4.948454
0.587629
0.075
0.0625
0.1
0
0
0
0
0
0
0
0.047285
0.160294
680
19
95
35.789474
0.793345
0.060294
0
0
1
0
0.094192
0.054945
0
0
0
0
0
1
0
false
0
0.1875
0
0.1875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
19da739e8b251588c5d965be6d5411e18f3f100d
1,211
py
Python
external_modules/gazu/events.py
francis-ng/Kitsu-for-Prism
560bef52bbaee78ffc8eeabf8373b277f324e0c4
[ "MIT" ]
15
2020-11-22T10:18:25.000Z
2022-02-14T23:37:08.000Z
external_modules/gazu/events.py
francis-ng/Kitsu-for-Prism
560bef52bbaee78ffc8eeabf8373b277f324e0c4
[ "MIT" ]
5
2021-02-09T06:15:49.000Z
2022-01-24T16:58:23.000Z
external_modules/gazu/events.py
francis-ng/Kitsu-for-Prism
560bef52bbaee78ffc8eeabf8373b277f324e0c4
[ "MIT" ]
8
2021-01-06T13:07:19.000Z
2021-10-03T02:39:57.000Z
from .exception import AuthFailedException from .client import default_client def init(client=default_client): """ Init configuration for SocketIO client. Returns: Event client that will be able to set listeners. """ from socketIO_client import SocketIO, BaseNamespace from . import ge...
25.765957
73
0.71924
152
1,211
5.506579
0.414474
0.170848
0.060932
0.057348
0
0
0
0
0
0
0
0
0.208092
1,211
46
74
26.326087
0.872784
0.1891
0
0.125
0
0
0.036797
0
0
0
0
0
0
1
0.166667
false
0
0.208333
0
0.541667
0.041667
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
0
0
1
0
0
1
19e1c4d07be8038f9c06c4468e9072b6d3057e20
606
py
Python
my_utils.py
liusida/thesis-bodies
dceb8a36efd2cefc611f6749a52b56b9d3572f7a
[ "MIT" ]
null
null
null
my_utils.py
liusida/thesis-bodies
dceb8a36efd2cefc611f6749a52b56b9d3572f7a
[ "MIT" ]
null
null
null
my_utils.py
liusida/thesis-bodies
dceb8a36efd2cefc611f6749a52b56b9d3572f7a
[ "MIT" ]
null
null
null
from pathlib import Path import numpy as np import yaml import torch.nn as nn import gym def get_sorted_ids(): """ Return a group of body ids: 0 the best group, 9 the worst group """ import pickle with open(f"experiment_results/read_tb_3x100.pickle", "rb") as f: (max_body_xss, max_body_x_stepss) =...
26.347826
75
0.671617
104
606
3.759615
0.5
0.053708
0.051151
0.076726
0.26087
0.26087
0.26087
0
0
0
0
0.041754
0.209571
606
22
76
27.545455
0.77453
0.165017
0
0.235294
0
0
0.083333
0.079268
0
0
0
0
0.117647
1
0.117647
false
0
0.352941
0
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
19e43adaba499c1db5a5adc3b802917961946c57
792
py
Python
index.py
nivkman/machine-learning-algorithm
7c6e9bdb35450e03a01822e3edeb033e8568433d
[ "MIT" ]
null
null
null
index.py
nivkman/machine-learning-algorithm
7c6e9bdb35450e03a01822e3edeb033e8568433d
[ "MIT" ]
null
null
null
index.py
nivkman/machine-learning-algorithm
7c6e9bdb35450e03a01822e3edeb033e8568433d
[ "MIT" ]
null
null
null
from sklearn import tree features = [[1,2,3,4],[8,11,12,10],[1,7,4,3],[10,9,12,8],[13,10,9,11],[1,3,5,6],[10,9,12,8],[13,10,9,11],[1,3,5,6],[5,2,3,4],[1,2,3,4],[8,11,12,10],[1,7,4,3],[10,9,12,8],[13,10,9,11],[1,3,5,6],[10,9,12,8],[13,10,9,11],[1,3,5,6],[5,2,3,4]] labels = ['backend', 'frontend', 'backend', 'frontend',...
27.310345
238
0.575758
156
792
2.923077
0.269231
0.052632
0.026316
0.052632
0.561404
0.561404
0.561404
0.561404
0.561404
0.561404
0
0.192253
0.119949
792
28
239
28.285714
0.46198
0.152778
0
0
0
0
0.228659
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
19e693b8bc24da3fd2e780140c764333bec02b4b
1,648
py
Python
pay-api/src/pay_api/models/corp_type.py
sumesh-aot/sbc-pay
89ec073315e01d0ede3f8f120f1a83acce7753cb
[ "Apache-2.0" ]
null
null
null
pay-api/src/pay_api/models/corp_type.py
sumesh-aot/sbc-pay
89ec073315e01d0ede3f8f120f1a83acce7753cb
[ "Apache-2.0" ]
3
2021-05-03T16:04:21.000Z
2021-07-05T16:14:15.000Z
pay-api/src/pay_api/models/corp_type.py
sumesh-aot/sbc-pay
89ec073315e01d0ede3f8f120f1a83acce7753cb
[ "Apache-2.0" ]
null
null
null
# Copyright © 2019 Province of British Columbia # # 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 agr...
33.632653
94
0.711772
241
1,648
4.767635
0.568465
0.083551
0.041775
0.02785
0
0
0
0
0
0
0
0.009841
0.198422
1,648
48
95
34.333333
0.859198
0.591626
0
0
0
0
0.048387
0.033871
0
0
0
0
0
1
0.133333
false
0
0.066667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
19ea5761e490ff8165c9ff44bbe4c5a0d7e66c12
609
py
Python
report/migrations/0005_auto_20210907_1232.py
maverick-labs-pune/wikirumours
51651aae651fd88468b54d08abb8ec28a93e65fa
[ "MIT" ]
null
null
null
report/migrations/0005_auto_20210907_1232.py
maverick-labs-pune/wikirumours
51651aae651fd88468b54d08abb8ec28a93e65fa
[ "MIT" ]
null
null
null
report/migrations/0005_auto_20210907_1232.py
maverick-labs-pune/wikirumours
51651aae651fd88468b54d08abb8ec28a93e65fa
[ "MIT" ]
null
null
null
# Generated by Django 3.1.4 on 2021-09-07 12:32 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('report', '0004_auto_2021...
27.681818
133
0.683087
72
609
5.638889
0.638889
0.059113
0.068966
0.108374
0
0
0
0
0
0
0
0.064583
0.211823
609
21
134
29
0.78125
0.073892
0
0
1
0
0.087189
0.040925
0
0
0
0
0
1
0
false
0
0.2
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
19eb51f0c67d0fd410e2306250f649cc7a3e6bac
2,004
py
Python
wtpy/monitor/EventReceiver.py
Huijun-Cui/wtpy
9a8243a20b944fbb37aa33d81215b7b36ac7b1e2
[ "MIT" ]
2
2021-01-25T02:13:07.000Z
2021-01-26T06:14:24.000Z
wtpy/monitor/EventReceiver.py
Huijun-Cui/wtpy
9a8243a20b944fbb37aa33d81215b7b36ac7b1e2
[ "MIT" ]
null
null
null
wtpy/monitor/EventReceiver.py
Huijun-Cui/wtpy
9a8243a20b944fbb37aa33d81215b7b36ac7b1e2
[ "MIT" ]
1
2021-05-27T16:22:18.000Z
2021-05-27T16:22:18.000Z
import socket import threading import struct import json UDP_MSG_PUSHTRADE = 0x301 UDP_MSG_PUSHORDER = 0x302 UDP_MSG_PUSHEVENT = 0x303 class EventSink: def __init__(self): pass def on_order(self, grpid:str, chnl:str, ordInfo:dict): pass def on_trade(self, grpid:str, chnl:...
30.830769
86
0.551896
235
2,004
4.47234
0.340426
0.053283
0.045671
0.045671
0.216936
0.162702
0.162702
0.162702
0.162702
0.079924
0
0.02765
0.350299
2,004
64
87
31.3125
0.77957
0.009481
0
0.14
0
0
0.016675
0
0
0
0.007817
0
0
1
0.16
false
0.08
0.08
0
0.28
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
0
0
0
0
0
1
0
0
0
0
0
1
19ec13e671b924861a52f0d38b87829a4846ae88
880
gyp
Python
third_party/lzma_sdk/lzma_sdk.gyp
omegaphora/external_chromium_org_third_party_ots
e295524b407ba92fd399d4a83de8d44a588173cf
[ "BSD-3-Clause" ]
null
null
null
third_party/lzma_sdk/lzma_sdk.gyp
omegaphora/external_chromium_org_third_party_ots
e295524b407ba92fd399d4a83de8d44a588173cf
[ "BSD-3-Clause" ]
null
null
null
third_party/lzma_sdk/lzma_sdk.gyp
omegaphora/external_chromium_org_third_party_ots
e295524b407ba92fd399d4a83de8d44a588173cf
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. # lzma_sdk for standalone build. { 'targets': [ { 'target_name': 'ots_lzma_sdk', 'type': 'static_library', 'defines': [ '...
22
74
0.494318
92
880
4.586957
0.728261
0.033175
0
0
0
0
0
0
0
0
0
0.015789
0.352273
880
39
75
22.564103
0.724561
0.305682
0
0.205882
0
0
0.390728
0.041391
0
0
0
0
0
1
0
true
0
0
0
0
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
0
0
0
0
0
1
19ed68a3c5bfd4c92f44f14675cfc11edc175d03
11,579
py
Python
enc/enc.py
coxmediagroup/nodemeister
ecfd2c04f516b1ea022c55ce4372976055a39e5f
[ "Apache-2.0" ]
null
null
null
enc/enc.py
coxmediagroup/nodemeister
ecfd2c04f516b1ea022c55ce4372976055a39e5f
[ "Apache-2.0" ]
null
null
null
enc/enc.py
coxmediagroup/nodemeister
ecfd2c04f516b1ea022c55ce4372976055a39e5f
[ "Apache-2.0" ]
null
null
null
from collections import namedtuple from models import * def get_exclusions(node): excluded_groups = get_excluded_groups(node) excluded_classes = get_excluded_classes(node) excluded_params = get_excluded_params(node) return {"groups": excluded_groups, "classes": excluded_classes, "params": ...
37.231511
120
0.613352
1,295
11,579
5.335907
0.128958
0.033285
0.011577
0.011288
0.563676
0.518669
0.487844
0.475977
0.436758
0.428365
0
0.001531
0.266603
11,579
310
121
37.351613
0.812176
0.028932
0
0.38326
0
0
0.080838
0
0
0
0
0
0
0
null
null
0
0.008811
null
null
0.008811
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
1
0
0
0
0
0
0
0
0
1
19fcd01f6e6239acf56e1706bb84a80b37dc81a8
5,213
py
Python
src/python/centaurus/corelib.py
satoshigeyuki/Centaurus
032ffec87fc8ddb129347974d3478fd1ee5f305a
[ "MIT" ]
3
2021-02-23T01:34:28.000Z
2021-07-19T08:07:10.000Z
src/python/centaurus/corelib.py
satoshigeyuki/Centaurus
032ffec87fc8ddb129347974d3478fd1ee5f305a
[ "MIT" ]
null
null
null
src/python/centaurus/corelib.py
satoshigeyuki/Centaurus
032ffec87fc8ddb129347974d3478fd1ee5f305a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import os import ctypes import platform import logging logger = logging.getLogger(__name__) def load_dll(): dl_path_env = os.getenv("CENTAURUS_DL_PATH", "") if platform.uname()[0] == "Windows": dl_path = os.path.join(dl_path_env, "libpycentaurus.dll") elif platform.uname()[...
39.195489
132
0.721849
657
5,213
5.445967
0.187215
0.095864
0.067636
0.073784
0.33147
0.289547
0.181666
0.146171
0.122415
0.079374
0
0.005955
0.162478
5,213
132
133
39.492424
0.813559
0.025513
0
0.059406
0
0
0.019515
0
0
0
0
0
0
1
0.217822
false
0
0.039604
0.039604
0.39604
0.009901
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
0
0
0
0
1
19febf281c13e8c50bbc64ab3d0c8bfc845dc55a
5,828
py
Python
addons/blender-skeletal-motion-animate/operators/detector.py
trisadmeslek/V-Sekai-Blender-tools
0d8747387c58584b50c69c61ba50a881319114f8
[ "MIT" ]
null
null
null
addons/blender-skeletal-motion-animate/operators/detector.py
trisadmeslek/V-Sekai-Blender-tools
0d8747387c58584b50c69c61ba50a881319114f8
[ "MIT" ]
null
null
null
addons/blender-skeletal-motion-animate/operators/detector.py
trisadmeslek/V-Sekai-Blender-tools
0d8747387c58584b50c69c61ba50a881319114f8
[ "MIT" ]
null
null
null
import os import bpy import bpy_extras from ..core import animation_lists from ..core import detection_manager class DetectFaceShapes(bpy.types.Operator): bl_idname = "rsl.detect_face_shapes" bl_label = "Auto Detect" bl_description = "Automatically detect face shape keys for supported naming schemes" ...
34.081871
113
0.669355
716
5,828
5.268156
0.236034
0.041357
0.029692
0.038971
0.551962
0.423913
0.402969
0.339343
0.293213
0.293213
0
0.005075
0.222375
5,828
170
114
34.282353
0.827229
0.022135
0
0.449153
0
0
0.236482
0.030197
0
0
0
0
0
1
0.09322
false
0
0.144068
0.016949
0.677966
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
0
0
1
0
0
1
c201ce0384c96a858b4792282a5fa7ceeb6333ed
3,644
py
Python
raco/backends/myria/catalog.py
uwescience/raco
1f2bedbef71bacf715340289f4973d85a3c1dc97
[ "BSD-3-Clause" ]
61
2015-02-09T17:27:40.000Z
2022-03-28T14:37:53.000Z
raco/backends/myria/catalog.py
uwescience/raco
1f2bedbef71bacf715340289f4973d85a3c1dc97
[ "BSD-3-Clause" ]
201
2015-01-03T02:46:19.000Z
2017-09-19T02:16:36.000Z
raco/backends/myria/catalog.py
uwescience/raco
1f2bedbef71bacf715340289f4973d85a3c1dc97
[ "BSD-3-Clause" ]
17
2015-06-03T12:01:30.000Z
2021-11-27T15:49:21.000Z
from raco.catalog import Catalog import raco.scheme as scheme from raco.representation import RepresentationProperties from raco.expression import UnnamedAttributeRef as AttIndex from raco.catalog import DEFAULT_CARDINALITY from .errors import MyriaError class MyriaCatalog(Catalog): def __init__(self, connection...
38.357895
79
0.622667
377
3,644
5.859416
0.27321
0.048891
0.038026
0.043006
0.45722
0.45722
0.404708
0.404708
0.361249
0.361249
0
0.001168
0.295005
3,644
94
80
38.765957
0.8587
0.043908
0
0.481481
0
0
0.125719
0
0
0
0
0.010638
0.024691
1
0.074074
false
0
0.074074
0
0.271605
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c20382bc1bd9afc737e02bea3043f8f7180fa9b9
39,489
py
Python
gemini_instruments/test/lut_descriptors.py
DBerke/DRAGONS
cecf9a03970af95126bd17a227bd5214a5d6c64b
[ "BSD-3-Clause" ]
19
2017-10-23T14:52:51.000Z
2022-03-28T04:49:00.000Z
gemini_instruments/test/lut_descriptors.py
DBerke/DRAGONS
cecf9a03970af95126bd17a227bd5214a5d6c64b
[ "BSD-3-Clause" ]
194
2017-11-01T17:32:45.000Z
2022-03-31T21:32:59.000Z
gemini_instruments/test/lut_descriptors.py
DBerke/DRAGONS
cecf9a03970af95126bd17a227bd5214a5d6c64b
[ "BSD-3-Clause" ]
16
2017-11-01T05:18:04.000Z
2021-12-14T23:08:57.000Z
import datetime fixture_data = { ('bHROS', 'S20070112S0081.fits'): ( ('airmass', 1.128), ('amp_read_area', [None]), ('ao_seeing', None), ('array_name', [None]), ('array_section', [(0, 2048, 0, 4608)]), ('azimuth', 225.468080556), ('camera', None), ('c...
40.921244
340
0.522475
4,524
39,489
4.342838
0.136605
0.101797
0.131929
0.157174
0.658116
0.57449
0.524915
0.469436
0.401944
0.349214
0
0.194134
0.264428
39,489
964
341
40.963693
0.482253
0
0
0.494289
0
0.004154
0.360075
0.050596
0
0
0
0
0
1
0
false
0.010384
0.001038
0
0.001038
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c20b8ba38aa3117b9b3bd2e057959e93126bfdd8
6,932
py
Python
converter/maskrcnn/custom_mil_ops.py
xta0/CoreML-MaskRCNN
33705417dd7fa49519fa80922c486fa5d8974cad
[ "MIT" ]
16
2021-08-31T01:17:53.000Z
2022-01-18T22:21:31.000Z
converter/maskrcnn/custom_mil_ops.py
xta0/CoreML-MaskRCNN
33705417dd7fa49519fa80922c486fa5d8974cad
[ "MIT" ]
1
2022-01-02T15:15:09.000Z
2022-01-19T06:11:41.000Z
converter/maskrcnn/custom_mil_ops.py
xta0/CoreML-MaskRCNN
33705417dd7fa49519fa80922c486fa5d8974cad
[ "MIT" ]
null
null
null
# Imports requires for custom ops from coremltools.converters.mil.mil.ops.defs._op_reqs import * from coremltools.converters.mil.mil.types.symbolic import is_symbolic @register_op(doc_str="generateproposals", is_custom_op=True) class generateproposals(Operation): input_spec = InputSpec( scores=TensorInput...
31.798165
80
0.601991
695
6,932
5.633094
0.197122
0.032184
0.044955
0.024266
0.315453
0.183397
0.183397
0.149425
0.149425
0.116475
0
0.001618
0.286786
6,932
217
81
31.9447
0.790251
0.010675
0
0.274611
1
0
0.147694
0.014594
0
0
0
0
0
1
0.041451
false
0
0.010363
0
0.134715
0.005181
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c210da07f5077f0c169472d01e502f10269efa7d
1,326
py
Python
pizza_store/routers/auth.py
astsu-dev/pizza-store-backend
902f6e5e2c88ba029b2bff61da8fc4684664ead9
[ "MIT" ]
2
2021-07-10T15:47:45.000Z
2021-12-13T18:09:30.000Z
pizza_store/routers/auth.py
astsu-dev/pizza-store-backend
902f6e5e2c88ba029b2bff61da8fc4684664ead9
[ "MIT" ]
null
null
null
pizza_store/routers/auth.py
astsu-dev/pizza-store-backend
902f6e5e2c88ba029b2bff61da8fc4684664ead9
[ "MIT" ]
null
null
null
from typing import Optional import pizza_store.models as models from fastapi import APIRouter, Cookie, Depends, Response from fastapi.security.oauth2 import OAuth2PasswordRequestForm from pizza_store.dependencies.services import get_auth_service from pizza_store.models import UserIn from pizza_store.services import IA...
30.837209
81
0.773002
164
1,326
6.042683
0.304878
0.040363
0.056509
0.08779
0.264379
0.264379
0.183653
0.183653
0.183653
0.125126
0
0.005245
0.137255
1,326
42
82
31.571429
0.861014
0
0
0.235294
0
0
0.02187
0
0
0
0
0
0
1
0
false
0.088235
0.205882
0
0.294118
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
0
0
0
0
0
1
c211906825f2ea7d7ac836ba48b362381e0620cb
1,038
py
Python
src/cqparts/utils/env.py
robodan/cqparts
ece76ae0e7ae0c09ff717397eb85ad7a285e6939
[ "Apache-2.0" ]
null
null
null
src/cqparts/utils/env.py
robodan/cqparts
ece76ae0e7ae0c09ff717397eb85ad7a285e6939
[ "Apache-2.0" ]
null
null
null
src/cqparts/utils/env.py
robodan/cqparts
ece76ae0e7ae0c09ff717397eb85ad7a285e6939
[ "Apache-2.0" ]
null
null
null
import os def get_env_name(): """ Get the name of the currently running environment. :return: environment name :rtype: :class:`str` =========== ============= Name Environment =========== ============= ``freecad`` freecad module ``cmdline`` directly in a python interpreter ...
25.317073
71
0.576108
128
1,038
4.554688
0.609375
0.060034
0.068611
0
0
0
0
0
0
0
0
0.003984
0.274566
1,038
40
72
25.95
0.770252
0.761079
0
0
0
0
0.167742
0
0
0
0
0.025
0
1
0.166667
false
0
0.166667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
c215429ff3e0abd52d860f4024ee6defdba56d30
1,530
py
Python
09.ALMood/almood_get_reaction_example.py
cunyang-axmtec/naoqi_examples
98d7bacd6106fa2dd5f152c1af8b84e1544e16e6
[ "MIT" ]
null
null
null
09.ALMood/almood_get_reaction_example.py
cunyang-axmtec/naoqi_examples
98d7bacd6106fa2dd5f152c1af8b84e1544e16e6
[ "MIT" ]
null
null
null
09.ALMood/almood_get_reaction_example.py
cunyang-axmtec/naoqi_examples
98d7bacd6106fa2dd5f152c1af8b84e1544e16e6
[ "MIT" ]
null
null
null
#! /usr/bin/env python # _*_ encoding:UTF-8 _*_ """Example: Use getEmotionalReaction method""" import qi import argparse import sys import time def main(session): """ This example uses the getEmotionalReaction method. """ # Get the services ALMood and ALTextToSpeech. moodService = session.servic...
32.553191
91
0.652288
197
1,530
4.979695
0.563452
0.006116
0.034659
0.012232
0.046891
0.046891
0
0
0
0
0
0.021151
0.227451
1,530
46
92
33.26087
0.808799
0.184967
0
0
0
0
0.276351
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c217c7b290a4ddabba7457a5cf063fa1ab8467a5
2,743
py
Python
py-mcclib/test-usb1208FS.py
Sovichea/instrumentation-opendaq-rpi3
ed8b00bce131d8960ddc2a0d130c442b77a4a087
[ "MIT" ]
1
2017-12-08T17:07:12.000Z
2017-12-08T17:07:12.000Z
py-mcclib/test-usb1208FS.py
Sovichea/instrumentation-opendaq-rpi3
ed8b00bce131d8960ddc2a0d130c442b77a4a087
[ "MIT" ]
null
null
null
py-mcclib/test-usb1208FS.py
Sovichea/instrumentation-opendaq-rpi3
ed8b00bce131d8960ddc2a0d130c442b77a4a087
[ "MIT" ]
null
null
null
from mcc_libusb import * import datetime import time import numpy as np mcc = USB1208FS() mcc.usbOpen() #mcc.usbDConfigPort(DIO_PORTA, DIO_DIR_OUT) #mcc.usbDConfigPort(DIO_PORTB, DIO_DIR_IN) #mcc.usbDOut(DIO_PORTA, 0) #num = mcc.usbAIn(1, BP_1_00V) #print(str(mcc.volts_FS(BP_1_00V, num))) #channel = np.array([1, 2, 3...
29.815217
83
0.651476
442
2,743
3.952489
0.30543
0.059531
0.041214
0.038924
0.132799
0.062965
0.03091
0
0
0
0
0.045812
0.164419
2,743
91
84
30.142857
0.716405
0.184834
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0.181818
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
0
0
0
0
1
c218f8b233178a5544a189402237ee5f9e603cd5
1,015
py
Python
blastsight/view/drawables/backgroundgl.py
gsanhueza/BlastSight
4b5c48e7ea5f67b737429f05d5213e9ff1fd399d
[ "MIT" ]
null
null
null
blastsight/view/drawables/backgroundgl.py
gsanhueza/BlastSight
4b5c48e7ea5f67b737429f05d5213e9ff1fd399d
[ "MIT" ]
1
2022-03-13T17:35:35.000Z
2022-03-13T17:35:35.000Z
blastsight/view/drawables/backgroundgl.py
gsanhueza/BlastSight
4b5c48e7ea5f67b737429f05d5213e9ff1fd399d
[ "MIT" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2019-2021 Gabriel Sanhueza. # # Distributed under the MIT License. # See LICENSE for more info. from colour import Color from OpenGL.GL import * from .gldrawable import GLDrawable class BackgroundGL(GLDrawable): def __init__(self, element=None, *args, **kwargs): ...
24.166667
54
0.638424
138
1,015
4.471014
0.413043
0.077796
0.058347
0.048622
0.158833
0.084279
0
0
0
0
0
0.033943
0.24532
1,015
41
55
24.756098
0.77154
0.125123
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.115385
0.076923
0.461538
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
0
0
0
0
1
c22a60734826ba44ca1bee62795092478d22bc25
333
py
Python
solutions/pybasic_ex2_2_1.py
mfernandes61/python-basic
fc105db0e2e3af1830d833eef368fd011b4fcf5e
[ "Unlicense" ]
40
2017-02-22T05:35:16.000Z
2022-01-10T09:28:35.000Z
solutions/pybasic_ex2_2_1.py
mfernandes61/python-basic
fc105db0e2e3af1830d833eef368fd011b4fcf5e
[ "Unlicense" ]
10
2016-12-12T17:06:50.000Z
2019-06-14T13:34:22.000Z
solutions/pybasic_ex2_2_1.py
mfernandes61/python-basic
fc105db0e2e3af1830d833eef368fd011b4fcf5e
[ "Unlicense" ]
47
2017-03-24T19:48:50.000Z
2022-02-27T15:53:09.000Z
# Create a sequence where each element is an individual base of DNA. # Make the array 15 bases long. bases = 'ATTCGGTCATGCTAA' # Print the length of the sequence print("DNA sequence length:", len(bases)) # Create a for loop to output every base of the sequence on a new line. print("All bases:") for base in bases: ...
27.75
71
0.732733
56
333
4.357143
0.571429
0.057377
0.106557
0
0
0
0
0
0
0
0
0.007407
0.189189
333
11
72
30.272727
0.896296
0.597598
0
0
0
0
0.348837
0
0
0
0
0
0
1
0
false
0
0
0
0
0.6
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
0
0
0
1
0
1
c22ac9eb09a12f3ad1c9fadcc2e31bbfe7da7523
252
py
Python
doc_injection.py
i2mint/py2misc
9b1fc25984dd1a504aa87700be4c3dcfcebc6f80
[ "Apache-2.0" ]
null
null
null
doc_injection.py
i2mint/py2misc
9b1fc25984dd1a504aa87700be4c3dcfcebc6f80
[ "Apache-2.0" ]
null
null
null
doc_injection.py
i2mint/py2misc
9b1fc25984dd1a504aa87700be4c3dcfcebc6f80
[ "Apache-2.0" ]
null
null
null
from inspect import signature def add_doc(func): t = ', '.join(signature(func).parameters) func.__doc__ = func.__doc__.format(t) return func def foo(a, b): """Hi, I'm the doc {} bloo bloo""" add_doc(foo) print(help(foo))
13.263158
45
0.615079
38
252
3.815789
0.605263
0.082759
0
0
0
0
0
0
0
0
0
0
0.230159
252
18
46
14
0.747423
0.111111
0
0
0
0
0.009524
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.5
0.125
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
0
0
0
0
1
c2362b94e1ae942b14390d600a2abae72f58f88f
868
py
Python
0901-1000/0912-Sort an Array/0912-Sort an Array.py
jiadaizhao/LeetCode
4ddea0a532fe7c5d053ffbd6870174ec99fc2d60
[ "MIT" ]
49
2018-05-05T02:53:10.000Z
2022-03-30T12:08:09.000Z
0901-1000/0912-Sort an Array/0912-Sort an Array.py
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
11
2017-12-15T22:31:44.000Z
2020-10-02T12:42:49.000Z
0901-1000/0912-Sort an Array/0912-Sort an Array.py
jolly-fellow/LeetCode
ab20b3ec137ed05fad1edda1c30db04ab355486f
[ "MIT" ]
28
2017-12-05T10:56:51.000Z
2022-01-26T18:18:27.000Z
class Solution: def sortArray(self, nums: List[int]) -> List[int]: temp = [0] * len(nums) def mergeSort(start, end): if start < end: mid = (start + end) // 2 mergeSort(start, mid) mergeSort(mid + 1, end) i = k = start ...
33.384615
59
0.324885
91
868
3.098901
0.263736
0.141844
0.095745
0.070922
0.099291
0.099291
0.099291
0.099291
0
0
0
0.036939
0.563364
868
25
60
34.72
0.707124
0
0
0.28
0
0
0
0
0
0
0
0
0
1
0.08
false
0
0
0
0.16
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
1
c236aadb0f70a3aae7f4f3d308516476177bb737
1,291
py
Python
src/order/migrations/0001_initial.py
xistadi/BookStore
878c27e0c53ac0434d3866e4a27ffb0e460e4363
[ "Apache-2.0" ]
null
null
null
src/order/migrations/0001_initial.py
xistadi/BookStore
878c27e0c53ac0434d3866e4a27ffb0e460e4363
[ "Apache-2.0" ]
null
null
null
src/order/migrations/0001_initial.py
xistadi/BookStore
878c27e0c53ac0434d3866e4a27ffb0e460e4363
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.2 on 2020-11-22 12:54 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('cart', '0004_bookincart_book'), ] operations = [ migrations.CreateModel( na...
40.34375
202
0.604183
138
1,291
5.492754
0.57971
0.101583
0.059367
0.058047
0
0
0
0
0
0
0
0.026694
0.245546
1,291
31
203
41.645161
0.75154
0.034857
0
0
1
0
0.206592
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c2389681974f5494fec582fa432fd5db2dc17e0e
993
py
Python
apps/04_journal/you_try/app_4_journal.py
jabelk/python-jumpstart-course-demos
d5d4155cf955f6d9fdc406f4a8b2e15bd7b0525c
[ "MIT" ]
1
2018-09-25T15:55:07.000Z
2018-09-25T15:55:07.000Z
apps/04_journal/you_try/app_4_journal.py
jabelk/python-jumpstart-course-demos
d5d4155cf955f6d9fdc406f4a8b2e15bd7b0525c
[ "MIT" ]
null
null
null
apps/04_journal/you_try/app_4_journal.py
jabelk/python-jumpstart-course-demos
d5d4155cf955f6d9fdc406f4a8b2e15bd7b0525c
[ "MIT" ]
null
null
null
""" Jump Start Python App 4 Journal """ __author__ = "Jason Belk" import os def print_header(): header = "-" * 39 app_name = "PERSONAL JOURNAL APP" app_space = " " * 10 print(header) print(app_space + app_name + app_space) print(header) def gather_commands(): command = input("What do you...
20.6875
73
0.619335
123
993
4.796748
0.455285
0.213559
0.177966
0.084746
0
0
0
0
0
0
0
0.006821
0.261833
993
47
74
21.12766
0.79809
0.031219
0
0.0625
0
0.03125
0.157233
0
0
0
0
0
0
1
0.15625
false
0.03125
0.03125
0
0.21875
0.21875
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
0
0
0
0
1
c2397e92470e05d7f6ffb70cf24d9b8230dbc378
3,203
py
Python
recipes/Python/576735_How_to_use_twisted_pb_FilePager/recipe-576735.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/576735_How_to_use_twisted_pb_FilePager/recipe-576735.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/576735_How_to_use_twisted_pb_FilePager/recipe-576735.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
from twisted.spread.util import FilePager from twisted.spread.flavors import Referenceable from twisted.internet.defer import Deferred import os PATH = r"C:\temp\very_large_file.exe" ### Server Side class ResultsPager(FilePager): def __init__(self, collector, path): self._deferred = Deferred() pr...
33.020619
80
0.584764
351
3,203
5.213675
0.321937
0.054098
0.055738
0.02623
0.096175
0.063388
0.063388
0.063388
0.063388
0.063388
0
0.004502
0.306588
3,203
96
81
33.364583
0.819451
0.007181
0
0.078947
0
0
0.072487
0.008509
0
0
0
0
0
0
null
null
0
0.144737
null
null
0.078947
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
1
0
0
0
0
0
0
0
0
1
c23aa04b2063610303aea8aacfaff906c6771173
587
py
Python
mundo 2/039.py
thiagofreitascarneiro/Curso-de-Python---Curso-em-Video
0342e482780b5a1c6f78cddd51d9bfad785c79fa
[ "MIT" ]
1
2021-08-04T13:21:22.000Z
2021-08-04T13:21:22.000Z
mundo 2/039.py
thiagofreitascarneiro/Curso-de-Python---Curso-em-Video
0342e482780b5a1c6f78cddd51d9bfad785c79fa
[ "MIT" ]
null
null
null
mundo 2/039.py
thiagofreitascarneiro/Curso-de-Python---Curso-em-Video
0342e482780b5a1c6f78cddd51d9bfad785c79fa
[ "MIT" ]
null
null
null
from datetime import date sexo = str(input('Qual o seu sexo: (Digite M(masculino ou F(feminino)')) ano = int(input('Qual o ano do seu nascimento:')) alistamento = date.today().year - ano if sexo == 'F': print('Seu sexo não exige alistamento') elif alistamento == 17 and sexo == 'M': print('É a hora de se alistar.'...
45.153846
102
0.683135
96
587
4.177083
0.5
0.129676
0.127182
0.149626
0.309227
0.229426
0.229426
0.154613
0
0
0
0.043478
0.177172
587
12
103
48.916667
0.786749
0
0
0
0
0.083333
0.499148
0
0
0
0
0
0
1
0
false
0.083333
0.083333
0
0.083333
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
0
0
1
0
0
0
0
0
1
c23cfec8e9f38c4888b08910ff304f0245365d51
386
py
Python
sample_wsgi.py
nike3/django-website
e75b79ca17528d12ff452d45a3f5d68101fc7a52
[ "MIT" ]
null
null
null
sample_wsgi.py
nike3/django-website
e75b79ca17528d12ff452d45a3f5d68101fc7a52
[ "MIT" ]
null
null
null
sample_wsgi.py
nike3/django-website
e75b79ca17528d12ff452d45a3f5d68101fc7a52
[ "MIT" ]
null
null
null
import os import sys path = '/home/foodcy/foodspark' # use your own PythonAnywhere username here if path not in sys.path: sys.path.append(path) os.environ['DJANGO_SETTINGS_MODULE'] = 'foodspark.settings' from django.core.wsgi import get_wsgi_application from django.contrib.staticfiles.handlers import StaticFile...
29.692308
76
0.80829
51
386
6
0.588235
0.068627
0.117647
0
0
0
0
0
0
0
0
0
0.108808
386
12
77
32.166667
0.889535
0.106218
0
0
0
0
0.180758
0.12828
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
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
0
0
0
0
1
c24025298d747d87e5daa43a2d0e9942b0e925c0
1,519
py
Python
tests/unit_tests/test_bruker.py
amitvakula/python-cli
0bdbd39c40cdb3fe4dbd3b0cb38abbce94242dac
[ "MIT" ]
null
null
null
tests/unit_tests/test_bruker.py
amitvakula/python-cli
0bdbd39c40cdb3fe4dbd3b0cb38abbce94242dac
[ "MIT" ]
null
null
null
tests/unit_tests/test_bruker.py
amitvakula/python-cli
0bdbd39c40cdb3fe4dbd3b0cb38abbce94242dac
[ "MIT" ]
null
null
null
import os from flywheel_cli.bruker import parse_bruker_params from flywheel_cli.importers.bruker_scan import format_timestamp_fn TEST_DATA_PATH = os.path.join(os.path.dirname(__file__), 'test_data/bruker') def test_bruker_subject_v5(): path = os.path.join(TEST_DATA_PATH, 'subject.txt') with open(path, 'r') as...
33.755556
88
0.676761
227
1,519
4.303965
0.400881
0.13306
0.081883
0.042989
0.315251
0.255885
0.200614
0.200614
0.143296
0.143296
0
0.138622
0.178407
1,519
44
89
34.522727
0.644231
0
0
0.235294
0
0.058824
0.318841
0
0
0
0
0
0.441176
1
0.088235
false
0
0.088235
0
0.176471
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
1
0
0
0
0
0
0
0
0
0
1
c2422533aaf546cca004c44347a699e172acb154
442
py
Python
config.py
bmwant/wcbot
c6dd30c593f2a4c37ac02394c46c513062e2ee3f
[ "MIT" ]
null
null
null
config.py
bmwant/wcbot
c6dd30c593f2a4c37ac02394c46c513062e2ee3f
[ "MIT" ]
null
null
null
config.py
bmwant/wcbot
c6dd30c593f2a4c37ac02394c46c513062e2ee3f
[ "MIT" ]
null
null
null
import os from pathlib import Path PROJECT_ROOT = Path(os.path.dirname(os.path.realpath(__file__))) TEMPLATES_DIR = PROJECT_ROOT / 'templates' REDIS_URI = 'redis://localhost' UPDATE_PERIOD = 5 * 60 # 5 mins update interval TEAMS_FILEPATH = PROJECT_ROOT / 'teams.yml' RESOURCES_FILEPATH = PROJECT_ROOT / 'resources....
26
64
0.760181
59
442
5.372881
0.525424
0.208202
0.141956
0.132492
0.15142
0
0
0
0
0
0
0.010417
0.131222
442
16
65
27.625
0.815104
0.049774
0
0
0
0
0.184211
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
0
0
0
0
1
c246b28e8f5150dd970173975b08e7a2479ff218
408
py
Python
connect_to_postgres.py
jsolly/SQL_Practice
bcf6521bf817168a6649459db2e950f4400625ed
[ "Apache-2.0" ]
null
null
null
connect_to_postgres.py
jsolly/SQL_Practice
bcf6521bf817168a6649459db2e950f4400625ed
[ "Apache-2.0" ]
null
null
null
connect_to_postgres.py
jsolly/SQL_Practice
bcf6521bf817168a6649459db2e950f4400625ed
[ "Apache-2.0" ]
null
null
null
DB_HOST = "localhost" DB_NAME = "DATABASE_NAME" DB_USER = "PASSWORD" DB_PASS = "PASSWORD" import psycopg2 import psycopg2.extras conn = psycopg2.connect(dbname=DB_NAME, user=DB_USER, password=DB_PASS, host=DB_HOST) with conn: cur = conn.cursor(cursor_factory=psycopg2.extras.DictCursor) with cur: a =...
22.666667
85
0.703431
56
408
4.946429
0.482143
0.043321
0.101083
0.115523
0.144404
0
0
0
0
0
0
0.012012
0.183824
408
17
86
24
0.81982
0
0
0
0
0
0.159314
0
0
0
0
0
0
1
0
false
0.230769
0.153846
0
0.153846
0.076923
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
0
0
0
0
0
1
df9d0e67b3d9c808d335fdceb7828ee626ab221b
455
py
Python
api/docbleach/controllers/task.py
vmalguy/DocBleach-Web
9645317da77fb45f77af93e925386b66f032fc15
[ "MIT" ]
12
2017-03-29T21:27:02.000Z
2020-03-17T08:22:56.000Z
api/docbleach/controllers/task.py
vmalguy/DocBleach-Web
9645317da77fb45f77af93e925386b66f032fc15
[ "MIT" ]
2
2018-12-20T15:13:40.000Z
2020-07-22T15:03:21.000Z
api/docbleach/controllers/task.py
vmalguy/DocBleach-Web
9645317da77fb45f77af93e925386b66f032fc15
[ "MIT" ]
8
2017-05-03T11:32:23.000Z
2021-09-30T03:11:50.000Z
import tornado.gen from .base import BaseApiHandler from ..tasks import cel class TaskHandler(BaseApiHandler): @tornado.gen.coroutine def get(self, task_id): data = yield self.get_task_meta(task_id) result_data = {'result': data['result'], 'status': data['status']} self.finish(result...
23.947368
74
0.692308
60
455
5.05
0.416667
0.079208
0.108911
0.148515
0.323432
0
0
0
0
0
0
0
0.197802
455
18
75
25.277778
0.830137
0
0
0.153846
0
0
0.052747
0
0
0
0
0
0
1
0.153846
false
0
0.230769
0.076923
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
dfa13b0872fc3238af05afb7ea7f4843b285c7f9
2,288
py
Python
fibonacci_calculator_onion/fibonacci_table.py
MaartenUijen/fibonacci_calculator_onion
22dd97f239cb6d321d5506756d2b36244c8dbb3c
[ "MIT" ]
null
null
null
fibonacci_calculator_onion/fibonacci_table.py
MaartenUijen/fibonacci_calculator_onion
22dd97f239cb6d321d5506756d2b36244c8dbb3c
[ "MIT" ]
null
null
null
fibonacci_calculator_onion/fibonacci_table.py
MaartenUijen/fibonacci_calculator_onion
22dd97f239cb6d321d5506756d2b36244c8dbb3c
[ "MIT" ]
null
null
null
class FibonacciTable: def __init__(self): self.forward_look_up_table = {0: 0, 1: 1} self.backward_look_up_table = {0: 0, 1: 1} def _build_lookup_table(self, fib_index: int) -> None: if fib_index in self.forward_look_up_table.keys(): return current_highest_index = m...
47.666667
104
0.712413
327
2,288
4.513761
0.149847
0.101626
0.186314
0.134146
0.678184
0.485095
0.439024
0.318428
0.177507
0.088076
0
0.007127
0.202797
2,288
47
105
48.680851
0.802083
0.055507
0
0.111111
0
0
0
0
0
0
0
0
0
1
0.194444
false
0
0
0
0.305556
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dfab9896f7c0573345e3cc53da22c90454143488
1,093
py
Python
src/speech_dataset_preprocessing/core/plots.py
stefantaubert/speech-dataset-preprocessing
dd32badd06c9ba0f1c7d5edd200709c8a0403d61
[ "MIT" ]
null
null
null
src/speech_dataset_preprocessing/core/plots.py
stefantaubert/speech-dataset-preprocessing
dd32badd06c9ba0f1c7d5edd200709c8a0403d61
[ "MIT" ]
null
null
null
src/speech_dataset_preprocessing/core/plots.py
stefantaubert/speech-dataset-preprocessing
dd32badd06c9ba0f1c7d5edd200709c8a0403d61
[ "MIT" ]
null
null
null
""" input: wav data output: mel data """ from logging import getLogger from pathlib import Path from typing import Callable, Dict, List, Optional from audio_utils.mel import TacotronSTFT, TSTFTHParams from speech_dataset_preprocessing.core.ds import DsData, DsDataList from speech_dataset_preprocessing.core.wav import ...
40.481481
168
0.796889
154
1,093
5.376623
0.363636
0.062802
0.043478
0.072464
0.082126
0
0
0
0
0
0
0
0.116194
1,093
26
169
42.038462
0.857143
0.029277
0
0
0
0
0
0
0
0
0
0
0
1
0.055556
false
0
0.388889
0
0.5
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
0
0
0
0
1
dfae66e724f76f173e289e930942e4eb871413c0
392
py
Python
RecoPixelVertexing/PixelLowPtUtilities/python/StripSubClusterShapeSeedFilter_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoPixelVertexing/PixelLowPtUtilities/python/StripSubClusterShapeSeedFilter_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoPixelVertexing/PixelLowPtUtilities/python/StripSubClusterShapeSeedFilter_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms from RecoPixelVertexing.PixelLowPtUtilities.StripSubClusterShapeFilter_cfi import StripSubClusterShapeFilterParams StripSubClusterShapeSeedFilter = cms.PSet( StripSubClusterShapeFilterParams, ComponentName = cms.string('StripSubClusterShapeSeedFilter'), FilterAtHeli...
35.636364
114
0.82398
30
392
10.733333
0.733333
0
0
0
0
0
0
0
0
0
0
0
0.102041
392
10
115
39.2
0.914773
0
0
0
0
0
0.089514
0.076726
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dfb51528f71c9525784a2a53c7afd8599660b66b
442
py
Python
2017/day06.py
iKevinY/advent
d160fb711a0a4d671f53cbd61088117e7ff0276a
[ "MIT" ]
11
2019-12-03T06:32:37.000Z
2021-12-24T12:23:57.000Z
2017/day06.py
iKevinY/advent
d160fb711a0a4d671f53cbd61088117e7ff0276a
[ "MIT" ]
null
null
null
2017/day06.py
iKevinY/advent
d160fb711a0a4d671f53cbd61088117e7ff0276a
[ "MIT" ]
1
2019-12-07T06:21:31.000Z
2019-12-07T06:21:31.000Z
import fileinput from itertools import count banks = [int(n) for n in fileinput.input()[0].split()] seen = {} for i in count(start=1): m = max(banks) idx = banks.index(m) banks[idx] = 0 for j in range(1, m + 1): banks[(idx + j) % len(banks)] += 1 t = tuple(banks) if t in seen: ...
19.217391
54
0.588235
72
442
3.611111
0.513889
0.092308
0
0
0
0
0
0
0
0
0
0.018576
0.269231
442
22
55
20.090909
0.786378
0
0
0
0
0
0.140271
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.125
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
1
0
0
0
0
0
0
0
0
1
dfb7d62c2377fec7280240ca7a76f73fbaf89309
5,806
py
Python
tests/test_imageops.py
alvii147/OpenChroma
b0d8719ca1b992ef1b1897fe193ea4d70d824a75
[ "BSD-3-Clause" ]
null
null
null
tests/test_imageops.py
alvii147/OpenChroma
b0d8719ca1b992ef1b1897fe193ea4d70d824a75
[ "BSD-3-Clause" ]
null
null
null
tests/test_imageops.py
alvii147/OpenChroma
b0d8719ca1b992ef1b1897fe193ea4d70d824a75
[ "BSD-3-Clause" ]
null
null
null
import numpy as np import pytest from openchroma.imageops import ( open_image, save_image, split_channels, combine_channels, crop_image, sliding_window, ) def generate_random_image(height, width): img = np.around(np.random.rand(height, width, 3) * 255) return img def test_open_imag...
22.245211
76
0.415605
654
5,806
3.535168
0.168196
0.045415
0.07872
0.051903
0.540657
0.437716
0.4109
0.350779
0.333478
0.297145
0
0.127932
0.449363
5,806
260
77
22.330769
0.595246
0
0
0.534483
1
0
0.02308
0
0
0
0
0
0.025862
1
0.030172
false
0
0.012931
0
0.047414
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dfb812331cc83921cab1f0eff63d9ac14084062b
4,189
py
Python
test_pi.py
yiying98/bee_sound
6899cdadc56f8907872b84513c81fc2e1a173106
[ "MIT" ]
null
null
null
test_pi.py
yiying98/bee_sound
6899cdadc56f8907872b84513c81fc2e1a173106
[ "MIT" ]
null
null
null
test_pi.py
yiying98/bee_sound
6899cdadc56f8907872b84513c81fc2e1a173106
[ "MIT" ]
1
2021-07-16T04:20:34.000Z
2021-07-16T04:20:34.000Z
# -*- coding: UTF-8 -*- from itertools import cycle import sklearn from sklearn import linear_model from scipy import interp from sklearn.metrics import accuracy_score import scipy import os import sys import traceback import glob import numpy as np ##from sklearn.externals import joblib import pickle import joblib f...
28.496599
142
0.645978
603
4,189
4.323383
0.363184
0.027618
0.024549
0.030687
0.060606
0.060606
0.060606
0.060606
0.060606
0.060606
0
0.014643
0.217474
4,189
146
143
28.691781
0.780659
0.280735
0
0.05
0
0.0125
0.106078
0.030578
0
0
0
0
0
0
null
null
0.0125
0.25
null
null
0.0875
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
1
0
0
0
0
0
0
0
0
1
dfb94ff0cf921dc40b1b8c73122193a0d9569702
260
py
Python
cli.py
brunoalano/poe-graph-optimization
6c48c78235684a858598ab4c5cfaf58c328d5e7f
[ "MIT" ]
2
2018-06-04T20:28:09.000Z
2020-08-15T16:53:57.000Z
cli.py
brunoalano/poe-graph-optimization
6c48c78235684a858598ab4c5cfaf58c328d5e7f
[ "MIT" ]
null
null
null
cli.py
brunoalano/poe-graph-optimization
6c48c78235684a858598ab4c5cfaf58c328d5e7f
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ The main entry point. Invoke as `poego' or `python -m poego'. """ import sys def main(): try: from poego.core import main sys.exit(main()) except KeyboardInterrupt: sys.exit(130) if __name__ == '__main__': main()
15.294118
61
0.642308
37
260
4.297297
0.675676
0.08805
0
0
0
0
0
0
0
0
0
0.014563
0.207692
260
17
62
15.294118
0.757282
0.315385
0
0
0
0
0.047059
0
0
0
0
0
0
1
0.111111
true
0
0.222222
0
0.333333
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
0
0
0
0
0
1
dfbfb5687ff17b2a9983d6aae8e49cf800504b6f
164
py
Python
GitHubCode/untitled0.py
quantsegu/Python-Reusable-Scripts
6724f4e285270728edd4d49f996c7c57fca0c1d1
[ "Apache-2.0" ]
null
null
null
GitHubCode/untitled0.py
quantsegu/Python-Reusable-Scripts
6724f4e285270728edd4d49f996c7c57fca0c1d1
[ "Apache-2.0" ]
1
2021-06-02T01:50:05.000Z
2021-06-02T01:50:05.000Z
GitHubCode/untitled0.py
quantsegu/Python-Reusable-Scripts
6724f4e285270728edd4d49f996c7c57fca0c1d1
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Apr 24 20:46:29 2020 @author: segul """ import math i = "1" print(i) for x in range(10**100): print(0)
13.666667
36
0.536585
28
164
3.142857
0.928571
0
0
0
0
0
0
0
0
0
0
0.168067
0.27439
164
12
37
13.666667
0.571429
0.45122
0
0
0
0
0.013889
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
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
0
0
0
0
0
1
dfc01c4be3a295a022770f245092a45922b97c21
444
py
Python
modules/show_case/configurator.py
KivyBrazil/kivy-cli
74de367114e48d3a0be07afaeffa8cccc425c484
[ "MIT" ]
null
null
null
modules/show_case/configurator.py
KivyBrazil/kivy-cli
74de367114e48d3a0be07afaeffa8cccc425c484
[ "MIT" ]
null
null
null
modules/show_case/configurator.py
KivyBrazil/kivy-cli
74de367114e48d3a0be07afaeffa8cccc425c484
[ "MIT" ]
null
null
null
import yaml document = """ "name": "example_app" "version": "1.0.0" "main": "example_app/main.py" "description": "A example structure for building projects cross-platform using kivy" "license": "MIT" "repository": "type": "git" "url": "git@github.com:VictorManhani/kivy_build.git" "engines": "python": "3.7....
21.142857
84
0.650901
62
444
4.580645
0.66129
0.105634
0
0
0
0
0
0
0
0
0
0.026316
0.144144
444
21
85
21.142857
0.721053
0
0
0
0
0
0.829213
0.206742
0
0
0
0
0
1
0
false
0
0.052632
0
0.052632
0.052632
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
0
0
0
0
0
0
0
1
dfc56780f7e858a8245e11c8c65aa6b82b9dcce7
2,559
py
Python
python_modules/dagster/dagster_tests/core_tests/execution_tests/memoized_dev_loop_pipeline.py
bitdotioinc/dagster
4fe395a37b206b1a48b956fa5dd72bf698104cca
[ "Apache-2.0" ]
2
2021-06-21T17:50:26.000Z
2021-06-21T19:14:23.000Z
python_modules/dagster/dagster_tests/core_tests/execution_tests/memoized_dev_loop_pipeline.py
bitdotioinc/dagster
4fe395a37b206b1a48b956fa5dd72bf698104cca
[ "Apache-2.0" ]
7
2022-03-16T06:55:04.000Z
2022-03-18T07:03:25.000Z
python_modules/dagster/dagster_tests/core_tests/execution_tests/memoized_dev_loop_pipeline.py
bitdotioinc/dagster
4fe395a37b206b1a48b956fa5dd72bf698104cca
[ "Apache-2.0" ]
1
2021-08-18T17:21:57.000Z
2021-08-18T17:21:57.000Z
import os from dagster import Field, InputDefinition, ModeDefinition, Output, String, pipeline, solid from dagster.core.storage.system_storage import fs_intermediate_storage @solid( version="create_string_version", config_schema={"input_str": Field(String), "base_dir": Field(String)}, ) def create_string_1(c...
29.755814
99
0.692849
309
2,559
5.346278
0.135922
0.072639
0.108959
0.060533
0.717312
0.686441
0.686441
0.686441
0.686441
0.686441
0
0.009519
0.178976
2,559
85
100
30.105882
0.776773
0
0
0.444444
0
0
0.223525
0.124267
0
0
0
0
0
1
0.083333
false
0
0.041667
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dfc76cae1e497b3faa1cee1b8ce9dfc9c2ae6b21
355
py
Python
mattermost_bot/plugins/channel.py
seLain/mattermost_bot
ba8e52ff2fe3321b0b8542de5aa704a6b02088ce
[ "MIT" ]
5
2017-12-18T20:22:09.000Z
2019-07-08T05:32:11.000Z
mattermost_bot/plugins/channel.py
seLain/mattermost_bot
ba8e52ff2fe3321b0b8542de5aa704a6b02088ce
[ "MIT" ]
9
2018-02-20T13:44:49.000Z
2018-03-29T01:50:32.000Z
mattermost_bot/plugins/channel.py
seLain/mattermost_bot
ba8e52ff2fe3321b0b8542de5aa704a6b02088ce
[ "MIT" ]
2
2017-12-18T20:22:11.000Z
2018-03-07T16:03:52.000Z
# -*- coding: utf-8 -*- import re from mattermost_bot.bot import respond_to @respond_to('(.*) added to the channel by (.*)', re.IGNORECASE) def added_to_channel(message, myname, channel_admin): message.reply('Hi, %s. I am %s. Glad to join this channel :) ' % (channel_admin, myname)) added_to_channel.__doc__ = ...
27.307692
93
0.704225
54
355
4.388889
0.574074
0.118143
0.118143
0
0
0
0
0
0
0
0
0.003333
0.15493
355
12
94
29.583333
0.786667
0.059155
0
0
0
0
0.334337
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
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
0
0
0
0
1
dfd4bc28391438ddde844191ec11e8e96a4e3c7c
1,062
py
Python
igcweight/database.py
seifert/igcweight
9a653c37c4fcbf607ea6507ba0adcebac9142527
[ "BSD-3-Clause" ]
null
null
null
igcweight/database.py
seifert/igcweight
9a653c37c4fcbf607ea6507ba0adcebac9142527
[ "BSD-3-Clause" ]
null
null
null
igcweight/database.py
seifert/igcweight
9a653c37c4fcbf607ea6507ba0adcebac9142527
[ "BSD-3-Clause" ]
null
null
null
""" Database connection and sessions """ from sqlalchemy.engine.url import URL from sqlalchemy import create_engine from sqlalchemy.orm import sessionmaker from sqlalchemy.interfaces import PoolListener from igcweight import settings __engine_url = {'drivername': settings.DB_ENGINE, 'query': settings.DB_ARGS} if se...
26.55
76
0.745763
128
1,062
5.875
0.367188
0.159574
0.079787
0
0
0
0
0
0
0
0
0
0.138418
1,062
39
77
27.230769
0.821858
0.030132
0
0
0
0
0.067515
0
0
0
0
0
0
1
0.037037
false
0.074074
0.185185
0
0.259259
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
0
0
0
0
0
1
dfd8718a6859da127bd0def41848d076dd571641
6,682
py
Python
RPBook/constants/layouts_html.py
Andyemmmm/RPBook
7e818a1b0aa6d22346925c793afe39f3314b3562
[ "MIT" ]
8
2019-04-14T07:23:03.000Z
2022-03-24T15:15:05.000Z
RPBook/constants/layouts_html.py
Andyemmmm/RPBook
7e818a1b0aa6d22346925c793afe39f3314b3562
[ "MIT" ]
1
2020-03-07T07:12:38.000Z
2020-12-29T02:09:57.000Z
LsBook/constants/layouts_html.py
liushilive/LsBook
41f72427e9694a8a2cdc2bb2eab0992fdec63c46
[ "MIT" ]
null
null
null
from string import Template _html_root_map = { "head": "头", "body": "主体", "lang": "语言", "js": "js" } html_root_0 = Template("""<!DOCTYPE HTML> <html lang="${lang}"> <head>${head}</head> <body> <div class="book match-braces">${body}</div> ${js} </body> </html> """) _html_head_map = { "title": "标题"...
31.07907
153
0.587399
819
6,682
4.582418
0.233211
0.029843
0.044764
0.047962
0.377831
0.329337
0.276579
0.209965
0.172129
0.148681
0
0.006754
0.202335
6,682
214
154
31.224299
0.697373
0
0
0.25641
0
0.076923
0.821461
0.282251
0
0
0
0
0
1
0
false
0
0.005128
0
0.005128
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
0
0
0
0
0
0
0
1
dfd89255809b8500f16aab74a4bd9e5fe7e9ceb6
189
py
Python
test/downHtml.py
github20131983/crawler
a650d3ae21c8f2c64dcae294b2e18ed38a845232
[ "Unlicense" ]
null
null
null
test/downHtml.py
github20131983/crawler
a650d3ae21c8f2c64dcae294b2e18ed38a845232
[ "Unlicense" ]
null
null
null
test/downHtml.py
github20131983/crawler
a650d3ae21c8f2c64dcae294b2e18ed38a845232
[ "Unlicense" ]
null
null
null
#!/usr/bin/python #get html page from selected url from urllib import request response = request.urlopen("http://app.so.com") html = response.read() html = html.decode("utf-8") print(html)
23.625
47
0.730159
30
189
4.6
0.766667
0
0
0
0
0
0
0
0
0
0
0.005952
0.111111
189
8
48
23.625
0.815476
0.248677
0
0
0
0
0.156028
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
dfda55ba23d2a230f1e8d19a17afcdcd092166b4
323
py
Python
Mundo 2/Aulas/Aula12.py
Cesar-Freitas/Python
1cf5492201f8ef677f2253b6b18424e2776aa23e
[ "MIT" ]
null
null
null
Mundo 2/Aulas/Aula12.py
Cesar-Freitas/Python
1cf5492201f8ef677f2253b6b18424e2776aa23e
[ "MIT" ]
null
null
null
Mundo 2/Aulas/Aula12.py
Cesar-Freitas/Python
1cf5492201f8ef677f2253b6b18424e2776aa23e
[ "MIT" ]
null
null
null
nome = str(input("Qual é seu nome? ")) if nome == 'César': print("Que nome lindo!!") elif nome == "Enzo": print('Caralho mlk') elif nome in "Paula Bruna Marcela": print("Olha que coisa mais linda e mais cheia de graça...") else: print("Nomezinho xexelento viu..") print("Tenha um bom dia {}.".format(nome...
29.363636
63
0.640867
49
323
4.22449
0.734694
0.077295
0
0
0
0
0
0
0
0
0
0
0.188854
323
10
64
32.3
0.790076
0
0
0
0
0
0.517028
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
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
1
dfdee15c1fdec14c9d4b44f2a8d86ba9dba91602
3,037
py
Python
Application Support/BBEdit/Text Filters/Publish Post.py
bhdicaire/bbeditSetup
40ddb2e628e81d57e6e0c21fb983d37ee02f3f7e
[ "Unlicense" ]
null
null
null
Application Support/BBEdit/Text Filters/Publish Post.py
bhdicaire/bbeditSetup
40ddb2e628e81d57e6e0c21fb983d37ee02f3f7e
[ "Unlicense" ]
null
null
null
Application Support/BBEdit/Text Filters/Publish Post.py
bhdicaire/bbeditSetup
40ddb2e628e81d57e6e0c21fb983d37ee02f3f7e
[ "Unlicense" ]
null
null
null
#!/usr/bin/python import xmlrpclib import sys from datetime import datetime, timedelta import pytz import keyring import subprocess ''' Take text from standard input in the format Title: Blog post title Keywords: key1, key2, etc Body of post after the first blank line. and publish it to my WordPress blog. Re...
30.069307
69
0.688179
469
3,037
4.439232
0.390192
0.019212
0.004323
0.003842
0.049952
0.040346
0
0
0
0
0
0.004381
0.173197
3,037
100
70
30.37
0.824771
0.212051
0
0.090909
0
0
0.182338
0
0
0
0
0
0
0
null
null
0.018182
0.109091
null
null
0.054545
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
1
0
0
0
0
0
0
0
0
1
dfe7cb499b950d7c1d3cb76c9f2b14888a4f91af
730
py
Python
calendars/forms/occurrence.py
mouradmourafiq/django-calendar
5cec7f8ac49637a02e331064d470255d1cbaf096
[ "BSD-2-Clause" ]
7
2015-02-23T11:59:02.000Z
2021-03-01T18:09:35.000Z
calendars/forms/occurrence.py
mouradmourafiq/django-calendar
5cec7f8ac49637a02e331064d470255d1cbaf096
[ "BSD-2-Clause" ]
null
null
null
calendars/forms/occurrence.py
mouradmourafiq/django-calendar
5cec7f8ac49637a02e331064d470255d1cbaf096
[ "BSD-2-Clause" ]
1
2016-09-15T11:37:08.000Z
2016-09-15T11:37:08.000Z
# -*- coding: utf-8 -*- ''' Created on Mar 20, 2011 @author: Mourad Mourafiq @copyright: Copyright © 2011 other contributers: ''' from django import forms from django.utils.translation import ugettext, ugettext_lazy as _ from calendars.models.cals import Occurrence class OccurrenceForm(forms.ModelForm): start ...
26.071429
89
0.676712
87
730
5.586207
0.632184
0.067901
0.092593
0.074074
0
0
0
0
0
0
0
0.019031
0.208219
730
27
90
27.037037
0.820069
0.168493
0
0
0
0
0.156928
0
0
0
0
0
0
1
0.076923
false
0
0.230769
0
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
dfefd480bd28f829ea8188a6cad5af518e76f77b
952
py
Python
Fetch_http_status_code.py
Haaris-Sayyed/hello-Mk
3ed0049c9f036e4052bb5eda89a3a12cd28953f8
[ "MIT" ]
1
2021-02-05T08:59:39.000Z
2021-02-05T08:59:39.000Z
Fetch_http_status_code.py
Haaris-Sayyed/hello-Mk
3ed0049c9f036e4052bb5eda89a3a12cd28953f8
[ "MIT" ]
null
null
null
Fetch_http_status_code.py
Haaris-Sayyed/hello-Mk
3ed0049c9f036e4052bb5eda89a3a12cd28953f8
[ "MIT" ]
2
2021-10-14T15:41:24.000Z
2021-10-17T00:36:33.000Z
#Program to fetch the http status code give the url/api from urllib.request import urlopen from urllib.error import URLError, HTTPError import emoji #Taking input url from user requestURL = input("Enter the URL to be invoked: ") #Gets the response from URL and prints the status code and message accordingly try: r...
41.391304
92
0.703782
135
952
4.962963
0.407407
0.074627
0.035821
0.062687
0.032836
0
0
0
0
0
0
0.002574
0.183824
952
22
93
43.272727
0.859717
0.334034
0
0
0
0
0.288676
0
0
0
0
0
0
1
0
false
0
0.214286
0
0.214286
0.428571
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
0
0
0
1
0
1
dff6fd1a79fe050a025eb74e53da6abd181553d2
10,014
py
Python
Sketches/RJL/bittorrent/BitTorrent/BitTorrent/Encoder.py
sparkslabs/kamaelia_orig
24b5f855a63421a1f7c6c7a35a7f4629ed955316
[ "Apache-2.0" ]
12
2015-10-20T10:22:01.000Z
2021-07-19T10:09:44.000Z
Sketches/RJL/bittorrent/BitTorrent/BitTorrent/Encoder.py
sparkslabs/kamaelia_orig
24b5f855a63421a1f7c6c7a35a7f4629ed955316
[ "Apache-2.0" ]
2
2015-10-20T10:22:55.000Z
2017-02-13T11:05:25.000Z
Sketches/RJL/bittorrent/BitTorrent/BitTorrent/Encoder.py
sparkslabs/kamaelia_orig
24b5f855a63421a1f7c6c7a35a7f4629ed955316
[ "Apache-2.0" ]
6
2015-03-09T12:51:59.000Z
2020-03-01T13:06:21.000Z
# The contents of this file are subject to the BitTorrent Open Source License # Version 1.1 (the License). You may not copy or use this file, in either # source code or executable form, except in compliance with the License. You # may obtain a copy of the License at http://www.bittorrent.com/license/. # # Software di...
34.891986
110
0.626922
1,200
10,014
5.13
0.264167
0.023392
0.025016
0.013808
0.060266
0.008122
0
0
0
0
0
0.002827
0.293489
10,014
286
111
35.013986
0.867279
0.193529
0
0.193878
0
0
0.020403
0.002613
0
0
0
0
0.015306
0
null
null
0.010204
0.035714
null
null
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
1
0
0
0
0
0
0
0
0
1
dffb4ab02d410e2d98b37a4ceedd543ccc4cd9f8
30,183
py
Python
python-scripts/BEST_Tools.py
Fedict/best-tools
b037e717b04922ed18d8af89fe5073b3995f04ff
[ "BSD-2-Clause" ]
3
2019-07-01T12:11:34.000Z
2021-11-18T08:00:48.000Z
python-scripts/BEST_Tools.py
Fedict/best-tools
b037e717b04922ed18d8af89fe5073b3995f04ff
[ "BSD-2-Clause" ]
3
2021-02-24T14:01:18.000Z
2022-02-16T01:20:33.000Z
python-scripts/BEST_Tools.py
Fedict/best-tools
b037e717b04922ed18d8af89fe5073b3995f04ff
[ "BSD-2-Clause" ]
null
null
null
#-------------------------------------# # Python script for BEST address # # Author: Marc Bruyland (FOD BOSA) # # Contact: marc.bruyland@bosa.fgov.be # # June 2019 # #-------------------------------------# from BEST_Lib import * #FILENAMES====================================...
28.800573
216
0.567207
3,550
30,183
4.764507
0.129577
0.004434
0.017027
0.018446
0.387076
0.345749
0.310039
0.295554
0.256474
0.230164
0
0.021286
0.206209
30,183
1,047
217
28.82808
0.68467
0.847464
0
0.444444
0
0
0.027565
0.009188
0
0
0
0
0
1
0.055556
false
0
0.055556
0
0.166667
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5f04ee7f0f7a387d442d918a872faa26ddfb9534
6,012
py
Python
front_end/consistency/consistencyBenchmark.py
arnaudsjs/YCSB-1
dc557d209244df72d68c9cb0a048d54e7bd72637
[ "Apache-2.0" ]
null
null
null
front_end/consistency/consistencyBenchmark.py
arnaudsjs/YCSB-1
dc557d209244df72d68c9cb0a048d54e7bd72637
[ "Apache-2.0" ]
null
null
null
front_end/consistency/consistencyBenchmark.py
arnaudsjs/YCSB-1
dc557d209244df72d68c9cb0a048d54e7bd72637
[ "Apache-2.0" ]
null
null
null
import subprocess import time from util.util import checkExitCodeOfProcess from consistency.processConsistencyResult.FileParser import FileParser from consistency.processConsistencyResult.plotInconsistencyWindow import plotInconsistencyWindow from ycsbClient.runMultipleYcsbClients import executeCommandOnYcsbNodes WAR...
67.550562
153
0.725549
311
6,012
13.935691
0.344051
0.055376
0.062298
0.059068
0.164282
0.155515
0.130365
0.065528
0
0
0
0.003412
0.22006
6,012
88
154
68.318182
0.920879
0.026447
0
0.026316
0
0
0.027863
0.00359
0
0
0
0
0
1
0.092105
false
0
0.078947
0
0.197368
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5f0535dec7c3cd926442b2a78c6a11a3eb7de248
2,893
py
Python
djue/utils.py
brmc/django-djue
47a096f1aec9b9f519f8b831ca61b078c5b9b521
[ "MIT" ]
null
null
null
djue/utils.py
brmc/django-djue
47a096f1aec9b9f519f8b831ca61b078c5b9b521
[ "MIT" ]
null
null
null
djue/utils.py
brmc/django-djue
47a096f1aec9b9f519f8b831ca61b078c5b9b521
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import re import sys import jsbeautifier from bs4 import BeautifulSoup from django.apps import apps from django.conf import settings from django.template.loader import render_to_string from editorconfig import PathError def flatten(lst: []) -> []: if not is...
26.541284
77
0.667128
392
2,893
4.734694
0.390306
0.025862
0.030172
0.032328
0.056573
0.056573
0
0
0
0
0
0.005584
0.195299
2,893
108
78
26.787037
0.791667
0.029036
0
0.070423
0
0
0.122951
0.026372
0
0
0
0.009259
0
1
0.169014
false
0
0.126761
0.042254
0.507042
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
0
0
1
0
0
1
5f05a03bcf88c0887fa3e2e48bbd3a0d81348c03
1,396
py
Python
django_gevent/ajax.py
samwillis/django-gevent
a25fefab4ec95757791f1589b31e56201cb70149
[ "BSD-3-Clause" ]
2
2015-01-24T20:16:31.000Z
2016-10-17T09:02:39.000Z
django_gevent/ajax.py
samwillis/django-gevent
a25fefab4ec95757791f1589b31e56201cb70149
[ "BSD-3-Clause" ]
null
null
null
django_gevent/ajax.py
samwillis/django-gevent
a25fefab4ec95757791f1589b31e56201cb70149
[ "BSD-3-Clause" ]
null
null
null
from django.http import HttpResponse from django.views.decorators.http import condition from gevent import spawn from gevent.queue import Queue def streaming_response(view): # TODO: Transactions? Gzip? others? return condition(etag_func=None, last_modified_func=None)(view) def event_source(view): def e...
32.465116
73
0.573066
159
1,396
4.849057
0.371069
0.046693
0.057069
0.054475
0.103761
0.103761
0
0
0
0
0
0
0.333095
1,396
42
74
33.238095
0.828142
0.023639
0
0.133333
0
0
0.091844
0.03086
0
0
0
0.02381
0
1
0.133333
false
0
0.133333
0.033333
0.366667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
5f06545fccaf320743ac8264ea6f0257dee2d9a8
172,306
py
Python
flightstats/airports_icao_to_iata.py
philippschw/flightstats_API
e57262643e46fc6aee89ac1f7f72336ea0401c8f
[ "MIT" ]
null
null
null
flightstats/airports_icao_to_iata.py
philippschw/flightstats_API
e57262643e46fc6aee89ac1f7f72336ea0401c8f
[ "MIT" ]
null
null
null
flightstats/airports_icao_to_iata.py
philippschw/flightstats_API
e57262643e46fc6aee89ac1f7f72336ea0401c8f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- #pylint:disable=too-many-lines """ This database should really be a database... Also - needs updating. Also - needs to move to Eva. """ from __future__ import unicode_literals, division, print_function AIRPORTS_ICAO_TO_IATA = { "YMOR" : "MRZ", "USRN" : "NFG", "USRO" :...
25.339118
95
0.251291
12,134
172,306
3.566178
0.996786
0.000416
0.000647
0.000832
0
0
0
0
0
0
0
0.003248
0.512164
172,306
6,799
96
25.342845
0.511546
0.000859
0
0
0
0
0.249813
0
0
0
0
0
0
1
0
false
0
0.000147
0
0.000147
0.000295
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
1
5f091d8119a5133529f1ec2b7a8613c6a0099a55
10,860
py
Python
src/protocols/MQTT/attacks/mqtt_generation_based_fuzzing.py
QWERTSKIHACK/peniot
8b5c5c4dddb5adf53977c3e2e99e645a086f1f0b
[ "MIT" ]
143
2019-12-31T08:12:36.000Z
2022-03-31T15:59:51.000Z
src/protocols/MQTT/attacks/mqtt_generation_based_fuzzing.py
QWERTSKIHACK/peniot
8b5c5c4dddb5adf53977c3e2e99e645a086f1f0b
[ "MIT" ]
5
2020-01-28T15:47:23.000Z
2022-02-23T11:18:55.000Z
src/protocols/MQTT/attacks/mqtt_generation_based_fuzzing.py
QWERTSKIHACK/peniot
8b5c5c4dddb5adf53977c3e2e99e645a086f1f0b
[ "MIT" ]
39
2019-12-30T22:19:38.000Z
2022-03-17T10:24:37.000Z
import multiprocessing import unittest import paho.mqtt.client as paho import logging import random import signal import struct import time from Entity.attack import Attack from Entity.input_format import InputFormat from Utils.RandomUtil import random_generated_names class MQTTGenerationBasedFuzzingAttack(Attack)...
44.876033
119
0.659024
1,300
10,860
5.238462
0.216154
0.032305
0.03906
0.043906
0.445374
0.376505
0.348311
0.348311
0.325404
0.318062
0
0.011641
0.256446
10,860
241
120
45.062241
0.831703
0.028361
0
0.275449
0
0
0.084168
0.012522
0
0
0.00294
0
0.05988
0
null
null
0.005988
0.065868
null
null
0.005988
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
1
0
0
0
0
0
0
0
0
1
5f0b167831b471244d8933ed729c806a8902e43f
3,408
py
Python
packages/w3af/w3af/plugins/tests/grep/test_http_auth_detect.py
ZooAtmosphereGroup/HelloPackages
0ccffd33bf927b13d28c8f715ed35004c33465d9
[ "Apache-2.0" ]
3
2019-04-09T22:59:33.000Z
2019-06-14T09:23:24.000Z
tools/w3af/w3af/plugins/tests/grep/test_http_auth_detect.py
sravani-m/Web-Application-Security-Framework
d9f71538f5cba6fe1d8eabcb26c557565472f6a6
[ "MIT" ]
null
null
null
tools/w3af/w3af/plugins/tests/grep/test_http_auth_detect.py
sravani-m/Web-Application-Security-Framework
d9f71538f5cba6fe1d8eabcb26c557565472f6a6
[ "MIT" ]
null
null
null
""" test_http_auth_detect.py Copyright 2012 Andres Riancho This file is part of w3af, http://w3af.org/ . w3af is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 2 of the License. w3af is distributed in the...
41.560976
83
0.688967
498
3,408
4.588353
0.291165
0.070022
0.122538
0.087527
0.45558
0.429759
0.389059
0.389059
0.389059
0.389059
0
0.025144
0.183099
3,408
81
84
42.074074
0.795618
0.20804
0
0.32
0
0.02
0.149442
0
0
0
0
0
0.2
1
0.14
false
0.1
0.14
0
0.3
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
0
0
0
0
0
1
5f0df9b19fd92146e88d876e684935b9919ece0d
281
py
Python
tests/server_tests/backend_utils_tests/initial_setup_test.py
dbauducco/DistributedReplays
07e6f4c2bf104e98102b092d8a1a3ce2ac7ab291
[ "Apache-2.0" ]
69
2018-07-17T19:40:21.000Z
2022-02-25T14:23:53.000Z
tests/server_tests/backend_utils_tests/initial_setup_test.py
dbauducco/DistributedReplays
07e6f4c2bf104e98102b092d8a1a3ce2ac7ab291
[ "Apache-2.0" ]
335
2018-07-25T19:34:55.000Z
2022-02-26T06:04:32.000Z
tests/server_tests/backend_utils_tests/initial_setup_test.py
dbauducco/DistributedReplays
07e6f4c2bf104e98102b092d8a1a3ce2ac7ab291
[ "Apache-2.0" ]
42
2018-07-21T00:04:23.000Z
2022-02-25T14:23:42.000Z
import re from backend.initial_setup import CalculatedServer class Test_initial_setup: def test_get_version(self): # git needs to be in the environment for this assert re.compile(r"[0-9a-fA-F]{7}").match( CalculatedServer.get_version() )
23.416667
53
0.676157
39
281
4.717949
0.794872
0.130435
0
0
0
0
0
0
0
0
0
0.014019
0.238434
281
11
54
25.545455
0.845794
0.153025
0
0
0
0
0.059322
0
0
0
0
0
0.142857
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5f1149ad37fb875495c091c93b7070b2821c095f
13,218
py
Python
ipywebrtc/webrtc.py
thewtex/ipywebrtc
9f9cc0a9db3593bac6697a4e3b3c23e8a490146e
[ "MIT" ]
null
null
null
ipywebrtc/webrtc.py
thewtex/ipywebrtc
9f9cc0a9db3593bac6697a4e3b3c23e8a490146e
[ "MIT" ]
null
null
null
ipywebrtc/webrtc.py
thewtex/ipywebrtc
9f9cc0a9db3593bac6697a4e3b3c23e8a490146e
[ "MIT" ]
null
null
null
from __future__ import absolute_import import os import logging try: from urllib import urlopen # py2 except ImportError: from urllib.request import urlopen # py3 from traitlets import ( observe, Bool, Bytes, Dict, Instance, Int, List, TraitError, Unicode, validate ) from ipywidgets import DOMWidget, ...
37.02521
133
0.668558
1,659
13,218
5.206148
0.189271
0.054301
0.085331
0.026051
0.506657
0.47065
0.419937
0.396318
0.360542
0.334375
0
0.001827
0.213345
13,218
356
134
37.129213
0.828813
0.234529
0
0.338235
0
0.004902
0.11818
0.007601
0
0
0
0
0
1
0.098039
false
0
0.058824
0.009804
0.593137
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
0
0
1
0
0
1
5f17d0f32b7fa9cae82c497e915b7421bfbfb229
1,394
py
Python
farmstack-memory/backend/app/crud/crud_user.py
nymphy2/farmstack
a3ae89ef70c1ca52afd1c3b7300f90ff3332cdea
[ "MIT" ]
null
null
null
farmstack-memory/backend/app/crud/crud_user.py
nymphy2/farmstack
a3ae89ef70c1ca52afd1c3b7300f90ff3332cdea
[ "MIT" ]
null
null
null
farmstack-memory/backend/app/crud/crud_user.py
nymphy2/farmstack
a3ae89ef70c1ca52afd1c3b7300f90ff3332cdea
[ "MIT" ]
null
null
null
from typing import Optional from bson.objectid import ObjectId from fastapi import HTTPException from fastapi.encoders import jsonable_encoder from db.database import db from schemas.user import UserModel, UserSignUp from core.security import hashing_password, verify_password async def find_user_by_id(id: str) -> ...
33.190476
78
0.731707
190
1,394
5.178947
0.336842
0.03252
0.04065
0.060976
0.178862
0.111789
0.111789
0.085366
0.085366
0
0
0.005177
0.16858
1,394
41
79
34
0.843831
0.038737
0
0.068966
0
0
0.057549
0
0
0
0
0
0
1
0
false
0.172414
0.241379
0
0.37931
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
0
0
0
0
0
1
5f1bb4c6cf35c3252889be53d78fdbb2bb4f77ff
244
py
Python
Data_Science/Python-Pandas/pandas-ex5.py
maledicente/cursos
00ace48da7e48b04485e4ca97b3ca9ba5f33a283
[ "MIT" ]
1
2021-05-03T22:59:38.000Z
2021-05-03T22:59:38.000Z
Data_Science/Python-Pandas/pandas-ex5.py
maledicente/cursos
00ace48da7e48b04485e4ca97b3ca9ba5f33a283
[ "MIT" ]
null
null
null
Data_Science/Python-Pandas/pandas-ex5.py
maledicente/cursos
00ace48da7e48b04485e4ca97b3ca9ba5f33a283
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd array = [1,3,4,7,8,10,15] np_array = np.array(array) print("Arranjo NumPy") print(np_array) print("Convertendo para serie Pandas") ds_array = pd.Series(np_array) print("Serie Pandas") print(ds_array)
15.25
38
0.733607
44
244
3.954545
0.477273
0.16092
0.137931
0
0
0
0
0
0
0
0
0.042453
0.131148
244
16
39
15.25
0.778302
0
0
0
0
0
0.220408
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.5
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
0
0
0
1
0
1
5f1e0c9c9c2f37e20c086e7cd95ff90287cde9ea
2,792
py
Python
project/solvers/base.py
krespo21/RomuloMonteCarlo
47077587622fec01c1a4ba64c014913c6b87f443
[ "Apache-2.0" ]
null
null
null
project/solvers/base.py
krespo21/RomuloMonteCarlo
47077587622fec01c1a4ba64c014913c6b87f443
[ "Apache-2.0" ]
null
null
null
project/solvers/base.py
krespo21/RomuloMonteCarlo
47077587622fec01c1a4ba64c014913c6b87f443
[ "Apache-2.0" ]
null
null
null
#!/bin/env python # -*- coding: utf-8 -*- from project import models class BaseSolution(object): """Base abstract class for a CVRP solution""" def __init__(self, cvrp_problem, vehicles): """Initialize class Parameters: cvrp_problem: CVRPData instance vehicles: Vehicle...
28.20202
115
0.593481
329
2,792
4.902736
0.328267
0.047737
0.029758
0.039678
0.066956
0
0
0
0
0
0
0.001572
0.316619
2,792
98
116
28.489796
0.843816
0.349212
0
0.135135
0
0
0
0
0
0
0
0
0
1
0.243243
false
0
0.027027
0
0.432432
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
0
0
0
0
1
5f1ed3e2e48723c34bd9baf29e05550facb839c5
527
py
Python
samples/time_count.py
webpie/webpie
c7f1bc29a63c0be683c60756165a6c65260211f9
[ "BSD-3-Clause" ]
2
2021-12-10T16:12:51.000Z
2022-01-06T17:29:12.000Z
samples/time_count.py
webpie/webpie
c7f1bc29a63c0be683c60756165a6c65260211f9
[ "BSD-3-Clause" ]
null
null
null
samples/time_count.py
webpie/webpie
c7f1bc29a63c0be683c60756165a6c65260211f9
[ "BSD-3-Clause" ]
null
null
null
# time_count.py from webpie import WPApp, WPHandler import time class Handler(WPHandler): def time(self, request, relpath): return "[%d]: %s\n" % (self.App.bump_counter(), time.ctime()), "text/plain" class App(WPApp): def __init__(self, h...
23.954545
83
0.567362
61
527
4.672131
0.491803
0.115789
0.105263
0.140351
0
0
0
0
0
0
0
0.01676
0.320683
527
21
84
25.095238
0.77933
0.024668
0
0
0
0
0.039139
0
0
0
0
0
0
1
0.230769
false
0
0.153846
0.076923
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
5f25292614cb6a3a183c7abc2380ff2591852cff
3,701
py
Python
aerofiles/analyse/config.py
Gliderhub/aerofiles
0442a54c589f309068f68cd680b3e7d6ea0d82aa
[ "MIT" ]
null
null
null
aerofiles/analyse/config.py
Gliderhub/aerofiles
0442a54c589f309068f68cd680b3e7d6ea0d82aa
[ "MIT" ]
null
null
null
aerofiles/analyse/config.py
Gliderhub/aerofiles
0442a54c589f309068f68cd680b3e7d6ea0d82aa
[ "MIT" ]
1
2021-03-12T13:01:36.000Z
2021-03-12T13:01:36.000Z
class FlightParsingConfig(object): """ Configuration for parsing an IGC file. Defines a set of parameters used to validate a file, and to detect thermals and flight mode. Details in comments. """ # # Flight validation parameters. # # Minimum of fixes required before takeoff for fil...
31.10084
77
0.689543
524
3,701
4.751908
0.383588
0.028916
0.015663
0.021687
0.093976
0.064257
0.064257
0.064257
0.064257
0.04739
0
0.023022
0.248852
3,701
118
78
31.364407
0.872662
0.673602
0
0
0
0
0.025755
0
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5f287523a71f4b381e181eee28786c8dfbd606c6
1,372
py
Python
py/csv_methods.py
eirikove/qr_code_warehouse
414b2155cbaea297a98251ac1cd96bffcdfb2282
[ "MIT" ]
null
null
null
py/csv_methods.py
eirikove/qr_code_warehouse
414b2155cbaea297a98251ac1cd96bffcdfb2282
[ "MIT" ]
null
null
null
py/csv_methods.py
eirikove/qr_code_warehouse
414b2155cbaea297a98251ac1cd96bffcdfb2282
[ "MIT" ]
null
null
null
from warehouse_item import warehouse_item import csv import datetime log_file_path = "YOUR_FILE_PATH_HERE" storage_file_path = "YOUR_FILE_PATH_HERE" def reg_new_item(name, description, qr_code_id): date_registered = "" time_registered = "" if item_already_exists(qr_code_id): print("Can't regis...
27.44
110
0.649417
181
1,372
4.607735
0.403315
0.05036
0.038369
0.038369
0.122302
0.122302
0
0
0
0
0
0.00391
0.254373
1,372
49
111
28
0.811339
0.074344
0
0.193548
0
0
0.079051
0
0
0
0
0
0
1
0.129032
false
0.064516
0.096774
0
0.290323
0.032258
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
0
0
0
0
0
1
5f2a392f69c6ef456b6b3a17ecddfe27a4c53a2b
563
py
Python
src/evg/url_creator.py
dbradf/async-evg-py
0ab54db9ec9f7cda3429b9a1e4669ff0899a76b5
[ "Apache-2.0" ]
1
2020-12-28T03:41:03.000Z
2020-12-28T03:41:03.000Z
src/evg/url_creator.py
dbradf/aio-evergreen.py
0ab54db9ec9f7cda3429b9a1e4669ff0899a76b5
[ "Apache-2.0" ]
null
null
null
src/evg/url_creator.py
dbradf/aio-evergreen.py
0ab54db9ec9f7cda3429b9a1e4669ff0899a76b5
[ "Apache-2.0" ]
null
null
null
"""URL creator for the evergreen API.""" class UrlCreator: """Class to create evergreen URLs.""" def __init__(self, api_server: str) -> None: """ Initialize a url creator. :param api_server: Hostname API server to connect to. """ self.api_server = api_server def ...
24.478261
61
0.586146
70
563
4.571429
0.414286
0.16875
0.121875
0
0
0
0
0
0
0
0
0.007614
0.300178
563
22
62
25.590909
0.804569
0.44405
0
0
0
0
0.155172
0.155172
0
0
0
0
0
1
0.4
false
0
0
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
1
0
0
0
0
0
0
0
1
a02502aa096612e0fc1a00e015205d721d7d4950
225
py
Python
test/database.py
Chistaen/Kozrum
8e8e9253e3a1cef001cef4cdb391491e8fe8e74c
[ "MIT" ]
3
2017-03-11T21:32:29.000Z
2017-05-04T21:08:22.000Z
test/database.py
nedroden/Kozrum
8e8e9253e3a1cef001cef4cdb391491e8fe8e74c
[ "MIT" ]
2
2017-05-25T22:51:52.000Z
2017-05-29T13:56:11.000Z
test/database.py
nedroden/Kozrum
8e8e9253e3a1cef001cef4cdb391491e8fe8e74c
[ "MIT" ]
null
null
null
# # KOZRUM PACKAGE INSTALLER # # @version 1.0.0 # @copyright 2017, Kozrum # @license MIT # import sys sys.path.append('..') from lib.database import * files = scan_for_sql_files('../../') for file in files: print (file)
14.0625
36
0.666667
32
225
4.59375
0.75
0
0
0
0
0
0
0
0
0
0
0.037433
0.168889
225
16
37
14.0625
0.748663
0.346667
0
0
0
0
0.057143
0
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
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
1
a026b0e2a8df6e38dda037b1c0ebb528271f8bba
3,462
py
Python
mrquery.py
vasilvv/mrtools
c0f8e32e87981656fb5b68de24318e8edd69846f
[ "MIT" ]
2
2015-11-13T23:03:11.000Z
2015-12-19T02:52:57.000Z
mrquery.py
vasilvv/mrtools
c0f8e32e87981656fb5b68de24318e8edd69846f
[ "MIT" ]
null
null
null
mrquery.py
vasilvv/mrtools
c0f8e32e87981656fb5b68de24318e8edd69846f
[ "MIT" ]
null
null
null
#!/usr/bin/python # ## mrquery ## ## This program provides an interface to send arbitrary queries to Moira. # import common import re, argparse, json import pymoira class QueryInfo: def __init__(self, name): info, = client.query('_help', (name,)) # FIXME: the format Moira server uses is horribl...
32.055556
129
0.588966
429
3,462
4.631702
0.32634
0.02768
0.031706
0.019124
0.064419
0.02315
0
0
0
0
0
0.000404
0.285384
3,462
107
130
32.35514
0.802749
0.071346
0
0.12
0
0
0.16694
0
0
0
0
0.009346
0
0
null
null
0
0.04
null
null
0.08
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
1
0
0
0
0
0
0
0
0
1
a0285a731122e9d2c3df1dee11e4908133e42155
2,410
py
Python
examples/sysml2019/benchmark_base.py
sarvex/autograph
305337a7d692495cbdd00c67fa9515fe3994523a
[ "Apache-2.0" ]
57
2019-02-27T00:32:30.000Z
2021-12-25T21:07:36.000Z
examples/sysml2019/benchmark_base.py
sarvex/autograph
305337a7d692495cbdd00c67fa9515fe3994523a
[ "Apache-2.0" ]
6
2019-09-27T09:23:05.000Z
2020-12-08T08:35:54.000Z
examples/sysml2019/benchmark_base.py
sarvex/autograph
305337a7d692495cbdd00c67fa9515fe3994523a
[ "Apache-2.0" ]
17
2019-02-28T22:32:59.000Z
2021-12-01T08:24:58.000Z
# Copyright 2017 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
29.753086
80
0.658506
311
2,410
4.92283
0.469453
0.03919
0.031352
0.020901
0
0
0
0
0
0
0
0.008043
0.226141
2,410
80
81
30.125
0.812869
0.46556
0
0.054054
0
0
0.052339
0.019033
0
0
0
0.0125
0.027027
1
0.027027
false
0
0.162162
0
0.216216
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
a02a855c22a870bbe1f8bc3f2736650ebe50e2b5
480
py
Python
bot/migrations/0026_pad_agency_id.py
dziban303/SpaceLaunchNow-Server
212565e97983bdf7159e9de06999fddc46967dbd
[ "Apache-2.0" ]
null
null
null
bot/migrations/0026_pad_agency_id.py
dziban303/SpaceLaunchNow-Server
212565e97983bdf7159e9de06999fddc46967dbd
[ "Apache-2.0" ]
null
null
null
bot/migrations/0026_pad_agency_id.py
dziban303/SpaceLaunchNow-Server
212565e97983bdf7159e9de06999fddc46967dbd
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2018-07-05 19:05 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('bot', '0025_auto_20180705_1839'), ] operations = [ migrations.AddField( ...
21.818182
49
0.608333
53
480
5.301887
0.792453
0
0
0
0
0
0
0
0
0
0
0.097983
0.277083
480
21
50
22.857143
0.711816
0.141667
0
0
1
0
0.09291
0.056235
0
0
0
0
0
1
0
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a02a9169481277db44b7c48cdb47d1a370e33ed7
2,873
py
Python
setup.py
PDBeurope/pdbecif
cd5319b416260b8e13485548f6a40bb9e3856e19
[ "Apache-2.0" ]
15
2020-05-18T22:30:05.000Z
2022-03-28T10:57:25.000Z
setup.py
SuperXiang/pdbecif
cd5319b416260b8e13485548f6a40bb9e3856e19
[ "Apache-2.0" ]
1
2021-05-13T03:13:02.000Z
2021-05-13T03:13:02.000Z
setup.py
SuperXiang/pdbecif
cd5319b416260b8e13485548f6a40bb9e3856e19
[ "Apache-2.0" ]
1
2022-02-08T08:24:30.000Z
2022-02-08T08:24:30.000Z
__author__ = "Glen van Ginkel (Protein Data Bank in Europe; http://pdbe.org)" __date__ = "$17-Aug-2013 12:39:18$" import os from setuptools import setup, find_packages def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() def get_version(rel_path): for line in read(rel_path).s...
34.614458
128
0.594849
305
2,873
5.465574
0.527869
0.14817
0.194961
0.109178
0.082783
0.05039
0.05039
0.05039
0.05039
0
0
0.016332
0.25409
2,873
83
129
34.614458
0.761549
0
0
0.04
0
0
0.51531
0.031663
0
0
0
0
0
1
0.026667
false
0
0.026667
0.013333
0.08
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a02c3ca3957e986bf2288d4913124d40ea4d6ff6
332
py
Python
src/project/asgi.py
M-Whitaker/DjangoBooking
919c075822e157be1245663d2aa299a80350ab71
[ "MIT" ]
null
null
null
src/project/asgi.py
M-Whitaker/DjangoBooking
919c075822e157be1245663d2aa299a80350ab71
[ "MIT" ]
null
null
null
src/project/asgi.py
M-Whitaker/DjangoBooking
919c075822e157be1245663d2aa299a80350ab71
[ "MIT" ]
null
null
null
import os from channels.routing import ProtocolTypeRouter from django.core.asgi import get_asgi_application os.environ.setdefault("DJANGO_SETTINGS_MODULE", "project.settings") application = ProtocolTypeRouter( { "http": get_asgi_application(), # Just HTTP for now. (We can add other protocols late...
23.714286
67
0.737952
39
332
6.128205
0.666667
0.058577
0.150628
0
0
0
0
0
0
0
0
0
0.174699
332
13
68
25.538462
0.872263
0.162651
0
0
0
0
0.152174
0.07971
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
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
1
a02efe6e0172507168727441d6fedce4bd8e15ff
8,881
py
Python
signinghub_api_client/client.py
kanselarij-vlaanderen/signinghub-api-client
42396485568224c4eaff9dc987281e686c9def6a
[ "MIT" ]
null
null
null
signinghub_api_client/client.py
kanselarij-vlaanderen/signinghub-api-client
42396485568224c4eaff9dc987281e686c9def6a
[ "MIT" ]
null
null
null
signinghub_api_client/client.py
kanselarij-vlaanderen/signinghub-api-client
42396485568224c4eaff9dc987281e686c9def6a
[ "MIT" ]
null
null
null
from datetime import datetime, timedelta, timezone from requests_toolbelt.sessions import BaseUrlSession from .exceptions import SigningHubException, AuthenticationException, UnauthenticatedException class SigningHubSession(BaseUrlSession): def __init__(self, base_url): self.base_url = base_url sel...
41.891509
118
0.581466
946
8,881
5.293869
0.198732
0.062899
0.053115
0.058706
0.451478
0.364417
0.364417
0.328674
0.250599
0.186901
0
0.015903
0.22824
8,881
211
119
42.090047
0.714765
0.181173
0
0.284553
0
0
0.146651
0.063223
0
0
0
0.014218
0
1
0.170732
false
0.02439
0.02439
0.01626
0.341463
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
a03d63e85fe1df2d46d675bd390fc30592d2c5e1
1,292
py
Python
day15/day15.py
JulienRobitaille/AoC2020
6fecce86ed4929bf8613514b0742dd7e390d0091
[ "BSD-3-Clause" ]
null
null
null
day15/day15.py
JulienRobitaille/AoC2020
6fecce86ed4929bf8613514b0742dd7e390d0091
[ "BSD-3-Clause" ]
null
null
null
day15/day15.py
JulienRobitaille/AoC2020
6fecce86ed4929bf8613514b0742dd7e390d0091
[ "BSD-3-Clause" ]
null
null
null
from pathlib import Path from typing import Dict, List input_file: Path = Path(__file__).parent.joinpath("input.txt") def solve(numbers: List[int], max_age: int) -> int: last_spoken: Dict[int, List[int]] = {} last_number: int = 0 for i, nb in enumerate(numbers): if nb not in last_spoken: ...
34
78
0.617647
181
1,292
4.165746
0.276243
0.212202
0.167109
0.159151
0.307692
0.306366
0.129973
0.129973
0.129973
0.129973
0
0.02439
0.270124
1,292
37
79
34.918919
0.775186
0
0
0
0
0
0.020124
0
0
0
0
0
0
1
0.033333
false
0
0.066667
0
0.133333
0.066667
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
0
0
0
0
1
a046159aab4fc085aa29e45ad4db00ef9fd4914b
246
py
Python
checks.py
a-masterov/s64da-benchmark-toolkit
b1af60c6a1c7d4c62ae9fb5ce04e2c7b59002b0b
[ "MIT" ]
15
2020-03-27T09:40:12.000Z
2022-03-25T19:55:53.000Z
checks.py
a-masterov/s64da-benchmark-toolkit
b1af60c6a1c7d4c62ae9fb5ce04e2c7b59002b0b
[ "MIT" ]
43
2020-03-25T10:03:11.000Z
2021-06-02T01:15:17.000Z
checks.py
a-masterov/s64da-benchmark-toolkit
b1af60c6a1c7d4c62ae9fb5ce04e2c7b59002b0b
[ "MIT" ]
6
2020-10-08T11:32:40.000Z
2021-11-17T21:20:44.000Z
#!/usr/bin/env python3 from shutil import which import sys def check_program_exists(program): if which(program) is None: print('ERROR: Could not find {}. Is it installed? Is PATH setup properly?'.format(program)) sys.exit()
24.6
99
0.691057
36
246
4.666667
0.777778
0
0
0
0
0
0
0
0
0
0
0.005076
0.199187
246
10
100
24.6
0.847716
0.085366
0
0
0
0
0.293333
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0.166667
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
0
0
0
0
1
a04709b2d5d337f66f2f7e7929ea438c1e4f3582
5,536
py
Python
resources/tools/scripts/topo_reservation.py
preym17/csit
3151c98618c78e3782e48bbe4d9c8f906c126f69
[ "Apache-2.0" ]
null
null
null
resources/tools/scripts/topo_reservation.py
preym17/csit
3151c98618c78e3782e48bbe4d9c8f906c126f69
[ "Apache-2.0" ]
null
null
null
resources/tools/scripts/topo_reservation.py
preym17/csit
3151c98618c78e3782e48bbe4d9c8f906c126f69
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python2 # Copyright (c) 2019 Cisco and/or its affiliates. # 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...
40.408759
80
0.686597
805
5,536
4.668323
0.404969
0.044705
0.018095
0.024481
0.150346
0.111762
0.095263
0.078233
0.078233
0.078233
0
0.006773
0.226517
5,536
136
81
40.705882
0.870855
0.2556
0
0.1
0
0.02
0.272895
0
0
0
0
0.007353
0
0
null
null
0
0.08
null
null
0.18
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
1
0
0
0
0
0
0
0
0
1
a047c9d7fe8869bfbef06e67964afa9974ce9db2
1,780
py
Python
Visualizing Data using Dashboard.py
skjold13/hiring-engineers
0eecc216645805cd7b89041bd80aa57e056abfc1
[ "Apache-2.0" ]
null
null
null
Visualizing Data using Dashboard.py
skjold13/hiring-engineers
0eecc216645805cd7b89041bd80aa57e056abfc1
[ "Apache-2.0" ]
null
null
null
Visualizing Data using Dashboard.py
skjold13/hiring-engineers
0eecc216645805cd7b89041bd80aa57e056abfc1
[ "Apache-2.0" ]
null
null
null
from datadog import initialize, api options = {'api_key': '4e2177053a094d261c10e610b8ca8cdd', 'app_key': '223159fe496e0c2506af146fa8f0eae896818531' } initialize(**options) title = "Visualizing Data using Dashboard:" widgets = [{ "definition": { ...
37.87234
102
0.391011
111
1,780
6.099099
0.576577
0.062038
0.070901
0.094535
0.161004
0.076809
0.076809
0
0
0
0
0.062642
0.506742
1,780
46
103
38.695652
0.708428
0
0
0.243902
0
0
0.267013
0.099193
0
0
0
0
0.04878
1
0
false
0
0.02439
0
0.02439
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
1
a047e4274cd86a71cc4a03341cf66a1132fd9cc2
1,361
py
Python
src_python/utils.py
applied-math-coding/basic-diffusion-transport
6e8934e0d598242343481e7d1003ea15b910f57e
[ "Apache-2.0" ]
1
2020-05-01T07:43:19.000Z
2020-05-01T07:43:19.000Z
src_python/utils.py
applied-math-coding/home
6e8934e0d598242343481e7d1003ea15b910f57e
[ "Apache-2.0" ]
6
2021-05-11T12:33:30.000Z
2022-02-27T03:58:32.000Z
src_python/utils.py
applied-math-coding/basic-diffusion-transport
6e8934e0d598242343481e7d1003ea15b910f57e
[ "Apache-2.0" ]
null
null
null
import params import numpy as np def calc_min_delta_t(delta_x, alpha, v_max) -> int: return min(1, 1 / 4 * delta_x ** 2 / alpha, delta_x / v_max) def adjust_boundary(T, v_x, v_y): T[0, :] = params.T_h T[-1, :] = T[-2, :] T[:, 0] = T[:, 1] T[:, -1] = T[:, -2] v_y[0, :] = 0 v_y[-1, :] = v_...
27.77551
72
0.50698
307
1,361
1.967427
0.123779
0.135762
0.109272
0.072848
0.55298
0.541391
0.513245
0.451987
0.301325
0.256623
0
0.091633
0.262307
1,361
48
73
28.354167
0.50996
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.055556
0.027778
0.25
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a048d21efffa1b97102821f2474862cd9838aacb
4,586
py
Python
steampak/libsteam/resources/stats.py
idlesign/steampak
cb3f2c737e272b0360802d947e388df7e34f50f3
[ "BSD-3-Clause" ]
24
2015-08-15T18:41:58.000Z
2021-06-13T13:52:50.000Z
steampak/libsteam/resources/stats.py
idlesign/steampak
cb3f2c737e272b0360802d947e388df7e34f50f3
[ "BSD-3-Clause" ]
3
2016-10-12T13:46:07.000Z
2017-03-05T02:54:22.000Z
steampak/libsteam/resources/stats.py
idlesign/steampak
cb3f2c737e272b0360802d947e388df7e34f50f3
[ "BSD-3-Clause" ]
3
2016-10-12T12:09:43.000Z
2017-03-04T15:49:53.000Z
from datetime import datetime from ctyped.types import CRef from .base import _ApiResourceBase class Achievement(_ApiResourceBase): """Exposes methods to get achievement data. Aliased as ``steampak.SteamAchievement``. .. code-block:: python from steampak import SteamAchievement print(...
24.010471
103
0.595944
518
4,586
5.07722
0.249035
0.041065
0.027376
0.034221
0.278707
0.195437
0.155894
0.155894
0.155894
0.155894
0
0.00343
0.300698
4,586
190
104
24.136842
0.816651
0.330135
0
0.293333
0
0
0.005535
0
0
0
0
0
0
1
0.226667
false
0
0.04
0.04
0.52
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
0
0
0
0
1
a0501ebd9559e7896a84de0e44254cb840b8e127
13,375
py
Python
Leak #5 - Lost In Translation/windows/Resources/Dsz/PyScripts/Lib/dsz/mca/security/cmd/permissions/data/dsz/__init__.py
bidhata/EquationGroupLeaks
1ff4bc115cb2bd5bf2ed6bf769af44392926830c
[ "Unlicense" ]
9
2019-11-22T04:58:40.000Z
2022-02-26T16:47:28.000Z
Leak #5 - Lost In Translation/windows/Resources/Dsz/PyScripts/Lib/dsz/mca/security/cmd/permissions/data/dsz/__init__.py
bidhata/EquationGroupLeaks
1ff4bc115cb2bd5bf2ed6bf769af44392926830c
[ "Unlicense" ]
null
null
null
Leak #5 - Lost In Translation/windows/Resources/Dsz/PyScripts/Lib/dsz/mca/security/cmd/permissions/data/dsz/__init__.py
bidhata/EquationGroupLeaks
1ff4bc115cb2bd5bf2ed6bf769af44392926830c
[ "Unlicense" ]
8
2017-09-27T10:31:18.000Z
2022-01-08T10:30:46.000Z
# uncompyle6 version 2.9.10 # Python bytecode 2.7 (62211) # Decompiled from: Python 3.6.0b2 (default, Oct 11 2016, 05:27:10) # [GCC 6.2.0 20161005] # Embedded file name: __init__.py import dsz import dsz.cmd import dsz.data import dsz.lp class Permissions(dsz.data.Task): def __init__(self, cmd=None): dsz...
36.84573
129
0.492112
1,427
13,375
4.375613
0.073581
0.058616
0.096092
0.173447
0.735906
0.585042
0.461563
0.284914
0.143818
0.086963
0
0.012418
0.416
13,375
363
130
36.84573
0.786967
0.01286
0
0.530686
0
0
0.060161
0.011972
0
0
0
0
0
1
0.032491
false
0.00722
0.01444
0
0.104693
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a0517c00f8937b38053c4cfeb73d995c34ae319a
479
py
Python
systematic_errors/stem-random-walk-nin-20-43/blur_images.py
Jeffrey-Ede/partial-STEM
916766091b81b54cacde85a319f34a47d50bce48
[ "MIT" ]
10
2019-06-12T00:24:37.000Z
2021-11-23T12:58:02.000Z
systematic_errors/stem-random-walk-nin-20-43/blur_images.py
Jeffrey-Ede/partial-STEM
916766091b81b54cacde85a319f34a47d50bce48
[ "MIT" ]
null
null
null
systematic_errors/stem-random-walk-nin-20-43/blur_images.py
Jeffrey-Ede/partial-STEM
916766091b81b54cacde85a319f34a47d50bce48
[ "MIT" ]
5
2019-06-11T05:49:10.000Z
2021-11-12T15:55:22.000Z
import cv2 from scipy.misc import imread from PIL import Image import numpy as np parent_dir = "Z:/Jeffrey-Ede/models/stem-random-walk-nin-20-43/" io_pairs = [(parent_dir+"truth-450000.tif", parent_dir+"blurred_truth-450000.tif"), (parent_dir+"truth-475000.tif", parent_dir+"blurred_truth-475000.ti...
34.214286
84
0.682672
78
479
4.076923
0.576923
0.141509
0.113208
0.125786
0.242138
0
0
0
0
0
0
0.08933
0.158664
479
14
85
34.214286
0.699752
0
0
0
0
0
0.278373
0.207709
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
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
0
0
0
0
1
a055fc5974073b09fe30c979a2dc9228535a9a1e
3,123
py
Python
inspirational_generation.py
alimirzazadeh/wolfGANg
5bf56f7d8e6c1c283edb98bdaecfd5a606b4462c
[ "MIT" ]
1
2022-01-28T00:03:19.000Z
2022-01-28T00:03:19.000Z
inspirational_generation.py
alimirzazadeh/wolfGANg
5bf56f7d8e6c1c283edb98bdaecfd5a606b4462c
[ "MIT" ]
null
null
null
inspirational_generation.py
alimirzazadeh/wolfGANg
5bf56f7d8e6c1c283edb98bdaecfd5a606b4462c
[ "MIT" ]
1
2021-11-23T00:49:26.000Z
2021-11-23T00:49:26.000Z
import os import json from nevergrad.optimization import optimizerlib from copy import deepcopy # from PIL import Image import numpy as np import torch import torch.nn as nn import torch.optim as optim def midiWavTransform(midi): return def encoder(): return def splitInputToParts(noise_input): cords = noise_inp...
32.195876
107
0.654819
379
3,123
5.292876
0.28496
0.079761
0.071785
0.098704
0.239781
0.220339
0.171486
0.106181
0.106181
0
0
0.024604
0.232149
3,123
97
108
32.195876
0.811927
0
0
0.15942
0
0
0.006038
0
0
0
0
0
0
0
null
null
0
0.115942
null
null
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
1
0
0
0
0
0
0
0
0
1
a0578743803cde775ef90b4d84a305e4e88b51b6
14,334
py
Python
GGisy.py
Sanrrone/GGisy
bd6c9f9736e56301cbd10c1400cd501f29acb791
[ "Apache-2.0" ]
11
2018-01-29T01:55:50.000Z
2021-03-30T21:00:50.000Z
GGisy.py
Sanrrone/GGisy
bd6c9f9736e56301cbd10c1400cd501f29acb791
[ "Apache-2.0" ]
1
2019-08-05T07:03:12.000Z
2019-08-16T14:50:48.000Z
GGisy.py
Sanrrone/GGisy
bd6c9f9736e56301cbd10c1400cd501f29acb791
[ "Apache-2.0" ]
7
2017-10-18T07:56:53.000Z
2021-11-23T06:41:17.000Z
from __future__ import with_statement # ============================================================================== # GGisy (python v2.7) # # Author: Sandro Valenzuela (sandrolvalenzuead@gmail.com) # Bugs and errors: https://github.com/Sanrrone/GGisy/issues # # Please type "python GGisy.py -h" for usage help...
36.566327
175
0.640017
2,198
14,334
4.153321
0.193813
0.00482
0.02147
0.019717
0.387008
0.344068
0.326651
0.310001
0.286888
0.278563
0
0.045846
0.141761
14,334
391
176
36.659847
0.696228
0.037254
0
0.229102
0
0.142415
0.705016
0.230166
0
0
0
0
0
1
0.024768
false
0
0.01548
0.003096
0.06192
0.034056
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
0
0
0
0
0
0
0
1