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
b7f9c018964463362da3dd233677ca1b661d9652
8,277
py
Python
src/run/LPC_runcore.py
ufo2011/NXP-MCUBootUtility
5d1840b1beee997e5453484309f5466ce166bfbe
[ "Apache-2.0" ]
174
2018-12-30T16:20:36.000Z
2022-03-24T03:02:02.000Z
src/run/LPC_runcore.py
ufo2011/NXP-MCUBootUtility
5d1840b1beee997e5453484309f5466ce166bfbe
[ "Apache-2.0" ]
138
2019-01-02T16:18:44.000Z
2022-03-30T15:57:24.000Z
src/run/LPC_runcore.py
ufo2011/NXP-MCUBootUtility
5d1840b1beee997e5453484309f5466ce166bfbe
[ "Apache-2.0" ]
86
2018-12-27T13:16:58.000Z
2022-02-03T11:42:35.000Z
#! /usr/bin/env python # -*- coding: utf-8 -*- import sys import os import math import LPC_rundef import rundef import boot sys.path.append(os.path.abspath("..")) from gen import LPC_gencore from gen import LPC_gendef from ui import LPC_uidef from ui import uidef from ui import uivar from ui import uilang from mem impo...
39.602871
111
0.6332
791
8,277
6.513274
0.269279
0.019022
0.029503
0.035714
0.323952
0.26184
0.215062
0.192158
0.192158
0.151009
0
0.009205
0.27812
8,277
208
112
39.793269
0.853054
0.038782
0
0.306358
0
0
0.044671
0
0
0
0.001133
0
0
1
0.086705
false
0.069364
0.092486
0
0.231214
0.098266
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
b7fc93b23b8d93d798f8d1164c8a9d92ec2fea1a
4,682
py
Python
tools/sparrow/nstatslib.py
sics-iot/sparrow
3ab386ccd80293928da7d5a98c2b7a9ef5fb96f9
[ "BSD-3-Clause" ]
26
2016-07-15T06:18:27.000Z
2021-12-15T19:54:49.000Z
tools/sparrow/nstatslib.py
sics-iot/sparrow
3ab386ccd80293928da7d5a98c2b7a9ef5fb96f9
[ "BSD-3-Clause" ]
34
2016-08-16T09:55:55.000Z
2018-02-19T09:53:47.000Z
tools/sparrow/nstatslib.py
sics-iot/sparrow
3ab386ccd80293928da7d5a98c2b7a9ef5fb96f9
[ "BSD-3-Clause" ]
16
2016-08-21T06:38:29.000Z
2021-11-28T22:02:44.000Z
#!/usr/bin/env python # # Copyright (c) 2015-2016, Yanzi Networks AB. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # 1. Redistributions of source code must retain the above copyright # ...
33.442857
114
0.635839
620
4,682
4.659677
0.36129
0.033229
0.020768
0.023538
0.161648
0.120111
0.100035
0.06992
0.047075
0.047075
0
0.017841
0.269757
4,682
139
115
33.683453
0.827142
0.369714
0
0.153846
0
0
0.014418
0
0
0
0
0
0
0
null
null
0
0.012821
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
b7fcb53122d52028ce6e950edc31ddb695bcb121
829
py
Python
ex1/plotData.py
junwon1994/Coursera-ML
91e96c3c14c058cd6d745a4fada1baf40d91458f
[ "MIT" ]
3
2018-03-16T01:48:14.000Z
2020-08-14T09:52:58.000Z
ex1/plotData.py
junwon1994/Coursera-ML
91e96c3c14c058cd6d745a4fada1baf40d91458f
[ "MIT" ]
null
null
null
ex1/plotData.py
junwon1994/Coursera-ML
91e96c3c14c058cd6d745a4fada1baf40d91458f
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt def plotData(x, y): """plots the data points and gives the figure axes labels of population and profit. """ plt.figure() # open a new figure window # ====================== YOUR CODE HERE ====================== # Instructions: Plot the training data into a fi...
34.541667
75
0.534379
101
829
4.386139
0.534653
0.009029
0.036117
0.049661
0
0
0
0
0
0
0
0.019737
0.266586
829
23
76
36.043478
0.708882
0.650181
0
0
0
0
0.182836
0
0
0
0
0.043478
0
1
0.142857
false
0
0.142857
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
1
0
0
0
0
0
0
0
0
0
0
1
b7fd07d76ba3b025c37e5ae99651013ef46bba3f
1,230
py
Python
tests/unit/test_users.py
rabernat/repo2docker
8dfd400c779763d0051975454050f22c1f19daf0
[ "BSD-3-Clause" ]
1
2019-04-19T01:30:17.000Z
2019-04-19T01:30:17.000Z
tests/unit/test_users.py
rabernat/repo2docker
8dfd400c779763d0051975454050f22c1f19daf0
[ "BSD-3-Clause" ]
2
2021-03-26T00:02:51.000Z
2021-06-02T02:25:25.000Z
tests/unit/test_users.py
rabernat/repo2docker
8dfd400c779763d0051975454050f22c1f19daf0
[ "BSD-3-Clause" ]
1
2019-04-19T01:30:20.000Z
2019-04-19T01:30:20.000Z
""" Test that User name and ID mapping works """ import os import subprocess import tempfile import time def test_user(): """ Validate user id and name setting """ ts = str(time.time()) # FIXME: Use arbitrary login here, We need it now since we wanna put things to volume. username = os.getlogin...
32.368421
99
0.543902
153
1,230
4.352941
0.418301
0.045045
0.06006
0.084084
0.306306
0.306306
0.177177
0.177177
0.177177
0.177177
0
0.001153
0.295122
1,230
37
100
33.243243
0.767013
0.130081
0
0.142857
0
0.035714
0.139446
0
0
0
0
0.027027
0.142857
1
0.035714
false
0
0.142857
0
0.178571
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
b7fd5ff017bc1ad063063ab91dc78c44ff8a519b
282
py
Python
tmuxp/__about__.py
enchanter/tmuxp
b8adcf94da2ea45dd38c67681fef74054d30a68b
[ "BSD-3-Clause" ]
null
null
null
tmuxp/__about__.py
enchanter/tmuxp
b8adcf94da2ea45dd38c67681fef74054d30a68b
[ "BSD-3-Clause" ]
null
null
null
tmuxp/__about__.py
enchanter/tmuxp
b8adcf94da2ea45dd38c67681fef74054d30a68b
[ "BSD-3-Clause" ]
null
null
null
__title__ = 'tmuxp' __package_name__ = 'tmuxp' __version__ = '0.1.12' __description__ = 'Manage tmux sessions thru JSON, YAML configs. Features Python API' __email__ = 'tony@git-pull.com' __author__ = 'Tony Narlock' __license__ = 'BSD' __copyright__ = 'Copyright 2013 Tony Narlock'
31.333333
85
0.758865
35
282
5.171429
0.857143
0.121547
0
0
0
0
0
0
0
0
0
0.032653
0.131206
282
8
86
35.25
0.706122
0
0
0
0
0
0.496454
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4d0291f9b24e1cd2e2360353bf8ae3df4f61cbc9
1,632
py
Python
scripts/init.py
LCAS/spqrel_tools
9dc27364811393082b86a9be5dcc654239317515
[ "MIT" ]
9
2017-07-29T06:17:19.000Z
2020-12-07T08:22:57.000Z
scripts/init.py
LCAS/spqrel_tools
9dc27364811393082b86a9be5dcc654239317515
[ "MIT" ]
48
2017-06-01T09:29:18.000Z
2020-09-16T19:50:12.000Z
scripts/init.py
LCAS/spqrel_tools
9dc27364811393082b86a9be5dcc654239317515
[ "MIT" ]
11
2017-06-01T08:13:02.000Z
2020-11-11T20:25:36.000Z
#!/usr/bin/env python import qi import argparse import sys import time import os import webinit, postureinit, behaviorinit, manage_BG_behaviors, tmuxinit def main(): parser = argparse.ArgumentParser() parser.add_argument("--pip", type=str, default=os.getenv('PEPPER_IP'), help="Robot I...
25.904762
91
0.63848
207
1,632
4.884058
0.507246
0.049456
0.050445
0.053412
0.088032
0.053412
0
0
0
0
0
0.01668
0.228554
1,632
62
92
26.322581
0.786338
0.034926
0
0.04878
0
0
0.242521
0
0
0
0
0
0
0
null
null
0
0.146341
null
null
0.073171
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
4d0b7512d5ccb89f848658a17342b209518465c0
2,335
py
Python
pytools/src/oldsrc/addindex.py
selentd/pythontools
ab3158dca1c3f6ef0f6d6678070da4a6551fa334
[ "Apache-2.0" ]
null
null
null
pytools/src/oldsrc/addindex.py
selentd/pythontools
ab3158dca1c3f6ef0f6d6678070da4a6551fa334
[ "Apache-2.0" ]
null
null
null
pytools/src/oldsrc/addindex.py
selentd/pythontools
ab3158dca1c3f6ef0f6d6678070da4a6551fa334
[ "Apache-2.0" ]
null
null
null
import datetime import pymongo from pymongo.mongo_client import MongoClient import indexdata def getIndexEntry( indexData ): return indexData.getDictionary() def getIndexDateEntry( indexData ): return { "date": datetime.datetime(indexData.date.year, indexData.date.mon...
29.1875
64
0.499358
182
2,335
6.346154
0.417582
0.072727
0.031169
0.036364
0.058874
0.058874
0
0
0
0
0
0.033557
0.361884
2,335
79
65
29.556962
0.741611
0.016274
0
0
0
0
0.087363
0
0
0
0
0
0
0
null
null
0
0.072727
null
null
0.018182
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
4d0dd3d27f7a96b3166459e9c7baf31baf075aba
811
py
Python
src/newsletter/forms.py
dhaval6552/ecommerce-2
ab80fbbf15c0fbd37db94cfd7aa9a3ac0b46c737
[ "MIT" ]
null
null
null
src/newsletter/forms.py
dhaval6552/ecommerce-2
ab80fbbf15c0fbd37db94cfd7aa9a3ac0b46c737
[ "MIT" ]
null
null
null
src/newsletter/forms.py
dhaval6552/ecommerce-2
ab80fbbf15c0fbd37db94cfd7aa9a3ac0b46c737
[ "MIT" ]
null
null
null
from django import forms from .models import SignUp class ContactForm(forms.Form): full_name = forms.CharField(required=False) email = forms.EmailField() message = forms.CharField() class SignUpForm(forms.ModelForm): class Meta: model = SignUp fields = ['full_name', 'email'] ### exclude = ['full_name'] ...
27.965517
76
0.715166
108
811
5.259259
0.490741
0.098592
0.052817
0.06338
0
0
0
0
0
0
0
0
0.159063
811
29
77
27.965517
0.832845
0.175092
0
0
0
0
0.105581
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4d0f51e7931fde025bece6f33a87ca76f3e50624
1,924
py
Python
Test.py
anuritabose/Advanced-Algorithm-FFT-RSA_Encryption
748f571d85639db8ae090e0d10a3c3186bb11ba2
[ "MIT" ]
null
null
null
Test.py
anuritabose/Advanced-Algorithm-FFT-RSA_Encryption
748f571d85639db8ae090e0d10a3c3186bb11ba2
[ "MIT" ]
null
null
null
Test.py
anuritabose/Advanced-Algorithm-FFT-RSA_Encryption
748f571d85639db8ae090e0d10a3c3186bb11ba2
[ "MIT" ]
null
null
null
import sys import importlib import argparse import numpy as np import random import cmath import math from dft import dft, inv_dft from fft import fft, inv_fft from rsa import * #arguments for dft, fft, inverse dft and inverse fft parameters1 = [] parameters2 = [] i=4 while i<2048: param1 = list(...
27.884058
132
0.588358
257
1,924
4.346304
0.303502
0.057296
0.075201
0.091316
0.498657
0.472695
0.45479
0.45479
0.38496
0.374217
0
0.094683
0.286383
1,924
68
133
28.294118
0.718864
0.048857
0
0.192308
0
0
0.142614
0
0
0
0
0
0
1
0.038462
false
0.057692
0.192308
0
0.230769
0.115385
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
4d11c202c07ee548bd98e282ea2b10bc2c810c83
2,468
py
Python
scdali/models/glm.py
PMBio/scdali
55baf5afaf44cc8314c951fe94c539e805adb84e
[ "BSD-3-Clause" ]
3
2021-11-22T02:59:47.000Z
2022-03-11T16:11:06.000Z
scdali/models/glm.py
PMBio/scdali
55baf5afaf44cc8314c951fe94c539e805adb84e
[ "BSD-3-Clause" ]
1
2022-03-10T10:29:03.000Z
2022-03-10T10:29:03.000Z
scdali/models/glm.py
PMBio/scdali
55baf5afaf44cc8314c951fe94c539e805adb84e
[ "BSD-3-Clause" ]
null
null
null
"""Beta-Binomial generalized linear model.""" import numpy as np from scipy.stats import chi2, betabinom, binom from scdali.models.core import DaliModule from scdali.utils.stats import logistic from scdali.utils.stats import fit_bb_glm from scdali.utils.stats import compute_bb_nll class BetaBinomialGLM(DaliModule)...
27.730337
80
0.571718
338
2,468
4.112426
0.369822
0.021583
0.021583
0.020144
0.168345
0.11223
0.11223
0.11223
0.11223
0.11223
0
0.021021
0.325365
2,468
88
81
28.045455
0.813814
0.279984
0
0.088889
0
0
0
0
0
0
0
0.011364
0
1
0.066667
false
0
0.133333
0
0.244444
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
4d18c0086aaaa8853b89a3ae46e8b889799faf65
1,078
py
Python
setup.py
lazyoracle/qiskit-tensorflow
b08cf90d9f90b07bbe29cd7fff075aaefe9b052b
[ "Apache-2.0" ]
null
null
null
setup.py
lazyoracle/qiskit-tensorflow
b08cf90d9f90b07bbe29cd7fff075aaefe9b052b
[ "Apache-2.0" ]
1
2020-12-26T22:31:02.000Z
2021-03-28T12:40:30.000Z
setup.py
lazyoracle/qiskit-tensorflow
b08cf90d9f90b07bbe29cd7fff075aaefe9b052b
[ "Apache-2.0" ]
null
null
null
from setuptools import setup setup( name="qiskit-tensorflow", version="0.0.1", description="A Tensorflow based simulator backend for Qiskit", url="http://github.com/lazyoracle/qiskit-tensorflow", author_name="Anurag Saha Roy", author_email="contact@anuragsaharoy.me", include_package_data=Tr...
32.666667
69
0.627087
110
1,078
6.045455
0.7
0.07218
0.112782
0.117293
0
0
0
0
0
0
0
0.020408
0.227273
1,078
32
70
33.6875
0.777911
0
0
0.096774
0
0
0.542672
0.06308
0
0
0
0
0
1
0
true
0
0.032258
0
0.032258
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
4d1991bfbdb7f554fbd45d94a08d50d587a12da7
474
py
Python
backend/schemas/__init__.py
joweenflores/stock_trading_api
daf113c340399bbd29f5935b8f5d78df481b303b
[ "MIT" ]
null
null
null
backend/schemas/__init__.py
joweenflores/stock_trading_api
daf113c340399bbd29f5935b8f5d78df481b303b
[ "MIT" ]
null
null
null
backend/schemas/__init__.py
joweenflores/stock_trading_api
daf113c340399bbd29f5935b8f5d78df481b303b
[ "MIT" ]
null
null
null
# Init all schemas from .stocks import ( SectorCreate, SectorUpdate, Sector, SubSectorCreate, SubSectorUpdate, SubSector, PriceHistoryCreate, PriceHistoryUpdate, PriceHistory, StockCreate, StockUpdate, Stock, ) from .users import ( UserCreate, UserUpdate, User ) from .traders import ( Trader...
22.571429
57
0.744726
39
474
9.051282
0.897436
0
0
0
0
0
0
0
0
0
0
0
0.181435
474
20
58
23.7
0.909794
0.033755
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
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
4d1ba1b0a74d620f948950d5bcfbe3044f76221d
7,709
py
Python
addressapp/api/activity.py
AbhiyantrikTechnology/DentalHub-Backend
89802b3e7671ffe8b3d287a998c3c4f375b58f03
[ "MIT" ]
1
2021-04-03T19:57:32.000Z
2021-04-03T19:57:32.000Z
addressapp/api/activity.py
AbhiyantrikTechnology/DentalHub-Backend
89802b3e7671ffe8b3d287a998c3c4f375b58f03
[ "MIT" ]
null
null
null
addressapp/api/activity.py
AbhiyantrikTechnology/DentalHub-Backend
89802b3e7671ffe8b3d287a998c3c4f375b58f03
[ "MIT" ]
null
null
null
import re from rest_framework import status from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import permissions from userapp.models import User, CustomUser from addressapp.serializers.activity import ActivitySerializer,\ ActivityAreaSerializer from addressapp....
45.347059
97
0.649501
752
7,709
6.555851
0.138298
0.076673
0.080933
0.038337
0.631034
0.592089
0.469574
0.414604
0.396349
0.396349
0
0.01078
0.241925
7,709
170
98
45.347059
0.83282
0.431573
0
0.384615
0
0
0.07247
0
0
0
0
0
0
1
0.089744
false
0
0.128205
0
0.564103
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
4d2611d9a714a1d22944b12c699e8727f6040dfd
7,170
py
Python
federated_aggregations/paillier/factory.py
tf-encrypted/federated-aggregations
b4ab7a15c2719d4119db7d9d609f8c06d9df8958
[ "Apache-2.0" ]
16
2020-08-07T05:40:09.000Z
2022-01-08T20:32:07.000Z
federated_aggregations/paillier/factory.py
tf-encrypted/federated-aggregations
b4ab7a15c2719d4119db7d9d609f8c06d9df8958
[ "Apache-2.0" ]
1
2020-10-14T00:18:39.000Z
2020-10-19T14:13:03.000Z
federated_aggregations/paillier/factory.py
tf-encrypted/federated-aggregations
b4ab7a15c2719d4119db7d9d609f8c06d9df8958
[ "Apache-2.0" ]
2
2020-09-08T10:16:28.000Z
2021-01-14T12:33:01.000Z
import functools from typing import List, Callable, Optional, Sequence import tensorflow as tf import tensorflow_federated as tff from tensorflow_federated.python.common_libs import py_typecheck from tensorflow_federated.python.core.impl.executors import eager_tf_executor from tensorflow_federated.python.core.impl.exe...
45.66879
95
0.767782
819
7,170
6.449328
0.266178
0.042598
0.034835
0.043923
0.248959
0.203711
0.170769
0.141045
0.077243
0.030292
0
0.00101
0.171548
7,170
156
96
45.961538
0.888215
0.242957
0
0.142857
0
0
0.018073
0
0
0
0
0.012821
0
1
0.035714
false
0
0.142857
0
0.232143
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
4d28ab41ebb268bfde5f638793746d6c42707fdd
1,577
py
Python
mapping_varcall/variant_calling/methylation_stats.py
relshire/epiGBS
78e495a642a8b86c08041d69cd854a7be2b263c8
[ "MIT" ]
null
null
null
mapping_varcall/variant_calling/methylation_stats.py
relshire/epiGBS
78e495a642a8b86c08041d69cd854a7be2b263c8
[ "MIT" ]
null
null
null
mapping_varcall/variant_calling/methylation_stats.py
relshire/epiGBS
78e495a642a8b86c08041d69cd854a7be2b263c8
[ "MIT" ]
null
null
null
"""Decribe methylation stats per species""" import sys # handle = open(sys.argv[1]) handle = open('/Volumes/3tb-deena/Daphnia/output_DMP/Daphnia.methylation.filtered.bed','r') header = handle.readline()[:-1].split('\t') individuals = ['_'.join(i.split('_')[:-1]) for i in header if i.endswith('_total')] meth_count = ...
32.183673
91
0.504756
195
1,577
3.964103
0.328205
0.151358
0.139715
0.131953
0.306598
0.298836
0.298836
0.298836
0.298836
0.270375
0
0.027344
0.350666
1,577
48
92
32.854167
0.727539
0.016487
0
0.404762
0
0
0.087043
0.046512
0
0
0
0
0
0
null
null
0
0.02381
null
null
0.047619
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
4d323c6012e12b1376651c62b5e9ea3f379f28e6
433
py
Python
bm/config.py
Phinnik/backteria_mitosis
60a3e82294cc8826c5036d31650505bd2596bc4a
[ "BSD-2-Clause" ]
null
null
null
bm/config.py
Phinnik/backteria_mitosis
60a3e82294cc8826c5036d31650505bd2596bc4a
[ "BSD-2-Clause" ]
null
null
null
bm/config.py
Phinnik/backteria_mitosis
60a3e82294cc8826c5036d31650505bd2596bc4a
[ "BSD-2-Clause" ]
null
null
null
import dataclasses import pathlib import torch BASE_DIR = pathlib.Path(__file__).parent.parent.absolute() @dataclasses.dataclass class ProjectPaths: data_dir = BASE_DIR.joinpath('data') checkpoints_dir = BASE_DIR.joinpath('model_checkpoints') @dataclasses.dataclass class Config: random_seed = 7462294 ...
19.681818
60
0.743649
54
433
5.685185
0.611111
0.068404
0.162866
0.117264
0
0
0
0
0
0
0
0.033058
0.161663
433
21
61
20.619048
0.812672
0
0
0.133333
0
0
0.094688
0
0
0
0
0
0
1
0
false
0
0.2
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4d338a694ba39aee45cfe358b6af84325a9c27a7
574
py
Python
toyecdsa/commitment_ro.py
nmahendru/ecdsa
bb34eb4ece9e6915f8c2401dda0f2a7089a6ede9
[ "Apache-2.0" ]
null
null
null
toyecdsa/commitment_ro.py
nmahendru/ecdsa
bb34eb4ece9e6915f8c2401dda0f2a7089a6ede9
[ "Apache-2.0" ]
null
null
null
toyecdsa/commitment_ro.py
nmahendru/ecdsa
bb34eb4ece9e6915f8c2401dda0f2a7089a6ede9
[ "Apache-2.0" ]
1
2021-02-18T18:41:43.000Z
2021-02-18T18:41:43.000Z
""" Commitment scheme using a hash function(ROM) and fixed length blinding factor. Please refer to https://eprint.iacr.org/2020/540.pdf section 2.6 """ import secrets import hashlib blind_length = 32 def commit(input: bytes) -> (bytes, bytes): r = secrets.token_bytes(blind_length) return hashlib.sha3_256(in...
26.090909
78
0.703833
83
574
4.783133
0.542169
0.083123
0.085642
0.100756
0.161209
0.161209
0.161209
0
0
0
0
0.044397
0.175958
574
22
79
26.090909
0.794926
0.250871
0
0
0
0
0
0
0
0
0
0
0.272727
1
0.181818
false
0
0.181818
0
0.545455
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
4d346665f12d8a4130aaf2bab5fd56e8b0f7a14f
353
py
Python
update_notifications/utils.py
kmierzeje/django-update-notifications
f4c646133b5918b4641a2b14d071c320867eb735
[ "BSD-3-Clause" ]
null
null
null
update_notifications/utils.py
kmierzeje/django-update-notifications
f4c646133b5918b4641a2b14d071c320867eb735
[ "BSD-3-Clause" ]
null
null
null
update_notifications/utils.py
kmierzeje/django-update-notifications
f4c646133b5918b4641a2b14d071c320867eb735
[ "BSD-3-Clause" ]
null
null
null
from django.template.loader import render_to_string from django.conf import settings def render_template(instance, name): return render_to_string( f"{instance._meta.app_label}/notifications/{instance._meta.object_name.lower()}/{name}", { "object" : instance, 'site_url' : set...
35.3
96
0.68272
42
353
5.452381
0.595238
0.087336
0.122271
0
0
0
0
0
0
0
0
0
0.209632
353
10
97
35.3
0.820789
0
0
0
0
0
0.276836
0.237288
0
0
0
0
0
1
0.111111
false
0
0.222222
0.111111
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
0
1
0
0
0
1
4d40f34bb4f5d9da411cead1227fd972a08c23b3
1,090
py
Python
venmo/models.py
MaxFangX/lightning-venmo
84e1aab97009650dc255aeb5b78b5dd75242c5c5
[ "MIT" ]
null
null
null
venmo/models.py
MaxFangX/lightning-venmo
84e1aab97009650dc255aeb5b78b5dd75242c5c5
[ "MIT" ]
null
null
null
venmo/models.py
MaxFangX/lightning-venmo
84e1aab97009650dc255aeb5b78b5dd75242c5c5
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from django.contrib import admin class Profile(models.Model): user = models.OneToOneField(User) created_at = models.DateTimeField(auto_now_add=True) modified_at = models.DateTimeField(auto_now=True) handle = models.CharField(max_...
33.030303
96
0.72844
128
1,090
6.03125
0.460938
0.09715
0.11658
0.15544
0.15285
0
0
0
0
0
0
0.013029
0.155046
1,090
32
97
34.0625
0.82519
0.037615
0
0
0
0
0.106017
0
0
0
0
0
0
1
0
false
0
0.125
0
0.708333
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
4d43f3778e7ce7cbd64e5c767179e457d07d95ab
474
py
Python
deploy/kube/config_example.py
ysglh/DeepVideoAnalytics
ce807cc1595c813250bb4bc7dfc6fb76cd644335
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
3
2019-03-05T00:46:56.000Z
2021-11-26T10:20:40.000Z
deploy/kube/config_example.py
jiangxu87/DeepVideoAnalytics
e401b3273782409b2604657514bec293d6aa75b0
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
null
null
null
deploy/kube/config_example.py
jiangxu87/DeepVideoAnalytics
e401b3273782409b2604657514bec293d6aa75b0
[ "MIT", "Apache-2.0", "BSD-3-Clause" ]
4
2021-09-22T07:47:27.000Z
2022-01-23T14:16:08.000Z
region='' # GCP region e.g. us-central1 etc, dbusername='' dbpassword='' rabbithost='' rabbitusername='' rabbitpassword='' awskey='' # if you intend to import data from S3 awssecret='' # if you intend to import data from S3 mediabucket='' secretkey='' superuser='' superpass='' superemail='' cloudfsprefix='gs' cors_orig...
27.882353
103
0.732068
62
474
5.580645
0.774194
0.011561
0.063584
0.075145
0.16763
0.16763
0.16763
0.16763
0
0
0
0.007229
0.124473
474
17
104
27.882353
0.826506
0.407173
0
0
0
0
0.101083
0
0
0
0
0
0
1
0
false
0.235294
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
0
1
0
0
0
0
0
1
4d46c491f9cf3f662ac22651210c7f219262f897
960
py
Python
chapter09/not_as_simple_button.py
SpinStabilized/bbb-primer
c8af2c488e2b0923f1fcce9010f82b5feefd926a
[ "MIT" ]
3
2016-01-20T00:33:10.000Z
2021-01-20T04:50:02.000Z
chapter09/not_as_simple_button.py
SpinStabilized/bbb-primer
c8af2c488e2b0923f1fcce9010f82b5feefd926a
[ "MIT" ]
null
null
null
chapter09/not_as_simple_button.py
SpinStabilized/bbb-primer
c8af2c488e2b0923f1fcce9010f82b5feefd926a
[ "MIT" ]
2
2015-11-26T00:39:44.000Z
2016-06-12T14:48:06.000Z
import Adafruit_BBIO.GPIO as GPIO import time import subprocess # Define program constants BUTTON_PIN = 'P9_11' LED_PIN = 'P9_12' # Configure the GPIO pins and set the initial state of variables to track the # state of the button. GPIO.setup(BUTTON_PIN, GPIO.IN) GPIO.setup(LED_PIN, GPIO.OUT) GPIO.output(LED_PIN, G...
28.235294
77
0.73125
157
960
4.382166
0.509554
0.061047
0.05814
0.069767
0.09593
0.06686
0
0
0
0
0
0.007643
0.182292
960
33
78
29.090909
0.86879
0.445833
0
0.117647
0
0
0.14751
0
0
0
0
0
0
0
null
null
0
0.176471
null
null
0.058824
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
4d48bc90936abdb70c62be8ac47a4b529b377bb5
2,781
py
Python
spectrocrunch/math/tests/test_distributions.py
woutdenolf/spectrocrunch
fde4b6e0f462f464ce7af6a942b355d3d8f39f77
[ "MIT" ]
3
2018-04-16T15:51:36.000Z
2019-12-16T11:21:05.000Z
spectrocrunch/math/tests/test_distributions.py
woutdenolf/spectrocrunch
fde4b6e0f462f464ce7af6a942b355d3d8f39f77
[ "MIT" ]
null
null
null
spectrocrunch/math/tests/test_distributions.py
woutdenolf/spectrocrunch
fde4b6e0f462f464ce7af6a942b355d3d8f39f77
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import unittest from .. import distributions from scipy.integrate import quad import numpy as np import scipy.stats class test_distributions(unittest.TestCase): def _check_pdfintegral(self, integral, integrale, theory): integrale = max(integrale, 1e-5) limits = integral ...
28.090909
68
0.571737
389
2,781
4.03599
0.231362
0.061147
0.076433
0.053503
0.431847
0.338854
0.271338
0.256051
0.235669
0.170701
0
0.018677
0.287666
2,781
98
69
28.377551
0.773852
0.097447
0
0.25
0
0
0.008814
0
0
0
0
0.010204
0.015625
1
0.109375
false
0
0.109375
0
0.328125
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
4d4c8982b1f3ffa1c6ff3ed3592e8bad0d90ac6c
4,127
py
Python
xicam/SAXS/operations/onetime.py
lbl-camera/Xi-cam.plugins.SAXS
08d3e4168a171d72794a6faaaf8684ac97f8fdb5
[ "BSD-3-Clause" ]
null
null
null
xicam/SAXS/operations/onetime.py
lbl-camera/Xi-cam.plugins.SAXS
08d3e4168a171d72794a6faaaf8684ac97f8fdb5
[ "BSD-3-Clause" ]
11
2019-10-04T15:40:52.000Z
2020-02-12T22:41:15.000Z
xicam/SAXS/operations/onetime.py
lbl-camera/Xi-cam.plugins.SAXS
08d3e4168a171d72794a6faaaf8684ac97f8fdb5
[ "BSD-3-Clause" ]
1
2019-08-29T17:09:52.000Z
2019-08-29T17:09:52.000Z
import numpy as np from dask import array as da from typing import Tuple, List, Iterable import pyqtgraph as pg import skbeam.core.correlation as corr from xicam.SAXS.patches.pyFAI import AzimuthalIntegrator from xicam.core.intents import PlotIntent from xicam.core import msg from xicam.plugins.operationplugin import...
47.436782
117
0.648171
558
4,127
4.673835
0.374552
0.054831
0.023006
0.011503
0.065184
0.065184
0.065184
0.065184
0.065184
0.065184
0
0.011825
0.241822
4,127
86
118
47.988372
0.821668
0.11873
0
0
0
0.014925
0.157895
0.007165
0
0
0
0.011628
0
1
0.014925
false
0
0.149254
0
0.179104
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
4d5164d0afedfa9a3a435915e78b21fb8e6b093c
3,334
py
Python
password_generate.py
ByeonghoonJeon/Password-Generator
efae40db428b9cb398be6070f88e7438c385da83
[ "MIT" ]
null
null
null
password_generate.py
ByeonghoonJeon/Password-Generator
efae40db428b9cb398be6070f88e7438c385da83
[ "MIT" ]
null
null
null
password_generate.py
ByeonghoonJeon/Password-Generator
efae40db428b9cb398be6070f88e7438c385da83
[ "MIT" ]
null
null
null
import random import string letters = list(string.ascii_letters) numbers = list(string.digits) symbols = list(string.punctuation) # Greeting and ask how many digit they want for their password. print("Welcome to password generator!") # Check if input is digit and valid number (valid: total_digit > 0). total_digit =...
37.044444
110
0.678164
481
3,334
4.573805
0.2079
0.113636
0.061364
0.047727
0.515909
0.437273
0.411364
0.370455
0.335
0.335
0
0.004657
0.227055
3,334
89
111
37.460674
0.849049
0.229454
0
0.3
0
0.033333
0.322366
0.016451
0
0
0
0
0
1
0
false
0.216667
0.033333
0
0.033333
0.133333
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
4d56f89e98a46f3a05b9cf61f353d5b0c1184b89
3,327
py
Python
tools/python-tester/shift_pb2.py
nutc4k3/esp32-shift
2bcedbe539ca2442e0c4ccb17af29405ad9114bf
[ "Apache-2.0" ]
3
2020-06-04T02:57:10.000Z
2021-03-04T23:29:52.000Z
tools/python-tester/shift_pb2.py
nutc4k3/esp32-shift
2bcedbe539ca2442e0c4ccb17af29405ad9114bf
[ "Apache-2.0" ]
null
null
null
tools/python-tester/shift_pb2.py
nutc4k3/esp32-shift
2bcedbe539ca2442e0c4ccb17af29405ad9114bf
[ "Apache-2.0" ]
1
2020-06-14T01:34:44.000Z
2020-06-14T01:34:44.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: shift.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_dat...
29.442478
336
0.730087
416
3,327
5.584135
0.314904
0.04477
0.0904
0.05381
0.257856
0.237624
0.237624
0.237624
0.098149
0.098149
0
0.045263
0.143372
3,327
112
337
29.705357
0.769825
0.064923
0
0.450549
1
0.010989
0.154639
0.101482
0
0
0
0
0
1
0
false
0
0.043956
0
0.043956
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
4d598c30f2f81284558b38b713cf9ff7bfb4303d
9,787
py
Python
deepfashion2_api/PythonAPI/deepfashion2_retrieval_test.py
jaewon-jun9/cocofashion
5090183450b1a97ffe289c660c7dbb314bf34c59
[ "BSD-2-Clause-FreeBSD" ]
24
2021-01-08T01:40:02.000Z
2022-03-09T07:31:10.000Z
deepfashion2_api/PythonAPI/deepfashion2_retrieval_test.py
jaewon-jun9/cocofashion
5090183450b1a97ffe289c660c7dbb314bf34c59
[ "BSD-2-Clause-FreeBSD" ]
3
2021-07-29T04:21:19.000Z
2022-02-09T07:42:25.000Z
deepfashion2_api/PythonAPI/deepfashion2_retrieval_test.py
jaewon-jun9/cocofashion
5090183450b1a97ffe289c660c7dbb314bf34c59
[ "BSD-2-Clause-FreeBSD" ]
3
2021-08-24T12:16:49.000Z
2021-12-25T09:49:54.000Z
import json import numpy as np from pycocotools import mask as maskUtils thresh = 0.5 # load retrieval results results_image_id_all = [] results_query_score_all = [] results_query_cls_all = [] results_query_box_all = [] results_gallery_id_all = [] results_gallery_box_all = [] results_name = ' ' with open(results_na...
43.497778
168
0.646981
1,458
9,787
3.977366
0.091907
0.039834
0.048284
0.035868
0.484394
0.410416
0.337644
0.288326
0.217796
0.217796
0
0.019928
0.261674
9,787
224
169
43.691964
0.782591
0.125881
0
0.213873
0
0
0.024036
0
0
0
0
0
0.011561
0
null
null
0
0.017341
null
null
0.057803
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
4d610bc76ec0aca8c9c7b07daf1310a4576cbd0b
3,208
py
Python
CLI/mock_api/utils.py
MeatBoyed/PasswordBank2
f4367b22902ce1282772b184899e3d6e899c1cca
[ "MIT" ]
1
2021-02-08T17:45:28.000Z
2021-02-08T17:45:28.000Z
CLI/mock_api/utils.py
MeatBoyed/PasswordBank2
f4367b22902ce1282772b184899e3d6e899c1cca
[ "MIT" ]
null
null
null
CLI/mock_api/utils.py
MeatBoyed/PasswordBank2
f4367b22902ce1282772b184899e3d6e899c1cca
[ "MIT" ]
null
null
null
from getpass import getpass # Utility libary for common functions that every page needs access too. To stop coding same logic processes. def GetSelection(): while True: try: selection = int(input(": ")) if selection == "": print("Enter the site's name") ...
21.823129
108
0.475686
299
3,208
5.103679
0.250836
0.058978
0.055046
0.119266
0.510485
0.510485
0.510485
0.510485
0.510485
0.510485
0
0.003891
0.439214
3,208
146
109
21.972603
0.844358
0.033042
0
0.606383
0
0
0.188065
0
0
0
0
0
0
1
0.06383
false
0.117021
0.010638
0
0.138298
0.212766
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
4d65b0e3a80a6e4e88cac5ae146901b830ddcfe1
2,339
py
Python
shell/my_shell.py
utep-cs-systems-courses/os-shell-pauliejog
4746faad5001a9122b3cce38c8190b21f8edc53f
[ "BSD-3-Clause" ]
null
null
null
shell/my_shell.py
utep-cs-systems-courses/os-shell-pauliejog
4746faad5001a9122b3cce38c8190b21f8edc53f
[ "BSD-3-Clause" ]
null
null
null
shell/my_shell.py
utep-cs-systems-courses/os-shell-pauliejog
4746faad5001a9122b3cce38c8190b21f8edc53f
[ "BSD-3-Clause" ]
null
null
null
''' Paulie Jo Gonzalez CS 4375 - os Lab 1 - part 1 Last modified: 02/14/2021 This code includes a reference to the fork and exec methods provided by Dr. Freudenthal in os-demos. ''' import os import sys import re import time from lab_0 import my_read_line from my_redirect import redirect from my_pipe import pipe ps1 ...
31.186667
100
0.502351
290
2,339
4.017241
0.406897
0.04206
0.027468
0.025751
0.034335
0
0
0
0
0
0
0.027102
0.38478
2,339
74
101
31.608108
0.782488
0
0
0.163265
0
0
0.116772
0
0
0
0
0
0
0
null
null
0.020408
0.142857
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
4d6ae6c78de6acf4e8a8b15b01f322fc8ec57509
892
py
Python
pyray/rays.py
stefanholdermans/pyray
08825b1d3aad78abd8fd373336ad7ed4cfaef85f
[ "MIT" ]
null
null
null
pyray/rays.py
stefanholdermans/pyray
08825b1d3aad78abd8fd373336ad7ed4cfaef85f
[ "MIT" ]
null
null
null
pyray/rays.py
stefanholdermans/pyray
08825b1d3aad78abd8fd373336ad7ed4cfaef85f
[ "MIT" ]
null
null
null
# Copyright (c) 2020-2021 Stefan Holdermans. # Licensed under the MIT License. """Rays.""" from __future__ import annotations from dataclasses import dataclass from .matrices import Matrix from .tuples import Tuple, TupleTypeMismatchError @dataclass class Ray: """A ray.""" origin: Tuple direction: Tu...
25.485714
71
0.676009
106
892
5.59434
0.490566
0.067454
0.067454
0.084317
0
0
0
0
0
0
0
0.011628
0.2287
892
34
72
26.235294
0.850291
0.205157
0
0
0
0
0
0
0
0
0
0
0
1
0.176471
false
0
0.235294
0
0.705882
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
4d6c757fcfdb26c281d284b157232853db545c64
705
py
Python
venv/lib/python2.7/site-packages/coveralls/api.py
bopopescu/localstackvenv
3b1003c5fcca94fbd57ea722128d93b93119d2b5
[ "Apache-2.0" ]
1
2021-05-11T12:09:58.000Z
2021-05-11T12:09:58.000Z
coveralls/api.py
thurask/python-coveralls
c9ed82250160b1dbb2546fe070a25aaac8446843
[ "Apache-2.0" ]
null
null
null
coveralls/api.py
thurask/python-coveralls
c9ed82250160b1dbb2546fe070a25aaac8446843
[ "Apache-2.0" ]
2
2020-01-13T17:51:02.000Z
2020-07-24T17:50:44.000Z
import json from six import StringIO import requests def post(url, repo_token, service_job_id, service_name, git, source_files, parallel): json_file = build_file(repo_token, service_job_id, service_name, git, source_files, parallel) return requests.post(url, files={'json_file': json_file}) def build_file(re...
30.652174
97
0.702128
95
705
4.884211
0.273684
0.116379
0.12931
0.204741
0.4375
0.387931
0.387931
0.387931
0.387931
0.387931
0
0
0.197163
705
22
98
32.045455
0.819788
0
0
0
0
0
0.096454
0
0
0
0
0
0
1
0.111111
false
0
0.166667
0
0.388889
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
4d71fc0585597c722eef60ff6e63f15604a2e8f0
523
py
Python
creator/migrations/0002_auto_20180122_0811.py
Chaitya62/E-Certificates
9e46c9915d8883b41dca3111d98b6d1541fb8da2
[ "MIT" ]
3
2018-03-17T16:22:17.000Z
2020-04-20T13:36:50.000Z
creator/migrations/0002_auto_20180122_0811.py
Chaitya62/E-Certificates
9e46c9915d8883b41dca3111d98b6d1541fb8da2
[ "MIT" ]
1
2018-04-03T17:29:06.000Z
2018-04-03T17:29:06.000Z
creator/migrations/0002_auto_20180122_0811.py
Chaitya62/E-Certificates
9e46c9915d8883b41dca3111d98b6d1541fb8da2
[ "MIT" ]
1
2018-02-28T15:46:57.000Z
2018-02-28T15:46:57.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2018-01-22 08:11 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('creator', '0001_initial'), ] operations = [ migrations.RemoveField( model...
20.115385
46
0.562141
48
523
5.979167
0.729167
0.062718
0.174216
0
0
0
0
0
0
0
0
0.056338
0.321224
523
25
47
20.92
0.752113
0.126195
0
0.277778
1
0
0.101322
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
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
4d76a3da14e03dfc34ae5d21339e6c53f23e2329
426
py
Python
FishCDailyQuestion/ex011-020/Python3_019/019_09.py
YorkFish/git_study
6e023244daaa22e12b24e632e76a13e5066f2947
[ "MIT" ]
null
null
null
FishCDailyQuestion/ex011-020/Python3_019/019_09.py
YorkFish/git_study
6e023244daaa22e12b24e632e76a13e5066f2947
[ "MIT" ]
null
null
null
FishCDailyQuestion/ex011-020/Python3_019/019_09.py
YorkFish/git_study
6e023244daaa22e12b24e632e76a13e5066f2947
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # coding:utf-8 import os fname = input("请输入文件名,不必加后缀:") fname += ".txt" # 偷懒了,测试时少敲几下,下面也是 pf = "~/Desktop/%s" % fname if os.path.isfile(pf): # 判断文件与否;存在则返回 True print(fname, "已经存在!") else: with open(pf, 'w') as f: while True: one_line = input("请输入内容,(单独输入“.”为结束):") if one_line !...
19.363636
43
0.556338
61
426
3.836066
0.721311
0.089744
0
0
0
0
0
0
0
0
0
0.006231
0.246479
426
21
44
20.285714
0.722741
0.161972
0
0.133333
0
0
0.176136
0
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.133333
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
4d76ae8a944f5f58d7aa9c88f1701bc81a5d4a28
6,075
py
Python
tests/components/modem_callerid/test_config_flow.py
etactica/core
f751d6e064d70a9ce233cadb1d38b2ce05af6be9
[ "Apache-2.0" ]
6
2017-11-15T09:56:41.000Z
2021-01-24T15:12:09.000Z
tests/components/modem_callerid/test_config_flow.py
etactica/core
f751d6e064d70a9ce233cadb1d38b2ce05af6be9
[ "Apache-2.0" ]
87
2020-07-15T13:43:35.000Z
2022-03-23T07:43:10.000Z
tests/components/modem_callerid/test_config_flow.py
etactica/core
f751d6e064d70a9ce233cadb1d38b2ce05af6be9
[ "Apache-2.0" ]
2
2021-11-19T23:20:40.000Z
2021-11-20T00:18:40.000Z
"""Test Modem Caller ID config flow.""" from unittest.mock import AsyncMock, MagicMock, patch import phone_modem import serial.tools.list_ports from homeassistant.components import usb from homeassistant.components.modem_callerid.const import DOMAIN from homeassistant.config_entries import SOURCE_USB, SOURCE_USER fro...
34.913793
87
0.671111
716
6,075
5.391061
0.152235
0.056995
0.03886
0.056995
0.679534
0.640155
0.610881
0.610881
0.610881
0.604922
0
0.004014
0.220741
6,075
173
88
35.115607
0.811365
0.009218
0
0.503597
0
0
0.09678
0.037772
0
0
0
0
0.151079
1
0.014388
false
0
0.071942
0.007194
0.100719
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
4d7900e7d4ce053f597938687dfcd641f3c67418
2,522
py
Python
roles/carousel/leds_solenoids_cycle.py
andycavatorta/pinball
f718982ed76521090f5eee5fb5a25cd3e8ce5ce4
[ "MIT" ]
1
2021-04-01T17:33:48.000Z
2021-04-01T17:33:48.000Z
roles/carousel/leds_solenoids_cycle.py
andycavatorta/pinball
f718982ed76521090f5eee5fb5a25cd3e8ce5ce4
[ "MIT" ]
null
null
null
roles/carousel/leds_solenoids_cycle.py
andycavatorta/pinball
f718982ed76521090f5eee5fb5a25cd3e8ce5ce4
[ "MIT" ]
null
null
null
import adafruit_tlc5947 import board import busio import digitalio import queue import RPi.GPIO as GPIO import threading import time SCK = board.SCK MOSI = board.MOSI LATCH = digitalio.DigitalInOut(board.D26) number_of_boards = 1 number_of_channels = number_of_boards * 24 spi = busio.SPI(clock=SCK, MOSI=MOSI) tlc5...
25.474747
61
0.595163
346
2,522
4.132948
0.300578
0.058741
0.062937
0.073427
0.235664
0.206993
0.106294
0.106294
0.055944
0.055944
0
0.05422
0.290642
2,522
98
62
25.734694
0.745109
0.007137
0
0.125
0
0
0.008796
0
0
0
0
0.010204
0
1
0.05
false
0
0.1
0
0.1625
0.0375
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
4d79e455aec578b52a060f447e24eb97885b0065
615
py
Python
tests/instances/test_base.py
kitasubmarine/scopt
0da1f2fa3076e408e65e803eaaed0b8716f20b56
[ "MIT" ]
4
2021-06-10T10:03:08.000Z
2022-03-18T13:11:25.000Z
tests/instances/test_base.py
kitasubmarine/scopt
0da1f2fa3076e408e65e803eaaed0b8716f20b56
[ "MIT" ]
null
null
null
tests/instances/test_base.py
kitasubmarine/scopt
0da1f2fa3076e408e65e803eaaed0b8716f20b56
[ "MIT" ]
1
2022-03-30T04:55:14.000Z
2022-03-30T04:55:14.000Z
import pytest from scopt.instances import Instance class TestInstance: def test_instance(self) -> None: instance = Instance(4, 32) assert instance.num_cores == 4 assert instance.memory_size == 32 def test_default_instance(self) -> None: instance = Instance() assert in...
25.625
47
0.64065
73
615
5.246575
0.369863
0.073107
0.083551
0.125326
0.386423
0.219321
0.219321
0
0
0
0
0.031111
0.268293
615
23
48
26.73913
0.82
0
0
0.117647
0
0
0
0
0
0
0
0
0.235294
1
0.235294
false
0
0.117647
0
0.411765
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
4d7da50e90a4dbcc32ff27fd2e7d2cee387f8abb
7,959
py
Python
apps/users/models.py
likx2/HypeFans
9eb3ce6293d2aea218e13aedcf32796d0ab40507
[ "MIT" ]
null
null
null
apps/users/models.py
likx2/HypeFans
9eb3ce6293d2aea218e13aedcf32796d0ab40507
[ "MIT" ]
null
null
null
apps/users/models.py
likx2/HypeFans
9eb3ce6293d2aea218e13aedcf32796d0ab40507
[ "MIT" ]
null
null
null
import datetime from django.db import models from django.contrib.auth.models import AbstractUser from core.utils.func import user_avatar from unixtimestampfield.fields import UnixTimeStampField from django_countries.fields import CountryField from dateutil.relativedelta import relativedelta import datetime from django....
36.677419
135
0.697072
916
7,959
5.844978
0.264192
0.086291
0.021853
0.028577
0.335263
0.249346
0.145872
0.096377
0.069481
0.035861
0
0.003297
0.199774
7,959
216
136
36.847222
0.837337
0
0
0.168539
0
0
0.170624
0.019852
0
0
0
0
0
1
0.061798
false
0.033708
0.050562
0.039326
0.52809
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4d8034777c823900459417cf54c42b36843c6499
1,201
py
Python
trebelge/TRUBLCommonElementsStrategy/TRUBLTaxScheme.py
Framras/trebelge
362179925dc688ad8ea008f532de72e67e49941b
[ "MIT" ]
6
2019-12-21T21:15:50.000Z
2021-12-30T21:59:53.000Z
trebelge/TRUBLCommonElementsStrategy/TRUBLTaxScheme.py
Framras/trebelge
362179925dc688ad8ea008f532de72e67e49941b
[ "MIT" ]
null
null
null
trebelge/TRUBLCommonElementsStrategy/TRUBLTaxScheme.py
Framras/trebelge
362179925dc688ad8ea008f532de72e67e49941b
[ "MIT" ]
3
2020-01-05T19:32:40.000Z
2021-11-03T14:11:21.000Z
from xml.etree.ElementTree import Element from frappe.model.document import Document from trebelge.TRUBLCommonElementsStrategy.TRUBLCommonElement import TRUBLCommonElement class TRUBLTaxScheme(TRUBLCommonElement): def process_element(self, element: Element, cbcnamespace: str, cacnamespace: str) -> Document: ...
41.413793
100
0.623647
119
1,201
6.184874
0.394958
0.076087
0.048913
0.081522
0.192935
0.130435
0.130435
0
0
0
0
0.011038
0.245629
1,201
28
101
42.892857
0.801325
0.129892
0
0
0
0
0.032661
0
0
0
0
0
0
1
0.105263
false
0.052632
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
4d8561549cfd4f8f2fe38c551335f476608d3cf3
2,948
py
Python
snake/assembler.py
travcunn/me-virtual-machine
ba475d30cbc15ea1d999cdccab570dc7a0e20065
[ "BSD-3-Clause" ]
7
2016-06-04T12:01:36.000Z
2018-01-22T14:48:26.000Z
snake/assembler.py
travcunn/simple-cpu-emulator
ba475d30cbc15ea1d999cdccab570dc7a0e20065
[ "BSD-3-Clause" ]
2
2016-06-02T17:04:07.000Z
2016-06-03T02:38:30.000Z
snake/assembler.py
travcunn/simple-cpu-emulator
ba475d30cbc15ea1d999cdccab570dc7a0e20065
[ "BSD-3-Clause" ]
1
2016-07-31T14:59:35.000Z
2016-07-31T14:59:35.000Z
OP_CODES = { "inp": 0, "cla": 1, "add": 2, "tac": 3, "sft": 4, "out": 5, "sto": 6, "sub": 7, "jmp": 8, "hlt": 9, "mul": 10, "div": 11, "noop": 12 } class InstructionError(Exception): pass class Assembler(object): def __init__(self, inputfile): sel...
26.088496
77
0.484057
358
2,948
3.865922
0.293296
0.028902
0.101156
0.112717
0.351156
0.277457
0.277457
0.223988
0.195087
0.195087
0
0.032004
0.395862
2,948
112
78
26.321429
0.745087
0.067503
0
0.236842
0
0
0.033911
0
0
0
0
0
0
1
0.065789
false
0.065789
0
0
0.105263
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
4d8a7851bd0541681189f0ffc59666404639b58a
2,825
py
Python
coldtype/renderer/winman/webview.py
goodhertz/coldtype
2460b66abb28e9532f9e2b55167ae565f95366e7
[ "Apache-2.0" ]
142
2020-06-12T17:01:58.000Z
2022-03-16T23:21:37.000Z
coldtype/renderer/winman/webview.py
goodhertz/coldtype
2460b66abb28e9532f9e2b55167ae565f95366e7
[ "Apache-2.0" ]
35
2020-04-15T15:34:54.000Z
2022-03-19T20:26:47.000Z
coldtype/renderer/winman/webview.py
goodhertz/coldtype
2460b66abb28e9532f9e2b55167ae565f95366e7
[ "Apache-2.0" ]
14
2020-06-23T18:56:46.000Z
2022-03-31T15:54:56.000Z
import threading, json from pathlib import Path from http.server import SimpleHTTPRequestHandler, HTTPServer from coldtype.renderer.winman.passthrough import WinmanPassthrough from coldtype.renderer.config import ConfigOption, ColdtypeConfig from coldtype.pens.svgpen import SVGPen from coldtype.pens.jsonpen import J...
32.471264
83
0.562124
273
2,825
5.677656
0.413919
0.041935
0.025806
0.023226
0.030968
0.030968
0
0
0
0
0
0.005864
0.335929
2,825
86
84
32.848837
0.820362
0.004248
0
0.115942
0
0
0.062255
0.017787
0
0
0
0.011628
0
1
0.101449
false
0.043478
0.101449
0
0.246377
0.014493
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
4d8d76bb6ffdd6673b3decb7a8b0e3cf88bff4f4
4,352
py
Python
py_src/builtins.py
bcoopers/PoiBoi
0741e334d843aa053f7a9c6f0c618c6c103333df
[ "Apache-2.0" ]
null
null
null
py_src/builtins.py
bcoopers/PoiBoi
0741e334d843aa053f7a9c6f0c618c6c103333df
[ "Apache-2.0" ]
null
null
null
py_src/builtins.py
bcoopers/PoiBoi
0741e334d843aa053f7a9c6f0c618c6c103333df
[ "Apache-2.0" ]
null
null
null
''' Copyright 2018 Brian Coopersmith 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 https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, soft...
30.013793
160
0.582031
512
4,352
4.804688
0.220703
0.056911
0.035772
0.04878
0.446341
0.370732
0.370732
0.370732
0.230081
0.230081
0
0.014386
0.313189
4,352
144
161
30.222222
0.808632
0.0108
0
0.463636
0
0
0.088306
0
0
0
0
0.006944
0
0
null
null
0
0
null
null
0.009091
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
4d8f3b659055f9bfca5aaf7b2054124ac6aeef8f
3,985
py
Python
client/Agent/stare.py
zhanglei/Qalarm
b528a405c48ed9a5dbdc9c5e09bc060e6ba31f9b
[ "MIT" ]
1
2019-04-29T12:39:43.000Z
2019-04-29T12:39:43.000Z
client/Agent/stare.py
zhanglei/Qalarm
b528a405c48ed9a5dbdc9c5e09bc060e6ba31f9b
[ "MIT" ]
null
null
null
client/Agent/stare.py
zhanglei/Qalarm
b528a405c48ed9a5dbdc9c5e09bc060e6ba31f9b
[ "MIT" ]
null
null
null
from os import stat import json import signal import socket import time from module import conf # Report def report(error, module): if report.fp is None: report.fp = open(conf.qalarm_file, 'a') # Level if 'level' not in error: error['level'] = 'default' else: error['level'] =...
24.598765
98
0.544542
486
3,985
4.364198
0.296296
0.025931
0.026403
0.039604
0.179632
0.121169
0.099481
0.063178
0.063178
0
0
0.005162
0.319448
3,985
161
99
24.751553
0.776917
0.072773
0
0.128713
0
0
0.138776
0.006803
0
0
0
0
0
0
null
null
0
0.059406
null
null
0.069307
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
4d91bae55f4ff4f3b9d40b8d55b4abb2011774db
969
py
Python
Source/oceanscript/errors.py
Just-Jojo/OceanScript
f8cfad74d751915bb2eeae1eaa9aeb0b399d751e
[ "MIT" ]
2
2021-08-29T16:51:55.000Z
2021-08-30T18:28:05.000Z
Source/oceanscript/errors.py
Just-Jojo/OceanScript
f8cfad74d751915bb2eeae1eaa9aeb0b399d751e
[ "MIT" ]
6
2021-08-14T14:23:42.000Z
2022-02-26T18:53:09.000Z
Source/oceanscript/errors.py
Just-Jojo/OceanScript
f8cfad74d751915bb2eeae1eaa9aeb0b399d751e
[ "MIT" ]
1
2021-08-30T15:58:06.000Z
2021-08-30T15:58:06.000Z
class OceanScriptError(Exception): """The base exception for all oceanscript related errors.""" pass class ForbiddenSquareError(OceanScriptError): """This exception is now deprecated with the addition of numbers.""" def __init__(self): import warnings warnings.warn( "For...
28.5
94
0.666667
103
969
6.029126
0.621359
0.033816
0.05314
0
0
0
0
0
0
0
0
0.001348
0.234262
969
33
95
29.363636
0.83558
0.255934
0
0.111111
0
0
0.217143
0
0
0
0
0
0
1
0.166667
false
0.055556
0.055556
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
1
0
0
0
0
0
1
4d929201721f03026a79c2c1f8d3a63496b293d4
238
py
Python
Desafios/desafio14.py
ArthurBrito1/MY-SCRIPTS-PYTHON
86967fe293715a705ac50e908d3369fa3257b5a2
[ "MIT" ]
1
2019-11-21T02:08:58.000Z
2019-11-21T02:08:58.000Z
Desafios/desafio14.py
ArthurBrito1/MY-SCRIPTS-PYTHON
86967fe293715a705ac50e908d3369fa3257b5a2
[ "MIT" ]
null
null
null
Desafios/desafio14.py
ArthurBrito1/MY-SCRIPTS-PYTHON
86967fe293715a705ac50e908d3369fa3257b5a2
[ "MIT" ]
null
null
null
dias = int(input('A quantidade de dias que o carro foi alugado:')) kilometros = float(input('Quantidade de quilometros rodados:')) pagamento = (dias*60) + (kilometros*0.15) print('O valor a ser pago será de R${:.2f}'.format(pagamento))
59.5
67
0.710084
37
238
4.567568
0.72973
0.142012
0
0
0
0
0
0
0
0
0
0.029126
0.134454
238
4
68
59.5
0.791262
0
0
0
0
0
0.483051
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
4d92a7a756e4d7b75e5a60dc2807fc73fa0175ef
1,632
py
Python
test/clients/test_DummyDirectClient.py
pip-services-archive/pip-services-runtime-python
70eca1ffc44bfdc45c9c65b0ee347fa578368849
[ "MIT" ]
null
null
null
test/clients/test_DummyDirectClient.py
pip-services-archive/pip-services-runtime-python
70eca1ffc44bfdc45c9c65b0ee347fa578368849
[ "MIT" ]
null
null
null
test/clients/test_DummyDirectClient.py
pip-services-archive/pip-services-runtime-python
70eca1ffc44bfdc45c9c65b0ee347fa578368849
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ tests.clients.test_DummyDirectClient ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ :copyright: (c) Digital Living Software Corp. 2015-2016, see AUTHORS for more details. :license: MIT, see LICENSE for more details. """ import sys import os sys.path.append(os.path.join(os.path.di...
29.142857
90
0.711397
172
1,632
6.604651
0.406977
0.024648
0.052817
0.077465
0
0
0
0
0
0
0
0.006762
0.184436
1,632
55
91
29.672727
0.846732
0.140319
0
0
0
0
0.001456
0
0
0
0
0
0
1
0.125
false
0
0.34375
0
0.59375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4d986299091ce3137299b49c5ba5842cb89dcbc0
842
py
Python
__main__.py
kertox662/Sorting-Algorithms
96575fd6563c6d01756317cb9a08310131bddde7
[ "Unlicense" ]
null
null
null
__main__.py
kertox662/Sorting-Algorithms
96575fd6563c6d01756317cb9a08310131bddde7
[ "Unlicense" ]
null
null
null
__main__.py
kertox662/Sorting-Algorithms
96575fd6563c6d01756317cb9a08310131bddde7
[ "Unlicense" ]
null
null
null
#!/usr/bin/python from bogoSort import bogoSort from bubbleSort import bubbleSort from cocktailShakerSort import cocktailShakerSort from combSort import combSort from gnomeSort import gnomeSort from insertionSort import insertionSort from utils import randomSequence import sys args = sys.argv[1:] for target in args...
24.764706
83
0.679335
96
842
5.958333
0.447917
0.125874
0.146853
0.153846
0.160839
0
0
0
0
0
0
0.012289
0.226841
842
33
84
25.515152
0.866359
0.019002
0
0.153846
0
0
0.139394
0.027879
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0.192308
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
4d9b88ae9a6c253110246fcc0b8af4c448005e86
1,177
py
Python
References/Geovana Neves/TCC_Geovana_Neves_GitHub/SUAVE_modifications/SUAVE-feature-constant_throttle_EAS/trunk/SUAVE/Attributes/Constants/Composition.py
Vinicius-Tanigawa/Undergraduate-Research-Project
e92372f07882484b127d7affe305eeec2238b8a9
[ "MIT" ]
null
null
null
References/Geovana Neves/TCC_Geovana_Neves_GitHub/SUAVE_modifications/SUAVE-feature-constant_throttle_EAS/trunk/SUAVE/Attributes/Constants/Composition.py
Vinicius-Tanigawa/Undergraduate-Research-Project
e92372f07882484b127d7affe305eeec2238b8a9
[ "MIT" ]
null
null
null
References/Geovana Neves/TCC_Geovana_Neves_GitHub/SUAVE_modifications/SUAVE-feature-constant_throttle_EAS/trunk/SUAVE/Attributes/Constants/Composition.py
Vinicius-Tanigawa/Undergraduate-Research-Project
e92372f07882484b127d7affe305eeec2238b8a9
[ "MIT" ]
null
null
null
# Composition.py # # Created: Mar 2014, J. Sinsay # Modified: Jan, 2016, M. Vegh # ---------------------------------------------------------------------- # Imports # ---------------------------------------------------------------------- # initialized constants from Constant import Constant # exceptions/warn...
26.155556
72
0.420561
106
1,177
4.575472
0.5
0.012371
0.028866
0.037113
0
0
0
0
0
0
0
0.024504
0.271878
1,177
44
73
26.75
0.541424
0.478335
0
0
0
0
0.072513
0
0
0
0
0
0
1
0.117647
false
0.058824
0.117647
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
4da13eca4bf9310745fa8a2d9455b21ea0efc882
2,259
py
Python
env/Lib/site-packages/azure/mgmt/common/arm.py
Ammar12/simplebanking
6080d638b2e98bfcf96d782703e1dce25aebfcbc
[ "MIT" ]
null
null
null
env/Lib/site-packages/azure/mgmt/common/arm.py
Ammar12/simplebanking
6080d638b2e98bfcf96d782703e1dce25aebfcbc
[ "MIT" ]
null
null
null
env/Lib/site-packages/azure/mgmt/common/arm.py
Ammar12/simplebanking
6080d638b2e98bfcf96d782703e1dce25aebfcbc
[ "MIT" ]
null
null
null
#------------------------------------------------------------------------- # Copyright (c) Microsoft. 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://ww...
27.54878
76
0.540505
247
2,259
4.834008
0.352227
0.050251
0.046064
0.08794
0.077052
0
0
0
0
0
0
0.002546
0.30456
2,259
81
77
27.888889
0.757479
0.389553
0
0.175
0
0
0.0189
0
0
0
0
0
0
1
0.3
false
0
0
0
0.475
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
4da4016a1ccabfe63e297a093bd40595a6d490ab
1,835
py
Python
Requests-HTTP_Per_Esseri_Umani/0-requests-tutorial-ita.py
pymike00/youtube-scripts
98ebf71a74b7fc9ea710d9d2c49cb191f27073cb
[ "MIT" ]
19
2020-12-30T01:19:55.000Z
2022-03-13T19:12:27.000Z
Requests-HTTP_Per_Esseri_Umani/0-requests-tutorial-ita.py
pymike00/youtube-scripts
98ebf71a74b7fc9ea710d9d2c49cb191f27073cb
[ "MIT" ]
null
null
null
Requests-HTTP_Per_Esseri_Umani/0-requests-tutorial-ita.py
pymike00/youtube-scripts
98ebf71a74b7fc9ea710d9d2c49cb191f27073cb
[ "MIT" ]
14
2020-09-25T19:33:59.000Z
2022-03-07T21:38:21.000Z
import requests # Documentazione modulo: http://it.python-requests.org/it/latest/ ############################################################################### ############################################################################### # Una richiesta di tipo GET verso la homepage di Google response = requests...
36.7
79
0.497548
172
1,835
5.302326
0.540698
0.032895
0.032895
0.052632
0.061404
0
0
0
0
0
0
0.001817
0.100272
1,835
49
80
37.44898
0.550575
0.40218
0
0
0
0
0.232816
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0.714286
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
4da8047ab8e70384620ca3dfc6f55863de97a68e
2,470
py
Python
code/tests/test_prepare/test_pmi.py
evolaemp/svmcc
c57c92c6b97f57ab8f7bc20ac06c1c77d96c5143
[ "MIT" ]
1
2020-07-16T05:01:16.000Z
2020-07-16T05:01:16.000Z
code/tests/test_prepare/test_pmi.py
evolaemp/svmcc
c57c92c6b97f57ab8f7bc20ac06c1c77d96c5143
[ "MIT" ]
null
null
null
code/tests/test_prepare/test_pmi.py
evolaemp/svmcc
c57c92c6b97f57ab8f7bc20ac06c1c77d96c5143
[ "MIT" ]
2
2017-04-29T07:29:53.000Z
2020-07-16T16:48:42.000Z
import os.path from unittest import TestCase from code.cli import PARAMS_DIR, TESTS_DIR from code.prepare.base import load_data from code.prepare.lexstat import set_schema from code.prepare.pmi import * from code.prepare.params import load_params FIXTURE_DATASET = os.path.join(TESTS_DIR, 'fixtures/GER.tsv') cl...
31.666667
79
0.706073
370
2,470
4.591892
0.232432
0.132431
0.075338
0.080047
0.454385
0.433785
0.39847
0.359623
0.264273
0.240141
0
0.10456
0.121053
2,470
77
80
32.077922
0.678029
0
0
0.235294
0
0
0.131579
0.071255
0
0
0
0
0.490196
1
0.117647
false
0
0.137255
0
0.27451
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
4dabf5ed89f5c0c780a6036bf66d554834a0d608
3,248
py
Python
tests/misc/test_utils.py
lpd6375/qlib
3a911bc09ba5136cd7c61c2c8dcca8a63339e738
[ "MIT" ]
8,637
2020-09-21T05:07:34.000Z
2022-03-31T10:02:54.000Z
tests/misc/test_utils.py
lpd6375/qlib
3a911bc09ba5136cd7c61c2c8dcca8a63339e738
[ "MIT" ]
711
2020-09-21T03:32:44.000Z
2022-03-31T22:18:42.000Z
tests/misc/test_utils.py
lpd6375/qlib
3a911bc09ba5136cd7c61c2c8dcca8a63339e738
[ "MIT" ]
1,569
2020-09-21T10:21:08.000Z
2022-03-31T01:14:12.000Z
from unittest.case import TestCase import unittest import pandas as pd import numpy as np from datetime import datetime from qlib import init from qlib.config import C from qlib.log import TimeInspector from qlib.utils.time import cal_sam_minute as cal_sam_minute_new, get_min_cal def cal_sam_minute(x, sam_minutes): ...
36.088889
110
0.612685
441
3,248
4.326531
0.283447
0.080713
0.09434
0.099581
0.319707
0.284067
0.221174
0.168763
0.132075
0.053459
0
0.033202
0.295259
3,248
89
111
36.494382
0.80035
0.171182
0
0.095238
0
0
0.042137
0
0
0
0
0.011236
0.015873
1
0.063492
false
0
0.142857
0
0.253968
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
4dad4bd1c42888846beee65e3cfd551fdc4e345e
638
py
Python
tests/settings.py
sunlightlabs/waterfall
974bebca43c185433b7116812fb15a1337cb4d25
[ "BSD-3-Clause" ]
1
2015-05-21T14:43:27.000Z
2015-05-21T14:43:27.000Z
tests/settings.py
sunlightlabs/waterfall
974bebca43c185433b7116812fb15a1337cb4d25
[ "BSD-3-Clause" ]
null
null
null
tests/settings.py
sunlightlabs/waterfall
974bebca43c185433b7116812fb15a1337cb4d25
[ "BSD-3-Clause" ]
null
null
null
import os BASE_DIR = os.path.dirname(os.path.dirname(__file__)) DEBUG = True TEMPLATE_DEBUG = True LANGUAGE_CODE = 'en-us' TIME_ZONE = 'UTC' USE_I18N = True USE_L10N = True USE_TZ = True INSTALLED_APPS = ( 'tests', ) DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql_psycopg2', ...
17.243243
59
0.559561
69
638
4.956522
0.57971
0.035088
0.076023
0.128655
0.473684
0.473684
0.473684
0.473684
0.473684
0.473684
0
0.012848
0.268025
638
37
60
17.243243
0.719486
0
0
0.344828
0
0
0.309859
0.118936
0
0
0
0
0
1
0
false
0.068966
0.034483
0
0.034483
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
4dad51014ec4c36e2cc7742053795deea4c6c1db
17,441
py
Python
pyano2/models.py
mental689/pyano
2bc75e79618392f2013dfde2ac8035fe5fa1dc61
[ "MIT" ]
1
2022-01-31T17:34:37.000Z
2022-01-31T17:34:37.000Z
pyano2/models.py
mental689/pyano
2bc75e79618392f2013dfde2ac8035fe5fa1dc61
[ "MIT" ]
null
null
null
pyano2/models.py
mental689/pyano
2bc75e79618392f2013dfde2ac8035fe5fa1dc61
[ "MIT" ]
null
null
null
import logging import vision from django.contrib.auth.models import User from django.db import models from django.utils.timezone import now, timedelta from django.utils.translation import ugettext_lazy as _ from survey.models import Survey, Video, VideoCategory from vision.track.interpolation import LinearFill from p...
39.459276
124
0.68253
2,105
17,441
5.522565
0.16342
0.075183
0.091011
0.089462
0.445247
0.422452
0.376688
0.319398
0.282753
0.233634
0
0.010971
0.205607
17,441
441
125
39.548753
0.828077
0.032223
0
0.233038
0
0
0.054437
0.001549
0
0
0
0.002268
0
1
0.064897
false
0.0059
0.029499
0.023599
0.657817
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
4db46964a8629658cfeaaf276a26b56ac2a73377
450
py
Python
order/migrations/0007_order_total_price_with_discount.py
Sajjad2117/shop
e611c7f8ce01e4aeebb84a9ccc9fe8b1d85a01b1
[ "MIT" ]
1
2021-10-02T15:26:59.000Z
2021-10-02T15:26:59.000Z
order/migrations/0007_order_total_price_with_discount.py
Sajjad2117/shop
e611c7f8ce01e4aeebb84a9ccc9fe8b1d85a01b1
[ "MIT" ]
null
null
null
order/migrations/0007_order_total_price_with_discount.py
Sajjad2117/shop
e611c7f8ce01e4aeebb84a9ccc9fe8b1d85a01b1
[ "MIT" ]
null
null
null
# Generated by Django 3.2.7 on 2021-10-11 19:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('order', '0006_auto_20211007_2343'), ] operations = [ migrations.AddField( model_name='order', name='total_price_with...
23.684211
100
0.642222
50
450
5.56
0.76
0.064748
0.100719
0.129496
0.18705
0
0
0
0
0
0
0.091988
0.251111
450
18
101
25
0.732938
0.1
0
0
1
0
0.208437
0.181141
0
0
0
0
0
1
0
false
0
0.083333
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4db79a29de51a49845b5a86dffad64f9d48f887d
1,921
py
Python
ColorDetector.py
bijilap/ColorRecognition
a070645e5bda40c0d06d03db468f31c79b63d0bd
[ "Apache-2.0" ]
2
2018-03-29T12:15:04.000Z
2019-01-09T02:09:41.000Z
ColorDetector.py
bijilap/ColorRecognition
a070645e5bda40c0d06d03db468f31c79b63d0bd
[ "Apache-2.0" ]
null
null
null
ColorDetector.py
bijilap/ColorRecognition
a070645e5bda40c0d06d03db468f31c79b63d0bd
[ "Apache-2.0" ]
null
null
null
import scipy import scipy.misc import scipy.cluster from scipy.cluster.vq import vq, kmeans import Image import webcolors import numpy LOG_LEVEL_REGULAR = 0 LOG_LEVEL_DEBUG = 1 class ColorDetector: NUM_OF_CLUSTERS = 10 log_level = LOG_LEVEL_REGULAR def log(self, msg, log_level=LOG_LEVEL_DEBUG): ...
29.106061
88
0.632483
238
1,921
4.915966
0.361345
0.054701
0.05812
0.02735
0.042735
0
0
0
0
0
0
0.005043
0.27746
1,921
65
89
29.553846
0.837896
0.025508
0
0
0
0
0.043362
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.122449
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
4dbeac8498105662565109ca5759b3cbb7805674
710
py
Python
webapp/apps/blog/admin.py
eb-intl/eb-intl.com
36f0026c4af61aa68fd294871fdd693680f690ce
[ "MIT" ]
null
null
null
webapp/apps/blog/admin.py
eb-intl/eb-intl.com
36f0026c4af61aa68fd294871fdd693680f690ce
[ "MIT" ]
null
null
null
webapp/apps/blog/admin.py
eb-intl/eb-intl.com
36f0026c4af61aa68fd294871fdd693680f690ce
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ """ from django.contrib import admin from models import Article, Tag @admin.register(Tag) class TagAdmin(admin.ModelAdmin): list_display = ('id', 'name', 'description') search_fields = ('id', 'name', 'description') ordering = ['order', 'name', 'description'] list_display_l...
28.4
71
0.635211
77
710
5.714286
0.454545
0.1
0.122727
0.118182
0.259091
0
0
0
0
0
0
0.001684
0.16338
710
24
72
29.583333
0.739057
0.029577
0
0
0
0
0.230882
0
0
0
0
0
0
1
0
false
0
0.125
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4dc1debeccfac356a9d7cf6d7304ca06b3d29a4a
1,546
py
Python
tests/test_gui/__init__.py
yegarti/arcade
1862e61aab9a7dc646265005b0e808d953a9dfe3
[ "MIT" ]
null
null
null
tests/test_gui/__init__.py
yegarti/arcade
1862e61aab9a7dc646265005b0e808d953a9dfe3
[ "MIT" ]
null
null
null
tests/test_gui/__init__.py
yegarti/arcade
1862e61aab9a7dc646265005b0e808d953a9dfe3
[ "MIT" ]
null
null
null
from abc import abstractmethod from contextlib import contextmanager from typing import List import arcade from arcade.gui.events import UIEvent class InteractionMixin: def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.event_history: List[UIEvent] = [] def move_mous...
26.20339
78
0.655886
219
1,546
4.429224
0.273973
0.014433
0.041237
0.046392
0.37732
0.37732
0.360825
0.235052
0.235052
0.175258
0
0.004209
0.231565
1,546
58
79
26.655172
0.81229
0
0
0.04878
0
0
0
0
0
0
0
0
0
1
0.268293
false
0.02439
0.121951
0.02439
0.439024
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
4dc295f5f03fe0fbbb990e6086820a2a81d5fd8b
652
py
Python
main.py
flyahn06/weatherNotificator
af1790e073c48fdbb9a8c3c3f2ea7c6cf3d084f8
[ "MIT" ]
1
2021-03-06T10:39:41.000Z
2021-03-06T10:39:41.000Z
main.py
flyahn06/weatherNotificator
af1790e073c48fdbb9a8c3c3f2ea7c6cf3d084f8
[ "MIT" ]
null
null
null
main.py
flyahn06/weatherNotificator
af1790e073c48fdbb9a8c3c3f2ea7c6cf3d084f8
[ "MIT" ]
null
null
null
import weather_getter import win10toast from time import sleep import pprint import subprocess code, current_weather = weather_getter.generateRequest() pprint.pprint(current_weather) def clicked(): print("Clicked!") subprocess.run("python mainwindow.py") toaster = win10toast.ToastNotifier() print() toaster...
22.482759
91
0.726994
83
652
5.578313
0.614458
0.151188
0.136069
0.095032
0
0
0
0
0
0
0
0.015845
0.128834
652
28
92
23.285714
0.797535
0
0
0
1
0
0.291411
0.216258
0
0
0
0
0
1
0.045455
false
0
0.227273
0
0.272727
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4dcadaff58667c29f1ba87ea8f488d1facbe3793
2,946
py
Python
src/main/scripts/evalWigFileAtThreshold.py
cwhelan/cloudbreak
bcff41d5309cfffb1faffc1d46e3f85007f84981
[ "MIT" ]
4
2015-02-10T07:10:28.000Z
2016-09-18T19:29:53.000Z
src/main/scripts/evalWigFileAtThreshold.py
cwhelan/cloudbreak
bcff41d5309cfffb1faffc1d46e3f85007f84981
[ "MIT" ]
null
null
null
src/main/scripts/evalWigFileAtThreshold.py
cwhelan/cloudbreak
bcff41d5309cfffb1faffc1d46e3f85007f84981
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys from cStringIO import StringIO import random import subprocess import tempfile import os import sys import evalBedFile def open_file(wig_filename): if (wig_filename.endswith("gz")): p = subprocess.Popen(["gzcat",wig_filename], stdout = subproce...
40.356164
369
0.703666
401
2,946
4.917706
0.32419
0.039047
0.054767
0.03854
0.463489
0.463489
0.433063
0.433063
0.383367
0.383367
0
0.012395
0.151052
2,946
72
370
40.916667
0.77609
0.006789
0
0.245902
0
0
0.177094
0.029744
0
0
0
0
0
0
null
null
0
0.131148
null
null
0.114754
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
4dd28d3101dd5a6f9fe7577bedc833639d42dd40
229
py
Python
01_01_08_Read_CSV.py
shevc07/Machine_Learning_for_Trading
11581254168ece5ecebff71e7cee6c9efa10929d
[ "MIT" ]
null
null
null
01_01_08_Read_CSV.py
shevc07/Machine_Learning_for_Trading
11581254168ece5ecebff71e7cee6c9efa10929d
[ "MIT" ]
null
null
null
01_01_08_Read_CSV.py
shevc07/Machine_Learning_for_Trading
11581254168ece5ecebff71e7cee6c9efa10929d
[ "MIT" ]
null
null
null
import pandas as pd def test_run(): """Function called by Test Run.""" df = pd.read_csv("data/AAPL.csv") # TODO: Print last 5 rows of the data frame print(df.tail(5)) if __name__ == "__main__": test_run()
17.615385
47
0.624454
37
229
3.567568
0.72973
0.159091
0
0
0
0
0
0
0
0
0
0.011429
0.235808
229
12
48
19.083333
0.742857
0.310044
0
0
0
0
0.138158
0
0
0
0
0.083333
0
1
0.166667
false
0
0.166667
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
1
0
0
0
0
0
0
0
0
0
0
1
4dd2c23276fc2f4da4251ecd6c0168b2ebf398c6
5,122
py
Python
py_atm/login.py
er-jia/PyQt5--ATM
a58f1dfc027c37ec9d9b4064060f6cf0236cb54c
[ "MIT" ]
3
2021-11-08T08:47:02.000Z
2022-03-29T13:10:40.000Z
py_atm/login.py
Er-Jia/PyQt5--ATM
a58f1dfc027c37ec9d9b4064060f6cf0236cb54c
[ "MIT" ]
null
null
null
py_atm/login.py
Er-Jia/PyQt5--ATM
a58f1dfc027c37ec9d9b4064060f6cf0236cb54c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'login.ui' # # Created by: PyQt5 UI code generator 5.15.4 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCo...
46.990826
193
0.662046
611
5,122
5.489362
0.273322
0.028623
0.052475
0.035778
0.355695
0.296661
0.266547
0.266547
0.252534
0.237925
0
0.063484
0.20656
5,122
108
194
47.425926
0.761811
0.052714
0
0.255319
1
0.074468
0.202069
0.126056
0
0
0
0
0
1
0.021277
false
0.010638
0.021277
0
0.053191
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
4dd5d83c5aae556c56d2c2a44727b4fd25feda89
252
py
Python
setup.py
ebinzacharias/ads_COVID-19
bd1d5c73ef04012d2a2f83520de1c2261bb37b99
[ "MIT" ]
null
null
null
setup.py
ebinzacharias/ads_COVID-19
bd1d5c73ef04012d2a2f83520de1c2261bb37b99
[ "MIT" ]
null
null
null
setup.py
ebinzacharias/ads_COVID-19
bd1d5c73ef04012d2a2f83520de1c2261bb37b99
[ "MIT" ]
null
null
null
from setuptools import find_packages, setup setup( name='src', packages=find_packages(), version='0.1.0', description='An applied Data Science project on anaylzing the COVID-19 data.', author='Ebin Zacharias', license='MIT', )
22.909091
82
0.686508
33
252
5.181818
0.818182
0.140351
0
0
0
0
0
0
0
0
0
0.02451
0.190476
252
10
83
25.2
0.813725
0
0
0
0
0
0.349206
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
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
4dd84541824605fdc1da43b3d1a7d37f4a50b05b
8,725
py
Python
DANE_2/distSGD.py
samirash/DistTensor
a52eff070d862c4e35e62dcb5a6e4a65efe737d5
[ "Unlicense" ]
2
2016-06-12T18:41:55.000Z
2017-04-12T17:39:41.000Z
DANE_2/distSGD.py
samirash/DistTensor
a52eff070d862c4e35e62dcb5a6e4a65efe737d5
[ "Unlicense" ]
1
2018-09-26T15:49:56.000Z
2018-09-27T06:09:34.000Z
DANE_2/distSGD.py
samirash/DistTensor
a52eff070d862c4e35e62dcb5a6e4a65efe737d5
[ "Unlicense" ]
null
null
null
import numpy as np import scipy.io as io import scipy.sparse as sp import scipy.linalg as la import matplotlib.pyplot as plt import time from general_function_class import Ridge_regression from general_function_class import Classification_smooth_hinge from dane_machine import Computing_machine from dane_functions impor...
33.174905
247
0.729857
1,369
8,725
4.406136
0.203798
0.041943
0.042275
0.023873
0.293103
0.228117
0.166611
0.11008
0.097812
0.078747
0
0.014422
0.181433
8,725
262
248
33.301527
0.83016
0.320115
0
0.106195
0
0
0.017963
0.005924
0
0
0
0
0
0
null
null
0
0.115044
null
null
0.017699
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
4de01147e32c458752e56b8e0f9abf18beb52a38
3,774
py
Python
tests/utility/test_base_world.py
a6n1/caldera
a9a37ca1b54c1a4e0ecbd5144a2745fce3bdc36b
[ "Apache-2.0" ]
1
2021-04-04T02:30:11.000Z
2021-04-04T02:30:11.000Z
tests/utility/test_base_world.py
TylerJThomas/caldera
93b2d1b761d1e0eea87e6667206088610b7c1822
[ "Apache-2.0" ]
1
2021-04-16T00:03:00.000Z
2021-04-16T00:03:00.000Z
tests/utility/test_base_world.py
TylerJThomas/caldera
93b2d1b761d1e0eea87e6667206088610b7c1822
[ "Apache-2.0" ]
null
null
null
import pytest import yaml from datetime import datetime from app.utility.base_world import BaseWorld class TestBaseWorld: default_config = dict(name='main', config={'app.contact.http': '0.0.0.0', 'plugins': ['sandcat', 'stockpile']}) default_yaml = dict(test_dir=1, implant_name='unittesting', test_int=1234...
34.944444
115
0.669581
492
3,774
4.876016
0.254065
0.04085
0.030013
0.032514
0.257607
0.174656
0.174656
0.080867
0.080867
0.062526
0
0.015767
0.210122
3,774
107
116
35.271028
0.788997
0
0
0.097561
0
0
0.125066
0.019078
0
0
0
0
0.219512
1
0.207317
false
0
0.04878
0
0.292683
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
4dfc70a08272aa6b193c29a16bd5da0218f256ff
3,396
py
Python
chemdataextractor_batteries/tests/test_doc_text.py
ShuHuang/batterydatabase
10a94617c00ddca6e5e382f50bfe0b6079457166
[ "MIT" ]
26
2020-08-06T13:40:58.000Z
2022-03-23T13:34:45.000Z
chemdataextractor_batteries/tests/test_doc_text.py
ShuHuang/batterydatabase
10a94617c00ddca6e5e382f50bfe0b6079457166
[ "MIT" ]
3
2020-08-07T10:54:37.000Z
2021-07-13T20:42:21.000Z
chemdataextractor_batteries/tests/test_doc_text.py
ShuHuang/batterydatabase
10a94617c00ddca6e5e382f50bfe0b6079457166
[ "MIT" ]
8
2020-09-15T14:48:12.000Z
2022-01-29T05:54:24.000Z
# -*- coding: utf-8 -*- """ test_doc_document ~~~~~~~~~~~~~~~~~ Test the Document class. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals import logging import unittest import os from chemdataextractor.doc.docume...
40.915663
134
0.702002
398
3,396
5.801508
0.276382
0.110437
0.115201
0.114335
0.359896
0.298398
0.096146
0.096146
0.096146
0.096146
0
0.006098
0.179034
3,396
82
135
41.414634
0.822095
0.271496
0
0.042553
0
0
0.019223
0
0
0
0
0.012195
0.297872
1
0.085106
false
0
0.255319
0
0.382979
0.021277
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
4dfe2b24ca6dc695791ff81da501b99007c12140
2,720
py
Python
m3u8py.py
dcluomax/m3u8py
28f24dd7d1c616997c38fe5128a3f3d75c5b4935
[ "MIT" ]
null
null
null
m3u8py.py
dcluomax/m3u8py
28f24dd7d1c616997c38fe5128a3f3d75c5b4935
[ "MIT" ]
null
null
null
m3u8py.py
dcluomax/m3u8py
28f24dd7d1c616997c38fe5128a3f3d75c5b4935
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- import requests import urllib import os import sys import glob import subprocess import shutil def get_url_list(host, body): lines = body.split('\n') ts_url_list = [] for line in lines: if not line.startswith('#') and line != '': ...
28.333333
73
0.569485
348
2,720
4.252874
0.318966
0.050676
0.060811
0.018919
0.055405
0.031081
0
0
0
0
0
0.01544
0.285662
2,720
95
74
28.631579
0.746269
0.013971
0
0.050633
0
0
0.087041
0
0
0
0
0
0
0
null
null
0
0.088608
null
null
0.088608
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
1500b6e4d86e87d8308a17b690e214010075e05a
856
py
Python
mesh_endpoint_connectivity_test.py
sivang/mesh-client
16518f6cce13fe0fd37107ded9df16a87a00d82a
[ "MIT" ]
6
2020-04-09T09:28:02.000Z
2022-01-10T20:18:42.000Z
mesh_endpoint_connectivity_test.py
sivang/mesh-client
16518f6cce13fe0fd37107ded9df16a87a00d82a
[ "MIT" ]
4
2021-08-18T13:06:44.000Z
2022-02-22T12:20:26.000Z
mesh_endpoint_connectivity_test.py
sivang/mesh-client
16518f6cce13fe0fd37107ded9df16a87a00d82a
[ "MIT" ]
3
2020-05-03T07:01:55.000Z
2022-02-22T11:20:54.000Z
from unittest import TestCase, main, skip import mesh_client from requests import HTTPError class EndpointConnectivityTest(TestCase): @skip("This test needs N3 connectivity, talks to real endpoints, and is Python 3 only, so don't run it by default") def test_connectivity(self): for key, endpoint in li...
40.761905
119
0.63785
99
856
5.30303
0.666667
0.057143
0.041905
0
0
0
0
0
0
0
0
0.008013
0.271028
856
20
120
42.8
0.833333
0
0
0
0
0.0625
0.196262
0
0
0
0
0
0.125
1
0.0625
false
0.0625
0.1875
0
0.3125
0.0625
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
1502756c3af27b9b3b4ab93cb2018562e4855579
3,037
py
Python
page/pages.py
BlueYangDroid/test-python-appium-android
1a5fac08ddc8c8738092ae7ee341c29bdfd63da2
[ "MIT" ]
1
2018-08-30T06:59:00.000Z
2018-08-30T06:59:00.000Z
page/pages.py
BlueYangDroid/test-python-appium-android
1a5fac08ddc8c8738092ae7ee341c29bdfd63da2
[ "MIT" ]
null
null
null
page/pages.py
BlueYangDroid/test-python-appium-android
1a5fac08ddc8c8738092ae7ee341c29bdfd63da2
[ "MIT" ]
1
2020-01-08T14:10:43.000Z
2020-01-08T14:10:43.000Z
#!/usr/bin/env python # _*_ coding:utf-8 _*_ from page import PageGenerator as gen pages = gen.parse() def get_step(page_name, step_name): ''' 根据事先yaml加载过滤后的page-step_names数据, 还原各个step的详情字典数据 :param page_name: :param step_name: :return: ''' steps = pages[page_name]['steps'] for step...
21.090278
73
0.648337
304
3,037
6.180921
0.190789
0.149015
0.035125
0.047898
0.21075
0
0
0
0
0
0
0.000428
0.230161
3,037
143
74
21.237762
0.803251
0.044452
0
0
0
0
0.271967
0
0
0
0
0
0
1
0.017857
false
0
0.017857
0
0.928571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
15040e17bb726731c2101743fe5f100fd6d8dc3d
707
py
Python
horza/models.py
jsnjack/horza
8265a9c685c97db5ee407848f8c1f251ca08ca92
[ "MIT" ]
null
null
null
horza/models.py
jsnjack/horza
8265a9c685c97db5ee407848f8c1f251ca08ca92
[ "MIT" ]
null
null
null
horza/models.py
jsnjack/horza
8265a9c685c97db5ee407848f8c1f251ca08ca92
[ "MIT" ]
null
null
null
from sqlalchemy import Column, Integer, String from sqlalchemy.ext.declarative import declarative_base Base = declarative_base() class Configuration(Base): __tablename__ = "configuration" id = Column(Integer, primary_key=True) username = Column(String) auth_token = Column(String) class Repository(...
23.566667
62
0.708628
80
707
5.975
0.375
0.135983
0.125523
0.138075
0.182008
0.182008
0
0
0
0
0
0
0.183876
707
29
63
24.37931
0.828423
0
0
0.157895
0
0
0.07355
0
0
0
0
0
0
1
0.052632
false
0
0.105263
0.052632
0.947368
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
1508343a526e866eddf9deec5554bb4c10768809
5,058
py
Python
flask_chat/chat.py
BrambleLLC/H4H_2014
7b0fba6f3f9cd6a6a51de07eb25398d9cc5b01b1
[ "MIT" ]
1
2015-07-30T07:49:49.000Z
2015-07-30T07:49:49.000Z
flask_chat/chat.py
BrambleLLC/H4H_2014
7b0fba6f3f9cd6a6a51de07eb25398d9cc5b01b1
[ "MIT" ]
null
null
null
flask_chat/chat.py
BrambleLLC/H4H_2014
7b0fba6f3f9cd6a6a51de07eb25398d9cc5b01b1
[ "MIT" ]
null
null
null
import re import unicodedata from socketio import socketio_manage from socketio.namespace import BaseNamespace from socketio.mixins import RoomsMixin, BroadcastMixin from werkzeug.exceptions import NotFound from gevent import monkey from random import randint from flask import Flask, Response, request, render_template...
27.944751
78
0.655002
636
5,058
5.051887
0.284591
0.029879
0.021786
0.019919
0.204482
0.186741
0.152505
0.121693
0.121693
0.112045
0
0.012453
0.206208
5,058
180
79
28.1
0.787796
0.034994
0
0.15625
0
0
0.11454
0.024027
0
0
0
0
0
1
0.171875
false
0
0.078125
0.023438
0.507813
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
150d4e88d2825327ad01eee374f0de649fa90e98
671
py
Python
torsionfit/tests/utils.py
ChayaSt/torsionfit
0b810b6da4a930b13c3ab8f8b700c6834824173b
[ "MIT" ]
null
null
null
torsionfit/tests/utils.py
ChayaSt/torsionfit
0b810b6da4a930b13c3ab8f8b700c6834824173b
[ "MIT" ]
null
null
null
torsionfit/tests/utils.py
ChayaSt/torsionfit
0b810b6da4a930b13c3ab8f8b700c6834824173b
[ "MIT" ]
null
null
null
import os from pkg_resources import resource_filename def get_fun(name): """Get the full path to one of the reference files shipped for testing These files are in torsionfit/testing/reference :param name: str Name of file to load :returns fn : str full pa...
20.96875
100
0.646796
95
671
4.505263
0.621053
0.074766
0.046729
0
0
0
0
0
0
0
0
0
0.281669
671
31
101
21.645161
0.887967
0.327869
0
0
0
0
0.221411
0
0
0
0
0
0
1
0.083333
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
1513739fec449cd3449a9e9371a9c09be0bc47ea
2,000
py
Python
hknweb/candidate/constants.py
jyxzhang/hknweb
a01ffd8587859bf63c46213be6a0c8b87164a5c2
[ "MIT" ]
null
null
null
hknweb/candidate/constants.py
jyxzhang/hknweb
a01ffd8587859bf63c46213be6a0c8b87164a5c2
[ "MIT" ]
null
null
null
hknweb/candidate/constants.py
jyxzhang/hknweb
a01ffd8587859bf63c46213be6a0c8b87164a5c2
[ "MIT" ]
null
null
null
class ATTR: CAND_CSV = "cand_csv" CANDIDATE = "candidate" COLOR = "color" CONFIRMED = "confirmed" CSV_ENDING = ".csv" EMAIL = "Email" FIRST_NAME = "First Name" LAST_NAME = "Last Name" NEXT = "next" NUM_BITBYTES = "num_bitbytes" NUM_CONFIRMED = "num_confirmed" NUM_PENDING ...
29.850746
85
0.646
241
2,000
5.215768
0.360996
0.050119
0.02864
0.044551
0.108194
0.044551
0.044551
0
0
0
0
0.004021
0.254
2,000
66
86
30.30303
0.838472
0.0585
0
0
0
0
0.266489
0.023404
0
0
0
0
0.09434
1
0.037736
false
0.018868
0
0
0.566038
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
15158794ea189b28746b1cee56327c09cdd2b785
3,902
py
Python
course/code/strings.py
vadym-khodak/python-basic-course
e62f03e4828edd30f44e97a3fab5089f79880dc3
[ "MIT" ]
1
2022-01-31T15:12:37.000Z
2022-01-31T15:12:37.000Z
course/code/strings.py
vadym-khodak/python-basic-course
e62f03e4828edd30f44e97a3fab5089f79880dc3
[ "MIT" ]
1
2022-02-03T19:07:06.000Z
2022-02-03T19:07:06.000Z
course/code/strings.py
vadym-khodak/python-basic-course
e62f03e4828edd30f44e97a3fab5089f79880dc3
[ "MIT" ]
null
null
null
# str - рядок, послідовність символів # Ініціалізація змінних типу str message_1 = "Men's brain" message_2 = '"1984" George Orwell. It\'s a cool book.' message_3 = """ Dear friend. I hope you are doing well. Warm regards, Your friend """ message_4 = """ Dear friend, I hope you are doing well. Warm regards, Yo...
29.119403
84
0.697078
589
3,902
4.526316
0.278438
0.090023
0.07802
0.092648
0.404351
0.367592
0.271193
0.241935
0.127532
0.03826
0
0.026269
0.141466
3,902
133
85
29.338346
0.769552
0.392875
0
0.133333
0
0
0.297496
0.094991
0
0
0
0
0
1
0
false
0.013333
0
0
0
0.72
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
151a85f60aa430c16a2d560fe2ecb305c2cb6209
2,603
py
Python
utils.py
lostsquirrel/words
aaa4bb2b3a9c8c7c7300e29ec73f39cff4409b8d
[ "MIT" ]
null
null
null
utils.py
lostsquirrel/words
aaa4bb2b3a9c8c7c7300e29ec73f39cff4409b8d
[ "MIT" ]
null
null
null
utils.py
lostsquirrel/words
aaa4bb2b3a9c8c7c7300e29ec73f39cff4409b8d
[ "MIT" ]
null
null
null
import math import uuid import json from datetime import datetime, date from flask import make_response from db import Base def generate_uuid(): return uuid.uuid4().hex class CustomEncoder(json.JSONEncoder): def default(self, obj): if isinstance(obj, Base): return obj.unbox() e...
22.439655
71
0.582021
326
2,603
4.496933
0.276074
0.028649
0.037517
0.024557
0.252387
0.139154
0
0
0
0
0
0.006156
0.313484
2,603
115
72
22.634783
0.814214
0
0
0.197531
1
0
0.03035
0
0
0
0
0
0
1
0.185185
false
0
0.074074
0.049383
0.493827
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
151d77bb0e05d3ce04fb77a3e447d5ebf085001e
7,090
py
Python
WSDNode/wsd_term.py
RyanEGuerra/wurc_calibration
1691a4a3bf763bf278bfd847d7f03a0afbf9b5ed
[ "Apache-2.0", "Unlicense" ]
1
2019-08-23T03:52:47.000Z
2019-08-23T03:52:47.000Z
WSDNode/wsd_term.py
RyanEGuerra/wurc_calibration
1691a4a3bf763bf278bfd847d7f03a0afbf9b5ed
[ "Apache-2.0", "Unlicense" ]
null
null
null
WSDNode/wsd_term.py
RyanEGuerra/wurc_calibration
1691a4a3bf763bf278bfd847d7f03a0afbf9b5ed
[ "Apache-2.0", "Unlicense" ]
null
null
null
''' Created on Sep 8, 2013 wsd_term.py A simple script to open a new python terminal to any attached WSD serial device. This works with both the WARP USB UART and the WSD USB UART devices, and will automatically adjust depending on which one you choose to attach to. Please note that since this is a Python wrapper to...
34.086538
106
0.579267
893
7,090
4.533035
0.379619
0.034585
0.020751
0.012599
0.092144
0.074358
0.074358
0.033597
0.033597
0.033597
0
0.01086
0.324683
7,090
207
107
34.251208
0.834586
0.109732
0
0.288462
0
0
0.16419
0.01582
0
0
0
0
0
0
null
null
0.028846
0.048077
null
null
0.144231
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
12767779e13601d20b885092ec21f2db10e03cb1
1,270
py
Python
models.py
nadermx/didishiptoday
37407bec0e5a3af0bbcb9c4705bbce9af76abb57
[ "MIT" ]
1
2018-09-26T09:12:29.000Z
2018-09-26T09:12:29.000Z
models.py
nadermx/didishiptoday
37407bec0e5a3af0bbcb9c4705bbce9af76abb57
[ "MIT" ]
null
null
null
models.py
nadermx/didishiptoday
37407bec0e5a3af0bbcb9c4705bbce9af76abb57
[ "MIT" ]
null
null
null
from pony.orm import * from passlib.hash import bcrypt_sha256 from flask_login import UserMixin, AnonymousUserMixin from datetime import datetime db = Database() class User(UserMixin, db.Entity): username = Optional(unicode, unique=True) password_hash = Optional(unicode) email = Required(unicode, unique=T...
31.75
67
0.714173
151
1,270
5.880795
0.390728
0.072072
0.103604
0.13964
0.166667
0
0
0
0
0
0
0.008815
0.196063
1,270
40
68
31.75
0.860921
0.032283
0
0
0
0
0
0
0
0
0
0
0
1
0.09375
false
0.1875
0.125
0.03125
0.8125
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
1278afe6a70be6dd340d4de50d84533e6cdd1ac0
1,938
py
Python
doc/source/conf.py
ddorahee/contributhon-2020
ab56662ee7a4fb60331778316be4087ba8847c62
[ "Apache-2.0" ]
6
2020-08-26T16:10:06.000Z
2021-08-24T09:03:46.000Z
doc/source/conf.py
ddorahee/contributhon-2020
ab56662ee7a4fb60331778316be4087ba8847c62
[ "Apache-2.0" ]
50
2020-08-23T23:57:46.000Z
2020-10-08T02:33:31.000Z
doc/source/conf.py
ddorahee/contributhon-2020
ab56662ee7a4fb60331778316be4087ba8847c62
[ "Apache-2.0" ]
12
2020-08-25T11:12:55.000Z
2022-01-13T07:48:43.000Z
# -*- coding: utf-8 -*- # # Contributhon 2020 documentation build configuration file # -- General configuration ------------------------------------------------ # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. #extensio...
33.413793
77
0.722394
260
1,938
5.303846
0.507692
0.017404
0.024656
0.014503
0
0
0
0
0
0
0
0.007912
0.152219
1,938
57
78
34
0.831406
0.833333
0
0
0
0
0.284722
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
127a2d7c2e471a6d7e37fe446109f1600323943e
3,534
py
Python
access_restricted/tests/test_allow_implied.py
trojikman/access-addons
5b056b4d0928e83f687ea7978de6f96f826c28a6
[ "MIT" ]
null
null
null
access_restricted/tests/test_allow_implied.py
trojikman/access-addons
5b056b4d0928e83f687ea7978de6f96f826c28a6
[ "MIT" ]
null
null
null
access_restricted/tests/test_allow_implied.py
trojikman/access-addons
5b056b4d0928e83f687ea7978de6f96f826c28a6
[ "MIT" ]
1
2020-11-24T01:29:44.000Z
2020-11-24T01:29:44.000Z
from odoo.exceptions import AccessError from odoo.tests.common import TransactionCase, tagged @tagged("at_install", "post_install") class TestAllowImplied(TransactionCase): def _get_classified_groups(self, config): groups = config._get_classified_fields()["group"] return [g[0] for g in groups] ...
35.69697
88
0.621392
418
3,534
4.947368
0.188995
0.116054
0.203095
0.069633
0.651838
0.643133
0.643133
0.59913
0.59913
0.59913
0
0.003456
0.263158
3,534
98
89
36.061224
0.790707
0.069044
0
0.558442
0
0
0.194275
0.119976
0
0
0
0
0.155844
1
0.038961
false
0
0.025974
0
0.090909
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
12808978f77ec3c03e8e97503eb4d822f772522e
4,362
py
Python
03_fetching_data.py
FAIRdom/api-workshop
ec9db7b7cc556d78d771c2e83234abd4428d9d67
[ "BSD-3-Clause" ]
2
2020-07-22T11:03:07.000Z
2021-11-11T09:36:15.000Z
03_fetching_data.py
FAIRdom/api-workshop
ec9db7b7cc556d78d771c2e83234abd4428d9d67
[ "BSD-3-Clause" ]
null
null
null
03_fetching_data.py
FAIRdom/api-workshop
ec9db7b7cc556d78d771c2e83234abd4428d9d67
[ "BSD-3-Clause" ]
2
2019-03-25T11:54:30.000Z
2020-09-22T09:13:41.000Z
# -*- coding: utf-8 -*- """03 Fetching data.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1IYGWv5misDPAulnG_jfYOCtx5hxKl3Fr # Accessing and downloading Data * Finding the route to get hold of the data * Converting spreadsheets to CSV """...
38.60177
381
0.743008
696
4,362
4.610632
0.364943
0.027423
0.033655
0.027423
0.037395
0.028981
0
0
0
0
0
0.014835
0.16552
4,362
113
382
38.60177
0.866758
0.088721
0
0.064516
1
0
0.231844
0.022346
0
0
0
0
0
1
0.032258
false
0
0.225806
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1281a400d4a2257f38fd9dad04eb11daf74e96dc
406
py
Python
L3A_Physical/evaluation/lpips.py
MingjieWang0606/L3A
6f01482826f27246a762cadf57f54906e14135e4
[ "MIT" ]
34
2021-07-30T22:19:17.000Z
2022-03-24T03:49:19.000Z
L3A_Physical/evaluation/lpips.py
MingjieWang0606/L3A
6f01482826f27246a762cadf57f54906e14135e4
[ "MIT" ]
6
2021-08-31T08:27:07.000Z
2022-03-28T09:20:11.000Z
L3A_Physical/evaluation/lpips.py
MingjieWang0606/L3A
6f01482826f27246a762cadf57f54906e14135e4
[ "MIT" ]
9
2021-08-16T07:24:43.000Z
2022-01-27T02:36:57.000Z
import lpips import torch # Implementation from The Unreasonable Effectiveness of Deep Features as a Perceptual Metric # https://github.com/richzhang/PerceptualSimilarity loss_fn_alex = lpips.LPIPS(net='alex') # loss_fn_vgg = lpips.LPIPS(net='vgg') img0 = torch.zeros(1,3,1920,1080) # image should be RGB, IMPORTANT: ...
31.230769
92
0.768473
64
406
4.78125
0.625
0.058824
0.065359
0.078431
0.130719
0.130719
0
0
0
0
0
0.072022
0.110837
406
13
93
31.230769
0.775623
0.566502
0
0
0
0
0.023256
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
12889f55610e9e739a9e5c84e07988595db65d53
432
py
Python
app/access_control/urls.py
21vcloud/Controller
63169d220f412330a22e3a2fe9964c73893d4e0f
[ "Apache-2.0" ]
null
null
null
app/access_control/urls.py
21vcloud/Controller
63169d220f412330a22e3a2fe9964c73893d4e0f
[ "Apache-2.0" ]
null
null
null
app/access_control/urls.py
21vcloud/Controller
63169d220f412330a22e3a2fe9964c73893d4e0f
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- from django.urls import path from access_control import views urlpatterns = ( path(r'console', views.Console.as_view()), path(r'button', views.Button.as_view()), path(r'role', views.RoleListView.as_view()), path(r'permission', views.PermissionListView.as_view()), path(r'base...
30.857143
66
0.706019
59
432
5
0.423729
0.101695
0.169492
0.186441
0.101695
0
0
0
0
0
0
0.002646
0.125
432
13
67
33.230769
0.777778
0.046296
0
0
0
0
0.121951
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
128a536fb18b1f43a11f002a2776eea1a0da266c
15,242
py
Python
apps/analyzer/migrations/0001_initial.py
starsep/NewsBlur
6c59416ca82377ca1bbc7d044890bdead3eba904
[ "MIT" ]
2
2015-09-05T10:40:30.000Z
2017-03-05T12:31:21.000Z
apps/analyzer/migrations/0001_initial.py
starsep/NewsBlur
6c59416ca82377ca1bbc7d044890bdead3eba904
[ "MIT" ]
7
2021-02-08T20:32:31.000Z
2022-03-11T23:50:47.000Z
apps/analyzer/migrations/0001_initial.py
starsep/NewsBlur
6c59416ca82377ca1bbc7d044890bdead3eba904
[ "MIT" ]
1
2021-09-27T06:02:59.000Z
2021-09-27T06:02:59.000Z
from south.db import db from django.db import models from apps.analyzer.models import * class Migration: def forwards(self, orm): # Adding model 'FeatureCategory' db.create_table('analyzer_featurecategory', ( ('id', orm['analyzer.FeatureCategory:id']), ('user'...
64.312236
139
0.563312
1,477
15,242
5.686527
0.095464
0.092392
0.160019
0.228599
0.653292
0.615549
0.574116
0.512323
0.461126
0.357066
0
0.007471
0.209618
15,242
236
140
64.584746
0.689715
0.023947
0
0.242574
0
0
0.566171
0.376034
0
0
0
0
0
1
0.009901
false
0.004951
0.014851
0
0.039604
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
1292742509a212bc3a1a2ba6d56c6adcfa74c0e5
1,649
py
Python
test/unit/bench_cli/test_cli.py
systay/arewefastyet
f21f3c0c63b5e3729d946bd2283004641b427aad
[ "Apache-2.0" ]
null
null
null
test/unit/bench_cli/test_cli.py
systay/arewefastyet
f21f3c0c63b5e3729d946bd2283004641b427aad
[ "Apache-2.0" ]
1
2021-03-04T11:06:58.000Z
2021-03-04T11:06:58.000Z
test/unit/bench_cli/test_cli.py
systay/arewefastyet
f21f3c0c63b5e3729d946bd2283004641b427aad
[ "Apache-2.0" ]
1
2021-09-03T16:06:08.000Z
2021-09-03T16:06:08.000Z
# Copyright 2021 The Vitess Authors. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing,...
44.567568
90
0.721043
246
1,649
4.670732
0.357724
0.104439
0.146214
0.167102
0.426458
0.426458
0.426458
0.426458
0.426458
0.426458
0
0.005857
0.171619
1,649
37
91
44.567568
0.835286
0.336568
0
0
0
0
0.02214
0
0
0
0
0
0.380952
1
0.190476
false
0
0.095238
0
0.333333
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
1295b8083d6b1624f8e787b12f3ccb1d16dab9f1
2,754
py
Python
indic_transliteration/sanscript/schemes/__init__.py
vishalbelsare/indic_transliteration
758507f6b899a5db4c28c376c08d3ec4be503665
[ "MIT" ]
null
null
null
indic_transliteration/sanscript/schemes/__init__.py
vishalbelsare/indic_transliteration
758507f6b899a5db4c28c376c08d3ec4be503665
[ "MIT" ]
null
null
null
indic_transliteration/sanscript/schemes/__init__.py
vishalbelsare/indic_transliteration
758507f6b899a5db4c28c376c08d3ec4be503665
[ "MIT" ]
null
null
null
import json import os.path class Scheme(dict): """Represents all of the data associated with a given scheme. In addition to storing whether or not a scheme is roman, :class:`Scheme` partitions a scheme's characters into important functional groups. :class:`Scheme` is just a subclass of :class:`dict...
47.482759
203
0.69281
416
2,754
4.423077
0.329327
0.030435
0.03587
0.030435
0.243478
0.069565
0.069565
0.030435
0
0
0
0.001372
0.206245
2,754
58
204
47.482759
0.834858
0.30138
0
0.055556
0
0
0.0144
0
0
0
0
0
0
1
0.166667
false
0
0.138889
0
0.527778
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
1298dbf5d000098eae3da83556bff468c48720a4
1,824
py
Python
Examples/SimpleSignalGenerator/SimpleSignalGenerator.py
roniwinik/Drivers
ba473bc21d1b5321da1e6caadec5b4d624282edc
[ "MIT" ]
48
2015-11-16T13:35:11.000Z
2022-02-24T11:02:14.000Z
Examples/SimpleSignalGenerator/SimpleSignalGenerator.py
roniwinik/Drivers
ba473bc21d1b5321da1e6caadec5b4d624282edc
[ "MIT" ]
30
2015-11-16T14:37:46.000Z
2021-02-22T19:39:34.000Z
Examples/SimpleSignalGenerator/SimpleSignalGenerator.py
roniwinik/Drivers
ba473bc21d1b5321da1e6caadec5b4d624282edc
[ "MIT" ]
61
2015-11-12T18:31:58.000Z
2022-03-04T12:59:35.000Z
import InstrumentDriver import numpy as np class Driver(InstrumentDriver.InstrumentWorker): """ This class implements a simple signal generator driver""" def performOpen(self, options={}): """Perform the operation of opening the instrument connection""" pass def performClose(self, b...
36.48
79
0.613487
212
1,824
5.259434
0.457547
0.053812
0.060987
0
0
0
0
0
0
0
0
0.018677
0.295504
1,824
49
80
37.22449
0.849027
0.349232
0
0.083333
0
0
0.046369
0
0
0
0
0
0
1
0.166667
false
0.083333
0.083333
0
0.416667
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
129b4908bb7de75494b9d2c7585d087d92facba0
748
py
Python
src/django_keycloak/migrations/0007_auto_20200421_1857.py
saurabnigam/django-keycloak
93922c19c3261fc42a6565368f5b1b001bccf433
[ "MIT" ]
3
2021-05-31T14:53:33.000Z
2021-08-02T06:48:50.000Z
src/django_keycloak/migrations/0007_auto_20200421_1857.py
saurabnigam/django-keycloak
93922c19c3261fc42a6565368f5b1b001bccf433
[ "MIT" ]
null
null
null
src/django_keycloak/migrations/0007_auto_20200421_1857.py
saurabnigam/django-keycloak
93922c19c3261fc42a6565368f5b1b001bccf433
[ "MIT" ]
3
2021-03-01T21:07:11.000Z
2021-08-16T04:45:04.000Z
# Generated by Django 2.2.12 on 2020-04-21 18:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('django_keycloak', '0006_remove_client_service_account'), ] operations = [ migrations.AddField( model_name='realm', ...
31.166667
152
0.63369
94
748
4.925532
0.659574
0.038877
0.060475
0.077754
0.12095
0
0
0
0
0
0
0.047445
0.26738
748
23
153
32.521739
0.797445
0.061497
0
0.235294
1
0
0.318571
0.048571
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
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
12a530e8c088fd95500a3007a79d4ab794c29bda
580
py
Python
adafruit-circuitpython-bundle-py-20201107/examples/bitmap_font_label_simpletest.py
rantler/AdaFruit
9b0aa56ede9ac358b835162cad4c6531c09ba5b0
[ "CC0-1.0" ]
null
null
null
adafruit-circuitpython-bundle-py-20201107/examples/bitmap_font_label_simpletest.py
rantler/AdaFruit
9b0aa56ede9ac358b835162cad4c6531c09ba5b0
[ "CC0-1.0" ]
null
null
null
adafruit-circuitpython-bundle-py-20201107/examples/bitmap_font_label_simpletest.py
rantler/AdaFruit
9b0aa56ede9ac358b835162cad4c6531c09ba5b0
[ "CC0-1.0" ]
null
null
null
""" This example uses addfruit_display_text.label to display text using a custom font loaded by adafruit_bitmap_font """ import board from adafruit_display_text import label from adafruit_bitmap_font import bitmap_font display = board.DISPLAY # Set text, font, and color text = "HELLO WORLD" font = bitma...
20
82
0.732759
89
580
4.606742
0.483146
0.097561
0.087805
0.117073
0
0
0
0
0
0
0
0.01919
0.191379
580
28
83
20.714286
0.855011
0.318966
0
0
0
0
0.081461
0
0
0
0.022472
0
0
1
0
false
0.076923
0.230769
0
0.230769
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
12ab6ae5377e7a83aa3102ceb16a8541cbc7a1a6
1,588
py
Python
server.py
Lirazs/Midi-Music-Teacher
fc961b67e7289dbd87614bdc6590e8ee59a69f4c
[ "MIT" ]
null
null
null
server.py
Lirazs/Midi-Music-Teacher
fc961b67e7289dbd87614bdc6590e8ee59a69f4c
[ "MIT" ]
null
null
null
server.py
Lirazs/Midi-Music-Teacher
fc961b67e7289dbd87614bdc6590e8ee59a69f4c
[ "MIT" ]
null
null
null
# HTTP Server for tests. import os import sys import BaseHTTPServer import SocketServer import urlparse class MyHandler(BaseHTTPServer.BaseHTTPRequestHandler): homedir = '' known_content = { '.htm': 'text/html', '.html': 'text/html', '.css': 'text/css', '.js': 'text/jav...
26.032787
103
0.581234
186
1,588
4.784946
0.44086
0.040449
0.033708
0
0
0
0
0
0
0
0
0.007937
0.285894
1,588
60
104
26.466667
0.776896
0.016373
0
0.044444
0
0
0.080821
0
0
0
0
0
0
0
null
null
0.044444
0.111111
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
12abef5e65a59140cbcbd38a144e2339162fb84b
2,923
py
Python
evalml/exceptions/exceptions.py
ObinnaObeleagu/evalml
3b5bf62b08a5a5bc6485ba5387a08c32e1857473
[ "BSD-3-Clause" ]
1
2021-07-28T14:20:35.000Z
2021-07-28T14:20:35.000Z
evalml/exceptions/exceptions.py
ObinnaObeleagu/evalml
3b5bf62b08a5a5bc6485ba5387a08c32e1857473
[ "BSD-3-Clause" ]
null
null
null
evalml/exceptions/exceptions.py
ObinnaObeleagu/evalml
3b5bf62b08a5a5bc6485ba5387a08c32e1857473
[ "BSD-3-Clause" ]
null
null
null
class MethodPropertyNotFoundError(Exception): """Exception to raise when a class is does not have an expected method or property.""" pass class PipelineNotFoundError(Exception): """An exception raised when a particular pipeline is not found in automl search results""" pass class ObjectiveNotFoundE...
32.477778
136
0.720835
351
2,923
5.923077
0.387464
0.034632
0.05772
0.050024
0.246753
0.156325
0.111592
0.111592
0.111592
0.111592
0
0
0.205269
2,923
89
137
32.842697
0.894963
0.533356
0
0.242424
0
0.030303
0.075412
0.043991
0
0
0
0
0
1
0.030303
false
0.242424
0
0
0.424242
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
12afc0f6b94366ea91cce07ca6a20eb15ddc80af
1,772
py
Python
openstack_dashboard/dashboards/admin/networks/subnets/views.py
ankur-gupta91/block_storage
938548a3d4507dc56c1c26b442767eb41aa2e610
[ "Apache-2.0" ]
9
2016-06-03T03:53:24.000Z
2017-05-20T16:53:23.000Z
openstack_dashboard/dashboards/admin/networks/subnets/views.py
ankur-gupta91/block_storage
938548a3d4507dc56c1c26b442767eb41aa2e610
[ "Apache-2.0" ]
1
2016-09-08T10:57:46.000Z
2016-09-08T10:59:06.000Z
openstack_dashboard/dashboards/admin/networks/subnets/views.py
ankur-gupta91/block_storage
938548a3d4507dc56c1c26b442767eb41aa2e610
[ "Apache-2.0" ]
4
2016-08-01T10:50:15.000Z
2017-02-22T12:11:19.000Z
# Copyright 2012 NEC Corporation # # 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 ag...
35.44
78
0.722912
217
1,772
5.78341
0.506912
0.047809
0.05259
0.076494
0.14502
0.09243
0.09243
0.09243
0
0
0
0.005662
0.202596
1,772
49
79
36.163265
0.882519
0.327314
0
0.08
0
0
0.059423
0.048387
0
0
0
0
0
1
0.12
false
0
0.16
0.08
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
12b8e251816d6c785ad2182b299d4bb366056ce8
1,706
py
Python
arcourtscraper/constants/navigation.py
zkilburn86/arcourtscraper
184ccf13928ad8e5e22c2a7e14e6d234556d5249
[ "MIT" ]
1
2021-12-02T20:12:31.000Z
2021-12-02T20:12:31.000Z
arcourtscraper/constants/navigation.py
zkilburn86/arcourtscraper
184ccf13928ad8e5e22c2a7e14e6d234556d5249
[ "MIT" ]
null
null
null
arcourtscraper/constants/navigation.py
zkilburn86/arcourtscraper
184ccf13928ad8e5e22c2a7e14e6d234556d5249
[ "MIT" ]
null
null
null
BASE_URL = 'https://caseinfo.arcourts.gov/cconnect/PROD/public/' ### Search Results ### PERSON_SUFFIX = 'ck_public_qry_cpty.cp_personcase_srch_details?backto=P&' JUDGEMENT_SUFFIX = 'ck_public_qry_judg.cp_judgment_srch_rslt?' CASE_SUFFIX = 'ck_public_qry_doct.cp_dktrpt_docket_report?backto=D&' DATE_SUFFIX = 'ck_publi...
28.433333
97
0.716882
215
1,706
5.297674
0.376744
0.042142
0.057946
0.074627
0.187884
0.15101
0.15101
0.145742
0.084284
0.084284
0
0.013784
0.149472
1,706
60
97
28.433333
0.771192
0.044549
0
0.088889
0
0.022222
0.624454
0.247661
0
0
0
0
0
1
0
false
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
12bce5d7d4baaa3d7a6cde1fef7b50dd9f1ab51f
1,286
py
Python
src/BeautifulSoupExample.py
aland3v/pythonScraping
138d524a2357947490e41af14e7215531d14443f
[ "MIT" ]
null
null
null
src/BeautifulSoupExample.py
aland3v/pythonScraping
138d524a2357947490e41af14e7215531d14443f
[ "MIT" ]
null
null
null
src/BeautifulSoupExample.py
aland3v/pythonScraping
138d524a2357947490e41af14e7215531d14443f
[ "MIT" ]
null
null
null
from bs4 import BeautifulSoup import requests URL_BASE = "http://jarroba.com/" MAX_PAGES = 20 counter = 0 for i in range(1, MAX_PAGES): # Construyo la URL if i > 1: url = "%spage/%d/" % (URL_BASE, i) else: url = URL_BASE # Realizamos la petición a la web req = requests.get(url) ...
31.365854
77
0.59409
172
1,286
4.401163
0.52907
0.027741
0.059445
0.07926
0.050198
0
0
0
0
0
0
0.020811
0.290047
1,286
41
78
31.365854
0.808324
0.297045
0
0.086957
0
0
0.149554
0
0
0
0
0.02439
0
1
0
false
0
0.086957
0
0.086957
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
12c12848032521b8856a864f50d9f165b130e96a
25,004
py
Python
project_catalog.py
narayaralian/catalog
76496f224aded00266a5a3d2f051f6ec1089c1ba
[ "MIT" ]
null
null
null
project_catalog.py
narayaralian/catalog
76496f224aded00266a5a3d2f051f6ec1089c1ba
[ "MIT" ]
null
null
null
project_catalog.py
narayaralian/catalog
76496f224aded00266a5a3d2f051f6ec1089c1ba
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # # Item Catalog Project, Udacity Full Stack Web Development Nanodegree # Nara Yaralyan, narayaralian@yahoo.com from flask import Flask, render_template, request,\ redirect, jsonify, url_for, flash from sqlalchemy import create_engine, and_, asc, or_ from sqlalchemy.orm import sess...
38.646059
80
0.602624
2,697
25,004
5.493141
0.13756
0.046169
0.02025
0.02295
0.542153
0.483564
0.431725
0.375835
0.323861
0.248532
0
0.00404
0.277316
25,004
646
81
38.705882
0.815827
0.078108
0
0.415842
0
0
0.175744
0.029815
0
0
0
0
0
0
null
null
0
0.031683
null
null
0.00396
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
12c7cf121b6498ea59e8d6a7098e2db927c3c527
2,902
py
Python
bspider/utils/database/sqlite3_client.py
littlebai3618/bspider
ff4d003cd0825247db4efe62db95f9245c0a303c
[ "BSD-3-Clause" ]
3
2020-06-19T03:52:29.000Z
2021-05-21T05:50:46.000Z
bspider/utils/database/sqlite3_client.py
littlebai3618/bspider
ff4d003cd0825247db4efe62db95f9245c0a303c
[ "BSD-3-Clause" ]
2
2021-03-31T19:39:03.000Z
2021-05-12T02:10:26.000Z
bspider/utils/database/sqlite3_client.py
littlebai3618/bspider
ff4d003cd0825247db4efe62db95f9245c0a303c
[ "BSD-3-Clause" ]
null
null
null
import sqlite3 from bspider.utils import singleton @singleton class SqlLite3Client(object): def __init__(self, path): self.conn = sqlite3.connect(path) @staticmethod def _do_query(func, sql: str, values: tuple = None, lastrowid: bool = False): if lastrowid: return func(sql, ...
27.903846
85
0.541006
313
2,902
4.923323
0.185304
0.070084
0.085659
0.12135
0.627515
0.525633
0.504867
0.40623
0.369241
0.256976
0
0.001603
0.354928
2,902
103
86
28.174757
0.821581
0.120951
0
0.410714
0
0
0
0
0
0
0
0
0
1
0.214286
false
0
0.035714
0.053571
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
1
0
0
0
0
0
0
0
1
12c9894c1968bcc43c7cee8754d8d2bbc0aba7c9
418
py
Python
rx3/testing/mockdisposable.py
samiur/RxPY
ea6b3554ab06cfc70e28b532c0a54b910b6ee470
[ "MIT" ]
null
null
null
rx3/testing/mockdisposable.py
samiur/RxPY
ea6b3554ab06cfc70e28b532c0a54b910b6ee470
[ "MIT" ]
null
null
null
rx3/testing/mockdisposable.py
samiur/RxPY
ea6b3554ab06cfc70e28b532c0a54b910b6ee470
[ "MIT" ]
null
null
null
from typing import List from rx3.core import typing from rx3.scheduler import VirtualTimeScheduler class MockDisposable: def __init__(self, scheduler: VirtualTimeScheduler): self.scheduler: VirtualTimeScheduler = scheduler self.disposes: List[typing.AbsoluteTime] = [] self.disposes.append...
27.866667
56
0.741627
45
418
6.8
0.4
0.169935
0.215686
0.143791
0.235294
0.235294
0
0
0
0
0
0.005814
0.177033
418
14
57
29.857143
0.883721
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.3
0
0.6
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
12caa179a2701ee8c70b325e08e630a738e0d104
1,329
py
Python
venv/lib/python3.8/site-packages/ansible_test/_internal/commands/coverage/html.py
saeedya/docker-ansible
6fb0cfc6bc4a5925b21380952a5a4502ec02119a
[ "Apache-2.0" ]
null
null
null
venv/lib/python3.8/site-packages/ansible_test/_internal/commands/coverage/html.py
saeedya/docker-ansible
6fb0cfc6bc4a5925b21380952a5a4502ec02119a
[ "Apache-2.0" ]
null
null
null
venv/lib/python3.8/site-packages/ansible_test/_internal/commands/coverage/html.py
saeedya/docker-ansible
6fb0cfc6bc4a5925b21380952a5a4502ec02119a
[ "Apache-2.0" ]
null
null
null
"""Generate HTML code coverage reports.""" from __future__ import annotations import os from ...io import ( make_dirs, ) from ...util import ( display, ) from ...util_common import ( ResultType, ) from ...provisioning import ( prepare_profiles, ) from .combine import ( combine_coverage_files, ...
25.557692
98
0.686983
162
1,329
5.444444
0.438272
0.068027
0.045351
0
0
0
0
0
0
0
0
0.000943
0.202408
1,329
51
99
26.058824
0.831132
0.188111
0
0
1
0
0.098021
0
0
0
0
0
0
1
0.030303
false
0
0.242424
0
0.30303
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
12cdc30ef12fd157c3ec16d9bc1fa20e7631d7b4
1,006
py
Python
teacher/views.py
tushortz/ppmg-tech-test
56f37a418efdc11ab9052d0a58d8431cc34915d8
[ "MIT" ]
null
null
null
teacher/views.py
tushortz/ppmg-tech-test
56f37a418efdc11ab9052d0a58d8431cc34915d8
[ "MIT" ]
null
null
null
teacher/views.py
tushortz/ppmg-tech-test
56f37a418efdc11ab9052d0a58d8431cc34915d8
[ "MIT" ]
null
null
null
from teacher.models import Subject, Teacher from django.shortcuts import render from django.views.generic import ListView, DetailView from django.contrib.auth.mixins import LoginRequiredMixin class Index(LoginRequiredMixin, ListView): template_name = "teacher/index.html" context_object_name = "teachers" m...
31.4375
86
0.738569
116
1,006
6.224138
0.422414
0.060942
0.078947
0.087258
0.426593
0.426593
0.33518
0.33518
0.33518
0.33518
0
0.004762
0.16501
1,006
32
86
31.4375
0.854762
0
0
0.458333
0
0
0.086395
0
0
0
0
0
0
1
0.083333
false
0
0.166667
0
0.916667
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
12d5252ba416eca4d212630b17e723618cc7aa2d
2,130
py
Python
Tree/binarytree.py
LucasMMBB/Leetcode
5b1c2799ef09d3941267e8303704833c3f488bf0
[ "MIT" ]
null
null
null
Tree/binarytree.py
LucasMMBB/Leetcode
5b1c2799ef09d3941267e8303704833c3f488bf0
[ "MIT" ]
null
null
null
Tree/binarytree.py
LucasMMBB/Leetcode
5b1c2799ef09d3941267e8303704833c3f488bf0
[ "MIT" ]
null
null
null
''' : Here are the iterative methods for binary tree : preorder, inorder and postorder traverse ''' def preorderTraverse(root): # method: BFS res = [] stack = [root] while stack: node = stack.pop() if node: res.append(node.val) if node.right: stack.append(node.right) if node.left: stack.append(node.lef...
19.541284
81
0.658685
334
2,130
4.185629
0.248503
0.030043
0.040057
0.036481
0.305436
0.248212
0.197425
0.120172
0.120172
0.120172
0
0.00122
0.230047
2,130
109
82
19.541284
0.85122
0.082629
0
0.493333
0
0
0
0
0
0
0
0
0
0
null
null
0
0
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
12d638dbe5096636a15fcd5a63468d969bd13e15
15,481
py
Python
sample_households.py
pdehaye/COVID19-Demography
33ccaeedf713d57de1f6acb2423bf3b1f2173ba7
[ "MIT" ]
null
null
null
sample_households.py
pdehaye/COVID19-Demography
33ccaeedf713d57de1f6acb2423bf3b1f2173ba7
[ "MIT" ]
null
null
null
sample_households.py
pdehaye/COVID19-Demography
33ccaeedf713d57de1f6acb2423bf3b1f2173ba7
[ "MIT" ]
null
null
null
import numpy as np import csv ''' Code for sampling the household and age structure of a population of n agents. ''' def get_age_distribution(country): age_distribution=[] with open('World_Age_2019.csv') as csv_file: csv_reader = csv.reader(csv_file, delimiter=',') for row in csv_reader: ...
53.199313
975
0.63846
2,108
15,481
4.462049
0.199241
0.095684
0.082926
0.037423
0.677759
0.66043
0.63906
0.624814
0.599617
0.582713
0
0.108812
0.26329
15,481
291
976
53.199313
0.715914
0.167819
0
0.708738
0
0
0.004786
0.001883
0
0
0
0
0
1
0.019417
false
0
0.009709
0
0.048544
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
12dce02c2242c2fe46dad0bfcd156384eb0800b5
7,134
py
Python
pyrap/utils.py
danielnyga/pyrap
c964c3044336913fe6768105aa771e0f47be2712
[ "MIT" ]
9
2017-07-21T23:44:12.000Z
2020-09-29T11:39:50.000Z
pyrap/utils.py
danielnyga/pyrap
c964c3044336913fe6768105aa771e0f47be2712
[ "MIT" ]
null
null
null
pyrap/utils.py
danielnyga/pyrap
c964c3044336913fe6768105aa771e0f47be2712
[ "MIT" ]
1
2019-03-07T12:14:07.000Z
2019-03-07T12:14:07.000Z
''' Created on Nov 10, 2015 @author: nyga ''' import datetime import email import os import sys import collections from dnutils import edict # # case-insensitive dict taken from requests # class CaseInsensitiveDict(collections.MutableMapping): """ A case-insensitive ``dict``-like object. Implements all m...
29.479339
98
0.578497
885
7,134
4.466667
0.279096
0.019479
0.011131
0.012902
0.048571
0.023779
0.023779
0.023779
0.023779
0.023779
0
0.003838
0.30614
7,134
241
99
29.60166
0.794747
0.211943
0
0.092715
0
0
0.02018
0
0
0
0
0
0
1
0.211921
false
0
0.039735
0.066225
0.463576
0.006623
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
12dd8b4bff33477c5160acfb2fbbcc4a1c17eb59
1,025
py
Python
ExpenseTracker/migrations/0001_initial.py
alvynah/Expense_Tracker
ae7c6543fc1e92f9ebc2ab52c6ef5167dbaf7fe5
[ "MIT" ]
null
null
null
ExpenseTracker/migrations/0001_initial.py
alvynah/Expense_Tracker
ae7c6543fc1e92f9ebc2ab52c6ef5167dbaf7fe5
[ "MIT" ]
null
null
null
ExpenseTracker/migrations/0001_initial.py
alvynah/Expense_Tracker
ae7c6543fc1e92f9ebc2ab52c6ef5167dbaf7fe5
[ "MIT" ]
null
null
null
# Generated by Django 3.2.12 on 2022-03-06 16:47 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] op...
34.166667
145
0.618537
109
1,025
5.678899
0.614679
0.038772
0.045234
0.071082
0
0
0
0
0
0
0
0.027308
0.249756
1,025
29
146
35.344828
0.777633
0.044878
0
0
1
0
0.077789
0
0
0
0
0
0
1
0
false
0
0.136364
0
0.318182
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