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
420d148bc469105cd3d8585bbbb8f38f1d6ec875
2,058
py
Python
metaflow/plugins/env_escape/configurations/test_lib_impl/test_lib.py
RobBlumberg/metaflow
9f737e6026eee250c1593a2cb1d1c4b19a00adf4
[ "Apache-2.0" ]
5,821
2019-12-03T17:57:52.000Z
2022-03-31T22:55:12.000Z
metaflow/plugins/env_escape/configurations/test_lib_impl/test_lib.py
RobBlumberg/metaflow
9f737e6026eee250c1593a2cb1d1c4b19a00adf4
[ "Apache-2.0" ]
605
2019-12-03T23:09:32.000Z
2022-03-31T16:15:05.000Z
metaflow/plugins/env_escape/configurations/test_lib_impl/test_lib.py
RobBlumberg/metaflow
9f737e6026eee250c1593a2cb1d1c4b19a00adf4
[ "Apache-2.0" ]
539
2019-12-03T18:25:53.000Z
2022-03-29T18:22:33.000Z
import functools class MyBaseException(Exception): pass class SomeException(MyBaseException): pass class TestClass1(object): cls_object = 25 def __init__(self, value): self._value = value self._value2 = 123 def unsupported_method(self): pass def print_value(self...
20.376238
65
0.623907
246
2,058
4.97561
0.321138
0.080882
0.045752
0.046569
0.153595
0.047386
0
0
0
0
0
0.014825
0.278912
2,058
100
66
20.58
0.809973
0.019436
0
0.138462
0
0
0.062996
0
0
0
0
0
0
1
0.338462
false
0.046154
0.015385
0.169231
0.646154
0.046154
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
421a32da4769d80ffba1268d31b7a676642e60fc
1,009
py
Python
s3prl/upstream/example/hubconf.py
hhhaaahhhaa/s3prl
a469787f05c42196c4d989555082f5fd9dcbe8a6
[ "Apache-2.0" ]
856
2021-01-15T15:40:32.000Z
2022-03-31T07:08:17.000Z
s3prl/upstream/example/hubconf.py
hhhaaahhhaa/s3prl
a469787f05c42196c4d989555082f5fd9dcbe8a6
[ "Apache-2.0" ]
210
2021-01-15T13:28:50.000Z
2022-03-30T06:13:51.000Z
s3prl/upstream/example/hubconf.py
hhhaaahhhaa/s3prl
a469787f05c42196c4d989555082f5fd9dcbe8a6
[ "Apache-2.0" ]
208
2021-01-15T03:03:12.000Z
2022-03-31T08:33:27.000Z
from .expert import UpstreamExpert as _UpstreamExpert def customized_upstream(*args, **kwargs): """ To enable your customized pretrained model, you only need to implement upstream/example/expert.py and leave this file as is. This file is used to register the UpstreamExpert in upstream/example/expert.p...
32.548387
74
0.716551
133
1,009
5.353383
0.548872
0.101124
0.058989
0.064607
0.092697
0
0
0
0
0
0
0.006378
0.222993
1,009
30
75
33.633333
0.901786
0.767096
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
0
0
0
3
421cd1f840cd074e3eb92df46eaaf5c4a3768113
1,891
py
Python
boa3/model/builtin/interop/oracle/oracletype.py
hal0x2328/neo3-boa
6825a3533384cb01660773050719402a9703065b
[ "Apache-2.0" ]
25
2020-07-22T19:37:43.000Z
2022-03-08T03:23:55.000Z
boa3/model/builtin/interop/oracle/oracletype.py
hal0x2328/neo3-boa
6825a3533384cb01660773050719402a9703065b
[ "Apache-2.0" ]
419
2020-04-23T17:48:14.000Z
2022-03-31T13:17:45.000Z
boa3/model/builtin/interop/oracle/oracletype.py
hal0x2328/neo3-boa
6825a3533384cb01660773050719402a9703065b
[ "Apache-2.0" ]
15
2020-05-21T21:54:24.000Z
2021-11-18T06:17:24.000Z
from __future__ import annotations from typing import Any, Dict, Optional from boa3.model.method import Method from boa3.model.property import Property from boa3.model.type.classes.classarraytype import ClassArrayType from boa3.model.variable import Variable class OracleType(ClassArrayType): """ A class use...
27.014286
95
0.657324
204
1,891
5.901961
0.279412
0.046512
0.064784
0.044851
0.181063
0.16113
0
0
0
0
0
0.004912
0.24643
1,891
69
96
27.405797
0.84
0.032787
0
0.255319
0
0
0.012135
0
0
0
0
0
0
1
0.212766
false
0
0.170213
0.148936
0.595745
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
42228f1e28d8899ed8da922c4eb2bd3b92ca4e69
191
py
Python
photo-hub/api/pagination.py
RodionChachura/photo-hub
20ec008076a34cb09b289fda0557e2efc7e06232
[ "MIT" ]
null
null
null
photo-hub/api/pagination.py
RodionChachura/photo-hub
20ec008076a34cb09b289fda0557e2efc7e06232
[ "MIT" ]
null
null
null
photo-hub/api/pagination.py
RodionChachura/photo-hub
20ec008076a34cb09b289fda0557e2efc7e06232
[ "MIT" ]
null
null
null
from rest_framework.pagination import PageNumberPagination class StandardPagination(PageNumberPagination): page_size = 30 page_size_query_param = 'page_size' max_page_size = 1000
31.833333
58
0.811518
22
191
6.681818
0.681818
0.217687
0
0
0
0
0
0
0
0
0
0.036585
0.141361
191
6
59
31.833333
0.859756
0
0
0
0
0
0.046875
0
0
0
0
0
0
1
0
false
0
0.2
0
1
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
4269db32f55f118da9ba1a4ffe9262967fe30e06
283
py
Python
1501-1600/1560-Most Visited Sector in a Circular Track/1560-Most Visited Sector in a Circular Track.py
jiadaizhao/LeetCode
4ddea0a532fe7c5d053ffbd6870174ec99fc2d60
[ "MIT" ]
49
2018-05-05T02:53:10.000Z
2022-03-30T12:08:09.000Z
1501-1600/1560-Most Visited Sector in a Circular Track/1560-Most Visited Sector in a Circular Track.py
ptx-c/LeetCode
4ddea0a532fe7c5d053ffbd6870174ec99fc2d60
[ "MIT" ]
11
2017-12-15T22:31:44.000Z
2020-10-02T12:42:49.000Z
1501-1600/1560-Most Visited Sector in a Circular Track/1560-Most Visited Sector in a Circular Track.py
ptx-c/LeetCode
4ddea0a532fe7c5d053ffbd6870174ec99fc2d60
[ "MIT" ]
28
2017-12-05T10:56:51.000Z
2022-01-26T18:18:27.000Z
class Solution: def mostVisited(self, n: int, rounds: List[int]) -> List[int]: start, end = rounds[0], rounds[-1] if end >= start: return list(range(start, end + 1)) else: return list(range(1, end + 1)) + list(range(start, n + 1))
35.375
70
0.533569
39
283
3.871795
0.435897
0.178808
0.198676
0
0
0
0
0
0
0
0
0.030612
0.30742
283
7
71
40.428571
0.739796
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.571429
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
4283b88a83b93254b8e97d4642f0ca0d5d69279d
68
py
Python
examples/02_pybind/01_basic/example.py
BlockResearchGroup/WS_interoperability
604ab29c242b30b2ee9125a589afe69010ba1844
[ "MIT" ]
1
2019-07-26T22:25:25.000Z
2019-07-26T22:25:25.000Z
examples/02_pybind/01_basic/example.py
BlockResearchGroup/WS_interoperability
604ab29c242b30b2ee9125a589afe69010ba1844
[ "MIT" ]
5
2019-04-14T21:07:03.000Z
2019-05-27T21:46:37.000Z
examples/02_pybind/01_basic/example.py
BlockResearchGroup/WS_interoperability
604ab29c242b30b2ee9125a589afe69010ba1844
[ "MIT" ]
null
null
null
# example.py import basic result = basic.add(1, 5) print(result)
8.5
24
0.691176
11
68
4.272727
0.818182
0
0
0
0
0
0
0
0
0
0
0.035714
0.176471
68
7
25
9.714286
0.803571
0.147059
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
429b9b03d73a5f7f9bbccc750f09ea936a25f8a0
78
py
Python
__init__.py
bbockelm/glideinWMS
a2b39e3d4ff6c4527efad54b1eefe728a4ec9d18
[ "BSD-3-Clause" ]
null
null
null
__init__.py
bbockelm/glideinWMS
a2b39e3d4ff6c4527efad54b1eefe728a4ec9d18
[ "BSD-3-Clause" ]
3
2015-12-02T19:37:45.000Z
2016-01-20T03:21:48.000Z
__init__.py
bbockelm/glideinWMS
a2b39e3d4ff6c4527efad54b1eefe728a4ec9d18
[ "BSD-3-Clause" ]
1
2015-12-01T23:02:41.000Z
2015-12-01T23:02:41.000Z
__all__=["factory","frontend","lib","tools","creation","install","unittests"]
39
77
0.692308
8
78
6.25
1
0
0
0
0
0
0
0
0
0
0
0
0.012821
78
1
78
78
0.649351
0
0
0
0
0
0.602564
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
42a96ad3b83164695c47573ef1f876f36eb4d891
1,148
py
Python
pybloxy/classes/http.py
R0bl0x10501050/roblox.py
cbbb25878627c2d837caaeb7edf37d0aeda615ae
[ "MIT" ]
null
null
null
pybloxy/classes/http.py
R0bl0x10501050/roblox.py
cbbb25878627c2d837caaeb7edf37d0aeda615ae
[ "MIT" ]
null
null
null
pybloxy/classes/http.py
R0bl0x10501050/roblox.py
cbbb25878627c2d837caaeb7edf37d0aeda615ae
[ "MIT" ]
null
null
null
import logging import requests class Http: def sendRequest(url): payload = requests.get(str(url)) statusCode = payload.status_code content = payload.content if statusCode != 200: return logging.error(f"[Pybloxy - GET] Something went wrong! Error Code: {statusCode}") return content def postRequest(u...
26.697674
93
0.722997
141
1,148
5.858156
0.219858
0.048426
0.11138
0.130751
0.739709
0.739709
0.739709
0.739709
0.679177
0.486683
0
0.012632
0.172474
1,148
43
94
26.697674
0.856842
0
0
0.516129
0
0
0.221062
0
0
0
0
0
0
1
0.129032
false
0
0.064516
0
0.483871
0
0
0
0
null
0
0
0
0
1
1
1
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
42b002236c965251bc510639be4dce4dd1300339
2,946
py
Python
ZZZ_OtherDemo/00-dyld-832.7.3/testing/kernel-cache-tests/kext-missing-weak-bind/test.py
1079278593/TreasureChest
8b1ebe04ed7c2ed399c4ecf3b75b3fee0a1aced8
[ "MIT" ]
null
null
null
ZZZ_OtherDemo/00-dyld-832.7.3/testing/kernel-cache-tests/kext-missing-weak-bind/test.py
1079278593/TreasureChest
8b1ebe04ed7c2ed399c4ecf3b75b3fee0a1aced8
[ "MIT" ]
null
null
null
ZZZ_OtherDemo/00-dyld-832.7.3/testing/kernel-cache-tests/kext-missing-weak-bind/test.py
1079278593/TreasureChest
8b1ebe04ed7c2ed399c4ecf3b75b3fee0a1aced8
[ "MIT" ]
null
null
null
#!/usr/bin/python2.7 import os import KernelCollection # Check that weak binds can be missing, so long as we check for the magic symbol def check(kernel_cache): kernel_cache.buildKernelCollection("arm64", "/kext-missing-weak-bind/main.kc", "/kext-missing-weak-bind/main.kernel", "/kext-missing-weak-bind/extension...
62.680851
316
0.681942
391
2,946
4.987212
0.250639
0.146667
0.226154
0.249231
0.674872
0.630769
0.6
0.528205
0.443077
0.345128
0
0.038476
0.108961
2,946
46
317
64.043478
0.704381
0.260353
0
0.321429
0
0
0.348548
0.088981
0
0
0.032273
0
0.75
1
0.035714
false
0
0.071429
0
0.107143
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
35f622ff3fa5187c3265b7d1252636eaf5af175d
5,708
py
Python
tests/test_camera.py
Gokender/kameramera
7ebd9a196809c1e7ab117bb11b90bcea8d1eb8e7
[ "MIT" ]
null
null
null
tests/test_camera.py
Gokender/kameramera
7ebd9a196809c1e7ab117bb11b90bcea8d1eb8e7
[ "MIT" ]
null
null
null
tests/test_camera.py
Gokender/kameramera
7ebd9a196809c1e7ab117bb11b90bcea8d1eb8e7
[ "MIT" ]
null
null
null
import unittest from kameramera import camera class Camera(unittest.TestCase): def setUp(self): self.camera = camera.Camera(camera_id='canon_ae1') def test_general_manufacturer(self): self.assertEqual(self.camera.general.manufacturer, 'Canon') def test_general_name(self): se...
31.711111
82
0.637176
660
5,708
5.310606
0.215152
0.100428
0.233096
0.282168
0.49786
0.481312
0.180314
0.067047
0
0
0
0.033483
0.257008
5,708
180
83
31.711111
0.792973
0
0
0.022388
0
0
0.050972
0
0
0
0
0
0.320896
1
0.328358
false
0
0.014925
0
0.350746
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
c4009ade7b5eb056201eed0338579ec28e08eb56
226
py
Python
countdownhype/urls.py
chri4354/BeeMe_platform
b73843d9146c5ba54a63a8839980ee7c8024e80d
[ "CC-BY-4.0" ]
null
null
null
countdownhype/urls.py
chri4354/BeeMe_platform
b73843d9146c5ba54a63a8839980ee7c8024e80d
[ "CC-BY-4.0" ]
8
2020-06-06T01:55:55.000Z
2022-03-12T00:31:52.000Z
countdownhype/urls.py
chri4354/BeeMe_platform
b73843d9146c5ba54a63a8839980ee7c8024e80d
[ "CC-BY-4.0" ]
null
null
null
from django.urls import path, re_path from . import views urlpatterns = [ path('', views.index, name='index'), path('countdown/', views.countdown, name='countdown'), #re_path(r'.+', views.redir, name='redir'), ]
22.6
58
0.650442
29
226
5
0.448276
0.082759
0
0
0
0
0
0
0
0
0
0
0.159292
226
9
59
25.111111
0.763158
0.185841
0
0
0
0
0.131148
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
c42e658ca9b791acfc8cc494fe87a5ee5b2f994f
1,006
py
Python
jubakit/test/__init__.py
vishalbelsare/jubakit
f6252ba627ce4e2e42eb9aafaaf05c882bc1c678
[ "MIT" ]
12
2016-04-11T04:49:08.000Z
2019-02-08T01:43:46.000Z
jubakit/test/__init__.py
vishalbelsare/jubakit
f6252ba627ce4e2e42eb9aafaaf05c882bc1c678
[ "MIT" ]
138
2016-04-11T05:57:48.000Z
2020-09-26T03:09:31.000Z
jubakit/test/__init__.py
vishalbelsare/jubakit
f6252ba627ce4e2e42eb9aafaaf05c882bc1c678
[ "MIT" ]
10
2016-04-11T03:18:45.000Z
2018-04-14T10:11:15.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals __all__ = ['requireSklearn'] from jubakit.compat import PYTHON3 try: import embedded_jubatus embedded_available = True except ImportError: embedded_available = False try: import numpy import scipy ...
26.473684
82
0.777336
116
1,006
6.560345
0.37931
0.094612
0.086728
0.078844
0
0
0
0
0
0
0
0.008226
0.154076
1,006
37
83
27.189189
0.886016
0.020875
0
0.4
0
0
0.080366
0
0
0
0
0
0
1
0.2
false
0
0.333333
0.2
0.733333
0.033333
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
0
1
1
1
0
0
3
c4311123dd5258af551865a612948896d2a1bbc9
2,132
py
Python
registration/email.py
openstack-kr/openinfradays-2018
9eb0e284ab95e177dc4acca17d63ccbdaff67fb1
[ "Apache-2.0" ]
null
null
null
registration/email.py
openstack-kr/openinfradays-2018
9eb0e284ab95e177dc4acca17d63ccbdaff67fb1
[ "Apache-2.0" ]
1
2018-06-17T02:21:41.000Z
2018-06-17T02:21:41.000Z
registration/email.py
openstack-kr/openinfradays-2018
9eb0e284ab95e177dc4acca17d63ccbdaff67fb1
[ "Apache-2.0" ]
1
2018-05-31T11:39:02.000Z
2018-05-31T11:39:02.000Z
from django.core.mail import EmailMessage from django.conf import settings def send_email(name, date, email): txt = """ <html> <body> <table cellpadding='0' cellspacing='0' width='100%' border='0'> <tbody> <tr> <td style='word-wrap:break-word;font-size:0px;padding:0px;padding-bottom:10px' alig...
38.071429
147
0.60272
298
2,132
4.302013
0.285235
0.062403
0.035101
0.050702
0.669267
0.669267
0.669267
0.669267
0.669267
0.669267
0
0.05716
0.22045
2,132
55
148
38.763636
0.7142
0
0
0.54902
0
0.196078
0.874237
0.464101
0
0
0
0
0
1
0.019608
false
0
0.039216
0
0.078431
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c44e49588a5ae8bdc21c7e3ab11388f043afd9f0
8,816
py
Python
codegen/codegen/fblas_routine.py
spcl/fblas
96425fbdbaeab6f43997d839836b8224a04f3b53
[ "BSD-3-Clause" ]
68
2019-02-07T21:30:21.000Z
2022-02-16T20:09:27.000Z
codegen/codegen/fblas_routine.py
spcl/fblas
96425fbdbaeab6f43997d839836b8224a04f3b53
[ "BSD-3-Clause" ]
2
2019-03-15T17:49:03.000Z
2019-07-24T14:05:35.000Z
codegen/codegen/fblas_routine.py
spcl/fblas
96425fbdbaeab6f43997d839836b8224a04f3b53
[ "BSD-3-Clause" ]
25
2019-03-15T03:00:15.000Z
2021-08-04T10:21:43.000Z
""" FBlas Routine class: it used to represent a routine definition, specified by the user using JSON file. It is used by the Host and Module Codegen (specified by the _codegen variable). Accordingly, some class members could be invalid. """ from codegen import fblas_types from codegen import generator_def...
27.810726
153
0.678993
1,119
8,816
5.014298
0.15639
0.049902
0.062377
0.035644
0.401889
0.260916
0.20139
0.145072
0.099804
0.042417
0
0.003627
0.249433
8,816
316
154
27.898734
0.84434
0.156874
0
0.122549
0
0
0.010022
0
0
0
0
0
0
1
0.240196
false
0
0.009804
0.127451
0.529412
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
c45c12b0519ee7503fa9f8fb44c7b896a2082873
210
py
Python
tools/opt.py
hmtrii/tirg
e404020795bb46fb01b6bd82a2618f9370174012
[ "Apache-2.0" ]
null
null
null
tools/opt.py
hmtrii/tirg
e404020795bb46fb01b6bd82a2618f9370174012
[ "Apache-2.0" ]
null
null
null
tools/opt.py
hmtrii/tirg
e404020795bb46fb01b6bd82a2618f9370174012
[ "Apache-2.0" ]
null
null
null
class Opt: def __init__(self): self.dataset = "fashion200k" self.dataset_path = "./dataset/Fashion200k" self.batch_size = 32 self.embed_dim = 512 self.hashing = False self.retrieve_by_random = True
26.25
45
0.728571
29
210
4.965517
0.689655
0.152778
0.305556
0
0
0
0
0
0
0
0
0.0625
0.161905
210
8
46
26.25
0.755682
0
0
0
0
0
0.151659
0.099526
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c489f0bb6aee13c77e0b4caf8c6ecbaa282336f5
539
py
Python
services/neural/traindatabase.py
vitorecomp/hackaton-deep-learn
962eac133ac92d56d8a55136773c2afe4da2e0b5
[ "MIT" ]
null
null
null
services/neural/traindatabase.py
vitorecomp/hackaton-deep-learn
962eac133ac92d56d8a55136773c2afe4da2e0b5
[ "MIT" ]
null
null
null
services/neural/traindatabase.py
vitorecomp/hackaton-deep-learn
962eac133ac92d56d8a55136773c2afe4da2e0b5
[ "MIT" ]
null
null
null
from os import walk import h5py import numpy as np from config.Database import Base from config.Database import engine from config.Database import Session from models.Music import Music from kmeans.kmeans import Kmeans mypath = './dataset/datatr/' def main(): files = [] # 2 - generate database schema Base.meta...
15.852941
41
0.736549
74
539
5.243243
0.527027
0.07732
0.139175
0.185567
0
0
0
0
0
0
0
0.006696
0.168831
539
33
42
16.333333
0.859375
0.09833
0
0
0
0
0.05176
0
0
0
0
0
0
1
0.052632
false
0
0.421053
0
0.526316
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
67161d52650aa2e5bc2f66de7b2914c066936052
362
py
Python
after/config.py
mauvilsa/2021-config
870fd832bda269a1be7bfba32dd327df9987e74a
[ "MIT" ]
5
2021-12-25T15:16:16.000Z
2022-03-19T09:04:39.000Z
after/config.py
ArjanCodes/2021-config
7c2c3babb0fb66d69eac81590356fae512c5e784
[ "MIT" ]
1
2022-01-14T08:02:13.000Z
2022-01-14T08:02:13.000Z
after/config.py
mauvilsa/2021-config
870fd832bda269a1be7bfba32dd327df9987e74a
[ "MIT" ]
1
2022-01-14T06:32:44.000Z
2022-01-14T06:32:44.000Z
from dataclasses import dataclass @dataclass class Paths: log: str data: str @dataclass class Files: train_data: str train_labels: str test_data: str test_labels: str @dataclass class Params: epoch_count: int lr: float batch_size: int @dataclass class MNISTConfig: paths: ...
12.066667
33
0.679558
46
362
5.217391
0.478261
0.233333
0.141667
0
0
0
0
0
0
0
0
0
0.265193
362
29
34
12.482759
0.902256
0
0
0.190476
0
0
0
0
0
0
0
0
0
1
0
true
0
0.047619
0
0.809524
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
671b9c9f7b2c7728391666847cc8f06a6c3abea1
468
py
Python
Bunnies.py
fatih-iver/Intro-to-Computer-Science-with-Python
7b8127681415dfd100a0e70fe8a672cec696bbb7
[ "MIT" ]
null
null
null
Bunnies.py
fatih-iver/Intro-to-Computer-Science-with-Python
7b8127681415dfd100a0e70fe8a672cec696bbb7
[ "MIT" ]
null
null
null
Bunnies.py
fatih-iver/Intro-to-Computer-Science-with-Python
7b8127681415dfd100a0e70fe8a672cec696bbb7
[ "MIT" ]
null
null
null
# Define a procedure, fibonacci, that takes a natural number as its input, and # returns the value of that fibonacci number. # Two Base Cases: # fibonacci(0) => 0 # fibonacci(1) => 1 # Recursive Case: # n > 1 : fibonacci(n) => fibonacci(n-1) + fibonacci(n-2) def fibonacci(n): return n if n ==...
24.631579
79
0.604701
71
468
3.985915
0.464789
0.212014
0.116608
0.127208
0.155477
0.155477
0
0
0
0
0
0.056338
0.241453
468
19
80
24.631579
0.740845
0.576923
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0.2
0.4
0.6
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
1
0
3
672b4006ae24930b53edb66efd8fb73b92773911
3,754
py
Python
sa/profiles/ElectronR/KO01M/get_metrics.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
84
2017-10-22T11:01:39.000Z
2022-02-27T03:43:48.000Z
sa/profiles/ElectronR/KO01M/get_metrics.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
22
2017-12-11T07:21:56.000Z
2021-09-23T02:53:50.000Z
sa/profiles/ElectronR/KO01M/get_metrics.py
prorevizor/noc
37e44b8afc64318b10699c06a1138eee9e7d6a4e
[ "BSD-3-Clause" ]
23
2017-12-06T06:59:52.000Z
2022-02-24T00:02:25.000Z
# --------------------------------------------------------------------- # ElectronR.KO01M.get_metrics # --------------------------------------------------------------------- # Copyright (C) 2007-2020 The NOC Project # See LICENSE for details # --------------------------------------------------------------------- # NOC...
43.149425
98
0.485615
430
3,754
4.202326
0.176744
0.071942
0.042612
0.046486
0.710017
0.710017
0.710017
0.710017
0.623132
0.499723
0
0.066615
0.316196
3,754
86
99
43.651163
0.63732
0.100693
0
0.43662
0
0.098592
0.186143
0.066012
0
0
0
0
0
1
0.070423
false
0
0.014085
0
0.112676
0
0
0
0
null
0
0
0
0
1
1
1
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
67366bf1792d0f436d2ce6181f326bfb3e3aea15
4,035
py
Python
ubirch/linux/bleManager.py
ubirch/ubirch-ble-tool
1399d018957e9a8424071296a71431c8ffa27e6f
[ "Apache-2.0" ]
4
2018-07-20T16:35:52.000Z
2020-11-12T13:38:58.000Z
ubirch/linux/bleManager.py
ubirch/ubirch-ble-tool
1399d018957e9a8424071296a71431c8ffa27e6f
[ "Apache-2.0" ]
1
2021-04-03T13:37:40.000Z
2021-04-03T13:37:40.000Z
ubirch/linux/bleManager.py
ubirch/ubirch-ble-tool
1399d018957e9a8424071296a71431c8ffa27e6f
[ "Apache-2.0" ]
null
null
null
from bleSuite import bleConnectionManager, bleServiceManager from bluepy.btle import Scanner from ubirch.linux.bleServiceManager import BLEServiceManager class BLEManager(object): """ BLE network manager """ def __init__(self, address, adapter, addressType, securityLevel, createRequester, psm=0, mtu=0): ...
34.487179
105
0.666419
399
4,035
6.719298
0.323308
0.031332
0.024245
0.070123
0.276762
0.276762
0.276762
0.141738
0.141738
0.058187
0
0.023125
0.249814
4,035
116
106
34.784483
0.86257
0.092441
0
0.213333
0
0
0.035151
0.019928
0
0
0
0.008621
0
1
0.28
false
0.026667
0.04
0.106667
0.533333
0.013333
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
6738c6913f593e8f3489b3d849753c160556f231
480
py
Python
storagetest/pkgs/pts/__init__.py
liufeng-elva/storage-test2
5364cc00dbe71b106f1bb740bf391e6124788bf4
[ "MIT" ]
null
null
null
storagetest/pkgs/pts/__init__.py
liufeng-elva/storage-test2
5364cc00dbe71b106f1bb740bf391e6124788bf4
[ "MIT" ]
null
null
null
storagetest/pkgs/pts/__init__.py
liufeng-elva/storage-test2
5364cc00dbe71b106f1bb740bf391e6124788bf4
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: UTF-8 -*- """ @file : __init__.py.py @Time : 2020/11/12 13:37 @Author: Tao.Xu @Email : tao.xu2008@outlook.com """ """ phoronix-test-suite: Main for Performance Test =================== https://github.com/phoronix-test-suite/phoronix-test-suite The Phoronix Test Suite is the most compr...
22.857143
68
0.683333
66
480
4.787879
0.742424
0.151899
0.21519
0.126582
0
0
0
0
0
0
0
0.041162
0.139583
480
20
69
24
0.723971
0.283333
0
0
0
0
0.190476
0
0
0
0
0
0
1
0
true
0.5
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
673ab82d9ec7dbd59a48086985188478a17a2fc5
756
py
Python
contrib/analysis_server/src/analysis_server/__init__.py
Kenneth-T-Moore/OpenMDAO-Framework
76e0ebbd6f424a03b547ff7b6039dea73d8d44dc
[ "Apache-2.0" ]
3
2015-06-02T00:36:28.000Z
2018-11-03T00:35:21.000Z
contrib/analysis_server/src/analysis_server/__init__.py
JustinSGray/OpenMDAO-Framework
7ebd7fda0b10fbe8a86ae938dc4f135396dd9759
[ "Apache-2.0" ]
null
null
null
contrib/analysis_server/src/analysis_server/__init__.py
JustinSGray/OpenMDAO-Framework
7ebd7fda0b10fbe8a86ae938dc4f135396dd9759
[ "Apache-2.0" ]
1
2020-07-15T02:45:54.000Z
2020-07-15T02:45:54.000Z
""" Support for interacting with ModelCenter via the AnalysisServer protocol. Client-mode access to an AnalysisServer is provided by the 'client', 'factory', and 'proxy' modules. Server-mode access by ModelCenter is provided by the 'server' and 'wrapper' modules. An extension to the protocol allows 'eggs' to pe 'publ...
36
79
0.797619
110
756
5.354545
0.490909
0.04584
0.040747
0.050934
0
0
0
0
0
0
0
0
0.145503
756
20
80
37.8
0.911765
0.544974
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
67ecb4f05375d9a4dfbfec0d8b5a28b3678e0e4e
172
py
Python
docs/examples/timer.py
vlcinsky/nameko
88d7e5211de4fcc1c34cd7f84d7c77f0619c5f5d
[ "Apache-2.0" ]
3,425
2016-11-10T17:12:42.000Z
2022-03-31T19:07:49.000Z
docs/examples/timer.py
vlcinsky/nameko
88d7e5211de4fcc1c34cd7f84d7c77f0619c5f5d
[ "Apache-2.0" ]
371
2020-03-04T21:51:56.000Z
2022-03-31T20:59:11.000Z
docs/examples/timer.py
vlcinsky/nameko
88d7e5211de4fcc1c34cd7f84d7c77f0619c5f5d
[ "Apache-2.0" ]
420
2016-11-17T05:46:42.000Z
2022-03-23T12:36:06.000Z
from nameko.timer import timer class Service: name ="service" @timer(interval=1) def ping(self): # method executed every second print("pong")
17.2
38
0.627907
21
172
5.142857
0.857143
0
0
0
0
0
0
0
0
0
0
0.008
0.273256
172
9
39
19.111111
0.856
0.162791
0
0
0
0
0.077465
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.666667
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
67f86eeb953024e2463d4d73c584b0e83d0b4555
12,761
py
Python
wykop/api/client.py
selfisekai/wykop-sdk-reborn
7f17c5b2a3d282b5aaf72475a0f58ba66d5c5c5d
[ "MIT" ]
null
null
null
wykop/api/client.py
selfisekai/wykop-sdk-reborn
7f17c5b2a3d282b5aaf72475a0f58ba66d5c5c5d
[ "MIT" ]
null
null
null
wykop/api/client.py
selfisekai/wykop-sdk-reborn
7f17c5b2a3d282b5aaf72475a0f58ba66d5c5c5d
[ "MIT" ]
null
null
null
import logging from typing import Dict, List from wykop.api.api_const import PAGE_NAMED_ARG, BODY_NAMED_ARG, FILE_POST_NAME from wykop.core.credentials import Credentials from wykop.core.requestor import Requestor log = logging.getLogger(__name__) class WykopAPI: """Wykop API version 2.""" def __init__(se...
37.754438
114
0.587728
1,424
12,761
4.963483
0.116573
0.076401
0.127476
0.061121
0.623797
0.580787
0.533814
0.43605
0.304471
0.266129
0
0.002825
0.306559
12,761
337
115
37.866469
0.795909
0.007445
0
0.336
0
0
0.082444
0.003952
0
0
0
0
0.032
1
0.244
false
0
0.02
0.196
0.504
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
db1c1956b75c3a0483a601da0add4f5327ce2ad0
364
py
Python
utils/image_utils.py
novicasarenac/car-racing-rl
5bb3b2c47fb6ceda3e8f2c149485652da5a079ba
[ "MIT" ]
10
2019-08-08T03:17:39.000Z
2021-12-15T08:43:29.000Z
utils/image_utils.py
novicasarenac/car-racing-rl
5bb3b2c47fb6ceda3e8f2c149485652da5a079ba
[ "MIT" ]
7
2019-11-29T04:00:22.000Z
2022-03-11T23:38:20.000Z
utils/image_utils.py
novicasarenac/car-racing-rl
5bb3b2c47fb6ceda3e8f2c149485652da5a079ba
[ "MIT" ]
4
2019-11-28T10:14:48.000Z
2020-04-08T08:10:37.000Z
import PIL import numpy as np def to_grayscale(img): return np.dot(img, [0.299, 0.587, 0.144]) def zero_center(img): return img - 127.0 def crop(img, bottom=12, left=6, right=6): height, width = img.shape return img[0: height - bottom, left: width - right] def save(img, path): pil_img = PIL....
17.333333
55
0.653846
63
364
3.714286
0.492063
0.076923
0
0
0
0
0
0
0
0
0
0.072917
0.208791
364
20
56
18.2
0.739583
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
db299a97d65e80dbbfa712b50525b811276c7bff
4,424
py
Python
test/unit/vint/ast/plugin/scope_plugin/stub_node.py
mosheavni/vint
9078dd626415cfe37ddaf03032e714bbaca8b336
[ "MIT" ]
538
2015-01-03T18:54:53.000Z
2020-01-11T01:34:51.000Z
test/unit/vint/ast/plugin/scope_plugin/stub_node.py
mosheavni/vint
9078dd626415cfe37ddaf03032e714bbaca8b336
[ "MIT" ]
235
2015-01-01T06:20:01.000Z
2020-01-17T11:32:39.000Z
test/unit/vint/ast/plugin/scope_plugin/stub_node.py
mosheavni/vint
9078dd626415cfe37ddaf03032e714bbaca8b336
[ "MIT" ]
43
2015-01-23T16:59:49.000Z
2019-12-27T10:56:12.000Z
from vint.ast.node_type import NodeType from vint.ast.plugin.scope_plugin.identifier_attribute import ( IDENTIFIER_ATTRIBUTE, IDENTIFIER_ATTRIBUTE_DYNAMIC_FLAG, IDENTIFIER_ATTRIBUTE_DECLARATION_FLAG, IDENTIFIER_ATTRIBUTE_MEMBER_FLAG, IDENTIFIER_ATTRIBUTE_FUNCTION_FLAG, IDENTIFIER_ATTRIBUTE_AUTOL...
35.96748
82
0.667043
414
4,424
6.620773
0.111111
0.395111
0.173294
0.255381
0.726377
0.631521
0.603794
0.60197
0.60197
0.60197
0
0
0.268987
4,424
122
83
36.262295
0.847557
0.007007
0
0.481481
0
0
0.021228
0
0
0
0
0
0
1
0.055556
false
0
0.018519
0.046296
0.12963
0
0
0
0
null
1
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
db3364ee622377b95d22e40cf02ce787e7812d16
323
py
Python
Funcoes/ex106-sistemaInterativoAjuda.py
ascaniopy/python
6d8892b7b9ff803b7422a61e68a383ec6ac7d62d
[ "MIT" ]
null
null
null
Funcoes/ex106-sistemaInterativoAjuda.py
ascaniopy/python
6d8892b7b9ff803b7422a61e68a383ec6ac7d62d
[ "MIT" ]
null
null
null
Funcoes/ex106-sistemaInterativoAjuda.py
ascaniopy/python
6d8892b7b9ff803b7422a61e68a383ec6ac7d62d
[ "MIT" ]
null
null
null
from time import sleep c = ('\033[m', # 0 - Sem cores '\033[0;30;41m', # 1 - Vermelho '\033[0;30;42m', # 2 - Verde '\033[0;30;43m', # 3 - Amarelo '\033[0;30;44m', # 4 - Azul '\033[0;30;45m', # 5 - Roxo '\033[0;30m' # 6 - Branco ) #Programa princip...
19
40
0.439628
47
323
3.021277
0.659574
0.169014
0.211268
0
0
0
0
0
0
0
0
0.273171
0.365325
323
16
41
20.1875
0.419512
0.294118
0
0
0
0
0.369863
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e1e8ce55d278ecec5ff0a778a7af4a2bbb524f3a
1,274
py
Python
src/robotide/context/coreplugins.py
veryl-technologies/t24-tests-ide
16cd803895916a785c0e1fec3f71f9388c21edc9
[ "ECL-2.0", "Apache-2.0" ]
1
2019-06-27T08:48:24.000Z
2019-06-27T08:48:24.000Z
src/robotide/context/coreplugins.py
veryl-technologies/t24-tests-ide
16cd803895916a785c0e1fec3f71f9388c21edc9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/robotide/context/coreplugins.py
veryl-technologies/t24-tests-ide
16cd803895916a785c0e1fec3f71f9388c21edc9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# Copyright 2008-2012 Nokia Siemens Networks Oyj # # 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 law...
42.466667
87
0.78022
157
1,274
6.318471
0.592357
0.108871
0.02621
0.032258
0
0
0
0
0
0
0
0.011331
0.16876
1,274
29
88
43.931034
0.925401
0.452904
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
true
0
0.833333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
c01227c807be8c1f87a3e23c71237c6860b77b30
708
py
Python
src/util/utils.py
5agado/intro-ai
dfb7cd636ad8f8ac2d88053f9d3f279730b8608a
[ "Apache-2.0" ]
3
2015-11-07T14:45:20.000Z
2018-01-27T13:06:25.000Z
src/util/utils.py
5agado/intro-ai
dfb7cd636ad8f8ac2d88053f9d3f279730b8608a
[ "Apache-2.0" ]
null
null
null
src/util/utils.py
5agado/intro-ai
dfb7cd636ad8f8ac2d88053f9d3f279730b8608a
[ "Apache-2.0" ]
null
null
null
import os import math def dotProduct(v1, v2): return sum(x * y for x, y in zip(v1, v2)) def sigmoid(x): return 1.0 / (1.0 + math.exp(-x)) def getResourcesPath(): return os.path.abspath(os.path.join(os.path.dirname( __file__ ), os.pardir, 'resources')) def readTrainModel(filePath, num...
27.230769
94
0.577684
97
708
4.175258
0.43299
0.044444
0.064198
0.069136
0.261728
0.261728
0.133333
0.133333
0.133333
0
0
0.017078
0.25565
708
26
95
27.230769
0.751423
0
0
0.380952
0
0
0.019006
0
0
0
0
0
0
1
0.238095
false
0
0.095238
0.142857
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
1
0
0
0
1
1
0
0
3
c01b9112e0f0afc9d0edfc412d08f777b3d1b9d7
137
py
Python
_6_EXERCISE_BASIC SYNTAX, CONDITIONAL STATEMENTS AND LOOPS/_7_Maximum_Multiple.py
YordanPetrovDS/Python_Fundamentals
81163054cd3ac780697eaa43f099cc455f253a0c
[ "MIT" ]
null
null
null
_6_EXERCISE_BASIC SYNTAX, CONDITIONAL STATEMENTS AND LOOPS/_7_Maximum_Multiple.py
YordanPetrovDS/Python_Fundamentals
81163054cd3ac780697eaa43f099cc455f253a0c
[ "MIT" ]
null
null
null
_6_EXERCISE_BASIC SYNTAX, CONDITIONAL STATEMENTS AND LOOPS/_7_Maximum_Multiple.py
YordanPetrovDS/Python_Fundamentals
81163054cd3ac780697eaa43f099cc455f253a0c
[ "MIT" ]
null
null
null
divisor = int(input()) bound = int(input()) for num in range(bound, 0, -1): if num % divisor == 0: print(num) break
17.125
31
0.540146
20
137
3.7
0.65
0.216216
0
0
0
0
0
0
0
0
0
0.03125
0.29927
137
7
32
19.571429
0.739583
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c04935b8a935560d2540de8efce949baca20ee57
846
py
Python
HW/hklearn/model.py
leguiart/Machine-Learning
2fd3c583fbfd8fc3ee12c9106db7b4dfa29bc253
[ "MIT" ]
null
null
null
HW/hklearn/model.py
leguiart/Machine-Learning
2fd3c583fbfd8fc3ee12c9106db7b4dfa29bc253
[ "MIT" ]
null
null
null
HW/hklearn/model.py
leguiart/Machine-Learning
2fd3c583fbfd8fc3ee12c9106db7b4dfa29bc253
[ "MIT" ]
null
null
null
import abc ''' Interfaz sobre la cual todo modelo implementa. Todo modelo dentro de la biblioteca hklearn implementa los siguientes comportamientos: -fit : Entrena el modelo con un a matriz de ejemplos X y sus respectivas etiquetas y -predict : El modelo entrenado, predice con base en una entrada X ...
31.333333
89
0.640662
99
846
5.434343
0.545455
0.04461
0.063197
0
0
0
0
0
0
0
0
0
0.282506
846
27
90
31.333333
0.886326
0.016548
0
0.142857
0
0
0.023529
0
0
0
0
0.074074
0
1
0.214286
false
0.142857
0.071429
0.071429
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
c04ff3ada5e9e3495ef3e426dee60d1388e47451
62,817
py
Python
aiotdlib/api/types/update.py
pylakey/pytdlib
a390a298a24a7123f3f3aec9f995dee6d51a478e
[ "MIT" ]
37
2021-05-04T10:41:41.000Z
2022-03-30T13:48:05.000Z
aiotdlib/api/types/update.py
pylakey/pytdlib
a390a298a24a7123f3f3aec9f995dee6d51a478e
[ "MIT" ]
13
2021-07-17T19:54:51.000Z
2022-02-26T06:50:00.000Z
aiotdlib/api/types/update.py
pylakey/pytdlib
a390a298a24a7123f3f3aec9f995dee6d51a478e
[ "MIT" ]
7
2021-09-22T21:27:11.000Z
2022-02-20T02:33:19.000Z
# =============================================================================== # # # # This file has been generated automatically!! Do not change this manually! # # ...
29.203626
318
0.692711
7,332
62,817
5.828423
0.081151
0.016568
0.021763
0.043057
0.335166
0.270745
0.224622
0.187977
0.156058
0.148477
0
0.000143
0.219558
62,817
2,150
319
29.217209
0.871535
0.462502
0
0.265499
1
0
0.084504
0.045447
0
0
0
0
0
1
0.123989
false
0
0.08221
0.123989
0.876011
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
220e0c7e4d7e7b9e561c692a325977f16ecf70b4
153
py
Python
built-in/TensorFlow/Official/cv/image_classification/ResnetVariant_for_TensorFlow/automl/vega/algorithms/nas/sm_nas/mmdet_meta_cfgs/bbox_head/__init__.py
Huawei-Ascend/modelzoo
df51ed9c1d6dbde1deef63f2a037a369f8554406
[ "Apache-2.0" ]
12
2020-12-13T08:34:24.000Z
2022-03-20T15:17:17.000Z
built-in/TensorFlow/Official/cv/image_classification/ResnetVariant_for_TensorFlow/automl/vega/algorithms/nas/sm_nas/mmdet_meta_cfgs/bbox_head/__init__.py
Huawei-Ascend/modelzoo
df51ed9c1d6dbde1deef63f2a037a369f8554406
[ "Apache-2.0" ]
3
2021-03-31T20:15:40.000Z
2022-02-09T23:50:46.000Z
built-in/TensorFlow/Research/cv/image_classification/Darts_for_TensorFlow/automl/vega/algorithms/nas/sm_nas/mmdet_meta_cfgs/bbox_head/__init__.py
Huawei-Ascend/modelzoo
df51ed9c1d6dbde1deef63f2a037a369f8554406
[ "Apache-2.0" ]
2
2021-07-10T12:40:46.000Z
2021-12-17T07:55:15.000Z
from .cascade_head import CascadeFCBBoxHead from .convfc_bbox_head import SharedFCBBoxHead __all__ = [ 'CascadeFCBBoxHead', 'SharedFCBBoxHead']
21.857143
46
0.79085
14
153
8.142857
0.642857
0.175439
0
0
0
0
0
0
0
0
0
0
0.143791
153
6
47
25.5
0.870229
0
0
0
0
0
0.215686
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
22159f4a1c6d6e72ce319e5cebbbcc4d51c13acd
2,205
py
Python
win/devkit/other/pymel/extras/completion/py/maya/app/edl/importExport.py
leegoonz/Maya-devkit
b81fe799b58e854e4ef16435426d60446e975871
[ "ADSL" ]
10
2018-03-30T16:09:02.000Z
2021-12-07T07:29:19.000Z
win/devkit/other/pymel/extras/completion/py/maya/app/edl/importExport.py
leegoonz/Maya-devkit
b81fe799b58e854e4ef16435426d60446e975871
[ "ADSL" ]
null
null
null
win/devkit/other/pymel/extras/completion/py/maya/app/edl/importExport.py
leegoonz/Maya-devkit
b81fe799b58e854e4ef16435426d60446e975871
[ "ADSL" ]
9
2018-06-02T09:18:49.000Z
2021-12-20T09:24:35.000Z
import tempfile import maya.OpenMaya as OpenMaya import maya.OpenMayaRender as OpenMayaRender import maya.OpenMayaMPx as OpenMayaMPx import maya.cmds as cmds import maya import re from maya.app.edl.fcp import * class ImportExport(OpenMayaMPx.MPxCommand): def __del__(self): pass def __init__(...
17.64
92
0.647166
267
2,205
5.273408
0.460674
0.074574
0.023438
0.03196
0.065341
0.065341
0.065341
0.065341
0.065341
0
0
0.001274
0.287982
2,205
124
93
17.782258
0.895541
0.372336
0
0.479167
0
0
0
0
0
0
0
0
0
1
0.375
false
0.375
0.25
0
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
22189dbba6fcdc9b59fa2a428105a701aaaf4a2f
1,040
py
Python
packages/mcni/python/mcni/instrument_simulator/__init__.py
mcvine/mcvine
42232534b0c6af729628009bed165cd7d833789d
[ "BSD-3-Clause" ]
5
2017-01-16T03:59:47.000Z
2020-06-23T02:54:19.000Z
packages/mcni/python/mcni/instrument_simulator/__init__.py
mcvine/mcvine
42232534b0c6af729628009bed165cd7d833789d
[ "BSD-3-Clause" ]
293
2015-10-29T17:45:52.000Z
2022-01-07T16:31:09.000Z
packages/mcni/python/mcni/instrument_simulator/__init__.py
mcvine/mcvine
42232534b0c6af729628009bed165cd7d833789d
[ "BSD-3-Clause" ]
1
2019-05-25T00:53:31.000Z
2019-05-25T00:53:31.000Z
#!/usr/bin/env python # # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # # Michael A.G. Aivazis # California Institute of Technology # (C) 2006-2010 All Rights Reserved # # <LicenseText> # # ~~~~~~~~~...
26.666667
100
0.575
89
1,040
6.494382
0.595506
0.186851
0.250865
0.103806
0
0
0
0
0
0
0
0.020732
0.211538
1,040
38
101
27.368421
0.684146
0.413462
0
0
0
0
0.120135
0.043993
0
0
0
0
0
1
0.166667
false
0.083333
0.166667
0.083333
0.666667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
221baabdac2f34fa39aafcaa192dcd1f1b264104
176
py
Python
week06/lecture/examples/src6/2/uppercase0.py
uldash/CS50x
c3ee0f42ad514b57a13c3ffbb96238b3ca3730e1
[ "MIT" ]
null
null
null
week06/lecture/examples/src6/2/uppercase0.py
uldash/CS50x
c3ee0f42ad514b57a13c3ffbb96238b3ca3730e1
[ "MIT" ]
null
null
null
week06/lecture/examples/src6/2/uppercase0.py
uldash/CS50x
c3ee0f42ad514b57a13c3ffbb96238b3ca3730e1
[ "MIT" ]
null
null
null
# Uppercases string one character at a time from cs50 import get_string s = get_string("Before: ") print("After: ", end="") for c in s: print(c.upper(), end="") print()
17.6
43
0.653409
28
176
4.035714
0.714286
0.159292
0
0
0
0
0
0
0
0
0
0.013986
0.1875
176
9
44
19.555556
0.776224
0.232955
0
0
0
0
0.120301
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
223355bd5379be3ac4c24bf1261412562ebdf029
96
py
Python
baekjoon/easy-math/17362-finger.py
honux77/algorithm
2ed8cef1fbee7ad96d8f2ae583666d52bd8892ee
[ "MIT" ]
2
2019-02-08T01:23:07.000Z
2020-11-19T12:23:52.000Z
baekjoon/easy-math/17362-finger.py
honux77/algorithm
2ed8cef1fbee7ad96d8f2ae583666d52bd8892ee
[ "MIT" ]
null
null
null
baekjoon/easy-math/17362-finger.py
honux77/algorithm
2ed8cef1fbee7ad96d8f2ae583666d52bd8892ee
[ "MIT" ]
null
null
null
n = int(input()) % 8 if n == 0: print(2) elif n <= 5: print(n) else: print(10 - n)
12
20
0.458333
18
96
2.444444
0.666667
0
0
0
0
0
0
0
0
0
0
0.09375
0.333333
96
7
21
13.714286
0.59375
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
22574e100d92910a2acaa1fb84cd7d78b47e8242
2,189
py
Python
libs/sqlservice/utils.py
smartadvising/smartadvising-api
74cfcc336c87523fcb011a96bc4506ecdef93afe
[ "MIT" ]
null
null
null
libs/sqlservice/utils.py
smartadvising/smartadvising-api
74cfcc336c87523fcb011a96bc4506ecdef93afe
[ "MIT" ]
null
null
null
libs/sqlservice/utils.py
smartadvising/smartadvising-api
74cfcc336c87523fcb011a96bc4506ecdef93afe
[ "MIT" ]
null
null
null
""" Utilities --------- The utilities module. """ from collections.abc import Mapping, Sequence from functools import wraps import types class FrozenDict(Mapping): """A frozen dictionary implementation that prevents the object from being mutated. This is primarily used when defining a dict-like object as a ...
27.708861
79
0.640018
274
2,189
4.817518
0.412409
0.042424
0.05303
0.040909
0
0
0
0
0
0
0
0.000609
0.250343
2,189
78
80
28.064103
0.803778
0.290544
0
0
0
0
0.026334
0
0
0
0
0
0
1
0.292683
false
0
0.073171
0.146341
0.634146
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
226437962414de4509b79b7a803dd031ebb02932
361
py
Python
py/2017/3B.py
pedrotari7/advent_of_code
98d5bc8d903435624a019a5702f5421d7b4ef8c8
[ "MIT" ]
null
null
null
py/2017/3B.py
pedrotari7/advent_of_code
98d5bc8d903435624a019a5702f5421d7b4ef8c8
[ "MIT" ]
null
null
null
py/2017/3B.py
pedrotari7/advent_of_code
98d5bc8d903435624a019a5702f5421d7b4ef8c8
[ "MIT" ]
null
null
null
a = 289326 coords = [(1, 0), (1, -1), (0, -1), (-1, -1), (-1, 0), (-1, 1), (0, 1), (1, 1)] x,y = (0,0) dx,dy = (1,0) M = {(x,y):1} while M[(x, y)] < a: x, y = x+dx, y+dy M[(x, y)] = sum([M[(x+ox, y+oy)] for ox,oy in coords if (x+ox,y+oy) in M]) if (x == y) or (x > 0 and x == 1-y) or (x < 0 and x == -y): ...
24.066667
79
0.382271
87
361
1.586207
0.229885
0.115942
0.086957
0.115942
0.246377
0.246377
0.115942
0.115942
0
0
0
0.116732
0.288089
361
15
80
24.066667
0.420233
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.090909
0
0
1
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
1
0
0
0
0
0
0
0
0
3
97db587e34c2af72ba15568d5a03261d228ebb29
3,546
py
Python
test/IECoreRI/All.py
gcodebackups/cortex-vfx
72fa6c6eb3327fce4faf01361c8fcc2e1e892672
[ "BSD-3-Clause" ]
5
2016-07-26T06:09:28.000Z
2022-03-07T03:58:51.000Z
test/IECoreRI/All.py
turbosun/cortex
4bdc01a692652cd562f3bfa85f3dae99d07c0b15
[ "BSD-3-Clause" ]
null
null
null
test/IECoreRI/All.py
turbosun/cortex
4bdc01a692652cd562f3bfa85f3dae99d07c0b15
[ "BSD-3-Clause" ]
3
2015-03-25T18:45:24.000Z
2020-02-15T15:37:18.000Z
########################################################################## # # Copyright (c) 2007-2013, Image Engine Design Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redis...
36.183673
76
0.758037
394
3,546
6.822335
0.477157
0.070685
0.025298
0.017113
0.068452
0.050595
0.050595
0.050595
0.050595
0.050595
0
0.003014
0.157924
3,546
97
77
36.556701
0.897187
0.44388
0
0
0
0
0.050251
0.017309
0
0
0
0
0
1
0
true
0
0.709091
0
0.709091
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
97e4ff9556a184829362cc46861ffd16d6689ddb
870
py
Python
transit/helpers.py
moredatarequired/python-stitch-client
222ba24e34614d3acecab41cd78a5c78ab8ea782
[ "Apache-2.0" ]
71
2015-01-03T07:55:33.000Z
2021-10-30T16:52:09.000Z
transit/helpers.py
moredatarequired/python-stitch-client
222ba24e34614d3acecab41cd78a5c78ab8ea782
[ "Apache-2.0" ]
27
2015-01-02T06:10:25.000Z
2022-02-20T21:54:13.000Z
transit/helpers.py
moredatarequired/python-stitch-client
222ba24e34614d3acecab41cd78a5c78ab8ea782
[ "Apache-2.0" ]
20
2015-01-05T04:07:52.000Z
2022-02-20T19:08:15.000Z
## Copyright 2014 Cognitect. 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 applicable...
27.1875
75
0.725287
133
870
4.736842
0.639098
0.095238
0.04127
0.050794
0
0
0
0
0
0
0
0.013908
0.173563
870
31
76
28.064516
0.862309
0.654023
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.222222
0.333333
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
97e73f20826e580f553c50fa8510c0e35ee9a048
365
py
Python
blsqpy/query.py
BLSQ/blsqpy
52fcbd655780e78eccceb2a61280262194c2416c
[ "MIT" ]
null
null
null
blsqpy/query.py
BLSQ/blsqpy
52fcbd655780e78eccceb2a61280262194c2416c
[ "MIT" ]
7
2018-12-18T10:11:34.000Z
2019-03-27T07:09:38.000Z
blsqpy/query.py
BLSQ/blsqpy
52fcbd655780e78eccceb2a61280262194c2416c
[ "MIT" ]
2
2018-12-12T12:31:40.000Z
2019-02-25T12:34:48.000Z
import os from jinja2 import Environment, FileSystemLoader QUERIES_DIR = os.path.dirname(os.path.abspath(__file__)) def get_query(query_name, params): j2_env = Environment(loader=FileSystemLoader(QUERIES_DIR+"/queries"), trim_blocks=True) return j2_env.get_template(query_name+'.sql')....
36.5
94
0.715068
47
365
5.255319
0.595745
0.109312
0.210526
0
0
0
0
0
0
0
0
0.009772
0.158904
365
9
95
40.555556
0.794788
0
0
0
0
0
0.071233
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
3f0241d966136442d63f54ae450fa5bbf000c236
883
py
Python
systems/stage.py
will-nickson/starter_system
bce669250fc58c3966c71e84020e078871a79e4f
[ "MIT" ]
null
null
null
systems/stage.py
will-nickson/starter_system
bce669250fc58c3966c71e84020e078871a79e4f
[ "MIT" ]
null
null
null
systems/stage.py
will-nickson/starter_system
bce669250fc58c3966c71e84020e078871a79e4f
[ "MIT" ]
null
null
null
from log.logger import logger class SystemStage(object): """ Default stage object: creates a SystemStage for doing something """ @property def name(self): return "Need to replace name when inheriting" def __repr__(self): return "SystemStage '%s' Try %s.methods()" % ( ...
22.641026
71
0.571914
101
883
4.90099
0.415842
0.066667
0.048485
0
0
0
0
0
0
0
0
0
0.327293
883
38
72
23.236842
0.833333
0.124575
0
0.208333
0
0
0.106383
0
0
0
0
0
0
1
0.25
false
0
0.041667
0.125
0.541667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
3f0acb5cf9be9113370cabc267dfa5dafd6e50f5
895
py
Python
survol/sources_types/oracle/library/__init__.py
AugustinMascarelli/survol
7a822900e82d1e6f016dba014af5741558b78f15
[ "BSD-3-Clause" ]
null
null
null
survol/sources_types/oracle/library/__init__.py
AugustinMascarelli/survol
7a822900e82d1e6f016dba014af5741558b78f15
[ "BSD-3-Clause" ]
null
null
null
survol/sources_types/oracle/library/__init__.py
AugustinMascarelli/survol
7a822900e82d1e6f016dba014af5741558b78f15
[ "BSD-3-Clause" ]
null
null
null
""" Oracle library """ import lib_common from lib_properties import pc def Graphic_colorbg(): return "#CC99FF" def EntityOntology(): return ( ["Db", "Schema", "Library"], ) # Ambiguity with tables, oracle or normal users. def MakeUri(dbName,schemaName,libraryName): return lib_common.gUriGen.UriMakeFromDict("ora...
28.870968
128
0.750838
120
895
5.35
0.491667
0.098131
0.130841
0.040498
0
0
0
0
0
0
0
0.008974
0.128492
895
30
129
29.833333
0.814103
0.175419
0
0
0
0
0.072702
0
0
0
0
0.033333
0
1
0.3125
false
0
0.1875
0.25
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
1
0
0
0
3
3f1f9aba8ecf3aa6254017a10062ec1345e2b069
2,943
py
Python
tests/factorys.py
2h4dl/pymilvus
6af6d4922242ae48d90ed5a1afb891d9e4d1540e
[ "Apache-2.0" ]
null
null
null
tests/factorys.py
2h4dl/pymilvus
6af6d4922242ae48d90ed5a1afb891d9e4d1540e
[ "Apache-2.0" ]
null
null
null
tests/factorys.py
2h4dl/pymilvus
6af6d4922242ae48d90ed5a1afb891d9e4d1540e
[ "Apache-2.0" ]
null
null
null
# STL imports import random import logging import string import time import datetime import random import struct import sys from functools import wraps # Third party imports import numpy as np import faker from faker.providers import BaseProvider logging.getLogger('faker').setLevel(logging.ERROR) sys.path.append('.'...
23.357143
115
0.675841
416
2,943
4.622596
0.324519
0.033801
0.067603
0.035361
0.218409
0.156006
0.113365
0.113365
0.078003
0.078003
0
0.02267
0.190622
2,943
125
116
23.544
0.784635
0.012232
0
0.051282
0
0
0.044092
0.018946
0
0
0
0
0
1
0.269231
false
0
0.166667
0.141026
0.705128
0.012821
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
3f221d9155ff841349fd18bfe1fa0dbaac313b9d
260
py
Python
Algorithms/LCP/29/math1.py
M-Quadra/LeetCode-problems
0cc100aa1e50b02df289f04fe2e0b97239eb9895
[ "MIT" ]
null
null
null
Algorithms/LCP/29/math1.py
M-Quadra/LeetCode-problems
0cc100aa1e50b02df289f04fe2e0b97239eb9895
[ "MIT" ]
null
null
null
Algorithms/LCP/29/math1.py
M-Quadra/LeetCode-problems
0cc100aa1e50b02df289f04fe2e0b97239eb9895
[ "MIT" ]
null
null
null
class Solution: def orchestraLayout(self, num: int, xPos: int, yPos: int) -> int: a, b = (min(xPos, num-1-yPos), 1) if yPos >= xPos else (min(yPos, num-1-xPos), -1) return (4*num*a - 4*a*a - 2*a + b*(xPos+yPos) + (b>>1&1)*4*(num-a-1))%9 + 1
65
90
0.546154
51
260
2.784314
0.372549
0.028169
0.070423
0
0
0
0
0
0
0
0
0.064039
0.219231
260
4
91
65
0.635468
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
3f2bff3972bb90e7ea59576e6eccf7d56961ec7e
196
py
Python
Voting/urls.py
Poornartha/Odonata
71e8dfc4e8d93c6ecc1a3a155459b7e43bd28cdb
[ "MIT" ]
null
null
null
Voting/urls.py
Poornartha/Odonata
71e8dfc4e8d93c6ecc1a3a155459b7e43bd28cdb
[ "MIT" ]
null
null
null
Voting/urls.py
Poornartha/Odonata
71e8dfc4e8d93c6ecc1a3a155459b7e43bd28cdb
[ "MIT" ]
null
null
null
from django.urls import path from .views import teams_all, team_vote urlpatterns = [ path('teams/all', teams_all, name="teams_all"), path('teams/<int:pk>', team_vote, name="team_vote"), ]
28
56
0.704082
30
196
4.4
0.466667
0.242424
0
0
0
0
0
0
0
0
0
0
0.137755
196
7
57
28
0.781065
0
0
0
0
0
0.208122
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
3f348185cd12109292cb8c384d3bec9afb87b02b
193
py
Python
serve.py
haiyoumeiyou/cherrybrigde
f00a0592240b60cc42b895ad194b0273485956d0
[ "BSD-3-Clause" ]
null
null
null
serve.py
haiyoumeiyou/cherrybrigde
f00a0592240b60cc42b895ad194b0273485956d0
[ "BSD-3-Clause" ]
null
null
null
serve.py
haiyoumeiyou/cherrybrigde
f00a0592240b60cc42b895ad194b0273485956d0
[ "BSD-3-Clause" ]
null
null
null
from application import bootstrap bootstrap() if __name__=='__main__': import cherrypy cherrypy.engine.signals.subscribe() cherrypy.engine.start() cherrypy.engine.block()
19.3
39
0.720207
20
193
6.55
0.65
0.320611
0
0
0
0
0
0
0
0
0
0
0.176166
193
10
40
19.3
0.823899
0
0
0
0
0
0.041237
0
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
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
1
0
0
0
0
0
0
3
3f473e7173cd4e6d679a1656ee0296fc204724d2
166
py
Python
code/taskB/models.py
nft-appraiser/nft-appraiser-api
6d6495049851afd3d9bfc6969d0e1c9bc430dc81
[ "MIT" ]
null
null
null
code/taskB/models.py
nft-appraiser/nft-appraiser-api
6d6495049851afd3d9bfc6969d0e1c9bc430dc81
[ "MIT" ]
null
null
null
code/taskB/models.py
nft-appraiser/nft-appraiser-api
6d6495049851afd3d9bfc6969d0e1c9bc430dc81
[ "MIT" ]
null
null
null
from django.db import models class TaskB_table(models.Model): img = models.ImageField(upload_to='taskB/', default='defo') pred_price = models. FloatField()
23.714286
63
0.728916
22
166
5.363636
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.144578
166
6
64
27.666667
0.830986
0
0
0
0
0
0.060241
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
3f55d1d3db5efaf77627369621529da7de9da985
149
py
Python
wordpress/apps.py
2e2a/django-wordpress
5417d98128ea6ad4308b250fdee65226e7deb628
[ "BSD-3-Clause" ]
1
2021-12-03T19:55:27.000Z
2021-12-03T19:55:27.000Z
wordpress/apps.py
2e2a/django-wordpress
5417d98128ea6ad4308b250fdee65226e7deb628
[ "BSD-3-Clause" ]
null
null
null
wordpress/apps.py
2e2a/django-wordpress
5417d98128ea6ad4308b250fdee65226e7deb628
[ "BSD-3-Clause" ]
null
null
null
from django.apps import AppConfig class WordpressAppConfig(AppConfig): name = 'wordpress' default_auto_field = 'django.db.models.AutoField'
24.833333
53
0.771812
17
149
6.647059
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.14094
149
6
53
24.833333
0.882813
0
0
0
0
0
0.233333
0.173333
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
3f59a6465e2607784678cb918b686e6250106802
142
py
Python
ex005-antecessorSucessor/005.py
KaiqueCassal/cursoEmVideoPython
9d37563045091e4d558e283d47a5a49378e9df71
[ "MIT" ]
1
2021-08-11T04:38:33.000Z
2021-08-11T04:38:33.000Z
ex005-antecessorSucessor/005.py
KaiqueCassal/cursoEmVideoPython
9d37563045091e4d558e283d47a5a49378e9df71
[ "MIT" ]
null
null
null
ex005-antecessorSucessor/005.py
KaiqueCassal/cursoEmVideoPython
9d37563045091e4d558e283d47a5a49378e9df71
[ "MIT" ]
null
null
null
num = int(input('Digite um número inteiro: ')) print(f'O número: {num}' f'\nO antecessor: {num - 1}' f'\nO sucessor: {num + 1}')
23.666667
46
0.56338
22
142
3.636364
0.636364
0.075
0
0
0
0
0
0
0
0
0
0.018349
0.232394
142
5
47
28.4
0.715596
0
0
0
0
0
0.626761
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3f6013f8688ca16e27ef6533df61114f0ade964b
22,620
py
Python
rules/check_imported_dlls.py
deptofdefense/SalSA
7ef771398e3d59597bade95d0a23540de0842e2a
[ "MIT" ]
84
2018-01-07T19:43:45.000Z
2021-12-23T14:17:44.000Z
rules/check_imported_dlls.py
deptofdefense/SalSA
7ef771398e3d59597bade95d0a23540de0842e2a
[ "MIT" ]
7
2018-04-02T20:24:28.000Z
2019-06-07T21:48:04.000Z
rules/check_imported_dlls.py
deptofdefense/SalSA
7ef771398e3d59597bade95d0a23540de0842e2a
[ "MIT" ]
18
2017-12-26T19:44:46.000Z
2021-09-13T12:21:02.000Z
""" Align imported dlls/functions to executable functionality. """ import sys # import all supported ordinal decodings from rules.ordinal_mappings import advapi32 from rules.ordinal_mappings import cabinet from rules.ordinal_mappings import comctl32 from rules.ordinal_mappings import mfc42 from rules.ordinal_mappings ...
119.052632
354
0.780858
3,349
22,620
5.267244
0.212899
0.090476
0.066667
0.078571
0.335714
0.245578
0.195181
0.15924
0.146315
0.136565
0
0.005852
0.16145
22,620
189
355
119.68254
0.924135
0.020336
0
0.023669
0
0.491124
0.863117
0.02109
0
0
0
0
0
1
0.005917
false
0.029586
0.130178
0
0.142012
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3f6f2cf82e789df4f6fa6a684b85e6cb348c35e2
629
py
Python
apps/api/v1/pagination.py
asmuratbek/oobamarket
1053976a13ea84b9aabfcbbcbcffd79549ce9538
[ "MIT" ]
null
null
null
apps/api/v1/pagination.py
asmuratbek/oobamarket
1053976a13ea84b9aabfcbbcbcffd79549ce9538
[ "MIT" ]
7
2020-06-05T23:36:01.000Z
2022-01-13T01:42:07.000Z
apps/api/v1/pagination.py
asmuratbek/oobamarket
1053976a13ea84b9aabfcbbcbcffd79549ce9538
[ "MIT" ]
null
null
null
from rest_framework.pagination import LimitOffsetPagination, PageNumberPagination class CategoryLimitPagination(PageNumberPagination): page_size = 20 page_size_query_param = 'page_size' max_page_size = 40 class ProductLimitPagination(PageNumberPagination): page_size = 20 page_size_query_param = ...
24.192308
81
0.779014
71
629
6.492958
0.309859
0.277657
0.24295
0.156182
0.490239
0.490239
0.490239
0.490239
0.490239
0.490239
0
0.030534
0.166932
629
25
82
25.16
0.849237
0
0
0.588235
0
0
0.057234
0
0
0
0
0
0
1
0
false
0
0.058824
0
1
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
58bb7d04b96141208c9caee423f5f2553e1e7354
390
py
Python
ex29_half.py
youknowone/learn-python3-thw-code-ko
3b7fccaf3eed7427e437004cfe3c4908823f5e41
[ "MIT" ]
null
null
null
ex29_half.py
youknowone/learn-python3-thw-code-ko
3b7fccaf3eed7427e437004cfe3c4908823f5e41
[ "MIT" ]
null
null
null
ex29_half.py
youknowone/learn-python3-thw-code-ko
3b7fccaf3eed7427e437004cfe3c4908823f5e41
[ "MIT" ]
null
null
null
people = 20 cats = 30 dogs = 15 if people < cats: print("고양이가 너무 많아요! 세상은 멸망합니다!") if people > cats: print("고양이가 많지 않아요! 세상은 지속됩니다!") if people < dogs: print("세상은 침에 젖습니다!") if people > dogs: print("세상은 말랐습니다!") dogs += 5 if people >= dogs: print("사람은 개보다 많거나 같습니다") if people <= dogs: p...
13
36
0.584615
61
390
3.737705
0.42623
0.245614
0.263158
0.372807
0.684211
0.324561
0
0
0
0
0
0.024476
0.266667
390
29
37
13.448276
0.772727
0
0
0
0
0
0.282051
0
0
0
0
0
0
1
0
false
0
0
0
0
0.388889
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
58f0ab77666277ac6d3ddc06e53dedb0c6d49f2b
1,573
py
Python
classification/tests/test_evidence_mixin.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
5
2021-01-14T03:34:42.000Z
2022-03-07T15:34:18.000Z
classification/tests/test_evidence_mixin.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
551
2020-10-19T00:02:38.000Z
2022-03-30T02:18:22.000Z
classification/tests/test_evidence_mixin.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
null
null
null
from classification.models import EvidenceMixin from classification.models.evidence_mixin import VCStore class BasicEvidence(EvidenceMixin): def __init__(self, evidence: VCStore): self.evidence = evidence @property def _evidence(self) -> VCStore: return self.evidence # doesn't work with...
37.452381
99
0.650985
180
1,573
5.511111
0.372222
0.030242
0.045363
0.084677
0.467742
0.467742
0.467742
0.41129
0.41129
0.352823
0
0.062029
0.241577
1,573
41
100
38.365854
0.769489
0.769867
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
58fb480ae327d41355b8b8179c7dede058c21b5b
222
py
Python
server/config.py
nikitinivan/Crypton
90db77f4066d763e55f55c0fb540dc99aa2495e3
[ "MIT" ]
null
null
null
server/config.py
nikitinivan/Crypton
90db77f4066d763e55f55c0fb540dc99aa2495e3
[ "MIT" ]
null
null
null
server/config.py
nikitinivan/Crypton
90db77f4066d763e55f55c0fb540dc99aa2495e3
[ "MIT" ]
null
null
null
import os class Configuration: APPLICATION_DIR = os.path.dirname(os.path.realpath(__file__)) DEBUG = True SECRET_KEY = 'thisissecretkeyforcrypton' # change it in production !!! MONGO_DBNAME = 'cryptondb'
24.666667
74
0.725225
25
222
6.16
0.88
0.077922
0
0
0
0
0
0
0
0
0
0
0.18018
222
8
75
27.75
0.846154
0.121622
0
0
0
0
0.176166
0.129534
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
45202479629fa2ae422e3a2c76ead8cf08a4c08c
2,004
py
Python
river/compose/renamer.py
online-ml/creme
60872844e6052b5ef20e4075aea30f9031377136
[ "BSD-3-Clause" ]
1,105
2019-01-24T15:15:30.000Z
2020-11-10T18:27:00.000Z
river/compose/renamer.py
online-ml/creme
60872844e6052b5ef20e4075aea30f9031377136
[ "BSD-3-Clause" ]
328
2019-01-25T13:48:43.000Z
2020-11-11T11:41:44.000Z
river/compose/renamer.py
online-ml/creme
60872844e6052b5ef20e4075aea30f9031377136
[ "BSD-3-Clause" ]
150
2019-01-29T19:05:21.000Z
2020-11-11T11:50:14.000Z
from typing import Dict from river import base __all__ = ["Renamer", "Prefixer", "Suffixer"] class Renamer(base.Transformer): """Renames features following substitution rules. Parameters ---------- mapping Dictionnary describing substitution rules. Keys in `mapping` that are not a feature's...
21.094737
120
0.560878
249
2,004
4.369478
0.277108
0.066176
0.055147
0.063419
0.329044
0.283088
0.270221
0.227941
0.178309
0.178309
0
0.016552
0.276447
2,004
94
121
21.319149
0.733793
0.434132
0
0.259259
0
0
0.055894
0
0
0
0
0
0
1
0.296296
false
0.037037
0.074074
0.148148
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
45303096a42f87f1631edf145b0ae0b347d69c0b
753
py
Python
chapter10/exercises/EG10-20 Twinkle Twinkle classes.py
munnep/begin_to_code_with_python
3ef14d90785526b6b26d262a7627eee73791d7d0
[ "MIT" ]
null
null
null
chapter10/exercises/EG10-20 Twinkle Twinkle classes.py
munnep/begin_to_code_with_python
3ef14d90785526b6b26d262a7627eee73791d7d0
[ "MIT" ]
null
null
null
chapter10/exercises/EG10-20 Twinkle Twinkle classes.py
munnep/begin_to_code_with_python
3ef14d90785526b6b26d262a7627eee73791d7d0
[ "MIT" ]
null
null
null
# EG10-20 Twinkle Twinkle classes import time import snaps class Note: def __init__(self, note, duration): self.__note = note self.__duration = duration def play(self): snaps.play_note(self.__note) time.sleep(self.__duration) tune = [Note(note=0, duration=0.4), Note(note=0, d...
30.12
63
0.622842
125
753
3.648
0.2
0.263158
0.263158
0.368421
0.578947
0.578947
0.578947
0.578947
0.412281
0.412281
0
0.077181
0.208499
753
24
64
31.375
0.687919
0.041169
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.277778
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
18a1a66ddfc12bbc493302b88cd1fbc01b59d040
71
py
Python
Chapter 01/Chap01_Example1.40.py
Anancha/Programming-Techniques-using-Python
e80c329d2a27383909d358741a5cab03cb22fd8b
[ "MIT" ]
null
null
null
Chapter 01/Chap01_Example1.40.py
Anancha/Programming-Techniques-using-Python
e80c329d2a27383909d358741a5cab03cb22fd8b
[ "MIT" ]
null
null
null
Chapter 01/Chap01_Example1.40.py
Anancha/Programming-Techniques-using-Python
e80c329d2a27383909d358741a5cab03cb22fd8b
[ "MIT" ]
null
null
null
#backslash and new line ignored print("one\ two\ three")
14.2
31
0.591549
9
71
4.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.309859
71
4
32
17.75
0.857143
0.422535
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
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
1
0
0
0
0
0
0
3
18b95560e12ae1f8ecbf164d50ad646b8d18c3b3
126
py
Python
contacts/urls.py
HaraDev001/RealEstate-Backend
db2ae8d143bd15fbb49432ae8b14fd3bf8e6dd1c
[ "MIT" ]
2
2021-05-17T18:02:36.000Z
2021-05-17T18:02:44.000Z
contacts/urls.py
HaraDev001/RealEstate-Backend
db2ae8d143bd15fbb49432ae8b14fd3bf8e6dd1c
[ "MIT" ]
null
null
null
contacts/urls.py
HaraDev001/RealEstate-Backend
db2ae8d143bd15fbb49432ae8b14fd3bf8e6dd1c
[ "MIT" ]
null
null
null
from django.urls import path from .views import ContactCreateView urlpatterns = [ path('',ContactCreateView.as_view()), ]
21
41
0.753968
14
126
6.714286
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.134921
126
6
42
21
0.862385
0
0
0
0
0
0
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
18bb4104d3cd6b1e910557e18aee65ea9222b8ce
1,124
py
Python
internal/handlers/lebanon.py
fillingthemoon/cartogram-web
58b645bca0c22b9bccdb2a5a8213a5a24a7e5958
[ "MIT" ]
null
null
null
internal/handlers/lebanon.py
fillingthemoon/cartogram-web
58b645bca0c22b9bccdb2a5a8213a5a24a7e5958
[ "MIT" ]
20
2019-10-20T11:27:38.000Z
2022-03-12T00:28:17.000Z
internal/handlers/lebanon.py
fillingthemoon/cartogram-web
58b645bca0c22b9bccdb2a5a8213a5a24a7e5958
[ "MIT" ]
16
2019-08-22T04:49:44.000Z
2021-06-09T04:44:57.000Z
import settings import handlers.base_handler import csv class CartogramHandler(handlers.base_handler.BaseCartogramHandler): def get_name(self): return "Lebanon" def get_gen_file(self): return "{}/lbn_processedmap.json".format(settings.CARTOGRAM_DATA_DIR) def validate_values(self, val...
28.1
319
0.623665
149
1,124
4.57047
0.463087
0.044053
0.0558
0
0
0
0
0
0
0
0
0.028539
0.220641
1,124
39
320
28.820513
0.748858
0
0
0.142857
0
0
0.24911
0.021352
0
0
0
0
0
1
0.214286
false
0
0.107143
0.178571
0.642857
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
18d8e4a9db3824bc1bf6d57f22782a4ffcc36549
93
py
Python
phr/dnireniec/apps.py
richardqa/django-ex
e5b8585f28a97477150ac5daf5e55c74b70d87da
[ "CC0-1.0" ]
null
null
null
phr/dnireniec/apps.py
richardqa/django-ex
e5b8585f28a97477150ac5daf5e55c74b70d87da
[ "CC0-1.0" ]
null
null
null
phr/dnireniec/apps.py
richardqa/django-ex
e5b8585f28a97477150ac5daf5e55c74b70d87da
[ "CC0-1.0" ]
null
null
null
from django.apps import AppConfig class DnireniecConfig(AppConfig): name = 'dnireniec'
15.5
33
0.763441
10
93
7.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.16129
93
5
34
18.6
0.910256
0
0
0
0
0
0.096774
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
18dc89f687d6010723363d00fb4079f119453e21
290
py
Python
tests/jdi_uitests_webtests/main/page_objects/w3c_site/w3c_site.py
jdi-testing/jdi-python
7c0607b97d4d44b27ea8f532d47c68b8dd00e6f7
[ "MIT" ]
5
2020-02-14T10:32:01.000Z
2021-07-22T08:20:28.000Z
tests/jdi_uitests_webtests/main/page_objects/w3c_site/w3c_site.py
jdi-testing/jdi-python
7c0607b97d4d44b27ea8f532d47c68b8dd00e6f7
[ "MIT" ]
54
2018-07-27T14:07:33.000Z
2021-11-08T09:24:16.000Z
tests/jdi_uitests_webtests/main/page_objects/w3c_site/w3c_site.py
jdi-testing/jdi-python
7c0607b97d4d44b27ea8f532d47c68b8dd00e6f7
[ "MIT" ]
1
2021-01-20T14:31:52.000Z
2021-01-20T14:31:52.000Z
from JDI.web.selenium.elements.composite.web_site import WebSite from tests.jdi_uitests_webtests.main.page_objects.w3c_site.frame_page import FramePage class W3cSite(WebSite): domain = "https://www.w3schools.com" frame_page = FramePage(url="/tags/tag_button.asp", domain=domain)
32.222222
86
0.793103
42
290
5.285714
0.714286
0.081081
0
0
0
0
0
0
0
0
0
0.01145
0.096552
290
8
87
36.25
0.835878
0
0
0
0
0
0.155172
0
0
0
0
0
0
1
0
false
0
0.4
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
18dcab3c94de533e1fad537525409735b1a45b43
22,917
py
Python
deepx/backend/tensorflow.py
sharadmv/deepx
07470e7a579a63427de1d5ff90b9fd00d3f54b61
[ "MIT" ]
74
2015-11-13T02:26:37.000Z
2021-07-29T11:00:45.000Z
deepx/backend/tensorflow.py
sharadmv/deepx
07470e7a579a63427de1d5ff90b9fd00d3f54b61
[ "MIT" ]
21
2015-12-12T20:33:55.000Z
2019-04-03T02:49:42.000Z
deepx/backend/tensorflow.py
sharadmv/deepx
07470e7a579a63427de1d5ff90b9fd00d3f54b61
[ "MIT" ]
19
2015-11-23T10:07:01.000Z
2021-08-30T17:06:00.000Z
import copy import logging import numpy as np import six import tensorflow as tf from functools import wraps from contextlib import contextmanager from .backend_base import BackendBase, FunctionBase, DeviceDecorator try: from tensorflow.contrib.distributions import fill_triangular except: print("Cannot find fi...
33.455474
116
0.595322
3,087
22,917
4.307094
0.140266
0.054753
0.017374
0.01444
0.349203
0.286628
0.238418
0.20713
0.199609
0.179753
0
0.010723
0.275647
22,917
684
117
33.504386
0.790241
0.040189
0
0.198795
0
0
0.019606
0
0
0
0
0
0.002008
1
0.2751
false
0.002008
0.018072
0.158635
0.568273
0.002008
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
18dd7f23d5115fd8f4284ee064ed94347d9523f8
497
py
Python
utils/Formatting.py
levindoneto/lmGen
ffe2150ebff577135efa3d65a845dd3b806a94ed
[ "MIT" ]
5
2018-11-17T17:16:24.000Z
2019-10-17T15:16:37.000Z
utils/Formatting.py
levindoneto/lanGen
ffe2150ebff577135efa3d65a845dd3b806a94ed
[ "MIT" ]
6
2018-02-06T23:05:29.000Z
2019-10-14T02:23:38.000Z
utils/Formatting.py
levindoneto/lmGen
ffe2150ebff577135efa3d65a845dd3b806a94ed
[ "MIT" ]
4
2018-10-29T06:37:58.000Z
2019-10-06T13:51:18.000Z
import re ''' Function for Formatting n-grams. @Parameters: Tuple: n-gram to be formatted. @Return: String: formatted gram. ''' def formatGram(ngram): return re.sub("[(',)]", '', str(ngram)) ''' Function for Formatting sentences. @Parameters: Sentence: unformatted sentence. @Return: String: format...
26.157895
48
0.661972
55
497
5.981818
0.509091
0.066869
0.12766
0
0
0
0
0
0
0
0
0.004926
0.183099
497
18
49
27.611111
0.805419
0
0
0
0
0
0.0375
0
0
0
0
0
0
1
0.25
false
0
0.125
0.125
0.625
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
18ebf74aba4efdef03b71cc4501701981953cbd1
3,049
py
Python
experiment_wrapper/__init__.py
stonkens/experiment_wrapper
78b02a09d412097834bc81bba4452db1738b99da
[ "MIT" ]
2
2022-03-24T22:31:20.000Z
2022-03-25T03:26:01.000Z
experiment_wrapper/__init__.py
stonkens/experiment_wrapper
78b02a09d412097834bc81bba4452db1738b99da
[ "MIT" ]
null
null
null
experiment_wrapper/__init__.py
stonkens/experiment_wrapper
78b02a09d412097834bc81bba4452db1738b99da
[ "MIT" ]
null
null
null
from typing import Any, Dict, List class Dynamics: """Provides a template for the functionality required from a dynamics class to interface with the experiment wrapper functionality. A dynamics class must implement the following methods: - n_dims: returns the number of dimensions of the state space ...
32.094737
119
0.700886
409
3,049
5.09291
0.264059
0.025924
0.024004
0.040807
0.457993
0.362458
0.229477
0.196831
0.161306
0.114258
0
0.001283
0.232863
3,049
94
120
32.43617
0.889269
0.46671
0
0.26087
0
0
0.066056
0
0
0
0
0
0
1
0.26087
false
0.065217
0.086957
0.130435
0.586957
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
18f342f2a9acba64d1ea5575f081da8b2ad4064d
281
py
Python
nautobot_secrets_providers/urls.py
jifox/nautobot-plugin-secrets-providers
4d6ca51d0c78b4785f78909b04cf7c7b33c02e5d
[ "Apache-2.0" ]
6
2021-12-22T21:26:12.000Z
2022-02-16T10:00:04.000Z
nautobot_secrets_providers/urls.py
jifox/nautobot-plugin-secrets-providers
4d6ca51d0c78b4785f78909b04cf7c7b33c02e5d
[ "Apache-2.0" ]
9
2021-12-14T13:43:13.000Z
2022-03-29T18:49:55.000Z
nautobot_secrets_providers/urls.py
jifox/nautobot-plugin-secrets-providers
4d6ca51d0c78b4785f78909b04cf7c7b33c02e5d
[ "Apache-2.0" ]
2
2022-02-04T19:11:09.000Z
2022-03-22T16:23:31.000Z
"""Django urlpatterns declaration for nautobot_secrets_providers plugin.""" from django.urls import path from nautobot_secrets_providers import views app_name = "nautobot_secrets_providers" urlpatterns = [ path("", views.SecretsProvidersHomeView.as_view(), name="home"), ]
23.416667
75
0.786477
32
281
6.65625
0.59375
0.211268
0.338028
0
0
0
0
0
0
0
0
0
0.113879
281
11
76
25.545455
0.855422
0.245552
0
0
0
0
0.145631
0.126214
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
7a00d530de18db23fd30cafb2ab4bd712d82beb0
379
py
Python
app/main/routes.py
theambidextrous/digitalemployeeapp
2c8b593a590621a34c1fa033a720f1e412c76b96
[ "MIT" ]
null
null
null
app/main/routes.py
theambidextrous/digitalemployeeapp
2c8b593a590621a34c1fa033a720f1e412c76b96
[ "MIT" ]
null
null
null
app/main/routes.py
theambidextrous/digitalemployeeapp
2c8b593a590621a34c1fa033a720f1e412c76b96
[ "MIT" ]
null
null
null
from flask import Blueprint, jsonify, request, redirect, abort, url_for, render_template main = Blueprint('main', __name__) # routes @main.route('/', methods = ['GET']) def Abort(): return redirect(url_for('main.index')) # abort(403) @main.route('/default.tpl', methods = ['GET']) def index(): title = 'DE A...
29.153846
88
0.672823
49
379
5.040816
0.591837
0.048583
0.105263
0
0
0
0
0
0
0
0
0.009346
0.153034
379
12
89
31.583333
0.760125
0.044855
0
0
0
0
0.133705
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
0.555556
0.222222
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
7a042b77715a588fe196553691f390b7d45b469f
314
py
Python
arm_control/src/orientation.py
ALxander19/zobov_arm
8b5b322b53a7a0d9c91fcbc720473a2a6e6f5826
[ "BSD-2-Clause" ]
null
null
null
arm_control/src/orientation.py
ALxander19/zobov_arm
8b5b322b53a7a0d9c91fcbc720473a2a6e6f5826
[ "BSD-2-Clause" ]
null
null
null
arm_control/src/orientation.py
ALxander19/zobov_arm
8b5b322b53a7a0d9c91fcbc720473a2a6e6f5826
[ "BSD-2-Clause" ]
null
null
null
# tf.transformations alternative is not yet available in tf2 from tf.transformations import quaternion_from_euler if __name__ == '__main__': # RPY to convert: 90deg, 0, -90deg q = quaternion_from_euler(1.5707, 0, -1.5707) print "The quaternion representation is %s %s %s %s." % (q[0], q[1], q[2], q[3])
31.4
82
0.694268
51
314
4.039216
0.588235
0.029126
0.184466
0
0
0
0
0
0
0
0
0.080769
0.171975
314
9
83
34.888889
0.711538
0.289809
0
0
0
0
0.240909
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.25
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
7a1abf4048e07e8bc9343e0dfe167284107c6c27
16,752
py
Python
sdk/python/pulumi_aws/ec2/managed_prefix_list.py
jen20/pulumi-aws
172e00c642adc03238f89cc9c5a16b914a77c2b1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/ec2/managed_prefix_list.py
jen20/pulumi-aws
172e00c642adc03238f89cc9c5a16b914a77c2b1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_aws/ec2/managed_prefix_list.py
jen20/pulumi-aws
172e00c642adc03238f89cc9c5a16b914a77c2b1
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
41.465347
168
0.621299
1,914
16,752
5.259666
0.114943
0.078673
0.045893
0.023244
0.761697
0.714215
0.661071
0.6268
0.603258
0.603258
0
0.004662
0.283011
16,752
403
169
41.568238
0.833486
0.396609
0
0.37766
1
0
0.109348
0.028329
0
0
0
0
0
1
0.138298
false
0.005319
0.037234
0.010638
0.271277
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7a1ed1421848b1354b08c81026945785b3714d10
10,544
py
Python
amy/workshops/migrations/0158_curriculum_workshoprequest.py
code-review-doctor/amy
268c1a199510457891459f3ddd73fcce7fe2b974
[ "MIT" ]
53
2015-01-10T17:39:19.000Z
2019-06-12T17:36:34.000Z
amy/workshops/migrations/0158_curriculum_workshoprequest.py
code-review-doctor/amy
268c1a199510457891459f3ddd73fcce7fe2b974
[ "MIT" ]
1,176
2015-01-02T06:32:47.000Z
2019-06-18T11:57:47.000Z
amy/workshops/migrations/0158_curriculum_workshoprequest.py
code-review-doctor/amy
268c1a199510457891459f3ddd73fcce7fe2b974
[ "MIT" ]
44
2015-01-03T15:08:56.000Z
2019-06-09T05:33:08.000Z
# Generated by Django 2.1.2 on 2018-10-27 15:50 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django_countries.fields class Migration(migrations.Migration): dependencies = [ ('workshops', '0157_auto_20181006_0859'), ] operation...
142.486486
860
0.71434
1,366
10,544
5.414348
0.300878
0.05503
0.016225
0.02569
0.240265
0.157788
0.1394
0.104516
0.066252
0.053272
0
0.014292
0.170524
10,544
73
861
144.438356
0.831351
0.004268
0
0.179104
1
0.208955
0.573974
0.035058
0
0
0
0
0
1
0
false
0
0.059701
0
0.104478
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e1311759e08a6c90f2dd14452c29543ae793ad35
1,797
py
Python
sap hana/connections and query execution with python/script.py
Phelipe-Sempreboni/databases
3be823db9029994d7b50d23d1830209276e5f40a
[ "MIT" ]
1
2020-10-27T21:50:28.000Z
2020-10-27T21:50:28.000Z
sap hana/connections and query execution with python/script.py
Phelipe-Sempreboni/databases
3be823db9029994d7b50d23d1830209276e5f40a
[ "MIT" ]
null
null
null
sap hana/connections and query execution with python/script.py
Phelipe-Sempreboni/databases
3be823db9029994d7b50d23d1830209276e5f40a
[ "MIT" ]
null
null
null
# Importação da biblioteca. # Certifique-se de ter a biblioteca instalada. import pyhdb # Essa função traz/chama outro arquivo que contém a senha, visando não deixar exposta na aplicação. # Caso não queira utilizar esse método e inserir diretamente a senha na conexão, exclua esse bloco e insira a senha diretamente no...
41.790698
171
0.670006
244
1,797
4.872951
0.491803
0.030278
0.021867
0.021867
0.030278
0
0
0
0
0
0
0.005147
0.243183
1,797
43
172
41.790698
0.869118
0.571508
0
0
0
0
0.08
0
0
0
0
0.023256
0
0
null
null
0.142857
0.035714
null
null
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
1
0
0
0
0
0
3
e136e8225ad172a851846dc46f34389a3f760935
65
py
Python
1/0/10821/10821.py
chr0m3/boj-codes
d71d0a22d0a3ae62c225f382442461275f56fe8f
[ "MIT" ]
3
2017-07-08T16:29:06.000Z
2020-07-20T00:17:45.000Z
1/0/10821/10821.py
chr0m3/boj-codes
d71d0a22d0a3ae62c225f382442461275f56fe8f
[ "MIT" ]
null
null
null
1/0/10821/10821.py
chr0m3/boj-codes
d71d0a22d0a3ae62c225f382442461275f56fe8f
[ "MIT" ]
2
2017-11-20T14:06:06.000Z
2020-07-20T00:17:47.000Z
numbers = list(map(int, input().split(','))) print(len(numbers))
21.666667
44
0.646154
9
65
4.666667
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.076923
65
2
45
32.5
0.7
0
0
0
0
0
0.015385
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
e141a2ac84bf3c71baee17e1baf51d264eb93a13
94
py
Python
pyEDAA/OutputFilter/__init__.py
edaa-org/pyEDAA.OutputFilter
ca602c9992b40df7bd117968c0dc333a4f16d255
[ "Apache-2.0" ]
1
2021-12-30T02:49:43.000Z
2021-12-30T02:49:43.000Z
pyEDAA/OutputFilter/__init__.py
edaa-org/pyEDAA.OutputFilter
ca602c9992b40df7bd117968c0dc333a4f16d255
[ "Apache-2.0" ]
null
null
null
pyEDAA/OutputFilter/__init__.py
edaa-org/pyEDAA.OutputFilter
ca602c9992b40df7bd117968c0dc333a4f16d255
[ "Apache-2.0" ]
null
null
null
from pyTooling.Decorators import export __version__ = "0.1.0" @export class Filter: pass
9.4
39
0.744681
13
94
5.076923
0.846154
0
0
0
0
0
0
0
0
0
0
0.038462
0.170213
94
9
40
10.444444
0.807692
0
0
0
0
0
0.053763
0
0
0
0
0
0
1
0
false
0.2
0.2
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
1
0
0
0
0
0
3
e15d5e4f994eb2a0d1d81f21279363ad0216ad9f
1,283
py
Python
app/machine_learning/utils.py
jonzxz/project-piscator
588c8b1ac9355f9a82ac449fdbeaa1ef7eb441ef
[ "MIT" ]
null
null
null
app/machine_learning/utils.py
jonzxz/project-piscator
588c8b1ac9355f9a82ac449fdbeaa1ef7eb441ef
[ "MIT" ]
null
null
null
app/machine_learning/utils.py
jonzxz/project-piscator
588c8b1ac9355f9a82ac449fdbeaa1ef7eb441ef
[ "MIT" ]
1
2021-02-18T03:08:21.000Z
2021-02-18T03:08:21.000Z
import re import joblib from sklearn.ensemble import RandomForestClassifier from typing import List, Tuple # Cleans up a messed up HTML / tabbed raw content into space delimited content def clean_up_raw_body(raw_text: str) -> str: return ' '.join([line.strip() for line in raw_text.strip().splitlines() \ if li...
42.766667
82
0.747467
200
1,283
4.65
0.43
0.03871
0.064516
0.077419
0.208602
0.15914
0.049462
0
0
0
0
0.00186
0.16212
1,283
29
83
44.241379
0.863256
0.40608
0
0
0
0
0.005319
0
0
0
0
0
0
1
0.25
false
0
0.25
0.1875
0.8125
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
e163f95d62fc70e17e021921220d7ea02e910aa6
23,493
py
Python
superslomo/model.py
myungsub/meta-interpolation
f7afee9d1786f67e6f548c2734f91858f803c5dc
[ "MIT" ]
74
2020-04-03T06:26:39.000Z
2022-03-25T16:51:28.000Z
superslomo/model.py
baiksung/meta-interpolation
72dd3b2e56054bb411ed20301583a0e67d9ea293
[ "MIT" ]
6
2020-07-09T20:09:23.000Z
2021-09-20T11:12:24.000Z
superslomo/model.py
baiksung/meta-interpolation
72dd3b2e56054bb411ed20301583a0e67d9ea293
[ "MIT" ]
19
2020-04-16T09:18:38.000Z
2021-12-28T08:25:12.000Z
import torch import torchvision import torchvision.transforms as transforms import torch.optim as optim import torch.nn as nn import torch.nn.functional as F import numpy as np from model_utils import * class down(nn.Module): """ A class for creating neural network blocks containing layers: Average P...
35.011923
293
0.548717
3,266
23,493
3.755052
0.088487
0.012068
0.009051
0.009377
0.779273
0.743558
0.713389
0.695695
0.683056
0.664873
0
0.060621
0.328736
23,493
670
294
35.064179
0.717058
0.29894
0
0.607774
0
0
0.01877
0.006633
0
0
0
0
0
1
0.063604
false
0.003534
0.028269
0
0.14841
0.010601
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
e177afe5c4e52b6ea7d71deed0bddae35b953491
83
py
Python
config.py
zombodotcom/twitchUserData
50c702b832515a946d55c2f5ca79b51436352ef2
[ "MIT", "Unlicense" ]
1
2019-10-22T06:23:56.000Z
2019-10-22T06:23:56.000Z
config.py
zombodotcom/twitchUserData
50c702b832515a946d55c2f5ca79b51436352ef2
[ "MIT", "Unlicense" ]
null
null
null
config.py
zombodotcom/twitchUserData
50c702b832515a946d55c2f5ca79b51436352ef2
[ "MIT", "Unlicense" ]
null
null
null
Client_ID = "<Your Client ID>" Authorization = "Bearer <Insert Bearer token Here>"
41.5
51
0.73494
11
83
5.454545
0.727273
0.266667
0
0
0
0
0
0
0
0
0
0
0.144578
83
2
51
41.5
0.84507
0
0
0
0
0
0.590361
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
e189d16da8174a3b154f79a433e1c07828f194cc
650
py
Python
tests/unit/proxy/roundtrip/test_janus_graph_proxy.py
joshthoward/amundsenmetadatalibrary
87e2b44f0e44ca643f087bff6bd6b39d4ae9e9ad
[ "Apache-2.0" ]
3
2021-02-09T13:52:03.000Z
2022-02-26T02:36:02.000Z
tests/unit/proxy/roundtrip/test_janus_graph_proxy.py
joshthoward/amundsenmetadatalibrary
87e2b44f0e44ca643f087bff6bd6b39d4ae9e9ad
[ "Apache-2.0" ]
1
2021-02-08T23:21:04.000Z
2021-02-08T23:21:04.000Z
tests/unit/proxy/roundtrip/test_janus_graph_proxy.py
joshthoward/amundsenmetadatalibrary
87e2b44f0e44ca643f087bff6bd6b39d4ae9e9ad
[ "Apache-2.0" ]
2
2021-02-23T18:23:35.000Z
2022-03-18T15:12:25.000Z
# Copyright Contributors to the Amundsen project. # SPDX-License-Identifier: Apache-2.0 from typing import Any, Mapping import unittest from .abstract_gremlin_proxy_tests import abstract_gremlin_proxy_test_class from .roundtrip_janusgraph_proxy import RoundtripJanusGraphProxy class JanusGraphGremlinProxyTest( ...
40.625
91
0.803077
78
650
6.423077
0.641026
0.095808
0.11976
0.095808
0.115768
0
0
0
0
0
0
0.003546
0.132308
650
15
92
43.333333
0.884752
0.270769
0
0
0
0
0.031983
0
0
0
0
0
0
1
0.125
false
0
0.5
0.125
0.875
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
0
1
1
1
0
0
3
e1936080a3e49021025bc658618c985bef1143b7
731
py
Python
tgtypes/models/venue.py
autogram/tgtypes
90f8d0d35d3c372767508e56c20777635e128e38
[ "MIT" ]
null
null
null
tgtypes/models/venue.py
autogram/tgtypes
90f8d0d35d3c372767508e56c20777635e128e38
[ "MIT" ]
null
null
null
tgtypes/models/venue.py
autogram/tgtypes
90f8d0d35d3c372767508e56c20777635e128e38
[ "MIT" ]
null
null
null
from __future__ import annotations from typing import TYPE_CHECKING, Optional from ._base import TelegramObject if TYPE_CHECKING: # pragma: no cover from .location import Location class Venue(TelegramObject): """ This object represents a venue. Source: https://core.telegram.org/bots/api#venue ...
25.206897
80
0.689466
87
731
5.666667
0.54023
0.040568
0.081136
0.081136
0
0
0
0
0
0
0
0
0.199726
731
28
81
26.107143
0.842735
0.135431
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.363636
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
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
e197f5d2fbd28b451da6017706229aff6b5fef77
462
py
Python
tests/test_push.py
associatedpress/datakit-dworld
21ccd0e468c7064d62022a2f136c0f8f47bbabb9
[ "ISC" ]
2
2019-09-07T02:03:46.000Z
2021-03-06T14:43:01.000Z
tests/test_push.py
associatedpress/datakit-dworld
21ccd0e468c7064d62022a2f136c0f8f47bbabb9
[ "ISC" ]
5
2019-09-06T22:24:26.000Z
2021-04-27T21:42:18.000Z
tests/test_push.py
associatedpress/datakit-dworld
21ccd0e468c7064d62022a2f136c0f8f47bbabb9
[ "ISC" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # from unittest import mock # from datakit_dworld.push import Push def test_push(capsys): """Sample pytest test function with a built-in pytest fixture as an argument. """ # cmd = Greeting(None, None, cmd_name='dworld push') # parsed_args = mock.Mock() ...
25.666667
81
0.655844
64
462
4.640625
0.640625
0.10101
0
0
0
0
0
0
0
0
0
0.00274
0.209957
462
17
82
27.176471
0.810959
0.824675
0
0
0
0
0
0
0
0
0
0
0
1
1
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
e1a3e676ffda7283905e72fd2a219c469d9b17cf
2,115
py
Python
src/tests/samples.py
BeholdersEye/PyBitmessage
362a975fbf1ec831d3107c7442527225bc140162
[ "MIT", "BSD-2-Clause-FreeBSD" ]
5
2018-03-24T17:33:03.000Z
2019-07-01T07:16:19.000Z
src/tests/samples.py
BeholdersEye/PyBitmessage
362a975fbf1ec831d3107c7442527225bc140162
[ "MIT", "BSD-2-Clause-FreeBSD" ]
15
2018-03-19T00:04:57.000Z
2021-12-10T17:21:54.000Z
src/tests/samples.py
BeholdersEye/PyBitmessage
362a975fbf1ec831d3107c7442527225bc140162
[ "MIT", "BSD-2-Clause-FreeBSD" ]
5
2019-05-15T08:42:57.000Z
2019-09-17T12:21:37.000Z
"""Various sample data""" from binascii import unhexlify magic = 0xE9BEB4D9 # These keys are from addresses test script sample_pubsigningkey = unhexlify( '044a367f049ec16cb6b6118eb734a9962d10b8db59c890cd08f210c43ff08bdf09d' '16f502ca26cd0713f38988a1237f1fc8fa07b15653c996dc4013af6d15505ce') sample_pubencrypt...
47
115
0.858629
148
2,115
12.047297
0.648649
0.031969
0.024678
0.032529
0
0
0
0
0
0
0
0.404886
0.090307
2,115
44
116
48.068182
0.52183
0.114894
0
0
0
0
0.468851
0.422127
0
0
0.005371
0
0
1
0
false
0
0.033333
0
0.033333
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e1b18b46651e9f66ff6958a9025b0bc1b9f9aca5
3,793
py
Python
capa/features/extractors/ida/extractor.py
pombredanne/capa
b41d23930189c269608d4b705533fa45cf3c064c
[ "Apache-2.0" ]
null
null
null
capa/features/extractors/ida/extractor.py
pombredanne/capa
b41d23930189c269608d4b705533fa45cf3c064c
[ "Apache-2.0" ]
null
null
null
capa/features/extractors/ida/extractor.py
pombredanne/capa
b41d23930189c269608d4b705533fa45cf3c064c
[ "Apache-2.0" ]
null
null
null
# Copyright (C) 2020 FireEye, Inc. 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: [package root]/LICENSE.txt # Unless required by applicable law or agreed to in writing,...
33.566372
111
0.714474
501
3,793
5.177645
0.285429
0.074017
0.135698
0.134927
0.398612
0.293369
0.240941
0.240941
0.240941
0.221665
0
0.00198
0.200896
3,793
112
112
33.866071
0.853844
0.237016
0
0.298507
0
0
0.002091
0
0
0
0
0
0
1
0.298507
false
0
0.179104
0.104478
0.656716
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
e1c0ee31e7c392fd9a301672456d03f86541b8f3
265
py
Python
modules/python3/tests/unittests/scripts/glm.py
ImagiaViz/inviwo
a00bb6b0551bc1cf26dc0366c827c1a557a9603d
[ "BSD-2-Clause" ]
349
2015-01-30T09:21:52.000Z
2022-03-25T03:10:02.000Z
modules/python3/tests/unittests/scripts/glm.py
ImagiaViz/inviwo
a00bb6b0551bc1cf26dc0366c827c1a557a9603d
[ "BSD-2-Clause" ]
641
2015-09-23T08:54:06.000Z
2022-03-23T09:50:55.000Z
modules/python3/tests/unittests/scripts/glm.py
ImagiaViz/inviwo
a00bb6b0551bc1cf26dc0366c827c1a557a9603d
[ "BSD-2-Clause" ]
124
2015-02-27T23:45:02.000Z
2022-02-21T09:37:14.000Z
import inviwopy from inviwopy.glm import * v1 = vec3(1,2,3) v2 = size2_t(4,5) m1 = mat4(1) m2 = mat3(0,1,0,-1,0,0,0,0,2) v3 = m2 * v1 v4 = vec4(1,2,3,4) w = v4.w a = v4.a q = v4.q z = v4.z b = v4.b p = v4.p y = v4.y g = v4.g t = v4.t x = v4.x r = v4.r s = v4.s
10.6
29
0.532075
75
265
1.866667
0.44
0.042857
0.042857
0
0
0
0
0
0
0
0
0.221106
0.249057
265
24
30
11.041667
0.482412
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bee082fd43d018efe615e1efde05a3a482204b84
48,845
py
Python
demisto_client/demisto_api/models/investigation_playbook_task.py
guytest/demisto-py
8ca4f56a6177668151b5656cbe675a377003c0e9
[ "Apache-2.0" ]
1
2020-04-08T14:36:06.000Z
2020-04-08T14:36:06.000Z
demisto_client/demisto_api/models/investigation_playbook_task.py
guytest/demisto-py
8ca4f56a6177668151b5656cbe675a377003c0e9
[ "Apache-2.0" ]
null
null
null
demisto_client/demisto_api/models/investigation_playbook_task.py
guytest/demisto-py
8ca4f56a6177668151b5656cbe675a377003c0e9
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Demisto API This is the public REST API to integrate with the demisto server. HTTP request can be sent using any HTTP-client. For an example dedicated client take a look at: https://github.com/demisto/demisto-py. Requests must include API-key that can be generated in the Demisto web clie...
32.498337
1,584
0.649381
5,447
48,845
5.627318
0.067193
0.04189
0.214407
0.181554
0.608019
0.47377
0.423561
0.325851
0.222074
0.106127
0
0.018313
0.269997
48,845
1,502
1,585
32.519973
0.841321
0.429256
0
0.085803
0
0
0.093052
0.008685
0
0
0
0
0
1
0.174727
false
0
0.028081
0
0.299532
0.00312
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
830421c0eef174df1951cc79db82af6869f9e1bc
177
py
Python
napari_imc/io/__init__.py
neuromusic/napari-imc
ce2ff998b33b49f19a786585cc2cb8e59db74c24
[ "MIT" ]
4
2021-01-29T15:11:37.000Z
2021-03-01T02:04:24.000Z
napari_imc/io/__init__.py
neuromusic/napari-imc
ce2ff998b33b49f19a786585cc2cb8e59db74c24
[ "MIT" ]
25
2021-01-19T01:49:13.000Z
2022-02-09T10:46:41.000Z
napari_imc/io/__init__.py
neuromusic/napari-imc
ce2ff998b33b49f19a786585cc2cb8e59db74c24
[ "MIT" ]
3
2021-01-29T17:31:05.000Z
2022-03-25T10:23:32.000Z
from .imaxt import ImaxtFileReader from .mcd import McdFileReader from .txt import TxtFileReader __all__ = [ 'ImaxtFileReader', 'McdFileReader', 'TxtFileReader', ]
17.7
34
0.734463
16
177
7.875
0.5625
0
0
0
0
0
0
0
0
0
0
0
0.180791
177
9
35
19.666667
0.868966
0
0
0
0
0
0.231638
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8311c27de6e1db041ba99f1046583892727db0c6
43
py
Python
oed/__init__.py
wgshen/OED
6928ba31396f2e7dd2bd3701f319e1dad3f91346
[ "MIT" ]
null
null
null
oed/__init__.py
wgshen/OED
6928ba31396f2e7dd2bd3701f319e1dad3f91346
[ "MIT" ]
null
null
null
oed/__init__.py
wgshen/OED
6928ba31396f2e7dd2bd3701f319e1dad3f91346
[ "MIT" ]
1
2021-11-10T05:41:02.000Z
2021-11-10T05:41:02.000Z
from .oed import OED __all__ = [ "OED" ]
7.166667
20
0.604651
6
43
3.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.255814
43
5
21
8.6
0.6875
0
0
0
0
0
0.069767
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
831d6ec37b4d0e0a6e4200545a3b9e01d0fe7f0e
306
py
Python
api/permissions.py
soltanoff/simple_file_server
4e825358341fae0564fc498e8374a3d3cdda199e
[ "MIT" ]
2
2018-06-15T11:39:42.000Z
2019-08-14T20:55:15.000Z
api/permissions.py
soltanoff/simple_file_server
4e825358341fae0564fc498e8374a3d3cdda199e
[ "MIT" ]
7
2018-12-04T07:35:24.000Z
2022-03-11T23:12:10.000Z
api/permissions.py
soltanoff/simple_file_server
4e825358341fae0564fc498e8374a3d3cdda199e
[ "MIT" ]
null
null
null
from rest_framework import permissions class IsStaffOrReadOnly(permissions.BasePermission): """ Custom permission to only allow admins to edit it. """ def has_object_permission(self, request, view, obj): return request.method in permissions.SAFE_METHODS or request.user.is_staff
27.818182
82
0.751634
38
306
5.921053
0.842105
0
0
0
0
0
0
0
0
0
0
0
0.179739
306
10
83
30.6
0.896414
0.163399
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
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
833ab5ac04df4cc2bfa2f945d2155461c52e1071
1,039
py
Python
yibai-sms-python-sdk-1.0.0/yibai/api/Yibai.py
100sms/yibai-python-sdk
9907d0fbf147b5b3ce10e4afed2ac7f19d52af3f
[ "MIT" ]
null
null
null
yibai-sms-python-sdk-1.0.0/yibai/api/Yibai.py
100sms/yibai-python-sdk
9907d0fbf147b5b3ce10e4afed2ac7f19d52af3f
[ "MIT" ]
null
null
null
yibai-sms-python-sdk-1.0.0/yibai/api/Yibai.py
100sms/yibai-python-sdk
9907d0fbf147b5b3ce10e4afed2ac7f19d52af3f
[ "MIT" ]
1
2019-11-26T11:49:54.000Z
2019-11-26T11:49:54.000Z
# encoding=utf8 import HttpUtils class YibaiApiError(Exception): def __init__(self, code, message): super(YibaiApiError, self).__init__(message) self.code = code class YibaiClient(object): def __init__(self, server_url, apikey): self.serverUrl = server_url self...
28.861111
72
0.624639
116
1,039
5.267241
0.37931
0.065466
0.111293
0.10311
0.07856
0
0
0
0
0
0
0.005155
0.253128
1,039
35
73
29.685714
0.782216
0.012512
0
0
0
0
0.098079
0.021234
0
0
0
0
0
1
0.291667
false
0
0.041667
0.166667
0.625
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
835e51b25ab23118471502fce1356174cfc1f9cc
137
py
Python
lab_4/start.py
AnastasiaZheleznyakova/2020-2-level-labs
926c7abde05f545f27d09a4d96b8014d5a668789
[ "MIT" ]
null
null
null
lab_4/start.py
AnastasiaZheleznyakova/2020-2-level-labs
926c7abde05f545f27d09a4d96b8014d5a668789
[ "MIT" ]
null
null
null
lab_4/start.py
AnastasiaZheleznyakova/2020-2-level-labs
926c7abde05f545f27d09a4d96b8014d5a668789
[ "MIT" ]
null
null
null
if __name__ == '__main__': pass RESULT = 1 # DO NOT REMOVE NEXT LINE - KEEP IT INTENTIONALLY LAST assert RESULT == 1, ''
22.833333
58
0.613139
18
137
4.222222
0.888889
0.184211
0
0
0
0
0
0
0
0
0
0.020619
0.291971
137
5
59
27.4
0.762887
0.379562
0
0
0
0
0.096386
0
0
0
0
0
0.25
1
0
false
0.25
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
835f677bc91f7df84f3075940f43de8d60abf297
84
py
Python
learning/__init__.py
aleisalem/Maat
702c88a6a86f0b56e504df8f4d7ba18e8a39c887
[ "Apache-2.0" ]
4
2019-10-11T12:19:29.000Z
2020-08-06T21:45:10.000Z
learning/__init__.py
aleisalem/Maat
702c88a6a86f0b56e504df8f4d7ba18e8a39c887
[ "Apache-2.0" ]
null
null
null
learning/__init__.py
aleisalem/Maat
702c88a6a86f0b56e504df8f4d7ba18e8a39c887
[ "Apache-2.0" ]
1
2021-01-05T11:50:22.000Z
2021-01-05T11:50:22.000Z
__all__ = ["feature_extraction", "hmm_learner", "scikit_learners", "string_kernel"]
42
83
0.761905
9
84
6.222222
1
0
0
0
0
0
0
0
0
0
0
0
0.071429
84
1
84
84
0.717949
0
0
0
0
0
0.678571
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8360d7fa109831cb6f6bca8e81a94ffadbaafea4
223
py
Python
primitives_ubc/regCCFS/__init__.py
tonyjo/ubc_primitives
bc94a403f176fe28db2a9ac9d1a48cb9db021f90
[ "Apache-2.0" ]
null
null
null
primitives_ubc/regCCFS/__init__.py
tonyjo/ubc_primitives
bc94a403f176fe28db2a9ac9d1a48cb9db021f90
[ "Apache-2.0" ]
4
2020-07-19T00:45:29.000Z
2020-12-10T18:25:41.000Z
primitives_ubc/regCCFS/__init__.py
tonyjo/ubc_primitives
bc94a403f176fe28db2a9ac9d1a48cb9db021f90
[ "Apache-2.0" ]
1
2021-04-30T18:13:49.000Z
2021-04-30T18:13:49.000Z
from .ccfsReg import CanonicalCorrelationForestsRegressionPrimitive __all__ = ['CanonicalCorrelationForestsRegressionPrimitive'] from pkgutil import extend_path __path__ = extend_path(__path__, __name__) # type: ignore
27.875
67
0.847534
18
223
9.5
0.611111
0.116959
0.163743
0
0
0
0
0
0
0
0
0
0.098655
223
7
68
31.857143
0.850746
0.053812
0
0
0
0
0.220096
0.220096
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
55cc899799689985629d17decc9d13ef5c737a0d
1,252
py
Python
preparedstatement.py
shgysk8zer0/pyutils
f7fa2ea7717740f05ea739d20cd8a21701835800
[ "MIT" ]
null
null
null
preparedstatement.py
shgysk8zer0/pyutils
f7fa2ea7717740f05ea739d20cd8a21701835800
[ "MIT" ]
null
null
null
preparedstatement.py
shgysk8zer0/pyutils
f7fa2ea7717740f05ea739d20cd8a21701835800
[ "MIT" ]
null
null
null
import sqlite3 class PreparedStatement: __cursor = None __sql = '' __params = {} def __init__(self, con: sqlite3.Connection, sql: str): self.__cursor = con.cursor() self.__sql = sql self.__params = {} def __str__(self) -> str: return self.__sql def __getitem__(...
26.083333
77
0.610224
147
1,252
4.693878
0.258503
0.15942
0.056522
0.046377
0.115942
0.115942
0.115942
0.115942
0
0
0
0.002172
0.264377
1,252
47
78
26.638298
0.747014
0
0
0.114286
0
0
0
0
0
0
0
0
0
1
0.342857
false
0
0.028571
0.171429
0.742857
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
55de8a6657e59552d97157f0e3318b5e7abae0d2
323
py
Python
electsysApi/shared/exception.py
yuxiqian/electsys-api
52b42729e797f8bdf6a0827e9d62a50919d56d65
[ "MIT" ]
5
2019-01-21T00:44:33.000Z
2022-01-03T16:45:25.000Z
electsysApi/shared/exception.py
yuxiqian/electsys-api
52b42729e797f8bdf6a0827e9d62a50919d56d65
[ "MIT" ]
1
2021-10-24T00:46:59.000Z
2021-10-24T00:46:59.000Z
electsysApi/shared/exception.py
yuxiqian/electsys-api
52b42729e797f8bdf6a0827e9d62a50919d56d65
[ "MIT" ]
2
2019-01-12T03:18:33.000Z
2021-06-16T11:19:49.000Z
#!/usr/bin/env python # encoding: utf-8 ''' @author: yuxiqian @license: MIT @contact: akaza_akari@sjtu.edu.cn @software: electsys-api @file: electsysApi/shared/exception.py @time: 2019/1/9 ''' class RequestError(BaseException): pass class ParseError(BaseException): pass class ParseWarning(Warning): pa...
14.043478
38
0.721362
41
323
5.658537
0.878049
0.146552
0.189655
0
0
0
0
0
0
0
0
0.025271
0.142415
323
22
39
14.681818
0.812274
0.560372
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
55ec22a317bb062a3d79bbd46b18d734b28581cf
58
py
Python
minimally_sufficient_pandas/__init__.py
dexplo/minimally_sufficient_pandas
d07710f03daa757f5778aa66ee68952d03467809
[ "BSD-3-Clause" ]
null
null
null
minimally_sufficient_pandas/__init__.py
dexplo/minimally_sufficient_pandas
d07710f03daa757f5778aa66ee68952d03467809
[ "BSD-3-Clause" ]
null
null
null
minimally_sufficient_pandas/__init__.py
dexplo/minimally_sufficient_pandas
d07710f03daa757f5778aa66ee68952d03467809
[ "BSD-3-Clause" ]
null
null
null
from ._pandas_accessor import _MSP __version__ = '0.0.1'
14.5
34
0.758621
9
58
4.111111
0.888889
0
0
0
0
0
0
0
0
0
0
0.06
0.137931
58
3
35
19.333333
0.68
0
0
0
0
0
0.086207
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
55f120e7cddd6dd7d7bb9b4780eee99d7d17ddcc
797
py
Python
src/fireo/utils/utils.py
jshep23/FireO
f4ccac8461bcf821ae9665a942847aa9f28ee92b
[ "Apache-2.0" ]
null
null
null
src/fireo/utils/utils.py
jshep23/FireO
f4ccac8461bcf821ae9665a942847aa9f28ee92b
[ "Apache-2.0" ]
null
null
null
src/fireo/utils/utils.py
jshep23/FireO
f4ccac8461bcf821ae9665a942847aa9f28ee92b
[ "Apache-2.0" ]
null
null
null
import re from google.cloud import firestore def collection_name(model): return re.sub('(?!^)([A-Z]+)', r'_\1', model).lower() def ref_path(key): return key.split('/') def collection_path(key): return '/'.join(key.split('/')[:-1]) def get_parent(key): return collection_path(key) def get_paren...
18.97619
76
0.61606
108
797
4.444444
0.416667
0.075
0.054167
0.066667
0.0875
0
0
0
0
0
0
0.01129
0.222083
797
42
76
18.97619
0.762903
0
0
0
0
0
0.027569
0
0
0
0
0
0
1
0.32
false
0
0.08
0.24
0.76
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
3617f1fcc07ed43dd799a0a44d4cb775cd1c7478
1,884
py
Python
blackbook/migrations/0022_cleanup.py
bsiebens/blackbook
636d1adc8966db158914abba43e360c6a0d23173
[ "MIT" ]
1
2021-05-10T19:15:48.000Z
2021-05-10T19:15:48.000Z
blackbook/migrations/0022_cleanup.py
bsiebens/BlackBook
636d1adc8966db158914abba43e360c6a0d23173
[ "MIT" ]
20
2020-12-27T15:56:24.000Z
2021-09-22T18:25:02.000Z
blackbook/migrations/0022_cleanup.py
bsiebens/BlackBook
636d1adc8966db158914abba43e360c6a0d23173
[ "MIT" ]
null
null
null
# Generated by Django 3.1.4 on 2021-01-22 22:56 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blackbook', '0021_update_account_categories'), ] operations = [ migrations.RemoveField( model_name='budgetperiod', name='bud...
25.459459
56
0.525478
126
1,884
7.738095
0.31746
0.193846
0.24
0.276923
0.453333
0.401026
0
0
0
0
0
0.016007
0.369958
1,884
73
57
25.808219
0.805392
0.023885
0
0.641791
1
0
0.194883
0.091453
0
0
0
0
0
1
0
false
0
0.014925
0
0.059701
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
3624a7b0fa4de41698f562d63ac67b0fc5033a54
1,230
py
Python
data_access_layer/abstract_classes/customer_dao.py
Alejandro-Fuste/python-bank-application
46e44c830ab8c13fd64c08e2db4f743a7d1d35de
[ "MIT" ]
null
null
null
data_access_layer/abstract_classes/customer_dao.py
Alejandro-Fuste/python-bank-application
46e44c830ab8c13fd64c08e2db4f743a7d1d35de
[ "MIT" ]
15
2021-11-22T16:05:42.000Z
2021-12-08T16:43:37.000Z
data_access_layer/abstract_classes/customer_dao.py
Alejandro-Fuste/python-bank-application
46e44c830ab8c13fd64c08e2db4f743a7d1d35de
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod from entities.customers import Customer from typing import List class CustomerDao(ABC): @abstractmethod def create_customer_entry(self, customer: Customer) -> Customer: pass @abstractmethod def get_customer_by_id(self, customer_id: str) -> Customer: ...
27.954545
103
0.68374
150
1,230
5.313333
0.246667
0.19197
0.21079
0.120452
0.570891
0.42409
0.23463
0.23463
0.141782
0.100376
0
0
0.239024
1,230
43
104
28.604651
0.851496
0
0
0.5625
0
0
0
0
0
0
0
0
0
1
0.28125
false
0.28125
0.09375
0
0.40625
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
36397c2f3323af879bfcf0a875f647ed132668eb
273
py
Python
ex026.py
juniorpedroso/Exercicios-CEV-Python
4adad3b6f3994cf61f9ead5564124b8b9c58d304
[ "MIT" ]
null
null
null
ex026.py
juniorpedroso/Exercicios-CEV-Python
4adad3b6f3994cf61f9ead5564124b8b9c58d304
[ "MIT" ]
null
null
null
ex026.py
juniorpedroso/Exercicios-CEV-Python
4adad3b6f3994cf61f9ead5564124b8b9c58d304
[ "MIT" ]
null
null
null
frase = str(input('Digite uma frase: ').strip().upper()) print('A letra a aparece {} vezes'.format(frase.count('A'))) print('Sua primeira aparição é na posição {}'.format(frase.find('A') + 1)) print('Ela aparece pela última vez na posição {}'.format(frase.rfind('A') + 1))
54.6
79
0.673993
43
273
4.27907
0.627907
0.179348
0.163043
0.217391
0
0
0
0
0
0
0
0.008264
0.113553
273
4
80
68.25
0.752066
0
0
0
0
0
0.457875
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
364dafdcafb142ed50351e67323fec6552de2b84
325
py
Python
maskrcnn_benchmark/data/datasets/__init__.py
lipengfeizju/Detection
efe00b221725be05e30fd67957958f97ae42b3cf
[ "MIT" ]
null
null
null
maskrcnn_benchmark/data/datasets/__init__.py
lipengfeizju/Detection
efe00b221725be05e30fd67957958f97ae42b3cf
[ "MIT" ]
null
null
null
maskrcnn_benchmark/data/datasets/__init__.py
lipengfeizju/Detection
efe00b221725be05e30fd67957958f97ae42b3cf
[ "MIT" ]
null
null
null
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. from .coco import COCODataset from .voc import PascalVOCDataset from .concat_dataset import ConcatDataset __all__ = ["COCODataset", "ConcatDataset", "PascalVOCDataset"] # if isinstance(dataset, datasets.MyDataset): # return coco_evaluation(**...
36.111111
71
0.778462
36
325
6.861111
0.722222
0
0
0
0
0
0
0
0
0
0
0
0.123077
325
9
72
36.111111
0.866667
0.455385
0
0
0
0
0.229885
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
364e9aa16c6e94c8b02ddd7f95c3691e35f760e3
140
py
Python
Codechef Factorial.py
zoya-0509/Practice-codes
4d71b1b004f309025c215e55a504c7817b00e8c9
[ "MIT" ]
null
null
null
Codechef Factorial.py
zoya-0509/Practice-codes
4d71b1b004f309025c215e55a504c7817b00e8c9
[ "MIT" ]
null
null
null
Codechef Factorial.py
zoya-0509/Practice-codes
4d71b1b004f309025c215e55a504c7817b00e8c9
[ "MIT" ]
null
null
null
t=int(input("")) while (t>0): n=int(input("")) f=1 for i in range(1,n+1): f=f*i print(f) t=t-1
15.555556
28
0.378571
26
140
2.038462
0.5
0.301887
0
0
0
0
0
0
0
0
0
0.060241
0.407143
140
9
29
15.555556
0.578313
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
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