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
b14fc87e08b8ca7b877edc87267851acc5457700
67
py
Python
gke_logging/__init__.py
StationA/gke-logging
3a78157a91215b3cf19cd17568b0eea398df484a
[ "MIT" ]
null
null
null
gke_logging/__init__.py
StationA/gke-logging
3a78157a91215b3cf19cd17568b0eea398df484a
[ "MIT" ]
1
2022-02-23T19:27:43.000Z
2022-02-23T19:27:43.000Z
gke_logging/__init__.py
StationA/gke-logging
3a78157a91215b3cf19cd17568b0eea398df484a
[ "MIT" ]
null
null
null
from .pylogging import GKELoggingFormatter __version__ = "0.0.4"
13.4
42
0.776119
8
67
6
0.875
0
0
0
0
0
0
0
0
0
0
0.051724
0.134328
67
4
43
16.75
0.775862
0
0
0
0
0
0.074627
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
b14fcecf0399cabfa9b9e5baf01005a355e01990
565
py
Python
thinc/tests/mypy/modules/fail_plugin.py
TheVinhLuong102/thinc
7b54f728ddec7765a1d8a5e553d4b4b90b9edaec
[ "MIT" ]
2,542
2016-10-20T07:02:59.000Z
2022-03-30T20:18:35.000Z
thinc/tests/mypy/modules/fail_plugin.py
TheVinhLuong102/thinc
7b54f728ddec7765a1d8a5e553d4b4b90b9edaec
[ "MIT" ]
453
2016-10-19T21:09:35.000Z
2022-03-31T11:01:15.000Z
thinc/tests/mypy/modules/fail_plugin.py
TheVinhLuong102/thinc
7b54f728ddec7765a1d8a5e553d4b4b90b9edaec
[ "MIT" ]
265
2016-11-14T14:53:58.000Z
2022-03-31T02:25:24.000Z
from thinc.api import chain, Relu, reduce_max, Softmax, add, concatenate bad_model = chain(Relu(10), reduce_max(), Softmax()) bad_model2 = add(Relu(10), reduce_max(), Softmax()) bad_model_only_plugin = chain( Relu(10), Relu(10), Relu(10), Relu(10), reduce_max(), Softmax() ) bad_model_only_plugin2 = add( Rel...
26.904762
72
0.715044
87
565
4.356322
0.241379
0.221636
0.237467
0.28496
0.620053
0.620053
0.55409
0.55409
0.432718
0.432718
0
0.066532
0.122124
565
20
73
28.25
0.697581
0
0
0.214286
0
0
0
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
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
b162c73ff27933bd7c3644b2f14ca346366ac07e
403
py
Python
task_widgets/reverse_sequence/reverse_numbers.py
athrn/kognitivo
15822338778213c09ea654ec4e06a300129f9478
[ "Apache-2.0" ]
80
2017-11-13T21:58:55.000Z
2022-01-03T20:10:42.000Z
task_widgets/reverse_sequence/reverse_numbers.py
athrn/kognitivo
15822338778213c09ea654ec4e06a300129f9478
[ "Apache-2.0" ]
null
null
null
task_widgets/reverse_sequence/reverse_numbers.py
athrn/kognitivo
15822338778213c09ea654ec4e06a300129f9478
[ "Apache-2.0" ]
21
2017-11-14T09:47:41.000Z
2021-11-23T06:44:31.000Z
import string from task_widgets.task_base.intro_hint import IntroHint from utils import import_kv from .reverse_sequence import ReverseSequence import_kv(__file__) class IntroHintReverseNumbers(IntroHint): pass class ReverseNumbers(ReverseSequence): TASK_KEY = "reverse_numbers" INTRO_HINT_CLASS = Intr...
20.15
55
0.801489
46
403
6.695652
0.586957
0.058442
0
0
0
0
0
0
0
0
0
0
0.151365
403
19
56
21.210526
0.900585
0
0
0
0
0
0.037221
0
0
0
0
0
0
1
0.083333
false
0.083333
0.416667
0.083333
0.916667
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
b16ab937b59b20f1bc226525eff84a396fba5d06
99
py
Python
bsp_tool/branches/troika/__init__.py
LaudateCorpus1/bsp_tool
e8c2489ac3bda5a4467f1dce220a76bbf4ce5b19
[ "MIT" ]
44
2018-07-06T04:44:02.000Z
2022-03-27T02:18:37.000Z
bsp_tool/branches/troika/__init__.py
LaudateCorpus1/bsp_tool
e8c2489ac3bda5a4467f1dce220a76bbf4ce5b19
[ "MIT" ]
18
2018-07-25T23:19:17.000Z
2022-03-16T23:59:36.000Z
io_import_rbsp/bsp_tool/branches/troika/__init__.py
snake-biscuits/io_import_rbsp
0de47dc70c373cc0417cc222d5d83e6dde72068b
[ "MIT" ]
12
2019-09-13T21:52:51.000Z
2022-03-22T18:04:21.000Z
"""Creators of Vampire: The Masquerade - Bloodlines""" from . import vampire scripts = [vampire]
16.5
54
0.717172
11
99
6.454545
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.161616
99
5
55
19.8
0.855422
0.484848
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b17795a1d46b27d159bb86402778779da15dbc7c
100
py
Python
LUCKYFR.py
abphilip-codes/Codechef_Practice
21fd52e03df8a0f72a08b0e2a0b48dbd508aac95
[ "MIT" ]
2
2021-07-26T03:32:24.000Z
2021-07-31T02:32:14.000Z
LUCKYFR.py
abphilip-codes/Codechef_Practice
21fd52e03df8a0f72a08b0e2a0b48dbd508aac95
[ "MIT" ]
null
null
null
LUCKYFR.py
abphilip-codes/Codechef_Practice
21fd52e03df8a0f72a08b0e2a0b48dbd508aac95
[ "MIT" ]
1
2021-07-14T17:45:33.000Z
2021-07-14T17:45:33.000Z
# https://www.codechef.com/problems/LUCKYFR for _ in range(int(input())): print(input().count('4'))
33.333333
55
0.69
15
100
4.533333
0.933333
0
0
0
0
0
0
0
0
0
0
0.010753
0.07
100
3
55
33.333333
0.72043
0.41
0
0
0
0
0.017241
0
0
0
0
0
0
1
0
false
0
0
0
0
1
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
b17af980624065f73f8b9a9e28bec81b75b87424
2,907
py
Python
stoq/plugins/connector.py
mmip0stx/stoq
a06e359680927a47cc9eaa3828992e18ce35f6f7
[ "Apache-2.0" ]
null
null
null
stoq/plugins/connector.py
mmip0stx/stoq
a06e359680927a47cc9eaa3828992e18ce35f6f7
[ "Apache-2.0" ]
null
null
null
stoq/plugins/connector.py
mmip0stx/stoq
a06e359680927a47cc9eaa3828992e18ce35f6f7
[ "Apache-2.0" ]
1
2019-08-27T13:11:11.000Z
2019-08-27T13:11:11.000Z
#!/usr/bin/env python3 # Copyright 2014-2018 PUNCH Cyber Analytics Group # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Un...
30.28125
90
0.663227
364
2,907
5.252747
0.483516
0.031381
0.018828
0.029812
0.137029
0.137029
0.100418
0.060669
0.060669
0.060669
0
0.005958
0.249398
2,907
95
91
30.6
0.870302
0.846921
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0.142857
0.428571
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
b18073134fc87a53f16aded513bd17446deb14be
53
py
Python
test/data/valid/parenth_strs.py
KOLANICH/read_version
601a036d115dd831319ed3c4700168e5c7e03228
[ "MIT" ]
null
null
null
test/data/valid/parenth_strs.py
KOLANICH/read_version
601a036d115dd831319ed3c4700168e5c7e03228
[ "MIT" ]
null
null
null
test/data/valid/parenth_strs.py
KOLANICH/read_version
601a036d115dd831319ed3c4700168e5c7e03228
[ "MIT" ]
null
null
null
__version__ = ( '1.2' ".3" ) __custom__ = 42
8.833333
15
0.490566
6
53
3
1
0
0
0
0
0
0
0
0
0
0
0.138889
0.320755
53
5
16
10.6
0.361111
0
0
0
0
0
0.09434
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b1827e87ef9e9171935b3fa745e49266bb26bd9c
3,462
py
Python
test/integration/test_attendance.py
Violet26/cfapi
c5af1ea54538d20ea1458b4eaf038a7d73fd042d
[ "MIT" ]
75
2015-01-06T14:35:37.000Z
2021-11-21T16:11:51.000Z
test/integration/test_attendance.py
Violet26/cfapi
c5af1ea54538d20ea1458b4eaf038a7d73fd042d
[ "MIT" ]
158
2015-01-05T22:42:23.000Z
2021-01-29T20:24:55.000Z
test/integration/test_attendance.py
Violet26/cfapi
c5af1ea54538d20ea1458b4eaf038a7d73fd042d
[ "MIT" ]
56
2015-01-14T01:37:20.000Z
2021-04-30T17:47:11.000Z
import json from test.factories import AttendanceFactory, OrganizationFactory from test.harness import IntegrationTest from app import db, Attendance class TestAttendance(IntegrationTest): def test_attendance(self): cfsf = OrganizationFactory(name=u"Code for San Francisco") url = u"https://www.c...
45.552632
103
0.676199
395
3,462
5.860759
0.156962
0.021598
0.043197
0.082073
0.788337
0.758099
0.739093
0.669978
0.654428
0.654428
0
0.005096
0.206528
3,462
75
104
46.16
0.837641
0.003755
0
0.390625
0
0
0.220191
0.023499
0
0
0
0
0.28125
1
0.046875
false
0
0.0625
0
0.125
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
b196f57c2c885f8ae8c4daf2ead55694d08bc49e
350
py
Python
test_project/algorithms.py
BillyLiou/python_test_project
e266e2eb627e268a390f1ffc6717979ac44254ad
[ "MIT" ]
null
null
null
test_project/algorithms.py
BillyLiou/python_test_project
e266e2eb627e268a390f1ffc6717979ac44254ad
[ "MIT" ]
null
null
null
test_project/algorithms.py
BillyLiou/python_test_project
e266e2eb627e268a390f1ffc6717979ac44254ad
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- encoding: utf-8 -*- ''' @File : alrofrithms.py @Time : 2021/01/19 21:55:55 @Author : Billy Liu @Version : 1.0 @Contact : billy@test.mail @Desc : None ''' print('algorithms 被引入囉') def main(): print('algorithms 被調用囉') def call_foo(): print('call foo') if __na...
16.666667
32
0.582857
47
350
4.148936
0.787234
0.153846
0
0
0
0
0
0
0
0
0
0.066915
0.231429
350
21
33
16.666667
0.657993
0.551429
0
0
0
0
0.308725
0
0
0
0
0
0
1
0.285714
true
0
0
0
0.285714
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
1
0
3
b19d6540fd81d18156c461a6b41f97a366e8e872
423
py
Python
Salary Calculations.py
kalluvinay/python
efec05106f6f1e549e403d15ab78749966649cb9
[ "MIT" ]
null
null
null
Salary Calculations.py
kalluvinay/python
efec05106f6f1e549e403d15ab78749966649cb9
[ "MIT" ]
null
null
null
Salary Calculations.py
kalluvinay/python
efec05106f6f1e549e403d15ab78749966649cb9
[ "MIT" ]
null
null
null
mail = "To Tax authortiy, Last year earnings of our consultants are given as below (in GBP)\n \ Sirish Dhulipala: 4000 for Jan, 4100 for Feb, 4200 For March, 3900 for April, 4000 May, 4100 June, 4000 July, 4000 August, 4000 September, 4000 October, 4000 November, 4000 December \n \ Anand Reddy: 18000 for first half an...
60.428571
186
0.739953
76
423
4.118421
0.710526
0
0
0
0
0
0
0
0
0
0
0.22807
0.191489
423
6
187
70.5
0.687135
0
0
0
0
0.25
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b1ac9a4c367a52dd13b628bcaf2bd2ca998e38c1
317
py
Python
app/config/scrape_config.py
hsadler/scrapers_scrapers_scrapers
35db63c51dbb1cc4d81c6e61b789147af31e3f47
[ "MIT" ]
1
2021-08-16T16:35:51.000Z
2021-08-16T16:35:51.000Z
app/config/scrape_config.py
hsadler/scrapers_scrapers_scrapers
35db63c51dbb1cc4d81c6e61b789147af31e3f47
[ "MIT" ]
null
null
null
app/config/scrape_config.py
hsadler/scrapers_scrapers_scrapers
35db63c51dbb1cc4d81c6e61b789147af31e3f47
[ "MIT" ]
null
null
null
SAMTRYGG_JSON_API_URL = 'https://www.samtrygg.se/RentalObject/SearchResult' SAMTRYGG_DATASTORE_FILEPATH = '/datastore/samtrygg_data.json' SAMTRYGG_PROCESSED_DATASTORE_FILEPATH = '/datastore/processed_samtrygg_data.json' SAMTRYGG_PROCESSED_UNSEEN_DATASTORE_FILEPATH = '/datastore/processed_unseen_samtrygg_data.json'
52.833333
95
0.870662
37
317
6.972973
0.378378
0.197674
0.302326
0.186047
0.255814
0
0
0
0
0
0
0
0.041009
317
5
96
63.4
0.848684
0
0
0
0
0
0.515823
0.360759
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
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
4931102ff92068ca14d408aa486ece48f6e5f18b
239
py
Python
binary-xtensa/__init__.py
Pusty/BinaryNinjaPlugins
298db21a3036cc6680e4989074dc7e8e4b7f25cf
[ "0BSD" ]
15
2019-01-17T08:55:33.000Z
2022-02-08T01:20:59.000Z
binary-xtensa/__init__.py
Pusty/BinaryNinjaPlugins
298db21a3036cc6680e4989074dc7e8e4b7f25cf
[ "0BSD" ]
null
null
null
binary-xtensa/__init__.py
Pusty/BinaryNinjaPlugins
298db21a3036cc6680e4989074dc7e8e4b7f25cf
[ "0BSD" ]
2
2020-07-31T12:09:23.000Z
2020-08-19T03:11:20.000Z
import binaryninja from .XTENSAArch import XTENSA XTENSA.register() # built-in view EM_XTENSA = 94 binaryninja.BinaryViewType['ELF'].register_arch(EM_XTENSA, binaryninja.enums.Endianness.LittleEndian, binaryninja.Architecture['XTENSA'])
26.555556
137
0.820084
28
239
6.892857
0.642857
0.082902
0
0
0
0
0
0
0
0
0
0.00905
0.075314
239
9
137
26.555556
0.864253
0.054393
0
0
0
0
0.04
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
49313273bcbe40012807168b89c65972c480d4d9
70
py
Python
change2.py
fc5fz/CS3240-labdemo
8f85b569ae1734a20bfb793796c943e3910083ca
[ "MIT" ]
null
null
null
change2.py
fc5fz/CS3240-labdemo
8f85b569ae1734a20bfb793796c943e3910083ca
[ "MIT" ]
null
null
null
change2.py
fc5fz/CS3240-labdemo
8f85b569ae1734a20bfb793796c943e3910083ca
[ "MIT" ]
null
null
null
__author__ = 'fc5fz' from helper import greeting greeting("asdf")
8.75
27
0.728571
8
70
5.875
0.875
0
0
0
0
0
0
0
0
0
0
0.017241
0.171429
70
7
28
10
0.793103
0
0
0
0
0
0.132353
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
4944090bfe0ccccde25caf2c0fc8a6a080bd5464
1,981
py
Python
tests/test_utils.py
Sofronio/youtube-dl-gui
cf1d7d682e941473028b182cea6ea8d8dc5ed779
[ "Unlicense" ]
null
null
null
tests/test_utils.py
Sofronio/youtube-dl-gui
cf1d7d682e941473028b182cea6ea8d8dc5ed779
[ "Unlicense" ]
null
null
null
tests/test_utils.py
Sofronio/youtube-dl-gui
cf1d7d682e941473028b182cea6ea8d8dc5ed779
[ "Unlicense" ]
1
2021-09-19T22:54:37.000Z
2021-09-19T22:54:37.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """Contains test cases for the utils.py module.""" from __future__ import unicode_literals import sys import os.path import unittest PATH = os.path.realpath(os.path.abspath(__file__)) sys.path.insert(0, os.path.dirname(os.path.dirname(PATH))) try: from youtube_dl_g...
27.513889
73
0.703685
278
1,981
4.780576
0.305755
0.079007
0.210685
0.180587
0.498871
0.482318
0.072235
0
0
0
0
0.107637
0.160525
1,981
71
74
27.901408
0.691521
0.021201
0
0
0
0
0.059346
0
0
0
0
0
0.341463
0
null
null
0
0.146341
null
null
0.02439
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
1
0
0
0
0
0
0
0
0
3
49521a46550d617986f77f62bc20406d44869e8e
285
py
Python
skhyper/cluster/__init__.py
tensor-strings/scikit-hyper
795a0b48d92c644ef3662e9957c04e5a9a6f85b2
[ "BSD-3-Clause" ]
null
null
null
skhyper/cluster/__init__.py
tensor-strings/scikit-hyper
795a0b48d92c644ef3662e9957c04e5a9a6f85b2
[ "BSD-3-Clause" ]
null
null
null
skhyper/cluster/__init__.py
tensor-strings/scikit-hyper
795a0b48d92c644ef3662e9957c04e5a9a6f85b2
[ "BSD-3-Clause" ]
null
null
null
from skhyper.cluster._agglomeration import Agglomeration from skhyper.cluster._feature_agg import FeatureAgglomeration from skhyper.cluster._kmeans import KMeans from skhyper.cluster._spectral import Spectral __all__ = ['Agglomeration', 'FeatureAgglomeration', 'KMeans', 'Spectral']
35.625
73
0.838596
30
285
7.666667
0.366667
0.191304
0.313043
0
0
0
0
0
0
0
0
0
0.084211
285
7
74
40.714286
0.881226
0
0
0
0
0
0.164912
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
496a77a29d0427110d42747fda3cc2aa02b11de6
308
py
Python
python3/globals/test1.py
jtraver/dev
c7cd2181594510a8fa27e7325566ed2d79371624
[ "MIT" ]
null
null
null
python3/globals/test1.py
jtraver/dev
c7cd2181594510a8fa27e7325566ed2d79371624
[ "MIT" ]
null
null
null
python3/globals/test1.py
jtraver/dev
c7cd2181594510a8fa27e7325566ed2d79371624
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from framework import do_exit, get_globals, main def do_work(): global g_test_import global globals1 print("do_work") globals1 = get_globals() g_test_import = globals1["g_test_import"] print("do_work: g_test_import = %s" % str(g_test_import)) main(do_work)
20.533333
61
0.707792
48
308
4.1875
0.4375
0.124378
0.273632
0
0
0
0
0
0
0
0
0.015873
0.181818
308
14
62
22
0.781746
0.068182
0
0
0
0
0.164336
0
0
0
0
0
0
1
0.111111
false
0
0.444444
0
0.555556
0.222222
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
496f81ebb3311fb3e671c99933525b63e1203629
533
py
Python
data_structures/recursion/binary_search.py
severian5it/udacity_dsa
e47f27b0179961d6107fe46a236ac7d887fe6816
[ "MIT" ]
null
null
null
data_structures/recursion/binary_search.py
severian5it/udacity_dsa
e47f27b0179961d6107fe46a236ac7d887fe6816
[ "MIT" ]
null
null
null
data_structures/recursion/binary_search.py
severian5it/udacity_dsa
e47f27b0179961d6107fe46a236ac7d887fe6816
[ "MIT" ]
null
null
null
#bear in mind, this is log(n) def binary_search(arr, target): return binary_search_func(arr, 0, len(arr) - 1, target) def binary_search_func(arr, start_index, end_index, target): if start_index > end_index: return -1 mid_index = (start_index + end_index) // 2 if arr[mid_index] == target: ...
31.352941
74
0.679174
82
533
4.134146
0.304878
0.141593
0.188791
0.224189
0.471976
0.297935
0
0
0
0
0
0.014458
0.221388
533
17
75
31.352941
0.80241
0.052533
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0.083333
0.583333
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
4978654b1f62a735de411b425585a99cff574383
1,079
py
Python
passaas/controllers/group_controller.py
jlmelville/passaas
e40715d51a43bdd605b5b2025e348786802ed929
[ "MIT" ]
null
null
null
passaas/controllers/group_controller.py
jlmelville/passaas
e40715d51a43bdd605b5b2025e348786802ed929
[ "MIT" ]
null
null
null
passaas/controllers/group_controller.py
jlmelville/passaas
e40715d51a43bdd605b5b2025e348786802ed929
[ "MIT" ]
null
null
null
""" Group Controller. Functions mapping from HTTP requests for group-related resources to model data. """ from passaas.models.group import find_groups from passaas.controllers.util import to_response def fetch_all_groups(): """Return all groups or 404 if there aren't any.""" groups = find_groups() retur...
29.972222
81
0.694161
169
1,079
4.360947
0.420118
0.054274
0.028494
0.032564
0.081411
0.081411
0
0
0
0
0
0.015134
0.203892
1,079
35
82
30.828571
0.842841
0.473587
0
0
0
0
0.086042
0
0
0
0
0
0
1
0.230769
false
0.153846
0.153846
0
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
0
0
0
1
0
1
0
0
1
0
0
3
4978be00ed0453bc1f1965827edfbabf03e9c311
7,130
py
Python
pyrr/objects/matrix33.py
ArnoChenFx/Pyrr
4cc8f42d665752c2138b912d2d931077d2cfc0e8
[ "Unlicense" ]
3
2020-09-09T15:42:46.000Z
2021-07-24T13:58:56.000Z
pyrr/objects/matrix33.py
ArnoChenFx/Pyrr
4cc8f42d665752c2138b912d2d931077d2cfc0e8
[ "Unlicense" ]
null
null
null
pyrr/objects/matrix33.py
ArnoChenFx/Pyrr
4cc8f42d665752c2138b912d2d931077d2cfc0e8
[ "Unlicense" ]
1
2021-10-17T12:21:39.000Z
2021-10-17T12:21:39.000Z
# -*- coding: utf-8 -*- """Represents a 3x3 Matrix. The Matrix33 class provides a number of convenient functions and conversions. :: import numpy as np from pyrr import Quaternion, Matrix33, Matrix44, Vector3 m = Matrix33() m = Matrix33([[1.,0.,0.],[0.,1.,0.],[0.,0.,1.]]) # copy constructor ...
28.52
91
0.606031
910
7,130
4.585714
0.185714
0.047927
0.051761
0.030194
0.375989
0.285406
0.222861
0.166068
0.120537
0.120537
0
0.050733
0.253576
7,130
249
92
28.634538
0.733371
0.368022
0
0.324074
0
0
0.007315
0
0
0
0
0
0
1
0.212963
false
0
0.074074
0.111111
0.648148
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
4992eb12025fd4862d60e89271ebf61569eb1005
3,266
py
Python
version_parser/test.py
eieste/VersionParser
b9efda9bc41ba3546144794b27353e3dd194a2b6
[ "MIT" ]
6
2019-07-04T13:11:45.000Z
2021-12-10T06:11:00.000Z
version_parser/test.py
eieste/VersionParser
b9efda9bc41ba3546144794b27353e3dd194a2b6
[ "MIT" ]
null
null
null
version_parser/test.py
eieste/VersionParser
b9efda9bc41ba3546144794b27353e3dd194a2b6
[ "MIT" ]
1
2021-11-13T11:13:09.000Z
2021-11-13T11:13:09.000Z
import unittest from version_parser.version import Version, VersionType class TestVersion(unittest.TestCase): def test_parse(self): self.assertEqual(Version("v1.2.3").get_number(), 1002003) self.assertEqual(Version("vM1m2b3").get_number(), 1002003) self.assertEqual(Version("vM1m2p3").get...
54.433333
102
0.695958
423
3,266
5.186761
0.163121
0.205105
0.30082
0.070191
0.645852
0.585688
0.582954
0.497265
0.356427
0.331814
0
0.09968
0.139927
3,266
59
103
55.355932
0.681381
0
0
0
0
0
0.101041
0
0
0
0
0
0.816327
1
0.081633
false
0
0.040816
0
0.142857
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
b8e13476d85d8d02f6389530532aaa894cf3cd87
570
py
Python
tekstovni_umesnik.py
tomrupnik/vislice
95fdb3d22f6175f6c22035c72b176c5f996438c1
[ "MIT" ]
null
null
null
tekstovni_umesnik.py
tomrupnik/vislice
95fdb3d22f6175f6c22035c72b176c5f996438c1
[ "MIT" ]
null
null
null
tekstovni_umesnik.py
tomrupnik/vislice
95fdb3d22f6175f6c22035c72b176c5f996438c1
[ "MIT" ]
null
null
null
from model import * def izpis_igre(igra): return ''' Stevilo preostalih poskusov: {}, napacne crke so {}, pravilni del gesla {} '''.format(STEVILO_DOVOLJENIH_NAPAK-igra.stevilo_napak(),igra.napacne_crke(),igra.pravilni_del_gesla()) def izpis_zmage(igra): return''' Cestitam igra je koncana, beseda je bila...
27.142857
107
0.694737
77
570
4.987013
0.493506
0.104167
0.083333
0.098958
0.192708
0.192708
0.192708
0.192708
0
0
0
0
0.164912
570
20
108
28.5
0.806723
0
0
0.142857
0
0
0.335677
0
0
0
0
0
0
1
0.357143
false
0
0.071429
0.285714
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
b8f1387a7cf83daf333adf0efcfc824e54630f33
507
py
Python
core/auth/authmain.py
vinaynpp/patravali
d7469cbe86164640163b87966a21905bf39c9b58
[ "MIT" ]
null
null
null
core/auth/authmain.py
vinaynpp/patravali
d7469cbe86164640163b87966a21905bf39c9b58
[ "MIT" ]
null
null
null
core/auth/authmain.py
vinaynpp/patravali
d7469cbe86164640163b87966a21905bf39c9b58
[ "MIT" ]
null
null
null
from flask import Blueprint, render_template, request, redirect, url_for, flash from flask_login import login_user, logout_user, login_required auth = Blueprint(name='auth', import_name=__name__, static_folder='static', static_url_path='static', template_folder='templates') @auth.route('/') def index...
28.166667
101
0.725838
64
507
5.484375
0.4375
0.119658
0.11396
0
0
0
0
0
0
0
0
0
0.138067
507
18
102
28.166667
0.803204
0
0
0
0
0
0.141732
0
0
0
0
0
0
1
0.230769
false
0
0.230769
0.230769
0.692308
0.153846
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
77277c1ade9795804852f329a40cac140bdd4d1c
158
py
Python
server/toolz_swap_app/apps.py
minerva-university/cs162-toolz-swap-service
d514d9b04118f26479cba71497c12dfa824c7c42
[ "MIT" ]
null
null
null
server/toolz_swap_app/apps.py
minerva-university/cs162-toolz-swap-service
d514d9b04118f26479cba71497c12dfa824c7c42
[ "MIT" ]
null
null
null
server/toolz_swap_app/apps.py
minerva-university/cs162-toolz-swap-service
d514d9b04118f26479cba71497c12dfa824c7c42
[ "MIT" ]
null
null
null
from django.apps import AppConfig class ToolzSwapAppConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'toolz_swap_app'
22.571429
56
0.778481
19
158
6.263158
0.894737
0
0
0
0
0
0
0
0
0
0
0
0.139241
158
6
57
26.333333
0.875
0
0
0
0
0
0.272152
0.183544
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
77426332cd69d72f10690b1ef3d24acef1b8ade8
3,389
py
Python
zoa_ussd/apps/payments/models.py
TribeZOAGit/zoa_ussd
4bbfc6586b3656a6e2d1bedd2ec4cd2e7e16a3e0
[ "Unlicense" ]
null
null
null
zoa_ussd/apps/payments/models.py
TribeZOAGit/zoa_ussd
4bbfc6586b3656a6e2d1bedd2ec4cd2e7e16a3e0
[ "Unlicense" ]
null
null
null
zoa_ussd/apps/payments/models.py
TribeZOAGit/zoa_ussd
4bbfc6586b3656a6e2d1bedd2ec4cd2e7e16a3e0
[ "Unlicense" ]
null
null
null
from __future__ import unicode_literals from django.db import models class MpesaTransaction(models.Model): TRANSACTION_TYPES = ( (1, "Paybill"), (2, "Till")) transaction_type = models.IntegerField(choices=TRANSACTION_TYPES) first_name = models.CharField(max_length=50) middle_name = mo...
37.655556
89
0.740336
445
3,389
5.388764
0.224719
0.096747
0.18015
0.2402
0.650959
0.586739
0.528774
0.441201
0.376147
0.338616
0
0.027682
0.147241
3,389
89
90
38.078652
0.802076
0.004721
0
0.216667
0
0
0.023435
0
0
0
0
0
0
1
0.066667
false
0
0.033333
0.066667
0.95
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
775df292e6323db937b444aa6391f746485fc9bd
73
py
Python
day1/3. Assignment/_solutions/lab1-q2.py
gcc-a132/BigData
694a9c4d3478d812c4a73e3931d442320a0bc590
[ "MIT" ]
null
null
null
day1/3. Assignment/_solutions/lab1-q2.py
gcc-a132/BigData
694a9c4d3478d812c4a73e3931d442320a0bc590
[ "MIT" ]
null
null
null
day1/3. Assignment/_solutions/lab1-q2.py
gcc-a132/BigData
694a9c4d3478d812c4a73e3931d442320a0bc590
[ "MIT" ]
4
2018-06-06T16:09:16.000Z
2018-06-28T09:28:21.000Z
this_thing = ('that thing',1,'another thing') this_thing[1] = "something"
36.5
45
0.712329
11
73
4.545455
0.545455
0.36
0
0
0
0
0
0
0
0
0
0.030303
0.09589
73
2
46
36.5
0.727273
0
0
0
0
0
0.432432
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
775f214886b17ea59248ae032e5bab605c3a070c
30
py
Python
bottery/conf/global_settings.py
rennerocha/bottery
a082cfa1c21f9aa32ea1526ea3004b581f9e0cd4
[ "MIT" ]
null
null
null
bottery/conf/global_settings.py
rennerocha/bottery
a082cfa1c21f9aa32ea1526ea3004b581f9e0cd4
[ "MIT" ]
null
null
null
bottery/conf/global_settings.py
rennerocha/bottery
a082cfa1c21f9aa32ea1526ea3004b581f9e0cd4
[ "MIT" ]
null
null
null
TEMPLATES = [] PLATFORMS = {}
10
14
0.6
2
30
9
1
0
0
0
0
0
0
0
0
0
0
0
0.2
30
2
15
15
0.75
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
62129a0e06adb74f5e66e6aeb28cffaffb2ccf53
21,329
py
Python
c_sghmc/projectcode.py
astr93/c_sghmc
45529d7742d30ee23983b7ce5e413667ecb23b64
[ "MIT" ]
null
null
null
c_sghmc/projectcode.py
astr93/c_sghmc
45529d7742d30ee23983b7ce5e413667ecb23b64
[ "MIT" ]
null
null
null
c_sghmc/projectcode.py
astr93/c_sghmc
45529d7742d30ee23983b7ce5e413667ecb23b64
[ "MIT" ]
null
null
null
import numpy as np import numpy.random import sympy as sp import seaborn as sns import matplotlib.pyplot as plt def hmc(U, gradU, M, epsilon, m, theta, mhtest=1): """Hamiltonian Monte-Carlo algorithm with an optional Metropolis-Hastings test U is potential energy as a callable function gradU is its gradien...
31.929641
312
0.642787
3,473
21,329
3.922833
0.114886
0.031048
0.037948
0.062096
0.734586
0.723209
0.690766
0.669921
0.657002
0.650763
0
0.028611
0.219982
21,329
667
313
31.977511
0.790287
0
0
0.653846
0
0.002564
0.007327
0
0
0
0
0
0
0
null
null
0.007692
0.061538
null
null
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
622d3994f2ae79cebcbd8dafc2019b396e0fec22
393
py
Python
code_all/day19/exercise03.py
testcg/python
4db4bd5d0e44af807d2df80cf8c8980b40cc03c4
[ "MIT" ]
null
null
null
code_all/day19/exercise03.py
testcg/python
4db4bd5d0e44af807d2df80cf8c8980b40cc03c4
[ "MIT" ]
null
null
null
code_all/day19/exercise03.py
testcg/python
4db4bd5d0e44af807d2df80cf8c8980b40cc03c4
[ "MIT" ]
null
null
null
# 练习1:不改变插入函数与删除函数代码, # 为其增加验证权限的功能 def verify_permissions(func): def wrapper(*args, **kwargs): print("验证权限") return func(*args, **kwargs) return wrapper # insert = verify_permissions(insert) @verify_permissions def insert(p1): print("插入") return "ok" @verify_permissions def delet...
15.115385
37
0.648855
45
393
5.577778
0.466667
0.270916
0.183267
0
0
0
0
0
0
0
0
0.012862
0.208651
393
25
38
15.72
0.794212
0.175573
0
0.133333
0
0
0.0375
0
0
0
0
0
0
1
0.266667
false
0
0
0
0.533333
0.333333
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
6230a81a936198ead259c06de154a96a5a9035a4
350
py
Python
Iterateurs.py
ravelou/PythonScripts
1e79be6037b951538768d31557c829edab2a35e0
[ "MIT" ]
null
null
null
Iterateurs.py
ravelou/PythonScripts
1e79be6037b951538768d31557c829edab2a35e0
[ "MIT" ]
null
null
null
Iterateurs.py
ravelou/PythonScripts
1e79be6037b951538768d31557c829edab2a35e0
[ "MIT" ]
null
null
null
class RevStr(str): def __iter__(self): return ItRevStr(self) class ItRevStr: def __init__(self, chaine_a_parcourir): self.chaine_a_parcourir=chaine_a_parcourir self.position=len(self.chaine_a_parcourir) def __next__(self): if self.position==0: raise StopIteration self.position-=1 return self.chaine...
19.444444
47
0.774286
50
350
4.98
0.4
0.140562
0.321285
0.321285
0.337349
0
0
0
0
0
0
0.006557
0.128571
350
17
48
20.588235
0.809836
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0.083333
0.583333
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
62819830bfbd4ebe6b2f1b0386b0a71fb1164e6b
214
py
Python
src/som/vm/globals.py
SOM-st/PySOM
65ef72f44252439b724a7429408dac7f8d1b1d98
[ "MIT" ]
22
2015-10-29T05:11:06.000Z
2022-03-01T11:18:45.000Z
src/som/vm/globals.py
smarr/PySOM
65ef72f44252439b724a7429408dac7f8d1b1d98
[ "MIT" ]
16
2021-03-07T22:09:33.000Z
2021-08-24T12:36:15.000Z
src/som/vm/globals.py
SOM-st/PySOM
65ef72f44252439b724a7429408dac7f8d1b1d98
[ "MIT" ]
5
2015-01-02T03:51:29.000Z
2020-10-02T07:05:46.000Z
from som.vmobjects.object_without_fields import ObjectWithoutFields # The basic global objects nilObject = ObjectWithoutFields(None) trueObject = ObjectWithoutFields(None) falseObject = ObjectWithoutFields(None)
26.75
67
0.850467
21
214
8.571429
0.761905
0.383333
0
0
0
0
0
0
0
0
0
0
0.093458
214
7
68
30.571429
0.927835
0.11215
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
628d38365efc4d3ee369e7e4af8b086181a0ae6a
72
py
Python
code/abc014_1_02.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
3
2019-08-16T16:55:48.000Z
2021-04-11T10:21:40.000Z
code/abc014_1_02.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
code/abc014_1_02.py
KoyanagiHitoshi/AtCoder
731892543769b5df15254e1f32b756190378d292
[ "MIT" ]
null
null
null
a=int(input()) b=int(input()) print((((a//b)+1)*b-a) if a%b!=0 else "0")
24
42
0.527778
18
72
2.111111
0.5
0.421053
0
0
0
0
0
0
0
0
0
0.045455
0.083333
72
3
42
24
0.530303
0
0
0
0
0
0.013699
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
656eeec95a8ac525c5113fb3a3b78b45e0a4eca4
698
py
Python
chewie/mac_address.py
gizmoguy/chewie
7791e0961f5045e3883de0d8a99f0cc95db166e4
[ "Apache-2.0" ]
null
null
null
chewie/mac_address.py
gizmoguy/chewie
7791e0961f5045e3883de0d8a99f0cc95db166e4
[ "Apache-2.0" ]
null
null
null
chewie/mac_address.py
gizmoguy/chewie
7791e0961f5045e3883de0d8a99f0cc95db166e4
[ "Apache-2.0" ]
null
null
null
import struct from netils import build_byte_string class MacAddress: def __init__(self, address): self.address = address @classmethod def from_string(cls, address_string): address_bytes = "".join(address_string.split(":")) address = build_byte_string(address_bytes) return ...
25.851852
83
0.648997
84
698
4.869048
0.357143
0.161369
0.07335
0
0
0
0
0
0
0
0
0.003745
0.234957
698
26
84
26.846154
0.762172
0
0
0
0
0
0.032951
0
0
0
0
0
0
1
0.315789
false
0
0.105263
0.157895
0.736842
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
6578ce96a3fea55ee4603f1f6c11aceeaa199cb9
477
py
Python
src/ctc/db/schemas/contract_creation_blocks/contract_creation_blocks_queries.py
fei-protocol/checkthechain
ec838f3d0d44af228f45394d9ba8d8eb7f677520
[ "MIT" ]
94
2022-02-15T19:34:49.000Z
2022-03-26T19:26:22.000Z
src/ctc/db/schemas/contract_creation_blocks/contract_creation_blocks_queries.py
fei-protocol/checkthechain
ec838f3d0d44af228f45394d9ba8d8eb7f677520
[ "MIT" ]
7
2022-03-03T02:58:47.000Z
2022-03-11T18:41:05.000Z
src/ctc/db/schemas/contract_creation_blocks/contract_creation_blocks_queries.py
fei-protocol/checkthechain
ec838f3d0d44af228f45394d9ba8d8eb7f677520
[ "MIT" ]
7
2022-02-15T17:53:07.000Z
2022-03-17T19:14:17.000Z
from __future__ import annotations from .. import query_utils from . import contract_creation_blocks_statements async_query_contract_creation_block = query_utils.with_connection( contract_creation_blocks_statements.async_select_contract_creation_block, 'contract_creation_blocks', ) async_query_contract_cre...
28.058824
78
0.861635
56
477
6.660714
0.267857
0.386059
0.412869
0.257373
0.544236
0.44504
0.44504
0.44504
0.44504
0.44504
0
0
0.09434
477
16
79
29.8125
0.863426
0
0
0.181818
0
0
0.100629
0.100629
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
6596fb750b29fc98d795ce3374b60f7a68cbe142
564
py
Python
src/lib/mine/aws/test_s3.py
rdw20170120/workstation
ed19aa930a83885c2a8cb58eb0bb5afe58f95df3
[ "MIT" ]
null
null
null
src/lib/mine/aws/test_s3.py
rdw20170120/workstation
ed19aa930a83885c2a8cb58eb0bb5afe58f95df3
[ "MIT" ]
2
2021-04-06T18:07:32.000Z
2021-06-02T01:50:40.000Z
src/lib/mine/aws/test_s3.py
rdw20170120/workstation
ed19aa930a83885c2a8cb58eb0bb5afe58f95df3
[ "MIT" ]
null
null
null
#!/usr/bin/env false """TODO: Write """ # Internal packages (absolute references, distributed with Python) # External packages (absolute references, NOT distributed with Python) from pytest import raises # Library modules (absolute references, NOT packaged, in project) from aws import s3 # Co-located modules (re...
21.692308
71
0.70922
70
564
5.657143
0.557143
0.136364
0.131313
0.116162
0.353535
0.20202
0.20202
0.20202
0
0
0
0.019355
0.175532
564
25
72
22.56
0.832258
0.533688
0
0.25
0
0
0.104348
0
0
0
0
0.04
0
1
0.25
true
0
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
1
0
0
0
0
0
0
3
65a1e7c47be1ddc3bf111d2726e78bc87096fdf2
836
py
Python
pomodoro_system/pomodoros/tests/application/in_memory_pomodoros_repository.py
kamil559/pomodorr_v2
33b53db4f1e82025b186e551a4e55840ee75c740
[ "MIT" ]
null
null
null
pomodoro_system/pomodoros/tests/application/in_memory_pomodoros_repository.py
kamil559/pomodorr_v2
33b53db4f1e82025b186e551a4e55840ee75c740
[ "MIT" ]
null
null
null
pomodoro_system/pomodoros/tests/application/in_memory_pomodoros_repository.py
kamil559/pomodorr_v2
33b53db4f1e82025b186e551a4e55840ee75c740
[ "MIT" ]
null
null
null
from typing import Dict, List, Optional from pomodoros.application.repositories.pomodoros import PomodoroRepository from pomodoros.domain.entities.pomodoro import Pomodoro from pomodoros.domain.value_objects import PomodoroId class InMemoryPomodorosRepository(PomodoroRepository): def __init__(self, initial_data:...
34.833333
90
0.714115
96
836
6.0625
0.40625
0.068729
0.065292
0.09622
0.109966
0
0
0
0
0
0
0
0.192584
836
23
91
36.347826
0.862222
0
0
0
0
0
0
0
0
0
0
0
0
1
0.235294
false
0
0.235294
0.117647
0.647059
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
65a3d81e644d285f8a4245408bafc19eb1419c0f
290
py
Python
utl/lay/__init__.py
angellbelger/GPA-Calculator
350d9cc0ca0a498f57f064cc02cd1b5c04918d81
[ "MIT" ]
null
null
null
utl/lay/__init__.py
angellbelger/GPA-Calculator
350d9cc0ca0a498f57f064cc02cd1b5c04918d81
[ "MIT" ]
null
null
null
utl/lay/__init__.py
angellbelger/GPA-Calculator
350d9cc0ca0a498f57f064cc02cd1b5c04918d81
[ "MIT" ]
null
null
null
colour = {'r': '\033[31m', 'g': '\033[32m', 'w': '\033[33m', 'b': '\033[34m', 'p': '\033[35m', 'c': '\033[36m', 'limit': '\033[m'} def line(n=37): print('-' * n) def title(txt, x=37): print('-' * x) print(f'{colour["c"]}{txt.center(x)}{colour["limit"]}') print('-' * x)
24.166667
94
0.458621
46
290
2.891304
0.565217
0.105263
0
0
0
0
0
0
0
0
0
0.154812
0.175862
290
12
95
24.166667
0.401674
0
0
0.25
0
0
0.388316
0.154639
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
1
0
3
65acc972c46ec30993f3ccfaf9cc285362f4ec59
821
py
Python
tests/integration/test_with_b64.py
thiagopena/python-mcollective
77cac3e23e6a61542662be3b8f94ee54bbfea942
[ "BSD-3-Clause" ]
1
2015-07-29T00:35:51.000Z
2015-07-29T00:35:51.000Z
tests/integration/test_with_b64.py
jantman/python-mcollective
ceb8f362bc8a1981b42696889250bed1cce07fea
[ "BSD-3-Clause" ]
null
null
null
tests/integration/test_with_b64.py
jantman/python-mcollective
ceb8f362bc8a1981b42696889250bed1cce07fea
[ "BSD-3-Clause" ]
1
2019-01-02T18:40:24.000Z
2019-01-02T18:40:24.000Z
import os from pymco.test import ctxt from . import base FIXTURES_PATH = os.path.join(ctxt.ROOT, 'fixtures') class Base64TestCase(base.IntegrationTestCase): """ActiveMQ integration test case.""" CTXT = { 'plugin.activemq.pool.1.port': 61614, 'plugin.activemq.pool.1.password': 'marionette', ...
25.65625
64
0.72838
81
821
7.37037
0.432099
0.125628
0.159129
0.268007
0.319933
0.246231
0
0
0
0
0
0.062947
0.148599
821
31
65
26.483871
0.79113
0.208283
0
0
0
0
0.173077
0.139423
0
0
0
0
0
1
0
false
0.071429
0.214286
0
0.642857
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
65c30413d33c237ed8ca802b7d99328eeb1152b7
453
py
Python
src/appointments/migrations/0002_auto_20191226_0025.py
TheCleverlaure/sicco-web
8e734c9bfa9c99056b6abd5276b65b1e4bf21e23
[ "bzip2-1.0.6" ]
null
null
null
src/appointments/migrations/0002_auto_20191226_0025.py
TheCleverlaure/sicco-web
8e734c9bfa9c99056b6abd5276b65b1e4bf21e23
[ "bzip2-1.0.6" ]
null
null
null
src/appointments/migrations/0002_auto_20191226_0025.py
TheCleverlaure/sicco-web
8e734c9bfa9c99056b6abd5276b65b1e4bf21e23
[ "bzip2-1.0.6" ]
null
null
null
# Generated by Django 2.2.2 on 2019-12-26 04:25 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('appointments', '0001_initial'), ] operations = [ migrations.DeleteModel( name='CitasAsistidas', ), migrations.DeleteMode...
19.695652
47
0.569536
38
453
6.763158
0.684211
0.245136
0.291829
0
0
0
0
0
0
0
0
0.061889
0.322296
453
22
48
20.590909
0.775244
0.099338
0
0.375
1
0
0.162562
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
65edf17c32e5f255649625baae9556b525342d97
3,491
py
Python
Password-Checkout-with-ServiceNow/psswdCheckout.py
centrify/centrify-samples-CPS-Python
f53dec45596e006df4655ef3118b399f1830e734
[ "Apache-2.0" ]
1
2017-11-21T20:19:19.000Z
2017-11-21T20:19:19.000Z
Password-Checkout-with-ServiceNow/psswdCheckout.py
centrify/centrify-samples-CPS-Python
f53dec45596e006df4655ef3118b399f1830e734
[ "Apache-2.0" ]
null
null
null
Password-Checkout-with-ServiceNow/psswdCheckout.py
centrify/centrify-samples-CPS-Python
f53dec45596e006df4655ef3118b399f1830e734
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 Centrify Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
32.626168
198
0.684618
434
3,491
5.467742
0.43318
0.037927
0.04804
0.026549
0
0
0
0
0
0
0
0.014388
0.124033
3,491
106
199
32.933962
0.761609
0.331997
0
0.214286
0
0
0.390265
0.138635
0
0
0
0
0
0
null
null
0.107143
0.107143
null
null
0.410714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
1
0
3
02aded30a2ef58240910cdf360e0856d9e50dc27
349
py
Python
tests/integration/import_test.py
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
61
2020-07-06T17:11:46.000Z
2022-03-12T14:42:51.000Z
tests/integration/import_test.py
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
1
2021-02-25T01:30:29.000Z
2021-11-09T11:13:14.000Z
tests/integration/import_test.py
gglin001/popart
3225214343f6d98550b6620e809a3544e8bcbfc6
[ "MIT" ]
6
2020-07-15T12:33:13.000Z
2021-11-07T06:55:00.000Z
# Copyright (c) 2019 Graphcore Ltd. All rights reserved. import pytest def test_import_order(): import onnx with pytest.raises(ImportError) as error: import popart assert error.value.args[0] == ( 'It looks like onnx has already been imported. Due to an ongoing ' 'issue, popart mus...
26.846154
74
0.681948
48
349
4.916667
0.8125
0
0
0
0
0
0
0
0
0
0
0.018868
0.240688
349
12
75
29.083333
0.871698
0.154728
0
0
0
0
0.365188
0
0
0
0
0
0.125
1
0.125
true
0
0.875
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
02ba052338333516399b33e1418b891631d6db0e
158
py
Python
rebellion/__init__.py
sizumita/rebellion
46b8b25fb00e09af0d2dd2632581c4e317554d1b
[ "MIT" ]
null
null
null
rebellion/__init__.py
sizumita/rebellion
46b8b25fb00e09af0d2dd2632581c4e317554d1b
[ "MIT" ]
null
null
null
rebellion/__init__.py
sizumita/rebellion
46b8b25fb00e09af0d2dd2632581c4e317554d1b
[ "MIT" ]
null
null
null
__title__ = 'rebellion' __author__ = 'sizumita' __license__ = 'MIT' __version__ = '1.0.0a' from .gateway import WebsocketClient from .http import HttpClient
19.75
36
0.765823
18
158
5.833333
0.888889
0
0
0
0
0
0
0
0
0
0
0.021898
0.132911
158
7
37
22.571429
0.744526
0
0
0
0
0
0.164557
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
02c0bb41798a549d40f8e0f242b3777c7360a7e2
7,648
py
Python
crabpy_pyramid/tests/renderers/test_capakey.py
OnroerendErfgoed/crabpy_pyramid
6b0b286b4f2ff14edbc413fd7202df516b089a20
[ "MIT" ]
1
2020-01-20T13:07:51.000Z
2020-01-20T13:07:51.000Z
crabpy_pyramid/tests/renderers/test_capakey.py
OnroerendErfgoed/crabpy_pyramid
6b0b286b4f2ff14edbc413fd7202df516b089a20
[ "MIT" ]
138
2015-01-16T09:20:01.000Z
2022-01-31T10:16:26.000Z
crabpy_pyramid/tests/renderers/test_capakey.py
OnroerendErfgoed/crabpy_pyramid
6b0b286b4f2ff14edbc413fd7202df516b089a20
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Tests for the capakey renderers module. .. versionadded:: 0.1.0 """ from __future__ import unicode_literals import json import unittest from crabpy.gateway.capakey import Afdeling from crabpy.gateway.capakey import Gemeente from crabpy.gateway.capakey import Perceel from crabpy.gateway.c...
29.992157
90
0.393698
579
7,648
5.103627
0.174439
0.018951
0.037225
0.050761
0.766159
0.713706
0.702876
0.646701
0.565482
0.490355
0
0.220396
0.490978
7,648
254
91
30.110236
0.538659
0.011376
0
0.451754
0
0
0.120217
0.011121
0
0
0
0
0.035088
1
0.052632
false
0
0.039474
0
0.100877
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
02c45971f1d6e99b9bc5d2829894275d9375b81a
139
py
Python
internal-enrichment/virustotal/src/virustotal/__init__.py
stevie-codes/connectors
67adc4cfcaa37559a02cc711ad881aa06ae0915d
[ "Apache-2.0" ]
132
2019-06-28T23:23:18.000Z
2022-03-30T07:47:55.000Z
internal-enrichment/virustotal/src/virustotal/__init__.py
stevie-codes/connectors
67adc4cfcaa37559a02cc711ad881aa06ae0915d
[ "Apache-2.0" ]
472
2019-06-26T12:14:54.000Z
2022-03-31T13:49:53.000Z
internal-enrichment/virustotal/src/virustotal/__init__.py
stevie-codes/connectors
67adc4cfcaa37559a02cc711ad881aa06ae0915d
[ "Apache-2.0" ]
185
2019-07-01T09:32:14.000Z
2022-03-28T05:29:12.000Z
# -*- coding: utf-8 -*- """VirusTotal connector module.""" from .virustotal import VirusTotalConnector __all__ = ["VirusTotalConnector"]
19.857143
43
0.719424
12
139
8
0.833333
0
0
0
0
0
0
0
0
0
0
0.008197
0.122302
139
6
44
23.166667
0.778689
0.366906
0
0
0
0
0.231707
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
02ec4ce5affd963fdf6bf86307c1ae102114485e
82
py
Python
modpath/errors.py
xkortex/modpath
85160cfa98e4b49a0c114708086e09c9f884110d
[ "MIT" ]
1
2022-03-07T20:59:15.000Z
2022-03-07T20:59:15.000Z
modpath/errors.py
xkortex/modpath
85160cfa98e4b49a0c114708086e09c9f884110d
[ "MIT" ]
null
null
null
modpath/errors.py
xkortex/modpath
85160cfa98e4b49a0c114708086e09c9f884110d
[ "MIT" ]
null
null
null
class ArgumentError(ValueError): ... class PathOpError(ValueError): ...
11.714286
32
0.658537
6
82
9
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.195122
82
6
33
13.666667
0.818182
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
f30c7b961493871f982ac0e5ee58bdfdae970d04
223
py
Python
Exercise-2/10_combinations.py
abhay-lal/18CSC207J-APP
79a955a99837e6d41c89cb1a9e84eb0230c0fa7b
[ "MIT" ]
null
null
null
Exercise-2/10_combinations.py
abhay-lal/18CSC207J-APP
79a955a99837e6d41c89cb1a9e84eb0230c0fa7b
[ "MIT" ]
null
null
null
Exercise-2/10_combinations.py
abhay-lal/18CSC207J-APP
79a955a99837e6d41c89cb1a9e84eb0230c0fa7b
[ "MIT" ]
null
null
null
num = '' for i in range(10): num = str(i) for j in range(10): num += str(j) for k in range(10): num += str(k) print(num) num = str(i) + str(j) num = str(i)
22.3
33
0.399103
35
223
2.542857
0.285714
0.337079
0.303371
0.404494
0.505618
0
0
0
0
0
0
0.04878
0.44843
223
10
34
22.3
0.674797
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.1
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
f30fcf7c508ccd7758049f778c8741c77a764a6e
316
py
Python
app/api/v1/schemas/offices_schema.py
kelvinbunei/Politico
d7ad9355fe6375ba5d87da56eed100eb31cfd9a0
[ "MIT" ]
null
null
null
app/api/v1/schemas/offices_schema.py
kelvinbunei/Politico
d7ad9355fe6375ba5d87da56eed100eb31cfd9a0
[ "MIT" ]
null
null
null
app/api/v1/schemas/offices_schema.py
kelvinbunei/Politico
d7ad9355fe6375ba5d87da56eed100eb31cfd9a0
[ "MIT" ]
null
null
null
from marshmallow import Schema, fields, post_dump from ..utils.validator import required class OfficeSchema(Schema): """ schema for office object """ id = fields.Int(dump_only=True) type = fields.Str(required=True, validate=(required)) name = fields.Str(required=True, validate=(required))
21.066667
57
0.708861
39
316
5.692308
0.589744
0.081081
0.153153
0.189189
0.333333
0.333333
0
0
0
0
0
0
0.174051
316
14
58
22.571429
0.850575
0.075949
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
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
f3137bd515539ee0bfcab4c174571057a2aabbde
15,293
py
Python
lbuild/facade.py
kikass13/lbuild
11217e3839361447f5b00edb0e335a60502f5741
[ "BSD-2-Clause" ]
17
2018-11-11T18:50:09.000Z
2022-01-13T17:07:31.000Z
lbuild/facade.py
kikass13/lbuild
11217e3839361447f5b00edb0e335a60502f5741
[ "BSD-2-Clause" ]
41
2018-09-26T09:56:59.000Z
2022-02-06T03:11:24.000Z
lbuild/facade.py
kikass13/lbuild
11217e3839361447f5b00edb0e335a60502f5741
[ "BSD-2-Clause" ]
7
2018-09-11T07:42:52.000Z
2021-11-22T19:39:25.000Z
#!/usr/bin/env python3 # # Copyright (c) 2018, Niklas Hauser # Copyright (c) 2018, Fabian Greif # All Rights Reserved. # # The file is part of the lbuild project and is released under the # 2-clause BSD license. See the file `LICENSE.txt` for the full license # governing this code. import os import lbuild.utils import...
30.708835
110
0.665533
1,743
15,293
5.620769
0.127367
0.051036
0.027866
0.026539
0.420945
0.358171
0.284781
0.217005
0.20047
0.154027
0
0.006849
0.226705
15,293
497
111
30.770624
0.82158
0.032368
0
0.268437
0
0
0.070564
0.02192
0
0
0
0
0
1
0.324484
false
0
0.020649
0.129794
0.572271
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
f31a46a15de9d84191e25e8117d84a50fc967474
180
py
Python
tests/data/config/i_base.py
BIGWangYuDong/mmcv
c46deb0576edaff5cd5a7d384c617478c7a73a70
[ "Apache-2.0" ]
1
2022-03-14T12:40:34.000Z
2022-03-14T12:40:34.000Z
tests/data/config/i_base.py
BIGWangYuDong/mmcv
c46deb0576edaff5cd5a7d384c617478c7a73a70
[ "Apache-2.0" ]
null
null
null
tests/data/config/i_base.py
BIGWangYuDong/mmcv
c46deb0576edaff5cd5a7d384c617478c7a73a70
[ "Apache-2.0" ]
null
null
null
# Copyright (c) OpenMMLab. All rights reserved. item1 = [1, 2] item2 = {'a': 0} item3 = True item4 = 'test' item_cfg = {'b': 1} item5 = {'cfg': item_cfg} item6 = {'cfg': item_cfg}
20
47
0.611111
28
180
3.821429
0.75
0.196262
0.186916
0
0
0
0
0
0
0
0
0.068027
0.183333
180
8
48
22.5
0.659864
0.25
0
0
0
0
0.090226
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f31a725b63e842828088bd6c5f336668917cedf3
1,490
py
Python
src/queue_and_stack/tests/test_max_stack.py
Soumithri/coding_problems
b10820d81677ef0edc9a5f2b310720d8e1df6c76
[ "MIT" ]
null
null
null
src/queue_and_stack/tests/test_max_stack.py
Soumithri/coding_problems
b10820d81677ef0edc9a5f2b310720d8e1df6c76
[ "MIT" ]
8
2020-08-05T02:27:45.000Z
2021-04-20T20:48:50.000Z
src/queue_and_stack/tests/test_max_stack.py
Soumithri/coding_problems
b10820d81677ef0edc9a5f2b310720d8e1df6c76
[ "MIT" ]
null
null
null
import unittest try: from coding_problems.src.queue_and_stack.max_stack import MaxStack except ImportError as e: from coding_problems.src.queue_and_stack.answers.max_stack import MaxStack class Test(unittest.TestCase): def test_stack_usage(self): max_stack = MaxStack() max_stack.push(5)...
23.28125
78
0.619463
175
1,490
5.045714
0.217143
0.16308
0.15855
0.328426
0.762174
0.762174
0.739524
0.619479
0.619479
0.518686
0
0.015152
0.291275
1,490
63
79
23.650794
0.821023
0
0
0.688889
0
0
0.005369
0
0
0
0
0
0.222222
1
0.022222
false
0
0.088889
0
0.133333
0
0
0
0
null
0
0
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b82c3854a22261ae97a3668adc184777ed153867
380
py
Python
src/tensor/datatype/integer/__init__.py
jedhsu/tensor
3b2fe21029fa7c50b034190e77d79d1a94ea5e8f
[ "Apache-2.0" ]
null
null
null
src/tensor/datatype/integer/__init__.py
jedhsu/tensor
3b2fe21029fa7c50b034190e77d79d1a94ea5e8f
[ "Apache-2.0" ]
null
null
null
src/tensor/datatype/integer/__init__.py
jedhsu/tensor
3b2fe21029fa7c50b034190e77d79d1a94ea5e8f
[ "Apache-2.0" ]
null
null
null
from ._integer import Integer from .x8 import i8 from .x16 import i16 from .x32 import i32 from .x64 import i64 from .unsigned import Unsigned from .unsigned import u8 from .unsigned import u16 from .unsigned import u32 from .unsigned import u64 __all__ = [ "Integer", "i8", "i16", "i32", "i64", ...
14.615385
30
0.631579
51
380
4.607843
0.333333
0.255319
0.382979
0
0
0
0
0
0
0
0
0.123675
0.255263
380
25
31
15.2
0.706714
0
0
0
0
0
0.097368
0
0
0
0
0
0
1
0
false
0
0.454545
0
0.454545
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b82ff91427a296e03039789203d240fffd131d67
196
py
Python
system/views.py
erpstudio/zki
7dcc33a7286ea375d121f158b1d23706f81f5d6a
[ "Apache-2.0" ]
null
null
null
system/views.py
erpstudio/zki
7dcc33a7286ea375d121f158b1d23706f81f5d6a
[ "Apache-2.0" ]
null
null
null
system/views.py
erpstudio/zki
7dcc33a7286ea375d121f158b1d23706f81f5d6a
[ "Apache-2.0" ]
null
null
null
from django.views.generic import CreateView from models import Inventory class InventoryCreateView(CreateView): model = Inventory fields = ('name', 'unit', 'category', 'purchase_price')
24.5
59
0.75
21
196
6.952381
0.809524
0
0
0
0
0
0
0
0
0
0
0
0.147959
196
7
60
28
0.874252
0
0
0
0
0
0.153061
0
0
0
0
0
0
1
0
false
0
0.4
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b8301519927704053fd580af54624e9aee3e8ebd
128
py
Python
run_cmd_in_new_window__os_system.py
DazEB2/SimplePyScripts
1dde0a42ba93fe89609855d6db8af1c63b1ab7cc
[ "CC-BY-4.0" ]
117
2015-12-18T07:18:27.000Z
2022-03-28T00:25:54.000Z
run_cmd_in_new_window__os_system.py
DazEB2/SimplePyScripts
1dde0a42ba93fe89609855d6db8af1c63b1ab7cc
[ "CC-BY-4.0" ]
8
2018-10-03T09:38:46.000Z
2021-12-13T19:51:09.000Z
run_cmd_in_new_window__os_system.py
DazEB2/SimplePyScripts
1dde0a42ba93fe89609855d6db8af1c63b1ab7cc
[ "CC-BY-4.0" ]
28
2016-08-02T17:43:47.000Z
2022-03-21T08:31:12.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __author__ = 'ipetrash' import os os.system("start cmd.exe @cmd /k ipconfig")
14.222222
43
0.648438
19
128
4.157895
0.894737
0
0
0
0
0
0
0
0
0
0
0.018519
0.15625
128
8
44
16
0.712963
0.335938
0
0
0
0
0.457831
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
b83513d55d70aeeb836244f7cd86410d004907db
143
py
Python
Standard Library/typing/typing/doubt.py
subhadeep-123/Python-Documents
8021d37536f6e04b6f82cfd1a158f37d3680afc9
[ "Apache-2.0" ]
2
2020-11-27T13:21:05.000Z
2021-04-19T21:14:21.000Z
Standard Library/typing/typing/doubt.py
subhadeep-123/Python-Documents
8021d37536f6e04b6f82cfd1a158f37d3680afc9
[ "Apache-2.0" ]
null
null
null
Standard Library/typing/typing/doubt.py
subhadeep-123/Python-Documents
8021d37536f6e04b6f82cfd1a158f37d3680afc9
[ "Apache-2.0" ]
1
2021-06-27T20:31:42.000Z
2021-06-27T20:31:42.000Z
from typing import Optional, Union def temp(name: str) -> Union[bool, float]: if name == "matrix": return True return 1.0
23.833333
43
0.608392
20
143
4.35
0.85
0
0
0
0
0
0
0
0
0
0
0.019417
0.27972
143
6
44
23.833333
0.825243
0
0
0
0
0
0.043165
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.8
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b8387b2bbb582382fe34a244244d568699ed1222
682
py
Python
tasks/migrations/0007_auto_20190223_1424.py
Adinetti/TODO-List-site
31db8b5726ce4ace2359a329938f31c1ddf1e224
[ "MIT" ]
null
null
null
tasks/migrations/0007_auto_20190223_1424.py
Adinetti/TODO-List-site
31db8b5726ce4ace2359a329938f31c1ddf1e224
[ "MIT" ]
null
null
null
tasks/migrations/0007_auto_20190223_1424.py
Adinetti/TODO-List-site
31db8b5726ce4ace2359a329938f31c1ddf1e224
[ "MIT" ]
null
null
null
# Generated by Django 2.1.7 on 2019-02-23 14:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tasks', '0006_auto_20190216_1304'), ] operations = [ migrations.AlterField( model_name='tag', name='name', ...
23.517241
69
0.545455
67
682
5.447761
0.641791
0.164384
0.205479
0.238356
0.19726
0.19726
0
0
0
0
0
0.072368
0.331378
682
28
70
24.357143
0.72807
0.065982
0
0.363636
1
0
0.092913
0.03622
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
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
b8413b8c628bbb7b1b9dfd0f1d5951e0eeebf99e
2,507
py
Python
tests/test_cli.py
Bonifacio2/csvkit
778ffd948133cc77c0ed2ad2cd78c1d762a7a632
[ "MIT" ]
3,239
2016-02-16T11:06:48.000Z
2022-03-31T23:01:03.000Z
tests/test_cli.py
Bonifacio2/csvkit
778ffd948133cc77c0ed2ad2cd78c1d762a7a632
[ "MIT" ]
678
2016-02-27T01:16:10.000Z
2022-03-23T15:06:59.000Z
tests/test_cli.py
Bonifacio2/csvkit
778ffd948133cc77c0ed2ad2cd78c1d762a7a632
[ "MIT" ]
396
2016-02-22T16:47:23.000Z
2022-03-07T09:59:05.000Z
#!/usr/bin/env python import unittest from csvkit.cli import match_column_identifier, parse_column_identifiers class TestCli(unittest.TestCase): def setUp(self): self.headers = ['id', 'name', 'i_work_here', '1', 'more-header-values', 'stuff', 'blueberry'] def test_match_column_identifier_string(se...
52.229167
114
0.712405
354
2,507
4.793785
0.177966
0.149087
0.194461
0.088391
0.66647
0.606364
0.53624
0.443724
0.361815
0.189747
0
0.037401
0.146789
2,507
47
115
53.340426
0.755961
0.025529
0
0
0
0
0.078656
0.021303
0
0
0
0
0.575758
1
0.212121
false
0
0.060606
0
0.30303
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
1
0
0
0
0
0
0
0
3
b845745089a712b48011cc6fbf8853a127437a9b
289
py
Python
humblecritic/humblebundle/__init__.py
witekbobrowski/humblecritic
08ff00e4e233c251453f20bac2593be70235fac8
[ "MIT" ]
3
2018-02-24T12:23:21.000Z
2018-10-15T11:18:17.000Z
humblecritic/humblebundle/__init__.py
witekbobrowski/humblecritic
08ff00e4e233c251453f20bac2593be70235fac8
[ "MIT" ]
1
2018-02-24T20:24:57.000Z
2018-02-24T21:35:58.000Z
humblecritic/humblebundle/__init__.py
witekbobrowski/humblecritic
08ff00e4e233c251453f20bac2593be70235fac8
[ "MIT" ]
1
2018-02-27T16:07:28.000Z
2018-02-27T16:07:28.000Z
#!/usr/bin/env python3 # -*- coding : utf-8 -*- # Author: Witek Bobrowski from .builder import construct_bundle from .scraper import get_available_bundles from .builder import Builder from .bundle import Bundle from .bundle import BundleType from .tier import Tier from .item import Item
24.083333
42
0.778547
41
289
5.414634
0.536585
0.099099
0.153153
0
0
0
0
0
0
0
0
0.008065
0.141869
289
11
43
26.272727
0.887097
0.235294
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
b86d5d92707e5d9bb6fd5b3395d88fa59261c661
162
py
Python
geomagio/adjusted/__init__.py
usgs/geomag-algorithms
a83a0e36bed9307828e37b9130c25dbc26dd1bc9
[ "CC0-1.0" ]
49
2015-10-06T17:57:20.000Z
2022-01-12T18:40:17.000Z
geomagio/adjusted/__init__.py
usgs/geomag-algorithms
a83a0e36bed9307828e37b9130c25dbc26dd1bc9
[ "CC0-1.0" ]
229
2015-01-26T20:10:36.000Z
2022-03-12T00:46:33.000Z
geomagio/adjusted/__init__.py
usgs/geomag-algorithms
a83a0e36bed9307828e37b9130c25dbc26dd1bc9
[ "CC0-1.0" ]
44
2015-03-03T16:18:18.000Z
2021-11-06T17:07:38.000Z
from .AdjustedMatrix import AdjustedMatrix from .Affine import Affine from .Metric import Metric __all__ = [ "AdjustedMatrix", "Affine", "Metric", ]
16.2
42
0.709877
16
162
6.9375
0.375
0
0
0
0
0
0
0
0
0
0
0
0.197531
162
9
43
18
0.853846
0
0
0
0
0
0.160494
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
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
b87743a631391e23040b77a614d39a13699c2f7e
7,352
py
Python
main/models.py
Antman261/Gigger-Webserver
3b85d6267693da730712d983cf588d6ceaac6b3f
[ "MIT" ]
5
2016-10-27T02:10:30.000Z
2016-11-09T22:33:31.000Z
main/models.py
Antman261/Gigger-Webserver
3b85d6267693da730712d983cf588d6ceaac6b3f
[ "MIT" ]
null
null
null
main/models.py
Antman261/Gigger-Webserver
3b85d6267693da730712d983cf588d6ceaac6b3f
[ "MIT" ]
3
2016-11-06T16:11:16.000Z
2018-03-21T04:26:06.000Z
# This is an auto-generated Django model module. # You'll have to do the following manually to clean this up: # * Rearrange models' order # * Make sure each model has one field with primary_key=True # * Make sure each ForeignKey has `on_delete` set to the desired behavior. # * Remove `managed = False` lines if ...
40.174863
108
0.70049
947
7,352
5.272439
0.225977
0.091929
0.133387
0.177849
0.574604
0.491088
0.39275
0.222311
0.146205
0.146205
0
0.018681
0.191785
7,352
182
109
40.395604
0.821609
0.097524
0
0.280576
1
0
0.043196
0.009968
0
0
0
0
0
1
0.035971
false
0
0.021583
0.028777
0.769784
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b89dd2ce82389292649850fd29f8d824ffbb1f6a
429
py
Python
django/docs/ref/contrib/gis/sitemaps.txt.py
roshanba/mangal
f7b428811dc07214009cc33f0beb665ead402038
[ "bzip2-1.0.6", "MIT" ]
null
null
null
django/docs/ref/contrib/gis/sitemaps.txt.py
roshanba/mangal
f7b428811dc07214009cc33f0beb665ead402038
[ "bzip2-1.0.6", "MIT" ]
null
null
null
django/docs/ref/contrib/gis/sitemaps.txt.py
roshanba/mangal
f7b428811dc07214009cc33f0beb665ead402038
[ "bzip2-1.0.6", "MIT" ]
null
null
null
XXXXXXXXXXXXXXXXXXX XXXXXXXXXX XXXXXXXX XXXXXXXXXXXXXXXXXXX XXX XX XX XXX XXXXXXXX XXXXXXX XX XXXXXXXXXX XXXXXXXXXXXXX XXXXX XXXXXXXXXXXXXX XXX XXX XXXXXXXXXX XXXXXXXXXXX XXXXXXXXXXXXXX XXXXX XXX XX XXXXXXX XXXXXXXXXX XXXX XX X XXXXXXXXXXXXXXXX XXXXXXX XXXXXXX XXXXXXX XXXXXXXXX XXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXXX...
18.652174
79
0.88345
44
429
8.613636
0.340909
0.221636
0.221636
0
0
0
0
0
0
0
0
0
0.11655
429
22
80
19.5
1
0
0
0.6875
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
b8a22c3e4bd2f22ef31023e60694d890b43344b9
1,155
py
Python
tfx_bsl/__init__.py
Global19-atlassian-net/tfx-bsl
e5534a9c6a4d3dfcf9d5342b16f3f26d1a25d246
[ "Apache-2.0" ]
null
null
null
tfx_bsl/__init__.py
Global19-atlassian-net/tfx-bsl
e5534a9c6a4d3dfcf9d5342b16f3f26d1a25d246
[ "Apache-2.0" ]
null
null
null
tfx_bsl/__init__.py
Global19-atlassian-net/tfx-bsl
e5534a9c6a4d3dfcf9d5342b16f3f26d1a25d246
[ "Apache-2.0" ]
1
2020-08-03T21:01:38.000Z
2020-08-03T21:01:38.000Z
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
39.827586
80
0.780087
187
1,155
4.700535
0.55615
0.068259
0.029579
0.036405
0.175199
0.175199
0.175199
0.175199
0.175199
0.175199
0
0.026749
0.158442
1,155
28
81
41.25
0.877572
0.852814
0
0
0
0
0
0
0
0
0
0.035714
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
3
b8a9f1e4ba631c9305dda276576190cbab229991
385
py
Python
pystruct/inference/__init__.py
almath123/pystruct
f08743d85b86447a55eb361b35726a3f3266ee4e
[ "BSD-2-Clause" ]
1
2016-10-31T02:58:30.000Z
2016-10-31T02:58:30.000Z
pystruct/inference/__init__.py
kingjr/pystruct
23c6d8f6ab34a88b63386a595debbfdfa13345fe
[ "BSD-2-Clause" ]
null
null
null
pystruct/inference/__init__.py
kingjr/pystruct
23c6d8f6ab34a88b63386a595debbfdfa13345fe
[ "BSD-2-Clause" ]
1
2018-01-10T13:47:31.000Z
2018-01-10T13:47:31.000Z
from .inference_methods import (inference_qpbo, inference_lp, inference_ad3, inference_ogm, inference_dispatch, get_installed) from .common import compute_energy __all__ = ["inference_qpbo", "inference_lp", "inference_ad3", "inference_dispatch"...
42.777778
67
0.633766
36
385
6.25
0.416667
0.115556
0.195556
0.213333
0.4
0.4
0.4
0
0
0
0
0.007246
0.283117
385
8
68
48.125
0.807971
0
0
0
0
0
0.251948
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b8aeb45c1cef532bc85432bfdb6d3277dc243bd6
1,720
py
Python
posts/migrations/0010_auto_20210901_1542.py
YuriyCherniy/just-blog
ea9810a8e4db77f109d211bb45c04fb79d0f1e5c
[ "MIT" ]
3
2022-01-15T18:23:34.000Z
2022-01-15T20:32:52.000Z
posts/migrations/0010_auto_20210901_1542.py
YuriyCherniy/just-blog
ea9810a8e4db77f109d211bb45c04fb79d0f1e5c
[ "MIT" ]
null
null
null
posts/migrations/0010_auto_20210901_1542.py
YuriyCherniy/just-blog
ea9810a8e4db77f109d211bb45c04fb79d0f1e5c
[ "MIT" ]
1
2022-01-19T11:31:52.000Z
2022-01-19T11:31:52.000Z
# Generated by Django 3.2.4 on 2021-09-01 15:42 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('posts', '0009_postabout_title'), ] operations = [ migrations.RemoveField( model_name='post', ...
27.301587
117
0.516279
156
1,720
5.519231
0.371795
0.114983
0.301974
0.348432
0.499419
0.499419
0.499419
0
0
0
0
0.025316
0.356977
1,720
62
118
27.741935
0.753165
0.026163
0
0.553571
1
0
0.102809
0
0
0
0
0
0
1
0
false
0
0.035714
0
0.089286
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
b8b579c28dfd47ea545a0289069acd3870bc57eb
120
py
Python
Day19/beacon.py
squidbot/aoc2021
aae5cf2017562150ec01d6cce5200ebc2b02f19d
[ "MIT" ]
null
null
null
Day19/beacon.py
squidbot/aoc2021
aae5cf2017562150ec01d6cce5200ebc2b02f19d
[ "MIT" ]
null
null
null
Day19/beacon.py
squidbot/aoc2021
aae5cf2017562150ec01d6cce5200ebc2b02f19d
[ "MIT" ]
null
null
null
def part1(): pass if __name__ == '__main__': with open('input.txt') as f: lines = f.read().splitlines()
20
37
0.575
16
120
3.8125
0.9375
0
0
0
0
0
0
0
0
0
0
0.011111
0.25
120
6
37
20
0.666667
0
0
0
0
0
0.140496
0
0
0
0
0
0
1
0.2
false
0.2
0
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
0
1
0
0
0
0
0
3
b8b85a8fd867e01d03de72b058ad73a163bc2eac
263
py
Python
tests/roots/test-base/target/edgecase_member_order.py
lilyminium/autodoc_pydantic
c9bc8430e5341863370f27b7d6cb1a2568e14b04
[ "MIT" ]
46
2021-04-03T20:54:14.000Z
2022-03-21T22:56:27.000Z
tests/roots/test-base/target/edgecase_member_order.py
lilyminium/autodoc_pydantic
c9bc8430e5341863370f27b7d6cb1a2568e14b04
[ "MIT" ]
74
2021-04-05T22:18:02.000Z
2022-03-31T22:59:13.000Z
tests/roots/test-base/target/edgecase_member_order.py
lilyminium/autodoc_pydantic
c9bc8430e5341863370f27b7d6cb1a2568e14b04
[ "MIT" ]
6
2021-05-04T12:03:06.000Z
2022-03-30T13:25:51.000Z
"""Module doc string.""" from pydantic import BaseModel class C(BaseModel): """Class C""" field: int class D: """Class D""" field: int = 1 class A(BaseModel): """Class A""" field: int class B: """Class B""" field: int = 1
10.958333
30
0.539924
35
263
4.057143
0.428571
0.225352
0.211268
0
0
0
0
0
0
0
0
0.010695
0.288973
263
23
31
11.434783
0.748663
0.190114
0
0.444444
0
0
0
0
0
0
0
0
0
1
0
true
0
0.111111
0
1
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
b225293ba3c933030991702dcd05e262849d366b
4,810
py
Python
backend/asm/operand.py
zengljnwpu/yaspc
5e85efb5fb8bee02471814b10e950dfb5b04c5d5
[ "MIT" ]
null
null
null
backend/asm/operand.py
zengljnwpu/yaspc
5e85efb5fb8bee02471814b10e950dfb5b04c5d5
[ "MIT" ]
null
null
null
backend/asm/operand.py
zengljnwpu/yaspc
5e85efb5fb8bee02471814b10e950dfb5b04c5d5
[ "MIT" ]
null
null
null
from backend.asm.symbol_table import dummy from backend.asm.literal import Literal from backend.asm.literal import IntegerLiteral class Operand (object): def to_source (self, table): return def dump (self): return def is_register (self): return False def is_memory_reference...
25.183246
92
0.609979
522
4,810
5.383142
0.143678
0.053381
0.023488
0.032028
0.366904
0.292883
0.248043
0.12242
0.12242
0.12242
0
0.000587
0.2921
4,810
190
93
25.315789
0.82467
0
0
0.419118
0
0
0.04327
0.016018
0
0
0
0
0
1
0.316176
false
0
0.022059
0.220588
0.676471
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
b22c5866f7dbd576d6cc8e3b6e2e72a837ce025c
562
py
Python
mlcomp/parallelm/components/restful/uwsgi_entry_point_script_template.py
mlpiper/mlpiper
0fd2b6773f970c831038db47bf4920ada21a5f51
[ "Apache-2.0" ]
7
2019-04-08T02:31:55.000Z
2021-11-15T14:40:49.000Z
mlcomp/parallelm/components/restful/uwsgi_entry_point_script_template.py
mlpiper/mlpiper
0fd2b6773f970c831038db47bf4920ada21a5f51
[ "Apache-2.0" ]
31
2019-02-22T22:23:26.000Z
2021-08-02T17:17:06.000Z
mlcomp/parallelm/components/restful/uwsgi_entry_point_script_template.py
mlpiper/mlpiper
0fd2b6773f970c831038db47bf4920ada21a5f51
[ "Apache-2.0" ]
8
2019-03-15T23:46:08.000Z
2020-02-06T09:16:02.000Z
WSGI_ENTRY_SCRIPT = """ import logging from parallelm.ml_engine.rest_model_serving_engine import RestModelServingEngine from {module} import {cls} from {restful_comp_module} import {restful_comp_cls} logging.basicConfig(format='{log_format}') logging.getLogger('{root_logger_name}').setLevel({log_level}) comp = {res...
29.578947
156
0.782918
71
562
5.830986
0.591549
0.07971
0.067633
0
0
0
0
0
0
0
0
0
0.071174
562
18
157
31.222222
0.793103
0
0
0
0
0.083333
0.951957
0.608541
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
1
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b240c9ec5e106c047ad491d0fff3c1e6ee4ad91a
768
py
Python
app/data/models.py
janelia-cosem/pegboard
471bd76d8c13aa80175e0df17de757bfd51e9c30
[ "BSD-3-Clause" ]
null
null
null
app/data/models.py
janelia-cosem/pegboard
471bd76d8c13aa80175e0df17de757bfd51e9c30
[ "BSD-3-Clause" ]
null
null
null
app/data/models.py
janelia-cosem/pegboard
471bd76d8c13aa80175e0df17de757bfd51e9c30
[ "BSD-3-Clause" ]
null
null
null
from django.db import models class Tissue(models.Model): type = models.CharField(max_length=300) short_name = models.CharField(max_length=300) def __str__(self): return self.type class Record(models.Model): tissue = models.ForeignKey(Tissue, on_delete=models.CASCADE) last_updated = models...
30.72
67
0.734375
100
768
5.4
0.41
0.138889
0.166667
0.222222
0.357407
0.207407
0.207407
0.207407
0.207407
0.207407
0
0.023364
0.164063
768
24
68
32
0.817757
0
0
0.210526
0
0
0
0
0
0
0
0
0
1
0.105263
false
0
0.052632
0.105263
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
0
1
1
0
0
3
b25414b06d361d584828f2d26b38fcf2a22da14a
1,202
py
Python
tensorflow_federated/python/core/templates/errors.py
alessiomora/federated
3b501067ed7062aaec3cc8830aaec0a7cf8f0942
[ "Apache-2.0" ]
1
2021-05-10T10:49:34.000Z
2021-05-10T10:49:34.000Z
tensorflow_federated/python/core/templates/errors.py
alessiomora/federated
3b501067ed7062aaec3cc8830aaec0a7cf8f0942
[ "Apache-2.0" ]
null
null
null
tensorflow_federated/python/core/templates/errors.py
alessiomora/federated
3b501067ed7062aaec3cc8830aaec0a7cf8f0942
[ "Apache-2.0" ]
null
null
null
# Copyright 2020, The TensorFlow Federated Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
35.352941
80
0.761231
154
1,202
5.922078
0.597403
0.065789
0.092105
0.035088
0
0
0
0
0
0
0
0.007813
0.148087
1,202
33
81
36.424242
0.882813
0.754576
0
0.428571
0
0
0
0
0
0
0
0
0
1
0
true
0.428571
0
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
3
b25eec1feef83c45cf1c87e9e59b8d4176153c53
1,958
py
Python
repost/crud/users.py
pckv/fastapi-backend
0f561528086ac3fdcabbf9efeac888421eeb66de
[ "MIT" ]
9
2020-02-03T11:17:06.000Z
2021-06-15T13:20:34.000Z
repost/crud/users.py
pckv/fastapi-backend
0f561528086ac3fdcabbf9efeac888421eeb66de
[ "MIT" ]
40
2020-02-03T11:23:59.000Z
2020-05-19T08:05:41.000Z
repost/crud/users.py
pckv/fastapi-backend
0f561528086ac3fdcabbf9efeac888421eeb66de
[ "MIT" ]
1
2020-03-11T02:47:40.000Z
2020-03-11T02:47:40.000Z
from typing import Any, List from sqlalchemy.orm import Session from repost.models import User, Comment, Post, Resub from repost.password import hash_password def get_user(db: Session, *, username: str) -> User: """Get the user with the given username.""" return db.query(User).filter_by(username=username).f...
35.6
119
0.69714
300
1,958
4.42
0.203333
0.040724
0.068627
0.063348
0.555053
0.471342
0.410256
0.303922
0.260181
0.196833
0
0.007282
0.158325
1,958
54
120
36.259259
0.79733
0.184883
0
0.115385
0
0
0
0
0
0
0
0
0
1
0.269231
false
0.115385
0.153846
0
0.653846
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
b25fd63a342b1be89566fd27b5c92a933a05ecb6
546
py
Python
cyllene/f_sheets.py
liuzhengqi1996/math452
635b6ce53cb792e316abf4f47396f2e4f0686815
[ "MIT" ]
3
2020-10-28T13:39:27.000Z
2021-11-12T22:25:29.000Z
cyllene/f_sheets.py
28left/110jupyter
e9d65c67090dc388b5fa9cdc9534cb3ce3e63890
[ "MIT" ]
null
null
null
cyllene/f_sheets.py
28left/110jupyter
e9d65c67090dc388b5fa9cdc9534cb3ce3e63890
[ "MIT" ]
null
null
null
import ipysheet def function_to_sheet(func, name, values): sh = ipysheet.sheet(rows=len(name), columns=len(values), row_headers=name, column_headers=False) x = ipysheet.row(0, values, numeric_format='0.00000') y = ipysheet.row(1, [func(v) for v in values], numeric_format='0.00000') # x = ipysheet....
32.117647
100
0.653846
83
546
4.216867
0.433735
0.125714
0.068571
0.074286
0.388571
0.171429
0.171429
0.171429
0.171429
0.171429
0
0.036782
0.203297
546
16
101
34.125
0.767816
0.135531
0
0
0
0
0.029915
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0.111111
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
1
0
0
0
1
1
0
0
3
b278b0f560703c6d5a7f7d1d4cc7738d9bf334b6
537
py
Python
utils/space.py
AstroProfundis/tidb-insight
83a9c626c7b0ba82d870142872f8d8ef2a56ef08
[ "Apache-2.0" ]
13
2018-07-19T05:00:56.000Z
2021-09-22T05:09:11.000Z
utils/space.py
AstroProfundis/tidb-insight
83a9c626c7b0ba82d870142872f8d8ef2a56ef08
[ "Apache-2.0" ]
18
2018-05-02T03:02:05.000Z
2022-01-06T09:48:01.000Z
utils/space.py
AstroProfundis/tidb-insight
83a9c626c7b0ba82d870142872f8d8ef2a56ef08
[ "Apache-2.0" ]
7
2018-04-24T06:42:12.000Z
2022-03-29T05:45:14.000Z
# -*- coding: utf-8 -*- # Check file space usage with `du` from glob import glob from utils import util # check total size of filepath with `du` def du_total(filepath): # TODO: support relative path, this require `collector` to output cwd of process cmd = ["du", "-s", str(filepath)] return util.run_cmd(...
25.571429
84
0.670391
78
537
4.564103
0.474359
0.033708
0.106742
0.151685
0.505618
0.398876
0.398876
0.398876
0.398876
0.398876
0
0.002342
0.204842
537
20
85
26.85
0.831382
0.467412
0
0.222222
0
0
0.035714
0
0
0
0
0.05
0
1
0.222222
false
0
0.222222
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
1
0
0
3
b289527ff20ad7c2caddb8e1c5fa44e68ed22663
1,109
py
Python
bartpy/sigma.py
joaophellip/bartpy
09e409e91dd1b9d44784c788c2d731dafb181eb0
[ "MIT" ]
147
2018-09-17T16:53:38.000Z
2022-03-30T22:40:37.000Z
bartpy/sigma.py
trivialfis/bartpy
3aa678405dadbe392df2c24dc258ffc72f175dbb
[ "MIT" ]
35
2018-09-25T06:27:35.000Z
2022-01-21T19:33:09.000Z
bartpy/sigma.py
trivialfis/bartpy
3aa678405dadbe392df2c24dc258ffc72f175dbb
[ "MIT" ]
24
2019-03-21T11:46:11.000Z
2022-03-20T02:06:11.000Z
class Sigma: """ A representation of the sigma term in the model. Specifically, this is the sigma of y itself, i.e. the sigma in y ~ Normal(sum_of_trees, sigma) The default prior is an inverse gamma distribution on the variance The parametrization is slightly different to the numpy gamma ...
31.685714
107
0.667268
152
1,109
4.723684
0.414474
0.090529
0.089136
0.05571
0.100279
0.100279
0.100279
0
0
0
0
0.007326
0.261497
1,109
34
108
32.617647
0.869353
0.503156
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
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
b2994ca6eb0da803cf712b6ac6b60eca2df5daa9
14,623
py
Python
software/utils/drc_utils/python/drc_utils/drc_utils.py
liangfok/oh-distro
eeee1d832164adce667e56667dafc64a8d7b8cee
[ "BSD-3-Clause" ]
92
2016-01-14T21:03:50.000Z
2021-12-01T17:57:46.000Z
software/utils/drc_utils/python/drc_utils/drc_utils.py
liangfok/oh-distro
eeee1d832164adce667e56667dafc64a8d7b8cee
[ "BSD-3-Clause" ]
62
2016-01-16T18:08:14.000Z
2016-03-24T15:16:28.000Z
software/utils/drc_utils/python/drc_utils/drc_utils.py
liangfok/oh-distro
eeee1d832164adce667e56667dafc64a8d7b8cee
[ "BSD-3-Clause" ]
41
2016-01-14T21:26:58.000Z
2022-03-28T03:10:39.000Z
from drc.robot_state_t import robot_state_t from drc.position_3d_t import position_3d_t from drc.vector_3d_t import vector_3d_t from drc.quaternion_t import quaternion_t from drc.twist_t import twist_t from drc.force_torque_t import force_torque_t import time import math import numpy as np def timestamp_now (): return...
43.650746
170
0.65185
2,168
14,623
4.241236
0.206181
0.015661
0.039152
0.016639
0.307341
0.295595
0.248178
0.229364
0.223817
0.193801
0
0.309866
0.1724
14,623
334
171
43.781437
0.449926
0.047528
0
0.2
0
0
0.047283
0
0
0
0
0
0
0
null
null
0
0.033962
null
null
0.011321
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
b2a99d3e2dec3bf6e44b5e98bd23be9dd542ce54
849
py
Python
src/app/models/clientes.py
rafaelsouzak2b/lista_favoritos
38cdda263a7a8d157cbfd9abdc4b6e4af3b9f4b8
[ "MIT" ]
null
null
null
src/app/models/clientes.py
rafaelsouzak2b/lista_favoritos
38cdda263a7a8d157cbfd9abdc4b6e4af3b9f4b8
[ "MIT" ]
null
null
null
src/app/models/clientes.py
rafaelsouzak2b/lista_favoritos
38cdda263a7a8d157cbfd9abdc4b6e4af3b9f4b8
[ "MIT" ]
null
null
null
from src.app.db import db class ClienteModel(db.Model): __tablename__ = 'clientes' nome = db.Column(db.String(80), nullable=False) email = db.Column(db.String(250), primary_key = True) def __init__(self, nome, email): self.nome = nome self.email = email def __repr__(self): ...
23.583333
68
0.600707
110
849
4.445455
0.381818
0.06544
0.106339
0.104294
0.106339
0.106339
0
0
0
0
0
0.008078
0.270907
849
36
69
23.583333
0.781906
0
0
0.148148
0
0
0.078824
0.035294
0
0
0
0
0
1
0.259259
false
0
0.037037
0.148148
0.592593
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
a22b4e4a2b2cd2b429f5acbb46475500dd2c2cab
82
py
Python
dp_conceptual_search/search/sort_by.py
flaxandteal/dp-conceptual-search
16c6383a61ba5b7069337c2626a0dc243bfe9d35
[ "MIT" ]
3
2018-05-10T16:49:27.000Z
2022-03-29T15:23:04.000Z
dp_conceptual_search/search/sort_by.py
flaxandteal/dp-conceptual-search
16c6383a61ba5b7069337c2626a0dc243bfe9d35
[ "MIT" ]
2
2018-09-20T06:37:27.000Z
2018-11-12T12:05:08.000Z
dp_conceptual_search/search/sort_by.py
flaxandteal/dp-conceptual-search
16c6383a61ba5b7069337c2626a0dc243bfe9d35
[ "MIT" ]
3
2018-06-25T10:48:43.000Z
2021-04-11T08:01:27.000Z
from enum import Enum class SortOrder(Enum): ASC = "asc", DESC = "desc"
11.714286
22
0.609756
11
82
4.545455
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.268293
82
6
23
13.666667
0.833333
0
0
0
0
0
0.085366
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
a24708365350eedccc68ea4567984edf29a20cba
64
py
Python
settings.py
iagooteroc/telelyrics
b7403ce8394af76b6a640294dd40199e5cbd717c
[ "MIT" ]
null
null
null
settings.py
iagooteroc/telelyrics
b7403ce8394af76b6a640294dd40199e5cbd717c
[ "MIT" ]
null
null
null
settings.py
iagooteroc/telelyrics
b7403ce8394af76b6a640294dd40199e5cbd717c
[ "MIT" ]
null
null
null
GENIUS_TOKEN = 'your-genius-token' BOT_TOKEN = "your-bot-token"
21.333333
34
0.75
10
64
4.6
0.4
0.478261
0
0
0
0
0
0
0
0
0
0
0.09375
64
2
35
32
0.793103
0
0
0
0
0
0.484375
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
a274289cf547bdd8a6d7874d7231619b3eb5e0c3
2,887
py
Python
utils/errors.py
MaskDuck/stella_bot
d772b91a0824e77b1cdb622bc15fa33fed363b95
[ "MIT" ]
36
2020-11-05T07:23:55.000Z
2022-03-24T11:19:44.000Z
utils/errors.py
MaskDuck/stella_bot
d772b91a0824e77b1cdb622bc15fa33fed363b95
[ "MIT" ]
15
2021-03-11T20:30:48.000Z
2022-03-19T03:51:32.000Z
utils/errors.py
MaskDuck/stella_bot
d772b91a0824e77b1cdb622bc15fa33fed363b95
[ "MIT" ]
30
2020-12-05T12:46:57.000Z
2022-03-31T10:35:50.000Z
import discord from typing import Any, Union from discord.ext import commands class ArgumentBaseError(commands.UserInputError): def __init__(self, **kwargs: Any): super().__init__(**kwargs) # Base error, this used to have an extra attribute, but was removed due 2.0 class NotInDatabase(ArgumentBa...
32.806818
110
0.671978
368
2,887
4.940217
0.304348
0.066007
0.084708
0.169417
0.348185
0.209571
0.19527
0.122112
0.122112
0.063806
0
0.000859
0.193627
2,887
87
111
33.183908
0.780069
0.025286
0
0.035714
0
0
0.164296
0
0
0
0
0
0
1
0.25
false
0.035714
0.053571
0
0.571429
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
a27adba6bf872cf81830296ebff09fb1b322bd46
179
py
Python
07_strings_and_text/03_text_filter.py
ivaylokanov/Python
af219356d7034de3004a0012603654756d436c08
[ "Apache-2.0" ]
null
null
null
07_strings_and_text/03_text_filter.py
ivaylokanov/Python
af219356d7034de3004a0012603654756d436c08
[ "Apache-2.0" ]
null
null
null
07_strings_and_text/03_text_filter.py
ivaylokanov/Python
af219356d7034de3004a0012603654756d436c08
[ "Apache-2.0" ]
null
null
null
banned_words = input().split() text = input() replaced_text = text for word in banned_words: replaced_text = replaced_text.replace(word, "*" * len(word)) print(replaced_text)
25.571429
64
0.731844
25
179
5
0.48
0.384
0
0
0
0
0
0
0
0
0
0
0.134078
179
6
65
29.833333
0.806452
0
0
0
0
0
0.005587
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
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
a282f81f425c7f5185a8a9bc96e6ad0ba750094c
3,446
py
Python
browserlogon/browserLogon.py
jeffreyjeanpierre/serverscripts
122c0c85d539173457e4803a2073ade4bf571192
[ "MIT" ]
null
null
null
browserlogon/browserLogon.py
jeffreyjeanpierre/serverscripts
122c0c85d539173457e4803a2073ade4bf571192
[ "MIT" ]
null
null
null
browserlogon/browserLogon.py
jeffreyjeanpierre/serverscripts
122c0c85d539173457e4803a2073ade4bf571192
[ "MIT" ]
null
null
null
from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By # TODO refactor accounts schema accounts = {'@gmail.com':'acct1', '@gmail.com':'acct2', '@yahoo.com':'acct3'} accounts2 ={'@gmail.com':'acct4', '@gmail.com':'acct5', '@gmail.com':'acct6'} ...
51.432836
152
0.675276
448
3,446
5.042411
0.285714
0.068172
0.080567
0.075697
0.540947
0.465693
0.465693
0.465693
0.450642
0.450642
0
0.013869
0.183981
3,446
67
153
51.432836
0.789474
0.113755
0
0.313725
0
0.176471
0.281491
0.148808
0
0
0
0.014925
0
0
null
null
0.196078
0.058824
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
1
0
0
0
0
0
3
a2b496872b80bbbb5c144732a190757b678c016a
1,166
py
Python
src/backend/common/models/tests/util.py
guineawheek/ftc-data-take-2
337bff2077eadb3bd6bbebd153cbb6181c99516f
[ "MIT" ]
266
2015-01-04T00:10:48.000Z
2022-03-28T18:42:05.000Z
src/backend/common/models/tests/util.py
guineawheek/ftc-data-take-2
337bff2077eadb3bd6bbebd153cbb6181c99516f
[ "MIT" ]
2,673
2015-01-01T20:14:33.000Z
2022-03-31T18:17:16.000Z
src/backend/common/models/tests/util.py
guineawheek/ftc-data-take-2
337bff2077eadb3bd6bbebd153cbb6181c99516f
[ "MIT" ]
230
2015-01-04T00:10:48.000Z
2022-03-26T18:12:04.000Z
from typing import Iterable, Sequence, Tuple CITY_STATE_COUNTRY_PARAMETERS: Tuple[str, Iterable[Sequence[object]]] = ( "city, state, country, output", [ (None, None, None, ""), ("New York", None, None, "New York"), ("New York", "NY", None, "New York, NY"), ("New York", "NY", "U...
35.333333
73
0.493997
145
1,166
3.944828
0.151724
0.244755
0.188811
0.125874
0.729021
0.526224
0.526224
0.437063
0.195804
0
0
0.011792
0.272727
1,166
32
74
36.4375
0.662736
0
0
0.068966
0
0
0.313894
0
0
0
0
0
0
1
0
true
0
0.034483
0
0.034483
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
a2c24913ee8c6073fe47081a16eac7f7d23b680f
291
py
Python
logsense_opentracing/scope.py
logsenseapp/logsense-opentracing-python
805923199101218a9d440c9480a669428b27b4a8
[ "Apache-2.0" ]
null
null
null
logsense_opentracing/scope.py
logsenseapp/logsense-opentracing-python
805923199101218a9d440c9480a669428b27b4a8
[ "Apache-2.0" ]
1
2021-06-02T00:43:20.000Z
2021-06-02T00:43:20.000Z
logsense_opentracing/scope.py
logsenseapp/logsense-opentracing-python
805923199101218a9d440c9480a669428b27b4a8
[ "Apache-2.0" ]
null
null
null
""" Opentracing's Scope implementation. More details: https://opentracing-python.readthedocs.io/en/latest/api.html#opentracing.Scope """ import opentracing class Scope(opentracing.Scope): """ Implements opentracing.Scope """ def close(self): self._span.finish()
16.166667
78
0.701031
32
291
6.34375
0.6875
0.236453
0
0
0
0
0
0
0
0
0
0
0.164948
291
17
79
17.117647
0.835391
0.542955
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
a2d89913d5aac34d39cbd05a3c453908e3b1f8fd
854
py
Python
sunspear/aggregators/base.py
spatomequ/numanv
a735c733c9937d1ce0a0d0ddf70ded2241600cae
[ "Apache-2.0" ]
2
2015-04-06T07:44:26.000Z
2017-10-10T23:03:50.000Z
sunspear/aggregators/base.py
spatomequ/numanv
a735c733c9937d1ce0a0d0ddf70ded2241600cae
[ "Apache-2.0" ]
14
2015-09-15T07:43:01.000Z
2017-05-08T21:10:55.000Z
sunspear/aggregators/base.py
7Geese/sunspear
9837b0e911ba8dd69564a7b5f34b184b6f059016
[ "Apache-2.0" ]
5
2015-04-09T17:20:46.000Z
2017-10-24T18:35:03.000Z
class BaseAggregator(object): def __init__(self, *args, **kwargs): pass def process(self, current_activities, original_activities, aggregators, *args, **kwargs): """ Processes the activities performing any mutations necessary. :type current_activities: list :param curren...
50.235294
168
0.708431
105
854
5.657143
0.428571
0.114478
0.047138
0.057239
0.090909
0
0
0
0
0
0
0
0.236534
854
16
169
53.375
0.911043
0.64637
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0.2
0
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
0c51f105d9f7343df2f0d32389b2bf2a316eb71b
1,527
py
Python
Codeforces/Contest604/a_beautiful_stirng.py
shivammehta007/Fun-Coding
1ecfd682b336f5f9bc50364375de7d4c67714cbd
[ "Vim", "Fair", "MIT" ]
null
null
null
Codeforces/Contest604/a_beautiful_stirng.py
shivammehta007/Fun-Coding
1ecfd682b336f5f9bc50364375de7d4c67714cbd
[ "Vim", "Fair", "MIT" ]
null
null
null
Codeforces/Contest604/a_beautiful_stirng.py
shivammehta007/Fun-Coding
1ecfd682b336f5f9bc50364375de7d4c67714cbd
[ "Vim", "Fair", "MIT" ]
null
null
null
# itoc = {0: ‘a’, 1:’b’, 2:’c’} # ctoi = {‘a’: 0, ‘b’: 1, ’c’:2} # current_element = ‘?’ # j = 0 # for i, element in enumerate(l): # if l[i] == ‘?’: # if current_element= ‘?’: # current_element = 0 # else: # current_element = (current_element + 1) % 3 # if i < n -1 and current_element == arr[i+1]: # ...
29.941176
81
0.510151
208
1,527
3.586538
0.192308
0.431635
0.225201
0.225201
0.522788
0.463807
0.383378
0.383378
0.383378
0.383378
0
0.028818
0.318271
1,527
50
82
30.54
0.6878
0.426981
0
0.166667
0
0
0.011792
0
0
0
0
0
0
1
0.041667
false
0
0
0
0.125
0.041667
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
0c5360e26a9b78383ec322898eef2174b7e6893f
687
py
Python
deeprank/models/atom.py
DeepRank/DeepRank_VariantPred
42cd85c7a521463ab2b644ef8da87c107a2b5bce
[ "Apache-2.0" ]
null
null
null
deeprank/models/atom.py
DeepRank/DeepRank_VariantPred
42cd85c7a521463ab2b644ef8da87c107a2b5bce
[ "Apache-2.0" ]
9
2021-11-01T11:01:55.000Z
2021-12-13T09:56:17.000Z
deeprank/models/atom.py
DeepRank/DeepRank_VariantPred
42cd85c7a521463ab2b644ef8da87c107a2b5bce
[ "Apache-2.0" ]
1
2021-12-31T14:57:28.000Z
2021-12-31T14:57:28.000Z
class Atom: def __init__(self, id_, position, chain_id, name, element, residue=None, altloc=None, occupancy=None): self.id = id_ self.name = name self.element = element self.chain_id = chain_id self.position = position self.residue = residue self.altloc = al...
26.423077
117
0.60262
87
687
4.45977
0.264368
0.092784
0.051546
0.097938
0.159794
0.159794
0.159794
0.159794
0
0
0
0
0.279476
687
25
118
27.48
0.783838
0
0
0
0
0
0.042398
0
0
0
0
0
0
1
0.277778
false
0
0
0.222222
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
1
0
0
0
1
1
0
0
3
0c58f378b31bd18fadebe979391babd1aebbb048
138
py
Python
src/tests/module_fix.py
SwaXTech/Detector-de-Plagio
11445e81097b52cd75561a049d4c85165d73f461
[ "MIT" ]
3
2021-11-16T13:19:16.000Z
2021-11-16T17:53:42.000Z
src/tests/module_fix.py
SwaXTech/Detector-de-Plagio
11445e81097b52cd75561a049d4c85165d73f461
[ "MIT" ]
null
null
null
src/tests/module_fix.py
SwaXTech/Detector-de-Plagio
11445e81097b52cd75561a049d4c85165d73f461
[ "MIT" ]
null
null
null
import os, sys currentdir = os.path.dirname(os.path.realpath(__file__)) parentdir = os.path.dirname(currentdir) sys.path.append(parentdir)
34.5
56
0.797101
20
138
5.3
0.5
0.169811
0.245283
0
0
0
0
0
0
0
0
0
0.065217
138
4
57
34.5
0.821705
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a74053af7318079e8740cb549cae18657462d0c6
153
py
Python
info.peers.py
moreati/ava-python
4baa4c21dec7d31d0b6e3fcbe44ff5587cb85706
[ "MIT" ]
null
null
null
info.peers.py
moreati/ava-python
4baa4c21dec7d31d0b6e3fcbe44ff5587cb85706
[ "MIT" ]
null
null
null
info.peers.py
moreati/ava-python
4baa4c21dec7d31d0b6e3fcbe44ff5587cb85706
[ "MIT" ]
null
null
null
# ava-python : A Python implementation of the AVA API # Author: https://github.com/zefonseca/ # License MIT import info stt = info.peers() print(stt)
15.3
53
0.718954
23
153
4.782609
0.826087
0
0
0
0
0
0
0
0
0
0
0
0.163399
153
9
54
17
0.859375
0.660131
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
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
a74110ceb8507dfcb7e99189e8728376c49137dd
293
py
Python
gargbot_3000/journey/__init__.py
eirki/gargbot_3000
e76d98e82c00133950f094eaaf9981c58d55bbd5
[ "MIT" ]
1
2016-11-22T10:00:18.000Z
2016-11-22T10:00:18.000Z
gargbot_3000/journey/__init__.py
eirki/gargbot_3000
e76d98e82c00133950f094eaaf9981c58d55bbd5
[ "MIT" ]
9
2021-06-08T19:04:54.000Z
2022-02-18T19:57:42.000Z
gargbot_3000/journey/__init__.py
eirki/gargbot_3000
e76d98e82c00133950f094eaaf9981c58d55bbd5
[ "MIT" ]
2
2019-01-18T14:10:45.000Z
2020-06-15T21:48:56.000Z
#! /usr/bin/env python3 # coding: utf-8 from __future__ import annotations from gargbot_3000.journey import common from gargbot_3000.journey.endpoints import blueprint from gargbot_3000.journey.journey import main queries = common.queries.journey __all__ = ["blueprint", "main", "queries"]
24.416667
52
0.795222
39
293
5.692308
0.512821
0.148649
0.202703
0.297297
0
0
0
0
0
0
0
0.053846
0.112628
293
11
53
26.636364
0.8
0.122867
0
0
0
0
0.078431
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0.333333
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
1
0
0
0
0
3
a79dec967f16e969bb71a241486a6fa284f4271f
477
py
Python
tests/engine/conftest.py
remram44/openclean-core
8c09c8302cadbb3bb02c959907f91a3ae343f939
[ "BSD-3-Clause" ]
4
2021-04-20T09:06:26.000Z
2021-11-20T20:31:28.000Z
tests/engine/conftest.py
remram44/openclean-core
8c09c8302cadbb3bb02c959907f91a3ae343f939
[ "BSD-3-Clause" ]
14
2021-01-19T19:23:16.000Z
2021-04-28T14:31:03.000Z
tests/engine/conftest.py
remram44/openclean-core
8c09c8302cadbb3bb02c959907f91a3ae343f939
[ "BSD-3-Clause" ]
5
2021-08-24T11:57:21.000Z
2022-03-17T04:39:04.000Z
# This file is part of the Data Cleaning Library (openclean). # # Copyright (C) 2018-2021 New York University. # # openclean is released under the Revised BSD License. See file LICENSE for # full license details. """Fixtures for engine database unit tests.""" import pandas as pd import pytest @pytest.fixture def da...
26.5
77
0.69392
73
477
4.534247
0.780822
0
0
0
0
0
0
0
0
0
0
0.035714
0.178197
477
17
78
28.058824
0.808673
0.633124
0
0
0
0
0.018868
0
0
0
0
0
0
1
0.2
true
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
a7a58d68bf808c6eb4484bf83c736f13fe2b2290
955
py
Python
hector_flexbe_states/src/hector_flexbe_states/get_robot_pose.py
tu-darmstadt-ros-pkg/hector_flexbe_behavior
0ef7980653dea369b300330f7a9b1312bcef720e
[ "BSD-3-Clause" ]
1
2021-06-03T20:15:56.000Z
2021-06-03T20:15:56.000Z
hector_flexbe_states/src/hector_flexbe_states/get_robot_pose.py
tu-darmstadt-ros-pkg/hector_flexbe_behavior
0ef7980653dea369b300330f7a9b1312bcef720e
[ "BSD-3-Clause" ]
1
2018-03-14T07:10:01.000Z
2018-03-14T07:10:01.000Z
hector_flexbe_states/src/hector_flexbe_states/get_robot_pose.py
tu-darmstadt-ros-pkg/hector_flexbe_behavior
0ef7980653dea369b300330f7a9b1312bcef720e
[ "BSD-3-Clause" ]
3
2016-06-09T15:29:02.000Z
2020-02-05T14:59:32.000Z
#!/usr/bin/env python import rospy from flexbe_core import EventState, Logger from flexbe_core.proxy import ProxySubscriberCached from geometry_msgs.msg import PoseStamped class GetRobotPose(EventState): ''' Retrieves the robots current pose and returns it #> pose PoseStamped Position and Pose which has been ...
17.363636
86
0.720419
118
955
5.601695
0.5
0.030257
0.04236
0
0
0
0
0
0
0
0
0
0.18534
955
54
87
17.685185
0.849614
0.22199
0
0.136364
0
0
0.043593
0
0
0
0
0
0
1
0.272727
false
0.136364
0.181818
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
a7c402bde3a74724f667bd5720d5d40d33a1ef9d
131
py
Python
tests/resource/valid/control_flow/while_check.py
JSAbrahams/mamba
66ae435a4abf496aae945a78e4fdfa8e4785d854
[ "MIT" ]
82
2019-03-19T14:29:59.000Z
2022-01-07T15:08:11.000Z
tests/resource/valid/control_flow/while_check.py
JSAbrahams/mamba
66ae435a4abf496aae945a78e4fdfa8e4785d854
[ "MIT" ]
171
2019-03-16T14:21:28.000Z
2022-01-11T15:27:39.000Z
tests/resource/valid/control_flow/while_check.py
JSAbrahams/mamba
66ae435a4abf496aae945a78e4fdfa8e4785d854
[ "MIT" ]
3
2019-03-20T14:06:49.000Z
2020-05-18T09:24:02.000Z
b = False e = "Hello world" while b: print(b) d = True while d: print(d and False) print(d and True) print("hello")
10.076923
22
0.587786
23
131
3.347826
0.434783
0.155844
0.233766
0
0
0
0
0
0
0
0
0
0.282443
131
12
23
10.916667
0.819149
0
0
0
0
0
0.122137
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
a7c44baee0dcfa83d4399fec559fbc66fb0fa4eb
875
py
Python
Questions/Intro/Level 2/adjacentElementsProduct.py
jiobu1/CodeSignal_Arcade
739a532f5491f3e5ae8d1b8e8c0f9d5e31b115e4
[ "MIT" ]
null
null
null
Questions/Intro/Level 2/adjacentElementsProduct.py
jiobu1/CodeSignal_Arcade
739a532f5491f3e5ae8d1b8e8c0f9d5e31b115e4
[ "MIT" ]
null
null
null
Questions/Intro/Level 2/adjacentElementsProduct.py
jiobu1/CodeSignal_Arcade
739a532f5491f3e5ae8d1b8e8c0f9d5e31b115e4
[ "MIT" ]
null
null
null
""" Given an array of integers, find the pair of adjacent elements that has the largest product and return that product. Example For inputArray = [3, 6, -2, -5, 7, 3], the output should be adjacentElementsProduct(inputArray) = 21. 7 and 3 produce the largest product. Input/Output [execution time limit] 4 secon...
25
116
0.706286
122
875
5.098361
0.483607
0.048232
0.081994
0.054662
0
0
0
0
0
0
0
0.038407
0.196571
875
35
117
25
0.840683
0.669714
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.166667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a7c75cded2834d09ea426a182c404d3d7b5ab099
1,634
py
Python
test/test_ezsigntemplatepackage_get_list_v1_response_m_payload.py
ezmaxinc/eZmax-SDK-python
6794b8001abfb7d9ae18a3b87aba164839b925a0
[ "MIT" ]
null
null
null
test/test_ezsigntemplatepackage_get_list_v1_response_m_payload.py
ezmaxinc/eZmax-SDK-python
6794b8001abfb7d9ae18a3b87aba164839b925a0
[ "MIT" ]
null
null
null
test/test_ezsigntemplatepackage_get_list_v1_response_m_payload.py
ezmaxinc/eZmax-SDK-python
6794b8001abfb7d9ae18a3b87aba164839b925a0
[ "MIT" ]
null
null
null
""" eZmax API Definition (Full) This API expose all the functionnalities for the eZmax and eZsign applications. # noqa: E501 The version of the OpenAPI document: 1.1.7 Contact: support-api@ezmax.ca Generated by: https://openapi-generator.tech """ import sys import unittest import eZmaxApi from...
38
138
0.817013
139
1,634
9.388489
0.510791
0.036782
0.052107
0.03908
0.124904
0.124904
0.124904
0.096552
0.096552
0.096552
0
0.016795
0.125459
1,634
42
139
38.904762
0.896431
0.304162
0
0.157895
0
0
0.111212
0.10392
0
0
0
0.02381
0
1
0.157895
false
0.157895
0.368421
0
0.578947
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
1
0
0
0
0
3
a7da7f69a4ce53085009956e17a3fb9c6e53610d
182
py
Python
geotrek/zoning/apps.py
pierreloicq/Geotrek-admin
00cd29f29843f2cc25e5a3c7372fcccf14956887
[ "BSD-2-Clause" ]
null
null
null
geotrek/zoning/apps.py
pierreloicq/Geotrek-admin
00cd29f29843f2cc25e5a3c7372fcccf14956887
[ "BSD-2-Clause" ]
null
null
null
geotrek/zoning/apps.py
pierreloicq/Geotrek-admin
00cd29f29843f2cc25e5a3c7372fcccf14956887
[ "BSD-2-Clause" ]
null
null
null
from django.apps import AppConfig from django.utils.translation import ugettext_lazy as _ class ZoningConfig(AppConfig): name = 'geotrek.zoning' verbose_name = _("Zoning")
22.75
55
0.763736
22
182
6.136364
0.727273
0.148148
0
0
0
0
0
0
0
0
0
0
0.153846
182
7
56
26
0.876623
0
0
0
0
0
0.10989
0
0
0
0
0
0
1
0
false
0
0.4
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
a7dd3293825a3dd7121adab8633b3b49c81e3655
754
py
Python
examples/mnist_classification/models/clf/classifier.py
ankitkv/pylego
38d4a8fe8497d748b22c58313cbfd187efb8326e
[ "MIT" ]
4
2019-03-29T20:31:33.000Z
2021-12-31T17:37:56.000Z
examples/mnist_classification/models/clf/classifier.py
ankitkv/pylego
38d4a8fe8497d748b22c58313cbfd187efb8326e
[ "MIT" ]
2
2019-05-08T19:58:36.000Z
2020-09-16T14:23:18.000Z
examples/mnist_classification/models/clf/classifier.py
ankitkv/pylego
38d4a8fe8497d748b22c58313cbfd187efb8326e
[ "MIT" ]
1
2019-05-08T14:42:59.000Z
2019-05-08T14:42:59.000Z
from torch import nn from torch.nn import functional as F from ..baseclf import BaseClassification class Classifier(nn.Module): def __init__(self, input_size, hidden_size, n_classes): super().__init__() self.linear1 = nn.Linear(input_size, hidden_size) self.linear2 = nn.Linear(hidden_siz...
29
71
0.690981
101
754
4.881188
0.445545
0.081136
0.044625
0.077079
0
0
0
0
0
0
0
0.019608
0.188329
754
25
72
30.16
0.785948
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.1875
0.125
0.6875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
38f36567491df8b6b39711f75adbc3ed82bfeb0d
282
py
Python
modules/dbnd-airflow/src/dbnd_airflow/raw_constants.py
dmytrostriletskyi/dbnd
d4a5f5167523e80439c9d64182cdc87b40cbc48f
[ "Apache-2.0" ]
null
null
null
modules/dbnd-airflow/src/dbnd_airflow/raw_constants.py
dmytrostriletskyi/dbnd
d4a5f5167523e80439c9d64182cdc87b40cbc48f
[ "Apache-2.0" ]
null
null
null
modules/dbnd-airflow/src/dbnd_airflow/raw_constants.py
dmytrostriletskyi/dbnd
d4a5f5167523e80439c9d64182cdc87b40cbc48f
[ "Apache-2.0" ]
null
null
null
# Please do not any airflow imports in this file # We want to allow importing constants from this file without any side effects # Do not change this name unless you change the same constant in monitor_as_dag.py in dbnd-airflow-monitor MONITOR_DAG_NAME = "databand_airflow_monitor"
47
106
0.812057
48
282
4.645833
0.666667
0.044843
0
0
0
0
0
0
0
0
0
0
0.156028
282
5
107
56.4
0.936975
0.808511
0
0
0
0
0.48
0.48
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ac0fa7322ae6865a9cef7ac65ed168550c1d4f70
620
py
Python
zvt/api/__init__.py
webclinic017/FinanceCenter
1511751fe6d7d1f1fb940ae66d29b45eb0782fea
[ "MIT" ]
22
2020-10-22T14:24:32.000Z
2022-03-30T22:19:14.000Z
zvt/api/__init__.py
webclinic017/FinanceCenter
1511751fe6d7d1f1fb940ae66d29b45eb0782fea
[ "MIT" ]
1
2021-08-14T12:19:18.000Z
2021-09-30T06:44:04.000Z
zvt/api/__init__.py
webclinic017/FinanceCenter
1511751fe6d7d1f1fb940ae66d29b45eb0782fea
[ "MIT" ]
6
2021-01-14T20:50:06.000Z
2022-01-11T23:12:43.000Z
# -*- coding: utf-8 -*- # the __all__ is generated __all__ = [] # __init__.py structure: # common code of the package # export interface in __all__ which contains __all__ of its sub modules # import all from submodule quote # from .quote import * # from .quote import __all__ as _quote_all # __all__ += _quote_all # ...
26.956522
71
0.753226
91
620
4.406593
0.340659
0.134663
0.162095
0.164589
0.239402
0
0
0
0
0
0
0.001946
0.170968
620
23
72
26.956522
0.77821
0.912903
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ac30f16841eff4abe8d26914d707c467d13a814c
571
py
Python
search_run/events/producer.py
jeanCarloMachado/search_run
e62fb838dfd361aafe65381108c16124fb90f1c5
[ "Apache-2.0" ]
2
2021-08-28T05:54:13.000Z
2021-09-24T19:13:09.000Z
search_run/events/producer.py
jeanCarloMachado/search_run
e62fb838dfd361aafe65381108c16124fb90f1c5
[ "Apache-2.0" ]
null
null
null
search_run/events/producer.py
jeanCarloMachado/search_run
e62fb838dfd361aafe65381108c16124fb90f1c5
[ "Apache-2.0" ]
null
null
null
import json import logging from kafka import KafkaProducer from search_run.config import KafkaConfig class EventProducer: """ Produce kafka messages """ def __init__(self): self.producer = KafkaProducer(bootstrap_servers=KafkaConfig.host) def send_object(self, event_object): topic_name...
25.954545
73
0.718039
71
571
5.450704
0.478873
0.116279
0.067183
0
0
0
0
0
0
0
0
0
0.183888
571
21
74
27.190476
0.830472
0.038529
0
0
0
0
0.03512
0
0
0
0
0
0
1
0.230769
false
0
0.307692
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
0
1
0
1
0
0
3
ac31c91a8f2c1777b1baab57ee08153909a05d44
665
py
Python
repos/spiketoolkit/tests/test_001.py
tjd2002/spikeforest2
2e393564b858b2995aa2ccccd9bd73065681b5de
[ "Apache-2.0" ]
null
null
null
repos/spiketoolkit/tests/test_001.py
tjd2002/spikeforest2
2e393564b858b2995aa2ccccd9bd73065681b5de
[ "Apache-2.0" ]
null
null
null
repos/spiketoolkit/tests/test_001.py
tjd2002/spikeforest2
2e393564b858b2995aa2ccccd9bd73065681b5de
[ "Apache-2.0" ]
null
null
null
import os, sys import unittest import spikeextractors as se import spiketoolkit as st # import spikewidgets as sw class TestToolkit(unittest.TestCase): def setUp(self): pass def tearDown(self): pass def test_sorters(self): # recording, sorting_true = sw.example_datasets.toy_ex...
17.5
92
0.655639
80
665
5.225
0.5375
0.114833
0.131579
0.143541
0
0
0
0
0
0
0
0.01222
0.261654
665
37
93
17.972973
0.839104
0.270677
0
0.333333
0
0
0.016632
0
0
0
0
0
0
1
0.333333
false
0.333333
0.190476
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
ac417fc65d78d8579842018d5ce67a8b1992fe14
167
py
Python
RPi/uci/__init__.py
Joaomlg/RPi-Manage
e1ef8c2d12524b58c42055496f494ec63fddffdf
[ "MIT" ]
5
2019-02-15T16:19:05.000Z
2019-05-17T19:43:35.000Z
RPi/uci/__init__.py
Joaomlg/RPi-Manage
e1ef8c2d12524b58c42055496f494ec63fddffdf
[ "MIT" ]
null
null
null
RPi/uci/__init__.py
Joaomlg/RPi-Manage
e1ef8c2d12524b58c42055496f494ec63fddffdf
[ "MIT" ]
1
2019-02-15T14:29:20.000Z
2019-02-15T14:29:20.000Z
from RPi.uci.uci_commands import __wireless, __network, __firewall, __dhcp wireless = __wireless() network = __network() firewall = __firewall() dhcp = __dhcp()
23.857143
74
0.748503
18
167
6
0.5
0.277778
0
0
0
0
0
0
0
0
0
0
0.149701
167
6
75
27.833333
0.760563
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
ac42587149a2f6973774e62880dbca1b87d4d80e
276
py
Python
python/rabbitmq/producer.py
sdil/learning
01ef857129b3e7e661a8713cc1e703c5a1a3700e
[ "MIT" ]
17
2020-10-21T09:14:35.000Z
2022-02-04T20:47:17.000Z
python/rabbitmq/producer.py
sdil/learning
01ef857129b3e7e661a8713cc1e703c5a1a3700e
[ "MIT" ]
null
null
null
python/rabbitmq/producer.py
sdil/learning
01ef857129b3e7e661a8713cc1e703c5a1a3700e
[ "MIT" ]
5
2020-12-01T15:17:26.000Z
2021-12-18T21:07:27.000Z
import pika connection = pika.BlockingConnection(pika.ConnectionParameters('localhost', 5672, '/', pika.PlainCredentials('user', 'password'))) channel = connection.channel() channel.basic_publish(exchange='my_exchange', routing_key='test', body='Test!') connection.close()
30.666667
130
0.768116
29
276
7.206897
0.689655
0
0
0
0
0
0
0
0
0
0
0.015564
0.068841
276
8
131
34.5
0.797665
0
0
0
0
0
0.152174
0
0
0
0
0
0
1
0
false
0.2
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
0
1
0
0
0
0
0
3