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
e06058e7737a1818419e28b8bf4161c7f0df68de
227
py
Python
mandax.test2.py
gooddollarhackathoner/mandax
db99b3b542006ed1fd688616a8a69a70441e56e7
[ "Unlicense" ]
null
null
null
mandax.test2.py
gooddollarhackathoner/mandax
db99b3b542006ed1fd688616a8a69a70441e56e7
[ "Unlicense" ]
null
null
null
mandax.test2.py
gooddollarhackathoner/mandax
db99b3b542006ed1fd688616a8a69a70441e56e7
[ "Unlicense" ]
null
null
null
from twilio.rest import Client account_sid = "ACefad70b4197645889c4d677a6510820c" auth_token = "2cd5a87702b8b85eacfc70a684a5f551" client = Client(account_sid, auth_token) for sms in client.messages.list(): print(sms.to)
22.7
50
0.801762
26
227
6.846154
0.692308
0.146067
0.179775
0
0
0
0
0
0
0
0
0.208955
0.114537
227
9
51
25.222222
0.676617
0
0
0
0
0
0.292035
0.292035
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
e069d5482a049cc9d9511dea4233be7e81d757cf
338
py
Python
ipsetpy/exceptions.py
sanyi/ipsetpy
d7b5c284639c4aba774683bc1d72a226a6285a10
[ "MIT" ]
12
2015-03-26T13:05:29.000Z
2020-02-23T20:22:16.000Z
ipsetpy/exceptions.py
sanyi/ipsetpy
d7b5c284639c4aba774683bc1d72a226a6285a10
[ "MIT" ]
3
2015-09-27T22:27:49.000Z
2019-05-16T19:13:30.000Z
ipsetpy/exceptions.py
sanyi/ipsetpy
d7b5c284639c4aba774683bc1d72a226a6285a10
[ "MIT" ]
5
2015-09-27T23:00:35.000Z
2020-06-09T10:46:10.000Z
__author__ = 'sanyi' class IpsetError(Exception): pass class IpsetNotFound(Exception): pass class IpsetNoRights(Exception): pass class IpsetInvalidResponse(Exception): pass class IpsetCommandHangs(Exception): pass class IpsetSetNotFound(Exception): pass class IpsetEntryNotFound(Exc...
11.266667
38
0.733728
30
338
8.133333
0.4
0.372951
0.442623
0
0
0
0
0
0
0
0
0
0.195266
338
29
39
11.655172
0.897059
0
0
0.466667
0
0
0.014793
0
0
0
0
0
0
1
0
false
0.466667
0
0
0.466667
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
e0711b943557c18ab099c80d41c49c654187f28b
591
py
Python
examples/docs_snippets/docs_snippets_tests/concepts_tests/solids_pipelines_tests/test_tests.py
devarajnadiger/dagster
fae430f1d9463c23a427efa06dc9d0deb76429bb
[ "Apache-2.0" ]
1
2021-07-03T09:05:58.000Z
2021-07-03T09:05:58.000Z
examples/docs_snippets/docs_snippets_tests/concepts_tests/solids_pipelines_tests/test_tests.py
devarajnadiger/dagster
fae430f1d9463c23a427efa06dc9d0deb76429bb
[ "Apache-2.0" ]
null
null
null
examples/docs_snippets/docs_snippets_tests/concepts_tests/solids_pipelines_tests/test_tests.py
devarajnadiger/dagster
fae430f1d9463c23a427efa06dc9d0deb76429bb
[ "Apache-2.0" ]
1
2021-11-30T21:40:46.000Z
2021-11-30T21:40:46.000Z
from docs_snippets.concepts.solids_pipelines.unit_tests import ( test_event_stream, test_inputs_solid_with_invocation, test_pipeline, test_pipeline_with_config, test_solid, test_solid_resource_def, test_solid_with_context, test_solid_with_invocation, test_subset_execution, ) def te...
24.625
64
0.773266
75
591
5.44
0.306667
0.176471
0.186275
0.22549
0.595588
0.235294
0.235294
0.235294
0.235294
0
0
0
0.167513
591
23
65
25.695652
0.829268
0
0
0
0
0
0
0
0
0
0
0
0
1
0.047619
true
0
0.047619
0
0.095238
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
e076d7929a048054ab8ee1f102dabaecacd1bd99
2,867
py
Python
net-speech-api/tools/check_words.py
GoVivaceInc/SpeechPlugin
6fc181d31c85b5e3e7b804f452feac64c1be4e36
[ "Apache-2.0" ]
null
null
null
net-speech-api/tools/check_words.py
GoVivaceInc/SpeechPlugin
6fc181d31c85b5e3e7b804f452feac64c1be4e36
[ "Apache-2.0" ]
null
null
null
net-speech-api/tools/check_words.py
GoVivaceInc/SpeechPlugin
6fc181d31c85b5e3e7b804f452feac64c1be4e36
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/env python # Generates a list of words that are declared in the given JSGF grammars but not # present in the given dict-file (that maps words to their pronunciations). # # @author Kaarel Kaljurand # @version 2011-09-26 # # Example: # # python check_words.py -d all_words.dict -i . # import sys import argpar...
26.302752
92
0.695501
452
2,867
4.329646
0.349558
0.025549
0.01533
0.016352
0.136944
0.07767
0.07767
0.043945
0.043945
0.043945
0
0.006383
0.180328
2,867
108
93
26.546296
0.826383
0.128706
0
0.070175
1
0
0.17641
0
0
0
0
0.027778
0
0
null
null
0
0.087719
null
null
0.070175
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
3
0eb3edc80a95f9fb96b7d033fa0f94c1c0d1520b
340
py
Python
aoc_cas/aoc2019/day1.py
TedCassirer/advent-of-code
fb87dfdbb48b44f864337750aa58a809dcf72392
[ "MIT" ]
1
2020-11-30T19:17:50.000Z
2020-11-30T19:17:50.000Z
aoc_cas/aoc2019/day1.py
TedCassirer/advent-of-code
fb87dfdbb48b44f864337750aa58a809dcf72392
[ "MIT" ]
null
null
null
aoc_cas/aoc2019/day1.py
TedCassirer/advent-of-code
fb87dfdbb48b44f864337750aa58a809dcf72392
[ "MIT" ]
null
null
null
def getFuel(data): return [int(s) for s in data.split("\n")] def fuelbois(n): return (n // 3) - 2 def part1(data): return sum(map(fuelbois, getFuel(data))) def part2(data): return sum(map(doTheThing, getFuel(data))) def doTheThing(n): s = fuelbois(n) if s <= 0: return 0 retur...
15.454545
46
0.594118
52
340
3.884615
0.384615
0.163366
0.128713
0.158416
0
0
0
0
0
0
0
0.023529
0.25
340
21
47
16.190476
0.768627
0
0
0
0
0
0.005882
0
0
0
0
0
0
1
0.384615
false
0
0
0.307692
0.846154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0eba6c6f2d1634ed9f09f5921bf382f1f223b6fc
56
py
Python
tools/bin/pythonSrc/pychecker-0.8.18/test_input/test56.py
YangHao666666/hawq
10cff8350f1ba806c6fec64eb67e0e6f6f24786c
[ "Artistic-1.0-Perl", "ISC", "bzip2-1.0.5", "TCL", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "PostgreSQL", "BSD-3-Clause" ]
450
2015-09-05T09:12:51.000Z
2018-08-30T01:45:36.000Z
tools/bin/pythonSrc/pychecker-0.8.18/test_input/test56.py
YangHao666666/hawq
10cff8350f1ba806c6fec64eb67e0e6f6f24786c
[ "Artistic-1.0-Perl", "ISC", "bzip2-1.0.5", "TCL", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "PostgreSQL", "BSD-3-Clause" ]
1,274
2015-09-22T20:06:16.000Z
2018-08-31T22:14:00.000Z
tools/bin/pythonSrc/pychecker-0.8.18/test_input/test56.py
YangHao666666/hawq
10cff8350f1ba806c6fec64eb67e0e6f6f24786c
[ "Artistic-1.0-Perl", "ISC", "bzip2-1.0.5", "TCL", "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "MIT", "PostgreSQL", "BSD-3-Clause" ]
278
2015-09-21T19:15:06.000Z
2018-08-31T00:36:51.000Z
'doc' from import56a import Foo def x(): print Foo
7
25
0.660714
9
56
4.111111
0.888889
0
0
0
0
0
0
0
0
0
0
0.047619
0.25
56
7
26
8
0.833333
0
0
0
0
0
0.054545
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.25
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
0ebdb530b57d66d901b79ed9c27686427156e7f3
1,168
py
Python
project/config/security.py
rnovec/petgram-api
cd9b327ac0f6e1785dfebf93d53ae74b462e8097
[ "Unlicense", "MIT" ]
1
2020-11-20T17:17:39.000Z
2020-11-20T17:17:39.000Z
project/config/security.py
rnovec/petgram-api
cd9b327ac0f6e1785dfebf93d53ae74b462e8097
[ "Unlicense", "MIT" ]
null
null
null
project/config/security.py
rnovec/petgram-api
cd9b327ac0f6e1785dfebf93d53ae74b462e8097
[ "Unlicense", "MIT" ]
null
null
null
# Middlewares # https://docs.djangoproject.com/en/3.0/topics/http/middleware/ MIDDLEWARE = [ 'whitenoise.middleware.WhiteNoiseMiddleware', 'django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'corsheaders.middleware.CorsMiddleware', 'django.middle...
32.444444
91
0.740582
102
1,168
8.401961
0.441176
0.106184
0.099183
0.098016
0.249708
0.249708
0.067678
0
0
0
0
0.003949
0.132705
1,168
35
92
33.371429
0.842053
0.160103
0
0
0
0
0.724846
0.698152
0
0
0
0
0
1
0
false
0.192308
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
0ebf08373f83b2714c7fd77908973bbfb2336e89
7,173
py
Python
vkbottle/tools/dev/vkscript_converter/definitions.py
shugaev1/vkbottle
9759e8e799c2e336f44c78bc92cc8b8029da73aa
[ "MIT" ]
98
2021-08-06T05:31:31.000Z
2022-03-26T03:00:08.000Z
vkbottle/tools/dev/vkscript_converter/definitions.py
shugaev1/vkbottle
9759e8e799c2e336f44c78bc92cc8b8029da73aa
[ "MIT" ]
68
2021-08-04T09:56:12.000Z
2022-03-31T16:23:12.000Z
vkbottle/tools/dev/vkscript_converter/definitions.py
shugaev1/vkbottle
9759e8e799c2e336f44c78bc92cc8b8029da73aa
[ "MIT" ]
66
2021-08-04T09:21:43.000Z
2022-03-15T14:34:56.000Z
import ast import random import string from typing import Callable, Iterable from .base_converter import Converter, ConverterError CALL_REPLACEMENTS = { "append": "push", "pop": "pop", } CALL_STRING = ["join", "strip", "split"] converter = Converter() find = converter.find_definition def dispatch_keywords(...
22.62776
104
0.634323
1,014
7,173
4.371795
0.172584
0.127228
0.077149
0.010828
0.113693
0.058651
0.035191
0.035191
0.035191
0.035191
0
0.003269
0.1896
7,173
316
105
22.699367
0.759333
0.008922
0
0.028037
0
0.009346
0.122343
0.054484
0
0
0
0
0
1
0.228972
false
0.009346
0.023364
0.172897
0.504673
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
0ec3a87d3fd4c4cff60dcb07d97a582e27f68a4b
124
py
Python
_modules/http/Http404/urls.py
looking-for-a-job/django-examples
dfafa450668cac5c0351f6c7238b8886511229bf
[ "Unlicense" ]
null
null
null
_modules/http/Http404/urls.py
looking-for-a-job/django-examples
dfafa450668cac5c0351f6c7238b8886511229bf
[ "Unlicense" ]
null
null
null
_modules/http/Http404/urls.py
looking-for-a-job/django-examples
dfafa450668cac5c0351f6c7238b8886511229bf
[ "Unlicense" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('<id:int>/', views.my_view, name='view-name'), ]
17.714286
55
0.669355
18
124
4.555556
0.666667
0.195122
0
0
0
0
0
0
0
0
0
0
0.16129
124
6
56
20.666667
0.788462
0
0
0
0
0
0.145161
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
0ee72042bea9b71d5a11ae7427257d78e78b46fd
240
py
Python
data_collection/gazette/spiders/pb_associacao_municipios.py
Jefersonalves/diario-oficial
9a4bdfe2e31414c993d88831a67160c49a5ee657
[ "MIT" ]
2
2020-10-16T20:06:19.000Z
2020-10-20T01:59:30.000Z
data_collection/gazette/spiders/pb_associacao_municipios.py
Jefersonalves/diario-oficial
9a4bdfe2e31414c993d88831a67160c49a5ee657
[ "MIT" ]
4
2021-02-10T02:36:48.000Z
2022-03-02T14:55:34.000Z
data_collection/gazette/spiders/pb_associacao_municipios.py
Jefersonalves/diario-oficial
9a4bdfe2e31414c993d88831a67160c49a5ee657
[ "MIT" ]
null
null
null
from gazette.spiders.base import SigpubGazetteSpider class PbAssociacaoMunicipiosSpider(SigpubGazetteSpider): name = "pb_associacao_municipios" TERRITORY_ID = "2500000" CALENDAR_URL = "http://www.diariomunicipal.com.br/famup"
30
60
0.791667
24
240
7.75
0.958333
0
0
0
0
0
0
0
0
0
0
0.033175
0.120833
240
7
61
34.285714
0.848341
0
0
0
0
0
0.291667
0.1
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
0effb55a210a779687d8611e7f24a66f8cf7c54c
232
py
Python
virtual/bin/django-admin.py
koyoo-maxwel/koyooinstagram
fca947d958e0f1a6542a6ea588b41a16b0761286
[ "MIT" ]
null
null
null
virtual/bin/django-admin.py
koyoo-maxwel/koyooinstagram
fca947d958e0f1a6542a6ea588b41a16b0761286
[ "MIT" ]
null
null
null
virtual/bin/django-admin.py
koyoo-maxwel/koyooinstagram
fca947d958e0f1a6542a6ea588b41a16b0761286
[ "MIT" ]
1
2020-11-04T08:37:51.000Z
2020-11-04T08:37:51.000Z
#!/home/student/Documents/moringa school projects/Moringa Core/Django Module/koyoo maxwell/instagram-clone/virtual/bin/python from django.core import management if __name__ == "__main__": management.execute_from_command_line()
38.666667
125
0.814655
30
232
5.933333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.086207
232
5
126
46.4
0.839623
0.534483
0
0
0
0
0.074766
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
16094c89d5531d63ff9bb3be31795c009bb9442a
369
py
Python
media/api/serializers.py
elishaking/i-witness
09fe9f6db04fb64440c306e714a5233db31db23e
[ "Apache-2.0" ]
null
null
null
media/api/serializers.py
elishaking/i-witness
09fe9f6db04fb64440c306e714a5233db31db23e
[ "Apache-2.0" ]
2
2021-06-08T20:53:14.000Z
2021-06-10T22:31:47.000Z
media/api/serializers.py
elishaking/i-witness
09fe9f6db04fb64440c306e714a5233db31db23e
[ "Apache-2.0" ]
null
null
null
from rest_framework import serializers from ..models import Media class MediaSerializer(serializers.ModelSerializer): class Meta: model = Media fields = ['id', 'file'] # , 'type', 'report'] class MediaCreateSerializer(serializers.ModelSerializer): class Meta: model = Media ...
19.421053
57
0.644986
34
369
6.970588
0.558824
0.219409
0.261603
0.295359
0.43038
0.43038
0.43038
0
0
0
0
0
0.227642
369
18
58
20.5
0.831579
0.051491
0
0.4
0
0
0.070175
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
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
162a3808d0f4f64e3f42fa9f613cedb4068b315f
13,764
py
Python
testscripts/RDKB/component/sysutil/TS_SANITY_CheckDibblerProcess.py
rdkcmf/rdkb-tools-tdkb
9f9c3600cd701d5fc90ac86a6394ebd28d49267e
[ "Apache-2.0" ]
null
null
null
testscripts/RDKB/component/sysutil/TS_SANITY_CheckDibblerProcess.py
rdkcmf/rdkb-tools-tdkb
9f9c3600cd701d5fc90ac86a6394ebd28d49267e
[ "Apache-2.0" ]
null
null
null
testscripts/RDKB/component/sysutil/TS_SANITY_CheckDibblerProcess.py
rdkcmf/rdkb-tools-tdkb
9f9c3600cd701d5fc90ac86a6394ebd28d49267e
[ "Apache-2.0" ]
null
null
null
########################################################################## # If not stated otherwise in this file or this component's Licenses.txt # file the following copyright and licenses apply: # # Copyright 2020 RDK Management # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use th...
51.939623
216
0.620314
1,571
13,764
5.388288
0.180777
0.02977
0.026462
0.024808
0.658122
0.653042
0.645836
0.631896
0.631896
0.624808
0
0.007508
0.274266
13,764
264
217
52.136364
0.839924
0.112031
0
0.777778
0
0
0.364241
0.018855
0
0
0
0
0
0
null
null
0
0.013889
null
null
0.395833
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
165e11a903da3546c9ac825279cdb55b1c6d4338
514
py
Python
sci_analysis/data/__init__.py
cmmorrow/sci-analysis
de65ba29fe210eb950daa3dbc2e956963a4770ef
[ "MIT" ]
17
2017-05-10T18:25:36.000Z
2021-12-23T14:43:49.000Z
sci_analysis/data/__init__.py
cmmorrow/sci-analysis
de65ba29fe210eb950daa3dbc2e956963a4770ef
[ "MIT" ]
57
2016-08-22T23:58:05.000Z
2019-07-31T06:54:22.000Z
sci_analysis/data/__init__.py
cmmorrow/sci-analysis
de65ba29fe210eb950daa3dbc2e956963a4770ef
[ "MIT" ]
null
null
null
"""sci_analysis package: data Modules: data - the sci_analysis Data class operations - sci_analysis Data functions """ from .data import Data, is_data from .data_operations import (to_float, flatten, is_tuple, is_iterable, is_array, is_series, is_dict, is_group, is_dict_group, is_...
36.714286
111
0.7607
64
514
5.828125
0.4375
0.088472
0.080429
0
0
0
0
0
0
0
0
0
0.175097
514
13
112
39.538462
0.879717
0.231518
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.8
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
0
1
0
1
0
0
3
168d11b6af0b0657d499e71dc7bba93691975af0
48
py
Python
constants.py
valestel/omniling
9bcf12cda784189b6f116a0db2a0d2b3589a9ddc
[ "MIT" ]
null
null
null
constants.py
valestel/omniling
9bcf12cda784189b6f116a0db2a0d2b3589a9ddc
[ "MIT" ]
null
null
null
constants.py
valestel/omniling
9bcf12cda784189b6f116a0db2a0d2b3589a9ddc
[ "MIT" ]
null
null
null
TOP_NGRAMS: int = 400 MAX_PROB_VALUE = 10 ** 6
12
24
0.6875
9
48
3.333333
1
0
0
0
0
0
0
0
0
0
0
0.157895
0.208333
48
3
25
16
0.631579
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
16a80af81f46d3d22d3f262f303c7207418dbaa4
233
py
Python
src/effective_python/15_closures_and_scopes.py
physicalattraction/effective-python
f00cb863758ebae6ee6ce4b8396cb174a5b8aa43
[ "MIT" ]
null
null
null
src/effective_python/15_closures_and_scopes.py
physicalattraction/effective-python
f00cb863758ebae6ee6ce4b8396cb174a5b8aa43
[ "MIT" ]
null
null
null
src/effective_python/15_closures_and_scopes.py
physicalattraction/effective-python
f00cb863758ebae6ee6ce4b8396cb174a5b8aa43
[ "MIT" ]
null
null
null
class Sorter: def __init__(self, group): self.group = group self.found = False def __call__(self, x): if x in self.group: self.found = True return (0, x) return (1, x)
21.181818
30
0.506438
30
233
3.666667
0.533333
0.245455
0.236364
0
0
0
0
0
0
0
0
0.014184
0.39485
233
10
31
23.3
0.765957
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.555556
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
16b1e24cbef80b6adc0305e4241721e46a51ef85
1,482
py
Python
PyDSTool/errors.py
yuanz271/PyDSTool
886c143cdd192aea204285f3a1cb4968c763c646
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
PyDSTool/errors.py
yuanz271/PyDSTool
886c143cdd192aea204285f3a1cb4968c763c646
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
PyDSTool/errors.py
yuanz271/PyDSTool
886c143cdd192aea204285f3a1cb4968c763c646
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
## Exceptions __all__ = ['PyDSTool_Error', 'PyDSTool_BoundsError', 'PyDSTool_KeyError', 'PyDSTool_UncertainValueError', 'PyDSTool_TypeError', 'PyDSTool_ExistError', 'PyDSTool_AttributeError', 'PyDSTool_ValueError', 'PyDSTool_UndefinedError', 'PyDSTool_InitError', 'PyDS...
26
74
0.675439
146
1,482
6.445205
0.232877
0.193411
0.180659
0.210414
0.335813
0
0
0
0
0
0
0
0.24224
1,482
57
75
26
0.837934
0.006748
0
0.285714
0
0
0.177511
0.052334
0
0
0
0
0
1
0.095238
false
0.238095
0
0.047619
0.428571
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
1
0
0
0
0
0
3
16c24f1619f810062eec3bb157bb1be9c804af07
111
py
Python
samples/transactions/list_transactions.py
cruncher/pymill
dc4213f75a0581414d063f729edb91f6308dca84
[ "MIT" ]
null
null
null
samples/transactions/list_transactions.py
cruncher/pymill
dc4213f75a0581414d063f729edb91f6308dca84
[ "MIT" ]
null
null
null
samples/transactions/list_transactions.py
cruncher/pymill
dc4213f75a0581414d063f729edb91f6308dca84
[ "MIT" ]
null
null
null
transaction_service = paymill_context.get_transaction_service() transactions_list = transaction_service.list()
37
63
0.873874
12
111
7.583333
0.583333
0.593407
0
0
0
0
0
0
0
0
0
0
0.054054
111
2
64
55.5
0.866667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bc433d1a843a336fb845bca030a216ba840403f4
187
py
Python
Module5_HW/task1.py
vladspirin/python_core
8d91dce246a438c15c8c17d30971fa5572247eb4
[ "Unlicense" ]
null
null
null
Module5_HW/task1.py
vladspirin/python_core
8d91dce246a438c15c8c17d30971fa5572247eb4
[ "Unlicense" ]
null
null
null
Module5_HW/task1.py
vladspirin/python_core
8d91dce246a438c15c8c17d30971fa5572247eb4
[ "Unlicense" ]
null
null
null
a = int(input("Please enter the first number: ")) b = int(input("Please enter the second number: ")) count = 0 for i in range(a, b + 1): if i % 2 == 0: count += i print(count)
26.714286
50
0.588235
33
187
3.333333
0.606061
0.145455
0.254545
0.345455
0.4
0
0
0
0
0
0
0.028571
0.251337
187
7
51
26.714286
0.757143
0
0
0
0
0
0.335106
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
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
bc4f77d74ba5c1f561f425948f3017c13a016640
106
py
Python
youtube/settings.py
leandro-gomez/youtube-api
a1fb780889058340d9da0e19c4eae4d506d1a713
[ "BSD-3-Clause" ]
1
2019-11-05T05:17:23.000Z
2019-11-05T05:17:23.000Z
youtube/settings.py
leandro-gomez/youtube-api
a1fb780889058340d9da0e19c4eae4d506d1a713
[ "BSD-3-Clause" ]
null
null
null
youtube/settings.py
leandro-gomez/youtube-api
a1fb780889058340d9da0e19c4eae4d506d1a713
[ "BSD-3-Clause" ]
1
2020-08-29T23:32:28.000Z
2020-08-29T23:32:28.000Z
# -*- coding: utf-8 -*- import os API_KEY = os.environ.get('YOUTUBE_API_KEY', None) __author__ = 'lalo'
15.142857
49
0.660377
16
106
3.9375
0.8125
0.190476
0
0
0
0
0
0
0
0
0
0.011111
0.150943
106
6
50
17.666667
0.688889
0.198113
0
0
0
0
0.228916
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
bc5eda453222c541eae8e28c2699b8824af86237
139
py
Python
helper.py
dle4qw/cs3240-labdemo
62f4bda62495c6894565cec6d966bba9b8e3b071
[ "MIT" ]
null
null
null
helper.py
dle4qw/cs3240-labdemo
62f4bda62495c6894565cec6d966bba9b8e3b071
[ "MIT" ]
1
2015-10-12T22:04:36.000Z
2015-10-12T22:04:36.000Z
helper.py
dle4qw/cs3240-labdemo
62f4bda62495c6894565cec6d966bba9b8e3b071
[ "MIT" ]
null
null
null
__author__ = 'Devon Evans dle4qw' def main(): greeting('hello') def greeting(msg): print(msg) if __name__=='__main__': main()
15.444444
36
0.647482
17
139
4.588235
0.705882
0
0
0
0
0
0
0
0
0
0
0.008929
0.194245
139
9
37
15.444444
0.6875
0
0
0
0
0
0.242857
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
bc6354780433615847eb5e8c8d54018dc988104d
613
py
Python
qcloudsdkredis/SetRedisAutoRenewRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkredis/SetRedisAutoRenewRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkredis/SetRedisAutoRenewRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from qcloudsdkcore.request import Request class SetRedisAutoRenewRequest(Request): def __init__(self): super(SetRedisAutoRenewRequest, self).__init__( 'redis', 'qcloudcliV1', 'SetRedisAutoRenew', 'redis.api.qcloud.com') def get_isAutoRenew(self): return se...
27.863636
80
0.683524
65
613
6.2
0.415385
0.111663
0.069479
0.084367
0.129032
0.129032
0
0
0
0
0
0.004024
0.189233
613
21
81
29.190476
0.806841
0.034258
0
0
0
0
0.154237
0
0
0
0
0
0
1
0.384615
false
0
0.076923
0.153846
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
bc77c0e32c665ce7e40f3960f74deaba6eff44c8
161
py
Python
dhooks/__init__.py
wtreston/dhooks
6264ed8f3159e479a85cca9a6e92a792dbb577cd
[ "MIT" ]
1
2019-11-16T03:26:05.000Z
2019-11-16T03:26:05.000Z
dhooks/__init__.py
wtreston/dhooks
6264ed8f3159e479a85cca9a6e92a792dbb577cd
[ "MIT" ]
null
null
null
dhooks/__init__.py
wtreston/dhooks
6264ed8f3159e479a85cca9a6e92a792dbb577cd
[ "MIT" ]
null
null
null
from .client import Webhook from .file import File from .embed import Embed __title__ = 'dhooks' __author__ = 'kyb3r' __license__ = 'MIT' __version__ = '1.1.0'
17.888889
27
0.73913
22
161
4.681818
0.681818
0
0
0
0
0
0
0
0
0
0
0.029412
0.15528
161
8
28
20.125
0.727941
0
0
0
0
0
0.118012
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
bc7fd2067fe5b46adad2b9a0e11873eb55f7d4e6
454
py
Python
emc2/io/load_obs.py
isilber/EMC2
b500321743c10cca0067d71db7576b91369cbf46
[ "BSD-3-Clause" ]
8
2019-10-14T15:08:37.000Z
2022-03-23T20:34:27.000Z
emc2/io/load_obs.py
isilber/EMC2
b500321743c10cca0067d71db7576b91369cbf46
[ "BSD-3-Clause" ]
20
2020-01-10T16:30:16.000Z
2022-03-23T20:17:45.000Z
emc2/io/load_obs.py
isilber/EMC2
b500321743c10cca0067d71db7576b91369cbf46
[ "BSD-3-Clause" ]
4
2019-10-07T14:58:24.000Z
2021-04-27T18:47:12.000Z
from act.io.armfiles import read_netcdf def load_arm_file(filename, **kwargs): """ Loads an ARM-compliant netCDF file. Parameters ---------- filename: str The name of the file to load. Additional keyword arguments are passed into :py:func:`act.io.armfiles.read_netcdf` Returns ...
20.636364
87
0.643172
58
454
4.948276
0.637931
0.10453
0.090592
0
0
0
0
0
0
0
0
0
0.246696
454
21
88
21.619048
0.839181
0.599119
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
bc8581ceebf1999af91de949869e84a064243a63
376
py
Python
02_data_source/sensor_dht22/stand_alone/dht_plain.py
SteHyr/IoT_Service_Bus
f3ed104aeaa76fa6034265f283c1c91bc1885dcc
[ "Apache-2.0" ]
null
null
null
02_data_source/sensor_dht22/stand_alone/dht_plain.py
SteHyr/IoT_Service_Bus
f3ed104aeaa76fa6034265f283c1c91bc1885dcc
[ "Apache-2.0" ]
null
null
null
02_data_source/sensor_dht22/stand_alone/dht_plain.py
SteHyr/IoT_Service_Bus
f3ed104aeaa76fa6034265f283c1c91bc1885dcc
[ "Apache-2.0" ]
null
null
null
import Adafruit_DHT as dht # Adafriut_DHT requireds sudo import json import time import datetime while True: h, t = dht. read_retry(dht.DHT22, 4) ts = datetime.datetime.fromtimestamp(time.time()).strftime('%Y-%m-%d %H:%M:%S') print json.dumps({'temperature' : t , 'humidity' : h , 'timestamp' : ...
37.6
132
0.651596
53
376
4.54717
0.660377
0
0
0
0
0
0
0
0
0
0
0.012987
0.180851
376
9
133
41.777778
0.769481
0.071809
0
0
0
0
0.138329
0
0
0
0
0
0
0
null
null
0
0.5
null
null
0.125
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
1
0
0
0
1
0
0
0
0
3
bc89cbb69d75a9177dcc7f2754c2933f0ad4f2b8
228
py
Python
pages/urls.py
iosoftworks/locale-backend-v2
bc162ca2ccdf1454c9d25c51a477abe3f4dce665
[ "MIT" ]
null
null
null
pages/urls.py
iosoftworks/locale-backend-v2
bc162ca2ccdf1454c9d25c51a477abe3f4dce665
[ "MIT" ]
4
2021-03-19T01:37:07.000Z
2021-06-10T18:55:35.000Z
pages/urls.py
iosoftworks/locale-backend-v2
bc162ca2ccdf1454c9d25c51a477abe3f4dce665
[ "MIT" ]
null
null
null
from django.urls import path from .views import EmergencyPageView, MapsPageView urlpatterns = [ path('emergency/', EmergencyPageView.as_view(), name='emergency'), path('maps/', MapsPageView.as_view(), name='maps'), ]
22.8
70
0.719298
25
228
6.48
0.56
0.074074
0.123457
0
0
0
0
0
0
0
0
0
0.131579
228
9
71
25.333333
0.818182
0
0
0
0
0
0.123348
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
bc952936ad9b6fb4048dd6f1b2efc695f7034f65
3,785
py
Python
tests/test_scanner.py
jingyuexing/py-emmet
e3b1ecb875e0067fc9ef4f4479c7a8d4646aaa11
[ "MIT" ]
29
2019-11-12T16:15:15.000Z
2022-02-06T10:51:25.000Z
tests/test_scanner.py
jingyuexing/py-emmet
e3b1ecb875e0067fc9ef4f4479c7a8d4646aaa11
[ "MIT" ]
3
2020-04-25T11:02:53.000Z
2021-11-25T10:39:09.000Z
tests/test_scanner.py
jingyuexing/py-emmet
e3b1ecb875e0067fc9ef4f4479c7a8d4646aaa11
[ "MIT" ]
7
2020-04-25T09:42:54.000Z
2021-02-16T20:29:41.000Z
import unittest import sys sys.path.append('../') from emmet.scanner import Scanner, ScannerException from emmet.scanner_utils import eat_pair, eat_quoted class TestScanner(unittest.TestCase): def test_basics(self): data = 'hello' s = Scanner(data) self.assertEqual(s.string, data) ...
30.772358
73
0.600528
434
3,785
5.131336
0.168203
0.25595
0.217333
0.084868
0.625056
0.506511
0.443197
0.40952
0.40952
0.308038
0
0.012658
0.248613
3,785
122
74
31.02459
0.770394
0.013474
0
0.269663
0
0
0.053887
0
0
0
0
0
0.595506
1
0.089888
false
0
0.044944
0
0.146067
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
bcb4e62f40f52340aa1d6e0a11eacd20518be4b6
261
py
Python
jp.atcoder/abc214/abc214_c/25034387.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-09T03:06:25.000Z
2022-02-09T03:06:25.000Z
jp.atcoder/abc214/abc214_c/25034387.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-05T22:53:18.000Z
2022-02-09T01:29:30.000Z
jp.atcoder/abc214/abc214_c/25034387.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
null
null
null
def main(): n = int(input()) *s, = map(int, input().split()) *t, = map(int, input().split()) inf = 1 << 60 for i in range(2 * n): i %= n j = (i + 1) % n t[j] = min( t[j], t[i] + s[i], ) print(*t, sep='\n') main()
11.347826
33
0.383142
44
261
2.272727
0.477273
0.24
0.22
0.32
0
0
0
0
0
0
0
0.029762
0.356322
261
22
34
11.863636
0.565476
0
0
0
0
0
0.007722
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.071429
0.071429
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
bccb97b4920d0dd97d7d20fb48adf39d4d1d7cce
1,988
py
Python
01_models.py
alexjosesilva/Desafio_Estacio_2019
037cb8643e4c5c0e7a8c3a440aaf077ace4b763f
[ "MIT" ]
null
null
null
01_models.py
alexjosesilva/Desafio_Estacio_2019
037cb8643e4c5c0e7a8c3a440aaf077ace4b763f
[ "MIT" ]
null
null
null
01_models.py
alexjosesilva/Desafio_Estacio_2019
037cb8643e4c5c0e7a8c3a440aaf077ace4b763f
[ "MIT" ]
null
null
null
# This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # * Make sure each ForeignKey has `on_delete` set to the desired behavior. # * Remove `managed = False` lines if ...
47.333333
104
0.736419
283
1,988
5.077739
0.335689
0.118998
0.171886
0.224774
0.571329
0.571329
0.459986
0.405706
0.405706
0.191371
0
0.019808
0.161972
1,988
41
105
48.487805
0.842737
0.227867
0
0.214286
1
0
0.009168
0
0
0
0
0
0
0
null
null
0
0.035714
null
null
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
bcd879dbb57172ae252049481e2a3bb1c774f60e
764
py
Python
traw/models/priority.py
levi-rs/testrail-api-wrapper
5cafbb4ef8c97a0c1e0dc6dac64534fa72e56f11
[ "MIT" ]
2
2019-01-19T13:18:26.000Z
2019-02-23T19:39:50.000Z
traw/models/priority.py
levi-rs/testrail-api-wrapper
5cafbb4ef8c97a0c1e0dc6dac64534fa72e56f11
[ "MIT" ]
3
2019-01-20T19:21:34.000Z
2019-02-13T17:54:30.000Z
traw/models/priority.py
leviable/testrail-api-wrapper
5cafbb4ef8c97a0c1e0dc6dac64534fa72e56f11
[ "MIT" ]
null
null
null
from .model_base import ModelBase class Priority(ModelBase): """ Object model for TestRail Priorities To get priorities .. code-block:: python priorities = list(traw_client.priorities()) """ @property def is_default(self): """ Reports if priority is default """ retu...
23.151515
64
0.604712
91
764
4.967033
0.417582
0.097345
0.150442
0.176991
0.097345
0.097345
0.097345
0
0
0
0
0.003578
0.268325
764
32
65
23.875
0.805009
0.359948
0
0.285714
0
0
0.072893
0
0
0
0
0
0
1
0.285714
false
0
0.071429
0
0.714286
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
bcd9726be205b8a4f2bcbaa5f0e92f228be4cfac
175
py
Python
projects/code_combat/4_Backwoods_Forest/171-Long_Road/long_road.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
projects/code_combat/4_Backwoods_Forest/171-Long_Road/long_road.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
projects/code_combat/4_Backwoods_Forest/171-Long_Road/long_road.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
def onSpawn(event): while(true) { item = hero.findNearestItem() if item: pet.fetch(item) pet.on("spawn", onSpawn) hero.moveXY(78, 35)
19.444444
38
0.548571
21
175
4.571429
0.761905
0.145833
0
0
0
0
0
0
0
0
0
0.033333
0.314286
175
8
39
21.875
0.766667
0
0
0
0
0
0.02994
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
bcf045ab0e8b2e2db115126ea2892c390d096383
89
py
Python
subr.py
shibaeff/Markov-Generator
1f0c6b27058bf164a7f5e59a3208e134d0421d3a
[ "MIT" ]
null
null
null
subr.py
shibaeff/Markov-Generator
1f0c6b27058bf164a7f5e59a3208e134d0421d3a
[ "MIT" ]
null
null
null
subr.py
shibaeff/Markov-Generator
1f0c6b27058bf164a7f5e59a3208e134d0421d3a
[ "MIT" ]
null
null
null
import subprocess p = subprocess.check_output(["ls", "-l"]) print((str(p).split("\n)")))
22.25
41
0.640449
13
89
4.307692
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.078652
89
3
42
29.666667
0.682927
0
0
0
0
0
0.078652
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
4c0de57ca9d137d92e83c22095e0803545337c03
737
py
Python
guess-number.py
rogerkeizer/pythonstuff
250cff0aba031b3782a5b1859ba8da4e52ea5ab8
[ "MIT" ]
null
null
null
guess-number.py
rogerkeizer/pythonstuff
250cff0aba031b3782a5b1859ba8da4e52ea5ab8
[ "MIT" ]
null
null
null
guess-number.py
rogerkeizer/pythonstuff
250cff0aba031b3782a5b1859ba8da4e52ea5ab8
[ "MIT" ]
null
null
null
# quick and dirty expiriment without much validation # TODO: check if first number is smaller than second import random print "Hallo, hoe heet jij?" speler = raw_input(" > ") print "Hoi ", speler , ", vertel mij het eerste getal" getal1 = int(raw_input(" > ")) print "en het tweede getal?" getal2 = int(raw_input(...
17.97561
54
0.643148
102
737
4.607843
0.607843
0.068085
0.082979
0.068085
0
0
0
0
0
0
0
0.008977
0.244233
737
40
55
18.425
0.834829
0.151967
0
0
0
0
0.348387
0
0
0
0
0.025
0
0
null
null
0
0.05
null
null
0.45
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
1
0
3
4c1466c421cd1ad167653da4321c8af313be93a9
141
py
Python
run.py
prsrepo/destination
756ac0861eb91fec33f54cc120e8eb35d598f807
[ "MIT" ]
null
null
null
run.py
prsrepo/destination
756ac0861eb91fec33f54cc120e8eb35d598f807
[ "MIT" ]
null
null
null
run.py
prsrepo/destination
756ac0861eb91fec33f54cc120e8eb35d598f807
[ "MIT" ]
null
null
null
from app import get_app if __name__ == "__main__": get_app().run('0.0.0.0', port=5008, debug=True)
17.625
29
0.489362
19
141
3.105263
0.684211
0.101695
0.101695
0
0
0
0
0
0
0
0
0.090909
0.375887
141
7
30
20.142857
0.579545
0
0
0
0
0
0.106383
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
4c278b731c69c2446e43f7a81e71fe93cf547a27
823
py
Python
index.py
TrevorDArcyEvans/mpd-ui-web
b1d9f5c0c675d3e731c4abf734c0ddb86d248b37
[ "MIT" ]
null
null
null
index.py
TrevorDArcyEvans/mpd-ui-web
b1d9f5c0c675d3e731c4abf734c0ddb86d248b37
[ "MIT" ]
null
null
null
index.py
TrevorDArcyEvans/mpd-ui-web
b1d9f5c0c675d3e731c4abf734c0ddb86d248b37
[ "MIT" ]
null
null
null
import os import subprocess from flask import Flask, request app = Flask(__name__, static_url_path='', static_folder='') @app.route("/") def index(): return app.send_static_file('index.html') @app.route("/toggle") def toggle(): os.system('mpc toggle &') return current() @app.route("/next") def next(): os.sy...
18.288889
59
0.64277
118
823
4.330508
0.381356
0.109589
0.125245
0.164384
0.148728
0.148728
0.148728
0.148728
0
0
0
0.017118
0.148238
823
44
60
18.704545
0.71184
0
0
0.151515
0
0
0.187348
0
0
0
0
0
0
1
0.212121
false
0
0.090909
0.030303
0.515152
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
4c6be6e88debb889439915b1050e24cc0d144189
331
py
Python
app/User.py
knguyen111601/test_penguin_project_4_backend
345551beffd56f835bdfe6d2b49ca0523e49a2f3
[ "MIT" ]
null
null
null
app/User.py
knguyen111601/test_penguin_project_4_backend
345551beffd56f835bdfe6d2b49ca0523e49a2f3
[ "MIT" ]
null
null
null
app/User.py
knguyen111601/test_penguin_project_4_backend
345551beffd56f835bdfe6d2b49ca0523e49a2f3
[ "MIT" ]
null
null
null
"""User Model.""" from masoniteorm.models import Model from masoniteorm.relationships import has_many class User(Model): """User Model.""" __fillable__ = ["username", "email", "password"] __auth__ = "username" @has_many("id", "user_id") def pcs(self): from app.PC import PC retu...
17.421053
52
0.625378
39
331
5.025641
0.564103
0.137755
0.204082
0
0
0
0
0
0
0
0
0
0.238671
331
19
53
17.421053
0.777778
0.069486
0
0
0
0
0.127517
0
0
0
0
0
0
1
0.111111
false
0.111111
0.333333
0
0.888889
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
1
1
0
0
0
0
3
4c726530b82966e866c6148eef1a61dc42b59674
19,710
py
Python
src/restfw/testing/resource_testing.py
Cykooz/restfw
d94db685aa0dcda2eaf3eba24c4a29d5c3eb84e4
[ "MIT" ]
null
null
null
src/restfw/testing/resource_testing.py
Cykooz/restfw
d94db685aa0dcda2eaf3eba24c4a29d5c3eb84e4
[ "MIT" ]
null
null
null
src/restfw/testing/resource_testing.py
Cykooz/restfw
d94db685aa0dcda2eaf3eba24c4a29d5c3eb84e4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ :Authors: cykooz :Date: 06.12.2016 """ from copy import deepcopy from typing import Dict, Optional from pyramid.httpexceptions import HTTPNotModified, HTTPPreconditionFailed from webtest import TestResponse from webtest.forms import Upload from zope.interface import implementer from .webap...
40.639175
107
0.633283
2,319
19,710
5.149633
0.085382
0.082733
0.033411
0.045721
0.789483
0.754647
0.702479
0.670491
0.641685
0.620164
0
0.005676
0.266971
19,710
484
108
40.723141
0.820875
0.040233
0
0.611675
0
0
0.071413
0
0
0
0
0
0.167513
1
0.032995
false
0
0.030457
0
0.098985
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
d5b1ca7d614ef4c02019b9ce9a48b3f0eec90a09
83
py
Python
sounds/untitled0.py
team-7108/pc-side
4e22b790a6cee7356260a4423558bb1aa977432d
[ "MIT" ]
1
2020-11-13T13:48:20.000Z
2020-11-13T13:48:20.000Z
sounds/untitled0.py
team-7108/pc-side
4e22b790a6cee7356260a4423558bb1aa977432d
[ "MIT" ]
null
null
null
sounds/untitled0.py
team-7108/pc-side
4e22b790a6cee7356260a4423558bb1aa977432d
[ "MIT" ]
1
2020-11-13T13:48:21.000Z
2020-11-13T13:48:21.000Z
from gtts import gTTS tts = gTTS(text = '', lang = 'en') tts.save('teleop.mp3')
20.75
35
0.614458
13
83
3.923077
0.769231
0
0
0
0
0
0
0
0
0
0
0.014925
0.192771
83
4
36
20.75
0.746269
0
0
0
0
0
0.148148
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
d5b9f6689171a1c3a1d2a18859e7544f72bb939e
674
py
Python
flambda_app/events/tracker.py
madeiramadeirabr/template-serverless-service-python
17a57e19906f44978dad0c09cff3a16c299ff0c0
[ "MIT" ]
null
null
null
flambda_app/events/tracker.py
madeiramadeirabr/template-serverless-service-python
17a57e19906f44978dad0c09cff3a16c299ff0c0
[ "MIT" ]
1
2022-03-31T17:55:16.000Z
2022-03-31T17:59:00.000Z
flambda_app/events/tracker.py
madeiramadeirabr/template-serverless-service-python
17a57e19906f44978dad0c09cff3a16c299ff0c0
[ "MIT" ]
null
null
null
""" Event Tracker Module for Flambda APP Version: 1.0.0 """ from flambda_app.logging import get_logger class EventTracker: def __init__(self, logger=None): """ # This cant import get_config :param logger: """ # logger self.logger = logger if logger is not None else ...
28.083333
96
0.636499
85
674
4.835294
0.423529
0.097324
0.136253
0.175182
0.316302
0.16545
0.16545
0
0
0
0
0.005894
0.244807
674
23
97
29.304348
0.801572
0.176558
0
0
0
0
0.087379
0
0
0
0
0
0
1
0.333333
false
0
0.111111
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
0
0
1
0
0
3
d5ba0fe66ab9ecf473859306b205d041543cce62
66,610
py
Python
2050716/_tp3.py
Masoud-Karami/Machine-Learning_Mila
c60cee56e61d77afea616150fc01970400f81f4a
[ "Apache-2.0" ]
null
null
null
2050716/_tp3.py
Masoud-Karami/Machine-Learning_Mila
c60cee56e61d77afea616150fc01970400f81f4a
[ "Apache-2.0" ]
null
null
null
2050716/_tp3.py
Masoud-Karami/Machine-Learning_Mila
c60cee56e61d77afea616150fc01970400f81f4a
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """#tp3 Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1A2U08A3kvZV_w5NaIxH1IkXT3b7vAf0l **# Masoud Karami** **2050716** [INF8953CE(Fall 2020) : Machine Learning](http://sarathchandar.in/teaching/ml/fall2020/) [Assignmen...
40.394178
292
0.675844
10,086
66,610
4.211977
0.054729
0.0266
0.017137
0.025987
0.808248
0.75213
0.698767
0.653853
0.62031
0.588367
0
0.033108
0.177451
66,610
1,649
293
40.394178
0.742252
0.441
0
0.499192
1
0.001616
0.135378
0.011759
0
0
0
0
0
1
0.033926
false
0
0.090469
0
0.155089
0.061389
0
0
0
null
0
0
0
1
1
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
d5ed1757025f02682f771fa07e714d183211556f
1,131
py
Python
grid/coder_test.py
susannahsoon/oldperth
a09ea03e8b0f96ffe235755a1120569a61a0dd79
[ "Apache-2.0" ]
302
2015-03-19T20:40:47.000Z
2022-03-27T23:31:21.000Z
grid/coder_test.py
gegilligan/oldnyc
a09ea03e8b0f96ffe235755a1120569a61a0dd79
[ "Apache-2.0" ]
88
2015-02-23T18:29:23.000Z
2020-08-23T18:32:18.000Z
grid/coder_test.py
gegilligan/oldnyc
a09ea03e8b0f96ffe235755a1120569a61a0dd79
[ "Apache-2.0" ]
186
2015-02-12T11:16:39.000Z
2022-02-12T16:21:08.000Z
from nose.tools import * from grid import coder def assert_close(ll1, ll2): '''Assert that two latitude & longitude tuples are "close".''' try: assert_almost_equal(ll1[0], ll2[0], places=6) assert_almost_equal(ll1[1], ll2[1], places=6) except AssertionError as e: print '%s != %s' ...
31.416667
66
0.640141
164
1,131
4.286585
0.463415
0.159317
0.189189
0.113798
0.29872
0.085349
0
0
0
0
0
0.122845
0.179487
1,131
35
67
32.314286
0.634698
0.068081
0
0
0
0
0.039474
0
0
0
0
0
0.625
0
null
null
0
0.083333
null
null
0.041667
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
1
0
0
0
0
0
0
0
0
3
d5f906591290abface2e59c72e97be96a75977d0
212
py
Python
service_templates/connectors/Python/source/setup.py
fzi-forschungszentrum-informatik/BEMCom
0a0c359d889c6d5975e4d4d3b17c24adb5bf883b
[ "MIT" ]
4
2021-09-10T09:46:18.000Z
2021-12-05T17:55:14.000Z
service_templates/connectors/Python/source/setup.py
fzi-forschungszentrum-informatik/BEMCom
0a0c359d889c6d5975e4d4d3b17c24adb5bf883b
[ "MIT" ]
null
null
null
service_templates/connectors/Python/source/setup.py
fzi-forschungszentrum-informatik/BEMCom
0a0c359d889c6d5975e4d4d3b17c24adb5bf883b
[ "MIT" ]
null
null
null
from setuptools import setup setup( name="pyconnector_template", version="0.4.0", install_requires=["python-dotenv==0.15.*", "paho-mqtt==1.5.*", "pytest"], packages=setuptools.find_packages(), )
23.555556
77
0.669811
27
212
5.148148
0.814815
0
0
0
0
0
0
0
0
0
0
0.043716
0.136792
212
8
78
26.5
0.715847
0
0
0
0
0
0.320755
0.099057
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
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
9102ecfb6f1638af12ab3882757ce5e6c8361080
171
py
Python
pddm/envs/walker2d/__init__.py
AtsushiHAM/EEI_Analysis_model_based_rl
800fa57a0ef5609e487c7844a2b21b31a937ece4
[ "Apache-2.0" ]
1
2020-11-19T11:03:14.000Z
2020-11-19T11:03:14.000Z
pddm/envs/walker2d/__init__.py
AtsushiHAM/EEI_Analysis_model_based_rl
800fa57a0ef5609e487c7844a2b21b31a937ece4
[ "Apache-2.0" ]
null
null
null
pddm/envs/walker2d/__init__.py
AtsushiHAM/EEI_Analysis_model_based_rl
800fa57a0ef5609e487c7844a2b21b31a937ece4
[ "Apache-2.0" ]
1
2020-11-16T07:55:31.000Z
2020-11-16T07:55:31.000Z
from gym.envs.registration import register register( id='pddm_walker2d-v0', entry_point='pddm.envs.walker2d.walker2d:Walker2dEnv', max_episode_steps=1000, )
19
58
0.754386
22
171
5.681818
0.772727
0
0
0
0
0
0
0
0
0
0
0.060811
0.134503
171
8
59
21.375
0.783784
0
0
0
0
0
0.323529
0.229412
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
9105ad88a8e2a6632db8843ba7c0500cc755cd8d
212
py
Python
testing/test_get_date.py
jkpubsrc/python-module-jk-sysinfo
583c9e5d10f64a722ffa794d081aaf94354ba4fb
[ "Apache-1.1" ]
null
null
null
testing/test_get_date.py
jkpubsrc/python-module-jk-sysinfo
583c9e5d10f64a722ffa794d081aaf94354ba4fb
[ "Apache-1.1" ]
null
null
null
testing/test_get_date.py
jkpubsrc/python-module-jk-sysinfo
583c9e5d10f64a722ffa794d081aaf94354ba4fb
[ "Apache-1.1" ]
null
null
null
#!/usr/bin/python3 import jk_sysinfo import jk_json #jk_sysinfo.enableDebugging() print(jk_sysinfo.get_date_as_datetime()) print() result = jk_sysinfo.get_date() jk_json.prettyPrint(result) print()
8.833333
40
0.754717
30
212
5
0.5
0.24
0.16
0.213333
0
0
0
0
0
0
0
0.005405
0.127358
212
23
41
9.217391
0.805405
0.212264
0
0.285714
0
0
0
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.428571
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
911eb9c79bdb1e1beefa88ef0c347132e10627b4
126
py
Python
file_finder.py
LC-Duarte/pytil
271b4e8dee408b586fbd741511116726e10d1fc0
[ "MIT" ]
null
null
null
file_finder.py
LC-Duarte/pytil
271b4e8dee408b586fbd741511116726e10d1fc0
[ "MIT" ]
null
null
null
file_finder.py
LC-Duarte/pytil
271b4e8dee408b586fbd741511116726e10d1fc0
[ "MIT" ]
null
null
null
import os import re #NOT TESTED files = [f for f in os.listdir('./Image/input') if re.match(r'[0-9]+.*\.jpg', f)] print(files)
25.2
81
0.650794
25
126
3.28
0.76
0
0
0
0
0
0
0
0
0
0
0.018182
0.126984
126
5
82
25.2
0.727273
0.079365
0
0
0
0
0.224138
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.25
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
e6750f760dd1d54884c77e07775d31c3bd74f24a
395
py
Python
algorithm-study/study/targetNumber.py
Seongkyun-Yu/TIL
2be6a2a68246bc98996b1421e2cc20e025c876ed
[ "MIT" ]
1
2020-02-17T15:15:55.000Z
2020-02-17T15:15:55.000Z
algorithm-study/study/targetNumber.py
Seongkyun-Yu/TIL
2be6a2a68246bc98996b1421e2cc20e025c876ed
[ "MIT" ]
6
2020-07-31T17:03:56.000Z
2022-02-27T04:17:57.000Z
algorithm-study/study/targetNumber.py
Seongkyun-Yu/TIL
2be6a2a68246bc98996b1421e2cc20e025c876ed
[ "MIT" ]
null
null
null
result = 0 def solution(numbers, target): findNum(numbers, 0, 0, target) return result def findNum(numbers, index, acc, target): global result if len(numbers) == index: if acc == target: result += 1 return num = numbers[index] findNum(numbers, index + 1, acc - num, target) findNum(n...
17.173913
48
0.625316
56
395
4.410714
0.303571
0.242915
0.230769
0.161943
0.259109
0.259109
0.259109
0
0
0
0
0.039867
0.237975
395
23
49
17.173913
0.780731
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0.071429
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
e6773773f9607ecb374dbc62d452be9acb5e99e1
2,674
py
Python
python/etl/tests/spark/app/test_base_app.py
beobest2/delta
0107d5322492c420a044fa41d90be03375606bea
[ "Apache-2.0" ]
1
2021-12-01T00:35:13.000Z
2021-12-01T00:35:13.000Z
python/etl/tests/spark/app/test_base_app.py
beobest2/delta
0107d5322492c420a044fa41d90be03375606bea
[ "Apache-2.0" ]
null
null
null
python/etl/tests/spark/app/test_base_app.py
beobest2/delta
0107d5322492c420a044fa41d90be03375606bea
[ "Apache-2.0" ]
null
null
null
from argparse import ArgumentParser, Namespace import pytest from laplace_spark.app_abc.base import SparkBaseApp from pyspark.sql import DataFrame from pyspark.sql.functions import lit @pytest.fixture() def dummy_transformation(): def identity(df: DataFrame): return df def add_col_tmp(df: DataFrame)...
30.735632
78
0.713912
330
2,674
5.451515
0.212121
0.065036
0.086715
0.053363
0.34408
0.34408
0.327404
0.242913
0.200667
0.200667
0
0.00186
0.195961
2,674
86
79
31.093023
0.834884
0
0
0.186441
0
0
0.023186
0
0
0
0
0
0.033898
1
0.322034
false
0
0.084746
0.135593
0.59322
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
e677e6773ef038761cb83520975acc15aa2b9a91
45,912
py
Python
ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/netconfclient_1eaa2ab0efacd988796bdc1f5fe4291c.py
Vibaswan/ixnetwork_restpy
239fedc7050890746cbabd71ea1e91c68d9e5cad
[ "MIT" ]
null
null
null
ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/netconfclient_1eaa2ab0efacd988796bdc1f5fe4291c.py
Vibaswan/ixnetwork_restpy
239fedc7050890746cbabd71ea1e91c68d9e5cad
[ "MIT" ]
null
null
null
ixnetwork_restpy/testplatform/sessions/ixnetwork/topology/netconfclient_1eaa2ab0efacd988796bdc1f5fe4291c.py
Vibaswan/ixnetwork_restpy
239fedc7050890746cbabd71ea1e91c68d9e5cad
[ "MIT" ]
null
null
null
# MIT LICENSE # # Copyright 1997 - 2020 by IXIA Keysight # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), # to deal in the Software without restriction, including without limitation # the rights to use, copy, modify,...
49.156317
1,068
0.678254
5,026
45,912
6.11918
0.118981
0.031214
0.047147
0.022403
0.61668
0.592326
0.574768
0.56225
0.538547
0.509023
0
0.007998
0.223863
45,912
933
1,069
49.209003
0.855082
0.555563
0
0.34106
0
0
0.148438
0.05887
0
0
0
0
0
1
0.225166
false
0.033113
0.109272
0
0.549669
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
e68ad0710eab7bb5bdd87e76f0ec6f3cd4836c96
140
py
Python
5_kyu/Python_Reflection_Disassembling_the_secret.py
UlrichBerntien/Codewars-Katas
bbd025e67aa352d313564d3862db19fffa39f552
[ "MIT" ]
null
null
null
5_kyu/Python_Reflection_Disassembling_the_secret.py
UlrichBerntien/Codewars-Katas
bbd025e67aa352d313564d3862db19fffa39f552
[ "MIT" ]
null
null
null
5_kyu/Python_Reflection_Disassembling_the_secret.py
UlrichBerntien/Codewars-Katas
bbd025e67aa352d313564d3862db19fffa39f552
[ "MIT" ]
null
null
null
def find_the_secret(f): for x in f.__code__.co_consts: if isinstance(x,str) and len(x) == 32: return x return ''
28
46
0.578571
23
140
3.217391
0.782609
0
0
0
0
0
0
0
0
0
0
0.020619
0.307143
140
5
47
28
0.742268
0
0
0
0
0
0
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
e68e014aee6307255d5fd8275056129f5c50bfb0
426
py
Python
fetch_references.py
Phyks/arxiv_metadata
2338906fec5bfdca6e4b6303b05a79856c2e8d37
[ "MIT" ]
2
2015-12-26T17:08:18.000Z
2016-10-04T21:35:50.000Z
fetch_references.py
Phyks/arxiv_metadata
2338906fec5bfdca6e4b6303b05a79856c2e8d37
[ "MIT" ]
null
null
null
fetch_references.py
Phyks/arxiv_metadata
2338906fec5bfdca6e4b6303b05a79856c2e8d37
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import os import sys # Local import from reference_fetcher import arxiv from reference_fetcher import bbl if __name__ == "__main__": import pprint if len(sys.argv) < 2: sys.exit("Usage: " + sys.argv[0] + " BBL_FILE|ARXIV_EPRINT.") if os.path.isfile(sys.argv[1]): pp...
22.421053
69
0.669014
65
426
4.153846
0.492308
0.12963
0.088889
0.192593
0
0
0
0
0
0
0
0.017493
0.194836
426
18
70
23.666667
0.769679
0.079812
0
0
0
0
0.097436
0.05641
0
0
0
0
0
1
0
true
0
0.416667
0
0.416667
0.25
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
1
0
1
0
0
0
0
3
e692cfdb5cdb0e6a4bbb3f9158e97e1c1f12135c
23,971
py
Python
sdk/python/pulumi_aws/eks/outputs.py
Otanikotani/pulumi-aws
00e2b352da42c5b1b0ec7b4760eec5ad2b23ff21
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/eks/outputs.py
Otanikotani/pulumi-aws
00e2b352da42c5b1b0ec7b4760eec5ad2b23ff21
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/eks/outputs.py
Otanikotani/pulumi-aws
00e2b352da42c5b1b0ec7b4760eec5ad2b23ff21
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from .. import _utilitie...
40.767007
500
0.668641
2,899
23,971
5.304588
0.09624
0.04565
0.030433
0.044479
0.762843
0.730329
0.702562
0.678762
0.643907
0.599233
0
0.004011
0.240666
23,971
587
501
40.836457
0.840842
0.36661
0
0.528875
1
0
0.135999
0.081426
0
0
0
0
0
1
0.194529
false
0
0.018237
0.039514
0.407295
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e69e397602f9b0f99a83e7a67e4b667d1faba47a
301
py
Python
algebra/operations.py
MehtapIsik/algebra
db6c0f58f21d3eb53cc755a47413b33431190c57
[ "BSD-3-Clause" ]
null
null
null
algebra/operations.py
MehtapIsik/algebra
db6c0f58f21d3eb53cc755a47413b33431190c57
[ "BSD-3-Clause" ]
null
null
null
algebra/operations.py
MehtapIsik/algebra
db6c0f58f21d3eb53cc755a47413b33431190c57
[ "BSD-3-Clause" ]
null
null
null
def sum(num1, num2): """ This function takes the sum of two numbers. Paramaters ---------- num1, float A number. num2, float A number. """ return num1 + num2 def product(num1, num2): """ This function takes the product of two numbers. """ return num1 * num2
15.05
48
0.584718
39
301
4.512821
0.435897
0.181818
0.136364
0.227273
0.318182
0.318182
0
0
0
0
0
0.046729
0.289037
301
19
49
15.842105
0.775701
0.601329
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
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
1
0
0
0
0
1
0
0
3
e6ccdb229f0e600a037f31aa228c2f8fe26bf435
2,809
py
Python
lib/forms.py
srvz/F2E.im
cf74d97319b43afa3a291cada5f0d08e76197f5a
[ "BSD-3-Clause" ]
340
2015-01-03T15:37:56.000Z
2021-10-09T01:47:11.000Z
lib/forms.py
superzhang/F2E.im
6d21eaa4b6372d3846a079a36f4d35121695dd91
[ "BSD-3-Clause" ]
6
2015-01-18T13:40:57.000Z
2019-09-12T05:33:38.000Z
lib/forms.py
superzhang/F2E.im
6d21eaa4b6372d3846a079a36f4d35121695dd91
[ "BSD-3-Clause" ]
167
2015-01-08T05:37:28.000Z
2021-09-20T08:39:27.000Z
# # Copyright (c) 2008 Daniel Truemper truemped@googlemail.com # # forms.py 31-Jul-2011 # # 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 # # Unle...
28.373737
96
0.674261
346
2,809
5.346821
0.433526
0.047568
0.024324
0.043784
0.137297
0
0
0
0
0
0
0.00736
0.226059
2,809
98
97
28.663265
0.843606
0.551798
0
0
0
0
0
0
0
0
0
0
0
1
0.384615
false
0
0.038462
0.269231
0.807692
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
e6d1885976fbad8a04b31930869f7470cb6e2f20
773
py
Python
lib/pranjan77ContigFilter/pranjan77ContigFilterImpl.py
pranjan77/pranjan77ContigFilter
25ca8ebd1864b23a0c630cdd9261bab9b192ad28
[ "MIT" ]
null
null
null
lib/pranjan77ContigFilter/pranjan77ContigFilterImpl.py
pranjan77/pranjan77ContigFilter
25ca8ebd1864b23a0c630cdd9261bab9b192ad28
[ "MIT" ]
null
null
null
lib/pranjan77ContigFilter/pranjan77ContigFilterImpl.py
pranjan77/pranjan77ContigFilter
25ca8ebd1864b23a0c630cdd9261bab9b192ad28
[ "MIT" ]
null
null
null
#BEGIN_HEADER #END_HEADER class pranjan77ContigFilter: ''' Module Name: pranjan77ContigFilter Module Description: A KBase module: pranjan77ContigFilter ''' ######## WARNING FOR GEVENT USERS ####### # Since asynchronous IO can lead to methods - even the same method - # interruptin...
26.655172
78
0.637775
90
773
5.344444
0.733333
0.037422
0
0
0
0
0
0
0
0
0
0.010292
0.245796
773
28
79
27.607143
0.814751
0.679172
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0.333333
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
e6e295c1ecf9d8fb1acdcb06035af403603ece3c
97
py
Python
Attendance-System-Using-Face-Recognition/recognition/apps.py
Marium39hani/Attendance-Management-System-Using-Face-Recognition-
2b3c3e4249860c811e9aa2ff1b34b8814014d23f
[ "MIT" ]
70
2021-04-28T04:45:05.000Z
2022-03-31T07:55:45.000Z
recognition/apps.py
usathe71-u/Attendance-System-Face-Recognition
c73f660a6089e8ca9dd5c473efcf2bc78f13a207
[ "Apache-2.0" ]
5
2021-05-17T06:38:37.000Z
2022-03-26T11:08:56.000Z
recognition/apps.py
usathe71-u/Attendance-System-Face-Recognition
c73f660a6089e8ca9dd5c473efcf2bc78f13a207
[ "Apache-2.0" ]
42
2021-06-15T07:03:26.000Z
2022-03-30T19:07:26.000Z
from django.apps import AppConfig class RecognitionConfig(AppConfig): name = 'recognition'
16.166667
35
0.773196
10
97
7.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.154639
97
5
36
19.4
0.914634
0
0
0
0
0
0.113402
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
e6f1a424c8d121c35980f5fbcd4512d490342222
176
py
Python
wp_utils.py
dracic/mergin-work-packages
07c6e4ac09016bb56f56baeec3082f8d1afb6714
[ "MIT" ]
null
null
null
wp_utils.py
dracic/mergin-work-packages
07c6e4ac09016bb56f56baeec3082f8d1afb6714
[ "MIT" ]
null
null
null
wp_utils.py
dracic/mergin-work-packages
07c6e4ac09016bb56f56baeec3082f8d1afb6714
[ "MIT" ]
null
null
null
""" Module with useful utilities. """ def escape_double_quotes(name): escaped_name = name.replace('"', '""') quoted_name = f'"{escaped_name}"' return quoted_name
17.6
42
0.659091
21
176
5.238095
0.666667
0.2
0
0
0
0
0
0
0
0
0
0
0.176136
176
9
43
19.555556
0.758621
0.164773
0
0
0
0
0.136691
0
0
0
0
0
0
1
0.25
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
fc204bd71103c652b2287d1f11e5a7a00b49f631
177
py
Python
notes_app/api/models.py
ayush17nov/notes_jangorest
2190babffd799eaba0d7830924362156f0dbd56a
[ "MIT" ]
null
null
null
notes_app/api/models.py
ayush17nov/notes_jangorest
2190babffd799eaba0d7830924362156f0dbd56a
[ "MIT" ]
null
null
null
notes_app/api/models.py
ayush17nov/notes_jangorest
2190babffd799eaba0d7830924362156f0dbd56a
[ "MIT" ]
null
null
null
from django.db import models class Note(models.Model): title=models.CharField(max_length=50) text=models.TextField() def __str__(self): return self.title
17.7
41
0.700565
24
177
4.958333
0.791667
0
0
0
0
0
0
0
0
0
0
0.014085
0.19774
177
9
42
19.666667
0.823944
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
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
1
0
0
0
3
fc2857423a9ddddf7c46fbddceb37dc629e0c39d
241
py
Python
Jetson/camera/camtest_2.py
BostonUniversitySeniorDesign/21-02-blinkah
41c422c6c4fd30fdb063626988f2ce283d3d898b
[ "MIT-0" ]
1
2021-05-14T15:16:44.000Z
2021-05-14T15:16:44.000Z
Jetson/camera/camtest_2.py
BostonUniversitySeniorDesign/21-02-blinkah
41c422c6c4fd30fdb063626988f2ce283d3d898b
[ "MIT-0" ]
null
null
null
Jetson/camera/camtest_2.py
BostonUniversitySeniorDesign/21-02-blinkah
41c422c6c4fd30fdb063626988f2ce283d3d898b
[ "MIT-0" ]
2
2021-05-12T19:34:02.000Z
2021-05-19T21:37:34.000Z
import jetson.inference import jetson.utils from jetcam.utils import bgr8_to_jpeg #net = jetson.inference.detectNet("ssd-mobilenet-v2", threshold=0.5) camera = jetson.utils.gstCamera(1920, 1080, "/dev/video0") img = camera.capture()
30.125
69
0.755187
34
241
5.294118
0.735294
0.133333
0
0
0
0
0
0
0
0
0
0.061033
0.116183
241
8
70
30.125
0.784038
0.278008
0
0
0
0
0.065868
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
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
fc2fcfb0838c29f992543ad8b787e57a0ad6bcd8
1,535
py
Python
mycrt/tests/test_scheduler.py
CPSECapstone/OliveChinos
c09cd1671b4726c2367ed4b3cc27781d2d22c246
[ "Apache-2.0" ]
null
null
null
mycrt/tests/test_scheduler.py
CPSECapstone/OliveChinos
c09cd1671b4726c2367ed4b3cc27781d2d22c246
[ "Apache-2.0" ]
null
null
null
mycrt/tests/test_scheduler.py
CPSECapstone/OliveChinos
c09cd1671b4726c2367ed4b3cc27781d2d22c246
[ "Apache-2.0" ]
null
null
null
#from server import mycrt import pytest import unittest import requests import json from datetime import datetime from .context import * #TOTAL NUMBER OF FUNCTIONS FROM SCHEDULER FILE: 7 #TOTAL NUMBER OF FUNCTIONS TESTED: 1 """ if __name__ == '__main__': if __package__ is None: import sys from o...
30.098039
81
0.648208
188
1,535
5.085106
0.484043
0.031381
0.009414
0.046025
0.058577
0.058577
0.058577
0.058577
0.058577
0
0
0.026116
0.22671
1,535
50
82
30.7
0.779275
0.36873
0
0
0
0
0.056047
0.030973
0
0
0
0.02
0.0625
1
0.125
false
0
0.375
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
fc3305f8ee06b07eb7b7dbb05737a17994e9b28f
1,171
py
Python
core/cooggerapp/templatetags/coogger_tags.py
maksatweb/coogger
480d4cccb2c6876fba116511b72775e2e434245b
[ "MIT" ]
null
null
null
core/cooggerapp/templatetags/coogger_tags.py
maksatweb/coogger
480d4cccb2c6876fba116511b72775e2e434245b
[ "MIT" ]
null
null
null
core/cooggerapp/templatetags/coogger_tags.py
maksatweb/coogger
480d4cccb2c6876fba116511b72775e2e434245b
[ "MIT" ]
1
2019-07-01T10:08:33.000Z
2019-07-01T10:08:33.000Z
# django from django.urls import resolve from django.contrib.auth.models import User from django import template register = template.Library() # python from urllib.parse import quote_plus # core.cooggerapp from core.cooggerapp.choices import * from core.cooggerapp.models import Content, Topic, Commit import requests...
24.914894
62
0.745517
160
1,171
5.38125
0.34375
0.113821
0.146341
0.044135
0
0
0
0
0
0
0
0.003918
0.128096
1,171
46
63
25.456522
0.839373
0.024765
0
0
0
0
0.099297
0
0
0
0
0
0
1
0.212121
false
0
0.212121
0.181818
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
fc36e1de139629909a1a7b2affb214d6b383a4b5
2,216
py
Python
tests/tools/test_split.py
switchupcb/srt
97ab1e5cc57da853c14ebc75b74193ec29bd048a
[ "MIT" ]
16
2021-07-14T14:41:18.000Z
2022-03-14T07:49:02.000Z
tests/tools/test_split.py
switchupcb/srt3
97ab1e5cc57da853c14ebc75b74193ec29bd048a
[ "MIT" ]
null
null
null
tests/tools/test_split.py
switchupcb/srt3
97ab1e5cc57da853c14ebc75b74193ec29bd048a
[ "MIT" ]
null
null
null
import unittest from . import * from srt.tools.split import * class TestToolSplit(unittest.TestCase): def setUp(self): self.subs = create_blocks self.x = list(create_blocks()) self.y = list(create_blocks(1)) def tearDown(self): pass def test_split(self): result = ...
39.571429
71
0.495487
372
2,216
2.919355
0.163978
0.11326
0.188766
0.070902
0.720074
0.673112
0.665746
0.587477
0.495396
0.472376
0
0.234234
0.248646
2,216
55
72
40.290909
0.418018
0.009025
0
0.304348
0
0
0.23677
0
0
0
0
0
0.086957
1
0.065217
false
0.021739
0.065217
0
0.152174
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fc4c6ab93dfc16f9fb280f671eec3251293ff08e
764
py
Python
sktime/performance_metrics/forecasting/__init__.py
Hephaest/sktime
c77cecb7af8c4e6fef7e7cadc2ac0cfb8c318688
[ "BSD-3-Clause" ]
1
2020-06-02T22:24:44.000Z
2020-06-02T22:24:44.000Z
sktime/performance_metrics/forecasting/__init__.py
Hephaest/sktime
c77cecb7af8c4e6fef7e7cadc2ac0cfb8c318688
[ "BSD-3-Clause" ]
1
2020-11-20T13:51:20.000Z
2020-11-20T13:51:20.000Z
sktime/performance_metrics/forecasting/__init__.py
Hephaest/sktime
c77cecb7af8c4e6fef7e7cadc2ac0cfb8c318688
[ "BSD-3-Clause" ]
3
2020-10-18T04:54:30.000Z
2021-02-15T18:04:18.000Z
#!/usr/bin/env python3 -u # -*- coding: utf-8 -*- # copyright: sktime developers, BSD-3-Clause License (see LICENSE file) __author__ = ["Markus Löning", "Tomasz Chodakowski", "Martin Walter"] __all__ = [ "MASE", "sMAPE", "mase_loss", "smape_loss", "mape_loss", "make_forecasting_scorer", "ev...
34.727273
83
0.784031
91
764
6.252747
0.428571
0.105448
0.221441
0.295255
0.572935
0.572935
0.572935
0.203866
0
0
0
0.004451
0.117801
764
21
84
36.380952
0.839763
0.151832
0
0
0
0
0.173643
0.035659
0
0
0
0
0
1
0
false
0
0.375
0
0.375
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
fc53105c1f95a0701aa50791c80e32a8d5e5714b
264
py
Python
zipkin/__init__.py
MoiTux/python-zipkin
4c69a28a43176fe24a2aeac932c153258ff7e60a
[ "Apache-2.0" ]
null
null
null
zipkin/__init__.py
MoiTux/python-zipkin
4c69a28a43176fe24a2aeac932c153258ff7e60a
[ "Apache-2.0" ]
null
null
null
zipkin/__init__.py
MoiTux/python-zipkin
4c69a28a43176fe24a2aeac932c153258ff7e60a
[ "Apache-2.0" ]
null
null
null
# export the API here from .api import trace, get_current_trace, stack_trace from .config import configure from .thread import local # XXX remove me from here __version__ = '0.5.3' __all__ = ['trace', 'get_current_trace', 'stack_trace', 'configure', 'local']
24
77
0.738636
39
264
4.641026
0.564103
0.088398
0.165746
0.220994
0.331492
0.331492
0
0
0
0
0
0.013393
0.151515
264
10
78
26.4
0.794643
0.162879
0
0
0
0
0.238532
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
fc62e8056cf34ef86008221eb4a2440e6fd38f5d
163
py
Python
Challenges/day7-arrays.py
Hoxtygen/Hackerrank-30-days-of-code
e2902ccb05fadaff8bf9e6356bdf4dcbc963e699
[ "MIT" ]
null
null
null
Challenges/day7-arrays.py
Hoxtygen/Hackerrank-30-days-of-code
e2902ccb05fadaff8bf9e6356bdf4dcbc963e699
[ "MIT" ]
null
null
null
Challenges/day7-arrays.py
Hoxtygen/Hackerrank-30-days-of-code
e2902ccb05fadaff8bf9e6356bdf4dcbc963e699
[ "MIT" ]
null
null
null
if __name__ == '__main__': n = int(input()) arr = list(map(int, input().rstrip().split())) arr.reverse() for i in arr: print(i, end= " ")
20.375
50
0.515337
22
163
3.454545
0.772727
0.210526
0
0
0
0
0
0
0
0
0
0
0.276074
163
7
51
23.285714
0.644068
0
0
0
0
0
0.055215
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
fc6367d0dc973435dda400b6fee425598cc3ab49
7,983
py
Python
databall/database_builder.py
emanuelef/databall
4433b9b65201e66228c8a742a79c6c6e9c01ac42
[ "MIT" ]
78
2018-02-03T03:00:04.000Z
2022-03-18T18:28:17.000Z
databall/database_builder.py
emanuelef/databall
4433b9b65201e66228c8a742a79c6c6e9c01ac42
[ "MIT" ]
363
2018-10-24T02:08:40.000Z
2022-03-03T21:53:52.000Z
databall/database_builder.py
emanuelef/databall
4433b9b65201e66228c8a742a79c6c6e9c01ac42
[ "MIT" ]
18
2018-03-09T04:50:51.000Z
2022-01-24T16:28:51.000Z
import json import sqlite3 import time import pandas as pd from nba_api.stats.endpoints.leaguedashplayerstats import LeagueDashPlayerStats from nba_api.stats.endpoints.leaguedashteamstats import LeagueDashTeamStats from nba_api.stats.endpoints.leaguegamelog import LeagueGameLog from nba_api.stats.static import teams a...
46.144509
131
0.670926
1,134
7,983
4.535273
0.128748
0.046665
0.035388
0.050554
0.76084
0.732063
0.704064
0.680926
0.671204
0.65526
0
0.005854
0.208192
7,983
172
132
46.412791
0.807784
0
0
0.343066
0
0.080292
0.403858
0
0
0
0
0
0
1
0.058394
false
0
0.058394
0.014599
0.131387
0.036496
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
fc69305b08f3ce9fdccb2c164eff1e9c5a08cfba
298
py
Python
suitesparse_graphblas/tests/test_initialize.py
michelp/python-suitesparse-graphblas
d5ed2bbfd79fe4a192d25bb75cdc2ef2fbcfee3d
[ "Apache-2.0" ]
null
null
null
suitesparse_graphblas/tests/test_initialize.py
michelp/python-suitesparse-graphblas
d5ed2bbfd79fe4a192d25bb75cdc2ef2fbcfee3d
[ "Apache-2.0" ]
null
null
null
suitesparse_graphblas/tests/test_initialize.py
michelp/python-suitesparse-graphblas
d5ed2bbfd79fe4a192d25bb75cdc2ef2fbcfee3d
[ "Apache-2.0" ]
null
null
null
if __name__ == "__main__": import suitesparse_graphblas as ssgb import pytest assert ssgb.is_initialized() is False ssgb.initialize() assert ssgb.is_initialized() is True with pytest.raises(RuntimeError, match="GraphBLAS is already initialized"): ssgb.initialize()
29.8
79
0.718121
35
298
5.8
0.571429
0.098522
0.118227
0.226601
0.246305
0
0
0
0
0
0
0
0.197987
298
9
80
33.111111
0.849372
0
0
0.25
0
0
0.134228
0
0
0
0
0
0.25
1
0
true
0
0.25
0
0.25
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
fc6ca048b567079aa6c0a84050b588665cb64a5d
424
py
Python
map_config.py
huanghaicheng1104/robot-plan
530770008c7f050930d8071b8f217c2e125d39ff
[ "Apache-2.0" ]
null
null
null
map_config.py
huanghaicheng1104/robot-plan
530770008c7f050930d8071b8f217c2e125d39ff
[ "Apache-2.0" ]
null
null
null
map_config.py
huanghaicheng1104/robot-plan
530770008c7f050930d8071b8f217c2e125d39ff
[ "Apache-2.0" ]
null
null
null
class map_config: width=500 height=500 obstacle=[ {"shape":"rectangle","center":(60,70),"width":30,"height":40}, {"shape":"rectangle","center":(350,370),"width":20,"height":50}, {"shape":"circle","center":(250,250),"radius":50}, {"shape":"circle","center":(50,150),"radius":30...
32.615385
72
0.544811
53
424
4.339623
0.528302
0.143478
0.221739
0.165217
0
0
0
0
0
0
0
0.167147
0.181604
424
12
73
35.333333
0.495677
0
0
0
0
0
0.308962
0
0
0
0
0
0
1
0
false
0
0
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fc701c43bfd0d78c3d20daa337a96af8826e6d9b
1,260
py
Python
tests/baseline_reader.py
michdolan/OpenTimelineIO
1ec6f07f1af525ba4ca0aa91e01e5939d6237f01
[ "Apache-2.0" ]
null
null
null
tests/baseline_reader.py
michdolan/OpenTimelineIO
1ec6f07f1af525ba4ca0aa91e01e5939d6237f01
[ "Apache-2.0" ]
4
2022-03-09T22:28:42.000Z
2022-03-14T15:16:50.000Z
tests/baseline_reader.py
michdolan/OpenTimelineIO
1ec6f07f1af525ba4ca0aa91e01e5939d6237f01
[ "Apache-2.0" ]
null
null
null
# SPDX-License-Identifier: Apache-2.0 # Copyright Contributors to the OpenTimelineIO project """Utilities for reading baseline json.""" import os import json MODPATH = os.path.dirname(__file__) def test_hook(dct): if "FROM_TEST_FILE" in dct: # fetch the baseline result = json_from_file_as_strin...
22.909091
78
0.669841
173
1,260
4.624277
0.358382
0.05
0.07
0.0525
0.14
0
0
0
0
0
0
0.003112
0.234921
1,260
54
79
23.333333
0.826763
0.202381
0
0
0
0
0.069347
0
0
0
0
0
0
1
0.241379
false
0
0.068966
0.172414
0.586207
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
fc7bc1d37bd30190a135d885bae50ee11bae079e
207
py
Python
project1_rest/master/master/api/urls.py
icaropires/distributed-systems-and-parallel-computing
d188e881b4568b85007047196b9b01bcec632172
[ "MIT" ]
2
2018-11-29T21:48:57.000Z
2019-10-01T09:43:59.000Z
project1_rest/master/master/api/urls.py
icaropires/distributed-systems-and-parallel-computing
d188e881b4568b85007047196b9b01bcec632172
[ "MIT" ]
null
null
null
project1_rest/master/master/api/urls.py
icaropires/distributed-systems-and-parallel-computing
d188e881b4568b85007047196b9b01bcec632172
[ "MIT" ]
null
null
null
from django.conf.urls import url, include from rest_framework import routers from .views import MatrixViewSet router = routers.DefaultRouter() router.register(r'', MatrixViewSet) urlpatterns = router.urls
23
41
0.811594
26
207
6.423077
0.653846
0
0
0
0
0
0
0
0
0
0
0
0.111111
207
8
42
25.875
0.907609
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
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
fc90e83471141f1647fb741094be137ab4c7f965
244
py
Python
Python/Tests/TestData/DebuggerProject/UnhandledException6.py
nanshuiyu/pytools
9f9271fe8cf564b4f94e9456d400f4306ea77c23
[ "Apache-2.0" ]
null
null
null
Python/Tests/TestData/DebuggerProject/UnhandledException6.py
nanshuiyu/pytools
9f9271fe8cf564b4f94e9456d400f4306ea77c23
[ "Apache-2.0" ]
null
null
null
Python/Tests/TestData/DebuggerProject/UnhandledException6.py
nanshuiyu/pytools
9f9271fe8cf564b4f94e9456d400f4306ea77c23
[ "Apache-2.0" ]
null
null
null
import os try: raise OSError() # does not break except os.error: pass try: raise OSError() # does not break except os.path.os.error: pass class A: error = OSError try: raise OSError() # breaks except A.error: pass
17.428571
41
0.643443
36
244
4.361111
0.416667
0.152866
0.286624
0.242038
0.44586
0.44586
0.44586
0.44586
0
0
0
0
0.266393
244
13
42
18.769231
0.877095
0.147541
0
0.333333
0
0
0
0
0
0
0
0
0
1
0
false
0.333333
0.111111
0
0.333333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
5d8b6ae82647486dfdf0cdf6ded864c4fefc6b25
266
py
Python
dabeplech/models/ncbi_taxonomy/taxonomy.py
hmenager/dabeplech
1e13742e5c1386ab34c316e926b733e2f262cd2e
[ "MIT" ]
null
null
null
dabeplech/models/ncbi_taxonomy/taxonomy.py
hmenager/dabeplech
1e13742e5c1386ab34c316e926b733e2f262cd2e
[ "MIT" ]
null
null
null
dabeplech/models/ncbi_taxonomy/taxonomy.py
hmenager/dabeplech
1e13742e5c1386ab34c316e926b733e2f262cd2e
[ "MIT" ]
null
null
null
from typing import List from pydantic import BaseModel class NCBITaxonomyItemModel(BaseModel): tax_id: int rank: str name: str class NCBITaxonomyAPIModel(BaseModel): current_item: NCBITaxonomyItemModel hierarchy: List[NCBITaxonomyItemModel]
17.733333
42
0.774436
27
266
7.555556
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.176692
266
14
43
19
0.931507
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.222222
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
5dbfcf44a29b109e34f9d145dad463b4a89c3532
709
py
Python
blog/janome/janome_pikup.py
nwiizo/joke
808c4c998cc7f5b7f6f3fb5a3ce421588a70c087
[ "MIT" ]
1
2017-01-11T06:12:24.000Z
2017-01-11T06:12:24.000Z
blog/janome/janome_pikup.py
ShuyaMotouchi/joke
808c4c998cc7f5b7f6f3fb5a3ce421588a70c087
[ "MIT" ]
null
null
null
blog/janome/janome_pikup.py
ShuyaMotouchi/joke
808c4c998cc7f5b7f6f3fb5a3ce421588a70c087
[ "MIT" ]
null
null
null
from janome.tokenizer import Tokenizer t = Tokenizer() tokens = t.tokenize("エンジニアか美容師の彼女が欲しいエンジニア") for token in tokens: print(token.surface, '\t',) # 表層形 print(token.part_of_speech.split(',')[0],) # 品詞 print(token.part_of_speech.split(',')[1],) # 品詞細分類1 print(token.part_of_spee...
39.388889
57
0.535966
79
709
4.658228
0.481013
0.298913
0.152174
0.173913
0.293478
0.293478
0
0
0
0
0
0.014553
0.32158
709
17
58
41.705882
0.75052
0.062059
0
0
0
0
0.041284
0.03211
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.733333
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
5dd42b2d029d9238750b2bbc197c3ec1f0c66883
2,293
py
Python
scripts/LDBCConverter.py
anilpacaci/rpq
b0a018038eaeecea6a6a8979d369c5ad2a5b4cfb
[ "Apache-2.0" ]
3
2021-03-19T13:28:48.000Z
2021-07-16T07:12:00.000Z
scripts/LDBCConverter.py
shixuansun/rpq
b0a018038eaeecea6a6a8979d369c5ad2a5b4cfb
[ "Apache-2.0" ]
null
null
null
scripts/LDBCConverter.py
shixuansun/rpq
b0a018038eaeecea6a6a8979d369c5ad2a5b4cfb
[ "Apache-2.0" ]
1
2021-03-19T13:28:54.000Z
2021-03-19T13:28:54.000Z
#!/usr/bin/python import csv import sys import os # update filename fileNameTemplate = "updateStream_0_X_forum.csv"; # read the command line arguments if len(sys.argv) != 3: print "Provide input folder and output files" sys.exit() # second argument is the input folder file input_folder = sys.argv[1] output_folder...
37.590164
84
0.627562
331
2,293
4.326284
0.259819
0.23743
0.27933
0.146648
0.479749
0.324022
0.185754
0.152235
0.111732
0.111732
0
0.046656
0.158744
2,293
60
85
38.216667
0.695697
0.070214
0
0.086957
0
0
0.117232
0.012241
0
0
0
0
0
0
null
null
0
0.065217
null
null
0.021739
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
1
0
0
0
0
0
0
0
0
3
5df8b562c3c90c083787b5076d3e1aeae42f51df
840
py
Python
p99/python3/p19.py
jlou2u/katas
bbdeef5f2bf3c26d9764c173793724df3f01341f
[ "MIT" ]
null
null
null
p99/python3/p19.py
jlou2u/katas
bbdeef5f2bf3c26d9764c173793724df3f01341f
[ "MIT" ]
null
null
null
p99/python3/p19.py
jlou2u/katas
bbdeef5f2bf3c26d9764c173793724df3f01341f
[ "MIT" ]
null
null
null
# rotate a list N places to the left def rotate(n, l): return l[n:] + l[0:n] def test_rotate(): l = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k'] expected = ['d', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'a', 'b', 'c'] assert rotate(3,l) == expected expected = ['j', 'k', 'a', 'b', ...
28.965517
78
0.421429
135
840
2.614815
0.311111
0.373938
0.184136
0.15864
0.21813
0.203966
0.203966
0.203966
0.175637
0
0
0.022436
0.257143
840
28
79
30
0.543269
0.125
0
0
0
0
0.077975
0
0
0
0
0
0.647059
1
0.117647
false
0
0
0.058824
0.176471
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
5df8cfab48c8a542b687ba3e02010cc5e9fd9c28
1,134
py
Python
new_app/models.py
2141040025/Aplicacion-CRUD-Django
e760e7e02db7a2a4841d899af0e199db60d804b7
[ "MIT" ]
null
null
null
new_app/models.py
2141040025/Aplicacion-CRUD-Django
e760e7e02db7a2a4841d899af0e199db60d804b7
[ "MIT" ]
null
null
null
new_app/models.py
2141040025/Aplicacion-CRUD-Django
e760e7e02db7a2a4841d899af0e199db60d804b7
[ "MIT" ]
null
null
null
#---------------------------------- # Models / new_app #---------------------------------- from django.db import models #------------------------------------------------------------------------- class Profesor(models.Model): departamento = models.ForeignKey('Departamento') nombre = models.CharField(max_length=...
28.35
74
0.561728
107
1,134
5.757009
0.383178
0.121753
0.146104
0.194805
0.457792
0.413961
0.36039
0.295455
0.295455
0.295455
0
0.013672
0.097002
1,134
40
75
28.35
0.587891
0.271605
0
0.478261
0
0
0.051157
0
0
0
0
0
0
1
0.130435
false
0
0.043478
0.130435
0.913043
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
b90d3d3c7c17270deccc2ff6135557a718321531
724
py
Python
funcoes_banco/estruturado/MeusModulos/ContaCorrente.py
ViniciusMottag/Aula_app_distri
2b62cf1d25bbcff575eb1a9c5d1e0801316b3fe8
[ "Apache-2.0" ]
null
null
null
funcoes_banco/estruturado/MeusModulos/ContaCorrente.py
ViniciusMottag/Aula_app_distri
2b62cf1d25bbcff575eb1a9c5d1e0801316b3fe8
[ "Apache-2.0" ]
null
null
null
funcoes_banco/estruturado/MeusModulos/ContaCorrente.py
ViniciusMottag/Aula_app_distri
2b62cf1d25bbcff575eb1a9c5d1e0801316b3fe8
[ "Apache-2.0" ]
null
null
null
from . import Clientes class LimiteCreditoExcedidoException(Exception): pass #nao precisa fazer nada nessa classe, ela ja define a excessao nova #crie aqui uma nova excessao LimiteTransferenciaExcedidoException def credito(valor, cliente, limite_credito, limite_transferencia): cliente['saldo'] = valor + clie...
34.47619
114
0.776243
81
724
6.765432
0.493827
0.109489
0.104015
0.175182
0.160584
0.160584
0
0
0
0
0
0
0.143646
724
20
115
36.2
0.883871
0.179558
0
0.153846
0
0
0.042301
0
0
0
0
0
0
1
0.230769
false
0.153846
0.076923
0
0.384615
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
1
0
0
0
0
0
3
f8e92ebfee28d2a3a92bfe2210aa9e37d563588f
175
py
Python
contacts/__init__.py
vigviswa/GUI-based-Database-Application
3586da0ce8a678b9053fee839e12fe5639043ead
[ "MIT" ]
null
null
null
contacts/__init__.py
vigviswa/GUI-based-Database-Application
3586da0ce8a678b9053fee839e12fe5639043ead
[ "MIT" ]
null
null
null
contacts/__init__.py
vigviswa/GUI-based-Database-Application
3586da0ce8a678b9053fee839e12fe5639043ead
[ "MIT" ]
null
null
null
from flask import Flask from flask_sqlalchemy import SQLAlchemy from .config import AppConfig app = Flask(__name__) app.config.from_object(AppConfig()) db = SQLAlchemy(app)
19.444444
39
0.805714
24
175
5.625
0.416667
0.133333
0
0
0
0
0
0
0
0
0
0
0.12
175
8
40
21.875
0.876623
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
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
f8f4611c79f296809051b6c3ef4834214366f639
828
py
Python
WidgetsUnlimited/model/inventory.py
AlanHorowitz/open-ended-capstone
80590af5b09c2245f124cec20ed7594d62cff30e
[ "MIT" ]
null
null
null
WidgetsUnlimited/model/inventory.py
AlanHorowitz/open-ended-capstone
80590af5b09c2245f124cec20ed7594d62cff30e
[ "MIT" ]
null
null
null
WidgetsUnlimited/model/inventory.py
AlanHorowitz/open-ended-capstone
80590af5b09c2245f124cec20ed7594d62cff30e
[ "MIT" ]
null
null
null
from .metadata import Table, Column class InventoryTable(Table): NAME = "inventory" def __init__(self): super().__init__( InventoryTable.NAME, Column("inventory_event_id", "INTEGER", primary_key=True), Column("inventory_event_type", "VARCHAR"), # shipment, supply...
37.636364
82
0.625604
79
828
6.164557
0.443038
0.308008
0.225873
0.197125
0
0
0
0
0
0
0
0
0.245169
828
21
83
39.428571
0.7792
0.028986
0
0
0
0
0.362843
0.139651
0
0
0
0
0
1
0.058824
false
0
0.058824
0
0.235294
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
f8f544a35312cb7842f8e327824b458799e85498
72
py
Python
Python/Tests/TestData/SendToInteractive/SelectOutput.py
techkey/PTVS
8355e67eedd8e915ca49bd38a2f36172696fd903
[ "Apache-2.0" ]
404
2019-05-07T02:21:57.000Z
2022-03-31T17:03:04.000Z
Python/Tests/TestData/SendToInteractive/SelectOutput.py
techkey/PTVS
8355e67eedd8e915ca49bd38a2f36172696fd903
[ "Apache-2.0" ]
1,672
2019-05-06T21:09:38.000Z
2022-03-31T23:16:04.000Z
Python/Tests/TestData/SendToInteractive/SelectOutput.py
techkey/PTVS
8355e67eedd8e915ca49bd38a2f36172696fd903
[ "Apache-2.0" ]
186
2019-05-13T03:17:37.000Z
2022-03-31T16:24:05.000Z
print('first') print('second') if True: x = 1 y = 2 print('hi')
10.285714
15
0.527778
12
72
3.166667
0.833333
0
0
0
0
0
0
0
0
0
0
0.037736
0.263889
72
6
16
12
0.679245
0
0
0
0
0
0.180556
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
5d08be584aad82d44068ab4a446e64c195a6d63a
69
py
Python
backend/globals.py
citReyJoshua/supplie
e5959da2fed4ae967fe09294223e6b5ee3ee204b
[ "MIT" ]
null
null
null
backend/globals.py
citReyJoshua/supplie
e5959da2fed4ae967fe09294223e6b5ee3ee204b
[ "MIT" ]
null
null
null
backend/globals.py
citReyJoshua/supplie
e5959da2fed4ae967fe09294223e6b5ee3ee204b
[ "MIT" ]
null
null
null
MAX_LENGTH_DEFAULT = 100 MAX_LENGTH_SHORT = 50 MAX_LENGTH_LONG = 200
17.25
24
0.826087
12
69
4.25
0.666667
0.529412
0
0
0
0
0
0
0
0
0
0.133333
0.130435
69
4
25
17.25
0.716667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5d45e0d626a05a5d71c31ac10a888c96587d16ea
122
py
Python
node_modules/pm2/lib/templates/sample-apps/python-app/echo.py
stampixel/chatix.ga
a0add1469cd477f51222d23d355afafb7314bb5e
[ "MIT" ]
4
2020-03-19T16:18:46.000Z
2021-05-07T00:21:23.000Z
node_modules/pm2/lib/templates/sample-apps/python-app/echo.py
joengelh/nodejs-wakeonlan
2e0e6e23397d96f9f7724e98249a119c2e6b2c8a
[ "Unlicense" ]
15
2020-06-18T18:56:30.000Z
2021-02-18T20:15:29.000Z
node_modules/pm2/lib/templates/sample-apps/python-app/echo.py
joengelh/nodejs-wakeonlan
2e0e6e23397d96f9f7724e98249a119c2e6b2c8a
[ "Unlicense" ]
4
2020-03-19T11:53:08.000Z
2020-03-23T13:33:16.000Z
#!/usr/bin/python import time while 1: print("Start : %s" % time.ctime()) print("second line") time.sleep(1)
15.25
38
0.598361
18
122
4.055556
0.777778
0
0
0
0
0
0
0
0
0
0
0.020833
0.213115
122
7
39
17.428571
0.739583
0.131148
0
0
0
0
0.2
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0.4
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
5d56edf5a3de20cce94a49cf9664c854f0401b8a
1,232
py
Python
apps/analytics/serializers.py
rakesh-1601/EvalAI
87f9ee03ba177949272555858c35fd6fb65b347a
[ "BSD-3-Clause" ]
null
null
null
apps/analytics/serializers.py
rakesh-1601/EvalAI
87f9ee03ba177949272555858c35fd6fb65b347a
[ "BSD-3-Clause" ]
null
null
null
apps/analytics/serializers.py
rakesh-1601/EvalAI
87f9ee03ba177949272555858c35fd6fb65b347a
[ "BSD-3-Clause" ]
null
null
null
from rest_framework import serializers class ChallengePhaseSubmissionCount(object): def __init__(self, participant_team_submission_count, challenge_phase_pk): self.participant_team_submission_count = participant_team_submission_count self.challenge_phase = challenge_phase_pk class ChallengePhas...
41.066667
104
0.821429
124
1,232
7.604839
0.233871
0.178155
0.195122
0.212089
0.494168
0.369035
0.235419
0.152704
0.152704
0.152704
0
0
0.132305
1,232
29
105
42.482759
0.882133
0
0
0.210526
0
0
0
0
0
0
0
0
0
1
0.105263
false
0
0.052632
0
0.631579
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
5d5d22bc4c192f1c91ab415373ffa626d4e5bd59
559
py
Python
src/models/attribute/attributes/compact.py
TDSVirtru/parkinglot
3895b4019ad70a1613e30483e98ac823e5cc8d64
[ "MIT" ]
null
null
null
src/models/attribute/attributes/compact.py
TDSVirtru/parkinglot
3895b4019ad70a1613e30483e98ac823e5cc8d64
[ "MIT" ]
null
null
null
src/models/attribute/attributes/compact.py
TDSVirtru/parkinglot
3895b4019ad70a1613e30483e98ac823e5cc8d64
[ "MIT" ]
null
null
null
"""The Compact attribute.""" from ..attribute import Attribute from ..attribute import ACCEPTS COMPACT = "Compact" class Compact(Attribute): """Compact attribute class.""" def __init__(self): """Construct a Compact.""" Attribute.__init__(self, COMPACT) def permits(self, car): ...
21.5
58
0.626118
61
559
5.606557
0.459016
0.187135
0.128655
0.163743
0
0
0
0
0
0
0
0
0.26297
559
25
59
22.36
0.830097
0.273703
0
0
0
0
0.018421
0
0
0
0
0
0
1
0.25
false
0
0.166667
0
0.75
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
5373aab91135a96edee471ab88befa57b08f43a5
306
py
Python
pvpc/exceptions.py
David-Lor/python-pvpc
a5aac6f32a6eaf464ee374fd7da32a79fbbd18ba
[ "ISC" ]
null
null
null
pvpc/exceptions.py
David-Lor/python-pvpc
a5aac6f32a6eaf464ee374fd7da32a79fbbd18ba
[ "ISC" ]
null
null
null
pvpc/exceptions.py
David-Lor/python-pvpc
a5aac6f32a6eaf464ee374fd7da32a79fbbd18ba
[ "ISC" ]
null
null
null
import datetime __all__ = ("PVPCNoDataForDay",) class PVPCNoDataForDay(Exception): def __init__(self, day: datetime.date): self._day = day @property def day(self): return self._day def __str__(self): return f"No PVPC data found for day {self._day.isoformat()}"
19.125
68
0.650327
37
306
4.972973
0.567568
0.152174
0
0
0
0
0
0
0
0
0
0
0.24183
306
15
69
20.4
0.793103
0
0
0
0
0
0.215686
0.075163
0
0
0
0
0
1
0.3
false
0
0.1
0.2
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
537e7b0776e8b3239c4b3f9501613dce7315e952
1,492
py
Python
game.py
shirinhk/RPS-Game
7f52a40fa37c93b731fe4e8c3d17d0e2a996445a
[ "Unlicense" ]
null
null
null
game.py
shirinhk/RPS-Game
7f52a40fa37c93b731fe4e8c3d17d0e2a996445a
[ "Unlicense" ]
null
null
null
game.py
shirinhk/RPS-Game
7f52a40fa37c93b731fe4e8c3d17d0e2a996445a
[ "Unlicense" ]
null
null
null
from random import randint from gameComponents import gameVars, winLose, compare while gameVars.player_choice is False: print("-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_") print("-_-_-_-_-_-_-_-_-_-_ Let's Play -_-_-_-_-_-_-_-_-_-_") print("-_-_-_-_-_-_-_-_ ROCK PAPER SCISSOR -_-_-_-...
41.444444
80
0.586461
134
1,492
5.171642
0.41791
0.141414
0.1443
0.066378
0.098124
0.098124
0.098124
0
0
0
0
0.003231
0.170241
1,492
35
81
42.628571
0.556543
0.012735
0
0.148148
0
0.259259
0.430999
0.183549
0
0
0
0
0
1
0
true
0
0.074074
0
0.074074
0.481481
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
538a37a5543a8ef95d77dac8040dbd6dbac9a63c
779
py
Python
pieqt/build/lib.linux-x86_64-2.7/App.py
rivenblades/pieqt
f3c4bea6df21b4c62c5dca2924000221f4dfbc19
[ "MIT" ]
null
null
null
pieqt/build/lib.linux-x86_64-2.7/App.py
rivenblades/pieqt
f3c4bea6df21b4c62c5dca2924000221f4dfbc19
[ "MIT" ]
null
null
null
pieqt/build/lib.linux-x86_64-2.7/App.py
rivenblades/pieqt
f3c4bea6df21b4c62c5dca2924000221f4dfbc19
[ "MIT" ]
null
null
null
import pieqt class App(): def __init__(self,argv=[]): self.app = QApplication(argv) self.window = QMainWindow() self.layout = QVBoxLayout() self.widget = QWidget() def setApp(self,app): self.app = app def setWindow(self,window): self.window = window def setLayout(self,layout): self.layout = layout...
18.116279
43
0.709884
104
779
5.269231
0.278846
0.127737
0.10219
0.083942
0
0
0
0
0
0
0
0
0.16303
779
42
44
18.547619
0.840491
0
0
0
0
0
0
0
0
0
0
0
0
1
0.354839
false
0
0.032258
0.129032
0.548387
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
53abad6bbc4f05591b80028e474b3ea6879e49c1
692
py
Python
pytest_smtp/hooks.py
txu2k8/pytest-smtp
23b0146dc7382646a64194bcee54659ec42c53df
[ "BSD-3-Clause" ]
null
null
null
pytest_smtp/hooks.py
txu2k8/pytest-smtp
23b0146dc7382646a64194bcee54659ec42c53df
[ "BSD-3-Clause" ]
1
2022-03-08T20:40:14.000Z
2022-03-08T20:40:14.000Z
pytest_smtp/hooks.py
txu2k8/pytest-smtp
23b0146dc7382646a64194bcee54659ec42c53df
[ "BSD-3-Clause" ]
1
2021-08-13T08:39:11.000Z
2021-08-13T08:39:11.000Z
#!/usr/bin/python # -*- coding: UTF-8 -*- """ @file : hooks.py @Time : 2021/3/31 15:32 @Author: Tao.Xu @Email : tao.xu2008@outlook.com """ def pytest_smtp_report_title(report): """ Called before adding the title to the report """ def pytest_smtp_results_summary(prefix, summary, postfix): """ Called before...
23.066667
66
0.709538
96
692
4.927083
0.479167
0.15222
0.137421
0.169133
0.465116
0.283298
0.131078
0
0
0
0
0.027634
0.163295
692
29
67
23.862069
0.789292
0.537572
0
0
0
0
0
0
0
0
0
0
0
1
1
false
0
0
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
1
0
0
0
0
1
0
0
3
53d3fcea325023a9b7b289562ff40bc15ebb286b
99
py
Python
ArticleSpider/utils/__init__.py
kadin008/ArticleSpider
51c9c79d7aec2d23333cd96b5e0e83c3ee677374
[ "Apache-2.0" ]
null
null
null
ArticleSpider/utils/__init__.py
kadin008/ArticleSpider
51c9c79d7aec2d23333cd96b5e0e83c3ee677374
[ "Apache-2.0" ]
null
null
null
ArticleSpider/utils/__init__.py
kadin008/ArticleSpider
51c9c79d7aec2d23333cd96b5e0e83c3ee677374
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # _*_ coding: utf-8 _*_ __author__: 'Patrick Wang' __date__: '2019/3/1 10:56'
24.75
26
0.686869
16
99
3.5
1
0
0
0
0
0
0
0
0
0
0
0.126437
0.121212
99
4
27
24.75
0.517241
0.424242
0
0
0
0
0.464286
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
53dbd25cbd4e63f66ae7e5285f23c9013649b1da
196
py
Python
back-end/app.py
RobLewisQA/Prize_Generator
cfc242b85d2bac1269c8df2f55b15c630f605f99
[ "MIT" ]
null
null
null
back-end/app.py
RobLewisQA/Prize_Generator
cfc242b85d2bac1269c8df2f55b15c630f605f99
[ "MIT" ]
2
2021-04-11T09:49:11.000Z
2021-04-12T00:59:52.000Z
back-end/app.py
RobLewisQA/Prize_Generator
cfc242b85d2bac1269c8df2f55b15c630f605f99
[ "MIT" ]
null
null
null
from flask import Flask from flask_sqlalchemy import SQLAlchemy from application import app, db db.create_all() if __name__=='__main__': app.run(host='0.0.0.0', port=5000, debug=True)
21.777778
49
0.729592
31
196
4.290323
0.612903
0.045113
0.045113
0
0
0
0
0
0
0
0
0.048485
0.158163
196
8
50
24.5
0.757576
0
0
0
0
0
0.079787
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
53ddee895399688977ee95c3d512c973848a2767
5,536
py
Python
azext_iot/central/_help.py
Jackbk/azure-iot-cli-extension
f3dfcf682329454b98a2f56017ff6a6ebfdfb943
[ "MIT" ]
null
null
null
azext_iot/central/_help.py
Jackbk/azure-iot-cli-extension
f3dfcf682329454b98a2f56017ff6a6ebfdfb943
[ "MIT" ]
null
null
null
azext_iot/central/_help.py
Jackbk/azure-iot-cli-extension
f3dfcf682329454b98a2f56017ff6a6ebfdfb943
[ "MIT" ]
null
null
null
# coding=utf-8 # -------------------------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for license information. # -----------------------------------------------------...
27.542289
110
0.537753
593
5,536
4.984823
0.180438
0.087957
0.109946
0.16069
0.716171
0.628552
0.526725
0.397497
0.264547
0.192152
0
0.000278
0.350975
5,536
200
111
27.68
0.822433
0.063042
0
0.640244
0
0.006098
0.861803
0
0
0
0
0
0
1
0.018293
true
0
0.006098
0
0.02439
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
53e4ac5f563320b50918443979fb9e774721ee24
115
py
Python
tests/module_loading/modules/parentdir/module3/submodule_without_autoload/__init__.py
da-h/miniflask
d5e594153cca4ce4d30db01b1d06d05afa9e7aaa
[ "MIT" ]
5
2020-02-17T12:14:36.000Z
2020-02-27T12:09:05.000Z
tests/module_loading/modules/parentdir/module3/submodule_without_autoload/__init__.py
da-h/miniflask
d5e594153cca4ce4d30db01b1d06d05afa9e7aaa
[ "MIT" ]
69
2020-04-03T08:16:35.000Z
2021-12-21T15:46:29.000Z
tests/module_loading/modules/parentdir/module3/submodule_without_autoload/__init__.py
da-h/miniflask
d5e594153cca4ce4d30db01b1d06d05afa9e7aaa
[ "MIT" ]
1
2020-04-02T15:46:39.000Z
2020-04-02T15:46:39.000Z
def register(mf): mf.register_event("main", lambda: print("tests"), unique=False) register_parents = False
14.375
67
0.704348
15
115
5.266667
0.733333
0
0
0
0
0
0
0
0
0
0
0
0.147826
115
7
68
16.428571
0.806122
0
0
0
0
0
0.079646
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
53edd28cdde8e3eb8e45c70afc3d78837c5cfdbf
554
py
Python
tinkoff_invest/models/account.py
asakharov/tinkoff_invest
1f85dbdb038ace24fc52da9bfae573b4fada0abb
[ "MIT" ]
1
2021-12-08T10:06:02.000Z
2021-12-08T10:06:02.000Z
tinkoff_invest/models/account.py
asakharov/tinkoff_invest
1f85dbdb038ace24fc52da9bfae573b4fada0abb
[ "MIT" ]
null
null
null
tinkoff_invest/models/account.py
asakharov/tinkoff_invest
1f85dbdb038ace24fc52da9bfae573b4fada0abb
[ "MIT" ]
3
2021-09-24T14:01:48.000Z
2022-01-06T12:05:38.000Z
from prettytable import PrettyTable from tinkoff_invest.models.types import AccountType class Account: def __init__(self, raw_data: dict): self._data = raw_data @property def type(self) -> AccountType: return AccountType(self._data["brokerAccountType"]) @property d...
25.181818
60
0.633574
63
554
5.31746
0.460317
0.071642
0
0
0
0
0
0
0
0
0
0
0.256318
554
21
61
26.380952
0.813107
0
0
0.133333
0
0
0.071295
0
0
0
0
0
0
1
0.266667
false
0
0.133333
0.133333
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
54cfe49b33424c5b6e729ec4f51ced635483bcbe
552
py
Python
academic_helper/views/degree_program.py
AviH0/coursist
3db05e8a168be33d2f03b9e082ee4779d80be7c7
[ "MIT" ]
null
null
null
academic_helper/views/degree_program.py
AviH0/coursist
3db05e8a168be33d2f03b9e082ee4779d80be7c7
[ "MIT" ]
null
null
null
academic_helper/views/degree_program.py
AviH0/coursist
3db05e8a168be33d2f03b9e082ee4779d80be7c7
[ "MIT" ]
null
null
null
from academic_helper.models.degree_program import * from academic_helper.views.basic import ExtendedViewMixin # class AllDegreePrograms(ExtendedViewMixin): # model = DegreeProgram # template_name = "degree_programs/all_study_plans.html" # # @property # def title(self) -> str: # return "All Stu...
26.285714
60
0.724638
60
552
6.483333
0.533333
0.061697
0.092545
0.22108
0.48329
0.48329
0.48329
0
0
0
0
0
0.190217
552
20
61
27.6
0.870246
0.376812
0
0
0
0
0.181548
0.110119
0
0
0
0
0
1
0.125
false
0
0.25
0.125
0.875
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
54def7e18aeea8d1e47e922b4a7d490f18cb2bb3
76
py
Python
secret.py
Guerillero/TweetDeleter
ea450852134addd4c1b80e2747ad821c21879f0d
[ "MIT" ]
1
2019-06-26T18:57:54.000Z
2019-06-26T18:57:54.000Z
secret.py
Guerillero/TweetDeleter
ea450852134addd4c1b80e2747ad821c21879f0d
[ "MIT" ]
2
2019-08-09T04:23:48.000Z
2019-12-01T22:09:06.000Z
secret.py
Guerillero/TweetDeleter
ea450852134addd4c1b80e2747ad821c21879f0d
[ "MIT" ]
null
null
null
api_key = "" api_secret = "" access_token_key = "" access_token_secret = ""
15.2
24
0.684211
10
76
4.6
0.5
0.478261
0
0
0
0
0
0
0
0
0
0
0.157895
76
4
25
19
0.71875
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
54e21c5d26840f7a47c04008621a323777ceb979
156
py
Python
flask/code/P11.AuthExample/services/users_service.py
santiagovj22/python-training
3fbcc9e5df22432c6e75d80c90d1c235652354df
[ "MIT" ]
null
null
null
flask/code/P11.AuthExample/services/users_service.py
santiagovj22/python-training
3fbcc9e5df22432c6e75d80c90d1c235652354df
[ "MIT" ]
null
null
null
flask/code/P11.AuthExample/services/users_service.py
santiagovj22/python-training
3fbcc9e5df22432c6e75d80c90d1c235652354df
[ "MIT" ]
null
null
null
USERS = {} def update_user(user): if user not in USERS: USERS[user] = 0 USERS[user] += 1 return {'name': user, 'access': USERS[user]}
17.333333
48
0.564103
22
156
3.954545
0.545455
0.310345
0
0
0
0
0
0
0
0
0
0.017699
0.275641
156
8
49
19.5
0.752212
0
0
0
0
0
0.064516
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
54e6a5a47df5cd702e248a3da5ea92876355b93c
79
py
Python
ABC/133/a.py
fumiyanll23/AtCoder
362ca9fcacb5415c1458bc8dee5326ba2cc70b65
[ "MIT" ]
null
null
null
ABC/133/a.py
fumiyanll23/AtCoder
362ca9fcacb5415c1458bc8dee5326ba2cc70b65
[ "MIT" ]
null
null
null
ABC/133/a.py
fumiyanll23/AtCoder
362ca9fcacb5415c1458bc8dee5326ba2cc70b65
[ "MIT" ]
null
null
null
N, A, B = map(int, input().split()) if B >= A*N: print(A*N) else: print(B)
13.166667
35
0.518987
17
79
2.411765
0.588235
0.097561
0
0
0
0
0
0
0
0
0
0
0.21519
79
6
36
13.166667
0.66129
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.4
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
54fadd9e50901fa53c551f6bdbc593833dc1bbe7
566
py
Python
model/policy.py
ejuarezg/SSD300
75ccbc71730bb89eda3516c98fe107584c3a75bc
[ "MIT" ]
null
null
null
model/policy.py
ejuarezg/SSD300
75ccbc71730bb89eda3516c98fe107584c3a75bc
[ "MIT" ]
null
null
null
model/policy.py
ejuarezg/SSD300
75ccbc71730bb89eda3516c98fe107584c3a75bc
[ "MIT" ]
null
null
null
""" define in here e.g. the number of class, box scale, ... meaning constants class date: 9/30 author: arabian9ts """ # the number of classified class classes = 21 # the number of boxes per feature map boxes = [4, 6, 6, 6, 6, 6,] # default box ratios # each length should be matches boxes[index] box_ratios = [ [...
23.583333
55
0.54417
142
566
2.161972
0.274648
0.149837
0.214984
0.156352
0.29316
0.29316
0.29316
0.29316
0.29316
0.29316
0
0.229213
0.213781
566
24
56
23.583333
0.460674
0.424028
0
0.5
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
54fb120eb21037299ab32c84843a830b288f08a7
310
py
Python
tests/neuralnet/test_ozone__GPU_theano.py
jmabry/pyaf
afbc15a851a2445a7824bf255af612dc429265af
[ "BSD-3-Clause" ]
null
null
null
tests/neuralnet/test_ozone__GPU_theano.py
jmabry/pyaf
afbc15a851a2445a7824bf255af612dc429265af
[ "BSD-3-Clause" ]
1
2019-11-30T23:39:38.000Z
2019-12-01T04:34:35.000Z
tests/neuralnet/test_ozone__GPU_theano.py
jmabry/pyaf
afbc15a851a2445a7824bf255af612dc429265af
[ "BSD-3-Clause" ]
null
null
null
import os os.environ["THEANO_FLAGS"] = "mode=FAST_RUN,device=gpu,floatX=float32,lib.cnmem=0.1,exception_verbosity=high,dnn.enabled=False,optimizer=None" os.environ["KERAS_BACKEND"] = "theano" import pyaf.tests.neuralnet.test_ozone_GPU as oz oz.buildModel(iParallel = False); oz.buildModel(iParallel = True);
34.444444
142
0.790323
47
310
5.085106
0.765957
0.075314
0.175732
0
0
0
0
0
0
0
0
0.013793
0.064516
310
8
143
38.75
0.810345
0
0
0
0
0.166667
0.458065
0.358065
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
070877ea6823676e035e13f1d18a60a4ee2fb378
23,314
py
Python
LDA.py
MarkDana/Logistic-and-LDA-from-Scratch
6d44a24eac217ce807635ead9a3395ed07f607f3
[ "MIT" ]
8
2020-06-29T15:10:36.000Z
2022-03-12T10:49:29.000Z
LDA.py
MarkDana/Logistic-and-LDA-from-Scratch
6d44a24eac217ce807635ead9a3395ed07f607f3
[ "MIT" ]
null
null
null
LDA.py
MarkDana/Logistic-and-LDA-from-Scratch
6d44a24eac217ce807635ead9a3395ed07f607f3
[ "MIT" ]
null
null
null
# Created by Haoyue Dai@06/27/2020 import numpy as np import argparse import utils import os import matplotlib as mpl import matplotlib.pyplot as plt plt.switch_backend('Agg') import matplotlib.cm as cm plt.rcParams.update({'figure.max_open_warning': 0}) from mpl_toolkits.mplot3d import Axes3D import numpy as np impor...
74.485623
1,974
0.696534
2,976
23,314
5.330309
0.199597
0.003026
0.021181
0.010402
0.39217
0.362227
0.349745
0.315577
0.310912
0.293135
0
0.35346
0.173844
23,314
312
1,975
74.724359
0.470121
0.094879
0
0.205479
0
0.018265
0.086365
0.017446
0
0
0
0
0
1
0.050228
false
0
0.063927
0.004566
0.141553
0.027397
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
07099c960c243cc4e3ba5e5909fc61f5a651033d
125
py
Python
config.py
AuthFailed/nCoV-tgbot
755ac73b3843e9724c2c10394b98d0c9c8031037
[ "MIT" ]
null
null
null
config.py
AuthFailed/nCoV-tgbot
755ac73b3843e9724c2c10394b98d0c9c8031037
[ "MIT" ]
null
null
null
config.py
AuthFailed/nCoV-tgbot
755ac73b3843e9724c2c10394b98d0c9c8031037
[ "MIT" ]
null
null
null
from aiogram import Dispatcher, Bot token = 'your_token' bot = Bot(token=token, parse_mode='Markdown') dp = Dispatcher(bot)
20.833333
45
0.752
18
125
5.111111
0.611111
0.282609
0
0
0
0
0
0
0
0
0
0
0.128
125
5
46
25
0.844037
0
0
0
0
0
0.144
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3