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
ad55c811289abae2a1a5327fd0a1d1052ecc8220
155
py
Python
sovi/api/events/urls.py
husseinm/Saly
e656e4e30e696cc7b425f272424dc3c1db2ae92a
[ "MIT" ]
null
null
null
sovi/api/events/urls.py
husseinm/Saly
e656e4e30e696cc7b425f272424dc3c1db2ae92a
[ "MIT" ]
null
null
null
sovi/api/events/urls.py
husseinm/Saly
e656e4e30e696cc7b425f272424dc3c1db2ae92a
[ "MIT" ]
null
null
null
from django.conf.urls import patterns, url from sovi.api.events.views import getAllEvents urlpatterns = patterns( '', url(r'^$', getAllEvents), )
19.375
46
0.709677
19
155
5.789474
0.736842
0.2
0
0
0
0
0
0
0
0
0
0
0.16129
155
7
47
22.142857
0.846154
0
0
0
0
0
0.012903
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
ad5bc5935e7ceb51cbb614537c9738b199ad19b2
218
py
Python
python/autoscraper_test/load_scraper.py
drooop/learning_brand_new
8fd1034865d5163c516c81fa1dc715ceba1c8c61
[ "MIT" ]
null
null
null
python/autoscraper_test/load_scraper.py
drooop/learning_brand_new
8fd1034865d5163c516c81fa1dc715ceba1c8c61
[ "MIT" ]
null
null
null
python/autoscraper_test/load_scraper.py
drooop/learning_brand_new
8fd1034865d5163c516c81fa1dc715ceba1c8c61
[ "MIT" ]
null
null
null
from autoscraper import AutoScraper scraper = AutoScraper() scraper.load('scrapers/yahoo-finance') tem = scraper.get_result_similar('https://stackoverflow.com/questions/606191/convert-bytes-to-a-string') print(tem)
24.222222
104
0.798165
28
218
6.142857
0.821429
0.209302
0
0
0
0
0
0
0
0
0
0.029557
0.068807
218
8
105
27.25
0.817734
0
0
0
0
0
0.412844
0.100917
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ad69ca2d87e2b0a7119825ca333cfe13d7b087df
154
py
Python
apps/ws_routes.py
AlexFire-Dev/AlexChatBackend
a94cf9446905dd9e9020667b18e146af19ffcd6e
[ "MIT" ]
null
null
null
apps/ws_routes.py
AlexFire-Dev/AlexChatBackend
a94cf9446905dd9e9020667b18e146af19ffcd6e
[ "MIT" ]
null
null
null
apps/ws_routes.py
AlexFire-Dev/AlexChatBackend
a94cf9446905dd9e9020667b18e146af19ffcd6e
[ "MIT" ]
null
null
null
from django.urls import re_path, path from .groups.consumers import * websocket_urlpatterns = [ path('groups/connect/', GroupConsumer.as_asgi()) ]
17.111111
52
0.74026
19
154
5.842105
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.142857
154
8
53
19.25
0.840909
0
0
0
0
0
0.097403
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
ad843254b0b421f488b0edba377f5b70e0c3c9d5
276
py
Python
src/genie/libs/parser/nxos/tests/ShowHsrpDelay/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
204
2018-06-27T00:55:27.000Z
2022-03-06T21:12:18.000Z
src/genie/libs/parser/nxos/tests/ShowHsrpDelay/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
468
2018-06-19T00:33:18.000Z
2022-03-31T23:23:35.000Z
src/genie/libs/parser/nxos/tests/ShowHsrpDelay/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
309
2019-01-16T20:21:07.000Z
2022-03-30T12:56:41.000Z
expected_output = { 'GigabitEthernet1': { 'delay': { 'minimum_delay': 99, 'reload_delay': 888, } }, 'GigabitEthernet3': { 'delay': { 'minimum_delay': 1, 'reload_delay': 5, } } }
16.235294
32
0.413043
18
276
6.055556
0.611111
0.220183
0.311927
0
0
0
0
0
0
0
0
0.058442
0.442029
276
16
33
17.25
0.649351
0
0
0.142857
0
0
0.335766
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ad89d68affb2f4db57eccdd3b3dddde504b7c6d3
167
py
Python
problem0451.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0451.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0451.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
########################### # # #451 Modular inverses - Project Euler # https://projecteuler.net/problem=451 # # Code by Kevin Marciniak # ###########################
18.555556
39
0.479042
14
167
5.714286
0.928571
0
0
0
0
0
0
0
0
0
0
0.040541
0.113772
167
8
40
20.875
0.5
0.580838
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
ad971eae91e909d13d1c19d5bb77b702fb362405
444
py
Python
heaps/heap.py
nataz77/cs-py
0b4adfcfa1d8b937d01429fd957dd9e3044dce00
[ "MIT" ]
null
null
null
heaps/heap.py
nataz77/cs-py
0b4adfcfa1d8b937d01429fd957dd9e3044dce00
[ "MIT" ]
null
null
null
heaps/heap.py
nataz77/cs-py
0b4adfcfa1d8b937d01429fd957dd9e3044dce00
[ "MIT" ]
null
null
null
from .helpers import Helpers class MaxHeap: def __init__(self): self.arr = None self.n = 0 def insert(self, x): self.n += 1 self.arr[self.n - 1] = x Helpers.fix_up(self.arr, self.n - 1) def delete(self) -> list: self.arr[0], self.arr[self.n - 1] = self.arr...
23.368421
77
0.538288
72
444
3.236111
0.291667
0.270386
0.154506
0.309013
0.27897
0.223176
0.223176
0.16309
0
0
0
0.03268
0.310811
444
18
78
24.666667
0.728758
0
0
0
0
0
0
0
0
0
0
0
0
1
0.214286
false
0
0.071429
0
0.428571
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
ad9d5ccff55210c3c92f3d0d8bc5c3f3c56ee5f0
381
py
Python
files/default/hopsworks_plugin/__init__.py
AlexHopsworks/airflow-chef
ea565c078b582e687528836563280c9dcd88d113
[ "Apache-2.0" ]
null
null
null
files/default/hopsworks_plugin/__init__.py
AlexHopsworks/airflow-chef
ea565c078b582e687528836563280c9dcd88d113
[ "Apache-2.0" ]
null
null
null
files/default/hopsworks_plugin/__init__.py
AlexHopsworks/airflow-chef
ea565c078b582e687528836563280c9dcd88d113
[ "Apache-2.0" ]
null
null
null
from airflow.plugins_manager import AirflowPlugin from hopsworks_plugin.hooks import HOPSWORKS_HOOKS from hopsworks_plugin.operators import HOPSWORKS_OPERATORS from hopsworks_plugin.sensors import HOPSWORKS_SENSORS class HopsworksPlugin(AirflowPlugin): name = "hopsworks_plugin" hooks = HOPSWORKS_HOOKS ope...
31.75
58
0.839895
42
381
7.357143
0.333333
0.194175
0.184466
0
0
0
0
0
0
0
0
0
0.125984
381
11
59
34.636364
0.927928
0
0
0
0
0
0.041995
0
0
0
0
0
0
1
0
false
0
0.444444
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
a8e1dfe65d72f102c3defc8053a54bda70c126a8
5,458
py
Python
tests.py
Dialjini/BarsCrm_backend
490894b676f27de846c33af9dd67a7ad8677818c
[ "Apache-2.0" ]
105
2015-01-24T23:45:49.000Z
2022-03-03T18:35:16.000Z
tests.py
yurij7070/ru_number_to_text
80b85d3df9e33be1a0d75e6a20525b3c764b38c9
[ "Apache-2.0" ]
6
2015-01-30T20:02:57.000Z
2020-06-05T18:22:49.000Z
tests.py
yurij7070/ru_number_to_text
80b85d3df9e33be1a0d75e6a20525b3c764b38c9
[ "Apache-2.0" ]
47
2015-03-05T10:48:48.000Z
2022-03-06T11:09:39.000Z
# -*- coding: utf-8 -*- ''' Created on 13.03.2016 by Artem Tiumentcev @author: Sergey Prokhorov <me@seriyps.ru> ''' import unittest from num2t4ru import num2text, decimal2text class TestStrToText(unittest.TestCase): def test_units(self): self.assertEqual(num2text(0), u'ноль') self.assertEqual(n...
39.266187
84
0.597472
628
5,458
5.103503
0.251592
0.224649
0.301404
0.067395
0.285803
0.221529
0.221529
0.221529
0.191576
0.181279
0
0.075433
0.281055
5,458
138
85
39.550725
0.741335
0.020154
0
0.252174
0
0
0.206218
0
0
0
0
0
0.417391
1
0.086957
false
0
0.026087
0
0.121739
0.026087
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
d110ee96e0833d4d34320c876885ffb7746facba
2,313
py
Python
tests/test_urls.py
barslmn/django-phenotype-ontologies
24a6ddd9c448c816398b33d74e03530d84f7a97f
[ "MIT" ]
7
2018-04-10T00:37:26.000Z
2020-11-30T15:50:11.000Z
tests/test_urls.py
barslmn/django-phenotype-ontologies
24a6ddd9c448c816398b33d74e03530d84f7a97f
[ "MIT" ]
181
2018-04-09T23:55:30.000Z
2022-03-28T14:47:21.000Z
tests/test_urls.py
barslmn/django-phenotype-ontologies
24a6ddd9c448c816398b33d74e03530d84f7a97f
[ "MIT" ]
1
2021-01-18T18:57:48.000Z
2021-01-18T18:57:48.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ test django-phenotype-ontologies ------------ Tests for `django-phenotype-ontologies` urls module. """ from django.urls import reverse, resolve from test_plus.test import TestCase class TestTermURLs(TestCase): """Test URL patterns for HPO Terms.""" def tes...
39.20339
112
0.697795
256
2,313
6.160156
0.175781
0.216867
0.116677
0.076094
0.805327
0.469245
0.154724
0.059607
0
0
0
0.005664
0.160398
2,313
58
113
39.87931
0.806385
0.355815
0
0.384615
0
0
0.304682
0.201258
0
0
0
0
0.307692
1
0.307692
false
0
0.076923
0
0.461538
0
0
0
0
null
1
0
0
1
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
d13b7091869516ba18068ce21441feff093b1e0b
10,274
py
Python
test/writer/text/test_html_writer.py
sundarsrst/pytablewriter
f9b045293d3f58606b3757875056357029293a82
[ "MIT" ]
1
2019-09-19T09:21:49.000Z
2019-09-19T09:21:49.000Z
test/writer/text/test_html_writer.py
sundarsrst/pytablewriter
f9b045293d3f58606b3757875056357029293a82
[ "MIT" ]
null
null
null
test/writer/text/test_html_writer.py
sundarsrst/pytablewriter
f9b045293d3f58606b3757875056357029293a82
[ "MIT" ]
null
null
null
# encoding: utf-8 """ .. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com> """ from __future__ import absolute_import, print_function, unicode_literals from textwrap import dedent import pytablewriter import pytest from ..._common import print_test_result from ...data import ( Data, headers, ...
27.544236
112
0.475667
1,219
10,274
3.931091
0.113208
0.146077
0.159641
0.134391
0.75793
0.718072
0.711185
0.679048
0.631886
0.557805
0
0.027561
0.350204
10,274
372
113
27.61828
0.690234
0.007787
0
0.769231
0
0.003344
0.559296
0.150599
0
0
0
0
0.016722
1
0.016722
false
0
0.020067
0
0.046823
0.016722
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d14e9ce33e33ec67b3730cdff3506aa965b7f9ca
287
py
Python
test/framework/pylint/__init__.py
rsennewald/ClusterRunner
6cb351982462798d4e11ac1a80f8fef048503758
[ "Apache-2.0" ]
164
2015-01-06T05:54:46.000Z
2021-11-13T12:28:28.000Z
test/framework/pylint/__init__.py
rsennewald/ClusterRunner
6cb351982462798d4e11ac1a80f8fef048503758
[ "Apache-2.0" ]
393
2015-01-05T17:26:07.000Z
2022-03-21T10:42:06.000Z
test/framework/pylint/__init__.py
rsennewald/ClusterRunner
6cb351982462798d4e11ac1a80f8fef048503758
[ "Apache-2.0" ]
44
2015-01-23T22:06:03.000Z
2022-03-01T09:33:36.000Z
from test.framework.pylint.clusterrunner_token_checker import ClusterRunnerTokenChecker def register(linter): """ Register custom lint checkers with pylint. Any new checkers should also be registered here. """ linter.register_checker(ClusterRunnerTokenChecker(linter))
31.888889
95
0.790941
31
287
7.225806
0.741935
0.125
0
0
0
0
0
0
0
0
0
0
0.142857
287
8
96
35.875
0.910569
0.317073
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
0
0
0
3
d16181f54528c71e83957e057aabddcbae3e7a57
302
py
Python
flib/elemwise.py
rldotai/flib
695e875f708b0b71c9b005fdf85c066e4ffb7c0f
[ "BSD-3-Clause" ]
1
2017-02-01T00:34:23.000Z
2017-02-01T00:34:23.000Z
flib/elemwise.py
rldotai/flib
695e875f708b0b71c9b005fdf85c066e4ffb7c0f
[ "BSD-3-Clause" ]
null
null
null
flib/elemwise.py
rldotai/flib
695e875f708b0b71c9b005fdf85c066e4ffb7c0f
[ "BSD-3-Clause" ]
null
null
null
""" Implementing various elementwise operations, i.e., those that have no effect on the shape of the output. """ # TODO: Identity # TODO: Sigmoid # TODO: Tanh # TODO: floor, ceiling, round, # TODO: nonzero # TODO: cut(x, low, high) # TODO: multiplication # TODO: addition # TODO: dropout/zero masking
21.571429
77
0.708609
42
302
5.095238
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.168874
302
14
78
21.571429
0.85259
0.913907
0
null
0
null
0
0
null
0
0
0.071429
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
3
d168f4fa772523a4fdd4c0c0858cc25fb6817799
3,172
py
Python
day11.py
24doeway/advent_2020
df2486f2e82dc1fa09cf054ab3f1933a0c8905a4
[ "MIT" ]
null
null
null
day11.py
24doeway/advent_2020
df2486f2e82dc1fa09cf054ab3f1933a0c8905a4
[ "MIT" ]
null
null
null
day11.py
24doeway/advent_2020
df2486f2e82dc1fa09cf054ab3f1933a0c8905a4
[ "MIT" ]
null
null
null
def tick(data): new_data = [] row_length = len(data[0]) col_length = len(data) for i in range(len(data)): new_row = "" for j in range(row_length): adj = 0 current = data[i][j] for new_j in range(max(0,j-1),min(j+2,row_length)): ...
28.836364
71
0.419609
397
3,172
3.191436
0.166247
0.07577
0.060773
0.056827
0.714286
0.714286
0.685872
0.685872
0.685872
0.685872
0
0.025686
0.459962
3,172
109
72
29.100917
0.713952
0.048865
0
0.746988
0
0
0.022491
0
0
0
0
0
0
1
0.024096
false
0
0
0
0.048193
0.036145
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d17190a156ea333568a16e2d245023ff472677db
2,633
py
Python
AppObjects.py
Zxynine/AddinLib
4dc0cb9ee7d37287761d3c430965a1d10a654692
[ "MIT" ]
1
2021-12-31T01:46:54.000Z
2021-12-31T01:46:54.000Z
AppObjects.py
Zxynine/AddinLib
4dc0cb9ee7d37287761d3c430965a1d10a654692
[ "MIT" ]
null
null
null
AppObjects.py
Zxynine/AddinLib
4dc0cb9ee7d37287761d3c430965a1d10a654692
[ "MIT" ]
null
null
null
# Utility functions. # # This file is part of a modified version of thomasa88lib, a library of useful # Fusion 360 add-in/script functions. # # Copyright (c) 2021 ZXYNINE # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Softwa...
43.883333
105
0.776301
350
2,633
5.797143
0.494286
0.043371
0.028093
0.015771
0.0483
0
0
0
0
0
0
0.009653
0.134447
2,633
60
106
43.883333
0.880649
0.674516
0
0
0
0
0.064477
0.026764
0
0
0
0
0
1
0.571429
false
0
0.071429
0.5
0.714286
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
0f03aa1ba31c18666ac26829f8fa217c1cb643c9
2,196
py
Python
boardfarm/exceptions.py
superice119/boardfarm
c525b4da94bf745d30c4a9f675aa4a7ae184b1fd
[ "BSD-3-Clause-Clear" ]
null
null
null
boardfarm/exceptions.py
superice119/boardfarm
c525b4da94bf745d30c4a9f675aa4a7ae184b1fd
[ "BSD-3-Clause-Clear" ]
null
null
null
boardfarm/exceptions.py
superice119/boardfarm
c525b4da94bf745d30c4a9f675aa4a7ae184b1fd
[ "BSD-3-Clause-Clear" ]
null
null
null
import pexpect class BftBaseException(Exception): """Base exception all Bft exceptions inherit from """ class TestError(BftBaseException): """Raise this if a TestStep verification fails. Each test step in boardfarm.orchestration verifies the output of its execution and throws a TestError exception o...
21.742574
125
0.703552
263
2,196
5.874525
0.463878
0.081553
0.145631
0.104854
0.122977
0
0
0
0
0
0
0
0.224044
2,196
100
126
21.96
0.90669
0.51776
0
0.46875
0
0
0
0
0
0
0
0
0
1
0
true
0.46875
0.0625
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
0
0
0
0
1
1
0
0
1
0
0
3
0f0dd8bdac77b0d85bac2df1f80497d194f39ec0
1,936
py
Python
project/issueSolution/models.py
NoobLucifer/NSP
f411570924905f1bf3c39fa36b5949e5b9e37c0a
[ "MIT" ]
20
2018-08-02T15:10:30.000Z
2019-05-15T14:38:06.000Z
project/issueSolution/models.py
nk521/NSP
ecffc873fbfe3471ed320f0698adca4e8c573ab5
[ "MIT" ]
55
2018-06-19T04:31:56.000Z
2018-07-19T17:42:00.000Z
project/issueSolution/models.py
nk521/NSP
ecffc873fbfe3471ed320f0698adca4e8c573ab5
[ "MIT" ]
10
2018-08-03T10:42:16.000Z
2019-01-31T10:07:57.000Z
from django.db import models from django.contrib.auth.models import User from project.models import ProjectDetail # Create your models here. class Issue(models.Model): project = models.ForeignKey(ProjectDetail, on_delete=models.CASCADE) user = models.ForeignKey(User, on_delete=models.CASCADE) title = mod...
38.72
110
0.710227
242
1,936
5.528926
0.239669
0.119581
0.104634
0.156951
0.740658
0.734679
0.689088
0.663677
0.64574
0.64574
0
0.01087
0.144628
1,936
49
111
39.510204
0.797101
0.012397
0
0.621622
0
0
0.049215
0
0
0
0
0
0
1
0.081081
false
0
0.081081
0.081081
1
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
0f1f8f7234f8c770ea07989bd9f0f128cd29bd7b
190
py
Python
data.py
scisneros/PasoAPasoBot
24596a744851b53bdeb3405088ef03aedd2e495a
[ "MIT" ]
null
null
null
data.py
scisneros/PasoAPasoBot
24596a744851b53bdeb3405088ef03aedd2e495a
[ "MIT" ]
null
null
null
data.py
scisneros/PasoAPasoBot
24596a744851b53bdeb3405088ef03aedd2e495a
[ "MIT" ]
null
null
null
current_data = {} # Communes data saved since last fetch new_data = {} # Communes data temporarily saved from a new fetch vaccination_data = {} vaccination_last_eta = None locations = {}
27.142857
65
0.742105
25
190
5.44
0.6
0.176471
0.235294
0
0
0
0
0
0
0
0
0
0.178947
190
7
66
27.142857
0.871795
0.447368
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0f3a74a3e824ec0661466e0d219aed68a7ae10f2
3,284
py
Python
pirates/pvp/DistributedPVPBattle.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
3
2021-02-25T06:38:13.000Z
2022-03-22T07:00:15.000Z
pirates/pvp/DistributedPVPBattle.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
null
null
null
pirates/pvp/DistributedPVPBattle.py
itsyaboyrocket/pirates
6ca1e7d571c670b0d976f65e608235707b5737e3
[ "BSD-3-Clause" ]
1
2021-02-25T06:38:17.000Z
2021-02-25T06:38:17.000Z
# uncompyle6 version 3.2.0 # Python bytecode 2.4 (62061) # Decompiled from: Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:19:30) [MSC v.1500 32 bit (Intel)] # Embedded file name: pirates.pvp.DistributedPVPBattle from pirates.pvp.DistributedPVPInstance import DistributedPVPInstance from pirates.piratesbase import P...
34.208333
112
0.671133
342
3,284
6.391813
0.368421
0.030192
0.019213
0.02333
0.035682
0.035682
0
0
0
0
0
0.022934
0.229903
3,284
96
112
34.208333
0.841439
0.063337
0
0.027778
0
0
0.021159
0
0
0
0
0
0
1
0.25
false
0
0.083333
0.111111
0.527778
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
0f42ad005261276c8d7968851c3647931ccb250a
582
py
Python
tests/helpers.py
Piteryo/spotipy
f548038aac6bd0eb4cf7ade2295c441a141880d7
[ "MIT" ]
1
2018-04-09T20:15:26.000Z
2018-04-09T20:15:26.000Z
tests/helpers.py
Piteryo/spotipy
f548038aac6bd0eb4cf7ade2295c441a141880d7
[ "MIT" ]
1
2020-10-03T17:53:12.000Z
2020-10-03T17:53:12.000Z
tests/helpers.py
Piteryo/spotipy
f548038aac6bd0eb4cf7ade2295c441a141880d7
[ "MIT" ]
1
2018-04-09T20:15:30.000Z
2018-04-09T20:15:30.000Z
import base64 import requests def get_spotify_playlist(spotify_object, playlist_name, username): playlists = spotify_object.user_playlists(username) while playlists: for item in playlists['items']: if item['name'] == playlist_name: return item playlists = spotify_ob...
29.1
71
0.735395
71
582
5.774648
0.394366
0.158537
0.107317
0.136585
0.234146
0.234146
0.234146
0
0
0
0
0.018789
0.176976
582
19
72
30.631579
0.837161
0
0
0
0
0
0.024055
0
0
0
0
0
0
1
0.230769
false
0
0.153846
0.153846
0.615385
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
0f430e2cee088e55b40312703c1dc9f58ebfe551
2,996
py
Python
htcondor_jobs/descriptions.py
JoshKarpel/htcondor-jobs
d972722e2fe7483f06be17232b4b066e9396fabd
[ "Apache-2.0" ]
null
null
null
htcondor_jobs/descriptions.py
JoshKarpel/htcondor-jobs
d972722e2fe7483f06be17232b4b066e9396fabd
[ "Apache-2.0" ]
5
2019-06-24T21:00:15.000Z
2020-06-01T16:38:36.000Z
htcondor_jobs/descriptions.py
JoshKarpel/htcondor-jobs
d972722e2fe7483f06be17232b4b066e9396fabd
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 HTCondor Team, Computer Sciences Department, # University of Wisconsin-Madison, WI. # # 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/LICE...
33.662921
130
0.668558
365
2,996
5.320548
0.473973
0.061792
0.030896
0.016478
0
0
0
0
0
0
0
0.003453
0.226636
2,996
88
131
34.045455
0.8347
0.489987
0
0
0
0
0.017151
0
0
0
0
0.011364
0
1
0.290323
false
0
0.129032
0.096774
0.645161
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
0f8c1be3431d0280cab2469ec389e4b7fed89485
1,017
py
Python
backend/core/models/user.py
azlyth/tokens
c6b3b0edeb73c8c3bf1508a55e7759fa279f05fb
[ "Unlicense" ]
null
null
null
backend/core/models/user.py
azlyth/tokens
c6b3b0edeb73c8c3bf1508a55e7759fa279f05fb
[ "Unlicense" ]
null
null
null
backend/core/models/user.py
azlyth/tokens
c6b3b0edeb73c8c3bf1508a55e7759fa279f05fb
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from werkzeug.security import generate_password_hash, check_password_hash from flask_login import UserMixin import jwt from .base import Model from ..db import db from .. import settings class User(Model, UserMixin): email = db.Column(db.String(255)) password = ...
26.763158
73
0.672566
132
1,017
5.007576
0.401515
0.072617
0.090772
0.048412
0
0
0
0
0
0
0
0.010088
0.220256
1,017
37
74
27.486486
0.823455
0.041298
0
0
1
0
0.019527
0
0
0
0
0
0
1
0.192308
false
0.307692
0.230769
0.038462
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
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
0f8e1c87c655947357ef5797e40cc8537dab244a
8,504
py
Python
pycqed/instrument_drivers/physical_instruments/QuTech/CCCore.py
nuttamas/PycQED_py3
1ee35c7428d36ed42ba4afb5d4bda98140b2283e
[ "MIT" ]
null
null
null
pycqed/instrument_drivers/physical_instruments/QuTech/CCCore.py
nuttamas/PycQED_py3
1ee35c7428d36ed42ba4afb5d4bda98140b2283e
[ "MIT" ]
null
null
null
pycqed/instrument_drivers/physical_instruments/QuTech/CCCore.py
nuttamas/PycQED_py3
1ee35c7428d36ed42ba4afb5d4bda98140b2283e
[ "MIT" ]
null
null
null
""" File: CCCore.py Author: Wouter Vlothuizen, QuTech Purpose: Core Instrument driver for QuTech Central Controller, independent of QCoDeS. All instrument protocol handling is provided here Usage: Can be used directly, or with CC.py, which adds access via QCoDeS paramet...
41.082126
124
0.62547
1,099
8,504
4.641492
0.245678
0.02823
0.036659
0.031366
0.524407
0.445795
0.369927
0.321702
0.24407
0.185062
0
0.011549
0.205786
8,504
206
125
41.281553
0.743707
0.228363
0
0.038835
0
0
0.221894
0.172198
0
0
0
0.009709
0
1
0.300971
false
0
0.038835
0.135922
0.660194
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
7e19855d2b85d3a2fc5d9955a0f33a67ebefd5be
1,623
py
Python
socialregistration/contrib/twitter/tests.py
guitarparty/django-socialregistration
d1d34890c9f72a191723d0192398791f71ee6956
[ "MIT" ]
1
2015-09-09T01:52:59.000Z
2015-09-09T01:52:59.000Z
socialregistration/contrib/twitter/tests.py
assiotis/django-socialregistration
b9ac4ce0a8251bd915022816355e6f02e1cab291
[ "MIT" ]
null
null
null
socialregistration/contrib/twitter/tests.py
assiotis/django-socialregistration
b9ac4ce0a8251bd915022816355e6f02e1cab291
[ "MIT" ]
null
null
null
from django.conf import settings from django.core.urlresolvers import reverse from django.test import TestCase from socialregistration.contrib.twitter.models import TwitterProfile from socialregistration.tests import TemplateTagTest, OAuthTest import urllib class TestTemplateTag(TemplateTagTest, TestCase): def ge...
35.282609
114
0.709181
174
1,623
6.408046
0.350575
0.037668
0.034978
0.053812
0.318386
0.318386
0.278027
0.18296
0.18296
0.18296
0
0.020393
0.184227
1,623
45
115
36.066667
0.821752
0
0
0.060606
0
0
0.174985
0.09427
0
0
0
0
0.030303
1
0.272727
false
0
0.181818
0.212121
0.787879
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
7e2b553457a3e0c81fafc880aea4f60e6686df45
583
py
Python
src/04_advanced_pytorch/ignite/utils.py
iml1111/pytorch_study
cecd0490d10ff7dc14281fa2fb0771c70749757c
[ "MIT" ]
1
2021-01-03T13:01:30.000Z
2021-01-03T13:01:30.000Z
src/04_advanced_pytorch/ignite/utils.py
iml1111/pytorch_study
cecd0490d10ff7dc14281fa2fb0771c70749757c
[ "MIT" ]
null
null
null
src/04_advanced_pytorch/ignite/utils.py
iml1111/pytorch_study
cecd0490d10ff7dc14281fa2fb0771c70749757c
[ "MIT" ]
1
2021-04-12T05:19:29.000Z
2021-04-12T05:19:29.000Z
def get_grad_norm(parameters, norm_type=2): parameters = list(filter(lambda p: p.grad is not None, parameters)) total_norm = 0 for p in parameters: param_norm = p.grad.data.norm(norm_type) total_norm += param_norm ** norm_type total_norm = total_norm ** (1. / norm_type) return tota...
27.761905
71
0.672384
88
583
4.159091
0.261364
0.245902
0.131148
0.185792
0.781421
0.655738
0.655738
0.655738
0.655738
0.655738
0
0.013423
0.233276
583
21
72
27.761905
0.805369
0
0
0.666667
0
0
0
0
0
0
0
0
0
1
0.133333
false
0
0
0
0.266667
0
0
0
0
null
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7e5e03275ba78b498aa612ab32fb0a5ca133f657
22
py
Python
git_patch/__init__.py
qubole/git-patch
469e6c17e1835971a949bba4d4419ed4fe5b3d54
[ "Apache-2.0" ]
3
2018-02-05T22:04:20.000Z
2020-04-15T12:41:50.000Z
git_patch/__init__.py
qubole/git-patch
469e6c17e1835971a949bba4d4419ed4fe5b3d54
[ "Apache-2.0" ]
null
null
null
git_patch/__init__.py
qubole/git-patch
469e6c17e1835971a949bba4d4419ed4fe5b3d54
[ "Apache-2.0" ]
1
2020-04-05T14:48:41.000Z
2020-04-05T14:48:41.000Z
__author__ = 'rajatv'
11
21
0.727273
2
22
6
1
0
0
0
0
0
0
0
0
0
0
0
0.136364
22
1
22
22
0.631579
0
0
0
0
0
0.272727
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
7e652682884c2b4fa6eb32c21eb527cec72a0b99
913
py
Python
structural/adapter.py
LuckyDenis/DesignPatterns
51dfc995014493283cde2c017727e50816c50591
[ "MIT" ]
null
null
null
structural/adapter.py
LuckyDenis/DesignPatterns
51dfc995014493283cde2c017727e50816c50591
[ "MIT" ]
null
null
null
structural/adapter.py
LuckyDenis/DesignPatterns
51dfc995014493283cde2c017727e50816c50591
[ "MIT" ]
null
null
null
# -*- coding: utf8 -*- """ Имя: Адаптер (Adapter) Тип: Структурный. Суть: Конвертирует интерфейс класса в другой интерфейс, ожадиаеммый клиентом. Позволяет классам с разными интерфейсами работать вместе. """ # first class class Dog(object): def __init__(self, name): self._name = name def bark(sel...
17.557692
59
0.625411
113
913
4.787611
0.40708
0.103512
0.060998
0.083179
0.205176
0.205176
0.133087
0.133087
0.133087
0
0
0.001422
0.230011
913
51
60
17.901961
0.768137
0.255203
0
0.391304
0
0
0.095808
0
0
0
0
0
0
1
0.304348
false
0
0
0.130435
0.565217
0.086957
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
7e7ea22672c60229028d5cff3fa77c9757d3e297
2,025
py
Python
test/espnet2/enh/layers/test_conv_utils.py
texpomru13/espnet
7ef005e832e2fb033f356c16f54e0f08762fb4b0
[ "Apache-2.0" ]
1
2022-03-25T14:41:05.000Z
2022-03-25T14:41:05.000Z
test/espnet2/enh/layers/test_conv_utils.py
texpomru13/espnet
7ef005e832e2fb033f356c16f54e0f08762fb4b0
[ "Apache-2.0" ]
2
2019-04-23T04:43:33.000Z
2019-05-13T13:06:52.000Z
test/espnet2/enh/layers/test_conv_utils.py
texpomru13/espnet
7ef005e832e2fb033f356c16f54e0f08762fb4b0
[ "Apache-2.0" ]
null
null
null
import pytest import torch from espnet2.enh.layers.conv_utils import conv2d_output_shape from espnet2.enh.layers.conv_utils import convtransp2d_output_shape @pytest.mark.parametrize("input_dim", [(10, 17), (10, 33)]) @pytest.mark.parametrize("kernel_size", [(1, 3), (3, 5)]) @pytest.mark.parametrize("stride", [(1, 1)...
31.640625
80
0.624198
269
2,025
4.535316
0.182156
0.019672
0.189344
0.013115
0.727049
0.712295
0.712295
0.645082
0.519672
0.519672
0
0.05022
0.213333
2,025
63
81
32.142857
0.715631
0.008889
0
0.491228
0
0
0.04788
0
0
0
0
0
0.035088
1
0.035088
false
0
0.070175
0
0.122807
0
0
0
0
null
0
1
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7e81a18aaf0e55fd07deccabfc8882906c0bd953
104
py
Python
rock-paper-scissors/test.py
Jitesh17/kaggle
5b200e5482a69773470212f66cbd5816a72764ce
[ "MIT" ]
null
null
null
rock-paper-scissors/test.py
Jitesh17/kaggle
5b200e5482a69773470212f66cbd5816a72764ce
[ "MIT" ]
null
null
null
rock-paper-scissors/test.py
Jitesh17/kaggle
5b200e5482a69773470212f66cbd5816a72764ce
[ "MIT" ]
null
null
null
import random import numpy as np a = [5, -1, 0, -1, 2] b=-9 if sum(a) > 3 and b < -1: print(True)
11.555556
25
0.538462
23
104
2.434783
0.782609
0
0
0
0
0
0
0
0
0
0
0.106667
0.278846
104
9
26
11.555556
0.64
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7ea5d947ef0963b31518b23d2a6097abf0c104be
699
py
Python
speedtest_servers/database.py
Nearata/speedtest-servers
21f835be724afffc47b7f3eb1c5bda909063aa15
[ "MIT" ]
null
null
null
speedtest_servers/database.py
Nearata/speedtest-servers
21f835be724afffc47b7f3eb1c5bda909063aa15
[ "MIT" ]
null
null
null
speedtest_servers/database.py
Nearata/speedtest-servers
21f835be724afffc47b7f3eb1c5bda909063aa15
[ "MIT" ]
null
null
null
from speedtest_servers.models import database from speedtest_servers.models import Servers from speedtest_servers.models import Users from speedtest_servers.models import Settings from speedtest_servers.views.main import create_or_update def initialize_database(app): database.init( app.config["DB_NAME"], ...
26.884615
57
0.729614
88
699
5.602273
0.386364
0.131846
0.20284
0.210953
0.259635
0
0
0
0
0
0
0
0.165951
699
25
58
27.96
0.845626
0
0
0
0
0
0.060086
0
0
0
0
0
0
1
0.105263
false
0.052632
0.263158
0
0.368421
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
7eadea6bd32facbadae1c0d08fd08779ba7a67b6
83
py
Python
repobee_junit4/__init__.py
GlennOlsson/repobee-junit4
4f47708989ddbab7118ef2c545d3e363a6f81e12
[ "MIT" ]
4
2019-03-13T11:03:56.000Z
2019-03-13T14:08:19.000Z
repobee_junit4/__init__.py
GlennOlsson/repobee-junit4
4f47708989ddbab7118ef2c545d3e363a6f81e12
[ "MIT" ]
62
2019-03-31T13:58:13.000Z
2022-01-16T15:59:10.000Z
repobee_junit4/__init__.py
GlennOlsson/repobee-junit4
4f47708989ddbab7118ef2c545d3e363a6f81e12
[ "MIT" ]
2
2019-12-08T11:00:09.000Z
2020-08-11T09:20:19.000Z
from repobee_junit4.__version import __version__ # noqa: F401 SECTION = "junit4"
20.75
62
0.783133
10
83
5.8
0.8
0
0
0
0
0
0
0
0
0
0
0.070423
0.144578
83
3
63
27.666667
0.746479
0.120482
0
0
0
0
0.084507
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
7eb0dc2160efcfb7c61ce02d1399f0bd01047cf9
1,245
py
Python
modules/lenny.py
a3qz/bobbit-ng
7abd67d516d0a93c5c4087234bf010532fbdbd5b
[ "MIT" ]
null
null
null
modules/lenny.py
a3qz/bobbit-ng
7abd67d516d0a93c5c4087234bf010532fbdbd5b
[ "MIT" ]
null
null
null
modules/lenny.py
a3qz/bobbit-ng
7abd67d516d0a93c5c4087234bf010532fbdbd5b
[ "MIT" ]
null
null
null
# lenny.py import random # Metadata NAME = 'lenny' ENABLE = True TYPE = 'command' PATTERN = '^![Ll]enny\s*(?P<text>.*)$' USAGE = '''Usage: ![Ll]enny Displays a Lenny face ( ͡° ͜ʖ ͡°) ''' # Lenny Faces from Gonzobot LENNYS = [ u'( \u0361\u00B0 \u035C\u0296 \u0361\u00B0)', u'( \u0360\u00B0 \u035F\u...
26.489362
79
0.615261
171
1,245
4.502924
0.385965
0.233766
0.136364
0.12987
0.237662
0.21039
0.137662
0.137662
0.096104
0
0
0.281563
0.198394
1,245
46
80
27.065217
0.48497
0.085141
0
0.1
0
0.033333
0.566254
0.065371
0
0
0
0
0
1
0.066667
false
0
0.033333
0.033333
0.133333
0
0
0
0
null
1
0
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
0e21f2383c384fae72908fc7b492ae173ce8bd18
107
py
Python
chapter3/3_1_3.py
kungbob/Machine_Learning_In_Action
007db9d2a6c957d314ecd0b4322cad5b04da7113
[ "MIT" ]
null
null
null
chapter3/3_1_3.py
kungbob/Machine_Learning_In_Action
007db9d2a6c957d314ecd0b4322cad5b04da7113
[ "MIT" ]
1
2018-01-05T15:48:33.000Z
2018-01-05T15:54:22.000Z
chapter3/3_1_3.py
kungbob/Machine_Learning_In_Action
007db9d2a6c957d314ecd0b4322cad5b04da7113
[ "MIT" ]
2
2019-02-12T01:35:20.000Z
2019-03-24T03:00:51.000Z
import trees myDat, labels = trees.createDataSet() myTree = trees.createTree(myDat, labels) print(myTree)
17.833333
40
0.775701
13
107
6.384615
0.615385
0.26506
0
0
0
0
0
0
0
0
0
0
0.11215
107
5
41
21.4
0.873684
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
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
0e3ba4ecc688b7016e2b2ca859a18e3fb7fb1dd0
1,432
py
Python
tests/integration/storages/conftest.py
thoughteer/edera
c4ddb5d8a25906c3bd773c91afb3260fc0b704f2
[ "MIT" ]
3
2018-11-27T15:45:19.000Z
2018-12-21T20:32:10.000Z
tests/integration/storages/conftest.py
thoughteer/edera
c4ddb5d8a25906c3bd773c91afb3260fc0b704f2
[ "MIT" ]
18
2018-12-02T18:38:59.000Z
2020-02-05T22:09:37.000Z
tests/integration/storages/conftest.py
thoughteer/edera
c4ddb5d8a25906c3bd773c91afb3260fc0b704f2
[ "MIT" ]
null
null
null
import uuid import pytest from edera.storages import EmbeddedStorage from edera.storages import InMemoryStorage from edera.storages import MongoStorage from edera.storages import SQLiteStorage @pytest.fixture def inmemory_storage(): return InMemoryStorage() @pytest.yield_fixture def sqlite_database(tmpdir): ...
23.47541
99
0.768156
162
1,432
6.623457
0.246914
0.084809
0.063374
0.085741
0.312209
0.312209
0.312209
0.261883
0.261883
0.261883
0
0.000803
0.130587
1,432
60
100
23.866667
0.861044
0
0
0.375
0
0
0.118715
0
0
0
0
0
0
1
0.225
false
0
0.15
0.175
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0e8290508a752da93d1423cfeb1a4c9f0ad775cc
457
py
Python
LowCrawler/mysite/list_movie/models.py
hanbox/mysite-master
70872768148ce9ce86c93b8bdd5640e16e1e21e7
[ "MIT" ]
2
2017-02-24T15:36:29.000Z
2017-12-30T15:59:34.000Z
LowCrawler/mysite/list_movie/models.py
HanBox2016/mysite-master
70872768148ce9ce86c93b8bdd5640e16e1e21e7
[ "MIT" ]
null
null
null
LowCrawler/mysite/list_movie/models.py
HanBox2016/mysite-master
70872768148ce9ce86c93b8bdd5640e16e1e21e7
[ "MIT" ]
null
null
null
from django.db import models from django.contrib import admin # Create your models here. class Detial(models.Model): web_url = models.CharField(max_length = 200) movie_name = models.CharField(max_length = 200) movie_date = models.CharField(max_length = 200) movie_url = models.CharField(max_length = 256...
26.882353
52
0.750547
64
457
5.125
0.484375
0.228659
0.27439
0.365854
0.466463
0.292683
0
0
0
0
0
0.041667
0.159737
457
16
53
28.5625
0.8125
0.052516
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.181818
0.090909
0.909091
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
0e8ac0cbb164d8b95f4ea9f68de2663d942e3115
5,481
py
Python
dumpanalyze/trace.py
iponweb/dumpanalyze
eb09386c59fc8263d583bf53d31f811e7b8171ea
[ "MIT" ]
30
2017-11-03T13:21:51.000Z
2020-03-16T14:35:02.000Z
dumpanalyze/trace.py
luavela/dumpanalyze
eb09386c59fc8263d583bf53d31f811e7b8171ea
[ "MIT" ]
null
null
null
dumpanalyze/trace.py
luavela/dumpanalyze
eb09386c59fc8263d583bf53d31f811e7b8171ea
[ "MIT" ]
4
2018-10-19T08:56:46.000Z
2019-08-14T15:27:00.000Z
# -*- coding: utf-8 -*- # # A compiled trace. # This module is a part of the toolkit for processing LuaJIT plain text dumps. # # Copyright 2017-2019 IPONWEB Ltd. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to de...
26.736585
79
0.635468
752
5,481
4.4375
0.256649
0.040755
0.062931
0.02697
0.197782
0.135751
0.023974
0
0
0
0
0.008038
0.273673
5,481
204
80
26.867647
0.830193
0.306513
0
0.213115
0
0
0.028723
0
0
0
0
0
0
1
0.270492
false
0.065574
0.016393
0.131148
0.483607
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
1
0
0
0
3
0e9232af5d02ba0da523f494da241d0371c9c794
313
py
Python
normalizer/normalizer.py
pitpalac36/Fraud-Detector
463a737da9b2c11a5c7bd11f5a5ecbc5586d80e7
[ "MIT" ]
null
null
null
normalizer/normalizer.py
pitpalac36/Fraud-Detector
463a737da9b2c11a5c7bd11f5a5ecbc5586d80e7
[ "MIT" ]
null
null
null
normalizer/normalizer.py
pitpalac36/Fraud-Detector
463a737da9b2c11a5c7bd11f5a5ecbc5586d80e7
[ "MIT" ]
null
null
null
import pickle from utils.env_utils import get_scaler_file from numpy import asarray def normalization(scaler, data): if not isinstance(data[0], list): normalisedData = scaler.transform(asarray([data])) else: normalisedData = scaler.transform(data) return normalisedData[0].tolist()
24.076923
58
0.72524
38
313
5.894737
0.605263
0.178571
0.258929
0
0
0
0
0
0
0
0
0.007813
0.182109
313
12
59
26.083333
0.867188
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
0e947631a551957daaf654ecd2b19250e5d269bd
259
py
Python
0-notes/job-search/Cracking_the_Coding_Interview/C06MathLogicPuzzles/questions/6.5-question.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
null
null
null
0-notes/job-search/Cracking_the_Coding_Interview/C06MathLogicPuzzles/questions/6.5-question.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
null
null
null
0-notes/job-search/Cracking_the_Coding_Interview/C06MathLogicPuzzles/questions/6.5-question.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
null
null
null
# 6.5 Jugs of Water # You have a 5-quart jug, a 3-quart jug, and an unlimited supply of water. # How would you come up with exactly 4 quarts of water? # Note that the jugs are oddly shaped, such that filling up exactly "half" of the jug would be impossible.
43.166667
106
0.737452
51
259
3.745098
0.666667
0.109948
0
0
0
0
0
0
0
0
0
0.024272
0.204633
259
5
107
51.8
0.902913
0.96139
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
7ed9bdb5c086ec5b02722c2ff1b7a0b997a80d93
160
py
Python
mod.py
redashu/codes
072aa6dd4e0f6bfd501a857e93750d513e423989
[ "Apache-2.0" ]
null
null
null
mod.py
redashu/codes
072aa6dd4e0f6bfd501a857e93750d513e423989
[ "Apache-2.0" ]
null
null
null
mod.py
redashu/codes
072aa6dd4e0f6bfd501a857e93750d513e423989
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 import time print("hello world") time.sleep(3) print("Cisco automation") time.sleep(2) print("current date and time is ",time.ctime())
14.545455
49
0.7
25
160
4.48
0.72
0.160714
0
0
0
0
0
0
0
0
0
0.021583
0.13125
160
10
50
16
0.784173
0.10625
0
0
0
0
0.382979
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0.5
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
0
1
0
3
7edda6892f2115b05ca38945c56eae6b9e57c165
173
py
Python
exercicios/lista5-ex01.py
jrgoncalves85/aulas-python
9afa20f41e316569ae8cd484c33d80f23179ea56
[ "MIT" ]
3
2021-08-31T20:12:22.000Z
2021-11-23T12:16:54.000Z
exercicios/lista5-ex01.py
jrgoncalves85/aulas-python
9afa20f41e316569ae8cd484c33d80f23179ea56
[ "MIT" ]
null
null
null
exercicios/lista5-ex01.py
jrgoncalves85/aulas-python
9afa20f41e316569ae8cd484c33d80f23179ea56
[ "MIT" ]
1
2021-09-23T19:56:55.000Z
2021-09-23T19:56:55.000Z
# 1. Escreva um algoritmo que imprima na tela todos os números ímpares até o 49 cont = 1 while cont <= 49: print(cont) cont = cont + 2 print("Programa encerrado")
19.222222
79
0.682081
28
173
4.214286
0.75
0.135593
0
0
0
0
0
0
0
0
0
0.05303
0.236994
173
8
80
21.625
0.840909
0.445087
0
0
0
0
0.191489
0
0
0
0
0.125
0
1
0
false
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
1
0
0
0
0
0
0
0
0
0
0
3
7d0648f526528a27238877dfbfbc8da27c98da50
254
py
Python
py_hpsu_monitor/workers/elster_frame_logger.py
weltenwort/py-hpsu-monitor
1e170cc22a8ac063e80180f7481beb97c32e8c40
[ "MIT" ]
1
2022-01-30T10:45:24.000Z
2022-01-30T10:45:24.000Z
py_hpsu_monitor/workers/elster_frame_logger.py
weltenwort/py-hpsu-monitor
1e170cc22a8ac063e80180f7481beb97c32e8c40
[ "MIT" ]
30
2021-05-11T06:11:57.000Z
2022-03-28T20:15:08.000Z
py_hpsu_monitor/workers/elster_frame_logger.py
weltenwort/py-hpsu-monitor
1e170cc22a8ac063e80180f7481beb97c32e8c40
[ "MIT" ]
null
null
null
from ..utils.publish_subscribe_topic import PublishSubscribeTopic from ..elster_protocol.elster_frame import ElsterFrame async def log_elster_frames(topic: PublishSubscribeTopic[ElsterFrame]): async for frame in topic.items(): print(frame)
31.75
71
0.80315
30
254
6.6
0.633333
0.161616
0
0
0
0
0
0
0
0
0
0
0.125984
254
7
72
36.285714
0.891892
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
7d3aab1ea369f283f0c1d3c971bed90020735b0c
220
py
Python
basic-programming/file-io/file-demo.py
sinhdev/python-demo
77e97d01d853799aef9a71cd6b7892847f85727d
[ "MIT" ]
null
null
null
basic-programming/file-io/file-demo.py
sinhdev/python-demo
77e97d01d853799aef9a71cd6b7892847f85727d
[ "MIT" ]
null
null
null
basic-programming/file-io/file-demo.py
sinhdev/python-demo
77e97d01d853799aef9a71cd6b7892847f85727d
[ "MIT" ]
null
null
null
#!/usr/bin/python # Open a file fo = open("file-demo.py", "wb") print "Name of the file: ", fo.name print "Closed or not : ", fo.closed print "Opening mode : ", fo.mode print "Softspace flag : ", fo.softspace fo.close()
24.444444
39
0.659091
37
220
3.918919
0.594595
0.082759
0
0
0
0
0
0
0
0
0
0
0.163636
220
9
40
24.444444
0.788043
0.127273
0
0
0
0
0.418848
0
0
0
0
0
0
0
null
null
0
0
null
null
0.666667
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
0
0
0
1
0
3
adbc9885c4bb61e601d014efd450cbdc9fffd9bf
205
py
Python
test/strategies.py
jayvdb/docopt-subcommands
15fd11c5db189a5160a9330ed21312139b3486f7
[ "MIT" ]
13
2017-05-06T04:49:06.000Z
2021-04-02T22:38:42.000Z
test/strategies.py
jayvdb/docopt-subcommands
15fd11c5db189a5160a9330ed21312139b3486f7
[ "MIT" ]
14
2016-11-02T08:44:10.000Z
2019-07-04T06:20:50.000Z
test/strategies.py
jayvdb/docopt-subcommands
15fd11c5db189a5160a9330ed21312139b3486f7
[ "MIT" ]
5
2017-05-09T10:58:25.000Z
2020-08-25T15:53:49.000Z
import hypothesis.strategies as ST import string ascii_string = ST.text(alphabet=string.ascii_letters, min_size=1, max_size=100) whitespace = ST.text(alphabet=string.whitespace, min_size=1, max_size=100)
34.166667
79
0.814634
33
205
4.878788
0.484848
0.136646
0.173913
0.248447
0.223602
0.223602
0
0
0
0
0
0.042553
0.082927
205
5
80
41
0.81383
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
adbea268c765db6b68f9abeff7f3457655a57d2c
691
py
Python
examples/docs_snippets/docs_snippets/concepts/assets/materialization_jobs.py
rpatil524/dagster
6f918d94cbd543ab752ab484a65e3a40fd441716
[ "Apache-2.0" ]
4,606
2018-06-21T17:45:20.000Z
2022-03-31T23:39:42.000Z
examples/docs_snippets/docs_snippets/concepts/assets/materialization_jobs.py
rpatil524/dagster
6f918d94cbd543ab752ab484a65e3a40fd441716
[ "Apache-2.0" ]
6,221
2018-06-12T04:36:01.000Z
2022-03-31T21:43:05.000Z
examples/docs_snippets/docs_snippets/concepts/assets/materialization_jobs.py
rpatil524/dagster
6f918d94cbd543ab752ab484a65e3a40fd441716
[ "Apache-2.0" ]
619
2018-08-22T22:43:09.000Z
2022-03-31T22:48:06.000Z
"""isort:skip_file""" def some_api_call(): return [] def train_prediction_model(_): return [] def persist_to_db(_): pass def persist_to_model_store(_): pass # start_job_0 from dagster import op, job, AssetKey, Out @op(out=Out(asset_key=AssetKey("my_db.users"))) def scrape_users(): users...
15.355556
61
0.729378
108
691
4.194444
0.333333
0.077263
0.059603
0.083885
0.10596
0.10596
0
0
0
0
0
0.003448
0.160637
691
44
62
15.704545
0.777586
0.054993
0
0.181818
0
0
0.055728
0.0387
0
0
0
0
0
1
0.318182
false
0.090909
0.045455
0.090909
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
adc381b17750a4c6e78f30f8d063fc687f69e11f
170
py
Python
BootCRUDApp/urls.py
cs-fullstack-2019-spring/django-bootstrapcrud-cw-PorcheWooten
ee7c94ac30b1bb4d7f64cc37aee813fd4fd3d112
[ "Apache-2.0" ]
null
null
null
BootCRUDApp/urls.py
cs-fullstack-2019-spring/django-bootstrapcrud-cw-PorcheWooten
ee7c94ac30b1bb4d7f64cc37aee813fd4fd3d112
[ "Apache-2.0" ]
null
null
null
BootCRUDApp/urls.py
cs-fullstack-2019-spring/django-bootstrapcrud-cw-PorcheWooten
ee7c94ac30b1bb4d7f64cc37aee813fd4fd3d112
[ "Apache-2.0" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.index, name=''), path('edititem/<int:id>/', views.edititem, name='edititem'), ]
18.888889
64
0.647059
21
170
5.238095
0.571429
0
0
0
0
0
0
0
0
0
0
0
0.164706
170
9
65
18.888889
0.774648
0
0
0
0
0
0.152047
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
addfe5c3a5b697c0c70146abdb8808d44e34cd1f
3,989
py
Python
xunit_tools/test_objects.py
charlesthomas/xunit_tools
ce71d95a595829377b271777e0b7faba4dd75803
[ "MIT" ]
null
null
null
xunit_tools/test_objects.py
charlesthomas/xunit_tools
ce71d95a595829377b271777e0b7faba4dd75803
[ "MIT" ]
1
2018-03-23T19:21:47.000Z
2018-03-23T19:21:47.000Z
xunit_tools/test_objects.py
charlesthomas/xunit_tools
ce71d95a595829377b271777e0b7faba4dd75803
[ "MIT" ]
1
2018-03-23T18:02:01.000Z
2018-03-23T18:02:01.000Z
from cgi import escape class TestCase(object): def __init__(self, classname, name, time, **kwargs): self.classname = escape(classname) self.name = escape(name) self.time = float(time) self.result = None def __eq__(self, other): return self.result == other.r...
29.768657
96
0.581599
456
3,989
4.868421
0.171053
0.058559
0.037838
0.034234
0.181982
0.125225
0.103604
0.045946
0.045946
0.045946
0
0.002859
0.298571
3,989
133
97
29.992481
0.790565
0
0
0.221154
0
0
0.064929
0.005515
0
0
0
0
0
1
0.240385
false
0.067308
0.009615
0.134615
0.509615
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
1
0
0
0
3
bc07d720da3874b5d1b9a22970030d248a985435
218
py
Python
stats-ms/src/measures/measure.py
7Rocky/IoT_Microservices
c42de668609965068f8feb87ee80fc618524b679
[ "0BSD" ]
3
2020-03-12T02:14:24.000Z
2020-05-12T12:18:01.000Z
stats-ms/src/measures/measure.py
7Rocky/IoT_Microservices
c42de668609965068f8feb87ee80fc618524b679
[ "0BSD" ]
19
2020-03-12T02:13:53.000Z
2022-02-21T10:20:59.000Z
stats-ms/src/measures/measure.py
7Rocky/IoT_Microservices
c42de668609965068f8feb87ee80fc618524b679
[ "0BSD" ]
null
null
null
from src.database.dao import Dao class Measure(): def __init__(self, queue_collection, max_items): self.dao = Dao(queue_collection) self.max_items = max_items self.queue = queue_collection
27.25
52
0.697248
29
218
4.896552
0.482759
0.316901
0.169014
0
0
0
0
0
0
0
0
0
0.220183
218
7
53
31.142857
0.835294
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
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
bc27b97e05b02cb1cd17c91cc670befb8d6af48d
209
py
Python
librarybuddy/BookManager/urls.py
op3ntrap/mylibrary
2c053d9af89e8f16a2bd7c612a3405d4774844c6
[ "MIT" ]
null
null
null
librarybuddy/BookManager/urls.py
op3ntrap/mylibrary
2c053d9af89e8f16a2bd7c612a3405d4774844c6
[ "MIT" ]
null
null
null
librarybuddy/BookManager/urls.py
op3ntrap/mylibrary
2c053d9af89e8f16a2bd7c612a3405d4774844c6
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns = [ url(r'^$', views.archive_catalog, name='archive_catalog'), url(r'^base', views.view_base_template, name='base_template_preview') ]
26.125
73
0.727273
29
209
5.034483
0.551724
0.054795
0
0
0
0
0
0
0
0
0
0
0.129187
209
7
74
29.857143
0.802198
0
0
0
0
0
0.205742
0.100478
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
bc29338d144db053723ff2e16f7c151a479fe1cc
1,188
py
Python
NewsRecommendation/src/model/NRMS/__init__.py
ustcsky/recommenders
64f0dd4653cf7f1d687c45c61807841415e111c7
[ "MIT" ]
null
null
null
NewsRecommendation/src/model/NRMS/__init__.py
ustcsky/recommenders
64f0dd4653cf7f1d687c45c61807841415e111c7
[ "MIT" ]
null
null
null
NewsRecommendation/src/model/NRMS/__init__.py
ustcsky/recommenders
64f0dd4653cf7f1d687c45c61807841415e111c7
[ "MIT" ]
null
null
null
import torch from model.NRMS.news_encoder import NewsEncoder from model.NRMS.user_encoder import UserEncoder from model.NRMS.click_predictor import ClickPredictor def make_model(args, word_embedding): return NRMS(args, word_embedding) class NRMS(torch.nn.Module): def __init__(self, args, word_embedding): ...
39.6
115
0.711279
156
1,188
5.141026
0.269231
0.068579
0.084788
0.049875
0.107232
0.107232
0.107232
0.107232
0.107232
0.107232
0
0.003148
0.197811
1,188
30
116
39.6
0.838405
0.021886
0
0
0
0
0.013781
0
0
0
0
0
0
1
0.217391
false
0
0.173913
0.130435
0.608696
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
70ad1bc7aa30f65b87507db30edd1fbce19a395c
277
py
Python
uimnet/archs/__init__.py
facebookresearch/uimnet
d7544cf5fb4c65cb262dca203afb0db4ba6c569d
[ "MIT" ]
7
2021-07-28T18:40:20.000Z
2022-01-26T23:50:41.000Z
uimnet/archs/__init__.py
facebookresearch/uimnet
d7544cf5fb4c65cb262dca203afb0db4ba6c569d
[ "MIT" ]
10
2021-08-31T13:44:56.000Z
2021-08-31T14:10:12.000Z
uimnet/archs/__init__.py
facebookresearch/uimnet
d7544cf5fb4c65cb262dca203afb0db4ba6c569d
[ "MIT" ]
1
2021-11-06T01:55:58.000Z
2021-11-06T01:55:58.000Z
#!/usr/bin/env python3 # # # Copyright (c) 2021 Facebook, inc. and its affiliates. All Rights Reserved # # # What are the models that I need # I need resnet 18-50-101 # I need simclr (get it from pytorch lightning). Store in torchhub. from torchvision.models.resnet import *
23.083333
77
0.725632
44
277
4.568182
0.840909
0.074627
0
0
0
0
0
0
0
0
0
0.052632
0.176895
277
11
78
25.181818
0.828947
0.787004
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
70b6189e7c8b5ef84088ce268ec2c6ec6477c80d
544
py
Python
Stacks/StackImpl.py
shreya2592/GeeksForGeeks
96dfb30ad42615bbc37e3600d9e379a2847a5d36
[ "MIT" ]
null
null
null
Stacks/StackImpl.py
shreya2592/GeeksForGeeks
96dfb30ad42615bbc37e3600d9e379a2847a5d36
[ "MIT" ]
null
null
null
Stacks/StackImpl.py
shreya2592/GeeksForGeeks
96dfb30ad42615bbc37e3600d9e379a2847a5d36
[ "MIT" ]
null
null
null
"""class Stack: def __init__(self): self.item=[] def isEmpty(self): return self.item==[] def push(self, item): return self.item.append(item) def pop(self): return self.item.pop() def peek(self): return self.item[len(self.item)-1] def size(self): r...
16.484848
42
0.582721
85
544
3.682353
0.270588
0.204473
0.178914
0.172524
0.191693
0
0
0
0
0
0
0.009501
0.226103
544
32
43
17
0.733967
0.53125
0
0.461538
0
0
0.015152
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.461538
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
70b8bedb0bceb391c23f2a6271eb27ce63f2cb04
169
py
Python
svglatex/__init__.py
johnyf/svglatex
f5866a7990d1f1be4a35cc55877aae535c58f2de
[ "BSD-3-Clause" ]
4
2020-10-26T21:51:24.000Z
2022-02-04T04:08:36.000Z
svglatex/__init__.py
johnyf/svglatex
f5866a7990d1f1be4a35cc55877aae535c58f2de
[ "BSD-3-Clause" ]
null
null
null
svglatex/__init__.py
johnyf/svglatex
f5866a7990d1f1be4a35cc55877aae535c58f2de
[ "BSD-3-Clause" ]
null
null
null
"""Package that converts SVG to PDF for graphics and LaTeX for text.""" try: from ._version import version as __version__ except ImportError: __version__ = None
28.166667
71
0.745562
23
169
5.086957
0.826087
0
0
0
0
0
0
0
0
0
0
0
0.189349
169
5
72
33.8
0.854015
0.384615
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
70cd30e21437587866eb5aefa1bcf1a9ba8ec40b
303
py
Python
oop_advance/use_iter.py
semoren/learn_python
d3140c3d4cb2bdb674d9c072c4195ebcfe686be3
[ "Apache-2.0" ]
null
null
null
oop_advance/use_iter.py
semoren/learn_python
d3140c3d4cb2bdb674d9c072c4195ebcfe686be3
[ "Apache-2.0" ]
null
null
null
oop_advance/use_iter.py
semoren/learn_python
d3140c3d4cb2bdb674d9c072c4195ebcfe686be3
[ "Apache-2.0" ]
null
null
null
class Fib(object): def __init__(self): self.a, self.b = 0, 1 def __iter__(self): return self def __next__(self): self.a, self.b = self.b, self.a + self.b if self.a > 1000: raise StopIteration() return self.a for n in Fib(): print(n)
20.2
48
0.531353
45
303
3.311111
0.466667
0.167785
0.181208
0.201342
0.187919
0
0
0
0
0
0
0.030303
0.346535
303
15
49
20.2
0.722222
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0.083333
0.5
0.083333
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
1
0
0
0
0
0
0
0
3
70e1a30f175610080c5436ea1817d3f27aecbd7a
248
py
Python
examples/writing/latex.py
bratao/pyth
c94af6d869b9387f8b7d60b327e57a8ee3e516ae
[ "MIT" ]
12
2016-05-17T14:41:14.000Z
2022-01-04T15:12:29.000Z
examples/writing/latex.py
bratao/pyth
c94af6d869b9387f8b7d60b327e57a8ee3e516ae
[ "MIT" ]
null
null
null
examples/writing/latex.py
bratao/pyth
c94af6d869b9387f8b7d60b327e57a8ee3e516ae
[ "MIT" ]
22
2015-08-05T15:17:15.000Z
2021-06-29T23:48:00.000Z
from __future__ import absolute_import from __future__ import print_function from pyth.plugins.latex.writer import LatexWriter import pythonDoc if __name__ == "__main__": doc = pythonDoc.buildDoc() print(LatexWriter.write(doc).getvalue())
27.555556
49
0.794355
30
248
5.966667
0.633333
0.111732
0.178771
0
0
0
0
0
0
0
0
0
0.125
248
8
50
31
0.824885
0
0
0
0
0
0.032258
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0.285714
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
70f47eedb989b902e46867c9ca8b8430db0fc878
91
py
Python
datasets/apps.py
patcurry/WebGISFork
0f26a2d824eea6456dd266f0594e4577abef85b1
[ "MIT" ]
1
2021-07-03T17:03:35.000Z
2021-07-03T17:03:35.000Z
datasets/apps.py
patcurry/WebGISFork
0f26a2d824eea6456dd266f0594e4577abef85b1
[ "MIT" ]
12
2021-09-13T18:37:26.000Z
2021-11-14T17:39:14.000Z
datasets/apps.py
patcurry/WebGISFork
0f26a2d824eea6456dd266f0594e4577abef85b1
[ "MIT" ]
3
2019-01-29T08:50:55.000Z
2022-02-16T07:17:50.000Z
from django.apps import AppConfig class DatasetsConfig(AppConfig): name = "datasets"
15.166667
33
0.758242
10
91
6.9
0.9
0
0
0
0
0
0
0
0
0
0
0
0.164835
91
5
34
18.2
0.907895
0
0
0
0
0
0.087912
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
cb031c5c58b486e4cce9448c81a4492845eab22a
7,023
py
Python
tests/test_get_actions.py
ericebersohl/tak_mcts
68dfb6e55496b2724b2dbe2b9895a3838ab148d4
[ "MIT" ]
null
null
null
tests/test_get_actions.py
ericebersohl/tak_mcts
68dfb6e55496b2724b2dbe2b9895a3838ab148d4
[ "MIT" ]
null
null
null
tests/test_get_actions.py
ericebersohl/tak_mcts
68dfb6e55496b2724b2dbe2b9895a3838ab148d4
[ "MIT" ]
null
null
null
import unittest import tests.env import pprint as pp from src.game import get_actions from src.types import State, Place, Move from src.enums import Piece, Color class TestGetActions(unittest.TestCase): def test_get_actions(self): expected = [ Place(coord = (0, 0), piece = Piece.WHITE_FLAT), ...
58.525
98
0.518439
1,001
7,023
3.425574
0.055944
0.089239
0.155147
0.122485
0.855351
0.853018
0.849519
0.540974
0.540974
0.532517
0
0.068563
0.304286
7,023
120
99
58.525
0.633238
0
0
0.125
0
0
0
0
0
0
0
0
0.026786
1
0.017857
false
0
0.053571
0
0.080357
0.008929
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cb08a9820737c9c3b28130f98a1f4cd29a71b8be
27
py
Python
data-prepare/PythonAPI/salicon/__init__.py
pabloppp/glimpse-models
224bd9614a47f773c1e78b85fd9bf0bbff88529b
[ "Apache-2.0" ]
22
2019-02-25T18:32:35.000Z
2021-06-21T12:10:55.000Z
data-prepare/PythonAPI/salicon/__init__.py
kiketon007/recorteIA
224bd9614a47f773c1e78b85fd9bf0bbff88529b
[ "Apache-2.0" ]
1
2019-03-07T08:55:08.000Z
2019-03-07T08:55:15.000Z
data-prepare/PythonAPI/salicon/__init__.py
kiketon007/recorteIA
224bd9614a47f773c1e78b85fd9bf0bbff88529b
[ "Apache-2.0" ]
2
2019-03-08T14:08:17.000Z
2021-08-04T05:36:51.000Z
__author__ = 'shane-huang'
13.5
26
0.740741
3
27
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.111111
27
1
27
27
0.666667
0
0
0
0
0
0.407407
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
cb0964f993569a36da9d96ecc62b0d32a9354872
1,401
py
Python
flask_mail_bundle/config.py
briancappello/flask-mail-bundle
c563c6ee60e32b5d76b74ad3b0f84e0509711f86
[ "MIT" ]
null
null
null
flask_mail_bundle/config.py
briancappello/flask-mail-bundle
c563c6ee60e32b5d76b74ad3b0f84e0509711f86
[ "MIT" ]
null
null
null
flask_mail_bundle/config.py
briancappello/flask-mail-bundle
c563c6ee60e32b5d76b74ad3b0f84e0509711f86
[ "MIT" ]
null
null
null
import os from flask import current_app from flask_unchained.utils import get_boolean_env from werkzeug.local import LocalProxy from .utils import _send_mail class Config: MAIL_SERVER = os.getenv('FLASK_MAIL_SERVER', '127.0.0.1') MAIL_PORT = os.getenv('FLASK_MAIL_PORT', 25) MAIL_USERNAME = os.getenv('FL...
30.456522
77
0.72591
195
1,401
4.820513
0.292308
0.143617
0.152128
0.180851
0.223404
0.2
0.173404
0.080851
0.080851
0.080851
0
0.012998
0.176303
1,401
45
78
31.133333
0.80156
0.004996
0
0
0
0
0.242816
0.095546
0
0
0
0
0
1
0
false
0.0625
0.15625
0
0.8125
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
cb11606903bc772dce3f9f7c0bc6e49203fbe152
220
py
Python
1h_NGL_3D_Viewer/pyscripts/pdbmapper/mapper2.py
yevheniyc/Python
262842477793d65c2b382ca810867fd24a415576
[ "MIT" ]
4
2016-08-28T03:21:36.000Z
2021-01-19T01:59:17.000Z
1h_NGL_3D_Viewer/pyscripts/pdbmapper/mapper2.py
yevheniyc/Python
262842477793d65c2b382ca810867fd24a415576
[ "MIT" ]
null
null
null
1h_NGL_3D_Viewer/pyscripts/pdbmapper/mapper2.py
yevheniyc/Python
262842477793d65c2b382ca810867fd24a415576
[ "MIT" ]
1
2018-05-20T12:33:23.000Z
2018-05-20T12:33:23.000Z
#!/usr/local/bin/python import os.path import json from argparse import ArgumentParser from collections import OrderedDict import PdbParser as pp import SeqAlign as sa import InputProcessor2 as ip import FastaGen as fg
20
35
0.831818
33
220
5.545455
0.666667
0
0
0
0
0
0
0
0
0
0
0.005263
0.136364
220
10
36
22
0.957895
0.1
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
cb1a13475c74db737612842c124df0525dea7eaf
272
py
Python
pytng/__init__.py
MDAnalysis/pytng
abb344d6b067114b2a73023fc4cf0c614b9e3cb9
[ "BSD-3-Clause" ]
11
2017-05-23T14:40:44.000Z
2021-04-20T02:28:15.000Z
pytng/__init__.py
hmacdope/pytng
65b4c0c915fe60525d9b2dacb83c2c5d73b3f13f
[ "BSD-3-Clause" ]
84
2017-05-24T06:35:09.000Z
2022-03-28T10:36:17.000Z
pytng/__init__.py
hmacdope/pytng
65b4c0c915fe60525d9b2dacb83c2c5d73b3f13f
[ "BSD-3-Clause" ]
4
2017-06-19T15:02:52.000Z
2020-10-01T08:41:04.000Z
from __future__ import absolute_import from .pytng import TNGFileIterator from .pytng import TNGCurrentIntegratorStep __all__ = ['TNGFileIterator', 'TNGCurrentIntegratorStep'] from ._version import get_versions __version__ = get_versions()['version'] del get_versions
22.666667
57
0.827206
28
272
7.428571
0.428571
0.158654
0.144231
0
0
0
0
0
0
0
0
0
0.106618
272
11
58
24.727273
0.855967
0
0
0
0
0
0.169118
0.088235
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
cb22d76faf8bda4cdc10ce7bf94941a59c6dc20a
19,309
py
Python
v6-graph/graph_generator/gen/PythonParserVisitor.py
stfairy/OnlinePythonTutor
0d7e52a163add87c689527a54bc0b4747449d762
[ "MIT" ]
2
2020-08-10T21:37:11.000Z
2021-04-06T06:20:07.000Z
v6-graph/graph_generator/gen/PythonParserVisitor.py
stfairy/OnlinePythonTutor
0d7e52a163add87c689527a54bc0b4747449d762
[ "MIT" ]
null
null
null
v6-graph/graph_generator/gen/PythonParserVisitor.py
stfairy/OnlinePythonTutor
0d7e52a163add87c689527a54bc0b4747449d762
[ "MIT" ]
3
2021-01-05T22:02:59.000Z
2021-06-25T17:44:48.000Z
# Generated from /home/stifler55/Documents/Universidade/Tese/GraphGenerator/Python/src/PythonParser.g4 by ANTLR 4.8 from antlr4 import * if __name__ is not None and "." in __name__: from .PythonParser import PythonParser else: from PythonParser import PythonParser # This class defines a complete generic visito...
33.406574
115
0.744057
2,254
19,309
6.297249
0.145519
0.048189
0.080316
0.144568
0.562984
0.549598
0.549598
0.544033
0.544033
0.544033
0
0.004382
0.184474
19,309
578
116
33.406574
0.896996
0.326635
0
0.484979
1
0
0.000078
0
0
0
0
0
0.004292
1
0.484979
false
0.004292
0.025751
0.484979
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
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
cb26a1c1019cb715fe37b9eeea112e7e348f2c7a
895
py
Python
entity_generator.py
pig005/Mary
48436e50724e430fa9982d4fed0b734e701fff53
[ "MIT" ]
7
2020-04-19T13:06:30.000Z
2021-08-13T19:56:04.000Z
entity_generator.py
pig005/Mary
48436e50724e430fa9982d4fed0b734e701fff53
[ "MIT" ]
4
2020-04-27T20:11:46.000Z
2020-05-17T05:59:53.000Z
entity_generator.py
pig005/Mary
48436e50724e430fa9982d4fed0b734e701fff53
[ "MIT" ]
2
2020-04-29T22:01:23.000Z
2020-05-18T01:42:25.000Z
import yaml import numpy as np import random """ 종류 지능: 감각: 시각, 청각, 후각 기형 여부: """ """ Vision = {0:'blind', 1:'poor', 2:'normal', 3:'sharp', 4:'extreme'} Hearing = {0:'deaf', 1:'poor', 2:'normal', 3:'sharp', 4:'extreme'} Smelling = {0:'Noseless', 1:'normal', 2:'sharp'} Intelligence = {0:'dimwit', 1:...
20.813953
94
0.578771
125
895
4.048
0.48
0.029644
0.035573
0.071146
0.128459
0.102767
0.102767
0.102767
0
0
0
0.046579
0.232402
895
43
95
20.813953
0.689956
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
cb3a151355b23dedd914dfa3267bd531b9a045b8
1,210
py
Python
lab/loop.py
vidhiJain/lab
43a3eb2aa3121b226c849690e636dcd4c04a49cf
[ "MIT" ]
null
null
null
lab/loop.py
vidhiJain/lab
43a3eb2aa3121b226c849690e636dcd4c04a49cf
[ "MIT" ]
null
null
null
lab/loop.py
vidhiJain/lab
43a3eb2aa3121b226c849690e636dcd4c04a49cf
[ "MIT" ]
1
2020-10-02T01:46:45.000Z
2020-10-02T01:46:45.000Z
from typing import Union, Optional, overload from lab.internal.logger import logger_singleton as _internal def set_global_step(global_step: Optional[int]): _internal().set_global_step(global_step) def add_global_step(increment_global_step: int = 1): _internal().add_global_step(int(increment_global_step)) ...
24.2
98
0.68843
149
1,210
5.174497
0.268456
0.129702
0.18677
0.233463
0.460441
0.400778
0.361868
0.124514
0.124514
0
0
0.001033
0.2
1,210
49
99
24.693878
0.795455
0.159504
0
0.291667
0
0
0
0
0
0
0
0
0
1
0.291667
false
0
0.083333
0.041667
0.5
0.208333
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
1
0
0
0
0
0
0
0
3
cb628a198813c6ed041e3a523657ef5fd2b4fe2a
613
py
Python
scripts/token_color.py
RenoirTan/liver
18da7b00ef3e6a92eff9df9d1a71ab456b4292d3
[ "MIT" ]
2
2021-07-22T15:37:07.000Z
2022-03-09T13:37:31.000Z
scripts/token_color.py
RenoirTan/liver
18da7b00ef3e6a92eff9df9d1a71ab456b4292d3
[ "MIT" ]
1
2021-06-20T08:04:45.000Z
2021-06-20T08:04:45.000Z
scripts/token_color.py
RenoirTan/liver
18da7b00ef3e6a92eff9df9d1a71ab456b4292d3
[ "MIT" ]
null
null
null
from __future__ import annotations from typing import * from . import utils class TokenColor(Hashable): def __init__(self, config: Dict) -> None: self.name: str = config["name"] self.scope: List[str] = config["scope"] self.settings: str = config["settings"] def __hash__(self) -> i...
25.541667
48
0.574225
69
613
4.855072
0.391304
0.095522
0
0
0
0
0
0
0
0
0
0
0.303426
613
23
49
26.652174
0.784543
0
0
0
0
0
0.055465
0
0
0
0
0
0
1
0.222222
false
0
0.166667
0.166667
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
cb65f3a64bd373895f4026494640e89208e10da4
299
py
Python
joueur/base_game_object.py
Tarnasa/joueur.py_saloon
c337e2847617dacc6184f09ea213f0cf68049cf7
[ "MIT" ]
4
2016-07-25T01:06:05.000Z
2018-11-17T09:02:43.000Z
joueur/base_game_object.py
Tarnasa/joueur.py_saloon
c337e2847617dacc6184f09ea213f0cf68049cf7
[ "MIT" ]
null
null
null
joueur/base_game_object.py
Tarnasa/joueur.py_saloon
c337e2847617dacc6184f09ea213f0cf68049cf7
[ "MIT" ]
2
2018-11-17T09:02:43.000Z
2019-11-13T11:09:41.000Z
from joueur.delta_mergeable import DeltaMergeable # @class BaseGameObject: the base class that every game object within a game inherit from for Python manipulation that would be redundant via Creer class BaseGameObject(DeltaMergeable): def __init__(self): DeltaMergeable.__init__(self)
42.714286
147
0.802676
38
299
6.078947
0.736842
0.164502
0
0
0
0
0
0
0
0
0
0
0.153846
299
6
148
49.833333
0.913043
0.48495
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
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
cb6996f68cd4cc10c7b2f3db0a81067e05c72150
121
py
Python
bashful/__init__.py
hchauvin/pybashful
7905aaa22a904e5b3bd308e5f4706b1d5dd8e440
[ "MIT" ]
null
null
null
bashful/__init__.py
hchauvin/pybashful
7905aaa22a904e5b3bd308e5f4706b1d5dd8e440
[ "MIT" ]
null
null
null
bashful/__init__.py
hchauvin/pybashful
7905aaa22a904e5b3bd308e5f4706b1d5dd8e440
[ "MIT" ]
null
null
null
# SPDX-License-Identifier: MIT # Copyright (c) 2020 Hadrien Chauvin from .bashful import Bashful __all__ = ['Bashful']
17.285714
36
0.743802
15
121
5.733333
0.866667
0
0
0
0
0
0
0
0
0
0
0.038835
0.14876
121
6
37
20.166667
0.796117
0.520661
0
0
0
0
0.127273
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
cb69f7e660123659fa21bd2006bc7e3c1d836c8b
4,715
py
Python
guillotina_cms/tests/test_editors.py
alteroo/guillotina_cms
a8ea0efd2ad4f4ab9fab484fe55f41abd37cdac8
[ "BSD-2-Clause" ]
5
2018-11-11T07:19:06.000Z
2020-01-18T11:04:15.000Z
guillotina_cms/tests/test_editors.py
alteroo/guillotina_cms
a8ea0efd2ad4f4ab9fab484fe55f41abd37cdac8
[ "BSD-2-Clause" ]
4
2018-09-20T14:44:17.000Z
2018-10-23T12:16:45.000Z
guillotina_cms/tests/test_editors.py
alteroo/guillotina_cms
a8ea0efd2ad4f4ab9fab484fe55f41abd37cdac8
[ "BSD-2-Clause" ]
2
2019-06-14T10:42:22.000Z
2020-05-09T13:09:09.000Z
import json import pytest import os REACT_PAGE_PAYLOAD = {"id":"1","cells":[{"id":"5ac89ec4-7536-4120-a072-8eedad0a48ff","inline":None,"size":12,"rows":[{"id":"d813d094-215a-43ec-bcdd-d5fd6258b915","cells":[{"id":"3fde7b92-fbfe-4b2d-85b3-bad431939df6","inline":None,"size":12,"content":{"plugin":{"name":"ory/editor/cor...
112.261905
3,516
0.624602
573
4,715
5.108202
0.383944
0.064913
0.090878
0.071404
0.421592
0.347796
0.34233
0.306457
0.289375
0.260676
0
0.031991
0.104984
4,715
41
3,517
115
0.661611
0.000848
0
0
0
0.138889
0.608409
0.133362
0
0
0
0
0.055556
1
0
false
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cb872d919c7a60b060dbb01ad4e89d08cd153ffb
687
py
Python
api/routes/proxy_location.py
zanachka/proxy-service
769e263606a6e520efdfe7d119bb717487d0e27e
[ "MIT" ]
1
2020-08-08T17:06:43.000Z
2020-08-08T17:06:43.000Z
api/routes/proxy_location.py
zanachka/proxy-service
769e263606a6e520efdfe7d119bb717487d0e27e
[ "MIT" ]
2
2021-03-30T01:01:59.000Z
2021-03-30T01:01:59.000Z
api/routes/proxy_location.py
zanachka/proxy-service
769e263606a6e520efdfe7d119bb717487d0e27e
[ "MIT" ]
4
2020-12-22T18:13:24.000Z
2021-11-26T13:03:45.000Z
""" Routes for Proxy Location """ from api.handlers.proxy_location import get_handler from api.handlers.proxy_location import post_handler from api.handlers.proxy_location import put_handler from api.handlers.proxy_location import delete_handler def init_proxy_location_routes(app): '''Init routes for proxy locat...
38.166667
79
0.756914
103
687
4.796117
0.213592
0.315789
0.121457
0.172065
0.702429
0.530364
0.38664
0.137652
0
0
0
0
0.103348
687
17
80
40.411765
0.801948
0.081514
0
0
0
0
0.195793
0.116505
0
0
0
0
0
1
0.1
false
0
0.4
0
0.5
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
cb91d0479089797461ad4b9e916a2bf52b1cd1a3
1,012
py
Python
pyclesperanto_prototype/_tier3/_squared_difference.py
elsandal/pyclesperanto_prototype
7bda828813b86b44b63d73d5e8f466d9769cded1
[ "BSD-3-Clause" ]
64
2020-03-18T12:11:22.000Z
2022-03-31T08:19:18.000Z
pyclesperanto_prototype/_tier3/_squared_difference.py
elsandal/pyclesperanto_prototype
7bda828813b86b44b63d73d5e8f466d9769cded1
[ "BSD-3-Clause" ]
148
2020-05-14T06:14:11.000Z
2022-03-26T15:02:31.000Z
pyclesperanto_prototype/_tier3/_squared_difference.py
elsandal/pyclesperanto_prototype
7bda828813b86b44b63d73d5e8f466d9769cded1
[ "BSD-3-Clause" ]
16
2020-05-31T00:53:44.000Z
2022-03-23T13:20:57.000Z
from pyclesperanto_prototype._tier0 import Image from pyclesperanto_prototype._tier0 import plugin_function from pyclesperanto_prototype._tier0 import create_like from pyclesperanto_prototype._tier2 import subtract_images from pyclesperanto_prototype._tier1 import power @plugin_function(categories=['combine', 'in assi...
28.914286
85
0.709486
104
1,012
6.711538
0.480769
0.189112
0.186246
0.133238
0.273639
0.114613
0
0
0
0
0
0.019465
0.187747
1,012
35
86
28.914286
0.829684
0.379447
0
0
0
0
0.035055
0
0
0
0
0
0
1
0.1
false
0
0.5
0
0.7
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
cba1873ad61373dab94cebc46802b52fa3edce27
1,402
py
Python
src/match_pattern/pattern_matcher/model.py
elsid/master
b3624a6fb3a007fff005c0811f05c5802344b46b
[ "MIT" ]
null
null
null
src/match_pattern/pattern_matcher/model.py
elsid/master
b3624a6fb3a007fff005c0811f05c5802344b46b
[ "MIT" ]
null
null
null
src/match_pattern/pattern_matcher/model.py
elsid/master
b3624a6fb3a007fff005c0811f05c5802344b46b
[ "MIT" ]
null
null
null
# coding: utf-8 import yaml from pattern_matcher.match import match, eq_ignore_order, make_graph from pattern_matcher.classifier import Classifier class Model(object): def __init__(self, classifiers=None): classifiers = tuple(classifiers) if classifiers else tuple() for classifier in classifiers:...
28.612245
73
0.659772
156
1,402
5.724359
0.346154
0.100784
0.040314
0.047032
0
0
0
0
0
0
0
0.000946
0.246077
1,402
48
74
29.208333
0.843898
0.009272
0
0.060606
0
0
0.016583
0
0
0
0
0
0.030303
1
0.272727
false
0
0.090909
0.181818
0.606061
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
cbbef57293eeb2272733f03f0b059e36e5d2c489
161
py
Python
test.py
hintofbasil/Python-Beautifurl
12ad8374c18b55cc30cc3be487e47b3d1f9d4673
[ "MIT" ]
3
2018-09-03T23:51:29.000Z
2021-01-19T17:15:57.000Z
test.py
hintofbasil/Python-Beautifurl
12ad8374c18b55cc30cc3be487e47b3d1f9d4673
[ "MIT" ]
3
2021-01-30T14:06:08.000Z
2021-06-25T15:48:02.000Z
test.py
hintofbasil/Python-Beautifurl
12ad8374c18b55cc30cc3be487e47b3d1f9d4673
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os import pytest path = os.path.dirname(os.path.abspath(__file__)) rv = pytest.main([path, '--ignore=env', '--verbose']) exit(rv)
17.888889
53
0.689441
25
161
4.28
0.64
0.11215
0
0
0
0
0
0
0
0
0
0
0.10559
161
8
54
20.125
0.743056
0.124224
0
0
0
0
0.15
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
cbd757070ce1ad1c272122d943e621fea1f9039e
231
py
Python
python2/recursive3.py
elcio/fibonacci-all-languages
069413fdcdb7e6144d65309caad5091f7d1b92e7
[ "Apache-2.0" ]
null
null
null
python2/recursive3.py
elcio/fibonacci-all-languages
069413fdcdb7e6144d65309caad5091f7d1b92e7
[ "Apache-2.0" ]
1
2020-09-03T13:46:16.000Z
2020-09-03T13:46:16.000Z
python2/recursive3.py
elcio/fibonacci-all-languages
069413fdcdb7e6144d65309caad5091f7d1b92e7
[ "Apache-2.0" ]
2
2020-09-03T12:05:19.000Z
2020-09-12T03:23:50.000Z
fibnums = {} def fib(n): if n < 2: return n if not n in fibnums: fibnums[n] = fib(n-1) + fib(n-2) return fibnums[n] def buildFibonacciSequence(maxItems): return [fib(n) for n in range(maxItems)]
16.5
44
0.580087
36
231
3.722222
0.388889
0.119403
0.119403
0
0
0
0
0
0
0
0
0.018293
0.290043
231
13
45
17.769231
0.79878
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0.111111
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
cbe7f7dedf3791e2cfe219ae99c4924b67183a67
169
py
Python
Basic project/showtimedone.py
Edith-panda/FaceRecognition_project
645a308fea9d43f12a5c79f7a0f66045f5b586a6
[ "Apache-2.0" ]
1
2021-07-04T10:03:07.000Z
2021-07-04T10:03:07.000Z
Basic project/showtimedone.py
Edith-panda/Python_Project
645a308fea9d43f12a5c79f7a0f66045f5b586a6
[ "Apache-2.0" ]
null
null
null
Basic project/showtimedone.py
Edith-panda/Python_Project
645a308fea9d43f12a5c79f7a0f66045f5b586a6
[ "Apache-2.0" ]
null
null
null
# adding datetime to the module using datetime library from datetime import datetime present_time = datetime.now() '{:%H:%M:%S}'.format(present_time) print(present_time)
33.8
54
0.781065
25
169
5.16
0.68
0.255814
0
0
0
0
0
0
0
0
0
0
0.100592
169
5
55
33.8
0.848684
0.307692
0
0
0
0
0.094828
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
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
1db0c8939baf77364b188b48e0aa40286b8ebeb0
2,311
py
Python
test/method/testelectrons.py
jvalegre/cclib
97ee8b36b83e6d51ce51fe3b08a6fc9bcc2df9a9
[ "BSD-3-Clause" ]
null
null
null
test/method/testelectrons.py
jvalegre/cclib
97ee8b36b83e6d51ce51fe3b08a6fc9bcc2df9a9
[ "BSD-3-Clause" ]
1
2018-04-04T21:39:36.000Z
2018-04-05T14:09:14.000Z
test/method/testelectrons.py
jvalegre/cclib
97ee8b36b83e6d51ce51fe3b08a6fc9bcc2df9a9
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (c) 2017, the cclib development team # # This file is part of cclib (http://cclib.github.io) and is distributed under # the terms of the BSD 3-Clause License. """Test the Electrons method in cclib""" import sys import unittest from cclib.method import Electrons from cclib.parser...
39.844828
84
0.680658
275
2,311
5.64
0.323636
0.135397
0.216634
0.25274
0.622824
0.564797
0.493875
0.46744
0.46744
0.46744
0
0.027412
0.179143
2,311
57
85
40.54386
0.790195
0.185634
0
0.470588
0
0
0.11165
0
0
0
0
0
0.411765
1
0.088235
false
0
0.176471
0
0.294118
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
1
0
0
0
0
0
0
0
0
0
3
1dbfb6715aacec84294a6eb903a6f85222fad1c6
398
py
Python
eventos/models.py
andrezzadede/Agri
52815e387b29be81f314d2aeb2cfa11e0411c479
[ "MIT" ]
null
null
null
eventos/models.py
andrezzadede/Agri
52815e387b29be81f314d2aeb2cfa11e0411c479
[ "MIT" ]
null
null
null
eventos/models.py
andrezzadede/Agri
52815e387b29be81f314d2aeb2cfa11e0411c479
[ "MIT" ]
null
null
null
from django.db import models class Estado(models.Model): estado = models.CharField(max_length=50) def __str__(self): return self.estado class Evento(models.Model): data = models.DateField() cidade = models.CharField(max_length=50) estado = models.ForeignKey(Estado, null=True, blank=True,...
23.411765
87
0.703518
52
398
5.173077
0.519231
0.133829
0.133829
0.178439
0.342007
0
0
0
0
0
0
0.012422
0.190955
398
17
88
23.411765
0.822981
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0.181818
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
1dc7671dd6180466d506e1ac83c4cda7c46406a0
445
py
Python
chapter-04/sample003.py
krastin/pp-cs3.0
502be9aac2d84215db176864e443c219e5e26591
[ "MIT" ]
null
null
null
chapter-04/sample003.py
krastin/pp-cs3.0
502be9aac2d84215db176864e443c219e5e26591
[ "MIT" ]
null
null
null
chapter-04/sample003.py
krastin/pp-cs3.0
502be9aac2d84215db176864e443c219e5e26591
[ "MIT" ]
null
null
null
def convert_to_celsius(fahrenheit: float) -> float: """ Return the number of Celsius degrees equivalent to fahrenheit degrees. >>> convert_to_celsius(75) 23.88888888888889 """ return (fahrenheit - 32.0) * 5.0 / 9.0 print('80, 78.8, and 10.4 degrees Fahrenheit are equal to ', end='') print(convert_t...
34.230769
78
0.683146
68
445
4.323529
0.441176
0.153061
0.272109
0.214286
0
0
0
0
0
0
0
0.109626
0.159551
445
12
79
37.083333
0.676471
0.258427
0
0
0
0
0.23301
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0.666667
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
1dc86ebcbb11656e9d53ba1babbccccb186aaa1b
611
py
Python
tests/test_middleware.py
bigbag/starlette-request-id
7abae8d65fd38c2837a77cffd3b357a9ce2efc09
[ "Apache-2.0" ]
1
2021-07-01T12:12:41.000Z
2021-07-01T12:12:41.000Z
tests/test_middleware.py
bigbag/starlette-request-id
7abae8d65fd38c2837a77cffd3b357a9ce2efc09
[ "Apache-2.0" ]
3
2021-06-24T00:13:20.000Z
2021-07-26T09:32:54.000Z
tests/test_middleware.py
bigbag/starlette-request-id
7abae8d65fd38c2837a77cffd3b357a9ce2efc09
[ "Apache-2.0" ]
null
null
null
from uuid import UUID from starlette_request_id import REQUEST_ID_HEADER def test_if_request_id_in_header(client): TEST_REQUEST_ID = "TEST-REQUEST-ID" response = client.get("/", headers={REQUEST_ID_HEADER: TEST_REQUEST_ID}) assert response.status_code == 200 assert REQUEST_ID_HEADER in response.head...
29.095238
76
0.777414
88
611
5.022727
0.227273
0.264706
0.20362
0.149321
0.647059
0.479638
0.479638
0.321267
0.321267
0.321267
0
0.011472
0.144026
611
20
77
30.55
0.833652
0
0
0.307692
0
0
0.027823
0
0
0
0
0
0.461538
1
0.153846
false
0
0.153846
0
0.307692
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
1dd0bc70d8e883e65042a637af21b6cf0befa0a3
408
py
Python
awards/serializer.py
OscarGichana/awards
f07d67d6ba210753a6559ca2584a14c8596200d7
[ "Unlicense" ]
null
null
null
awards/serializer.py
OscarGichana/awards
f07d67d6ba210753a6559ca2584a14c8596200d7
[ "Unlicense" ]
null
null
null
awards/serializer.py
OscarGichana/awards
f07d67d6ba210753a6559ca2584a14c8596200d7
[ "Unlicense" ]
null
null
null
from rest_framework import serializers from .models import MoringaMerch,AwardsProject class MerchSerializer(serializers.ModelSerializer): class Meta: model = MoringaMerch fields = ('id','first_name', 'pic', 'email', 'bio') class ProjectSerializer(serializers.ModelSerializer): class Meta: ...
29.142857
61
0.693627
39
408
7.205128
0.615385
0.185053
0.220641
0.24911
0.284698
0
0
0
0
0
0
0
0.188725
408
13
62
31.384615
0.848943
0
0
0.2
0
0
0.117647
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
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
1de32d80a686ce99c2d1dc7f0f8e6697efd01748
726
py
Python
src/_pytask/outcomes.py
pytask-dev/pytask
b6769b48abda44c6261b9a7b58865f8844423c13
[ "MIT" ]
41
2020-07-24T15:19:19.000Z
2022-03-17T17:40:57.000Z
src/_pytask/outcomes.py
pytask-dev/pytask
b6769b48abda44c6261b9a7b58865f8844423c13
[ "MIT" ]
240
2020-06-26T21:37:49.000Z
2022-03-31T08:56:56.000Z
src/_pytask/outcomes.py
pytask-dev/pytask
b6769b48abda44c6261b9a7b58865f8844423c13
[ "MIT" ]
null
null
null
from typing import Optional class PytaskOutcome(Exception): """Base outcome of a task.""" class Skipped(PytaskOutcome): """Outcome if task is skipped.""" class SkippedAncestorFailed(PytaskOutcome): """Outcome if an ancestor failed.""" class SkippedUnchanged(PytaskOutcome): """Outcome if task has...
22
75
0.672176
80
726
6
0.6
0.166667
0.183333
0.1625
0
0
0
0
0
0
0
0
0.207989
726
32
76
22.6875
0.834783
0.309917
0
0
0
0
0.029787
0
0
0
0
0
0
1
0.076923
false
0
0.076923
0
0.615385
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
1df3627c8e5ed8a5db9f232c7c749ef21abe35ca
13,106
py
Python
scripts/alg1_lib.py
hanshengjiang/npmle_git
fcaae0d1a948ee4cf94c773e8b763a1d604d2d8d
[ "MIT" ]
1
2021-08-24T14:04:35.000Z
2021-08-24T14:04:35.000Z
scripts/alg1_lib.py
hanshengjiang/npmle_git
fcaae0d1a948ee4cf94c773e8b763a1d604d2d8d
[ "MIT" ]
null
null
null
scripts/alg1_lib.py
hanshengjiang/npmle_git
fcaae0d1a948ee4cf94c773e8b763a1d604d2d8d
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @author: hanshengjiang """ from package_import import * from regression_func_lib import * def lmo(beta,X,y,sigma,f,func = lin_func): #return the objective funciton of the linear oprimization problem n = len(X) p = len(X[0]) obj = 0 for i in range(...
34.39895
135
0.522967
1,985
13,106
3.365743
0.121914
0.036372
0.017961
0.011974
0.754827
0.730729
0.705134
0.697201
0.690615
0.658285
0
0.023626
0.276591
13,106
381
136
34.39895
0.681046
0.349611
0
0.606218
0
0
0.007895
0
0
0
0
0
0
1
0.041451
false
0
0.025907
0
0.11399
0.041451
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
1dfe1853876fc3f34bedc2f3acb61cfc4f55d2a3
1,333
py
Python
med_social/db/operations.py
ExpoAshique/ProveBanking__s
f0b45fffea74d00d14014be27aa50fe5f42f6903
[ "MIT" ]
null
null
null
med_social/db/operations.py
ExpoAshique/ProveBanking__s
f0b45fffea74d00d14014be27aa50fe5f42f6903
[ "MIT" ]
null
null
null
med_social/db/operations.py
ExpoAshique/ProveBanking__s
f0b45fffea74d00d14014be27aa50fe5f42f6903
[ "MIT" ]
null
null
null
from django.db import migrations from django.db.migrations.operations.base import Operation class AddField(migrations.AddField): """ Allow adding a field to a model from a different application. This enables us to add the field to contrib.admin.LogEntry that stores the schema for an aware object. ...
33.325
80
0.708927
173
1,333
5.242775
0.32948
0.105843
0.145535
0.132304
0.459757
0.459757
0.256891
0.202867
0.202867
0
0
0
0.184546
1,333
39
81
34.179487
0.834407
0.123781
0
0.090909
0
0
0.01049
0
0
0
0
0
0
1
0.363636
false
0.045455
0.090909
0.181818
0.772727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1dff12e521adc35a55a325e94ce7b777c8a6adda
65
py
Python
abc/abc171/abc171a.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
1
2019-08-21T00:49:34.000Z
2019-08-21T00:49:34.000Z
abc/abc171/abc171a.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
null
null
null
abc/abc171/abc171a.py
c-yan/atcoder
940e49d576e6a2d734288fadaf368e486480a948
[ "MIT" ]
null
null
null
A = input() if A.isupper(): print('A') else: print('a')
9.285714
15
0.492308
10
65
3.2
0.6
0.375
0
0
0
0
0
0
0
0
0
0
0.261538
65
6
16
10.833333
0.666667
0
0
0
0
0
0.030769
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
38175020edc153ce200f74df2d20ca18bce4cb3e
95
py
Python
apiservice/apps.py
evolutiolabs/django-quiz-portal
38749a614b89a9241073867c13ed4956b8bf5160
[ "Apache-2.0" ]
null
null
null
apiservice/apps.py
evolutiolabs/django-quiz-portal
38749a614b89a9241073867c13ed4956b8bf5160
[ "Apache-2.0" ]
null
null
null
apiservice/apps.py
evolutiolabs/django-quiz-portal
38749a614b89a9241073867c13ed4956b8bf5160
[ "Apache-2.0" ]
1
2018-12-27T09:19:41.000Z
2018-12-27T09:19:41.000Z
from django.apps import AppConfig class APIServiceConfig(AppConfig): name = 'apiservice'
15.833333
34
0.768421
10
95
7.3
0.9
0
0
0
0
0
0
0
0
0
0
0
0.157895
95
5
35
19
0.9125
0
0
0
0
0
0.105263
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
3817fd5108df61549a72173bde9a30f14b12d3b4
28
py
Python
utils/__init__.py
mecworks/garden-pi
134604e5273c64586e14f1419ba475faee5b3431
[ "MIT" ]
7
2015-07-07T18:57:05.000Z
2021-03-06T03:26:55.000Z
utils/__init__.py
mecworks/garden-pi
134604e5273c64586e14f1419ba475faee5b3431
[ "MIT" ]
1
2021-08-03T18:33:51.000Z
2021-08-05T20:24:58.000Z
utils/__init__.py
mecworks/garden-pi
134604e5273c64586e14f1419ba475faee5b3431
[ "MIT" ]
1
2018-11-28T04:43:46.000Z
2018-11-28T04:43:46.000Z
__author__ = 'mchristensen'
14
27
0.785714
2
28
9
1
0
0
0
0
0
0
0
0
0
0
0
0.107143
28
1
28
28
0.72
0
0
0
0
0
0.428571
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
381d54c8ed63331f8e5a647e66b55d10f66fbb32
54
py
Python
src/drod_bot/__init__.py
AntonNeld/drodbot
b69f715392235dc0d90775c452276b6f12ec4776
[ "MIT" ]
null
null
null
src/drod_bot/__init__.py
AntonNeld/drodbot
b69f715392235dc0d90775c452276b6f12ec4776
[ "MIT" ]
null
null
null
src/drod_bot/__init__.py
AntonNeld/drodbot
b69f715392235dc0d90775c452276b6f12ec4776
[ "MIT" ]
null
null
null
from .drod_bot import DrodBot __all__ = ("DrodBot",)
13.5
29
0.722222
7
54
4.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.148148
54
3
30
18
0.73913
0
0
0
0
0
0.12963
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
3822dc070ee9b5b406117456ff32fb616af1acd2
299
py
Python
liquid/admin.py
johncam11/liquid_dl
d2a3791d759a2fc1d8e8beb793c669c8ec5309b4
[ "MIT" ]
90
2017-08-24T18:57:21.000Z
2022-03-04T01:58:56.000Z
liquid/admin.py
johncam11/liquid_dl
d2a3791d759a2fc1d8e8beb793c669c8ec5309b4
[ "MIT" ]
22
2017-09-05T10:19:20.000Z
2021-06-10T18:09:48.000Z
liquid/admin.py
johncam11/liquid_dl
d2a3791d759a2fc1d8e8beb793c669c8ec5309b4
[ "MIT" ]
11
2017-09-05T18:24:37.000Z
2020-06-11T18:13:45.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib import admin # Register your models here. from liquid.models import LiquidTorrent, YoutubedlVideo, VideoSubscription admin.register(LiquidTorrent) admin.register(YoutubedlVideo) admin.register(VideoSubscription)
24.916667
74
0.819398
33
299
7.272727
0.575758
0.216667
0
0
0
0
0
0
0
0
0
0.003717
0.100334
299
11
75
27.181818
0.888476
0.160535
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
69749bfe75c4faf77127855c205e9cf3e59d6061
1,924
py
Python
nicos_ess/utilities/table_utils.py
jkrueger1/nicos
5f4ce66c312dedd78995f9d91e8a6e3c891b262b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
null
null
null
nicos_ess/utilities/table_utils.py
jkrueger1/nicos
5f4ce66c312dedd78995f9d91e8a6e3c891b262b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
null
null
null
nicos_ess/utilities/table_utils.py
jkrueger1/nicos
5f4ce66c312dedd78995f9d91e8a6e3c891b262b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
null
null
null
# -*- coding: utf-8 -*- # ***************************************************************************** # NICOS, the Networked Instrument Control System of the MLZ # Copyright (c) 2009-2022 by the NICOS contributors (see AUTHORS) # # This program is free software; you can redistribute it and/or modify it under # the t...
36.301887
79
0.657484
277
1,924
4.527076
0.519856
0.062201
0.0311
0.045455
0.065391
0.044657
0
0
0
0
0
0.01723
0.185551
1,924
52
80
37
0.783025
0.810291
0
0
0
0
0.038869
0
0
0
0
0
0
1
0.4
false
0
0.2
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
698efc924abffcf11f4694d8bdd0205e5ead1527
458
py
Python
tsalib/__init__.py
zeta1999/tsalib
4f31a745e59ebb03faaa265dfbad09c7f9d491ed
[ "Apache-2.0" ]
null
null
null
tsalib/__init__.py
zeta1999/tsalib
4f31a745e59ebb03faaa265dfbad09c7f9d491ed
[ "Apache-2.0" ]
null
null
null
tsalib/__init__.py
zeta1999/tsalib
4f31a745e59ebb03faaa265dfbad09c7f9d491ed
[ "Apache-2.0" ]
null
null
null
name = "tsalib" #import sys #if sys.version_info < (3, 6, 1): # raise RuntimeError("TSAlib requires Python 3.6.1 or later") from .ts import dim_var, dim_vars, get_dim_vars from .tsn import tsn_to_shape from .utils import select, reduce_dims, size_assert, int_shape from .transforms import view_transform, permute_tr...
32.714286
73
0.790393
72
458
4.805556
0.597222
0.121387
0.17341
0.16763
0
0
0
0
0
0
0
0.015113
0.133188
458
13
74
35.230769
0.856423
0.229258
0
0
0
0
0.017143
0
0
0
0
0
0.125
1
0
false
0
0.875
0
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
1
0
1
0
0
3
6999a2b006367e027954cda2bd1b65a9a4a3662c
938
py
Python
src/tests/helpers/utils.py
LekSeek/soaptools
9ae7ae34f131d63ab784e48c5acb86c492409445
[ "MIT" ]
null
null
null
src/tests/helpers/utils.py
LekSeek/soaptools
9ae7ae34f131d63ab784e48c5acb86c492409445
[ "MIT" ]
null
null
null
src/tests/helpers/utils.py
LekSeek/soaptools
9ae7ae34f131d63ab784e48c5acb86c492409445
[ "MIT" ]
null
null
null
import os import pathlib import shutil from typing import List from unittest import TestCase from soaptools.cli import execute_command_from_args class SoapToolsTestCase(TestCase): output_location = pathlib.Path(__file__).parent.resolve() / "_redfdasfdssults" def execute_action(self, command): return ...
28.424242
87
0.627932
101
938
5.623762
0.465347
0.073944
0.06338
0.077465
0.158451
0.158451
0
0
0
0
0
0
0.279318
938
32
88
29.3125
0.840237
0.211087
0
0
0
0
0.037037
0
0
0
0
0
0
1
0.176471
false
0.058824
0.352941
0.058824
0.764706
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
69bcef0e7a987678e3502daf33dd192ff6b02cd1
99
py
Python
mysite/Hakunamatata/apps.py
manojkumarsingh123/my-website-
620b55f2c47b075fc7ef546637e0ea20d6ed7624
[ "Apache-2.0" ]
null
null
null
mysite/Hakunamatata/apps.py
manojkumarsingh123/my-website-
620b55f2c47b075fc7ef546637e0ea20d6ed7624
[ "Apache-2.0" ]
null
null
null
mysite/Hakunamatata/apps.py
manojkumarsingh123/my-website-
620b55f2c47b075fc7ef546637e0ea20d6ed7624
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class HakunamatataConfig(AppConfig): name = 'Hakunamatata'
16.5
36
0.777778
10
99
7.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.151515
99
5
37
19.8
0.916667
0
0
0
0
0
0.121212
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
69e08bfeffdd6af77532ca2bc750f3ecd7143e62
831
py
Python
tests/test_heartbeat.py
finnish-heritage-agency/passari-workflow
b5218d821f8c5c782b7f827ff2a052a2f70c5cf2
[ "MIT" ]
1
2020-06-17T11:01:57.000Z
2020-06-17T11:01:57.000Z
tests/test_heartbeat.py
finnish-heritage-agency/passari-workflow
b5218d821f8c5c782b7f827ff2a052a2f70c5cf2
[ "MIT" ]
null
null
null
tests/test_heartbeat.py
finnish-heritage-agency/passari-workflow
b5218d821f8c5c782b7f827ff2a052a2f70c5cf2
[ "MIT" ]
null
null
null
import datetime from passari_workflow.heartbeat import (HeartbeatSource, get_heartbeats, submit_heartbeat) def test_heartbeats(): """ Test that heartbeats are generated correctly """ heartbeats = get_heartbeats() # No heartbeats have been submitted ...
27.7
72
0.712395
88
831
6.534091
0.386364
0.165217
0.201739
0.177391
0.328696
0.313043
0
0
0
0
0
0
0.222623
831
29
73
28.655172
0.890093
0.173285
0
0.285714
0
0
0
0
0
0
0
0
0.357143
1
0.071429
false
0.071429
0.142857
0
0.214286
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
69e9eb78c5d7e32e5afb3f9657164c498a4a9275
457
py
Python
tests/kyu_6_tests/test_float_or_integer_verifier.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
tests/kyu_6_tests/test_float_or_integer_verifier.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
tests/kyu_6_tests/test_float_or_integer_verifier.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
import unittest from katas.kyu_6.float_or_integer_verifier import i_or_f class IntegerOrFloatTestCase(unittest.TestCase): def test_true(self): self.assertTrue(i_or_f('1')) def test_true_2(self): self.assertTrue(i_or_f('1.0')) def test_true_3(self): self.assertTrue(i_or_f('1e1'))...
21.761905
56
0.673961
75
457
3.773333
0.373333
0.063604
0.084806
0.335689
0.416961
0.416961
0.339223
0.176678
0
0
0
0.038147
0.196937
457
20
57
22.85
0.73297
0
0
0
0
0
0.032823
0
0
0
0
0
0.384615
1
0.384615
false
0
0.153846
0
0.615385
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
69f50f2c88cb1ad48b6fc4f7c63de94998600895
2,104
py
Python
Incident-Response/Tools/dfirtrack/dfirtrack_config/tests/system/test_system_exporter_markdown_config_forms.py
sn0b4ll/Incident-Playbook
cf519f58fcd4255674662b3620ea97c1091c1efb
[ "MIT" ]
1
2021-07-24T17:22:50.000Z
2021-07-24T17:22:50.000Z
Incident-Response/Tools/dfirtrack/dfirtrack_config/tests/system/test_system_exporter_markdown_config_forms.py
sn0b4ll/Incident-Playbook
cf519f58fcd4255674662b3620ea97c1091c1efb
[ "MIT" ]
2
2022-02-28T03:40:31.000Z
2022-02-28T03:40:52.000Z
Incident-Response/Tools/dfirtrack/dfirtrack_config/tests/system/test_system_exporter_markdown_config_forms.py
sn0b4ll/Incident-Playbook
cf519f58fcd4255674662b3620ea97c1091c1efb
[ "MIT" ]
2
2022-02-25T08:34:51.000Z
2022-03-16T17:29:44.000Z
from django.test import TestCase from dfirtrack_config.forms import SystemExporterMarkdownConfigForm class SystemExporterMarkdownConfigFormTestCase(TestCase): """ system exporter markdown config form tests """ def test_system_exporter_markdown_config_markdown_path_form_label(self): """ test form label...
34.491803
108
0.669202
202
2,104
6.688119
0.217822
0.072539
0.11399
0.145078
0.773501
0.746854
0.746854
0.681717
0.631384
0.551443
0
0
0.242395
2,104
60
109
35.066667
0.847553
0.170152
0
0.464286
0
0
0.109338
0
0
0
0
0
0.214286
1
0.214286
false
0
0.071429
0
0.321429
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
0e02988df19a4797e4fa8a58a433a70a0ad9606d
132
py
Python
week2day4.py
raulfernandez/curso-python
c9179af16278ed8c98417ffb723e7ba67645aeef
[ "MIT" ]
null
null
null
week2day4.py
raulfernandez/curso-python
c9179af16278ed8c98417ffb723e7ba67645aeef
[ "MIT" ]
null
null
null
week2day4.py
raulfernandez/curso-python
c9179af16278ed8c98417ffb723e7ba67645aeef
[ "MIT" ]
null
null
null
from collections import Counter def main(): foo = [(item, letra) for item in range(100) for letra in range(10)] print(foo)
22
71
0.674242
21
132
4.238095
0.714286
0.157303
0
0
0
0
0
0
0
0
0
0.048077
0.212121
132
6
72
22
0.807692
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
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
1
0
0
0
0
0
0
0
3
0e11a9299e6afa781ff26264d27aeca56f749464
1,117
py
Python
tests/test_better_assertions.py
ryan-rs/pytest-examples
9ca2368c5e86f651497e42bb304415cf2ae3a0df
[ "Apache-2.0" ]
null
null
null
tests/test_better_assertions.py
ryan-rs/pytest-examples
9ca2368c5e86f651497e42bb304415cf2ae3a0df
[ "Apache-2.0" ]
null
null
null
tests/test_better_assertions.py
ryan-rs/pytest-examples
9ca2368c5e86f651497e42bb304415cf2ae3a0df
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # ====================================================================================================================== # Imports # ====================================================================================================================== import pytest # =========================...
37.233333
120
0.425246
84
1,117
5.5
0.416667
0.12987
0.090909
0.103896
0.599567
0.599567
0.331169
0.331169
0.331169
0.331169
0
0.072937
0.067144
1,117
29
121
38.517241
0.370441
0.52641
0
0.230769
0
0
0.28131
0.208092
0
0
0
0
0.307692
1
0.230769
true
0
0.076923
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
3
3850fe1d5f0bfc1da29afe4c90e1acc9d0ac7443
4,182
py
Python
quay/__init__.py
angeiv/python-quay
16072f87956d8f581ac9ebccc67f6563e977cf52
[ "MIT" ]
null
null
null
quay/__init__.py
angeiv/python-quay
16072f87956d8f581ac9ebccc67f6563e977cf52
[ "MIT" ]
null
null
null
quay/__init__.py
angeiv/python-quay
16072f87956d8f581ac9ebccc67f6563e977cf52
[ "MIT" ]
null
null
null
# coding: utf-8 # flake8: noqa """ Quay Frontend This API allows you to perform many of the operations required to work with Quay repositories, users, and organizations. You can find out more at <a href=\"https://quay.io\">Quay</a>. # noqa: E501 OpenAPI spec version: v1 Contact: support@quay.io ...
46.988764
201
0.867288
581
4,182
6.07401
0.316695
0.156418
0.174554
0.043355
0.089544
0.027203
0
0
0
0
0
0.001574
0.088714
4,182
88
202
47.522727
0.924429
0.103061
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
385e0f740f2513bbb1c95281164b4beeedd24391
538
pyde
Python
Homework/Listings/li4/li4.pyde
GranDarKross/2019-fall-polytech-cs
01ea3dccf7da66a32b14ec0df28d97cefc1d2160
[ "MIT" ]
null
null
null
Homework/Listings/li4/li4.pyde
GranDarKross/2019-fall-polytech-cs
01ea3dccf7da66a32b14ec0df28d97cefc1d2160
[ "MIT" ]
null
null
null
Homework/Listings/li4/li4.pyde
GranDarKross/2019-fall-polytech-cs
01ea3dccf7da66a32b14ec0df28d97cefc1d2160
[ "MIT" ]
null
null
null
windowWidth=500 windowHeight=500 ellipseSize=100 def setup(): size(500,500) smooth() background(255) fill(50,80) stroke(100) strokeWeight(3) noLoop() def draw(): ellipse(windowWidth/2,windowHeight/2-ellipseSize/2,ellipseSize,ellipseSize) ellipse(windowWidth/2-ellip...
28.315789
80
0.719331
60
538
6.45
0.35
0.248062
0.196382
0.258398
0.682171
0.682171
0.682171
0.682171
0.682171
0.449612
0
0.084821
0.167286
538
18
81
29.888889
0.779018
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
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
385f8978b27fae03dc8724e87d62d8d22b6e9710
592
py
Python
devinstaller_core/module_group.py
devinstaller/devinstaller
8d360dee5bcec36287d75616a95214f74a55a52d
[ "MIT" ]
null
null
null
devinstaller_core/module_group.py
devinstaller/devinstaller
8d360dee5bcec36287d75616a95214f74a55a52d
[ "MIT" ]
null
null
null
devinstaller_core/module_group.py
devinstaller/devinstaller
8d360dee5bcec36287d75616a95214f74a55a52d
[ "MIT" ]
null
null
null
"""Group module """ from typing import List, Optional from pydantic.dataclasses import dataclass from devinstaller_core import module_base as mb @dataclass class ModuleGroup(mb.ModuleBase): """The class which will be used by all the modules """ # pylint: disable=too-many-instance-attributes optiona...
22.769231
62
0.673986
75
592
5.293333
0.613333
0.083123
0.075567
0.095718
0.2267
0.2267
0.2267
0.2267
0.2267
0.2267
0
0
0.226351
592
25
63
23.68
0.866812
0.393581
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.888889
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
3860aafc7306c764cfc055745038a78ba99de1fd
1,090
py
Python
hapi/__init__.py
xyzhou-puck/hapi
4c11001a9696270aa9affcb37ead098343f56e5c
[ "Apache-2.0" ]
null
null
null
hapi/__init__.py
xyzhou-puck/hapi
4c11001a9696270aa9affcb37ead098343f56e5c
[ "Apache-2.0" ]
null
null
null
hapi/__init__.py
xyzhou-puck/hapi
4c11001a9696270aa9affcb37ead098343f56e5c
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
33.030303
76
0.763303
158
1,090
5.234177
0.525316
0.116082
0.186215
0.038694
0
0
0
0
0
0
0
0.008772
0.163303
1,090
32
77
34.0625
0.898026
0.53578
0
0
0
0
0.160569
0
0
0
0
0
0
1
0
false
0
0.705882
0
0.705882
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
3897a0eed868fccbc75c67ba9dcaa8c5dcba4210
1,357
py
Python
src/wafp/targets/catalog/restler_demo/__init__.py
schemathesis/web-api-fuzzing-project
69916d9ba9c8c844c7f529dd116790b1f7a135a9
[ "MIT" ]
5
2021-05-10T16:14:46.000Z
2021-09-18T13:29:42.000Z
src/wafp/targets/catalog/restler_demo/__init__.py
schemathesis/web-api-fuzzing-project
69916d9ba9c8c844c7f529dd116790b1f7a135a9
[ "MIT" ]
4
2021-05-10T10:42:56.000Z
2021-11-13T08:15:11.000Z
src/wafp/targets/catalog/restler_demo/__init__.py
schemathesis/web-api-fuzzing-project
69916d9ba9c8c844c7f529dd116790b1f7a135a9
[ "MIT" ]
null
null
null
from wafp.targets import BaseTarget, Metadata, SchemaSource, SchemaSourceType, Specification, SpecificationType class Default(BaseTarget): def get_base_url(self) -> str: return f"http://0.0.0.0:{self.port}/api" def get_schema_location(self) -> str: return f"http://0.0.0.0:{self.port}/api/swag...
37.694444
111
0.62196
163
1,357
5.104294
0.392638
0.129808
0.16226
0.126202
0.340144
0.340144
0.216346
0.173077
0.173077
0.173077
0
0.012695
0.245394
1,357
35
112
38.771429
0.799805
0.258659
0
0.095238
0
0
0.133267
0.022044
0
0
0
0
0
1
0.238095
false
0
0.047619
0.238095
0.619048
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
38b60768ff418bbdcb6fa90443317b01125e2ac9
22
py
Python
aliyunsdkcore/auth/__init__.py
duangy/aliyunsdkcore
39d2fad7134659ae26135895f4f890b8a369882f
[ "Apache-2.0" ]
28
2017-09-19T08:52:09.000Z
2022-01-06T14:37:24.000Z
aliyunsdkcore/http_service/__init__.py
duangy/aliyunsdkcore
39d2fad7134659ae26135895f4f890b8a369882f
[ "Apache-2.0" ]
8
2018-01-26T11:09:26.000Z
2020-12-07T22:39:26.000Z
aliyunsdkcore/auth/__init__.py
duangy/aliyunsdkcore
39d2fad7134659ae26135895f4f890b8a369882f
[ "Apache-2.0" ]
5
2018-01-29T07:40:44.000Z
2021-09-20T14:59:44.000Z
__author__='guangyao'
11
21
0.818182
2
22
7
1
0
0
0
0
0
0
0
0
0
0
0
0.045455
22
1
22
22
0.666667
0
0
0
0
0
0.363636
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