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
6372eab4ac944c27e2845406a864b91ae6b8f10c
256
py
Python
src/ScientificProgrammingPrimer/ch_01/gaussian.py
bmoretz/Python-Playground
a367ec7659b85c24363c21b5c0ac25db08ffa1f6
[ "MIT" ]
null
null
null
src/ScientificProgrammingPrimer/ch_01/gaussian.py
bmoretz/Python-Playground
a367ec7659b85c24363c21b5c0ac25db08ffa1f6
[ "MIT" ]
null
null
null
src/ScientificProgrammingPrimer/ch_01/gaussian.py
bmoretz/Python-Playground
a367ec7659b85c24363c21b5c0ac25db08ffa1f6
[ "MIT" ]
null
null
null
import numpy as np import matplotlib as mpl import matplotlib.pyplot as plt mu = 0 sigma = 2 def f(x): return 1/ ( np.sqrt( 2*np.pi ) * sigma ) * np.exp( -.5 * ( ( x - mu ) / sigma ) **2 ) x = np.arange( -4.0, 4.0, 0.1 ) plt.plot( x, f(x) ) plt.show()
18.285714
86
0.574219
51
256
2.882353
0.490196
0.217687
0
0
0
0
0
0
0
0
0
0.061224
0.234375
256
14
87
18.285714
0.688776
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.3
0.1
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
63735a38a8d7214835bb46850a5181ef1c373ff8
1,981
py
Python
tests/test_color.py
cowo78/pynextion
40215761bc8abbd7cc53fefa68e8b78a67b73aed
[ "Apache-2.0" ]
null
null
null
tests/test_color.py
cowo78/pynextion
40215761bc8abbd7cc53fefa68e8b78a67b73aed
[ "Apache-2.0" ]
1
2019-02-24T14:40:42.000Z
2019-02-24T14:40:42.000Z
tests/test_color.py
cowo78/pynextion
40215761bc8abbd7cc53fefa68e8b78a67b73aed
[ "Apache-2.0" ]
null
null
null
from pynextion.color import ( NamedColor, Color ) def test_named_color(): assert NamedColor.BLACK.value == 0 assert NamedColor.WHITE.value == 65535 assert NamedColor.RED.value == 63488 assert NamedColor.GREEN.value == 2016 assert NamedColor.BLUE.value == 31 assert NamedColor.GRAY.value...
27.136986
67
0.540636
326
1,981
3.217791
0.138037
0.041945
0.062917
0.085796
0.500477
0.433746
0.35367
0.336511
0.198284
0.181125
0
0.121443
0.27259
1,981
72
68
27.513889
0.606523
0.057547
0
0.226415
0
0
0.00162
0
0
0
0
0
0.45283
1
0.09434
false
0
0.018868
0
0.113208
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
6375bb306a93b9eec7919581139fd4a68e0b853c
3,994
py
Python
sankey_chart.py
fwd1990man/PythonSankeyChart
ee97570587fda84fb52798132b46f68c1775623a
[ "MIT" ]
1
2021-05-19T00:09:24.000Z
2021-05-19T00:09:24.000Z
sankey_chart.py
vladhj38/PythonSankeyChart
ee97570587fda84fb52798132b46f68c1775623a
[ "MIT" ]
null
null
null
sankey_chart.py
vladhj38/PythonSankeyChart
ee97570587fda84fb52798132b46f68c1775623a
[ "MIT" ]
null
null
null
import drawSvg as draw import pandas as pd from PIL import Image df = pd.DataFrame([[15.7, 11.9, 3.8]], index=[1], columns=['Comp', 'Traffic', 'Ticket']) # df = pd.DataFrame([[9.0, -2.0, 11.1]], index=[1], columns=['Comp', 'Traffic', 'Ticket']) comp_val = df.at[1, 'Comp'] traffic_val = df.at[1, 'Traffic'] ticket_val...
21.589189
90
0.525538
679
3,994
2.986745
0.134021
0.097633
0.070513
0.034517
0.734714
0.678501
0.591223
0.540434
0.540434
0.525641
0
0.10052
0.277667
3,994
184
91
21.706522
0.602426
0.102904
0
0.715385
0
0
0.050955
0
0
0
0
0
0
1
0
false
0
0.023077
0
0.023077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
637cb1919870ccb4eeaec9f7ea5827d1ff65b585
2,007
py
Python
raspberry/car_unlock/lib/MyMQTT.py
FrancescoConforte/Car2Smart
b14f447c55e0d82e9d00124c1494faddc94c9ed1
[ "MIT" ]
null
null
null
raspberry/car_unlock/lib/MyMQTT.py
FrancescoConforte/Car2Smart
b14f447c55e0d82e9d00124c1494faddc94c9ed1
[ "MIT" ]
null
null
null
raspberry/car_unlock/lib/MyMQTT.py
FrancescoConforte/Car2Smart
b14f447c55e0d82e9d00124c1494faddc94c9ed1
[ "MIT" ]
null
null
null
import paho.mqtt.client as PahoMQTT import json class MyMQTT: def __init__(self, clientID, broker, port, notifier=None): self.broker = broker self.port = port self.notifier = notifier self.clientID = clientID self._topic = "" self._isSubscriber = False # creat...
34.016949
74
0.63129
244
2,007
5.028689
0.319672
0.0978
0.127139
0.02282
0.167889
0.167889
0.167889
0.167889
0.167889
0.167889
0
0.001384
0.28002
2,007
58
75
34.603448
0.847751
0.171898
0
0.105263
0
0
0.050273
0
0
0
0
0
0
1
0.210526
false
0
0.052632
0
0.289474
0.131579
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
637ebf676d3ea3b214dcf86fafe7c2902594ff07
895
py
Python
Lib/css/stylesheets/CreditAgricole.py
jeamick/ares-visual
3cf5068f874b3f6fe898968b2a7efa86fadca99d
[ "MIT" ]
null
null
null
Lib/css/stylesheets/CreditAgricole.py
jeamick/ares-visual
3cf5068f874b3f6fe898968b2a7efa86fadca99d
[ "MIT" ]
2
2019-03-27T00:36:09.000Z
2019-04-09T00:39:12.000Z
Lib/css/stylesheets/CreditAgricole.py
jeamick/ares-visual
3cf5068f874b3f6fe898968b2a7efa86fadca99d
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # author: Olivier Noguès # All colors are coming from the template # https://credit-agricole.ua/pdf/Credit_Agricole_AR_2016_ENG_full_17072017_.pdf import CssBase charts = ['#71bf44', '#1d99d6', '#6bcff6', '#bed630', '#00805f', '#00a96c', '#66bbaa', '#bbeeee', ...
16.574074
109
0.458101
73
895
5.520548
0.863014
0.08933
0.08933
0
0
0
0
0
0
0
0
0.198052
0.311732
895
54
110
16.574074
0.456169
0.236872
0
0.538462
0
0
0.3888
0
0
0
0
0
0
1
0
false
0
0.025641
0
0.025641
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
637ff6c71153ab5cecfe30bce4a405dfd2c17978
1,960
py
Python
src/python/gwas_analysis/dask/codecs.py
tomwhite/gwas-analysis
5b219607b8311722f16f7df8a8aad09ba69dc448
[ "Apache-2.0" ]
19
2020-03-18T01:06:58.000Z
2022-02-06T19:59:30.000Z
src/python/gwas_analysis/dask/codecs.py
tomwhite/gwas-analysis
5b219607b8311722f16f7df8a8aad09ba69dc448
[ "Apache-2.0" ]
39
2020-01-20T19:50:19.000Z
2021-01-07T19:01:48.000Z
src/python/gwas_analysis/dask/codecs.py
tomwhite/gwas-analysis
5b219607b8311722f16f7df8a8aad09ba69dc448
[ "Apache-2.0" ]
5
2020-03-13T20:47:24.000Z
2022-01-13T09:43:35.000Z
from dask.distributed import WorkerPlugin from numcodecs import PackBits from numcodecs.compat import ensure_ndarray, ndarray_copy import numpy as np # See: https://github.com/zarr-developers/numcodecs/blob/master/numcodecs/packbits.py class PackGeneticBits(PackBits): """Custom Zarr plugin for encoding allele co...
30.625
113
0.654082
250
1,960
5.04
0.528
0.030952
0.02619
0
0
0
0
0
0
0
0
0.016416
0.254082
1,960
63
114
31.111111
0.845417
0.391327
0
0
0
0
0.020478
0
0
0
0
0
0
1
0.148148
false
0
0.185185
0
0.518519
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6394a005b0b9bebb0d580dab268f093e10997fc7
958
py
Python
src/djanban/apps/boards/migrations/0007_auto_20160724_2331.py
diegojromerolopez/djanban
6451688d49cf235d03c604b19a6a8480b33eed87
[ "MIT" ]
33
2017-06-14T18:04:25.000Z
2021-06-15T07:07:56.000Z
src/djanban/apps/boards/migrations/0007_auto_20160724_2331.py
diegojromerolopez/djanban
6451688d49cf235d03c604b19a6a8480b33eed87
[ "MIT" ]
1
2017-05-10T08:45:55.000Z
2017-05-10T08:45:55.000Z
src/djanban/apps/boards/migrations/0007_auto_20160724_2331.py
diegojromerolopez/djanban
6451688d49cf235d03c604b19a6a8480b33eed87
[ "MIT" ]
8
2017-08-27T11:14:25.000Z
2021-03-03T12:11:16.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-07-24 21:31 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('boards', '0006_board_hourly_rates'), ] operations = [ migrations.AddField( ...
30.903226
135
0.625261
105
958
5.533333
0.552381
0.092943
0.118761
0.139415
0.449225
0.449225
0.388985
0.388985
0.185886
0.185886
0
0.036932
0.265136
958
30
136
31.933333
0.788352
0.069937
0
0.391304
1
0
0.199324
0.025901
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6399347054a80cac6c21b3faa78dc0fa728a196b
406
py
Python
conda_verify/package/test_setup_files.py
soapy1/conda-verify
4941b8ea37bf4afa5ca16366ae855f756037f230
[ "BSD-3-Clause" ]
null
null
null
conda_verify/package/test_setup_files.py
soapy1/conda-verify
4941b8ea37bf4afa5ca16366ae855f756037f230
[ "BSD-3-Clause" ]
null
null
null
conda_verify/package/test_setup_files.py
soapy1/conda-verify
4941b8ea37bf4afa5ca16366ae855f756037f230
[ "BSD-3-Clause" ]
1
2020-02-03T12:43:17.000Z
2020-02-03T12:43:17.000Z
from conda_verify.conda_package_check import CondaPackageCheck def verify(path_to_package=None, verbose=True, **kwargs): package_check = CondaPackageCheck(path_to_package, verbose) package_check.no_setuptools() pedantic = kwargs.get("pedantic") if "pedantic" in kwargs.keys() else True package_check.no...
36.909091
78
0.780788
54
406
5.555556
0.518519
0.24
0.14
0
0
0
0
0
0
0
0
0
0.125616
406
10
79
40.6
0.84507
0
0
0
0
0
0.039409
0
0
0
0
0
0
1
0.125
false
0
0.125
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
0
0
0
0
0
0
1
639c16e6f34dd9dd30026f135c3b0b6e5f096b19
736
py
Python
tests/expander/test_expand_config_shared.py
alphatwirl/qtwirl
85cc5fa53a9932a83c3fb6115a054590bcf999a7
[ "BSD-3-Clause" ]
null
null
null
tests/expander/test_expand_config_shared.py
alphatwirl/qtwirl
85cc5fa53a9932a83c3fb6115a054590bcf999a7
[ "BSD-3-Clause" ]
null
null
null
tests/expander/test_expand_config_shared.py
alphatwirl/qtwirl
85cc5fa53a9932a83c3fb6115a054590bcf999a7
[ "BSD-3-Clause" ]
null
null
null
# Tai Sakuma <tai.sakuma@gmail.com> import pytest try: import unittest.mock as mock except ImportError: import mock from qtwirl._parser.expander import _expand_config ##__________________________________________________________________|| @pytest.fixture() def mock_expand_one_dict(monkeypatch): def ret(cf...
26.285714
70
0.766304
81
736
5.111111
0.469136
0.065217
0.094203
0.082126
0
0
0
0
0
0
0
0.00159
0.14538
736
27
71
27.259259
0.656598
0.22962
0
0
0
0
0.042781
0
0
0
0
0
0.055556
1
0.166667
false
0
0.333333
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
0
0
0
1
639f2d1a51d2e5c95491eb21f78d303d6cbf9833
2,949
py
Python
xero_python/payrolluk/models/benefits.py
parasharrk/xero-python
e8416f3bd893520a343af014f5bb65acbf1f4f13
[ "MIT" ]
null
null
null
xero_python/payrolluk/models/benefits.py
parasharrk/xero-python
e8416f3bd893520a343af014f5bb65acbf1f4f13
[ "MIT" ]
null
null
null
xero_python/payrolluk/models/benefits.py
parasharrk/xero-python
e8416f3bd893520a343af014f5bb65acbf1f4f13
[ "MIT" ]
null
null
null
# coding: utf-8 """ Xero Payroll UK This is the Xero Payroll API for orgs in the UK region. # noqa: E501 OpenAPI spec version: 2.4.0 Contact: api@xero.com Generated by: https://openapi-generator.tech """ import re # noqa: F401 from xero_python.models import BaseModel class Benefits(BaseMod...
24.172131
83
0.587657
327
2,949
5.244648
0.238532
0.055977
0.097959
0.094461
0.338776
0.245481
0.229738
0.044315
0.044315
0.044315
0
0.021425
0.31943
2,949
121
84
24.371901
0.833084
0.382503
0
0.071429
1
0
0.079425
0
0
0
0
0
0
1
0.166667
false
0
0.047619
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
63a078f73cd02a7639b3fb8a84f7a96fd200a95a
390
py
Python
harmony/harmony_checker/migrations/0018_auto_20191230_1247.py
ecxia/harmony-checker
78b198fa091bd8175a8ad8f233053b34654c3a09
[ "MIT" ]
null
null
null
harmony/harmony_checker/migrations/0018_auto_20191230_1247.py
ecxia/harmony-checker
78b198fa091bd8175a8ad8f233053b34654c3a09
[ "MIT" ]
null
null
null
harmony/harmony_checker/migrations/0018_auto_20191230_1247.py
ecxia/harmony-checker
78b198fa091bd8175a8ad8f233053b34654c3a09
[ "MIT" ]
null
null
null
# Generated by Django 2.2.6 on 2019-12-30 18:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('harmony_checker', '0017_auto_20191230_1246'), ] operations = [ migrations.AlterField( model_name='test', name='func'...
20.526316
55
0.602564
43
390
5.325581
0.837209
0
0
0
0
0
0
0
0
0
0
0.11828
0.284615
390
18
56
21.666667
0.702509
0.115385
0
0
1
0
0.134111
0.067055
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
63a7115e0b5bdec7a35652d52dc76e2f6f175302
726
py
Python
marner/core.py
FergusonTG/marner
2b90a8396d365244101ea17bf24964bf445599fc
[ "MIT" ]
null
null
null
marner/core.py
FergusonTG/marner
2b90a8396d365244101ea17bf24964bf445599fc
[ "MIT" ]
null
null
null
marner/core.py
FergusonTG/marner
2b90a8396d365244101ea17bf24964bf445599fc
[ "MIT" ]
null
null
null
"""Core functions to integrate the gui and the backup.""" import logging from .gui import App, tk from .backup import collect_emails, ImapRuntimeError logging.basicConfig( level=logging.INFO, ) def _do_backup(): app.disable_submit(True) dialog_values = app.as_dict() server_login = dict( ...
18.615385
57
0.677686
88
726
5.397727
0.5
0.151579
0.067368
0
0
0
0
0
0
0
0
0
0.213499
726
38
58
19.105263
0.831874
0.070248
0
0
0
0
0.056801
0
0
0
0
0
0
1
0.041667
false
0.083333
0.125
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
63aa61e1d8acde8bc8dcb47698d79a9564703801
210
py
Python
tuples.py
joshavenue/python_notebook
8d46ba88ef4f05dea6801364bc134edb981df02e
[ "Unlicense" ]
null
null
null
tuples.py
joshavenue/python_notebook
8d46ba88ef4f05dea6801364bc134edb981df02e
[ "Unlicense" ]
null
null
null
tuples.py
joshavenue/python_notebook
8d46ba88ef4f05dea6801364bc134edb981df02e
[ "Unlicense" ]
null
null
null
x = (1,2,3,4) y = (1,2,'abc',[1,2,3]) // Only can change data with a list, other cannot be change y[3][1] = 22 print(y) x = 1,2,3,4,5 tuple(x) // You can create a tuple this way
19.090909
90
0.509524
44
210
2.431818
0.568182
0.074766
0.084112
0.074766
0.093458
0
0
0
0
0
0
0.125
0.314286
210
10
91
21
0.618056
0
0
0
0
0
0.014286
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
1
63aafba5bd8bdfc6df640fba8aa9924fc93ada56
2,359
py
Python
Wrappers/Python/cil/optimisation/operators/DiagonalOperator.py
ClaireDelplancke/CCPi-Framework
3f0cb9dd363ac386832d3034717f022c3b2952a1
[ "Apache-2.0" ]
30
2021-05-18T08:54:01.000Z
2022-03-24T17:42:31.000Z
Wrappers/Python/cil/optimisation/operators/DiagonalOperator.py
ClaireDelplancke/CCPi-Framework
3f0cb9dd363ac386832d3034717f022c3b2952a1
[ "Apache-2.0" ]
301
2021-05-07T12:28:15.000Z
2022-03-31T17:16:26.000Z
Wrappers/Python/cil/optimisation/operators/DiagonalOperator.py
ClaireDelplancke/CCPi-Framework
3f0cb9dd363ac386832d3034717f022c3b2952a1
[ "Apache-2.0" ]
7
2021-09-05T20:45:11.000Z
2022-03-10T21:16:37.000Z
# -*- coding: utf-8 -*- # This work is part of the Core Imaging Library (CIL) developed by CCPi # (Collaborative Computational Project in Tomographic Imaging), with # substantial contributions by UKRI-STFC and University of Manchester. # Licensed under the Apache License, Version 2.0 (the "License"); # you...
38.048387
84
0.648156
304
2,359
4.993421
0.493421
0.039526
0.017128
0.02108
0.047431
0.02635
0
0
0
0
0
0.002929
0.276388
2,359
61
85
38.672131
0.88635
0.618906
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.166667
0
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
63acb591d68fc2c9434a33512ffeb95aa93fdd10
1,284
py
Python
repos/system_upgrade/el7toel8/models/vsftpdfacts.py
sm00th/leapp-repository
1c171ec3a5f9260a3c6f84a9b15cad78a875ac61
[ "Apache-2.0" ]
21
2018-11-20T15:58:39.000Z
2022-03-15T19:57:24.000Z
repos/system_upgrade/el7toel8/models/vsftpdfacts.py
sm00th/leapp-repository
1c171ec3a5f9260a3c6f84a9b15cad78a875ac61
[ "Apache-2.0" ]
732
2018-11-21T18:33:26.000Z
2022-03-31T16:16:24.000Z
repos/system_upgrade/el7toel8/models/vsftpdfacts.py
sm00th/leapp-repository
1c171ec3a5f9260a3c6f84a9b15cad78a875ac61
[ "Apache-2.0" ]
85
2018-11-20T17:55:00.000Z
2022-03-29T09:40:31.000Z
from leapp.models import Model, fields from leapp.topics import SystemInfoTopic class VsftpdConfig(Model): """ Model representing some aspects of a vsftpd configuration file. The attributes representing the state of configuration options are nullable, so that they can represent the real state of the ...
40.125
93
0.731308
184
1,284
5.048913
0.391304
0.026911
0.037675
0.051668
0.193757
0.107643
0.107643
0.107643
0.107643
0
0
0.000966
0.193925
1,284
31
94
41.419355
0.896618
0.354361
0
0.181818
0
0
0
0
0
0
0
0
0
1
0
false
0
0.181818
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
63ad66c77ea48cbf7d452c7ca127eea43619e80f
426
py
Python
solutions/python/2017/makeArrayConsecutive.py
lucifer1198/Codesignal
07d6d6457b8b3a9f1c51118b0e8e44cce66ee039
[ "MIT" ]
2
2020-12-21T22:09:26.000Z
2021-01-01T15:40:01.000Z
solutions/python/2017/makeArrayConsecutive.py
nsu1210/Codesignal
07d6d6457b8b3a9f1c51118b0e8e44cce66ee039
[ "MIT" ]
null
null
null
solutions/python/2017/makeArrayConsecutive.py
nsu1210/Codesignal
07d6d6457b8b3a9f1c51118b0e8e44cce66ee039
[ "MIT" ]
1
2021-01-28T18:15:02.000Z
2021-01-28T18:15:02.000Z
""" Given an array of integers, we need to fill in the "holes" such that it contains all the integers from some range. Example For sequence = [6, 2, 3, 8], the output should be makeArrayConsecutive(sequence) = [4, 5, 7]. """ def makeArrayConsecutive(sequence): s = sorted(sequence) x = range(min(s), max(s) +...
22.421053
114
0.626761
66
426
4.045455
0.712121
0.209738
0
0
0
0
0
0
0
0
0
0.025397
0.260563
426
18
115
23.666667
0.822222
0.511737
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
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
0
0
0
0
0
0
1
63b061c19fd581caa93d0fedc228b0c213f72200
1,153
py
Python
pytrivia/__helpers.py
Dnewman9/Python-Trivia-API
0af7f999cc4ab278fb0ac6fd64733ab168984e60
[ "MIT" ]
6
2018-01-15T15:17:56.000Z
2021-06-16T19:48:14.000Z
pytrivia/__helpers.py
MaT1g3R/Python-Trivia-API
0af7f999cc4ab278fb0ac6fd64733ab168984e60
[ "MIT" ]
null
null
null
pytrivia/__helpers.py
MaT1g3R/Python-Trivia-API
0af7f999cc4ab278fb0ac6fd64733ab168984e60
[ "MIT" ]
7
2017-05-15T23:41:43.000Z
2021-07-10T01:09:09.000Z
import binascii from base64 import b64decode from aiohttp import ClientResponseError, ClientSession from requests import get def decode_dict(d): """ Recursivly decode all strings in a dict :param d: the input dict :return: a dict with all its vals decoded """ if isinstance(d, int): re...
23.06
76
0.630529
158
1,153
4.537975
0.417722
0.061367
0.062762
0.066946
0
0
0
0
0
0
0
0.019025
0.270598
1,153
49
77
23.530612
0.833532
0.221162
0
0
0
0
0.070913
0
0
0
0
0
0
1
0.115385
false
0
0.153846
0
0.576923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
63b46e49e3698a981c3b277c71021abeaf2bfdc6
957
py
Python
algorithms/show_permutations_fast.py
vadymshturkhal/algorithms
7eb6b3b0b8d389fdbbcc9ff48712d398f04c343d
[ "MIT" ]
null
null
null
algorithms/show_permutations_fast.py
vadymshturkhal/algorithms
7eb6b3b0b8d389fdbbcc9ff48712d398f04c343d
[ "MIT" ]
null
null
null
algorithms/show_permutations_fast.py
vadymshturkhal/algorithms
7eb6b3b0b8d389fdbbcc9ff48712d398f04c343d
[ "MIT" ]
null
null
null
def show_permutations_anti_lexicographic_fast(sequence=None, length=None): if sequence is None: if length is None: length = 3 sequence = [i + 1 for i in range(length)] if length is None: length = len(sequence) if length == 0: print(sequence) return e...
29
126
0.597701
116
957
4.706897
0.258621
0.115385
0.10989
0.181319
0.525641
0.322344
0.157509
0.157509
0
0
0
0.02454
0.318704
957
32
127
29.90625
0.812883
0
0
0.192308
0
0
0.008359
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.230769
0.038462
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
63b82fdab1655334ee890b5f03a53544fb79bd9a
2,774
py
Python
blog/migrations/0001_squashed_0010_auto_20180604_2248.py
n2o/dpb
9e44ef91dc25782a12150e1001983aeee62bc566
[ "MIT" ]
3
2020-11-05T10:09:04.000Z
2021-03-13T11:27:05.000Z
blog/migrations/0001_squashed_0010_auto_20180604_2248.py
n2o/dpb
9e44ef91dc25782a12150e1001983aeee62bc566
[ "MIT" ]
31
2015-07-26T13:53:26.000Z
2020-09-28T06:08:03.000Z
blog/migrations/0001_squashed_0010_auto_20180604_2248.py
n2o/dpb
9e44ef91dc25782a12150e1001983aeee62bc566
[ "MIT" ]
null
null
null
# Generated by Django 2.2.1 on 2019-05-25 19:40 import autoslug.fields import django.db.models.deletion from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): replaces = [('blog', '0001_initial'), ('blog', '0002_auto_20150802_0017'), ('blog', '0003_auto_2...
47.827586
119
0.583273
276
2,774
5.634058
0.405797
0.113183
0.02701
0.042444
0.209646
0.209646
0.209646
0.162058
0.162058
0.162058
0
0.070862
0.272531
2,774
57
120
48.666667
0.699703
0.016222
0
0.24
1
0
0.202787
0.059039
0
0
0
0
0
1
0
false
0
0.08
0
0.18
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
63b9f726456ae2875c8836c2389ad5af6fa15ef2
609
py
Python
test/model/test_driver.py
Petro31/zwave-js-server-python
ed766f054d2ef2f6a6fa01fa431484da12d05eca
[ "Apache-2.0" ]
null
null
null
test/model/test_driver.py
Petro31/zwave-js-server-python
ed766f054d2ef2f6a6fa01fa431484da12d05eca
[ "Apache-2.0" ]
null
null
null
test/model/test_driver.py
Petro31/zwave-js-server-python
ed766f054d2ef2f6a6fa01fa431484da12d05eca
[ "Apache-2.0" ]
null
null
null
"""Test the driver model.""" import json from zwave_js_server.event import Event from zwave_js_server.model import driver as driver_pkg from .. import load_fixture def test_from_state(): """Test from_state method.""" ws_msgs = load_fixture("basic_dump.txt").strip().split("\n") driver = driver_pkg.Drive...
26.478261
69
0.665025
89
609
4.370787
0.460674
0.102828
0.056555
0.087404
0
0
0
0
0
0
0
0.006024
0.182266
609
22
70
27.681818
0.7751
0.075534
0
0
0
0
0.081522
0
0
0
0
0
0.153846
1
0.076923
false
0
0.307692
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
63c724cd0c9b172541c1859415974b49037ba195
415
py
Python
ParsingProject/movie/migrations/0005_alter_movie_photo.py
rzhvn1/Parsing-APi
3e22c5a0fabbdc733ec2263e71eb885fb901a65e
[ "MIT" ]
null
null
null
ParsingProject/movie/migrations/0005_alter_movie_photo.py
rzhvn1/Parsing-APi
3e22c5a0fabbdc733ec2263e71eb885fb901a65e
[ "MIT" ]
null
null
null
ParsingProject/movie/migrations/0005_alter_movie_photo.py
rzhvn1/Parsing-APi
3e22c5a0fabbdc733ec2263e71eb885fb901a65e
[ "MIT" ]
null
null
null
# Generated by Django 3.2 on 2021-04-09 14:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('movie', '0004_rename_summary_text_movie_desc'), ] operations = [ migrations.AlterField( model_name='movie', name='phot...
21.842105
73
0.609639
46
415
5.347826
0.804348
0
0
0
0
0
0
0
0
0
0
0.059603
0.272289
415
18
74
23.055556
0.754967
0.103614
0
0
1
0
0.135135
0.094595
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
63c8dabc395502393e558d6b73692e6820ae740d
5,013
py
Python
main.py
faluciano/travel-tinder
634a1e16288c02e8ef399e77728eef5725098203
[ "CC-BY-3.0" ]
null
null
null
main.py
faluciano/travel-tinder
634a1e16288c02e8ef399e77728eef5725098203
[ "CC-BY-3.0" ]
null
null
null
main.py
faluciano/travel-tinder
634a1e16288c02e8ef399e77728eef5725098203
[ "CC-BY-3.0" ]
null
null
null
from flask import Flask, render_template, request, url_for, redirect,session from datetime import timedelta from flask_sqlalchemy import SQLAlchemy import os import googlemaps import json app = Flask(__name__) seckey = os.urandom(12) app.secret_key=seckey key = os.environ["googleapikey"] app.permanent_session_lifeti...
35.553191
235
0.603631
624
5,013
4.75641
0.241987
0.040768
0.037736
0.04717
0.218666
0.138477
0.12938
0.109164
0.086927
0.057278
0
0.00758
0.236784
5,013
140
236
35.807143
0.768165
0.002394
0
0.15873
0
0.007937
0.1544
0.0258
0
0
0
0
0
1
0.079365
false
0.055556
0.047619
0.015873
0.301587
0.02381
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
63c9dc1c7d3d8ba098eeeb8725c6567c3b999e8b
5,185
py
Python
aws_log_parser/models.py
dpetzold/aws-log-parser
a36ea99696f332d25879a7faa24f6d922ad11370
[ "Apache-2.0" ]
17
2020-05-04T00:35:14.000Z
2022-03-17T06:05:26.000Z
aws_log_parser/models.py
dpetzold/aws-log-parser
a36ea99696f332d25879a7faa24f6d922ad11370
[ "Apache-2.0" ]
14
2019-10-24T03:08:17.000Z
2021-12-07T19:13:41.000Z
aws_log_parser/models.py
dpetzold/aws-log-parser
a36ea99696f332d25879a7faa24f6d922ad11370
[ "Apache-2.0" ]
8
2020-05-04T12:23:16.000Z
2022-03-19T13:30:13.000Z
import datetime import typing from enum import ( Enum, auto, ) from dataclasses import dataclass from http import cookies class HttpType(Enum): Http = "http" Https = "https" H2 = "h2" WebSocket = "ws" WebSocketSecure = "wss" @dataclass(frozen=True) class Host: ip: str port: int...
24.457547
58
0.707811
489
5,185
7.345603
0.314928
0.058463
0.042595
0.022272
0.14922
0.14922
0.14922
0.14922
0.097996
0.097996
0
0.00123
0.215815
5,185
211
59
24.57346
0.882194
0
0
0.256831
0
0
0.019286
0.004436
0
0
0
0
0
1
0.005464
false
0.005464
0.027322
0.005464
0.830601
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
63ca9a094cf1438ed29a52f8444164667fcea641
1,330
py
Python
apps/Messaging/build/process_style_output.py
Keneral/apackages
af6a7ffde2e52d8d4e073b4030244551246248ad
[ "Unlicense" ]
null
null
null
apps/Messaging/build/process_style_output.py
Keneral/apackages
af6a7ffde2e52d8d4e073b4030244551246248ad
[ "Unlicense" ]
null
null
null
apps/Messaging/build/process_style_output.py
Keneral/apackages
af6a7ffde2e52d8d4e073b4030244551246248ad
[ "Unlicense" ]
null
null
null
#!/usr/bin/python # Copyright (C) 2015 The Android Open Source Project # # 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 req...
34.102564
112
0.696992
190
1,330
4.868421
0.573684
0.064865
0.028108
0.034595
0
0
0
0
0
0
0
0.009083
0.17218
1,330
38
113
35
0.831063
0.508271
0
0
0
0.058824
0.155416
0.100471
0
0
0
0
0
0
null
null
0
0.176471
null
null
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
63d0bbce5f3e728a7a5ac833c26d4513a4af7fbd
503
py
Python
travelling/migrations/0050_trip_maps_location.py
HerbyDE/jagdreisencheck-webapp
9af5deda2423b787da88a0c893f3c474d8e4f73f
[ "BSD-3-Clause" ]
null
null
null
travelling/migrations/0050_trip_maps_location.py
HerbyDE/jagdreisencheck-webapp
9af5deda2423b787da88a0c893f3c474d8e4f73f
[ "BSD-3-Clause" ]
null
null
null
travelling/migrations/0050_trip_maps_location.py
HerbyDE/jagdreisencheck-webapp
9af5deda2423b787da88a0c893f3c474d8e4f73f
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.1.7 on 2019-03-29 08:52 from django.db import migrations import django_google_maps.fields class Migration(migrations.Migration): dependencies = [ ('travelling', '0049_auto_20190327_1849'), ] operations = [ migrations.AddField( model_name='trip', ...
25.15
136
0.662028
59
503
5.457627
0.728814
0.074534
0.099379
0.136646
0
0
0
0
0
0
0
0.088083
0.232604
503
19
137
26.473684
0.746114
0.089463
0
0
1
0
0.151316
0.050439
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
63d4c063bbe7c148a20e0a5fe25d62de6c6aae65
626
py
Python
source/code/preprocessing/wordtovectransformer.py
IooHooI/NEURAL_NETWORKS
1fff41658f01ebd61dc26745ad377d86f4716d30
[ "Unlicense" ]
null
null
null
source/code/preprocessing/wordtovectransformer.py
IooHooI/NEURAL_NETWORKS
1fff41658f01ebd61dc26745ad377d86f4716d30
[ "Unlicense" ]
null
null
null
source/code/preprocessing/wordtovectransformer.py
IooHooI/NEURAL_NETWORKS
1fff41658f01ebd61dc26745ad377d86f4716d30
[ "Unlicense" ]
null
null
null
import gensim import numpy as np from sklearn.base import BaseEstimator, TransformerMixin class WordToVecTransformer(BaseEstimator, TransformerMixin): def __init__(self, size=100): self.size = size self.word2vec = dict() def fit(self, X, y=None): model = gensim.models.Word2Vec(X, size...
31.3
120
0.65655
86
626
4.732558
0.5
0.078624
0.078624
0
0
0
0
0
0
0
0
0.02079
0.231629
626
19
121
32.947368
0.825364
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0.066667
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
63d63032b91f57211f0ecc481533bc76092d870f
414
py
Python
TWO D ARRAY MANIPULATION.py
Vedakeerthi/Python-programs
91f3f21211bfaba576d1ce5981166e356fc36b38
[ "MIT" ]
null
null
null
TWO D ARRAY MANIPULATION.py
Vedakeerthi/Python-programs
91f3f21211bfaba576d1ce5981166e356fc36b38
[ "MIT" ]
null
null
null
TWO D ARRAY MANIPULATION.py
Vedakeerthi/Python-programs
91f3f21211bfaba576d1ce5981166e356fc36b38
[ "MIT" ]
null
null
null
import numpy as np # EXTRACTING SOME COLUMNS OR ROWS OF THE 2D ARRAY arr1 = np.arange(36).reshape(6,6) print("THE 2D ARRAY : ",arr1) ex = np.array(arr1) print("EXTRACTION OF THE 4 ROW AND 5 ROW : ", ex[3:5]) # FINDING THE SUM OF THE COLUMNS arr2 = np.array([[1,3,5,6],[3,6,7,3],[2,3,6,6],[4,5,8,5]]) prin...
29.571429
66
0.628019
84
414
3.095238
0.416667
0.096154
0.115385
0.107692
0.138462
0
0
0
0
0
0
0.101796
0.193237
414
14
66
29.571429
0.676647
0.188406
0
0
0
0
0.323988
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
89211948f7b76ec3184dd80009cdf870aed75612
1,917
py
Python
docs/examples/immutable-field.py
rolepoint/flump
37603387afa7a4af64fe93c03dfd4f389833178b
[ "MIT" ]
17
2016-03-04T00:54:12.000Z
2019-07-17T08:42:34.000Z
docs/examples/immutable-field.py
rolepoint/flump
37603387afa7a4af64fe93c03dfd4f389833178b
[ "MIT" ]
35
2016-03-04T18:02:59.000Z
2017-12-06T15:14:34.000Z
docs/examples/immutable-field.py
rolepoint/flump
37603387afa7a4af64fe93c03dfd4f389833178b
[ "MIT" ]
2
2016-11-30T16:12:29.000Z
2018-09-30T12:39:32.000Z
from collections import namedtuple import uuid from flask import Flask from flump import FlumpBlueprint, FlumpView, OrmIntegration, Fetcher from flump.validators import Immutable from marshmallow import fields, Schema # Our non-persistent "database" INSTANCES = [] # The "model" we will be storing in our "database" U...
24.576923
76
0.679708
234
1,917
5.41453
0.418803
0.031571
0.037885
0
0
0
0
0
0
0
0
0.00266
0.215441
1,917
77
77
24.896104
0.839761
0.175274
0
0
0
0
0.038829
0
0
0
0
0
0
1
0.133333
false
0
0.133333
0.066667
0.622222
0.088889
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
892cb1bece9f2a7a57ecaff6febef2e19d2db6be
8,360
py
Python
util/call_differential_mods.py
ritututeja/HAMR
a299f402365c34ec3447f584fd9de5c498a6b315
[ "MIT" ]
2
2020-04-17T04:27:46.000Z
2020-06-22T15:46:07.000Z
util/call_differential_mods.py
ritututeja/HAMR
a299f402365c34ec3447f584fd9de5c498a6b315
[ "MIT" ]
2
2021-05-25T16:51:41.000Z
2021-07-13T01:35:08.000Z
util/call_differential_mods.py
ritututeja/HAMR
a299f402365c34ec3447f584fd9de5c498a6b315
[ "MIT" ]
1
2021-06-09T15:53:20.000Z
2021-06-09T15:53:20.000Z
#!/bin/python2.7 # # Copyright (c) 2013 University of Pennsylvania # # 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...
43.769634
236
0.616866
1,123
8,360
4.464826
0.249332
0.015357
0.027124
0.012964
0.259673
0.24631
0.220782
0.202034
0.112684
0.112684
0
0.010637
0.134091
8,360
191
237
43.769634
0.682
0.22811
0
0.307087
0
0.023622
0.201105
0.033333
0
0
0
0
0
0
null
null
0.023622
0.086614
null
null
0.07874
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8931c54e93c9c10297df6cda39f1b73fb07b65c6
1,463
py
Python
volttron/platform/lib/kwonlyargs.py
rmay-intwine/volttron
a449f70e32f73ff0136a838d0feddb928ede6298
[ "Apache-2.0" ]
2
2019-10-03T17:00:34.000Z
2019-10-03T17:00:38.000Z
volttron/platform/lib/kwonlyargs.py
rmay-intwine/volttron
a449f70e32f73ff0136a838d0feddb928ede6298
[ "Apache-2.0" ]
2
2018-08-29T13:45:17.000Z
2018-09-06T12:34:23.000Z
volttron/platform/lib/kwonlyargs.py
rmay-intwine/volttron
a449f70e32f73ff0136a838d0feddb928ede6298
[ "Apache-2.0" ]
1
2019-10-21T12:56:38.000Z
2019-10-21T12:56:38.000Z
'''Support functions for implementing keyword-only arguments. This module is designed to make it easy to support keyword-only arguments in Python 2.7 while providing the same kind of exceptions one would see with Python 3.x. Basic usage: .. code-block:: python def foo(arg1, *args, **kwargs): # Use requi...
30.479167
79
0.659604
181
1,463
5.21547
0.513812
0.059322
0.042373
0
0
0
0
0
0
0
0
0.009099
0.248804
1,463
47
80
31.12766
0.849864
0.61039
0
0.125
0
0
0.179673
0
0
0
0
0
0.125
1
0.1875
false
0.0625
0
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
89322cf303e8c5a843e0f5f0b11c5853b5ee35f7
13,871
py
Python
moldesign/geom/constraints.py
Autodesk/molecular-design-toolkit
5f45a47fea21d3603899a6366cb163024f0e2ec4
[ "Apache-2.0" ]
147
2016-07-15T18:53:55.000Z
2022-01-30T04:36:39.000Z
moldesign/geom/constraints.py
cherishyli/molecular-design-toolkit
5f45a47fea21d3603899a6366cb163024f0e2ec4
[ "Apache-2.0" ]
151
2016-07-15T21:35:11.000Z
2019-10-10T08:57:29.000Z
moldesign/geom/constraints.py
cherishyli/molecular-design-toolkit
5f45a47fea21d3603899a6366cb163024f0e2ec4
[ "Apache-2.0" ]
33
2016-08-02T00:04:51.000Z
2021-09-02T10:05:04.000Z
from __future__ import print_function, absolute_import, division from future.builtins import * from future import standard_library standard_library.install_aliases() # Copyright 2017 Autodesk Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with ...
34.591022
103
0.635426
1,659
13,871
5.16094
0.210368
0.048587
0.030834
0.01822
0.352254
0.291754
0.280192
0.273885
0.262088
0.249942
0
0.010111
0.272727
13,871
400
104
34.6775
0.83862
0.318506
0
0.421801
0
0
0.024698
0.005463
0
0
0
0
0.009479
1
0.189573
false
0
0.047393
0.07109
0.50237
0.004739
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
894465f77a8695d4a865a00f4d256f8d49f18108
2,231
py
Python
entitas/entity_index.py
Aenyhm/entitas-python
016e88b65cb231a6130bf4e9b1192a31c36b89df
[ "MIT" ]
43
2017-02-13T08:06:35.000Z
2022-03-22T03:54:21.000Z
src/entitas/entity_index.py
UpUpLiu/python_entitas
91878683f00811fa3afd0e5ab707b5054d832fec
[ "MIT" ]
null
null
null
src/entitas/entity_index.py
UpUpLiu/python_entitas
91878683f00811fa3afd0e5ab707b5054d832fec
[ "MIT" ]
6
2017-12-05T14:12:21.000Z
2021-08-12T09:07:41.000Z
from abc import ABCMeta, abstractmethod from .exceptions import EntitasException class AbstractEntityIndex(metaclass=ABCMeta): def __init__(self, comp_type, group, *fields): self.type = comp_type self._group = group self._fields = fields self._index = {} self._activate() ...
27.8875
79
0.649485
271
2,231
5.03321
0.195572
0.065982
0.066716
0.083578
0.490469
0.421554
0.382698
0.346774
0.306452
0.202346
0
0
0.256387
2,231
79
80
28.240506
0.822182
0
0
0.267857
0
0
0.037203
0
0
0
0
0
0
1
0.267857
false
0.035714
0.035714
0.017857
0.410714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
8947a64d2eb4e66159f5e366be84fcf1c2c358d7
1,358
py
Python
appengine/findit/handlers/test/process_flake_analysis_request_test.py
allaparthi/monorail
e18645fc1b952a5a6ff5f06e0c740d75f1904473
[ "BSD-3-Clause" ]
2
2021-04-13T21:22:18.000Z
2021-09-07T02:11:57.000Z
appengine/findit/handlers/test/process_flake_analysis_request_test.py
allaparthi/monorail
e18645fc1b952a5a6ff5f06e0c740d75f1904473
[ "BSD-3-Clause" ]
21
2020-09-06T02:41:05.000Z
2022-03-02T04:40:01.000Z
appengine/findit/handlers/test/process_flake_analysis_request_test.py
allaparthi/monorail
e18645fc1b952a5a6ff5f06e0c740d75f1904473
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import mock import pickle import re from google.appengine.ext import testbed import webapp2 import webtest from testing_utils import testing from handlers...
33.95
79
0.734168
163
1,358
5.993865
0.668712
0.079836
0.102354
0.138178
0
0
0
0
0
0
0
0.0188
0.177467
1,358
39
80
34.820513
0.855864
0.317379
0
0
0
0
0.140523
0.116558
0
0
0
0
0.041667
1
0.041667
false
0
0.333333
0
0.458333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
894be86795043b9676120c0bf240a9230a6cf62e
2,809
py
Python
generated_python_code/ball_collector/ballcollector/scripts/auxiliary_subsystem_camera.py
mfigat/public_rshpn_tool
3555cb8f1eb35ef12441b9aef63dae8f578c2aa7
[ "BSD-3-Clause" ]
null
null
null
generated_python_code/ball_collector/ballcollector/scripts/auxiliary_subsystem_camera.py
mfigat/public_rshpn_tool
3555cb8f1eb35ef12441b9aef63dae8f578c2aa7
[ "BSD-3-Clause" ]
null
null
null
generated_python_code/ball_collector/ballcollector/scripts/auxiliary_subsystem_camera.py
mfigat/public_rshpn_tool
3555cb8f1eb35ef12441b9aef63dae8f578c2aa7
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python ''' Copyright (c) 2019, Robot Control and Pattern Recognition Group, Warsaw University of Technology All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions...
39.56338
98
0.721609
394
2,809
5.13198
0.472081
0.017804
0.023739
0.008902
0.165183
0.108803
0.108803
0.06726
0.06726
0.06726
0
0.024675
0.177643
2,809
70
99
40.128571
0.850649
0.637949
0
0.1875
0
0
0
0
0
0
0
0
0
1
0.09375
false
0
0.3125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
894d9b261427db31b6c579aab4844bc8a92709a8
1,012
py
Python
src/utils/formatters.py
silvexis/serverless-slack
f5d242c241a8656af515a0bd2f2f6681bd53f967
[ "BSD-3-Clause" ]
null
null
null
src/utils/formatters.py
silvexis/serverless-slack
f5d242c241a8656af515a0bd2f2f6681bd53f967
[ "BSD-3-Clause" ]
null
null
null
src/utils/formatters.py
silvexis/serverless-slack
f5d242c241a8656af515a0bd2f2f6681bd53f967
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2016-present, CloudZero, Inc. All rights reserved. # Licensed under the BSD-style license. See LICENSE file in the project root for full license information. from datetime import datetime from decimal import Decimal from enum import Enum import simplejson as json def markdown...
24.682927
106
0.636364
130
1,012
4.907692
0.546154
0.070533
0.061129
0.043887
0
0
0
0
0
0
0
0.006676
0.259881
1,012
40
107
25.3
0.845127
0.347826
0
0
0
0
0.016181
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.722222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8950596453e002623e4009ce7cd83af42547805a
11,807
py
Python
authors/apps/authentication/serializers.py
andela/ah-legion
223f8c207d3de40f5d9fe7d5bb57b452b04af86f
[ "BSD-3-Clause" ]
3
2019-03-23T16:56:32.000Z
2019-05-22T20:42:52.000Z
authors/apps/authentication/serializers.py
andela/ah-legion
223f8c207d3de40f5d9fe7d5bb57b452b04af86f
[ "BSD-3-Clause" ]
31
2019-02-26T13:19:35.000Z
2021-12-13T19:56:18.000Z
authors/apps/authentication/serializers.py
andela/ah-legion
223f8c207d3de40f5d9fe7d5bb57b452b04af86f
[ "BSD-3-Clause" ]
6
2019-03-22T09:41:34.000Z
2019-10-17T05:07:38.000Z
from django.contrib.auth import authenticate from django.core.validators import RegexValidator, URLValidator from rest_framework import serializers from rest_framework.validators import UniqueValidator from .models import User, PasswordResetToken from authors.apps.profiles.serializers import ProfileSerializer class ...
37.601911
78
0.618362
1,329
11,807
5.425884
0.224229
0.021356
0.031896
0.040216
0.363889
0.299265
0.24005
0.187353
0.175149
0.175149
0
0.00668
0.302617
11,807
313
79
37.722045
0.869079
0.309139
0
0.375661
0
0
0.180949
0
0
0
0
0
0
1
0.021164
false
0.169312
0.031746
0
0.238095
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8951d51b46dce58e644f7ed9188c363c28a226ff
1,079
py
Python
multilstm_tensorpack/tensorpack/callbacks/graph.py
neale/A4C
acbbb3cf14e31a19c12f27306971b4db4feafe09
[ "MIT" ]
1
2017-03-11T23:10:00.000Z
2017-03-11T23:10:00.000Z
multilstm_tensorpack/tensorpack/callbacks/graph.py
neale/A4C
acbbb3cf14e31a19c12f27306971b4db4feafe09
[ "MIT" ]
null
null
null
multilstm_tensorpack/tensorpack/callbacks/graph.py
neale/A4C
acbbb3cf14e31a19c12f27306971b4db4feafe09
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # File: graph.py # Author: Yuxin Wu <ppwwyyxxc@gmail.com> """ Graph related callbacks""" from .base import Triggerable __all__ = ['RunOp'] class RunOp(Triggerable): """ Run an Op. """ def __init__(self, setup_func, run_before=True, run_epoch=True): """...
25.690476
97
0.604263
140
1,079
4.428571
0.485714
0.072581
0.062903
0.03871
0
0
0
0
0
0
0
0.01039
0.286376
1,079
41
98
26.317073
0.794805
0.440222
0
0.133333
0
0
0.009823
0
0
0
0
0
0
1
0.266667
false
0
0.066667
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
895f39f7683bf346e299eae827e0f17349fa596b
1,310
py
Python
data/download_source.py
mappingvermont/vt-road-names
62665702efb345894b6d6567d4b2790baa8df5f5
[ "MIT" ]
null
null
null
data/download_source.py
mappingvermont/vt-road-names
62665702efb345894b6d6567d4b2790baa8df5f5
[ "MIT" ]
null
null
null
data/download_source.py
mappingvermont/vt-road-names
62665702efb345894b6d6567d4b2790baa8df5f5
[ "MIT" ]
null
null
null
import os import requests import zipfile data_dir = os.path.dirname(__file__) source_dir = os.path.join(data_dir, 'source') if not os.path.exists(source_dir): os.mkdir(source_dir) rds_url = r'http://maps.vcgi.vermont.gov/gisdata/vcgi/packaged_zips/EmergencyE911_RDS.zip' town_boundary_url = r'http://maps.vcgi.vermo...
26.734694
103
0.714504
195
1,310
4.533333
0.420513
0.040724
0.030543
0.036199
0.156109
0.11086
0.11086
0.11086
0.11086
0.11086
0
0.016453
0.164886
1,310
48
104
27.291667
0.79159
0.08855
0
0
0
0
0.179142
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
896ac1984700bc7074227418120b14e08af8c05f
474
py
Python
old/pepper2/src/main/python/pepper2like/test.py
andybalaam/pepper
f0d12379c7c6e2d82003c0c1d6130bfac685e1c3
[ "MIT" ]
2
2018-12-19T16:32:46.000Z
2019-01-10T09:00:33.000Z
old/pepper2/src/main/python/pepper2like/test.py
andybalaam/pepper
f0d12379c7c6e2d82003c0c1d6130bfac685e1c3
[ "MIT" ]
null
null
null
old/pepper2/src/main/python/pepper2like/test.py
andybalaam/pepper
f0d12379c7c6e2d82003c0c1d6130bfac685e1c3
[ "MIT" ]
null
null
null
from pepper2like.type_check import type_check from pepper2like.log import Log from pepper2like.string import String from pepper2like.callable import Callable def pl_test(log, name, fn): type_check(Log, log) type_check(String, name) type_check(Callable, fn) log.part_line.info(name + " ... ") fn() ...
23.7
47
0.64135
66
474
4.469697
0.393939
0.152542
0
0
0
0
0
0
0
0
0
0.010929
0.227848
474
19
48
24.947368
0.795082
0
0
0
0
0
0.023913
0
0
0
0
0
0.125
1
0.125
false
0.0625
0.25
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
896d5d0ada4c6f624396d6861f892d9e9cc3434d
1,701
py
Python
dm_page/migrations/0029_auto_20210827_1452.py
AlexanderHalsey/Donation-Manager
5655d1eb6394f7db9a178c081039c4e149ef6998
[ "Unlicense" ]
null
null
null
dm_page/migrations/0029_auto_20210827_1452.py
AlexanderHalsey/Donation-Manager
5655d1eb6394f7db9a178c081039c4e149ef6998
[ "Unlicense" ]
null
null
null
dm_page/migrations/0029_auto_20210827_1452.py
AlexanderHalsey/Donation-Manager
5655d1eb6394f7db9a178c081039c4e149ef6998
[ "Unlicense" ]
null
null
null
# Generated by Django 3.1.7 on 2021-08-27 14:52 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('dm_page', '0028_contact_is_facilitator'), ] operations = [ migrations.AlterField( model_name='c...
37.8
132
0.629042
193
1,701
5.388601
0.243523
0.061538
0.094231
0.148077
0.671154
0.671154
0.513462
0.513462
0.513462
0.513462
0
0.014786
0.244562
1,701
44
133
38.659091
0.794553
0.026455
0
0.526316
1
0
0.149335
0.016324
0
0
0
0
0
1
0
false
0
0.052632
0
0.131579
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8972396cf9b6b7c254bf9de4a9b69db47d733679
2,414
py
Python
examples/interface/CP.py
sg0/Elemental
614f02509690449b553451e36bc78e7e132ea517
[ "BSD-3-Clause" ]
1
2015-12-08T22:54:37.000Z
2015-12-08T22:54:37.000Z
examples/interface/CP.py
sg0/Elemental
614f02509690449b553451e36bc78e7e132ea517
[ "BSD-3-Clause" ]
null
null
null
examples/interface/CP.py
sg0/Elemental
614f02509690449b553451e36bc78e7e132ea517
[ "BSD-3-Clause" ]
null
null
null
# # Copyright (c) 2009-2015, Jack Poulson # All rights reserved. # # This file is part of Elemental and is under the BSD 2-Clause License, # which can be found in the LICENSE file in the root directory, or at # http://opensource.org/licenses/BSD-2-Clause # import El import time m = 4000 n = 2000 display = True ...
25.956989
73
0.630075
373
2,414
4.042895
0.337802
0.023873
0.083554
0.086207
0.18634
0.127321
0.092838
0.092838
0
0
0
0.02496
0.219967
2,414
92
74
26.23913
0.77589
0.157829
0
0.097222
0
0
0.083168
0
0
0
0
0
0
0
null
null
0
0.027778
null
null
0.097222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
897a3cad9732f828a836a54ac4bd026a55f0492c
1,024
py
Python
server/test/exception_test.py
cwh98/calendar
5d13f0dd8047a065cabc62503177f39f429567e7
[ "MIT" ]
4
2019-07-15T04:31:18.000Z
2021-04-29T17:56:44.000Z
server/test/exception_test.py
cwh98/calendar
5d13f0dd8047a065cabc62503177f39f429567e7
[ "MIT" ]
4
2019-05-14T12:04:12.000Z
2019-06-04T09:59:23.000Z
server/test/exception_test.py
cwh98/calendar
5d13f0dd8047a065cabc62503177f39f429567e7
[ "MIT" ]
7
2019-05-15T03:13:06.000Z
2019-08-12T05:12:30.000Z
#!/usr/bin/python # This file includes test cases for calendar # author:makdon # # # # # Life is short, i use Python. import unittest import json import copy from .util import get_status_code_by_request from .util import get_login_cookie from .util import get_response from .util import get_a_calendarId from .util impo...
27.675676
77
0.722656
136
1,024
5.213235
0.441176
0.108604
0.118477
0.09591
0.149506
0
0
0
0
0
0
0.026066
0.175781
1,024
36
78
28.444444
0.813981
0.099609
0
0
0
0
0.108315
0.068928
0
0
0
0
0.090909
1
0.090909
false
0
0.409091
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
897dc8f53189925ee767800d270c182c2df50742
7,463
py
Python
geonames/migrations/0001_initial.py
fmalina/django-geonames
fe9191629be4b3c400f5c763476428a08f05304a
[ "BSD-2-Clause-FreeBSD" ]
1
2021-11-09T05:27:59.000Z
2021-11-09T05:27:59.000Z
geonames/migrations/0001_initial.py
fmalina/django-geonames
fe9191629be4b3c400f5c763476428a08f05304a
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
geonames/migrations/0001_initial.py
fmalina/django-geonames
fe9191629be4b3c400f5c763476428a08f05304a
[ "BSD-2-Clause-FreeBSD" ]
3
2021-11-09T05:27:46.000Z
2022-03-29T16:44:07.000Z
# Generated by Django 2.2.3 on 2019-08-12 16:17 # import django.contrib.gis.db.models.fields import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( ...
47.234177
169
0.557417
681
7,463
5.976505
0.17768
0.051597
0.034398
0.054054
0.680098
0.634398
0.573219
0.559214
0.547666
0.524079
0
0.031009
0.287016
7,463
157
170
47.535032
0.733885
0.021171
0
0.547297
1
0
0.162444
0
0
0
0
0
0
1
0
false
0
0.013514
0
0.040541
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
898014b2091b7e026bfe9dfaf15324a72ffbbf12
437
py
Python
blogapp/migrations/0006_auto_20210314_1244.py
NitinPSingh/blogprojlive
769685f22218d31b8eb2195d65d9c3c351e02772
[ "MIT" ]
1
2021-04-06T15:10:09.000Z
2021-04-06T15:10:09.000Z
blogapp/migrations/0006_auto_20210314_1244.py
NitinPSingh/blogprojlive
769685f22218d31b8eb2195d65d9c3c351e02772
[ "MIT" ]
null
null
null
blogapp/migrations/0006_auto_20210314_1244.py
NitinPSingh/blogprojlive
769685f22218d31b8eb2195d65d9c3c351e02772
[ "MIT" ]
null
null
null
# Generated by Django 3.1.5 on 2021-03-14 07:14 import ckeditor.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blogapp', '0005_auto_20210313_1746'), ] operations = [ migrations.AlterField( model_name='post', ...
21.85
72
0.590389
46
437
5.521739
0.782609
0.110236
0
0
0
0
0
0
0
0
0
0.101639
0.30206
437
19
73
23
0.731148
0.102975
0
0
1
0
0.102426
0.061995
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
89806ba532f974ea2b7559062fecb83230464dd3
10,431
py
Python
cheshire3/grid/srboo.py
cheshire3/cheshire3
306348831ec110229c78a7c5f0f2026a0f394d2c
[ "Python-2.0", "Unlicense" ]
3
2015-08-02T09:03:28.000Z
2017-12-06T09:26:14.000Z
cheshire3/grid/srboo.py
cheshire3/cheshire3
306348831ec110229c78a7c5f0f2026a0f394d2c
[ "Python-2.0", "Unlicense" ]
5
2015-08-17T01:16:35.000Z
2015-09-16T21:51:27.000Z
cheshire3/grid/srboo.py
cheshire3/cheshire3
306348831ec110229c78a7c5f0f2026a0f394d2c
[ "Python-2.0", "Unlicense" ]
6
2015-05-17T15:32:20.000Z
2020-04-22T08:43:16.000Z
"""Object Oriented wrapper to Python SRB Interface. Description: Object Oriented wrapper to Python SRB Interface Author: Rob Sanderson (azaroth@liv.ac.uk) Date: 2005-05-12 Version: 0.8 Copyright: (c) University of Liverpool Licence: GPL """ import srb import types import socket import atexit ...
28.735537
81
0.53178
1,215
10,431
4.497942
0.195062
0.04355
0.042818
0.025618
0.249954
0.224703
0.214456
0.187374
0.121134
0.071729
0
0.009959
0.364682
10,431
363
82
28.735537
0.814697
0.070655
0
0.285714
0
0
0.065171
0
0
0
0
0.002755
0.021978
0
null
null
0.032967
0.018315
null
null
0.003663
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
89841453ed436b530631f15af4fe9a72ed553857
1,062
py
Python
onadata/apps/logger/migrations/0034_auto_20170814_0432.py
childhelpline/myhelpline
d72120ee31b6713cbaec79f299f5ee8bcb7ea429
[ "BSD-3-Clause" ]
1
2018-07-15T13:13:43.000Z
2018-07-15T13:13:43.000Z
onadata/apps/logger/migrations/0034_auto_20170814_0432.py
aondiaye/myhelpline
d72120ee31b6713cbaec79f299f5ee8bcb7ea429
[ "BSD-3-Clause" ]
14
2018-07-10T12:48:46.000Z
2022-03-11T23:24:51.000Z
onadata/apps/logger/migrations/0034_auto_20170814_0432.py
aondiaye/myhelpline
d72120ee31b6713cbaec79f299f5ee8bcb7ea429
[ "BSD-3-Clause" ]
5
2018-07-04T07:59:14.000Z
2020-01-28T07:50:18.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-08-14 08:32 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('logger', '0033_auto_20170705_0159'), ] operations = [ migrations.AddField( ...
26.55
60
0.545198
93
1,062
6.032258
0.505376
0.096257
0.122995
0.144385
0.467023
0.404635
0.335116
0
0
0
0
0.048529
0.359699
1,062
39
61
27.230769
0.776471
0.06403
0
0.53125
1
0
0.172553
0.023209
0
0
0
0
0
1
0
false
0
0.0625
0
0.15625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8988936e2c4a16ed8dc2c0ae76734b697c4c8441
686
py
Python
app/core/migrations/0001_initial.py
danish21752/audio_apis
932a74c51e67394b1c3cba0bcd22a636ea11aeb1
[ "MIT" ]
null
null
null
app/core/migrations/0001_initial.py
danish21752/audio_apis
932a74c51e67394b1c3cba0bcd22a636ea11aeb1
[ "MIT" ]
null
null
null
app/core/migrations/0001_initial.py
danish21752/audio_apis
932a74c51e67394b1c3cba0bcd22a636ea11aeb1
[ "MIT" ]
null
null
null
# Generated by Django 2.1.15 on 2021-04-14 18:29 import core.services from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Song', fields=[ ('id'...
27.44
156
0.606414
72
686
5.680556
0.736111
0.05868
0
0
0
0
0
0
0
0
0
0.04008
0.272595
686
24
157
28.583333
0.779559
0.067055
0
0
1
0
0.048589
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
898f6e51ff46c19a7cf1ada1c6928da2e1ca42db
1,375
py
Python
scaaml/capture/crypto_input.py
kralka/scaaml
f47e028dad6bc74eb480cbfae83724c1057caf39
[ "Apache-2.0" ]
null
null
null
scaaml/capture/crypto_input.py
kralka/scaaml
f47e028dad6bc74eb480cbfae83724c1057caf39
[ "Apache-2.0" ]
null
null
null
scaaml/capture/crypto_input.py
kralka/scaaml
f47e028dad6bc74eb480cbfae83724c1057caf39
[ "Apache-2.0" ]
null
null
null
# Copyright 2022 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
34.375
79
0.714909
182
1,375
5.313187
0.593407
0.062048
0.026887
0.033092
0.037229
0
0
0
0
0
0
0.007214
0.193455
1,375
39
80
35.25641
0.864743
0.656727
0
0.2
0
0
0.150485
0.063107
0
0
0
0
0
1
0.4
false
0
0.2
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
89aa0eabff1f378770268ce311b51506d1dea0f7
822
py
Python
pyfmtdf/rules/python.py
elijahsd/pyformatter
a25f54aeb2f4e10552899cd0a3c5aad17cd52230
[ "MIT" ]
null
null
null
pyfmtdf/rules/python.py
elijahsd/pyformatter
a25f54aeb2f4e10552899cd0a3c5aad17cd52230
[ "MIT" ]
null
null
null
pyfmtdf/rules/python.py
elijahsd/pyformatter
a25f54aeb2f4e10552899cd0a3c5aad17cd52230
[ "MIT" ]
1
2021-02-14T03:51:00.000Z
2021-02-14T03:51:00.000Z
class rules(object): spaces = [" ", "\t"] reserved = ["pass", "break", "continue", \ "global", "nonlocal", \ "assert", "del", "import", \ "from", "as", "if", "elif", "else", "while", "for", "in", \ "with", "try", "except", "finally", "return", "raise", \ "def", "class", ...
32.88
76
0.413625
57
822
5.929825
0.912281
0.047337
0
0
0
0
0
0
0
0
0
0.032841
0.259124
822
24
77
34.25
0.522167
0
0
0
0
0
0.34592
0.076736
0
0
0
0
0.043478
1
0
false
0.043478
0.043478
0
0.695652
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
89aea7abb874db77f8b63e1a8ce25a8837c79c14
739
py
Python
ifitwala_ed/utilities/transaction_base.py
nbhatti/ifitwala_ed
3e38ebb94c9e7d551b5404344076d6053f2fee21
[ "MIT" ]
null
null
null
ifitwala_ed/utilities/transaction_base.py
nbhatti/ifitwala_ed
3e38ebb94c9e7d551b5404344076d6053f2fee21
[ "MIT" ]
null
null
null
ifitwala_ed/utilities/transaction_base.py
nbhatti/ifitwala_ed
3e38ebb94c9e7d551b5404344076d6053f2fee21
[ "MIT" ]
null
null
null
# Copyright (c) 2021, ifitwala and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe import frappe.share from frappe import _ from frappe.utils import cstr, now_datetime, cint, flt, get_time, get_datetime, get_link_to_form, date_diff, nowdate def ...
29.56
116
0.756428
99
739
5.414141
0.585859
0.149254
0.037313
0.052239
0
0
0
0
0
0
0
0.006339
0.146143
739
24
117
30.791667
0.843106
0.125846
0
0
0
0
0.399689
0.096423
0
0
0
0
0
1
0.066667
false
0
0.333333
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
89b1cfef1322d6b2e732c4b840d36971f5ab1c90
1,829
py
Python
src/spaceone/board/manager/post_manager.py
spaceone-dev/board
1733756344240b1498bca85b6e1b88d741425ea0
[ "Apache-2.0" ]
null
null
null
src/spaceone/board/manager/post_manager.py
spaceone-dev/board
1733756344240b1498bca85b6e1b88d741425ea0
[ "Apache-2.0" ]
1
2022-03-23T06:44:15.000Z
2022-03-23T06:52:39.000Z
src/spaceone/board/manager/post_manager.py
spaceone-dev/board
1733756344240b1498bca85b6e1b88d741425ea0
[ "Apache-2.0" ]
1
2022-03-22T08:59:01.000Z
2022-03-22T08:59:01.000Z
import logging from spaceone.core.manager import BaseManager from spaceone.board.model import Post _LOGGER = logging.getLogger(__name__) class PostManager(BaseManager): def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.post_model: Post = self.locator.get_model('Post') ...
29.983607
115
0.645708
243
1,829
4.514403
0.234568
0.092981
0.059253
0.038286
0.198724
0.134913
0.134913
0
0
0
0
0
0.241115
1,829
60
116
30.483333
0.790346
0
0
0.095238
0
0
0.091307
0.039913
0
0
0
0
0
1
0.261905
false
0
0.071429
0.047619
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
89b23d33768aa828cc8feab70ac5533232ecfe68
1,125
py
Python
junction/tickets/migrations/0005_auto_20200322_1904.py
theSage21/junction
ac713edcf56c41eb3f066da776a0a5d24e55b46a
[ "MIT" ]
192
2015-01-12T06:21:24.000Z
2022-03-10T09:57:37.000Z
junction/tickets/migrations/0005_auto_20200322_1904.py
theSage21/junction
ac713edcf56c41eb3f066da776a0a5d24e55b46a
[ "MIT" ]
621
2015-01-01T09:19:17.000Z
2021-05-28T09:27:35.000Z
junction/tickets/migrations/0005_auto_20200322_1904.py
theSage21/junction
ac713edcf56c41eb3f066da776a0a5d24e55b46a
[ "MIT" ]
207
2015-01-05T16:39:06.000Z
2022-02-15T13:18:15.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2020-03-22 13:34 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("tickets", "0004_merge"), ] operations = [ mig...
27.439024
51
0.537778
109
1,125
5.311927
0.46789
0.056995
0.086356
0.100173
0.559585
0.559585
0.42487
0.42487
0.42487
0.276339
0
0.026685
0.367111
1,125
40
52
28.125
0.786517
0.057778
0
0.545455
1
0
0.10123
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
89b75853bd9b72ee4f01dc2003303db7a80ac078
422
py
Python
wafw00f/plugins/viettel.py
84KaliPleXon3/EnableSecurity-wafw00f
7fb9d5c9ddd222377a935724c66977e2e9c97c78
[ "BSD-3-Clause" ]
3,069
2016-05-23T16:08:31.000Z
2022-03-31T16:27:40.000Z
wafw00f/plugins/viettel.py
marcelovff/wafw00f
e3e6147d5d0dbb89030a9902e47170f15e95dd31
[ "BSD-3-Clause" ]
98
2016-06-06T16:43:54.000Z
2022-03-18T12:30:19.000Z
wafw00f/plugins/viettel.py
marcelovff/wafw00f
e3e6147d5d0dbb89030a9902e47170f15e95dd31
[ "BSD-3-Clause" ]
734
2016-05-25T02:17:46.000Z
2022-03-31T11:43:37.000Z
#!/usr/bin/env python ''' Copyright (C) 2020, WAFW00F Developers. See the LICENSE file for copying permission. ''' NAME = 'Viettel (Cloudrity)' def is_waf(self): schemes = [ self.matchContent(r"Access Denied.{0,10}?Viettel WAF"), self.matchContent(r"cloudrity\.com\.(vn)?/"), self.matchCon...
23.444444
63
0.637441
56
422
4.785714
0.714286
0.179104
0.190299
0
0
0
0
0
0
0
0
0.027356
0.220379
422
18
64
23.444444
0.787234
0.248815
0
0
0
0
0.293548
0.13871
0
0
0
0
0
1
0.1
false
0
0
0
0.3
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
89ba5ce833b0a601793d4f7d9acdb30891d0b377
240
py
Python
hybrid_markov/test.py
pengyuan/markov2tensor
4bcdcba6273dc7b671d81953da934188135dbca3
[ "MIT" ]
1
2018-03-20T08:28:25.000Z
2018-03-20T08:28:25.000Z
hybrid_markov/test.py
pengyuan/markov2tensor
4bcdcba6273dc7b671d81953da934188135dbca3
[ "MIT" ]
null
null
null
hybrid_markov/test.py
pengyuan/markov2tensor
4bcdcba6273dc7b671d81953da934188135dbca3
[ "MIT" ]
2
2015-12-16T07:21:15.000Z
2018-03-20T08:28:27.000Z
#!/usr/bin/env python # coding: UTF-8 from pymatbridge import Matlab mlab = Matlab(executable='/Applications/MATLAB_R2014a.app/bin/matlab') mlab.start() results = mlab.run_code('a=1;') var = mlab.get_variable('a') print var mlab.stop()
17.142857
70
0.729167
37
240
4.648649
0.72973
0.116279
0
0
0
0
0
0
0
0
0
0.028037
0.108333
240
14
71
17.142857
0.775701
0.141667
0
0
0
0
0.229268
0.204878
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
89bbd494317a7f8427b80bab008bf35ed4c4ea9c
347
py
Python
config/database.py
amin-gholizad/todolist
375d54ea74de5d0cc03bd7ecaf898c2d39b386bd
[ "MIT" ]
null
null
null
config/database.py
amin-gholizad/todolist
375d54ea74de5d0cc03bd7ecaf898c2d39b386bd
[ "MIT" ]
null
null
null
config/database.py
amin-gholizad/todolist
375d54ea74de5d0cc03bd7ecaf898c2d39b386bd
[ "MIT" ]
null
null
null
from fastapi import FastAPI from tortoise.contrib.fastapi import register_tortoise from models.base import model_list from config.secrets import db_url def register(app: FastAPI): register_tortoise( app, db_url=db_url, modules={'models': model_list}, generate_schemas=True, add_exc...
23.133333
54
0.731988
45
347
5.422222
0.511111
0.061475
0
0
0
0
0
0
0
0
0
0
0.201729
347
14
55
24.785714
0.880866
0
0
0
0
0
0.017291
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
89be4dfeca24b0b7fe4dc1175ac5c5f0f9c555c3
467
py
Python
utilities/simulator/virtual_sensor.py
gauravmm/Remote-Temperature-Monitor
e3695a44dc30e5c013871e303ae8f6fdf481bf04
[ "MIT" ]
null
null
null
utilities/simulator/virtual_sensor.py
gauravmm/Remote-Temperature-Monitor
e3695a44dc30e5c013871e303ae8f6fdf481bf04
[ "MIT" ]
null
null
null
utilities/simulator/virtual_sensor.py
gauravmm/Remote-Temperature-Monitor
e3695a44dc30e5c013871e303ae8f6fdf481bf04
[ "MIT" ]
null
null
null
import serial import math import numpy as np import time with serial.Serial("COM15", 9600) as ser: period = 120; while True: for x in np.arange(1, 2*math.pi, 2*math.pi/period): s = "%.1f\n\n" % (math.sin(x) * 80 + 100); print s; ser.write(s); ...
24.578947
60
0.479657
59
467
3.79661
0.576271
0.044643
0.0625
0
0
0
0
0
0
0
0
0.068592
0.406852
467
19
61
24.578947
0.740072
0
0
0
0
0
0.028889
0
0
0
0
0
0
0
null
null
0
0.266667
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9828ac6d8a360aa1bdc1678784f726c48d1506dc
1,199
py
Python
ckanext/nhm/lib/resource_view.py
pribadihcr/ckanext-nhm
8b01a0294a809fde491094cb6928b57fee90a9a6
[ "MIT" ]
18
2015-07-05T23:27:37.000Z
2021-11-25T06:54:50.000Z
ckanext/nhm/lib/resource_view.py
pribadihcr/ckanext-nhm
8b01a0294a809fde491094cb6928b57fee90a9a6
[ "MIT" ]
285
2015-01-08T14:36:06.000Z
2022-03-23T14:45:53.000Z
ckanext/nhm/lib/resource_view.py
pribadihcr/ckanext-nhm
8b01a0294a809fde491094cb6928b57fee90a9a6
[ "MIT" ]
1
2021-07-11T11:28:18.000Z
2021-07-11T11:28:18.000Z
# !/usr/bin/env python # encoding: utf-8 # # This file is part of ckanext-nhm # Created by the Natural History Museum in London, UK import ckanext.nhm.views as nhm_views def resource_view_get_view(resource): '''Retrieve the controller for a resource. Try and match on resource ID, or on format so we can provi...
26.065217
82
0.694746
168
1,199
4.833333
0.452381
0.039409
0.055419
0.044335
0.066502
0
0
0
0
0
0
0.001087
0.232694
1,199
45
83
26.644444
0.881522
0.511259
0
0.307692
0
0
0.014925
0
0
0
0
0
0
1
0.153846
false
0
0.076923
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9829ebb5e417a18b7799bdd5ca28cb967d50275a
4,298
py
Python
redcap_bridge/test_redcap/test_server_interface.py
killianrochet/DigLabTools
e015a80b0668f94d1c7c0f91e55afb6fb50787e1
[ "MIT" ]
2
2021-11-02T09:26:20.000Z
2021-12-06T10:45:01.000Z
redcap_bridge/test_redcap/test_server_interface.py
killianrochet/DigLabTools
e015a80b0668f94d1c7c0f91e55afb6fb50787e1
[ "MIT" ]
28
2021-04-10T17:09:01.000Z
2022-03-22T13:49:15.000Z
redcap_bridge/test_redcap/test_server_interface.py
killianrochet/DigLabTools
e015a80b0668f94d1c7c0f91e55afb6fb50787e1
[ "MIT" ]
2
2021-04-12T11:28:14.000Z
2021-04-13T10:39:51.000Z
import json import pandas as pd import pytest import redcap from redcap_bridge.server_interface import (upload_datadict, download_records, download_datadict) from redcap_bridge.test_redcap.test_utils import (test_directory, ...
38.720721
86
0.683574
515
4,298
5.454369
0.293204
0.054824
0.039872
0.0356
0.312211
0.218939
0.166607
0.135279
0.11036
0.11036
0
0.001521
0.235226
4,298
110
87
39.072727
0.853058
0.259423
0
0.074074
0
0
0.099548
0.016484
0
0
0
0.018182
0.055556
1
0.074074
false
0
0.203704
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
98381c463f46171f1ce8608a5ff47f13ed8e7cd4
27,628
py
Python
drupal/Drupal.py
EmlynK/deployments
18c6f3de73af36dd7ed95d4ef3bf844765e74fa3
[ "MIT" ]
null
null
null
drupal/Drupal.py
EmlynK/deployments
18c6f3de73af36dd7ed95d4ef3bf844765e74fa3
[ "MIT" ]
null
null
null
drupal/Drupal.py
EmlynK/deployments
18c6f3de73af36dd7ed95d4ef3bf844765e74fa3
[ "MIT" ]
null
null
null
from fabric.api import * from fabric.contrib.files import * import random import string import common.ConfigFile import common.Services import common.Utils import Revert @task def drush_fra_branches(config): # If a 'branches' option exists in the [Features] section in config.ini, proceed if config.has_option("Fea...
53.028791
229
0.67837
3,968
27,628
4.613155
0.125
0.013111
0.052445
0.011363
0.555313
0.495875
0.452882
0.407157
0.37569
0.358536
0
0.004726
0.195816
27,628
520
230
53.130769
0.819156
0.185573
0
0.452316
0
0.084469
0.444083
0.117188
0
0
0
0.001923
0
0
null
null
0.032698
0.046322
null
null
0.19346
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
983ae88806b05eed4c4e4a551d138fce15302291
6,929
py
Python
ultracart/models/email_segment_customers_response.py
UltraCart/rest_api_v2_sdk_python
d734ea13fabc7a57872ff68bac06861edb8fd882
[ "Apache-2.0" ]
1
2018-03-15T16:56:23.000Z
2018-03-15T16:56:23.000Z
ultracart/models/email_segment_customers_response.py
UltraCart/rest_api_v2_sdk_python
d734ea13fabc7a57872ff68bac06861edb8fd882
[ "Apache-2.0" ]
null
null
null
ultracart/models/email_segment_customers_response.py
UltraCart/rest_api_v2_sdk_python
d734ea13fabc7a57872ff68bac06861edb8fd882
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ UltraCart Rest API V2 UltraCart REST API Version 2 # noqa: E501 OpenAPI spec version: 2.0.0 Contact: support@ultracart.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class EmailSegmentCustomersRes...
30.126087
127
0.613508
764
6,929
5.387435
0.160995
0.054422
0.170068
0.142128
0.483236
0.383625
0.31001
0.237609
0.13897
0.082119
0
0.019868
0.302641
6,929
229
128
30.257642
0.831954
0.383749
0
0.071429
1
0
0.063099
0.007324
0
0
0
0
0
1
0.163265
false
0
0.030612
0
0.336735
0.020408
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
98453d92e060154057bdd6c781bbf32f5d97ae0b
2,745
py
Python
src/tests/t_kadmin.py
frozencemetery/krb5
bb8fa495d00ccd931eec87a01b8920636cf7903e
[ "MIT" ]
1
2015-05-14T22:15:04.000Z
2015-05-14T22:15:04.000Z
src/tests/t_kadmin.py
frozencemetery/krb5
bb8fa495d00ccd931eec87a01b8920636cf7903e
[ "MIT" ]
1
2018-08-09T19:05:03.000Z
2018-08-10T18:46:20.000Z
src/tests/t_kadmin.py
frozencemetery/krb5
bb8fa495d00ccd931eec87a01b8920636cf7903e
[ "MIT" ]
null
null
null
from k5test import * realm = K5Realm(start_kadmind=True) # Create a principal. Test -q option and keyboard entry of the admin # password and principal password. Verify creation with kadmin.local. realm.run([kadmin, '-q', 'addprinc princ/pw'], input=password('admin') + '\npw1\npw1\n') realm.run([kadminl, '...
40.970149
73
0.715118
370
2,745
5.162162
0.354054
0.104712
0.146597
0.059686
0.391623
0.320942
0.284293
0.212042
0.173298
0.12199
0
0.009083
0.117668
2,745
66
74
41.590909
0.779521
0.216393
0
0.04878
0
0
0.375585
0.034144
0
0
0
0
0
1
0
false
0.073171
0.02439
0
0.02439
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9847e44921afc7a8b82a4f3d93c3296fce6e3790
13,352
py
Python
Ui_WorldGenDialog.py
Kamilcuk/Anthill
8f8f0a8acd8597da5adf918584a225cfbb485e2f
[ "MIT" ]
1
2016-03-10T12:51:01.000Z
2016-03-10T12:51:01.000Z
Ui_WorldGenDialog.py
Kamilcuk/Anthill
8f8f0a8acd8597da5adf918584a225cfbb485e2f
[ "MIT" ]
null
null
null
Ui_WorldGenDialog.py
Kamilcuk/Anthill
8f8f0a8acd8597da5adf918584a225cfbb485e2f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'worldgen.ui' # # Created by: PyQt5 UI code generator 5.6 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_WorldGenDialog(object): def setupUi(self, WorldGenDialog): Wo...
59.079646
122
0.736669
1,313
13,352
7.366337
0.134806
0.07165
0.058933
0.044355
0.367763
0.205542
0.126241
0.126241
0.117246
0.107837
0
0.027463
0.160051
13,352
225
123
59.342222
0.834953
0.013406
0
0.075117
1
0
0.071174
0
0
0
0
0
0
1
0.00939
false
0
0.004695
0
0.018779
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9858db76b7f230493a4c3aa09572747983cf6874
1,853
py
Python
recipes/tinyobjloader/all/conanfile.py
balintfodor/conan-center-index
9afc15a805f8ab323a312327c68c80f81a6ceade
[ "MIT" ]
2
2022-01-04T11:30:41.000Z
2022-01-04T11:31:32.000Z
recipes/tinyobjloader/all/conanfile.py
balintfodor/conan-center-index
9afc15a805f8ab323a312327c68c80f81a6ceade
[ "MIT" ]
4
2019-12-27T01:09:03.000Z
2019-12-27T01:49:59.000Z
recipes/tinyobjloader/all/conanfile.py
balintfodor/conan-center-index
9afc15a805f8ab323a312327c68c80f81a6ceade
[ "MIT" ]
1
2020-12-11T02:35:13.000Z
2020-12-11T02:35:13.000Z
import os from conans import ConanFile, CMake, tools class TinyObjLoaderConan(ConanFile): name = "tinyobjloader" description = "Tiny but powerful single file wavefront obj loader" settings = "os", "arch", "build_type", "compiler" options = {"shared": [True, False], "fPIC": [True, False]} default_o...
37.06
83
0.665407
211
1,853
5.668246
0.407583
0.043478
0.021739
0.0301
0.229097
0.229097
0.06689
0.06689
0.06689
0
0
0
0.205073
1,853
49
84
37.816327
0.811948
0
0
0.04878
0
0
0.227199
0.034539
0
0
0
0
0
1
0.146341
false
0
0.04878
0
0.560976
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
985d32e1f4f905bd4cdae415d067eca4717b3385
1,074
py
Python
Day 15: Rambunctious Recitation/day15-part2.py
Ryan-Kan/Advent-Of-Code-2020
56ed9ab5e01e86781051a9fb774d0a313e0dc15a
[ "MIT" ]
null
null
null
Day 15: Rambunctious Recitation/day15-part2.py
Ryan-Kan/Advent-Of-Code-2020
56ed9ab5e01e86781051a9fb774d0a313e0dc15a
[ "MIT" ]
null
null
null
Day 15: Rambunctious Recitation/day15-part2.py
Ryan-Kan/Advent-Of-Code-2020
56ed9ab5e01e86781051a9fb774d0a313e0dc15a
[ "MIT" ]
null
null
null
""" day15-part2.py Created on 2020-12-15 Updated on 2020-12-20 Copyright © Ryan Kan """ # INPUT with open("input.txt", "r") as f: numbers = [int(number) for number in f.readline().split(",")] f.close() # COMPUTATION saidNumbers = {} # Process the first numbers for i, number in enumerate(numbers): print...
26.195122
98
0.691806
132
1,074
5.636364
0.469697
0.217742
0.021505
0.083333
0
0
0
0
0
0
0
0.049596
0.192737
1,074
40
99
26.85
0.807382
0.235568
0
0.095238
0
0
0.030941
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
985e339098540df929a0de7a5cadb4b7c51dc175
1,309
py
Python
home/tests.py
apoorvanand/tweet-search
9dcb94a474c638b5a44fcc2249b5ce6579a209a4
[ "MIT" ]
51
2015-10-06T10:00:09.000Z
2021-09-10T10:27:52.000Z
home/tests.py
apoorvanand/tweet-search
9dcb94a474c638b5a44fcc2249b5ce6579a209a4
[ "MIT" ]
20
2015-12-22T04:59:29.000Z
2021-06-10T17:45:08.000Z
home/tests.py
apoorvanand/tweet-search
9dcb94a474c638b5a44fcc2249b5ce6579a209a4
[ "MIT" ]
22
2015-03-24T14:57:20.000Z
2021-05-29T13:51:36.000Z
import unittest import timeframe import timeseries import datetime import frequency #from django.test import TestCase # Create your tests here. class Tests(unittest.TestCase): """ Class for tests """ def setUp(self): pass def test_timeframe(self): empty_timeframe = timeframe.Timefr...
31.166667
147
0.618793
130
1,309
6.1
0.407692
0.136192
0.119798
0.06053
0.209332
0.126103
0.126103
0
0
0
0
0.037449
0.245225
1,309
41
148
31.926829
0.765182
0.082506
0
0.071429
0
0.035714
0.121827
0
0
0
0
0.02439
0.178571
1
0.178571
false
0.035714
0.178571
0
0.392857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
9860422041ee2bb31eb6ba81c5dea5d1adfbba12
948
py
Python
olwi/weight_sensor.py
molkoback/olwi
449874a1de1a9addaaefe74010d49ca0fa2f9ce3
[ "MIT" ]
null
null
null
olwi/weight_sensor.py
molkoback/olwi
449874a1de1a9addaaefe74010d49ca0fa2f9ce3
[ "MIT" ]
null
null
null
olwi/weight_sensor.py
molkoback/olwi
449874a1de1a9addaaefe74010d49ca0fa2f9ce3
[ "MIT" ]
1
2021-11-23T07:19:00.000Z
2021-11-23T07:19:00.000Z
class WeightSensorException(Exception): pass class WeightSensor: async def reset(self) -> None: raise NotImplementedError() async def start(self, delay: float = 0) -> None: raise NotImplementedError() async def stop(self) -> None: raise NotImplementedError() async def reset(self) -> None: raise NotI...
20.170213
71
0.714135
117
948
5.786325
0.350427
0.118168
0.076809
0.100443
0.422452
0.289513
0.242245
0.156573
0.156573
0
0
0.030496
0.169831
948
46
72
20.608696
0.829733
0
0
0.441176
0
0
0.03903
0
0
0
0
0
0
1
0.029412
false
0.176471
0.029412
0
0.205882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9860ac1ece57fe757569f0cde14494aa4c063246
2,438
py
Python
data_client/controller/event_client.py
trcox/py-core-data-client
a6d35a792c99ccf5196d5618d5dc9df6413e16f7
[ "Apache-2.0" ]
null
null
null
data_client/controller/event_client.py
trcox/py-core-data-client
a6d35a792c99ccf5196d5618d5dc9df6413e16f7
[ "Apache-2.0" ]
null
null
null
data_client/controller/event_client.py
trcox/py-core-data-client
a6d35a792c99ccf5196d5618d5dc9df6413e16f7
[ "Apache-2.0" ]
null
null
null
# ******************************************************************************* # Copyright 2017 Dell Inc. # # 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/L...
28.348837
99
0.637818
289
2,438
5.380623
0.411765
0.049518
0.058521
0.067524
0.100965
0.055305
0.055305
0.055305
0
0
0
0.005432
0.169401
2,438
85
100
28.682353
0.762469
0.322395
0
0.34
0
0
0.176255
0.084455
0
0
0
0
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
0
0
1
0
0
0
0
0
0
0
0
1
9863633cc61296d6ee525b953753de22c61a3ff2
971
py
Python
testAdmin.py
Krenair/wmcs-misc-scripts
ae91b5756d73a9405634df9d6c32e98f21b97d5f
[ "Apache-2.0" ]
null
null
null
testAdmin.py
Krenair/wmcs-misc-scripts
ae91b5756d73a9405634df9d6c32e98f21b97d5f
[ "Apache-2.0" ]
null
null
null
testAdmin.py
Krenair/wmcs-misc-scripts
ae91b5756d73a9405634df9d6c32e98f21b97d5f
[ "Apache-2.0" ]
null
null
null
from keystoneclient.session import Session as KeystoneSession from keystoneclient.auth.identity.v3 import Password as KeystonePassword from keystoneclient.v3 import Client as KeystoneClient #from novaclient import client as novaclient from designateclient.v2 import client as designateclient def get_keystone_session(pr...
33.482759
76
0.762101
116
971
6.275862
0.448276
0.074176
0.057692
0
0
0
0
0
0
0
0
0.020384
0.141092
971
28
77
34.678571
0.852518
0.166838
0
0
0
0
0.120647
0.026119
0
0
0
0
0
1
0.055556
false
0.166667
0.277778
0.055556
0.388889
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
986926fd782aa8032b7947a3571c5bda5cd88e40
4,057
py
Python
xamarin_ida_script.py
AkshayJainG/xamarin_frida_ios_bypassjb
69c6358bb4a3b9475dfda08ca23d7fffde9252ff
[ "MIT" ]
5
2019-10-20T04:14:49.000Z
2021-07-20T09:17:43.000Z
xamarin_ida_script.py
AkshayJainG/xamarin_frida_ios_bypassjb
69c6358bb4a3b9475dfda08ca23d7fffde9252ff
[ "MIT" ]
1
2019-12-09T12:34:10.000Z
2020-04-23T08:10:29.000Z
xamarin_ida_script.py
AkshayJainG/xamarin_frida_ios_bypassjb
69c6358bb4a3b9475dfda08ca23d7fffde9252ff
[ "MIT" ]
1
2019-10-24T11:00:19.000Z
2019-10-24T11:00:19.000Z
import idautils import idc import collections searchItems = {"mono_init_internal" : "Max native code in a domain", #req'd for iOS "mono_class_load_from_name" : "Runtime critical type %s.%s not found", # req'd for iOS "mono_assembly_request_open" : "Assembly Loader probing location: '%s'."...
54.093333
126
0.556815
512
4,057
4.246094
0.332031
0.019319
0.032199
0.045078
0.25897
0.207912
0.086477
0.056118
0
0
0
0.010897
0.32142
4,057
74
127
54.824324
0.778787
0.186838
0
0.086207
0
0
0.315549
0.091463
0
0
0
0.013514
0
1
0
false
0
0.051724
0
0.051724
0.137931
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
986afc8c8252f43697256a6f683c7548d2d1d640
558
py
Python
example/gaussian_elimination.py
iamaris/ppf
60f798eaea69e7dec2b8c422ceb684219b1645d0
[ "MIT" ]
2
2019-10-26T17:18:41.000Z
2020-06-05T11:26:10.000Z
example/gaussian_elimination.py
iamaris/ppf
60f798eaea69e7dec2b8c422ceb684219b1645d0
[ "MIT" ]
null
null
null
example/gaussian_elimination.py
iamaris/ppf
60f798eaea69e7dec2b8c422ceb684219b1645d0
[ "MIT" ]
5
2019-01-24T16:44:07.000Z
2020-09-14T06:56:55.000Z
import numpy from numpy import dot def gaussian_elimination(a, b): n = len(b) for k in range(0, n - 1): for i in range(k + 1, n): lam = a[i, k]/a[k, k] a[i, k:n] -= lam*a[k, k:n] b[i] -= lam*b[k] for k in range(n - 1, -1, -1): b[k] = (b[k] - dot(a[k, k + 1:n], b[k + 1:n]))/a[k, k] re...
22.32
58
0.453405
109
558
2.229358
0.293578
0.032922
0.049383
0.090535
0.037037
0
0
0
0
0
0
0.058376
0.293907
558
24
59
23.25
0.558376
0
0
0
0
0
0.014337
0
0
0
0
0
0
0
null
null
0
0.095238
null
null
0.095238
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
986c75e370e34a52e4bf7dc513dbd76a17105cd9
245
py
Python
ENV/lib/python3.6/site-packages/pyramid/resource.py
captain-c00keys/pyramid-stocks
0acf3363a6a7ee61cd41b855f43c9d6f9582ae6a
[ "MIT" ]
null
null
null
ENV/lib/python3.6/site-packages/pyramid/resource.py
captain-c00keys/pyramid-stocks
0acf3363a6a7ee61cd41b855f43c9d6f9582ae6a
[ "MIT" ]
null
null
null
ENV/lib/python3.6/site-packages/pyramid/resource.py
captain-c00keys/pyramid-stocks
0acf3363a6a7ee61cd41b855f43c9d6f9582ae6a
[ "MIT" ]
null
null
null
""" Backwards compatibility shim module (forever). """ from pyramid.asset import * # b/w compat resolve_resource_spec = resolve_asset_spec resource_spec_from_abspath = asset_spec_from_abspath abspath_from_resource_spec = abspath_from_asset_spec
40.833333
54
0.840816
34
245
5.588235
0.470588
0.189474
0.157895
0
0
0
0
0
0
0
0
0
0.093878
245
5
55
49
0.855856
0.240816
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
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
0
0
0
0
0
0
0
1
987362642a365e5423cf2bd55917ff9447725133
512
py
Python
workers/metric_status_worker/tests/tests_worker.py
ishagarg06/augur
2295d48288d243c9ac01bf54ba140ca756828929
[ "MIT" ]
null
null
null
workers/metric_status_worker/tests/tests_worker.py
ishagarg06/augur
2295d48288d243c9ac01bf54ba140ca756828929
[ "MIT" ]
null
null
null
workers/metric_status_worker/tests/tests_worker.py
ishagarg06/augur
2295d48288d243c9ac01bf54ba140ca756828929
[ "MIT" ]
null
null
null
import requests import pytest from metric_status_worker.worker import MetricsStatus def test_get_metric_index_in_table_row(): row = "metric |sTatuS|TestString" metric_status = MetricsStatus("api.github.com") result = metric_status.get_metric_index_in_table_row(row) print(result) assert result == (...
30.117647
67
0.734375
71
512
4.957746
0.43662
0.204545
0.079545
0.090909
0.363636
0.363636
0.153409
0
0
0
0
0.00463
0.15625
512
16
68
32
0.810185
0
0
0.153846
0
0
0.146484
0
0
0
0
0
0.153846
1
0.153846
false
0
0.230769
0
0.384615
0.076923
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9874849b08248f2d12b5e87f81348c5947b4f011
609
py
Python
abstract/view.py
bkosciow/piader
81ca2c8a4bd4a834fb460b5306fca0c5ce0584c4
[ "MIT" ]
null
null
null
abstract/view.py
bkosciow/piader
81ca2c8a4bd4a834fb460b5306fca0c5ce0584c4
[ "MIT" ]
null
null
null
abstract/view.py
bkosciow/piader
81ca2c8a4bd4a834fb460b5306fca0c5ce0584c4
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- #pylint: disable=I0011,R0913,R0902,R0921 """View interface""" from builtins import object class View(object): """Class for views""" def hide(self): """on hide event""" raise NotImplementedError("hide not implemented") def show(self): """o...
25.375
60
0.632184
70
609
5.5
0.614286
0.187013
0.088312
0
0
0
0
0
0
0
0
0.036717
0.239737
609
23
61
26.478261
0.794816
0.382594
0
0
0
0
0.181269
0
0
0
0
0
0
1
0.375
false
0
0.125
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
1
0
0
0
0
0
0
0
1
9874c094dee995f171864cf9fc6e8566bd56593c
888
py
Python
src/sage/misc/multireplace.py
bopopescu/sage
2d495be78e0bdc7a0a635454290b27bb4f5f70f0
[ "BSL-1.0" ]
4
2020-07-17T04:49:44.000Z
2020-07-29T06:33:51.000Z
src/sage/misc/multireplace.py
Ivo-Maffei/sage
467fbc70a08b552b3de33d9065204ee9cbfb02c7
[ "BSL-1.0" ]
2
2018-10-30T13:40:20.000Z
2020-07-23T12:13:30.000Z
src/sage/misc/multireplace.py
dimpase/sage
468f23815ade42a2192b0a9cd378de8fdc594dcd
[ "BSL-1.0" ]
7
2021-11-08T10:01:59.000Z
2022-03-03T11:25:52.000Z
"multi_replace" ########################################################################## # # multi_replace function # # By Xavier Defrang. # # From the Python cookbook: # # http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/81330 # # There's more cool related code at the above site... # #######################...
24.666667
75
0.573198
103
888
4.912621
0.669903
0.047431
0
0
0
0
0
0
0
0
0
0.006676
0.156532
888
35
76
25.371429
0.668892
0.532658
0
0
0
0
0.073469
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9881f1e32280b6d69007c8828095a1ac61745d01
3,290
py
Python
alipay/aop/api/domain/AlipayMarketingPassInstanceQueryModel.py
articuly/alipay-sdk-python-all
0259cd28eca0f219b97dac7f41c2458441d5e7a6
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/domain/AlipayMarketingPassInstanceQueryModel.py
articuly/alipay-sdk-python-all
0259cd28eca0f219b97dac7f41c2458441d5e7a6
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/domain/AlipayMarketingPassInstanceQueryModel.py
articuly/alipay-sdk-python-all
0259cd28eca0f219b97dac7f41c2458441d5e7a6
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import simplejson as json from alipay.aop.api.constant.ParamConstants import * class AlipayMarketingPassInstanceQueryModel(object): def __init__(self): self._page_num = None self._page_size = None self._pass_id = None self._serial_num...
28.362069
77
0.573252
432
3,290
4.041667
0.111111
0.060137
0.089347
0.061856
0.304696
0.302406
0
0
0
0
0
0.000451
0.325532
3,290
115
78
28.608696
0.78639
0.012766
0
0.123711
0
0
0.087546
0
0
0
0
0
0
1
0.154639
false
0.14433
0.020619
0.061856
0.278351
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9883440a5388568181a9f4d444ede27a94ebd59a
9,053
py
Python
MCEq/misc.py
afedynitch/MCEq_classic
cbbe4b00c923b54afb0221e980bc716a395ed4b5
[ "MIT" ]
null
null
null
MCEq/misc.py
afedynitch/MCEq_classic
cbbe4b00c923b54afb0221e980bc716a395ed4b5
[ "MIT" ]
null
null
null
MCEq/misc.py
afedynitch/MCEq_classic
cbbe4b00c923b54afb0221e980bc716a395ed4b5
[ "MIT" ]
2
2019-12-10T14:12:12.000Z
2020-05-06T14:25:58.000Z
# -*- coding: utf-8 -*- """ :mod:`MCEq.misc` - other useful things ====================================== Some helper functions and plotting features are collected in this module. """ import numpy as np from mceq_config import dbg def normalize_hadronic_model_name(name): """Converts hadronic model name into st...
30.176667
78
0.577046
1,148
9,053
4.420732
0.283101
0.007094
0.007882
0.008867
0.077833
0.060296
0.033103
0.033103
0.020887
0.020887
0
0.010322
0.304429
9,053
299
79
30.277592
0.795617
0.006959
0
0.080214
0
0
0.087349
0.003834
0
0
0
0
0
0
null
null
0
0.085562
null
null
0.042781
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
98839343d4c13dcd80dfa12f748035fe5fe131e4
503
py
Python
src/storage.py
xyzza/Sancho
ed0b7914bbd3f92b39ff5ef6fe92711855d2d45b
[ "MIT" ]
null
null
null
src/storage.py
xyzza/Sancho
ed0b7914bbd3f92b39ff5ef6fe92711855d2d45b
[ "MIT" ]
null
null
null
src/storage.py
xyzza/Sancho
ed0b7914bbd3f92b39ff5ef6fe92711855d2d45b
[ "MIT" ]
null
null
null
# coding: utf-8 _USERS_STORAGE = { 'default_id': None, # current issue } def set_user_issues(user_id, issue=None): if not issue: issue = Issue('', '') _USERS_STORAGE[user_id] = issue return _USERS_STORAGE[user_id] def get_user_issue(user_id): return _USERS_STORAGE[user_id] class Issue(...
20.12
49
0.644135
67
503
4.447761
0.38806
0.100671
0.161074
0.181208
0.161074
0
0
0
0
0
0
0.002604
0.236581
503
24
50
20.958333
0.773438
0.053678
0
0.125
0
0
0.052854
0
0
0
0
0
0
1
0.1875
false
0
0
0.0625
0.4375
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
989349744cc2dd1a6576576af6f0bfa7e5efaf0a
2,495
py
Python
python/roman-numerals/roman_numerals.py
KT12/Exercism
41d6bdf3e3550d5af45f3e4aa6e7da10b7161b0a
[ "MIT" ]
1
2016-09-08T21:35:57.000Z
2016-09-08T21:35:57.000Z
python/roman-numerals/roman_numerals.py
KT12/Exercism
41d6bdf3e3550d5af45f3e4aa6e7da10b7161b0a
[ "MIT" ]
null
null
null
python/roman-numerals/roman_numerals.py
KT12/Exercism
41d6bdf3e3550d5af45f3e4aa6e7da10b7161b0a
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Fri Jan 6 15:51:34 2017 @author: ktt """ #!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Fri Jan 6 14:28:01 2017 @author: ktt """ def numeral(arabic): # Returns Roman equivalent of arabic numeral # Assumes input is int ...
25.459184
54
0.322645
237
2,495
3.337553
0.417722
0.05689
0.06574
0.064475
0.221239
0.221239
0.187105
0.106195
0.106195
0.106195
0
0.058621
0.53507
2,495
98
55
25.459184
0.623276
0.091784
0
0.115942
0
0
0.045082
0
0
0
0
0
0
1
0.072464
false
0
0
0
0.202899
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9895e882158e28bf4c2b35edfa219a477694083b
5,267
py
Python
pysnmp-with-texts/RADLAN-BOOTP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/RADLAN-BOOTP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/RADLAN-BOOTP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module RADLAN-BOOTP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/RADLAN-BOOTP-MIB # Produced by pysmi-0.3.4 at Wed May 1 14:45:26 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar ...
109.729167
477
0.792671
581
5,267
7.182444
0.363167
0.054637
0.095615
0.007668
0.278936
0.116223
0.116223
0.116223
0.113827
0.102085
0
0.043614
0.085817
5,267
47
478
112.06383
0.823053
0.061895
0
0
0
0.076923
0.315288
0.013179
0
0
0
0
0
1
0
false
0
0.230769
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
98973eb1d96331229e648363477aa310dbca7e97
1,392
py
Python
scrapyext/duplicate.py
zanachka/scrapyext
2dd5e0fc03f8e4b8793b808744d4dd6452e5d5b3
[ "BSD-3-Clause" ]
12
2016-01-14T16:15:56.000Z
2021-08-12T09:31:27.000Z
scrapyext/duplicate.py
zanachka/scrapyext
2dd5e0fc03f8e4b8793b808744d4dd6452e5d5b3
[ "BSD-3-Clause" ]
null
null
null
scrapyext/duplicate.py
zanachka/scrapyext
2dd5e0fc03f8e4b8793b808744d4dd6452e5d5b3
[ "BSD-3-Clause" ]
3
2017-06-09T21:57:23.000Z
2022-03-13T08:16:11.000Z
""" DuplicatesPipeline Uses a configurable unique key/item field to filter duplicates on. HashedDuplicatesPipeline Automatic (exact) duplicates finder, remembering items based on a hash, optionally using a hashset for every seen itemtype. """ from scrapy.exceptions import DropItem try: import cPickle as pickle ex...
24
78
0.729167
193
1,392
5.072539
0.440415
0.057201
0.089888
0.034729
0.116445
0.116445
0
0
0
0
0
0
0.165948
1,392
57
79
24.421053
0.843239
0.069684
0
0.411765
0
0
0.06979
0
0
0
0
0
0
0
null
null
0
0.117647
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
989a6043392e3a00a96dc24ccaddbe9e043d1236
3,727
py
Python
lib/exabgp/configuration/experimental/__init__.py
dneiter/exabgp
cb54d527f476f967ebd6598f3178f4b9814945dd
[ "BSD-3-Clause" ]
3
2015-08-20T07:56:37.000Z
2020-02-03T13:15:36.000Z
lib/exabgp/configuration/experimental/__init__.py
dneiter/exabgp
cb54d527f476f967ebd6598f3178f4b9814945dd
[ "BSD-3-Clause" ]
1
2015-02-09T16:54:01.000Z
2015-02-09T16:54:01.000Z
lib/exabgp/configuration/experimental/__init__.py
dneiter/exabgp
cb54d527f476f967ebd6598f3178f4b9814945dd
[ "BSD-3-Clause" ]
1
2015-02-09T16:33:51.000Z
2015-02-09T16:33:51.000Z
# encoding: utf-8 """ registry.py Created by Thomas Mangin on 2014-06-22. Copyright (c) 2014-2015 Exa Networks. All rights reserved. """ from exabgp.configuration.experimental.engine.raised import Raised from exabgp.configuration.experimental.engine.section import Section from exabgp.configuration.experimental.engin...
27.607407
133
0.691441
487
3,727
5.217659
0.305955
0.028335
0.036206
0.055096
0.152696
0.088154
0.088154
0.088154
0.088154
0.088154
0
0.013717
0.178428
3,727
134
134
27.813433
0.816133
0.107593
0
0.223404
0
0
0.080675
0
0
0
0
0
0
0
null
null
0
0.085106
null
null
0.138298
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
98a6de571928281aacce4b2dc2d2f1e1d92b626c
459
py
Python
django_simple_coupons/migrations/0002_alter_coupon_created_field.py
Boober-Inc/django-simple-coupons
b5096a17a2517394d600236e370f2059f70896d7
[ "MIT" ]
null
null
null
django_simple_coupons/migrations/0002_alter_coupon_created_field.py
Boober-Inc/django-simple-coupons
b5096a17a2517394d600236e370f2059f70896d7
[ "MIT" ]
null
null
null
django_simple_coupons/migrations/0002_alter_coupon_created_field.py
Boober-Inc/django-simple-coupons
b5096a17a2517394d600236e370f2059f70896d7
[ "MIT" ]
1
2021-09-02T08:45:49.000Z
2021-09-02T08:45:49.000Z
# Generated by Django 3.0.8 on 2020-07-31 10:00 from django.db import migrations, models import django_simple_coupons.helpers class Migration(migrations.Migration): dependencies = [ ('django_simple_coupons', '0001_initial'), ] operations = [ migrations.AlterField( model_name...
22.95
82
0.64488
51
459
5.627451
0.745098
0.083624
0.132404
0
0
0
0
0
0
0
0
0.055072
0.248366
459
19
83
24.157895
0.776812
0.098039
0
0
1
0
0.128641
0.050971
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
98aecf2b93283481f3008296cbf813e753bfc1b2
453
gyp
Python
binding.gyp
rguiliani/node-roboticscape
39f589574a8a776e55440a2a5276b4d26ab73c4a
[ "MIT" ]
null
null
null
binding.gyp
rguiliani/node-roboticscape
39f589574a8a776e55440a2a5276b4d26ab73c4a
[ "MIT" ]
null
null
null
binding.gyp
rguiliani/node-roboticscape
39f589574a8a776e55440a2a5276b4d26ab73c4a
[ "MIT" ]
null
null
null
{ "targets": [ { "target_name": "roboticscape", "sources": [ "rc-node-bindings.cc" ], "cflags": [ "-Wall", "-g", "-std=c++1y" ], "cflags_cc!": [ "-fno-rtti", "-std=c++14" ], "libraries": [ "-lm", "-lrt", "-lpthread", "-lroboticscape" ], ...
28.3125
74
0.362031
35
453
4.6
0.828571
0.049689
0
0
0
0
0
0
0
0
0
0.010909
0.392936
453
15
75
30.2
0.574545
0
0
0
0
0
0.415011
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
98b5f376bd47906407f7bf31c750c092f24b315d
3,235
py
Python
src/bitwardentools/common.py
mavensk/bitwardentools
b000a8941ef8d07fbe1a5eb191896638d29bf1b6
[ "BSD-3-Clause" ]
9
2021-03-08T20:36:19.000Z
2022-03-07T21:52:48.000Z
src/bitwardentools/common.py
mavensk/bitwardentools
b000a8941ef8d07fbe1a5eb191896638d29bf1b6
[ "BSD-3-Clause" ]
10
2021-04-16T13:27:17.000Z
2022-02-17T11:54:58.000Z
src/bitwardentools/common.py
mavensk/bitwardentools
b000a8941ef8d07fbe1a5eb191896638d29bf1b6
[ "BSD-3-Clause" ]
6
2021-04-18T15:01:48.000Z
2022-03-06T20:12:31.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function import datetime import enum import logging import os import re import smtplib from email.mime.text import MIMEText from http.client import HTTPConnection class VAULTIER_SECRET(enum.IntEnum): secret = 20...
22.943262
83
0.642658
421
3,235
4.821853
0.413302
0.022167
0.029557
0.035468
0.047291
0
0
0
0
0
0
0.00873
0.22102
3,235
140
84
23.107143
0.796825
0.021638
0
0.072727
0
0
0.228653
0.007906
0
0
0
0
0
1
0.045455
false
0.063636
0.081818
0.009091
0.209091
0.009091
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
98b9762881728e3e8b8e279e7a738fdda5199b56
19,776
py
Python
seaice/pretty.py
cjpatton/seaice
103f069679415be104a08f3b11b1b6415a440659
[ "BSD-3-Clause" ]
null
null
null
seaice/pretty.py
cjpatton/seaice
103f069679415be104a08f3b11b1b6415a440659
[ "BSD-3-Clause" ]
null
null
null
seaice/pretty.py
cjpatton/seaice
103f069679415be104a08f3b11b1b6415a440659
[ "BSD-3-Clause" ]
null
null
null
# pretty.py - Pretty formatting for db table rows. There are routines defined # here for use in a terminal as well as on the web. # # Copyright (c) 2013, Christopher Patton, all rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the foll...
39.238095
143
0.621106
2,635
19,776
4.60038
0.196584
0.021036
0.009074
0.010889
0.456525
0.409586
0.388302
0.342353
0.31546
0.305973
0
0.012363
0.206513
19,776
503
144
39.316103
0.760133
0.102043
0
0.299639
0
0.032491
0.483645
0.153323
0
0
0
0.001988
0
0
null
null
0.00361
0.01083
null
null
0.072202
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7f250990d797b7976e2e10bec45f242af50a0328
5,050
py
Python
statefun-examples/statefun-python-walkthrough-example/run-example.py
authuir/flink-statefun
ca16055de31737a8a0073b8f9083268fc24b9828
[ "Apache-2.0" ]
1
2020-05-27T03:38:36.000Z
2020-05-27T03:38:36.000Z
statefun-examples/statefun-python-walkthrough-example/run-example.py
authuir/flink-statefun
ca16055de31737a8a0073b8f9083268fc24b9828
[ "Apache-2.0" ]
null
null
null
statefun-examples/statefun-python-walkthrough-example/run-example.py
authuir/flink-statefun
ca16055de31737a8a0073b8f9083268fc24b9828
[ "Apache-2.0" ]
null
null
null
################################################################################ # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this...
28.531073
116
0.631881
565
5,050
5.530973
0.309735
0.03872
0.0736
0.0416
0.17248
0.17248
0.09728
0.09728
0.09728
0.09728
0
0.004919
0.194851
5,050
176
117
28.693182
0.76365
0.204356
0
0.165138
0
0
0.099087
0.040417
0
0
0
0
0
1
0.201835
false
0
0.06422
0.018349
0.348624
0.027523
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
7f2adbf9ea8e7eead366ec2e27cc570cfa8e157e
364
py
Python
executaveis/01-desconto.py
pro-pedropaulo/estudo_python
715a63c72d8b4ea2449e74617400f2bf37b19951
[ "MIT" ]
null
null
null
executaveis/01-desconto.py
pro-pedropaulo/estudo_python
715a63c72d8b4ea2449e74617400f2bf37b19951
[ "MIT" ]
null
null
null
executaveis/01-desconto.py
pro-pedropaulo/estudo_python
715a63c72d8b4ea2449e74617400f2bf37b19951
[ "MIT" ]
null
null
null
nome = input('Digite o nome da pessoa: ') salario = float(input('Digite o Salario da pessoa: ')) desconto = float(input('Digite a porcertagem de desconto do salario: ')) salario_final = salario - (salario / desconto) print('{}, tem o Salário de R${:.2f}, mas houve desconto de {}%, o salario final do mes foi R${:.2f}'....
60.666667
146
0.708791
55
364
4.654545
0.436364
0.128906
0.09375
0
0
0
0
0
0
0
0
0.00639
0.14011
364
6
146
60.666667
0.811502
0
0
0
0
0.2
0.523288
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7f2d05b6fae820e8bd03cf3afe4d2c069a1af0b6
731
py
Python
ansible/filter_plugins/decrypt.py
10sr/junks
638f75a2b592e60460f1bb680de1de8ef6a99519
[ "CC0-1.0" ]
null
null
null
ansible/filter_plugins/decrypt.py
10sr/junks
638f75a2b592e60460f1bb680de1de8ef6a99519
[ "CC0-1.0" ]
24
2016-07-19T04:59:00.000Z
2021-09-30T02:10:06.000Z
ansible/filter_plugins/decrypt.py
10sr/junks
638f75a2b592e60460f1bb680de1de8ef6a99519
[ "CC0-1.0" ]
1
2018-05-21T06:35:00.000Z
2018-05-21T06:35:00.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import base64 from cryptography.fernet import Fernet import hashlib def _enc(data, key): key_32 = base64.urlsafe_b64encode(hashlib.sha512(key).digest()[:32]) f = Fernet(key_32) return f.encrypt(data) def _dec(b, key): key_32 = base64.urlsafe_b64encode(...
20.885714
74
0.645691
104
731
4.346154
0.423077
0.044248
0.066372
0.061947
0.323009
0.323009
0.323009
0.323009
0.323009
0.323009
0
0.060914
0.191518
731
34
75
21.5
0.703892
0.058824
0
0.190476
0
0
0.05102
0
0
0
0
0
0
1
0.190476
false
0
0.190476
0.095238
0.619048
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7f3ad5bc86994d1ef1598c06b036251dd5fb414d
5,926
py
Python
nozbe_to_org_mode.py
abloomston/nozbe-to-org-mode
b0a28afdd175dbd33a476b4959314bb564fd327d
[ "MIT" ]
null
null
null
nozbe_to_org_mode.py
abloomston/nozbe-to-org-mode
b0a28afdd175dbd33a476b4959314bb564fd327d
[ "MIT" ]
null
null
null
nozbe_to_org_mode.py
abloomston/nozbe-to-org-mode
b0a28afdd175dbd33a476b4959314bb564fd327d
[ "MIT" ]
null
null
null
import datetime import json # import os.path import re import click from PyOrgMode import PyOrgMode def get_valid_filename(s): """ Return the given string converted to a string that can be used for a clean filename. Remove leading and trailing spaces; convert other spaces to underscores; and remove a...
37.506329
113
0.663348
782
5,926
4.904092
0.338875
0.032855
0.016428
0.014602
0.098566
0.08605
0.084485
0.054237
0.054237
0.035463
0
0.009832
0.244853
5,926
157
114
37.745223
0.847151
0.467938
0
0
0
0
0.082992
0
0
0
0
0.012739
0
1
0.081081
false
0
0.067568
0
0.216216
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
7f403fa488a1d08f93bce6c80d03c36e605c922e
3,863
py
Python
code/chap12/average_monoid_use_groupbykey.py
AnanthaVamshi/PySpark_Tutorials
fd94f9af0517f0bffca26d4c7b751333d42b8f3d
[ "Apache-2.0" ]
60
2019-07-09T10:34:48.000Z
2022-03-17T00:04:43.000Z
code/chap12/average_monoid_use_groupbykey.py
AnanthaVamshi/PySpark_Tutorials
fd94f9af0517f0bffca26d4c7b751333d42b8f3d
[ "Apache-2.0" ]
2
2022-02-14T00:11:51.000Z
2022-02-14T00:25:13.000Z
code/chap12/average_monoid_use_groupbykey.py
AnanthaVamshi/PySpark_Tutorials
fd94f9af0517f0bffca26d4c7b751333d42b8f3d
[ "Apache-2.0" ]
34
2019-07-03T13:24:45.000Z
2022-02-14T00:11:45.000Z
from __future__ import print_function import sys from pyspark.sql import SparkSession #<1> Import the print() function #<2> Import System-specific parameters and functions #<3> Import SparkSession from the pyspark.sql module #========================================== # NOTE: # # In general, avoid using groupByKey(...
35.118182
145
0.63241
513
3,863
4.654971
0.350877
0.037688
0.050251
0.028476
0.073283
0.073283
0.041876
0.041876
0.041876
0
0
0.020089
0.188196
3,863
109
146
35.440367
0.74139
0.547243
0
0
0
0
0.194905
0.078199
0
0
0
0
0
1
0.054054
false
0
0.081081
0
0.189189
0.405405
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
7f44280736c208e946be3d520a3b9b00087db672
1,363
py
Python
uskimage_demo/morphology/tests/test_morphology_diplib.py
grlee77/uskimage-demo
6e9deaddfd8f9b1b6ba8321f5df4bfc938efb07f
[ "MIT" ]
null
null
null
uskimage_demo/morphology/tests/test_morphology_diplib.py
grlee77/uskimage-demo
6e9deaddfd8f9b1b6ba8321f5df4bfc938efb07f
[ "MIT" ]
null
null
null
uskimage_demo/morphology/tests/test_morphology_diplib.py
grlee77/uskimage-demo
6e9deaddfd8f9b1b6ba8321f5df4bfc938efb07f
[ "MIT" ]
null
null
null
import dask.array as da import numpy as np import pytest from skimage import data, morphology, set_backend from uskimage_demo import diplib_backend from skimage.morphology import footprints modes = ['wrap', 'reflect', 'nearest', 'constant', 'mirror'] # note: 'reflect' unspported by diplib, falls back to ski...
36.837838
71
0.653705
171
1,363
5.046784
0.432749
0.090382
0.073001
0.04635
0.17613
0.17613
0.08343
0.08343
0.08343
0
0
0.022684
0.223771
1,363
36
72
37.861111
0.793006
0.044021
0
0.137931
0
0
0.064566
0
0
0
0
0
0.068966
1
0.034483
false
0
0.206897
0
0.241379
0.448276
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
7f46b90f3067b61d30032bd525bb3fa292e333d3
7,265
py
Python
models/networks.py
face3d0725/weak_UV
8ce5259644fd153113ca2f0ae306e5b7bae1b6b5
[ "MIT" ]
14
2021-09-15T12:53:44.000Z
2022-03-29T08:45:04.000Z
models/networks.py
face3d0725/weak_UV
8ce5259644fd153113ca2f0ae306e5b7bae1b6b5
[ "MIT" ]
3
2021-09-17T01:43:48.000Z
2021-11-26T11:54:57.000Z
models/networks.py
face3d0725/weak_UV
8ce5259644fd153113ca2f0ae306e5b7bae1b6b5
[ "MIT" ]
1
2021-10-12T01:07:44.000Z
2021-10-12T01:07:44.000Z
from torch import nn import torch.nn.functional as F import torch import math import numpy as np # https://github.com/caojiezhang/MWGAN class ResidualBlock(nn.Module): """ Residual Block with instance normalization. """ def __init__(self, dim_in, dim_out): super(ResidualBlock, self).__init__...
32.433036
120
0.605368
1,012
7,265
4.104743
0.126482
0.040443
0.054165
0.068609
0.745546
0.709437
0.689937
0.682715
0.616755
0.574386
0
0.027674
0.263868
7,265
223
121
32.578475
0.749065
0.056022
0
0.483871
0
0
0.003535
0
0
0
0
0
0
1
0.129032
false
0
0.032258
0.012903
0.290323
0.006452
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7f4bd9faf0fca90d18ad0d946a965dc643b9af58
7,119
py
Python
infosystem/subsystem/user/controller.py
objetorelacional/infosystem
07140b88db0edee2d5f66db4f13e7285a4f28bfa
[ "Apache-2.0" ]
2
2020-06-25T16:53:28.000Z
2020-10-07T18:11:05.000Z
infosystem/subsystem/user/controller.py
objetorelacional/infosystem
07140b88db0edee2d5f66db4f13e7285a4f28bfa
[ "Apache-2.0" ]
67
2020-05-18T13:16:34.000Z
2021-11-27T12:32:11.000Z
infosystem/subsystem/user/controller.py
objetorelacional/infosystem
07140b88db0edee2d5f66db4f13e7285a4f28bfa
[ "Apache-2.0" ]
null
null
null
import flask import json from infosystem.common import utils from infosystem.common.subsystem import controller from infosystem.common import exception from infosystem.subsystem.user.email import TypeEmail class Controller(controller.Controller): def __init__(self, manager, resource_wrap, collection_wrap): ...
36.507692
74
0.573255
735
7,119
5.414966
0.121088
0.05804
0.095477
0.135678
0.638442
0.579146
0.539447
0.518593
0.509045
0.509045
0
0.005724
0.337407
7,119
194
75
36.695876
0.838033
0
0
0.562092
0
0
0.035117
0
0
0
0
0
0
1
0.091503
false
0.052288
0.039216
0.019608
0.300654
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7f502c3c57ac68a95acd7fa11569b57d01be3919
1,284
py
Python
ee134/scripts/pyfindactuators.py
wwerst/EE134
ca558e4e6dc874a7b91885a786fd5eae8492afca
[ "MIT" ]
null
null
null
ee134/scripts/pyfindactuators.py
wwerst/EE134
ca558e4e6dc874a7b91885a786fd5eae8492afca
[ "MIT" ]
null
null
null
ee134/scripts/pyfindactuators.py
wwerst/EE134
ca558e4e6dc874a7b91885a786fd5eae8492afca
[ "MIT" ]
null
null
null
#!/usr/bin/env python # # pyfindactuators.py # # Simply call the hebiros_node to find the list of actuators. import sys import rospy from hebiros.srv import EntryListSrv if __name__ == "__main__": # Initialize the basic ROS node. rospy.init_node('pyfindactuators') # You can choose to wait until the...
31.317073
70
0.639408
167
1,284
4.790419
0.48503
0.07875
0.065
0.0425
0.0525
0
0
0
0
0
0
0.001043
0.253115
1,284
40
71
32.1
0.83316
0.4081
0
0
0
0
0.189008
0.029491
0
0
0
0
0
0
null
null
0
0.176471
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7f55f44736b5a3a98c59af3781f85f9e15bf8728
1,740
py
Python
2020/05/code.py
tut-tuuut/advent-of-code-shiny-giggle
281a646b84f58f4b3ca2a9875dd57268beefc62d
[ "MIT" ]
5
2018-12-11T17:46:54.000Z
2021-12-02T10:11:53.000Z
2020/05/code.py
tut-tuuut/advent-of-code-shiny-giggle
281a646b84f58f4b3ca2a9875dd57268beefc62d
[ "MIT" ]
null
null
null
2020/05/code.py
tut-tuuut/advent-of-code-shiny-giggle
281a646b84f58f4b3ca2a9875dd57268beefc62d
[ "MIT" ]
null
null
null
import utils as u with open(__file__ + ".input.txt", "r+") as file: raw_input = file.read() # part 1 -'*'-.,__,.-'*'-.,__,.-'*'-.,__,.-'*'-.,__,.-'*'-.,__,.-'*'-.,__,.-'*'-.,_ def get_place_coordinates(boarding_pass): row_instructions = boarding_pass[:-3] col_instructions = boarding_pass[-3:] # hey ...
30.526316
83
0.642529
272
1,740
3.720588
0.305147
0.079051
0.096838
0.094862
0.389328
0.293478
0.152174
0.086957
0.086957
0.086957
0
0.038567
0.165517
1,740
56
84
31.071429
0.658402
0.182759
0
0.171429
0
0
0.035311
0
0
0
0
0
0.171429
1
0.057143
false
0.142857
0.028571
0.028571
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7f5d78371ccbb929342eff4154124e08e308dc40
3,408
py
Python
example-v4.py
Laukei/pyanc350
fbace7485dda4c3b9aad38c323130011a13bca9f
[ "MIT" ]
8
2019-11-27T09:31:23.000Z
2022-02-16T02:23:55.000Z
example-v4.py
Laukei/attocube-ANC350-Python-library
fbace7485dda4c3b9aad38c323130011a13bca9f
[ "MIT" ]
null
null
null
example-v4.py
Laukei/attocube-ANC350-Python-library
fbace7485dda4c3b9aad38c323130011a13bca9f
[ "MIT" ]
4
2016-06-29T20:46:19.000Z
2019-02-15T11:59:42.000Z
# # PyANC350v4 example file # by Brian Schaefer, adapted from pyanc-example.py by Rob Heath # from pyanc350.v4 import Positioner import time ax = {'x':0,'y':1,'z':2} #define a dict of axes to make things simpler anc = Positioner() #instantiate positioner as anc print('----------------------------------------------...
33.742574
114
0.610915
437
3,408
4.764302
0.304348
0.034582
0.053794
0.051873
0.378482
0.304995
0.292027
0.274736
0.274736
0.274736
0
0.029801
0.11385
3,408
100
115
34.08
0.659603
0.147887
0
0.333333
0
0
0.276758
0.105646
0
0
0
0
0
1
0
false
0
0.026667
0
0.026667
0.413333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
7f66fab2551c1200a99084dcebcddfcbb6ae6f04
347
py
Python
lab4/id.py
TypeKazt/CS265_Class
6db5f21cfc51961b71a85d95451cf986f60d47a4
[ "MIT" ]
null
null
null
lab4/id.py
TypeKazt/CS265_Class
6db5f21cfc51961b71a85d95451cf986f60d47a4
[ "MIT" ]
null
null
null
lab4/id.py
TypeKazt/CS265_Class
6db5f21cfc51961b71a85d95451cf986f60d47a4
[ "MIT" ]
null
null
null
#!/usr/bin/python import sys if len(sys.argv) > 2 or len(sys.argv) < 2: print sys.argv[0] + "accepts 1 argument" sys.exit(1) accounts = {} with open(sys.argv[1],'r') as f: for i in f: temp = i.split(" ", 1) accounts[temp[0]] = temp[1] accounts.keys().sort() print "ID Name" for i in accounts: print str(i...
20.411765
42
0.596542
62
347
3.33871
0.516129
0.135266
0.096618
0.10628
0
0
0
0
0
0
0
0.032847
0.210375
347
16
43
21.6875
0.722628
0.04611
0
0
0
0
0.10303
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.230769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7f69183ea142839ce779dbe7bfbef3bdf9530b88
415
py
Python
Remove Duplicates From Sorted Array 2.py
MetinKONUK/LeetCode
ba65bf2b43a3309da560cc2d8d742b3afe3894cb
[ "MIT" ]
null
null
null
Remove Duplicates From Sorted Array 2.py
MetinKONUK/LeetCode
ba65bf2b43a3309da560cc2d8d742b3afe3894cb
[ "MIT" ]
null
null
null
Remove Duplicates From Sorted Array 2.py
MetinKONUK/LeetCode
ba65bf2b43a3309da560cc2d8d742b3afe3894cb
[ "MIT" ]
null
null
null
def removeDuplicates(self, nums: List[int]) -> int: p = 0 for i in range(len(nums)): if not nums[i] in nums[:i]: nums[p] = nums[i] p += 1 return p """ Just iterating through every element and appending every first unique element to head of the list...
34.583333
97
0.60241
61
415
4.065574
0.590164
0.060484
0.145161
0
0
0
0
0
0
0
0
0.006969
0.308434
415
11
98
37.727273
0.857143
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7f7743c91e5d5443c9e37cdb6ce585839d9a7946
493
py
Python
01 Basics/011 - Functions and Examples/011 -f- Example-Circle area.py
TheUnicum/CorsoPython
06cb2b58d46b26fc6d1cf4a585ff2666ab4b5c19
[ "Apache-2.0" ]
null
null
null
01 Basics/011 - Functions and Examples/011 -f- Example-Circle area.py
TheUnicum/CorsoPython
06cb2b58d46b26fc6d1cf4a585ff2666ab4b5c19
[ "Apache-2.0" ]
null
null
null
01 Basics/011 - Functions and Examples/011 -f- Example-Circle area.py
TheUnicum/CorsoPython
06cb2b58d46b26fc6d1cf4a585ff2666ab4b5c19
[ "Apache-2.0" ]
null
null
null
#!/usr/local/bin/python # -*- coding: utf-8 -*- # # Copyright 2018 Mattia Benedetti # All rights reserved. # # Author: Mattia Benedetti """ - FUNCTIONs - Calculate the area of a circle with radius input by user -> run on pront command <- Note : -1 to EXIT! """ from math import pi def circle_ar...
15.40625
56
0.636917
68
493
4.544118
0.735294
0.097087
0
0
0
0
0
0
0
0
0
0.021563
0.247465
493
31
57
15.903226
0.811321
0.257606
0
0
0
0
0.075117
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7f7775f0c9376f63e26adcbd22385f3c36c24f47
401
py
Python
gehomesdk/erd/converters/ac/erd_ac_target_temperature_converter.py
willhayslett/gehome
7e407a1d31cede1453656eaef948332e808484ea
[ "MIT" ]
17
2021-05-18T01:58:06.000Z
2022-03-22T20:49:32.000Z
gehomesdk/erd/converters/ac/erd_ac_target_temperature_converter.py
willhayslett/gehome
7e407a1d31cede1453656eaef948332e808484ea
[ "MIT" ]
29
2021-05-17T21:43:16.000Z
2022-02-28T22:50:48.000Z
gehomesdk/erd/converters/ac/erd_ac_target_temperature_converter.py
willhayslett/gehome
7e407a1d31cede1453656eaef948332e808484ea
[ "MIT" ]
9
2021-05-17T04:40:58.000Z
2022-02-02T17:26:13.000Z
from ..abstract import ErdReadWriteConverter from ..primitives import * from gehomesdk.erd.values.ac import * class ErdAcTargetTemperatureConverter(ErdReadWriteConverter[int]): def erd_decode(self, value: str) -> int: try: return erd_decode_int(value) except: return 86 ...
28.642857
66
0.680798
46
401
5.804348
0.5
0.044944
0
0
0
0
0
0
0
0
0
0.00974
0.23192
401
13
67
30.846154
0.857143
0
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0.090909
0.818182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1