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
80c840becea67eb126d76791a8e10c1596e705d5
2,918
py
Python
src/com/inductiveautomation/ignition/common/__init__.py
thecesrom/8.1
0a0fa304137d9eca3e9fd8517b2c9569243121e4
[ "MIT" ]
1
2022-03-16T23:22:27.000Z
2022-03-16T23:22:27.000Z
src/com/inductiveautomation/ignition/common/__init__.py
thecesrom/8.1
0a0fa304137d9eca3e9fd8517b2c9569243121e4
[ "MIT" ]
4
2022-03-15T21:33:46.000Z
2022-03-22T21:25:18.000Z
src/com/inductiveautomation/ignition/common/__init__.py
thecesrom/7.9
6dc59a1e920382345837d620907578b35fe7e96b
[ "MIT" ]
2
2022-03-16T18:26:29.000Z
2022-03-28T20:12:56.000Z
__all__ = ["AbstractDataset", "BasicDataset", "Dataset"] class Dataset(object): """A dataset is a collection of values arranged in a structured format. Most datasets are two dimensional -- they can be viewed as a table with rows and columns being the two dimensions. Values in a dataset are usuall...
21.455882
74
0.655243
289
2,918
6.536332
0.318339
0.081525
0.142933
0.079407
0.171519
0.058761
0
0
0
0
0
0
0.274503
2,918
135
75
21.614815
0.8923
0.104524
0
0.647059
0
0
0.013168
0
0
0
0
0
0
1
0.435294
false
0.294118
0
0
0.517647
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
038e61fc70b89533f7fa02d99b0ce5d016a01e70
270
py
Python
gatenlp/processing/matcher.py
gitter-badger/python-gatenlp
bfed863b404cfd62c98a6cb08ad287c3b4b6ccae
[ "Apache-2.0" ]
30
2020-04-18T12:28:15.000Z
2022-02-18T21:31:18.000Z
gatenlp/processing/matcher.py
gitter-badger/python-gatenlp
bfed863b404cfd62c98a6cb08ad287c3b4b6ccae
[ "Apache-2.0" ]
133
2019-10-16T07:41:59.000Z
2022-03-31T07:27:07.000Z
gatenlp/processing/matcher.py
gitter-badger/python-gatenlp
bfed863b404cfd62c98a6cb08ad287c3b4b6ccae
[ "Apache-2.0" ]
4
2021-01-20T08:12:19.000Z
2021-10-21T13:29:44.000Z
""" Module that defines classes for matchers other than gazetteers which match e.g. regular expressions of strings or annotations. """ class StringRegexMatcher: """ NOT YET IMPLEMENTED """ pass # class AnnotationRegexMatcher: # """ """ # pass
15
99
0.67037
28
270
6.464286
0.928571
0
0
0
0
0
0
0
0
0
0
0
0.233333
270
17
100
15.882353
0.874396
0.725926
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
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
1
0
0
0
0
0
3
03a5e21dafdefde75656c0d87df88f69357dab32
167
py
Python
pandas_xyz/__init__.py
aaron-schroeder/pandas-xyz
1620ee48c4da937abd5a5cba21daac6cfe10f9bd
[ "MIT" ]
null
null
null
pandas_xyz/__init__.py
aaron-schroeder/pandas-xyz
1620ee48c4da937abd5a5cba21daac6cfe10f9bd
[ "MIT" ]
null
null
null
pandas_xyz/__init__.py
aaron-schroeder/pandas-xyz
1620ee48c4da937abd5a5cba21daac6cfe10f9bd
[ "MIT" ]
null
null
null
from .accessor import PositionAccessor # from .algorithms import * # from .scalar import flat_earth, great_circle __version__ = '0.0.5' __all__ = ['PositionAccessor']
27.833333
46
0.772455
20
167
5.95
0.7
0
0
0
0
0
0
0
0
0
0
0.020548
0.125749
167
6
47
27.833333
0.794521
0.419162
0
0
0
0
0.221053
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
03be4922cf34a2e0414b43d8fd34bbb658de3dc7
247
py
Python
sample/scoping/__init__.py
diko316/python-sample
f8a61da465bc1b3589dabe29dac72a8c25ce0239
[ "MIT" ]
null
null
null
sample/scoping/__init__.py
diko316/python-sample
f8a61da465bc1b3589dabe29dac72a8c25ce0239
[ "MIT" ]
null
null
null
sample/scoping/__init__.py
diko316/python-sample
f8a61da465bc1b3589dabe29dac72a8c25ce0239
[ "MIT" ]
null
null
null
"""Nothing special, just calling sample.test.show()""" from sample.scoping import function def run(): print """ Scoping 1. function run """ function.run1() print """ 2. function run """ function.run2()
11.227273
54
0.57085
27
247
5.222222
0.666667
0.156028
0.269504
0
0
0
0
0
0
0
0
0.022727
0.287449
247
21
55
11.761905
0.778409
0
0
0.363636
0
0
0.348958
0
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.181818
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
1
0
0
0
0
0
0
0
0
3
03db670dee02fd2299659dad3e38740bdd61a32c
2,107
py
Python
partition_type.py
DenisNovac/GPTUtils
cecb3f63e616df5eb77e67bb8684e82b86e101d1
[ "MIT" ]
null
null
null
partition_type.py
DenisNovac/GPTUtils
cecb3f63e616df5eb77e67bb8684e82b86e101d1
[ "MIT" ]
null
null
null
partition_type.py
DenisNovac/GPTUtils
cecb3f63e616df5eb77e67bb8684e82b86e101d1
[ "MIT" ]
null
null
null
# Enumeration for GPT disks utility (for Python 3) # # Other GPT utilities https://github.com/DenisNovac/GPTUtils # Documentation https://en.wikipedia.org/wiki/GUID_Partition_Table from enum import Enum class PartitionType(Enum): MBR="024DEE41-33E7-11D3-9D69-0008C781F39F" EFI="C12A7328-F81F-11D2-BA4B-00A0C...
50.166667
92
0.78168
261
2,107
6.072797
0.735632
0.022713
0.045426
0.034069
0
0
0
0
0
0
0
0.251756
0.1215
2,107
42
93
50.166667
0.604538
0.134789
0
0
0
0
0.447934
0.436364
0
0
0
0
0
1
0.033333
false
0
0.033333
0
0.9
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
03db6cf4674ca4c09f270ace6aad4ada5abd8720
446
py
Python
api/app/celery/celery_app.py
VidroX/recommdo
fe518158b1a63225816054fb129f680e1d0c7d9c
[ "MIT" ]
null
null
null
api/app/celery/celery_app.py
VidroX/recommdo
fe518158b1a63225816054fb129f680e1d0c7d9c
[ "MIT" ]
null
null
null
api/app/celery/celery_app.py
VidroX/recommdo
fe518158b1a63225816054fb129f680e1d0c7d9c
[ "MIT" ]
null
null
null
from celery import Celery from app import settings broker_url = 'redis://:' + settings.REDIS_PASSWORD + '@redis:6379/0' celery_app = Celery('recommdo', broker=broker_url, include=['app.celery.celery_worker']) celery_app.conf.task_routes = { "app.celery.celery_worker.import_and_analyze_purchases": {'queue': 'celer...
34.307692
88
0.755605
60
446
5.35
0.416667
0.11215
0.140187
0.196262
0
0
0
0
0
0
0
0.012376
0.09417
446
12
89
37.166667
0.782178
0
0
0
0
0
0.383408
0.266816
0
0
0
0
0
1
0
false
0.111111
0.333333
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
03e53a24fd233c0d84133edd52d9952b5a344c50
346
py
Python
bot.py
parityapp/mattermost-bot
80f9a21ed8962226d74266e492f3a763d45314b4
[ "MIT" ]
null
null
null
bot.py
parityapp/mattermost-bot
80f9a21ed8962226d74266e492f3a763d45314b4
[ "MIT" ]
null
null
null
bot.py
parityapp/mattermost-bot
80f9a21ed8962226d74266e492f3a763d45314b4
[ "MIT" ]
null
null
null
import re from mattermost_bot.bot import listen_to from mattermost_bot.bot import respond_to @respond_to('hi', re.IGNORECASE) def hi(message): message.reply('I can understand hi or HI!') @listen_to('Can someone help me?') def help_me(message): # Message is replied to the sender (prefixed with @user) me...
23.066667
60
0.731214
56
346
4.392857
0.5
0.113821
0.138211
0.162602
0.211382
0
0
0
0
0
0
0
0.15896
346
15
61
23.066667
0.845361
0.156069
0
0
0
0
0.202749
0
0
0
0
0
0
1
0.222222
false
0
0.333333
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
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
0
0
0
3
03fcad1d1936cee28640a02b1c3ebdfc5c4cd278
53
py
Python
python_lessons/MtMk_Test_Files/numpy_test.py
1986MMartin/coding-sections-markus
e13be32e5d83e69250ecfb3c76a04ee48a320607
[ "Apache-2.0" ]
null
null
null
python_lessons/MtMk_Test_Files/numpy_test.py
1986MMartin/coding-sections-markus
e13be32e5d83e69250ecfb3c76a04ee48a320607
[ "Apache-2.0" ]
null
null
null
python_lessons/MtMk_Test_Files/numpy_test.py
1986MMartin/coding-sections-markus
e13be32e5d83e69250ecfb3c76a04ee48a320607
[ "Apache-2.0" ]
null
null
null
import numpy as np arr = np.arange(0,11) print(arr)
17.666667
22
0.698113
11
53
3.363636
0.818182
0
0
0
0
0
0
0
0
0
0
0.068182
0.169811
53
3
23
17.666667
0.772727
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
03fcf010e806a2ca558ead9b4f75e81efede549f
135
py
Python
flask_simple/mocks.py
Forumouth/flask-simple
0764559fbbc4348cc146aa4dddbc1f90d91bc840
[ "MIT", "Unlicense" ]
null
null
null
flask_simple/mocks.py
Forumouth/flask-simple
0764559fbbc4348cc146aa4dddbc1f90d91bc840
[ "MIT", "Unlicense" ]
5
2016-01-30T13:32:23.000Z
2016-02-06T13:34:11.000Z
flask_simple/mocks.py
Forumouth/flask-simple
0764559fbbc4348cc146aa4dddbc1f90d91bc840
[ "MIT", "Unlicense" ]
null
null
null
#!/usr/bin/env python # coding=utf-8 from unittest.mock import MagicMock render_template = MagicMock(return_value="this is a test")
16.875
58
0.762963
21
135
4.809524
0.952381
0
0
0
0
0
0
0
0
0
0
0.008475
0.125926
135
7
59
19.285714
0.847458
0.244444
0
0
0
0
0.14
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
20692b1ffec59a043c4925ca299dd808accf86ea
179
py
Python
Introduction to Computer Science and Programing Using Python/Exercises/Week 2 - Function, Strings and Alogorithms/Polysum.py
Dittz/Learning_Python
4c0c97075ef5e1717f82e2cf24b0587f0c8504f5
[ "MIT" ]
null
null
null
Introduction to Computer Science and Programing Using Python/Exercises/Week 2 - Function, Strings and Alogorithms/Polysum.py
Dittz/Learning_Python
4c0c97075ef5e1717f82e2cf24b0587f0c8504f5
[ "MIT" ]
null
null
null
Introduction to Computer Science and Programing Using Python/Exercises/Week 2 - Function, Strings and Alogorithms/Polysum.py
Dittz/Learning_Python
4c0c97075ef5e1717f82e2cf24b0587f0c8504f5
[ "MIT" ]
null
null
null
from math import pi from math import tan def polysum(n, s): perimeter = n * s area = (0.25 * n * (s **2))/ (tan(pi/n)) result = perimeter**2 + area return result
19.888889
44
0.581006
30
179
3.466667
0.533333
0.057692
0.269231
0
0
0
0
0
0
0
0
0.038462
0.273743
179
8
45
22.375
0.761538
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
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
1
0
0
3
207b985f54a451ba05a83c7321110571f9b36581
97
py
Python
aws_resources/tests/test_dynamo.py
jottenlips/tinyauth
2c7e5e65e08627795748656f5b3d4122f836d6cd
[ "MIT" ]
3
2020-06-07T18:43:25.000Z
2021-03-30T14:42:40.000Z
aws_resources/tests/test_dynamo.py
jottenlips/tinyauth
2c7e5e65e08627795748656f5b3d4122f836d6cd
[ "MIT" ]
2
2021-04-30T21:09:00.000Z
2021-05-11T11:10:14.000Z
aws_resources/tests/test_dynamo.py
jottenlips/tinyauth
2c7e5e65e08627795748656f5b3d4122f836d6cd
[ "MIT" ]
1
2020-04-26T16:24:52.000Z
2020-04-26T16:24:52.000Z
from aws_resources.dynamo import table def test_table(): db = table() assert db != None
16.166667
38
0.680412
14
97
4.571429
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.226804
97
5
39
19.4
0.853333
0
0
0
0
0
0
0
0
0
0
0
0.25
1
0.25
false
0
0.25
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
1
0
0
0
0
0
0
0
3
207f55f29edfdd3fe87e918760b34c1f86506336
292
py
Python
algorithms/sorting/bubble_sort.py
Byung-June/coding_test_study
aca82da72ba4a6147e35af3749844dc53de682a3
[ "MIT" ]
null
null
null
algorithms/sorting/bubble_sort.py
Byung-June/coding_test_study
aca82da72ba4a6147e35af3749844dc53de682a3
[ "MIT" ]
null
null
null
algorithms/sorting/bubble_sort.py
Byung-June/coding_test_study
aca82da72ba4a6147e35af3749844dc53de682a3
[ "MIT" ]
null
null
null
nums = [5,2,31,2,5,7, 9, 10] def bubble_sort(nums): for i in range(len(nums)-1, 0, -1): for j in range(i): if nums[j] > nums[j+1]: temp = nums[j] nums[j] = nums[j+1] nums[j+1] = temp return nums bubble_sort(nums)
20.857143
39
0.455479
50
292
2.62
0.42
0.229008
0.206107
0.229008
0.167939
0
0
0
0
0
0
0.088889
0.383562
292
14
40
20.857143
0.638889
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.2
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
20915d22a85cdbcd4b2ea977314aae79038fd886
225
py
Python
api/base/serializers.py
felliott/SHARE
8fd60ff4749349c9b867f6188650d71f4f0a1a56
[ "Apache-2.0" ]
87
2015-01-06T18:24:45.000Z
2021-08-08T07:59:40.000Z
api/base/serializers.py
fortress-biotech/SHARE
9c5a05dd831447949fa6253afec5225ff8ab5d4f
[ "Apache-2.0" ]
442
2015-01-01T19:16:01.000Z
2022-03-30T21:10:26.000Z
api/base/serializers.py
fortress-biotech/SHARE
9c5a05dd831447949fa6253afec5225ff8ab5d4f
[ "Apache-2.0" ]
67
2015-03-10T16:32:58.000Z
2021-11-12T16:33:41.000Z
from rest_framework_json_api import serializers __all__ = ('ShareSerializer', ) class ShareSerializer(serializers.ModelSerializer): pass # Use as base for all serializers in case we need customizations in the future
25
88
0.795556
28
225
6.142857
0.821429
0
0
0
0
0
0
0
0
0
0
0
0.155556
225
8
89
28.125
0.905263
0.337778
0
0
0
0
0.102041
0
0
0
0
0
0
1
0
false
0.25
0.25
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
1
0
0
0
0
0
3
20920539583830803e507b6abeed56abf3e464c5
114
py
Python
config.py
hyhplus/FlaskFirstDemo
4db0a374b32e58bba841e5a499535a8aa34e9237
[ "Apache-2.0" ]
null
null
null
config.py
hyhplus/FlaskFirstDemo
4db0a374b32e58bba841e5a499535a8aa34e9237
[ "Apache-2.0" ]
null
null
null
config.py
hyhplus/FlaskFirstDemo
4db0a374b32e58bba841e5a499535a8aa34e9237
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- DATABASE = 'db/user.db' DEBUG = True SECRET_KEY = 'secret_key_1'
14.25
27
0.640351
18
114
3.888889
0.833333
0.257143
0
0
0
0
0
0
0
0
0
0.03125
0.157895
114
7
28
16.285714
0.697917
0.377193
0
0
0
0
0.328358
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
20c6bab3994c954ecffd3763529c8895304de913
72,964
py
Python
versioned_hdf5/tests/test_api.py
Quansight/versioned-hdf5
e2d2eb2bbe2eed851239ee9d1ed7a9cf5cee3c55
[ "BSD-3-Clause" ]
9
2019-12-12T16:04:03.000Z
2020-06-09T05:18:21.000Z
versioned_hdf5/tests/test_api.py
Quansight/versioned-hdf5
e2d2eb2bbe2eed851239ee9d1ed7a9cf5cee3c55
[ "BSD-3-Clause" ]
64
2019-12-13T18:43:13.000Z
2020-06-11T15:58:07.000Z
versioned_hdf5/tests/test_api.py
Quansight/versioned-hdf5
e2d2eb2bbe2eed851239ee9d1ed7a9cf5cee3c55
[ "BSD-3-Clause" ]
3
2020-02-11T18:53:47.000Z
2020-03-10T21:52:43.000Z
import os import itertools from pytest import raises, mark import h5py import datetime import numpy as np from numpy.testing import assert_equal from .helpers import setup_vfile from ..backend import DEFAULT_CHUNK_SIZE from ..api import VersionedHDF5File from ..versions import TIMESTAMP_FMT from ..wrappers import ...
39.249059
118
0.638932
9,825
72,964
4.540662
0.044478
0.058818
0.076392
0.057428
0.81366
0.756075
0.697077
0.637676
0.605465
0.569936
0
0.044127
0.201483
72,964
1,858
119
39.270183
0.721573
0.040678
0
0.500368
0
0
0.175925
0.033266
0
0
0
0
0.456954
1
0.038999
false
0.001472
0.009566
0
0.048565
0
0
0
0
null
0
0
0
1
1
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
20c8dc629ba478e2775bf9fa36b8d56bb2d26c1d
2,612
py
Python
ward_mapping/migrations/0001_initial.py
Suraj1127/ward-mapping-application
53fa39bab875ca47fdab814fd28ea0b7d2086c15
[ "MIT" ]
1
2019-05-16T04:08:40.000Z
2019-05-16T04:08:40.000Z
ward_mapping/migrations/0001_initial.py
Suraj1127/ward-mapping-application
53fa39bab875ca47fdab814fd28ea0b7d2086c15
[ "MIT" ]
null
null
null
ward_mapping/migrations/0001_initial.py
Suraj1127/ward-mapping-application
53fa39bab875ca47fdab814fd28ea0b7d2086c15
[ "MIT" ]
null
null
null
# Generated by Django 2.2 on 2019-05-15 16:43 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Map2011', fields=[ ('id', models.AutoField(au...
46.642857
114
0.584227
248
2,612
5.870968
0.254032
0.175137
0.210165
0.28022
0.70467
0.610577
0.475275
0.475275
0.475275
0.373626
0
0.034006
0.279479
2,612
55
115
47.490909
0.739639
0.016462
0
0.541667
1
0
0.143358
0
0
0
0
0
0
1
0
false
0
0.020833
0
0.104167
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
20f4974dbfb9b7e44a6eecfec1209588daffaa28
762
py
Python
__main__.py
JeffreyTsang/Brickbreaker
37f0d143e9f937027fc281aef1511d0e9c804b8b
[ "MIT" ]
null
null
null
__main__.py
JeffreyTsang/Brickbreaker
37f0d143e9f937027fc281aef1511d0e9c804b8b
[ "MIT" ]
null
null
null
__main__.py
JeffreyTsang/Brickbreaker
37f0d143e9f937027fc281aef1511d0e9c804b8b
[ "MIT" ]
null
null
null
# __main__.py # Walker M. White (wmw2) # November 12, 2012 """__main__ module for Breakout This is the module with the application code. Make sure that this module is in a folder with the following files: breakout.py (the primary controller class) model.py (the model classes) game2d.py (the view ...
29.307692
83
0.711286
111
762
4.720721
0.594595
0.028626
0
0
0
0
0
0
0
0
0
0.013559
0.225722
762
25
84
30.48
0.874576
0.809711
0
0
0
0
0.058824
0
0
0
0
0
0
1
0
true
0
0.5
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
455d6ce36a65cf0610f2586646f75e04d7e70b2f
138
py
Python
test.py
loremcookie/_logging_module
c24f962ad321b8b2d7ac362e65dbd6d259686ebc
[ "MIT" ]
null
null
null
test.py
loremcookie/_logging_module
c24f962ad321b8b2d7ac362e65dbd6d259686ebc
[ "MIT" ]
null
null
null
test.py
loremcookie/_logging_module
c24f962ad321b8b2d7ac362e65dbd6d259686ebc
[ "MIT" ]
null
null
null
import _logging as logging logger = logging.logging() logger.DEBUG('TEST') logger.ERROR('TEST') logger.INFO('TEST') logger.WARNING('TEST')
23
26
0.753623
19
138
5.421053
0.473684
0.291262
0
0
0
0
0
0
0
0
0
0
0.072464
138
6
27
23
0.804688
0
0
0
0
0
0.115108
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
4583a8b165ab4c78a4b26d904a7a68c5264ba730
335
py
Python
ccij/ccij/doctype/representacion/representacion.py
dacosta2213/ccij
ef68d49d8dbabd5e381bcd411dc48b670621e666
[ "MIT" ]
null
null
null
ccij/ccij/doctype/representacion/representacion.py
dacosta2213/ccij
ef68d49d8dbabd5e381bcd411dc48b670621e666
[ "MIT" ]
null
null
null
ccij/ccij/doctype/representacion/representacion.py
dacosta2213/ccij
ef68d49d8dbabd5e381bcd411dc48b670621e666
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2019, Totall and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document class Representacion(Document): pass # # def validate(self): # self.db_set('mes_entrega', self....
23.928571
50
0.755224
44
335
5.590909
0.772727
0
0
0
0
0
0
0
0
0
0
0.017361
0.140299
335
13
51
25.769231
0.836806
0.543284
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.2
0.6
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
3
4595098c311e3e92f7b064d28a78bd111f665e93
3,155
py
Python
tests/test_marklogic_utils.py
marklogic/newrelic-plugin
61bf437cace1c9d9b517e7ae2ad0022b8225086c
[ "Apache-2.0" ]
3
2017-07-08T04:28:43.000Z
2020-03-25T17:35:22.000Z
tests/test_marklogic_utils.py
marklogic-community/newrelic-plugin
61bf437cace1c9d9b517e7ae2ad0022b8225086c
[ "Apache-2.0" ]
13
2017-08-03T19:06:49.000Z
2021-06-25T15:25:03.000Z
tests/test_marklogic_utils.py
marklogic-community/newrelic-plugin
61bf437cace1c9d9b517e7ae2ad0022b8225086c
[ "Apache-2.0" ]
3
2019-03-16T22:15:31.000Z
2020-03-25T17:35:24.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2019 MarkLogic Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0# # # U...
39.4375
131
0.701109
392
3,155
5.622449
0.32398
0.149728
0.209619
0.049002
0.318512
0.299909
0.299909
0.299909
0.299909
0.299909
0
0.008904
0.1813
3,155
79
132
39.936709
0.844367
0.197464
0
0.076923
0
0
0.049741
0
0
0
0
0
0.519231
1
0.076923
false
0.192308
0.057692
0
0.153846
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
1
0
0
0
1
0
0
0
0
0
3
45d0300dc539119af7cf8c40a9178087f5bac8ed
332
py
Python
layers/modules/__init__.py
frezaeix/AttFDNet
e4021b259e187e9180a83fcb67c029144bdd5789
[ "MIT" ]
1
2021-03-07T01:09:33.000Z
2021-03-07T01:09:33.000Z
layers/modules/__init__.py
frezaeix/AttFDNet
e4021b259e187e9180a83fcb67c029144bdd5789
[ "MIT" ]
null
null
null
layers/modules/__init__.py
frezaeix/AttFDNet
e4021b259e187e9180a83fcb67c029144bdd5789
[ "MIT" ]
null
null
null
from .multibox_tf_loss import MultiBoxLoss_tf_source from .knowledge_distillation_loss import KD_loss from .imprinted_object import search_imprinted_weights from .multibox_tf_loss_target import MultiBoxLoss_tf_target __all__ = ['MultiBoxLoss_tf_source', 'KD_loss', 'search_imprinted_weights', 'MultiBoxLoss_...
36.888889
64
0.840361
43
332
5.883721
0.372093
0.221344
0.110672
0.142292
0
0
0
0
0
0
0
0
0.105422
332
8
65
41.5
0.851852
0
0
0
0
0
0.225904
0.204819
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0.333333
0
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
1
0
0
0
0
3
afeb8ca338393a94ffd02cdee2ec1716df4a8337
731
py
Python
hutils/tests.py
dreamplatform/haltu-utils
6308d032791b09e5a46bdb98cfc4d99c96da96d7
[ "BSD-3-Clause" ]
null
null
null
hutils/tests.py
dreamplatform/haltu-utils
6308d032791b09e5a46bdb98cfc4d99c96da96d7
[ "BSD-3-Clause" ]
null
null
null
hutils/tests.py
dreamplatform/haltu-utils
6308d032791b09e5a46bdb98cfc4d99c96da96d7
[ "BSD-3-Clause" ]
null
null
null
from django.test import TestCase from django.db import models from hutils.managers import QuerySetManager class TestModel(models.Model): i = models.IntegerField() objects = QuerySetManager() class QuerySet(models.query.QuerySet): def less_than(self, c): return self.filter(id__lt=c) class QuerySetM...
24.366667
74
0.740082
101
731
5.237624
0.534653
0.090737
0.064272
0.090737
0
0
0
0
0
0
0
0.00813
0.158687
731
29
75
25.206897
0.852033
0.093023
0
0
0
0
0
0
0
0
0
0.034483
0.117647
1
0.235294
false
0
0.176471
0.058824
0.764706
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
afebe6f2ea49a4d54ad87a769c40e84344c8632a
109
py
Python
src/lookup_merge.py
alphanexustech/role-directory-proto
27b5bbf7a76022a97057263398c97f9462fd3fff
[ "MIT" ]
null
null
null
src/lookup_merge.py
alphanexustech/role-directory-proto
27b5bbf7a76022a97057263398c97f9462fd3fff
[ "MIT" ]
2
2022-03-24T15:21:38.000Z
2022-03-25T21:33:34.000Z
src/lookup_merge.py
alphanexustech/role-directory-proto
27b5bbf7a76022a97057263398c97f9462fd3fff
[ "MIT" ]
null
null
null
def merge_role_json(files): merged = {} for i in files: merged.update(i) return merged
13.625
27
0.59633
15
109
4.2
0.733333
0.349206
0
0
0
0
0
0
0
0
0
0
0.311927
109
7
28
15.571429
0.84
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
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
b31c75e2046a13da0654b68c56be95811318a66b
314
py
Python
intask_api/tasks/urls.py
KirovVerst/intask
4bdec6f49fa2873cca1354d7d3967973f5bcadc3
[ "MIT" ]
null
null
null
intask_api/tasks/urls.py
KirovVerst/intask
4bdec6f49fa2873cca1354d7d3967973f5bcadc3
[ "MIT" ]
7
2016-08-17T23:08:31.000Z
2022-03-02T02:23:08.000Z
intask_api/tasks/urls.py
KirovVerst/intask
4bdec6f49fa2873cca1354d7d3967973f5bcadc3
[ "MIT" ]
null
null
null
from rest_framework.routers import DefaultRouter from intask_api.tasks.views import TaskViewSet, TaskUserViewSet router = DefaultRouter() router.register(r'tasks', TaskViewSet, basename='tasks') router.register(r'tasks/(?P<task_id>[0-9]+)/users', TaskUserViewSet, basename='task-users') urlpatterns = router.urls
39.25
91
0.799363
40
314
6.2
0.6
0.112903
0.120968
0.16129
0
0
0
0
0
0
0
0.006849
0.070064
314
7
92
44.857143
0.842466
0
0
0
0
0
0.16242
0.098726
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
0
0
1
0
0
0
0
3
b32c6157b37a6c2aef3cf2191a1d45f18ee4504f
229
py
Python
Introducao python/exercicios/ex013b.py
Luis12368/python
23352d75ad13bcfd09ea85ab422fdc6ae1fcc5e7
[ "MIT" ]
null
null
null
Introducao python/exercicios/ex013b.py
Luis12368/python
23352d75ad13bcfd09ea85ab422fdc6ae1fcc5e7
[ "MIT" ]
null
null
null
Introducao python/exercicios/ex013b.py
Luis12368/python
23352d75ad13bcfd09ea85ab422fdc6ae1fcc5e7
[ "MIT" ]
null
null
null
valor = float(input('Insira o valor do produto: ')) desconto = float(input('Insira o vlaor do deaconto: ')) novo_valor = valor - (valor * (desconto / 100)) print(f'O novo valor com {desconto}% de desconto é {novo_valor:.2f}')
28.625
69
0.68559
35
229
4.428571
0.514286
0.174194
0.206452
0.219355
0
0
0
0
0
0
0
0.020833
0.161572
229
7
70
32.714286
0.786458
0
0
0
0
0
0.497817
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b354e2175d42b27df0d6c702ef00771b60b91fe6
60
py
Python
modules/shared/infrastructure/requests/django/__init__.py
eduardolujan/hexagonal_architecture_django
8055927cb460bc40f3a2651c01a9d1da696177e8
[ "BSD-3-Clause" ]
6
2020-08-09T23:41:08.000Z
2021-03-16T22:05:40.000Z
modules/shared/infrastructure/requests/django/__init__.py
eduardolujan/hexagonal_architecture_django
8055927cb460bc40f3a2651c01a9d1da696177e8
[ "BSD-3-Clause" ]
1
2020-10-02T02:59:38.000Z
2020-10-02T02:59:38.000Z
modules/shared/infrastructure/requests/django/__init__.py
eduardolujan/hexagonal_architecture_django
8055927cb460bc40f3a2651c01a9d1da696177e8
[ "BSD-3-Clause" ]
2
2021-03-16T22:05:43.000Z
2021-04-30T06:35:25.000Z
from .django_request import Request __all__ = ('Request',)
15
35
0.75
7
60
5.714286
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.133333
60
3
36
20
0.769231
0
0
0
0
0
0.116667
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
b35f49c197da4ac821ef9e64e2d19def9b56f814
178
py
Python
setup.py
cxu-fork/pipupgradeall
fcca62aa0c334d9f9eca8323c7d17f228d937ee7
[ "MIT" ]
null
null
null
setup.py
cxu-fork/pipupgradeall
fcca62aa0c334d9f9eca8323c7d17f228d937ee7
[ "MIT" ]
1
2020-10-27T01:51:33.000Z
2020-10-27T01:51:33.000Z
setup.py
cxu-fork/pipupgradeall
fcca62aa0c334d9f9eca8323c7d17f228d937ee7
[ "MIT" ]
2
2020-10-26T20:36:01.000Z
2020-10-26T21:00:47.000Z
import setuptools setuptools.setup( name='pipupgradeall', py_modules=['pipupgradeall'], entry_points={"console_scripts": ["pipupgradeall = pipupgradeall:_main"],}, )
25.428571
79
0.724719
16
178
7.8125
0.75
0
0
0
0
0
0
0
0
0
0
0
0.123596
178
6
80
29.666667
0.801282
0
0
0
0
0
0.426966
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
b360a4c4991b238fe7765fcb44a5651558f24263
275
py
Python
kollect/management/commands/runserver.py
dcramer/kollect
a8586ec07f671e01e80df2336ad1fa5dfe4804e5
[ "Apache-2.0" ]
7
2018-09-03T20:52:00.000Z
2021-09-12T20:52:43.000Z
kollect/management/commands/runserver.py
dcramer/kollect
a8586ec07f671e01e80df2336ad1fa5dfe4804e5
[ "Apache-2.0" ]
9
2020-02-11T23:11:31.000Z
2022-01-13T00:53:07.000Z
tabletop/management/commands/runserver.py
dcramer/tabletop-server
062f56d149a29d5ab8605e220c156c1b4fb52d2f
[ "Apache-2.0" ]
null
null
null
from django.conf import settings from django.contrib.staticfiles.management.commands.runserver import Command as BaseCommand class Command(BaseCommand): def execute(self, *args, **options): settings.DEBUG = True return super().execute(*args, **options)
30.555556
91
0.738182
32
275
6.34375
0.71875
0.098522
0
0
0
0
0
0
0
0
0
0
0.16
275
8
92
34.375
0.878788
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
b369861278c0f6577303d1013bf15fd9eaf975ac
55
py
Python
D02/set/hapus_clear.py
shdx8/dtwrhs
108decb8056931fc7601ed455a72ef0d65983ab0
[ "MIT" ]
null
null
null
D02/set/hapus_clear.py
shdx8/dtwrhs
108decb8056931fc7601ed455a72ef0d65983ab0
[ "MIT" ]
null
null
null
D02/set/hapus_clear.py
shdx8/dtwrhs
108decb8056931fc7601ed455a72ef0d65983ab0
[ "MIT" ]
null
null
null
set_saya = {1,2,3,4,5} set_saya.clear() print(set_saya)
18.333333
22
0.709091
13
55
2.769231
0.692308
0.583333
0
0
0
0
0
0
0
0
0
0.098039
0.072727
55
3
23
18.333333
0.607843
0
0
0
0
0
0
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
2fae65f69504a377cf97ec0ffdf0a00d4a9c2141
434
py
Python
VisualPy/engine/ext/ErrorTypes.py
xTrayambak/visualpy
10a68c023b230f9c2f11e57680dab06e68078d0a
[ "BSD-2-Clause" ]
null
null
null
VisualPy/engine/ext/ErrorTypes.py
xTrayambak/visualpy
10a68c023b230f9c2f11e57680dab06e68078d0a
[ "BSD-2-Clause" ]
null
null
null
VisualPy/engine/ext/ErrorTypes.py
xTrayambak/visualpy
10a68c023b230f9c2f11e57680dab06e68078d0a
[ "BSD-2-Clause" ]
null
null
null
class NoDialogError(Exception): """ Occurs when the user has not inputted any dialog. """ pass class DialogTooBigError(Exception): """ Occurs when the user has inputted too big of a dialog. """ pass class DiscordRPCFailed(Exception): """ Occurs when pypresence fails to connect to Discord. """ ...
20.666667
56
0.695853
52
434
5.807692
0.480769
0.198676
0.251656
0.145695
0.562914
0.562914
0.370861
0.370861
0.370861
0.370861
0
0
0.211982
434
21
57
20.666667
0.883041
0.479263
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
2fb91561e56ca96f56198adfb8680ae6a7d77cc6
14,969
py
Python
phi/math/backend/_numpy_backend.py
Sh0cktr4p/PhiFlow
cc87c5887bc3abfa1ef3c03252122a06e9fd2c18
[ "MIT" ]
null
null
null
phi/math/backend/_numpy_backend.py
Sh0cktr4p/PhiFlow
cc87c5887bc3abfa1ef3c03252122a06e9fd2c18
[ "MIT" ]
null
null
null
phi/math/backend/_numpy_backend.py
Sh0cktr4p/PhiFlow
cc87c5887bc3abfa1ef3c03252122a06e9fd2c18
[ "MIT" ]
1
2021-09-15T11:14:42.000Z
2021-09-15T11:14:42.000Z
import numbers import os import sys import warnings from typing import List import numpy as np import scipy.signal import scipy.sparse from scipy.sparse.linalg import cg, LinearOperator from . import Backend, ComputeDevice from ._backend_helper import combined_dim from ._dtype import from_numpy_dtype, to_numpy_dtype,...
34.175799
176
0.594161
1,963
14,969
4.441161
0.15894
0.054141
0.013765
0.014912
0.189722
0.13237
0.115049
0.075017
0.047488
0.027988
0
0.011118
0.278977
14,969
437
177
34.254005
0.796627
0.035807
0
0.101227
0
0
0.027999
0
0
0
0
0
0.030675
1
0.220859
false
0
0.039877
0.138037
0.542945
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
2feb74471e168c7ba1d30e8dffed81e0e52414c6
3,271
py
Python
feedreader/fallback/atom.py
webos-goodies/feedreader
42f44a98980af3a9bc39fa5c436a48fc31733d0f
[ "BSD-2-Clause" ]
1
2015-11-15T18:45:50.000Z
2015-11-15T18:45:50.000Z
feedreader/fallback/atom.py
webos-goodies/feedreader
42f44a98980af3a9bc39fa5c436a48fc31733d0f
[ "BSD-2-Clause" ]
null
null
null
feedreader/fallback/atom.py
webos-goodies/feedreader
42f44a98980af3a9bc39fa5c436a48fc31733d0f
[ "BSD-2-Clause" ]
null
null
null
""" Malformed Atom fallback """ from feedreader.fallback.base import (PREFERRED_LINK_TYPES, PREFERRED_CONTENT_TYPES, Feed, Item, get_element_text, get_attribute, search_child, get_xpath_node, get_xpath_text, get_xpath_datetime, ...
31.757282
97
0.670131
378
3,271
5.505291
0.195767
0.121576
0.121096
0.061509
0.64248
0.600673
0.547333
0.466603
0.415185
0.369053
0
0.003494
0.212473
3,271
102
98
32.068627
0.804348
0.020483
0
0.473684
0
0
0.130788
0.039424
0
0
0
0
0
1
0.223684
false
0
0.013158
0.171053
0.513158
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
64081c37d1ca537a55d057ce8e0fe32c837b442b
74
py
Python
tests/type/bad/function-bad-return.py
Nakrez/RePy
057db55a99eac2c5cb3d622fa1f2e29f6083d8d6
[ "MIT" ]
1
2020-11-24T05:24:26.000Z
2020-11-24T05:24:26.000Z
tests/type/bad/function-bad-return.py
Nakrez/RePy
057db55a99eac2c5cb3d622fa1f2e29f6083d8d6
[ "MIT" ]
null
null
null
tests/type/bad/function-bad-return.py
Nakrez/RePy
057db55a99eac2c5cb3d622fa1f2e29f6083d8d6
[ "MIT" ]
null
null
null
def fun(x): if x > 1: return 0 else: return "str"
12.333333
20
0.418919
11
74
2.818182
0.818182
0
0
0
0
0
0
0
0
0
0
0.051282
0.472973
74
5
21
14.8
0.74359
0
0
0
0
0
0.040541
0
0
0
0
0
0
1
0.2
false
0
0
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
641bb66e30f87d492340ad814a4e968e438c0fa6
1,277
py
Python
dags/rockflow/dags/logo.py
asdf-zxcv/airflow-dags
033511deaaf07a662b30d35fd86ae866115baa28
[ "Unlicense" ]
null
null
null
dags/rockflow/dags/logo.py
asdf-zxcv/airflow-dags
033511deaaf07a662b30d35fd86ae866115baa28
[ "Unlicense" ]
null
null
null
dags/rockflow/dags/logo.py
asdf-zxcv/airflow-dags
033511deaaf07a662b30d35fd86ae866115baa28
[ "Unlicense" ]
null
null
null
from airflow.models import DAG from rockflow.dags.const import * from rockflow.dags.symbol import MERGE_CSV_KEY from rockflow.operators.logo import * with DAG("public_logo_download", default_args=DEFAULT_DEBUG_ARGS) as public: PublicLogoBatchOperator( from_key=MERGE_CSV_KEY, key=public.dag_id, ...
30.404762
88
0.729052
161
1,277
5.385093
0.192547
0.092272
0.063437
0.106113
0.731257
0.709343
0.709343
0.561707
0.480969
0.388697
0
0
0.204385
1,277
41
89
31.146341
0.853346
0
0
0.444444
0
0
0.070478
0.039937
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
643e3d8e50c594d60d058cffa7941b77bbddb825
794
py
Python
katas/kata5.py
cesarau04/metodosnumericos
9670c91d5c659d2bfb1b95e85c437e6deed9ec28
[ "MIT" ]
null
null
null
katas/kata5.py
cesarau04/metodosnumericos
9670c91d5c659d2bfb1b95e85c437e6deed9ec28
[ "MIT" ]
null
null
null
katas/kata5.py
cesarau04/metodosnumericos
9670c91d5c659d2bfb1b95e85c437e6deed9ec28
[ "MIT" ]
null
null
null
""" Find the Minimum, Maximum, Length and Average Values Create a function that takes a list of numbers and returns the following statistics: Minimum Value Maximum Value Sequence Length Average Value """ def minMaxLengthAverage(lst): return [min(lst), max(lst), len(lst), sum(lst)/len(lst)] """ Return the Sum of ...
29.407407
140
0.738035
133
794
4.37594
0.398496
0.034364
0.07732
0.097938
0.300687
0.257732
0.257732
0.257732
0.257732
0.257732
0
0.004532
0.166247
794
26
141
30.538462
0.874622
0.245592
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
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
1
0
0
0
1
1
0
0
3
ff298f207d3ee96b781b7eddae68d7609d2caae4
85
py
Python
units/apps.py
ezekielkibiego/Store_Center
199bb8240e78e7227d2daa0ce8d9df13e1c429f7
[ "MIT" ]
6
2022-01-27T15:12:43.000Z
2022-03-28T23:07:14.000Z
units/apps.py
ezekielkibiego/Store_Center
199bb8240e78e7227d2daa0ce8d9df13e1c429f7
[ "MIT" ]
7
2022-01-21T11:58:55.000Z
2022-01-29T00:11:10.000Z
units/apps.py
c3n7/university-portal
82bf40a1c0d98111ffe8a184d16b543a3feec072
[ "MIT" ]
3
2022-01-27T13:22:11.000Z
2022-03-03T12:41:31.000Z
from django.apps import AppConfig class UnitsConfig(AppConfig): name = 'units'
14.166667
33
0.741176
10
85
6.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.176471
85
5
34
17
0.9
0
0
0
0
0
0.058824
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
ff43b9110e7c6c410c83280a5c7b6d03cd3574ec
608
py
Python
symphoni-ui/Tests/test_suite.py
tylersuchan/symphoni-fork
9b12a17d6562f5c94e17c840b0ea4af1f74d4a08
[ "Apache-2.0" ]
null
null
null
symphoni-ui/Tests/test_suite.py
tylersuchan/symphoni-fork
9b12a17d6562f5c94e17c840b0ea4af1f74d4a08
[ "Apache-2.0" ]
77
2018-09-13T02:29:50.000Z
2018-12-03T19:31:45.000Z
symphoni-ui/Tests/test_suite.py
tylersuchan/symphoni-fork
9b12a17d6562f5c94e17c840b0ea4af1f74d4a08
[ "Apache-2.0" ]
null
null
null
import unittest import join_button import start_party_button import queue import privacy_button import music_queue import contact_button loader = unittest.TestLoader() suite = unittest.TestSuite() runner = unittest.TextTestRunner(verbosity=3) suite.addTests(loader.loadTestsFromModule(join_button)) suite.addTests(loa...
27.636364
62
0.858553
70
608
7.285714
0.3
0.152941
0.223529
0.447059
0.427451
0
0
0
0
0
0
0.001742
0.055921
608
21
63
28.952381
0.88676
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.411765
0
0.411765
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ff4e9ca7e3ce7e44ad223e8d480850fa09b99929
334
py
Python
fungraph/keywordargument.py
davehadley/graci
8c5b86ce364df32e48bca40a46091021459547fb
[ "MIT" ]
1
2020-07-18T17:53:02.000Z
2020-07-18T17:53:02.000Z
fungraph/keywordargument.py
davehadley/graci
8c5b86ce364df32e48bca40a46091021459547fb
[ "MIT" ]
null
null
null
fungraph/keywordargument.py
davehadley/graci
8c5b86ce364df32e48bca40a46091021459547fb
[ "MIT" ]
3
2020-07-31T16:57:50.000Z
2020-07-31T16:58:02.000Z
from typing import NamedTuple class KeywordArgument(NamedTuple): """Use to explicitly search for a function keyword argument node when getting objects from a graph. This is useful in cases where named function names and keyword argument names clash. See Also -------- fungraph.Name """ ...
20.875
88
0.697605
43
334
5.418605
0.837209
0.128755
0
0
0
0
0
0
0
0
0
0
0.239521
334
15
89
22.266667
0.917323
0.643713
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
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
ff8ad2742f44d16038167e00c4e49b630ac94e9f
745
py
Python
pylayers/gis/test/test_taoffice.py
usmanwardag/pylayers
2e8a9bdc993b2aacc92610a9c7edf875c6c7b24a
[ "MIT" ]
143
2015-01-09T07:50:20.000Z
2022-03-02T11:26:53.000Z
pylayers/gis/test/test_taoffice.py
usmanwardag/pylayers
2e8a9bdc993b2aacc92610a9c7edf875c6c7b24a
[ "MIT" ]
148
2015-01-13T04:19:34.000Z
2022-03-11T23:48:25.000Z
pylayers/gis/test/test_taoffice.py
usmanwardag/pylayers
2e8a9bdc993b2aacc92610a9c7edf875c6c7b24a
[ "MIT" ]
95
2015-05-01T13:22:42.000Z
2022-03-15T11:22:28.000Z
from pylayers.gis.layout import * from pylayers.simul.link import * L = Layout('TA-Office.ini',force=True) ##L.build() #plt.ion() ##L.showG('st',aw=True,labels=True,nodelist=L.ldiffout) #f,lax= plt.subplots(2,2) #L.showG('s',aw=True,labels=True,fig=f,ax=lax[0][0]) #lax[0][0].set_title('Gs',fontsize=18) #L.showG('st',a...
32.391304
75
0.651007
155
745
3.096774
0.387097
0.0625
0.125
0.166667
0.283333
0.283333
0.283333
0.216667
0.216667
0
0
0.053672
0.049664
745
22
76
33.863636
0.624294
0.798658
0
0
0
0
0.103175
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
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
ffa1c51a918aeb4c248717083899dd625abcf68f
145
py
Python
print_linux.py
bicubico/neuralprinter
62abb0149d99e85c011e49d5b3b18cfd685b5057
[ "MIT" ]
1
2017-12-28T16:49:07.000Z
2017-12-28T16:49:07.000Z
print_linux.py
bicubico/neuralprinter
62abb0149d99e85c011e49d5b3b18cfd685b5057
[ "MIT" ]
null
null
null
print_linux.py
bicubico/neuralprinter
62abb0149d99e85c011e49d5b3b18cfd685b5057
[ "MIT" ]
null
null
null
#/usr/bin/python3 import os def print_image(filename, print_image = False): if print_image: os.system('lp ' + filename) return
16.111111
47
0.662069
20
145
4.65
0.7
0.322581
0
0
0
0
0
0
0
0
0
0.008929
0.227586
145
8
48
18.125
0.821429
0.110345
0
0
0
0
0.023438
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0.4
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
ffba2f9fa76e114d9b8e5bc7903f58d0d6e6f1e3
183
py
Python
27 Body Mass Index.py
L0ganhowlett/Python_workbook-Ben_Stephenson
ab711257bd2da9b34c6001a8e09d20bfc0114a3f
[ "MIT" ]
null
null
null
27 Body Mass Index.py
L0ganhowlett/Python_workbook-Ben_Stephenson
ab711257bd2da9b34c6001a8e09d20bfc0114a3f
[ "MIT" ]
null
null
null
27 Body Mass Index.py
L0ganhowlett/Python_workbook-Ben_Stephenson
ab711257bd2da9b34c6001a8e09d20bfc0114a3f
[ "MIT" ]
null
null
null
# 27 Body mass Index #Asking for height and weight of user h = float(input("Enter the height = ")) m = float(input("Enter the mass = ")) print("Body Mass Index = ",m / (h * h))
30.5
40
0.622951
30
183
3.8
0.6
0.140351
0.22807
0.315789
0
0
0
0
0
0
0
0.014085
0.224044
183
5
41
36.6
0.788732
0.300546
0
0
0
0
0.45
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
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
ffbb948d728f4e1e40d9f713346c629fba3183e5
143
py
Python
weaviate/gql/__init__.py
ooxoo-bv/weaviate-python-client
f646a5c16b1c0cc7940b3ffa17a71efb6e96063a
[ "BSD-3-Clause" ]
14
2019-11-04T14:18:21.000Z
2022-03-31T09:11:51.000Z
weaviate/gql/__init__.py
ooxoo-bv/weaviate-python-client
f646a5c16b1c0cc7940b3ffa17a71efb6e96063a
[ "BSD-3-Clause" ]
91
2019-11-04T11:26:42.000Z
2022-03-22T10:22:44.000Z
weaviate/gql/__init__.py
ooxoo-bv/weaviate-python-client
f646a5c16b1c0cc7940b3ffa17a71efb6e96063a
[ "BSD-3-Clause" ]
7
2021-05-14T14:53:42.000Z
2022-03-31T15:09:55.000Z
""" GraphQL module used to create `get` and/or `aggregate` GraphQL requests from Weaviate. """ __all__ = ['Query'] from .query import Query
17.875
87
0.706294
19
143
5.105263
0.789474
0
0
0
0
0
0
0
0
0
0
0
0.167832
143
7
88
20.428571
0.815126
0.608392
0
0
0
0
0.104167
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
44270b1635eefee664fb5fb4985c764d1d994824
187
py
Python
AT_Basic/AT_readexternalfile.py
huertatipografica/huertatipografica-fl-scripts
f048705c217132b3f103a773aaf20033874f6579
[ "Apache-2.0" ]
1
2020-02-06T22:18:07.000Z
2020-02-06T22:18:07.000Z
AT_Basic/AT_readexternalfile.py
huertatipografica/huertatipografica-fl-scripts
f048705c217132b3f103a773aaf20033874f6579
[ "Apache-2.0" ]
null
null
null
AT_Basic/AT_readexternalfile.py
huertatipografica/huertatipografica-fl-scripts
f048705c217132b3f103a773aaf20033874f6579
[ "Apache-2.0" ]
null
null
null
#FLM: AT URL file import urllib f = urllib.urlopen('http://www.andrestorresi.com.ar/test.txt') readdata = f.read() readdata2 = unicode( readdata, "iso-8859-1" ) f.close() print readdata2
23.375
62
0.721925
29
187
4.655172
0.827586
0
0
0
0
0
0
0
0
0
0
0.042169
0.112299
187
7
63
26.714286
0.771084
0.085562
0
0
0
0
0.294118
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
44339024d54ca9de139f09917b4ba6a7b238c654
17,294
py
Python
plot_residuals_location.py
chriskjou/opennmt-inspection
c70e1f3665ed29b20abcf464e4c73aa7e228a046
[ "MIT" ]
2
2019-03-18T15:54:32.000Z
2019-03-22T02:21:38.000Z
plot_residuals_location.py
chriskjou/opennmt-inspection
c70e1f3665ed29b20abcf464e4c73aa7e228a046
[ "MIT" ]
6
2020-01-28T22:48:37.000Z
2020-08-17T16:09:03.000Z
plot_residuals_location.py
chriskjou/opennmt-inspection
c70e1f3665ed29b20abcf464e4c73aa7e228a046
[ "MIT" ]
1
2019-08-04T17:36:22.000Z
2019-08-04T17:36:22.000Z
import numpy as np import pickle import sys import pandas as pd import seaborn as sns import matplotlib.pyplot as plt plt.switch_backend('agg') import argparse import os from tqdm import tqdm import math import helper map_dict = { 'avg': "Average", 'min': "Minimum", 'max': "Maximum", 'last': "Last", "spanish": "...
48.853107
237
0.6966
2,617
17,294
4.448223
0.089415
0.024053
0.036079
0.042093
0.77459
0.742977
0.721759
0.696847
0.657933
0.619105
0
0.006768
0.1371
17,294
353
238
48.991501
0.773303
0.066728
0
0.542373
0
0.013559
0.330602
0.056125
0
0
0
0
0
1
0.033898
false
0.013559
0.037288
0.00339
0.105085
0.064407
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4434c59b9a9448ef9ebd0ccd1c34428d0cf3497c
879
py
Python
admin/migrations/0005_auto_20180416_1045.py
adelsonllima/djangoplus
a4ce50bf8231a0d9a4a40751f0d076c2e9931f44
[ "BSD-3-Clause" ]
21
2017-10-08T23:19:47.000Z
2020-01-16T20:02:08.000Z
admin/migrations/0005_auto_20180416_1045.py
adelsonllima/djangoplus
a4ce50bf8231a0d9a4a40751f0d076c2e9931f44
[ "BSD-3-Clause" ]
6
2020-06-03T05:30:52.000Z
2022-01-13T00:44:26.000Z
admin/migrations/0005_auto_20180416_1045.py
adelsonllima/djangoplus
a4ce50bf8231a0d9a4a40751f0d076c2e9931f44
[ "BSD-3-Clause" ]
9
2017-10-09T22:58:31.000Z
2021-11-20T15:20:18.000Z
# Generated by Django 2.0.3 on 2018-04-16 10:45 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('admin', '0004_auto_20180416_1037'), ] operations = [ migrations.RemoveField( model_name='organizationrole', name='organizati...
22.538462
47
0.523322
68
879
6.661765
0.5
0.18543
0.229581
0.264901
0.423841
0.423841
0.211921
0.211921
0
0
0
0.055655
0.366325
879
38
48
23.131579
0.75763
0.051195
0
0.625
1
0
0.153846
0.027644
0
0
0
0
0
1
0
false
0
0.03125
0
0.125
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
443e527fc0cc1d91bb3a8b7413b0fe5d01bf9dbe
1,011
py
Python
env.py
claywahlstrom/pack
86b70198a4b185611c2ce3d29df99dd01233a6ac
[ "BSD-2-Clause" ]
2
2019-05-04T09:32:15.000Z
2021-02-08T08:38:23.000Z
env.py
claywahlstrom/pack
86b70198a4b185611c2ce3d29df99dd01233a6ac
[ "BSD-2-Clause" ]
null
null
null
env.py
claywahlstrom/pack
86b70198a4b185611c2ce3d29df99dd01233a6ac
[ "BSD-2-Clause" ]
null
null
null
""" Runtime environment settings """ import os as _os import sys as _sys def is_idle() -> bool: """Returns True if the script is running within IDLE, False otherwise""" return 'idlelib' in _sys.modules def is_powershell() -> bool: """Returns True if the script is running within PowerShell, False otherw...
26.605263
91
0.677547
140
1,011
4.792857
0.392857
0.037258
0.111773
0.126677
0.308495
0.308495
0.308495
0.308495
0.308495
0.125186
0
0.031211
0.207715
1,011
37
92
27.324324
0.806492
0.481701
0
0
0
0
0.076419
0
0
0
0
0
0
1
0.416667
true
0
0.166667
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
1
1
0
0
0
1
0
0
3
4458de209412ad014e27667db524e01364c91585
1,531
py
Python
serial_scripts/sriov/test_sriov.py
vkolli/5.0_contrail-test
1793f169a94100400a1b2fafbad21daf5aa4d48a
[ "Apache-2.0" ]
1
2017-06-13T04:42:34.000Z
2017-06-13T04:42:34.000Z
serial_scripts/sriov/test_sriov.py
vkolli/contrail-test-perf
db04b8924a2c330baabe3059788b149d957a7d67
[ "Apache-2.0" ]
1
2021-06-01T22:18:29.000Z
2021-06-01T22:18:29.000Z
serial_scripts/sriov/test_sriov.py
vkolli/contrail-test-perf
db04b8924a2c330baabe3059788b149d957a7d67
[ "Apache-2.0" ]
null
null
null
# Need to import path to test/fixtures and test/scripts/ # Ex : export PYTHONPATH='$PATH:/root/test/fixtures/:/root/test/scripts/' # # To run tests, you can do 'python -m testtools.run tests'. To run specific tests, # You can do 'python -m testtools.run -l tests' # Set the env variable PARAMS_FILE to point to your ini ...
31.895833
104
0.704768
206
1,531
5.053398
0.495146
0.038425
0.048031
0.107589
0.330451
0.267051
0.267051
0.21902
0.105668
0
0
0
0.228609
1,531
47
105
32.574468
0.881456
0.428478
0
0.157895
0
0
0
0
0
0
0
0
0
1
0.263158
false
0.052632
0.210526
0
0.684211
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
9222f71379c7695e4f0ab4cb4b35f058fef9c401
156
py
Python
apps/BlogContent/urls.py
Roberto09/MyBlog
24634ce60a3af45a5675668132dbfa725872b793
[ "MIT" ]
null
null
null
apps/BlogContent/urls.py
Roberto09/MyBlog
24634ce60a3af45a5675668132dbfa725872b793
[ "MIT" ]
null
null
null
apps/BlogContent/urls.py
Roberto09/MyBlog
24634ce60a3af45a5675668132dbfa725872b793
[ "MIT" ]
null
null
null
from django.conf.urls import url, include from apps.BlogContent.views import SeeBP urlpatterns = [ url(r'^MyBlogs', SeeBP.as_view() , name='see_BP'), ]
26
54
0.724359
23
156
4.826087
0.826087
0
0
0
0
0
0
0
0
0
0
0
0.134615
156
6
55
26
0.822222
0
0
0
0
0
0.089172
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
924b85ea9f7b1945f0fd22f097a20909bd163eef
723
py
Python
src/a9a/__init__.py
hvod2000/a9a
6b5cddbac885e2aff56e32936b966f4ce05afbba
[ "MIT" ]
null
null
null
src/a9a/__init__.py
hvod2000/a9a
6b5cddbac885e2aff56e32936b966f4ce05afbba
[ "MIT" ]
null
null
null
src/a9a/__init__.py
hvod2000/a9a
6b5cddbac885e2aff56e32936b966f4ce05afbba
[ "MIT" ]
null
null
null
import a9a.encoder import a9a.decoder import a9a.dir_reader import a9a.dir_writer class Archive: def __init__(self, nodes=None): if nodes is None: nodes = {} self.content = nodes def to_bytes(self): return b"a9a\n" + encoder.encode_nodes(self.content) def __repr__(sel...
24.1
65
0.658368
99
723
4.565657
0.373737
0.079646
0.106195
0.115044
0.132743
0
0
0
0
0
0
0.018018
0.232365
723
29
66
24.931034
0.796396
0
0
0.090909
0
0
0.045643
0.031812
0
0
0
0
0.045455
1
0.272727
false
0
0.181818
0.181818
0.727273
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
924e8e77c2bc19143e903e4c018fdd8b4185b457
746
py
Python
jp.atcoder/agc015/agc015_b/8556570.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-09T03:06:25.000Z
2022-02-09T03:06:25.000Z
jp.atcoder/agc015/agc015_b/8556570.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-05T22:53:18.000Z
2022-02-09T01:29:30.000Z
jp.atcoder/agc015/agc015_b/8556570.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
null
null
null
# 2019-11-22 16:25:33(JST) import sys def main(): s = sys.stdin.readline().rstrip() n = len(s) take_times = [[None for _ in range(n)] for _ in range(n)] for i in range(n): for j in range(n): if i == j: take_times[i][j] = 0 elif s[i] == 'U':...
24.866667
62
0.386059
105
746
2.580952
0.342857
0.232472
0.221402
0.202952
0.420664
0.250923
0.250923
0.250923
0.250923
0.250923
0
0.048469
0.474531
746
29
63
25.724138
0.642857
0.032172
0
0.173913
0
0
0.014472
0
0
0
0
0
0
1
0.043478
false
0
0.043478
0
0.086957
0.043478
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
9251d2e24adbc05adaa81a9a2ac85b187ddf6015
841
py
Python
bot/models.py
pyprism/Hiren-TwitBot
358184673c0d3fb8f5dc3420590239b3178f5a81
[ "MIT" ]
null
null
null
bot/models.py
pyprism/Hiren-TwitBot
358184673c0d3fb8f5dc3420590239b3178f5a81
[ "MIT" ]
null
null
null
bot/models.py
pyprism/Hiren-TwitBot
358184673c0d3fb8f5dc3420590239b3178f5a81
[ "MIT" ]
null
null
null
from django.db import models class TwitterApp(models.Model): name = models.CharField(max_length=500) consumer_key = models.CharField(max_length=1000) consumer_secret = models.CharField(max_length=1000) access_token = models.CharField(max_length=1000) access_token_secret = models.CharField(max_leng...
33.64
59
0.752675
109
841
5.559633
0.385321
0.173267
0.207921
0.277228
0.643564
0.462046
0.39604
0.267327
0.267327
0.267327
0
0.036415
0.151011
841
24
60
35.041667
0.812325
0
0
0.210526
0
0
0
0
0
0
0
0
0
1
0.052632
false
0
0.052632
0.052632
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
926004827692514a2e7e1fab88210f1b0ac22384
344
py
Python
setup.py
FreeDiscovery/FreeDiscovery-S3-connector
c10a6e1c26f95c199e94908f4e8534f735b94e37
[ "BSD-3-Clause" ]
null
null
null
setup.py
FreeDiscovery/FreeDiscovery-S3-connector
c10a6e1c26f95c199e94908f4e8534f735b94e37
[ "BSD-3-Clause" ]
null
null
null
setup.py
FreeDiscovery/FreeDiscovery-S3-connector
c10a6e1c26f95c199e94908f4e8534f735b94e37
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- from setuptools import setup, find_packages from freedscovery_s3_connector._version import __version__ setup(name='freedscovery_s3_connector', version=__version__, description='', author='FreeDiscovery Developpers', packages=find_packages(), inc...
24.571429
58
0.732558
37
344
6.351351
0.675676
0.102128
0.195745
0.255319
0
0
0
0
0
0
0
0.010381
0.159884
344
13
59
26.461538
0.802768
0.110465
0
0
0
0
0.164474
0.082237
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
92aac54ee2f007488fca049482a6bfd926d66471
2,432
py
Python
oo/carro.py
Jaques1974/pythonbirds
dcd7270442dc652ff698689b81ee45c9a7c76c2d
[ "MIT" ]
null
null
null
oo/carro.py
Jaques1974/pythonbirds
dcd7270442dc652ff698689b81ee45c9a7c76c2d
[ "MIT" ]
null
null
null
oo/carro.py
Jaques1974/pythonbirds
dcd7270442dc652ff698689b81ee45c9a7c76c2d
[ "MIT" ]
null
null
null
""" Você deve criar uma classe carro que vai possuir dois atributos compostos por outras duas classes: 1)Motor 2)Direção O Motor terá a responsabilidade de controlar a velocidade. Ele oferece os seguintes atributos: 1)Atributo de dado velocidade 2)Método acelerar, que deverá incrementar a velocidade de uma unidade ...
17.751825
93
0.612664
276
2,432
5.26087
0.246377
0.053719
0.071625
0.055096
0.460744
0.339532
0.081956
0
0
0
0
0.012121
0.253701
2,432
136
94
17.882353
0.787879
0.892681
0
0
0
0
0
0
0
0
0
0.029412
0
1
0.375
false
0
0
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
1
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
3
2b8feaa10a6b312b58767ad31f13d28d00efcfc0
663
py
Python
kurier/amqp/exceptions.py
Relrin/kurier
1fd5593c4249a29943d3ee33e4491135ed0fde8d
[ "BSD-3-Clause" ]
22
2019-03-03T11:48:11.000Z
2022-01-13T19:13:37.000Z
kurier/amqp/exceptions.py
Relrin/kurier
1fd5593c4249a29943d3ee33e4491135ed0fde8d
[ "BSD-3-Clause" ]
2
2018-07-04T18:52:05.000Z
2019-10-02T09:01:34.000Z
kurier/amqp/exceptions.py
Relrin/kurier
1fd5593c4249a29943d3ee33e4491135ed0fde8d
[ "BSD-3-Clause" ]
4
2019-05-27T09:45:29.000Z
2021-09-10T15:08:57.000Z
class BaseAmqpException(Exception): default_detail = "Occurred an unexpected error." def __init__(self, detail=None): self.detail = detail if detail is not None else self.default_detail def __str__(self): return self.detail class AmqpInvalidUrl(BaseAmqpException): default_detail = ...
24.555556
75
0.751131
73
663
6.630137
0.520548
0.161157
0.247934
0.272727
0.173554
0
0
0
0
0
0
0
0.174962
663
26
76
25.5
0.884826
0
0
0
0
0
0.229955
0
0
0
0
0
0
1
0.142857
false
0
0
0.071429
0.928571
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
2b924ecff2ec12429f869ba4056b1d43ae0cd0bd
39
py
Python
banking/src/common/enum.py
teamo2dev/coin-town
74ba60ee45644950074efb725d990d63a418c7f6
[ "MIT" ]
null
null
null
banking/src/common/enum.py
teamo2dev/coin-town
74ba60ee45644950074efb725d990d63a418c7f6
[ "MIT" ]
null
null
null
banking/src/common/enum.py
teamo2dev/coin-town
74ba60ee45644950074efb725d990d63a418c7f6
[ "MIT" ]
1
2021-08-28T08:34:56.000Z
2021-08-28T08:34:56.000Z
CONTENT_TYPE_JSON = 'application/json'
19.5
38
0.820513
5
39
6
0.8
0
0
0
0
0
0
0
0
0
0
0
0.076923
39
1
39
39
0.833333
0
0
0
0
0
0.410256
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
2bd8a7bf4f3a44da4637775f9b8932d258ab790c
412
py
Python
_27_TEXT_PROCESSING/_3_Substring.py
YordanPetrovDS/Python_Fundamentals
81163054cd3ac780697eaa43f099cc455f253a0c
[ "MIT" ]
null
null
null
_27_TEXT_PROCESSING/_3_Substring.py
YordanPetrovDS/Python_Fundamentals
81163054cd3ac780697eaa43f099cc455f253a0c
[ "MIT" ]
null
null
null
_27_TEXT_PROCESSING/_3_Substring.py
YordanPetrovDS/Python_Fundamentals
81163054cd3ac780697eaa43f099cc455f253a0c
[ "MIT" ]
null
null
null
def replace_all(replace_string, actual_string): while replace_string in actual_string: actual_string = actual_string.replace(replace_string, "") return actual_string print(replace_all(input(), input())) # replace_string = input() # actual_string = input() # # while replace_string in actual_string: # ...
25.75
65
0.737864
51
412
5.607843
0.215686
0.41958
0.314685
0.335664
0.531469
0.531469
0.531469
0.531469
0.531469
0.531469
0
0
0.145631
412
15
66
27.466667
0.8125
0.424757
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0.2
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
2bdb68df54d9aa08cc436ff6ba347abae2b26cdc
1,421
py
Python
baseTest/DriverManager.py
jonreding2010/PythonLogging
c931bf84d0f71bc7917ff57009c7139886acf77f
[ "MIT" ]
null
null
null
baseTest/DriverManager.py
jonreding2010/PythonLogging
c931bf84d0f71bc7917ff57009c7139886acf77f
[ "MIT" ]
null
null
null
baseTest/DriverManager.py
jonreding2010/PythonLogging
c931bf84d0f71bc7917ff57009c7139886acf77f
[ "MIT" ]
null
null
null
from baseTest.BaseTestObject import BaseTestObject # The type Driver manager. class DriverManager: # Base Test Object. baseTestObject = BaseTestObject # The Base driver. baseDriver = object() # The Get driver. getDriverSupplier = object() # Instantiates a new Driver manager. # @para...
26.811321
62
0.684025
164
1,421
5.77439
0.22561
0.095037
0.059134
0.038015
0
0
0
0
0
0
0
0
0.252639
1,421
52
63
27.326923
0.891714
0.324419
0
0.090909
0
0
0
0
0
0
0
0
0
1
0.318182
false
0
0.045455
0.181818
0.772727
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
2be599f1d48fa45f9d8d32cfab95f648f8f75077
429
py
Python
code_delivery/app.py
castilhoin/code-delivery
39073341f468d5d1e30b5d5910c043953e4b9429
[ "MIT" ]
null
null
null
code_delivery/app.py
castilhoin/code-delivery
39073341f468d5d1e30b5d5910c043953e4b9429
[ "MIT" ]
null
null
null
code_delivery/app.py
castilhoin/code-delivery
39073341f468d5d1e30b5d5910c043953e4b9429
[ "MIT" ]
null
null
null
from flask import Flask from .ext import site from .ext import config from .ext import toolbar from .ext import db from .ext import migrate from .ext import cli def create_app(): """Factory to create a Flask app based on factory pattern""" app = Flask(__name__) config.init_app(app) db.init_app(app) ...
22.578947
64
0.710956
70
429
4.2
0.314286
0.142857
0.265306
0
0
0
0
0
0
0
0
0
0.205128
429
18
65
23.833333
0.86217
0.125874
0
0
0
0
0
0
0
0
0
0
0
1
0.0625
false
0
0.4375
0
0.5625
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
921b26719ef6dd1872a88554745a7cfee94c9fe4
633
py
Python
qmspy/__init__.py
Cavenfish/qmspy
4ac6191b22d606ce007b5fb7b75a3c0734b41a70
[ "MIT" ]
null
null
null
qmspy/__init__.py
Cavenfish/qmspy
4ac6191b22d606ce007b5fb7b75a3c0734b41a70
[ "MIT" ]
null
null
null
qmspy/__init__.py
Cavenfish/qmspy
4ac6191b22d606ce007b5fb7b75a3c0734b41a70
[ "MIT" ]
null
null
null
""" This is the qmspy module, a python module designed to automate graphing data collected from a QMS. Contains the following functions: init_data add_style fit_gaussians appearance_energy Contains the following submodules: graph_data A...
24.346154
76
0.657188
76
633
5.263158
0.460526
0.06
0.1
0
0
0
0
0
0
0
0
0
0.309637
633
25
77
25.32
0.915332
0.535545
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
ecf61980cc4a49f01a13cbe72aad03439a423e46
2,073
py
Python
backend/api/decapod_api/views/v1/__init__.py
angry-tony/ceph-lcm-decapod
535944d3ee384c3a7c4af82f74041b0a7792433f
[ "Apache-2.0" ]
41
2016-11-03T16:40:17.000Z
2019-05-23T08:39:17.000Z
backend/api/decapod_api/views/v1/__init__.py
Mirantis/ceph-lcm
fad9bad0b94f2ef608362953583b10a54a841d24
[ "Apache-2.0" ]
30
2016-10-14T10:54:46.000Z
2017-10-20T15:58:01.000Z
backend/api/decapod_api/views/v1/__init__.py
angry-tony/ceph-lcm-decapod
535944d3ee384c3a7c4af82f74041b0a7792433f
[ "Apache-2.0" ]
28
2016-09-17T01:17:36.000Z
2019-07-05T03:32:54.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2016 Mirantis Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
35.741379
71
0.822962
289
2,073
5.764706
0.380623
0.096038
0.182473
0.136855
0.204082
0.204082
0.042017
0
0
0
0
0.012814
0.096479
2,073
57
72
36.368421
0.876668
0.298601
0
0
0
0
0.003618
0
0
0
0
0
0
1
0
false
0.064516
0.419355
0
0.419355
0.032258
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
1
1
0
0
0
0
3
a6038b3f8e171ab48ac06bd1a445cb35301ad809
1,059
py
Python
api/http/auth.py
dominicplouffe/connexionme
85d10905b8e4dd535320cc314a7340e5d28f6e9e
[ "MIT" ]
null
null
null
api/http/auth.py
dominicplouffe/connexionme
85d10905b8e4dd535320cc314a7340e5d28f6e9e
[ "MIT" ]
null
null
null
api/http/auth.py
dominicplouffe/connexionme
85d10905b8e4dd535320cc314a7340e5d28f6e9e
[ "MIT" ]
null
null
null
from flask import Blueprint, request from services import account from functools import wraps from status import finish auth = Blueprint('auth', __name__, url_prefix='/auth') def requires_auth(f): @wraps(f) def decorated(*args, **kwargs): token = request.form.get('token', request.args.get('token', N...
25.829268
74
0.599622
132
1,059
4.681818
0.44697
0.053398
0.067961
0
0
0
0
0
0
0
0
0.011873
0.28423
1,059
40
75
26.475
0.80343
0.009443
0
0
0
0
0.126908
0
0
0
0
0.025
0
0
null
null
0.1
0.133333
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
1
0
0
0
0
0
3
a60a5e2c81cee18f19368d6d10d396d0396c103a
71
py
Python
1002_AreaCircle.py
DiegoC386/EJERCICIOS-URI
b2e12b6420ea16a9060726b988ea1b35cbf312c2
[ "MIT" ]
null
null
null
1002_AreaCircle.py
DiegoC386/EJERCICIOS-URI
b2e12b6420ea16a9060726b988ea1b35cbf312c2
[ "MIT" ]
null
null
null
1002_AreaCircle.py
DiegoC386/EJERCICIOS-URI
b2e12b6420ea16a9060726b988ea1b35cbf312c2
[ "MIT" ]
null
null
null
R=float(input()) PI=3.14159 A=(PI)*(R**2) print("A = {:.4f}".format(A))
17.75
29
0.549296
15
71
2.6
0.733333
0
0
0
0
0
0
0
0
0
0
0.121212
0.070423
71
4
29
17.75
0.469697
0
0
0
0
0
0.138889
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a61d2ff865e88390f5a4f3b8c8da817f93d2e1a6
355
py
Python
Calculator/operations/__init__.py
Shakil-1501/Session12
0ae424a6ac8949b21b89aa1548b6e997a2e4c133
[ "MIT" ]
null
null
null
Calculator/operations/__init__.py
Shakil-1501/Session12
0ae424a6ac8949b21b89aa1548b6e997a2e4c133
[ "MIT" ]
null
null
null
Calculator/operations/__init__.py
Shakil-1501/Session12
0ae424a6ac8949b21b89aa1548b6e997a2e4c133
[ "MIT" ]
null
null
null
from .sine import * from .cose import * from .tane import * from .tanhe import * from .ee import * from .loge import * from .sigmoide import * from .relue import * from .softmaxe import * __all__= (sine.__all__+ cose.__all__ + tane.__all__ + tanhe.__all__ + ee.__all__ + loge.__all__ + sigmoide.__all__ + relu...
25.357143
151
0.698592
46
355
4.521739
0.26087
0.384615
0
0
0
0
0
0
0
0
0
0
0.194366
355
13
152
27.307692
0.727273
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.9
0
0.9
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
a61da44df1b4b01ba75ab9949fbc2b4e355911f3
121
py
Python
Basico/ex002.py
Gustavsantos/python1
5520f2d2ee591157942008fdcd6bd42eb521f1a6
[ "MIT" ]
null
null
null
Basico/ex002.py
Gustavsantos/python1
5520f2d2ee591157942008fdcd6bd42eb521f1a6
[ "MIT" ]
null
null
null
Basico/ex002.py
Gustavsantos/python1
5520f2d2ee591157942008fdcd6bd42eb521f1a6
[ "MIT" ]
null
null
null
nome = str(input('Qual é seu nome?')).upper().capitalize() print('prazer em conhecelo, \033[1;34m{}\033[m!'.format(nome))
60.5
62
0.677686
20
121
4.1
0.85
0
0
0
0
0
0
0
0
0
0
0.080357
0.07438
121
2
62
60.5
0.651786
0
0
0
0
0
0.459016
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
a6282b4f65c892360e83ec0d77ab379ee0c3ed7f
93
py
Python
hello_world.py
economicactivist/profiles-rest-api
298dfc81eea353c3db9c43b3514fd95b5e557e0c
[ "MIT" ]
null
null
null
hello_world.py
economicactivist/profiles-rest-api
298dfc81eea353c3db9c43b3514fd95b5e557e0c
[ "MIT" ]
5
2021-04-08T21:53:59.000Z
2022-02-10T15:12:26.000Z
hello_world.py
economicactivist/profiles-rest-api
298dfc81eea353c3db9c43b3514fd95b5e557e0c
[ "MIT" ]
null
null
null
print('hello world!') a = "cat dog fish monkey".split() for animal in a: print(animal)
13.285714
33
0.645161
15
93
4
0.8
0
0
0
0
0
0
0
0
0
0
0
0.204301
93
6
34
15.5
0.810811
0
0
0
0
0
0.333333
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
a6663eeb6a9d4fc56840a93b4bd7b39452405d4b
68
py
Python
AKDSFramework/__init__.py
DeepNet-Research/AKDSFramework
a0b9fc2466b228ea6053b9f03e1d497462567a96
[ "MIT" ]
13
2020-11-03T00:07:43.000Z
2021-12-31T04:18:03.000Z
AKDSFramework/__init__.py
DeepNet-Research/AKDSFramework
a0b9fc2466b228ea6053b9f03e1d497462567a96
[ "MIT" ]
2
2021-03-06T12:20:33.000Z
2021-03-07T04:26:29.000Z
AKDSFramework/__init__.py
DeepNet-Research/AKDSFramework
a0b9fc2466b228ea6053b9f03e1d497462567a96
[ "MIT" ]
2
2020-11-03T23:13:53.000Z
2021-02-24T13:16:02.000Z
from . import structure, applications, error __version__ = '1.0.0'
17
44
0.735294
9
68
5.111111
0.888889
0
0
0
0
0
0
0
0
0
0
0.051724
0.147059
68
3
45
22.666667
0.741379
0
0
0
0
0
0.073529
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
a685097fe33f7cb01421c71457d5d7a015032c99
110
py
Python
Python/Curos_Python_curemvid/Exercicios_dos_videos/Ex005.py
Jhonattan-rocha/Meus-primeiros-programas
f5971b66c0afd049b5d0493e8b7a116b391d058e
[ "MIT" ]
null
null
null
Python/Curos_Python_curemvid/Exercicios_dos_videos/Ex005.py
Jhonattan-rocha/Meus-primeiros-programas
f5971b66c0afd049b5d0493e8b7a116b391d058e
[ "MIT" ]
null
null
null
Python/Curos_Python_curemvid/Exercicios_dos_videos/Ex005.py
Jhonattan-rocha/Meus-primeiros-programas
f5971b66c0afd049b5d0493e8b7a116b391d058e
[ "MIT" ]
null
null
null
n = int(input("Digite um número: ")) print("O anecessor do número é {} e o sucessor é {} ".format(n-1, n+1))
27.5
71
0.618182
21
110
3.238095
0.714286
0.058824
0
0
0
0
0
0
0
0
0
0.022222
0.181818
110
3
72
36.666667
0.733333
0
0
0
0
0
0.572727
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
a68c75b3fe9c052bf3c96144a5e5dab51f6f733d
139
py
Python
.ycm_extra_conf.py
jaccovanschaik/Into
1292c913957fdcbebf291e82ee3896b1b9883e51
[ "MIT" ]
null
null
null
.ycm_extra_conf.py
jaccovanschaik/Into
1292c913957fdcbebf291e82ee3896b1b9883e51
[ "MIT" ]
null
null
null
.ycm_extra_conf.py
jaccovanschaik/Into
1292c913957fdcbebf291e82ee3896b1b9883e51
[ "MIT" ]
null
null
null
import os def FlagsForFile(filename, **kwargs): return { 'flags': [ '-x', 'c11', '-Wall', '-Wpointer-arith', ], }
13.9
37
0.496403
13
139
5.307692
1
0
0
0
0
0
0
0
0
0
0
0.020202
0.28777
139
9
38
15.444444
0.676768
0
0
0
0
0
0.215827
0
0
0
0
0
0
1
0.125
false
0
0.125
0.125
0.375
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
1
0
0
0
3
a68c82f5f2c8691b5638188a847f6e4c2977e2f2
731
py
Python
zingkd/zingkd/models/notes.py
brukhabtu/zingk
517bad148b39c4961885908a287cb1c7bd8b65c2
[ "MIT" ]
null
null
null
zingkd/zingkd/models/notes.py
brukhabtu/zingk
517bad148b39c4961885908a287cb1c7bd8b65c2
[ "MIT" ]
3
2016-07-09T22:03:40.000Z
2016-07-28T21:15:14.000Z
zingkd/zingkd/models/notes.py
brukhabtu/zingk
517bad148b39c4961885908a287cb1c7bd8b65c2
[ "MIT" ]
null
null
null
from zingkd.models.meta import Base from sqlalchemy import Column, func from sqlalchemy.types import Unicode, Integer, DateTime, Boolean, UnicodeText from sqlalchemy.orm import relationship, backref class Note(Base): __tablename__ = 'notes' __table_args__ = {'schema': 'zingk'} note_id = Column(Integer,...
34.809524
77
0.746922
88
731
6.034091
0.5
0.146893
0.143126
0.195857
0.177024
0.177024
0.177024
0.177024
0
0
0
0.00639
0.143639
731
20
78
36.55
0.841853
0.087551
0
0
0
0
0.033083
0
0
0
0
0
0
1
0
false
0
0.307692
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
a6a1b8a6a8be457c8cc3f0ac959f22dbed709405
247
py
Python
facialrecognition/accounts/models.py
Moran98/facial-recognition
da4711c5d0fb77d77a5dffb20d85bfa9072f7933
[ "MIT" ]
34
2020-01-27T15:07:25.000Z
2021-09-25T17:07:37.000Z
facialrecognition/accounts/models.py
Moran98/facial-recognition
da4711c5d0fb77d77a5dffb20d85bfa9072f7933
[ "MIT" ]
26
2020-01-29T12:24:42.000Z
2022-03-12T00:16:44.000Z
facialrecognition/accounts/models.py
Moran98/facial-recognition
da4711c5d0fb77d77a5dffb20d85bfa9072f7933
[ "MIT" ]
7
2020-01-27T11:42:11.000Z
2021-04-05T04:42:22.000Z
from django.db import models class UserProfile(models.Model): title = models.CharField(max_length=25, default='NULL USER') img = models.ImageField(upload_to="images/", default='null.jpg') def __str__(self): return self.title
27.444444
68
0.708502
33
247
5.121212
0.787879
0.130178
0
0
0
0
0
0
0
0
0
0.009709
0.165992
247
9
69
27.444444
0.81068
0
0
0
0
0
0.096774
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
a6a31c4462617cfbcd1bf1328dcedfb388cc1b51
375
py
Python
api_discovery/modules/__init__.py
TommyLike/huawei-api-discovery
01409e2d8f3c1942d3cb92dee5f96782d925ab3c
[ "MIT" ]
null
null
null
api_discovery/modules/__init__.py
TommyLike/huawei-api-discovery
01409e2d8f3c1942d3cb92dee5f96782d925ab3c
[ "MIT" ]
null
null
null
api_discovery/modules/__init__.py
TommyLike/huawei-api-discovery
01409e2d8f3c1942d3cb92dee5f96782d925ab3c
[ "MIT" ]
null
null
null
from api_discovery.modules import logging from api_discovery.modules import api from api_discovery.modules import database from api_discovery.modules import task log = logging.Logging() discovery_api = api.DiscoveryAPI() db = database.Database() taskhub = task.TaskHub() def init_app(app): for module in [log, dis...
25
52
0.773333
53
375
5.320755
0.339623
0.099291
0.22695
0.326241
0.411348
0
0
0
0
0
0
0
0.141333
375
14
53
26.785714
0.875776
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.454545
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a6a3b9bf76f0958453838d9fe554c384889d8f3d
3,053
py
Python
woomba/robot.py
AnotherKamila/lego-wet-roomba
796403146d068c73ef053fe8db431da6e7a68253
[ "MIT" ]
1
2017-08-20T21:46:40.000Z
2017-08-20T21:46:40.000Z
woomba/robot.py
AnotherKamila/lego-wet-roomba
796403146d068c73ef053fe8db431da6e7a68253
[ "MIT" ]
14
2017-08-20T21:14:29.000Z
2018-02-18T15:31:34.000Z
woomba/robot.py
AnotherKamila/lego-wet-roomba
796403146d068c73ef053fe8db431da6e7a68253
[ "MIT" ]
null
null
null
"""A Controller class for composable things controlling robots, plus utility stuff. An important abstraction here is Command: a function that returns immediately. It may issue sub-Commands to motors and such, and do quick calculations, but it must be fast. It must not block, ever. It will be called often enough to saf...
37.231707
121
0.658041
417
3,053
4.808153
0.450839
0.017955
0.029925
0.02394
0.087781
0.064838
0.064838
0.0399
0.0399
0
0
0.008086
0.270881
3,053
81
122
37.691358
0.892633
0.818539
0
0.125
0
0
0
0
0
0
0
0.012346
0
1
0.1875
false
0.0625
0.0625
0
0.4375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
3
a6a91201d3a0ac40123ae08adfeb0a278ecf3119
819
py
Python
dcp_py/day062/day062.py
sraaphorst/Daily-Coding-Problem
acfcf83a66099f3e4b69e2447600b8208cd9ab1b
[ "MIT" ]
null
null
null
dcp_py/day062/day062.py
sraaphorst/Daily-Coding-Problem
acfcf83a66099f3e4b69e2447600b8208cd9ab1b
[ "MIT" ]
null
null
null
dcp_py/day062/day062.py
sraaphorst/Daily-Coding-Problem
acfcf83a66099f3e4b69e2447600b8208cd9ab1b
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # day062.py # By Sebastian Raaphorst, 2019. from math import factorial def num_paths(n: int, m: int) -> int: """ Calculate the number of paths in a rectangle of dimensions n x m from the top left to the bottom right. This is incredibly easy: we have to make n - 1 moves to the righ...
31.5
107
0.656899
145
819
3.689655
0.496552
0.018692
0.041122
0.014953
0
0
0
0
0
0
0
0.039152
0.251526
819
25
108
32.76
0.833605
0.752137
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
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
1
0
0
1
0
1
0
0
3
a6ad0e5039f9621813b9301c9789e70168ed48b1
144
py
Python
lang/Python/concurrent-computing-2.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
lang/Python/concurrent-computing-2.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
lang/Python/concurrent-computing-2.py
ethansaxenian/RosettaDecode
8ea1a42a5f792280b50193ad47545d14ee371fb7
[ "MIT" ]
null
null
null
from concurrent import futures with futures.ProcessPoolExecutor() as executor: _ = list(executor.map(print, 'Enjoy Rosetta Code'.split()))
24
62
0.756944
17
144
6.352941
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.131944
144
5
63
28.8
0.864
0
0
0
0
0
0.126761
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a6d65973f237ddd3c1bee4a471549249a3f6c1f1
2,556
py
Python
env/Lib/site-packages/OpenGL/GLES2/EXT/multiview_draw_buffers.py
5gconnectedbike/Navio2
8c3f2b5d8bbbcea1fc08739945183c12b206712c
[ "BSD-3-Clause" ]
210
2016-04-09T14:26:00.000Z
2022-03-25T18:36:19.000Z
env/Lib/site-packages/OpenGL/GLES2/EXT/multiview_draw_buffers.py
5gconnectedbike/Navio2
8c3f2b5d8bbbcea1fc08739945183c12b206712c
[ "BSD-3-Clause" ]
72
2016-09-04T09:30:19.000Z
2022-03-27T17:06:53.000Z
env/Lib/site-packages/OpenGL/GLES2/EXT/multiview_draw_buffers.py
5gconnectedbike/Navio2
8c3f2b5d8bbbcea1fc08739945183c12b206712c
[ "BSD-3-Clause" ]
64
2016-04-09T14:26:49.000Z
2022-03-21T11:19:47.000Z
'''OpenGL extension EXT.multiview_draw_buffers This module customises the behaviour of the OpenGL.raw.GLES2.EXT.multiview_draw_buffers to provide a more Python-friendly API Overview (from the spec) This extension allows selecting among draw buffers as the rendering target. This may be among multiple primary buf...
43.322034
83
0.823944
346
2,556
6.014451
0.465318
0.037001
0.038443
0.055262
0.084094
0.062951
0.062951
0.045171
0.045171
0
0
0.001821
0.140454
2,556
59
84
43.322034
0.94538
0.851721
0
0
0
0
0.026786
0
0
0
0
0
0
1
0.071429
false
0
0.5
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
a6e17278e6e2908941b708144e21a12c3551c371
516
py
Python
Python-programs/solve 2X2 Matrix .py
manavbansalcoder/Hacktoberfest2021
ba20770f070bf9c0b02a8fe2bcbeb72cd559e428
[ "CC0-1.0" ]
null
null
null
Python-programs/solve 2X2 Matrix .py
manavbansalcoder/Hacktoberfest2021
ba20770f070bf9c0b02a8fe2bcbeb72cd559e428
[ "CC0-1.0" ]
null
null
null
Python-programs/solve 2X2 Matrix .py
manavbansalcoder/Hacktoberfest2021
ba20770f070bf9c0b02a8fe2bcbeb72cd559e428
[ "CC0-1.0" ]
null
null
null
print("FINDING Square OF a MATRIX") print(" ") order=int(input("enter order of square matrix=")) if (order==2): a11=int(input("enter a11=")) print(" ") a12=int(input("enter a12=")) print(" ") a21=int(input("enter a21=")) print(" ") a22=int(input("enter a22=")) print(" ") ...
25.8
49
0.515504
70
516
3.8
0.242857
0.150376
0.244361
0
0
0
0
0
0
0
0
0.164975
0.236434
516
19
50
27.157895
0.510152
0
0
0.315789
0
0
0.253876
0
0
0
0
0
0
0
null
null
0
0
null
null
0.473684
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
1
0
0
0
0
0
0
1
0
3
4707b4d7f941097b9eae2aa1a1af3bbf0a103d6c
3,350
py
Python
configr/test.py
ArneBachmann/configr
ed41d18467f370abcadf6f8661f10486ae1cfd00
[ "MIT" ]
1
2016-12-30T22:18:24.000Z
2016-12-30T22:18:24.000Z
configr/test.py
ArneBachmann/configr
ed41d18467f370abcadf6f8661f10486ae1cfd00
[ "MIT" ]
8
2017-05-15T12:11:04.000Z
2018-02-20T20:50:15.000Z
configr/test.py
ArneBachmann/configr
ed41d18467f370abcadf6f8661f10486ae1cfd00
[ "MIT" ]
null
null
null
import doctest, json, logging, os, unittest, sys sys.path.insert(0, "..") import configr class Tests(unittest.TestCase): ''' Test suite. ''' def tests_metadata(_): _.assertTrue(hasattr(configr, "version")) _.assertTrue(hasattr(configr.version, "__version__")) _.assertTrue(hasattr(configr.version, "_...
37.222222
136
0.64209
429
3,350
4.81352
0.335664
0.00678
0.036804
0.045036
0.222276
0.194189
0.153995
0.153995
0.113317
0.0523
0
0.007008
0.190746
3,350
89
137
37.640449
0.754703
0.13403
0
0.169014
0
0
0.083797
0
0
0
0
0.011236
0.507042
1
0.056338
false
0.056338
0.028169
0
0.112676
0.014085
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
1
0
0
0
1
0
0
0
0
0
3
4712052d73125063f1e6bbdd64f996c9f81e1a5e
73
py
Python
tests/fixtures/custom_functions.py
helobinvn/zuul
dda840b82934c82b9783bdc29f2f0626883cc47e
[ "Apache-2.0" ]
null
null
null
tests/fixtures/custom_functions.py
helobinvn/zuul
dda840b82934c82b9783bdc29f2f0626883cc47e
[ "Apache-2.0" ]
84
2015-10-22T11:21:02.000Z
2022-03-31T02:24:54.000Z
tests/fixtures/custom_functions.py
helobinvn/zuul
dda840b82934c82b9783bdc29f2f0626883cc47e
[ "Apache-2.0" ]
21
2016-02-10T11:20:37.000Z
2022-01-05T02:53:37.000Z
def select_debian_node(item, params): params['ZUUL_NODE'] = 'debian'
24.333333
37
0.712329
10
73
4.9
0.7
0
0
0
0
0
0
0
0
0
0
0
0.136986
73
2
38
36.5
0.777778
0
0
0
0
0
0.205479
0
0
0
0
0
0
1
0.5
false
0
0
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
1
0
0
0
0
0
0
0
3
5b4ffb37f9d334eb6f038c45f439a859439c4bcf
308
py
Python
algorithms/0001-FizzBuzz/fizzbuzz.py
ivamluz/Algorithms-and-Data-Structures
cffacd758adf134dabc63cdc107c8b485b00b1c1
[ "Apache-2.0" ]
1
2018-11-06T22:43:07.000Z
2018-11-06T22:43:07.000Z
algorithms/0001-FizzBuzz/fizzbuzz.py
ivamluz/Algorithms-and-Data-Structures
cffacd758adf134dabc63cdc107c8b485b00b1c1
[ "Apache-2.0" ]
null
null
null
algorithms/0001-FizzBuzz/fizzbuzz.py
ivamluz/Algorithms-and-Data-Structures
cffacd758adf134dabc63cdc107c8b485b00b1c1
[ "Apache-2.0" ]
null
null
null
def fizzbuzz(number): if number <= 0: return None is_multiple_of_3 = (number % 3 == 0) is_multiple_of_5 = (number % 5 == 0) if is_multiple_of_3 and is_multiple_of_5: return "FizzBuzz" if is_multiple_of_3: return "Fizz" if is_multiple_of_5: return "Buzz" return str(number)
17.111111
43
0.668831
51
308
3.686275
0.313725
0.319149
0.382979
0.207447
0.361702
0
0
0
0
0
0
0.046809
0.237013
308
17
44
18.117647
0.753191
0
0
0
0
0
0.051948
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.5
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
5b51125a1a090c9fc8cb4d27953bb17cb0175781
159
py
Python
ex005.py
juniorpedroso/Exercicios-CEV-Python
4adad3b6f3994cf61f9ead5564124b8b9c58d304
[ "MIT" ]
null
null
null
ex005.py
juniorpedroso/Exercicios-CEV-Python
4adad3b6f3994cf61f9ead5564124b8b9c58d304
[ "MIT" ]
null
null
null
ex005.py
juniorpedroso/Exercicios-CEV-Python
4adad3b6f3994cf61f9ead5564124b8b9c58d304
[ "MIT" ]
null
null
null
n = int(input('Digite um número: ')) #prox = n + 1 #ant = n -1 print ('Analizando o valor {}, seu antecessor é {} e o sucessor é {}.'.format(n, (n-1), (n+1)))
31.8
95
0.572327
29
159
3.137931
0.655172
0.087912
0
0
0
0
0
0
0
0
0
0.03125
0.194969
159
4
96
39.75
0.679688
0.138365
0
0
0
0
0.585185
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
5b6e37dbd3c20d60ef9b914f23cdbf88dd577984
208
py
Python
elastic/api/urls.py
deam91/elastic
f5fb20f9afb6669974567fd39e6e261c704d3c54
[ "MIT" ]
null
null
null
elastic/api/urls.py
deam91/elastic
f5fb20f9afb6669974567fd39e6e261c704d3c54
[ "MIT" ]
2
2021-06-09T18:42:49.000Z
2021-06-10T20:40:15.000Z
elastic/api/urls.py
deam91/elastic
f5fb20f9afb6669974567fd39e6e261c704d3c54
[ "MIT" ]
null
null
null
from django.urls import path from elastic.api.views import GoogleView, AppleView urlpatterns = [ path('auth/google/verify/', GoogleView.as_view()), path('auth/apple/verify/', AppleView.as_view()) ]
23.111111
54
0.725962
27
208
5.518519
0.62963
0.107383
0
0
0
0
0
0
0
0
0
0
0.129808
208
8
55
26
0.823204
0
0
0
0
0
0.177885
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
5b84c00b0e49a8356164bb4726b200f671aa1898
96
py
Python
stripe_shop/apps.py
Veilkrand/django-stripe-tutorial
8f47e42175cab7ff7b41a84b8dc78fbab823b013
[ "MIT" ]
2
2021-06-01T10:11:03.000Z
2022-01-13T13:31:43.000Z
stripe_shop/apps.py
Veilkrand/django-stripe-tutorial
8f47e42175cab7ff7b41a84b8dc78fbab823b013
[ "MIT" ]
null
null
null
stripe_shop/apps.py
Veilkrand/django-stripe-tutorial
8f47e42175cab7ff7b41a84b8dc78fbab823b013
[ "MIT" ]
3
2021-02-09T14:41:32.000Z
2022-03-08T01:22:39.000Z
from django.apps import AppConfig class StripeShopConfig(AppConfig): name = 'stripe_shop'
16
34
0.770833
11
96
6.636364
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.15625
96
5
35
19.2
0.901235
0
0
0
0
0
0.114583
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
5bb5bd266de1da3922f853af8a5e52abe7663f06
40
py
Python
Python diye Programming sekha 1st/Sum function.py
mitul3737/My-Python-Programming-journey-from-Beginning-to-Data-Sciene-Machine-Learning-AI-Deep-Learning
ca2c15c597a64e5a7689ba3a44ce36a1c0828194
[ "MIT" ]
1
2021-05-02T20:30:33.000Z
2021-05-02T20:30:33.000Z
Python diye Programming sekha 1st/Sum function.py
Mit382/My-Python-Programming-Journey-from-Beginning-to-Data-Sciene-Machine-Learning-AI-Deep-Learning
c19d84dfe6dcf496ff4527724f92e228579b6456
[ "MIT" ]
null
null
null
Python diye Programming sekha 1st/Sum function.py
Mit382/My-Python-Programming-Journey-from-Beginning-to-Data-Sciene-Machine-Learning-AI-Deep-Learning
c19d84dfe6dcf496ff4527724f92e228579b6456
[ "MIT" ]
1
2021-05-02T20:30:29.000Z
2021-05-02T20:30:29.000Z
li=[1,2,3] result=sum(li) print(result)
10
14
0.675
9
40
3
0.777778
0
0
0
0
0
0
0
0
0
0
0.081081
0.075
40
3
15
13.333333
0.648649
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
5bc291d11ce1dc852f69923b4d905a55362d2478
206
py
Python
brr/article/models.py
nilq/brr
d2b8166d2816750d379b62f408c20b0aebcbc075
[ "Unlicense" ]
null
null
null
brr/article/models.py
nilq/brr
d2b8166d2816750d379b62f408c20b0aebcbc075
[ "Unlicense" ]
null
null
null
brr/article/models.py
nilq/brr
d2b8166d2816750d379b62f408c20b0aebcbc075
[ "Unlicense" ]
null
null
null
from django.db import models class Article(models.Model): article_id = models.AutoField(primary_key=True) article_heading = models.CharField(max_length=256) article_body = models.TextField()
29.428571
54
0.762136
27
206
5.62963
0.740741
0
0
0
0
0
0
0
0
0
0
0.017045
0.145631
206
6
55
34.333333
0.846591
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
5bdf6fd05d5925e9877b48b6e99ef373ee445894
463
py
Python
PerceptronsORBitOperator.py
Jayasagar/neural-networks-and-fundamentals
3ba730f723f92dd1eab4f88b4d968f66fa866e7b
[ "MIT" ]
null
null
null
PerceptronsORBitOperator.py
Jayasagar/neural-networks-and-fundamentals
3ba730f723f92dd1eab4f88b4d968f66fa866e7b
[ "MIT" ]
null
null
null
PerceptronsORBitOperator.py
Jayasagar/neural-networks-and-fundamentals
3ba730f723f92dd1eab4f88b4d968f66fa866e7b
[ "MIT" ]
null
null
null
# Stimulate OR bit operator using Perceptron neural function def ORBitwiseOperation(x1, x2, bias): weight = 1 if x1*weight + x2*weight + bias <= 0: return 0 return 1 # Bias = 0 and Weight = 1 print('ORBitwiseOperation: 0,0', ORBitwiseOperation(0, 0, 0)) print('ORBitwiseOperation: 0,1', ORBitwiseOp...
30.866667
61
0.697624
63
463
5.126984
0.31746
0.28483
0.22291
0.154799
0
0
0
0
0
0
0
0.078125
0.170626
463
14
62
33.071429
0.763021
0.177106
0
0
0
0
0.244681
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.333333
0.444444
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
5bebef964e9e8885b1a9cb0a5ad817b18a2a5dc4
787
py
Python
back/lollangCompiler/variable.py
wonjinYi/lollang-playground
2df07ccc2518e6dc9f9aa00b2f38ad8d62cdb507
[ "MIT" ]
11
2022-03-12T06:41:29.000Z
2022-03-15T06:15:52.000Z
back/lollangCompiler/variable.py
wonjinYi/lollang-playground
2df07ccc2518e6dc9f9aa00b2f38ad8d62cdb507
[ "MIT" ]
4
2022-03-14T12:01:09.000Z
2022-03-26T20:19:52.000Z
back/lollangCompiler/variable.py
wonjinYi/lollang-playground
2df07ccc2518e6dc9f9aa00b2f38ad8d62cdb507
[ "MIT" ]
2
2022-03-12T03:49:20.000Z
2022-03-15T05:41:41.000Z
from enum import Enum, auto class TYPE(Enum): # 자료형 INT = auto() STR = auto() class Variable: def __init__(self): self.var = dict() def insert(self, name): try: self.var[name] except KeyError: self.var[name] = [f"var_{len(self.var)}", TYPE.INT] ...
22.485714
63
0.533672
97
787
4.185567
0.350515
0.172414
0.189655
0.093596
0.403941
0.403941
0.152709
0.152709
0
0
0
0.005714
0.33291
787
35
64
22.485714
0.767619
0.003812
0
0.37037
0
0
0.048531
0
0
0
0
0
0
1
0.259259
false
0
0.037037
0.074074
0.555556
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
754964acc6a0fdb092682d40acbf5109a1947819
59
py
Python
demo.py
dimitrov-dimitar/competitive-programming
f2b022377baf6d4beff213fc513907b774c12352
[ "MIT" ]
null
null
null
demo.py
dimitrov-dimitar/competitive-programming
f2b022377baf6d4beff213fc513907b774c12352
[ "MIT" ]
null
null
null
demo.py
dimitrov-dimitar/competitive-programming
f2b022377baf6d4beff213fc513907b774c12352
[ "MIT" ]
null
null
null
print('demo') for x in range(1000): print(x, end=' ')
11.8
21
0.559322
10
59
3.3
0.8
0
0
0
0
0
0
0
0
0
0
0.086957
0.220339
59
4
22
14.75
0.630435
0
0
0
0
0
0.084746
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
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
f334c373215cba10b03d648d2ce22cbe3103246a
484
py
Python
create_db.py
jmprkables/webapp
72cdb4b0a8c2d4822e36280421776ca706f724ab
[ "MIT" ]
null
null
null
create_db.py
jmprkables/webapp
72cdb4b0a8c2d4822e36280421776ca706f724ab
[ "MIT" ]
null
null
null
create_db.py
jmprkables/webapp
72cdb4b0a8c2d4822e36280421776ca706f724ab
[ "MIT" ]
null
null
null
import rethinkdb as r conn = r.connect("192.168.6.26", 28015) try: r.db_drop("hackiiitd").run(conn) print("deleted old db") except: print("inital creation") r.db_create("hackiiitd").run(conn) r.db("hackiiitd").table_create("fall").run(conn) print("."), r.db("hackiiitd").table_create("medicine").run(conn) print("....
23.047619
71
0.683884
75
484
4.306667
0.426667
0.055728
0.185759
0.210526
0.396285
0.325077
0.325077
0.325077
0
0
0
0.031042
0.068182
484
20
72
24.2
0.685144
0
0
0.235294
0
0
0.270661
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.058824
0.411765
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
f353dbb565c4d499694168557296ed62d9913084
1,687
py
Python
artifact/gpufwd_image/to_copy/empirical_testing/src/configuration.py
tyler-utah/AlloyForwardProgress
d9c779129f5ff9f678b31d9b7ccb29c184ddb097
[ "BSD-2-Clause" ]
null
null
null
artifact/gpufwd_image/to_copy/empirical_testing/src/configuration.py
tyler-utah/AlloyForwardProgress
d9c779129f5ff9f678b31d9b7ccb29c184ddb097
[ "BSD-2-Clause" ]
null
null
null
artifact/gpufwd_image/to_copy/empirical_testing/src/configuration.py
tyler-utah/AlloyForwardProgress
d9c779129f5ff9f678b31d9b7ccb29c184ddb097
[ "BSD-2-Clause" ]
2
2020-05-02T00:28:27.000Z
2020-05-12T20:36:49.000Z
# ----------------------------------------------------------------------- # configuration.py # Author: Hari Raval # ----------------------------------------------------------------------- # a Configuration object represents the parameters and settings used to generate an Amber test class Configuration(object): #...
41.146341
116
0.662715
202
1,687
5.351485
0.306931
0.064755
0.123034
0.081406
0.149861
0.061055
0.061055
0
0
0
0
0.006006
0.210433
1,687
40
117
42.175
0.805556
0.531713
0
0
0
0
0
0
0
0
0
0
0
1
0.352941
false
0
0
0.294118
0.705882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f3666df8e2a3d53709ecdedaf5a73aa5a39694e9
2,016
py
Python
tests/test_event_hooks.py
eruvanos/dynafile
207425b073a963b01c677b697e74842b429c004a
[ "MIT" ]
null
null
null
tests/test_event_hooks.py
eruvanos/dynafile
207425b073a963b01c677b697e74842b429c004a
[ "MIT" ]
null
null
null
tests/test_event_hooks.py
eruvanos/dynafile
207425b073a963b01c677b697e74842b429c004a
[ "MIT" ]
null
null
null
from dynafile import Dynafile, Event class Observer: def __init__(self): self.calls = [] def __call__(self, *args, **kwargs): self.calls.append((args, kwargs)) @property def latest(self): return self.calls[-1] if self.calls else None def test_put_item_schedules_event(tmp_pa...
29.647059
83
0.579861
277
2,016
4.039711
0.176895
0.034853
0.058088
0.081323
0.7605
0.732797
0.707775
0.691689
0.651475
0.646113
0
0.013436
0.224702
2,016
67
84
30.089552
0.702495
0
0
0.456522
0
0
0.065476
0
0
0
0
0
0.108696
1
0.152174
false
0
0.021739
0.021739
0.217391
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f3794b8036c6961209cfd4976b19858f3b884290
120
py
Python
abc/abc076/abc076b.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
1
2019-08-21T00:49:34.000Z
2019-08-21T00:49:34.000Z
abc/abc076/abc076b.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
null
null
null
abc/abc076/abc076b.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
null
null
null
N = int(input()) K = int(input()) result = 1 for _ in range(N): result = min(result * 2, result + K) print(result)
15
40
0.591667
20
120
3.5
0.6
0.228571
0
0
0
0
0
0
0
0
0
0.021505
0.225
120
7
41
17.142857
0.731183
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
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
f37f063ffa0cd66c554790bd5c044be104ee8f35
190
py
Python
Windows/WaitingRoom/waiting_room.py
SuperSecretPryncyMafia/PKN
3de43c3cd2f63d29098adb92b563bbc4bd79bbf8
[ "MIT" ]
null
null
null
Windows/WaitingRoom/waiting_room.py
SuperSecretPryncyMafia/PKN
3de43c3cd2f63d29098adb92b563bbc4bd79bbf8
[ "MIT" ]
null
null
null
Windows/WaitingRoom/waiting_room.py
SuperSecretPryncyMafia/PKN
3de43c3cd2f63d29098adb92b563bbc4bd79bbf8
[ "MIT" ]
null
null
null
from abc import ABC from .view import View from .model import Model from .controller import Controller class WaitingRoom(ABC): Model = Model View = View Controller = Controller
19
34
0.742105
25
190
5.64
0.32
0
0
0
0
0
0
0
0
0
0
0
0.210526
190
10
35
19
0.94
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
f38eb28dc30d81aaf90ad337ef669d71ae24e45a
307
py
Python
twrap/__init__.py
itsnarsi/twrap
cc3128428e37fe0a363e5b18fd7fa0039a963365
[ "MIT" ]
null
null
null
twrap/__init__.py
itsnarsi/twrap
cc3128428e37fe0a363e5b18fd7fa0039a963365
[ "MIT" ]
null
null
null
twrap/__init__.py
itsnarsi/twrap
cc3128428e37fe0a363e5b18fd7fa0039a963365
[ "MIT" ]
null
null
null
# @Author: Narsi Reddy <cibitaw1> # @Date: 2018-09-19T11:53:44-05:00 # @Email: sainarsireddy@outlook.com # @Last modified by: narsi # @Last modified time: 2019-01-03T21:57:01-06:00 # import torch # if '0.4.' not in torch.__version__: # raise Exception('Only works currently with PyTorch ver0.4.x')
34.111111
67
0.697068
49
307
4.285714
0.857143
0.114286
0
0
0
0
0
0
0
0
0
0.157692
0.153094
307
8
68
38.375
0.65
0.944625
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
f3a4cd8ed608d821130f28fbb04623bfe8e9ecb1
488
py
Python
students/k33402/Sholomov_Dan/lab34/lab3/order/views.py
heidamn/ITMO_ICT_WebDevelopment_2020-2021
47eb0cdf7c7dbe8d071bc4fd3f1ac94848475e7b
[ "MIT" ]
null
null
null
students/k33402/Sholomov_Dan/lab34/lab3/order/views.py
heidamn/ITMO_ICT_WebDevelopment_2020-2021
47eb0cdf7c7dbe8d071bc4fd3f1ac94848475e7b
[ "MIT" ]
null
null
null
students/k33402/Sholomov_Dan/lab34/lab3/order/views.py
heidamn/ITMO_ICT_WebDevelopment_2020-2021
47eb0cdf7c7dbe8d071bc4fd3f1ac94848475e7b
[ "MIT" ]
null
null
null
from rest_framework import viewsets from .serializers import OrdersSerializer, OrderedItemsSerializer from .models import Order, OrderedItem class OrdersViewSet(viewsets.ReadOnlyModelViewSet): serializer_class = OrdersSerializer queryset = Order.objects.all() permission_classes = [] class Ord...
30.5
66
0.776639
41
488
9.121951
0.512195
0.149733
0.203209
0.229947
0
0
0
0
0
0
0
0
0.161885
488
15
67
32.533333
0.914425
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0
false
0
0.272727
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
f3a6c053f2f12cb3261718563ed3380060f834ad
462
py
Python
initialize_countstats.py
handrews/gcd-django-vagrant-install
9eae6baab82f5a9a88b674a7773cfd6bb69760d1
[ "MIT" ]
5
2015-05-18T13:37:52.000Z
2021-06-11T10:46:15.000Z
initialize_countstats.py
handrews/gcd-django-vagrant-install
9eae6baab82f5a9a88b674a7773cfd6bb69760d1
[ "MIT" ]
11
2015-09-23T19:44:42.000Z
2018-04-22T13:26:37.000Z
initialize_countstats.py
handrews/gcd-django-vagrant-install
9eae6baab82f5a9a88b674a7773cfd6bb69760d1
[ "MIT" ]
6
2015-10-08T19:40:37.000Z
2017-08-11T00:50:58.000Z
import django from apps.stats.models import CountStats from apps.stddata.models import Language, Country django.setup() if CountStats.objects.filter(language__isnull=False).count() == 0: for i in Language.objects.all(): CountStats.objects.init_stats(language=i) if CountStats.objects.filter(country__isnu...
27.176471
66
0.753247
63
462
5.412698
0.365079
0.249267
0.184751
0.228739
0.346041
0.346041
0.134897
0
0
0
0
0.004975
0.12987
462
16
67
28.875
0.843284
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.272727
0
0.272727
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
f3b02ec223e1a94f2363cc2fc7c80af0fbe1f7bc
2,752
py
Python
Homework_2/problem3.py
aefernandez/DS501
15799c8690c2f934d8e710db060e2b9e1b6afc8a
[ "MIT" ]
null
null
null
Homework_2/problem3.py
aefernandez/DS501
15799c8690c2f934d8e710db060e2b9e1b6afc8a
[ "MIT" ]
null
null
null
Homework_2/problem3.py
aefernandez/DS501
15799c8690c2f934d8e710db060e2b9e1b6afc8a
[ "MIT" ]
null
null
null
from mrjob.job import MRJob #------------------------------------------------------------------------- ''' Problem 3: In this problem, you will get familiar with the mapreduce framework. In this problem, please install the following python package: * mrjob Numpy is the library for writing Pyt...
50.962963
144
0.52798
333
2,752
4.312312
0.333333
0.031337
0.050139
0.036212
0.402507
0.326602
0.326602
0.231198
0.197772
0.197772
0
0.002109
0.310683
2,752
53
145
51.924528
0.754876
0.534884
0
0
0
0
0
0
0
0
0
0.037736
0
1
0.5
false
0
0.25
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
1
0
0
1
0
0
0
0
1
0
0
3
f3bdd237e7a92835cd9c312fe1cb570edab1eefa
130
py
Python
src/treepath/path/typing/json_types.py
monkeydevtools/treepath-python
56f6cbf662f8a4c13f0c9e753a839fc9f6323dba
[ "Apache-2.0" ]
2
2021-05-26T08:26:25.000Z
2021-09-24T21:26:01.000Z
src/treepath/path/typing/json_types.py
monkeydevtools/treepath-python
56f6cbf662f8a4c13f0c9e753a839fc9f6323dba
[ "Apache-2.0" ]
null
null
null
src/treepath/path/typing/json_types.py
monkeydevtools/treepath-python
56f6cbf662f8a4c13f0c9e753a839fc9f6323dba
[ "Apache-2.0" ]
null
null
null
from typing import Union, Dict, List JsonTypes = Union[Dict[str, 'JsonTypes'], List['JsonTypes'], str, int, float, bool, None]
21.666667
89
0.7
18
130
5.055556
0.666667
0.197802
0
0
0
0
0
0
0
0
0
0
0.146154
130
5
90
26
0.81982
0
0
0
0
0
0.139535
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
f3c45f7c70e73a743a700dfb086cc73a291cc487
1,751
py
Python
chaospy/distributions/collection/gompertz.py
utsekaj42/chaospy
0fb23cbb58eb987c3ca912e2a20b83ebab0514d0
[ "MIT" ]
333
2016-10-25T12:00:48.000Z
2022-03-30T07:50:33.000Z
chaospy/distributions/collection/gompertz.py
utsekaj42/chaospy
0fb23cbb58eb987c3ca912e2a20b83ebab0514d0
[ "MIT" ]
327
2016-09-25T16:29:41.000Z
2022-03-30T03:26:27.000Z
chaospy/distributions/collection/gompertz.py
utsekaj42/chaospy
0fb23cbb58eb987c3ca912e2a20b83ebab0514d0
[ "MIT" ]
74
2016-10-17T11:14:13.000Z
2021-12-09T10:55:59.000Z
"""Gompertz distribution.""" import numpy from scipy import special from ..baseclass import SimpleDistribution, ShiftScaleDistribution class gompertz(SimpleDistribution): """Gompertz distribution.""" def __init__(self, c): super(gompertz, self).__init__(dict(c=c)) def _pdf(self, x, c): ...
25.376812
66
0.5494
222
1,751
4.234234
0.328829
0.034043
0.028723
0.044681
0.034043
0
0
0
0
0
0
0.074494
0.294689
1,751
68
67
25.75
0.68664
0.4506
0
0
0
0
0
0
0
0
0
0
0
1
0.28
false
0
0.12
0.16
0.68
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
45f776e9532d54844e073e21417dafd35670fca1
104
py
Python
dash-user-guide-components/dash_user_guide_components/_imports_.py
joelostblom/dash-docs
7be5aed7795f61ac32375ce33a18046b8f2f5254
[ "MIT" ]
379
2017-06-21T14:35:52.000Z
2022-03-20T01:47:14.000Z
dash-user-guide-components/dash_user_guide_components/_imports_.py
joelostblom/dash-docs
7be5aed7795f61ac32375ce33a18046b8f2f5254
[ "MIT" ]
746
2017-06-21T19:58:17.000Z
2022-03-23T14:51:24.000Z
dash-user-guide-components/dash_user_guide_components/_imports_.py
joelostblom/dash-docs
7be5aed7795f61ac32375ce33a18046b8f2f5254
[ "MIT" ]
201
2017-06-21T21:53:19.000Z
2022-03-17T13:23:55.000Z
from .PageMenu import PageMenu from .Sidebar import Sidebar __all__ = [ "PageMenu", "Sidebar" ]
14.857143
30
0.692308
11
104
6.181818
0.454545
0
0
0
0
0
0
0
0
0
0
0
0.211538
104
7
31
14.857143
0.829268
0
0
0
0
0
0.142857
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
3419940201b190d163c1916d0f6f399eb96f956f
782
py
Python
torchtext_th/data/sentence.py
phiradet/torchtext-th
6dd795cbe712998ac175d6f2dd4cbfa40d227bdf
[ "MIT" ]
3
2019-06-14T23:19:34.000Z
2021-07-08T08:28:25.000Z
torchtext_th/data/sentence.py
phiradet/torchtext-th
6dd795cbe712998ac175d6f2dd4cbfa40d227bdf
[ "MIT" ]
3
2019-06-12T09:16:01.000Z
2019-06-20T14:30:39.000Z
torchtext_th/data/sentence.py
phiradet/torchtext-th
6dd795cbe712998ac175d6f2dd4cbfa40d227bdf
[ "MIT" ]
null
null
null
from typing import Iterator from itertools import chain from torchtext_th.data.token import Token class Sentence(object): def __init__(self, raw_sentence: str, delim: str = "|") -> None: self.delim = delim self.tokens = [] for t in raw_sentence.strip().split(delim): if len(t)...
28.962963
78
0.641944
114
782
4.184211
0.359649
0.125786
0.050314
0.062893
0.268344
0.234801
0.155136
0.155136
0
0
0
0.001678
0.237852
782
26
79
30.076923
0.798658
0
0
0
0
0
0.001279
0
0
0
0
0
0
1
0.277778
false
0
0.166667
0.222222
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