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
80e0ace23dc7878e3403ea662343b1375d6b74f4
2,282
py
Python
tests/integration/test_app.py
peajayni/pgevents
546f9f37a2f92717a409fdf811e657dbd6886746
[ "MIT" ]
1
2021-12-23T23:07:55.000Z
2021-12-23T23:07:55.000Z
tests/integration/test_app.py
peajayni/pgevents
546f9f37a2f92717a409fdf811e657dbd6886746
[ "MIT" ]
null
null
null
tests/integration/test_app.py
peajayni/pgevents
546f9f37a2f92717a409fdf811e657dbd6886746
[ "MIT" ]
null
null
null
import time from threading import Thread from pgevents import data_access, constants from pgevents.app import App from pgevents.event import Event from tests.integration import DSN CHANNEL = "test" FOO_TOPIC = "foo" BAR_TOPIC = "bar" foo_event_id = None bar_event_id = None def send_notification(): global foo_e...
26.229885
82
0.687555
309
2,282
4.773463
0.194175
0.108475
0.047458
0.032542
0.770169
0.737627
0.705085
0.669831
0.615593
0.615593
0
0.002826
0.224803
2,282
86
83
26.534884
0.830978
0
0
0.612903
0
0
0.004382
0
0
0
0
0
0.064516
1
0.112903
false
0.032258
0.096774
0.032258
0.241935
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
80f59a1ea4d1f8eedbc7b8d0270b5ad04ccaecb5
93
py
Python
docs/2_draw/draw1.py
rasql/turtle-tutorial
21add97eb5a8e26bf632633256f7bb34053c083a
[ "MIT" ]
null
null
null
docs/2_draw/draw1.py
rasql/turtle-tutorial
21add97eb5a8e26bf632633256f7bb34053c083a
[ "MIT" ]
null
null
null
docs/2_draw/draw1.py
rasql/turtle-tutorial
21add97eb5a8e26bf632633256f7bb34053c083a
[ "MIT" ]
null
null
null
# pen up/down from turtle import * forward(100) up() forward(50) down() forward(100) done()
9.3
20
0.688172
15
93
4.266667
0.666667
0.3125
0
0
0
0
0
0
0
0
0
0.101266
0.150538
93
10
21
9.3
0.708861
0.11828
0
0.285714
0
0
0
0
0
0
0
0
0
1
0
true
0
0.142857
0
0.142857
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
1
0
0
0
0
0
0
3
038fec159ad8e7e5305fcff51742f268c8587ed9
814
py
Python
processing/file_container.py
ssbgp/data-tools
ec8caf5831eae6a35fd95bb2fb86cf77434bf4d9
[ "MIT" ]
null
null
null
processing/file_container.py
ssbgp/data-tools
ec8caf5831eae6a35fd95bb2fb86cf77434bf4d9
[ "MIT" ]
null
null
null
processing/file_container.py
ssbgp/data-tools
ec8caf5831eae6a35fd95bb2fb86cf77434bf4d9
[ "MIT" ]
null
null
null
from pathlib import Path from typing import Iterator from abc import ABC, abstractmethod class FileContainer(ABC): """ A file container is an abstraction for anything that can contain data files, such as, a directory or multiple directories. Accessing the file container may have some overhead. Usual...
29.071429
78
0.687961
104
814
5.346154
0.634615
0.046763
0
0
0
0
0
0
0
0
0
0
0.248157
814
27
79
30.148148
0.908497
0.570025
0
0.25
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.375
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
0394a77c7149878e46b4133700fbc791c83fff62
489
py
Python
sqlbuilder/insert_query.py
totoer/sqlbuilder
62ad5a26a9b70b0bbcc97e50d81172d3bdec52e7
[ "Apache-2.0" ]
null
null
null
sqlbuilder/insert_query.py
totoer/sqlbuilder
62ad5a26a9b70b0bbcc97e50d81172d3bdec52e7
[ "Apache-2.0" ]
null
null
null
sqlbuilder/insert_query.py
totoer/sqlbuilder
62ad5a26a9b70b0bbcc97e50d81172d3bdec52e7
[ "Apache-2.0" ]
null
null
null
#-*- coding: utf-8 -*- class INSERT(object): def __init__(self, schema, target): self._sql = u"INSERT INTO {}.{}".format( schema, target) def VALUES(self, fields): values = ", ".join(["%(" + field + ")s" for field in fields]) self._sql += "({}) values({})".format(", ".joi...
23.285714
72
0.531697
55
489
4.436364
0.490909
0.114754
0.114754
0
0
0
0
0
0
0
0
0.002849
0.282209
489
20
73
24.45
0.692308
0.042945
0
0
0
0
0.11349
0
0
0
0
0
0
1
0.307692
false
0
0
0.153846
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
03aaec5969fd6533769d67413545a68f9be8a88d
129
py
Python
src/notboringschool/apps.py
Denkneb/NotBoringSchool
0d23a31d03654b825eaa709dabbb366e563c7e53
[ "MIT" ]
null
null
null
src/notboringschool/apps.py
Denkneb/NotBoringSchool
0d23a31d03654b825eaa709dabbb366e563c7e53
[ "MIT" ]
null
null
null
src/notboringschool/apps.py
Denkneb/NotBoringSchool
0d23a31d03654b825eaa709dabbb366e563c7e53
[ "MIT" ]
null
null
null
from django.apps import AppConfig class NotBoringSchool(AppConfig): name = 'notboringschool' label = 'notboringschool'
18.428571
33
0.751938
12
129
8.083333
0.75
0
0
0
0
0
0
0
0
0
0
0
0.170543
129
6
34
21.5
0.906542
0
0
0
0
0
0.232558
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
03d119ba67f3e3eadc811de4d12a8c1df9510793
139
py
Python
pytils/__init__.py
igorcc/pytils
4f0a3902361cae835386092469715f4c4e9d822d
[ "MIT" ]
61
2018-04-20T06:09:19.000Z
2022-03-24T17:10:43.000Z
pytils/__init__.py
igorcc/pytils
4f0a3902361cae835386092469715f4c4e9d822d
[ "MIT" ]
18
2018-04-17T15:46:06.000Z
2022-02-23T15:19:26.000Z
pytils/__init__.py
igorcc/pytils
4f0a3902361cae835386092469715f4c4e9d822d
[ "MIT" ]
23
2018-08-20T15:04:52.000Z
2022-02-23T19:48:45.000Z
# -*- coding: utf-8 -*- """ Simple processing for russian strings """ VERSION = '0.3.1dev' from pytils import numeral, dt, translit, typo
17.375
46
0.669065
19
139
4.894737
1
0
0
0
0
0
0
0
0
0
0
0.034483
0.165468
139
7
47
19.857143
0.767241
0.431655
0
0
0
0
0.112676
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
03fa8835771e685b5334e2cdd795c57bf63b08fb
252
py
Python
src/modules/cmd_map.py
cao5zy/auto_module
ee1bcccf1c951349ba9a01a0a36b1546657f6791
[ "Apache-2.0" ]
null
null
null
src/modules/cmd_map.py
cao5zy/auto_module
ee1bcccf1c951349ba9a01a0a36b1546657f6791
[ "Apache-2.0" ]
null
null
null
src/modules/cmd_map.py
cao5zy/auto_module
ee1bcccf1c951349ba9a01a0a36b1546657f6791
[ "Apache-2.0" ]
null
null
null
from .copy import copy from .file import file from .synchronize import synchronize from .command import command from .template import template cmd_map = {"copy": copy, "file": file, "synchronize": synchronize, "command": command, "template": template}
36
108
0.765873
32
252
6
0.28125
0
0
0
0
0
0
0
0
0
0
0
0.126984
252
6
109
42
0.872727
0
0
0
0
0
0.134921
0
0
0
0
0
0
1
0
false
0
0.833333
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
ff00d68e88f648ace2d0ca56bdfff21029cf62ec
361
py
Python
tiny_id/corpus.py
brianjpetersen/tiny_id
cf14c6626ea5e0944298838d4c5108e6eaafa974
[ "MIT" ]
null
null
null
tiny_id/corpus.py
brianjpetersen/tiny_id
cf14c6626ea5e0944298838d4c5108e6eaafa974
[ "MIT" ]
null
null
null
tiny_id/corpus.py
brianjpetersen/tiny_id
cf14c6626ea5e0944298838d4c5108e6eaafa974
[ "MIT" ]
null
null
null
# standard libraries pass # third party libraries pass # first party libraries pass alphanumeric = 'abcdefghijklmnopqrstuvwxyz' \ 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' \ '123456789' # alphanumerics unlikely to be mistaken for each other legible = 'abcdefghijkmnopqrstuvwxyz' \ 'ABCDEFGH...
21.235294
54
0.689751
27
361
9.222222
0.777778
0.156627
0.144578
0
0
0
0
0
0
0
0
0.062731
0.249307
361
16
55
22.5625
0.856089
0.31856
0
0.333333
0
0
0.489627
0.419087
0
0
0
0
0
1
0
false
0.333333
0
0
0
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
1
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
ff14fa4ac542a28eb4d4764528fa84d9742bc58b
54
py
Python
src/mindsync/__init__.py
mindsync-ai/mindsync-api-python
62ad96078c0e167279abe040852fcf22dab496ec
[ "Apache-2.0" ]
null
null
null
src/mindsync/__init__.py
mindsync-ai/mindsync-api-python
62ad96078c0e167279abe040852fcf22dab496ec
[ "Apache-2.0" ]
null
null
null
src/mindsync/__init__.py
mindsync-ai/mindsync-api-python
62ad96078c0e167279abe040852fcf22dab496ec
[ "Apache-2.0" ]
null
null
null
from mindsync.cli import main __version__ = "0.0.1"
10.8
29
0.722222
9
54
3.888889
0.888889
0
0
0
0
0
0
0
0
0
0
0.066667
0.166667
54
4
30
13.5
0.711111
0
0
0
0
0
0.09434
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ff15e11ac641c62df0bfd684bd9d7935cef69869
186
py
Python
src/statistical_baseline/config.py
EMBEDDIA/covid19-fake-news
23ad926dfcf851c533683db219492581cb6267a6
[ "MIT" ]
null
null
null
src/statistical_baseline/config.py
EMBEDDIA/covid19-fake-news
23ad926dfcf851c533683db219492581cb6267a6
[ "MIT" ]
null
null
null
src/statistical_baseline/config.py
EMBEDDIA/covid19-fake-news
23ad926dfcf851c533683db219492581cb6267a6
[ "MIT" ]
1
2021-06-10T09:57:24.000Z
2021-06-10T09:57:24.000Z
PATH_TRAIN = "../../data/train.csv" PATH_VALID = "../../data/valid.csv" PICKLES_PATH = "./pickles" TRAIN = "../../data/train.tsv" TEST = "../../data/test.tsv" DEV = "../../data/dev.tsv"
26.571429
35
0.580645
25
186
4.2
0.36
0.171429
0.266667
0
0
0
0
0
0
0
0
0
0.096774
186
6
36
31
0.625
0
0
0
0
0
0.569892
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
2076f59538f739e61a9131676d1d74264f407ac1
64
py
Python
curso-python/CursoemVideo/aleatorio.py
matheusbus/Curso-Python-3-Mundo-01
1517905319b906f3e03263c335f93f2b8567f7a2
[ "MIT" ]
null
null
null
curso-python/CursoemVideo/aleatorio.py
matheusbus/Curso-Python-3-Mundo-01
1517905319b906f3e03263c335f93f2b8567f7a2
[ "MIT" ]
null
null
null
curso-python/CursoemVideo/aleatorio.py
matheusbus/Curso-Python-3-Mundo-01
1517905319b906f3e03263c335f93f2b8567f7a2
[ "MIT" ]
null
null
null
import random num = random.random() print('{:.2f}'.format(num))
16
27
0.671875
9
64
4.777778
0.666667
0
0
0
0
0
0
0
0
0
0
0.017241
0.09375
64
3
28
21.333333
0.724138
0
0
0
0
0
0.09375
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
2077fed018f84bb49196778f3076e02fbb0a0f01
190
py
Python
Aula08/chef021.py
AdryanPablo/Python
d469d394b41f44dbd753bf9a7f7eebaa81096562
[ "MIT" ]
null
null
null
Aula08/chef021.py
AdryanPablo/Python
d469d394b41f44dbd753bf9a7f7eebaa81096562
[ "MIT" ]
null
null
null
Aula08/chef021.py
AdryanPablo/Python
d469d394b41f44dbd753bf9a7f7eebaa81096562
[ "MIT" ]
null
null
null
# Faça um programa em python que abra e reproduza um arquivo de áudio mp3. import pygame pygame.init() pygame.mixer_music.load("chef021.mp3") pygame.mixer_music.play() pygame.event.wait()
21.111111
74
0.773684
31
190
4.677419
0.741935
0.151724
0.22069
0
0
0
0
0
0
0
0
0.02994
0.121053
190
8
75
23.75
0.838323
0.378947
0
0
0
0
0.094828
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
2097cb58eca0177800f74ec1f7193dc26b731ebb
290
py
Python
library/books/api.py
yasminhillis/library_django
b05b3735918f9dc48850b7c9a004f3cb8a1ccf29
[ "MIT" ]
1
2020-12-22T09:06:00.000Z
2020-12-22T09:06:00.000Z
library/books/api.py
yasminhillis/library_django
b05b3735918f9dc48850b7c9a004f3cb8a1ccf29
[ "MIT" ]
null
null
null
library/books/api.py
yasminhillis/library_django
b05b3735918f9dc48850b7c9a004f3cb8a1ccf29
[ "MIT" ]
null
null
null
from rest_framework import viewsets, permissions from .models import Book from .serializers import BookSerializer class BookViewSet(viewsets.ModelViewSet): queryset = Book.objects.all() permission_classes = [ permissions.AllowAny ] serializer_class = BookSerializer
29
48
0.768966
29
290
7.586207
0.689655
0
0
0
0
0
0
0
0
0
0
0
0.172414
290
10
49
29
0.916667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.777778
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
20ca03d78cd6e062e375966f5e9182421844a30d
334
py
Python
cfbets/bets/context_processors.py
migsantos121/betting
ad3d1dc43d6471498583ec746f1eb539512ed7a9
[ "Apache-2.0" ]
16
2017-04-22T11:48:32.000Z
2021-08-24T22:42:25.000Z
cfbets/bets/context_processors.py
migsantos121/betting
ad3d1dc43d6471498583ec746f1eb539512ed7a9
[ "Apache-2.0" ]
51
2016-12-06T21:45:14.000Z
2021-06-10T19:36:56.000Z
cfbets/bets/context_processors.py
migsantos121/betting
ad3d1dc43d6471498583ec746f1eb539512ed7a9
[ "Apache-2.0" ]
12
2016-12-26T21:58:42.000Z
2021-06-09T12:00:59.000Z
# bets/context_processors.py from bets.forms import PlaceBetsForm from django.core.urlresolvers import reverse from bets import views def place_bets_form_context_processor(request): return { 'place_bets_form': PlaceBetsForm(), 'place_bets_form_url': reverse('bets:place_bets_form_process', kwargs={'next_url': requ...
30.363636
99
0.805389
46
334
5.543478
0.521739
0.141176
0.203922
0
0
0
0
0
0
0
0
0
0.095808
334
10
100
33.4
0.844371
0.077844
0
0
0
0
0.228758
0.091503
0
0
0
0
0
1
0.125
false
0
0.375
0.125
0.625
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
1
0
0
0
3
20e25906cd7c5459f268eb4b66a79c25550d87b1
281
py
Python
plugs_filter/filters.py
solocompt/plugs-filter
cb34c7d662d3f96c07c10b3ed0a34bafef78b52c
[ "MIT" ]
1
2017-01-10T23:25:08.000Z
2017-01-10T23:25:08.000Z
plugs_filter/filters.py
solocompt/plugs-filter
cb34c7d662d3f96c07c10b3ed0a34bafef78b52c
[ "MIT" ]
1
2017-01-08T00:01:08.000Z
2017-01-08T00:01:08.000Z
plugs_filter/filters.py
solocompt/plugs-filter
cb34c7d662d3f96c07c10b3ed0a34bafef78b52c
[ "MIT" ]
null
null
null
""" Filters """ from django_filters.filters import Filter class AutoFilters(Filter): """ Automatically adds valid filters for field type """ pass class DynamicFilters(Filter): """ Creates a list of filters from the passed in attach list """ pass
15.611111
60
0.661922
33
281
5.606061
0.69697
0.118919
0
0
0
0
0
0
0
0
0
0
0.24911
281
17
61
16.529412
0.876777
0.398577
0
0.4
0
0
0
0
0
0
0
0
0
1
0
true
0.4
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
0
0
1
0
0
3
455b840bd974fee7441be8dcbc6a167ffca65893
197
py
Python
zebra/apps.py
pauloxnet/django-quagga
d2e2da143d30ec1f2b88b84c58649e6ed147407e
[ "MIT" ]
null
null
null
zebra/apps.py
pauloxnet/django-quagga
d2e2da143d30ec1f2b88b84c58649e6ed147407e
[ "MIT" ]
null
null
null
zebra/apps.py
pauloxnet/django-quagga
d2e2da143d30ec1f2b88b84c58649e6ed147407e
[ "MIT" ]
1
2018-09-17T09:15:14.000Z
2018-09-17T09:15:14.000Z
""" Default application configuration """ from django.apps.config import AppConfig class ZebraConfig(AppConfig): name = "zebra" verbose_name = "Zebra" def ready(self): pass
14.071429
40
0.675127
21
197
6.285714
0.857143
0.136364
0
0
0
0
0
0
0
0
0
0
0.22335
197
13
41
15.153846
0.862745
0.167513
0
0
0
0
0.064103
0
0
0
0
0
0
1
0.166667
false
0.166667
0.166667
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
455d1fb2d6ba863715dcdd339a27d634ebb4ab20
145
py
Python
src/utils/config.py
olivertren/check-worthy
77ecc3cc92c800b3dd9839a7a7d6ccd79eba1214
[ "MIT" ]
null
null
null
src/utils/config.py
olivertren/check-worthy
77ecc3cc92c800b3dd9839a7a7d6ccd79eba1214
[ "MIT" ]
null
null
null
src/utils/config.py
olivertren/check-worthy
77ecc3cc92c800b3dd9839a7a7d6ccd79eba1214
[ "MIT" ]
null
null
null
from configparser import ConfigParser def get_config(): config = ConfigParser() config.read("config.ini") return config['claimrank']
24.166667
37
0.724138
16
145
6.5
0.625
0
0
0
0
0
0
0
0
0
0
0
0.165517
145
6
38
24.166667
0.859504
0
0
0
0
0
0.130137
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
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
455e0a731dd5c50adab7e737d2ece112a1e2222f
24
py
Python
code_examples/chapter3/invalid/invalid_type.py
trungnghiahoang96/RobustPython
dafb95d801dff2c8ff7856ba46d3c052d54e0033
[ "MIT" ]
39
2020-12-01T20:52:13.000Z
2022-03-19T00:56:12.000Z
code_examples/chapter3/invalid/invalid_type.py
trungnghiahoang96/RobustPython
dafb95d801dff2c8ff7856ba46d3c052d54e0033
[ "MIT" ]
null
null
null
code_examples/chapter3/invalid/invalid_type.py
trungnghiahoang96/RobustPython
dafb95d801dff2c8ff7856ba46d3c052d54e0033
[ "MIT" ]
10
2021-05-18T18:29:32.000Z
2022-02-26T13:54:06.000Z
a: int = 5 a = "string"
8
12
0.5
5
24
2.4
0.8
0
0
0
0
0
0
0
0
0
0
0.058824
0.291667
24
2
13
12
0.647059
0
0
0
0
0
0.25
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
4561434bf08ff6ab79a1178c890aafb06f91f2b1
106
py
Python
multifactor/__init__.py
asucrews/django-multifactor
f82ed08cd4e94a91b597050a78e95c307aee304b
[ "MIT" ]
15
2019-09-11T21:25:30.000Z
2021-10-29T21:54:12.000Z
multifactor/__init__.py
asucrews/django-multifactor
f82ed08cd4e94a91b597050a78e95c307aee304b
[ "MIT" ]
31
2020-01-28T08:06:05.000Z
2022-03-18T09:39:50.000Z
multifactor/__init__.py
asucrews/django-multifactor
f82ed08cd4e94a91b597050a78e95c307aee304b
[ "MIT" ]
10
2020-01-28T03:35:01.000Z
2022-03-18T03:05:27.000Z
import django if django.VERSION < (3, 2): default_app_config = 'multifactor.apps.MultifactorConfig'
17.666667
61
0.745283
13
106
5.923077
0.923077
0
0
0
0
0
0
0
0
0
0
0.022222
0.150943
106
5
62
21.2
0.833333
0
0
0
0
0
0.320755
0.320755
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
456b84ccd315a0c93e443234e848cca1ce99f8d4
54
py
Python
main/pangomm/update.py
RoastVeg/cports
803c7f07af341eb32f791b6ec1f237edb2764bd5
[ "BSD-2-Clause" ]
null
null
null
main/pangomm/update.py
RoastVeg/cports
803c7f07af341eb32f791b6ec1f237edb2764bd5
[ "BSD-2-Clause" ]
null
null
null
main/pangomm/update.py
RoastVeg/cports
803c7f07af341eb32f791b6ec1f237edb2764bd5
[ "BSD-2-Clause" ]
null
null
null
url = "https://gitlab.gnome.org/GNOME/pangomm/-/tags"
27
53
0.703704
8
54
4.75
0.875
0
0
0
0
0
0
0
0
0
0
0
0.055556
54
1
54
54
0.745098
0
0
0
0
0
0.833333
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
45c014cd98b9090820891ffe0153077f7676ab98
4,789
py
Python
tests/eigen_bp_test.py
brianv0/ndarray
3dbb86b949997feb96ab550cb18ac0ec19c57bda
[ "BSD-2-Clause" ]
null
null
null
tests/eigen_bp_test.py
brianv0/ndarray
3dbb86b949997feb96ab550cb18ac0ec19c57bda
[ "BSD-2-Clause" ]
null
null
null
tests/eigen_bp_test.py
brianv0/ndarray
3dbb86b949997feb96ab550cb18ac0ec19c57bda
[ "BSD-2-Clause" ]
15
2017-08-22T17:35:52.000Z
2019-06-25T16:06:23.000Z
# -*- python -*- # # Copyright (c) 2010-2012, Jim Bosch # All rights reserved. # # ndarray is distributed under a simple BSD-like license; # see the LICENSE file that should be present in the root # of the source distribution, or alternately available at: # https://github.com/ndarray/ndarray # import eigen_bp_tes...
54.420455
109
0.657757
683
4,789
4.241581
0.18448
0.124266
0.113911
0.144978
0.760442
0.7204
0.706593
0.614084
0.584052
0.558509
0
0.029297
0.194613
4,789
87
110
55.045977
0.721805
0.058467
0
0.117647
0
0
0.050689
0.020454
0
0
0
0
0.529412
1
0.102941
false
0
0.044118
0
0.161765
0
0
0
0
null
0
0
0
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
45c21d417fc3e2fc51a210ea31af96e642bbf0fc
88
py
Python
agendafisio/core/urls.py
fossalex/agenda_fisio
af83ef3020778b691f9c78695abb5cf8d671de84
[ "MIT" ]
null
null
null
agendafisio/core/urls.py
fossalex/agenda_fisio
af83ef3020778b691f9c78695abb5cf8d671de84
[ "MIT" ]
null
null
null
agendafisio/core/urls.py
fossalex/agenda_fisio
af83ef3020778b691f9c78695abb5cf8d671de84
[ "MIT" ]
null
null
null
from django.urls import path from agendafisio.core import views urlpatterns = [ ]
12.571429
34
0.738636
11
88
5.909091
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.204545
88
7
35
12.571429
0.928571
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
45dbd88f538ef5b8934bc12051e98e1eb730c1b5
61,586
py
Python
tests/examples/minlplib/du-opt.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
2
2021-07-03T13:19:10.000Z
2022-02-06T10:48:13.000Z
tests/examples/minlplib/du-opt.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
1
2021-07-04T14:52:14.000Z
2021-07-15T10:17:11.000Z
tests/examples/minlplib/du-opt.py
ouyang-w-19/decogo
52546480e49776251d4d27856e18a46f40c824a1
[ "MIT" ]
null
null
null
# MINLP written by GAMS Convert at 04/21/18 13:51:37 # # Equation counts # Total E G L N X C B # 10 1 6 3 0 0 0 0 # # Variable counts # x b i s1s s2s sc ...
108.235501
120
0.558552
9,545
61,586
3.603876
0.263279
0.009768
0.012559
0.012035
0.039478
0.024972
0.012965
0.012733
0.012733
0.006105
0
0.652375
0.280437
61,586
568
121
108.426056
0.123863
0.011041
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.001866
0
0.001866
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
45e40bbbadb7f9d6d30d46144dbcd20fc28450f7
150
py
Python
django_dropbox_upload_handler/urls.py
jagonalez/django-dropbox-upload-handler
8793ef01523d1de35394f8f818b9c407584d5d11
[ "MIT" ]
null
null
null
django_dropbox_upload_handler/urls.py
jagonalez/django-dropbox-upload-handler
8793ef01523d1de35394f8f818b9c407584d5d11
[ "MIT" ]
null
null
null
django_dropbox_upload_handler/urls.py
jagonalez/django-dropbox-upload-handler
8793ef01523d1de35394f8f818b9c407584d5d11
[ "MIT" ]
null
null
null
from django.conf.urls import url from .views import UploadProgressView urlpatterns = [ url(r'^upload_progress$', UploadProgressView.as_view()) ]
21.428571
59
0.766667
18
150
6.277778
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.126667
150
6
60
25
0.862595
0
0
0
0
0
0.113333
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
afd9229e84d26414d874b220eeb520a90b100cdb
670
py
Python
test/hlt/pytest/python/com/huawei/iotplatform/client/dto/QueryDeviceGroupsInDTO.py
yuanyi-thu/AIOT-
27f67d98324593c4c6c66bbd5e2a4aa7b9a4ac1e
[ "BSD-3-Clause" ]
128
2018-10-29T04:11:47.000Z
2022-03-07T02:19:14.000Z
test/hlt/pytest/python/com/huawei/iotplatform/client/dto/QueryDeviceGroupsInDTO.py
yuanyi-thu/AIOT-
27f67d98324593c4c6c66bbd5e2a4aa7b9a4ac1e
[ "BSD-3-Clause" ]
40
2018-11-02T00:40:48.000Z
2021-12-07T09:33:56.000Z
test/hlt/pytest/python/com/huawei/iotplatform/client/dto/QueryDeviceGroupsInDTO.py
yuanyi-thu/AIOT-
27f67d98324593c4c6c66bbd5e2a4aa7b9a4ac1e
[ "BSD-3-Clause" ]
118
2018-10-29T08:43:57.000Z
2022-01-07T06:49:25.000Z
class QueryDeviceGroupsInDTO(object): def __init__(self): self.accessAppId = None self.pageNo = None self.pageSize = None self.name = None def getAccessAppId(self): return self.accessAppId def setAccessAppId(self, accessAppId): self.accessAppId = accessAppI...
20.9375
42
0.625373
70
670
5.928571
0.285714
0.144578
0.13494
0
0
0
0
0
0
0
0
0
0.29403
670
31
43
21.612903
0.877378
0
0
0
0
0
0
0
0
0
0
0
0
1
0.409091
false
0
0
0.181818
0.636364
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
afdb50cd800669656be87159eaa003f71fc30010
464
py
Python
hearing_screening/models.py
abhi1345/hearing-screen
096cd8b2d13a9b8b1938f333a9f534a82985b63d
[ "BSD-2-Clause" ]
6
2017-10-05T18:18:57.000Z
2019-06-03T01:55:21.000Z
hearing_screening/models.py
abhi1345/hearing-screen
096cd8b2d13a9b8b1938f333a9f534a82985b63d
[ "BSD-2-Clause" ]
null
null
null
hearing_screening/models.py
abhi1345/hearing-screen
096cd8b2d13a9b8b1938f333a9f534a82985b63d
[ "BSD-2-Clause" ]
3
2017-02-26T20:47:10.000Z
2018-07-26T03:17:08.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from hearing_screening import db import datetime class User(db.Model): id = db.Column(db.Integer, primary_key=True) input_code = db.Column(db.String(128), nullable=False) passed_screening = db.Column(db.Boolean, default=False) created = db.Column(db.Date...
27.294118
78
0.698276
64
464
4.90625
0.59375
0.101911
0.127389
0
0
0
0
0
0
0
0
0.010204
0.155172
464
16
79
29
0.790816
0.090517
0
0
0
0
0.033333
0
0
0
0
0
0
1
0.111111
false
0.222222
0.222222
0.111111
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
1
1
0
0
3
afea8a6fb41a3a7be6df867affe0bab396e98e61
58
py
Python
python_basics/String/string_concetination.py
alok8765/basic_python_practicse
9bd61f0b03fc1e703a75df39862a24692bb3fdb7
[ "MIT" ]
null
null
null
python_basics/String/string_concetination.py
alok8765/basic_python_practicse
9bd61f0b03fc1e703a75df39862a24692bb3fdb7
[ "MIT" ]
null
null
null
python_basics/String/string_concetination.py
alok8765/basic_python_practicse
9bd61f0b03fc1e703a75df39862a24692bb3fdb7
[ "MIT" ]
null
null
null
a="sam" last_letter = a[1:] z = 'p' + last_letter print(z)
14.5
21
0.62069
12
58
2.833333
0.666667
0.588235
0
0
0
0
0
0
0
0
0
0.020408
0.155172
58
4
22
14.5
0.673469
0
0
0
0
0
0.067797
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
b323dfc9a43855324fd1c50f0eab8bcfdc33d453
1,201
py
Python
saleor/core/utils/promo_code.py
igoryok-zp/saleor
3a6fe51c068aca991331d6eb43317102ed68ed09
[ "CC-BY-4.0" ]
2
2019-06-08T04:07:41.000Z
2019-07-21T15:25:16.000Z
saleor/core/utils/promo_code.py
igoryok-zp/saleor
3a6fe51c068aca991331d6eb43317102ed68ed09
[ "CC-BY-4.0" ]
3
2021-03-09T16:28:16.000Z
2022-02-10T19:08:00.000Z
saleor/core/utils/promo_code.py
techonomics69/saleor
fd4cf8531b65fed24b742d51bec8f015d61f3efc
[ "CC-BY-4.0" ]
1
2021-04-15T07:16:34.000Z
2021-04-15T07:16:34.000Z
import uuid from django.core.exceptions import ValidationError from ...discount.models import Voucher from ...giftcard.models import GiftCard class InvalidPromoCode(ValidationError): def __init__(self, message=None, **kwargs): if message is None: message = {"promo_code": "Promo code is inval...
29.292683
87
0.696087
156
1,201
5.102564
0.320513
0.124372
0.069095
0.065327
0.530151
0.351759
0.29397
0.29397
0.208543
0.208543
0
0.006067
0.17652
1,201
40
88
30.025
0.798787
0.064113
0
0.32
0
0
0.061717
0
0
0
0
0
0
1
0.24
false
0
0.16
0.12
0.64
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
b32c1a011c192f543c3f96b4068bbe443a82543d
1,329
py
Python
scripts/api_test.py
mami-project/vpp-mb
4c268e439bcf59d3e2acb5418eff42efe68b1fd8
[ "Apache-2.0" ]
5
2017-12-07T20:38:43.000Z
2021-06-14T02:25:13.000Z
scripts/api_test.py
mami-project/vpp-mb
4c268e439bcf59d3e2acb5418eff42efe68b1fd8
[ "Apache-2.0" ]
40
2017-10-10T10:39:55.000Z
2020-02-11T14:44:24.000Z
scripts/api_test.py
mami-project/vpp-mb
4c268e439bcf59d3e2acb5418eff42efe68b1fd8
[ "Apache-2.0" ]
2
2018-09-28T06:35:07.000Z
2019-10-10T15:27:00.000Z
#!/usr/bin/env python from __future__ import print_function from vpp_papi import VPP vpp = VPP(['/usr/share/vpp/api/vpe.api.json', '/home/vagrant/vpp-mb/mmb-plugin/mmb/mmb.api.json']) r = vpp.connect('justin', chroot_prefix='vpp1') #print(r) r = vpp.api.show_version() print('VPP version =', r.version.decode().rstri...
23.315789
98
0.602709
200
1,329
3.865
0.25
0.108668
0.085382
0.072445
0.617076
0.617076
0.617076
0.617076
0.617076
0.617076
0
0.006785
0.112867
1,329
56
99
23.732143
0.648855
0.037622
0
0.72973
0
0
0.367636
0.062058
0
0
0.003142
0
0
1
0
false
0
0.054054
0
0.054054
0.648649
0
0
0
null
0
0
0
0
0
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
1
0
3
b32ec484c20673c4b5e182bbf67694d68c06d765
1,171
py
Python
pyrunner/tasks/base.py
SuperPudding98/pyrunner
892c0081dd462759a517888005ca434a1540b00d
[ "MIT" ]
null
null
null
pyrunner/tasks/base.py
SuperPudding98/pyrunner
892c0081dd462759a517888005ca434a1540b00d
[ "MIT" ]
null
null
null
pyrunner/tasks/base.py
SuperPudding98/pyrunner
892c0081dd462759a517888005ca434a1540b00d
[ "MIT" ]
null
null
null
from __future__ import annotations from typing import TYPE_CHECKING if TYPE_CHECKING: from logbook import Logger from pyrunner.runners.base import Runner from abc import ABC, abstractmethod class Task(ABC): """ An abstract base class for a scheduled task. """ def __init__(self, runner: Runner...
28.560976
140
0.631085
144
1,171
5.0625
0.465278
0.057613
0.057613
0.082305
0.241427
0.241427
0.11797
0.11797
0.11797
0.11797
0
0
0.292058
1,171
40
141
29.275
0.879373
0.401366
0
0.117647
0
0
0
0
0
0
0
0
0
1
0.235294
false
0.117647
0.294118
0
0.588235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
b35bbc2133b65fe43a1acaa01ebb1b8bb4c23640
9,198
py
Python
planarity_generation/binary_tree_v2.py
TeamNotJava/networkx-related
a045d8a0f66fa365775e4d77ae85e5a1ccb271eb
[ "BSD-3-Clause" ]
2
2018-08-02T15:11:20.000Z
2018-09-18T13:20:36.000Z
planarity_generation/binary_tree_v2.py
TeamNotJava/networkx-related
a045d8a0f66fa365775e4d77ae85e5a1ccb271eb
[ "BSD-3-Clause" ]
3
2018-06-06T15:39:33.000Z
2018-06-06T15:40:11.000Z
planarity_generation/binary_tree_v2.py
TeamNotJava/networkx-related
a045d8a0f66fa365775e4d77ae85e5a1ccb271eb
[ "BSD-3-Clause" ]
1
2018-09-18T13:31:01.000Z
2018-09-18T13:31:01.000Z
# -*- coding: utf-8 -*- numb_nodes = 0 numb_black_nodes = 0 numb_white_nodes = 0 import random from oracle import bern ################################################################## # THIS SAMPLER IS BASED ON THE PAPER "QUADRATIC EXACT-SIZE AND # # LINEAR APPROXIMATE-SIZE RANDOM GENERATION OF PLANAR GRAPHS...
31.9375
98
0.62394
1,377
9,198
3.895425
0.10167
0.015287
0.019575
0.012677
0.792878
0.732289
0.702461
0.677479
0.660701
0.6044
0
0.019399
0.243422
9,198
287
99
32.04878
0.751401
0.390737
0
0.668966
0
0
0.002961
0
0
0
0
0
0
1
0.089655
false
0
0.013793
0
0.310345
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
2feef38870e776c7b8d066f0be8ff1cb5da60cce
638
py
Python
aws_mock/requests/authorize_security_group_ingress.py
enaydanov/aws_mock
4ad3dca270ad164693e85741d5e92f845c34aa01
[ "Apache-2.0" ]
null
null
null
aws_mock/requests/authorize_security_group_ingress.py
enaydanov/aws_mock
4ad3dca270ad164693e85741d5e92f845c34aa01
[ "Apache-2.0" ]
1
2021-10-21T21:06:29.000Z
2021-10-21T21:06:29.000Z
aws_mock/requests/authorize_security_group_ingress.py
bentsi/aws_mock
d6c1b963e02b4cd3602722e7135f4d65f6a71d3e
[ "Apache-2.0" ]
1
2021-11-08T14:20:36.000Z
2021-11-08T14:20:36.000Z
import logging from aws_mock.lib import get_collection_by_resource_id, aws_response LOGGER = logging.getLogger(__name__) @aws_response def authorize_security_group_ingress(security_group_id: str) -> dict: collection = get_collection_by_resource_id(resource_id=security_group_id) if security_group := collect...
33.578947
77
0.727273
83
638
5.108434
0.445783
0.275943
0.247642
0.160377
0.117925
0
0
0
0
0
0
0
0.164577
638
18
78
35.444444
0.795497
0
0
0
0
0
0.12069
0.034483
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.307692
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
2ff4014fd7985b9ae0ed2229f9bcfe007cfc113a
60
py
Python
daf/__init__.py
jayvdb/django-action-framework
b3858f45c2608bc8a1ad8a03ab70012f82632ee4
[ "BSD-3-Clause" ]
16
2020-06-25T14:28:59.000Z
2022-02-07T12:15:24.000Z
daf/__init__.py
jayvdb/django-action-framework
b3858f45c2608bc8a1ad8a03ab70012f82632ee4
[ "BSD-3-Clause" ]
11
2020-07-21T00:18:19.000Z
2022-02-07T12:10:29.000Z
daf/__init__.py
jayvdb/django-action-framework
b3858f45c2608bc8a1ad8a03ab70012f82632ee4
[ "BSD-3-Clause" ]
1
2020-06-29T01:53:39.000Z
2020-06-29T01:53:39.000Z
default_app_config = 'daf.apps.DjangoActionFrameworkConfig'
30
59
0.866667
6
60
8.333333
1
0
0
0
0
0
0
0
0
0
0
0
0.05
60
1
60
60
0.877193
0
0
0
0
0
0.6
0.6
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
6412fd3e6205ad8e98f2442a4ded4137b8e47fde
1,607
py
Python
tvl_backends/tvl-backends-fffr/tests/conftest.py
ashwhall/tvl
78fa8d2908d8eac8a032273d3142ab530cee1a33
[ "Apache-2.0" ]
21
2019-02-28T02:58:21.000Z
2021-06-02T03:36:34.000Z
tvl_backends/tvl-backends-fffr/tests/conftest.py
ashwhall/tvl
78fa8d2908d8eac8a032273d3142ab530cee1a33
[ "Apache-2.0" ]
25
2019-02-22T11:39:34.000Z
2021-06-02T00:12:26.000Z
tvl_backends/tvl-backends-fffr/tests/conftest.py
ashwhall/tvl
78fa8d2908d8eac8a032273d3142ab530cee1a33
[ "Apache-2.0" ]
6
2019-05-31T02:06:14.000Z
2021-07-14T06:27:17.000Z
from pathlib import Path import PIL.Image import pytest import torch from tvl_backends.fffr import FffrBackendFactory data_dir = Path(__file__).parent.parent.parent.parent.joinpath('data') # Get the slow CUDA initialisation out of the way CUDA_DEVICES = [f'cuda:{i}' for i in range(torch.cuda.device_count())] for de...
22.957143
81
0.757312
234
1,607
4.991453
0.273504
0.122432
0.136986
0.085616
0.48887
0.364726
0.364726
0.30137
0.236301
0.236301
0
0.013287
0.110143
1,607
69
82
23.289855
0.803497
0.029247
0
0.238095
0
0
0.127086
0.035302
0
0
0
0
0
1
0.261905
false
0
0.119048
0.261905
0.642857
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
641cc831249be6d4245d0024f1787cf2e8bbc083
54
py
Python
culqi/utils/status_codes.py
Nicerova7/culqi-python
a148fcb91269ffb6a05cb45d7c1e2af3be584c21
[ "MIT" ]
14
2016-03-07T03:50:07.000Z
2021-01-10T23:52:50.000Z
culqi/utils/status_codes.py
softbutterfly/culqi-api-python
016a333d9d7a52afe3230e370bbe3705ec0d9966
[ "MIT" ]
14
2016-03-12T00:51:33.000Z
2021-11-02T19:07:47.000Z
culqi/utils/status_codes.py
softbutterfly/culqi-api-python
016a333d9d7a52afe3230e370bbe3705ec0d9966
[ "MIT" ]
21
2016-04-01T05:12:34.000Z
2021-03-04T19:31:00.000Z
class HTTPStatusCode: OK = 200 REDIRECT = 300
13.5
21
0.648148
6
54
5.833333
1
0
0
0
0
0
0
0
0
0
0
0.157895
0.296296
54
3
22
18
0.763158
0
0
0
0
0
0
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
6431e0361cf891d6ebcb2c750b324aa98d3a5894
989
py
Python
appscale/cloud_storage/prime.py
AppScale/appscale-cloud-storage
2d19cf5555f8f38a66f8bb6b7ba2532a9f262ec4
[ "Apache-2.0" ]
6
2016-09-23T17:56:53.000Z
2022-02-02T08:33:08.000Z
appscale/cloud_storage/prime.py
AppScale/appscale-cloud-storage
2d19cf5555f8f38a66f8bb6b7ba2532a9f262ec4
[ "Apache-2.0" ]
2
2019-08-16T15:43:38.000Z
2019-09-23T16:38:25.000Z
appscale/cloud_storage/prime.py
AppScale/appscale-cloud-storage
2d19cf5555f8f38a66f8bb6b7ba2532a9f262ec4
[ "Apache-2.0" ]
6
2016-09-23T17:56:58.000Z
2021-06-08T09:44:12.000Z
""" Primes the metadata backend. """ from appscale.cloud_storage.utils import pg_connection def prime(): """ Populates the metadata backend with the required tables. """ with pg_connection.cursor() as cur: cur.execute(""" CREATE TABLE IF NOT EXISTS buckets ( project text, ...
23.547619
68
0.516684
97
989
5.206186
0.443299
0.079208
0.126733
0.166337
0.253465
0.253465
0.253465
0
0
0
0
0
0.394338
989
41
69
24.121951
0.843072
0.086957
0
0.4375
0
0
0.707537
0
0
0
0
0
0
1
0.03125
true
0
0.03125
0
0.0625
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
ff24f81eafa36a5fdc547e27f5da060f5efdf96d
938
py
Python
Python_DIO/aula_09.py
romulogoleniesky/DIO_DigitalInovationOne
1a5af86650e137a0cbb71ab5cd777600769877f7
[ "MIT" ]
null
null
null
Python_DIO/aula_09.py
romulogoleniesky/DIO_DigitalInovationOne
1a5af86650e137a0cbb71ab5cd777600769877f7
[ "MIT" ]
null
null
null
Python_DIO/aula_09.py
romulogoleniesky/DIO_DigitalInovationOne
1a5af86650e137a0cbb71ab5cd777600769877f7
[ "MIT" ]
null
null
null
# GERAR , COPIAR, MOVER, ECREVER E LER INFORMAÇÕES DE ARQUIVOS EXTERNOS. #CRIANDO ARQUIVO: #open('FOLHA.txt', 'w') # TRANSFORMANDO O ARQUIVO EM UM OBJETO, E ESCREVENDO NELE: # arquivo = open('FOLHA.txt', 'w') # arquivo.write('Primeira Linha \n') # Quebra de linha : \n # ATUALIZANDO DADOS JÁ INSERIDOS: # arquivo = op...
24.684211
72
0.651386
118
938
5.042373
0.432203
0.110924
0.134454
0.159664
0.356303
0.322689
0.215126
0
0
0
0
0
0.183369
938
37
73
25.351351
0.776762
0.924307
0
null
0
null
0
0
null
0
0
0.027027
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
ff3c4b2dcb19c3086f42e3dd111324a3543f7980
271
py
Python
commanderbot/ext/automod/events/raw_reaction_added.py
CommanderBot-Dev/commanderbot-ext
c8798b4475b892c234a1e4ffbfb4fed3fb702938
[ "MIT" ]
4
2020-09-25T19:22:48.000Z
2021-06-16T18:08:49.000Z
commanderbot/ext/automod/events/raw_reaction_added.py
CommanderBot-Dev/commanderbot-py
835841f733e466c5a0e6724d4020747c55856fe3
[ "MIT" ]
23
2021-08-30T04:07:29.000Z
2021-11-08T17:44:41.000Z
commanderbot/ext/automod/events/raw_reaction_added.py
CommanderBot-Dev/commanderbot-py
835841f733e466c5a0e6724d4020747c55856fe3
[ "MIT" ]
3
2020-09-25T19:23:22.000Z
2021-03-16T18:19:48.000Z
from dataclasses import dataclass from discord import RawReactionActionEvent from commanderbot.ext.automod.automod_event import AutomodEventBase __all__ = ("RawReactionAdded",) @dataclass class RawReactionAdded(AutomodEventBase): payload: RawReactionActionEvent
20.846154
67
0.841328
24
271
9.291667
0.625
0
0
0
0
0
0
0
0
0
0
0
0.107011
271
12
68
22.583333
0.921488
0
0
0
0
0
0.059041
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.714286
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
ff5ecc3af1ab0d662d25b9f17f208ab35d799713
194
py
Python
NakovBook/SimpleCalculations/VegetableMarket.py
LuGeorgiev/PythonSelfLearning
db8fcff2c2df8946d6acf2a2e5677eccf2bbe5dc
[ "MIT" ]
null
null
null
NakovBook/SimpleCalculations/VegetableMarket.py
LuGeorgiev/PythonSelfLearning
db8fcff2c2df8946d6acf2a2e5677eccf2bbe5dc
[ "MIT" ]
null
null
null
NakovBook/SimpleCalculations/VegetableMarket.py
LuGeorgiev/PythonSelfLearning
db8fcff2c2df8946d6acf2a2e5677eccf2bbe5dc
[ "MIT" ]
null
null
null
price_vegetables = float(input()) price_fruits = float(input()) kg_vegetables = int(input()) kg_fruits = int(input()) print(str((price_fruits*kg_fruits + price_vegetables*kg_vegetables)/1.94))
27.714286
74
0.757732
28
194
4.964286
0.392857
0.215827
0
0
0
0
0
0
0
0
0
0.016854
0.082474
194
6
75
32.333333
0.764045
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ff740ebc8bde53fe72633d989a1e7e81253e729a
42
py
Python
bob/bio/base/test/dummy/config2.py
bioidiap/bob.bio.base
44b8d192e957eb328591c8110cf0113f602292ef
[ "BSD-3-Clause" ]
16
2016-04-06T20:37:55.000Z
2019-10-19T08:06:25.000Z
bob/bio/base/test/dummy/config2.py
bioidiap/bob.bio.base
44b8d192e957eb328591c8110cf0113f602292ef
[ "BSD-3-Clause" ]
25
2015-07-04T17:41:40.000Z
2016-08-08T20:36:01.000Z
bob/bio/base/test/dummy/config2.py
bioidiap/bob.bio.base
44b8d192e957eb328591c8110cf0113f602292ef
[ "BSD-3-Clause" ]
7
2015-08-07T17:21:02.000Z
2018-08-13T15:51:54.000Z
verbose = 2 sub_directory = "test_dummy2"
14
29
0.761905
6
42
5
1
0
0
0
0
0
0
0
0
0
0
0.055556
0.142857
42
2
30
21
0.777778
0
0
0
0
0
0.261905
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
ff808c8c97663add7a460a775af00c8cf5bd9c7d
801
py
Python
coworks/error.py
gdoumenc/coworks
97bb3babfd9c652315b5cf830d170cd20485b1d1
[ "MIT" ]
23
2019-12-26T16:28:40.000Z
2022-02-22T14:05:47.000Z
coworks/error.py
gdoumenc/coworks
97bb3babfd9c652315b5cf830d170cd20485b1d1
[ "MIT" ]
15
2019-12-24T13:29:29.000Z
2021-12-28T10:16:36.000Z
coworks/error.py
gdoumenc/coworks
97bb3babfd9c652315b5cf830d170cd20485b1d1
[ "MIT" ]
4
2021-07-10T17:59:51.000Z
2022-02-14T18:53:00.000Z
from chalice import ChaliceViewError class CwsError(Exception): def __init__(self, message): self.msg = message class BadRequestError(ChaliceViewError): STATUS_CODE = 400 class UnauthorizedError(ChaliceViewError): STATUS_CODE = 401 class ForbiddenError(ChaliceViewError): STATUS_CODE = 40...
17.042553
49
0.769039
74
801
8.135135
0.459459
0.365449
0.431894
0
0
0
0
0
0
0
0
0.045113
0.169788
801
46
50
17.413043
0.86015
0
0
0
0
0
0
0
0
0
0
0
0
1
0.041667
false
0
0.041667
0
0.958333
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
ffaa93579c7a9dd8d1ccb03dd4e4a3a72a381a91
1,397
py
Python
infoblox_netmri/api/remote/models/partition_definition_grid_remote.py
IngmarVG-IB/infoblox-netmri
b0c725fd64aee1890d83917d911b89236207e564
[ "Apache-2.0" ]
null
null
null
infoblox_netmri/api/remote/models/partition_definition_grid_remote.py
IngmarVG-IB/infoblox-netmri
b0c725fd64aee1890d83917d911b89236207e564
[ "Apache-2.0" ]
null
null
null
infoblox_netmri/api/remote/models/partition_definition_grid_remote.py
IngmarVG-IB/infoblox-netmri
b0c725fd64aee1890d83917d911b89236207e564
[ "Apache-2.0" ]
null
null
null
from ..remote import RemoteModel from infoblox_netmri.utils.utils import check_api_availability class PartitionDefinitionGridRemote(RemoteModel): """ | ``id:`` none | ``attribute type:`` string | ``PartitionTableName:`` none | ``attribute type:`` string | ``PartitionC...
20.246377
62
0.475304
83
1,397
7.963855
0.337349
0.216339
0.282905
0.382753
0
0
0
0
0
0
0
0
0.395132
1,397
69
63
20.246377
0.782249
0.450251
0
0
0
0
0.22186
0
0
0
0
0
0
1
0
false
0
0.133333
0
0.266667
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
ffb971cdf90f5aedd181939ec31c8543db7d4e82
123
py
Python
Exercicios/ex001.py
wellington-oniromante/cursoemvideo-python
81d9837109d18d4f3350d5498a311c3c4608c1dd
[ "MIT" ]
null
null
null
Exercicios/ex001.py
wellington-oniromante/cursoemvideo-python
81d9837109d18d4f3350d5498a311c3c4608c1dd
[ "MIT" ]
null
null
null
Exercicios/ex001.py
wellington-oniromante/cursoemvideo-python
81d9837109d18d4f3350d5498a311c3c4608c1dd
[ "MIT" ]
null
null
null
msg = 'Olá , Mundo' # msg é uma variável print(msg) #outra forma de fazer é a seguinte, sem variável print('Olá, Mundo!')
20.5
48
0.691057
21
123
4.047619
0.666667
0.188235
0
0
0
0
0
0
0
0
0
0
0.186992
123
5
49
24.6
0.85
0.528455
0
0
0
0
0.4
0
0
0
0
0
0
1
0
false
0
0
0
0
0.666667
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
4403990bf49cce7eba4c7819d362c3a8054ead8b
601
py
Python
src/GraphVisualizer.py
paulpatault/PathFinding-Visualisation
4b0bd7b6d5c32a8543684ac02e169b722bb2e970
[ "MIT" ]
null
null
null
src/GraphVisualizer.py
paulpatault/PathFinding-Visualisation
4b0bd7b6d5c32a8543684ac02e169b722bb2e970
[ "MIT" ]
null
null
null
src/GraphVisualizer.py
paulpatault/PathFinding-Visualisation
4b0bd7b6d5c32a8543684ac02e169b722bb2e970
[ "MIT" ]
null
null
null
from pathfinder.Graph import Graph from pathfinder.Algorithms import Dijkstra from pathfinder.Algorithms import AStar from pathfinder.Algorithms import Algorithm from utils.m_parser import args algorithm = AStar() if args.algo == "Dijkstra": algorithm = Dijkstra() class GraphVisualizer: def __init__(self, ...
26.130435
81
0.710483
75
601
5.626667
0.333333
0.132701
0.170616
0.21327
0
0
0
0
0
0
0
0
0.202995
601
22
82
27.318182
0.881002
0
0
0
0
0
0.013311
0
0
0
0
0
0
1
0.125
false
0
0.3125
0.0625
0.5625
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
4410658ebb1f096e13442c9c98edb57083c10593
367
py
Python
raiden/network/pathfinding.py
konradkonrad/raiden
b2fe21eb20cd34a689b8449488f4dc52dbe93069
[ "MIT" ]
null
null
null
raiden/network/pathfinding.py
konradkonrad/raiden
b2fe21eb20cd34a689b8449488f4dc52dbe93069
[ "MIT" ]
null
null
null
raiden/network/pathfinding.py
konradkonrad/raiden
b2fe21eb20cd34a689b8449488f4dc52dbe93069
[ "MIT" ]
4
2019-01-24T14:45:06.000Z
2019-04-01T16:12:40.000Z
from typing import Dict, Union import requests from raiden.constants import DEFAULT_HTTP_REQUEST_TIMEOUT def get_pfs_info(url: str) -> Union[Dict, bool]: try: return requests.get('{}/api/v1/info'.format(url), timeout=DEFAULT_HTTP_REQUEST_TIMEOUT).json() except requests.exc...
28.230769
72
0.692098
45
367
5.466667
0.644444
0.089431
0.146341
0.203252
0
0
0
0
0
0
0
0.003484
0.217984
367
12
73
30.583333
0.853659
0
0
0
0
0
0.038147
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.666667
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
445f90bd93d5b4801ad2078b5f8f28cd930f4e3a
124
py
Python
Python/FactorialOfNumbers.py
OluSure/Hacktoberfest2021-1
ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea
[ "MIT" ]
215
2021-10-01T08:18:16.000Z
2022-03-29T04:12:03.000Z
Python/FactorialOfNumbers.py
OluSure/Hacktoberfest2021-1
ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea
[ "MIT" ]
51
2021-10-01T08:16:42.000Z
2021-10-31T13:51:51.000Z
Python/FactorialOfNumbers.py
OluSure/Hacktoberfest2021-1
ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea
[ "MIT" ]
807
2021-10-01T08:11:45.000Z
2021-11-21T18:57:09.000Z
for i in range(int(input())): fact=1 a=int(input()) for j in range(1,a+1,1): fact=fact*j print(fact)
20.666667
29
0.532258
24
124
2.75
0.458333
0.212121
0
0
0
0
0
0
0
0
0
0.044944
0.282258
124
6
30
20.666667
0.696629
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
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
445fd2e60c6ea3c27f568c27d5154cd59e9283e9
266
py
Python
declare_qtquick/widgets/api/qtscxml/__list__.py
likianta/declare-qtquick
93c2ce49d841ccdeb0272085c5f731139927f0d7
[ "MIT" ]
3
2021-11-02T03:45:27.000Z
2022-03-27T05:33:36.000Z
declare_qtquick/widgets/api/qtscxml/__list__.py
likianta/declare-qtquick
93c2ce49d841ccdeb0272085c5f731139927f0d7
[ "MIT" ]
null
null
null
declare_qtquick/widgets/api/qtscxml/__list__.py
likianta/declare-qtquick
93c2ce49d841ccdeb0272085c5f731139927f0d7
[ "MIT" ]
null
null
null
from .__base__ import * class EventConnection(C, W.PsEventConnection): pass class InvokedServices(C, W.PsInvokedServices): pass class ScxmlStateMachine(C, W.PsScxmlStateMachine): pass class StateMachineLoader(C, W.PsStateMachineLoader): pass
14.777778
52
0.75188
27
266
7.259259
0.555556
0.040816
0
0
0
0
0
0
0
0
0
0
0.165414
266
17
53
15.647059
0.882883
0
0
0.444444
0
0
0
0
0
0
0
0
0
1
0
true
0.444444
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
0
1
1
0
0
0
0
0
3
448b065b01a544037bc57d0b5b1fd86d86ffd932
80
py
Python
tests/scripts/script1.py
davidegazze/pyyawl
87e34281d5ef44025951ac59d90c3e7a2f8be706
[ "Apache-2.0" ]
null
null
null
tests/scripts/script1.py
davidegazze/pyyawl
87e34281d5ef44025951ac59d90c3e7a2f8be706
[ "Apache-2.0" ]
null
null
null
tests/scripts/script1.py
davidegazze/pyyawl
87e34281d5ef44025951ac59d90c3e7a2f8be706
[ "Apache-2.0" ]
null
null
null
data = {'city': ["New York", "Milano"], 'country': ["USA", "Italy"]} print(data)
40
68
0.5625
10
80
4.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.1125
80
2
69
40
0.633803
0
0
0
0
0
0.407407
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
448eb22ac05422415368a71f70f21529285e7597
1,232
py
Python
test/runtests2.py
UnofficialJuliaMirror/Feather.jl-becb17da-46f6-5d3c-ad1b-1c5fe96bc73c
3e6adaa4e71066afe05822e19471e1d4891ec749
[ "MIT" ]
80
2017-09-21T01:28:33.000Z
2021-08-14T06:01:22.000Z
test/runtests2.py
UnofficialJuliaMirror/Feather.jl-becb17da-46f6-5d3c-ad1b-1c5fe96bc73c
3e6adaa4e71066afe05822e19471e1d4891ec749
[ "MIT" ]
98
2017-09-19T03:44:48.000Z
2022-01-07T19:33:55.000Z
test/runtests2.py
UnofficialJuliaMirror/Feather.jl-becb17da-46f6-5d3c-ad1b-1c5fe96bc73c
3e6adaa4e71066afe05822e19471e1d4891ec749
[ "MIT" ]
26
2017-09-25T10:56:29.000Z
2021-06-19T19:16:33.000Z
import pandas as pd, numpy as np, datetime, unittest print("Reading feather from Python...") df2 = pd.read_feather("test2.feather") class TestFeather(unittest.TestCase): def test(self): # NOTE something changed with this and it hasn't been working # self.assertEqual(df2["Abinary"][0], "hey") ...
38.5
69
0.607955
158
1,232
4.683544
0.373418
0.364865
0.413514
0.101351
0.178378
0
0
0
0
0
0
0.058468
0.194805
1,232
31
70
39.741935
0.6875
0.156656
0
0
0
0
0.159574
0
0
0
0
0
0.681818
1
0.045455
false
0
0.045455
0
0.136364
0.045455
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
1
0
0
0
0
0
0
0
0
0
3
922940d91f3c478fee30249e4d55e4f1ac39764f
19
py
Python
boomerang/__init__.py
olalidmark/boomerang-client
c4a1d9d96190104b56e10faa78b37ee287929a17
[ "MIT" ]
29
2015-04-13T20:28:20.000Z
2021-11-30T19:37:48.000Z
boomerang/__init__.py
olalidmark/boomerang-client
c4a1d9d96190104b56e10faa78b37ee287929a17
[ "MIT" ]
null
null
null
boomerang/__init__.py
olalidmark/boomerang-client
c4a1d9d96190104b56e10faa78b37ee287929a17
[ "MIT" ]
7
2015-04-13T20:28:24.000Z
2021-11-30T19:58:59.000Z
__author__ = 'ola'
9.5
18
0.684211
2
19
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.157895
19
1
19
19
0.5625
0
0
0
0
0
0.157895
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
922e571d630b481ce5099e0a27b071dfbd5b2f1d
3,457
py
Python
snippets/msg_test.py
peppelinux/django-oidc-op
f0370a95d3cee98a1b1461ea54fe1a2ec43f733f
[ "Apache-2.0" ]
6
2019-11-04T10:29:04.000Z
2022-02-16T20:42:07.000Z
snippets/msg_test.py
peppelinux/django-oidc-op
f0370a95d3cee98a1b1461ea54fe1a2ec43f733f
[ "Apache-2.0" ]
13
2019-09-16T13:20:16.000Z
2022-01-31T09:53:02.000Z
snippets/msg_test.py
peppelinux/django-oidc-op
f0370a95d3cee98a1b1461ea54fe1a2ec43f733f
[ "Apache-2.0" ]
null
null
null
import json import requests from cryptojwt.key_jar import KeyJar from oidcmsg.message import Message issuer = "https://127.0.0.1:8000" issuer_metadata_url = '{}/.well-known/openid-configuration'.format(issuer) issuer_metadata = requests.get(issuer_metadata_url, verify=False).text issuer_jwks_uri = json.loads(issuer_...
86.425
921
0.923055
199
3,457
15.809045
0.522613
0.009536
0.015257
0.009536
0.037508
0.037508
0.020979
0
0
0
0
0.089736
0.036159
3,457
39
922
88.641026
0.854442
0.050911
0
0
0
0.045455
0.789442
0.756485
0
0
0
0
0
1
0
false
0
0.227273
0
0.227273
0.181818
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
922f8578f83e69572450096b3382422290fc56bd
482
py
Python
tests/isolated/patcher_importlib_lock.py
li-caspar/eventlet_0.30.2
a431842e29c26e46cfcfff60c93ca92e07663044
[ "MIT" ]
5,079
2015-01-01T03:39:46.000Z
2022-03-31T07:38:22.000Z
desktop/core/ext-py/eventlet-0.24.1/tests/isolated/patcher_importlib_lock.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
1,623
2015-01-01T08:06:24.000Z
2022-03-30T19:48:52.000Z
desktop/core/ext-py/eventlet-0.24.1/tests/isolated/patcher_importlib_lock.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
2,033
2015-01-04T07:18:02.000Z
2022-03-28T19:55:47.000Z
__test__ = False def do_import(): import encodings.idna if __name__ == '__main__': import sys import eventlet eventlet.monkey_patch() threading = eventlet.patcher.original('threading') sys.modules.pop('encodings.idna', None) # call "import encodings.idna" in a new thread thread = ...
18.538462
54
0.672199
59
482
5.220339
0.525424
0.168831
0.185065
0.149351
0.162338
0
0
0
0
0
0
0
0.217842
482
25
55
19.28
0.816976
0.190871
0
0
0
0
0.090439
0
0
0
0
0
0
1
0.071429
false
0.071429
0.428571
0
0.5
0.071429
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
92548c32f2b6db4951dfa0b38fa122d3af4a664e
137
py
Python
test/test_ops.py
pfrouleau/wce-triage-v2
25610cda55f5cb2170e13e121ae1cbaa92ef7626
[ "MIT" ]
3
2019-07-25T03:24:23.000Z
2021-06-23T14:01:34.000Z
test/test_ops.py
pfrouleau/wce-triage-v2
25610cda55f5cb2170e13e121ae1cbaa92ef7626
[ "MIT" ]
1
2019-12-20T16:04:19.000Z
2019-12-20T16:04:19.000Z
test/test_ops.py
pfrouleau/wce-triage-v2
25610cda55f5cb2170e13e121ae1cbaa92ef7626
[ "MIT" ]
2
2019-07-25T03:24:26.000Z
2021-02-14T05:27:11.000Z
import unittest class Test_ops(unittest.TestCase): def test_load_image(self): pass if __name__ == '__main__': unittest.main()
13.7
34
0.722628
18
137
4.888889
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.167883
137
9
35
15.222222
0.77193
0
0
0
0
0
0.058394
0
0
0
0
0
0
1
0.166667
false
0.166667
0.166667
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
1
0
0
0
0
0
3
92572afcb2075ee027a257b14274fb25037bb00a
143
py
Python
Python/cd/input.py
rvrheenen/OpenKattis
7fd59fcb54e86cdf10f56c580c218c62e584f391
[ "MIT" ]
12
2016-10-03T20:43:43.000Z
2021-06-12T17:18:42.000Z
Python/cd/input.py
rvrheenen/OpenKattis
7fd59fcb54e86cdf10f56c580c218c62e584f391
[ "MIT" ]
null
null
null
Python/cd/input.py
rvrheenen/OpenKattis
7fd59fcb54e86cdf10f56c580c218c62e584f391
[ "MIT" ]
10
2017-11-14T19:56:37.000Z
2021-02-02T07:39:57.000Z
jill = 10 iack = 10 print(str(iack)+" "+str(jill)) for i in range(iack): print(i) for j in range(jill): print(jill + j*2) print("0 0")
15.888889
30
0.594406
28
143
3.035714
0.428571
0.164706
0
0
0
0
0
0
0
0
0
0.061947
0.20979
143
8
31
17.875
0.690265
0
0
0
0
0
0.027972
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
926e00131c4b5602e3e8b9ec56c2821b2fb54050
5,629
py
Python
tests/test_dns_clouddns.py
vshosting/certbot-dns-clouddns
1da3092a7e2ecc6d7d2db5f531a4036174fdea6c
[ "Apache-2.0" ]
3
2020-04-27T22:24:03.000Z
2021-07-30T17:59:11.000Z
tests/test_dns_clouddns.py
vshosting/certbot-dns-clouddns
1da3092a7e2ecc6d7d2db5f531a4036174fdea6c
[ "Apache-2.0" ]
null
null
null
tests/test_dns_clouddns.py
vshosting/certbot-dns-clouddns
1da3092a7e2ecc6d7d2db5f531a4036174fdea6c
[ "Apache-2.0" ]
null
null
null
"""Tests for certbot_dns_clouddns.dns_clouddns.""" from certbot import errors import pytest from certbot_dns_clouddns import dns_clouddns @pytest.fixture(scope="session") def access_token(login_server): return login_server.RequestHandlerClass.ACCESS_TOKEN @pytest.fixture(scope="session") def clientid(api_serve...
33.505952
87
0.714514
728
5,629
5.273352
0.127747
0.075541
0.091691
0.071894
0.74733
0.685856
0.586351
0.49466
0.477989
0.477989
0
0.001579
0.212649
5,629
167
88
33.706587
0.864621
0.221531
0
0.436782
0
0
0.057577
0.013819
0
0
0
0
0.022989
1
0.241379
false
0.08046
0.034483
0.103448
0.402299
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
1
0
0
0
3
927494d3f3ae0eb1a29c540402c847332abfeaf7
20,970
py
Python
hse_de_project/methods.py
kekekekule/Differential-equations-project
51c7e2324f06c7900ba821f09d6c9523c5346555
[ "MIT" ]
null
null
null
hse_de_project/methods.py
kekekekule/Differential-equations-project
51c7e2324f06c7900ba821f09d6c9523c5346555
[ "MIT" ]
null
null
null
hse_de_project/methods.py
kekekekule/Differential-equations-project
51c7e2324f06c7900ba821f09d6c9523c5346555
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 ''' All methods here ''' import sys sys.path.append(".") import matplotlib.pyplot as plt import numpy as np import sympy as sy from fractions import Fraction as frac sy.init_printing() from typing import Callable, Tuple, List, NewType import pandas as pd import matplotlib.pyplot as plt impo...
30.216138
181
0.499952
2,841
20,970
3.501584
0.06547
0.014475
0.03659
0.045838
0.789908
0.742762
0.702553
0.684359
0.677724
0.670487
0
0.032473
0.371483
20,970
693
182
30.25974
0.722307
0.010205
0
0.69708
0
0
0.05028
0
0
0
0
0
0
1
0.107664
false
0.016423
0.018248
0.034672
0.218978
0.001825
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
929f06e0bd66916834d21cc08b0a3922d6303420
210
py
Python
src/essence/core/_environment.py
groundf/essence
e4bb815381fd361433d9b51c5f61770a0a1f3dec
[ "MIT" ]
null
null
null
src/essence/core/_environment.py
groundf/essence
e4bb815381fd361433d9b51c5f61770a0a1f3dec
[ "MIT" ]
null
null
null
src/essence/core/_environment.py
groundf/essence
e4bb815381fd361433d9b51c5f61770a0a1f3dec
[ "MIT" ]
1
2022-03-28T08:25:38.000Z
2022-03-28T08:25:38.000Z
# -*- coding: utf-8 -*- """ FIXME """ from essence.core._protocols import Singleton __all__ = tuple(("Environment")) class Environment(Singleton): def __init__(self, *args): self.args = args
12.352941
45
0.638095
23
210
5.434783
0.782609
0.128
0
0
0
0
0
0
0
0
0
0.005952
0.2
210
16
46
13.125
0.738095
0.133333
0
0
0
0
0.063218
0
0
0
0
0.0625
0
1
0.2
false
0
0.2
0
0.6
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
1
0
0
0
0
0
0
0
1
0
0
3
92a1d6e6af132e04ffaaddb5d4bf4a4aac1695c4
58
py
Python
base/test-show-scope/func-7.py
jpolitz/lambda-py-paper
746ef63fc1123714b4adaf78119028afbea7bd76
[ "Apache-2.0" ]
25
2015-04-16T04:31:49.000Z
2022-03-10T15:53:28.000Z
base/test-show-scope/func-7.py
jpolitz/lambda-py-paper
746ef63fc1123714b4adaf78119028afbea7bd76
[ "Apache-2.0" ]
1
2018-11-21T22:40:02.000Z
2018-11-26T17:53:11.000Z
base/test-show-scope/func-7.py
jpolitz/lambda-py-paper
746ef63fc1123714b4adaf78119028afbea7bd76
[ "Apache-2.0" ]
1
2021-03-26T03:36:19.000Z
2021-03-26T03:36:19.000Z
def f(): x = 8 def g(): nonlocal x x = 9 return x
8.285714
12
0.482759
12
58
2.333333
0.666667
0
0
0
0
0
0
0
0
0
0
0.055556
0.37931
58
6
13
9.666667
0.722222
0
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
92aae2cd15826925610a8ded23a43aca86d2b744
250
py
Python
hub/admin.py
westerncapelabs/uopboh-hub
10c36026e5588d1490dfa3396745db5b9a94e875
[ "BSD-3-Clause" ]
null
null
null
hub/admin.py
westerncapelabs/uopboh-hub
10c36026e5588d1490dfa3396745db5b9a94e875
[ "BSD-3-Clause" ]
2
2016-01-18T16:23:53.000Z
2016-02-22T08:50:56.000Z
hub/admin.py
westerncapelabs/uopboh-hub
10c36026e5588d1490dfa3396745db5b9a94e875
[ "BSD-3-Clause" ]
null
null
null
from django.contrib import admin from .models import FacilityCode class FacilityCodeAdmin(admin.ModelAdmin): list_display = ["code", "created_at"] list_filter = ["code", "created_at"] admin.site.register(FacilityCode, FacilityCodeAdmin)
20.833333
52
0.76
28
250
6.642857
0.642857
0.11828
0.139785
0
0
0
0
0
0
0
0
0
0.132
250
11
53
22.727273
0.857143
0
0
0
0
0
0.112
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
92b4cc0fc58935646a75c4deb41540c3a6bd13d4
27
py
Python
packages/whatsanalysis/__init__.py
sam-bailey/whatsapp-analysis
4e80e70b36f16ecbce3fae9edc708da310997ded
[ "MIT" ]
2
2017-12-18T23:15:51.000Z
2021-09-10T23:14:37.000Z
packages/whatsanalysis/__init__.py
sam-bailey/whatsapp-analysis
4e80e70b36f16ecbce3fae9edc708da310997ded
[ "MIT" ]
null
null
null
packages/whatsanalysis/__init__.py
sam-bailey/whatsapp-analysis
4e80e70b36f16ecbce3fae9edc708da310997ded
[ "MIT" ]
null
null
null
__all__ = ['whatsapp_chat']
27
27
0.740741
3
27
5
1
0
0
0
0
0
0
0
0
0
0
0
0.074074
27
1
27
27
0.6
0
0
0
0
0
0.464286
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
2bced2daa7593c3f82bf53b0ce80a5bd38b99443
8,018
py
Python
tase/static/emoji.py
soran-ghaderi/Chromusic_search_engine
e811401fee39ff4cb184750fcbde55053c69453d
[ "Apache-2.0" ]
4
2022-02-21T06:56:16.000Z
2022-03-07T21:10:19.000Z
tase/static/emoji.py
soran-ghaderi/Chromusic_search_engine
e811401fee39ff4cb184750fcbde55053c69453d
[ "Apache-2.0" ]
null
null
null
tase/static/emoji.py
soran-ghaderi/Chromusic_search_engine
e811401fee39ff4cb184750fcbde55053c69453d
[ "Apache-2.0" ]
1
2022-03-07T21:10:02.000Z
2022-03-07T21:10:02.000Z
"""#################################################################### # Copyright (C) # # 2021 Soran Ghaderi(soran.gdr.cs@gmail.com) # # Website: soran-ghaderi.github.io # # Follow me on social media ...
59.835821
109
0.698179
903
8,018
5.584718
0.227021
0.178465
0.252826
0.370811
0.560381
0.317073
0.034503
0.034503
0
0
0
0.000578
0.137441
8,018
133
110
60.285714
0.7286
0.152657
0
0
0
0
0.170172
0.038479
0
0
0
0
0
1
0
false
0
0.021505
0
0.978495
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
2bdb1ec0c3034154ad2da148e24ea19056a8ffda
148
py
Python
server/apps/recommendation/apps.py
Mayandev/django_morec
8d115f76ad69d7aa78b07dc06aa7047979ad134b
[ "MIT" ]
129
2019-04-20T08:23:25.000Z
2022-03-14T10:02:23.000Z
server/apps/recommendation/apps.py
heartplus/django_morec
8d115f76ad69d7aa78b07dc06aa7047979ad134b
[ "MIT" ]
9
2019-05-19T15:06:17.000Z
2021-12-14T06:47:14.000Z
server/apps/recommendation/apps.py
heartplus/django_morec
8d115f76ad69d7aa78b07dc06aa7047979ad134b
[ "MIT" ]
34
2019-05-06T06:37:17.000Z
2021-12-09T02:27:58.000Z
from django.apps import AppConfig class RecommendationConfig(AppConfig): name = 'recommendation' # app名字后台显示中文 verbose_name = "推荐管理"
16.444444
38
0.72973
14
148
7.642857
0.857143
0
0
0
0
0
0
0
0
0
0
0
0.195946
148
8
39
18.5
0.89916
0.074324
0
0
0
0
0.134328
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
2be23ade352e57f418b6851f407694c175d6007c
150
py
Python
pybo/policies/__init__.py
hfukada/pybo
3be57adad901fcd8d45b8ee2af7c6032ab47611d
[ "BSD-2-Clause" ]
115
2015-01-21T21:31:22.000Z
2021-08-08T17:10:16.000Z
pybo/policies/__init__.py
hfukada/pybo
3be57adad901fcd8d45b8ee2af7c6032ab47611d
[ "BSD-2-Clause" ]
5
2016-02-24T16:00:01.000Z
2020-12-21T00:28:30.000Z
pybo/policies/__init__.py
hfukada/pybo
3be57adad901fcd8d45b8ee2af7c6032ab47611d
[ "BSD-2-Clause" ]
35
2015-02-27T15:27:36.000Z
2020-08-19T07:43:53.000Z
""" Acquisition functions. """ # pylint: disable=wildcard-import from .simple import * from . import simple __all__ = [] __all__ += simple.__all__
12.5
33
0.706667
16
150
5.875
0.5625
0.212766
0
0
0
0
0
0
0
0
0
0
0.16
150
11
34
13.636364
0.746032
0.366667
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2bebd8ff1daf31ea78b5d86cd17693d529b63af1
455
py
Python
home/kwatters/harry/gestures/getball.py
rv8flyboy/pyrobotlab
4e04fb751614a5cb6044ea15dcfcf885db8be65a
[ "Apache-2.0" ]
63
2015-02-03T18:49:43.000Z
2022-03-29T03:52:24.000Z
home/kwatters/harry/gestures/getball.py
hirwaHenryChristian/pyrobotlab
2debb381fc2db4be1e7ea6e5252a50ae0de6f4a9
[ "Apache-2.0" ]
16
2016-01-26T19:13:29.000Z
2018-11-25T21:20:51.000Z
home/kwatters/harry/gestures/getball.py
hirwaHenryChristian/pyrobotlab
2debb381fc2db4be1e7ea6e5252a50ae0de6f4a9
[ "Apache-2.0" ]
151
2015-01-03T18:55:54.000Z
2022-03-04T07:04:23.000Z
def getball(): rest() i01.setHandSpeed("right", 0.85, 0.75, 0.75, 0.75, 0.85, 0.75) i01.setArmSpeed("right", 1.0, 1.0, 1.0, 0.85) i01.setHeadSpeed(0.9, 0.9) i01.setTorsoSpeed(0.75, 0.55, 1.0) i01.moveHead(45,65) i01.moveArm("left",5,90,16,15) i01.moveArm("right",6,85,110,22) i01.moveHand("left",50,50,...
28.4375
63
0.632967
96
455
3
0.416667
0.052083
0.055556
0.041667
0.034722
0
0
0
0
0
0
0.305
0.120879
455
15
64
30.333333
0.415
0
0
0
0
0
0.072687
0
0
0
0
0
0
1
0.071429
true
0
0
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
2bf00235cbd75216aae04ced72ddae48a1525f57
21
py
Python
game/__init__.py
Yuessiah/Othello-Minimax
e7fb043189ef108b639697ae74fd92c0695caac1
[ "MIT" ]
null
null
null
game/__init__.py
Yuessiah/Othello-Minimax
e7fb043189ef108b639697ae74fd92c0695caac1
[ "MIT" ]
null
null
null
game/__init__.py
Yuessiah/Othello-Minimax
e7fb043189ef108b639697ae74fd92c0695caac1
[ "MIT" ]
1
2021-05-05T01:20:40.000Z
2021-05-05T01:20:40.000Z
__author__ = 'bengt'
10.5
20
0.714286
2
21
5.5
1
0
0
0
0
0
0
0
0
0
0
0
0.142857
21
1
21
21
0.611111
0
0
0
0
0
0.238095
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
920b9f431b950a93c61ed3f800e8206e98b8cad6
61
py
Python
data/studio21_generated/interview/0506/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/interview/0506/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
data/studio21_generated/interview/0506/starter_code.py
vijaykumawat256/Prompt-Summarization
614f5911e2acd2933440d909de2b4f86653dc214
[ "Apache-2.0" ]
null
null
null
class Solution: def myAtoi(self, s: str) -> int:
20.333333
36
0.540984
8
61
4.125
1
0
0
0
0
0
0
0
0
0
0
0
0.327869
61
3
37
20.333333
0.804878
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
ecf611d9eddf5202db5bd90a481a1f430e862621
3,217
py
Python
MAPLEAF/Rocket/__init__.py
henrystoldt/MAPLEAF
af970d3e8200832f5e70d537b15ad38dd74fa551
[ "MIT" ]
15
2020-09-11T19:25:07.000Z
2022-03-12T16:34:53.000Z
MAPLEAF/Rocket/__init__.py
henrystoldt/MAPLEAF
af970d3e8200832f5e70d537b15ad38dd74fa551
[ "MIT" ]
null
null
null
MAPLEAF/Rocket/__init__.py
henrystoldt/MAPLEAF
af970d3e8200832f5e70d537b15ad38dd74fa551
[ "MIT" ]
3
2021-12-24T19:39:53.000Z
2022-03-29T01:06:28.000Z
r''' Code specific to modelling Rockets. Main class is `Rocket`. Other files define models for specific rocket components or stages. In general the responsibility of rocket component classes is to model: 1. The forces/moments (aerodynamic or otherwise (excluding gravitational forces)) applied to the rocket by tha...
52.737705
185
0.496736
270
3,217
5.874074
0.559259
0.063052
0.02396
0
0
0
0
0
0
0
0
0.027013
0.413118
3,217
61
186
52.737705
0.81303
0.811315
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.705882
0
0.705882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
ecfc42d5c635ab26a9c0e9336d2df610d26f0999
651
py
Python
kindle/modules/concat.py
Anon-Artist/kindle
7e62e370e0130e6c61db6cdd339a451d5f1f8985
[ "MIT" ]
76
2021-02-16T17:03:39.000Z
2022-01-24T17:25:21.000Z
kindle/modules/concat.py
Anon-Artist/kindle
7e62e370e0130e6c61db6cdd339a451d5f1f8985
[ "MIT" ]
10
2021-02-16T13:06:20.000Z
2022-01-20T02:41:11.000Z
kindle/modules/concat.py
Anon-Artist/kindle
7e62e370e0130e6c61db6cdd339a451d5f1f8985
[ "MIT" ]
8
2021-02-19T00:35:47.000Z
2021-09-07T07:24:10.000Z
"""Concat module. - Author: Jongkuk Lim - Contact: lim.jeikei@gmail.com """ # pylint: disable=useless-super-delegation from typing import List, Tuple, Union import torch from torch import nn class Concat(nn.Module): """Concatenation module. Arguments: [dimension] """ def __init__(self, dimension:...
20.34375
78
0.619048
71
651
5.56338
0.549296
0.098734
0.086076
0
0
0
0
0
0
0
0
0.002028
0.242704
651
31
79
21
0.799189
0.353303
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.333333
0
0.777778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
a606c5d02ad5ae61ca4b65a3b9ae5cc6bfede524
2,348
py
Python
users/models.py
hhdMrLion/django-crm
9f6f021e0cddc323c88280b733144366a0cb9fa6
[ "Apache-2.0" ]
1
2021-06-18T03:03:43.000Z
2021-06-18T03:03:43.000Z
users/models.py
hhdMrLion/django-crm
9f6f021e0cddc323c88280b733144366a0cb9fa6
[ "Apache-2.0" ]
null
null
null
users/models.py
hhdMrLion/django-crm
9f6f021e0cddc323c88280b733144366a0cb9fa6
[ "Apache-2.0" ]
null
null
null
from django.db import models # Create your models here. from utils import constants class User(models.Model): """用户表""" name = models.CharField(verbose_name='用户名', max_length=128, unique=True) up_name = models.ForeignKey('self', verbose_name='上级主管', blank=True, null=True, on_delete=models.CASCAD...
37.870968
111
0.69506
290
2,348
5.386207
0.337931
0.190141
0.208067
0.241357
0.390525
0.072983
0.072983
0
0
0
0
0.010449
0.184838
2,348
61
112
38.491803
0.805643
0.017036
0
0.190476
0
0
0.056029
0
0
0
0
0
0
1
0.071429
false
0.02381
0.047619
0.071429
0.833333
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
a60e75c6da84312a6e76316031c9c75f2884011b
706
py
Python
runehistory_api/app/commands/stats.py
RuneHistory/runehistory-api
4e857c7fdbdf585d57cf4c7fe6214b565ac37a22
[ "MIT" ]
null
null
null
runehistory_api/app/commands/stats.py
RuneHistory/runehistory-api
4e857c7fdbdf585d57cf4c7fe6214b565ac37a22
[ "MIT" ]
6
2018-06-14T13:58:43.000Z
2018-07-16T14:02:24.000Z
runehistory_api/app/commands/stats.py
RuneHistory/runehistory-api
4e857c7fdbdf585d57cf4c7fe6214b565ac37a22
[ "MIT" ]
null
null
null
from cmdbus import Command from ioccontainer import inject from runehistory_api.app.services.account import AccountService from runehistory_api.app.services.highscore import HighScoreService class GetAccountCountCommand(Command): @inject('account_service') def __init__(self, account_service: AccountService =...
29.416667
67
0.769122
76
706
6.881579
0.328947
0.133843
0.10325
0.080306
0.225621
0.114723
0
0
0
0
0
0
0.157224
706
23
68
30.695652
0.878992
0
0
0.125
0
0
0.045326
0
0
0
0
0
0
1
0.25
false
0
0.25
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
a624ce89755d005365dc07ee6b9d671b0d8092fb
187
py
Python
fodeo/core/central/YOLO/test/MasterInterface.py
ph09/fogernetes
f766434388ef8cd76e9e909c6f4bef2eb112f642
[ "BSD-3-Clause" ]
null
null
null
fodeo/core/central/YOLO/test/MasterInterface.py
ph09/fogernetes
f766434388ef8cd76e9e909c6f4bef2eb112f642
[ "BSD-3-Clause" ]
null
null
null
fodeo/core/central/YOLO/test/MasterInterface.py
ph09/fogernetes
f766434388ef8cd76e9e909c6f4bef2eb112f642
[ "BSD-3-Clause" ]
null
null
null
import os import time while True: if(os.path.exists("./images/input.jpg")): os.system("python3 test_images.py params.py") os.system("rm ./images/input.jpg") else: time.sleep(0.1)
20.777778
47
0.695187
32
187
4.03125
0.65625
0.170543
0.217054
0
0
0
0
0
0
0
0
0.018182
0.117647
187
9
48
20.777778
0.763636
0
0
0
0
0
0.37766
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
a62d2410128fcffa83a1c0289779cfd27db6561e
4,450
py
Python
cr1d/dtypes/dtypes0d.py
0todd0000/ci1d
0c44b69524461cd1b25f4c8a3745d2d0bc9b4b04
[ "MIT" ]
1
2021-07-20T07:24:19.000Z
2021-07-20T07:24:19.000Z
cr1d/dtypes/dtypes0d.py
0todd0000/cr1d
0c44b69524461cd1b25f4c8a3745d2d0bc9b4b04
[ "MIT" ]
null
null
null
cr1d/dtypes/dtypes0d.py
0todd0000/cr1d
0c44b69524461cd1b25f4c8a3745d2d0bc9b4b04
[ "MIT" ]
null
null
null
import numpy as np from .. ellipse import BivariateConfidenceEllipse0D, BivariatePredictionEllipse0D from .. interval import ConfidenceInterval0D,PredictionInterval0D from .. interval import MeanDifferenceConfidenceInterval0D # from .. plot import plot_ci2style, plot_multicolorline from . _base import _Dataset from .....
23.924731
120
0.633034
653
4,450
4.156202
0.237366
0.046426
0.023581
0.030951
0.387251
0.380619
0.327192
0.317612
0.317612
0.268976
0
0.035013
0.210562
4,450
185
121
24.054054
0.737546
0.42809
0
0.208955
0
0
0.040535
0
0
0
0
0
0
1
0.223881
false
0
0.089552
0.119403
0.597015
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
a64900b3c741db208bef854a44cfdaaa0e51bc3f
223
py
Python
codeswiftr/skills/views.py
bogdan-veliscu/dev-portfolio-website
43eb323c67f3fd691388e79039e32479c1bc0974
[ "Apache-2.0" ]
null
null
null
codeswiftr/skills/views.py
bogdan-veliscu/dev-portfolio-website
43eb323c67f3fd691388e79039e32479c1bc0974
[ "Apache-2.0" ]
4
2021-03-30T13:40:00.000Z
2021-09-22T19:12:56.000Z
codeswiftr/skills/views.py
bogdan-veliscu/dev-portfolio-website
43eb323c67f3fd691388e79039e32479c1bc0974
[ "Apache-2.0" ]
null
null
null
from django.shortcuts import render from braces.views import SelectRelatedMixin from . import models from django.views import generic # Create your views here. class SkillList(generic.ListView): model = models.Skill
20.272727
43
0.798206
29
223
6.137931
0.62069
0.11236
0
0
0
0
0
0
0
0
0
0
0.147982
223
10
44
22.3
0.936842
0.103139
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
a65043f85a4943c351f725a4582decc6095d468a
484
py
Python
gemmforge/vm/lexic/__init__.py
ravil-mobile/gemmforge
6381584c2d1ce77eaa938de02bc4f130f19cb2e4
[ "MIT" ]
null
null
null
gemmforge/vm/lexic/__init__.py
ravil-mobile/gemmforge
6381584c2d1ce77eaa938de02bc4f130f19cb2e4
[ "MIT" ]
2
2021-02-01T16:31:22.000Z
2021-05-05T13:44:43.000Z
gemmforge/vm/lexic/__init__.py
ravil-mobile/gemmforge
6381584c2d1ce77eaa938de02bc4f130f19cb2e4
[ "MIT" ]
null
null
null
from .lexic import Lexic from .cuda_lexic import CudaLexic from .hip_lexic import HipLexic from .sycl_lexic import SyclLexic def lexic_factory(backend, underlying_hardware): if backend == "cuda": return CudaLexic(underlying_hardware) elif backend == "hip": return HipLexic(underlying_hardware) ...
30.25
59
0.731405
57
484
6.070175
0.45614
0.127168
0.127168
0.16763
0
0
0
0
0
0
0
0
0.181818
484
15
60
32.266667
0.873737
0
0
0
0
0
0.113006
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.615385
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
a66e0e8e06479db586b770b1fdfc115a2617d123
77
py
Python
tarefa009/03.py
MateSilver/cs-2021-1
eedb924508ecf47297ceeda3812039401bd325a4
[ "MIT" ]
null
null
null
tarefa009/03.py
MateSilver/cs-2021-1
eedb924508ecf47297ceeda3812039401bd325a4
[ "MIT" ]
1
2022-01-22T17:41:56.000Z
2022-01-22T17:41:56.000Z
tarefa009/03.py
MateSilver/cs-2021-1
eedb924508ecf47297ceeda3812039401bd325a4
[ "MIT" ]
null
null
null
Saldo = float(input('preço: ')) print(f'Preço reajustado: {Saldo*1.15:.2f}')
25.666667
44
0.662338
12
77
4.25
0.833333
0
0
0
0
0
0
0
0
0
0
0.057143
0.090909
77
3
44
25.666667
0.671429
0
0
0
0
0
0.525641
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
a6976ac22c58bdd9b8cde6dfe2ed1ba40cfdb805
189
py
Python
scripts/geospacial/test_deps.py
caileighf/MCC_DAQ
9e72dcf8f2be3e1a436b1a7512941a036f583d7e
[ "MIT" ]
null
null
null
scripts/geospacial/test_deps.py
caileighf/MCC_DAQ
9e72dcf8f2be3e1a436b1a7512941a036f583d7e
[ "MIT" ]
null
null
null
scripts/geospacial/test_deps.py
caileighf/MCC_DAQ
9e72dcf8f2be3e1a436b1a7512941a036f583d7e
[ "MIT" ]
null
null
null
import geopandas import numpy as np import pandas as pd from shapely.geometry import Point import missingno as msn import seaborn as sns import matplotlib.pyplot as plt print('Success!')
17.181818
34
0.809524
30
189
5.1
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.153439
189
11
35
17.181818
0.95625
0
0
0
0
0
0.042105
0
0
0
0
0
0
1
0
true
0
0.875
0
0.875
0.125
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
a6acf3677b91587b784152195e08cda4fdadd04d
397
py
Python
gwcosmo/gwcosmo/__init__.py
simone-mastrogiovanni/gdr_gwcosmo_tutorial_2020
50634ee9fd576ba33d03c10c36fee5cf7606e313
[ "MIT" ]
4
2021-01-14T12:28:26.000Z
2021-04-09T12:23:30.000Z
gwcosmo/gwcosmo/__init__.py
simone-mastrogiovanni/gdr_gwcosmo_tutorial_2020
50634ee9fd576ba33d03c10c36fee5cf7606e313
[ "MIT" ]
null
null
null
gwcosmo/gwcosmo/__init__.py
simone-mastrogiovanni/gdr_gwcosmo_tutorial_2020
50634ee9fd576ba33d03c10c36fee5cf7606e313
[ "MIT" ]
3
2021-03-16T13:13:47.000Z
2021-11-01T05:23:43.000Z
"""Top-level package for gwcosmo.""" from __future__ import absolute_import import gwcosmo.likelihood import gwcosmo.prior from gwcosmo.likelihood import posterior_samples, detection_probability, skymap from gwcosmo.prior import catalog, priors from gwcosmo.utilities import standard_cosmology, schechter_function, pos...
33.083333
109
0.856423
47
397
7
0.531915
0.133739
0.139818
0
0
0
0
0
0
0
0
0
0.093199
397
11
110
36.090909
0.913889
0.075567
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
a6b94ea36daf54807f992d35b84cd7a7b0bcdf1f
3,381
py
Python
tests/integration/services/test_raceplans_service.py
langrenn-sprint/race-service
a5f3ca8d381e8e4d81bae25cccee0cb47b64400b
[ "Apache-2.0" ]
null
null
null
tests/integration/services/test_raceplans_service.py
langrenn-sprint/race-service
a5f3ca8d381e8e4d81bae25cccee0cb47b64400b
[ "Apache-2.0" ]
62
2021-09-14T18:47:38.000Z
2022-03-21T22:14:20.000Z
tests/integration/services/test_raceplans_service.py
langrenn-sprint/race-service
a5f3ca8d381e8e4d81bae25cccee0cb47b64400b
[ "Apache-2.0" ]
null
null
null
"""Integration test cases for the raceplan service.""" from typing import Any, Dict import pytest from pytest_mock import MockFixture from race_service.models import Raceplan from race_service.services import ( IllegalValueException, RaceplanAllreadyExistException, RaceplansService, ) @pytest.fixture as...
24.678832
92
0.622893
356
3,381
5.623596
0.19382
0.071928
0.044955
0.065934
0.77023
0.755744
0.755744
0.713786
0.649351
0.54046
0
0.013409
0.272109
3,381
136
93
24.860294
0.800081
0.014197
0
0.648649
0
0
0.222329
0.146411
0
0
0
0
0.009009
1
0
false
0
0.045045
0
0.072072
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
a6cc856a46ad7c31360a5d71eea6913b0f2c9395
2,173
py
Python
tests/fixtures/test_body_block_content_render/content_06_expected.py
elifesciences/elife-tools
ee345bf0e6703ef0f7e718355e85730abbdfd117
[ "MIT" ]
9
2015-04-16T08:13:31.000Z
2020-05-18T14:03:06.000Z
tests/fixtures/test_body_block_content_render/content_06_expected.py
elifesciences/elife-tools
ee345bf0e6703ef0f7e718355e85730abbdfd117
[ "MIT" ]
310
2015-02-11T00:30:09.000Z
2021-07-14T23:58:50.000Z
tests/fixtures/test_body_block_content_render/content_06_expected.py
elifesciences/elife-tools
ee345bf0e6703ef0f7e718355e85730abbdfd117
[ "MIT" ]
9
2015-02-04T01:21:28.000Z
2021-06-15T12:50:47.000Z
from collections import OrderedDict expected = [ OrderedDict( [ ( "content", [ OrderedDict([("type", "paragraph"), ("text", u"Content.")]), OrderedDict( [ ("type", "figure...
41.788462
88
0.129314
55
2,173
5.109091
0.527273
0.213523
0.156584
0.199288
0.206406
0
0
0
0
0
0
0.052154
0.797055
2,173
51
89
42.607843
0.585034
0
0
0.22
0
0
0.087897
0.021169
0
0
0
0
0
1
0
false
0
0.02
0
0.02
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a6d373e892f83c0999127d2003dcf7a3488aa42c
901
py
Python
setup.py
lumina-networks/mininet-topology-yaml
272ad490ea987c4cd6153f6c4296e0661a19f9ee
[ "MIT" ]
2
2019-08-17T10:17:29.000Z
2021-11-16T11:36:55.000Z
setup.py
lumina-networks/mininet-topology-yaml
272ad490ea987c4cd6153f6c4296e0661a19f9ee
[ "MIT" ]
null
null
null
setup.py
lumina-networks/mininet-topology-yaml
272ad490ea987c4cd6153f6c4296e0661a19f9ee
[ "MIT" ]
1
2019-03-22T07:29:20.000Z
2019-03-22T07:29:20.000Z
import setuptools setuptools.setup( name="mininet-topology-yaml", version="0.1.1", url="https://github.com/luminanetworks/mininet-topology-yaml", author="Lumina NetDev", author_email="oss-dev@luminanetworks.com", description="Mininet specific topology generator and parser", long_descripti...
27.30303
66
0.627081
95
901
5.884211
0.578947
0.203936
0.268336
0.139535
0
0
0
0
0
0
0
0.021307
0.218646
901
32
67
28.15625
0.772727
0
0
0
0
0
0.571587
0.082131
0
0
0
0
0
1
0
true
0
0.04
0
0.04
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
a6f35d3379775e8862f59bd646b350a245ed17f7
374
py
Python
ocdsapi/views/forbidden.py
openprocurement/ocdsapi
137d979c1f674b251436b3f68da8164921218bd6
[ "Apache-2.0" ]
null
null
null
ocdsapi/views/forbidden.py
openprocurement/ocdsapi
137d979c1f674b251436b3f68da8164921218bd6
[ "Apache-2.0" ]
4
2019-12-26T17:18:39.000Z
2022-03-21T22:16:51.000Z
ocdsapi/views/forbidden.py
openprocurement/ocdsapi
137d979c1f674b251436b3f68da8164921218bd6
[ "Apache-2.0" ]
2
2018-05-11T12:07:28.000Z
2018-07-27T16:19:30.000Z
from pyramid.view import forbidden_view_config, notfound_view_config @forbidden_view_config(renderer='simplejson') def forbidden(request): request.response.status = 403 return {'status': 'error', "description": "Forbidden"} @notfound_view_config(renderer='simplejson') def not_found(request): request.res...
26.714286
68
0.754011
44
374
6.204545
0.454545
0.14652
0.139194
0.205128
0.227106
0
0
0
0
0
0
0.018293
0.122995
374
13
69
28.769231
0.814024
0
0
0
0
0
0.176471
0
0
0
0
0
0
1
0.222222
false
0
0.111111
0
0.555556
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
470d42f2f322ec7066807ce461031e47c160aec8
192
py
Python
django_ontruck/queries.py
ontruck/django-ontruck
c61504fee596a3541c34256c970b9384b4565bbb
[ "BSD-3-Clause" ]
1
2020-03-23T11:29:53.000Z
2020-03-23T11:29:53.000Z
django_ontruck/queries.py
ontruck/django-ontruck
c61504fee596a3541c34256c970b9384b4565bbb
[ "BSD-3-Clause" ]
24
2020-03-23T10:31:19.000Z
2022-02-10T10:25:58.000Z
django_ontruck/queries.py
ontruck/django-ontruck
c61504fee596a3541c34256c970b9384b4565bbb
[ "BSD-3-Clause" ]
null
null
null
from abc import ABCMeta, abstractmethod class QueryBase: __metaclass__ = ABCMeta @abstractmethod def execute(self, command, executed_by=None): raise NotImplementedError
19.2
49
0.739583
19
192
7.210526
0.894737
0.306569
0
0
0
0
0
0
0
0
0
0
0.208333
192
9
50
21.333333
0.901316
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.666667
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
47242edfa6b11faa9eba114c1d70deb4bec3eb44
34,143
py
Python
pysal/weights/user.py
cubensys/pysal
8d50990f6e6603ba79ae1a887a20a1e3a0734e51
[ "MIT", "BSD-3-Clause" ]
null
null
null
pysal/weights/user.py
cubensys/pysal
8d50990f6e6603ba79ae1a887a20a1e3a0734e51
[ "MIT", "BSD-3-Clause" ]
null
null
null
pysal/weights/user.py
cubensys/pysal
8d50990f6e6603ba79ae1a887a20a1e3a0734e51
[ "MIT", "BSD-3-Clause" ]
1
2021-07-19T01:46:17.000Z
2021-07-19T01:46:17.000Z
""" Convenience functions for the construction of spatial weights based on contiguity and distance criteria. """ __author__ = "Sergio J. Rey <srey@asu.edu> " import pysal from Contiguity import buildContiguity, Queen, Rook from Distance import knnW, Kernel, DistanceBand from util import get_ids, get_points_array_from...
29.95
524
0.556073
3,954
34,143
4.7261
0.098381
0.029914
0.007706
0.006422
0.780275
0.750094
0.718414
0.681222
0.671429
0.628512
0
0.09246
0.330346
34,143
1,139
525
29.976295
0.724851
0.712825
0
0.413793
0
0
0.072171
0.034695
0
0
0
0
0
1
0.110345
false
0
0.041379
0
0.282759
0.02069
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
5b41f564fcf14f69e98cd9f3ec417f8d3c80a07c
2,078
tac
Python
Data/TACs/pabloModel/0noise/fullTAC-2sigma.tac
ExampleOne/Fields-Project-11
427d7fd0314106d1ffcee99a4d5e2f5515cb6f66
[ "MIT" ]
5
2018-08-07T15:40:38.000Z
2018-08-21T15:01:18.000Z
Data/TACs/pabloModel/0noise/fullTAC-2sigma.tac
ExampleOne/Fields-Project-11
427d7fd0314106d1ffcee99a4d5e2f5515cb6f66
[ "MIT" ]
null
null
null
Data/TACs/pabloModel/0noise/fullTAC-2sigma.tac
ExampleOne/Fields-Project-11
427d7fd0314106d1ffcee99a4d5e2f5515cb6f66
[ "MIT" ]
null
null
null
Start End Cerebellar Temporal Frontal Caudate Putamen Thalamus Anterior_cingulate Pons 0.00 76.00 0.27 0.28 0.28 0.27 0.28 0.28 0.27 0.27 76.00 106.00 107.66 117.97 116.33 113.86 123.95 127.43 109.25 92.07 106.00 136.00 274.39 303.10 298.84 295.62 322.74 332.68 278.65 230.84 136.00 166.00 405.74 44...
69.266667
86
0.715592
571
2,078
2.602452
0.516637
0.008075
0.010767
0.008075
0.014805
0.014805
0.014805
0.014805
0.014805
0
0
0.797963
0.149663
2,078
29
87
71.655172
0.043011
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
5b58a5716a72c05b74251b487ffeac3a376adef9
2,147
py
Python
src/sima/simo/blueprints/verticalaxiswindturbine.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/simo/blueprints/verticalaxiswindturbine.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
src/sima/simo/blueprints/verticalaxiswindturbine.py
SINTEF/simapy
650b8c2f15503dad98e2bfc0d0788509593822c7
[ "MIT" ]
null
null
null
# # Generated with VerticalAxisWindTurbineBlueprint from dmt.blueprint import Blueprint from dmt.dimension import Dimension from dmt.attribute import Attribute from dmt.enum_attribute import EnumAttribute from dmt.blueprint_attribute import BlueprintAttribute from sima.sima.blueprints.namedobject import NamedObjectBlu...
74.034483
144
0.751747
224
2,147
7.147321
0.339286
0.131168
0.187383
0.19925
0.28857
0.226733
0.128045
0.059963
0.059963
0
0
0.007273
0.1034
2,147
29
145
74.034483
0.824416
0.021891
0
0
1
0
0.302726
0.071258
0
0
0
0
0
1
0.041667
false
0
0.25
0
0.333333
0.333333
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
5b6a632442ef6591c5bac231e6fc49a2bed494c4
696
py
Python
users/views.py
hossamhsn74/django-dmtech-task
5cea908b9a4b9e1f7052e3aa46385e1a599be09f
[ "MIT" ]
null
null
null
users/views.py
hossamhsn74/django-dmtech-task
5cea908b9a4b9e1f7052e3aa46385e1a599be09f
[ "MIT" ]
null
null
null
users/views.py
hossamhsn74/django-dmtech-task
5cea908b9a4b9e1f7052e3aa46385e1a599be09f
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.views.generic import FormView from django.urls import reverse from django.contrib.auth import authenticate, login from .forms import CustomUserCreationForm from django.http import request class signUpView(FormView): template_name = 'registration/signup.html' for...
30.26087
59
0.724138
83
696
6
0.493976
0.100402
0.060241
0
0
0
0
0
0
0
0
0.00177
0.188218
696
22
60
31.636364
0.879646
0
0
0
0
0
0.060345
0.034483
0
0
0
0
0
1
0.111111
false
0.111111
0.333333
0.055556
0.722222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
5b6d25f4e7dbf0d6bb9217ec9fb76c0f82e5be8b
195
py
Python
tests/conftest.py
tfpk/dewar
ccac973a4115d1d264f6b74e61beca05deeb000c
[ "Apache-2.0" ]
1
2022-02-23T08:09:47.000Z
2022-02-23T08:09:47.000Z
tests/conftest.py
tfpk/dewar
ccac973a4115d1d264f6b74e61beca05deeb000c
[ "Apache-2.0" ]
4
2020-03-24T16:45:25.000Z
2021-06-01T23:21:32.000Z
tests/conftest.py
tfpk/dewar
ccac973a4115d1d264f6b74e61beca05deeb000c
[ "Apache-2.0" ]
1
2020-06-22T19:07:15.000Z
2020-06-22T19:07:15.000Z
import pytest from dewar import dewar @pytest.fixture(autouse=True, scope='function') def site_cleanup(): yield if hasattr(dewar, '_site_instances'): del dewar._site_instances
17.727273
47
0.723077
25
195
5.44
0.68
0.132353
0.264706
0
0
0
0
0
0
0
0
0
0.179487
195
10
48
19.5
0.85
0
0
0
0
0
0.117949
0
0
0
0
0
0
1
0.142857
true
0
0.285714
0
0.428571
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
5b72aefdee4a376336cb4cd47b67a7b67370a606
5,840
py
Python
build_module.py
wesleykuhn/ProjWarbandPN
2ce7b1de7391a6a6ef0ad1ef401e8af6fd6e4e52
[ "BSD-3-Clause" ]
17
2015-01-19T07:53:57.000Z
2021-07-10T02:26:51.000Z
build_module.py
qt911025/pw_module_system
dbd257e5231d16c47f17091a3ab18972be7687e5
[ "BSD-3-Clause" ]
1
2017-08-31T03:55:09.000Z
2017-08-31T03:55:09.000Z
build_module.py
qt911025/pw_module_system
dbd257e5231d16c47f17091a3ab18972be7687e5
[ "BSD-3-Clause" ]
14
2015-05-03T05:20:01.000Z
2021-12-29T17:10:50.000Z
#!/usr/bin/python -tt import sys import traceback import argparse parser = argparse.ArgumentParser(description="Build the Mount&Blade Warband module system.") parser.add_argument("-i", "--write-ids", action="store_true", help="write ID_*.py files") parser.add_argument("-d", "--build-data", action="store_true", help="...
32.625698
108
0.776027
772
5,840
5.572539
0.257772
0.104603
0.136681
0.169224
0.066016
0.032078
0.032078
0
0
0
0
0.001186
0.13339
5,840
178
109
32.808989
0.848844
0.003425
0
0.055556
0
0
0.094518
0
0
0
0
0
0
0
null
null
0
0.364198
null
null
0.030864
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
3
5b95afe962b955471857434feec24017a6508856
108
py
Python
homework8/app/utils.py
sakost/tinkoff_fintech
64b9d5a2a818b4db7c438b0dc53a8f31882f95ba
[ "MIT" ]
null
null
null
homework8/app/utils.py
sakost/tinkoff_fintech
64b9d5a2a818b4db7c438b0dc53a8f31882f95ba
[ "MIT" ]
null
null
null
homework8/app/utils.py
sakost/tinkoff_fintech
64b9d5a2a818b4db7c438b0dc53a8f31882f95ba
[ "MIT" ]
2
2021-08-29T15:01:39.000Z
2022-02-23T18:48:21.000Z
from enum import IntEnum class ReservedIdsEnum(IntEnum): BROADCAST_ID = 0 SERVICE_MESSAGES_ID = 1
15.428571
31
0.75
14
108
5.571429
0.857143
0
0
0
0
0
0
0
0
0
0
0.023256
0.203704
108
6
32
18
0.883721
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
5bcddf3c025488a1d8e5c24b9965b8688009785d
75,168
py
Python
src/pypinyin_dict/pinyin_data/khanyupinlu.py
mozillazg/pypinyin-dict
e5206f6c61ad86c68468909cb0ccf148d0a0ba0e
[ "MIT" ]
8
2021-09-30T03:17:22.000Z
2022-03-16T09:11:35.000Z
src/pypinyin_dict/pinyin_data/khanyupinlu.py
mozillazg/pypinyin-dict
e5206f6c61ad86c68468909cb0ccf148d0a0ba0e
[ "MIT" ]
null
null
null
src/pypinyin_dict/pinyin_data/khanyupinlu.py
mozillazg/pypinyin-dict
e5206f6c61ad86c68468909cb0ccf148d0a0ba0e
[ "MIT" ]
1
2022-03-11T02:23:14.000Z
2022-03-11T02:23:14.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals # Warning: Auto-generated file, don't edit. pinyin_dict = { 0x4E00: 'yī', 0x4E01: 'dīng', 0x4E03: 'qī', 0x4E07: 'wàn', 0x4E08: 'zhàng', 0x4E09: 'sān', 0x4E0A: 'shàng,shang', 0x4E0B: 'xià,xia', 0x4E0D: 'bù,bu', 0x4E0...
19.713611
43
0.486843
8,153
75,168
4.487183
0.619159
0.001312
0.000328
0
0
0
0
0
0
0
0
0.280632
0.303706
75,168
3,812
44
19.718783
0.41835
0.000838
0
0
1
0
0.188663
0.000293
0
0
0.303507
0
0
1
0.000263
false
0
0.000526
0
0.000788
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
750660acd31b7cacf896c6635b714650039de13d
1,013
py
Python
tests/basics/generator_exc.py
geowor01/micropython
7fb13eeef4a85f21cae36f1d502bcc53880e1815
[ "MIT" ]
7
2019-10-18T13:41:39.000Z
2022-03-15T17:27:57.000Z
tests/basics/generator_exc.py
geowor01/micropython
7fb13eeef4a85f21cae36f1d502bcc53880e1815
[ "MIT" ]
null
null
null
tests/basics/generator_exc.py
geowor01/micropython
7fb13eeef4a85f21cae36f1d502bcc53880e1815
[ "MIT" ]
2
2020-06-23T09:10:15.000Z
2020-12-22T06:42:14.000Z
# Test proper handling of exceptions within generator across yield def gen(): try: yield 1 raise ValueError print("FAIL") raise SystemExit except ValueError: pass yield 2 for i in gen(): print(i) # Test throwing exceptions out of generator def gen2(): yield...
16.33871
66
0.615005
132
1,013
4.719697
0.287879
0.086677
0.096308
0.192616
0.436597
0.391653
0.327448
0.138042
0.138042
0
0
0.020776
0.287266
1,013
62
67
16.33871
0.842105
0.143139
0
0.745098
0
0
0.05896
0
0
0
0
0
0
1
0.058824
false
0.078431
0
0
0.058824
0.294118
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
753fe3f3e5109f09c4458cf459a2fc7758fce38e
3,197
py
Python
YatzyPy/func.py
markomanninen/YatzyPy
a6904b22473ae909f588e3b82a67b8b4f2dce0f2
[ "MIT" ]
null
null
null
YatzyPy/func.py
markomanninen/YatzyPy
a6904b22473ae909f588e3b82a67b8b4f2dce0f2
[ "MIT" ]
null
null
null
YatzyPy/func.py
markomanninen/YatzyPy
a6904b22473ae909f588e3b82a67b8b4f2dce0f2
[ "MIT" ]
null
null
null
# func.py from . const import * import numpy as np from collections import Counter ss = [1,2,3,4,5] ls = [6,2,3,4,5] def isSmallStraight(a): return np.all(np.in1d(ss, a)) def isLargeStraight(a): return np.all(np.in1d(ls, a)) def isFullHouse(a): mc = Counter(a).most_common(2) return (mc[0][1] > 4 or ...
21.89726
94
0.602753
569
3,197
3.355009
0.193322
0.113672
0.056574
0.084861
0.324254
0.223153
0.194343
0.15034
0.15034
0.121006
0
0.061494
0.242102
3,197
145
95
22.048276
0.726372
0.035033
0
0.115385
0
0
0
0
0
0
0
0
0
1
0.346154
false
0
0.028846
0.269231
0.798077
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
7549add5799af96524e6d738378ba9a83e3fbb47
9,368
py
Python
perl-python/python/stats.py
cliffordlab/DeId
4a39269a5dd5d247cd9130212de7d55dbf620e00
[ "MIT" ]
null
null
null
perl-python/python/stats.py
cliffordlab/DeId
4a39269a5dd5d247cd9130212de7d55dbf620e00
[ "MIT" ]
null
null
null
perl-python/python/stats.py
cliffordlab/DeId
4a39269a5dd5d247cd9130212de7d55dbf620e00
[ "MIT" ]
null
null
null
def are_overlapped(gstart,gend,tstart,tend): return ( (( gstart <= tend ) and (gstart >= tstart)) or ((gend <= tend) and (gend >= tstart)) or ((tstart <= gend) and (tstart >= gstart))or ((tend <= gend) and (tend >= gstart)) ) # Runs through deid'ed (gs) file ...
36.310078
136
0.555081
1,173
9,368
4.276215
0.139812
0.076754
0.033692
0.015949
0.728469
0.724482
0.693979
0.693979
0.680622
0.680622
0
0.013701
0.337746
9,368
257
137
36.451362
0.79481
0.247545
0
0.707792
0
0
0.089358
0.031377
0
0
0
0.003891
0
1
0.012987
false
0
0.012987
0.006494
0.032468
0.155844
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
f32b7dd3cbb924c4c491c37a2ecfd3af9b11de29
849
py
Python
11233/deli_deli.py
sc458/uHunt-solutions
37464e1db98c897995eab79caa6c70f379ad877a
[ "MIT" ]
null
null
null
11233/deli_deli.py
sc458/uHunt-solutions
37464e1db98c897995eab79caa6c70f379ad877a
[ "MIT" ]
null
null
null
11233/deli_deli.py
sc458/uHunt-solutions
37464e1db98c897995eab79caa6c70f379ad877a
[ "MIT" ]
null
null
null
inp = input() arr = inp.split(' ') L = int(arr[0]) N = int(arr[1]) dic = [] for i in range(0,L): st = input() stri = st.split(' ') dic.append(stri) for i in range(0,N): inp = input() tr = False for j in range(0,L): temp = dic[j] if(inp == temp[0]): print(temp[1]) tr = T...
18.866667
191
0.486455
157
849
2.630573
0.261147
0.217918
0.283293
0.169492
0.464891
0.164649
0
0
0
0
0
0.03622
0.252061
849
44
192
19.295455
0.614173
0
0
0.178571
0
0
0.026152
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
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
f362a5b22b3ec16acd5a213a5a5aeb167718d099
5,334
py
Python
Programming building blocks/milestone2es.py
marcosamos/Python-tasks-and-proyects
00426323647639016a407c40af1fd00f35ea2229
[ "MIT" ]
null
null
null
Programming building blocks/milestone2es.py
marcosamos/Python-tasks-and-proyects
00426323647639016a407c40af1fd00f35ea2229
[ "MIT" ]
null
null
null
Programming building blocks/milestone2es.py
marcosamos/Python-tasks-and-proyects
00426323647639016a407c40af1fd00f35ea2229
[ "MIT" ]
null
null
null
print("Welcome to my Game") print("Instructions: During this game you will use somethings keywords for continue with the story. You can play again to know the different endings.") print() start = input("Type, START ") print() print("Wake Up") print("Yo me desperte en la calle, a mi alrededor escuchaba gritos y veia fue...
78.441176
204
0.676228
849
5,334
4.223793
0.327444
0.011154
0.022588
0.035137
0.195204
0.134412
0.122421
0.104016
0.046291
0.037925
0
0.011744
0.249719
5,334
68
205
78.441176
0.884308
0.014061
0
0.149254
0
0.208955
0.741524
0.016381
0
0
0
0
0
1
0
false
0
0
0
0
0.656716
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
f3661b42f5e58f25b2f84b85d93682ea860bb684
25
py
Python
bindings/pydeck/pydeck/frontend_semver.py
robinator8/deck.gl
f9a23a0fb36de452556a7a6870f1f6afe303387c
[ "MIT" ]
2
2020-11-02T23:08:12.000Z
2021-03-31T23:53:43.000Z
bindings/pydeck/pydeck/frontend_semver.py
robinator8/deck.gl
f9a23a0fb36de452556a7a6870f1f6afe303387c
[ "MIT" ]
21
2019-09-17T14:10:09.000Z
2020-10-09T15:17:49.000Z
bindings/pydeck/pydeck/frontend_semver.py
robinator8/deck.gl
f9a23a0fb36de452556a7a6870f1f6afe303387c
[ "MIT" ]
4
2020-01-05T21:37:24.000Z
2020-11-02T23:08:14.000Z
DECKGL_SEMVER = "~8.2.*"
12.5
24
0.6
4
25
3.5
1
0
0
0
0
0
0
0
0
0
0
0.090909
0.12
25
1
25
25
0.545455
0
0
0
0
0
0.24
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
f37408d6bc6e7fbec35a1934d4b91048407849c4
962
py
Python
src/mattermostdriver/endpoints/oauth.py
romain-dartigues/python-mattermost-driver
a8b9e91e84a99d0526e6513f088137b1a91f0990
[ "MIT" ]
null
null
null
src/mattermostdriver/endpoints/oauth.py
romain-dartigues/python-mattermost-driver
a8b9e91e84a99d0526e6513f088137b1a91f0990
[ "MIT" ]
null
null
null
src/mattermostdriver/endpoints/oauth.py
romain-dartigues/python-mattermost-driver
a8b9e91e84a99d0526e6513f088137b1a91f0990
[ "MIT" ]
null
null
null
from .base import Base from .users import Users class OAuth(Base): endpoint = "/oauth" def register_oauth_app(self, options): return self.client.post(self.endpoint + "/apps", options=options) def get_oauth_apps(self, params=None): return self.client.get(self.endpoint + "/apps", params=pa...
34.357143
98
0.682952
137
962
4.583942
0.20438
0.063694
0.178344
0.121019
0.531847
0.523885
0.404459
0.234076
0.181529
0.181529
0
0
0.183992
962
27
99
35.62963
0.8
0
0
0
0
0
0.08316
0.022869
0
0
0
0
0
1
0.388889
false
0
0.111111
0.388889
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f39fed28386eff5b4d6cf0c36eb770238bfd0fac
431
py
Python
ums/userapp/common.py
hookehu/web
637047ff47bf5df6ee3152e6976162bb8e85531c
[ "MIT" ]
null
null
null
ums/userapp/common.py
hookehu/web
637047ff47bf5df6ee3152e6976162bb8e85531c
[ "MIT" ]
null
null
null
ums/userapp/common.py
hookehu/web
637047ff47bf5df6ee3152e6976162bb8e85531c
[ "MIT" ]
null
null
null
#-*- coding:utf-8 -*- from django.shortcuts import render from django.http import HttpResponse def error(request, err_msg): rst = {} rst['title'] = "出错啦" rst['user'] = request.user rst['reason'] = err_msg return render(request, "error.html", rst) def check_name(name): return True def check_phone(phone): retur...
16.576923
42
0.712297
66
431
4.545455
0.439394
0.133333
0.173333
0.24
0
0
0
0
0
0
0
0.00274
0.153132
431
25
43
17.24
0.819178
0.046404
0
0.277778
0
0
0.068293
0
0
0
0
0
0
1
0.333333
false
0
0.111111
0.277778
0.777778
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
f3a2076b80c9c519bb4b6a15896912eded3f24d6
217,639
py
Python
emoji/unicode_codes/fr.py
PIVASIA/emoji
f67846802b58e87c8c9ab65a864a50e9d9b89f80
[ "BSD-3-Clause" ]
4
2021-11-19T03:25:13.000Z
2022-02-24T15:32:30.000Z
emoji/unicode_codes/fr.py
FDlucifer/emoji-1
69c72d12b9b298f15c9d8826749196d9ca0be5df
[ "BSD-3-Clause" ]
null
null
null
emoji/unicode_codes/fr.py
FDlucifer/emoji-1
69c72d12b9b298f15c9d8826749196d9ca0be5df
[ "BSD-3-Clause" ]
1
2021-06-02T20:26:57.000Z
2021-06-02T20:26:57.000Z
# -*- coding: utf-8 -*- """Data literal storing emoji French names and Unicode codes.""" __all__ = ['EMOJI_UNICODE_FRENCH', 'UNICODE_EMOJI_FRENCH',] EMOJI_UNICODE_FRENCH = { u':visage_rieur:': u'\U0001F600', u':visage_souriant_avec_de_grands_yeux:': u'\U0001F603', u':visage_très_souriant_aux_yeux_rieurs...
65.632992
165
0.746204
28,109
217,639
5.442634
0.112135
0.053926
0.043239
0.041271
0.634531
0.570388
0.451849
0.322132
0.210384
0.13794
0
0.264391
0.091252
217,639
3,315
166
65.65279
0.509134
0.000372
0
0
0
0
0.786805
0.549436
0
0
0
0
0
1
0
false
0.000302
0
0
0
0
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
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
f3b0a95f7dbdb5190cb2cf689c9c9d3147b585f9
738
py
Python
selectorlib/formatter.py
shimilrahman/selectorlib
92ff2519759762b90208885da5aeb8e35c90e21a
[ "MIT" ]
48
2019-07-03T09:27:04.000Z
2022-02-18T13:38:21.000Z
selectorlib/formatter.py
shimilrahman/selectorlib
92ff2519759762b90208885da5aeb8e35c90e21a
[ "MIT" ]
45
2019-06-03T02:35:37.000Z
2022-01-05T14:26:38.000Z
selectorlib/formatter.py
shimilrahman/selectorlib
92ff2519759762b90208885da5aeb8e35c90e21a
[ "MIT" ]
8
2019-07-03T09:27:07.000Z
2022-02-12T17:38:17.000Z
class Formatter: """ Inherit this class and override format function """ def format(self, text: str): """Override this function in inherited subclass. return text after formatting""" return text @property def name(self): return self.__class__.__name__ @classmethod ...
22.363636
88
0.626016
80
738
5.575
0.45
0.060538
0.087444
0.11435
0.143498
0.143498
0
0
0
0
0
0
0.273713
738
32
89
23.0625
0.83209
0.365854
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.2
0.866667
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