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
1b3fc56f89b286cd3e7f74268441f669d3653b53
1,028
py
Python
T1/code/linearRegCostFunction.py
andersonmanhaes/ml_mestrado
d737d80e07d9392895e4455e49a33b8700080cf1
[ "MIT" ]
null
null
null
T1/code/linearRegCostFunction.py
andersonmanhaes/ml_mestrado
d737d80e07d9392895e4455e49a33b8700080cf1
[ "MIT" ]
null
null
null
T1/code/linearRegCostFunction.py
andersonmanhaes/ml_mestrado
d737d80e07d9392895e4455e49a33b8700080cf1
[ "MIT" ]
null
null
null
def calculateCost_linearReg(theta, X, y, lambda_): y_pred = X.dot(theta.T) m = len(y) # Cálculo do custo cost = (1/(2*m))*np.sum(np.square(y_pred-y)) regularization_component = (lambda_/(2*m)) * np.sum(np.square(theta[1:])) J = cost + regularization_component return J ​ def linearReg...
24.47619
104
0.585603
152
1,028
3.868421
0.375
0.030612
0.035714
0.066327
0.170068
0.170068
0
0
0
0
0
0.013298
0.268482
1,028
41
105
25.073171
0.768617
0.075875
0
0.083333
0
0
0.006017
0
0
0
0
0.02439
0
0
null
null
0
0
null
null
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
1b4145ca16b8a751b4a5845d04dc9bbf5cd57a2a
474
py
Python
fineants/admin.py
n2o/FineAnts
2272a9db38c42a650bd51fea369fe2d106dbfddc
[ "MIT" ]
null
null
null
fineants/admin.py
n2o/FineAnts
2272a9db38c42a650bd51fea369fe2d106dbfddc
[ "MIT" ]
null
null
null
fineants/admin.py
n2o/FineAnts
2272a9db38c42a650bd51fea369fe2d106dbfddc
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Transaction class TransactionAdmin(admin.ModelAdmin): list_display = ('title', 'creditor', 'amount', 'created') search_fields = ['title', 'creditor', 'amount', 'created'] fieldsets = [ ('General', {'fields': ['title', 'creditor', 'debitors', 'am...
33.857143
92
0.64135
43
474
7.023256
0.627907
0.129139
0.125828
0.172185
0
0
0
0
0
0
0
0
0.164557
474
14
93
33.857143
0.762626
0
0
0
0
0
0.284211
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
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
1
0
0
2
1b517be94e019b3e5e2eade3f88b2b7ef1162829
1,056
py
Python
diofant/domains/__init__.py
project-kotinos/diofant___diofant
882549ac3a4dac238695aa620c02fce6ca33f9d3
[ "BSD-3-Clause" ]
1
2021-08-22T09:34:15.000Z
2021-08-22T09:34:15.000Z
diofant/domains/__init__.py
project-kotinos/diofant___diofant
882549ac3a4dac238695aa620c02fce6ca33f9d3
[ "BSD-3-Clause" ]
null
null
null
diofant/domains/__init__.py
project-kotinos/diofant___diofant
882549ac3a4dac238695aa620c02fce6ca33f9d3
[ "BSD-3-Clause" ]
null
null
null
"""Implementation of mathematical domains. """ from ..core.compatibility import GROUND_TYPES from . import (algebraicfield, complexfield, domain, expressiondomain, finitefield, integerring, rationalfield, realfield) from .algebraicfield import (AlgebraicField, ComplexAlgebraicField, ...
37.714286
70
0.768939
121
1,056
6.545455
0.363636
0.055556
0.079545
0
0
0
0
0
0
0
0
0
0.166667
1,056
27
71
39.111111
0.9
0.081439
0
0
0
0
0.010373
0
0
0
0
0
0
1
0
false
0
0.619048
0
0.619048
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
1
0
0
2
1b5651c01570f182f6cf1b307750f9acd4bba20e
3,053
py
Python
helpdesk/decorators.py
eazaika/django-helpdesk
2e1d950fbe3dac07e06003313264e5eeb4d39e3d
[ "CC-BY-3.0", "BSD-3-Clause" ]
1
2019-12-30T11:46:07.000Z
2019-12-30T11:46:07.000Z
helpdesk/decorators.py
eazaika/django-helpdesk
2e1d950fbe3dac07e06003313264e5eeb4d39e3d
[ "CC-BY-3.0", "BSD-3-Clause" ]
null
null
null
helpdesk/decorators.py
eazaika/django-helpdesk
2e1d950fbe3dac07e06003313264e5eeb4d39e3d
[ "CC-BY-3.0", "BSD-3-Clause" ]
null
null
null
from functools import wraps from django.core.exceptions import PermissionDenied from django.http import Http404 from django.shortcuts import redirect from django.utils.decorators import available_attrs from django.shortcuts import get_object_or_404 from helpdesk import settings as helpdesk_settings from helpdesk.mod...
37.231707
128
0.725188
397
3,053
5.34005
0.198992
0.060377
0.072642
0.083019
0.711321
0.691981
0.691981
0.691981
0.691981
0.654245
0
0.011093
0.202751
3,053
81
129
37.691358
0.859901
0.152309
0
0.530612
0
0
0.025886
0
0
0
0
0
0
1
0.163265
false
0
0.163265
0
0.571429
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
1
0
0
2
1b57f847831d7fdfa915e384a7a0ba3fedd78661
709
py
Python
src/models/knnRegressor.py
python-like-r/python-like-r
6f787ad3c2688b44569361976f11da7bab1c8a68
[ "Apache-2.0" ]
null
null
null
src/models/knnRegressor.py
python-like-r/python-like-r
6f787ad3c2688b44569361976f11da7bab1c8a68
[ "Apache-2.0" ]
null
null
null
src/models/knnRegressor.py
python-like-r/python-like-r
6f787ad3c2688b44569361976f11da7bab1c8a68
[ "Apache-2.0" ]
null
null
null
from sklearn.neighbors import KNeighborsRegressor from src.models.BaseRegressor import BaseRegressor class knnRegressor(BaseRegressor): """KNN regressor wrapper for sklearn class KNeighborsRegressor. :formula: a string with the formula for y in terms of x_is :k: number of neighbors""" def __init__(se...
32.227273
67
0.692525
88
709
5.465909
0.5
0.099792
0
0
0
0
0
0
0
0
0
0.003591
0.214386
709
21
68
33.761905
0.859964
0.239774
0
0
0
0
0.00381
0
0
0
0
0
0
1
0.25
false
0
0.166667
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
1b5bccf0e23f373262b56b7f9bbd1320c5e84258
1,892
py
Python
codewars/range-extraction.py
austinmccalley/challenge-sites
a0bb8d36894e7b298ffe8a2f0d3bd1a34ff3224f
[ "MIT" ]
null
null
null
codewars/range-extraction.py
austinmccalley/challenge-sites
a0bb8d36894e7b298ffe8a2f0d3bd1a34ff3224f
[ "MIT" ]
null
null
null
codewars/range-extraction.py
austinmccalley/challenge-sites
a0bb8d36894e7b298ffe8a2f0d3bd1a34ff3224f
[ "MIT" ]
null
null
null
def check_next_num(inp, j): for i in range(j, len(inp)): elm = inp[i] if len(inp) > i+1: if inp[i+1] == (elm+1): check_next_num(inp, i+1) else: if j == 0: return i return i else: return le...
22
150
0.391121
358
1,892
2.050279
0.173184
0.019074
0.040872
0.043597
0.269755
0.20436
0.20436
0.190736
0.159401
0.122616
0
0.245585
0.371564
1,892
86
151
22
0.371741
0.109408
0
0.153846
0
0
0.001799
0
0
0
0
0
0
1
0.051282
false
0
0
0
0.153846
0.051282
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1b6c108a89deea1582291919e5917a54458ec433
6,670
py
Python
src/assay/assay2table.py
lmsac/GproDIA
3fc1cdee535c9743806b7be423aba29daca24406
[ "BSD-3-Clause" ]
2
2021-11-13T21:37:42.000Z
2021-11-16T07:40:06.000Z
src/assay/assay2table.py
lmsac/GproDIA
3fc1cdee535c9743806b7be423aba29daca24406
[ "BSD-3-Clause" ]
null
null
null
src/assay/assay2table.py
lmsac/GproDIA
3fc1cdee535c9743806b7be423aba29daca24406
[ "BSD-3-Clause" ]
null
null
null
from .modseq import stringify_modification import pandas as pd from collections import OrderedDict class AssayToDataFrameConverter: def __init__(self, columns=None): if columns is None: columns = default_columns() self.columns = columns def assay_to_dataframe(self, ass...
43.594771
809
0.507046
717
6,670
4.677824
0.393305
0.020871
0.030411
0.039356
0.098688
0.084377
0.081992
0.081992
0.081992
0.081992
0
0.261384
0.315142
6,670
153
810
43.594771
0.472855
0
0
0.015152
0
0
0.188577
0.004347
0
0
0
0
0
1
0.037879
false
0
0.022727
0.007576
0.121212
0.007576
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1b7978c6313f4e37e912e7c9a269114e035758e2
1,193
py
Python
tests/test_sieve.py
calina-c/flask-sieve
564edbed530ba631ceb44672f3f4606941a18d11
[ "BSD-2-Clause" ]
39
2019-04-07T18:50:25.000Z
2021-08-05T02:49:52.000Z
tests/test_sieve.py
calina-c/flask-sieve
564edbed530ba631ceb44672f3f4606941a18d11
[ "BSD-2-Clause" ]
18
2020-03-29T05:25:19.000Z
2022-03-11T23:45:11.000Z
tests/test_sieve.py
calina-c/flask-sieve
564edbed530ba631ceb44672f3f4606941a18d11
[ "BSD-2-Clause" ]
8
2019-04-12T20:18:07.000Z
2021-06-23T09:24:39.000Z
import unittest from flask import Flask from flask_sieve import Sieve from flask_sieve.exceptions import ValidationException class TestSieve(unittest.TestCase): def test_registers_error_handler(self): app = Flask(__name__) Sieve(app) self.assertIn(ValidationException, app.error_handler_s...
31.394737
87
0.65549
129
1,193
5.821705
0.286822
0.095872
0.079893
0.101198
0.729694
0.729694
0.655127
0.655127
0.655127
0.655127
0
0.00663
0.241408
1,193
37
88
32.243243
0.823204
0
0
0.571429
0
0
0.041911
0
0
0
0
0
0.214286
1
0.071429
false
0
0.142857
0
0.25
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1b7aa443f68b0dbd0041968bb702196223c9c46d
2,654
py
Python
logpuzzle/logpuzzle.py
alexeiva/google-python-exercises
f924b07a8f57e5c9384fca8e69aff74171ec37f6
[ "Apache-2.0" ]
null
null
null
logpuzzle/logpuzzle.py
alexeiva/google-python-exercises
f924b07a8f57e5c9384fca8e69aff74171ec37f6
[ "Apache-2.0" ]
null
null
null
logpuzzle/logpuzzle.py
alexeiva/google-python-exercises
f924b07a8f57e5c9384fca8e69aff74171ec37f6
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # Copyright 2010 Google Inc. # Licensed under the Apache License, Version 2.0 # http://www.apache.org/licenses/LICENSE-2.0 # Google's Python Class # http://code.google.com/edu/languages/google-python-class/ import os import re import sys import urllib """Logpuzzle exercise Given an apache logfile, ...
24.803738
192
0.644687
441
2,654
3.793651
0.38322
0.016736
0.021518
0.023909
0.037059
0.037059
0.037059
0.037059
0.037059
0.037059
0
0.035832
0.200829
2,654
106
193
25.037736
0.752947
0.096081
0
0.064516
0
0
0.164766
0.031686
0
0
0
0.018868
0
0
null
null
0
0.064516
null
null
0.048387
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
1
0
0
0
0
0
0
0
0
2
1b86bc0456bb918d52a048819d68b56506c2ba5b
149
py
Python
bin/2048.py
gab50000/2048
bc114f6ec76e83a1bbcd7a9c91392eaba559c83d
[ "MIT" ]
null
null
null
bin/2048.py
gab50000/2048
bc114f6ec76e83a1bbcd7a9c91392eaba559c83d
[ "MIT" ]
null
null
null
bin/2048.py
gab50000/2048
bc114f6ec76e83a1bbcd7a9c91392eaba559c83d
[ "MIT" ]
null
null
null
#!/usr/bin/python import sys sys.path.append("..") import game import main g = game.Spielfeld() mw = main.MainWindow(g) with mw: mw.application()
12.416667
23
0.697987
23
149
4.521739
0.652174
0
0
0
0
0
0
0
0
0
0
0
0.134228
149
12
24
12.416667
0.806202
0.107383
0
0
0
0
0.015038
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
1b900a5b075c856e752ab150a3c246e81d244fb0
2,656
py
Python
src/hardware_indep/actions.c.py
GEANT-DataPlaneProgramming/t4p4s
334dec8e941ed7526d320fc1697ad7a30c3709fb
[ "Apache-2.0" ]
85
2017-06-17T04:13:52.000Z
2022-03-25T08:28:23.000Z
src/hardware_indep/actions.c.py
GEANT-DataPlaneProgramming/t4p4s
334dec8e941ed7526d320fc1697ad7a30c3709fb
[ "Apache-2.0" ]
31
2017-05-29T17:51:20.000Z
2022-03-16T19:36:12.000Z
src/hardware_indep/actions.c.py
GEANT-DataPlaneProgramming/t4p4s
334dec8e941ed7526d320fc1697ad7a30c3709fb
[ "Apache-2.0" ]
42
2017-03-07T12:17:25.000Z
2021-12-13T09:20:15.000Z
# SPDX-License-Identifier: Apache-2.0 # Copyright 2016 Eotvos Lorand University, Budapest, Hungary from compiler_log_warnings_errors import addError, addWarning from utils.codegen import format_declaration, format_statement, format_expr, format_type, get_method_call_env from compiler_common import types, unique_everse...
37.942857
210
0.634036
333
2,656
4.828829
0.384384
0.033582
0.048507
0.047264
0.218905
0.218905
0.202736
0.202736
0.202736
0.202736
0
0.013736
0.177711
2,656
69
211
38.492754
0.722527
0.594503
0
0.4
0
0
0.087368
0.046316
0
0
0
0.014493
0
0
null
null
0
0.2
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
1
0
1
0
0
0
0
0
0
0
0
2
1b98bc661cf1c221325c6c691a4a95019a2deabd
800
py
Python
locfilm/locations/migrations/0003_auto_20201012_0249.py
locfilm/locfilm-api
85942f83f790e96dda043437ab227d38939f1f69
[ "MIT" ]
null
null
null
locfilm/locations/migrations/0003_auto_20201012_0249.py
locfilm/locfilm-api
85942f83f790e96dda043437ab227d38939f1f69
[ "MIT" ]
6
2020-09-27T21:44:11.000Z
2021-06-10T20:12:26.000Z
locfilm/locations/migrations/0003_auto_20201012_0249.py
locfilm/locfilm-api
85942f83f790e96dda043437ab227d38939f1f69
[ "MIT" ]
2
2020-09-22T02:06:03.000Z
2020-09-22T02:12:51.000Z
# Generated by Django 3.1.1 on 2020-10-12 02:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('locations', '0002_auto_20201005_2106'), ] operations = [ migrations.AlterField( model_name='location', name='address...
27.586207
82
0.59625
81
800
5.728395
0.518519
0.103448
0.137931
0.1875
0.390086
0.265086
0
0
0
0
0
0.070299
0.28875
800
28
83
28.571429
0.745167
0.05625
0
0.409091
1
0
0.158035
0.030544
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1b9a6c96b41d0ee3d680f4c3b984e3df8632c84a
9,305
py
Python
heliocats/stats.py
cmoestl/heliocats
5e2b054990319e14859669561a361cc0c7ca4295
[ "MIT" ]
4
2020-10-03T07:39:56.000Z
2022-03-28T12:39:54.000Z
heliocats/stats.py
cmoestl/heliocats
5e2b054990319e14859669561a361cc0c7ca4295
[ "MIT" ]
2
2021-01-08T13:21:54.000Z
2022-03-12T00:11:50.000Z
heliocats/stats.py
cmoestl/heliocats
5e2b054990319e14859669561a361cc0c7ca4295
[ "MIT" ]
4
2020-04-09T13:49:50.000Z
2020-06-18T04:36:07.000Z
#stats.py #statistics stuff for heliocats #https://github.com/cmoestl/heliocats import numpy as np import pandas as pd import scipy.io import urllib import os from config import data_path from sunpy.time import parse_time ''' import copy import matplotlib.dates as mdates import matplotlib import seaborn as sns impor...
29.633758
164
0.692638
1,564
9,305
4.06202
0.192455
0.020148
0.024241
0.043444
0.637652
0.6153
0.600189
0.600189
0.600189
0.581772
0
0.061123
0.131435
9,305
314
165
29.633758
0.724944
0.090919
0
0.113208
0
0
0.013669
0
0
0
0
0
0
1
0.226415
false
0
0.132075
0.09434
0.584906
0.075472
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
1
0
0
2
1bbdc348eec0f5b84cb548243a14b8f2a51e8045
416
py
Python
nac/core/tests/test_suite.py
NaleRaphael/nac
205e81502a6bb963bfca47793e3e2b5bc1d582c8
[ "MIT" ]
1
2019-10-08T07:50:39.000Z
2019-10-08T07:50:39.000Z
nac/core/tests/test_suite.py
NaleRaphael/nac
205e81502a6bb963bfca47793e3e2b5bc1d582c8
[ "MIT" ]
null
null
null
nac/core/tests/test_suite.py
NaleRaphael/nac
205e81502a6bb963bfca47793e3e2b5bc1d582c8
[ "MIT" ]
null
null
null
from __future__ import absolute_import import unittest from nac.core import BenchmarkSuite from ._example import TimeArrayMultiplication class TestBenchmarkSuite(unittest.TestCase): def test_create_suite(self): tests = TimeArrayMultiplication.func_list suite = BenchmarkSuite(map(TimeArrayMultipli...
29.714286
67
0.766827
45
416
6.866667
0.6
0.058252
0
0
0
0
0
0
0
0
0
0
0.180288
416
13
68
32
0.906158
0
0
0
0
0
0
0
0
0
0
0
0.1
1
0.1
false
0
0.4
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
1
0
1
0
0
2
1bbe8446d740c56d3b8e806c769abc328df5be96
6,739
py
Python
meshlib/stlreader.py
p-hofmann/MeshReader
9296482d0ad6f0c944b065619df04ffcf5a4cf9e
[ "MIT" ]
2
2018-05-24T01:20:54.000Z
2020-05-22T16:20:47.000Z
meshlib/stlreader.py
p-hofmann/MeshReader
9296482d0ad6f0c944b065619df04ffcf5a4cf9e
[ "MIT" ]
null
null
null
meshlib/stlreader.py
p-hofmann/MeshReader
9296482d0ad6f0c944b065619df04ffcf5a4cf9e
[ "MIT" ]
2
2019-11-07T14:09:06.000Z
2020-11-07T20:40:36.000Z
import numpy as np import os from struct import unpack from .defaultreader import DefaultReader class StlReader(DefaultReader): """ @type _facets: dict[str, list[tuple[tuple[float]]]] @type _norms: dict[str, list[tuple[float]]] """ def __init__(self): self._facets = {} self._norms...
32.399038
162
0.556462
786
6,739
4.587786
0.21374
0.141431
0.187188
0.216306
0.419856
0.354409
0.306988
0.265114
0.204659
0.191902
0
0.025636
0.311174
6,739
207
163
32.555556
0.751185
0.253302
0
0.245283
0
0
0.045455
0
0
0
0
0.004831
0.075472
1
0.113208
false
0
0.037736
0
0.235849
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1bc1e1c2b1a1f1414b5bd9f17dbf5fab11ebb57f
423
py
Python
UserChose/App/models.py
DILIREBALI/usershose
15856364452ca075014d7c9ac193afabf7f9be9c
[ "Apache-2.0" ]
null
null
null
UserChose/App/models.py
DILIREBALI/usershose
15856364452ca075014d7c9ac193afabf7f9be9c
[ "Apache-2.0" ]
6
2021-03-18T22:51:48.000Z
2022-03-11T23:42:41.000Z
UserChose/App/models.py
DILIREBALI/usershose
15856364452ca075014d7c9ac193afabf7f9be9c
[ "Apache-2.0" ]
null
null
null
from django.db import models # Create your models here. class User(models.Model): username = models.CharField(max_length=32, verbose_name='用户姓名') userphone = models.CharField(max_length=16, unique=True, verbose_name='手机号') class Chose(models.Model): color = models.CharField(max_length=12, verbose_name='鞋子...
35.25
80
0.744681
59
423
5.20339
0.542373
0.19544
0.234528
0.312704
0
0
0
0
0
0
0
0.019022
0.130024
423
11
81
38.454545
0.815217
0.056738
0
0
0
0
0.037783
0
0
0
0
0
0
1
0
false
0
0.125
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
1bc437ed1080a0bf7f04c2395591faa3eccaf075
1,936
py
Python
.leetcode/643.maximum-average-subarray-i.py
KuiyuanFu/PythonLeetCode
8962df2fa838eb7ae48fa59de272ba55a89756d8
[ "MIT" ]
null
null
null
.leetcode/643.maximum-average-subarray-i.py
KuiyuanFu/PythonLeetCode
8962df2fa838eb7ae48fa59de272ba55a89756d8
[ "MIT" ]
null
null
null
.leetcode/643.maximum-average-subarray-i.py
KuiyuanFu/PythonLeetCode
8962df2fa838eb7ae48fa59de272ba55a89756d8
[ "MIT" ]
null
null
null
# @lc app=leetcode id=643 lang=python3 # # [643] Maximum Average Subarray I # # https://leetcode.com/problems/maximum-average-subarray-i/description/ # # algorithms # Easy (42.62%) # Likes: 1226 # Dislikes: 146 # Total Accepted: 116.1K # Total Submissions: 271.6K # Testcase Example: '[1,12,-5,-6,50,3]\n4' # # Yo...
18.438095
79
0.571798
287
1,936
3.829268
0.425087
0.013649
0.018198
0.027298
0.11465
0.11465
0.025478
0.025478
0.025478
0
0
0.091346
0.247934
1,936
105
80
18.438095
0.663462
0.512913
0
0.344828
0
0
0.164586
0
0
0
0
0
0
1
0.034483
false
0.068966
0.034483
0
0.137931
0.551724
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
1
0
2
59f641ab12c118dc51d57c3a1146f2177928fe06
209
py
Python
application/constant/response.py
Jasbeauty/mine_blog
22899be4db20a92ad40cf35f84a3123dd0ebeee6
[ "Apache-2.0" ]
null
null
null
application/constant/response.py
Jasbeauty/mine_blog
22899be4db20a92ad40cf35f84a3123dd0ebeee6
[ "Apache-2.0" ]
null
null
null
application/constant/response.py
Jasbeauty/mine_blog
22899be4db20a92ad40cf35f84a3123dd0ebeee6
[ "Apache-2.0" ]
2
2018-07-26T05:40:23.000Z
2018-07-30T06:59:48.000Z
# -*- coding: utf8 -*- # @author: yinan # @time: 18-7-4 下午5:52 # @filename: response.py def return_message(data, msg, code): return { "code": code, "data": data, "msg": msg }
16.076923
36
0.516746
26
209
4.115385
0.730769
0.130841
0
0
0
0
0
0
0
0
0
0.054422
0.296651
209
12
37
17.416667
0.673469
0.37799
0
0
0
0
0.088
0
0
0
0
0
0
1
0.166667
false
0
0
0.166667
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
941705035ab57ab3d49709e84272aadb0b5f4f24
1,952
py
Python
Python_Bots_Excercices/Rule_based/rule_based_chatbot_sql_full_text.py
WojciechK2/Skryptowe
cce6a64c1325b8ba578f8b784445cb71cbf16e11
[ "CC0-1.0" ]
null
null
null
Python_Bots_Excercices/Rule_based/rule_based_chatbot_sql_full_text.py
WojciechK2/Skryptowe
cce6a64c1325b8ba578f8b784445cb71cbf16e11
[ "CC0-1.0" ]
null
null
null
Python_Bots_Excercices/Rule_based/rule_based_chatbot_sql_full_text.py
WojciechK2/Skryptowe
cce6a64c1325b8ba578f8b784445cb71cbf16e11
[ "CC0-1.0" ]
null
null
null
import sqlite3 welcome = "Hi! I'm Arthur, the customer support chatbot. How can I help you?" #Creating and inserting values into db conn = sqlite3.connect('fulltext_chatbot.sqlite') conn.enable_load_extension(True) conn.load_extension('fts5') conn.execute("CREATE VIRTUAL TABLE responses USING fts5(question,answer)"...
47.609756
200
0.74334
289
1,952
4.937716
0.446367
0.056062
0.073581
0.088297
0.268395
0.268395
0.268395
0.232656
0.232656
0.194814
0
0.005942
0.137807
1,952
40
201
48.8
0.841949
0.018955
0
0.068966
0
0.206897
0.619247
0.104603
0
0
0
0
0
1
0.103448
false
0.034483
0.034483
0.034483
0.206897
0.068966
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
9418f29f36a0f494dbc17a6f36e38b4179ed7f22
220
py
Python
CommonTools/RecoAlgos/python/LargestEtCaloJetSelector_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
CommonTools/RecoAlgos/python/LargestEtCaloJetSelector_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
CommonTools/RecoAlgos/python/LargestEtCaloJetSelector_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms hltSelector4Jets = cms.EDFilter( "LargestEtCaloJetSelector", src = cms.InputTag( "hltMCJetCorJetIcone5" ), filter = cms.bool( False ), maxNumber = cms.uint32( 4 ) )
24.444444
60
0.713636
22
220
7.136364
0.818182
0
0
0
0
0
0
0
0
0
0
0.027473
0.172727
220
8
61
27.5
0.835165
0
0
0
0
0
0.200913
0.109589
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
94259e2b10c489147782cd6428da1d62350e4319
257
py
Python
mhdata/merge/binary/metadata/location_meta.py
nikibobi/MHWorldData
78b5a4dc10ef532d5bad7359ef0b098f99104782
[ "MIT" ]
null
null
null
mhdata/merge/binary/metadata/location_meta.py
nikibobi/MHWorldData
78b5a4dc10ef532d5bad7359ef0b098f99104782
[ "MIT" ]
null
null
null
mhdata/merge/binary/metadata/location_meta.py
nikibobi/MHWorldData
78b5a4dc10ef532d5bad7359ef0b098f99104782
[ "MIT" ]
null
null
null
from os.path import dirname, abspath from mhdata.io.csv import read_csv def load_area_map(): this_dir = dirname(abspath(__file__)) area_map = {int(r['id']):r['name'] for r in read_csv(this_dir + '/metadata_files/area_map.csv')} return area_map
32.125
100
0.719844
44
257
3.886364
0.590909
0.163743
0
0
0
0
0
0
0
0
0
0
0.14786
257
7
101
36.714286
0.780822
0
0
0
0
0
0.132296
0.108949
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
9438102ab6520c896753fe2b9c39e216021da939
3,482
py
Python
apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/l10n_de_skr03/__manifest__.py
gtfarng/Odoo_migrade
9cc28fae4c379e407645248a29d22139925eafe7
[ "Apache-2.0" ]
1
2019-12-19T01:53:13.000Z
2019-12-19T01:53:13.000Z
apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/l10n_de_skr03/__manifest__.py
gtfarng/Odoo_migrade
9cc28fae4c379e407645248a29d22139925eafe7
[ "Apache-2.0" ]
null
null
null
apps/odoo/lib/odoo-10.0.post20170615-py2.7.egg/odoo/addons/l10n_de_skr03/__manifest__.py
gtfarng/Odoo_migrade
9cc28fae4c379e407645248a29d22139925eafe7
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. # SKR03 # ===== # Dieses Modul bietet Ihnen einen deutschen Kontenplan basierend auf dem SKR03. # Gemäss der aktuellen Einstellungen ist die Firma nicht Umsatzsteuerpflichtig. # Diese Grundeinstellung ist sehr einfach z...
47.69863
82
0.767662
395
3,482
6.736709
0.493671
0.022548
0.020293
0.015032
0.339722
0.339722
0.339722
0.300639
0.300639
0.238256
0
0.009033
0.141585
3,482
72
83
48.361111
0.881231
0.798105
0
0
0
0
0.694656
0.287023
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
945a7e0f61aeeebd77301a1afe6dbf946af840d3
998
py
Python
setup.py
pyutil/cnb
9471fac447b6463a4cfe2a135c71af8fd8672323
[ "MIT" ]
1
2015-12-22T12:29:07.000Z
2015-12-22T12:29:07.000Z
setup.py
zvolsky/cnb
9471fac447b6463a4cfe2a135c71af8fd8672323
[ "MIT" ]
null
null
null
setup.py
zvolsky/cnb
9471fac447b6463a4cfe2a135c71af8fd8672323
[ "MIT" ]
3
2018-02-14T22:02:26.000Z
2018-02-16T09:07:56.000Z
from distutils.core import setup setup( name = 'cnb', py_modules = ['cnb'], version = '0.9.3', description = 'Access current exchange rate and (short time) historical daily rates from the Czech National Bank.', install_requires = ['six', 'pytz'], author = 'Mirek Zvolsky', author_email = 'zvolsky@seznam.cz...
38.384615
117
0.644289
109
998
5.862385
0.688073
0.089202
0.117371
0.053208
0.084507
0.084507
0
0
0
0
0
0.011264
0.199399
998
25
118
39.92
0.788486
0
0
0
0
0
0.627255
0
0
0
0
0
0
1
0
true
0
0.04
0
0.04
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
945cb74529f009b80ae24139027b27625a40ded9
2,396
py
Python
test/unit/command/test_create.py
retr0h/hyver
e17a95d97e43afa2e99dce5a7b2619a1ce330654
[ "MIT" ]
null
null
null
test/unit/command/test_create.py
retr0h/hyver
e17a95d97e43afa2e99dce5a7b2619a1ce330654
[ "MIT" ]
null
null
null
test/unit/command/test_create.py
retr0h/hyver
e17a95d97e43afa2e99dce5a7b2619a1ce330654
[ "MIT" ]
null
null
null
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright (c) 2017 John Dewey # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # t...
31.946667
105
0.732053
348
2,396
4.951149
0.514368
0.081254
0.034823
0.04527
0.058038
0.058038
0.058038
0
0
0
0
0.015776
0.179883
2,396
74
106
32.378378
0.861069
0.477462
0
0.058824
0
0.058824
0.246542
0.144833
0
0
0
0
0.117647
1
0.205882
false
0.058824
0.117647
0
0.352941
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
9465df6c518c59c9c4eace7fbd0a48a17a90003e
357
bzl
Python
platform/dnsmasq/deps.bzl
AngelAlvie/homeworld
84406acd0ea03ddd4c807868b204a04898e639e3
[ "MIT" ]
18
2017-06-24T08:27:52.000Z
2022-01-04T08:41:11.000Z
platform/dnsmasq/deps.bzl
AngelAlvie/homeworld
84406acd0ea03ddd4c807868b204a04898e639e3
[ "MIT" ]
453
2017-07-01T14:24:39.000Z
2020-07-02T05:32:25.000Z
platform/dnsmasq/deps.bzl
AngelAlvie/homeworld
84406acd0ea03ddd4c807868b204a04898e639e3
[ "MIT" ]
19
2017-07-02T19:59:03.000Z
2020-02-23T00:24:54.000Z
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") def dnsmasq_dependencies(): http_archive( name = "dnsmasq", urls = ["http://www.thekelleys.org.uk/dnsmasq/dnsmasq-2.78.tar.xz"], sha256 = "89949f438c74b0c7543f06689c319484bd126cc4b1f8c745c742ab397681252b", build_fi...
35.7
84
0.686275
37
357
6.459459
0.702703
0.09205
0
0
0
0
0
0
0
0
0
0.177852
0.165266
357
9
85
39.666667
0.624161
0
0
0
0
0.125
0.57423
0.364146
0
0
0
0
0
1
0.125
true
0
0.125
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
9467d77980dbb6f4eaf0e78517e72059b3d8b76b
346
py
Python
synth/sawtooth.py
dunlapc4/playdio
8af96c4a746ba42ef1e683c7a259de9d808176c9
[ "MIT" ]
null
null
null
synth/sawtooth.py
dunlapc4/playdio
8af96c4a746ba42ef1e683c7a259de9d808176c9
[ "MIT" ]
null
null
null
synth/sawtooth.py
dunlapc4/playdio
8af96c4a746ba42ef1e683c7a259de9d808176c9
[ "MIT" ]
1
2020-06-07T22:02:52.000Z
2020-06-07T22:02:52.000Z
# This is a synthesizer filter for adding sawtooth wave patterns # of a given duration and sample rate from scipy import signal import fileIO import math import numpy as np def sawWav(fileName, fs, freq): t = np.linspace(0, 1, int(fs)) dat = signal.sawtooth(2 * math.pi * freq * t) fileIO.file_output(fil...
23.066667
64
0.713873
56
346
4.392857
0.732143
0.081301
0
0
0
0
0
0
0
0
0
0.010791
0.196532
346
14
65
24.714286
0.874101
0.283237
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.5
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
849b1aeba279eaa010572d0cfeca4b73ac21bb65
702
py
Python
luhn/luhn.py
rdlu/exercism-python
61e89f4969af5bcad028e843aaae6a8869b0187d
[ "MIT" ]
null
null
null
luhn/luhn.py
rdlu/exercism-python
61e89f4969af5bcad028e843aaae6a8869b0187d
[ "MIT" ]
null
null
null
luhn/luhn.py
rdlu/exercism-python
61e89f4969af5bcad028e843aaae6a8869b0187d
[ "MIT" ]
null
null
null
class Luhn: def __init__(self, card_num: str): self._reversed_card_num = card_num.replace(' ', '')[::-1] self._even_digits = self._reversed_card_num[1::2] self._odd_digits = self._reversed_card_num[::2] def valid(self) -> bool: if str.isnumeric(self._reversed_card_num) and len(s...
36.947368
87
0.591168
102
702
3.686275
0.323529
0.130319
0.212766
0.25266
0.18883
0
0
0
0
0
0
0.024194
0.293447
702
18
88
39
0.733871
0
0
0
0
0
0.001425
0
0
0
0
0
0
1
0.1875
false
0
0
0
0.4375
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
84cdc1bc01a195958046c53dcf46f7701a9ce876
1,952
py
Python
app/admin.py
WarmongeR1/django-admin-article
6c5d7b0fd83f214da6fc0ee74937e7487372d35d
[ "MIT" ]
null
null
null
app/admin.py
WarmongeR1/django-admin-article
6c5d7b0fd83f214da6fc0ee74937e7487372d35d
[ "MIT" ]
null
null
null
app/admin.py
WarmongeR1/django-admin-article
6c5d7b0fd83f214da6fc0ee74937e7487372d35d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.contrib import admin from django.contrib.auth import get_user_model from django.contrib.auth.models import User from app.admin_opt import OptAdmin from app.models import ModelA, ModelB, ModelC, ModelD, ModelE @admin.register(ModelA) class ModelAAdmin(admin.ModelAdmin): list_p...
24.098765
76
0.620902
220
1,952
5.313636
0.381818
0.055603
0.043627
0.035928
0.042772
0
0
0
0
0
0
0.006433
0.283299
1,952
80
77
24.4
0.829164
0.112193
0
0.134615
0
0
0.012768
0
0
0
0
0
0
1
0.057692
false
0.057692
0.096154
0
0.519231
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
1
0
0
2
84d34c74229a33683b915925b046b4fdff54a29d
2,686
py
Python
data_feeder.py
matissapinis/shuffle-exchange
aa607b8fb648fe08287f5917963a005151821831
[ "MIT" ]
9
2019-07-20T23:09:25.000Z
2021-01-30T08:18:06.000Z
data_feeder.py
matissapinis/shuffle-exchange
aa607b8fb648fe08287f5917963a005151821831
[ "MIT" ]
null
null
null
data_feeder.py
matissapinis/shuffle-exchange
aa607b8fb648fe08287f5917963a005151821831
[ "MIT" ]
2
2019-10-27T20:35:29.000Z
2021-11-25T06:14:59.000Z
# The MIT License (MIT) # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, subl...
33.575
94
0.71035
369
2,686
5.02168
0.395664
0.04857
0.056665
0.061522
0.214247
0.214247
0.187264
0.182407
0.148408
0.103616
0
0
0.211095
2,686
79
95
34
0.874469
0.387937
0
0.175
0
0
0
0
0
0
0
0
0
1
0.225
false
0.075
0.075
0.075
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
1
0
0
0
0
0
2
84e05d83561867ee55bf98dea81d51dae83b7ddc
5,328
py
Python
build/lib/danbotstatus/dbhs.py
Zaeem20/danbot-status-py
59f6b06f72a73d817736f5009bf74153365d5804
[ "MIT" ]
1
2021-01-09T06:41:06.000Z
2021-01-09T06:41:06.000Z
build/lib/danbotstatus/dbhs.py
Zaeem20/danbot-status-py
59f6b06f72a73d817736f5009bf74153365d5804
[ "MIT" ]
1
2022-02-27T14:06:05.000Z
2022-03-05T18:22:36.000Z
build/lib/danbotstatus/dbhs.py
Zaeem20/danbot-status-py
59f6b06f72a73d817736f5009bf74153365d5804
[ "MIT" ]
1
2021-06-25T11:39:31.000Z
2021-06-25T11:39:31.000Z
import requests base = "https://danbot.host/nodeStatus" sysinfo = 'https://danbot.host/sysinfo' leaderboard = "https://api.danbot.host/leaderboard" ###################################### ##### GETTING ALL STATUS ##### ###################################### def getallstats(): r = requests.get(base) if r...
34.597403
96
0.468468
548
5,328
4.525547
0.166058
0.096774
0.070968
0.041935
0.695968
0.674194
0.674194
0.674194
0.669355
0.620161
0
0.009785
0.309497
5,328
153
97
34.823529
0.664311
0.114489
0
0.731481
0
0
0.250192
0
0
0
0
0
0
1
0.074074
false
0
0.009259
0
0.314815
0
0
0
0
null
0
0
0
0
0
0
0
0
1
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
2
84e5ce19951619256a651e5e62bac3cf7e2210b9
623
py
Python
dataset_specifications/const_noise.py
joeloskarsson/CGAN-regression
1cbcced10d28c11df8500373fc625e5df493f21d
[ "MIT" ]
12
2020-05-22T08:02:27.000Z
2022-03-28T06:14:23.000Z
dataset_specifications/const_noise.py
joeloskarsson/CGAN-regression
1cbcced10d28c11df8500373fc625e5df493f21d
[ "MIT" ]
3
2021-06-08T21:33:24.000Z
2022-03-11T07:11:06.000Z
dataset_specifications/const_noise.py
joeloskarsson/CGAN-regression
1cbcced10d28c11df8500373fc625e5df493f21d
[ "MIT" ]
null
null
null
import numpy as np import utils from dataset_specifications.dataset import Dataset class ConstNoiseSet(Dataset): def __init__(self): super().__init__() self.name = "const_noise" self.std_dev = np.sqrt(0.25) def get_support(self, x): return (x-2*self.std_dev, x+2*self.std_dev)...
23.961538
68
0.624398
97
623
3.814433
0.453608
0.094595
0.135135
0.048649
0.064865
0
0
0
0
0
0
0.019068
0.242376
623
25
69
24.92
0.764831
0
0
0
0
0
0.017685
0
0
0
0
0
0
1
0.235294
false
0
0.176471
0.117647
0.647059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
84eeefdee87344e091c09d134dd210f652eb2a83
827
py
Python
replayer.py
alec-deason/tidal_recorder
5d1e476f39f676ec107d34756729bf9bb3a81f77
[ "BSD-2-Clause" ]
2
2020-04-20T04:41:04.000Z
2022-02-13T12:35:36.000Z
replayer.py
alec-deason/tidal_recorder
5d1e476f39f676ec107d34756729bf9bb3a81f77
[ "BSD-2-Clause" ]
null
null
null
replayer.py
alec-deason/tidal_recorder
5d1e476f39f676ec107d34756729bf9bb3a81f77
[ "BSD-2-Clause" ]
null
null
null
import sys import json import time import pexpect import pexpect.replwrap import subprocess with open(sys.argv[1], 'r') as f: log = json.load(f) tidal_startup = subprocess.check_output('bash -c "ghc-pkg field -f ~/.cabal/store/ghc-$(ghc --numeric-version)/package.db tidal data-dir --simple-output"', shell=True)....
33.08
208
0.723096
126
827
4.650794
0.571429
0.061433
0.047782
0.064846
0.105802
0.105802
0
0
0
0
0
0.009655
0.123337
827
24
209
34.458333
0.798621
0.083434
0
0
0
0.052632
0.257596
0.070013
0
0
0
0.041667
0
1
0
false
0
0.315789
0
0.315789
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
2
84f9bb6cf2c5a77a0a4e681cea4d4c713636907b
2,318
py
Python
ooobuild/lo/document/extended_type_detection.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/document/extended_type_detection.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
ooobuild/lo/document/extended_type_detection.py
Amourspirit/ooo_uno_tmpl
64e0c86fd68f24794acc22d63d8d32ae05dd12b8
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright 2022 :Barry-Thomas-Paul: Moss # # 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 applicab...
51.511111
783
0.771355
348
2,318
5.037356
0.537356
0.034227
0.017114
0.030804
0.026241
0.026241
0
0
0
0
0
0.015088
0.170837
2,318
44
784
52.681818
0.896982
0.802416
0
0
0
0
0.235897
0.217949
0
0
0
0
0
1
0
false
0
0.166667
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
ca1c8a30a6421f30155c54d9e070066e825adb0c
789
py
Python
recursion_backtracking/gray_code.py
rjsnh1522/geeks-4-geeks-python
9bea0ce4f3fae9b5f9e5952fb5b4b3a8c6186cf4
[ "MIT" ]
null
null
null
recursion_backtracking/gray_code.py
rjsnh1522/geeks-4-geeks-python
9bea0ce4f3fae9b5f9e5952fb5b4b3a8c6186cf4
[ "MIT" ]
5
2021-03-10T11:49:39.000Z
2022-02-27T01:35:59.000Z
recursion_backtracking/gray_code.py
rjsnh1522/geeks-4-geeks-python
9bea0ce4f3fae9b5f9e5952fb5b4b3a8c6186cf4
[ "MIT" ]
null
null
null
class Solution: def binary_to_decimal(self, n): return int(n, 2) def grayCode(self, A): num_till_now = [0, 1] if A == 1: return num_till_now results = [] for i in range(1, A): rev = num_till_now.copy() rev.reverse() num_ti...
25.451613
64
0.508238
112
789
3.330357
0.339286
0.225201
0.321716
0.117962
0.075067
0
0
0
0
0
0
0.020534
0.382763
789
30
65
26.3
0.74538
0
0
0
0
0
0.002535
0
0
0
0
0
0
1
0.08
false
0
0
0.04
0.24
0.04
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ca2cd04632891908fd4591761cd96be2711726c5
3,060
py
Python
B2G/gecko/media/mtransport/runnable_utils.py
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/gecko/media/mtransport/runnable_utils.py
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/gecko/media/mtransport/runnable_utils.py
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
MAX_ARGS = 10 def gen_args_type(args): ret = ["C o", "M m"] for arg in range(0, args): ret.append("A%d a%d"%(arg, arg)) return ", ".join(ret) def gen_args(args): ret = ["o", "m"] for arg in range(0, args): ret.append("a%d"%(arg)) return ", ".join(ret) def gen_args_(args): ...
27.321429
125
0.566013
426
3,060
3.856808
0.112676
0.051126
0.043822
0.055386
0.68168
0.597079
0.48448
0.375533
0.347535
0.276932
0
0.004848
0.258497
3,060
111
126
27.567568
0.71926
0
0
0.406593
0
0
0.227421
0
0
0
0
0
0
0
null
null
0
0
null
null
0.450549
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
1
0
2
ca5557e64025637277ef387593b2b597c561f07e
94
py
Python
src/Codechef/Beginner/FLOW007.py
phungj/MSOE_Comp_Prog_Py
95e7521b28d3dbcb6279e7baf03067ca27acbe37
[ "MIT" ]
null
null
null
src/Codechef/Beginner/FLOW007.py
phungj/MSOE_Comp_Prog_Py
95e7521b28d3dbcb6279e7baf03067ca27acbe37
[ "MIT" ]
null
null
null
src/Codechef/Beginner/FLOW007.py
phungj/MSOE_Comp_Prog_Py
95e7521b28d3dbcb6279e7baf03067ca27acbe37
[ "MIT" ]
null
null
null
t = int(input()) for i in range(t): n = input() rev_n = int(n[::-1]) print(rev_n)
15.666667
24
0.5
18
94
2.5
0.611111
0.177778
0
0
0
0
0
0
0
0
0
0.014706
0.276596
94
6
25
15.666667
0.647059
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ca5c8ba97fa5559bc69d9b52a9b701d7e246d9ae
2,243
py
Python
musicalsave.py
sadcode-org/MusicalSave
8e521479094cf427e0c030772dbfb9fd2a1d472e
[ "MIT" ]
1
2020-01-31T15:47:11.000Z
2020-01-31T15:47:11.000Z
musicalsave.py
sadcode-org/MusicalSave
8e521479094cf427e0c030772dbfb9fd2a1d472e
[ "MIT" ]
null
null
null
musicalsave.py
sadcode-org/MusicalSave
8e521479094cf427e0c030772dbfb9fd2a1d472e
[ "MIT" ]
null
null
null
import urllib.request import re import argparse import sys import os from time import sleep __version__ = "1.0" banner = """ \033[1m\033[91m .d888888b. d88888888b 8888 8888 8888 8888 ...
28.75641
90
0.501115
231
2,243
4.757576
0.406926
0.160146
0.163785
0.174704
0.083712
0.083712
0.083712
0.043676
0.043676
0.043676
0
0.233842
0.38609
2,243
77
91
29.12987
0.56427
0
0
0.103448
0
0.017241
0.592798
0.024931
0
0
0
0
0
1
0.034483
false
0
0.103448
0
0.137931
0.12069
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ca778b4d6545d7967dcda6857d7c4d9279905ee7
529
py
Python
rl_groundup/functions/linear_value_function.py
TristanBester/rl_groundup
2e981667e21330a35a6ab2a642e278aaaf4dca84
[ "MIT" ]
1
2021-04-20T00:43:43.000Z
2021-04-20T00:43:43.000Z
rl_groundup/functions/linear_value_function.py
TristanBester/rl_groundup
2e981667e21330a35a6ab2a642e278aaaf4dca84
[ "MIT" ]
null
null
null
rl_groundup/functions/linear_value_function.py
TristanBester/rl_groundup
2e981667e21330a35a6ab2a642e278aaaf4dca84
[ "MIT" ]
null
null
null
# Created by Tristan Bester. import numpy as np class LinearValueFunction(object): '''A parametric function used to approximate the state-value function under a specific policy. The approximate value for a given state is equal to the dot product of the states feature vector and the parameter vec...
33.0625
74
0.705104
73
529
5
0.589041
0.106849
0
0
0
0
0
0
0
0
0
0
0.234405
529
15
75
35.266667
0.901235
0.487713
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
ca79ab655ae737f8bf3baec1d15ae2e0aa37e480
352
py
Python
template/src/exception.py
zhkzyth/storm_maker
01e90742fb6aacc139cd94f6ea01fa7795ef5204
[ "MIT" ]
null
null
null
template/src/exception.py
zhkzyth/storm_maker
01e90742fb6aacc139cd94f6ea01fa7795ef5204
[ "MIT" ]
null
null
null
template/src/exception.py
zhkzyth/storm_maker
01e90742fb6aacc139cd94f6ea01fa7795ef5204
[ "MIT" ]
null
null
null
#! /usr/bin/env python # encoding: utf-8 class TimeOutError(Exception): pass class MaxRetryError(Exception): pass class GodError(Exception): """ custom exception msg class """ def __init__(self, msg="Intern Error", code=500): self.msg = msg self.code = code def __str__...
15.304348
53
0.619318
42
352
5
0.571429
0.1
0.171429
0
0
0
0
0
0
0
0
0.015504
0.267045
352
22
54
16
0.79845
0.181818
0
0.2
0
0
0.04428
0
0
0
0
0
0
1
0.2
false
0.2
0
0.1
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
1
0
0
1
0
0
2
ca7b79dfdd8c7b6c57c03fb02e5cb974340d698b
298
py
Python
Exercises/gravity-between-two.py
shoriwe-upb/TallerEjercicios
ba37eb6cd673a8d38a1dfac87c5efac3f728da21
[ "MIT" ]
null
null
null
Exercises/gravity-between-two.py
shoriwe-upb/TallerEjercicios
ba37eb6cd673a8d38a1dfac87c5efac3f728da21
[ "MIT" ]
null
null
null
Exercises/gravity-between-two.py
shoriwe-upb/TallerEjercicios
ba37eb6cd673a8d38a1dfac87c5efac3f728da21
[ "MIT" ]
null
null
null
def main(): object_a_mass = float(input("Object A mass: ")) object_b_mass = float(input("Object B mass: ")) distance = float(input("Distance between both: ")) G = 6.67408 * (10**11) print(G*(object_a_mass*object_b_mass)/ (distance ** 2)) if __name__ == '__main__': main()
27.090909
59
0.624161
43
298
3.953488
0.465116
0.123529
0.194118
0.235294
0.258824
0.258824
0
0
0
0
0
0.046218
0.201342
298
10
60
29.8
0.668067
0
0
0
0
0
0.204698
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0.125
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ca8d3c3797b6977c56edd3a5e98c5dcd7805603f
537
py
Python
tests/flytekit/unit/contrib/sensors/test_task.py
flytehub/flytekit
f8f53567594069b29fcd3f99abd1da71a5ef0e22
[ "Apache-2.0" ]
null
null
null
tests/flytekit/unit/contrib/sensors/test_task.py
flytehub/flytekit
f8f53567594069b29fcd3f99abd1da71a5ef0e22
[ "Apache-2.0" ]
null
null
null
tests/flytekit/unit/contrib/sensors/test_task.py
flytehub/flytekit
f8f53567594069b29fcd3f99abd1da71a5ef0e22
[ "Apache-2.0" ]
null
null
null
from flytekit.contrib.sensors.base_sensor import Sensor as _Sensor from flytekit.contrib.sensors.task import sensor_task class MyMockSensor(_Sensor): def __init__(self, **kwargs): super(MyMockSensor, self).__init__(**kwargs) def _do_poll(self): """ :rtype: (bool, Optional[datetime.t...
21.48
66
0.666667
66
537
5.075758
0.545455
0.071642
0.113433
0.155224
0
0
0
0
0
0
0
0.002404
0.225326
537
24
67
22.375
0.802885
0.081937
0
0
0
0
0
0
0
0
0
0
0.076923
1
0.307692
false
0
0.153846
0.076923
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
ca94ba5628876db2b50859d8cfd0be5ce4121a83
116
py
Python
curso-python-usp-01/exercicio_semana8a.py
veraueda/Python
5115ff1f2a46e71c722eb1744c03439c84a2622f
[ "MIT" ]
null
null
null
curso-python-usp-01/exercicio_semana8a.py
veraueda/Python
5115ff1f2a46e71c722eb1744c03439c84a2622f
[ "MIT" ]
null
null
null
curso-python-usp-01/exercicio_semana8a.py
veraueda/Python
5115ff1f2a46e71c722eb1744c03439c84a2622f
[ "MIT" ]
null
null
null
carnes1 = ["picanha", "alcatra"] carnes2 = ["filé mignon", "cupim", "ponta de alcatra"] carnes3 = carnes2 + carnes1
29
54
0.672414
13
116
6
0.769231
0
0
0
0
0
0
0
0
0
0
0.050505
0.146552
116
3
55
38.666667
0.737374
0
0
0
0
0
0.396552
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ca95b0ea88c159d7a113685b37bb5104223866db
208
py
Python
nrange.py
jiayoustone/high_performance_python
63abb5e02bdbf086229b682b1768ed3afc63d8bb
[ "RSA-MD" ]
null
null
null
nrange.py
jiayoustone/high_performance_python
63abb5e02bdbf086229b682b1768ed3afc63d8bb
[ "RSA-MD" ]
null
null
null
nrange.py
jiayoustone/high_performance_python
63abb5e02bdbf086229b682b1768ed3afc63d8bb
[ "RSA-MD" ]
null
null
null
def nrange(start, stop, step=1): while start < stop: yield start start += step @profile def ncall(): for i in nrange(1,1000000): pass if __name__ == "__main__": ncall()
16
32
0.567308
27
208
4.074074
0.666667
0.163636
0
0
0
0
0
0
0
0
0
0.062937
0.3125
208
12
33
17.333333
0.706294
0
0
0
0
0
0.038462
0
0
0
0
0
0
1
0.2
false
0.1
0
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
04658c970df82f5ce84bcb9c92f7f487d01793ab
515
py
Python
askhome/utils.py
mathead/pyask-smart-home
3e93b287f96792715f5c3b48d6c79383aafba422
[ "MIT" ]
null
null
null
askhome/utils.py
mathead/pyask-smart-home
3e93b287f96792715f5c3b48d6c79383aafba422
[ "MIT" ]
null
null
null
askhome/utils.py
mathead/pyask-smart-home
3e93b287f96792715f5c3b48d6c79383aafba422
[ "MIT" ]
null
null
null
import inflection def get_action_string(func_name): """Transform function name to Alexa action""" return rstrip_word(inflection.camelize(func_name, False), 'Request') def get_request_string(func_name): """Transform function name to Alexa request name""" return rstrip_word(inflection.camelize(func_na...
27.105263
77
0.716505
69
515
5.188406
0.405797
0.089385
0.078212
0.128492
0.469274
0.469274
0.469274
0.234637
0
0
0
0
0.16699
515
18
78
28.611111
0.834499
0.223301
0
0
0
0
0.054688
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
0481d27b19d427270fcb18731b7ea02afd3a7274
871
py
Python
SoundPlayer.py
solidfake/TekkenBot
5f7b144144206d56d8300d997d3a66654def509d
[ "MIT" ]
15
2018-12-12T21:16:09.000Z
2021-05-03T17:55:07.000Z
SoundPlayer.py
solidfake/TekkenBot
5f7b144144206d56d8300d997d3a66654def509d
[ "MIT" ]
3
2018-12-06T03:08:34.000Z
2020-01-08T19:25:50.000Z
SoundPlayer.py
solidfake/TekkenBot
5f7b144144206d56d8300d997d3a66654def509d
[ "MIT" ]
7
2018-03-24T01:50:55.000Z
2021-10-04T20:42:01.000Z
import winsound import os class SoundPlayer: NOTES = 'A Bb B C Db D Eb E F Gb G Ab'.split() launch_wav_exists = os.path.exists('"TekkenData/Sound/LAUNCH_PUNISH.wav"') jab_wave_exists = os.path.exists('"TekkenData/Sound/LAUNCH_PUNISH.wav"') def noteFreq(name, oct): return int((27.5 * 2...
37.869565
89
0.639495
115
871
4.669565
0.443478
0.111732
0.117318
0.150838
0.554935
0.402235
0.402235
0.402235
0.402235
0.223464
0
0.023845
0.229621
871
23
90
37.869565
0.776453
0.197474
0
0
0
0
0.245536
0.203869
0
0
0
0
0
1
0.25
false
0
0.166667
0.083333
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
0486d55273cbf57ff05a0c4f76201f62c977d746
256
py
Python
Set 8/PR1.py
rcsiit1/python-practicals
76558dcbff2a6ae81ef4a5cb1d14c43a11c98faf
[ "Apache-2.0" ]
1
2018-11-17T08:01:16.000Z
2018-11-17T08:01:16.000Z
Set 8/PR1.py
rcsiit1/python-practicals
76558dcbff2a6ae81ef4a5cb1d14c43a11c98faf
[ "Apache-2.0" ]
null
null
null
Set 8/PR1.py
rcsiit1/python-practicals
76558dcbff2a6ae81ef4a5cb1d14c43a11c98faf
[ "Apache-2.0" ]
1
2018-10-14T19:31:42.000Z
2018-10-14T19:31:42.000Z
import turtle p=turtle.Turtle() def rec(): p.forward(100) p.right(30) p.forward(100) p.right(150) p.forward(100) p.right(30) p.forward(100) p.right(150) for i in range(36): rec() p.right(10) turtle.exitOnClick()
12.8
20
0.585938
42
256
3.571429
0.404762
0.2
0.293333
0.32
0.52
0.52
0.52
0.52
0.52
0.52
0
0.135417
0.25
256
19
21
13.473684
0.645833
0
0
0.533333
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.133333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0490e45df068823fa036a6870727adf57fe0434d
1,615
py
Python
modules/logger.py
Stefanlarsson95/RPI_Audio
92416985806a4f25696e4d387b5a60cf6e277f2b
[ "MIT" ]
1
2022-01-26T12:05:08.000Z
2022-01-26T12:05:08.000Z
modules/logger.py
Stefanlarsson95/RPI_Audio
92416985806a4f25696e4d387b5a60cf6e277f2b
[ "MIT" ]
null
null
null
modules/logger.py
Stefanlarsson95/RPI_Audio
92416985806a4f25696e4d387b5a60cf6e277f2b
[ "MIT" ]
null
null
null
''' Multicollor logger by Stefan Larsson ''' import datetime class LOGLEVEL: def __init__(self): pass FATAL = -1 ERROR = 0 WARN = 1 INFO = 2 DEBUG = 3 class Log: def __init__(self, level=LOGLEVEL.WARN): self._lvl = level def fatal(self, text): # Red print(...
29.363636
122
0.546749
212
1,615
4.080189
0.268868
0.06474
0.076301
0.131792
0.410405
0.410405
0.410405
0.34104
0.34104
0.34104
0
0.05033
0.249536
1,615
54
123
29.907407
0.663366
0.043963
0
0.111111
0
0
0.18051
0
0
0
0
0
0
1
0.277778
false
0.027778
0.027778
0.027778
0.527778
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
1
0
0
0
0
1
0
0
2
04aec817a0b9a71ad89b396d6bdf644968ba36a3
846
py
Python
brainstorm/games/even.py
znhv/winsio
4d4e69961285ea3dcebc5ad6358e2d753d6b4f9d
[ "MIT" ]
null
null
null
brainstorm/games/even.py
znhv/winsio
4d4e69961285ea3dcebc5ad6358e2d753d6b4f9d
[ "MIT" ]
null
null
null
brainstorm/games/even.py
znhv/winsio
4d4e69961285ea3dcebc5ad6358e2d753d6b4f9d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Module with the logic of the game even.""" import random NAME = "Even" RULES = 'Answer "yes" if the number is even, otherwise answer "no".' def is_even(num): """Проверяем, является ли число простым или нет. Args: num (int): Случайное число от 1 до 10 Returns: ...
19.674419
68
0.619385
108
846
4.805556
0.564815
0.034682
0.061657
0.065511
0.1079
0.1079
0.1079
0
0
0
0
0.019417
0.269504
846
42
69
20.142857
0.820388
0.48818
0
0
0
0
0.188202
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0
0.636364
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
1
0
0
2
04b3991cd22751e28a53cb60309195fc7ac3b882
201
py
Python
Beginner/hello.py
saurabhpati/python.beginner
a1ed49eb0da7aea80d914ef8b6df162ebf8abae1
[ "MIT" ]
null
null
null
Beginner/hello.py
saurabhpati/python.beginner
a1ed49eb0da7aea80d914ef8b6df162ebf8abae1
[ "MIT" ]
null
null
null
Beginner/hello.py
saurabhpati/python.beginner
a1ed49eb0da7aea80d914ef8b6df162ebf8abae1
[ "MIT" ]
null
null
null
# Displays the use of arguments passed to a program. # run this program with hello.py <first argument> <second argument> ... import sys; x = sys.argv; print('Number of arguments', len(x)); print(x);
22.333333
71
0.706468
32
201
4.4375
0.75
0.15493
0
0
0
0
0
0
0
0
0
0
0.164179
201
8
72
25.125
0.845238
0.597015
0
0
0
0
0.24359
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
04b45203e03add904a52d903b81d24c85a7bc104
573
py
Python
DESAFIO-017.py
Lukones/Evolution-Projetos-Python
d979f3702f0e22ab5256b19fd957dba587c44f85
[ "MIT" ]
null
null
null
DESAFIO-017.py
Lukones/Evolution-Projetos-Python
d979f3702f0e22ab5256b19fd957dba587c44f85
[ "MIT" ]
null
null
null
DESAFIO-017.py
Lukones/Evolution-Projetos-Python
d979f3702f0e22ab5256b19fd957dba587c44f85
[ "MIT" ]
null
null
null
# Um programa que análisa o nome e faz alterações no mesmo # nome = str(input('Digite seu nome: ')).strip() print('Analiando seu nome...') print(f'Seu nome em maiúsculas é {(nome.upper())}') print(f'Seu nome em minúsculas é {(nome.lower())}') print(f'Seu nome tem ao todo {(len(nome) - nome.count(" "))} letras') # Os ...
38.2
75
0.685864
94
573
4.180851
0.510638
0.089059
0.114504
0.099237
0.183206
0
0
0
0
0
0
0.004115
0.151832
573
14
76
40.928571
0.804527
0.26178
0
0
0
0
0.702899
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
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
1
0
2
04db55985f7d3ca283f70d2a7a4d60d8b10b60be
943
py
Python
pyopenproject/business/services/command/group/find.py
webu/pyopenproject
40b2cb9fe0fa3f89bc0fe2a3be323422d9ecf966
[ "MIT" ]
5
2021-02-25T15:54:28.000Z
2021-04-22T15:43:36.000Z
pyopenproject/business/services/command/group/find.py
webu/pyopenproject
40b2cb9fe0fa3f89bc0fe2a3be323422d9ecf966
[ "MIT" ]
7
2021-03-15T16:26:23.000Z
2022-03-16T13:45:18.000Z
pyopenproject/business/services/command/group/find.py
webu/pyopenproject
40b2cb9fe0fa3f89bc0fe2a3be323422d9ecf966
[ "MIT" ]
6
2021-06-18T18:59:11.000Z
2022-03-27T04:58:52.000Z
from pyopenproject.api_connection.exceptions.request_exception import RequestError from pyopenproject.api_connection.requests.get_request import GetRequest from pyopenproject.business.exception.business_error import BusinessError from pyopenproject.business.services.command.group.group_command import GroupCommand from ...
37.72
95
0.724284
110
943
6.063636
0.418182
0.127436
0.05997
0.089955
0
0
0
0
0
0
0
0
0.194062
943
24
96
39.291667
0.877632
0.125133
0
0
0
0
0.09068
0.037783
0
0
0
0
0
1
0.133333
false
0
0.333333
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
1
0
1
0
0
2
04de3431ff5c359b045f338c5363ab8b486a6f81
627
py
Python
rf2settings/app/__init__.py
tappi287/rf2_video_settings
6ae73c63f48e6d515a9efb653f236dea0494d9f1
[ "MIT" ]
8
2020-12-09T17:34:40.000Z
2022-02-21T10:15:09.000Z
rf2settings/app/__init__.py
tappi287/rf2_video_settings
6ae73c63f48e6d515a9efb653f236dea0494d9f1
[ "MIT" ]
11
2021-02-27T00:21:47.000Z
2022-02-25T14:41:56.000Z
rf2settings/app/__init__.py
tappi287/rf2_video_settings
6ae73c63f48e6d515a9efb653f236dea0494d9f1
[ "MIT" ]
2
2021-06-28T21:11:53.000Z
2022-02-06T17:20:18.000Z
from . import app_content, app_controller, app_main, app_presets, app_rfconnect, app_multiplayer, \ app_dashboard, app_graphics, app_headlights, app_benchmark def expose_app_methods(): app_content.expose_content_methods() app_controller.expose_controller_methods() app_main.expose_main_methods() ap...
41.8
99
0.816587
76
627
6.184211
0.223684
0.212766
0
0
0
0
0
0
0
0
0
0
0.113238
627
15
100
41.8
0.845324
0
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
true
0
0.076923
0
0.153846
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
04f3d46831827f3143e08040c1b0e0ec28c794c5
326
py
Python
blog/views.py
pradyumnakr/portfolio-project
972ec9112b88fdcddf12904d5a5745569b6e7bf5
[ "Apache-2.0" ]
null
null
null
blog/views.py
pradyumnakr/portfolio-project
972ec9112b88fdcddf12904d5a5745569b6e7bf5
[ "Apache-2.0" ]
null
null
null
blog/views.py
pradyumnakr/portfolio-project
972ec9112b88fdcddf12904d5a5745569b6e7bf5
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render,get_object_or_404 from .models import Blog def allblogs(request): blogs=Blog.objects return render(request,'blog/allblogs.html',{'blogs':blogs}) def detail(request,blog_id): detailblog=get_object_or_404(Blog,pk=blog_id) return render(request,'blog/detail.html',{'blog':detail...
32.6
62
0.788344
49
326
5.081633
0.44898
0.13253
0.088353
0.11245
0
0
0
0
0
0
0
0.02
0.079755
326
10
62
32.6
0.81
0
0
0
0
0
0.131498
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
04f5939b88b74e8324bf166ca676a2324ebbde78
1,623
py
Python
assets/views.py
ciscochao/IMU_DevOps
aa9c1d2d97f4b986870ed53b2235bf0e32de13a7
[ "MIT" ]
null
null
null
assets/views.py
ciscochao/IMU_DevOps
aa9c1d2d97f4b986870ed53b2235bf0e32de13a7
[ "MIT" ]
null
null
null
assets/views.py
ciscochao/IMU_DevOps
aa9c1d2d97f4b986870ed53b2235bf0e32de13a7
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.shortcuts import HttpResponse from django.views.decorators.csrf import csrf_exempt import json from assets import models from assets import assets_handler from django.shortcuts import get_object_or_404 # Create your views here. @csrf_exempt def report(request): if r...
30.055556
89
0.636476
179
1,623
5.659218
0.385475
0.106614
0.056269
0.074038
0.071076
0.071076
0
0
0
0
0
0.005907
0.269871
1,623
53
90
30.622642
0.848945
0.051756
0
0.102564
0
0
0.082245
0.013708
0
0
0
0
0
1
0.102564
false
0.051282
0.179487
0
0.512821
0.025641
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
1
0
0
2
b6bd80f40c880d0005d1ffcae7c79bc76b9a863b
524
py
Python
modules/connector.py
danielmarostica/python-data-flow
99d13a35ec1dcc10d374af737f0432ff14d68016
[ "MIT" ]
1
2021-07-07T22:09:32.000Z
2021-07-07T22:09:32.000Z
modules/connector.py
danielmarostica/python-data-flow
99d13a35ec1dcc10d374af737f0432ff14d68016
[ "MIT" ]
null
null
null
modules/connector.py
danielmarostica/python-data-flow
99d13a35ec1dcc10d374af737f0432ff14d68016
[ "MIT" ]
null
null
null
import pyodbc as pyodbc import sys def connect(): print('Conectando ao prod...') server = '19.360.30.105\NAME' database = 'name' username = 'data' password = '7JCP' try: connection = pyodbc.connect('DRIVER={ODBC Driver 17 for SQL Server};SERVER='+server+';DATABASE='+database+';UID='+u...
26.2
149
0.616412
62
524
5.209677
0.645161
0.074303
0
0
0
0
0
0
0
0
0
0.035176
0.240458
524
20
150
26.2
0.776382
0
0
0
0
0
0.241905
0
0
0
0
0
0
0
null
null
0.117647
0.117647
null
null
0.176471
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
1
0
0
0
0
0
2
b6e9a6c80ded65367af3be82a6a4bd9e4752846d
8,162
py
Python
skactiveml/stream/tests/test_uncertainty_zliobaite.py
LukasLuehrs/scikit-activeml
04d7107272ef0438070808475599131d8726f547
[ "BSD-3-Clause" ]
null
null
null
skactiveml/stream/tests/test_uncertainty_zliobaite.py
LukasLuehrs/scikit-activeml
04d7107272ef0438070808475599131d8726f547
[ "BSD-3-Clause" ]
null
null
null
skactiveml/stream/tests/test_uncertainty_zliobaite.py
LukasLuehrs/scikit-activeml
04d7107272ef0438070808475599131d8726f547
[ "BSD-3-Clause" ]
null
null
null
import unittest import numpy as np from sklearn.datasets import make_classification from skactiveml.classifier import ParzenWindowClassifier from skactiveml.stream import ( FixedUncertainty, VariableUncertainty, Split, RandomVariableUncertainty, ) class TemplateTestUncertaintyZliobaite: def setU...
29.15
80
0.557584
846
8,162
5.210402
0.122931
0.159256
0.096416
0.12069
0.749546
0.72323
0.70735
0.676497
0.632486
0.562387
0
0.00532
0.355183
8,162
279
81
29.25448
0.832225
0.069468
0
0.628099
0
0
0.006992
0
0
0
0
0
0.099174
1
0.061983
false
0
0.020661
0.016529
0.119835
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b6eb4f4b2f21f5874da407746c25ef56756db32f
3,158
py
Python
2nd_100/problem120.py
takekoputa/project-euler
6f434be429bd26f5d0f84f5ab0f5fa2bd677c790
[ "MIT" ]
null
null
null
2nd_100/problem120.py
takekoputa/project-euler
6f434be429bd26f5d0f84f5ab0f5fa2bd677c790
[ "MIT" ]
null
null
null
2nd_100/problem120.py
takekoputa/project-euler
6f434be429bd26f5d0f84f5ab0f5fa2bd677c790
[ "MIT" ]
1
2021-11-02T12:08:46.000Z
2021-11-02T12:08:46.000Z
# Question: https://projecteuler.net/problem=120 # The coefficients of a^(odd) cancel out, so there might be a pattern ... # n | X_n = (a-1)^n + (a+1)^n | mod a^2 #-----|----------------------------|-------- # 1 | 2a | 2a # 2 | 2a^2 + 2 | 2 # 3 | 2...
65.791667
163
0.329639
527
3,158
1.954459
0.155598
0.091262
0.072816
0.046602
0.436893
0.395146
0.33301
0.287379
0.223301
0.165049
0
0.141162
0.493034
3,158
47
164
67.191489
0.502186
0.952818
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
1
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
2
b6ee0da47a30525b356a99911b7c63ec9d7832dd
226
py
Python
algorithm/challenges/stair.py
rishabhiitbhu/hackerrank
acc300851c81a29472177f15fd8b56ebebe853ea
[ "MIT" ]
null
null
null
algorithm/challenges/stair.py
rishabhiitbhu/hackerrank
acc300851c81a29472177f15fd8b56ebebe853ea
[ "MIT" ]
null
null
null
algorithm/challenges/stair.py
rishabhiitbhu/hackerrank
acc300851c81a29472177f15fd8b56ebebe853ea
[ "MIT" ]
1
2020-01-30T06:47:09.000Z
2020-01-30T06:47:09.000Z
n = int(input().strip()) for i in range(0,n): for y in range(0,n): if(y<n-i-1): print(' ', end='') elif(y>=n-i-1 and y!=n-1): print('#',end='') else: print('#')
20.545455
34
0.376106
36
226
2.361111
0.472222
0.070588
0.188235
0.211765
0
0
0
0
0
0
0
0.035714
0.380531
226
10
35
22.6
0.571429
0
0
0
0
0
0.013333
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8e06293f0d749c6d5f00950fb1f2b0ba3afe8475
598
py
Python
test_haystack/test_app_using_appconfig/tests.py
skirsdeda/django-haystack
5bec313d8271eb11524b9aa7710983605023ec35
[ "BSD-3-Clause" ]
null
null
null
test_haystack/test_app_using_appconfig/tests.py
skirsdeda/django-haystack
5bec313d8271eb11524b9aa7710983605023ec35
[ "BSD-3-Clause" ]
2
2016-03-16T10:45:01.000Z
2017-03-24T08:18:38.000Z
test_haystack/test_app_using_appconfig/tests.py
chelis/django-haystack
94558b34c6b3c490e8d5a9bd4be25d67335aa1ad
[ "BSD-3-Clause" ]
1
2016-09-01T14:09:13.000Z
2016-09-01T14:09:13.000Z
# encoding: utf-8 from __future__ import absolute_import, division, print_function, unicode_literals import django from django.test import TestCase from .models import MicroBlogPost from ..utils import unittest @unittest.skipIf(django.VERSION < (1, 7), 'AppConfig tests do not apply to Django versions before 1.7'...
26
103
0.759197
74
598
5.932432
0.594595
0.082005
0
0
0
0
0
0
0
0
0
0.01002
0.165552
598
22
104
27.181818
0.869739
0.025084
0
0
0
0
0.111876
0
0
0
0
0
0.083333
1
0.083333
false
0
0.5
0
0.666667
0.083333
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
1
0
0
2
8e064397fb0ff387ef967e65d16da5895cef6eaa
8,920
py
Python
tinkercellrepo/python/wikidust/mapupload_test.py
dhlee4/Tinkercell_new
c4d1848bbb905f0e1f9e011837268ac80aff8711
[ "BSD-3-Clause" ]
1
2021-01-07T13:12:51.000Z
2021-01-07T13:12:51.000Z
tinkercellrepo/python/wikidust/mapupload_test.py
dhlee4/Tinkercell_new
c4d1848bbb905f0e1f9e011837268ac80aff8711
[ "BSD-3-Clause" ]
7
2020-04-12T22:25:46.000Z
2020-04-13T07:50:40.000Z
tinkercellrepo/python/wikidust/mapupload_test.py
daniel-anavaino/tinkercell
7896a7f809a0373ab3c848d25e3691d10a648437
[ "BSD-3-Clause" ]
2
2020-04-12T21:57:01.000Z
2020-04-12T21:59:29.000Z
#TODO also test handling of bad input import unittest import test import mapupload import wikibrowser import os, sys from getpass import getpass #LOG_PATH = "mapupload.log" #log = WikiDustLogger(path=LOG_PATH) class MapUploadTest(unittest.TestCase): def __init__(self, url, username, password, error): uni...
59.865772
137
0.619731
848
8,920
6.391509
0.220519
0.03321
0.066421
0.04262
0.361255
0.304613
0.165129
0.124723
0.086347
0
0
0.011735
0.254821
8,920
148
138
60.27027
0.803671
0.038901
0
0.064
0
0
0.148481
0
0
0
0
0.006757
0.064
0
null
null
0.144
0.048
null
null
0.032
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
1
0
0
0
0
0
2
8e105e119e936d7a04b176a73838d47040ee7b70
317
py
Python
get_sdwan_device_list.py
GC-Younger-Team/AWS-Serverless-Architecture-based-Cisco-DNA-Demo-Platform
b11ba573f9c1dc33f0e23afce48b31afab4096d9
[ "MIT" ]
4
2020-10-26T07:56:15.000Z
2021-07-07T03:55:28.000Z
get_sdwan_device_list.py
GC-Younger-Team/AWS-Serverless-Architecture-based-Cisco-DNA-Demo-Platform
b11ba573f9c1dc33f0e23afce48b31afab4096d9
[ "MIT" ]
null
null
null
get_sdwan_device_list.py
GC-Younger-Team/AWS-Serverless-Architecture-based-Cisco-DNA-Demo-Platform
b11ba573f9c1dc33f0e23afce48b31afab4096d9
[ "MIT" ]
1
2021-07-07T03:55:29.000Z
2021-07-07T03:55:29.000Z
import socket import json from get_device import get_device def Logstash(event, context): with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: get_device_list=get_device(event, context) s.connect(('10.11.2.7', 6001)) s.send(str(json.dumps(get_device_list)).encode('utf-8')) s.close()
26.416667
61
0.716088
52
317
4.192308
0.596154
0.206422
0.119266
0
0
0
0
0
0
0
0
0.040741
0.148265
317
12
62
26.416667
0.766667
0
0
0
0
0
0.044025
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.444444
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
8e19be1c9e380660a020f79b041b56cda0f79b9e
280
py
Python
Nodes/Statements/Iterative/While.py
Mohsin-Ul-Islam/YAPL
163da2dfd879fc6dee9bc0e1b1c94972c75935cd
[ "MIT" ]
null
null
null
Nodes/Statements/Iterative/While.py
Mohsin-Ul-Islam/YAPL
163da2dfd879fc6dee9bc0e1b1c94972c75935cd
[ "MIT" ]
null
null
null
Nodes/Statements/Iterative/While.py
Mohsin-Ul-Islam/YAPL
163da2dfd879fc6dee9bc0e1b1c94972c75935cd
[ "MIT" ]
null
null
null
class Node: def __init__(self, condition, body): self.condition = condition self.body = body def visit(self, context): rvalue = None while self.condition.visit(context): rvalue = self.body.visit(context) return rvalue
23.333333
45
0.6
31
280
5.290323
0.419355
0.237805
0
0
0
0
0
0
0
0
0
0
0.310714
280
11
46
25.454545
0.849741
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.444444
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
8e1b23884210499d861748fa0808dce0baa1a875
369
py
Python
output/models/sun_data/mgroup_def/target_ns/target_ns00101m/target_ns00101m2_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/sun_data/mgroup_def/target_ns/target_ns00101m/target_ns00101m2_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/sun_data/mgroup_def/target_ns/target_ns00101m/target_ns00101m2_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.sun_data.mgroup_def.target_ns.target_ns00101m.target_ns00101m2_xsd.target_ns00101m1 import ( A1 as Ns00101M1A1, A as Ns00101M1A, ) from output.models.sun_data.mgroup_def.target_ns.target_ns00101m.target_ns00101m2_xsd.target_ns00101m2 import ( A1 as A1, A as A, ) __all__ = [ "Ns00...
23.0625
111
0.728997
51
369
4.921569
0.392157
0.179283
0.12749
0.151394
0.621514
0.621514
0.621514
0.621514
0.621514
0.621514
0
0.20915
0.170732
369
15
112
24.6
0.611111
0
0
0
0
0
0.065041
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8e2b2e66f019f29bf60497463403aa4c2f760fb9
137
py
Python
examples/image/cath/util/__init__.py
mariogeiger/se3cnn
afd027c72e87f2c390e0a2e7c6cfc8deea34b0cf
[ "MIT" ]
170
2018-07-03T17:18:35.000Z
2022-03-30T15:30:40.000Z
examples/image/cath/util/__init__.py
blondegeek/se3cnn
c918bafa7431d822bd5680efee2c60903513ffb5
[ "MIT" ]
34
2018-10-09T08:56:24.000Z
2020-01-30T09:46:52.000Z
examples/image/cath/util/__init__.py
SuperXiang/se3cnn
afd027c72e87f2c390e0a2e7c6cfc8deea34b0cf
[ "MIT" ]
40
2018-07-03T13:40:14.000Z
2022-01-28T16:40:48.000Z
__all__ = [ 'arch_blocks', 'get_mask', 'get_param_groups', 'logger', 'losses', 'lr_schedulers', 'optimizers_L1L2', 'tensorflow_logger', ]
13.7
20
0.722628
16
137
5.5
0.875
0
0
0
0
0
0
0
0
0
0
0.015873
0.080292
137
10
21
13.7
0.68254
0
0
0
0
0
0.666667
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2
8e386ceda93c7d23d18e411133bdb452b31d861c
1,019
py
Python
api/swagger_server/test/test_menu_controller.py
dgisolfi/PythonPackaging
d756d23fa37b6467accc88ee8d72c9344da675b9
[ "WTFPL" ]
null
null
null
api/swagger_server/test/test_menu_controller.py
dgisolfi/PythonPackaging
d756d23fa37b6467accc88ee8d72c9344da675b9
[ "WTFPL" ]
null
null
null
api/swagger_server/test/test_menu_controller.py
dgisolfi/PythonPackaging
d756d23fa37b6467accc88ee8d72c9344da675b9
[ "WTFPL" ]
null
null
null
# coding: utf-8 from __future__ import absolute_import from six import BytesIO from flask import json from swagger_server.test import BaseTestCase from swagger_server.models.item import Item # noqa: E501 from swagger_server.models.menu import Menu # noqa: E501 class TestMenuController(BaseTestCase): """MenuC...
26.128205
87
0.66634
127
1,019
5.149606
0.417323
0.042813
0.077982
0.070336
0.348624
0.269113
0.201835
0.201835
0.201835
0.201835
0
0.019011
0.225711
1,019
38
88
26.815789
0.809886
0.185476
0
0.111111
0
0
0.116967
0
0
0
0
0
0.111111
1
0.111111
false
0
0.388889
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
8e4d2bf8090ebe5b7a2f57a8cc610dee694c17cf
130
py
Python
decrypt.py
tiodh/enkripsi
3cbce829ef64534a301f557b3aa2197394c91600
[ "CC0-1.0" ]
null
null
null
decrypt.py
tiodh/enkripsi
3cbce829ef64534a301f557b3aa2197394c91600
[ "CC0-1.0" ]
null
null
null
decrypt.py
tiodh/enkripsi
3cbce829ef64534a301f557b3aa2197394c91600
[ "CC0-1.0" ]
null
null
null
chipper = input('Input Message: ') plain = '' for alphabet in chipper: temp = ord(alphabet)-1 plain += chr(temp) print(plain)
14.444444
34
0.669231
18
130
4.833333
0.666667
0
0
0
0
0
0
0
0
0
0
0.009346
0.176923
130
8
35
16.25
0.803738
0
0
0
0
0
0.115385
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8e4fd57d97f6bb1315c28a6ff1e8dbb84dec1a75
2,283
py
Python
ripper/proxy_manager.py
chancat87/russia_ddos
4fac86f666b90c76f1a16a9ad457be4304577889
[ "MIT" ]
null
null
null
ripper/proxy_manager.py
chancat87/russia_ddos
4fac86f666b90c76f1a16a9ad457be4304577889
[ "MIT" ]
null
null
null
ripper/proxy_manager.py
chancat87/russia_ddos
4fac86f666b90c76f1a16a9ad457be4304577889
[ "MIT" ]
null
null
null
import random import threading from ripper.proxy import Sock5Proxy from ripper.constants import PROXY_MAX_FAILURE_RATIO, PROXY_MIN_VALIDATION_REQUESTS lock = threading.Lock() class ProxyManager: """Manager for proxy collection.""" proxy_list: list[Sock5Proxy] = [] """Active proxies.""" proxy_list_i...
34.074627
107
0.667981
288
2,283
4.993056
0.288194
0.118915
0.099444
0.072323
0.069541
0
0
0
0
0
0
0.009884
0.246605
2,283
66
108
34.590909
0.826163
0.061323
0
0
0
0
0
0
0
0
0
0.015152
0
1
0.152174
false
0
0.086957
0
0.521739
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
8e50bf8bcb01978a8fa4750ec4ee173dea55986b
4,207
py
Python
baselines/agglomerative.py
ekQ/flan
03eb6207ddbd71649ac103a0fa84676701d737c4
[ "MIT" ]
1
2018-12-26T11:54:23.000Z
2018-12-26T11:54:23.000Z
baselines/agglomerative.py
ekQ/flan
03eb6207ddbd71649ac103a0fa84676701d737c4
[ "MIT" ]
null
null
null
baselines/agglomerative.py
ekQ/flan
03eb6207ddbd71649ac103a0fa84676701d737c4
[ "MIT" ]
2
2017-08-27T17:52:39.000Z
2019-10-20T10:49:38.000Z
""" NOTE: This method hasn't been used recently and therefor might not work as such. Agglomerative clustering approach for multiple network alignment. """ import utilities as util def agglomerative(asg, similarities, P, max_iters): """ Agglomerative approach for multiple network alignment. TODO Get rid ...
41.245098
164
0.577846
524
4,207
4.343511
0.19084
0.112478
0.04833
0.030756
0.70826
0.597979
0.554921
0.491213
0.45167
0.397627
0
0.008182
0.331828
4,207
101
165
41.653465
0.801494
0.145947
0
0.702703
0
0
0.043294
0
0
0
0
0.009901
0
0
null
null
0
0.013514
null
null
0.067568
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
1
0
0
0
0
0
0
0
0
2
f3ce4f00a0a27d771dd9d18776a75e179077d360
1,152
py
Python
authentico/forms.py
Dogruyer/hospital-automation
e5faffce93c0bda475cd0dbd0e7ef0f55b11564d
[ "Apache-2.0" ]
2
2020-12-09T07:42:34.000Z
2020-12-09T09:35:20.000Z
authentico/forms.py
Dogruyer/hospital-automation
e5faffce93c0bda475cd0dbd0e7ef0f55b11564d
[ "Apache-2.0" ]
6
2020-06-05T19:34:52.000Z
2022-03-11T23:35:55.000Z
authentico/forms.py
Dogruyer/hospital-automation
e5faffce93c0bda475cd0dbd0e7ef0f55b11564d
[ "Apache-2.0" ]
2
2018-01-30T20:12:20.000Z
2020-12-09T07:42:38.000Z
from django.forms import ModelForm, forms from django import forms from .models import User from django.contrib.auth.forms import UserCreationForm class UserCreateForm(UserCreationForm): email = forms.EmailField(required=True) class Meta: model = User fields = ("username", "email", "password1...
29.538462
89
0.679688
137
1,152
5.664234
0.430657
0.056701
0.07732
0.051546
0
0
0
0
0
0
0
0.002212
0.215278
1,152
39
90
29.538462
0.856195
0
0
0
0
0
0.095403
0
0
0
0
0
0
1
0.111111
false
0.074074
0.148148
0.037037
0.592593
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
1
0
0
2
f3d5c9bf64eedba0f6f468357059e46f9c2f136c
176
py
Python
demo.py
bitsofinfo/github-actions-demo
3b0a23c4276fe290c9c2001e16998cf5aeffc9ae
[ "MIT" ]
null
null
null
demo.py
bitsofinfo/github-actions-demo
3b0a23c4276fe290c9c2001e16998cf5aeffc9ae
[ "MIT" ]
15
2020-12-04T02:33:00.000Z
2020-12-05T02:23:38.000Z
demo.py
bitsofinfo/github-actions-demo
3b0a23c4276fe290c9c2001e16998cf5aeffc9ae
[ "MIT" ]
null
null
null
from jinja2 import Template import sys def main(): args = sys.argv[1:] print(Template("arg1={{arg1}}").render({"arg1":args[0]})) if __name__ == "__main__": main()
19.555556
61
0.625
24
176
4.25
0.666667
0
0
0
0
0
0
0
0
0
0
0.041096
0.170455
176
9
62
19.555556
0.657534
0
0
0
0
0
0.141243
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.428571
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f3e99bde9010747f0fba862dafda2bbbc446ce8c
289
py
Python
36 Decorators/main3.py
codewithsandy/Python-Basic-Exp
4c70ada4a042923a94301453c7bd76e704cd2989
[ "MIT" ]
3
2021-05-08T13:11:41.000Z
2021-05-14T02:43:20.000Z
36 Decorators/main3.py
codewithsandy/Python-Basic-Exp
4c70ada4a042923a94301453c7bd76e704cd2989
[ "MIT" ]
null
null
null
36 Decorators/main3.py
codewithsandy/Python-Basic-Exp
4c70ada4a042923a94301453c7bd76e704cd2989
[ "MIT" ]
null
null
null
def dec1(def1): def exec(): print("Executing now") def1() print("Executed") return exec @dec1 def who_is_sandy(): print("Sandy is good programmer") #who_is_sandy = dec1(who_is_sandy) #Decorative function is dec1 another term is @dec1 who_is_sandy()
20.642857
87
0.650519
41
289
4.390244
0.439024
0.111111
0.222222
0.155556
0
0
0
0
0
0
0
0.031818
0.238754
289
13
88
22.230769
0.786364
0.294118
0
0
0
0
0.222772
0
0
0
0
0
0
1
0.3
false
0
0
0
0.4
0.3
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
f3ed975cd086d68207091965049d101d948c5eeb
589
py
Python
aiohwenergy/errors.py
DCSBL/aiohwenergy
7dbe249f925c75bdccf76ddda470e93a0e1a803f
[ "Apache-2.0" ]
1
2020-12-03T22:53:51.000Z
2020-12-03T22:53:51.000Z
aiohwenergy/errors.py
Unsigus/aiohwenergy
940fa7f2ec06e6bce311db21bf684763056254bf
[ "Apache-2.0" ]
2
2022-01-29T12:43:17.000Z
2022-02-01T05:56:09.000Z
aiohwenergy/errors.py
Unsigus/aiohwenergy
940fa7f2ec06e6bce311db21bf684763056254bf
[ "Apache-2.0" ]
1
2022-01-28T20:43:38.000Z
2022-01-28T20:43:38.000Z
"""Aiohwenergy errors.""" class AiohwenergyException(Exception): """Base error for aiohwenergy.""" class RequestError(AiohwenergyException): """Unable to fulfill request. Raised when host or API cannot be reached. """ class InvalidStateError(AiohwenergyException): """Raised when the device is...
23.56
76
0.728353
66
589
6.5
0.606061
0.09324
0.20979
0.153846
0.205128
0.205128
0.205128
0
0
0
0
0
0.171477
589
24
77
24.541667
0.879098
0.502547
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
1
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
1
0
0
0
0
0
0
2
f3ef9e6c1d0b253415ed5070423b997bcfc24b14
732
py
Python
tests/test_ssh_client.py
ubikampus/raspberry-config-cli
ed8332e9e85400f0e2147a340b283d7358eafcff
[ "MIT" ]
null
null
null
tests/test_ssh_client.py
ubikampus/raspberry-config-cli
ed8332e9e85400f0e2147a340b283d7358eafcff
[ "MIT" ]
null
null
null
tests/test_ssh_client.py
ubikampus/raspberry-config-cli
ed8332e9e85400f0e2147a340b283d7358eafcff
[ "MIT" ]
null
null
null
import unittest from unittest.mock import patch from btconfig import ssh_client class FakeClient(): def exec_command(self, value): return value class MockSSHClient(ssh_client.SSHClient): def __init__(self): self.connections = {} pass def connect(self, target=None): if targ...
26.142857
71
0.639344
87
732
5.229885
0.471264
0.098901
0.057143
0.074725
0.136264
0.136264
0.136264
0
0
0
0
0.009009
0.241803
732
28
72
26.142857
0.810811
0
0
0
0
0
0.021828
0
0
0
0
0
0.090909
1
0.272727
false
0.045455
0.136364
0.045455
0.590909
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
1
0
0
2
6d03709a693af694278064cb96df3c12122febfe
781
py
Python
slow_tests/attackers_chinese.py
e-tornike/OpenAttack
b19c53af2e01f096505f8ebb8f48a54388295003
[ "MIT" ]
444
2020-07-14T12:13:26.000Z
2022-03-28T02:46:30.000Z
slow_tests/attackers_chinese.py
e-tornike/OpenAttack
b19c53af2e01f096505f8ebb8f48a54388295003
[ "MIT" ]
50
2020-07-15T01:34:42.000Z
2022-01-24T12:19:19.000Z
slow_tests/attackers_chinese.py
e-tornike/OpenAttack
b19c53af2e01f096505f8ebb8f48a54388295003
[ "MIT" ]
86
2020-08-02T13:16:45.000Z
2022-03-27T06:22:04.000Z
from OpenAttack import substitute import sys, os sys.path.insert(0, os.path.join( os.path.dirname(os.path.abspath(__file__)), ".." )) import OpenAttack def get_attackers_on_chinese(dataset, clsf): triggers = OpenAttack.attackers.UATAttacker.get_triggers(clsf, dataset, clsf.tokenizer) attackers = ...
37.190476
91
0.71831
85
781
6.470588
0.435294
0.241818
0.152727
0.218182
0
0
0
0
0
0
0
0.001506
0.149808
781
21
92
37.190476
0.826807
0
0
0
0
0
0.060102
0
0
0
0
0
0
1
0.055556
false
0
0.166667
0
0.277778
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6d50aa6f25d364990d11c67a95e2f6602abccbb0
496
py
Python
openprocurement_client/tests/main.py
openprocurement/ProzorroUKR-openprocurement.client.python
ccd573d2b71fe8ab197773253e170c132c66501b
[ "Apache-2.0" ]
1
2020-05-16T22:05:30.000Z
2020-05-16T22:05:30.000Z
openprocurement_client/tests/main.py
openprocurement/ProzorroUKR-openprocurement.client.python
ccd573d2b71fe8ab197773253e170c132c66501b
[ "Apache-2.0" ]
null
null
null
openprocurement_client/tests/main.py
openprocurement/ProzorroUKR-openprocurement.client.python
ccd573d2b71fe8ab197773253e170c132c66501b
[ "Apache-2.0" ]
null
null
null
import unittest from openprocurement_client.tests import ( tests_resources, tests_sync, test_registry_client, tests_dasu, tests_utils ) def suite(): suite = unittest.TestSuite() suite.addTest(tests_sync.suite()) suite.addTest(test_registry_client.suite()) suite.addTest(tests_resou...
20.666667
47
0.715726
58
496
5.758621
0.362069
0.149701
0.203593
0.197605
0
0
0
0
0
0
0
0
0.173387
496
23
48
21.565217
0.814634
0
0
0
0
0
0.02621
0
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.222222
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6d598ec04df6c5961f0988c5fdd2b39836ae7345
6,839
py
Python
pinner/locations/models.py
plusbeauxjours/pinner-backend
a0e95ddef6cb8be6ea107e40330b1f8d2f5c76ac
[ "MIT" ]
null
null
null
pinner/locations/models.py
plusbeauxjours/pinner-backend
a0e95ddef6cb8be6ea107e40330b1f8d2f5c76ac
[ "MIT" ]
12
2019-08-22T17:31:02.000Z
2022-02-10T09:52:38.000Z
pinner/locations/models.py
plusbeauxjours/pinner-backend
a0e95ddef6cb8be6ea107e40330b1f8d2f5c76ac
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.humanize.templatetags.humanize import naturaltime from django.utils.html import escape, format_html from config import models as config_models from cached_property import cached_property from utils import notify_slack from django.dispatch import receiver from django.db...
41.448485
171
0.692499
854
6,839
5.327869
0.17096
0.045714
0.057143
0.074725
0.672747
0.644835
0.587473
0.493187
0.493187
0.454505
0
0.008759
0.182044
6,839
164
172
41.70122
0.803897
0.050154
0
0.346457
0
0.03937
0.121996
0
0
0
0
0
0
1
0.141732
false
0
0.062992
0.125984
0.582677
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
1
0
0
2
6d5e7d4afb6ccec0a6fb35addd70cff5d18de370
459
py
Python
ARMODServers/Apps/Index/migrations/0022_alter_indexheader_header_showcase_descript.py
Phantomxm2021/ARMOD-Dashboard
383cf0a5e72dc5a2651f43e693f06773d5b88bbd
[ "Apache-2.0" ]
1
2021-11-04T09:03:27.000Z
2021-11-04T09:03:27.000Z
ARMODServers/Apps/Index/migrations/0022_alter_indexheader_header_showcase_descript.py
Phantomxm2021/ARMOD-Dashboard
383cf0a5e72dc5a2651f43e693f06773d5b88bbd
[ "Apache-2.0" ]
null
null
null
ARMODServers/Apps/Index/migrations/0022_alter_indexheader_header_showcase_descript.py
Phantomxm2021/ARMOD-Dashboard
383cf0a5e72dc5a2651f43e693f06773d5b88bbd
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.2 on 2021-05-09 09:29 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Index', '0021_auto_20210509_1729'), ] operations = [ migrations.AlterField( model_name='indexheader', name='header_sho...
24.157895
104
0.638344
49
459
5.816327
0.77551
0.070175
0.126316
0.182456
0
0
0
0
0
0
0
0.09593
0.250545
459
18
105
25.5
0.732558
0.093682
0
0
1
0
0.210145
0.113527
0
0
0
0
0
1
0
false
0
0.083333
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
6d6065310e650d8d11df4d3988027c603be7c771
580
py
Python
backend/authApp/serializers/accountSerializer.py
JonaCaste/Banco-Django
0331623f28043394cc06181e3dc3b9a6ecb870aa
[ "MIT" ]
null
null
null
backend/authApp/serializers/accountSerializer.py
JonaCaste/Banco-Django
0331623f28043394cc06181e3dc3b9a6ecb870aa
[ "MIT" ]
null
null
null
backend/authApp/serializers/accountSerializer.py
JonaCaste/Banco-Django
0331623f28043394cc06181e3dc3b9a6ecb870aa
[ "MIT" ]
null
null
null
from authApp.models.account import Account from rest_framework import serializers class AccountSerializer(serializers.ModelSerializer): class Meta: #metadata "generalizacion de la clase" model = Account fields = ['balance', 'lastChangeDate', 'isActivate'] ...
44.615385
91
0.574138
56
580
5.928571
0.803571
0.03012
0.054217
0
0
0
0
0
0
0
0
0
0.368966
580
13
92
44.615385
0.907104
0.331034
0
0
0
0
0.080729
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
6d64618413e91571766a6330d7d50c58d287476e
1,319
py
Python
Python/BasicTutorials/conditions.py
ronkitay/Rons-Tutorials
c0459c57cc24b546847ec24afa94d2c1e5373bd4
[ "MIT" ]
null
null
null
Python/BasicTutorials/conditions.py
ronkitay/Rons-Tutorials
c0459c57cc24b546847ec24afa94d2c1e5373bd4
[ "MIT" ]
null
null
null
Python/BasicTutorials/conditions.py
ronkitay/Rons-Tutorials
c0459c57cc24b546847ec24afa94d2c1e5373bd4
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- from rons_tutorial_formatting import * print_block_separator() some_variable = True if some_variable: print "some_variable is {0:b}".format(some_variable) print "some_variable is {0}".format(some_variable) another_variable = 7 if another_variable: print "another...
21.274194
69
0.608795
225
1,319
3.386667
0.217778
0.082677
0.070866
0.086614
0.355643
0.308399
0.271654
0.187664
0.187664
0.187664
0
0.070409
0.203184
1,319
62
70
21.274194
0.654615
0.04928
0
0.341463
0
0
0.260592
0
0
0
0
0
0
0
null
null
0
0.02439
null
null
0.487805
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
1
0
2
ed9024bebd1909184d858e13300a2e0ecd9ce768
3,553
py
Python
python/test/mapreduce/module_test.py
Batterii/appengine-mapreduce
f4393e2347d0b841d62f34383fcdf849ef922309
[ "Apache-2.0" ]
228
2015-01-09T20:32:25.000Z
2021-11-18T13:20:29.000Z
python/test/mapreduce/module_test.py
Batterii/appengine-mapreduce
f4393e2347d0b841d62f34383fcdf849ef922309
[ "Apache-2.0" ]
82
2015-01-13T15:12:15.000Z
2020-10-30T15:26:41.000Z
python/test/mapreduce/module_test.py
Batterii/appengine-mapreduce
f4393e2347d0b841d62f34383fcdf849ef922309
[ "Apache-2.0" ]
127
2015-01-08T19:50:03.000Z
2021-10-09T16:47:12.000Z
#!/usr/bin/env python # # Copyright 2010 Google Inc. All Rights Reserved. import unittest from google.appengine.api import module_testutil from mapreduce import context from mapreduce import control from mapreduce import datastore_range_iterators from mapreduce import errors from mapreduce import input_readers fro...
23.845638
70
0.719392
332
3,553
7.554217
0.210843
0.100478
0.223684
0.291467
0.4063
0.4063
0.121212
0.121212
0.121212
0
0
0.001421
0.207712
3,553
148
71
24.006757
0.88952
0.164931
0
0.239437
0
0
0.002779
0
0
0
0
0
0
1
0
false
0
0.253521
0
0.732394
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
ed94776ea7a825ca6db82d642797e66f590ee190
501
py
Python
nbsafety/__init__.py
runtime-jupyter-safety/runtime-jupyter-safety
f62a24b5b4f44fed5111c31441bc6a105441e34c
[ "BSD-3-Clause" ]
null
null
null
nbsafety/__init__.py
runtime-jupyter-safety/runtime-jupyter-safety
f62a24b5b4f44fed5111c31441bc6a105441e34c
[ "BSD-3-Clause" ]
20
2020-04-17T02:32:50.000Z
2020-05-07T05:50:32.000Z
nbsafety/__init__.py
runtime-jupyter-safety/runtime-jupyter-safety
f62a24b5b4f44fed5111c31441bc6a105441e34c
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Jupyter Extension points def _jupyter_nbextension_paths(): return [ dict( section="notebook", # the path is relative to the `my_fancy_module` directory src="resources/nbextension", # directory in the `nbextension/` namespace ...
25.05
69
0.58483
49
501
5.77551
0.714286
0.035336
0.113074
0.176678
0
0
0
0
0
0
0
0.002924
0.317365
501
19
70
26.368421
0.824561
0.365269
0
0
0
0
0.163462
0.067308
0
0
0
0
0
1
0.181818
false
0.090909
0
0.090909
0.272727
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
1
0
0
0
0
0
2
ed9ab097fc39e6dbca87c77f3b7f2d4ea1620c00
657
py
Python
test_lights.py
kurrik/treelights
464c95c5aec98624efc790548e2c0819041f66ff
[ "Apache-2.0" ]
null
null
null
test_lights.py
kurrik/treelights
464c95c5aec98624efc790548e2c0819041f66ff
[ "Apache-2.0" ]
null
null
null
test_lights.py
kurrik/treelights
464c95c5aec98624efc790548e2c0819041f66ff
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import time import treelights from treelights.ledstrip import LEDStrip, Colors from colour import Color import animations import itertools import inspect def run_animation(strip, animation, cycles=100, delay=0.03): strip.off() for d in itertools.islice(animation(strip), cycles): time.sle...
26.28
60
0.757991
89
657
5.404494
0.494382
0.174636
0.176715
0.224532
0.128898
0
0
0
0
0
0
0.030303
0.146119
657
24
61
27.375
0.827094
0.031963
0
0.095238
0
0
0.012598
0
0
0
0
0
0
1
0.047619
false
0
0.333333
0
0.380952
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
ed9ce2362dcb83b2dff7f566421ecf825bfc5c60
373
py
Python
apps/accounts/urls.py
ospreyelm/HarmonyLab
0934c67ab93a7da21e45f7956cb1b32ed3c9f728
[ "BSD-3-Clause" ]
4
2018-02-09T01:18:46.000Z
2020-11-23T10:06:21.000Z
apps/accounts/urls.py
ospreyelm/HarmonyLab
0934c67ab93a7da21e45f7956cb1b32ed3c9f728
[ "BSD-3-Clause" ]
8
2020-07-26T22:06:05.000Z
2021-08-19T04:17:18.000Z
apps/accounts/urls.py
ospreyelm/HarmonyLab
0934c67ab93a7da21e45f7956cb1b32ed3c9f728
[ "BSD-3-Clause" ]
6
2018-02-09T19:11:15.000Z
2020-09-06T22:49:43.000Z
from django.urls import path from apps.accounts.views import LogoutView, register, login, forgot_password_view urlpatterns = [ path('register/', register, name='registration'), path('login/', login, name='custom-login'), path('logout/', LogoutView.as_view(), name='custom-logout'), path('forgot-passwor...
33.909091
81
0.72118
45
373
5.866667
0.444444
0.212121
0.136364
0
0
0
0
0
0
0
0
0
0.120643
373
10
82
37.3
0.804878
0
0
0
0
0
0.241287
0
0
0
0
0
0
1
0
false
0.25
0.25
0
0.25
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
eda12df0443ecba8170a95ad74edc05ff9fb9a09
620
py
Python
_building/tmpl/__init__.py
drmingdrmer/k3priorityqueue
004d9000cac45b6ca5678dc9b3aab8c06b9168e9
[ "MIT" ]
null
null
null
_building/tmpl/__init__.py
drmingdrmer/k3priorityqueue
004d9000cac45b6ca5678dc9b3aab8c06b9168e9
[ "MIT" ]
22
2020-08-10T08:26:22.000Z
2022-03-23T06:18:47.000Z
_building/tmpl/__init__.py
drmingdrmer/k3priorityqueue
004d9000cac45b6ca5678dc9b3aab8c06b9168e9
[ "MIT" ]
1
2021-08-10T02:58:13.000Z
2021-08-10T02:58:13.000Z
""" {{ name }} is utility to . Execute a shell script:: import {{ name }} # execute a shell script returncode, out, err = pk3proc.shell_script('ls / | grep bin') print returncode print out # output: # > 0 # > bin # > sbin Run a command:: # Unlike the above snippet, followin...
18.787879
81
0.616129
78
620
4.782051
0.576923
0.088472
0.069705
0.101877
0
0
0
0
0
0
0
0.012848
0.246774
620
32
82
19.375
0.785867
0.103226
0
0
0
0
0.131579
0
0
0
0
0
0
0
null
null
0
0.5
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
1
0
0
0
0
2
eda1ef50c1fea11411ed981d058cc044e06abb84
847
py
Python
marbaloo_validators/__init__.py
marbaloo/marbaloo_validators
16e07a61b55fdb94322c5b3b8bcd9bf481177fed
[ "MIT" ]
null
null
null
marbaloo_validators/__init__.py
marbaloo/marbaloo_validators
16e07a61b55fdb94322c5b3b8bcd9bf481177fed
[ "MIT" ]
null
null
null
marbaloo_validators/__init__.py
marbaloo/marbaloo_validators
16e07a61b55fdb94322c5b3b8bcd9bf481177fed
[ "MIT" ]
null
null
null
import cherrypy from cherrypy.process import plugins import validators class Plugin(plugins.SimplePlugin): def __init__(self, bus): plugins.SimplePlugin.__init__(self, bus) self.validators = validators def start(self): self.bus.subscribe('get-validators', self.get_validators) def...
25.666667
85
0.645809
93
847
5.612903
0.333333
0.149425
0.097701
0.076628
0.126437
0.126437
0
0
0
0
0
0.00316
0.252656
847
32
86
26.46875
0.821485
0
0
0
0
0
0.069658
0
0
0
0
0
0
1
0.304348
false
0
0.130435
0.043478
0.565217
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
1
0
0
2
edb2896c849fd59d9ffd1837d2988bb586c9fa8b
6,176
py
Python
scripts/user_info.py
alemottura/PyCAPI
2b1c5c1698495c52afec640f3f9005f8c0f59223
[ "MIT" ]
1
2017-03-12T20:22:29.000Z
2017-03-12T20:22:29.000Z
scripts/user_info.py
alemottura/PyCAPI
2b1c5c1698495c52afec640f3f9005f8c0f59223
[ "MIT" ]
null
null
null
scripts/user_info.py
alemottura/PyCAPI
2b1c5c1698495c52afec640f3f9005f8c0f59223
[ "MIT" ]
1
2019-07-01T15:17:46.000Z
2019-07-01T15:17:46.000Z
import sys sys.path.append("../module/") # First two lines are needed for import of PyCAPI without python directory modifications import PyCAPI import json import datetime capi = PyCAPI.CanvasAPI() """ Function for taking the datetime string returned from Canvas and comparaing it with computer time """ def overdue(as...
39.589744
186
0.641677
706
6,176
5.405099
0.185552
0.086478
0.031447
0.023585
0.42479
0.368449
0.246331
0.246331
0.209382
0.168501
0
0.0021
0.229113
6,176
155
187
39.845161
0.799412
0.013925
0
0.314607
0
0
0.220039
0.020083
0
0
0
0
0
0
null
null
0
0.044944
null
null
0.494382
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
1
0
2
edcd2b7737806117b9c9fab11ffd6fffb28b8534
412
py
Python
asterioids-pygame-project/source_code_step_5/space_rocks/utils.py
syberflea/materials
54f44725b40edf00c1b523d7a85b34a85014d7eb
[ "MIT" ]
3,682
2018-05-07T19:45:24.000Z
2022-03-31T15:19:10.000Z
asterioids-pygame-project/source_code_step_5/space_rocks/utils.py
sribarrow/materials
c17c4a4d6f8487e59eac1df8c88ca92b73d6d2a5
[ "MIT" ]
148
2018-05-15T21:18:49.000Z
2022-03-21T11:25:39.000Z
asterioids-pygame-project/source_code_step_5/space_rocks/utils.py
sribarrow/materials
c17c4a4d6f8487e59eac1df8c88ca92b73d6d2a5
[ "MIT" ]
5,535
2018-05-25T23:36:08.000Z
2022-03-31T16:55:52.000Z
from pygame.image import load from pygame.math import Vector2 def load_sprite(name, with_alpha=True): path = f"assets/sprites/{name}.png" loaded_sprite = load(path) if with_alpha: return loaded_sprite.convert_alpha() else: return loaded_sprite.convert() def wrap_position(position, s...
21.684211
44
0.677184
59
412
4.576271
0.542373
0.133333
0.133333
0.185185
0
0
0
0
0
0
0
0.006231
0.220874
412
18
45
22.888889
0.834891
0
0
0
0
0
0.06068
0.06068
0
0
0
0
0
1
0.153846
false
0
0.153846
0
0.538462
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
1
0
0
2
edda0949cd71c3bbcd0ce3927166e97732799e42
539
py
Python
pacote_download/PythonExercicios/ex074.py
leandrotune/Python
2077f9854ed107975de76bfecf99c27a80e38863
[ "MIT" ]
null
null
null
pacote_download/PythonExercicios/ex074.py
leandrotune/Python
2077f9854ed107975de76bfecf99c27a80e38863
[ "MIT" ]
null
null
null
pacote_download/PythonExercicios/ex074.py
leandrotune/Python
2077f9854ed107975de76bfecf99c27a80e38863
[ "MIT" ]
null
null
null
# Exercício Python 074: Crie um programa que vai gerar cinco números aleatórios e colocar em uma tupla. # Depois disso, mostre a listagem de números gerados e também indique o menor e o maior valor que estão na tupla. from random import randint numeros = (randint(1, 10), randint(1, 10), randint(1, 10), randint(1, 10),...
33.6875
113
0.710575
91
539
4.208791
0.593407
0.104439
0.130548
0.177546
0.130548
0.130548
0.130548
0.130548
0.130548
0.130548
0
0.040179
0.168831
539
15
114
35.933333
0.814732
0.395176
0
0
0
0
0.361635
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.571429
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
1
0
2
eddeb48a3b1fe1c0b6f0bab5c87f851ff32f3675
2,257
py
Python
functions.py
regetag/Rodrigo-Qtile-Config
126634e355bf5b134af9955f25772f43cab37cbd
[ "MIT" ]
null
null
null
functions.py
regetag/Rodrigo-Qtile-Config
126634e355bf5b134af9955f25772f43cab37cbd
[ "MIT" ]
null
null
null
functions.py
regetag/Rodrigo-Qtile-Config
126634e355bf5b134af9955f25772f43cab37cbd
[ "MIT" ]
null
null
null
from libqtile.command import lazy from libqtile import qtile # from libqtile.command_client import InteractiveCommandClient class Functions: ##### MOVE WINDOW IN GROUPS ##### @staticmethod def window_to_prev_group(): @lazy.function def __inner(qtile): i = qtile.groups.index(q...
25.942529
94
0.615419
250
2,257
5.348
0.284
0.112191
0.067315
0.100972
0.538519
0.495138
0.495138
0.33807
0.33807
0.33807
0
0.001833
0.274701
2,257
86
95
26.244186
0.814905
0.044307
0
0.508475
0
0
0.196814
0.074039
0
0
0
0
0
1
0.254237
false
0.016949
0.033898
0.101695
0.491525
0.016949
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
edfdc96fbdd51ef85725ff3513cac24bfb727aa3
189
py
Python
Intro/36 - differentSymbolsNaive.py
lucasalme1da/codesignal
faff1ae635d04a33a1b59e6f751d266fabca5e71
[ "MIT" ]
2
2020-04-15T00:15:03.000Z
2021-02-17T18:43:08.000Z
Intro/36 - differentSymbolsNaive.py
lucasalme1da/codesignal
faff1ae635d04a33a1b59e6f751d266fabca5e71
[ "MIT" ]
null
null
null
Intro/36 - differentSymbolsNaive.py
lucasalme1da/codesignal
faff1ae635d04a33a1b59e6f751d266fabca5e71
[ "MIT" ]
null
null
null
def differentSymbolsNaive(s): diffArray = [] for i in range(len(list(s))): if list(s)[i] not in diffArray: diffArray.append(list(s)[i]) return len(diffArray)
31.5
40
0.603175
26
189
4.384615
0.538462
0.131579
0.105263
0
0
0
0
0
0
0
0
0
0.253968
189
6
41
31.5
0.808511
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
edff4be693f3c15a51b63496578cc756b0a0c7be
671
py
Python
uwsgidns/listener.py
20tab/uwsgi-local-dns-resolver
e558a230a3e42ee6b077b08cc65c875acb087d4a
[ "MIT" ]
2
2015-06-05T12:16:33.000Z
2015-06-05T12:26:11.000Z
uwsgidns/listener.py
20tab/uwsgi-local-dns-resolver
e558a230a3e42ee6b077b08cc65c875acb087d4a
[ "MIT" ]
2
2015-05-18T14:09:59.000Z
2015-06-05T11:11:14.000Z
uwsgidns/listener.py
20tab/uwsgi-local-dns-resolver
e558a230a3e42ee6b077b08cc65c875acb087d4a
[ "MIT" ]
1
2015-05-18T13:32:25.000Z
2015-05-18T13:32:25.000Z
#!/usr/bin/env python # encoding: utf-8 try: import socketserver except ImportError: import SocketServer as socketserver from uwsgidns.utils import uwsgi_packet_to_dict class SubscriptionHandler(socketserver.BaseRequestHandler): """Handle UDP subscription requests from uWSGI.""" """ trigge...
23.964286
75
0.697466
79
671
5.848101
0.64557
0.077922
0.056277
0.073593
0
0
0
0
0
0
0
0.003861
0.228018
671
27
76
24.851852
0.888031
0.120715
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
610b09f34c2015d7d661aa92410902c39399df36
195
py
Python
CustomCode/validator.py
BuildForSDG/wasteCoin-Backend
8155ba89222cc16104b09c8ebd1d5f2b9a44353c
[ "MIT" ]
null
null
null
CustomCode/validator.py
BuildForSDG/wasteCoin-Backend
8155ba89222cc16104b09c8ebd1d5f2b9a44353c
[ "MIT" ]
16
2020-05-03T14:52:17.000Z
2022-02-10T10:23:57.000Z
CustomCode/validator.py
BuildForSDG/wasteCoin-Backend
8155ba89222cc16104b09c8ebd1d5f2b9a44353c
[ "MIT" ]
3
2020-05-01T16:27:47.000Z
2020-06-23T16:01:05.000Z
import re #Email Validator re_email = '^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$' def checkmail(email): if(re.search(re_email,email)): return True else: return False
19.5
58
0.523077
27
195
3.703704
0.555556
0.08
0.09
0.08
0
0
0
0
0
0
0
0.012903
0.205128
195
10
59
19.5
0.632258
0.076923
0
0
0
0
0.25
0.25
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
611e3c7610b9a55b8c4c9152e2b53af46fc69434
304
py
Python
checkprocess-4terminal.py
linuxkay/Process_Monitoring
54e4b0e57fd432bdfe4c847c5282aa68ab70dfd1
[ "MIT" ]
null
null
null
checkprocess-4terminal.py
linuxkay/Process_Monitoring
54e4b0e57fd432bdfe4c847c5282aa68ab70dfd1
[ "MIT" ]
null
null
null
checkprocess-4terminal.py
linuxkay/Process_Monitoring
54e4b0e57fd432bdfe4c847c5282aa68ab70dfd1
[ "MIT" ]
null
null
null
#!/usr/bin/python2.7 import commands import os while True: output = commands.getoutput('ps -aux') if '/usr/bin/python2.7 /home/user/Workspace/silenceisgolden.py' in output: # print "ITS ALIVE!!!" continue else: os.system('/usr/bin/python2.7 /home/user/Workspace/silenceisgolden.py &')
27.636364
77
0.697368
43
304
4.930233
0.604651
0.084906
0.183962
0.198113
0.45283
0.45283
0.45283
0.45283
0.45283
0
0
0.023077
0.144737
304
10
78
30.4
0.792308
0.141447
0
0
0
0
0.482625
0.301158
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b623e5a03659faa473148786f864709a11470c38
294
py
Python
vaultier/nodes/roles.py
dz0ny/Vaultier
e23d86c7576f4785b4e369242d7b5f7125e4d8c6
[ "BSD-3-Clause" ]
30
2015-07-13T11:11:23.000Z
2021-01-25T14:21:18.000Z
vaultier/nodes/roles.py
corpusops/vaultier
3baef4346add0b3bdff322257467f74b2a0c856c
[ "BSD-3-Clause" ]
null
null
null
vaultier/nodes/roles.py
corpusops/vaultier
3baef4346add0b3bdff322257467f74b2a0c856c
[ "BSD-3-Clause" ]
31
2015-08-10T12:10:16.000Z
2020-09-18T09:43:28.000Z
from django_mptt_acl.rules import DefaultRoleRule class ManageRole(object): name = 'manage' permissions = ('read', 'update', 'delete', 'invite', 'create') required_permissions_ancestors = ('read',) required_permissions_descendants = permissions rules = (DefaultRoleRule,)
29.4
66
0.721088
28
294
7.357143
0.75
0.184466
0
0
0
0
0
0
0
0
0
0
0.159864
294
10
67
29.4
0.834008
0
0
0
0
0
0.128814
0
0
0
0
0
0
1
0
false
0
0.142857
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
b6285806339045de81140d6078437ac587eb23ef
6,145
py
Python
src/lib/board_support/scripts/Generate_TBTemplate.py
GaloisInc/BESSPIN-BSC
21a0a8cba9e643ef5afcb87eac164cc33ea83e94
[ "BSD-2-Clause", "BSD-3-Clause" ]
1
2022-02-11T01:52:42.000Z
2022-02-11T01:52:42.000Z
src/lib/board_support/scripts/Generate_TBTemplate.py
GaloisInc/BESSPIN-BSC
21a0a8cba9e643ef5afcb87eac164cc33ea83e94
[ "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
src/lib/board_support/scripts/Generate_TBTemplate.py
GaloisInc/BESSPIN-BSC
21a0a8cba9e643ef5afcb87eac164cc33ea83e94
[ "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # Copyright (c) 2105 Bluespec, Inc. All Rights Reserved # Author: J Schwartz # ================================================================ # Usage: Generate_TBTemplate.py pin_file tb_src_dir cpp_src_dir # XXX ... # ================================================================ # Sta...
37.469512
104
0.538324
804
6,145
3.950249
0.25995
0.057935
0.127519
0.138539
0.285894
0.204975
0.16971
0.16971
0.163413
0.150189
0
0.005425
0.16013
6,145
163
105
37.699387
0.609959
0.221806
0
0.276596
1
0.031915
0.473152
0.196041
0
0
0
0
0
0
null
null
0
0.06383
null
null
0.042553
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
1
0
0
0
0
0
0
0
0
2
b628c08ba4eedb48de4710fd1ee2c9a1c7fd435a
1,046
py
Python
infobip_channels/sms/models/response/core.py
infobip-community/infobip-api-python-sdk
5ffc5ab877ee1748aa29391f991c8c5324387487
[ "MIT" ]
null
null
null
infobip_channels/sms/models/response/core.py
infobip-community/infobip-api-python-sdk
5ffc5ab877ee1748aa29391f991c8c5324387487
[ "MIT" ]
null
null
null
infobip_channels/sms/models/response/core.py
infobip-community/infobip-api-python-sdk
5ffc5ab877ee1748aa29391f991c8c5324387487
[ "MIT" ]
null
null
null
from typing import Dict, List, Optional from pydantic import StrictBool from infobip_channels.core.models import CamelCaseModel, ResponseBase, ResponseStatus class ServiceException(CamelCaseModel): message_id: str text: str validation_errors: Optional[Dict[str, List[str]]] = None class RequestError(Ca...
23.244444
85
0.741874
117
1,046
6.521368
0.393162
0.06422
0.117955
0.044561
0
0
0
0
0
0
0
0
0.17304
1,046
44
86
23.772727
0.882081
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.107143
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
2
b62dc95007ce81605c25123f4173743e53016547
280
py
Python
det/configs/involution/mask_rcnn_red50_neck_fpn_head_1x_coco.py
shikishima-TasakiLab/involution
7734b83ae7ff7eeefbb6f8c7b545a4fd03fa93cf
[ "MIT" ]
1,260
2021-03-11T01:48:36.000Z
2022-03-31T13:46:33.000Z
det/configs/involution/mask_rcnn_red50_neck_fpn_head_1x_coco.py
Magnety/involution
c920bf67dcd962ae1692a0da69edb174ca0dec5b
[ "MIT" ]
54
2021-03-11T23:02:55.000Z
2022-03-10T11:56:46.000Z
det/configs/involution/mask_rcnn_red50_neck_fpn_head_1x_coco.py
Magnety/involution
c920bf67dcd962ae1692a0da69edb174ca0dec5b
[ "MIT" ]
177
2021-03-12T05:38:47.000Z
2022-03-29T00:33:20.000Z
_base_ = [ '../_base_/models/mask_rcnn_red50_neck_fpn_head.py', '../_base_/datasets/coco_instance.py', '../_base_/schedules/schedule_1x_warmup.py', '../_base_/default_runtime.py' ] optimizer_config = dict(grad_clip(dict(_delete_=True, max_norm=5, norm_type=2)))
40
81
0.714286
39
280
4.487179
0.769231
0.102857
0
0
0
0
0
0
0
0
0
0.02008
0.110714
280
6
82
46.666667
0.682731
0
0
0
0
0
0.558394
0.558394
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b6307c61684e9bbf18238bb62285c04fbb112524
5,122
py
Python
trypython/stdlib/__init__.py
devlights/try-python
67d1d26476794da81c8c76662486108ce03f8fb4
[ "MIT" ]
4
2019-10-21T11:42:11.000Z
2020-03-12T16:35:51.000Z
trypython/stdlib/__init__.py
devlights/try-python
67d1d26476794da81c8c76662486108ce03f8fb4
[ "MIT" ]
80
2017-02-08T07:55:37.000Z
2021-10-06T06:30:30.000Z
trypython/stdlib/__init__.py
devlights/try-python
67d1d26476794da81c8c76662486108ce03f8fb4
[ "MIT" ]
1
2020-03-12T04:37:17.000Z
2020-03-12T04:37:17.000Z
""" 初期処理を実施します. """ from typing import Dict, Callable from trypython.stdlib.argparse_ import argparse01 from trypython.stdlib.atexit_ import atexit01 from trypython.stdlib.binascii_ import binascii01 from trypython.stdlib.collections_ import collections01, collections02, collections03, collections04, collections05, \ ...
39.4
119
0.715346
658
5,122
5.378419
0.212766
0.061034
0.187906
0.016954
0.025431
0.025431
0
0
0
0
0
0.102446
0.153846
5,122
129
120
39.705426
0.714121
0.023819
0
0
0
0
0.152169
0.00713
0
0
0
0
0
1
0.008696
false
0.008696
0.313043
0
0.321739
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
b636167d8e873e440c5907cd30302e00734da220
5,142
py
Python
tste.py
thedognexttothetrashcan/taobao
c796ec1f61a5443406686f65badc1df6aaf7b711
[ "Apache-2.0" ]
null
null
null
tste.py
thedognexttothetrashcan/taobao
c796ec1f61a5443406686f65badc1df6aaf7b711
[ "Apache-2.0" ]
1
2020-12-05T15:32:37.000Z
2020-12-05T15:32:37.000Z
tste.py
xwh-p/taobao
c796ec1f61a5443406686f65badc1df6aaf7b711
[ "Apache-2.0" ]
null
null
null
# # from selenium import webdriver # # import time # # from selenium.webdriver.chrome.options import Options # # # # chrome_options = Options() # # # chrome_options.add_argument('--headless') # # # chrome_options.add_argument('--disable-gpu') # # # # path = r'/usr/bin/chromedriver' # # driver = webdriver.Chrome(chrome_...
30.607143
290
0.688643
717
5,142
4.767085
0.372385
0.043885
0.064658
0.072264
0.361908
0.264775
0.264775
0.235518
0.188122
0.188122
0
0.064595
0.123882
5,142
167
291
30.790419
0.694118
0.862505
0
0
0
0.333333
0.392694
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
b63c20d732ad8c737abc5edc8b447090d094faef
1,562
py
Python
SocialNetwork/Author/migrations/0002_auto_20190221_1645.py
cmput404-ahyyy/group-webproject
822f12fa2579aebee596150509c2109625e79414
[ "Apache-2.0" ]
null
null
null
SocialNetwork/Author/migrations/0002_auto_20190221_1645.py
cmput404-ahyyy/group-webproject
822f12fa2579aebee596150509c2109625e79414
[ "Apache-2.0" ]
9
2019-02-02T00:32:05.000Z
2019-02-18T17:24:11.000Z
SocialNetwork/Author/migrations/0002_auto_20190221_1645.py
cmput404-ahyyy/group-webproject
822f12fa2579aebee596150509c2109625e79414
[ "Apache-2.0" ]
1
2019-03-26T00:22:10.000Z
2019-03-26T00:22:10.000Z
# Generated by Django 2.1.7 on 2019-02-21 16:45 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('Author', '0001_initial'), ] operations = [ migrations.AlterField( model_name='author', ...
34.711111
152
0.612036
161
1,562
5.801242
0.329193
0.051392
0.1606
0.186296
0.683084
0.683084
0.53212
0.486081
0.486081
0.37045
0
0.022569
0.262484
1,562
44
153
35.5
0.788194
0.028809
0
0.473684
1
0
0.151155
0.015182
0
0
0
0
0
1
0
false
0
0.052632
0
0.131579
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2