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
1c8628f13d65ff3439c3fbd013fa30e504e0ca89
918
py
Python
office365/sharepoint/view_collection.py
andebor/Office365-REST-Python-Client
ffd0ab4cf742b2e5ae7d8c44e937495aece41e07
[ "MIT" ]
null
null
null
office365/sharepoint/view_collection.py
andebor/Office365-REST-Python-Client
ffd0ab4cf742b2e5ae7d8c44e937495aece41e07
[ "MIT" ]
null
null
null
office365/sharepoint/view_collection.py
andebor/Office365-REST-Python-Client
ffd0ab4cf742b2e5ae7d8c44e937495aece41e07
[ "MIT" ]
null
null
null
from office365.runtime.client_object_collection import ClientObjectCollection from office365.runtime.resource_path_service_operation import ResourcePathServiceOperation from office365.sharepoint.view import View class ViewCollection(ClientObjectCollection): """Represents a collection of View resources.""" def...
45.9
111
0.734205
103
918
6.300971
0.378641
0.09245
0.061633
0.046225
0.329738
0.329738
0.329738
0.234206
0.234206
0.234206
0
0.011905
0.176471
918
19
112
48.315789
0.846561
0.140523
0
0.166667
0
0
0.021992
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2
1c8d061b0e5a02933d936632c10e61f84e6418bb
2,558
py
Python
src/tests/control/test_devices.py
bsod85/pretix
d86b3a217352f7ad24008685393f9af18fcf6e6c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/tests/control/test_devices.py
bsod85/pretix
d86b3a217352f7ad24008685393f9af18fcf6e6c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/tests/control/test_devices.py
bsod85/pretix
d86b3a217352f7ad24008685393f9af18fcf6e6c
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
import pytest from django.utils.timezone import now from pretix.base.models import Device, Event, Organizer, Team, User from pretix.base.models.devices import generate_api_token @pytest.fixture def organizer(): return Organizer.objects.create(name='Dummy', slug='dummy') @pytest.fixture def event(organizer): ...
30.452381
106
0.713057
342
2,558
5.19883
0.219298
0.061867
0.050619
0.040495
0.422947
0.404387
0.287964
0.259843
0.208099
0.156355
0
0.000915
0.145817
2,558
83
107
30.819277
0.812815
0
0
0.301587
1
0
0.157154
0.073495
0
0
0
0
0.142857
1
0.142857
false
0.063492
0.063492
0.047619
0.285714
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
0
0
0
2
1c9164529ab22e884811a536f6b8ba91eb8bbe19
420
py
Python
tests/framework/test_ingress.py
praus/shapy
7fa5512d9015b4921870f212495280fbb0675164
[ "MIT" ]
54
2015-01-14T10:14:11.000Z
2022-02-25T17:12:10.000Z
tests/framework/test_ingress.py
praus/shapy
7fa5512d9015b4921870f212495280fbb0675164
[ "MIT" ]
1
2015-12-29T07:37:17.000Z
2015-12-30T06:17:41.000Z
tests/framework/test_ingress.py
praus/shapy
7fa5512d9015b4921870f212495280fbb0675164
[ "MIT" ]
14
2015-02-10T15:29:48.000Z
2021-09-22T03:01:13.000Z
import unittest from shapy.framework.tcelements import * from shapy.framework.executor import run from tests import TCTestCase class TestIngress(TCTestCase): def setUp(self): self.interface = Interface('lo') def test_ingress_filter(self): q = IngressQdisc() q.add(RedirectFilter('...
24.705882
54
0.688095
52
420
5.480769
0.596154
0.136842
0.126316
0
0
0
0
0
0
0
0
0.021021
0.207143
420
16
55
26.25
0.834835
0
0
0
0
0
0.045238
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
1c9a500d9b0aad2641a02cde2360c7ed9e056cc6
3,494
py
Python
test/test_util_registry.py
SimulatedANeal/carpedm
22bd5d28cfff50d7462e2a8e1b8dc1675e2a4c89
[ "MIT" ]
2
2020-09-30T04:59:06.000Z
2021-03-30T20:42:44.000Z
test/test_util_registry.py
SimulatedANeal/carpedm
22bd5d28cfff50d7462e2a8e1b8dc1675e2a4c89
[ "MIT" ]
null
null
null
test/test_util_registry.py
SimulatedANeal/carpedm
22bd5d28cfff50d7462e2a8e1b8dc1675e2a4c89
[ "MIT" ]
1
2018-05-25T07:15:16.000Z
2018-05-25T07:15:16.000Z
# # Copyright (C) 2018 Neal Digre. # # This software may be modified and distributed under the terms # of the MIT license. See the LICENSE file for details. # # # Portions of this module are copied or lightly modified from the # Tensor2Tensor registry_test module, so here is their license: # # Copyright 2018 The Tensor...
29.361345
79
0.697195
401
3,494
5.925187
0.416459
0.056818
0.05303
0.042088
0.152357
0.092593
0.092593
0
0
0
0
0.013763
0.209788
3,494
118
80
29.610169
0.846795
0.305381
0
0.350877
0
0
0.150125
0
0
0
0
0
0.263158
1
0.22807
false
0.105263
0.087719
0
0.385965
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
0
0
0
2
1c9a93508b958132a0c4b43ee8f248a5003366fb
383
py
Python
pay-api/migrations/versions/8f7565cf50c1_.py
stevenc987/sbc-pay
04f02f362f88a30c082b0643583b8d0ebff6063f
[ "Apache-2.0" ]
null
null
null
pay-api/migrations/versions/8f7565cf50c1_.py
stevenc987/sbc-pay
04f02f362f88a30c082b0643583b8d0ebff6063f
[ "Apache-2.0" ]
null
null
null
pay-api/migrations/versions/8f7565cf50c1_.py
stevenc987/sbc-pay
04f02f362f88a30c082b0643583b8d0ebff6063f
[ "Apache-2.0" ]
null
null
null
"""empty message Revision ID: 8f7565cf50c1 Revises: 872760122cc9, 8652bf9c03ff Create Date: 2020-10-02 11:11:49.823678 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = '8f7565cf50c1' down_revision = ('872760122cc9', '8652bf9c03ff') branch_labels = None depends_o...
15.32
48
0.741514
48
383
5.854167
0.75
0.170819
0
0
0
0
0
0
0
0
0
0.218069
0.16188
383
24
49
15.958333
0.657321
0.407311
0
0.2
0
0
0.164384
0
0
0
0
0
0
1
0.2
false
0.2
0.2
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
98bba1bb3ab4288928a1669d17e724ae9a0d33c2
3,760
py
Python
zipline/__init__.py
chalant/pluto
e7bfd35a2c1fc0e0753bd2f840b0a4385b5124fc
[ "Apache-2.0" ]
null
null
null
zipline/__init__.py
chalant/pluto
e7bfd35a2c1fc0e0753bd2f840b0a4385b5124fc
[ "Apache-2.0" ]
null
null
null
zipline/__init__.py
chalant/pluto
e7bfd35a2c1fc0e0753bd2f840b0a4385b5124fc
[ "Apache-2.0" ]
null
null
null
# # # # Copyright 2015 Quantopian, Inc. # # # # 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 la...
29.147287
80
0.668617
483
3,760
5.049689
0.418219
0.02296
0.01804
0.01312
0.02542
0.02542
0.02542
0
0
0
0
0.004819
0.227394
3,760
128
81
29.375
0.834768
0.925
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
98bd00128cc88c306abd43b1058840e641926a91
195
py
Python
src/basics/sql_lite/update_data.py
FoxNeo/MyPythonProjects
3499ef0853f0087f6f143e1633b0a88a3d7b9818
[ "MIT" ]
null
null
null
src/basics/sql_lite/update_data.py
FoxNeo/MyPythonProjects
3499ef0853f0087f6f143e1633b0a88a3d7b9818
[ "MIT" ]
null
null
null
src/basics/sql_lite/update_data.py
FoxNeo/MyPythonProjects
3499ef0853f0087f6f143e1633b0a88a3d7b9818
[ "MIT" ]
null
null
null
import sqlite3 connect = sqlite3.connect("production.db") cursor = connect.cursor() cursor.execute("UPDATE PERSON SET edad = 19 WHERE nombre = 'Conker'") connect.commit() connect.close()
24.375
70
0.723077
24
195
5.875
0.708333
0.198582
0
0
0
0
0
0
0
0
0
0.023952
0.14359
195
7
71
27.857143
0.820359
0
0
0
0
0
0.340426
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
98c56839c6c8ff2db03c4e3a4f565347728ce5e0
4,541
py
Python
llvm-7.0.0.src/utils/unicode-case-fold.py
sillywalk/grazz
a0adb1a90d41ff9006d8c1476546263f728b3c83
[ "Apache-2.0" ]
171
2018-09-17T13:15:12.000Z
2022-03-18T03:47:04.000Z
llvm-7.0.0.src/utils/unicode-case-fold.py
sillywalk/grazz
a0adb1a90d41ff9006d8c1476546263f728b3c83
[ "Apache-2.0" ]
51
2019-10-23T11:55:08.000Z
2021-12-21T06:32:11.000Z
llvm-7.0.0.src/utils/unicode-case-fold.py
sillywalk/grazz
a0adb1a90d41ff9006d8c1476546263f728b3c83
[ "Apache-2.0" ]
35
2018-09-18T07:46:53.000Z
2022-03-27T07:59:48.000Z
#!/usr/bin/env python """ Unicode case folding database conversion utility Parses the database and generates a C++ function which implements the case folding algorithm. The database entries are of the form: <code>; <status>; <mapping>; # <name> <status> can be one of four characters: C - Common mappings S - ma...
32.905797
89
0.618146
663
4,541
4.180995
0.277526
0.056277
0.007215
0.012626
0.16342
0.093434
0.055916
0.050505
0.034632
0.034632
0
0.02028
0.229024
4,541
137
90
33.145985
0.771494
0.277692
0
0.2
1
0.026667
0.292302
0.104575
0
0
0
0
0
0
null
null
0
0.04
null
null
0.253333
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
0
0
2
98d0ac63dc3b2801dd2a6ec85e229c55affc71b1
703
py
Python
myproject/core/clusterAnalysis.py
xiaoxiansheng19/data_analysis
9e05aada3f545472500e04225d8537b7f0f90a85
[ "MIT" ]
null
null
null
myproject/core/clusterAnalysis.py
xiaoxiansheng19/data_analysis
9e05aada3f545472500e04225d8537b7f0f90a85
[ "MIT" ]
null
null
null
myproject/core/clusterAnalysis.py
xiaoxiansheng19/data_analysis
9e05aada3f545472500e04225d8537b7f0f90a85
[ "MIT" ]
null
null
null
# from sklearn.cluster import DBSCAN,KMeans # # # def run(data,radius=300): # res={} # # 默认参数 epsilon=0.001, min_samples=200 # epsilon = radius / 100000 # # epsilon = 0.003 # min_samples = 100 # db = DBSCAN(eps=epsilon, min_samples=min_samples) # # eps表示两个向量可以被视作为同一个类的最大的距离 # # min_sampl...
33.47619
76
0.627312
92
703
4.565217
0.565217
0.059524
0.047619
0
0
0
0
0
0
0
0
0.054307
0.240398
703
21
77
33.47619
0.73221
0.930299
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
98d580323bddffeab7acfa9058f08c58277e005a
1,280
py
Python
examples/api/default_value.py
clamdad/atom
45d8a2e696002914dd5b71c150edbe54e9ba1e59
[ "BSD-3-Clause-Clear" ]
222
2015-01-01T10:16:41.000Z
2022-03-15T21:28:08.000Z
examples/api/default_value.py
clamdad/atom
45d8a2e696002914dd5b71c150edbe54e9ba1e59
[ "BSD-3-Clause-Clear" ]
100
2015-01-28T16:26:04.000Z
2022-03-29T07:17:44.000Z
examples/api/default_value.py
clamdad/atom
45d8a2e696002914dd5b71c150edbe54e9ba1e59
[ "BSD-3-Clause-Clear" ]
45
2015-01-05T14:08:13.000Z
2022-01-31T14:17:20.000Z
# -------------------------------------------------------------------------------------- # Copyright (c) 2013-2021, Nucleic Development Team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file LICENSE, distributed with this software. # --------------------------------------...
24.615385
88
0.604688
161
1,280
4.652174
0.515528
0.074766
0.044059
0
0
0
0
0
0
0
0
0.017062
0.175781
1,280
51
89
25.098039
0.692891
0.55
0
0
0
0
0.045372
0
0
0
0
0
0
1
0.166667
false
0
0.111111
0.111111
0.777778
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
98e5e44eba98b059fc30bc12fb7cf43b26e82f78
365
py
Python
app/models/endeavors.py
theLaborInVain/kdm-manager-api
fa8744c9b8a739262d1b94900648254cc69d16e1
[ "MIT" ]
2
2020-03-04T13:43:45.000Z
2020-11-03T20:34:21.000Z
app/models/endeavors.py
theLaborInVain/kdm-manager-api
fa8744c9b8a739262d1b94900648254cc69d16e1
[ "MIT" ]
64
2019-07-19T19:19:50.000Z
2022-03-03T21:19:28.000Z
app/models/endeavors.py
theLaborInVain/kdm-manager-api
fa8744c9b8a739262d1b94900648254cc69d16e1
[ "MIT" ]
null
null
null
""" The Endeavors asset collection has a number of irregular assets. Be careful writing any custom code here. """ from app.assets import endeavors from app import models class Assets(models.AssetCollection): def __init__(self, *args, **kwargs): self.root_module = endeavors models.Asset...
20.277778
79
0.706849
45
365
5.533333
0.666667
0.056225
0.096386
0.144578
0
0
0
0
0
0
0
0
0.205479
365
17
80
21.470588
0.858621
0.287671
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
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
0
0
0
1
0
1
0
0
2
98e97be18c63f8ef9e8f59a9c1da5ea5229f6454
2,619
py
Python
qiskit_experiments/data_processing/__init__.py
yoshida-ryuhei/qiskit-experiments
82561acf86b407dcda0a9ec69fe18de2b0a592a2
[ "Apache-2.0" ]
null
null
null
qiskit_experiments/data_processing/__init__.py
yoshida-ryuhei/qiskit-experiments
82561acf86b407dcda0a9ec69fe18de2b0a592a2
[ "Apache-2.0" ]
null
null
null
qiskit_experiments/data_processing/__init__.py
yoshida-ryuhei/qiskit-experiments
82561acf86b407dcda0a9ec69fe18de2b0a592a2
[ "Apache-2.0" ]
null
null
null
# This code is part of Qiskit. # # (C) Copyright IBM 2021. # # This code is licensed under the Apache License, Version 2.0. You may # obtain a copy of this license in the LICENSE.txt file in the root directory # of this source tree or at http://www.apache.org/licenses/LICENSE-2.0. # # Any modifications or derivative wo...
31.178571
97
0.71974
345
2,619
5.417391
0.489855
0.052434
0.033708
0.049759
0.166934
0.104869
0.104869
0.104869
0.104869
0.104869
0
0.004598
0.16953
2,619
83
98
31.554217
0.854713
0.888507
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
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
98f70d5ddc8fc406905d54058613214bd95d62ce
290
py
Python
__init__.py
CloudCIX/rolly
8fafd655cb82881ae2cf75a475904cddc39e2f9a
[ "Apache-2.0" ]
6
2019-12-09T16:13:21.000Z
2020-07-16T11:42:33.000Z
__init__.py
CloudCIX/rolly
8fafd655cb82881ae2cf75a475904cddc39e2f9a
[ "Apache-2.0" ]
null
null
null
__init__.py
CloudCIX/rolly
8fafd655cb82881ae2cf75a475904cddc39e2f9a
[ "Apache-2.0" ]
1
2021-01-02T09:44:39.000Z
2021-01-02T09:44:39.000Z
""" Rocky is a CLI based provisioning and management tool for CloudCIX Cloud software. Rocky is designed to operate in an out of band (OOB) network, serarated from other CloudCIX networks. Rocky's purpose is to facilitate monitoring, testing, debug and recovery """ __version__ = '0.3.5'
32.222222
101
0.772414
45
290
4.888889
0.844444
0.063636
0
0
0
0
0
0
0
0
0
0.012346
0.162069
290
8
102
36.25
0.893004
0.889655
0
0
0
0
0.208333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
98f921edc0f4676c7070bf0e769ce5e1dab739bb
1,353
py
Python
daproli/manipulation.py
ermshaua/daproli
c1f7aeec431d9c60ae06eeac23455c1a03bc82cf
[ "BSD-3-Clause" ]
null
null
null
daproli/manipulation.py
ermshaua/daproli
c1f7aeec431d9c60ae06eeac23455c1a03bc82cf
[ "BSD-3-Clause" ]
null
null
null
daproli/manipulation.py
ermshaua/daproli
c1f7aeec431d9c60ae06eeac23455c1a03bc82cf
[ "BSD-3-Clause" ]
null
null
null
from .utils import _get_return_type def windowed(data, size, step=1, ret_type=None): ''' dp.windowed applies a window function to a collection of data items. Parameters ----------- :param data: an iterable collection of data :param size: the window size :param step: the window step :p...
30.066667
81
0.610495
209
1,353
3.851675
0.272727
0.104348
0.079503
0.014907
0.595031
0.532919
0.532919
0.532919
0.532919
0.532919
0
0.035853
0.237251
1,353
44
82
30.75
0.744186
0.618625
0
0.285714
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
c704254fb8b8187007babe4836f7f7b5682b3b65
888
py
Python
setup.py
ASKBOT/python-import-utils
9cc317cc2a42dd46d41d53e8209203ccfe528c11
[ "BSD-2-Clause" ]
1
2015-07-19T10:36:42.000Z
2015-07-19T10:36:42.000Z
setup.py
ASKBOT/python-import-utils
9cc317cc2a42dd46d41d53e8209203ccfe528c11
[ "BSD-2-Clause" ]
null
null
null
setup.py
ASKBOT/python-import-utils
9cc317cc2a42dd46d41d53e8209203ccfe528c11
[ "BSD-2-Clause" ]
null
null
null
import ez_setup ez_setup.use_setuptools() from setuptools import setup, find_packages import import_utils setup( name = "import-utils", version = import_utils.__version__, description = 'A module that supports simple programmatic module imports', packages = find_packages(), author = 'Evgeny.Fadeev...
30.62069
78
0.647523
95
888
5.842105
0.621053
0.079279
0.135135
0.140541
0
0
0
0
0
0
0
0.010279
0.233108
888
28
79
31.714286
0.804699
0
0
0
0
0
0.431306
0.025901
0
0
0
0
0
1
0
true
0
0.307692
0
0.307692
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
0
0
0
2
c70c9127731c0e67539a6749c14a06e75f1c3481
789
py
Python
app/api/v1/validators/validators.py
GraceKiarie/iReporter
1011f878f9fb643798192aeed1b68c3e6de4dedc
[ "MIT" ]
1
2018-12-14T09:52:39.000Z
2018-12-14T09:52:39.000Z
app/api/v1/validators/validators.py
GraceKiarie/iReporter
1011f878f9fb643798192aeed1b68c3e6de4dedc
[ "MIT" ]
6
2018-12-08T11:15:46.000Z
2018-12-15T11:04:36.000Z
app/api/v1/validators/validators.py
GraceKiarie/iReporter
1011f878f9fb643798192aeed1b68c3e6de4dedc
[ "MIT" ]
5
2018-12-04T11:00:54.000Z
2019-06-13T12:53:50.000Z
""" This module does validation for data input in incidents """ import re class Validate(): """ methods for validatin incidents input data """ def valid_email(self, email): self.vemail = re.match( r"(^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+$)", email) if not self.vem...
24.65625
70
0.532319
100
789
4.16
0.4
0.028846
0.048077
0.057692
0.230769
0.230769
0.096154
0.043269
0
0
0
0.017078
0.332066
789
32
71
24.65625
0.772296
0.166033
0
0.333333
0
0.055556
0.120661
0.120661
0
0
0
0
0
1
0.166667
false
0.166667
0.055556
0
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
c7102803d3080f23edcd56ddbfc0360cc305ab8a
971
py
Python
src/eodc_openeo_bindings/map_comparison_processes.py
eodcgmbh/eodc-openeo-bindings
4e80eba036771a0c81359e1ac66862f1eead407b
[ "MIT" ]
null
null
null
src/eodc_openeo_bindings/map_comparison_processes.py
eodcgmbh/eodc-openeo-bindings
4e80eba036771a0c81359e1ac66862f1eead407b
[ "MIT" ]
7
2020-02-18T17:12:31.000Z
2020-09-24T07:19:04.000Z
src/eodc_openeo_bindings/map_comparison_processes.py
eodcgmbh/eodc-openeo-bindings
4e80eba036771a0c81359e1ac66862f1eead407b
[ "MIT" ]
null
null
null
""" """ from eodc_openeo_bindings.map_utils import map_default def map_lt(process): """ """ param_dict = {'y': 'float'} return map_default(process, 'lt', 'apply', param_dict) def map_lte(process): """ """ param_dict = {'y': 'float'} return map_default(process, 'lte', 'apply',...
15.918033
59
0.589083
119
971
4.571429
0.319328
0.198529
0.147059
0.15625
0.577206
0.330882
0.330882
0.330882
0.330882
0
0
0
0.236869
971
60
60
16.183333
0.734143
0.054583
0
0.2
0
0
0.160377
0
0
0
0
0
0
1
0.25
false
0
0.05
0
0.55
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
c71dc157e40f86937d395921d62896697e8b4c70
186
py
Python
fizzbuzz_for_02.py
toastyxen/FizzBuzz
094270e3882e743a80c5d32b3903c2483d37755f
[ "MIT" ]
null
null
null
fizzbuzz_for_02.py
toastyxen/FizzBuzz
094270e3882e743a80c5d32b3903c2483d37755f
[ "MIT" ]
null
null
null
fizzbuzz_for_02.py
toastyxen/FizzBuzz
094270e3882e743a80c5d32b3903c2483d37755f
[ "MIT" ]
null
null
null
"""Fizzbuzz for loop variant 3""" for x in range(1, 101): OUTPUT = "" if x % 3 == 0: OUTPUT += "Fizz" if x % 5 == 0: OUTPUT += "Buzz" print(OUTPUT or x)
18.6
33
0.473118
28
186
3.142857
0.642857
0.068182
0
0
0
0
0
0
0
0
0
0.07563
0.360215
186
9
34
20.666667
0.663866
0.145161
0
0
0
0
0.052288
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c721d7a43c6300b41e4a0357169d5ebc646135d1
235
py
Python
setup.py
joesan/housing-classification-example
93f921cf01c79ab63732ef302ab52d2c9ffedee1
[ "FTL" ]
null
null
null
setup.py
joesan/housing-classification-example
93f921cf01c79ab63732ef302ab52d2c9ffedee1
[ "FTL" ]
null
null
null
setup.py
joesan/housing-classification-example
93f921cf01c79ab63732ef302ab52d2c9ffedee1
[ "FTL" ]
null
null
null
from setuptools import find_packages, setup setup( name='src', packages=find_packages(), version='0.1.0', description='Python codebase for the housing classification ML problem', author='Joesan', license='', )
21.363636
76
0.685106
28
235
5.678571
0.821429
0.150943
0
0
0
0
0
0
0
0
0
0.015789
0.191489
235
10
77
23.5
0.821053
0
0
0
0
0
0.302128
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
c7655b5b6676c78858c562c5f53a9ea086d6bb5c
228
py
Python
bot/venv/lib/python3.7/site-packages/scipy/version.py
manaccac/sc2_bot
3aa8b3711378b71fd0a44662cdd7148846e39530
[ "MIT" ]
76
2020-07-06T14:44:05.000Z
2022-02-14T15:30:21.000Z
bot/venv/lib/python3.7/site-packages/scipy/version.py
manaccac/sc2_bot
3aa8b3711378b71fd0a44662cdd7148846e39530
[ "MIT" ]
37
2020-10-20T08:30:53.000Z
2020-12-22T13:15:45.000Z
bot/venv/lib/python3.7/site-packages/scipy/version.py
manaccac/sc2_bot
3aa8b3711378b71fd0a44662cdd7148846e39530
[ "MIT" ]
15
2020-11-30T22:12:22.000Z
2020-12-09T01:32:48.000Z
# THIS FILE IS GENERATED FROM SCIPY SETUP.PY short_version = '1.5.4' version = '1.5.4' full_version = '1.5.4' git_revision = '19acfed431060aafaa963f7e530c95e70cd4b85c' release = True if not release: version = full_version
20.727273
57
0.745614
33
228
5.030303
0.636364
0.144578
0.162651
0.180723
0
0
0
0
0
0
0
0.160622
0.153509
228
10
58
22.8
0.699482
0.184211
0
0
1
0
0.300546
0.218579
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c76b9236e24c24d26fa468bcec0fccac39b536c2
27,999
py
Python
pysnmp/ZYXEL-AclV2-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/ZYXEL-AclV2-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/ZYXEL-AclV2-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module ZYXEL-AclV2-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ZYXEL-AclV2-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 21:43:03 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Mar 27...
144.324742
5,641
0.792314
2,770
27,999
8.007942
0.088448
0.009197
0.012713
0.016049
0.369038
0.350509
0.287666
0.283293
0.218736
0.210711
0
0.09709
0.075931
27,999
193
5,642
145.072539
0.760252
0.011572
0
0
0
0
0.099002
0.027073
0
0
0
0
0
1
0
false
0
0.053763
0
0.053763
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c76d58f2d02929d5eb4690fddd86e4d2f3a6dc3d
244
py
Python
Exercicios/ex061.py
jlsmirandela/Curso_Python
2419b68d335a2a42beb3e98fb93552aca1264cae
[ "MIT" ]
null
null
null
Exercicios/ex061.py
jlsmirandela/Curso_Python
2419b68d335a2a42beb3e98fb93552aca1264cae
[ "MIT" ]
null
null
null
Exercicios/ex061.py
jlsmirandela/Curso_Python
2419b68d335a2a42beb3e98fb93552aca1264cae
[ "MIT" ]
null
null
null
print('-+-' *10) print(' GERADOR DE PA') print('+-+' * 10) c = 1 ter = int(input('Insira o primeiro termo - ')) rz = int(input('Insira a razão - ')) while c <= 10: print(ter, ' → ', end=' ') ter += rz c += 1 print('FIM')
14.352941
46
0.487705
36
244
3.333333
0.583333
0.116667
0.233333
0
0
0
0
0
0
0
0
0.045198
0.27459
244
16
47
15.25
0.627119
0
0
0
0
0
0.312757
0
0
0
0
0
0
1
0
false
0
0
0
0
0.454545
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
c774cc70f7362fd8daf5037ff3abf0db4ccef896
221
py
Python
tutorial_application/forms.py
yamasakih/django_rdkit_tutorial
9ac591963976da38cae962de2b98702bbb919cf4
[ "MIT" ]
2
2018-12-04T00:01:26.000Z
2021-03-25T08:28:06.000Z
tutorial_application/forms.py
yamasakih/django-rdkit-tutorial
9ac591963976da38cae962de2b98702bbb919cf4
[ "MIT" ]
null
null
null
tutorial_application/forms.py
yamasakih/django-rdkit-tutorial
9ac591963976da38cae962de2b98702bbb919cf4
[ "MIT" ]
null
null
null
from django_rdkit import models from django.forms.models import ModelForm from .models import Compound class SubstructureSearchForm(ModelForm): class Meta: model = Compound fields = ('molecule', )
18.416667
41
0.723982
24
221
6.625
0.583333
0.125786
0
0
0
0
0
0
0
0
0
0
0.21267
221
11
42
20.090909
0.913793
0
0
0
0
0
0.036199
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.714286
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
c788d246174ead31e98e8d4b7639bcc5eb1a1074
580
py
Python
reddit2telegram/channels/news/app.py
mainyordle/reddit2telegram
1163e15aed3b6ff0fba65b222d3d9798f644c386
[ "MIT" ]
187
2016-09-20T09:15:54.000Z
2022-03-29T12:22:33.000Z
reddit2telegram/channels/news/app.py
mainyordle/reddit2telegram
1163e15aed3b6ff0fba65b222d3d9798f644c386
[ "MIT" ]
84
2016-09-22T14:25:07.000Z
2022-03-19T01:26:17.000Z
reddit2telegram/channels/news/app.py
mainyordle/reddit2telegram
1163e15aed3b6ff0fba65b222d3d9798f644c386
[ "MIT" ]
172
2016-09-21T15:39:39.000Z
2022-03-16T15:15:58.000Z
#encoding:utf-8 from utils import weighted_random_subreddit t_channel = '@news756' subreddit = weighted_random_subreddit({ 'politics': 0.5, 'news': 0.5 }) def send_post(submission, r2t): return r2t.send_simple(submission, text='{title}\n\n{self_text}\n\n/r/{subreddit_name}\n{short_link}', ...
27.619048
75
0.653448
90
580
4.011111
0.388889
0.033241
0.041551
0.166205
0.443213
0.443213
0.443213
0.443213
0.371191
0.199446
0
0.020325
0.151724
580
20
76
29
0.713415
0.024138
0
0
0
0.071429
0.479646
0.444248
0
0
0
0
0
1
0.071429
false
0
0.071429
0.071429
0.214286
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c7a1b4eccd5313fe3d7a77b6d5633a8332809125
2,012
py
Python
endpoints/UserEndpoint.py
GardenersGalore/server
f7d7f8ae07b56fc3c4fbe46f0784329cd94ace2d
[ "MIT" ]
null
null
null
endpoints/UserEndpoint.py
GardenersGalore/server
f7d7f8ae07b56fc3c4fbe46f0784329cd94ace2d
[ "MIT" ]
1
2021-06-02T00:35:43.000Z
2021-06-02T00:35:43.000Z
endpoints/UserEndpoint.py
GardenersGalore/server
f7d7f8ae07b56fc3c4fbe46f0784329cd94ace2d
[ "MIT" ]
null
null
null
import json from flask import request from flask_restful import Resource, abort, reqparse from models.User import User """ POST Creates a new resource. GET Retrieves a resource. PUT Updates an existing resource. DELETE Deletes a resource. """ class UserEndpoint(Resource)...
24.240964
97
0.548708
242
2,012
4.504132
0.338843
0.036697
0.022018
0.040367
0.13945
0.077064
0
0
0
0
0
0.011494
0.351392
2,012
82
98
24.536585
0.823755
0.029821
0
0.117647
0
0
0.164514
0
0
0
0
0.012195
0
1
0.078431
false
0.117647
0.078431
0
0.215686
0.019608
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
c7aedff29cfbc578d32b6b83c7dce7618a9b1e46
680
py
Python
src/pvt_model/pvt_system/pipe.py
BenWinchester/PVTModel
6bf3976b06f406f632e0a9e525cd8b05359da239
[ "MIT" ]
1
2021-05-11T14:15:11.000Z
2021-05-11T14:15:11.000Z
src/pvt_model/pvt_system/pipe.py
BenWinchester/PVTModel
6bf3976b06f406f632e0a9e525cd8b05359da239
[ "MIT" ]
14
2021-02-23T11:53:08.000Z
2021-11-16T10:45:31.000Z
src/pvt_model/pvt_system/pipe.py
BenWinchester/PVTModel
6bf3976b06f406f632e0a9e525cd8b05359da239
[ "MIT" ]
null
null
null
#!/usr/bin/python3.7 ######################################################################################## # pvt_collector/pipe.py - Represents a pipe within the system. # # Author: Ben Winchester # Copyright: Ben Winchester, 2021 ######################################################################################...
21.25
88
0.507353
67
680
5.074627
0.552239
0.097059
0.132353
0.185294
0.211765
0
0
0
0
0
0
0.010526
0.161765
680
31
89
21.935484
0.585965
0.511765
0
0
0
0
0.033613
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
c7cce7b123c5282102e29d889ac9141ac4ccb76e
10,135
py
Python
pyparser.py
ddurvaux/PyUnpacker
13c90379c26c4a9ae8c2c4d94e26f2de9709ae1d
[ "MIT" ]
null
null
null
pyparser.py
ddurvaux/PyUnpacker
13c90379c26c4a9ae8c2c4d94e26f2de9709ae1d
[ "MIT" ]
1
2017-02-06T11:06:11.000Z
2017-02-06T11:07:29.000Z
pyparser.py
ddurvaux/PyUnpacker
13c90379c26c4a9ae8c2c4d94e26f2de9709ae1d
[ "MIT" ]
null
null
null
#!/usr/bin/python # # This tool is an attempt to automate some taks related # to malware unpacking. # # Most (if not all) of the tricks used in this tool # directly comes from an excellent course given # by Nicolas Brulez (@nicolasbrulez) # # Tool developped by David DURVAUX for Autopsit # (commercial brand of N-Labs...
29.207493
152
0.651998
1,235
10,135
5.273684
0.31417
0.025334
0.020881
0.016889
0.093352
0.051129
0.037771
0.018732
0.018732
0.018732
0
0.014039
0.170696
10,135
347
153
29.207493
0.760857
0.311593
0
0.20904
0
0
0.16002
0.007311
0
0
0.010967
0.017291
0
0
null
null
0
0.045198
null
null
0.096045
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
c7d12defacc5fa8896212434511fb502a03f0a3b
74,691
py
Python
models_nonconvex_simple2/ndcc13persp.py
grossmann-group/pyomo-MINLP-benchmarking
714f0a0dffd61675649a805683c0627af6b4929e
[ "MIT" ]
null
null
null
models_nonconvex_simple2/ndcc13persp.py
grossmann-group/pyomo-MINLP-benchmarking
714f0a0dffd61675649a805683c0627af6b4929e
[ "MIT" ]
null
null
null
models_nonconvex_simple2/ndcc13persp.py
grossmann-group/pyomo-MINLP-benchmarking
714f0a0dffd61675649a805683c0627af6b4929e
[ "MIT" ]
null
null
null
# MINLP written by GAMS Convert at 08/20/20 01:30:45 # # Equation counts # Total E G L N X C B # 297 170 42 85 0 0 0 0 # # Variable counts # x b i s1s s2s sc ...
53.085288
120
0.629634
13,713
74,691
3.429447
0.081528
0.033895
0.171472
0.267925
0.678426
0.663605
0.663605
0.663435
0.663435
0.136514
0
0.20453
0.164732
74,691
1,406
121
53.123044
0.549281
0.009104
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.00092
0
0.00092
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
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
2
c7e1894d1594534627afedcd4ba2104fda1ac3a6
927
py
Python
setup.py
YiuRULE/nats.py
3a78ba4c385e2069daf5ff560aadc30968af1ccd
[ "Apache-2.0" ]
null
null
null
setup.py
YiuRULE/nats.py
3a78ba4c385e2069daf5ff560aadc30968af1ccd
[ "Apache-2.0" ]
null
null
null
setup.py
YiuRULE/nats.py
3a78ba4c385e2069daf5ff560aadc30968af1ccd
[ "Apache-2.0" ]
null
null
null
from setuptools import setup from nats.aio.client import __version__ EXTRAS = { 'nkeys': ['nkeys'], } setup( name='nats-py', version=__version__, description='NATS client for Python', long_description='Python client for NATS, a lightweight, high-performance cloud native messaging system', cla...
29.903226
109
0.636462
103
927
5.61165
0.543689
0.197232
0.259516
0.224913
0
0
0
0
0
0
0
0.015235
0.221143
927
30
110
30.9
0.785319
0
0
0
0
0
0.522114
0
0
0
0
0
0
1
0
false
0
0.074074
0
0.074074
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
0
0
0
2
c7ebfcaf02d689a33ed8274d051230038106dff7
1,011
py
Python
neo4j_helper.py
smartaec/OpenBridgeGraph
61ca64ed339af4e77d928f83934a308277a79d81
[ "MIT" ]
null
null
null
neo4j_helper.py
smartaec/OpenBridgeGraph
61ca64ed339af4e77d928f83934a308277a79d81
[ "MIT" ]
null
null
null
neo4j_helper.py
smartaec/OpenBridgeGraph
61ca64ed339af4e77d928f83934a308277a79d81
[ "MIT" ]
null
null
null
from neo4j.v1 import GraphDatabase #neo4j==1.7.0 uri="bolt://localhost:7687" driver=GraphDatabase.driver(uri, auth=("neo4j", "testneo4j")) def execute_queries(scripts,message=None): with driver.session() as session: tx=session.begin_transaction() res=tx.run(';'.join(scripts)) tx.commit() ...
29.735294
105
0.69634
139
1,011
4.956835
0.359712
0.058055
0.098694
0.110305
0.37881
0.288824
0.288824
0.162554
0.162554
0.162554
0
0.014235
0.166172
1,011
34
106
29.735294
0.803084
0.04451
0
0.166667
0
0.041667
0.111917
0.046632
0
0
0
0
0
1
0.25
false
0
0.041667
0.041667
0.541667
0.083333
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
0
1
0
0
2
4003c8b3ef448fd698e5fde8ffd4368a0004acc2
2,250
py
Python
app/config/cnMysql.py
itay-moav/rahl_commander
79b9bb7d16f4f9511820d0e0ffcbba6ee8e0e42b
[ "MIT" ]
1
2016-12-19T16:09:02.000Z
2016-12-19T16:09:02.000Z
app/config/cnMysql.py
itay-moav/rahl_commander
79b9bb7d16f4f9511820d0e0ffcbba6ee8e0e42b
[ "MIT" ]
19
2015-01-08T18:34:13.000Z
2018-02-26T14:51:22.000Z
app/config/cnMysql.py
itay-moav/rahl_commander
79b9bb7d16f4f9511820d0e0ffcbba6ee8e0e42b
[ "MIT" ]
null
null
null
''' Created on Dec 28, 2021 @author: Itay Abstracting the DB connection piece ''' import mysql.connector as My from app import logging as L from app import exceptions as exceptions class Connection(): ''' Abstracting the actions on a DB ''' def __init__(self, connection_config): self._debug_c...
34.615385
158
0.636444
272
2,250
5.066176
0.345588
0.069666
0.049347
0.050073
0.123367
0.08418
0
0
0
0
0
0.004159
0.252
2,250
65
159
34.615385
0.814617
0.047556
0
0
0
0
0.140028
0.013201
0
0
0
0
0
1
0.232558
false
0.023256
0.069767
0.093023
0.511628
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
0
1
0
0
2
401bf5f8c246403323fb3816b89f804ced1d9820
547
py
Python
2020-05-month-long-challenge/day22.py
jkbockstael/leetcode
8ef5c907fb153c37dc97f6524493ceca2044ea38
[ "Unlicense" ]
null
null
null
2020-05-month-long-challenge/day22.py
jkbockstael/leetcode
8ef5c907fb153c37dc97f6524493ceca2044ea38
[ "Unlicense" ]
null
null
null
2020-05-month-long-challenge/day22.py
jkbockstael/leetcode
8ef5c907fb153c37dc97f6524493ceca2044ea38
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python3 # Day 22: Sort Characters By Frequency # # Given a string, sort it in decreasing order based on the frequency of # characters. import collections class Solution: def frequencySort(self, s: str) -> str: return "".join(map( lambda t: t[0] * t[1], collections.C...
27.35
71
0.659963
72
547
5
0.694444
0.116667
0.225
0
0
0
0
0
0
0
0
0.011211
0.184644
547
19
72
28.789474
0.795964
0.26691
0
0
0
0
0.106329
0
0
0
0
0
0.333333
1
0.111111
false
0
0.111111
0.111111
0.444444
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
4027f13cd3b7d7bc0f1afe366ba2f0949bed351e
805
py
Python
rotypes/Windows/Storage/Streams/__init__.py
Gliese129/ArknightsAutoHelper
43971a63da55001ebc55a7e0de56e9364dff04bb
[ "MIT" ]
18
2022-03-18T08:20:28.000Z
2022-03-31T15:19:15.000Z
rotypes/Windows/Storage/Streams/__init__.py
Gliese129/ArknightsAutoHelper
43971a63da55001ebc55a7e0de56e9364dff04bb
[ "MIT" ]
4
2021-01-23T13:05:39.000Z
2021-09-11T14:29:56.000Z
rotypes/Windows/Storage/Streams/__init__.py
Gliese129/ArknightsAutoHelper
43971a63da55001ebc55a7e0de56e9364dff04bb
[ "MIT" ]
1
2022-03-20T05:52:38.000Z
2022-03-20T05:52:38.000Z
from ctypes import c_uint32, c_void_p, string_at from rotypes.idldsl import define_winrt_com_method, GUID from rotypes.inspectable import IInspectable, IUnknown @GUID('905a0fef-bc53-11df-8c49-001e4fc686da') class IBufferByteAccess(IUnknown): pass @GUID('905A0FE0-BC53-11DF-8C49-001E4FC686DA') class IBuffer(IIns...
27.758621
69
0.773913
106
805
5.537736
0.424528
0.093697
0.11925
0.170358
0.294719
0.195911
0.139693
0.139693
0
0
0
0.064194
0.129193
805
28
70
28.75
0.773181
0
0
0
0
0
0.136986
0.089664
0
0
0
0
0
1
0.111111
false
0.055556
0.166667
0.055556
0.5
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
0
0
0
2
403a8f16077fbf7702c11e3631833751b1f7fb2c
3,367
py
Python
data-structures/trees/trees/trees.py
bayan-alkhatib/data-structures-and-algorithms-401
c22e0adf159392a8925f07a36b3083654d3a7002
[ "MIT" ]
null
null
null
data-structures/trees/trees/trees.py
bayan-alkhatib/data-structures-and-algorithms-401
c22e0adf159392a8925f07a36b3083654d3a7002
[ "MIT" ]
11
2021-06-14T00:14:54.000Z
2021-06-30T00:08:30.000Z
data-structures/trees/trees/trees.py
bayan-alkhatib/data-structures-and-algorithms-401
c22e0adf159392a8925f07a36b3083654d3a7002
[ "MIT" ]
1
2021-07-26T11:08:29.000Z
2021-07-26T11:08:29.000Z
class Node: def __init__(self,value): self.value=value self.left=None self.right=None class Binary_Tree: def __init__(self): self.root = None def pre_order(self): """ root-left-right """ try: self.values=[] if self.ro...
24.223022
51
0.415206
317
3,367
4.362776
0.119874
0.092552
0.043384
0.061461
0.68402
0.598698
0.57773
0.472885
0.348518
0.348518
0
0
0.503119
3,367
138
52
24.398551
0.826659
0.021681
0
0.727273
0
0
0.02448
0
0
0
0
0
0
1
0.121212
false
0
0
0
0.343434
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4050379eb6d6d6226db82e9fbcbba3933c358e43
718
py
Python
src/pyramid_debugtoolbar_api_sqlalchemy/__init__.py
jvanasco/pyramid_debugtoolbar_api_sqla
286a7e4ee32e7dd64f31813c46d59e0651534cbd
[ "MIT" ]
null
null
null
src/pyramid_debugtoolbar_api_sqlalchemy/__init__.py
jvanasco/pyramid_debugtoolbar_api_sqla
286a7e4ee32e7dd64f31813c46d59e0651534cbd
[ "MIT" ]
null
null
null
src/pyramid_debugtoolbar_api_sqlalchemy/__init__.py
jvanasco/pyramid_debugtoolbar_api_sqla
286a7e4ee32e7dd64f31813c46d59e0651534cbd
[ "MIT" ]
null
null
null
# local from .panels import SqlalchemyCsvDebugPanel __VERSION__ = "0.3.1" # ============================================================================== def includeme(config): """ Pyramid hook to install this debugtoolbar plugin. Update your ENVIRONMENT.ini file debugtoolbar.includes = pyr...
24.758621
80
0.558496
58
718
6.655172
0.637931
0.134715
0.194301
0.165803
0
0
0
0
0
0
0
0.004918
0.150418
718
28
81
25.642857
0.627869
0.435933
0
0
0
0
0.337731
0.324538
0
0
0
0
0
1
0.1
false
0
0.1
0
0.2
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
0
0
0
2
4066b6af1e7dfd680248198011c778dca827452b
828
py
Python
tests/__init__.py
ybelleguic/openbrokerapi
9d6019dd1b6649c9d0cb0dee4b3236e0ee209dbc
[ "MIT" ]
36
2017-10-06T15:16:21.000Z
2021-07-30T16:25:59.000Z
tests/__init__.py
ybelleguic/openbrokerapi
9d6019dd1b6649c9d0cb0dee4b3236e0ee209dbc
[ "MIT" ]
167
2017-09-28T23:38:33.000Z
2022-03-28T21:18:49.000Z
tests/__init__.py
ybelleguic/openbrokerapi
9d6019dd1b6649c9d0cb0dee4b3236e0ee209dbc
[ "MIT" ]
26
2017-09-29T13:46:38.000Z
2022-01-05T08:49:25.000Z
try: from gevent import monkey monkey.patch_all() except ImportError: # fine if no gevent is available pass import base64 import logging from unittest.mock import Mock from flask.app import Flask from flask_testing import TestCase from openbrokerapi.api import BrokerCredentials from openbrokerapi.log...
23.657143
67
0.641304
90
828
5.744444
0.544444
0.098646
0.077369
0.10058
0
0
0
0
0
0
0
0.010187
0.288647
828
34
68
24.352941
0.867572
0.036232
0
0
0
0
0.015075
0
0
0
0
0
0
1
0.04
false
0.04
0.4
0
0.56
0.12
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
406d45c5b1e3edd5a8eec1e610e28a22eb3881b2
2,190
py
Python
entrepreneurial_property/models/scientificpark.py
CzechInvest/ciis
c6102598f564a717472e5e31e7eb894bba2c8104
[ "MIT" ]
1
2019-05-26T22:24:01.000Z
2019-05-26T22:24:01.000Z
entrepreneurial_property/models/scientificpark.py
CzechInvest/ciis
c6102598f564a717472e5e31e7eb894bba2c8104
[ "MIT" ]
6
2019-01-22T14:53:43.000Z
2020-09-22T16:20:28.000Z
entrepreneurial_property/models/scientificpark.py
CzechInvest/ciis
c6102598f564a717472e5e31e7eb894bba2c8104
[ "MIT" ]
null
null
null
from django.db import models from .media import Water from .media import Electricity from .media import Gas from .media import WasteWater from .media import Telecommunication from .generic import Attachment from .generic import Photo from .generic import Location as EstateLocation from cigeo.models import GenericNote ...
20.660377
57
0.696347
202
2,190
7.440594
0.232673
0.066534
0.106454
0.186294
0.55356
0.55356
0.55356
0.55356
0.55356
0.472389
0
0
0.236073
2,190
105
58
20.857143
0.898386
0
0
0.552632
0
0
0.063927
0
0
0
0
0
0
1
0
false
0.013158
0.131579
0
0.631579
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
407d150b5548e5dc5c3decda923610fd51eb2141
1,438
py
Python
vk_bot/mods/util/calculator.py
triangle1984/GLaDOS
39dea7bf8043e791ef079ea1ac6616f95d5b5312
[ "BSD-3-Clause" ]
3
2019-12-12T05:48:34.000Z
2020-12-07T19:23:41.000Z
vk_bot/mods/util/calculator.py
anar66/vk-bot
39dea7bf8043e791ef079ea1ac6616f95d5b5312
[ "BSD-3-Clause" ]
1
2019-11-15T14:28:49.000Z
2019-11-15T14:28:49.000Z
vk_bot/mods/util/calculator.py
triangle1984/vk-bot
39dea7bf8043e791ef079ea1ac6616f95d5b5312
[ "BSD-3-Clause" ]
5
2019-11-20T14:20:30.000Z
2022-02-05T10:37:01.000Z
# from vk_bot.core.modules.basicplug import BasicPlug # import math # class Calculator(BasicPlug): # doc = "Калькулятор" # command = ("калькулятор",) # def main(self): # try: # x = self.text[1]; x = int(x) # encalc = self.text[2]; encalc = encalc.lower() # y = sel...
36.871795
74
0.462448
150
1,438
4.426667
0.406667
0.105422
0.099398
0.072289
0.144578
0.11747
0.11747
0
0
0
0
0.013652
0.388734
1,438
38
75
37.842105
0.741752
0.946453
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
408f7d16d7791c4eaced84288001a4eccaab5dae
54
py
Python
graw/__init__.py
iamsajjad/graw
84289b9bd2e298bad72ade402ab8a87e7c37688d
[ "MIT" ]
null
null
null
graw/__init__.py
iamsajjad/graw
84289b9bd2e298bad72ade402ab8a87e7c37688d
[ "MIT" ]
null
null
null
graw/__init__.py
iamsajjad/graw
84289b9bd2e298bad72ade402ab8a87e7c37688d
[ "MIT" ]
null
null
null
# version of the graw package __version__ = "0.1.0"
10.8
29
0.685185
9
54
3.666667
0.777778
0
0
0
0
0
0
0
0
0
0
0.069767
0.203704
54
4
30
13.5
0.697674
0.5
0
0
0
0
0.217391
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
40967bb7a1cadc5b1fb7c5cf4f834747f6a13132
1,026
py
Python
Tests/test_BioSQL_mysql_connector_online.py
bioinf-mcb/biopython
1a1f4a7ee4e0efba517d3d607c56c27e72e399cc
[ "BSD-3-Clause" ]
2
2019-10-25T18:20:34.000Z
2019-10-28T15:26:40.000Z
Tests/test_BioSQL_mysql_connector_online.py
cosign070128/biopython
2f02e34ba76306e9c27eec9e051809bec2cece9b
[ "BSD-3-Clause" ]
9
2020-05-05T00:54:23.000Z
2020-06-09T17:10:45.000Z
Tests/test_BioSQL_mysql_connector_online.py
cosign070128/biopython
2f02e34ba76306e9c27eec9e051809bec2cece9b
[ "BSD-3-Clause" ]
3
2020-06-29T13:07:46.000Z
2021-06-14T20:11:55.000Z
#!/usr/bin/env python # This code is part of the Biopython distribution and governed by its # license. Please see the LICENSE file that should have been included # as part of this package. """Run BioSQL tests using MySQL.""" import unittest # Really do want "import *" to get all the test clases: from common_BioSQL ...
30.176471
70
0.770955
145
1,026
5.289655
0.565517
0.052151
0.083442
0.101695
0.19296
0.119948
0.119948
0
0
0
0
0.012658
0.153021
1,026
33
71
31.090909
0.869965
0.393762
0
0
0
0
0.046129
0
0
0
0
0
0
1
0
false
0.2
0.4
0
0.4
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
0
0
0
2
40a0b272172c34d79349dc117521f3988050cbff
4,401
py
Python
quantrocket/db.py
Jay-Jay-D/quantrocket-client
b70ac199382d22d56fad923ca2233ce027f3264a
[ "Apache-2.0" ]
null
null
null
quantrocket/db.py
Jay-Jay-D/quantrocket-client
b70ac199382d22d56fad923ca2233ce027f3264a
[ "Apache-2.0" ]
null
null
null
quantrocket/db.py
Jay-Jay-D/quantrocket-client
b70ac199382d22d56fad923ca2233ce027f3264a
[ "Apache-2.0" ]
1
2019-06-12T11:34:27.000Z
2019-06-12T11:34:27.000Z
# Copyright 2017 QuantRocket - All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
29.536913
102
0.667803
566
4,401
5.075972
0.245583
0.034807
0.052906
0.036547
0.471284
0.372781
0.345284
0.233554
0.169857
0.169857
0
0.007645
0.227221
4,401
148
103
29.736486
0.837107
0.473983
0
0.367347
0
0
0.049237
0.01034
0
0
0
0
0
1
0.204082
false
0
0.040816
0.102041
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
40a5de5724e10b92314c5b47739791ffcddafb72
2,891
py
Python
scanner_relay/run.py
breakds/brokering
fa63d5ed8057a8018bcb11aaebce689c8d18e7ba
[ "MIT" ]
null
null
null
scanner_relay/run.py
breakds/brokering
fa63d5ed8057a8018bcb11aaebce689c8d18e7ba
[ "MIT" ]
null
null
null
scanner_relay/run.py
breakds/brokering
fa63d5ed8057a8018bcb11aaebce689c8d18e7ba
[ "MIT" ]
null
null
null
#!/usr/bin/env python from twisted.internet import endpoints from twisted.internet import protocol from twisted.internet import defer from twisted.mail import imap4 from scanner_relay.pipeline import Pipeline from scanner_relay.authentication import PassStoreFetcher, PlainPasswordFetcher import logging # Global con...
34.416667
93
0.71982
323
2,891
6.321981
0.4613
0.041136
0.046523
0.061215
0.102351
0.053869
0.053869
0.053869
0.053869
0.053869
0
0.004314
0.198201
2,891
83
94
34.831325
0.876618
0.204428
0
0.12
0
0
0.081974
0
0
0
0
0.012048
0
1
0.12
false
0.16
0.18
0
0.36
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
40af0b1139a38fce3114910895fc7959fcc89bca
8,649
py
Python
tests/unit/test_coordinator.py
sopel39/presto-admin
6e7aee3427bdbea6da2deb41b7f090ef6fdcadd9
[ "Apache-2.0" ]
34
2016-01-08T21:02:13.000Z
2017-03-10T02:01:03.000Z
tests/unit/test_coordinator.py
sopel39/presto-admin
6e7aee3427bdbea6da2deb41b7f090ef6fdcadd9
[ "Apache-2.0" ]
3
2016-01-27T19:11:14.000Z
2016-12-02T21:29:53.000Z
tests/unit/test_coordinator.py
sopel39/presto-admin
6e7aee3427bdbea6da2deb41b7f090ef6fdcadd9
[ "Apache-2.0" ]
5
2016-04-29T05:27:43.000Z
2018-01-12T07:50:25.000Z
# -*- coding: utf-8 -*- # # 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 writing, software ...
47.78453
78
0.492889
710
8,649
5.890141
0.238028
0.057867
0.045194
0.04065
0.757771
0.752272
0.715686
0.65495
0.582975
0.510043
0
0.012202
0.384091
8,649
180
79
48.05
0.772855
0.065788
0
0.650685
0
0
0.317246
0.160918
0
0
0
0
0.061644
1
0.061644
false
0
0.034247
0
0.10274
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
40ba39e3f0879514163c0009fb4d3d4f6df2004d
592
py
Python
hashtable.py
quake0day/oj
c09333d1738f8735de0d5d825db6f4b707585670
[ "MIT" ]
null
null
null
hashtable.py
quake0day/oj
c09333d1738f8735de0d5d825db6f4b707585670
[ "MIT" ]
null
null
null
hashtable.py
quake0day/oj
c09333d1738f8735de0d5d825db6f4b707585670
[ "MIT" ]
null
null
null
A = ['a','b'] B = ['c','b','a'] def generatehash(A): hashA = {} for item in A: if item not in hashA: hashA[item] = 1 else: hashA[item] += 1 return hashA def compareHash(A, B): lenA = len(A) lenB = len(B) hashA = generatehash(A) if lenB < lenA: ...
19.733333
43
0.496622
79
592
3.721519
0.316456
0.020408
0.068027
0
0
0
0
0
0
0
0
0.008108
0.375
592
29
44
20.413793
0.786486
0
0
0.16
1
0
0.008446
0
0
0
0
0
0
0
null
null
0
0
null
null
0.04
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
0
0
2
40c853daa30d56c941424e6324401a40fa450528
878
py
Python
msgraph/base.py
jstacoder/python-msgraph
be9a93f4baa2d89c97a8454ab1d31b8e5fdda38e
[ "Apache-2.0" ]
2
2020-09-23T18:26:22.000Z
2021-03-10T14:12:49.000Z
msgraph/base.py
jstacoder/python-msgraph
be9a93f4baa2d89c97a8454ab1d31b8e5fdda38e
[ "Apache-2.0" ]
4
2020-09-23T18:25:32.000Z
2021-03-22T11:07:32.000Z
msgraph/base.py
jstacoder/python-msgraph
be9a93f4baa2d89c97a8454ab1d31b8e5fdda38e
[ "Apache-2.0" ]
1
2020-09-23T18:28:14.000Z
2020-09-23T18:28:14.000Z
from datetime import datetime class Base(object): date_format = '%Y-%m-%d' time_format = '%H:%M:%S' datetime_format = date_format + 'T%s' % time_format full_datetime_format = date_format + 'T' + time_format + '.%f' iso_format = date_format + 'T%sZ' % time_format standard_datetime_format = date...
35.12
158
0.633257
106
878
4.95283
0.377358
0.213333
0.152381
0.182857
0.180952
0.133333
0.133333
0
0
0
0
0
0.269932
878
24
159
36.583333
0.819033
0
0
0
0
0
0.037585
0
0
0
0
0
0
1
0.047619
false
0.047619
0.047619
0
0.52381
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
40d75b3cb34c1d537273d852cc304bd850526e28
10,039
py
Python
utils/visualize_tree.py
moyiming1/Retrosynthesis-pathway-ranking
380f31189d09395d0de911759b8bcea436b559b2
[ "MIT" ]
10
2021-02-24T02:31:40.000Z
2022-02-17T07:58:46.000Z
utils/visualize_tree.py
wangxr0526/Retrosynthesis-pathway-ranking
380f31189d09395d0de911759b8bcea436b559b2
[ "MIT" ]
1
2022-02-14T16:13:59.000Z
2022-02-14T16:13:59.000Z
utils/visualize_tree.py
wangxr0526/Retrosynthesis-pathway-ranking
380f31189d09395d0de911759b8bcea436b559b2
[ "MIT" ]
3
2021-01-05T11:43:03.000Z
2022-02-17T08:52:27.000Z
import os, sys project_path = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) sys.path.append(project_path) import pickle def construct_tree_for_visual(tree, node_info_key, depth=0): tree_for_visual = {'smiles': 'http://askcos.mit.edu/draw/smiles/' + str(tree['smiles']).replace('#', '%23'), ...
47.131455
123
0.574858
1,418
10,039
3.884344
0.146685
0.132898
0.239651
0.250545
0.576253
0.442447
0.316086
0.293755
0.237473
0.187001
0
0.011812
0.224126
10,039
212
124
47.353774
0.694569
0.018329
0
0.169312
0
0.026455
0.442267
0.056058
0
0
0
0
0
1
0.021164
false
0
0.010582
0
0.047619
0.010582
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
0
0
2
40f24ffc2a5ce750fd7226190ea187a0e43d6f6d
296
py
Python
borax/patterns/singleton.py
kinegratii/borax
3595f554b788c31d0f07be4099db68c854db65f7
[ "MIT" ]
51
2018-04-18T13:52:15.000Z
2022-03-23T13:46:02.000Z
borax/patterns/singleton.py
kinegratii/borax
3595f554b788c31d0f07be4099db68c854db65f7
[ "MIT" ]
26
2019-05-26T02:22:34.000Z
2022-03-14T07:50:32.000Z
borax/patterns/singleton.py
kinegratii/borax
3595f554b788c31d0f07be4099db68c854db65f7
[ "MIT" ]
7
2018-09-30T08:17:29.000Z
2020-12-16T01:49:24.000Z
# coding=utf8 class MetaSingleton(type): def __init__(cls, *args): type.__init__(cls, *args) cls.instance = None def __call__(cls, *args, **kwargs): if not cls.instance: cls.instance = type.__call__(cls, *args, **kwargs) return cls.instance
22.769231
62
0.597973
35
296
4.6
0.457143
0.173913
0.136646
0.21118
0
0
0
0
0
0
0
0.004651
0.273649
296
12
63
24.666667
0.744186
0.037162
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
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
0
0
0
2
40f5c3fea77f91c61ea3a74c27daae2c26011e43
658
py
Python
Nelson_Alvarez/Assignments/flask_fund/ninja_turtle/turtle.py
webguru001/Python-Django-Web
6264bc4c90ef1432ba0902c76b567cf3caaae221
[ "MIT" ]
5
2019-05-17T01:30:02.000Z
2021-06-17T21:02:58.000Z
Nelson_Alvarez/Assignments/flask_fund/ninja_turtle/turtle.py
curest0x1021/Python-Django-Web
6264bc4c90ef1432ba0902c76b567cf3caaae221
[ "MIT" ]
null
null
null
Nelson_Alvarez/Assignments/flask_fund/ninja_turtle/turtle.py
curest0x1021/Python-Django-Web
6264bc4c90ef1432ba0902c76b567cf3caaae221
[ "MIT" ]
null
null
null
from flask import Flask from flask import render_template, redirect, session, request app = Flask(__name__) app.secret_key = 'ThisIsSecret' @app.route('/') def nothing(): return render_template('index.html') @app.route('/ninja') def ninja(): x = 'tmnt' return render_template('ninjas.html', x=x) @app.route...
22.689655
102
0.682371
91
658
4.769231
0.450549
0.16129
0.184332
0.179724
0.235023
0.235023
0.235023
0.16129
0
0
0
0
0.150456
658
29
103
22.689655
0.776386
0
0
0.142857
0
0
0.213961
0
0
0
0
0
0
1
0.142857
false
0
0.095238
0.047619
0.428571
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
40f5d8bb4fa97a86898d698a3335896827401fd2
941
py
Python
neo/Network/Inventory.py
BSathvik/neo-python
90eddde0128f8ba41207d88fd68041682e307315
[ "MIT" ]
15
2018-02-27T13:07:00.000Z
2021-01-29T10:27:41.000Z
neo/Network/Inventory.py
BSathvik/neo-python
90eddde0128f8ba41207d88fd68041682e307315
[ "MIT" ]
3
2021-03-20T05:43:51.000Z
2022-02-11T03:47:50.000Z
neo/Network/Inventory.py
BSathvik/neo-python
90eddde0128f8ba41207d88fd68041682e307315
[ "MIT" ]
6
2018-07-13T05:00:44.000Z
2020-10-28T19:41:54.000Z
# -*- coding:utf-8 -*- """ Description: Inventory Class Usage: from neo.Network.Inventory import Inventory """ from neo.IO.MemoryStream import MemoryStream from neocore.IO.BinaryWriter import BinaryWriter class Inventory(object): """docstring for Inventory""" def __init__(self): """ ...
18.82
48
0.587673
90
941
6.055556
0.522222
0.051376
0.051376
0.062385
0
0
0
0
0
0
0
0.001543
0.311371
941
49
49
19.204082
0.839506
0.208289
0
0.227273
0
0
0
0
0
0
0
0
0
1
0.318182
false
0.227273
0.090909
0
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
0
0
0
0
2
40f82a11d157a4c060d3cd0a073c10873cb2a999
21,936
py
Python
src/utils/TensorflowModel_pb2.py
nicolas-ivanov/MimicAndRephrase
446674e1e6af133618e0e9888c3650c0ce9012e4
[ "MIT" ]
12
2019-06-17T19:41:35.000Z
2022-02-17T19:51:45.000Z
src/utils/TensorflowModel_pb2.py
nicolas-ivanov/MimicAndRephrase
446674e1e6af133618e0e9888c3650c0ce9012e4
[ "MIT" ]
1
2021-02-23T15:28:32.000Z
2021-02-23T15:28:32.000Z
src/utils/TensorflowModel_pb2.py
isabella232/MimicAndRephrase
bd29a995b211cb4f7933fa990b0bba1564c22450
[ "MIT" ]
3
2020-09-07T16:44:11.000Z
2020-11-14T19:00:05.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: TensorflowModel.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import messa...
42.594175
2,175
0.746034
2,779
21,936
5.624685
0.093199
0.060393
0.027509
0.049517
0.665984
0.568998
0.546222
0.520376
0.501375
0.496513
0
0.045502
0.130379
21,936
514
2,176
42.677043
0.773904
0.026258
0
0.647679
1
0.00211
0.235983
0.19748
0
0
0
0
0
1
0
false
0
0.014768
0
0.014768
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
40feb012148cebe6483dabf37d02607456645a00
2,210
py
Python
utils/decorator/dasyncio.py
masonsxu/red-flask
e8b978ee08072efcb2b3b7964065f272d8c875ab
[ "MIT" ]
null
null
null
utils/decorator/dasyncio.py
masonsxu/red-flask
e8b978ee08072efcb2b3b7964065f272d8c875ab
[ "MIT" ]
null
null
null
utils/decorator/dasyncio.py
masonsxu/red-flask
e8b978ee08072efcb2b3b7964065f272d8c875ab
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # 基于python Threading模块封装的异步函数装饰器 import time from functools import wraps from threading import Thread def async_call(fn): """一次简单的异步处理操作,装饰在要异步执行的函数前,再调用该函数即可执行单次异步操作(开辟一条新的线程) Args: :fn(function):需要异步处理的方法 Return: :wrapper(function): """ @wraps(fn) # 解决...
19.557522
69
0.570588
234
2,210
5.200855
0.367521
0.057518
0.034511
0.049302
0.164339
0.075596
0.075596
0.075596
0.075596
0.075596
0
0.028534
0.302262
2,210
112
70
19.732143
0.7607
0.466063
0
0.387097
0
0
0
0
0
0
0
0
0
1
0.258065
false
0
0.096774
0
0.516129
0.032258
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
0
1
0
0
2
dc03c7056424871c088a27b25411021c5ef255a8
669
py
Python
src/Models/tools/quality.py
rahlk/MOOSE
e45b64cf625bb90aa8c1c24ab1c8f52ab485a316
[ "MIT" ]
null
null
null
src/Models/tools/quality.py
rahlk/MOOSE
e45b64cf625bb90aa8c1c24ab1c8f52ab485a316
[ "MIT" ]
9
2015-09-14T21:07:06.000Z
2015-12-08T01:38:08.000Z
src/Models/tools/quality.py
rahlk/MAPGen
25bc1a84f07e30ab0dbb638cd2aa1ce416c510ff
[ "MIT" ]
null
null
null
from __future__ import division, print_function from scipy.spatial.distance import euclidean from numpy import mean from pdb import set_trace class measure: def __init__(self,model): self.mdl = model def convergence(self, obtained): """ Calculate the convergence metric with respect to ideal soluti...
30.409091
76
0.693572
93
669
4.860215
0.537634
0.04646
0.070796
0.084071
0.181416
0.181416
0.181416
0.181416
0.181416
0.181416
0
0.003711
0.19432
669
22
77
30.409091
0.834879
0.212257
0
0
0
0
0
0
0
0
0
0
0
1
0.214286
false
0
0.285714
0.071429
0.714286
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
dc077fe63cc4f8d54762c53d45a473600de38902
3,843
py
Python
instagram/models.py
kilonzijnr/instagram-clone
1fa662248d70a64356ef3d48d52c7e38dea95aff
[ "MIT" ]
null
null
null
instagram/models.py
kilonzijnr/instagram-clone
1fa662248d70a64356ef3d48d52c7e38dea95aff
[ "MIT" ]
null
null
null
instagram/models.py
kilonzijnr/instagram-clone
1fa662248d70a64356ef3d48d52c7e38dea95aff
[ "MIT" ]
null
null
null
from django.db import models from django.db.models.deletion import CASCADE from django.contrib.auth.models import User from cloudinary.models import CloudinaryField # Create your models here. class Profile(models.Model): """Model for handling User Profile""" user = models.OneToOneField(User, on_delete= models....
30.991935
83
0.650273
469
3,843
5.219616
0.236674
0.045752
0.034314
0.042892
0.207516
0.116013
0.062909
0.04085
0.04085
0
0
0.0045
0.248244
3,843
123
84
31.243902
0.842852
0.192298
0
0.207792
0
0
0.007038
0
0
0
0
0
0
1
0.207792
false
0
0.051948
0.038961
0.662338
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
0
1
0
0
2
dc19222afbe13a4d5207f36ba7d56c249b5d6019
4,542
py
Python
Dangerous/Weevely/core/backdoor.py
JeyZeta/Dangerous-
824ea6b571eda98bb855f176361e9b35dfda578e
[ "MIT" ]
null
null
null
Dangerous/Weevely/core/backdoor.py
JeyZeta/Dangerous-
824ea6b571eda98bb855f176361e9b35dfda578e
[ "MIT" ]
null
null
null
Dangerous/Weevely/core/backdoor.py
JeyZeta/Dangerous-
824ea6b571eda98bb855f176361e9b35dfda578e
[ "MIT" ]
1
2018-07-04T18:35:16.000Z
2018-07-04T18:35:16.000Z
# -*- coding: utf-8 -*- # This file is part of Weevely NG. # # Copyright(c) 2011-2012 Weevely Developers # http://code.google.com/p/weevely/ # # This file may be licensed under the terms of of the # GNU General Public License Version 2 (the ``GPL''). # # Software distributed under the License is distributed # on an ``A...
34.409091
137
0.674373
597
4,542
4.874372
0.333333
0.016495
0.02921
0.034364
0.085223
0.052234
0.028866
0
0
0
0
0.030344
0.187362
4,542
131
138
34.671756
0.75806
0.147072
0
0
0
0.023256
0.205447
0.079896
0
0
0
0
0
0
null
null
0.139535
0.069767
null
null
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
1
0
0
1
0
0
0
0
0
2
9051a1c1088095b37931ffbb5f87a6219186207b
456
py
Python
iirsBenchmark/exceptions.py
gAldeia/iirsBenchmark
2211b4755405eb32178a09f1a01143d53dc6516d
[ "BSD-3-Clause" ]
null
null
null
iirsBenchmark/exceptions.py
gAldeia/iirsBenchmark
2211b4755405eb32178a09f1a01143d53dc6516d
[ "BSD-3-Clause" ]
null
null
null
iirsBenchmark/exceptions.py
gAldeia/iirsBenchmark
2211b4755405eb32178a09f1a01143d53dc6516d
[ "BSD-3-Clause" ]
null
null
null
# Author: Guilherme Aldeia # Contact: guilherme.aldeia@ufabc.edu.br # Version: 1.0.0 # Last modified: 08-20-2021 by Guilherme Aldeia """ Simple exception that is raised by explainers when they don't support local or global explanations, or when they are not model agnostic. This should be catched and handled i...
32.571429
76
0.730263
63
456
5.222222
0.793651
0.136778
0
0
0
0
0
0
0
0
0
0.02965
0.186404
456
14
77
32.571429
0.857143
0.697368
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2
905ba6022a4c26013aa2a89c33571a5f24d93f3a
1,640
py
Python
src/tools/create_graphs_log.py
KatiaJDL/CenterPoly
42811d9f5f85d9fef91a03275fe6ad113ccb163c
[ "MIT" ]
null
null
null
src/tools/create_graphs_log.py
KatiaJDL/CenterPoly
42811d9f5f85d9fef91a03275fe6ad113ccb163c
[ "MIT" ]
null
null
null
src/tools/create_graphs_log.py
KatiaJDL/CenterPoly
42811d9f5f85d9fef91a03275fe6ad113ccb163c
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt def main(): with open('log.txt') as f: lines = f.readlines() glob_loss = [] hm_l = [] off_l = [] poly_l = [] depth_l = [] glob_loss_val = [] hm_l_val = [] off_l_val = [] poly_l_val = [] depth_l_val = [] for epoch in lines: m = epoch.split("|") if ...
24.848485
50
0.585366
298
1,640
2.949664
0.187919
0.091013
0.204778
0.170648
0.414107
0.361775
0.302617
0.302617
0
0
0
0.039634
0.2
1,640
65
51
25.230769
0.630335
0
0
0.075472
0
0
0.079878
0
0
0
0
0
0
1
0.018868
false
0
0.018868
0
0.037736
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
0
0
0
2
9070d5bf65f2cf491385a39c1e6e52e356fd0952
573
py
Python
py/test.py
BEARUBC/grasp-kernel
ea2c9b698a2c457e798eff909941dc6e7c852bb2
[ "Apache-2.0" ]
1
2021-05-31T22:05:10.000Z
2021-05-31T22:05:10.000Z
py/test.py
BEARUBC/grasp-kernel-wrapper
ea2c9b698a2c457e798eff909941dc6e7c852bb2
[ "Apache-2.0" ]
null
null
null
py/test.py
BEARUBC/grasp-kernel-wrapper
ea2c9b698a2c457e798eff909941dc6e7c852bb2
[ "Apache-2.0" ]
1
2021-05-31T18:54:55.000Z
2021-05-31T18:54:55.000Z
class TestClass: def __init__(self, list, name): self.list = list self.name = name def func1(): print("func1 print something") def func2(): print("func2 print something") integer = 8 return integer def func3(): print("func3 print something") s = "func3" return s def f...
18.483871
39
0.612565
72
573
4.819444
0.458333
0.201729
0
0
0
0
0
0
0
0
0
0.039352
0.246073
573
30
40
19.1
0.763889
0.031414
0
0
0
0
0.227848
0
0
0
0
0
0
1
0.26087
false
0
0
0
0.478261
0.26087
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
90818fc965fccbf18cf4f96b17fab97a599e1aaa
824
py
Python
parser/fase2/team16/main.py
webdev188/tytus
847071edb17b218f51bb969d335a8ec093d13f94
[ "MIT" ]
null
null
null
parser/fase2/team16/main.py
webdev188/tytus
847071edb17b218f51bb969d335a8ec093d13f94
[ "MIT" ]
null
null
null
parser/fase2/team16/main.py
webdev188/tytus
847071edb17b218f51bb969d335a8ec093d13f94
[ "MIT" ]
4
2020-12-19T17:12:13.000Z
2021-01-07T20:29:53.000Z
# This is a sample Python script. # Press Mayús+F10 to execute it or replace it with your code. # Press Double Shift to search everywhere for classes, files, tool windows, actions, and settings. import Gramatica as g import interprete as Inter import ts as TS import jsonMode as JSON_INGE import jsonMode as json impor...
18.311111
98
0.694175
127
824
4.425197
0.566929
0.042705
0.05694
0.071174
0
0
0
0
0
0
0
0.004754
0.234223
824
44
99
18.727273
0.885895
0.381068
0
0
0
0
0.091633
0
0
0
0
0
0
1
0.05
false
0
0.55
0
0.6
0.15
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
908bf756c481540c4c44d86144640fa2370be038
1,563
py
Python
adsrefpipe/refparsers/handler.py
golnazads/ADSReferencePipeline
802f26a9e085e6ff5de43f3b5642b2d9fad52cbb
[ "MIT" ]
null
null
null
adsrefpipe/refparsers/handler.py
golnazads/ADSReferencePipeline
802f26a9e085e6ff5de43f3b5642b2d9fad52cbb
[ "MIT" ]
null
null
null
adsrefpipe/refparsers/handler.py
golnazads/ADSReferencePipeline
802f26a9e085e6ff5de43f3b5642b2d9fad52cbb
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from adsrefpipe.refparsers.CrossRefXML import CrossReftoREFs from adsrefpipe.refparsers.ElsevierXML import ELSEVIERtoREFs from adsrefpipe.refparsers.JATSxml import JATStoREFs from adsrefpipe.refparsers.IOPxml import IOPtoREFs from adsrefpipe.refparsers.SpringerXML import SPRINGERtoREFs from ads...
32.5625
67
0.723608
174
1,563
6.41954
0.344828
0.143241
0.257833
0
0
0
0
0
0
0
0
0.001614
0.207294
1,563
47
68
33.255319
0.899919
0.085093
0
0
0
0
0.041903
0
0
0
0
0
0
1
0.026316
false
0
0.315789
0
0.684211
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
909dc9969f5cc018e88da564d8e3efacb5bc1be6
406
py
Python
migrate_db.py
qxf2/interview-scheduler
ef17350cec70c66c7136671789ed188231a5fcba
[ "MIT" ]
2
2021-05-06T17:02:21.000Z
2021-05-19T19:41:21.000Z
migrate_db.py
qxf2/interview-scheduler
ef17350cec70c66c7136671789ed188231a5fcba
[ "MIT" ]
9
2019-08-01T18:49:35.000Z
2021-04-01T12:52:35.000Z
migrate_db.py
qxf2/interview-scheduler
ef17350cec70c66c7136671789ed188231a5fcba
[ "MIT" ]
18
2019-07-23T16:26:17.000Z
2022-01-21T10:33:41.000Z
from flask import Flask from flask_sqlalchemy import SQLAlchemy from qxf2_scheduler import models from qxf2_scheduler import db from qxf2_scheduler.__init__ import app from flask_script import Manager from flask_migrate import Migrate,MigrateCommand migrate=Migrate(app, db,render_as_batch=True) manager=Manager(app) m...
25.375
48
0.830049
57
406
5.54386
0.421053
0.113924
0.161392
0.14557
0
0
0
0
0
0
0
0.008287
0.108374
406
16
49
25.375
0.864641
0
0
0
0
0
0.02457
0
0
0
0
0
0
1
0
false
0
0.583333
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
90b42e2cf853da75296b6d0c2d2e8e3942e4a7bb
1,066
py
Python
tests/test_list_.py
aefalcon/iterable_collections
8e3b4ea84083a100413f23af30ea27dfd4b838ff
[ "MIT" ]
4
2018-06-05T14:07:56.000Z
2021-04-17T12:09:23.000Z
tests/test_list_.py
aefalcon/iterable_collections
8e3b4ea84083a100413f23af30ea27dfd4b838ff
[ "MIT" ]
1
2018-07-10T19:53:54.000Z
2018-07-10T19:58:38.000Z
tests/test_list_.py
aefalcon/iterable_collections
8e3b4ea84083a100413f23af30ea27dfd4b838ff
[ "MIT" ]
2
2020-01-29T10:51:11.000Z
2021-11-11T21:37:24.000Z
import unittest from iterable_collections import collect class TestList_(unittest.TestCase): def test_list(self): c = collect(list(range(10))).list_() self.assertEqual(c.iterable, list(list(range(10)))) def test_set(self): c = collect(set(range(10))).list_() self.assertEqual...
29.611111
68
0.605066
145
1,066
4.331034
0.193103
0.111465
0.133758
0.22293
0.542994
0.52707
0.414013
0.363057
0.11465
0.11465
0
0.033097
0.206379
1,066
35
69
30.457143
0.70922
0
0
0
0
0
0.007512
0
0
0
0
0
0.291667
1
0.291667
false
0
0.083333
0
0.416667
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
0
0
0
2
90b636cded4c580440a67538e3ed1bce323607f4
2,186
py
Python
pyaz/synapse/sql/pool/classification/recommendation/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
null
null
null
pyaz/synapse/sql/pool/classification/recommendation/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
null
null
null
pyaz/synapse/sql/pool/classification/recommendation/__init__.py
py-az-cli/py-az-cli
9a7dc44e360c096a5a2f15595353e9dad88a9792
[ "MIT" ]
1
2022-02-03T09:12:01.000Z
2022-02-03T09:12:01.000Z
''' Manage sensitivity classification recommendations. ''' from ...... pyaz_utils import _call_az def list(name, resource_group, workspace_name, filter=None, included_disabled=None, skip_token=None): ''' List the recommended sensitivity classifications of a given SQL pool. Required Parameters: - name ...
42.038462
128
0.718664
277
2,186
5.581227
0.267148
0.075679
0.065977
0.027167
0.659767
0.641009
0.641009
0.641009
0.580207
0.543984
0
0
0.198079
2,186
51
129
42.862745
0.881917
0.670631
0
0
0
0
0.288927
0
0
0
0
0
0
1
0.428571
false
0
0.142857
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
90b9ca60618e207e4f11df9555b71806b45d69af
1,538
py
Python
src/classifier/classifier_tuning/tune_sklearn.py
krangelie/bias-in-german-nlg
9fbaf50fde7d41d64692ae90c41beae61bc78d44
[ "MIT" ]
14
2021-08-24T12:36:37.000Z
2022-03-18T12:14:36.000Z
src/classifier/classifier_tuning/tune_sklearn.py
krangelie/bias-in-german-nlg
9fbaf50fde7d41d64692ae90c41beae61bc78d44
[ "MIT" ]
null
null
null
src/classifier/classifier_tuning/tune_sklearn.py
krangelie/bias-in-german-nlg
9fbaf50fde7d41d64692ae90c41beae61bc78d44
[ "MIT" ]
1
2021-10-21T20:22:55.000Z
2021-10-21T20:22:55.000Z
from sklearn.ensemble import RandomForestClassifier import xgboost def suggest_xgb(model_params, trial, xgb=None): n_estimators = trial.suggest_int( model_params.n_estimators.name, model_params.n_estimators.lower, model_params.n_estimators.upper, model_params.n_estimators.step, ...
27.963636
71
0.683355
187
1,538
5.262032
0.240642
0.234756
0.097561
0.178862
0.585366
0.585366
0.585366
0.526423
0.526423
0.526423
0
0.004277
0.239922
1,538
54
72
28.481481
0.837468
0
0
0.458333
0
0
0.005202
0
0
0
0
0
0
1
0.041667
false
0
0.041667
0
0.125
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
90c0801975d3d3c99714cb7e0cfc32ffb8ce7205
251
py
Python
diagnosticApp/admin.py
LASI-UFPI/diagnostic-imaging
7afd732dd76fe92bf6a2eba48e69fa4102a978cc
[ "MIT" ]
null
null
null
diagnosticApp/admin.py
LASI-UFPI/diagnostic-imaging
7afd732dd76fe92bf6a2eba48e69fa4102a978cc
[ "MIT" ]
10
2021-04-04T19:07:41.000Z
2022-03-12T00:54:50.000Z
diagnosticApp/admin.py
LASI-UFPI/diagnostic-imaging
7afd732dd76fe92bf6a2eba48e69fa4102a978cc
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Image @admin.register(Image) class ImageAdmin(admin.ModelAdmin): list_display = ('image', 'predict_covid', 'predict_no_findings', 'predict_pneumonia', 'created_at', 'updated_at', 'activated_at')
35.857143
131
0.776892
32
251
5.84375
0.6875
0
0
0
0
0
0
0
0
0
0
0
0.091633
251
6
132
41.833333
0.820175
0
0
0
0
0
0.342629
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
90c4143d466cb79c3fc483f709341546a5611433
615
py
Python
py/py_0668_square_root_smooth_numbers.py
lcsm29/project-euler
fab794ece5aa7a11fc7c2177f26250f40a5b1447
[ "MIT" ]
null
null
null
py/py_0668_square_root_smooth_numbers.py
lcsm29/project-euler
fab794ece5aa7a11fc7c2177f26250f40a5b1447
[ "MIT" ]
null
null
null
py/py_0668_square_root_smooth_numbers.py
lcsm29/project-euler
fab794ece5aa7a11fc7c2177f26250f40a5b1447
[ "MIT" ]
null
null
null
# Solution of; # Project Euler Problem 668: Square root smooth Numbers # https://projecteuler.net/problem=668 # # A positive integer is called square root smooth if all of its prime factors # are strictly less than its square root. Including the number $1$, there are # $29$ square root smooth numbers not exceeding $...
26.73913
78
0.705691
95
615
4.463158
0.621053
0.117925
0.150943
0.162736
0
0
0
0
0
0
0
0.078947
0.196748
615
22
79
27.954545
0.779352
0.720325
0
0
0
0
0.049689
0
0
0
0
0
0
1
0.125
false
0.125
0.125
0
0.25
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
0
0
0
2
90e8e47f66221f7bc0ae337311c1f500db447d05
669
py
Python
tests_project/homepage/views/__init__.py
wynnw/django-mako-plus
8a33eb3911fc84ddddd590152f475fd78c6a501f
[ "Apache-2.0" ]
79
2015-01-21T23:29:16.000Z
2021-08-22T03:38:20.000Z
tests_project/homepage/views/__init__.py
wynnw/django-mako-plus
8a33eb3911fc84ddddd590152f475fd78c6a501f
[ "Apache-2.0" ]
34
2015-01-08T03:11:07.000Z
2021-09-07T15:04:43.000Z
tests_project/homepage/views/__init__.py
wynnw/django-mako-plus
8a33eb3911fc84ddddd590152f475fd78c6a501f
[ "Apache-2.0" ]
23
2015-01-08T03:11:26.000Z
2021-05-22T11:12:24.000Z
from django_mako_plus.converter import ParameterConverter from django_mako_plus import view_function from django.http import HttpRequest class RecordingConverter(ParameterConverter): '''Converter that also records the converted variables for inspecting during testing''' def convert_parameters(self, *args, **k...
47.785714
105
0.741405
87
669
5.609195
0.62069
0.081967
0.057377
0.07377
0
0
0
0
0
0
0
0.010889
0.176383
669
13
106
51.461538
0.874773
0.266069
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
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
0
0
0
1
0
1
0
0
2
90ebe6d271ee6c6cf02d97187537a0fc19ca7af6
2,404
py
Python
example_project/views.py
AKuederle/flask-template-master
d6d8d2747eccc6629658caf4295106db1b3326a1
[ "MIT" ]
2
2018-04-06T19:40:22.000Z
2019-10-09T18:58:03.000Z
example_project/views.py
AKuederle/flask-template-master
d6d8d2747eccc6629658caf4295106db1b3326a1
[ "MIT" ]
null
null
null
example_project/views.py
AKuederle/flask-template-master
d6d8d2747eccc6629658caf4295106db1b3326a1
[ "MIT" ]
null
null
null
""" All your views aka. your template endpoints go here. There are two ways to create a view. 1. Create a new Subclass inheriting from one of the flask_template_master views 2. Use the view-factory function flask_template_master.views.create_template_endpoint Each view requires an 1 (and 2 optional) things: 1. An envi...
50.083333
123
0.784526
355
2,404
5.219718
0.369014
0.04911
0.071776
0.062062
0.043173
0
0
0
0
0
0
0.006382
0.152662
2,404
47
124
51.148936
0.903289
0.62396
0
0
0
0
0.115473
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
90f09eaebc2c156f0e6cd05610e75beced48fbbf
141
py
Python
theonionbox/stamp.py
ralphwetzel/theonionbox
9812fce48153955e179755ea7a58413c3bee182f
[ "MIT" ]
120
2015-12-30T09:41:56.000Z
2022-03-23T02:30:05.000Z
theonionbox/stamp.py
nwithan8/theonionbox
9e51fe0b4d07fc89a8a133fdeceb5f97d5d58713
[ "MIT" ]
57
2015-12-29T21:55:14.000Z
2022-01-07T09:48:51.000Z
theonionbox/stamp.py
nwithan8/theonionbox
9e51fe0b4d07fc89a8a133fdeceb5f97d5d58713
[ "MIT" ]
17
2018-02-05T08:57:46.000Z
2022-02-28T16:44:41.000Z
__title__ = 'The Onion Box' __description__ = 'Dashboard to monitor Tor node operations.' __version__ = '20.2' __stamp__ = '20200119|095654'
28.2
61
0.758865
17
141
5.352941
1
0
0
0
0
0
0
0
0
0
0
0.139344
0.134752
141
4
62
35.25
0.606557
0
0
0
0
0
0.517731
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
90f65c76bdf901f4200cf464ae0ba5ac4a47f91a
655
py
Python
control/webapp/__init__.py
doismellburning/control-panel
516feeaac3a0f4c704105204b6efe75a94ba42c3
[ "MIT" ]
1
2020-07-22T21:47:15.000Z
2020-07-22T21:47:15.000Z
control/webapp/__init__.py
doismellburning/control-panel
516feeaac3a0f4c704105204b6efe75a94ba42c3
[ "MIT" ]
5
2020-08-02T09:59:25.000Z
2021-11-03T08:02:39.000Z
control/webapp/__init__.py
doismellburning/control-panel
516feeaac3a0f4c704105204b6efe75a94ba42c3
[ "MIT" ]
2
2020-08-02T09:02:25.000Z
2020-12-20T17:45:30.000Z
import logging from flask import Flask from . import utils, home, member, society, signup, jobs, admin from .flask_seasurf import SeaSurf from flask_talisman import Talisman app = Flask(__name__, template_folder="../templates", static_folder="../static") app.config['CSRF_CHECK_REFERER'] = F...
23.392857
71
0.770992
90
655
5.422222
0.377778
0.135246
0.245902
0.22541
0
0
0
0
0
0
0
0
0.122137
655
27
72
24.259259
0.848696
0
0
0
0
0
0.059542
0
0
0
0
0
0
1
0
false
0
0.263158
0
0.263158
0.315789
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
0
0
2
29036ba6db6b8f13ddf689e6933342fcab6c293b
830
py
Python
src/utils/utils.py
GuiYuDaniel/CGC_of_Sn
c54e4e65a5ecff09d3e4c5fed76bf30b3804fefa
[ "MIT" ]
null
null
null
src/utils/utils.py
GuiYuDaniel/CGC_of_Sn
c54e4e65a5ecff09d3e4c5fed76bf30b3804fefa
[ "MIT" ]
2
2022-01-19T04:36:29.000Z
2022-01-27T09:15:38.000Z
src/utils/utils.py
GuiYuDaniel/CGC_of_Sn
c54e4e65a5ecff09d3e4c5fed76bf30b3804fefa
[ "MIT" ]
null
null
null
# -*- coding:utf8 -*- """ 一些其他工具 当需要细化或者函数太多时,应该把其中一些独立出去 """ import uuid from enum import Enum, unique from utils.log import get_logger logger = get_logger(__name__) @unique class PipeTaskStatus(Enum): # 还不够需要写状态机,先用这个凑活一下 """ name is Status value is Next """ # TODO 多线程时应该增加STOPPING, WAITIN...
21.282051
92
0.657831
89
830
6
0.640449
0.033708
0.078652
0
0
0
0
0
0
0
0
0.004566
0.208434
830
38
93
21.842105
0.808219
0.359036
0
0
0
0
0.158635
0
0
0
0
0.026316
0
1
0.0625
false
0
0.1875
0
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
292c8b618a05d121aa88ca4e594589616cd5c14c
254
py
Python
core/layouts/pixel_list.py
TheGentlemanOctopus/oracle
2857b9c1886548d9aefcb480ce6e77169ee9e7ef
[ "MIT" ]
null
null
null
core/layouts/pixel_list.py
TheGentlemanOctopus/oracle
2857b9c1886548d9aefcb480ce6e77169ee9e7ef
[ "MIT" ]
6
2018-05-13T14:44:20.000Z
2018-07-10T10:12:08.000Z
core/layouts/pixel_list.py
TheGentlemanOctopus/oracle
2857b9c1886548d9aefcb480ce6e77169ee9e7ef
[ "MIT" ]
null
null
null
from layout import Layout class PixelList(Layout): """ A simple generic layout, just a list of pixels """ def __init__(self, pixels): """ pixels is a list of pixel objects """ self.pixels = pixels
21.166667
54
0.562992
30
254
4.633333
0.6
0.071942
0.100719
0
0
0
0
0
0
0
0
0
0.350394
254
11
55
23.090909
0.842424
0.314961
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2
29392d7c293c0b529284bdff29493ae4994d22ba
206
py
Python
example.py
n0emis/pycodimd
cec7135babe63f0c40fdb9eac7ede50e145cd512
[ "MIT" ]
1
2020-04-20T22:06:49.000Z
2020-04-20T22:06:49.000Z
example.py
n0emis/pycodimd
cec7135babe63f0c40fdb9eac7ede50e145cd512
[ "MIT" ]
null
null
null
example.py
n0emis/pycodimd
cec7135babe63f0c40fdb9eac7ede50e145cd512
[ "MIT" ]
null
null
null
from pycodimd import CodiMD cmd = CodiMD('https://md.noemis.me') #cmd.login('user@example.com','CorrectHorseBatteryStaple') cmd.load_cookies() print(cmd.history()[-1]['text']) # Print Name of latest Note
29.428571
61
0.73301
29
206
5.172414
0.827586
0
0
0
0
0
0
0
0
0
0
0.005319
0.087379
206
6
62
34.333333
0.792553
0.402913
0
0
0
0
0.198347
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2946dbe0237daa4f111129ff8959628dbb456b22
2,640
py
Python
enaml/qt/qt_timer.py
xtuzy/enaml
a1b5c0df71c665b6ef7f61d21260db92d77d9a46
[ "BSD-3-Clause-Clear" ]
1,080
2015-01-04T14:29:34.000Z
2022-03-29T05:44:51.000Z
enaml/qt/qt_timer.py
xtuzy/enaml
a1b5c0df71c665b6ef7f61d21260db92d77d9a46
[ "BSD-3-Clause-Clear" ]
308
2015-01-05T22:44:13.000Z
2022-03-30T21:19:18.000Z
enaml/qt/qt_timer.py
xtuzy/enaml
a1b5c0df71c665b6ef7f61d21260db92d77d9a46
[ "BSD-3-Clause-Clear" ]
123
2015-01-25T16:33:48.000Z
2022-02-25T19:57:10.000Z
#------------------------------------------------------------------------------ # Copyright (c) 2013-2017, Nucleic Development Team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file LICENSE, distributed with this software. #------------------------------------------------...
27.789474
79
0.46553
237
2,640
5.113924
0.383966
0.066007
0.039604
0.059406
0.033003
0
0
0
0
0
0
0.003941
0.231061
2,640
94
80
28.085106
0.593103
0.512879
0
0.129032
0
0
0
0
0
0
0
0
0
1
0.290323
false
0
0.129032
0
0.516129
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
0
1
0
0
2
294c561a401bd6bdb0db578e7797d3a5175a9a58
318
py
Python
wildlifecompliance/components/applications/cron.py
preranaandure/wildlifecompliance
bc19575f7bccf7e19adadbbaf5d3eda1d1aee4b5
[ "Apache-2.0" ]
1
2020-12-07T17:12:40.000Z
2020-12-07T17:12:40.000Z
wildlifecompliance/components/applications/cron.py
preranaandure/wildlifecompliance
bc19575f7bccf7e19adadbbaf5d3eda1d1aee4b5
[ "Apache-2.0" ]
14
2020-01-08T08:08:26.000Z
2021-03-19T22:59:46.000Z
wildlifecompliance/components/applications/cron.py
preranaandure/wildlifecompliance
bc19575f7bccf7e19adadbbaf5d3eda1d1aee4b5
[ "Apache-2.0" ]
15
2020-01-08T08:02:28.000Z
2021-11-03T06:48:32.000Z
from django_cron import CronJobBase, Schedule class VerifyLicenceSpeciesJob(CronJobBase): """ Verifies LicenceSpecies against TSC server. """ RUN_AT_TIMES = ['00:00'] schedule = Schedule(run_at_times=RUN_AT_TIMES) code = 'applications.verify_licence_species' def do(self): pass
21.2
50
0.704403
36
318
5.972222
0.722222
0.069767
0.139535
0
0
0
0
0
0
0
0
0.015873
0.207547
318
14
51
22.714286
0.837302
0.13522
0
0
0
0
0.15444
0.135135
0
0
0
0
0
1
0.142857
false
0.142857
0.142857
0
0.857143
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
0
0
1
0
0
2
295015d1c787b58239c947be3f7d6287049d840f
6,274
py
Python
scobra/analysis/compare_elements.py
nihalzp/scobra
de1faa73fb4d186d9567bfa8e174b3fd6f1833ef
[ "MIT" ]
7
2016-03-16T09:03:41.000Z
2019-09-20T05:55:02.000Z
scobra/analysis/compare_elements.py
nihalzp/scobra
de1faa73fb4d186d9567bfa8e174b3fd6f1833ef
[ "MIT" ]
11
2019-10-03T15:04:58.000Z
2020-05-11T17:27:10.000Z
scobra/analysis/compare_elements.py
nihalzp/scobra
de1faa73fb4d186d9567bfa8e174b3fd6f1833ef
[ "MIT" ]
6
2016-03-16T09:04:54.000Z
2021-07-24T15:03:41.000Z
def compareMetaboliteDicts(d1, d2): sorted_d1_keys = sorted(d1.keys()) sorted_d2_keys = sorted(d2.keys()) for i in range(len(sorted_d1_keys)): if not compareMetabolites(sorted_d1_keys[i], sorted_d2_keys[i], naive=True): return False elif not d1[sorted_d1_keys[i]] == d2[sorted_...
33.021053
84
0.54176
712
6,274
4.654494
0.098315
0.192517
0.212734
0.238986
0.564575
0.321967
0.249246
0.232348
0.194327
0.164756
0
0.037113
0.377271
6,274
189
85
33.195767
0.811108
0.189194
0
0.592857
0
0
0
0
0
0
0
0
0
1
0.035714
false
0.028571
0
0
0.421429
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
0
0
0
2
295e89c3127cdc64f86ba1f4504dbc0c0e95c2df
1,214
py
Python
ch05/recursion.py
laszlokiraly/LearningAlgorithms
032a3cc409546619cf41220821d081cde54bbcce
[ "MIT" ]
74
2021-05-06T22:03:18.000Z
2022-03-25T04:37:51.000Z
ch05/recursion.py
laszlokiraly/LearningAlgorithms
032a3cc409546619cf41220821d081cde54bbcce
[ "MIT" ]
null
null
null
ch05/recursion.py
laszlokiraly/LearningAlgorithms
032a3cc409546619cf41220821d081cde54bbcce
[ "MIT" ]
19
2021-07-16T11:42:00.000Z
2022-03-22T00:25:49.000Z
"""Recursive implementations.""" def find_max(A): """invoke recursive function to find maximum value in A.""" def rmax(lo, hi): """Use recursion to find maximum value in A[lo:hi+1].""" if lo == hi: return A[lo] mid = (lo+hi) // 2 L = rmax(lo, mid) R = rmax(mid+1, hi) ...
26.977778
82
0.555189
189
1,214
3.544974
0.222222
0.071642
0.077612
0.107463
0.308955
0.28209
0.21791
0.21791
0.21791
0.21791
0
0.022145
0.293245
1,214
44
83
27.590909
0.758741
0.285008
0
0.12
0
0
0
0
0
0
0
0
0
1
0.24
false
0
0
0
0.52
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
0
1
0
0
2
295f767e353179afb030c3f6f2c390f8073634e9
6,020
py
Python
tests/test_gc3_config.py
ericmharris/gc3-query
0bf5226130aafbb1974aeb96d93ee1996833e87d
[ "MIT" ]
null
null
null
tests/test_gc3_config.py
ericmharris/gc3-query
0bf5226130aafbb1974aeb96d93ee1996833e87d
[ "MIT" ]
null
null
null
tests/test_gc3_config.py
ericmharris/gc3-query
0bf5226130aafbb1974aeb96d93ee1996833e87d
[ "MIT" ]
null
null
null
from pathlib import Path from requests.auth import _basic_auth_str import pytest from bravado_core.formatter import SwaggerFormat, NO_OP from gc3_query.lib.gc3_config import GC3Config, IDMCredential TEST_BASE_DIR: Path = Path(__file__).parent.joinpath("GC3Config") config_dir = TEST_BASE_DIR.joinpath("config") def te...
39.605263
96
0.767608
784
6,020
5.5
0.117347
0.100186
0.059137
0.05334
0.742347
0.599954
0.580937
0.506262
0.486317
0.427412
0
0.023888
0.144684
6,020
151
97
39.86755
0.813556
0.445183
0
0.41791
0
0
0.131218
0.053708
0
0
0
0
0.402985
1
0.149254
false
0.074627
0.074627
0
0.223881
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
1
0
0
0
1
0
0
0
0
0
2
296af987b0de54ddfc1944dd10981828dfe9bc78
1,803
py
Python
requests/UpdateSubscriptionRequest.py
divinorum-webb/python-tableau-api
9d3f130d63b15307ad2b23e2273b52790b8d9018
[ "Apache-2.0" ]
1
2019-06-08T22:19:40.000Z
2019-06-08T22:19:40.000Z
requests/UpdateSubscriptionRequest.py
divinorum-webb/python-tableau-api
9d3f130d63b15307ad2b23e2273b52790b8d9018
[ "Apache-2.0" ]
null
null
null
requests/UpdateSubscriptionRequest.py
divinorum-webb/python-tableau-api
9d3f130d63b15307ad2b23e2273b52790b8d9018
[ "Apache-2.0" ]
null
null
null
from .BaseRequest import BaseRequest class UpdateSubscriptionRequest(BaseRequest): """ Update subscription request for generating API request URLs to Tableau Server. :param ts_connection: The Tableau Server connection object. :type ts_connection: class :param new_subs...
36.795918
108
0.601775
177
1,803
5.717514
0.265537
0.206522
0.195652
0.128459
0.307312
0.217391
0.164032
0.164032
0.164032
0.164032
0
0
0.330006
1,803
48
109
37.5625
0.837748
0.260122
0
0.333333
0
0
0.054096
0
0
0
0
0
0
1
0.090909
false
0
0.030303
0.030303
0.212121
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
297b1b7d9f0a6e280fa0145471626d7d01aa1943
266
py
Python
test/win/vs-macros/test_exists.py
chlorm-forks/gyp
a8921fcaab1a18c8cf7e4ab09ceb940e336918ec
[ "BSD-3-Clause" ]
77
2018-07-01T15:55:34.000Z
2022-03-30T09:16:54.000Z
test/win/vs-macros/test_exists.py
chlorm-forks/gyp
a8921fcaab1a18c8cf7e4ab09ceb940e336918ec
[ "BSD-3-Clause" ]
116
2021-05-29T16:32:51.000Z
2021-08-13T16:05:29.000Z
test/win/vs-macros/test_exists.py
chlorm-forks/gyp
a8921fcaab1a18c8cf7e4ab09ceb940e336918ec
[ "BSD-3-Clause" ]
53
2018-04-13T12:06:06.000Z
2022-03-25T13:54:38.000Z
# Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import os import sys if not os.path.exists(sys.argv[1]): raise Exception() open(sys.argv[2], 'w').close()
24.181818
72
0.718045
48
266
3.979167
0.875
0.073298
0
0
0
0
0
0
0
0
0
0.027149
0.169173
266
10
73
26.6
0.837104
0.56015
0
0
0
0
0.00885
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
2980dcb521571569813c10466d1c0e11144f30c7
151
py
Python
ssb_pseudonymization/__init__.py
statisticsnorway/ssb-pseudonymization-py
cc8e1abd1cf00b403bfaf52fcb335f09ee71b591
[ "MIT" ]
1
2021-02-17T09:51:12.000Z
2021-02-17T09:51:12.000Z
ssb_pseudonymization/__init__.py
statisticsnorway/ssb-pseudonymization-py
cc8e1abd1cf00b403bfaf52fcb335f09ee71b591
[ "MIT" ]
null
null
null
ssb_pseudonymization/__init__.py
statisticsnorway/ssb-pseudonymization-py
cc8e1abd1cf00b403bfaf52fcb335f09ee71b591
[ "MIT" ]
3
2020-08-25T07:12:17.000Z
2021-04-20T12:26:42.000Z
"""ssb-pseudonymization - Data pseudonymization functions used by SSB""" __version__ = '0.0.2' __author__ = 'Statistics Norway (ssb.no)' __all__ = []
25.166667
72
0.721854
18
151
5.388889
0.777778
0
0
0
0
0
0
0
0
0
0
0.022901
0.13245
151
5
73
30.2
0.717557
0.437086
0
0
0
0
0.392405
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2981c0d7db082728c69505a339fd5c5214978ef0
758
py
Python
agent.py
shukia/2048-python
e6385ea3749098a418198e727e6976dccf344960
[ "MIT" ]
null
null
null
agent.py
shukia/2048-python
e6385ea3749098a418198e727e6976dccf344960
[ "MIT" ]
null
null
null
agent.py
shukia/2048-python
e6385ea3749098a418198e727e6976dccf344960
[ "MIT" ]
null
null
null
from logic import * class Agent: def __init__(self): self.matrix = [] self.score = 0 def initialize_game(self): self.score = 0 self.matrix = new_game(4) self.matrix = add_two(self.matrix) self.matrix = add_two(self.matrix) def move(self, direction): ...
29.153846
79
0.64248
98
758
4.765306
0.27551
0.278373
0.119914
0.122056
0.372591
0.372591
0.325482
0.197002
0
0
0
0.005329
0.257256
758
25
80
30.32
0.824156
0
0
0.263158
0
0
0
0
0
0
0
0
0
1
0.210526
false
0
0.052632
0
0.421053
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
461e9e37802d7e3293cd85e18609ca2b81610862
341
gyp
Python
cluster-1.59/heatmap_clustering/binding.gyp
ericaflin/libheatmap
18a1aadf4d4cea68f9fd6da20ae858479cf90dab
[ "MIT" ]
2
2020-08-13T19:00:03.000Z
2021-08-24T06:50:47.000Z
cluster-1.59/heatmap_clustering/binding.gyp
ericaflin/libheatmap
18a1aadf4d4cea68f9fd6da20ae858479cf90dab
[ "MIT" ]
null
null
null
cluster-1.59/heatmap_clustering/binding.gyp
ericaflin/libheatmap
18a1aadf4d4cea68f9fd6da20ae858479cf90dab
[ "MIT" ]
null
null
null
{ "targets": [ { "target_name": "cclust", "sources": [ "./src/heatmap_clustering_js_module.cpp" ], 'dependencies': ['bonsaiclust'] }, { 'target_name': 'bonsaiclust', 'type': 'static_library', 'sources': [ 'src/cluster.c' ], 'cflags': ['-fPIC', '-I', '-pedantic', '...
20.058824
62
0.495601
28
341
5.821429
0.821429
0.122699
0
0
0
0
0
0
0
0
0
0
0.272727
341
16
63
21.3125
0.657258
0
0
0
0
0
0.524927
0.111437
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
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
2
461f2a3e6e5c1ff2b9ea5f5bf6bd2c1511d2a0ba
514
py
Python
homework/supporting.py
viaviare/MyFirstRepository
dab8530d16ab9746471b61b61e006d9febfed195
[ "Unlicense" ]
null
null
null
homework/supporting.py
viaviare/MyFirstRepository
dab8530d16ab9746471b61b61e006d9febfed195
[ "Unlicense" ]
null
null
null
homework/supporting.py
viaviare/MyFirstRepository
dab8530d16ab9746471b61b61e006d9febfed195
[ "Unlicense" ]
null
null
null
from selenium.webdriver.support.wait import WebDriverWait from selenium.common.exceptions import NoSuchElementException class Supporting: def __init__(self, driver): self.driver = driver self.wait = WebDriverWait(driver, 10) def is_element_present(self, driver, *args): try: ...
24.47619
61
0.677043
55
514
6.163636
0.527273
0.147493
0
0
0
0
0
0
0
0
0
0.01039
0.250973
514
21
62
24.47619
0.87013
0
0
0
0
0
0
0
0
0
0
0
0
1
0.214286
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
4620512d639e2a5d97e4f0f0858dfee7bfe3ebb2
1,516
py
Python
vplsSinVlan.py
javicond3/mininetVPLS
73164f175d2a1873ccab2a317bd09aa5d09bdda6
[ "Unlicense" ]
null
null
null
vplsSinVlan.py
javicond3/mininetVPLS
73164f175d2a1873ccab2a317bd09aa5d09bdda6
[ "Unlicense" ]
null
null
null
vplsSinVlan.py
javicond3/mininetVPLS
73164f175d2a1873ccab2a317bd09aa5d09bdda6
[ "Unlicense" ]
null
null
null
"""Custom topology example Two directly connected switches plus a host for each switch: host --- switch --- switch --- host Adding the 'topos' dict with a key/value pair to generate our newly defined topology enables one to pass in '--topo=mytopo' from the command line. """ from mininet.topo import Topo class M...
26.137931
75
0.582454
214
1,516
4.088785
0.336449
0.188571
0.075429
0.082286
0.157714
0.157714
0
0
0
0
0
0.081596
0.272427
1,516
57
76
26.596491
0.711695
0.034301
0
0
1
0
0.074576
0
0
0
0
0
0
0
null
null
0
0.029412
null
null
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
1
0
0
0
0
0
0
0
0
2
4626213aaa7096da9c7ee3b429d3bfce1126595c
1,721
py
Python
link_to_the_past/hashes.py
zsquareplusc/lttp-backup
32862ec136c9bda412256142c7d44d1564aab784
[ "BSD-3-Clause" ]
null
null
null
link_to_the_past/hashes.py
zsquareplusc/lttp-backup
32862ec136c9bda412256142c7d44d1564aab784
[ "BSD-3-Clause" ]
null
null
null
link_to_the_past/hashes.py
zsquareplusc/lttp-backup
32862ec136c9bda412256142c7d44d1564aab784
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # encoding: utf-8 # # (C) 2012-2016 Chris Liechti <cliechti@gmx.net> # # SPDX-License-Identifier: BSD-3-Clause """\ Link To The Past - a backup tool Hash functions and commands. """ import hashlib import zlib class CRC32(object): """\ CRC32 API compatible to the hashlib functions (...
20.247059
80
0.535735
184
1,721
4.902174
0.472826
0.039911
0.026608
0.043237
0.221729
0.221729
0.221729
0.128603
0.128603
0.128603
0
0.072182
0.283556
1,721
84
81
20.488095
0.659367
0.480535
0
0.266667
0
0
0.057841
0
0
0
0.012853
0
0
1
0.233333
false
0.066667
0.1
0.066667
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
0
0
0
0
2
4634863621fdac26b1771cdeb54c5f5a51a3dcb7
1,448
py
Python
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/EXT/paletted_texture.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/EXT/paletted_texture.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/raw/GL/EXT/paletted_texture.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
'''Autogenerated by xml_generate script, do not edit!''' from OpenGL import platform as _p, arrays # Code generation uses this from OpenGL.raw.GL import _types as _cs # End users want this... from OpenGL.raw.GL._types import * from OpenGL.raw.GL import _errors from OpenGL.constant import Constant as _C import...
43.878788
118
0.810083
229
1,448
4.69869
0.340611
0.078067
0.039033
0.061338
0.274164
0.174721
0.174721
0.174721
0.174721
0.068773
0
0.032282
0.080111
1,448
32
119
45.25
0.775526
0.069061
0
0.142857
1
0
0.142857
0.05424
0
0
0.032086
0
0
1
0.178571
false
0.142857
0.214286
0.035714
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
4634eaef2f0ee2edb50cfda3fdc934ed5f0de8df
1,494
py
Python
backend/apps/csyllabusapi/views/university.py
CSyllabus/webapp
06391d43d97453a135ff78ff8dcdd35846c94d30
[ "MIT" ]
3
2017-11-02T11:24:09.000Z
2017-12-08T15:33:43.000Z
backend/apps/csyllabusapi/views/university.py
CSyllabus/webapp
06391d43d97453a135ff78ff8dcdd35846c94d30
[ "MIT" ]
2
2017-11-04T10:03:44.000Z
2017-12-31T08:26:36.000Z
backend/apps/csyllabusapi/views/university.py
CSyllabus/webapp
06391d43d97453a135ff78ff8dcdd35846c94d30
[ "MIT" ]
null
null
null
from rest_framework.parsers import JSONParser, FileUploadParser from rest_framework.views import APIView from ..models import City from ..models import Country from ..models import University from ..models import Faculty from ..models import Program from rest_framework.decorators import api_view, permission_classes fr...
33.954545
111
0.726238
187
1,494
5.721925
0.283422
0.082243
0.095327
0.071028
0.430841
0.369159
0.22243
0.22243
0.22243
0.22243
0
0
0.168005
1,494
43
112
34.744186
0.860821
0
0
0.305556
0
0
0.03079
0
0
0
0
0
0
1
0.083333
false
0
0.416667
0
0.611111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
4638b2719be97e9698ba7de333d5a9c1e9271178
947
py
Python
app.py
Arpan-206/Youtube-Downloader-Flask
8ac6233e238d99c4a13d4d00afa2574d156cb80e
[ "MIT" ]
3
2021-04-28T09:49:43.000Z
2022-01-03T13:03:02.000Z
app.py
Arpan-206/Youtube-Downloader-Flask
8ac6233e238d99c4a13d4d00afa2574d156cb80e
[ "MIT" ]
null
null
null
app.py
Arpan-206/Youtube-Downloader-Flask
8ac6233e238d99c4a13d4d00afa2574d156cb80e
[ "MIT" ]
null
null
null
from flask import Flask, request, send_file, render_template, url_for import pytube import logging import sys import os from hello import timed_delete from threading import Timer timed_delete() logging.basicConfig(stream=sys.stderr, level=logging.DEBUG) app = Flask(__name__) @app.route("/") def youtube_downloader(): ...
31.566667
131
0.744456
132
947
5.128788
0.568182
0.035451
0.050222
0
0
0
0
0
0
0
0
0.003672
0.137276
947
29
132
32.655172
0.824969
0.187962
0
0
0
0
0.125846
0
0
0
0
0
0
1
0.105263
false
0
0.368421
0
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
463d1c29208fd7d810aca90bed20af06afc212fd
3,272
py
Python
Validation/valid_view_point_cloud.py
dtczhl/Slimmer
c93dac6a59828016484d8bef1c71e9ccceabab9c
[ "MIT" ]
null
null
null
Validation/valid_view_point_cloud.py
dtczhl/Slimmer
c93dac6a59828016484d8bef1c71e9ccceabab9c
[ "MIT" ]
null
null
null
Validation/valid_view_point_cloud.py
dtczhl/Slimmer
c93dac6a59828016484d8bef1c71e9ccceabab9c
[ "MIT" ]
null
null
null
""" view predication for point cloud, Run valid_one_point_cloud first """ import torch import numpy as np import sys import os import pptk # ------ Configurations ------ # path to pth file pth_file = "../tmp/scene0015_00_vh_clean_2.pth.Random.100" show_gt = False # show groundtruth or not; groudtruth draw ...
30.579439
131
0.537897
514
3,272
3.291829
0.453307
0.020095
0.014184
0.018913
0.213948
0.202719
0.189125
0.122931
0.122931
0.122931
0
0.242846
0.231051
3,272
106
132
30.867925
0.42965
0.161064
0
0
0
0
0.072426
0.016544
0
0
0
0
0
1
0.012987
false
0
0.064935
0
0.077922
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
464c2239f3ce7da17665c8d65313e5b7bfe44898
762
py
Python
codeEval/hard/levenshtein_distance.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
25
2015-01-21T16:39:18.000Z
2021-05-24T07:01:24.000Z
codeEval/hard/levenshtein_distance.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
2
2020-09-30T19:39:36.000Z
2020-10-01T17:15:16.000Z
codeEval/hard/levenshtein_distance.py
ferhatelmas/algo
a7149c7a605708bc01a5cd30bf5455644cefd04d
[ "WTFPL" ]
15
2015-01-21T16:39:27.000Z
2020-10-01T17:00:22.000Z
import sys from string import ascii_lowercase as alphabet def generate_neighbours(ws, s): ls, l = set(), len(s) for i in xrange(l + 1): ls.add(s[:i] + s[i + 1 :]) for e in alphabet: ls.add(s[:i] + e + s[i:]) if i < l and e != s[i]: ls.add(s[:i] + e + s[i...
25.4
50
0.552493
125
762
3.296
0.36
0.033981
0.145631
0.152913
0.048544
0.048544
0.048544
0
0
0
0
0.009259
0.291339
762
29
51
26.275862
0.753704
0
0
0
1
0
0.007874
0
0
0
0
0
0
0
null
null
0
0.086957
null
null
0.043478
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
0
0
2
46628dc5cc0651a6487fc8978ac7257bc4e97455
3,774
py
Python
test_calculator.py
Kidatoy/Advanced-Calculator
ebd3e436894116ec35b08872ffecdf762b079670
[ "MIT" ]
null
null
null
test_calculator.py
Kidatoy/Advanced-Calculator
ebd3e436894116ec35b08872ffecdf762b079670
[ "MIT" ]
null
null
null
test_calculator.py
Kidatoy/Advanced-Calculator
ebd3e436894116ec35b08872ffecdf762b079670
[ "MIT" ]
null
null
null
import unittest # https://docs.python.org/3/library/unittest.html from modules.calculator import Calculator as Calc class TestCalculator(unittest.TestCase): """ Test Driven Development Unittest File Module: Calculator Updated: 12/16/2019 Author: Kida Toy """ def test_addition(self): ...
36.640777
75
0.560943
481
3,774
4.380457
0.160083
0.32748
0.129094
0.056953
0.365449
0.311343
0.261035
0.245847
0.223541
0.180826
0
0.135658
0.232379
3,774
102
76
37
0.591647
0.117647
0
0
0
0
0.086492
0
0
0
0
0
0.793103
1
0.155172
false
0
0.034483
0
0.206897
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
467608de6f71ab4b616b2d09915c4d849b7654e0
624
py
Python
premailer/tests/test_utils.py
p12tic/premailer
ebfd310dbd0a88b465e811411f67a360e11f3292
[ "BSD-3-Clause" ]
null
null
null
premailer/tests/test_utils.py
p12tic/premailer
ebfd310dbd0a88b465e811411f67a360e11f3292
[ "BSD-3-Clause" ]
1
2018-11-23T11:58:22.000Z
2018-11-23T13:58:13.000Z
premailer/tests/test_utils.py
lavr/premailer
ebfd310dbd0a88b465e811411f67a360e11f3292
[ "BSD-3-Clause" ]
null
null
null
import unittest from premailer.premailer import capitalize_float_margin class UtilsTestCase(unittest.TestCase): def testcapitalize_float_margin(self): self.assertEqual( capitalize_float_margin('margin:1em'), 'Margin:1em') self.assertEqual( capitalize_float_marg...
31.2
70
0.639423
64
624
6.046875
0.3125
0.170543
0.271318
0.310078
0.573643
0.573643
0.237726
0
0
0
0
0.012848
0.251603
624
19
71
32.842105
0.815846
0
0
0.25
0
0
0.214744
0.096154
0
0
0
0
0.25
1
0.0625
false
0
0.125
0
0.25
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
0
0
0
2
4677247e7b07ffee44bb30042c587480349f229e
914
py
Python
POO/Heranca/aula107_classes.py
pinheirogus/Curso-Python-Udemy
d6d52320426172e924081b9df619490baa8c6016
[ "MIT" ]
1
2021-09-01T01:58:13.000Z
2021-09-01T01:58:13.000Z
POO/Heranca/aula107_classes.py
pinheirogus/Curso-Python-Udemy
d6d52320426172e924081b9df619490baa8c6016
[ "MIT" ]
null
null
null
POO/Heranca/aula107_classes.py
pinheirogus/Curso-Python-Udemy
d6d52320426172e924081b9df619490baa8c6016
[ "MIT" ]
null
null
null
# Generalizando para não repetir o código! class Pessoa: def __init__(self, nome, idade): self.nome = nome self.idade = idade self.nomeclasse = self.__class__.__name__ def falar(self): print(f'{self.nomeclasse} está falando.') class Cliente(Pessoa): def comprar(self): ...
28.5625
100
0.63895
114
914
4.947368
0.368421
0.070922
0.088652
0.099291
0.308511
0.148936
0
0
0
0
0
0
0.237418
914
32
101
28.5625
0.809182
0.143326
0
0.090909
0
0
0.230474
0
0
0
0
0.03125
0
1
0.272727
false
0
0
0
0.454545
0.227273
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
2
46779bc59fb8e412188640c04f3538454363b415
13,483
py
Python
Package/CONFIG.py
YuanYuLin/samba
ef8aaca2c539b0d241414e7f335b4ff939461558
[ "MIT" ]
null
null
null
Package/CONFIG.py
YuanYuLin/samba
ef8aaca2c539b0d241414e7f335b4ff939461558
[ "MIT" ]
null
null
null
Package/CONFIG.py
YuanYuLin/samba
ef8aaca2c539b0d241414e7f335b4ff939461558
[ "MIT" ]
null
null
null
import ops import iopc TARBALL_FILE="samba-4.8.4.tar.gz" TARBALL_DIR="samba-4.8.4" INSTALL_DIR="samba-bin" pkg_path = "" output_dir = "" tarball_pkg = "" tarball_dir = "" install_dir = "" install_tmp_dir = "" cc_host = "" tmp_include_dir = "" dst_include_dir = "" dst_lib_dir = "" dst_usr_local_lib_dir = "" def set_gl...
42.533123
112
0.705555
2,219
13,483
4.038306
0.081118
0.0308
0.081353
0.06015
0.77045
0.73195
0.688651
0.685191
0.632296
0.515902
0
0.021174
0.120819
13,483
316
113
42.667722
0.734773
0.018097
0
0.099057
0
0
0.331317
0.19484
0
0
0
0
0
0
null
null
0.018868
0.009434
null
null
0.009434
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
4680d6848613dfb9b8af98b8d4dd6e1f33bd4389
1,008
py
Python
Interfas Grafica XI (GUI)/InterfasGraficaXI.py
BrianMarquez3/Python-Course
2622b4ddfd687505becfd246e82a2ed0cb9b76f3
[ "MIT" ]
20
2020-08-19T23:27:01.000Z
2022-02-03T12:02:17.000Z
Interfas Grafica XI (GUI)/InterfasGraficaXI.py
BrianMarquez3/Python-Course
2622b4ddfd687505becfd246e82a2ed0cb9b76f3
[ "MIT" ]
1
2021-04-10T18:06:05.000Z
2021-04-10T18:06:05.000Z
Interfas Grafica XI (GUI)/InterfasGraficaXI.py
BrianMarquez3/Python-Course
2622b4ddfd687505becfd246e82a2ed0cb9b76f3
[ "MIT" ]
2
2020-12-03T19:35:36.000Z
2021-11-10T14:58:39.000Z
# Interfas Grafica XI # Menu from tkinter import * root=Tk() barraMenu=Menu(root) root.config(menu=barraMenu, width=600, height=400) archivoMenu=Menu(barraMenu, tearoff=0) archivoMenu.add_command(label="Nuevo") archivoMenu.add_command(label="Guardar") archivoMenu.add_command(label="Guardar Como") archivoMenu.add_s...
28
68
0.8125
123
1,008
6.536585
0.341463
0.124378
0.186567
0.161692
0.08209
0
0
0
0
0
0
0.009424
0.052579
1,008
36
69
28
0.832461
0.02381
0
0
0
0
0.10387
0
0
0
0
0
0
1
0
false
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
0
0
0
0
0
0
0
2
46917396382ee9f0addf54bb780182338681e694
1,757
py
Python
tmpmodels.py
firaan1/iamgrateful
445260313ab94dfdaf310a6766e848c8df94b624
[ "MIT" ]
null
null
null
tmpmodels.py
firaan1/iamgrateful
445260313ab94dfdaf310a6766e848c8df94b624
[ "MIT" ]
null
null
null
tmpmodels.py
firaan1/iamgrateful
445260313ab94dfdaf310a6766e848c8df94b624
[ "MIT" ]
null
null
null
from sqlalchemy.ext.declarative import declarative_base from sqlalchemy import create_engine from sqlalchemy import Column, Integer, String, Text, ForeignKey, DateTime, func, Boolean from sqlalchemy.orm import relation, sessionmaker, relationship, backref from datetime import datetime import os # Database DATABASE = ...
30.824561
89
0.712009
208
1,757
5.735577
0.346154
0.087175
0.062867
0.055323
0.115675
0.115675
0.115675
0.115675
0
0
0
0.001376
0.172453
1,757
57
90
30.824561
0.81912
0.043256
0
0.142857
0
0
0.077612
0
0
0
0
0
0
1
0.095238
false
0.071429
0.142857
0.071429
0.785714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
46a39565f7364f7f1fb4b269da3328cdcc2b0021
97
py
Python
jarvis/__init__.py
jduncan8142/JARVIS
387003bc00cea2ca74d7094a92e55eab593a968a
[ "MIT" ]
null
null
null
jarvis/__init__.py
jduncan8142/JARVIS
387003bc00cea2ca74d7094a92e55eab593a968a
[ "MIT" ]
null
null
null
jarvis/__init__.py
jduncan8142/JARVIS
387003bc00cea2ca74d7094a92e55eab593a968a
[ "MIT" ]
null
null
null
__version__ = "0.0.3" __author__ = "Jason Duncan" __support__ = "jason.matthew.duncan@gmail.com"
24.25
46
0.742268
13
97
4.615385
0.769231
0
0
0
0
0
0
0
0
0
0
0.034483
0.103093
97
3
47
32.333333
0.655172
0
0
0
0
0
0.484536
0.309278
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
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
46ad743d904b177a6882bac14c8a5ed867753ee6
2,436
py
Python
app/validation/translator.py
codingedward/book-a-meal-api
36756abc225bf7e8306330f2c3e223dc32af7869
[ "MIT" ]
null
null
null
app/validation/translator.py
codingedward/book-a-meal-api
36756abc225bf7e8306330f2c3e223dc32af7869
[ "MIT" ]
null
null
null
app/validation/translator.py
codingedward/book-a-meal-api
36756abc225bf7e8306330f2c3e223dc32af7869
[ "MIT" ]
2
2018-10-01T17:45:19.000Z
2020-12-07T13:48:25.000Z
"""Translates validation error messages for the response""" messages = { 'accepted': 'The :field: must be accepted.', 'after': 'The :field: must be a date after :other:.', 'alpha': 'The :field: may contain only letters.', 'alpha_dash': 'The :field: may only contain letters, numbers, and dashes.', ...
47.764706
85
0.630542
332
2,436
4.581325
0.262048
0.17883
0.16568
0.174885
0.491124
0.313609
0.183432
0.107166
0
0
0
0
0.202381
2,436
50
86
48.72
0.78281
0.021757
0
0
0
0
0.736532
0
0
0
0
0
0
1
0.022727
false
0
0
0
0.045455
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
46af16319f2d029f582d103a8745545d6de7422c
333
py
Python
chat/main/consumers.py
mlambir/channels_talk_pyconar2016
82e54eb914fb005fcdebad1ed07cede898957733
[ "MIT" ]
12
2016-11-30T15:22:22.000Z
2018-02-27T23:03:12.000Z
chat/main/consumers.py
mlambir/channels_talk_pyconar2016
82e54eb914fb005fcdebad1ed07cede898957733
[ "MIT" ]
null
null
null
chat/main/consumers.py
mlambir/channels_talk_pyconar2016
82e54eb914fb005fcdebad1ed07cede898957733
[ "MIT" ]
null
null
null
from channels import Group # websocket.connect def ws_add(message): Group("chat").add(message.reply_channel) # websocket.receive def ws_message(message): Group("chat").send({ "text": message.content['text'], }) # websocket.disconnect def ws_disconnect(message): Group("chat").discard(message.r...
22.2
48
0.708709
41
333
5.634146
0.463415
0.064935
0.207792
0
0
0
0
0
0
0
0
0
0.144144
333
15
48
22.2
0.810526
0.168168
0
0
0
0
0.072993
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0
0.444444
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
0
0
0
2
46b430ceffc244986e1b0a3ab9f0c59e0b7629b0
5,533
py
Python
helpers/parser.py
yasahi-hpc/AMRNet
5858d464bdfe409a5ab50889104768dda3c70508
[ "MIT" ]
null
null
null
helpers/parser.py
yasahi-hpc/AMRNet
5858d464bdfe409a5ab50889104768dda3c70508
[ "MIT" ]
null
null
null
helpers/parser.py
yasahi-hpc/AMRNet
5858d464bdfe409a5ab50889104768dda3c70508
[ "MIT" ]
null
null
null
import argparse def parse(): parser = argparse.ArgumentParser(add_help=True) parser.add_argument('-data_dir', \ action='store', \ nargs='?', \ const=None, \ default='./dataset', \ type=str, \...
39.521429
74
0.325863
356
5,533
4.960674
0.216292
0.076444
0.144394
0.166478
0.656285
0.428652
0.198754
0.062288
0.062288
0.062288
0
0.008772
0.567323
5,533
139
75
39.805755
0.728906
0.003253
0
0.637037
0
0
0.115001
0.003809
0
0
0
0
0
1
0.007407
false
0
0.007407
0
0.022222
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
1
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
2