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
2be0cae67ce250b1e1e2b94f86353b7e021bc29f
214
py
Python
autoapi/mappers/python/__init__.py
mgaitan/sphinx-autoapi
0b947a028e10b580936f8e3c32ddc2468479e72d
[ "MIT" ]
197
2019-06-29T07:59:40.000Z
2022-03-13T14:10:54.000Z
autoapi/mappers/python/__init__.py
mgaitan/sphinx-autoapi
0b947a028e10b580936f8e3c32ddc2468479e72d
[ "MIT" ]
158
2019-07-04T09:47:12.000Z
2022-03-30T06:12:34.000Z
autoapi/mappers/python/__init__.py
mgaitan/sphinx-autoapi
0b947a028e10b580936f8e3c32ddc2468479e72d
[ "MIT" ]
91
2019-07-02T17:52:32.000Z
2022-03-29T12:34:11.000Z
from .mapper import PythonSphinxMapper from .objects import ( PythonClass, PythonFunction, PythonModule, PythonMethod, PythonPackage, PythonAttribute, PythonData, PythonException, )
17.833333
38
0.714953
15
214
10.2
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.228972
214
11
39
19.454545
0.927273
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.181818
0
0.181818
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
2be2bf3fd734c5eb9c01d384383bd661d3c78cf2
113
py
Python
regex/long_word.py
marioymario/scripts
1bd61bc0beb912cce1c85997e3ecdb3fa0161167
[ "MIT" ]
null
null
null
regex/long_word.py
marioymario/scripts
1bd61bc0beb912cce1c85997e3ecdb3fa0161167
[ "MIT" ]
1
2021-07-22T20:54:57.000Z
2021-07-22T20:54:57.000Z
regex/long_word.py
marioymario/scripts
1bd61bc0beb912cce1c85997e3ecdb3fa0161167
[ "MIT" ]
null
null
null
import re def long_word(text): pattern = r"\w{7,}" result = re.findall(pattern, text) return result
16.142857
38
0.637168
17
113
4.176471
0.764706
0
0
0
0
0
0
0
0
0
0
0.011494
0.230089
113
6
39
18.833333
0.804598
0
0
0
0
0
0.053571
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
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
2bff38ff5aafdeeacdb48c82c43ea5844bb98234
454
py
Python
niwidgets/__init__.py
jcreinhold/niwidgets
c684f965073fa74ff3e3bc4d8c9a45bf631778bc
[ "Apache-2.0" ]
null
null
null
niwidgets/__init__.py
jcreinhold/niwidgets
c684f965073fa74ff3e3bc4d8c9a45bf631778bc
[ "Apache-2.0" ]
null
null
null
niwidgets/__init__.py
jcreinhold/niwidgets
c684f965073fa74ff3e3bc4d8c9a45bf631778bc
[ "Apache-2.0" ]
null
null
null
"""Top-level package for niwidgets.""" __author__ = """Niwidgets developers, Jacob Reinhold (this verison)""" __email__ = 'jcreinhold@gmail.com' __version__ = '0.2.3' from niwidgets.example_data import example_atlas, example_zmap, example_t1 # noqa: F401 from niwidgets.niwidget_volume import NiftiWidget # noqa: F40...
41.272727
88
0.788546
56
454
6.071429
0.625
0.152941
0.105882
0.185294
0.170588
0
0
0
0
0
0
0.04
0.118943
454
10
89
45.4
0.81
0.169604
0
0
0
0
0.206522
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
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
a62649d0c61f447128d03bde244ee62b8d0868ff
142
py
Python
2019-10-23-ex-05.py
mpassosbr/python3
ff83f1f6f787206e49696134a99d68190606ed4f
[ "MIT" ]
null
null
null
2019-10-23-ex-05.py
mpassosbr/python3
ff83f1f6f787206e49696134a99d68190606ed4f
[ "MIT" ]
null
null
null
2019-10-23-ex-05.py
mpassosbr/python3
ff83f1f6f787206e49696134a99d68190606ed4f
[ "MIT" ]
null
null
null
total = 0 lista = [3, 41, 12, 9, 74, 15] for x in lista: total = total + x print(lista) print("Valor total do conteúdo da lista:", total)
20.285714
49
0.633803
26
142
3.461538
0.653846
0.222222
0
0
0
0
0
0
0
0
0
0.1
0.225352
142
6
50
23.666667
0.718182
0
0
0
0
0
0.232394
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
a628c751275acd944a52939868c2b15c9c3c8b1a
343
py
Python
tests/demo/demoproject/models.py
saxix/django-log-deletion
60891d9e7d30e7c4361d48e96bc914da0b162eb6
[ "BSD-3-Clause" ]
null
null
null
tests/demo/demoproject/models.py
saxix/django-log-deletion
60891d9e7d30e7c4361d48e96bc914da0b162eb6
[ "BSD-3-Clause" ]
null
null
null
tests/demo/demoproject/models.py
saxix/django-log-deletion
60891d9e7d30e7c4361d48e96bc914da0b162eb6
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from django.contrib.auth.models import User from django.db import models class DemoModel(models.Model): user = models.ForeignKey(User) name = models.CharField(max_length=10) class DemoModel2(models.Model): name = models.Ch...
22.866667
56
0.755102
46
343
5.456522
0.543478
0.079681
0.151394
0.175299
0.239044
0.239044
0
0
0
0
0
0.020339
0.139942
343
14
57
24.5
0.830508
0.061224
0
0.25
0
0
0
0
0
0
0
0
0
1
0
false
0
0.375
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
a64bc3a2dc0db76a40f3a5b75d0e09018d5b86f0
3,517
py
Python
tests/python/ConstantsTest.py
chrisbrejon/OpenColorIO
2bb253d3c8cad4ce6e9337f403c737b182957304
[ "BSD-3-Clause" ]
2
2015-01-23T09:26:29.000Z
2020-11-21T08:16:27.000Z
tests/python/ConstantsTest.py
lgritz/OpenColorIO
77e7a55d1dbca38974337fd7b98aff927426a742
[ "BSD-3-Clause" ]
null
null
null
tests/python/ConstantsTest.py
lgritz/OpenColorIO
77e7a55d1dbca38974337fd7b98aff927426a742
[ "BSD-3-Clause" ]
2
2021-08-04T22:07:38.000Z
2021-08-06T20:23:03.000Z
# SPDX-License-Identifier: BSD-3-Clause # Copyright Contributors to the OpenColorIO Project. import unittest, os, sys import PyOpenColorIO as OCIO class ConstantsTest(unittest.TestCase): def test_interface(self): # LoggingLevel self.assertEqual(OCIO.LOGGING_LEVEL_NONE, "none") self.asser...
45.089744
87
0.71652
390
3,517
6.184615
0.258974
0.292289
0.370232
0.08209
0.50539
0.173715
0.113184
0.058043
0
0
0
0.014221
0.180267
3,517
77
88
45.675325
0.822407
0.059141
0
0
0
0
0.096451
0
0
0
0
0
0.87037
1
0.018519
false
0
0.037037
0
0.074074
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
a65e33b07186cce21de00f4d4f49799c698d7cfa
132
py
Python
hello.py
hudayers24/cs3240-labdemo
0539755b20fd4ef7da65b037a8488b67a1cd88dc
[ "MIT" ]
null
null
null
hello.py
hudayers24/cs3240-labdemo
0539755b20fd4ef7da65b037a8488b67a1cd88dc
[ "MIT" ]
null
null
null
hello.py
hudayers24/cs3240-labdemo
0539755b20fd4ef7da65b037a8488b67a1cd88dc
[ "MIT" ]
null
null
null
#Hudson Ayers hra5th from helper import greeting if __name__ == '__main__': msg = "hello" greeting(msg) greeting(msg)
14.666667
27
0.674242
16
132
5.0625
0.75
0.271605
0
0
0
0
0
0
0
0
0
0.009804
0.227273
132
8
28
16.5
0.784314
0.143939
0
0.4
0
0
0.116071
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
a6904a6a7c3fb62921cc5c55a42c9197f37c0ff4
31
py
Python
autoagents/__init__.py
cgeller/WorldOnRails
d8aa9f7ae67a6b7b71a2fc5ba86bb2a44f221bef
[ "MIT" ]
108
2021-05-04T02:13:04.000Z
2022-03-24T02:11:55.000Z
autoagents/__init__.py
cgeller/WorldOnRails
d8aa9f7ae67a6b7b71a2fc5ba86bb2a44f221bef
[ "MIT" ]
45
2021-05-10T13:32:51.000Z
2022-03-23T07:23:19.000Z
autoagents/__init__.py
cgeller/WorldOnRails
d8aa9f7ae67a6b7b71a2fc5ba86bb2a44f221bef
[ "MIT" ]
22
2021-05-04T16:38:17.000Z
2022-03-25T16:40:00.000Z
__all__ = ['DummyController']
10.333333
29
0.709677
2
31
9
1
0
0
0
0
0
0
0
0
0
0
0
0.129032
31
3
29
10.333333
0.666667
0
0
0
0
0
0.5
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
a6c972f460327a35b1021c2e26197ab5d5f97fc6
126
py
Python
cirq-google/cirq_google/workflow/__init__.py
shivanth/Cirq
241695a3bb7dd696dfca1e992ceae5838ee95d4b
[ "Apache-2.0" ]
null
null
null
cirq-google/cirq_google/workflow/__init__.py
shivanth/Cirq
241695a3bb7dd696dfca1e992ceae5838ee95d4b
[ "Apache-2.0" ]
null
null
null
cirq-google/cirq_google/workflow/__init__.py
shivanth/Cirq
241695a3bb7dd696dfca1e992ceae5838ee95d4b
[ "Apache-2.0" ]
null
null
null
from cirq_google.workflow.quantum_executable import ( ExecutableSpec, QuantumExecutable, BitstringsMeasurement, )
21
53
0.785714
10
126
9.7
1
0
0
0
0
0
0
0
0
0
0
0
0.15873
126
5
54
25.2
0.915094
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
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
a6d6ce11d27b9924bce9483bb370bb0342acc724
3,788
py
Python
boto3_type_annotations/boto3_type_annotations/ecr/client.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
119
2018-12-01T18:20:57.000Z
2022-02-02T10:31:29.000Z
boto3_type_annotations/boto3_type_annotations/ecr/client.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
15
2018-11-16T00:16:44.000Z
2021-11-13T03:44:18.000Z
boto3_type_annotations/boto3_type_annotations/ecr/client.py
cowboygneox/boto3_type_annotations
450dce1de4e066b939de7eac2ec560ed1a7ddaa2
[ "MIT" ]
11
2019-05-06T05:26:51.000Z
2021-09-28T15:27:59.000Z
from typing import Optional from botocore.client import BaseClient from typing import Dict from typing import Union from botocore.paginate import Paginator from botocore.waiter import Waiter from typing import List class Client(BaseClient): def batch_check_layer_availability(self, repositoryName: str, layerDigest...
39.051546
187
0.687434
453
3,788
5.624724
0.18543
0.085165
0.103611
0.123626
0.605965
0.465463
0.449765
0.419545
0.395212
0.269623
0
0
0.215681
3,788
96
188
39.458333
0.857624
0
0
0.439394
0
0
0
0
0
0
0
0
0
1
0.439394
false
0.439394
0.106061
0
0.560606
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
a6daf4b07e1f37f4038a62cbff14205039c41c32
241
py
Python
packages/pyright-internal/src/tests/samples/final1.py
lipovsek/pytea
c536515a5e5947fac8871784323ba7eddc58956d
[ "MIT" ]
null
null
null
packages/pyright-internal/src/tests/samples/final1.py
lipovsek/pytea
c536515a5e5947fac8871784323ba7eddc58956d
[ "MIT" ]
null
null
null
packages/pyright-internal/src/tests/samples/final1.py
lipovsek/pytea
c536515a5e5947fac8871784323ba7eddc58956d
[ "MIT" ]
null
null
null
# This sample tests the handling of the @final class decorator. from typing import final @final class ClassA: pass # This should generate an error because ClassA is # decorated as final. class ClassB(ClassA): pass
16.066667
64
0.697095
33
241
5.090909
0.69697
0.178571
0
0
0
0
0
0
0
0
0
0
0.257261
241
14
65
17.214286
0.938547
0.53527
0
0.333333
1
0
0
0
0
0
0
0
0
1
0
true
0.333333
0.166667
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
5b26cbb08c0100cd783f5f2738068aa4780713d2
2,913
py
Python
league_api/types/ParticipantTimeline.py
cherez/league_api
9a53bd75c2db233f0ac2ba689397d66302d4af02
[ "MIT" ]
1
2017-05-10T14:06:52.000Z
2017-05-10T14:06:52.000Z
league_api/types/ParticipantTimeline.py
cherez/league_api
9a53bd75c2db233f0ac2ba689397d66302d4af02
[ "MIT" ]
null
null
null
league_api/types/ParticipantTimeline.py
cherez/league_api
9a53bd75c2db233f0ac2ba689397d66302d4af02
[ "MIT" ]
null
null
null
from league_api.api import ApiType from typing import List, Mapping class ParticipantTimeline(ApiType): lane: str = None # Participant's calculated lane. MID and BOT are legacy values. (Legal values: MID, MIDDLE, TOP, JUNGLE, BOT, BOTTOM) participantId: int = None csDiffPerMinDeltas: ...
35.52439
158
0.725026
358
2,913
5.664804
0.198324
0.06213
0.12426
0.110454
0.516765
0.421598
0.248521
0.123767
0.090237
0.090237
0
0
0.209063
2,913
81
159
35.962963
0.880208
0.218332
0
0.131148
0
0
0
0
0
0
0
0
0
1
0.262295
false
0
0.032787
0.131148
0.606557
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
5b291841f816da0298a2bd65047bdf70fba30735
210
py
Python
Mourse_courses/api_views.py
DarishkaAMS/Django_Projects-Mourse_catalog
d11606bc75b6887a260236a6546a4ea3ce050088
[ "MIT" ]
null
null
null
Mourse_courses/api_views.py
DarishkaAMS/Django_Projects-Mourse_catalog
d11606bc75b6887a260236a6546a4ea3ce050088
[ "MIT" ]
null
null
null
Mourse_courses/api_views.py
DarishkaAMS/Django_Projects-Mourse_catalog
d11606bc75b6887a260236a6546a4ea3ce050088
[ "MIT" ]
null
null
null
from django.http import JsonResponse from my_mourse.models import Mourse def home_page_view(request): my_title = "Welcome to Mourse Courses" data = {"title": my_title} return JsonResponse(data)
19.090909
42
0.742857
29
210
5.206897
0.655172
0.092715
0
0
0
0
0
0
0
0
0
0
0.180952
210
10
43
21
0.877907
0
0
0
0
0
0.142857
0
0
0
0
0
0
1
0.166667
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
5b2a37c11073775016b745354e5b61fe86bb864c
158
py
Python
backend/todolist/auth/routes.py
ElPapi42/flask-todo
526c5c397068754bfb67aac417558cbb7e640dfb
[ "MIT" ]
1
2021-07-30T11:24:59.000Z
2021-07-30T11:24:59.000Z
backend/todolist/auth/routes.py
ElPapi42/flask-todo
526c5c397068754bfb67aac417558cbb7e640dfb
[ "MIT" ]
5
2019-12-29T15:31:31.000Z
2021-05-10T22:25:27.000Z
backend/todolist/auth/routes.py
ElPapi42/flask-todo
526c5c397068754bfb67aac417558cbb7e640dfb
[ "MIT" ]
8
2019-12-22T18:33:50.000Z
2019-12-28T20:13:21.000Z
from flask_restful import Api from . import auth_bp from .controllers import Authenticate auth = Api(auth_bp) auth.add_resource(Authenticate, "/<handle>/")
19.75
45
0.78481
22
158
5.454545
0.545455
0.1
0
0
0
0
0
0
0
0
0
0
0.120253
158
8
45
19.75
0.863309
0
0
0
0
0
0.062893
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
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
5b2f005470e793a89ebef9b95a5e7c6979d57a25
786
py
Python
practice/classes/BankAccount.py
Efun/CyberPatriotTutoring
87b77df2577af2726b99a99f06cd6353e59938a5
[ "MIT" ]
null
null
null
practice/classes/BankAccount.py
Efun/CyberPatriotTutoring
87b77df2577af2726b99a99f06cd6353e59938a5
[ "MIT" ]
null
null
null
practice/classes/BankAccount.py
Efun/CyberPatriotTutoring
87b77df2577af2726b99a99f06cd6353e59938a5
[ "MIT" ]
null
null
null
class BankAccount: #properties userName = "" password = "" balance = 0.0 isLoggedIn = False #actions def __init__(self, userName, password, balance): self.userName = userName self.password = password self.balance = balance #withdraw def withdraw(self, withdr...
23.117647
84
0.615776
83
786
5.783133
0.409639
0.091667
0.095833
0
0
0
0
0
0
0
0
0.00365
0.302799
786
34
85
23.117647
0.872263
0.16285
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0.25
0
0.05
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
5b543b7078f5e38b79ce21d1bfd190637d939827
96
py
Python
slice-scripts/monit.config.example.py
rickmcgeer/geni-expt-engine
9ede9f426113678b7889fd4b3dd4ec99e262bd98
[ "MIT" ]
null
null
null
slice-scripts/monit.config.example.py
rickmcgeer/geni-expt-engine
9ede9f426113678b7889fd4b3dd4ec99e262bd98
[ "MIT" ]
null
null
null
slice-scripts/monit.config.example.py
rickmcgeer/geni-expt-engine
9ede9f426113678b7889fd4b3dd4ec99e262bd98
[ "MIT" ]
null
null
null
monitUsername='sample1' monitPassword='sample2' monitURL='http://sample3' monitDir='/tmp/.monit'
24
25
0.78125
10
96
7.5
1
0
0
0
0
0
0
0
0
0
0
0.032258
0.03125
96
4
26
24
0.774194
0
0
0
0
0
0.402062
0
0
0
0
0
0
1
0
false
0.25
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
5b65634917b2ab3d0b8fb8e04c3f9a241d34d56f
211
py
Python
portal/exceptions.py
QthCN/opsguide_portal
595e0157293265c317123c638f75dbeffb1dc45d
[ "Apache-2.0" ]
null
null
null
portal/exceptions.py
QthCN/opsguide_portal
595e0157293265c317123c638f75dbeffb1dc45d
[ "Apache-2.0" ]
null
null
null
portal/exceptions.py
QthCN/opsguide_portal
595e0157293265c317123c638f75dbeffb1dc45d
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- class AuthFailedException(Exception): """认证失败""" class RPCFailedException(Exception): """和Controller交互出错""" class RPCContentException(Exception): """Controller处理消息异常"""
15.071429
37
0.677725
15
211
9.533333
0.733333
0
0
0
0
0
0
0
0
0
0
0.005587
0.151659
211
13
38
16.230769
0.793296
0.28436
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
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
1
0
0
0
1
0
0
3
5b781ae77097755a1af298acf2ea9ad5bb314992
1,082
py
Python
credentials.py
kingsam91/Password_Locker
8c48e88fb70f92a57d53bcaf3cf2579b89db31f5
[ "Unlicense" ]
null
null
null
credentials.py
kingsam91/Password_Locker
8c48e88fb70f92a57d53bcaf3cf2579b89db31f5
[ "Unlicense" ]
null
null
null
credentials.py
kingsam91/Password_Locker
8c48e88fb70f92a57d53bcaf3cf2579b89db31f5
[ "Unlicense" ]
null
null
null
class Credentials: ''' Class to generate credential for users ''' credential_list = [] def __init__(self, user_name, password, account_type): self.user_name = user_name self.password = password self.account_type = account_type def save_credentials(self): ""...
30.055556
74
0.603512
108
1,082
5.833333
0.37963
0.177778
0.119048
0.069841
0.142857
0.142857
0.142857
0
0
0
0
0
0.321627
1,082
36
75
30.055556
0.858311
0.2061
0
0.105263
1
0
0.026382
0
0
0
0
0
0
1
0.210526
false
0.105263
0
0
0.421053
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
5b916dd144d29f6bdedab928d632b5be656abfba
305
py
Python
apps/app_mixin/controllers.py
Eudorajab1/websaw
7c3a369789d23ac699868fa1eff6c63e3e5c1e36
[ "MIT" ]
1
2022-03-29T00:12:12.000Z
2022-03-29T00:12:12.000Z
apps/app_mixin1/controllers.py
Eudorajab1/websaw
7c3a369789d23ac699868fa1eff6c63e3e5c1e36
[ "MIT" ]
null
null
null
apps/app_mixin1/controllers.py
Eudorajab1/websaw
7c3a369789d23ac699868fa1eff6c63e3e5c1e36
[ "MIT" ]
null
null
null
import os from websaw import DefaultApp, DefaultContext, XAuth, AuthErr, redirect from websaw.core import Fixture from .models import auth_db from .form_1 import Form, FormStyleBulma from pydal import Field from .common import app, ctx_, resize_image, cleanup_image from pprint import pprint import json
27.727273
71
0.82623
45
305
5.488889
0.6
0.080972
0
0
0
0
0
0
0
0
0
0.003788
0.134426
305
10
72
30.5
0.931818
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.111111
0
0
0
null
0
0
0
0
0
0
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
5bc56af5781d012234489b4848006b994e03b32b
159
py
Python
preference_app/apps.py
funsojoba/FinApp
eca53ba5275eaa82675a76f02e8dc29d4b96ae87
[ "MIT" ]
null
null
null
preference_app/apps.py
funsojoba/FinApp
eca53ba5275eaa82675a76f02e8dc29d4b96ae87
[ "MIT" ]
null
null
null
preference_app/apps.py
funsojoba/FinApp
eca53ba5275eaa82675a76f02e8dc29d4b96ae87
[ "MIT" ]
null
null
null
from django.apps import AppConfig class PreferenceAppConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'preference_app'
22.714286
56
0.779874
18
159
6.722222
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.138365
159
6
57
26.5
0.883212
0
0
0
0
0
0.27044
0.18239
0
0
0
0
0
1
0
false
0
0.25
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
5bd0f0689ee3e673c9e94923845b13bf9673833c
88
py
Python
handypackages/__init__.py
roundium/handypackages
b8a0e4952644144b31168f9a4ac8e743933d87c7
[ "MIT" ]
1
2019-07-31T11:40:06.000Z
2019-07-31T11:40:06.000Z
handypackages/__init__.py
roundium/handypackages
b8a0e4952644144b31168f9a4ac8e743933d87c7
[ "MIT" ]
10
2020-02-12T01:16:25.000Z
2021-06-10T18:42:24.000Z
handypackages/__init__.py
roundium/handypackages
b8a0e4952644144b31168f9a4ac8e743933d87c7
[ "MIT" ]
1
2019-07-31T11:40:18.000Z
2019-07-31T11:40:18.000Z
__version__ = '0.6.9-beta' default_app_config = 'handypackages.apps.HandyPackageConfig'
29.333333
60
0.806818
11
88
5.909091
1
0
0
0
0
0
0
0
0
0
0
0.036585
0.068182
88
2
61
44
0.756098
0
0
0
0
0
0.534091
0.420455
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
75041b3c4ee2fd357e5cc5c4992137264c1d04cf
372
py
Python
api/serializers.py
assulthoni/Django-Bookworm
d816c099b1eaceff05958ed3bf9e7dd611e9b5fd
[ "MIT" ]
null
null
null
api/serializers.py
assulthoni/Django-Bookworm
d816c099b1eaceff05958ed3bf9e7dd611e9b5fd
[ "MIT" ]
null
null
null
api/serializers.py
assulthoni/Django-Bookworm
d816c099b1eaceff05958ed3bf9e7dd611e9b5fd
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from rest_framework import serializers from books_and_chapters.models import Book, Chapter class BookSerializer(serializers.ModelSerializer): class Meta: model = Book fields = '__all__' class ChapterSerializer(serializers.ModelSerializer): class Meta...
28.615385
53
0.739247
40
372
6.6
0.575
0.090909
0.234848
0.265152
0.30303
0
0
0
0
0
0
0
0.198925
372
13
54
28.615385
0.885906
0
0
0.363636
0
0
0.037534
0
0
0
0
0
0
1
0
false
0
0.272727
0
0.636364
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
7525dfa5865243146f9e88ee7356dc526ef15417
784
py
Python
book/src/ch06/src/descriptors_pythonic_1.py
zangyuchen2008/Clean-Code-in-Python-Second-Edition
0be2e41f6cf7322e12ec55d76135ff398df61b4a
[ "MIT" ]
133
2016-07-22T15:16:16.000Z
2022-03-29T22:39:40.000Z
book/src/ch06/src/descriptors_pythonic_1.py
zangyuchen2008/Clean-Code-in-Python-Second-Edition
0be2e41f6cf7322e12ec55d76135ff398df61b4a
[ "MIT" ]
137
2021-01-05T11:21:04.000Z
2022-03-31T11:10:11.000Z
book/src/ch06/src/descriptors_pythonic_1.py
zangyuchen2008/Clean-Code-in-Python-Second-Edition
0be2e41f6cf7322e12ec55d76135ff398df61b4a
[ "MIT" ]
41
2020-12-29T04:46:14.000Z
2022-03-20T22:36:17.000Z
"""Clean Code in Python - Chapter 6: Descriptors > First example: the naive implementation using properties """ class Traveler: """A person visiting several cities. We wish to track the path of the traveller, as he or she is visiting each new city. """ def __init__(self, name, current_city): ...
24.5
77
0.672194
102
784
4.882353
0.460784
0.220884
0.150602
0.088353
0.261044
0
0
0
0
0
0
0.001706
0.252551
784
31
78
25.290323
0.848123
0.285714
0
0.125
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0.125
0.4375
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
1
0
0
0
3
7533a55258c70e8705ee916c60b803e719e05004
1,139
py
Python
py/ae/semantic/name_generator.py
skepner/ae
d53336a561df1a46a39debb143c9f9496b222a46
[ "MIT" ]
null
null
null
py/ae/semantic/name_generator.py
skepner/ae
d53336a561df1a46a39debb143c9f9496b222a46
[ "MIT" ]
null
null
null
py/ae/semantic/name_generator.py
skepner/ae
d53336a561df1a46a39debb143c9f9496b222a46
[ "MIT" ]
null
null
null
import ae_backend # ====================================================================== class NameGenerator: def __init__(self): self.locdb = ae_backend.locdb_v3.locdb() def location_isolation_year2_passaga_type(self, antigen): if name_parsing_result := ae_backend.virus.name_parse(antigen...
39.275862
158
0.626866
130
1,139
5.215385
0.246154
0.113569
0.175516
0.162242
0.675516
0.675516
0.675516
0.675516
0.675516
0.675516
0
0.005447
0.19403
1,139
28
159
40.678571
0.733115
0.061457
0
0.428571
0
0.095238
0.300843
0.284911
0
0
0
0
0
1
0.190476
false
0.285714
0.047619
0
0.47619
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
753687b5f5a9a1db8c0be1cd4557532e655ce73b
655
py
Python
accounts/views.py
ketan-lambat/driveIt
3c38b730214ac69196554b71a000e2b2fa6eab42
[ "MIT" ]
3
2020-07-25T03:27:41.000Z
2022-01-09T13:18:22.000Z
accounts/views.py
ASE-Group-23/ASE-1-Project
8bc9bbdd1a1e285575014fc8ecb17208fb718527
[ "MIT" ]
13
2020-03-12T11:36:33.000Z
2022-03-12T00:19:04.000Z
accounts/views.py
ASE-Group-23/ASE-1-Project
8bc9bbdd1a1e285575014fc8ecb17208fb718527
[ "MIT" ]
2
2020-03-23T11:12:25.000Z
2021-01-04T01:34:23.000Z
# from django.shortcuts import render, redirect # from django.contrib.auth.forms import UserCreationForm # from django.contrib.auth.decorators import login_required # # # def index_view(request): # return render(request, 'registration/index.html') # # # @login_required # def dashboard_view(request): # return render(r...
26.2
71
0.722137
76
655
6.131579
0.407895
0.064378
0.122318
0.199571
0.180258
0.180258
0
0
0
0
0
0
0.134351
655
24
72
27.291667
0.821869
0.925191
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
753d6953daff46ef0058399189c442b071cea087
500
py
Python
src/lib/db/scene_object_dao.py
kbinani/dxrip
ef170fd895c6d9bb6c05bc2026e9fa9bcd0b1908
[ "MIT" ]
4
2015-09-23T14:12:07.000Z
2021-10-04T21:03:32.000Z
src/lib/db/scene_object_dao.py
kbinani/dxrip
ef170fd895c6d9bb6c05bc2026e9fa9bcd0b1908
[ "MIT" ]
null
null
null
src/lib/db/scene_object_dao.py
kbinani/dxrip
ef170fd895c6d9bb6c05bc2026e9fa9bcd0b1908
[ "MIT" ]
2
2018-06-26T14:59:11.000Z
2021-09-01T01:50:20.000Z
import sqlite3 class SceneObjectDao: __connection = None def __init__(self, config): self.__connection = sqlite3.connect(config.get_scene_db_file_path()) #TODO(kbinani): db migration def __del__(self): self.__connection.close(); def get_object_list(self, scene_number): ...
31.25
100
0.68
60
500
5.233333
0.633333
0.133758
0
0
0
0
0
0
0
0
0
0.007538
0.204
500
15
101
33.333333
0.781407
0.054
0
0
0
0
0.120763
0
0
0
0
0.066667
0
1
0.3
false
0
0.1
0
0.7
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
0
0
0
1
0
0
3
7541d0c8d2795eed7db980f0c9a4f11f46ad08a7
7,229
py
Python
tests/test_win32.py
depaolim/wrun
324d4dbf78a656301de3fcbb2144496e918fb1ec
[ "MIT" ]
null
null
null
tests/test_win32.py
depaolim/wrun
324d4dbf78a656301de3fcbb2144496e918fb1ec
[ "MIT" ]
1
2016-09-15T11:58:56.000Z
2016-10-27T14:33:30.000Z
tests/test_win32.py
depaolim/wrun
324d4dbf78a656301de3fcbb2144496e918fb1ec
[ "MIT" ]
null
null
null
import json import unittest from wrun import Config, client from tests.config import * class WinServiceTestBase(LogTestMixin, unittest.TestCase): SERVICE_NAME = 'TestWRUN' PORT = 3333 CONFIG = { "EXECUTABLE_PATH": EXECUTABLE_PATH, "HOST": "localhost", "PORT": PORT, } def...
48.193333
118
0.682805
877
7,229
5.370582
0.116306
0.070064
0.088747
0.080255
0.826752
0.772611
0.72569
0.697028
0.607431
0.575796
0
0.015367
0.171808
7,229
149
119
48.516779
0.771338
0
0
0.459016
0
0.016393
0.189791
0.047033
0
0
0
0
0.172131
1
0.139344
false
0
0.032787
0
0.254098
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
75450de9e903dc557929d06591c4368143edabb3
3,425
py
Python
citygrid/tests.py
cgallemore/pycitygrid
447a7c49a0724f210d174a3523260c957cd35c2c
[ "MIT" ]
null
null
null
citygrid/tests.py
cgallemore/pycitygrid
447a7c49a0724f210d174a3523260c957cd35c2c
[ "MIT" ]
null
null
null
citygrid/tests.py
cgallemore/pycitygrid
447a7c49a0724f210d174a3523260c957cd35c2c
[ "MIT" ]
null
null
null
import json import os import unittest from citygrid.models import SearchResult class ModelTests(unittest.TestCase): def setUp(self): super(ModelTests, self).setUp() path = os.path.join(os.getcwd(), 'citygrid', 'places_sample.json') with open(path) as f: self.data = f.read() ...
47.569444
223
0.702482
395
3,425
6.017722
0.367089
0.282709
0.242322
0.082457
0.025242
0
0
0
0
0
0
0.047994
0.184818
3,425
71
224
48.239437
0.803367
0.015766
0
0
0
0.016393
0.167261
0.023173
0
0
0
0
0.754098
1
0.032787
false
0
0.065574
0
0.114754
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
7548fe67429d510066c160c5d8549033436ab3ff
64
py
Python
sclrecommender/bandit/runner/__init__.py
wezteoh/Bandit_Recommendation
a326e4d1d082e1a2113fe739bc343fb45b0b8a4a
[ "MIT" ]
null
null
null
sclrecommender/bandit/runner/__init__.py
wezteoh/Bandit_Recommendation
a326e4d1d082e1a2113fe739bc343fb45b0b8a4a
[ "MIT" ]
null
null
null
sclrecommender/bandit/runner/__init__.py
wezteoh/Bandit_Recommendation
a326e4d1d082e1a2113fe739bc343fb45b0b8a4a
[ "MIT" ]
null
null
null
__all__=["banditRunner"] from .banditRunner import BanditRunner
21.333333
38
0.828125
6
64
8.166667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.078125
64
2
39
32
0.830508
0
0
0
0
0
0.1875
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
755187f67c9bbe60edf352dc27294b9259a3f798
218
py
Python
corehq/apps/style/utils.py
dslowikowski/commcare-hq
ad8885cf8dab69dc85cb64f37aeaf06106124797
[ "BSD-3-Clause" ]
1
2015-02-10T23:26:39.000Z
2015-02-10T23:26:39.000Z
corehq/apps/style/utils.py
SEL-Columbia/commcare-hq
992ee34a679c37f063f86200e6df5a197d5e3ff6
[ "BSD-3-Clause" ]
null
null
null
corehq/apps/style/utils.py
SEL-Columbia/commcare-hq
992ee34a679c37f063f86200e6df5a197d5e3ff6
[ "BSD-3-Clause" ]
null
null
null
BOOTSTRAP_2 = 'bootstrap-2' BOOTSTRAP_3 = 'bootstrap-3' def bootstrap_version(request): if hasattr(request, 'preview_bootstrap3') and request.preview_bootstrap3: return BOOTSTRAP_3 return BOOTSTRAP_2
24.222222
77
0.756881
27
218
5.851852
0.444444
0.189873
0.240506
0
0
0
0
0
0
0
0
0.043716
0.16055
218
8
78
27.25
0.819672
0
0
0
0
0
0.183486
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.5
0
1
0
0
null
0
1
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
f33e16bf7ee3a86408a52e165d4e4c804740c914
1,929
py
Python
apps/utils/get_configs.py
yandenghong/KortURL
07ae04bda5fde5f6afeee228790e237e9251b458
[ "MIT" ]
118
2019-04-04T11:16:47.000Z
2021-11-21T15:33:22.000Z
apps/utils/get_configs.py
yandenghong/KortURL
07ae04bda5fde5f6afeee228790e237e9251b458
[ "MIT" ]
5
2019-08-29T02:44:25.000Z
2020-08-12T06:06:52.000Z
apps/utils/get_configs.py
yandenghong/KortURL
07ae04bda5fde5f6afeee228790e237e9251b458
[ "MIT" ]
19
2019-04-06T06:28:57.000Z
2020-09-11T07:49:56.000Z
""" * Author: Vincent Yim * FileName: get_configs.py * Software: PyCharm * Blog: https://yandenghong.github.io """ import re from django.conf import settings class Configuration: @property def rate(self): pattern = "^[0-9]+\/(day|hour|min|sec)$" rate = settings.KORT_URL.get('IP_RATE'...
27.956522
102
0.6169
225
1,929
5.093333
0.346667
0.054974
0.104712
0.125654
0.164049
0.164049
0.139616
0
0
0
0
0.017519
0.260238
1,929
68
103
28.367647
0.785564
0.060135
0
0.229167
0
0
0.158537
0.049889
0
0
0
0
0
1
0.208333
false
0
0.041667
0.125
0.520833
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
f356a1c5883b57adb866d03aaec88edb98eb69bb
81,008
py
Python
librespot/proto/Connect_pb2.py
forslund/librespot-python
7a340b1b20889e1afae47aa0f433a0893f4290f1
[ "Apache-2.0" ]
64
2021-02-24T06:46:34.000Z
2022-03-29T11:33:46.000Z
librespot/proto/Connect_pb2.py
forslund/librespot-python
7a340b1b20889e1afae47aa0f433a0893f4290f1
[ "Apache-2.0" ]
16
2021-04-24T12:25:30.000Z
2022-02-19T00:02:44.000Z
librespot/proto/Connect_pb2.py
forslund/librespot-python
7a340b1b20889e1afae47aa0f433a0893f4290f1
[ "Apache-2.0" ]
22
2021-04-05T23:57:14.000Z
2022-03-10T04:45:08.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: connect.proto """Generated protocol buffer code.""" from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protob...
34.604015
6,183
0.609076
8,050
81,008
5.787329
0.058882
0.04894
0.095024
0.079978
0.692067
0.631343
0.620439
0.615759
0.61005
0.597042
0
0.040886
0.29923
81,008
2,340
6,184
34.618803
0.779788
0.016134
0
0.778314
1
0.003073
0.120515
0.084192
0
0
0
0
0
1
0
false
0
0.002634
0
0.002634
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f39dc75521e121f25297a6066cb14cccc4ca2b4b
87
py
Python
Lib/site-packages/elasticsearch_django/__init__.py
Nibraz15/FullTextSearch
79d03a9b5c0fc94219ad9a70fe57818496844660
[ "bzip2-1.0.6" ]
null
null
null
Lib/site-packages/elasticsearch_django/__init__.py
Nibraz15/FullTextSearch
79d03a9b5c0fc94219ad9a70fe57818496844660
[ "bzip2-1.0.6" ]
null
null
null
Lib/site-packages/elasticsearch_django/__init__.py
Nibraz15/FullTextSearch
79d03a9b5c0fc94219ad9a70fe57818496844660
[ "bzip2-1.0.6" ]
null
null
null
default_app_config = "elasticsearch_django.apps.ElasticAppConfig" __version__ = "6.4"
21.75
65
0.816092
10
87
6.4
1
0
0
0
0
0
0
0
0
0
0
0.025
0.08046
87
3
66
29
0.775
0
0
0
0
0
0.517241
0.482759
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f3ab35f6ccba7d0a98596fae19011e1da87aafe9
449
py
Python
scurl/__init__.py
scrapy/scurl
fa5c05d95d02fcf34b794596027819ccb8e87736
[ "Apache-2.0" ]
11
2018-09-14T13:46:11.000Z
2021-10-15T12:20:31.000Z
scurl/__init__.py
nctl144/scurl
ecc6c97b5cb4ca537a8ea8677609a0a42137a3cf
[ "Apache-2.0" ]
24
2018-07-03T15:52:06.000Z
2018-08-01T14:40:07.000Z
scurl/__init__.py
nctl144/urlparse4
fa5c05d95d02fcf34b794596027819ccb8e87736
[ "Apache-2.0" ]
6
2018-08-01T16:45:12.000Z
2020-07-12T12:43:18.000Z
import six if six.PY2: from urlparse import * else: from urllib.parse import * # these cannot be imported in py34 from urllib.parse import DefragResult, SplitResult, ParseResult _original_urlsplit = urlsplit _original_urljoin = urljoin _original_urlparse = urlparse from scurl.cgurl import urlsplit, ...
22.45
67
0.775056
59
449
5.745763
0.525424
0.058997
0.088496
0.123894
0
0
0
0
0
0
0
0.008043
0.169265
449
19
68
23.631579
0.900804
0.071269
0
0
0
0
0
0
0
0
0
0.052632
0
1
0
false
0
0.545455
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
f3b6be46f3c523f10310e6f3412bf930ba6ecc42
1,850
py
Python
cairis/core/ComponentViewParameters.py
RachelLar/cairis_update
0b1d6d17ce49bc74887d1684e28c53c1b06e2fa2
[ "Apache-2.0" ]
null
null
null
cairis/core/ComponentViewParameters.py
RachelLar/cairis_update
0b1d6d17ce49bc74887d1684e28c53c1b06e2fa2
[ "Apache-2.0" ]
null
null
null
cairis/core/ComponentViewParameters.py
RachelLar/cairis_update
0b1d6d17ce49bc74887d1684e28c53c1b06e2fa2
[ "Apache-2.0" ]
null
null
null
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may...
41.111111
88
0.77027
236
1,850
6.004237
0.466102
0.070572
0.0988
0.022583
0
0
0
0
0
0
0
0.004502
0.159459
1,850
44
89
42.045455
0.906752
0.412432
0
0
0
0
0
0
0
0
0
0
0
1
0.458333
false
0
0.041667
0.416667
0.541667
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
45ec5a7d0941455f49b744170ba0d2c3309c71ae
8,732
py
Python
src/enyaml/expr/expr.py
dhain/enyaml
b53b62d11864ca0c09f3a262336da3f7c6693be5
[ "BSD-3-Clause" ]
null
null
null
src/enyaml/expr/expr.py
dhain/enyaml
b53b62d11864ca0c09f3a262336da3f7c6693be5
[ "BSD-3-Clause" ]
null
null
null
src/enyaml/expr/expr.py
dhain/enyaml
b53b62d11864ca0c09f3a262336da3f7c6693be5
[ "BSD-3-Clause" ]
null
null
null
from .lexer import OpToken, IdentifierToken, NumberToken, StringToken class Expression: def __init__(self, value): self.value = value def __repr__(self): return f'{self.__class__.__name__}({self.value!r})' def __str__(self): return str(self.value) def __eq__(self, other): ...
23.223404
69
0.615323
992
8,732
5.252016
0.09375
0.073896
0.050672
0.073704
0.643954
0.615355
0.584837
0.528215
0.528215
0.528215
0
0.004162
0.256986
8,732
375
70
23.285333
0.798859
0
0
0.390625
0
0
0.079707
0.011567
0
0
0
0
0
1
0.246094
false
0
0.003906
0.199219
0.710938
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
45fd2e0c3d2a83e81bc195f3f43704ea259efd5d
302
py
Python
server/web/admin.py
Ariel-MN/IoT
c2376f45a7c1af464109e6b350faf2ac5afd9791
[ "Apache-2.0" ]
6
2020-04-19T00:06:14.000Z
2022-01-31T18:01:09.000Z
server/web/admin.py
Ariel-MN/IoT
c2376f45a7c1af464109e6b350faf2ac5afd9791
[ "Apache-2.0" ]
4
2020-04-16T17:02:11.000Z
2020-06-12T13:37:57.000Z
server/web/admin.py
Ariel-MN/IoT
c2376f45a7c1af464109e6b350faf2ac5afd9791
[ "Apache-2.0" ]
11
2020-04-16T11:26:41.000Z
2022-03-31T16:58:20.000Z
from django.contrib import admin from .models import Sensor, Order, Employee, Responsable admin.site.site_header = 'Administration Panel' admin.site.site_title = 'Dustbin IoT' admin.site.index_title = 'Admin' admin.site.site_url = '/home/' admin.site.register([Sensor, Order, Employee, Responsable])
30.2
59
0.778146
41
302
5.634146
0.512195
0.194805
0.168831
0.25974
0
0
0
0
0
0
0
0
0.102649
302
9
60
33.555556
0.852399
0
0
0
0
0
0.139073
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
0
0
0
0
null
0
0
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
1
0
0
0
0
0
0
3
344073ce0f5a0f84520fa266081bbe8b2dbfc6ee
259
py
Python
Course 01 - Getting Started with Python/Extra Studies/Functions/ex011.py
marcoshsq/python_practical_exercises
77136cd4bc0f34acde3380ffdc5af74f7a960670
[ "MIT" ]
9
2022-03-22T16:45:17.000Z
2022-03-25T20:22:35.000Z
Course 01 - Getting Started with Python/Extra Studies/Functions/ex011.py
marcoshsq/python_practical_exercises
77136cd4bc0f34acde3380ffdc5af74f7a960670
[ "MIT" ]
null
null
null
Course 01 - Getting Started with Python/Extra Studies/Functions/ex011.py
marcoshsq/python_practical_exercises
77136cd4bc0f34acde3380ffdc5af74f7a960670
[ "MIT" ]
3
2022-03-22T17:03:38.000Z
2022-03-29T17:20:55.000Z
# Exercise 106 - Interactive Python Help System '''Make a mini-system that uses Python's Interactive Help. The user will type the command and the manual will appear. When the user types the word 'END', the program will terminate. Important: use color. '''
37
78
0.756757
41
259
4.780488
0.707317
0.071429
0
0
0
0
0
0
0
0
0
0.014019
0.173745
259
6
79
43.166667
0.901869
0.96139
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
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
1
0
0
0
0
0
0
3
345b178805f44ac7899bd59f002d5dda1bdfcc99
157
py
Python
polling/polls/urls.py
SharinaS/view-and-vote-polling
cf5cebd2fe23f01295c7a3873051e0f7929d02c2
[ "MIT" ]
null
null
null
polling/polls/urls.py
SharinaS/view-and-vote-polling
cf5cebd2fe23f01295c7a3873051e0f7929d02c2
[ "MIT" ]
null
null
null
polling/polls/urls.py
SharinaS/view-and-vote-polling
cf5cebd2fe23f01295c7a3873051e0f7929d02c2
[ "MIT" ]
null
null
null
from django.urls import path from . import views # URLconf - calls the view and maps it to a URL urlpatterns = [ path('', views.index, name='index'), ]
19.625
47
0.681529
24
157
4.458333
0.791667
0
0
0
0
0
0
0
0
0
0
0
0.203822
157
7
48
22.428571
0.856
0.286624
0
0
0
0
0.045455
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
346b2ad44f0e2b51a5dcd4f6e89ffe71b544794e
2,031
py
Python
jacdac/motor/client.py
microsoft/jacdac-python
712ad5559e29065f5eccb5dbfe029c039132df5a
[ "MIT" ]
1
2022-02-15T21:30:36.000Z
2022-02-15T21:30:36.000Z
jacdac/motor/client.py
microsoft/jacdac-python
712ad5559e29065f5eccb5dbfe029c039132df5a
[ "MIT" ]
null
null
null
jacdac/motor/client.py
microsoft/jacdac-python
712ad5559e29065f5eccb5dbfe029c039132df5a
[ "MIT" ]
1
2022-02-08T19:32:45.000Z
2022-02-08T19:32:45.000Z
# Autogenerated file. Do not edit. from jacdac.bus import Bus, Client from .constants import * from typing import Optional class MotorClient(Client): """ A DC motor. Implements a client for the `Motor <https://microsoft.github.io/jacdac-docs/services/motor>`_ service. """ def __init__(self, bus:...
30.313433
109
0.648449
256
2,031
4.949219
0.378906
0.044199
0.077348
0.104972
0.170481
0.170481
0.050513
0
0
0
0
0.004569
0.245692
2,031
66
110
30.772727
0.822454
0.320532
0
0.178571
1
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.107143
0
0.607143
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
0
0
0
1
0
0
3
34751ecafe2296f6575346f0ac1590ac2ca9c016
3,362
py
Python
src/sima/simo/blueprints/slenderelement.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/simo/blueprints/slenderelement.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/simo/blueprints/slenderelement.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
# # Generated with SlenderElementBlueprint from dmt.blueprint import Blueprint from dmt.dimension import Dimension from dmt.attribute import Attribute from dmt.enum_attribute import EnumAttribute from dmt.blueprint_attribute import BlueprintAttribute from sima.sima.blueprints.namedobject import NamedObjectBlueprint c...
80.047619
165
0.737656
359
3,362
6.871866
0.286908
0.158897
0.226996
0.199838
0.396838
0.331982
0.286178
0.228212
0.10458
0
0
0.012953
0.104402
3,362
42
166
80.047619
0.806377
0.011303
0
0
1
0
0.315234
0.088688
0
0
0
0
0
1
0.027027
false
0
0.162162
0
0.216216
0.324324
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
caa582396322f2a90b4e601b9e7bbb8e44a339d7
101
gyp
Python
binding.gyp
ironman9967/NodeSixense
6d834cbfc156d5f6b8678da8179f24348d38a3cf
[ "MIT" ]
2
2016-04-25T15:59:29.000Z
2019-06-27T13:23:29.000Z
binding.gyp
ironman9967/NodeSixense
6d834cbfc156d5f6b8678da8179f24348d38a3cf
[ "MIT" ]
null
null
null
binding.gyp
ironman9967/NodeSixense
6d834cbfc156d5f6b8678da8179f24348d38a3cf
[ "MIT" ]
null
null
null
{ "targets": [ { "target_name": "sixense", "sources": [ "sixense.cc" ] } ] }
11.222222
33
0.405941
7
101
5.714286
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.366337
101
8
34
12.625
0.625
0
0
0
0
0
0.415842
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
caed1b6ec0b4a75c43972d2363cc6ecebf57348a
1,969
py
Python
cnab240/core/segmento_b.py
gessegoncalves/bradesco-cnab240
3fd9e833291a1c790632e3b99b464298a4f100fb
[ "MIT" ]
10
2020-08-28T22:10:03.000Z
2021-07-06T17:21:45.000Z
cnab240/core/segmento_b.py
gessegoncalves/bradesco-cnab240
3fd9e833291a1c790632e3b99b464298a4f100fb
[ "MIT" ]
4
2018-09-27T13:37:26.000Z
2021-12-09T14:57:57.000Z
cnab240/core/segmento_b.py
gessegoncalves/bradesco-cnab240
3fd9e833291a1c790632e3b99b464298a4f100fb
[ "MIT" ]
4
2019-05-22T15:57:18.000Z
2022-02-18T20:21:19.000Z
import collections def parse(dic_lote): #merge merged_dict = dic_lote# default_header_arquivo().update( dic_header ) header_str = '{:0>3.3}{:0>4.4}{:0>1.1}{:0>5.5}{:1.1}{:<3.3}{:0>1.1}{:0>14.14}{:<30.30}{:0>5.5}{:<15.15}{:<15.15}{:<20.20}{:0>5.5}{:<3.3}{:<2.2}{:0>8.8}{:0>15.15}{:0>15.15}{:0>15.15}{:...
43.755556
240
0.653123
234
1,969
5.175214
0.320513
0.14038
0.336912
0.28076
0.227085
0.020644
0.020644
0.020644
0.020644
0.020644
0
0.071472
0.161503
1,969
45
241
43.755556
0.662023
0.043677
0
0
0
0.029412
0.584989
0.564018
0
0
0
0
0
1
0.058824
false
0
0.029412
0
0.147059
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
caf9a3e8129d4de125d4bc68c2cd2bb2c1a6fcc2
115
py
Python
python/360.sort-transformed-array.py
stavanmehta/leetcode
1224e43ce29430c840e65daae3b343182e24709c
[ "Apache-2.0" ]
null
null
null
python/360.sort-transformed-array.py
stavanmehta/leetcode
1224e43ce29430c840e65daae3b343182e24709c
[ "Apache-2.0" ]
null
null
null
python/360.sort-transformed-array.py
stavanmehta/leetcode
1224e43ce29430c840e65daae3b343182e24709c
[ "Apache-2.0" ]
null
null
null
class Solution: def sortTransformedArray(self, nums: List[int], a: int, b: int, c: int) -> List[int]:
28.75
89
0.608696
16
115
4.375
0.6875
0.2
0
0
0
0
0
0
0
0
0
0
0.234783
115
3
90
38.333333
0.795455
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
1b1940e7b2c7da216a721250581888733ec74e73
150
py
Python
llvm/gen_mul.py
herumi/opti
65b84ef788faef5511e9943542804ea3508b7ac0
[ "BSD-3-Clause" ]
15
2015-02-24T12:37:56.000Z
2021-03-23T11:49:57.000Z
llvm/gen_mul.py
herumi/opti
65b84ef788faef5511e9943542804ea3508b7ac0
[ "BSD-3-Clause" ]
null
null
null
llvm/gen_mul.py
herumi/opti
65b84ef788faef5511e9943542804ea3508b7ac0
[ "BSD-3-Clause" ]
6
2015-02-15T16:26:46.000Z
2020-11-18T12:54:42.000Z
import sys sys.path.insert(0, '../../mcl/src') import gen fo = open(sys.argv[1], 'w') unit=int(sys.argv[2]) gen.gen(fo, 'mul.txt', unit, [unit*4])
15
38
0.606667
29
150
3.137931
0.655172
0.10989
0
0
0
0
0
0
0
0
0
0.030303
0.12
150
9
39
16.666667
0.659091
0
0
0
0
0
0.141892
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
1b3b1694442cd78c2a92cd759c42eb43b0003fd8
306
py
Python
banner/__init__.py
rushkii/leveling-banner
1acfda3b8985dbd405560e5e5d22f598aaffb254
[ "MIT" ]
3
2021-06-17T16:21:45.000Z
2021-08-10T03:19:57.000Z
banner/__init__.py
rushkii/welcome-banner
1acfda3b8985dbd405560e5e5d22f598aaffb254
[ "MIT" ]
null
null
null
banner/__init__.py
rushkii/welcome-banner
1acfda3b8985dbd405560e5e5d22f598aaffb254
[ "MIT" ]
null
null
null
# Copyright Kee (c) 2021. All rights reserved. # Any code below is written by it's owner, # and the copyright belongs to it's owner # User Agreement: # You can re-edit, re-code, and use as much as you want # Just don't replace my copyright # open-source <http://github.com/rushkii/welcome-banner/
34
56
0.712418
53
306
4.113208
0.811321
0.027523
0.073395
0
0
0
0
0
0
0
0
0.016129
0.189542
306
9
57
34
0.862903
0.921569
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
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
1
0
0
0
0
0
0
3
1b551105895a0fa488f25c076004ccdadb274f3b
1,225
py
Python
sources/ordered_multi_dict.py
AntonDemchenko/sgfpy
ee4e78824e64e4ae638e59df2e157909a12315a1
[ "MIT" ]
null
null
null
sources/ordered_multi_dict.py
AntonDemchenko/sgfpy
ee4e78824e64e4ae638e59df2e157909a12315a1
[ "MIT" ]
null
null
null
sources/ordered_multi_dict.py
AntonDemchenko/sgfpy
ee4e78824e64e4ae638e59df2e157909a12315a1
[ "MIT" ]
null
null
null
class OrderedMultiDict: def __init__(self, *args): self.container = [] for key, value in args: self.add(key, value) def clear(self): self.container = [] def copy(self): d = OrderedMultiDict() for item in self.items(): d.add(item[0], item[1]) ...
24.019608
76
0.561633
157
1,225
4.184713
0.235669
0.197869
0.121766
0.050228
0.178082
0.158295
0.094368
0.094368
0
0
0
0.009346
0.301224
1,225
50
77
24.5
0.758178
0
0
0.054054
0
0
0.004898
0
0
0
0
0
0
1
0.378378
false
0
0
0.243243
0.675676
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
1b561a66672b5e5277ded6603642ebdeaf80988a
133
py
Python
WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/Overflow/_Learning/05-string-arithmetic.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
5
2021-06-02T23:44:25.000Z
2021-12-27T16:21:57.000Z
WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/Overflow/_Learning/05-string-arithmetic.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
22
2021-05-31T01:33:25.000Z
2021-10-18T18:32:39.000Z
WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/Overflow/_Learning/05-string-arithmetic.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
3
2021-06-19T03:37:47.000Z
2021-08-31T00:49:51.000Z
# Arithmetic with Strings a = "a" b = "b" an = "an" print(b + an) print(b + a * 7) print(b + an * 2 + a) print("$1" + ",000" * 3)
11.083333
25
0.488722
25
133
2.6
0.48
0.138462
0.246154
0
0
0
0
0
0
0
0
0.072165
0.270677
133
11
26
12.090909
0.597938
0.172932
0
0
0
0
0.092593
0
0
0
0
0
0
1
0
false
0
0
0
0
0.571429
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
1b6e9b164132d369be8ae25ba268317736d87e00
1,313
py
Python
curver/kernel/__init__.py
MarkCBell/curver
a67a4bbab3223095e61eeec7d036bc7b0e6aa5a5
[ "MIT" ]
6
2019-04-26T13:47:35.000Z
2020-08-05T21:53:14.000Z
curver/kernel/__init__.py
MarkCBell/curver
a67a4bbab3223095e61eeec7d036bc7b0e6aa5a5
[ "MIT" ]
4
2018-05-28T00:44:42.000Z
2020-07-29T21:09:00.000Z
curver/kernel/__init__.py
MarkCBell/curver
a67a4bbab3223095e61eeec7d036bc7b0e6aa5a5
[ "MIT" ]
3
2020-07-27T19:09:25.000Z
2020-07-29T18:34:44.000Z
''' The curver kernel. ''' from realalg import RealNumberField, RealAlgebraic # noqa: F401 from .arc import Arc, MultiArc # noqa: F401 from .crush import Crush, LinearTransformation, Lift # noqa: F401 from .curve import Curve, MultiCurve # noqa: F401 from .curvegraph import CurveGraph # noqa: F401 from .encodin...
41.03125
87
0.780655
156
1,313
6.538462
0.423077
0.141176
0.2
0.035294
0
0
0
0
0
0
0
0.048561
0.153085
1,313
31
88
42.354839
0.868705
0.237624
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.818182
0
0.818182
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
1b822c286e06eab7dd17d83612286e8d0f73c7c9
150
py
Python
basic_calculator_ii.py
spencercjh/sync-leetcode-today-problem-python3-example
4957e5eadb697334741df0fc297bec2edaa9e2ab
[ "Apache-2.0" ]
null
null
null
basic_calculator_ii.py
spencercjh/sync-leetcode-today-problem-python3-example
4957e5eadb697334741df0fc297bec2edaa9e2ab
[ "Apache-2.0" ]
null
null
null
basic_calculator_ii.py
spencercjh/sync-leetcode-today-problem-python3-example
4957e5eadb697334741df0fc297bec2edaa9e2ab
[ "Apache-2.0" ]
null
null
null
class BasicCalculatorIi: """ https://leetcode-cn.com/problems/basic-calculator-ii/ """ def calculate(self, s: str) -> int:
16.666667
57
0.586667
16
150
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.253333
150
8
58
18.75
0.785714
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
1b8cec72f5e4229754f451301531c63f6693b6c3
175
py
Python
script.py
JorritHortensius/Casimir_course_january
dd3865b8fe1e28c62b6448886c74b1771ebf9374
[ "MIT" ]
null
null
null
script.py
JorritHortensius/Casimir_course_january
dd3865b8fe1e28c62b6448886c74b1771ebf9374
[ "MIT" ]
null
null
null
script.py
JorritHortensius/Casimir_course_january
dd3865b8fe1e28c62b6448886c74b1771ebf9374
[ "MIT" ]
null
null
null
import test radius = 3 cf = test.circumference_circle(radius) area = test.area_circle(radius) print('radius is', radius) print('circumference is', cf) print('area is', area)
19.444444
38
0.742857
26
175
4.923077
0.384615
0.1875
0
0
0
0
0
0
0
0
0
0.006494
0.12
175
9
39
19.444444
0.824675
0
0
0
0
0
0.181818
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
59ed5ed420abe9b64c6f6411b1ce47f4d08e4d2d
543
py
Python
simulator/cart_pole.py
dixantmittal/Q-Network
7d50c3b6524fd5cf872a1222595664f527ce8760
[ "MIT" ]
6
2020-07-06T02:28:25.000Z
2021-11-05T08:08:24.000Z
simulator/cart_pole.py
dixantmittal/async-dqn
7d50c3b6524fd5cf872a1222595664f527ce8760
[ "MIT" ]
null
null
null
simulator/cart_pole.py
dixantmittal/async-dqn
7d50c3b6524fd5cf872a1222595664f527ce8760
[ "MIT" ]
null
null
null
import gym from simulator.base import BaseSimulator class CartPole(BaseSimulator): def __init__(self): self.env = gym.make('CartPole-v1') def reset(self): return self.env.reset() def step(self, a): s, r, t, _ = self.env.step(a) return s, r, t @staticmethod def n...
20.111111
65
0.616943
72
543
4.472222
0.444444
0.086957
0.139752
0.158385
0.142857
0
0
0
0
0
0
0.009901
0.255985
543
26
66
20.884615
0.787129
0
0
0.111111
0
0
0.060773
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.166667
0.722222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9416d0d21d93c865829e97662072615bd9665059
366
py
Python
datasetConfig.py
naraB/research-seq2seq-HTR
633ecd191460bb5d7e92960fd0b6dd6f098ad509
[ "MIT" ]
20
2018-10-15T09:10:38.000Z
2022-01-07T23:34:23.000Z
datasetConfig.py
naraB/research-seq2seq-HTR
633ecd191460bb5d7e92960fd0b6dd6f098ad509
[ "MIT" ]
6
2019-06-29T04:41:00.000Z
2020-10-28T19:00:35.000Z
datasetConfig.py
naraB/research-seq2seq-HTR
633ecd191460bb5d7e92960fd0b6dd6f098ad509
[ "MIT" ]
17
2018-10-15T09:11:10.000Z
2022-02-18T08:46:57.000Z
# The location should be <your_location_to_the_dataset>, so you need to # make sure that all the groundtruth files can be found in that location, # a folder "words/" should also be there, which contains all the images # without any folder or sub-folder. baseDir_word = '/home/lkang/datasets/iam_final_words/' baseDir_l...
52.285714
74
0.778689
60
366
4.583333
0.666667
0.043636
0.123636
0.145455
0.181818
0
0
0
0
0
0
0
0.139344
366
6
75
61
0.873016
0.674863
0
0
0
0
0.649123
0.649123
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9446fc0f4e446936ab9309074d16f651e7495fdc
1,551
py
Python
my/core/warnings.py
aluhrs13/HPI
e750666e30e8987f3a4c46755857dc85dd64446c
[ "MIT" ]
1,026
2020-03-16T16:53:29.000Z
2022-03-29T16:03:38.000Z
my/core/warnings.py
aluhrs13/HPI
e750666e30e8987f3a4c46755857dc85dd64446c
[ "MIT" ]
102
2020-03-18T22:53:29.000Z
2022-03-22T00:34:46.000Z
my/core/warnings.py
aluhrs13/HPI
e750666e30e8987f3a4c46755857dc85dd64446c
[ "MIT" ]
50
2020-03-17T21:00:34.000Z
2022-03-28T08:37:13.000Z
''' A helper to make warnings a bit more visible. TODO ideally would be great to replace with some existing solution, or find a better way, since who looks at the terminal output? E.g. would be nice to propagate the warnings in the UI (it's even a subclass of Exception!) ''' import sys from typing import Optional impo...
29.826923
92
0.682141
224
1,551
4.696429
0.486607
0.06654
0.053232
0.057034
0.134981
0.06654
0.06654
0
0
0
0
0.003236
0.203095
1,551
51
93
30.411765
0.847896
0.424242
0
0.217391
0
0
0.045139
0
0
0
0
0.019608
0
1
0.217391
false
0
0.217391
0
0.565217
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
945d066fb7d4d510ef02d248ebc73c42ef39dc46
78
py
Python
pychemia/external/symmol/__init__.py
petavazohi/PyChemia
e779389418771c25c830aed360773c63bb069372
[ "MIT" ]
67
2015-01-31T07:44:55.000Z
2022-03-21T21:43:34.000Z
pychemia/external/symmol/__init__.py
petavazohi/PyChemia
e779389418771c25c830aed360773c63bb069372
[ "MIT" ]
13
2016-06-03T19:07:51.000Z
2022-03-31T04:20:40.000Z
pychemia/external/symmol/__init__.py
petavazohi/PyChemia
e779389418771c25c830aed360773c63bb069372
[ "MIT" ]
37
2015-01-22T15:37:23.000Z
2022-03-21T15:38:10.000Z
from .symmol import get_point_group __author__ = 'Guillermo Avendano Franco'
19.5
40
0.820513
10
78
5.8
1
0
0
0
0
0
0
0
0
0
0
0
0.128205
78
3
41
26
0.852941
0
0
0
0
0
0.320513
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
946456d643ea178f8f7e14ac7931ecd0fd0de5d9
1,353
py
Python
examples/utils.py
microsoft/dist-ir
7cfa1b0c1e671619d5049520ed35c9640d449195
[ "MIT" ]
8
2021-11-25T06:36:16.000Z
2022-02-28T10:37:11.000Z
examples/utils.py
microsoft/dist-ir
7cfa1b0c1e671619d5049520ed35c9640d449195
[ "MIT" ]
null
null
null
examples/utils.py
microsoft/dist-ir
7cfa1b0c1e671619d5049520ed35c9640d449195
[ "MIT" ]
2
2021-11-10T11:40:51.000Z
2022-01-11T04:33:35.000Z
import json import logging def configure_logging(args): # TODO: Make logging level a command line arg if args.loglevel == "info": level = logging.INFO elif args.loglevel == "debug": level = logging.DEBUG elif args.loglevel == "warning": level = logging.WARNING elif args.log...
37.583333
87
0.669623
153
1,353
5.738562
0.398693
0.22779
0.072893
0.164009
0.129841
0.08656
0
0
0
0
0
0.008604
0.226903
1,353
35
88
38.657143
0.830784
0.031781
0
0
0
0
0.105505
0
0
0
0
0.028571
0
1
0.066667
false
0
0.066667
0
0.133333
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
946865ce5214fb93834d3c8b53d7a30016f157ad
182
py
Python
TRV.indigoPlugin/Contents/Server Plugin/postgresql/bin/__init__.py
autolog/TRV_Controller
39b40e666cf35dad517335f1bea27a8ab45e2c22
[ "MIT" ]
9
2020-04-21T01:58:32.000Z
2021-02-03T16:31:26.000Z
TRV.indigoPlugin/Contents/Server Plugin/postgresql/bin/__init__.py
autolog/TRV_Controller
39b40e666cf35dad517335f1bea27a8ab45e2c22
[ "MIT" ]
null
null
null
TRV.indigoPlugin/Contents/Server Plugin/postgresql/bin/__init__.py
autolog/TRV_Controller
39b40e666cf35dad517335f1bea27a8ab45e2c22
[ "MIT" ]
3
2021-01-25T17:36:56.000Z
2021-05-24T12:01:05.000Z
""" Console-script collection package. Contents: pg_python Python console with a PostgreSQL connection bound to `db`. pg_dotconf Modify a PostgreSQL configuration file. """
15.166667
60
0.758242
23
182
5.913043
0.782609
0.161765
0
0
0
0
0
0
0
0
0
0
0.17033
182
11
61
16.545455
0.900662
0.950549
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
8468b0bada3d29d08ead46bec067842a3c1df587
177
py
Python
ygo_core/context_processors.py
monovertex/ygorganizer
987a8de36b3864906ed499886e4c1a712d214310
[ "MIT" ]
11
2015-08-20T15:29:33.000Z
2021-08-19T23:48:14.000Z
ygo_core/context_processors.py
monovertex/ygorganizer
987a8de36b3864906ed499886e4c1a712d214310
[ "MIT" ]
29
2015-08-20T13:25:59.000Z
2015-08-24T13:28:52.000Z
ygo_core/context_processors.py
monovertex/ygorganizer
987a8de36b3864906ed499886e4c1a712d214310
[ "MIT" ]
4
2015-10-25T07:04:45.000Z
2020-05-17T01:09:22.000Z
from django.conf import settings as django_settings def settings(request): return { 'debug': django_settings.DEBUG, 'GA_ID': django_settings.GA_ID }
16.090909
51
0.672316
22
177
5.181818
0.545455
0.368421
0
0
0
0
0
0
0
0
0
0
0.242938
177
10
52
17.7
0.850746
0
0
0
0
0
0.056818
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
0.5
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
0
1
0
0
0
3
8470e981616aa3f0c0bf8338e49734a7e71020dc
346
py
Python
bin/boliu/dbscansd/test.py
LarryHH/DBSCANSD
a080657df238e188bcfddfd296dce0992edfacdd
[ "MIT" ]
null
null
null
bin/boliu/dbscansd/test.py
LarryHH/DBSCANSD
a080657df238e188bcfddfd296dce0992edfacdd
[ "MIT" ]
null
null
null
bin/boliu/dbscansd/test.py
LarryHH/DBSCANSD
a080657df238e188bcfddfd296dce0992edfacdd
[ "MIT" ]
null
null
null
if __name__ == '__main__': # for i in range(3): # print(i) # if (True): # for i in range(3): # print(i) mytuple = ["apple", "banana", "cherry"] myit = iter(mytuple) for i in myit: print(i) print(next(myit)) # print(next(myit)) # print(next(myit...
19.222222
43
0.482659
44
346
3.613636
0.386364
0.226415
0.327044
0.339623
0.553459
0.553459
0.553459
0.327044
0.327044
0
0
0.00885
0.346821
346
18
44
19.222222
0.69469
0.393064
0
0
0
0
0.124378
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
8470fe6b3c54e318a4d484d2251c5d81afa4cb23
607
py
Python
src/bci_background/scripts/BCI_core/GuiMachine/KinectClient/kinect_camera.py
nubot-nudt/BCI_Multi_Robot
19f344e5d71bba6d989ec795bc3fd403e336fef0
[ "BSD-2-Clause" ]
13
2019-07-15T11:55:47.000Z
2022-03-23T12:56:25.000Z
src/bci_background/scripts/BCI_core/GuiMachine/KinectClient/kinect_camera.py
nubot-nudt/BCI_Multi_Robot
19f344e5d71bba6d989ec795bc3fd403e336fef0
[ "BSD-2-Clause" ]
null
null
null
src/bci_background/scripts/BCI_core/GuiMachine/KinectClient/kinect_camera.py
nubot-nudt/BCI_Multi_Robot
19f344e5d71bba6d989ec795bc3fd403e336fef0
[ "BSD-2-Clause" ]
2
2020-03-05T07:34:57.000Z
2021-06-29T01:49:31.000Z
#!/usr/bin/env python # -*-coding:utf-8-*- #FileName: camera.py #Version: 1.0 #Author: Jingsheng Tang #Date: 2017/12/27 #Email: mrtang@nudt.edu.cn #Github: trzp from __future__ import division import pygame from pygame.locals import * import os from KinectClient import KinectClientV2 from usb_camera ...
21.678571
55
0.680395
75
607
5.333333
0.68
0.04
0
0
0
0
0
0
0
0
0
0.02714
0.210873
607
28
56
21.678571
0.807933
0.23888
0
0
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.461538
0.076923
0.846154
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
1
0
1
0
0
3
8487e9440596506490862f2f29e5e771be6456d5
524
bzl
Python
lib/directory_path.bzl
alexeagle/bazel-lib
02be4c5f47b476e686943f53ddd47a672a51a265
[ "Apache-2.0" ]
16
2021-11-08T15:03:49.000Z
2022-03-23T19:38:32.000Z
lib/directory_path.bzl
alexeagle/bazel-lib
02be4c5f47b476e686943f53ddd47a672a51a265
[ "Apache-2.0" ]
29
2021-11-15T16:27:25.000Z
2022-03-31T04:03:16.000Z
lib/directory_path.bzl
alexeagle/bazel-lib
02be4c5f47b476e686943f53ddd47a672a51a265
[ "Apache-2.0" ]
3
2021-12-09T00:27:42.000Z
2022-03-30T20:14:00.000Z
"""Rule and corresponding provider that joins a label pointing to a TreeArtifact with a path nested within that directory """ load( "//lib/private:directory_path.bzl", _DirectoryPathInfo = "DirectoryPathInfo", _directory_path = "directory_path", _make_directory_path = "make_directory_path", _make_d...
30.823529
80
0.799618
61
524
6.393443
0.377049
0.3
0.261538
0.4
0.492308
0.492308
0.492308
0.492308
0.492308
0.492308
0
0
0.131679
524
16
81
32.75
0.857143
0.225191
0
0
0
0
0.255639
0.080201
0
0
0
0
0
1
0
false
0
0
0
0
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
84c60dc9e6f94c9e0c606f4934d4f403bc2e3dca
625
py
Python
pedestrian-generator/src/pedestrian_generator/utils/timer.py
RI-SE/smirk
a22b3a87b86d8d2a25e4c17fecf9e232787eff77
[ "MIT" ]
1
2020-12-21T00:09:51.000Z
2020-12-21T00:09:51.000Z
pedestrian-generator/src/pedestrian_generator/utils/timer.py
mrksbrg/smirk
a6a980052aa04caca808781963607de21ed64eb2
[ "MIT" ]
8
2021-02-15T09:38:04.000Z
2022-03-15T12:03:14.000Z
pedestrian-generator/src/pedestrian_generator/utils/timer.py
mrksbrg/smirk
a6a980052aa04caca808781963607de21ed64eb2
[ "MIT" ]
1
2021-05-24T17:25:27.000Z
2021-05-24T17:25:27.000Z
import time from typing import Optional class TimerError(Exception): pass class Timer: def __init__(self) -> None: self._start_time: Optional[float] = None def start(self) -> float: self._start_time = time.perf_counter() return self._start_time def lap(self) -> float: ...
19.53125
53
0.6144
77
625
4.753247
0.363636
0.147541
0.213115
0.092896
0.114754
0
0
0
0
0
0
0
0.288
625
31
54
20.16129
0.822472
0
0
0
0
0
0.0288
0
0
0
0
0
0
1
0.25
false
0.05
0.1
0
0.6
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
84cf8171c16ec4b2edec65c0741fcc59b6a42582
356
py
Python
operations/fleet_management/migrations/0015_merge_20180122_0848.py
kaizer88/emps
2669b32c46befcf1a19390fb25013817e6b00980
[ "MIT" ]
null
null
null
operations/fleet_management/migrations/0015_merge_20180122_0848.py
kaizer88/emps
2669b32c46befcf1a19390fb25013817e6b00980
[ "MIT" ]
null
null
null
operations/fleet_management/migrations/0015_merge_20180122_0848.py
kaizer88/emps
2669b32c46befcf1a19390fb25013817e6b00980
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2018-01-22 06:48 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('fleet_management', '0014_auto_20180119_1017'), ('fleet_management', '0014_auto_20180119_1200...
20.941176
56
0.679775
43
356
5.325581
0.767442
0.131004
0.165939
0.200873
0.270742
0
0
0
0
0
0
0.172535
0.202247
356
16
57
22.25
0.633803
0.191011
0
0
1
0
0.273684
0.161404
0
0
0
0
0
1
0
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
84f6ad45134fc359ab1c102765e5a12f0348d62d
190
py
Python
src/repo/__init__.py
woodpav/tal
45664301404e21d74ed07fe3e671dfd6c9235be6
[ "MIT" ]
null
null
null
src/repo/__init__.py
woodpav/tal
45664301404e21d74ed07fe3e671dfd6c9235be6
[ "MIT" ]
null
null
null
src/repo/__init__.py
woodpav/tal
45664301404e21d74ed07fe3e671dfd6c9235be6
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import click from .create import create_repo @click.group() def repo(): pass @repo.command() @click.argument("name") def create(name): create_repo(name)
11.176471
31
0.689474
27
190
4.777778
0.555556
0.155039
0
0
0
0
0
0
0
0
0
0.006289
0.163158
190
16
32
11.875
0.805031
0.110526
0
0
0
0
0.02381
0
0
0
0
0
0
1
0.222222
false
0.111111
0.222222
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
ca067d1e1175e2416d4ea2669beb2be86145410d
2,402
py
Python
efax/_src/distributions/poisson.py
NeilGirdhar/efax
3a0f1ea3fafb456b024137dc5a20a9e7f9806a9f
[ "MIT" ]
34
2020-03-24T06:21:08.000Z
2022-03-19T04:48:17.000Z
efax/_src/distributions/poisson.py
NeilGirdhar/efax
3a0f1ea3fafb456b024137dc5a20a9e7f9806a9f
[ "MIT" ]
8
2020-03-30T11:27:48.000Z
2021-07-05T06:10:06.000Z
efax/_src/distributions/poisson.py
NeilGirdhar/efax
3a0f1ea3fafb456b024137dc5a20a9e7f9806a9f
[ "MIT" ]
1
2022-03-17T01:34:07.000Z
2022-03-17T01:34:07.000Z
from __future__ import annotations from typing import Optional, Type import jax import jax.numpy as jnp from jax.scipy import special as jss from tjax import Generator, RealArray, Shape from tjax.dataclasses import dataclass from ..conjugate_prior import HasConjugatePrior from ..natural_parametrization import Natura...
32.459459
100
0.633222
260
2,402
5.734615
0.307692
0.026828
0.037559
0.040241
0.160966
0.160966
0.134138
0.134138
0.134138
0.134138
0
0.001539
0.188593
2,402
73
101
32.90411
0.763468
0.188177
0
0.125
0
0
0.013896
0
0
0
0
0
0
1
0.229167
false
0
0.25
0.208333
0.791667
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
ca25f8ff0012115b86ee11fbf0282db8b4f1ea49
392
py
Python
src/python/WMCore/WMBS/Oracle/Workflow/New.py
khurtado/WMCore
f74e252412e49189a92962945a94f93bec81cd1e
[ "Apache-2.0" ]
21
2015-11-19T16:18:45.000Z
2021-12-02T18:20:39.000Z
src/python/WMCore/WMBS/Oracle/Workflow/New.py
khurtado/WMCore
f74e252412e49189a92962945a94f93bec81cd1e
[ "Apache-2.0" ]
5,671
2015-01-06T14:38:52.000Z
2022-03-31T22:11:14.000Z
src/python/WMCore/WMBS/Oracle/Workflow/New.py
khurtado/WMCore
f74e252412e49189a92962945a94f93bec81cd1e
[ "Apache-2.0" ]
67
2015-01-21T15:55:38.000Z
2022-02-03T19:53:13.000Z
#!/usr/bin/env python """ _NewWorkflow_ Oracle implementation of NewWorkflow """ from WMCore.WMBS.MySQL.Workflow.New import New as NewWorkflowMySQL class New(NewWorkflowMySQL): sql = """insert into wmbs_workflow (id, spec, owner, name, task, type, alt_fs_close, priority) values (wmbs_workflow_SEQ.ne...
30.153846
112
0.719388
51
392
5.352941
0.666667
0.087912
0.095238
0.124542
0.285714
0.285714
0.285714
0.285714
0.285714
0
0
0
0.15051
392
12
113
32.666667
0.81982
0.183673
0
0
0
0.25
0.625
0.086538
0
0
0
0
0
1
0
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
ca5173efd3e7c1e0195d89f103c50357c949c6c8
1,665
py
Python
books/PRML/PRML-master-Python/prml/rv/uniform.py
iamfaith/DeepLearning
80ce429d0e9e448cf84e7d51129ef4e0077048a2
[ "Apache-2.0" ]
11,017
2017-07-03T03:06:25.000Z
2022-03-30T18:47:20.000Z
books/PRML/PRML-master-Python/prml/rv/uniform.py
lizhenchen2019/DeepLearning
467c73e2d0435f0a05255e5b5e00454260d01f27
[ "Apache-2.0" ]
21
2017-08-13T01:35:41.000Z
2022-03-21T06:25:09.000Z
books/PRML/PRML-master-Python/prml/rv/uniform.py
lizhenchen2019/DeepLearning
467c73e2d0435f0a05255e5b5e00454260d01f27
[ "Apache-2.0" ]
3,417
2017-07-05T12:55:52.000Z
2022-03-30T18:47:27.000Z
import numpy as np from prml.rv.rv import RandomVariable class Uniform(RandomVariable): """ Uniform distribution p(x|a, b) = 1 / ((b_0 - a_0) * (b_1 - a_1)) if a <= x <= b else 0 """ def __init__(self, low, high): """ construct uniform distribution Parameters ...
23.125
65
0.550751
215
1,665
4.176744
0.260465
0.077951
0.077951
0.056793
0.093541
0.051225
0
0
0
0
0
0.014109
0.318919
1,665
71
66
23.450704
0.777778
0.146547
0
0.139535
0
0
0.010558
0
0
0
0
0
0.046512
1
0.255814
false
0
0.046512
0.139535
0.511628
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
ca64a661dac30d58388a254652a02960e4ba07d5
5,986
py
Python
starboost/losses.py
vishalbelsare/starboost
59d96dcc983404cbc326878facd8171fd2655ce1
[ "MIT" ]
22
2018-12-01T10:20:41.000Z
2022-01-02T01:29:31.000Z
starboost/losses.py
vishalbelsare/starboost
59d96dcc983404cbc326878facd8171fd2655ce1
[ "MIT" ]
1
2021-09-21T03:45:56.000Z
2021-09-21T10:52:55.000Z
starboost/losses.py
vishalbelsare/starboost
59d96dcc983404cbc326878facd8171fd2655ce1
[ "MIT" ]
9
2019-02-06T18:56:36.000Z
2022-01-02T01:29:58.000Z
import abc import numpy as np from . import init from . import line_searchers __all__ = ['L2Loss', 'L1Loss', 'LogLoss'] class Loss(abc.ABC): @abc.abstractmethod def __call__(self, y_true, y_pred): pass @abc.abstractmethod def gradient(self, y_true, y_pred): pass @property ...
30.232323
99
0.593552
834
5,986
4.100719
0.205036
0.045322
0.031579
0.052632
0.569298
0.522807
0.465205
0.44269
0.44152
0.350585
0
0.027816
0.279318
5,986
197
100
30.385787
0.764951
0.537254
0
0.644068
0
0
0.008656
0
0
0
0
0
0
1
0.305085
false
0.050847
0.067797
0.067797
0.694915
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
ca6c09083168056e4d5a22938394bf6d3026b5e4
106
py
Python
nmap_application/apps.py
Neo1277/nmap-scanner-django
98cb487319a35b51f696a4d6e9f19cec76e3e41a
[ "MIT" ]
4
2021-03-03T00:15:26.000Z
2022-03-16T17:18:12.000Z
nmap_application/apps.py
Neo1277/nmap-scanner-django
98cb487319a35b51f696a4d6e9f19cec76e3e41a
[ "MIT" ]
null
null
null
nmap_application/apps.py
Neo1277/nmap-scanner-django
98cb487319a35b51f696a4d6e9f19cec76e3e41a
[ "MIT" ]
null
null
null
from django.apps import AppConfig class NmapApplicationConfig(AppConfig): name = 'nmap_application'
17.666667
39
0.792453
11
106
7.545455
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.141509
106
5
40
21.2
0.912088
0
0
0
0
0
0.150943
0
0
0
0
0
0
1
0
false
0
0.333333
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
1
0
0
0
0
3
ca73ae19914a822685e13d6cee4637f81093110f
196
py
Python
api/authentication/models.py
WaffleHacks/wafflebot
e18b7e8b7ceed97f942673a4e90f7196c2542ce0
[ "MIT" ]
2
2021-04-24T05:52:40.000Z
2021-06-25T23:24:08.000Z
api/authentication/models.py
WaffleHacks/wafflebot
e18b7e8b7ceed97f942673a4e90f7196c2542ce0
[ "MIT" ]
6
2021-06-13T01:50:50.000Z
2021-09-05T17:30:49.000Z
api/authentication/models.py
WaffleHacks/wafflebot
e18b7e8b7ceed97f942673a4e90f7196c2542ce0
[ "MIT" ]
null
null
null
from pydantic import BaseModel class UserInfo(BaseModel): """ A user's profile information """ id: str username: str picture: str expiration: int is_admin: bool
14
32
0.632653
23
196
5.347826
0.869565
0
0
0
0
0
0
0
0
0
0
0
0.290816
196
13
33
15.076923
0.884892
0.142857
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.142857
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
ca7aed7972dd1f2ff9068e7f7e0a652e6b0aea82
123
py
Python
Solver/AddPieceToCrate.py
bchaiks/3D_Bin_Packing_Heuristics
f8c4ac1ec73f1b94287eb18fdcdff7bea685ec27
[ "MIT" ]
1
2021-03-17T03:36:58.000Z
2021-03-17T03:36:58.000Z
Solver/AddPieceToCrate.py
bchaiks/3D_Bin_Packing_Heuristics
f8c4ac1ec73f1b94287eb18fdcdff7bea685ec27
[ "MIT" ]
1
2021-03-13T11:36:54.000Z
2021-03-16T03:42:11.000Z
Solver/AddPieceToCrate.py
bchaiks/3D_Bin_Packing_Heuristics
f8c4ac1ec73f1b94287eb18fdcdff7bea685ec27
[ "MIT" ]
2
2020-11-10T15:24:16.000Z
2021-03-13T05:38:59.000Z
""" function for adding a piece and updating the extreme points """ def AddPieceToCrate(newPiece, currentCrate):
13.666667
67
0.715447
14
123
6.285714
1
0
0
0
0
0
0
0
0
0
0
0
0.203252
123
8
68
15.375
0.897959
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
ca80ea413ae2bf2be14b76469a088ed723ed1f7b
237
py
Python
src/interpreter/functions/try_func.py
UnseenSevet/b-star
422371f6093e255dc04613b3006050027a3f065b
[ "MIT" ]
null
null
null
src/interpreter/functions/try_func.py
UnseenSevet/b-star
422371f6093e255dc04613b3006050027a3f065b
[ "MIT" ]
null
null
null
src/interpreter/functions/try_func.py
UnseenSevet/b-star
422371f6093e255dc04613b3006050027a3f065b
[ "MIT" ]
null
null
null
from typing import List from src.interpreter.expression import Expression def try_func(block: List, codebase): try: return Expression(block[1], codebase) except Exception: return Expression(block[2], codebase)
21.545455
49
0.7173
29
237
5.827586
0.586207
0.189349
0.248521
0
0
0
0
0
0
0
0
0.010582
0.202532
237
10
50
23.7
0.883598
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.714286
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
ca8704f6b44941972000a7bae038a298fccef039
1,003
py
Python
kevin/tests/leet/test_max_area_of_island.py
kalyons11/kevin
4e222fcd8ee7f2a275390f532c2fa5fef39060e8
[ "MIT" ]
1
2017-08-03T04:21:14.000Z
2017-08-03T04:21:14.000Z
kevin/tests/leet/test_max_area_of_island.py
kalyons11/kevin
4e222fcd8ee7f2a275390f532c2fa5fef39060e8
[ "MIT" ]
null
null
null
kevin/tests/leet/test_max_area_of_island.py
kalyons11/kevin
4e222fcd8ee7f2a275390f532c2fa5fef39060e8
[ "MIT" ]
null
null
null
""" https://leetcode.com/explore/featured/card/june-leetcoding-challenge-2021/603/week-1-june-1st-june-7th/3764/ """ from typing import List from unittest import TestCase from kevin.leet.max_area_of_island import Solution class TestMaxAreaOfIsland: def _base_test_max_area_of_island(self, grid: List[List[int]], ...
34.586207
240
0.639083
217
1,003
2.797235
0.207373
0.230643
0.271829
0.29654
0.481054
0.423394
0.304778
0.294893
0.281713
0.153213
0
0.151659
0.158524
1,003
28
241
35.821429
0.567536
0.107677
0
0.117647
0
0
0
0
0
0
0
0
0.058824
1
0.176471
false
0
0.176471
0
0.411765
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
ca8e4cfa24a9cb5a0937496ff578cae18ab55968
79
py
Python
src/aprl/configs/__init__.py
fkamrani/adversarial-policies
53e129c2083f6557ddc18dbb39e4e633a2d7ab9b
[ "MIT" ]
211
2019-02-22T08:07:25.000Z
2022-03-14T10:44:20.000Z
src/aprl/configs/__init__.py
fkamrani/adversarial-policies
53e129c2083f6557ddc18dbb39e4e633a2d7ab9b
[ "MIT" ]
51
2019-02-08T01:39:49.000Z
2022-02-15T21:21:46.000Z
src/aprl/configs/__init__.py
fkamrani/adversarial-policies
53e129c2083f6557ddc18dbb39e4e633a2d7ab9b
[ "MIT" ]
41
2019-04-23T05:01:49.000Z
2022-03-16T06:51:19.000Z
import os DATA_LOCATION = os.path.abspath(os.environ.get("DATA_LOC", "data"))
19.75
67
0.734177
13
79
4.307692
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.088608
79
3
68
26.333333
0.777778
0
0
0
0
0
0.151899
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
0481799b9366193a1a9399a0f1d0a87579becb61
193
py
Python
django/apps/thesis/models/__init__.py
wykys/project-thesaurus
f700396b30ed44e6b001c15397a25450ac068af4
[ "MIT" ]
null
null
null
django/apps/thesis/models/__init__.py
wykys/project-thesaurus
f700396b30ed44e6b001c15397a25450ac068af4
[ "MIT" ]
93
2020-05-19T18:14:12.000Z
2022-03-29T00:26:39.000Z
django/apps/thesis/models/__init__.py
wykys/project-thesaurus
f700396b30ed44e6b001c15397a25450ac068af4
[ "MIT" ]
1
2020-11-21T20:24:35.000Z
2020-11-21T20:24:35.000Z
from .category import Category from .reservation import Reservation from .thesis import Thesis, ThesisAuthor __all__ = [ 'Thesis', 'ThesisAuthor', 'Reservation', 'Category', ]
17.545455
40
0.704663
18
193
7.333333
0.388889
0.272727
0
0
0
0
0
0
0
0
0
0
0.196891
193
10
41
19.3
0.851613
0
0
0
0
0
0.19171
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
049fa2d31e64c749844567f3e550cfb77601fb1c
6,915
py
Python
hoomd/md/test-py/test_charge_pppm.py
kmoskovtsev/HOOMD-Blue-fork
99560563a5ba9e082b513764bae51a84f48fdc70
[ "BSD-3-Clause" ]
null
null
null
hoomd/md/test-py/test_charge_pppm.py
kmoskovtsev/HOOMD-Blue-fork
99560563a5ba9e082b513764bae51a84f48fdc70
[ "BSD-3-Clause" ]
null
null
null
hoomd/md/test-py/test_charge_pppm.py
kmoskovtsev/HOOMD-Blue-fork
99560563a5ba9e082b513764bae51a84f48fdc70
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: iso-8859-1 -*- # Maintainer: joaander from hoomd import * from hoomd import deprecated from hoomd import md import unittest import os context.initialize() # charge.pppm class charge_pppm_tests (unittest.TestCase): def setUp(self): self.s = deprecated.init.create_random(N=100, phi_p=0.05); ...
35.64433
169
0.614606
977
6,915
4.274309
0.175026
0.170977
0.121169
0.1341
0.818247
0.809387
0.766284
0.688937
0.5534
0.490182
0
0.077403
0.235864
6,915
193
170
35.829016
0.712907
0.183659
0
0.418803
0
0
0.036977
0
0
0
0
0
0.290598
1
0.076923
false
0
0.042735
0
0.145299
0.017094
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
049fbd77df5d9b9bda12428fa620872314830740
1,384
py
Python
books/PythonCleanCode/ch5_decorator/decorator_parameterized_2.py
zeroam/TIL
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
[ "MIT" ]
null
null
null
books/PythonCleanCode/ch5_decorator/decorator_parameterized_2.py
zeroam/TIL
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
[ "MIT" ]
null
null
null
books/PythonCleanCode/ch5_decorator/decorator_parameterized_2.py
zeroam/TIL
43e3573be44c7f7aa4600ff8a34e99a65cbdc5d1
[ "MIT" ]
null
null
null
"""Clean Code in Python - Chapter 5: Decorators Parameterized decorators using functions """ from functools import wraps from decorator_function_1 import ControlledException from log import logger RETRIES_LIMIT = 3 class WithRetry: def __init__(self, retries_limit=RETRIES_LIMIT, allowed_exceptio...
26.113208
84
0.659682
152
1,384
5.723684
0.401316
0.124138
0.064368
0.078161
0.250575
0.087356
0.087356
0
0
0
0
0.004888
0.260838
1,384
52
85
26.615385
0.845552
0.062139
0
0.125
0
0
0.016949
0
0
0
0
0
0
1
0.21875
false
0
0.09375
0.125
0.53125
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
04ae16173a1f92f35f28d97d03fdf7a439312f2b
213
py
Python
tests/test_version.py
sugatoray/pip-api
dec3a5e30c911b794763483ed985960a6732a40e
[ "Apache-2.0" ]
81
2018-03-21T02:09:38.000Z
2022-02-11T09:30:13.000Z
tests/test_version.py
sugatoray/pip-api
dec3a5e30c911b794763483ed985960a6732a40e
[ "Apache-2.0" ]
67
2018-09-27T16:03:02.000Z
2022-03-11T20:05:37.000Z
tests/test_version.py
sugatoray/pip-api
dec3a5e30c911b794763483ed985960a6732a40e
[ "Apache-2.0" ]
15
2018-03-31T01:15:18.000Z
2022-03-10T08:13:23.000Z
import pip_api def test_version(pip): from_api = pip_api.version() from_call = pip.run("--version").split()[1] from_import = str(pip_api.PIP_VERSION) assert from_api == from_call == from_import
21.3
47
0.690141
33
213
4.121212
0.393939
0.132353
0
0
0
0
0
0
0
0
0
0.005714
0.178404
213
9
48
23.666667
0.771429
0
0
0
0
0
0.042254
0
0
0
0
0
0.166667
1
0.166667
false
0
0.5
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
04c5bf93f800abf9e065bc86462b38362e2bf84d
649
py
Python
setup.py
nilsFK/py-privatekonomi
9172dfa85e439e18558a60fdb3b69e956e70e783
[ "MIT" ]
2
2015-01-04T21:27:45.000Z
2015-01-05T13:31:52.000Z
setup.py
nilsFK/py-privatekonomi
9172dfa85e439e18558a60fdb3b69e956e70e783
[ "MIT" ]
28
2015-01-04T22:13:24.000Z
2019-11-29T13:41:01.000Z
setup.py
nilsFK/py-privatekonomi
9172dfa85e439e18558a60fdb3b69e956e70e783
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup(name='pyprivatekonomi', version='0.0.1a1', description='Parse and format bank transactions', url='https://github.com/nilsFK/py-privatekonomi', author='Nils F. Karlsson', author_email='nils@tibiahof.com', license='MIT', packages=find_packages...
34.157895
53
0.633282
71
649
5.732394
0.690141
0.186732
0.2457
0.191646
0
0
0
0
0
0
0
0.025743
0.22188
649
19
54
34.157895
0.780198
0
0
0
0
0
0.529231
0
0
0
0
0
0
1
0
true
0
0.055556
0
0.055556
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
b6cc850c9b7c99a112de87ecdd42d38fb0c4a076
532
py
Python
ps1_argonaut/wad_sections/TPSX/TextureFlags.py
OverSurge/PS1-BRender-Reverse
3253707d5382cb3df41d8704214b60582e0ea56b
[ "MIT" ]
51
2020-05-23T21:25:22.000Z
2021-04-25T07:52:48.000Z
ps1_argonaut/wad_sections/TPSX/TextureFlags.py
OverSurge/PS1-BRender-Reverse
3253707d5382cb3df41d8704214b60582e0ea56b
[ "MIT" ]
1
2021-04-03T23:12:27.000Z
2021-04-03T23:12:27.000Z
ps1_argonaut/wad_sections/TPSX/TextureFlags.py
OverSurge/PS1-BRender-Reverse
3253707d5382cb3df41d8704214b60582e0ea56b
[ "MIT" ]
null
null
null
from enum import IntFlag class TextureFlags(IntFlag): HAS_256_COLORS_PALETTE = 0x80 IS_NOT_PALETTED = 0x100 @property def n_row(self): return ((self.value & 4) >> 1) + ((self.value & 16) >> 4) @property def n_column(self): return self.value & 3 @property def correcti...
26.6
101
0.667293
77
532
4.441558
0.558442
0.096491
0.070175
0.111111
0
0
0
0
0
0
0
0.057214
0.244361
532
19
102
28
0.793532
0.148496
0
0.230769
0
0
0
0
0
0
0.020134
0
0
1
0.230769
false
0
0.076923
0.153846
0.769231
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
b6cd219602974324d756a7fefb7a421e9f542042
245
py
Python
rename.py
hdh7485/OpenLabeling
738264bc44be63b9784ef63d220e47368b3a5fea
[ "Apache-2.0" ]
null
null
null
rename.py
hdh7485/OpenLabeling
738264bc44be63b9784ef63d220e47368b3a5fea
[ "Apache-2.0" ]
null
null
null
rename.py
hdh7485/OpenLabeling
738264bc44be63b9784ef63d220e47368b3a5fea
[ "Apache-2.0" ]
null
null
null
import os path = "/Users/dongheehan/Downloads/construct/" for filename in os.listdir(path): #if filename[-3:] == "txt": #print(filename[:12]) #print(filename[12:]) os.rename(path+filename, path+filename[:12]+"_"+filename[12:])
30.625
66
0.653061
32
245
4.96875
0.53125
0.251572
0.188679
0
0
0
0
0
0
0
0
0.042857
0.142857
245
7
67
35
0.714286
0.273469
0
0
0
0
0.222857
0.217143
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
1
1
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
b6e38d5e01e7775dd21ed01f68f8d47f32291d69
76
py
Python
djangobench/benchmarks/query_in_bulk/settings.py
Bouke/djangobench
94fc28d99f95c65d26d0fad8af44e46c49282220
[ "BSD-3-Clause" ]
3
2016-11-27T22:25:34.000Z
2018-12-12T20:06:40.000Z
djangobench/benchmarks/query_in_bulk/settings.py
Bouke/djangobench
94fc28d99f95c65d26d0fad8af44e46c49282220
[ "BSD-3-Clause" ]
null
null
null
djangobench/benchmarks/query_in_bulk/settings.py
Bouke/djangobench
94fc28d99f95c65d26d0fad8af44e46c49282220
[ "BSD-3-Clause" ]
null
null
null
from djangobench.base_settings import * INSTALLED_APPS = ['query_in_bulk']
19
39
0.802632
10
76
5.7
1
0
0
0
0
0
0
0
0
0
0
0
0.105263
76
3
40
25.333333
0.838235
0
0
0
0
0
0.171053
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
8e35730ecaec9bb7606933a851a8545f8baeb1b4
742
py
Python
psltdsim/mirror/__init__.py
thadhaines/PSLTDSim
1bc598f3733c1369c164f54249e5f7757e6bf466
[ "MIT" ]
null
null
null
psltdsim/mirror/__init__.py
thadhaines/PSLTDSim
1bc598f3733c1369c164f54249e5f7757e6bf466
[ "MIT" ]
null
null
null
psltdsim/mirror/__init__.py
thadhaines/PSLTDSim
1bc598f3733c1369c164f54249e5f7757e6bf466
[ "MIT" ]
null
null
null
# This imports functions that will be available as psltdsim.mirror.* from .Mirror import Mirror from .combinedSwing import combinedSwing from .distPacc import distPacc from .initInertiaH import initInertiaH from .initRunningVals import initRunningVals from .initPY3Dynamics import initPY3Dynamics from .createPY3Dynamic...
33.727273
68
0.857143
96
742
6.458333
0.416667
0.032258
0.058065
0
0
0
0
0
0
0
0
0.009132
0.114555
742
22
69
33.727273
0.934551
0.177898
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
8e3d050a816d590c1506e86ca61f90fc5c1e10e8
3,616
py
Python
pandas_selectable/tests/test_select.py
jseabold/pandas-select
0dc5fac465db8348bf3d1cc69d9f7c4fe28896e1
[ "BSD-3-Clause" ]
28
2020-09-08T04:38:01.000Z
2022-02-05T21:47:52.000Z
pandas_selectable/tests/test_select.py
jseabold/pandas-select
0dc5fac465db8348bf3d1cc69d9f7c4fe28896e1
[ "BSD-3-Clause" ]
8
2020-09-04T21:29:57.000Z
2021-11-17T16:44:42.000Z
pandas_selectable/tests/test_select.py
jseabold/pandas-select
0dc5fac465db8348bf3d1cc69d9f7c4fe28896e1
[ "BSD-3-Clause" ]
null
null
null
import pandas_selectable # noqa def test_accessor_registered(dta): assert hasattr(dta, 'select') assert hasattr(dta.select, 'A') assert hasattr(dta.select.B, 'dt') assert hasattr(dta.select.C, 'str') assert hasattr(dta.select, 'index') assert dir(dta.select) == ['A', 'B', 'C', 'D', 'index'] ...
41.090909
69
0.606195
608
3,616
3.565789
0.121711
0.240775
0.242159
0.141144
0.705258
0.65452
0.582103
0.466328
0.364852
0.241236
0
0.035123
0.165376
3,616
87
70
41.563218
0.683234
0.022124
0
0
0
0
0.024349
0
0
0
0
0
0.901408
1
0.084507
false
0
0.014085
0
0.098592
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
8e4170cc0f126e2eac7d3ddd552720ebf1f2378b
5,802
py
Python
nongji.butie/butie.py
zzh-python/all-project
915a47fb42d63ff3a36814992283c2f4ed8703a3
[ "Apache-2.0" ]
58
2019-03-01T08:15:19.000Z
2022-03-28T03:16:17.000Z
nongji.butie/butie.py
zzh-python/all-project
915a47fb42d63ff3a36814992283c2f4ed8703a3
[ "Apache-2.0" ]
2
2020-06-08T08:07:46.000Z
2020-11-02T11:48:05.000Z
nongji.butie/butie.py
zzh-python/all-project
915a47fb42d63ff3a36814992283c2f4ed8703a3
[ "Apache-2.0" ]
37
2019-02-26T23:30:08.000Z
2022-01-27T05:10:18.000Z
from bs4 import BeautifulSoup import requests import xlsxwriter import re page=1 privince='24—2018贵州' urlroot='http://42.123.116.194:2018/pub/GongShiSearch' cook='__RequestVerificationToken=; __RequestVerificationToken_Lw__=4EDW+mpynwTkqW3DETpxdWrxn5W8nj6kMXUofKCESrXXkSYTWX4iH7MuETUbxuum0oVst5OqG1adH3b...
66.689655
285
0.799897
442
5,802
10.28733
0.5
0.061579
0.109963
0.106884
0.111722
0.111722
0.111722
0.111722
0.111722
0.111722
0
0.105022
0.09738
5,802
87
286
66.689655
0.763032
0.036022
0
0
0
0.072464
0.720495
0.670667
0
0
0
0
0
1
0.028986
false
0
0.057971
0
0.086957
0.028986
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6d0c73f8290e8f12542293b0736f45ce1ed98195
465
py
Python
client/message/__init__.py
thurdev/PythonDiscordAutoGift
7179db468568cce9639308e109ca694a8c85929e
[ "MIT" ]
1
2020-12-15T12:03:53.000Z
2020-12-15T12:03:53.000Z
client/message/__init__.py
thurdev/PythonDiscordAutoGift
7179db468568cce9639308e109ca694a8c85929e
[ "MIT" ]
null
null
null
client/message/__init__.py
thurdev/PythonDiscordAutoGift
7179db468568cce9639308e109ca694a8c85929e
[ "MIT" ]
null
null
null
from .guild import Guild import requests class Message(object): def __init__(self, token, message): self.message = message headers = {'Authorization': token} r = requests.get('https://discord.com/api/v8/guilds/' + self.message['guild_id'], headers=headers) self.guild = ...
22.142857
106
0.615054
54
465
5.203704
0.5
0.117438
0.099644
0
0
0
0
0
0
0
0
0.002899
0.258065
465
21
107
22.142857
0.811594
0
0
0
0
0
0.133047
0
0
0
0
0
0
1
0.25
false
0
0.166667
0.166667
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
6d21a5642934e988895bbd1519ab8f7d6c3e697a
764
py
Python
data/scrape/__init__.py
jamesrharwood/journal-guidelines
fe6c0a6d3c0443df6fc816b9503fad24459ddb4a
[ "MIT" ]
null
null
null
data/scrape/__init__.py
jamesrharwood/journal-guidelines
fe6c0a6d3c0443df6fc816b9503fad24459ddb4a
[ "MIT" ]
null
null
null
data/scrape/__init__.py
jamesrharwood/journal-guidelines
fe6c0a6d3c0443df6fc816b9503fad24459ddb4a
[ "MIT" ]
null
null
null
from scrapy.utils.project import get_project_settings from scrapy.crawler import CrawlerProcess settings = get_project_settings() def scrape(): from data.scrape.spiders import FirstPassSpider, SecondPassSpider, FallbackSpider process(FirstPassSpider, SecondPassSpider, FallbackSpider) def first_scrape(): ...
20.648649
85
0.770942
80
764
7.275
0.3125
0.068729
0.09622
0.137457
0.278351
0.278351
0.164948
0
0
0
0
0
0.159686
764
36
86
21.222222
0.906542
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0.3
0.3
0
0.55
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
6d43d52a8c4c70799bac41aa34bcf41b257842cf
1,928
py
Python
users/migrations/0002_auto_20210424_1320.py
mwinamijr/school-management-system-backend
7ec0ab674f524964214fc0abc39cef752eff4f9b
[ "MIT" ]
null
null
null
users/migrations/0002_auto_20210424_1320.py
mwinamijr/school-management-system-backend
7ec0ab674f524964214fc0abc39cef752eff4f9b
[ "MIT" ]
4
2021-06-05T00:11:13.000Z
2022-01-13T03:47:17.000Z
users/migrations/0002_auto_20210424_1320.py
mwinamijr/school-management-system-backend
7ec0ab674f524964214fc0abc39cef752eff4f9b
[ "MIT" ]
1
2022-02-10T15:24:43.000Z
2022-02-10T15:24:43.000Z
# Generated by Django 3.1.2 on 2021-04-24 10:20 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('users', '0001_initial'), ] operations = [ migrations.AddField( ...
39.346939
142
0.601141
205
1,928
5.521951
0.326829
0.055654
0.045936
0.060071
0.719965
0.719965
0.683746
0.60424
0.60424
0.60424
0
0.019816
0.267116
1,928
48
143
40.166667
0.781316
0.02334
0
0.547619
1
0
0.091972
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.142857
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6d4560387401731d6409d601040c26ac439a2207
422
py
Python
0x02-python-import_modules/2-args.py
calypsobronte/holbertonschool-higher_level_programming
c39c060d8473976fa475d22fffba5cb4329c9965
[ "MIT" ]
null
null
null
0x02-python-import_modules/2-args.py
calypsobronte/holbertonschool-higher_level_programming
c39c060d8473976fa475d22fffba5cb4329c9965
[ "MIT" ]
null
null
null
0x02-python-import_modules/2-args.py
calypsobronte/holbertonschool-higher_level_programming
c39c060d8473976fa475d22fffba5cb4329c9965
[ "MIT" ]
null
null
null
#!/usr/bin/python3 if __name__ == "__main__": import sys i = 1 if len(sys.argv) == 1: print("{} arguments.".format(len(sys.argv) - 1)) elif len(sys.argv) == 2: print("{} argument:".format(len(sys.argv) - 1)) elif len(sys.argv) > 2: print("{} arguments:".format(len(sys.argv) -...
30.142857
56
0.521327
61
422
3.47541
0.344262
0.264151
0.330189
0.207547
0.537736
0.537736
0.537736
0.349057
0.349057
0.349057
0
0.028571
0.253555
422
13
57
32.461538
0.644444
0.040284
0
0
0
0
0.128713
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0.333333
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
6d4ac476b8f2effe614c1e4cc68d6483d8eca817
168
py
Python
pagetags/__init__.py
pmatigakis/pagetags
5e81d01493548edc2677453819c32de3cf75d159
[ "MIT" ]
null
null
null
pagetags/__init__.py
pmatigakis/pagetags
5e81d01493548edc2677453819c32de3cf75d159
[ "MIT" ]
null
null
null
pagetags/__init__.py
pmatigakis/pagetags
5e81d01493548edc2677453819c32de3cf75d159
[ "MIT" ]
null
null
null
from flask_sqlalchemy import SQLAlchemy from flask_login import LoginManager from flask_jwt import JWT db = SQLAlchemy() login_manager = LoginManager() jwt = JWT()
15.272727
39
0.797619
22
168
5.909091
0.409091
0.207692
0
0
0
0
0
0
0
0
0
0
0.14881
168
10
40
16.8
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
6d55fb555ac5a50a9b33754dc50cf447d4523c76
403
py
Python
posts/forms.py
sh4rpy/yatube
cb7412b36b3c57e3b88b586f4134d04de93f04ac
[ "BSD-3-Clause" ]
null
null
null
posts/forms.py
sh4rpy/yatube
cb7412b36b3c57e3b88b586f4134d04de93f04ac
[ "BSD-3-Clause" ]
8
2021-03-30T14:04:26.000Z
2022-03-12T00:43:31.000Z
posts/forms.py
sh4rpy/ya_tube
cb7412b36b3c57e3b88b586f4134d04de93f04ac
[ "BSD-3-Clause" ]
1
2021-02-08T20:37:23.000Z
2021-02-08T20:37:23.000Z
from django import forms from .models import Post, Group, Comment class PostForm(forms.ModelForm): class Meta: model = Post fields = ['text', 'image', 'group'] class GroupForm(forms.ModelForm): class Meta: model = Group fields = ['title', 'description'] class CommentForm(f...
18.318182
43
0.615385
43
403
5.767442
0.465116
0.169355
0.229839
0.278226
0.33871
0
0
0
0
0
0
0
0.272953
403
21
44
19.190476
0.846416
0
0
0.214286
0
0
0.084367
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.571429
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
6d5e380df3a139038f9e0695fe353e7a21f91314
1,248
py
Python
cloc/mixins.py
TannerBurns/cloc
67753bc6148779db7a2bfb07e4410f12fa3de593
[ "MIT" ]
2
2020-03-04T14:15:07.000Z
2020-03-06T19:32:42.000Z
cloc/mixins.py
TannerBurns/cloc
67753bc6148779db7a2bfb07e4410f12fa3de593
[ "MIT" ]
null
null
null
cloc/mixins.py
TannerBurns/cloc
67753bc6148779db7a2bfb07e4410f12fa3de593
[ "MIT" ]
null
null
null
from cloc import arg, cmd, flg from cloc.utils import echo, listattrs class Echo(object): """Echo Mixin - class object for easily adding an echo command to a class - echo value of attributes by name """ def __call__(self): return self.echo_cmd @cmd('echo') @arg('attribute', type=s...
29.023256
83
0.637019
166
1,248
4.680723
0.301205
0.034749
0.061776
0.073359
0.339768
0.209781
0.127413
0
0
0
0
0
0.247596
1,248
43
84
29.023256
0.827476
0.323718
0
0.136364
0
0
0.114839
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0.136364
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ed8ddc52d670f7b80f31014a05f119dcb89ef4f1
8,751
py
Python
2020/17/solve.py
lamperi/aoc
1781dcbac0be18a086c10a9b76fb6a2d3595523c
[ "MIT" ]
null
null
null
2020/17/solve.py
lamperi/aoc
1781dcbac0be18a086c10a9b76fb6a2d3595523c
[ "MIT" ]
null
null
null
2020/17/solve.py
lamperi/aoc
1781dcbac0be18a086c10a9b76fb6a2d3595523c
[ "MIT" ]
null
null
null
import os.path import collections import re import math import itertools INPUT=os.path.join(os.path.dirname(__file__), "input.txt") with open(INPUT) as f: data = f.read() def adj(z,y,x): for zz in (z-1, z, z+1): for yy in (y-1, y, y+1): for xx in (x-1, x, x+1): if zz != z or...
36.161157
93
0.363387
1,144
8,751
2.659091
0.069056
0.112426
0.052926
0.043393
0.824786
0.745562
0.670611
0.65286
0.641683
0.613741
0
0.026466
0.499143
8,751
242
94
36.161157
0.667579
0.002285
0
0.66087
0
0
0.010769
0
0
0
0
0
0
1
0.017391
false
0
0.021739
0
0.047826
0.047826
0
0
0
null
0
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
eda63c61ddbaa59f874dfb8a0a4706978f17e975
668
py
Python
Collatz.py
Gerrydh/C-S-Exercises
b4b8e6c4142e8f0c69910f5e9dd353e706671618
[ "Apache-2.0" ]
null
null
null
Collatz.py
Gerrydh/C-S-Exercises
b4b8e6c4142e8f0c69910f5e9dd353e706671618
[ "Apache-2.0" ]
null
null
null
Collatz.py
Gerrydh/C-S-Exercises
b4b8e6c4142e8f0c69910f5e9dd353e706671618
[ "Apache-2.0" ]
null
null
null
# Gerard Hanlon, 2018-02-08 # Collatz Exercise. If the integer is odd, then multiply by 3 and add 1. If # the integer is even, then devide by 2. The integer should eventually return # the integer 1. # n = any integer entered. n = int(input("Please enter an Integer:")) # as long as n is a psoitive greater than 1 whi...
35.157895
78
0.633234
126
668
3.357143
0.357143
0.236407
0.198582
0.231678
0.397163
0.184397
0.184397
0.184397
0
0
0
0.055785
0.275449
668
18
79
37.111111
0.818182
0.676647
0
0.3
0
0
0.119403
0
0
0
0
0
0
1
0
false
0
0
0
0
0.3
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
edc36d2fcfb9a0c7fab84bf48e3524b6bd3c12a9
588
py
Python
Dataset/Leetcode/train/5/542.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/5/542.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/5/542.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: def XXX(self, s: str) -> str: n = len(s) dp = [[0]*n for _ in range(n)] mi, mj = n-1, n-1 for i in range(n-1, -1, -1): for j in range(i, n): if s[i]==s[j]: if j-i <= 1: dp[i][j] = j-i+1 ...
30.947368
49
0.282313
91
588
1.813187
0.252747
0.09697
0.072727
0.060606
0.242424
0.169697
0.169697
0.169697
0.169697
0
0
0.054475
0.562925
588
18
50
32.666667
0.587549
0
0
0.235294
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
edd8fb123f0b94d33a2300b0280d051f5ee7e5a8
539
py
Python
BSTU App/BSTU App/Database/DatabaseManagement/NavigationDB/MapRoadDot/MapRoadDotDB.py
alextar04/BSTU-APP
ff9df53335be4a94a1e04d4d4072b3bba18ba08b
[ "MIT" ]
null
null
null
BSTU App/BSTU App/Database/DatabaseManagement/NavigationDB/MapRoadDot/MapRoadDotDB.py
alextar04/BSTU-APP
ff9df53335be4a94a1e04d4d4072b3bba18ba08b
[ "MIT" ]
null
null
null
BSTU App/BSTU App/Database/DatabaseManagement/NavigationDB/MapRoadDot/MapRoadDotDB.py
alextar04/BSTU-APP
ff9df53335be4a94a1e04d4d4072b3bba18ba08b
[ "MIT" ]
null
null
null
from peewee import * from NavigationDB.BaseModel import BaseModel class MapRoadDot(BaseModel): id = IntegerField(column_name='id', primary_key=True) idMap = IntegerField(column_name='idMap') idOnMap = IntegerField(column_name='idOnMap') idPremise = IntegerField(column_name='idPremise') x = IntegerF...
38.5
57
0.734694
59
539
6.542373
0.40678
0.373057
0.455959
0
0
0
0
0
0
0
0
0
0.155844
539
14
58
38.5
0.848352
0
0
0
0
0
0.101852
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.923077
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
0
0
0
0
0
0
0
1
0
0
3
eddd2f825966741fcbf89ec3ed858abcb94d2bf2
1,416
py
Python
tests/test_settlement.py
eng-tools/geofound
b59e720cc0ca62c2999adca27cd66c45ae000828
[ "MIT" ]
12
2017-12-16T10:15:57.000Z
2022-01-23T03:55:59.000Z
tests/test_settlement.py
eng-tools/geofound
b59e720cc0ca62c2999adca27cd66c45ae000828
[ "MIT" ]
2
2018-01-29T16:28:38.000Z
2021-04-20T22:50:46.000Z
tests/test_settlement.py
eng-tools/geofound
b59e720cc0ca62c2999adca27cd66c45ae000828
[ "MIT" ]
9
2018-02-09T17:20:55.000Z
2021-11-09T02:15:16.000Z
import geofound def test_schmertmann(): """ Checks settlement value against that from HW#7 crib ENCN452 course 2013 """ dry_unit_dry_weight = 18.0 length = 2.5 width = 2.5 depth = 0.8 phi = 0.0 cohesion = 20 unit_dry_weight = 17 sl = geofound.create_soil(phi, cohesion, uni...
30.782609
108
0.672316
215
1,416
4.172093
0.297674
0.06243
0.115942
0.071349
0.811594
0.753623
0.673356
0.617614
0.617614
0.617614
0
0.08356
0.222458
1,416
46
109
30.782609
0.731154
0.09322
0
0.6875
0
0
0.0064
0
0
0
0
0
0.0625
1
0.0625
false
0
0.03125
0
0.09375
0.03125
0
0
0
null
0
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
eddd58b9df1838ffa7dd74333a0d9393c3893e17
155
py
Python
diamond.py
C-HyTech/HyTech
99a0b4d40ebfc6dff800379ae6d117f02f144e53
[ "Apache-2.0" ]
1
2021-07-07T11:49:10.000Z
2021-07-07T11:49:10.000Z
diamond.py
C-HyTech/HyTech
99a0b4d40ebfc6dff800379ae6d117f02f144e53
[ "Apache-2.0" ]
null
null
null
diamond.py
C-HyTech/HyTech
99a0b4d40ebfc6dff800379ae6d117f02f144e53
[ "Apache-2.0" ]
null
null
null
n=int(input("Enter value of n - ")) for i in range(n): print(' ' *(n-i-1) + '* ' *(i+1)) for i in range(n-1): print(' ' *(i+1) + '* ' *(n-i-1)) print()
22.142857
35
0.464516
31
155
2.322581
0.387097
0.111111
0.166667
0.305556
0.333333
0
0
0
0
0
0
0.04065
0.206452
155
7
36
22.142857
0.544715
0
0
0
0
0
0.160256
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
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
1
0
3
612ba9dbe68b76842655a0f92c09be777262e3d1
390
py
Python
conftest.py
TITANxTCA/coding-bot-v4
4b5a85582f8130071b28171ace2de4da197a4e77
[ "MIT" ]
32
2021-02-26T05:38:18.000Z
2021-09-06T20:10:16.000Z
conftest.py
TITANxTCA/coding-bot-v4
4b5a85582f8130071b28171ace2de4da197a4e77
[ "MIT" ]
16
2021-02-28T17:12:17.000Z
2021-09-09T00:04:58.000Z
conftest.py
TITANxTCA/coding-bot-v4
4b5a85582f8130071b28171ace2de4da197a4e77
[ "MIT" ]
28
2021-03-03T04:00:32.000Z
2021-10-03T14:31:42.000Z
def pytest_addoption(parser): parser.addoption("--token", action="store", default="") def pytest_generate_tests(metafunc): # This is called for every test. Only get/set command line arguments # if the argument is specified in the list of test "fixturenames". if 'token' in metafunc.fixturenames: ...
39
75
0.720513
50
390
5.56
0.68
0.064748
0
0
0
0
0
0
0
0
0
0
0.161538
390
9
76
43.333333
0.850153
0.335897
0
0
1
0
0.105469
0
0
0
0
0
0
1
0.4
false
0
0
0
0.4
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
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
b617ef82b166e5e2b82471a77b45748ac62af586
233
py
Python
msgflow/config.py
noriyukipy/smilechat
a9c0ef93c35b2a1f3e9d1700391ae865544adfbc
[ "MIT" ]
5
2021-01-01T12:34:23.000Z
2022-03-08T13:02:11.000Z
msgflow/config.py
noriyukipy/smilechat
a9c0ef93c35b2a1f3e9d1700391ae865544adfbc
[ "MIT" ]
null
null
null
msgflow/config.py
noriyukipy/smilechat
a9c0ef93c35b2a1f3e9d1700391ae865544adfbc
[ "MIT" ]
2
2020-09-20T10:41:51.000Z
2020-11-09T06:15:32.000Z
from envyaml import EnvYAML def load_yaml(path): """ Args: path (str): File path of yaml configuration file Returns: Dict[str, Any]: """ return EnvYAML(path, include_environment=False).export()
17.923077
60
0.626609
28
233
5.142857
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.266094
233
12
61
19.416667
0.842105
0.377682
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
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
1
0
0
1
0
0
0
0
3