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
e849dd30186499c8c64328ea43d6a728fa0b5e60
114
py
Python
app/db_config.py
chineshboy/Real_Time_Data_Analyze
3b7f9763ffba92e0a533eb4fb73b740fa805bdc2
[ "MIT" ]
null
null
null
app/db_config.py
chineshboy/Real_Time_Data_Analyze
3b7f9763ffba92e0a533eb4fb73b740fa805bdc2
[ "MIT" ]
null
null
null
app/db_config.py
chineshboy/Real_Time_Data_Analyze
3b7f9763ffba92e0a533eb4fb73b740fa805bdc2
[ "MIT" ]
1
2021-02-02T09:14:15.000Z
2021-02-02T09:14:15.000Z
__author__ = 'jianxun' USERNAME = 'root' PASSWORD = '' HOST = '127.0.0.1' PORT = '3306' DB = 'real_time_system'
12.666667
23
0.640351
16
114
4.1875
0.9375
0
0
0
0
0
0
0
0
0
0
0.106383
0.175439
114
8
24
14.25
0.606383
0
0
0
0
0
0.350877
0
0
0
0
0
0
1
0
false
0.166667
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
e86a7630504f2ffe052e26c5476a759dbd4762c7
224
py
Python
contact/models.py
Alexmhack/django_ajax
229e0b219433871ba474c6ba02ec7e97384fed03
[ "MIT" ]
null
null
null
contact/models.py
Alexmhack/django_ajax
229e0b219433871ba474c6ba02ec7e97384fed03
[ "MIT" ]
null
null
null
contact/models.py
Alexmhack/django_ajax
229e0b219433871ba474c6ba02ec7e97384fed03
[ "MIT" ]
null
null
null
from django.db import models class UserContactInfo(models.Model): name = models.CharField(max_length=30) email = models.EmailField() message = models.TextField() def __str__(self): return f"{self.name}: {self.email}"
24.888889
39
0.745536
30
224
5.4
0.733333
0
0
0
0
0
0
0
0
0
0
0.010152
0.120536
224
9
40
24.888889
0.812183
0
0
0
0
0
0.111111
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
e8b296942f125a68d4c2e749c01ca0bf4a64d354
268
py
Python
backend/Database/exception.py
theworkingmen/majorpotential
7e2e3eaadd5159bd4532d65c9252b6a6ae0b9600
[ "MIT" ]
1
2018-04-30T00:03:25.000Z
2018-04-30T00:03:25.000Z
backend/Database/exception.py
theworkingmen/idb
7e2e3eaadd5159bd4532d65c9252b6a6ae0b9600
[ "MIT" ]
95
2018-03-02T22:04:40.000Z
2022-03-03T22:00:36.000Z
backend/Database/exception.py
theworkingmen/majorpotential
7e2e3eaadd5159bd4532d65c9252b6a6ae0b9600
[ "MIT" ]
1
2018-05-08T01:33:59.000Z
2018-05-08T01:33:59.000Z
class NotFoundException(Exception): def __init__(self, message): Exception.__init__(self) self.message = message self.status_code = 404 def to_dict(self): res = dict() res ['message'] = self.message return res
22.333333
38
0.600746
29
268
5.206897
0.482759
0.218543
0
0
0
0
0
0
0
0
0
0.016043
0.302239
268
11
39
24.363636
0.791444
0
0
0
0
0
0.026217
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.444444
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
e8d2f55c8110190728e1fea0c0179b5af515ce29
5,142
py
Python
pyzoo/zoo/pipeline/api/autograd.py
weiguanghuang/analytics-zoo
9b542edb21ac1ff26f76a102263cad99c3d88b89
[ "Apache-2.0" ]
null
null
null
pyzoo/zoo/pipeline/api/autograd.py
weiguanghuang/analytics-zoo
9b542edb21ac1ff26f76a102263cad99c3d88b89
[ "Apache-2.0" ]
null
null
null
pyzoo/zoo/pipeline/api/autograd.py
weiguanghuang/analytics-zoo
9b542edb21ac1ff26f76a102263cad99c3d88b89
[ "Apache-2.0" ]
null
null
null
# # Copyright 2018 Analytics Zoo Authors. # # 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 or agreed to...
32.961538
117
0.627966
637
5,142
4.908948
0.281005
0.06268
0.074832
0.099776
0.4685
0.450592
0.396866
0.341861
0.283658
0.283658
0
0.003745
0.273046
5,142
156
118
32.961538
0.832798
0.254376
0
0.337349
0
0
0.047242
0
0
0
0
0
0
1
0.240964
false
0
0.060241
0.192771
0.542169
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
2cf2b64597e445b0445c1e8a5a2997093c51c9b5
2,513
py
Python
python/DeepSeaSceneLighting/Light.py
akb825/DeepSea
fff790d0a472cf2f9f89de653e0b4470ce605d24
[ "Apache-2.0" ]
5
2018-11-17T23:13:22.000Z
2021-09-30T13:37:04.000Z
python/DeepSeaSceneLighting/Light.py
akb825/DeepSea
fff790d0a472cf2f9f89de653e0b4470ce605d24
[ "Apache-2.0" ]
null
null
null
python/DeepSeaSceneLighting/Light.py
akb825/DeepSea
fff790d0a472cf2f9f89de653e0b4470ce605d24
[ "Apache-2.0" ]
2
2019-09-23T12:23:35.000Z
2020-04-07T05:31:06.000Z
# automatically generated by the FlatBuffers compiler, do not modify # namespace: DeepSeaSceneLighting import flatbuffers from flatbuffers.compat import import_numpy np = import_numpy() class Light(object): __slots__ = ['_tab'] @classmethod def GetRootAs(cls, buf, offset=0): n = flatbuffers.enco...
35.9
126
0.683645
308
2,513
5.49026
0.269481
0.037256
0.042578
0.07806
0.329391
0.309284
0.240686
0.155529
0.104672
0.104672
0
0.009548
0.208118
2,513
70
127
35.9
0.840201
0.176283
0
0.142857
1
0
0.001966
0
0
0
0
0
0
1
0.326531
false
0
0.081633
0.020408
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
2cf39c2b21224d88627aa79724428c1c6443c424
583
py
Python
examples/canvas.py
eerimoq/irwin
4350f94f648ab946e7b8793085af995995c85809
[ "MIT" ]
3
2020-07-21T08:50:05.000Z
2020-08-06T15:34:30.000Z
examples/canvas.py
eerimoq/irwin
4350f94f648ab946e7b8793085af995995c85809
[ "MIT" ]
null
null
null
examples/canvas.py
eerimoq/irwin
4350f94f648ab946e7b8793085af995995c85809
[ "MIT" ]
null
null
null
import irwin canvas = irwin.Canvas(width=40, height=20, x_min=0, y_min=0, x_max=10, y_max=10) # Draw the canvas edges. canvas.draw_line(0, 0, 0, 10) canvas.draw_line(0, 10, 10, 10) canvas.draw_line(10, 10, 10...
21.592593
32
0.566038
100
583
3.16
0.27
0.316456
0.265823
0.189873
0.291139
0.132911
0.132911
0
0
0
0
0.140777
0.29331
583
26
33
22.423077
0.626214
0.092624
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.055556
0.055556
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
2cfc99f9e638c9f3012d5ba5b7e2976c98143a01
1,194
py
Python
android/android_9/frameworks/rs/tests/lldb/tests/harness/exception.py
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_9/frameworks/rs/tests/lldb/tests/harness/exception.py
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
android/android_9/frameworks/rs/tests/lldb/tests/harness/exception.py
yakuizhao/intel-vaapi-driver
b2bb0383352694941826543a171b557efac2219b
[ "MIT" ]
null
null
null
# Copyright (C) 2016 The Android Open Source Project # # 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 ...
28.428571
74
0.743719
154
1,194
5.733766
0.636364
0.06795
0.029445
0.03624
0.133635
0.065685
0
0
0
0
0
0.008197
0.18258
1,194
41
75
29.121951
0.896516
0.71273
0
0.444444
0
0
0
0
0
0
0
0
0
1
0
true
0.444444
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
3
fa0e20248fe00647e0b8f8fe3ad9f370c6a5ca10
184
py
Python
carson/default_settings.py
SylverStudios/carson
5144cdd637772619e0b617121616120da1feccd5
[ "MIT" ]
2
2016-04-24T16:45:55.000Z
2017-08-24T19:09:25.000Z
carson/default_settings.py
SylverStudios/carson
5144cdd637772619e0b617121616120da1feccd5
[ "MIT" ]
5
2016-04-24T16:43:23.000Z
2016-05-01T21:12:59.000Z
carson/default_settings.py
SylverStudios/carson
5144cdd637772619e0b617121616120da1feccd5
[ "MIT" ]
1
2016-04-24T16:39:51.000Z
2016-04-24T16:39:51.000Z
DEBUG = True SECRET_KEY = "development" SQLALCHEMY_DATABASE_URI = "sqlite://" SQLALCHEMY_TRACK_MODIFICATIONS = False GITHUB_API_KEY = "not-checked-in" SLACK_API_KEY = "not-checked-in"
26.285714
38
0.788043
25
184
5.44
0.72
0.088235
0.132353
0.235294
0.264706
0
0
0
0
0
0
0
0.097826
184
6
39
30.666667
0.819277
0
0
0
0
0
0.26087
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
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
0
0
3
fa371888854879d3dbb15a254f417cc897f666b1
284
py
Python
tests/test_decisiontree.py
jdvelasq/hardDecisions
54f886e82784c4061200d843841ef600b0ac366b
[ "MIT" ]
null
null
null
tests/test_decisiontree.py
jdvelasq/hardDecisions
54f886e82784c4061200d843841ef600b0ac366b
[ "MIT" ]
null
null
null
tests/test_decisiontree.py
jdvelasq/hardDecisions
54f886e82784c4061200d843841ef600b0ac366b
[ "MIT" ]
1
2021-07-17T19:27:54.000Z
2021-07-17T19:27:54.000Z
"""Tests """ from decisions_tree.decision_tree import DecisionTree def test_terminal_node_creation(): """test""" tree = DecisionTree() tree.terminal_node() assert tree.data[0].type == "TERMINAL" assert tree.data[0].expr is None assert tree.data[0].id == 0
18.933333
53
0.672535
38
284
4.868421
0.526316
0.162162
0.227027
0.243243
0
0
0
0
0
0
0
0.017316
0.18662
284
14
54
20.285714
0.78355
0.035211
0
0
0
0
0.030534
0
0
0
0
0
0.428571
1
0.142857
false
0
0.142857
0
0.285714
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
fa3da2d26b99d492a192f7904508cf11e10fa46a
265
py
Python
sdk/core/azure-core/azure/core/tracing/__init__.py
kushan2018/azure-sdk-for-python
08a9296207281f4e90e23cf7a30173863accc867
[ "MIT" ]
null
null
null
sdk/core/azure-core/azure/core/tracing/__init__.py
kushan2018/azure-sdk-for-python
08a9296207281f4e90e23cf7a30173863accc867
[ "MIT" ]
1
2020-03-06T05:57:16.000Z
2020-03-06T05:57:16.000Z
sdk/core/azure-core/azure/core/tracing/__init__.py
kushan2018/azure-sdk-for-python
08a9296207281f4e90e23cf7a30173863accc867
[ "MIT" ]
null
null
null
# ------------------------------------ # Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # ------------------------------------ from azure.core.tracing.abstract_span import AbstractSpan, SpanKind __all__ = [ "AbstractSpan", "SpanKind" ]
26.5
67
0.535849
21
265
6.52381
0.904762
0.291971
0
0
0
0
0
0
0
0
0
0
0.116981
265
9
68
29.444444
0.58547
0.535849
0
0
0
0
0.169492
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fa498c056dc667dcfb5a9bceaf4d093791d29717
344
py
Python
examples/ex_e2e_diagram.py
jeremyschulman/aio-ipfabric
26ae21987ead45d9b5663751c63d4b01e79a5dfe
[ "Apache-2.0" ]
5
2020-08-19T07:35:13.000Z
2022-01-25T13:08:07.000Z
examples/ex_e2e_diagram.py
justinjeffery-ipf/aio-ipfabric
121d770ea8a3395774a02189f354ea9ef7c9c361
[ "Apache-2.0" ]
16
2020-10-18T17:43:35.000Z
2021-11-14T22:23:45.000Z
examples/ex_e2e_diagram.py
justinjeffery-ipf/aio-ipfabric
121d770ea8a3395774a02189f354ea9ef7c9c361
[ "Apache-2.0" ]
2
2020-10-19T19:05:17.000Z
2022-02-07T16:47:08.000Z
import asyncio from aioipfabric import IPFabricClient from aioipfabric.mixins.diagrams import IPFDiagramE2EMixin class Client(IPFabricClient, IPFDiagramE2EMixin): pass asyncio.set_event_loop(asyncio.get_event_loop()) async def end_to_end(**options): async with Client() as ipf: return await ipf.end...
21.5
58
0.787791
44
344
5.954545
0.590909
0.114504
0.061069
0
0
0
0
0
0
0
0
0.006757
0.139535
344
15
59
22.933333
0.878378
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.111111
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
3
d717e368bc2eeb8489099057329b4f35d421ede6
1,948
py
Python
wksp-python/celery_tasks.py
ongzhixian/Impulse
5dbed045159ff049c0fccbd3f0451259b11fde71
[ "MIT" ]
null
null
null
wksp-python/celery_tasks.py
ongzhixian/Impulse
5dbed045159ff049c0fccbd3f0451259b11fde71
[ "MIT" ]
39
2020-10-10T01:31:05.000Z
2020-11-20T22:26:23.000Z
wksp-python/celery_tasks.py
ongzhixian/Impulse
5dbed045159ff049c0fccbd3f0451259b11fde71
[ "MIT" ]
null
null
null
################################################################################ # Modules and functions import statements ################################################################################ import logging as log from helpers.app_logging import setup_logging, print_test_log_messages from celery import C...
38.96
155
0.522074
201
1,948
4.945274
0.427861
0.020121
0.050302
0.065392
0.344064
0.344064
0.344064
0.344064
0.344064
0.344064
0
0
0.121663
1,948
50
156
38.96
0.580947
0.314168
0
0
0
0.210526
0.514793
0.404734
0
0
0
0.02
0
1
0.052632
false
0
0.157895
0.052632
0.263158
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
d728fee8b6302ca3d40d8f789b30f0b7e06e7679
81
py
Python
tests/__init__.py
pomadchin/stac-validator
f7aa17fd8b7fcf2a06fe39f29e965bc3b82f6902
[ "Apache-2.0" ]
null
null
null
tests/__init__.py
pomadchin/stac-validator
f7aa17fd8b7fcf2a06fe39f29e965bc3b82f6902
[ "Apache-2.0" ]
null
null
null
tests/__init__.py
pomadchin/stac-validator
f7aa17fd8b7fcf2a06fe39f29e965bc3b82f6902
[ "Apache-2.0" ]
null
null
null
""" Description: """ __author__ = "James Banting, Darren Wiens, Jonathan Healy"
13.5
58
0.703704
8
81
6.625
1
0
0
0
0
0
0
0
0
0
0
0
0.148148
81
5
59
16.2
0.768116
0.148148
0
0
0
0
0.716667
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
d737f67106c422c418a971d69a4286ba31ca7771
398
py
Python
src/credo_cf/classification/clustering/clustering_utils.py
dzwiedziu-nkg/credo-classify-framework
45417b505b4f4b20a7248f3487ca57a3fd49ccee
[ "MIT" ]
null
null
null
src/credo_cf/classification/clustering/clustering_utils.py
dzwiedziu-nkg/credo-classify-framework
45417b505b4f4b20a7248f3487ca57a3fd49ccee
[ "MIT" ]
null
null
null
src/credo_cf/classification/clustering/clustering_utils.py
dzwiedziu-nkg/credo-classify-framework
45417b505b4f4b20a7248f3487ca57a3fd49ccee
[ "MIT" ]
3
2020-06-19T15:41:19.000Z
2020-06-29T12:47:05.000Z
from typing import List import numpy as np def make_stack(list_of_matrices: List[np.ndarray]) -> np.ndarray: """ Join array of xD matrices to one (x+1)D matrix. I.e. list od 2D matrix with shape (a,b) join to 3D matrix with shape (len(list), a, b) :param list_of_matrices: list of matrices to join :re...
30.615385
138
0.698492
70
398
3.871429
0.514286
0.088561
0.206642
0.132841
0
0
0
0
0
0
0
0.009494
0.20603
398
12
139
33.166667
0.848101
0.547739
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.5
0
1
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
0
0
0
3
d7440c87e942ced1bf93c2e44a7d003cb4b5b1b7
294
py
Python
pydos-SOC.py
yw-fang/pydos
736037a14f02bf3aba2b13b74efb3f1093dd35c9
[ "MIT" ]
null
null
null
pydos-SOC.py
yw-fang/pydos
736037a14f02bf3aba2b13b74efb3f1093dd35c9
[ "MIT" ]
null
null
null
pydos-SOC.py
yw-fang/pydos
736037a14f02bf3aba2b13b74efb3f1093dd35c9
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import sys, os """ This script will split DOSCAR from spin-orbital coupling calculations in VASP, you can split DOSCAR only or even plot them in a publication quality. """ print("Please prepare DOSCAR, POSCAR, OUTCAR from scf calculations")
26.727273
78
0.782313
46
294
5
0.804348
0.095652
0
0
0
0
0
0
0
0
0
0
0.159864
294
10
79
29.4
0.931174
0
0
0
0
0
0.427536
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0.25
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
d76e455ed87fcf15783b5998ca8519074417f60e
4,928
py
Python
quick_tutor/settings.py
terose73/Quick-Tutor
dfb4b74b44f465ebabcebdb01ec68e66d9d46792
[ "MIT" ]
null
null
null
quick_tutor/settings.py
terose73/Quick-Tutor
dfb4b74b44f465ebabcebdb01ec68e66d9d46792
[ "MIT" ]
7
2021-02-02T22:41:00.000Z
2021-09-22T18:57:06.000Z
quick_tutor/settings.py
terose73/Quick-Tutor
dfb4b74b44f465ebabcebdb01ec68e66d9d46792
[ "MIT" ]
null
null
null
""" Django settings for quick_tutor project. Generated by 'django-admin startproject' using Django 3.0.2. For more information on this file, see https://docs.djangoproject.com/en/3.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/3.0/ref/settings/ """ MIDDLEWA...
26.928962
107
0.73681
559
4,928
6.289803
0.372093
0.059158
0.046075
0.049772
0.247725
0.228953
0.108362
0.108362
0.066553
0.032423
0
0.017245
0.141031
4,928
182
108
27.076923
0.813371
0.205966
0
0
1
0
0.536642
0.475701
0
0
0
0
0
1
0
false
0.054545
0.036364
0
0.036364
0.009091
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
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
d7779064ddceb86c099b442c169031aa8bd7d2ed
1,469
py
Python
availability.py
NobelGT/NobelGT-tools
7c969b6e865cfa08f076bf797f620f3d1fa07cb0
[ "Apache-2.0" ]
null
null
null
availability.py
NobelGT/NobelGT-tools
7c969b6e865cfa08f076bf797f620f3d1fa07cb0
[ "Apache-2.0" ]
null
null
null
availability.py
NobelGT/NobelGT-tools
7c969b6e865cfa08f076bf797f620f3d1fa07cb0
[ "Apache-2.0" ]
null
null
null
import config from pyquery import PyQuery as pq class Availability: def __init__(self, seats, occupied_seats, wl_seats, occupied_wl_seats): self.seats = seats self.occupied_seats = occupied_seats self.wl_seats = wl_seats self.occupied_wl_seats = occupied_wl_seats def available_...
38.657895
227
0.697754
216
1,469
4.453704
0.259259
0.116424
0.093555
0.045738
0.319127
0.257796
0.12474
0.047817
0
0
0
0.006531
0.166099
1,469
37
228
39.702703
0.778776
0
0
0
0
0.038462
0.171545
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0.153846
0.538462
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
d77bfa05a10fc05467b4a6ce4c185cd3e388f9c4
240
py
Python
src/lexico/semantico.py
thrnkk/compiler
15e1ec1848ef432c1dfdf8b1f9ae79641bd253ca
[ "MIT" ]
1
2021-10-05T13:12:09.000Z
2021-10-05T13:12:09.000Z
src/lexico/semantico.py
thrnkk/compiler
15e1ec1848ef432c1dfdf8b1f9ae79641bd253ca
[ "MIT" ]
null
null
null
src/lexico/semantico.py
thrnkk/compiler
15e1ec1848ef432c1dfdf8b1f9ae79641bd253ca
[ "MIT" ]
null
null
null
from .constants import Constants from .lexical_error import LexicalError class Semantico(Constants): def __init__(self): Constants.__init__(self) def executeAction(self, action, token): print(f"Ação #{action}, Token: {token}")
18.461538
43
0.745833
29
240
5.862069
0.586207
0.094118
0
0
0
0
0
0
0
0
0
0
0.141667
240
12
44
20
0.825243
0
0
0
0
0
0.125
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0
0.714286
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
d78f03149c591777e92f6079961710e4de2f2ccb
116
py
Python
absolutize_path.py
grumpycake/extract_links-mr-job
9be4713b3c769ce168483ba98e0bd7ca723cee89
[ "MIT" ]
3
2016-11-29T03:50:29.000Z
2021-04-15T10:03:05.000Z
absolutize_path.py
grumpycake/extract_links-mr-job
9be4713b3c769ce168483ba98e0bd7ca723cee89
[ "MIT" ]
null
null
null
absolutize_path.py
grumpycake/extract_links-mr-job
9be4713b3c769ce168483ba98e0bd7ca723cee89
[ "MIT" ]
null
null
null
import sys import os for line in sys.stdin: try: print os.path.abspath(line), except: print
14.5
36
0.603448
17
116
4.117647
0.705882
0
0
0
0
0
0
0
0
0
0
0
0.318966
116
8
37
14.5
0.886076
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.285714
null
null
0.285714
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
d79387c93b1b0d30a84f4a378ab8dc09edc78dd6
2,512
py
Python
app/models.py
stacy867/Blog
4d90d5e08d4a4b4e1b626dd28f72639d5d0fb542
[ "MIT" ]
null
null
null
app/models.py
stacy867/Blog
4d90d5e08d4a4b4e1b626dd28f72639d5d0fb542
[ "MIT" ]
null
null
null
app/models.py
stacy867/Blog
4d90d5e08d4a4b4e1b626dd28f72639d5d0fb542
[ "MIT" ]
null
null
null
from . import db from werkzeug.security import generate_password_hash,check_password_hash from flask_login import UserMixin,current_user from . import login_manager from datetime import datetime @login_manager.user_loader def load_user(user_id): return Writer.query.get(int(user_id)) class Writer(UserMixin,db.Mod...
25.896907
72
0.633758
310
2,512
4.958065
0.293548
0.078074
0.097593
0.093689
0.262199
0.163305
0.163305
0.122967
0.058556
0
0
0.012807
0.253981
2,512
97
73
25.896907
0.807364
0.041799
0
0.12069
1
0
0.055019
0
0
0
0
0
0
1
0.172414
false
0.155172
0.086207
0.051724
0.758621
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
ad0fe85a8c07a981f546bd1150dddfd2ae61f552
223
py
Python
states/riversoflifestate.py
eddiecarbin/riverapp
4971ace1113021c3d4f3f0eee6db6de2c5f2f26f
[ "MIT" ]
null
null
null
states/riversoflifestate.py
eddiecarbin/riverapp
4971ace1113021c3d4f3f0eee6db6de2c5f2f26f
[ "MIT" ]
null
null
null
states/riversoflifestate.py
eddiecarbin/riverapp
4971ace1113021c3d4f3f0eee6db6de2c5f2f26f
[ "MIT" ]
null
null
null
from states.machine import State class RiversOfLifeState (State): NAME = "RiversOfLifeState" def __init__(self, player, led, relays, data): super().__init__(self.NAME, data, player, led, relays)
20.272727
62
0.672646
25
223
5.68
0.64
0.112676
0.211268
0
0
0
0
0
0
0
0
0
0.219731
223
10
63
22.3
0.816092
0
0
0
0
0
0.076233
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
ad20a40b6d75001e3408f8ffe9b1d03f0f2d6d81
1,768
py
Python
edu_loan/domain/tests/test_auth_service.py
renanbs/edu-loan
20fbbd2930d65d24d1e10061cd2fc2b98fb4a93e
[ "MIT" ]
null
null
null
edu_loan/domain/tests/test_auth_service.py
renanbs/edu-loan
20fbbd2930d65d24d1e10061cd2fc2b98fb4a93e
[ "MIT" ]
null
null
null
edu_loan/domain/tests/test_auth_service.py
renanbs/edu-loan
20fbbd2930d65d24d1e10061cd2fc2b98fb4a93e
[ "MIT" ]
null
null
null
from unittest.mock import MagicMock import jwt import pytest from edu_loan.domain.auth_service import AuthServiceException from edu_loan.repository.exceptions import RepositoryException @pytest.fixture def juca_email(): return 'juca@juca.com' @pytest.fixture def juca_password(): return 'mypass' @pytest.f...
31.017544
117
0.794683
237
1,768
5.611814
0.257384
0.115789
0.056391
0.075188
0.540602
0.504511
0.460902
0.460902
0.415789
0.36015
0
0.037251
0.119344
1,768
56
118
31.571429
0.816956
0
0
0.294118
0
0
0.133484
0.053167
0
0
0
0
0.117647
1
0.235294
false
0.294118
0.147059
0.117647
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
0
0
0
1
0
1
0
1
0
0
0
3
ad2616a03f9fdf0f356c999b5e8fb3b1474ed451
316
py
Python
frappe/website/page_renderers/list_page.py
oryxsolutions/frappe
d193ea22d17ca40d57432040a8afad72287d9e23
[ "MIT" ]
null
null
null
frappe/website/page_renderers/list_page.py
oryxsolutions/frappe
d193ea22d17ca40d57432040a8afad72287d9e23
[ "MIT" ]
null
null
null
frappe/website/page_renderers/list_page.py
oryxsolutions/frappe
d193ea22d17ca40d57432040a8afad72287d9e23
[ "MIT" ]
null
null
null
import frappe from frappe.website.page_renderers.template_page import TemplatePage class ListPage(TemplatePage): def can_render(self): return frappe.db.exists("DocType", self.path, True) def render(self): frappe.local.form_dict.doctype = self.path self.set_standard_path("list") return super().render()
24.307692
68
0.775316
44
316
5.431818
0.613636
0.083682
0.125523
0
0
0
0
0
0
0
0
0
0.110759
316
12
69
26.333333
0.850534
0
0
0
0
0
0.03481
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.777778
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
ad642aeba4d55a56c869dd4d61cf51afcd656f93
833
py
Python
stage/configuration/test_static_lookup_processor.py
Sentienz/datacollector-tests
ca27988351dc3366488098b5db6c85a8be2f7b85
[ "Apache-2.0" ]
null
null
null
stage/configuration/test_static_lookup_processor.py
Sentienz/datacollector-tests
ca27988351dc3366488098b5db6c85a8be2f7b85
[ "Apache-2.0" ]
1
2019-04-24T11:06:38.000Z
2019-04-24T11:06:38.000Z
stage/configuration/test_static_lookup_processor.py
anubandhan/datacollector-tests
301c024c66d68353735256b262b681dd05ba16cc
[ "Apache-2.0" ]
2
2019-05-24T06:34:37.000Z
2020-03-30T11:48:18.000Z
import pytest from streamsets.testframework.decorators import stub @stub def test_lookup_parameters(sdc_builder, sdc_executor): pass @stub @pytest.mark.parametrize('stage_attributes', [{'mode': 'BATCH'}, {'mode': 'RECORD'}]) def test_mode(sdc_builder, sdc_executor, stage_attributes): pass @stub @pytest.m...
21.358974
85
0.673469
98
833
5.377551
0.326531
0.079696
0.148008
0.239089
0.542695
0.495256
0.455408
0.303605
0
0
0
0
0.216086
833
38
86
21.921053
0.807044
0
0
0.5
0
0
0.149038
0
0
0
0
0
0
1
0.25
false
0.25
0.083333
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
ad6590315d55b60e690de7c534467442fd8eb34a
253
py
Python
servis/admin.py
babinho/djangodev
837a8d122b7fa7b471e982658f8d59860630ef19
[ "CC0-1.0" ]
null
null
null
servis/admin.py
babinho/djangodev
837a8d122b7fa7b471e982658f8d59860630ef19
[ "CC0-1.0" ]
null
null
null
servis/admin.py
babinho/djangodev
837a8d122b7fa7b471e982658f8d59860630ef19
[ "CC0-1.0" ]
null
null
null
from django.contrib import admin from .models import * # Register your models here. admin.site.register(Nalog) admin.site.register(Status) admin.site.register(Vrsta) admin.site.register(Marka) admin.site.register(Akcija) admin.site.register(Kupac)
16.866667
32
0.790514
36
253
5.555556
0.444444
0.27
0.51
0
0
0
0
0
0
0
0
0
0.094862
253
14
33
18.071429
0.873362
0.102767
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
ad6cb2f2e18c1d29ac7e13576d20c26a267479ef
313
py
Python
pyvlova/poly/schedule_tree/__init__.py
ModelTC/pyvlova
080437c80bd995776507f5c9f4975a0420391cb0
[ "Apache-2.0" ]
1
2021-11-11T03:11:49.000Z
2021-11-11T03:11:49.000Z
pyvlova/poly/schedule_tree/__init__.py
ModelTC/pyvlova
080437c80bd995776507f5c9f4975a0420391cb0
[ "Apache-2.0" ]
null
null
null
pyvlova/poly/schedule_tree/__init__.py
ModelTC/pyvlova
080437c80bd995776507f5c9f4975a0420391cb0
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Jiang Shenghu # SPDX-License-Identifier: Apache-2.0 from .node import Node, NodeTypes, NodeWithSingleChild, \ BandNode, ExpansionNode, ExtensionNode, GuardNode, \ ContextNode, FilterNode, DomainNode, MarkNode, SetNode, \ SequenceNode, to_isl_style_yaml from .tree import ScheduleTree
39.125
61
0.779553
34
313
7.088235
0.911765
0
0
0
0
0
0
0
0
0
0
0.022305
0.140575
313
7
62
44.714286
0.873606
0.204473
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
ad6e865285b5bc2cd4ad4b4b5a7d30e4f6f30edd
290
py
Python
Logic-1/love6.py
SleepNoMore/CodingBat
de49348a2d125f46635a936dad2818bcb63a7f05
[ "MIT" ]
null
null
null
Logic-1/love6.py
SleepNoMore/CodingBat
de49348a2d125f46635a936dad2818bcb63a7f05
[ "MIT" ]
null
null
null
Logic-1/love6.py
SleepNoMore/CodingBat
de49348a2d125f46635a936dad2818bcb63a7f05
[ "MIT" ]
null
null
null
''' The number 6 is a truly great number. Given two int values, a and b, return True if either one is 6. Or if their sum or difference is 6. ''' def love6(a, b): return a == 6 or b == 6 or a + b == 6 or abs(a - b) == 6 # love6(6, 4) → True # love6(4, 5) → False # love6(1, 5) → True
20.714286
62
0.589655
64
290
2.71875
0.46875
0.068966
0.045977
0
0
0
0
0
0
0
0
0.079812
0.265517
290
13
63
22.307692
0.723005
0.672414
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0.5
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ad7e8b566cbdc9cd480267d3ef3d39821f5398c2
466
py
Python
kblocks/extras/callbacks/__init__.py
SamuelMarks/kblocks
461705c6e89d3ae1c2d3ee90e27c580e683062a9
[ "MIT" ]
null
null
null
kblocks/extras/callbacks/__init__.py
SamuelMarks/kblocks
461705c6e89d3ae1c2d3ee90e27c580e683062a9
[ "MIT" ]
1
2020-12-20T01:50:52.000Z
2020-12-20T01:50:52.000Z
kblocks/extras/callbacks/__init__.py
SamuelMarks/kblocks
461705c6e89d3ae1c2d3ee90e27c580e683062a9
[ "MIT" ]
1
2020-12-18T03:16:57.000Z
2020-12-18T03:16:57.000Z
from .backup import BackupAndRestore from .logger import AbslLogger, LearningRateLogger, PrintLogger, YamlLogger from .modules import EarlyStoppingModule, ReduceLROnPlateauModule, get from .seeder import GeneratorSeeder, GlobalSeeder __all__ = [ "AbslLogger", "LearningRateLogger", "PrintLogger", "YamlL...
25.888889
75
0.742489
33
466
10.363636
0.515152
0.163743
0.22807
0.28655
0
0
0
0
0
0
0
0
0.165236
466
17
76
27.411765
0.879177
0
0
0
0
0
0.293991
0.049356
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
1
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ad829af25b8670fe5258b7dae7238830d76c828d
3,147
py
Python
src/unshell/test_cli.py
romainPrignon/unshellPy
4ae1a98661407dee788a2b304af32fbe46f2ce82
[ "MIT" ]
null
null
null
src/unshell/test_cli.py
romainPrignon/unshellPy
4ae1a98661407dee788a2b304af32fbe46f2ce82
[ "MIT" ]
null
null
null
src/unshell/test_cli.py
romainPrignon/unshellPy
4ae1a98661407dee788a2b304af32fbe46f2ce82
[ "MIT" ]
null
null
null
import unittest import os from unittest.mock import patch, call, Mock # test from .cli import cli from .utils import colors class TestCli(unittest.TestCase): @patch('builtins.print') def test_cli_should_display_help_on_help_command(self, print_mock: Mock) -> None: # given argv = ['cli.py', '...
26.445378
93
0.586273
381
3,147
4.595801
0.215223
0.071959
0.059395
0.083952
0.713878
0.713878
0.711593
0.684752
0.676756
0.656768
0
0
0.298379
3,147
118
94
26.669492
0.790308
0.033683
0
0.453333
0
0
0.204636
0.040066
0
0
0
0
0.093333
1
0.093333
false
0
0.066667
0
0.173333
0.28
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
ad8e6fe74cb698a53613db15649600d6d6f00b45
36
py
Python
pyouroboros/__init__.py
russandol-sarl/ouroboros
44a490212658a567335a17e05d8b13ebd9cf12c0
[ "MIT" ]
null
null
null
pyouroboros/__init__.py
russandol-sarl/ouroboros
44a490212658a567335a17e05d8b13ebd9cf12c0
[ "MIT" ]
null
null
null
pyouroboros/__init__.py
russandol-sarl/ouroboros
44a490212658a567335a17e05d8b13ebd9cf12c0
[ "MIT" ]
null
null
null
VERSION = "1.5.0" BRANCH = "master"
12
17
0.611111
6
36
3.666667
1
0
0
0
0
0
0
0
0
0
0
0.1
0.166667
36
2
18
18
0.633333
0
0
0
0
0
0.305556
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ad92b71156d44d14a3870a5a712c8079f334f0e9
1,081
py
Python
time/test_strftime.py
Carglglz/micropython-lib
07102c56aa1087b97ee313cedc1d89fd20452e11
[ "PSF-2.0" ]
126
2019-07-19T14:42:41.000Z
2022-03-21T22:22:19.000Z
time/test_strftime.py
Carglglz/micropython-lib
07102c56aa1087b97ee313cedc1d89fd20452e11
[ "PSF-2.0" ]
38
2019-08-28T01:46:31.000Z
2022-03-17T05:46:51.000Z
time/test_strftime.py
Carglglz/micropython-lib
07102c56aa1087b97ee313cedc1d89fd20452e11
[ "PSF-2.0" ]
55
2019-08-02T09:32:33.000Z
2021-12-22T11:25:51.000Z
from time import strftime # These tuples were generated using localtime() and gmtime() in CPython. INPUT = ( (2017, 1, 1, 23, 40, 39, 6, 222, 1), (2010, 2, 28, 9, 59, 60, 1, 111, 0), (2000, 3, 31, 1, 33, 0, 2, 44, 1), (2020, 4, 30, 21, 22, 59, 3, 234, 0), (1977, 5, 15, 23, 55, 1, 4, 123,...
29.216216
72
0.513414
162
1,081
3.425926
0.567901
0.046847
0.064865
0
0
0
0
0
0
0
0
0.463694
0.273821
1,081
36
73
30.027778
0.243312
0.117484
0
0
1
0
0.189274
0
0
0
0
0
0.032258
1
0
false
0
0.032258
0
0.032258
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ad9aeb8c6c33a31ceec57d719c36054332cb98c6
276
py
Python
setup.py
fletchgraham/image_processor
a55b83c8aa20d3318d7803b3654a04fb138ec343
[ "MIT" ]
null
null
null
setup.py
fletchgraham/image_processor
a55b83c8aa20d3318d7803b3654a04fb138ec343
[ "MIT" ]
null
null
null
setup.py
fletchgraham/image_processor
a55b83c8aa20d3318d7803b3654a04fb138ec343
[ "MIT" ]
null
null
null
from setuptools import setup setup( name = 'image_processor', version = '0.2.0', py_modules = ['image_processor', 'imgp'], install_requires=['Pillow'], entry_points = { 'console_scripts': [ 'img = image_processor:main' ] })
23
45
0.576087
28
276
5.428571
0.785714
0.276316
0
0
0
0
0
0
0
0
0
0.015152
0.282609
276
11
46
25.090909
0.752525
0
0
0
0
0
0.311594
0
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
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
d10854302e29707429c9e7d2bc38f82e3392502a
207
py
Python
ex029.py
raquelEllem/exerciciosPython
489c2360de84c69dbe9da7710660fb064cd605fa
[ "MIT" ]
null
null
null
ex029.py
raquelEllem/exerciciosPython
489c2360de84c69dbe9da7710660fb064cd605fa
[ "MIT" ]
null
null
null
ex029.py
raquelEllem/exerciciosPython
489c2360de84c69dbe9da7710660fb064cd605fa
[ "MIT" ]
null
null
null
velocidade = float(input('Digite a velocidade: ')) if velocidade > 80: print('Você foi multado!') multa = velocidade - 80 print('O valor a ser pago é de R${}'.format(multa * 7)) print('--FIM--')
29.571429
59
0.628019
30
207
4.333333
0.733333
0.184615
0.261538
0
0
0
0
0
0
0
0
0.03012
0.198068
207
6
60
34.5
0.753012
0
0
0
0
0
0.352657
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
0
1
0
3
d12f5ebab55b36be76f203257d37863118d7f014
135
py
Python
codes/day08/04-try-except.py
Youngfellows/HPyBaseCode
94d11872795d85b8c4387b650e82edcd20da0667
[ "Apache-2.0" ]
null
null
null
codes/day08/04-try-except.py
Youngfellows/HPyBaseCode
94d11872795d85b8c4387b650e82edcd20da0667
[ "Apache-2.0" ]
null
null
null
codes/day08/04-try-except.py
Youngfellows/HPyBaseCode
94d11872795d85b8c4387b650e82edcd20da0667
[ "Apache-2.0" ]
null
null
null
try: # print(abc) open("abc.txt") except NameError: print("没有定义变量。。。。。") except FileNotFoundError: print("没有文件.....")
13.5
25
0.585185
14
135
5.642857
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.2
135
9
26
15
0.731481
0.074074
0
0
0
0
0.225
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
d141929b4d1dead144643deac5ecb420cd7a6256
582
py
Python
maskpass/__main__.py
FuturisticGoo/maskpass
4c1da2f0023be7159f3dd6f3818ba934db9b4e98
[ "MIT" ]
1
2020-12-01T13:14:38.000Z
2020-12-01T13:14:38.000Z
maskpass/__main__.py
FuturisticGoo/maskpass
4c1da2f0023be7159f3dd6f3818ba934db9b4e98
[ "MIT" ]
1
2021-01-04T14:51:36.000Z
2021-02-02T15:31:12.000Z
maskpass/__main__.py
FuturisticGoo/maskpass
4c1da2f0023be7159f3dd6f3818ba934db9b4e98
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Simple example usage of the module maskpass """ import maskpass print("Password input using getch (limited features).") print("Entered password is", maskpass.askpass(mask="*"), end="\n\n") print("Now without any echo (like in Unix).") print("Password is", maskpass.askpass(mask=""), end="\...
34.235294
78
0.706186
85
582
4.835294
0.529412
0.097324
0.175182
0.121655
0.384428
0.384428
0.384428
0.20438
0.20438
0.20438
0
0.001965
0.12543
582
16
79
36.375
0.805501
0.113402
0
0
0
0
0.557087
0
0
0
0
0
0
1
0
true
0.777778
0.111111
0
0.111111
0.888889
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
1
0
3
d144648f2e011e82ca8474332f4c99c11fe0282a
428
py
Python
v1.0.0.test/toontown/safezone/TTBPlayground.py
TTOFFLINE-LEAK/ttoffline
bb0e91704a755d34983e94288d50288e46b68380
[ "MIT" ]
4
2019-07-01T15:46:43.000Z
2021-07-23T16:26:48.000Z
v1.0.0.test/toontown/safezone/TTBPlayground.py
TTOFFLINE-LEAK/ttoffline
bb0e91704a755d34983e94288d50288e46b68380
[ "MIT" ]
1
2019-06-29T03:40:05.000Z
2021-06-13T01:15:16.000Z
v1.0.0.test/toontown/safezone/TTBPlayground.py
TTOFFLINE-LEAK/ttoffline
bb0e91704a755d34983e94288d50288e46b68380
[ "MIT" ]
4
2019-07-28T21:18:46.000Z
2021-02-25T06:37:25.000Z
import Playground class TTBPlayground(Playground.Playground): def __init__(self, loader, parentFSM, doneEvent): Playground.Playground.__init__(self, loader, parentFSM, doneEvent) self.parentFSM = parentFSM def showPaths(self): from toontown.classicchars import CCharPaths from ...
35.666667
74
0.742991
42
428
7.380952
0.5
0.129032
0.090323
0.148387
0.206452
0
0
0
0
0
0
0.002857
0.182243
428
12
75
35.666667
0.882857
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
d15ce1cd65a9c07235c03d1e927288736b6069f7
182
py
Python
data_structures/array/pivot_index.py
FatiahBalo/python-ds
9eb88425822b6da4d7bd673a124c13fbe6f17523
[ "MIT" ]
1,723
2019-07-30T07:06:22.000Z
2022-03-31T15:22:22.000Z
data_structures/array/pivot_index.py
FatiahBalo/python-ds
9eb88425822b6da4d7bd673a124c13fbe6f17523
[ "MIT" ]
213
2019-10-06T08:07:47.000Z
2021-10-04T15:38:36.000Z
data_structures/array/pivot_index.py
FatiahBalo/python-ds
9eb88425822b6da4d7bd673a124c13fbe6f17523
[ "MIT" ]
628
2019-10-06T10:26:25.000Z
2022-03-31T01:41:00.000Z
def pivot(arr): s = sum(arr) left_sum = 0 for i, x in enumerate(arr): if left_sum == (s - x - left_sum): return i left_sum += x return -1
20.222222
42
0.489011
29
182
2.931034
0.517241
0.329412
0
0
0
0
0
0
0
0
0
0.018182
0.395604
182
8
43
22.75
0.754545
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.375
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
d162b30e986d4930e9ca646edb036e8dd21dc3fe
2,362
py
Python
src/main.py
nsde/lixnet
bc669efdc2e9832afcf5ccfeef452472bd133332
[ "MIT" ]
1
2021-12-04T17:06:04.000Z
2021-12-04T17:06:04.000Z
src/main.py
nsde/lixnet
bc669efdc2e9832afcf5ccfeef452472bd133332
[ "MIT" ]
null
null
null
src/main.py
nsde/lixnet
bc669efdc2e9832afcf5ccfeef452472bd133332
[ "MIT" ]
null
null
null
import accounts import re import flask app = flask.Flask(__name__) @app.route('/') def index(): return flask.render_template('index.html') @app.route('/home') def home(): return flask.render_template('home.html') @app.route('/signup', methods=['GET', 'POST']) def signup(): if flask.request.method == 'G...
34.735294
128
0.65834
320
2,362
4.725
0.240625
0.116402
0.179894
0.26455
0.60119
0.568783
0.555556
0.505291
0.349868
0.071429
0
0.009457
0.14945
2,362
68
129
34.735294
0.743156
0
0
0.148936
0
0
0.287347
0.026238
0
0
0
0
0
1
0.12766
false
0.148936
0.06383
0.085106
0.531915
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
d1658cf76dbd7f314e22a2cc8353e501b4944a7a
365
py
Python
app/views.py
callofdutyops/cnc-monitoring
cd18ce238d6f9a1435541159ea4b2e4d3dd94dd6
[ "MIT" ]
null
null
null
app/views.py
callofdutyops/cnc-monitoring
cd18ce238d6f9a1435541159ea4b2e4d3dd94dd6
[ "MIT" ]
null
null
null
app/views.py
callofdutyops/cnc-monitoring
cd18ce238d6f9a1435541159ea4b2e4d3dd94dd6
[ "MIT" ]
null
null
null
from django.shortcuts import render, redirect from .models import CNC def index(request): return redirect('overview') def details(request, pk): cnc = CNC.objects.get(pk=pk) return render(request, 'app/details.html', {'cnc': cnc}) def overview(request): cncs = CNC.objects.all() return render(r...
20.277778
63
0.684932
49
365
5.102041
0.428571
0.048
0.152
0.176
0
0
0
0
0
0
0
0
0.167123
365
17
64
21.470588
0.822368
0
0
0
0
0
0.131507
0
0
0
0
0
0
1
0.3
false
0
0.2
0.1
0.8
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
0f04ee88f994de880f4c69db0ede076c6dd9ee80
71,891
py
Python
vnpy_tora/api/stock/xmdapi.py
vnpy/vnpy_tora
73599c18094df277e9e44aad81a85348daf712e4
[ "MIT" ]
1
2022-03-23T15:27:50.000Z
2022-03-23T15:27:50.000Z
vnpy_tora/api/stock/xmdapi.py
vnpy/vnpy_tora
73599c18094df277e9e44aad81a85348daf712e4
[ "MIT" ]
1
2021-11-15T06:02:49.000Z
2021-12-05T12:06:15.000Z
vnpy_tora/api/stock/xmdapi.py
vnpy/vnpy_tora
73599c18094df277e9e44aad81a85348daf712e4
[ "MIT" ]
5
2021-11-03T02:39:13.000Z
2022-02-09T05:46:17.000Z
# This file was automatically generated by SWIG (http://www.swig.org). # Version 4.0.2 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info as _swig_python_version_info if _swig_python_version_info < (2, 7, 0): raise Runtime...
73.433095
182
0.859037
6,016
71,891
9.762633
0.093085
0.067221
0.015937
0.017708
0.18266
0.109668
0.046704
0.041868
0.036437
0.036437
0
0.004327
0.087035
71,891
978
183
73.50818
0.890514
0.020573
0
0.102865
1
0
0.008498
0
0
0
0
0
0
1
0.165365
false
0.00651
0.009115
0.127604
0.791667
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
0f09dc525e26123755db525eac550d68e8c5a3e4
207
py
Python
portfolio/forms.py
ken1800/Blog
7b2c9266f1bc6c05dd99bf9ce6a5c34313aa5495
[ "MIT" ]
2
2019-08-22T15:30:37.000Z
2019-08-29T16:22:53.000Z
portfolio/forms.py
ken1800/Blog
7b2c9266f1bc6c05dd99bf9ce6a5c34313aa5495
[ "MIT" ]
null
null
null
portfolio/forms.py
ken1800/Blog
7b2c9266f1bc6c05dd99bf9ce6a5c34313aa5495
[ "MIT" ]
null
null
null
from django.forms import ModelForm class ContactForm(ModelForm): class Meta: #from . import models # model = models.Contact fields =['names','email','number','subject','text']
18.818182
59
0.63285
22
207
5.954545
0.772727
0.21374
0
0
0
0
0
0
0
0
0
0
0.236715
207
10
60
20.7
0.829114
0.207729
0
0
0
0
0.16875
0
0
0
0
0
0
1
0
false
0
0.25
0
0.75
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
0f117ba56e906c26a6b2359dddc2b7a73b13e26e
303
py
Python
tests/unit/lms/views/test_ui_playground.py
mattdricker/lms
40b8a04f95e69258c6c0d7ada543f4b527918ecf
[ "BSD-2-Clause" ]
null
null
null
tests/unit/lms/views/test_ui_playground.py
mattdricker/lms
40b8a04f95e69258c6c0d7ada543f4b527918ecf
[ "BSD-2-Clause" ]
null
null
null
tests/unit/lms/views/test_ui_playground.py
mattdricker/lms
40b8a04f95e69258c6c0d7ada543f4b527918ecf
[ "BSD-2-Clause" ]
null
null
null
from lms.views import ui_playground def test_ui_playground(pyramid_request): response = ui_playground.ui_playground(pyramid_request) assert response == {} def test_not_found_view(pyramid_request): response = ui_playground.notfound(pyramid_request) assert response.status_code == 404
25.25
59
0.788779
39
303
5.769231
0.487179
0.266667
0.168889
0.231111
0.302222
0
0
0
0
0
0
0.011494
0.138614
303
11
60
27.545455
0.850575
0
0
0
0
0
0
0
0
0
0
0
0.285714
1
0.285714
false
0
0.142857
0
0.428571
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
0f2110fe2a5c2a18715a941c83b81ee45eb98923
320
py
Python
udacity course code/01-03-numpyarrayattributes.py
bluemurder/mlfl
b895b2f1d01b0f6418a5bcee2f204dd7916062f0
[ "MIT" ]
1
2021-03-22T22:25:54.000Z
2021-03-22T22:25:54.000Z
udacity course code/01-03-numpyarrayattributes.py
bluemurder/mlfl
b895b2f1d01b0f6418a5bcee2f204dd7916062f0
[ "MIT" ]
6
2017-01-16T09:53:21.000Z
2017-01-18T12:20:09.000Z
udacity course code/01-03-numpyarrayattributes.py
bluemurder/mlfl
b895b2f1d01b0f6418a5bcee2f204dd7916062f0
[ "MIT" ]
null
null
null
"""Array attributes.""" import numpy as np def test_run(): # Generate an array full of random numbers, uniformly distributed from [0.0, 1.0) a = np.random.random((5, 4)) print a print a.shape print len(a,shape) print a.size print a.dtype if __name__ == "__main__": test_run()
18.823529
85
0.61875
49
320
3.836735
0.632653
0.12766
0.117021
0
0
0
0
0
0
0
0
0.025424
0.2625
320
16
86
20
0.771186
0.246875
0
0
1
0
0.037037
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.5
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
1
0
0
0
0
0
0
1
0
3
0f331b81a2c638db0bec8077a27f8a0848861b8f
77
py
Python
sandbox/basicProgram.py
christopher-chandler/Pythonpourlescurieux
41b82a91c259a11135c5abcc2c9cec22ee155fa6
[ "MIT" ]
1
2022-03-25T12:51:20.000Z
2022-03-25T12:51:20.000Z
sandbox/basicProgram.py
christopher-chandler/Pythonpourlescurieux
41b82a91c259a11135c5abcc2c9cec22ee155fa6
[ "MIT" ]
null
null
null
sandbox/basicProgram.py
christopher-chandler/Pythonpourlescurieux
41b82a91c259a11135c5abcc2c9cec22ee155fa6
[ "MIT" ]
null
null
null
import simple_functions res = simple_functions.add(2, 4) print(res)
5.923077
32
0.701299
11
77
4.727273
0.727273
0.576923
0
0
0
0
0
0
0
0
0
0.032787
0.207792
77
12
33
6.416667
0.819672
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0f362fabc1a7c33c3eb9eeb3d6ea2d8690ba530a
212
py
Python
danceschool/news/views.py
benjwrdill/django-danceschool
9ecb2754502e62d0f49aa23d08ca6de6cae3c99a
[ "BSD-3-Clause" ]
1
2019-02-04T02:11:32.000Z
2019-02-04T02:11:32.000Z
danceschool/news/views.py
benjwrdill/django-danceschool
9ecb2754502e62d0f49aa23d08ca6de6cae3c99a
[ "BSD-3-Clause" ]
2
2019-03-26T22:37:49.000Z
2019-12-02T15:39:35.000Z
danceschool/news/views.py
benjwrdill/django-danceschool
9ecb2754502e62d0f49aa23d08ca6de6cae3c99a
[ "BSD-3-Clause" ]
1
2019-03-19T22:49:01.000Z
2019-03-19T22:49:01.000Z
from django.views.generic import ListView from .models import NewsItem class NewsView(ListView): queryset = NewsItem.objects.all() paginate_by = 5 template_name = 'news/news_listing.html'
21.2
45
0.716981
26
212
5.730769
0.807692
0
0
0
0
0
0
0
0
0
0
0.005917
0.20283
212
9
46
23.555556
0.87574
0
0
0
0
0
0.108374
0.108374
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
0f3e297667c4696e7941a4209b9b29f7b4364096
853
py
Python
setup.py
asev/py-uponor-jnap
a3fbc842bcfc4833bb4eb13945f3088d9d470317
[ "MIT" ]
1
2020-11-26T16:12:16.000Z
2020-11-26T16:12:16.000Z
setup.py
asev/py-uponor-jnap
a3fbc842bcfc4833bb4eb13945f3088d9d470317
[ "MIT" ]
1
2021-09-17T17:50:15.000Z
2021-09-17T17:50:15.000Z
setup.py
asev/py-uponor-jnap
a3fbc842bcfc4833bb4eb13945f3088d9d470317
[ "MIT" ]
2
2020-12-12T20:21:54.000Z
2021-02-07T20:54:24.000Z
from distutils.core import setup setup( name='UponorJnap', packages=['UponorJnap'], version='0.1', license='MIT', description='Library for communication with Uponor X-265', author='asev', author_email='pypi@sev.lt', url='https://github.com/asev', download_url='https://github.com/ase...
32.807692
77
0.610785
93
853
5.569892
0.677419
0.146718
0.19305
0.200772
0.081081
0
0
0
0
0
0
0.022659
0.223916
853
25
78
34.12
0.759819
0
0
0
0
0.041667
0.565064
0
0
0
0
0
0
1
0
true
0
0.041667
0
0.041667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
0f52770021c81bb9e30cc85e5d91c8f1b368184d
598
py
Python
tensorflow_1_x/7_kaggle/learntools/core/constants.py
amitbcp/machine_learning_with_Scikit_Learn_and_TensorFlow
37dda063e316503d53ac45f3b104a5cf1aaa4d78
[ "MIT" ]
11
2019-12-19T08:55:52.000Z
2021-10-01T13:07:13.000Z
tensorflow_1_x/7_kaggle/learntools/core/constants.py
amitbcp/Scikit_Learn_TensorFlow_Examples
37dda063e316503d53ac45f3b104a5cf1aaa4d78
[ "MIT" ]
5
2019-10-09T01:41:19.000Z
2022-02-10T00:19:01.000Z
tensorflow_1_x/7_kaggle/learntools/core/constants.py
amitbcp/Scikit_Learn_TensorFlow_Examples
37dda063e316503d53ac45f3b104a5cf1aaa4d78
[ "MIT" ]
7
2019-10-08T06:10:14.000Z
2020-12-01T07:49:21.000Z
class PlaceholderValue(object): def __eq__(self, other): return isinstance(other, PlaceholderValue) def _repr_markdown_(self): """This returns the empty string. Some questions' starter code cell will look like: foo = ____ q1.check() foo i.e. we want...
31.473684
91
0.64214
75
598
4.973333
0.733333
0.058981
0
0
0
0
0
0
0
0
0
0.00237
0.294314
598
18
92
33.222222
0.881517
0.548495
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.166667
0.833333
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
0f576d9d6c1b529b48c19d300821a355804cd4f9
116
py
Python
upload/urls.py
AStogov/LostAndFound
5769dd712c834cf65aa85eadac236de1550de5f9
[ "Apache-2.0" ]
1
2020-04-08T12:56:17.000Z
2020-04-08T12:56:17.000Z
upload/urls.py
AStogov/LostAndFound
5769dd712c834cf65aa85eadac236de1550de5f9
[ "Apache-2.0" ]
1
2020-06-08T05:42:45.000Z
2020-06-08T05:42:45.000Z
upload/urls.py
AStogov/LostAndFound
5769dd712c834cf65aa85eadac236de1550de5f9
[ "Apache-2.0" ]
null
null
null
from django.conf.urls import url from upload import views urlpatterns = [ url(r'^itemImg$', views.itemImg), ]
14.5
37
0.706897
16
116
5.125
0.6875
0
0
0
0
0
0
0
0
0
0
0
0.172414
116
7
38
16.571429
0.854167
0
0
0
0
0
0.077586
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
0f82b392f424517d2747b89277df1e7b75d20d1d
215
py
Python
backend/rethinkdb_tools/helper.py
al-indigo/vmemperor
80eb6d47d839a4736eb6f9d2fcfad35f0a7b3bb1
[ "Apache-2.0" ]
1
2019-02-02T15:01:32.000Z
2019-02-02T15:01:32.000Z
rethinkdb_tools/helper.py
pashazz/vmemperor
a0b53f67d75cccbd8e1e6a0419d85babab7041f5
[ "Apache-2.0" ]
8
2017-10-11T13:26:10.000Z
2021-12-13T20:27:52.000Z
rethinkdb_tools/helper.py
pashazz/vmemperor
a0b53f67d75cccbd8e1e6a0419d85babab7041f5
[ "Apache-2.0" ]
4
2017-07-27T12:25:42.000Z
2018-01-28T02:06:26.000Z
def CHECK_ER(ret): if ret['errors']: raise ValueError(f'Failed to modify data: {ret["first_error"]}') if ret['skipped']: raise ValueError(f'Failed to modify data: skipped - {ret["skipped"]}')
43
78
0.632558
30
215
4.466667
0.533333
0.074627
0.238806
0.328358
0.507463
0.507463
0.507463
0
0
0
0
0
0.2
215
5
78
43
0.77907
0
0
0
0
0
0.486111
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7e1cfe55048c3d31472a45c15a54d4880528e398
729
py
Python
nbdev_pubtest/_nbdev.py
MNM-LU/nbdev_pubtest
7f0b43a8f9c1f9200a220e7ca7c5c41dfa1b109f
[ "Apache-2.0" ]
null
null
null
nbdev_pubtest/_nbdev.py
MNM-LU/nbdev_pubtest
7f0b43a8f9c1f9200a220e7ca7c5c41dfa1b109f
[ "Apache-2.0" ]
2
2021-09-28T05:31:27.000Z
2022-02-26T09:54:53.000Z
nbdev_pubtest/_nbdev.py
MNM-LU/nbdev_pubtest
7f0b43a8f9c1f9200a220e7ca7c5c41dfa1b109f
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED BY NBDEV! DO NOT EDIT! __all__ = ["index", "modules", "custom_doc_links", "git_url"] index = {"linandFile": "00_core.ipynb", "ligandList": "00_core.ipynb", "human_ligandList": "00_core.ipynb", "mouse_ligandList": "00_core.ipynb", "mainSpec_ligandList": "00_core.ipyn...
31.695652
64
0.647462
95
729
4.621053
0.442105
0.136674
0.250569
0.23918
0.100228
0
0
0
0
0
0
0.03367
0.185185
729
22
65
33.136364
0.705387
0.049383
0
0
1
0
0.587554
0
0
0
0
0
0
1
0.066667
false
0
0
0.066667
0.066667
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
7e1d72a42123d342ba2196f3e07221caa723e8c2
605
py
Python
tests/test_threading.py
datosgobar/pydatajson
f26e3d5928ce9d455485e03fa63a8d8741588b7a
[ "MIT" ]
13
2017-05-17T13:33:43.000Z
2021-08-10T18:42:59.000Z
tests/test_threading.py
datosgobar/pydatajson
f26e3d5928ce9d455485e03fa63a8d8741588b7a
[ "MIT" ]
296
2016-11-29T14:01:09.000Z
2020-10-27T22:42:26.000Z
tests/test_threading.py
datosgobar/pydatajson
f26e3d5928ce9d455485e03fa63a8d8741588b7a
[ "MIT" ]
11
2017-07-06T17:02:31.000Z
2021-07-19T14:46:51.000Z
# -*- coding: utf-8 -*- from unittest import TestCase from pydatajson.threading_helper import apply_threading class ThreadingTests(TestCase): def test_threading(self): elements = [1, 2, 3, 4] def function(x): return x ** 2 result = apply_threading(elements, function, 3) ...
22.407407
70
0.606612
72
605
5
0.513889
0.116667
0.072222
0.077778
0.083333
0
0
0
0
0
0
0.04157
0.284298
605
26
71
23.269231
0.789838
0.06281
0
0
0
0
0
0
0
0
0
0
0.133333
1
0.266667
false
0
0.133333
0.133333
0.6
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
7e2707923850b704cc0bc828a86ce40cfb5671ce
65,166
py
Python
trustlab/lab/scenarios/ConTED_ICWE22/scaleA_10_scenario.py
ValentinSiegert/aTLAS
a2e7521447f81add83a0c958d61846a1cbfbbe9c
[ "MIT" ]
null
null
null
trustlab/lab/scenarios/ConTED_ICWE22/scaleA_10_scenario.py
ValentinSiegert/aTLAS
a2e7521447f81add83a0c958d61846a1cbfbbe9c
[ "MIT" ]
null
null
null
trustlab/lab/scenarios/ConTED_ICWE22/scaleA_10_scenario.py
ValentinSiegert/aTLAS
a2e7521447f81add83a0c958d61846a1cbfbbe9c
[ "MIT" ]
null
null
null
NAME = 'Test Run A 10' DESCRIPTION = 'Randomly generated scenario with 10 agents and 10 observations' AGENTS = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J'] OBSERVATIONS = [{'authors': ['F'], 'before': [], 'details': {'content_trust.bias': 0.7050885713620147, 'content_trust.context_level': 'criti...
59.950322
89
0.507366
4,856
65,166
6.680601
0.19131
0.134644
0.01942
0.020345
0.365248
0.296662
0.25141
0.179248
0.177029
0.120465
0
0.379648
0.36318
65,166
1,086
90
60.005525
0.402082
0
0
0.211307
1
0
0.335026
0.223586
0
0
0
0
0
1
0
false
0
0.010195
0
0.010195
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7e2a45e80db7612dfdc8a2b0d5b6877316381727
1,673
py
Python
plugin/OpenUriCommands.py
jfcherng-sublime/ST-OpenUri
43627ed1dcb8ddbf43983db14df9a8c989a4d289
[ "MIT" ]
10
2020-09-17T12:57:21.000Z
2022-03-24T14:43:59.000Z
plugin/OpenUriCommands.py
jfcherng-sublime/ST-OpenUri
43627ed1dcb8ddbf43983db14df9a8c989a4d289
[ "MIT" ]
5
2020-06-14T13:25:08.000Z
2022-02-23T06:59:58.000Z
plugin/OpenUriCommands.py
jfcherng-sublime/ST-OpenUri
43627ed1dcb8ddbf43983db14df9a8c989a4d289
[ "MIT" ]
1
2021-03-30T14:44:43.000Z
2021-03-30T14:44:43.000Z
from .helpers.functions import find_uri_regions_by_region from .helpers.functions import find_uri_regions_by_regions from .helpers.functions import open_uri_with_browser from .helpers.settings import get_setting import sublime import sublime_plugin class OpenUriFromCursorsCommand(sublime_plugin.TextCommand): def ...
34.142857
106
0.678422
213
1,673
5.061033
0.211268
0.081633
0.077922
0.089054
0.796846
0.784787
0.749536
0.729128
0.630798
0.576994
0
0.001526
0.216378
1,673
48
107
34.854167
0.820748
0
0
0.555556
0
0
0.040646
0
0
0
0
0
0
1
0.111111
false
0
0.166667
0
0.388889
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
7e2cb0c10c9508b2cb19a2606c841e2e90f55880
35
py
Python
mepo.d/utest/input/args.py
GEOS-ESM/mepo
41c20c286e7a9a11995f48fb5f3036e469d935e6
[ "NASA-1.3", "ECL-2.0", "Apache-2.0" ]
null
null
null
mepo.d/utest/input/args.py
GEOS-ESM/mepo
41c20c286e7a9a11995f48fb5f3036e469d935e6
[ "NASA-1.3", "ECL-2.0", "Apache-2.0" ]
61
2020-01-08T20:01:16.000Z
2022-03-24T19:44:38.000Z
mepo.d/utest/input/args.py
GEOS-ESM/mepo
41c20c286e7a9a11995f48fb5f3036e469d935e6
[ "NASA-1.3", "ECL-2.0", "Apache-2.0" ]
2
2020-02-28T14:29:12.000Z
2020-07-08T15:56:55.000Z
config_file = None allrepos = None
11.666667
18
0.771429
5
35
5.2
0.8
0
0
0
0
0
0
0
0
0
0
0
0.171429
35
2
19
17.5
0.896552
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7e36a93ea4ecfc0b32115748cdc59799f9d6c7fc
231
py
Python
finished/edabit/very_easy/last_element_list.py
UltiRequiem/daily-python-practice
31f72c45378be90b8fcadd30d7042819ee551a17
[ "MIT" ]
8
2021-05-29T23:30:12.000Z
2021-09-24T03:25:44.000Z
finished/edabit/very_easy/last_element_list.py
UltiRequiem/daily-python-practice
31f72c45378be90b8fcadd30d7042819ee551a17
[ "MIT" ]
null
null
null
finished/edabit/very_easy/last_element_list.py
UltiRequiem/daily-python-practice
31f72c45378be90b8fcadd30d7042819ee551a17
[ "MIT" ]
6
2021-06-02T14:20:24.000Z
2021-08-19T00:49:26.000Z
# Returns the last item in the list WORDS = ("cat", "dog", "duck") def get_last_item(lst: tuple or list): return lst[-1] # get_last_item_lambda = lambda l: l[-1] if __name__ == "__main__": print(get_last_item(WORDS))
16.5
40
0.658009
38
231
3.605263
0.605263
0.233577
0.240876
0
0
0
0
0
0
0
0
0.010753
0.194805
231
13
41
17.769231
0.725806
0.311688
0
0
0
0
0.115385
0
0
0
0
0
0
1
0.2
false
0
0
0.2
0.4
0.2
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
1
0
0
0
3
7e55999c3b17f8975448da49765229c645f77254
198
py
Python
1c. beginner_path_3_How to Think Like a Computer Scientist Learning with Python 3/thinkcs-python3-solutions/Chapter 13/E2.py
codeclubbentleigh/Python
94d6a937aa3520b201ee1641c2009bd90566d52a
[ "MIT" ]
12
2018-11-14T03:55:58.000Z
2021-12-12T01:13:05.000Z
1c. beginner_path_3_How to Think Like a Computer Scientist Learning with Python 3/thinkcs-python3-solutions/Chapter 13/E2.py
codeclubbentleigh/Python
94d6a937aa3520b201ee1641c2009bd90566d52a
[ "MIT" ]
null
null
null
1c. beginner_path_3_How to Think Like a Computer Scientist Learning with Python 3/thinkcs-python3-solutions/Chapter 13/E2.py
codeclubbentleigh/Python
94d6a937aa3520b201ee1641c2009bd90566d52a
[ "MIT" ]
7
2019-10-10T06:28:58.000Z
2022-02-15T07:18:12.000Z
reader = open("test.txt", "r") while 1: tempstr = reader.readline() if tempstr.find("snake") > -1: continue if len(tempstr) == 0: break print(tempstr) reader.close()
19.8
34
0.570707
25
198
4.52
0.72
0.230089
0
0
0
0
0
0
0
0
0
0.02069
0.267677
198
9
35
22
0.758621
0
0
0
0
0
0.070707
0
0
0
0
0
0
1
0
false
0
0
0
0
0.111111
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
7e8613a120dad19ec072cad418d8f8915bf524ce
11,711
py
Python
tensorflow_checkpoint_reader/pb/tensorflow/core/data/service/common_pb2.py
shawwn/tensorflow-checkpoint-reader
f0e65548411e3bd66a07e36bb1850907a05952d0
[ "MIT" ]
1
2021-12-02T15:06:09.000Z
2021-12-02T15:06:09.000Z
tensorflow_checkpoint_reader/pb/tensorflow/core/data/service/common_pb2.py
shawwn/tensorflow-checkpoint-reader
f0e65548411e3bd66a07e36bb1850907a05952d0
[ "MIT" ]
null
null
null
tensorflow_checkpoint_reader/pb/tensorflow/core/data/service/common_pb2.py
shawwn/tensorflow-checkpoint-reader
f0e65548411e3bd66a07e36bb1850907a05952d0
[ "MIT" ]
null
null
null
'Generated protocol buffer code.' from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import symbol_database as _symbol_database _sym_db = ...
292.775
4,168
0.830416
1,651
11,711
5.54573
0.115082
0.047182
0.080931
0.073722
0.706422
0.667977
0.606269
0.586828
0.577217
0.552752
0
0.033773
0.041756
11,711
39
4,169
300.282051
0.782124
0.002647
0
0
1
0.026316
0.221691
0.170794
0
0
0
0
0
1
0
false
0
0.157895
0
0.157895
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7e99ec6791ef449bd15d88bc40e47be5465426ce
2,149
py
Python
bot_4u/shop.py
Gametz/Helper_Bot
c48c8258a71782ecc4621b0a0eac3f9de4d461b7
[ "Apache-2.0" ]
null
null
null
bot_4u/shop.py
Gametz/Helper_Bot
c48c8258a71782ecc4621b0a0eac3f9de4d461b7
[ "Apache-2.0" ]
null
null
null
bot_4u/shop.py
Gametz/Helper_Bot
c48c8258a71782ecc4621b0a0eac3f9de4d461b7
[ "Apache-2.0" ]
null
null
null
import json def shop(): return "Магазин:" \ "\n" \ "\n&#12288;🚗 Машины" \ "\n&#12288;📱 Телефоны" \ "\n&#12288;🏡 Дома" \ "\n&#12288;🎞 Видеокарты" \ "\n&#12288;₿ Биткоины" \ "\n" \ "\n📌 Для просмотра категории используйте ее...
35.229508
73
0.442531
284
2,149
3.471831
0.380282
0.170385
0.134888
0.141988
0.263692
0.144016
0.075051
0.075051
0
0
0
0.195478
0.362029
2,149
60
74
35.816667
0.498177
0
0
0.163636
0
0
0.602606
0
0
0
0
0
0
1
0.090909
true
0
0.018182
0.090909
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
0e178435ece45e409ee3022cc88fcbcaea8b3c0d
170
py
Python
GraphModels/Exceptions/VerticeInexistenteException.py
ErikDCAlmeida/LFA_Implemetation
72e86b798b2e0124341d7d9076ee8376c0f93239
[ "MIT" ]
null
null
null
GraphModels/Exceptions/VerticeInexistenteException.py
ErikDCAlmeida/LFA_Implemetation
72e86b798b2e0124341d7d9076ee8376c0f93239
[ "MIT" ]
null
null
null
GraphModels/Exceptions/VerticeInexistenteException.py
ErikDCAlmeida/LFA_Implemetation
72e86b798b2e0124341d7d9076ee8376c0f93239
[ "MIT" ]
null
null
null
class VerticeInexistenteException(Exception): def __init__(self,message :str, vertices :list): super().__init__(message) self.vertices = vertices
34
52
0.694118
16
170
6.875
0.6875
0
0
0
0
0
0
0
0
0
0
0
0.205882
170
5
53
34
0.814815
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
0e3555c07888e87f110e34ba606417acd592fa72
211
py
Python
sonic-psud/tests/mocked_libs/sonic_platform/psu.py
andywongarista/sonic-platform-daemons
2d2749ab77ea0cfb9b1a9a0a5c7eeffbde9daed8
[ "Apache-2.0" ]
15
2019-03-27T15:27:15.000Z
2022-01-28T16:31:21.000Z
sonic-psud/tests/mocked_libs/sonic_platform/psu.py
andywongarista/sonic-platform-daemons
2d2749ab77ea0cfb9b1a9a0a5c7eeffbde9daed8
[ "Apache-2.0" ]
143
2017-06-06T23:04:35.000Z
2022-03-30T00:34:41.000Z
sonic-psud/tests/mocked_libs/sonic_platform/psu.py
andywongarista/sonic-platform-daemons
2d2749ab77ea0cfb9b1a9a0a5c7eeffbde9daed8
[ "Apache-2.0" ]
92
2017-06-06T22:37:50.000Z
2022-03-14T08:16:23.000Z
""" Mock implementation of sonic_platform package for unit testing """ from sonic_platform_base.psu_base import PsuBase class Psu(PsuBase): def __init__(self): super(PsuBase, self).__init__()
19.181818
66
0.725118
27
211
5.222222
0.703704
0.184397
0
0
0
0
0
0
0
0
0
0
0.184834
211
10
67
21.1
0.819767
0.293839
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
0e42a9c70b911a3a5aa7133f3c400d4f27647e7e
14,563
py
Python
utils/UtilStation.py
gihankarunarathne/curw-rest-api
b5bc471ad3ad4a6e5f0c11725f6833a5bead835c
[ "Apache-2.0" ]
null
null
null
utils/UtilStation.py
gihankarunarathne/curw-rest-api
b5bc471ad3ad4a6e5f0c11725f6833a5bead835c
[ "Apache-2.0" ]
5
2018-01-09T05:18:53.000Z
2018-08-06T05:49:23.000Z
utils/UtilStation.py
gihankarunarathne/curw-rest-api
b5bc471ad3ad4a6e5f0c11725f6833a5bead835c
[ "Apache-2.0" ]
3
2018-01-04T09:36:38.000Z
2019-06-25T04:57:22.000Z
import requests import copy import json import os from os.path import join as pjoin from datetime import datetime now_date = datetime.now() COMMON_DATE_FORMAT = '%Y-%m-%d_%H:%M:%S' date = now_date.strftime(COMMON_DATE_FORMAT) root_dir = os.path.dirname(os.path.realpath(__file__)) CONFIG_curwiot_station = json.loads(...
46.378981
147
0.634622
1,686
14,563
5.20344
0.107355
0.135643
0.036931
0.047418
0.787188
0.723128
0.715263
0.675368
0.617463
0.604468
0
0.003429
0.238962
14,563
313
148
46.527157
0.788144
0.072375
0
0.662162
0
0
0.205828
0.072885
0
0
0
0
0
1
0.027027
false
0
0.027027
0
0.076577
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0e564425eadb5d12a697175aa30758ff12d595c3
73
py
Python
airbyte-integrations/connectors/source-gitlab-singer/source_gitlab_singer/__init__.py
rajatariya21/airbyte
11e70a7a96e2682b479afbe6f709b9a5fe9c4a8d
[ "MIT" ]
2
2021-08-04T03:17:38.000Z
2021-11-15T10:16:08.000Z
airbyte-integrations/connectors/source-gitlab-singer/source_gitlab_singer/__init__.py
rajatariya21/airbyte
11e70a7a96e2682b479afbe6f709b9a5fe9c4a8d
[ "MIT" ]
52
2021-06-11T12:39:05.000Z
2022-03-30T04:59:35.000Z
airbyte-integrations/connectors/source-gitlab-singer/source_gitlab_singer/__init__.py
rajatariya21/airbyte
11e70a7a96e2682b479afbe6f709b9a5fe9c4a8d
[ "MIT" ]
1
2021-08-04T03:25:02.000Z
2021-08-04T03:25:02.000Z
from .source import SourceGitlabSinger __all__ = ["SourceGitlabSinger"]
18.25
38
0.808219
6
73
9.166667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.109589
73
3
39
24.333333
0.846154
0
0
0
0
0
0.246575
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
0e58b735ee5d263cc4190436998e1d6b78a7f9e2
131
py
Python
bigraph/__init__.py
prismofeverything/bigraph
fbb2aaf83f8acaf5ea85cf9e30c11ff1e72fdcd3
[ "BSD-3-Clause" ]
null
null
null
bigraph/__init__.py
prismofeverything/bigraph
fbb2aaf83f8acaf5ea85cf9e30c11ff1e72fdcd3
[ "BSD-3-Clause" ]
null
null
null
bigraph/__init__.py
prismofeverything/bigraph
fbb2aaf83f8acaf5ea85cf9e30c11ff1e72fdcd3
[ "BSD-3-Clause" ]
null
null
null
"""Top-level package for bigraph.""" __author__ = """Ryan Spangler""" __email__ = 'ryan.spangler@gmail.com' __version__ = '0.0.1'
21.833333
37
0.687023
17
131
4.588235
0.823529
0.307692
0
0
0
0
0
0
0
0
0
0.025862
0.114504
131
5
38
26.2
0.646552
0.229008
0
0
0
0
0.431579
0.242105
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
0e60c6c15faddec2501a765b0cf4964ca3a7882d
181
py
Python
acapy_client/models/indy_ge_proof_pred_p_type.py
dbluhm/acapy-client
d92ef607ba2ff1152ec15429f2edb20976991424
[ "Apache-2.0" ]
4
2021-08-05T09:20:34.000Z
2021-08-08T19:37:29.000Z
acapy_client/models/indy_ge_proof_pred_p_type.py
dbluhm/acapy-client
d92ef607ba2ff1152ec15429f2edb20976991424
[ "Apache-2.0" ]
null
null
null
acapy_client/models/indy_ge_proof_pred_p_type.py
dbluhm/acapy-client
d92ef607ba2ff1152ec15429f2edb20976991424
[ "Apache-2.0" ]
2
2021-08-12T18:18:45.000Z
2021-08-14T13:22:28.000Z
from enum import Enum class IndyGEProofPredPType(str, Enum): LT = "LT" LE = "LE" GE = "GE" GT = "GT" def __str__(self) -> str: return str(self.value)
15.083333
38
0.558011
24
181
4.041667
0.583333
0.14433
0
0
0
0
0
0
0
0
0
0
0.309392
181
11
39
16.454545
0.776
0
0
0
0
0
0.044199
0
0
0
0
0
0
1
0.125
false
0
0.125
0.125
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
0e619b210ae4d3b0d9e61fa5e57e1c6f1b02100c
165
py
Python
rfid_python_lib/run-reader.py
shivamvku/flakrfid
559198d23907eea6e87f38fac1c5fb5c2b6fbca8
[ "MIT" ]
null
null
null
rfid_python_lib/run-reader.py
shivamvku/flakrfid
559198d23907eea6e87f38fac1c5fb5c2b6fbca8
[ "MIT" ]
1
2019-05-13T16:19:36.000Z
2019-05-19T11:21:22.000Z
rfid_python_lib/run-reader.py
shivamvku/flakrfid
559198d23907eea6e87f38fac1c5fb5c2b6fbca8
[ "MIT" ]
null
null
null
import os import subprocess rel_path=os.path.dirname(os.path.realpath(__file__)) subprocess.Popen('sudo python ' + rel_path + '/background_reader.py', shell=True)
23.571429
81
0.775758
24
165
5.041667
0.666667
0.115702
0
0
0
0
0
0
0
0
0
0
0.090909
165
6
82
27.5
0.806667
0
0
0
0
0
0.2
0.127273
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
0e6d622d7107b3d7d213340bf57918b905dd0f34
391
py
Python
Journal/auth_accounts/tests/views/test_profile_login_view.py
NikolaKolew/Journal
9df0e48161fe995c940181b2249d7a3681e2ce21
[ "MIT" ]
null
null
null
Journal/auth_accounts/tests/views/test_profile_login_view.py
NikolaKolew/Journal
9df0e48161fe995c940181b2249d7a3681e2ce21
[ "MIT" ]
null
null
null
Journal/auth_accounts/tests/views/test_profile_login_view.py
NikolaKolew/Journal
9df0e48161fe995c940181b2249d7a3681e2ce21
[ "MIT" ]
null
null
null
from django.contrib.auth import get_user_model from django.test import TestCase from django.urls import reverse from Journal.auth_accounts.models import AppUser, Profile from Journal.web_app.views import HomeView UserModel = get_user_model() class TestProfileLoginView(TestCase): VALID_USER_DATA = { 'emai...
23
57
0.757033
49
391
5.877551
0.653061
0.104167
0.083333
0
0
0
0
0
0
0
0
0.02439
0.161125
391
16
58
24.4375
0.853659
0
0
0
0
0
0.113111
0
0
0
0
0
0
1
0
false
0.090909
0.454545
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
0e72857ee4c45c72e00d88c3b64817ca6deb42c6
912
py
Python
RecoTracker/TrackProducer/python/CTFCombinedSeeds_cff.py
samarendran23/cmssw
849dd9897db9b894ca83e1b630a3c1eecafd6097
[ "Apache-2.0" ]
6
2017-09-08T14:12:56.000Z
2022-03-09T23:57:01.000Z
RecoTracker/TrackProducer/python/CTFCombinedSeeds_cff.py
samarendran23/cmssw
849dd9897db9b894ca83e1b630a3c1eecafd6097
[ "Apache-2.0" ]
545
2017-09-19T17:10:19.000Z
2022-03-07T16:55:27.000Z
RecoTracker/TrackProducer/python/CTFCombinedSeeds_cff.py
samarendran23/cmssw
849dd9897db9b894ca83e1b630a3c1eecafd6097
[ "Apache-2.0" ]
14
2017-10-04T09:47:21.000Z
2019-10-23T18:04:45.000Z
import FWCore.ParameterSet.Config as cms # KFUpdatoerESProducer from TrackingTools.KalmanUpdators.KFUpdatorESProducer_cfi import * # Chi2MeasurementEstimatorESProducer from TrackingTools.KalmanUpdators.Chi2MeasurementEstimator_cfi import * # PropagatorWithMaterialESProducer #include "TrackingTools/MaterialEffects/data...
41.454545
84
0.885965
69
912
11.594203
0.521739
0.0675
0.0775
0.1
0.1325
0
0
0
0
0
0
0.002342
0.063596
912
21
85
43.428571
0.934426
0.240132
0
0
0
0
0.045322
0.045322
0
0
0
0
0
1
0
false
0
0.727273
0
0.727273
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
0e810de8ec58f5df4f29974ed6963184c50eca63
592
py
Python
tests/test_filterlevel.py
ferreum/distanceutils
a80b833e0c60afa60f0c8cb1aa6254f0da4f3bf6
[ "MIT" ]
6
2017-10-10T02:56:19.000Z
2018-09-12T17:41:04.000Z
tests/test_filterlevel.py
ferreum/distanceutils
a80b833e0c60afa60f0c8cb1aa6254f0da4f3bf6
[ "MIT" ]
null
null
null
tests/test_filterlevel.py
ferreum/distanceutils
a80b833e0c60afa60f0c8cb1aa6254f0da4f3bf6
[ "MIT" ]
null
null
null
import unittest from distance_scripts.filterlevel import make_arglist class SplitArgsTest(unittest.TestCase): def test_empty(self): self.assertEqual([], make_arglist("")) def test_single(self): self.assertEqual([":all"], make_arglist("all")) def test_value(self): self.assertEqu...
23.68
71
0.648649
80
592
4.65
0.425
0.177419
0.255376
0.11828
0
0
0
0
0
0
0
0.014374
0.177365
592
24
72
24.666667
0.749487
0.045608
0
0
0
0
0.106572
0
0
0
0
0
0.384615
1
0.384615
false
0
0.153846
0
0.615385
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
0e8c5e114d0d6c33cdd9c208ad7d48bad71083dc
109
gyp
Python
source/windows/binding.gyp
weiruei/SharedMemory-nodejs
8db333d7e20063a94bf927e563c3e251cfa4de43
[ "MIT" ]
null
null
null
source/windows/binding.gyp
weiruei/SharedMemory-nodejs
8db333d7e20063a94bf927e563c3e251cfa4de43
[ "MIT" ]
null
null
null
source/windows/binding.gyp
weiruei/SharedMemory-nodejs
8db333d7e20063a94bf927e563c3e251cfa4de43
[ "MIT" ]
null
null
null
{ "targets": [ { "target_name": "sharememory", "sources": [ "sharememory.cc" ] } ] }
12.111111
37
0.449541
7
109
6.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.33945
109
8
38
13.625
0.666667
0
0
0
0
0
0.458716
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
7ed08d416eecb2d7f13ad141d3bebad37ec1535f
68
py
Python
pyspedas/swarm/config.py
ablotekar/pyspedas
921733f26e6d204f6ee57f760db5d86c351e3043
[ "MIT" ]
null
null
null
pyspedas/swarm/config.py
ablotekar/pyspedas
921733f26e6d204f6ee57f760db5d86c351e3043
[ "MIT" ]
null
null
null
pyspedas/swarm/config.py
ablotekar/pyspedas
921733f26e6d204f6ee57f760db5d86c351e3043
[ "MIT" ]
null
null
null
import os CONFIG = {'remote_data_dir': 'https://vires.services/'}
13.6
55
0.691176
9
68
5
1
0
0
0
0
0
0
0
0
0
0
0
0.117647
68
4
56
17
0.75
0
0
0
0
0
0.567164
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
7ee0935bd44d5b4c2452b7258a118f4c2eb66747
202
py
Python
smt/applications/__init__.py
RobinGRAPIN/smt
ebbfed99011aee4efff86671695b799cd5ed5c63
[ "BSD-3-Clause" ]
null
null
null
smt/applications/__init__.py
RobinGRAPIN/smt
ebbfed99011aee4efff86671695b799cd5ed5c63
[ "BSD-3-Clause" ]
null
null
null
smt/applications/__init__.py
RobinGRAPIN/smt
ebbfed99011aee4efff86671695b799cd5ed5c63
[ "BSD-3-Clause" ]
null
null
null
from .vfm import VFM from .moe import MOE, MOESurrogateModel from .mfk import MFK, NestedLHS from .mfkpls import MFKPLS from .mfkplsk import MFKPLSK from .ego import EGO, Evaluator from .MOO import MOO
25.25
39
0.79703
31
202
5.193548
0.387097
0
0
0
0
0
0
0
0
0
0
0
0.153465
202
7
40
28.857143
0.94152
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
7ef0fae3b1d2aae343cea4f81941f58961d6c5da
232
py
Python
semester-6/Python Practice/numpyPractice/program32.py
saranshbht/bsc-codes
7386c09cc986de9c84947f7dea7db3dc42219a35
[ "MIT" ]
3
2021-03-22T12:07:14.000Z
2021-08-30T17:28:23.000Z
semester-6/Python Practice/numpyPractice/program32.py
saranshbht/bsc-codes
7386c09cc986de9c84947f7dea7db3dc42219a35
[ "MIT" ]
null
null
null
semester-6/Python Practice/numpyPractice/program32.py
saranshbht/bsc-codes
7386c09cc986de9c84947f7dea7db3dc42219a35
[ "MIT" ]
null
null
null
import numpy as np x = np.array([[0,1],[2,3]]) print("Original array:") print(x) print("Sum of all elements:") print(np.sum(x)) print("Sum of each column:") print(np.sum(x, axis=0)) print("Sum of each row:") print(np.sum(x, axis=1))
23.2
29
0.655172
47
232
3.234043
0.425532
0.157895
0.197368
0.217105
0.197368
0
0
0
0
0
0
0.029126
0.112069
232
10
30
23.2
0.708738
0
0
0
0
0
0.300429
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.8
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
7d0afb6f00fe8c1e94ac4ec5914e9892000ad0b1
569
py
Python
ex009.py
ezequielwish/Python3
a4489d49e6919649437cb9e682614240701e2b68
[ "MIT" ]
1
2022-01-24T02:01:32.000Z
2022-01-24T02:01:32.000Z
ex009.py
ezequielwish/Python3
a4489d49e6919649437cb9e682614240701e2b68
[ "MIT" ]
null
null
null
ex009.py
ezequielwish/Python3
a4489d49e6919649437cb9e682614240701e2b68
[ "MIT" ]
null
null
null
# Faça um programa que leia um número Inteiro qualquer e mostre na tela a sua tabuada. num = int(input('digite um número: ')) print('~'*11) print('{} x {:2} = {}'.format(1, num, 1*num)) print('{} x {:2} = {}'.format(2, num, 2*num)) print('{} x {:2} = {}'.format(3, num, 3*num)) print('{} x {:2} = {}'.format(4, num, 4*n...
37.933333
86
0.520211
98
569
3.020408
0.326531
0.182432
0.212838
0.39527
0.432432
0
0
0
0
0
0
0.064583
0.156415
569
14
87
40.642857
0.552083
0.147627
0
0.166667
0
0
0.302277
0
0
0
0
0
0
1
0
false
0
0
0
0
0.916667
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
7d1bcd6df1929eb1e52dada606f08a37e184aea9
51
py
Python
config.py
hayashikun/pyoin
23779f7b800ca848586c9f31848d5222053bd7ff
[ "Apache-2.0" ]
null
null
null
config.py
hayashikun/pyoin
23779f7b800ca848586c9f31848d5222053bd7ff
[ "Apache-2.0" ]
null
null
null
config.py
hayashikun/pyoin
23779f7b800ca848586c9f31848d5222053bd7ff
[ "Apache-2.0" ]
null
null
null
import os ProjectRoot = os.path.dirname(__file__)
12.75
39
0.784314
7
51
5.142857
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.117647
51
3
40
17
0.8
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7d2ed3b9ebe86be09b418a39465a6005cb2d2d31
233
py
Python
projects/urls.py
intelligems/stolos
ca658aeea92b841f89992948a136214519dffcc7
[ "MIT" ]
5
2019-08-27T10:33:14.000Z
2021-11-09T10:57:40.000Z
projects/urls.py
intelligems/stolos
ca658aeea92b841f89992948a136214519dffcc7
[ "MIT" ]
null
null
null
projects/urls.py
intelligems/stolos
ca658aeea92b841f89992948a136214519dffcc7
[ "MIT" ]
3
2019-05-23T14:37:40.000Z
2020-12-14T18:43:16.000Z
from rest_framework import routers from projects import api router = routers.SimpleRouter() router.register(r'api/a0.1/projects', api.ProjectViewSet) router.register(r'api/a0.1/stacks', api.StackViewSet) urlpatterns = router.urls
23.3
57
0.798283
33
233
5.606061
0.545455
0.151351
0.162162
0.194595
0.227027
0.227027
0
0
0
0
0
0.018868
0.090129
233
9
58
25.888889
0.853774
0
0
0
0
0
0.137339
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7d36075a7fa5cb3fb4ffcc259847e767e22120a0
2,058
py
Python
src/fqe/hamiltonians/hamiltonian_test.py
rmlarose/OpenFermion-FQE
54489126725fe3bb83218b6fde9d44f6cf130359
[ "Apache-2.0" ]
null
null
null
src/fqe/hamiltonians/hamiltonian_test.py
rmlarose/OpenFermion-FQE
54489126725fe3bb83218b6fde9d44f6cf130359
[ "Apache-2.0" ]
null
null
null
src/fqe/hamiltonians/hamiltonian_test.py
rmlarose/OpenFermion-FQE
54489126725fe3bb83218b6fde9d44f6cf130359
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google LLC # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
31.181818
76
0.640428
272
2,058
4.764706
0.404412
0.061728
0.05787
0.07716
0.075617
0
0
0
0
0
0
0.013436
0.240525
2,058
65
77
31.661538
0.815739
0.333333
0
0
0
0
0
0
0
0
0
0
0.352941
1
0.264706
false
0
0.088235
0.205882
0.588235
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
ada2aaa7c71af20cb17667dd7fa9be6b79351d4d
184
py
Python
PSI/__init__.py
f4nku4n/MOENAS-TF-PSI
5e25df9143a09ffdcfbb4d03851b919aed60003a
[ "MIT" ]
null
null
null
PSI/__init__.py
f4nku4n/MOENAS-TF-PSI
5e25df9143a09ffdcfbb4d03851b919aed60003a
[ "MIT" ]
null
null
null
PSI/__init__.py
f4nku4n/MOENAS-TF-PSI
5e25df9143a09ffdcfbb4d03851b919aed60003a
[ "MIT" ]
null
null
null
from .PSI import PSI_processor from .utils import ( find_all_neighbors, find_the_better, get_idx_non_dominated_front, check_above_or_below, calculate_angle_measure, check_valid )
20.444444
30
0.842391
28
184
5
0.821429
0
0
0
0
0
0
0
0
0
0
0
0.108696
184
9
31
20.444444
0.853659
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.222222
0
0.222222
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
adaf8a2b6142f8005cb847042632c65195a018b4
2,170
py
Python
ebnn/utils/binary_util.py
viv-codes/ebnn
4b042f9a100a988b1cec7c83d8367a6c4e01e199
[ "MIT" ]
39
2017-02-24T20:37:14.000Z
2022-03-10T09:12:03.000Z
ebnn/utils/binary_util.py
sandy2008/binary-net-toolkit
c9807f60a9cff7b90319a576a27e77ca163cc2e1
[ "Unlicense" ]
10
2017-07-05T15:11:03.000Z
2020-06-29T00:22:00.000Z
ebnn/utils/binary_util.py
sandy2008/binary-net-toolkit
c9807f60a9cff7b90319a576a27e77ca163cc2e1
[ "Unlicense" ]
19
2017-02-21T12:00:22.000Z
2022-03-03T16:16:46.000Z
import numpy as np storage_ts = ['row_major', 'col_major'] def binarize(W): return np.where(W >= 0, 1, -1).astype(np.float32, copy=False) def binarize_real(W): return np.where(W >= 0, 1, 0).astype(int, copy=False) def np_to_floatC(xs, name, storage_t): ''' Converts a numpy array into a float C ar...
23.846154
66
0.549309
328
2,170
3.442073
0.20122
0.106289
0.053144
0.037201
0.759079
0.759079
0.711249
0.657219
0.657219
0.657219
0
0.014332
0.292627
2,170
90
67
24.111111
0.721173
0.076959
0
0.654545
0
0
0.119571
0
0
0
0
0
0
1
0.090909
false
0
0.018182
0.036364
0.218182
0.054545
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
adb04bfe4a62985c61bb8f655b06079705c6c4e7
22,223
py
Python
tests/test_confjson.py
skunkfrukt/confjson
6245f4cc5482faef6f890eb005efa0d25fd23fc9
[ "Unlicense" ]
null
null
null
tests/test_confjson.py
skunkfrukt/confjson
6245f4cc5482faef6f890eb005efa0d25fd23fc9
[ "Unlicense" ]
12
2018-10-06T21:34:56.000Z
2018-11-15T19:48:54.000Z
tests/test_confjson.py
skunkfrukt/confjson
6245f4cc5482faef6f890eb005efa0d25fd23fc9
[ "Unlicense" ]
null
null
null
# pylint: disable=missing-docstring import json import os.path import pytest import confjson DEFAULT_CONFIG_FILENAME = "default.config.json" USER_CONFIG_FILENAME = "user.config.json" DEFAULT_CONFIG = { "string_in_both": "d[string_in_both]", "string_in_default": "d[string_in_default]", "list_in_both": ...
34.136713
88
0.72722
3,213
22,223
4.592281
0.056645
0.047577
0.097594
0.110607
0.828262
0.762115
0.721857
0.669536
0.617079
0.584751
0
0.005134
0.1498
22,223
650
89
34.189231
0.775802
0.005265
0
0.374233
0
0
0.171576
0.024343
0
0
0
0
0.204499
1
0.151329
false
0
0.00818
0
0.159509
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
adbf39ed6b12fd30e124c6828b7d0c6335821cc9
148
py
Python
PirateFaction.py
Convergant/TownOfSalemRolelistSimulator
d4ef6da4d386fff4ca840a05617ae0b806e6d0e6
[ "Unlicense" ]
null
null
null
PirateFaction.py
Convergant/TownOfSalemRolelistSimulator
d4ef6da4d386fff4ca840a05617ae0b806e6d0e6
[ "Unlicense" ]
null
null
null
PirateFaction.py
Convergant/TownOfSalemRolelistSimulator
d4ef6da4d386fff4ca840a05617ae0b806e6d0e6
[ "Unlicense" ]
null
null
null
from TownOfSalem.imports import * Pirates = Faction("Pirates", "Earn enough gold from plundering to set yourselves up for life.") print(Pirates)
37
96
0.763514
20
148
5.65
0.85
0
0
0
0
0
0
0
0
0
0
0
0.148649
148
4
97
37
0.896825
0
0
0
0
0
0.479452
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
adf79d6f3078bb6fd6573119cece83a6c4f00d34
153
py
Python
apps/api/wsgi.py
jtanderson312/axis-terraform-flask
2e8cd4ceddf9713edb97380f13a9f8fa7c902ba3
[ "MIT" ]
1
2019-03-23T21:28:28.000Z
2019-03-23T21:28:28.000Z
apps/api/wsgi.py
jtanderson312/axis-terraform-flask
2e8cd4ceddf9713edb97380f13a9f8fa7c902ba3
[ "MIT" ]
30
2020-09-04T16:48:37.000Z
2022-03-13T15:38:20.000Z
apps/api/wsgi.py
jtanderson312/axis-terraform-flask
2e8cd4ceddf9713edb97380f13a9f8fa7c902ba3
[ "MIT" ]
1
2019-09-02T15:24:29.000Z
2019-09-02T15:24:29.000Z
#!/usr/bin/env python from app.app import app # from flask_socketio import SocketIO # from gevent import monkey # monkey.patch_all() application = app
17
37
0.764706
23
153
5
0.608696
0
0
0
0
0
0
0
0
0
0
0
0.150327
153
9
38
17
0.884615
0.660131
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
bc03465daa0bebd2bdc92970344cec35b4dc593a
106
py
Python
examples/scatter.py
minrk/ggplot
c90ab65b959172c4a3488893e395dc3749dd1830
[ "BSD-2-Clause" ]
null
null
null
examples/scatter.py
minrk/ggplot
c90ab65b959172c4a3488893e395dc3749dd1830
[ "BSD-2-Clause" ]
null
null
null
examples/scatter.py
minrk/ggplot
c90ab65b959172c4a3488893e395dc3749dd1830
[ "BSD-2-Clause" ]
null
null
null
from ggplot import * print ggplot(aes(x='date', y='beef'), data=meat) + \ geom_point() plt.show(1)
13.25
52
0.622642
17
106
3.823529
0.941176
0
0
0
0
0
0
0
0
0
0
0.011494
0.179245
106
7
53
15.142857
0.735632
0
0
0
0
0
0.075472
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
bc2f93d57ea88c40008839c20065482ce5b48022
1,430
py
Python
lib/sqlalchemy/pool/__init__.py
expobrain/sqlalchemy
8370ac2bff7f2bb98673d5cc79af7a61632d8dde
[ "MIT" ]
null
null
null
lib/sqlalchemy/pool/__init__.py
expobrain/sqlalchemy
8370ac2bff7f2bb98673d5cc79af7a61632d8dde
[ "MIT" ]
null
null
null
lib/sqlalchemy/pool/__init__.py
expobrain/sqlalchemy
8370ac2bff7f2bb98673d5cc79af7a61632d8dde
[ "MIT" ]
null
null
null
# sqlalchemy/pool/__init__.py # Copyright (C) 2005-2022 the SQLAlchemy authors and contributors # <see AUTHORS file> # # This module is part of SQLAlchemy and is released under # the MIT License: https://www.opensource.org/licenses/mit-license.php """Connection pooling for DB-API connections. Provides a number of co...
36.666667
70
0.825874
192
1,430
6.072917
0.453125
0.06175
0.108062
0.048885
0
0
0
0
0
0
0
0.008052
0.131469
1,430
38
71
37.631579
0.930757
0.43007
0
0
0
0
0
0
0
0
0
0
0.052632
1
0
true
0
0.894737
0
0.894737
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
bc3c5b296f6553eb2cfee32a2ecf203f5a456092
156
py
Python
Dataset/Leetcode/test/70/193.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/70/193.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/test/70/193.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: def XXX(self, n: int) -> int: p = 1 t = 1 while n>0: n-=1 p,t = p+t,p return t
15.6
33
0.352564
24
156
2.291667
0.541667
0.072727
0.109091
0
0
0
0
0
0
0
0
0.054795
0.532051
156
9
34
17.333333
0.69863
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.375
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
70c3592387e45c0854279311bab660403279ff72
171
py
Python
demo_iris_listener.py
digirati-co-uk/iris4py
3c2bf3d06fe528224d8a34b55472e678d723b374
[ "MIT" ]
null
null
null
demo_iris_listener.py
digirati-co-uk/iris4py
3c2bf3d06fe528224d8a34b55472e678d723b374
[ "MIT" ]
1
2019-05-15T15:45:47.000Z
2019-05-15T15:45:47.000Z
demo_iris_listener.py
digirati-co-uk/iris4py
3c2bf3d06fe528224d8a34b55472e678d723b374
[ "MIT" ]
null
null
null
from iris import iris_client import json def print_message(message): print(json.dumps(message)) listener = iris_client.IrisListener() listener.run(print_message)
14.25
37
0.783626
23
171
5.652174
0.521739
0.153846
0
0
0
0
0
0
0
0
0
0
0.128655
171
11
38
15.545455
0.872483
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.5
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
3
70cc32cd1772254fbcbaabb055069609c55fd5d1
437
py
Python
book/book/apps/users/serializers.py
github-python-yang/Even_book
63d8acf22e0247918cc63e6f80c34b1e99825a48
[ "MIT" ]
null
null
null
book/book/apps/users/serializers.py
github-python-yang/Even_book
63d8acf22e0247918cc63e6f80c34b1e99825a48
[ "MIT" ]
null
null
null
book/book/apps/users/serializers.py
github-python-yang/Even_book
63d8acf22e0247918cc63e6f80c34b1e99825a48
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import UserProfile, Book class BookSerializer(serializers.Serializer): title=serializers.CharField(required=True, max_length=100) isbn=serializers.CharField(required=True, max_length=100) author=serializers.CharField(required=True, max_length=100) pu...
39.727273
64
0.80778
53
437
6.566038
0.471698
0.172414
0.321839
0.367816
0.505747
0.505747
0.505747
0
0
0
0
0.032995
0.098398
437
10
65
43.7
0.850254
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
70f0fde5d85ceb6c0d49daeca65f4d4fec30e631
181
py
Python
client.py
liuluguang/web-socket-example
2b6cd9a7906b6a45057be8f38a65226a74e788d4
[ "Apache-2.0" ]
null
null
null
client.py
liuluguang/web-socket-example
2b6cd9a7906b6a45057be8f38a65226a74e788d4
[ "Apache-2.0" ]
null
null
null
client.py
liuluguang/web-socket-example
2b6cd9a7906b6a45057be8f38a65226a74e788d4
[ "Apache-2.0" ]
null
null
null
import websocket, json from websocket import create_connection ws = create_connection("ws://localhost:8080/subscribe") ws.send("sss") while True: d = ws.recv() print(d)
15.083333
55
0.712707
25
181
5.08
0.68
0.251969
0.283465
0
0
0
0
0
0
0
0
0.026316
0.160221
181
11
56
16.454545
0.809211
0
0
0
0
0
0.176796
0.160221
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.142857
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cb18e74b08da909711ca87f1cb98bc03e9f02991
150
py
Python
02Aula02-09/ex023.py
danicon/Curso-IPE
3b9e2a9d187492d6561a512363bd06156286df6a
[ "MIT" ]
2
2020-09-09T12:50:57.000Z
2020-09-09T12:56:02.000Z
02Aula02-09/ex023.py
danicon/Curso-IPE
3b9e2a9d187492d6561a512363bd06156286df6a
[ "MIT" ]
null
null
null
02Aula02-09/ex023.py
danicon/Curso-IPE
3b9e2a9d187492d6561a512363bd06156286df6a
[ "MIT" ]
null
null
null
idade = 18 if idade < 12: print('Criança') elif idade < 18: print('Adolecente') elif idade < 60: print('Adulto') else: print('Idoso')
16.666667
23
0.6
20
150
4.5
0.6
0.155556
0
0
0
0
0
0
0
0
0
0.070175
0.24
150
9
24
16.666667
0.719298
0
0
0
0
0
0.18543
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
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
cb3196430d0712f52055cea26feac7dabf74706f
782
py
Python
odlt/utils.py
omnisci/odlt
2eeff7f0336bd2546541ca02565da89b248e4712
[ "Apache-2.0" ]
4
2019-02-11T09:29:09.000Z
2019-11-04T22:24:06.000Z
odlt/utils.py
omnisci/odlt
2eeff7f0336bd2546541ca02565da89b248e4712
[ "Apache-2.0" ]
null
null
null
odlt/utils.py
omnisci/odlt
2eeff7f0336bd2546541ca02565da89b248e4712
[ "Apache-2.0" ]
2
2020-11-27T22:33:45.000Z
2021-04-03T10:00:22.000Z
import json from functools import partial def is_json(string): """ Helper function to determine if a string is valid JSON """ try: json_object = json.loads(string) except ValueError as e: return False return True class validate_connection(object): def __init__(self, func): ...
28.962963
156
0.657289
99
782
4.949495
0.565657
0.04898
0.073469
0
0
0
0
0
0
0
0
0
0.263427
782
26
157
30.076923
0.850694
0.069054
0
0
0
0.052632
0.174157
0
0
0
0
0
0
1
0.210526
false
0.052632
0.105263
0.052632
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
cb3ca2693639f4046018d7cd720b4fcabc60db6a
257
py
Python
tests/frozendict_test.py
wrmsr/krait
d1afcb4b8f66a5662326607b76ca7707e0df5ae2
[ "MIT" ]
null
null
null
tests/frozendict_test.py
wrmsr/krait
d1afcb4b8f66a5662326607b76ca7707e0df5ae2
[ "MIT" ]
null
null
null
tests/frozendict_test.py
wrmsr/krait
d1afcb4b8f66a5662326607b76ca7707e0df5ae2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import import pickle from krait.frozendict import frozendict def test(): print(frozendict(x=1, y=2).set(x=10, z=20)) print(pickle.loads(pickle.dumps(frozendict(x=1, y=2).set(x=10, z=20))))
21.416667
75
0.688716
43
257
4
0.534884
0.127907
0.139535
0.151163
0.267442
0.267442
0.267442
0.267442
0.267442
0.267442
0
0.058559
0.136187
257
11
76
23.363636
0.716216
0.081712
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
true
0
0.5
0
0.666667
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
cb6266c9d74a0c98a2599982726f36af0f388321
390
py
Python
SyscallAnalysis/libsyscall/syscalls/sys_exit.py
s117/anycore-dbg-supplement
f9c5b8020e654560d31e2a1f4d6aeeca9f025922
[ "BSD-3-Clause" ]
null
null
null
SyscallAnalysis/libsyscall/syscalls/sys_exit.py
s117/anycore-dbg-supplement
f9c5b8020e654560d31e2a1f4d6aeeca9f025922
[ "BSD-3-Clause" ]
1
2020-10-23T20:19:34.000Z
2020-11-05T08:26:02.000Z
SyscallAnalysis/libsyscall/syscalls/sys_exit.py
s117/anycore-dbg-supplement
f9c5b8020e654560d31e2a1f4d6aeeca9f025922
[ "BSD-3-Clause" ]
null
null
null
from . import syscall as s # void exit(int status) @s.mixedomatic class sys_exit(s.syscall): def __init__(self, name, args, ret, syscall_id, at_cwd, seq_no): super().__init__(name, args, ret, syscall_id, at_cwd, seq_no) self.status = args[0].avalue def is_success(self): # type: () -> bool ...
24.375
69
0.64359
59
390
3.966102
0.559322
0.068376
0.094017
0.153846
0.25641
0.25641
0.25641
0.25641
0.25641
0
0
0.003356
0.235897
390
15
70
26
0.781879
0.097436
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.1
0.2
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
cb73d22275656e6395ba18ed6c4da9e9c204af6e
2,318
py
Python
domdf_python_tools/secrets.py
domdfcoding/domdf_python_tools
eb15c744eac3005e13fae8d8a5582e955137cf22
[ "MIT" ]
null
null
null
domdf_python_tools/secrets.py
domdfcoding/domdf_python_tools
eb15c744eac3005e13fae8d8a5582e955137cf22
[ "MIT" ]
57
2020-06-16T15:48:20.000Z
2022-03-31T08:35:09.000Z
domdf_python_tools/secrets.py
domdfcoding/domdf_python_tools
eb15c744eac3005e13fae8d8a5582e955137cf22
[ "MIT" ]
null
null
null
# !/usr/bin/env python # # secrets.py """ Functions for working with secrets, such as API tokens. .. versionadded:: 0.4.6 """ # # Copyright © 2020 Dominic Davis-Foster <dominic@davis-foster.co.uk> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated do...
31.324324
96
0.728645
343
2,318
4.833819
0.51312
0.053076
0.016888
0.018094
0.030157
0.030157
0
0
0
0
0
0.009474
0.180328
2,318
73
97
31.753425
0.862632
0.798965
0
0
0
0
0.057604
0
0
0
0
0
0
1
0.214286
false
0
0.071429
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
cb86833dc1005d5379413fe528910c25f4eba3fd
380
py
Python
lebanese_channels/services/teleliban.py
ChadiEM/Lebanese-Channels
8e26f6f4b021367c57eb4ee966e3d4c1511aa77a
[ "MIT" ]
10
2017-05-10T04:23:43.000Z
2020-04-09T19:39:45.000Z
lebanese_channels/services/teleliban.py
ChadiEM/Kodi-Lebanese-Channels
8e26f6f4b021367c57eb4ee966e3d4c1511aa77a
[ "MIT" ]
null
null
null
lebanese_channels/services/teleliban.py
ChadiEM/Kodi-Lebanese-Channels
8e26f6f4b021367c57eb4ee966e3d4c1511aa77a
[ "MIT" ]
2
2019-05-06T23:01:37.000Z
2019-11-06T10:23:24.000Z
from lebanese_channels.channel import Channel from lebanese_channels.utils import stream class TeleLiban(Channel): def get_name(self) -> str: return 'Tele Liban' def get_logo(self) -> str: return 'http://www.teleliban.com.lb/images/telelogo.png' def get_stream_url(self) -> str: r...
27.142857
68
0.7
53
380
4.886792
0.528302
0.069498
0.150579
0.146718
0.162162
0
0
0
0
0
0
0
0.181579
380
13
69
29.230769
0.832797
0
0
0
0
0
0.234211
0
0
0
0
0
0
1
0.333333
false
0
0.222222
0.333333
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
cba27c0be33d5e3ed0ba1c0bd1d6d8d4e6c578fd
122
py
Python
clarisse/var/lib/linux/menus/main_menu/edit/contextualize.py
GuillaumeVFX/pipel
a1bd726239e6887745396723c3aad5d61e88ce44
[ "MIT" ]
2
2020-05-12T11:38:44.000Z
2022-03-07T04:13:50.000Z
clarisse/var/lib/linux/menus/main_menu/edit/contextualize.py
GuillaumeVFX/pipel
a1bd726239e6887745396723c3aad5d61e88ce44
[ "MIT" ]
null
null
null
clarisse/var/lib/linux/menus/main_menu/edit/contextualize.py
GuillaumeVFX/pipel
a1bd726239e6887745396723c3aad5d61e88ce44
[ "MIT" ]
null
null
null
ix.enable_command_history() app = ix.application ix.api.SdkHelpers.contextualize_items(app) ix.disable_command_history()
20.333333
42
0.836066
17
122
5.705882
0.647059
0.28866
0
0
0
0
0
0
0
0
0
0
0.057377
122
6
43
20.333333
0.843478
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cbb411f71fb90007c980aec9ac0492809b12f56d
451
py
Python
shelf/templatetags/shelf_tags.py
neoslaw/django
46896476c4d06679e66cd5fc4255e1e0b1276f60
[ "MIT" ]
null
null
null
shelf/templatetags/shelf_tags.py
neoslaw/django
46896476c4d06679e66cd5fc4255e1e0b1276f60
[ "MIT" ]
null
null
null
shelf/templatetags/shelf_tags.py
neoslaw/django
46896476c4d06679e66cd5fc4255e1e0b1276f60
[ "MIT" ]
null
null
null
from django.template import Library from shelf.models import BookItem register = Library() @register.filter def pub_date(date): return date.year @register.inclusion_tag('tags/show_editions.html') def show_editions(obj): return {'editions': obj.editions.all()} #context @register.inclusion_tag('tags/show_item...
26.529412
67
0.758315
61
451
5.459016
0.459016
0.099099
0.12012
0.144144
0.168168
0
0
0
0
0
0
0
0.113082
451
17
67
26.529412
0.8325
0.015521
0
0
0
0
0.126126
0.051802
0
0
0
0
0
1
0.230769
false
0
0.153846
0.153846
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
cbb5406529161d17a4b9772d64b44e0a0e7481ba
407
py
Python
glue_genomics_viewers/__init__.py
nmearl/glue-genomics-viewers
d6ddd39dbafdb8dad785bcac3f20f3f0fd6abb9b
[ "BSD-3-Clause" ]
null
null
null
glue_genomics_viewers/__init__.py
nmearl/glue-genomics-viewers
d6ddd39dbafdb8dad785bcac3f20f3f0fd6abb9b
[ "BSD-3-Clause" ]
null
null
null
glue_genomics_viewers/__init__.py
nmearl/glue-genomics-viewers
d6ddd39dbafdb8dad785bcac3f20f3f0fd6abb9b
[ "BSD-3-Clause" ]
null
null
null
""" This should really by in the heatmap module """ def setup(): from .heatmap.data_viewer import HeatmapViewer # noqa from .heatmap.cluster_tool import ClusterTool # noqa #from .heatmap.heatmap_coords import HeatmapCoords #noqa #from .genome_track_yo.qt import GenomeTrackViewer from glue.config i...
31.307692
60
0.756757
52
407
5.769231
0.576923
0.11
0.1
0
0
0
0
0
0
0
0
0
0.169533
407
12
61
33.916667
0.887574
0.464373
0
0
0
0
0
0
0
0
0
0
0
1
0.2
true
0
0.6
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
cbccd83faf32f17096c3e8bad1a8de74a764899f
197
py
Python
tests/test_decorator.py
raffaelfoidl/noworkflow
aa4ca189df24fec6c7abd32bcca6a097b21fdf31
[ "MIT" ]
108
2015-02-04T14:16:51.000Z
2022-03-06T13:52:45.000Z
tests/test_decorator.py
raffaelfoidl/noworkflow
aa4ca189df24fec6c7abd32bcca6a097b21fdf31
[ "MIT" ]
92
2015-01-19T14:58:06.000Z
2021-04-19T17:28:50.000Z
tests/test_decorator.py
raffaelfoidl/noworkflow
aa4ca189df24fec6c7abd32bcca6a097b21fdf31
[ "MIT" ]
31
2015-03-03T23:53:59.000Z
2021-11-11T04:23:44.000Z
def func(arg): return arg def dec(obj): return obj @dec def function(): func(1) func(2) @dec class Class(object): @dec def method(self): func(3) func(4)
10.368421
21
0.538071
29
197
3.655172
0.517241
0.113208
0
0
0
0
0
0
0
0
0
0.030303
0.329949
197
18
22
10.944444
0.772727
0
0
0.214286
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
cbe5892ae2fd83b957859535796b06e4fe8f1c71
246
py
Python
HW7/YaRa1312/Pleshyvtseva PythonCore CW Are_You_Playing_Banjo.py
kolyasalubov/Lv-677.PythonCore
c9f9107c734a61e398154a90b8a3e249276c2704
[ "MIT" ]
null
null
null
HW7/YaRa1312/Pleshyvtseva PythonCore CW Are_You_Playing_Banjo.py
kolyasalubov/Lv-677.PythonCore
c9f9107c734a61e398154a90b8a3e249276c2704
[ "MIT" ]
null
null
null
HW7/YaRa1312/Pleshyvtseva PythonCore CW Are_You_Playing_Banjo.py
kolyasalubov/Lv-677.PythonCore
c9f9107c734a61e398154a90b8a3e249276c2704
[ "MIT" ]
6
2022-02-22T22:30:49.000Z
2022-03-28T12:51:19.000Z
# CodeWars Are_You_Playing_Banjo_? def are_you_playing_banjo(name): name = name.strip() if name[0] == "R" or name[0] == "r": return f"{name} plays banjo" else: return f"{name} does not play banjo" # Implement me!
24.6
44
0.609756
37
246
3.864865
0.567568
0.083916
0.181818
0.251748
0
0
0
0
0
0
0
0.010929
0.256098
246
9
45
27.333333
0.770492
0.186992
0
0
0
0
0.233503
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1dab2649a888734a9acb1c63ac12e7ef5913e671
856
py
Python
bigfastapi/schemas/settings_schemas.py
danieliheonu/bigfastapi
483554776195c9f38bb46ba719b613360eda1028
[ "MIT" ]
1
2022-03-20T21:46:05.000Z
2022-03-20T21:46:05.000Z
bigfastapi/schemas/settings_schemas.py
danieliheonu/bigfastapi
483554776195c9f38bb46ba719b613360eda1028
[ "MIT" ]
null
null
null
bigfastapi/schemas/settings_schemas.py
danieliheonu/bigfastapi
483554776195c9f38bb46ba719b613360eda1028
[ "MIT" ]
null
null
null
import datetime as _dt from lib2to3.pgen2.token import OP import pydantic as pydantic from pydantic import Field from uuid import UUID from typing import List, Optional from validators import email from bigfastapi.schemas.organisation_schemas import _OrganizationBase import bigfastapi.schemas.users_schemas as User...
19.454545
69
0.740654
105
856
5.952381
0.457143
0.1056
0.144
0.0864
0
0
0
0
0
0
0
0.004399
0.203271
856
43
70
19.906977
0.912023
0
0
0.074074
0
0
0
0
0
0
0
0
0
1
0
false
0.074074
0.407407
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
1dc997c546017086dd66eb82604d025ef90ff9dd
17
py
Python
backend/shared/frontend_urls.py
catchysong/portunus
957d9fdd9d786cf5fca4310c85bff0ebc10ce334
[ "MIT" ]
null
null
null
backend/shared/frontend_urls.py
catchysong/portunus
957d9fdd9d786cf5fca4310c85bff0ebc10ce334
[ "MIT" ]
2
2020-11-20T00:10:47.000Z
2020-12-02T21:30:21.000Z
backend/shared/frontend_urls.py
catchysong/portunus
957d9fdd9d786cf5fca4310c85bff0ebc10ce334
[ "MIT" ]
null
null
null
LOGIN = "/login"
8.5
16
0.588235
2
17
5
0.5
0
0
0
0
0
0
0
0
0
0
0
0.176471
17
1
17
17
0.714286
0
0
0
0
0
0.352941
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3