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
df6daf8c05e63066bef5079673fe8edf1351a1c1
580
py
Python
source/validate.py
asaranprasad/nvda
e9609694acbfb06398eb6552067a0dcd532d67af
[ "bzip2-1.0.6" ]
2
2020-08-24T17:41:45.000Z
2020-08-25T16:48:52.000Z
source/validate.py
asaranprasad/nvda
e9609694acbfb06398eb6552067a0dcd532d67af
[ "bzip2-1.0.6" ]
3
2017-09-29T17:14:18.000Z
2019-05-20T16:13:39.000Z
source/validate.py
asaranprasad/nvda
e9609694acbfb06398eb6552067a0dcd532d67af
[ "bzip2-1.0.6" ]
1
2017-09-29T08:53:52.000Z
2017-09-29T08:53:52.000Z
#validate.py #A part of NonVisual Desktop Access (NVDA) #Copyright (C) 2018 NV Access Limited, Babbage B.V., Joseph Lee #This file is covered by the GNU General Public License. #See the file COPYING for more details. """ Module to provide backwards compatibility with add-ons that use the configobj validate modu...
36.25
132
0.772414
82
580
5.463415
0.731707
0.151786
0.089286
0.120536
0
0
0
0
0
0
0
0.010267
0.160345
580
15
133
38.666667
0.909651
0.625862
0
0
0
0
0.421053
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
df84a7a243315f70e25d11411c0e01399e194143
8,223
py
Python
tests/shakedown/shakedown/dcos/cluster.py
ryanmaclean/marathon
cc35af421675205b797b31890e88b5fa4d178a02
[ "Apache-2.0" ]
null
null
null
tests/shakedown/shakedown/dcos/cluster.py
ryanmaclean/marathon
cc35af421675205b797b31890e88b5fa4d178a02
[ "Apache-2.0" ]
1
2021-12-17T10:43:40.000Z
2021-12-17T10:43:40.000Z
tests/shakedown/shakedown/dcos/cluster.py
ryanmaclean/marathon
cc35af421675205b797b31890e88b5fa4d178a02
[ "Apache-2.0" ]
null
null
null
import logging import pytest from . import dcos_version from .. import http, VERSION as SHAKEDOWN_VERSION from ..clients import dcos_url_path from ..clients.mesos import DCOSClient from distutils.version import LooseVersion logger = logging.getLogger(__name__) dcos_1_12 = pytest.mark.skipif('dcos_version_less_than(...
28.852632
86
0.665329
1,078
8,223
4.859926
0.166976
0.024814
0.039702
0.025387
0.414965
0.366864
0.313419
0.276389
0.221035
0.221035
0
0.00931
0.229357
8,223
284
87
28.954225
0.817421
0.243828
0
0.228758
0
0
0.104097
0.032978
0
0
0
0
0
1
0.222222
false
0.013072
0.045752
0.111111
0.535948
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
10ce6fec2773612267b1f7b336d29f6e43213825
361
py
Python
app/templatetags/sessions_tags.py
TataneInYourFace/wifill
9b0cbb43f2e3671a4272246ada7a863f42f948c5
[ "MIT" ]
null
null
null
app/templatetags/sessions_tags.py
TataneInYourFace/wifill
9b0cbb43f2e3671a4272246ada7a863f42f948c5
[ "MIT" ]
null
null
null
app/templatetags/sessions_tags.py
TataneInYourFace/wifill
9b0cbb43f2e3671a4272246ada7a863f42f948c5
[ "MIT" ]
null
null
null
from django import template register = template.Library() def is_authenticated(session): return 'user' in session and 'is_authenticated' in session def is_admin(session): return 'user' in session and 'is_admin' in session and session['is_admin'] is True register.filter('is_authenticated', is_authenticate...
22.5625
86
0.767313
51
361
5.254902
0.333333
0.130597
0.134328
0.141791
0.231343
0.231343
0.231343
0
0
0
0
0
0.138504
361
15
87
24.066667
0.861736
0
0
0
0
0
0.177285
0
0
0
0
0
0
1
0.25
false
0
0.125
0.25
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
1
1
0
0
3
10d73ff339734374bf311866fb82a76399fdcb7c
216
py
Python
scripts/scenes/combat/elements/unit_behaviours/behaviour.py
novialriptide/nqp2
db2c8a2ce298638eb06f84d283ed3f6807c2e131
[ "MIT" ]
12
2022-01-02T11:21:46.000Z
2022-03-12T20:53:40.000Z
scripts/scenes/combat/elements/unit_behaviours/behaviour.py
novialriptide/nqp2
db2c8a2ce298638eb06f84d283ed3f6807c2e131
[ "MIT" ]
142
2021-07-25T14:05:11.000Z
2022-03-26T21:12:53.000Z
scripts/scenes/combat/elements/unit_behaviours/behaviour.py
novialriptide/nqp2
db2c8a2ce298638eb06f84d283ed3f6807c2e131
[ "MIT" ]
9
2021-08-25T00:25:24.000Z
2022-03-12T20:53:41.000Z
class Behaviour: def __init__(self, unit): self.game = unit.game self.unit = unit self.complete_init() def complete_init(self): pass def process(self, dt): pass
16.615385
29
0.564815
26
216
4.461538
0.423077
0.137931
0
0
0
0
0
0
0
0
0
0
0.342593
216
12
30
18
0.816901
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.222222
0
0
0.444444
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
10dcc329b40ad7a19895cdc5735eee49de04563d
197
py
Python
data_collection/gazette/spiders/sc_cunha_pora.py
kaiocp/querido-diario
86004049c6eee305e13066cf3607d30849bb099a
[ "MIT" ]
454
2018-04-07T03:32:57.000Z
2020-08-17T19:56:22.000Z
data_collection/gazette/spiders/sc_cunha_pora.py
kaiocp/querido-diario
86004049c6eee305e13066cf3607d30849bb099a
[ "MIT" ]
254
2020-08-18T14:09:43.000Z
2022-03-28T11:30:51.000Z
data_collection/gazette/spiders/sc_cunha_pora.py
kaiocp/querido-diario
86004049c6eee305e13066cf3607d30849bb099a
[ "MIT" ]
183
2018-04-11T15:09:37.000Z
2020-08-15T18:55:11.000Z
from gazette.spiders.base.fecam import FecamGazetteSpider class ScCunhaPoraSpider(FecamGazetteSpider): name = "sc_cunha_pora" FECAM_QUERY = "cod_entidade:80" TERRITORY_ID = "4204707"
24.625
57
0.771574
22
197
6.681818
0.909091
0
0
0
0
0
0
0
0
0
0
0.053571
0.147208
197
7
58
28.142857
0.821429
0
0
0
0
0
0.177665
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
801ccd5892e08d8948c732c4efa90cc93606ed73
87
py
Python
scripts/consts.py
Eve-ning/aleph0
0a893f81328420ba4661cb920d3f9c39b3506d96
[ "MIT" ]
null
null
null
scripts/consts.py
Eve-ning/aleph0
0a893f81328420ba4661cb920d3f9c39b3506d96
[ "MIT" ]
null
null
null
scripts/consts.py
Eve-ning/aleph0
0a893f81328420ba4661cb920d3f9c39b3506d96
[ "MIT" ]
null
null
null
PADDING = 23 NOTE_THICKNESS = 3 RAND_SIZE = 20 REF_BPM = 1000 SCALE = REF_BPM / 104.15
14.5
24
0.724138
16
87
3.6875
0.875
0.20339
0
0
0
0
0
0
0
0
0
0.2
0.195402
87
5
25
17.4
0.642857
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8055c84498ba5381887804f95d4c2b79522549aa
1,057
py
Python
release/stubs.min/System/Windows/Controls/__init___parts/InkCanvasClipboardFormat.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
182
2017-06-27T02:26:15.000Z
2022-03-30T18:53:43.000Z
release/stubs.min/System/Windows/Controls/__init___parts/InkCanvasClipboardFormat.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
28
2017-06-27T13:38:23.000Z
2022-03-15T11:19:44.000Z
release/stubs.min/System/Windows/Controls/__init___parts/InkCanvasClipboardFormat.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
67
2017-06-28T09:43:59.000Z
2022-03-20T21:17:10.000Z
class InkCanvasClipboardFormat(Enum,IComparable,IFormattable,IConvertible): """ Specifies the formats that an System.Windows.Controls.InkCanvas will accept from the Clipboard. enum InkCanvasClipboardFormat,values: InkSerializedFormat (0),Text (1),Xaml (2) """ def __eq__(self,*args): """ x.__eq__(y) ...
28.567568
215
0.682119
135
1,057
4.637037
0.392593
0.127796
0.134185
0.14377
0.20607
0.20607
0.20607
0.180511
0.180511
0.180511
0
0.003409
0.167455
1,057
36
216
29.361111
0.707955
0.478713
0
0.4
0
0
0
0
0
0
0
0
0
1
0.4
false
0.4
0
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
1
0
1
0
0
1
0
0
3
337f84cd9b42ebbb50233035031025d016c02ef3
676
py
Python
app/main/forms.py
Charles-Ndugire/personal-blog
a56a80ea7602b713d08724d33636bf4e69fc9b06
[ "MIT" ]
null
null
null
app/main/forms.py
Charles-Ndugire/personal-blog
a56a80ea7602b713d08724d33636bf4e69fc9b06
[ "MIT" ]
4
2021-06-08T22:09:18.000Z
2022-03-12T00:44:04.000Z
app/main/forms.py
Charles-Ndugire/personal-blog
a56a80ea7602b713d08724d33636bf4e69fc9b06
[ "MIT" ]
1
2020-12-17T20:22:39.000Z
2020-12-17T20:22:39.000Z
from . import main from flask_wtf import FlaskForm from wtforms import SubmitField,StringField,TextAreaField,SelectField from wtforms.validators import Required from ..models import Article,Comment class ArticleUploadForm(FlaskForm): article = TextAreaField('Article',validators=[Required()]) category = StringF...
35.578947
77
0.761834
70
676
7.342857
0.414286
0.140078
0.140078
0.20428
0.22179
0
0
0
0
0
0
0
0.12574
676
18
78
37.555556
0.869712
0
0
0
0
0
0.106509
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
3387b51e3563f6d6eb4cedcfdeb3889d5b8b22d7
134,317
py
Python
pysnmp_mibs/Printer-MIB.py
jackjack821/pysnmp-mibs
9835ea0bb2420715caf4ee9aaa07d59bb263acd6
[ "BSD-2-Clause" ]
6
2017-04-21T13:48:08.000Z
2022-01-06T19:42:52.000Z
pysnmp_mibs/Printer-MIB.py
jackjack821/pysnmp-mibs
9835ea0bb2420715caf4ee9aaa07d59bb263acd6
[ "BSD-2-Clause" ]
1
2020-05-05T16:42:25.000Z
2020-05-05T16:42:25.000Z
pysnmp_mibs/Printer-MIB.py
jackjack821/pysnmp-mibs
9835ea0bb2420715caf4ee9aaa07d59bb263acd6
[ "BSD-2-Clause" ]
6
2020-02-08T20:28:49.000Z
2021-09-14T13:36:46.000Z
# # PySNMP MIB module Printer-MIB (http://pysnmp.sf.net) # ASN.1 source http://mibs.snmplabs.com:80/asn1/Printer-MIB # Produced by pysmi-0.0.7 at Sun Feb 14 00:12:48 2016 # On host bldfarm platform Linux version 4.1.13-100.fc21.x86_64 by user goose # Using Python version 3.5.0 (default, Jan 5 2016, 17:11:52) # ( Obje...
234.001742
10,859
0.735603
16,281
134,317
6.068423
0.107303
0.006073
0.006953
0.009231
0.425455
0.383532
0.336883
0.317783
0.281711
0.261103
0
0.04525
0.155952
134,317
573
10,860
234.410122
0.826233
0.002219
0
0.022346
0
0.240223
0.528274
0.046683
0
0
0.00006
0
0
1
0
false
0.001862
0.013035
0
0.173184
0.189944
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3388d44d8af3d576a8808c5daeaa2f3d405dd800
183
py
Python
builder/Builder Pattern/BeforeBuilder3/__main__.py
Tomvictor/python-design-patterns
6b99607d721bbe03d26a0a451a10e88cd1c1d112
[ "MIT" ]
null
null
null
builder/Builder Pattern/BeforeBuilder3/__main__.py
Tomvictor/python-design-patterns
6b99607d721bbe03d26a0a451a10e88cd1c1d112
[ "MIT" ]
null
null
null
builder/Builder Pattern/BeforeBuilder3/__main__.py
Tomvictor/python-design-patterns
6b99607d721bbe03d26a0a451a10e88cd1c1d112
[ "MIT" ]
null
null
null
from computer import Computer from mycomputer import MyComputer builder = MyComputer() builder.build_computer() computer = builder.get_computer() computer.display()
14.076923
34
0.743169
19
183
7.052632
0.421053
0.253731
0
0
0
0
0
0
0
0
0
0
0.185792
183
12
35
15.25
0.899329
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
338d83b7371c778eb8246ad2bf2e81f4adcd89e3
540
py
Python
components/samples/policy_sample_hello_world.py
microsoft/Guardinel
bc49c4fe051c3e533064c7043e1cee39cfb25d3a
[ "MIT" ]
2
2022-01-26T07:34:44.000Z
2022-03-29T19:51:45.000Z
components/samples/policy_sample_hello_world.py
microsoft/Guardinel
bc49c4fe051c3e533064c7043e1cee39cfb25d3a
[ "MIT" ]
null
null
null
components/samples/policy_sample_hello_world.py
microsoft/Guardinel
bc49c4fe051c3e533064c7043e1cee39cfb25d3a
[ "MIT" ]
null
null
null
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. from core.interfaces.task import Task from core.utils.constants import Constants class HelloWorldPolicy(Task): def execute(self, input_entity): if input_entity.project == 'TestProject': return self.result(Constants.FAIL...
25.714286
97
0.709259
65
540
5.815385
0.630769
0.042328
0.111111
0.142857
0.190476
0
0
0
0
0
0
0
0.201852
540
20
98
27
0.87703
0.125926
0
0
0
0
0.181237
0
0
0
0
0
0
1
0.272727
false
0
0.181818
0.181818
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
33917df8bb8c466c8ba78fdbfec2000af41b6daa
295
py
Python
output/models/ms_data/particles/particles_r020_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/ms_data/particles/particles_r020_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/ms_data/particles/particles_r020_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.ms_data.particles.particles_r020_xsd.particles_r020 import ( B, R, Doc, ) from output.models.ms_data.particles.particles_r020_xsd.particles_r020_imp import ( ImpElem1, ImpElem2, ) __all__ = [ "B", "R", "Doc", "ImpElem1", "ImpElem2", ]
16.388889
83
0.654237
36
295
5
0.444444
0.288889
0.177778
0.2
0.666667
0.666667
0.666667
0.666667
0.666667
0.666667
0
0.069565
0.220339
295
17
84
17.352941
0.713043
0
0
0
0
0
0.071186
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
0
null
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
33956487d1a7473e4e9523d340a69d50a0cca0c9
5,303
py
Python
replace_text_with_number.py
nacbotics5/web-scraping-with-python
5c5d89d58173ee2e6491283d7d5ba0a413d6961c
[ "BSD-3-Clause" ]
3
2019-07-03T13:10:21.000Z
2020-01-09T10:34:12.000Z
replace_text_with_number.py
nacbotics5/web-scraping-with-python
5c5d89d58173ee2e6491283d7d5ba0a413d6961c
[ "BSD-3-Clause" ]
null
null
null
replace_text_with_number.py
nacbotics5/web-scraping-with-python
5c5d89d58173ee2e6491283d7d5ba0a413d6961c
[ "BSD-3-Clause" ]
1
2021-11-08T18:53:12.000Z
2021-11-08T18:53:12.000Z
#-*-coding:utf8;-*- import re from random import choice class sub(object): """ a simple text to number evaluating class """ def text_to_number(self,text): '''convert a number written as text to its real number equivalence''' text = text.lower() text = re.sub(r"ten", "10", text) ...
44.191667
77
0.51518
833
5,303
3.277311
0.193277
0.301832
0.33956
0.377289
0.691575
0.578755
0
0
0
0
0
0.057723
0.284556
5,303
119
78
44.563025
0.661834
0.023383
0
0
0
0
0.22715
0
0
0
0
0
0
1
0.009174
false
0
0.018349
0
0.045872
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
33a86174001ff2478e49f557e437ae892e69708a
674
py
Python
vyper/interfaces/ERC20.py
Solexplorer/vyper
135edd6a91d47c72de105066d6e6c1bdfe9ea66e
[ "MIT" ]
1
2021-04-23T21:48:20.000Z
2021-04-23T21:48:20.000Z
vyper/interfaces/ERC20.py
Solexplorer/vyper
135edd6a91d47c72de105066d6e6c1bdfe9ea66e
[ "MIT" ]
null
null
null
vyper/interfaces/ERC20.py
Solexplorer/vyper
135edd6a91d47c72de105066d6e6c1bdfe9ea66e
[ "MIT" ]
1
2020-01-27T05:21:39.000Z
2020-01-27T05:21:39.000Z
interface_code = """ # Events Transfer: event({_from: indexed(address), _to: indexed(address), _value: uint256}) Approval: event({_owner: indexed(address), _spender: indexed(address), _value: uint256}) # Functions @constant @public def totalSupply() -> uint256: pass @constant @public def balanceOf(_owner: address...
19.823529
88
0.707715
77
674
5.974026
0.324675
0.117391
0.206522
0.15
0.345652
0.165217
0.165217
0.165217
0
0
0
0.042254
0.15727
674
33
89
20.424242
0.767606
0
0
0.555556
0
0
0.964392
0
0
0
0
0
0
1
0
false
0.222222
0
0
0
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
1
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
33acc4d1af1b7c1d0e85a3e15fd3afe129aa64f2
864
py
Python
codev/core/utils.py
baseclue/codev
7965ffc036ea217e05ca1f566e7b1917c0a67887
[ "Apache-2.0" ]
4
2016-03-21T12:20:52.000Z
2017-02-02T09:08:19.000Z
codev/core/utils.py
baseclue/codev
7965ffc036ea217e05ca1f566e7b1917c0a67887
[ "Apache-2.0" ]
null
null
null
codev/core/utils.py
baseclue/codev
7965ffc036ea217e05ca1f566e7b1917c0a67887
[ "Apache-2.0" ]
null
null
null
def parse_options(inp): parsed = inp.split(':', 1) name = parsed[0] options = parsed[1] if len(parsed) == 2 else '' return name, options class Ident(object): def __init__(self, *args): self._ident = args def as_tuple(self): return tuple(filter(None, self._ident)) def as_s...
23.351351
80
0.596065
111
864
4.315315
0.333333
0.104384
0.06263
0.070981
0.23382
0.146138
0.146138
0.146138
0
0
0
0.006061
0.236111
864
36
81
24
0.719697
0
0
0
0
0
0.010417
0
0
0
0
0
0
1
0.36
false
0
0
0.24
0.76
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
33e5c4ef0a62c2a0771e4127069e6b6a46219107
58
py
Python
oo/__init__.py
anthonysilvaa/pythonbirds
776ef93ffdb3f3365967e87df6cff54020c1d65c
[ "MIT" ]
null
null
null
oo/__init__.py
anthonysilvaa/pythonbirds
776ef93ffdb3f3365967e87df6cff54020c1d65c
[ "MIT" ]
null
null
null
oo/__init__.py
anthonysilvaa/pythonbirds
776ef93ffdb3f3365967e87df6cff54020c1d65c
[ "MIT" ]
null
null
null
from oo.pessoa import Pessoa p = Pessoa() print(type(p))
11.6
28
0.706897
10
58
4.1
0.7
0
0
0
0
0
0
0
0
0
0
0
0.155172
58
5
29
11.6
0.836735
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
33f4d47972d31539ed3a98ea5f8f901bb19e8986
2,314
py
Python
sympycore/polynomials/tests/test_algebra.py
radovankavicky/pymaclab
21da758f64ed0b62969c9289576f677e977cfd98
[ "Apache-2.0" ]
96
2015-01-25T05:59:56.000Z
2021-12-29T14:05:22.000Z
sympycore/polynomials/tests/test_algebra.py
1zinnur9/pymaclab
21da758f64ed0b62969c9289576f677e977cfd98
[ "Apache-2.0" ]
3
2015-12-17T19:25:46.000Z
2018-06-19T07:05:20.000Z
sympycore/polynomials/tests/test_algebra.py
1zinnur9/pymaclab
21da758f64ed0b62969c9289576f677e977cfd98
[ "Apache-2.0" ]
36
2016-01-31T15:22:01.000Z
2021-03-29T07:03:07.000Z
from sympycore import * P = PolynomialRing def test_default_ring(): r = repr(P.convert(0)) assert r=="PolynomialRing('0')", r assert P.zero==P.convert(0) assert str(0)=='0' assert `P.convert(2)`=="PolynomialRing('2')",repr(P.convert(2)) def test_X(): X = PolynomialRing['x'] C = X.convert...
39.896552
97
0.474071
447
2,314
2.44519
0.087248
0.040256
0.035682
0.036597
0.433669
0.399817
0.258005
0.232388
0.174748
0.174748
0
0.114423
0.187986
2,314
57
98
40.596491
0.46727
0
0
0.083333
0
0.020833
0.252918
0.105491
0
0
0
0
0.770833
0
null
null
0
0.020833
null
null
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
1
1
0
0
0
0
0
0
0
0
3
33fd0062b63d3540dad25bfc41a907a035a81d4c
95
py
Python
tests/scripts/python2-test.py
Honzys/clearml-agent
f58071fc74e2df9bdba8ca91569e0bfd70ad4f46
[ "Apache-2.0" ]
112
2019-10-29T10:36:20.000Z
2020-12-19T08:08:27.000Z
tests/scripts/python2-test.py
Honzys/clearml-agent
f58071fc74e2df9bdba8ca91569e0bfd70ad4f46
[ "Apache-2.0" ]
53
2020-12-29T07:52:40.000Z
2022-03-31T10:11:54.000Z
tests/scripts/python2-test.py
Honzys/clearml-agent
f58071fc74e2df9bdba8ca91569e0bfd70ad4f46
[ "Apache-2.0" ]
29
2019-10-29T13:06:29.000Z
2020-12-19T08:09:24.000Z
def main(): assert 1 / 2 == 0 print('success') if __name__ == "__main__": main()
11.875
26
0.526316
12
95
3.5
0.833333
0
0
0
0
0
0
0
0
0
0
0.044776
0.294737
95
7
27
13.571429
0.58209
0
0
0
0
0
0.157895
0
0
0
0
0
0.2
1
0.2
true
0
0
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
d50148ac813ac58f82fe3db88377732cbe72a00c
137
py
Python
PythonExercicios/02-dados-e-contas/ex006.py
mateusmarinho/python3-cursoemvideo
706d419865532e156fb80b8a873e18cb90d6e0da
[ "MIT" ]
null
null
null
PythonExercicios/02-dados-e-contas/ex006.py
mateusmarinho/python3-cursoemvideo
706d419865532e156fb80b8a873e18cb90d6e0da
[ "MIT" ]
null
null
null
PythonExercicios/02-dados-e-contas/ex006.py
mateusmarinho/python3-cursoemvideo
706d419865532e156fb80b8a873e18cb90d6e0da
[ "MIT" ]
null
null
null
n = int(input('Digite um número: ')) print('O dobro é {}.\nO triplo é {}.\nA raiz quadrada é {:.2f}'.format(n * 2, n * 3, n ** (1/2)))
45.666667
98
0.540146
26
137
2.846154
0.769231
0
0
0
0
0
0
0
0
0
0
0.045455
0.19708
137
2
99
68.5
0.627273
0
0
0
0
0
0.540741
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
d50a6ea2da3b7fcb7f431124f710d9fb773bb4c9
142
py
Python
Homework/Lesson_8/seventh.py
Torkvamedo/smx
a5aef4f430f56ac67100c505902f55e18fba5978
[ "Unlicense" ]
null
null
null
Homework/Lesson_8/seventh.py
Torkvamedo/smx
a5aef4f430f56ac67100c505902f55e18fba5978
[ "Unlicense" ]
null
null
null
Homework/Lesson_8/seventh.py
Torkvamedo/smx
a5aef4f430f56ac67100c505902f55e18fba5978
[ "Unlicense" ]
null
null
null
import math def is_prime(n): if (math.factorial(n-1)+1) % n!=0: print ("NO") else: print ("YES") print(is_prime(13))
15.777778
38
0.535211
23
142
3.217391
0.652174
0.189189
0
0
0
0
0
0
0
0
0
0.048544
0.274648
142
8
39
17.75
0.669903
0
0
0
0
0
0.035461
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
0.428571
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
d50cfe4b7fdff37beacd8c1bde6eb8b8d4fb26b2
429
py
Python
checkpasssword.py
Davidzhaojb/Python
68e0f8cce2e30bcce9baf95fc992e3916835da60
[ "MIT" ]
null
null
null
checkpasssword.py
Davidzhaojb/Python
68e0f8cce2e30bcce9baf95fc992e3916835da60
[ "MIT" ]
null
null
null
checkpasssword.py
Davidzhaojb/Python
68e0f8cce2e30bcce9baf95fc992e3916835da60
[ "MIT" ]
null
null
null
# 设计一个验证用户密码程序,用户只有三次机会输入错误,不过如果用户输入的内容中包含"*"则不计算在内。#设计一个验证用户密码程序,用户只有三次机会输入错误,不过如果用户输入的内容中包含"*"则不计算在内。 # 次数 count = 3 # 密码 password = "fishc" while count: Password = input("请输入密码:") if Password == password: print("密码输入正确") break elif '*' in Password: print("密码中不能包含'*',请重新输入,您还有",cou...
23.833333
103
0.610723
46
429
5.695652
0.652174
0.183206
0.290076
0.335878
0
0
0
0
0
0
0
0.009091
0.230769
429
17
104
25.235294
0.784848
0.247086
0
0
0
0
0.172956
0
0
0
0
0
0
1
0
false
0.285714
0
0
0
0.285714
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
1d13ffdd92866e672e85c762c9e0524a6d8a8a21
801
py
Python
orcamentos/crm/tests/_test_model_seller.py
rg3915/orcamentos
5cd8c4f6cbeabeb5e069c58f583c38f44c3af99a
[ "MIT" ]
94
2016-01-27T14:35:05.000Z
2022-02-22T00:01:02.000Z
orcamentos/crm/tests/_test_model_seller.py
pliniocefet/orcamentos
b84eaad7dbc49cb3ad13e037b12074b466b70a70
[ "MIT" ]
96
2015-07-31T21:50:28.000Z
2021-06-24T15:31:10.000Z
orcamentos/crm/tests/_test_model_seller.py
pliniocefet/orcamentos
b84eaad7dbc49cb3ad13e037b12074b466b70a70
[ "MIT" ]
43
2015-07-28T12:09:48.000Z
2021-08-06T18:20:55.000Z
from django.test import TestCase from django.contrib.auth.models import User from orcamentos.crm.models import Employee, Occupation from .data import USER_DICT # , SELLER_DICT # class SellerTest(TestCase): # def setUp(self): # self.user = User.objects.create(**USER_DICT) # self.occupation = Occu...
33.375
81
0.684145
96
801
5.572917
0.375
0.059813
0
0
0
0
0
0
0
0
0
0
0.191011
801
23
82
34.826087
0.825617
0.755306
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
1d187bbc7e5fa4b6e07de45ddf33ac96bec48eae
393
py
Python
venta/urls.py
cor14095/backGaresa
6dffcff513c1812a88315d16303b90996f6b98d7
[ "MIT" ]
null
null
null
venta/urls.py
cor14095/backGaresa
6dffcff513c1812a88315d16303b90996f6b98d7
[ "MIT" ]
null
null
null
venta/urls.py
cor14095/backGaresa
6dffcff513c1812a88315d16303b90996f6b98d7
[ "MIT" ]
1
2021-08-09T00:55:17.000Z
2021-08-09T00:55:17.000Z
from django.urls import path from rest_framework.urlpatterns import format_suffix_patterns from .views import SalesViewSet urlpatterns = [ path('', SalesViewSet.as_view({'get': 'listcode'})), path('forecast/', SalesViewSet.as_view({'get': 'forecast'})), path('product_factor/', SalesViewSet.as_view({'get': ...
35.727273
77
0.745547
45
393
6.288889
0.444444
0.14841
0.190813
0.222615
0
0
0
0
0
0
0
0
0.104326
393
11
78
35.727273
0.803977
0
0
0
0
0
0.159898
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1d2070f0787262f30a6d4117b7ff46c3f54c3405
887
py
Python
release/stubs.min/System/Net/__init___parts/TransportContext.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/System/Net/__init___parts/TransportContext.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
release/stubs.min/System/Net/__init___parts/TransportContext.py
tranconbv/ironpython-stubs
a601759e6c6819beff8e6b639d18a24b7e351851
[ "MIT" ]
null
null
null
class TransportContext(object): """ The System.Net.TransportContext class provides additional context about the underlying transport layer. """ def ZZZ(self): """hardcoded/mock instance of the class""" return TransportContext() instance=ZZZ() """hardcoded/returns an instance of the class""" def GetChann...
40.318182
186
0.740699
95
887
6.915789
0.526316
0.063927
0.039574
0.054795
0
0
0
0
0
0
0
0
0.172492
887
21
187
42.238095
0.895095
0.666291
0
0.25
0
0
0
0
0
0
0
0
0
1
0.375
false
0.25
0
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
1d3f37cd6bdd6993696e9d21e1416800284f7f74
145
py
Python
examples/subscriber.py
i2y/h2pubsub
0d98b24b79fb932a3d832781ce4f950e32d20181
[ "MIT" ]
1
2016-06-14T21:54:34.000Z
2016-06-14T21:54:34.000Z
examples/subscriber.py
i2y/h2pubsub
0d98b24b79fb932a3d832781ce4f950e32d20181
[ "MIT" ]
null
null
null
examples/subscriber.py
i2y/h2pubsub
0d98b24b79fb932a3d832781ce4f950e32d20181
[ "MIT" ]
null
null
null
from h2pubsub import Client client = Client(address='localhost', port=443) client.subscribe('/test') while True: print(client.receive())
14.5
46
0.724138
18
145
5.833333
0.777778
0.228571
0
0
0
0
0
0
0
0
0
0.032
0.137931
145
9
47
16.111111
0.808
0
0
0
0
0
0.097902
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1d3fc716405a553729bd9e96eb9a365b1dce30fd
87
py
Python
python/01_Saying_Hello/saying_hello.py
lucifer1004/EFP
3be9f22ef76957c0f3ebdc0dbb415cea1ede8da9
[ "MIT" ]
1
2021-11-04T11:49:46.000Z
2021-11-04T11:49:46.000Z
python/01_Saying_Hello/saying_hello.py
lucifer1004/EFP
3be9f22ef76957c0f3ebdc0dbb415cea1ede8da9
[ "MIT" ]
8
2019-12-16T09:37:36.000Z
2020-07-02T06:00:30.000Z
python/01_Saying_Hello/saying_hello.py
lucifer1004/EFP
3be9f22ef76957c0f3ebdc0dbb415cea1ede8da9
[ "MIT" ]
null
null
null
name = input('What is your name? ') print('Hello, {}, nice to meet you!'.format(name))
29
50
0.643678
14
87
4
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.149425
87
2
51
43.5
0.756757
0
0
0
0
0
0.54023
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
1d934a395a0830ed466a1f51cf7e9b44cbf3358d
240
py
Python
7_adapter&facade/adapter/turkey_adapter.py
hypersport/Head-First-Design-Patterns-Python
0c8b831ae89ebbbef8b203b96508deb7e3063590
[ "MIT" ]
null
null
null
7_adapter&facade/adapter/turkey_adapter.py
hypersport/Head-First-Design-Patterns-Python
0c8b831ae89ebbbef8b203b96508deb7e3063590
[ "MIT" ]
null
null
null
7_adapter&facade/adapter/turkey_adapter.py
hypersport/Head-First-Design-Patterns-Python
0c8b831ae89ebbbef8b203b96508deb7e3063590
[ "MIT" ]
null
null
null
from duck import Duck class TurkeyAdapter(Duck): def __init__(self, turkey): self.turkey = turkey def quack(self): self.turkey.gobble() def fly(self): for _ in range(5): self.turkey.fly()
17.142857
31
0.583333
30
240
4.5
0.533333
0.296296
0
0
0
0
0
0
0
0
0
0.006024
0.308333
240
13
32
18.461538
0.807229
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0
0.555556
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
1d940c228fcfb56c1a9c74a6eb7e2d65108a4597
207
py
Python
__tests__/utils/time.py
celestinosalim/dialog-engine
17c7d6e06df05aa24cfb611e91ef4790ffc80cb6
[ "MIT" ]
4
2020-04-17T15:50:33.000Z
2020-04-17T16:49:00.000Z
__tests__/utils/time.py
celestinosalim/dialog-engine
17c7d6e06df05aa24cfb611e91ef4790ffc80cb6
[ "MIT" ]
6
2020-06-18T16:17:27.000Z
2020-08-24T13:21:56.000Z
__tests__/utils/time.py
esl-works/dialog-engine
f29ab486a6f193edce5bbcd2bf3b86b8ad9ceaa9
[ "MIT" ]
3
2020-04-17T16:11:35.000Z
2020-05-21T11:38:05.000Z
import datetime def get_timestamp_min_in_past(min_ago: int) -> datetime.datetime: dt = datetime.datetime.now() - datetime.timedelta(minutes=min_ago) return dt.replace(tzinfo=datetime.timezone.utc)
29.571429
70
0.772947
29
207
5.310345
0.655172
0.077922
0
0
0
0
0
0
0
0
0
0
0.115942
207
6
71
34.5
0.84153
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
1d9ef948608abb5888f2c512e8ac676a5c5b356c
137
py
Python
scripts-for-manuscript/figure4/src/h5-mean.py
Clinical-Genomics/d4-format
b36b441f652b1caa3d8ce49b880a0dc853547de3
[ "MIT" ]
116
2020-05-14T19:16:47.000Z
2022-03-19T21:50:19.000Z
scripts-for-manuscript/figure4/src/h5-mean.py
Clinical-Genomics/d4-format
b36b441f652b1caa3d8ce49b880a0dc853547de3
[ "MIT" ]
40
2020-08-27T17:27:31.000Z
2022-03-19T08:41:06.000Z
scripts-for-manuscript/figure4/src/h5-mean.py
Clinical-Genomics/d4-format
b36b441f652b1caa3d8ce49b880a0dc853547de3
[ "MIT" ]
11
2020-09-18T13:03:42.000Z
2022-02-18T17:27:48.000Z
import h5py import sys file = h5py.File(sys.argv[1], "r") for chr in file.keys(): data = file[chr][:] print(chr, data.mean())
13.7
34
0.605839
23
137
3.608696
0.608696
0
0
0
0
0
0
0
0
0
0
0.027523
0.20438
137
9
35
15.222222
0.733945
0
0
0
0
0
0.007353
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1d9f22247e6067874f38821b8ef5cf39fb2b0283
1,205
py
Python
setup.py
stanislavlevin/k5test
9f4e490d93c92e1b92d23ff82fb605c297515e3f
[ "0BSD" ]
null
null
null
setup.py
stanislavlevin/k5test
9f4e490d93c92e1b92d23ff82fb605c297515e3f
[ "0BSD" ]
null
null
null
setup.py
stanislavlevin/k5test
9f4e490d93c92e1b92d23ff82fb605c297515e3f
[ "0BSD" ]
null
null
null
#!/usr/bin/env python from setuptools import setup setup( name='k5test', version='0.10.0', author='The Python GSSAPI Team', author_email='sross@redhat.com', packages=['k5test'], description='A library for testing Python applications in ' 'self-contained Kerberos 5 environments'...
32.567568
70
0.60083
122
1,205
5.885246
0.622951
0.185237
0.243733
0.181059
0
0
0
0
0
0
0
0.022026
0.246473
1,205
36
71
33.472222
0.768722
0.016598
0
0
0
0
0.565034
0
0
0
0
0
0
1
0
true
0
0.030303
0
0.030303
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
1da1ec4541fe6c8f195889f5b3381ab3a7789467
1,062
py
Python
nuage_neutron/vsdclient/common/cms_id_helper.py
jbemmel/nuage-openstack-neutron
e356c017f7e1600b72cfc26abb588c7cf636e925
[ "Apache-2.0" ]
14
2015-06-24T18:35:25.000Z
2020-09-21T07:14:06.000Z
nuage_neutron/vsdclient/common/cms_id_helper.py
jbemmel/nuage-openstack-neutron
e356c017f7e1600b72cfc26abb588c7cf636e925
[ "Apache-2.0" ]
7
2016-01-20T18:20:28.000Z
2020-11-18T16:04:14.000Z
nuage_neutron/vsdclient/common/cms_id_helper.py
jbemmel/nuage-openstack-neutron
e356c017f7e1600b72cfc26abb588c7cf636e925
[ "Apache-2.0" ]
43
2015-04-07T09:02:35.000Z
2021-02-12T07:50:19.000Z
# Copyright 2016 NOKIA # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
28.702703
78
0.699623
159
1,062
4.528302
0.534591
0.048611
0.045833
0.044444
0.055556
0
0
0
0
0
0
0.010817
0.216573
1,062
36
79
29.5
0.854567
0.536723
0
0
0
0
0.144351
0
0
0
0
0
0
1
0.285714
false
0
0
0.214286
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d51f3ce171cefeb4ce9612bb83acf0f40ea9f6ff
3,036
py
Python
PreprocessData/all_class_files/PriceSpecification.py
wkid-neu/Schema
4854720a15894dd814691a55e03329ecbbb6f558
[ "MIT" ]
3
2021-11-06T12:29:05.000Z
2022-03-22T12:48:55.000Z
PreprocessData/all_class_files/PriceSpecification.py
DylanNEU/Schema
4854720a15894dd814691a55e03329ecbbb6f558
[ "MIT" ]
null
null
null
PreprocessData/all_class_files/PriceSpecification.py
DylanNEU/Schema
4854720a15894dd814691a55e03329ecbbb6f558
[ "MIT" ]
1
2021-11-06T12:29:12.000Z
2021-11-06T12:29:12.000Z
from PreprocessData.all_class_files.StructuredValue import StructuredValue import global_data class PriceSpecification(StructuredValue): def __init__(self, additionalType=None, alternateName=None, description=None, disambiguatingDescription=None, identifier=None, image=None, mainEntityOfPage=None, name=None,...
37.02439
403
0.704216
283
3,036
7.34629
0.19788
0.025974
0.060606
0.047138
0.01924
0
0
0
0
0
0
0
0.226285
3,036
81
404
37.481481
0.885057
0
0
0.338983
0
0
0.006768
0
0
0
0
0
0
1
0.338983
false
0
0.033898
0.152542
0.559322
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d52fa52264faff6b5499de53b2e218972469ccdc
84
py
Python
monitor/test/__init__.py
ReCodEx/monitor
f461da684783888894c571e0bd08eaf6a948e0c5
[ "MIT" ]
4
2017-09-28T09:30:24.000Z
2017-12-10T19:45:51.000Z
monitor/test/__init__.py
ReCodEx/monitor
f461da684783888894c571e0bd08eaf6a948e0c5
[ "MIT" ]
null
null
null
monitor/test/__init__.py
ReCodEx/monitor
f461da684783888894c571e0bd08eaf6a948e0c5
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 __all__ = ['test_ClientConnections', 'test_websock_server']
21
59
0.761905
10
84
5.7
0.9
0
0
0
0
0
0
0
0
0
0
0.012987
0.083333
84
3
60
28
0.727273
0.25
0
0
0
0
0.66129
0.354839
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d54427a0aba1c3116e4d85ec6e7cfa958b479d0b
1,220
py
Python
iamheadless_publisher_admin/mixins.py
plain-ie/iamheadless_publisher_admin
03e0406d5d6e40132fb63100f184ce5e90c0ad31
[ "MIT" ]
null
null
null
iamheadless_publisher_admin/mixins.py
plain-ie/iamheadless_publisher_admin
03e0406d5d6e40132fb63100f184ce5e90c0ad31
[ "MIT" ]
null
null
null
iamheadless_publisher_admin/mixins.py
plain-ie/iamheadless_publisher_admin
03e0406d5d6e40132fb63100f184ce5e90c0ad31
[ "MIT" ]
null
null
null
from django.urls import path from . import permissions from . import utils class ItemViewSetPermissionMixin: def has_access(self): permissions.user_can_access_item_type( self.get_request_user(), self.get_project_id(), self.get_item_type() ) class UtilsViewSe...
25.957447
61
0.690984
166
1,220
4.73494
0.204819
0.132316
0.124682
0.137405
0.395674
0.335878
0.063613
0
0
0
0
0
0.236885
1,220
46
62
26.521739
0.844253
0
0
0.0625
0
0
0.007377
0
0
0
0
0
0
1
0.28125
false
0
0.09375
0.1875
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d55da3bd990fcd7c4231a540e95539db3b6dd742
5,696
py
Python
palabox/apis/duolingo.py
marcoboucas/palabox
d6e937db909daac0f9d3c5dff2309c29b5b68ea8
[ "MIT" ]
null
null
null
palabox/apis/duolingo.py
marcoboucas/palabox
d6e937db909daac0f9d3c5dff2309c29b5b68ea8
[ "MIT" ]
null
null
null
palabox/apis/duolingo.py
marcoboucas/palabox
d6e937db909daac0f9d3c5dff2309c29b5b68ea8
[ "MIT" ]
null
null
null
"""Duolingo API.""" from dataclasses import dataclass from datetime import datetime import dacite import requests from .base import BaseApi, BaseApiConfig from .types.duolingo import DuolingoStats @dataclass class DuolingoApiConfig(BaseApiConfig): """DuolingoApiConfig.""" login: str = "" password: str...
53.233645
2,345
0.748244
667
5,696
5.991005
0.433283
0.04004
0.021021
0.02002
0.107608
0.107608
0.107608
0.107608
0.097097
0.097097
0
0.009344
0.154494
5,696
106
2,346
53.735849
0.82039
0.036868
0
0.266667
0
0.026667
0.525667
0.468445
0
0
0
0
0
1
0.093333
false
0.066667
0.08
0
0.426667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
d58793b80ef5f72c4f7f559049461feeea80ac8d
107
py
Python
tutorials/prompt/placeholder.py
chouette254/quo
8979afd118e77d3d0f93f9fbe8711efada7158c5
[ "MIT" ]
5
2021-06-17T21:06:39.000Z
2022-03-11T06:45:51.000Z
tutorials/prompt/placeholder.py
chouette254/quo
8979afd118e77d3d0f93f9fbe8711efada7158c5
[ "MIT" ]
39
2021-07-19T19:36:18.000Z
2022-02-23T14:55:08.000Z
tutorials/prompt/placeholder.py
secretuminc/quo
c4f77d52f015c612d32ed0fc2fc79545af598f10
[ "MIT" ]
1
2021-05-31T17:19:15.000Z
2021-05-31T17:19:15.000Z
import quo from quo.widget.placeholder import * s = quo.Elicit() s.elicit("You said :", placeholder=grey)
17.833333
40
0.728972
16
107
4.875
0.625
0
0
0
0
0
0
0
0
0
0
0
0.130841
107
5
41
21.4
0.83871
0
0
0
0
0
0.093458
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d595973d050f83ac64d0631fb100031b6ece759a
158
py
Python
micro_shop/staff/urls.py
SlavaSkvortsov/micro-shop
fd8ac23550da9be277a9234464fdab1213356f3d
[ "MIT" ]
1
2021-06-17T15:11:03.000Z
2021-06-17T15:11:03.000Z
micro_shop/staff/urls.py
SlavaSkvortsov/micro-shop
fd8ac23550da9be277a9234464fdab1213356f3d
[ "MIT" ]
7
2020-06-30T11:25:28.000Z
2021-06-09T18:51:55.000Z
micro_shop/staff/urls.py
SlavaSkvortsov/micro-shop
fd8ac23550da9be277a9234464fdab1213356f3d
[ "MIT" ]
5
2020-10-02T20:01:43.000Z
2021-06-21T08:57:29.000Z
from django.urls import path from .views import UserProfileUpdate urlpatterns = [ path('<int:pk>/', UserProfileUpdate.as_view(), name='profile_url') ]
17.555556
70
0.727848
19
158
5.947368
0.789474
0
0
0
0
0
0
0
0
0
0
0
0.139241
158
8
71
19.75
0.830882
0
0
0
0
0
0.126582
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d59cd017a36d985975d03a9f718909fa314e7e24
475
py
Python
01_binary_search.py
burakaslantas/Grokking-Algorithms
2ecf73a683b11288d419cc1d8dc665ab2240e8bc
[ "MIT" ]
null
null
null
01_binary_search.py
burakaslantas/Grokking-Algorithms
2ecf73a683b11288d419cc1d8dc665ab2240e8bc
[ "MIT" ]
null
null
null
01_binary_search.py
burakaslantas/Grokking-Algorithms
2ecf73a683b11288d419cc1d8dc665ab2240e8bc
[ "MIT" ]
null
null
null
def binary_search(array, searched_value): start = 0 end = len(array) - 1 while(start <= end): mid = (start + end) // 2 guess = array[mid] if(searched_value == guess): return mid elif(searched_value < guess): end = mid - 1 elif(searched_value >...
22.619048
41
0.555789
66
475
3.848485
0.393939
0.204724
0.212598
0.173228
0
0
0
0
0
0
0
0.064417
0.313684
475
20
42
23.75
0.714724
0
0
0
0
0
0
0
0
0
0
0
0
1
0.058824
false
0
0
0
0.176471
0.117647
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d5a1f8e45bc2fd24ac139bfff6fce49d306cde0d
907
py
Python
gmso/tests/test_gsd.py
zijiewu3/gmso
49217ca8daa6c8b01f6bc667d271a321b6f6f16a
[ "MIT" ]
1
2020-11-08T23:50:09.000Z
2020-11-08T23:50:09.000Z
gmso/tests/test_gsd.py
zijiewu3/gmso
49217ca8daa6c8b01f6bc667d271a321b6f6f16a
[ "MIT" ]
null
null
null
gmso/tests/test_gsd.py
zijiewu3/gmso
49217ca8daa6c8b01f6bc667d271a321b6f6f16a
[ "MIT" ]
null
null
null
import unyt as u import pytest from gmso.formats.gsd import write_gsd from gmso.external.convert_parmed import from_parmed from gmso.tests.base_test import BaseTest from gmso.utils.io import get_fn from gmso.utils.io import import_, has_gsd, has_parmed if has_parmed: pmd = import_('parmed') @pytest.mark.skipif(...
30.233333
69
0.702315
144
907
4.229167
0.368056
0.065681
0.07225
0.049261
0.390805
0.19376
0.19376
0.19376
0.19376
0.19376
0
0.009447
0.183021
907
29
70
31.275862
0.812416
0.047409
0
0.285714
0
0
0.11949
0
0
0
0
0.034483
0
1
0.095238
false
0
0.380952
0
0.52381
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
1
0
1
0
0
3
d5abcbe8cfb21a7294348cb0c5948348bf4ecebf
338
py
Python
docs/components_page/components/breadcrumb/simple.py
glsdown/dash-bootstrap-components
0ebea4f7de43975f6e3a2958359c4480ae1d4927
[ "Apache-2.0" ]
776
2019-02-07T19:36:59.000Z
2022-03-31T05:53:04.000Z
docs/components_page/components/breadcrumb/simple.py
glsdown/dash-bootstrap-components
0ebea4f7de43975f6e3a2958359c4480ae1d4927
[ "Apache-2.0" ]
350
2019-02-05T10:42:19.000Z
2022-03-31T19:23:35.000Z
docs/components_page/components/breadcrumb/simple.py
glsdown/dash-bootstrap-components
0ebea4f7de43975f6e3a2958359c4480ae1d4927
[ "Apache-2.0" ]
219
2019-02-10T13:46:25.000Z
2022-03-23T17:03:39.000Z
import dash_bootstrap_components as dbc breadcrumb = dbc.Breadcrumb( items=[ {"label": "Docs", "href": "/docs", "external_link": True}, { "label": "Components", "href": "/docs/components", "external_link": True, }, {"label": "Breadcrumb", "active"...
24.142857
66
0.511834
29
338
5.827586
0.517241
0.153846
0.189349
0.248521
0
0
0
0
0
0
0
0
0.310651
338
13
67
26
0.725322
0
0
0
0
0
0.295858
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
633589fb97c7e506f46870a065a0488ff3565e70
20
py
Python
ckan_cloud_operator/providers/ckan/deployment/drone/constants.py
pdelboca/ckan-cloud-operator
20d7e6ed8cc2f5cfce5bc6295cb5487156a53f61
[ "MIT" ]
14
2019-11-18T12:01:03.000Z
2021-09-15T15:29:50.000Z
ckan_cloud_operator/providers/ckan/deployment/drone/constants.py
pdelboca/ckan-cloud-operator
20d7e6ed8cc2f5cfce5bc6295cb5487156a53f61
[ "MIT" ]
52
2019-09-09T14:22:41.000Z
2021-09-29T08:29:24.000Z
ckan_cloud_operator/providers/ckan/deployment/drone/constants.py
pdelboca/ckan-cloud-operator
20d7e6ed8cc2f5cfce5bc6295cb5487156a53f61
[ "MIT" ]
8
2019-10-05T12:46:25.000Z
2021-09-15T15:13:05.000Z
PROVIDER_ID='drone'
10
19
0.8
3
20
5
1
0
0
0
0
0
0
0
0
0
0
0
0.05
20
1
20
20
0.789474
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
63446e4d927fb53761761a122344b0bc8d13ee0c
46
py
Python
captum/__init__.py
ashkan-software/captum
b8b7d4b10a9646e4da827635d6947499fbde3326
[ "BSD-3-Clause" ]
1
2020-02-02T19:23:01.000Z
2020-02-02T19:23:01.000Z
captum/__init__.py
ashkan-software/captum
b8b7d4b10a9646e4da827635d6947499fbde3326
[ "BSD-3-Clause" ]
7
2020-09-07T15:59:35.000Z
2022-02-26T19:34:09.000Z
captum/__init__.py
orionr/captum-2
06009a0c68e56f549964a132ba9c4c4f418af7bd
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 __version__ = "0.2.0"
11.5
22
0.652174
8
46
3.25
0.875
0
0
0
0
0
0
0
0
0
0
0.1
0.130435
46
3
23
15.333333
0.55
0.456522
0
0
0
0
0.208333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
637d0020a33a6fdd3c4651808a9b764d4bbf5ed2
128
py
Python
member/urls.py
itssunny322/User_activity
c150b1e8e52f4cb019d6d390c6007e038fbb1688
[ "Apache-2.0" ]
null
null
null
member/urls.py
itssunny322/User_activity
c150b1e8e52f4cb019d6d390c6007e038fbb1688
[ "Apache-2.0" ]
3
2021-03-19T02:57:29.000Z
2021-09-22T18:58:45.000Z
member/urls.py
itssunny322/User_activity
c150b1e8e52f4cb019d6d390c6007e038fbb1688
[ "Apache-2.0" ]
null
null
null
from django.urls import path from .views import * urlpatterns = [ path('users', UserView.as_view(), name='user_list'), ]
14.222222
56
0.679688
17
128
5
0.823529
0
0
0
0
0
0
0
0
0
0
0
0.171875
128
8
57
16
0.801887
0
0
0
0
0
0.110236
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
63945e496bccbd028111b476e664c3eb1a506627
149
py
Python
catfact.py
machow/catfact
d316ddc399c5832827748bfd0090c9aab328be0e
[ "MIT" ]
null
null
null
catfact.py
machow/catfact
d316ddc399c5832827748bfd0090c9aab328be0e
[ "MIT" ]
1
2020-08-17T16:39:22.000Z
2020-08-17T17:26:28.000Z
catfact.py
machow/forcats-py
d316ddc399c5832827748bfd0090c9aab328be0e
[ "MIT" ]
null
null
null
__version__ = "0.0.1" # NOTE: I am moving the forcats module from siuba to here # https://github.com/machow/siuba/blob/master/siuba/dply/forcats.py
29.8
67
0.744966
26
149
4.115385
0.846154
0
0
0
0
0
0
0
0
0
0
0.022901
0.120805
149
4
68
37.25
0.793893
0.812081
0
0
0
0
0.2
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
639b89ff3173f96edbd1e584cff4ca8d08819f9f
2,532
py
Python
bike/parsing/load.py
debiancn/bicyclerepair
dd054e802d6d8ad80baeccee0396da68144f2a26
[ "ICU" ]
2
2020-05-29T06:31:53.000Z
2020-12-19T21:49:25.000Z
bike/parsing/load.py
debiancn/bicyclerepair
dd054e802d6d8ad80baeccee0396da68144f2a26
[ "ICU" ]
null
null
null
bike/parsing/load.py
debiancn/bicyclerepair
dd054e802d6d8ad80baeccee0396da68144f2a26
[ "ICU" ]
null
null
null
from bike.globals import * import os from bike.parsing.fastparser import fastparser class Cache: def __init__(self): self.reset() def reset(self): self.srcnodecache = {} self.typecache = {} self.maskedlinescache = {} instance = None Cache.instance = Cache() class CantLoca...
26.652632
77
0.648499
234
2,532
6.92735
0.299145
0.05182
0.05182
0.040716
0.091302
0
0
0
0
0
0
0.001078
0.267378
2,532
94
78
26.93617
0.872776
0.026856
0
0.123077
0
0
0.007733
0
0
0
0
0.010638
0
1
0.2
false
0.030769
0.061538
0.107692
0.507692
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
1
1
0
0
3
639ecc093e44120c4662cc5f7f988b58d3a293ce
5,365
py
Python
test/test_parity_accounts.py
ad360io/python-ethereum-client
93c111f20ea2f7297d4462edc500cfecb1f289e0
[ "Apache-2.0" ]
3
2019-03-28T18:56:44.000Z
2020-12-30T17:00:15.000Z
test/test_parity_accounts.py
thezedwards/python-ethereum-client
93c111f20ea2f7297d4462edc500cfecb1f289e0
[ "Apache-2.0" ]
null
null
null
test/test_parity_accounts.py
thezedwards/python-ethereum-client
93c111f20ea2f7297d4462edc500cfecb1f289e0
[ "Apache-2.0" ]
null
null
null
from test_base import TestBase class TestParityAccounts(TestBase): def test_parity_all_accounts_info(self): cb = lambda: self.client.parity_all_accounts_info() self.mock(cb, True) def test_parity_change_password(self): address = '0xdae1bfb92c7c0fd23396619ee1a0d643bf609c2e' ol...
39.448529
92
0.704753
603
5,365
5.960199
0.109453
0.046745
0.086811
0.1202
0.776016
0.718698
0.643851
0.565665
0.503617
0.374235
0
0.095878
0.20876
5,365
135
93
39.740741
0.750766
0
0
0.458716
0
0
0.167754
0.134203
0
0
0.134203
0
0
1
0.220183
false
0.192661
0.027523
0
0.256881
0
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
1
0
1
0
0
0
0
0
3
63a75ebd32da30f3a8d2044144db3a414d9879d2
265
py
Python
api/serializers.py
MarcelIrawan/django-template
03944f99979c303ee364b24385aa827a739cadf0
[ "MIT" ]
1
2020-11-28T12:55:56.000Z
2020-11-28T12:55:56.000Z
api/serializers.py
MarcelIrawan/django-template
03944f99979c303ee364b24385aa827a739cadf0
[ "MIT" ]
null
null
null
api/serializers.py
MarcelIrawan/django-template
03944f99979c303ee364b24385aa827a739cadf0
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import CustomUser class UserSerializer(serializers.ModelSerializer): """ Serilizer for user """ class Meta: model = CustomUser # fields = '__all__' fields = ['id','email']
22.083333
50
0.649057
25
265
6.68
0.76
0
0
0
0
0
0
0
0
0
0
0
0.256604
265
12
51
22.083333
0.847716
0.143396
0
0
0
0
0.033019
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
63b34b23e85c1cc079fa60870ca4a94cacd21c1e
10
py
Python
venv/lib/python3.8/site-packages/spaceone/tester/conf/global_conf.py
choonho/plugin-prometheus-mon-webhook
afa7d65d12715fd0480fb4f92a9c62da2d6128e0
[ "Apache-2.0" ]
null
null
null
venv/lib/python3.8/site-packages/spaceone/tester/conf/global_conf.py
choonho/plugin-prometheus-mon-webhook
afa7d65d12715fd0480fb4f92a9c62da2d6128e0
[ "Apache-2.0" ]
null
null
null
venv/lib/python3.8/site-packages/spaceone/tester/conf/global_conf.py
choonho/plugin-prometheus-mon-webhook
afa7d65d12715fd0480fb4f92a9c62da2d6128e0
[ "Apache-2.0" ]
null
null
null
LOG = { }
3.333333
7
0.3
1
10
3
1
0
0
0
0
0
0
0
0
0
0
0
0.4
10
2
8
5
0.5
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
63c122508ef3b38e3a6c1356ea1d1720457824fb
77
py
Python
Set/1.Create-Define-a-aset.py
manish1822510059/Python-1000-program
d03c1920fe63a7e32ac5bd9a13e2766d7a25756c
[ "Apache-2.0" ]
1
2021-03-06T03:33:42.000Z
2021-03-06T03:33:42.000Z
Set/1.Create-Define-a-aset.py
manish1822510059/Python-1000-programs
d03c1920fe63a7e32ac5bd9a13e2766d7a25756c
[ "Apache-2.0" ]
null
null
null
Set/1.Create-Define-a-aset.py
manish1822510059/Python-1000-programs
d03c1920fe63a7e32ac5bd9a13e2766d7a25756c
[ "Apache-2.0" ]
null
null
null
myset ={"C","C++","Python","Shap","Ruby","Java"} print("Set Content:",myset)
38.5
49
0.584416
11
77
4.090909
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.051948
77
2
50
38.5
0.616438
0
0
0
0
0
0.441558
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
63c65035704dd82d0e35220cf5d131d497f11b32
133
py
Python
output/models/sun_data/attr_decl/ad_name/ad_name00110m/ad_name00110m7_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/sun_data/attr_decl/ad_name/ad_name00110m/ad_name00110m7_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/sun_data/attr_decl/ad_name/ad_name00110m/ad_name00110m7_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.sun_data.attr_decl.ad_name.ad_name00110m.ad_name00110m7_xsd.ad_name00110m7 import Root __all__ = [ "Root", ]
22.166667
105
0.796992
20
133
4.75
0.75
0.273684
0
0
0
0
0
0
0
0
0
0.142857
0.105263
133
5
106
26.6
0.655462
0
0
0
0
0
0.030075
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
63d731aa59cc13a2b71fa76d81924363872807c5
1,125
py
Python
tests/102_projectstarter/002_validate.py
Sam-prog-sudo/boussole
5d6ec94356f9a91ff4d6d23c1700d3512b67006a
[ "MIT" ]
13
2016-05-19T15:18:41.000Z
2022-03-22T15:37:32.000Z
tests/102_projectstarter/002_validate.py
Sam-prog-sudo/boussole
5d6ec94356f9a91ff4d6d23c1700d3512b67006a
[ "MIT" ]
38
2016-04-07T00:30:58.000Z
2022-02-28T13:29:33.000Z
tests/102_projectstarter/002_validate.py
Sam-prog-sudo/boussole
5d6ec94356f9a91ff4d6d23c1700d3512b67006a
[ "MIT" ]
3
2016-05-20T09:21:57.000Z
2020-10-12T10:56:49.000Z
# -*- coding: utf-8 -*- import pytest from boussole.exceptions import SettingsInvalidError @pytest.mark.parametrize("paths", [ ( '/home/foo', '/home/bar', ), ( '/home', '/home/bar', '/var/lib', ), ( '/home', '/home/bar', '/home/bar.g...
17.578125
53
0.458667
102
1,125
5.019608
0.333333
0.136719
0.193359
0.164063
0.451172
0.322266
0.322266
0.322266
0.322266
0
0
0.001359
0.345778
1,125
63
54
17.857143
0.694293
0.069333
0
0.705882
0
0
0.240157
0
0
0
0
0
0.019608
1
0.039216
false
0
0.039216
0
0.078431
0
0
0
0
null
0
1
1
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
3
892b5e79e284470ebd59bd46fdb143b8b121f246
670
py
Python
solutions/p015.py
xianlinfeng/project_euler_python3
77eca44eb2b1d13bc70d6dc0258b737449d43a23
[ "MIT" ]
2
2019-12-10T17:10:02.000Z
2020-07-04T10:30:19.000Z
p015.py
pranayjoshi/projecteuler
238a7844654e214dff9c2f8b596af470b828113c
[ "Apache-2.0" ]
null
null
null
p015.py
pranayjoshi/projecteuler
238a7844654e214dff9c2f8b596af470b828113c
[ "Apache-2.0" ]
1
2020-01-13T17:44:40.000Z
2020-01-13T17:44:40.000Z
# # Solution to Project Euler problem 15 # Copyright (c) Project Nayuki. All rights reserved. # # https://www.nayuki.io/page/project-euler-solutions # https://github.com/nayuki/Project-Euler-solutions # import eulerlib # This is a classic combinatorics problem. To get from the top left corner to the bottom right ...
31.904762
117
0.758209
102
670
4.901961
0.715686
0.072
0.084
0
0
0
0
0
0
0
0
0.012389
0.156716
670
20
118
33.5
0.872566
0.78806
0
0
0
0
0.061538
0
0
0
0
0
0
1
0.2
true
0
0.2
0.2
0.6
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
0
0
1
0
0
1
1
0
0
3
8931f5e36e69dfcbd54c87e3f84f28cc88a8724d
2,509
py
Python
pyomrx/tests/test_examples.py
ShaunHowell/py-omrx
dc76a2a286488de1ad1fe131ca552f556583b0b3
[ "X11" ]
null
null
null
pyomrx/tests/test_examples.py
ShaunHowell/py-omrx
dc76a2a286488de1ad1fe131ca552f556583b0b3
[ "X11" ]
5
2021-03-31T20:44:39.000Z
2022-02-16T10:54:11.000Z
pyomrx/tests/test_examples.py
ShaunHowell/py-omrx
dc76a2a286488de1ad1fe131ca552f556583b0b3
[ "X11" ]
null
null
null
import os import pytest from pathlib import Path from pyomrx.core.form_maker import FormMaker from pyomrx.core.omr_factory import OmrFactory import pandas as pd from pyomrx.utils.test_utils import * def test_attendance_register_example(request, res_folder): attendance_example_folder = Path('examples/attendance_re...
39.825397
84
0.749701
342
2,509
5.064327
0.166667
0.083141
0.079677
0.072748
0.747113
0.728637
0.711316
0.711316
0.615473
0.568129
0
0
0.165803
2,509
62
85
40.467742
0.82752
0
0
0.5
0
0
0.136309
0.070945
0
0
0
0
0.038462
1
0.076923
false
0
0.134615
0
0.211538
0
0
0
0
null
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
895398c9cdc502909c0f77aea4669469831c7687
169
py
Python
application/__init__.py
amcodec1/Flask-aws-app
205aed34629c345ea82d6228be2c6bf47d6686ef
[ "MIT" ]
1
2017-08-10T06:45:51.000Z
2017-08-10T06:45:51.000Z
application/__init__.py
amcodec1/Flask-aws-app
205aed34629c345ea82d6228be2c6bf47d6686ef
[ "MIT" ]
null
null
null
application/__init__.py
amcodec1/Flask-aws-app
205aed34629c345ea82d6228be2c6bf47d6686ef
[ "MIT" ]
null
null
null
from flask import Flask from flask.ext.sqlalchemy import SQLAlchemy application = Flask(__name__) application.config.from_object('config') db = SQLAlchemy(application)
24.142857
43
0.822485
21
169
6.380952
0.47619
0.134328
0
0
0
0
0
0
0
0
0
0
0.094675
169
6
44
28.166667
0.875817
0
0
0
0
0
0.035503
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8960f936e80553661cf0be04471dadc4290fc3b4
976
py
Python
src/zeo_connector_defaults/__init__.py
Bystroushaak/zeo_connector_defaults
b54ecb99ddb4665db00fba183ef1d7252b0ca62b
[ "MIT" ]
null
null
null
src/zeo_connector_defaults/__init__.py
Bystroushaak/zeo_connector_defaults
b54ecb99ddb4665db00fba183ef1d7252b0ca62b
[ "MIT" ]
null
null
null
src/zeo_connector_defaults/__init__.py
Bystroushaak/zeo_connector_defaults
b54ecb99ddb4665db00fba183ef1d7252b0ca62b
[ "MIT" ]
null
null
null
#! /usr/bin/env python # -*- coding: utf-8 -*- # # Interpreter version: python 2.7 # # Imports ===================================================================== import os.path from environment_generator import tmp_context from environment_generator import tmp_context_name from environment_generator import generat...
34.857143
79
0.615779
111
976
5.054054
0.369369
0.053476
0.071301
0.213904
0.434938
0.434938
0.292335
0.292335
0.292335
0.163993
0
0.003359
0.085041
976
27
80
36.148148
0.62486
0.316598
0
0
0
0
0.163885
0
0
0
0
0
0
1
0.083333
false
0
0.416667
0
0.583333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
8961ecebf2ca4b4e071b2aa1e8778032bdcb8a52
576
py
Python
AST/block.py
CorentinGoet/miniC-Compiler
8631b1ce47e9de1c3a3255d7c0a941242ad48292
[ "MIT" ]
null
null
null
AST/block.py
CorentinGoet/miniC-Compiler
8631b1ce47e9de1c3a3255d7c0a941242ad48292
[ "MIT" ]
null
null
null
AST/block.py
CorentinGoet/miniC-Compiler
8631b1ce47e9de1c3a3255d7c0a941242ad48292
[ "MIT" ]
null
null
null
""" @author Corentin Goetghebeur (github.com/CorentinGoet) """ from AST.node import Node class Block(Node): """ Class representation for the Block node. The Block node has the following syntax: Block = {Statements} """ def __init__(self, statements: list = None): """ Constr...
18.580645
54
0.631944
63
576
5.698413
0.52381
0.100279
0.100279
0.083565
0
0
0
0
0
0
0
0
0.274306
576
30
55
19.2
0.858852
0.409722
0
0
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0.125
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9828b45924c30d21484d0de726dd951478e26894
1,157
py
Python
tests/queues_test.py
Cormen-Lib-Developers/Cormen-Lib
7877f1180cb76b56c909b70a35d85af8a83e530a
[ "MIT" ]
8
2022-01-24T00:34:59.000Z
2022-03-15T01:34:51.000Z
tests/queues_test.py
Cormen-Lib-Developers/Cormen-Lib
7877f1180cb76b56c909b70a35d85af8a83e530a
[ "MIT" ]
8
2022-02-09T22:07:35.000Z
2022-03-17T16:23:08.000Z
tests/queues_test.py
Cormen-Lib-Developers/Cormen-Lib
7877f1180cb76b56c909b70a35d85af8a83e530a
[ "MIT" ]
null
null
null
import unittest from dalpy.queues import Queue, QueueUnderflowError class QueueTest(unittest.TestCase): def test_init(self): q = Queue() self.assertTrue(q.is_empty()) self.assertEqual(q.size(), 0) def test_empty_ops(self): q = Queue() self.assertRaises(QueueUnderflowE...
26.295455
67
0.581677
143
1,157
4.573427
0.272727
0.206422
0.220183
0.122324
0.470948
0.107034
0.107034
0.107034
0.107034
0
0
0.01444
0.281763
1,157
43
68
26.906977
0.772563
0
0
0.382353
0
0
0.006914
0
0
0
0
0
0.411765
1
0.147059
false
0
0.058824
0
0.235294
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
982afcb70f3962008c7930849e69e44a06c6f4d3
57
py
Python
app/__init__.py
martyni/jenkins_test
5e941d025531f6c3d2eaab99433a35b4d3561dfd
[ "MIT" ]
null
null
null
app/__init__.py
martyni/jenkins_test
5e941d025531f6c3d2eaab99433a35b4d3561dfd
[ "MIT" ]
null
null
null
app/__init__.py
martyni/jenkins_test
5e941d025531f6c3d2eaab99433a35b4d3561dfd
[ "MIT" ]
null
null
null
__version__="v.0.0.1" def main(): print("I'm an app")
14.25
22
0.596491
12
57
2.5
0.916667
0
0
0
0
0
0
0
0
0
0
0.0625
0.157895
57
3
23
19
0.5625
0
0
0
0
0
0.298246
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
9835c7cc4a39384752be9935949cb467e753607d
3,318
py
Python
tests.py
kylefox/openmerch
eee28c67789fcc053031a1e15addf366316e8590
[ "BSD-3-Clause" ]
1
2016-05-08T18:18:53.000Z
2016-05-08T18:18:53.000Z
tests.py
kylefox/openmerch
eee28c67789fcc053031a1e15addf366316e8590
[ "BSD-3-Clause" ]
1
2021-02-05T02:55:02.000Z
2021-02-05T02:59:45.000Z
tests.py
kylefox/openmerch
eee28c67789fcc053031a1e15addf366316e8590
[ "BSD-3-Clause" ]
1
2021-07-13T07:16:05.000Z
2021-07-13T07:16:05.000Z
from gateways.authorizenet import AuthorizeNet from creditcard import CreditCard from datetime import datetime LOGIN = '' PASSWORD = '' def setup_authorize(): options = { 'order_id': '1', 'description': 'Test of AUTH code', 'email': 'john@doe.com', 'customer': '947', 'ip': ...
22.418919
64
0.566004
339
3,318
5.374631
0.286136
0.092206
0.041164
0.061471
0.726674
0.726674
0.726674
0.653128
0.623491
0.54775
0
0.052323
0.279988
3,318
147
65
22.571429
0.710339
0.005124
0
0.618644
0
0
0.230303
0
0
0
0
0
0
0
null
null
0.033898
0.025424
null
null
0.025424
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
984957707b9c7d7b3eba54240e2b89bd9acc85f0
1,645
py
Python
restaurant_project/sales/models.py
deepaksood619/Projects
93f09db22ad65e72e2a2ffc909b2bb3e1e5c5fa7
[ "MIT" ]
null
null
null
restaurant_project/sales/models.py
deepaksood619/Projects
93f09db22ad65e72e2a2ffc909b2bb3e1e5c5fa7
[ "MIT" ]
5
2021-03-19T03:52:50.000Z
2022-02-10T11:43:51.000Z
sales/models.py
deepchatterjeevns/SmartQHiringChallenge
1151e8ac69325461179a7c15dec2e7709b811a74
[ "MIT" ]
null
null
null
from datetime import time, datetime from django.db import models # Create your models here. class FoodAvailabilityTimings(models.Model): shift_name = models.CharField(max_length=255, unique=True, blank=False, null=False) start_time = models.TimeField(default=time(hour=0, minute=0)) end_time = models.Time...
33.571429
100
0.731915
215
1,645
5.432558
0.27907
0.10274
0.119863
0.162671
0.550514
0.550514
0.435788
0.435788
0.367295
0.367295
0
0.012857
0.148936
1,645
48
101
34.270833
0.821429
0.01459
0
0.16129
0
0
0.043237
0
0
0
0
0
0
1
0.16129
false
0
0.064516
0.16129
1
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
1
1
0
0
3
98861ad043d727327fb39c7ecee6e55bdc8d3211
311
py
Python
project/stocks/__init__.py
YellowFlash2012/stock-portfolio-io
0a39c9a692aecc8d6b39e728efd63061112bc975
[ "MIT" ]
null
null
null
project/stocks/__init__.py
YellowFlash2012/stock-portfolio-io
0a39c9a692aecc8d6b39e728efd63061112bc975
[ "MIT" ]
null
null
null
project/stocks/__init__.py
YellowFlash2012/stock-portfolio-io
0a39c9a692aecc8d6b39e728efd63061112bc975
[ "MIT" ]
null
null
null
""" The stocks blueprint handles the user management for this application. Specifically, this blueprint allows for users to add, edit, and delete stock data from their portfolio. """ from flask import Blueprint stocks_blueprint = Blueprint('stocks', __name__, template_folder='templates') from . import routes
31.1
77
0.794212
41
311
5.878049
0.707317
0.124481
0
0
0
0
0
0
0
0
0
0
0.135048
311
10
78
31.1
0.895911
0.559486
0
0
0
0
0.115385
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0.666667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
1
0
3
98aa1c3ed547c9ca4fbd19509bd3c22693bda976
389
py
Python
Section4/appcode/security.py
ntnshrm87/FlaskDevTest
f5af6c57280950eb56b735476ab38953d1c25033
[ "MIT" ]
null
null
null
Section4/appcode/security.py
ntnshrm87/FlaskDevTest
f5af6c57280950eb56b735476ab38953d1c25033
[ "MIT" ]
null
null
null
Section4/appcode/security.py
ntnshrm87/FlaskDevTest
f5af6c57280950eb56b735476ab38953d1c25033
[ "MIT" ]
null
null
null
from werkzeug.security import safe_str_cmp from appcode.models.user import UserModel # Function to authenticate the user def authenticate(username, password): user = UserModel.find_by_username(username) if user and safe_str_cmp(UserModel.password, password): return user def identity(payload): us...
25.933333
59
0.768638
53
389
5.45283
0.490566
0.048443
0.069204
0
0
0
0
0
0
0
0
0
0.159383
389
14
60
27.785714
0.883792
0.084833
0
0
0
0
0.022599
0
0
0
0
0
0
1
0.222222
false
0.222222
0.222222
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
98b4ddc8a925b89655f9356aeabab166b6a518d9
113
py
Python
erpnext_biotrack/__init__.py
webonyx/erpnext_biotrack
eb2384a6c3fda84a91c81c959f095a5386a89665
[ "MIT" ]
11
2017-05-29T23:35:21.000Z
2022-03-12T04:29:21.000Z
erpnext_biotrack/__init__.py
webonyx/erpnext_biotrack
eb2384a6c3fda84a91c81c959f095a5386a89665
[ "MIT" ]
1
2016-12-11T16:58:36.000Z
2016-12-11T16:58:36.000Z
erpnext_biotrack/__init__.py
webonyx/erpnext_biotrack
eb2384a6c3fda84a91c81c959f095a5386a89665
[ "MIT" ]
14
2016-12-17T11:01:03.000Z
2021-11-01T10:21:45.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals __version__ = "0.0.1" __title__ = "Traceability"
22.6
39
0.716814
14
113
4.857143
0.928571
0
0
0
0
0
0
0
0
0
0
0.040816
0.132743
113
5
40
22.6
0.653061
0.185841
0
0
0
0
0.186813
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
98b4ea7878ad705aedb7d3edb6e3d8b9abcf6219
612
py
Python
fora/models/user.py
WayStudios/fora
1dea5fadeb0e8245a48c547d0c5b260e888583e5
[ "BSD-3-Clause" ]
null
null
null
fora/models/user.py
WayStudios/fora
1dea5fadeb0e8245a48c547d0c5b260e888583e5
[ "BSD-3-Clause" ]
null
null
null
fora/models/user.py
WayStudios/fora
1dea5fadeb0e8245a48c547d0c5b260e888583e5
[ "BSD-3-Clause" ]
null
null
null
# fora # class UserModel # Xu [xw901103@gmail.com] Copyright 2015 from fora.core.model import Model from sqlalchemy import ( Column, Integer, Boolean, String, DateTime ) class UserModel(Model): __tablename__ = 'users' id = Column(Integer, primary_key = True, autoincrement = True) uuid ...
24.48
66
0.687908
71
612
5.788732
0.535211
0.116788
0.131387
0.160584
0
0
0
0
0
0
0
0.020877
0.21732
612
24
67
25.5
0.837161
0.096405
0
0
0
0
0.009107
0
0
0
0
0
0
1
0
false
0.052632
0.105263
0
0.684211
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
7f27580713d4e95daa65183a504423139e12ff45
33,823
py
Python
tests/integration/test_web.py
raiden-network/raiden-wizard
faea0f3075b748b6a1e204518e84b0fd1950d5b5
[ "MIT" ]
9
2020-05-27T12:19:29.000Z
2022-03-20T05:55:36.000Z
tests/integration/test_web.py
raiden-network/raiden-wizard
faea0f3075b748b6a1e204518e84b0fd1950d5b5
[ "MIT" ]
178
2020-02-26T17:03:22.000Z
2021-12-28T14:21:00.000Z
tests/integration/test_web.py
raiden-network/raiden-wizard
faea0f3075b748b6a1e204518e84b0fd1950d5b5
[ "MIT" ]
9
2020-03-30T13:35:28.000Z
2022-03-01T17:24:20.000Z
import asyncio import json import os from unittest.mock import patch import pytest from eth_utils import encode_hex, to_canonical_address, to_checksum_address from tornado.httpclient import HTTPRequest from tornado.websocket import websocket_connect from raiden_installer import load_settings from raiden_installer.acc...
36.644637
98
0.635958
3,772
33,823
5.379109
0.072375
0.032331
0.031543
0.0414
0.767866
0.737753
0.714736
0.683144
0.6483
0.6207
0
0.011831
0.265293
33,823
922
99
36.684382
0.804668
0.00139
0
0.6326
0
0
0.138928
0.077429
0
0
0
0
0.15912
1
0.071151
false
0.020699
0.029754
0.01423
0.121604
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7f5b76a3577f86fe28ed46f2364b13beeed8f550
402
py
Python
test.py
activerankextension/methodology
8ae182d420163dae8433a0003c50618798a0f46f
[ "MIT" ]
null
null
null
test.py
activerankextension/methodology
8ae182d420163dae8433a0003c50618798a0f46f
[ "MIT" ]
null
null
null
test.py
activerankextension/methodology
8ae182d420163dae8433a0003c50618798a0f46f
[ "MIT" ]
null
null
null
import unittest from feminist_api import * class FeministAPI(unittest.TestCase): def test_ranking(self): self.assertNotEqual((None, None, None, None), get_ranking_for_company('zara')) self.assertNotEqual((None, None, None, None), get_ranking_for_company('facebook')) self.assertNotEqual((None, None, None, None),...
36.545455
84
0.758706
52
402
5.5
0.442308
0.251748
0.251748
0.272727
0.566434
0.566434
0.566434
0.566434
0.566434
0.566434
0
0
0.104478
402
11
85
36.545455
0.794444
0
0
0
0
0
0.062035
0
0
0
0
0
0.333333
1
0.111111
false
0
0.222222
0
0.444444
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7f651f1517a0884732ef21c2c571ce9f78614a71
304
py
Python
thenewboston_node/core/management/commands/generate_signing_key.py
nishp77/thenewboston-node
158b1f1739b2c6c9c21c80e9da854ca141f1cf8f
[ "MIT" ]
30
2021-03-05T22:08:17.000Z
2021-09-23T02:45:45.000Z
thenewboston_node/core/management/commands/generate_signing_key.py
nishp77/thenewboston-node
158b1f1739b2c6c9c21c80e9da854ca141f1cf8f
[ "MIT" ]
148
2021-03-05T23:37:50.000Z
2021-11-02T02:18:58.000Z
thenewboston_node/core/management/commands/generate_signing_key.py
nishp77/thenewboston-node
158b1f1739b2c6c9c21c80e9da854ca141f1cf8f
[ "MIT" ]
14
2021-03-05T21:58:46.000Z
2021-10-15T17:27:52.000Z
from django.core.management import BaseCommand from thenewboston_node.core.utils.cryptography import generate_key_pair class Command(BaseCommand): help = 'Generate signing (private) key' # noqa: A003 def handle(self, *args, **options): self.stdout.write(generate_key_pair().private)
27.636364
71
0.753289
38
304
5.894737
0.710526
0.098214
0.133929
0
0
0
0
0
0
0
0
0.011583
0.148026
304
10
72
30.4
0.853282
0.032895
0
0
1
0
0.10274
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
7f6f5b004757129f756542df01444d1d418496a6
309
py
Python
examples/demo/demo_payments/models.py
bartels/satchless
4d333014333dc4fd5815f9e0bbea565959919a30
[ "BSD-4-Clause" ]
1
2015-11-05T10:26:46.000Z
2015-11-05T10:26:46.000Z
examples/demo/demo_payments/models.py
bartels/satchless
4d333014333dc4fd5815f9e0bbea565959919a30
[ "BSD-4-Clause" ]
null
null
null
examples/demo/demo_payments/models.py
bartels/satchless
4d333014333dc4fd5815f9e0bbea565959919a30
[ "BSD-4-Clause" ]
null
null
null
from django.db import models from orders.app import order_app from satchless.contrib.payment.django_payments_provider.models import DjangoPaymentsPayment class Payment(DjangoPaymentsPayment): order = models.OneToOneField(order_app.Order, related_name='paymentvariant')
30.9
91
0.754045
33
309
6.909091
0.575758
0.070175
0
0
0
0
0
0
0
0
0
0
0.187702
309
9
92
34.333333
0.908367
0
0
0
0
0
0.045307
0
0
0
0
0
0
1
0
false
0
0.5
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
7f777087518551b0eec6e2af3c5f3d647f6bd44e
1,143
py
Python
install/app_store/tk-framework-shotgunutils/v5.2.4/tests/fixtures/config/bundles/test_engine/engine.py
JoanAzpeitia/lp_sg
e0ee79555e419dd2ae3a5f31e5515b3f40b22a62
[ "MIT" ]
4
2019-01-11T03:41:28.000Z
2019-09-12T06:57:17.000Z
bundle_cache/app_store/tk-multi-breakdown/v1.5.0/tests/fixtures/config/bundles/test_engine/engine.py
ColinKennedy/tk-config-default2-respawn
855fb8033daa549b92615792442f19a7f9c4f55c
[ "Linux-OpenIB" ]
null
null
null
bundle_cache/app_store/tk-multi-breakdown/v1.5.0/tests/fixtures/config/bundles/test_engine/engine.py
ColinKennedy/tk-config-default2-respawn
855fb8033daa549b92615792442f19a7f9c4f55c
[ "Linux-OpenIB" ]
2
2019-01-10T05:00:18.000Z
2020-02-15T16:32:56.000Z
# Copyright (c) 2013 Shotgun Software Inc. # # CONFIDENTIAL AND PROPRIETARY # # This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit # Source Code License included in this distribution package. See LICENSE. # By accessing, using, copying or modifying this work you indicate your # agreement to t...
28.575
94
0.608924
144
1,143
4.784722
0.541667
0.034833
0.081277
0.034833
0.267054
0.127721
0.127721
0.127721
0
0
0
0.00453
0.227472
1,143
39
95
29.307692
0.775764
0.429571
0
0
0
0
0.095413
0
0
0
0
0
0
1
0.333333
false
0.066667
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
1
0
1
0
0
1
0
0
3
7f7e5421cd569f07ea56ab7d15d596eb794887ff
1,687
py
Python
vulntracker/vulnalert/util.py
jonaustin/advisoryscan
ba452c155f0d478450e0c91de5ea00f404e98616
[ "MIT" ]
null
null
null
vulntracker/vulnalert/util.py
jonaustin/advisoryscan
ba452c155f0d478450e0c91de5ea00f404e98616
[ "MIT" ]
null
null
null
vulntracker/vulnalert/util.py
jonaustin/advisoryscan
ba452c155f0d478450e0c91de5ea00f404e98616
[ "MIT" ]
1
2018-12-06T12:50:52.000Z
2018-12-06T12:50:52.000Z
""" Utility Functions """ ### From the Python Cookbook ## Generate a human readable 'random' password ## password will be generated in the form 'word'+digits+'word' ## eg.,nice137pass ## parameters: number of 'characters' , number of 'digits' ## Pradeep Kishore Gowda <pradeep at btbytes.com > ## License : GPL ## Da...
26.777778
98
0.567279
222
1,687
4.225225
0.454955
0.042644
0.060768
0.063966
0.055437
0.055437
0.055437
0.055437
0
0
0
0.031088
0.313574
1,687
62
99
27.209677
0.778929
0.301719
0
0.1875
1
0
0.019038
0
0
0
0
0
0
0
null
null
0.0625
0.0625
null
null
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
7f8d5a04fa22a72def6576019a66f48aed48a68f
1,831
py
Python
roblox/utilities/shared.py
Boegie19/ro.py
68b8acb506ab3057670168434fbf90ea0d05943f
[ "MIT" ]
null
null
null
roblox/utilities/shared.py
Boegie19/ro.py
68b8acb506ab3057670168434fbf90ea0d05943f
[ "MIT" ]
null
null
null
roblox/utilities/shared.py
Boegie19/ro.py
68b8acb506ab3057670168434fbf90ea0d05943f
[ "MIT" ]
1
2021-06-28T14:57:39.000Z
2021-06-28T14:57:39.000Z
""" This module contains the ClientSharedObject, which is shared between the client and all objects it generates. """ from __future__ import annotations from typing import TYPE_CHECKING, Optional from .requests import Requests from .url import URLGenerator if TYPE_CHECKING: from ..client import Client fro...
34.54717
109
0.713271
195
1,831
6.569231
0.292308
0.056206
0.066354
0.078064
0.074941
0.074941
0.074941
0.074941
0.074941
0.074941
0
0
0.229929
1,831
52
110
35.211538
0.908511
0.395958
0
0
1
0
0
0
0
0
0
0
0
1
0.047619
false
0
0.47619
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
7f9b1d895482976485b1998550d8af3dc65dcd05
1,544
py
Python
miniworld/model/network/backends/InterfaceFilter.py
miniworld-project/miniworld_core
c591bad232b78eae99e8f55cb1b907c1e228484b
[ "MIT" ]
5
2019-05-11T14:57:15.000Z
2021-07-05T00:35:25.000Z
miniworld/model/network/backends/InterfaceFilter.py
miniworld-project/miniworld_core
c591bad232b78eae99e8f55cb1b907c1e228484b
[ "MIT" ]
27
2017-03-17T07:11:02.000Z
2019-05-26T23:36:56.000Z
miniworld/model/network/backends/InterfaceFilter.py
miniworld-project/miniworld_core
c591bad232b78eae99e8f55cb1b907c1e228484b
[ "MIT" ]
6
2017-05-03T12:11:33.000Z
2020-04-03T11:44:27.000Z
class InterfaceFilter: def __init__(self, *args, **kwargs): pass def get_interfaces(self, emulation_node_x, emulation_node_y): """ Attributes ---------- emulation_node_x: EmulationNode emulation_node_y: EmulationNode Returns ------- ge...
28.592593
103
0.695596
176
1,544
5.744318
0.301136
0.167161
0.096934
0.138477
0.496538
0.454995
0.454995
0.44906
0.44906
0.276954
0
0
0.22215
1,544
53
104
29.132075
0.841799
0.186529
0
0.380952
0
0
0
0
0
0
0
0.018868
0
1
0.238095
false
0.142857
0
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
7fa52d2551135b3c9ef42b725887c7c6e432166a
834
py
Python
kyper/nbconvert/tests/files/nbconvert_v4_kyper_config_1.py
wusung/ipython-notebook-tabs
ee7b3922c7d01cf6182bce63ef69e8a20f7229f9
[ "Apache-2.0" ]
null
null
null
kyper/nbconvert/tests/files/nbconvert_v4_kyper_config_1.py
wusung/ipython-notebook-tabs
ee7b3922c7d01cf6182bce63ef69e8a20f7229f9
[ "Apache-2.0" ]
null
null
null
kyper/nbconvert/tests/files/nbconvert_v4_kyper_config_1.py
wusung/ipython-notebook-tabs
ee7b3922c7d01cf6182bce63ef69e8a20f7229f9
[ "Apache-2.0" ]
null
null
null
c = get_config() #Export all the notebooks in the current directory to the sphinx_howto format. c.NbConvertApp.notebooks = ['Untitled.ipynb'] c.NbConvertApp.export_format = 'notebook' #c.NbConvertApp.writer = 'stdoutwriter' c.Exporter.default_preprocessors = ['kyper.nbconvert.preprocessors.coalesce_streams', 'kyper.nb...
75.818182
424
0.833333
82
834
8.390244
0.52439
0.162791
0.274709
0
0
0
0
0
0
0
0
0.001263
0.05036
834
10
425
83.4
0.867424
0.314149
0
0
0
0
0.674296
0.635563
0
0
0
0
0
1
0
false
0
0
0
0
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7fa7f852d4cb0a061dab991f8c7bedad11c82bbc
727
py
Python
tests/test_tools/test_sort.py
Massiil/wordlistools
45edc94200130e87b444fd5c04e24e6093160f93
[ "MIT" ]
17
2022-02-06T21:23:27.000Z
2022-02-07T22:33:40.000Z
tests/test_tools/test_sort.py
Massiil/wordlistools
45edc94200130e87b444fd5c04e24e6093160f93
[ "MIT" ]
1
2022-02-06T21:52:30.000Z
2022-02-06T21:52:30.000Z
tests/test_tools/test_sort.py
Massiil/wordlistools
45edc94200130e87b444fd5c04e24e6093160f93
[ "MIT" ]
2
2022-02-06T21:29:42.000Z
2022-02-06T21:31:06.000Z
from wordlistools.helpertest import AsStdinWordlist, AsWordlist, runtest def test_simple(): runtest("sort", args=(AsStdinWordlist(["a", "b"]),), ret=AsWordlist(["a", "b"])) runtest("sort", args=(AsStdinWordlist(["b", "a"]),), ret=AsWordlist(["a", "b"])) def test_multiple_wordlists(): runtest( "...
25.964286
84
0.518569
75
727
4.986667
0.253333
0.032086
0.200535
0.160428
0.446524
0.224599
0.224599
0
0
0
0
0
0.220083
727
27
85
26.925926
0.659612
0
0
0.3
0
0
0.066025
0
0
0
0
0
0
1
0.1
true
0
0.05
0
0.15
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
f69d983260154b7c587e7a2f65e955149432f5db
99
py
Python
CodeChef/Python Codes/TSORT.py
khaleeque-ansari/Online-Coding-Problems-Solutions-Python
c8378ccad88ce5f50239f82cf9569344e1b92f18
[ "Apache-2.0" ]
null
null
null
CodeChef/Python Codes/TSORT.py
khaleeque-ansari/Online-Coding-Problems-Solutions-Python
c8378ccad88ce5f50239f82cf9569344e1b92f18
[ "Apache-2.0" ]
null
null
null
CodeChef/Python Codes/TSORT.py
khaleeque-ansari/Online-Coding-Problems-Solutions-Python
c8378ccad88ce5f50239f82cf9569344e1b92f18
[ "Apache-2.0" ]
null
null
null
import sys n=int(raw_input()) a=[] a=map(int,sys.stdin) a.sort() for _ in a: print _
11
21
0.565657
18
99
2.944444
0.722222
0
0
0
0
0
0
0
0
0
0
0
0.262626
99
8
22
12.375
0.726027
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
f6a2c7e0854b4bfb4bdf91f358afcc75ceac053b
167
py
Python
app.py
Pandelytics/pandelytics
5950d4a95595dadf076ac9270be0dbcdcfa59a1a
[ "Apache-2.0" ]
null
null
null
app.py
Pandelytics/pandelytics
5950d4a95595dadf076ac9270be0dbcdcfa59a1a
[ "Apache-2.0" ]
11
2020-04-02T22:36:36.000Z
2020-09-27T11:19:23.000Z
app.py
Pandelytics/pandelytics
5950d4a95595dadf076ac9270be0dbcdcfa59a1a
[ "Apache-2.0" ]
1
2020-10-07T15:48:06.000Z
2020-10-07T15:48:06.000Z
import json from pandelytics import search if __name__ == "__main__": news = search.search("jhu", "Data") if news: print(json.dumps(news, indent=4))
18.555556
41
0.652695
22
167
4.590909
0.681818
0
0
0
0
0
0
0
0
0
0
0.007634
0.215569
167
8
42
20.875
0.763359
0
0
0
0
0
0.08982
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f6a940ae1fea232392cf90b5597c48422a8248e7
626
py
Python
37_function.py
onowdev/python-selflearning
3d7245de0207a5bfcbce4f7adde60e7316b70a8e
[ "MIT" ]
null
null
null
37_function.py
onowdev/python-selflearning
3d7245de0207a5bfcbce4f7adde60e7316b70a8e
[ "MIT" ]
null
null
null
37_function.py
onowdev/python-selflearning
3d7245de0207a5bfcbce4f7adde60e7316b70a8e
[ "MIT" ]
null
null
null
# A function is a block of organized, reusable code that is used to perform a single, related action. # Functions provide better modularity for your application and a high degree of code reusing. # As you already know, Python gives you many built-in functions like print(), # etc. but you can also create your own func...
41.733333
102
0.758786
99
626
4.79798
0.646465
0.025263
0.037895
0
0
0
0
0
0
0
0
0
0.185304
626
15
103
41.733333
0.931373
0.722045
0
0
0
0
0.611111
0
0
0
0
0
0
1
0.166667
false
0.166667
0
0
0.333333
0.833333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
1
0
0
0
1
0
3
f6ad4eb8b29be724bdb073d946e7e0063a5425fb
95
py
Python
classTest.py
csitedexperts/Python2.xPractice
fd03ceebe920a76ca47aec3651a69ba5a1cc412b
[ "Apache-2.0" ]
3
2019-04-13T04:00:42.000Z
2020-10-02T01:14:42.000Z
classTest.py
csitedexperts/Python2.xPractice
fd03ceebe920a76ca47aec3651a69ba5a1cc412b
[ "Apache-2.0" ]
null
null
null
classTest.py
csitedexperts/Python2.xPractice
fd03ceebe920a76ca47aec3651a69ba5a1cc412b
[ "Apache-2.0" ]
2
2019-03-30T18:55:32.000Z
2020-05-10T16:30:34.000Z
class things(object): def test(hi): print "Hi" t = things() t.test("hello world")
13.571429
21
0.578947
14
95
3.928571
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.252632
95
6
22
15.833333
0.774648
0
0
0
0
0
0.136842
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
f6ce139e91ce806c7fc0cc9832e37d0e3f9265fe
279
py
Python
arlobot_common/src/common/utils.py
tslator/arlobot_tx2
5b6b0ead86e54ec7ba5664f32263a1c8c27249c9
[ "MIT" ]
null
null
null
arlobot_common/src/common/utils.py
tslator/arlobot_tx2
5b6b0ead86e54ec7ba5664f32263a1c8c27249c9
[ "MIT" ]
null
null
null
arlobot_common/src/common/utils.py
tslator/arlobot_tx2
5b6b0ead86e54ec7ba5664f32263a1c8c27249c9
[ "MIT" ]
null
null
null
import rospy # Wraps Rate so that the hz parameter can be retrieved ''' class RateWrapper(rospy.Rate): def __init__(self, rate): self.super(self, RateWrapper).__init__(rate) self._hz = rate @attr.getter def Rate(self): return self._hz '''
17.4375
54
0.641577
37
279
4.567568
0.567568
0.142012
0
0
0
0
0
0
0
0
0
0
0.250896
279
16
55
17.4375
0.808612
0.18638
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
f6ceb83178b7c8b4ff2b9f133bd2f18c84b420ff
247
py
Python
output/models/nist_data/atomic/any_uri/schema_instance/nistschema_sv_iv_atomic_any_uri_pattern_1_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/nist_data/atomic/any_uri/schema_instance/nistschema_sv_iv_atomic_any_uri_pattern_1_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/nist_data/atomic/any_uri/schema_instance/nistschema_sv_iv_atomic_any_uri_pattern_1_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.nist_data.atomic.any_uri.schema_instance.nistschema_sv_iv_atomic_any_uri_pattern_1_xsd.nistschema_sv_iv_atomic_any_uri_pattern_1 import NistschemaSvIvAtomicAnyUriPattern1 __all__ = [ "NistschemaSvIvAtomicAnyUriPattern1", ]
41.166667
189
0.890688
31
247
6.387097
0.612903
0.136364
0.181818
0.20202
0.343434
0.343434
0.343434
0.343434
0
0
0
0.017167
0.05668
247
5
190
49.4
0.832618
0
0
0
0
0
0.137652
0.137652
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f6df8963235e108bc0bff3c2625f3b6d7e38a0ef
6,634
py
Python
autolens/lens/plotters/sensitivity_fit_plotters.py
AshKelly/PyAutoLens
043795966338a655339e61782253ad67cc3c14e6
[ "MIT" ]
null
null
null
autolens/lens/plotters/sensitivity_fit_plotters.py
AshKelly/PyAutoLens
043795966338a655339e61782253ad67cc3c14e6
[ "MIT" ]
null
null
null
autolens/lens/plotters/sensitivity_fit_plotters.py
AshKelly/PyAutoLens
043795966338a655339e61782253ad67cc3c14e6
[ "MIT" ]
null
null
null
from matplotlib import pyplot as plt from autolens.data.array.plotters import plotter_util from autolens.lens.plotters import lens_plotter_util def plot_fit_subplot( fit, should_plot_mask=True, extract_array_from_mask=False, zoom_around_mask=False, positions=None, should_plot_image_plane_pix=True, ...
55.747899
127
0.763793
911
6,634
5.194292
0.127333
0.035926
0.040575
0.063398
0.725275
0.715554
0.715554
0.699704
0.699704
0.676458
0
0.006553
0.14893
6,634
119
128
55.747899
0.831562
0.050347
0
0.62069
0
0
0.00622
0
0
0
0
0
0
1
0.011494
false
0
0.034483
0
0.045977
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f6e3b5434694dec731a462ebd8a18fdc17ccf073
1,044
py
Python
lcm/lcm_optimal_euclidean.py
mingrammer/funmath
c9b6105c0058519e8ed3c7ce155030b4ecdfd3db
[ "MIT" ]
106
2017-07-15T18:48:56.000Z
2021-03-10T07:45:06.000Z
lcm/lcm_optimal_euclidean.py
stzminjae/funmath
3319b8ccfb67346a410bc2e40ca3398288c03244
[ "MIT" ]
7
2017-07-16T01:48:37.000Z
2018-02-16T12:57:37.000Z
lcm/lcm_optimal_euclidean.py
stzminjae/funmath
3319b8ccfb67346a410bc2e40ca3398288c03244
[ "MIT" ]
13
2017-07-15T19:47:00.000Z
2020-10-19T08:17:34.000Z
def gcd_optimal_euclidean(a: int, b: int) -> int: if b == 0: return a a, b = b, a % b return gcd_optimal_euclidean(a, b) def lcm_optimal_euclidean(a: int, b: int) -> int: """Return a LCM (Lowest Common Multiple) of given two integers using euclidean algorithm This function uses euclidean ...
29.828571
114
0.60728
173
1,044
3.572254
0.375723
0.20712
0.153722
0.097087
0.239482
0.087379
0.087379
0
0
0
0
0.099869
0.271073
1,044
34
115
30.705882
0.712221
0.66092
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.625
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
f6e9f1782f7b241fd84b50ed1c1ec48c21643259
1,357
py
Python
src/peering/azext_peering/_client_factory.py
michimune/azure-cli-extensions
697e2c674e5c0825d44c72d714542fe01331e107
[ "MIT" ]
1
2022-03-22T15:02:32.000Z
2022-03-22T15:02:32.000Z
src/peering/azext_peering/_client_factory.py
michimune/azure-cli-extensions
697e2c674e5c0825d44c72d714542fe01331e107
[ "MIT" ]
1
2018-11-19T05:12:58.000Z
2018-11-19T05:12:58.000Z
src/peering/azext_peering/_client_factory.py
michimune/azure-cli-extensions
697e2c674e5c0825d44c72d714542fe01331e107
[ "MIT" ]
1
2021-06-03T19:31:10.000Z
2021-06-03T19:31:10.000Z
# -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # --------------------------------------------------------------------...
28.87234
94
0.67944
168
1,357
5.053571
0.279762
0.141343
0.141343
0.176678
0.375736
0.375736
0.375736
0.28033
0.157833
0
0
0
0.113486
1,357
46
95
29.5
0.705736
0.247605
0
0
0
0
0
0
0
0
0
0
0
1
0.454545
false
0
0.090909
0.409091
1
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
1
0
0
0
1
0
0
0
3
f6f4cecab3f86f240ef8bcd0d1c2f63037857663
910
py
Python
API/main/migrations/0006_auto_20200414_0908.py
Ju99ernaut/grapeflowAPI
0d6599775e5b666ad735160b65262624fea0bf99
[ "MIT" ]
null
null
null
API/main/migrations/0006_auto_20200414_0908.py
Ju99ernaut/grapeflowAPI
0d6599775e5b666ad735160b65262624fea0bf99
[ "MIT" ]
null
null
null
API/main/migrations/0006_auto_20200414_0908.py
Ju99ernaut/grapeflowAPI
0d6599775e5b666ad735160b65262624fea0bf99
[ "MIT" ]
null
null
null
# Generated by Django 3.0.3 on 2020-04-14 07:08 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('main', '0005_auto_20200413_2105'), ] operations = [ migrations.AlterField( model_name='block', ...
30.333333
113
0.60989
100
910
5.46
0.39
0.07326
0.102564
0.161172
0.600733
0.600733
0.600733
0.600733
0.600733
0.600733
0
0.050222
0.256044
910
29
114
31.37931
0.756278
0.049451
0
0.521739
1
0
0.117034
0.026651
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f6fa50ab9078aecf83c16af63647f98d64bc3aa7
106
py
Python
super_material/__init__.py
pleroux0/super_material
b64d74afdeab7639dd1b220f8b23ade22d87c481
[ "BSD-2-Clause" ]
3
2020-10-20T00:37:59.000Z
2021-07-17T12:59:52.000Z
super_material/__init__.py
pleroux0/super_material
b64d74afdeab7639dd1b220f8b23ade22d87c481
[ "BSD-2-Clause" ]
null
null
null
super_material/__init__.py
pleroux0/super_material
b64d74afdeab7639dd1b220f8b23ade22d87c481
[ "BSD-2-Clause" ]
2
2020-10-02T14:31:07.000Z
2021-08-15T10:00:29.000Z
__version__ = "1.0.0a" __author__ = "Paul le Roux" from .conductivity import * from .gap_energy import *
17.666667
27
0.726415
15
106
4.533333
0.866667
0
0
0
0
0
0
0
0
0
0
0.033708
0.160377
106
5
28
21.2
0.730337
0
0
0
0
0
0.169811
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
100e34c61df61bc865eac40d88e70b3034c2db4a
276
py
Python
clean.py
rayjustinhuang/BitesofPy
03b694c5259ff607621419d9677c5caff90a6057
[ "MIT" ]
null
null
null
clean.py
rayjustinhuang/BitesofPy
03b694c5259ff607621419d9677c5caff90a6057
[ "MIT" ]
null
null
null
clean.py
rayjustinhuang/BitesofPy
03b694c5259ff607621419d9677c5caff90a6057
[ "MIT" ]
null
null
null
def remove_punctuation(input_string): """Return a str with punctuation chars stripped out""" tran_table = str.maketrans('','', '!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~') output_string = input_string.translate(tran_table) return output_string pass
30.666667
75
0.594203
28
276
5.571429
0.642857
0.141026
0
0
0
0
0
0
0
0
0
0
0.195652
276
9
76
30.666667
0.702703
0.173913
0
0
0
0
0.03139
0
0
0
0
0
0
1
0.2
false
0.2
0
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
100f59c47d54d766ba3ff5cc46102e95afc2ab33
431
py
Python
bflib/spells/magicuser/darkvision.py
ChrisLR/BasicDungeonRL
b293d40bd9a0d3b7aec41b5e1d58441165997ff1
[ "MIT" ]
3
2017-10-28T11:28:38.000Z
2018-09-12T09:47:00.000Z
bflib/spells/magicuser/darkvision.py
ChrisLR/BasicDungeonRL
b293d40bd9a0d3b7aec41b5e1d58441165997ff1
[ "MIT" ]
null
null
null
bflib/spells/magicuser/darkvision.py
ChrisLR/BasicDungeonRL
b293d40bd9a0d3b7aec41b5e1d58441165997ff1
[ "MIT" ]
null
null
null
from bflib import units from bflib.characters import classes from bflib.spells import listing from bflib.spells.base import Spell from bflib.spells.duration import SpellDuration from bflib.spells.range import Touch @listing.register_spell class Darkvision(Spell): name = "Darkvision" class_level_map = { ...
25.352941
62
0.763341
56
431
5.785714
0.446429
0.166667
0.185185
0
0
0
0
0
0
0
0
0.005571
0.167053
431
16
63
26.9375
0.896936
0
0
0
0
0
0.023202
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.785714
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
63f2138c7f6ecd04713fbbea646ddb3dcb6f6400
93
py
Python
ch06/matplotlib_demo.py
jabrena/space-math
313d66f48ef642d7ce4d2c9765d55bc4bdade17b
[ "Apache-2.0" ]
1
2021-07-26T18:40:15.000Z
2021-07-26T18:40:15.000Z
ch06/matplotlib_demo.py
jabrena/space-math
313d66f48ef642d7ce4d2c9765d55bc4bdade17b
[ "Apache-2.0" ]
24
2021-07-10T15:31:05.000Z
2022-03-17T06:43:36.000Z
ch06/matplotlib_demo.py
jabrena/space-math
313d66f48ef642d7ce4d2c9765d55bc4bdade17b
[ "Apache-2.0" ]
null
null
null
import matplotlib.pyplot as plt plt.plot([1,23,2,4]) plt.ylabel('some numbers') plt.show()
13.285714
31
0.709677
17
93
3.882353
0.823529
0
0
0
0
0
0
0
0
0
0
0.060241
0.107527
93
6
32
15.5
0.73494
0
0
0
0
0
0.129032
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
120b99a0975e33345360483fef0a78b371c52141
2,633
py
Python
ai/split-chinese/jieba-base.py
veaba/ncov
6019f6b90761fd39363f8a7182ffcee22b9cb7ed
[ "MIT" ]
288
2020-01-21T06:12:03.000Z
2022-01-16T08:03:13.000Z
ai/split-chinese/jieba-base.py
veaba/ncov
6019f6b90761fd39363f8a7182ffcee22b9cb7ed
[ "MIT" ]
26
2020-01-20T05:07:31.000Z
2022-03-12T00:24:56.000Z
ai/split-chinese/jieba-base.py
veaba/ncov
6019f6b90761fd39363f8a7182ffcee22b9cb7ed
[ "MIT" ]
48
2020-01-22T09:05:59.000Z
2022-01-16T08:03:11.000Z
# encoding=utf-8 import jieba.posseg as psg # string="来到北京清华大学" string ="""  4月12日0—24时,31个省(自治区、直辖市)和新疆生产建设兵团报告新增确诊病例108例,其中98例为境外输入病例,10例为本土病例(黑龙江7例,广东3例);新增死亡病例2例(湖北2例);新增疑似病例6例,均为境外输入病例(黑龙江4例,上海2例)。   当日新增治愈出院病例88例,解除医学观察的密切接触者1092人,重症病例减少18例。   境外输入现有确诊病例867例(含重症病例38例),现有疑似病例72例。累计确诊病例1378例,累计治愈出院病例511例,无死亡病例。 ...
65.825
179
0.550703
429
2,633
3.377622
0.463869
0.027605
0.020704
0.020704
0.093858
0.075224
0.046239
0.031746
0
0
0
0.161033
0.191037
2,633
40
180
65.825
0.51831
0.029244
0
0
0
0.307692
0.866667
0.838889
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
120dee089b6cc07493a0c81d69883ab91214ae37
187
py
Python
storage/urls.py
Robin8Put/pmes
338bec94162098f05b75bad035417317e1252fd2
[ "Apache-2.0" ]
5
2018-07-31T07:37:09.000Z
2019-05-27T04:40:38.000Z
storage/urls.py
Robin8Put/pmes
338bec94162098f05b75bad035417317e1252fd2
[ "Apache-2.0" ]
4
2018-08-01T11:11:54.000Z
2022-03-11T23:20:53.000Z
storage/urls.py
Robin8Put/pmes
338bec94162098f05b75bad035417317e1252fd2
[ "Apache-2.0" ]
5
2018-06-09T07:42:04.000Z
2018-12-28T21:15:52.000Z
import tornado.web import settings import views storage_router = tornado.web.Application([ (settings.ENDPOINTS["storage"], views.StorageHandler) ], debug=settings.DEBUG)
26.714286
62
0.73262
20
187
6.8
0.55
0.147059
0
0
0
0
0
0
0
0
0
0
0.160428
187
7
63
26.714286
0.866242
0
0
0
0
0
0.037234
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
12280aa5408dc93a80e62d7f0a71a4647ad5b226
5,088
py
Python
branches/old/python/ansi-C-generator/generate_source_a4d.py
jeffhammond/spaghetty
e2dbe2dd2621110b899b21dff590906a579e8bf5
[ "BSD-2-Clause" ]
1
2018-01-05T16:13:08.000Z
2018-01-05T16:13:08.000Z
branches/old/python/ansi-C-generator/generate_source_a4d.py
jeffhammond/spaghetty
e2dbe2dd2621110b899b21dff590906a579e8bf5
[ "BSD-2-Clause" ]
null
null
null
branches/old/python/ansi-C-generator/generate_source_a4d.py
jeffhammond/spaghetty
e2dbe2dd2621110b899b21dff590906a579e8bf5
[ "BSD-2-Clause" ]
null
null
null
import fileinput import string import sys import os c_compiler = 'icc' c_link_flags = '-g -O1 -xT -march=core2 -mtune=core2 -align'# -strict-ansi' c_opt_flags = '-g -O3 -xT -march=core2 -mtune=core2 -funroll-loops -align'# -strict-ansi' fortran_compiler = 'ifort' fortran_link_flags = '-g -O1 -xT -march=core2 -mtune=co...
47.551402
128
0.584906
824
5,088
3.461165
0.139563
0.171809
0.247195
0.313114
0.595722
0.525947
0.427419
0.370968
0.319776
0.265428
0
0.03175
0.17669
5,088
106
129
48
0.649081
0.338836
0
0
0
0.014493
0.289016
0.047119
0
0
0
0
0
0
null
null
0
0.057971
null
null
0.014493
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
12309dafba73623c841ad45a9bf13a6868d28f00
182
py
Python
scripts/dir.py
DEMON1A/EasyShell
d37589b616f844c4d6f01ad594642033463f346b
[ "MIT" ]
3
2021-02-02T15:07:27.000Z
2021-05-21T10:02:08.000Z
scripts/dir.py
DEMON1A/EasyShell
d37589b616f844c4d6f01ad594642033463f346b
[ "MIT" ]
7
2021-02-03T11:14:04.000Z
2021-02-18T19:39:25.000Z
scripts/dir.py
DEMON1A/EasyShell
d37589b616f844c4d6f01ad594642033463f346b
[ "MIT" ]
null
null
null
from os import system , name def Run(Input): if name == "nt": # Windows Machine system('dir') else: # Linux/Unix Machine system('ls')
20.222222
29
0.505495
21
182
4.380952
0.809524
0.282609
0
0
0
0
0
0
0
0
0
0
0.379121
182
9
30
20.222222
0.814159
0.186813
0
0
0
0
0.050725
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1266741504356d2c9f8af5c310226fc914cad6c6
663
py
Python
homedisplay/info_internet_connection/views.py
ojarva/home-info-display
873d022308732baff94d0dc2381cf9dc7dce23b7
[ "BSD-3-Clause" ]
1
2016-11-28T04:35:06.000Z
2016-11-28T04:35:06.000Z
homedisplay/info_internet_connection/views.py
ojarva/home-info-display
873d022308732baff94d0dc2381cf9dc7dce23b7
[ "BSD-3-Clause" ]
160
2015-01-01T20:59:29.000Z
2016-04-25T13:36:52.000Z
homedisplay/info_internet_connection/views.py
ojarva/home-info-display
873d022308732baff94d0dc2381cf9dc7dce23b7
[ "BSD-3-Clause" ]
1
2015-02-25T21:24:01.000Z
2015-02-25T21:24:01.000Z
from .models import get_latest_serialized from django.core import serializers from django.http import HttpResponse from django.views.generic import View from django.conf import settings import json class GetJson(View): def get(self, _): # pylint:disable=no-self-use return HttpResponse(json.dumps(get_late...
30.136364
97
0.720965
82
663
5.682927
0.414634
0.085837
0.081545
0.060086
0.154506
0.154506
0.154506
0.154506
0.154506
0
0
0
0.182504
663
21
98
31.571429
0.859779
0.07994
0
0.125
0
0
0.075783
0
0
0
0
0
0
1
0.125
false
0.0625
0.375
0.0625
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
126b7d17b9178997cd2b9b067f78352641394f99
375
py
Python
supervised/regression/ridgeRegression.py
SaadChaouki/ml-eli5-cli5
625a69edadf4737e41c58193873cf8a54273d7f0
[ "MIT" ]
1
2021-05-04T19:53:12.000Z
2021-05-04T19:53:12.000Z
supervised/regression/ridgeRegression.py
SaadChaouki/ml-eli5-cli5
625a69edadf4737e41c58193873cf8a54273d7f0
[ "MIT" ]
null
null
null
supervised/regression/ridgeRegression.py
SaadChaouki/ml-eli5-cli5
625a69edadf4737e41c58193873cf8a54273d7f0
[ "MIT" ]
null
null
null
from supervised.base.baseRegression import BaseRegression from processing.regularization import L2Regularization class RidgeRegression(BaseRegression): def __init__(self, iterations=5000, learning_rate=.01, alpha=1): super(RidgeRegression, self).__init__(iterations=iterations, learning_rate=learning_rate)...
41.666667
97
0.808
38
375
7.684211
0.552632
0.123288
0
0
0
0
0
0
0
0
0
0.027108
0.114667
375
8
98
46.875
0.85241
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
89ca9e1945a597daeaa0428e522ece404164bfa6
3,819
py
Python
fully_colorization/preprocess/change_conv2d.py
HamsterBiz/Automatic-Video-Colorization-1
e110650d130d3eadfe29073bf445513d10a5b3f6
[ "MIT" ]
3
2020-06-11T13:10:52.000Z
2022-02-14T05:44:23.000Z
fully_colorization/preprocess/change_conv2d.py
HamsterBiz/Automatic-Video-Colorization-1
e110650d130d3eadfe29073bf445513d10a5b3f6
[ "MIT" ]
1
2022-03-12T00:28:57.000Z
2022-03-12T00:28:57.000Z
fully_colorization/preprocess/change_conv2d.py
HamsterBiz/Automatic-Video-Colorization-1
e110650d130d3eadfe29073bf445513d10a5b3f6
[ "MIT" ]
2
2020-10-31T11:54:53.000Z
2021-03-26T10:57:34.000Z
# -*- coding: utf-8 -*- # pretrained model parameter에서 slim.conv2d의 variable들을 tf.layers.conv2d로 바꿔줌. old_check_file = "ckpt_woflow/model.ckpt" #기존 파일이름 new_check_file = "ckpt_woflow/model_renamed.ckpt" # 저장할 새로운 파일이름 import tensorflow as tf tf.compat.v1.disable_eager_execution() vars_to_rename = { "individual/g_co...
53.788732
78
0.758576
603
3,819
4.419569
0.131012
0.363227
0.148593
0.064165
0.177111
0.159099
0
0
0
0
0
0.053473
0.098979
3,819
70
79
54.557143
0.721011
0.030636
0
0
0
0
0.676765
0.676765
0
0
0
0
0
1
0
false
0
0.015873
0
0.015873
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
89cb794317763c2361b3ee494c9f942ea5e6b4de
23
py
Python
pyshinobicctvapi/const.py
xannor/yshinobicctvapi
6f96ef103ea10e9cfe4897b690430ea5480d98ba
[ "Unlicense" ]
null
null
null
pyshinobicctvapi/const.py
xannor/yshinobicctvapi
6f96ef103ea10e9cfe4897b690430ea5480d98ba
[ "Unlicense" ]
null
null
null
pyshinobicctvapi/const.py
xannor/yshinobicctvapi
6f96ef103ea10e9cfe4897b690430ea5480d98ba
[ "Unlicense" ]
null
null
null
STREAM_MJPEG = "mjpeg"
11.5
22
0.73913
3
23
5.333333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.130435
23
1
23
23
0.8
0
0
0
0
0
0.217391
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
89d177050e0f9c43ee5d6213695249987e195575
1,407
py
Python
test/test_tags_api.py
hi-artem/twistlock-py
9888e905f5b9d3cc00f9b84244588c0992f8e4f4
[ "RSA-MD" ]
null
null
null
test/test_tags_api.py
hi-artem/twistlock-py
9888e905f5b9d3cc00f9b84244588c0992f8e4f4
[ "RSA-MD" ]
null
null
null
test/test_tags_api.py
hi-artem/twistlock-py
9888e905f5b9d3cc00f9b84244588c0992f8e4f4
[ "RSA-MD" ]
null
null
null
# coding: utf-8 """ Prisma Cloud Compute API No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: 21.04.439 Generated by: https://openapi-generator.tech """ from __future__ import absolute_impor...
20.1
124
0.656006
195
1,407
4.358974
0.312821
0.070588
0.127059
0.103529
0.451765
0.390588
0.338824
0.284706
0.115294
0
0
0.027778
0.257996
1,407
69
125
20.391304
0.786398
0.405117
0
0.291667
1
0
0.010309
0
0
0
0
0
0
1
0.333333
false
0.291667
0.208333
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
89dcd41c1b43c62ebd5fac901007bae71bac0d77
385
py
Python
dbbackup/utils.py
lefeverd/dbbackup
cbd9f09567efa7e34a450dac462875582f8e02b2
[ "Apache-2.0" ]
null
null
null
dbbackup/utils.py
lefeverd/dbbackup
cbd9f09567efa7e34a450dac462875582f8e02b2
[ "Apache-2.0" ]
1
2021-06-02T00:38:37.000Z
2021-06-02T00:38:37.000Z
dbbackup/utils.py
lefeverd/dbbackup
cbd9f09567efa7e34a450dac462875582f8e02b2
[ "Apache-2.0" ]
null
null
null
import os def get_file_size(absolute_path): return os.stat(absolute_path).st_size def sizeof_fmt(num, suffix='B'): # Thanks https://stackoverflow.com/a/1094933 for unit in ['', 'Ki', 'Mi', 'Gi', 'Ti', 'Pi', 'Ei', 'Zi']: if abs(num) < 1024.0: return "%3.1f%s%s" % (num, unit, suffix) ...
25.666667
63
0.561039
60
385
3.5
0.666667
0.114286
0.07619
0.133333
0
0
0
0
0
0
0
0.067797
0.233766
385
14
64
27.5
0.644068
0.109091
0
0
0
0
0.099707
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
89f93f80f884d8be4061c9cfd378e03b3f3d6fbb
214
py
Python
bitmovin_api_sdk/models/file_input_stream_type.py
hofmannben/bitmovin-api-sdk-python
71aae5cd8a31aa0ad54ca07a6f546a624e8686a9
[ "MIT" ]
null
null
null
bitmovin_api_sdk/models/file_input_stream_type.py
hofmannben/bitmovin-api-sdk-python
71aae5cd8a31aa0ad54ca07a6f546a624e8686a9
[ "MIT" ]
1
2020-07-06T07:13:43.000Z
2020-07-06T07:13:43.000Z
bitmovin_api_sdk/models/file_input_stream_type.py
hofmannben/bitmovin-api-sdk-python
71aae5cd8a31aa0ad54ca07a6f546a624e8686a9
[ "MIT" ]
1
2020-07-06T07:07:26.000Z
2020-07-06T07:07:26.000Z
# coding: utf-8 from enum import Enum from six import string_types, iteritems from bitmovin_api_sdk.common.poscheck import poscheck_model class FileInputStreamType(Enum): TTML = "TTML" WEBVTT = "WEBVTT"
19.454545
59
0.766355
29
214
5.517241
0.689655
0
0
0
0
0
0
0
0
0
0
0.005587
0.163551
214
10
60
21.4
0.888268
0.060748
0
0
0
0
0.050251
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
d64e30f234f26d2076908cbc1a63b9953e0bde12
694
py
Python
thread_support.py
loretoparisi/python-threading
f06f809fd830e3e930bbc748df6f6217e03ad6c2
[ "MIT" ]
4
2019-05-23T19:55:09.000Z
2019-06-12T19:24:12.000Z
thread_support.py
loretoparisi/python-threading
f06f809fd830e3e930bbc748df6f6217e03ad6c2
[ "MIT" ]
1
2019-09-04T13:41:08.000Z
2019-09-23T16:29:31.000Z
thread_support.py
loretoparisi/python-threading
f06f809fd830e3e930bbc748df6f6217e03ad6c2
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # -*- coding: utf-8 -*- # # Copyright (c) 2019 loretoparisi@gmail.com # from functools import wraps from .bounded_pool_executor import BoundedThreadPoolExecutor from .bounded_pool_executor import BoundedProcessPoolExecutor _DEFAULT_POOL = BoundedThreadPoolExecutor(max_workers=5) _PROCESS_POOL = Bou...
25.703704
69
0.729107
84
694
5.857143
0.440476
0.081301
0.130081
0.093496
0.455285
0.337398
0.337398
0.211382
0.211382
0.211382
0
0.013629
0.154179
694
26
70
26.692308
0.824532
0.116715
0
0.4
0
0
0
0
0
0
0
0
0
1
0.266667
false
0
0.2
0.133333
0.733333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3