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
fd99313871f2e48c595de32edc4c4d61cc3d37a1
105
py
Python
settings/ChopY_settings.py
bopopescu/Lauecollect
60ae2b05ea8596ba0decf426e37aeaca0bc8b6be
[ "MIT" ]
null
null
null
settings/ChopY_settings.py
bopopescu/Lauecollect
60ae2b05ea8596ba0decf426e37aeaca0bc8b6be
[ "MIT" ]
1
2019-10-22T21:28:31.000Z
2019-10-22T21:39:12.000Z
settings/ChopY_settings.py
bopopescu/Lauecollect
60ae2b05ea8596ba0decf426e37aeaca0bc8b6be
[ "MIT" ]
2
2019-06-06T15:06:46.000Z
2020-07-20T02:03:22.000Z
EPICS_enabled = True description = 'High-speed chopper Y' prefix = '14IDB:m2' target = 30.808999999999997
26.25
36
0.771429
14
105
5.714286
1
0
0
0
0
0
0
0
0
0
0
0.217391
0.12381
105
4
37
26.25
0.652174
0
0
0
0
0
0.264151
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
fd9cfbb1e4a2f0935cfc4b830447dd130fd8adce
85
py
Python
uuid_shortener/__init__.py
El-Sam/uuid_shortener
9da34805bc0e840ee31df1a61788f3494a37a972
[ "MIT" ]
5
2019-02-15T10:28:32.000Z
2021-10-13T20:47:42.000Z
uuid_shortener/__init__.py
El-Sam/uuid_shortener
9da34805bc0e840ee31df1a61788f3494a37a972
[ "MIT" ]
null
null
null
uuid_shortener/__init__.py
El-Sam/uuid_shortener
9da34805bc0e840ee31df1a61788f3494a37a972
[ "MIT" ]
1
2020-10-12T12:36:52.000Z
2020-10-12T12:36:52.000Z
from .shortener import UuidShortener, ShortUuidGenerator __name__ = 'uuid_shortener'
28.333333
56
0.847059
8
85
8.375
0.875
0
0
0
0
0
0
0
0
0
0
0
0.094118
85
2
57
42.5
0.87013
0
0
0
0
0
0.164706
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
fddb5f4eb94c1f738b79c78d6273ead881185336
51
py
Python
apps/bloguser/__init__.py
dryprojects/MyBlog
ec04ba2bc658e96cddeb1d4766047ca8e89ff656
[ "BSD-3-Clause" ]
2
2021-08-17T13:29:21.000Z
2021-09-04T05:00:01.000Z
apps/bloguser/__init__.py
dryprojects/MyBlog
ec04ba2bc658e96cddeb1d4766047ca8e89ff656
[ "BSD-3-Clause" ]
1
2020-07-16T11:22:32.000Z
2020-07-16T11:22:32.000Z
apps/bloguser/__init__.py
dryprojects/MyBlog
ec04ba2bc658e96cddeb1d4766047ca8e89ff656
[ "BSD-3-Clause" ]
1
2020-09-18T10:41:59.000Z
2020-09-18T10:41:59.000Z
default_app_config = 'bloguser.apps.BloguserConfig'
51
51
0.862745
6
51
7
1
0
0
0
0
0
0
0
0
0
0
0
0.039216
51
1
51
51
0.857143
0
0
0
0
0
0.538462
0.538462
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
fde79aa4d2041959bb798a150a046a91d37f703a
214
py
Python
py/AK/uconfig.py
mabotech/mabo.io
7f646db9d5ee3cd0b137866bf8eaf295890f134c
[ "MIT" ]
null
null
null
py/AK/uconfig.py
mabotech/mabo.io
7f646db9d5ee3cd0b137866bf8eaf295890f134c
[ "MIT" ]
null
null
null
py/AK/uconfig.py
mabotech/mabo.io
7f646db9d5ee3cd0b137866bf8eaf295890f134c
[ "MIT" ]
1
2021-01-30T01:47:01.000Z
2021-01-30T01:47:01.000Z
""" get config """ import toml def get_config(conf_file): """ get config """ with open(conf_file,"r") as fileh: config = toml.loads(fileh.read()) return config
13.375
41
0.518692
25
214
4.32
0.6
0.25
0
0
0
0
0
0
0
0
0
0
0.350467
214
16
42
13.375
0.776978
0.102804
0
0
0
0
0.00565
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
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
0
0
1
0
0
3
fde8f256270b94476041beb992f03508ee3a393e
1,734
py
Python
demo/usage_pcwpf_driver.py
RockFeng0/rock4automation
a29270ab9fa4cdc79f6453971b7c7a21f01442b0
[ "MIT" ]
5
2018-09-25T05:49:49.000Z
2021-12-30T11:06:09.000Z
demo/usage_pcwpf_driver.py
RockFeng0/rock4automation
a29270ab9fa4cdc79f6453971b7c7a21f01442b0
[ "MIT" ]
3
2018-04-01T04:27:21.000Z
2019-01-03T11:02:33.000Z
demo/usage_pcwpf_driver.py
RockFeng0/rock4automation
a29270ab9fa4cdc79f6453971b7c7a21f01442b0
[ "MIT" ]
7
2018-09-25T05:49:51.000Z
2021-12-30T11:06:11.000Z
# -*- encoding: utf-8 -*- ''' Current module: demo.usage_pcwpf_driver Rough version history: v1.0 Original version to use ******************************************************************** @AUTHOR: Administrator-Bruce Luo(罗科峰) MAIL: lkf20031988@163.com RCS: demo.usage_pcwpf_driver,...
34.68
82
0.601499
210
1,734
4.919048
0.542857
0.135528
0.188771
0.111326
0.186834
0.116167
0.116167
0.116167
0.116167
0.116167
0
0.042654
0.148212
1,734
50
83
34.68
0.656737
0.178201
0
0.190476
0
0
0.318501
0.071429
0
0
0
0
0
0
null
null
0
0.095238
null
null
0.666667
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
3
e311e2c565ebd9034b95b9edafd41d6f01a9f69f
146
py
Python
scripts/test/temp.py
Lannister-Xiaolin/xl_tensorflow
99e0f458769ee1e45ebf55c789961e40f7d2eeac
[ "Apache-2.0" ]
null
null
null
scripts/test/temp.py
Lannister-Xiaolin/xl_tensorflow
99e0f458769ee1e45ebf55c789961e40f7d2eeac
[ "Apache-2.0" ]
1
2020-11-13T18:52:23.000Z
2020-11-13T18:52:23.000Z
scripts/test/temp.py
Lannister-Xiaolin/xl_tensorflow
99e0f458769ee1e45ebf55c789961e40f7d2eeac
[ "Apache-2.0" ]
null
null
null
#!usr/bin/env python3 # -*- coding: UTF-8 -*- from xl_tensorflow.layers.conv import * layer = Base64ImageProcessLayer() print(layer.get_config())
24.333333
39
0.732877
19
146
5.526316
0.947368
0
0
0
0
0
0
0
0
0
0
0.030534
0.10274
146
6
40
24.333333
0.770992
0.287671
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
e33d28b8f51f72ab7ce75235d70fe47d11a45cd8
660
py
Python
XSTAF/tools/report_generator/csv/csv_generator.py
xcgspring/XSTAF
68a5bec4312173f931b9024e851cefaf778e3bfd
[ "Apache-2.0" ]
2
2016-03-21T01:02:57.000Z
2018-03-16T02:25:04.000Z
XSTAF/tools/report_generator/csv/csv_generator.py
xcgspring/XSTAF
68a5bec4312173f931b9024e851cefaf778e3bfd
[ "Apache-2.0" ]
null
null
null
XSTAF/tools/report_generator/csv/csv_generator.py
xcgspring/XSTAF
68a5bec4312173f931b9024e851cefaf778e3bfd
[ "Apache-2.0" ]
null
null
null
import os import shutil class CSVGenerator(object): def __init__(self, data): self.data = data def generate(self, output_report_location): if os.path.isdir(output_report_location): shutil.rmtree(output_report_location) os.makedirs(output_report_location) ...
36.666667
96
0.64697
82
660
4.963415
0.47561
0.206388
0.2457
0.093366
0
0
0
0
0
0
0
0
0.254545
660
17
97
38.823529
0.827236
0
0
0
1
0
0.022727
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.357143
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e3675798c380678f1c01a11a375b7042af2f78f8
279
py
Python
papo_example_script.py
TheMartn/papo
80347d2428fc0ee3fbcb21c9b876206fa64497e2
[ "MIT" ]
3
2021-07-30T07:02:28.000Z
2022-03-16T11:41:09.000Z
papo_example_script.py
TheMartn/papo
80347d2428fc0ee3fbcb21c9b876206fa64497e2
[ "MIT" ]
null
null
null
papo_example_script.py
TheMartn/papo
80347d2428fc0ee3fbcb21c9b876206fa64497e2
[ "MIT" ]
null
null
null
import papo with open('sample_text.txt', 'r') as papo_in: sample_text = papo_in.read() papo_out = papo.load(papo_in) print(f'----- SAMPLE TEXT -----\n\n{sample_text}\n\n-----------------------') print(f'------ PAPO TEXT ------\n\n{papo_out}\n\n-----------------------')
34.875
77
0.516129
42
279
3.238095
0.380952
0.294118
0.132353
0.176471
0
0
0
0
0
0
0
0
0.107527
279
8
78
34.875
0.546185
0
0
0
0
0
0.525
0.342857
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.333333
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e377357863f267d9c8c61c11586c14bddbcfbccd
1,698
py
Python
src/pyscaffold/extensions/cirrus.py
Bing1012/3
3c3c057d8647f30c380a98d0455b048a40fcf6e0
[ "0BSD" ]
1,040
2018-09-27T17:37:01.000Z
2022-03-30T05:43:36.000Z
src/pyscaffold/extensions/cirrus.py
Bing1012/3
3c3c057d8647f30c380a98d0455b048a40fcf6e0
[ "0BSD" ]
288
2018-09-28T10:14:55.000Z
2022-03-30T15:54:58.000Z
src/pyscaffold/extensions/cirrus.py
Bing1012/3
3c3c057d8647f30c380a98d0455b048a40fcf6e0
[ "0BSD" ]
118
2018-09-28T15:45:28.000Z
2022-03-16T13:16:49.000Z
"""Extension that generates configuration for Cirrus CI.""" from argparse import ArgumentParser from typing import List from .. import structure from ..actions import Action, ActionParams, ScaffoldOpts, Structure from ..operations import no_overwrite from ..templates import get_template from . import Extension, includ...
33.96
86
0.707892
196
1,698
6.040816
0.418367
0.015203
0.018581
0.04223
0.057432
0
0
0
0
0
0
0.000722
0.184335
1,698
49
87
34.653061
0.854152
0.356302
0
0
1
0
0.032353
0
0
0
0
0
0
1
0.181818
false
0
0.363636
0
0.772727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
8b65c216fcda7cc1d78b8438020f3b653c5592a0
1,416
py
Python
main.py
Usamaiqbal789/Flask
b0a3c0be63fb88cfe020e116b37d73261c7bcab1
[ "MIT" ]
null
null
null
main.py
Usamaiqbal789/Flask
b0a3c0be63fb88cfe020e116b37d73261c7bcab1
[ "MIT" ]
null
null
null
main.py
Usamaiqbal789/Flask
b0a3c0be63fb88cfe020e116b37d73261c7bcab1
[ "MIT" ]
1
2021-10-14T19:14:09.000Z
2021-10-14T19:14:09.000Z
from flask import Flask from models import db from views.home import home from views.about import about from views.courses import courses, courses_view from views.events import events from views.teachers import teachers, teachers_view from views.blog import blog from views.contact import contact from admin.admin import...
34.536585
111
0.797316
190
1,416
5.721053
0.305263
0.141674
0.25759
0.049678
0.174793
0.119595
0.119595
0.119595
0.119595
0.119595
0
0.031348
0.09887
1,416
40
112
35.4
0.820533
0.132062
0
0
0
0
0.155102
0.13551
0
0
0
0
0
1
0
false
0
0.323529
0
0.323529
0.411765
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
1
0
3
8b7e36c81e7f81040293a22aacf92fdffd2caa03
363
py
Python
PythonTeste/aula013.py
lucasohara98/Python_CursoemVideo
e5266abaf67ef3e27fe8928458b3860feb0ed46d
[ "MIT" ]
null
null
null
PythonTeste/aula013.py
lucasohara98/Python_CursoemVideo
e5266abaf67ef3e27fe8928458b3860feb0ed46d
[ "MIT" ]
null
null
null
PythonTeste/aula013.py
lucasohara98/Python_CursoemVideo
e5266abaf67ef3e27fe8928458b3860feb0ed46d
[ "MIT" ]
null
null
null
for c in range(0, 6): print('oi') for b in range (0, 6): print(b) print('fim') for b in range (6, 0, -1): print(b) print('fim') n= int(input('Digite um numero: ')) for c in range(0, n): print(c) print('fim') i = int(input('Inicio: ')) f = int(input('fim: ')) p = int(input('passos: ')...
18.15
36
0.517906
67
363
2.80597
0.328358
0.18617
0.095745
0.175532
0.234043
0
0
0
0
0
0
0.033582
0.261708
363
20
37
18.15
0.66791
0
0
0.411765
0
0
0.144928
0
0
0
0
0
0
1
0
false
0.058824
0
0
0
0.470588
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
1
0
3
8b8f32e4276b44940e80c16ee7b013240b1e0839
382
py
Python
number_to_lcd.py
jbevan4/number-to-lcd-kata
872a40805a5c31455512274f6d521ff6df5db9c8
[ "MIT" ]
null
null
null
number_to_lcd.py
jbevan4/number-to-lcd-kata
872a40805a5c31455512274f6d521ff6df5db9c8
[ "MIT" ]
null
null
null
number_to_lcd.py
jbevan4/number-to-lcd-kata
872a40805a5c31455512274f6d521ff6df5db9c8
[ "MIT" ]
null
null
null
from constants import dictionary_of_display_formats def number_to_lcd_representation(number): return [dictionary_of_display_formats.get(number_to_look_up) for number_to_look_up in map(int, str(number))] def print_number_from_representation(list_representation_of_number): for representation in zip(*list_repr...
34.727273
112
0.824607
53
382
5.490566
0.471698
0.082474
0.130584
0.178694
0
0
0
0
0
0
0
0
0.104712
382
10
113
38.2
0.850877
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.666667
0.333333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
8ba66e7bba89ea33aaef96d0fb5811f0e91d1b1e
436
py
Python
EvaMap/Dimensions/Connectability.py
benjimor/EvaMap
42e616abe9f15925b885797d30496e30615989a0
[ "MIT" ]
1
2021-01-29T18:53:26.000Z
2021-01-29T18:53:26.000Z
EvaMap/Dimensions/Connectability.py
benjimor/EvaMap
42e616abe9f15925b885797d30496e30615989a0
[ "MIT" ]
1
2021-06-06T17:56:00.000Z
2021-06-06T17:56:00.000Z
EvaMap/Dimensions/Connectability.py
benjimor/EvaMap
42e616abe9f15925b885797d30496e30615989a0
[ "MIT" ]
null
null
null
from EvaMap.Dimensions.Dimension import Dimension from EvaMap.Metrics.sameAs import sameAs from EvaMap.Metrics.externalURIs import externalURIs from EvaMap.Metrics.externalLink import externalLink from EvaMap.Metrics.localLinks import localLinks class Connectability(Dimension) : def __init__(self, nom='Connectab...
36.333333
108
0.816514
49
436
7.061224
0.367347
0.144509
0.196532
0
0
0
0
0
0
0
0
0
0.107798
436
11
109
39.636364
0.88946
0
0
0
0
0
0.03211
0
0
0
0
0
0
1
0.125
false
0
0.625
0
0.875
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
8bcba15431c881c14a5d7d0ddea03e17d50332af
549
py
Python
app/config_reader.py
lynulx/get_anime_bot
542aae5001487576dc8d7bc54c9a2f38e3fee98f
[ "MIT" ]
null
null
null
app/config_reader.py
lynulx/get_anime_bot
542aae5001487576dc8d7bc54c9a2f38e3fee98f
[ "MIT" ]
null
null
null
app/config_reader.py
lynulx/get_anime_bot
542aae5001487576dc8d7bc54c9a2f38e3fee98f
[ "MIT" ]
null
null
null
from dataclasses import dataclass from os import getenv @dataclass class Bot: token: str @dataclass class Database: host: str port: int db: int password: str @dataclass class Config: bot: Bot database: Database def load_config() -> Config: return Config( bot=Bot( ...
15.25
39
0.559199
59
549
5.169492
0.338983
0.137705
0.111475
0
0
0
0
0
0
0
0
0
0.333333
549
35
40
15.685714
0.833333
0
0
0.111111
0
0
0.04918
0
0
0
0
0
0
1
0.037037
true
0.074074
0.074074
0.037037
0.518519
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
3
8bdb536953d1db784f3ced0ca024bbf286a6f889
4,416
py
Python
solutions/11-largest-product-in-grid.py
whitegreyblack/euler
bd8e7ca444eeb51b3c923f1235906054c507ecc8
[ "MIT" ]
null
null
null
solutions/11-largest-product-in-grid.py
whitegreyblack/euler
bd8e7ca444eeb51b3c923f1235906054c507ecc8
[ "MIT" ]
null
null
null
solutions/11-largest-product-in-grid.py
whitegreyblack/euler
bd8e7ca444eeb51b3c923f1235906054c507ecc8
[ "MIT" ]
null
null
null
# problem 11 # largest problem in grid """ In the 20×20 grid below, four numbers along a diagonal line have been marked in red. The product of these numbers is 26 × 63 × 78 × 14 = 1788696. What is the greatest product of four adjacent numbers in the same direction (up, down, left, right, or diagonally) in the 20×20 gri...
32.711111
133
0.510417
781
4,416
2.880922
0.236876
0.010667
0.037333
0.045333
0.366222
0.363111
0.348444
0.344
0.277333
0.277333
0
0.327982
0.407609
4,416
135
134
32.711111
0.530199
0.099864
0
0.540541
0
0
0.312152
0
0
1
0
0
0
1
0
false
0.054054
0.009009
0
0.009009
0.009009
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
1
0
0
0
0
0
3
8bdd160c9aa91ec48c1780f1b2bd80a17d2f9db9
186
py
Python
Curso-em-video/Python/aulas-python/Desafios/desafio002.py
AlbertoAlfredo/exercicios-cursos
792096ad1f853188adec8fc3e5c629742c8dd7ab
[ "MIT" ]
1
2017-08-27T00:57:20.000Z
2017-08-27T00:57:20.000Z
Curso-em-video/Python/aulas-python/Desafios/desafio002.py
AlbertoAlfredo/exercicios-cursos
792096ad1f853188adec8fc3e5c629742c8dd7ab
[ "MIT" ]
2
2020-09-09T04:22:06.000Z
2020-12-24T16:25:36.000Z
Curso-em-video/Python/aulas-python/Desafios/desafio002.py
AlbertoAlfredo/exercicios-cursos
792096ad1f853188adec8fc3e5c629742c8dd7ab
[ "MIT" ]
null
null
null
dia=input("Digite seu dia de nascimento: ") mes=input("Digite seu mês de nascimento: ") ano=input("Digite seu ano de nascimento: ") print("Você nasceu no dia", dia, "de", mes, "de", ano)
46.5
54
0.693548
31
186
4.16129
0.419355
0.255814
0.325581
0
0
0
0
0
0
0
0
0
0.139785
186
4
54
46.5
0.80625
0
0
0
0
0
0.59893
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
474c2ecf7fd811db7cda9eeefefd0bc35b0b330b
4,365
py
Python
issabel/models.py
Kgermando/es-script
f1b10ecf2c805e8875a025e7033c724e236f6cd1
[ "Apache-2.0" ]
null
null
null
issabel/models.py
Kgermando/es-script
f1b10ecf2c805e8875a025e7033c724e236f6cd1
[ "Apache-2.0" ]
null
null
null
issabel/models.py
Kgermando/es-script
f1b10ecf2c805e8875a025e7033c724e236f6cd1
[ "Apache-2.0" ]
null
null
null
from django.db import models from datetime import datetime, timedelta # Create your models here. class Cdr(models.Model): calldate = models.DateTimeField() clid = models.CharField(max_length=80, null=False, blank=True) src = models.CharField(max_length=80, null=False, blank=Tr...
56.688312
133
0.693471
572
4,365
5.174825
0.194056
0.124662
0.218919
0.291892
0.671622
0.649662
0.618581
0.618581
0.588851
0.454392
0
0.023366
0.176403
4,365
76
134
57.434211
0.8
0.010538
0
0.032787
0
0
0.013256
0
0
0
0
0
0
1
0.065574
false
0
0.032787
0.065574
0.95082
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
476e3175d03a44d27ee26b43976d6cc6975a3647
424
py
Python
wallet/airtime/airtime.py
alekaizer/wallet-python
9d0b54c893b37489dae18a2d94135b24d278b564
[ "MIT" ]
1
2021-09-29T12:02:58.000Z
2021-09-29T12:02:58.000Z
wallet/airtime/airtime.py
alekaizer/wallet-python
9d0b54c893b37489dae18a2d94135b24d278b564
[ "MIT" ]
null
null
null
wallet/airtime/airtime.py
alekaizer/wallet-python
9d0b54c893b37489dae18a2d94135b24d278b564
[ "MIT" ]
null
null
null
from wallet.utils.settings import list_providers, buy_airtime class Airtime(): def __init__(self, config): self.__util = config def list_providers(self): return self.__util.post_requests(list_providers, {}) def purchase(self, code, amount, phone_number): data = {'Code': code, 'Am...
30.285714
76
0.695755
52
424
5.307692
0.480769
0.141304
0.101449
0.130435
0.188406
0
0
0
0
0
0
0
0.193396
424
14
77
30.285714
0.807018
0
0
0
0
0
0.049412
0
0
0
0
0
0
1
0.333333
false
0
0.111111
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
1
0
0
0
1
1
0
0
3
4784f20cf0adce0edd600a528e6d9bb0f5966011
622
py
Python
tests/test_feedback.py
k-koech/pitches_flask
4d44082ce807d4778d2ba582020d1a2884a88f3e
[ "MIT" ]
null
null
null
tests/test_feedback.py
k-koech/pitches_flask
4d44082ce807d4778d2ba582020d1a2884a88f3e
[ "MIT" ]
null
null
null
tests/test_feedback.py
k-koech/pitches_flask
4d44082ce807d4778d2ba582020d1a2884a88f3e
[ "MIT" ]
null
null
null
import unittest from app.models import Feedback,User class FeedbackTest(unittest.TestCase): ''' Test Class to test the behaviour of the Feedback class ''' def setUp(self): ''' Set up method that will run before every Test ''' self.user_kelvin = User(username = 'James',pa...
32.736842
155
0.676849
85
622
4.858824
0.647059
0.038741
0.067797
0.11138
0
0
0
0
0
0
0
0.042857
0.212219
622
18
156
34.555556
0.8
0.160772
0
0
0
0
0.164241
0
0
0
0
0
0.125
1
0.25
false
0.125
0.25
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
47a8f99f4f4ffff3f2e7fed9f6173a90996509b6
3,981
py
Python
web_payments_dummy/django_dummy/settings/__init__.py
devkral/web-payments-connector
722e155ff22098e651c3bcf76bfb8fd0a9518252
[ "BSD-2-Clause", "BSD-3-Clause" ]
6
2018-03-09T10:59:45.000Z
2021-08-03T03:22:22.000Z
web_payments_dummy/django_dummy/settings/__init__.py
devkral/web-payments-connector
722e155ff22098e651c3bcf76bfb8fd0a9518252
[ "BSD-2-Clause", "BSD-3-Clause" ]
1
2018-11-05T12:47:13.000Z
2018-11-05T12:47:13.000Z
web_payments_dummy/django_dummy/settings/__init__.py
devkral/web-payments-connector
722e155ff22098e651c3bcf76bfb8fd0a9518252
[ "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
""" Django settings for django_dummy project. Generated by 'django-admin startproject' using Django 2.0.2. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.0/ref/settings/ """ import ...
28.035211
120
0.703341
429
3,981
6.377622
0.393939
0.076023
0.056287
0.063962
0.217836
0.175804
0.118787
0.118787
0.065058
0.021199
0
0.01376
0.160261
3,981
141
121
28.234043
0.804666
0.249184
0
0
1
0
0.541807
0.438638
0
0
0
0
0
1
0
false
0.059524
0.02381
0
0.02381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
47c42b4ec407aa67e588ffa22680ea8f1dbbf340
101
py
Python
tests/__init__.py
htbrandao/fastemplate
239784538e1dd7ea8a6d5105cb9cb27b1d7f53cb
[ "MIT" ]
8
2021-07-28T13:18:02.000Z
2022-02-05T23:10:02.000Z
tests/__init__.py
htbrandao/fastemplate
239784538e1dd7ea8a6d5105cb9cb27b1d7f53cb
[ "MIT" ]
null
null
null
tests/__init__.py
htbrandao/fastemplate
239784538e1dd7ea8a6d5105cb9cb27b1d7f53cb
[ "MIT" ]
null
null
null
from fastapi.testclient import TestClient from fastemplate import app client_app = TestClient(app)
16.833333
41
0.831683
13
101
6.384615
0.538462
0
0
0
0
0
0
0
0
0
0
0
0.128713
101
5
42
20.2
0.943182
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
47c48333a59eb166b6c1ca93aa35e15ddbe50920
15,446
py
Python
tests/bip/bip32/test_bip32_nist256p1.py
MIPPLTeam/bip_utils
c66446e7ac3879d2cf6308c5b8eb7f7705292660
[ "MIT" ]
149
2020-05-15T08:11:43.000Z
2022-03-29T16:34:42.000Z
tests/bip/bip32/test_bip32_nist256p1.py
MIPPLTeam/bip_utils
c66446e7ac3879d2cf6308c5b8eb7f7705292660
[ "MIT" ]
41
2020-04-03T15:57:56.000Z
2022-03-31T08:25:11.000Z
tests/bip/bip32/test_bip32_nist256p1.py
MIPPLTeam/bip_utils
c66446e7ac3879d2cf6308c5b8eb7f7705292660
[ "MIT" ]
55
2020-04-03T17:05:15.000Z
2022-03-24T12:43:42.000Z
# Copyright (c) 2021 Emanuele Bellocchia # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish,...
54.387324
148
0.714489
1,033
15,446
10.463698
0.25847
0.004811
0.005551
0.021649
0.22398
0.170414
0.080674
0.061338
0.061338
0.051531
0
0.233172
0.210346
15,446
283
149
54.579505
0.653029
0.13667
0
0.158654
0
0
0.551472
0.466752
0
0
0
0
0.028846
1
0.057692
false
0
0.024038
0
0.086538
0.067308
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
47dbb3b8f0eccaca443132b14e6b2d188084f052
256
py
Python
exercises/test_01_02_01.py
rly/nwb-python-course
a999f4d21df3157c28e0b6cc017944202a47b6d8
[ "MIT" ]
8
2019-06-07T16:52:38.000Z
2021-11-09T18:27:27.000Z
exercises/test_01_02_01.py
rly/nwb-python-course
a999f4d21df3157c28e0b6cc017944202a47b6d8
[ "MIT" ]
4
2019-05-15T17:59:53.000Z
2019-06-06T21:22:33.000Z
exercises/test_01_02_01.py
rly/nwb-python-course
a999f4d21df3157c28e0b6cc017944202a47b6d8
[ "MIT" ]
1
2020-04-02T00:09:04.000Z
2020-04-02T00:09:04.000Z
def test(): # only check that the code runs and nwbfile.identifier is in the last line of the solution assert "nwbfile.identifier" in __solution__.strip().splitlines()[-1], "Are you printing the session identifier?" __msg__.good("Well done!")
42.666667
116
0.722656
37
256
4.783784
0.783784
0.19209
0
0
0
0
0
0
0
0
0
0.004717
0.171875
256
5
117
51.2
0.830189
0.34375
0
0
0
0
0.409639
0
0
0
0
0
0.333333
1
0.333333
true
0
0
0
0.333333
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
0
0
0
3
47f9afefb3ee021f0e6a57eec47556682d35607d
636
py
Python
python/priority_queue/__init__.py
tbvanderwoude/research-project
1c5cb09a424a0db83f18dae3278ecb7ad6866d2c
[ "Apache-2.0", "MIT" ]
3
2021-08-23T18:00:44.000Z
2022-02-09T06:00:50.000Z
python/priority_queue/__init__.py
tbvanderwoude/research-project
1c5cb09a424a0db83f18dae3278ecb7ad6866d2c
[ "Apache-2.0", "MIT" ]
null
null
null
python/priority_queue/__init__.py
tbvanderwoude/research-project
1c5cb09a424a0db83f18dae3278ecb7ad6866d2c
[ "Apache-2.0", "MIT" ]
1
2021-06-15T11:38:45.000Z
2021-06-15T11:38:45.000Z
from abc import abstractmethod, ABCMeta from typing import TypeVar, Protocol, Generic from python.priority_queue.comparable import Comparable from python.priority_queue.unique_identifier import UniqueIdentifier T = TypeVar('T', bound=Comparable) class PriorityQueue(Generic[T], metaclass=ABCMeta): @abstractmeth...
23.555556
68
0.724843
68
636
6.676471
0.455882
0.14978
0.218062
0.237885
0.162996
0
0
0
0
0
0
0
0.201258
636
26
69
24.461538
0.893701
0
0
0.444444
0
0
0.001572
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
47fc17bd114bd6376fae92979b3e909de4833a58
445
py
Python
back/list/models.py
Leila20/todo-list
ea1520c92f0046303d7a1ee335fb87c9b3825a54
[ "MIT" ]
1
2020-07-23T20:33:20.000Z
2020-07-23T20:33:20.000Z
back/list/models.py
Leila20/todo-list
ea1520c92f0046303d7a1ee335fb87c9b3825a54
[ "MIT" ]
2
2021-03-19T22:02:11.000Z
2021-06-10T20:27:32.000Z
back/list/models.py
Leila20/todo-list
ea1520c92f0046303d7a1ee335fb87c9b3825a54
[ "MIT" ]
null
null
null
from django.db import models class List(models.Model): name = models.CharField(max_length=255) def __str__(self): return self.name class ListItem(models.Model): lst = models.ForeignKey(List, related_name='items') description = models.CharField(max_length=255) done = models.BooleanFiel...
19.347826
55
0.683146
53
445
5.528302
0.54717
0.075085
0.122867
0.163823
0.320819
0
0
0
0
0
0
0.017143
0.213483
445
22
56
20.227273
0.82
0
0
0.153846
0
0
0.035955
0
0
0
0
0
0
1
0.153846
false
0
0.076923
0.153846
0.923077
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
9a05c008acab6c77b50fa0d58a31e369666ded31
287
py
Python
SAN/AC/learning/__init__.py
nhuthai/SAN
f35ab6b48947ad8663b722a13a60c8769357893e
[ "MIT" ]
null
null
null
SAN/AC/learning/__init__.py
nhuthai/SAN
f35ab6b48947ad8663b722a13a60c8769357893e
[ "MIT" ]
null
null
null
SAN/AC/learning/__init__.py
nhuthai/SAN
f35ab6b48947ad8663b722a13a60c8769357893e
[ "MIT" ]
null
null
null
""" SAN.AC.learning ~~~ Trains the voice in the given speech list. Analyze speech files and retrieve the knowledge about this voice. Finally, store the parameters of this voice to parody in the future. :copyright: 2017 by Nhut Hai Huynh. :license: MIT, see LICENSE for more details. """
28.7
68
0.759582
46
287
4.73913
0.782609
0.045872
0
0
0
0
0
0
0
0
0
0.016667
0.163763
287
9
69
31.888889
0.891667
0.968641
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
9a0ee4f352d65b12799b7bc9eb2a3a7e1480fbc3
111
py
Python
Twitter_API_con_Python_e_TWEEPY/twitter_app_credentials.py
pymike00/youtube-scripts
98ebf71a74b7fc9ea710d9d2c49cb191f27073cb
[ "MIT" ]
19
2020-12-30T01:19:55.000Z
2022-03-13T19:12:27.000Z
Twitter_API_con_Python_e_TWEEPY/twitter_app_credentials.py
pymike00/youtube-scripts
98ebf71a74b7fc9ea710d9d2c49cb191f27073cb
[ "MIT" ]
null
null
null
Twitter_API_con_Python_e_TWEEPY/twitter_app_credentials.py
pymike00/youtube-scripts
98ebf71a74b7fc9ea710d9d2c49cb191f27073cb
[ "MIT" ]
14
2020-09-25T19:33:59.000Z
2022-03-07T21:38:21.000Z
# My Twitter App Credentials consumer_key = "" consumer_secret = "" access_token = "" access_token_secret = ""
18.5
28
0.72973
13
111
5.846154
0.692308
0.289474
0
0
0
0
0
0
0
0
0
0
0.153153
111
6
29
18.5
0.808511
0.234234
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
9a1d0e716271dbe58fcefc78c81144a4f231161b
305
py
Python
src/upytester/pyboard/exceptions.py
fragmuffin/upytester
09b213ddcadff27ab72715024a3500a3569640ef
[ "MIT" ]
4
2019-02-04T04:47:20.000Z
2021-12-08T02:37:08.000Z
src/upytester/pyboard/exceptions.py
fragmuffin/upytester
09b213ddcadff27ab72715024a3500a3569640ef
[ "MIT" ]
2
2019-04-22T22:09:24.000Z
2020-09-08T04:46:38.000Z
src/upytester/pyboard/exceptions.py
fragmuffin/upytester
09b213ddcadff27ab72715024a3500a3569640ef
[ "MIT" ]
null
null
null
class ResponseTimeoutException(Exception): """Raised when no 'ok' response is received from the pyboard""" class PyBoardError(Exception): """ Raised in liue of an exception raised on a remote PyBoard See the example ":ref:`examples.basic.remote-exception`" for more details. """
27.727273
69
0.704918
38
305
5.657895
0.763158
0.209302
0
0
0
0
0
0
0
0
0
0
0.196721
305
10
70
30.5
0.877551
0.62623
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
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
9a2f81d45c372b577249566a0bf3054f18692a29
389
py
Python
tests/admin_docs/views.py
fizista/django
16f3a6a4c7bab11644d11c2be029374e5095cb56
[ "BSD-3-Clause" ]
2
2016-07-23T18:08:37.000Z
2016-07-24T09:54:34.000Z
tests/admin_docs/views.py
fizista/django
16f3a6a4c7bab11644d11c2be029374e5095cb56
[ "BSD-3-Clause" ]
null
null
null
tests/admin_docs/views.py
fizista/django
16f3a6a4c7bab11644d11c2be029374e5095cb56
[ "BSD-3-Clause" ]
1
2020-10-01T08:23:34.000Z
2020-10-01T08:23:34.000Z
from django.http import HttpResponse from django.utils.decorators import decorator_from_middleware from django.views.generic import View from django.contrib.admindocs.middleware import XViewMiddleware xview_dec = decorator_from_middleware(XViewMiddleware) def xview(request): return HttpResponse() class XViewCl...
24.3125
63
0.804627
46
389
6.695652
0.521739
0.12987
0.149351
0
0
0
0
0
0
0
0
0
0.131105
389
15
64
25.933333
0.911243
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0.2
0.9
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
9a37434cd38cfe51b1c4906445aa1bb9edccb77e
167
py
Python
Estudos/Desafio035.py
boaventura16/Boaventura16
c8eca113d38d539c0eecdce358799f65787dcb72
[ "MIT" ]
2
2020-11-04T18:07:40.000Z
2020-11-21T03:50:33.000Z
Estudos/Desafio035.py
boaventura16/Boaventura16
c8eca113d38d539c0eecdce358799f65787dcb72
[ "MIT" ]
null
null
null
Estudos/Desafio035.py
boaventura16/Boaventura16
c8eca113d38d539c0eecdce358799f65787dcb72
[ "MIT" ]
null
null
null
def mostrar(nome): tam = len(nome) + 4 print('~'*tam) print(f' {nome}') print('~'*tam) #PRINT ESPECIAL mostrar('Boaventura') mostrar('Maria Laura')
15.181818
23
0.586826
21
167
4.666667
0.571429
0.163265
0.265306
0
0
0
0
0
0
0
0
0.007576
0.209581
167
10
24
16.7
0.734848
0.083832
0
0.285714
0
0
0.203947
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
0.428571
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
0
1
0
3
9a4992ad0a5ef74850cb295f0f10e83157c008f2
1,538
py
Python
procrastinate/contrib/django/utils.py
t-eckert/procrastinate
f831565b00d67afa7a4291d734c8fe85074a360c
[ "MIT" ]
null
null
null
procrastinate/contrib/django/utils.py
t-eckert/procrastinate
f831565b00d67afa7a4291d734c8fe85074a360c
[ "MIT" ]
null
null
null
procrastinate/contrib/django/utils.py
t-eckert/procrastinate
f831565b00d67afa7a4291d734c8fe85074a360c
[ "MIT" ]
null
null
null
import pathlib from typing import Any, Dict, Iterable import importlib_resources from django.db import connections, migrations def get_sql(filename) -> str: return importlib_resources.read_text("procrastinate.sql.migrations", filename) def list_migrations() -> Iterable[pathlib.Path]: return [ p ...
26.982456
84
0.66515
175
1,538
5.72
0.457143
0.047952
0.027972
0
0
0
0
0
0
0
0
0
0.223017
1,538
56
85
27.464286
0.837657
0.226268
0
0
0
0
0.132275
0.074074
0
0
0
0
0
1
0.214286
false
0
0.214286
0.107143
0.678571
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
9a4b8f140560b74319b35c362c46c1e4be03d8fd
533
py
Python
src/tblink_rpc_utils/input_reader.py
tblink-rpc/tblink-rpc-utils
48a731cb8c6201e1975ba18f43737228eb1f7dee
[ "Apache-2.0" ]
null
null
null
src/tblink_rpc_utils/input_reader.py
tblink-rpc/tblink-rpc-utils
48a731cb8c6201e1975ba18f43737228eb1f7dee
[ "Apache-2.0" ]
null
null
null
src/tblink_rpc_utils/input_reader.py
tblink-rpc/tblink-rpc-utils
48a731cb8c6201e1975ba18f43737228eb1f7dee
[ "Apache-2.0" ]
null
null
null
''' Created on Oct 20, 2021 @author: mballance ''' from tblink_rpc_utils.input_spec import InputSpec from tblink_rpc_utils.idl_spec import IDLSpec class InputReader(object): def __init__(self): pass def supports(self, in_spec : InputSpec) -> bool: """Indicates whether this reader sup...
24.227273
88
0.636023
65
533
5.030769
0.646154
0.061162
0.079511
0.110092
0
0
0
0
0
0
0
0.015464
0.272045
533
22
89
24.227273
0.82732
0.183865
0
0.222222
0
0
0.106965
0
0
0
0
0
0
1
0.333333
false
0.222222
0.222222
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
9a66d089fc2c25849280b67578cc7d699611d80a
432
py
Python
backend/api/api.py
papayaer/zeno
38cd3b7c5d9180baa91af6d49fbf77bb98a9ac27
[ "MIT" ]
null
null
null
backend/api/api.py
papayaer/zeno
38cd3b7c5d9180baa91af6d49fbf77bb98a9ac27
[ "MIT" ]
7
2020-03-24T17:56:41.000Z
2022-02-26T21:33:12.000Z
backend/api/api.py
papayaer/zeno
38cd3b7c5d9180baa91af6d49fbf77bb98a9ac27
[ "MIT" ]
null
null
null
""" api.py - provides the API endpoints for consuming and producing REST requests and responses """ from flask import Blueprint api = Blueprint('api', __name__) # @api.route('/hello/<string:name>/') # def say_hello(name): # response = { 'msg': "Hello {}".format(name) } # return jsonify(response) from . im...
25.411765
120
0.703704
52
432
5.75
0.730769
0.080268
0
0
0
0
0
0
0
0
0
0
0.159722
432
16
121
27
0.823691
0.532407
0
0
0
0
0.015707
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0.666667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
1
0
3
9a6eabbf2c45f8b5fdb2f13dcef45b96f2c7d992
22
py
Python
config.example.py
axiref/groupwiki
d89b78c68248eabf9d92d3d0d8ad19e91aec6117
[ "MIT" ]
2
2019-12-05T17:01:03.000Z
2020-04-04T14:35:40.000Z
config.example.py
axiref/groupwiki
d89b78c68248eabf9d92d3d0d8ad19e91aec6117
[ "MIT" ]
null
null
null
config.example.py
axiref/groupwiki
d89b78c68248eabf9d92d3d0d8ad19e91aec6117
[ "MIT" ]
null
null
null
# BOT Token TOKEN = ""
11
11
0.590909
3
22
4.333333
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.227273
22
2
12
11
0.764706
0.409091
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
7bd24451e5c2872bc308e6bc648b4f66b529af58
89
py
Python
src/221A.py
viing937/codeforces
d694eb6967cd56af02963c3a662066048cb78d07
[ "MIT" ]
2
2016-08-19T09:47:03.000Z
2016-10-01T10:15:03.000Z
src/221A.py
viing937/codeforces
d694eb6967cd56af02963c3a662066048cb78d07
[ "MIT" ]
null
null
null
src/221A.py
viing937/codeforces
d694eb6967cd56af02963c3a662066048cb78d07
[ "MIT" ]
1
2015-07-01T23:57:32.000Z
2015-07-01T23:57:32.000Z
# coding: utf-8 n = int(input()) print(' '.join([str(n)]+[str(i) for i in range(1, n)]))
22.25
55
0.550562
18
89
2.722222
0.777778
0
0
0
0
0
0
0
0
0
0
0.026316
0.146067
89
3
56
29.666667
0.618421
0.146067
0
0
0
0
0.013514
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
d02ff4966e4228fa611edfceef630f5493b457cf
356
py
Python
blurr/data/seq2seq/summarization.py
techthiyanes/blurr
85ff4e19b45978f38e14167c08cf68ed815bd3d5
[ "Apache-2.0" ]
218
2020-04-28T03:35:07.000Z
2022-03-30T02:49:56.000Z
blurr/data/seq2seq/summarization.py
techthiyanes/blurr
85ff4e19b45978f38e14167c08cf68ed815bd3d5
[ "Apache-2.0" ]
64
2020-04-29T08:30:47.000Z
2022-03-30T19:11:33.000Z
blurr/data/seq2seq/summarization.py
techthiyanes/blurr
85ff4e19b45978f38e14167c08cf68ed815bd3d5
[ "Apache-2.0" ]
22
2020-04-29T15:26:30.000Z
2022-03-22T06:06:09.000Z
# AUTOGENERATED! DO NOT EDIT! File to edit: nbs/11_data-seq2seq-summarization.ipynb (unless otherwise specified). __all__ = [] # Cell from fastai.data.block import DataBlock from transformers import AutoModelForSeq2SeqLM, logging from ...utils import BLURR from .core import HF_Seq2SeqBlock, HF_Seq2SeqBeforeBatchTran...
29.666667
113
0.817416
44
356
6.409091
0.772727
0
0
0
0
0
0
0
0
0
0
0.018927
0.109551
356
12
114
29.666667
0.870662
0.325843
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
d03607dfb3f7714b197a0b11f448e53afdfcfa11
182
py
Python
2.15 Annotating with Summary Op.py
fatih-iver-2016400264/Machine-Learning-with-TensorFlow---MEAP-Listings
cfaf39ea2d170b494b22d98f63db22ef4b80eb3e
[ "MIT" ]
null
null
null
2.15 Annotating with Summary Op.py
fatih-iver-2016400264/Machine-Learning-with-TensorFlow---MEAP-Listings
cfaf39ea2d170b494b22d98f63db22ef4b80eb3e
[ "MIT" ]
null
null
null
2.15 Annotating with Summary Op.py
fatih-iver-2016400264/Machine-Learning-with-TensorFlow---MEAP-Listings
cfaf39ea2d170b494b22d98f63db22ef4b80eb3e
[ "MIT" ]
null
null
null
img = tf.placeholder(tf.float32, [None, None, None, 3]) cost = tf.reduce_sum(...) my_img_summary = tf.summary.image("img", img) my_cost_summary = tf.summary.scalar("cost", cost)
36.4
56
0.692308
29
182
4.172414
0.448276
0.132231
0.264463
0
0
0
0
0
0
0
0
0.01875
0.120879
182
5
57
36.4
0.7375
0
0
0
0
0
0.039106
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d03fef74bab8850e4d036978c875bb7f34c28b8e
179
py
Python
libsocks/__init__.py
ccssrryy/libsocks
acc92f4a92ee2e07ba40d3d3055d36547b7cd2c0
[ "MIT" ]
1
2019-08-28T20:46:42.000Z
2019-08-28T20:46:42.000Z
libsocks/__init__.py
ccssrryy/libsocks
acc92f4a92ee2e07ba40d3d3055d36547b7cd2c0
[ "MIT" ]
null
null
null
libsocks/__init__.py
ccssrryy/libsocks
acc92f4a92ee2e07ba40d3d3055d36547b7cd2c0
[ "MIT" ]
null
null
null
__version__ = "0.0.2" from .context import BaseContext, Socks5Context, Socks4Context, constants from .helpers.asyncio import async_process from .helpers.sync import sync_process
29.833333
73
0.821229
23
179
6.130435
0.652174
0.156028
0
0
0
0
0
0
0
0
0
0.03125
0.106145
179
5
74
35.8
0.85
0
0
0
0
0
0.027933
0
0
0
0
0
0
1
0
false
0
0.75
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d045139f40ed294eb518a13b8bc705445f764be3
410
py
Python
globalitc/users/admin.py
Ghevondyan04/new_globalitc.am
7afffe58143590987b9e16a9d575bfa49ce3ef08
[ "Apache-2.0" ]
null
null
null
globalitc/users/admin.py
Ghevondyan04/new_globalitc.am
7afffe58143590987b9e16a9d575bfa49ce3ef08
[ "Apache-2.0" ]
null
null
null
globalitc/users/admin.py
Ghevondyan04/new_globalitc.am
7afffe58143590987b9e16a9d575bfa49ce3ef08
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from .models import * admin.site.site_header = 'Global IT admin panel' admin.site.register(User) admin.site.register(Student) admin.site.register(Teacher) admin.site.register(Freelancer) admin.site.register(Guest) admin.site.register(EducationCenter) admin.site.register(Partner) admin....
27.333333
48
0.821951
56
410
6
0.392857
0.294643
0.505952
0
0
0
0
0
0
0
0
0
0.060976
410
14
49
29.285714
0.872727
0
0
0
0
0
0.05122
0
0
0
0
0
0
1
0
true
0
0.153846
0
0.153846
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
d04ee85a2e44e2f1430f21efdca0408988cb2558
109
py
Python
utils/Message.py
nathanielfernandes/Ephemeral-Chat
157d7bce3d00055fea83a6a2a670396f5685045b
[ "MIT" ]
4
2021-07-10T00:11:57.000Z
2021-12-06T01:32:43.000Z
utils/Message.py
nathanielfernandes/Ephemeral-Chat
157d7bce3d00055fea83a6a2a670396f5685045b
[ "MIT" ]
null
null
null
utils/Message.py
nathanielfernandes/Ephemeral-Chat
157d7bce3d00055fea83a6a2a670396f5685045b
[ "MIT" ]
1
2021-12-06T01:45:51.000Z
2021-12-06T01:45:51.000Z
class Message: EVENT = "event" MESSAGE = "message" UPDATE = "update" EPHEMERAL = "ephemeral"
18.166667
27
0.605505
10
109
6.6
0.5
0
0
0
0
0
0
0
0
0
0
0
0.275229
109
5
28
21.8
0.835443
0
0
0
0
0
0.247706
0
0
0
0
0
0
1
0
false
0
0
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
d054882070c460c584b1cc18b4e08136d1d839a7
236
py
Python
dtf/apps.py
siehr/django-testing-framework
7e411227afff1a5463ebc73ae5cb2c537f0d4f69
[ "MIT" ]
null
null
null
dtf/apps.py
siehr/django-testing-framework
7e411227afff1a5463ebc73ae5cb2c537f0d4f69
[ "MIT" ]
70
2021-03-06T14:36:42.000Z
2022-03-30T10:00:54.000Z
dtf/apps.py
siehr/django-testing-framework
7e411227afff1a5463ebc73ae5cb2c537f0d4f69
[ "MIT" ]
1
2022-02-02T14:05:43.000Z
2022-02-02T14:05:43.000Z
from django.apps import AppConfig class DtfConfig(AppConfig): name = 'dtf' verbose_name = 'Django Testing Framework' def ready(self): from .webhooks import connect_webhook_signals connect_webhook_signals()
23.6
53
0.716102
27
236
6.074074
0.703704
0.170732
0.256098
0
0
0
0
0
0
0
0
0
0.216102
236
10
54
23.6
0.886486
0
0
0
0
0
0.113924
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.857143
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
d05d6c0d41a3e8154338af20e7b0f5408bd27ac4
204
py
Python
commands/startup.py
vincentremond/ExplorerShortcuts
cde04ed65176b27fb8e132a288f8c8b63fb7e8af
[ "MIT" ]
null
null
null
commands/startup.py
vincentremond/ExplorerShortcuts
cde04ed65176b27fb8e132a288f8c8b63fb7e8af
[ "MIT" ]
null
null
null
commands/startup.py
vincentremond/ExplorerShortcuts
cde04ed65176b27fb8e132a288f8c8b63fb7e8af
[ "MIT" ]
null
null
null
import os import subprocess appData = os.getenv('APPDATA') startup = os.path.join(appData, 'Microsoft\Windows\Start Menu\Programs\Startup') subprocess.Popen( ['explorer.exe', startup], cwd=startup)
22.666667
80
0.75
26
204
5.884615
0.653846
0
0
0
0
0
0
0
0
0
0
0
0.107843
204
8
81
25.5
0.840659
0
0
0
0
0
0.313725
0.215686
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
d07de602054962be1c8d4b205579e727de97cc28
56
py
Python
Beecrowd/Python/1002Area of a Circle.py
nazmul629/OJ-Problem_Solution
cf5e01ab8cf062441bfe901e12d98cbaa1d727f9
[ "MIT" ]
null
null
null
Beecrowd/Python/1002Area of a Circle.py
nazmul629/OJ-Problem_Solution
cf5e01ab8cf062441bfe901e12d98cbaa1d727f9
[ "MIT" ]
null
null
null
Beecrowd/Python/1002Area of a Circle.py
nazmul629/OJ-Problem_Solution
cf5e01ab8cf062441bfe901e12d98cbaa1d727f9
[ "MIT" ]
null
null
null
r = float(input()) a= 3.14159 *r*r print(f"A={a:.4f}")
14
19
0.535714
13
56
2.307692
0.692308
0
0
0
0
0
0
0
0
0
0
0.145833
0.142857
56
3
20
18.666667
0.479167
0
0
0
0
0
0.160714
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d08db80d78d9a44db086a296ef44ab536b980733
75
py
Python
test/setup_scripts/setup_missing.py
dpla/akara
432f14782152dd19931bdbd8f9fad19b5932426d
[ "Apache-2.0" ]
5
2015-01-30T03:50:37.000Z
2015-09-23T00:46:11.000Z
test/setup_scripts/setup_missing.py
dpla/akara
432f14782152dd19931bdbd8f9fad19b5932426d
[ "Apache-2.0" ]
null
null
null
test/setup_scripts/setup_missing.py
dpla/akara
432f14782152dd19931bdbd8f9fad19b5932426d
[ "Apache-2.0" ]
3
2015-03-09T19:16:56.000Z
2019-09-19T02:41:29.000Z
from akara.dist import setup setup(name="missing", version="1.0", )
12.5
28
0.653333
11
75
4.454545
0.909091
0
0
0
0
0
0
0
0
0
0
0.032787
0.186667
75
5
29
15
0.770492
0
0
0
0
0
0.133333
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
d091d43443991e282771dcaf2df49b283ad34124
61,792
py
Python
likeyoubot_clans_scene.py
dogfooter-master/dogfooter
e1e39375703fe3019af7976f97c44cf2cb7ca0fa
[ "MIT" ]
null
null
null
likeyoubot_clans_scene.py
dogfooter-master/dogfooter
e1e39375703fe3019af7976f97c44cf2cb7ca0fa
[ "MIT" ]
null
null
null
likeyoubot_clans_scene.py
dogfooter-master/dogfooter
e1e39375703fe3019af7976f97c44cf2cb7ca0fa
[ "MIT" ]
null
null
null
import likeyoubot_resource as lybrsc import likeyoubot_message import cv2 import sys import numpy as np from matplotlib import pyplot as plt import pyautogui import operator import random import likeyoubot_game as lybgame import likeyoubot_clans as lybgameclans from likeyoubot_configure import LYBConstant as lybconstan...
32.625132
143
0.721987
9,232
61,792
4.458839
0.049827
0.097901
0.0481
0.056579
0.839909
0.781144
0.730808
0.650811
0.577349
0.521499
0
0.020826
0.163096
61,792
1,893
144
32.642367
0.775167
0.051269
0
0.550703
0
0
0.183591
0.113462
0
0
0
0.000528
0
1
0.034049
false
0.002221
0.010363
0
0.108068
0.009623
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
d09efe8bf7fd8ce152dd8198c29c8b12840176ff
181
py
Python
morpho/log.py
B4rtware/morpho
feed28c433f2c220428f0b2872c57871f526e115
[ "MIT" ]
2
2020-08-25T15:39:12.000Z
2021-11-01T16:43:31.000Z
morpho/log.py
B4rtware/morpho
feed28c433f2c220428f0b2872c57871f526e115
[ "MIT" ]
5
2020-08-30T23:24:20.000Z
2022-02-20T12:47:37.000Z
morpho/log.py
B4rtware/morpho
feed28c433f2c220428f0b2872c57871f526e115
[ "MIT" ]
null
null
null
import logging # setup logger logging.basicConfig( format="[{asctime}] [ {name} ] [ {levelname:<7} ] {message}", datefmt="%d.%m.%Y %H:%M:%S", level=0, style="{", )
18.1
65
0.552486
22
181
4.545455
0.909091
0
0
0
0
0
0
0
0
0
0
0.013793
0.198895
181
9
66
20.111111
0.675862
0.066298
0
0
0
0
0.413174
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
d0aa66002f0f7a6733d3ae6acf2d5176d53a6157
210
py
Python
plugins/lower.py
glombard/python-plugin-experiment
5607f2a8241099a395f8aedfcedd824f7e2fd5f7
[ "Apache-2.0" ]
null
null
null
plugins/lower.py
glombard/python-plugin-experiment
5607f2a8241099a395f8aedfcedd824f7e2fd5f7
[ "Apache-2.0" ]
null
null
null
plugins/lower.py
glombard/python-plugin-experiment
5607f2a8241099a395f8aedfcedd824f7e2fd5f7
[ "Apache-2.0" ]
null
null
null
from app.plugin import Command class LowerCommand(Command): @property def names(self): return ['lower', 'l'] def handle(self, input_obj): return super().handle(input_obj).lower()
19.090909
48
0.642857
26
210
5.115385
0.692308
0.120301
0
0
0
0
0
0
0
0
0
0
0.228571
210
10
49
21
0.820988
0
0
0
0
0
0.028571
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0.285714
0.857143
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
d0ea04afae61519c766a8ee8cb4000cef271c019
5,639
py
Python
sac/iv_sac.py
hbutsuak95/iv_rl
0f72a8f077a238237027ea96b7d1160c35ac9959
[ "MIT" ]
9
2022-01-16T11:27:00.000Z
2022-03-13T14:04:48.000Z
sac/iv_sac.py
hbutsuak95/iv_rl
0f72a8f077a238237027ea96b7d1160c35ac9959
[ "MIT" ]
null
null
null
sac/iv_sac.py
hbutsuak95/iv_rl
0f72a8f077a238237027ea96b7d1160c35ac9959
[ "MIT" ]
null
null
null
from .sac import VarSACTrainer from .ensembleSAC import EnsembleSAC, VarEnsembleSAC from collections import OrderedDict import numpy as np import torch import torch.optim as optim from torch import nn as nn from scipy.optimize import minimize import rlkit.torch.pytorch_util as ptu from rlkit.core.eval_util import c...
28.624365
111
0.605072
690
5,639
4.628986
0.188406
0.030996
0.032561
0.030056
0.708203
0.701628
0.693488
0.672824
0.672824
0.672824
0
0.022365
0.310161
5,639
196
112
28.770408
0.798715
0.027664
0
0.76
0
0
0.004218
0
0
0
0
0
0
1
0.08
false
0
0.073333
0
0.24
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
d0f35a0194142dd7c3caa790f149cd2bc853b0d3
261
py
Python
ExplainToMe/error.py
renandecarlo/ExplainToMe
122fee1b418f4820767505ee5cde08714db691fe
[ "Apache-2.0" ]
438
2015-03-23T08:35:07.000Z
2022-03-31T07:59:26.000Z
ExplainToMe/error.py
renandecarlo/ExplainToMe
122fee1b418f4820767505ee5cde08714db691fe
[ "Apache-2.0" ]
12
2016-08-11T19:37:39.000Z
2018-07-26T20:13:20.000Z
ExplainToMe/error.py
renandecarlo/ExplainToMe
122fee1b418f4820767505ee5cde08714db691fe
[ "Apache-2.0" ]
74
2016-02-05T16:03:39.000Z
2021-12-14T06:04:08.000Z
from flask import render_template, request, current_app, session from flask_wtf.csrf import CSRFError from flask import current_app as app def error_not_found(e): app.logger.error('Not Found: {}'.format(request.url)) return render_template('404.html')
32.625
64
0.777778
40
261
4.9
0.6
0.137755
0.153061
0
0
0
0
0
0
0
0
0.013158
0.126437
261
7
65
37.285714
0.846491
0
0
0
0
0
0.08046
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
d0f45987e95a94d39cb66c1402363f08142b7043
58
py
Python
faktor.py
brimatt16219/Kattis-solutions
feb97957513627568a70cc9a324e4234666f8855
[ "MIT" ]
null
null
null
faktor.py
brimatt16219/Kattis-solutions
feb97957513627568a70cc9a324e4234666f8855
[ "MIT" ]
null
null
null
faktor.py
brimatt16219/Kattis-solutions
feb97957513627568a70cc9a324e4234666f8855
[ "MIT" ]
null
null
null
a, b = map(int, input().split()) b -= 1 print(a * b + 1)
11.6
32
0.482759
12
58
2.333333
0.666667
0.142857
0
0
0
0
0
0
0
0
0
0.045455
0.241379
58
5
33
11.6
0.590909
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
d0f562f479262a9c9c3138c66ba7797383870d6d
1,330
py
Python
lackawanna/datapoint/search_indexes.py
allyjweir/lackawanna
54ce5088a0fb828b056fb2ca2ac2924489fd33f1
[ "BSD-3-Clause" ]
3
2015-11-03T03:07:28.000Z
2016-02-03T00:32:14.000Z
lackawanna/datapoint/search_indexes.py
allyjweir/lackawanna
54ce5088a0fb828b056fb2ca2ac2924489fd33f1
[ "BSD-3-Clause" ]
11
2015-10-20T19:05:34.000Z
2019-05-17T13:47:30.000Z
lackawanna/datapoint/search_indexes.py
allyjweir/lackawanna
54ce5088a0fb828b056fb2ca2ac2924489fd33f1
[ "BSD-3-Clause" ]
null
null
null
import datetime from haystack import indexes from .models import Datapoint, Annotation class DatapointIndex(indexes.SearchIndex, indexes.Indexable): text = indexes.CharField(document=True, use_template=True) owner = indexes.CharField(model_attr='owner') name = indexes.CharField(model_attr='name') file...
35
62
0.726316
159
1,330
5.949686
0.314465
0.186047
0.199789
0.237844
0.4926
0.448203
0.374207
0.374207
0.374207
0.374207
0
0
0.166165
1,330
37
63
35.945946
0.853021
0.094737
0
0.4
0
0
0.051132
0
0
0
0
0
0
1
0.16
false
0
0.12
0.08
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
1908a36cc44ff1eeb5bee395580244650187f24d
273
py
Python
wave/synth/wave/wave/ampl/__init__.py
jedhsu/wave
a05d8f4b0a96722bdc2f5a514646c7a44681982b
[ "Apache-2.0" ]
null
null
null
wave/synth/wave/wave/ampl/__init__.py
jedhsu/wave
a05d8f4b0a96722bdc2f5a514646c7a44681982b
[ "Apache-2.0" ]
null
null
null
wave/synth/wave/wave/ampl/__init__.py
jedhsu/wave
a05d8f4b0a96722bdc2f5a514646c7a44681982b
[ "Apache-2.0" ]
null
null
null
""" energy Energy produces volume. """ from .amplitude import Amplitude from .base import Ampl from .phon import Phon # from .power import Power # Ampl.Amplitude = Amplitude # Ampl.Decibel = Decibel # Ampl.Power = Power # Ampl.Phon = Phon # __all__ = ["Ampl"]
13
32
0.684982
34
273
5.382353
0.352941
0.098361
0
0
0
0
0
0
0
0
0
0
0.205128
273
20
33
13.65
0.843318
0.593407
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
ef8043a123c49fe5d006783a36ca63047853d19a
701
py
Python
platforms/hermes-python/hermes_python/ontology/tts/__init__.py
elbywan/hermes-protocol
da23326f026fbfb8a23413c78383301e523188f3
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
37
2018-12-07T16:32:32.000Z
2021-07-08T17:43:27.000Z
platforms/hermes-python/hermes_python/ontology/tts/__init__.py
elbywan/hermes-protocol
da23326f026fbfb8a23413c78383301e523188f3
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
52
2018-12-28T11:10:05.000Z
2019-11-13T02:01:41.000Z
platforms/hermes-python/hermes_python/ontology/tts/__init__.py
elbywan/hermes-protocol
da23326f026fbfb8a23413c78383301e523188f3
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
34
2019-03-21T21:53:35.000Z
2020-07-31T16:50:43.000Z
from typing import Text, ByteString from hermes_python.ffi.ontology.tts import CRegisterSoundMessage class RegisterSoundMessage(object): def __init__(self, sound_id, wav_sound): # type:(Text, ByteString) -> None self.sound_id = sound_id self.wav_sound = wav_sound def __eq__(self, other...
30.478261
71
0.687589
98
701
4.510204
0.418367
0.126697
0.049774
0.067873
0
0
0
0
0
0
0
0.001828
0.219686
701
22
72
31.863636
0.806216
0.044223
0
0
0
0
0.007496
0
0
0
0
0
0
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
ef90762654c767217061273382f6de1b32833660
57,038
py
Python
src/greenery/greenery/lego_test.py
AdeebNqo/sublimegen
1e25281b2d739c72fa501b67da6b271d0601fa2c
[ "Apache-2.0", "MIT" ]
1
2021-05-24T03:23:13.000Z
2021-05-24T03:23:13.000Z
src/greenery/greenery/lego_test.py
AdeebNqo/sublimegen
1e25281b2d739c72fa501b67da6b271d0601fa2c
[ "Apache-2.0", "MIT" ]
1
2015-04-15T09:02:38.000Z
2015-04-15T09:02:38.000Z
src/greenery/greenery/lego_test.py
AdeebNqo/sublimegen
1e25281b2d739c72fa501b67da6b271d0601fa2c
[ "Apache-2.0", "MIT" ]
null
null
null
# -*- coding: utf-8 -*- if __name__ == "__main__": import os import sys # If you run tests in-place (instead of using py.test), ensure local version is tested! sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) from greenery.lego import * def test_lego(): # "AAZY, BBZY" -> "ZY" ass...
24.292164
140
0.570567
7,689
57,038
4.226557
0.052933
0.300819
0.176811
0.093637
0.764139
0.733153
0.699766
0.656687
0.606899
0.533664
0
0.019004
0.183544
57,038
2,347
141
24.302514
0.678842
0.120727
0
0.730372
0
0.00155
0.057287
0.010704
0
0
0
0
0.223657
1
0.000517
false
0.00155
0.00155
0
0.002066
0
0
0
0
null
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
efca32aa591ec0b77669610b9e1a4fd2684c0834
2,379
py
Python
src/msdss_data_api/defaults.py
rrwen/msdss-data-api
f2f82d1137c46d729fea2651b213b087467496b0
[ "MIT" ]
null
null
null
src/msdss_data_api/defaults.py
rrwen/msdss-data-api
f2f82d1137c46d729fea2651b213b087467496b0
[ "MIT" ]
null
null
null
src/msdss_data_api/defaults.py
rrwen/msdss-data-api
f2f82d1137c46d729fea2651b213b087467496b0
[ "MIT" ]
null
null
null
DEFAULT_METADATA_TABLE = 'data' DEFAULT_USER_TABLE = 'user' DEFAULT_NAME_COLUMN = 'dataset' DEFAULT_UPDATE_COLUMN = 'updated_at' DEFAULT_RESTRICTED_TABLES = [DEFAULT_METADATA_TABLE, DEFAULT_USER_TABLE] DEFAULT_METADATA_COLUMNS = [ dict(name='id', type_='Integer', primary_key=True), dict(name='dataset', type_='S...
27.662791
72
0.605717
229
2,379
5.838428
0.183406
0.275243
0.206432
0.271503
0.60733
0.60733
0.60733
0.60733
0.60733
0.481675
0
0
0.25557
2,379
86
73
27.662791
0.754941
0
0
0.604651
0
0
0.146218
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
efd83cda4056e7bcf6fbc513a598991d75dba1ed
140
py
Python
diversos/reduce.py
lcarlin/guppe
a0ee7b85e8687e8fb8243fbb509119a94bc6460f
[ "Apache-2.0" ]
1
2021-12-18T15:29:24.000Z
2021-12-18T15:29:24.000Z
diversos/reduce.py
lcarlin/guppe
a0ee7b85e8687e8fb8243fbb509119a94bc6460f
[ "Apache-2.0" ]
null
null
null
diversos/reduce.py
lcarlin/guppe
a0ee7b85e8687e8fb8243fbb509119a94bc6460f
[ "Apache-2.0" ]
3
2021-08-23T22:45:20.000Z
2022-02-17T13:17:09.000Z
from functools import reduce def somar (x, y ): return x + y lista = [1,3,5,7,9 , 11, 13 ] soma = reduce (somar , lista) print(soma)
17.5
30
0.614286
25
140
3.44
0.76
0.046512
0
0
0
0
0
0
0
0
0
0.084906
0.242857
140
8
31
17.5
0.726415
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
0.5
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
efff3f53e8d357de81d4b4641159cdb32d462240
310
py
Python
EstruturaSequencial/exercicio12.py
EugenioAntunes/lista-de-exercicios
4f19d30b502da064171d7d148b4e235e253fe992
[ "MIT" ]
null
null
null
EstruturaSequencial/exercicio12.py
EugenioAntunes/lista-de-exercicios
4f19d30b502da064171d7d148b4e235e253fe992
[ "MIT" ]
null
null
null
EstruturaSequencial/exercicio12.py
EugenioAntunes/lista-de-exercicios
4f19d30b502da064171d7d148b4e235e253fe992
[ "MIT" ]
null
null
null
''' 12.Tendo como dados de entrada a altura de uma pessoa, construa um algoritmo que calcule seu peso ideal, usando a seguinte fórmula: (72.7*altura) - 58 ''' altura = float(input('Informe sua altura: ')) def peso_ideal(altura): return (72.7 * altura) - 58 print('Seu peso ideal é ', peso_ideal(altura))
34.444444
151
0.706452
50
310
4.34
0.64
0.165899
0.110599
0.101382
0
0
0
0
0
0
0
0.046693
0.170968
310
9
152
34.444444
0.797665
0.483871
0
0
0
0
0.243421
0
0
0
0
0
0
1
0.25
false
0
0
0.25
0.5
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
4bc746433acb2f863cbe346e7f6a6b8b8f3556a3
703
py
Python
access/migrations/0004_auto_20191114_1641.py
melisajuma/access-trial
23d26829b1a072e44fd309667ba90d794584dabc
[ "MIT" ]
null
null
null
access/migrations/0004_auto_20191114_1641.py
melisajuma/access-trial
23d26829b1a072e44fd309667ba90d794584dabc
[ "MIT" ]
11
2020-06-06T00:32:34.000Z
2022-02-10T08:47:35.000Z
access/migrations/0004_auto_20191114_1641.py
melisajuma/access-trial
23d26829b1a072e44fd309667ba90d794584dabc
[ "MIT" ]
null
null
null
# Generated by Django 2.2.6 on 2019-11-14 13:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('access', '0003_scoremodel'), ] operations = [ migrations.AlterField( model_name='interestmodel', name='email', ...
24.241379
67
0.560455
65
703
5.969231
0.615385
0.154639
0.193299
0.224227
0.221649
0.221649
0
0
0
0
0
0.050314
0.321479
703
28
68
25.107143
0.763103
0.064011
0
0.363636
1
0
0.11128
0
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
4bc93143937a1c25335e63d4e8efb4375e060669
955
py
Python
stellar/native/functions/localdefs.py
Zero-1729/rocket
f718e7c4a2604964413a445f9296830ea4d15495
[ "MIT" ]
3
2020-04-04T04:39:15.000Z
2021-11-18T19:27:11.000Z
stellar/native/functions/localdefs.py
Zero-1729/rocket
f718e7c4a2604964413a445f9296830ea4d15495
[ "MIT" ]
null
null
null
stellar/native/functions/localdefs.py
Zero-1729/rocket
f718e7c4a2604964413a445f9296830ea4d15495
[ "MIT" ]
null
null
null
from native.datastructs.rocketClass import RocketCallable as _RocketCallable class Locals(_RocketCallable): def __init__(self): self.callee = "Locals" self.nature = "native" self.kind = "<native function type>" def arity(self): return 0 def call(self, obj: object, args: l...
31.833333
117
0.643979
121
955
4.818182
0.487603
0.092624
0.06175
0.092624
0.188679
0.106346
0.106346
0
0
0
0
0.00141
0.257592
955
29
118
32.931034
0.820874
0.107853
0
0.105263
0
0
0.114252
0
0
0
0
0
0
1
0.263158
false
0
0.052632
0.157895
0.631579
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
4bd6d42643c7c517dd333d39c00ab21d9d206ad2
146
py
Python
letsadd/choices/apps.py
richardcornish/addtwo
7ac3845718b67e4bad7894f92b36d468b43fd350
[ "BSD-3-Clause" ]
1
2021-05-22T21:52:35.000Z
2021-05-22T21:52:35.000Z
letsadd/choices/apps.py
richardcornish/letsadd
7ac3845718b67e4bad7894f92b36d468b43fd350
[ "BSD-3-Clause" ]
null
null
null
letsadd/choices/apps.py
richardcornish/letsadd
7ac3845718b67e4bad7894f92b36d468b43fd350
[ "BSD-3-Clause" ]
null
null
null
from django.apps import AppConfig class ChoicesConfig(AppConfig): default_auto_field = 'django.db.models.BigAutoField' name = 'choices'
20.857143
56
0.760274
17
146
6.411765
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.150685
146
6
57
24.333333
0.879032
0
0
0
0
0
0.246575
0.19863
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
4bd7f5e9d02eaeee79745175bd442b28e82b745a
883
py
Python
src/models/supervised/denoised_heatmap_model.py
dahiyaaneesh/Handposeestimation
4837be46c926289e933a3f3addb870aadea3c37a
[ "MIT" ]
8
2021-05-15T09:53:11.000Z
2022-01-05T08:31:37.000Z
src/models/supervised/denoised_heatmap_model.py
dahiyaaneesh/Handposeestimation
4837be46c926289e933a3f3addb870aadea3c37a
[ "MIT" ]
null
null
null
src/models/supervised/denoised_heatmap_model.py
dahiyaaneesh/Handposeestimation
4837be46c926289e933a3f3addb870aadea3c37a
[ "MIT" ]
1
2021-05-19T08:06:02.000Z
2021-05-19T08:06:02.000Z
from typing import Dict from src.models.supervised.denoised_baseline import DenoisedBaselineModel from src.models.supervised.heatmap_model import HeatmapPoseModel from src.models.utils import get_denoiser from torch import Tensor class DenoisedHeatmapmodel(HeatmapPoseModel, DenoisedBaselineModel): def __init__(s...
33.961538
76
0.736127
102
883
6.176471
0.333333
0.050794
0.08254
0.073016
0.320635
0.320635
0.244444
0.244444
0.244444
0.244444
0
0
0.178935
883
25
77
35.32
0.868966
0
0
0.210526
0
0
0
0
0
0
0
0
0
1
0.210526
false
0
0.263158
0.157895
0.684211
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
ef1248a7984d100f33a5fa7a50db543c5ae83f68
306
py
Python
main.py
poliakustyczny/script.parsec
6527bac42975cc7a188aaf347a69c41b0a5b71fd
[ "MIT" ]
null
null
null
main.py
poliakustyczny/script.parsec
6527bac42975cc7a188aaf347a69c41b0a5b71fd
[ "MIT" ]
null
null
null
main.py
poliakustyczny/script.parsec
6527bac42975cc7a188aaf347a69c41b0a5b71fd
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from resources.lib import kodilogging from resources.lib import script import logging import xbmcaddon import os # Keep this file to a minimum, as Kodi # doesn't keep a compiled copy of this ADDON = xbmcaddon.Addon() kodilogging.config() os.system('parsecd')
17
39
0.702614
43
306
5
0.674419
0.12093
0.148837
0.204651
0
0
0
0
0
0
0
0.004132
0.20915
306
17
40
18
0.884298
0.310458
0
0
0
0
0.037037
0
0
0
0
0
0
1
0
false
0
0.625
0
0.625
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
ef1f96fbc12195b8d36614129b8e1e5af58f3de2
618
py
Python
google_analytics_reporter/report/user.py
kronok/django-google-analytics-reporter
cca5fb0920ec68cfe03069cedf53fb4c6440cc11
[ "MIT" ]
2
2016-09-03T06:23:50.000Z
2017-11-02T09:07:15.000Z
google_analytics_reporter/report/user.py
kronok/django-google-analytics-reporter
cca5fb0920ec68cfe03069cedf53fb4c6440cc11
[ "MIT" ]
null
null
null
google_analytics_reporter/report/user.py
kronok/django-google-analytics-reporter
cca5fb0920ec68cfe03069cedf53fb4c6440cc11
[ "MIT" ]
null
null
null
from ..tracking import Event class AnalUser(Event): def static_params(self, action): return {'category': 'user', 'action': action} def create(self, *args, **kwargs): action = 'create' kwargs.update(self.static_params(action)) return self.send(*args, **kwargs) def optin(s...
26.869565
53
0.610032
71
618
5.253521
0.295775
0.160858
0.112601
0.160858
0.482574
0.482574
0.482574
0.482574
0.482574
0.482574
0
0
0.2411
618
22
54
28.090909
0.795309
0
0
0.375
0
0
0.056634
0
0
0
0
0
0
1
0.25
false
0
0.0625
0.0625
0.625
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
ef3e44fb587fa999e3da8875b709dda93bcd0a95
166
py
Python
test_model.py
wdoppenberg/crater-detection
471d1bc508dee873cc5d05329147dfc5314bc15d
[ "MIT" ]
8
2021-06-09T15:07:16.000Z
2021-12-22T09:39:29.000Z
test_model.py
wdoppenberg/crater-detection
471d1bc508dee873cc5d05329147dfc5314bc15d
[ "MIT" ]
3
2021-04-23T12:29:40.000Z
2021-06-10T11:01:05.000Z
test_model.py
wdoppenberg/crater-detection
471d1bc508dee873cc5d05329147dfc5314bc15d
[ "MIT" ]
null
null
null
import torch from src import CraterDetector if __name__ == "__main__": model = CraterDetector() model.load_state_dict(torch.load("blobs/CraterRCNN.pth"))
16.6
61
0.73494
20
166
5.6
0.75
0
0
0
0
0
0
0
0
0
0
0
0.156627
166
9
62
18.444444
0.8
0
0
0
0
0
0.169697
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ef439b6a7f80c54afd329c8eb025d59e4b906aca
1,658
py
Python
tests/decorators/serializable.py
caputomarcos/mongorest
57d6b28d75e18afed5cef7160522958153b5be15
[ "BSD-3-Clause" ]
16
2015-04-18T02:51:09.000Z
2020-12-15T18:05:16.000Z
tests/decorators/serializable.py
caputomarcos/mongorest
57d6b28d75e18afed5cef7160522958153b5be15
[ "BSD-3-Clause" ]
8
2015-11-24T23:06:03.000Z
2016-07-21T17:57:59.000Z
tests/decorators/serializable.py
caputomarcos/mongorest
57d6b28d75e18afed5cef7160522958153b5be15
[ "BSD-3-Clause" ]
2
2015-12-04T13:45:32.000Z
2016-06-11T13:44:53.000Z
# -*- encoding: UTF-8 -*- from __future__ import absolute_import, unicode_literals from functools import wraps from mongorest.decorators import serializable from mongorest.testcase import TestCase class TestSerializable(TestCase): def setUp(self): @serializable def test(*args, **kwargs): ...
30.145455
89
0.665862
178
1,658
5.865169
0.292135
0.060345
0.090996
0.048851
0.452107
0.426245
0.315134
0.315134
0.258621
0.258621
0
0.000796
0.242461
1,658
54
90
30.703704
0.830414
0.013872
0
0.297297
0
0
0.039192
0
0
0
0
0
0.135135
1
0.297297
false
0.027027
0.108108
0.108108
0.567568
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
ef4626ef6ee26a59203d07b1a4584ba6d892cb4f
240
py
Python
hmi_rabbitmq/tests/test_chart.py
RangelReale/hmi_rabbitmq
3776e055a6a1dc608b041b1c2b0751642fe98c4c
[ "MIT" ]
null
null
null
hmi_rabbitmq/tests/test_chart.py
RangelReale/hmi_rabbitmq
3776e055a6a1dc608b041b1c2b0751642fe98c4c
[ "MIT" ]
null
null
null
hmi_rabbitmq/tests/test_chart.py
RangelReale/hmi_rabbitmq
3776e055a6a1dc608b041b1c2b0751642fe98c4c
[ "MIT" ]
null
null
null
import unittest from hmi_rabbitmq import RabbitMQChartRequest class TestChart(unittest.TestCase): def test_empty(self): req = RabbitMQChartRequest() chart = req.generate() self.assertEqual(len(chart.data), 8)
21.818182
45
0.708333
26
240
6.461538
0.769231
0
0
0
0
0
0
0
0
0
0
0.005236
0.204167
240
10
46
24
0.874346
0
0
0
1
0
0
0
0
0
0
0
0.142857
1
0.142857
false
0
0.285714
0
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
323467dff1ffa6a2d4af13d25217648e54767a0b
72
py
Python
text/_elisp/window/_op/_operator.py
jedhsu/text
8525b602d304ac571a629104c48703443244545c
[ "Apache-2.0" ]
null
null
null
text/_elisp/window/_op/_operator.py
jedhsu/text
8525b602d304ac571a629104c48703443244545c
[ "Apache-2.0" ]
null
null
null
text/_elisp/window/_op/_operator.py
jedhsu/text
8525b602d304ac571a629104c48703443244545c
[ "Apache-2.0" ]
null
null
null
__all__ = ["WindowOperator"] class WindowOperator(Operator): pass
12
31
0.722222
6
72
8
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.166667
72
5
32
14.4
0.8
0
0
0
0
0
0.194444
0
0
0
0
0
0
1
0
false
0.333333
0
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
324b60dea85163603579932a63cd300a080af305
589
py
Python
coord2vec/pipelines/lagoon_utils/expr_saver_task.py
jonzarecki/coord2vec
4f267fdd87af7b3d3558ca834b88e9ab7c309c18
[ "Apache-2.0" ]
null
null
null
coord2vec/pipelines/lagoon_utils/expr_saver_task.py
jonzarecki/coord2vec
4f267fdd87af7b3d3558ca834b88e9ab7c309c18
[ "Apache-2.0" ]
null
null
null
coord2vec/pipelines/lagoon_utils/expr_saver_task.py
jonzarecki/coord2vec
4f267fdd87af7b3d3558ca834b88e9ab7c309c18
[ "Apache-2.0" ]
1
2021-01-25T09:21:17.000Z
2021-01-25T09:21:17.000Z
import os from typing import Any, List, Union from lagoon import Task from lagoon.io.file import lagoon_open class ExprSaverTask(Task): def __init__(self, save_path: str, save_params: Union[List[str], str], **kwargs): super().__init__(**kwargs) self.save_path = save_path self.save_params =...
31
85
0.684211
87
589
4.425287
0.494253
0.103896
0.093506
0
0
0
0
0
0
0
0
0
0.207131
589
18
86
32.722222
0.824411
0.110357
0
0
0
0
0.028846
0
0
0
0
0.055556
0
1
0.166667
false
0
0.333333
0
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
1
0
0
0
0
0
1
0
1
0
0
3
324b96ae9ce695d3111269cf9a50a7117958a11b
179
py
Python
product_price2/models/product_models.py
Ghabrielince/demoodoo_20200719
a52369f3cac6e61905b0a4ea2c7f1209813c6a43
[ "MIT" ]
null
null
null
product_price2/models/product_models.py
Ghabrielince/demoodoo_20200719
a52369f3cac6e61905b0a4ea2c7f1209813c6a43
[ "MIT" ]
1
2020-07-19T16:02:36.000Z
2020-07-19T16:02:36.000Z
product_price2/models/product_models.py
Ghabrielince/demoodoo_20200719
a52369f3cac6e61905b0a4ea2c7f1209813c6a43
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from odoo import models, fields class PrpductTemplateHerencia(models.Model): _inherit = "product.template" price_2 = fields.Monetary("Precio 2")
22.375
44
0.703911
21
179
5.904762
0.857143
0
0
0
0
0
0
0
0
0
0
0.02
0.162011
179
8
45
22.375
0.806667
0.117318
0
0
0
0
0.152866
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
3296bffdc96b4f4afad257039a6360abeffb2196
122
py
Python
005. Numbers Sort/solution.py
TopGun666/Python100
565837fd730e760dd5ab1913fde1492a7fcc166c
[ "MIT" ]
null
null
null
005. Numbers Sort/solution.py
TopGun666/Python100
565837fd730e760dd5ab1913fde1492a7fcc166c
[ "MIT" ]
null
null
null
005. Numbers Sort/solution.py
TopGun666/Python100
565837fd730e760dd5ab1913fde1492a7fcc166c
[ "MIT" ]
null
null
null
**题目:**输入三个整数x,y,z,请把这三个数由小到大输出。 **程序分析:**我们想办法把最小的数放到x上,先将x与y进行比较,如果x>y则将x与y的值进行交换,然后再用x与z进行比较,如果x>z则将x与z的值进行交换,这样能使x最小。
40.666667
88
0.803279
14
122
7
0.928571
0
0
0
0
0
0
0
0
0
0
0
0.016393
122
3
88
40.666667
0.816667
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
329b782dbe71d4035d9893b6bc8f1514a1696ff4
176
py
Python
poc/generate_payload.py
jam1garner/ROBChain
1a0a1376957ca54113ad036b8fcaa386d017fc7c
[ "MIT" ]
18
2017-08-01T03:11:16.000Z
2020-09-27T08:34:40.000Z
homebrew/generate_payload.py
jam1garner/ROBChain
1a0a1376957ca54113ad036b8fcaa386d017fc7c
[ "MIT" ]
null
null
null
homebrew/generate_payload.py
jam1garner/ROBChain
1a0a1376957ca54113ad036b8fcaa386d017fc7c
[ "MIT" ]
4
2019-01-23T18:36:04.000Z
2021-07-05T19:05:20.000Z
with open('payload.bin', 'rb') as stringFile: with open('payload.s', 'w') as f: for byte in stringFile.read(): print('byte %s' % hex(byte), file=f)
35.2
49
0.551136
26
176
3.730769
0.653846
0.164948
0.309278
0
0
0
0
0
0
0
0
0
0.267045
176
4
50
44
0.751938
0
0
0
0
0
0.174419
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
32b8867cf54f7c31a0c3c773b2715ed21d062d7f
510
py
Python
source/readMe.py
MChenLiang/MPlayer
10fac8f2b2c5fefb7f3aabdd69b08190c3ffb4ab
[ "MIT" ]
1
2019-12-16T06:27:39.000Z
2019-12-16T06:27:39.000Z
source/readMe.py
MChenLiang/MPlayer
10fac8f2b2c5fefb7f3aabdd69b08190c3ffb4ab
[ "MIT" ]
null
null
null
source/readMe.py
MChenLiang/MPlayer
10fac8f2b2c5fefb7f3aabdd69b08190c3ffb4ab
[ "MIT" ]
1
2019-12-16T03:56:13.000Z
2019-12-16T03:56:13.000Z
#!/usr/bin/env python # -*- coding: UTF-8 -*- # Time : 11:41 # Email : spirit_az@foxmail.com # File : readMe.py # +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ # # +--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+ # # +--+--+--+--+--+-...
23.181818
86
0.305882
31
510
5
1
0
0
0
0
0
0
0
0
0
0
0.037611
0.113725
510
22
87
23.181818
0.30531
0.937255
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
085e6854068103bb288f48f962c3d77428a50c8c
111
py
Python
codigo/Live29/defauldict2.py
cassiasamp/live-de-python
00b5e51793097544ba9b75c97a0d30e63970bf45
[ "MIT" ]
572
2018-04-03T03:17:08.000Z
2022-03-31T19:05:32.000Z
codigo/Live29/defauldict2.py
cassiasamp/live-de-python
00b5e51793097544ba9b75c97a0d30e63970bf45
[ "MIT" ]
176
2018-05-18T15:56:16.000Z
2022-03-28T20:39:07.000Z
codigo/Live29/defauldict2.py
cassiasamp/live-de-python
00b5e51793097544ba9b75c97a0d30e63970bf45
[ "MIT" ]
140
2018-04-18T13:59:11.000Z
2022-03-29T00:43:49.000Z
from collections import defaultdict def none(): return None d = defaultdict(lambda: 7) d['oi'] print(d)
11.1
35
0.693694
16
111
4.8125
0.75
0
0
0
0
0
0
0
0
0
0
0.011111
0.189189
111
9
36
12.333333
0.844444
0
0
0
0
0
0.018018
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
0.5
0.166667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
086cb9a27923fa93186f04136961def3ef2c1aae
588
py
Python
Python/Genetic algorithms/Lab1/test.py
JanStoltman/100DaysOfCode
1d18b76ed1e3e942e8392006a5d4bfb41484d047
[ "MIT" ]
null
null
null
Python/Genetic algorithms/Lab1/test.py
JanStoltman/100DaysOfCode
1d18b76ed1e3e942e8392006a5d4bfb41484d047
[ "MIT" ]
null
null
null
Python/Genetic algorithms/Lab1/test.py
JanStoltman/100DaysOfCode
1d18b76ed1e3e942e8392006a5d4bfb41484d047
[ "MIT" ]
null
null
null
def check_fabs(matrix): print(matrix) s = set() i = 0 while i < len(matrix): if matrix[i][1] in s: matrix[i][1] += 1 if matrix[i][1] == len(matrix): matrix[i][1] = 0 else: s.add(matrix[i][1]) i += 1 print(matrix) pri...
21.777778
48
0.416667
92
588
2.51087
0.228261
0.233766
0.17316
0.190476
0.242424
0.242424
0.12987
0.12987
0
0
0
0.101299
0.345238
588
26
49
22.615385
0.498701
0
0
0.090909
0
0
0.017007
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.090909
0.136364
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
087d719c6adff3878cbf0454d02865dc4113c640
556
py
Python
branches/webenv/secproject/secapp/admin.py
MGautier/security-sensor
7063b1f095cfa02bb56ef2544d0395dbf155310f
[ "MIT" ]
2
2016-08-15T21:25:40.000Z
2020-06-22T12:25:48.000Z
branches/webenv/secproject/secapp/admin.py
MGautier/security-sensor
7063b1f095cfa02bb56ef2544d0395dbf155310f
[ "MIT" ]
4
2020-06-05T17:32:18.000Z
2021-06-10T19:05:56.000Z
branches/webenv/secproject/secapp/admin.py
MGautier/security-sensor
7063b1f095cfa02bb56ef2544d0395dbf155310f
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Ips, LogSources, Events, Ports, Tags, Macs, PacketAdditionalInfo, PacketEventsInformation, Tcp, Udp from .models import Visualizations # Register your models here. admin.site.register(Ips) admin.site.register(LogSources) admin.site.register(Events) admin.site.regis...
30.888889
119
0.82554
70
556
6.557143
0.3
0.215686
0.407407
0
0
0
0
0
0
0
0
0
0.070144
556
17
120
32.705882
0.887814
0.046763
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.214286
0
0.214286
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
08b38785b4260a4944b437ac4549e17069076b04
234
py
Python
airways/urls.py
janlanecki/airways-www
8755dcdf12169c67a03e9b8c70749c3ce71b58fc
[ "MIT" ]
null
null
null
airways/urls.py
janlanecki/airways-www
8755dcdf12169c67a03e9b8c70749c3ce71b58fc
[ "MIT" ]
null
null
null
airways/urls.py
janlanecki/airways-www
8755dcdf12169c67a03e9b8c70749c3ce71b58fc
[ "MIT" ]
null
null
null
"""airlines URL Configuration""" from django.contrib import admin from django.urls import path, include urlpatterns = [ # pylint: disable=invalid-name path('admin/', admin.site.urls), path('', include('website.urls')) ]
23.4
50
0.692308
28
234
5.785714
0.642857
0.123457
0
0
0
0
0
0
0
0
0
0
0.15812
234
9
51
26
0.822335
0.239316
0
0
0
0
0.104651
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
08c885d426dcf250dbf99a4f771cb211a123019c
9,300
py
Python
test/test_apd.py
devinkwok/littlenet
5d4f364a905448c138e69544bf2ead792b172b2f
[ "MIT" ]
null
null
null
test/test_apd.py
devinkwok/littlenet
5d4f364a905448c138e69544bf2ead792b172b2f
[ "MIT" ]
null
null
null
test/test_apd.py
devinkwok/littlenet
5d4f364a905448c138e69544bf2ead792b172b2f
[ "MIT" ]
null
null
null
"""Unit tests for apd.py""" import unittest import numpy as np import xarray as xr from littlenet import apd from littlenet import neural_net as nn class ApdTest(unittest.TestCase): def test_cost(self): apds = xr.DataArray(np.arange(6).reshape((2, 3)), dims=(nn.DIM_CASE, apd....
50.27027
93
0.547957
1,454
9,300
3.335626
0.059835
0.086598
0.077938
0.123299
0.816495
0.751134
0.712784
0.621856
0.595876
0.547216
0
0.065584
0.278602
9,300
184
94
50.543478
0.657326
0.002258
0
0.351852
0
0
0.001941
0
0
0
0
0
0.259259
1
0.074074
false
0
0.030864
0
0.111111
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
3eabf131b182aba102799e6b11d0473e66ca0aa9
635
py
Python
utils/blob_utils.py
jmspring/active-learning-detect
edb20019f38ae13204a200166281e2a6baafaee4
[ "MIT" ]
5
2018-10-23T00:17:38.000Z
2019-05-15T19:51:47.000Z
utils/blob_utils.py
jmspring/active-learning-detect
edb20019f38ae13204a200166281e2a6baafaee4
[ "MIT" ]
12
2018-10-26T23:18:15.000Z
2019-01-08T21:55:21.000Z
utils/blob_utils.py
jmspring/active-learning-detect
edb20019f38ae13204a200166281e2a6baafaee4
[ "MIT" ]
12
2018-10-23T00:17:46.000Z
2020-10-11T19:16:32.000Z
from azure.storage.blob import BlockBlobService, ContentSettings class BlobStorage(): azure_storage_client = None #TODO: Verify the storage account is correct. Currently we get an unhelpful error message if you have a type in Storage Name @staticmethod def get_azure_storage_client(config): ...
37.352941
128
0.724409
75
635
5.92
0.493333
0.189189
0.243243
0.326577
0.157658
0
0
0
0
0
0
0
0.222047
635
17
129
37.352941
0.898785
0.193701
0
0.166667
0
0
0.050781
0
0
0
0
0.058824
0
1
0.083333
false
0
0.083333
0
0.5
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
3eadb58d63569ce2af3336848e4b83016fb70c04
222
py
Python
services/storage/src/simcore_service_storage/rest_models.py
colinRawlings/osparc-simcore
bf2f18d5bc1e574d5f4c238d08ad15156184c310
[ "MIT" ]
25
2018-04-13T12:44:12.000Z
2022-03-12T15:01:17.000Z
services/storage/src/simcore_service_storage/rest_models.py
colinRawlings/osparc-simcore
bf2f18d5bc1e574d5f4c238d08ad15156184c310
[ "MIT" ]
2,553
2018-01-18T17:11:55.000Z
2022-03-31T16:26:40.000Z
services/storage/src/simcore_service_storage/rest_models.py
mrnicegyu11/osparc-simcore
b6fa6c245dbfbc18cc74a387111a52de9b05d1f4
[ "MIT" ]
20
2018-01-18T19:45:33.000Z
2022-03-29T07:08:47.000Z
""" RestAPI models """ from datetime import datetime from pydantic import BaseModel class FileMetaData(BaseModel): filename: str version: str last_accessed: datetime owner: str storage_location: str
15.857143
30
0.725225
25
222
6.36
0.68
0
0
0
0
0
0
0
0
0
0
0
0.211712
222
13
31
17.076923
0.908571
0.063063
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
3ebfec0ab09b927a924a179119e6bb5df545ef26
1,234
py
Python
dynopy/dataobjects/measurement.py
jackcenter/Localization_for_Differential_Drive
ccdb9f7d2c2e90ce1ba2bc5e0d037ed009d3cab8
[ "MIT" ]
null
null
null
dynopy/dataobjects/measurement.py
jackcenter/Localization_for_Differential_Drive
ccdb9f7d2c2e90ce1ba2bc5e0d037ed009d3cab8
[ "MIT" ]
null
null
null
dynopy/dataobjects/measurement.py
jackcenter/Localization_for_Differential_Drive
ccdb9f7d2c2e90ce1ba2bc5e0d037ed009d3cab8
[ "MIT" ]
null
null
null
import numpy as np class Measurement: def __init__(self, step: int, measurement: np.ndarray, measurement_categories: list, measurement_names: list): """ :param step: associated time step for the state :param measurement: 1D numpy array of measurement values :param measurement_cat...
30.097561
114
0.671799
146
1,234
5.513699
0.280822
0.078261
0.069565
0.059627
0.069565
0
0
0
0
0
0
0.003268
0.256078
1,234
40
115
30.85
0.873638
0.188006
0
0
0
0
0
0
0
0
0
0
0
1
0.347826
false
0
0.043478
0.26087
0.73913
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
3ec181d8b049f370b1d3df238b79e0b599ea26c6
377
py
Python
autoscalingsim/scaling/policiesbuilder/metric/scaling_aspect_calculation/calculators/learning_based/model/linear/impl/online_linear_regression.py
Remit/autoscaling-simulator
091943c0e9eedf9543e9305682a067ab60f56def
[ "MIT" ]
6
2021-03-10T16:23:10.000Z
2022-01-14T04:57:46.000Z
autoscalingsim/scaling/policiesbuilder/metric/scaling_aspect_calculation/calculators/learning_based/model/linear/impl/online_linear_regression.py
Remit/autoscaling-simulator
091943c0e9eedf9543e9305682a067ab60f56def
[ "MIT" ]
null
null
null
autoscalingsim/scaling/policiesbuilder/metric/scaling_aspect_calculation/calculators/learning_based/model/linear/impl/online_linear_regression.py
Remit/autoscaling-simulator
091943c0e9eedf9543e9305682a067ab60f56def
[ "MIT" ]
1
2022-01-14T04:57:55.000Z
2022-01-14T04:57:55.000Z
# https://scikit-learn.org/stable/modules/classes.html#classical-linear-regressors # https://scikit-learn.org/stable/auto_examples/linear_model/plot_sgd_comparison.html#sphx-glr-auto-examples-linear-model-plot-sgd-comparison-py # https://www.jstor.org/stable/24305577?seq=1 # https://stackoverflow.com/questions/5207029...
62.833333
144
0.822281
54
377
5.666667
0.648148
0.088235
0.104575
0.124183
0.424837
0.261438
0.261438
0
0
0
0
0.046196
0.023873
377
5
145
75.4
0.785326
0.96817
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
3eff8ef9adc7799558e5ee96fb35bff64ba32931
95
py
Python
src/ursm/__init__.py
tsleonw/update_RideStats_Membership
0fea6ca747c934f4761c922650cea4edd8b62f60
[ "MIT" ]
null
null
null
src/ursm/__init__.py
tsleonw/update_RideStats_Membership
0fea6ca747c934f4761c922650cea4edd8b62f60
[ "MIT" ]
null
null
null
src/ursm/__init__.py
tsleonw/update_RideStats_Membership
0fea6ca747c934f4761c922650cea4edd8b62f60
[ "MIT" ]
null
null
null
__version__ = '1.0.0' import pathlib, sys sys.path.append(str(pathlib.Path(__file__).parent))
19
51
0.747368
15
95
4.2
0.733333
0
0
0
0
0
0
0
0
0
0
0.034483
0.084211
95
4
52
23.75
0.689655
0
0
0
0
0
0.052632
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
410dce08b1aa5a2821aa98f32e9d3b373a37aead
4,943
py
Python
lib/dataset/shapenet.py
aabbcco/ssn-3d-pytorch
3b5a1bb807ce751b03501772ed9da48ac7f9f30b
[ "MIT" ]
null
null
null
lib/dataset/shapenet.py
aabbcco/ssn-3d-pytorch
3b5a1bb807ce751b03501772ed9da48ac7f9f30b
[ "MIT" ]
null
null
null
lib/dataset/shapenet.py
aabbcco/ssn-3d-pytorch
3b5a1bb807ce751b03501772ed9da48ac7f9f30b
[ "MIT" ]
null
null
null
from torch.utils.data import Dataset from torch import Tensor import os import h5py import numpy as np from .pointcloud_io import read def getFiles_full(path, suffix): return [ os.path.join(root, file) for root, dirs, files in os.walk(path) for file in files if file.endswith(suffix) ] def ge...
30.325153
82
0.60004
629
4,943
4.581876
0.17806
0.038862
0.022207
0.034004
0.754684
0.740805
0.712006
0.693963
0.649202
0.649202
0
0.010224
0.267854
4,943
162
83
30.512346
0.786129
0.094477
0
0.530435
0
0
0.03236
0
0
0
0
0
0.026087
1
0.165217
false
0
0.052174
0.095652
0.382609
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4126eed1a928d7388f3761985c0a2714eff277b4
743
py
Python
backend/tool/models.py
ecto0310/groupware
e1c9f76b19e6d1f6782f8e2b287ff75d1351fa83
[ "MIT" ]
3
2020-03-23T19:18:00.000Z
2021-04-12T04:01:17.000Z
backend/tool/models.py
ecto0310/groupware
e1c9f76b19e6d1f6782f8e2b287ff75d1351fa83
[ "MIT" ]
95
2020-03-07T12:29:38.000Z
2022-02-17T22:44:07.000Z
backend/tool/models.py
ecto0310/groupware
e1c9f76b19e6d1f6782f8e2b287ff75d1351fa83
[ "MIT" ]
2
2021-12-27T16:50:36.000Z
2021-12-27T16:53:12.000Z
from django.db import models # マークダウン使用のため from markdownx.models import MarkdownxField from markdownx.utils import markdownify from mdeditor.fields import MDTextField # Create your models here. from account.models import User # Create your models here. class Tool(models.Model): name = models.CharField(max_length...
26.535714
68
0.753701
93
743
5.88172
0.580645
0.047532
0.058501
0.073126
0
0
0
0
0
0
0
0.00641
0.160162
743
27
69
27.518519
0.870192
0.117093
0
0
0
0
0.029276
0
0
0
0
0
0
1
0.125
false
0
0.3125
0.125
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
41296dc11137130f60c99d9883ece228f0e7f847
321
py
Python
dict2sql/__init__.py
simonacca/dict2sql
84d051fb752aa9b2bee08b2e8bdb44c0a797b480
[ "MIT" ]
5
2021-05-17T06:57:01.000Z
2021-12-21T01:24:29.000Z
dict2sql/__init__.py
simonacca/dict2sql
84d051fb752aa9b2bee08b2e8bdb44c0a797b480
[ "MIT" ]
null
null
null
dict2sql/__init__.py
simonacca/dict2sql
84d051fb752aa9b2bee08b2e8bdb44c0a797b480
[ "MIT" ]
1
2021-07-23T03:34:29.000Z
2021-07-23T03:34:29.000Z
from functools import partial from typing import Optional from dict2sql.dialects.ansi.statement import Statement from dict2sql.dialects.ansi.utils import Utils class dict2sql: def __init__(self, utils: Optional[Utils] = None): ut = utils or Utils() self.to_sql = partial(Statement.to_sql_root, ut)...
26.75
56
0.750779
44
321
5.318182
0.477273
0.102564
0.17094
0.205128
0
0
0
0
0
0
0
0.011321
0.174455
321
11
57
29.181818
0.871698
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.5
0
0.75
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
f5c076c78515cc830bc8353ad2be9d57d9179ed4
331
py
Python
vespa/analysis/functors/funct_quant_watref_all.py
vespa-mrs/vespa
6d3e84a206ec427ac1304e70c7fadf817432956b
[ "BSD-3-Clause" ]
null
null
null
vespa/analysis/functors/funct_quant_watref_all.py
vespa-mrs/vespa
6d3e84a206ec427ac1304e70c7fadf817432956b
[ "BSD-3-Clause" ]
4
2021-04-17T13:58:31.000Z
2022-01-20T14:19:57.000Z
vespa/analysis/functors/funct_quant_watref_all.py
vespa-mrs/vespa
6d3e84a206ec427ac1304e70c7fadf817432956b
[ "BSD-3-Clause" ]
3
2021-06-05T16:34:57.000Z
2022-01-19T16:13:22.000Z
# Python modules # 3rd party modules # Our modules #------------------------------------------------------------------------------ # Method calls for different entry points' processing def do_processing_all(chain): """ """ return set = chain._block.set ...
10.030303
79
0.392749
24
331
5.291667
0.791667
0
0
0
0
0
0
0
0
0
0
0.004425
0.317221
331
32
80
10.34375
0.557522
0.52568
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
f5e5a766494ecfd5581c79a66ca14b5ed92ccab0
13,469
py
Python
pyboto3/resourcegroupstaggingapi.py
thecraftman/pyboto3
653a0db2b00b06708334431da8f169d1f7c7734f
[ "MIT" ]
null
null
null
pyboto3/resourcegroupstaggingapi.py
thecraftman/pyboto3
653a0db2b00b06708334431da8f169d1f7c7734f
[ "MIT" ]
null
null
null
pyboto3/resourcegroupstaggingapi.py
thecraftman/pyboto3
653a0db2b00b06708334431da8f169d1f7c7734f
[ "MIT" ]
null
null
null
''' The MIT License (MIT) Copyright (c) 2016 WavyCloud Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, p...
39.498534
705
0.659217
1,749
13,469
5.056604
0.188679
0.020353
0.007123
0.010176
0.494912
0.464722
0.44663
0.428087
0.401402
0.390208
0
0.008995
0.281907
13,469
340
706
39.614706
0.905397
0.868439
0
0.5
0
0
0
0
0
0
0
0
0
1
0.5
false
0.5
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
eb07f83bbdedc7796008d51d67eee7168d9e6304
87
py
Python
rendaz/dazcms/apps.py
veselosky/rendaz
c81298cb9b8f142c4748c28b7e93549a56ee248d
[ "Apache-2.0" ]
null
null
null
rendaz/dazcms/apps.py
veselosky/rendaz
c81298cb9b8f142c4748c28b7e93549a56ee248d
[ "Apache-2.0" ]
null
null
null
rendaz/dazcms/apps.py
veselosky/rendaz
c81298cb9b8f142c4748c28b7e93549a56ee248d
[ "Apache-2.0" ]
null
null
null
from django.apps import AppConfig class DazcmsConfig(AppConfig): name = 'dazcms'
14.5
33
0.747126
10
87
6.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.172414
87
5
34
17.4
0.902778
0
0
0
0
0
0.068966
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
eb15874eda083b67a2a6a30554fd468d31ca7be6
2,398
py
Python
examples/snippets.py
cstatz/visitor
00f48e37358985fb94392117deb561d490a603f6
[ "BSD-2-Clause" ]
null
null
null
examples/snippets.py
cstatz/visitor
00f48e37358985fb94392117deb561d490a603f6
[ "BSD-2-Clause" ]
null
null
null
examples/snippets.py
cstatz/visitor
00f48e37358985fb94392117deb561d490a603f6
[ "BSD-2-Clause" ]
null
null
null
# TODO: Things that might be implemented some time #VisItExecuteCommand #VisItSaveWindow #VisItInitializeRuntime """ Excerpt from the visit/simv2 sources: int VisItAddPlot(const char *plotType, const char *var); int VisItAddOperator(const char *operatorType, int applyToAll); int VisItDrawPlots(void); int VisItDeleteA...
49.958333
91
0.784821
378
2,398
4.978836
0.193122
0.176939
0.148778
0.127524
0.517535
0.501594
0.417109
0.291711
0.25983
0.124867
0
0.001402
0.10759
2,398
47
92
51.021277
0.878037
0.992494
0
null
0
null
0
0
null
0
0
0.021277
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
0
1
0
0
0
0
0
0
3
eb3aa0a10db4ef00e65c102e1ffbb9ae5ebcf703
53
py
Python
core/app/hello_django/loggers.py
EmixMaxime/mx-home-security
ec6d329a09bb2e0afbbd7e481937893311f02634
[ "MIT" ]
2
2021-04-29T19:28:59.000Z
2021-04-29T21:20:32.000Z
core/app/hello_django/loggers.py
EmixMaxime/mx-home-security
ec6d329a09bb2e0afbbd7e481937893311f02634
[ "MIT" ]
101
2020-06-26T19:51:24.000Z
2021-03-28T09:35:55.000Z
core/app/hello_django/loggers.py
mxmaxime/mx-tech-house
f6b66b8390b348e48d4c6ea0da51e409f3845fd6
[ "MIT" ]
null
null
null
import logging LOGGER = logging.getLogger('django')
13.25
36
0.773585
6
53
6.833333
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.113208
53
3
37
17.666667
0.87234
0
0
0
0
0
0.113208
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
eb42d6fa438888aa57c71d4b6fd29638a914e88d
196
py
Python
exhaust/deployment/management/commands/pull.py
lewiscollard/exhaust
510a66c97bec00576afe321e6bcff5476681bf8b
[ "WTFPL" ]
null
null
null
exhaust/deployment/management/commands/pull.py
lewiscollard/exhaust
510a66c97bec00576afe321e6bcff5476681bf8b
[ "WTFPL" ]
5
2021-11-08T06:58:11.000Z
2022-03-12T14:39:26.000Z
exhaust/deployment/management/commands/pull.py
lewiscollard/exhaust
510a66c97bec00576afe321e6bcff5476681bf8b
[ "WTFPL" ]
null
null
null
from django.core.management import BaseCommand, call_command class Command(BaseCommand): def handle(self, *args, **options): call_command('pulldb') call_command('pullmedia')
24.5
60
0.709184
22
196
6.181818
0.727273
0.242647
0
0
0
0
0
0
0
0
0
0
0.178571
196
7
61
28
0.844721
0
0
0
0
0
0.076531
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
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
de24b21f69c10c76b29513e8fb99ea7aa00c0dc0
61
py
Python
helper.py
DerekMcMahon/cs3240-labdemo
23f27208d6a7e46360d5bb33e6e77d0630348c05
[ "MIT" ]
null
null
null
helper.py
DerekMcMahon/cs3240-labdemo
23f27208d6a7e46360d5bb33e6e77d0630348c05
[ "MIT" ]
null
null
null
helper.py
DerekMcMahon/cs3240-labdemo
23f27208d6a7e46360d5bb33e6e77d0630348c05
[ "MIT" ]
null
null
null
__author__ = "dmm7aj" def greeting(msg): print(str(msg))
15.25
21
0.672131
8
61
4.625
0.875
0
0
0
0
0
0
0
0
0
0
0.019608
0.163934
61
4
22
15.25
0.705882
0
0
0
0
0
0.096774
0
0
0
0
0
0
1
0.333333
false
0
0
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
1
0
0
0
0
0
0
0
3
de52a2cc5361c0bf78a9121f7d7245c87fdeec32
51
py
Python
src/satyrus/satyrus/__init__.py
pedromxavier/Satyrus3
ed74a3c5e7271a1cb6414e524c209f26cb822ae8
[ "MIT" ]
1
2021-09-03T13:54:20.000Z
2021-09-03T13:54:20.000Z
src/satyrus/satyrus/__init__.py
pedromxavier/Satyrus3
ed74a3c5e7271a1cb6414e524c209f26cb822ae8
[ "MIT" ]
null
null
null
src/satyrus/satyrus/__init__.py
pedromxavier/Satyrus3
ed74a3c5e7271a1cb6414e524c209f26cb822ae8
[ "MIT" ]
2
2020-09-17T22:40:48.000Z
2021-09-09T12:58:16.000Z
from .satyrus import Satyrus __all__ = ["Satyrus"]
17
28
0.745098
6
51
5.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.137255
51
3
29
17
0.772727
0
0
0
0
0
0.134615
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
de543f2da187be793576ba60cfb948ee3f2b23c9
187
py
Python
atcoder/arc/arc082_a.py
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
1
2018-11-12T15:18:55.000Z
2018-11-12T15:18:55.000Z
atcoder/arc/arc082_a.py
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
atcoder/arc/arc082_a.py
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
from collections import Counter N = int(input()) A = [] for a in map(int, input().split()): A.append(a) A.append(a + 1) A.append(a - 1) print(Counter(A).most_common(1)[0][1])
20.777778
38
0.604278
34
187
3.294118
0.529412
0.1875
0.214286
0.160714
0
0
0
0
0
0
0
0.032895
0.187166
187
8
39
23.375
0.703947
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.125
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
de62e93d27380bb4197e2628387f699deb27b2d1
227
py
Python
src/echonn/sys/circle_system.py
larkwt96/honors-thesis
7e3a52c285c1fdaf4ae9659497154ba04e522f48
[ "MIT" ]
null
null
null
src/echonn/sys/circle_system.py
larkwt96/honors-thesis
7e3a52c285c1fdaf4ae9659497154ba04e522f48
[ "MIT" ]
null
null
null
src/echonn/sys/circle_system.py
larkwt96/honors-thesis
7e3a52c285c1fdaf4ae9659497154ba04e522f48
[ "MIT" ]
null
null
null
from .system import DynamicalSystem class CircleSystem(DynamicalSystem): def __init__(self): super().__init__(dim=2) def fun(self, t, v): x, y = v xp = -y yp = x return xp, yp
17.461538
36
0.555066
29
227
4.068966
0.689655
0
0
0
0
0
0
0
0
0
0
0.006667
0.339207
227
12
37
18.916667
0.78
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.555556
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
de7cc5209c4cbf968af55e5e2221295b617cba8c
102
py
Python
zip.py
jessedeveloperinvestor/Multiple-Jesse-Projects
f66a6eed79117fd005668f79e0bee3d8ac76e2b8
[ "Apache-2.0" ]
null
null
null
zip.py
jessedeveloperinvestor/Multiple-Jesse-Projects
f66a6eed79117fd005668f79e0bee3d8ac76e2b8
[ "Apache-2.0" ]
null
null
null
zip.py
jessedeveloperinvestor/Multiple-Jesse-Projects
f66a6eed79117fd005668f79e0bee3d8ac76e2b8
[ "Apache-2.0" ]
null
null
null
#pip install zipfile from zip import Zipfile file = Zipfile('zip_file.zip') file.extractll(path='')
25.5
31
0.745098
15
102
5
0.6
0.186667
0
0
0
0
0
0
0
0
0
0
0.127451
102
4
32
25.5
0.842697
0.186275
0
0
0
0
0.15
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
de8b5e77d437c1a722ff07578b8d25a1fd29e0d7
3,408
py
Python
crawl.py
dev-dain/OliveYoung-Crawling
a23700d0aae48db30a9735d4e9b70e23209d488c
[ "MIT" ]
null
null
null
crawl.py
dev-dain/OliveYoung-Crawling
a23700d0aae48db30a9735d4e9b70e23209d488c
[ "MIT" ]
null
null
null
crawl.py
dev-dain/OliveYoung-Crawling
a23700d0aae48db30a9735d4e9b70e23209d488c
[ "MIT" ]
null
null
null
from selenium import webdriver from time import sleep import os import sys def get_product_info(i): i_list = driver.find_elements_by_class_name('cate_prd_list > .flag') i_list[i].click() img = driver.find_element_by_id('mainImg') brand = driver.find_element_by_class_name('prd_brand') name = driver.find_ele...
28.4
171
0.692782
478
3,408
4.625523
0.23431
0.104025
0.104478
0.103121
0.745816
0.730439
0.697874
0.697874
0.694256
0.694256
0
0.072688
0.184566
3,408
120
172
28.4
0.722922
0.105047
0
0.698795
0
0.012048
0.190664
0.010519
0
0
0
0
0
1
0.012048
false
0.072289
0.048193
0
0.060241
0.084337
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
de9416396812c9f553b65cd6b7df1a223d9729d1
282
py
Python
LAB3/Z1.2/plugins/tiger.py
Yalfoosh/OOUP-Labosi
568413a3f7dbdcaa9291b7ac7193646e71377b22
[ "Apache-2.0" ]
null
null
null
LAB3/Z1.2/plugins/tiger.py
Yalfoosh/OOUP-Labosi
568413a3f7dbdcaa9291b7ac7193646e71377b22
[ "Apache-2.0" ]
null
null
null
LAB3/Z1.2/plugins/tiger.py
Yalfoosh/OOUP-Labosi
568413a3f7dbdcaa9291b7ac7193646e71377b22
[ "Apache-2.0" ]
null
null
null
class tiger: def __init__(self, name: str): self._name = name def name(self) -> str: return self._name @staticmethod def greet() -> str: return "Mijau!" @staticmethod def menu() -> str: return "mlako mlijeko"
18.8
35
0.524823
30
282
4.733333
0.466667
0.169014
0
0
0
0
0
0
0
0
0
0
0.365248
282
14
36
20.142857
0.793296
0
0
0.181818
0
0
0.070896
0
0
0
0
0
0
1
0.363636
false
0
0
0.272727
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
debb66967c4a544810335526436c9afea4d65f5e
44,013
py
Python
mavweb/mavlink_arbiter/cit/mavproxy/arducopter_mavproxy_example.py
vixadd/MAVWeb
c86327a18c1f5260aa77a5975d2977df5e9267cc
[ "MIT" ]
null
null
null
mavweb/mavlink_arbiter/cit/mavproxy/arducopter_mavproxy_example.py
vixadd/MAVWeb
c86327a18c1f5260aa77a5975d2977df5e9267cc
[ "MIT" ]
null
null
null
mavweb/mavlink_arbiter/cit/mavproxy/arducopter_mavproxy_example.py
vixadd/MAVWeb
c86327a18c1f5260aa77a5975d2977df5e9267cc
[ "MIT" ]
null
null
null
# fly ArduCopter in SITL import util, pexpect, sys, time, math, shutil, os from common import * import mavutil, mavwp, random # get location of scripts testdir=os.path.dirname(os.path.realpath(__file__)) FRAME='+' TARGET='sitl' HOME=mavutil.location(-35.362938,149.165085,584,270) AVCHOME=mavutil.location(40.072842,-...
38.472902
121
0.418854
4,048
44,013
4.470356
0.108696
0.068966
0.047193
0.015749
0.720435
0.673298
0.637323
0.605659
0.574492
0.55189
0
0.025894
0.184854
44,013
1,144
122
38.472902
0.478496
0.073615
0
0.709389
0
0.005961
0.220994
0.022453
0
0
0
0
0
0
null
null
0.00149
0.004471
null
null
0.235469
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
ded359a380aefb55186511b470f643be076dc53f
3,612
py
Python
tests/test_permissions.py
AidenEllis/Cligo
f450e694358a5f43e5aaf26bb96ba5ecc48a9577
[ "MIT" ]
4
2021-07-19T05:56:05.000Z
2021-07-25T14:30:19.000Z
tests/test_permissions.py
AidenEllis/Cligo
f450e694358a5f43e5aaf26bb96ba5ecc48a9577
[ "MIT" ]
null
null
null
tests/test_permissions.py
AidenEllis/Cligo
f450e694358a5f43e5aaf26bb96ba5ecc48a9577
[ "MIT" ]
null
null
null
from tests.base import CliGoTestCase from tests.utils import commands, permissions, exceptions class TestCliPermissions(CliGoTestCase): def test_registered_permissions(self): """ Checks if permission is registered """ the_command = commands.TestNormalCommand the_command.p...
33.444444
77
0.675526
343
3,612
6.915452
0.169096
0.088533
0.05312
0.094435
0.771079
0.746627
0.712057
0.712057
0.687605
0.596965
0
0.000735
0.246401
3,612
107
78
33.757009
0.870683
0.104651
0
0.633333
0
0
0.057441
0
0
0
0
0
0.116667
1
0.116667
false
0
0.033333
0
0.166667
0
0
0
0
null
0
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3