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
db2dafb89deee82dfcc7641dc7f3a10a7e8879a7
349
py
Python
exercises/exercise33.py
djangojeng-e/TIL
bdbe1dfb6ebc48b89067fddda195227cca64b8dc
[ "MIT" ]
null
null
null
exercises/exercise33.py
djangojeng-e/TIL
bdbe1dfb6ebc48b89067fddda195227cca64b8dc
[ "MIT" ]
null
null
null
exercises/exercise33.py
djangojeng-e/TIL
bdbe1dfb6ebc48b89067fddda195227cca64b8dc
[ "MIT" ]
null
null
null
x = int(input("Please enter the first digit")) y = int(input("Please enter the second digit")) output_list = [] while len(output_list) < x - 1: for i in range(0, x): list_2d = [] output_list.append(list_2d) for j in range(0 ,y): number = i * j output_list[i].append...
21.8125
47
0.584527
54
349
3.648148
0.462963
0.253807
0.142132
0.192893
0.22335
0
0
0
0
0
0
0.02008
0.286533
349
16
48
21.8125
0.771084
0
0
0
0
0
0.163324
0
0
0
0
0
0
1
0
false
0
0
0
0
0.090909
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
db2e37e7906ca5f837ed0b96e898a0c2e3de5e63
8,464
py
Python
tests/test_assert_match.py
patbakdev/pytest-snapshot
d1cf35e46cf7c927e0ee49700fe043c94ae65ebb
[ "MIT" ]
null
null
null
tests/test_assert_match.py
patbakdev/pytest-snapshot
d1cf35e46cf7c927e0ee49700fe043c94ae65ebb
[ "MIT" ]
null
null
null
tests/test_assert_match.py
patbakdev/pytest-snapshot
d1cf35e46cf7c927e0ee49700fe043c94ae65ebb
[ "MIT" ]
null
null
null
import pytest from tests.utils import assert_pytest_passes @pytest.fixture def basic_case_dir(testdir): case_dir = testdir.mkdir('case_dir') case_dir.join('snapshot1.txt').write_text('the valuÉ of snapshot1.txt', 'utf-8') return case_dir def test_assert_match_with_external_snapshot_path(testdir, basic_...
37.785714
118
0.631853
991
8,464
5.123108
0.134208
0.068938
0.038409
0.038999
0.74414
0.705338
0.642111
0.613945
0.580461
0.550128
0
0.007539
0.247755
8,464
223
119
37.955157
0.789854
0.067226
0
0.626374
0
0.005495
0.51108
0.170275
0
0
0
0.004484
0.274725
1
0.065934
false
0.054945
0.027473
0
0.098901
0
0
0
0
null
0
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
0
0
0
0
1
0
0
0
0
0
2
db34bca770fb01232c52f84670d45b05e56c53e2
1,514
py
Python
peeringdb/views.py
schiederme/peering-manager
2d29427fd4f2b91a5208f31e1a7ad69eaf82924c
[ "Apache-2.0" ]
1
2020-08-08T12:00:49.000Z
2020-08-08T12:00:49.000Z
peeringdb/views.py
schiederme/peering-manager
2d29427fd4f2b91a5208f31e1a7ad69eaf82924c
[ "Apache-2.0" ]
8
2022-03-02T20:47:24.000Z
2022-03-28T23:23:49.000Z
peeringdb/views.py
schiederme/peering-manager
2d29427fd4f2b91a5208f31e1a7ad69eaf82924c
[ "Apache-2.0" ]
1
2021-01-25T01:58:22.000Z
2021-01-25T01:58:22.000Z
from django.contrib import messages from django.contrib.auth.mixins import PermissionRequiredMixin from django.shortcuts import redirect, render, reverse from django.views.generic import View from .filters import PeerRecordFilterSet from .forms import PeerRecordBulkEditForm from .http import PeeringDB from .models imp...
38.820513
88
0.741083
161
1,514
6.838509
0.47205
0.036331
0.030881
0.029064
0
0
0
0
0
0
0
0.000809
0.18362
1,514
38
89
39.842105
0.889968
0
0
0
0
0
0.135403
0.066711
0
0
0
0
0
1
0.032258
false
0
0.322581
0
0.645161
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
db38a1aae7676e2060b027a96fdec6da8cc9687c
359
py
Python
content/topic_1_hello_world/write_hello_turtle.py
chuanhao01/MSP_Learn_Python_Turtle
0d39ece81181848dc7449ee14992fe6a297413fa
[ "MIT" ]
1
2021-01-11T06:23:41.000Z
2021-01-11T06:23:41.000Z
content/topic_1_hello_world/write_hello_turtle.py
chuanhao01/MSP_Learn_Python_Turtle
0d39ece81181848dc7449ee14992fe6a297413fa
[ "MIT" ]
null
null
null
content/topic_1_hello_world/write_hello_turtle.py
chuanhao01/MSP_Learn_Python_Turtle
0d39ece81181848dc7449ee14992fe6a297413fa
[ "MIT" ]
null
null
null
import turtle # set the screen height and width to 100% # of our screen height and width turtle.Screen().setup(width=1.0, height=1.0) # Write hello world using turtle turtle.write( "Hello World", font=('Verdana', 16, 'italic'), align='center' ) # Hide turtle turtle.hideturtle() # to keep the screen o...
18.894737
44
0.690808
54
359
4.592593
0.592593
0.072581
0.120968
0.16129
0
0
0
0
0
0
0
0.030717
0.183844
359
18
45
19.944444
0.8157
0.406685
0
0
0
0
0.144928
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
db38a91aee7631b7c238dd51706968816abbbcb0
485
py
Python
aoc/reformaters.py
mbmackenzie/adventofcode-framework
b7e97752836e12fbd3d1071036672ef1e3c4b44d
[ "MIT" ]
null
null
null
aoc/reformaters.py
mbmackenzie/adventofcode-framework
b7e97752836e12fbd3d1071036672ef1e3c4b44d
[ "MIT" ]
2
2021-12-07T05:30:09.000Z
2021-12-08T02:46:08.000Z
aoc/reformaters.py
mbmackenzie/advent-of-code-starter
b7e97752836e12fbd3d1071036672ef1e3c4b44d
[ "MIT" ]
null
null
null
def combine_nonblank_lines(content: list[str], sep: str = " ") -> list[str]: content = [item.strip() for item in content] i, new_content, clean_content = 0, "", [] while i < len(content): if content[i] == "": clean_content.append(new_content.strip()) new_content = "" ...
25.526316
76
0.571134
59
485
4.491525
0.389831
0.226415
0.113208
0.166038
0.249057
0.249057
0
0
0
0
0
0.005848
0.294845
485
18
77
26.944444
0.769006
0
0
0.153846
0
0
0.002062
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.153846
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
db38d2e9675d308fa7417990de9d675c2d5c0391
4,852
py
Python
OpenSeesAPI/Analysis/System.py
alok230460/Open
ccd7c43c82c13bc87e6c208302f7448060b856ba
[ "MIT", "Unlicense" ]
41
2015-09-08T09:41:13.000Z
2022-03-26T08:40:02.000Z
OpenSeesAPI/Analysis/System.py
alok230460/Open
ccd7c43c82c13bc87e6c208302f7448060b856ba
[ "MIT", "Unlicense" ]
4
2015-09-11T17:20:46.000Z
2016-05-02T20:42:58.000Z
OpenSeesAPI/Analysis/System.py
alok230460/Open
ccd7c43c82c13bc87e6c208302f7448060b856ba
[ "MIT", "Unlicense" ]
31
2015-09-11T17:01:36.000Z
2021-11-08T17:48:27.000Z
""" This class is used to create the following OpenSees TCL Commands: This command is used to construct the LinearSOE and LinearSolver objects to store and solve the system of equations in the analysis. system systemType? arg1? ... The type of LinearSOE created and the additional arguments required depends on the syste...
51.073684
459
0.747527
712
4,852
5.022472
0.273876
0.033557
0.035794
0.062919
0.485179
0.470638
0.400168
0.384787
0.321868
0.285515
0
0.001808
0.201979
4,852
94
460
51.617021
0.921746
0.749794
0
0.233333
0
0
0.137606
0
0
0
0
0
0
1
0.3
false
0
0.033333
0
0.633333
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
0
1
0
0
2
e1d7295c0d38927f2927d4958a223a4ff5437b49
538
py
Python
src/vbox/api/vmAcpi.py
autumnjolitz/vbox
38015ee0bb2316982490172068b791762e092a85
[ "BSD-3-Clause" ]
1
2020-08-12T15:03:31.000Z
2020-08-12T15:03:31.000Z
src/vbox/api/vmAcpi.py
autumnjolitz/vbox
38015ee0bb2316982490172068b791762e092a85
[ "BSD-3-Clause" ]
null
null
null
src/vbox/api/vmAcpi.py
autumnjolitz/vbox
38015ee0bb2316982490172068b791762e092a85
[ "BSD-3-Clause" ]
null
null
null
from . import ( base, exceptions, props, ) class ACPI(base.SubEntity): """ACPI control for the virtual machine.""" enabled = props.OnOff(**props.modify("acpi")) def powerButton(self): """Simulate ACPI power button press.""" self.source.acpiPowerButton() def sleepButton(se...
24.454545
71
0.624535
59
538
5.627119
0.610169
0.072289
0.096386
0.126506
0.253012
0.253012
0.253012
0.253012
0
0
0
0
0.247212
538
22
72
24.454545
0.819753
0.302974
0
0
0
0
0.011268
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
e1f0aa36ba1d285f3d748fbef42440e83fc5c951
1,408
py
Python
scripts/has_open_pr.py
justindonnaruma/CumulusCI
cc097c1f6f102a104f83ad9a9684af9d6bc0af31
[ "BSD-3-Clause" ]
null
null
null
scripts/has_open_pr.py
justindonnaruma/CumulusCI
cc097c1f6f102a104f83ad9a9684af9d6bc0af31
[ "BSD-3-Clause" ]
2
2021-03-25T23:56:47.000Z
2021-03-31T19:52:05.000Z
scripts/has_open_pr.py
justindonnaruma/CumulusCI
cc097c1f6f102a104f83ad9a9684af9d6bc0af31
[ "BSD-3-Clause" ]
null
null
null
import argparse import os import sys from github3 import login class HasOpenPull(object): def __init__(self): self._init_github() def _init_github(self): username = os.environ.get('GITHUB_USERNAME') password = os.environ.get('GITHUB_PASSWORD') if not username or not password: ...
36.102564
130
0.652699
184
1,408
4.826087
0.505435
0.047297
0.027027
0.040541
0
0
0
0
0
0
0
0.001918
0.259233
1,408
38
131
37.052632
0.849473
0.149858
0
0
0
0
0.227997
0
0
0
0
0
0
0
null
null
0.133333
0.133333
null
null
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
1
0
0
1
0
0
0
0
0
2
e1f0dab95957d7929e60fc98ef95f7bfb286f9ac
323
py
Python
lec3.py
Peter3tm/IA241
059d410dc0febf517aa6400035e90fe3e9bffb46
[ "MIT" ]
null
null
null
lec3.py
Peter3tm/IA241
059d410dc0febf517aa6400035e90fe3e9bffb46
[ "MIT" ]
null
null
null
lec3.py
Peter3tm/IA241
059d410dc0febf517aa6400035e90fe3e9bffb46
[ "MIT" ]
null
null
null
print('hello\tworld') print('hello\nworld') print( len('hello world')) print('hello world'[0]) my_letter_list = ['a','a','b','b','c'] print(my_letter_list) print( set(my_letter_list)) my_unique_letters = set(my_letter_list) print(my_unique_letters) print( len(my_unique_letters)) print( 'd' in my_unique_letters...
14.681818
39
0.718266
53
323
4.075472
0.339623
0.148148
0.222222
0.157407
0
0
0
0
0
0
0
0.003448
0.102167
323
21
40
15.380952
0.741379
0
0
0
0
0
0.161491
0
0
0
0
0
0
1
0
false
0
0
0
0
0.818182
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
c005e1b0c8bb945fd73c8386b4fcd0ed6e7a0227
843
py
Python
aries_cloudagency/protocols/trustping/v1_0/message_types.py
osancus/aries-cloudagency-python
d0ce77a3a11927715d1cb3533313d17a27b1cf7a
[ "Apache-2.0" ]
null
null
null
aries_cloudagency/protocols/trustping/v1_0/message_types.py
osancus/aries-cloudagency-python
d0ce77a3a11927715d1cb3533313d17a27b1cf7a
[ "Apache-2.0" ]
null
null
null
aries_cloudagency/protocols/trustping/v1_0/message_types.py
osancus/aries-cloudagency-python
d0ce77a3a11927715d1cb3533313d17a27b1cf7a
[ "Apache-2.0" ]
3
2020-07-03T21:35:34.000Z
2020-09-09T13:26:20.000Z
"""Message type identifiers for Trust Pings.""" SPEC_URI = ( "https://github.com/hyperledger/aries-rfcs/tree/" "527849ec3aa2a8fd47a7bb6c57f918ff8bcb5e8c/features/0048-trust-ping" ) PROTOCOL_URI = "did:sov:BzCbsNYhMrjHiqZDTUASHg;spec/trust_ping/1.0" PING = f"{PROTOCOL_URI}/ping" PING_RESPONSE = f"{PROTOCOL_URI...
33.72
81
0.774614
112
843
5.544643
0.339286
0.154589
0.096618
0.154589
0.439614
0.309179
0.309179
0.193237
0.193237
0
0
0.040365
0.088968
843
24
82
35.125
0.768229
0.048636
0
0
0
0
0.655779
0.530151
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c0097e1951318136df633b3d27f2305583bc13f0
305
py
Python
tagsub/tags/NullTag.py
sdyer/tagsub3
05701fad975118d1ad0066bcedc1bfa789928c33
[ "MIT" ]
null
null
null
tagsub/tags/NullTag.py
sdyer/tagsub3
05701fad975118d1ad0066bcedc1bfa789928c33
[ "MIT" ]
null
null
null
tagsub/tags/NullTag.py
sdyer/tagsub3
05701fad975118d1ad0066bcedc1bfa789928c33
[ "MIT" ]
null
null
null
from .Tag import Tag class NullTag(Tag): def __init__(self, tagchar, template): super().__init__(tagchar, template) # Consume any additional trailing whitespace and the required ">" self.closeTag() def format(self, outputFormatter): # Placeholder here. Nothing to output pass
21.785714
68
0.704918
36
305
5.75
0.777778
0.144928
0
0
0
0
0
0
0
0
0
0
0.203279
305
13
69
23.461538
0.851852
0.32459
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0.142857
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
c0116118b169a899f09326ddfabd6757c974aa40
1,461
py
Python
tests/test_run.py
andytan0727/py-concentration
825d00c22dfcbeccd591a53c74eb43f574b8fe3b
[ "MIT" ]
null
null
null
tests/test_run.py
andytan0727/py-concentration
825d00c22dfcbeccd591a53c74eb43f574b8fe3b
[ "MIT" ]
null
null
null
tests/test_run.py
andytan0727/py-concentration
825d00c22dfcbeccd591a53c74eb43f574b8fe3b
[ "MIT" ]
null
null
null
"""test_concentration.py Basic testing to ensure concentration will load Copyright (C) 2013 Timothy Edmund Crosley Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including...
50.37931
112
0.798768
220
1,461
5.286364
0.554545
0.075666
0.022356
0
0
0
0
0
0
0
0
0.003231
0.152635
1,461
28
113
52.178571
0.936187
0.778919
0
0
0
0
0
0
0
0
0
0
0.6
1
0.2
true
0
0.2
0
0.4
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
0
1
0
0
0
0
0
0
2
c020175fcb0e72dab429b9c89646228b4be0c0a5
9,003
py
Python
master/nouvelle-0.90/nouvelle-0.90/Nouvelle/Serial.py
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
4
2018-09-07T15:35:24.000Z
2019-03-27T09:48:12.000Z
master/nouvelle-0.90/nouvelle-0.90/Nouvelle/Serial.py
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
371
2020-03-04T21:51:56.000Z
2022-03-31T20:59:11.000Z
master/nouvelle-0.90/nouvelle-0.90/Nouvelle/Serial.py
AlexRogalskiy/DevArtifacts
931aabb8cbf27656151c54856eb2ea7d1153203a
[ "MIT" ]
3
2019-06-18T19:57:17.000Z
2020-11-06T03:55:08.000Z
""" Nouvelle.Serial Core functionality for Nouvelle's object serialization system, including the tag, place, and Serializer objects. The lowercase 'place', 'xml', and 'tag' classes break my naming convention, but since they aren't really used like conventional classes I think lowercase makes more sense. """ # # Nouve...
36.449393
87
0.64945
1,148
9,003
5.014808
0.301394
0.024318
0.024318
0.027792
0.086503
0.082508
0.071739
0.019455
0.019455
0.019455
0
0.004199
0.259247
9,003
246
88
36.597561
0.859049
0.43952
0
0.103448
0
0
0.02885
0
0
0
0
0
0
1
0.224138
false
0.008621
0.017241
0.077586
0.525862
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
0
1
0
0
2
c02fa334939978065f7926450708c87b73e543fc
517
py
Python
tests/test_plotting.py
lacaprara/PyrooFit
e84107fb90f82f76dfc67466dd7a84e038c605b2
[ "MIT" ]
11
2018-09-06T11:37:10.000Z
2021-08-25T07:15:38.000Z
tests/test_plotting.py
lacaprara/PyrooFit
e84107fb90f82f76dfc67466dd7a84e038c605b2
[ "MIT" ]
7
2019-01-14T12:32:20.000Z
2021-03-31T17:35:27.000Z
tests/test_plotting.py
lacaprara/PyrooFit
e84107fb90f82f76dfc67466dd7a84e038c605b2
[ "MIT" ]
10
2018-10-22T13:53:22.000Z
2022-01-24T11:56:17.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import pytest import pandas as pd import numpy as np from pyroofit.models import Gauss, Chebychev def get_test_df(size=100): d = {} d['mbc1'] = np.random.random_sample(size) d['mbc'] = np.random.random_sample(size) return pd.DataFrame(d) def test_PDF_...
19.884615
50
0.65764
83
517
3.987952
0.590361
0.042296
0.054381
0.120846
0.145015
0
0
0
0
0
0
0.024213
0.201161
517
25
51
20.68
0.77724
0.131528
0
0
0
0
0.040359
0
0
0
0
0
0.066667
1
0.133333
false
0
0.333333
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
c0370974c79dcdcb0bf2a4dbb7760c40fd867390
125
py
Python
Kattis/problems/jobexpenses.py
object-oriented-human/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
2
2021-07-27T10:46:47.000Z
2021-07-27T10:47:57.000Z
Kattis/problems/jobexpenses.py
foooop/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
null
null
null
Kattis/problems/jobexpenses.py
foooop/competitive
9e761020e887d8980a39a64eeaeaa39af0ecd777
[ "MIT" ]
null
null
null
n = int(input()) total = 0 line = map(int, input().split()) for _ in line: if _ < 0: total += -_ print(total)
11.363636
32
0.52
18
125
3.444444
0.666667
0.258065
0
0
0
0
0
0
0
0
0
0.022727
0.296
125
10
33
12.5
0.681818
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
c03bcdcdd757cb433cf05eb7d180006b54f8f62d
579
py
Python
venv/lib/python2.7/site-packages/nano-1.0a3-py2.7.egg/nano/countries/models.py
784134748/kubernetes-install
5df59632c2619632e422948b667fb68eab9ff5be
[ "MIT" ]
null
null
null
venv/lib/python2.7/site-packages/nano-1.0a3-py2.7.egg/nano/countries/models.py
784134748/kubernetes-install
5df59632c2619632e422948b667fb68eab9ff5be
[ "MIT" ]
1
2021-04-30T20:41:19.000Z
2021-04-30T20:41:19.000Z
venv/lib/python2.7/site-packages/nano-1.0a3-py2.7.egg/nano/countries/models.py
784134748/kubernetes-install
5df59632c2619632e422948b667fb68eab9ff5be
[ "MIT" ]
null
null
null
from __future__ import unicode_literals from django.utils.encoding import python_2_unicode_compatible from django.db import models __all__ = ('Country',) @python_2_unicode_compatible class Country(models.Model): iso = models.CharField(max_length=2, primary_key=True) name = models.CharField('Country name', ma...
24.125
61
0.715026
73
579
5.287671
0.520548
0.051813
0.072539
0.124352
0
0
0
0
0
0
0
0.012987
0.202073
579
23
62
25.173913
0.822511
0
0
0.117647
0
0
0.081174
0
0
0
0
0
0
1
0.117647
false
0
0.176471
0.117647
0.647059
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
c04576bafa58871e84333c0da2a074614c01e97b
384
py
Python
docs/docs_env/Lib/sre.py
gilsonbp/Django-facebook
7c6900be332f4e9e2ac66a37de5d94d7edfbd3dc
[ "BSD-3-Clause" ]
6,989
2017-07-18T06:23:18.000Z
2022-03-31T15:58:36.000Z
build/cmd/win32/Python27/Lib/sre.py
IamBaoMouMou/AliOS-Things
195a9160b871b3d78de6f8cf6c2ab09a71977527
[ "Apache-2.0" ]
1,978
2017-07-18T09:17:58.000Z
2022-03-31T14:28:43.000Z
build/cmd/win32/Python27/Lib/sre.py
IamBaoMouMou/AliOS-Things
195a9160b871b3d78de6f8cf6c2ab09a71977527
[ "Apache-2.0" ]
1,228
2017-07-18T09:03:13.000Z
2022-03-29T05:57:40.000Z
"""This file is only retained for backwards compatibility. It will be removed in the future. sre was moved to re in version 2.5. """ import warnings warnings.warn("The sre module is deprecated, please import re.", DeprecationWarning, 2) from re import * from re import __all__ # old pickles expect the ...
27.428571
70
0.742188
58
384
4.810345
0.637931
0.064516
0.129032
0
0
0
0
0
0
0
0
0.00974
0.197917
384
13
71
29.538462
0.896104
0.494792
0
0
0
0
0.251337
0
0
0
0
0
0
1
0
true
0
0.833333
0
0.833333
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
0
0
0
2
c06664d31ada162fa733ddbd5251ed1fb06c4606
365
py
Python
app/app/test.py
benning55/recipe-app-api
a63366c7bb576fefbc755fe873731d2edf3e74d2
[ "MIT" ]
null
null
null
app/app/test.py
benning55/recipe-app-api
a63366c7bb576fefbc755fe873731d2edf3e74d2
[ "MIT" ]
null
null
null
app/app/test.py
benning55/recipe-app-api
a63366c7bb576fefbc755fe873731d2edf3e74d2
[ "MIT" ]
null
null
null
# from django.test import TestCase # from app.calc import add, subtract # # # class CalcTests(TestCase): # # def test_add_numbers(self): # """Test that two number are added""" # self.assertEqual(add(3, 8), 11) # # def test_subtract_number(self): # """Test that values are subtracted""" # ...
26.071429
47
0.627397
47
365
4.787234
0.574468
0.062222
0.106667
0
0
0
0
0
0
0
0
0.028571
0.232877
365
13
48
28.076923
0.775
0.926027
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2
fbe91a4a7f0941119bd3e4687ee8ad94deda7ff5
340
py
Python
Parabola.py
matthew99carroll/VoronoiDiagram
354a6ff08bb0858972b542b4b90973ce31996978
[ "MIT" ]
null
null
null
Parabola.py
matthew99carroll/VoronoiDiagram
354a6ff08bb0858972b542b4b90973ce31996978
[ "MIT" ]
null
null
null
Parabola.py
matthew99carroll/VoronoiDiagram
354a6ff08bb0858972b542b4b90973ce31996978
[ "MIT" ]
null
null
null
from Node import Node class Parabola(Node): def __init__(self, siteEvent, parent): self.circleEvent = None self.siteEvent = siteEvent self.parent = parent def IsLeaf(self): return True def Traverse(self, x, y): return self def ToString(self): return "...
18.888889
42
0.608824
40
340
5.075
0.5
0.192118
0
0
0
0
0
0
0
0
0
0
0.305882
340
17
43
20
0.860169
0
0
0
0
0
0.002941
0
0
0
0
0
0
1
0.333333
false
0
0.083333
0.25
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
fbeb2130d9281e624f89ef93ba92c35988655370
1,026
py
Python
10. Old Project/Projects/Sampling/wiseml/models/model.py
Collapse24/Work-projects
9b84273a88eb529fd7dcca1a103b938972a36c2b
[ "MIT" ]
null
null
null
10. Old Project/Projects/Sampling/wiseml/models/model.py
Collapse24/Work-projects
9b84273a88eb529fd7dcca1a103b938972a36c2b
[ "MIT" ]
null
null
null
10. Old Project/Projects/Sampling/wiseml/models/model.py
Collapse24/Work-projects
9b84273a88eb529fd7dcca1a103b938972a36c2b
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod, abstractclassmethod from typing import Dict, Optional import pandas as pd import numpy as np from wiseml.models.types.task_type import TaskType from wiseml.models.types.model_type import ModelType class TrainSet: def __init__(self, X: pd.DataFrame, y: pd.Series): if...
22.8
62
0.653021
143
1,026
4.559441
0.433566
0.104294
0.04908
0.064417
0
0
0
0
0
0
0
0.003866
0.243665
1,026
44
63
23.318182
0.83634
0
0
0.2
0
0
0.02924
0
0
0
0
0
0
1
0.233333
false
0.133333
0.2
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
fbfcb05250a53713aec9c9b3c9b6013436e28bd2
224
py
Python
potato.py
marona42/EunbitBot_P
adf04d6c10e63116dc00f8f244002c68e1ef5561
[ "Apache-2.0" ]
4
2019-01-06T05:17:23.000Z
2021-04-06T09:21:17.000Z
potato.py
marona42/EunbitBot_P
adf04d6c10e63116dc00f8f244002c68e1ef5561
[ "Apache-2.0" ]
1
2021-06-01T23:12:07.000Z
2021-06-01T23:12:07.000Z
potato.py
marona42/EunbitBot_P
adf04d6c10e63116dc00f8f244002c68e1ef5561
[ "Apache-2.0" ]
null
null
null
#common variables! def set_loop(lp): global loop #not to use local variable loop=lp def set_nm(nm): global noisymode noisymode=nm def get_loop(): return loop def get_nm(): return noisymode loop=[] noisymode=False
16
40
0.736607
36
224
4.472222
0.472222
0.074534
0
0
0
0
0
0
0
0
0
0
0.169643
224
14
41
16
0.865591
0.1875
0
0
0
0
0
0
0
0
0
0
0
1
0.363636
false
0
0
0.181818
0.454545
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
0
0
0
2
fbff2d05a064cabc5cdc4a8ba5733700d0b1eb1f
1,076
py
Python
phovea_security_store_generated/__init__.py
datavisyn/phovea_security_store_generated
cd033732303067c0906be091d6d46101f84fbc79
[ "BSD-3-Clause" ]
null
null
null
phovea_security_store_generated/__init__.py
datavisyn/phovea_security_store_generated
cd033732303067c0906be091d6d46101f84fbc79
[ "BSD-3-Clause" ]
12
2020-01-02T14:47:26.000Z
2021-01-07T10:27:01.000Z
phovea_security_store_generated/__init__.py
datavisyn/phovea_security_store_generated
cd033732303067c0906be091d6d46101f84fbc79
[ "BSD-3-Clause" ]
1
2020-11-17T18:00:46.000Z
2020-11-17T18:00:46.000Z
##################################################################### # Copyright (c) The Caleydo Team, http://caleydo.org # # This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at http://mozilla.org/MPL/2....
31.647059
118
0.634758
132
1,076
4.984848
0.537879
0.098784
0.167173
0.170213
0.194529
0
0
0
0
0
0
0.004296
0.134758
1,076
33
119
32.606061
0.70247
0.342007
0
0
0
0
0.402597
0.328386
0
0
0
0
0
1
0.181818
false
0.090909
0.090909
0
0.363636
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
0
0
0
2
22210eaf320fe570b2afa9d968938f705e2e0bf3
277
py
Python
p4z3/__init__.py
gauntlet-repo/gauntlet
be847507556fc61d85e0bfd70ac57b5d064c9e8a
[ "Apache-2.0" ]
2
2020-08-16T02:23:19.000Z
2021-01-04T16:01:35.000Z
p4z3/__init__.py
gauntlet-repo/gauntlet
be847507556fc61d85e0bfd70ac57b5d064c9e8a
[ "Apache-2.0" ]
null
null
null
p4z3/__init__.py
gauntlet-repo/gauntlet
be847507556fc61d85e0bfd70ac57b5d064c9e8a
[ "Apache-2.0" ]
null
null
null
import os import sys FILE_DIR = os.path.dirname(os.path.abspath(__file__)) # avoid annoying import errors... sys.path.append(FILE_DIR) from p4z3.base import * from p4z3.expressions import * from p4z3.statements import * from p4z3.parser import * from p4z3.callables import *
21.307692
53
0.776173
42
277
4.97619
0.452381
0.191388
0.267943
0
0
0
0
0
0
0
0
0.041322
0.126354
277
12
54
23.083333
0.822314
0.111913
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.777778
0
0.777778
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
2233cbed7e2a9f2c646604bd8de824d05790d294
5,384
py
Python
lib/fbuild/db/__init__.py
dmerejkowsky/fbuild
be0bf901eed1f66c33897fbd4b147e0433e8cc72
[ "BSD-2-Clause" ]
2
2019-07-25T04:41:48.000Z
2020-12-18T21:30:46.000Z
lib/fbuild/db/__init__.py
dmerejkowsky/fbuild
be0bf901eed1f66c33897fbd4b147e0433e8cc72
[ "BSD-2-Clause" ]
null
null
null
lib/fbuild/db/__init__.py
dmerejkowsky/fbuild
be0bf901eed1f66c33897fbd4b147e0433e8cc72
[ "BSD-2-Clause" ]
null
null
null
import abc import functools import types # ------------------------------------------------------------------------------ class SRC: """An annotation that's used to designate an argument as a source path.""" @staticmethod def convert(src): return [src] class SRCS(SRC): """An annotation that'...
26.653465
80
0.568165
632
5,384
4.705696
0.210443
0.04035
0.025891
0.034297
0.457633
0.409213
0.369536
0.361466
0.35037
0.35037
0
0.002315
0.27786
5,384
201
81
26.78607
0.762603
0.431092
0
0.465909
0
0
0
0
0
0
0
0
0
1
0.238636
false
0
0.034091
0.090909
0.681818
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
0
1
0
0
2
223594930244eed18919bbb8a49f886e88689e44
2,411
py
Python
01_von_Karman_square/src/figs.py
ShotaDeguchi/PINN_TF2
76320b08029aa175e8aa28c34fa6d227b4da35ce
[ "Apache-2.0" ]
null
null
null
01_von_Karman_square/src/figs.py
ShotaDeguchi/PINN_TF2
76320b08029aa175e8aa28c34fa6d227b4da35ce
[ "Apache-2.0" ]
1
2022-02-20T15:18:15.000Z
2022-02-20T15:23:42.000Z
01_von_Karman_square/src/figs.py
ShotaDeguchi/PINNs_TF2
4675e53fbc8dd89912fd15b6d9f048bb5d382355
[ "Apache-2.0" ]
null
null
null
""" ******************************************************************************** make figures ******************************************************************************** """ import numpy as np from scipy.interpolate import griddata import matplotlib.pyplot as plt def plt_sol0(XY, u, width, height, cmap): ...
33.486111
80
0.510577
380
2,411
3.221053
0.171053
0.026144
0.058824
0.061275
0.763072
0.702614
0.683007
0.683007
0.64951
0.64951
0
0.049277
0.225633
2,411
71
81
33.957746
0.60632
0.072169
0
0.564516
0
0
0.049798
0
0
0
0
0
0
1
0.048387
false
0
0.048387
0
0.096774
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
223bc77fc32664318d48a00b5be7c4902bb70ec4
206
py
Python
request_test.py
hk4114/python-test
e10674429582f60c1c7d66bf293cfb0aa4bc0903
[ "MIT" ]
null
null
null
request_test.py
hk4114/python-test
e10674429582f60c1c7d66bf293cfb0aa4bc0903
[ "MIT" ]
null
null
null
request_test.py
hk4114/python-test
e10674429582f60c1c7d66bf293cfb0aa4bc0903
[ "MIT" ]
null
null
null
from urllib import request, parse data = bytes(parse.urlencode({'word': 'hello'}), encoding='utf8') response = request.urlopen('http://httpbin.org/post', data=data) print(response.read().decode('utf-8'))
29.428571
65
0.713592
28
206
5.25
0.821429
0
0
0
0
0
0
0
0
0
0
0.010582
0.082524
206
7
66
29.428571
0.767196
0
0
0
0
0
0.198068
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
22403622dcb62ba0e58df2e5e1e9b953cd2a4f18
84
py
Python
cassandra_sessions/settings.py
matclayton/django-cassandra-sessions
dcc0ef9ce962db9025d84f1b1151c0f6d1839ff3
[ "MIT" ]
1
2016-02-20T10:51:48.000Z
2016-02-20T10:51:48.000Z
cassandra_sessions/settings.py
matclayton/django-cassandra-sessions
dcc0ef9ce962db9025d84f1b1151c0f6d1839ff3
[ "MIT" ]
null
null
null
cassandra_sessions/settings.py
matclayton/django-cassandra-sessions
dcc0ef9ce962db9025d84f1b1151c0f6d1839ff3
[ "MIT" ]
null
null
null
ROOT_URLCONF = '' DATABASE_ENGINE = 'sqlite3' CASSANDRA_HOSTS = ['127.0.0.1:9160',]
21
37
0.702381
12
84
4.666667
0.916667
0
0
0
0
0
0
0
0
0
0
0.146667
0.107143
84
3
38
28
0.6
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2246f352efe906eafbce1d125c570e1e44416027
1,480
py
Python
tests/rules/test_docker_login.py
frankhli843/thedarn
9e00f854c248156fba820f39b2834e8273583984
[ "MIT" ]
null
null
null
tests/rules/test_docker_login.py
frankhli843/thedarn
9e00f854c248156fba820f39b2834e8273583984
[ "MIT" ]
null
null
null
tests/rules/test_docker_login.py
frankhli843/thedarn
9e00f854c248156fba820f39b2834e8273583984
[ "MIT" ]
null
null
null
from thedarn.rules.docker_login import match, get_new_command from thedarn.types import Command def test_match(): err_response1 = """ Sending build context to Docker daemon 118.8kB Step 1/6 : FROM foo/bar:fdb7c6d pull access denied for foo/bar, repository does not exist or may require 'docker login' """ ...
38.947368
165
0.764189
201
1,480
5.542289
0.303483
0.070018
0.16158
0.18851
0.596948
0.596948
0.560144
0.497307
0.395871
0.240575
0
0.101325
0.133108
1,480
37
166
40
0.766952
0
0
0.16129
0
0
0.683784
0.208108
0
0
0
0
0.16129
1
0.064516
false
0
0.064516
0
0.129032
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
224cbc6d36b84df100320a69329a6864ac933f97
943
py
Python
design-patterns/abstract-factory-python/abstract_factory_method.py
nshaikh1/DesignAndMaintenance
6c03c6074482d0b29ed89c5b64a31e452dc80420
[ "MIT" ]
2
2020-01-28T00:36:43.000Z
2020-01-28T00:49:40.000Z
design-patterns/abstract-factory-python/abstract_factory_method.py
nshaikh1/DesignAndMaintenance
6c03c6074482d0b29ed89c5b64a31e452dc80420
[ "MIT" ]
36
2020-01-28T06:51:40.000Z
2020-05-16T00:23:10.000Z
design-patterns/abstract-factory-python/abstract_factory_method.py
nshaikh1/DesignAndMaintenance
6c03c6074482d0b29ed89c5b64a31e452dc80420
[ "MIT" ]
23
2020-01-28T00:51:29.000Z
2020-05-16T03:06:03.000Z
# Python Code for object # oriented concepts using # the abstract factory # design patter import random class Cars_avaliable: def __init__(self, Car = None): self.cars = Car def show_car(self): rental = self.cars() print(f'Name of car {rental}') ...
16.258621
60
0.560976
118
943
4.144068
0.440678
0.122699
0.06135
0.09816
0
0
0
0
0
0
0
0.045307
0.344645
943
58
61
16.258621
0.745955
0.101803
0
0.206897
0
0
0.103325
0
0
0
0
0
0
1
0.310345
false
0
0.034483
0.241379
0.724138
0.068966
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
2
2251408c4ae8c17857f2e8d3147759563f8cf62c
3,228
py
Python
ch06_ul/6-1.py
kshelp/ai1
f3a9291667dc5639a8d4574aa2fef58e9f54df91
[ "MIT" ]
null
null
null
ch06_ul/6-1.py
kshelp/ai1
f3a9291667dc5639a8d4574aa2fef58e9f54df91
[ "MIT" ]
null
null
null
ch06_ul/6-1.py
kshelp/ai1
f3a9291667dc5639a8d4574aa2fef58e9f54df91
[ "MIT" ]
null
null
null
# 군집 알고리즘 ## 과일 사진 데이터 준비하기 # !wget https://bit.ly/fruits_300 -O fruits_300.npy # PS D:\dev\workspace\ai\ai1> wget https://bit.ly/fruits_300 -O fruits_300.npy import numpy as np import matplotlib.pyplot as plt fruits = np.load('fruits_300.npy') print(fruits.shape) # (300, 100, 100) print(fruits[0, 0, :]) ''' [ 1 ...
33.278351
78
0.615861
649
3,228
3.023112
0.31433
0.057085
0.074924
0.089704
0.331804
0.198267
0.140673
0.124363
0.124363
0.097859
0
0.3516
0.225527
3,228
96
79
33.625
0.4332
0.065366
0
0.195652
0
0
0.04973
0
0
0
0
0
0
1
0
false
0
0.043478
0
0.043478
0.108696
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
22526873e8a8221386ef2c19278ca26f7fa9466d
1,618
py
Python
tests/basics/Inspection_36.py
roired/Nuitka
d240a14b4b00c03d60050b4ba67382fb09c7dba8
[ "Apache-2.0" ]
1,228
2015-01-01T15:12:50.000Z
2018-09-21T20:41:11.000Z
tests/basics/Inspection_36.py
lps1333/Nuitka
02e8d59a275cd7fe482cbc8100e753ff5abe39d7
[ "Apache-2.0" ]
131
2015-09-13T05:43:05.000Z
2018-09-22T08:34:41.000Z
tests/basics/Inspection_36.py
lps1333/Nuitka
02e8d59a275cd7fe482cbc8100e753ff5abe39d7
[ "Apache-2.0" ]
92
2015-02-02T21:05:35.000Z
2018-09-07T00:14:43.000Z
# Copyright 2021, Kay Hayen, mailto:kay.hayen@gmail.com # # Python tests originally created or extracted from other peoples work. The # parts were too small to be protected. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the ...
38.52381
93
0.773795
201
1,618
6.223881
0.557214
0.047962
0.041567
0.118305
0.189448
0.131894
0
0
0
0
0
0.006569
0.153276
1,618
41
94
39.463415
0.906569
0.534611
0
0
0
0
0
0
0
0
0
0
0.642857
1
0
true
0
0.142857
0
0.142857
0.071429
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
0
1
0
0
0
0
0
0
2
22559536d6334c9be4a19c309de3ce3651df5d86
2,807
py
Python
app/server.py
hailiang-wang/aclweb-I17-1074
93066d11e959afbd6800a72a0c02c8f700444de3
[ "Apache-2.0" ]
361
2017-06-01T09:52:57.000Z
2022-03-18T14:32:07.000Z
app/server.py
hailiang-wang/aclweb-I17-1074
93066d11e959afbd6800a72a0c02c8f700444de3
[ "Apache-2.0" ]
11
2017-07-13T07:56:30.000Z
2019-04-16T19:02:43.000Z
app/server.py
hailiang-wang/aclweb-I17-1074
93066d11e959afbd6800a72a0c02c8f700444de3
[ "Apache-2.0" ]
126
2017-06-16T15:22:39.000Z
2021-09-07T08:15:27.000Z
###################################################################### ###################################################################### # Copyright Tsung-Hsien Wen, Cambridge Dialogue Systems Group, 2017 # ###################################################################### ####################################...
34.231707
79
0.564304
299
2,807
5.157191
0.384615
0.072633
0.09987
0.116732
0.388457
0.373541
0.373541
0.287938
0.256809
0.256809
0
0.008182
0.216245
2,807
81
80
34.654321
0.692727
0.053082
0
0.259259
0
0
0.231712
0.110359
0
0
0
0.012346
0
0
null
null
0
0.148148
null
null
0.018519
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
2
225e6bcccd1eb62b262846137bcd3b3104b61f8d
2,205
py
Python
huskyville.py
kittsville/Huskyville
3de3a61d911acd95a9ca7e2312d0d5c195dc3c63
[ "MIT" ]
null
null
null
huskyville.py
kittsville/Huskyville
3de3a61d911acd95a9ca7e2312d0d5c195dc3c63
[ "MIT" ]
null
null
null
huskyville.py
kittsville/Huskyville
3de3a61d911acd95a9ca7e2312d0d5c195dc3c63
[ "MIT" ]
null
null
null
import requests import sys url = 'https://dal09-gateway.watsonplatform.net/instance/561/deepqa/v1/question' username = 'YOUR_USERNAME_HERE' password = 'YOUR_PASSWORD_HERE' # YOUR ANSWER PROCESSING LOGIC HERE def good_answer(answer): if 'back pain' in answer: return True else: return False...
29.4
130
0.605896
252
2,205
5.186508
0.420635
0.036725
0.030604
0.036725
0
0
0
0
0
0
0
0.017555
0.276644
2,205
74
131
29.797297
0.801881
0.049887
0
0.163636
0
0.018182
0.290909
0
0
0
0
0
0
0
null
null
0.072727
0.036364
null
null
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
1
0
0
0
0
0
2
225eefa61670d46a7b92702fed25e107fe526b0e
163
py
Python
src/libok.py
timm/ase19
ccf579752b1c47ab4438629127825133cd750082
[ "BSD-2-Clause" ]
null
null
null
src/libok.py
timm/ase19
ccf579752b1c47ab4438629127825133cd750082
[ "BSD-2-Clause" ]
null
null
null
src/libok.py
timm/ase19
ccf579752b1c47ab4438629127825133cd750082
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python3 # vim: sta:et:sw=2:ts=2:sts=2 from lib import * if __name__ == "__main__": print(cli()) for l in file("lib.py"): print("["+l+"]")
16.3
29
0.576687
29
163
2.965517
0.827586
0
0
0
0
0
0
0
0
0
0
0.029851
0.177914
163
9
30
18.111111
0.61194
0.300614
0
0
0
0
0.142857
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
2269833e3fe6c62db4776aac2b165dde38eaa043
97
py
Python
code/config.py
zhaokv/Deep-Style-Match
ea44c9dcde387fd280be1a05341dc63e7df23644
[ "MIT" ]
null
null
null
code/config.py
zhaokv/Deep-Style-Match
ea44c9dcde387fd280be1a05341dc63e7df23644
[ "MIT" ]
null
null
null
code/config.py
zhaokv/Deep-Style-Match
ea44c9dcde387fd280be1a05341dc63e7df23644
[ "MIT" ]
null
null
null
w2vSize = 100 feature_dim = 100 max_len=21 debug = False poolSize=32 topicNum = 100 fresh = True
12.125
17
0.752577
16
97
4.4375
0.875
0
0
0
0
0
0
0
0
0
0
0.175
0.175258
97
7
18
13.857143
0.7125
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
22728074c25a391914f37791da966fd31b4f09d5
128
py
Python
Guanabara/desafio05.py
manuellaAlvesVarella/python
eedb8362f0ebc8074f87d15c9e629e319ff29394
[ "MIT" ]
1
2022-03-25T20:42:20.000Z
2022-03-25T20:42:20.000Z
Guanabara/desafio05.py
manuellaAlvesVarella/python
eedb8362f0ebc8074f87d15c9e629e319ff29394
[ "MIT" ]
null
null
null
Guanabara/desafio05.py
manuellaAlvesVarella/python
eedb8362f0ebc8074f87d15c9e629e319ff29394
[ "MIT" ]
null
null
null
n = int(input('digite um número:')) a = n - 1 s = n + 1 print ('o antecessor do número {} é {} e o sucessor é {}'.format(n,a,s))
32
72
0.578125
26
128
2.846154
0.653846
0.054054
0
0
0
0
0
0
0
0
0
0.019802
0.210938
128
4
72
32
0.712871
0
0
0
0
0
0.503876
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
97d50a9f34b5f23e58763a63cd318a451c459454
13,047
py
Python
renormalizer/vibronic/tests/mctdh_data.py
liwt31/Renormalizer
123a9d53f4f5f32c0088c255475f0ee60d02c745
[ "Apache-2.0" ]
null
null
null
renormalizer/vibronic/tests/mctdh_data.py
liwt31/Renormalizer
123a9d53f4f5f32c0088c255475f0ee60d02c745
[ "Apache-2.0" ]
null
null
null
renormalizer/vibronic/tests/mctdh_data.py
liwt31/Renormalizer
123a9d53f4f5f32c0088c255475f0ee60d02c745
[ "Apache-2.0" ]
null
null
null
import numpy as np # time occ1 occ2 mctdh_data = np.array( [[5.0000000e-01, 1.2083970e-02, 9.8791603e-01], [1.0000000e+00, 4.3008830e-02, 9.5699117e-01], [1.5000000e+00, 7.9675930e-02, 9.2032407e-01], [2.0000000e+00, 1.0804013e-01, 8.9195987e-01], [2.5000000e...
53.471311
53
0.610409
2,171
13,047
3.667895
0.257024
0.043702
0.005526
0
0
0
0
0
0
0
0
0.678794
0.186786
13,047
244
54
53.471311
0.071725
0.002606
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.004115
0
0.004115
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
97da5dd64e398b9e1a1d1d51f65273231afe2f1f
1,119
py
Python
var/spack/repos/builtin/packages/py-morph-validator/package.py
tomdele/spack
06d0a7ea03c6b856a75bb9e8a040d15d6da3b81c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
var/spack/repos/builtin/packages/py-morph-validator/package.py
tomdele/spack
06d0a7ea03c6b856a75bb9e8a040d15d6da3b81c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
var/spack/repos/builtin/packages/py-morph-validator/package.py
tomdele/spack
06d0a7ea03c6b856a75bb9e8a040d15d6da3b81c
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class PyMorphValidator(PythonPackage): """Python library neuron morphology analysis""" hom...
36.096774
82
0.658624
176
1,119
4.119318
0.471591
0.148966
0.182069
0.212414
0.26069
0.186207
0
0
0
0
0
0.050725
0.136729
1,119
30
83
37.3
0.699793
0.206434
0
0
0
0
0.426621
0.071672
0
0
0
0
0
1
0
false
0
0.055556
0
0.222222
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
0
0
0
2
97dc00bae8d02e8f139b5f6677d017e9fef4491a
1,994
py
Python
application.py
amfox/af_sbs
327a0a68731e905818b24aaf4efb35cfd0d29637
[ "MIT" ]
null
null
null
application.py
amfox/af_sbs
327a0a68731e905818b24aaf4efb35cfd0d29637
[ "MIT" ]
null
null
null
application.py
amfox/af_sbs
327a0a68731e905818b24aaf4efb35cfd0d29637
[ "MIT" ]
null
null
null
# coding=utf-8 import os import tornado from apscheduler.events import EVENT_JOB_EXECUTED, EVENT_JOB_ERROR, EVENT_JOB_ADDED from apscheduler.schedulers.tornado import TornadoScheduler from handler.AddJobHandler import AddJobHandler from handler.BackUIHandler import BackUIHandler from handler.DebugHandler import DebugHa...
39.098039
106
0.713641
207
1,994
6.705314
0.338164
0.079251
0.023055
0.030259
0.086455
0.086455
0.044669
0.044669
0
0
0
0.00062
0.190572
1,994
50
107
39.88
0.859356
0.015045
0
0
0
0
0.075
0
0
0
0
0
0
0
null
null
0
0.375
null
null
0.025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
3f041d4f40389925d387be13952415325bc648f7
473
py
Python
lambda_function.py
awslabs/amazon-aurora-postgres-monitoring
150a92d45b993ab0072603348493079769987dd0
[ "Apache-2.0", "BSD-3-Clause" ]
28
2020-07-17T00:10:45.000Z
2022-03-06T09:02:49.000Z
lambda_function.py
awslabs/amazon-aurora-postgres-monitoring
150a92d45b993ab0072603348493079769987dd0
[ "Apache-2.0", "BSD-3-Clause" ]
null
null
null
lambda_function.py
awslabs/amazon-aurora-postgres-monitoring
150a92d45b993ab0072603348493079769987dd0
[ "Apache-2.0", "BSD-3-Clause" ]
3
2020-10-02T00:29:28.000Z
2022-01-14T15:28:11.000Z
#!/usr/bin/env python # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0 import os import sys import aurora_postgres_monitoring def lambda_handler(event, context): # resolve the configuration from the sources required config_sources = [event, os.environ...
26.277778
68
0.763214
63
473
5.460317
0.761905
0.081395
0.139535
0
0
0
0
0
0
0
0
0.007426
0.145877
473
17
69
27.823529
0.844059
0.369979
0
0
0
0
0.054422
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
3f1cd953257752063df9053ad36eec02905dc5e9
220
py
Python
examples/create_new_document.py
MrTeferi/photoshop-python-api
3467c345c836e0515af793d365edb83fe9166643
[ "MIT" ]
270
2020-04-11T22:41:20.000Z
2022-03-29T09:16:43.000Z
examples/create_new_document.py
MrTeferi/photoshop-python-api
3467c345c836e0515af793d365edb83fe9166643
[ "MIT" ]
67
2020-04-18T08:12:34.000Z
2022-03-31T16:51:56.000Z
examples/create_new_document.py
MrTeferi/photoshop-python-api
3467c345c836e0515af793d365edb83fe9166643
[ "MIT" ]
32
2020-05-13T10:51:04.000Z
2022-03-19T02:53:43.000Z
"""Create a new document.""" # Import local modules from photoshop import Session with Session() as ps: ps.app.preferences.rulerUnits = ps.Units.Pixels ps.app.documents.add(1920, 1080, name="my_new_document")
22
60
0.727273
32
220
4.9375
0.75
0.139241
0
0
0
0
0
0
0
0
0
0.042781
0.15
220
9
61
24.444444
0.802139
0.2
0
0
0
0
0.088235
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
3f2a9ef6727b83ceb52f3ce868a537ca5cfae481
399
py
Python
Student Kit/src/main.py
adityaKrishan651/Student-Kit
dc58b7ff90b691b55993a837e0d2507d1649d7d4
[ "MIT" ]
null
null
null
Student Kit/src/main.py
adityaKrishan651/Student-Kit
dc58b7ff90b691b55993a837e0d2507d1649d7d4
[ "MIT" ]
null
null
null
Student Kit/src/main.py
adityaKrishan651/Student-Kit
dc58b7ff90b691b55993a837e0d2507d1649d7d4
[ "MIT" ]
null
null
null
import random import secrets import os from datetime import datetime from flask import Flask, render_template, redirect, url_for, send_file, request from flask_sqlalchemy import SQLAlchemy from flaskwebgui import FlaskUI from win10toast import ToastNotifier from flask_uploads import UploadSet, configure_uploads, ALL im...
28.5
79
0.849624
53
399
6.207547
0.584906
0.082067
0
0
0
0
0
0
0
0
0
0.005666
0.115288
399
14
80
28.5
0.926346
0
0
0
0
0
0.04
0
0
0
0
0
0
1
0
false
0
0.923077
0
0.923077
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
3f36f666958fc49035a9e8e417703c05e064a2cf
206
py
Python
setup.py
IskandaF/teamlab
dd1dbdba14f675d8cec42e2f2e1ef5c8d52b0cdf
[ "MIT" ]
null
null
null
setup.py
IskandaF/teamlab
dd1dbdba14f675d8cec42e2f2e1ef5c8d52b0cdf
[ "MIT" ]
null
null
null
setup.py
IskandaF/teamlab
dd1dbdba14f675d8cec42e2f2e1ef5c8d52b0cdf
[ "MIT" ]
null
null
null
from setuptools import find_packages, setup setup( name='src', packages=find_packages(), version='0.1.0', description='A team matching platform', author='iskanda', license='MIT', )
18.727273
43
0.660194
25
206
5.36
0.8
0.179104
0
0
0
0
0
0
0
0
0
0.018182
0.199029
206
10
44
20.6
0.793939
0
0
0
0
0
0.203884
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
3f37d28b54c6ee376504d42e76823c0f31ef7764
611
py
Python
xai/compiler/__init__.py
ngpgn/contextual-ai
deb119395ced5242f243b2b31c074507e96646c0
[ "Apache-2.0" ]
83
2020-06-17T04:07:29.000Z
2022-03-12T13:45:24.000Z
xai/compiler/__init__.py
ngpgn/contextual-ai
deb119395ced5242f243b2b31c074507e96646c0
[ "Apache-2.0" ]
15
2020-06-30T09:22:19.000Z
2021-11-11T10:52:40.000Z
xai/compiler/__init__.py
ngpgn/contextual-ai
deb119395ced5242f243b2b31c074507e96646c0
[ "Apache-2.0" ]
11
2020-06-17T17:01:24.000Z
2022-02-27T18:53:03.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyright 2019 SAP SE or an SAP affiliate company. All rights reserved # ============================================================================ from .base import ( Controller, Configuration, Constant ) from .data import DataStatisticsAnalysis from .evaluat...
24.44
78
0.666121
54
611
7.537037
0.722222
0
0
0
0
0
0
0
0
0
0
0.009653
0.152209
611
24
79
25.458333
0.776062
0.304419
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.444444
0
0.444444
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
0
0
0
2
3f44473baf1432e787a9693136d7ba6b56593fff
392
py
Python
Implementation/4673_셀프 넘버/4673_셀프 넘버.py
7dudtj/BOJ_myCode
37d105590a7963e2232102b3098fea3c3504b96f
[ "MIT" ]
1
2022-03-30T15:50:47.000Z
2022-03-30T15:50:47.000Z
Implementation/4673_셀프 넘버/4673_셀프 넘버.py
7dudtj/BOJ_myCode
37d105590a7963e2232102b3098fea3c3504b96f
[ "MIT" ]
null
null
null
Implementation/4673_셀프 넘버/4673_셀프 넘버.py
7dudtj/BOJ_myCode
37d105590a7963e2232102b3098fea3c3504b96f
[ "MIT" ]
1
2021-07-20T07:11:06.000Z
2021-07-20T07:11:06.000Z
self = [1]*11000 for i in range(1,10): self[2*i-1] = 0 for j in range(10,100): self[j+int(str(j)[0])+int(str(j)[1])-1] = 0 for k in range(100,1000): self[k+int(str(k)[0])+int(str(k)[1])+int(str(k)[2])-1] = 0 for m in range(1000,10000): self[m+int(str(m)[0])+int(str(m)[1])+int(str(m)[2])+int(str(m)[3])...
26.133333
77
0.535714
92
392
2.282609
0.23913
0.257143
0.095238
0
0
0
0
0
0
0
0
0.17134
0.181122
392
14
78
28
0.482866
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.083333
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3f494e9b9bf01ab91eed22c8c332b4fe87a33a3b
179,740
py
Python
etcd3/etcdrpc/rpc_pb2.py
lancastr/python-etcd3
0b70095b3feb1a29c4f335ba3d5b31e58b977c2e
[ "Apache-2.0" ]
362
2016-10-13T09:00:45.000Z
2022-03-31T06:44:47.000Z
etcd3/etcdrpc/rpc_pb2.py
famae/python-etcd3
fe567d064604ac2c777bb745fc713ff41754f849
[ "Apache-2.0" ]
1,630
2016-10-02T22:50:01.000Z
2022-03-28T23:19:51.000Z
etcd3/etcdrpc/rpc_pb2.py
famae/python-etcd3
fe567d064604ac2c777bb745fc713ff41754f849
[ "Apache-2.0" ]
159
2016-10-11T13:38:53.000Z
2022-03-21T06:45:41.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: rpc.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf.internal import enum_type_wrapper from google.protobuf import descriptor as _descriptor from google.protobuf import message as _messa...
37.399084
17,127
0.759241
20,198
179,740
6.459848
0.043123
0.040896
0.055367
0.031868
0.622666
0.581839
0.552914
0.526856
0.520647
0.481192
0
0.035693
0.121192
179,740
4,805
17,128
37.406868
0.790329
0.033866
0
0.668475
1
0.000904
0.211007
0.164862
0
0
0
0
0
1
0
false
0.00565
0.001808
0
0.001808
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
3f5de37014ff20f352a7beb58d89ebc1099e46aa
910
py
Python
py/specter/test/__init__.py
marcelo-alvarez/specter
f242a3d707c4cba549030af6df8cf5bb12e2b47c
[ "BSD-3-Clause" ]
4
2016-07-20T08:47:19.000Z
2021-06-04T18:31:03.000Z
py/specter/test/__init__.py
marcelo-alvarez/specter
f242a3d707c4cba549030af6df8cf5bb12e2b47c
[ "BSD-3-Clause" ]
54
2015-07-06T23:24:18.000Z
2021-03-09T22:33:48.000Z
py/specter/test/__init__.py
marcelo-alvarez/specter
f242a3d707c4cba549030af6df8cf5bb12e2b47c
[ "BSD-3-Clause" ]
7
2015-06-26T18:05:32.000Z
2020-10-21T20:25:34.000Z
from specter.test.test_psf import TestPixPSF, TestSpotPSF from specter.test.test_specio import TestSpecIO from specter.test.test_throughput import TestThroughput from specter.test.test_util import TestUtil from specter.test.test_extract import TestExtract from specter.test.test_pixspline import TestPixSpline from spect...
32.5
59
0.772527
108
910
6.444444
0.324074
0.126437
0.172414
0.191092
0
0
0
0
0
0
0
0.001276
0.138462
910
27
60
33.703704
0.88648
0.030769
0
0
0
0
0
0
0
0
0
0
0
1
0.047619
false
0
0.380952
0
0.428571
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
3f6da7478a1e65c22c31d311471a62cff6dcf074
114,889
py
Python
chembl_webresource_client/tests.py
uibcdf/chembl_webresource_client
1abf6d2bb8d5f11f889258727d16ec784083a27e
[ "Apache-2.0" ]
248
2015-07-02T12:23:43.000Z
2022-03-23T18:56:31.000Z
chembl_webresource_client/tests.py
Anomic-cr/chembl_webresource_client
0344d002d8cfb9ea0b5e0bf1c62440a803560824
[ "Apache-2.0" ]
102
2015-03-09T14:21:43.000Z
2022-03-24T10:46:00.000Z
chembl_webresource_client/tests.py
Anomic-cr/chembl_webresource_client
0344d002d8cfb9ea0b5e0bf1c62440a803560824
[ "Apache-2.0" ]
108
2015-03-03T13:05:58.000Z
2022-03-18T15:48:11.000Z
# -*- coding: utf-8 -*- __author__ = 'mnowotka' from xml.dom.minidom import parseString from requests.exceptions import RetryError from chembl_webresource_client.settings import Settings from chembl_webresource_client import * from chembl_webresource_client.utils import utils from chembl_webresource_client.new_client...
73.271046
1,468
0.672823
15,598
114,889
4.768881
0.068599
0.084829
0.055576
0.081226
0.716636
0.670296
0.620367
0.586704
0.565786
0.537918
0
0.039495
0.181932
114,889
1,567
1,469
73.317805
0.751944
0.511468
0
0.18637
0
0.019471
0.258068
0.043866
0
0
0
0
0.520167
1
0.082058
false
0
0.023644
0
0.107093
0.001391
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
3f6e432d9f7f0f4026d76d1f7b869f3eec2ca48c
176
py
Python
Python/Counting the Number words.py
dubsy9/Hello-world
bf124cf101dfa0a64b1cdecaed8499b5ee203e6f
[ "MIT" ]
2
2019-01-12T15:18:18.000Z
2019-01-12T15:51:39.000Z
Python/Counting the Number words.py
dubsy9/Hello-world
bf124cf101dfa0a64b1cdecaed8499b5ee203e6f
[ "MIT" ]
2
2022-02-14T22:05:05.000Z
2022-02-27T21:46:56.000Z
Python/Counting the Number words.py
dubsy9/Hello-world
bf124cf101dfa0a64b1cdecaed8499b5ee203e6f
[ "MIT" ]
1
2018-10-05T00:32:30.000Z
2018-10-05T00:32:30.000Z
def main(): s = input("Please enter your sentence: ") words = s.split() wordCount = len(words) print ("Your word and letter counts are:", wordCount) main()
29.333333
58
0.613636
23
176
4.695652
0.782609
0
0
0
0
0
0
0
0
0
0
0
0.25
176
6
59
29.333333
0.818182
0
0
0
0
0
0.348837
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.166667
0.166667
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
0
0
2
3f71f1c98ef1b05426b5b3038b51243c22204e2d
2,002
py
Python
weixin_server/config_models/__init__.py
duoduo369/weixin_server
7be0b92239b390235befc33ae373cb9acf724a84
[ "MIT" ]
36
2016-05-01T16:10:29.000Z
2021-12-09T14:59:36.000Z
weixin_server/config_models/__init__.py
duoduo369/weixin_server
7be0b92239b390235befc33ae373cb9acf724a84
[ "MIT" ]
null
null
null
weixin_server/config_models/__init__.py
duoduo369/weixin_server
7be0b92239b390235befc33ae373cb9acf724a84
[ "MIT" ]
20
2016-04-26T00:51:09.000Z
2020-07-29T13:40:04.000Z
""" Model-Based Configuration ========================= This app allows other apps to easily define a configuration model that can be hooked into the admin site to allow configuration management with auditing. Installation ------------ Add ``config_models`` to your ``INSTALLED_APPS`` list. Usage ----- Create a sub...
31.777778
90
0.747752
265
2,002
5.6
0.490566
0.024259
0.024259
0.018868
0
0
0
0
0
0
0
0.001186
0.157842
2,002
62
91
32.290323
0.879004
0.995505
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2
58af611d172c58f58a350c8676334a117b46a60a
524
py
Python
tests/auth/conftest.py
hiporox/strawberry-graphql-django
eb2924a35fc503a5fb1fb73c4188dc6bdc90c58e
[ "MIT" ]
96
2021-03-11T05:50:55.000Z
2022-03-30T09:14:09.000Z
tests/auth/conftest.py
hiporox/strawberry-graphql-django
eb2924a35fc503a5fb1fb73c4188dc6bdc90c58e
[ "MIT" ]
92
2021-03-11T13:28:31.000Z
2022-03-31T15:20:19.000Z
tests/auth/conftest.py
hiporox/strawberry-graphql-django
eb2924a35fc503a5fb1fb73c4188dc6bdc90c58e
[ "MIT" ]
22
2021-03-17T18:41:48.000Z
2022-03-18T12:11:51.000Z
import pytest from django.contrib import auth as django_auth UserModel = django_auth.get_user_model() @pytest.fixture def context(mocker): class Session(dict): def cycle_key(self): pass def flush(self): pass context = mocker.Mock() context.request.session = Sess...
19.407407
78
0.677481
65
524
5.353846
0.523077
0.086207
0.091954
0
0
0
0
0
0
0
0
0
0.225191
524
26
79
20.153846
0.857143
0
0
0.222222
0
0
0.022901
0
0
0
0
0
0
1
0.222222
false
0.166667
0.111111
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
58b1c484c64cfab91360f08f34e895ab800ae638
244
py
Python
weightlogger/constant.py
fayefv/weightlogger
3b589491f848ea4fa652c3b21d4f2393eae25317
[ "MIT" ]
null
null
null
weightlogger/constant.py
fayefv/weightlogger
3b589491f848ea4fa652c3b21d4f2393eae25317
[ "MIT" ]
null
null
null
weightlogger/constant.py
fayefv/weightlogger
3b589491f848ea4fa652c3b21d4f2393eae25317
[ "MIT" ]
null
null
null
"""Global constants for the app """ import pathlib LOGFILENAME = pathlib.Path(__file__).parent / "data/weightlog.csv" FIELDS = ["date", "weight in lbs"] GRAPH_FILENAME = pathlib.Path(__file__).parent / "data/weightlog.png" NOTRENDFLAG = 10000
27.111111
69
0.741803
31
244
5.548387
0.774194
0.127907
0.174419
0.244186
0.395349
0.395349
0
0
0
0
0
0.023148
0.114754
244
8
70
30.5
0.773148
0.114754
0
0
0
0
0.253589
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
0
0
0
0
0
0
0
2
58b880bbafbf2749bae746352fa8b61c9d6c2a7f
73
py
Python
Python Basics/For Loop/Lab/Task03.py
DonikaChervenkova/SoftUni
bff579c037ec48f39ed193b34bc3502a32e90732
[ "MIT" ]
1
2022-03-16T10:23:04.000Z
2022-03-16T10:23:04.000Z
Python Basics/For Loop/Lab/Task03.py
IvanTodorovBG/SoftUni
7b667f6905d9f695ab1484efbb02b6715f6d569e
[ "MIT" ]
null
null
null
Python Basics/For Loop/Lab/Task03.py
IvanTodorovBG/SoftUni
7b667f6905d9f695ab1484efbb02b6715f6d569e
[ "MIT" ]
1
2021-12-04T12:30:57.000Z
2021-12-04T12:30:57.000Z
number = int(input()) for x in range(0, number + 1, 2): print(2 ** x)
24.333333
33
0.561644
14
73
2.928571
0.785714
0
0
0
0
0
0
0
0
0
0
0.071429
0.232877
73
3
34
24.333333
0.660714
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
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
2
58cb083b17b3009126e04b9b56b8cfb2951a210f
71
py
Python
src/kubehello/__init__.py
shanepreater/minikube-setup
31e8023deaa83d3316f629f1967411f775ba88c4
[ "MIT" ]
null
null
null
src/kubehello/__init__.py
shanepreater/minikube-setup
31e8023deaa83d3316f629f1967411f775ba88c4
[ "MIT" ]
null
null
null
src/kubehello/__init__.py
shanepreater/minikube-setup
31e8023deaa83d3316f629f1967411f775ba88c4
[ "MIT" ]
null
null
null
"""Simple app to illustrate kubernetes usage""" __version__ = "1.0.0"
17.75
47
0.704225
10
71
4.6
0.9
0
0
0
0
0
0
0
0
0
0
0.04918
0.140845
71
3
48
23.666667
0.704918
0.577465
0
0
0
0
0.208333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
58cb857474812f7e256eed39b968039dbc7e84a1
136
py
Python
Python/ex12for.py
Anderson0312/Python
1fd225378c55309640d584a4894393f7c40dc9ed
[ "MIT" ]
1
2022-02-01T17:59:50.000Z
2022-02-01T17:59:50.000Z
Python/ex12for.py
Anderson0312/Python
1fd225378c55309640d584a4894393f7c40dc9ed
[ "MIT" ]
null
null
null
Python/ex12for.py
Anderson0312/Python
1fd225378c55309640d584a4894393f7c40dc9ed
[ "MIT" ]
null
null
null
s = 0 for c in range(0, 4): n = int(input('Digite um numero:')) s += n print('O somatorio de todos os valores foi {}'.format(s))
27.2
57
0.595588
26
136
3.115385
0.846154
0
0
0
0
0
0
0
0
0
0
0.028571
0.227941
136
5
57
27.2
0.742857
0
0
0
0
0
0.40146
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
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
0
0
2
58d05894991ffc364994e77ec26ca3fb06a047c4
2,519
py
Python
castellan/common/objects/managed_object.py
mail2nsrajesh/castellan
1b3f5f3f90cec737fe45280d948b8fadbb049873
[ "Apache-2.0" ]
null
null
null
castellan/common/objects/managed_object.py
mail2nsrajesh/castellan
1b3f5f3f90cec737fe45280d948b8fadbb049873
[ "Apache-2.0" ]
null
null
null
castellan/common/objects/managed_object.py
mail2nsrajesh/castellan
1b3f5f3f90cec737fe45280d948b8fadbb049873
[ "Apache-2.0" ]
null
null
null
# Copyright (c) The Johns Hopkins University/Applied Physics Laboratory # All Rights Reserved. # # 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/licen...
29.988095
78
0.652243
336
2,519
4.85119
0.39881
0.042945
0.034356
0.019632
0.130061
0.058896
0.058896
0.058896
0.058896
0.058896
0
0.002199
0.277888
2,519
83
79
30.349398
0.893898
0.61453
0
0.16
0
0
0.055207
0
0
0
0
0
0
1
0.24
false
0.08
0.08
0
0.48
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
0
0
0
2
58d05c03918b7ce6f576858290b40c6fe5c0812e
671
py
Python
InvenTree/common/apps.py
carlos-riquelme/InvenTree
724dd2a9c82e4c10e14bd6aba8f48553b183fef9
[ "MIT" ]
5
2020-08-14T06:18:57.000Z
2022-01-11T01:22:56.000Z
InvenTree/common/apps.py
carlos-riquelme/InvenTree
724dd2a9c82e4c10e14bd6aba8f48553b183fef9
[ "MIT" ]
27
2021-04-12T22:05:39.000Z
2022-03-13T20:33:54.000Z
InvenTree/common/apps.py
carlos-riquelme/InvenTree
724dd2a9c82e4c10e14bd6aba8f48553b183fef9
[ "MIT" ]
1
2021-12-10T04:47:10.000Z
2021-12-10T04:47:10.000Z
# -*- coding: utf-8 -*- import logging from django.apps import AppConfig logger = logging.getLogger('inventree') class CommonConfig(AppConfig): name = 'common' def ready(self): self.clear_restart_flag() def clear_restart_flag(self): """ Clear the SERVER_RESTART_REQUIRED sett...
21.645161
98
0.636364
69
671
5.985507
0.550725
0.125908
0.20339
0.135593
0
0
0
0
0
0
0
0.002045
0.271237
671
30
99
22.366667
0.842536
0.09538
0
0
0
0
0.168096
0.118353
0
0
0
0
0
1
0.133333
false
0.066667
0.2
0
0.466667
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
58e612b612770fd02e5661da214bc10954ab095a
625
py
Python
ipyauth/ipyauth_widget/__init__.py
optimizely/ipyauth
af3198d81caf23feee6892af76d889dc0e043273
[ "MIT" ]
null
null
null
ipyauth/ipyauth_widget/__init__.py
optimizely/ipyauth
af3198d81caf23feee6892af76d889dc0e043273
[ "MIT" ]
1
2019-12-27T19:48:57.000Z
2019-12-27T19:48:57.000Z
ipyauth/ipyauth_widget/__init__.py
optimizely/ipyauth
af3198d81caf23feee6892af76d889dc0e043273
[ "MIT" ]
2
2020-08-11T07:42:50.000Z
2021-02-11T10:26:26.000Z
from ..__meta__ import __version__, version_info from ._widget_box import Auth from ._params_auth0 import ParamsAuth0 from ._params_google import ParamsGoogle from ._params_optimizely import ParamsOptimizely from ._params_sgconnect import ParamsSgConnect def _jupyter_nbextension_paths(): return [{ # fix...
28.409091
66
0.6976
65
625
6.353846
0.630769
0.096852
0.077482
0.121065
0
0
0
0
0
0
0
0.004107
0.2208
625
21
67
29.761905
0.843943
0.2368
0
0
0
0
0.125265
0
0
0
0
0
0
1
0.076923
true
0
0.461538
0.076923
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
58ebe138b7f15f85a368bb5efe20baafd329a63c
645
py
Python
starting.py
oudoubleyang/TGBot
dc4e4ac2592ae313056307c31ad6764633b3c648
[ "MIT" ]
null
null
null
starting.py
oudoubleyang/TGBot
dc4e4ac2592ae313056307c31ad6764633b3c648
[ "MIT" ]
null
null
null
starting.py
oudoubleyang/TGBot
dc4e4ac2592ae313056307c31ad6764633b3c648
[ "MIT" ]
null
null
null
import shutil import logging from bot_db import db_dir from tools import mkdir, init_db # from session import idle_mark, scheduler from register import register_handlers # , manager def starting(): logging.basicConfig( format='%(asctime)s %(levelname)-8s %(message)s', level=logging.INFO, ...
22.241379
57
0.648062
80
645
5.1125
0.6
0.02445
0.112469
0
0
0
0
0
0
0
0
0.005964
0.220155
645
28
58
23.035714
0.807157
0.153488
0
0
0
0
0.205556
0
0
0
0
0
0
1
0.055556
true
0.055556
0.277778
0
0.388889
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
2
58f4021116c48dcdb5494fff6dd47894b39678e1
9,069
py
Python
tests/primary_query_test.py
dpalmasan/wn
44d01d4b1e56c36ef45c816d8c8733cde5f69104
[ "MIT" ]
1
2021-11-07T08:58:15.000Z
2021-11-07T08:58:15.000Z
tests/primary_query_test.py
dpalmasan/wn
44d01d4b1e56c36ef45c816d8c8733cde5f69104
[ "MIT" ]
null
null
null
tests/primary_query_test.py
dpalmasan/wn
44d01d4b1e56c36ef45c816d8c8733cde5f69104
[ "MIT" ]
null
null
null
import pytest import wn @pytest.mark.usefixtures('empty_db') def test_lexicons_empty(): assert len(wn.lexicons()) == 0 @pytest.mark.usefixtures('mini_db') def test_lexicons_mini(): assert len(wn.lexicons()) == 2 assert all(isinstance(lex, wn.Lexicon) for lex in wn.lexicons()) results = wn.lexicon...
33.341912
76
0.632484
1,358
9,069
4.183358
0.080265
0.118817
0.091005
0.066538
0.789826
0.715367
0.615561
0.520155
0.351699
0.32195
0
0.028218
0.171573
9,069
271
77
33.464945
0.727938
0.014445
0
0.305825
0
0
0.152683
0.044808
0
0
0
0
0.606796
1
0.07767
false
0
0.009709
0
0.087379
0
0
0
0
null
0
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
2
58fe2beacd1c28759d16523cb2e27d88ef98f7e2
359
py
Python
strings/easy/Got_anag_palin.py
tpb261/hackerRank
5289b4761ea9dbe8c020d0fc66b00527c0651767
[ "Apache-2.0" ]
null
null
null
strings/easy/Got_anag_palin.py
tpb261/hackerRank
5289b4761ea9dbe8c020d0fc66b00527c0651767
[ "Apache-2.0" ]
null
null
null
strings/easy/Got_anag_palin.py
tpb261/hackerRank
5289b4761ea9dbe8c020d0fc66b00527c0651767
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 s[]=["aaabbbb", "cdefghmnopqrstuvw", "cdcdcdcdeeeef"]#input() odd_count = 0 for c in range(ord('a'), ord('z')+1): # print(chr(c), s.count(chr(c)), odd_count) if(1 == s.count(chr(c)) % 2): odd_count+=1 if(odd_count > 1): break #print(odd_count) if(1 >= odd_count): ...
21.117647
61
0.557103
56
359
3.464286
0.482143
0.247423
0.092784
0.103093
0
0
0
0
0
0
0
0.02847
0.21727
359
16
62
22.4375
0.661922
0.236769
0
0
0
0
0.163569
0
0
0
0
0
0
0
null
null
0
0
null
null
0.181818
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
1
0
0
0
0
0
0
0
0
2
45013a44bd8a66ea099cd85d6235517edb1364d5
529
py
Python
tests/bind_tests/bounding_box_tests/test_copy.py
skrat/martinez
86db48324cb50ecb52be8ab2e4278a6d5cdd562b
[ "MIT" ]
7
2020-05-07T08:13:44.000Z
2021-12-17T07:33:51.000Z
tests/bind_tests/bounding_box_tests/test_copy.py
skrat/martinez
86db48324cb50ecb52be8ab2e4278a6d5cdd562b
[ "MIT" ]
17
2019-11-29T23:17:26.000Z
2020-12-20T15:47:17.000Z
tests/bind_tests/bounding_box_tests/test_copy.py
skrat/martinez
86db48324cb50ecb52be8ab2e4278a6d5cdd562b
[ "MIT" ]
1
2020-12-17T22:44:21.000Z
2020-12-17T22:44:21.000Z
import copy from hypothesis import given from tests.bind_tests.hints import BoundBoundingBox from . import strategies @given(strategies.bounding_boxes) def test_shallow(bounding_box: BoundBoundingBox) -> None: result = copy.copy(bounding_box) assert result is not bounding_box assert result == bounding_...
23
57
0.778828
68
529
5.867647
0.338235
0.220551
0.170426
0.230576
0.691729
0.691729
0.310777
0.310777
0.310777
0.310777
0
0
0.155009
529
22
58
24.045455
0.892617
0
0
0.428571
0
0
0
0
0
0
0
0
0.285714
1
0.142857
false
0
0.285714
0
0.428571
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
4502b5690a7f4549981fc7088cfa2b374978b9bb
597
py
Python
incrowd/push/utils.py
incrowdio/incrowd
711e99c55b9da815af7749a2930d4184e235fa68
[ "Apache-2.0" ]
4
2015-03-10T04:24:07.000Z
2016-09-18T16:41:12.000Z
incrowd/push/utils.py
incrowdio/incrowd
711e99c55b9da815af7749a2930d4184e235fa68
[ "Apache-2.0" ]
27
2015-01-03T09:52:50.000Z
2021-06-10T20:37:08.000Z
incrowd/push/utils.py
incrowdio/incrowd
711e99c55b9da815af7749a2930d4184e235fa68
[ "Apache-2.0" ]
2
2015-09-07T21:06:51.000Z
2016-03-10T11:31:57.000Z
from __future__ import unicode_literals import logging from django.conf import settings from push import mobile_module from push import pusher_module logger = logging.getLogger() def send_all(message_type, message, crowd, user=None): if settings.PUSH_DISABLED: logger.info('Push disabled, skipping push'...
28.428571
73
0.742044
84
597
5.071429
0.404762
0.049296
0.098592
0.126761
0.267606
0.267606
0.267606
0.187793
0
0
0
0
0.187605
597
20
74
29.85
0.878351
0.127303
0
0
0
0
0.065637
0
0
0
0
0
0
1
0.076923
false
0
0.384615
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
45207d12c9d0a59dccb443264dd00bb71def4f4a
2,302
py
Python
src/spaceone/cost_analysis/interface/grpc/v1/custom_widget.py
whdalsrnt/cost-analysis
cf73e294bcd35fa47f988aab7f00ed4cd777aba5
[ "Apache-2.0" ]
2
2021-12-22T05:31:18.000Z
2021-12-23T11:47:29.000Z
src/spaceone/cost_analysis/interface/grpc/v1/custom_widget.py
whdalsrnt/cost-analysis
cf73e294bcd35fa47f988aab7f00ed4cd777aba5
[ "Apache-2.0" ]
9
2022-02-10T00:58:28.000Z
2022-03-23T11:12:47.000Z
src/spaceone/cost_analysis/interface/grpc/v1/custom_widget.py
spaceone-dev/cost-analysis
cf73e294bcd35fa47f988aab7f00ed4cd777aba5
[ "Apache-2.0" ]
null
null
null
from spaceone.api.cost_analysis.v1 import custom_widget_pb2, custom_widget_pb2_grpc from spaceone.core.pygrpc import BaseAPI class CustomWidget(BaseAPI, custom_widget_pb2_grpc.CustomWidgetServicer): pb2 = custom_widget_pb2 pb2_grpc = custom_widget_pb2_grpc def create(self, request, context): par...
46.04
98
0.703736
257
2,302
6.054475
0.175097
0.14653
0.107969
0.092545
0.728149
0.703728
0.665167
0.665167
0.665167
0.665167
0
0.00441
0.21199
2,302
49
99
46.979592
0.853363
0
0
0.352941
0
0
0.08775
0
0
0
0
0
0
1
0.176471
false
0
0.058824
0
0.5
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
452545773e517169f5180870e43e3ffa28d49819
1,077
py
Python
atriaapp/atriacalendar/translation.py
Perfect5th/atria-calendar
25007f4c5b719b5b618909b30c44b9988ab4dbac
[ "MIT" ]
3
2019-03-01T12:04:59.000Z
2019-10-22T00:36:01.000Z
atriaapp/atriacalendar/translation.py
Perfect5th/atria-calendar
25007f4c5b719b5b618909b30c44b9988ab4dbac
[ "MIT" ]
6
2018-09-17T17:05:57.000Z
2019-09-08T23:55:36.000Z
atriaapp/atriacalendar/translation.py
Perfect5th/atria-calendar
25007f4c5b719b5b618909b30c44b9988ab4dbac
[ "MIT" ]
3
2018-09-03T15:50:36.000Z
2019-07-29T19:08:38.000Z
from modeltranslation.translator import translator, TranslationOptions from swingtime.models import Note, EventType, Event from .models import AtriaEventProgram, AtriaEvent, AtriaOrganization class NoteTranslationOptions(TranslationOptions): fields = ('note',) class EventTypeTranslationOptions(TranslationOptions...
35.9
75
0.831941
75
1,077
11.933333
0.373333
0.160894
0.064804
0.075978
0
0
0
0
0
0
0
0
0.085422
1,077
29
76
37.137931
0.908629
0
0
0.095238
0
0
0.041783
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.714286
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
4534cfd6bc2a9bb9eaa2b3df3091ff6d3823c8a8
954
py
Python
home_page/models.py
ingenuity-2-0/smart-transport-system
564a3e374e6ab299c9a1b38b2cd629b0c38734f8
[ "MIT" ]
1
2022-03-20T21:16:34.000Z
2022-03-20T21:16:34.000Z
home_page/models.py
ingenuity-2-0/smart-transport-system
564a3e374e6ab299c9a1b38b2cd629b0c38734f8
[ "MIT" ]
12
2021-03-25T19:16:24.000Z
2021-05-21T01:03:46.000Z
home_page/models.py
shahriarshafin/smart-transport-system
9b22ea5b7aeac2d4cad5edadfda90ba374056336
[ "MIT" ]
1
2021-05-01T01:08:00.000Z
2021-05-01T01:08:00.000Z
from django.db import models # 3 models are created class Route(models.Model): route_id = models.AutoField(primary_key=True) # auto generated routes = models.TextField() # place name as text class BusInformation(models.Model): bus_id = models.AutoField(primary_key=True) # auto generated bus_name...
39.75
120
0.746331
126
954
5.507937
0.412698
0.057637
0.073487
0.103746
0.286744
0.286744
0.242075
0.126801
0
0
0
0.010038
0.16457
954
23
121
41.478261
0.860728
0.254717
0
0
1
0
0.027221
0
0
0
0
0
0
1
0
false
0
0.066667
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
1886fac7609ed036ad3ccc9610c03ad6cd60c970
978
py
Python
contactos/models.py
diego-d5000/MisValesMd
b641782bc2546776e9f55f452ec7fb48100dc482
[ "MIT" ]
null
null
null
contactos/models.py
diego-d5000/MisValesMd
b641782bc2546776e9f55f452ec7fb48100dc482
[ "MIT" ]
null
null
null
contactos/models.py
diego-d5000/MisValesMd
b641782bc2546776e9f55f452ec7fb48100dc482
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User class Person(models.Model): name = models.CharField(max_length=120, verbose_name=u'Nombre') last_name = models.CharField( max_length=120, blank=True, null=True, verbose_name=u'Apellido' ) number = models.CharFiel...
33.724138
80
0.690184
126
978
5.174603
0.325397
0.138037
0.165644
0.220859
0.452454
0.452454
0.319018
0.319018
0.319018
0.184049
0
0.020382
0.197342
978
28
81
34.928571
0.810191
0
0
0.272727
0
0
0.052632
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0.090909
0.818182
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
18927488d3706ce8be58707c562b37a3d26a3ffb
2,609
py
Python
aliyun-python-sdk-eipanycast/aliyunsdkeipanycast/request/v20200309/AllocateAnycastEipAddressRequest.py
yndu13/aliyun-openapi-python-sdk
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
[ "Apache-2.0" ]
1,001
2015-07-24T01:32:41.000Z
2022-03-25T01:28:18.000Z
aliyun-python-sdk-eipanycast/aliyunsdkeipanycast/request/v20200309/AllocateAnycastEipAddressRequest.py
yndu13/aliyun-openapi-python-sdk
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
[ "Apache-2.0" ]
363
2015-10-20T03:15:00.000Z
2022-03-08T12:26:19.000Z
aliyun-python-sdk-eipanycast/aliyunsdkeipanycast/request/v20200309/AllocateAnycastEipAddressRequest.py
yndu13/aliyun-openapi-python-sdk
12ace4fb39fe2fb0e3927a4b1b43ee4872da43f5
[ "Apache-2.0" ]
682
2015-09-22T07:19:02.000Z
2022-03-22T09:51:46.000Z
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
35.256757
98
0.775393
328
2,609
5.990854
0.344512
0.021374
0.049873
0.06056
0.110433
0.110433
0.110433
0
0
0
0
0.005272
0.127635
2,609
74
99
35.256757
0.858084
0.289
0
0
0
0
0.161093
0.013935
0
0
0
0
0
1
0.394737
false
0
0.052632
0.184211
0.657895
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
0
0
0
2
1895ddb425f6e0aef230a15dd585b315da25c33d
57
py
Python
classical/webapp/tests/test_settings.py
madhav28/Montecarlo_Quant
0aadc43696443a4d1e235bea2dcf033b70ef0ec0
[ "Apache-2.0" ]
23
2018-12-19T13:13:50.000Z
2022-03-29T13:20:46.000Z
classical/webapp/tests/test_settings.py
madhav28/Montecarlo_Quant
0aadc43696443a4d1e235bea2dcf033b70ef0ec0
[ "Apache-2.0" ]
4
2019-01-27T10:41:55.000Z
2019-11-09T18:44:15.000Z
classical/webapp/tests/test_settings.py
madhav28/Montecarlo_Quant
0aadc43696443a4d1e235bea2dcf033b70ef0ec0
[ "Apache-2.0" ]
11
2018-12-15T06:35:22.000Z
2021-07-26T12:55:15.000Z
SECRET_KEY = 'fake-key' INSTALLED_APPS = [ "tests", ]
14.25
23
0.631579
7
57
4.857143
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.192982
57
4
24
14.25
0.73913
0
0
0
0
0
0.224138
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
18a43ea4f83890f42e2554eb20f47d4becd12636
380
py
Python
src/etl/helpers/text_processing_helper.py
alliance-genome/agr_loader
79f87f16ccfc1260f57ec651dce6e32b4b926866
[ "MIT" ]
1
2018-10-05T15:35:54.000Z
2018-10-05T15:35:54.000Z
src/etl/helpers/text_processing_helper.py
sierra-moxon/agr_loader
aa240d579c87b048c24b5cf5cdc205a30b86a8f3
[ "MIT" ]
176
2017-09-05T23:01:59.000Z
2021-11-16T13:14:45.000Z
src/etl/helpers/text_processing_helper.py
sierra-moxon/agr_loader
aa240d579c87b048c24b5cf5cdc205a30b86a8f3
[ "MIT" ]
5
2020-08-19T11:50:59.000Z
2020-12-19T08:54:01.000Z
"""Text Processing Helper""" import re class TextProcessingHelper(): """Text Processing Helper""" @staticmethod def cleanhtml(raw_html): """Clean HTML""" cleanr = re.compile('</.*?>') cleantext = re.sub(cleanr, '>', raw_html) cleanr = re.compile('<.*?>') cleantext...
21.111111
50
0.568421
36
380
5.944444
0.5
0.130841
0.186916
0.17757
0.364486
0.364486
0.364486
0.364486
0
0
0
0
0.257895
380
17
51
22.352941
0.758865
0.147368
0
0
0
0
0.042208
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.444444
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
0
0
0
2
18a47a97db1141ee5f8719f801f5f68544d7bb3c
4,455
py
Python
django_swagger_tester/case/checks.py
sobolevn/django-swagger-tester
5f47ea8056c1a26a40c4c2f3b5b22dba84242f30
[ "BSD-3-Clause" ]
null
null
null
django_swagger_tester/case/checks.py
sobolevn/django-swagger-tester
5f47ea8056c1a26a40c4c2f3b5b22dba84242f30
[ "BSD-3-Clause" ]
null
null
null
django_swagger_tester/case/checks.py
sobolevn/django-swagger-tester
5f47ea8056c1a26a40c4c2f3b5b22dba84242f30
[ "BSD-3-Clause" ]
null
null
null
import logging import re from typing import Any, Callable, Union from django_swagger_tester.exceptions import CaseError logger = logging.getLogger('django_swagger_tester') def case_check(case: Union[str, None]) -> Callable[[str, str], None]: """ Returns the appropriate case check based on the `case` input p...
33.75
120
0.60853
623
4,455
4.250401
0.155698
0.060423
0.049094
0.042296
0.715257
0.715257
0.683535
0.683535
0.666918
0.617069
0
0.007663
0.238384
4,455
131
121
34.007634
0.772767
0.163861
0
0.407895
0
0
0.287115
0.005882
0
0
0
0
0
1
0.078947
false
0.013158
0.052632
0
0.197368
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
18b10e9b5dba74d9ed031d181e254fc0228548ca
533
py
Python
iris/api/settings.py
dioptra-io/iris
1a7dfb8210fdc0f0554b61b81cbfdba7872f9d39
[ "MIT" ]
6
2022-01-13T16:09:57.000Z
2022-03-26T08:39:47.000Z
iris/api/settings.py
dioptra-io/iris
1a7dfb8210fdc0f0554b61b81cbfdba7872f9d39
[ "MIT" ]
16
2022-02-01T06:09:13.000Z
2022-03-01T06:12:30.000Z
iris/api/settings.py
dioptra-io/iris
1a7dfb8210fdc0f0554b61b81cbfdba7872f9d39
[ "MIT" ]
null
null
null
"""API settings.""" from iris.commons.settings import CommonSettings class APISettings(CommonSettings): """API specific settings.""" API_CORS_ALLOW_ORIGIN: str | None = "http://localhost:8080" API_COOKIE_DOMAIN: str | None = None API_COOKIE_SAMESITE: str = "lax" API_COOKIE_LIFETIME: int = 3600 ...
25.380952
74
0.705441
59
533
6.101695
0.610169
0.075
0.083333
0
0
0
0
0
0
0
0
0.128806
0.198874
533
20
75
26.65
0.714286
0.099437
0
0
0
0
0.188034
0.136752
0
0
0
0
0
1
0
true
0
0.090909
0
0.818182
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
0
0
1
0
0
2
18c930f2efa83d1eff9735aedc07a8499845c1a2
550
py
Python
Les_3/Task_9/test/test_modify_user.py
Manolaru/Python_train
27dcee184bd2d60ea7817070012e07dbf3be925f
[ "Apache-2.0" ]
null
null
null
Les_3/Task_9/test/test_modify_user.py
Manolaru/Python_train
27dcee184bd2d60ea7817070012e07dbf3be925f
[ "Apache-2.0" ]
null
null
null
Les_3/Task_9/test/test_modify_user.py
Manolaru/Python_train
27dcee184bd2d60ea7817070012e07dbf3be925f
[ "Apache-2.0" ]
null
null
null
from model.user import User def test_modify_user_fname(app): if app.user.count() == 0: app.user.create(User(lname="Testman")) app.user.modify_first_user(User(fname="New firstname")) def test_modify_user_lastname(app): if app.user.count() == 0: app.user.create(User(lname="Testman")) ap...
28.947368
60
0.687273
83
550
4.373494
0.240964
0.173554
0.107438
0.140496
0.603306
0.603306
0.603306
0.603306
0.603306
0.603306
0
0.006479
0.158182
550
18
61
30.555556
0.777538
0
0
0.461538
0
0
0.103636
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
18ccad347036a7ac646941b09c3be6e84373a551
769
py
Python
pyfpt/analytics/reduced_potential_diff.py
Jacks0nJ/Importance-Sampling-Code
f41fac451e9f78ab2130600ca83e1a6406ee43a5
[ "Apache-2.0" ]
null
null
null
pyfpt/analytics/reduced_potential_diff.py
Jacks0nJ/Importance-Sampling-Code
f41fac451e9f78ab2130600ca83e1a6406ee43a5
[ "Apache-2.0" ]
null
null
null
pyfpt/analytics/reduced_potential_diff.py
Jacks0nJ/Importance-Sampling-Code
f41fac451e9f78ab2130600ca83e1a6406ee43a5
[ "Apache-2.0" ]
null
null
null
''' Reduced Potential Derivative ---------------------------- This module reduces the passed potential derivative function to its dimensionless form given in equation 2.1 of `Vennin--Starobinsky 2015`_. .. _Vennin--Starobinsky 2015: https://arxiv.org/abs/1506.04732 ''' import numpy as np pi = np.pi planck_mass = 1.0 ...
23.30303
72
0.659298
98
769
5.010204
0.5
0.050917
0.158859
0.118126
0
0
0
0
0
0
0
0.040783
0.202861
769
32
73
24.03125
0.760196
0.620286
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.125
0
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
0
1
0
0
2
18e1a3d6470030f267b382bc103ad193404d6b3d
483
py
Python
myvenv/lib/python3.5/site-packages/faker/providers/ssn/uk_UA/__init__.py
tuvapp/tuvappcom
5ca2be19f4b0c86a1d4a9553711a4da9d3f32841
[ "MIT" ]
3
2015-07-13T14:52:38.000Z
2017-12-12T02:45:21.000Z
myvenv/lib/python3.5/site-packages/faker/providers/ssn/uk_UA/__init__.py
tuvapp/tuvappcom
5ca2be19f4b0c86a1d4a9553711a4da9d3f32841
[ "MIT" ]
6
2020-06-05T18:44:19.000Z
2022-01-13T00:48:56.000Z
myvenv/lib/python3.5/site-packages/faker/providers/ssn/uk_UA/__init__.py
tuvapp/tuvappcom
5ca2be19f4b0c86a1d4a9553711a4da9d3f32841
[ "MIT" ]
3
2017-01-18T02:26:03.000Z
2020-11-07T10:36:51.000Z
# coding=utf-8 from __future__ import unicode_literals from .. import Provider as SsnProvider # Note: as there no SSN in Ukraine # we get value added tax identification number (VATIN) here. # It is also called "Ідентифікаційний номер платника податків" (in ukrainian). # It contains only digits and length if 12. cla...
26.833333
78
0.718427
65
483
5.215385
0.784615
0.058997
0
0
0
0
0
0
0
0
0
0.007538
0.175983
483
17
79
28.411765
0.844221
0.461698
0
0
0
0
0.047244
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0.142857
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
0
0
0
1
1
0
0
2
18e1d6adcf9b09e7037addbf2822bd7b0b7c3248
512
py
Python
docs/source/examples/FB2.0/get_certificates_uses.py
Flav-STOR-WL/py-pure-client
03b889c997d90380ac5d6380ca5d5432792d3e89
[ "BSD-2-Clause" ]
14
2018-12-07T18:30:27.000Z
2022-02-22T09:12:33.000Z
docs/source/examples/FB2.0/get_certificates_uses.py
Flav-STOR-WL/py-pure-client
03b889c997d90380ac5d6380ca5d5432792d3e89
[ "BSD-2-Clause" ]
28
2019-09-17T21:03:52.000Z
2022-03-29T22:07:35.000Z
docs/source/examples/FB2.0/get_certificates_uses.py
Flav-STOR-WL/py-pure-client
03b889c997d90380ac5d6380ca5d5432792d3e89
[ "BSD-2-Clause" ]
15
2020-06-11T15:50:08.000Z
2022-03-21T09:27:25.000Z
# list the uses of all certificates res = client.get_certificates_uses() print(res) if type(res) == pypureclient.responses.ValidResponse: print(list(res.items)) # list the uses of certificates named "ad-cert-1" and "posix-cert" res = client.get_certificates_uses(names=['ad-cert-1', 'posix-cert']) print(res) if type...
39.384615
74
0.751953
74
512
5.135135
0.513514
0.036842
0.057895
0.068421
0.505263
0.357895
0.357895
0.357895
0.357895
0.357895
0
0.004435
0.119141
512
12
75
42.666667
0.838137
0.414063
0
0.75
0
0
0.064407
0
0
0
0
0
0
1
0
false
0
0
0
0
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
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
18ec7a1f95e3391ffa9e24024d2efb9e9a291d59
397
py
Python
NoIdea!.py
Pratyaksh7/PythonPrograms-Hackerrank
171108851f8f90336123e383f945e8d36922d53b
[ "MIT" ]
null
null
null
NoIdea!.py
Pratyaksh7/PythonPrograms-Hackerrank
171108851f8f90336123e383f945e8d36922d53b
[ "MIT" ]
null
null
null
NoIdea!.py
Pratyaksh7/PythonPrograms-Hackerrank
171108851f8f90336123e383f945e8d36922d53b
[ "MIT" ]
null
null
null
n , m = map(int, input().split()) array = list(map(int, input().split())) A = list(set(map(int, input().split()))) B = list(set(map(int, input().split()))) happiness = 0 for i in range(n): for j in range(m): if array[i] == A[j]: happiness += 1 elif array[i]...
20.894737
41
0.455919
54
397
3.351852
0.407407
0.132597
0.243094
0.353591
0.254144
0.254144
0
0
0
0
0
0.011765
0.357683
397
18
42
22.055556
0.698039
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.083333
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
18f7fc2d0dbac084cb21efc2c871dd0d49d38d6f
27,355
py
Python
localstack/aws/api/stepfunctions/__init__.py
matt-mercer/localstack
b69ba25e495c6ef889d33a050b216d0cd1035041
[ "Apache-2.0" ]
null
null
null
localstack/aws/api/stepfunctions/__init__.py
matt-mercer/localstack
b69ba25e495c6ef889d33a050b216d0cd1035041
[ "Apache-2.0" ]
null
null
null
localstack/aws/api/stepfunctions/__init__.py
matt-mercer/localstack
b69ba25e495c6ef889d33a050b216d0cd1035041
[ "Apache-2.0" ]
null
null
null
import sys from datetime import datetime from typing import List, Optional if sys.version_info >= (3, 8): from typing import TypedDict else: from typing_extensions import TypedDict from localstack.aws.api import RequestContext, ServiceException, ServiceRequest, handler Arn = str ConnectorParameters = str Def...
27.941777
98
0.755584
1,965
27,355
10.473282
0.190331
0.031584
0.056317
0.050146
0.362877
0.280515
0.248154
0.188921
0.161176
0.136492
0
0.00044
0.169841
27,355
978
99
27.970348
0.905808
0
0
0.414878
0
0
0.098629
0.044379
0
0
0
0
0
1
0.032904
false
0.012876
0.008584
0
0.639485
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
7a0054edc620b62cbd5338996cbbfbb0ee6ec139
786
py
Python
tests/test_global.py
gitmoneyyy123/VintageEx
4f81b8a6ef9d7ff0572bfa9728ad38ac0c8e7368
[ "MIT" ]
134
2015-01-09T22:23:51.000Z
2022-03-17T16:25:14.000Z
tests/test_global.py
gitmoneyyy123/VintageEx
4f81b8a6ef9d7ff0572bfa9728ad38ac0c8e7368
[ "MIT" ]
3
2015-12-16T08:15:30.000Z
2020-08-18T05:49:41.000Z
tests/test_global.py
gitmoneyyy123/VintageEx
4f81b8a6ef9d7ff0572bfa9728ad38ac0c8e7368
[ "MIT" ]
27
2015-01-21T18:22:34.000Z
2019-09-01T12:26:21.000Z
import unittest from vex.parsers.g_cmd import GlobalLexer class TestGlobalLexer(unittest.TestCase): def setUp(self): self.lexer = GlobalLexer() def testCanMatchFullPattern(self): actual = self.lexer.parse(r'/foo/p#') self.assertEqual(actual, ['foo', 'p#']) def testC...
27.103448
54
0.600509
80
786
5.7875
0.35
0.097192
0.12095
0.164147
0.453564
0.453564
0.453564
0.453564
0.453564
0.453564
0
0
0.232824
786
28
55
28.071429
0.767828
0
0
0
0
0
0.07124
0
0
0
0
0
0.210526
1
0.263158
false
0
0.105263
0
0.421053
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
0
0
0
2
7a0689fc2147c22e060b22d18407d840ea2b2800
159
py
Python
chapter_01_text/section_13_re/1_56_re_sub.py
wuxiaofeng8764/P3SL_Example
8ce1877af7372211b20836f799a8c44679577b7c
[ "MIT" ]
null
null
null
chapter_01_text/section_13_re/1_56_re_sub.py
wuxiaofeng8764/P3SL_Example
8ce1877af7372211b20836f799a8c44679577b7c
[ "MIT" ]
null
null
null
chapter_01_text/section_13_re/1_56_re_sub.py
wuxiaofeng8764/P3SL_Example
8ce1877af7372211b20836f799a8c44679577b7c
[ "MIT" ]
null
null
null
import re bold = re.compile(r'\*{2}(.*?)\*{2}') text = 'Make this **bold**. This **too**.' print('Text:', text) print('Bold:', bold.sub(r'<b>\1</b>', text))
19.875
44
0.528302
26
159
3.230769
0.538462
0
0
0
0
0
0
0
0
0
0
0.021429
0.119497
159
8
44
19.875
0.578571
0
0
0
0
0
0.41875
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7a156d09654a0475c13559b1622512a431674a24
1,844
py
Python
data_structures/graph.py
prekolna/AlgorithmsGreatestHits
7cdb60825b6e36abbffd5bdba480c3c70bc2c413
[ "MIT" ]
1
2017-04-07T03:57:04.000Z
2017-04-07T03:57:04.000Z
data_structures/graph.py
doug-wade/AlgorithmsGreatestHits
7cdb60825b6e36abbffd5bdba480c3c70bc2c413
[ "MIT" ]
null
null
null
data_structures/graph.py
doug-wade/AlgorithmsGreatestHits
7cdb60825b6e36abbffd5bdba480c3c70bc2c413
[ "MIT" ]
null
null
null
import random class Graph: """ An implementation of a graph as a dictionary of dictionaries. """ def __init__(self, G={}): """ I guess you might want to build the adjacency hash yourself, and then use my class for access? That'd be weird, but it's not hard to let you d...
31.254237
78
0.585683
253
1,844
4.118577
0.312253
0.052783
0.067179
0.095969
0.197697
0.111324
0.06334
0.06334
0
0
0
0.02504
0.328633
1,844
59
79
31.254237
0.81664
0.375271
0
0
0
0
0
0
0
0
0
0
0
1
0.291667
false
0
0.041667
0
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
0
1
0
0
2
e13eaa2adf351cd99ee51a334c71d76a0cdf1156
10,190
py
Python
booltest/crypto_util.py
sobuch/polynomial-distinguishers
5a007abd222d00cbf99f1083c3b537343d2fff56
[ "MIT" ]
5
2017-03-03T13:53:51.000Z
2019-05-09T09:47:28.000Z
booltest/crypto_util.py
sobuch/polynomial-distinguishers
5a007abd222d00cbf99f1083c3b537343d2fff56
[ "MIT" ]
5
2017-10-07T11:15:09.000Z
2021-01-25T17:03:59.000Z
booltest/crypto_util.py
sobuch/polynomial-distinguishers
5a007abd222d00cbf99f1083c3b537343d2fff56
[ "MIT" ]
6
2017-03-26T17:06:20.000Z
2021-11-15T22:22:33.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Provides basic cryptographic utilities for the Python EnigmaBridge client, e.g., generating random numbers, encryption, decryption, padding, etc... For now we use PyCrypto, later we may use pure python implementations to minimize dependency count. """ from past.built...
22.95045
120
0.623847
1,411
10,190
4.411765
0.199858
0.017671
0.017992
0.012048
0.368835
0.322892
0.27245
0.245944
0.206747
0.164337
0
0.013519
0.259568
10,190
443
121
23.002257
0.811531
0.318744
0
0.25
0
0
0.025772
0
0
0
0.003977
0
0
1
0.204545
false
0
0.0625
0.068182
0.528409
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
0
1
0
0
2
e152acbfc03cdb818f69f94d540ec44354a964bd
426
py
Python
output/models/nist_data/union/duration_decimal/schema_instance/nistschema_sv_iv_union_duration_decimal_enumeration_1_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/union/duration_decimal/schema_instance/nistschema_sv_iv_union_duration_decimal_enumeration_1_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/union/duration_decimal/schema_instance/nistschema_sv_iv_union_duration_decimal_enumeration_1_xsd/__init__.py
tefra/xsdata-w3c-tests
b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f
[ "MIT" ]
null
null
null
from output.models.nist_data.union.duration_decimal.schema_instance.nistschema_sv_iv_union_duration_decimal_enumeration_1_xsd.nistschema_sv_iv_union_duration_decimal_enumeration_1 import ( NistschemaSvIvUnionDurationDecimalEnumeration1, NistschemaSvIvUnionDurationDecimalEnumeration1Type, ) __all__ = [ "Nis...
42.6
188
0.882629
33
426
10.727273
0.606061
0.110169
0.169492
0.107345
0.259887
0.259887
0.259887
0.259887
0
0
0
0.015152
0.070423
426
9
189
47.333333
0.878788
0
0
0
0
0
0.225352
0.225352
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
e15587e71837974807dae3e70507b83c434413e2
494
py
Python
flaskblog/config.py
carlba/flask-full-featured-web-app
909db8be89c529d7fa2f3b1a839777be4ae85c68
[ "MIT" ]
null
null
null
flaskblog/config.py
carlba/flask-full-featured-web-app
909db8be89c529d7fa2f3b1a839777be4ae85c68
[ "MIT" ]
null
null
null
flaskblog/config.py
carlba/flask-full-featured-web-app
909db8be89c529d7fa2f3b1a839777be4ae85c68
[ "MIT" ]
null
null
null
import os class Config(object): # noinspection SpellCheckingInspection # import secrets # secrets.token_hex(16) SECRET_KEY = 'bcaa436189daf75374ecebec4a652522' # The three slashes means a relative path so the file will next to the script SQLALCHEMY_DATABASE_URI = 'sqlite:///site.db' MAIL_...
29.058824
81
0.720648
63
494
5.460317
0.746032
0.069767
0.069767
0.093023
0
0
0
0
0
0
0
0.057789
0.194332
494
16
82
30.875
0.806533
0.301619
0
0
0
0
0.261765
0.094118
0
0
0
0
0
1
0
false
0.111111
0.111111
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
e16b22526ed8f9c784b3998ceae3e9b559452e77
8,649
py
Python
tests/sphinx_docstrings.py
s-weigand/darglint
6bc5d764db86626a996de1ff50925f976bf1449e
[ "MIT" ]
405
2017-10-19T11:04:21.000Z
2022-03-23T07:58:40.000Z
tests/sphinx_docstrings.py
s-weigand/darglint
6bc5d764db86626a996de1ff50925f976bf1449e
[ "MIT" ]
186
2018-03-26T20:33:37.000Z
2022-03-20T22:47:54.000Z
tests/sphinx_docstrings.py
s-weigand/darglint
6bc5d764db86626a996de1ff50925f976bf1449e
[ "MIT" ]
43
2018-10-14T23:49:48.000Z
2022-02-10T12:39:16.000Z
"""A collection of sphinx docstrings from the wild.""" import ast FunctionDef = ast.FunctionDef if hasattr(ast, 'AsyncFunctionDef'): FunctionDef = (ast.FunctionDef, ast.AsyncFunctionDef) def publish_msgstr(app, source, source_path, source_line, config, settings): # From https://github.com/sphinx-doc/sphinx ...
33.137931
91
0.682738
1,198
8,649
4.883973
0.288815
0.025637
0.039993
0.046659
0.274996
0.233123
0.196889
0.180482
0.180482
0.158434
0
0.003574
0.22361
8,649
260
92
33.265385
0.867461
0.774425
0
0.129032
0
0
0.012649
0
0
0
0
0
0
1
0.548387
false
0
0.032258
0
0.612903
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
0
1
0
0
2
e17800113c6ed7de218c0fe16648ef3fc60f9e8c
818
py
Python
process/tests/test_WGS84_to_ENU.py
sameeptandon/sail-car-log
0ee3d598bb09d389bcbd2ebf73cd4b2411e796be
[ "BSD-2-Clause" ]
1
2021-02-24T03:11:13.000Z
2021-02-24T03:11:13.000Z
process/tests/test_WGS84_to_ENU.py
sameeptandon/sail-car-log
0ee3d598bb09d389bcbd2ebf73cd4b2411e796be
[ "BSD-2-Clause" ]
null
null
null
process/tests/test_WGS84_to_ENU.py
sameeptandon/sail-car-log
0ee3d598bb09d389bcbd2ebf73cd4b2411e796be
[ "BSD-2-Clause" ]
3
2015-03-18T14:36:04.000Z
2018-07-04T02:57:24.000Z
import WGS84toENU as tc from numpy import array p1 = array([ 3.750682775700000e+01, -1.223404661990000e+02, 7.872197645300000e+01]) p2 = array([3.750676376100000e+01,-1.223394834720000e+02, 7.980882372500000e+01]) z = array([p1,p2]) """" scratch work, scroll down print tc.WGS84toENU_slow(p1,p2) print [8.6891318509302...
25.5625
83
0.729829
129
818
4.488372
0.364341
0.051813
0.046632
0.06563
0
0
0
0
0
0
0
0.263661
0.105134
818
31
84
26.387097
0.527322
0.023227
0
0
0
0
0.058974
0.058974
0
0
0
0
0
0
null
null
0
0.181818
null
null
0.363636
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
e1927dd63ba51bc11ddef89c217a75a61a0d5310
470
py
Python
ass3.py
Kantheesh/Learning-Python
d2dc9f1b9f652e6a6d84028e86a1daf77551eb5f
[ "MIT" ]
null
null
null
ass3.py
Kantheesh/Learning-Python
d2dc9f1b9f652e6a6d84028e86a1daf77551eb5f
[ "MIT" ]
null
null
null
ass3.py
Kantheesh/Learning-Python
d2dc9f1b9f652e6a6d84028e86a1daf77551eb5f
[ "MIT" ]
null
null
null
''' 3. Swap string variable values fname = "rahul" lname = "dravid" Swap the value of variable with fname & fname with lname Output:: print(fname) # dravid print(lname) # rahul ''' fname = "rahul" lname = "dravid" #fname.swap(lname) #lname.swap(fname) fname="dravid" lname="rahul" print(fname) print(...
18.8
57
0.604255
57
470
4.982456
0.263158
0.140845
0.158451
0.221831
0.183099
0
0
0
0
0
0
0.002604
0.182979
470
25
58
18.8
0.736979
0.476596
0
0.666667
0
0
0.307018
0.162281
0
0
0
0
0
1
0
false
0
0
0
0
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
0
0
0
0
0
0
0
1
0
2
e1bfc16ac51dfa754da15c70d14a8c15084bf397
1,113
py
Python
movies.py
mzdhr/Movie-Gallery-Python
45e4e9eea49cb8d6cdcb29c1d6dfa25ac0857422
[ "MIT" ]
null
null
null
movies.py
mzdhr/Movie-Gallery-Python
45e4e9eea49cb8d6cdcb29c1d6dfa25ac0857422
[ "MIT" ]
null
null
null
movies.py
mzdhr/Movie-Gallery-Python
45e4e9eea49cb8d6cdcb29c1d6dfa25ac0857422
[ "MIT" ]
1
2021-11-24T04:14:02.000Z
2021-11-24T04:14:02.000Z
class Movies(object): def __init__(self, **kwargs): short_plot = kwargs.get('Plot')[0:170] self.title = kwargs.get('Title') self.poster_link = kwargs.get('Poster') self.rated = kwargs.get('Rated') self.type = kwargs.get('Type') self.awards = kwargs.get('Awards') ...
34.78125
74
0.595687
137
1,113
4.70073
0.29927
0.265528
0.040373
0.052795
0
0
0
0
0
0
0
0.004808
0.252471
1,113
31
75
35.903226
0.769231
0.026954
0
0.074074
0
0
0.12951
0
0
0
0
0
0
1
0.148148
false
0.074074
0
0.037037
0.222222
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
0
0
1
0
0
0
0
0
2
e1c30336fe7b9d30dce965ff4b7f575912ea6a3e
135
py
Python
python-tests/noxfile.py
uk-gov-mirror/alphagov.digitalmarketplace-govuk-frontend
8996082a2d5b2e2357d67616efe55c66b247382a
[ "MIT" ]
3
2019-12-21T05:59:54.000Z
2021-06-14T12:25:02.000Z
python-tests/noxfile.py
alphagov/digitalmarketplace-govuk-frontend
f9873b60cf2553a6e3fd4061df63394a616f97bc
[ "MIT" ]
127
2019-10-09T16:19:46.000Z
2021-08-18T14:58:40.000Z
python-tests/noxfile.py
uk-gov-mirror/alphagov.digitalmarketplace-govuk-frontend
8996082a2d5b2e2357d67616efe55c66b247382a
[ "MIT" ]
3
2020-02-20T09:25:29.000Z
2021-04-10T19:06:32.000Z
import nox @nox.session def tests(session): session.install("-r", "requirements.txt") session.run("pytest", *session.posargs)
19.285714
45
0.696296
17
135
5.529412
0.705882
0
0
0
0
0
0
0
0
0
0
0
0.133333
135
6
46
22.5
0.803419
0
0
0
0
0
0.177778
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
becf9cc0dd2b9c6721368c250042ff9ab8d74190
6,939
py
Python
Mini-PHP/Analizador_sintactico.py
SebasttianVelez/Compiler-Ply
e374a6d836a44917c63ef898d534b5d0e65e415d
[ "MIT" ]
1
2019-04-16T08:12:40.000Z
2019-04-16T08:12:40.000Z
Mini-PHP/Analizador_sintactico.py
SebasttianVelez/Compiler-Ply
e374a6d836a44917c63ef898d534b5d0e65e415d
[ "MIT" ]
null
null
null
Mini-PHP/Analizador_sintactico.py
SebasttianVelez/Compiler-Ply
e374a6d836a44917c63ef898d534b5d0e65e415d
[ "MIT" ]
null
null
null
import sys import ply.yacc as yacc from Analizador_lexico import tokens VERBOSE = 1 precedence = ( ('left', 'INCLUDE', 'REQUIRE'), ('left', 'COMMA'), ('left', 'EQUAL', 'PLUSEQUAL', 'MINUSEQUAL'), ('left', 'SEMI'), ('left', 'OR'), ('left', 'XOR'), ('left', 'AND'), ('nonassoc', 'ISEQUAL'...
20.529586
106
0.627324
819
6,939
5.118437
0.185592
0.041031
0.080153
0.025763
0.220897
0.090172
0.052958
0.021947
0
0
0
0.001386
0.272374
6,939
338
107
20.529586
0.828877
0.518663
0
0.338462
0
0
0.305501
0
0
0
0
0
0
1
0.330769
false
0.323077
0.023077
0
0.353846
0.030769
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
0
0
0
2
8305b602efb6bae68d60e54628b939548c7e61b3
1,318
py
Python
music_app/auth/forms.py
GeorgeCloud/ForeverPlaylist
a8b306d4f7b8fe757ef4f612f73b40e21885ca47
[ "MIT" ]
null
null
null
music_app/auth/forms.py
GeorgeCloud/ForeverPlaylist
a8b306d4f7b8fe757ef4f612f73b40e21885ca47
[ "MIT" ]
null
null
null
music_app/auth/forms.py
GeorgeCloud/ForeverPlaylist
a8b306d4f7b8fe757ef4f612f73b40e21885ca47
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, SubmitField from wtforms.validators import DataRequired, Length, ValidationError from music_app.models import User from music_app.extensions import bcrypt class SignUpForm(FlaskForm): username = StringField('Username', validators=[Data...
39.939394
83
0.715478
142
1,318
6.56338
0.34507
0.094421
0.064378
0.061159
0.5
0.47103
0.315451
0.169528
0.169528
0.169528
0
0.001848
0.179059
1,318
32
84
41.1875
0.859519
0
0
0.307692
0
0
0.086495
0
0
0
0
0
0
1
0.115385
false
0.230769
0.192308
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
830c864a983794dff13acbe24340792af903030d
1,036
py
Python
I_segregacion_interfaz.py
wilmerasm/actividad-2-fundamentos-disenio
8d8dd0bfae2a0efb2bf4172711dfeea40500b56c
[ "MIT" ]
1
2021-11-07T00:19:39.000Z
2021-11-07T00:19:39.000Z
I_segregacion_interfaz.py
wilmerasm/actividad-2-fundamentos-disenio
8d8dd0bfae2a0efb2bf4172711dfeea40500b56c
[ "MIT" ]
null
null
null
I_segregacion_interfaz.py
wilmerasm/actividad-2-fundamentos-disenio
8d8dd0bfae2a0efb2bf4172711dfeea40500b56c
[ "MIT" ]
null
null
null
#!/usr/bin/env python3.9 """ Implementación de principios SOLID Versión de Python >=3.8 Autores: Dario Sotelo, Wilmer Siza, .... Fecha: 06/11/2021 """ import abc from typing import NoReturn class DataCleanInterface(abc.ABC): """ Show anything """ @abc.abstractmethod def remove_special_characters(...
16.444444
55
0.584942
98
1,036
6.102041
0.479592
0.120401
0.107023
0.100334
0.438127
0.349498
0.349498
0.157191
0.157191
0.157191
0
0.016461
0.296332
1,036
63
56
16.444444
0.803841
0.278958
0
0.588235
0
0
0
0
0
0
0
0
0
1
0.235294
false
0.235294
0.117647
0
0.529412
0.117647
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
0
0
0
2
830f41510b554344effd46aede615048f9ae78e6
772
py
Python
pyjs/src/pyjs/lib/urllib.py
andreyvit/pyjamas
1154abe3340a84dba7530b8174aaddecfc1a0944
[ "ECL-2.0", "Apache-2.0" ]
1
2017-09-09T11:58:36.000Z
2017-09-09T11:58:36.000Z
pyjs/src/pyjs/lib/urllib.py
andreyvit/pyjamas
1154abe3340a84dba7530b8174aaddecfc1a0944
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
pyjs/src/pyjs/lib/urllib.py
andreyvit/pyjamas
1154abe3340a84dba7530b8174aaddecfc1a0944
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
from __pyjamas__ import JS # TODO: implement safe def quote(s, safe=''): """ This function is equivalent to urllib.quote(). Example: >>> quote("hey") 'hey' >>> quote("$%&/?/+ s") '%24%25%26%2F%3F%2F%2B%20s' """ from __javascript__ import encodeURIComponent return encodeURIComp...
19.794872
50
0.492228
99
772
3.757576
0.444444
0.048387
0.064516
0.043011
0.091398
0.091398
0.091398
0.091398
0
0
0
0.065836
0.272021
772
38
51
20.315789
0.596085
0.501295
0
0
0
0
0.02027
0
0
0
0
0.026316
0
1
0.181818
false
0
0.181818
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
831ed34e71580fbd72feb2b09633b606cca694a0
108
py
Python
spiderQueenTester.py
umutterol/nembot
d28ad74ec7d7b6d54de4cab2c26017282080f78f
[ "MIT" ]
null
null
null
spiderQueenTester.py
umutterol/nembot
d28ad74ec7d7b6d54de4cab2c26017282080f78f
[ "MIT" ]
null
null
null
spiderQueenTester.py
umutterol/nembot
d28ad74ec7d7b6d54de4cab2c26017282080f78f
[ "MIT" ]
null
null
null
from spiderQueen import SpiderQueen sq = SpiderQueen() rankings = sq.Queen() print(rankings["DPS"])
15.428571
36
0.703704
12
108
6.333333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.175926
108
6
37
18
0.853933
0
0
0
0
0
0.029703
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
832307d88aef73767623d5b8ca7ceda9bbd8915c
694
py
Python
tests/enterprise/test_malware.py
frbor/pyattck
36339ce67b7e4ddeba1a7832892cf08936f7e99d
[ "MIT" ]
377
2019-07-11T20:26:19.000Z
2022-03-30T00:35:19.000Z
tests/enterprise/test_malware.py
frbor/pyattck
36339ce67b7e4ddeba1a7832892cf08936f7e99d
[ "MIT" ]
68
2019-07-22T15:24:29.000Z
2022-02-25T10:14:48.000Z
tests/enterprise/test_malware.py
frbor/pyattck
36339ce67b7e4ddeba1a7832892cf08936f7e99d
[ "MIT" ]
78
2019-06-14T05:41:26.000Z
2022-03-18T19:13:41.000Z
def test_malware_have_actors(attck_fixture): """ All MITRE Enterprise ATT&CK Malware should have Actors Args: attck_fixture ([type]): our default MITRE Enterprise ATT&CK JSON fixture """ for malware in attck_fixture.enterprise.malwares: if malware.actors: assert getattr(...
31.545455
80
0.693084
84
694
5.583333
0.309524
0.153518
0.153518
0.170576
0.682303
0.682303
0.682303
0.682303
0.682303
0.477612
0
0
0.229107
694
21
81
33.047619
0.876636
0.40634
0
0.25
0
0
0.043836
0
0
0
0
0
0.25
1
0.25
false
0
0
0
0.25
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
0
0
0
2
832a5d4fba35e66ce102dc17f25c69c93bb309a8
242
py
Python
demo/py/openmulti.py
berak/opencv_smallfry
fd8f64980dff0527523791984d6cb3dfcd2bc9bc
[ "BSD-3-Clause" ]
57
2015-02-16T06:43:24.000Z
2022-03-16T06:21:36.000Z
demo/py/openmulti.py
berak/opencv_smallfry
fd8f64980dff0527523791984d6cb3dfcd2bc9bc
[ "BSD-3-Clause" ]
4
2016-03-08T09:51:09.000Z
2021-03-29T10:18:55.000Z
demo/py/openmulti.py
berak/opencv_smallfry
fd8f64980dff0527523791984d6cb3dfcd2bc9bc
[ "BSD-3-Clause" ]
27
2015-03-28T19:55:34.000Z
2022-01-09T15:03:15.000Z
import cv2 import numpy as np import pprint mylist = [] loaded = cv2.imreadmulti(mats = mylist, filename = "2page.tiff", flags = cv2.IMREAD_ANYCOLOR ) print(loaded) print(len(mylist)) pp = pprint.PrettyPrinter(indent=4) pp.pprint(mylist)
17.285714
94
0.739669
34
242
5.235294
0.647059
0.134831
0
0
0
0
0
0
0
0
0
0.023923
0.136364
242
13
95
18.615385
0.827751
0
0
0
0
0
0.041841
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.555556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
2
832cc711e26fab292b2649487b59d61477c7e9ce
345
py
Python
src/pretix/base/templatetags/escapejson.py
upsidedownpancake/pretix
bfeeb1028c9eccab4936029db7c38edd4cd5aad5
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/pretix/base/templatetags/escapejson.py
upsidedownpancake/pretix
bfeeb1028c9eccab4936029db7c38edd4cd5aad5
[ "ECL-2.0", "Apache-2.0" ]
7
2019-07-08T10:29:54.000Z
2020-01-08T17:32:07.000Z
src/pretix/base/templatetags/escapejson.py
upsidedownpancake/pretix
bfeeb1028c9eccab4936029db7c38edd4cd5aad5
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
from django import template from django.template.defaultfilters import stringfilter from pretix.helpers.escapejson import escapejson register = template.Library() @register.filter("escapejson") @stringfilter def escapejs_filter(value): """Hex encodes characters for use in a application/json type script.""" ...
24.642857
75
0.794203
41
345
6.658537
0.658537
0.07326
0
0
0
0
0
0
0
0
0
0
0.124638
345
13
76
26.538462
0.903974
0.188406
0
0
0
0
0.036496
0
0
0
0
0
0
1
0.125
false
0
0.375
0
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
0
0
0
1
0
1
0
0
2
8330cdf46f611d13caa8996011781f80a3cd98e7
9,618
py
Python
pysrc/chain.py
uuosio/python-contracts-dev-kit
de0e048a07ae3565e26b42565d3b270ff02fd655
[ "MIT" ]
1
2021-04-20T13:28:46.000Z
2021-04-20T13:28:46.000Z
pysrc/chain.py
uuosio/uuosio.pscdk
de0e048a07ae3565e26b42565d3b270ff02fd655
[ "MIT" ]
null
null
null
pysrc/chain.py
uuosio/uuosio.pscdk
de0e048a07ae3565e26b42565d3b270ff02fd655
[ "MIT" ]
null
null
null
#dummy module for builtin chain module from typing import Union, List, Tuple # builtin name object class name: pass Name = Union[str, int, name] Uint32 = int Uint128 = int Uint64 = int def n2s(n: int) -> str: '''Convert an integer to string ''' pass def s2b(s: Union[str, bytes]) -> bytes: '''Con...
22.212471
244
0.635475
1,270
9,618
4.640945
0.17874
0.074822
0.019851
0.019511
0.392263
0.306753
0.175433
0.123855
0.104852
0.089583
0
0.023213
0.269911
9,618
432
245
22.263889
0.816149
0.4843
0
0.460993
0
0
0
0
0
0
0
0
0.049645
1
0.460993
false
0.460993
0.007092
0
0.475177
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
0
0
0
2
833e09a880a1dbadcd696c829fba98d96617b34d
544
py
Python
jobsapp/migrations/0010_auto_20201107_1404.py
astaqc/django-job-portal
59e83fb0a99c947f426378d78c16b829604a747b
[ "MIT" ]
348
2019-04-11T06:25:21.000Z
2022-03-29T21:27:54.000Z
jobsapp/migrations/0010_auto_20201107_1404.py
gibmax/django-job-portal
c85a6dd3dd958474980b2cac187305e08745b241
[ "MIT" ]
33
2019-04-18T18:51:18.000Z
2022-03-12T00:53:02.000Z
jobsapp/migrations/0010_auto_20201107_1404.py
gibmax/django-job-portal
c85a6dd3dd958474980b2cac187305e08745b241
[ "MIT" ]
145
2019-04-11T05:15:18.000Z
2022-03-13T15:10:25.000Z
# Generated by Django 3.0.7 on 2020-11-07 14:04 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('jobsapp', '0009_favorite'), ] operations = [ migrations.AddField( model_name='applicant', name='comment', ...
22.666667
58
0.571691
53
544
5.811321
0.716981
0.116883
0.149351
0.175325
0.25974
0.25974
0
0
0
0
0
0.053333
0.310662
544
23
59
23.652174
0.768
0.082721
0
0.352941
1
0
0.102616
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
8345e590d466f394762c24a573fbc43b4d7a8ff9
573
py
Python
qatrack/accounts/migrations/0001_initial.py
crcrewso/qatrackplus
b9da3bc542d9e3eca8b7291bb631d1c7255d528e
[ "MIT" ]
20
2021-03-11T18:37:32.000Z
2022-03-23T19:38:07.000Z
qatrack/accounts/migrations/0001_initial.py
crcrewso/qatrackplus
b9da3bc542d9e3eca8b7291bb631d1c7255d528e
[ "MIT" ]
75
2021-02-12T02:37:33.000Z
2022-03-29T20:56:16.000Z
qatrack/accounts/migrations/0001_initial.py
crcrewso/qatrackplus
b9da3bc542d9e3eca8b7291bb631d1c7255d528e
[ "MIT" ]
5
2021-04-07T15:46:53.000Z
2021-09-18T16:55:00.000Z
# Generated by Django 2.1.5 on 2019-02-06 16:06 from django.contrib.auth.hashers import make_password from django.db import migrations def update_internal_pass(apps, schema): User = apps.get_model("auth", "User") user = User.objects.get(username="QATrack+ Internal") user.password = make_password(User.obj...
24.913043
70
0.703316
75
573
5.213333
0.64
0.051151
0.092072
0
0
0
0
0
0
0
0
0.065957
0.179756
573
22
71
26.045455
0.765957
0.078534
0
0
1
0
0.095057
0.043726
0
0
0
0
0
1
0.071429
false
0.285714
0.142857
0
0.428571
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
0
0
1
0
0
0
0
0
2