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
21812951d0b017a4781b3041983a12c340e42927
100
py
Python
__module__.py
noobprogammier/mitm-as
4291637869d5ca4adf35e2ce0fd829cd4c29d962
[ "Apache-2.0" ]
3
2021-07-23T16:24:53.000Z
2021-08-13T14:53:36.000Z
__module__.py
noobprogammier/mitm-as
4291637869d5ca4adf35e2ce0fd829cd4c29d962
[ "Apache-2.0" ]
null
null
null
__module__.py
noobprogammier/mitm-as
4291637869d5ca4adf35e2ce0fd829cd4c29d962
[ "Apache-2.0" ]
null
null
null
class options(): mitm = True sniffer = True srv_ = "192.168.0.100" port = 5777 gui = False
16.666667
24
0.61
15
100
4
0.933333
0
0
0
0
0
0
0
0
0
0
0.189189
0.26
100
6
25
16.666667
0.621622
0
0
0
0
0
0.135417
0
0
0
0
0
0
1
0
false
0
0
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
21b606b1398b56a6f4f0ed8b59f3a6e8fbcf3be5
224
py
Python
utils.py
nameofuser1/CartPole-openai
9406e6e024c47d87cd096a35989b52c2926881bb
[ "MIT" ]
null
null
null
utils.py
nameofuser1/CartPole-openai
9406e6e024c47d87cd096a35989b52c2926881bb
[ "MIT" ]
null
null
null
utils.py
nameofuser1/CartPole-openai
9406e6e024c47d87cd096a35989b52c2926881bb
[ "MIT" ]
null
null
null
class abstractstatic(staticmethod): __slots__ = () def __init__(self, function): super(abstractstatic, self).__init__(function) function.__isabstractmethod__ = True __isabstractmethod__ = True
22.4
54
0.705357
18
224
7.666667
0.611111
0.289855
0
0
0
0
0
0
0
0
0
0
0.209821
224
9
55
24.888889
0.779661
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
21b9f192a277662187d001e5439f01518fc94458
81
py
Python
creds.sample.py
capsuleman/dirtybiology-kiwi
2164182b097e584eafe2fdcad4b2ef9f24b8b190
[ "MIT" ]
null
null
null
creds.sample.py
capsuleman/dirtybiology-kiwi
2164182b097e584eafe2fdcad4b2ef9f24b8b190
[ "MIT" ]
null
null
null
creds.sample.py
capsuleman/dirtybiology-kiwi
2164182b097e584eafe2fdcad4b2ef9f24b8b190
[ "MIT" ]
null
null
null
ACCOUNTS = [ { 'email': 'grrr', 'password': 'grrr', }, ]
11.571429
27
0.358025
5
81
5.8
0.8
0
0
0
0
0
0
0
0
0
0
0
0.419753
81
6
28
13.5
0.617021
0
0
0
0
0
0.259259
0
0
0
0
0
0
1
0
false
0.166667
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
21d67a9a98cc64be4a2720d5426c26106f490a6e
221
py
Python
examples/example_1_from_readme.py
fusion-energy/dagmc_geometry_slice_plotter
c9caf2bde932d466d54404fd6cf558dd403da670
[ "MIT" ]
null
null
null
examples/example_1_from_readme.py
fusion-energy/dagmc_geometry_slice_plotter
c9caf2bde932d466d54404fd6cf558dd403da670
[ "MIT" ]
12
2021-10-21T17:04:22.000Z
2022-03-07T10:10:06.000Z
examples/example_1_from_readme.py
fusion-energy/dagmc_geometry_slice_plotter
c9caf2bde932d466d54404fd6cf558dd403da670
[ "MIT" ]
1
2021-12-03T12:24:20.000Z
2021-12-03T12:24:20.000Z
from dagmc_geometry_slice_plotter import plot_slice_of_dagmc_geometry plot = plot_slice_of_dagmc_geometry( dagmc_file_or_trimesh_object="dagmc.h5m", plane_normal=[0, 0, 1], ) plot.savefig("example_1_slice.png")
24.555556
69
0.80543
35
221
4.571429
0.571429
0.24375
0.1375
0.2
0.3
0
0
0
0
0
0
0.025253
0.104072
221
8
70
27.625
0.782828
0
0
0
0
0
0.126697
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
21d8fdb5685f27ebda8b54bc5483d388eb60b861
10,296
py
Python
lru/heap.py
leofuxiaohui/lru-cache
7b52dfcac395ff71c3aa82fd0e8ae7afc331bb37
[ "MIT" ]
null
null
null
lru/heap.py
leofuxiaohui/lru-cache
7b52dfcac395ff71c3aa82fd0e8ae7afc331bb37
[ "MIT" ]
null
null
null
lru/heap.py
leofuxiaohui/lru-cache
7b52dfcac395ff71c3aa82fd0e8ae7afc331bb37
[ "MIT" ]
null
null
null
class Heap: """Base class for heap object.""" def __init__(self): """Initialize constructor for heap object.""" self.heap = [] def parent(self, index: int) -> int: return (index - 1) // 2 def left_child(self, index: int) -> int: return (2 * index) + 1 # pragma: no cove...
69.100671
3,519
0.4088
957
10,296
4.234065
0.089864
0.217177
0.136229
0.102172
0.753702
0.695212
0.665597
0.633514
0.574531
0.552567
0
0.007045
0.503691
10,296
149
3,520
69.100671
0.78591
0.066142
0
0.415094
0
0
0
0
0
0
0
0
0
1
0.179245
false
0
0
0.04717
0.462264
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
21e304757bf56a2435f9432ce32b7d2b2858afa5
83
py
Python
Day1/Day1-3.py
StevenBrehmer/100DaysOfCode
9ba65fe4141f305359c9e36687e67a077296860c
[ "MIT" ]
null
null
null
Day1/Day1-3.py
StevenBrehmer/100DaysOfCode
9ba65fe4141f305359c9e36687e67a077296860c
[ "MIT" ]
null
null
null
Day1/Day1-3.py
StevenBrehmer/100DaysOfCode
9ba65fe4141f305359c9e36687e67a077296860c
[ "MIT" ]
null
null
null
x = input("what is your name\n") print("Name has [" + str(len(x)) + "] Characters")
41.5
50
0.60241
14
83
3.571429
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.156627
83
2
50
41.5
0.714286
0
0
0
0
0
0.488095
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
21e8ea084fc7879afa757477d18b72322aab6de3
260
py
Python
samplernn_pase/__init__.py
davidalvarezdlt/samplernn_pase
b6c3b3fdaea244e17fb3113eaf5bb52e06fb7dc5
[ "MIT" ]
10
2020-02-02T04:11:46.000Z
2021-09-03T07:16:45.000Z
samplernn_pase/__init__.py
davidalvarezdlt/samplernn_pase
b6c3b3fdaea244e17fb3113eaf5bb52e06fb7dc5
[ "MIT" ]
1
2020-05-27T10:07:35.000Z
2020-05-27T10:07:35.000Z
samplernn_pase/__init__.py
davidalvarezdlt/samplernn_pase
b6c3b3fdaea244e17fb3113eaf5bb52e06fb7dc5
[ "MIT" ]
1
2020-10-27T16:06:33.000Z
2020-10-27T16:06:33.000Z
from .data import SampleRNNPASEData from .dataset import SampleRNNPASEDataset from .loader import SampleRNNPASELoader from .model import SampleRNNModel __all__ = [ 'SampleRNNPASEData', 'SampleRNNPASEDataset', 'SampleRNNPASELoader', 'SampleRNNModel' ]
26
71
0.803846
21
260
9.761905
0.52381
0
0
0
0
0
0
0
0
0
0
0
0.126923
260
9
72
28.888889
0.903084
0
0
0
0
0
0.269231
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
21e90d96c552d5595219ad639b1ed289bc1b0463
770
py
Python
app/models/OrgModel.py
leossoaress/isystems-challenge
7caf9181183ec061d385f5333ea018163ea4903a
[ "MIT" ]
null
null
null
app/models/OrgModel.py
leossoaress/isystems-challenge
7caf9181183ec061d385f5333ea018163ea4903a
[ "MIT" ]
null
null
null
app/models/OrgModel.py
leossoaress/isystems-challenge
7caf9181183ec061d385f5333ea018163ea4903a
[ "MIT" ]
null
null
null
import datetime from app.models import db, bcrypt class OrgModel(db.Model): __tablename__ = "org" id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String(256), nullable=False) createdAt = db.Column(db.DateTime) updatedAt = db.Column(db.DateTime) users = db.relationship("UserModel", second...
24.0625
59
0.674026
99
770
5.111111
0.484848
0.063241
0.079051
0.071146
0
0
0
0
0
0
0
0.004808
0.18961
770
32
60
24.0625
0.80609
0
0
0.083333
0
0
0.040208
0
0
0
0
0
0
1
0.208333
false
0
0.083333
0.125
0.708333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
21f4c99d97405f1b0a821904f059c4b0f077ff45
121
py
Python
11_return_statement.py
HeyItsFelipe/python_tutorial
aa989a0ead7d1a1637d5d93cc634a871e087c482
[ "MIT" ]
null
null
null
11_return_statement.py
HeyItsFelipe/python_tutorial
aa989a0ead7d1a1637d5d93cc634a871e087c482
[ "MIT" ]
null
null
null
11_return_statement.py
HeyItsFelipe/python_tutorial
aa989a0ead7d1a1637d5d93cc634a871e087c482
[ "MIT" ]
null
null
null
######## Return Statement ######## def cube(num): return num*num*num print(cube(3)) result = cube(4) print(result)
13.444444
34
0.595041
17
121
4.235294
0.529412
0.166667
0
0
0
0
0
0
0
0
0
0.019608
0.157025
121
9
35
13.444444
0.686275
0.132231
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0.2
0.4
0.4
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
0
0
0
3
df01b0cc88c5ab607948c7ef679be1c19e943212
1,753
py
Python
mediaserver/upload.py
bwksoftware/cypetulip
4ea5c56d2d48a311220e144d094280a275109316
[ "MIT" ]
3
2019-08-03T12:00:22.000Z
2020-02-02T08:37:09.000Z
mediaserver/upload.py
basetwode/cypetulip
d6be294a288706c5661afb433215fe6c3ffea92b
[ "MIT" ]
47
2019-08-03T16:17:41.000Z
2022-03-11T23:15:48.000Z
mediaserver/upload.py
basetwode/cypetulip
d6be294a288706c5661afb433215fe6c3ffea92b
[ "MIT" ]
null
null
null
import hashlib import os import random import secrets import time from django.core.files.storage import FileSystemStorage from home import settings __author__ = '' fs = FileSystemStorage(location=settings.MEDIA_ROOT) def company_files_upload_handler(company, filename): return "company/{company_hash}/{file}"....
27.825397
106
0.727895
236
1,753
5.186441
0.334746
0.053922
0.088235
0.078431
0.170752
0.099673
0
0
0
0
0
0.037402
0.130633
1,753
62
107
28.274194
0.765748
0
0
0
0
0
0.10154
0.08899
0
0
0
0
0
1
0.243243
false
0
0.189189
0.135135
0.675676
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
df35d93de4c292fc2a20ea48dc83f021d49aa9d9
317
py
Python
LoggerApplication/DisplayFilter.py
mhalittokluoglu/Tools
82298082d60f1b2126a8d2eb7e19030fa3e78776
[ "MIT" ]
null
null
null
LoggerApplication/DisplayFilter.py
mhalittokluoglu/Tools
82298082d60f1b2126a8d2eb7e19030fa3e78776
[ "MIT" ]
null
null
null
LoggerApplication/DisplayFilter.py
mhalittokluoglu/Tools
82298082d60f1b2126a8d2eb7e19030fa3e78776
[ "MIT" ]
null
null
null
class DisplayFilter: def __init__(self): self.log_level_set = set() def Update_Filter(self, log_level_set): self.log_level_set = log_level_set def IsValidForFilter(self, log_message): if log_message.level in self.log_level_set: return True return False
22.642857
51
0.656151
42
317
4.547619
0.404762
0.183246
0.287958
0.314136
0
0
0
0
0
0
0
0
0.277603
317
13
52
24.384615
0.834061
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
df43e7ca317f910489f0ac0370e93fd909f061bf
849
py
Python
core/utils/image_urls.py
AndrewADev/open-oni
8a3a2564659eaf22b2bb3ad3be62504dfc151897
[ "Apache-2.0" ]
41
2015-10-12T15:27:35.000Z
2021-11-19T02:20:38.000Z
core/utils/image_urls.py
AndrewADev/open-oni
8a3a2564659eaf22b2bb3ad3be62504dfc151897
[ "Apache-2.0" ]
402
2015-07-23T21:17:57.000Z
2022-03-28T18:02:02.000Z
core/utils/image_urls.py
AndrewADev/open-oni
8a3a2564659eaf22b2bb3ad3be62504dfc151897
[ "Apache-2.0" ]
23
2016-01-20T16:45:44.000Z
2021-12-21T00:23:40.000Z
from django.conf import settings from django.utils.http import urlquote def thumb_image_url(page): return resize_url(page, settings.THUMBNAIL_WIDTH) def resize_url(page, size): return "%s/full/%d,/0/default.jpg" % (page_iiif_info_url(page), size) def specific_tile_url(page, w, h, x1, y1, x2, y2): w, h, ...
38.590909
89
0.664311
151
849
3.589404
0.430464
0.090406
0.04428
0.083026
0.214022
0.169742
0.114391
0.114391
0.114391
0
0
0.028944
0.186101
849
21
90
40.428571
0.755427
0.153121
0
0
0
0
0.099162
0.082402
0
0
0
0
0
1
0.266667
false
0
0.133333
0.133333
0.733333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
df5bf9f892d6c0a4234944bac1349d37396f94f5
31
py
Python
services/kubernetes/helper.py
kerryeon/compose
1f44db4aed899ccdedc54a62f886c62553e78670
[ "MIT" ]
null
null
null
services/kubernetes/helper.py
kerryeon/compose
1f44db4aed899ccdedc54a62f886c62553e78670
[ "MIT" ]
null
null
null
services/kubernetes/helper.py
kerryeon/compose
1f44db4aed899ccdedc54a62f886c62553e78670
[ "MIT" ]
null
null
null
DEPENDENCY_PROGRAM = 'kubectl'
15.5
30
0.806452
3
31
8
1
0
0
0
0
0
0
0
0
0
0
0
0.096774
31
1
31
31
0.857143
0
0
0
0
0
0.225806
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
df651c4afdf222cbb545ea695b49b505d1c6f6e3
7,783
py
Python
app/test/test_similarity.py
harshitsoni97/alegre
b19a4f283e7eb2c69a9f70d87c59f808ab3035fc
[ "MIT" ]
null
null
null
app/test/test_similarity.py
harshitsoni97/alegre
b19a4f283e7eb2c69a9f70d87c59f808ab3035fc
[ "MIT" ]
null
null
null
app/test/test_similarity.py
harshitsoni97/alegre
b19a4f283e7eb2c69a9f70d87c59f808ab3035fc
[ "MIT" ]
null
null
null
import unittest import json from elasticsearch import helpers, Elasticsearch, TransportError from flask import current_app as app import numpy as np from app.main import db from app.test.base import BaseTestCase from app.main.lib.shared_models.shared_model import SharedModel class TestSimilaryBlueprint(BaseTestCase):...
37.965854
130
0.54195
804
7,783
5.189055
0.171642
0.043145
0.060403
0.073826
0.793864
0.763902
0.744727
0.699425
0.627277
0.627277
0
0.008534
0.322498
7,783
204
131
38.151961
0.777356
0
0
0.6
0
0
0.197996
0.044456
0
0
0
0
0.097297
1
0.032432
false
0
0.043243
0
0.097297
0.037838
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
df658ab2ac727bfc5f9064931c313b4e19eeb7ce
821
py
Python
pilot/profile.py
globusonline/pilot1-tools
d3f3f35ac89721ab67ca221da0dbb6d36ed61196
[ "Apache-2.0" ]
1
2021-04-13T23:03:12.000Z
2021-04-13T23:03:12.000Z
pilot/profile.py
globusonline/globus-pilot
d3f3f35ac89721ab67ca221da0dbb6d36ed61196
[ "Apache-2.0" ]
70
2019-06-04T17:46:03.000Z
2020-07-29T15:13:31.000Z
pilot/profile.py
globusonline/globus-pilot
d3f3f35ac89721ab67ca221da0dbb6d36ed61196
[ "Apache-2.0" ]
5
2019-05-21T15:05:38.000Z
2019-10-10T18:42:21.000Z
from pilot import config class Profile(config.ConfigSection): SECTION = 'profile' def load_user_info(self): return self.config.load()['profile'] def save_user_info(self, user_info): old_info = self.load_user_info() if user_info['sub'] != old_info.get('sub'): cfg = se...
24.147059
53
0.613886
99
821
4.939394
0.313131
0.09816
0.08589
0.07362
0.192229
0
0
0
0
0
0
0
0.26553
821
33
54
24.878788
0.810945
0.029233
0
0.086957
0
0
0.074214
0
0
0
0
0
0
1
0.26087
false
0
0.043478
0.130435
0.521739
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
df779ae1dccbf4f9746490339035e3f635e02bdf
294
py
Python
Python/leetcode/SingleNumberIi.py
darrencheng0817/AlgorithmLearning
aec1ddd0c51b619c1bae1e05f940d9ed587aa82f
[ "MIT" ]
2
2015-12-02T06:44:01.000Z
2016-05-04T21:40:54.000Z
Python/leetcode/SingleNumberIi.py
darrencheng0817/AlgorithmLearning
aec1ddd0c51b619c1bae1e05f940d9ed587aa82f
[ "MIT" ]
null
null
null
Python/leetcode/SingleNumberIi.py
darrencheng0817/AlgorithmLearning
aec1ddd0c51b619c1bae1e05f940d9ed587aa82f
[ "MIT" ]
null
null
null
''' Created on 1.12.2016 @author: Darren '''''' Given an array of integers, every element appears three times except for one. Find that single one. Note: Your algorithm should have a linear runtime complexity. Could you implement it without using extra memory? " '''
19.6
108
0.683673
41
294
4.902439
0.97561
0
0
0
0
0
0
0
0
0
0
0.03125
0.238095
294
14
109
21
0.866071
0.897959
0
0.333333
0
0
0.970213
0
0
0
0
0
0
1
0
true
0
0
0
0
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
10c7824e037e83561d8304e179dad02fa9caa671
1,306
py
Python
notifications/migrations/0008_auto_20201104_0352.py
IFRCGo/ifrcgo-api
c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a
[ "MIT" ]
11
2018-06-11T06:05:12.000Z
2022-03-25T09:31:44.000Z
notifications/migrations/0008_auto_20201104_0352.py
IFRCGo/ifrcgo-api
c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a
[ "MIT" ]
498
2017-11-07T21:20:13.000Z
2022-03-31T14:37:18.000Z
notifications/migrations/0008_auto_20201104_0352.py
IFRCGo/ifrcgo-api
c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a
[ "MIT" ]
6
2018-04-11T13:29:50.000Z
2020-07-16T16:52:11.000Z
# Generated by Django 2.2.13 on 2020-11-04 03:52 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('deployments', '0033_molnixtag'), ('notifications', '0007_auto_20200810_1116'), ] operations = [ migrations.AddField( mo...
29.022222
81
0.564319
119
1,306
6.092437
0.394958
0.148966
0.190345
0.223448
0.605517
0.605517
0.492414
0.435862
0.435862
0.435862
0
0.040268
0.315467
1,306
44
82
29.681818
0.770694
0.035222
0
0.578947
1
0
0.143879
0.034976
0
0
0
0
0
1
0
false
0
0.026316
0
0.105263
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
10d12c14eb5e8de82ee60aa9c27726b400bcba4f
192
py
Python
app.py
do-me/LBSN-Dashboard
cae82394b9088293330f1a8a76c2796935334a74
[ "MIT" ]
3
2021-05-27T11:33:35.000Z
2021-12-04T04:43:15.000Z
app.py
do-me/LBSN-Dashboard
cae82394b9088293330f1a8a76c2796935334a74
[ "MIT" ]
null
null
null
app.py
do-me/LBSN-Dashboard
cae82394b9088293330f1a8a76c2796935334a74
[ "MIT" ]
1
2021-05-11T09:48:21.000Z
2021-05-11T09:48:21.000Z
import uvicorn if __name__=="__main__": uvicorn.run("main:app",host='0.0.0.0', port=8000, reload=True, debug=True, workers=1) # alternatively run with cli: uvicorn main:app --reload
32
90
0.697917
30
192
4.2
0.633333
0.047619
0.047619
0
0
0
0
0
0
0
0
0.054545
0.140625
192
6
91
32
0.709091
0.276042
0
0
0
0
0.172932
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
10d59154bfa64418fe50fd04ff93ff024d349f5f
1,342
py
Python
criterion/composer/multi_scale.py
zhangzhengde0225/SwinTrack
526be17f8ef266cb924c6939bd8dda23e9b73249
[ "MIT" ]
143
2021-12-03T02:33:36.000Z
2022-03-29T00:01:48.000Z
criterion/composer/multi_scale.py
zhangzhengde0225/SwinTrack
526be17f8ef266cb924c6939bd8dda23e9b73249
[ "MIT" ]
33
2021-12-03T10:32:05.000Z
2022-03-31T02:13:55.000Z
criterion/composer/multi_scale.py
zhangzhengde0225/SwinTrack
526be17f8ef266cb924c6939bd8dda23e9b73249
[ "MIT" ]
24
2021-12-04T06:46:42.000Z
2022-03-30T07:57:47.000Z
def _sum_compose(losses): loss = sum(v[0] for v in losses) loss_value = sum(v[1] for v in losses) loss_dict = {} [loss_dict.update(v[2]) for v in losses] return loss, loss_value, loss_dict class MultiScaleLossComposer: def __init__(self, compose_fn, single_scale_loss_composers): self.s...
39.470588
121
0.734724
191
1,342
4.727749
0.198953
0.194906
0.265781
0.212625
0.48062
0.345515
0.345515
0.345515
0.297896
0.241418
0
0.002773
0.193741
1,342
33
122
40.666667
0.831793
0
0
0.115385
0
0
0
0
0
0
0
0
0
1
0.269231
false
0
0
0.038462
0.423077
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
800ddca42753d913f324a9e607a084978cd09d2a
391
py
Python
null_bot_api/exceptions.py
lordralinc/null_bot_api
334b46d48669c7b6c95f27f23b3e7a81a897df2e
[ "MIT" ]
1
2021-08-03T15:28:57.000Z
2021-08-03T15:28:57.000Z
null_bot_api/exceptions.py
lordralinc/null_bot_api
334b46d48669c7b6c95f27f23b3e7a81a897df2e
[ "MIT" ]
null
null
null
null_bot_api/exceptions.py
lordralinc/null_bot_api
334b46d48669c7b6c95f27f23b3e7a81a897df2e
[ "MIT" ]
null
null
null
class NullBotAPIException(Exception): def __init__( self, error: int, description: str = "" ): self.error = error self.description = description def __repr__(self): return f"<NullBotAPIException:code={self.error}, msg={self.description}>" ...
21.722222
81
0.580563
37
391
5.810811
0.405405
0.167442
0.186047
0
0
0
0
0
0
0
0
0
0.299233
391
17
82
23
0.784672
0
0
0
0
0
0.246787
0.159383
0
0
0
0
0
1
0.25
false
0
0
0.166667
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
80144ee4f8e7fbd3ccf2b50e77774451abf5aaec
421
py
Python
app/auth/forms.py
djm4/quiz-button
33f5cf2ce042df1b7ce1951c07a1415fe2fda34f
[ "MIT" ]
null
null
null
app/auth/forms.py
djm4/quiz-button
33f5cf2ce042df1b7ce1951c07a1415fe2fda34f
[ "MIT" ]
null
null
null
app/auth/forms.py
djm4/quiz-button
33f5cf2ce042df1b7ce1951c07a1415fe2fda34f
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, BooleanField, SubmitField from wtforms.validators import DataRequired, Length, Email class LoginForm(FlaskForm): username = StringField('User name', validators=[DataRequired()]) password = PasswordField('Password', validators=[Dat...
38.272727
73
0.769596
44
421
7.318182
0.613636
0.068323
0
0
0
0
0
0
0
0
0
0
0.133017
421
10
74
42.1
0.882192
0
0
0
0
0
0.095012
0
0
0
0
0
0
1
0
false
0.25
0.375
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
803f5a3e1ca7610cc2f8dbb010cf3d0ccc926ca4
32
py
Python
gardener/__init__.py
mangelino/gardener
bf6f2b6cd7d5732516a6f42df4729fbc262e8372
[ "MIT" ]
1
2018-06-13T18:36:23.000Z
2018-06-13T18:36:23.000Z
gardener/__init__.py
mangelino/gardener
bf6f2b6cd7d5732516a6f42df4729fbc262e8372
[ "MIT" ]
null
null
null
gardener/__init__.py
mangelino/gardener
bf6f2b6cd7d5732516a6f42df4729fbc262e8372
[ "MIT" ]
null
null
null
__all__ = ["gardener", "config"]
32
32
0.65625
3
32
5.666667
1
0
0
0
0
0
0
0
0
0
0
0
0.09375
32
1
32
32
0.586207
0
0
0
0
0
0.424242
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3375e68448e0df737857d0a51ca412c5bf89c197
1,060
py
Python
tests/test_sniff.py
jace/mxsniff
c301583d19588379b83500360fe2e876e1025280
[ "BSD-2-Clause" ]
15
2016-02-08T07:32:26.000Z
2021-08-10T10:42:53.000Z
tests/test_sniff.py
jace/mxsniff
c301583d19588379b83500360fe2e876e1025280
[ "BSD-2-Clause" ]
9
2016-02-05T15:12:56.000Z
2019-09-25T05:30:52.000Z
tests/test_sniff.py
jace/mxsniff
c301583d19588379b83500360fe2e876e1025280
[ "BSD-2-Clause" ]
4
2016-02-05T05:01:45.000Z
2020-09-23T17:56:01.000Z
# -*- coding: utf-8 -*- import unittest from mxsniff import mxsniff class MXSniffTestCase(unittest.TestCase): def test_mxsniff(self): result = mxsniff('google.com') self.assertFalse(result['public']) self.assertIn('google-apps', result['match']) self.assertGreater(len(result['mx'...
31.176471
55
0.611321
116
1,060
5.577586
0.293103
0.100464
0.123648
0.185471
0.749614
0.721793
0.544049
0.544049
0.482226
0.482226
0
0.007203
0.214151
1,060
33
56
32.121212
0.769508
0.019811
0
0.5
0
0
0.159113
0
0
0
0
0
0.625
1
0.041667
false
0
0.083333
0
0.166667
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
337cb4ae695f84d6b158616d7fa649eb31ec2a8d
574
py
Python
python-starter/refactoring/refactors/composing_methods/extract_variable.py
rodelrebucas/dev-overload-starterpack
05bda5a869dda5be1e02dd64d492ea2f00ee3bff
[ "MIT" ]
1
2021-05-19T04:30:45.000Z
2021-05-19T04:30:45.000Z
python-starter/refactoring/refactors/composing_methods/extract_variable.py
rodelrebucas/dev-overload-starterpack
05bda5a869dda5be1e02dd64d492ea2f00ee3bff
[ "MIT" ]
null
null
null
python-starter/refactoring/refactors/composing_methods/extract_variable.py
rodelrebucas/dev-overload-starterpack
05bda5a869dda5be1e02dd64d492ea2f00ee3bff
[ "MIT" ]
null
null
null
# complex expressions # from def renderBanner(self): if ( (self.platform.toUpperCase().indexOf("MAC") > -1) and (self.browser.toUpperCase().indexOf("IE") > -1) and self.wasInitialized() and (self.resize > 0) ): # do something pass # to def renderBanner(self): ...
23.916667
65
0.602787
64
574
5.40625
0.390625
0.208092
0.109827
0.17341
0.381503
0.381503
0
0
0
0
0
0.014151
0.261324
574
23
66
24.956522
0.801887
0.092334
0
0.285714
0
0
0.019417
0
0
0
0
0
0
1
0.142857
false
0.142857
0
0
0.142857
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
3388c30aa340a58f643795af0791aaf6c51088bd
420
py
Python
vue_admin/interface_app/froms/user_form.py
songlinyang/vue-test-project
a75a48953d420482716ee3903eb4954513ce44e2
[ "bzip2-1.0.6" ]
null
null
null
vue_admin/interface_app/froms/user_form.py
songlinyang/vue-test-project
a75a48953d420482716ee3903eb4954513ce44e2
[ "bzip2-1.0.6" ]
null
null
null
vue_admin/interface_app/froms/user_form.py
songlinyang/vue-test-project
a75a48953d420482716ee3903eb4954513ce44e2
[ "bzip2-1.0.6" ]
2
2021-05-12T06:41:25.000Z
2022-01-10T10:11:45.000Z
from django import forms class UserForm(forms.Form): username = forms.CharField( max_length=50, min_length=3, required=True, error_messages={ "required":"用户名或密码不能为空" } ) password = forms.CharField( max_length=50, min_length=3, req...
20
46
0.55
39
420
5.769231
0.538462
0.124444
0.151111
0.204444
0.693333
0.693333
0.693333
0.693333
0.693333
0.693333
0
0.025735
0.352381
420
21
47
20
0.801471
0
0
0.444444
0
0
0.111639
0.049881
0
0
0
0
0
1
0
false
0.055556
0.055556
0
0.222222
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
33a3d9724bdab3a7d39fe50e5306a40c299d2258
590
py
Python
backend/project/lib/management/commands/transactional.py
Nikita-Boyarskikh/DreamSim
d2982f99646bedc8e956f4a2be282d777cc4f7fa
[ "MIT" ]
null
null
null
backend/project/lib/management/commands/transactional.py
Nikita-Boyarskikh/DreamSim
d2982f99646bedc8e956f4a2be282d777cc4f7fa
[ "MIT" ]
null
null
null
backend/project/lib/management/commands/transactional.py
Nikita-Boyarskikh/DreamSim
d2982f99646bedc8e956f4a2be282d777cc4f7fa
[ "MIT" ]
null
null
null
from django.core.management import BaseCommand from django.db import transaction class Transactional(BaseCommand): def before_transaction(self, *args, **kwargs): pass def transaction(self, *args, **kwargs): raise NotImplementedError() def after_transaction(self, *args, **kwargs): ...
26.818182
52
0.627119
59
590
6.20339
0.40678
0.191257
0.153005
0.204918
0.174863
0.174863
0
0
0
0
0
0
0.259322
590
21
53
28.095238
0.837529
0
0
0.125
0
0
0
0
0
0
0
0
0
1
0.25
false
0.125
0.125
0
0.4375
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
33befaa2164defa47c8d47f63dc2b375f026b961
857
py
Python
neuralnetwork/code/cells/Cell.py
realwsq/MuscleSpindleCircuitsModel
4418b180559ea1464ee6139161af7e6bf3762c50
[ "MIT" ]
5
2018-11-13T15:22:14.000Z
2022-03-23T17:00:38.000Z
neuralnetwork/code/cells/Cell.py
realwsq/MuscleSpindleCircuitsModel
4418b180559ea1464ee6139161af7e6bf3762c50
[ "MIT" ]
null
null
null
neuralnetwork/code/cells/Cell.py
realwsq/MuscleSpindleCircuitsModel
4418b180559ea1464ee6139161af7e6bf3762c50
[ "MIT" ]
1
2020-05-20T12:18:04.000Z
2020-05-20T12:18:04.000Z
from neuron import h class Cell: """ Interface class to build different types of cells. """ def __init__(self): """ Object initialization. """ # Neuron cell - source of netcons self.cell = None def __del__(self): """ Object destruction. """ pass def connect_to_target(self,target,weight=0,delay=1): "...
24.485714
91
0.690782
129
857
4.503876
0.465116
0.034423
0
0
0
0
0
0
0
0
0
0.008889
0.212369
857
34
92
25.205882
0.851852
0.590432
0
0
0
0
0
0
0
0
0
0
0
1
0.307692
false
0.076923
0.076923
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
33bf5ea0444c73e928634c90cd77980d9e5be741
2,619
py
Python
tests/mqttclient_test.py
jmoutte/pipump
727e1746cfe4bb1dc641a14fab95751dce54cd65
[ "Apache-2.0" ]
null
null
null
tests/mqttclient_test.py
jmoutte/pipump
727e1746cfe4bb1dc641a14fab95751dce54cd65
[ "Apache-2.0" ]
null
null
null
tests/mqttclient_test.py
jmoutte/pipump
727e1746cfe4bb1dc641a14fab95751dce54cd65
[ "Apache-2.0" ]
null
null
null
import unittest from unittest.mock import Mock, patch from mqttclient import MQTTClient class TestMQTTClient(unittest.TestCase): def test_constructor_default_values(self): client = MQTTClient({}) self.assertEqual(client._host, '127.0.0.1') self.assertEqual(client._port, 1883) self...
42.934426
197
0.672012
302
2,619
5.546358
0.284768
0.152239
0.213134
0.046567
0.352239
0.322388
0.294925
0.181493
0.181493
0.181493
0
0.021792
0.211531
2,619
61
198
42.934426
0.789346
0
0
0.183673
0
0
0.09313
0
0
0
0
0
0.510204
1
0.102041
false
0.102041
0.061224
0
0.183673
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
1
0
0
0
0
0
3
33c7273259296c32cae2126221462d3dd934801c
998
py
Python
supports/pyload/src/pyload/plugins/base/captcha_service.py
LuckyNicky/pycrawler
4b3fe2f6e8e51f236d95a64a89a44199e4e97743
[ "Apache-2.0" ]
1
2020-04-02T17:03:39.000Z
2020-04-02T17:03:39.000Z
supports/pyload/src/pyload/plugins/base/captcha_service.py
LuckyNicky/pycrawler
4b3fe2f6e8e51f236d95a64a89a44199e4e97743
[ "Apache-2.0" ]
null
null
null
supports/pyload/src/pyload/plugins/base/captcha_service.py
LuckyNicky/pycrawler
4b3fe2f6e8e51f236d95a64a89a44199e4e97743
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from .captcha import BaseCaptcha class CaptchaService(BaseCaptcha): __name__ = "CaptchaService" __type__ = "anticaptcha" __version__ = "0.36" __status__ = "stable" __pyload_version__ = "0.5" __description__ = """Anti-captcha service plugin""" __license__ = "GPLv...
24.95
76
0.640281
114
998
5.22807
0.535088
0.04698
0.036913
0.107383
0.11745
0
0
0
0
0
0
0.011921
0.243487
998
39
77
25.589744
0.777483
0.063126
0
0.12
0
0
0.125671
0
0
0
0
0.025641
0
1
0.24
false
0
0.04
0.04
0.72
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
33dca5181e96f435e139eed6285da888cb99d915
55
py
Python
configs/network.py
yeshwanthv5/PruneFL
ad1f7f33b0605d1d79abfbe42ef287fcc613a943
[ "MIT" ]
6
2021-07-01T05:35:08.000Z
2022-03-04T18:53:31.000Z
configs/network.py
yeshwanthv5/PruneFL
ad1f7f33b0605d1d79abfbe42ef287fcc613a943
[ "MIT" ]
null
null
null
configs/network.py
yeshwanthv5/PruneFL
ad1f7f33b0605d1d79abfbe42ef287fcc613a943
[ "MIT" ]
1
2021-06-21T14:24:47.000Z
2021-06-21T14:24:47.000Z
SERVER_ADDR = "127.0.0.1" # Local SERVER_PORT = 51018
18.333333
34
0.690909
10
55
3.6
0.8
0
0
0
0
0
0
0
0
0
0
0.23913
0.163636
55
2
35
27.5
0.543478
0.090909
0
0
0
0
0.1875
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
33e7345235a2ac2d93c984a233adabeb29f5dfe6
796
py
Python
module01/ex03/test.py
MedAymenF/42AI-Python-bootcamp
41af2221b95b305ee08ee8f582e68700f1a8c32b
[ "Apache-2.0" ]
null
null
null
module01/ex03/test.py
MedAymenF/42AI-Python-bootcamp
41af2221b95b305ee08ee8f582e68700f1a8c32b
[ "Apache-2.0" ]
null
null
null
module01/ex03/test.py
MedAymenF/42AI-Python-bootcamp
41af2221b95b305ee08ee8f582e68700f1a8c32b
[ "Apache-2.0" ]
null
null
null
from matrix import Matrix, Vector m1 = Matrix([[0.0, 1.0, 2.0, 3.0], [0.0, 2.0, 4.0, 6.0]]) m2 = Matrix((3, 3)) m3 = Matrix([[0.0, 1.0, 2.0], [3.0, 4.0, 5.0], [6.0, 7.0, 8.0]], (3, 3)) print(m3 + 10) print(10 + m3) print('-' * 80) print(m3 - 10) print(10 - m3) print('-' * 80) m4 = Matrix([[50.30, 12.06, 32.70, 38.09]...
21.513514
72
0.469849
172
796
2.174419
0.203488
0.053476
0.05615
0.053476
0.636364
0.636364
0.636364
0.636364
0.502674
0.387701
0
0.269608
0.231156
796
36
73
22.111111
0.341503
0
0
0.205882
0
0
0.008794
0
0
0
0
0
0
1
0
false
0
0.029412
0
0.029412
0.647059
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
33efc21912533e456f9d81374614b69111bb7652
75
py
Python
tests/__init__.py
Joffreybvn/botbuilder-discord
c61e9f7636df6a4e5f7f71b9fdf78aa8f0dfce64
[ "MIT" ]
null
null
null
tests/__init__.py
Joffreybvn/botbuilder-discord
c61e9f7636df6a4e5f7f71b9fdf78aa8f0dfce64
[ "MIT" ]
null
null
null
tests/__init__.py
Joffreybvn/botbuilder-discord
c61e9f7636df6a4e5f7f71b9fdf78aa8f0dfce64
[ "MIT" ]
null
null
null
from .default_tests import DefaultTestCase __all__ = ['DefaultTestCase']
15
42
0.8
7
75
7.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.12
75
4
43
18.75
0.833333
0
0
0
0
0
0.202703
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
33f1d6d85de8065d0e539273010872f09f6c25f0
1,591
py
Python
tests/analysis/test_lightcurve_visualizer.py
golmschenk/ramjet
77fb4481a15088923308fda09804d80455d1a9cf
[ "Apache-2.0" ]
3
2020-11-23T18:47:37.000Z
2021-08-05T17:45:51.000Z
tests/analysis/test_lightcurve_visualizer.py
golmschenk/ramjet
77fb4481a15088923308fda09804d80455d1a9cf
[ "Apache-2.0" ]
5
2021-08-19T00:54:57.000Z
2022-02-10T00:15:40.000Z
tests/analysis/test_lightcurve_visualizer.py
golmschenk/ramjet
77fb4481a15088923308fda09804d80455d1a9cf
[ "Apache-2.0" ]
3
2019-07-12T21:00:57.000Z
2020-06-03T22:18:13.000Z
import numpy as np from unittest.mock import patch import ramjet from ramjet.analysis.light_curve_visualizer import create_dual_light_curve_figure def test_create_dual_light_curve_figure_normalizes_light_curve(): fluxes0 = [0, 1, 2] fluxes1 = [3, 4, 5] times0 = [0, 10, 20] times1 = [30, 40, 50] w...
51.322581
116
0.683218
265
1,591
3.886792
0.290566
0.097087
0.072816
0.097087
0.780583
0.716505
0.716505
0.652427
0.652427
0.652427
0
0.074189
0.186675
1,591
30
117
53.033333
0.721793
0.221873
0
0.363636
0
0
0.030844
0
0
0
0
0
0.181818
1
0.090909
false
0
0.181818
0
0.272727
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d50a0c728a0b700e346c47eb0a4e1990d11ef0ac
120
py
Python
workbench/server/version.py
Ayub-Khan/workbench
710232756dd717f734253315e3d0b33c9628dafb
[ "MIT" ]
61
2015-01-04T01:23:49.000Z
2021-06-22T14:41:10.000Z
workbench/server/version.py
Ayub-Khan/workbench
710232756dd717f734253315e3d0b33c9628dafb
[ "MIT" ]
3
2015-01-02T23:26:59.000Z
2015-01-03T19:28:36.000Z
workbench/server/version.py
Ayub-Khan/workbench
710232756dd717f734253315e3d0b33c9628dafb
[ "MIT" ]
17
2015-08-25T23:57:22.000Z
2020-05-30T02:36:05.000Z
''' Workbench Server Version ''' __version_info__ = (0, 3, 6) __version__ = '.'.join(map(str, __version_info__))
30
55
0.65
14
120
4.571429
0.714286
0.34375
0
0
0
0
0
0
0
0
0
0.030303
0.175
120
3
56
40
0.616162
0.2
0
0
0
0
0.011364
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1d188fad289006c795c688a578ad3271ba23d13f
1,618
py
Python
fullcalendar/templatetags/fullcalendar_tags.py
dresl/django-fullcalendar
4ba0bf0c207cad306ae7a14a324fa06f7a4e9f25
[ "MIT" ]
48
2015-01-10T08:01:27.000Z
2021-03-12T06:16:43.000Z
fullcalendar/templatetags/fullcalendar_tags.py
dresl/django-fullcalendar
4ba0bf0c207cad306ae7a14a324fa06f7a4e9f25
[ "MIT" ]
4
2015-02-13T23:02:31.000Z
2021-05-02T19:18:49.000Z
fullcalendar/templatetags/fullcalendar_tags.py
dresl/django-fullcalendar
4ba0bf0c207cad306ae7a14a324fa06f7a4e9f25
[ "MIT" ]
48
2015-01-07T11:37:27.000Z
2022-02-23T20:17:04.000Z
from django import template from django.utils.safestring import mark_safe from ..fullcalendar import css_url, print_css_url, javascript_url, jquery_url, jquery_ui_url register = template.Library() @register.inclusion_tag("fullcalendar/calendar.html") def calendar(): return {} @register.inclusion_tag("fullcalend...
26.966667
92
0.758962
212
1,618
5.45283
0.165094
0.051903
0.147059
0.17301
0.66436
0.552768
0.550173
0.479239
0.350346
0.190311
0
0
0.121755
1,618
59
93
27.423729
0.813512
0
0
0.288889
0
0
0.149567
0.049444
0
0
0
0
0
1
0.266667
false
0
0.066667
0.155556
0.6
0.133333
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
0
0
0
3
1d513851ae0738c96c994be04418961003dfa298
1,736
py
Python
apps/blog/migrations/0003_auto_20170803_1157.py
itpubs/reflecting
994dee02e440f5dcde5e04190073a153b1a4973f
[ "MIT" ]
4
2016-03-22T10:24:55.000Z
2018-03-19T18:46:45.000Z
apps/blog/migrations/0003_auto_20170803_1157.py
itpubs/reflecting
994dee02e440f5dcde5e04190073a153b1a4973f
[ "MIT" ]
null
null
null
apps/blog/migrations/0003_auto_20170803_1157.py
itpubs/reflecting
994dee02e440f5dcde5e04190073a153b1a4973f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-08-03 11:57 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0002_auto_20170717_1021'), ] operations = [ migrations.AlterField( ...
31
78
0.569124
171
1,736
5.643275
0.356725
0.165803
0.207254
0.240415
0.626943
0.626943
0.544041
0.425907
0.276684
0.276684
0
0.041597
0.307604
1,736
55
79
31.563636
0.761231
0.039171
0
0.5625
1
0
0.0997
0.013814
0
0
0
0
0
1
0
false
0
0.041667
0
0.104167
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1d5cef8cffbb200d4afc2a43731fb9b82154214e
133
py
Python
names_list.py
charliechocho/py-crash-course
b42b8a4c1cb8d76e8316f55c1565ff42d920ee63
[ "Apache-2.0" ]
null
null
null
names_list.py
charliechocho/py-crash-course
b42b8a4c1cb8d76e8316f55c1565ff42d920ee63
[ "Apache-2.0" ]
null
null
null
names_list.py
charliechocho/py-crash-course
b42b8a4c1cb8d76e8316f55c1565ff42d920ee63
[ "Apache-2.0" ]
null
null
null
names = ['nina','mattias','robin','linnéa','torngatan 20'] for i in names: print(f"Hej {i.title()} du bor på {names[4].title()}!!")
33.25
58
0.616541
22
133
3.727273
0.818182
0
0
0
0
0
0
0
0
0
0
0.025424
0.112782
133
3
59
44.333333
0.669492
0
0
0
0
0
0.601504
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1d5ddd33915a18993a5f03b56d2e49c90a15d477
1,178
py
Python
release/stubs.min/System/ComponentModel/__init___parts/EditorBrowsableState.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/System/ComponentModel/__init___parts/EditorBrowsableState.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
release/stubs.min/System/ComponentModel/__init___parts/EditorBrowsableState.py
YKato521/ironpython-stubs
b1f7c580de48528490b3ee5791b04898be95a9ae
[ "MIT" ]
null
null
null
class EditorBrowsableState(Enum, IComparable, IFormattable, IConvertible): """ Specifies the browsable state of a property or method from within an editor. enum EditorBrowsableState,values: Advanced (2),Always (0),Never (1) """ def __eq__(self, *args): """ x.__eq__(y) <==> x==yx.__eq__...
25.06383
221
0.576401
134
1,178
4.358209
0.395522
0.136986
0.143836
0.15411
0.22089
0.22089
0.22089
0.193493
0.193493
0.193493
0
0.003593
0.291171
1,178
46
222
25.608696
0.695808
0.403226
0
0.4
0
0
0
0
0
0
0
0
0
1
0.4
false
0.4
0
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
1d6d8da7b94f9887c538728e30c0b0c27b9a2d76
120
py
Python
acascraper/__init__.py
strets123/acascraper
a310a9cc5dbe6102054dbdba38162f5eee4378a1
[ "BSD-3-Clause" ]
1
2015-07-30T09:04:04.000Z
2015-07-30T09:04:04.000Z
acascraper/__init__.py
strets123/acascraper
a310a9cc5dbe6102054dbdba38162f5eee4378a1
[ "BSD-3-Clause" ]
null
null
null
acascraper/__init__.py
strets123/acascraper
a310a9cc5dbe6102054dbdba38162f5eee4378a1
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- __author__ = 'Andrew Stretton' __email__ = 'andrew.stretton@sgc.ox.ac.uk' __version__ = '0.1.0'
24
42
0.666667
17
120
4
0.823529
0.411765
0
0
0
0
0
0
0
0
0
0.038095
0.125
120
5
43
24
0.609524
0.175
0
0
0
0
0.489796
0.285714
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1d703719c662bd7459430ebd1860288d58c98acd
303
py
Python
Health/views.py
11pawan11/E-Health-Care
53385ca85c40829a68f21190d0d5dc351221158c
[ "MIT" ]
null
null
null
Health/views.py
11pawan11/E-Health-Care
53385ca85c40829a68f21190d0d5dc351221158c
[ "MIT" ]
1
2021-03-08T09:13:02.000Z
2021-03-08T09:13:02.000Z
Health/views.py
11pawan11/E-Health-Care
53385ca85c40829a68f21190d0d5dc351221158c
[ "MIT" ]
1
2021-05-31T01:42:26.000Z
2021-05-31T01:42:26.000Z
from django.shortcuts import render, HttpResponse import requests from Health.forms import DiseaseForm from api.models import Disease from api import diseaseml from Health.decorators import unauthenticated_user @unauthenticated_user def index(request): return render(request,'Health/index.html')
23.307692
50
0.831683
39
303
6.410256
0.564103
0.08
0
0
0
0
0
0
0
0
0
0
0.115512
303
12
51
25.25
0.932836
0
0
0
0
0
0.056478
0
0
0
0
0
0
1
0.111111
false
0
0.666667
0.111111
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
1d7abeb278e9e6e5733b70947fb7ab3ff6284480
132
py
Python
print_secret.py
RiceKab/JenkinsDevTest
1e1736c4d16a97f9393940899c4ab7f7797d275d
[ "MIT" ]
null
null
null
print_secret.py
RiceKab/JenkinsDevTest
1e1736c4d16a97f9393940899c4ab7f7797d275d
[ "MIT" ]
null
null
null
print_secret.py
RiceKab/JenkinsDevTest
1e1736c4d16a97f9393940899c4ab7f7797d275d
[ "MIT" ]
null
null
null
import os import sys print(os.environ['JENKY_SECRET']) if __name__ == '__main__': for a in sys.argv: print(a, len(a))
14.666667
33
0.636364
21
132
3.571429
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.219697
132
8
34
16.5
0.728155
0
0
0
0
0
0.151515
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1d89fc751839b3ff92ad021c39a88d7344a974d7
223
py
Python
PyCutter/utils/nn_dataset.py
Codle/PyCutter
be405931f9b71ab577a79ad29dc04f8aa62e14eb
[ "MIT" ]
null
null
null
PyCutter/utils/nn_dataset.py
Codle/PyCutter
be405931f9b71ab577a79ad29dc04f8aa62e14eb
[ "MIT" ]
null
null
null
PyCutter/utils/nn_dataset.py
Codle/PyCutter
be405931f9b71ab577a79ad29dc04f8aa62e14eb
[ "MIT" ]
null
null
null
""" 用于神经网络的数据集构造 """ from torch.utils.data import Dataset class CutterDataset(Dataset): def __init__(self, file): # 构建数据集 def __len__(self): pass def __getitem__(self, item): pass
12.388889
36
0.609865
24
223
5.166667
0.75
0
0
0
0
0
0
0
0
0
0
0
0.286996
223
17
37
13.117647
0.779874
0.022422
0
0.285714
0
0
0
0
0
0
0
0
0
0
null
null
0.285714
0.142857
null
null
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
1
0
0
1
0
0
0
0
0
3
1d94ecff0d21c821b9aa8198582d6c1ea0bc342c
547
py
Python
app/pqb/pqb_main.py
yt7589/aqp
c9c1c79facdea7ace73e2421e8a5868d87fb58dd
[ "Apache-2.0" ]
null
null
null
app/pqb/pqb_main.py
yt7589/aqp
c9c1c79facdea7ace73e2421e8a5868d87fb58dd
[ "Apache-2.0" ]
null
null
null
app/pqb/pqb_main.py
yt7589/aqp
c9c1c79facdea7ace73e2421e8a5868d87fb58dd
[ "Apache-2.0" ]
null
null
null
from app.pqb.chp022 import Chp022 from app.pqb.chp023 import Chp023 from app.pqb.aqt001 import Aqt001 from app.pqb.aqt002 import Aqt002 from app.pqb.aqt003 import Aqt003 from app.pqb.aqt005 import Aqt005 def startup(): print('量化投资以python为工具') aqt005 = Aqt005() aqt005.startup() ''' chp023 ...
18.862069
33
0.634369
64
547
5.421875
0.21875
0.121037
0.172911
0
0
0
0
0
0
0
0
0.220588
0.254113
547
29
34
18.862069
0.629902
0
0
0
0
0
0.045752
0
0
0
0
0
0
1
0.1
false
0
0.6
0
0.7
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
1d9be5167782fef15cf1eb231fb6853fcceeb2fe
851
py
Python
Python/DP/longestPalindrome.py
qiaw99/selflerning
c6d78b41770670057dc79f1146f638948b7a1e46
[ "MIT" ]
1
2019-09-23T08:05:45.000Z
2019-09-23T08:05:45.000Z
Python/DP/longestPalindrome.py
qiaw99/selflerning
c6d78b41770670057dc79f1146f638948b7a1e46
[ "MIT" ]
1
2019-09-07T13:20:43.000Z
2019-09-07T13:20:43.000Z
Python/DP/longestPalindrome.py
qiaw99/selflerning
c6d78b41770670057dc79f1146f638948b7a1e46
[ "MIT" ]
null
null
null
class Solution: def longestPalindrome(self, s: str) -> str: dp = [[0 for _ in range(len(s) + 1)] for _ in range(len(s) + 1)] for i in range(len(s)): dp[i][i] = 1 for i in range(len(s) - 1, -1, -1): for j in range(i + 1, len(s)): if(s...
34.04
72
0.320799
118
851
2.29661
0.211864
0.180812
0.221402
0.243542
0.328413
0.280443
0.225092
0
0
0
0
0.048544
0.515864
851
24
73
35.458333
0.609223
0
0
0.090909
0
0
0
0
0
0
0
0
0
1
0.045455
false
0
0
0
0.181818
0
0
0
0
null
0
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
3
1da2b4630712bcf139bb9adbbffc1a50314e8dcb
343
py
Python
sample/math.py
chm85/sample
2a91fabc20ea924075fc5153c5372d0ca4b463bb
[ "MIT" ]
null
null
null
sample/math.py
chm85/sample
2a91fabc20ea924075fc5153c5372d0ca4b463bb
[ "MIT" ]
null
null
null
sample/math.py
chm85/sample
2a91fabc20ea924075fc5153c5372d0ca4b463bb
[ "MIT" ]
null
null
null
from typing import Union def lrg_or_not(param1: int, param2: Union[int, float]) -> bool: """Example function with PEP 484 type annotations. Args: param1: The first parameter. param2: The second parameter. Returns: The return value. True for success, False otherwise. """ ...
21.4375
63
0.653061
43
343
5.162791
0.767442
0
0
0
0
0
0
0
0
0
0
0.035714
0.265306
343
15
64
22.866667
0.845238
0.548105
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
d52902cff79f543e7a9e7d28d3c9e1c58d21cba6
275
py
Python
Desafios/desafio017.py
MaxGabrielima/Python-Codes
195c13821a937f0b792b0d214d19840d57068279
[ "MIT" ]
3
2021-07-31T21:10:32.000Z
2021-11-17T02:21:28.000Z
Desafios/desafio017.py
MaxGabrielima/Python-Codes
195c13821a937f0b792b0d214d19840d57068279
[ "MIT" ]
null
null
null
Desafios/desafio017.py
MaxGabrielima/Python-Codes
195c13821a937f0b792b0d214d19840d57068279
[ "MIT" ]
null
null
null
import math from math import sqrt print(67 * "_") co = float(input('Digite o valor do cateto oposto: ')) print(67 * "_") ca = float(input('Digite o valor do cateto adjascente: ')) print(67 * "_") h = sqrt(co * co + ca * ca) print('A hipotenusa é igual à {:.2f}'.format(h))
27.5
58
0.643636
45
275
3.866667
0.555556
0.12069
0.183908
0.195402
0.344828
0.344828
0.344828
0
0
0
0
0.031111
0.181818
275
10
59
27.5
0.742222
0
0
0.333333
0
0
0.369565
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0.444444
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
d52cbf15998db1d8fdbf7390bd56cb5c0a348188
463
py
Python
lectures/slides_tex/example_numpy.py
materialsvirtuallab/nano281
d527c5049aab3da99237cbff0cc749640b2c9c06
[ "BSD-3-Clause" ]
38
2019-12-23T13:14:53.000Z
2022-01-25T23:59:33.000Z
lectures/slides_tex/example_numpy.py
materialsvirtuallab/nano281
d527c5049aab3da99237cbff0cc749640b2c9c06
[ "BSD-3-Clause" ]
null
null
null
lectures/slides_tex/example_numpy.py
materialsvirtuallab/nano281
d527c5049aab3da99237cbff0cc749640b2c9c06
[ "BSD-3-Clause" ]
18
2020-02-10T20:43:39.000Z
2022-01-21T13:45:36.000Z
>>> import numpy as np >>> x = np.array([[1, 2, 3], [4, 7, 6], [9, 4, 2]]) >>> y = np.array([1.5, 0.5, 3]) >>> x * x array([[ 1, 4, 9], [16, 49, 36], [81, 16, 4]]) >>> np.dot(x, x) array([[36, 28, 21], [86, 81, 66], [43, 54, 55]]) >>> np.linalg.inv(x) a...
27.235294
48
0.419006
73
463
2.657534
0.534247
0.092784
0.082474
0
0
0
0
0
0
0
0
0.399371
0.313175
463
17
48
27.235294
0.210692
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.058824
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
d5339a45beb8e166906f949932ab2f2ff26a9ae9
5,137
py
Python
B2G/external/sonivox/jet_tools/JetCreator/img_Undo.py
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-08-31T15:24:31.000Z
2020-04-24T20:31:29.000Z
B2G/external/sonivox/jet_tools/JetCreator/img_Undo.py
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
null
null
null
B2G/external/sonivox/jet_tools/JetCreator/img_Undo.py
wilebeast/FireFox-OS
43067f28711d78c429a1d6d58c77130f6899135f
[ "Apache-2.0" ]
3
2015-07-29T07:17:15.000Z
2020-11-04T06:55:37.000Z
#---------------------------------------------------------------------- # This file was generated by C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wx\tools\img2py.py # from wx import ImageFromStream, BitmapFromImage, EmptyIcon import cStringIO, zlib def getData(): return zlib.decompress( 'x\xda\x01\xf...
62.646341
97
0.697099
1,066
5,137
3.35272
0.423077
0.021824
0.017627
0.010073
0.005036
0
0
0
0
0
0
0.214824
0.043995
5,137
81
98
63.419753
0.51293
0.03212
0
0
1
0.416667
0.007776
0.007776
0
0
0
0
0
1
0.055556
false
0
0.027778
0.027778
0.138889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d557d41b02fc6d2e9a5934c27e5e3294b7f44d9c
175
py
Python
template.py
shankar-shiv/Advent-of-Code
b654393e4243c9aeb81c20451b32c2cb727e29f7
[ "MIT" ]
null
null
null
template.py
shankar-shiv/Advent-of-Code
b654393e4243c9aeb81c20451b32c2cb727e29f7
[ "MIT" ]
null
null
null
template.py
shankar-shiv/Advent-of-Code
b654393e4243c9aeb81c20451b32c2cb727e29f7
[ "MIT" ]
null
null
null
from common import * with open(infile('00.txt'), 'r') as f: data = get_all_ints(f.read()) def part1(): pass def part2(): pass print(part1()) print(part2())
10.294118
38
0.594286
27
175
3.777778
0.777778
0
0
0
0
0
0
0
0
0
0
0.044118
0.222857
175
16
39
10.9375
0.705882
0
0
0.222222
0
0
0.04
0
0
0
0
0
0
1
0.222222
false
0.222222
0.111111
0
0.333333
0.222222
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
1
0
0
0
0
0
3
d579be5d7f745a7743a30f7ca0ccda1dce103933
47
py
Python
pgm/sentence count.py
Dharani-18/CODEKATA
c9c39a0579d2ee7fd8790d240f50e087708b8050
[ "Apache-2.0" ]
null
null
null
pgm/sentence count.py
Dharani-18/CODEKATA
c9c39a0579d2ee7fd8790d240f50e087708b8050
[ "Apache-2.0" ]
null
null
null
pgm/sentence count.py
Dharani-18/CODEKATA
c9c39a0579d2ee7fd8790d240f50e087708b8050
[ "Apache-2.0" ]
2
2019-05-24T05:26:31.000Z
2019-07-18T06:18:48.000Z
x=input() count=0 m=x.split(".") print(len(m))
9.4
14
0.595745
10
47
2.8
0.8
0
0
0
0
0
0
0
0
0
0
0.023256
0.085106
47
4
15
11.75
0.627907
0
0
0
0
0
0.021277
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d57dbff219922a773eaa2dc76ad00ae1a3d8b607
138
py
Python
Lesson/lesson-oo-411.py
v-v-tarasov/python-my-lesson
57f8985cdfe9d9439452d6d3d0f89cf4bfbf2d14
[ "MIT" ]
null
null
null
Lesson/lesson-oo-411.py
v-v-tarasov/python-my-lesson
57f8985cdfe9d9439452d6d3d0f89cf4bfbf2d14
[ "MIT" ]
null
null
null
Lesson/lesson-oo-411.py
v-v-tarasov/python-my-lesson
57f8985cdfe9d9439452d6d3d0f89cf4bfbf2d14
[ "MIT" ]
null
null
null
a = [int(i) for i in input().split()] b = 0 for i in range(1, len(a) - 1): if a[i - 1] < a[i] > a[i + 1]: b += 1 print(b)
23
38
0.42029
31
138
1.870968
0.451613
0.103448
0.206897
0
0
0
0
0
0
0
0
0.065934
0.34058
138
6
39
23
0.571429
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
0
0
1
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d584834fe6482d8fa34410d2c50a11f4ceb06889
5,274
py
Python
tickcounter/survey/survey.py
Whatever929/rice
0fa428bb891a1fb3a2e50cb936dfccf2dfb3519c
[ "MIT" ]
null
null
null
tickcounter/survey/survey.py
Whatever929/rice
0fa428bb891a1fb3a2e50cb936dfccf2dfb3519c
[ "MIT" ]
null
null
null
tickcounter/survey/survey.py
Whatever929/rice
0fa428bb891a1fb3a2e50cb936dfccf2dfb3519c
[ "MIT" ]
null
null
null
import numpy as np import seaborn as sns import pandas as pd from ..util import plot_each_col from tickcounter import statistics, plot from tickcounter.config import * import itertools class Survey(object): def __init__(self, data, *,num_col=None, cat_col=None, description=None): self.data = ...
45.076923
139
0.539249
611
5,274
4.363339
0.198036
0.054014
0.030008
0.047262
0.373218
0.258065
0.185296
0.171043
0.171043
0.171043
0
0.010079
0.379219
5,274
117
140
45.076923
0.804215
0.02446
0
0.175824
0
0
0.015118
0
0
0
0
0.008547
0
1
0.230769
false
0
0.076923
0.186813
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d58ad123ed478887fd682c1a8b2b3c71331aec74
436
py
Python
NodeDefender/frontend/error/error.py
CTSNE/NodeDefender
24e19f53a27d3b53e599cba8b1448f8f16c0bd5e
[ "MIT" ]
4
2016-09-23T17:51:05.000Z
2017-03-14T02:52:26.000Z
NodeDefender/frontend/error/error.py
CTSNE/NodeDefender
24e19f53a27d3b53e599cba8b1448f8f16c0bd5e
[ "MIT" ]
1
2016-09-22T11:32:33.000Z
2017-11-14T10:00:24.000Z
NodeDefender/frontend/error/error.py
CTSNE/NodeDefender
24e19f53a27d3b53e599cba8b1448f8f16c0bd5e
[ "MIT" ]
4
2016-10-09T19:05:16.000Z
2020-05-14T04:00:30.000Z
@app.errorhandler(403) # Trying to access without permission @login_required def page_not_allowed(e): return render_template('403.html'), 403 @app.errorhandler(404) # Trying to access page that does not exist. @login_required def page_not_found(e): return render_template('404.html'), 404 @app.errorhandler(500...
29.066667
67
0.770642
64
436
5.0625
0.4375
0.138889
0.148148
0.194444
0.141975
0
0
0
0
0
0
0.070681
0.123853
436
14
68
31.142857
0.777487
0.229358
0
0.25
0
0
0.072289
0
0
0
0
0
0
1
0.25
false
0
0
0.25
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
d59c6b518dbdbb5357e4d999764423f95ecc7727
181
py
Python
answers/MridulMohanta/Day15/question2.py
arc03/30-DaysOfCode-March-2021
6d6e11bf70280a578113f163352fa4fa8408baf6
[ "MIT" ]
22
2021-03-16T14:07:47.000Z
2021-08-13T08:52:50.000Z
answers/MridulMohanta/Day15/question2.py
MridulMohanta19/30-DaysOfCode-March-2021
42868af99a7eca8702f384ce2bd6519b327bb03b
[ "MIT" ]
174
2021-03-16T21:16:40.000Z
2021-06-12T05:19:51.000Z
answers/MridulMohanta/Day15/question2.py
MridulMohanta19/30-DaysOfCode-March-2021
42868af99a7eca8702f384ce2bd6519b327bb03b
[ "MIT" ]
135
2021-03-16T16:47:12.000Z
2021-06-27T14:22:38.000Z
def numpaths(m , n): if m == 1 or n == 1: return 1 return numpaths(m -1 , n) + numpaths(m, n-1) m = int(input("M: ")) n = int(input("N: ")) print(numpaths(m , n))
18.1
48
0.502762
33
181
2.757576
0.333333
0.395604
0.32967
0
0
0
0
0
0
0
0
0.038462
0.281768
181
9
49
20.111111
0.661538
0
0
0
0
0
0.033149
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.428571
0.142857
0
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
3
d59ce8c90425f7d12b6291b3a21cb37089163d97
257
py
Python
tests/01_chapters_to_workitems_test.py
MawKKe/audiobook-split-ffmpeg
27f0166c86ad1053fe42ac3c6a3c465a6cbc7793
[ "Apache-2.0" ]
1
2022-02-18T08:07:19.000Z
2022-02-18T08:07:19.000Z
tests/01_chapters_to_workitems_test.py
MawKKe/audiobook-split-ffmpeg
27f0166c86ad1053fe42ac3c6a3c465a6cbc7793
[ "Apache-2.0" ]
null
null
null
tests/01_chapters_to_workitems_test.py
MawKKe/audiobook-split-ffmpeg
27f0166c86ad1053fe42ac3c6a3c465a6cbc7793
[ "Apache-2.0" ]
null
null
null
from audiobook_split_ffmpeg import compute_workitems from testdata import beep def test_compute_workitems(): work_items = list(compute_workitems(beep["file"], "foo")) assert len(work_items) == 3 assert work_items == beep["expected_workitems"]
28.555556
61
0.762646
34
257
5.470588
0.588235
0.258065
0
0
0
0
0
0
0
0
0
0.004525
0.140078
257
8
62
32.125
0.837104
0
0
0
0
0
0.097276
0
0
0
0
0
0.333333
1
0.166667
false
0
0.333333
0
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
633c13873a498cf926ddb466d8437f3f82b638d9
297
py
Python
example/example/models.py
beshrkayali/django-bananas
8e832ca91287c5b3eed5af8de948c67fd026c4b9
[ "MIT" ]
26
2015-04-07T12:18:26.000Z
2021-07-23T18:05:52.000Z
example/example/models.py
beshrkayali/django-bananas
8e832ca91287c5b3eed5af8de948c67fd026c4b9
[ "MIT" ]
55
2016-10-25T08:13:50.000Z
2022-03-04T12:53:24.000Z
example/example/models.py
beshrkayali/django-bananas
8e832ca91287c5b3eed5af8de948c67fd026c4b9
[ "MIT" ]
16
2015-10-13T10:11:59.000Z
2021-11-11T12:30:32.000Z
from django.conf import settings from django.db import models from bananas.models import TimeStampedModel class Monkey(TimeStampedModel): user = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.CASCADE) def get_absolute_url(self): return 'https://www.5monkeys.se/'
24.75
80
0.774411
39
297
5.769231
0.717949
0.088889
0
0
0
0
0
0
0
0
0
0.003922
0.141414
297
11
81
27
0.878431
0
0
0
0
0
0.080808
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0.142857
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
63444548785e62b638aaa53f1420da06a489a478
8,099
py
Python
admin_confirm/tests/unit/test_confirm_change_and_add_m2m_field.py
ballke-dev/django-admin-confirm
21f5a37c5ecf1fee30f95d8a2ce01207916a22f8
[ "Apache-2.0" ]
32
2020-11-09T09:41:03.000Z
2022-03-25T14:03:53.000Z
admin_confirm/tests/unit/test_confirm_change_and_add_m2m_field.py
ballke-dev/django-admin-confirm
21f5a37c5ecf1fee30f95d8a2ce01207916a22f8
[ "Apache-2.0" ]
18
2020-11-26T02:05:47.000Z
2022-03-25T01:07:54.000Z
admin_confirm/tests/unit/test_confirm_change_and_add_m2m_field.py
ballke-dev/django-admin-confirm
21f5a37c5ecf1fee30f95d8a2ce01207916a22f8
[ "Apache-2.0" ]
5
2021-05-20T18:13:13.000Z
2022-03-24T09:48:45.000Z
from unittest import mock from django.urls import reverse from admin_confirm.tests.helpers import AdminConfirmTestCase from tests.market.admin import ShoppingMallAdmin from tests.market.models import ShoppingMall from tests.factories import ShopFactory @mock.patch.object(ShoppingMallAdmin, "inlines", []) class TestC...
41.533333
83
0.643413
884
8,099
5.725113
0.179864
0.080024
0.072713
0.034776
0.750049
0.727919
0.709544
0.69097
0.682276
0.667062
0
0.010214
0.250525
8,099
194
84
41.747423
0.823558
0.126312
0
0.626667
0
0
0.176262
0.11869
0
0
0
0
0.233333
1
0.04
false
0
0.04
0
0.086667
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
634b620d3bf0fe702f96136fc8ca37eade83522a
814
py
Python
packageopt/services/cruders/implementations/strategy_optimal_table_cruder.py
nspostnov/for-article-optimal-position-liquidation
857152b0450c39cfcdb3d329e57ed07efe344356
[ "MIT" ]
null
null
null
packageopt/services/cruders/implementations/strategy_optimal_table_cruder.py
nspostnov/for-article-optimal-position-liquidation
857152b0450c39cfcdb3d329e57ed07efe344356
[ "MIT" ]
null
null
null
packageopt/services/cruders/implementations/strategy_optimal_table_cruder.py
nspostnov/for-article-optimal-position-liquidation
857152b0450c39cfcdb3d329e57ed07efe344356
[ "MIT" ]
null
null
null
from ..abstract_base_classes.table_cruder_default import TableCRUDerDefault from ....models.strategy_optimal import StrategyOptimal __all__ = ['StrategyOptimalTableCRUDer'] class StrategyOptimalTableCRUDer(TableCRUDerDefault): def __init__(self, strategy_optimal_table, db_connection, modelclass=Str...
38.761905
75
0.771499
88
814
6.545455
0.340909
0.208333
0.243056
0.239583
0.190972
0
0
0
0
0
0
0
0.158477
814
20
76
40.7
0.840876
0
0
0
0
0
0.031941
0.031941
0
0
0
0
0
1
0.071429
false
0
0.142857
0
0.285714
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6359d8ddeb085c3edca93568f6506fbdc209d514
103
py
Python
Python 101/scope.py
PacktPublishing/The-Complete-Python-Course-including-Django-Web-Framework
402b35d4739ed91e50d6c3380cab6f085a46c52b
[ "MIT" ]
3
2021-07-09T01:24:20.000Z
2022-03-24T06:30:19.000Z
Python 101/scope.py
PacktPublishing/The-Complete-Python-Course-including-Django-Web-Framework
402b35d4739ed91e50d6c3380cab6f085a46c52b
[ "MIT" ]
null
null
null
Python 101/scope.py
PacktPublishing/The-Complete-Python-Course-including-Django-Web-Framework
402b35d4739ed91e50d6c3380cab6f085a46c52b
[ "MIT" ]
3
2021-07-01T21:52:53.000Z
2021-09-02T08:54:23.000Z
name = "Kalob" def myfunc(name): # name = "New name" return name print(myfunc()) print(name)
11.444444
23
0.61165
14
103
4.5
0.5
0
0
0
0
0
0
0
0
0
0
0
0.23301
103
8
24
12.875
0.797468
0.165049
0
0
0
0
0.059524
0
0
0
0
0
0
1
0.2
false
0
0
0.2
0.4
0.4
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
0
0
0
3
63617bf8804a4c2541ff24fbcd66a945828771df
1,105
py
Python
code-everyday-challenge/n169_binary_search.py
ved93/deliberate-practice-challenges
2fccdbb9d2baaa16f888055c081a8d04804c0045
[ "MIT" ]
null
null
null
code-everyday-challenge/n169_binary_search.py
ved93/deliberate-practice-challenges
2fccdbb9d2baaa16f888055c081a8d04804c0045
[ "MIT" ]
null
null
null
code-everyday-challenge/n169_binary_search.py
ved93/deliberate-practice-challenges
2fccdbb9d2baaa16f888055c081a8d04804c0045
[ "MIT" ]
null
null
null
def binary_search(input_array, value): """Your code goes here.""" # mid = len(input_array)//2 # if input_array[mid] < value: # return binary_search(input_array[mid+1:],value) # elif input_array[mid] > value: # return binary_search(input_array[:mid],value) # elif input_array[mid] == ...
26.309524
57
0.570136
149
1,105
4.040268
0.255034
0.265781
0.194352
0.209302
0.601329
0.481728
0.275748
0.275748
0.162791
0.162791
0
0.03871
0.298643
1,105
41
58
26.95122
0.738065
0.415385
0
0
0
0
0
0
0
0
0
0
0
1
0.058824
false
0
0
0
0.176471
0.117647
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
6391be395d2719a62562912395d1f1bec002e44f
618
py
Python
Functions/strip_en.py
fatmafarjallah/pythonCodes
0f12a29d1b24aaef99e0f7fe1717c01fc0f6e7b9
[ "MIT" ]
65
2018-06-29T16:37:54.000Z
2021-06-11T07:56:33.000Z
Functions/strip_en.py
fatmafarjallah/pythonCodes
0f12a29d1b24aaef99e0f7fe1717c01fc0f6e7b9
[ "MIT" ]
20
2018-06-29T18:01:56.000Z
2018-09-08T15:41:10.000Z
Functions/strip_en.py
fatmafarjallah/pythonCodes
0f12a29d1b24aaef99e0f7fe1717c01fc0f6e7b9
[ "MIT" ]
62
2018-06-29T17:21:26.000Z
2021-05-30T17:37:12.000Z
#strip() returns a copy of the string #in which all chars have been stripped #from the beginning and the end of the string #lstrip() removes leading characters (Left-strip) #rstrip() removes trailing characters (Right-strip) #Syntax #str.strip([chars]); #Example 1 #print Python a high level str = "Python a high...
21.310345
51
0.731392
94
618
4.808511
0.393617
0.066372
0.132743
0.199115
0.457965
0.400442
0.221239
0
0
0
0
0.003884
0.166667
618
28
52
22.071429
0.873786
0
0
0
0
0
0.421296
0
0
0
0
0
0
0
null
null
0
0
null
null
0.666667
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
1
0
0
0
0
0
0
1
0
3
639d6b569490753ae1c3788ece56431853f0ef0f
499
py
Python
parsec/commands/config/get_version.py
innovate-invent/parsec
d269e4b3fe0f8814c6416b6d2a6202519b940c66
[ "Apache-2.0" ]
null
null
null
parsec/commands/config/get_version.py
innovate-invent/parsec
d269e4b3fe0f8814c6416b6d2a6202519b940c66
[ "Apache-2.0" ]
null
null
null
parsec/commands/config/get_version.py
innovate-invent/parsec
d269e4b3fe0f8814c6416b6d2a6202519b940c66
[ "Apache-2.0" ]
null
null
null
import click from parsec.cli import pass_context, json_loads from parsec.decorators import custom_exception, dict_output @click.command('get_version') @pass_context @custom_exception @dict_output def cli(ctx): """Get the current version of the Galaxy instance. This functionality is available since Galaxy ``releas...
22.681818
118
0.717435
67
499
5.179104
0.61194
0.057637
0.10951
0.144092
0.149856
0
0
0
0
0
0
0.01956
0.180361
499
21
119
23.761905
0.828851
0.46493
0
0
0
0
0.042969
0
0
0
0
0
0
1
0.111111
false
0.222222
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
639dd2d46e6fe6c7fff7abe14ef801dfb8ea7789
53
py
Python
rest_fhir/__init__.py
weynelucas/django-rest-fhir
560a0aadd0cfa43b6dc58f995c86015f6eefb768
[ "MIT" ]
2
2021-05-07T12:16:27.000Z
2021-12-16T20:45:36.000Z
rest_fhir/__init__.py
weynelucas/django-rest-fhir
560a0aadd0cfa43b6dc58f995c86015f6eefb768
[ "MIT" ]
3
2021-05-10T19:40:33.000Z
2021-06-27T14:24:47.000Z
rest_fhir/__init__.py
weynelucas/django-rest-fhir
560a0aadd0cfa43b6dc58f995c86015f6eefb768
[ "MIT" ]
1
2021-08-09T22:00:22.000Z
2021-08-09T22:00:22.000Z
default_app_config = 'rest_fhir.apps.RestFhirConfig'
26.5
52
0.849057
7
53
6
1
0
0
0
0
0
0
0
0
0
0
0
0.056604
53
1
53
53
0.84
0
0
0
0
0
0.54717
0.54717
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
63d6364e01fb2343a93e9190dd5ec9bab3a37f42
225
py
Python
labeling_pipeline/scripts/label_spleen.py
AmirAlavi/scRNA-seq-celltype-and-tissue-markers
9d6649e75e002d2b0053f3ee2c74da146d5097ad
[ "BSD-3-Clause" ]
1
2021-11-03T19:53:45.000Z
2021-11-03T19:53:45.000Z
labeling_pipeline/scripts/label_spleen.py
AmirAlavi/scRNA-seq-celltype-and-tissue-markers
9d6649e75e002d2b0053f3ee2c74da146d5097ad
[ "BSD-3-Clause" ]
null
null
null
labeling_pipeline/scripts/label_spleen.py
AmirAlavi/scRNA-seq-celltype-and-tissue-markers
9d6649e75e002d2b0053f3ee2c74da146d5097ad
[ "BSD-3-Clause" ]
null
null
null
import anndata adata = anndata.read_h5ad(snakemake.input[0]) print(adata.shape) adata = adata[adata.obs["celltype"].notna() & (adata.obs["celltype"] != "low-quality")] print(adata.shape) adata.write(snakemake.output[0])
28.125
87
0.72
31
225
5.193548
0.548387
0.124224
0.186335
0.248447
0
0
0
0
0
0
0
0.014634
0.088889
225
8
88
28.125
0.770732
0
0
0.333333
0
0
0.119469
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.333333
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8926e56139ffa4920903be26e85c580ca2377074
72
py
Python
hello.py
lazyxu/pythonvm
8c25acc6ee1e01a0bb65bb35aae987264d6876aa
[ "MIT" ]
null
null
null
hello.py
lazyxu/pythonvm
8c25acc6ee1e01a0bb65bb35aae987264d6876aa
[ "MIT" ]
null
null
null
hello.py
lazyxu/pythonvm
8c25acc6ee1e01a0bb65bb35aae987264d6876aa
[ "MIT" ]
null
null
null
i = 0 while i < 5: i = i + 1 if i > 3: break print(i)
8
13
0.375
14
72
1.928571
0.642857
0
0
0
0
0
0
0
0
0
0
0.111111
0.5
72
8
14
9
0.638889
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
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
0
0
0
0
0
3
892c985898df24c4572191d8ac254b4e054facf3
679
py
Python
hw_asr/augmentations/wave_augmentations/TimeStretch.py
isdevnull/asr_hw
9650506b80d4e38574b63390f79a6f01786b7d18
[ "MIT" ]
null
null
null
hw_asr/augmentations/wave_augmentations/TimeStretch.py
isdevnull/asr_hw
9650506b80d4e38574b63390f79a6f01786b7d18
[ "MIT" ]
null
null
null
hw_asr/augmentations/wave_augmentations/TimeStretch.py
isdevnull/asr_hw
9650506b80d4e38574b63390f79a6f01786b7d18
[ "MIT" ]
null
null
null
import torch from librosa.effects import time_stretch from hw_asr.augmentations.base import AugmentationBase from hw_asr.augmentations.random_apply import RandomApply class StretchWrapper: def __init__(self, rate: float, *args, **kwargs): self.rate = rate def __call__(self, data): return tim...
29.521739
84
0.717231
84
679
5.511905
0.380952
0.086393
0.090713
0.095032
0
0
0
0
0
0
0
0
0.172312
679
22
85
30.863636
0.823843
0
0
0
0
0
0
0
0
0
0
0
0
1
0.266667
false
0
0.266667
0.133333
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
892dcecba8714bb99188473087849f1645545d66
123
py
Python
benchmark/python/guava/index.py
timgates42/guava
4598260858833434df529ae2cd5efcb445593089
[ "BSD-3-Clause" ]
11
2018-06-19T03:18:00.000Z
2021-02-26T10:52:08.000Z
benchmark/python/guava/index.py
timgates42/guava
4598260858833434df529ae2cd5efcb445593089
[ "BSD-3-Clause" ]
1
2015-01-05T09:19:41.000Z
2015-01-06T00:28:54.000Z
benchmark/python/guava/index.py
flatpeach/guava
4598260858833434df529ae2cd5efcb445593089
[ "BSD-3-Clause" ]
5
2018-06-19T03:18:08.000Z
2021-12-25T05:11:17.000Z
import guava class IndexController(guava.controller.Controller): def index(self): self.write("Hello World!")
17.571429
51
0.707317
14
123
6.214286
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.178862
123
6
52
20.5
0.861386
0
0
0
0
0
0.097561
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
0
0
0
3
8938c7f0195ed08961ef158879b36fd1feec224e
979
py
Python
stock_ascending_auction_experiment.py
dvirg/auctions
da706f3d11b9582c7f811de9f50b96b43ac8cbd0
[ "MIT" ]
1
2021-11-20T19:27:45.000Z
2021-11-20T19:27:45.000Z
stock_ascending_auction_experiment.py
dvirg/auctions
da706f3d11b9582c7f811de9f50b96b43ac8cbd0
[ "MIT" ]
null
null
null
stock_ascending_auction_experiment.py
dvirg/auctions
da706f3d11b9582c7f811de9f50b96b43ac8cbd0
[ "MIT" ]
null
null
null
#!python3 """ Perform a simulation experiment with the ascending auction, similar to the one described by McAfee (1992), Table I (page 448). Author: Dvir Gilor Since: 2020-08 """ from stock_experiment import experiment from ascending_auction_protocol import budget_balanced_ascending_auction import sys results_fil...
32.633333
126
0.828396
135
979
5.659259
0.303704
0.209424
0.210733
0.274869
0.560209
0.560209
0.560209
0.560209
0.560209
0.560209
0
0.033708
0.090909
979
29
127
33.758621
0.824719
0.174668
0
0
0
0
0.091364
0.051314
0
0
0
0
0
1
0
false
0
0.272727
0
0.272727
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
893c0f399cde532b3d35f70f0266566467bbc610
962
py
Python
helpscout/exceptions.py
physera/python-helpscout
84bf669417d72ca19641a02c9a660e1ae4271de4
[ "MIT" ]
6
2017-09-20T15:22:21.000Z
2021-12-15T11:24:17.000Z
helpscout/exceptions.py
physera/python-helpscout
84bf669417d72ca19641a02c9a660e1ae4271de4
[ "MIT" ]
39
2017-09-15T21:22:31.000Z
2019-03-15T05:06:00.000Z
helpscout/exceptions.py
physera/python-helpscout
84bf669417d72ca19641a02c9a660e1ae4271de4
[ "MIT" ]
6
2018-03-15T09:40:46.000Z
2019-03-15T04:51:23.000Z
# -*- coding: utf-8 -*- # Copyright 2017-TODAY LasLabs Inc. # License MIT (https://opensource.org/licenses/MIT). class HelpScoutException(Exception): """Base exception for HelpScout library errors.""" def __init__(self, message): self.message = message def __str__(self): return str(self....
28.294118
78
0.713098
103
962
6.427184
0.572816
0.066465
0.063444
0.05136
0.069486
0
0
0
0
0
0
0.006329
0.178794
962
33
79
29.151515
0.831646
0.366944
0
0.153846
0
0
0.011945
0
0
0
0
0
0
1
0.307692
false
0
0
0.153846
0.769231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
8982c667c43babde87e703a8deb18d56a56f0734
236
py
Python
statistical_test/fishers_exact.py
nishimoto/py_r_stats
1e4a2dbe68feb25d34f2cbf1a769cb44238ae6cd
[ "MIT" ]
null
null
null
statistical_test/fishers_exact.py
nishimoto/py_r_stats
1e4a2dbe68feb25d34f2cbf1a769cb44238ae6cd
[ "MIT" ]
null
null
null
statistical_test/fishers_exact.py
nishimoto/py_r_stats
1e4a2dbe68feb25d34f2cbf1a769cb44238ae6cd
[ "MIT" ]
null
null
null
#!/usr/bin/env python import scipy.stats as st # scipy version 1.3.1 data = [[367, 1364], [344, 126]] print(st.fisher_exact(data)[1]) # => 2.6906937468576903e-96 # 参考値:カイ二乗検定 # st.chi2_contingency(data)[1] # => 7.565461964935766e-101
26.222222
59
0.690678
38
236
4.236842
0.789474
0.062112
0
0
0
0
0
0
0
0
0
0.275362
0.122881
236
8
60
29.5
0.502415
0.563559
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
89a0f2b6d05a6c3c7cc457429dbe540c46b23937
1,936
py
Python
L09_packet_dir/L09_T01_class_point2d.py
github-Ilfat/All_Lesson_of_Python
fbab364fe91e05e08658662b16470a1809b6b2b0
[ "MIT" ]
null
null
null
L09_packet_dir/L09_T01_class_point2d.py
github-Ilfat/All_Lesson_of_Python
fbab364fe91e05e08658662b16470a1809b6b2b0
[ "MIT" ]
null
null
null
L09_packet_dir/L09_T01_class_point2d.py
github-Ilfat/All_Lesson_of_Python
fbab364fe91e05e08658662b16470a1809b6b2b0
[ "MIT" ]
null
null
null
# Пример класса по определению расстояния до указанных координат на плоскости начиная с пересечения осей x и y (0) #----------------------------------------------------------------------------------------------------------------- # по соглашению программистов, имена классов пишутся с Большой буквы class Point2D: # ...
48.4
114
0.577479
258
1,936
4.27907
0.352713
0.027174
0.040761
0.059783
0.216486
0.161232
0.067029
0.067029
0.067029
0
0
0.025063
0.17562
1,936
40
115
48.4
0.666667
0.476756
0
0
0
0.041667
0.377377
0
0
0
0
0
0
1
0.208333
false
0
0
0.166667
0.416667
0.416667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
1
0
3
89bcaccb8d31304a035ab9f53799a477c7ca219a
826
py
Python
proyectofinal/user/models.py
Syferk/trabajofinal
54f778fc8b6e21a845702b43524b88c98badd52d
[ "MIT" ]
1
2021-09-05T22:34:26.000Z
2021-09-05T22:34:26.000Z
proyectofinal/user/models.py
Syferk/trabajofinal
54f778fc8b6e21a845702b43524b88c98badd52d
[ "MIT" ]
null
null
null
proyectofinal/user/models.py
Syferk/trabajofinal
54f778fc8b6e21a845702b43524b88c98badd52d
[ "MIT" ]
3
2021-09-05T23:30:15.000Z
2021-09-07T02:25:26.000Z
from django.db import models from django.contrib.auth.models import User class Users(models.Model): user=models.OneToOneField(User,on_delete=models.CASCADE) profile_pic= models.ImageField(upload_to='profile_pic/user/',null=True,blank=True) address = models.CharField(max_length=40) mobile = models.Char...
28.482759
86
0.700969
113
826
4.929204
0.389381
0.10772
0.150808
0.16158
0.096948
0.096948
0
0
0
0
0
0.006061
0.200969
826
28
87
29.5
0.837879
0
0
0.208333
0
0
0.021792
0
0
0
0
0
0
1
0.25
false
0
0.083333
0.25
0.791667
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
0
0
0
3
98440f5fa0cc46e43e3d5f0e651c22cfcee964a3
309
py
Python
load.py
osm-ca/mapproxy-config-faramir
ce7ffb5d0d4c7305490f2231673b934d4a250149
[ "MIT" ]
null
null
null
load.py
osm-ca/mapproxy-config-faramir
ce7ffb5d0d4c7305490f2231673b934d4a250149
[ "MIT" ]
1
2021-02-18T20:51:36.000Z
2021-02-18T20:51:36.000Z
load.py
osm-ca/mapproxy-config-faramir
ce7ffb5d0d4c7305490f2231673b934d4a250149
[ "MIT" ]
null
null
null
# WSGI module for use with Apache mod_wsgi or gunicorn from logging.config import fileConfig import os.path fileConfig(r'/srv/mapproxy/etc/config/log.ini', {'here': os.path.dirname(__file__)}) from mapproxy.wsgiapp import make_wsgi_app application = make_wsgi_app(r'/srv/mapproxy/etc/config/mapproxy.yaml')
34.333333
84
0.796117
49
309
4.836735
0.612245
0.050633
0.101266
0.126582
0.177215
0
0
0
0
0
0
0
0.090615
309
8
85
38.625
0.843416
0.168285
0
0
0
0
0.290196
0.27451
0
0
0
0
0
1
0
false
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
985face30a01bfc0eb4aa275d386611aeb913cbc
2,085
py
Python
gpas_uploader_validate/UploadCheckSchema.py
GenomePathogenAnalysisService/gpas-uploader-validate
67ab9d14ff8448f95be370ffc2789739e348571f
[ "MIT" ]
null
null
null
gpas_uploader_validate/UploadCheckSchema.py
GenomePathogenAnalysisService/gpas-uploader-validate
67ab9d14ff8448f95be370ffc2789739e348571f
[ "MIT" ]
null
null
null
gpas_uploader_validate/UploadCheckSchema.py
GenomePathogenAnalysisService/gpas-uploader-validate
67ab9d14ff8448f95be370ffc2789739e348571f
[ "MIT" ]
null
null
null
import os import pandera from pandera.typing import Index, DataFrame, Series from gpas_uploader_validate import BaseCheckSchema class IlluminaFASTQCheckSchema(BaseCheckSchema): ''' panderas Schema Model for upload CSVs containing Illumina paired reads ''' # validate that the fastq1 file is alphanum...
36.578947
128
0.691607
294
2,085
4.816327
0.241497
0.039548
0.042373
0.059322
0.606638
0.503531
0.487994
0.487994
0.344633
0.344633
0
0.012934
0.184173
2,085
56
129
37.232143
0.819518
0.534772
0
0
0
0
0.118494
0
0
0
0
0
0
1
0
true
0
0.363636
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
98634754255b946d32ebe403f4a58bfc20330fdb
329
py
Python
snake/imgProvider.py
pavlass2/snake
e81d1f1394c173c17e2a1007dc11501b63d96ac9
[ "MIT" ]
null
null
null
snake/imgProvider.py
pavlass2/snake
e81d1f1394c173c17e2a1007dc11501b63d96ac9
[ "MIT" ]
null
null
null
snake/imgProvider.py
pavlass2/snake
e81d1f1394c173c17e2a1007dc11501b63d96ac9
[ "MIT" ]
null
null
null
#!/usr/bin/python import os import pyglet class ImgProvider: def __init__(self, path='img'): self.snake_img = pyglet.image.load(os.path.join('img', 'snake.png')) self.apple_img = pyglet.image.load(os.path.join('img', 'apple.png')) self.wall_img = pyglet.image.load(os.path.join('img', 'wal...
27.416667
76
0.653495
50
329
4.16
0.4
0.129808
0.201923
0.259615
0.447115
0.447115
0.447115
0.447115
0
0
0
0
0.161094
329
11
77
29.909091
0.753623
0.048632
0
0
0
0
0.121795
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
987dcc56131c25e5a63b87a67c447f749b017038
146
py
Python
3.Python/Sreelakshmi-M.py
ansanpsam/Learn-Coding
8c1a789c4645f1eaf9fee9da82ae11b614d6f7e5
[ "MIT" ]
54
2020-10-01T07:06:36.000Z
2021-10-21T03:24:30.000Z
3.Python/Sreelakshmi-M.py
ansanpsam/Learn-Coding
8c1a789c4645f1eaf9fee9da82ae11b614d6f7e5
[ "MIT" ]
19
2020-10-01T13:04:55.000Z
2020-10-27T06:10:52.000Z
3.Python/Sreelakshmi-M.py
ansanpsam/Learn-Coding
8c1a789c4645f1eaf9fee9da82ae11b614d6f7e5
[ "MIT" ]
97
2020-10-01T07:07:17.000Z
2021-10-21T03:25:20.000Z
name, age = "Sreelakshmi", 19 username = "Sreelakshmi-M.py" print ('Hello!') print("Name: {}\nAge: {}\nUsername: {}".format(name, age, username))
29.2
68
0.650685
18
146
5.277778
0.666667
0.147368
0
0
0
0
0
0
0
0
0
0.015385
0.109589
146
4
69
36.5
0.715385
0
0
0
0
0
0.438356
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
9886df7c1e16c92c36b27f8b8073081464355ffe
52
py
Python
app/models/__init__.py
dyachoksa/contacts-app
18468a3ba8a7ff4e74d18bb15ef0b676c34661cd
[ "MIT" ]
null
null
null
app/models/__init__.py
dyachoksa/contacts-app
18468a3ba8a7ff4e74d18bb15ef0b676c34661cd
[ "MIT" ]
null
null
null
app/models/__init__.py
dyachoksa/contacts-app
18468a3ba8a7ff4e74d18bb15ef0b676c34661cd
[ "MIT" ]
1
2021-02-25T18:56:13.000Z
2021-02-25T18:56:13.000Z
from .contact import Contact __all__ = ["Contact"]
13
28
0.730769
6
52
5.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.153846
52
3
29
17.333333
0.772727
0
0
0
0
0
0.134615
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7f3cdc96cbd73d7e5de95d60b606ec7e2c2d616e
216
py
Python
coding/ex12.py
Hira63S/KnightRyder
d4b7238d8fc8dfcdfbbb9fd5d232f6273c76840e
[ "MIT" ]
1
2020-12-19T15:44:25.000Z
2020-12-19T15:44:25.000Z
coding/ex12.py
Hira63S/PythonPractice
5eadc04f2fb056b04db59a658d5914ea847be7d2
[ "MIT" ]
null
null
null
coding/ex12.py
Hira63S/PythonPractice
5eadc04f2fb056b04db59a658d5914ea847be7d2
[ "MIT" ]
null
null
null
age = input("How old are you babe?") race = input("What race are you?") identity = input("How do you identify yourself. a no:") print(f"So if you are {age} old, and you are from {race}, you identify as {identity}")
36
86
0.680556
39
216
3.769231
0.564103
0.108844
0
0
0
0
0
0
0
0
0
0
0.175926
216
5
87
43.2
0.825843
0
0
0
0
0.25
0.694444
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7f3f50b1942cee6857662a6be802b836b21c5593
106
py
Python
django_auth_ldap/__init__.py
vilhelmen/django-auth-ldap
ce3ba35815d083e7715f9544ba9daa2d8199b0cb
[ "BSD-2-Clause" ]
1
2019-01-25T20:15:42.000Z
2019-01-25T20:15:42.000Z
django_auth_ldap/__init__.py
TLMcNulty/django-auth-ldap
4de559f4c2876eb20831a3ced376ea570b56b0a9
[ "BSD-2-Clause" ]
null
null
null
django_auth_ldap/__init__.py
TLMcNulty/django-auth-ldap
4de559f4c2876eb20831a3ced376ea570b56b0a9
[ "BSD-2-Clause" ]
null
null
null
from __future__ import unicode_literals version = (1, 7, 0) version_string = ".".join(map(str, version))
21.2
44
0.726415
15
106
4.733333
0.866667
0
0
0
0
0
0
0
0
0
0
0.032609
0.132075
106
4
45
26.5
0.73913
0
0
0
0
0
0.009434
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7f46037f54c9ef9416d846890e0d312ec311638d
1,276
py
Python
ymlref/api.py
dexter2206/ymlref
df61664f4800ede0f72d4741ffc40c37d03f3ffe
[ "MIT" ]
null
null
null
ymlref/api.py
dexter2206/ymlref
df61664f4800ede0f72d4741ffc40c37d03f3ffe
[ "MIT" ]
1
2018-12-14T00:08:11.000Z
2018-12-14T00:08:11.000Z
ymlref/api.py
dexter2206/ymlref
df61664f4800ede0f72d4741ffc40c37d03f3ffe
[ "MIT" ]
null
null
null
"""Publicly exposed API.""" from io import StringIO import yaml from ymlref.proxies import MappingProxy from ymlref.ref_loaders import ReferenceLoader def load(stream, ref_loader=None, raw_loader=yaml.load): """Load YAML docfrom a given stream. :param stream: file-like object to read a document from. :ty...
41.16129
98
0.740596
188
1,276
4.920213
0.420213
0.097297
0.032432
0.034595
0.082162
0.082162
0.082162
0.082162
0.082162
0
0
0
0.175549
1,276
30
99
42.533333
0.879278
0.579937
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.444444
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
7f6e1637a4fad139dcdfbe442b0a9e8ddf4a4f9d
537
py
Python
hsdecomp/parse/disasm.py
popjy0312/hsdecomp
f89a8d6c98c864fa45ee80b92221a973d81bac31
[ "MIT" ]
99
2016-01-05T00:43:33.000Z
2021-08-06T15:23:34.000Z
hsdecomp/parse/disasm.py
popjy0312/hsdecomp
f89a8d6c98c864fa45ee80b92221a973d81bac31
[ "MIT" ]
5
2017-12-29T09:02:56.000Z
2020-12-07T01:54:19.000Z
hsdecomp/parse/disasm.py
popjy0312/hsdecomp
f89a8d6c98c864fa45ee80b92221a973d81bac31
[ "MIT" ]
21
2016-01-27T21:24:41.000Z
2020-11-28T09:11:18.000Z
import capstone def disasm_from_raw(settings, address, num_insns): return settings.capstone.disasm(settings.binary[settings.text_offset + address:], address, num_insns) def disasm_from(settings, address): return disasm_from_until(settings, address, lambda insn: insn.mnemonic == 'jmp') def disasm_from_until(s...
33.5625
105
0.690875
66
537
5.439394
0.424242
0.139276
0.108635
0.116992
0.32312
0
0
0
0
0
0
0.004773
0.219739
537
15
106
35.8
0.852029
0
0
0
0
0
0.005587
0
0
0
0
0
0
1
0.25
false
0
0.083333
0.166667
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7f756b17fda8a001618f77081aa936a3e617bbc5
332
py
Python
autocheckin/arguments.py
bahmanh/Auto-Flight-Check-In
611fa189a54f03727c479241dfb703da05621236
[ "MIT" ]
5
2016-03-14T03:27:39.000Z
2021-11-21T23:11:21.000Z
autocheckin/arguments.py
bahmanh/Auto-Flight-Check-In
611fa189a54f03727c479241dfb703da05621236
[ "MIT" ]
null
null
null
autocheckin/arguments.py
bahmanh/Auto-Flight-Check-In
611fa189a54f03727c479241dfb703da05621236
[ "MIT" ]
null
null
null
#author: Bahman H import argparse def getArgs(): parser = argparse.ArgumentParser() parser.add_argument("firstName", help="First name of passenger") parser.add_argument("lastName", help="Lase name of passenger") parser.add_argument("confNum", help="Confirmation number of flights") return parser.pa...
27.666667
73
0.731928
41
332
5.829268
0.634146
0.112971
0.213389
0.175732
0.267782
0.267782
0
0
0
0
0
0
0.150602
332
11
74
30.181818
0.847518
0.048193
0
0
0
0
0.315287
0
0
0
0
0
0
1
0.142857
false
0.285714
0.142857
0
0.428571
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
7f7863311fb25488ab49af1c1a96e6cc05646f49
155
py
Python
Code Forces/Round 645/C.py
mishrakeshav/Competitive-Programming
b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2
[ "MIT" ]
2
2020-06-25T21:10:32.000Z
2020-12-10T06:53:45.000Z
Code Forces/Round 645/C.py
mishrakeshav/Competitive-Programming
b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2
[ "MIT" ]
null
null
null
Code Forces/Round 645/C.py
mishrakeshav/Competitive-Programming
b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2
[ "MIT" ]
3
2020-05-15T14:17:09.000Z
2021-07-25T13:18:20.000Z
if __name__ == '__main__': for t in range(int(input())): x1, y1, x2, y2 = map(int, input().split()) print((x2 - x1) * (y2 - y1) + 1)
22.142857
50
0.483871
23
155
2.913043
0.73913
0.238806
0
0
0
0
0
0
0
0
0
0.082569
0.296774
155
6
51
25.833333
0.53211
0
0
0
0
0
0.052288
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7f92b4a498e6a14957641b6eb61a9cb579515800
112
py
Python
__init__.py
kylestach/learn-you-a-soccer
e4163602ffb73b51d1b9ab35e75f2033f7179fff
[ "MIT" ]
1
2021-07-27T12:47:57.000Z
2021-07-27T12:47:57.000Z
__init__.py
kylestach/learn-you-a-soccer
e4163602ffb73b51d1b9ab35e75f2033f7179fff
[ "MIT" ]
null
null
null
__init__.py
kylestach/learn-you-a-soccer
e4163602ffb73b51d1b9ab35e75f2033f7179fff
[ "MIT" ]
null
null
null
from gym.envs.registration import register register( id='RoboCup-collect-v0', entry_point='RoboCup', )
16
42
0.723214
14
112
5.714286
0.857143
0
0
0
0
0
0
0
0
0
0
0.010526
0.151786
112
6
43
18.666667
0.831579
0
0
0
0
0
0.223214
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
7f9c85c6bbc0d314d57a092279c3ac710d46f9a6
322
py
Python
Lec2.py
LoganHowardJMU2024/IA241-Github
d5e9ee2fffda3f06ac73f8c8b8553ecc32aeac44
[ "MIT" ]
null
null
null
Lec2.py
LoganHowardJMU2024/IA241-Github
d5e9ee2fffda3f06ac73f8c8b8553ecc32aeac44
[ "MIT" ]
null
null
null
Lec2.py
LoganHowardJMU2024/IA241-Github
d5e9ee2fffda3f06ac73f8c8b8553ecc32aeac44
[ "MIT" ]
null
null
null
""" lec 2 this is a regional comment """ #print("hello world") # this is a single line comment #print(type( 123 ) ) #print( type(123.) ) #print(type ("123") ) #print("Tom's cat") #print( "Hello " + "World" ) #my_int = 123 #print(my_int) #my_int = 321 #print(my_int) my_str = "hello world" print(my_str.upper(...
11.925926
53
0.621118
52
322
3.730769
0.423077
0.164948
0.185567
0.262887
0.21134
0.21134
0.21134
0
0
0
0
0.061069
0.186335
322
27
54
11.925926
0.679389
0.73913
0
0
0
0
0.166667
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
7fba1ab271d560a5d3aaabbb51f56ba354011f9a
303
py
Python
tests/_type/test_type_name_interface.py
ynsnf/apysc
b10ffaf76ec6beb187477d0a744fca00e3efc3fb
[ "MIT" ]
16
2021-04-16T02:01:29.000Z
2022-01-01T08:53:49.000Z
tests/_type/test_type_name_interface.py
ynsnf/apysc
b10ffaf76ec6beb187477d0a744fca00e3efc3fb
[ "MIT" ]
613
2021-03-24T03:37:38.000Z
2022-03-26T10:58:37.000Z
tests/_type/test_type_name_interface.py
simon-ritchie/apyscript
c319f8ab2f1f5f7fad8d2a8b4fc06e7195476279
[ "MIT" ]
2
2021-06-20T07:32:58.000Z
2021-12-26T08:22:11.000Z
from apysc._type.type_name_interface import TypeNameInterface class TestTypeNameInterface: def test_type_name(self) -> None: interface: TypeNameInterface = TypeNameInterface() interface._type_name = 'test_type_name' assert interface.type_name == 'test_type_name'
30.3
62
0.729373
32
303
6.53125
0.4375
0.229665
0.172249
0.200957
0.277512
0.277512
0
0
0
0
0
0
0.20132
303
9
63
33.666667
0.863636
0
0
0
0
0
0.095238
0
0
0
0
0
0.166667
1
0.166667
false
0
0.166667
0
0.5
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f68187a500c6bb9126fe56fd66a3244b39834d9a
1,066
py
Python
jaqs/util/pdutil.py
WayneWan413/JAQS
e7362fc261f49dd7a4353c9a9a3f98d6ef9a78b4
[ "Apache-2.0" ]
null
null
null
jaqs/util/pdutil.py
WayneWan413/JAQS
e7362fc261f49dd7a4353c9a9a3f98d6ef9a78b4
[ "Apache-2.0" ]
null
null
null
jaqs/util/pdutil.py
WayneWan413/JAQS
e7362fc261f49dd7a4353c9a9a3f98d6ef9a78b4
[ "Apache-2.0" ]
null
null
null
# encoding: utf-8 import numpy as np import pandas as pd from jaqs.util import numeric def to_quantile(df, n_quantiles=5, axis=1): """ Convert cross-section values to the quantile number they belong. Small values get small quantile numbers. Parameters ---------- df : DataFrame i...
23.688889
91
0.660413
148
1,066
4.668919
0.513514
0.057887
0.052098
0.069465
0.089725
0
0
0
0
0
0
0.00369
0.237336
1,066
44
92
24.227273
0.846248
0.45591
0
0.153846
0
0
0
0
0
0
0
0.022727
0
1
0.230769
false
0
0.230769
0.076923
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
f6a2afca711c5f1ebb9bbb12bc0e4daaba68c863
223
py
Python
fepy/test.py
kdart/pycopia
1446fabaedf8c6bdd4ab1fc3f0ea731e0ef8da9d
[ "Apache-2.0" ]
89
2015-03-26T11:25:20.000Z
2022-01-12T06:25:14.000Z
fepy/test.py
kdart/pycopia
1446fabaedf8c6bdd4ab1fc3f0ea731e0ef8da9d
[ "Apache-2.0" ]
1
2015-07-05T03:27:43.000Z
2015-07-11T06:21:20.000Z
fepy/test.py
kdart/pycopia
1446fabaedf8c6bdd4ab1fc3f0ea731e0ef8da9d
[ "Apache-2.0" ]
30
2015-04-30T01:35:54.000Z
2022-01-12T06:19:49.000Z
""" """ import unittest class FepyTests(unittest.TestCase): def setUp(self): pass def test_works(self): """Test documentation.""" pass if __name__ == '__main__': unittest.main()
10.619048
35
0.573991
22
223
5.409091
0.681818
0
0
0
0
0
0
0
0
0
0
0
0.286996
223
20
36
11.15
0.748428
0.085202
0
0.25
0
0
0.042553
0
0
0
0
0
0
1
0.25
false
0.25
0.125
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
f6c84adbd5f285d2619995b5a5f24dd5aa23a507
5,937
py
Python
pfwra/contactforms/migrations/0001_initial.py
johnkellehernz/pfwra
5b8c718bb2f1aaa34e9a718e07baf270294f7ba6
[ "MIT" ]
null
null
null
pfwra/contactforms/migrations/0001_initial.py
johnkellehernz/pfwra
5b8c718bb2f1aaa34e9a718e07baf270294f7ba6
[ "MIT" ]
null
null
null
pfwra/contactforms/migrations/0001_initial.py
johnkellehernz/pfwra
5b8c718bb2f1aaa34e9a718e07baf270294f7ba6
[ "MIT" ]
null
null
null
# Generated by Django 3.0.11 on 2021-04-09 07:21 from django.db import migrations, models import django.db.models.deletion import modelcluster.fields import wagtail.core.blocks import wagtail.core.fields import wagtail.embeds.blocks import wagtail.images.blocks class Migration(migrations.Migration): initial = T...
98.95
1,145
0.677615
699
5,937
5.640916
0.283262
0.066954
0.09054
0.052752
0.560994
0.534111
0.477048
0.448643
0.448643
0.412884
0
0.013473
0.149907
5,937
59
1,146
100.627119
0.767783
0.007748
0
0.230769
1
0
0.289862
0.031754
0
0
0
0
0
1
0
false
0
0.134615
0
0.211538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f6c9c0d36f0c1a1f034b8de7ff0b2d22a637dab9
16,920
py
Python
tests/swig/check_cdtext.py
rjek/libcueify
9acbc0a9409cf23d4fdc87e52b43bf20fb29965b
[ "MIT" ]
2
2016-02-23T13:26:33.000Z
2017-09-26T08:44:20.000Z
tests/swig/check_cdtext.py
rjek/libcueify
9acbc0a9409cf23d4fdc87e52b43bf20fb29965b
[ "MIT" ]
2
2015-01-25T16:58:48.000Z
2015-01-25T17:00:32.000Z
tests/swig/check_cdtext.py
rjek/libcueify
9acbc0a9409cf23d4fdc87e52b43bf20fb29965b
[ "MIT" ]
1
2020-05-05T10:09:16.000Z
2020-05-05T10:09:16.000Z
# check_cdtext.py - Unit tests for SWIG-based libcueify CD-Text APIs # # Copyright (c) 2011, 2012 Ian Jacobi <pipian@pipian.com> # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation # files (the "Software"), to deal in the Software without # r...
38.986175
88
0.657388
2,461
16,920
4.495733
0.182446
0.124367
0.132321
0.13449
0.423174
0.394071
0.373915
0.340293
0.305315
0.265365
0
0.3468
0.201241
16,920
433
89
39.076212
0.471846
0.077955
0
0.178571
0
0.007653
0.025172
0.011494
0
0
0.421756
0
0.165816
1
0.012755
false
0
0.010204
0
0.02551
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
3
f6d45d9d3918b941d4cfaebe8aa21f21bdd496f3
31
py
Python
wildlifecompliance/components/applications/permissions.py
preranaandure/wildlifecompliance
bc19575f7bccf7e19adadbbaf5d3eda1d1aee4b5
[ "Apache-2.0" ]
1
2020-12-07T17:12:40.000Z
2020-12-07T17:12:40.000Z
wildlifecompliance/components/applications/permissions.py
preranaandure/wildlifecompliance
bc19575f7bccf7e19adadbbaf5d3eda1d1aee4b5
[ "Apache-2.0" ]
14
2020-01-08T08:08:26.000Z
2021-03-19T22:59:46.000Z
wildlifecompliance/components/applications/permissions.py
preranaandure/wildlifecompliance
bc19575f7bccf7e19adadbbaf5d3eda1d1aee4b5
[ "Apache-2.0" ]
15
2020-01-08T08:02:28.000Z
2021-11-03T06:48:32.000Z
CUSTOM_GROUP_PERMISSIONS = { }
15.5
29
0.774194
3
31
7.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.129032
31
2
30
15.5
0.814815
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
100576f53c10e1d909ea433beed897d0f79b7205
2,861
py
Python
maya/analytics/decorators.py
arjun-namdeo/py_stubs
605bb167e239978f5417f3f1fc1f5c12e2a243cc
[ "MIT" ]
null
null
null
maya/analytics/decorators.py
arjun-namdeo/py_stubs
605bb167e239978f5417f3f1fc1f5c12e2a243cc
[ "MIT" ]
null
null
null
maya/analytics/decorators.py
arjun-namdeo/py_stubs
605bb167e239978f5417f3f1fc1f5c12e2a243cc
[ "MIT" ]
null
null
null
""" Collection of decorators for use with Maya analaytics. There are three decorators defined here. You should use all three so that your decorators become easily self-documented. @addMethodDocs # Embed method docs into class docs @addHelp # Print class docs from a method @makeAnalytic ...
29.193878
95
0.683677
394
2,861
4.911168
0.36802
0.020672
0.035142
0.039276
0.45168
0.44031
0.415504
0.415504
0.415504
0.415504
0
0.003802
0.264593
2,861
97
96
29.494845
0.915875
0.795177
0
0.461538
0
0
0
0
0
0
0
0
0
1
0.461538
false
0.461538
0.076923
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
0
0
0
1
0
1
0
0
1
0
0
3
100736eb4cc4e3a67670c20510efbd671e27cf28
3,629
py
Python
pythonproject4/activity/ub.py
Mr-chenyicai/likepython
d980e7b2057cda66ea28cb86bf2556a63252bd92
[ "Apache-2.0" ]
null
null
null
pythonproject4/activity/ub.py
Mr-chenyicai/likepython
d980e7b2057cda66ea28cb86bf2556a63252bd92
[ "Apache-2.0" ]
null
null
null
pythonproject4/activity/ub.py
Mr-chenyicai/likepython
d980e7b2057cda66ea28cb86bf2556a63252bd92
[ "Apache-2.0" ]
null
null
null
# 选择级别页面,生成订单 import json import urllib.request import requests from activity.uc import c_url # 构建url # 构建请求头部 def b_url(uid): url = "https://test.meixiu.mobi/api/o/v1/buy/distributeAndFission" header = { "authority": "test.meixiu.mobi", "method": "POST", "path": "/api/o/v1/buy/distribut...
52.594203
1,200
0.681455
418
3,629
5.80622
0.555024
0.011537
0.028842
0.023486
0.112897
0.088999
0.088999
0.055212
0.055212
0
0
0.186419
0.155966
3,629
68
1,201
53.367647
0.605942
0.01488
0
0
0
0.065574
0.701794
0.40583
0
0
0
0
0
1
0.016393
false
0
0.065574
0
0.098361
0.081967
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1012b93dae7568ca5be25d289bddee2dc134af9f
79
py
Python
src/mediaconversion/model/__init__.py
alfredo-milani/VideoConverter
d8b8ec1ffd93119fdb4f83e0e5252710a1ee1290
[ "MIT" ]
null
null
null
src/mediaconversion/model/__init__.py
alfredo-milani/VideoConverter
d8b8ec1ffd93119fdb4f83e0e5252710a1ee1290
[ "MIT" ]
null
null
null
src/mediaconversion/model/__init__.py
alfredo-milani/VideoConverter
d8b8ec1ffd93119fdb4f83e0e5252710a1ee1290
[ "MIT" ]
1
2020-01-04T15:50:39.000Z
2020-01-04T15:50:39.000Z
from mediaconversion.model.MediaInfo import MediaInfo __all__ = ["MediaInfo"]
19.75
53
0.810127
8
79
7.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.101266
79
3
54
26.333333
0.84507
0
0
0
0
0
0.113924
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1200244850638dcc21967f643b5b6bb1c8080317
516
py
Python
supersuit/generic_wrappers/__init__.py
PettingZoo-Team/SuperSu
3c4e364b4744649cb9eaa9201d70b5be3d43730f
[ "MIT" ]
237
2020-05-29T04:21:08.000Z
2021-10-08T05:37:43.000Z
supersuit/generic_wrappers/__init__.py
PettingZoo-Team/SuperSu
3c4e364b4744649cb9eaa9201d70b5be3d43730f
[ "MIT" ]
58
2020-07-19T18:44:16.000Z
2021-10-13T03:26:29.000Z
supersuit/generic_wrappers/__init__.py
PettingZoo-Team/SuperSu
3c4e364b4744649cb9eaa9201d70b5be3d43730f
[ "MIT" ]
20
2020-05-29T04:21:11.000Z
2021-09-30T20:07:20.000Z
from .frame_skip import frame_skip_v0 # NOQA from .basic_wrappers import color_reduction_v0, resize_v0, dtype_v0, \ flatten_v0, reshape_v0, normalize_obs_v0, clip_actions_v0, clip_reward_v0, \ scale_actions_v0 # NOQA from .nan_wrappers import nan_random_v0, nan_noop_v0, nan_zeros_v0 # NOQA from .delay_observat...
46.909091
80
0.827519
82
516
4.756098
0.378049
0.092308
0.128205
0
0
0
0
0
0
0
0
0.037528
0.122093
516
10
81
51.6
0.8234
0.065891
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.777778
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
120e407d1abb3891746a8b4ee7ddf6242e7f62f5
401
py
Python
fdk_client/platform/models/CatalogInsightItem.py
kavish-d/fdk-client-python
a1023eb530473322cb52e095fc4ceb226c1e6037
[ "MIT" ]
null
null
null
fdk_client/platform/models/CatalogInsightItem.py
kavish-d/fdk-client-python
a1023eb530473322cb52e095fc4ceb226c1e6037
[ "MIT" ]
null
null
null
fdk_client/platform/models/CatalogInsightItem.py
kavish-d/fdk-client-python
a1023eb530473322cb52e095fc4ceb226c1e6037
[ "MIT" ]
null
null
null
"""Platform Models.""" from marshmallow import fields, Schema from marshmallow.validate import OneOf from ..enums import * from ..models.BaseSchema import BaseSchema class CatalogInsightItem(BaseSchema): # Catalog swagger.json count = fields.Int(required=False) out_of_stock_count = field...
15.423077
51
0.713217
45
401
6.266667
0.533333
0.117021
0.148936
0.234043
0.287234
0
0
0
0
0
0
0
0.199501
401
25
52
16.04
0.878505
0.094763
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
12165ff9bb97ab8dcadf92bd17bb032500609509
638
py
Python
eelbrain/_trf/tests/test_error_functions.py
reddigari/Eelbrain
6c02b99955d4b5dc7e3054042c182e1a4629b13c
[ "BSD-3-Clause" ]
null
null
null
eelbrain/_trf/tests/test_error_functions.py
reddigari/Eelbrain
6c02b99955d4b5dc7e3054042c182e1a4629b13c
[ "BSD-3-Clause" ]
null
null
null
eelbrain/_trf/tests/test_error_functions.py
reddigari/Eelbrain
6c02b99955d4b5dc7e3054042c182e1a4629b13c
[ "BSD-3-Clause" ]
null
null
null
# Author: Christian Brodbeck <christianbrodbeck@nyu.edu> from nose.tools import assert_almost_equal import numpy as np from eelbrain._trf._boosting_opt import l1, l2 PRECISION = 10 # numpy-based error functions ############################# def np_l2(x): return np.dot(x, x[:, None])[0] def np_l1(x): retur...
22
58
0.647335
95
638
4.189474
0.473684
0.090452
0.128141
0
0
0
0
0
0
0
0
0.040968
0.158307
638
28
59
22.785714
0.700186
0.200627
0
0
0
0
0.060729
0
0
0
0
0
0.214286
1
0.214286
false
0
0.214286
0.142857
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1217b4c7c31bc127bdff85c71aaf128ee2d32192
15,477
py
Python
TelemetryData.py
fsikansi/simple-dash-pcars
2ed5dca891d57cdf905526e1354f66bbe74b227d
[ "MIT" ]
1
2017-07-13T08:19:14.000Z
2017-07-13T08:19:14.000Z
TelemetryData.py
fsikansi/simple-dash-pcars
2ed5dca891d57cdf905526e1354f66bbe74b227d
[ "MIT" ]
null
null
null
TelemetryData.py
fsikansi/simple-dash-pcars
2ed5dca891d57cdf905526e1354f66bbe74b227d
[ "MIT" ]
null
null
null
import struct import ParticipantInfo #Model class for Telemetry Packages class TelemetryData: def __init__(self, package): self.build_version = struct.unpack('H', package[0:2])[0] self.package_type = struct.unpack('B', package[2:3])[0] & 0x03 self.sequence_number = (struct.unpack('B', packa...
63.954545
122
0.650191
2,228
15,477
4.376571
0.149461
0.2289
0.212286
0.17229
0.681058
0.611014
0.572454
0.504974
0.401497
0.159881
0
0.097357
0.166441
15,477
241
123
64.219917
0.658476
0.015442
0
0
0
0
0.012153
0
0
0
0.001577
0
0
1
0.004464
false
0
0.008929
0
0.017857
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
126a5c95e9651703ea2cf601a830c44eb017e9ce
648
py
Python
api/models/user.py
antonioalfa22/Python-API-Rest-Template
1829440511d40be0e30381d7a8fdcf9af812e1bb
[ "MIT" ]
3
2020-01-16T12:19:34.000Z
2020-01-17T09:55:47.000Z
api/models/user.py
antonioalfa22/Python-API-Rest-Template
1829440511d40be0e30381d7a8fdcf9af812e1bb
[ "MIT" ]
null
null
null
api/models/user.py
antonioalfa22/Python-API-Rest-Template
1829440511d40be0e30381d7a8fdcf9af812e1bb
[ "MIT" ]
null
null
null
from api import db class User(db.Model): id = db.Column(db.Integer, primary_key=True) username = db.Column(db.String(64), unique=True) lastname = db.Column(db.String(64)) hash = db.Column(db.String(128)) salt = db.Column(db.String(128)) def to_json(self): return { "id": se...
29.454545
79
0.580247
88
648
4.204545
0.375
0.108108
0.135135
0.172973
0.2
0
0
0
0
0
0
0.020964
0.263889
648
21
80
30.857143
0.754717
0
0
0
0
0
0.054012
0
0
0
0
0
0
1
0.117647
false
0
0.058824
0.117647
0.647059
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
89c5e375601e2ae443e77929cf1d13212fcf1ae1
280
py
Python
ckan_cloud_operator/providers/solr/proxy/cli.py
MuhammadIsmailShahzad/ckan-cloud-operator
35a4ca88c4908d81d1040a21fca8904e77c4cded
[ "MIT" ]
14
2019-11-18T12:01:03.000Z
2021-09-15T15:29:50.000Z
ckan_cloud_operator/providers/solr/proxy/cli.py
MuhammadIsmailShahzad/ckan-cloud-operator
35a4ca88c4908d81d1040a21fca8904e77c4cded
[ "MIT" ]
52
2019-09-09T14:22:41.000Z
2021-09-29T08:29:24.000Z
ckan_cloud_operator/providers/solr/proxy/cli.py
MuhammadIsmailShahzad/ckan-cloud-operator
35a4ca88c4908d81d1040a21fca8904e77c4cded
[ "MIT" ]
8
2019-10-05T12:46:25.000Z
2021-09-15T15:13:05.000Z
import click import yaml from ckan_cloud_operator import logs from . import manager @click.group() def proxy(): """Manage SOLR proxy for centralized unauthenticated access""" pass @proxy.command() def initialize(): manager.deploy() logs.exit_great_success()
14.736842
66
0.725
35
280
5.685714
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.178571
280
18
67
15.555556
0.865217
0.2
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
true
0.090909
0.363636
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
0
0
0
3