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
b3d1410c102d86dcd528878dc5ec08f14599261e
185
py
Python
books/tech/py/m_lutz-learning_py-5_ed/code/part_2-types_and_operations/ch_04-introducing_to_python_object_types/05_strings_getting_help/main.py
ordinary-developer/education
1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58
[ "MIT" ]
null
null
null
books/tech/py/m_lutz-learning_py-5_ed/code/part_2-types_and_operations/ch_04-introducing_to_python_object_types/05_strings_getting_help/main.py
ordinary-developer/education
1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58
[ "MIT" ]
null
null
null
books/tech/py/m_lutz-learning_py-5_ed/code/part_2-types_and_operations/ch_04-introducing_to_python_object_types/05_strings_getting_help/main.py
ordinary-developer/education
1b1f40dacab873b28ee01dfa33a9bd3ec4cfed58
[ "MIT" ]
null
null
null
if __name__ == '__main__': s = 'spam' print(dir(s)) print(dir(str)) print(s + 'ni!') print(s.__add__('ni!')) print(help(s.replace)) print(help(str.replace))
20.555556
28
0.551351
26
185
3.461538
0.461538
0.177778
0
0
0
0
0
0
0
0
0
0
0.232432
185
8
29
23.125
0.633803
0
0
0
0
0
0.097297
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
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
b3d4035dfd69ba48f9e313c08ff91dd7afd438d9
15,376
py
Python
tests/providers/test_email.py
mlanser/f451-comms
0ea2cb7944ee133859de2c35c396d7681afe6205
[ "MIT" ]
null
null
null
tests/providers/test_email.py
mlanser/f451-comms
0ea2cb7944ee133859de2c35c396d7681afe6205
[ "MIT" ]
null
null
null
tests/providers/test_email.py
mlanser/f451-comms
0ea2cb7944ee133859de2c35c396d7681afe6205
[ "MIT" ]
null
null
null
"""Test cases for the generic email provider module.""" import pytest import f451_comms.constants as const import f451_comms.providers.email as email from f451_comms.entity import Entity from f451_comms.exceptions import InvalidAttributeError from f451_comms.exceptions import MissingAttributeError # ================...
32.370526
87
0.641324
1,880
15,376
5.07234
0.094149
0.058725
0.035235
0.039639
0.829488
0.770868
0.721791
0.659815
0.602768
0.57068
0
0.021692
0.223465
15,376
474
88
32.438819
0.776968
0.140609
0
0.61236
0
0.002809
0.112647
0.020467
0
0
0
0
0.300562
1
0.044944
false
0
0.016854
0
0.070225
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
b3d4f5543df3211adf6b4d044b78efc7693cd73e
516
py
Python
Question_A/test_data.py
loucadufault/louca_dufault_test
179346baa7cdc96cb0b6fcc6b6339e7b43f38215
[ "MIT" ]
1
2020-02-03T02:13:22.000Z
2020-02-03T02:13:22.000Z
Question_A/test_data.py
loucadufault/louca_dufault_test
179346baa7cdc96cb0b6fcc6b6339e7b43f38215
[ "MIT" ]
2
2020-02-13T20:12:43.000Z
2020-02-13T20:13:33.000Z
Question_A/test_data.py
loucadufault/louca_dufault_test
179346baa7cdc96cb0b6fcc6b6339e7b43f38215
[ "MIT" ]
null
null
null
overlapping = ( ((1, 5), (2, 6)), ((5, 7), (3, 7)), ((-3, 6), (-7, -1)), ((2, 3), (2.5, 5.5)) ) overlapping_edge = ( ((-6, -4), (-5.5, -4.5)), ((1, 9), (5, 6)), ((5, 6), (1, 9)), ((1, 5), (1, 5)), ((1, 1), (1, 1)), ((1, 1), (2, 1)), ((0, 4), (4, 8)), ((4, 6.1), (5.9, 8))...
17.793103
29
0.275194
88
516
1.568182
0.147727
0.086957
0.086957
0.086957
0.043478
0
0
0
0
0
0
0.228571
0.321705
516
29
30
17.793103
0.165714
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
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
b3da47e65d1b1c5e89be805881abdee0b260b8ee
205
py
Python
tests/integration/test_farmobj.py
applecreekacres/farmos.py.ext
91db8a6d5532661650869d34c2ff94e1fed02f02
[ "MIT" ]
null
null
null
tests/integration/test_farmobj.py
applecreekacres/farmos.py.ext
91db8a6d5532661650869d34c2ff94e1fed02f02
[ "MIT" ]
46
2021-02-21T21:05:07.000Z
2022-03-15T23:05:25.000Z
tests/integration/test_farmobj.py
applecreekacres/farmos.py.ext
91db8a6d5532661650869d34c2ff94e1fed02f02
[ "MIT" ]
null
null
null
from farmos_ext.farm import Farm from farmos_ext.farmobj import FarmObj def test_farmobj_creation(): farm = Farm() obj = FarmObj(farm, {'name': 'test'}) assert obj.name == 'test'
18.636364
42
0.64878
27
205
4.777778
0.444444
0.155039
0.20155
0
0
0
0
0
0
0
0
0
0.234146
205
10
43
20.5
0.821656
0
0
0
0
0
0.061856
0
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.5
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b601de75e872294ea246a7ec20f8f4bf02523220
29
py
Python
test/__init__.py
karlson35/python_training
0626341c0d3060128e9cb50419cdef56b2b0d8e1
[ "Apache-2.0" ]
null
null
null
test/__init__.py
karlson35/python_training
0626341c0d3060128e9cb50419cdef56b2b0d8e1
[ "Apache-2.0" ]
null
null
null
test/__init__.py
karlson35/python_training
0626341c0d3060128e9cb50419cdef56b2b0d8e1
[ "Apache-2.0" ]
null
null
null
__author__ = 'Igor Nikolaev'
14.5
28
0.758621
3
29
6
1
0
0
0
0
0
0
0
0
0
0
0
0.137931
29
1
29
29
0.72
0
0
0
0
0
0.448276
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
b603c90fd6d97cc560a28a5d96e824769792f866
1,387
py
Python
deepposekit/models/layers/util.py
Enteee/DeepPoseKit
7533569481be03fec6cfedd50a0fbfbcdcae4c54
[ "Apache-2.0" ]
null
null
null
deepposekit/models/layers/util.py
Enteee/DeepPoseKit
7533569481be03fec6cfedd50a0fbfbcdcae4c54
[ "Apache-2.0" ]
null
null
null
deepposekit/models/layers/util.py
Enteee/DeepPoseKit
7533569481be03fec6cfedd50a0fbfbcdcae4c54
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2018-2019 Jacob M. Graving <jgraving@gmail.com> # # 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 ...
33.829268
74
0.709445
198
1,387
4.883838
0.590909
0.062048
0.026887
0.033092
0
0
0
0
0
0
0
0.024501
0.205479
1,387
40
75
34.675
0.852995
0.66186
0
0
0
0
0.042959
0
0
0
0
0
0
1
0.3
false
0
0.2
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b606df02502eab46ec6221179673c7923bc83c4d
855
py
Python
Signal Processing/CODES/16.d.inv_noninv_real.py
Pavan1199/Python-Signal-Processing
9164bb76305a149d65d32ea89abebf368a1e6d65
[ "MIT" ]
1
2019-05-03T17:19:06.000Z
2019-05-03T17:19:06.000Z
Signal Processing/CODES/16.d.inv_noninv_real.py
Pavan1199/Python-Signal-Processing
9164bb76305a149d65d32ea89abebf368a1e6d65
[ "MIT" ]
null
null
null
Signal Processing/CODES/16.d.inv_noninv_real.py
Pavan1199/Python-Signal-Processing
9164bb76305a149d65d32ea89abebf368a1e6d65
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import numpy as np from comb_step_ramp3 import comb_step_ramp3 from inv_noninv import inv_noninv 't' t = np.arange(-10, 10,0.01) x=[] comb_step_ramp3(t,x) inv_noninv(x) '-t' y=[] comb_step_ramp3(-t,y) inv_noninv(y) '-x(t)' z=[] comb_step_ramp3(t,z) z[:] = [x*-1 for x in...
16.132075
44
0.602339
188
855
2.558511
0.175532
0.224532
0.297297
0.232848
0.559252
0.507277
0.507277
0.33264
0.257796
0.099792
0
0.054598
0.185965
855
52
45
16.442308
0.636494
0
0
0.509804
0
0
0.044832
0
0
0
0
0
0
1
0
false
0
0.078431
0
0.078431
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
3738c1045ad8b46941b02a307f79f120b1aa2cf0
343
py
Python
fundamentals/3-comparison-operators/1-comparison-operators.py
davidokun/Python
0172e4c6669dc0bdb1beab762948f0ade248bde0
[ "MIT" ]
null
null
null
fundamentals/3-comparison-operators/1-comparison-operators.py
davidokun/Python
0172e4c6669dc0bdb1beab762948f0ade248bde0
[ "MIT" ]
null
null
null
fundamentals/3-comparison-operators/1-comparison-operators.py
davidokun/Python
0172e4c6669dc0bdb1beab762948f0ade248bde0
[ "MIT" ]
null
null
null
# Equality print(2 == 2) print(1 == 2) print('hello' == 'bye') print('Bye' == 'bye') # Not Equality print(3 != 3) print(4 != 5) # Greater than print(1 > 3) print(5 > 2) # Less than print(30 < 10) print(5 < 7) # Greater than or equal print(3 >= 3) print(4 >= 3) print(1 >= 3) # Less than or equal print(3 <= 3) print...
12.25
23
0.568513
63
343
3.095238
0.285714
0.184615
0.107692
0.184615
0.394872
0.328205
0.328205
0.328205
0.328205
0.328205
0
0.111524
0.215743
343
27
24
12.703704
0.613383
0.247813
0
0
0
0
0.055777
0
0
0
0
0
0
1
0
true
0
0
0
0
1
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
3752bc8ce6634b449801dc338ab79a6b30a1ae76
1,783
py
Python
backups/unused_codes.py
iamzhanghao/Online_Bookstore
396380ef810554ac3f6e534e6a9cffc2b5155bed
[ "MIT" ]
null
null
null
backups/unused_codes.py
iamzhanghao/Online_Bookstore
396380ef810554ac3f6e534e6a9cffc2b5155bed
[ "MIT" ]
null
null
null
backups/unused_codes.py
iamzhanghao/Online_Bookstore
396380ef810554ac3f6e534e6a9cffc2b5155bed
[ "MIT" ]
null
null
null
#order order id # order_1 = DB_Order('zhanghao',datetime.date.today(),'shipped') # db.session.add(order_1) # db.session.commit() # # detail_1 = DB_Order_Detail(order_1.order_id,'978-873625125',6) # detail_2 = DB_Order_Detail(order_1.order_id,'978-873625125',7) # db.session.add(detail_1) # db.session.add(detail_2) # db....
34.288462
85
0.740886
301
1,783
4.033223
0.139535
0.065898
0.16145
0.164745
0.720758
0.635091
0.599671
0.599671
0.489292
0.367381
0
0.022121
0.13797
1,783
51
86
34.960784
0.767729
0.94111
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
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
375ab393edaf0b346e41d9a1e64179f40bea0bb0
507
py
Python
main.py
jay-pee/Anki-Chinese-Radicals-Deck-Plus
3d8f70f5be1eeb3c3f3587cf5057175f2265b005
[ "MIT" ]
6
2020-04-27T08:12:20.000Z
2021-11-13T23:37:26.000Z
main.py
jay-pee/Anki-Chinese-Radicals-Deck-Plus
3d8f70f5be1eeb3c3f3587cf5057175f2265b005
[ "MIT" ]
4
2020-10-07T20:27:01.000Z
2021-06-22T02:26:03.000Z
main.py
jay-pee/Anki-Chinese-Radicals-Deck-Plus
3d8f70f5be1eeb3c3f3587cf5057175f2265b005
[ "MIT" ]
null
null
null
from makeAncientImgUrlList import * from downloadAncientImg import * from generateDeck import * from getRadicalsData import * import os MAKE_NEW_ANCIENT_IMG_LIST = False REDOWNLOAD_ANCIENT_IMG = False if __name__ == "__main__": if MAKE_NEW_ANCIENT_IMG_LIST: makeAncientImgUrlList() if REDOWNLOAD_ANCIE...
25.35
81
0.765286
53
507
6.943396
0.528302
0.108696
0.076087
0.092391
0.11413
0
0
0
0
0
0
0
0.17357
507
19
82
26.684211
0.878282
0.069034
0
0
1
0
0.07431
0.046709
0
0
0
0.052632
0
1
0
false
0
0.3125
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
0
0
0
0
1
0
0
0
0
3
37bf680d788c58450a6d3767ae7fb15a6b141a56
721
py
Python
dnsdb_mock_apiserver/utils.py
dnsdb-team/dnsdb-mock-apiserver
7a03d98406fea0e4145fdfbebb433982d984b1e8
[ "BSD-4-Clause" ]
null
null
null
dnsdb_mock_apiserver/utils.py
dnsdb-team/dnsdb-mock-apiserver
7a03d98406fea0e4145fdfbebb433982d984b1e8
[ "BSD-4-Clause" ]
null
null
null
dnsdb_mock_apiserver/utils.py
dnsdb-team/dnsdb-mock-apiserver
7a03d98406fea0e4145fdfbebb433982d984b1e8
[ "BSD-4-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import re import random ip_pattern = re.compile('^(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9])\.' '(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)\.' '(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0)...
34.333333
91
0.49792
137
721
2.591241
0.255474
0.073239
0.076056
0.056338
0.259155
0.259155
0.259155
0.259155
0.259155
0.259155
0
0.193717
0.20527
721
20
92
36.05
0.425829
0.029126
0
0.142857
0
0.285714
0.455587
0.455587
0
0
0
0
0
1
0.142857
false
0
0.142857
0.071429
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
805f9cad28aef30a3ae02495fd4d39cfeaaf3c2f
618
py
Python
user/forms.py
hlwarun/Instagram-Clone
276d8076f49bae8de9539c9df542d817a2ca30b4
[ "Apache-2.0" ]
3
2020-11-12T17:48:27.000Z
2022-02-03T03:40:50.000Z
user/forms.py
hlwarun/Instagram-Clone
276d8076f49bae8de9539c9df542d817a2ca30b4
[ "Apache-2.0" ]
null
null
null
user/forms.py
hlwarun/Instagram-Clone
276d8076f49bae8de9539c9df542d817a2ca30b4
[ "Apache-2.0" ]
1
2021-04-27T08:02:02.000Z
2021-04-27T08:02:02.000Z
from django import forms from django.contrib.auth.models import User from django.contrib.auth.forms import PasswordChangeForm class ChangePasswordForm(forms.ModelForm): old_password = forms.CharField(widget=forms.PasswordInput(attrs={'class': 'edit-profile__input'}), required=True) new_password = forms.CharField(wid...
47.538462
118
0.78479
76
618
6.223684
0.381579
0.063425
0.139535
0.17759
0.53277
0.53277
0.53277
0.53277
0.53277
0.53277
0
0
0.080906
618
12
119
51.5
0.832746
0
0
0
0
0
0.184466
0
0
0
0
0
0
1
0
false
0.6
0.3
0
0.8
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
806586759b3df898706815e675a1e54956994798
112
py
Python
ProxyPool/setup.py
authetic-x/Web_Scraping
a1a4126cbe123cbde93680cea77c121507cff003
[ "MIT" ]
null
null
null
ProxyPool/setup.py
authetic-x/Web_Scraping
a1a4126cbe123cbde93680cea77c121507cff003
[ "MIT" ]
null
null
null
ProxyPool/setup.py
authetic-x/Web_Scraping
a1a4126cbe123cbde93680cea77c121507cff003
[ "MIT" ]
null
null
null
from ProxyPool.schedule import Scheduler if __name__ == 'main': scheduler = Scheduler() scheduler.run()
22.4
40
0.714286
12
112
6.333333
0.75
0.473684
0
0
0
0
0
0
0
0
0
0
0.178571
112
5
41
22.4
0.826087
0
0
0
0
0
0.035398
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
807a56ad5cc7cee7b298634ffb4314954ac4227f
183
py
Python
models/battery_life.py
zacharytamas/quantified-visualized
f075a0c8f154b0f9bb546ac0553bdf101c692bd3
[ "MIT" ]
null
null
null
models/battery_life.py
zacharytamas/quantified-visualized
f075a0c8f154b0f9bb546ac0553bdf101c692bd3
[ "MIT" ]
null
null
null
models/battery_life.py
zacharytamas/quantified-visualized
f075a0c8f154b0f9bb546ac0553bdf101c692bd3
[ "MIT" ]
null
null
null
from google.appengine.ext import ndb class BatteryLife(ndb.Model): """The current battery status of a device.""" moment = ndb.DateTimeProperty() value = ndb.IntegerProperty()
22.875
47
0.737705
23
183
5.869565
0.869565
0
0
0
0
0
0
0
0
0
0
0
0.147541
183
7
48
26.142857
0.865385
0.213115
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
807f1ecaff3b1d683b71a373c1a1d1f63ab556b2
220
py
Python
Tripopotamus/tripapotamus/logic/Item.py
coreyjackwilson/Tripopotamus
89941e29ee91fbc46225c4d86833c1ec4b72237e
[ "Apache-2.0" ]
null
null
null
Tripopotamus/tripapotamus/logic/Item.py
coreyjackwilson/Tripopotamus
89941e29ee91fbc46225c4d86833c1ec4b72237e
[ "Apache-2.0" ]
null
null
null
Tripopotamus/tripapotamus/logic/Item.py
coreyjackwilson/Tripopotamus
89941e29ee91fbc46225c4d86833c1ec4b72237e
[ "Apache-2.0" ]
null
null
null
class AmazonItem(object): def __init__(self, title, price, picture_url, amazon_url): self.title = title self.price = price self.picture_url = picture_url self.amazon_url = amazon_url
27.5
62
0.659091
28
220
4.821429
0.392857
0.222222
0.177778
0
0
0
0
0
0
0
0
0
0.259091
220
7
63
31.428571
0.828221
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
808b358dcf6f90eae4583f155fb8c4be8414d2fd
349
py
Python
src/cacophony/plugins/reverse/commands.py
cacophony-discord/reverse
9f78a78b64841f6858813475e3606b6612a2edd9
[ "MIT" ]
null
null
null
src/cacophony/plugins/reverse/commands.py
cacophony-discord/reverse
9f78a78b64841f6858813475e3606b6612a2edd9
[ "MIT" ]
null
null
null
src/cacophony/plugins/reverse/commands.py
cacophony-discord/reverse
9f78a78b64841f6858813475e3606b6612a2edd9
[ "MIT" ]
null
null
null
"""Plugin commands.""" async def on_reverse(app, message, *args): """Reverse the string in argument and send it back.""" if not args: await app.send_message(message.channel, f"_Usage: {app.prefixize('reverse')} string_") else: await app.send_message(message.ch...
34.9
77
0.595989
43
349
4.72093
0.627907
0.078818
0.118227
0.187192
0.325123
0.325123
0
0
0
0
0
0.003846
0.255014
349
9
78
38.777778
0.776923
0.045845
0
0
0
0
0.157509
0.095238
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
809fd880edf673f312d12eac777d5517a27383f1
1,005
py
Python
src/api/models/__init__.py
Avik32223/gala-iam-api
2e9f852d016be651e90e21cd5693a10048e487e0
[ "MIT" ]
null
null
null
src/api/models/__init__.py
Avik32223/gala-iam-api
2e9f852d016be651e90e21cd5693a10048e487e0
[ "MIT" ]
null
null
null
src/api/models/__init__.py
Avik32223/gala-iam-api
2e9f852d016be651e90e21cd5693a10048e487e0
[ "MIT" ]
null
null
null
# constants # Models from .user.user_model import User, UserCreate, UserPartial from .service_account.service_account_model import ServiceAccount, ServiceAccountCreate, ServiceAccountPartial from .group.group_model import Group, GroupCreate, GroupPartial from .permission.permission_model import Permission, Permission...
47.857143
110
0.876617
109
1,005
7.880734
0.348624
0.089639
0.027939
0.058207
0.14901
0
0
0
0
0
0
0
0.078607
1,005
20
111
50.25
0.927646
0.024876
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
80b0566a4804cc73770b97de4123c5457e84e183
261
py
Python
novelsave/core/dtos/volume_dto.py
damare01/novelsave
7896e8393c944e169e3cb52a33ab81ae396dff9f
[ "Apache-2.0" ]
15
2020-11-05T10:05:01.000Z
2021-06-28T14:43:56.000Z
novelsave/core/dtos/volume_dto.py
damare01/novelsave
7896e8393c944e169e3cb52a33ab81ae396dff9f
[ "Apache-2.0" ]
21
2020-11-01T04:36:56.000Z
2021-08-16T09:36:48.000Z
novelsave/core/dtos/volume_dto.py
mHaisham/novelsave
011b6c5d705591783aee64662bc88b207bdc7205
[ "Apache-2.0" ]
6
2021-10-03T11:31:08.000Z
2022-03-29T07:28:49.000Z
from dataclasses import dataclass, field from typing import List, Optional from .chapter_dto import ChapterDTO @dataclass class VolumeDTO: id: Optional[int] index: int name: str chapters: List[ChapterDTO] = field(default_factory=lambda: [])
18.642857
66
0.739464
32
261
5.96875
0.6875
0
0
0
0
0
0
0
0
0
0
0
0.183908
261
13
67
20.076923
0.896714
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.888889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
80b0aaefb4c74cbcdda29eca23b78e7a27d7d417
20
py
Python
practices/practice_3.1/src/networking/ssh/common.py
JoelHernandez343/networking-administration
65de814cde6fc08c47e989027a95a328ba9950df
[ "MIT" ]
null
null
null
practices/practice_3.1/src/networking/ssh/common.py
JoelHernandez343/networking-administration
65de814cde6fc08c47e989027a95a328ba9950df
[ "MIT" ]
null
null
null
practices/practice_3.1/src/networking/ssh/common.py
JoelHernandez343/networking-administration
65de814cde6fc08c47e989027a95a328ba9950df
[ "MIT" ]
1
2022-03-02T16:19:34.000Z
2022-03-02T16:19:34.000Z
current_device = ""
10
19
0.7
2
20
6.5
1
0
0
0
0
0
0
0
0
0
0
0
0.15
20
1
20
20
0.764706
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
80d015be0aafc8859b01e50df499ba681cde596f
109
py
Python
chp2/2_9favorite_number.py
veragal/pycc
09a001b908c34588975dea8e337ccea33597c4cc
[ "MIT" ]
2
2018-01-26T13:22:00.000Z
2018-01-28T03:54:50.000Z
chp2/2_9favorite_number.py
veragal/pycc
09a001b908c34588975dea8e337ccea33597c4cc
[ "MIT" ]
null
null
null
chp2/2_9favorite_number.py
veragal/pycc
09a001b908c34588975dea8e337ccea33597c4cc
[ "MIT" ]
null
null
null
# Copyright (c) Vera Galstyan Jan 25,2018 my_number = 13 message = "My favorite number is " + str(my_number)
36.333333
51
0.724771
18
109
4.277778
0.777778
0.207792
0
0
0
0
0
0
0
0
0
0.088889
0.174312
109
3
51
36.333333
0.766667
0.357798
0
0
0
0
0.323529
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
80deebc6f281d929329f69577daa5deb71cf0fa2
150
py
Python
main.py
Aujasvi-Moudgil/GSP-Implementation-Python
0a658e69e1db139548e6fa5488a3e64a30163d85
[ "MIT" ]
null
null
null
main.py
Aujasvi-Moudgil/GSP-Implementation-Python
0a658e69e1db139548e6fa5488a3e64a30163d85
[ "MIT" ]
null
null
null
main.py
Aujasvi-Moudgil/GSP-Implementation-Python
0a658e69e1db139548e6fa5488a3e64a30163d85
[ "MIT" ]
null
null
null
from gsp import GSP threshold = 5 # minimum support level = 3 # number of levels for GSP g = GSP(threshold, './Data_GSP/') g.get_support_items(level)
25
36
0.733333
25
150
4.28
0.68
0.224299
0
0
0
0
0
0
0
0
0
0.015873
0.16
150
5
37
30
0.833333
0.266667
0
0
0
0
0.102804
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
038809c058be2bd7370be628c03b0cc9ce9fbf57
282
py
Python
day-01/part-2/souhaib.py
lypnol/adventofcode-2017
03ced3df3eb80e5c7965c4120e3932919067cb15
[ "MIT" ]
16
2017-12-02T11:56:25.000Z
2018-02-10T15:09:23.000Z
day-01/part-2/souhaib.py
lypnol/adventofcode-2017
03ced3df3eb80e5c7965c4120e3932919067cb15
[ "MIT" ]
19
2017-12-01T07:54:22.000Z
2017-12-19T17:41:02.000Z
day-01/part-2/souhaib.py
lypnol/adventofcode-2017
03ced3df3eb80e5c7965c4120e3932919067cb15
[ "MIT" ]
4
2017-12-04T23:58:12.000Z
2018-02-01T08:53:16.000Z
from submission import Submission class SouhaibSubmission(Submission): def run(self, s): # :param s: input in string format # :return: solution flag return sum([int(s[i]) for i in range(-1, len(s) -1) if s[i] == s[(i + len(s)//2) % len(s)]])
25.636364
100
0.574468
43
282
3.767442
0.604651
0.037037
0
0
0
0
0
0
0
0
0
0.014563
0.269504
282
10
101
28.2
0.771845
0.195035
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0.25
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0389c3b4ace85a88a45e331341aed857087d9b04
66
py
Python
tests/fixture.py
Pierre-Sassoulas/timezone-checker
30a6aef2b3f7f3807dfdb7eb8037336874f3efd5
[ "MIT" ]
null
null
null
tests/fixture.py
Pierre-Sassoulas/timezone-checker
30a6aef2b3f7f3807dfdb7eb8037336874f3efd5
[ "MIT" ]
null
null
null
tests/fixture.py
Pierre-Sassoulas/timezone-checker
30a6aef2b3f7f3807dfdb7eb8037336874f3efd5
[ "MIT" ]
null
null
null
import argparse parser = argparse.ArgumentParser() print(parser)
13.2
34
0.80303
7
66
7.571429
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.106061
66
4
35
16.5
0.898305
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
03d9a731b71f7ee1befa0cb320d96ac29c72470a
89
py
Python
a1_t6_1.py
Jimmyjtc001/assignment1
597f6c2e9803fe74bf2efba0ffaa00afba7bf1bc
[ "BSD-3-Clause" ]
null
null
null
a1_t6_1.py
Jimmyjtc001/assignment1
597f6c2e9803fe74bf2efba0ffaa00afba7bf1bc
[ "BSD-3-Clause" ]
null
null
null
a1_t6_1.py
Jimmyjtc001/assignment1
597f6c2e9803fe74bf2efba0ffaa00afba7bf1bc
[ "BSD-3-Clause" ]
null
null
null
import statistics x = statistics.mode([1, 1, 2, 3, 3, 3, 4, 5]) print("The mode is", x)
17.8
45
0.606742
18
89
3
0.666667
0.074074
0
0
0
0
0
0
0
0
0
0.111111
0.191011
89
4
46
22.25
0.638889
0
0
0
0
0
0.123596
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ff16f7c7cf334489733de9647e5a9f4047283da0
120
py
Python
pykeyset/core/fontgen.py
staticintlucas/pykeyset
8581252c85dfceebe22926af4640164a0895e7a0
[ "Apache-2.0", "MIT" ]
1
2021-07-06T16:43:25.000Z
2021-07-06T16:43:25.000Z
pykeyset/core/fontgen.py
staticintlucas/pykeyset
8581252c85dfceebe22926af4640164a0895e7a0
[ "Apache-2.0", "MIT" ]
null
null
null
pykeyset/core/fontgen.py
staticintlucas/pykeyset
8581252c85dfceebe22926af4640164a0895e7a0
[ "Apache-2.0", "MIT" ]
null
null
null
def fontgen(ctx, output, input): """create a new XML font file from a source font""" raise NotImplementedError
24
55
0.7
17
120
4.941176
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.208333
120
4
56
30
0.884211
0.375
0
0
0
0
0
0
0
0
0
0
0
1
0.5
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
20779a9ee1dc5d4c453d4c8fbd2bdf742a351f32
529
py
Python
spherov2/commands/system_mode.py
Cole1220/spherov2.py
8981cee23055bf36bafc75c4355a8930a00eb6bd
[ "MIT" ]
23
2020-06-22T16:17:21.000Z
2022-03-15T15:53:39.000Z
spherov2/commands/system_mode.py
Cole1220/spherov2.py
8981cee23055bf36bafc75c4355a8930a00eb6bd
[ "MIT" ]
16
2020-06-11T12:52:26.000Z
2021-12-11T02:38:23.000Z
spherov2/commands/system_mode.py
Cole1220/spherov2.py
8981cee23055bf36bafc75c4355a8930a00eb6bd
[ "MIT" ]
5
2021-01-14T17:39:27.000Z
2021-07-30T19:09:07.000Z
from spherov2.commands import Commands class SystemMode(Commands): _did = 18 @staticmethod def enable_desktoy_mode(toy, enable: bool, proc=None): toy._execute(SystemMode.__encode(toy, 41, proc, [int(enable)])) @staticmethod def get_out_of_box_state(toy, proc=None): return bool(to...
29.388889
76
0.697543
71
529
4.929577
0.43662
0.128571
0.171429
0.222857
0.451429
0.285714
0.285714
0.285714
0.285714
0.285714
0
0.022989
0.177694
529
17
77
31.117647
0.781609
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0.25
false
0
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
0
0
0
1
0
0
3
207b2be5af125642de0d74f55c04e96253f2667f
525
py
Python
2017/future/prime_numbers.py
littlepea/beijing-python-meetup
393d7723bc092ae548fe4e6ed82aa30ee3c7801d
[ "MIT" ]
10
2016-11-15T10:39:36.000Z
2020-01-14T04:59:08.000Z
2017/future/prime_numbers.py
littlepea/beijing-python-meetup
393d7723bc092ae548fe4e6ed82aa30ee3c7801d
[ "MIT" ]
7
2017-01-10T05:40:05.000Z
2020-06-28T05:59:20.000Z
2017/future/prime_numbers.py
littlepea/beijing-python-meetup
393d7723bc092ae548fe4e6ed82aa30ee3c7801d
[ "MIT" ]
3
2017-09-19T09:12:31.000Z
2018-10-31T06:35:21.000Z
""" Prime Numbers Kata https://en.wikipedia.org/wiki/Prime_number A prime number (or a prime) is a natural number greater than 1 that has no positive divisors other than 1 and itself. 1 is an exception and is not considered a prime. Write a function that takes a number and returns True if it's a prime. """ import un...
21
117
0.733333
85
525
4.388235
0.611765
0.064343
0
0
0
0
0
0
0
0
0
0.009346
0.184762
525
24
118
21.875
0.86215
0.575238
0
0
0
0
0.037209
0
0
0
0
0
0.125
1
0.25
false
0
0.125
0.125
0.625
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
20880e2cdf91688fca0da09526a8e6bf341a3a5a
1,344
py
Python
bagua/torch_api/env.py
NOBLES5E/bagua
c6f029f14c7c08383282f8efe22e7c0aee35fab1
[ "MIT" ]
1
2021-06-23T08:13:15.000Z
2021-06-23T08:13:15.000Z
bagua/torch_api/env.py
NOBLES5E/bagua
c6f029f14c7c08383282f8efe22e7c0aee35fab1
[ "MIT" ]
null
null
null
bagua/torch_api/env.py
NOBLES5E/bagua
c6f029f14c7c08383282f8efe22e7c0aee35fab1
[ "MIT" ]
null
null
null
import os def get_world_size(): """ Returns the number of processes in the current process group Returns: The world size of the process group """ return int(os.environ.get("WORLD_SIZE", 1)) def get_rank(): """ Returns the rank of current process group Rank is a unique iden...
20.676923
77
0.670387
197
1,344
4.436548
0.253807
0.091533
0.09611
0.12357
0.629291
0.592677
0.471396
0.471396
0.389016
0.116705
0
0.008789
0.238095
1,344
64
78
21
0.844727
0.488095
0
0
0
0
0.155867
0.036778
0
0
0
0
0
1
0.466667
true
0
0.066667
0.2
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
1
0
0
0
3
20b045e140b579fd661e69df23781fbbe1d9ce57
1,471
py
Python
syn/autobuild.py
fendouai/jpush-docs-old
3160e16ccda878be39528e41579b95f246e6e30f
[ "MIT" ]
null
null
null
syn/autobuild.py
fendouai/jpush-docs-old
3160e16ccda878be39528e41579b95f246e6e30f
[ "MIT" ]
null
null
null
syn/autobuild.py
fendouai/jpush-docs-old
3160e16ccda878be39528e41579b95f246e6e30f
[ "MIT" ]
1
2019-06-13T09:27:48.000Z
2019-06-13T09:27:48.000Z
import commands import os import time #!/usr/bin/env python import logging import commands import os import time def git_pull(): print time.asctime(time.localtime(time.time())) print (os.chdir("/opt/push/jpush-docs/jpush-docs/")) logging.info(commands.getstatusoutput("git pull origin renew")) print ("...
31.978261
89
0.693406
207
1,471
4.917874
0.164251
0.123772
0.10609
0.141454
0.794695
0.794695
0.731827
0.659136
0.659136
0.584479
0
0.003132
0.131883
1,471
45
90
32.688889
0.794049
0.013596
0
0.540541
0
0
0.299931
0.236351
0
0
0
0
0
0
null
null
0
0.189189
null
null
0.351351
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
1
0
0
0
0
0
0
0
0
3
20d401f272294f639b564b6e423bd936806486ed
4,607
py
Python
model/bhamon_orchestra_model/database/sql_database_model.py
BenjaminHamon/BuildService
2ca12f9ae74e9cbf732229849f6cd6d13f40151a
[ "MIT" ]
2
2021-01-28T15:56:50.000Z
2021-03-02T06:27:09.000Z
model/bhamon_orchestra_model/database/sql_database_model.py
BenjaminHamon/BuildService
2ca12f9ae74e9cbf732229849f6cd6d13f40151a
[ "MIT" ]
null
null
null
model/bhamon_orchestra_model/database/sql_database_model.py
BenjaminHamon/BuildService
2ca12f9ae74e9cbf732229849f6cd6d13f40151a
[ "MIT" ]
null
null
null
from sqlalchemy.schema import MetaData, Table, Column from sqlalchemy.schema import PrimaryKeyConstraint, ForeignKeyConstraint from sqlalchemy.types import Boolean, String, JSON metadata = MetaData() project = Table("project", metadata, Column("identifier", String, nullable = False), Column("display_name", String,...
41.881818
86
0.718472
489
4,607
6.689162
0.130879
0.218588
0.278814
0.236931
0.710792
0.652094
0.634363
0.581474
0.571385
0.554876
0
0
0.120035
4,607
109
87
42.266055
0.806857
0.024745
0
0.5
0
0
0.224722
0.005345
0
0
0
0
0
1
0
false
0
0.030612
0
0.030612
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
20d8dff011d15ba0722a819f9d54ec940dc8f24f
332
py
Python
rex/utilities/__init__.py
psusmars/rex
1891e1e41f899e5f479545ff8d8e9fc76a1929e6
[ "BSD-3-Clause" ]
8
2020-11-18T19:42:55.000Z
2022-01-12T04:24:05.000Z
rex/utilities/__init__.py
psusmars/rex
1891e1e41f899e5f479545ff8d8e9fc76a1929e6
[ "BSD-3-Clause" ]
57
2020-05-01T14:33:34.000Z
2022-02-18T17:52:49.000Z
rex/utilities/__init__.py
psusmars/rex
1891e1e41f899e5f479545ff8d8e9fc76a1929e6
[ "BSD-3-Clause" ]
4
2020-08-20T16:46:15.000Z
2022-02-22T19:46:23.000Z
# -*- coding: utf-8 -*- """ rex utilities. """ from .execution import SpawnProcessPool from .hpc import SLURM, PBS from .loggers import (init_logger, init_mult, setup_logger, log_mem, log_versions, LOGGERS) from .solar_position import SolarPosition from .toml_parser import TOMLParser from .utiliti...
27.666667
68
0.722892
41
332
5.682927
0.634146
0
0
0
0
0
0
0
0
0
0
0.00369
0.183735
332
11
69
30.181818
0.856089
0.111446
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.857143
0
0.857143
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
20dcd53cc7344f08a0b5b8a615bf3e64f31a5ae3
473
py
Python
tmp.py
pollenjp/klab-gameserver-forked
b55230e95a2f9e5daea8e4ada2b908ed0297d2d2
[ "MIT" ]
null
null
null
tmp.py
pollenjp/klab-gameserver-forked
b55230e95a2f9e5daea8e4ada2b908ed0297d2d2
[ "MIT" ]
null
null
null
tmp.py
pollenjp/klab-gameserver-forked
b55230e95a2f9e5daea8e4ada2b908ed0297d2d2
[ "MIT" ]
1
2021-12-30T16:45:19.000Z
2021-12-30T16:45:19.000Z
if __name__ == "__main__": import app.model import app.room_model print(f'{app.room_model.get_room_status(10)}') # print(f'{app.room_model.create_room(live_id=1001)}') # print(f"{app.room_model.get_rooms_by_live_id(2)}") # print(f'{app.model.update_user(token="db0f6439-3c87-4b65-86a0-7c47c136a7...
47.3
129
0.712474
74
473
4.202703
0.432432
0.096463
0.144695
0.125402
0.601286
0.543408
0.40836
0.205788
0.205788
0
0
0.073286
0.105708
473
9
130
52.555556
0.661939
0.680761
0
0
0
0
0.30137
0.246575
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
4547177a8fde157cd6506b5b20e3a3c533269d74
531
py
Python
LeetCode/22 - Generate Parentheses.py
Pondorasti/Competitive-Programming
f35f3c23ca8a993b8d1d52d845f004591509eaeb
[ "MIT" ]
1
2021-09-01T20:01:24.000Z
2021-09-01T20:01:24.000Z
LeetCode/22 - Generate Parentheses.py
Pondorasti/Competitive-Programming
f35f3c23ca8a993b8d1d52d845f004591509eaeb
[ "MIT" ]
null
null
null
LeetCode/22 - Generate Parentheses.py
Pondorasti/Competitive-Programming
f35f3c23ca8a993b8d1d52d845f004591509eaeb
[ "MIT" ]
null
null
null
class Solution(object): def generateParenthesis(self, n): """ :type n: int :rtype: List[str] """ combinations = [] def combination(ans, openP, closeP): if closeP == n: combinations.append(ans) return if openP >...
24.136364
57
0.463277
47
531
5.234043
0.468085
0.170732
0.231707
0.203252
0
0
0
0
0
0
0
0.013029
0.421846
531
21
58
25.285714
0.788274
0.056497
0
0
1
0
0.004264
0
0
0
0
0
0
1
0.153846
false
0
0
0
0.384615
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
455e15834be9653d1b52f7fb3569a5b170a82661
67
py
Python
puppy/data/p/PuppyCourse/Var/sample.py
y-akinobu/puppy
08a83b770d79984b1626b1f98613256ffd31fc82
[ "MIT" ]
3
2019-08-27T11:39:06.000Z
2022-03-05T14:09:22.000Z
puppy/data/p/PuppyCourse/Var/sample.py
y-akinobu/puppy
08a83b770d79984b1626b1f98613256ffd31fc82
[ "MIT" ]
32
2019-06-19T06:01:43.000Z
2021-03-09T08:40:32.000Z
puppy/data/p/PuppyCourse/Var/sample.py
y-akinobu/puppy
08a83b770d79984b1626b1f98613256ffd31fc82
[ "MIT" ]
6
2019-06-18T07:58:46.000Z
2019-11-28T08:04:48.000Z
# weightとheightを定義しよう bmi = weight / (height * height) print(bmi)
13.4
32
0.716418
7
67
6.857143
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.164179
67
4
33
16.75
0.857143
0.283582
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
4563e744cfdad05fafa4b8bfc8cfd8729229f27d
267
py
Python
code/1013.py
minssoj/Learning_Algorithm_Up
45ec4e2eb4c07c9ec907a74dbd31370e1645c50b
[ "MIT" ]
null
null
null
code/1013.py
minssoj/Learning_Algorithm_Up
45ec4e2eb4c07c9ec907a74dbd31370e1645c50b
[ "MIT" ]
null
null
null
code/1013.py
minssoj/Learning_Algorithm_Up
45ec4e2eb4c07c9ec907a74dbd31370e1645c50b
[ "MIT" ]
null
null
null
# [기초-입출력] 정수 2개 입력받아 그대로 출력하기(설명) # minso.jeong@daum.net ''' 문제링크 : https://www.codeup.kr/problem.php?id=1013 참고 : https://dojang.io/mod/page/view.php?id=1220 ''' # num1, num2 = input().split() num1, num2 = map(int, input().split()) print('{} {}'.format(num1, num2))
29.666667
48
0.640449
45
267
3.8
0.8
0.140351
0
0
0
0
0
0
0
0
0
0.063025
0.108614
267
9
49
29.666667
0.655462
0.677903
0
0
0
0
0.064935
0
0
0
0
0
0
1
0
true
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
456bf6fa25b0207fd78e418d1b5146fead896d34
366
py
Python
testing.py
sl4vkek/python-whoohoo
a3dd466a38e09f7b139ce2ac092cb6ed6d3bda7a
[ "WTFPL" ]
null
null
null
testing.py
sl4vkek/python-whoohoo
a3dd466a38e09f7b139ce2ac092cb6ed6d3bda7a
[ "WTFPL" ]
null
null
null
testing.py
sl4vkek/python-whoohoo
a3dd466a38e09f7b139ce2ac092cb6ed6d3bda7a
[ "WTFPL" ]
null
null
null
from whoohoo import * from requests import get as GET translator = WhooHooTranslator(WhooHooTranslatorType.scottie) bee_movie_script = GET("https://pastebin.com/raw/UfFEq7ei").content.decode() bee_movie_script = bee_movie_script.replace('\r\n \r\n', '') translator.translate_to_file(bee_movie_script, 'bee movi...
45.75
102
0.775956
53
366
5.169811
0.641509
0.145985
0.255474
0.124088
0.20438
0.20438
0
0
0
0
0
0.003067
0.10929
366
8
102
45.75
0.837423
0
0
0
0
0
0.186111
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
456eccb32edc9d1df7f4ca057eeb0aa328418094
71
py
Python
serie4/docu/Code/collect.py
Koopakiller/Edu-NLA
8376557cab9f74cedd19ee1573a8c71d7e415dd4
[ "MIT" ]
null
null
null
serie4/docu/Code/collect.py
Koopakiller/Edu-NLA
8376557cab9f74cedd19ee1573a8c71d7e415dd4
[ "MIT" ]
null
null
null
serie4/docu/Code/collect.py
Koopakiller/Edu-NLA
8376557cab9f74cedd19ee1573a8c71d7e415dd4
[ "MIT" ]
null
null
null
t = (x.item(0), x.item(1), x.item(2), d, k, n) parameter_list.append(t)
35.5
46
0.605634
17
71
2.470588
0.705882
0.357143
0
0
0
0
0
0
0
0
0
0.047619
0.112676
71
2
47
35.5
0.619048
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
456f59f611b167e864b929aa2fb7d39c0c0b2e92
2,049
py
Python
werewolf/commands/base.py
jan-g/slackwolf
7da027b87d79d663fe88e2e8301a748b8fcf6951
[ "Apache-2.0" ]
null
null
null
werewolf/commands/base.py
jan-g/slackwolf
7da027b87d79d663fe88e2e8301a748b8fcf6951
[ "Apache-2.0" ]
null
null
null
werewolf/commands/base.py
jan-g/slackwolf
7da027b87d79d663fe88e2e8301a748b8fcf6951
[ "Apache-2.0" ]
null
null
null
import logging from ..service import Agent LOG = logging.getLogger(__name__) def match_agent(agents=None, any_agent=False): def match(item): if isinstance(item, Agent) and (any_agent or item in agents): return item elif isinstance(item, str): matches = {agent ...
34.728814
86
0.63348
282
2,049
4.560284
0.407801
0.037325
0.034215
0.046656
0.167963
0.124417
0.083981
0.041991
0
0
0
0.000679
0.281113
2,049
58
87
35.327586
0.872369
0.371889
0
0.142857
0
0
0.033642
0
0
0
0
0
0
1
0.285714
false
0.071429
0.071429
0.035714
0.607143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
45716b9d30c56a806bf8a8290cb4cbe7ca585fe8
1,700
py
Python
testsuite/compassign-reg/run.py
LongerVision/OpenShadingLanguage
30d2a4a089c5c9d521b27519329c205763dfe483
[ "BSD-3-Clause" ]
1,105
2015-01-02T20:47:19.000Z
2021-01-25T13:20:56.000Z
testsuite/compassign-reg/run.py
LongerVision/OpenShadingLanguage
30d2a4a089c5c9d521b27519329c205763dfe483
[ "BSD-3-Clause" ]
696
2015-01-07T23:42:08.000Z
2021-01-25T03:55:08.000Z
testsuite/compassign-reg/run.py
LongerVision/OpenShadingLanguage
30d2a4a089c5c9d521b27519329c205763dfe483
[ "BSD-3-Clause" ]
248
2015-01-05T13:41:28.000Z
2021-01-24T23:29:55.000Z
#!/usr/bin/env python # Copyright Contributors to the Open Shading Language project. # SPDX-License-Identifier: BSD-3-Clause # https://github.com/AcademySoftwareFoundation/OpenShadingLanguage # We will take the liberty of assuming point, vector, and normal all take # the identical code path # compassign u index u f...
33.333333
137
0.785294
285
1,700
4.361404
0.249123
0.077233
0.154465
0.109413
0.769107
0.688656
0.588898
0.410298
0.410298
0.397426
0
0.028649
0.137647
1,700
50
138
34
0.819236
0.341765
0
0
0
0
0.752511
0.547945
0
0
0
0
0
1
0
false
0.75
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
457e3a4cae7ed512da582e43803c9da8a824bbbd
12,053
py
Python
bin/bin_onePT/mvir-1-plotData.py
JohanComparat/nbody-npt-functions
a034db4e5a9b2f87dc42eeb6059c4dd280589e4a
[ "CC0-1.0" ]
4
2017-11-07T02:15:46.000Z
2022-03-03T01:35:53.000Z
bin/bin_onePT/mvir-1-plotData.py
JohanComparat/nbody-npt-functions
a034db4e5a9b2f87dc42eeb6059c4dd280589e4a
[ "CC0-1.0" ]
null
null
null
bin/bin_onePT/mvir-1-plotData.py
JohanComparat/nbody-npt-functions
a034db4e5a9b2f87dc42eeb6059c4dd280589e4a
[ "CC0-1.0" ]
2
2020-08-12T14:26:38.000Z
2021-09-14T06:08:58.000Z
from os.path import join import numpy as n import astropy.io.fits as fits import os import sys #import lib_functions_1pt as lib delta_c = 1.686 f_BH = lambda sigma, A, a, p, q: A* (2./n.pi)**(0.5) * ( 1 + (sigma**2./(a*delta_c**2.))**(p) )*(delta_c*a**0.5/sigma)**(q)*n.e**(-a*delta_c**2./(2.*sigma**2.)) b_BH = lamb...
35.45
160
0.626566
2,184
12,053
3.32326
0.137821
0.021494
0.018738
0.02108
0.748829
0.712455
0.695095
0.686415
0.677597
0.648388
0
0.119662
0.106281
12,053
339
161
35.554572
0.554122
0.12669
0
0.509091
0
0.004545
0.144959
0.027043
0
0
0
0
0
0
null
null
0
0.054545
null
null
0.063636
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
4581be0a79d36444e6abda3f1d11e6eb37dbb90e
797
py
Python
Phase-2/Json/Day-38.py
CodedLadiesInnovateTech/python-challenges
22ce26c68fea6c7c243ada831e47c52e27a62127
[ "MIT" ]
11
2020-05-11T08:41:21.000Z
2022-02-27T08:21:37.000Z
Phase-2/Json/Day-38.py
CodedLadiesInnovateTech/python-challenges
22ce26c68fea6c7c243ada831e47c52e27a62127
[ "MIT" ]
9
2020-05-12T10:46:06.000Z
2020-05-28T17:37:19.000Z
Phase-2/Json/tasks.py
CodedLadiesInnovateTech/python-challenges
22ce26c68fea6c7c243ada831e47c52e27a62127
[ "MIT" ]
44
2020-05-10T20:53:32.000Z
2021-04-25T18:47:08.000Z
1. Write a Python program to convert JSON data to Python object. 2. Write a Python program to convert Python object to JSON data. 3. Write a Python program to convert Python objects into JSON strings. Print all the values. 4. Write a Python program to convert Python dictionary object (sort by key) to JSO...
30.653846
136
0.747804
138
797
4.318841
0.391304
0.11745
0.181208
0.286913
0.459732
0.389262
0.389262
0
0
0
0
0.016181
0.224592
797
25
137
31.88
0.94822
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
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
45890c823cea319265113da8605e0a68f0bff034
292
py
Python
output/models/nist_data/atomic/negative_integer/schema_instance/nistschema_sv_iv_atomic_negative_integer_pattern_4_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
1
2021-08-14T17:59:21.000Z
2021-08-14T17:59:21.000Z
output/models/nist_data/atomic/negative_integer/schema_instance/nistschema_sv_iv_atomic_negative_integer_pattern_4_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
4
2020-02-12T21:30:44.000Z
2020-04-15T20:06:46.000Z
output/models/nist_data/atomic/negative_integer/schema_instance/nistschema_sv_iv_atomic_negative_integer_pattern_4_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.nist_data.atomic.negative_integer.schema_instance.nistschema_sv_iv_atomic_negative_integer_pattern_4_xsd.nistschema_sv_iv_atomic_negative_integer_pattern_4 import NistschemaSvIvAtomicNegativeIntegerPattern4 __all__ = [ "NistschemaSvIvAtomicNegativeIntegerPattern4", ]
48.666667
225
0.907534
31
292
7.83871
0.612903
0.17284
0.259259
0.164609
0.353909
0.353909
0.353909
0.353909
0
0
0
0.014388
0.047945
292
5
226
58.4
0.859712
0
0
0
0
0
0.14726
0.14726
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
458be20dd402468d2b9813f57d0750c709861738
79
py
Python
interactiveTest.py
PianoBin/f1plot
1a94dc47556cd38c82a1fabe5306e6956cd32621
[ "MIT" ]
null
null
null
interactiveTest.py
PianoBin/f1plot
1a94dc47556cd38c82a1fabe5306e6956cd32621
[ "MIT" ]
null
null
null
interactiveTest.py
PianoBin/f1plot
1a94dc47556cd38c82a1fabe5306e6956cd32621
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt plt.ion() plt.plot([1.6, 2.7]) plt.pause(2)
9.875
31
0.670886
16
79
3.3125
0.75
0
0
0
0
0
0
0
0
0
0
0.073529
0.139241
79
7
32
11.285714
0.705882
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
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
458cbefdf6be943c1b2cffc90d8538dcb9196866
17,446
py
Python
front-end/testsuite-python-lib/Python-3.0/Lib/collections.py
MalloyPower/parsing-python
b2bca5eed07ea2af7a2001cd4f63becdfb0570be
[ "MIT" ]
1
2020-11-26T18:53:46.000Z
2020-11-26T18:53:46.000Z
front-end/testsuite-python-lib/Python-3.0/Lib/collections.py
MalloyPower/parsing-python
b2bca5eed07ea2af7a2001cd4f63becdfb0570be
[ "MIT" ]
1
2015-10-29T20:51:31.000Z
2015-10-29T20:51:31.000Z
front-end/testsuite-python-lib/Python-3.0/Lib/collections.py
MalloyPower/parsing-python
b2bca5eed07ea2af7a2001cd4f63becdfb0570be
[ "MIT" ]
1
2019-04-11T11:27:01.000Z
2019-04-11T11:27:01.000Z
__all__ = ['deque', 'defaultdict', 'namedtuple', 'UserDict', 'UserList', 'UserString'] # For bootstrapping reasons, the collection ABCs are defined in _abcoll.py. # They should however be considered an integral part of collections.py. from _abcoll import * import _abcoll __all__ += _abcoll.__all__ from _co...
41.049412
126
0.594062
2,146
17,446
4.580615
0.174744
0.104985
0.066938
0.05412
0.338759
0.307731
0.264903
0.25473
0.174466
0.134995
0
0.005692
0.244698
17,446
424
127
41.146226
0.740305
0.118136
0
0.171687
0
0
0.124665
0.008531
0
0
0
0
0.003012
1
0.313253
false
0
0.027108
0.210843
0.581325
0.01506
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
4597ea8c2acc0349a557ccb52566341ca6894798
419
py
Python
testData/inspection/extra.py
KotlinIsland/pydantic-pycharm-plugin
6a20563c3a174931ff49759c713c7fa609a82abb
[ "Apache-2.0", "MIT" ]
238
2019-08-05T12:46:09.000Z
2022-03-25T08:53:25.000Z
testData/inspection/extra.py
koxudaxi/pydantic-pycharm-plugin
e63dba8baa0f0e8db2a453dc7d92a395123e47f0
[ "Apache-2.0", "MIT" ]
415
2019-07-15T17:39:35.000Z
2022-03-31T01:18:38.000Z
testData/inspection/extra.py
KotlinIsland/pydantic-pycharm-plugin
6a20563c3a174931ff49759c713c7fa609a82abb
[ "Apache-2.0", "MIT" ]
7
2019-08-09T01:03:16.000Z
2022-02-08T03:28:19.000Z
from pydantic import BaseModel, Extra class A(BaseModel): class Config: extra = Extra.ignore A(a='123') class B(BaseModel): a: str class Config: extra = Extra.forbid B(a='abc', <error descr="'b' extra fields not permitted">b='123'</error>) class C(BaseModel): id: int class D(C):...
13.966667
73
0.596659
63
419
3.968254
0.444444
0.132
0.192
0.252
0.216
0
0
0
0
0
0
0.032154
0.257757
419
29
74
14.448276
0.771704
0
0
0.294118
0
0
0.093079
0
0
0
0
0
0
0
null
null
0
0.058824
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
45bcd6cb78e90d50808a09275d1b25c5a8f36064
424
py
Python
main.py
Soulzippey/01-Introduction
7f77ef782fe110408d92434b64a317d44be4228b
[ "MIT" ]
null
null
null
main.py
Soulzippey/01-Introduction
7f77ef782fe110408d92434b64a317d44be4228b
[ "MIT" ]
null
null
null
main.py
Soulzippey/01-Introduction
7f77ef782fe110408d92434b64a317d44be4228b
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import utils utils.check_version((3,7)) utils.clear() # My Information print('My name is Wyatt Wilcox') print('My Favorite Game is probably TF2') print('I dont really have concerns') print('Im excited about learning how game engines work and how to program in the game world a bit better') print...
32.615385
106
0.766509
69
424
4.695652
0.753623
0.08642
0
0
0
0
0
0
0
0
0
0.03252
0.129717
424
13
107
32.615385
0.845528
0.084906
0
0
0
0
0.69509
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0.666667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
45cf98ede9bd63d2de95cf023032244ec0fee285
500
py
Python
movies/migrations/0013_auto_20190217_1242.py
karol83/MovieDataBase
53a06c069fccc478dc8b19114fb332bd68512579
[ "MIT" ]
null
null
null
movies/migrations/0013_auto_20190217_1242.py
karol83/MovieDataBase
53a06c069fccc478dc8b19114fb332bd68512579
[ "MIT" ]
null
null
null
movies/migrations/0013_auto_20190217_1242.py
karol83/MovieDataBase
53a06c069fccc478dc8b19114fb332bd68512579
[ "MIT" ]
null
null
null
# Generated by Django 2.1.7 on 2019-02-17 11:42 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('movies', '0012_auto_20190217_1109'), ] operations = [ migrations.RenameField( model_name='ratings', old_name='source', ...
20.833333
47
0.552
50
500
5.34
0.66
0.157303
0.194757
0.224719
0.329588
0.329588
0.329588
0
0
0
0
0.093093
0.334
500
23
48
21.73913
0.708709
0.09
0
0.352941
1
0
0.143488
0.050773
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
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
aff3b81b2ed7c4511cdc7daee76e441e3feb9be1
138
py
Python
django/django_fundamentals/django_intro/survey_project/survey_app/urls.py
fatimaalheeh/python_stack
9ba84e6dc030a65494f105152a97f0a38aa2e4f3
[ "MIT" ]
null
null
null
django/django_fundamentals/django_intro/survey_project/survey_app/urls.py
fatimaalheeh/python_stack
9ba84e6dc030a65494f105152a97f0a38aa2e4f3
[ "MIT" ]
null
null
null
django/django_fundamentals/django_intro/survey_project/survey_app/urls.py
fatimaalheeh/python_stack
9ba84e6dc030a65494f105152a97f0a38aa2e4f3
[ "MIT" ]
null
null
null
from django.conf.urls import url from . import views urlpatterns = [ url('', views.index), url('result', views.submitted_info), ]
19.714286
40
0.681159
18
138
5.166667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.173913
138
7
41
19.714286
0.815789
0
0
0
0
0
0.043165
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
b30afe8a32aeab57a262af168cf9b37c217d3efc
232
py
Python
api/extensions.py
mmvo91/flask-react-starter
926bbc0d956325c0421f7a7ed8c193f955b832fa
[ "MIT" ]
null
null
null
api/extensions.py
mmvo91/flask-react-starter
926bbc0d956325c0421f7a7ed8c193f955b832fa
[ "MIT" ]
null
null
null
api/extensions.py
mmvo91/flask-react-starter
926bbc0d956325c0421f7a7ed8c193f955b832fa
[ "MIT" ]
null
null
null
from flask_bcrypt import Bcrypt from flask_jwt_extended import JWTManager from flask_marshmallow import Marshmallow from flask_sqlalchemy import SQLAlchemy sql = SQLAlchemy() ma = Marshmallow() bcrypt = Bcrypt() jwt = JWTManager()
23.2
41
0.823276
29
232
6.413793
0.37931
0.193548
0
0
0
0
0
0
0
0
0
0
0.125
232
9
42
25.777778
0.916256
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
b3275d9a3c3d413f53cd9670a33a9ed205c96b7f
207
py
Python
webserver/main/forms.py
CCB-SB/Aviator
607d124a807e445b084b5006f20f4dddcc6eedca
[ "MIT" ]
1
2021-12-29T14:33:34.000Z
2021-12-29T14:33:34.000Z
webserver/main/forms.py
CCB-SB/Aviator
607d124a807e445b084b5006f20f4dddcc6eedca
[ "MIT" ]
null
null
null
webserver/main/forms.py
CCB-SB/Aviator
607d124a807e445b084b5006f20f4dddcc6eedca
[ "MIT" ]
1
2021-12-29T14:33:35.000Z
2021-12-29T14:33:35.000Z
from django import forms from captcha.fields import ReCaptchaField from captcha.widgets import ReCaptchaV2Checkbox class CaptchaForm(forms.Form): captcha = ReCaptchaField(widget=ReCaptchaV2Checkbox())
25.875
58
0.830918
22
207
7.818182
0.590909
0.127907
0
0
0
0
0
0
0
0
0
0.01087
0.111111
207
7
59
29.571429
0.923913
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.6
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b3298cdc39bc94a88fcf6eb50c583d9a55423af5
84
py
Python
djangocms_page_tags/__init__.py
Bernardvdv/djangocms-page-tags
64553f07613a2531da7cc31192a46e05c22a046c
[ "BSD-3-Clause" ]
7
2015-08-25T14:44:07.000Z
2018-01-31T18:04:18.000Z
djangocms_page_tags/__init__.py
Bernardvdv/djangocms-page-tags
64553f07613a2531da7cc31192a46e05c22a046c
[ "BSD-3-Clause" ]
20
2015-08-15T07:35:08.000Z
2021-06-25T15:24:06.000Z
djangocms_page_tags/__init__.py
Bernardvdv/djangocms-page-tags
64553f07613a2531da7cc31192a46e05c22a046c
[ "BSD-3-Clause" ]
6
2015-08-11T16:07:49.000Z
2021-06-24T14:12:41.000Z
__version__ = "0.9.1.dev0" __author__ = "Iacopo Spalletti <i.spalletti@nephila.it>"
28
56
0.738095
12
84
4.5
0.916667
0
0
0
0
0
0
0
0
0
0
0.052632
0.095238
84
2
57
42
0.657895
0
0
0
0
0
0.607143
0.285714
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b34f070df4b1c123144d208b15cf89427b2f5f0c
13,118
py
Python
python-packages/contract_wrappers/src/zero_ex/contract_wrappers/__init__.py
dave4506/0x-monorepo
fdcad84cee45781a06cab6b6b17f4a48c275d713
[ "Apache-2.0" ]
2
2019-04-14T01:03:32.000Z
2019-04-14T01:03:33.000Z
python-packages/contract_wrappers/src/zero_ex/contract_wrappers/__init__.py
Lambda07/0x-monorepo
c78a60299053f0ec825bf34dd3ea0cea7bb9365b
[ "Apache-2.0" ]
null
null
null
python-packages/contract_wrappers/src/zero_ex/contract_wrappers/__init__.py
Lambda07/0x-monorepo
c78a60299053f0ec825bf34dd3ea0cea7bb9365b
[ "Apache-2.0" ]
1
2021-05-02T08:24:10.000Z
2021-05-02T08:24:10.000Z
"""Python wrappers for interacting with 0x smart contracts. The smart contract wrappers have simplified interfaces, and perform client-side validation on transactions and throw helpful error messages. Installing ========== Install the 0x-contract-wrappers with pip: ``pip install 0x-contract-wrappers`` Demo ==== We ...
37.161473
78
0.744931
1,595
13,118
6.001881
0.231975
0.012222
0.03677
0.014624
0.365194
0.31265
0.265956
0.254466
0.254466
0.231589
0
0.161652
0.136073
13,118
352
79
37.267045
0.68305
0.991005
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
b37535389d9bb15eee44e84f8e2ac898e9400bb5
8,753
py
Python
photography/serial_numbers.py
RomanKosobrodov/serial-numbers-production-years
69be5eb53dc6e0713ae7c7e948a2121c0afc80d4
[ "MIT" ]
null
null
null
photography/serial_numbers.py
RomanKosobrodov/serial-numbers-production-years
69be5eb53dc6e0713ae7c7e948a2121c0afc80d4
[ "MIT" ]
null
null
null
photography/serial_numbers.py
RomanKosobrodov/serial-numbers-production-years
69be5eb53dc6e0713ae7c7e948a2121c0afc80d4
[ "MIT" ]
null
null
null
RODENSTOCK_SERIAL_NUMBERS = ((1910, 50000), (1920, 200000), (1930, 400000), (1935, 700000), (1938, 900000), (1940, 950000), (1945, 2000000), ...
47.313514
107
0.28733
438
8,753
5.650685
0.650685
0.073535
0.029091
0.037576
0.021818
0
0
0
0
0
0
0.601098
0.625386
8,753
184
108
47.570652
0.153705
0
0
0.022989
0
0
0.008395
0
0
0
0
0
0
1
0
false
0.005747
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
1
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
2fcee6765ac055bf8a72d2f691d1cc7a7a317da5
76
py
Python
httpdbg/__init__.py
cle-b/httpdbg
e6628cf04779fa1615d6620c0c472c34b68ff66c
[ "Apache-2.0" ]
null
null
null
httpdbg/__init__.py
cle-b/httpdbg
e6628cf04779fa1615d6620c0c472c34b68ff66c
[ "Apache-2.0" ]
null
null
null
httpdbg/__init__.py
cle-b/httpdbg
e6628cf04779fa1615d6620c0c472c34b68ff66c
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from .httpdbg import httpdbg __all__ = ["httpdbg"]
15.2
28
0.631579
9
76
4.888889
0.777778
0
0
0
0
0
0
0
0
0
0
0.015873
0.171053
76
4
29
19
0.68254
0.276316
0
0
0
0
0.132075
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
2fda7b4d47527a682655f2c0d676aeda6d74fb18
27,715
py
Python
Virtex.py
CraZzy-Hacked/virtex.py
c5c3cc32187c156f1bb7c16e5d62b376db1f2361
[ "Apache-2.0" ]
1
2020-12-19T13:52:35.000Z
2020-12-19T13:52:35.000Z
Virtex.py
Bot755/Virtex
308b8c85662413bb8772c4ac694ded1cbb026176
[ "Apache-2.0" ]
null
null
null
Virtex.py
Bot755/Virtex
308b8c85662413bb8772c4ac694ded1cbb026176
[ "Apache-2.0" ]
null
null
null
#coding=utf-8 import os,sys,time from getpass import getpass from datetime import datetime try: import requests except ModuleNotFoundError: os.system('pip3 install requests') #RUN FILE INI PAKE PYTHON 3 if sys.version[0] in '2': exit("\033[1;91m[!] JALANKAN SC INI PAKE PYTHON 3") #TEXT BE...
43.372457
4,200
0.606242
4,742
27,715
3.676719
0.123787
0.108517
0.054201
0.07571
0.736851
0.702208
0.642386
0.621681
0.604646
0.597591
0
0.171574
0.140935
27,715
638
4,201
43.440439
0.533538
0.004258
0
0.626446
0
0.104132
0.680283
0.150935
0
0
0
0
0
1
0.009917
false
0.003306
0.008264
0
0.018182
0.056198
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2fdd6a02ebdb9f636f97d5c2dba140bcb0791310
698
py
Python
pavo_cristatus/tests/doubles/module_fakes/annotated/module_fake_class_with_nested_lambda_decorated_classes.py
MATTHEWFRAZER/pavo_cristatus
a4b96c0eb6c454fbe38d2092e29f63457a4ee955
[ "MIT" ]
null
null
null
pavo_cristatus/tests/doubles/module_fakes/annotated/module_fake_class_with_nested_lambda_decorated_classes.py
MATTHEWFRAZER/pavo_cristatus
a4b96c0eb6c454fbe38d2092e29f63457a4ee955
[ "MIT" ]
null
null
null
pavo_cristatus/tests/doubles/module_fakes/annotated/module_fake_class_with_nested_lambda_decorated_classes.py
MATTHEWFRAZER/pavo_cristatus
a4b96c0eb6c454fbe38d2092e29f63457a4ee955
[ "MIT" ]
null
null
null
from pavo_cristatus.tests.doubles.module_fakes.module_fake_class import ModuleFakeClass from trochilidae.interoperable_with_metaclass import interoperable_with_metaclass_future __all__ = ["ModuleFakeClassWithNestedLambdaDecoratedClasses"] class ModuleFakeClassWithNestedLambdaDecoratedClasses(interoperable_with_metac...
43.625
118
0.782235
86
698
6.081395
0.593023
0.097514
0.14914
0.114723
0.135755
0.135755
0
0
0
0
0
0
0.15616
698
15
119
46.533333
0.887946
0.154728
0
0
0
0
0.079932
0.079932
0
0
0
0.066667
0
1
0.333333
false
0.222222
0.222222
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
2ff28ec0b35e069fcd1fcb0fd1c28796a8a39b1b
4,247
py
Python
src/cool/cmp/.ipynb_checkpoints/utils-checkpoint.py
Men-in-Code/cool-compiler-2021
eb4dbb40f4d1e275176796cad2f1731d332ce7d2
[ "MIT" ]
1
2019-12-23T20:42:59.000Z
2019-12-23T20:42:59.000Z
src/cool/cmp/.ipynb_checkpoints/utils-checkpoint.py
Men-in-Code/cool-compiler-2021
eb4dbb40f4d1e275176796cad2f1731d332ce7d2
[ "MIT" ]
null
null
null
src/cool/cmp/.ipynb_checkpoints/utils-checkpoint.py
Men-in-Code/cool-compiler-2021
eb4dbb40f4d1e275176796cad2f1731d332ce7d2
[ "MIT" ]
1
2022-03-13T23:05:33.000Z
2022-03-13T23:05:33.000Z
from cmp.pycompiler import Production, Sentence, Symbol, EOF, Epsilon class ContainerSet: def __init__(self, *values, contains_epsilon=False): self.set = set(values) self.contains_epsilon = contains_epsilon def add(self, value): n = len(self.set) self.set.add(value) ret...
30.120567
146
0.586296
520
4,247
4.617308
0.176923
0.087464
0.063307
0.018326
0.194086
0.157434
0.06414
0.029155
0.029155
0
0
0.00099
0.28632
4,247
141
147
30.120567
0.791158
0.025194
0
0.171429
0
0.019048
0.125823
0.015362
0
0
0
0
0
1
0.219048
false
0
0.009524
0.114286
0.533333
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ff2e5817051b67e5ed1a46cb3a57e5811527e985
2,102
py
Python
bromine/django_admin.py
dvarrazzo/bromine
d82c46a32e9825c6e3e24a51089a8abf04c0b7ce
[ "MIT" ]
9
2020-02-29T14:54:31.000Z
2021-10-13T18:22:24.000Z
bromine/django_admin.py
dvarrazzo/bromine
d82c46a32e9825c6e3e24a51089a8abf04c0b7ce
[ "MIT" ]
null
null
null
bromine/django_admin.py
dvarrazzo/bromine
d82c46a32e9825c6e3e24a51089a8abf04c0b7ce
[ "MIT" ]
1
2020-02-01T11:28:13.000Z
2020-02-01T11:28:13.000Z
class DjangoAdminMixin: """A mixin to add django-admin utilities to a browser. """ def click_save(self): return self(xpath="//input[@name='_save']").click() def click_save_cont(self): return self(xpath="//input[@name='_continue']").click() def click_save_add(self): return ...
25.634146
70
0.604662
240
2,102
5.095833
0.295833
0.07359
0.045789
0.065413
0.376124
0.376124
0.307441
0.307441
0.307441
0.307441
0
0
0.263083
2,102
81
71
25.950617
0.789542
0.024263
0
0.293103
0
0
0.122549
0.037255
0
0
0
0
0
1
0.293103
false
0
0
0.172414
0.603448
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
ff3322e265b0d458d1253db64fb618b853b7af0b
282
py
Python
testrun.py
RAvenGEr/puncover
3c98165526086cf80433046401dd720f675f3b7e
[ "MIT" ]
null
null
null
testrun.py
RAvenGEr/puncover
3c98165526086cf80433046401dd720f675f3b7e
[ "MIT" ]
null
null
null
testrun.py
RAvenGEr/puncover
3c98165526086cf80433046401dd720f675f3b7e
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """Convenience wrapper for running directly from source tree.""" import unittest from tests.test_contextfilter import TestBacktraceHelper from tests.test_collector import TestCollector if __name__ == '__main__': unittest.main()
21.692308
64
0.755319
34
282
5.970588
0.764706
0.08867
0.128079
0
0
0
0
0
0
0
0
0.004098
0.134752
282
12
65
23.5
0.827869
0.358156
0
0
0
0
0.045977
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
ff3ff024afab2241283e0fc8d40d5e5b6a656b0d
1,180
py
Python
app/models.py
benjefferies/nanonotificationsaccount
11348a0ccd7c695c54bb224735700d528324dd95
[ "MIT" ]
1
2018-02-05T20:04:37.000Z
2018-02-05T20:04:37.000Z
app/models.py
benjefferies/nanonotificationsaccount
11348a0ccd7c695c54bb224735700d528324dd95
[ "MIT" ]
18
2018-02-07T08:50:02.000Z
2019-06-12T11:04:40.000Z
app/models.py
benjefferies/nanonotifyaccount
11348a0ccd7c695c54bb224735700d528324dd95
[ "MIT" ]
null
null
null
import uuid from sqlalchemy import Column, String, Binary, types from app.database import Base class UUID(types.TypeDecorator): impl = Binary class Subscription(Base): __tablename__ = 'subscription' id = Column(String, primary_key=True, default=uuid.uuid4) email = Column(String) webhook = Colu...
21.851852
61
0.648305
135
1,180
5.474074
0.318519
0.129905
0.069012
0.05954
0.143437
0
0
0
0
0
0
0.002278
0.255932
1,180
53
62
22.264151
0.839408
0
0
0.289474
0
0
0.021186
0
0
0
0
0
0
1
0.184211
false
0.078947
0.078947
0.131579
0.736842
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
1
0
0
3
ff40e70b936a91e0765aff627a7509cce35d7a87
8,719
py
Python
sympy/vector/tests/test_functions.py
msgoff/sympy
1e7daef7514902f5e89718fa957b7b36c6669a10
[ "BSD-3-Clause" ]
null
null
null
sympy/vector/tests/test_functions.py
msgoff/sympy
1e7daef7514902f5e89718fa957b7b36c6669a10
[ "BSD-3-Clause" ]
null
null
null
sympy/vector/tests/test_functions.py
msgoff/sympy
1e7daef7514902f5e89718fa957b7b36c6669a10
[ "BSD-3-Clause" ]
null
null
null
from sympy.vector.vector import Vector from sympy.vector.coordsysrect import CoordSys3D from sympy.vector.functions import express, matrix_to_vector, orthogonalize from sympy import symbols, S, sqrt, sin, cos, ImmutableMatrix as Matrix, Rational from sympy.testing.pytest import raises N = CoordSys3D("N") q1, q2, q3, q...
37.260684
84
0.475169
1,578
8,719
2.611534
0.048162
0.205047
0.132492
0.058238
0.78015
0.720699
0.607377
0.566853
0.475613
0.449891
0
0.050658
0.293612
8,719
233
85
37.420601
0.618445
0.016401
0
0.244131
0
0
0.002567
0
0
0
0
0
0.441315
1
0.014085
false
0
0.023474
0
0.037559
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
ff416ae5945200d021e36316a5ac234ac75bc67f
89
py
Python
logging_server/__init__.py
Geson-anko/logging_server
4617e6a971c81fc4df1cad1c35cdae5f09e20382
[ "MIT" ]
1
2022-03-29T23:00:56.000Z
2022-03-29T23:00:56.000Z
logging_server/__init__.py
Geson-anko/logging_server
4617e6a971c81fc4df1cad1c35cdae5f09e20382
[ "MIT" ]
1
2022-03-23T11:54:02.000Z
2022-03-23T11:54:02.000Z
logging_server/__init__.py
Geson-anko/logging_server
4617e6a971c81fc4df1cad1c35cdae5f09e20382
[ "MIT" ]
null
null
null
from .server import LoggingServer from .logger import SocketLogger __version__ = '1.0.1'
22.25
33
0.797753
12
89
5.583333
0.75
0
0
0
0
0
0
0
0
0
0
0.038462
0.123596
89
3
34
29.666667
0.820513
0
0
0
0
0
0.05618
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ff4f99bd4c24cefd556dcc163cd641fcff04dffc
851
py
Python
github/test_githubIssueObject.py
mate3241/github-rpg
5d0e094592c8b3d6c3d604f90fafccc0128b9a7e
[ "Apache-2.0" ]
22
2017-08-26T01:31:41.000Z
2021-12-14T03:30:16.000Z
github/test_githubIssueObject.py
mate3241/github-rpg
5d0e094592c8b3d6c3d604f90fafccc0128b9a7e
[ "Apache-2.0" ]
4
2017-08-18T15:20:00.000Z
2017-08-18T15:20:00.000Z
github/test_githubIssueObject.py
mate3241/github-rpg
5d0e094592c8b3d6c3d604f90fafccc0128b9a7e
[ "Apache-2.0" ]
6
2020-07-12T03:30:59.000Z
2021-12-14T03:31:29.000Z
from unittest import TestCase from github.github_issue_object import GithubIssueObject class TestGithubIssueObject(TestCase): def test_get_difficulty(self): self.assertEqual(GithubIssueObject.get_difficulty('difficulty: trivial'), 0.1, 'difficulty should have been 0.5') self.assertEqual(GithubIss...
60.785714
121
0.762632
99
851
6.454545
0.282828
0.14241
0.300469
0.328639
0.704225
0.625978
0.397496
0.222222
0.222222
0.222222
0
0.02171
0.13396
851
13
122
65.461538
0.845319
0
0
0
0
0
0.309048
0
0
0
0
0
0.6
1
0.1
false
0
0.2
0
0.4
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
1
0
0
0
0
0
0
0
0
0
3
ff831f76c129cb8893a9bab0bba6bf1c56e877cf
4,090
py
Python
advent/days/day24/instruction.py
RuedigerLudwig/advent2021
ce069d485bb34b4752ec4e89f195f7cc8cf084cc
[ "Unlicense" ]
null
null
null
advent/days/day24/instruction.py
RuedigerLudwig/advent2021
ce069d485bb34b4752ec4e89f195f7cc8cf084cc
[ "Unlicense" ]
null
null
null
advent/days/day24/instruction.py
RuedigerLudwig/advent2021
ce069d485bb34b4752ec4e89f195f7cc8cf084cc
[ "Unlicense" ]
null
null
null
import abc from typing import Callable, Iterator class Operation(abc.ABC): @abc.abstractmethod def __call__(self, registers: list[int], input: Iterator[int]) -> list[int]: ... @abc.abstractmethod def name(self) -> str: ... @abc.abstractmethod def value(self) -> int: ....
28.802817
100
0.583619
547
4,090
4.135283
0.109689
0.017683
0.039788
0.034483
0.547303
0.519452
0.513263
0.497347
0.477896
0.389478
0
0.001042
0.295844
4,090
141
101
29.007092
0.784375
0
0
0.444444
0
0
0.022005
0
0
0
0
0
0
1
0.25
false
0
0.018519
0.12037
0.537037
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
ff99b69946e1857ddc8fc09a1de94077b4c95d45
62
py
Python
samples/src/main/resources/datasets/python/93.py
sritchie/kotlingrad
8165ed1cd77220a5347c58cded4c6f2bcf22ee30
[ "Apache-2.0" ]
11
2020-12-19T01:19:44.000Z
2021-12-25T20:43:33.000Z
src/main/resources/datasets/python/93.py
breandan/katholic
081c39f3acc73ff41f5865563debe78a36e1038f
[ "Apache-2.0" ]
null
null
null
src/main/resources/datasets/python/93.py
breandan/katholic
081c39f3acc73ff41f5865563debe78a36e1038f
[ "Apache-2.0" ]
2
2021-01-25T07:59:20.000Z
2021-08-07T07:13:49.000Z
def test5(list): for a, (x, y) in list: z = y + 1
15.5
26
0.435484
12
62
2.25
0.833333
0
0
0
0
0
0
0
0
0
0
0.054054
0.403226
62
3
27
20.666667
0.675676
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
ffa2efeb98f0dd054515290355378c843f750d55
16
py
Python
tests/snippets/za.py
admariner/jurigged
34459a5fd3300447ecbc1f943a9939d350639083
[ "MIT" ]
null
null
null
tests/snippets/za.py
admariner/jurigged
34459a5fd3300447ecbc1f943a9939d350639083
[ "MIT" ]
1
2021-11-11T16:49:33.000Z
2021-11-11T16:49:33.000Z
tests/snippets/za.py
admariner/jurigged
34459a5fd3300447ecbc1f943a9939d350639083
[ "MIT" ]
null
null
null
word = "tyrant"
8
15
0.625
2
16
5
1
0
0
0
0
0
0
0
0
0
0
0
0.1875
16
1
16
16
0.769231
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
ffaa391de17860f5ff7c2629989fc5d4d42fe9e0
1,886
py
Python
.ci/travis_generate.py
minemebarsha/smtrat
eaada50cdf9bbfe4dd4f6a54776387484c37b0f2
[ "MIT" ]
null
null
null
.ci/travis_generate.py
minemebarsha/smtrat
eaada50cdf9bbfe4dd4f6a54776387484c37b0f2
[ "MIT" ]
null
null
null
.ci/travis_generate.py
minemebarsha/smtrat
eaada50cdf9bbfe4dd4f6a54776387484c37b0f2
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import sys if len(sys.argv) > 1: sys.path.insert(0, sys.argv[1]) from travis_helper import * jobs = [ job("0-clang", ["dependencies", "linux", "clang-5.0", "build.sh"]), job("0-clang", ["build", "linux", "clang-5.0", "build.sh"]), job("0-clang", ["dependencies", "linux", "clang-6.0", "bui...
41.911111
84
0.563627
273
1,886
3.886447
0.175824
0.158341
0.171536
0.192271
0.778511
0.762488
0.731385
0.62771
0.455231
0.200754
0
0.046099
0.102863
1,886
44
85
42.863636
0.580969
0.011135
0
0
0
0
0.521996
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.055556
0
0
0
0
null
0
0
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
44078e7c6fde95cd92cba5489ffc5b96be6c86b5
439
py
Python
nbdev_rg78/core.py
randomgeek78/nbdev_rg78
fe0a1c055d9a2c0639258bdb0e766666af42f223
[ "Apache-2.0" ]
null
null
null
nbdev_rg78/core.py
randomgeek78/nbdev_rg78
fe0a1c055d9a2c0639258bdb0e766666af42f223
[ "Apache-2.0" ]
1
2021-09-28T03:19:21.000Z
2021-09-28T03:19:21.000Z
nbdev_rg78/core.py
randomgeek78/nbdev_rg78
fe0a1c055d9a2c0639258bdb0e766666af42f223
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: 00_core.ipynb (unless otherwise specified). __all__ = ['double', 'triple', 'power'] # Cell def double(x): """Doubles an input number >>> double(2) 4 """ return x * 2 # Cell def triple(x): """ Triples an input number >>> triple(3) 9 "...
12.911765
87
0.523918
60
439
3.75
0.533333
0.093333
0.115556
0
0
0
0
0
0
0
0
0.036667
0.316629
439
33
88
13.30303
0.713333
0.487472
0
0
1
0
0.10303
0
0
0
0
0
0
1
0.428571
false
0
0
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
4407c85d1f8d1d5b4a0ca634d46b2314ad7d8993
116
py
Python
users/urls.py
Mohamed-Kaizen/django_playground
0ca623041857f15c06bd2f9c8edcd2b54b4c4897
[ "MIT" ]
null
null
null
users/urls.py
Mohamed-Kaizen/django_playground
0ca623041857f15c06bd2f9c8edcd2b54b4c4897
[ "MIT" ]
3
2021-06-08T21:15:15.000Z
2022-03-12T00:35:49.000Z
users/urls.py
Mohamed-Kaizen/django_playground
0ca623041857f15c06bd2f9c8edcd2b54b4c4897
[ "MIT" ]
null
null
null
"""users REST API URL Configuration""" from django.urls import include, path app_name = "users" urlpatterns = []
14.5
38
0.715517
15
116
5.466667
0.933333
0
0
0
0
0
0
0
0
0
0
0
0.163793
116
7
39
16.571429
0.845361
0.275862
0
0
0
0
0.064103
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
4409844367195e663051228abc4478cb779f87fb
707
py
Python
src/oscar/apps/communication/migrations/0002_reset_table_names.py
QueoLda/django-oscar
8dd992d82e31d26c929b3caa0e08b57e9701d097
[ "BSD-3-Clause" ]
4,639
2015-01-01T00:42:33.000Z
2022-03-29T18:32:12.000Z
src/oscar/apps/communication/migrations/0002_reset_table_names.py
QueoLda/django-oscar
8dd992d82e31d26c929b3caa0e08b57e9701d097
[ "BSD-3-Clause" ]
2,215
2015-01-02T22:32:51.000Z
2022-03-29T12:16:23.000Z
src/oscar/apps/communication/migrations/0002_reset_table_names.py
QueoLda/django-oscar
8dd992d82e31d26c929b3caa0e08b57e9701d097
[ "BSD-3-Clause" ]
2,187
2015-01-02T06:33:31.000Z
2022-03-31T15:32:36.000Z
# Generated by Django 2.0.13 on 2019-04-30 16:35 from django.db import migrations class Migration(migrations.Migration): atomic = False dependencies = [ ('communication', '0001_initial'), ('order', '0008_auto_20190301_1035'), ] operations = [ # Alter the names of the tables...
22.806452
70
0.571429
66
707
6.060606
0.712121
0.1875
0.2175
0.17
0.19
0
0
0
0
0
0
0.076433
0.333805
707
30
71
23.566667
0.772824
0.18529
0
0.428571
1
0
0.160839
0.078671
0
0
0
0
0
1
0
false
0
0.047619
0
0.238095
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
4409dad203669183fd39a1aacf08d7185d984f35
5,123
py
Python
usaspending_api/spending_explorer/v2/filters/spending_filter.py
g4brielvs/usaspending-api
bae7da2c204937ec1cdf75c052405b13145728d5
[ "CC0-1.0" ]
217
2016-11-03T17:09:53.000Z
2022-03-10T04:17:54.000Z
usaspending_api/spending_explorer/v2/filters/spending_filter.py
g4brielvs/usaspending-api
bae7da2c204937ec1cdf75c052405b13145728d5
[ "CC0-1.0" ]
622
2016-09-02T19:18:23.000Z
2022-03-29T17:11:01.000Z
usaspending_api/spending_explorer/v2/filters/spending_filter.py
g4brielvs/usaspending-api
bae7da2c204937ec1cdf75c052405b13145728d5
[ "CC0-1.0" ]
93
2016-09-07T20:28:57.000Z
2022-02-25T00:25:27.000Z
import logging from django.db.models import Q from usaspending_api.references.models import ToptierAgency from usaspending_api.common.exceptions import InvalidParameterException logger = logging.getLogger(__name__) def spending_filter(alt_set, queryset, filters, _type): for key, value in filters.items(): ...
40.023438
118
0.603553
513
5,123
5.62963
0.183236
0.047784
0.041551
0.033241
0.797438
0.762465
0.717798
0.705332
0.633657
0.598338
0
0
0.323053
5,123
127
119
40.338583
0.832757
0.067929
0
0.289157
0
0
0.165334
0
0
0
0
0
0
1
0.012048
false
0
0.048193
0
0.072289
0
0
0
0
null
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
442b3dc9b7e6d2109bbf2cdf44364d217d2f288c
961
py
Python
chatbot-intent-classifier/pre_processor.py
poojathakoor/chatbot-intent-classifier
33c69b1cc2941c53c0df608b530e074e1b190f0b
[ "Apache-2.0" ]
null
null
null
chatbot-intent-classifier/pre_processor.py
poojathakoor/chatbot-intent-classifier
33c69b1cc2941c53c0df608b530e074e1b190f0b
[ "Apache-2.0" ]
null
null
null
chatbot-intent-classifier/pre_processor.py
poojathakoor/chatbot-intent-classifier
33c69b1cc2941c53c0df608b530e074e1b190f0b
[ "Apache-2.0" ]
null
null
null
from gensim.parsing import preprocessing class PreProcessor: def process(self, query, stop_word=True): if not stop_word: query = preprocessing.preprocess_string(query,filters=[lambda x: x.lower(), preprocessing.strip_tags, ...
53.388889
104
0.404787
59
961
6.40678
0.576271
0.238095
0.148148
0.179894
0.206349
0
0
0
0
0
0
0
0.552549
961
18
105
53.388889
0.87907
0.003122
0
0
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0.066667
0
0.266667
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4434f806b213b1f7bf6cf50eba49c8b1be6e981b
126
py
Python
internals/python/test.py
kevingbrady/bluetooth-gui
3ba73f98c43b8d34e1883a10ef1e88514bd45518
[ "MIT" ]
null
null
null
internals/python/test.py
kevingbrady/bluetooth-gui
3ba73f98c43b8d34e1883a10ef1e88514bd45518
[ "MIT" ]
9
2020-09-04T16:53:01.000Z
2022-03-25T18:39:02.000Z
internals/python/test.py
kevingbrady/bluetooth-gui
3ba73f98c43b8d34e1883a10ef1e88514bd45518
[ "MIT" ]
null
null
null
if __name__ == '__main__': command = 62 hex_command = '0x08' print(hex(command)) print(int(hex_command, 0))
15.75
30
0.611111
16
126
4.1875
0.625
0.447761
0
0
0
0
0
0
0
0
0
0.063158
0.246032
126
7
31
18
0.642105
0
0
0
0
0
0.095238
0
0
0
0.031746
0
0
1
0
false
0
0
0
0
0.4
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
443dcca54029ea610cb26fb7d3b5f1c85a8baa32
528
py
Python
POO/arquivos-livro/05/Python3/main.py
ell3a/estudos-python
09808a462aa3e73ad433501acb11f62217548af8
[ "MIT" ]
null
null
null
POO/arquivos-livro/05/Python3/main.py
ell3a/estudos-python
09808a462aa3e73ad433501acb11f62217548af8
[ "MIT" ]
null
null
null
POO/arquivos-livro/05/Python3/main.py
ell3a/estudos-python
09808a462aa3e73ad433501acb11f62217548af8
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # coding: utf-8 """ Exemplo do uso da classe Carro """ from carro import Carro ESTACIONAMENTO = list() for i in range(0, 5): OBJ = Carro() ESTACIONAMENTO.append(OBJ) ESTACIONAMENTO[0].set_modelo('Monza') ESTACIONAMENTO[0].set_cor('azul') ESTACIONAMENTO[0].set_ano(1992) ESTACIONAMENTO[0].s...
19.555556
56
0.710227
74
528
4.972973
0.527027
0.244565
0.244565
0.171196
0
0
0
0
0
0
0
0.041394
0.130682
528
26
57
20.307692
0.760349
0.119318
0
0
0
0
0.046053
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.066667
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
4453ed9d1679701ed39d1e2878ede1b362926aff
148
py
Python
evernote_backup/config.py
bkono/evernote-backup
0a50796e714062400551c303b4348eada66a6de0
[ "MIT" ]
null
null
null
evernote_backup/config.py
bkono/evernote-backup
0a50796e714062400551c303b4348eada66a6de0
[ "MIT" ]
null
null
null
evernote_backup/config.py
bkono/evernote-backup
0a50796e714062400551c303b4348eada66a6de0
[ "MIT" ]
null
null
null
API_DATA = b"Q0sJVEtPDWt7bmg2YnhtY344enZlMSRsPjxtaTI7P2Q0PTRhNWc=" API_DATA_OAUTH = b"eW91c3V3dn9mYjF2az48bzM7Pm4wZzdlZzpk" CURRENT_DB_VERSION = 3
29.6
66
0.878378
13
148
9.615385
0.769231
0.112
0
0
0
0
0
0
0
0
0
0.144928
0.067568
148
4
67
37
0.76087
0
0
0
0
0
0.594595
0.594595
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
4458de30948950a40bf4665830047422815832a6
57,150
py
Python
components/wifi_server/app/database.py
AustinHellerRepo/ArduinoBluetoothInterface
4b5a4c94c7111bb3870db6b622809b5dfd497443
[ "MIT" ]
1
2021-10-14T20:36:42.000Z
2021-10-14T20:36:42.000Z
components/wifi_server/app/database.py
AustinHellerRepo/DeviceMessagingSystem
4b5a4c94c7111bb3870db6b622809b5dfd497443
[ "MIT" ]
null
null
null
components/wifi_server/app/database.py
AustinHellerRepo/DeviceMessagingSystem
4b5a4c94c7111bb3870db6b622809b5dfd497443
[ "MIT" ]
null
null
null
from __future__ import annotations from enum import IntEnum import sqlite3 import uuid from datetime import datetime from typing import Tuple, List, Dict import threading class Purpose(IntEnum): DoorLight = 1, DeskController = 2 class ApiEntrypoint(IntEnum): TestGet = 1, TestPost = 2, TestJson = 3, V1Receiv...
31.820713
251
0.75727
6,929
57,150
5.737047
0.036658
0.165853
0.10807
0.162105
0.820537
0.763106
0.69589
0.651288
0.609278
0.571518
0
0.003016
0.164427
57,150
1,795
252
31.83844
0.829435
0.004759
0
0.547603
0
0.00135
0.369834
0.134281
0
0
0
0
0
1
0.070223
false
0
0.004727
0.036462
0.143822
0
0
0
0
null
0
0
1
1
1
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
445d7d81d4203b583f502a76811ad6a34b3df528
286
py
Python
mumoco/errors.py
disroop/mumoco
befa7f1c83c3880be6696f96b5cdb9b094b1a8cb
[ "MIT" ]
3
2021-05-29T23:26:48.000Z
2022-01-12T16:20:47.000Z
mumoco/errors.py
disroop/mumoco
befa7f1c83c3880be6696f96b5cdb9b094b1a8cb
[ "MIT" ]
72
2021-05-26T19:04:40.000Z
2022-03-31T17:18:00.000Z
mumoco/errors.py
disroop/mumoco
befa7f1c83c3880be6696f96b5cdb9b094b1a8cb
[ "MIT" ]
1
2021-05-30T15:34:40.000Z
2021-05-30T15:34:40.000Z
from typing import Any class Error(Exception): """Base class for our own errors.""" def __init__(self, *args: Any) -> None: super().__init__(self, *args) self.message = " ".join(str(x) for x in args) def __str__(self) -> str: return self.message
22
53
0.601399
39
286
4.102564
0.615385
0.1
0.15
0
0
0
0
0
0
0
0
0
0.258741
286
12
54
23.833333
0.754717
0.104895
0
0
0
0
0.004
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4461487026fafcb88c1896f3c0cb018afbc60dba
1,836
py
Python
ldapcherry/ppolicy/__init__.py
foomip/ldapcherry
04f05a79ad2d1ba649e5a36a46f7f44483719b83
[ "MIT" ]
229
2015-07-21T06:39:50.000Z
2022-03-19T13:51:31.000Z
ldapcherry/ppolicy/__init__.py
foomip/ldapcherry
04f05a79ad2d1ba649e5a36a46f7f44483719b83
[ "MIT" ]
66
2016-06-18T14:12:16.000Z
2021-09-02T03:47:18.000Z
ldapcherry/ppolicy/__init__.py
foomip/ldapcherry
04f05a79ad2d1ba649e5a36a46f7f44483719b83
[ "MIT" ]
76
2016-06-18T12:48:32.000Z
2022-03-21T13:41:38.000Z
# -*- coding: utf-8 -*- # vim:set expandtab tabstop=4 shiftwidth=4: # # The MIT License (MIT) # LdapCherry # Copyright (c) 2014 Carpentier Pierre-Francois from ldapcherry.exceptions import MissingParameter class PPolicy: def __init__(self, config, logger): """ Password policy constructor :param...
30.6
66
0.613834
219
1,836
5.123288
0.410959
0.035651
0.040107
0
0
0
0
0
0
0
0
0.005521
0.309368
1,836
59
67
31.118644
0.879338
0.558824
0
0
0
0
0.123333
0
0
0
0
0
0
1
0.25
false
0.25
0.0625
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
1
0
1
0
0
1
0
0
3
4472b3eed806834391222379e5c5451316a249a6
3,502
py
Python
trlib/environments/__init__.py
albertometelli/pfqi
84901d291e759cb4e2471f0b2ba521acad6ac335
[ "MIT" ]
2
2021-02-16T19:09:44.000Z
2021-04-27T15:25:41.000Z
trlib/environments/__init__.py
albertometelli/pfqi
84901d291e759cb4e2471f0b2ba521acad6ac335
[ "MIT" ]
null
null
null
trlib/environments/__init__.py
albertometelli/pfqi
84901d291e759cb4e2471f0b2ba521acad6ac335
[ "MIT" ]
null
null
null
from .acrobot_multitask import AcrobotMultitask from .dam import Dam from .puddleworld import PuddleWorld from gym.envs.registration import register from .ags_base import TradingMain from .ags_derivatives import TradingDerivatives from .ags_prices import TradingPrices register( id='Dam-v0', entry_point='trlib...
22.448718
79
0.678469
397
3,502
5.793451
0.191436
0.086957
0.130435
0.234783
0.713043
0.587826
0.526522
0.51913
0.51913
0.461739
0
0.050593
0.181611
3,502
156
80
22.448718
0.751919
0
0
0.473684
0
0
0.500428
0.415073
0
0
0
0
0
1
0
true
0
0.052632
0
0.052632
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
1
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
922b213e45aacfc87335c10e6b86f052a3c1bf99
775
py
Python
parser/graph_transformer.py
joeflack4/knowledge-graph-change-language
cf8d73bdcd86c6eb9e0482ea37ddfff0aaadc837
[ "CC0-1.0" ]
12
2021-06-18T04:08:18.000Z
2022-03-28T15:06:15.000Z
parser/graph_transformer.py
joeflack4/knowledge-graph-change-language
cf8d73bdcd86c6eb9e0482ea37ddfff0aaadc837
[ "CC0-1.0" ]
20
2021-04-27T02:15:20.000Z
2022-03-21T21:11:00.000Z
parser/graph_transformer.py
joeflack4/knowledge-graph-change-language
cf8d73bdcd86c6eb9e0482ea37ddfff0aaadc837
[ "CC0-1.0" ]
4
2021-05-25T06:37:52.000Z
2022-01-07T17:44:01.000Z
import kgcl_2_sparql import rdflib # used for local testing def transform(kgclInstance): # test with obi_core g = rdflib.Graph() g.load("testData/obi_core.nt", format="nt") query = kgcl_2_sparql.convert(kgclInstance) g.update(query) g.serialize(destination="testData/output.nt", format="nt") ...
21.527778
62
0.682581
107
775
4.813084
0.28972
0.038835
0.085437
0.093204
0.817476
0.772816
0.652427
0.652427
0.652427
0.652427
0
0.006452
0.2
775
35
63
22.142857
0.824194
0.107097
0
0.631579
0
0
0.122271
0
0
0
0
0
0
1
0.157895
false
0
0.105263
0
0.263158
0
0
0
0
null
0
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9237a397108727ce1c2fdb76485ca1d620ae63e2
589
py
Python
Regex.lookaround.py
eltechno/python_course
f74abac7df3f9f41864afd06479389260c29ea3a
[ "MIT" ]
4
2019-05-04T00:33:25.000Z
2021-05-29T20:37:59.000Z
Regex.lookaround.py
eltechno/python_course
f74abac7df3f9f41864afd06479389260c29ea3a
[ "MIT" ]
null
null
null
Regex.lookaround.py
eltechno/python_course
f74abac7df3f9f41864afd06479389260c29ea3a
[ "MIT" ]
3
2020-05-05T13:14:28.000Z
2022-02-03T16:18:37.000Z
import re #positive lookaround my_text =" tweets.txt transferred, mypass.txt transferred, keyworkds.txt error" print( re.findall(r"\w+\.txt(?=\stransferred)", my_text)) #negative lookaround print( re.findall(r"\w+\.txt(?!\stransferred)", my_text)) #positive lookbehind my_text2 = "Member: Angus Young, Member: Chris Sl...
36.8125
95
0.721562
92
589
4.543478
0.478261
0.066986
0.133971
0.143541
0.177033
0.177033
0.177033
0.177033
0.177033
0
0
0.007634
0.110357
589
15
96
39.266667
0.790076
0.129032
0
0
0
0
0.624754
0.182711
0
0
0
0
0
1
0
false
0.125
0.125
0
0.125
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
1
0
null
0
0
0
0
0
0
0
1
0
0
0
1
0
3
923d228c7e433d82e53e54df8174832c5751c251
213
py
Python
app/bets/forms.py
caulagi/shakuni
f027810bc72b55da302d6672cd64fdf7c92f1661
[ "MIT" ]
null
null
null
app/bets/forms.py
caulagi/shakuni
f027810bc72b55da302d6672cd64fdf7c92f1661
[ "MIT" ]
null
null
null
app/bets/forms.py
caulagi/shakuni
f027810bc72b55da302d6672cd64fdf7c92f1661
[ "MIT" ]
null
null
null
from flask.ext.wtf import Form from wtforms import TextField, DecimalField, IntegerField from wtforms.validators import Required class BetForm(Form): amount = DecimalField() outcome = IntegerField()
23.666667
57
0.765258
24
213
6.791667
0.666667
0.134969
0
0
0
0
0
0
0
0
0
0
0.169014
213
8
58
26.625
0.920904
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
924d83cc32a09583d8f91f63cd9107ec488ce3ba
216
py
Python
bot/src/common/enums/trading_type.py
Shimada666/BadGo
162532f0578bc30c141c1f12c5da4103ff5aceda
[ "MIT" ]
null
null
null
bot/src/common/enums/trading_type.py
Shimada666/BadGo
162532f0578bc30c141c1f12c5da4103ff5aceda
[ "MIT" ]
null
null
null
bot/src/common/enums/trading_type.py
Shimada666/BadGo
162532f0578bc30c141c1f12c5da4103ff5aceda
[ "MIT" ]
null
null
null
import enum from src.common.enums import EnumIns class TradingType(EnumIns, enum.Enum): RP = EnumIns(code=0, description='人品插件') BLACKJACK = EnumIns(code=1, description='21点') print(TradingType.RP.code)
18
50
0.731481
29
216
5.448276
0.62069
0.139241
0
0
0
0
0
0
0
0
0
0.021622
0.143519
216
11
51
19.636364
0.832432
0
0
0
0
0
0.032407
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.833333
0.166667
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
925457840c66ec6a427ef9699a54311e9b0de063
235
py
Python
nick_derobertis_site/software_page/software_card/software_card_component.py
nickderobertis/nick-derobertis-site
386061dc258921eed41f2d3965ef69e02adde7ba
[ "MIT" ]
1
2022-03-31T10:55:40.000Z
2022-03-31T10:55:40.000Z
nick_derobertis_site/software_page/software_card/software_card_component.py
nickderobertis/nick-derobertis-site
386061dc258921eed41f2d3965ef69e02adde7ba
[ "MIT" ]
8
2020-08-28T11:44:37.000Z
2020-08-31T09:19:19.000Z
nick_derobertis_site/software_page/software_card/software_card_component.py
nickderobertis/nick-derobertis-site
386061dc258921eed41f2d3965ef69e02adde7ba
[ "MIT" ]
null
null
null
import param from nick_derobertis_site.common.component import HTMLComponent from .software_card_model import SoftwareCardModel class SoftwareCardComponent(HTMLComponent): model = param.ClassSelector(class_=SoftwareCardModel)
21.363636
63
0.851064
24
235
8.125
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.102128
235
10
64
23.5
0.924171
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.6
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
0
0
1
0
1
0
0
3
925db6bade01be9ad0483037b6ece13a15e818e8
369
py
Python
utils/OCR.py
L1NNA/Covid19-ScamHunter
2ae0c8cadf53313135a34793c362e9fc75dce406
[ "Apache-2.0" ]
1
2020-04-02T15:04:55.000Z
2020-04-02T15:04:55.000Z
utils/OCR.py
L1NNA/Covid19-ScamHunter
2ae0c8cadf53313135a34793c362e9fc75dce406
[ "Apache-2.0" ]
null
null
null
utils/OCR.py
L1NNA/Covid19-ScamHunter
2ae0c8cadf53313135a34793c362e9fc75dce406
[ "Apache-2.0" ]
1
2021-05-06T22:25:46.000Z
2021-05-06T22:25:46.000Z
from PIL import Image import pytesseract class OCR(): @staticmethod def image_to_string(file): return pytesseract.image_to_string(Image.open(file)) @staticmethod def batch_image_to_string(file): if (file[-4:] == ".txt"): return pytesseract.image_to_string(file) ...
24.6
61
0.617886
43
369
5.093023
0.511628
0.127854
0.237443
0.232877
0.273973
0
0
0
0
0
0
0.003802
0.287263
369
14
62
26.357143
0.828897
0
0
0.166667
0
0
0.04507
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.083333
0.583333
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
9263ff57b519d1289cbd56ed70b62e19c62b6f24
525
py
Python
Chapter_2/Ch2_Final.py
Dev-Gaju/NNFS-book-with-Implementation
1a788ab61c8129aa52428923f02aca17b8757a33
[ "MIT" ]
1
2021-10-03T16:26:07.000Z
2021-10-03T16:26:07.000Z
Chapter_2/Ch2_Final.py
Dev-Gaju/NNFS-book-with-Implementation
1a788ab61c8129aa52428923f02aca17b8757a33
[ "MIT" ]
null
null
null
Chapter_2/Ch2_Final.py
Dev-Gaju/NNFS-book-with-Implementation
1a788ab61c8129aa52428923f02aca17b8757a33
[ "MIT" ]
1
2021-10-30T12:08:04.000Z
2021-10-30T12:08:04.000Z
import numpy as np inputs = [[1.0, 2.0, 3.0, 2.5], [2.0, 5.0, -1.0, 2.0], [-1.5, 2.7, 3.3, -0.8]] weights = [[0.2, 0.8, -0.5, 1.0], [0.5, -0.91, 0.26, -0.5], [-0.26, -0.27, 0.17, 0.87]] biases = [2.0, 3.0, 0.5] layer_outputs = np.dot(inputs, np.array(weights).T) + biases p...
17.5
60
0.417143
110
525
1.972727
0.318182
0.046083
0.041475
0.036866
0
0
0
0
0
0
0
0.257453
0.297143
525
29
61
18.103448
0.330623
0.12381
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.1
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
926d0ed712a7b32a923ba6b4e070f2f5ea378e78
816
py
Python
python/aoc/2015/02.py
elohhim/aoc
3d5380c4cfd96a819fbe3cd8a81fbc75107b98c7
[ "MIT" ]
null
null
null
python/aoc/2015/02.py
elohhim/aoc
3d5380c4cfd96a819fbe3cd8a81fbc75107b98c7
[ "MIT" ]
null
null
null
python/aoc/2015/02.py
elohhim/aoc
3d5380c4cfd96a819fbe3cd8a81fbc75107b98c7
[ "MIT" ]
null
null
null
from typing import List, Tuple def parse_dimensions(line: str) -> Tuple[int, int, int]: a, b, c = sorted(int(c) for c in line.split('x')) return a, b, c def parse_data(data: str) -> List[Tuple[int, int, int]]: lines = [l.strip() for l in data.split('\n')] return [parse_dimensions(l) for l in lines] ...
24
73
0.609069
146
816
3.315068
0.239726
0.086777
0.018595
0.049587
0.431818
0.316116
0.316116
0.316116
0.18595
0.18595
0
0.009585
0.232843
816
33
74
24.727273
0.763578
0
0
0.105263
0
0
0.003676
0
0
0
0
0
0
1
0.368421
false
0
0.052632
0.157895
0.789474
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
926e6c444e423c229ccc70ee07dd93a3017b2562
312
py
Python
projeto_pesquisa/sicov/bin/util/modelo/projeto.py
RhuaYuri/radio
fa637e20c154834e73e240824621a0186d2cddab
[ "MIT" ]
null
null
null
projeto_pesquisa/sicov/bin/util/modelo/projeto.py
RhuaYuri/radio
fa637e20c154834e73e240824621a0186d2cddab
[ "MIT" ]
null
null
null
projeto_pesquisa/sicov/bin/util/modelo/projeto.py
RhuaYuri/radio
fa637e20c154834e73e240824621a0186d2cddab
[ "MIT" ]
null
null
null
class Projeto: bd = None def __init__(self, nome, data, descricao, pesquisadores): self.nome = nome #Identificação self.data = data self.descricao = descricao self.pesquisadores = pesquisadores def adicionarParticipante(self, Pesquisador): pass
24
61
0.625
29
312
6.586207
0.517241
0.08377
0
0
0
0
0
0
0
0
0
0
0.304487
312
12
62
26
0.880184
0.041667
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0.111111
0
0
0.444444
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
9276f1829ef55e6e08a6d9287a55424da7c0d164
844
py
Python
src/wallet/puzzles/puzzle_utils.py
reghacker/chia-blockchain
51ab6260dcfbd95b4be9686f717f8d63133ef50f
[ "Apache-2.0" ]
null
null
null
src/wallet/puzzles/puzzle_utils.py
reghacker/chia-blockchain
51ab6260dcfbd95b4be9686f717f8d63133ef50f
[ "Apache-2.0" ]
null
null
null
src/wallet/puzzles/puzzle_utils.py
reghacker/chia-blockchain
51ab6260dcfbd95b4be9686f717f8d63133ef50f
[ "Apache-2.0" ]
null
null
null
from src.util.condition_tools import ConditionOpcode def make_create_coin_condition(puzzle_hash, amount): return [ConditionOpcode.CREATE_COIN, puzzle_hash, amount] def make_assert_aggsig_condition(pubkey): return [ConditionOpcode.AGG_SIG, pubkey] def make_assert_coin_consumed_condition(coin_name): ret...
28.133333
68
0.838863
112
844
5.830357
0.258929
0.075038
0.119449
0.070444
0.468606
0.404288
0.177642
0.177642
0
0
0
0
0.098341
844
29
69
29.103448
0.858081
0
0
0
0
0
0
0
0
0
0
0
0.733333
1
0.466667
false
0
0.066667
0.466667
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
1
0
0
0
3
928205af5d5a7d89711770fd9625668d2177cdba
673
py
Python
generate_txt.py
shanmukmichael/PC-Wi-Fi-Passwords-Gathering-Tool
ae85665a3041cdf809887658c5c9e492d5afd0fa
[ "MIT" ]
1
2021-07-09T15:16:09.000Z
2021-07-09T15:16:09.000Z
generate_txt.py
shanmukmichael/PC-Wi-Fi-Passwords-Gathering-Tool
ae85665a3041cdf809887658c5c9e492d5afd0fa
[ "MIT" ]
null
null
null
generate_txt.py
shanmukmichael/PC-Wi-Fi-Passwords-Gathering-Tool
ae85665a3041cdf809887658c5c9e492d5afd0fa
[ "MIT" ]
null
null
null
import sys def generate_txt(filename,data, SSID, passwords, easy_access, profile_errors): with open(filename, 'w') as f: sys.stdout = f original_stdout = sys.stdout data = dict(data) data.pop('SSID') print('{:<35} : {:<}'.format('SSID', 'PASSWORDS')) print('{:<35} :...
33.65
101
0.527489
72
673
4.833333
0.458333
0.112069
0.163793
0.224138
0.298851
0.206897
0
0
0
0
0
0.012245
0.271917
673
19
102
35.421053
0.697959
0
0
0
1
0
0.221397
0
0
0
0
0
0
1
0.066667
false
0.266667
0.066667
0
0.133333
0.333333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
929ec4c0b15b67b80da1f37cf1d35d20cfb84d9e
418
py
Python
test-repo/fabscript/fabkit_tools/gluster.py
fabrickit-fablib/fabkit_tools
58cccd95c72699d8c99f1720efbd3a874ad4d488
[ "MIT" ]
null
null
null
test-repo/fabscript/fabkit_tools/gluster.py
fabrickit-fablib/fabkit_tools
58cccd95c72699d8c99f1720efbd3a874ad4d488
[ "MIT" ]
null
null
null
test-repo/fabscript/fabkit_tools/gluster.py
fabrickit-fablib/fabkit_tools
58cccd95c72699d8c99f1720efbd3a874ad4d488
[ "MIT" ]
null
null
null
# coding: utf-8 from fabkit import task, parallel from fablib.gluster import Gluster @task @parallel def setup(): gluster = Gluster() gluster.setup() return {'status': 1} @task def setup1_peer(): gluster = Gluster() gluster.setup_peer() return {'status': 1} @task def setup2_volume(): ...
14.928571
34
0.65311
51
418
5.254902
0.411765
0.313433
0.235075
0.291045
0.149254
0
0
0
0
0
0
0.018349
0.217703
418
27
35
15.481481
0.801223
0.0311
0
0.473684
0
0
0.044665
0
0
0
0
0
0
1
0.157895
false
0
0.105263
0
0.421053
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
92abfba7a8243b5d5428d41f9a21957cb2e7f3ee
1,877
py
Python
tbx/people/migrations/0024_auto_20210416_1406.py
elviva404/wagtail-torchbox
718d9e2c4337073f010296932d369c726a01dbd3
[ "MIT" ]
103
2015-02-24T17:58:21.000Z
2022-03-23T08:08:58.000Z
tbx/people/migrations/0024_auto_20210416_1406.py
elviva404/wagtail-torchbox
718d9e2c4337073f010296932d369c726a01dbd3
[ "MIT" ]
145
2015-01-13T17:13:43.000Z
2022-03-29T12:56:20.000Z
tbx/people/migrations/0024_auto_20210416_1406.py
elviva404/wagtail-torchbox
718d9e2c4337073f010296932d369c726a01dbd3
[ "MIT" ]
57
2015-01-03T12:00:37.000Z
2022-02-09T13:11:30.000Z
# Generated by Django 2.2.17 on 2021-04-16 13:06 from django.db import migrations import wagtail.core.blocks import wagtail.core.fields import wagtail.images.blocks class Migration(migrations.Migration): dependencies = [ ("people", "0023_merge_20210330_1437"), ] operations = [ migration...
36.096154
87
0.320192
95
1,877
6.273684
0.568421
0.184564
0.228188
0.087248
0
0
0
0
0
0
0
0.04261
0.599893
1,877
51
88
36.803922
0.750999
0.024507
0
0.155556
1
0
0.059049
0.013122
0
0
0
0
0
1
0
false
0
0.088889
0
0.155556
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
1
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
92b3461a1856d7baf91ff220b57f13600fe3b330
18,549
py
Python
mmtbx/regression/tst_cif_as_mtz_wavelengths.py
dperl-sol/cctbx_project
b9e390221a2bc4fd00b9122e97c3b79c632c6664
[ "BSD-3-Clause-LBNL" ]
155
2016-11-23T12:52:16.000Z
2022-03-31T15:35:44.000Z
mmtbx/regression/tst_cif_as_mtz_wavelengths.py
dperl-sol/cctbx_project
b9e390221a2bc4fd00b9122e97c3b79c632c6664
[ "BSD-3-Clause-LBNL" ]
590
2016-12-10T11:31:18.000Z
2022-03-30T23:10:09.000Z
mmtbx/regression/tst_cif_as_mtz_wavelengths.py
dperl-sol/cctbx_project
b9e390221a2bc4fd00b9122e97c3b79c632c6664
[ "BSD-3-Clause-LBNL" ]
115
2016-11-15T08:17:28.000Z
2022-02-09T15:30:14.000Z
from __future__ import absolute_import, division, print_function from libtbx import easy_run from mmtbx.command_line import cif_as_mtz from iotbx import mtz from iotbx import file_reader from libtbx.test_utils import approx_equal def exercise1(): cif_in = """\ data_r2etdsf # _cell.entry_id 2etd _cell.length_a ...
32.091696
132
0.528762
3,618
18,549
2.564124
0.140685
0.044195
0.037189
0.021128
0.699795
0.673601
0.635227
0.547267
0.51245
0.505767
0
0.31735
0.354628
18,549
577
133
32.147314
0.457606
0.013963
0
0.401802
0
0.005405
0.840434
0.062808
0
0
0
0
0.025225
1
0.005405
false
0
0.010811
0
0.016216
0.003604
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2bbcb71f9956673624b289969e6ef26d920b4d67
95
py
Python
python/numpy/np-shape-reshape.py
feliposz/hackerrank-solutions
fb1d63ca12a0d289362c9b3fb4cb0b79ef73f72f
[ "MIT" ]
null
null
null
python/numpy/np-shape-reshape.py
feliposz/hackerrank-solutions
fb1d63ca12a0d289362c9b3fb4cb0b79ef73f72f
[ "MIT" ]
null
null
null
python/numpy/np-shape-reshape.py
feliposz/hackerrank-solutions
fb1d63ca12a0d289362c9b3fb4cb0b79ef73f72f
[ "MIT" ]
null
null
null
import numpy arr = numpy.array(map(int, raw_input().split())) arr.shape = (3, 3) print arr
10.555556
48
0.652632
16
95
3.8125
0.75
0
0
0
0
0
0
0
0
0
0
0.025316
0.168421
95
8
49
11.875
0.746835
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
2bd450010794ba78b5ced0285a82ab6f54c4c6ef
334
py
Python
c03.py
nayunhwan/SMaSH_Python
6e80520f43f6e014be2abc40d6f51f76338e3ff8
[ "MIT" ]
null
null
null
c03.py
nayunhwan/SMaSH_Python
6e80520f43f6e014be2abc40d6f51f76338e3ff8
[ "MIT" ]
null
null
null
c03.py
nayunhwan/SMaSH_Python
6e80520f43f6e014be2abc40d6f51f76338e3ff8
[ "MIT" ]
null
null
null
#-*- coding: utf-8 -*- width = input("직사각형의 가로 크기를 입력하세요.") height = input("직사각형의 세로 크기를 입력하세요.") if width >= height * 2: print "좌우로 길쭉한 사각형입니다." elif height >= width * 2: print "위아래로 길쭉한 사각형입니다." elif width > height: print "일반적인 가로형 사각형입니다." elif height > width: print "일반적인 세로형 사각형입니다." elif width == height: pr...
22.266667
37
0.655689
50
334
4.38
0.46
0.182648
0.118721
0.191781
0.237443
0
0
0
0
0
0
0.011111
0.191617
334
15
38
22.266667
0.8
0.062874
0
0
0
0
0.348243
0
0
0
0
0
0
0
null
null
0
0
null
null
0.416667
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
3
2bd6c82522b49a41f5b24380f37dd129809c23b7
2,114
py
Python
OpenGLCffi/GL/EXT/EXT/framebuffer_object.py
cydenix/OpenGLCffi
c78f51ae5e6b655eb2ea98f072771cf69e2197f3
[ "MIT" ]
null
null
null
OpenGLCffi/GL/EXT/EXT/framebuffer_object.py
cydenix/OpenGLCffi
c78f51ae5e6b655eb2ea98f072771cf69e2197f3
[ "MIT" ]
null
null
null
OpenGLCffi/GL/EXT/EXT/framebuffer_object.py
cydenix/OpenGLCffi
c78f51ae5e6b655eb2ea98f072771cf69e2197f3
[ "MIT" ]
null
null
null
from OpenGLCffi.GL import params @params(api='gl', prms=['renderbuffer']) def glIsRenderbufferEXT(renderbuffer): pass @params(api='gl', prms=['target', 'renderbuffer']) def glBindRenderbufferEXT(target, renderbuffer): pass @params(api='gl', prms=['n', 'renderbuffers']) def glDeleteRenderbuffersEXT(n, renderbuffer...
24.298851
92
0.727531
218
2,114
7.055046
0.192661
0.09948
0.121586
0.1658
0.53316
0.53316
0.441482
0.253576
0.161248
0.161248
0
0.001567
0.094607
2,114
86
93
24.581395
0.801985
0
0
0.480769
0
0
0.187973
0
0
0
0
0
0
1
0.326923
false
0.326923
0.019231
0
0.346154
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
2be52887b5343943205c42c26a30006e2951dad1
409
py
Python
tests/pull_requests/test_review_requests.py
srinivasreddy/allhub
ff20858c9984da5c4edd5043c39eed3b6d5d693d
[ "Apache-2.0" ]
2
2019-10-07T15:46:33.000Z
2019-11-26T04:30:39.000Z
tests/pull_requests/test_review_requests.py
srinivasreddy/allhub
ff20858c9984da5c4edd5043c39eed3b6d5d693d
[ "Apache-2.0" ]
1
2020-03-09T14:44:04.000Z
2020-03-09T14:44:04.000Z
tests/pull_requests/test_review_requests.py
srinivasreddy/allhub
ff20858c9984da5c4edd5043c39eed3b6d5d693d
[ "Apache-2.0" ]
2
2019-10-08T05:22:37.000Z
2019-10-08T06:20:47.000Z
from tests.utils import allhub class TestPRReviewRequests: def test_pr_review_requests(self): response = allhub.reviews_on_pull_request("python", "cpython", 10564) assert response[0].user.login == "terryjreedy" assert response[0].state == "CHANGES_REQUESTED" def test_create_pr_review_...
27.266667
77
0.709046
50
409
5.5
0.64
0.076364
0.174545
0.218182
0.174545
0
0
0
0
0
0
0.021472
0.202934
409
14
78
29.214286
0.822086
0
0
0.2
0
0
0.100245
0
0
0
0
0
0.2
1
0.3
false
0.2
0.1
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
2bf8fa1db5f53ab606d8cc1edee5185495818bdf
619
py
Python
compy/outcome.py
nanvel/compy
d3f5b924e9b6789a41e6da67b5024fb62a02953d
[ "MIT" ]
null
null
null
compy/outcome.py
nanvel/compy
d3f5b924e9b6789a41e6da67b5024fb62a02953d
[ "MIT" ]
null
null
null
compy/outcome.py
nanvel/compy
d3f5b924e9b6789a41e6da67b5024fb62a02953d
[ "MIT" ]
null
null
null
class Outcome: def __init__(self, is_positive: bool, is_hard: bool): self.is_positive = is_positive self.is_hard = is_hard def __eq__(self, other): return other.is_positive == self.is_positive and other.is_hard == self.is_hard def __str__(self): return f"{'hard' if self.is...
34.388889
103
0.725363
94
619
4.393617
0.223404
0.242131
0.135593
0.077482
0.266344
0.266344
0
0
0
0
0
0
0.166397
619
17
104
36.411765
0.800388
0
0
0
0
0.083333
0.137318
0
0
0
0
0
0
1
0.25
false
0
0
0.166667
0.5
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
92199a524a12c288c2b17163a230c79874a90496
482
py
Python
tests/TestSemester.py
imperosol/pyutttils
a9cbc35e927e9fb02e1fc8057962d3bdf1275d71
[ "MIT" ]
null
null
null
tests/TestSemester.py
imperosol/pyutttils
a9cbc35e927e9fb02e1fc8057962d3bdf1275d71
[ "MIT" ]
null
null
null
tests/TestSemester.py
imperosol/pyutttils
a9cbc35e927e9fb02e1fc8057962d3bdf1275d71
[ "MIT" ]
null
null
null
import unittest from pyutttils.Semester import Semester class TestSemester(unittest.TestCase): def test_semester(self): self.assertEqual(Semester("P22").full_name, "Printemps 2022") def test_semester_next(self): self.assertEqual(Semester("P22").get_next().full_name, "Automne 2022") def...
25.368421
82
0.717842
58
482
5.655172
0.413793
0.064024
0.137195
0.246951
0.292683
0.20122
0
0
0
0
0
0.044226
0.155602
482
19
83
25.368421
0.761671
0
0
0
0
0
0.113872
0
0
0
0
0
0.272727
1
0.272727
false
0
0.181818
0
0.545455
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
921c46df2d51cbbce37c539dfce700f6c32b1418
53
py
Python
zen2i/__init__.py
Hanaasagi/zen2i-py
51d9dfc8d1a00da7e2ccccca4fc81e1f92e31665
[ "MIT" ]
1
2019-03-20T10:01:49.000Z
2019-03-20T10:01:49.000Z
zen2i/__init__.py
Hanaasagi/zen2i-py
51d9dfc8d1a00da7e2ccccca4fc81e1f92e31665
[ "MIT" ]
null
null
null
zen2i/__init__.py
Hanaasagi/zen2i-py
51d9dfc8d1a00da7e2ccccca4fc81e1f92e31665
[ "MIT" ]
null
null
null
__version__ = "0.0.1" from zen2i.zen2i import zen2i
13.25
29
0.735849
9
53
3.888889
0.666667
0
0
0
0
0
0
0
0
0
0
0.133333
0.150943
53
3
30
17.666667
0.644444
0
0
0
0
0
0.09434
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