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
89d3ede76e304d3e3942ebf1a2006ce149b501fd
267
py
Python
appendix/AI.by.Search/1-1-1.repeat.perm.py
royqh1979/programming_with_python
7e1e8f88381151b803b6ae6ebda9809d9cc6664a
[ "MIT" ]
5
2019-03-06T12:28:47.000Z
2022-01-06T14:06:02.000Z
appendix/AI.by.Search/1-1-1.repeat.perm.py
royqh1979/programming_with_python
7e1e8f88381151b803b6ae6ebda9809d9cc6664a
[ "MIT" ]
6
2021-02-02T22:40:49.000Z
2022-03-12T00:27:54.000Z
appendix/AI.by.Search/1-1-1.repeat.perm.py
royqh1979/programming_with_python
7e1e8f88381151b803b6ae6ebda9809d9cc6664a
[ "MIT" ]
4
2019-03-06T14:29:25.000Z
2020-06-02T15:16:40.000Z
""" n个数字的可重复排列 已知n等于4 """ n=4 count = 0 for i1 in range(1, n + 1): for i2 in range(1, n + 1): for i3 in range(1, n + 1): for i4 in range(1, n + 1): count+=1 print(f"{i1},{i2},{i3},{i4}") print(f"共{count}种方案")
16.6875
45
0.445693
47
267
2.531915
0.382979
0.235294
0.268908
0.302521
0.411765
0.327731
0
0
0
0
0
0.117647
0.363296
267
16
46
16.6875
0.582353
0.067416
0
0
0
0
0.123967
0
0
0
0
0
0
1
0
false
0
0
0
0
0.222222
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
89e553c28e4d57447fc437bf1686212eb22e9a0b
828
py
Python
pymusicterm/util/system.py
EGAMAGZ/Terminal-Music-Player
fc5ce7d9cef6ee98f2dde1784d363a8002584d96
[ "MIT" ]
2
2020-07-12T20:43:06.000Z
2020-08-07T06:16:12.000Z
pymusicterm/util/system.py
EGAMAGZ/Terminal-Music-Player
fc5ce7d9cef6ee98f2dde1784d363a8002584d96
[ "MIT" ]
null
null
null
pymusicterm/util/system.py
EGAMAGZ/Terminal-Music-Player
fc5ce7d9cef6ee98f2dde1784d363a8002584d96
[ "MIT" ]
null
null
null
import platform import getpass def on_wsl() -> bool: """ Function that will detect if the program is runned on wsl Returns ------- isOnWSL : bool Boolean value that indicates if the program is on wsl """ isOnWSL=False uname=platform.uname() system=uname[0] release=unam...
20.195122
68
0.602657
102
828
4.843137
0.431373
0.040486
0.048583
0.05668
0
0
0
0
0
0
0
0.003378
0.285024
828
40
69
20.7
0.831081
0.42029
0
0
0
0
0.035176
0
0
0
0
0
0
1
0.214286
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
1
0
0
3
d600a32e8d3cf894d299631c6cd64ba6f5e15a8e
163
py
Python
Annu/area and perimeter of rectangle.py
asumit499/Python-BootCamp
0b99f9cb862189d13ad291eac12a8be6c46357f5
[ "MIT" ]
4
2022-03-20T10:59:53.000Z
2022-03-25T18:28:04.000Z
Annu/area and perimeter of rectangle.py
asumit499/Python-BootCamp
0b99f9cb862189d13ad291eac12a8be6c46357f5
[ "MIT" ]
null
null
null
Annu/area and perimeter of rectangle.py
asumit499/Python-BootCamp
0b99f9cb862189d13ad291eac12a8be6c46357f5
[ "MIT" ]
15
2022-03-12T11:49:10.000Z
2022-03-15T06:22:55.000Z
l=int(input("enter length of rectangle:")) b=int(input("enter width of rectangle:")) perimeter=(l+b)*2 area=l*b print("perimeter=",perimeter) print("area=",area)
20.375
42
0.705521
27
163
4.259259
0.481481
0.13913
0.226087
0
0
0
0
0
0
0
0
0.006667
0.079755
163
7
43
23.285714
0.76
0
0
0
0
0
0.404908
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d610f30a5ee2a0745d8700e4a96d0ebc07c29192
257
py
Python
simple_python_package/simple_python_package.py
binel01/simple_python_package
26cd6e6c638f7132e4d6179769c42c040719890b
[ "MIT" ]
null
null
null
simple_python_package/simple_python_package.py
binel01/simple_python_package
26cd6e6c638f7132e4d6179769c42c040719890b
[ "MIT" ]
null
null
null
simple_python_package/simple_python_package.py
binel01/simple_python_package
26cd6e6c638f7132e4d6179769c42c040719890b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Main module.""" from __future__ import print_function def hello(): """ Returns a Hello World ! """ return ("Hello from Simple Python Package") def say_hello(): """ Prints Hello World Message """ print(hello())
18.357143
47
0.618677
31
257
4.935484
0.709677
0.130719
0
0
0
0
0
0
0
0
0
0.004951
0.214008
257
13
48
19.769231
0.752475
0.342412
0
0
0
0
0.211921
0
0
0
0
0
0
1
0.4
true
0
0.2
0
0.8
0.4
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
1
0
0
3
c3927800a3bcc35893e3db292429fc3b61edf54b
276
py
Python
venv/Lib/site-packages/nipype/interfaces/diffusion_toolkit/__init__.py
richung99/digitizePlots
6b408c820660a415a289726e3223e8f558d3e18b
[ "MIT" ]
585
2015-01-12T16:06:47.000Z
2022-03-26T14:51:08.000Z
nipype/interfaces/diffusion_toolkit/__init__.py
tamires-consulting/nipype
b7879d75a63b6500b2e7d2c3eba5aa7670339274
[ "Apache-2.0" ]
2,329
2015-01-01T09:56:41.000Z
2022-03-30T14:24:49.000Z
nipype/interfaces/diffusion_toolkit/__init__.py
tamires-consulting/nipype
b7879d75a63b6500b2e7d2c3eba5aa7670339274
[ "Apache-2.0" ]
487
2015-01-20T01:04:52.000Z
2022-03-21T21:22:47.000Z
# -*- coding: utf-8 -*- """Diffusion Toolkit performs data reconstruction and fiber tracking on diffusion MR images.""" from .base import Info from .postproc import SplineFilter, TrackMerge from .dti import DTIRecon, DTITracker from .odf import HARDIMat, ODFRecon, ODFTracker
39.428571
95
0.778986
35
276
6.142857
0.8
0
0
0
0
0
0
0
0
0
0
0.004184
0.134058
276
6
96
46
0.895397
0.405797
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
c39b75981ce799e82e68e3246a731d355e712a6a
98
py
Python
VSCode_work/chapter4/chapter4_4_6.py
syncccc/Python-Crash-Course
51fe429dd606583a790f3c1603bb3439382c09e0
[ "MIT" ]
1
2021-08-15T15:58:21.000Z
2021-08-15T15:58:21.000Z
VSCode_work/chapter4/chapter4_4_6.py
syncccc/Python-Crash-Course
51fe429dd606583a790f3c1603bb3439382c09e0
[ "MIT" ]
null
null
null
VSCode_work/chapter4/chapter4_4_6.py
syncccc/Python-Crash-Course
51fe429dd606583a790f3c1603bb3439382c09e0
[ "MIT" ]
null
null
null
# 创建列表 numbers = list(range(1,21,2)) print(numbers) # 打印 for number in numbers: print(number)
14
29
0.683673
16
98
4.1875
0.75
0
0
0
0
0
0
0
0
0
0
0.049383
0.173469
98
7
30
14
0.777778
0.071429
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
c3a0de4a6d4328347be49323a6591d30e365602e
289
py
Python
example.py
Boidushya/spbdl
e1aac5f932dca25a44984035ad993db0d410fec7
[ "MIT" ]
null
null
null
example.py
Boidushya/spbdl
e1aac5f932dca25a44984035ad993db0d410fec7
[ "MIT" ]
null
null
null
example.py
Boidushya/spbdl
e1aac5f932dca25a44984035ad993db0d410fec7
[ "MIT" ]
1
2020-09-20T11:36:09.000Z
2020-09-20T11:36:09.000Z
import spbdl url = spbdl.randImg() url2 = spbdl.getImg("epic") #Uses the default arguments for getting image url url3 = spbdl.getImg("epic",review="accepted",sort='top', order='created_at',direction="ASC") #Passes custom arguments for getting image url print(url) print(url2) print(url3)
32.111111
139
0.754325
43
289
5.046512
0.627907
0.101382
0.138249
0.221198
0.248848
0
0
0
0
0
0
0.015504
0.107266
289
9
140
32.111111
0.825581
0.321799
0
0
0
0
0.164103
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.428571
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
c3a2f7bd828882b49daf8dda115e1c99305fe01e
731
py
Python
src/regional_proposal/__init__.py
ZequnZ/Sudoku-generator-solver
e9959c0acd381473fa6a77a3a0383bc7acba26fb
[ "MIT" ]
null
null
null
src/regional_proposal/__init__.py
ZequnZ/Sudoku-generator-solver
e9959c0acd381473fa6a77a3a0383bc7acba26fb
[ "MIT" ]
null
null
null
src/regional_proposal/__init__.py
ZequnZ/Sudoku-generator-solver
e9959c0acd381473fa6a77a3a0383bc7acba26fb
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod class BaseRegionalProposal(ABC): def __init__(self, name): self.name = name @abstractmethod def get_iou(self, b1, b2): """Compute the iou of 2 bboxes""" pass @abstractmethod def remove_overlap_rp(self, bboxes, threshold): """Rem...
22.84375
51
0.614227
85
731
5.152941
0.411765
0.194064
0.191781
0.109589
0
0
0
0
0
0
0
0.005769
0.288646
731
31
52
23.580645
0.836538
0.21067
0
0.526316
0
0
0
0
0
0
0
0
0
1
0.315789
false
0.263158
0.052632
0
0.421053
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
c3a498c9e812ebc63f30df041e98dd814431b96a
429
py
Python
amazon/serializers.py
Virsail/reddit
d72d18027a64d27237269439b31af10327dfbfd9
[ "MIT" ]
null
null
null
amazon/serializers.py
Virsail/reddit
d72d18027a64d27237269439b31af10327dfbfd9
[ "MIT" ]
null
null
null
amazon/serializers.py
Virsail/reddit
d72d18027a64d27237269439b31af10327dfbfd9
[ "MIT" ]
null
null
null
from rest_framework import serializers from .models import Projects, Profile class ProjectSerializer(serializers.ModelSerializer): class Meta: model = Projects fields = ('project_title', 'project_description', 'project_image', 'Owner','link') class ProfileSerializer(serializers.ModelSeri...
28.6
90
0.67366
40
429
7.125
0.625
0.182456
0.217544
0.245614
0.280702
0
0
0
0
0
0
0
0.221445
429
15
91
28.6
0.853293
0
0
0.2
0
0
0.167442
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
c3add8b56fa6c669a71998cd71a5dcf8a8f09d87
314
py
Python
lpipe/_version.py
awichmann-mintel/lpipe
0b0a58a85310c234134dad2395a7f63e7a5e86c2
[ "Apache-2.0" ]
null
null
null
lpipe/_version.py
awichmann-mintel/lpipe
0b0a58a85310c234134dad2395a7f63e7a5e86c2
[ "Apache-2.0" ]
null
null
null
lpipe/_version.py
awichmann-mintel/lpipe
0b0a58a85310c234134dad2395a7f63e7a5e86c2
[ "Apache-2.0" ]
null
null
null
__title__ = "lpipe" __version__ = "4.0.2" __summary__ = "AWS Lambda framework for writing clear, minimal Python FAAS" __author__ = "Charlie Mathews" __author_email__ = "cmathews@mintel.com" __maintainer__ = "Charlie Mathews" __maintainer_email__ = "cmathews@mintel.com" __uri__ = "https://github.com/mintel/lpipe"
34.888889
75
0.773885
38
314
5.5
0.710526
0.133971
0.181818
0.210526
0
0
0
0
0
0
0
0.010714
0.10828
314
8
76
39.25
0.735714
0
0
0
0
0
0.535032
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c3b06a3965813040c4e122d2693c12c396a95bb3
170
py
Python
Recursion/Easy/digit_product.py
sounak95/100_days_of_code
50fbf088ce6ab2137aa216a30e3b3f828b278a22
[ "Apache-2.0" ]
null
null
null
Recursion/Easy/digit_product.py
sounak95/100_days_of_code
50fbf088ce6ab2137aa216a30e3b3f828b278a22
[ "Apache-2.0" ]
null
null
null
Recursion/Easy/digit_product.py
sounak95/100_days_of_code
50fbf088ce6ab2137aa216a30e3b3f828b278a22
[ "Apache-2.0" ]
null
null
null
def digit_prod(n): if n%10==n: return n else: return n%10 * digit_prod(n//10) if __name__ == "__main__": n=32146 print(digit_prod(n))
13.076923
39
0.547059
27
170
3.037037
0.444444
0.329268
0.365854
0
0
0
0
0
0
0
0
0.094017
0.311765
170
13
40
13.076923
0.606838
0
0
0
0
0
0.047337
0
0
0
0
0
0
1
0.125
false
0
0
0
0.375
0.125
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c3be6f384e8c7e8198fc4a2f11fe9ba28e1f76aa
176
py
Python
Code only/4- Functions/Optional Arguments.py
AhmedRaja1/Python-Beginner-s-Starter-Kit
285cfbeb7207e6531954f21cae3a062f977ee5a0
[ "MIT" ]
1
2021-09-27T16:47:25.000Z
2021-09-27T16:47:25.000Z
Code only/4- Functions/Optional Arguments.py
AhmedRaja1/Python-Beginner-s-Starter-Kit
285cfbeb7207e6531954f21cae3a062f977ee5a0
[ "MIT" ]
null
null
null
Code only/4- Functions/Optional Arguments.py
AhmedRaja1/Python-Beginner-s-Starter-Kit
285cfbeb7207e6531954f21cae3a062f977ee5a0
[ "MIT" ]
1
2021-09-27T16:47:33.000Z
2021-09-27T16:47:33.000Z
def increment(number, by=2): # Increment always by 2, if not provided with any value process = number + by return process result = increment(number=5) print(result)
22
85
0.710227
26
176
4.807692
0.653846
0.24
0
0
0
0
0
0
0
0
0
0.021429
0.204545
176
7
86
25.142857
0.871429
0.301136
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
c3fabf3b87536f273d4218a3d943f07012ebf7bc
489
py
Python
Python/leetcode/BinaryTreeRightSideView.py
darrencheng0817/AlgorithmLearning
aec1ddd0c51b619c1bae1e05f940d9ed587aa82f
[ "MIT" ]
2
2015-12-02T06:44:01.000Z
2016-05-04T21:40:54.000Z
Python/leetcode/BinaryTreeRightSideView.py
darrencheng0817/AlgorithmLearning
aec1ddd0c51b619c1bae1e05f940d9ed587aa82f
[ "MIT" ]
null
null
null
Python/leetcode/BinaryTreeRightSideView.py
darrencheng0817/AlgorithmLearning
aec1ddd0c51b619c1bae1e05f940d9ed587aa82f
[ "MIT" ]
null
null
null
''' Created on 1.12.2016 @author: Darren '''''' Given a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered from top to bottom. For example: Given the following binary tree, 1 <--- / \ 2 3 <--- \ ...
19.56
144
0.558282
66
489
4.136364
0.757576
0.07326
0
0
0
0
0
0
0
0
0
0.047022
0.347648
489
24
145
20.375
0.808777
0.91002
0
0.166667
0
0.083333
0.983333
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
7f102c29b5ad726500314f5998359c21e8cc9d60
1,396
py
Python
python/Chapter1/Chapter1/bitwise/bits.py
wboswall/academia
1571e8f9aceb21564f601cb79120ae56068fe3dd
[ "MIT" ]
null
null
null
python/Chapter1/Chapter1/bitwise/bits.py
wboswall/academia
1571e8f9aceb21564f601cb79120ae56068fe3dd
[ "MIT" ]
null
null
null
python/Chapter1/Chapter1/bitwise/bits.py
wboswall/academia
1571e8f9aceb21564f601cb79120ae56068fe3dd
[ "MIT" ]
null
null
null
#! /bin/env python3 ''' Functional wrapper around the bitwise operators. Designed to make their use more intuitive to users not familiar with the underlying C operators. Extends the functionality with bitmask read/set operations. The inputs are integer values and return types are 16 bit integers or boolean. bit indexe...
22.885246
59
0.617479
206
1,396
4.184466
0.378641
0.062645
0.041763
0.062645
0.272622
0.272622
0.076566
0.076566
0.076566
0.076566
0
0.023483
0.267908
1,396
60
60
23.266667
0.819961
0.523639
0
0.074074
0
0
0
0
0
0
0
0
0
1
0.37037
false
0
0
0.222222
0.740741
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
7f1adc64d62559a4f4e785f223fd9cd3fefbdae8
125
py
Python
util.py
kieras/chat-bitbucket-bot
1557cdf097a3a0ad4dcfe95faa918b6daa5e3e56
[ "MIT" ]
2
2021-02-08T23:13:24.000Z
2021-10-04T13:06:10.000Z
util.py
kieras/chat-bitbucket-bot
1557cdf097a3a0ad4dcfe95faa918b6daa5e3e56
[ "MIT" ]
2
2021-02-08T20:48:57.000Z
2021-04-30T21:16:25.000Z
util.py
kieras/chat-bitbucket-bot
1557cdf097a3a0ad4dcfe95faa918b6daa5e3e56
[ "MIT" ]
1
2021-02-08T22:57:07.000Z
2021-02-08T22:57:07.000Z
import json def load_json_file(filename): with open(filename, encoding='utf-8') as file: return json.load(file)
20.833333
50
0.696
19
125
4.473684
0.684211
0
0
0
0
0
0
0
0
0
0
0.009901
0.192
125
5
51
25
0.831683
0
0
0
0
0
0.04
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
612f4091c1666fc8faf4d26403625e770156ee50
656
py
Python
pypy/module/__pypy__/interp_os.py
olliemath/pypy
8b873bd0b8bf76075aba3d915c260789f26f5788
[ "Apache-2.0", "OpenSSL" ]
null
null
null
pypy/module/__pypy__/interp_os.py
olliemath/pypy
8b873bd0b8bf76075aba3d915c260789f26f5788
[ "Apache-2.0", "OpenSSL" ]
null
null
null
pypy/module/__pypy__/interp_os.py
olliemath/pypy
8b873bd0b8bf76075aba3d915c260789f26f5788
[ "Apache-2.0", "OpenSSL" ]
1
2022-03-30T11:42:37.000Z
2022-03-30T11:42:37.000Z
import os from pypy.interpreter.gateway import unwrap_spec from rpython.translator.platform import platform as compiler @unwrap_spec(name='text0') def real_getenv(space, name): """Get an OS environment value skipping Python cache""" return space.newtext_or_none(os.environ.get(name)) # For annotation, pre-bu...
26.24
60
0.75
91
656
5.285714
0.615385
0.04158
0.074844
0
0
0
0
0
0
0
0
0.009107
0.16311
656
24
61
27.333333
0.867031
0.420732
0
0
0
0
0.014286
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
6138f71e1768d65a40cbd9f6b98702ef91d75a7d
1,016
py
Python
books/model/JournalList.py
nudglabs/books-python-wrappers
8844eca8fe681542644a70749b72a6dc4e48c171
[ "MIT" ]
9
2015-04-01T08:59:49.000Z
2022-01-27T01:27:45.000Z
books/model/JournalList.py
nudglabs/books-python-wrappers
8844eca8fe681542644a70749b72a6dc4e48c171
[ "MIT" ]
3
2020-05-14T04:22:22.000Z
2021-08-06T11:19:03.000Z
books/model/JournalList.py
nudglabs/books-python-wrappers
8844eca8fe681542644a70749b72a6dc4e48c171
[ "MIT" ]
11
2016-04-14T10:59:36.000Z
2020-08-19T13:26:05.000Z
#$Id$ from books.model.PageContext import PageContext class JournalList: """This class is used to create object for journals list.""" def __init__(self): """Initialize parameters for Journals list object.""" self.journals = [] self.page_context = PageContext() def set_journals(sel...
20.32
64
0.581693
106
1,016
5.424528
0.311321
0.229565
0.104348
0.086957
0
0
0
0
0
0
0
0
0.322835
1,016
49
65
20.734694
0.835756
0.369094
0
0
0
0
0
0
0
0
0
0
0
1
0.384615
false
0
0.076923
0
0.692308
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
6154c9517214834e3428beb65e25800c627df868
163
py
Python
examples/simple/noxfile.py
yutiansut/rust-numpy
4c46dea69080047d3584cee4dbe28ba0d826ef7b
[ "BSD-2-Clause" ]
174
2018-07-02T15:56:36.000Z
2019-11-13T19:10:25.000Z
examples/simple/noxfile.py
yutiansut/rust-numpy
4c46dea69080047d3584cee4dbe28ba0d826ef7b
[ "BSD-2-Clause" ]
66
2018-07-03T02:35:21.000Z
2019-11-16T06:35:48.000Z
examples/linalg/noxfile.py
rust-numpy/rust-numpy
19bfc9d2d0e72bb3ed30c08244ee81abd02d7386
[ "BSD-2-Clause" ]
18
2018-07-18T12:13:33.000Z
2019-11-14T16:44:51.000Z
import nox @nox.session def tests(session): session.install("pip", "numpy", "pytest") session.run("pip", "install", ".", "-v") session.run("pytest")
18.111111
45
0.607362
20
163
4.95
0.55
0.20202
0
0
0
0
0
0
0
0
0
0
0.165644
163
8
46
20.375
0.727941
0
0
0
0
0
0.202454
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
616fcc0d9f3cb7b912b91edfca9f85bb1c54e202
7,905
py
Python
src/cfnlint/rules/custom/Operators.py
sthagen/aws-cloudformation-cfn-lint
8628b2bab208acb2ac7843d2cadf7b56252058f7
[ "MIT-0" ]
445
2018-04-19T14:43:33.000Z
2019-03-01T11:00:21.000Z
src/cfnlint/rules/custom/Operators.py
sthagen/cfn-lint
80c8211eb028b374fdf547f21a8e218248dedc89
[ "MIT-0" ]
464
2018-04-19T17:29:50.000Z
2019-03-01T14:20:19.000Z
src/cfnlint/rules/custom/Operators.py
sthagen/cfn-lint
80c8211eb028b374fdf547f21a8e218248dedc89
[ "MIT-0" ]
93
2018-04-19T14:55:35.000Z
2019-03-01T03:26:47.000Z
""" Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: MIT-0 """ #pylint: disable=cyclic-import import cfnlint.rules OPERATOR = [ 'EQUALS', 'NOT_EQUALS', '==', '!=', 'IN', 'NOT_IN', '>=', '<='] def CreateCustomRule(rule_id, resourceType, prop, ...
38.75
154
0.641872
917
7,905
5.371865
0.143948
0.060901
0.054811
0.066991
0.735282
0.715997
0.704222
0.68108
0.658343
0.635607
0
0.001564
0.272233
7,905
203
155
38.940887
0.854685
0.023529
0
0.384615
0
0.044872
0.195328
0
0
0
0
0
0
1
0.134615
false
0
0.00641
0
0.294872
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
61740a25bd85f295d6b944a20cb59848c28ba550
6,615
py
Python
src/fog.py
dreamer-1996/3d-graphics-project
3a003633fa0858f926ee7a3116983cf606e7b97b
[ "MIT" ]
1
2021-09-16T19:53:52.000Z
2021-09-16T19:53:52.000Z
src/fog.py
Jit-INP/3d-graphics-project
7c26b24de2783b11d09cac818433d5a8d1f7c081
[ "MIT" ]
null
null
null
src/fog.py
Jit-INP/3d-graphics-project
7c26b24de2783b11d09cac818433d5a8d1f7c081
[ "MIT" ]
2
2021-06-15T03:24:29.000Z
2021-09-16T19:53:21.000Z
import glfw import numpy as np class FogColour: def __init__(self): self.colour = [0, 0, 0] self.time = 0 self.time_period = 6000 # 0.5 to make the transitions a little slower self.factor = (1 / self.time_period) * 0.5 self.day_color = [0.6, 0.7, 0.7] self...
37.585227
88
0.483296
939
6,615
3.259851
0.084132
0.028749
0.196668
0.039203
0.761516
0.725907
0.662202
0.631493
0.628553
0.617445
0
0.11643
0.37158
6,615
175
89
37.8
0.619918
0.062736
0
0.256198
0
0
0
0
0
0
0
0
0
1
0.041322
false
0
0.016529
0.008264
0.099174
0
0
0
0
null
0
1
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
3
6177932b50d68acf2f3254e2a8ee8e372a85f81b
201
py
Python
10.4_recursion_reverse_string.py
EashanKaushik/Data-Structures
e5bd391e029cb47e650d5665647ff57590b9b343
[ "MIT" ]
null
null
null
10.4_recursion_reverse_string.py
EashanKaushik/Data-Structures
e5bd391e029cb47e650d5665647ff57590b9b343
[ "MIT" ]
null
null
null
10.4_recursion_reverse_string.py
EashanKaushik/Data-Structures
e5bd391e029cb47e650d5665647ff57590b9b343
[ "MIT" ]
null
null
null
# O(n^2) def reverse_string(string): if len(string) == 0: return string return reverse_string(string[1:]) + string[0] if __name__ == '__main__': print(reverse_string('Eashan'))
16.75
49
0.631841
27
201
4.296296
0.555556
0.336207
0.327586
0
0
0
0
0
0
0
0
0.025316
0.21393
201
11
50
18.272727
0.708861
0.029851
0
0
0
0
0.072917
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.5
0.166667
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
61828883385dd558929001ed21d181e07c1c1d1a
137
py
Python
sifter/grammar/validator.py
tomduckering/sifter
cb2656ac47125e9e06c9bdda56193da41cc340a8
[ "BSD-2-Clause" ]
10
2016-11-25T08:38:28.000Z
2020-09-29T06:45:47.000Z
sifter/grammar/validator.py
tomduckering/sifter
cb2656ac47125e9e06c9bdda56193da41cc340a8
[ "BSD-2-Clause" ]
3
2020-08-24T16:17:30.000Z
2020-10-09T08:26:14.000Z
sifter/grammar/validator.py
python-sifter/sifter
cb2656ac47125e9e06c9bdda56193da41cc340a8
[ "BSD-2-Clause" ]
6
2015-11-06T00:46:18.000Z
2020-10-07T16:27:41.000Z
__all__ = ('Validator',) class Validator(object): def validate(self, arg_list, starting_index): raise NotImplementedError
17.125
49
0.708029
14
137
6.5
0.928571
0
0
0
0
0
0
0
0
0
0
0
0.189781
137
7
50
19.571429
0.81982
0
0
0
0
0
0.066176
0
0
0
0
0
0
1
0.25
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
61a490ecef999b05bbf3c483b5fbd9cf68c87b8d
71
py
Python
pytest_aiohttp_client/__init__.py
sivakov512/pytest-aiohttp-client
479a9ad8fdf8fedd7f1155b4617f9d3888fce666
[ "MIT" ]
4
2020-11-01T18:57:20.000Z
2021-06-01T11:12:10.000Z
pytest_aiohttp_client/__init__.py
sivakov512/pytest-aiohttp-client
479a9ad8fdf8fedd7f1155b4617f9d3888fce666
[ "MIT" ]
null
null
null
pytest_aiohttp_client/__init__.py
sivakov512/pytest-aiohttp-client
479a9ad8fdf8fedd7f1155b4617f9d3888fce666
[ "MIT" ]
null
null
null
from .plugin import AwesomeTestClient __all__ = ["AwesomeTestClient"]
17.75
37
0.802817
6
71
8.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.112676
71
3
38
23.666667
0.84127
0
0
0
0
0
0.239437
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
61c7656f34a5d4727b1d930cb1fe5781f4443a24
1,117
py
Python
code/se.py
Bodhiswatta/ICTNet
bbab1f59ca4666f14d24298dbbd9fbcc96bb6819
[ "MIT" ]
5
2020-06-01T17:00:01.000Z
2022-03-07T13:51:07.000Z
code/se.py
Bodhiswatta/ICTNet
bbab1f59ca4666f14d24298dbbd9fbcc96bb6819
[ "MIT" ]
null
null
null
code/se.py
Bodhiswatta/ICTNet
bbab1f59ca4666f14d24298dbbd9fbcc96bb6819
[ "MIT" ]
null
null
null
import os import tensorflow as tf import tensorflow.contrib.slim as slim #from tflearn.layers.conv import global_avg_pool import numpy as np from config import cfg #os.environ["CUDA_VISIBLE_DEVICES"] = '1' def Global_Average_Pooling(x): #return global_avg_pool(x, name='Global_avg_pooling') return tf.reduce_mean(...
30.189189
107
0.760072
169
1,117
4.781065
0.337278
0.089109
0.05198
0.037129
0.154703
0.059406
0
0
0
0
0
0.008256
0.132498
1,117
37
108
30.189189
0.825593
0.12444
0
0.083333
0
0
0.050205
0
0
0
0
0
0
1
0.208333
false
0
0.208333
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4ef15b472654693916a55c7a2d4dfef4e73a4fe6
190
py
Python
materials/BinaryImage.py
imbiswas/Tkinter-Image-Binary
b24db8cc6f21b6a249665cb38ed5e08e44d10d5a
[ "MIT" ]
null
null
null
materials/BinaryImage.py
imbiswas/Tkinter-Image-Binary
b24db8cc6f21b6a249665cb38ed5e08e44d10d5a
[ "MIT" ]
null
null
null
materials/BinaryImage.py
imbiswas/Tkinter-Image-Binary
b24db8cc6f21b6a249665cb38ed5e08e44d10d5a
[ "MIT" ]
null
null
null
class BinaryImage(object): def __init__(self,b): self.b=b def _determineColorValue(self): v = 255*self.b return ("#%02x%02x%02x" % (v, v, v))
23.75
49
0.515789
24
190
3.875
0.5
0.16129
0
0
0
0
0
0
0
0
0
0.071429
0.336842
190
7
50
27.142857
0.666667
0
0
0
0
0
0.071038
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
4ef25ffebdbd58a6a454ed2c9adffd2c6a5f3ef5
300
py
Python
oldnumba/tests/test_nan.py
meawoppl/numba
bb8df0aee99133c6d52465ae9f9df2a7996339f3
[ "BSD-2-Clause" ]
1
2015-01-29T06:52:36.000Z
2015-01-29T06:52:36.000Z
oldnumba/tests/test_nan.py
meawoppl/numba
bb8df0aee99133c6d52465ae9f9df2a7996339f3
[ "BSD-2-Clause" ]
null
null
null
oldnumba/tests/test_nan.py
meawoppl/numba
bb8df0aee99133c6d52465ae9f9df2a7996339f3
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import print_function, division, absolute_import from numba import * @jit(bool_(float64)) def isnan(x): return x != x @jit(bool_(float64)) def equal(x): return x == x assert isnan(float('nan')) assert not isnan(10.0) assert not equal(float('nan'))
17.647059
64
0.68
46
300
4.26087
0.543478
0.071429
0.142857
0.173469
0
0
0
0
0
0
0
0.031873
0.163333
300
16
65
18.75
0.749004
0.07
0
0.181818
0
0
0.021661
0
0
0
0
0
0.272727
1
0.181818
false
0
0.181818
0.181818
0.545455
0.090909
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
4efa6d22f0541093ffde31dc8f1b74faf80c37a8
432
py
Python
Compiler Design Lab/ChocoPy_LLVM_Compiler/demo.py
Abhishek-Aditya-bs/Lab-Projects-and-Assignments
fd2681a1c7453367a4df1790e58afb312f13998c
[ "MIT" ]
null
null
null
Compiler Design Lab/ChocoPy_LLVM_Compiler/demo.py
Abhishek-Aditya-bs/Lab-Projects-and-Assignments
fd2681a1c7453367a4df1790e58afb312f13998c
[ "MIT" ]
null
null
null
Compiler Design Lab/ChocoPy_LLVM_Compiler/demo.py
Abhishek-Aditya-bs/Lab-Projects-and-Assignments
fd2681a1c7453367a4df1790e58afb312f13998c
[ "MIT" ]
null
null
null
x:int = 1 y:int = 2 a:bool = True b:bool = False c:str = "" d:str = "" b = a printf("%d", x != y) x = y printf("%d", x == y) x = 2 y = 2 printf("%d", x == y) x = y = 0 printf("%d", x == 0) printf("%d", y == 0) printf("%d", a == b) b = False printf("%d", a != b) printf("%s", c) printf("%s", d) d = c = "123" printf("...
11.675676
20
0.451389
89
432
2.191011
0.213483
0.287179
0.164103
0.287179
0.533333
0.482051
0.261538
0
0
0
0
0.048048
0.229167
432
36
21
12
0.537538
0
0
0.3
0
0
0.095349
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
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
1
0
3
4efd73739784fee6d08214c8f004aa2349060870
409
py
Python
calest/__init__.py
ricardoperezf/CalestAPI
65f6b4b0da491983bfa9beeb76135c079859ea0f
[ "MIT" ]
null
null
null
calest/__init__.py
ricardoperezf/CalestAPI
65f6b4b0da491983bfa9beeb76135c079859ea0f
[ "MIT" ]
null
null
null
calest/__init__.py
ricardoperezf/CalestAPI
65f6b4b0da491983bfa9beeb76135c079859ea0f
[ "MIT" ]
2
2018-03-13T01:41:56.000Z
2018-03-31T17:52:24.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- from flask import Flask from flask_cors import CORS import pymongo as pymongo calest_app = Flask(__name__) uri = "mongodb://grupocosmosdb:Mbz2KwKHE8UBlSTrY8cDor7N7zWxHHjDxpbGjliuBwWNzGx5w5H862Z5H2kTnDDb9tR89WZa4H6cipfcS8L5Mw==@grupocosmosdb.documents.azure.com:10255/?ssl=true&...
34.083333
190
0.816626
44
409
7.454545
0.681818
0.054878
0
0
0
0
0
0
0
0
0
0.066489
0.080685
409
11
191
37.181818
0.805851
0.09291
0
0
0
0.142857
0.493225
0.493225
0
0
0
0
0
1
0
false
0
0.571429
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
1
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
f6039c5301690ba6f991d150f8b6fa969480aa8a
26
py
Python
__aulas/Parte2/libs/pack3/module3.py
igormotta92/gta-exercices-python-flask
b094b987857a9be5d0677a61e44312cca891e448
[ "MIT" ]
null
null
null
__aulas/Parte2/libs/pack3/module3.py
igormotta92/gta-exercices-python-flask
b094b987857a9be5d0677a61e44312cca891e448
[ "MIT" ]
null
null
null
__aulas/Parte2/libs/pack3/module3.py
igormotta92/gta-exercices-python-flask
b094b987857a9be5d0677a61e44312cca891e448
[ "MIT" ]
null
null
null
CONSTANT_3 = "Constante 3"
26
26
0.769231
4
26
4.75
0.75
0
0
0
0
0
0
0
0
0
0
0.086957
0.115385
26
1
26
26
0.73913
0
0
0
0
0
0.407407
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f61756a087bdc2b2fd5c94b3c81a3570699bf6ef
261
py
Python
poller/plugin.py
astonshane/poller
f2331d3f2c74333fca9171a1d41bad8c846a5ba2
[ "MIT" ]
null
null
null
poller/plugin.py
astonshane/poller
f2331d3f2c74333fca9171a1d41bad8c846a5ba2
[ "MIT" ]
null
null
null
poller/plugin.py
astonshane/poller
f2331d3f2c74333fca9171a1d41bad8c846a5ba2
[ "MIT" ]
null
null
null
import abc # https://pymotw.com/3/abc/ class PluginBase(abc.ABCMeta): @abc.abstractmethod def trigger(self): """Trigger your event """ @abc.abstractmethod def check(self): """Check if your event should fire """
18.642857
42
0.590038
30
261
5.133333
0.633333
0.220779
0.25974
0
0
0
0
0
0
0
0
0.005319
0.279693
261
14
43
18.642857
0.81383
0.363985
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0
0.666667
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
f64343abb2b2722e10f0bdbf3c50440892bdee2c
859
py
Python
crawl/newspapper_crawlers/items.py
GoCodingIcreated/newspapper
180256578d12a0feaa2e1a3a7db9fde52bc682e1
[ "MIT" ]
null
null
null
crawl/newspapper_crawlers/items.py
GoCodingIcreated/newspapper
180256578d12a0feaa2e1a3a7db9fde52bc682e1
[ "MIT" ]
null
null
null
crawl/newspapper_crawlers/items.py
GoCodingIcreated/newspapper
180256578d12a0feaa2e1a3a7db9fde52bc682e1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://doc.scrapy.org/en/latest/topics/items.html import scrapy class TutorialItem(scrapy.Item): # define the fields for your item here like: # name = scrapy.Field() pass class StoreItem(scrapy.Item): ...
22.605263
52
0.708964
107
859
5.53271
0.457944
0.241554
0.101351
0.106419
0.256757
0.256757
0.155405
0.155405
0
0
0
0.001418
0.179278
859
38
53
22.605263
0.838298
0.23865
0
0.210526
0
0
0
0
0
0
0
0
0
1
0
false
0.052632
0.052632
0
0.947368
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
1
0
0
3
f64b70c395baf1f5f02deef3097b28f0a3a9548b
2,778
py
Python
DublinBus/DublinBusTest/migrations/0003_buslineinformation_line1_line102.py
atreanor/BusLane
c7ad6f42d9442d99b48c03e3e6ad883f5d16bba9
[ "BSD-2-Clause" ]
null
null
null
DublinBus/DublinBusTest/migrations/0003_buslineinformation_line1_line102.py
atreanor/BusLane
c7ad6f42d9442d99b48c03e3e6ad883f5d16bba9
[ "BSD-2-Clause" ]
3
2020-02-11T23:57:19.000Z
2021-06-10T21:18:36.000Z
DublinBus/DublinBusTest/migrations/0003_buslineinformation_line1_line102.py
atreanor/BusLane
c7ad6f42d9442d99b48c03e3e6ad883f5d16bba9
[ "BSD-2-Clause" ]
1
2020-06-20T09:53:15.000Z
2020-06-20T09:53:15.000Z
# Generated by Django 2.0.6 on 2018-07-18 19:30 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('DublinBusTest', '0002_line9_lineone'), ] operations = [ migrations.CreateModel( name='Buslineinformation', fields=[ ...
44.806452
109
0.559035
266
2,778
5.684211
0.255639
0.15873
0.185185
0.222222
0.556878
0.441799
0.335979
0.26455
0.26455
0.26455
0
0.014308
0.295536
2,778
61
110
45.540984
0.758304
0.016199
0
0.472727
1
0
0.169901
0
0
0
0
0
0
1
0
false
0
0.018182
0
0.072727
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9ca112fe3d7521e9af82a23e07c85d02ac8363ed
186
py
Python
simpleserver/api.py
lferran/guillotina-simpleserver
2987bd8d120fc820a17821a3bcc881b5d560f6a7
[ "BSD-3-Clause" ]
null
null
null
simpleserver/api.py
lferran/guillotina-simpleserver
2987bd8d120fc820a17821a3bcc881b5d560f6a7
[ "BSD-3-Clause" ]
null
null
null
simpleserver/api.py
lferran/guillotina-simpleserver
2987bd8d120fc820a17821a3bcc881b5d560f6a7
[ "BSD-3-Clause" ]
null
null
null
from guillotina import configure @configure.service(method="GET", name="@double/{value}") async def double(context, request): return {"value": int(request.matchdict["value"]) * 2}
26.571429
57
0.715054
23
186
5.782609
0.782609
0
0
0
0
0
0
0
0
0
0
0.006061
0.112903
186
6
58
31
0.8
0
0
0
0
0
0.150538
0
0
0
0
0
0
1
0
true
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
9cb39beaf081c966749a44a79159d287730b4040
229
py
Python
frappe/patches/v4_2/refactor_website_routing.py
pawaranand/phr_frappe
d997ae7d6fbade4b2c4a2491603d988876dfd67e
[ "MIT" ]
null
null
null
frappe/patches/v4_2/refactor_website_routing.py
pawaranand/phr_frappe
d997ae7d6fbade4b2c4a2491603d988876dfd67e
[ "MIT" ]
1
2015-07-11T20:52:38.000Z
2019-12-06T15:00:58.000Z
frappe/patches/v4_2/refactor_website_routing.py
pawaranand/phr_frappe
d997ae7d6fbade4b2c4a2491603d988876dfd67e
[ "MIT" ]
2
2015-09-05T05:30:23.000Z
2018-03-21T19:45:10.000Z
import frappe def execute(): # clear all static web pages frappe.delete_doc("DocType", "Website Route", force=1) frappe.delete_doc("Page", "sitemap-browser", force=1) frappe.db.sql("drop table if exists `tabWebsite Route`")
28.625
57
0.733624
34
229
4.882353
0.764706
0.144578
0.180723
0
0
0
0
0
0
0
0
0.00995
0.122271
229
7
58
32.714286
0.81592
0.113537
0
0
0
0
0.38806
0
0
0
0
0
0
1
0.2
true
0
0.2
0
0.4
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
9cb59d14268ac559b9353f0e910d2bf0cbc54a04
713
py
Python
memegen/memegen/routes/api_legacy.py
flavienbwk/memegen
dcb5635ad556d1c855fc3851609b32b1be133441
[ "MIT" ]
3
2020-09-02T13:11:11.000Z
2020-12-24T00:41:56.000Z
memegen/memegen/routes/api_legacy.py
flavienbwk/memegen
dcb5635ad556d1c855fc3851609b32b1be133441
[ "MIT" ]
13
2020-08-30T21:38:53.000Z
2020-09-05T03:19:17.000Z
memegen/memegen/routes/api_legacy.py
flavienbwk/memegen
dcb5635ad556d1c855fc3851609b32b1be133441
[ "MIT" ]
null
null
null
from flask import Blueprint, current_app as app, redirect from ._utils import route blueprint = Blueprint('legacy', __name__) @blueprint.route("/templates/") def legacy_templates_index(): return redirect(route('templates.get')) @blueprint.route("/<key>") def legacy_templates_detail(key): template = app.t...
24.586207
64
0.729313
92
713
5.456522
0.326087
0.111554
0.151394
0.111554
0.10757
0
0
0
0
0
0
0
0.115007
713
28
65
25.464286
0.795563
0
0
0
0
0
0.134642
0
0
0
0
0
0
1
0.235294
false
0
0.117647
0.117647
0.588235
0.352941
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9cbc0715bb5aa1999576eb19991c3b46c8e7d3f2
43,346
py
Python
template_container_human/labels/slice_155.py
lkondratova/Brainplot
3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d
[ "MIT" ]
null
null
null
template_container_human/labels/slice_155.py
lkondratova/Brainplot
3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d
[ "MIT" ]
null
null
null
template_container_human/labels/slice_155.py
lkondratova/Brainplot
3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d
[ "MIT" ]
null
null
null
coordinates_E0E1E1 = ((125, 112), (126, 112), (126, 115), (126, 129), (127, 112), (127, 116), (127, 129), (127, 130), (128, 113), (128, 115), (128, 117), (128, 129), (128, 130), (129, 114), (129, 117), (129, 129), (129, 130), (130, 115), (130, 117), (130, 120), (130, 129), (131, 105), (131, 107), (131, 116), (131, 11...
504.023256
865
0.488211
7,346
43,346
2.877484
0.016608
0.000852
0.000852
0.001135
0.002555
0
0
0
0
0
0
0.581021
0.173395
43,346
85
866
509.952941
0.008931
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9cc03fa5d0aa10a7bad8fdfcce48d09f429bc604
175
py
Python
shipmanage/urls.py
wjnkawhi/-
30b39f312ea874615e52611670ca1fc3430b0b84
[ "BSD-2-Clause" ]
null
null
null
shipmanage/urls.py
wjnkawhi/-
30b39f312ea874615e52611670ca1fc3430b0b84
[ "BSD-2-Clause" ]
null
null
null
shipmanage/urls.py
wjnkawhi/-
30b39f312ea874615e52611670ca1fc3430b0b84
[ "BSD-2-Clause" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('order/', views.order_manage, name="order"), path('ships/', views.ship_manage, name="ships"), ]
21.875
53
0.68
23
175
5.086957
0.521739
0.17094
0
0
0
0
0
0
0
0
0
0
0.154286
175
7
54
25
0.790541
0
0
0
0
0
0.125714
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
9cc2927fff6acadb8a478ce00fa7826f509e1f15
327
py
Python
xos/core/models/project.py
xmaruto/mcord
3678a3d10c3703c2b73f396c293faebf0c82a4f4
[ "Apache-2.0" ]
null
null
null
xos/core/models/project.py
xmaruto/mcord
3678a3d10c3703c2b73f396c293faebf0c82a4f4
[ "Apache-2.0" ]
5
2020-06-05T17:47:15.000Z
2021-09-23T23:21:27.000Z
xos/core/models/project.py
pan2za/xos
c2a4da2ccaa12360b2718be303b247866aefdfe6
[ "Apache-2.0" ]
null
null
null
import os from django.db import models from core.models import PlCoreBase from core.models.plcorebase import StrippedCharField # Create your models here. class Project(PlCoreBase): name = StrippedCharField(max_length=200, unique=True, help_text="Name of Project") def __unicode__(self): return u'%s' % (self....
25.153846
86
0.767584
45
327
5.444444
0.644444
0.065306
0.114286
0
0
0
0
0
0
0
0
0.010714
0.143731
327
12
87
27.25
0.864286
0.073395
0
0
0
0
0.056667
0
0
0
0
0
0
1
0.142857
false
0
0.571429
0.142857
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
9cd11560702ececa4e629cc4ec3ece3c24ade5c4
3,436
py
Python
src/frame.py
igfish/toyvm
bb1ab371a8c71ba01522556235fc9f017c9b6b8f
[ "MIT" ]
null
null
null
src/frame.py
igfish/toyvm
bb1ab371a8c71ba01522556235fc9f017c9b6b8f
[ "MIT" ]
null
null
null
src/frame.py
igfish/toyvm
bb1ab371a8c71ba01522556235fc9f017c9b6b8f
[ "MIT" ]
null
null
null
from dataclasses import dataclass from types import CodeType from typing import Any from src.function import Cell, CodeFlag @dataclass class Block: type: int target: int level: int class FrameState: CREATED = -2 SUSPENDED = -1 EXECUTING = 0 RETURNED = 1 UNWINDING = 2 RAISED = 3 ...
24.719424
92
0.593714
464
3,436
4.217672
0.211207
0.112417
0.106796
0.107307
0.14001
0.032192
0
0
0
0
0
0.004574
0.300058
3,436
138
93
24.898551
0.809148
0.003492
0
0.113208
0
0
0.004383
0
0
0
0
0
0.009434
1
0.226415
false
0
0.037736
0.179245
0.575472
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9cf85c19db73b39fb26adfdec36f475e4cffec23
696
py
Python
Python/[7 kyu] highest and lowest.py
KonstantinosAng/CodeWars
9ec9da9ed95b47b9656a5ecf77f486230fd15e3a
[ "MIT" ]
null
null
null
Python/[7 kyu] highest and lowest.py
KonstantinosAng/CodeWars
9ec9da9ed95b47b9656a5ecf77f486230fd15e3a
[ "MIT" ]
null
null
null
Python/[7 kyu] highest and lowest.py
KonstantinosAng/CodeWars
9ec9da9ed95b47b9656a5ecf77f486230fd15e3a
[ "MIT" ]
null
null
null
# see https://www.codewars.com/kata/554b4ac871d6813a03000035/train/python def high_and_low(numbers): n = [int(x) for x in numbers.split(" ")] return ' '.join(str(x) for x in [max(n), min(n)]) from TestFunction import Test test = Test(None) test.assert_equals(high_and_low("4 5 29 54 4 0 -214 542 -64 1 -3 6 -6"),...
36.631579
85
0.66523
133
696
3.285714
0.330827
0.059497
0.20595
0.366133
0.533181
0.533181
0.473684
0.411899
0.411899
0.345538
0
0.128501
0.127874
696
18
86
38.666667
0.591433
0.102011
0
0
0
0
0.170144
0
0
0
0
0
0.615385
1
0.076923
false
0
0.076923
0
0.230769
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
9cfca9a973c04af35aa6846ae9d954952fc831bd
619
py
Python
tests/classifiers/test_genomic_silent_mutation.py
cancervariants/varlex
3806317fa0125c3098e80124d5169fe6a13d50db
[ "MIT" ]
null
null
null
tests/classifiers/test_genomic_silent_mutation.py
cancervariants/varlex
3806317fa0125c3098e80124d5169fe6a13d50db
[ "MIT" ]
15
2019-10-23T17:35:42.000Z
2020-05-05T21:04:01.000Z
tests/classifiers/test_genomic_silent_mutation.py
cancervariants/varlex
3806317fa0125c3098e80124d5169fe6a13d50db
[ "MIT" ]
null
null
null
"""Module for testing Genomic Silent Mutation Classifier.""" import unittest from variation.classifiers import GenomicSilentMutationClassifier from .classifier_base import ClassifierBase class TestGenomicSilentMutationClassifier(ClassifierBase, unittest.TestCase): """A class to test the Genomic Silent Mutation C...
34.388889
77
0.77706
54
619
8.814815
0.518519
0.081933
0.132353
0.130252
0
0
0
0
0
0
0
0
0.150242
619
17
78
36.411765
0.904943
0.342488
0
0
0
0
0.059585
0.059585
0
0
0
0
0
1
0.25
false
0
0.375
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
9cffa129322d1d94db4565a3b2d2d273a23115f0
442
py
Python
src/vehicle/__init__.py
beakerflo/python-vehicle
9196c3865973df14cd59acaa09b6f440e2f6d715
[ "MIT" ]
null
null
null
src/vehicle/__init__.py
beakerflo/python-vehicle
9196c3865973df14cd59acaa09b6f440e2f6d715
[ "MIT" ]
66
2021-11-06T12:49:07.000Z
2022-03-30T23:48:47.000Z
src/vehicle/__init__.py
beakerflo/python-vehicle
9196c3865973df14cd59acaa09b6f440e2f6d715
[ "MIT" ]
3
2021-12-01T15:33:19.000Z
2021-12-24T07:12:26.000Z
"""Asynchronous Python client providing RDW vehicle information.""" from .const import VehicleInterior, VehicleOdometerJudgement, VehicleType from .models import Vehicle from .rdw import RDW, RDWConnectionError, RDWError, RDWUnknownLicensePlateError __all__ = [ "RDW", "RDWConnectionError", "RDWError", ...
27.625
79
0.748869
33
442
9.909091
0.545455
0.238532
0.30581
0.342508
0
0
0
0
0
0
0
0
0.156109
442
15
80
29.466667
0.876676
0.138009
0
0
0
0
0.301333
0.136
0
0
0
0
0
1
0
false
0
0.230769
0
0.230769
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
140a64de65bcaa0d7c0e946326759c73506be609
41,422
py
Python
pyboto3/rekognition.py
thecraftman/pyboto3
653a0db2b00b06708334431da8f169d1f7c7734f
[ "MIT" ]
null
null
null
pyboto3/rekognition.py
thecraftman/pyboto3
653a0db2b00b06708334431da8f169d1f7c7734f
[ "MIT" ]
null
null
null
pyboto3/rekognition.py
thecraftman/pyboto3
653a0db2b00b06708334431da8f169d1f7c7734f
[ "MIT" ]
null
null
null
''' The MIT License (MIT) Copyright (c) 2016 WavyCloud 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 without limitation the rights to use, copy, modify, merge, p...
43.283177
753
0.585631
4,618
41,422
5.204634
0.122997
0.007281
0.007489
0.01398
0.634491
0.604077
0.577658
0.556647
0.527564
0.500603
0
0.007216
0.334267
41,422
956
754
43.328452
0.864375
0.88692
0
0.5
0
0
0
0
0
0
0
0
0
1
0.5
false
0.5
0
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
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
14146191f6224a2cc8bad6a5010dfbe5419f8510
420
py
Python
kmeans-and-sklearn/kmeans-and-sklearn-master/SVM.py
Shivvrat/Machine-Learning-Algorithms
f20503ee513dbd7e51470c464e47358dd6c1e133
[ "MIT" ]
null
null
null
kmeans-and-sklearn/kmeans-and-sklearn-master/SVM.py
Shivvrat/Machine-Learning-Algorithms
f20503ee513dbd7e51470c464e47358dd6c1e133
[ "MIT" ]
null
null
null
kmeans-and-sklearn/kmeans-and-sklearn-master/SVM.py
Shivvrat/Machine-Learning-Algorithms
f20503ee513dbd7e51470c464e47358dd6c1e133
[ "MIT" ]
null
null
null
from sklearn.svm import SVC from sklearn.metrics import accuracy_score def SVM(taken_kernel, penalty_parameter, X_train, X_test, y_train): model = SVC(kernel=taken_kernel, C=penalty_parameter, cache_size=700) model = model.fit(X_train, y_train) predicted_y = model.predict(X_test) return predic...
30
74
0.745238
65
420
4.507692
0.446154
0.136519
0
0
0
0
0
0
0
0
0
0.011527
0.17381
420
13
75
32.307692
0.832853
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
14410a423d34f90d89b2ca2ae6fcb46e6d0a37fa
171
py
Python
project/apps/bhs/config.py
dbinetti/membercenter-api
551361c4a4bad4e8847d76464c5a734671d612c1
[ "MIT" ]
1
2020-08-03T00:16:27.000Z
2020-08-03T00:16:27.000Z
project/apps/bhs/config.py
dbinetti/membercenter-api
551361c4a4bad4e8847d76464c5a734671d612c1
[ "MIT" ]
16
2020-02-12T01:13:54.000Z
2022-01-14T18:32:41.000Z
project/apps/bhs/config.py
dbinetti/membercenter-api
551361c4a4bad4e8847d76464c5a734671d612c1
[ "MIT" ]
null
null
null
# Django from django.apps import AppConfig class BhsConfig(AppConfig): name = 'apps.bhs' verbose_name = 'BHS Member Center' def ready(self): return
15.545455
38
0.666667
21
171
5.380952
0.761905
0
0
0
0
0
0
0
0
0
0
0
0.245614
171
10
39
17.1
0.875969
0.035088
0
0
0
0
0.153374
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
1446ece6d7e2d5af3433bd06951c7b76932dbfd1
290
py
Python
src/manage.py
cruzaria/DMRP
8dcaf507cc779852f2193b841ecf3273fe81cbca
[ "WTFPL" ]
null
null
null
src/manage.py
cruzaria/DMRP
8dcaf507cc779852f2193b841ecf3273fe81cbca
[ "WTFPL" ]
null
null
null
src/manage.py
cruzaria/DMRP
8dcaf507cc779852f2193b841ecf3273fe81cbca
[ "WTFPL" ]
null
null
null
#!/usr/bin/env ../django-react-redux/bin/python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "djangoreactredux.settings.dev") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
24.166667
84
0.772414
39
290
5.333333
0.666667
0.105769
0.173077
0.211538
0
0
0
0
0
0
0
0
0.113793
290
11
85
26.363636
0.809339
0.158621
0
0
0
0
0.243802
0.210744
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
1448ea8069c2abccb8b93535d3b33a98d5d95509
473
py
Python
fancy_todo_list/application/usecases/ports/user_repository.py
rcmendes/fancy_todo_list
fd3862dd43ff4cadb27cc5554b8dbeb079ed27ec
[ "MIT" ]
1
2021-02-03T14:43:24.000Z
2021-02-03T14:43:24.000Z
fancy_todo_list/application/usecases/ports/user_repository.py
rcmendes/fancy_todo_list
fd3862dd43ff4cadb27cc5554b8dbeb079ed27ec
[ "MIT" ]
null
null
null
fancy_todo_list/application/usecases/ports/user_repository.py
rcmendes/fancy_todo_list
fd3862dd43ff4cadb27cc5554b8dbeb079ed27ec
[ "MIT" ]
1
2021-02-04T10:55:19.000Z
2021-02-04T10:55:19.000Z
import abc from fancy_todo_list.application.entities.user import User from fancy_todo_list.application.entities.base import RefId class UserRepository(abc.ABC): @abc.abstractmethod def insert(self, user: User) -> None: raise NotImplementedError() @abc.abstractmethod def get_by_ref_id(self, re...
26.277778
59
0.72093
57
473
5.824561
0.438596
0.153614
0.180723
0.10241
0.481928
0.216867
0
0
0
0
0
0
0.188161
473
17
60
27.823529
0.864583
0
0
0.461538
0
0
0
0
0
0
0
0
0
1
0.230769
false
0
0.230769
0
0.538462
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
1450500ba7de1b8be374a9e02ded5fb23476a3c0
1,232
py
Python
reactions.py
arda-guler/bussard_ramjet
495abe7a1b4ccbc20840b716fd68a2b57cc1b69a
[ "MIT" ]
null
null
null
reactions.py
arda-guler/bussard_ramjet
495abe7a1b4ccbc20840b716fd68a2b57cc1b69a
[ "MIT" ]
null
null
null
reactions.py
arda-guler/bussard_ramjet
495abe7a1b4ccbc20840b716fd68a2b57cc1b69a
[ "MIT" ]
null
null
null
from substance import * class reaction: def get_name(self): return self.name def get_type(self): return type(self) def get_num_of_steps(self): return len(self.steps) class proton_proton_chain(reaction): def __init__(self): self.name = "proton-proton chain" ...
32.421053
88
0.542208
158
1,232
4.14557
0.436709
0.045802
0.051908
0.054962
0.329771
0.329771
0.256489
0.256489
0.256489
0.256489
0
0.097561
0.367695
1,232
37
89
33.297297
0.740693
0.198864
0
0.148148
0
0
0.019388
0
0
0
0
0
0
1
0.222222
false
0
0.037037
0.111111
0.592593
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
147c5bae1edb6779c17447d57a4b498268546f16
286
py
Python
tests/gallery/test_gallery.py
guyongqiangx/construct
72c80035f703d29b1dc62a3e08831d68b29a6e40
[ "MIT" ]
null
null
null
tests/gallery/test_gallery.py
guyongqiangx/construct
72c80035f703d29b1dc62a3e08831d68b29a6e40
[ "MIT" ]
null
null
null
tests/gallery/test_gallery.py
guyongqiangx/construct
72c80035f703d29b1dc62a3e08831d68b29a6e40
[ "MIT" ]
null
null
null
from declarativeunittest import * from construct import * from construct.lib import * from gallery import pe32file def test_pe32(): commondump(pe32file, "python37-win32.exe") commondump(pe32file, "python37-win64.exe") commondump(pe32file, "SharpZipLib0860-dotnet20.dll")
23.833333
56
0.765734
32
286
6.8125
0.5625
0.137615
0.174312
0
0
0
0
0
0
0
0
0.097166
0.136364
286
11
57
26
0.785425
0
0
0
0
0
0.223776
0.097902
0
0
0
0
0
1
0.125
true
0
0.5
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
1
0
1
0
1
0
0
3
1498ed7503ac9e5134a13d5dbdb64f8f038ea459
7,002
py
Python
tests/v2/test_meetups.py
dennisdnyce/Questioner
7d981019786d20ee5352b3379b6c34f3636417c0
[ "MIT" ]
null
null
null
tests/v2/test_meetups.py
dennisdnyce/Questioner
7d981019786d20ee5352b3379b6c34f3636417c0
[ "MIT" ]
7
2019-01-06T16:12:44.000Z
2022-03-08T21:09:34.000Z
tests/v2/test_meetups.py
dennisdnyce/Questioner
7d981019786d20ee5352b3379b6c34f3636417c0
[ "MIT" ]
2
2019-01-09T07:04:49.000Z
2019-01-09T13:08:29.000Z
import os import json import unittest import pytest from app import create_app from app.api.v2.models.meetup_models import MeetupRegistration from app.api.v2.views.meetup_views import meeting, question, comment from app.api.v2.utils.validators import validate_meetup from app.api.v2.models.database_test import Questio...
58.35
225
0.683805
909
7,002
5.155116
0.160616
0.061033
0.049936
0.07213
0.78041
0.74904
0.731114
0.69761
0.679684
0.661758
0
0.024944
0.169809
7,002
119
226
58.840336
0.78118
0.085404
0
0.384615
0
0
0.21163
0.008103
0
0
0
0
0.285714
1
0.10989
false
0.010989
0.098901
0
0.21978
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
149a2409d6bba9db218ce7cc53dc8e5ea4694705
341
py
Python
boris/users/models.py
fragaria/BorIS
9585c83f29220d8f63910dabd98641ab41ace6cf
[ "MIT" ]
1
2021-08-10T14:01:26.000Z
2021-08-10T14:01:26.000Z
boris/users/models.py
fragaria/BorIS
9585c83f29220d8f63910dabd98641ab41ace6cf
[ "MIT" ]
5
2018-04-04T14:31:34.000Z
2020-06-08T07:50:23.000Z
boris/users/models.py
fragaria/BorIS
9585c83f29220d8f63910dabd98641ab41ace6cf
[ "MIT" ]
4
2017-02-06T15:38:34.000Z
2018-03-21T09:40:12.000Z
''' Created on 24.3.2012 @author: xaralis Patch django.contrib.auth.models.User class with custom attributes. ''' from django.contrib.auth.models import User # add autocomplete fields list to django User to be able to use grappelli # autocomplete lookup User.autocomplete_search_fields = staticmethod(lambda: ('usern...
24.357143
82
0.788856
47
341
5.638298
0.723404
0.098113
0.128302
0.173585
0
0
0
0
0
0
0
0.023411
0.123167
341
13
83
26.230769
0.862876
0.58651
0
0
0
0
0.160305
0.160305
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
149e4bba6a7bd3b93fdfa8f7b045f316c2aafe50
106
py
Python
Taekwon/Python/BFS_DFS/mazes.py
sonnysorry/codingtest
478e0168e3209eb97b6b16910027bf12ccc3ccd0
[ "MIT" ]
2
2021-09-27T19:10:36.000Z
2021-11-09T05:40:39.000Z
Taekwon/Python/BFS_DFS/mazes.py
sonnysorry/codingtest
478e0168e3209eb97b6b16910027bf12ccc3ccd0
[ "MIT" ]
1
2021-11-15T14:56:54.000Z
2021-11-15T14:56:54.000Z
Taekwon/Python/BFS_DFS/mazes.py
sonnysorry/codingtest
478e0168e3209eb97b6b16910027bf12ccc3ccd0
[ "MIT" ]
null
null
null
n, m = map(int, input().split()) graph = [] for i in range(n): graph.append(list(map(int, input())))
17.666667
41
0.575472
18
106
3.388889
0.722222
0.196721
0.360656
0
0
0
0
0
0
0
0
0
0.179245
106
5
42
21.2
0.701149
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
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
14beb4bc2a841e40137cec97c034867bfc35b9a9
1,893
py
Python
lib/encoder_configuration.py
Jesseyx/compare-codecs
3b869ea828f6ffdd126059d705fdd434b563525a
[ "Apache-2.0" ]
50
2015-01-09T17:13:00.000Z
2022-03-31T15:04:00.000Z
lib/encoder_configuration.py
Jesseyx/compare-codecs
3b869ea828f6ffdd126059d705fdd434b563525a
[ "Apache-2.0" ]
76
2015-01-05T13:27:30.000Z
2016-09-15T07:30:33.000Z
lib/encoder_configuration.py
Jesseyx/compare-codecs
3b869ea828f6ffdd126059d705fdd434b563525a
[ "Apache-2.0" ]
16
2015-01-24T09:24:36.000Z
2021-07-30T10:54:55.000Z
# Copyright 2015 Google. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, softw...
30.532258
76
0.749076
263
1,893
5.258555
0.486692
0.043384
0.046999
0.032538
0
0
0
0
0
0
0
0.005707
0.166931
1,893
61
77
31.032787
0.871275
0.503434
0
0
0
0
0.054765
0
0
0
0
0
0
1
0.307692
false
0.038462
0.038462
0.115385
0.576923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1adfe8f59547c587e639348922595aa71b5b1cd5
659
py
Python
tests/fake_module.py
beekpr/freezegun
181f7ac7f909e561e26f5b293d2d40e82eb99f7a
[ "Apache-2.0" ]
1
2021-11-06T17:00:00.000Z
2021-11-06T17:00:00.000Z
tests/fake_module.py
beekpr/freezegun
181f7ac7f909e561e26f5b293d2d40e82eb99f7a
[ "Apache-2.0" ]
1
2019-02-08T18:35:06.000Z
2019-02-08T18:38:26.000Z
tests/fake_module.py
beekpr/freezegun
181f7ac7f909e561e26f5b293d2d40e82eb99f7a
[ "Apache-2.0" ]
1
2020-07-17T08:36:13.000Z
2020-07-17T08:36:13.000Z
from datetime import datetime from datetime import date from time import time, localtime, gmtime, strftime def fake_datetime_function(): return datetime.now() def fake_date_function(): return date.today() def fake_time_function(): return time() def fake_localtime_function(): return localtime() ...
16.073171
56
0.717754
81
659
5.54321
0.382716
0.093541
0.080178
0
0
0
0
0
0
0
0
0
0.198786
659
40
57
16.475
0.850379
0
0
0
0
0
0.057663
0
0
0
0
0
0
1
0.363636
false
0
0.136364
0.363636
0.954545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
21007c77949f3f5fccea7edfd6fc3d7b6cb5b625
1,209
py
Python
python-function-practice-master/print_big.py
valcal/python_practice
bbc9b7075a5af7b7461afa322acb8c946bad1024
[ "MIT" ]
null
null
null
python-function-practice-master/print_big.py
valcal/python_practice
bbc9b7075a5af7b7461afa322acb8c946bad1024
[ "MIT" ]
null
null
null
python-function-practice-master/print_big.py
valcal/python_practice
bbc9b7075a5af7b7461afa322acb8c946bad1024
[ "MIT" ]
null
null
null
"""PRINT BIG: Write a function that takes in a single letter, and returns a 5x5 representation of that letter print_big('a') out: * * * ***** * * * * HINT: Consider making a dictionary of possible patterns, and mapping the alphabet to specific 5-line combinations of patterns. For purpose...
63.631579
728
0.278743
81
1,209
4.135802
0.641975
0.071642
0.01791
0.023881
0.029851
0
0
0
0
0
0
0.0033
0.248139
1,209
18
729
67.166667
0.365237
0.311828
0
0
0
0
0.157576
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
1
0
3
211e6dd7f45417fa545d69479341f541417121fa
312
py
Python
setup.py
arch888/Grofers-Exercise-1
d3bde7d34660827f742cf1ce0ee3ca860fd0b236
[ "MIT" ]
null
null
null
setup.py
arch888/Grofers-Exercise-1
d3bde7d34660827f742cf1ce0ee3ca860fd0b236
[ "MIT" ]
null
null
null
setup.py
arch888/Grofers-Exercise-1
d3bde7d34660827f742cf1ce0ee3ca860fd0b236
[ "MIT" ]
null
null
null
from setuptools import setup setup( name = 'key_value', version = '0.1.0', packages = ['key_value', 'key_value_BST'], entry_points = { 'console_scripts': [ 'key_value = key_value_BST.__main__:main', 'key_value_DB = key_value.__main__:main', ] })
17.333333
54
0.567308
36
312
4.361111
0.5
0.356688
0.140127
0.203822
0.242038
0
0
0
0
0
0
0.013761
0.301282
312
17
55
18.352941
0.706422
0
0
0
0
0
0.415584
0.162338
0
0
0
0
0
1
0
true
0
0.090909
0
0.090909
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
1
0
0
0
0
0
0
3
21222e4fb5290a391e0095fce1c6636848f22f19
188
py
Python
ebb_lint/__init__.py
AndrewLvov/ebb-lint
3ed549f0e83f1c2bbba50e87923577259bd33b75
[ "PSF-2.0" ]
null
null
null
ebb_lint/__init__.py
AndrewLvov/ebb-lint
3ed549f0e83f1c2bbba50e87923577259bd33b75
[ "PSF-2.0" ]
null
null
null
ebb_lint/__init__.py
AndrewLvov/ebb-lint
3ed549f0e83f1c2bbba50e87923577259bd33b75
[ "PSF-2.0" ]
null
null
null
from ebb_lint.flake8 import EbbLint from ebb_lint._version import get_versions __version__ = get_versions()['version'] del get_versions __all__ = ( 'EbbLint', '__version__', )
14.461538
42
0.739362
23
188
5.26087
0.478261
0.272727
0.181818
0
0
0
0
0
0
0
0
0.006369
0.164894
188
12
43
15.666667
0.764331
0
0
0
0
0
0.132979
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
21320e95814eccd887181696df916cf729367c80
196
py
Python
tests/test_run_once.py
algobot76/dekit
37a25a570bc029e5d1f74953350deb387a8aaf25
[ "MIT" ]
null
null
null
tests/test_run_once.py
algobot76/dekit
37a25a570bc029e5d1f74953350deb387a8aaf25
[ "MIT" ]
null
null
null
tests/test_run_once.py
algobot76/dekit
37a25a570bc029e5d1f74953350deb387a8aaf25
[ "MIT" ]
null
null
null
from dekit import run_once def test_run_once(): @run_once def foo(): return 'foo' result1 = foo() result2 = foo() assert result1 == 'foo' assert result2 is None
15.076923
27
0.596939
26
196
4.346154
0.538462
0.185841
0.176991
0
0
0
0
0
0
0
0
0.029412
0.306122
196
12
28
16.333333
0.801471
0
0
0
0
0
0.030612
0
0
0
0
0
0.222222
1
0.222222
false
0
0.111111
0.111111
0.444444
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
213660874491c1810933139ce12e03ee0f66b0ef
655
py
Python
ft/tests/test_take_while.py
CristianCantoro/shell-functools
e66dfc3c4c6c0fd236645dc79607279cb3a8bdca
[ "MIT" ]
1,065
2017-11-19T19:07:57.000Z
2022-03-30T01:06:37.000Z
ft/tests/test_take_while.py
CristianCantoro/shell-functools
e66dfc3c4c6c0fd236645dc79607279cb3a8bdca
[ "MIT" ]
40
2017-11-26T07:41:55.000Z
2021-11-29T12:41:05.000Z
ft/tests/test_take_while.py
CristianCantoro/shell-functools
e66dfc3c4c6c0fd236645dc79607279cb3a8bdca
[ "MIT" ]
52
2017-11-21T17:30:51.000Z
2022-02-07T13:25:03.000Z
from mock_command import mock_command from ft.commands.take_while import TakeWhile def test_take_while_const_false(): test_take_while = mock_command(TakeWhile) test_take_while.set_input("const", ["false"], ["3", "5"]) test_take_while.assert_output([]) def test_take_while_const_true(): test_take_whil...
31.190476
69
0.705344
98
655
4.285714
0.265306
0.278571
0.371429
0.114286
0.702381
0.602381
0.538095
0.409524
0.409524
0.409524
0
0.024561
0.129771
655
20
70
32.75
0.712281
0
0
0.214286
0
0
0.053435
0
0
0
0
0
0.214286
1
0.214286
false
0
0.142857
0
0.357143
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
2148ac2439625c84a95c74cd9d9cbc9ca8694773
50
py
Python
deeplearning1/nbs/test.py
tomasz-pankowski/courses
91e95ab079040424bbfe570911970f94e2dfea22
[ "Apache-2.0" ]
null
null
null
deeplearning1/nbs/test.py
tomasz-pankowski/courses
91e95ab079040424bbfe570911970f94e2dfea22
[ "Apache-2.0" ]
null
null
null
deeplearning1/nbs/test.py
tomasz-pankowski/courses
91e95ab079040424bbfe570911970f94e2dfea22
[ "Apache-2.0" ]
null
null
null
from vgg16bnCustom import * vgg = Vgg16BNCustom()
16.666667
27
0.78
5
50
7.8
0.8
0
0
0
0
0
0
0
0
0
0
0.093023
0.14
50
2
28
25
0.813953
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
215a8470ba45da5875ebc1599ec8db1e5485c65b
540
py
Python
snipslms/shared/request_object.py
CrystalMethod/snips-lms-skill
dfa879270010d5ece8a144c45c81124b9ad36e23
[ "MIT" ]
10
2018-08-01T08:15:12.000Z
2019-10-09T21:05:50.000Z
snipslms/shared/request_object.py
CrystalMethod/snips-lms-skill
dfa879270010d5ece8a144c45c81124b9ad36e23
[ "MIT" ]
2
2018-08-01T08:06:21.000Z
2019-07-28T14:01:20.000Z
snipslms/shared/request_object.py
CrystalMethod/snips-lms-skill
dfa879270010d5ece8a144c45c81124b9ad36e23
[ "MIT" ]
4
2018-08-01T08:15:15.000Z
2019-08-28T13:17:56.000Z
class InvalidRequestObject(object): def __init__(self): self.errors = list() def __nonzero__(self): return False __bool__ = __nonzero__ def add_error(self, parameter, value): self.errors.append({'parameter': parameter, 'message': value}) def has_errors(self): retu...
20.769231
70
0.657407
56
540
5.785714
0.517857
0.092593
0.08642
0.123457
0
0
0
0
0
0
0
0
0.246296
540
25
71
21.6
0.796069
0
0
0.235294
0
0
0.02963
0
0
0
0
0
0
1
0.352941
false
0
0
0.176471
0.764706
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
dccda1b2055f0e25bbd7a8b501d87afeb2eb24dc
84
py
Python
HelloPython.py
1801Python/Hello-Git
1d3eed350d533f83569950b65e1507c56b504212
[ "Apache-2.0" ]
null
null
null
HelloPython.py
1801Python/Hello-Git
1d3eed350d533f83569950b65e1507c56b504212
[ "Apache-2.0" ]
null
null
null
HelloPython.py
1801Python/Hello-Git
1d3eed350d533f83569950b65e1507c56b504212
[ "Apache-2.0" ]
null
null
null
print('git ni lai a') def hello(): print('git真好玩') a = 10 b = a * 10 print(b)
9.333333
21
0.547619
16
84
2.875
0.625
0.130435
0
0
0
0
0
0
0
0
0
0.064516
0.261905
84
9
22
9.333333
0.677419
0
0
0
0
0
0.211765
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.166667
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
dccf9881e29c5310bf133f1c76d28adf5cbf4001
140
py
Python
app/iris/apps.py
Monxun/DjangoMLDocker
f34ddbc2f504054ed32ed1fb66a0a77c461350dd
[ "MIT" ]
null
null
null
app/iris/apps.py
Monxun/DjangoMLDocker
f34ddbc2f504054ed32ed1fb66a0a77c461350dd
[ "MIT" ]
null
null
null
app/iris/apps.py
Monxun/DjangoMLDocker
f34ddbc2f504054ed32ed1fb66a0a77c461350dd
[ "MIT" ]
null
null
null
from django.apps import AppConfig class IrisConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'iris'
20
56
0.75
17
140
6.058824
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.157143
140
6
57
23.333333
0.872881
0
0
0
0
0
0.235714
0.207143
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
dcf5cb8508f49afeb1ef02fbaf0960d9541a73d3
8,082
py
Python
main/web_apps_examples/map/dbhelper.py
gwynethbradbury/itdb
0664100b00ed8cf7d4565a0b2b90e089ad528733
[ "BSD-3-Clause" ]
null
null
null
main/web_apps_examples/map/dbhelper.py
gwynethbradbury/itdb
0664100b00ed8cf7d4565a0b2b90e089ad528733
[ "BSD-3-Clause" ]
null
null
null
main/web_apps_examples/map/dbhelper.py
gwynethbradbury/itdb
0664100b00ed8cf7d4565a0b2b90e089ad528733
[ "BSD-3-Clause" ]
null
null
null
import pymysql import dbconfig from time import time from datetime import datetime from numpy import genfromtxt import json class DBHelper: def __init__(self, dbname): self.mydatabase = dbname def connect(self, database=""): return pymysql.connect(host='localhost', ...
38.122642
147
0.491463
777
8,082
5.060489
0.136422
0.008138
0.035605
0.039166
0.784079
0.746439
0.744151
0.697609
0.682096
0.646745
0
0.021788
0.398045
8,082
211
148
38.303318
0.786434
0.043182
0
0.7
0
0.015789
0.113731
0.042098
0
0
0
0
0
1
0.052632
false
0.021053
0.031579
0.005263
0.131579
0.042105
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0d1230e59a43777429894804da628467663eaac3
440
py
Python
app/controllers/authorization_controller.py
AndreiBarbuOz/uibank-api-server
4a07c2773507ac61fb1c56bf44df4819e6a0015d
[ "MIT" ]
null
null
null
app/controllers/authorization_controller.py
AndreiBarbuOz/uibank-api-server
4a07c2773507ac61fb1c56bf44df4819e6a0015d
[ "MIT" ]
10
2020-01-15T07:48:24.000Z
2021-06-02T00:56:24.000Z
app/controllers/authorization_controller.py
AndreiBarbuOz/uibank-api-server
4a07c2773507ac61fb1c56bf44df4819e6a0015d
[ "MIT" ]
null
null
null
from typing import List import jwt import time import os from connexion.apps import flask_app """ controller generated to handled auth operation described at: https://connexion.readthedocs.io/en/latest/security.html """ def check_bearerAuth(token): try: ret = jwt.decode(token, flask_app.flask.current_app.c...
22
103
0.720455
61
440
5.114754
0.737705
0.051282
0
0
0
0
0
0
0
0
0
0.008357
0.184091
440
19
104
23.157895
0.860724
0
0
0
1
0
0.047923
0
0
0
0
0
0
1
0.083333
false
0
0.416667
0
0.583333
0.083333
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
1
0
1
0
0
3
0d2ad1b8f4568cd353dd60599b9b960feaf6bb70
63
py
Python
listimages.py
tmonte007/docker
6a301e3923e9713b1d8a84f73a806e1f3938bacf
[ "MIT" ]
null
null
null
listimages.py
tmonte007/docker
6a301e3923e9713b1d8a84f73a806e1f3938bacf
[ "MIT" ]
null
null
null
listimages.py
tmonte007/docker
6a301e3923e9713b1d8a84f73a806e1f3938bacf
[ "MIT" ]
null
null
null
import docker client = docker.from_env() client.images.list()
12.6
26
0.761905
9
63
5.222222
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.111111
63
4
27
15.75
0.839286
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
b4a8a0c2311db05ed18616426d176ba0c9bbf9ac
1,543
py
Python
day6/solution.py
cls1991/advent-of-code
1f3e0d096f65bdd466479031289c57920a890f51
[ "Apache-2.0" ]
19
2017-12-22T07:11:41.000Z
2018-11-29T15:59:52.000Z
day6/solution.py
cls1991/advent-of-code
1f3e0d096f65bdd466479031289c57920a890f51
[ "Apache-2.0" ]
null
null
null
day6/solution.py
cls1991/advent-of-code
1f3e0d096f65bdd466479031289c57920a890f51
[ "Apache-2.0" ]
3
2018-01-18T09:55:18.000Z
2018-04-16T09:30:01.000Z
# coding: utf8 def memory_reallocation_v1(s): """memory reallocation.""" cycles = 0 banks = s[:] ll = len(banks) seen = [] uk = ''.join(list(map(str, banks))) while uk not in seen: seen.append(uk) key_chosen = banks.index(max(banks)) value_chosen = banks[key_chosen...
23.738462
81
0.537913
199
1,543
3.98995
0.276382
0.15869
0.105793
0.065491
0.740554
0.740554
0.68262
0.68262
0.68262
0.68262
0
0.024015
0.32534
1,543
64
82
24.109375
0.738713
0.035645
0
0.711111
0
0
0.055556
0
0
0
0
0
0
1
0.044444
false
0
0
0
0.088889
0.044444
0
0
0
null
0
0
0
0
1
0
0
0
1
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
0
0
3
b4b706c826d03960d13c951b0ce270da2ce535fc
860
py
Python
signify/exceptions.py
okrt/signify
daba2be4fc8c9e80920c535cde437e59ccf8be68
[ "Apache-2.0" ]
null
null
null
signify/exceptions.py
okrt/signify
daba2be4fc8c9e80920c535cde437e59ccf8be68
[ "Apache-2.0" ]
null
null
null
signify/exceptions.py
okrt/signify
daba2be4fc8c9e80920c535cde437e59ccf8be68
[ "Apache-2.0" ]
null
null
null
class SignifyError(Exception): """Base class for all errors generated by Signify""" pass class ParseError(SignifyError): pass class SignedPEParseError(ParseError): pass class SignerInfoParseError(ParseError): pass class AuthenticodeParseError(ParseError): """Raised when any exception r...
17.916667
87
0.77907
70
860
9.571429
0.428571
0.134328
0.09403
0.065672
0.202985
0
0
0
0
0
0
0
0.159302
860
47
88
18.297872
0.926694
0.232558
0
0.5
1
0
0
0
0
0
0
0
0
1
0
true
0.5
0
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
1
0
0
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
b4bb501abbb6140f51ec1949b5f7c4938bc8bfdc
2,088
py
Python
1405/house.py
hughxie/class-code
7819633936571e91d9808c3a30f89131443c5ee7
[ "MIT" ]
3
2017-12-12T03:41:29.000Z
2018-04-10T03:01:57.000Z
1405/house.py
hughxie/class-code
7819633936571e91d9808c3a30f89131443c5ee7
[ "MIT" ]
1
2017-11-27T03:10:16.000Z
2017-11-27T03:10:55.000Z
1405/house.py
hughxie/class-code
7819633936571e91d9808c3a30f89131443c5ee7
[ "MIT" ]
null
null
null
#HUGHXIE #A1.1 #HOUSE WITH SimpleGraphics from SimpleGraphics import * #background color set background("sky blue") #house frame setFill("wheat3") rect(250,200,300,300) #door setFill("wheat4") rect(375,420,50,80) #doorknob setFill("black") ellipse(410,460,10,10) #roof setFill("red4") polygon(200,200,600,200,400,5...
18.315789
68
0.710249
465
2,088
3.189247
0.206452
0.226568
0.129467
0.031018
0.071477
0
0
0
0
0
0
0.404212
0.067529
2,088
113
69
18.477876
0.357473
0.090996
0
0.075949
0
0
0.052128
0
0
0
0
0
0
1
0
false
0
0.012658
0
0.012658
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b4c817fb5104cdf8e36db7ae280922bef525b2ff
1,542
py
Python
loam/parts/xilinx/spartan3/mothball/site.py
splhack/loam
10b08bd622b7cfd63eabaec4729f6238e4521b30
[ "MIT" ]
14
2017-10-08T09:16:10.000Z
2021-11-27T19:12:24.000Z
loam/parts/xilinx/spartan3/mothball/site.py
splhack/loam
10b08bd622b7cfd63eabaec4729f6238e4521b30
[ "MIT" ]
7
2018-04-12T21:33:49.000Z
2018-08-21T22:14:20.000Z
loam/parts/xilinx/spartan3/mothball/site.py
splhack/loam
10b08bd622b7cfd63eabaec4729f6238e4521b30
[ "MIT" ]
3
2018-07-24T04:55:02.000Z
2019-12-30T08:12:39.000Z
__all__ = ['make_site'] def make_site(rep): if isinstance(rep, Site): return rep elif rep is None or isinstance(rep, tuple): return GridSite(rep) else: return Site(rep) class Site: def __init__(self, location, placed=True): self.location = location self.place...
22.347826
71
0.552529
197
1,542
4.167513
0.218274
0.085262
0.053593
0.077954
0.129111
0.129111
0.129111
0.129111
0.06821
0
0
0.011685
0.333982
1,542
68
72
22.676471
0.787731
0
0
0.122449
0
0
0.010376
0
0
0
0
0
0
1
0.244898
false
0
0
0.163265
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
b4d7e8b6c5e861aff03754db08d5f6d409687f4e
2,636
py
Python
bound_fix_issues.py
ASinanSaglam/atomizer_analysis
8dfc1230b2ad0c691885f8fd7119d6169cd7d1ed
[ "MIT" ]
null
null
null
bound_fix_issues.py
ASinanSaglam/atomizer_analysis
8dfc1230b2ad0c691885f8fd7119d6169cd7d1ed
[ "MIT" ]
null
null
null
bound_fix_issues.py
ASinanSaglam/atomizer_analysis
8dfc1230b2ad0c691885f8fd7119d6169cd7d1ed
[ "MIT" ]
null
null
null
# # with bound fix # ## WITHOUT ERROR FILTRATION ## # total number of models 910 # copasi runs 593 avoid 317 # supported 593 # translates 585, 98.651%, fails 8 # runnable 543, 92.821%, fails 42 # success 543, 100.000%, fails 0 # exact count: 369 (68.0%), high vr count: 416 (76.6%) # # without bound fix # ## WITHOUT...
87.866667
772
0.613809
508
2,636
3.181102
0.509843
0.019802
0.014851
0.024752
0.748762
0.72896
0.679455
0.601485
0.571782
0.538366
0
0.590779
0.201821
2,636
29
773
90.896552
0.177281
0.218513
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
371b415c1c88d178c02a1b3bf5e9956725fd9eba
278
py
Python
model/model/pipeline/pipeline_flow.py
Indexical-Metrics-Measure-Advisory/watchmen-model
9754e5ef729dc42946f1ed19534132ec2479e628
[ "MIT" ]
null
null
null
model/model/pipeline/pipeline_flow.py
Indexical-Metrics-Measure-Advisory/watchmen-model
9754e5ef729dc42946f1ed19534132ec2479e628
[ "MIT" ]
null
null
null
model/model/pipeline/pipeline_flow.py
Indexical-Metrics-Measure-Advisory/watchmen-model
9754e5ef729dc42946f1ed19534132ec2479e628
[ "MIT" ]
null
null
null
from typing import List from model.model.common.watchmen_model import WatchmenModel from model.model.pipeline.pipeline import Pipeline class PipelineFlow(WatchmenModel): topicId: str = None consume: List[Pipeline] produce: List[Pipeline] tenantId: str = None
23.166667
59
0.769784
34
278
6.264706
0.5
0.084507
0.131455
0
0
0
0
0
0
0
0
0
0.161871
278
11
60
25.272727
0.914163
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.375
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
3724849b619ca9428b2db8deb0df33b9c83ce635
2,525
py
Python
care/life/migrations/0006_auto_20210429_0158.py
anroopak/care
250589f0aa783997bb81f3d2fc30bd19573b434f
[ "MIT" ]
null
null
null
care/life/migrations/0006_auto_20210429_0158.py
anroopak/care
250589f0aa783997bb81f3d2fc30bd19573b434f
[ "MIT" ]
null
null
null
care/life/migrations/0006_auto_20210429_0158.py
anroopak/care
250589f0aa783997bb81f3d2fc30bd19573b434f
[ "MIT" ]
null
null
null
# Generated by Django 2.2.11 on 2021-04-28 20:28 import django.contrib.postgres.fields.jsonb from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('life', '0005_job_name'), ] operations = [ migrations.RemoveFie...
26.861702
96
0.52198
206
2,525
6.23301
0.296117
0.133178
0.251558
0.310748
0.675234
0.580997
0.221184
0
0
0
0
0.013716
0.364752
2,525
93
97
27.150538
0.786783
0.018218
0
0.632184
1
0
0.1413
0
0
0
0
0
0
1
0
false
0
0.034483
0
0.068966
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
372c6bed0df3c1d546477a2c144e897add476c17
260
py
Python
reconner/__init__.py
kabirkhan/spacy-data-debug
5df124d5520d5eb9bbdcd45943e325e07ed2aed2
[ "MIT" ]
null
null
null
reconner/__init__.py
kabirkhan/spacy-data-debug
5df124d5520d5eb9bbdcd45943e325e07ed2aed2
[ "MIT" ]
null
null
null
reconner/__init__.py
kabirkhan/spacy-data-debug
5df124d5520d5eb9bbdcd45943e325e07ed2aed2
[ "MIT" ]
null
null
null
"""ReconNER, Debug annotated Named Entity Recognition (NER) data for inconsitencies and get insights on improving the quality of your data.""" __version__ = "0.1.0" from .dataset import * from .insights import * from .stats import * from .validation import *
32.5
142
0.757692
36
260
5.361111
0.75
0.15544
0
0
0
0
0
0
0
0
0
0.013636
0.153846
260
8
143
32.5
0.863636
0.523077
0
0
0
0
0.042017
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
2e9619cfc096442b045d67d84101fb93102c8625
272
py
Python
MATRIX/GILTI/admin.py
explosion33/Financial
8df907df038edd56e73d471683ad1459eb4a9b81
[ "Apache-2.0" ]
null
null
null
MATRIX/GILTI/admin.py
explosion33/Financial
8df907df038edd56e73d471683ad1459eb4a9b81
[ "Apache-2.0" ]
null
null
null
MATRIX/GILTI/admin.py
explosion33/Financial
8df907df038edd56e73d471683ad1459eb4a9b81
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from django.db.models import Model import inspect from . import models # Register your models here. for name, obj in inspect.getmembers(models): if inspect.isclass(obj) and issubclass(obj, Model): admin.site.register(obj)
20.923077
55
0.746324
39
272
5.205128
0.564103
0.098522
0
0
0
0
0
0
0
0
0
0
0.172794
272
13
56
20.923077
0.902222
0.095588
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.571429
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
2e97f3213bb98d7346b14ee55eb542d7d3be3bba
626
py
Python
CybORG/CybORG/Agents/BaseAgent.py
rafvasq/cage-challenge-1
95affdfa38afc1124f1a1a09c92fbc0ed5b96318
[ "MIT" ]
18
2021-08-20T15:07:55.000Z
2022-03-11T12:05:15.000Z
CybORG/CybORG/Agents/BaseAgent.py
rafvasq/cage-challenge-1
95affdfa38afc1124f1a1a09c92fbc0ed5b96318
[ "MIT" ]
7
2021-11-09T06:46:58.000Z
2022-03-31T12:35:06.000Z
CybORG/CybORG/Agents/BaseAgent.py
rafvasq/cage-challenge-1
95affdfa38afc1124f1a1a09c92fbc0ed5b96318
[ "MIT" ]
13
2021-08-17T00:26:31.000Z
2022-03-29T20:06:45.000Z
from CybORG.Shared import Results class BaseAgent: def train(self, results: Results): """allows an agent to learn a policy""" raise NotImplementedError def get_action(self, observation, action_space): """gets an action from the agent that should be performed based on the agent's inter...
32.947368
146
0.710863
77
626
5.701299
0.558442
0.218679
0.18451
0.068337
0
0
0
0
0
0
0
0
0.226837
626
18
147
34.777778
0.907025
0.337061
0
0.4
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.1
0
0.6
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
2ea87c4a52b2c98c9315073201c9f48892ac9f00
1,677
py
Python
zeppos_file_manager/file.py
changrunner/zeppos_file_manager
41fe17a2d4a1dcc5c314bfad10a6ecbfbb46b8ea
[ "Apache-2.0" ]
null
null
null
zeppos_file_manager/file.py
changrunner/zeppos_file_manager
41fe17a2d4a1dcc5c314bfad10a6ecbfbb46b8ea
[ "Apache-2.0" ]
null
null
null
zeppos_file_manager/file.py
changrunner/zeppos_file_manager
41fe17a2d4a1dcc5c314bfad10a6ecbfbb46b8ea
[ "Apache-2.0" ]
null
null
null
from os import path from zeppos_file_manager.file_marker import FileMarker from zeppos_file_manager.file_information import FileInformation from zeppos_file_manager.file_action import FileAction from os import path class File: def __init__(self, full_file_name): self._full_file_name = full_file_name @...
32.25
108
0.71616
232
1,677
4.698276
0.232759
0.146789
0.176147
0.176147
0.597248
0.43578
0.218349
0
0
0
0
0.002278
0.214669
1,677
51
109
32.882353
0.825361
0
0
0.179487
0
0
0.010137
0
0
0
0
0
0
1
0.307692
false
0
0.128205
0.282051
0.74359
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
2ef6c38db9e322b3c906b46b77711cade346a533
14,993
py
Python
app/api/v1/model/model.py
bmugenya/Rafiki
c34fad36a703a2e64883338caaf955e1d6ac7634
[ "MIT" ]
2
2019-09-29T09:34:44.000Z
2019-12-18T17:33:56.000Z
app/api/v1/model/model.py
bmugenya/Rafiki
c34fad36a703a2e64883338caaf955e1d6ac7634
[ "MIT" ]
1
2021-06-01T23:52:36.000Z
2021-06-01T23:52:36.000Z
app/api/v1/model/model.py
bmugenya/Rafiki
c34fad36a703a2e64883338caaf955e1d6ac7634
[ "MIT" ]
3
2019-06-13T17:57:36.000Z
2021-04-25T06:20:00.000Z
from ....db_con import database_setup import calendar import datetime class Model(): def __init__(self): self.database = database_setup() self.cursor = self.database.cursor def share(self,email,story): approved = False post = { "email": email, "story...
31.300626
296
0.577403
1,854
14,993
4.584142
0.070658
0.081186
0.074009
0.077656
0.768326
0.734557
0.708083
0.677021
0.669255
0.652547
0
0.007387
0.304742
14,993
478
297
31.366109
0.807943
0.021677
0
0.543478
0
0.065217
0.39625
0.127242
0
0
0
0
0
1
0.099379
false
0
0.009317
0
0.223602
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2ef8412b4f7a5b51a5224c8a620c072ac2f4aecf
17,059
py
Python
tests/functional/gtcs/test_dsql_domain_03.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
tests/functional/gtcs/test_dsql_domain_03.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
tests/functional/gtcs/test_dsql_domain_03.py
reevespaul/firebird-qa
98f16f425aa9ab8ee63b86172f959d63a2d76f21
[ "MIT" ]
null
null
null
#coding:utf-8 # # id: functional.gtcs.dsql_domain_03 # title: GTCS/tests/DSQL_DOMAIN_03. Test the level 0 syntax for SQL "CREATE DOMAIN" statement using datatype and NOT NULL constraint. # decription: # Original test see in: # https://github.com/FirebirdSQL/fbtcs...
41.305085
164
0.392579
1,683
17,059
3.650624
0.130719
0.139648
0.084635
0.099609
0.668783
0.576823
0.554688
0.546224
0.533366
0.533366
0
0.063101
0.573598
17,059
412
165
41.40534
0.781551
0.063603
0
0.720317
0
0.002639
0.967463
0.010093
0
0
0
0
0.002639
1
0.002639
false
0
0.005277
0
0.007916
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2c1e36c125153bbcecfc9baa62577f05380dad8e
134
py
Python
hello_nlp/solr/executor.py
danicc097/hello-nlp
c60ee0db7af382ee7d72ca5d7bb1f7e3153cbb5c
[ "MIT" ]
77
2020-10-01T15:34:27.000Z
2022-03-04T18:38:41.000Z
hello_nlp/solr/executor.py
danicc097/hello-nlp
c60ee0db7af382ee7d72ca5d7bb1f7e3153cbb5c
[ "MIT" ]
8
2020-10-02T12:14:50.000Z
2020-12-27T08:51:41.000Z
hello_nlp/solr/executor.py
danicc097/hello-nlp
c60ee0db7af382ee7d72ca5d7bb1f7e3153cbb5c
[ "MIT" ]
12
2020-10-01T18:45:40.000Z
2022-03-15T05:56:58.000Z
import httpx async def passthrough(uri): async with httpx.AsyncClient() as client: r = await client.get(uri) return r
22.333333
45
0.679104
19
134
4.789474
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.238806
134
6
46
22.333333
0.892157
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.2
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
1
0
0
0
0
0
3
2c26789a839116b57f315c236df50c3c2896b6d3
558
py
Python
config/env.py
fjlic/IoT-Hotspot-Flask
e2d07e747273b2a9bd620ed3f4f3eea90f7e76a9
[ "MIT" ]
null
null
null
config/env.py
fjlic/IoT-Hotspot-Flask
e2d07e747273b2a9bd620ed3f4f3eea90f7e76a9
[ "MIT" ]
null
null
null
config/env.py
fjlic/IoT-Hotspot-Flask
e2d07e747273b2a9bd620ed3f4f3eea90f7e76a9
[ "MIT" ]
null
null
null
import os from os import environ CSRF_ENABLED = environ.get('CSRF_ENABLED', 'True') CSRF_SESSION_KEY = environ.get('CSRF_SESSION_KEY', os.urandom(32)) SQLALCHEMY_TRACK_MODIFICATIONS = environ.get('SQLALCHEMY_TRACK_MODIFICATIONS', 'False') DB_DRIVER = environ.get('DB_DRIVER', 'mysql+pymysql') DB_USER = environ.get('DB...
37.2
87
0.752688
82
558
4.829268
0.378049
0.252525
0.212121
0
0
0
0
0
0
0
0
0.015686
0.086022
558
14
88
39.857143
0.760784
0
0
0
0
0
0.292115
0.053763
0
0
0
0
0
1
0
false
0.083333
0.166667
0
0.166667
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
2c2fe720eae0078b2dc1f05619409bbc4d51b707
346
py
Python
HARK/policy.py
HsinYiHung/HARK_HY
086c46af5bd037fe1ced6906c6ea917ed58b134f
[ "Apache-2.0" ]
null
null
null
HARK/policy.py
HsinYiHung/HARK_HY
086c46af5bd037fe1ced6906c6ea917ed58b134f
[ "Apache-2.0" ]
null
null
null
HARK/policy.py
HsinYiHung/HARK_HY
086c46af5bd037fe1ced6906c6ea917ed58b134f
[ "Apache-2.0" ]
null
null
null
from core import HARKobject class Solution(HARKobject): ''' A superclass for representing the "solution" to a single period problem in a dynamic microeconomic model. NOTE: This can be deprecated now that HARKobject exists, but this requires replacing each instance of Solution with HARKobject in t...
28.833333
80
0.742775
46
346
5.586957
0.782609
0
0
0
0
0
0
0
0
0
0
0
0.213873
346
11
81
31.454545
0.944853
0.736994
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
257c4d143b6fc7b7758e7dc69d5f57e7549397eb
361
py
Python
py/specex/__init__.py
tskisner/specex
c5ae74a85305395cdd3cb4a3ac966bef4eacd8b2
[ "BSD-3-Clause" ]
null
null
null
py/specex/__init__.py
tskisner/specex
c5ae74a85305395cdd3cb4a3ac966bef4eacd8b2
[ "BSD-3-Clause" ]
39
2016-06-17T19:58:17.000Z
2022-01-07T00:11:25.000Z
py/specex/__init__.py
tskisner/specex
c5ae74a85305395cdd3cb4a3ac966bef4eacd8b2
[ "BSD-3-Clause" ]
4
2016-06-16T17:43:38.000Z
2021-07-18T16:32:34.000Z
# # See top-level LICENSE.rst file for Copyright information # # -*- coding: utf-8 -*- """ specex ============== Tools for psf fitting with specex .. _specex: https://github.com/desihub/specex .. _DESI: http://desi.lbl.gov .. _Python: http://python.org """ from __future__ import absolute_import, division, print_func...
18.05
64
0.695291
46
361
5.152174
0.76087
0
0
0
0
0
0
0
0
0
0
0.003205
0.135734
361
19
65
19
0.75641
0.67313
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
1
0
3
258cadee1c6ba7ee7fef224ed4e464688a7ca27e
436
py
Python
Python/leetcode/ValidAnagram.py
darrencheng0817/AlgorithmLearning
aec1ddd0c51b619c1bae1e05f940d9ed587aa82f
[ "MIT" ]
2
2015-12-02T06:44:01.000Z
2016-05-04T21:40:54.000Z
Python/leetcode/ValidAnagram.py
darrencheng0817/AlgorithmLearning
aec1ddd0c51b619c1bae1e05f940d9ed587aa82f
[ "MIT" ]
null
null
null
Python/leetcode/ValidAnagram.py
darrencheng0817/AlgorithmLearning
aec1ddd0c51b619c1bae1e05f940d9ed587aa82f
[ "MIT" ]
null
null
null
''' Created on 1.12.2016 @author: Darren '''''' Given two strings s and t, write a function to determine if t is an anagram of s. For example, s = "anagram", t = "nagaram", return true. s = "rat", t = "car", return false. Note: You may assume the string contains only lowercase alphabets. ...
22.947368
97
0.65367
67
436
4.253731
0.820896
0
0
0
0
0
0
0
0
0
0
0.021341
0.247706
436
18
98
24.222222
0.847561
0.922018
0
0.2
0
0
0.981233
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
25eb450ca5e4ee7fd697fffab6cf0abb27de18c9
4,324
py
Python
app/pms/settings.py
nathan-williams/rvstc-admin
de9cdecee5beb3e9b778b24612ef8b41d142812a
[ "MIT" ]
null
null
null
app/pms/settings.py
nathan-williams/rvstc-admin
de9cdecee5beb3e9b778b24612ef8b41d142812a
[ "MIT" ]
10
2017-07-11T04:36:55.000Z
2017-07-14T16:20:50.000Z
app/pms/settings.py
nathan-williams/rvstc-admin
de9cdecee5beb3e9b778b24612ef8b41d142812a
[ "MIT" ]
null
null
null
""" Django settings for pms project. Generated by 'django-admin startproject' using Django 1.11.3. For more information on this file, see https://docs.djangoproject.com/en/1.11/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.11/ref/settings/ """ import os # ...
26.527607
91
0.703747
490
4,324
6.081633
0.359184
0.069799
0.051678
0.058725
0.213423
0.191275
0.091946
0.091946
0.041275
0
0
0.008854
0.1642
4,324
162
92
26.691358
0.815717
0.304117
0
0.021978
1
0
0.508395
0.413029
0
0
0
0
0
1
0
false
0.054945
0.010989
0
0.010989
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
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
25ef216441f9ad326216e6e85e76b84be075e5e6
9,844
py
Python
etl/parsers/etw/Microsoft_Windows_DistributedCOM.py
IMULMUL/etl-parser
76b7c046866ce0469cd129ee3f7bb3799b34e271
[ "Apache-2.0" ]
104
2020-03-04T14:31:31.000Z
2022-03-28T02:59:36.000Z
etl/parsers/etw/Microsoft_Windows_DistributedCOM.py
IMULMUL/etl-parser
76b7c046866ce0469cd129ee3f7bb3799b34e271
[ "Apache-2.0" ]
7
2020-04-20T09:18:39.000Z
2022-03-19T17:06:19.000Z
etl/parsers/etw/Microsoft_Windows_DistributedCOM.py
IMULMUL/etl-parser
76b7c046866ce0469cd129ee3f7bb3799b34e271
[ "Apache-2.0" ]
16
2020-03-05T18:55:59.000Z
2022-03-01T10:19:28.000Z
# -*- coding: utf-8 -*- """ Microsoft-Windows-DistributedCOM GUID : 1b562e86-b7aa-4131-badc-b6f3a001407e """ from construct import Int8sl, Int8ul, Int16ul, Int16sl, Int32sl, Int32ul, Int64sl, Int64ul, Bytes, Double, Float32l, Struct from etl.utils import WString, CString, SystemTime, Guid from etl.dtyp import Sid from ...
28.533333
123
0.653698
1,065
9,844
5.875117
0.09108
0.0895
0.167812
0.111875
0.891482
0.891482
0.648394
0.648394
0.648394
0.648394
0
0.158031
0.215766
9,844
344
124
28.616279
0.652461
0.010057
0
0.577778
0
0
0.209121
0.125719
0
0
0
0
0
1
0
false
0
0.014815
0
0.266667
0
0
0
0
null
0
0
0
1
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d31d3eb5c39b0fc195e60c8d8e7da5a26c815bc7
103
py
Python
agro_site/cart/forms.py
Mortjke/agro_site
c517979220f805b1c4527bbf40575b45acad4758
[ "MIT" ]
null
null
null
agro_site/cart/forms.py
Mortjke/agro_site
c517979220f805b1c4527bbf40575b45acad4758
[ "MIT" ]
null
null
null
agro_site/cart/forms.py
Mortjke/agro_site
c517979220f805b1c4527bbf40575b45acad4758
[ "MIT" ]
2
2022-03-11T19:05:36.000Z
2022-03-11T19:07:14.000Z
from django import forms class CartAddProductFrom(forms.Form): Количество = forms.IntegerField()
17.166667
37
0.776699
11
103
7.272727
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.145631
103
5
38
20.6
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d329b0cfffba9b4f16d875d0bd44c708abc9fb76
644
py
Python
pygenius/exceptions.py
fxrcha/PyGenius
3d1192584c21e374067808c4e9a6b0bf61bc2043
[ "MIT" ]
1
2022-02-18T11:56:47.000Z
2022-02-18T11:56:47.000Z
pygenius/exceptions.py
fxrcha/PyGenius
3d1192584c21e374067808c4e9a6b0bf61bc2043
[ "MIT" ]
null
null
null
pygenius/exceptions.py
fxrcha/PyGenius
3d1192584c21e374067808c4e9a6b0bf61bc2043
[ "MIT" ]
null
null
null
class HTTPException(Exception): """ Exception which happens when HTTP status code is not 200 (OK). """ def __init__(self, code, url) -> None: self.error = f"While requesting to {url}, request returned status {code}." def __str__(self) -> str: return self.error class GeniusExcepti...
28
109
0.638199
83
644
4.759036
0.409639
0.091139
0.116456
0.151899
0.627848
0.455696
0.455696
0.313924
0.141772
0
0
0.012346
0.245342
644
22
110
29.272727
0.800412
0.209627
0
0.4
0
0.1
0.299163
0
0
0
0
0
0
1
0.4
false
0
0
0.2
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d3412cc9f357395bdd3a4a8e97a3a4550b09d56b
129
py
Python
Exercicios20/ex111/__init__.py
luisgnc/Python-Exercises
94979abb3ca1515145bde54ecd2f784e5d903219
[ "MIT" ]
null
null
null
Exercicios20/ex111/__init__.py
luisgnc/Python-Exercises
94979abb3ca1515145bde54ecd2f784e5d903219
[ "MIT" ]
null
null
null
Exercicios20/ex111/__init__.py
luisgnc/Python-Exercises
94979abb3ca1515145bde54ecd2f784e5d903219
[ "MIT" ]
null
null
null
from utilidadescev import dado, moeda preco = dado.leiadinheiro(input('Digite o preço: R$ ')) moeda.resumo(preco, 80, 35, True)
25.8
55
0.736434
19
129
5
0.842105
0
0
0
0
0
0
0
0
0
0
0.035714
0.131783
129
4
56
32.25
0.8125
0
0
0
0
0
0.147287
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d343c9955e242df98bc3444136c376c9a85168b3
772
py
Python
databutler/datana/generic/corpus/code_changes/utils/astutils.py
rbavishi/databutler
222263672dae8b519d0592a6bbe68a01dc4ce95d
[ "BSD-2-Clause" ]
null
null
null
databutler/datana/generic/corpus/code_changes/utils/astutils.py
rbavishi/databutler
222263672dae8b519d0592a6bbe68a01dc4ce95d
[ "BSD-2-Clause" ]
1
2022-02-11T06:19:45.000Z
2022-02-11T06:19:45.000Z
databutler/datana/generic/corpus/code_changes/utils/astutils.py
rbavishi/databutler
222263672dae8b519d0592a6bbe68a01dc4ce95d
[ "BSD-2-Clause" ]
null
null
null
import ast from typing import Set, Optional, Collection from databutler.pat import astlib class _NodeRemovalTransformer(ast.NodeTransformer): def __init__(self, to_remove: Collection[ast.AST]): self._to_remove: Set[ast.AST] = set(to_remove) def visit(self, node: ast.AST) -> Optional[ast.AST]: ...
32.166667
116
0.737047
108
772
4.972222
0.277778
0.100559
0.067039
0.078212
0.089385
0
0
0
0
0
0
0
0.165803
772
23
117
33.565217
0.833851
0
0
0
0
0
0
0
0
0
0
0
0
1
0.266667
false
0
0.2
0.133333
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d3466ae01b03d208ccdf65003409439d909a2d95
377
py
Python
tests/config.py
threecgreen/TexSoup
2b32cf5ff09cfa75e81272e86983d35ea7139823
[ "BSD-2-Clause" ]
null
null
null
tests/config.py
threecgreen/TexSoup
2b32cf5ff09cfa75e81272e86983d35ea7139823
[ "BSD-2-Clause" ]
null
null
null
tests/config.py
threecgreen/TexSoup
2b32cf5ff09cfa75e81272e86983d35ea7139823
[ "BSD-2-Clause" ]
null
null
null
from TexSoup import TexSoup import os import pytest def seed(path): """Filepath relative to test directory""" return os.path.join(os.path.split(os.path.realpath(__file__))[0], path) ############ # FIXTURES # ############ @pytest.fixture(scope='function') def chikin(): """Instance of the chikin tex file...
19.842105
75
0.65252
49
377
4.938776
0.612245
0.07438
0
0
0
0
0
0
0
0
0
0.003106
0.145889
377
18
76
20.944444
0.748447
0.204244
0
0
0
0
0.098859
0
0
0
0
0
0
1
0.25
false
0
0.375
0
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
d34cfa84878dbe8939e81d6af4ed6b30f322dd91
545
py
Python
wharf_management/wharf_management/doctype/yard_export/yard_export.py
staumoepeau/pms
67aa43fb27f75482275b50dff17f5919e6c394b1
[ "MIT" ]
1
2021-02-19T11:45:24.000Z
2021-02-19T11:45:24.000Z
wharf_management/wharf_management/doctype/yard_export/yard_export.py
staumoepeau/pms
67aa43fb27f75482275b50dff17f5919e6c394b1
[ "MIT" ]
1
2021-08-12T08:29:50.000Z
2021-08-17T06:12:02.000Z
wharf_management/wharf_management/doctype/yard_export/yard_export.py
staumoepeau/pms
67aa43fb27f75482275b50dff17f5919e6c394b1
[ "MIT" ]
4
2020-07-22T20:30:00.000Z
2021-08-07T12:36:01.000Z
# -*- coding: utf-8 -*- # Copyright (c) 2017, Sione Taumoepeau and contributors # For license information, please see license.txt from __future__ import unicode_literals import frappe from frappe.model.document import Document class YardExport(Document): def on_submit(self): self.update_export_status() def up...
36.333333
196
0.759633
77
545
5.168831
0.623377
0.060302
0.090452
0
0
0
0
0
0
0
0
0.010417
0.119266
545
14
197
38.928571
0.81875
0.225688
0
0
0
0.125
0.251196
0
0
0
0
0
0
1
0.25
false
0
0.375
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
d3529b71ce5dceae1509de91d4fd79e32d58bfc3
78
py
Python
linkedin_matrix/web/__init__.py
sumnerevans/mautrix-linkedin
4d9b3feb8b6d7b7cba534cfaef93582814586958
[ "Apache-2.0" ]
9
2021-06-10T11:22:37.000Z
2021-07-14T14:31:35.000Z
linkedin_matrix/web/__init__.py
sumnerevans/linkedin-matrix
4d9b3feb8b6d7b7cba534cfaef93582814586958
[ "Apache-2.0" ]
55
2021-06-04T03:04:53.000Z
2021-07-13T03:01:15.000Z
linkedin_matrix/web/__init__.py
sumnerevans/mautrix-linkedin
4d9b3feb8b6d7b7cba534cfaef93582814586958
[ "Apache-2.0" ]
null
null
null
from .provisioning_api import ProvisioningAPI __all__ = ("ProvisioningAPI",)
19.5
45
0.807692
7
78
8.285714
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.102564
78
3
46
26
0.828571
0
0
0
0
0
0.192308
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d35399c434cc9a970dc91296b2b076897bbbdcdd
740
py
Python
moodle/enrol/manual/enrolment.py
Hardikris/moodlepy
8f5cb0cb4c2297e10f48396de681f6bb250f7751
[ "MIT" ]
null
null
null
moodle/enrol/manual/enrolment.py
Hardikris/moodlepy
8f5cb0cb4c2297e10f48396de681f6bb250f7751
[ "MIT" ]
null
null
null
moodle/enrol/manual/enrolment.py
Hardikris/moodlepy
8f5cb0cb4c2297e10f48396de681f6bb250f7751
[ "MIT" ]
null
null
null
from moodle.attr import dataclass from datetime import datetime from typing import Optional, Union @dataclass class Enrolment: """Enrolment Args: roleid (int): Role to assign to the user userid (int): The user that is going to be enrolled courseid (int): The course to enrol the user r...
29.6
86
0.685135
96
740
5.28125
0.395833
0.128205
0.16568
0.189349
0.351085
0.193294
0.193294
0.193294
0
0
0
0.001767
0.235135
740
24
87
30.833333
0.893993
0.539189
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.272727
0
0.909091
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
1
0
0
3
d35734a9da8b86de005eff024e4b0061aae800c3
232
py
Python
examples/class_ordering.py
klauer/apischema
0da9b96b74dabe8704e2dcfca4502aed98500799
[ "MIT" ]
null
null
null
examples/class_ordering.py
klauer/apischema
0da9b96b74dabe8704e2dcfca4502aed98500799
[ "MIT" ]
null
null
null
examples/class_ordering.py
klauer/apischema
0da9b96b74dabe8704e2dcfca4502aed98500799
[ "MIT" ]
null
null
null
import json from dataclasses import dataclass from apischema import order, serialize @order(["baz", "bar"]) @dataclass class Foo: bar: int baz: int assert json.dumps(serialize(Foo, Foo(0, 0))) == '{"baz": 0, "bar": 0}'
15.466667
70
0.659483
33
232
4.636364
0.484848
0
0
0
0
0
0
0
0
0
0
0.021053
0.181034
232
14
71
16.571429
0.784211
0
0
0
0
0
0.112069
0
0
0
0
0
0.111111
1
0
true
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
d35f7914191e564164faf101ebfaded131c6d772
1,295
py
Python
gork/structs.py
gkmngrgn/gork
7b2bf2dc8e2404010fbe0908000fefb07d86af05
[ "MIT" ]
2
2019-11-24T14:34:29.000Z
2020-11-05T19:56:50.000Z
gork/structs.py
gkmngrgn/gork
7b2bf2dc8e2404010fbe0908000fefb07d86af05
[ "MIT" ]
null
null
null
gork/structs.py
gkmngrgn/gork
7b2bf2dc8e2404010fbe0908000fefb07d86af05
[ "MIT" ]
1
2021-04-01T12:41:27.000Z
2021-04-01T12:41:27.000Z
from __future__ import annotations import typing import numpy as np ImageType = np.ndarray RGBType = typing.Tuple[int, int, int] PositionType = typing.Tuple[int, int] class RGB: def __init__(self, red: int, green: int, blue: int) -> None: self.red = red self.green = green self.blue = bl...
26.428571
96
0.622394
191
1,295
4.041885
0.287958
0.063472
0.062176
0.066062
0.266839
0.215026
0
0
0
0
0
0.006141
0.24556
1,295
48
97
26.979167
0.784033
0.067181
0
0.16129
0
0
0.059564
0
0
0
0
0
0
1
0.258065
false
0
0.096774
0.193548
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
1
1
0
0
3
d36bbbd6ac22dba396d93f79828840f484d06c39
1,597
py
Python
rpw/ui/forms/resources.py
gtalarico/revitpythonwrapper
50d96adf31f164ec8eb2f04e4bbc13f7a1c64d42
[ "MIT" ]
105
2016-11-16T02:29:49.000Z
2021-11-29T15:07:05.000Z
rpw/ui/forms/resources.py
gtalarico/revitpythonwrapper
50d96adf31f164ec8eb2f04e4bbc13f7a1c64d42
[ "MIT" ]
43
2016-12-02T15:18:21.000Z
2020-10-20T01:03:36.000Z
rpw/ui/forms/resources.py
gtalarico/revitpythonwrapper
50d96adf31f164ec8eb2f04e4bbc13f7a1c64d42
[ "MIT" ]
41
2016-12-16T22:11:23.000Z
2022-02-03T17:43:24.000Z
""" Consolidate all imports and resources for other forms based classes to use. """ # import sys from abc import ABCMeta from rpw import revit from rpw.utils.dotnet import clr from rpw.utils.logger import logger # WPF/Form Imports clr.AddReference("PresentationFramework") # System.Windows: Controls...
32.591837
111
0.728867
212
1,597
5.490566
0.462264
0.100515
0.073024
0.079038
0.020619
0.020619
0
0
0
0
0
0.019985
0.185348
1,597
48
112
33.270833
0.874712
0.351284
0
0
0
0.041667
0.164241
0.061331
0
0
0
0
0
1
0
true
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
d36d46e64605b7c898c3c8c05a2b767325228143
951
py
Python
hique/database.py
iksteen/hique
f001693e7e6e8b58763e183db9b379bce0cf4916
[ "MIT" ]
null
null
null
hique/database.py
iksteen/hique
f001693e7e6e8b58763e183db9b379bce0cf4916
[ "MIT" ]
null
null
null
hique/database.py
iksteen/hique
f001693e7e6e8b58763e183db9b379bce0cf4916
[ "MIT" ]
null
null
null
from __future__ import annotations import abc from typing import Any, List, Mapping from hique.builder import QueryBuilder class Database(metaclass=abc.ABCMeta): @property @abc.abstractmethod def query_builder(self) -> QueryBuilder: ... @abc.abstractmethod async def init(self, *args: An...
20.673913
79
0.634069
100
951
5.98
0.33
0.227425
0.257525
0.292642
0.244147
0.147157
0.147157
0
0
0
0
0
0.243954
951
45
80
21.133333
0.831711
0
0
0.5
0
0
0
0
0
0
0
0
0
1
0.03125
false
0
0.125
0
0.25
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d372884489207381cb14ff58fcc76599a492d1f0
362
py
Python
pervoje_polugodie/lesson5.py
epolish/python-lessons
f4dd154412d036dc0d348ab181597bbe5d7a8122
[ "MIT" ]
null
null
null
pervoje_polugodie/lesson5.py
epolish/python-lessons
f4dd154412d036dc0d348ab181597bbe5d7a8122
[ "MIT" ]
null
null
null
pervoje_polugodie/lesson5.py
epolish/python-lessons
f4dd154412d036dc0d348ab181597bbe5d7a8122
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- a = 1 b = 2 c = 3 d = 1 e = 100000000 # большие числа можно задавать в читаемом формате e = 100_000_000 # больше print(a > b) # меньше print(a < b) # равно print(a == d) # не равно print(a != b) # больше либо равно print(a >= b) # меньше либо равно print(a <= b) # составное выражение pr...
10.969697
49
0.61326
62
362
3.548387
0.516129
0.190909
0.190909
0.163636
0.145455
0
0
0
0
0
0
0.083636
0.240331
362
33
50
10.969697
0.716364
0.48895
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.538462
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
d3834974d9e59e82de349ad76b34ac3097cc8c37
55
py
Python
All Codes/URI_1001.py
Habibu-R-ahman/URI-Online-Judge-Solutions
62aa23f4bfcf9ea2a1054451c6380ed827816b3c
[ "MIT" ]
12
2020-03-05T15:18:25.000Z
2022-01-29T18:38:25.000Z
All Codes/URI_1001.py
Habibu-R-ahman/URI-Online-Judge-Solutions
62aa23f4bfcf9ea2a1054451c6380ed827816b3c
[ "MIT" ]
null
null
null
All Codes/URI_1001.py
Habibu-R-ahman/URI-Online-Judge-Solutions
62aa23f4bfcf9ea2a1054451c6380ed827816b3c
[ "MIT" ]
19
2020-01-08T18:04:28.000Z
2021-08-18T12:27:41.000Z
x = int(input()) y = int(input()) print(f"X = {x + y}")
18.333333
21
0.490909
11
55
2.454545
0.545455
0.592593
0
0
0
0
0
0
0
0
0
0
0.181818
55
3
21
18.333333
0.6
0
0
0
0
0
0.196429
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3