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
bdb2fcfea13efbaa78b623ef214228a582b42d47
415
py
Python
Dataset/Leetcode/train/58/565.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/58/565.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/train/58/565.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: def XXX(self, s: str) -> int: blank_count = 0 start = 0 for index in range(len(s)): if s[index] != " ": if blank_count == 0: continue else: blank_count = 0 start = index ...
24.411765
43
0.39759
43
415
3.72093
0.511628
0.3125
0.20625
0.2
0
0
0
0
0
0
0
0.025
0.518072
415
16
44
25.9375
0.775
0
0
0.285714
0
0
0.002421
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.214286
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
bdb4b68b6995ef89dcfde4f4694668c0819fabb8
38
py
Python
nanome_minimization/__init__.py
nanome-ai/plugin-minimization
2ded49f83e4d6e0443a962a8a9b79f7dd530e3d3
[ "MIT" ]
null
null
null
nanome_minimization/__init__.py
nanome-ai/plugin-minimization
2ded49f83e4d6e0443a962a8a9b79f7dd530e3d3
[ "MIT" ]
null
null
null
nanome_minimization/__init__.py
nanome-ai/plugin-minimization
2ded49f83e4d6e0443a962a8a9b79f7dd530e3d3
[ "MIT" ]
1
2021-05-18T09:01:03.000Z
2021-05-18T09:01:03.000Z
__version__ = "0.4.0" from . import *
12.666667
21
0.631579
6
38
3.333333
0.833333
0
0
0
0
0
0
0
0
0
0
0.096774
0.184211
38
3
22
12.666667
0.548387
0
0
0
0
0
0.128205
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
1
0
0
0
0
4
bdead3926629853c3ac12111fa063002a4f4ebc9
184
py
Python
spa_todo_list/main/models.py
theodor85/spa_todo_list
75fc50de9aa071b7ba50c280866c24efbbd07557
[ "MIT" ]
null
null
null
spa_todo_list/main/models.py
theodor85/spa_todo_list
75fc50de9aa071b7ba50c280866c24efbbd07557
[ "MIT" ]
4
2021-03-10T12:41:05.000Z
2022-02-26T20:46:35.000Z
spa_todo_list/main/models.py
theodor85/spa_todo_list
75fc50de9aa071b7ba50c280866c24efbbd07557
[ "MIT" ]
null
null
null
from django.db import models class Task(models.Model): text = models.CharField(max_length=250) def __str__(self): return 'Задача № ' + str(self.id) + ' ' + self.text
23
59
0.646739
26
184
4.461538
0.769231
0.12069
0
0
0
0
0
0
0
0
0
0.020833
0.217391
184
8
59
23
0.770833
0
0
0
0
0
0.054054
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
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
1
1
0
0
4
bdf5d1d28853bdab73a45018798433c5f483fd2f
17,533
py
Python
testGen.py
kmirzavaziri/hAssembler
66479daefa9f46702bd0328f24e9e6a8da9daaba
[ "MIT" ]
null
null
null
testGen.py
kmirzavaziri/hAssembler
66479daefa9f46702bd0328f24e9e6a8da9daaba
[ "MIT" ]
null
null
null
testGen.py
kmirzavaziri/hAssembler
66479daefa9f46702bd0328f24e9e6a8da9daaba
[ "MIT" ]
null
null
null
import sys if len(sys.argv) < 2: case = -1 else: case = int(sys.argv[1]) f = open("testGened.asm", "w") unO = [ "dec", "inc", ] binO = [ "add", "adc", "sub", "sbb", "and", "or", "xor", "cmp", ] for op in unO: # op reg if case < 0 or case == 20: f.write(op + ' al\n') f.write(op + ' ah\n') f.writ...
36.679916
84
0.470028
3,217
17,533
2.561703
0.046316
0.280306
0.373741
0.383327
0.871253
0.637544
0.446548
0.285766
0.174251
0.093314
0
0.125219
0.250727
17,533
477
85
36.756813
0.502093
0.053556
0
0.04186
0
0
0.503473
0
0
0
0.052371
0
0
1
0
false
0
0.002326
0
0.002326
0
0
0
0
null
1
1
1
1
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
4
da19ddf84fad7dc4c2fc9b3481faaa9115e9c0df
786
py
Python
apps/products/migrations/0010_auto_20180608_2237.py
xeroz/gshop
d1bd0920d8ffaae9e7f52fcf8d60dd2d009cde2a
[ "MIT" ]
null
null
null
apps/products/migrations/0010_auto_20180608_2237.py
xeroz/gshop
d1bd0920d8ffaae9e7f52fcf8d60dd2d009cde2a
[ "MIT" ]
4
2020-02-11T21:31:46.000Z
2020-06-05T00:43:08.000Z
apps/products/migrations/0010_auto_20180608_2237.py
xeroz/gshop
d1bd0920d8ffaae9e7f52fcf8d60dd2d009cde2a
[ "MIT" ]
null
null
null
# Generated by Django 2.0.1 on 2018-06-08 22:37 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('products', '0009_auto_20180520_2113'), ] operations = [ migrations.RemoveField( model_name='cart', name='products', ...
21.833333
48
0.516539
64
786
6.234375
0.515625
0.210526
0.260652
0.300752
0.41604
0.41604
0
0
0
0
0
0.062626
0.370229
786
35
49
22.457143
0.743434
0.057252
0
0.551724
1
0
0.133965
0.031123
0
0
0
0
0
1
0
false
0
0.034483
0
0.137931
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
da354b814bb434acd2b2b734822373cf8041a0e4
165
py
Python
mmdet2trt/models/detectors/__init__.py
tehkillerbee/mmdetection-to-tensorrt
b1532465ab1c6617b350981bbda2bc361fe291a6
[ "Apache-2.0" ]
496
2020-07-16T08:37:02.000Z
2022-03-31T01:13:45.000Z
mmdet2trt/models/detectors/__init__.py
tehkillerbee/mmdetection-to-tensorrt
b1532465ab1c6617b350981bbda2bc361fe291a6
[ "Apache-2.0" ]
98
2020-07-30T02:14:41.000Z
2022-03-21T08:58:12.000Z
mmdet2trt/models/detectors/__init__.py
tehkillerbee/mmdetection-to-tensorrt
b1532465ab1c6617b350981bbda2bc361fe291a6
[ "Apache-2.0" ]
80
2020-08-06T03:52:11.000Z
2022-03-23T11:41:46.000Z
from .single_stage import SingleStageDetectorWraper from .two_stage import TwoStageDetectorWraper __all__ = ['SingleStageDetectorWraper', 'TwoStageDetectorWraper']
33
65
0.860606
13
165
10.461538
0.615385
0.161765
0
0
0
0
0
0
0
0
0
0
0.078788
165
4
66
41.25
0.894737
0
0
0
0
0
0.284848
0.284848
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
1
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
4
da45a683cd9931e29b662eab5e1cb9091d092f1e
16,447
py
Python
GPy/util/datasets/data_resources_create.py
rokroskar/GPy
0f8dbba56d480902c86cfe8bad9e79d9eabae009
[ "BSD-3-Clause" ]
1
2016-08-04T21:28:11.000Z
2016-08-04T21:28:11.000Z
GPy/util/datasets/data_resources_create.py
rokroskar/GPy
0f8dbba56d480902c86cfe8bad9e79d9eabae009
[ "BSD-3-Clause" ]
null
null
null
GPy/util/datasets/data_resources_create.py
rokroskar/GPy
0f8dbba56d480902c86cfe8bad9e79d9eabae009
[ "BSD-3-Clause" ]
null
null
null
import json neil_url = 'http://staffwww.dcs.shef.ac.uk/people/N.Lawrence/dataset_mirror/' sam_url = 'http://www.cs.nyu.edu/~roweis/data/' cmu_url = 'http://mocap.cs.cmu.edu/subjects/' data_resources = {'ankur_pose_data' : {'urls' : [neil_url + 'ankur_pose_data/'], 'files' : [['a...
121.82963
620
0.544963
1,779
16,447
4.975267
0.40416
0.018642
0.023726
0.008813
0.2141
0.200429
0.188679
0.1819
0.166761
0.166761
0
0.041651
0.34748
16,447
134
621
122.738806
0.783079
0
0
0.161538
0
0.269231
0.624308
0.030401
0
0
0
0
0
0
null
null
0
0.007692
null
null
0.015385
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
da58bf7d0bb3773c04e9a9676a1d5824d2235e62
1,093
py
Python
GDLC/tests/helper_default_copy.py
ptoche/Gran-Diccionari-de-la-llengua-catalana-Kindle-Edition-
a31412d2a6f05a6c1a9bd9854cdd6fee8abd65f4
[ "BSD-3-Clause" ]
1
2022-02-01T16:08:03.000Z
2022-02-01T16:08:03.000Z
GDLC/tests/helper_default_copy.py
ptoche/Gran-Diccionari-de-la-llengua-catalana-Kindle-Edition-
a31412d2a6f05a6c1a9bd9854cdd6fee8abd65f4
[ "BSD-3-Clause" ]
null
null
null
GDLC/tests/helper_default_copy.py
ptoche/Gran-Diccionari-de-la-llengua-catalana-Kindle-Edition-
a31412d2a6f05a6c1a9bd9854cdd6fee8abd65f4
[ "BSD-3-Clause" ]
null
null
null
""" Makes a list of the files to be copied from source to destination. Notes: Couldn't make this doctest work, so useful only as a visual test. >>> from GDLC.GDLC import * # Copy a list of files to the default directory: >>> template_copy(dir='~/GDLC/source/GDLC_unpacked') # doctest:+ELLIPSIS [PosixPath('.../mobi7/...
39.035714
72
0.711802
145
1,093
5.282759
0.427586
0.201044
0.223238
0.125326
0.406005
0.190601
0.101828
0
0
0
0
0.023762
0.075938
1,093
27
73
40.481481
0.734653
0.989936
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
1
1
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
4
da5965efd18efcbcc1054a341ce522c266eb499c
1,603
py
Python
tests/integration/test_path.py
bengabay11/chromesy
03328f7330c4e119e7f6a5bc2b75575eb47e4e61
[ "MIT" ]
null
null
null
tests/integration/test_path.py
bengabay11/chromesy
03328f7330c4e119e7f6a5bc2b75575eb47e4e61
[ "MIT" ]
23
2021-08-05T17:38:02.000Z
2022-02-14T08:28:15.000Z
tests/integration/test_path.py
bengabay11/chromesy
03328f7330c4e119e7f6a5bc2b75575eb47e4e61
[ "MIT" ]
null
null
null
import os import pytest from chpass.exceptions.operating_system_not_supported import OperatingSystemNotSupported from chpass.exceptions.user_not_found_exception import UserNotFoundException from chpass.services.path import get_home_directory, get_chrome_user_folder @pytest.fixture(scope="module") def invalid_os() -...
27.169492
88
0.805365
217
1,603
5.525346
0.193548
0.108424
0.1201
0.110926
0.545455
0.371143
0.201835
0.138449
0.138449
0.138449
0
0.001418
0.120399
1,603
58
89
27.637931
0.848936
0
0
0.222222
0
0
0.018091
0
0
0
0
0
0.083333
1
0.277778
false
0.083333
0.138889
0.111111
0.527778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
1
0
0
4
e506e440b9944e3663077c3d5d48f8e3e702deb4
16
py
Python
tailhead/version.py
moisesluza/tailhead
262e14a1a9a928fa26094906939a0d9c521431c9
[ "MIT" ]
12
2015-10-20T20:48:46.000Z
2020-07-07T18:39:51.000Z
tailhead/version.py
moisesluza/tailhead
262e14a1a9a928fa26094906939a0d9c521431c9
[ "MIT" ]
3
2016-09-13T01:51:15.000Z
2021-12-30T21:46:25.000Z
tailhead/version.py
moisesluza/tailhead
262e14a1a9a928fa26094906939a0d9c521431c9
[ "MIT" ]
4
2015-11-04T18:31:11.000Z
2021-11-10T19:01:55.000Z
VERSION='1.0.2'
8
15
0.625
4
16
2.5
1
0
0
0
0
0
0
0
0
0
0
0.2
0.0625
16
1
16
16
0.466667
0
0
0
0
0
0.3125
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
e512933c921eeae4ae1e67cc732283d409bf706e
100
py
Python
db_adapter/apps.py
weynelucas/django-db-editor
92893cf471ac4d0988b47e10b82c43907006fe2a
[ "MIT" ]
6
2018-04-18T14:55:00.000Z
2021-04-27T22:31:47.000Z
db_adapter/apps.py
weynelucas/django-db-editor
92893cf471ac4d0988b47e10b82c43907006fe2a
[ "MIT" ]
2
2021-02-16T20:52:24.000Z
2021-02-18T14:53:26.000Z
db_adapter/apps.py
weynelucas/django-db-editor
92893cf471ac4d0988b47e10b82c43907006fe2a
[ "MIT" ]
2
2019-01-22T17:34:25.000Z
2019-08-25T12:37:23.000Z
from django.apps import AppConfig class DatabaseAdapterConfig(AppConfig): name = 'db_adapter'
16.666667
39
0.78
11
100
7
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.15
100
5
40
20
0.905882
0
0
0
0
0
0.1
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
1
0
0
4
e52bc635762b36d8f3c7c89d30a236bb115e6d28
61
py
Python
web/views/auth/__init__.py
qingqingcaoyuanlin/atxserver2
f3aefcf501f4cbb67441e58e7e223d70e74971b1
[ "MIT" ]
4
2019-12-10T14:41:45.000Z
2019-12-29T03:23:24.000Z
web/views/auth/__init__.py
qingqingcaoyuanlin/atxserver2
f3aefcf501f4cbb67441e58e7e223d70e74971b1
[ "MIT" ]
null
null
null
web/views/auth/__init__.py
qingqingcaoyuanlin/atxserver2
f3aefcf501f4cbb67441e58e7e223d70e74971b1
[ "MIT" ]
1
2021-09-03T08:26:59.000Z
2021-09-03T08:26:59.000Z
# coding: utf-8 # from .openid import OpenIdMixin, AuthError
15.25
42
0.754098
8
61
5.75
1
0
0
0
0
0
0
0
0
0
0
0.019231
0.147541
61
4
42
15.25
0.865385
0.213115
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
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
1
0
1
0
0
0
0
4
e552a9bb832d0fb5e0cdbc503fa4cfb27a8eb16b
513
py
Python
test.py
LRHammond/pv4dsrl
7053ea392f9ddbf3672a0ac348d61abe6b7264d9
[ "MIT" ]
null
null
null
test.py
LRHammond/pv4dsrl
7053ea392f9ddbf3672a0ac348d61abe6b7264d9
[ "MIT" ]
2
2020-03-24T16:31:16.000Z
2020-03-31T00:56:57.000Z
test.py
LRHammond/pv4dsrl
7053ea392f9ddbf3672a0ac348d61abe6b7264d9
[ "MIT" ]
null
null
null
# TEST # Script for running tests of other functions import lern import veri import main # main.run(name="one", mode="vgdl", numEpisodes=2, numSteps=50, numSamples=50, discount=0.95, horizon=5, manual_episodes=1) # main.run(name="two", mode="vgdl", numEpisodes=1, numSteps=250, numSamples=50, discount=0.95, horizon=5,...
46.636364
172
0.752437
83
513
4.590361
0.46988
0.055118
0.086614
0.165354
0.317585
0.317585
0.317585
0.23622
0.23622
0
0
0.072961
0.091618
513
10
173
51.3
0.744635
0.57115
0
0
0
0
0.060465
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
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
1
0
1
0
1
0
0
4
e55f13dc7177e0ccd39ddbd7acfc8ae237814ab0
26
py
Python
homeassistant/components/ping/__init__.py
domwillcode/home-assistant
f170c80bea70c939c098b5c88320a1c789858958
[ "Apache-2.0" ]
23
2017-11-15T21:03:53.000Z
2021-03-29T21:33:48.000Z
homeassistant/components/ping/__init__.py
domwillcode/home-assistant
f170c80bea70c939c098b5c88320a1c789858958
[ "Apache-2.0" ]
47
2020-07-23T07:13:11.000Z
2022-03-31T06:01:46.000Z
homeassistant/components/ping/__init__.py
klauern/home-assistant-core
c18ba6aec0627e6afb6442c678edb5ff2bb17db6
[ "Apache-2.0" ]
10
2018-01-01T00:12:51.000Z
2021-12-21T23:08:05.000Z
"""The ping component."""
13
25
0.615385
3
26
5.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.115385
26
1
26
26
0.695652
0.730769
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
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
1
0
0
0
0
0
0
4
e5648e4114e86d6ce849eaaf4d090c50acfa355e
175
py
Python
problem0553.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0553.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
problem0553.py
kmarcini/Project-Euler-Python
d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3
[ "BSD-3-Clause" ]
null
null
null
########################### # # #553 Power sets of power sets - Project Euler # https://projecteuler.net/problem=553 # # Code by Kevin Marciniak # ###########################
19.444444
47
0.485714
17
175
5
0.823529
0.211765
0
0
0
0
0
0
0
0
0
0.039216
0.125714
175
8
48
21.875
0.51634
0.6
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
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
1
0
0
0
0
0
0
4
e57861b5e22bf7c73710ae2a9b27d80858c1d34a
90
py
Python
sparklingpandas/test/__init__.py
MLnick/sparklingpandas
4a8daefd6bd6c51741b0b849d41d9189b7787023
[ "Apache-2.0" ]
2
2015-05-17T11:21:10.000Z
2017-01-09T08:57:12.000Z
sparklingpandas/test/__init__.py
MLnick/sparklingpandas
4a8daefd6bd6c51741b0b849d41d9189b7787023
[ "Apache-2.0" ]
null
null
null
sparklingpandas/test/__init__.py
MLnick/sparklingpandas
4a8daefd6bd6c51741b0b849d41d9189b7787023
[ "Apache-2.0" ]
null
null
null
""" Tests for the PandaSpark module, you probably don't want to import this directly. """
18
71
0.733333
14
90
4.714286
1
0
0
0
0
0
0
0
0
0
0
0
0.166667
90
4
72
22.5
0.88
0.9
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
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
e59498afb5a86d822863138dc496fa7e78e493a4
158
py
Python
python/lib/Lib/site-packages/django/contrib/admindocs/tests/fields.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
790
2015-01-03T02:13:39.000Z
2020-05-10T19:53:57.000Z
django/contrib/admindocs/tests/fields.py
mradziej/django
5d38965743a369981c9a738a298f467f854a2919
[ "BSD-3-Clause" ]
1,361
2015-01-08T23:09:40.000Z
2020-04-14T00:03:04.000Z
django/contrib/admindocs/tests/fields.py
mradziej/django
5d38965743a369981c9a738a298f467f854a2919
[ "BSD-3-Clause" ]
155
2015-01-08T22:59:31.000Z
2020-04-08T08:01:53.000Z
from django.db import models class CustomField(models.Field): description = "A custom field type" class DescriptionLackingField(models.Field): pass
19.75
44
0.765823
19
158
6.368421
0.736842
0.181818
0
0
0
0
0
0
0
0
0
0
0.158228
158
7
45
22.571429
0.909774
0
0
0
0
0
0.120253
0
0
0
0
0
0
1
0
false
0.2
0.2
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
1
0
0
1
0
0
4
e59792d62a407cd1ceff533d64444f1fe93ec4ac
282
py
Python
Connector.py
kithsirij/NLP-based-Syllabus-Coverage-Exam-paper-checker-Tool
b7b38a7b7c6d0a2ad5264df32acd75cdef552bd0
[ "MIT" ]
1
2019-07-17T09:08:41.000Z
2019-07-17T09:08:41.000Z
Connector.py
kithsirij/NLP-based-Syllabus-Coverage-Exam-paper-checker-Tool
b7b38a7b7c6d0a2ad5264df32acd75cdef552bd0
[ "MIT" ]
null
null
null
Connector.py
kithsirij/NLP-based-Syllabus-Coverage-Exam-paper-checker-Tool
b7b38a7b7c6d0a2ad5264df32acd75cdef552bd0
[ "MIT" ]
null
null
null
import MySQLdb class DBConnection: db = "" # Open database connection def __init__(self): self.db = MySQLdb.connect('localhost', 'root', '', 'new_pyproject') # Return DB Connection def getConnection(self): return self.db
15.666667
76
0.585106
28
282
5.714286
0.642857
0.1625
0
0
0
0
0
0
0
0
0
0
0.312057
282
17
77
16.588235
0.824742
0.159574
0
0
0
0
0.12037
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.857143
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
e5f3c32525bb8e784e7d769175cb8c5e4190d96d
49
py
Python
pdf_to_json/__init__.py
antoinecarme/pdf_to_json
b04b264738de3207248eaa17897fc276d19ad663
[ "BSD-3-Clause" ]
null
null
null
pdf_to_json/__init__.py
antoinecarme/pdf_to_json
b04b264738de3207248eaa17897fc276d19ad663
[ "BSD-3-Clause" ]
null
null
null
pdf_to_json/__init__.py
antoinecarme/pdf_to_json
b04b264738de3207248eaa17897fc276d19ad663
[ "BSD-3-Clause" ]
null
null
null
from . import pdf_to_json __version__ = '0.1'
8.166667
25
0.693878
8
49
3.5
1
0
0
0
0
0
0
0
0
0
0
0.051282
0.204082
49
5
26
9.8
0.666667
0
0
0
0
0
0.06383
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
1
0
0
0
0
4
e5fe551e4a16a55180c24cd7d58a38d89bb68ac8
65
py
Python
scraper/errors.py
earaujoassis/apps-scraper
921e96423ce4f74cdb51e6f8854963a8dc36c093
[ "MIT" ]
null
null
null
scraper/errors.py
earaujoassis/apps-scraper
921e96423ce4f74cdb51e6f8854963a8dc36c093
[ "MIT" ]
null
null
null
scraper/errors.py
earaujoassis/apps-scraper
921e96423ce4f74cdb51e6f8854963a8dc36c093
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- class ScraperError(Exception): pass
13
30
0.615385
7
65
5.714286
1
0
0
0
0
0
0
0
0
0
0
0.019231
0.2
65
4
31
16.25
0.75
0.323077
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
4
f91fd87304c5f04c2a7fa4de6baaa4632865260f
60
py
Python
python/loki/environment.py
agu3rra/loki
0c6e30516f087113340d3f396c13650ca0bd095b
[ "MIT" ]
null
null
null
python/loki/environment.py
agu3rra/loki
0c6e30516f087113340d3f396c13650ca0bd095b
[ "MIT" ]
7
2020-05-09T10:48:07.000Z
2020-05-30T14:00:00.000Z
python/loki/environment.py
agu3rra/goss
0c6e30516f087113340d3f396c13650ca0bd095b
[ "MIT" ]
null
null
null
import os GITHUB_PAT = os.environ.get('GITHUB_PAT', None)
12
47
0.733333
10
60
4.2
0.7
0.428571
0
0
0
0
0
0
0
0
0
0
0.133333
60
4
48
15
0.807692
0
0
0
0
0
0.166667
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
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
4
f9226230e3a207800bf375f8d56f825ff54389ab
2,721
py
Python
apps/taxonomy/admin.py
iamjdcollins/districtwebsite
89e2aea47ca3d221665bc23586a4374421be5800
[ "MIT" ]
null
null
null
apps/taxonomy/admin.py
iamjdcollins/districtwebsite
89e2aea47ca3d221665bc23586a4374421be5800
[ "MIT" ]
null
null
null
apps/taxonomy/admin.py
iamjdcollins/districtwebsite
89e2aea47ca3d221665bc23586a4374421be5800
[ "MIT" ]
null
null
null
from django.contrib import admin from guardian.admin import GuardedModelAdmin from mptt.admin import MPTTModelAdmin from apps.pages.admin import PrecinctMapInline import apps.common.functions as commonfunctions from .models import Location, City, State, Zipcode, Language, TranslationType, SchoolType, OpenEnrollmentStat...
36.28
256
0.860345
232
2,721
10.012931
0.262931
0.200172
0.109772
0.223848
0
0
0
0
0
0
0
0
0.076075
2,721
74
257
36.77027
0.924025
0
0
0.245614
0
0
0
0
0
0
0
0
0
1
0
false
0.245614
0.105263
0
0.491228
0
0
0
1
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
0065973e8bbfb235aba6736953cf7870a116c556
9,648
py
Python
equations.py
The0nix/PerceptionProject
86b69ba0b7473417fd5bab7d5ef0b608964d7abe
[ "MIT" ]
null
null
null
equations.py
The0nix/PerceptionProject
86b69ba0b7473417fd5bab7d5ef0b608964d7abe
[ "MIT" ]
null
null
null
equations.py
The0nix/PerceptionProject
86b69ba0b7473417fd5bab7d5ef0b608964d7abe
[ "MIT" ]
null
null
null
# import numpy as np import jax.numpy as np from jax import jacfwd from jax.ops import index_update def C_b_v(angles): """ :param angles: Euler angles, np.ndarray, shape: (3,1) :return: transition matrix from b-frame to v-frame, np.ndarray, shape: (3,3) """ phi, theta, psi = angles.flatten() ...
40.033195
142
0.600435
1,596
9,648
3.490602
0.065163
0.05385
0.119009
0.161012
0.810806
0.749237
0.720337
0.646204
0.584814
0.522527
0
0.030733
0.217558
9,648
240
143
40.2
0.707246
0.189262
0
0.246032
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.02381
0.047619
0.246032
0
0
0
0
null
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
006b715cfa05d58a5bdcaf74dfb0a2b2b82f27b5
5,633
py
Python
tests/Object/test_rotatingObjects.py
nd9600/arc
f6573898a37fa9395e673b80c25102fcc20e09a1
[ "MIT" ]
null
null
null
tests/Object/test_rotatingObjects.py
nd9600/arc
f6573898a37fa9395e673b80c25102fcc20e09a1
[ "MIT" ]
null
null
null
tests/Object/test_rotatingObjects.py
nd9600/arc
f6573898a37fa9395e673b80c25102fcc20e09a1
[ "MIT" ]
null
null
null
import unittest import src.Runtime.GeometryRuntime as GeometryRuntime import src.UsefulFunctions as UsefulFunctions from src.FrameModel.Object import Object class TestRotatingObjects(unittest.TestCase): def test_rotating_line_90_degrees(self): obj = Object( 1, (1, 0), ...
25.721461
105
0.43831
528
5,633
4.352273
0.153409
0.022628
0.022193
0.022628
0.781114
0.773281
0.762402
0.734987
0.687554
0.618364
0
0.065706
0.470442
5,633
218
106
25.83945
0.70466
0.032665
0
0.602041
0
0
0.001477
0
0
0
0
0
0.071429
1
0.040816
false
0
0.020408
0
0.066327
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
006f6aa9aa5d552154797cfab32e0b36af76ed1c
185
py
Python
src/sentry/eventstore/snuba/backend.py
lauryndbrown/sentry
c5304e303966566386f5e61df1b72624a30803b4
[ "BSD-3-Clause" ]
1
2020-02-27T02:46:25.000Z
2020-02-27T02:46:25.000Z
src/sentry/eventstore/snuba/backend.py
lauryndbrown/sentry
c5304e303966566386f5e61df1b72624a30803b4
[ "BSD-3-Clause" ]
null
null
null
src/sentry/eventstore/snuba/backend.py
lauryndbrown/sentry
c5304e303966566386f5e61df1b72624a30803b4
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import from sentry.eventstore.base import EventStorage class SnubaEventStorage(EventStorage): """ Eventstore backend backed by Snuba """
16.818182
47
0.762162
19
185
7.157895
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.178378
185
10
48
18.5
0.894737
0.183784
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.666667
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
00862602d196f5756d79418d7f00555e0b6c4b02
37
py
Python
tests/unit/sim_proxy/sim_proxy_test.py
rkm/bluebird
2325ebb151724d4444c092c095a040d7365dda79
[ "MIT" ]
8
2019-01-29T15:19:39.000Z
2020-07-16T03:55:36.000Z
tests/unit/sim_proxy/sim_proxy_test.py
rkm/bluebird
2325ebb151724d4444c092c095a040d7365dda79
[ "MIT" ]
46
2019-02-08T14:23:11.000Z
2021-04-06T13:45:10.000Z
tests/unit/sim_proxy/sim_proxy_test.py
rkm/bluebird
2325ebb151724d4444c092c095a040d7365dda79
[ "MIT" ]
3
2019-05-06T14:18:07.000Z
2021-06-17T10:39:59.000Z
""" Tests for the SimProxy class """
9.25
28
0.648649
5
37
4.8
1
0
0
0
0
0
0
0
0
0
0
0
0.189189
37
3
29
12.333333
0.8
0.756757
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
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
1
0
0
0
0
0
0
4
0094ebc62228c1949a2d2e31feb71f5ee12e3fa2
118
py
Python
ARC085/ARC085.py
VolgaKurvar/AtCoder
21acb489f1594bbb1cdc64fbf8421d876b5b476d
[ "Unlicense" ]
null
null
null
ARC085/ARC085.py
VolgaKurvar/AtCoder
21acb489f1594bbb1cdc64fbf8421d876b5b476d
[ "Unlicense" ]
null
null
null
ARC085/ARC085.py
VolgaKurvar/AtCoder
21acb489f1594bbb1cdc64fbf8421d876b5b476d
[ "Unlicense" ]
null
null
null
n, z, w = map(int, input().split()) a = list(map(int, input().split())) print(max(abs(a[n-1]-w), abs(a[n-1]-a[n-2])))
29.5
45
0.542373
27
118
2.37037
0.518519
0.09375
0.34375
0.5
0
0
0
0
0
0
0
0.028302
0.101695
118
3
46
39.333333
0.575472
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
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
4
00a26356724be93efd653f154c207b25d7f0234e
108
py
Python
Module 1/Chapter4/4_10_defining_an_exception.py
real-slim-chadi/Python_Master-the-Art-of-Design-Patterns
95ec92272374e330b04d931208abbb184c7c7908
[ "MIT" ]
73
2016-09-15T23:07:04.000Z
2022-03-05T15:09:48.000Z
Module 1/Chapter4/4_10_defining_an_exception.py
real-slim-chadi/Python_Master-the-Art-of-Design-Patterns
95ec92272374e330b04d931208abbb184c7c7908
[ "MIT" ]
null
null
null
Module 1/Chapter4/4_10_defining_an_exception.py
real-slim-chadi/Python_Master-the-Art-of-Design-Patterns
95ec92272374e330b04d931208abbb184c7c7908
[ "MIT" ]
51
2016-10-07T20:47:51.000Z
2021-12-22T21:00:24.000Z
class InvalidWithdrawal(Exception): pass raise InvalidWithdrawal("You don't have $50 in your account")
21.6
61
0.768519
14
108
5.928571
0.928571
0
0
0
0
0
0
0
0
0
0
0.021739
0.148148
108
4
62
27
0.880435
0
0
0
0
0
0.314815
0
0
0
0
0
0
1
0
true
0.333333
0
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
1
1
0
0
0
0
0
4
00ba7858f65ef7b0e56f27897b52da91dfe1f640
23
py
Python
p0/elftools/__init__.py
wrestle/CMU-15410
9a2d67acd95917a82fa4f2125c5b9568127a00ae
[ "MIT" ]
null
null
null
p0/elftools/__init__.py
wrestle/CMU-15410
9a2d67acd95917a82fa4f2125c5b9568127a00ae
[ "MIT" ]
null
null
null
p0/elftools/__init__.py
wrestle/CMU-15410
9a2d67acd95917a82fa4f2125c5b9568127a00ae
[ "MIT" ]
1
2019-07-17T16:49:14.000Z
2019-07-17T16:49:14.000Z
__version__ = '0.10'
5.75
20
0.608696
3
23
3.333333
1
0
0
0
0
0
0
0
0
0
0
0.166667
0.217391
23
3
21
7.666667
0.388889
0
0
0
0
0
0.190476
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
00d4d55e3a2948f88a5acab543d101a7b19eb876
80
py
Python
examples/p2/main.py
djpeach/pygamer
77a0cdab58bc29d06cc88c8cc823850794fe0bf0
[ "MIT" ]
null
null
null
examples/p2/main.py
djpeach/pygamer
77a0cdab58bc29d06cc88c8cc823850794fe0bf0
[ "MIT" ]
null
null
null
examples/p2/main.py
djpeach/pygamer
77a0cdab58bc29d06cc88c8cc823850794fe0bf0
[ "MIT" ]
null
null
null
from Pong import Pong if __name__ == "__main__": Pong((5, 5), 7, 20).run()
16
29
0.6
13
80
3.076923
0.769231
0
0
0
0
0
0
0
0
0
0
0.079365
0.2125
80
4
30
20
0.555556
0
0
0
0
0
0.1
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
00d528bccf5d71e31b9419e0d20e07e19e9f6325
158
py
Python
Curso em Vídeo/Mundo 3 Estruturas Compostas/Aulas/file033.py
henriqueumeda/-Estudo-python
28e93a377afa4732037a29eb74d4bc7c9e24b62f
[ "MIT" ]
null
null
null
Curso em Vídeo/Mundo 3 Estruturas Compostas/Aulas/file033.py
henriqueumeda/-Estudo-python
28e93a377afa4732037a29eb74d4bc7c9e24b62f
[ "MIT" ]
null
null
null
Curso em Vídeo/Mundo 3 Estruturas Compostas/Aulas/file033.py
henriqueumeda/-Estudo-python
28e93a377afa4732037a29eb74d4bc7c9e24b62f
[ "MIT" ]
null
null
null
def print_sum(*values): s = 0 for number in values: s += number print(f'The sum of {values} is {s}') print_sum(5, 2) print_sum(2, 9, 4)
15.8
40
0.56962
29
158
3
0.586207
0.275862
0
0
0
0
0
0
0
0
0
0.053097
0.28481
158
9
41
17.555556
0.716814
0
0
0
0
0
0.164557
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
0.571429
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
1
0
4
00e13cbb5491a30cc22bbb968747a7bd81e19f8d
310
py
Python
frontier/news/translation.py
mcmaxwell/frontier
d1f59154108566c652965a43c4b999de33c05c58
[ "MIT" ]
null
null
null
frontier/news/translation.py
mcmaxwell/frontier
d1f59154108566c652965a43c4b999de33c05c58
[ "MIT" ]
null
null
null
frontier/news/translation.py
mcmaxwell/frontier
d1f59154108566c652965a43c4b999de33c05c58
[ "MIT" ]
null
null
null
from modeltranslation.translator import translator, TranslationOptions from .models import News from common.translation import CommonPostTranslationOptions class NewsTranslationOptions(TranslationOptions): fields = ('title', 'text_preview', 'text') translator.register(News, NewsTranslationOptions)
34.444444
71
0.822581
27
310
9.407407
0.62963
0
0
0
0
0
0
0
0
0
0
0
0.106452
310
9
72
34.444444
0.916968
0
0
0
0
0
0.069307
0
0
0
0
0
0
1
0
false
0
0.5
0
0.833333
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
1
0
0
4
00f04d7bfa1967b4519329e824c4d4b976e4b796
1,166
py
Python
core/recc/database/interfaces/db_interface.py
bogonets/answer
57f892a9841980bcbc35fa1e27521b34cd94bc25
[ "MIT" ]
3
2021-06-20T02:24:10.000Z
2022-01-26T23:55:33.000Z
core/recc/database/interfaces/db_interface.py
bogonets/answer
57f892a9841980bcbc35fa1e27521b34cd94bc25
[ "MIT" ]
null
null
null
core/recc/database/interfaces/db_interface.py
bogonets/answer
57f892a9841980bcbc35fa1e27521b34cd94bc25
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from abc import ABCMeta from recc.database.interfaces.db_daemon import DbDaemon from recc.database.interfaces.db_group import DbGroup from recc.database.interfaces.db_group_member import DbGroupMember from recc.database.interfaces.db_info import DbInfo from recc.database.interfaces.db_layout im...
29.15
70
0.799314
149
1,166
6.14094
0.295302
0.131148
0.262295
0.42623
0.485246
0.148634
0
0
0
0
0
0.000994
0.137221
1,166
39
71
29.897436
0.908549
0.01801
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.028571
0.457143
0
0.485714
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
da9ed86ad17680316066312f964ef138658005fa
159
py
Python
labgraph/loggers/__init__.py
Yunusbcr/labgraph
a00ae7098b7b0e0eda8ce2e7e62dae86854616fb
[ "MIT" ]
124
2021-07-14T21:25:59.000Z
2022-03-08T20:40:16.000Z
labgraph/loggers/__init__.py
VanEdward/labgraph
9488feac59f9ef86091befdeaddb69d84e4d6fb3
[ "MIT" ]
46
2021-07-16T18:41:11.000Z
2022-03-31T20:53:00.000Z
labgraph/loggers/__init__.py
VanEdward/labgraph
9488feac59f9ef86091befdeaddb69d84e4d6fb3
[ "MIT" ]
22
2021-07-16T18:34:56.000Z
2022-03-31T15:12:06.000Z
#!/usr/bin/env python3 # Copyright 2004-present Facebook. All Rights Reserved. __all__ = ["Logger", "LoggerConfig"] from .logger import Logger, LoggerConfig
22.714286
55
0.754717
19
159
6.105263
0.789474
0.310345
0
0
0
0
0
0
0
0
0
0.035971
0.125786
159
6
56
26.5
0.798561
0.471698
0
0
0
0
0.219512
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
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
4
dabff3814b1e0a8bfef90216863e20208efdbefa
332
py
Python
python/tests/conftest.py
bakdata/common-kafka-streams-demo
c893cf0cb13aa71ab9cb00812437038c2808bb00
[ "MIT" ]
4
2021-02-21T05:49:45.000Z
2021-08-01T06:08:55.000Z
python/tests/conftest.py
bakdata/common-kafka-streams-demo
c893cf0cb13aa71ab9cb00812437038c2808bb00
[ "MIT" ]
null
null
null
python/tests/conftest.py
bakdata/common-kafka-streams-demo
c893cf0cb13aa71ab9cb00812437038c2808bb00
[ "MIT" ]
1
2021-06-11T20:25:39.000Z
2021-06-11T20:25:39.000Z
import pytest from spacy_lemmatizer.models import Text, LemmaText @pytest.fixture def test_text(): return Text(content='One morning, when Gregor Samsa woke from troubled dreams') @pytest.fixture() def test_lemma_text(): lemmas = ['morning', 'gregor', 'samsa', 'wake', 'troubled', 'dream'] return LemmaT...
20.75
83
0.71988
42
332
5.595238
0.595238
0.110638
0.13617
0.170213
0
0
0
0
0
0
0
0
0.153614
332
15
84
22.133333
0.836299
0
0
0
0
0
0.274096
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
97009a4399198dc718bfe87718aac3e7295b2990
867
py
Python
job_snapshotting/snapshot.py
justinholmes/job_snapshotting
c66358fe93cf09f9e17e28cb587d5f96e2b7f249
[ "Apache-2.0" ]
null
null
null
job_snapshotting/snapshot.py
justinholmes/job_snapshotting
c66358fe93cf09f9e17e28cb587d5f96e2b7f249
[ "Apache-2.0" ]
null
null
null
job_snapshotting/snapshot.py
justinholmes/job_snapshotting
c66358fe93cf09f9e17e28cb587d5f96e2b7f249
[ "Apache-2.0" ]
null
null
null
from job_snapshotting.google_cloud_storage import GoogleCloudStorage from job_snapshotting.internal_model import SnapshotSchema class Snapshot: def __init__(self, name, job_run_timestamp, bucket_id): self._snapshot_schema = SnapshotSchema() self._storage = GoogleCloudStorage(bucket_id, self._snaps...
37.695652
106
0.763552
109
867
5.623853
0.302752
0.215334
0.22186
0.06199
0.084829
0
0
0
0
0
0
0.001368
0.156863
867
22
107
39.409091
0.837209
0
0
0
0
0
0
0
0
0
0
0
0
1
0.3125
false
0
0.125
0.125
0.625
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
9727220cb857dfab8cc4ebe234ead20e65916730
128
py
Python
cellxgene_gateway/flask_util.py
fidelram/cellxgene-gateway
11bbc1aba8509b02865c145be78b021b70e22fda
[ "Apache-2.0" ]
null
null
null
cellxgene_gateway/flask_util.py
fidelram/cellxgene-gateway
11bbc1aba8509b02865c145be78b021b70e22fda
[ "Apache-2.0" ]
null
null
null
cellxgene_gateway/flask_util.py
fidelram/cellxgene-gateway
11bbc1aba8509b02865c145be78b021b70e22fda
[ "Apache-2.0" ]
null
null
null
from flask import request def querystring(): qs = request.query_string.decode() return f'?{qs}' if len(qs) > 0 else ''
21.333333
42
0.65625
19
128
4.368421
0.842105
0
0
0
0
0
0
0
0
0
0
0.009804
0.203125
128
5
43
25.6
0.803922
0
0
0
0
0
0.039063
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
4
973dd9d9bbc2e1ec6f0c559673182023104f2c5c
158
py
Python
PyTMX-3.19.0/pytmx/constants.py
unmonk/Project-Infinity
63c22fcf4086adf868967cb172434e3ceba4bac5
[ "CC0-1.0" ]
null
null
null
PyTMX-3.19.0/pytmx/constants.py
unmonk/Project-Infinity
63c22fcf4086adf868967cb172434e3ceba4bac5
[ "CC0-1.0" ]
null
null
null
PyTMX-3.19.0/pytmx/constants.py
unmonk/Project-Infinity
63c22fcf4086adf868967cb172434e3ceba4bac5
[ "CC0-1.0" ]
null
null
null
# internal flags TRANS_FLIPX = 1 TRANS_FLIPY = 2 TRANS_ROT = 4 # Tiled gid flags GID_TRANS_FLIPX = 1 << 31 GID_TRANS_FLIPY = 1 << 30 GID_TRANS_ROT = 1 << 29
15.8
25
0.708861
29
158
3.551724
0.482759
0.23301
0.213592
0
0
0
0
0
0
0
0
0.095238
0.202532
158
9
26
17.555556
0.722222
0.189873
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
9758a11e32e0635899d16ee5a175acb7eff5a58a
86
py
Python
__init__.py
arfon/Qlunc
2b65f52fc6367ee7c5e4484c60ac8325ec625f54
[ "BSD-3-Clause" ]
7
2021-03-19T14:37:47.000Z
2022-03-03T16:20:53.000Z
__init__.py
arfon/Qlunc
2b65f52fc6367ee7c5e4484c60ac8325ec625f54
[ "BSD-3-Clause" ]
31
2021-03-03T02:00:03.000Z
2022-01-10T19:40:37.000Z
__init__.py
arfon/Qlunc
2b65f52fc6367ee7c5e4484c60ac8325ec625f54
[ "BSD-3-Clause" ]
11
2021-03-03T01:57:32.000Z
2021-05-25T09:45:04.000Z
# -*- coding: utf-8 -*- """ Created on Wed Jun 17 17:05:02 2020 @author: fcosta """
10.75
35
0.569767
14
86
3.5
0.928571
0
0
0
0
0
0
0
0
0
0
0.191176
0.209302
86
7
36
12.285714
0.529412
0.872093
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
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
975af57f0deb6dd0008aa298e55bbcc1bc895e76
41
py
Python
bot/config.py
lacmus-foundation/openstack-bot
7621419ac735de9e06b95d93661242db0475d1b5
[ "MIT" ]
2
2020-06-17T20:12:29.000Z
2020-07-03T11:43:17.000Z
bot/config.py
lacmus-foundation/openstack-bot
7621419ac735de9e06b95d93661242db0475d1b5
[ "MIT" ]
null
null
null
bot/config.py
lacmus-foundation/openstack-bot
7621419ac735de9e06b95d93661242db0475d1b5
[ "MIT" ]
null
null
null
channel_id = 'channel_id' token = 'token'
20.5
25
0.731707
6
41
4.666667
0.5
0.642857
0
0
0
0
0
0
0
0
0
0
0.121951
41
2
26
20.5
0.777778
0
0
0
0
0
0.357143
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
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
4
976e182add006f77b0aaa215c110fbfca071378c
195
py
Python
utils/validators.py
niomwungeri-fabrice/questionnaire-api
bd280a30d12daf61c403ae3a58df7027398e80c2
[ "MIT" ]
null
null
null
utils/validators.py
niomwungeri-fabrice/questionnaire-api
bd280a30d12daf61c403ae3a58df7027398e80c2
[ "MIT" ]
9
2021-03-19T03:26:15.000Z
2022-03-11T23:58:06.000Z
utils/validators.py
niomwungeri-fabrice/questionnaire-api
bd280a30d12daf61c403ae3a58df7027398e80c2
[ "MIT" ]
null
null
null
def validate_empty(field, name=None): if not field: raise ValueError('This field is Required.') if name and not field: raise validate_empty('{} is Required'.format(name))
32.5
59
0.666667
27
195
4.740741
0.555556
0.203125
0.203125
0
0
0
0
0
0
0
0
0
0.225641
195
5
60
39
0.847682
0
0
0
0
0
0.189744
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
97b19d7904c859762ef95786c5c194983de850a6
36
py
Python
python/snr/__init__.py
gromitsun/sim-xrf
e0009b969551e5a03c3b14e4d02153be234b7ca5
[ "MIT" ]
2
2019-01-09T12:37:48.000Z
2019-01-09T12:37:55.000Z
python/snr/__init__.py
gromitsun/sim-xrf
e0009b969551e5a03c3b14e4d02153be234b7ca5
[ "MIT" ]
null
null
null
python/snr/__init__.py
gromitsun/sim-xrf
e0009b969551e5a03c3b14e4d02153be234b7ca5
[ "MIT" ]
1
2021-05-23T23:07:12.000Z
2021-05-23T23:07:12.000Z
__author__ = "Yue" __all__ = ["snr"]
18
18
0.638889
4
36
3.75
1
0
0
0
0
0
0
0
0
0
0
0
0.138889
36
2
19
18
0.483871
0
0
0
0
0
0.162162
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
8ade83a7364c7c65bd275df9be51cb99fe80b69a
214
py
Python
yawlib/__main__.py
letuananh/yawlib
01cac5ec1eda82d131f00431391594dd52ba1a98
[ "MIT" ]
1
2018-10-18T15:42:02.000Z
2018-10-18T15:42:02.000Z
yawlib/__main__.py
letuananh/yawlib
01cac5ec1eda82d131f00431391594dd52ba1a98
[ "MIT" ]
3
2017-01-10T03:39:14.000Z
2021-07-05T07:41:40.000Z
yawlib/__main__.py
letuananh/yawlib
01cac5ec1eda82d131f00431391594dd52ba1a98
[ "MIT" ]
1
2017-07-16T08:30:45.000Z
2017-07-16T08:30:45.000Z
# This code is a part of yawlib library: https://github.com/letuananh/yawlib # :copyright: (c) 2014 Le Tuan Anh <tuananh.ke@gmail.com> # :license: MIT, see LICENSE for more details. from . import wntk wntk.main()
30.571429
76
0.724299
35
214
4.428571
0.885714
0
0
0
0
0
0
0
0
0
0
0.021978
0.149533
214
6
77
35.666667
0.82967
0.817757
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
8aea11ed66cf4249228a08654b372c3b7c58ed01
5,520
py
Python
lib/app/dash_app.py
andreassiskos/unnamed_project
74caeee201888937ba01e6ec9775f9e99ba17373
[ "MIT" ]
null
null
null
lib/app/dash_app.py
andreassiskos/unnamed_project
74caeee201888937ba01e6ec9775f9e99ba17373
[ "MIT" ]
null
null
null
lib/app/dash_app.py
andreassiskos/unnamed_project
74caeee201888937ba01e6ec9775f9e99ba17373
[ "MIT" ]
null
null
null
import dash import dash_cytoscape as cyto import dash_html_components as html import dash_bootstrap_components as dbc import dash_core_components as dcc from dash.dependencies import Input, Output elements = [{'data': {'id': 'prb_id_12642', 'label': 'probe 12642'}}, {'data': {'id': '10.139.128.1', 'label': '10.139....
125.454545
4,486
0.536594
877
5,520
3.323831
0.153934
0.078216
0.041166
0.046312
0.504288
0.231218
0.231218
0.231218
0.231218
0.231218
0
0.287045
0.124638
5,520
43
4,487
128.372093
0.316225
0
0
0.055556
0
0
0.538406
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c127dce92a796f9db79314fa23e05cd5410c7f00
5,309
py
Python
src/integrations/etl/integration_xls.py
jQSfire125/price-transparency-tx
f9abe613acace8f9c819696c061a0aa79fcef553
[ "Apache-2.0" ]
null
null
null
src/integrations/etl/integration_xls.py
jQSfire125/price-transparency-tx
f9abe613acace8f9c819696c061a0aa79fcef553
[ "Apache-2.0" ]
null
null
null
src/integrations/etl/integration_xls.py
jQSfire125/price-transparency-tx
f9abe613acace8f9c819696c061a0aa79fcef553
[ "Apache-2.0" ]
null
null
null
# import libraries import os import pandas as pd import numpy as np import datetime as dt # must match a reference ontology concept = pd.read_csv('/opt/data/dim/CONCEPT.csv.gz', header=0, sep='\t', low_memory=False) concept = concept[['concept_code', 'concept_id']] concept.drop_duplicates(inplace...
5,309
5,309
0.558486
674
5,309
4.324926
0.290801
0.048027
0.046655
0.0494
0.371527
0.340652
0.319383
0.309091
0.309091
0.289537
0
0.009626
0.295536
5,309
1
5,309
5,309
0.769786
0.994538
0
0.236559
0
0
0.175248
0.016938
0
0
0
0
0
1
0
false
0
0.043011
0
0.043011
0.010753
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c1514c3123eb57bfeb5b6332c82b533e93b9cd6e
137
py
Python
autocode/__main__.py
HashCode55/AutoCode
9af63e3bf5abf6520baf31c914073e179849cccf
[ "MIT" ]
2
2017-06-14T23:38:14.000Z
2017-06-15T10:47:27.000Z
autocode/__main__.py
HashCode55/AutoCode
9af63e3bf5abf6520baf31c914073e179849cccf
[ "MIT" ]
null
null
null
autocode/__main__.py
HashCode55/AutoCode
9af63e3bf5abf6520baf31c914073e179849cccf
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """autotype.__main__: executed when bootstrap directory is called as script.""" from .run import main main()
15.222222
79
0.678832
18
137
4.944444
0.888889
0
0
0
0
0
0
0
0
0
0
0.008772
0.167883
137
8
80
17.125
0.77193
0.70073
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
c169dddca2834bc77ab2bc5b99532c0190e237b9
23
py
Python
docassemble_webapp/docassemble/webapp/__init__.py
britadeiro/docassemble
25f9d572d9e7ba85a16b6db313027a3a85002b2e
[ "MIT" ]
null
null
null
docassemble_webapp/docassemble/webapp/__init__.py
britadeiro/docassemble
25f9d572d9e7ba85a16b6db313027a3a85002b2e
[ "MIT" ]
null
null
null
docassemble_webapp/docassemble/webapp/__init__.py
britadeiro/docassemble
25f9d572d9e7ba85a16b6db313027a3a85002b2e
[ "MIT" ]
null
null
null
__version__ = "1.1.32"
11.5
22
0.652174
4
23
2.75
0.75
0
0
0
0
0
0
0
0
0
0
0.2
0.130435
23
1
23
23
0.35
0
0
0
0
0
0.26087
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c19832dbb51844b8989a35b5abd9cc588de1175c
23
py
Python
min_codemirror/__init__.py
django-min/django-min-codemirror
ca02905cf90549044488bc76e65261ee0bb22538
[ "MIT" ]
null
null
null
min_codemirror/__init__.py
django-min/django-min-codemirror
ca02905cf90549044488bc76e65261ee0bb22538
[ "MIT" ]
null
null
null
min_codemirror/__init__.py
django-min/django-min-codemirror
ca02905cf90549044488bc76e65261ee0bb22538
[ "MIT" ]
null
null
null
__version__ = '3.2rc0'
11.5
22
0.695652
3
23
4
1
0
0
0
0
0
0
0
0
0
0
0.15
0.130435
23
1
23
23
0.45
0
0
0
0
0
0.26087
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
c1a910e46070bcfc76cbf59b3270c72ae08c94ab
54
py
Python
abc/020/B.py
tonko2/AtCoder
5d617072517881d226d7c8af09cb88684d41af7e
[ "Xnet", "X11", "CECILL-B" ]
2
2022-01-22T07:56:58.000Z
2022-01-24T00:29:37.000Z
abc/020/B.py
tonko2/AtCoder
5d617072517881d226d7c8af09cb88684d41af7e
[ "Xnet", "X11", "CECILL-B" ]
null
null
null
abc/020/B.py
tonko2/AtCoder
5d617072517881d226d7c8af09cb88684d41af7e
[ "Xnet", "X11", "CECILL-B" ]
null
null
null
A, B = map(str, input().split()) print(int(A + B) * 2)
27
32
0.537037
11
54
2.636364
0.818182
0.137931
0
0
0
0
0
0
0
0
0
0.022222
0.166667
54
2
33
27
0.622222
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
0
0
0
1
0
4
c1acac6a1c63a6aa8a0d28ec6595b75d68da192a
139
py
Python
tests/app_b/models.py
emihir0/django-schema-graph
0c8280c035f47a7c736b8feb05d4dd1084b27979
[ "MIT" ]
316
2020-02-17T13:47:47.000Z
2022-03-29T20:25:36.000Z
tests/app_b/models.py
emihir0/django-schema-graph
0c8280c035f47a7c736b8feb05d4dd1084b27979
[ "MIT" ]
20
2020-02-23T07:59:36.000Z
2021-05-11T03:39:17.000Z
tests/app_b/models.py
emihir0/django-schema-graph
0c8280c035f47a7c736b8feb05d4dd1084b27979
[ "MIT" ]
11
2020-03-02T17:31:31.000Z
2022-03-17T05:55:50.000Z
from django.db import models class InterAppForeignKey(models.Model): user = models.ForeignKey("auth.User", on_delete=models.CASCADE)
23.166667
67
0.776978
18
139
5.944444
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.115108
139
5
68
27.8
0.869919
0
0
0
0
0
0.064748
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
1
0
0
4
c1d4402fd03ac2496bc808b43f69f030d9d7be01
103
py
Python
apps/forum_core/apps.py
WebPres-org/webpres-forum
acb89a474404fd2bb06168aa40fe5a2d321f45be
[ "Apache-2.0" ]
1
2021-12-27T10:03:30.000Z
2021-12-27T10:03:30.000Z
apps/forum_core/apps.py
WebPres-org/webpres-forum
acb89a474404fd2bb06168aa40fe5a2d321f45be
[ "Apache-2.0" ]
null
null
null
apps/forum_core/apps.py
WebPres-org/webpres-forum
acb89a474404fd2bb06168aa40fe5a2d321f45be
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class ProfileOfUserConfig(AppConfig): name = 'apps.forum_core'
17.166667
37
0.776699
12
103
6.583333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.145631
103
5
38
20.6
0.897727
0
0
0
0
0
0.145631
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
1
0
0
4
c1d9d5a116cd6ba56364dbf076ca75a1a827a386
160
py
Python
main/tests/conftest.py
keystro/Solaris-Systems
09cdaf124e1f0061bc46faa6c5277a0574a9902c
[ "Apache-2.0" ]
null
null
null
main/tests/conftest.py
keystro/Solaris-Systems
09cdaf124e1f0061bc46faa6c5277a0574a9902c
[ "Apache-2.0" ]
null
null
null
main/tests/conftest.py
keystro/Solaris-Systems
09cdaf124e1f0061bc46faa6c5277a0574a9902c
[ "Apache-2.0" ]
null
null
null
import pytest from main import main as flask_app @pytest.fixture def app(): yeild flask_app @pytest.fixture def client(app): return app.test_client()
14.545455
34
0.74375
25
160
4.64
0.52
0.137931
0.241379
0.362069
0.413793
0
0
0
0
0
0
0
0.175
160
10
35
16
0.878788
0
0
0.25
0
0
0
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
4
c1daea9ed17402365b9af08d108b781aaba3dca7
177
py
Python
main/forms.py
elhamrazi/ElhamBlog
e10240f16770b3aec505dda27cb0456be05bdddc
[ "MIT" ]
5
2021-10-19T06:23:23.000Z
2022-03-09T13:57:06.000Z
main/forms.py
elhamrazi/ElhamBlog
e10240f16770b3aec505dda27cb0456be05bdddc
[ "MIT" ]
null
null
null
main/forms.py
elhamrazi/ElhamBlog
e10240f16770b3aec505dda27cb0456be05bdddc
[ "MIT" ]
null
null
null
from django import forms from .models import Post, Comment class CommentForm(forms.ModelForm): class Meta: model = Comment fields = ('author', 'content',)
19.666667
39
0.666667
20
177
5.9
0.75
0
0
0
0
0
0
0
0
0
0
0
0.237288
177
9
39
19.666667
0.874074
0
0
0
0
0
0.073034
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
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
1
0
0
4
de14b84004ad55f23945c351e7aab5a09f4ef010
34,786
py
Python
src/trunk/libs/swig/Seismology.py
yannikbehr/seiscomp3
ebb44c77092555eef7786493d00ac4efc679055f
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
src/trunk/libs/swig/Seismology.py
yannikbehr/seiscomp3
ebb44c77092555eef7786493d00ac4efc679055f
[ "Naumen", "Condor-1.1", "MS-PL" ]
null
null
null
src/trunk/libs/swig/Seismology.py
yannikbehr/seiscomp3
ebb44c77092555eef7786493d00ac4efc679055f
[ "Naumen", "Condor-1.1", "MS-PL" ]
1
2021-09-15T08:13:27.000Z
2021-09-15T08:13:27.000Z
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.2 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. """ Codes for various seismological computations """ from sys import version_info if version_info >= (2,6,0): ...
57.119869
130
0.789053
3,674
34,786
6.801851
0.079477
0.037455
0.048019
0.0509
0.487995
0.332453
0.277031
0.262425
0.229692
0.216967
0
0.00046
0.125798
34,786
608
131
57.213816
0.821309
0.009774
0
0.251799
1
0
0.029567
0.00061
0
0
0
0
0
1
0.232014
false
0.003597
0.02518
0.194245
0.544964
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
1
1
0
0
4
a9b55d250272274527fcf9914fdab2d6b6ceb7cd
2,497
py
Python
resources/currencies.py
axonepro/sdk-ooti
146ba758f571352d02daa56349e8b3affd8ca5a9
[ "Unlicense" ]
1
2021-03-13T16:04:54.000Z
2021-03-13T16:04:54.000Z
resources/currencies.py
axonepro/sdk-ooti
146ba758f571352d02daa56349e8b3affd8ca5a9
[ "Unlicense" ]
7
2021-07-21T12:42:39.000Z
2022-01-06T10:34:04.000Z
resources/currencies.py
axonepro/sdk-ooti
146ba758f571352d02daa56349e8b3affd8ca5a9
[ "Unlicense" ]
2
2021-06-22T08:10:48.000Z
2021-09-01T09:16:41.000Z
import requests import json from .helper import Helper class Currencies(Helper): def __init__(self, base_url, org_pk, teams_pk, access_token, _csrf_token, headers, pagination): super().__init__(base_url, org_pk, teams_pk, access_token, _csrf_token, headers, pagination) def get_currencies_list(self, ...
32.012821
118
0.598318
285
2,497
5.080702
0.217544
0.075967
0.04558
0.089779
0.709945
0.686464
0.68232
0.68232
0.68232
0.68232
0
0.007799
0.281137
2,497
78
119
32.012821
0.798886
0.261514
0
0.346154
0
0
0.08442
0.026071
0
0
0
0.012821
0
1
0.230769
false
0
0.115385
0
0.576923
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
4
a9e851f0023dbcc96c72c1aa543f71ed695808d7
34
py
Python
python/testData/codeInsight/smartEnter/withTargetOmitted_after.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/codeInsight/smartEnter/withTargetOmitted_after.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/codeInsight/smartEnter/withTargetOmitted_after.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
with open('file.txt'): <caret>
17
22
0.588235
5
34
4
1
0
0
0
0
0
0
0
0
0
0
0
0.176471
34
2
23
17
0.714286
0
0
0
0
0
0.228571
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
4
a9eac88e0189d0573a6cfa619dd8e384cf753400
6,505
py
Python
tests/test_users.py
benranderson/demo
b27834c79b19b478c917edced8e170122a0f7113
[ "MIT" ]
1
2019-11-01T09:43:19.000Z
2019-11-01T09:43:19.000Z
tests/test_users.py
benranderson/demo
b27834c79b19b478c917edced8e170122a0f7113
[ "MIT" ]
12
2019-09-30T22:35:20.000Z
2019-10-12T23:39:01.000Z
tests/test_users.py
benranderson/demo
b27834c79b19b478c917edced8e170122a0f7113
[ "MIT" ]
1
2019-11-13T12:19:17.000Z
2019-11-13T12:19:17.000Z
import json from tests.utils import add_user, recreate_db class TestUsersList: def test_add_user(self, client, test_db): response = client.post( "/users", data=json.dumps({"username": "ben", "email": "ben@email.com"}), content_type="application/json", ) ...
39.664634
76
0.591699
830
6,505
4.501205
0.106024
0.052998
0.055675
0.072805
0.821734
0.785332
0.758565
0.725375
0.663544
0.599036
0
0.01428
0.257187
6,505
163
77
39.907975
0.758899
0
0
0.520548
0
0
0.20661
0
0
0
0
0
0.376712
1
0.09589
false
0
0.013699
0
0.123288
0
0
0
0
null
0
0
0
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
a9efbb63d42b1349a82591b414f4a79e8ee2ba8d
578
py
Python
json_to_dict.py
MattTurnock/PlanetarySciencesMatt
81954d2182d9577bd7327a98c45963ae42968df4
[ "MIT" ]
null
null
null
json_to_dict.py
MattTurnock/PlanetarySciencesMatt
81954d2182d9577bd7327a98c45963ae42968df4
[ "MIT" ]
null
null
null
json_to_dict.py
MattTurnock/PlanetarySciencesMatt
81954d2182d9577bd7327a98c45963ae42968df4
[ "MIT" ]
null
null
null
from astropy import units as u import json import os AE4878_path = os.path.dirname(os.path.realpath(__file__)) with open(os.path.join(AE4878_path, 'constants_main.json')) as handle: course_constants = json.loads(handle.read()) constants = {} for constant in course_constants: #print(course_constants[constant][...
48.166667
104
0.747405
79
578
5.278481
0.367089
0.28777
0.330935
0.18705
0.230216
0.230216
0
0
0
0
0
0.015267
0.093426
578
12
105
48.166667
0.780534
0.311419
0
0
0
0
0.065491
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
0
0
4
e708a6b06ab68f928f24386e935f0b0dcd753034
66
py
Python
task_scheduler/fetchdata/__init__.py
pedrolp85/pydevice
39b961bb67f59ac9a9373ecc99748e07505b249e
[ "Apache-2.0" ]
null
null
null
task_scheduler/fetchdata/__init__.py
pedrolp85/pydevice
39b961bb67f59ac9a9373ecc99748e07505b249e
[ "Apache-2.0" ]
null
null
null
task_scheduler/fetchdata/__init__.py
pedrolp85/pydevice
39b961bb67f59ac9a9373ecc99748e07505b249e
[ "Apache-2.0" ]
null
null
null
from .fetchdata import get_fetchdata __all__ = ["get_fetchdata"]
16.5
36
0.787879
8
66
5.75
0.625
0.521739
0
0
0
0
0
0
0
0
0
0
0.121212
66
3
37
22
0.793103
0
0
0
0
0
0.19697
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
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
4
e75e0aa687d118230ce7f0f7979c63964ccebf40
53
py
Python
templates/cli_project/hooks/post_gen_project.py
cmstead/python-automation
4238ebf76b2e0ef62e34f360c47447a775264b73
[ "MIT" ]
1
2020-10-30T14:44:54.000Z
2020-10-30T14:44:54.000Z
templates/library_project/hooks/post_gen_project.py
cmstead/python-automation
4238ebf76b2e0ef62e34f360c47447a775264b73
[ "MIT" ]
null
null
null
templates/library_project/hooks/post_gen_project.py
cmstead/python-automation
4238ebf76b2e0ef62e34f360c47447a775264b73
[ "MIT" ]
null
null
null
from os import system system("pipenv install --dev")
17.666667
30
0.754717
8
53
5
0.875
0
0
0
0
0
0
0
0
0
0
0
0.132075
53
3
30
17.666667
0.869565
0
0
0
0
0
0.37037
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
e78531b89d0b0db0837619fe73753748b9106325
1,689
py
Python
answers.py
Tskken/classification
83918a522eaa0f882464fc0c98dbbdc8a20f7467
[ "MIT" ]
null
null
null
answers.py
Tskken/classification
83918a522eaa0f882464fc0c98dbbdc8a20f7467
[ "MIT" ]
null
null
null
answers.py
Tskken/classification
83918a522eaa0f882464fc0c98dbbdc8a20f7467
[ "MIT" ]
null
null
null
"""Answer to Question 3 goes here. Author: Dylan Blanchard, Sloan Anderson, and Stephen Johnson Class: CSI-480-01 Assignment: PA 5 -- Supervised Learning Due Date: Nov 30, 2018 11:59 PM Certification of Authenticity: I certify that this is entirely my own work, except where I have given fully-documented references to...
42.225
78
0.769686
259
1,689
5.019305
0.590734
0.053846
0.036923
0.023077
0.032308
0
0
0
0
0
0
0.020423
0.159266
1,689
39
79
43.307692
0.89507
0.970397
0
0
0
0
0.026316
0
0
0
0
0.025641
0
1
0.5
true
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
1
1
0
0
0
0
0
0
4
e796cd0e82ff7259d676b4d6baae3afcd3cee738
62,580
py
Python
A_SHERIFS_CAD/lib/hm_visual/Participation_rates.py
fault2shaESCWG/CentralApenninesLabFAULT2RISK
362cbc8b8dda0c2b5ba1e0ef5c9144fb6acb2ed3
[ "BSD-3-Clause" ]
null
null
null
A_SHERIFS_CAD/lib/hm_visual/Participation_rates.py
fault2shaESCWG/CentralApenninesLabFAULT2RISK
362cbc8b8dda0c2b5ba1e0ef5c9144fb6acb2ed3
[ "BSD-3-Clause" ]
null
null
null
A_SHERIFS_CAD/lib/hm_visual/Participation_rates.py
fault2shaESCWG/CentralApenninesLabFAULT2RISK
362cbc8b8dda0c2b5ba1e0ef5c9144fb6acb2ed3
[ "BSD-3-Clause" ]
2
2020-10-30T16:39:30.000Z
2020-11-27T17:12:43.000Z
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """SHERIFS Seismic Hazard and Earthquake Rates In Fault Systems Version 1.0 @author: thomas """ import numpy as np import os import matplotlib.pyplot as plt from matplotlib.path import Path import matplotlib.patches as patches import xml.etree.ElementTree as ET import ...
62.894472
235
0.479786
8,079
62,580
3.381607
0.045922
0.045681
0.035578
0.027013
0.791837
0.743045
0.729832
0.704319
0.684883
0.66552
0
0.049767
0.369703
62,580
994
236
62.957746
0.642861
0.167322
0
0.553968
0
0
0.140858
0.040172
0.006349
0
0
0
0
1
0.009524
false
0
0.014286
0
0.030159
0.01746
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
e796eee6602913a59c89b070e74131654ed33809
615
py
Python
manage.py
morianemo/ecflow_django
4cf7341e5d02b428e8d008d7e2bb9a0546bda97e
[ "Apache-2.0" ]
1
2022-02-11T07:51:11.000Z
2022-02-11T07:51:11.000Z
manage.py
morianemo/ecflow_django
4cf7341e5d02b428e8d008d7e2bb9a0546bda97e
[ "Apache-2.0" ]
5
2020-02-17T20:39:22.000Z
2021-12-13T20:34:01.000Z
manage.py
morianemo/ecflow_django
4cf7341e5d02b428e8d008d7e2bb9a0546bda97e
[ "Apache-2.0" ]
1
2022-02-11T07:51:11.000Z
2022-02-11T07:51:11.000Z
#!/usr/bin/env python import os import sys import django if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "flow.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv) """ python manage.py supervisor --daemonize py...
21.964286
72
0.702439
83
615
4.963855
0.493976
0.116505
0.169903
0.174757
0
0
0
0
0
0
0
0.032854
0.20813
615
27
73
22.777778
0.813142
0.03252
0
0
0
0
0.174797
0.089431
0
0
0
0
0
1
0
true
0
0.571429
0
0.571429
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
1
0
1
0
1
0
0
4
e7c56676517084d0b372b89434490cc0d0029537
80
py
Python
helloflask/helloflask/static/__init__.py
omegaml/apps
5d4ad4b31b934363acaa29aed6f5a59e40d12fc7
[ "Apache-2.0" ]
null
null
null
helloflask/helloflask/static/__init__.py
omegaml/apps
5d4ad4b31b934363acaa29aed6f5a59e40d12fc7
[ "Apache-2.0" ]
1
2022-03-12T01:02:39.000Z
2022-03-12T01:02:39.000Z
helloflask/helloflask/templates/__init__.py
omegaml/apps
5d4ad4b31b934363acaa29aed6f5a59e40d12fc7
[ "Apache-2.0" ]
null
null
null
# placeholder to make setup(..., include_package_data=True) include this folder
40
79
0.7875
11
80
5.545455
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.1125
80
1
80
80
0.859155
0.9625
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
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
4
e7c5d37e0936fe67d0e7a21da90e8b585ced12a7
161
py
Python
venv/Scripts/django-admin.py
gting/HttpRunnerManager-master
2f1514da0dfbfe00556ac984471513cadd20c73f
[ "MIT" ]
null
null
null
venv/Scripts/django-admin.py
gting/HttpRunnerManager-master
2f1514da0dfbfe00556ac984471513cadd20c73f
[ "MIT" ]
null
null
null
venv/Scripts/django-admin.py
gting/HttpRunnerManager-master
2f1514da0dfbfe00556ac984471513cadd20c73f
[ "MIT" ]
null
null
null
#!D:\HttpRunnerManager-master\venv\Scripts\python3.exe from django.core import management if __name__ == "__main__": management.execute_from_command_line()
26.833333
54
0.795031
20
161
5.85
0.9
0
0
0
0
0
0
0
0
0
0
0.006849
0.093168
161
5
55
32.2
0.794521
0.329193
0
0
0
0
0.074766
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
e7da28e6cc9aed34fa6c8985bcf133c6180ef936
29
py
Python
scrapy_patterns/spiderlings/__init__.py
oliverdozsa/scrapy-patterns
52ec8b65edfc2046a189cbf437854bced2dd2ce4
[ "MIT" ]
2
2019-12-28T01:04:19.000Z
2019-12-29T07:18:13.000Z
scrapy_patterns/spiderlings/__init__.py
oliverdozsa/scrapy-patterns
52ec8b65edfc2046a189cbf437854bced2dd2ce4
[ "MIT" ]
3
2019-12-29T18:07:32.000Z
2020-04-04T20:26:28.000Z
scrapy_patterns/spiderlings/__init__.py
oliverdozsa/scrapy-patterns
52ec8b65edfc2046a189cbf437854bced2dd2ce4
[ "MIT" ]
1
2019-12-28T01:04:23.000Z
2019-12-28T01:04:23.000Z
""" Contains spiderlings. """
9.666667
21
0.655172
2
29
9.5
1
0
0
0
0
0
0
0
0
0
0
0
0.103448
29
3
22
9.666667
0.730769
0.724138
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
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
1
0
0
0
0
0
0
4
e7e18f58791a61196de568301ecbab96ce7ba39a
142
py
Python
utils/userinput.py
Nobodybe/HANDS
b853591f529444e162b944065e0ed36d8665d93c
[ "Apache-2.0" ]
null
null
null
utils/userinput.py
Nobodybe/HANDS
b853591f529444e162b944065e0ed36d8665d93c
[ "Apache-2.0" ]
null
null
null
utils/userinput.py
Nobodybe/HANDS
b853591f529444e162b944065e0ed36d8665d93c
[ "Apache-2.0" ]
1
2021-05-17T14:53:59.000Z
2021-05-17T14:53:59.000Z
from pymouse import PyMouse from pykeyboard import PyKeyboard import time k = PyKeyboard() m = PyMouse() time.sleep(5) k.tap_key(k.right_key)
17.75
33
0.78169
23
142
4.73913
0.521739
0.293578
0
0
0
0
0
0
0
0
0
0.008065
0.126761
142
7
34
20.285714
0.870968
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
1
0
0
0
0
4
99b516ce18fe8e2616ddcf449bf24be562f68fe7
12,059
py
Python
2021/day1.py
boisvert42/advent-of-code
3e146d95048bfe3b48e15b85e82a567905226813
[ "MIT" ]
1
2021-12-01T18:25:43.000Z
2021-12-01T18:25:43.000Z
2021/day1.py
boisvert42/advent-of-code
3e146d95048bfe3b48e15b85e82a567905226813
[ "MIT" ]
null
null
null
2021/day1.py
boisvert42/advent-of-code
3e146d95048bfe3b48e15b85e82a567905226813
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Nov 30 22:35:24 2021 @author: aboisvert """ #%% Part 1 """ As the submarine drops below the surface of the ocean, it automatically performs a sonar sweep of the nearby sea floor. On a small screen, the sonar sweep report (your puzzle input) appears: ea...
5.80597
350
0.773613
2,446
12,059
3.809076
0.674162
0.005152
0.003864
0.002576
0.00923
0
0
0
0
0
0
0.81352
0.212455
12,059
2,076
351
5.808767
0.167527
0.009702
0
0.458911
0
0
0.955919
0
0
1
0
0
0
1
0
false
0
0
0
0
0.00099
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
4
99b85f49f23084afac47f925be35e4533571ccd5
70
py
Python
stubs/six/__init__.py
jcollado/rabbithole
fdddde25a3c8f1e2f78bdeedcb3fc282a92c36d2
[ "MIT" ]
1
2018-07-13T22:29:35.000Z
2018-07-13T22:29:35.000Z
stubs/six/__init__.py
jcollado/rabbithole
fdddde25a3c8f1e2f78bdeedcb3fc282a92c36d2
[ "MIT" ]
274
2016-11-25T00:58:22.000Z
2021-11-15T17:47:17.000Z
stubs/six/__init__.py
jcollado/rabbithole
fdddde25a3c8f1e2f78bdeedcb3fc282a92c36d2
[ "MIT" ]
null
null
null
def iteritems(dictonary): pass class StringIO(object): pass
10
25
0.685714
8
70
6
0.875
0
0
0
0
0
0
0
0
0
0
0
0.228571
70
6
26
11.666667
0.888889
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0.25
false
0.5
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
1
0
0
0
0
0
4
99e8ee8b3d1140ebaeed07c6cd92bbbbe18757b5
142
py
Python
Mundo01/Python/aula10-031.py
molonti/CursoemVideo---Python
4f6a7af648f7f619d11e95fa3dc7a33b28fcfa11
[ "MIT" ]
null
null
null
Mundo01/Python/aula10-031.py
molonti/CursoemVideo---Python
4f6a7af648f7f619d11e95fa3dc7a33b28fcfa11
[ "MIT" ]
null
null
null
Mundo01/Python/aula10-031.py
molonti/CursoemVideo---Python
4f6a7af648f7f619d11e95fa3dc7a33b28fcfa11
[ "MIT" ]
null
null
null
dis = int(input('Qual a Distância da Viagem: ')) if dis>=200: print(f'Vocâ pagará {dis*0.45}') else: print(f'Vocâ pagará {dis*0.50}')
23.666667
48
0.626761
26
142
3.423077
0.692308
0.134831
0.224719
0.359551
0.449438
0.449438
0
0
0
0
0
0.076923
0.176056
142
5
49
28.4
0.683761
0
0
0
0
0
0.507042
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
1
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
4
8206987696c19a02d7b194876609090f0d950a90
44,620
py
Python
pysnmp_mibs/IP-FORWARD-MIB.py
jackjack821/pysnmp-mibs
9835ea0bb2420715caf4ee9aaa07d59bb263acd6
[ "BSD-2-Clause" ]
6
2017-04-21T13:48:08.000Z
2022-01-06T19:42:52.000Z
pysnmp_mibs/IP-FORWARD-MIB.py
jackjack821/pysnmp-mibs
9835ea0bb2420715caf4ee9aaa07d59bb263acd6
[ "BSD-2-Clause" ]
1
2020-05-05T16:42:25.000Z
2020-05-05T16:42:25.000Z
pysnmp_mibs/IP-FORWARD-MIB.py
jackjack821/pysnmp-mibs
9835ea0bb2420715caf4ee9aaa07d59bb263acd6
[ "BSD-2-Clause" ]
6
2020-02-08T20:28:49.000Z
2021-09-14T13:36:46.000Z
# # PySNMP MIB module IP-FORWARD-MIB (http://pysnmp.sf.net) # ASN.1 source http://mibs.snmplabs.com:80/asn1/IP-FORWARD-MIB # Produced by pysmi-0.0.7 at Sun Feb 14 00:17:45 2016 # On host bldfarm platform Linux version 4.1.13-100.fc21.x86_64 by user goose # Using Python version 3.5.0 (default, Jan 5 2016, 17:11:52) # ...
284.203822
2,709
0.663312
5,575
44,620
5.308341
0.11139
0.005812
0.007096
0.009326
0.570487
0.532912
0.508481
0.497263
0.467156
0.460059
0
0.046025
0.230143
44,620
156
2,710
286.025641
0.815493
0.006813
0
0
0
0.38255
0.6241
0.016453
0
0
0
0
0
1
0
false
0
0.067114
0
0.067114
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
82085fa23cf14d32be7fb8226beba3c6f462d6de
182
py
Python
ocean_provider/exceptions.py
mariacarmina/provider
7b757a0255c1337ecf4a092c4c461654f60a666c
[ "Apache-2.0" ]
null
null
null
ocean_provider/exceptions.py
mariacarmina/provider
7b757a0255c1337ecf4a092c4c461654f60a666c
[ "Apache-2.0" ]
null
null
null
ocean_provider/exceptions.py
mariacarmina/provider
7b757a0255c1337ecf4a092c4c461654f60a666c
[ "Apache-2.0" ]
null
null
null
class InvalidSignatureError(Exception): """ User signature is not valid.""" class BadRequestError(Exception): """ Indicates a malformed request or missing parameters."""
20.222222
63
0.725275
18
182
7.333333
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.164835
182
8
64
22.75
0.868421
0.445055
0
0
0
0
0
0
0
0
0
0
0
1
0
true
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
1
0
0
0
1
0
0
4
822a325d815f65888dc5191687145c941033e331
83
py
Python
test/test__name__main__.py
BriteLight/sandbox
bf45ccf2dc649043a501e3752f836725ff0baf5e
[ "Unlicense" ]
null
null
null
test/test__name__main__.py
BriteLight/sandbox
bf45ccf2dc649043a501e3752f836725ff0baf5e
[ "Unlicense" ]
null
null
null
test/test__name__main__.py
BriteLight/sandbox
bf45ccf2dc649043a501e3752f836725ff0baf5e
[ "Unlicense" ]
null
null
null
def multi(a,b): return a*b if __name__ == '__main__': print(multi(2,3))
10.375
26
0.578313
14
83
2.857143
0.785714
0.1
0
0
0
0
0
0
0
0
0
0.031746
0.240964
83
7
27
11.857143
0.603175
0
0
0
0
0
0.097561
0
0
0
0
0
0
1
0.25
false
0
0
0.25
0.5
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
4
41422fccfc1186c89970ecea8060f0ef9cf79de4
376
py
Python
biodb/api/views/__init__.py
juby-gif/BiodB-back
1e126e329dc97c020033354e6bd2ea0d9264bf8f
[ "BSD-3-Clause" ]
null
null
null
biodb/api/views/__init__.py
juby-gif/BiodB-back
1e126e329dc97c020033354e6bd2ea0d9264bf8f
[ "BSD-3-Clause" ]
null
null
null
biodb/api/views/__init__.py
juby-gif/BiodB-back
1e126e329dc97c020033354e6bd2ea0d9264bf8f
[ "BSD-3-Clause" ]
null
null
null
from api.views.gateway.views import RegisterAPI, LogoutAPI from api.views.uploads.views import AppleHealthKitListUploadAPI,AppleHealthKitUploadAPI,AppleHealthKitV2UploadAPI from api.views.dashboard.views import AppleHealthKitListDataAPI,TimeSeriesDataStatisticsAPI,TimeSeriesDataFilteredAPI from api.views.user_profile.v...
75.2
117
0.906915
35
376
9.714286
0.542857
0.082353
0.141176
0
0
0
0
0
0
0
0
0.002786
0.045213
376
4
118
94
0.94429
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
415c9eb8da865828b152c94aa325fd2dba68b129
142
py
Python
produto/templatestags/filtros.py
SricardoSdSouza/Sistema_Delivery
40425498b4a5c2bd3a174b1019e8c18827cf4142
[ "MIT" ]
1
2021-07-11T22:36:13.000Z
2021-07-11T22:36:13.000Z
produto/templatestags/filtros.py
SricardoSdSouza/Sistema_Delivery
40425498b4a5c2bd3a174b1019e8c18827cf4142
[ "MIT" ]
null
null
null
produto/templatestags/filtros.py
SricardoSdSouza/Sistema_Delivery
40425498b4a5c2bd3a174b1019e8c18827cf4142
[ "MIT" ]
null
null
null
from django import template register = template.Library() @register.filter(name='enumerate') def enumerat(valor): return enumerate(valor)
23.666667
34
0.774648
17
142
6.470588
0.764706
0
0
0
0
0
0
0
0
0
0
0
0.112676
142
6
35
23.666667
0.873016
0
0
0
0
0
0.062937
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
4
4194ef724b926a3193c7465471eaacbde6c2bd3e
89
py
Python
mirrors/apps.py
likeyiyy/mirrorweb
a1544fd76db4da6365caa820a4d4c4216835cd34
[ "Apache-2.0" ]
null
null
null
mirrors/apps.py
likeyiyy/mirrorweb
a1544fd76db4da6365caa820a4d4c4216835cd34
[ "Apache-2.0" ]
null
null
null
mirrors/apps.py
likeyiyy/mirrorweb
a1544fd76db4da6365caa820a4d4c4216835cd34
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class MirrorsConfig(AppConfig): name = 'mirrors'
14.833333
33
0.752809
10
89
6.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.168539
89
5
34
17.8
0.905405
0
0
0
0
0
0.078652
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
1
0
0
4
68e06f4fbcf5e9a949b2b02af9cbbf0d4e6e7826
428
py
Python
l0bnb/relaxation/__init__.py
hazimehh/l0bnb
37e9faed866c2eba3a68072a4545bc8362bff0e0
[ "MIT" ]
null
null
null
l0bnb/relaxation/__init__.py
hazimehh/l0bnb
37e9faed866c2eba3a68072a4545bc8362bff0e0
[ "MIT" ]
null
null
null
l0bnb/relaxation/__init__.py
hazimehh/l0bnb
37e9faed866c2eba3a68072a4545bc8362bff0e0
[ "MIT" ]
null
null
null
import warnings from numba.errors import NumbaDeprecationWarning, \ NumbaPendingDeprecationWarning, NumbaPerformanceWarning warnings.simplefilter('ignore', category=NumbaDeprecationWarning) warnings.simplefilter('ignore', category=NumbaPendingDeprecationWarning) warnings.simplefilter('ignore', category=NumbaPerfo...
32.923077
72
0.850467
39
428
9.307692
0.487179
0.165289
0.214876
0.280992
0
0
0
0
0
0
0
0.005102
0.084112
428
12
73
35.666667
0.920918
0
0
0
0
0
0.042056
0
0
0
0
0
0
1
0
true
0
0.555556
0
0.555556
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
68e1f5458f1b66726c67ad7d13ea67e5c2444e3a
3,842
py
Python
python/test_raytracing.py
troiwill/ray_tracing
200a41557eaa04f5e1daddf7e2a75d8060c270e4
[ "MIT" ]
3
2021-03-06T08:48:42.000Z
2022-01-10T01:42:28.000Z
python/test_raytracing.py
troiwill/ray_tracing
200a41557eaa04f5e1daddf7e2a75d8060c270e4
[ "MIT" ]
4
2019-08-26T13:15:53.000Z
2021-12-18T18:33:27.000Z
python/test_raytracing.py
troiwill/ray_tracing
200a41557eaa04f5e1daddf7e2a75d8060c270e4
[ "MIT" ]
1
2021-05-31T14:45:02.000Z
2021-05-31T14:45:02.000Z
#!/usr/bin/env python import numpy as np import pytest import raytracing as rt def test_ray_penetrates_grid_1d_pos_x(): start = np.array([[-1.23]]) end = np.array([[6.78]]) shape = np.array([5]) size = np.array([0.45]) map_gt = rt.gridmap(shape, size) map_gt.misses[:5] = 1 map = rt....
21.226519
56
0.567153
655
3,842
3.140458
0.114504
0.092368
0.136121
0.175012
0.78561
0.733593
0.703452
0.654351
0.639281
0.606223
0
0.084798
0.244925
3,842
180
57
21.344444
0.624267
0.005206
0
0.467213
0
0
0.002094
0
0
0
0
0
0.081967
1
0.081967
false
0
0.02459
0
0.106557
0
0
0
0
null
0
0
1
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
68e77d108a7a2bee88503ecddf1919311196b584
178
py
Python
strack_connect/config/strack_error.py
zuokangbo/strack-connect
8dff543d118ee827d1c5b96f749cf43121fd8cfb
[ "Apache-2.0" ]
null
null
null
strack_connect/config/strack_error.py
zuokangbo/strack-connect
8dff543d118ee827d1c5b96f749cf43121fd8cfb
[ "Apache-2.0" ]
null
null
null
strack_connect/config/strack_error.py
zuokangbo/strack-connect
8dff543d118ee827d1c5b96f749cf43121fd8cfb
[ "Apache-2.0" ]
2
2022-01-04T09:22:37.000Z
2022-03-20T19:56:18.000Z
# :coding: utf-8 # :copyright: Copyright (c) 2021 strack class StrackError(RuntimeError): """ Custom error class. """ def __init__(self, arg): self.args = arg
17.8
39
0.629213
21
178
5.142857
0.809524
0
0
0
0
0
0
0
0
0
0
0.036496
0.230337
178
9
40
19.777778
0.751825
0.41573
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
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
1
0
0
4
ec1e4aa042407bcd6f980ea9d824a458ba588668
138
py
Python
test.py
Zuckonit/QPS
fba9b8e8bb4fc38c58c2a6ae2a3a64569aefc48d
[ "MIT" ]
1
2015-03-13T06:27:47.000Z
2015-03-13T06:27:47.000Z
test.py
Zuckonit/QPS
fba9b8e8bb4fc38c58c2a6ae2a3a64569aefc48d
[ "MIT" ]
null
null
null
test.py
Zuckonit/QPS
fba9b8e8bb4fc38c58c2a6ae2a3a64569aefc48d
[ "MIT" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 from qps import QPS def add(a, b): return a + b with QPS(1000, add, 1, 2) as qps: pass
12.545455
33
0.608696
27
138
3.111111
0.777778
0.047619
0
0
0
0
0
0
0
0
0
0.067961
0.253623
138
10
34
13.8
0.747573
0.26087
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0.2
0.2
0.2
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
1
0
0
4
ec4116a7c60e4d7be673bd15304979f80f77d1b8
598
py
Python
web/transiq/customer/views_booking.py
manibhushan05/transiq
763fafb271ce07d13ac8ce575f2fee653cf39343
[ "Apache-2.0" ]
null
null
null
web/transiq/customer/views_booking.py
manibhushan05/transiq
763fafb271ce07d13ac8ce575f2fee653cf39343
[ "Apache-2.0" ]
14
2020-06-05T23:06:45.000Z
2022-03-12T00:00:18.000Z
web/transiq/customer/views_booking.py
manibhushan05/transiq
763fafb271ce07d13ac8ce575f2fee653cf39343
[ "Apache-2.0" ]
null
null
null
from api.decorators import api_post from customer.booking_helper import do_booking_vendor_request, do_booking_save, do_add_vendor, do_delete_vendor from customer.decorators import authenticated_user @api_post @authenticated_user def booking_vendor_request(request): return do_booking_vendor_request(request) @api...
20.62069
111
0.83612
84
598
5.547619
0.214286
0.195279
0.171674
0.206009
0.306867
0.306867
0
0
0
0
0
0
0.107023
598
28
112
21.357143
0.872659
0
0
0.421053
0
0
0
0
0
0
0
0
0
1
0.210526
false
0
0.157895
0.210526
0.578947
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
4
ec499e7ae67a8dabc5cda32aeaaffca332fed2be
319
py
Python
config.py
gkswjdzz/word_cloud
45e23ed498471e0aad73b60b71781aa0e3d6f1e1
[ "MIT" ]
1
2020-04-12T11:24:14.000Z
2020-04-12T11:24:14.000Z
config.py
gkswjdzz/word_cloud
45e23ed498471e0aad73b60b71781aa0e3d6f1e1
[ "MIT" ]
1
2020-03-18T06:53:15.000Z
2020-03-18T06:53:15.000Z
config.py
gkswjdzz/word_cloud
45e23ed498471e0aad73b60b71781aa0e3d6f1e1
[ "MIT" ]
null
null
null
class Config(object) : #DETECTRON_URL = 'http://localhost/predictions' DETECTRON_URL = 'https://master-ainized-detectron2-gkswjdzz.endpoint.ainize.ai/predictions' #STANFORDNLP_URL = 'http://localhost:81/analyze' STANFORDNLP_URL = 'https://master-ainized-stanfordnlp-gkswjdzz.endpoint.ainize.ai/analyze'
53.166667
95
0.758621
36
319
6.611111
0.527778
0.10084
0.134454
0.176471
0
0
0
0
0
0
0
0.010417
0.097179
319
5
96
63.8
0.815972
0.291536
0
0
0
0
0.638393
0
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
4
6ba473384b79dd196101b1500a8cb241b57336b8
1,965
py
Python
utils/boilerplate/test_ox.py
cfginn/sap-simulation-package
73314e5380cec5c61a9fe5ff5fbafa25b9e2beac
[ "MIT" ]
null
null
null
utils/boilerplate/test_ox.py
cfginn/sap-simulation-package
73314e5380cec5c61a9fe5ff5fbafa25b9e2beac
[ "MIT" ]
null
null
null
utils/boilerplate/test_ox.py
cfginn/sap-simulation-package
73314e5380cec5c61a9fe5ff5fbafa25b9e2beac
[ "MIT" ]
null
null
null
import unittest from pysapets.ox import Ox from pysapets.animal import Animal import pysapets.constants as constants from unittest.mock import patch from io import StringIO from copy import deepcopy class OxTest(unittest.TestCase): def setUp(self): self.ox = Ox() self.friends = [self.ox, Animal(2, 2), Anim...
29.328358
91
0.725191
294
1,965
4.680272
0.214286
0.061047
0.036337
0.083576
0.518895
0.441134
0.298692
0.12718
0.081395
0.05814
0
0.016928
0.188295
1,965
67
92
29.328358
0.845768
0.242239
0
0.205128
0
0
0
0
0
0
0
0.014925
0.230769
1
0.333333
false
0.102564
0.179487
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
1
0
0
4
6bab4997522cb5b5ede35439faba7950d984bd5f
45
py
Python
Flask-todolist-Sqlite3-master/venv/lib/python3.6/hmac.py
IncredibleDraco/MyScholar
272aafa33f7227d1bc0d937d046788cbabede453
[ "Apache-2.0" ]
null
null
null
Flask-todolist-Sqlite3-master/venv/lib/python3.6/hmac.py
IncredibleDraco/MyScholar
272aafa33f7227d1bc0d937d046788cbabede453
[ "Apache-2.0" ]
null
null
null
Flask-todolist-Sqlite3-master/venv/lib/python3.6/hmac.py
IncredibleDraco/MyScholar
272aafa33f7227d1bc0d937d046788cbabede453
[ "Apache-2.0" ]
1
2019-11-25T10:25:21.000Z
2019-11-25T10:25:21.000Z
/home/sheldon/anaconda3/lib/python3.6/hmac.py
45
45
0.822222
8
45
4.625
1
0
0
0
0
0
0
0
0
0
0
0.066667
0
45
1
45
45
0.755556
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
4
6bb3371c6c89480d900704a9a862879d1de374b3
107
py
Python
INF101/TP/TP1/2.1.2.py
Marshellson/UGA_IMF
eb293deabcc5ef6e45617d8c5bb6268b63b34f21
[ "MIT" ]
1
2021-09-21T21:53:17.000Z
2021-09-21T21:53:17.000Z
INF101/TP/TP1/2.1.2.py
Marshellson/UGA_INF
eb293deabcc5ef6e45617d8c5bb6268b63b34f21
[ "MIT" ]
null
null
null
INF101/TP/TP1/2.1.2.py
Marshellson/UGA_INF
eb293deabcc5ef6e45617d8c5bb6268b63b34f21
[ "MIT" ]
null
null
null
print("Premier programme") nom = input("Donnez votre nom : ") print("Bonjour %s, comment vas-tu? " % nom)
21.4
43
0.663551
15
107
4.733333
0.8
0
0
0
0
0
0
0
0
0
0
0
0.158879
107
4
44
26.75
0.788889
0
0
0
0
0
0.603774
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
4
6bba14d12f21cdb973c99d3cb027c91f1c037281
217
py
Python
watson_bots_communicator/__init__.py
cesarbruschetta/bot_telegran_watson
803750ace6641a56c108ed26e8320cfcca0869c8
[ "Apache-2.0" ]
null
null
null
watson_bots_communicator/__init__.py
cesarbruschetta/bot_telegran_watson
803750ace6641a56c108ed26e8320cfcca0869c8
[ "Apache-2.0" ]
null
null
null
watson_bots_communicator/__init__.py
cesarbruschetta/bot_telegran_watson
803750ace6641a56c108ed26e8320cfcca0869c8
[ "Apache-2.0" ]
null
null
null
from os import sys, path if __name__ == '__main__' and __package__ is None: sys.path.append(path.dirname(path.dirname(path.abspath(__file__)))) from watson_bots_communicator.processor import main main()
27.125
71
0.746544
30
217
4.8
0.666667
0.097222
0.208333
0
0
0
0
0
0
0
0
0
0.152074
217
7
72
31
0.782609
0
0
0
0
0
0.036866
0
0
0
0
0
0
1
0
true
0
0.4
0
0.4
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
6be3c955ce224ecbe8a509961ec94c87082c5939
15,844
py
Python
tests/test_azure_2_sas.py
OLC-LOC-Bioinformatics/AzureStorage
ac4dbd83e307a5b8d3fd3b77103ec837b821c564
[ "MIT" ]
null
null
null
tests/test_azure_2_sas.py
OLC-LOC-Bioinformatics/AzureStorage
ac4dbd83e307a5b8d3fd3b77103ec837b821c564
[ "MIT" ]
null
null
null
tests/test_azure_2_sas.py
OLC-LOC-Bioinformatics/AzureStorage
ac4dbd83e307a5b8d3fd3b77103ec837b821c564
[ "MIT" ]
null
null
null
from azure_storage.methods import extract_account_name, sas_prep, write_sas from azure_storage.azure_sas import AzureContainerSAS, AzureSAS, cli, container_sas, file_sas, folder_sas from unittest.mock import patch import argparse import pathlib import pytest import os @pytest.fixture(name='variables', scope=...
48.304878
119
0.546011
1,447
15,844
5.670352
0.085695
0.087751
0.067032
0.063985
0.795491
0.720658
0.710786
0.69153
0.671298
0.641926
0
0.007991
0.376041
15,844
327
120
48.452599
0.82197
0.00587
0
0.652015
0
0
0.101025
0.041045
0
0
0
0
0.047619
1
0.098901
false
0.058608
0.025641
0
0.135531
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
4
6bfdc4352f7391d8dc960603f34dc993b5664c14
160
py
Python
tests/__init__.py
uTest/appthwack-python
ba6872a63a03d3aca5ac538dd0bf3dcc641d67b3
[ "MIT" ]
null
null
null
tests/__init__.py
uTest/appthwack-python
ba6872a63a03d3aca5ac538dd0bf3dcc641d67b3
[ "MIT" ]
null
null
null
tests/__init__.py
uTest/appthwack-python
ba6872a63a03d3aca5ac538dd0bf3dcc641d67b3
[ "MIT" ]
1
2020-04-28T11:46:17.000Z
2020-04-28T11:46:17.000Z
""" appthwack.tests ~~~~~~~~~~~~~~~ Package which contains tests for the AppThwack client. """ __author__ = 'Andrew Hawker <andrew@appthwack.com>'
20
58
0.625
16
160
6
0.75
0
0
0
0
0
0
0
0
0
0
0
0.1875
160
7
59
22.857143
0.738462
0.54375
0
0
0
0
0.679245
0.415094
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
d40fc2fbf0f1bb11fa294941e284a9a49933924a
497
py
Python
metaopt/concurrent/worker/thread.py
cigroup-ol/metaopt
6dfd5105d3c6eaf00f96670175cae16021069514
[ "BSD-3-Clause" ]
8
2015-02-02T21:42:23.000Z
2019-06-30T18:12:43.000Z
metaopt/concurrent/worker/thread.py
cigroup-ol/metaopt
6dfd5105d3c6eaf00f96670175cae16021069514
[ "BSD-3-Clause" ]
4
2015-09-24T14:12:38.000Z
2021-12-08T22:42:52.000Z
metaopt/concurrent/worker/thread.py
cigroup-ol/metaopt
6dfd5105d3c6eaf00f96670175cae16021069514
[ "BSD-3-Clause" ]
6
2015-02-27T12:35:33.000Z
2020-10-15T21:04:02.000Z
# -*- coding: utf-8 -*- """ Worker implementation that executes objective functions in Python threads. """ # Future from __future__ import absolute_import, division, print_function, \ unicode_literals, with_statement # Standard Library from threading import Thread # First Party from metaopt.worker.worker import W...
21.608696
78
0.736419
56
497
6.321429
0.642857
0.112994
0.135593
0.180791
0.367232
0.367232
0.367232
0.367232
0.367232
0
0
0.002463
0.183099
497
22
79
22.590909
0.869458
0.418511
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0.142857
0.428571
0
0.714286
0.142857
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
1
0
1
0
0
4
d477e02cd5f88311d8ce8e85d18cee9ce5e8289e
868
py
Python
scenario_builder/builder/compose_runner.py
ameserole/Forensic-Scenario-Builder
d700f2453cdf8dbf87cdfad5ee53c0a467163186
[ "MIT" ]
null
null
null
scenario_builder/builder/compose_runner.py
ameserole/Forensic-Scenario-Builder
d700f2453cdf8dbf87cdfad5ee53c0a467163186
[ "MIT" ]
17
2018-05-07T14:56:55.000Z
2018-05-16T15:16:35.000Z
scenario_builder/builder/compose_runner.py
ameserole/Forensic-Scenario-Builder
d700f2453cdf8dbf87cdfad5ee53c0a467163186
[ "MIT" ]
null
null
null
from .. import utils class ComposeRunner: """ Wrapper class for running docker-compose commnads """ def __init__(self): pass def build(self): cmd = ['docker-compose'] cmd.append('build') utils.run_cmd(cmd) def up(self, detach=False): cmd = ['docker-com...
20.666667
53
0.529954
101
868
4.455446
0.287129
0.202222
0.213333
0.186667
0.502222
0.257778
0
0
0
0
0
0
0.326037
868
41
54
21.170732
0.769231
0.056452
0
0.4
0
0
0.141968
0
0
0
0
0
0
1
0.233333
false
0.033333
0.033333
0
0.3
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
1
0
0
0
0
0
0
0
4
d483922a7f150605be33959997d1bd486a3f0bc4
55
py
Python
Flask/Flask.py
96486d9b/jianshu
b7c50b0c5bbfd09810177cf7f561e6d04da3d8c6
[ "Apache-2.0" ]
3
2018-01-25T10:34:11.000Z
2018-12-27T09:04:23.000Z
Flask/Flask.py
ttcqaq/jianshu
b7c50b0c5bbfd09810177cf7f561e6d04da3d8c6
[ "Apache-2.0" ]
null
null
null
Flask/Flask.py
ttcqaq/jianshu
b7c50b0c5bbfd09810177cf7f561e6d04da3d8c6
[ "Apache-2.0" ]
1
2018-09-11T00:04:47.000Z
2018-09-11T00:04:47.000Z
from app import app app.run(port=8000, host='0.0.0.0')
18.333333
34
0.690909
13
55
2.923077
0.615385
0.157895
0.157895
0
0
0
0
0
0
0
0
0.163265
0.109091
55
3
34
18.333333
0.612245
0
0
0
0
0
0.125
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
d4867a9a9b6dd0cfadcdb744ffc21ab3a658a958
88
py
Python
code/__init__.py
akimaleo/raspberry-PiLight
7e22db065c05e42f02944a89c9c3f5643c748b78
[ "MIT" ]
null
null
null
code/__init__.py
akimaleo/raspberry-PiLight
7e22db065c05e42f02944a89c9c3f5643c748b78
[ "MIT" ]
null
null
null
code/__init__.py
akimaleo/raspberry-PiLight
7e22db065c05e42f02944a89c9c3f5643c748b78
[ "MIT" ]
null
null
null
import bl_ import lighton if __name__ == '__main__': bl_.init() lighton.main()
12.571429
26
0.659091
11
88
4.363636
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.215909
88
6
27
14.666667
0.695652
0
0
0
0
0
0.090909
0
0
0
0
0
0
1
0
true
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
1
0
1
0
0
0
0
4
2e1b32b97221c922f6cfcf11cc4df270f1f82741
89
py
Python
aiomatrix/dispatcher/storage/internal_data/models/internal_data_pair.py
Forden/aiomatrix
d258076bae8eb776495b92be46ee9f4baec8d9a6
[ "MIT" ]
2
2021-10-29T18:07:08.000Z
2021-11-19T00:25:43.000Z
aiomatrix/dispatcher/storage/internal_data/models/internal_data_pair.py
Forden/aiomatrix
d258076bae8eb776495b92be46ee9f4baec8d9a6
[ "MIT" ]
1
2022-03-06T11:17:43.000Z
2022-03-06T11:17:43.000Z
aiomatrix/dispatcher/storage/internal_data/models/internal_data_pair.py
Forden/aiomatrix
d258076bae8eb776495b92be46ee9f4baec8d9a6
[ "MIT" ]
null
null
null
import pydantic class InternalDataPair(pydantic.BaseModel): key: str data: str
12.714286
43
0.730337
10
89
6.5
0.8
0
0
0
0
0
0
0
0
0
0
0
0.202247
89
6
44
14.833333
0.915493
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
4
2e3f72361f861bfd710235d3a5d39f37ff2ee968
751
py
Python
bbc/apps/accounts/migrations/0002_auto_20171006_1044.py
blopker/bluebutton-sample-client-django
92bc221016d7ab3eed995bf2a8b3256f706f18c2
[ "Apache-2.0" ]
4
2017-12-06T07:34:17.000Z
2018-12-17T19:33:16.000Z
bbc/apps/accounts/migrations/0002_auto_20171006_1044.py
blopker/bluebutton-sample-client-django
92bc221016d7ab3eed995bf2a8b3256f706f18c2
[ "Apache-2.0" ]
7
2018-02-11T06:06:17.000Z
2019-04-08T14:40:10.000Z
bbc/apps/accounts/migrations/0002_auto_20171006_1044.py
blopker/bluebutton-sample-client-django
92bc221016d7ab3eed995bf2a8b3256f706f18c2
[ "Apache-2.0" ]
6
2018-02-22T22:19:41.000Z
2021-04-13T20:25:57.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.5 on 2017-10-06 10:44 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('accounts', '0001_initial'), ] operations = [ migrations.RemoveField( mo...
23.46875
48
0.573901
69
751
6
0.550725
0.202899
0.251208
0.289855
0.5
0.5
0.391304
0.391304
0
0
0
0.040936
0.316911
751
31
49
24.225806
0.766082
0.090546
0
0.5
1
0
0.186765
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.208333
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
2e6b7a2cabb2d47b1045ddb290c9ef42d0d2b556
95
py
Python
snac/main.py
eric-lee-wise/SNAC
3529e404dd3fdf17c3a48df54523407bbdf1e84d
[ "MIT" ]
null
null
null
snac/main.py
eric-lee-wise/SNAC
3529e404dd3fdf17c3a48df54523407bbdf1e84d
[ "MIT" ]
null
null
null
snac/main.py
eric-lee-wise/SNAC
3529e404dd3fdf17c3a48df54523407bbdf1e84d
[ "MIT" ]
null
null
null
from SitePinger import SitePinger google_site = SitePinger("www.google.com") google_site.run()
23.75
42
0.810526
13
95
5.769231
0.615385
0.266667
0
0
0
0
0
0
0
0
0
0
0.084211
95
4
43
23.75
0.862069
0
0
0
0
0
0.145833
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
0
0
4
2e76a8afd2e9684f8f5e2381a2889acb2b1df563
1,526
py
Python
tests/conftest.py
paloth/aws-accesskey-manager
46c420621063e314b3455ccf0a31a8c6954f251c
[ "MIT" ]
1
2020-08-12T11:27:37.000Z
2020-08-12T11:27:37.000Z
tests/conftest.py
paloth/aws-accesskey-manager
46c420621063e314b3455ccf0a31a8c6954f251c
[ "MIT" ]
5
2020-06-24T12:50:47.000Z
2020-08-11T13:49:25.000Z
tests/conftest.py
paloth/aws-accesskey-manager
46c420621063e314b3455ccf0a31a8c6954f251c
[ "MIT" ]
null
null
null
from pytest import fixture from datetime import datetime from dateutil.tz import tzutc @fixture() def fake_profile(): return "[test]\n" + "aws_access_key_id = AKEXAMPLE\n" + "aws_secret_access_key = SKEXAMPLE" @fixture() def fake_config(): return {"test": {"aws_access_key_id": "", "aws_secret_ac...
25.864407
121
0.664482
166
1,526
5.855422
0.409639
0.113169
0.040123
0.049383
0.234568
0.139918
0.102881
0.102881
0.102881
0
0
0.042254
0.162516
1,526
58
122
26.310345
0.71831
0
0
0.361111
0
0
0.3297
0.043597
0
0
0
0
0
1
0.305556
true
0
0.083333
0.305556
0.694444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
1
0
0
4
2e8cf3d0b9ecc8d6fd5094f8377b58aa49c46888
118
py
Python
tasks.py
santhoshbhumireddy/nbviewer
3247939c92876db015b6ac3e98f1a29cce21bb6b
[ "BSD-3-Clause-Clear", "Apache-2.0" ]
1
2015-09-07T22:00:04.000Z
2015-09-07T22:00:04.000Z
tasks.py
Parsely/nbviewer
18a58efffe8392d71ec043f74458d4963ec707f5
[ "BSD-3-Clause-Clear", "Apache-2.0" ]
null
null
null
tasks.py
Parsely/nbviewer
18a58efffe8392d71ec043f74458d4963ec707f5
[ "BSD-3-Clause-Clear", "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import invoke @invoke.task def test(): invoke.run("nosetests -v")
13.111111
30
0.618644
17
118
4.294118
0.882353
0
0
0
0
0
0
0
0
0
0
0.010204
0.169492
118
8
31
14.75
0.734694
0.355932
0
0
0
0
0.162162
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
4
5cef7766a5d037d36aa8f122a7b29b450c774618
4,686
py
Python
resources/2020/TSGCTF2020/modulus-amittendus/solve.py
S3v3ru5/S3v3ru5.github.io
c40ee77a722b1a9ca3ce669a3b692b141d1c19ff
[ "MIT" ]
2
2020-08-11T19:01:45.000Z
2021-07-03T17:36:04.000Z
resources/2020/TSGCTF2020/modulus-amittendus/solve.py
S3v3ru5/S3v3ru5.github.io
c40ee77a722b1a9ca3ce669a3b692b141d1c19ff
[ "MIT" ]
null
null
null
resources/2020/TSGCTF2020/modulus-amittendus/solve.py
S3v3ru5/S3v3ru5.github.io
c40ee77a722b1a9ca3ce669a3b692b141d1c19ff
[ "MIT" ]
1
2020-09-14T10:38:55.000Z
2020-09-14T10:38:55.000Z
from Crypto.Util.number import * from math import gcd import json ct = 17320751473362084127402636657144071375427833219607663443601124449781249403644322557541872089652267070211212915903557690040206709235417332498271540915493529128300376560226137139676145984352993170584208658625255938806836396696141456961179529532070976...
61.657895
939
0.869825
311
4,686
12.807074
0.315113
0.004017
0.004519
0.005021
0.109465
0.109465
0.104946
0.104946
0.104946
0.104946
0
0.711798
0.068502
4,686
75
940
62.48
0.200687
0.715109
0
0
0
0
0.031939
0
0
1
0
0
0.032258
1
0
false
0
0.096774
0
0.096774
0.096774
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
4
cf0b9b89ceb5214a8b032d89d0708d9b9ea82190
110
py
Python
src/sentdex/elif.py
mketiku/python-tutorials
57f05ed78d5391b0c551c7e064a1b2f4304a3c82
[ "MIT" ]
1
2022-03-30T00:22:21.000Z
2022-03-30T00:22:21.000Z
src/sentdex/elif.py
mketiku/python-tutorials
57f05ed78d5391b0c551c7e064a1b2f4304a3c82
[ "MIT" ]
null
null
null
src/sentdex/elif.py
mketiku/python-tutorials
57f05ed78d5391b0c551c7e064a1b2f4304a3c82
[ "MIT" ]
null
null
null
x = 5 y = 10 z = 22 if x > y : print ('x is greater than y') elif x < z : print (' x is lesser than z')
12.222222
30
0.518182
24
110
2.375
0.541667
0.210526
0.280702
0
0
0
0
0
0
0
0
0.069444
0.345455
110
8
31
13.75
0.722222
0
0
0
0
0
0.345455
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
cf170db9e5e32cbb3beafae6c32485457137d559
595
py
Python
workerInfra/domain/__init__.py
jtom38/newsbot.worker
6f5d93c474d21542f1af20e3b2537f26e2bcbbc3
[ "MIT" ]
1
2021-09-23T16:19:46.000Z
2021-09-23T16:19:46.000Z
workerInfra/domain/__init__.py
jtom38/newsbot.worker
6f5d93c474d21542f1af20e3b2537f26e2bcbbc3
[ "MIT" ]
10
2021-09-26T05:53:11.000Z
2022-01-07T00:38:46.000Z
workerInfra/domain/__init__.py
jtom38/newsbot.worker
6f5d93c474d21542f1af20e3b2537f26e2bcbbc3
[ "MIT" ]
null
null
null
from .dbApiInterface import DbApiTableInterface # from .dbApiTableInterface import DbApiTableInterface from .cacheInterface import CacheInterface from .outputInterface import OutputInterface from .outputFormatterInterface import OutputFormatterInterface from .loggerInterface import LoggerInterface from .envReaderInterf...
45.769231
62
0.895798
48
595
11.104167
0.291667
0.093809
0.108818
0
0
0
0
0
0
0
0
0
0.082353
595
12
63
49.583333
0.97619
0.087395
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4