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
e98571b857a689aad5b7a9d1b659715709c66e89
335
py
Python
setup.py
zfccxt/calcium_gui
fe285f657915604adf0ae3168cc021c8a9353a7a
[ "MIT" ]
null
null
null
setup.py
zfccxt/calcium_gui
fe285f657915604adf0ae3168cc021c8a9353a7a
[ "MIT" ]
null
null
null
setup.py
zfccxt/calcium_gui
fe285f657915604adf0ae3168cc021c8a9353a7a
[ "MIT" ]
null
null
null
import platform import subprocess if __name__ == "__main__": print("Running CMake...") if platform.system() == "Windows": subprocess.call("cmake -B build -G \"Visual Studio 16 2019\"") elif platform.system() == "Darwin": subprocess.call("cmake -B build -G Xcode", shell=True) print("CMak...
27.916667
70
0.638806
40
335
5.15
0.625
0.135922
0.184466
0.194175
0.252427
0.252427
0
0
0
0
0
0.022472
0.202985
335
11
71
30.454545
0.749064
0
0
0
0
0
0.281437
0
0
0
0
0
0
1
0
true
0
0.222222
0
0.222222
0.222222
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
e9c387525b06c7127cd9acf5aa060a05d63427a0
445
py
Python
confusion_matrix/confusion_matrix.py
RaczeQ/naive-bayes-classifier
c8adc960885118a13677e3c5ec4039b976810bee
[ "MIT" ]
null
null
null
confusion_matrix/confusion_matrix.py
RaczeQ/naive-bayes-classifier
c8adc960885118a13677e3c5ec4039b976810bee
[ "MIT" ]
null
null
null
confusion_matrix/confusion_matrix.py
RaczeQ/naive-bayes-classifier
c8adc960885118a13677e3c5ec4039b976810bee
[ "MIT" ]
null
null
null
class ConfusionMatrix(object): TP = TN = FP = FN = 0 def __str__(self): return "p\\t\tP\tN\nP\t{}\t{}\nN\t{}\t{}".format(self.TP, self.FP, self.FN, self.TN) def recall(self): return self.TP / float(self.TP + self.FN) def precision(self): return self.TP / floa...
29.666667
93
0.532584
70
445
3.314286
0.342857
0.12931
0.12931
0.103448
0.267241
0.267241
0.267241
0.267241
0
0
0
0.028213
0.283146
445
14
94
31.785714
0.69906
0
0
0
0
0
0.074246
0.074246
0
0
0
0
0
1
0.4
false
0
0
0.4
1.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
e9c562514c28359842da4eb3798f6048fff73f85
228
py
Python
plugins/testplugin/testplugin/tables.py
rafalp/misago-local-dev
70875c0d327104ad7c1c05de32000c65343c748f
[ "BSD-2-Clause" ]
null
null
null
plugins/testplugin/testplugin/tables.py
rafalp/misago-local-dev
70875c0d327104ad7c1c05de32000c65343c748f
[ "BSD-2-Clause" ]
null
null
null
plugins/testplugin/testplugin/tables.py
rafalp/misago-local-dev
70875c0d327104ad7c1c05de32000c65343c748f
[ "BSD-2-Clause" ]
null
null
null
# import sqlalchemy # from misago.tables import metadata # likes = sqlalchemy.Table( # "likes", # metadata, # sqlalchemy.Column("id", sqlalchemy.Integer, primary_key=True), # sqlalchemy.Column("name", sqlalchemy.String), # )
19
64
0.723684
25
228
6.56
0.64
0.195122
0
0
0
0
0
0
0
0
0
0
0.122807
228
11
65
20.727273
0.82
0.912281
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
3
e9cfff17d44ac9aa0642ff9a46f4feff0b735e7c
148
py
Python
parent/urls.py
Mohsen7640/PicoSchool
69d8658111b27e843928f2458f9a7108ab8bd4e0
[ "Apache-2.0" ]
48
2022-02-05T10:07:33.000Z
2022-03-30T18:14:45.000Z
parent/urls.py
Mohsen7640/PicoSchool
69d8658111b27e843928f2458f9a7108ab8bd4e0
[ "Apache-2.0" ]
2
2022-02-10T11:56:42.000Z
2022-02-16T13:27:26.000Z
parent/urls.py
Mohsen7640/PicoSchool
69d8658111b27e843928f2458f9a7108ab8bd4e0
[ "Apache-2.0" ]
14
2022-02-05T13:46:17.000Z
2022-02-23T16:23:12.000Z
from django.urls import path from parent import views app_name = 'parent' urlpatterns = ( path('', views.parent_view, name='parent_panel'), )
16.444444
53
0.716216
20
148
5.15
0.6
0.194175
0
0
0
0
0
0
0
0
0
0
0.162162
148
8
54
18.5
0.830645
0
0
0
0
0
0.121622
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
758c051d4f1432c0cc7ee7224a41e4a047554396
166
py
Python
HDP/basic/__init__.py
Ardavans/sHDP
4fc18a86668b1c1eebd416857184d60079db2ed6
[ "MIT" ]
74
2016-06-17T04:57:17.000Z
2022-03-29T13:18:58.000Z
HDP/basic/__init__.py
Ardavans/sHDP
4fc18a86668b1c1eebd416857184d60079db2ed6
[ "MIT" ]
9
2017-01-09T08:18:24.000Z
2021-03-31T20:23:58.000Z
HDP/basic/__init__.py
Ardavans/sHDP
4fc18a86668b1c1eebd416857184d60079db2ed6
[ "MIT" ]
25
2016-04-14T20:54:48.000Z
2021-09-17T21:12:39.000Z
import os, sys scriptpath = os.path.abspath(os.path.join(os.path.dirname(__file__))) #/HDP/basic sys.path.append(scriptpath) import distributions import abstractions
27.666667
81
0.801205
24
166
5.375
0.583333
0.139535
0
0
0
0
0
0
0
0
0
0
0.072289
166
5
82
33.2
0.837662
0.060241
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
75977f57c3987b96d1f808b40942f6d99d396445
270
py
Python
_agorithm_/_sum_.py
By2048/_python_
be57738093676a1273e6f69232723669e408986e
[ "MIT" ]
2
2017-02-16T14:50:33.000Z
2018-02-03T01:49:06.000Z
_agorithm_/_sum_.py
By2048/_python_
be57738093676a1273e6f69232723669e408986e
[ "MIT" ]
null
null
null
_agorithm_/_sum_.py
By2048/_python_
be57738093676a1273e6f69232723669e408986e
[ "MIT" ]
null
null
null
from _tool_._decorator_ import run_time A = (i for i in range(1_000_000)) B = [i for i in range(1_000_000)] @run_time def test_a(): return sum(A) @run_time def test_b(): return sum(B) @run_time def test_c(): return sum(B) test_a() test_b() test_c()
10.8
39
0.659259
54
270
2.962963
0.351852
0.175
0.1875
0.2625
0.2375
0.2375
0.2375
0.2375
0
0
0
0.065728
0.211111
270
24
40
11.25
0.685446
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.066667
0.2
0.466667
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
1
0
0
0
3
75acb2c41696da65c72accc428ba4d02baf45452
349
py
Python
src/data/aws_task_report.py
jezd-axyl/platsec-aws-scanner
bc2b064c87ac2f77fab49c1e1eb3782d6de685b2
[ "Apache-2.0" ]
null
null
null
src/data/aws_task_report.py
jezd-axyl/platsec-aws-scanner
bc2b064c87ac2f77fab49c1e1eb3782d6de685b2
[ "Apache-2.0" ]
4
2021-05-06T12:36:46.000Z
2022-02-11T09:47:57.000Z
src/data/aws_task_report.py
jezd-axyl/platsec-aws-scanner
bc2b064c87ac2f77fab49c1e1eb3782d6de685b2
[ "Apache-2.0" ]
2
2021-04-21T04:48:47.000Z
2022-01-14T04:29:17.000Z
from dataclasses import dataclass from typing import Any, Dict, Optional from src.data.aws_athena_data_partition import AwsAthenaDataPartition from src.data.aws_organizations_types import Account @dataclass class AwsTaskReport: account: Account description: str partition: Optional[AwsAthenaDataPartition]...
24.928571
69
0.810888
41
349
6.780488
0.536585
0.05036
0.079137
0.100719
0
0
0
0
0
0
0
0
0.140401
349
13
70
26.846154
0.926667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.4
0
0.9
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
75b6c1715e4fac97e93353eda0ff1529ef92467f
1,093
py
Python
shapex/alphabet/letter.py
figlerg/ShapEx
8d148f93d8345d82dd98509cf9f90fe2ed98c1fd
[ "BSD-3-Clause" ]
2
2021-08-14T17:59:50.000Z
2021-12-13T15:49:49.000Z
shapex/alphabet/letter.py
figlerg/ShapEx
8d148f93d8345d82dd98509cf9f90fe2ed98c1fd
[ "BSD-3-Clause" ]
null
null
null
shapex/alphabet/letter.py
figlerg/ShapEx
8d148f93d8345d82dd98509cf9f90fe2ed98c1fd
[ "BSD-3-Clause" ]
null
null
null
from .letter_type import LetterType class Letter: def get_type(self): return LetterType.UNDEFINED def __str__(self): return 'unknown' def shallow_assert_equal(self, letter: LetterType): return self.get_type() == letter.get_type() # self.assertEqual(letter.slope, self.star...
42.038462
117
0.697164
143
1,093
5.06993
0.433566
0.028966
0.086897
0.074483
0.206897
0.206897
0.206897
0.157241
0.157241
0.157241
0
0
0.21043
1,093
25
118
43.72
0.840093
0.514181
0
0
0
0
0.013359
0
0
0
0
0
0.076923
1
0.384615
false
0
0.076923
0.307692
0.923077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
75e33879307a5b5d26c6dee8e03e081535e07165
106
py
Python
diagramacion_logica/ejercicios/ejercicio_28.py
carlosviveros/Soluciones
115f4fa929c7854ca497e4c994352adc64565456
[ "MIT" ]
4
2021-12-14T23:51:25.000Z
2022-03-24T11:14:00.000Z
diagramacion_logica/ejercicios/ejercicio_28.py
leugimkm/Soluciones
d71601c8d9b5e86e926f48d9e49462af8a956b6d
[ "MIT" ]
null
null
null
diagramacion_logica/ejercicios/ejercicio_28.py
leugimkm/Soluciones
d71601c8d9b5e86e926f48d9e49462af8a956b6d
[ "MIT" ]
5
2021-11-10T06:49:50.000Z
2022-03-24T01:42:28.000Z
"""AyudaEnPython: https://www.facebook.com/groups/ayudapython """ for i in range(10, 0, -1): print(i)
21.2
61
0.660377
16
106
4.375
0.9375
0
0
0
0
0
0
0
0
0
0
0.043478
0.132075
106
5
62
21.2
0.717391
0.54717
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
75e687cab49146e8b0e38a0e2e7a364d004e64ad
2,074
py
Python
utils/misc.py
itsVale/Vale.py
6b3cac68d53e8d814ee969a959aae4de52beda80
[ "MIT" ]
14
2018-08-06T06:45:19.000Z
2018-12-28T14:20:33.000Z
utils/misc.py
Mystic-Alchemy/Vale.py
b4cc964d34672444c65e2801a15f37d774c5e6e3
[ "MIT" ]
10
2018-10-06T10:52:08.000Z
2018-12-28T14:21:47.000Z
utils/misc.py
Mystic-Alchemy/Vale.py
b4cc964d34672444c65e2801a15f37d774c5e6e3
[ "MIT" ]
13
2018-09-23T20:13:10.000Z
2019-01-26T11:02:37.000Z
import asyncio import functools import inspect import json import os from collections import OrderedDict from typing import Callable from more_itertools import grouper REGIONAL_INDICATORS = [chr(i + 0x1f1e6) for i in range(26)] def truncate(string, length, placeholder): return (string[:length] + placeholder) if...
25.925
97
0.689489
295
2,074
4.769492
0.447458
0.028429
0.036958
0.036247
0.073205
0.045487
0.045487
0
0
0
0
0.014916
0.1919
2,074
79
98
26.253165
0.824582
0.166345
0
0
0
0
0.045963
0
0
0
0.004125
0
0
1
0.238095
false
0
0.190476
0.166667
0.738095
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f93c6e309b67fd29278f0cdba070b03f0a4e8bae
179
py
Python
django_ae_utils/sessions/models.py
elsigh/browserscope
f0b3670d4692742d5f2e6cf605bce9b1a4b8ca1b
[ "Apache-2.0" ]
22
2015-10-26T15:20:37.000Z
2022-03-11T06:38:17.000Z
django_ae_utils/sessions/models.py
IIKovalenko/browserscope
f0b3670d4692742d5f2e6cf605bce9b1a4b8ca1b
[ "Apache-2.0" ]
10
2016-01-22T18:46:19.000Z
2019-07-19T12:49:51.000Z
django_ae_utils/sessions/models.py
IIKovalenko/browserscope
f0b3670d4692742d5f2e6cf605bce9b1a4b8ca1b
[ "Apache-2.0" ]
12
2015-10-17T09:40:44.000Z
2019-06-08T19:54:36.000Z
from google.appengine.ext import db class Session(db.Model): session_key = db.StringProperty() session_data = db.BlobProperty() expire_date = db.DateTimeProperty()
19.888889
39
0.731844
22
179
5.818182
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.167598
179
8
40
22.375
0.85906
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
f96625cd9c234d5e60d3440b90cfb049ace75f32
343
py
Python
channels/testing/__init__.py
MattBroach/channels
0ff62d1cef893a4982fe563dc655be700cbbdfde
[ "BSD-3-Clause" ]
4,277
2016-09-09T15:11:42.000Z
2022-03-28T09:07:09.000Z
channels/testing/__init__.py
MattBroach/channels
0ff62d1cef893a4982fe563dc655be700cbbdfde
[ "BSD-3-Clause" ]
1,283
2016-09-09T12:50:27.000Z
2022-03-29T09:52:02.000Z
channels/testing/__init__.py
MattBroach/channels
0ff62d1cef893a4982fe563dc655be700cbbdfde
[ "BSD-3-Clause" ]
843
2016-09-10T07:53:06.000Z
2022-03-29T12:23:41.000Z
from asgiref.testing import ApplicationCommunicator # noqa from .http import HttpCommunicator # noqa from .live import ChannelsLiveServerTestCase # noqa from .websocket import WebsocketCommunicator # noqa __all__ = [ "ApplicationCommunicator", "HttpCommunicator", "ChannelsLiveServerTestCase", "Web...
26.384615
59
0.77551
26
343
10.076923
0.5
0.091603
0
0
0
0
0
0
0
0
0
0
0.157434
343
12
60
28.583333
0.906574
0.055394
0
0
0
0
0.269592
0.219436
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f9849bd45ede39d2858727d1be84b1473980ce8e
1,495
py
Python
core/tests/test_validators.py
martbln/django-service-boilerplate
1e6e584e751a48f460edb6b6db0bb55c53a3c200
[ "MIT" ]
18
2018-03-07T09:27:38.000Z
2022-01-06T18:44:29.000Z
core/tests/test_validators.py
martbln/django-service-boilerplate
1e6e584e751a48f460edb6b6db0bb55c53a3c200
[ "MIT" ]
292
2018-02-09T12:27:53.000Z
2022-03-11T23:11:58.000Z
core/tests/test_validators.py
martbln/django-service-boilerplate
1e6e584e751a48f460edb6b6db0bb55c53a3c200
[ "MIT" ]
11
2018-01-30T00:01:51.000Z
2020-12-28T12:07:47.000Z
import pytest from django.core.exceptions import ValidationError from core.validators import snils_validator, inn_validator, kpp_validator def test_valid_snils(): assert snils_validator('11223344595') is None assert snils_validator('08765430300') is None assert snils_validator('08675430300') is None de...
28.207547
73
0.743144
195
1,495
5.492308
0.246154
0.052288
0.089636
0.173669
0.699346
0.572362
0.572362
0.532213
0.211951
0.177404
0
0.096618
0.169231
1,495
52
74
28.75
0.7657
0
0
0.342857
0
0
0.12709
0
0
0
0
0
0.342857
1
0.228571
true
0
0.085714
0
0.314286
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
1
0
0
0
0
0
0
3
f9a2f58366e255b129debb7998d89960192a9019
97
py
Python
hmac_authentication/__init__.py
18F/hmac_authentication_py
c5dc58dabed4b8d0dd5ebc8b1ad6fb8da7b1319e
[ "CC0-1.0" ]
1
2015-10-14T17:45:53.000Z
2015-10-14T17:45:53.000Z
hmac_authentication/__init__.py
18F/hmac_authentication_py
c5dc58dabed4b8d0dd5ebc8b1ad6fb8da7b1319e
[ "CC0-1.0" ]
3
2015-10-07T14:38:21.000Z
2015-10-16T17:30:37.000Z
hmac_authentication/__init__.py
18F/hmac_authentication_py
c5dc58dabed4b8d0dd5ebc8b1ad6fb8da7b1319e
[ "CC0-1.0" ]
5
2015-10-14T14:27:02.000Z
2021-02-18T10:36:26.000Z
# -*- coding: utf-8 -*- __version__ = '0.0.0' __author__ = 'Mike Bland' __license__ = "CC0-1.0"
16.166667
25
0.608247
14
97
3.357143
0.785714
0.085106
0
0
0
0
0
0
0
0
0
0.08642
0.164948
97
5
26
19.4
0.493827
0.216495
0
0
0
0
0.297297
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f9c2cdb9d7851964a955bd35a93dcce7cf83f89a
159
py
Python
tests/pyccel/scripts/import_syntax/collisions3.py
noushi/pyccel
f20846897ba2418dc0f432e293bcf8b4ddb24915
[ "MIT" ]
null
null
null
tests/pyccel/scripts/import_syntax/collisions3.py
noushi/pyccel
f20846897ba2418dc0f432e293bcf8b4ddb24915
[ "MIT" ]
null
null
null
tests/pyccel/scripts/import_syntax/collisions3.py
noushi/pyccel
f20846897ba2418dc0f432e293bcf8b4ddb24915
[ "MIT" ]
1
2021-01-08T12:32:51.000Z
2021-01-08T12:32:51.000Z
# pylint: disable=missing-function-docstring, missing-module-docstring/ import numpy as np ones = np.ones(3) import math as m c = m.cos(3.0) + np.cos(ones)
17.666667
71
0.716981
28
159
4.071429
0.607143
0.105263
0
0
0
0
0
0
0
0
0
0.022059
0.144654
159
8
72
19.875
0.816176
0.433962
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f9c3055224e3d9d09ad789011684d30903af7bc5
15
py
Python
Zoom meeting chat analysis/common.py
yashgugale/UIUC-iMBA
814ca1d6f372d166afb207d8f5ec9b4712148078
[ "MIT" ]
null
null
null
Zoom meeting chat analysis/common.py
yashgugale/UIUC-iMBA
814ca1d6f372d166afb207d8f5ec9b4712148078
[ "MIT" ]
null
null
null
Zoom meeting chat analysis/common.py
yashgugale/UIUC-iMBA
814ca1d6f372d166afb207d8f5ec9b4712148078
[ "MIT" ]
null
null
null
CLASS_NAME = ""
15
15
0.666667
2
15
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.133333
15
1
15
15
0.692308
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f9ce9e3c3037e8fba2466413925f626bbcf9e787
411
py
Python
tests/test_workflow_step_output.py
johnbradley/cwlpy
6eee510c862878a7203b4c6ceef69e64efaca59a
[ "Apache-2.0" ]
3
2018-06-30T21:53:49.000Z
2018-07-06T14:42:01.000Z
tests/test_workflow_step_output.py
johnbradley/cwlpy
6eee510c862878a7203b4c6ceef69e64efaca59a
[ "Apache-2.0" ]
7
2018-06-30T21:28:10.000Z
2018-12-07T15:45:20.000Z
tests/test_workflow_step_output.py
johnbradley/cwlpy
6eee510c862878a7203b4c6ceef69e64efaca59a
[ "Apache-2.0" ]
1
2018-12-07T14:05:33.000Z
2018-12-07T14:05:33.000Z
from unittest import TestCase from cwlpy import WorkflowStepOutput class WorkflowStepOutputTestCase(TestCase): def setUp(self): self.step_output = WorkflowStepOutput('my-step-output') def test_id(self): self.assertEqual(self.step_output.id, 'my-step-output') def test_save(self): ...
22.833333
63
0.698297
50
411
5.64
0.38
0.212766
0.148936
0.106383
0.134752
0
0
0
0
0
0
0
0.187348
411
17
64
24.176471
0.844311
0
0
0
0
0
0.107317
0
0
0
0
0
0.2
1
0.3
false
0
0.2
0
0.6
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
1
0
0
3
f9dd1c77c3c7b8acb3288d3d41e27f724d46fd68
3,757
py
Python
pycatia/hybrid_shape_interfaces/hybrid_shape_plane_tangent.py
evereux/catia_python
08948585899b12587b0415ce3c9191a408b34897
[ "MIT" ]
90
2019-02-21T10:05:28.000Z
2022-03-19T01:53:41.000Z
pycatia/hybrid_shape_interfaces/hybrid_shape_plane_tangent.py
Luanee/pycatia
ea5eef8178f73de12404561c00baf7a7ca30da59
[ "MIT" ]
99
2019-05-21T08:29:12.000Z
2022-03-25T09:55:15.000Z
pycatia/hybrid_shape_interfaces/hybrid_shape_plane_tangent.py
Luanee/pycatia
ea5eef8178f73de12404561c00baf7a7ca30da59
[ "MIT" ]
26
2019-04-04T06:31:36.000Z
2022-03-30T07:24:47.000Z
#! usr/bin/python3.6 """ Module initially auto generated using V5Automation files from CATIA V5 R28 on 2020-07-06 14:02:20.222384 .. warning:: The notes denoted "CAA V5 Visual Basic Help" are to be used as reference only. They are there as a guide as to how the visual basic / catscript function...
31.308333
108
0.489486
338
3,757
5.307692
0.349112
0.036789
0.041806
0.055741
0.416945
0.367336
0.323857
0.312709
0.312709
0.312709
0
0.04298
0.44264
3,757
119
109
31.571429
0.813754
0.595954
0
0.1
1
0
0.045842
0.045842
0
0
0
0
0
1
0.3
false
0
0.1
0.05
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
ddbc01f551fbf84cc4a89dce75b3bd26a29a4a24
1,305
py
Python
models/vision/detection/awsdet/utils/runner/dist_utils.py
kevinyang8/deep-learning-models
271ddfa106c99bc131023e8e159c1b8cc903fe0e
[ "Apache-2.0", "MIT" ]
null
null
null
models/vision/detection/awsdet/utils/runner/dist_utils.py
kevinyang8/deep-learning-models
271ddfa106c99bc131023e8e159c1b8cc903fe0e
[ "Apache-2.0", "MIT" ]
null
null
null
models/vision/detection/awsdet/utils/runner/dist_utils.py
kevinyang8/deep-learning-models
271ddfa106c99bc131023e8e159c1b8cc903fe0e
[ "Apache-2.0", "MIT" ]
1
2020-05-27T23:56:10.000Z
2020-05-27T23:56:10.000Z
# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 # -*- coding: utf-8 -*- import functools import os import subprocess import tensorflow as tf import horovod.tensorflow as hvd def init_dist(): hvd.init() # tf.debugging.set_log_device_placement(True)...
31.071429
97
0.710345
177
1,305
5.073446
0.497175
0.020045
0.040089
0.080178
0.060134
0
0
0
0
0
0
0.011938
0.165517
1,305
41
98
31.829268
0.812672
0.15249
0
0
0
0
0.045455
0
0
0
0
0.02439
0
1
0.233333
false
0
0.166667
0.1
0.566667
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
ddbe3dde06c6b6ee4f1c16f441b24e6b212f3561
616
py
Python
pydoccano/projects.py
evstratbg/pydoccano
ce14307cae53f785f714656981b5b9a463758ef3
[ "MIT" ]
2
2020-04-11T14:48:28.000Z
2020-09-24T12:38:30.000Z
pydoccano/projects.py
evstratbg/pydoccano
ce14307cae53f785f714656981b5b9a463758ef3
[ "MIT" ]
null
null
null
pydoccano/projects.py
evstratbg/pydoccano
ce14307cae53f785f714656981b5b9a463758ef3
[ "MIT" ]
2
2020-04-06T11:46:45.000Z
2020-04-27T03:18:46.000Z
from requests import Session from .base_api import BaseApi class Projects(BaseApi): def __init__(self, base_url: str, session: Session, version='v1'): super().__init__(base_url) self.session = session self.version = version self.base_endpoint = f"{self.version}/projects" def ...
29.333333
82
0.688312
80
616
5.025
0.325
0.099502
0.159204
0.156716
0.298507
0.298507
0.298507
0.298507
0.298507
0.298507
0
0.002012
0.193182
616
20
83
30.8
0.806841
0
0
0
0
0
0.165584
0.162338
0
0
0
0
0
1
0.285714
false
0
0.142857
0.214286
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ddbe8020b1d0e53dcf773997ee601fe75a725fa6
3,268
py
Python
src/ultros/core/rules/transformers.py
UltrosBot/Ultros3K
3aac86beecf94ff1391ca993eafaaf55e513b965
[ "Artistic-2.0" ]
11
2016-06-29T11:54:42.000Z
2020-11-02T00:09:41.000Z
src/ultros/core/rules/transformers.py
UltrosBot/Ultros3K
3aac86beecf94ff1391ca993eafaaf55e513b965
[ "Artistic-2.0" ]
4
2016-06-29T12:11:25.000Z
2017-03-21T15:24:32.000Z
src/ultros/core/rules/transformers.py
UltrosBot/Ultros3K
3aac86beecf94ff1391ca993eafaaf55e513b965
[ "Artistic-2.0" ]
null
null
null
# coding=utf-8 """ A module for a predefined set of basic transformers. A transformer is a result - It tells the rules engine what to do when a rule is matched. As a result, they must return one of the following: * TransformerResult.CONTINUE - Meaning, "Continue with the next rule" * TransformerResult.RETURN - Meani...
31.12381
78
0.715728
395
3,268
5.865823
0.250633
0.086319
0.025896
0.043159
0.683211
0.666379
0.621493
0.621493
0.50669
0.50669
0
0.001933
0.20869
3,268
104
79
31.423077
0.894045
0.589657
0
0.4
0
0
0.010042
0
0
0
0
0
0
1
0.4
false
0
0.08
0.16
0.88
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ddd98aa581f0fa7391b4e5b986e8b53d3289cd8c
1,666
py
Python
tensorflow/python/keras/saving/saving_utils.py
rdn86/tensorflow
adefac94c838c2c353ca62f8cc23dbb39a8cf6cd
[ "Apache-2.0" ]
2
2019-01-07T03:20:51.000Z
2019-01-07T07:11:48.000Z
tensorflow/python/keras/saving/saving_utils.py
rdn86/tensorflow
adefac94c838c2c353ca62f8cc23dbb39a8cf6cd
[ "Apache-2.0" ]
null
null
null
tensorflow/python/keras/saving/saving_utils.py
rdn86/tensorflow
adefac94c838c2c353ca62f8cc23dbb39a8cf6cd
[ "Apache-2.0" ]
2
2019-12-17T09:27:07.000Z
2020-05-24T13:09:49.000Z
# Copyright 2015 The TensorFlow Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applica...
36.217391
80
0.716687
234
1,666
4.970085
0.534188
0.051591
0.041273
0.027515
0
0
0
0
0
0
0
0.007189
0.165066
1,666
45
81
37.022222
0.8289
0.682473
0
0
0
0
0.032854
0
0
0
0
0.022222
0
1
0.076923
false
0
0.307692
0
0.538462
0.076923
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
1
0
1
0
0
3
dde1ffb9d24b750b44551f21e350f76ed0599527
3,338
py
Python
src/sims4communitylib/classes/options.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
118
2019-08-31T04:33:18.000Z
2022-03-28T21:12:14.000Z
src/sims4communitylib/classes/options.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
15
2019-12-05T01:29:46.000Z
2022-02-18T17:13:46.000Z
src/sims4communitylib/classes/options.py
velocist/TS4CheatsInfo
b59ea7e5f4bd01d3b3bd7603843d525a9c179867
[ "Apache-2.0" ]
28
2019-09-07T04:11:05.000Z
2022-02-07T18:31:40.000Z
""" The Sims 4 Community Library is licensed under the Creative Commons Attribution 4.0 International public license (CC BY 4.0). https://creativecommons.org/licenses/by/4.0/ https://creativecommons.org/licenses/by/4.0/legalcode Copyright (c) COLONOLNUTTY """ from typing import Dict, Any class CommonOption: """C...
28.288136
125
0.627322
427
3,338
4.751756
0.241218
0.059635
0.021686
0.0414
0.132085
0.066042
0.066042
0.036471
0.036471
0.036471
0
0.003721
0.275315
3,338
117
126
28.529915
0.835056
0.431096
0
0.190476
0
0
0.004308
0
0
0
0
0
0
1
0.333333
false
0
0.02381
0.119048
0.619048
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
3498aa560657518e0ebfebb6ccdf074020816949
41
py
Python
src/aslsens/__init__.py
gold-standard-phantoms/asl-whitepaper-sensitivity
ce25377109826deebcb6c04cd5bedc432b5b2967
[ "MIT" ]
null
null
null
src/aslsens/__init__.py
gold-standard-phantoms/asl-whitepaper-sensitivity
ce25377109826deebcb6c04cd5bedc432b5b2967
[ "MIT" ]
null
null
null
src/aslsens/__init__.py
gold-standard-phantoms/asl-whitepaper-sensitivity
ce25377109826deebcb6c04cd5bedc432b5b2967
[ "MIT" ]
null
null
null
"""aslsens init""" __version__ = "1.0.0"
13.666667
21
0.609756
6
41
3.5
0.833333
0
0
0
0
0
0
0
0
0
0
0.083333
0.121951
41
2
22
20.5
0.5
0.292683
0
0
0
0
0.217391
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
34afb9b69c209d19ce5d76088c422f4e73e53557
139
py
Python
Pacote de Conteudo/Mundo 02/Exercicios/ex046.py
Michelle-On/ExerciciosPython_2020-21
61615237a310c15923138575ebc65f6a15b301ab
[ "MIT" ]
null
null
null
Pacote de Conteudo/Mundo 02/Exercicios/ex046.py
Michelle-On/ExerciciosPython_2020-21
61615237a310c15923138575ebc65f6a15b301ab
[ "MIT" ]
null
null
null
Pacote de Conteudo/Mundo 02/Exercicios/ex046.py
Michelle-On/ExerciciosPython_2020-21
61615237a310c15923138575ebc65f6a15b301ab
[ "MIT" ]
null
null
null
from time import sleep for c in range (10,0-1,-1): sleep(1) print(c) print('\033[1;31mBOW! \033[1;32mPOOOOW! \033[1;35mBOW!\033[m')
27.8
62
0.640288
28
139
3.178571
0.607143
0.134831
0
0
0
0
0
0
0
0
0
0.228814
0.151079
139
5
62
27.8
0.525424
0
0
0
0
0.2
0.378571
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
34cc8bc759554ab0cde9a1e223240bf37cb07032
158
py
Python
exer2/exer2-23.py
JoshuaFerreiraFaraco/infosatc-lp-avaliativo-01
9e522f53259cdfac89b2eb73df21b9b0db0de496
[ "MIT" ]
1
2021-09-06T19:40:08.000Z
2021-09-06T19:40:08.000Z
exer2/exer2-23.py
JoshuaFerreiraFaraco/infosatc-lp-avaliativo-01
9e522f53259cdfac89b2eb73df21b9b0db0de496
[ "MIT" ]
null
null
null
exer2/exer2-23.py
JoshuaFerreiraFaraco/infosatc-lp-avaliativo-01
9e522f53259cdfac89b2eb73df21b9b0db0de496
[ "MIT" ]
null
null
null
metros = float(input("Digite um valor em metros: ")) jardas = metros / 0.91 print("{} metros convertido em jardes é equivalente a: {}".format(metros,jardas))
39.5
81
0.708861
23
158
4.869565
0.73913
0.214286
0
0
0
0
0
0
0
0
0
0.022059
0.139241
158
4
81
39.5
0.801471
0
0
0
0
0
0.484277
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
34d347b9f1096ad185e556f561a03290e0ef6c11
445
py
Python
flowder/exceptions.py
amir-khakshour/flowder
d4560b2faea300bb2a4815f13815085215ef7019
[ "MIT" ]
3
2016-06-20T18:33:18.000Z
2019-11-10T11:52:27.000Z
flowder/exceptions.py
amir-khakshour/flowder
d4560b2faea300bb2a4815f13815085215ef7019
[ "MIT" ]
null
null
null
flowder/exceptions.py
amir-khakshour/flowder
d4560b2faea300bb2a4815f13815085215ef7019
[ "MIT" ]
null
null
null
class NoResponseContent(Exception): """ When the response is empty """ pass class InvalidResponseRetry(Exception): """ When the response is invalid and we want to retry """ pass class InvalidAMQPMessage(Exception): def __repr__(self): return 'The incoming AMQP message has...
20.227273
66
0.669663
51
445
5.686275
0.666667
0.089655
0.110345
0.165517
0.358621
0
0
0
0
0
0
0
0.244944
445
22
67
20.227273
0.863095
0.170787
0
0.4
0
0
0.156342
0
0
0
0
0
0
1
0.2
false
0.2
0
0.2
0.8
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
0
0
0
3
34fa31ceb5408b810708ede5f46962158527766c
280
py
Python
d04/ex01/YoungestFellah.py
lpieri/bootcamp-python
7080e43e4352b8fa3c48978ac766081ae5cf76bc
[ "MIT" ]
null
null
null
d04/ex01/YoungestFellah.py
lpieri/bootcamp-python
7080e43e4352b8fa3c48978ac766081ae5cf76bc
[ "MIT" ]
null
null
null
d04/ex01/YoungestFellah.py
lpieri/bootcamp-python
7080e43e4352b8fa3c48978ac766081ae5cf76bc
[ "MIT" ]
null
null
null
import pandas as pd def youngestFellah(df, year): df_filter = df.loc[lambda df: df['Year'] == year] df_f = df_filter[lambda df: df['Sex'] == 'F'] df_m = df_filter[lambda df: df['Sex'] == 'M'] dic = {'f': df_f['Age'].min(), 'm': df_m['Age'].min()} return dic
28
58
0.567857
48
280
3.166667
0.375
0.157895
0.197368
0.210526
0.276316
0.276316
0
0
0
0
0
0
0.207143
280
9
59
31.111111
0.684685
0
0
0
0
0
0.071429
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
34fa8af44e9d7ce04488c66efc946e2abd154c56
134
py
Python
utils.py
Frosty-nee/aoc2021
805a83210466f56422e2e452c0cf2c76510a6802
[ "WTFPL" ]
null
null
null
utils.py
Frosty-nee/aoc2021
805a83210466f56422e2e452c0cf2c76510a6802
[ "WTFPL" ]
null
null
null
utils.py
Frosty-nee/aoc2021
805a83210466f56422e2e452c0cf2c76510a6802
[ "WTFPL" ]
null
null
null
def process_raw_input(s): s = 'inputs/'+s with open(s) as t: return [line.strip().rstrip() for line in t.readlines()]
26.8
64
0.604478
22
134
3.590909
0.772727
0
0
0
0
0
0
0
0
0
0
0
0.231343
134
4
65
33.5
0.76699
0
0
0
0
0
0.052239
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
34fe08c0536c77609b771057bac4c22b52a31c27
600
py
Python
tests/unit_tests/fixtures/compounds.py
marco-foscato/Lib-INVENT
fe6a65ab7165abd87b25752a6b4208c8703d11f7
[ "Apache-2.0" ]
26
2021-04-30T23:21:17.000Z
2022-03-10T06:33:11.000Z
tests/unit_tests/fixtures/compounds.py
marco-foscato/Lib-INVENT
fe6a65ab7165abd87b25752a6b4208c8703d11f7
[ "Apache-2.0" ]
6
2021-10-03T08:35:48.000Z
2022-03-24T09:57:39.000Z
tests/unit_tests/fixtures/compounds.py
marco-foscato/Lib-INVENT
fe6a65ab7165abd87b25752a6b4208c8703d11f7
[ "Apache-2.0" ]
10
2021-04-28T14:08:17.000Z
2022-03-04T04:18:13.000Z
REACTION_SUZUKI = "[*;$(c2aaaaa2),$(c2aaaa2):1]-!@[*;$(c2aaaaa2),$(c2aaaa2):2]>>[*:1][*].[*:2][*]" SCAFFOLD_SUZUKI = 'Cc1ccc(cc1)c2cc(nn2c3ccc(cc3)S(=O)(=O)N)[*]' DECORATION_SUZUKI = '[*]c1ncncc1' TWO_DECORATIONS_SUZUKI = '[*]c1ncncc1|[*]c1ncncc1' TWO_DECORATIONS_ONE_SUZUKI = '[*]c1ncncc1|[*]C' SCAFFOLD_NO_SUZUKI = '[...
42.857143
98
0.655
90
600
4.2
0.311111
0.092593
0.198413
0.238095
0.407407
0.407407
0.407407
0.407407
0.349206
0.201058
0
0.091549
0.053333
600
13
99
46.153846
0.573944
0
0
0
0
0.2
0.597663
0.54591
0
0
0
0
0
1
0
false
0
0
0
0
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5514e52105729fe8c925d86c05d6e7f39d4e771a
267
py
Python
curso em video/python/mundo 2/ex 053.py
KenzoDezotti/cursoemvideo
6eba03e67192f7384092192ed2cc1a8e59efd9b9
[ "MIT" ]
null
null
null
curso em video/python/mundo 2/ex 053.py
KenzoDezotti/cursoemvideo
6eba03e67192f7384092192ed2cc1a8e59efd9b9
[ "MIT" ]
null
null
null
curso em video/python/mundo 2/ex 053.py
KenzoDezotti/cursoemvideo
6eba03e67192f7384092192ed2cc1a8e59efd9b9
[ "MIT" ]
null
null
null
x = input('digite um palindromo: ') y = x.strip().upper() w = len(y) int(w) s = 1 v = list(x) for c in range(0, w + 1): if x[0+s] == x[w-s]: s = s + 1 if s==1: print('{} é um palindromo'.format(y)) else: print('{} não é um palindromo'.format(y))
17.8
45
0.520599
53
267
2.622642
0.490566
0.258993
0.18705
0.273381
0.28777
0
0
0
0
0
0
0.030151
0.254682
267
14
46
19.071429
0.668342
0
0
0
0
0
0.23221
0
0
0
0
0
0
1
0
false
0
0
0
0
0.153846
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9b3620f722ad5dd8261a67ce7f55e5ada50b2896
894
py
Python
web/submission/models.py
haihua-sysu/onlinejudge
41baebbf1630bd647009b7efe3ecd09de628387f
[ "MIT" ]
null
null
null
web/submission/models.py
haihua-sysu/onlinejudge
41baebbf1630bd647009b7efe3ecd09de628387f
[ "MIT" ]
null
null
null
web/submission/models.py
haihua-sysu/onlinejudge
41baebbf1630bd647009b7efe3ecd09de628387f
[ "MIT" ]
null
null
null
from django.db import models from handle.models import Handle from problemset.models import Problem from django.contrib.auth.models import User class Submission(models.Model): sid = models.AutoField('sid', primary_key = True) user = models.ForeignKey(User) pid = models.ForeignKey(Problem, "pid") cid = ...
33.111111
74
0.706935
107
894
5.803738
0.476636
0.173913
0.241546
0.251208
0.096618
0
0
0
0
0
0
0.012414
0.189038
894
26
75
34.384615
0.844138
0.011186
0
0
0
0
0.019253
0
0
0
0
0
0
1
0.045455
false
0
0.181818
0.045455
0.954545
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
9b393e7c73f73ede80b0766827242aebc32ab173
32
py
Python
config.py
PooyaFekri/LinkedIn
96d63dac49114660ced32b5df12dfbf072c82683
[ "MIT" ]
null
null
null
config.py
PooyaFekri/LinkedIn
96d63dac49114660ced32b5df12dfbf072c82683
[ "MIT" ]
null
null
null
config.py
PooyaFekri/LinkedIn
96d63dac49114660ced32b5df12dfbf072c82683
[ "MIT" ]
null
null
null
DB_PATH = './identifier.sqlite'
16
31
0.71875
4
32
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.09375
32
1
32
32
0.758621
0
0
0
0
0
0.59375
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9b3b695d6435fd723a522f2387b24de3d8e74140
185
py
Python
shdl.py
ckf42/shdl
1ff377c43edb3333fbc54a74f4cd8a9fc256c976
[ "MIT" ]
null
null
null
shdl.py
ckf42/shdl
1ff377c43edb3333fbc54a74f4cd8a9fc256c976
[ "MIT" ]
15
2021-09-03T13:01:24.000Z
2022-01-24T10:09:11.000Z
shdl.py
ckf42/shdl
1ff377c43edb3333fbc54a74f4cd8a9fc256c976
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # trigger if __name__ == '__main__': try: from shdlCore import main main() except KeyboardInterrupt: # do nothing pass
14.230769
33
0.572973
19
185
5.157895
0.894737
0
0
0
0
0
0
0
0
0
0
0.008197
0.340541
185
12
34
15.416667
0.795082
0.216216
0
0
0
0
0.056338
0
0
0
0
0
0
1
0
true
0.166667
0.166667
0
0.166667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
9b4cc1bdd3a7bb9c5e00d15e291fb96de0f1c1f9
942
py
Python
qiskit/backends/_basebackend.py
ishandutta2007/qiskit-sdk-py
69ae9c3cb276e5aa097a5cc4ee4eabe31c4f04ca
[ "Apache-2.0" ]
1
2020-04-30T15:09:16.000Z
2020-04-30T15:09:16.000Z
qiskit/backends/_basebackend.py
ishandutta2007/qiskit-sdk-py
69ae9c3cb276e5aa097a5cc4ee4eabe31c4f04ca
[ "Apache-2.0" ]
null
null
null
qiskit/backends/_basebackend.py
ishandutta2007/qiskit-sdk-py
69ae9c3cb276e5aa097a5cc4ee4eabe31c4f04ca
[ "Apache-2.0" ]
null
null
null
"""This module implements the abstract base class for backend modules. To create add-on backend modules subclass the Backend class in this module. Doing so requires that the required backend interface is implemented. """ from abc import ABC, abstractmethod class BaseBackend(ABC): @abstractmethod def __init__...
27.705882
75
0.684713
106
942
6.018868
0.575472
0.079937
0.037618
0
0
0
0
0
0
0
0
0
0.259023
942
33
76
28.545455
0.91404
0.564756
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.272727
false
0.090909
0.090909
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
9b8905219fd8ec90b6fce7fcdc2e09535b0d28c2
49
py
Python
src/BubotObj/OcfDevice/subtype/ModbusSlave/__init__.py
businka/bubot_Modbus
d3d0bcf584caa365e69bb0dd022746ac0bd01cc7
[ "MIT" ]
null
null
null
src/BubotObj/OcfDevice/subtype/ModbusSlave/__init__.py
businka/bubot_Modbus
d3d0bcf584caa365e69bb0dd022746ac0bd01cc7
[ "MIT" ]
null
null
null
src/BubotObj/OcfDevice/subtype/ModbusSlave/__init__.py
businka/bubot_Modbus
d3d0bcf584caa365e69bb0dd022746ac0bd01cc7
[ "MIT" ]
null
null
null
__version__ = '0.0.2' name = 'bubot_ModbusSlave'
16.333333
26
0.714286
7
49
4.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0.069767
0.122449
49
2
27
24.5
0.627907
0
0
0
0
0
0.44898
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9ba61ffa9f3781b6280d9cdb1440a541781fba32
264
py
Python
pynamodb/connection/util.py
stevenj/PynamoDB
362d98c241f84d6a43d53bf0cc9dcd055e84a2fa
[ "MIT" ]
3
2016-11-13T20:05:07.000Z
2017-03-29T20:19:44.000Z
pynamodb/connection/util.py
stevenj/PynamoDB
362d98c241f84d6a43d53bf0cc9dcd055e84a2fa
[ "MIT" ]
8
2020-02-12T02:42:15.000Z
2020-04-04T23:35:19.000Z
pynamodb/connection/util.py
stevenj/PynamoDB
362d98c241f84d6a43d53bf0cc9dcd055e84a2fa
[ "MIT" ]
4
2019-08-17T20:02:28.000Z
2020-12-01T01:11:25.000Z
""" Utils """ import re def pythonic(var_name): """ Converts CamelCase variable names to pythonic variable_names """ first_pass = re.sub('(.)([A-Z][a-z]+)', r'\1_\2', var_name) return re.sub('([a-z0-9])([A-Z])', r'\1_\2', first_pass).lower()
20.307692
68
0.579545
42
264
3.47619
0.571429
0.041096
0.082192
0.054795
0.068493
0
0
0
0
0
0
0.02765
0.17803
264
12
69
22
0.645161
0.25
0
0
0
0
0.245714
0
0
0
0
0
0
1
0.25
false
0.5
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
1
0
0
1
0
0
3
32cdcf235a37fbfcecb3143921d23627505dcdef
278
py
Python
conf/landscapes_relay/configen/landscapes/models/meta/ema/conf.py
wearepal/landscapes-ml
10b0159201d15358b97716ad6a3f89747eb634e5
[ "Apache-2.0" ]
null
null
null
conf/landscapes_relay/configen/landscapes/models/meta/ema/conf.py
wearepal/landscapes-ml
10b0159201d15358b97716ad6a3f89747eb634e5
[ "Apache-2.0" ]
null
null
null
conf/landscapes_relay/configen/landscapes/models/meta/ema/conf.py
wearepal/landscapes-ml
10b0159201d15358b97716ad6a3f89747eb634e5
[ "Apache-2.0" ]
null
null
null
from dataclasses import dataclass, field from omegaconf import MISSING from typing import Any @dataclass class EmaModelConf: _target_: str = "landscapes.models.meta.ema.EmaModel" model: Any = MISSING # Module decay: float = MISSING update_frequency: int = 1
21.384615
57
0.741007
34
278
5.970588
0.764706
0
0
0
0
0
0
0
0
0
0
0.004464
0.194245
278
12
58
23.166667
0.901786
0.021583
0
0
0
0
0.130112
0.130112
0
0
0
0
0
1
0
true
0
0.333333
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
32db766e9c152dcac810e3f4067c049aad22cf0c
414
py
Python
plateaupy/plluse.py
kohakurei/plateaupy
b72a59d204adc09a4a28809a24903e06aedc1ca3
[ "MIT" ]
32
2021-02-13T07:52:08.000Z
2021-12-29T03:58:24.000Z
plateaupy/plluse.py
kohakurei/plateaupy
b72a59d204adc09a4a28809a24903e06aedc1ca3
[ "MIT" ]
1
2021-07-21T09:18:29.000Z
2021-07-22T05:46:23.000Z
plateaupy/plluse.py
kohakurei/plateaupy
b72a59d204adc09a4a28809a24903e06aedc1ca3
[ "MIT" ]
5
2021-02-11T16:55:22.000Z
2021-11-12T01:56:06.000Z
from plateaupy.plobj import plobj from plateaupy.plutils import * from plateaupy.ploptions import ploptions import numpy as np import copy from lxml import etree class plluse(plobj): def __init__(self,filename=None, options=ploptions()): super().__init__() self.kindstr = 'luse' if filename is not None: self....
25.875
55
0.770531
56
414
5.553571
0.5
0.125402
0
0
0
0
0
0
0
0
0
0
0.135266
414
15
56
27.6
0.868715
0
0
0
0
0
0.009662
0
0
0
0
0
0
1
0.142857
false
0.071429
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
1
1
0
1
0
0
3
32e75a4ab1fef81175f7cd74aa829a38c3b311f6
557
py
Python
python/__doc__.py
mr-uuid/snippets
49bb59641d8160d7635b8d5e574cb50f9e5362e2
[ "MIT" ]
null
null
null
python/__doc__.py
mr-uuid/snippets
49bb59641d8160d7635b8d5e574cb50f9e5362e2
[ "MIT" ]
1
2021-03-10T04:00:01.000Z
2021-03-10T04:00:01.000Z
python/__doc__.py
mr-uuid/snippets
49bb59641d8160d7635b8d5e574cb50f9e5362e2
[ "MIT" ]
null
null
null
def x(): """ The doumentation for a function is generated by the string right after the functions definition. """ pass def x1(): """ Whitespace doesnt matter """ pass def x2(): "As a matter of fact, it doesnt even need to be triple quoted" pass def x3(): pass ...
13.585366
68
0.603232
82
557
3.853659
0.573171
0.088608
0
0
0
0
0
0
0
0
0
0.020305
0.292639
557
40
69
13.925
0.781726
0
0
0.333333
1
0
0.226837
0
0
0
0
0
0
0
null
null
0.333333
0
null
null
0.277778
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
1
0
0
0
0
0
3
fd380f3f28162dc8382484cb0f5d92dcc3d7f45e
93
py
Python
push_enum.py
LunaGao/a_monsters_expedition
1b47179d79edf4a93a76db560a109f1c5b249394
[ "Apache-2.0" ]
null
null
null
push_enum.py
LunaGao/a_monsters_expedition
1b47179d79edf4a93a76db560a109f1c5b249394
[ "Apache-2.0" ]
null
null
null
push_enum.py
LunaGao/a_monsters_expedition
1b47179d79edf4a93a76db560a109f1c5b249394
[ "Apache-2.0" ]
null
null
null
from enum import Enum class Push(Enum): up = 0 down = 1 left = 2 right = 3
10.333333
21
0.537634
15
93
3.333333
0.866667
0
0
0
0
0
0
0
0
0
0
0.070175
0.387097
93
8
22
11.625
0.807018
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
fd3cf4bb51edf5b45d5d2d0f45465b57b55c81bc
447
py
Python
sample_cli/tests/test_compute.py
neequole/sample-cli
628bdbe047da049e7833cc16d64d05c4964435f3
[ "MIT" ]
null
null
null
sample_cli/tests/test_compute.py
neequole/sample-cli
628bdbe047da049e7833cc16d64d05c4964435f3
[ "MIT" ]
null
null
null
sample_cli/tests/test_compute.py
neequole/sample-cli
628bdbe047da049e7833cc16d64d05c4964435f3
[ "MIT" ]
null
null
null
from unittest import TestCase from ..compute import add, subtract, multiply, divide class TestCompute(TestCase): def test_add(self): assert add(1, 2) == 3 def test_subtract(self): assert subtract(4, 3) == 1 def test_multiply(self): assert multiply(12, 2) == 24 def test_norm...
21.285714
53
0.628635
63
447
4.349206
0.428571
0.127737
0.116788
0.160584
0.182482
0.182482
0
0
0
0
0
0.060423
0.259508
447
20
54
22.35
0.767372
0
0
0
0
0
0
0
0
0
0
0
0.384615
1
0.384615
false
0
0.153846
0
0.615385
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
fd3e6a1558c1936a6054fe603f3ed539c71913ae
102
py
Python
02-Tuples-and-sets/record_unique_names.py
nmoskova/Python-advanced
007f496e868aa151e39d79446b055e76ffb2db95
[ "MIT" ]
null
null
null
02-Tuples-and-sets/record_unique_names.py
nmoskova/Python-advanced
007f496e868aa151e39d79446b055e76ffb2db95
[ "MIT" ]
null
null
null
02-Tuples-and-sets/record_unique_names.py
nmoskova/Python-advanced
007f496e868aa151e39d79446b055e76ffb2db95
[ "MIT" ]
null
null
null
names_count = int(input()) names = {input() for _ in range(names_count)} [print(x) for x in names]
14.571429
45
0.666667
17
102
3.823529
0.529412
0.307692
0
0
0
0
0
0
0
0
0
0
0.176471
102
6
46
17
0.77381
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
fd4a9edc72c9fb2604d2d9209a649832a9c54548
98
py
Python
src/blog/urls.py
Namibnat/pynam_workshop1
b2925665ebd9df50346cda71e1f896f849ef7db7
[ "MIT" ]
null
null
null
src/blog/urls.py
Namibnat/pynam_workshop1
b2925665ebd9df50346cda71e1f896f849ef7db7
[ "MIT" ]
null
null
null
src/blog/urls.py
Namibnat/pynam_workshop1
b2925665ebd9df50346cda71e1f896f849ef7db7
[ "MIT" ]
null
null
null
from django.conf.urls import url from .views import list urlpatterns = [ url('^$', list), ]
12.25
32
0.653061
13
98
4.923077
0.692308
0
0
0
0
0
0
0
0
0
0
0
0.204082
98
7
33
14
0.820513
0
0
0
0
0
0.020408
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
fd4b454601b5fb32b2f584e99aaf4f66df74f304
83,088
py
Python
pysnmp/Nortel-Magellan-Passport-VoiceMIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/Nortel-Magellan-Passport-VoiceMIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/Nortel-Magellan-Passport-VoiceMIB.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 Nortel-Magellan-Passport-VoiceMIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-Magellan-Passport-VoiceMIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:19:22 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using P...
169.567347
10,689
0.73043
9,815
83,088
6.183393
0.105553
0.015983
0.012061
0.016082
0.504103
0.468265
0.43999
0.427105
0.416312
0.392503
0
0.111768
0.088039
83,088
489
10,690
169.91411
0.689177
0.004333
0
0
0
0
0.123357
0.033753
0
0
0
0
0
1
0
false
0.089212
0.018672
0
0.018672
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
1
0
0
0
0
0
3
b5bd02fcb71a0222652c80e3eec5dad14e259bfe
1,373
py
Python
app/models.py
gotham3/KrishakMitra
c1c89f63fdb4cf6b16b8480476e5c36e58e00123
[ "MIT" ]
null
null
null
app/models.py
gotham3/KrishakMitra
c1c89f63fdb4cf6b16b8480476e5c36e58e00123
[ "MIT" ]
null
null
null
app/models.py
gotham3/KrishakMitra
c1c89f63fdb4cf6b16b8480476e5c36e58e00123
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User # Create your models here. class UserProfile(models.Model): user = models.OneToOneField(User,on_delete=models.CASCADE) email = models.EmailField() username = models.CharField(max_length = 200) first_name = models.CharField(max_l...
35.205128
74
0.71158
169
1,373
5.639053
0.390533
0.12277
0.226653
0.302204
0.402938
0.144806
0
0
0
0
0
0.029982
0.174071
1,373
38
75
36.131579
0.810406
0.01748
0
0.068966
0
0
0.029784
0
0
0
0
0
0
1
0
false
0
0.068966
0
0.896552
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b5bf00028abf79444dd1405e7f2600454264a15a
2,647
py
Python
src/robust_deid/sequence_tagging/post_process/model_outputs/post_process_picker.py
obi-ml-public/ehr_deidentification
c9deaf30b8317689d28a4267d15ec13baa9791cd
[ "MIT" ]
null
null
null
src/robust_deid/sequence_tagging/post_process/model_outputs/post_process_picker.py
obi-ml-public/ehr_deidentification
c9deaf30b8317689d28a4267d15ec13baa9791cd
[ "MIT" ]
null
null
null
src/robust_deid/sequence_tagging/post_process/model_outputs/post_process_picker.py
obi-ml-public/ehr_deidentification
c9deaf30b8317689d28a4267d15ec13baa9791cd
[ "MIT" ]
null
null
null
from typing import Sequence from .argmax_process import ArgmaxProcess from .crf_argmax_process import CRFArgmaxProcess from .logits_process import LogitsProcess from .threshold_process_max import ThresholdProcessMax from .threshold_process_sum import ThresholdProcessSum class PostProcessPicker(object): """ T...
39.507463
109
0.681148
314
2,647
5.633758
0.254777
0.080837
0.051441
0.056529
0.345958
0.265122
0.208027
0.208027
0.165065
0.165065
0
0
0.264073
2,647
66
110
40.106061
0.908111
0.506611
0
0
0
0
0
0
0
0
0
0
0
1
0.315789
false
0
0.315789
0
0.947368
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
bd0a76fa61894734cbaea9ff66385b744e5a978f
68
py
Python
maml/neural_networks/__init__.py
epyzerknapp/maml-bsd
eb0db04e7276e2f03d6033727684ba552634ed8b
[ "BSD-3-Clause" ]
2
2019-03-05T09:13:07.000Z
2019-12-24T14:03:54.000Z
maml/neural_networks/__init__.py
epyzerknapp/maml-bsd
eb0db04e7276e2f03d6033727684ba552634ed8b
[ "BSD-3-Clause" ]
null
null
null
maml/neural_networks/__init__.py
epyzerknapp/maml-bsd
eb0db04e7276e2f03d6033727684ba552634ed8b
[ "BSD-3-Clause" ]
2
2017-01-27T05:19:39.000Z
2019-12-24T14:03:58.000Z
__author__ = 'epyzerknapp' from func_neural_net import train,output
22.666667
40
0.838235
9
68
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.102941
68
3
40
22.666667
0.836066
0
0
0
0
0
0.15942
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
bd28d76d665d8ca2d02728471cd324b4645bb027
133
py
Python
Python/calendar.py
Bijitakc/Hacktoberfest2021-2
167e7c81dc9c5cc83fd604ea1d4bce52aa882605
[ "MIT" ]
20
2021-10-06T13:51:46.000Z
2021-11-11T16:12:17.000Z
Python/calendar.py
Bijitakc/Hacktoberfest2021-2
167e7c81dc9c5cc83fd604ea1d4bce52aa882605
[ "MIT" ]
42
2021-10-08T09:49:17.000Z
2021-10-21T23:18:39.000Z
Python/calendar.py
Bijitakc/Hacktoberfest2021-2
167e7c81dc9c5cc83fd604ea1d4bce52aa882605
[ "MIT" ]
97
2021-10-06T13:04:34.000Z
2021-11-11T16:12:21.000Z
import calendar year =int( input("Enter Year: ")) month = int( input("Enter the month number: ")) print(calendar.month(year,month))
26.6
47
0.706767
19
133
4.947368
0.526316
0.170213
0.276596
0
0
0
0
0
0
0
0
0
0.12782
133
4
48
33.25
0.810345
0
0
0
0
0
0.270677
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bd3bf83cdaa505b2ee77f50d00b3ffa3fccacdc9
317
py
Python
gva/data/validator/is_cve.py
gva-jjoyce/gva_data
cda990d0abb4b175025aaf16e75192bd9cc213af
[ "Apache-2.0" ]
null
null
null
gva/data/validator/is_cve.py
gva-jjoyce/gva_data
cda990d0abb4b175025aaf16e75192bd9cc213af
[ "Apache-2.0" ]
24
2020-12-24T12:21:42.000Z
2021-01-28T14:22:38.000Z
gva/data/validator/is_cve.py
gva-jjoyce/gva_data
cda990d0abb4b175025aaf16e75192bd9cc213af
[ "Apache-2.0" ]
null
null
null
from .is_string import is_string class is_cve(is_string): """ Test if a variable is a valid CVE identifier """ def __init__(self, **kwargs): # this is the regex that it appears NVD uses super().__init__(format='cve|CVE-[0-9]{4}-[0-9]{4,}') def __str__(self): return 'CVE'
26.416667
61
0.608833
49
317
3.612245
0.632653
0.135593
0.033898
0
0
0
0
0
0
0
0
0.025316
0.252366
317
12
62
26.416667
0.721519
0.277603
0
0
0
0
0.135514
0.121495
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
bd520d35a69b24467b156e59690617e07f9c00ee
767
py
Python
blog_site/sitemaps.py
whitecat-22/blog_site
21fae0cabacfa206341ec78deefd681f21f2c291
[ "MIT" ]
1
2021-08-19T23:56:38.000Z
2021-08-19T23:56:38.000Z
blog_site/sitemaps.py
whitecat-22/blog_site
21fae0cabacfa206341ec78deefd681f21f2c291
[ "MIT" ]
null
null
null
blog_site/sitemaps.py
whitecat-22/blog_site
21fae0cabacfa206341ec78deefd681f21f2c291
[ "MIT" ]
null
null
null
# myproject/sitemaps.py from django.contrib.sitemaps import Sitemap from django.urls import reverse from blog.models import Post class BlogPostSitemap(Sitemap): """ ブログ記事のサイトマップ """ changefreq = "never" priority = 0.5 def items(self): return Post.objects.filter(is_public=True) ...
19.666667
68
0.650587
91
767
5.406593
0.549451
0.04065
0.04065
0.052846
0.113821
0.113821
0.113821
0
0
0
0
0.006826
0.235984
767
38
69
20.184211
0.832765
0.112125
0
0.210526
0
0
0.101695
0
0
0
0
0
0
1
0.263158
false
0
0.157895
0.263158
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1fa4f926542417b793c043086191d99c407f635a
257
py
Python
CAOS/exceptions/reaction_errors.py
PyCAOS/CAOS
81d0fb23651f2ded84676d47714d5daeec545add
[ "MIT" ]
18
2015-11-18T01:57:24.000Z
2022-01-15T10:05:09.000Z
CAOS/exceptions/reaction_errors.py
PyCAOS/CAOS
81d0fb23651f2ded84676d47714d5daeec545add
[ "MIT" ]
2
2015-11-09T04:31:21.000Z
2015-11-26T06:55:46.000Z
CAOS/exceptions/reaction_errors.py
PyCAOS/CAOS
81d0fb23651f2ded84676d47714d5daeec545add
[ "MIT" ]
1
2017-12-06T11:14:56.000Z
2017-12-06T11:14:56.000Z
"""Reaction errors; i.e. those that occur during a reaction.""" from __future__ import print_function, division, unicode_literals, \ absolute_import class FailedReactionError(Exception): """Indicates that a reaction failed to occur.""" pass
23.363636
68
0.7393
31
257
5.903226
0.806452
0.098361
0
0
0
0
0
0
0
0
0
0
0.167315
257
10
69
25.7
0.85514
0.389105
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.25
0.5
0
0.75
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
3
1fad74cd70c5a78a29ca342526b2c5586b1f8362
3,255
py
Python
python/sparktk/graph/ops/closeness_centrality.py
lewisc/spark-tk
5548fc925b5c278263cbdebbd9e8c7593320c2f4
[ "ECL-2.0", "Apache-2.0" ]
34
2016-05-20T22:26:05.000Z
2022-01-21T12:55:13.000Z
python/sparktk/graph/ops/closeness_centrality.py
lewisc/spark-tk
5548fc925b5c278263cbdebbd9e8c7593320c2f4
[ "ECL-2.0", "Apache-2.0" ]
70
2016-06-28T01:11:21.000Z
2021-03-15T21:40:01.000Z
python/sparktk/graph/ops/closeness_centrality.py
lewisc/spark-tk
5548fc925b5c278263cbdebbd9e8c7593320c2f4
[ "ECL-2.0", "Apache-2.0" ]
34
2016-04-21T22:25:22.000Z
2020-10-06T09:23:43.000Z
# vim: set encoding=utf-8 # Copyright (c) 2016 Intel Corporation  # # 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 require...
38.75
120
0.615668
420
3,255
4.742857
0.45
0.076305
0.033133
0.016064
0.066265
0.021084
0
0
0
0
0
0.053406
0.269432
3,255
83
121
39.216867
0.784273
0.835637
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
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
1fb5cc27bd779f9d6b3704ed7ffbcd898a658c7e
3,246
py
Python
app/models.py
Rubyroy12/iblog
73243d693b966dc2f4d738be678774bb3ba48294
[ "MIT" ]
1
2021-09-05T14:16:05.000Z
2021-09-05T14:16:05.000Z
app/models.py
Rubyroy12/iblog
73243d693b966dc2f4d738be678774bb3ba48294
[ "MIT" ]
null
null
null
app/models.py
Rubyroy12/iblog
73243d693b966dc2f4d738be678774bb3ba48294
[ "MIT" ]
null
null
null
from app import db from werkzeug.security import generate_password_hash,check_password_hash from flask_login import UserMixin from . import login_manager from datetime import datetime @login_manager.user_loader def load_user(user_id): return User.query.get(int(user_id)) class User(UserMixin,db.Model): __tabl...
31.823529
93
0.615527
400
3,246
4.825
0.245
0.074611
0.093264
0.082902
0.368912
0.268394
0.268394
0.183938
0.097409
0.097409
0
0.01008
0.266482
3,246
101
94
32.138614
0.800504
0.011091
0
0.194805
1
0
0.061205
0
0
0
0
0
0
1
0.181818
false
0.142857
0.064935
0.051948
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
1fcc2e71274dae43fc7b0982039f202a94a29e6b
2,327
py
Python
networking_p4/services/service_drivers/driver_api.py
osinstom/networking-p4
3b82025090b6b2bf1e9faa58492d13ed1da6c34f
[ "Apache-2.0" ]
2
2019-12-26T08:53:25.000Z
2020-05-13T11:53:51.000Z
networking_p4/services/service_drivers/driver_api.py
osinstom/networking-dppx
3b82025090b6b2bf1e9faa58492d13ed1da6c34f
[ "Apache-2.0" ]
null
null
null
networking_p4/services/service_drivers/driver_api.py
osinstom/networking-dppx
3b82025090b6b2bf1e9faa58492d13ed1da6c34f
[ "Apache-2.0" ]
null
null
null
import six from abc import ABCMeta, abstractmethod @six.add_metaclass(ABCMeta) class P4DriverApi(object): """ PdpDriver interface """ @abstractmethod def add_callback(self, topic, callback): pass @six.add_metaclass(ABCMeta) class P4DriverBaseLegacy(object): @abstractmethod def create_m...
19.720339
59
0.68844
246
2,327
6.280488
0.138211
0.185113
0.184466
0.128155
0.628479
0.480906
0.113916
0
0
0
0
0.002259
0.238934
2,327
117
60
19.888889
0.87013
0.008165
0
0.520548
0
0
0
0
0
0
0
0
0
1
0.369863
false
0.273973
0.027397
0.013699
0.452055
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
1fd398c353ade401d8b09ae8e1deaf75b09c27c6
1,353
py
Python
main_app/migrations/0006_alter_category_name_alter_equipment_name_and_more.py
joshnguyentoronto/Smore-Recipes
635cb251b487fb0b369fd2a92e668119bde99d54
[ "MIT" ]
null
null
null
main_app/migrations/0006_alter_category_name_alter_equipment_name_and_more.py
joshnguyentoronto/Smore-Recipes
635cb251b487fb0b369fd2a92e668119bde99d54
[ "MIT" ]
null
null
null
main_app/migrations/0006_alter_category_name_alter_equipment_name_and_more.py
joshnguyentoronto/Smore-Recipes
635cb251b487fb0b369fd2a92e668119bde99d54
[ "MIT" ]
null
null
null
# Generated by Django 4.0.2 on 2022-02-13 01:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main_app', '0005_remove_recipe_ingredient_remove_recipe_instruction_and_more'), ] operations = [ migrations.AlterField( model_na...
27.612245
89
0.552846
126
1,353
5.753968
0.365079
0.193103
0.241379
0.28
0.521379
0.521379
0.521379
0.510345
0.462069
0.462069
0
0.041111
0.334812
1,353
48
90
28.1875
0.764444
0.033259
0
0.666667
1
0
0.121746
0.049005
0
0
0
0
0
1
0
false
0
0.02381
0
0.095238
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1fee659d788d20493b44b248a97591f727d6cfd2
216
py
Python
month04/Redis/day02/smallblog/user/models.py
chaofan-zheng/python_learning_code
5d05848911d55aa49eaee4afd7ffd80536fad7aa
[ "Apache-2.0" ]
4
2021-01-07T14:25:10.000Z
2021-02-01T10:36:01.000Z
month04/Redis/day02/smallblog/user/models.py
chaofan-zheng/python_learning_code
5d05848911d55aa49eaee4afd7ffd80536fad7aa
[ "Apache-2.0" ]
null
null
null
month04/Redis/day02/smallblog/user/models.py
chaofan-zheng/python_learning_code
5d05848911d55aa49eaee4afd7ffd80536fad7aa
[ "Apache-2.0" ]
null
null
null
from django.db import models # Create your models here. class User(models.Model): username = models.CharField(max_length=20) age = models.IntegerField(default=18) city = models.CharField(max_length=20)
24
46
0.740741
30
216
5.266667
0.7
0.189873
0.227848
0.303797
0.329114
0
0
0
0
0
0
0.032967
0.157407
216
8
47
27
0.835165
0.111111
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9515072cc5537b3dc0777cb8884d2bbb1a3a8bb9
120
py
Python
iris_sdk/models/maps/error_list.py
NumberAI/python-bandwidth-iris
0e05f79d68b244812afb97e00fd65b3f46d00aa3
[ "MIT" ]
2
2020-04-13T13:47:59.000Z
2022-02-23T20:32:41.000Z
iris_sdk/models/maps/error_list.py
bandwidthcom/python-bandwidth-iris
dbcb30569631395041b92917252d913166f7d3c9
[ "MIT" ]
5
2020-09-18T20:59:24.000Z
2021-08-25T16:51:42.000Z
iris_sdk/models/maps/error_list.py
bandwidthcom/python-bandwidth-iris
dbcb30569631395041b92917252d913166f7d3c9
[ "MIT" ]
5
2018-12-12T14:39:50.000Z
2020-11-17T21:42:29.000Z
#!/usr/bin/env python from iris_sdk.models.maps.base_map import BaseMap class ErrorListMap(BaseMap): error = None
17.142857
49
0.758333
18
120
4.944444
0.944444
0
0
0
0
0
0
0
0
0
0
0
0.141667
120
7
50
17.142857
0.864078
0.166667
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
951aebb4f77b0ba0df5343a8f7d176fbaa4e8929
184
py
Python
webapp/frontend/__init__.py
adaros92/genreml
19e044a9d8507665aa95d74e111195cef6f0f272
[ "MIT" ]
5
2020-10-11T20:13:21.000Z
2020-12-04T20:21:29.000Z
webapp/frontend/__init__.py
adaros92/genreml
19e044a9d8507665aa95d74e111195cef6f0f272
[ "MIT" ]
5
2020-10-12T19:50:40.000Z
2020-11-24T01:41:03.000Z
webapp/frontend/__init__.py
adaros92/CS467-Project
19e044a9d8507665aa95d74e111195cef6f0f272
[ "MIT" ]
4
2020-10-08T18:12:13.000Z
2020-11-15T23:30:19.000Z
from flask import Flask app = Flask(__name__) app.config["FILE_UPLOAD_LOCATION"] = "/home/ubuntu/files" app.config["ALLOWED_EXTENSIONS"] = {'mp3', 'wav'} from frontend import views
20.444444
57
0.73913
25
184
5.16
0.72
0.139535
0
0
0
0
0
0
0
0
0
0.006135
0.11413
184
8
58
23
0.785276
0
0
0
0
0
0.336957
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
952e96aeacaf8bd9118e1fcb9ac342d6b83c2575
228
py
Python
problems/data/parsers/PrizeCollecting_ParserZ.py
cprudhom/pycsp3
980927188f4262c9ea48a6534795712f09d731d6
[ "MIT" ]
null
null
null
problems/data/parsers/PrizeCollecting_ParserZ.py
cprudhom/pycsp3
980927188f4262c9ea48a6534795712f09d731d6
[ "MIT" ]
null
null
null
problems/data/parsers/PrizeCollecting_ParserZ.py
cprudhom/pycsp3
980927188f4262c9ea48a6534795712f09d731d6
[ "MIT" ]
null
null
null
from pycsp3.problems.data.dataparser import * data["n"] = number_in(line()) data["prizes"] = [numbers_in(line)[1:] if i > 0 else numbers_in(line[line.index("["):])[1:] for i, line in enumerate(remaining_lines(skip_curr=True))]
45.6
150
0.701754
37
228
4.189189
0.675676
0.116129
0.167742
0
0
0
0
0
0
0
0
0.019417
0.096491
228
4
151
57
0.73301
0
0
0
0
0
0.035088
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
952fd456d72b3bf6ab19762ded900108b1eac93c
1,594
py
Python
funny/rhythm-patterns/content/rhythms/afro/fankani.py
tekhnus/misc
cf4c6e29434c546e3c29f24f7bb16a0ac65005f5
[ "Unlicense" ]
null
null
null
funny/rhythm-patterns/content/rhythms/afro/fankani.py
tekhnus/misc
cf4c6e29434c546e3c29f24f7bb16a0ac65005f5
[ "Unlicense" ]
null
null
null
funny/rhythm-patterns/content/rhythms/afro/fankani.py
tekhnus/misc
cf4c6e29434c546e3c29f24f7bb16a0ac65005f5
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python from models import * fankani = Rhythm("Фанкани", Section("Ритм", Voice("Джембе", "x__xx_b_x_..x_b_")), Section("Брейк", Voice("Джембе", """x__xx_b_x_..x_b_ x__xx_b_x_...
45.542857
66
0.28921
92
1,594
3.206522
0.358696
0.074576
0.094915
0.081356
0.305085
0.284746
0.284746
0.284746
0.162712
0.084746
0
0
0.624843
1,594
34
67
46.882353
0.493311
0.012547
0
0.37931
0
0
0.771774
0
0
0
0
0
0
1
0
false
0
0.034483
0
0.034483
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1f49f30ee29d68434643ab0382214c741bdee10b
255
py
Python
test/test_name.py
Blitan/example_python_package_Blitan
79719cb8a705882799e9e2b0ec382094283ced6c
[ "MIT" ]
2
2021-06-09T12:22:24.000Z
2021-06-10T16:19:07.000Z
test/test_name.py
Blitan/example_python_package_Blitan
79719cb8a705882799e9e2b0ec382094283ced6c
[ "MIT" ]
3
2021-06-09T11:35:15.000Z
2021-06-22T10:27:23.000Z
test/test_name.py
Blitan/example_python_package_Blitan
79719cb8a705882799e9e2b0ec382094283ced6c
[ "MIT" ]
null
null
null
from example_python_package_Blitan import my_name def test_long_name(): answer = my_name('averylongname') assert answer == "my name is averylongname" def test_short_name(): answer = my_name('name') assert answer == "my name is name"
18.214286
49
0.709804
36
255
4.75
0.444444
0.175439
0.280702
0.187135
0.233918
0
0
0
0
0
0
0
0.196078
255
14
50
18.214286
0.834146
0
0
0
0
0
0.219608
0
0
0
0
0
0.285714
1
0.285714
false
0
0.142857
0
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
1
0
0
0
0
0
0
0
3
1f7509bdfb88c1384e3302d7edd838e326896f04
112
py
Python
3. Functions/3.19. Even Numbers.py
ahmetutkuozkan/my_ceng240_exercises_solutions
167bb9938515870ec1f01853933edc3b55937bff
[ "MIT" ]
null
null
null
3. Functions/3.19. Even Numbers.py
ahmetutkuozkan/my_ceng240_exercises_solutions
167bb9938515870ec1f01853933edc3b55937bff
[ "MIT" ]
null
null
null
3. Functions/3.19. Even Numbers.py
ahmetutkuozkan/my_ceng240_exercises_solutions
167bb9938515870ec1f01853933edc3b55937bff
[ "MIT" ]
null
null
null
def is_even(x): result=x//2 if((x-result*2)==0): return True else: return False
18.666667
25
0.491071
17
112
3.176471
0.705882
0.259259
0
0
0
0
0
0
0
0
0
0.042254
0.366071
112
6
26
18.666667
0.71831
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1f751f187d4786d50f7ef321dfae1b5e2fabd914
401
py
Python
footmark/ecs/vrouter.py
xzq-joy/footmark
6fb749e35e94b7832f4c2b2bc93ac19c83e18cd4
[ "Apache-2.0" ]
18
2017-04-29T10:11:41.000Z
2021-11-18T03:44:22.000Z
footmark/ecs/vrouter.py
xzq-joy/footmark
6fb749e35e94b7832f4c2b2bc93ac19c83e18cd4
[ "Apache-2.0" ]
25
2017-06-01T09:35:57.000Z
2021-06-24T08:09:26.000Z
footmark/ecs/vrouter.py
xzq-joy/footmark
6fb749e35e94b7832f4c2b2bc93ac19c83e18cd4
[ "Apache-2.0" ]
47
2017-05-05T08:02:59.000Z
2021-07-05T12:44:56.000Z
""" Represents an VRouter object """ from footmark.ecs.ecsobject import TaggedECSObject class VRouterList(TaggedECSObject): def __init__(self, connection=None): super(VRouterList, self).__init__(connection) self.tags = {} def __repr__(self): return 'VRouterList' def __setattr__(s...
23.588235
61
0.695761
41
401
6.317073
0.585366
0.069498
0
0
0
0
0
0
0
0
0
0
0.197007
401
16
62
25.0625
0.804348
0.069825
0
0
0
0
0.030137
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2f0fdef8b2973213cf2e7ce74eea7f73be215c34
70
py
Python
climt/_components/gfs/__init__.py
Ai33L/climt
17fcdc43ec8ed9903dfb566bae99154f282ce85f
[ "BSD-3-Clause" ]
116
2017-02-12T01:45:50.000Z
2022-03-01T20:19:03.000Z
climt/_components/gfs/__init__.py
Ai33L/climt
17fcdc43ec8ed9903dfb566bae99154f282ce85f
[ "BSD-3-Clause" ]
115
2017-07-23T21:19:15.000Z
2022-02-25T16:49:21.000Z
climt/_components/gfs/__init__.py
Ai33L/climt
17fcdc43ec8ed9903dfb566bae99154f282ce85f
[ "BSD-3-Clause" ]
30
2017-05-24T11:52:12.000Z
2021-12-09T16:45:19.000Z
from .component import GFSDynamicalCore __all__ = (GFSDynamicalCore)
17.5
39
0.828571
6
70
9
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.114286
70
3
40
23.333333
0.870968
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2f11f12d789fe4f2f847fc67888cc651ba82e441
746
py
Python
pyreference/mirna.py
SACGF/pyreference
6999dbd891e249f56a5adae11608e1972b4ba189
[ "MIT" ]
3
2022-01-10T06:04:38.000Z
2022-01-17T06:40:05.000Z
pyreference/mirna.py
SACGF/pyreference
6999dbd891e249f56a5adae11608e1972b4ba189
[ "MIT" ]
9
2021-11-17T23:56:39.000Z
2022-02-01T06:19:04.000Z
pyreference/mirna.py
SACGF/pyreference
6999dbd891e249f56a5adae11608e1972b4ba189
[ "MIT" ]
1
2022-01-10T05:46:07.000Z
2022-01-10T05:46:07.000Z
""" ACRF Cancer Genomics Facility Created on 23Jan.,2018 @see http://www.mirbase.org/ @author: dlawrence """ from Bio.Seq import Seq def rna_to_dna(rna_sequence): rna = Seq(rna_sequence) return rna.back_transcribe() def rna_to_target(rna_sequence): dna = rna_to_dna(rna_sequence) return str(dna.re...
20.162162
47
0.69571
110
746
4.436364
0.445455
0.061475
0.04918
0.045082
0.229508
0.151639
0.151639
0.151639
0
0
0
0.023333
0.19571
746
36
48
20.722222
0.79
0.162198
0
0
0
0
0
0
0
0
0
0
0
1
0.352941
false
0
0.058824
0.176471
0.764706
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2f1673b0832f05349f5c3185ab4151389518c195
216
py
Python
python/2.7/app/gdraw.py
matplo/rootutils
334664e2bab68abaef898f487bf5b12e63754dfb
[ "MIT" ]
null
null
null
python/2.7/app/gdraw.py
matplo/rootutils
334664e2bab68abaef898f487bf5b12e63754dfb
[ "MIT" ]
1
2015-02-25T14:42:33.000Z
2015-02-25T14:42:33.000Z
python/2.7/app/gdraw.py
matplo/rootutils
334664e2bab68abaef898f487bf5b12e63754dfb
[ "MIT" ]
2
2015-02-14T15:24:30.000Z
2016-10-03T21:50:52.000Z
#!/usr/bin/env python import import_root import sys if import_root.try_importing_root(): print '[i] import root ok...' else: print '[e] no root no fun...' sys.exit(0) import gui_draw_select as gui gui.main()
13.5
36
0.703704
38
216
3.842105
0.631579
0.205479
0
0
0
0
0
0
0
0
0
0.005495
0.157407
216
15
37
14.4
0.796703
0.092593
0
0
0
0
0.217617
0
0
0
0
0
0
0
null
null
0
0.555556
null
null
0.222222
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
1
0
0
0
1
0
0
0
0
3
2f277294b59c5fc0d1e56e206cfd7f53d0d8f61b
189
py
Python
app/__init__.py
kartikanand/wikilooper
0fee75635dafbe19f150348933c945e13de13054
[ "MIT" ]
15
2015-07-12T15:17:27.000Z
2017-06-06T11:35:40.000Z
app/__init__.py
kartikanand/wikilooper
0fee75635dafbe19f150348933c945e13de13054
[ "MIT" ]
6
2015-07-12T15:59:28.000Z
2015-07-22T12:07:43.000Z
app/__init__.py
kartikanand/wikilooper
0fee75635dafbe19f150348933c945e13de13054
[ "MIT" ]
3
2015-07-13T09:17:20.000Z
2017-06-06T11:35:41.000Z
import logging import sys from flask import Flask app = Flask(__name__) app.logger.addHandler(logging.StreamHandler(sys.stdout)) app.logger.setLevel(logging.ERROR) from app import views
17.181818
56
0.809524
27
189
5.518519
0.518519
0.120805
0
0
0
0
0
0
0
0
0
0
0.10582
189
10
57
18.9
0.881657
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.571429
0
0.571429
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
2f286143cf773d20c5de34c1352568ec95f32a89
2,428
py
Python
sim/model/agent.py
Gleydar/py_epi_sim
42a2b775300e27d421c62de78c96c7f0b13da96e
[ "MIT" ]
2
2020-05-06T13:31:48.000Z
2020-06-03T12:06:27.000Z
sim/model/agent.py
Gleydar/py_epi_sim
42a2b775300e27d421c62de78c96c7f0b13da96e
[ "MIT" ]
null
null
null
sim/model/agent.py
Gleydar/py_epi_sim
42a2b775300e27d421c62de78c96c7f0b13da96e
[ "MIT" ]
1
2020-05-06T13:50:00.000Z
2020-05-06T13:50:00.000Z
from __future__ import annotations from controller.scheduler import Scheduler from model.agent_state import AgentState from model.grid_pos import GridPos import logging class Agent: num = 0 """Class representing an agent Author: Konstantin Schlosser, Benedikt Beil, Andreas Stiglmeier""" def state(sel...
30.734177
118
0.66804
293
2,428
5.122867
0.225256
0.069953
0.065956
0.043971
0.154564
0.099933
0.099933
0.099933
0.074617
0.074617
0
0.004324
0.238056
2,428
78
119
31.128205
0.807027
0.025535
0
0.037736
0
0.018868
0.08464
0.035826
0
0
0
0
0
1
0.283019
false
0
0.09434
0.132075
0.566038
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2f3bb6eb8ed3754518de5afd62d9737d4d0baa84
157
py
Python
mysite/EmailSender/urls.py
SmileyBoy321/Django-Email-Sender
4a37ec2b0660d4f2b2ba0d034901a9e41206853d
[ "MIT" ]
null
null
null
mysite/EmailSender/urls.py
SmileyBoy321/Django-Email-Sender
4a37ec2b0660d4f2b2ba0d034901a9e41206853d
[ "MIT" ]
null
null
null
mysite/EmailSender/urls.py
SmileyBoy321/Django-Email-Sender
4a37ec2b0660d4f2b2ba0d034901a9e41206853d
[ "MIT" ]
null
null
null
from django.urls import path, include from . import views urlpatterns = [ path("", views.email_template), path("email-sent/", views.email_sent), ]
17.444444
42
0.687898
20
157
5.3
0.55
0.188679
0
0
0
0
0
0
0
0
0
0
0.171975
157
8
43
19.625
0.815385
0
0
0
0
0
0.070064
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2f41b8b88a9013a354a773f031d0cf0662a41328
503
py
Python
test/test_binary_search.py
georgezlei/algorithm-training-py
6302a005cbe5fa9fb609746b4211b765bd9e618c
[ "MIT" ]
6
2020-05-25T11:20:18.000Z
2020-11-03T12:51:21.000Z
test/test_binary_search.py
georgezlei/algorithm-training-py
6302a005cbe5fa9fb609746b4211b765bd9e618c
[ "MIT" ]
null
null
null
test/test_binary_search.py
georgezlei/algorithm-training-py
6302a005cbe5fa9fb609746b4211b765bd9e618c
[ "MIT" ]
1
2020-05-26T00:02:06.000Z
2020-05-26T00:02:06.000Z
# https://github.com/georgezlei/algorithm-training-py # Author: George Lei from unittest import TestCase import algorithm_prep as algo import algorithm_prep.classic.binary_search as bis class BiSearchTest(TestCase): def test_list_index(self): self.assertTrue(algo.test(bis.list_index, bis.test_cases)) def test...
29.588235
65
0.789264
74
503
5.175676
0.445946
0.05483
0.140992
0.172324
0.326371
0.227154
0
0
0
0
0
0
0.107356
503
16
66
31.4375
0.853007
0.139165
0
0
0
0
0
0
0
0
0
0
0.3
1
0.3
false
0
0.3
0
0.7
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
2f53938f1ae3106ef42bb2285ccfa6d72162ba88
234
py
Python
src/utils/util.py
DavidVinicius/artmap-fuzzy-tcc
1ff039ca2ade7a2a96137c75feaa9509e401e387
[ "MIT" ]
null
null
null
src/utils/util.py
DavidVinicius/artmap-fuzzy-tcc
1ff039ca2ade7a2a96137c75feaa9509e401e387
[ "MIT" ]
null
null
null
src/utils/util.py
DavidVinicius/artmap-fuzzy-tcc
1ff039ca2ade7a2a96137c75feaa9509e401e387
[ "MIT" ]
null
null
null
import os from PIL import Image def getFolderItens(path): return list(map(lambda x: path+x, os.listdir(path))) def convertImageToLine(path): img = Image.open(path) im = img.convert("L") return list(im.getdata())
23.4
56
0.675214
34
234
4.647059
0.617647
0.126582
0
0
0
0
0
0
0
0
0
0
0.192308
234
10
57
23.4
0.835979
0
0
0
0
0
0.004255
0
0
0
0
0
0
1
0.25
false
0
0.25
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2f639a782c59b4891928f579c19e4c886e48db8a
189
py
Python
modules/hetzner_dns/main.py
Phiwatec/ipm
d6602af0cdf60d53b3011de286fbce8b6b17f030
[ "MIT" ]
null
null
null
modules/hetzner_dns/main.py
Phiwatec/ipm
d6602af0cdf60d53b3011de286fbce8b6b17f030
[ "MIT" ]
null
null
null
modules/hetzner_dns/main.py
Phiwatec/ipm
d6602af0cdf60d53b3011de286fbce8b6b17f030
[ "MIT" ]
null
null
null
from hetzner_dns import hetzner_dns def main(): hdns=hetzner_dns("records.json") hdns.update_v6("2112df",56) hdns.update_v4("1.1.1.1") if __name__ == "__main__": main()
23.625
36
0.661376
29
189
3.862069
0.586207
0.267857
0.053571
0
0
0
0
0
0
0
0
0.077419
0.179894
189
8
37
23.625
0.645161
0
0
0
0
0
0.173684
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2f6451be51ba3a29ba53af1c574854cc85cd9ebb
679
py
Python
wsgi.py
leocamelo/pixo
334411803641d28b4bfadc7d6ab3dace5cb22ffd
[ "MIT" ]
null
null
null
wsgi.py
leocamelo/pixo
334411803641d28b4bfadc7d6ab3dace5cb22ffd
[ "MIT" ]
3
2020-09-18T17:15:58.000Z
2021-07-28T18:32:43.000Z
wsgi.py
leocamelo/pyxo
334411803641d28b4bfadc7d6ab3dace5cb22ffd
[ "MIT" ]
null
null
null
from flask import Flask, request, jsonify, make_response from pyxo import get_images, find_image, perform_image app = Flask(__name__) @app.route('/api') def index(): return jsonify(message='Welcome to Pyxo!') @app.route('/api/images') def list(): return jsonify(images=get_images()) @app.route('/api/ima...
20.575758
62
0.696613
91
679
5.054945
0.395604
0.069565
0.071739
0.073913
0
0
0
0
0
0
0
0.003436
0.142857
679
32
63
21.21875
0.786942
0
0
0
0
0
0.163476
0.036819
0
0
0
0
0
1
0.210526
false
0
0.105263
0.157895
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2f6763b44d11fd2707004ff1d928b4020baf57e0
1,446
py
Python
WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/Overflow/_Learning/02_stacks_implementation.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
5
2021-06-02T23:44:25.000Z
2021-12-27T16:21:57.000Z
WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/Overflow/_Learning/02_stacks_implementation.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
22
2021-05-31T01:33:25.000Z
2021-10-18T18:32:39.000Z
WEEKS/CD_Sata-Structures/_RESOURCES/python-prac/Overflow/_Learning/02_stacks_implementation.py
webdevhub42/Lambda
b04b84fb5b82fe7c8b12680149e25ae0d27a0960
[ "MIT" ]
3
2021-06-19T03:37:47.000Z
2021-08-31T00:49:51.000Z
# - Stack() creates a new, empty stack # - push(item) adds the given item to the top of the stack and returns nothing # - pop() removes and returns the top item from the stack # - peek() returns the top item from the stack but doesn’t remove it(the stack isn’t modified) # - is_empty() returns a...
24.508475
99
0.621715
216
1,446
4.046296
0.296296
0.144165
0.064073
0.086957
0.480549
0.480549
0.421053
0.290618
0.20595
0.20595
0
0.008491
0.266943
1,446
58
100
24.931034
0.816038
0.394882
0
0.625
0
0
0.016298
0
0
0
0
0
0
1
0.375
false
0
0
0.25
0.6875
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
2f6b1d6e54c1858bb5d652d4df3f3babced3699f
2,145
py
Python
pcc/cc_statements.py
ACoolUsername9001/python-computercraft
47c7a97dd013a75ee8e6f9e0718fb702c189df90
[ "Unlicense" ]
null
null
null
pcc/cc_statements.py
ACoolUsername9001/python-computercraft
47c7a97dd013a75ee8e6f9e0718fb702c189df90
[ "Unlicense" ]
null
null
null
pcc/cc_statements.py
ACoolUsername9001/python-computercraft
47c7a97dd013a75ee8e6f9e0718fb702c189df90
[ "Unlicense" ]
null
null
null
import contextlib from dataclasses import dataclass from io import IOBase from typing import Sequence, Optional, Tuple @dataclass class ComputercraftStatements(object): stream: IOBase @contextlib.contextmanager def While(self, condition: str): self.stream.write(f'while({condition})\ndo\n') ...
34.596774
101
0.604662
290
2,145
4.4
0.237931
0.094044
0.141066
0.062696
0.193574
0.134013
0.134013
0.089342
0.089342
0.089342
0
0.001232
0.243357
2,145
61
102
35.163934
0.784966
0.014452
0
0.12766
0
0.021277
0.152462
0.045928
0
0
0
0
0
1
0.255319
false
0
0.085106
0.148936
0.553191
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
85e02ed44cb2089155daeb7e6b7654d21cc91e9f
900
py
Python
Python/empire/deprecated_stuff/structs2/dyndb_struct.py
Tombmyst/Empire
f28782787c5fa9127e353549b73ec90d3c82c003
[ "Apache-2.0" ]
null
null
null
Python/empire/deprecated_stuff/structs2/dyndb_struct.py
Tombmyst/Empire
f28782787c5fa9127e353549b73ec90d3c82c003
[ "Apache-2.0" ]
null
null
null
Python/empire/deprecated_stuff/structs2/dyndb_struct.py
Tombmyst/Empire
f28782787c5fa9127e353549b73ec90d3c82c003
[ "Apache-2.0" ]
null
null
null
from __future__ import annotations from empire.python.typings import * from empire.aws.dynamodb.key import Key from empire.aws.dynamodb.dynamo_db_local import DynamoDBLocal from empire.deprecated_stuff.structs2.dictionaryable_struct import DictionaryableStruct class DynDBStruct(DictionaryableStruct): ...
30
88
0.684444
114
900
5.087719
0.385965
0.108621
0.112069
0.072414
0
0
0
0
0
0
0
0.001439
0.227778
900
29
89
31.034483
0.833094
0
0
0.095238
0
0
0
0
0
0
0
0
0
1
0.238095
false
0
0.238095
0.142857
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c80f0c3edd272f9defa72c212b48fae400ce7829
156
py
Python
BEGINNER/From Heaven to Earth/FromHeaventoEarth.py
Sahilkumarrr13/CODECHEF
5c9c3afd88c6a840a0063ca38f13e16a1788ab2b
[ "MIT" ]
4
2021-06-10T11:15:51.000Z
2022-01-15T05:55:45.000Z
BEGINNER/From Heaven to Earth/FromHeaventoEarth.py
Sahilkumarrr13/CODECHEF
5c9c3afd88c6a840a0063ca38f13e16a1788ab2b
[ "MIT" ]
null
null
null
BEGINNER/From Heaven to Earth/FromHeaventoEarth.py
Sahilkumarrr13/CODECHEF
5c9c3afd88c6a840a0063ca38f13e16a1788ab2b
[ "MIT" ]
null
null
null
t=int(input()) while(t): n,v1,v2=map(int,input().split()) if(2**0.5)/v1<2/v2: print("Stairs") else: print("Elevator") t=t-1
17.333333
36
0.49359
27
156
2.851852
0.666667
0.207792
0
0
0
0
0
0
0
0
0
0.077586
0.25641
156
8
37
19.5
0.586207
0
0
0
0
0
0.089744
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c841f82f5dd961d85fa5050802a0095e264068af
137
py
Python
themes/mcf.py
taketwo/powerline-shell
15fb2912710372b912fd0bb55c79b7c4cb13b800
[ "MIT" ]
1
2015-05-05T17:40:14.000Z
2015-05-05T17:40:14.000Z
themes/mcf.py
taketwo/powerline-shell
15fb2912710372b912fd0bb55c79b7c4cb13b800
[ "MIT" ]
null
null
null
themes/mcf.py
taketwo/powerline-shell
15fb2912710372b912fd0bb55c79b7c4cb13b800
[ "MIT" ]
null
null
null
class Color(DefaultColor): HOSTNAME_FG = 231 HOSTNAME_BG = 23 HOME_SPECIAL_DISPLAY = False JOBS_FG = 15 JOBS_BG = 31
19.571429
32
0.671533
19
137
4.526316
0.789474
0
0
0
0
0
0
0
0
0
0
0.09
0.270073
137
6
33
22.833333
0.77
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
c844f6d78333691ff932a228daa6aa61925234d0
356
py
Python
pyris/vector/__init__.py
fmonegaglia/pyris
35e2c2bb01e1411b5dfc87d464b58604d80d820c
[ "MIT" ]
12
2018-04-17T18:17:17.000Z
2022-03-30T11:15:25.000Z
pyris/vector/__init__.py
fmonegaglia/pyris
35e2c2bb01e1411b5dfc87d464b58604d80d820c
[ "MIT" ]
2
2019-06-07T07:27:10.000Z
2020-05-06T20:04:41.000Z
pyris/vector/__init__.py
fmonegaglia/pyris
35e2c2bb01e1411b5dfc87d464b58604d80d820c
[ "MIT" ]
5
2019-08-22T16:45:58.000Z
2021-06-03T14:09:35.000Z
import numpy as np from scipy import interpolate from ..misc import NaNs, Intersection from axis import AxisReader, ReadAxisLine from interpolation import InterpPCS, CurvaturePCS, WidthPCS from migration import AxisMigration __all__ = [ 'AxisReader', 'ReadAxisLine', 'InterpPCS', 'CurvaturePCS', 'WidthPCS', ...
23.733333
59
0.735955
35
356
7.371429
0.571429
0.170543
0.224806
0
0
0
0
0
0
0
0
0
0.188202
356
14
60
25.428571
0.892734
0
0
0
0
0
0.180282
0
0
0
0
0
0
1
0
false
0
0.545455
0
0.545455
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
c06eae8d17a1cc77bcd9fb60a37c19f5eb20cb86
1,154
py
Python
mountains/logging/terminal.py
restran/mountains
ec121379ab1c13b5102348419080ca16decd67e1
[ "MIT" ]
5
2017-09-25T03:41:46.000Z
2021-12-14T08:33:04.000Z
mountains/logging/terminal.py
restran/mountains
ec121379ab1c13b5102348419080ca16decd67e1
[ "MIT" ]
null
null
null
mountains/logging/terminal.py
restran/mountains
ec121379ab1c13b5102348419080ca16decd67e1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Created by restran on 2018/9/9 from __future__ import unicode_literals, absolute_import import sys from .terminal_size import get_terminal_size TERMINAL_SIZE = get_terminal_size() def terminal_pos(y, x): return '\x1b[%d;%dH' % (y, x) def print_on_terminal_bottom(text): print('%s%s...
23.08
84
0.617851
167
1,154
4.137725
0.341317
0.031838
0.115774
0.12301
0.315485
0.15919
0.15919
0
0
0
0
0.042082
0.217504
1,154
49
85
23.55102
0.723145
0.045061
0
0.151515
0
0
0.086442
0
0
0
0
0
0
1
0.242424
false
0
0.090909
0.181818
0.727273
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
c09191ff8db88e10feeb6a3873ded8045c956436
5,139
py
Python
knjs/src/testsgen.py
aravindavk/sanka
99c703cf829f4a79121f833fc000830159b1f602
[ "MIT" ]
null
null
null
knjs/src/testsgen.py
aravindavk/sanka
99c703cf829f4a79121f833fc000830159b1f602
[ "MIT" ]
5
2019-10-31T15:00:08.000Z
2020-08-26T15:04:38.000Z
knjs/src/testsgen.py
aravindavk/sanka
99c703cf829f4a79121f833fc000830159b1f602
[ "MIT" ]
1
2019-09-25T17:55:54.000Z
2019-09-25T17:55:54.000Z
def testsgen_basic(uni, asci): u_items = uni.split(" ") a_items = asci.split(" ") for idx, item in enumerate(a_items): print('QUnit.test("u2a {0} => {1}", function(assert){{' 'assert.strictEqual(' 'kn.unicode_to_ascii("{0}"), "{1}");}});'.format( u_items...
55.258065
81
0.473438
1,700
5,139
1.754706
0.270588
0.161247
0.02816
0.020784
0.107275
0.07241
0.07241
0.07241
0.052296
0.052296
0
0.004148
0.343257
5,139
92
82
55.858696
0.698963
0
0
0.089888
0
0.47191
0.653045
0.010508
0
0
0
0
0.044944
1
0.011236
false
0
0
0
0.011236
0.022472
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c0a9333343d85808446ed542130411a3099a5bd8
220
py
Python
gamefixes/1085660.py
wereii/protonfixes
fd7080f04293d599bd3f1b0aeaa116230b1f2f19
[ "BSD-2-Clause" ]
null
null
null
gamefixes/1085660.py
wereii/protonfixes
fd7080f04293d599bd3f1b0aeaa116230b1f2f19
[ "BSD-2-Clause" ]
null
null
null
gamefixes/1085660.py
wereii/protonfixes
fd7080f04293d599bd3f1b0aeaa116230b1f2f19
[ "BSD-2-Clause" ]
null
null
null
""" Game fix for Destiny 2 """ #pylint: disable=C0103 from protonfixes import util def main(): """ installs vcrun2019 """ util.protontricks('vcrun2019_ge') util.set_environment('DXVK_LOG_PATH','none')
16.923077
48
0.677273
27
220
5.37037
0.888889
0
0
0
0
0
0
0
0
0
0
0.072222
0.181818
220
12
49
18.333333
0.733333
0.309091
0
0
0
0
0.210145
0
0
0
0
0
0
1
0.25
true
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
3
c0b320806af4bbdc9cd7dc8ffe191c5213c0a18d
97
py
Python
venv/Lib/site-packages/admin_object_actions/__init__.py
Jackintoshh/Web-Mapping
a0ed8e207b7223c3c97d1110fffdf6fd5af4db5c
[ "MIT" ]
null
null
null
venv/Lib/site-packages/admin_object_actions/__init__.py
Jackintoshh/Web-Mapping
a0ed8e207b7223c3c97d1110fffdf6fd5af4db5c
[ "MIT" ]
5
2021-04-08T22:01:19.000Z
2022-02-10T12:21:29.000Z
venv/Lib/site-packages/admin_object_actions/__init__.py
Jackintoshh/Web-Mapping
a0ed8e207b7223c3c97d1110fffdf6fd5af4db5c
[ "MIT" ]
null
null
null
__version__ = '0.1.6' default_app_config = 'admin_object_actions.apps.AdminObjectActionsConfig'
24.25
73
0.824742
12
97
6
1
0
0
0
0
0
0
0
0
0
0
0.033333
0.072165
97
3
74
32.333333
0.766667
0
0
0
0
0
0.56701
0.515464
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c0f70c5911ba959a600e82c2ab68653a9898da7b
10,990
py
Python
qrl/crypto/xmss.py
djuhn/QRL-1
47c4b8beb8e1be8c5a0fdf16b33532f32899ce13
[ "MIT" ]
null
null
null
qrl/crypto/xmss.py
djuhn/QRL-1
47c4b8beb8e1be8c5a0fdf16b33532f32899ce13
[ "MIT" ]
null
null
null
qrl/crypto/xmss.py
djuhn/QRL-1
47c4b8beb8e1be8c5a0fdf16b33532f32899ce13
[ "MIT" ]
1
2021-11-03T06:56:27.000Z
2021-11-03T06:56:27.000Z
# coding=utf-8 # Distributed under the MIT software license, see the accompanying # file LICENSE or http://www.opensource.org/licenses/mit-license.php. from pyqrllib.pyqrllib import bin2hstr, getRandomSeed, str2bin, bin2mnemonic, mnemonic2bin, XmssFast # noqa class XMSS(object): # FIXME: Getters are only tempora...
38.426573
149
0.636306
1,176
10,990
5.70068
0.14881
0.045943
0.085322
0.131265
0.610979
0.594272
0.553252
0.496122
0.473896
0.472255
0
0.121098
0.250864
10,990
285
150
38.561404
0.693186
0.656142
0
0.050847
0
0
0.005223
0
0
0
0
0.038596
0
1
0.305085
false
0
0.033898
0.050847
0.627119
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
8d06986b299efe74b0b4290abc862bd788b0f1b9
513
py
Python
dbapi/models.py
ciaracdb/ACMusic
2a5aa81887db20098aa6bf1f9a2c3349ad0ee300
[ "Apache-2.0" ]
null
null
null
dbapi/models.py
ciaracdb/ACMusic
2a5aa81887db20098aa6bf1f9a2c3349ad0ee300
[ "Apache-2.0" ]
null
null
null
dbapi/models.py
ciaracdb/ACMusic
2a5aa81887db20098aa6bf1f9a2c3349ad0ee300
[ "Apache-2.0" ]
null
null
null
from django.db import models class Song(models.Model): url = models.CharField(max_length=200, primary_key=True) name = models.CharField(max_length=200, default='') player = models.CharField(max_length=200, default='') class Playlist(models.Model): id = models.AutoField(primary_key=True) name = mod...
36.642857
60
0.723197
66
513
5.515152
0.409091
0.206044
0.247253
0.32967
0.563187
0.563187
0.285714
0.285714
0.285714
0.285714
0
0.036281
0.140351
513
13
61
39.461538
0.789116
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0
false
0
0.090909
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8d082818264be31f214dbb9be46dad30cb1f6566
2,617
py
Python
app/gsoc/models/timeline.py
jamslevy/gsoc
e995e1a8d34e0291ab988ba501ae4efc61f9516d
[ "Apache-2.0" ]
1
2016-05-09T14:43:53.000Z
2016-05-09T14:43:53.000Z
app/gsoc/models/timeline.py
jamslevy/gsoc
e995e1a8d34e0291ab988ba501ae4efc61f9516d
[ "Apache-2.0" ]
null
null
null
app/gsoc/models/timeline.py
jamslevy/gsoc
e995e1a8d34e0291ab988ba501ae4efc61f9516d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python2.5 # # Copyright 2008 the Melange authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
32.7125
78
0.770348
326
2,617
5.98773
0.352761
0.098361
0.192111
0.222848
0.451332
0.451332
0.451332
0.315574
0.132172
0
0
0.004476
0.146351
2,617
79
79
33.126582
0.869293
0.246083
0
0
0
0
0.22753
0.010786
0
0
0
0
0
1
0
false
0
0.081081
0
0.513514
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
23a10d438938c87a6e82df1c1cbff6e4d6ff728d
162
py
Python
core/admin.py
CleitonCandiotto/Criando-CRUD-Django
2ca749546be64af0a105d1337a4393d69454e00a
[ "MIT" ]
null
null
null
core/admin.py
CleitonCandiotto/Criando-CRUD-Django
2ca749546be64af0a105d1337a4393d69454e00a
[ "MIT" ]
null
null
null
core/admin.py
CleitonCandiotto/Criando-CRUD-Django
2ca749546be64af0a105d1337a4393d69454e00a
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Produto @admin.register(Produto) class ProdutoAdmin(admin.ModelAdmin): list_display = ['nome', 'preco']
23.142857
37
0.765432
20
162
6.15
0.75
0
0
0
0
0
0
0
0
0
0
0
0.123457
162
7
38
23.142857
0.866197
0
0
0
0
0
0.055215
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
23a2e9e211d20ef6d3e51e2b846592a502c83b3f
1,101
py
Python
virtman/drivers/dmsetup.py
vmthunder/virtman
af81ee1eeab96094b716253ad93bda8630bc219d
[ "Apache-2.0" ]
6
2015-02-09T23:39:58.000Z
2021-05-17T22:18:57.000Z
virtman/drivers/dmsetup.py
vmthunder/virtman
af81ee1eeab96094b716253ad93bda8630bc219d
[ "Apache-2.0" ]
1
2015-05-04T03:41:49.000Z
2015-05-04T03:41:49.000Z
virtman/drivers/dmsetup.py
vmthunder/virtman
af81ee1eeab96094b716253ad93bda8630bc219d
[ "Apache-2.0" ]
1
2016-08-12T07:00:01.000Z
2016-08-12T07:00:01.000Z
from pydm import dmsetup from pydm.blockdev import Blockdev from virtman.utils import singleton from virtman.utils import rootwrap class DmExecutor(dmsetup.Dmsetup): def __init__(self): dmsetup.Dmsetup.__init__(self, root_helper=rootwrap.root_helper()) dm = DmExecutor() prefix = dm.mapdev_prefix def ...
23.934783
74
0.716621
152
1,101
4.960526
0.302632
0.059682
0.059682
0.058355
0.249337
0.108753
0.108753
0
0
0
0
0.012263
0.185286
1,101
45
75
24.466667
0.828317
0
0
0
0
0
0.045413
0
0
0
0
0
0
1
0.25
false
0
0.142857
0.178571
0.607143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
23a5d0e84f57374d91a103412b8a5939e01f6669
97
py
Python
Level 1.py
Pancakes-Studio/Pyrates-Solutions
c7fa25b0e291992865dd174af4de3280e49c8c50
[ "CC0-1.0" ]
null
null
null
Level 1.py
Pancakes-Studio/Pyrates-Solutions
c7fa25b0e291992865dd174af4de3280e49c8c50
[ "CC0-1.0" ]
null
null
null
Level 1.py
Pancakes-Studio/Pyrates-Solutions
c7fa25b0e291992865dd174af4de3280e49c8c50
[ "CC0-1.0" ]
null
null
null
avancer() droite() avancer() gauche() avancer() droite() for _ in range(16): avancer() ouvrir()
9.7
19
0.670103
12
97
5.333333
0.666667
0.40625
0
0
0
0
0
0
0
0
0
0.02381
0.134021
97
9
20
10.777778
0.738095
0
0
0.666667
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
23b385635d8d22ba9c8a71d47c4773b95139b1d9
942
py
Python
opendata/transformers/opendata/default.py
entrepreneur-interet-general/predisauvetage
4d985ee79355652709da322db48daffb3e5a895a
[ "MIT" ]
6
2018-02-16T15:07:17.000Z
2020-10-09T09:34:29.000Z
opendata/transformers/opendata/default.py
entrepreneur-interet-general/predisauvetage
4d985ee79355652709da322db48daffb3e5a895a
[ "MIT" ]
107
2018-03-29T14:55:33.000Z
2021-12-13T19:44:50.000Z
opendata/transformers/opendata/default.py
entrepreneur-interet-general/predisauvetage
4d985ee79355652709da322db48daffb3e5a895a
[ "MIT" ]
1
2021-03-03T21:02:33.000Z
2021-03-03T21:02:33.000Z
# -*- coding: utf-8 -*- from transformers.base import BaseTransformer from transformers.opendata.config import ColumnDropper import os.path as op class DefaultTransformer(BaseTransformer): MODEL = None def __init__(self, filepath): super(DefaultTransformer, self).__init__(filepath) def transform...
27.705882
77
0.670913
122
942
4.918033
0.47541
0.05
0.05
0.053333
0
0
0
0
0
0
0
0.004065
0.216561
942
33
78
28.545455
0.808943
0.022293
0
0
0
0
0.036997
0.023939
0
0
0
0
0
1
0.227273
false
0
0.136364
0.136364
0.590909
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
23c4e2407478af83e8ee9bb5aca627dcc9a6aa7a
228
py
Python
scripts/digest.py
natasky/kakoune-multi-file
1cc6baeb14b773916eb9209469aa77b3cfa67a0a
[ "Unlicense" ]
10
2022-02-11T17:44:14.000Z
2022-02-16T02:24:22.000Z
scripts/digest.py
natasky/kakoune-multi-file
1cc6baeb14b773916eb9209469aa77b3cfa67a0a
[ "Unlicense" ]
null
null
null
scripts/digest.py
natasky/kakoune-multi-file
1cc6baeb14b773916eb9209469aa77b3cfa67a0a
[ "Unlicense" ]
null
null
null
from hashlib import sha1 from base64 import urlsafe_b64encode def digest(lines): hash = sha1() for line in lines: hash.update(line.encode("utf8")) return urlsafe_b64encode(hash.digest()).decode("utf8")[:4]
22.8
62
0.692982
31
228
5.032258
0.645161
0.205128
0
0
0
0
0
0
0
0
0
0.05914
0.184211
228
9
63
25.333333
0.77957
0
0
0
0
0
0.035088
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
23c667d79790c40728774e20cbfecbf3ac72d014
1,697
py
Python
src/neural_punctuator/preprocessors/BertPreprocessor.py
juliandarley/neural-punctuator
2b3ff7e052380ec463b90a74c6960e1e90515c05
[ "MIT" ]
31
2021-01-15T11:31:07.000Z
2022-03-31T14:56:25.000Z
src/neural_punctuator/preprocessors/BertPreprocessor.py
juliandarley/neural-punctuator
2b3ff7e052380ec463b90a74c6960e1e90515c05
[ "MIT" ]
8
2021-02-05T13:17:17.000Z
2021-09-03T03:01:05.000Z
src/neural_punctuator/preprocessors/BertPreprocessor.py
juliandarley/neural-punctuator
2b3ff7e052380ec463b90a74c6960e1e90515c05
[ "MIT" ]
10
2021-01-29T18:18:07.000Z
2022-03-09T23:13:50.000Z
import os import json import torch import pickle from tqdm import tqdm from neural_punctuator.base.BasePreprocessor import BasePreprocessor from transformers import AutoTokenizer, AutoModel class BertPreprocessor(BasePreprocessor): def __init__(self, config): super().__init__(config) self._tokeniz...
32.634615
131
0.623453
203
1,697
4.975369
0.453202
0.055446
0.089109
0.075248
0.074257
0.074257
0.074257
0.074257
0.074257
0.074257
0
0.005503
0.250442
1,697
51
132
33.27451
0.788522
0.518562
0
0
0
0
0.073791
0.033079
0
0
0
0.019608
0
1
0.0625
false
0
0.4375
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
9b028936ebc8a1683adb995104fbfce62970f6dd
781
py
Python
MatrixTest/EmailService/EmailProvider.py
DavyVan/MatrixTest
3007e826a51b497c88e60eb71f4c5fdc58d252df
[ "MIT" ]
null
null
null
MatrixTest/EmailService/EmailProvider.py
DavyVan/MatrixTest
3007e826a51b497c88e60eb71f4c5fdc58d252df
[ "MIT" ]
null
null
null
MatrixTest/EmailService/EmailProvider.py
DavyVan/MatrixTest
3007e826a51b497c88e60eb71f4c5fdc58d252df
[ "MIT" ]
null
null
null
import abc from typing import Dict, List class EmailProvider: """ This is the base class of all email sending services. User can extend this abstract class to connect other email services. """ @abc.abstractmethod def send(self, matrix: Dict[str, List[str]], to: str, attachment_path: str = None) -...
35.5
128
0.669654
104
781
5.009615
0.644231
0.046065
0
0
0
0
0
0
0
0
0
0
0.261204
781
21
129
37.190476
0.902946
0.627401
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.166667
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
9b1876ab5188570e6238b5603b26ebccded585f2
255
py
Python
mavsim_python/tools/wrap.py
akshitj1/mavsim_template_files
25c646ed274385c13492ed64d9821c1b8033c8ef
[ "MIT" ]
55
2019-01-25T02:43:00.000Z
2022-03-24T12:55:42.000Z
mavsim_python/tools/wrap.py
akshitj1/mavsim_template_files
25c646ed274385c13492ed64d9821c1b8033c8ef
[ "MIT" ]
6
2019-08-24T13:46:11.000Z
2021-09-29T23:58:48.000Z
mavsim_python/tools/wrap.py
akshitj1/mavsim_template_files
25c646ed274385c13492ed64d9821c1b8033c8ef
[ "MIT" ]
36
2019-01-30T01:09:16.000Z
2022-01-25T20:11:28.000Z
""" wrap chi_1, so that it is within +-pi of chi_2 """ import numpy as np def wrap(chi_1, chi_2): while chi_1 - chi_2 > np.pi: chi_1 = chi_1 - 2.0 * np.pi while chi_1 - chi_2 < -np.pi: chi_1 = chi_1 + 2.0 * np.pi return chi_1
21.25
46
0.576471
55
255
2.436364
0.345455
0.268657
0.261194
0.179104
0.462687
0.462687
0.462687
0.462687
0.462687
0.462687
0
0.094972
0.298039
255
11
47
23.181818
0.653631
0.180392
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9b1a1466032a5404fc45cca6035daf4c58c45705
205
py
Python
apps/places/utils/check_if_exists_place.py
bergran/places
0b11e329a263878ef51c6ffd4ca252e905b1e85f
[ "MIT" ]
null
null
null
apps/places/utils/check_if_exists_place.py
bergran/places
0b11e329a263878ef51c6ffd4ca252e905b1e85f
[ "MIT" ]
null
null
null
apps/places/utils/check_if_exists_place.py
bergran/places
0b11e329a263878ef51c6ffd4ca252e905b1e85f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from apps.places.models import Place def check_if_exists(place, session): exists = session.query(Place).filter(Place.name == place.name).first() is not None return exists
25.625
86
0.702439
30
205
4.733333
0.733333
0.126761
0
0
0
0
0
0
0
0
0
0.00578
0.156098
205
7
87
29.285714
0.815029
0.102439
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
f19df1471423b803b6995c9bf373b800c11961b4
735
py
Python
PyDSTool/Toolbox/ActivationFuncs.py
yuanz271/PyDSTool
886c143cdd192aea204285f3a1cb4968c763c646
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
PyDSTool/Toolbox/ActivationFuncs.py
yuanz271/PyDSTool
886c143cdd192aea204285f3a1cb4968c763c646
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
PyDSTool/Toolbox/ActivationFuncs.py
yuanz271/PyDSTool
886c143cdd192aea204285f3a1cb4968c763c646
[ "Python-2.0", "OLDAP-2.7" ]
null
null
null
from __future__ import absolute_import from PyDSTool import * from PyDSTool.Toolbox import * from time import clock # -------------------------------------------------------------------------- # Helper functions # -------------------------------------------------------------------------- def Sigma(vo, theta, k): ...
22.272727
76
0.431293
103
735
3.029126
0.300971
0.134615
0.128205
0.086538
0.246795
0.246795
0.205128
0.205128
0.205128
0.205128
0
0.025773
0.208163
735
32
77
22.96875
0.510309
0.22585
0
0
0
0
0
0
0
0
0
0
0
1
0.375
false
0
0.25
0.375
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f1b6b65574995fa2b6f1e1d3e7ad76e260d9ee26
1,384
py
Python
pineapple/logging.py
pect0ral/python-pineapple
f4e07d0f33620450b799677555ebba1712a23d5b
[ "MIT" ]
7
2018-09-12T21:29:04.000Z
2019-12-04T07:16:56.000Z
pineapple/logging.py
adde88/python-pineapple
f4e07d0f33620450b799677555ebba1712a23d5b
[ "MIT" ]
null
null
null
pineapple/logging.py
adde88/python-pineapple
f4e07d0f33620450b799677555ebba1712a23d5b
[ "MIT" ]
1
2019-06-03T19:45:20.000Z
2019-06-03T19:45:20.000Z
from module import Module class Logging(Module): def __init__(self, api): super(Logging, self).__init__(api, 'Logging') def getSyslog(self): """ Return raw syslog """ return self.request('getSyslog') def getDmesg(self): """ Return raw dmesg...
23.066667
77
0.54552
122
1,384
6.122951
0.344262
0.107095
0.182062
0.080321
0.222222
0.15261
0.15261
0.15261
0.15261
0.15261
0
0
0.352601
1,384
59
78
23.457627
0.833705
0.195087
0
0
0
0
0.14977
0
0
0
0
0
0
1
0.45
false
0
0.05
0
0.95
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
f1b6e1840fa2edf883e787f4cfb0808f4132d025
1,176
py
Python
stubs.min/System/Windows/Forms/__init___parts/ListViewItemSelectionChangedEventArgs.py
ricardyn/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
1
2021-02-02T13:39:16.000Z
2021-02-02T13:39:16.000Z
stubs.min/System/Windows/Forms/__init___parts/ListViewItemSelectionChangedEventArgs.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
stubs.min/System/Windows/Forms/__init___parts/ListViewItemSelectionChangedEventArgs.py
hdm-dt-fb/ironpython-stubs
4d2b405eda3ceed186e8adca55dd97c332c6f49d
[ "MIT" ]
null
null
null
class ListViewItemSelectionChangedEventArgs(EventArgs): """ Provides data for the System.Windows.Forms.ListView.ItemSelectionChanged event. ListViewItemSelectionChangedEventArgs(item: ListViewItem,itemIndex: int,isSelected: bool) """ def __getitem__(self,*args): """ x.__getitem__(y) <==> x[y] """ p...
32.666667
91
0.727041
130
1,176
6.453846
0.392308
0.107271
0.064362
0.085816
0.400477
0.400477
0.300358
0.300358
0.210965
0.210965
0
0
0.157313
1,176
35
92
33.6
0.84662
0.229592
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.222222
false
0.222222
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
1
0
0
1
0
0
3
f1ca3741210d8c9f59ffb0d6e9150232fcb808f7
1,290
py
Python
jujuna/exporters/file.py
matuskosut/jujuna
56b5e5d96e23d8c664e966800aa3c2528ac4dd2d
[ "Apache-2.0" ]
4
2019-01-11T09:18:52.000Z
2021-10-31T20:05:01.000Z
jujuna/exporters/file.py
matuskosut/jujuna
56b5e5d96e23d8c664e966800aa3c2528ac4dd2d
[ "Apache-2.0" ]
19
2018-10-24T13:33:08.000Z
2020-01-07T20:10:03.000Z
jujuna/exporters/file.py
matuskosut/jujuna
56b5e5d96e23d8c664e966800aa3c2528ac4dd2d
[ "Apache-2.0" ]
3
2018-10-30T14:03:18.000Z
2021-03-31T19:14:21.000Z
#!/usr/bin/env python3 import json import sys import os import stat def main(): if len(sys.argv) != 2: raise Exception('Specify exactly one filepath.') filepath = sys.argv[1] if not os.path.exists(filepath): raise Exception("Path '{}' does not exist.".format(filepath)) file_stat = os...
28.043478
69
0.627132
201
1,290
3.651741
0.318408
0.217984
0.258856
0.190736
0.13079
0
0
0
0
0
0
0.004028
0.230233
1,290
45
70
28.666667
0.735146
0.016279
0
0
0
0
0.145899
0
0
0
0
0
0
1
0.027778
false
0
0.111111
0
0.138889
0.027778
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3