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
f34a55723bac4aa33067218dac515e37cd9fefda
78
py
Python
proper_forms/fields/text.py
jpsca/pforms
77c9da93e5224e79bb147aa873f28951e972bb21
[ "MIT" ]
2
2019-10-11T03:13:10.000Z
2019-11-12T10:31:54.000Z
proper_forms/fields/text.py
jpsca/hyperform
d5c450ad8684a853fed26f8c2606877151125a9e
[ "MIT" ]
2
2021-11-18T18:01:28.000Z
2021-11-18T18:03:29.000Z
proper_forms/fields/text.py
jpsca/hyperform
d5c450ad8684a853fed26f8c2606877151125a9e
[ "MIT" ]
null
null
null
from .field import Field __all__ = ("Text", ) class Text(Field): pass
8.666667
24
0.628205
10
78
4.5
0.7
0
0
0
0
0
0
0
0
0
0
0
0.24359
78
8
25
9.75
0.762712
0
0
0
0
0
0.051282
0
0
0
0
0
0
1
0
false
0.25
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
f34f87d262161121e193469dcf7635b735285264
1,107
py
Python
website/thesis/migrations/0005_auto_20200725_1705.py
CodeJosh723/thesis-review-system
9046eb9e803f48513f3f729f648d6b70f92cc425
[ "MIT" ]
1
2020-06-29T07:41:10.000Z
2020-06-29T07:41:10.000Z
website/thesis/migrations/0005_auto_20200725_1705.py
CodeJosh723/thesis-review-system
9046eb9e803f48513f3f729f648d6b70f92cc425
[ "MIT" ]
4
2020-06-10T23:21:27.000Z
2020-07-18T22:04:31.000Z
website/thesis/migrations/0005_auto_20200725_1705.py
CodeJosh723/thesis-review-system
9046eb9e803f48513f3f729f648d6b70f92cc425
[ "MIT" ]
null
null
null
# Generated by Django 3.0.7 on 2020-07-25 11:05 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('thesis', '0004_auto_20200724_2258'), ] operations = [ migrations.AddField( model_name='batch', ...
36.9
163
0.674797
108
1,107
6.805556
0.425926
0.095238
0.190476
0.110204
0.718367
0.718367
0.457143
0.457143
0.457143
0.457143
0
0.056064
0.210479
1,107
29
164
38.172414
0.784897
0.04065
0
0.391304
1
0
0.111321
0.091509
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
0
0
0
0
null
0
1
0
0
1
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
f35fa7b25872a59b9b371526bf451cd7bb66c98a
2,962
py
Python
taro/client/__init__.py
PetrSixta/taro
afe0caf0e0feb6948c4cc80217b5c5d11418859b
[ "MIT" ]
null
null
null
taro/client/__init__.py
PetrSixta/taro
afe0caf0e0feb6948c4cc80217b5c5d11418859b
[ "MIT" ]
26
2021-04-05T12:32:21.000Z
2022-03-22T12:53:44.000Z
taro/client/__init__.py
PetrSixta/taro
afe0caf0e0feb6948c4cc80217b5c5d11418859b
[ "MIT" ]
1
2021-04-16T21:04:53.000Z
2021-04-16T21:04:53.000Z
from typing import List, Tuple from taro import dto from taro.jobs.api import API_FILE_EXTENSION from taro.jobs.job import JobInfo from taro.socket import SocketClient, InstanceResponse from taro.util import iterates def read_jobs_info(instance="") -> List[JobInfo]: with JobsClient() as client: return cl...
34.847059
110
0.646185
371
2,962
4.959569
0.247978
0.03913
0.034783
0.047826
0.281522
0.251087
0.228261
0.095652
0.095652
0.055435
0
0.001309
0.226536
2,962
84
111
35.261905
0.801833
0.057731
0
0.107143
0
0
0.06948
0
0
0
0
0.011905
0
1
0.232143
false
0
0.107143
0.035714
0.517857
0.017857
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
f36718e915591381bb1e5c319d49b8898df02e11
166,624
py
Python
pysnmp/Nortel-MsCarrier-MscPassport-FrameRelayAtmMIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/Nortel-MsCarrier-MscPassport-FrameRelayAtmMIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/Nortel-MsCarrier-MscPassport-FrameRelayAtmMIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module Nortel-MsCarrier-MscPassport-FrameRelayAtmMIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-MsCarrier-MscPassport-FrameRelayAtmMIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:20:42 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by...
163.517174
14,531
0.777031
17,424
166,624
7.43067
0.044708
0.008558
0.012049
0.01588
0.494176
0.472465
0.4507
0.441903
0.430541
0.4035
0
0.083596
0.077186
166,624
1,018
14,532
163.6778
0.758427
0.002305
0
0
0
0
0.135558
0.061926
0
0
0
0
0
1
0
false
0.087043
0.008902
0
0.008902
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
f3af572d13a0ba300d10bfb3563b0eda1f26920d
1,024
py
Python
general/1.check_palindrome_number.py
diendang271/1000_algorithms_in_python
c40a2ac039bd341803065eb8423926e8aeaf88d5
[ "MIT" ]
1
2017-05-26T09:58:01.000Z
2017-05-26T09:58:01.000Z
general/1.check_palindrome_number.py
stevedien/1000_algorithms_in_python
c40a2ac039bd341803065eb8423926e8aeaf88d5
[ "MIT" ]
null
null
null
general/1.check_palindrome_number.py
stevedien/1000_algorithms_in_python
c40a2ac039bd341803065eb8423926e8aeaf88d5
[ "MIT" ]
null
null
null
# Create by Dien Dang https://www.facebook.com/diendang.01 """ 1 - Check a number is palindrome A palindromic number or numeral palindrome is a number that remains the same when its digits are reversed. Like 16461, for example, it is "symmetrical". The term palindromic is derived from palindrome, which refers to a wor...
36.571429
118
0.751953
150
1,024
5.086667
0.46
0.204456
0.141547
0.131062
0.348624
0.348624
0.348624
0.348624
0.287025
0.220183
0
0.063437
0.15332
1,024
27
119
37.925926
0.816609
0.486328
0
0
0
0
0.34026
0
0
0
0
0
0
1
0.142857
false
0
0
0.142857
0.285714
0.714286
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
0
0
0
0
1
0
1
0
3
f3c72bb465e1fbe62d9324f3de6f71d9f7b0fea0
585
py
Python
Structural/Proxy/python/calculator.py
jerryshueh/design-patterns
5223d152ebc9afda273f20274663395b5ab1fb3f
[ "CC0-1.0" ]
294
2017-10-14T01:18:09.000Z
2022-03-25T12:11:27.000Z
Structural/Proxy/python/calculator.py
dsfb/design-patterns
7e8fd8157488777a97d33249782d8b751e80e5b5
[ "CC0-1.0" ]
68
2017-10-14T10:06:36.000Z
2021-10-05T07:12:01.000Z
Structural/Proxy/python/calculator.py
dsfb/design-patterns
7e8fd8157488777a97d33249782d8b751e80e5b5
[ "CC0-1.0" ]
329
2017-10-14T10:27:58.000Z
2021-11-13T11:51:29.000Z
#interface class ICalculator: def Add(): pass #subject class Calculator(ICalculator): def Add(self, First, Second): return First + Second #proxy class CalculatorProxy(ICalculator): def __init__(self): self.calculator = Calculator() def Add(self, First, Second): #m...
21.666667
99
0.634188
64
585
5.734375
0.453125
0.119891
0.092643
0.081744
0.114441
0
0
0
0
0
0
0.004525
0.244444
585
26
100
22.5
0.825792
0.140171
0
0.133333
0
0
0.040161
0
0
0
0
0
0
1
0.266667
false
0.066667
0
0.066667
0.6
0.133333
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
45f8a4d92b1578a71eb241390410b7e4ba93b1d2
582
py
Python
spada/bio/polypeptide.py
hclimente/spada
c9584df9e25a597c70b67a6a0b7ce63283a11839
[ "MIT" ]
8
2018-01-12T12:52:42.000Z
2022-03-18T17:44:30.000Z
spada/bio/polypeptide.py
hclimente/spada
c9584df9e25a597c70b67a6a0b7ce63283a11839
[ "MIT" ]
4
2018-08-02T21:28:39.000Z
2021-12-16T02:20:27.000Z
spada/bio/polypeptide.py
hclimente/spada
c9584df9e25a597c70b67a6a0b7ce63283a11839
[ "MIT" ]
null
null
null
class Polypeptide: def __init__(self, segment): self._structure = segment def __repr__(self): return '{}-residue polypeptide: {}'.format(len(self), ''.join([ x.res for x in self._structure ]) ) def __len__(self): return len(self._structure) def __and__(self, other): return Polypeptide(list(set(self._str...
25.304348
101
0.718213
77
582
4.948052
0.337662
0.238845
0.07874
0.136483
0.346457
0.346457
0.346457
0.346457
0.346457
0.346457
0
0
0.142612
582
23
102
25.304348
0.763527
0
0
0
0
0
0.044597
0
0
0
0
0
0
1
0.4375
false
0
0
0.3125
0.8125
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
1
0
0
0
3
45fd07ecdff075668e1f66ed980bdc831510d218
321
py
Python
test/run/t147.py
timmartin/skulpt
2e3a3fbbaccc12baa29094a717ceec491a8a6750
[ "MIT" ]
2,671
2015-01-03T08:23:25.000Z
2022-03-31T06:15:48.000Z
test/run/t147.py
csev/skulpt
9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f
[ "MIT" ]
972
2015-01-05T08:11:00.000Z
2022-03-29T13:47:15.000Z
test/run/t147.py
csev/skulpt
9aa25b7dbf29f23ee8d3140d01a6f4353d12e66f
[ "MIT" ]
845
2015-01-03T19:53:36.000Z
2022-03-29T18:34:22.000Z
class A: def __init__(self): print "at0" self.a = 'O' self.b = 'x' def test(self): print "KO" class B(A): def __init__(self): print "at1" A.__init__(self) self.b = 'K' def test(self): print self.a + self.b print "at2" B().test() print "at3"...
17.833333
29
0.482866
46
321
3.108696
0.347826
0.251748
0.111888
0.167832
0.237762
0
0
0
0
0
0
0.019608
0.364486
321
17
30
18.882353
0.681373
0
0
0.235294
0
0
0.05296
0
0
0
0
0
0
0
null
null
0
0
null
null
0.352941
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
3407547395bb28ffef1580d09b17b261fd0e7bf4
315
py
Python
extract_text/parameters.py
Open-Speech-EkStep/common_scripts
916f01444e028f9111d5499217abf4443bd24017
[ "MIT" ]
4
2021-07-22T15:32:13.000Z
2022-01-25T08:13:45.000Z
extract_text/parameters.py
Open-Speech-EkStep/common_scripts
916f01444e028f9111d5499217abf4443bd24017
[ "MIT" ]
null
null
null
extract_text/parameters.py
Open-Speech-EkStep/common_scripts
916f01444e028f9111d5499217abf4443bd24017
[ "MIT" ]
3
2021-04-12T05:04:55.000Z
2021-08-25T06:55:42.000Z
PDF_FOLDER_PATH = 'data/sambalpuri/pdf' TXT_FOLDER_PATH = 'data/sambalpuri/txt' AUDIO_FOLDER_PATH = 'data/sambalpuri/mp3' SYNCMAP_PATH = 'data/sambalpuri/syncmap_json' METADA_CSV_PATH = 'data/sambalpuri/Sambalpuri.csv' WAV_FOLDER_PATH = 'data/sambalpuri/wav' LABELLED_DATA_PATH = 'data/sambalpuri/processed_data'
31.5
53
0.812698
44
315
5.477273
0.340909
0.232365
0.522822
0.39834
0
0
0
0
0
0
0
0.003425
0.073016
315
10
53
31.5
0.821918
0
0
0
0
0
0.518987
0.278481
0
0
0
0
0
1
0
false
0
0
0
0
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
3425105d6258464c08bfbc7e3309e1278d2f4763
1,299
py
Python
backend/server/goals/lists.py
jessvb/convo
6b8a0d84142a0bfacf94482cebba42d92646be26
[ "MIT" ]
null
null
null
backend/server/goals/lists.py
jessvb/convo
6b8a0d84142a0bfacf94482cebba42d92646be26
[ "MIT" ]
null
null
null
backend/server/goals/lists.py
jessvb/convo
6b8a0d84142a0bfacf94482cebba42d92646be26
[ "MIT" ]
null
null
null
from goals import * from models import * class CreateListActionGoal(ActionGoal): def __init__(self, context, name=None): super().__init__(context) self.setattr("name", name) def complete(self): assert hasattr(self, "actions") self.actions.append(CreateListAction(self.name)) ...
36.083333
109
0.638953
160
1,299
5.0875
0.26875
0.068796
0.07371
0.09828
0.706388
0.706388
0.706388
0.62285
0.527027
0.527027
0
0
0.233256
1,299
35
110
37.114286
0.817269
0
0
0.482759
0
0
0.084681
0
0
0
0
0
0.068966
1
0.206897
false
0
0.068966
0
0.413793
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
343251eedc8adff0ccaeff415fbf22287aaa8283
265
py
Python
software/glasgow/applet/radio/__init__.py
electroniceel/Glasgow
f6d8fda1d5baec006a6c43fa3d2547a33bdee666
[ "Apache-2.0", "0BSD" ]
1,014
2019-10-05T16:21:43.000Z
2022-03-31T09:26:43.000Z
software/glasgow/applet/radio/__init__.py
attie/glasgow
eca2cb278478d9cb9a102e6e99dfc5bd2d77a549
[ "Apache-2.0", "0BSD" ]
113
2019-10-06T07:49:37.000Z
2022-03-24T04:33:08.000Z
software/glasgow/applet/radio/__init__.py
attie/glasgow
eca2cb278478d9cb9a102e6e99dfc5bd2d77a549
[ "Apache-2.0", "0BSD" ]
79
2019-10-08T07:36:03.000Z
2022-03-21T07:00:27.000Z
""" The ``radio`` taxon groups applets implementing radio interfaces, that is, interfaces for intentional transmitters and receivers in radio-frequency spectrum. Examples: DAC with a radio frontend, GFSK PHY. Counterexamples: VGA output (use taxon ``video``). """
33.125
89
0.769811
34
265
6
0.852941
0
0
0
0
0
0
0
0
0
0
0
0.135849
265
7
90
37.857143
0.89083
0.966038
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
34731611fe4bb4eed7e6677a008a8933e7bb3179
122
py
Python
convert-to-csv.py
bkandiyal/ifsc-codes
0f442e6e1964095a7a30c7201f7d112fea5c4140
[ "Unlicense" ]
null
null
null
convert-to-csv.py
bkandiyal/ifsc-codes
0f442e6e1964095a7a30c7201f7d112fea5c4140
[ "Unlicense" ]
null
null
null
convert-to-csv.py
bkandiyal/ifsc-codes
0f442e6e1964095a7a30c7201f7d112fea5c4140
[ "Unlicense" ]
null
null
null
#!/usr/bin/python import pandas as pd df = pd.read_excel('68774.xlsx', dtype='str') df.to_csv('IFSC.csv', index=False)
15.25
45
0.688525
22
122
3.727273
0.863636
0
0
0
0
0
0
0
0
0
0
0.046296
0.114754
122
7
46
17.428571
0.712963
0.131148
0
0
0
0
0.2
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
cab899a8b9bf7437c4b5e78ff338e191c6970c50
100
py
Python
python_by_example/test_program_1.py
chenwang/QuantEcon.lectures.code
8832a74acd219a71cb0a99dc63c5e976598ac999
[ "BSD-3-Clause" ]
56
2017-05-09T10:45:23.000Z
2022-01-20T20:33:27.000Z
python_by_example/test_program_1.py
chenwang/QuantEcon.lectures.code
8832a74acd219a71cb0a99dc63c5e976598ac999
[ "BSD-3-Clause" ]
7
2017-06-30T01:52:46.000Z
2019-05-01T20:09:47.000Z
python_by_example/test_program_1.py
QuantEcon/QuantEcon.lectures.code
d61ac7bc54529dd5c77470c17539eb2418b047c9
[ "BSD-3-Clause" ]
117
2017-04-25T16:09:17.000Z
2022-03-23T02:30:29.000Z
import numpy as np import matplotlib.pyplot as plt x = np.random.randn(100) plt.plot(x) plt.show()
14.285714
31
0.74
19
100
3.894737
0.684211
0
0
0
0
0
0
0
0
0
0
0.034884
0.14
100
6
32
16.666667
0.825581
0
0
0
0
0
0
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
cac23cb8ee5b20dd07226bea5b37bfb5202346d5
408
py
Python
src/python/nimbusml/examples/Log.py
michaelgsharp/NimbusML
50031157265f49eec85d27fe67582d9ddaf01ef9
[ "MIT" ]
134
2018-11-01T22:15:24.000Z
2019-05-04T11:30:08.000Z
src/python/nimbusml/examples/Log.py
michaelgsharp/NimbusML
50031157265f49eec85d27fe67582d9ddaf01ef9
[ "MIT" ]
226
2019-05-07T19:00:44.000Z
2021-01-06T07:59:48.000Z
src/python/nimbusml/examples/Log.py
michaelgsharp/NimbusML
50031157265f49eec85d27fe67582d9ddaf01ef9
[ "MIT" ]
43
2019-05-15T20:19:42.000Z
2022-03-30T10:26:07.000Z
############################################################################### # Log Loss from nimbusml.linear_model import FastLinearBinaryClassifier from nimbusml.loss import Log # specifying the loss function as a string keyword trainer1 = FastLinearBinaryClassifier(loss='log') # can also use loss class instead o...
34
79
0.647059
41
408
6.414634
0.585366
0.079848
0.288973
0.311787
0
0
0
0
0
0
0
0.005495
0.107843
408
11
80
37.090909
0.717033
0.303922
0
0
0
0
0.015
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
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
1
0
0
0
0
3
caca9fc40ee9140a072d0a5ec5dc58adb4db3630
44,097
py
Python
fahari/sims/tests/test_models.py
savannahghi/mle
4d65f8a573935d39700a0d6f8a8eb79cb5640288
[ "MIT" ]
2
2021-09-14T07:14:27.000Z
2022-01-06T12:21:34.000Z
fahari/sims/tests/test_models.py
savannahghi/fahari
4d65f8a573935d39700a0d6f8a8eb79cb5640288
[ "MIT" ]
1
2022-02-27T18:03:17.000Z
2022-02-27T18:03:17.000Z
fahari/sims/tests/test_models.py
savannahghi/mle
4d65f8a573935d39700a0d6f8a8eb79cb5640288
[ "MIT" ]
2
2022-03-12T13:25:09.000Z
2022-03-21T08:44:33.000Z
import pytest from django.contrib.auth import get_user_model from django.test import TestCase from django.utils import timezone from faker import Faker from model_bakery import baker from fahari.common.models import Facility, Organisation from fahari.sims.models import ( ChildrenMixin, Question, QuestionAn...
38.886243
98
0.63154
4,355
44,097
6.19977
0.057635
0.041333
0.071556
0.039037
0.846704
0.803148
0.740704
0.680778
0.594444
0.537593
0
0.016214
0.282514
44,097
1,133
99
38.920565
0.837163
0.068962
0
0.650424
0
0
0.062451
0.00152
0
0
0
0
0.168432
1
0.044492
false
0
0.008475
0
0.059322
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cad42d9af7971eb9f04b9972eb94ab20bf3a45b0
89
py
Python
django_backbone/users/__init__.py
Jordan-Kowal/django-backbone
19d123adf00b3f7d22e6ef75ba6da0fe7b5e00b0
[ "MIT" ]
1
2020-10-05T21:44:18.000Z
2020-10-05T21:44:18.000Z
django_backbone/users/__init__.py
Jordan-Kowal/django-backbone
19d123adf00b3f7d22e6ef75ba6da0fe7b5e00b0
[ "MIT" ]
null
null
null
django_backbone/users/__init__.py
Jordan-Kowal/django-backbone
19d123adf00b3f7d22e6ef75ba6da0fe7b5e00b0
[ "MIT" ]
null
null
null
"""Default config for the 'users' app""" default_app_config = "users.apps.UsersConfig"
17.8
45
0.730337
12
89
5.25
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.123596
89
4
46
22.25
0.807692
0.382022
0
0
0
0
0.44898
0.44898
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
caeecaf39a7fcda610eadcd5f288ccbe4e714320
3,227
py
Python
install/tools/generate_inventory.py
zhaozhilong1993/demon
9b5ccac3dc119d1a6c60fe202e52f9f42ab9f0e7
[ "Apache-2.0" ]
null
null
null
install/tools/generate_inventory.py
zhaozhilong1993/demon
9b5ccac3dc119d1a6c60fe202e52f9f42ab9f0e7
[ "Apache-2.0" ]
null
null
null
install/tools/generate_inventory.py
zhaozhilong1993/demon
9b5ccac3dc119d1a6c60fe202e52f9f42ab9f0e7
[ "Apache-2.0" ]
1
2021-06-06T01:42:50.000Z
2021-06-06T01:42:50.000Z
#!/usr/bin/env python import argparse import os import sys def generate_options(): parser = argparse.ArgumentParser() parser.add_argument("-r", "--abridge", help="abridge of region. eg: hx") parser.add_argument("-i", "--prefix", help="region id. eg: 10.110.0") parser.add_argument("-n", "--name", help...
43.026667
81
0.618221
433
3,227
4.422633
0.295612
0.017755
0.079896
0.056397
0.241253
0.22141
0.148303
0.028198
0.028198
0.028198
0
0.012
0.225287
3,227
74
82
43.608108
0.754
0.006198
0
0.029851
1
0
0.246725
0.067686
0
0
0
0
0
0
null
null
0.164179
0.044776
null
null
0.014925
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
3
cafe98c9d7fcc800cfc93fe77b5bec601e62337b
90
py
Python
src/gluonts/model/deepar/__init__.py
goriccardo/gluon-ts
35cc49bc66fcf0ebc7225916fc2d3edd58f5cb49
[ "Apache-2.0" ]
1
2021-09-16T09:16:48.000Z
2021-09-16T09:16:48.000Z
src/gluonts/model/deepar/__init__.py
satarii/gluon-ts
77273999d5e7b09b14f98a0773355fb19e3efcb4
[ "Apache-2.0" ]
null
null
null
src/gluonts/model/deepar/__init__.py
satarii/gluon-ts
77273999d5e7b09b14f98a0773355fb19e3efcb4
[ "Apache-2.0" ]
2
2019-10-12T21:52:14.000Z
2019-11-20T18:47:56.000Z
# Relative imports from ._estimator import DeepAREstimator __all__ = ['DeepAREstimator']
18
39
0.8
8
90
8.375
0.875
0
0
0
0
0
0
0
0
0
0
0
0.122222
90
4
40
22.5
0.848101
0.177778
0
0
0
0
0.208333
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
caffbdd072b3d62458fe2b3203e9beb94d435007
1,327
py
Python
InjectionLog/migrations/0003_auto_20200525_0056.py
JKesslerPhD/FIPInjectionLogger
f6ad4956552409a75ef75287b764bcd1863781b1
[ "Apache-2.0" ]
1
2020-12-01T19:08:42.000Z
2020-12-01T19:08:42.000Z
InjectionLog/migrations/0003_auto_20200525_0056.py
JKesslerPhD/FIPInjectionLogger
f6ad4956552409a75ef75287b764bcd1863781b1
[ "Apache-2.0" ]
49
2020-07-15T16:56:30.000Z
2021-12-27T21:38:10.000Z
InjectionLog/migrations/0003_auto_20200525_0056.py
JKesslerPhD/FIPInjectionLogger
f6ad4956552409a75ef75287b764bcd1863781b1
[ "Apache-2.0" ]
1
2021-11-15T20:20:42.000Z
2021-11-15T20:20:42.000Z
# Generated by Django 3.0.6 on 2020-05-25 00:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('InjectionLog', '0002_auto_20200525_0018'), ] operations = [ migrations.AlterField( model_name='gsbrand', name='conce...
30.159091
81
0.584778
129
1,327
5.837209
0.372093
0.159363
0.199203
0.231076
0.722444
0.674635
0.482072
0.482072
0.347942
0.347942
0
0.047619
0.303693
1,327
43
82
30.860465
0.767316
0.033911
0
0.675676
1
0
0.114844
0.017969
0
0
0
0
0
1
0
false
0
0.027027
0
0.108108
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
1b1169475e2a3e9aa885b215155bceb6706988dd
1,455
py
Python
sceapp/models.py
victorpy/sceapp
462c32ed7c4d99a4853d84a21a1fdfd2eefdc71a
[ "MIT" ]
null
null
null
sceapp/models.py
victorpy/sceapp
462c32ed7c4d99a4853d84a21a1fdfd2eefdc71a
[ "MIT" ]
null
null
null
sceapp/models.py
victorpy/sceapp
462c32ed7c4d99a4853d84a21a1fdfd2eefdc71a
[ "MIT" ]
null
null
null
from django.db import models from datetime import datetime from django.utils import timezone # Create your models here. class Ticket(models.Model): start_date = models.DateTimeField('Fecha Entrada', default=timezone.now) end_date = models.DateTimeField('Fecha Salida', blank=True, null=True) description = models.C...
34.642857
73
0.753265
192
1,455
5.53125
0.333333
0.155367
0.186441
0.248588
0.497175
0.427495
0.258004
0.258004
0.182674
0
0
0.019763
0.130584
1,455
41
74
35.487805
0.819763
0.016495
0
0.363636
0
0
0.061582
0
0
0
0
0
0
0
null
null
0
0.090909
null
null
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
1
0
0
0
0
0
0
0
0
3
1b2fa80841c82ac5110a1956373968738b0f1ae4
223
py
Python
prediction_api/prediction/models.py
YusufBerki/PyImageClassification
eee9a5f76aed5ea81c3c0968a0d4d699f5510bab
[ "MIT" ]
6
2021-08-09T15:56:01.000Z
2022-03-01T14:31:40.000Z
prediction_api/prediction/models.py
YusufBerki/PyImageClassification
eee9a5f76aed5ea81c3c0968a0d4d699f5510bab
[ "MIT" ]
2
2021-08-07T10:59:48.000Z
2021-08-09T23:21:21.000Z
prediction_api/prediction/models.py
YusufBerki/PyImageClassification
eee9a5f76aed5ea81c3c0968a0d4d699f5510bab
[ "MIT" ]
null
null
null
from django.db import models class Prediction(models.Model): file = models.FileField() prediction_results = models.TextField(blank=True, null=True) uploaded_at = models.DateTimeField(auto_now_add=True)
27.875
65
0.73991
28
223
5.75
0.75
0
0
0
0
0
0
0
0
0
0
0
0.165919
223
7
66
31.857143
0.865591
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
1b3aef6311484d1bfe3751b9c8aa9fb7766f62ac
84
py
Python
tests/configs.py
lycantropos/paradigm
a74cd885e2a07418425379099ddc090edc6e1772
[ "MIT" ]
3
2019-09-11T07:24:07.000Z
2020-11-27T04:09:06.000Z
tests/configs.py
lycantropos/paradigm
a74cd885e2a07418425379099ddc090edc6e1772
[ "MIT" ]
21
2018-11-08T17:34:00.000Z
2019-12-14T13:57:29.000Z
tests/configs.py
lycantropos/paradigm
a74cd885e2a07418425379099ddc090edc6e1772
[ "MIT" ]
1
2019-09-11T07:24:14.000Z
2019-09-11T07:24:14.000Z
import sys MAX_ARGUMENTS_COUNT = 255 if sys.version_info < (3, 7) else sys.maxsize
21
71
0.761905
15
84
4.066667
0.866667
0
0
0
0
0
0
0
0
0
0
0.070423
0.154762
84
3
72
28
0.788732
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1b5b65b82c461513a6e359a090bd0c62c4a2e3be
234
py
Python
main/serializer.py
Remek953/Auction_cars
ac08d733895c5c9d8e10ec2aa89669406bf7ed1b
[ "MIT" ]
null
null
null
main/serializer.py
Remek953/Auction_cars
ac08d733895c5c9d8e10ec2aa89669406bf7ed1b
[ "MIT" ]
null
null
null
main/serializer.py
Remek953/Auction_cars
ac08d733895c5c9d8e10ec2aa89669406bf7ed1b
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User, Group from rest_framework import serializers from .models import Cars class CarsSerializer(serializers.ModelSerializer): class Meta: model = Cars fields = '__all__'
19.5
50
0.739316
27
234
6.222222
0.703704
0.142857
0
0
0
0
0
0
0
0
0
0
0.200855
234
11
51
21.272727
0.898396
0
0
0
0
0
0.030043
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.714286
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
1b63953a737363df3a833ff387b7f734cd1be0c3
55
py
Python
python_programs/misc/sortlist.py
Lioncat2002/CSE-programs
48c60a34343acd435f2c5a3e731d3f71bb54158c
[ "MIT" ]
1
2021-11-15T15:21:29.000Z
2021-11-15T15:21:29.000Z
python_programs/misc/sortlist.py
Lioncat2002/CSE-programs
48c60a34343acd435f2c5a3e731d3f71bb54158c
[ "MIT" ]
null
null
null
python_programs/misc/sortlist.py
Lioncat2002/CSE-programs
48c60a34343acd435f2c5a3e731d3f71bb54158c
[ "MIT" ]
2
2021-11-14T01:45:51.000Z
2021-11-15T15:21:08.000Z
l=[int(i) for i in input().split(',')] print(sorted(l))
27.5
38
0.6
11
55
3
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.090909
55
2
39
27.5
0.66
0
0
0
0
0
0.017857
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
1b7718e5e0cb8f7f7ef49b3040a5054b375b9e6a
1,679
py
Python
src/sima/riflex/blueprints/supportvessel.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/riflex/blueprints/supportvessel.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/riflex/blueprints/supportvessel.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
# # Generated with SupportVesselBlueprint from dmt.blueprint import Blueprint from dmt.dimension import Dimension from dmt.attribute import Attribute from dmt.enum_attribute import EnumAttribute from dmt.blueprint_attribute import BlueprintAttribute from sima.sima.blueprints.body import BodyBlueprint class SupportVes...
64.576923
140
0.7433
164
1,679
7.530488
0.310976
0.136032
0.194332
0.140891
0.328745
0.11498
0
0
0
0
0
0.00462
0.097677
1,679
26
141
64.576923
0.810561
0.022037
0
0
1
0
0.230863
0.093693
0
0
0
0
0
1
0.047619
false
0
0.285714
0
0.380952
0.47619
0
0
0
null
0
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
1
0
3
1b7ec46533910996e95774d980528fe9168ad32c
98,483
py
Python
main.py
koyuspace/e43
a78f798284d98f84c633435f3b2f7b7fc21d3fc1
[ "MIT" ]
null
null
null
main.py
koyuspace/e43
a78f798284d98f84c633435f3b2f7b7fc21d3fc1
[ "MIT" ]
null
null
null
main.py
koyuspace/e43
a78f798284d98f84c633435f3b2f7b7fc21d3fc1
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import sys import time import os import os.path import re import subprocess import time import eyed3 import random import mutagen import soundcloud import string import json import urllib.request import html.parser import logging import telegram from telegram import InlineKeyboardButton, InlineKeybo...
70.851079
272
0.371425
7,958
98,483
4.465444
0.068485
0.041198
0.107722
0.051216
0.795165
0.745019
0.693297
0.653985
0.633639
0.608425
0
0.009985
0.526101
98,483
1,390
273
70.851079
0.75113
0.000863
0
0.679094
0
0.015351
0.115167
0.005722
0
0
0
0
0
1
0.008772
false
0.037281
0.016813
0
0.028509
0.013889
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1b8c26353f24cc05df72fca8cbd6d369754d377a
113
py
Python
studyPython2/advanced_usage/para_attr/animal.py
fairylyk/studyPy
b227b92ac5707fba665942adbaba6943940819fd
[ "Apache-2.0" ]
null
null
null
studyPython2/advanced_usage/para_attr/animal.py
fairylyk/studyPy
b227b92ac5707fba665942adbaba6943940819fd
[ "Apache-2.0" ]
1
2021-03-25T22:44:19.000Z
2021-03-25T22:44:19.000Z
studyPython2/advanced_usage/para_attr/animal.py
fairylyk/studyPy
b227b92ac5707fba665942adbaba6943940819fd
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # vim: set fileencoding=utf-8 : class Animal(object): def name(self): print "动物"
14.125
31
0.610619
16
113
4.3125
1
0
0
0
0
0
0
0
0
0
0
0.011494
0.230089
113
8
32
14.125
0.781609
0.40708
0
0
0
0
0.030303
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
1b95098a0c3e0217f7d831829af353383d311319
274
py
Python
python/testData/docstrings/numpyEmptySectionIndent.py
jnthn/intellij-community
8fa7c8a3ace62400c838e0d5926a7be106aa8557
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/docstrings/numpyEmptySectionIndent.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/docstrings/numpyEmptySectionIndent.py
Cyril-lamirand/intellij-community
60ab6c61b82fc761dd68363eca7d9d69663cfa39
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
def func(param1): """ Parameters ---------- x : int y : str description with continuation Example ------- First sentence. Second sentence. Returns ------- Something """ pass
12.454545
25
0.408759
19
274
5.894737
0.947368
0
0
0
0
0
0
0
0
0
0
0.006711
0.456204
274
22
26
12.454545
0.744966
0.572993
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0.5
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
1ba148105d26400b20185b57734061632bbcaee6
73
py
Python
gui_example/gui/main.py
chegoryu/PythonSetupExample
0682c719929e96b9c3fa12d4d6080033a6c628bf
[ "MIT" ]
null
null
null
gui_example/gui/main.py
chegoryu/PythonSetupExample
0682c719929e96b9c3fa12d4d6080033a6c628bf
[ "MIT" ]
null
null
null
gui_example/gui/main.py
chegoryu/PythonSetupExample
0682c719929e96b9c3fa12d4d6080033a6c628bf
[ "MIT" ]
null
null
null
from .app import MainApp def main(): app = MainApp() app.run()
10.428571
24
0.589041
10
73
4.3
0.7
0
0
0
0
0
0
0
0
0
0
0
0.273973
73
6
25
12.166667
0.811321
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
1bb0ab787b86ac0d58ba3db946fd21332fc50675
157
py
Python
output/models/sun_data/stype/st_facets/st_facets00603/st_facets00603_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/sun_data/stype/st_facets/st_facets00603/st_facets00603_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/sun_data/stype/st_facets/st_facets00603/st_facets00603_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.sun_data.stype.st_facets.st_facets00603.st_facets00603_xsd.st_facets00603 import ( S, Root, ) __all__ = [ "S", "Root", ]
15.7
101
0.681529
21
157
4.619048
0.666667
0.402062
0
0
0
0
0
0
0
0
0
0.11811
0.191083
157
9
102
17.444444
0.645669
0
0
0
0
0
0.031847
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
1bb37ab62dd4f968a7755955036a4a5f31000aef
2,604
py
Python
pizza.py
arturojreal/pizza.py
abfde73affe562a01e8c56654ac2c3a9f347d8c4
[ "MIT" ]
null
null
null
pizza.py
arturojreal/pizza.py
abfde73affe562a01e8c56654ac2c3a9f347d8c4
[ "MIT" ]
null
null
null
pizza.py
arturojreal/pizza.py
abfde73affe562a01e8c56654ac2c3a9f347d8c4
[ "MIT" ]
null
null
null
# from a module sys, import the feature named argv from sys import argv import math # unpack argv into script and attendees script, attendees = argv print "{} attendees? If this is correct, \ hit ENTER. If not, exit with CTRL-C.".format(attendees) raw_input() #TODO include option/prompt for slices per person input # ...
43.4
232
0.768433
376
2,604
5.18617
0.25266
0.092308
0.082051
0.092308
0.267179
0.216923
0.198462
0.162564
0.162564
0.162564
0
0.013268
0.13172
2,604
59
233
44.135593
0.849182
0.201613
0
0.210526
0
0.026316
0.249033
0.010638
0
0
0
0.016949
0
0
null
null
0
0.052632
null
null
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
1
0
3
1bb4850d7f0cc3f174e31ac433bf6e0cf0df43fd
192
py
Python
My_Alexa.py
Taizul1579/Pythonbasic
a197e1d8fa7f74bc9bff5ae2d5cf6bf7010e884c
[ "Apache-2.0" ]
null
null
null
My_Alexa.py
Taizul1579/Pythonbasic
a197e1d8fa7f74bc9bff5ae2d5cf6bf7010e884c
[ "Apache-2.0" ]
null
null
null
My_Alexa.py
Taizul1579/Pythonbasic
a197e1d8fa7f74bc9bff5ae2d5cf6bf7010e884c
[ "Apache-2.0" ]
null
null
null
## prime number calculation program a = int(input("Enter The Prime Number : ")) if a%1==0: if a%a==0: print("This is a prime number") else: print("This is not prime number")
27.428571
44
0.619792
32
192
3.71875
0.53125
0.369748
0.184874
0
0
0
0
0
0
0
0
0.020548
0.239583
192
7
45
27.428571
0.794521
0.166667
0
0
0
0
0.467105
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1bb5fa91195c93cc3d421622512d1ffda5049e0c
176
py
Python
config.py
vasujain/wfh-ninja
066c078c1b0df8b2b20881d64515f65ca8fb5b12
[ "MIT" ]
196
2015-05-17T02:15:21.000Z
2021-09-26T00:07:08.000Z
config.py
vasujain/wfh-ninja
066c078c1b0df8b2b20881d64515f65ca8fb5b12
[ "MIT" ]
5
2015-07-27T13:24:18.000Z
2019-05-16T20:31:38.000Z
config.py
christinang89/wfh-ninja
7138f5d21d1e4828803b5180468a75569fdf959a
[ "MIT" ]
50
2015-07-27T12:53:42.000Z
2018-10-02T11:15:32.000Z
import os, sys SESSION_TYPE = 'memcached' SECRET_KEY = 'super secret key' SQLALCHEMY_DATABASE_URI = os.getenv("DATABASE_URL") ADMIN_REGISTRATION_SECRET_KEY = 'wfh-ninja-admin'
29.333333
51
0.801136
25
176
5.32
0.72
0.203008
0
0
0
0
0
0
0
0
0
0
0.096591
176
6
52
29.333333
0.836478
0
0
0
0
0
0.293785
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
1bc65174794e32d4195db04dca247d0b7deac2be
183
py
Python
src/py/TestPrint.py
surrealism/bigproject
db5a065783c30d76a39fc21ec2f08381f1df8687
[ "FTL" ]
1
2020-03-31T13:50:50.000Z
2020-03-31T13:50:50.000Z
src/py/TestPrint.py
surrealism/bigproject
db5a065783c30d76a39fc21ec2f08381f1df8687
[ "FTL" ]
1
2015-01-23T12:10:20.000Z
2015-01-23T12:10:20.000Z
src/py/TestPrint.py
surrealism/bigproject
db5a065783c30d76a39fc21ec2f08381f1df8687
[ "FTL" ]
null
null
null
import threading def fun_timer(): print('new test timer') global timer timer = threading.Timer(5.5, fun_timer) timer.start() timer = threading.Timer(1, fun_timer) timer.start()
18.3
40
0.73224
28
183
4.678571
0.428571
0.183206
0.290076
0.274809
0
0
0
0
0
0
0
0.018987
0.136612
183
10
41
18.3
0.810127
0
0
0.25
0
0
0.076087
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.25
0.125
1
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1bc67655b2854164001c826c912b1b6301b00604
934
py
Python
spec/assertions_spec.py
bfirsh/pspec
b45f23e501be3498b6a859919d239c36ff0b772f
[ "BSD-3-Clause" ]
8
2015-09-23T23:16:09.000Z
2021-08-02T10:33:20.000Z
spec/assertions_spec.py
bfirsh/pspec
b45f23e501be3498b6a859919d239c36ff0b772f
[ "BSD-3-Clause" ]
1
2017-11-11T02:09:11.000Z
2017-11-11T02:09:11.000Z
spec/assertions_spec.py
bfirsh/pspec
b45f23e501be3498b6a859919d239c36ff0b772f
[ "BSD-3-Clause" ]
1
2017-11-08T05:22:45.000Z
2017-11-08T05:22:45.000Z
from pspec import describe from pspec.assertions import assert_raises with describe('assert_raises'): def it_does_not_do_anything_if_correct_exception_is_raised(): def test(): with assert_raises(TypeError): raise TypeError test() def it_fails_if_no_exception_is_rai...
25.243243
80
0.59636
97
934
5.453608
0.360825
0.15879
0.096408
0.113422
0.493384
0.493384
0.493384
0.493384
0.493384
0.204159
0
0.001629
0.342612
934
36
81
25.944444
0.859935
0.018201
0
0.535714
0
0
0.108553
0
0
0
0
0
0.321429
1
0.214286
true
0.107143
0.071429
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
1
0
0
0
0
0
3
1bd126c572bbbe4f952a8313cbe0e524f0b5ff66
1,002
py
Python
template_event_site/ai_talks/models.py
MSadeghzadehG/event_template_django
56edcccd600d653770d6d67d13a0440330f1189c
[ "MIT" ]
null
null
null
template_event_site/ai_talks/models.py
MSadeghzadehG/event_template_django
56edcccd600d653770d6d67d13a0440330f1189c
[ "MIT" ]
8
2021-03-18T23:24:38.000Z
2021-07-20T05:56:10.000Z
template_event_site/ai_talks/models.py
MSadeghzadehG/event_template_django
56edcccd600d653770d6d67d13a0440330f1189c
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. class Speaker(models.Model): name = models.CharField(max_length=300) position = models.CharField(max_length=300) bio = models.TextField() abstract = models.TextField() image_path = models.CharField(max_length=300) date_and_time = models....
28.628571
53
0.732535
128
1,002
5.539063
0.328125
0.275035
0.330042
0.440056
0.633286
0.550071
0.462623
0.407616
0.38646
0.38646
0
0.048868
0.162675
1,002
34
54
29.470588
0.796186
0.05489
0
0.318182
0
0
0
0
0
0
0
0
0
1
0
false
0
0.045455
0
1
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1bd57cb47f85c778544123d94a7772ebc1fb4752
349
py
Python
old/app/api/v1/authentication.py
CoCongV/scheduler-service
c16ea8751b7259abe1b6bfa2e8e706aa2ea7e74a
[ "BSD-2-Clause" ]
2
2019-11-18T14:25:04.000Z
2020-08-01T13:16:40.000Z
old/app/api/v1/authentication.py
CoCongV/scheduler-service
c16ea8751b7259abe1b6bfa2e8e706aa2ea7e74a
[ "BSD-2-Clause" ]
null
null
null
old/app/api/v1/authentication.py
CoCongV/scheduler-service
c16ea8751b7259abe1b6bfa2e8e706aa2ea7e74a
[ "BSD-2-Clause" ]
null
null
null
# coding: utf-8 from flask import g from flask_httpauth import HTTPBasicAuth from app.models import User from .. import api from app import auth @auth.verify_password def verify_password(email, password): user = User._filter(email=email) if not user: return user g.current_user = user return us...
21.8125
41
0.744986
51
349
4.980392
0.45098
0.165354
0.110236
0
0
0
0
0
0
0
0
0.003534
0.189112
349
15
42
23.266667
0.893993
0.037249
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0.25
0.416667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
59edc1fd85483694a825b1e2adef394657714d16
141
py
Python
MiGRIDS/main.py
mmuellerstoffels/GBSTools
aebd8aa6667a2284aaa16424f9b9d22ca3a2a375
[ "MIT" ]
8
2019-02-18T14:18:55.000Z
2022-03-04T12:34:24.000Z
MiGRIDS/main.py
mmuellerstoffels/GBSTools
aebd8aa6667a2284aaa16424f9b9d22ca3a2a375
[ "MIT" ]
3
2018-09-01T00:30:19.000Z
2018-09-01T01:09:50.000Z
MiGRIDS/main.py
acep-uaf/GBSTools
aebd8aa6667a2284aaa16424f9b9d22ca3a2a375
[ "MIT" ]
3
2019-06-10T19:49:22.000Z
2021-05-08T08:42:57.000Z
# -*- coding: utf-8 -*- from GBSController.callUIForm import callUIForm def main(): callUIForm() if __name__ == '__main__': main()
15.666667
47
0.652482
15
141
5.6
0.733333
0
0
0
0
0
0
0
0
0
0
0.008772
0.191489
141
9
48
15.666667
0.72807
0.148936
0
0
0
0
0.067227
0
0
0
0
0
0
1
0.2
true
0
0.2
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
59f757493f34d5fc0690e32ad618dbdd56a1af26
752
py
Python
mysite/myapp/templates/myapp/views.py
brucelau-github/Django_App
c3d3b8d958cc79f24feadf8cc54ab7726c0e3d79
[ "Apache-2.0" ]
null
null
null
mysite/myapp/templates/myapp/views.py
brucelau-github/Django_App
c3d3b8d958cc79f24feadf8cc54ab7726c0e3d79
[ "Apache-2.0" ]
null
null
null
mysite/myapp/templates/myapp/views.py
brucelau-github/Django_App
c3d3b8d958cc79f24feadf8cc54ab7726c0e3d79
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.shortcuts import render, get_object_or_404 from django.http import HttpResponse, HttpResponseNotFound from django.shortcuts import render from myapp.models import Author, Book, Course # Create your views here. def index(request): courseli...
34.181818
74
0.74734
99
752
5.525253
0.464646
0.054845
0.104205
0.131627
0.113346
0
0
0
0
0
0
0.013783
0.131649
752
21
75
35.809524
0.82389
0.12633
0
0
0
0
0.107362
0
0
0
0
0
0
1
0.214286
false
0
0.357143
0.071429
0.785714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
941e2ba96900a0168f09de1cba10f74211af191e
453
py
Python
tests/context.py
MozaicWorks/DMARCReporting
3d2a4b79ea55f9631bc661c2c3cf9acb4dc36e52
[ "MIT" ]
3
2021-11-09T12:47:36.000Z
2022-01-03T13:25:41.000Z
tests/context.py
MozaicWorks/DMARCReporting
3d2a4b79ea55f9631bc661c2c3cf9acb4dc36e52
[ "MIT" ]
8
2021-11-09T13:38:14.000Z
2022-02-07T16:34:06.000Z
tests/context.py
MozaicWorks/DMARCReporting
3d2a4b79ea55f9631bc661c2c3cf9acb4dc36e52
[ "MIT" ]
null
null
null
# To give the individual tests import context, create `tests/context.py` # See The Hitchhiker's Guide to Python - Structuring Your Project # https://docs.python-guide.org/writing/structure/ # # Within the individual test modules, import the module like so: # ``` # from .context import sample # ``` import os import sys...
26.647059
72
0.726269
65
453
5
0.661538
0.055385
0
0
0
0
0
0
0
0
0
0.018088
0.145695
453
16
73
28.3125
0.821705
0.660044
0
0
0
0
0.013889
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
943e6cf7eb8d80b3be00e8fd62fc2971b4bfcec1
1,178
py
Python
importer/migrations/0002_auto_20180709_0833.py
juliecentofanti172/juliecentofanti.github.io
446ea8522b9f4a6709124ebb6e0f675acf7fe205
[ "CC0-1.0" ]
134
2018-05-23T14:00:29.000Z
2022-03-10T15:47:53.000Z
importer/migrations/0002_auto_20180709_0833.py
ptrourke/concordia
56ff364dbf38cb8a763df489479821fe43b76d69
[ "CC0-1.0" ]
1,104
2018-05-22T20:18:22.000Z
2022-03-31T17:28:40.000Z
importer/migrations/0002_auto_20180709_0833.py
ptrourke/concordia
56ff364dbf38cb8a763df489479821fe43b76d69
[ "CC0-1.0" ]
32
2018-05-22T20:22:38.000Z
2021-12-21T14:11:44.000Z
# Generated by Django 2.0.7 on 2018-07-09 08:33 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [("importer", "0001_initial")] operations = [ migrations.AlterField( model_name="campaignitemassetcount", name="campaign_item_asset_...
31.837838
74
0.611205
111
1,178
6.324324
0.405405
0.14245
0.178063
0.206553
0.612536
0.612536
0.612536
0.612536
0.612536
0.612536
0
0.025974
0.280985
1,178
36
75
32.722222
0.802834
0.0382
0
0.6
1
0
0.191866
0.041556
0
0
0
0
0
1
0
false
0
0.066667
0
0.166667
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
944af6faba953faec2b6d78ab6572215d48770eb
1,886
py
Python
tests/test_scout_data.py
the-scouts/incognita
f0634f3d812b816ad3d46f55e88d7524ebf81d32
[ "MIT" ]
2
2019-06-14T08:05:24.000Z
2021-01-03T00:18:07.000Z
tests/test_scout_data.py
the-scouts/geo_mapping
f0634f3d812b816ad3d46f55e88d7524ebf81d32
[ "MIT" ]
47
2019-06-17T21:27:57.000Z
2021-03-11T00:27:47.000Z
tests/test_scout_data.py
the-scouts/incognita
f0634f3d812b816ad3d46f55e88d7524ebf81d32
[ "MIT" ]
null
null
null
import logging import time from conftest import COLUMN_NAME from conftest import CountryDataFrame import hypothesis import pandas as pd import pytest from incognita.utility import filter from incognita.utility import timing @hypothesis.given(CountryDataFrame) def test_filter_records_inclusion(data: pd.DataFrame): ...
36.269231
157
0.801166
251
1,886
5.705179
0.247012
0.090782
0.100559
0.061453
0.705307
0.705307
0.705307
0.669693
0.669693
0.669693
0
0.003604
0.117179
1,886
51
158
36.980392
0.856456
0
0
0.314286
0
0
0.020148
0
0
0
0
0
0.085714
1
0.114286
false
0
0.257143
0
0.371429
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
944e5fa91161e3271f95ea347568846c89f6abf1
890
py
Python
PycharmProjects/cursoemvideo/DESAFIO 39.py
AlexandreSoaresValerio/Pycharm
e2a9d1ae2833bf3e39244393a5bf807f892eaec5
[ "MIT" ]
null
null
null
PycharmProjects/cursoemvideo/DESAFIO 39.py
AlexandreSoaresValerio/Pycharm
e2a9d1ae2833bf3e39244393a5bf807f892eaec5
[ "MIT" ]
null
null
null
PycharmProjects/cursoemvideo/DESAFIO 39.py
AlexandreSoaresValerio/Pycharm
e2a9d1ae2833bf3e39244393a5bf807f892eaec5
[ "MIT" ]
null
null
null
from datetime import date s = str(input('Qual o sexo?')) if s == 'masculino': print('Bem vindo a calculadora de alistamento militar') a = int(input('Ano de nascimento:')) print('Quem nasceu em {} tem {} anos em {}'.format(a, date.today().year - a, date.today().year)) d = 18 if date.today().year - a ...
49.444444
100
0.610112
133
890
4.082707
0.398496
0.18232
0.263352
0.206262
0.35175
0.296501
0.206262
0.106814
0
0
0
0.011412
0.21236
890
17
101
52.352941
0.763195
0
0
0
0
0
0.35618
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.058824
0.470588
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
9461dc70f515b705d9682bacc6edda490072e86b
1,186
py
Python
synthetic_test/BenchmarkSuite/src/object_changes/classes/plus_operation.py
sritejakv/eval_CG
259b2d0ee39cbfe3c6961d7bbdeff8c135ec5712
[ "MIT" ]
null
null
null
synthetic_test/BenchmarkSuite/src/object_changes/classes/plus_operation.py
sritejakv/eval_CG
259b2d0ee39cbfe3c6961d7bbdeff8c135ec5712
[ "MIT" ]
null
null
null
synthetic_test/BenchmarkSuite/src/object_changes/classes/plus_operation.py
sritejakv/eval_CG
259b2d0ee39cbfe3c6961d7bbdeff8c135ec5712
[ "MIT" ]
null
null
null
""" :testcase_name plus_operation :author Sriteja Kummita :script_type Class :description Program demonstrating dynamic typing in Python in which a variable takes different instances with in the same program. obj is initialised with an object of AddNumber initially and then modified to the object of ConcatenateStrings....
27.581395
117
0.704047
167
1,186
4.718563
0.383234
0.17132
0.137056
0.129442
0.389594
0.389594
0.389594
0.389594
0.389594
0.389594
0
0.002146
0.214165
1,186
42
118
28.238095
0.843348
0.335582
0
0.695652
0
0
0.025641
0
0
0
0
0
0
1
0.26087
false
0
0
0.130435
0.521739
0.086957
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
9465bbe7a5dc8be0adf17ad6bffef782bdf5621d
63,231
py
Python
finsky/protos/challenge_proto_pb2.py
mmcloughlin/finsky
f21ccdbebf86e55a542c658b6972cb1f3fb5f119
[ "MIT" ]
59
2015-07-11T18:53:59.000Z
2021-09-08T03:16:17.000Z
finsky/protos/challenge_proto_pb2.py
mmcloughlin/finsky
f21ccdbebf86e55a542c658b6972cb1f3fb5f119
[ "MIT" ]
10
2015-07-01T08:09:29.000Z
2021-12-06T01:23:00.000Z
finsky/protos/challenge_proto_pb2.py
mmcloughlin/finsky
f21ccdbebf86e55a542c658b6972cb1f3fb5f119
[ "MIT" ]
14
2015-08-15T22:04:02.000Z
2021-03-03T09:14:39.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: challenge_proto.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection a...
44.403792
6,615
0.749537
7,553
63,231
6.011651
0.053224
0.057437
0.059111
0.044928
0.64465
0.598203
0.590142
0.57107
0.568581
0.562128
0
0.041434
0.124781
63,231
1,423
6,616
44.434996
0.779043
0.024371
0
0.718373
1
0.006024
0.207946
0.159848
0
0
0
0
0
1
0
false
0
0.006024
0
0.006024
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
846eb74d121470a3975d806993c3880ab8bbd135
2,133
py
Python
pyplusplus/module_builder/__init__.py
electronicvisions/pyplusplus
4d88bb8754d22654a61202ae8adc222807953e38
[ "BSL-1.0" ]
5
2021-01-29T19:54:34.000Z
2022-03-23T11:16:37.000Z
pyplusplus/module_builder/__init__.py
electronicvisions/pyplusplus
4d88bb8754d22654a61202ae8adc222807953e38
[ "BSL-1.0" ]
null
null
null
pyplusplus/module_builder/__init__.py
electronicvisions/pyplusplus
4d88bb8754d22654a61202ae8adc222807953e38
[ "BSL-1.0" ]
null
null
null
# Copyright 2004-2008 Roman Yakovenko. # Distributed under the Boost Software License, Version 1.0. (See # accompanying file LICENSE_1_0.txt or copy at # http://www.boost.org/LICENSE_1_0.txt) """ This package provides simple and convenient interface to `Py++` functionality. """ from .boost_python_builder import build...
38.089286
78
0.855134
310
2,133
5.590323
0.309677
0.054818
0.176572
0.255049
0.534911
0.465666
0.275822
0
0
0
0
0.007365
0.108767
2,133
55
79
38.781818
0.904261
0.178153
0
0.055556
0
0
0
0
0
0
0
0
0
1
0.027778
false
0
0.861111
0
0.888889
0.027778
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
8472ada812745b0d2f73cb46e87711c13c63e68e
149
py
Python
venv/Lib/site-packages/statsmodels/tsa/kalmanf/__init__.py
EkremBayar/bayar
aad1a32044da671d0b4f11908416044753360b39
[ "MIT" ]
76
2019-12-28T08:37:10.000Z
2022-03-29T02:19:41.000Z
venv/Lib/site-packages/statsmodels/tsa/kalmanf/__init__.py
EkremBayar/bayar
aad1a32044da671d0b4f11908416044753360b39
[ "MIT" ]
7
2020-12-04T04:10:42.000Z
2021-03-16T00:53:09.000Z
venv/Lib/site-packages/statsmodels/tsa/kalmanf/__init__.py
EkremBayar/bayar
aad1a32044da671d0b4f11908416044753360b39
[ "MIT" ]
35
2020-02-04T14:46:25.000Z
2022-03-24T03:56:17.000Z
__all__ = ['KalmanFilter', 'test'] from .kalmanfilter import KalmanFilter from statsmodels.tools._testing import PytestTester test = PytestTester()
24.833333
51
0.798658
15
149
7.6
0.6
0
0
0
0
0
0
0
0
0
0
0
0.107383
149
5
52
29.8
0.857143
0
0
0
0
0
0.107383
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
847fcb2b6b3cabaf5b63c5f0191284db7392f76e
66
py
Python
languages/python/sqlite3/connection.py
brnt-toast/CookBook
58da28d38c167c2db43982d875d072b1d9cde309
[ "BSD-2-Clause" ]
null
null
null
languages/python/sqlite3/connection.py
brnt-toast/CookBook
58da28d38c167c2db43982d875d072b1d9cde309
[ "BSD-2-Clause" ]
null
null
null
languages/python/sqlite3/connection.py
brnt-toast/CookBook
58da28d38c167c2db43982d875d072b1d9cde309
[ "BSD-2-Clause" ]
null
null
null
import sqlite3 DB = 'customers.db' conn = sqlite3.connection(DB)
16.5
29
0.742424
9
66
5.444444
0.666667
0
0
0
0
0
0
0
0
0
0
0.035088
0.136364
66
4
29
16.5
0.824561
0
0
0
0
0
0.179104
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
848439c070d1ea7b84360da0aaf4edbfd8554115
278
py
Python
1/functions.py
cysembrano/python101
b0ce31569eaf1235518b2af10d9bfa9c0642e197
[ "MIT" ]
null
null
null
1/functions.py
cysembrano/python101
b0ce31569eaf1235518b2af10d9bfa9c0642e197
[ "MIT" ]
null
null
null
1/functions.py
cysembrano/python101
b0ce31569eaf1235518b2af10d9bfa9c0642e197
[ "MIT" ]
null
null
null
def greet_user(first_name, last_name): print(f'Hi There {first_name} {last_name}') print('Welcome Aboard') print("Start") greet_user(last_name="Sembrano", first_name="Cyrus") # Keyword arguments greet_user("Cyrus", "Sembrano") # Positional Arguments print("Finish")
27.8
73
0.730216
38
278
5.105263
0.5
0.139175
0.134021
0.175258
0.226804
0
0
0
0
0
0
0
0.118705
278
9
74
30.888889
0.791837
0.136691
0
0
0
0
0.35443
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
0.571429
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
84cfaf3f830cd6f4c82ccb52a17f4bf4bbf5836b
265
py
Python
Strings/2694.py
LorranSutter/URI-Online-Judge
aef885b9a7caa83484cf172e29eea8ec92fc3627
[ "MIT" ]
null
null
null
Strings/2694.py
LorranSutter/URI-Online-Judge
aef885b9a7caa83484cf172e29eea8ec92fc3627
[ "MIT" ]
null
null
null
Strings/2694.py
LorranSutter/URI-Online-Judge
aef885b9a7caa83484cf172e29eea8ec92fc3627
[ "MIT" ]
null
null
null
for k in range(int(input())): nums = "" res = 0 for n in input(): if n.isnumeric(): nums += n elif nums != "": res += int(nums) nums = "" if nums != "": res += int(nums) print(res)
15.588235
29
0.381132
31
265
3.258065
0.451613
0.207921
0.19802
0.277228
0
0
0
0
0
0
0
0.006944
0.456604
265
16
30
16.5625
0.694444
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.083333
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
84d174933341999811c3726504c97424d8687e6e
881
py
Python
mlc_tools/module_python/generator_operator_equals.py
mlc-tools/mlc-tools
1ee8e82e438cda2cc1efd334d69773d1a29a0e0c
[ "MIT" ]
1
2018-05-07T09:32:57.000Z
2018-05-07T09:32:57.000Z
mlc_tools/module_python/generator_operator_equals.py
mlc-tools/mlc-tools
1ee8e82e438cda2cc1efd334d69773d1a29a0e0c
[ "MIT" ]
4
2019-09-27T09:33:34.000Z
2020-04-13T13:48:02.000Z
mlc_tools/module_python/generator_operator_equals.py
mlc-tools/mlc-tools
1ee8e82e438cda2cc1efd334d69773d1a29a0e0c
[ "MIT" ]
1
2018-02-23T01:04:44.000Z
2018-02-23T01:04:44.000Z
from ..base.generator_operator_equals import GeneratorOperatorEqualsBase class GeneratorOperatorEquals(GeneratorOperatorEqualsBase): def __init__(self): GeneratorOperatorEqualsBase.__init__(self) def get_equal_method_name(self): return '__eq__' def get_not_equal_method_name(self): ...
32.62963
84
0.632236
101
881
5.128713
0.39604
0.057915
0.057915
0.073359
0.250965
0.098456
0.098456
0.098456
0
0
0
0.011713
0.224745
881
26
85
33.884615
0.746706
0
0
0
0
0.055556
0.259932
0
0
0
0
0
0
1
0.333333
false
0
0.055556
0.222222
0.722222
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
84d67533b0cc5c165ce538f1d71e1d745766d531
95
py
Python
cf-python/config.py
Appdynamics/cloudfoundry-apps
2dd18aef701a0dac4355cfe8fdb60560e9290783
[ "Apache-2.0" ]
4
2019-04-04T22:31:58.000Z
2019-08-24T14:30:41.000Z
cf-python/config.py
CiscoDevNet/cloudfoundry-apps
2dd18aef701a0dac4355cfe8fdb60560e9290783
[ "Apache-2.0" ]
2
2019-05-23T19:08:16.000Z
2020-09-15T23:13:31.000Z
cf-python/config.py
CiscoDevNet/cloudfoundry-apps
2dd18aef701a0dac4355cfe8fdb60560e9290783
[ "Apache-2.0" ]
13
2018-06-22T22:29:01.000Z
2020-11-04T22:19:28.000Z
import os bind = "0.0.0.0:{port}".format(port=os.getenv('VCAP_APP_PORT', '8080')) workers = 3
19
71
0.663158
18
95
3.388889
0.666667
0.098361
0.098361
0
0
0
0
0
0
0
0
0.105882
0.105263
95
4
72
23.75
0.611765
0
0
0
0
0
0.326316
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
1701632ce21e6c038e197be3a0fbc29052b0ef03
270
py
Python
example/myapp/service.py
snbuback/django_services
58cbdea878bb11197add0ed1008a9206e4d92671
[ "Apache-2.0" ]
2
2015-12-20T11:40:34.000Z
2016-11-01T20:10:25.000Z
example/myapp/service.py
snbuback/django_services
58cbdea878bb11197add0ed1008a9206e4d92671
[ "Apache-2.0" ]
3
2020-02-11T23:37:25.000Z
2021-06-10T19:08:49.000Z
example/myapp/service.py
snbuback/django_services
58cbdea878bb11197add0ed1008a9206e4d92671
[ "Apache-2.0" ]
2
2015-01-14T15:43:50.000Z
2015-12-20T11:40:35.000Z
from django_services import service from .models import Brand, Model, Car class BrandService(service.CRUDService): model_class = Brand class ModelService(service.CRUDService): model_class = Model class CarService(service.CRUDService): model_class = Car
19.285714
40
0.777778
32
270
6.4375
0.4375
0.194175
0.334951
0.407767
0
0
0
0
0
0
0
0
0.155556
270
13
41
20.769231
0.903509
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
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
ca1af70095d4b0a99fa09af445d988dc46f0f8f9
280
py
Python
tests/kyu_8_tests/test_sentence_smash.py
the-zebulan/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
40
2016-03-09T12:26:20.000Z
2022-03-23T08:44:51.000Z
tests/kyu_8_tests/test_sentence_smash.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
null
null
null
tests/kyu_8_tests/test_sentence_smash.py
akalynych/CodeWars
1eafd1247d60955a5dfb63e4882e8ce86019f43a
[ "MIT" ]
36
2016-11-07T19:59:58.000Z
2022-03-31T11:18:27.000Z
import unittest from katas.kyu_8.sentence_smash import smash class SmashTestCase(unittest.TestCase): def test_equals(self): self.assertEqual(smash(['hello']), 'hello') def test_equals_2(self): self.assertEqual(smash(['hello', 'world']), 'hello world')
23.333333
66
0.696429
35
280
5.428571
0.542857
0.073684
0.136842
0.252632
0.305263
0
0
0
0
0
0
0.008547
0.164286
280
11
67
25.454545
0.803419
0
0
0
0
0
0.110714
0
0
0
0
0
0.285714
1
0.285714
false
0
0.285714
0
0.714286
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
ca3de74d0c30d072e3222656034f0e4599a8b0ee
430
py
Python
example/core/models.py
alexmavr/django-spyglass
9b9e520812dd4ee6a797c51dfec5293fde8a9e96
[ "BSD-4-Clause" ]
1
2017-12-01T05:17:14.000Z
2017-12-01T05:17:14.000Z
example/core/models.py
afein/django-spyglass
9b9e520812dd4ee6a797c51dfec5293fde8a9e96
[ "BSD-4-Clause" ]
4
2020-02-11T23:14:32.000Z
2021-06-10T18:30:57.000Z
example/core/models.py
afein/django-spyglass
9b9e520812dd4ee6a797c51dfec5293fde8a9e96
[ "BSD-4-Clause" ]
1
2017-12-01T05:16:22.000Z
2017-12-01T05:16:22.000Z
from django.db import models # The Developer's model. Spyglass will populate it with its results class NewsStory(models.Model): headline = models.CharField(max_length=200, blank=False) category = models.CharField(max_length=200, blank=False) subtitle = models.CharField(max_length=200, blank=False) def...
30.714286
67
0.734884
56
430
5.482143
0.642857
0.14658
0.175896
0.234528
0.361564
0.361564
0.361564
0
0
0
0
0.025496
0.17907
430
13
68
33.076923
0.844193
0.151163
0
0
0
0
0.030303
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0.111111
0.888889
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
ca667cdfc5c83686fe70e0f0fb6e16d3bbd8aa3f
115
py
Python
AtCoder/ABC/A/page-3/088A.py
Nishi05/Competitive-programming
e59a6755b706d9d5c1f359f4511d92c114e6a94e
[ "MIT" ]
null
null
null
AtCoder/ABC/A/page-3/088A.py
Nishi05/Competitive-programming
e59a6755b706d9d5c1f359f4511d92c114e6a94e
[ "MIT" ]
null
null
null
AtCoder/ABC/A/page-3/088A.py
Nishi05/Competitive-programming
e59a6755b706d9d5c1f359f4511d92c114e6a94e
[ "MIT" ]
null
null
null
n = int(input()) a = int(input()) if a > n or a > n % 500 or n % 500 == 0: print("Yes") else: print("No")
14.375
40
0.478261
22
115
2.5
0.545455
0.290909
0
0
0
0
0
0
0
0
0
0.08642
0.295652
115
7
41
16.428571
0.592593
0
0
0
0
0
0.043478
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
ca83bd4271156e7ba96fd3abb5b8dca36acd915d
271
py
Python
welp/api/client.py
azye/whateat
af18a94673c8e04fdf10f8222d15b67af924f9e8
[ "MIT" ]
null
null
null
welp/api/client.py
azye/whateat
af18a94673c8e04fdf10f8222d15b67af924f9e8
[ "MIT" ]
2
2021-02-10T02:14:53.000Z
2021-03-06T10:50:18.000Z
welp/api/client.py
azye/welp
af18a94673c8e04fdf10f8222d15b67af924f9e8
[ "MIT" ]
null
null
null
import requests from .google.geolocation import Geolocation from .yelp.business import BusinessSearch class Client: def __init__(self): self.session = requests.session() self.yelp = BusinessSearch(self) self.geolocation = Geolocation(self)
22.583333
44
0.723247
29
271
6.62069
0.482759
0.083333
0
0
0
0
0
0
0
0
0
0
0.199262
271
11
45
24.636364
0.884793
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.625
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
ca89ca927a9b56e3e5658df967d6aee535a442cb
901
py
Python
wgomoku/wgomoku/__init__.py
smurve/DeepGomoku
ee679e7ec9caacc9c8f2b10c3a403d3f7d2625d8
[ "Apache-2.0" ]
1
2019-06-26T13:14:50.000Z
2019-06-26T13:14:50.000Z
wgomoku/wgomoku/__init__.py
smurve/DeepGomoku
ee679e7ec9caacc9c8f2b10c3a403d3f7d2625d8
[ "Apache-2.0" ]
3
2020-03-24T17:19:14.000Z
2022-02-09T23:30:39.000Z
wgomoku/wgomoku/__init__.py
smurve/DeepGomoku
ee679e7ec9caacc9c8f2b10c3a403d3f7d2625d8
[ "Apache-2.0" ]
null
null
null
from .GomokuBoard import GomokuBoard from .HeuristicPolicy import ( HeuristicGomokuPolicy, ThreatSearch, Move, StochasticMaxSampler) from .GomokuTools import GomokuTools from .Heuristics import Heuristics from .UCT_Search import UCT_Node, PolicyAdapter, GomokuEnvironment, GomokuState, uct_search from .NH9x9 import...
50.055556
91
0.784684
94
901
7.265957
0.617021
0.026354
0
0
0
0
0
0
0
0
0
0.012
0.167592
901
18
92
50.055556
0.898667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.647059
0
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
0
1
0
1
0
1
0
0
3
ca8db261387347c6854a8fd544d0a6143a49082c
1,378
py
Python
qcloudsdkimage/2017-03-12/DescribeImagesRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkimage/2017-03-12/DescribeImagesRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
qcloudsdkimage/2017-03-12/DescribeImagesRequest.py
f3n9/qcloudcli
b965a4f0e6cdd79c1245c1d0cd2ca9c460a56f19
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from qcloudsdkcore.request import Request class DescribeImagesRequest(Request): def __init__(self): super(DescribeImagesRequest, self).__init__( 'image', 'qcloudcliV1', 'DescribeImages', 'image.api.qcloud.com') def get_Filters(self): return self.get_params...
26.5
77
0.656023
165
1,378
5.260606
0.193939
0.048387
0.112903
0.137097
0.209677
0.209677
0
0
0
0
0
0.00184
0.211176
1,378
51
78
27.019608
0.796688
0.015239
0
0
0
0
0.115129
0
0
0
0
0
0
1
0.454545
false
0
0.030303
0.212121
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ca905a5ef788b267510513519ceef9e7e1f2ac88
99
py
Python
Gallery/photos/addPhotos.py
Jaimedgp/Myself_JS
d3c8cd930ecc4e740cda934dd4064a3f98eee3a6
[ "Apache-2.0" ]
null
null
null
Gallery/photos/addPhotos.py
Jaimedgp/Myself_JS
d3c8cd930ecc4e740cda934dd4064a3f98eee3a6
[ "Apache-2.0" ]
null
null
null
Gallery/photos/addPhotos.py
Jaimedgp/Myself_JS
d3c8cd930ecc4e740cda934dd4064a3f98eee3a6
[ "Apache-2.0" ]
null
null
null
import glob import os for i in range(14, 35): f = open("DES_00%s.txt" %i, "w") f.close()
12.375
36
0.565657
20
99
2.75
0.85
0
0
0
0
0
0
0
0
0
0
0.081081
0.252525
99
7
37
14.142857
0.662162
0
0
0
0
0
0.132653
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
04906527aab3f81871add66cb97004a3441748fb
260
py
Python
modules/pipeline.py
kuhnevan/eeg-movement
6fae7f19712d8725866dbb426dddb44ba53d0d15
[ "MIT" ]
null
null
null
modules/pipeline.py
kuhnevan/eeg-movement
6fae7f19712d8725866dbb426dddb44ba53d0d15
[ "MIT" ]
null
null
null
modules/pipeline.py
kuhnevan/eeg-movement
6fae7f19712d8725866dbb426dddb44ba53d0d15
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Apr 19 16:23:08 2019 @author: PoonTyphoon """ import preprocess_and_save_files import average import sLDA # Type <filename>.<methodname> to run the method from each file sLDA.runSLDA()
12.380952
63
0.703846
39
260
4.615385
0.923077
0
0
0
0
0
0
0
0
0
0
0.064815
0.169231
260
20
64
13
0.768519
0.626923
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.75
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
04b1cdf37ba3b2ec9c9f0ce326fb68c8c20e0431
713
py
Python
week-03/99-problem-set-03/problem-01/program.py
jersson/mit-intro-cs-python
4c6232209ed47afcea2fb153ff7fc4aedbd21d52
[ "MIT" ]
null
null
null
week-03/99-problem-set-03/problem-01/program.py
jersson/mit-intro-cs-python
4c6232209ed47afcea2fb153ff7fc4aedbd21d52
[ "MIT" ]
null
null
null
week-03/99-problem-set-03/problem-01/program.py
jersson/mit-intro-cs-python
4c6232209ed47afcea2fb153ff7fc4aedbd21d52
[ "MIT" ]
null
null
null
def isWordGuessed(secretWord, lettersGuessed): ''' secretWord: string, the word the user is guessing lettersGuessed: list, what letters have been guessed so far returns: boolean, True if all the letters of secretWord are in lettersGuessed; False otherwise ''' # FILL IN YOUR CODE HERE... ...
28.52
82
0.659187
81
713
5.802469
0.592593
0.146809
0.23617
0.2
0
0
0
0
0
0
0
0
0.231417
713
25
83
28.52
0.857664
0.332398
0
0.307692
0
0
0.044643
0
0
0
0
0.04
0
1
0.076923
false
0
0
0
0.153846
0.153846
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
1
0
0
0
0
0
0
0
0
0
0
3
04b43f9d59e94964c6b51bff24e32dbfb09701c9
5,799
py
Python
aries_cloudagent/protocols/issue_credential/v2_0/messages/tests/test_cred_request.py
vitalrev/aries-cloudagent-python
7da54521eddd731a58281ae4647945a6ffba92a9
[ "Apache-2.0" ]
null
null
null
aries_cloudagent/protocols/issue_credential/v2_0/messages/tests/test_cred_request.py
vitalrev/aries-cloudagent-python
7da54521eddd731a58281ae4647945a6ffba92a9
[ "Apache-2.0" ]
null
null
null
aries_cloudagent/protocols/issue_credential/v2_0/messages/tests/test_cred_request.py
vitalrev/aries-cloudagent-python
7da54521eddd731a58281ae4647945a6ffba92a9
[ "Apache-2.0" ]
null
null
null
from asynctest import mock as async_mock, TestCase as AsyncTestCase from ......messaging.decorators.attach_decorator import AttachDecorator from .....didcomm_prefix import DIDCommPrefix from ...message_types import CRED_20_REQUEST from .. import cred_request as test_module from ..cred_format import V20CredFormat fr...
44.607692
747
0.699948
361
5,799
10.930748
0.304709
0.044602
0.022301
0.044095
0.221744
0.202737
0.19336
0.170046
0.157628
0.157628
0
0.407416
0.237282
5,799
129
748
44.953488
0.484739
0.009484
0
0.375
0
0
0.366756
0.336178
0
0
0
0
0.076923
1
0
false
0
0.067308
0
0.105769
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
04cdb376e10c2a1709747c0786cda536fa48b3f9
620
py
Python
plotting.py
wrightaprilm/plaus
ace7e008fc76f83d75e2219a2cb9ed2ddf776775
[ "MIT" ]
null
null
null
plotting.py
wrightaprilm/plaus
ace7e008fc76f83d75e2219a2cb9ed2ddf776775
[ "MIT" ]
null
null
null
plotting.py
wrightaprilm/plaus
ace7e008fc76f83d75e2219a2cb9ed2ddf776775
[ "MIT" ]
null
null
null
#Script for plotting three ways in which I looked at the empirical data import pandas as pd from ggplot import * big_df = pd.read_csv('big_df') ggplot(aes(x=big_df['NTax'],y=big_df['Best Score'], color='Rejected Default'), data=big_df) + geom_point() + stat_smooth() ggplot(aes(x=big_df['NChar'],y=big_df['Best Score'], ...
62
123
0.732258
108
620
4
0.351852
0.150463
0.092593
0.222222
0.712963
0.678241
0.678241
0.678241
0.678241
0.678241
0
0
0.096774
620
9
124
68.888889
0.771429
0.112903
0
0
0
0
0.198905
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
1
0
0
0
0
0
1
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
04d31c233672fc973bfd877f85d2fb4ff9ec7c66
363
py
Python
miner/migrations/0003_auto_20200807_1538.py
JesseBoise/tweetypy
9f1572fa79091bf56e3a130e1cfa081c05c66031
[ "MIT" ]
null
null
null
miner/migrations/0003_auto_20200807_1538.py
JesseBoise/tweetypy
9f1572fa79091bf56e3a130e1cfa081c05c66031
[ "MIT" ]
null
null
null
miner/migrations/0003_auto_20200807_1538.py
JesseBoise/tweetypy
9f1572fa79091bf56e3a130e1cfa081c05c66031
[ "MIT" ]
null
null
null
# Generated by Django 3.0.3 on 2020-08-07 13:38 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('miner', '0002_auto_20200806_2254'), ] operations = [ migrations.DeleteModel( name='Tweet', ), migrations.DeleteModel( ...
18.15
47
0.570248
36
363
5.666667
0.777778
0.205882
0.245098
0
0
0
0
0
0
0
0
0.125
0.316804
363
19
48
19.105263
0.697581
0.123967
0
0.307692
1
0
0.126582
0.072785
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
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
04fbfc78238ca68790ccfaa8926812fa24968962
101
py
Python
contests_atcoder/abc191/abc191_a.py
takelifetime/competitive-programming
e7cf8ef923ccefad39a1727ca94c610d650fcb76
[ "BSD-2-Clause" ]
null
null
null
contests_atcoder/abc191/abc191_a.py
takelifetime/competitive-programming
e7cf8ef923ccefad39a1727ca94c610d650fcb76
[ "BSD-2-Clause" ]
1
2021-01-02T06:36:51.000Z
2021-01-02T06:36:51.000Z
contests_atcoder/abc191/abc191_a.py
takelifetime/competitive-programming
e7cf8ef923ccefad39a1727ca94c610d650fcb76
[ "BSD-2-Clause" ]
null
null
null
v, t, s, d = map(int, input().split()) if v * t <= d <= v * s: print("No") else: print("Yes")
20.2
38
0.455446
19
101
2.421053
0.684211
0.086957
0
0
0
0
0
0
0
0
0
0
0.267327
101
5
39
20.2
0.621622
0
0
0
0
0
0.04902
0
0
0
0
0
0
1
0
true
0
0
0
0
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
b6ccf9440161f0e17cc4ddbf4a27460282d3943f
2,416
py
Python
ibis/wire.py
nubank/ibis
3423ab8ece7698491d491e898f739504fb3580be
[ "Apache-2.0" ]
3
2017-04-17T14:20:36.000Z
2019-06-04T19:07:19.000Z
ibis/wire.py
nubank/ibis
3423ab8ece7698491d491e898f739504fb3580be
[ "Apache-2.0" ]
1
2016-11-29T13:31:35.000Z
2016-11-29T13:31:35.000Z
ibis/wire.py
nubank/ibis
3423ab8ece7698491d491e898f739504fb3580be
[ "Apache-2.0" ]
null
null
null
# Copyright 2014 Cloudera Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, so...
20.649573
74
0.623344
334
2,416
4.416168
0.356287
0.052203
0.037966
0.040678
0.084746
0.084746
0
0
0
0
0
0.021336
0.262831
2,416
116
75
20.827586
0.80685
0.233858
0
0.051724
0
0
0.023451
0
0
0
0
0
0
1
0.327586
false
0
0.068966
0.103448
0.62069
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
b6d781484a79fec0d33105ddf86b77ef00c5d89b
83
py
Python
RandomIpGenerator.py
RahulGonal/IpCreeper
2f67fe1f14ddd847c96b7ac719fd6c3796cc1645
[ "MIT" ]
4
2021-06-23T14:46:21.000Z
2022-02-17T02:45:13.000Z
RandomIpGenerator.py
RahulGonal/IpCreeper
2f67fe1f14ddd847c96b7ac719fd6c3796cc1645
[ "MIT" ]
1
2022-01-27T11:01:30.000Z
2022-01-27T12:01:32.000Z
RandomIpGenerator.py
RahulGonal/IpCreeper
2f67fe1f14ddd847c96b7ac719fd6c3796cc1645
[ "MIT" ]
null
null
null
from faker import Faker faker = Faker() ip_addr = faker.ipv4() print(ip_addr)
20.75
25
0.698795
13
83
4.307692
0.538462
0.357143
0
0
0
0
0
0
0
0
0
0.014925
0.192771
83
4
26
20.75
0.820896
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b6edd61d8e9226adef67ead1bff46b3c34d4e88b
3,010
py
Python
pychesscom/endpoints/tournament.py
vopani/pychesscom
d6236153f12ffeff857d05de59c3c1eeafcc2a65
[ "Apache-2.0" ]
3
2021-02-16T07:15:25.000Z
2021-07-15T05:26:26.000Z
pychesscom/endpoints/tournament.py
vopani/pychesscom
d6236153f12ffeff857d05de59c3c1eeafcc2a65
[ "Apache-2.0" ]
null
null
null
pychesscom/endpoints/tournament.py
vopani/pychesscom
d6236153f12ffeff857d05de59c3c1eeafcc2a65
[ "Apache-2.0" ]
1
2021-03-09T20:03:17.000Z
2021-03-09T20:03:17.000Z
from pychesscom.clients.base_client import BaseClient from pychesscom.utils.response import Response from pychesscom.utils.route import Route class Tournament: """ Class for handling endpoints of tournament information. Args: client(BaseClient): HTTP client for API requests """ def __init...
31.354167
112
0.629568
367
3,010
5.051771
0.185286
0.032362
0.063107
0.048544
0.751888
0.751888
0.733549
0.6726
0.652643
0.625135
0
0.015186
0.278073
3,010
95
113
31.684211
0.838012
0.038206
0
0.333333
0
0
0.100334
0.079153
0
0
0
0
0
1
0.055556
false
0
0.166667
0
0.444444
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
b6ee4a2694d35bfb7ebbb28f44e4377d672f2f0a
121
py
Python
logger/instance_config_template.py
xiadz/pogoda
abb5c011c06c535a6b25dc51ddcff86753a3b4d6
[ "MIT" ]
1
2019-08-21T08:37:45.000Z
2019-08-21T08:37:45.000Z
logger/instance_config_template.py
xiadz/pogoda
abb5c011c06c535a6b25dc51ddcff86753a3b4d6
[ "MIT" ]
1
2019-06-12T16:26:59.000Z
2019-06-16T14:45:22.000Z
logger/instance_config_template.py
xiadz/pogoda
abb5c011c06c535a6b25dc51ddcff86753a3b4d6
[ "MIT" ]
null
null
null
# Name of this pack of sensors. # Example: wczasowa:ground_level: GCP_INSTANCE_NAME_PREFIX="SITE_NAME:LOCATION_IN_SITE:"
30.25
54
0.818182
19
121
4.842105
0.789474
0
0
0
0
0
0
0
0
0
0
0
0.090909
121
3
55
40.333333
0.836364
0.504132
0
0
0
0
0.473684
0.473684
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8e068368740d5e393a8d6adebbdabb437aec9d42
222
py
Python
app/utils/address_data_regex.py
BlackTurtle123/PythonTNWallet
f7baadd9153a20c52b2a0fdd8f6c3da79b9c9e08
[ "MIT" ]
null
null
null
app/utils/address_data_regex.py
BlackTurtle123/PythonTNWallet
f7baadd9153a20c52b2a0fdd8f6c3da79b9c9e08
[ "MIT" ]
1
2019-12-20T16:01:21.000Z
2020-01-04T23:06:41.000Z
app/utils/address_data_regex.py
BlackTurtle123/PythonTNWallet
f7baadd9153a20c52b2a0fdd8f6c3da79b9c9e08
[ "MIT" ]
6
2019-08-02T18:40:04.000Z
2019-11-28T19:39:22.000Z
import requests from app.network_settings import get_pywaves def address_data_regex(addr, regex): r = requests.get(get_pywaves().NODE + "/addresses/data/" + addr + "?matches=" + regex) return r.content.decode()
24.666667
90
0.720721
30
222
5.166667
0.666667
0.129032
0
0
0
0
0
0
0
0
0
0
0.148649
222
8
91
27.75
0.820106
0
0
0
0
0
0.112613
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
8e238f5454be4d8a98f00638bc8aec3070410ef0
2,596
py
Python
tests/test_network.py
adithyabsk/cryptos
29c2dc15cfe7d0eb80f4a8680b1fff32f1bc167b
[ "MIT" ]
822
2021-04-25T01:04:50.000Z
2022-03-31T08:25:41.000Z
tests/test_network.py
adithyabsk/cryptos
29c2dc15cfe7d0eb80f4a8680b1fff32f1bc167b
[ "MIT" ]
2
2021-05-16T09:35:57.000Z
2021-08-30T16:39:59.000Z
tests/test_network.py
adithyabsk/cryptos
29c2dc15cfe7d0eb80f4a8680b1fff32f1bc167b
[ "MIT" ]
114
2021-04-25T05:48:49.000Z
2022-03-29T23:41:49.000Z
""" Test node network protocol comms handling classes / utils """ from io import BytesIO from cryptos.network import NetworkEnvelope from cryptos.network import ( VersionMessage, GetHeadersMessage, HeadersMessage, ) from cryptos.network import SimpleNode from cryptos.block import Block def test_encode_dec...
40.5625
342
0.800847
183
2,596
11.251366
0.371585
0.040797
0.026226
0.034968
0.074794
0.074794
0.074794
0.074794
0.074794
0.074794
0
0.379249
0.127504
2,596
63
343
41.206349
0.529801
0.021957
0
0.122449
0
0
0.446069
0.434611
0
0
0
0
0.204082
1
0.102041
false
0
0.102041
0
0.204082
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8e507db533e862abdc84d5b556e8c9532bb7b7c1
255
py
Python
manticore/core/smtlib/__init__.py
Srinivas11789/manticore
af3c6aada811833864efaccef7477f14e9b5e0dd
[ "Apache-2.0" ]
null
null
null
manticore/core/smtlib/__init__.py
Srinivas11789/manticore
af3c6aada811833864efaccef7477f14e9b5e0dd
[ "Apache-2.0" ]
null
null
null
manticore/core/smtlib/__init__.py
Srinivas11789/manticore
af3c6aada811833864efaccef7477f14e9b5e0dd
[ "Apache-2.0" ]
null
null
null
from .expression import Expression, Bool, BitVec, Array, BitVecConstant # noqa from .constraints import ConstraintSet # noqa from .solver import * # noqa from . import operators as Operators # noqa import logging logger = logging.getLogger(__name__)
31.875
79
0.776471
30
255
6.466667
0.566667
0.123711
0
0
0
0
0
0
0
0
0
0
0.156863
255
7
80
36.428571
0.902326
0.07451
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.833333
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
f3de17d1fbfc355e0cdce405c29918681f41f53a
2,397
py
Python
prettyqt/widgets/listwidgetitem.py
phil65/PrettyQt
26327670c46caa039c9bd15cb17a35ef5ad72e6c
[ "MIT" ]
7
2019-05-01T01:34:36.000Z
2022-03-08T02:24:14.000Z
prettyqt/widgets/listwidgetitem.py
phil65/PrettyQt
26327670c46caa039c9bd15cb17a35ef5ad72e6c
[ "MIT" ]
141
2019-04-16T11:22:01.000Z
2021-04-14T15:12:36.000Z
prettyqt/widgets/listwidgetitem.py
phil65/PrettyQt
26327670c46caa039c9bd15cb17a35ef5ad72e6c
[ "MIT" ]
5
2019-04-17T11:48:19.000Z
2021-11-21T10:30:19.000Z
from __future__ import annotations from prettyqt import constants, core, gui, iconprovider from prettyqt.qt import QtWidgets from prettyqt.utils import InvalidParamError, types class ListWidgetItem(QtWidgets.QListWidgetItem): def __repr__(self): return f"{type(self).__name__}({self.icon()}, {self.text()!...
26.633333
71
0.613267
267
2,397
5.265918
0.329588
0.034139
0.01707
0.02845
0.042674
0.042674
0.042674
0
0
0
0
0.002304
0.275761
2,397
89
72
26.932584
0.807604
0.097622
0
0
0
0
0.031615
0.01751
0
0
0
0
0
1
0.288462
false
0
0.076923
0.153846
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
0
1
1
0
0
3
f3f03c3e0f8882eb3d65ed997d3aa6c64bebed25
24
py
Python
src/python/__init__.py
unterweg/peanoclaw
2d8b45727e3b26d824f8afc6a8772736176083af
[ "BSD-3-Clause" ]
1
2015-07-14T10:05:52.000Z
2015-07-14T10:05:52.000Z
src/python/__init__.py
unterweg/peanoclaw
2d8b45727e3b26d824f8afc6a8772736176083af
[ "BSD-3-Clause" ]
null
null
null
src/python/__init__.py
unterweg/peanoclaw
2d8b45727e3b26d824f8afc6a8772736176083af
[ "BSD-3-Clause" ]
1
2019-12-03T15:58:53.000Z
2019-12-03T15:58:53.000Z
__all__ = ['peanoclaw']
12
23
0.666667
2
24
6
1
0
0
0
0
0
0
0
0
0
0
0
0.125
24
1
24
24
0.571429
0
0
0
0
0
0.375
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
f3fe9bf2b3e19e04cd1041dfcfac6eb6c2b2d16e
99
py
Python
Euler solutions/prob6.py
programmingthomas/Little-Apps
9f4c36362ed624df29ebce057c32d1c3fe06c7f3
[ "Apache-2.0" ]
null
null
null
Euler solutions/prob6.py
programmingthomas/Little-Apps
9f4c36362ed624df29ebce057c32d1c3fe06c7f3
[ "Apache-2.0" ]
null
null
null
Euler solutions/prob6.py
programmingthomas/Little-Apps
9f4c36362ed624df29ebce057c32d1c3fe06c7f3
[ "Apache-2.0" ]
1
2020-06-20T13:31:23.000Z
2020-06-20T13:31:23.000Z
one = 0 two = 0 for i in range(1, 101): one += i*i two += i two *= two print str(two - one)
14.142857
24
0.525253
21
99
2.47619
0.52381
0.153846
0
0
0
0
0
0
0
0
0
0.088235
0.313131
99
7
25
14.142857
0.676471
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.142857
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
6d0ab42ce129d9e5c64283c9e902366df1f39463
3,489
py
Python
ConstantsProperties/databaseCredentials.py
prodProject/WorkkerAndConsumerServer
95496f026109279c9891e08af46040c7b9487c81
[ "MIT" ]
null
null
null
ConstantsProperties/databaseCredentials.py
prodProject/WorkkerAndConsumerServer
95496f026109279c9891e08af46040c7b9487c81
[ "MIT" ]
null
null
null
ConstantsProperties/databaseCredentials.py
prodProject/WorkkerAndConsumerServer
95496f026109279c9891e08af46040c7b9487c81
[ "MIT" ]
null
null
null
from Enums.serverTypeEnum import ServerTypeEnvironmentEnum class ServerTypeEnvironment(): environment = ServerTypeEnvironmentEnum.UNKNOWN_ENV HOST = ""; DATABASE_NAME = ""; USER = ""; PORT = ""; PASSWORD = ""; URL = ""; def setEnvironment(self, environmentType): self.environme...
45.907895
179
0.683864
297
3,489
7.993266
0.255892
0.033698
0.071609
0.084246
0.305392
0.176917
0.176917
0.143218
0.143218
0
0
0.213471
0.221267
3,489
75
180
46.52
0.660287
0
0
0.153846
0
0.076923
0.416452
0.37088
0
0
0
0
0
1
0.123077
false
0.123077
0.015385
0.107692
0.446154
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
0
0
0
3
6d33298eebbff0c0ba18d2038af8d90b5f93f83b
1,769
py
Python
auto_nag/scripts/workflow/p2_merge_day.py
Mozilla-GitHub-Standards/f9c78643f5862cda82001d4471255ac29ef0c6b2c6171e2c1cbecab3d2fef4dd
28d999fcba9ad47d1dd0b2222880b71726ddd47c
[ "BSD-3-Clause" ]
null
null
null
auto_nag/scripts/workflow/p2_merge_day.py
Mozilla-GitHub-Standards/f9c78643f5862cda82001d4471255ac29ef0c6b2c6171e2c1cbecab3d2fef4dd
28d999fcba9ad47d1dd0b2222880b71726ddd47c
[ "BSD-3-Clause" ]
null
null
null
auto_nag/scripts/workflow/p2_merge_day.py
Mozilla-GitHub-Standards/f9c78643f5862cda82001d4471255ac29ef0c6b2c6171e2c1cbecab3d2fef4dd
28d999fcba9ad47d1dd0b2222880b71726ddd47c
[ "BSD-3-Clause" ]
null
null
null
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. from libmozdata import release_calendar as rc from auto_nag.bzcleaner import BzCleaner from auto_nag import utils clas...
26.402985
199
0.594686
225
1,769
4.524444
0.515556
0.078585
0.032417
0.02554
0.05501
0.05501
0
0
0
0
0
0.013677
0.297343
1,769
66
200
26.80303
0.80531
0.108536
0
0.065217
0
0.021739
0.259377
0.029879
0
0
0
0
0
1
0.23913
false
0
0.065217
0.173913
0.565217
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
6d3528a0ec46fb29a6a4dd28beff53588676d5ae
381
py
Python
remo/views.py
onsendev/python_iot_workshop
db9f1c55b10cd6a10c90b7a3e73f373a0026080d
[ "MIT" ]
null
null
null
remo/views.py
onsendev/python_iot_workshop
db9f1c55b10cd6a10c90b7a3e73f373a0026080d
[ "MIT" ]
null
null
null
remo/views.py
onsendev/python_iot_workshop
db9f1c55b10cd6a10c90b7a3e73f373a0026080d
[ "MIT" ]
null
null
null
from django.shortcuts import render, redirect from django.views.decorators.http import require_POST, require_GET from remo.modules.api import NatureRemoApi from remo.modules.wbgt import Wbgt from .models import SensorValue # /remo/dashboard @require_GET def dashboard(request): pass # /remo/invoke/<str:action_na...
21.166667
66
0.7979
53
381
5.622642
0.509434
0.067114
0.100671
0
0
0
0
0
0
0
0
0
0.12336
381
17
67
22.411765
0.892216
0.120735
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.181818
false
0.181818
0.454545
0
0.636364
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
6d5d862ea5bbc8cf658d84cf3c03e495b135e308
332
py
Python
backend/saas_framework/tags/views.py
snarayanank2/django-workspaces
46ef92a4caa95eee617a24ead284e533422afca0
[ "MIT" ]
1
2021-01-27T17:51:58.000Z
2021-01-27T17:51:58.000Z
backend/saas_framework/tags/views.py
snarayanank2/django-workspaces
46ef92a4caa95eee617a24ead284e533422afca0
[ "MIT" ]
6
2021-03-30T13:51:35.000Z
2022-03-02T09:24:07.000Z
backend/saas_framework/tags/views.py
snarayanank2/django-workspaces
46ef92a4caa95eee617a24ead284e533422afca0
[ "MIT" ]
1
2022-03-18T08:43:17.000Z
2022-03-18T08:43:17.000Z
import logging from rest_framework import viewsets from saas_framework.tags.models import Tag from saas_framework.tags.serializers import TagSerializer logger = logging.getLogger(__name__) class TagViewSet(viewsets.ModelViewSet): queryset = Tag.objects.all() serializer_class = TagSerializer ordering = '...
23.714286
57
0.804217
39
332
6.615385
0.641026
0.062016
0.131783
0.162791
0
0
0
0
0
0
0
0
0.13253
332
13
58
25.538462
0.895833
0
0
0
0
0
0.03012
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.888889
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
6d5fd0929e1d0839505c7e8751baf8caea06c6a3
1,133
py
Python
pmca/apk/__init__.py
kratz00/Sony-PMCA-RE
d646defa2b4755b4006e3def648272b0e22569cd
[ "MIT" ]
1
2020-10-25T06:58:18.000Z
2020-10-25T06:58:18.000Z
pmca/apk/__init__.py
kratz00/Sony-PMCA-RE
d646defa2b4755b4006e3def648272b0e22569cd
[ "MIT" ]
null
null
null
pmca/apk/__init__.py
kratz00/Sony-PMCA-RE
d646defa2b4755b4006e3def648272b0e22569cd
[ "MIT" ]
null
null
null
from apkutils.axml.axmlparser import AXML from asn1crypto.cms import ContentInfo from zipfile import ZipFile class ApkParser: def __init__(self, file): self._file = ZipFile(file) def getManifest(self): return AXML(self._file.read('AndroidManifest.xml')).get_xml_obj() def getPackageName(self): return self.ge...
32.371429
122
0.757282
136
1,133
6.220588
0.485294
0.047281
0.141844
0.148936
0.255319
0.224586
0
0
0
0
0
0.003956
0.107679
1,133
34
123
33.323529
0.832839
0
0
0
0
0
0.130627
0.018535
0
0
0
0
0
1
0.307692
false
0
0.115385
0.192308
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
0
0
1
1
0
0
3
ed99bdc0f38428762e5f529b95f169e9b52cc334
659
py
Python
error.py
Mercerenies/luckbot
201f104b7f7b4e5b79289abf68cf7e2fd544447b
[ "MIT" ]
null
null
null
error.py
Mercerenies/luckbot
201f104b7f7b4e5b79289abf68cf7e2fd544447b
[ "MIT" ]
null
null
null
error.py
Mercerenies/luckbot
201f104b7f7b4e5b79289abf68cf7e2fd544447b
[ "MIT" ]
null
null
null
from discord.ext import commands class UnmanagedRole(commands.BadArgument): pass class PermissionsException(Exception): pass class InputsTooLarge(Exception): pass class TooManyMembers(Exception): pass class BadFaceArgument(commands.BadArgument): argument: str def __init__(self, argument: ...
19.969697
49
0.717754
67
659
6.880597
0.328358
0.143167
0.117137
0.195228
0.516269
0.516269
0.516269
0.516269
0.516269
0.516269
0
0
0.197269
659
32
50
20.59375
0.871456
0
0
0.619048
0
0
0
0
0
0
0
0
0
1
0.142857
false
0.190476
0.047619
0
0.666667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
eda392983c972d4f2756ac6503a90f225fc2986c
158
py
Python
diseaseapi/__init__.py
apex2504/python-corona-api
f7a2537f5c7e04995274a99a733d6f9454be9535
[ "MIT" ]
4
2020-03-27T01:30:27.000Z
2020-05-25T19:50:07.000Z
diseaseapi/__init__.py
apex2504/disease.py
f7a2537f5c7e04995274a99a733d6f9454be9535
[ "MIT" ]
1
2021-03-28T08:52:50.000Z
2021-03-28T11:27:28.000Z
diseaseapi/__init__.py
apex2504/disease.py
f7a2537f5c7e04995274a99a733d6f9454be9535
[ "MIT" ]
4
2020-03-19T21:29:59.000Z
2020-06-15T17:17:47.000Z
from .client import Client from .utils import * from .exceptions import * __version__ = "1.2.0" __author__ = "Rob Wainwright // apex2504" __license__ = "MIT"
22.571429
41
0.734177
20
158
5.2
0.75
0
0
0
0
0
0
0
0
0
0
0.052239
0.151899
158
7
42
22.571429
0.723881
0
0
0
0
0
0.213836
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
edacf6b912ba71bc8c49f21f5f9278c8c4b60597
339
py
Python
modules/onode/vm/__init__.py
opennode/opennode-tui
1f92da5690a42ad71b1030c72db4b5a1158ab052
[ "Apache-1.1" ]
4
2015-05-21T20:21:26.000Z
2020-12-18T06:50:06.000Z
modules/onode/vm/__init__.py
opennode/opennode-tui
1f92da5690a42ad71b1030c72db4b5a1158ab052
[ "Apache-1.1" ]
null
null
null
modules/onode/vm/__init__.py
opennode/opennode-tui
1f92da5690a42ad71b1030c72db4b5a1158ab052
[ "Apache-1.1" ]
1
2016-02-08T00:43:44.000Z
2016-02-08T00:43:44.000Z
from __future__ import absolute_import from func.minion.modules import func_module from func.minion.modules.onode.common import delegate_methods class VM(func_module.FuncModule): version = "0.0.1" api_version = "0.0.1" description = "opennode vm module" from opennode.cli.actions import vm as mod delegat...
24.214286
61
0.772861
51
339
4.941176
0.490196
0.063492
0.111111
0.166667
0
0
0
0
0
0
0
0.02069
0.144543
339
13
62
26.076923
0.848276
0
0
0
0
0
0.082596
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.888889
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
edb1b895d4216ea3f6ca49253aa35bb82d17b713
155
py
Python
authors/apps/article_tags/urls.py
KabohaJeanMark/ah-backend-invictus
a9cf930934e8cbcb4ee370a088df57abe50ee6d6
[ "BSD-3-Clause" ]
7
2021-03-04T09:29:13.000Z
2021-03-17T17:35:42.000Z
authors/apps/article_tags/urls.py
KabohaJeanMark/ah-backend-invictus
a9cf930934e8cbcb4ee370a088df57abe50ee6d6
[ "BSD-3-Clause" ]
25
2019-04-23T18:51:02.000Z
2021-06-10T21:22:47.000Z
authors/apps/article_tags/urls.py
KabohaJeanMark/ah-backend-invictus
a9cf930934e8cbcb4ee370a088df57abe50ee6d6
[ "BSD-3-Clause" ]
7
2019-06-29T10:40:38.000Z
2019-09-23T09:05:45.000Z
from django.urls import path from .views import ArticleTagView urlpatterns = [ path('tags/', ArticleTagView.as_view({'get': 'list'}), name="tags") ]
19.375
71
0.696774
19
155
5.631579
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.141935
155
7
72
22.142857
0.804511
0
0
0
0
0
0.103226
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
edb86d5d33267da13b6306b57af2156553cfcf1b
138
py
Python
bias/enable_diag.py
marcinguy/bias
3d9324f8e8317b3cf9e77400bd0783d8fc9e93ec
[ "MIT" ]
78
2020-05-18T21:49:10.000Z
2022-02-26T20:03:39.000Z
bias/enable_diag.py
marcinguy/bias
3d9324f8e8317b3cf9e77400bd0783d8fc9e93ec
[ "MIT" ]
15
2020-05-25T12:30:26.000Z
2022-01-11T08:56:00.000Z
bias/enable_diag.py
marcinguy/bias
3d9324f8e8317b3cf9e77400bd0783d8fc9e93ec
[ "MIT" ]
18
2020-05-19T11:09:27.000Z
2021-12-21T14:39:45.000Z
import socket s = socket.socket(socket.AF_BLUETOOTH, socket.SOCK_RAW, socket.BTPROTO_HCI) s.bind((0,)) s.send(b"\x07\xf0\x01") s.close()
19.714286
75
0.731884
25
138
3.92
0.68
0.244898
0
0
0
0
0
0
0
0
0
0.047244
0.07971
138
6
76
23
0.724409
0
0
0
0
0
0.086957
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
edc8224d4e516ca79a5f6fbb7c084a250022c302
14,250
py
Python
train_eval.py
zpyzl/adversarial
2a0376e5691c00ff39f5dd3fb496e544c39cb0e8
[ "MIT" ]
null
null
null
train_eval.py
zpyzl/adversarial
2a0376e5691c00ff39f5dd3fb496e544c39cb0e8
[ "MIT" ]
null
null
null
train_eval.py
zpyzl/adversarial
2a0376e5691c00ff39f5dd3fb496e544c39cb0e8
[ "MIT" ]
null
null
null
# coding: UTF-8 import numpy as np import torch import torch.nn as nn import torch.nn.functional as F from sklearn import metrics import time from utils import get_time_dif from tensorboardX import SummaryWriter from PGD import PGD from utils import clamp, add_perturbed_labels # 权重初始化,默认xavier def init_network(model, ...
44.392523
140
0.570947
1,703
14,250
4.582501
0.124486
0.051256
0.030753
0.029216
0.744234
0.727319
0.708098
0.675807
0.671963
0.671963
0
0.016932
0.312
14,250
321
141
44.392523
0.77907
0.084842
0
0.672794
0
0.014706
0.083353
0
0
0
0
0
0
1
0.025735
false
0.003676
0.036765
0
0.069853
0.066176
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
6119663c512eca5dd66be88b7d5f2606e3ab1bca
215
py
Python
packages/services/src/controllers/work.py
epsxy/starter-webapp
b0ffbffab4aca567fa581af219a27d4d684aab2f
[ "MIT" ]
null
null
null
packages/services/src/controllers/work.py
epsxy/starter-webapp
b0ffbffab4aca567fa581af219a27d4d684aab2f
[ "MIT" ]
19
2019-10-02T00:19:40.000Z
2022-01-22T09:24:08.000Z
packages/services/src/controllers/work.py
epsxy/starter-webapp
b0ffbffab4aca567fa581af219a27d4d684aab2f
[ "MIT" ]
2
2019-10-02T00:20:42.000Z
2019-10-02T02:04:53.000Z
from flask import Blueprint, make_response from src.worker.worker import Worker work_api = Blueprint('work_api', __name__) @work_api.route('') def works(): worker = Worker('work', 10) return worker.work()
21.5
42
0.725581
30
215
4.933333
0.533333
0.202703
0
0
0
0
0
0
0
0
0
0.010929
0.148837
215
9
43
23.888889
0.797814
0
0
0
0
0
0.055814
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0.285714
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b61a96c7d0eab4ae0edf9070339f19e4b76b628a
1,744
py
Python
pylibui/libui/spinbox.py
superzazu/pylibui
2e74db787bfea533f3ae465670963daedcaec344
[ "MIT" ]
222
2016-05-20T19:12:05.000Z
2022-03-09T14:59:48.000Z
pylibui/libui/spinbox.py
superzazu/pylibui
2e74db787bfea533f3ae465670963daedcaec344
[ "MIT" ]
66
2016-05-29T00:11:53.000Z
2018-10-14T20:01:38.000Z
pylibui/libui/spinbox.py
superzazu/pylibui
2e74db787bfea533f3ae465670963daedcaec344
[ "MIT" ]
32
2016-06-03T07:08:29.000Z
2021-05-12T07:41:41.000Z
""" Python wrapper for libui. """ import ctypes from . import clibui class uiSpinbox(ctypes.Structure): """Wrapper for the uiSpinbox C struct.""" pass def uiSpinboxPointer(obj): """ Casts an object to uiSpinbox pointer type. :param obj: a generic object :return: uiSpinbox """ r...
20.517647
91
0.677752
203
1,744
5.753695
0.285714
0.034247
0.056507
0.02226
0.118151
0.070205
0.070205
0.070205
0
0
0
0
0.21789
1,744
84
92
20.761905
0.856305
0.461583
0
0
0
0
0
0
0
0
0
0
0
1
0.263158
false
0.052632
0.105263
0
0.631579
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
b62decc45d134d6b1d3e0b10b32451742364529d
773
py
Python
utils/redis_client.py
death-finger/get2unix
1ff6f729f076040d6493251471cc0ee9cdcdc661
[ "MIT" ]
null
null
null
utils/redis_client.py
death-finger/get2unix
1ff6f729f076040d6493251471cc0ee9cdcdc661
[ "MIT" ]
null
null
null
utils/redis_client.py
death-finger/get2unix
1ff6f729f076040d6493251471cc0ee9cdcdc661
[ "MIT" ]
null
null
null
from django.core.cache import cache from get2unix.settings import CACHES, config import redis def get_cache(key): return cache.get(key) def write_cache(key, data, timeout=CACHES['default']['TIMEOUT']): try: cache.set(key, data, int(timeout)) return '' except Exception as e: retur...
25.766667
96
0.615783
106
773
4.433962
0.349057
0.042553
0.119149
0.07234
0.076596
0
0
0
0
0
0
0.001701
0.239327
773
30
97
25.766667
0.797619
0
0
0
0
0
0.073643
0
0
0
0
0
0
1
0.285714
false
0.047619
0.142857
0.190476
0.761905
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
b63ddcd54fa4adac54532cd1020df72dd0784601
122
py
Python
website/__init__.py
boogiedev/flask_rest_api
2863142289075c10a31abbc27f079060c03eaf4e
[ "MIT" ]
null
null
null
website/__init__.py
boogiedev/flask_rest_api
2863142289075c10a31abbc27f079060c03eaf4e
[ "MIT" ]
null
null
null
website/__init__.py
boogiedev/flask_rest_api
2863142289075c10a31abbc27f079060c03eaf4e
[ "MIT" ]
null
null
null
from flask import Flask def create_app(): app = Flask(__name__) app.config['SECRET_KEY'] = 'key' return app
15.25
36
0.655738
17
122
4.352941
0.647059
0
0
0
0
0
0
0
0
0
0
0
0.229508
122
7
37
17.428571
0.787234
0
0
0
0
0
0.106557
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b649d1bfc255b6dea93556412d71a4490af83004
19
py
Python
tests/__init__.py
j7nn7k/designernews_api
441d3863970bba439716c2d5de9a64b6f3445410
[ "MIT" ]
null
null
null
tests/__init__.py
j7nn7k/designernews_api
441d3863970bba439716c2d5de9a64b6f3445410
[ "MIT" ]
null
null
null
tests/__init__.py
j7nn7k/designernews_api
441d3863970bba439716c2d5de9a64b6f3445410
[ "MIT" ]
null
null
null
__author__ = 'jnk'
9.5
18
0.684211
2
19
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.157895
19
1
19
19
0.5625
0
0
0
0
0
0.157895
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
b65a6ecf5756650c6b80249f87a9915d7bd4f4e7
445
py
Python
src/sima/riflex/aerodynamicforcetype.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/riflex/aerodynamicforcetype.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/riflex/aerodynamicforcetype.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
# Generated with AerodynamicForceType # from enum import Enum from enum import auto class AerodynamicForceType(Enum): """""" NONE = auto() AIRFOIL = auto() MORISON = auto() def label(self): if self == AerodynamicForceType.NONE: return "None" if self == AerodynamicForce...
24.722222
48
0.620225
42
445
6.571429
0.404762
0.065217
0.282609
0
0
0
0
0
0
0
0
0
0.28764
445
18
49
24.722222
0.870662
0.078652
0
0
1
0
0.057357
0
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.769231
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b65b8ed4e26d20b945c07df4631a7a7c5a8b3c96
402
py
Python
deepclustering/postprocessing/utils.py
jizongFox/deep-clustering-toolbox
0721cbbb278af027409ed4c115ccc743b6daed1b
[ "MIT" ]
34
2019-08-05T03:48:36.000Z
2022-03-29T03:04:51.000Z
deepclustering/postprocessing/utils.py
jizongFox/deep-clustering-toolbox
0721cbbb278af027409ed4c115ccc743b6daed1b
[ "MIT" ]
10
2019-05-03T21:02:50.000Z
2021-12-23T08:01:30.000Z
deepclustering/postprocessing/utils.py
ETS-Research-Repositories/deep-clustering-toolbox
0721cbbb278af027409ed4c115ccc743b6daed1b
[ "MIT" ]
5
2019-09-29T07:56:03.000Z
2021-04-22T12:08:50.000Z
from scipy.signal import butter, lfilter def _butter_lowpass(cutoff, fs, order=5): nyq = 0.5 * fs normal_cutoff = cutoff / nyq b, a = butter(order, normal_cutoff, btype="low", analog=False) return b, a def butter_lowpass_filter(data, cutoff, fs, order=5): b, a = _butter_lowpass(cutoff, fs, order...
21.157895
66
0.661692
63
402
4.095238
0.428571
0.031008
0.151163
0.162791
0.20155
0
0
0
0
0
0
0.01278
0.221393
402
18
67
22.333333
0.811502
0
0
0
0
0
0.007463
0
0
0
0
0
0
1
0.25
false
0.25
0.083333
0.083333
0.583333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
b6794084aaa731b5a0ec523a24ca70213d9591e8
438
py
Python
accounts/migrations/0003_auto_20200316_1208.py
Soumya-Dey/Customer-maintaining-software
51c8f174ba559634b5ac96c44477bcbe6472b8ac
[ "MIT" ]
null
null
null
accounts/migrations/0003_auto_20200316_1208.py
Soumya-Dey/Customer-maintaining-software
51c8f174ba559634b5ac96c44477bcbe6472b8ac
[ "MIT" ]
null
null
null
accounts/migrations/0003_auto_20200316_1208.py
Soumya-Dey/Customer-maintaining-software
51c8f174ba559634b5ac96c44477bcbe6472b8ac
[ "MIT" ]
null
null
null
# Generated by Django 3.0.4 on 2020-03-16 06:38 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('accounts', '0002_auto_20200316_1204'), ] operations = [ migrations.RenameModel( old_name='Orders', new_name='Order', ...
19.909091
48
0.56621
44
438
5.477273
0.75
0.174274
0.19917
0.232365
0
0
0
0
0
0
0
0.104377
0.321918
438
21
49
20.857143
0.707071
0.10274
0
0.266667
1
0
0.14578
0.058824
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
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
b6817049b4260a33bf6e70512e52028ba4917b2e
569
py
Python
tests/test_sgap.py
shawwn/sgap
c2b9d3d6830f83b6f12899412575bef3c4a65e15
[ "MIT" ]
null
null
null
tests/test_sgap.py
shawwn/sgap
c2b9d3d6830f83b6f12899412575bef3c4a65e15
[ "MIT" ]
null
null
null
tests/test_sgap.py
shawwn/sgap
c2b9d3d6830f83b6f12899412575bef3c4a65e15
[ "MIT" ]
null
null
null
import pytest import subprocess import tempfile import os from pathlib import Path import sgap.system import sgap.git def test_system(): assert sgap.system.run("echo", "hi") == "hi" assert sgap.system.run("cat", stdin="hi") == "hi" with pytest.raises(subprocess.CalledProcessError): sgap.system.ru...
25.863636
82
0.6942
81
569
4.814815
0.518519
0.102564
0.1
0.097436
0
0
0
0
0
0
0
0.004175
0.158172
569
21
83
27.095238
0.810021
0
0
0
0
0
0.047452
0
0
0
0
0
0.25
1
0.125
true
0
0.4375
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
b682d39eb3c52f4861f2e6045e67fc2f98fcf8e9
150
py
Python
solutions/2019/prob_05.py
PolPtoAmo/HPCodeWarsBCN
8a98b1feb6d8b7d2d5b8b4dace3e02af9e6bb4e8
[ "MIT" ]
1
2021-02-27T09:46:06.000Z
2021-02-27T09:46:06.000Z
solutions/2019/prob_05.py
PolPtoAmo/HPCodeWarsBCN
8a98b1feb6d8b7d2d5b8b4dace3e02af9e6bb4e8
[ "MIT" ]
null
null
null
solutions/2019/prob_05.py
PolPtoAmo/HPCodeWarsBCN
8a98b1feb6d8b7d2d5b8b4dace3e02af9e6bb4e8
[ "MIT" ]
1
2021-02-27T12:03:33.000Z
2021-02-27T12:03:33.000Z
number_stars = int(input()) stars = '' if number_stars > 0: for i in range(number_stars): stars += '*' else: stars = '-' print(stars)
16.666667
33
0.58
20
150
4.2
0.6
0.392857
0
0
0
0
0
0
0
0
0
0.008929
0.253333
150
8
34
18.75
0.741071
0
0
0
0
0
0.013333
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
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
b68584bff7c871552db108f8890c266e2a031227
224
py
Python
django_deployer/paas_templates/dotcloud/mkadmin.py
BarracudaPff/code-golf-data-pythpn
42e8858c2ebc6a061012bcadb167d29cebb85c5e
[ "MIT" ]
null
null
null
django_deployer/paas_templates/dotcloud/mkadmin.py
BarracudaPff/code-golf-data-pythpn
42e8858c2ebc6a061012bcadb167d29cebb85c5e
[ "MIT" ]
null
null
null
django_deployer/paas_templates/dotcloud/mkadmin.py
BarracudaPff/code-golf-data-pythpn
42e8858c2ebc6a061012bcadb167d29cebb85c5e
[ "MIT" ]
null
null
null
from wsgi import * from django.contrib.auth.models import User u, created = User.objects.get_or_create(username="admin") if created: u.set_password("{{ admin_password }}") u.is_superuser = True u.is_staff = True u.save()
28
57
0.745536
36
224
4.472222
0.666667
0.037267
0
0
0
0
0
0
0
0
0
0
0.120536
224
8
58
28
0.817259
0
0
0
0
0
0.111111
0
0
0
0
0
0
1
0
true
0.125
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
b68a7781ad75a36d9b4d1ced13ae629fab48b954
161
py
Python
pongpy/models/pos.py
TatchNicolas/pong
8e87af102115e43d9b1a0c40ba84d27a82dc73bd
[ "MIT" ]
3
2019-03-20T08:18:20.000Z
2019-03-21T02:23:51.000Z
pongpy/models/pos.py
TatchNicolas/pong
8e87af102115e43d9b1a0c40ba84d27a82dc73bd
[ "MIT" ]
1
2019-09-14T10:36:51.000Z
2019-09-14T10:36:51.000Z
pongpy/models/pos.py
TatchNicolas/pong
8e87af102115e43d9b1a0c40ba84d27a82dc73bd
[ "MIT" ]
1
2019-09-14T07:59:47.000Z
2019-09-14T07:59:47.000Z
from typing import NamedTuple class Pos(NamedTuple): """ フィールド内の相対座標 左上が (0, 0) 。 下に行くほど y が、右に行くほど x が増加する。 """ x: float y: float
13.416667
30
0.571429
21
161
4.380952
0.761905
0
0
0
0
0
0
0
0
0
0
0.018349
0.322981
161
11
31
14.636364
0.825688
0.31677
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
b69656e2c7ed0fad5a1a75abf1bf18c2b01cb57c
307
py
Python
src/cs106b/python/backtracking/print_all_dice_rolls.py
scottwedge/coding-refresher
7141f7f262272b93dee0467be1abf7658a3e4fb6
[ "MIT" ]
1
2020-02-10T11:34:03.000Z
2020-02-10T11:34:03.000Z
src/cs106b/python/backtracking/print_all_dice_rolls.py
scottwedge/coding-refresher
7141f7f262272b93dee0467be1abf7658a3e4fb6
[ "MIT" ]
1
2020-01-10T22:20:20.000Z
2020-01-11T02:52:32.000Z
src/cs106b/python/backtracking/print_all_dice_rolls.py
scottwedge/coding-refresher
7141f7f262272b93dee0467be1abf7658a3e4fb6
[ "MIT" ]
1
2020-01-10T22:23:56.000Z
2020-01-10T22:23:56.000Z
# here the assumption is the user will give "n" # the function has to print all dice rolls possible for "n" dices def print_all_dice_rolls(n): helper(n, "") def helper(n, s): if n == 0: print(s) else: for i in range(1,7): helper(n - 1, s + str(i)) print_all_dice_rolls(3)
21.928571
66
0.612378
56
307
3.25
0.553571
0.131868
0.197802
0.28022
0
0
0
0
0
0
0
0.022222
0.267101
307
14
67
21.928571
0.786667
0.355049
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.222222
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
1
0
0
0
0
0
0
0
3