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
756a1e53d4d6db58a6ec2195b617ee99d684c01d
638
py
Python
djangoproject/gameapp/views.py
michaeltu1/Catan
5bd60196aa9034307ae471f99c0d9b11344da9fe
[ "MIT" ]
null
null
null
djangoproject/gameapp/views.py
michaeltu1/Catan
5bd60196aa9034307ae471f99c0d9b11344da9fe
[ "MIT" ]
null
null
null
djangoproject/gameapp/views.py
michaeltu1/Catan
5bd60196aa9034307ae471f99c0d9b11344da9fe
[ "MIT" ]
1
2021-08-21T02:05:08.000Z
2021-08-21T02:05:08.000Z
from django.shortcuts import render from django.http import JsonResponse def home(request): return render(request, "home.html", {}) def about(request): from gameapp.placeholder import test_function return render(request, "about.html", {"my_stuff" : test_function}) def test_json(request): from gameapp...
30.380952
71
0.717868
75
638
5.986667
0.36
0.160356
0.126949
0.193764
0.398664
0.398664
0.398664
0.293987
0.293987
0.293987
0
0
0.173981
638
21
71
30.380952
0.851992
0
0
0.176471
0
0
0.137715
0
0
0
0
0
0
1
0.235294
false
0
0.294118
0.058824
0.764706
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
7582ae4b29e2a2bf915fd06845c4cf51b32a64e5
1,721
py
Python
code/oldcodeforrafactory/web.py
PC-fit-Christian-Rupp/serverstatepage
8f66c961074fc095a0c0912a2ad41bfce794bee4
[ "MIT" ]
null
null
null
code/oldcodeforrafactory/web.py
PC-fit-Christian-Rupp/serverstatepage
8f66c961074fc095a0c0912a2ad41bfce794bee4
[ "MIT" ]
1
2016-07-20T16:26:38.000Z
2016-07-20T16:28:15.000Z
code/oldcodeforrafactory/web.py
PC-fit-Christian-Rupp/serverstatepage
8f66c961074fc095a0c0912a2ad41bfce794bee4
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import configparser import cgitb import loadConfig cgitb.enable() class web: def __init__(self, page = None): if page: self.__page = page else: self.__page = 'WebElements' self.__setElementsFile() self.__loadPattern() self.__loadHeader() self.__loadBody() if self.__page == 'I...
20.011628
58
0.717025
217
1,721
5.115207
0.285714
0.093694
0.126126
0.121622
0
0
0
0
0
0
0
0.000683
0.148751
1,721
85
59
20.247059
0.756997
0.03312
0
0.033333
0
0
0.067429
0
0
0
0
0
0
1
0.316667
false
0
0.05
0.166667
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
758593e560bf88ee37bf1651e002c3fd611b6737
541
py
Python
django-rgd-3d/rgd_3d/rest/get.py
ResonantGeoData/ResonantGeoData
72b3d4085cc5700d0ad5556f31b7eb96ed2d3b8a
[ "Apache-2.0" ]
40
2020-05-07T17:15:26.000Z
2022-02-27T14:45:04.000Z
django-rgd-3d/rgd_3d/rest/get.py
ResonantGeoData/ResonantGeoData
72b3d4085cc5700d0ad5556f31b7eb96ed2d3b8a
[ "Apache-2.0" ]
408
2020-05-07T15:10:35.000Z
2022-03-30T03:08:47.000Z
django-rgd-3d/rgd_3d/rest/get.py
ResonantGeoData/ResonantGeoData
72b3d4085cc5700d0ad5556f31b7eb96ed2d3b8a
[ "Apache-2.0" ]
3
2021-04-12T20:16:22.000Z
2021-06-22T14:03:46.000Z
from rest_framework.generics import RetrieveAPIView from rgd.rest.mixins import BaseRestViewMixin from rgd_3d import models, serializers class GetPointCloudMeta(BaseRestViewMixin, RetrieveAPIView): serializer_class = serializers.PointCloudMetaSerializer lookup_field = 'pk' queryset = models.PointCloudMeta...
33.8125
64
0.817006
50
541
8.72
0.5
0.03211
0.192661
0.215596
0.5
0.233945
0.233945
0.233945
0
0
0
0.002101
0.120148
541
15
65
36.066667
0.913866
0
0
0.363636
0
0
0.007394
0
0
0
0
0
0
1
0
false
0
0.272727
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
75a54f09cc3653c07d78c71204e19415e83b9ec1
398
py
Python
Assignments/Comprehensions/Exercise/05. Diagonals.py
KaloyankerR/python-advanced-repository
711672d0f033a5adffc3ca689d02d2a7a9a26bfb
[ "MIT" ]
null
null
null
Assignments/Comprehensions/Exercise/05. Diagonals.py
KaloyankerR/python-advanced-repository
711672d0f033a5adffc3ca689d02d2a7a9a26bfb
[ "MIT" ]
null
null
null
Assignments/Comprehensions/Exercise/05. Diagonals.py
KaloyankerR/python-advanced-repository
711672d0f033a5adffc3ca689d02d2a7a9a26bfb
[ "MIT" ]
null
null
null
n = int(input()) matrix = [[int(x) for x in input().split(", ")] for _ in range(n)] first_diagonal = [matrix[i][i] for i in range(n)] second_diagonal = [matrix[i][n - 1 - i] for i in range(n)] print(f"First diagonal: {', '.join([str(x) for x in first_diagonal])}. Sum: {sum(first_diagonal)}") print(f"Second diagonal: ...
44.222222
102
0.640704
69
398
3.594203
0.275362
0.209677
0.060484
0.084677
0.282258
0.282258
0.177419
0
0
0
0
0.002915
0.138191
398
8
103
49.75
0.720117
0
0
0
0
0.333333
0.459799
0.10804
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
75bcf038c49de27b870ea70e086a0954ce07e48c
207
py
Python
social_media/utils.py
TejasM/socialmedia
84764b8f17c73b4991af4f711a27e11b9d95c264
[ "MIT" ]
null
null
null
social_media/utils.py
TejasM/socialmedia
84764b8f17c73b4991af4f711a27e11b9d95c264
[ "MIT" ]
null
null
null
social_media/utils.py
TejasM/socialmedia
84764b8f17c73b4991af4f711a27e11b9d95c264
[ "MIT" ]
null
null
null
import requests __author__ = 'tmehta' ip_address = '' port = '5000' connection = 'https://' + ip_address + ':' + port + '/' def post_to_server(data): return requests.post(connection + 'event/', data)
18.818182
55
0.652174
24
207
5.291667
0.708333
0.141732
0.204724
0
0
0
0
0
0
0
0
0.023392
0.173913
207
11
56
18.818182
0.719298
0
0
0
0
0
0.125
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
0.428571
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
75c538f1d2c8b7edbad0f7d49dac938d5bd198c1
717
py
Python
euler014.py
dshirle7/euler
ee0ad73a9cc250674aa0cea30e4179aac1effccb
[ "MIT" ]
null
null
null
euler014.py
dshirle7/euler
ee0ad73a9cc250674aa0cea30e4179aac1effccb
[ "MIT" ]
null
null
null
euler014.py
dshirle7/euler
ee0ad73a9cc250674aa0cea30e4179aac1effccb
[ "MIT" ]
null
null
null
''' Problem 14 The following iterative sequence is defined for the set of positive integers: n → n/2 (n is even) n → 3n + 1 (n is odd) Using the rule above and starting with 13, we generate the following sequence: 13 → 40 → 20 → 10 → 5 → 16 → 8 → 4 → 2 → 1 It can be seen that this sequence (starting at 13 and finis...
31.173913
93
0.74198
132
717
4.083333
0.560606
0.077922
0.06679
0
0
0
0
0
0
0
0
0.060137
0.188285
717
23
93
31.173913
0.847079
0.730823
0
0
1
0
0.446237
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
75d50301c7297201d1e1d8676339032b75f5302e
269
py
Python
tests/test_report_generator/test_report_generator.py
Grin941/habr_challenge
b4e65506a3f6e6421119a67d12d7ecc878384ec0
[ "MIT" ]
null
null
null
tests/test_report_generator/test_report_generator.py
Grin941/habr_challenge
b4e65506a3f6e6421119a67d12d7ecc878384ec0
[ "MIT" ]
null
null
null
tests/test_report_generator/test_report_generator.py
Grin941/habr_challenge
b4e65506a3f6e6421119a67d12d7ecc878384ec0
[ "MIT" ]
null
null
null
def test_report_column_width(report_generator): assert report_generator.columns_width == ( len('{0} '.format(report_generator.REPORT_HEADER[0])), len(' {0} '.format(report_generator.REPORT_HEADER[1])), len(' пример решение проблема ') )
38.428571
63
0.67658
32
269
5.375
0.5
0.348837
0.116279
0.186047
0.430233
0.430233
0.430233
0
0
0
0
0.018182
0.182156
269
6
64
44.833333
0.763636
0
0
0
0
0
0.126394
0
0
0
0
0
0.166667
1
0.166667
false
0
0
0
0.166667
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
75e6c68434e8e58a9d54e8348da9874dae526b23
86
py
Python
vmaig_blog/uwsgi-2.0.14/plugins/exception_log/uwsgiplugin.py
StanYaha/Blog
3cb38918e14ebe6ce2e2952ef272de116849910d
[ "BSD-3-Clause" ]
1
2018-11-24T16:10:49.000Z
2018-11-24T16:10:49.000Z
vmaig_blog/uwsgi-2.0.14/plugins/exception_log/uwsgiplugin.py
StanYaha/Blog
3cb38918e14ebe6ce2e2952ef272de116849910d
[ "BSD-3-Clause" ]
null
null
null
vmaig_blog/uwsgi-2.0.14/plugins/exception_log/uwsgiplugin.py
StanYaha/Blog
3cb38918e14ebe6ce2e2952ef272de116849910d
[ "BSD-3-Clause" ]
null
null
null
NAME='exception_log' CFLAGS = [] LDFLAGS = [] LIBS = [] GCC_LIST = ['exception_log']
12.285714
28
0.639535
10
86
5.2
0.8
0.461538
0
0
0
0
0
0
0
0
0
0
0.162791
86
6
29
14.333333
0.722222
0
0
0
0
0
0.302326
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
75fd5d0c2400a93eab9f46ba3a52799e05cdab80
146
py
Python
Mastering Django source/section1/part5/urls.py
PacktPublishing/Mastering-Django-Web-Development
c4b18a4759f443e9dabdb81e13503737aa682bee
[ "MIT" ]
5
2020-06-10T05:40:54.000Z
2021-11-08T13:10:16.000Z
Mastering Django source/section1/part5/urls.py
PacktPublishing/Mastering-Django-Web-Development
c4b18a4759f443e9dabdb81e13503737aa682bee
[ "MIT" ]
null
null
null
Mastering Django source/section1/part5/urls.py
PacktPublishing/Mastering-Django-Web-Development
c4b18a4759f443e9dabdb81e13503737aa682bee
[ "MIT" ]
3
2019-05-29T09:27:02.000Z
2021-05-30T17:57:30.000Z
from django.conf.urls import include, url from . import views urlpatterns = [ url(r'^(?P<operator>\w+)/$', views.ProcessPayment.as_view()), ]
24.333333
65
0.684932
20
146
4.95
0.8
0
0
0
0
0
0
0
0
0
0
0
0.130137
146
6
66
24.333333
0.779528
0
0
0
0
0
0.136054
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
f94a4da54421f59055c30745b78ab4b49b5d0a06
188
py
Python
credits.py
FeralKatt/Cat-Butt
20275ee156e657dc41a330f0ba7360cef7fdfa81
[ "MIT" ]
null
null
null
credits.py
FeralKatt/Cat-Butt
20275ee156e657dc41a330f0ba7360cef7fdfa81
[ "MIT" ]
null
null
null
credits.py
FeralKatt/Cat-Butt
20275ee156e657dc41a330f0ba7360cef7fdfa81
[ "MIT" ]
null
null
null
# fonts """ # deadman font by Scott Minnis # https://www.dafont.com/deadman.font """ # Icon """ Cat Butt icon icon by Icons8 https://icons8.com/icons/set/butt "https://icons8.com" """
11.75
37
0.659574
28
188
4.428571
0.571429
0.177419
0.225806
0
0
0
0
0
0
0
0
0.01875
0.148936
188
16
38
11.75
0.75625
0.425532
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
f9525fe153aa92cd3410ec9340261ee0c732df8d
266
py
Python
organization/urls.py
funsojoba/davent
1d7c56e98f8feb319320293e6ba6bd7f6ee6e3c0
[ "MIT" ]
null
null
null
organization/urls.py
funsojoba/davent
1d7c56e98f8feb319320293e6ba6bd7f6ee6e3c0
[ "MIT" ]
null
null
null
organization/urls.py
funsojoba/davent
1d7c56e98f8feb319320293e6ba6bd7f6ee6e3c0
[ "MIT" ]
null
null
null
from django.urls import path, include from .views import OrganizationViewSet from rest_framework.routers import DefaultRouter router = DefaultRouter(trailing_slash=False) router.register("", OrganizationViewSet, basename="organization") urlpatterns = router.urls
26.6
65
0.830827
29
266
7.551724
0.689655
0
0
0
0
0
0
0
0
0
0
0
0.093985
266
9
66
29.555556
0.908714
0
0
0
0
0
0.045113
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
f97b48e1b9c9556ea7e3bf5d700bee4b38a57571
52
py
Python
PlotFun/__init__.py
MatthewPeterKelly/miscpy
863b098acb285d59b990c4af8249de306986d303
[ "MIT" ]
1
2021-03-12T15:51:31.000Z
2021-03-12T15:51:31.000Z
miscpy/PlotFun/__init__.py
dsavransky/miscpy
254d8b6be58012b9318dad8b7215f3d6b958ddbb
[ "MIT" ]
null
null
null
miscpy/PlotFun/__init__.py
dsavransky/miscpy
254d8b6be58012b9318dad8b7215f3d6b958ddbb
[ "MIT" ]
1
2016-05-02T13:23:46.000Z
2016-05-02T13:23:46.000Z
__all__ = ['logHist'] from logHist import logHist
10.4
27
0.730769
6
52
5.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.173077
52
4
28
13
0.790698
0
0
0
0
0
0.137255
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
f9961efb5eb1ab0e1b68653e8df151e7f3e5318a
249
py
Python
examples/radio_messages.py
biocad/mq-component-py
f26251f601432ca4989941b9517c587f9fdd11d6
[ "BSD-3-Clause" ]
null
null
null
examples/radio_messages.py
biocad/mq-component-py
f26251f601432ca4989941b9517c587f9fdd11d6
[ "BSD-3-Clause" ]
null
null
null
examples/radio_messages.py
biocad/mq-component-py
f26251f601432ca4989941b9517c587f9fdd11d6
[ "BSD-3-Clause" ]
2
2018-05-14T14:35:26.000Z
2018-11-08T08:11:11.000Z
from mq.protocol import JSON from json import loads class RadioMessage(JSON): def __init__(self): self.message = "Hello! It's me." def unpack(self, packed_data): self.message = loads(packed_data.decode('UTF-8'))['message']
24.9
68
0.674699
35
249
4.628571
0.628571
0.135802
0
0
0
0
0
0
0
0
0
0.005
0.196787
249
9
69
27.666667
0.805
0
0
0
0
0
0.108434
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0
0.714286
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
f9b3e46ce4d5dca564e080a67534bf4bcc1bf02f
506
py
Python
loss_keras/dice_loss.py
ForrestPi/SegDL
56f2ff229dfa7540704d6de50292c724693aac75
[ "MIT" ]
1
2021-07-26T08:30:11.000Z
2021-07-26T08:30:11.000Z
loss_keras/dice_loss.py
ForrestPi/SegDL
56f2ff229dfa7540704d6de50292c724693aac75
[ "MIT" ]
null
null
null
loss_keras/dice_loss.py
ForrestPi/SegDL
56f2ff229dfa7540704d6de50292c724693aac75
[ "MIT" ]
1
2021-07-21T09:18:32.000Z
2021-07-21T09:18:32.000Z
import keras.backend as K def dice_coef(y_true, y_pred, smooth=1): # if np.max(y_true) == 0.0: # return dice_coef(1-y_true, 1-y_pred) ##if need for empty image; intersection = K.sum(y_true * y_pred, axis=[1,2,3]) union = K.sum(y_true, axis=[1,2,3])...
33.733333
81
0.567194
88
506
3.056818
0.375
0.092937
0.055762
0.078067
0.089219
0.089219
0
0
0
0
0
0.043956
0.280632
506
15
82
33.733333
0.695055
0.278656
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
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
f9b74a81ff53afddf328f837961e9291035fa02d
172
py
Python
tests/test_portfolio.py
Haplo-Dragon/portfolio
7fdff5a1155b2f3385965b3b73923d80a83519cf
[ "MIT" ]
null
null
null
tests/test_portfolio.py
Haplo-Dragon/portfolio
7fdff5a1155b2f3385965b3b73923d80a83519cf
[ "MIT" ]
null
null
null
tests/test_portfolio.py
Haplo-Dragon/portfolio
7fdff5a1155b2f3385965b3b73923d80a83519cf
[ "MIT" ]
1
2018-06-12T02:20:53.000Z
2018-06-12T02:20:53.000Z
import pytest def test_index(client): """Does the portfolio's main page render properly?""" response = client.get("/") assert b"Development" in response.data
21.5
57
0.69186
23
172
5.130435
0.913043
0
0
0
0
0
0
0
0
0
0
0
0.186047
172
7
58
24.571429
0.842857
0.273256
0
0
0
0
0.10084
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
f9e09a538fcfde4e4792c6c08eed704fa009d208
161
py
Python
testsave.py
nemero/py_neural
87f151097f8c331a06f13b96c4cec9a1ee663abf
[ "MIT" ]
null
null
null
testsave.py
nemero/py_neural
87f151097f8c331a06f13b96c4cec9a1ee663abf
[ "MIT" ]
1
2017-01-18T18:35:03.000Z
2017-01-25T08:55:49.000Z
testsave.py
nemero/py_neural
87f151097f8c331a06f13b96c4cec9a1ee663abf
[ "MIT" ]
null
null
null
import numpy as np from tempfile import TemporaryFile outfile = TemporaryFile() syn0 = 'synapse/syn0.npy' x = np.arange(10) np.save(syn0, x) print np.load(syn0)
20.125
34
0.751553
26
161
4.653846
0.653846
0
0
0
0
0
0
0
0
0
0
0.042857
0.130435
161
8
35
20.125
0.821429
0
0
0
0
0
0.098765
0
0
0
0
0
0
0
null
null
0
0.285714
null
null
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
f9ea0070ce72260ca710b5302cf73c28bb76ca26
452
py
Python
generator/migrations/0008_auto_20181012_2010.py
Matoking/Markovstuck
177fc714161752176d6d662eb908e5b3fb3bce11
[ "Unlicense" ]
3
2016-04-01T19:58:26.000Z
2016-08-14T23:21:53.000Z
generator/migrations/0008_auto_20181012_2010.py
Matoking/Markovstuck
177fc714161752176d6d662eb908e5b3fb3bce11
[ "Unlicense" ]
8
2020-02-11T21:45:28.000Z
2021-06-09T17:18:48.000Z
generator/migrations/0008_auto_20181012_2010.py
Matoking/Markovstuck
177fc714161752176d6d662eb908e5b3fb3bce11
[ "Unlicense" ]
null
null
null
# Generated by Django 2.1.2 on 2018-10-12 20:10 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('generator', '0007_auto_20181012_2006'), ] operations = [ migrations.DeleteModel( name='CharacterText', ), migrations.Del...
19.652174
49
0.568584
40
452
6.35
0.7
0.248032
0.295276
0
0
0
0
0
0
0
0
0.101307
0.323009
452
22
50
20.545455
0.728758
0.099558
0
0.375
1
0
0.160494
0.05679
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
dda670e3842536d3dca85eb8bf1262a564e16874
201
py
Python
Edabit/FlattenList.py
JLJTECH/TutorialTesting
f2dbbd49a86b3b086d0fc156ac3369fb74727f86
[ "MIT" ]
null
null
null
Edabit/FlattenList.py
JLJTECH/TutorialTesting
f2dbbd49a86b3b086d0fc156ac3369fb74727f86
[ "MIT" ]
null
null
null
Edabit/FlattenList.py
JLJTECH/TutorialTesting
f2dbbd49a86b3b086d0fc156ac3369fb74727f86
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 ''' Create a function that concatenates n input lists, where n is variable. ''' def concat(*args): flat_list = [item for sublist in args for item in sublist] return flat_list
25.125
71
0.731343
33
201
4.393939
0.757576
0.110345
0
0
0
0
0
0
0
0
0
0.005988
0.169154
201
7
72
28.714286
0.862275
0.462687
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
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
0
0
1
0
0
3
dda96f289b47678ce8bbe4a07b79c4e617f9fe03
406
py
Python
elemental/exceptions.py
candeira/elemental
db729e173c16105c412f093135f834cd0fa87a3a
[ "MIT" ]
38
2020-11-11T03:50:36.000Z
2021-11-08T02:33:15.000Z
elemental/exceptions.py
candeira/elemental
db729e173c16105c412f093135f834cd0fa87a3a
[ "MIT" ]
9
2020-10-18T01:58:13.000Z
2021-08-20T05:32:34.000Z
elemental/exceptions.py
candeira/elemental
db729e173c16105c412f093135f834cd0fa87a3a
[ "MIT" ]
1
2020-10-29T23:43:59.000Z
2020-10-29T23:43:59.000Z
class BrowserError(Exception): """Raise when there is a problem with a browser operation.""" class NoSuchAttributeError(Exception): """Raise when an attribute cannot be found on an element.""" class NoSuchElementError(Exception): """Raise when an element cannot be found.""" class ParameterError(Except...
27.066667
79
0.731527
51
406
5.823529
0.509804
0.188552
0.242424
0.154882
0.249158
0.249158
0.249158
0.249158
0
0
0
0
0.169951
406
14
80
29
0.881306
0.539409
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
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
1
0
0
0
1
0
0
3
ddc65dec25946af86338e8664bfc926e6539fea0
201
py
Python
aqua_test/core/hashing.py
behara/AquaRepo
cfd4316272c09d0c95621b538c27be608be9a940
[ "MIT" ]
null
null
null
aqua_test/core/hashing.py
behara/AquaRepo
cfd4316272c09d0c95621b538c27be608be9a940
[ "MIT" ]
null
null
null
aqua_test/core/hashing.py
behara/AquaRepo
cfd4316272c09d0c95621b538c27be608be9a940
[ "MIT" ]
1
2020-03-18T16:01:42.000Z
2020-03-18T16:01:42.000Z
''' Common Hashing Utilities. ''' import hashlib def md5(string): ''' Generate md5 hex digest value from a string input. ''' m = hashlib.md5() m.update(string) return m.hexdigest()
16.75
62
0.636816
26
201
4.923077
0.730769
0
0
0
0
0
0
0
0
0
0
0.019355
0.228856
201
11
63
18.272727
0.806452
0.383085
0
0
1
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
ddcfb513d3f1e48da772a58012657e67943fa596
349
py
Python
gradientflow/__init__.py
mariogeiger/gradientflow
16749d538ca1caf3052ca50bfbdbabb61bd8e3a1
[ "MIT" ]
1
2020-12-08T02:07:30.000Z
2020-12-08T02:07:30.000Z
gradientflow/__init__.py
mariogeiger/gradientflow
16749d538ca1caf3052ca50bfbdbabb61bd8e3a1
[ "MIT" ]
1
2021-08-30T14:50:01.000Z
2021-08-31T12:07:46.000Z
gradientflow/__init__.py
mariogeiger/gradientflow
16749d538ca1caf3052ca50bfbdbabb61bd8e3a1
[ "MIT" ]
null
null
null
""" flow """ __version__ = "0.0.1" from ._backprop import gradientflow_backprop from ._flow import flow from ._ode import flow_ode from ._sgd import gradientflow_backprop_sgd from ._kernel import gradientflow_kernel __all__ = [ "gradientflow_backprop", "flow", "flow_ode", "gradientflow_backprop_sgd", ...
18.368421
44
0.739255
41
349
5.731707
0.292683
0.340426
0.221277
0
0
0
0
0
0
0
0
0.010274
0.163324
349
18
45
19.388889
0.794521
0.011461
0
0
0
0
0.243323
0.136499
0
0
0
0
0
1
0
false
0
0.384615
0
0.384615
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
dde8024fbefd0d9c150f86751f0a548c73218724
93
py
Python
wd/wdapp/apps.py
LiYangCom1994/companylair
e8d085e3357b08f178b089c4a52e5dc2f9eb103f
[ "MIT" ]
1
2018-12-06T13:58:13.000Z
2018-12-06T13:58:13.000Z
wd/wdapp/apps.py
LiYangCom1994/companylair
e8d085e3357b08f178b089c4a52e5dc2f9eb103f
[ "MIT" ]
null
null
null
wd/wdapp/apps.py
LiYangCom1994/companylair
e8d085e3357b08f178b089c4a52e5dc2f9eb103f
[ "MIT" ]
null
null
null
from django.apps import AppConfig class WisdomDriversConfig(AppConfig): name = 'wdapp'
15.5
37
0.763441
10
93
7.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.16129
93
5
38
18.6
0.910256
0
0
0
0
0
0.053763
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
ddf6998eb08685825e3df714df3cd755c858c6ba
1,471
py
Python
DataPreparation/Post-processing.py
poulsvane/Deep-Learning
5baead95162a176c002b1e5fe3f8bdbf38753fa9
[ "Apache-2.0" ]
null
null
null
DataPreparation/Post-processing.py
poulsvane/Deep-Learning
5baead95162a176c002b1e5fe3f8bdbf38753fa9
[ "Apache-2.0" ]
null
null
null
DataPreparation/Post-processing.py
poulsvane/Deep-Learning
5baead95162a176c002b1e5fe3f8bdbf38753fa9
[ "Apache-2.0" ]
null
null
null
#%% import csv import os os.chdir('C:\\Users\\Poul Gunnar\\PycharmProjects\\Deep-Learning') #%% def importer(): x = [] with open('output.csv', 'r', encoding='utf-8') as csvfile: reader = csv.reader(csvfile, delimiter='\n') for row in reader: x.extend(row) return x #%% def trim(...
39.756757
818
0.431679
125
1,471
5.072
0.408
0.750789
1.09306
1.413249
0.386435
0.386435
0.386435
0.386435
0.386435
0.386435
0
0.003537
0.231135
1,471
36
819
40.861111
0.557029
0.011557
0
0
0
0
0.237898
0.026279
0
0
0
0
0
1
0.136364
false
0
0.181818
0
0.409091
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
ddfc95ec8955c4cd774d60869ca44a40ff87c390
1,650
py
Python
Python Tutorial Others/monad_functional_programming.py
PaulPan00/donkey_wrapper
a03cf0f42f65625fbce792b06c98acd153c5d6c8
[ "MIT" ]
6
2021-03-26T01:42:31.000Z
2021-04-11T16:17:42.000Z
Python Tutorial Others/monad_functional_programming.py
packetsss/Python
a03cf0f42f65625fbce792b06c98acd153c5d6c8
[ "MIT" ]
null
null
null
Python Tutorial Others/monad_functional_programming.py
packetsss/Python
a03cf0f42f65625fbce792b06c98acd153c5d6c8
[ "MIT" ]
7
2021-04-06T06:55:22.000Z
2021-05-03T11:26:38.000Z
#%% import time from operator import neg #%% """ `int` will throw a ValueError exception because it can't convert that string to an integer value. We will end up in an exception handler somewhere else in our code, or worse still our program might terminate with an error message. This is exactly the sort unpredictabilit...
30.555556
344
0.664242
259
1,650
4.181467
0.447876
0.033241
0.020314
0.027701
0.097876
0.066482
0.066482
0.066482
0.066482
0.066482
0
0.003192
0.240606
1,650
53
345
31.132075
0.861133
0.007879
0
0.111111
0
0
0.009569
0
0
0
0
0
0
1
0.222222
false
0
0.055556
0.138889
0.555556
0.055556
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
fb1492cbc8c0f5ba0f677545726ad2aa12946cd9
220
py
Python
backend/calories/urls.py
Zoki92/Calories-Counter
4b10c5661869c5a0645e59abb434ca26fd497f37
[ "MIT" ]
null
null
null
backend/calories/urls.py
Zoki92/Calories-Counter
4b10c5661869c5a0645e59abb434ca26fd497f37
[ "MIT" ]
6
2021-03-10T17:12:50.000Z
2022-03-02T08:30:05.000Z
backend/calories/urls.py
Zoki92/Calories-Counter
4b10c5661869c5a0645e59abb434ca26fd497f37
[ "MIT" ]
null
null
null
from django.urls import path from .views import MealViewSet from rest_framework.routers import DefaultRouter router = DefaultRouter() router.register(r'meals', MealViewSet, basename="meal") urlpatterns = router.urls
20
55
0.804545
27
220
6.518519
0.666667
0.215909
0
0
0
0
0
0
0
0
0
0
0.113636
220
10
56
22
0.902564
0
0
0
0
0
0.040909
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
fb26be04aea7056921a74780ac76c1176394a215
3,608
py
Python
model/specimendefinition.py
beda-software/fhir-py-experements
363cfb894fa6f971b9be19340cae1b0a3a4377d8
[ "MIT" ]
null
null
null
model/specimendefinition.py
beda-software/fhir-py-experements
363cfb894fa6f971b9be19340cae1b0a3a4377d8
[ "MIT" ]
null
null
null
model/specimendefinition.py
beda-software/fhir-py-experements
363cfb894fa6f971b9be19340cae1b0a3a4377d8
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Generated from FHIR 4.0.1-9346c8cc45 (http://hl7.org/fhir/StructureDefinition/SpecimenDefinition) on 2020-02-03. # 2020, SMART Health IT. import sys from dataclasses import dataclass, field from typing import ClassVar, Optional, List from .backboneelement import Back...
37.583333
115
0.768016
348
3,608
7.925287
0.362069
0.062001
0.058738
0.041697
0.115301
0.068891
0.068891
0.068891
0.068891
0
0
0.007795
0.146619
3,608
96
116
37.583333
0.887951
0.204545
0
0.127273
1
0
0.073782
0.052292
0
0
0
0
0
1
0
true
0
0.2
0
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
fb294200ac1f9aff8270fd47e59977375c1a48f6
466
py
Python
polimorfismo.py
Ruizdev7/pyEjercicios
83ab29cd49089b1a5f363d9ae900f883bd7d0664
[ "MIT" ]
1
2021-12-20T01:50:29.000Z
2021-12-20T01:50:29.000Z
polimorfismo.py
Ruizdev7/pyEjercicios
83ab29cd49089b1a5f363d9ae900f883bd7d0664
[ "MIT" ]
null
null
null
polimorfismo.py
Ruizdev7/pyEjercicios
83ab29cd49089b1a5f363d9ae900f883bd7d0664
[ "MIT" ]
null
null
null
class Coche(): def desplazamiento(self): print("Me desplazo utilizando cuatro ruedas") class Moto(): def desplazamiento(self): print("Me desplazo utilizando dos ruedas") class Camion(): def desplazamiento(self): print("Me desplazo utilizando seis ruedas") def desplazamien...
18.64
53
0.7103
46
466
7.195652
0.391304
0.154079
0.190332
0.23565
0.416918
0.416918
0.416918
0
0
0
0
0
0.188841
466
24
54
19.416667
0.875661
0
0
0.2
0
0
0.22103
0
0
0
0
0
0
1
0.266667
false
0
0
0
0.466667
0.2
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
fb3790ebdc617aa440580e6aa6ec08948ae5c606
912
py
Python
spin/forms.py
DominikZabron/spin
d4c00d89eb1e569705dacb90c3f11f4960f198d3
[ "MIT" ]
null
null
null
spin/forms.py
DominikZabron/spin
d4c00d89eb1e569705dacb90c3f11f4960f198d3
[ "MIT" ]
null
null
null
spin/forms.py
DominikZabron/spin
d4c00d89eb1e569705dacb90c3f11f4960f198d3
[ "MIT" ]
null
null
null
from flask_wtf import Form from wtforms import StringField, DecimalField from wtforms.validators import DataRequired, NumberRange from wtforms.widgets import PasswordInput class LoginForm(Form): username = StringField('username', validators=[DataRequired()]) password = StringField( 'password', ...
24.648649
67
0.656798
74
912
8.081081
0.405405
0.220736
0.150502
0.180602
0.503344
0.503344
0.404682
0.404682
0.404682
0.404682
0
0.017192
0.234649
912
36
68
25.333333
0.839542
0
0
0.4
0
0
0.057018
0
0
0
0
0
0
1
0
false
0.333333
0.133333
0
0.433333
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
1
0
0
0
0
0
3
348a2dfc8309e1e94f7ce2dc8165f7d0f054f07d
234
py
Python
Chapter 05/car.py
Wenzurk-Ma/Python-Crash-Course
25bb81af95e16f08c849da5f1161658839b85f61
[ "Apache-2.0" ]
null
null
null
Chapter 05/car.py
Wenzurk-Ma/Python-Crash-Course
25bb81af95e16f08c849da5f1161658839b85f61
[ "Apache-2.0" ]
null
null
null
Chapter 05/car.py
Wenzurk-Ma/Python-Crash-Course
25bb81af95e16f08c849da5f1161658839b85f61
[ "Apache-2.0" ]
null
null
null
# Title : TODO # Objective : TODO # Created by: Wenzurk # Created on: 2018/2/6 car = 'subaru' print("Is car == 'subaru'? I predict True.") print(car == 'subaru') print("\nIs car == 'audi'? I predict False.") print(car == 'audi')
21.272727
45
0.615385
34
234
4.235294
0.588235
0.1875
0.194444
0
0
0
0
0
0
0
0
0.031579
0.188034
234
11
46
21.272727
0.726316
0.316239
0
0
0
0
0.557692
0
0
0
0
0.090909
0
1
0
false
0
0
0
0
0.8
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
1
0
0
0
0
0
0
0
0
1
0
3
349119000b258722d59de41e1156c66cdc3be2f8
219
py
Python
refparser/exceptions.py
hashemi/refparser
d8413e5b3b9b4d6d0316e90fe04704feb7013f04
[ "MIT" ]
null
null
null
refparser/exceptions.py
hashemi/refparser
d8413e5b3b9b4d6d0316e90fe04704feb7013f04
[ "MIT" ]
null
null
null
refparser/exceptions.py
hashemi/refparser
d8413e5b3b9b4d6d0316e90fe04704feb7013f04
[ "MIT" ]
1
2020-05-22T03:48:01.000Z
2020-05-22T03:48:01.000Z
class ReferenceSyntaxError(Exception): """ Syntax error during parsing. """ pass class UnknownReferenceFormat(Exception): """ The format of the refrences data file is unknown. """ pass
16.846154
53
0.648402
21
219
6.761905
0.809524
0
0
0
0
0
0
0
0
0
0
0
0.260274
219
12
54
18.25
0.876543
0.356164
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
3494bab16a90191afdd15fde23b77749b6929945
690
py
Python
it_purchase_project/it_purchase_app/migrations/0032_auto_20180607_1058.py
gokhankaraboga/test
6d01ab00b5c03f56e817283dce42330d22e29820
[ "MIT" ]
null
null
null
it_purchase_project/it_purchase_app/migrations/0032_auto_20180607_1058.py
gokhankaraboga/test
6d01ab00b5c03f56e817283dce42330d22e29820
[ "MIT" ]
null
null
null
it_purchase_project/it_purchase_app/migrations/0032_auto_20180607_1058.py
gokhankaraboga/test
6d01ab00b5c03f56e817283dce42330d22e29820
[ "MIT" ]
null
null
null
# Generated by Django 2.0.5 on 2018-06-07 10:58 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('it_purchase_app', '0031_auto_20180607_1031'), ] operations = [ migrations.RemoveField( model_name='purchase', name='created_...
23
55
0.562319
63
690
5.936508
0.555556
0.192513
0.278075
0.320856
0.491979
0.491979
0.26738
0
0
0
0
0.067245
0.331884
690
29
56
23.793103
0.744035
0.065217
0
0.521739
1
0
0.203733
0.076205
0
0
0
0
0
1
0
false
0
0.043478
0
0.173913
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
34a413042b79d4fe8b7634dc51cca9551c5ff2e5
193
py
Python
Aula47 Exercicio_Projeto/Controller/open_txt.py
Renanrbsc/PadawanPython
6dc06a502d59127d0f180847e19b40c581baddd0
[ "MIT" ]
null
null
null
Aula47 Exercicio_Projeto/Controller/open_txt.py
Renanrbsc/PadawanPython
6dc06a502d59127d0f180847e19b40c581baddd0
[ "MIT" ]
null
null
null
Aula47 Exercicio_Projeto/Controller/open_txt.py
Renanrbsc/PadawanPython
6dc06a502d59127d0f180847e19b40c581baddd0
[ "MIT" ]
null
null
null
from flask_restful import Resource from Dao.Dao_txt import AmigoDao class ControllerAmigo(Resource): def __init__(self): self.dao = AmigoDao() def get(self): return self.dao.get_txt()
17.545455
34
0.761658
28
193
5
0.535714
0.1
0
0
0
0
0
0
0
0
0
0
0.145078
193
11
35
17.545455
0.848485
0
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0.142857
0.857143
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
34a66d88f070abf4b4894b919e27c421daa7bea6
4,378
py
Python
tests/factories_tests.py
johnnoone/django-rayures
a839bd134e41175b32715901ffd46d129b255812
[ "MIT" ]
null
null
null
tests/factories_tests.py
johnnoone/django-rayures
a839bd134e41175b32715901ffd46d129b255812
[ "MIT" ]
null
null
null
tests/factories_tests.py
johnnoone/django-rayures
a839bd134e41175b32715901ffd46d129b255812
[ "MIT" ]
null
null
null
import pytest from rayures import factories @pytest.mark.django_db class TestCustomerFactory: def test_default(self): instance = factories.CustomerFactory() assert instance.id assert instance.data["id"] == instance.id assert instance.data["delinquent"] is False def test_delinq...
30.402778
82
0.671768
478
4,378
6.069038
0.146444
0.275078
0.148914
0.215098
0.581179
0.533609
0.425026
0.369872
0.276801
0.260945
0
0.000297
0.231841
4,378
143
83
30.615385
0.862325
0
0
0.486957
0
0
0.0418
0
0
0
0
0
0.495652
1
0.165217
false
0
0.017391
0
0.26087
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
1
0
0
0
0
0
0
0
0
0
3
34aee4d5533303e0753e7063ec7ab97339732970
178
py
Python
statictemplate/urls.py
axju/djnago-statictemplate
1152293a61cd7f5f53fbab6e8d7d1cbc22027476
[ "MIT" ]
null
null
null
statictemplate/urls.py
axju/djnago-statictemplate
1152293a61cd7f5f53fbab6e8d7d1cbc22027476
[ "MIT" ]
null
null
null
statictemplate/urls.py
axju/djnago-statictemplate
1152293a61cd7f5f53fbab6e8d7d1cbc22027476
[ "MIT" ]
null
null
null
from django.urls import path from statictemplate.views import StaticTemplateView urlpatterns = [ path('<str:name>/', StaticTemplateView.as_view(), name='statictemplate'), ]
25.428571
77
0.764045
19
178
7.105263
0.684211
0
0
0
0
0
0
0
0
0
0
0
0.11236
178
6
78
29.666667
0.85443
0
0
0
0
0
0.140449
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
34c31e40b567778254c32e837d869f521bb5adb9
5,516
py
Python
trainer/helper.py
merlinarer/scrl
f5bc426ed6eef130d44dd3a5609dc0772da59613
[ "Apache-2.0" ]
102
2021-03-25T08:54:12.000Z
2022-03-30T03:46:47.000Z
trainer/helper.py
merlinarer/scrl
f5bc426ed6eef130d44dd3a5609dc0772da59613
[ "Apache-2.0" ]
10
2021-03-23T01:53:55.000Z
2021-07-30T08:51:19.000Z
trainer/helper.py
merlinarer/scrl
f5bc426ed6eef130d44dd3a5609dc0772da59613
[ "Apache-2.0" ]
12
2021-04-15T06:02:32.000Z
2022-02-10T15:34:39.000Z
from collections import OrderedDict from dataclasses import dataclass from enum import Enum from typing import Dict import torch from torch.utils.tensorboard import SummaryWriter from distributed import comm class TaskState(Enum): INIT = 1 TRAIN = 2 EVAL = 3 DONE = 4 @dataclass class TaskR...
31.163842
81
0.585932
656
5,516
4.670732
0.204268
0.057441
0.035901
0.034269
0.316253
0.306462
0.261097
0.252285
0.214426
0.178851
0
0.008414
0.310551
5,516
176
82
31.340909
0.797265
0.011965
0
0.185185
0
0
0.059386
0.019121
0
0
0
0
0.007407
1
0.207407
false
0
0.051852
0.111111
0.57037
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
9b42e17db2feeca4e16275b51ef0070f7e0b0d8a
2,862
py
Python
chb/simulate/SimLocation.py
psifertex/CodeHawk-Binary
1711d7b16d32a2e9ffa9d22af483182b3f9ded77
[ "MIT" ]
null
null
null
chb/simulate/SimLocation.py
psifertex/CodeHawk-Binary
1711d7b16d32a2e9ffa9d22af483182b3f9ded77
[ "MIT" ]
null
null
null
chb/simulate/SimLocation.py
psifertex/CodeHawk-Binary
1711d7b16d32a2e9ffa9d22af483182b3f9ded77
[ "MIT" ]
null
null
null
# ------------------------------------------------------------------------------ # Access to the CodeHawk Binary Analyzer Analysis Results # Author: Henny Sipma # ------------------------------------------------------------------------------ # The MIT License (MIT) # # Copyright (c) 2016-2020 Kestrel Technology LLC # #...
32.896552
80
0.67051
374
2,862
4.973262
0.387701
0.080645
0.040323
0.048387
0.191935
0.108602
0.04086
0.04086
0
0
0
0.003398
0.177498
2,862
86
81
33.27907
0.786746
0.490217
0
0
0
0
0.030049
0
0
0
0
0
0
1
0.636364
false
0.030303
0.030303
0.454545
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
9b5ff11e8c9fc874b350867213f333c40d49b6bd
157
py
Python
json_yaml/read_json.py
caseymorris87/pynet-ons-dec21
6dea8bfc3620225656a765cb0f5be7d055fb474f
[ "Apache-2.0" ]
1
2021-12-21T04:57:32.000Z
2021-12-21T04:57:32.000Z
json_yaml/read_json.py
caseymorris87/pynet-ons-dec21
6dea8bfc3620225656a765cb0f5be7d055fb474f
[ "Apache-2.0" ]
null
null
null
json_yaml/read_json.py
caseymorris87/pynet-ons-dec21
6dea8bfc3620225656a765cb0f5be7d055fb474f
[ "Apache-2.0" ]
11
2021-12-07T16:04:22.000Z
2022-02-09T12:20:05.000Z
#!/usr/bin/env python from rich import print import json filename = "my_file.json" with open(filename) as f: json_data = json.load(f) print(json_data)
15.7
28
0.726115
27
157
4.111111
0.666667
0.144144
0
0
0
0
0
0
0
0
0
0
0.159236
157
9
29
17.444444
0.840909
0.127389
0
0
0
0
0.088235
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
9b7d6834c1cb0069bfdc00612803dcbe452c2573
2,391
py
Python
ethereum_common/src/ethereum_common/eth_utils.py
khssnv/robonomics_comm
606a5ee91cf003421138fee02bd0d0f595ceadfd
[ "BSD-3-Clause" ]
16
2017-11-15T15:20:34.000Z
2021-08-05T03:08:13.000Z
ethereum_common/src/ethereum_common/eth_utils.py
khssnv/robonomics_comm
606a5ee91cf003421138fee02bd0d0f595ceadfd
[ "BSD-3-Clause" ]
80
2018-02-08T22:44:41.000Z
2021-07-15T10:12:09.000Z
ethereum_common/src/ethereum_common/eth_utils.py
khssnv/robonomics_comm
606a5ee91cf003421138fee02bd0d0f595ceadfd
[ "BSD-3-Clause" ]
13
2018-02-08T14:22:26.000Z
2021-11-20T00:29:14.000Z
from web3 import Web3, HTTPProvider, WebsocketProvider from ens import ENS class ETHUtils: def __init__(self, account, web3_http_provider, web3_ws_provider, ens_contract, erc20_token=None, abi=None): http_provider = HTTPProvider(web3_http_provider) self.ens = ENS(http_provider, addr=ens_contract)...
36.227273
112
0.711
291
2,391
5.66323
0.243986
0.072816
0.040049
0.041262
0.129854
0.104369
0.104369
0.104369
0.058252
0
0
0.027662
0.198662
2,391
65
113
36.784615
0.832463
0.025931
0
0.065217
0
0
0.002149
0
0
0
0
0
0
1
0.282609
false
0
0.065217
0.23913
0.630435
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
9b7e8064e00bf2aa43e7fc6c6deb6ef00b84d157
4,751
py
Python
Python/FreiStat_GUI/Utility/__init__.py
IMTEK-FreiStat/FreiStat-GUI
ce700462ed048d41d3e212b88aed63f9d969f3ae
[ "MIT" ]
null
null
null
Python/FreiStat_GUI/Utility/__init__.py
IMTEK-FreiStat/FreiStat-GUI
ce700462ed048d41d3e212b88aed63f9d969f3ae
[ "MIT" ]
null
null
null
Python/FreiStat_GUI/Utility/__init__.py
IMTEK-FreiStat/FreiStat-GUI
ce700462ed048d41d3e212b88aed63f9d969f3ae
[ "MIT" ]
null
null
null
""" Module implementiting different utility functions """ __author__ = "Mark Jasper" __contact__ = "University of Freiburg, IMTEK, Jochen Kieninger" __credits__ = "Mark Jasper" __version__ = "1.0.0" __maintainer__ = "Mark Jasper" __email__ = "mark.jasper@imtek.uni-freiburg.de, kieninger@imtek.uni-freiburg.de" # Imp...
41.675439
80
0.653126
406
4,751
7.485222
0.261084
0.552813
0.387628
0.195788
0.690688
0.690688
0.638039
0.616321
0.616321
0.558407
0
0.036626
0.241423
4,751
114
81
41.675439
0.806604
0.106083
0
0.535211
0
0.014085
0.036142
0.015558
0
0
0
0
0
1
0.014085
false
0
0.042254
0
0.056338
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
9b87e1d35204b9552194304ec34a253efcd12feb
479
py
Python
src/twitchlinkscraper.py
HenryDewsnap/Stream-Scraper
53b0c1a72856e036e921f8195d2e159329689aaa
[ "MIT" ]
1
2022-02-23T15:08:55.000Z
2022-02-23T15:08:55.000Z
src/twitchlinkscraper.py
HenryDewsnap/Stream-Scraper
53b0c1a72856e036e921f8195d2e159329689aaa
[ "MIT" ]
null
null
null
src/twitchlinkscraper.py
HenryDewsnap/Stream-Scraper
53b0c1a72856e036e921f8195d2e159329689aaa
[ "MIT" ]
null
null
null
import requests_html class listener: def __init__(self, streamer_names, time_period): self.base_link = "https://www.twitch.tv/NAME/clips?filter=clips&range=TIME_PERIODd" self.session = requests_html.HTMLSession() self.time_period = time_period def format_link(self, streamer_name): retu...
36.846154
135
0.724426
66
479
4.969697
0.454545
0.152439
0.085366
0
0
0
0
0
0
0
0
0
0.160752
479
12
136
39.916667
0.81592
0
0
0
0
0
0.164927
0
0
0
0
0
0
1
0.333333
false
0
0.111111
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
9b91059b49d899d88b4f478c9da4ddeff56d8391
48,615
py
Python
at_tmp/ATM_run.py
zuoleilei3253/zuoleilei
e188b15a0aa4a9fde00dba15e8300e4b87973e2d
[ "Apache-2.0" ]
null
null
null
at_tmp/ATM_run.py
zuoleilei3253/zuoleilei
e188b15a0aa4a9fde00dba15e8300e4b87973e2d
[ "Apache-2.0" ]
null
null
null
at_tmp/ATM_run.py
zuoleilei3253/zuoleilei
e188b15a0aa4a9fde00dba15e8300e4b87973e2d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2018/7/16 11:33 # @Author : bxf # @File : ATM_run.py # @Software: PyCharm import sys sys.path.append("/opt/ATEST") from flask import Flask, make_response, send_file, current_app from flask_cors import * from model.FUNC.RQMT_OPT import * from ...
38.159341
118
0.621002
6,065
48,615
4.767024
0.062655
0.042889
0.044065
0.06295
0.827857
0.780506
0.726999
0.652324
0.587853
0.517916
0
0.002447
0.226556
48,615
1,273
119
38.189317
0.766469
0.038404
0
0.579203
0
0
0.132975
0.014265
0
0
0
0
0
1
0.061224
false
0.000972
0.035957
0
0.305151
0.001944
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
9ba1dd068e9a63b2b00507ccf509698a9d73b5ec
438
py
Python
python_crash_course/ch4/numbers_list.py
tangentspire/Python_Practice
e7f22303230a2ffa4e3f5ae57854bac9c4c3bc34
[ "Apache-2.0" ]
null
null
null
python_crash_course/ch4/numbers_list.py
tangentspire/Python_Practice
e7f22303230a2ffa4e3f5ae57854bac9c4c3bc34
[ "Apache-2.0" ]
3
2020-02-11T22:58:27.000Z
2021-06-10T20:30:42.000Z
python_crash_course/ch4/numbers_list.py
tangentspire/Python_Practice
e7f22303230a2ffa4e3f5ae57854bac9c4c3bc34
[ "Apache-2.0" ]
null
null
null
def number_printer(numbers): for number in numbers: print(number) numbers = range(1, 21) number_printer(numbers) # numbers = range(1, 1000001) number_printer(numbers) print(min(numbers)) print(max(numbers)) # sum(numbers) odd_numbers = list(range(1, 20, 2)) number_printer(odd_numbers) three_numbers = list(...
14.6
45
0.730594
66
438
4.69697
0.363636
0.251613
0.193548
0
0
0
0
0
0
0
0
0.060847
0.136986
438
29
46
15.103448
0.759259
0.091324
0
0.142857
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.071429
0.642857
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
32cf4218c40714a235ba9533cf61bb795720972b
705
py
Python
test/providers/persistor/test_persistor_base.py
neoworth/dimstore
d00243f7af4759f3a1d90e68325172330c649f20
[ "MIT" ]
4
2020-05-01T15:50:11.000Z
2021-04-15T17:52:42.000Z
test/providers/persistor/test_persistor_base.py
neoworth/dimstore
d00243f7af4759f3a1d90e68325172330c649f20
[ "MIT" ]
null
null
null
test/providers/persistor/test_persistor_base.py
neoworth/dimstore
d00243f7af4759f3a1d90e68325172330c649f20
[ "MIT" ]
1
2021-05-12T17:46:48.000Z
2021-05-12T17:46:48.000Z
""" test persistor base class """ import pytest from dimstore.providers.persistor.persistor_base import PersistorBase @pytest.fixture(scope='function') def base_class(request): return PersistorBase() class TestPersistorBase(): def test_put_method_implementation_exception(self, base_class): wit...
27.115385
69
0.741844
78
705
6.448718
0.397436
0.143141
0.172962
0.196819
0.512922
0.512922
0.512922
0.512922
0.512922
0.512922
0
0
0.175887
705
26
70
27.115385
0.865749
0.035461
0
0.2
0
0
0.011958
0
0
0
0
0
0
1
0.266667
false
0
0.133333
0.066667
0.533333
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
32e238a160e1b44030374f04277f094147851500
169
py
Python
scripts/setup_and_preprocess.py
iseong83/3d_object_reconstruction
f104cdf9cf7c5a0a7d659073923b991b8ebc5b9f
[ "MIT" ]
1
2021-09-14T04:55:56.000Z
2021-09-14T04:55:56.000Z
scripts/setup_and_preprocess.py
iseong83/3d_object_reconstruction
f104cdf9cf7c5a0a7d659073923b991b8ebc5b9f
[ "MIT" ]
6
2019-09-24T00:07:25.000Z
2021-08-25T14:51:06.000Z
scripts/setup_and_preprocess.py
iseong83/3d_object_reconstruction
f104cdf9cf7c5a0a7d659073923b991b8ebc5b9f
[ "MIT" ]
null
null
null
from Reco3D.lib import dataset if __name__ == '__main__': dataset.setup_dir() dataset.prepare_dataset() dataset.preprocess_dataset() print ('done...')
18.777778
32
0.686391
19
169
5.526316
0.736842
0
0
0
0
0
0
0
0
0
0
0.007246
0.183432
169
8
33
21.125
0.753623
0
0
0
0
0
0.089286
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
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
1
0
0
0
0
0
0
3
32eaa9c4bd29a2d6e6ecf525f4c9f3175e1ecf7f
377
py
Python
seventweets/__main__.py
sbg/seventweets
a2733ff175e8be6e34f346a9a14f7f30ab24ea74
[ "Apache-2.0" ]
2
2017-06-12T11:00:38.000Z
2018-06-21T07:54:38.000Z
seventweets/__main__.py
sbg/seventweets
a2733ff175e8be6e34f346a9a14f7f30ab24ea74
[ "Apache-2.0" ]
null
null
null
seventweets/__main__.py
sbg/seventweets
a2733ff175e8be6e34f346a9a14f7f30ab24ea74
[ "Apache-2.0" ]
null
null
null
import click from flask.cli import FlaskGroup from seventweets.app import create_app @click.group(cls=FlaskGroup, create_app=create_app) def cli(): """ Management script for seventweets service. """ # If needed, some initialization can be done here, but by default, # all is done by click and seven...
22.176471
70
0.713528
52
377
4.961538
0.615385
0.104651
0
0
0
0
0
0
0
0
0
0
0.201592
377
16
71
23.5625
0.857143
0.413793
0
0
0
0
0.039216
0
0
0
0
0
0
1
0.142857
true
0
0.428571
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
32f059bdd46defc247a32d6565f8ff0721ed49e5
656
py
Python
tests/test_006_company.py
vilkasgroup/Procountor
f3ed0f4071ddbd6f2ee3a4ce455ca5e1090217a2
[ "MIT" ]
2
2019-07-25T12:21:49.000Z
2021-11-27T12:26:12.000Z
tests/test_006_company.py
vilkasgroup/Procountor
f3ed0f4071ddbd6f2ee3a4ce455ca5e1090217a2
[ "MIT" ]
11
2018-01-30T13:21:49.000Z
2021-11-16T07:09:27.000Z
tests/test_006_company.py
vilkasgroup/Procountor
f3ed0f4071ddbd6f2ee3a4ce455ca5e1090217a2
[ "MIT" ]
3
2018-05-15T12:49:54.000Z
2019-07-25T12:21:55.000Z
import unittest from tests import TestClient class TestClientCompany(TestClient): def __init__(self, *args, **kwargs): super(TestClientCompany, self).__init__(*args, **kwargs) def test_001_get_company(self): """ Test get_company api call """ response = self.client.get...
24.296296
64
0.628049
68
656
5.705882
0.544118
0.07732
0.072165
0
0
0
0
0
0
0
0
0.018293
0.25
656
27
65
24.296296
0.770325
0.083841
0
0
0
0
0.054054
0
0
0
0
0.037037
0.214286
1
0.214286
false
0.071429
0.142857
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
32fb42a8d4a59c4ecb33d52112e1e8afb2beff77
887
py
Python
Benchmarks_with_Functional_Bugs/Java/bench.py
kupl/starlab-benchmarks
1efc9efffad1b797f6a795da7e032041e230d900
[ "MIT" ]
null
null
null
Benchmarks_with_Functional_Bugs/Java/bench.py
kupl/starlab-benchmarks
1efc9efffad1b797f6a795da7e032041e230d900
[ "MIT" ]
null
null
null
Benchmarks_with_Functional_Bugs/Java/bench.py
kupl/starlab-benchmarks
1efc9efffad1b797f6a795da7e032041e230d900
[ "MIT" ]
2
2020-11-26T13:27:14.000Z
2022-03-20T02:12:55.000Z
import sys, os repos = [ 'spring-data-rest-aa28aeb', #'collections-39', ] #'spring-data-rest-aa28aeb', #'Chart-15', for i, val in enumerate(repos): print '' print 'Processing {}'.format(val) #branch_name = val + :'-buggy' branch_name = 'benchmarks/'+ val +'-buggy' cmd = 'git clone -b {} --single-branch ht...
16.127273
99
0.612176
132
887
4.05303
0.348485
0.134579
0.185047
0.209346
0.433645
0.398131
0.398131
0.235514
0.134579
0.134579
0
0.010974
0.178129
887
54
100
16.425926
0.722908
0.116122
0
0.407407
0
0
0.336842
0.031579
0
0
0
0
0
0
null
null
0
0.037037
null
null
0.111111
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
32ff6ccd87853e81d4c238995f6634446cd71033
516
py
Python
src/secure_share/api/serializers.py
wooyek/secure-share
b3b1dd6a03dc278e881e866a5554254523d33a81
[ "MIT" ]
null
null
null
src/secure_share/api/serializers.py
wooyek/secure-share
b3b1dd6a03dc278e881e866a5554254523d33a81
[ "MIT" ]
1
2020-05-01T10:53:25.000Z
2020-05-01T10:53:25.000Z
src/secure_share/api/serializers.py
wooyek/secure-share
b3b1dd6a03dc278e881e866a5554254523d33a81
[ "MIT" ]
null
null
null
# coding=utf-8 from rest_framework import serializers from .. import models class SharedUrlSerializer(serializers.HyperlinkedModelSerializer): class Meta: model = models.SharedUrl fields = ("email", "url",) class SharedFileSerializer(serializers.HyperlinkedModelSerializer): class Meta: ...
21.5
67
0.678295
48
516
7.208333
0.604167
0.112717
0.242775
0.265896
0.32948
0.32948
0
0
0
0
0
0.002475
0.217054
516
23
68
22.434783
0.85396
0.232558
0
0.2
0
0
0.04359
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
fd0151a26498270936c845cf292366d622c42079
3,122
py
Python
pyrunner/core/context.py
Comcast/python-batch-runner
ec918f2cd62c1f4d26e52aa9bba5d08e15d107bd
[ "Apache-2.0" ]
21
2019-07-03T18:01:16.000Z
2022-02-23T04:02:03.000Z
pyrunner/core/context.py
Othello1111/python-batch-runner
0b3355c2f95161c267dd4d5faa37e1b418e4f266
[ "Apache-2.0" ]
11
2019-08-22T13:16:09.000Z
2022-02-22T21:48:49.000Z
pyrunner/core/context.py
Othello1111/python-batch-runner
0b3355c2f95161c267dd4d5faa37e1b418e4f266
[ "Apache-2.0" ]
6
2020-10-07T16:43:50.000Z
2022-02-09T17:25:51.000Z
# Copyright 2019 Comcast Cable Communications Management, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable ...
29.17757
82
0.716528
447
3,122
4.832215
0.395973
0.083333
0.097222
0.046296
0.15463
0.084259
0.063889
0.063889
0.032407
0
0
0.004888
0.213645
3,122
107
83
29.17757
0.874949
0.488469
0
0.183673
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.081633
0.142857
0.632653
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
fd047d266925c0b33f2dfc01607a5cbdc90b2ce5
222
py
Python
uniluganobot/interfaces/telegram/commands/plugins/testcommand.py
ilredeitopi/uniluganobot
637469b6976703a0baa70b3592970e60f7412f09
[ "MIT" ]
null
null
null
uniluganobot/interfaces/telegram/commands/plugins/testcommand.py
ilredeitopi/uniluganobot
637469b6976703a0baa70b3592970e60f7412f09
[ "MIT" ]
null
null
null
uniluganobot/interfaces/telegram/commands/plugins/testcommand.py
ilredeitopi/uniluganobot
637469b6976703a0baa70b3592970e60f7412f09
[ "MIT" ]
null
null
null
from ..command import Command @Command('/test') class TestCommand: def __init__(self): self.counter = 0 def __call__(self, *args): self.counter += 1 return('counter: %s' % self.counter)
17.076923
44
0.603604
26
222
4.846154
0.615385
0.261905
0
0
0
0
0
0
0
0
0
0.012195
0.261261
222
12
45
18.5
0.756098
0
0
0
0
0
0.072072
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
fd2319a5f3aed2785cc5d6ab9bde6a762702d3a1
268
py
Python
tests/kyu_7_tests/test_beginner_series_sum_of_numbers.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
tests/kyu_7_tests/test_beginner_series_sum_of_numbers.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
tests/kyu_7_tests/test_beginner_series_sum_of_numbers.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
import unittest from katas.kyu_7.beginner_series_sum_of_numbers import get_sum class GetSumTestCase(unittest.TestCase): def test_equals(self): self.assertEqual(get_sum(0, 1), 1) def test_equals_2(self): self.assertEqual(get_sum(0, -1), -1)
22.333333
62
0.723881
41
268
4.463415
0.560976
0.098361
0.142077
0.240437
0.306011
0.306011
0.306011
0.306011
0
0
0
0.036036
0.171642
268
11
63
24.363636
0.788288
0
0
0
0
0
0
0
0
0
0
0
0.285714
1
0.285714
false
0
0.285714
0
0.714286
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
fd2e628a4c7968fedaa3f7bb131861338c26f096
685
py
Python
PyObjCTest/test_nscomboboxcell.py
Khan/pyobjc-framework-Cocoa
f8b015ea2a72d8d78be6084fb12925c4785b8f1f
[ "MIT" ]
132
2015-01-01T10:02:42.000Z
2022-03-09T12:51:01.000Z
mac/pyobjc-framework-Cocoa/PyObjCTest/test_nscomboboxcell.py
mba811/music-player
7998986b34cfda2244ef622adefb839331b81a81
[ "BSD-2-Clause" ]
6
2015-01-06T08:23:19.000Z
2019-03-14T12:22:06.000Z
mac/pyobjc-framework-Cocoa/PyObjCTest/test_nscomboboxcell.py
mba811/music-player
7998986b34cfda2244ef622adefb839331b81a81
[ "BSD-2-Clause" ]
27
2015-02-23T11:51:43.000Z
2022-03-07T02:34:18.000Z
from PyObjCTools.TestSupport import * from AppKit import * class TestNSComboBoxCell (TestCase): def testMethods(self): self.assertResultIsBOOL(NSComboBoxCell.hasVerticalScroller) self.assertArgIsBOOL(NSComboBoxCell.setHasVerticalScroller_, 0) self.assertResultIsBOOL(NSComboBoxCell.isButtonB...
40.294118
71
0.772263
53
685
9.754717
0.490566
0.170213
0.27853
0.2147
0
0
0
0
0
0
0
0.006885
0.151825
685
16
72
42.8125
0.88296
0
0
0
0
0
0.011679
0
0
0
0
0
0.571429
1
0.071429
false
0
0.142857
0
0.285714
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
fd559576c365d1e1e6c3960bb5c96dd1e26d51dc
82
py
Python
ffcv/memory_managers/common.py
neuroailab/ffcv
43d249762d32ce873678a9b8d7983ae653ad6f84
[ "Apache-2.0" ]
1,969
2022-01-18T18:59:01.000Z
2022-03-30T12:53:55.000Z
ffcv/memory_managers/common.py
neuroailab/ffcv
43d249762d32ce873678a9b8d7983ae653ad6f84
[ "Apache-2.0" ]
138
2022-01-19T01:42:47.000Z
2022-03-31T23:00:21.000Z
ffcv/memory_managers/common.py
neuroailab/ffcv
43d249762d32ce873678a9b8d7983ae653ad6f84
[ "Apache-2.0" ]
107
2022-01-18T20:54:38.000Z
2022-03-31T16:26:51.000Z
from typing import Sequence, TYPE_CHECKING BATCHES_TYPE = Sequence[Sequence[int]]
27.333333
42
0.829268
11
82
6
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.097561
82
3
43
27.333333
0.891892
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
fd58f03077176dfd3f0c43d047a74cf4d087a2a8
330
py
Python
quantdsl/domain/services/call_links.py
johnbywater/quantdsl
81c1c69f27e094a6ed0542b28cf1ac8fcce5494a
[ "BSD-3-Clause" ]
269
2015-01-09T00:56:41.000Z
2022-03-30T17:09:46.000Z
quantdsl/domain/services/call_links.py
johnbywater/quantdsl
81c1c69f27e094a6ed0542b28cf1ac8fcce5494a
[ "BSD-3-Clause" ]
22
2017-04-01T13:44:56.000Z
2018-09-10T11:48:56.000Z
quantdsl/domain/services/call_links.py
johnbywater/quantdsl
81c1c69f27e094a6ed0542b28cf1ac8fcce5494a
[ "BSD-3-Clause" ]
59
2015-01-09T00:56:50.000Z
2022-03-13T23:52:27.000Z
def regenerate_execution_order(contract_specification_id, call_link_repo): # assert isinstance(call_link_repo, CallLinkRepository) call_id = contract_specification_id while True: call_id = call_link_repo[call_id].call_id yield call_id if call_id == contract_specification_id: ...
36.666667
74
0.736364
42
330
5.309524
0.428571
0.161435
0.309417
0.125561
0.26009
0
0
0
0
0
0
0
0.212121
330
8
75
41.25
0.857692
0.160606
0
0
1
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fd5f7a4ddb6d2f45e9ffc85f6cc60241c6b05e41
310
py
Python
mittab/libs/tests/data/load_data.py
DanielS6/mit-tab
f2b5bb609546514582697b998b8b50a66bc8a396
[ "MIT" ]
9
2015-01-22T01:19:15.000Z
2017-11-01T20:09:47.000Z
mittab/libs/tests/data/load_data.py
tienne-B/mit-tab
c47f1c2de6c1e458fe427b3dc70c9c4158f01225
[ "MIT" ]
152
2018-04-06T14:32:51.000Z
2022-02-11T22:12:53.000Z
mittab/libs/tests/data/load_data.py
tienne-B/mit-tab
c47f1c2de6c1e458fe427b3dc70c9c4158f01225
[ "MIT" ]
13
2015-09-14T00:40:06.000Z
2018-01-24T04:05:32.000Z
import json import os BASE_DIR = os.path.dirname(__file__) def load_debater_rankings(): return json.load( open(os.path.join(BASE_DIR, "debater_finished_scores.json"), "r")) def load_team_rankings(): return json.load( open(os.path.join(BASE_DIR, "team_finished_scores.json"), "r"))
20.666667
74
0.7
46
310
4.391304
0.413043
0.10396
0.178218
0.217822
0.425743
0.425743
0.425743
0.425743
0.425743
0.425743
0
0
0.16129
310
14
75
22.142857
0.776923
0
0
0.222222
0
0
0.177419
0.170968
0
0
0
0
0
1
0.222222
false
0
0.222222
0.222222
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
fd5fec370b90118bc039c48118d4f64512007e6f
249
py
Python
calculatorservice/__init__.py
halimi/calculatorservice
caf43110213444724e191156c2b1b204c40e8a4d
[ "MIT" ]
null
null
null
calculatorservice/__init__.py
halimi/calculatorservice
caf43110213444724e191156c2b1b204c40e8a4d
[ "MIT" ]
null
null
null
calculatorservice/__init__.py
halimi/calculatorservice
caf43110213444724e191156c2b1b204c40e8a4d
[ "MIT" ]
null
null
null
from pyramid.config import Configurator def main(): with Configurator() as config: config.add_route('home', '/') config.add_route('calculator', '/calculator') config.scan('.views') return config.make_wsgi_app()
24.9
53
0.64257
28
249
5.571429
0.678571
0.115385
0.179487
0
0
0
0
0
0
0
0
0
0.220884
249
9
54
27.666667
0.804124
0
0
0
0
0
0.128514
0
0
0
0
0
0
1
0.142857
true
0
0.142857
0
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
b5c43504df894a8c31fda3525fe3b99bd19d7cd3
2,661
py
Python
dataset/hcp/tools/reprocess_tensors.py
cassianobecker/dnn
bb2ea04f77733de9df10f795bb049ac3b9d30478
[ "MIT" ]
3
2020-02-21T21:35:07.000Z
2020-09-29T15:20:00.000Z
dataset/hcp/tools/reprocess_tensors.py
cassianobecker/dnn
bb2ea04f77733de9df10f795bb049ac3b9d30478
[ "MIT" ]
27
2020-02-20T21:00:23.000Z
2020-05-22T15:23:25.000Z
dataset/hcp/tools/reprocess_tensors.py
cassianobecker/dnn
bb2ea04f77733de9df10f795bb049ac3b9d30478
[ "MIT" ]
null
null
null
import os import numpy as np import re def process_odf_tensor(abs_path, subject): print(f'loading odf tensor for subject {subject}:') tensor_name = 'odf_tensor_' + subject + '.npz' tensor_url = os.path.join(abs_path, subject, tensor_name) if not os.path.isfile(tensor_url): print(f'tensor fi...
28.308511
70
0.669673
378
2,661
4.492063
0.214286
0.074205
0.06596
0.094817
0.862191
0.748528
0.674912
0.636042
0.636042
0.636042
0
0.009868
0.200301
2,661
93
71
28.612903
0.788064
0.057873
0
0.526316
0
0
0.23372
0.018378
0
0
0
0
0
1
0.070175
false
0
0.052632
0
0.157895
0.22807
0
0
0
null
0
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b5cbccbcca3451b01822c8bf01aef23c969794de
1,018
py
Python
src/rezide/utils/dtos.py
abstractlyZach/magic-tiler
42ff84bc9d2cde19d7818512033cd472e738950e
[ "MIT" ]
8
2021-07-30T05:49:07.000Z
2022-01-26T22:03:40.000Z
src/rezide/utils/dtos.py
abstractlyZach/magic-tiler
42ff84bc9d2cde19d7818512033cd472e738950e
[ "MIT" ]
37
2021-05-16T20:31:50.000Z
2021-07-14T01:28:57.000Z
src/rezide/utils/dtos.py
abstractlyZach/magic-tiler
42ff84bc9d2cde19d7818512033cd472e738950e
[ "MIT" ]
2
2021-07-30T02:44:30.000Z
2021-09-10T20:46:16.000Z
from typing import Any, NamedTuple # data-transfer objects (DTOs) # objects that don't have much functionality besides storing # useful collections of information class ScreenDimensions(NamedTuple): width: int height: int class Window(NamedTuple): command: str width: int height: int mark: s...
19.576923
79
0.695481
141
1,018
5.007092
0.588652
0.033994
0.05949
0.072238
0
0
0
0
0
0
0
0
0.235756
1,018
51
80
19.960784
0.907455
0.481336
0
0.5
0
0
0
0
0
0
0
0.019608
0
1
0
true
0
0.045455
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
1
0
0
3
b5f0f73543928a05dd8e5d2a64430750f9ead337
361
py
Python
7_kyu/Reverse words.py
serembon/Codewars-Python-Kata
868f9f5deb991b2c0b7e27dce41a5a20805013dc
[ "MIT" ]
null
null
null
7_kyu/Reverse words.py
serembon/Codewars-Python-Kata
868f9f5deb991b2c0b7e27dce41a5a20805013dc
[ "MIT" ]
null
null
null
7_kyu/Reverse words.py
serembon/Codewars-Python-Kata
868f9f5deb991b2c0b7e27dce41a5a20805013dc
[ "MIT" ]
null
null
null
""" Complete the function that accepts a string parameter, and reverses each word in the string. All spaces in the string should be retained. ``` "This is an example!" ==> "sihT si na !elpmaxe" "double spaces" ==> "elbuod secaps" ``` """ # My and best way solution def reverse_words(text): return ' '.join...
22.5625
110
0.66205
53
361
4.490566
0.792453
0.05042
0.092437
0
0
0
0
0
0
0
0
0.00346
0.199446
361
15
111
24.066667
0.820069
0.725762
0
0
0
0
0.021978
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b5f74d921ef8be73b064b99d084c3c3dabc906fb
10,876
py
Python
alembic/versions/20210208_182036_.py
sasano8/magnet-migrade
b5669b34a6a3b845df8df96dfedaf967df6b88e2
[ "MIT" ]
null
null
null
alembic/versions/20210208_182036_.py
sasano8/magnet-migrade
b5669b34a6a3b845df8df96dfedaf967df6b88e2
[ "MIT" ]
4
2021-03-24T23:38:22.000Z
2021-03-31T07:24:30.000Z
alembic/versions/20210208_182036_.py
sasano8/magnet-migrade
b5669b34a6a3b845df8df96dfedaf967df6b88e2
[ "MIT" ]
null
null
null
"""empty message Revision ID: 20210208_182036 Revises: 20210120_074454 Create Date: 2021-02-08 18:20:36.796641 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = "20210208_182036" down_revision = "20210120_074454" branch_labels = None depends_on = None def upgra...
44.57377
103
0.624586
1,317
10,876
5.031131
0.131359
0.13764
0.203743
0.269393
0.767733
0.729399
0.664202
0.589194
0.498491
0.411711
0
0.02898
0.203659
10,876
243
104
44.757202
0.736058
0.027676
0
0.453333
0
0
0.171
0.024198
0
0
0
0
0
1
0.008889
false
0
0.008889
0
0.017778
0
0
0
0
null
0
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bd0915740390efd3396b3283f302a092bad65d7e
51
py
Python
pytimeframe/__init__.py
inabhi9/pytimeframe
bf09a32a11dcb32cb486e28260fd396d1bdecb7f
[ "MIT" ]
null
null
null
pytimeframe/__init__.py
inabhi9/pytimeframe
bf09a32a11dcb32cb486e28260fd396d1bdecb7f
[ "MIT" ]
null
null
null
pytimeframe/__init__.py
inabhi9/pytimeframe
bf09a32a11dcb32cb486e28260fd396d1bdecb7f
[ "MIT" ]
null
null
null
VERSION = '0.0.4' from timeframe import Timeframe
12.75
31
0.745098
8
51
4.75
0.75
0
0
0
0
0
0
0
0
0
0
0.069767
0.156863
51
3
32
17
0.813953
0
0
0
0
0
0.098039
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
bd1d178b0f8666f454209c2fafd802128d42c88d
3,998
py
Python
Federal/Formatter/DateFormatter.py
Jaseibert/Federal
86a69d4247a1926f5632eb9b7c68ee80f20081ff
[ "MIT" ]
1
2019-03-21T21:56:32.000Z
2019-03-21T21:56:32.000Z
Federal/Formatter/DateFormatter.py
Jaseibert/Federal
86a69d4247a1926f5632eb9b7c68ee80f20081ff
[ "MIT" ]
null
null
null
Federal/Formatter/DateFormatter.py
Jaseibert/Federal
86a69d4247a1926f5632eb9b7c68ee80f20081ff
[ "MIT" ]
null
null
null
import datetime as dt import re class DateFormatter(object): def __init__(self,start=None,end=None): self.start = start self.end = end return ############################################################################################ #DateTime Formatting #################################...
44.921348
99
0.426463
420
3,998
4.014286
0.166667
0.041518
0.064057
0.149466
0.746145
0.746145
0.728944
0.639383
0.639383
0.639383
0
0.003012
0.335668
3,998
88
100
45.431818
0.631777
0.051026
0
0.623188
0
0.057971
0.107287
0
0
0
0
0
0
1
0.057971
false
0
0.028986
0
0.304348
0.028986
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
1fa91091de42ca22c48e1be4d89078dc7516442b
101
py
Python
modules/shared/infrastructure/bus/message/in_memory/bus_suscribers/user_subscribers.py
eduardolujan/hexagonal_architecture_django
8055927cb460bc40f3a2651c01a9d1da696177e8
[ "BSD-3-Clause" ]
6
2020-08-09T23:41:08.000Z
2021-03-16T22:05:40.000Z
modules/shared/infrastructure/bus/message/in_memory/bus_suscribers/user_subscribers.py
eduardolujan/hexagonal_architecture_django
8055927cb460bc40f3a2651c01a9d1da696177e8
[ "BSD-3-Clause" ]
1
2020-10-02T02:59:38.000Z
2020-10-02T02:59:38.000Z
modules/shared/infrastructure/bus/message/in_memory/bus_suscribers/user_subscribers.py
eduardolujan/hexagonal_architecture_django
8055927cb460bc40f3a2651c01a9d1da696177e8
[ "BSD-3-Clause" ]
2
2021-03-16T22:05:43.000Z
2021-04-30T06:35:25.000Z
# -*- coding: utf-8 -*- # User subscribers USER_SUBSCRIBERS = { 'CreateUserDomainEvent': [], }
12.625
32
0.613861
8
101
7.625
0.75
0.491803
0
0
0
0
0
0
0
0
0
0.012346
0.19802
101
7
33
14.428571
0.740741
0.376238
0
0
0
0
0.35
0.35
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1fdd41985ab716f95ef388258ab78e51f740e27e
121
py
Python
cryptography/operations/GreatestCommonDivisor.py
CarbonDDR/al-go-rithms
8e65affbe812931b7dde0e2933eb06c0f44b4130
[ "CC0-1.0" ]
1,253
2017-06-06T07:19:25.000Z
2022-03-30T17:07:58.000Z
cryptography/operations/GreatestCommonDivisor.py
rishabh99-rc/al-go-rithms
4df20d7ef7598fda4bc89101f9a99aac94cdd794
[ "CC0-1.0" ]
554
2017-09-29T18:56:01.000Z
2022-02-21T15:48:13.000Z
cryptography/operations/GreatestCommonDivisor.py
rishabh99-rc/al-go-rithms
4df20d7ef7598fda4bc89101f9a99aac94cdd794
[ "CC0-1.0" ]
2,226
2017-09-29T19:59:59.000Z
2022-03-25T08:59:55.000Z
#Greatest common divisor def gcd(a, b): if(a%b == 0): return b else: return gcd(b, a%b)
15.125
26
0.471074
19
121
3
0.578947
0.105263
0
0
0
0
0
0
0
0
0
0.013699
0.396694
121
7
27
17.285714
0.767123
0.190083
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
1fddd96f179e83809a95490b0dbabb1bc94396f1
17
py
Python
data/distribution_paths_count.py
kusha/qas
bd70bdbc6d90867fb38db298221f5c3e29f144d5
[ "MIT" ]
9
2017-08-25T03:22:01.000Z
2021-12-13T14:28:35.000Z
data/distribution_paths_count.py
kusha/qas
bd70bdbc6d90867fb38db298221f5c3e29f144d5
[ "MIT" ]
1
2017-06-06T08:46:12.000Z
2017-06-29T13:52:32.000Z
data/distribution_paths_count.py
kusha/qas
bd70bdbc6d90867fb38db298221f5c3e29f144d5
[ "MIT" ]
4
2017-06-08T10:41:02.000Z
2019-10-20T18:21:30.000Z
paths_count = []
8.5
16
0.647059
2
17
5
1
0
0
0
0
0
0
0
0
0
0
0
0.176471
17
1
17
17
0.714286
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1feebdebf3d231fd1ba6e9b0214f1e5d38272314
478
py
Python
cflowpost-main/src/cflowpost/plotting/_factories.py
ric-95/tesis-repo
ff9aaeb3801371e0639d3fb1ffe14527c7d5b211
[ "MIT" ]
null
null
null
cflowpost-main/src/cflowpost/plotting/_factories.py
ric-95/tesis-repo
ff9aaeb3801371e0639d3fb1ffe14527c7d5b211
[ "MIT" ]
null
null
null
cflowpost-main/src/cflowpost/plotting/_factories.py
ric-95/tesis-repo
ff9aaeb3801371e0639d3fb1ffe14527c7d5b211
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt from ._gridformatter import GridFormatter from matplotlib.font_manager import FontProperties from itertools import cycle, islice def default_ax_factory(): _, ax = plt.subplots(1, 1) return ax def dashed_minor_grid_factory(): return GridFormatter.dashed_minor() def moder...
21.727273
50
0.771967
63
478
5.619048
0.507937
0.062147
0.056497
0.062147
0
0
0
0
0
0
0
0.00489
0.144351
478
21
51
22.761905
0.860636
0
0
0
0
0
0.020921
0
0
0
0
0
0
1
0.307692
false
0
0.307692
0.230769
0.923077
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
1
0
0
0
3
1ff14193939cdd96b02d9d634579d309c4ef0103
3,719
py
Python
jni-build/jni/include/tensorflow/contrib/learn/python/learn/evaluable.py
rcelebi/android-elfali
4ea14a58a18356ef9e16aba2e7dae84c02afba12
[ "Apache-2.0" ]
680
2016-12-03T14:38:28.000Z
2022-02-16T04:06:45.000Z
jni-build/jni/include/tensorflow/contrib/learn/python/learn/evaluable.py
rcelebi/android-elfali
4ea14a58a18356ef9e16aba2e7dae84c02afba12
[ "Apache-2.0" ]
38
2016-11-17T08:43:51.000Z
2019-11-12T12:27:04.000Z
jni-build/jni/include/tensorflow/contrib/learn/python/learn/evaluable.py
rcelebi/android-elfali
4ea14a58a18356ef9e16aba2e7dae84c02afba12
[ "Apache-2.0" ]
250
2016-12-05T10:37:17.000Z
2022-03-18T21:26:55.000Z
# Copyright 2016 The TensorFlow 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 applica...
45.353659
80
0.687013
534
3,719
4.71161
0.426966
0.019475
0.019873
0.013116
0.06717
0.040541
0.040541
0.023052
0
0
0
0.00275
0.2178
3,719
81
81
45.91358
0.862152
0.844044
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.636364
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
9505d5733c147dbc92543460634d6532f8a47a12
180
py
Python
qelo/store_github_scores/github_conf.py
rohinigopalqxf2/qxf2-lambdas
a1763ace07cdf2295c08760461b286767d62c915
[ "MIT" ]
3
2021-07-03T08:57:43.000Z
2021-07-12T13:01:44.000Z
qelo/store_github_scores/github_conf.py
rohinigopalqxf2/qxf2-lambdas
a1763ace07cdf2295c08760461b286767d62c915
[ "MIT" ]
13
2020-10-29T08:36:40.000Z
2022-02-04T13:45:25.000Z
qelo/store_github_scores/github_conf.py
rohinigopalqxf2/qxf2-lambdas
a1763ace07cdf2295c08760461b286767d62c915
[ "MIT" ]
3
2020-08-20T08:27:35.000Z
2022-01-24T12:31:59.000Z
"Configuration details related to GitHub stream of QElo." GITHUB_SUBSTREAMS_TABLE = 'github_substreams' GITHUB_DELTAS_TABLE = 'github_deltas' GITHUB_SCORES_TABLE = 'github_scores'
36
57
0.838889
23
180
6.173913
0.521739
0.232394
0
0
0
0
0
0
0
0
0
0
0.094444
180
4
58
45
0.871166
0.305556
0
0
0
0
0.544444
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1f084889e42df805e5d340fb3612caae4feeffbf
609
py
Python
lib/svtplay_dl/utils/urllib.py
avtobiff/svtplay-dl
dc2dc7dc6275b623e6c6877d2f638e00daa25603
[ "MIT" ]
null
null
null
lib/svtplay_dl/utils/urllib.py
avtobiff/svtplay-dl
dc2dc7dc6275b623e6c6877d2f638e00daa25603
[ "MIT" ]
null
null
null
lib/svtplay_dl/utils/urllib.py
avtobiff/svtplay-dl
dc2dc7dc6275b623e6c6877d2f638e00daa25603
[ "MIT" ]
null
null
null
# ex:ts=4:sw=4:sts=4:et # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- # This module is a python2/3 compat glue, we don't use the imports # here. # pylint: disable=unused-import # Pylint does not seem to handle conditional imports # pylint: disable=no-name-in-module # pylint: disable=import-error f...
32.052632
89
0.753695
100
609
4.45
0.61
0.08764
0.080899
0.098876
0.139326
0.139326
0
0
0
0
0
0.017375
0.149425
609
18
90
33.833333
0.841699
0.490969
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.714286
0
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
0
1
0
1
0
1
0
0
3
1f2f8d0362898475770f20166d5a7cb1a5716ca9
61
py
Python
___Python/Angela/PyKurs/p13_berechnungen/m02_check_ob_primzahl.py
uvenil/PythonKurs201806
85afa9c9515f5dd8bec0c546f077d8cc39568fe8
[ "Apache-2.0" ]
null
null
null
___Python/Angela/PyKurs/p13_berechnungen/m02_check_ob_primzahl.py
uvenil/PythonKurs201806
85afa9c9515f5dd8bec0c546f077d8cc39568fe8
[ "Apache-2.0" ]
null
null
null
___Python/Angela/PyKurs/p13_berechnungen/m02_check_ob_primzahl.py
uvenil/PythonKurs201806
85afa9c9515f5dd8bec0c546f077d8cc39568fe8
[ "Apache-2.0" ]
null
null
null
zahl = input("Zahl?") zaehler = 1 def primzahl(zahl):
10.166667
22
0.590164
8
61
4.5
0.75
0
0
0
0
0
0
0
0
0
0
0.021739
0.245902
61
5
23
12.2
0.76087
0
0
0
0
0
0.089286
0
0
0
0
0
0
0
null
null
0
0
null
null
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
1f3dc092fdb564ed92a061e62c76804a35f88a3f
1,062
py
Python
app/main/models/Unidade_medida.py
amandapersampa/Franguinho
940b6601a821ab4857de7f0a5a0ac53f6f54a564
[ "MIT" ]
null
null
null
app/main/models/Unidade_medida.py
amandapersampa/Franguinho
940b6601a821ab4857de7f0a5a0ac53f6f54a564
[ "MIT" ]
8
2017-03-14T11:55:07.000Z
2017-04-03T00:53:32.000Z
app/main/models/Unidade_medida.py
amandapersampa/MicroGerencia
940b6601a821ab4857de7f0a5a0ac53f6f54a564
[ "MIT" ]
null
null
null
# coding=utf-8 from sqlalchemy.orm import relationship from app import db class Unidade_medida_dao(db.Model): __tablename__ = "unidademedida" id_unidade_medida = db.Column(db.Integer, primary_key=True) nome = db.Column(db.String, unique=True) produto = relationship("Produto_dao", back_populates="unida...
24.697674
84
0.684557
138
1,062
4.992754
0.391304
0.169811
0.139332
0.152395
0.208999
0.130624
0.092888
0
0
0
0
0.001188
0.207156
1,062
42
85
25.285714
0.817102
0.011299
0
0.142857
0
0
0.049808
0
0
0
0
0
0
1
0.25
false
0
0.071429
0.142857
0.678571
0.071429
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
1f5c01403fd06c17558a2343470076d802e6f3ad
1,941
py
Python
simpleEquationsSolver.py
piotrbla/pyExamples
d949784e614da53afc05a1245c824d0b853d8234
[ "MIT" ]
null
null
null
simpleEquationsSolver.py
piotrbla/pyExamples
d949784e614da53afc05a1245c824d0b853d8234
[ "MIT" ]
null
null
null
simpleEquationsSolver.py
piotrbla/pyExamples
d949784e614da53afc05a1245c824d0b853d8234
[ "MIT" ]
null
null
null
def printint(x1, x2, x3, x4, x5, x6, x7, x8, x9, x10): print(int(x1), int(x2), int(x3), int(x4), int(x5), int(x6), int(x7), int(x8), int(x9), int(x10)) for r1 in [1, 2, 3]: for r2 in [1, 2, 3]: for r3 in [1, 2, 3]: for r4 in [1, 2, 3]: for r5 in [1, 2, 3]: ...
48.525
100
0.27357
256
1,941
2.074219
0.1875
0.060264
0.065913
0.056497
0.376648
0.26742
0.26742
0.109228
0.109228
0.109228
0
0.314214
0.586811
1,941
40
101
48.525
0.34788
0
0
0.081081
0
0
0
0
0
0
0
0
0
1
0.027027
false
0
0
0
0.027027
0.135135
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
1
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
1f7d58c5169e7d788482c87f4ccbcd8296dfbfa3
103
py
Python
spike/test_diode.py
vasi1796/robotx_img_proc
8153aac1b191adb9b91979b40e16b64dc91d80e9
[ "MIT" ]
null
null
null
spike/test_diode.py
vasi1796/robotx_img_proc
8153aac1b191adb9b91979b40e16b64dc91d80e9
[ "MIT" ]
null
null
null
spike/test_diode.py
vasi1796/robotx_img_proc
8153aac1b191adb9b91979b40e16b64dc91d80e9
[ "MIT" ]
null
null
null
import RPi.GPIO as GPIO GPIO.setmode(GPIO.BCM) GPIO.setup(4, GPIO.IN) while True: print GPIO.input(4)
20.6
23
0.747573
20
103
3.85
0.65
0
0
0
0
0
0
0
0
0
0
0.021978
0.116505
103
5
24
20.6
0.824176
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
1f897f652d2916b10fd2378286bc4be185417810
506
py
Python
ihunch_escape/app/views.py
koyokr/ihunch-escape-api
78e64cd8c34f986d15830a1d18d1735d43f639e4
[ "MIT" ]
null
null
null
ihunch_escape/app/views.py
koyokr/ihunch-escape-api
78e64cd8c34f986d15830a1d18d1735d43f639e4
[ "MIT" ]
1
2020-08-15T11:08:13.000Z
2020-08-16T16:48:04.000Z
ihunch_escape/app/views.py
koyokr/ihunch-escape-api
78e64cd8c34f986d15830a1d18d1735d43f639e4
[ "MIT" ]
2
2020-08-14T13:12:55.000Z
2020-08-14T13:16:40.000Z
from rest_framework.parsers import FileUploadParser from rest_framework.response import Response from rest_framework.views import APIView from rest_framework import status from .predictor import iHunchPredictor class Upload(APIView): parser_class = (FileUploadParser,) predictor = iHunchPredictor() def p...
29.764706
56
0.762846
61
506
6.180328
0.508197
0.084881
0.180371
0
0
0
0
0
0
0
0
0.007059
0.160079
506
16
57
31.625
0.88
0
0
0
0
0
0.007905
0
0
0
0
0
0
1
0.083333
false
0
0.416667
0
0.833333
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
1f8e9e9f12abb653d9b56ee48b81f82398e1b207
222
py
Python
flocka/config_test_default.py
sleekslush/flocka
3d1c0ae9bf82b7b8afb03494ee6dd8488157fe68
[ "BSD-2-Clause" ]
1
2018-10-09T14:09:12.000Z
2018-10-09T14:09:12.000Z
flocka/config_test_default.py
sleekslush/flocka
3d1c0ae9bf82b7b8afb03494ee6dd8488157fe68
[ "BSD-2-Clause" ]
11
2017-03-22T15:26:05.000Z
2017-06-01T20:17:52.000Z
flocka/config_test_default.py
sleekslush/flocka
3d1c0ae9bf82b7b8afb03494ee6dd8488157fe68
[ "BSD-2-Clause" ]
null
null
null
DEBUG = False WTF_CSRF_ENABLED = False SQLALCHEMY_ECHO = False SQLALCHEMY_DATABASE_URI = 'sqlite:////tmp/flocka_test.db' #SQLALCHEMY_DATABASE_URI = 'mysql://flocka_test:flocka_test@localhost:3306/flocka_test?charset=utf8'
37
100
0.815315
31
222
5.483871
0.612903
0.235294
0.247059
0
0
0
0
0
0
0
0
0.024155
0.067568
222
5
101
44.4
0.797101
0.445946
0
0
0
0
0.237705
0.237705
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2f168e5ed89930ef444941f92476f932294d8590
116
py
Python
src/stackoverflow/64329623/common/common_util.py
mrdulin/python-codelab
3d960a14a96b3a673b7dc2277d202069b1f8e778
[ "MIT" ]
null
null
null
src/stackoverflow/64329623/common/common_util.py
mrdulin/python-codelab
3d960a14a96b3a673b7dc2277d202069b1f8e778
[ "MIT" ]
null
null
null
src/stackoverflow/64329623/common/common_util.py
mrdulin/python-codelab
3d960a14a96b3a673b7dc2277d202069b1f8e778
[ "MIT" ]
3
2020-02-19T08:02:04.000Z
2021-06-08T13:27:51.000Z
class CommonUtil: @staticmethod def get_value_from_ssm_parameter_store(key): print('call real aws')
23.2
48
0.715517
15
116
5.2
1
0
0
0
0
0
0
0
0
0
0
0
0.206897
116
4
49
29
0.847826
0
0
0
0
0
0.112069
0
0
0
0
0
0
1
0.25
false
0
0
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
2f2604941610f15e012641141eb0a015ff09eb51
152
py
Python
pyFeel/__init__.py
MaHamelin/pyFeel
f88bfd4910da7c322eaf20fa6367aec392f38564
[ "MIT" ]
null
null
null
pyFeel/__init__.py
MaHamelin/pyFeel
f88bfd4910da7c322eaf20fa6367aec392f38564
[ "MIT" ]
null
null
null
pyFeel/__init__.py
MaHamelin/pyFeel
f88bfd4910da7c322eaf20fa6367aec392f38564
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ @author: Adil Zouitine <adilzouitinegm@gmail.com> """ from .pyFeel import Feel __version__ = "0.1"
15.2
49
0.651316
20
152
4.75
1
0
0
0
0
0
0
0
0
0
0
0.030769
0.144737
152
9
50
16.888889
0.7
0.611842
0
0
0
0
0.061224
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
2f2f0daa848fe007ace9368b671610a456fcbde5
325
py
Python
pnk_server/missions/serializers.py
RomzaLabs/pnk_server
543d966b2f713794f0b6bdc90a535a2ee3cd0bb4
[ "MIT" ]
null
null
null
pnk_server/missions/serializers.py
RomzaLabs/pnk_server
543d966b2f713794f0b6bdc90a535a2ee3cd0bb4
[ "MIT" ]
18
2019-06-05T14:24:32.000Z
2021-03-09T04:48:25.000Z
pnk_server/missions/serializers.py
RomzaLabs/pnk_server
543d966b2f713794f0b6bdc90a535a2ee3cd0bb4
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import Mission class MissionSerializer(serializers.ModelSerializer): class Meta: model = Mission fields = '__all__' class MissionRSVPSerializer(serializers.ModelSerializer): class Meta: model = Mission fields = ('rsvp_user...
19.117647
57
0.704615
30
325
7.433333
0.566667
0.233184
0.278027
0.313901
0.475336
0.475336
0.475336
0
0
0
0
0
0.227692
325
16
58
20.3125
0.888446
0
0
0.4
0
0
0.052308
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2f3ce8eba306f8769ebbc939f3ee2588be89e5e8
1,260
py
Python
py/py_0358_cyclic_numbers.py
lcsm29/project-euler
fab794ece5aa7a11fc7c2177f26250f40a5b1447
[ "MIT" ]
null
null
null
py/py_0358_cyclic_numbers.py
lcsm29/project-euler
fab794ece5aa7a11fc7c2177f26250f40a5b1447
[ "MIT" ]
null
null
null
py/py_0358_cyclic_numbers.py
lcsm29/project-euler
fab794ece5aa7a11fc7c2177f26250f40a5b1447
[ "MIT" ]
null
null
null
# Solution of; # Project Euler Problem 358: Cyclic numbers # https://projecteuler.net/problem=358 # # A cyclic number with n digits has a very interesting property:When it is # multiplied by 1, 2, 3, 4, . . . n, all the products have exactly the same # digits, in the same order, but rotated in a circular fashion!The...
39.375
79
0.720635
188
1,260
4.829787
0.547872
0.052863
0.024229
0
0
0
0
0
0
0
0
0.291089
0.198413
1,260
31
80
40.645161
0.59802
0.849206
0
0
0
0
0.047059
0
0
0
0
0
0
1
0.125
false
0.125
0.125
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
2f402957a6dddc1d61e77f7a2d1e8dab6f0f7e08
795
py
Python
app/api/backup/create_admin.py
wang-h/backend-app-fastapi-sqlite
c155229e7187e381457730a40a9d660c0e98440d
[ "MIT" ]
null
null
null
app/api/backup/create_admin.py
wang-h/backend-app-fastapi-sqlite
c155229e7187e381457730a40a9d660c0e98440d
[ "MIT" ]
null
null
null
app/api/backup/create_admin.py
wang-h/backend-app-fastapi-sqlite
c155229e7187e381457730a40a9d660c0e98440d
[ "MIT" ]
null
null
null
from fastapi import APIRouter, Depends from pydantic import main from .sql import crud from .sql import models from .sql import schemas from .sql.database import SessionLocal, engine from sqlalchemy.orm import Session from fastapi import status, Response models.Base.metadata.create_all(bind=engine) ###################...
22.714286
76
0.674214
99
795
5.252525
0.444444
0.053846
0.075
0
0
0
0
0
0
0
0
0.004587
0.177358
795
34
77
23.382353
0.79052
0.132075
0
0
0
0
0.006221
0
0
0
0
0
0
1
0.105263
false
0.105263
0.421053
0
0.578947
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
2f4e11cb186b9c65ef008ea64abe9cb4ba6f2bcd
126
py
Python
aruco_detect/scripts/marker_generation/test.py
sensationHJ/fiducials
9c9f58121dcb52e939de420dcd1bd4f9483accc2
[ "BSD-3-Clause" ]
null
null
null
aruco_detect/scripts/marker_generation/test.py
sensationHJ/fiducials
9c9f58121dcb52e939de420dcd1bd4f9483accc2
[ "BSD-3-Clause" ]
null
null
null
aruco_detect/scripts/marker_generation/test.py
sensationHJ/fiducials
9c9f58121dcb52e939de420dcd1bd4f9483accc2
[ "BSD-3-Clause" ]
null
null
null
import numpy as np from func_dh_table import Tmat aa = np.array([[ -np.pi/2, 0 , 0, -np.pi/2],[0, 1.77, 0, 0.08]]) Tmat(aa)
18
64
0.611111
29
126
2.586207
0.586207
0.16
0.133333
0.16
0
0
0
0
0
0
0
0.115385
0.174603
126
7
65
18
0.605769
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2f52e8b1438abba3c95c39982931dbdcb3353217
196
py
Python
django_graphql_example/schema.py
lukeaus/django-docker-graphql-example
a58162c7b8e618e06df32d9f60ed4b1509b31b27
[ "MIT" ]
1
2019-04-30T15:03:24.000Z
2019-04-30T15:03:24.000Z
django_graphql_example/schema.py
lukeaus/django-docker-graphql-example
a58162c7b8e618e06df32d9f60ed4b1509b31b27
[ "MIT" ]
null
null
null
django_graphql_example/schema.py
lukeaus/django-docker-graphql-example
a58162c7b8e618e06df32d9f60ed4b1509b31b27
[ "MIT" ]
null
null
null
import graphene from ingredients import schema as ingredients_schema class Query( ingredients_schema.Query, graphene.ObjectType): pass schema = graphene.Schema(query=Query)
17.818182
52
0.744898
22
196
6.545455
0.454545
0.236111
0
0
0
0
0
0
0
0
0
0
0.19898
196
10
53
19.6
0.917197
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.142857
0.285714
0
0.428571
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
2f70a2301fa5b7792fe9def856d9434d06b2bf45
796
py
Python
app/momentjs.py
staeff/megaflask
8d5687be181374820debece800ab37f4978fc07c
[ "BSD-3-Clause" ]
null
null
null
app/momentjs.py
staeff/megaflask
8d5687be181374820debece800ab37f4978fc07c
[ "BSD-3-Clause" ]
null
null
null
app/momentjs.py
staeff/megaflask
8d5687be181374820debece800ab37f4978fc07c
[ "BSD-3-Clause" ]
null
null
null
from jinja2 import Markup class momentjs(object): """ create a wrapper for moment.js that we can invoke from the templates """ def __init__(self, timestamp): self.timestamp = timestamp def render(self, format): """ Returns a string that Moment.js can parse and work with. Wrapp...
31.84
80
0.605528
103
796
4.640777
0.524272
0.08159
0.100418
0.083682
0
0
0
0
0
0
0
0.003378
0.256281
796
24
81
33.166667
0.804054
0.273869
0
0
0
0
0.179298
0.060998
0
0
0
0
0
1
0.357143
false
0
0.071429
0.214286
0.785714
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
85dca8b0871fb977b20a7eecf30b74daee311a65
2,151
py
Python
utils.py
hgmuc/deepcv_gan
22dd30d3a81d595dab94fb5dcb316c9ffc85a111
[ "MIT" ]
null
null
null
utils.py
hgmuc/deepcv_gan
22dd30d3a81d595dab94fb5dcb316c9ffc85a111
[ "MIT" ]
null
null
null
utils.py
hgmuc/deepcv_gan
22dd30d3a81d595dab94fb5dcb316c9ffc85a111
[ "MIT" ]
null
null
null
# Original Version: Taehoon Kim (http://carpedm20.github.io) # + Source: https://github.com/carpedm20/DCGAN-tensorflow/blob/e30539fb5e20d5a0fed40935853da97e9e55eee8/utils.py # + License: MIT from __future__ import division import math import random import scipy.misc import imageio import numpy as np import os from ...
31.632353
114
0.67271
331
2,151
4.217523
0.287009
0.038682
0.030086
0.038682
0.097421
0.077364
0.04298
0
0
0
0
0.043578
0.189214
2,151
67
115
32.104478
0.756881
0.087401
0
0.039216
0
0
0.001021
0
0
0
0
0
0
1
0.215686
false
0
0.156863
0.117647
0.588235
0.039216
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
c827390b76cc74d1412fbd22aea329714d196590
2,120
py
Python
devilry/utils/tests/test_nodenamesuggestor.py
aless80/devilry-django
416c262e75170d5662542f15e2d7fecf5ab84730
[ "BSD-3-Clause" ]
29
2015-01-18T22:56:23.000Z
2020-11-10T21:28:27.000Z
devilry/utils/tests/test_nodenamesuggestor.py
aless80/devilry-django
416c262e75170d5662542f15e2d7fecf5ab84730
[ "BSD-3-Clause" ]
786
2015-01-06T16:10:18.000Z
2022-03-16T11:10:50.000Z
devilry/utils/tests/test_nodenamesuggestor.py
aless80/devilry-django
416c262e75170d5662542f15e2d7fecf5ab84730
[ "BSD-3-Clause" ]
15
2015-04-06T06:18:43.000Z
2021-02-24T12:28:30.000Z
from django.test import TestCase from devilry.utils import nodenamesuggestor class TestNameSuggestion(TestCase): def test_number_no_number(self): self.assertEqual(nodenamesuggestor.Suggest(long_name='Test', short_name='test').number, None) def test_number_not_the_same_number(self): self.asser...
47.111111
109
0.745755
251
2,120
6.011952
0.243028
0.063618
0.185553
0.212061
0.673294
0.636183
0.41617
0.41617
0.284957
0.284957
0
0.016093
0.15
2,120
44
110
48.181818
0.82131
0.041509
0
0.129032
0
0
0.066535
0
0
0
0
0
0.387097
1
0.322581
false
0
0.064516
0
0.419355
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
1
0
0
0
0
0
0
0
3
c82d421898ec9f861e3c0ec77a57a496379f7845
94
py
Python
ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/util/psi/data/incorrect/in_4_indentation.py
JetBrains-Research/ast-transformations
0ab408af3275b520cc87a473f418c4b4dfcb0284
[ "MIT" ]
8
2021-01-19T21:15:54.000Z
2022-02-23T19:16:25.000Z
ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/util/psi/data/incorrect/in_4_indentation.py
JetBrains-Research/ast-transformations
0ab408af3275b520cc87a473f418c4b4dfcb0284
[ "MIT" ]
4
2020-11-17T14:28:25.000Z
2022-02-24T07:54:28.000Z
ast-transformations-core/src/test/resources/org/jetbrains/research/ml/ast/util/psi/data/incorrect/in_4_indentation.py
nbirillo/ast-transformations
717706765a2da29087a0de768fc851698886dd65
[ "MIT" ]
1
2022-02-23T19:16:30.000Z
2022-02-23T19:16:30.000Z
def foo(): for i in range(10): print(i) # Wrong indentation print('done') foo()
13.428571
23
0.56383
14
94
3.785714
0.785714
0
0
0
0
0
0
0
0
0
0
0.029412
0.276596
94
7
24
13.428571
0.75
0
0
0
0
0
0.052632
0
0
0
0
0
0
0
null
null
0
0
null
null
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
c82dac0115b21e69df1430534528cdfb2d26fc16
513
py
Python
pront/caller_info.py
matthew-f-bailey/pront
9ae2b1f7f3b1c59bc74849c2ecc9947728c61036
[ "MIT" ]
null
null
null
pront/caller_info.py
matthew-f-bailey/pront
9ae2b1f7f3b1c59bc74849c2ecc9947728c61036
[ "MIT" ]
null
null
null
pront/caller_info.py
matthew-f-bailey/pront
9ae2b1f7f3b1c59bc74849c2ecc9947728c61036
[ "MIT" ]
null
null
null
import inspect class Caller(): def __init__(self) -> None: """Creates custom info on calling module """ stack = inspect.stack()[2] self._fullpath = stack.filename self._line_no = stack.lineno self._module = stack.filename.split('\\')[-1].replace(".py", "") @pr...
20.52
72
0.586745
58
513
4.965517
0.465517
0.0625
0.145833
0
0
0
0
0
0
0
0
0.005495
0.290448
513
24
73
21.375
0.785714
0.072125
0
0.1875
0
0
0.010846
0
0
0
0
0
0
1
0.25
false
0
0.0625
0.1875
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
1
0
0
0
1
1
0
0
3
c82e8106636b516668f8fd7c0110a1b5ed71b290
124
py
Python
scripts/10039.py
JihoChoi/BOJ
08974a9db8ebaa299ace242e951cac53ab55fc4d
[ "MIT" ]
null
null
null
scripts/10039.py
JihoChoi/BOJ
08974a9db8ebaa299ace242e951cac53ab55fc4d
[ "MIT" ]
null
null
null
scripts/10039.py
JihoChoi/BOJ
08974a9db8ebaa299ace242e951cac53ab55fc4d
[ "MIT" ]
null
null
null
sum = 0 for _ in range(5): score = int(input()) if score < 40: score = 40 sum += score print(int(sum/5))
17.714286
24
0.524194
20
124
3.2
0.6
0.21875
0
0
0
0
0
0
0
0
0
0.083333
0.322581
124
7
25
17.714286
0.678571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
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
c841deca4a17269dbfe350547ac85340ea4a1b42
455
py
Python
src/ReportingAPP/admin.py
mizamae/HomeAutomation
8c462ee4c31c1fea6792cb19af66a4d2cf7bb2ca
[ "MIT" ]
null
null
null
src/ReportingAPP/admin.py
mizamae/HomeAutomation
8c462ee4c31c1fea6792cb19af66a4d2cf7bb2ca
[ "MIT" ]
9
2017-11-21T15:45:18.000Z
2022-02-11T03:37:54.000Z
src/ReportingAPP/admin.py
mizamae/HomeAutomation
8c462ee4c31c1fea6792cb19af66a4d2cf7bb2ca
[ "MIT" ]
1
2020-07-22T02:24:17.000Z
2020-07-22T02:24:17.000Z
from django.contrib import admin from django.utils.translation import ugettext_lazy as _ from .constants import APP_TEMPLATE_NAMESPACE from .models import Reports,ReportItems class ReportsAdmin(admin.ModelAdmin): pass class ReportItemsAdmin(admin.ModelAdmin): list_display = ('Report','fromDate','toDate') ...
25.277778
55
0.793407
52
455
6.846154
0.576923
0.05618
0.095506
0
0
0
0
0
0
0
0
0
0.112088
455
18
56
25.277778
0.881188
0
0
0.166667
0
0
0.074561
0
0
0
0
0
0
1
0
false
0.166667
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
c85032f60be305272d527c63e7fe9f130b1a0af5
187
py
Python
pyinstaller.py
idbord/CMM_Python
a80734c11326ca911449e59ed671735162c7c254
[ "MIT" ]
null
null
null
pyinstaller.py
idbord/CMM_Python
a80734c11326ca911449e59ed671735162c7c254
[ "MIT" ]
null
null
null
pyinstaller.py
idbord/CMM_Python
a80734c11326ca911449e59ed671735162c7c254
[ "MIT" ]
1
2018-10-23T05:51:57.000Z
2018-10-23T05:51:57.000Z
# -*- coding: utf-8 -*- __author__ = 'idbord' import os if __name__ == '__main__': from PyInstaller.__main__ import run opts = ['run.py', '-w', '--icon=cmm.ico'] run(opts)
18.7
45
0.593583
24
187
3.958333
0.791667
0.147368
0
0
0
0
0
0
0
0
0
0.006757
0.208556
187
9
46
20.777778
0.635135
0.112299
0
0
0
0
0.219512
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
c07deabe2986d69496f60cd79001b5240cb28313
214
py
Python
src/ticks.py
TP-Coltec-UFMG/codebot
25b6f72207e4c72745958afee7f9b73a9d00d8fe
[ "MIT" ]
null
null
null
src/ticks.py
TP-Coltec-UFMG/codebot
25b6f72207e4c72745958afee7f9b73a9d00d8fe
[ "MIT" ]
16
2020-11-27T07:07:52.000Z
2021-02-27T07:54:54.000Z
src/ticks.py
TP-Coltec-UFMG/codebot
25b6f72207e4c72745958afee7f9b73a9d00d8fe
[ "MIT" ]
null
null
null
import pygame delta = -1 ticks = -1 def update(): global delta, ticks delta = ticks ticks = pygame.time.get_ticks() def get_time(): return ticks def get_variation(): return ticks - delta
11.263158
35
0.640187
29
214
4.62069
0.413793
0.149254
0.164179
0
0
0
0
0
0
0
0
0.012658
0.261682
214
18
36
11.888889
0.835443
0
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0.181818
0.545455
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
c092346153345f2093ef78dce2802cc9ed325811
1,306
py
Python
dev_tools/check_incremental_coverage.py
jlmayfield/Cirq
dc1294f54118a9a4f92546ca13780b91615dd675
[ "Apache-2.0" ]
278
2018-07-18T23:43:16.000Z
2022-01-02T21:38:08.000Z
dev_tools/check_incremental_coverage.py
jlmayfield/Cirq
dc1294f54118a9a4f92546ca13780b91615dd675
[ "Apache-2.0" ]
131
2018-07-18T19:04:58.000Z
2020-08-04T21:05:42.000Z
dev_tools/check_incremental_coverage.py
jlmayfield/Cirq
dc1294f54118a9a4f92546ca13780b91615dd675
[ "Apache-2.0" ]
101
2018-07-18T21:43:50.000Z
2022-03-04T09:51:02.000Z
# Copyright 2018 Google LLC # # 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
37.314286
77
0.738132
181
1,306
5.248619
0.59116
0.063158
0.027368
0.033684
0.067368
0
0
0
0
0
0
0.007605
0.194487
1,306
34
78
38.411765
0.895437
0.547473
0
0
0
0
0.139286
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0.181818
0.818182
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
c098b1659fbb5d7b86189a6feca6b983c60d2140
194
py
Python
epubcheck/const.py
titusz/epubcheck
1f8434aa9fa258186adaf1c085555b4122f2f02a
[ "BSD-2-Clause" ]
10
2016-04-18T07:13:25.000Z
2021-12-01T16:52:58.000Z
epubcheck/const.py
titusz/epubcheck
1f8434aa9fa258186adaf1c085555b4122f2f02a
[ "BSD-2-Clause" ]
12
2016-04-20T11:02:07.000Z
2022-01-26T00:36:46.000Z
epubcheck/const.py
titusz/epubcheck
1f8434aa9fa258186adaf1c085555b4122f2f02a
[ "BSD-2-Clause" ]
7
2016-04-05T14:29:19.000Z
2021-09-28T19:48:56.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from os.path import dirname, join JAVA = "java" PROJECT_PATH = dirname(__file__) EPUBCHECK = join(PROJECT_PATH, "epubcheck.jar")
24.25
47
0.747423
26
194
5.153846
0.653846
0.164179
0
0
0
0
0
0
0
0
0
0.005917
0.128866
194
7
48
27.714286
0.786982
0.108247
0
0
0
0
0.099415
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
c0dfb03f4339b63762d45e441dfe44d4a4b23345
1,927
py
Python
psstore4ru/core/scraping_routines/catalogue_page.py
Ian-Gabaraev/psstorereader
02c983eb0baf92599cce3bd523d0a2ae658e5377
[ "MIT" ]
null
null
null
psstore4ru/core/scraping_routines/catalogue_page.py
Ian-Gabaraev/psstorereader
02c983eb0baf92599cce3bd523d0a2ae658e5377
[ "MIT" ]
null
null
null
psstore4ru/core/scraping_routines/catalogue_page.py
Ian-Gabaraev/psstorereader
02c983eb0baf92599cce3bd523d0a2ae658e5377
[ "MIT" ]
null
null
null
import json import re from psstore4ru.core.scraping_routines.meta.variables import SELECTORS class Scraper: def __init__(self, soup): self.soup = soup @staticmethod def __extract_pars_able_data_from_source(soup): pinpointed_data = soup.find('script', SELECTORS['products']) pinpo...
34.410714
115
0.75973
231
1,927
5.792208
0.290043
0.059791
0.071749
0.028401
0.252616
0.115097
0.071749
0.071749
0.071749
0.071749
0
0.001861
0.163467
1,927
55
116
35.036364
0.828164
0
0
0.162162
0
0
0.082512
0.05397
0
0
0
0
0
1
0.216216
false
0
0.081081
0.108108
0.513514
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
c0f0fd5c0674859268e261806c626f693d219822
134
py
Python
Assignments/Functions/Extracting a number/code.py
Axelm-HR/HR
01e17d0f1164719efdceef4cfb9d7c00b94c151a
[ "MIT" ]
null
null
null
Assignments/Functions/Extracting a number/code.py
Axelm-HR/HR
01e17d0f1164719efdceef4cfb9d7c00b94c151a
[ "MIT" ]
null
null
null
Assignments/Functions/Extracting a number/code.py
Axelm-HR/HR
01e17d0f1164719efdceef4cfb9d7c00b94c151a
[ "MIT" ]
null
null
null
def extract_first_number_from_string(s1): for i in s1.split(): if i.isnumeric(): return int(i) return -1
19.142857
41
0.589552
20
134
3.75
0.8
0
0
0
0
0
0
0
0
0
0
0.032258
0.30597
134
6
42
22.333333
0.774194
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
c0ffdfee6baff64faab10ff97c1fb57fc8dfad31
117
py
Python
bob/bio/face/config/database/multipie.py
bioidiap/bob.bio.face
2341e6423ca5a412ebe23fa18acacd69ea1ef914
[ "BSD-3-Clause" ]
4
2016-09-01T13:16:46.000Z
2021-09-03T03:27:18.000Z
bob/bio/face/config/database/multipie.py
bioidiap/bob.bio.face
2341e6423ca5a412ebe23fa18acacd69ea1ef914
[ "BSD-3-Clause" ]
6
2015-09-02T19:31:15.000Z
2016-10-10T21:48:39.000Z
bob/bio/face/config/database/multipie.py
bioidiap/bob.bio.face
2341e6423ca5a412ebe23fa18acacd69ea1ef914
[ "BSD-3-Clause" ]
6
2015-10-07T17:18:48.000Z
2017-07-18T19:41:14.000Z
#!/usr/bin/env python from bob.bio.face.database import MultipieDatabase database = MultipieDatabase(protocol="U")
19.5
50
0.786325
15
117
6.133333
0.866667
0
0
0
0
0
0
0
0
0
0
0
0.094017
117
5
51
23.4
0.867925
0.17094
0
0
0
0
0.010417
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
8d029384989da9e51ebe2ae48b7fbb3feb99dd5b
816
py
Python
symupy/abstractions/observer.py
symuvia/symupy
e6604c59bb4474f594ef5c997508f0407c9b3870
[ "MIT" ]
2
2019-07-01T09:58:53.000Z
2020-06-12T12:12:46.000Z
symupy/abstractions/observer.py
licit-lab/symupy
942a17ee78cd12a363a4cd7b7f8363e239ccf7fe
[ "MIT" ]
33
2021-01-18T13:59:01.000Z
2021-11-29T13:21:10.000Z
symupy/abstractions/observer.py
licit-lab/symupy
942a17ee78cd12a363a4cd7b7f8363e239ccf7fe
[ "MIT" ]
7
2018-07-12T13:34:38.000Z
2019-10-02T13:37:31.000Z
""" Abstract Observer ================= This module implements a general metaclass of the observer. """ # ============================================================================ # STANDARD IMPORTS # ============================================================================ import abc # ===========...
28.137931
79
0.378676
53
816
5.641509
0.698113
0.113712
0.133779
0
0
0
0
0
0
0
0
0
0.177696
816
28
80
29.142857
0.445604
0.601716
0
0.4
0
0
0
0
0
0
0
0
0
1
0.3
false
0.2
0.1
0.1
0.6
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
0
1
0
0
0
0
0
3
2389c07b03d0e2dd5856de9a465ba740ca5415ba
1,619
py
Python
code/python/ForeignExchangeRate/v1/fds/sdk/ForeignExchangeRate/__init__.py
factset/enterprise-sdk
3fd4d1360756c515c9737a0c9a992c7451d7de7e
[ "Apache-2.0" ]
6
2022-02-07T16:34:18.000Z
2022-03-30T08:04:57.000Z
code/python/ForeignExchangeRate/v1/fds/sdk/ForeignExchangeRate/__init__.py
factset/enterprise-sdk
3fd4d1360756c515c9737a0c9a992c7451d7de7e
[ "Apache-2.0" ]
2
2022-02-07T05:25:57.000Z
2022-03-07T14:18:04.000Z
code/python/ForeignExchangeRate/v1/fds/sdk/ForeignExchangeRate/__init__.py
factset/enterprise-sdk
3fd4d1360756c515c9737a0c9a992c7451d7de7e
[ "Apache-2.0" ]
null
null
null
# flake8: noqa """ Foreign Exchange Rates API Foreign Exchange Rates API in which retrieves Spots and Forwards for a given currency pair and date range. <p>*Spots and Forwards rates are sourced from W/M Reuters.The WM Company calculates daily standardized spot rates for global foreign exchange transactions, u...
55.827586
824
0.818406
219
1,619
6.027397
0.515982
0.042424
0.060606
0.175758
0.204545
0.204545
0
0
0
0
0
0.013562
0.134651
1,619
28
825
57.821429
0.928622
0.637431
0
0
0
0
0.010791
0
0
0
0
0
0
1
0
false
0
0.888889
0
0.888889
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
238f6494e222989182d0a780e66f631d7a9fa3ff
232
py
Python
__init__.py
lpimem/dscc
a005cbc34fd053febeabc70dd893871814ce4e82
[ "MIT" ]
null
null
null
__init__.py
lpimem/dscc
a005cbc34fd053febeabc70dd893871814ce4e82
[ "MIT" ]
null
null
null
__init__.py
lpimem/dscc
a005cbc34fd053febeabc70dd893871814ce4e82
[ "MIT" ]
null
null
null
import os cache_dir = os.path.sep.join([ os.path.expanduser("~"), "tmp", "dscc" ]) if not os.path.exists(cache_dir): os.makedirs(cache_dir) def get_cache_filename(name): return os.path.sep.join([cache_dir, name+".p"])
21.090909
51
0.672414
38
232
3.947368
0.526316
0.213333
0.133333
0.173333
0
0
0
0
0
0
0
0
0.137931
232
11
51
21.090909
0.75
0
0
0
0
0
0.042918
0
0
0
0
0
0
1
0.125
false
0
0.125
0.125
0.375
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
0
1
0
0
0
3
239f2b9863a2bfd57254b9b73986b2d23cd6d6b1
53
py
Python
pylio/__init__.py
rekeninghub/pylio
e0ad6fcce2c1f58d04267a8b7d386720067371f2
[ "MIT" ]
null
null
null
pylio/__init__.py
rekeninghub/pylio
e0ad6fcce2c1f58d04267a8b7d386720067371f2
[ "MIT" ]
null
null
null
pylio/__init__.py
rekeninghub/pylio
e0ad6fcce2c1f58d04267a8b7d386720067371f2
[ "MIT" ]
null
null
null
__version__ = '0.0.1' from .pylio import PylioAsync
13.25
29
0.735849
8
53
4.375
0.875
0
0
0
0
0
0
0
0
0
0
0.066667
0.150943
53
3
30
17.666667
0.711111
0
0
0
0
0
0.09434
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