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
ef96d53a7f793ce040d361eb0b51cdebef1b1e2d
258
py
Python
instagram/helper.py
fu2re/python-instagram
18ce70894f3a7bc8017368d508f3b9e2f1018c1b
[ "BSD-3-Clause" ]
23
2017-02-27T14:29:25.000Z
2021-11-05T20:12:43.000Z
instagram/helper.py
IlianIliev/python-instagram
aaa9acbcdd8b8068792601ce7b0e25f02a5132b0
[ "BSD-3-Clause" ]
3
2017-09-27T14:23:59.000Z
2018-05-28T10:57:07.000Z
instagram/helper.py
IlianIliev/python-instagram
aaa9acbcdd8b8068792601ce7b0e25f02a5132b0
[ "BSD-3-Clause" ]
12
2017-03-29T14:53:08.000Z
2021-03-18T18:56:57.000Z
import calendar from datetime import datetime import pytz def timestamp_to_datetime(ts): naive = datetime.utcfromtimestamp(float(ts)) return naive.replace(tzinfo=pytz.UTC) def datetime_to_timestamp(dt): return calendar.timegm(dt.timetuple())
19.846154
48
0.775194
34
258
5.764706
0.558824
0.142857
0
0
0
0
0
0
0
0
0
0
0.135659
258
12
49
21.5
0.878924
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.375
0.125
0.875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
1
0
0
0
3
efaee3ef9b517a3f5d5900d20bef2915b0f80249
148
py
Python
Python/Desafios/tarefas/exe 46 for.py
Kaioguilherme1/PythonCodigos
76d078c09f825d5fc81d21ba9cc14793a546847c
[ "MIT" ]
2
2020-05-21T16:02:43.000Z
2020-05-23T17:51:55.000Z
Python/Desafios/tarefas/exe 46 for.py
Kaioguilherme1/EstudoDeLinguagens
f2acc5fc74178bd33d503de19f817c69959c1690
[ "MIT" ]
null
null
null
Python/Desafios/tarefas/exe 46 for.py
Kaioguilherme1/EstudoDeLinguagens
f2acc5fc74178bd33d503de19f817c69959c1690
[ "MIT" ]
null
null
null
import time print('t - 10 segundos para o lançamento dos fogos') for c in range(10, 0, -1): time.sleep(1) print(c) print('lançamento feito')
24.666667
52
0.675676
26
148
3.846154
0.730769
0
0
0
0
0
0
0
0
0
0
0.058333
0.189189
148
6
53
24.666667
0.775
0
0
0
0
0
0.395973
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
efc04a2a01e0d37dc61a4eb2dbe31b1bb40572f0
460
py
Python
bookecommerce/bookproject/bookproject/bookmodule/migrations/0012_auto_20190401_0043.py
satishpal456/BookPortol
8537546bd12c68a514da23b909badda73d6edc9a
[ "MIT" ]
null
null
null
bookecommerce/bookproject/bookproject/bookmodule/migrations/0012_auto_20190401_0043.py
satishpal456/BookPortol
8537546bd12c68a514da23b909badda73d6edc9a
[ "MIT" ]
null
null
null
bookecommerce/bookproject/bookproject/bookmodule/migrations/0012_auto_20190401_0043.py
satishpal456/BookPortol
8537546bd12c68a514da23b909badda73d6edc9a
[ "MIT" ]
null
null
null
# Generated by Django 2.0.13 on 2019-04-01 00:43 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('bookmodule', '0011_libraryaddbook_position'), ] operations = [ migrations.RemoveField( model_name='libraryaddbook', name='p...
20.909091
55
0.586957
41
460
6.487805
0.682927
0.157895
0.195489
0.225564
0
0
0
0
0
0
0
0.062696
0.306522
460
21
56
21.904762
0.77116
0.1
0
0.4
1
0
0.199029
0.067961
0
0
0
0
0
1
0
false
0
0.066667
0
0.266667
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
efe13828f140f8cfa687f4e570b617e6e2e8cbf5
1,035
py
Python
exam/points.py
PetkoAndreev/Python-basics
a376362548380ae50c7c707551cb821547f44402
[ "MIT" ]
null
null
null
exam/points.py
PetkoAndreev/Python-basics
a376362548380ae50c7c707551cb821547f44402
[ "MIT" ]
null
null
null
exam/points.py
PetkoAndreev/Python-basics
a376362548380ae50c7c707551cb821547f44402
[ "MIT" ]
null
null
null
task = int(input()) points = int(input()) course = input() if task == 1: if course == 'Basics': points = points * 0.08 - (0.2 * (points * 0.08)) elif course == 'Fundamentals': points = points * 0.11 elif course == 'Advanced': points = points * 0.14 + (0.2 * (points * 0.14)) elif ta...
28.75
56
0.528502
135
1,035
4.051852
0.207407
0.21755
0.285192
0.082267
0.771481
0.771481
0.49543
0.49543
0.49543
0.49543
0
0.091413
0.302415
1,035
36
57
28.75
0.666205
0
0
0.5625
0
0
0.125483
0
0
0
0
0
0
1
0
false
0
0
0
0
0.03125
0
0
0
null
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
efee73ab090926a39dd1f7d7e99ac20170e79721
281
py
Python
op_interface/binarize_cols.py
LukasSlouka/TF_XNN
152698a5da5ed6fff9ec4337e8dca4a1a396b458
[ "MIT" ]
3
2018-05-19T19:41:28.000Z
2019-03-04T12:40:32.000Z
op_interface/binarize_cols.py
LukasSlouka/TF_XNN
152698a5da5ed6fff9ec4337e8dca4a1a396b458
[ "MIT" ]
null
null
null
op_interface/binarize_cols.py
LukasSlouka/TF_XNN
152698a5da5ed6fff9ec4337e8dca4a1a396b458
[ "MIT" ]
null
null
null
import tensorflow as tf from .utils import get_xmodule xmodule = get_xmodule() def binarize_cols(input_matrix): """ Wrapper for the binarize_rows :param input_matrix: input matrix :return: binarized matrix """ return xmodule.binarize_cols(input_matrix)
18.733333
46
0.729537
36
281
5.472222
0.555556
0.22335
0.172589
0.233503
0
0
0
0
0
0
0
0
0.199288
281
14
47
20.071429
0.875556
0.316726
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
0.8
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
effd3f96ae867bbeceeed6b555fc9923b8d407cd
21,880
py
Python
cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_asr9k_prm_cfg.py
tkamata-test/ydk-py
b637e7853a8edbbd31fbc05afa3aa4110b31c5f9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_asr9k_prm_cfg.py
tkamata-test/ydk-py
b637e7853a8edbbd31fbc05afa3aa4110b31c5f9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
cisco-ios-xr/ydk/models/cisco_ios_xr/_meta/_Cisco_IOS_XR_asr9k_prm_cfg.py
tkamata-test/ydk-py
b637e7853a8edbbd31fbc05afa3aa4110b31c5f9
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
import re import collections from enum import Enum from ydk._core._dm_meta_info import _MetaInfoClassMember, _MetaInfoClass, _MetaInfoEnum from ydk.types import Empty, YList, YLeafList, DELETE, Decimal64, FixedBitsDict from ydk._core._dm_meta_info import ATTRIBUTE, REFERENCE_CLASS, REFERENCE_LIST, REFERENCE_LEAFLI...
46.063158
183
0.541271
2,091
21,880
5.363941
0.068867
0.119829
0.149786
0.165835
0.81776
0.783613
0.691423
0.649429
0.600838
0.589693
0
0.013346
0.31851
21,880
474
184
46.160338
0.738851
0
0
0.524362
0
0.009281
0.450817
0.36935
0
0
0
0
0
1
0
false
0
0.018561
0
0.018561
0
0
0
0
null
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5600a06e6fe47cac5da13a9d955e9afa0baf31ed
159
py
Python
backend/apps/ecommerce/urls.py
hovedstyret/indok-web
598e9ca0b5f3a5e776a85dec0a8694b9bcd5a159
[ "MIT" ]
3
2021-11-18T09:29:14.000Z
2022-01-13T20:12:11.000Z
backend/apps/ecommerce/urls.py
rubberdok/indok-web
598e9ca0b5f3a5e776a85dec0a8694b9bcd5a159
[ "MIT" ]
277
2022-01-17T18:16:44.000Z
2022-03-31T19:44:04.000Z
backend/apps/ecommerce/urls.py
hovedstyret/indok-web
598e9ca0b5f3a5e776a85dec0a8694b9bcd5a159
[ "MIT" ]
null
null
null
from django.urls import path from .views import VippsCallback urlpatterns = [ path("vipps/callback/v2/payments/<order_id>", VippsCallback.as_view()), ]
17.666667
75
0.742138
20
159
5.8
0.8
0
0
0
0
0
0
0
0
0
0
0.007246
0.132075
159
8
76
19.875
0.833333
0
0
0
0
0
0.232704
0.232704
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
4bf4f45a0805cf50271c0b0118b8d86abea9dcfa
294
py
Python
pyomniar/error.py
ckelly/pyomniar
6dd128103e3e08eb0dc34ce2d717bf7af9ad0ba8
[ "MIT" ]
null
null
null
pyomniar/error.py
ckelly/pyomniar
6dd128103e3e08eb0dc34ce2d717bf7af9ad0ba8
[ "MIT" ]
null
null
null
pyomniar/error.py
ckelly/pyomniar
6dd128103e3e08eb0dc34ce2d717bf7af9ad0ba8
[ "MIT" ]
null
null
null
# Pyomniar # Copyright 2011 Chris Kelly # See LICENSE for details. class OmniarError(Exception): """Omniar exception""" def __init__(self, reason, response=None): self.reason = unicode(reason) self.response = response def __str__(self): return self.reason
22.615385
46
0.670068
33
294
5.727273
0.666667
0.15873
0
0
0
0
0
0
0
0
0
0.017699
0.231293
294
13
47
22.615385
0.818584
0.265306
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0
0.166667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
ef3ccfe61f7f8c9095d2c72352069b23945177f6
339
py
Python
157/accents.py
alehpineda/bitesofpy
bfd319a606cd0b7b9bfb85a3e8942872a2d43c48
[ "MIT" ]
null
null
null
157/accents.py
alehpineda/bitesofpy
bfd319a606cd0b7b9bfb85a3e8942872a2d43c48
[ "MIT" ]
2
2020-09-24T11:25:29.000Z
2021-06-25T15:43:35.000Z
157/accents.py
alehpineda/bitesofpy
bfd319a606cd0b7b9bfb85a3e8942872a2d43c48
[ "MIT" ]
null
null
null
import unicodedata def filter_accents(text): """Return a sequence of accented characters found in the passed in lowercased text string """ # decomposition return base char + added symbol or '' # you could also use unicodedata.normalize return {char for char in text.lower() if unicodedata.de...
30.818182
77
0.719764
44
339
5.522727
0.727273
0
0
0
0
0
0
0
0
0
0
0
0.212389
339
10
78
33.9
0.910112
0.530973
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
false
0
0.333333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
ef4a006629b160ec13786a715a4a893a370de23f
369
py
Python
src/cmsplugin_carousel/models.py
tygermarshall/djangocms-carousel
06f0eec38abeedd2d97bfd46464e24851619f54e
[ "MIT" ]
null
null
null
src/cmsplugin_carousel/models.py
tygermarshall/djangocms-carousel
06f0eec38abeedd2d97bfd46464e24851619f54e
[ "MIT" ]
null
null
null
src/cmsplugin_carousel/models.py
tygermarshall/djangocms-carousel
06f0eec38abeedd2d97bfd46464e24851619f54e
[ "MIT" ]
null
null
null
from cms.models import CMSPlugin from django.db import models from django.utils.translation import ugettext_lazy as _ class CarouselPlugin(CMSPlugin): interval = models.PositiveIntegerField(_('Interval'), default=5) title = models.CharField(_('Title'), max_length=255, default='', blank=True) def __str__(...
30.75
80
0.742547
47
369
5.638298
0.659574
0.075472
0
0
0
0
0
0
0
0
0
0.012739
0.149051
369
11
81
33.545455
0.83121
0
0
0
0
0
0.03523
0
0
0
0
0
0
1
0.125
false
0
0.375
0.125
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
1
1
0
0
3
ef5caa0ca6734f7c30c36e897009872e9c4912c4
5,204
py
Python
src/abaqus/Odb/OdbMeshElement.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
7
2022-01-21T09:15:45.000Z
2022-02-15T09:31:58.000Z
src/abaqus/Odb/OdbMeshElement.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
null
null
null
src/abaqus/Odb/OdbMeshElement.py
Haiiliin/PyAbaqus
f20db6ebea19b73059fe875a53be370253381078
[ "MIT" ]
null
null
null
from abaqusConstants import * from .SectionCategory import SectionCategory class OdbMeshElement: """OdbMeshElement objects are created with the part.addElements or rootAssembly.addElements methods. Attributes ---------- label: int An Int specifying the element label. type: str ...
46.053097
130
0.672175
648
5,204
5.398148
0.253086
0.050314
0.068611
0.085763
0.553745
0.546312
0.482847
0.441967
0.389937
0.33219
0
0.00102
0.246541
5,204
112
131
46.464286
0.891099
0.820523
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0.083333
0.166667
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
ef66a32dfe904a133e1cb6cd7698465b49c43538
958
py
Python
QNetbots/core_bot_api/bot.py
QuranicNet/ebad_bot
d004cb38744e246d3e9ef4ba34af7d2e39f556f0
[ "Apache-2.0" ]
null
null
null
QNetbots/core_bot_api/bot.py
QuranicNet/ebad_bot
d004cb38744e246d3e9ef4ba34af7d2e39f556f0
[ "Apache-2.0" ]
null
null
null
QNetbots/core_bot_api/bot.py
QuranicNet/ebad_bot
d004cb38744e246d3e9ef4ba34af7d2e39f556f0
[ "Apache-2.0" ]
null
null
null
import os os.path.dirname(os.path.abspath(__file__)+'/../../') from QNetbots.core_bot_api.matrix_bot_api import MatrixBotAPI from QNetbots.core_bot_api.mregex_handler import MRegexHandler from QNetbots.core_bot_api.mcommand_handler import MCommandHandler class Bot(object): def __init__(self, USERNAME,PASSWORD,SE...
29.030303
66
0.73382
121
958
5.520661
0.347107
0.052395
0.071856
0.085329
0.218563
0
0
0
0
0
0
0
0.175365
958
32
67
29.9375
0.84557
0
0
0.173913
0
0
0.007307
0
0
0
0
0
0
1
0.304348
false
0.086957
0.173913
0.086957
0.608696
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
323244e8730f24e5c337f64969e6e324b0780f7f
556
py
Python
WSN/nodemanagerstrategy.py
paganellif/sctm-project-paganelli-2021
810d9a82c653db8ec9db117c57f35b64cc14aaaf
[ "MIT" ]
null
null
null
WSN/nodemanagerstrategy.py
paganellif/sctm-project-paganelli-2021
810d9a82c653db8ec9db117c57f35b64cc14aaaf
[ "MIT" ]
null
null
null
WSN/nodemanagerstrategy.py
paganellif/sctm-project-paganelli-2021
810d9a82c653db8ec9db117c57f35b64cc14aaaf
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod class CheckConfigStrategy(ABC): @abstractmethod def check_config(self, values: dict) -> bool: """ Strategy that defines the logic used to validate the values to be set in the node configuration :return: true if the passed values satisfy the defined c...
26.47619
103
0.652878
63
556
5.730159
0.650794
0.141274
0.110803
0
0
0
0
0
0
0
0
0
0.278777
556
20
104
27.8
0.900249
0.415468
0
0.444444
0
0
0
0
0
0
0
0
0
1
0.222222
false
0.222222
0.111111
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
32501d2084e7050849b2e79b627aba0fa236c626
362
py
Python
00000000.py
kenjiuno/monitor-kh2fm
abc33f7964c518432a971443710b35d73d34e177
[ "BSD-2-Clause" ]
1
2021-01-26T15:28:43.000Z
2021-01-26T15:28:43.000Z
00000000.py
kenjiuno/monitor-kh2fm
abc33f7964c518432a971443710b35d73d34e177
[ "BSD-2-Clause" ]
null
null
null
00000000.py
kenjiuno/monitor-kh2fm
abc33f7964c518432a971443710b35d73d34e177
[ "BSD-2-Clause" ]
null
null
null
#!pcsx2py # This volatile module `monitor.00000000` may be re-loaded and loose all variables on some events: # - Game startup (on _reloadElfInfo) # - Resume, where it is suspended by pressing ESC key (on AppCoreThread::Resume) # Not: # - Resume, where it is suspended by System menu → Pause # - Load game state ...
27.846154
99
0.712707
52
362
4.961538
0.788462
0.085271
0.100775
0.116279
0.20155
0.20155
0
0
0
0
0
0.037931
0.198895
362
12
100
30.166667
0.848276
0.820442
0
0
0
0
0.108696
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
328609a447b75b8126690a4d99a619addc9ae197
171
py
Python
demo/demo/context_processors.py
dakrauth/picker
a3faffb5eecb0586339158560a68350bec1757b3
[ "MIT" ]
2
2016-07-15T20:42:31.000Z
2018-06-18T10:35:12.000Z
demo/demo/context_processors.py
dakrauth/picker
a3faffb5eecb0586339158560a68350bec1757b3
[ "MIT" ]
1
2019-12-18T23:54:57.000Z
2019-12-18T23:54:57.000Z
demo/demo/context_processors.py
dakrauth/picker
a3faffb5eecb0586339158560a68350bec1757b3
[ "MIT" ]
2
2016-07-15T20:46:19.000Z
2016-07-31T23:55:58.000Z
from django.conf import settings def demo(request): DEMO = getattr(settings, 'DEMO', {}) return { 'fake_datetime': DEMO.get('allow_fake_datetime') }
19
56
0.643275
20
171
5.35
0.7
0.224299
0
0
0
0
0
0
0
0
0
0
0.222222
171
8
57
21.375
0.804511
0
0
0
0
0
0.210526
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
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
328f7ef3eb2c8ae3bd95b51ebc94f64948ad16ee
62
py
Python
accept_by_pipe.py
Mandheling49543/Python001
9f6b540451544fe0cc882e877a32fd904064a697
[ "Apache-2.0" ]
null
null
null
accept_by_pipe.py
Mandheling49543/Python001
9f6b540451544fe0cc882e877a32fd904064a697
[ "Apache-2.0" ]
null
null
null
accept_by_pipe.py
Mandheling49543/Python001
9f6b540451544fe0cc882e877a32fd904064a697
[ "Apache-2.0" ]
null
null
null
import sys for n in sys.stdin: print(int(n.strip() )//20)
15.5
30
0.629032
12
62
3.25
0.833333
0
0
0
0
0
0
0
0
0
0
0.04
0.193548
62
4
30
15.5
0.74
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
32ae50acb3cc635e2a56321561cbf51b84c95b0a
365
py
Python
uploader/mooc.py
songouyang/free-img
23ac8f76f16a71e480a3ac40b4cb34cf4702e873
[ "MIT" ]
23
2020-07-12T07:23:11.000Z
2022-02-11T09:56:45.000Z
uploader/mooc.py
songouyang/free-img
23ac8f76f16a71e480a3ac40b4cb34cf4702e873
[ "MIT" ]
2
2021-07-25T07:01:14.000Z
2021-09-01T12:17:49.000Z
uploader/mooc.py
songouyang/free-img
23ac8f76f16a71e480a3ac40b4cb34cf4702e873
[ "MIT" ]
21
2020-07-23T15:27:37.000Z
2022-03-08T02:44:49.000Z
from uploader import AbstractUploader class Uploader(AbstractUploader): @property def request_url(self) -> str: return 'https://www.imooc.com/wenda/uploadimg' @property def file_key(self) -> str: return 'pic' @property def parsed(self) -> str: return self.request.json(...
24.333333
77
0.635616
41
365
5.609756
0.634146
0.143478
0.169565
0
0
0
0
0
0
0
0
0
0.216438
365
14
78
26.071429
0.804196
0
0
0.272727
0
0
0.172603
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0.272727
0.727273
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
32b3e4619c4026f15cbcf385dcc0736ecc725966
385
py
Python
examples/web/jsontool.py
spaceone/circuits
ed6d5464f1f83034109ed3d23d126c715450cfd2
[ "MIT" ]
null
null
null
examples/web/jsontool.py
spaceone/circuits
ed6d5464f1f83034109ed3d23d126c715450cfd2
[ "MIT" ]
null
null
null
examples/web/jsontool.py
spaceone/circuits
ed6d5464f1f83034109ed3d23d126c715450cfd2
[ "MIT" ]
null
null
null
#!/usr/bin/env python from json import dumps from circuits.web import Controller, Server def json(f): def wrapper(self, *args, **kwargs): return dumps(f(self, *args, **kwargs)) return wrapper class Root(Controller): @json def getrange(self, limit=4): return list(range(int(limit))) ...
16.73913
46
0.641558
56
385
4.410714
0.571429
0.024292
0.11336
0.161943
0
0
0
0
0
0
0
0.029221
0.2
385
22
47
17.5
0.772727
0.051948
0
0
0
0
0.019231
0
0
0
0
0
0
1
0.230769
false
0
0.153846
0.153846
0.692308
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
08692e76ba8eb99f8b1aab6dbc41c6614b62da0e
527
py
Python
ProjectEulerCode/prob14.py
khaleeque-ansari/Online-Coding-Problems-Solutions-Python
c8378ccad88ce5f50239f82cf9569344e1b92f18
[ "Apache-2.0" ]
null
null
null
ProjectEulerCode/prob14.py
khaleeque-ansari/Online-Coding-Problems-Solutions-Python
c8378ccad88ce5f50239f82cf9569344e1b92f18
[ "Apache-2.0" ]
null
null
null
ProjectEulerCode/prob14.py
khaleeque-ansari/Online-Coding-Problems-Solutions-Python
c8378ccad88ce5f50239f82cf9569344e1b92f18
[ "Apache-2.0" ]
null
null
null
gnum = 1 max_count = 1 for num in range(837799 ,837899 ): count = 1 knum = num while( num != 1): if( not num & 1): num = num/2 else: num = 3*num + 1 count += 1 if (max_co...
19.518519
50
0.297913
46
527
3.326087
0.391304
0.20915
0.169935
0
0
0
0
0
0
0
0
0.111702
0.643264
527
26
51
20.269231
0.702128
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.125
0
0
0
null
1
0
0
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
1
0
0
0
0
0
0
0
0
3
086b3118c3f183e55c72bc5129afeedcff24aee0
201
py
Python
Modulos/ProvasPassadas/provas_passadas.core.py
gabrielfava/asap
be6211190d4acfca7aacef45d7dc467e2237496d
[ "Apache-2.0" ]
2
2018-03-16T19:24:35.000Z
2018-03-20T01:15:21.000Z
Modulos/ProvasPassadas/provas_passadas.core.py
jvalv/asaPY
97cdc9359d8afeb9747f4372b253b179131d2be4
[ "Apache-2.0" ]
1
2018-02-24T23:43:15.000Z
2018-02-24T23:43:15.000Z
Modulos/ProvasPassadas/provas_passadas.core.py
gabrielfava/asapy
be6211190d4acfca7aacef45d7dc467e2237496d
[ "Apache-2.0" ]
1
2018-02-28T14:45:52.000Z
2018-02-28T14:45:52.000Z
import requests printme(2661) # retorna corpo da pagina def printme(id): page = requests.get("https://www.urionlinejudge.com.br/judge/pt/problems/view/"+id); print(page.content); return;
28.714286
88
0.706468
28
201
5.071429
0.857143
0
0
0
0
0
0
0
0
0
0
0.023256
0.144279
201
7
89
28.714286
0.802326
0.114428
0
0
0
0
0.333333
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.333333
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
089819f4c0a24430323b87875e8a11f6377bea0c
180
py
Python
guest-talks/20170213-optional-static-types/syntax.py
mgadagin/PythonClass
70b370362d75720b3fb0e1d6cc8158f9445e9708
[ "MIT" ]
46
2017-09-27T20:19:36.000Z
2020-12-08T10:07:19.000Z
guest-talks/20170213-optional-static-types/syntax.py
mgadagin/PythonClass
70b370362d75720b3fb0e1d6cc8158f9445e9708
[ "MIT" ]
6
2018-01-09T08:07:37.000Z
2020-09-07T12:25:13.000Z
guest-talks/20170213-optional-static-types/syntax.py
mgadagin/PythonClass
70b370362d75720b3fb0e1d6cc8158f9445e9708
[ "MIT" ]
18
2017-10-10T02:06:51.000Z
2019-12-01T10:18:13.000Z
# Basic type checking: no types necessary x = 3 x + 'a' def return_type() -> float: return 'a' return_type(9) def argument_type(x: float): return argument_type()
9
41
0.644444
27
180
4.148148
0.518519
0.178571
0
0
0
0
0
0
0
0
0
0.014599
0.238889
180
19
42
9.473684
0.80292
0.216667
0
0
0
0
0.014388
0
0
0
0
0
0
1
0.25
false
0
0
0.25
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
089c55967d7ea815c0a052b2aab6e02475b2eeb6
390
py
Python
vice/core/tests/utils.py
rcooke-ast/VICE
762911eb4192c7206ce2ae36b645d120ed889cb7
[ "MIT" ]
22
2018-09-26T21:02:51.000Z
2022-03-24T18:07:03.000Z
vice/core/tests/utils.py
rcooke-ast/VICE
762911eb4192c7206ce2ae36b645d120ed889cb7
[ "MIT" ]
2
2019-05-03T13:08:27.000Z
2021-02-17T20:11:37.000Z
vice/core/tests/utils.py
rcooke-ast/VICE
762911eb4192c7206ce2ae36b645d120ed889cb7
[ "MIT" ]
3
2019-05-10T19:26:31.000Z
2021-11-10T08:13:42.000Z
r""" Utility Functions ================= .. warning:: User access of this module is discouraged Contains utility functions for testing. """ import math def dummy1(x): r""" A dummy function of one variable """ return x def dummy2(x, y): r""" A dummy function of two variables """ return x * y def dummy3(...
11.818182
54
0.635897
58
390
4.275862
0.534483
0.024194
0.084677
0.181452
0.350806
0.282258
0.282258
0.282258
0.282258
0
0
0.00974
0.210256
390
32
55
12.1875
0.795455
0.594872
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0
0.636364
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
089ed403f3efea7526f61b66d8b171aedb173a59
69
py
Python
pytimeconv/__init__.py
Ichunjo/pytimeconv
a24ef5c71641cc0e31612701f857795c8ae13c79
[ "MIT" ]
3
2021-11-01T15:14:00.000Z
2021-11-27T15:49:56.000Z
pytimeconv/__init__.py
Ichunjo/pytimeconv
a24ef5c71641cc0e31612701f857795c8ae13c79
[ "MIT" ]
null
null
null
pytimeconv/__init__.py
Ichunjo/pytimeconv
a24ef5c71641cc0e31612701f857795c8ae13c79
[ "MIT" ]
null
null
null
# flake8: noqa from ._timeconv import Convert __all__ = ['Convert']
13.8
30
0.724638
8
69
5.625
0.875
0
0
0
0
0
0
0
0
0
0
0.017241
0.15942
69
4
31
17.25
0.758621
0.173913
0
0
0
0
0.127273
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
08a34f7dfe72c7690b99bca58409bd7f384fa687
616
py
Python
scripts/fw_build_id.py
elliot-wdtl/memfault-firmware-sdk
99f20240d93792391583b46b7a74e3eb3046295c
[ "BSD-3-Clause" ]
79
2019-07-05T15:53:31.000Z
2022-03-25T13:17:19.000Z
scripts/fw_build_id.py
elliot-wdtl/memfault-firmware-sdk
99f20240d93792391583b46b7a74e3eb3046295c
[ "BSD-3-Clause" ]
17
2019-11-04T15:35:54.000Z
2022-03-17T18:43:41.000Z
scripts/fw_build_id.py
elliot-wdtl/memfault-firmware-sdk
99f20240d93792391583b46b7a74e3eb3046295c
[ "BSD-3-Clause" ]
41
2019-07-07T23:18:32.000Z
2022-03-22T09:31:41.000Z
# # Copyright (c) Memfault, Inc. # See License.txt for details # """ Shim around mflt_build_id to keep the original fw_build_id.py file (this file) working as before. See mflt-build-id/src/mflt_build_id/__init__.py for actual source code. """ import os import sys scripts_dir = os.path.dirname(os.path.realpath(__file...
24.64
97
0.746753
103
616
4.067961
0.485437
0.150358
0.210024
0.167064
0.171838
0.171838
0
0
0
0
0
0.001887
0.13961
616
24
98
25.666667
0.788679
0.407468
0
0
0
0
0.068376
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
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
1
0
0
0
0
3
08b2c8ababe4484215c925839ead2e5d1cf868eb
71
py
Python
tests/syntax/unmatched_closing_bracket_2.py
matan-h/friendly
3ab0fc6541c837271e8865e247750007acdd18fb
[ "MIT" ]
287
2019-04-08T13:18:29.000Z
2021-03-14T19:10:21.000Z
test/brackets_samples/mismatched_bracket_multiline_error.py
kaareloide/error-explainer
786fa558efd0c26534e51a27924167000f1d1eef
[ "MIT" ]
191
2019-04-08T14:39:18.000Z
2021-03-14T22:14:56.000Z
test/brackets_samples/mismatched_bracket_multiline_error.py
kaareloide/error-explainer
786fa558efd0c26534e51a27924167000f1d1eef
[ "MIT" ]
9
2019-04-08T12:54:08.000Z
2020-11-20T02:26:27.000Z
"""Should raise SyntaxError: invalid syntax""" x = (1, 2, 3]
14.2
46
0.549296
9
71
4.333333
1
0
0
0
0
0
0
0
0
0
0
0.058824
0.28169
71
4
47
17.75
0.705882
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
08d7d7aad6fb041ff4f8540d87f3ca0ac9c9e57a
511
py
Python
force_gromacs/notification_listeners/hpc_writer/hpc_writer_factory.py
force-h2020/force-bdss-plugin-gromacs
1518185e4cdab824d57570bc5df6c719f1f11bea
[ "MIT" ]
null
null
null
force_gromacs/notification_listeners/hpc_writer/hpc_writer_factory.py
force-h2020/force-bdss-plugin-gromacs
1518185e4cdab824d57570bc5df6c719f1f11bea
[ "MIT" ]
28
2019-09-05T09:05:52.000Z
2020-11-11T13:32:46.000Z
force_gromacs/notification_listeners/hpc_writer/hpc_writer_factory.py
force-h2020/force-bdss-plugin-gromacs
1518185e4cdab824d57570bc5df6c719f1f11bea
[ "MIT" ]
1
2020-01-15T20:53:17.000Z
2020-01-15T20:53:17.000Z
# (C) Copyright 2010-2020 Enthought, Inc., Austin, TX # All rights reserved. from force_bdss.api import BaseNotificationListenerFactory from .hpc_writer import HPCWriter from .hpc_writer_model import HPCWriterModel class HPCWriterFactory(BaseNotificationListenerFactory): def get_identifier(self): retu...
23.227273
58
0.741683
59
511
6.237288
0.525424
0.097826
0.070652
0.103261
0.13587
0.13587
0
0
0
0
0
0.019465
0.195695
511
21
59
24.333333
0.875912
0.142857
0
0
0
0
0.046083
0
0
0
0
0
0
1
0.333333
false
0
0.25
0.333333
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
08df61969c0bdfdd3098f417be9802e79768aa4b
39
py
Python
flytekit/core/__init__.py
bimtauer/flytekit
3cfbb71779c44cf33866b45b22f71ffc2d607d92
[ "Apache-2.0" ]
null
null
null
flytekit/core/__init__.py
bimtauer/flytekit
3cfbb71779c44cf33866b45b22f71ffc2d607d92
[ "Apache-2.0" ]
null
null
null
flytekit/core/__init__.py
bimtauer/flytekit
3cfbb71779c44cf33866b45b22f71ffc2d607d92
[ "Apache-2.0" ]
null
null
null
SERIALIZED_CONTEXT_ENV_VAR = "_F_SS_C"
19.5
38
0.846154
7
39
3.857143
1
0
0
0
0
0
0
0
0
0
0
0
0.076923
39
1
39
39
0.75
0
0
0
0
0
0.179487
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
08e51ae06672ec0e2a6ce7c9b650758f0c39d827
3,757
py
Python
models/model_RNN_LSTM_GRU.py
nce3xin/spam
908421d5cf2dd103e2a7044bf1c8586aaf5f2ada
[ "MIT" ]
1
2019-03-13T10:49:25.000Z
2019-03-13T10:49:25.000Z
models/model_RNN_LSTM_GRU.py
nce3xin/spam
908421d5cf2dd103e2a7044bf1c8586aaf5f2ada
[ "MIT" ]
null
null
null
models/model_RNN_LSTM_GRU.py
nce3xin/spam
908421d5cf2dd103e2a7044bf1c8586aaf5f2ada
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Fri Jun 29 15:07:58 2018 @author: nce3xin """ import torch import torch.nn as nn #use_cuda = not hyperparams.no_cuda and torch.cuda.is_available() #device = torch.device("cuda" if use_cuda else "cpu") device = torch.device("cuda" if torch.cuda.is_available() else "cpu") class ...
36.833333
99
0.629225
496
3,757
4.625
0.195565
0.068003
0.079337
0.103749
0.753705
0.722319
0.722319
0.690497
0.690497
0.666957
0
0.027441
0.253128
3,757
102
100
36.833333
0.790093
0.212137
0
0.516667
0
0
0.007148
0
0
0
0
0
0
1
0.116667
false
0
0.033333
0
0.266667
0.016667
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
3e97fc2e22b3818d6f226879590e015d81793993
232
py
Python
python-review/extending_list.py
SandraCoburn/python-web-development
1f33cdbd970566b128d2e81e665e504da79dcffd
[ "MIT" ]
null
null
null
python-review/extending_list.py
SandraCoburn/python-web-development
1f33cdbd970566b128d2e81e665e504da79dcffd
[ "MIT" ]
null
null
null
python-review/extending_list.py
SandraCoburn/python-web-development
1f33cdbd970566b128d2e81e665e504da79dcffd
[ "MIT" ]
null
null
null
class SuperList(list): def __len__(self): return 1000 super_list1 = SuperList() print((len(super_list1))) super_list1.append(5) print(super_list1[0]) print(issubclass(SuperList, list)) # true print(issubclass(list, object))
19.333333
41
0.74569
32
232
5.15625
0.53125
0.242424
0
0
0
0
0
0
0
0
0
0.048544
0.112069
232
12
42
19.333333
0.752427
0.017241
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0.111111
0.333333
0.444444
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
1
0
3
3eb3d833de1d194cc8fc2ad1d1db5399c27b0d02
976
py
Python
src/python/e2e-test-runner/e2e_test_runner/test_web_auth.py
inickles/grapl
f906aba74b2249c9c7d7b1afe6fc540551cdee8b
[ "Apache-2.0" ]
313
2018-10-15T05:58:39.000Z
2020-04-21T20:31:39.000Z
src/python/e2e-test-runner/e2e_test_runner/test_web_auth.py
graplsec/grapl
68386b425c8e9e34f7380a078279b67b316fe2a0
[ "Apache-2.0" ]
848
2020-04-26T19:23:37.000Z
2022-03-31T16:57:39.000Z
src/python/e2e-test-runner/e2e_test_runner/test_web_auth.py
graplsec/grapl
68386b425c8e9e34f7380a078279b67b316fe2a0
[ "Apache-2.0" ]
43
2020-04-27T20:59:18.000Z
2022-03-29T21:56:09.000Z
""" TODO (wimax July 2020): I don't see anything in here that indicates that screams "e2e test", this certainly seems like more of an integration test. There's nothing here that does anything cross-service. Perhaps it's just "does it work in AWS?" """ from grapl_tests_common.clients.grapl_web_client import GraplWebCli...
32.533333
74
0.753074
143
976
4.965035
0.601399
0.033803
0.067606
0.084507
0.2
0.2
0.2
0.115493
0.115493
0
0
0.024184
0.152664
976
29
75
33.655172
0.834341
0.517418
0
0.2
0
0
0
0
0
0
0
0.068966
0.3
1
0.3
false
0.2
0.1
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
1
0
0
0
0
0
3
3eb9da3206704b6ecb459098e344abdb549c07b3
784
py
Python
embutils/utils/__init__.py
cwichel/embutils
188d86d84637088bafef188b3312078048934113
[ "MIT" ]
null
null
null
embutils/utils/__init__.py
cwichel/embutils
188d86d84637088bafef188b3312078048934113
[ "MIT" ]
null
null
null
embutils/utils/__init__.py
cwichel/embutils
188d86d84637088bafef188b3312078048934113
[ "MIT" ]
null
null
null
from .binary import bin_to_hex, merge_bin, merge_hex from .bytes import bitmask, reverse_bits, reverse_bytes from .cobs import COBS from .common import TPAny, TPByte, TPPath, TPText, CBAny2Any, CBAny2None, CBNone2None from .crc import CRC from .enum import IntEnum from .events import EventHook from .logger import SDK_L...
41.263158
98
0.831633
104
784
6.163462
0.548077
0.028081
0
0
0
0
0
0
0
0
0
0.004342
0.118622
784
18
99
43.555556
0.9233
0
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
3edd350871e3a951bf4198c805c5ae875adb50a4
537
py
Python
algorithm-study/study/kingdomKnight.py
Seongkyun-Yu/TIL
2be6a2a68246bc98996b1421e2cc20e025c876ed
[ "MIT" ]
1
2020-02-17T15:15:55.000Z
2020-02-17T15:15:55.000Z
algorithm-study/study/kingdomKnight.py
Seongkyun-Yu/TIL
2be6a2a68246bc98996b1421e2cc20e025c876ed
[ "MIT" ]
6
2020-07-31T17:03:56.000Z
2022-02-27T04:17:57.000Z
algorithm-study/study/kingdomKnight.py
Seongkyun-Yu/TIL
2be6a2a68246bc98996b1421e2cc20e025c876ed
[ "MIT" ]
null
null
null
position = list(input()) xPos = int(position[1]) yPos = int(ord(position[0])) - int(ord('a')) + 1 result = 0 # x 2칸 이동 if xPos + 2 > 0 and yPos - 1 > 0: result += 1 if xPos + 2 > 0 and yPos + 1 > 0: result += 1 if xPos - 2 > 0 and yPos - 1 > 0: result += 1 if xPos - 2 > 0 and yPos + 1 > 0: result += 1 # ...
15.794118
48
0.521415
106
537
2.641509
0.179245
0.171429
0.228571
0.214286
0.685714
0.685714
0.685714
0.685714
0.685714
0.685714
0
0.125683
0.318436
537
34
49
15.794118
0.639344
0.027933
0
0.380952
0
0
0.001923
0
0
0
0
0
0
1
0
false
0
0
0
0
0.047619
0
0
0
null
0
1
1
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
3ee5b2186c514f7de8eb6b07302cdcd109cff7cb
254
py
Python
renderers/base.py
DanBeard/janus_file_browser
a28d4b6aad235b55b9410e6ec030f0fb0326dab8
[ "BSD-3-Clause" ]
4
2015-09-16T01:49:08.000Z
2017-02-16T06:20:36.000Z
renderers/base.py
DanBeard/janus_file_browser
a28d4b6aad235b55b9410e6ec030f0fb0326dab8
[ "BSD-3-Clause" ]
null
null
null
renderers/base.py
DanBeard/janus_file_browser
a28d4b6aad235b55b9410e6ec030f0fb0326dab8
[ "BSD-3-Clause" ]
null
null
null
__author__ = 'varx' class BaseRenderer(object): """ Base renderer that all renders should inherit from """ def can_render(self, path): raise NotImplementedError() def render(self, path): raise NotImplementedError()
19.538462
54
0.653543
26
254
6.192308
0.769231
0.124224
0.173913
0.236025
0.47205
0
0
0
0
0
0
0
0.251969
254
13
55
19.538462
0.847368
0.19685
0
0.333333
0
0
0.021164
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.5
0
1
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
3ef5645a2e029db704b0a4e85b6d6406ca6380e3
839
py
Python
bacpy/utils.py
tomol111/bacpy
9b01428ade5ece7c58d8b689c0feaab60171cd0f
[ "MIT" ]
null
null
null
bacpy/utils.py
tomol111/bacpy
9b01428ade5ece7c58d8b689c0feaab60171cd0f
[ "MIT" ]
null
null
null
bacpy/utils.py
tomol111/bacpy
9b01428ade5ece7c58d8b689c0feaab60171cd0f
[ "MIT" ]
null
null
null
from __future__ import annotations from typing import overload, Sequence, TypeVar # Type variables T_co = TypeVar("T_co", covariant=True) # ============ # SequenceView # ============ class SequenceView(Sequence[T_co]): def __init__(self, data: Sequence[T_co]) -> None: self._data = data @overloa...
21.512821
62
0.61621
100
839
4.68
0.38
0.119658
0.070513
0.121795
0.115385
0
0
0
0
0
0
0
0.231228
839
38
63
22.078947
0.725581
0.06317
0
0.1
0
0
0.052497
0.047375
0
0
0
0
0
1
0.35
false
0
0.1
0.15
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
41187035d30822fe716046d57a3da305e408ba0b
7,967
py
Python
sphero/core.py
yoshikiohshima/gato
d4b97f4bf68107c81d20e0d7894a654c5d8924e9
[ "BSD-2-Clause" ]
null
null
null
sphero/core.py
yoshikiohshima/gato
d4b97f4bf68107c81d20e0d7894a654c5d8924e9
[ "BSD-2-Clause" ]
null
null
null
sphero/core.py
yoshikiohshima/gato
d4b97f4bf68107c81d20e0d7894a654c5d8924e9
[ "BSD-2-Clause" ]
null
null
null
# coding: utf-8 import serial import struct import logging import glob import request class SpheroError(Exception): pass class Sphero(object): def __init__(self, path=None): self.sp = None self.dev = 0x00 self.seq = 0x00 self.set_sphero(path) def set_sphero(self, path=N...
26.035948
142
0.642902
944
7,967
5.276483
0.262712
0.081309
0.252961
0.261393
0.370809
0.148163
0.095965
0.034933
0
0
0
0.015326
0.271118
7,967
305
143
26.121311
0.842432
0.10054
0
0.241026
0
0
0.035212
0
0
0
0.004544
0
0
1
0.333333
false
0.005128
0.030769
0.046154
0.466667
0.005128
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
f5c402d710ea01f28738d996b3a3658f4a30fe0e
722
py
Python
aviation_weather/components/remarks.py
StephenOrJames/aviation-weather
35594cc1ba448acdea9123380cc47ac96d2107c8
[ "MIT" ]
2
2017-03-14T23:28:28.000Z
2020-01-10T23:04:30.000Z
aviation_weather/components/remarks.py
aviationweather/aviation_weather
35594cc1ba448acdea9123380cc47ac96d2107c8
[ "MIT" ]
null
null
null
aviation_weather/components/remarks.py
aviationweather/aviation_weather
35594cc1ba448acdea9123380cc47ac96d2107c8
[ "MIT" ]
null
null
null
from aviation_weather.components import Component from aviation_weather.exceptions import RemarksDecodeError class Remarks(Component): def __init__(self, raw): """Parse `raw` to create a new Remarks object. Args: raw (str): The remarks to be stored (not actually parsed at the moment)...
25.785714
84
0.617729
84
722
5.238095
0.547619
0.054545
0.086364
0.072727
0
0
0
0
0
0
0
0
0.297784
722
27
85
26.740741
0.86785
0.314404
0
0.142857
0
0
0.078125
0
0
0
0
0
0
1
0.214286
false
0
0.142857
0.142857
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f5c528839f8ac177a1233936ddef05cef68e43ad
534
py
Python
python/fractal_tree.py
rishab9750/HacktoberFest_2021
331ea83912c05acfaedc152ca1975073023701a3
[ "MIT" ]
33
2021-10-01T17:51:53.000Z
2022-03-20T11:30:09.000Z
python/fractal_tree.py
rishab9750/HacktoberFest_2021
331ea83912c05acfaedc152ca1975073023701a3
[ "MIT" ]
69
2021-10-01T09:07:22.000Z
2021-10-20T02:21:12.000Z
python/fractal_tree.py
rishab9750/HacktoberFest_2021
331ea83912c05acfaedc152ca1975073023701a3
[ "MIT" ]
187
2021-10-01T09:06:51.000Z
2022-01-29T03:18:30.000Z
from turtle import * speed('fastest') rt(-90) angle = 30 def draw(sz, level): if level > 0: colormode(255) pencolor(0, 255//level, 0) fd(sz) rt(angle) draw(0.8 * sz, level-1) pencolor(0, 255//le...
15.257143
35
0.359551
59
534
3.254237
0.423729
0.125
0.1875
0.265625
0.479167
0.385417
0.385417
0.385417
0.385417
0.385417
0
0.129921
0.524345
534
34
36
15.705882
0.625984
0
0
0.388889
0
0
0.014
0
0
0
0
0
0
1
0.055556
false
0
0.055556
0
0.111111
0
0
0
0
null
0
1
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
f5f82575302f8f1d8d0fa3107270c79ef11188e1
313
py
Python
0006/P0006.py
matteougolotti/project-euler
b763367a38127d5ff6342446131a14f58d5e7ffe
[ "MIT" ]
null
null
null
0006/P0006.py
matteougolotti/project-euler
b763367a38127d5ff6342446131a14f58d5e7ffe
[ "MIT" ]
null
null
null
0006/P0006.py
matteougolotti/project-euler
b763367a38127d5ff6342446131a14f58d5e7ffe
[ "MIT" ]
null
null
null
import sys def natural_square_sum(n): return n * (n + 1) * (2 * n + 1) / 6 def natural_sum_square(n): return (n * (n + 1) / 2) ** 2 if __name__ == "__main__": t = int(input()) for i in range(t): n = int(input()) result = natural_sum_square(n) - natural_square_sum(n) print(str(int(result)))
22.357143
58
0.594249
53
313
3.207547
0.45283
0.035294
0.188235
0.2
0.129412
0.129412
0
0
0
0
0
0.029046
0.230032
313
14
59
22.357143
0.676349
0
0
0
0
0
0.025478
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0.181818
0.454545
0.090909
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
1
0
0
0
3
eb0d37ceb00815b039dccd094bccfb5f00693aa9
323
py
Python
src/SemBrain/MsgServo.py
trkelch/sem
58abdbbaa8ac5f6b4e57b5f5ee890b3258203573
[ "Unlicense" ]
null
null
null
src/SemBrain/MsgServo.py
trkelch/sem
58abdbbaa8ac5f6b4e57b5f5ee890b3258203573
[ "Unlicense" ]
null
null
null
src/SemBrain/MsgServo.py
trkelch/sem
58abdbbaa8ac5f6b4e57b5f5ee890b3258203573
[ "Unlicense" ]
null
null
null
from Drivers.ServoEnums import * class MsgElServo(object): """description of class""" def __init__(self, name, action, servo): self.Name = name self.Servo = servo self.Action = action def __str__(self): return "Cmd: {0} {1} >>{2}".format(self.Name, self.Action, self.Servo)...
21.533333
78
0.609907
40
323
4.725
0.55
0.126984
0
0
0
0
0
0
0
0
0
0.012397
0.250774
323
14
79
23.071429
0.768595
0.06192
0
0
0
0
0.061017
0
0
0
0
0
0
1
0.25
false
0
0.125
0.125
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
eb22266c11ffad9cc4e4c545a8b94bd8c4802353
2,954
py
Python
minkit/base/data_types.py
mramospe/minkit
fa6808a6ca8063751da92f683f2b810a0690a462
[ "MIT-0" ]
null
null
null
minkit/base/data_types.py
mramospe/minkit
fa6808a6ca8063751da92f683f2b810a0690a462
[ "MIT-0" ]
5
2020-01-30T18:30:33.000Z
2020-11-10T09:13:47.000Z
minkit/base/data_types.py
mramospe/minkit
fa6808a6ca8063751da92f683f2b810a0690a462
[ "MIT-0" ]
1
2020-02-03T22:59:00.000Z
2020-02-03T22:59:00.000Z
######################################## # MIT License # # Copyright (c) 2020 Miguel Ramos Pernas ######################################## ''' Define the data_types.for the variables to use in the package. ''' import ctypes import numpy as np __all__ = [] # Types for numpy.ndarray objects cpu_float = np.float64 # do...
22.210526
116
0.622884
455
2,954
3.876923
0.195604
0.039683
0.087302
0.095238
0.566327
0.49093
0.403061
0.238662
0.159297
0.103175
0
0.010444
0.222072
2,954
132
117
22.378788
0.75718
0.250169
0
0.21875
0
0
0
0
0
0
0
0
0
1
0.234375
false
0
0.03125
0.125
0.609375
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
eb42dbb6d094e5485aa6030dc3bc1051f458f297
476
py
Python
PINNFramework/__init__.py
albernsrya/NeuralSolvers
d044ffd6d74ab7814e2e86fc41949ad04688e06a
[ "MIT" ]
2
2021-07-19T13:22:36.000Z
2021-12-19T18:32:15.000Z
PINNFramework/__init__.py
albernsrya/NeuralSolvers
d044ffd6d74ab7814e2e86fc41949ad04688e06a
[ "MIT" ]
null
null
null
PINNFramework/__init__.py
albernsrya/NeuralSolvers
d044ffd6d74ab7814e2e86fc41949ad04688e06a
[ "MIT" ]
1
2021-05-24T04:11:35.000Z
2021-05-24T04:11:35.000Z
from . import models from .InitalCondition import InitialCondition from .BoundaryCondition import PeriodicBC from .BoundaryCondition import DirichletBC from .BoundaryCondition import RobinBC from .BoundaryCondition import NeumannBC from .PDELoss import PDELoss from .PINN import PINN import PINNFramework.models __all_...
20.695652
45
0.741597
44
476
7.931818
0.340909
0.240688
0.309456
0
0
0
0
0
0
0
0
0
0.178571
476
22
46
21.636364
0.892583
0
0
0
0
0
0.161765
0
0
0
0
0
0
1
0
false
0
0.45
0
0.45
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
1
0
0
0
0
3
eb45b54d7a55d7ffb25c920727931e0cf221b7f2
1,611
py
Python
python-starter/design/creational/abstract_factory.py
rodelrebucas/dev-overload-starterpack
05bda5a869dda5be1e02dd64d492ea2f00ee3bff
[ "MIT" ]
1
2021-05-19T04:30:45.000Z
2021-05-19T04:30:45.000Z
python-starter/design/creational/abstract_factory.py
rodelrebucas/dev-overload-starterpack
05bda5a869dda5be1e02dd64d492ea2f00ee3bff
[ "MIT" ]
null
null
null
python-starter/design/creational/abstract_factory.py
rodelrebucas/dev-overload-starterpack
05bda5a869dda5be1e02dd64d492ea2f00ee3bff
[ "MIT" ]
null
null
null
# - Abstract factory pattern provides interface to create *families of related objects* # - Interface decides what object to create # - Creates related products from abc import ABCMeta, abstractmethod ### Main interface # Abstract factory class PizzaFactory(metaclass=ABCMeta): @abstractmethod def createVegPi...
20.922078
87
0.71198
160
1,611
7.06875
0.33125
0.074271
0.035367
0.060124
0.250221
0.181256
0.181256
0.181256
0.176835
0.176835
0
0
0.195531
1,611
76
88
21.197368
0.872685
0.181254
0
0.52381
0
0
0.088753
0.064269
0
0
0
0
0
1
0.285714
false
0.095238
0.02381
0.095238
0.619048
0.142857
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
de58f80c297c04e68b05ed5b3d3eb55fd8277759
3,372
py
Python
ggpy/cruft/autocode/ImmutableConstantChecker.py
hobson/ggpy
4e6e6e876c3a4294cd711647051da2d9c1836b60
[ "MIT" ]
1
2015-01-26T19:07:45.000Z
2015-01-26T19:07:45.000Z
ggpy/cruft/autocode/ImmutableConstantChecker.py
hobson/ggpy
4e6e6e876c3a4294cd711647051da2d9c1836b60
[ "MIT" ]
null
null
null
ggpy/cruft/autocode/ImmutableConstantChecker.py
hobson/ggpy
4e6e6e876c3a4294cd711647051da2d9c1836b60
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ generated source for module ImmutableConstantChecker """ # package: org.ggp.base.util.gdl.transforms import org.ggp.base.util.gdl.grammar.GdlSentence import org.ggp.base.util.gdl.model.ImmutableSentenceFormModel import org.ggp.base.util.gdl.model.SentenceForm import org.ggp.base.util.gdl.mo...
38.758621
135
0.725682
313
3,372
7.779553
0.316294
0.067762
0.081314
0.088706
0.256263
0.142505
0.034497
0
0
0
0
0
0.188316
3,372
86
136
39.209302
0.88966
0.237544
0
0.043478
1
0
0
0
0
0
0
0.011628
0
1
0.195652
false
0
0.217391
0
0.695652
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
3
de8c2708613b0241d644d103ad68f180435f1de0
716
py
Python
Level_Routines/Items/Key.py
sidav/ShadowPriest
0ab3f9e4dde03237dff7389d0654112f1d1994e9
[ "MIT" ]
1
2017-12-12T15:34:54.000Z
2017-12-12T15:34:54.000Z
Level_Routines/Items/Key.py
sidav/ShadowPriest
0ab3f9e4dde03237dff7389d0654112f1d1994e9
[ "MIT" ]
null
null
null
Level_Routines/Items/Key.py
sidav/ShadowPriest
0ab3f9e4dde03237dff7389d0654112f1d1994e9
[ "MIT" ]
null
null
null
from .Item import Item from GLOBAL_DATA.Level_Tile_Data import door_lock_level_colors, door_lock_level_names class Key(Item): _stackable = False _lock_level = 1 def __init__(self, posx, posy, lock_level=1): self._pos_x = posx self._pos_y = posy self._appearance = chr(251) ...
27.538462
85
0.678771
103
716
4.242718
0.339806
0.267735
0.118993
0.086957
0
0
0
0
0
0
0
0.011009
0.238827
716
25
86
28.64
0.790826
0.074022
0
0
0
0
0.009091
0
0
0
0
0
0
1
0.176471
false
0
0.117647
0.117647
0.588235
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
de9007ca106acc211eed2b20d078c3dd92739104
119
py
Python
ExerciciosPython/25- Procurando string dentro de outra.py
lucadomingues/Python
b129c03cb95dac2a0baf59461eef7667373dc52f
[ "MIT" ]
null
null
null
ExerciciosPython/25- Procurando string dentro de outra.py
lucadomingues/Python
b129c03cb95dac2a0baf59461eef7667373dc52f
[ "MIT" ]
null
null
null
ExerciciosPython/25- Procurando string dentro de outra.py
lucadomingues/Python
b129c03cb95dac2a0baf59461eef7667373dc52f
[ "MIT" ]
null
null
null
name = str(input('Enter your full name: ')).strip().upper() print('Your name has "SILVA"?: {}'.format('SILVA' in name))
59.5
59
0.647059
18
119
4.277778
0.722222
0
0
0
0
0
0
0
0
0
0
0
0.109244
119
2
60
59.5
0.726415
0
0
0
0
0
0.441667
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
deac527516421a5157dfc11704a7d0f715664e10
6,726
py
Python
alembic/versions/49e0df2ddbd6_init.py
Lakatu-io/example-pg-docker
25c98c6b82975c896eea0f55d5ed5155f4d4c2c8
[ "MIT" ]
null
null
null
alembic/versions/49e0df2ddbd6_init.py
Lakatu-io/example-pg-docker
25c98c6b82975c896eea0f55d5ed5155f4d4c2c8
[ "MIT" ]
null
null
null
alembic/versions/49e0df2ddbd6_init.py
Lakatu-io/example-pg-docker
25c98c6b82975c896eea0f55d5ed5155f4d4c2c8
[ "MIT" ]
null
null
null
"""init Revision ID: 49e0df2ddbd6 Revises: Create Date: 2022-03-14 17:47:20.964917 """ from alembic import op import sqlalchemy as sa from sqlalchemy.dialects import postgresql # revision identifiers, used by Alembic. revision = '49e0df2ddbd6' down_revision = None branch_labels = None depends_on = None def upgrad...
49.455882
93
0.697294
895
6,726
5.089385
0.107263
0.107135
0.116795
0.144896
0.81888
0.776948
0.712184
0.679254
0.638419
0.568825
0
0.007764
0.11909
6,726
135
94
49.822222
0.761013
0.040737
0
0.449153
0
0
0.180359
0.006859
0
0
0
0
0
1
0.016949
false
0.008475
0.025424
0
0.042373
0
0
0
0
null
0
0
0
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
deb9e7c1b77e64b332b6d8afc65c99c97a98bec8
995
py
Python
algo/test/test_match_parantheses.py
ssavinash1/Algorithm_stanford
f2588b6bcac2b0858e78b819e6e8402109e80ee2
[ "MIT" ]
24
2016-03-21T07:53:54.000Z
2020-06-29T12:16:36.000Z
algo/test/test_match_parantheses.py
ssavinash1/Algorithm_stanford
f2588b6bcac2b0858e78b819e6e8402109e80ee2
[ "MIT" ]
5
2015-09-29T17:12:36.000Z
2020-03-26T20:51:56.000Z
algo/test/test_match_parantheses.py
ssavinash1/Algorithm_stanford
f2588b6bcac2b0858e78b819e6e8402109e80ee2
[ "MIT" ]
12
2016-05-24T16:48:32.000Z
2020-10-02T12:22:09.000Z
import unittest from src.match_parantheses import match_parantheses class MatchParantheses(unittest.TestCase): def test_match_parantheses(self): s = '' actual = match_parantheses(s) self.assertTrue(actual, 'empty string respects the rule of '+ 'paranthes...
30.151515
72
0.59196
111
995
5.216216
0.432432
0.248705
0.227979
0.238342
0.507772
0.507772
0.507772
0.417962
0.189983
0
0
0.011096
0.275377
995
32
73
31.09375
0.791956
0
0
0.26087
0
0
0.264322
0.022111
0
0
0
0
0.26087
1
0.043478
false
0
0.086957
0
0.173913
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
debd199aa53e0f74f221b4001baf27b87a9af984
102
py
Python
test/python/helper.py
xu-cheng/pbc-bindings
61a5d78d108f955a3bedcf21ec529a7f6417ef59
[ "MIT" ]
3
2018-04-24T13:46:53.000Z
2019-11-02T07:52:05.000Z
test/python/helper.py
xu-cheng/pbc-bindings
61a5d78d108f955a3bedcf21ec529a7f6417ef59
[ "MIT" ]
null
null
null
test/python/helper.py
xu-cheng/pbc-bindings
61a5d78d108f955a3bedcf21ec529a7f6417ef59
[ "MIT" ]
null
null
null
import unittest from pbc import * with open("./a.param", mode="r") as f: TYPE_A_PARAM = f.read()
17
38
0.647059
18
102
3.555556
0.777778
0.1875
0
0
0
0
0
0
0
0
0
0
0.186275
102
5
39
20.4
0.771084
0
0
0
0
0
0.098039
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
dee030e9c9f21ce07a8b60b53562e8bfc5213921
3,723
py
Python
images/core/context/free5gc/lib/pfcp/support/cache/tlv_msg_50.py
my5G/OPlaceRAN
cc6fe5223b9b2a32d7963b2304762fe2a0265298
[ "Apache-2.0" ]
1
2022-02-22T07:19:59.000Z
2022-02-22T07:19:59.000Z
images/core/context/free5gc/lib/pfcp/support/cache/tlv_msg_50.py
my5G/OPlaceRAN
cc6fe5223b9b2a32d7963b2304762fe2a0265298
[ "Apache-2.0" ]
1
2022-01-15T20:26:01.000Z
2022-01-15T20:26:01.000Z
images/core/context/free5gc/lib/pfcp/support/cache/tlv_msg_50.py
my5G/OPlaceRAN
cc6fe5223b9b2a32d7963b2304762fe2a0265298
[ "Apache-2.0" ]
1
2022-01-07T18:49:10.000Z
2022-01-07T18:49:10.000Z
ies = [] ies.append({ "ie_type" : "Node ID", "ie_value" : "Node ID", "presence" : "M", "instance" : "0", "comment" : "This IE shall contain the unique identifier of the sending Node."}) ies.append({ "ie_type" : "F-SEID", "ie_value" : "CP F-SEID", "presence" : "M", "instance" : "0", "comment" : "This IE shall contain th...
248.2
492
0.705345
629
3,723
4.135135
0.213037
0.041522
0.05075
0.069204
0.648981
0.568627
0.551711
0.539792
0.539792
0.525183
0
0.019231
0.161966
3,723
14
493
265.928571
0.814423
0
0
0
0
0.642857
0.800967
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
dee25dae1ccf747fe4474d56dc9f10c0330431cc
1,433
py
Python
__old/puzzle/source.py
paulscottrobson/fred
41353e7c8bd63d31082cf78447c0484e49a1e727
[ "MIT" ]
3
2016-07-17T16:04:53.000Z
2020-01-21T23:30:36.000Z
__old/puzzle/source.py
paulscottrobson/fred
41353e7c8bd63d31082cf78447c0484e49a1e727
[ "MIT" ]
null
null
null
__old/puzzle/source.py
paulscottrobson/fred
41353e7c8bd63d31082cf78447c0484e49a1e727
[ "MIT" ]
1
2020-01-22T09:02:06.000Z
2020-01-22T09:02:06.000Z
code = """ 400 0078 Clear Display 402 21C0 V1 = 0C0h (Pattern #) 404 2200 V2 = 10h (Cell#) 406 2301 V3 = 01 (Centre) 408 B600 B = 600 Set B to point to $600 40A 1422 CALL 422 Call 422 for C0,C5,CA,CA,BC,B5 40C 21C5 V1 = C5 Print PUZZLE. 40E 1422 CALL 422 410 21CA V1 = CA 412 1422 C...
19.106667
53
0.640614
282
1,433
3.255319
0.592199
0.053377
0.071895
0
0
0
0
0
0
0
0
0.447342
0.304257
1,433
74
54
19.364865
0.47342
0
0
0
0
0
0.990217
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
72003d1069b6ebc99ae72dd010a24bb67ff8c2be
216
py
Python
MISSP.py
abphilip-codes/Codechef_Practice
21fd52e03df8a0f72a08b0e2a0b48dbd508aac95
[ "MIT" ]
2
2021-07-26T03:32:24.000Z
2021-07-31T02:32:14.000Z
MISSP.py
abphilip-codes/Codechef_Practice
21fd52e03df8a0f72a08b0e2a0b48dbd508aac95
[ "MIT" ]
null
null
null
MISSP.py
abphilip-codes/Codechef_Practice
21fd52e03df8a0f72a08b0e2a0b48dbd508aac95
[ "MIT" ]
1
2021-07-14T17:45:33.000Z
2021-07-14T17:45:33.000Z
# https://www.codechef.com/problems/MISSP for T in range(int(input())): a=[] for n in range(int(input())): k=int(input()) if(k not in a): a.append(k) else: a.remove(k) print(a[0])
24
41
0.537037
37
216
3.135135
0.594595
0.206897
0.172414
0.258621
0
0
0
0
0
0
0
0.00625
0.259259
216
9
42
24
0.71875
0.180556
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7217b64782e1dad5c00de82362e77706dde46216
333
py
Python
categorie/admin.py
Kgermando/fs
41a1cfcf4e51655794f904d5927a528a70747b8d
[ "Apache-2.0" ]
null
null
null
categorie/admin.py
Kgermando/fs
41a1cfcf4e51655794f904d5927a528a70747b8d
[ "Apache-2.0" ]
null
null
null
categorie/admin.py
Kgermando/fs
41a1cfcf4e51655794f904d5927a528a70747b8d
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from categorie.views import categorie from categorie.models import Category, MotCles, Theme admin.site.site_header = 'FASTSMART' admin.site.site_title = "Interface d'administration" # Register your models here. admin.site.register(Category) admin.site.register(MotCles) admin.site.reg...
25.615385
53
0.813814
45
333
5.977778
0.466667
0.167286
0.189591
0
0
0
0
0
0
0
0
0
0.096096
333
12
54
27.75
0.893688
0.078078
0
0
0
0
0.114754
0
0
0
0
0
0
1
0
true
0
0.375
0
0.375
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
1
0
1
0
0
0
0
3
722525f6178449c5e8ea0415534d243a13b4f6a0
281
py
Python
tests/unit/small_text/utils/test_data.py
chschroeder/small-text
ef28e91ba0c94fe938dde4f16253aa8695ea13b7
[ "MIT" ]
218
2021-05-26T16:38:53.000Z
2022-03-30T09:48:54.000Z
tests/unit/small_text/utils/test_data.py
chschroeder/small-text
ef28e91ba0c94fe938dde4f16253aa8695ea13b7
[ "MIT" ]
9
2021-10-16T23:23:02.000Z
2022-02-22T15:23:11.000Z
tests/unit/small_text/utils/test_data.py
chschroeder/small-text
ef28e91ba0c94fe938dde4f16253aa8695ea13b7
[ "MIT" ]
21
2021-06-24T11:19:44.000Z
2022-03-12T16:29:53.000Z
import unittest import numpy as np from small_text.utils.data import list_length class DataUtilsTest(unittest.TestCase): def test_list_length(self): self.assertEqual(10, list_length(list(range(10)))) self.assertEqual(10, list_length(np.random.rand(10, 2)))
23.416667
64
0.740214
41
281
4.926829
0.585366
0.19802
0.168317
0.207921
0.267327
0
0
0
0
0
0
0.037815
0.153025
281
11
65
25.545455
0.810924
0
0
0
0
0
0
0
0
0
0
0
0.285714
1
0.142857
false
0
0.428571
0
0.714286
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
723237da5f7708827c6cc600b9a03f8a7ab2b968
359
py
Python
src/hibpcli/keepass.py
eumiro/hibpcli
acb7eec3538310dd85c099e8e52561b85c25d6e0
[ "MIT" ]
null
null
null
src/hibpcli/keepass.py
eumiro/hibpcli
acb7eec3538310dd85c099e8e52561b85c25d6e0
[ "MIT" ]
null
null
null
src/hibpcli/keepass.py
eumiro/hibpcli
acb7eec3538310dd85c099e8e52561b85c25d6e0
[ "MIT" ]
null
null
null
from typing import List from hibpcli.password import Password from pykeepass import PyKeePass # type: ignore def check_passwords_from_db(path: str, master_password: str) -> List[str]: """ - """ kp = PyKeePass(path, password=master_password) return [ entry for entry in kp.entries if Password(pass...
27.615385
86
0.715877
47
359
5.340426
0.531915
0.111554
0
0
0
0
0
0
0
0
0
0
0.18663
359
12
87
29.916667
0.859589
0.044568
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0.625
0.375
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
723a69460eb606e50209f3944c693bd553a4e1b9
169
py
Python
ZenPacks/daviswr/LMSensors/__init__.py
daviswr/ZenPacks.daviswr.LMSensors
99e12f38ca8a955d0390a476804ef935b14a63f2
[ "MIT" ]
3
2017-07-20T08:11:16.000Z
2019-02-10T05:00:43.000Z
ZenPacks/daviswr/Cisco/IOS/CPU/__init__.py
daviswr/ZenPacks.daviswr.Cisco.IOS.CPU
b0a8e442ecb83df425d8be087d746e20670ffb91
[ "MIT" ]
9
2017-08-01T21:07:42.000Z
2021-03-13T05:29:19.000Z
ZenPacks/daviswr/Cisco/IOS/CPU/__init__.py
daviswr/ZenPacks.daviswr.Cisco.IOS.CPU
b0a8e442ecb83df425d8be087d746e20670ffb91
[ "MIT" ]
null
null
null
# https://zenpack-sdk.zenoss.com/en/2.0.0/changes.html from ZenPacks.zenoss.ZenPackLib import zenpacklib CFG = zenpacklib.load_yaml() schema = CFG.zenpack_module.schema
33.8
54
0.798817
26
169
5.115385
0.730769
0
0
0
0
0
0
0
0
0
0
0.019108
0.071006
169
4
55
42.25
0.828025
0.307692
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
724a42ebe545616de7a8f4d755cb77f3ccc1184e
163
py
Python
HackerRank-Python-main/Input().py
Paimon-food/hacktoberfest2021
b62d8c641aa2b27fc6d481f6719fd0981221344a
[ "CC0-1.0" ]
1
2021-10-09T17:39:19.000Z
2021-10-09T17:39:19.000Z
HackerRank-Python-main/Input().py
Paimon-food/hacktoberfest2021
b62d8c641aa2b27fc6d481f6719fd0981221344a
[ "CC0-1.0" ]
null
null
null
HackerRank-Python-main/Input().py
Paimon-food/hacktoberfest2021
b62d8c641aa2b27fc6d481f6719fd0981221344a
[ "CC0-1.0" ]
null
null
null
# Enter your code here. Read input from STDIN. Print output to STDOUT x,k=map(int,input().split()) p=input() if eval(p)==k: print(True) else: print(False)
20.375
69
0.668712
29
163
3.758621
0.793103
0
0
0
0
0
0
0
0
0
0
0
0.171779
163
7
70
23.285714
0.807407
0.411043
0
0
0
0
0
0
0
0
0
0.142857
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
a0ddbdbb604c4c96979020663d85e44f8c89ee96
4,825
py
Python
third_party/unidecode/x0f9.py
asysc2020/contentbox
5c155976e0ce7ea308d62293ab89624d97b21d09
[ "Apache-2.0" ]
39
2015-06-10T23:18:07.000Z
2021-10-21T04:29:06.000Z
third_party/unidecode/x0f9.py
asysc2020/contentbox
5c155976e0ce7ea308d62293ab89624d97b21d09
[ "Apache-2.0" ]
2
2016-08-22T12:38:10.000Z
2017-01-26T18:37:33.000Z
third_party/unidecode/x0f9.py
asysc2020/contentbox
5c155976e0ce7ea308d62293ab89624d97b21d09
[ "Apache-2.0" ]
26
2015-06-10T22:09:15.000Z
2021-06-27T15:45:15.000Z
data = ( 'Kay ', # 0x00 'Kayng ', # 0x01 'Ke ', # 0x02 'Ko ', # 0x03 'Kol ', # 0x04 'Koc ', # 0x05 'Kwi ', # 0x06 'Kwi ', # 0x07 'Kyun ', # 0x08 'Kul ', # 0x09 'Kum ', # 0x0a 'Na ', # 0x0b 'Na ', # 0x0c 'Na ', # 0x0d 'La ', # 0x0e 'Na ', # 0x0f 'Na ', ...
18.629344
20
0.361451
513
4,825
3.39961
0.662768
0
0
0
0
0
0
0
0
0
0
0.207867
0.425699
4,825
258
21
18.70155
0.421508
0.265078
0
0.810078
0
0
0.320686
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a0fb670ada94c40e740db3857092c164ef313f7f
10,283
py
Python
setup.py
estin/django-json-rpc
fffdb3f1dabb0d07183344d17e8270d685baafab
[ "MIT" ]
null
null
null
setup.py
estin/django-json-rpc
fffdb3f1dabb0d07183344d17e8270d685baafab
[ "MIT" ]
null
null
null
setup.py
estin/django-json-rpc
fffdb3f1dabb0d07183344d17e8270d685baafab
[ "MIT" ]
null
null
null
#!/usr/bin/env python try: from setuptools import setup except ImportError: from distutils.core import setup setup( name="django-json-rpc", version="0.6.2.1", description="A simple JSON-RPC implementation for Django", long_description=""" Features: * Simple, pythonic API * Support for Django a...
34.049669
132
0.698823
1,375
10,283
5.168727
0.293818
0.036584
0.024764
0.020402
0.176446
0.152666
0.108062
0.072042
0.072042
0.05178
0
0.006205
0.185063
10,283
301
133
34.162791
0.841885
0.00496
0
0.106977
0
0.037209
0.959433
0.185826
0
0
0
0
0
1
0
true
0.069767
0.060465
0
0.106977
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
1
1
0
0
0
0
0
3
9d0027fa8e01c5249913fa4ff136d856ab697c30
514
py
Python
pySQLBuilder/Builder/Component/GroupByBuilder.py
chandrawi/SQLBuilder
3634bbb49d65a964d376447dfe72c801f2413c70
[ "MIT" ]
null
null
null
pySQLBuilder/Builder/Component/GroupByBuilder.py
chandrawi/SQLBuilder
3634bbb49d65a964d376447dfe72c801f2413c70
[ "MIT" ]
null
null
null
pySQLBuilder/Builder/Component/GroupByBuilder.py
chandrawi/SQLBuilder
3634bbb49d65a964d376447dfe72c801f2413c70
[ "MIT" ]
null
null
null
from ...Structure import Column class GroupByBuilder : """Builder component for GROUP BY query """ def __init__(self) : self.__groupBy = () def getGroup(self) -> tuple : """Get list of column group""" return self.__groupBy def countGroup(self) -> int : """Count li...
24.47619
52
0.599222
58
514
5.068966
0.517241
0.22449
0.142857
0.115646
0.156463
0
0
0
0
0
0
0
0.282101
514
20
53
25.7
0.796748
0.233463
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0.1
0
0.8
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
9d0049bc7d2f38d9d75df66917d6c87226549ebb
332
py
Python
Python/OOP/Constructor.py
piovezan/SOpt
a5ec90796b7bdf98f0675457fc4bb99c8695bc40
[ "MIT" ]
148
2017-08-03T01:49:27.000Z
2022-03-26T10:39:30.000Z
Python/OOP/Constructor.py
piovezan/SOpt
a5ec90796b7bdf98f0675457fc4bb99c8695bc40
[ "MIT" ]
3
2017-11-23T19:52:05.000Z
2020-04-01T00:44:40.000Z
Python/OOP/Constructor.py
piovezan/SOpt
a5ec90796b7bdf98f0675457fc4bb99c8695bc40
[ "MIT" ]
59
2017-08-03T01:49:19.000Z
2022-03-31T23:24:38.000Z
class A(object): def A(): print('factory') return A() def __init__(self): print('init') def __call__(self): print('call') print('chamar o construtor') a = A() print('chamar o construtor e a função') b = A()() print('chamar a função') c = A.A() #https://pt.stackoverflow.com/q...
19.529412
42
0.581325
48
332
3.854167
0.5
0.097297
0.12973
0.237838
0
0
0
0
0
0
0
0.035714
0.240964
332
16
43
20.75
0.698413
0.123494
0
0
0
0
0.272414
0
0
0
0
0
0
1
0.214286
false
0
0
0
0.357143
0.428571
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
1
0
3
19cce930a9f3c38449345eece8bf09b190ba85cc
103
py
Python
example/__init__.py
rogueresistor/GLaDOS
7246377a93e278cd5982d8a4c49b5381c2977f5f
[ "Apache-2.0" ]
null
null
null
example/__init__.py
rogueresistor/GLaDOS
7246377a93e278cd5982d8a4c49b5381c2977f5f
[ "Apache-2.0" ]
null
null
null
example/__init__.py
rogueresistor/GLaDOS
7246377a93e278cd5982d8a4c49b5381c2977f5f
[ "Apache-2.0" ]
null
null
null
from dotenv import load_dotenv load_dotenv(verbose=False) FLASK_PORT = 8083 FLASK_HOST = "127.0.0.1"
14.714286
30
0.776699
18
103
4.222222
0.722222
0.263158
0
0
0
0
0
0
0
0
0
0.111111
0.126214
103
6
31
17.166667
0.733333
0
0
0
0
0
0.087379
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
19e0bcc2cc95aa38a4d4a80cada9230319bcdc36
109
py
Python
django_backbone/healthchecks/__init__.py
Jordan-Kowal/django-backbone
19d123adf00b3f7d22e6ef75ba6da0fe7b5e00b0
[ "MIT" ]
1
2020-10-05T21:44:18.000Z
2020-10-05T21:44:18.000Z
django_backbone/healthchecks/__init__.py
Jordan-Kowal/django-backbone
19d123adf00b3f7d22e6ef75ba6da0fe7b5e00b0
[ "MIT" ]
null
null
null
django_backbone/healthchecks/__init__.py
Jordan-Kowal/django-backbone
19d123adf00b3f7d22e6ef75ba6da0fe7b5e00b0
[ "MIT" ]
null
null
null
"""Default config for the 'healthchecks' app""" default_app_config = "healthchecks.apps.HealthchecksConfig"
27.25
59
0.788991
12
109
7
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.091743
109
3
60
36.333333
0.848485
0.376147
0
0
0
0
0.580645
0.580645
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
19f83cf44a12634b5d23e48ba95ef8d4bc6841dd
232
py
Python
lewis_emulators/volumetric_rig/valve_status.py
ISISComputingGroup/EPICS-DeviceEmulator
026c2a14a16bb204ea7527e3765daa182cafa814
[ "BSD-3-Clause" ]
2
2020-10-20T16:49:13.000Z
2021-02-19T10:41:44.000Z
lewis_emulators/volumetric_rig/valve_status.py
ISISComputingGroup/EPICS-DeviceEmulator
026c2a14a16bb204ea7527e3765daa182cafa814
[ "BSD-3-Clause" ]
9
2019-03-22T15:35:15.000Z
2021-07-28T11:05:43.000Z
lewis_emulators/volumetric_rig/valve_status.py
ISISComputingGroup/EPICS-DeviceEmulator
026c2a14a16bb204ea7527e3765daa182cafa814
[ "BSD-3-Clause" ]
1
2020-10-21T17:02:44.000Z
2020-10-21T17:02:44.000Z
class ValveStatus(object): """ An enumeration of possible valve states. OPEN_AND_DISABLED should never happen. """ OPEN_AND_ENABLED, CLOSED_AND_ENABLED, OPEN_AND_DISABLED, CLOSED_AND_DISABLED = (i for i in range(4))
38.666667
104
0.74569
33
232
4.939394
0.666667
0.128834
0.184049
0
0
0
0
0
0
0
0
0.005208
0.172414
232
5
105
46.4
0.84375
0.340517
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0.5
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
c21e7927d2dbdb22fba89c009f6b91e30b8192c3
2,262
py
Python
venv/Controller/InputController.py
florianbeyer/maptor
8fd899dd3123484fd83b7aa74a007edc8879dba6
[ "MIT" ]
1
2022-03-15T13:35:26.000Z
2022-03-15T13:35:26.000Z
venv/Controller/InputController.py
florianbeyer/maptor
8fd899dd3123484fd83b7aa74a007edc8879dba6
[ "MIT" ]
9
2021-01-30T16:55:50.000Z
2022-03-12T00:54:37.000Z
venv/Controller/InputController.py
florianbeyer/maptor
8fd899dd3123484fd83b7aa74a007edc8879dba6
[ "MIT" ]
1
2020-12-21T02:24:46.000Z
2020-12-21T02:24:46.000Z
import sys # sys.path.append(r"F:\Work\Maptor\venv\Model") from InputModel import InputModule class InputController(): input_C = InputModule() def set_training_path(self,path): self.input_C.Training_File_Path = path def getTrainingPath(self): return self.input_C.Training_File_Path ...
31.416667
87
0.72237
311
2,262
4.932476
0.22508
0.093872
0.149935
0.093872
0.484355
0.436115
0.33116
0.03781
0
0
0
0.002194
0.194076
2,262
71
88
31.859155
0.839276
0.109195
0
0
0
0
0
0
0
0
0
0
0
1
0.372093
false
0
0.046512
0.162791
0.697674
0.046512
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
c23e4ea3f095510fb4e590e5c0fc39e95f0d3e72
116
py
Python
test.py
aypan17/lm-human-preferences
93a6f61ad2876941d370dcfefc6e960dc4828a40
[ "MIT" ]
null
null
null
test.py
aypan17/lm-human-preferences
93a6f61ad2876941d370dcfefc6e960dc4828a40
[ "MIT" ]
null
null
null
test.py
aypan17/lm-human-preferences
93a6f61ad2876941d370dcfefc6e960dc4828a40
[ "MIT" ]
null
null
null
import pickle def main(): pickle.loads(open("/tmp/pickle_fn", "rb").read())() if __name__ == "__main__": main()
14.5
52
0.637931
16
116
4.0625
0.75
0
0
0
0
0
0
0
0
0
0
0
0.12931
116
7
53
16.571429
0.643564
0
0
0
0
0
0.206897
0
0
0
0
0
0
1
0.2
true
0
0.2
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
5f03fdc255a924e52866e411a202bfe174613384
12,158
py
Python
bin/ADFRsuite/CCSBpckgs/pyglf/glf.py
AngelRuizMoreno/Jupyter_Dock_devel
6d23bc174d5294d1e9909a0a1f9da0713042339e
[ "MIT" ]
null
null
null
bin/ADFRsuite/CCSBpckgs/pyglf/glf.py
AngelRuizMoreno/Jupyter_Dock_devel
6d23bc174d5294d1e9909a0a1f9da0713042339e
[ "MIT" ]
null
null
null
bin/ADFRsuite/CCSBpckgs/pyglf/glf.py
AngelRuizMoreno/Jupyter_Dock_devel
6d23bc174d5294d1e9909a0a1f9da0713042339e
[ "MIT" ]
1
2021-11-04T21:48:14.000Z
2021-11-04T21:48:14.000Z
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.5 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. from sys import version_info if version_info >= (2, 6, 0): def swig_import_helper(): from os.path imp...
28.208817
231
0.786478
1,298
12,158
7.007704
0.170262
0.043536
0.027485
0.01847
0.170624
0.105101
0.087951
0.052551
0.0354
0.027265
0
0.005802
0.13522
12,158
430
232
28.274419
0.85933
0.024182
0
0.066667
1
0
0.007592
0
0
0
0
0
0
1
0.222222
false
0.006349
0.028571
0.209524
0.492063
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
5f04b376884267d491b851fd5714cb2d9f55a2bb
254
py
Python
main.py
saucelabs/it-jira-bamboohr
d0dcc8840cbefc7f6874bb1a9c542fca38391192
[ "Apache-2.0" ]
7
2017-07-06T20:51:45.000Z
2019-08-20T20:04:43.000Z
main.py
saucelabs/it-jira-bamboohr
d0dcc8840cbefc7f6874bb1a9c542fca38391192
[ "Apache-2.0" ]
null
null
null
main.py
saucelabs/it-jira-bamboohr
d0dcc8840cbefc7f6874bb1a9c542fca38391192
[ "Apache-2.0" ]
null
null
null
from app import app import os if __name__ == "__main__": app.jinja_env.auto_reload = True app.config["TEMPLATES_AUTO_RELOAD"] = True app.run( debug=True, port=int(os.environ.get("PORT", "3000")), host="0.0.0.0" )
21.166667
49
0.602362
37
254
3.810811
0.621622
0.042553
0.198582
0.241135
0
0
0
0
0
0
0
0.041885
0.248032
254
11
50
23.090909
0.696335
0
0
0
0
0
0.173228
0.082677
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
5f0e7fee0b555dfb7bf74ef8c2ddf6c62d06f3db
143
py
Python
03_lists/05_count_of_odd_numbers_in_list.py
ivaylokanov/Python
af219356d7034de3004a0012603654756d436c08
[ "Apache-2.0" ]
null
null
null
03_lists/05_count_of_odd_numbers_in_list.py
ivaylokanov/Python
af219356d7034de3004a0012603654756d436c08
[ "Apache-2.0" ]
null
null
null
03_lists/05_count_of_odd_numbers_in_list.py
ivaylokanov/Python
af219356d7034de3004a0012603654756d436c08
[ "Apache-2.0" ]
null
null
null
elements = map(int, input().split()) count_odd_elements = [abs(item) for item in elements if item % 2 != 0] print(count_odd_elements.__len__())
47.666667
70
0.727273
23
143
4.173913
0.695652
0.166667
0.333333
0
0
0
0
0
0
0
0
0.015873
0.118881
143
3
71
47.666667
0.746032
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
0
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
a04123c118ef70f9ee0abbf3807f123fd690eff1
99
py
Python
discord/types/enums/apiteammembershipstate.py
AA1999/Disthon
fcf4e550750938b87a1fb48ff3006bdeeecd73e3
[ "MIT" ]
14
2021-09-20T10:50:03.000Z
2022-03-01T16:01:08.000Z
discord/types/enums/apiteammembershipstate.py
Rashaad1268/Disthon
50c191fc2750bcb28280006e1f9bbd1fa65bac33
[ "MIT" ]
25
2021-12-12T15:52:19.000Z
2022-03-31T19:45:46.000Z
discord/types/enums/apiteammembershipstate.py
Rashaad1268/Disthon
50c191fc2750bcb28280006e1f9bbd1fa65bac33
[ "MIT" ]
12
2021-09-22T10:40:50.000Z
2021-11-25T15:47:42.000Z
from enum import IntEnum class APITeamMembershipState(IntEnum): invited = 1 accepted = 2
14.142857
38
0.727273
11
99
6.545455
0.909091
0
0
0
0
0
0
0
0
0
0
0.025974
0.222222
99
6
39
16.5
0.909091
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
a075aed65e32be7a2b8a3f3fa6dc50b0154a0089
135
py
Python
doc/howto/listings/gettingstarted/helloworld.py
wthie/nevow
e630de8f640f27df85c38bc37ecdaf4e7b931afc
[ "MIT" ]
49
2015-03-18T15:29:16.000Z
2021-11-17T12:30:51.000Z
doc/howto/listings/gettingstarted/helloworld.py
wthie/nevow
e630de8f640f27df85c38bc37ecdaf4e7b931afc
[ "MIT" ]
62
2015-01-21T08:48:08.000Z
2021-04-02T17:31:29.000Z
doc/howto/listings/gettingstarted/helloworld.py
wthie/nevow
e630de8f640f27df85c38bc37ecdaf4e7b931afc
[ "MIT" ]
30
2015-02-26T09:35:39.000Z
2021-07-24T12:45:04.000Z
from nevow import loaders, rend class HelloWorld(rend.Page): addSlash = True docFactory = loaders.xmlfile('helloworld.html')
19.285714
51
0.733333
16
135
6.1875
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.17037
135
6
52
22.5
0.883929
0
0
0
0
0
0.11194
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
a0aaf3de4615bc253208a7e78d884d00949bb8ac
94
py
Python
teste.py
nihilboy1455/AULA-ASYNC-JS
059a416a5dc6aeb7d852b8a73b5f35f33c920eaf
[ "MIT" ]
null
null
null
teste.py
nihilboy1455/AULA-ASYNC-JS
059a416a5dc6aeb7d852b8a73b5f35f33c920eaf
[ "MIT" ]
null
null
null
teste.py
nihilboy1455/AULA-ASYNC-JS
059a416a5dc6aeb7d852b8a73b5f35f33c920eaf
[ "MIT" ]
null
null
null
idade = str(input("idade :")) if not idade.isnumeric(): print("oi") else: print("passou")
15.666667
29
0.62766
13
94
4.538462
0.769231
0
0
0
0
0
0
0
0
0
0
0
0.148936
94
6
30
15.666667
0.7375
0
0
0
0
0
0.157895
0
0
0
0
0
0
1
0
false
0.2
0
0
0
0.4
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
a0adeb5aef6cfb82ca4ce6c9105b1b5767298603
519
py
Python
myfiles/migrations/0011_auto_20190615_2328.py
XanderTerbl1/FileUp
ca6221a3d3b106dcbac99f4413e7a4845eac6842
[ "MIT" ]
2
2020-06-30T08:49:54.000Z
2020-09-18T13:59:00.000Z
myfiles/migrations/0011_auto_20190615_2328.py
XanderTerbl1/FileUp
ca6221a3d3b106dcbac99f4413e7a4845eac6842
[ "MIT" ]
11
2019-12-04T23:45:34.000Z
2022-02-10T13:22:03.000Z
myfiles/migrations/0011_auto_20190615_2328.py
XanderTerbl1/FileUp
ca6221a3d3b106dcbac99f4413e7a4845eac6842
[ "MIT" ]
2
2020-05-19T06:53:24.000Z
2020-10-08T20:11:29.000Z
# Generated by Django 2.2.2 on 2019-06-15 21:28 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('myfiles', '0010_auto_20190615_2244'), ] operations = [ migrations.RenameField( model_name='folder', old_name='owner_id', ...
21.625
47
0.568401
54
519
5.222222
0.592593
0.014184
0.184397
0.212766
0.304965
0.304965
0.304965
0
0
0
0
0.088068
0.321773
519
23
48
22.565217
0.713068
0.086705
0
0.352941
1
0
0.177966
0.048729
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a0bb62f96a9b686d430bb8765456bfd3db734481
75
py
Python
src/game/constants.py
ShoaibSyed1/project-pokemon
6916962cf0be478c2a229b6620e9425d707c2b29
[ "MIT" ]
null
null
null
src/game/constants.py
ShoaibSyed1/project-pokemon
6916962cf0be478c2a229b6620e9425d707c2b29
[ "MIT" ]
null
null
null
src/game/constants.py
ShoaibSyed1/project-pokemon
6916962cf0be478c2a229b6620e9425d707c2b29
[ "MIT" ]
null
null
null
CHUNK_SIZE = 16 CHUNK_SIZE_PIXELS = 256 RATTLE_DELAY = 10 RATTLE_RANGE = 3
15
23
0.786667
13
75
4.153846
0.769231
0.333333
0
0
0
0
0
0
0
0
0
0.126984
0.16
75
5
24
15
0.730159
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
a0bc15c44208540d2be6bc8dc508549d3284af5b
7,531
py
Python
tests/app/service/test_sms_sender_rest.py
department-of-veterans-affairs/notification-api
698bc98d8e78a13a0b2cfc432cfc718ff1016b06
[ "MIT" ]
10
2020-05-04T14:11:06.000Z
2022-02-22T19:06:36.000Z
tests/app/service/test_sms_sender_rest.py
department-of-veterans-affairs/notification-api
698bc98d8e78a13a0b2cfc432cfc718ff1016b06
[ "MIT" ]
554
2020-05-07T21:56:24.000Z
2022-03-31T23:04:51.000Z
tests/app/service/test_sms_sender_rest.py
department-of-veterans-affairs/notification-api
698bc98d8e78a13a0b2cfc432cfc718ff1016b06
[ "MIT" ]
4
2020-08-27T16:43:29.000Z
2021-02-17T22:17:27.000Z
import uuid from datetime import datetime from flask import current_app from sqlalchemy.orm.exc import NoResultFound from app.models import ServiceSmsSender, Service from tests.app.db import create_service, create_service_sms_sender, create_inbound_number, \ create_service_with_inbound_number def test_add_servi...
33.323009
117
0.726995
981
7,531
5.075433
0.11315
0.164491
0.228158
0.07391
0.804579
0.736092
0.650733
0.624021
0.58807
0.570597
0
0.016324
0.186562
7,531
225
118
33.471111
0.796441
0.012747
0
0.508475
0
0
0.187811
0.124445
0
0
0
0
0.112994
1
0.067797
false
0
0.033898
0
0.101695
0
0
0
0
null
0
1
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
261bebf80b0b25b2475459e26a7443b08c38506e
210
py
Python
email_notification/urls.py
FRA1T/django_news
f293df7197a261d8f853a68a1579dc377c0f1d15
[ "MIT" ]
2
2020-10-31T07:01:03.000Z
2020-10-31T07:04:13.000Z
email_notification/urls.py
GitHuber228/django_news
63798966214848ca9ab9370ca070d1b9c89a314b
[ "MIT" ]
null
null
null
email_notification/urls.py
GitHuber228/django_news
63798966214848ca9ab9370ca070d1b9c89a314b
[ "MIT" ]
1
2020-10-31T07:04:21.000Z
2020-10-31T07:04:21.000Z
from django.urls import path from .views import subscribe_email, mail_us urlpatterns = [ path('post_subscribe/', subscribe_email, name='post_subscribe'), path('mail_us/', mail_us, name='mail_us'), ]
21
68
0.72381
29
210
4.965517
0.448276
0.166667
0
0
0
0
0
0
0
0
0
0
0.142857
210
9
69
23.333333
0.8
0
0
0
0
0
0.209524
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
262c295aabf21ea6c168ae96494569678239a320
256
py
Python
chocs/query/__init__.py
fatcode/chocs
445e03eaa7a8389764d34cd8530978d7ec1d9eb8
[ "MIT" ]
14
2020-04-20T20:03:35.000Z
2021-09-15T13:14:30.000Z
chocs/query/__init__.py
kodemore/chocs
fa56ffe1495957be1ff03a75e68f28c2f436237a
[ "MIT" ]
40
2019-12-22T10:32:58.000Z
2022-03-28T07:38:03.000Z
chocs/query/__init__.py
wajidakhterabbasi/chocs
759270907311c81f152db810f9f11f8ebaa550bf
[ "MIT" ]
3
2020-11-09T09:46:13.000Z
2021-05-28T11:39:01.000Z
from .query_criteria import QueryCriteria from .expression import ( Expression, EqualExpression, InExpression, LowerThanExpression, GreaterThanExpression, RangeExpression, PatternExpression, ) from .sorting import SortDirection
21.333333
41
0.765625
19
256
10.263158
0.736842
0
0
0
0
0
0
0
0
0
0
0
0.1875
256
11
42
23.272727
0.9375
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.272727
0
0.272727
0
1
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
26357d1c7e6fdd0681bdbf8296616a3c46cd0e8c
1,174
py
Python
src/test/test_EncryptionInfo.py
sffjunkie/hiss
ef4eb33d840b948f2e83efe112014f06dd687952
[ "Apache-2.0" ]
1
2019-03-21T09:50:09.000Z
2019-03-21T09:50:09.000Z
src/test/test_EncryptionInfo.py
sffjunkie/hiss
ef4eb33d840b948f2e83efe112014f06dd687952
[ "Apache-2.0" ]
null
null
null
src/test/test_EncryptionInfo.py
sffjunkie/hiss
ef4eb33d840b948f2e83efe112014f06dd687952
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2013-2014, Simon Kennedy, sffjunkie+code@gmail.com # # Part of 'hiss' the asynchronous notification library import os import sys sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) import pytest from hiss.encryption import EncryptionI...
24.978723
79
0.715503
142
1,174
5.704225
0.394366
0.060494
0.181481
0.216049
0.535802
0.365432
0.232099
0.185185
0.185185
0.185185
0
0.091093
0.158433
1,174
46
80
25.521739
0.728745
0.114991
0
0.153846
0
0
0.11412
0
0
0
0
0
0.153846
1
0.269231
false
0
0.153846
0
0.423077
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
263cfc2b3490539c3a67467aa2a20b33a65dfd1a
106
py
Python
GodwillOnyewuchi/Phase 1/Python Basic 2/day 14 task/task 9.py
elifbayindir/python-challenge-solutions
7db5bf2cae6564c81f8dfc1598a5ad24a6beb601
[ "MIT" ]
1
2020-05-15T21:27:45.000Z
2020-05-15T21:27:45.000Z
GodwillOnyewuchi/Phase 1/Python Basic 2/day 14 task/task 9.py
GREENFONTS/python-challenge-solutions
a9aad85a250892fe41961a7d5e77f67b8d14fc1b
[ "MIT" ]
null
null
null
GodwillOnyewuchi/Phase 1/Python Basic 2/day 14 task/task 9.py
GREENFONTS/python-challenge-solutions
a9aad85a250892fe41961a7d5e77f67b8d14fc1b
[ "MIT" ]
null
null
null
# Write a Python program to add leading zeroes to a string String = 'hello' print(String.rjust(9, '0'))
17.666667
58
0.707547
18
106
4.166667
0.777778
0
0
0
0
0
0
0
0
0
0
0.022989
0.179245
106
5
59
21.2
0.83908
0.528302
0
0
0
0
0.125
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
26561f9596856154c609c2dfb133c81ccaea880a
480
py
Python
Cogs/Star.py
Oxylibrium/CorpBot.py
e9cb0539e6c50f28f51bdea2096066c12d8a6d05
[ "MIT" ]
1
2020-04-07T07:37:05.000Z
2020-04-07T07:37:05.000Z
Cogs/Star.py
oxy/CorpBot.py
e9cb0539e6c50f28f51bdea2096066c12d8a6d05
[ "MIT" ]
null
null
null
Cogs/Star.py
oxy/CorpBot.py
e9cb0539e6c50f28f51bdea2096066c12d8a6d05
[ "MIT" ]
null
null
null
import asyncio import discord import random from discord.ext import commands from Cogs import Settings from Cogs import DisplayName from Cogs import Nullify import requests class Star: def __init__(self, bot): self.bot = bot @commands.command(pass_context=True, no_pm=True) async def randstar(self, c...
25.263158
67
0.725
70
480
4.885714
0.657143
0.070175
0.122807
0
0
0
0
0
0
0
0
0.007407
0.15625
480
18
68
26.666667
0.837037
0
0
0
0
0
0.10625
0
0
0
0
0
0
1
0.066667
false
0.066667
0.533333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
26587b0088972f3eb67aeb623c3da9e0092f31ff
66
py
Python
loginpass/_consts.py
kairichard/loginpass
6cdab18df9335022ceb4b8055c6aee0e9949ac00
[ "BSD-3-Clause" ]
null
null
null
loginpass/_consts.py
kairichard/loginpass
6cdab18df9335022ceb4b8055c6aee0e9949ac00
[ "BSD-3-Clause" ]
null
null
null
loginpass/_consts.py
kairichard/loginpass
6cdab18df9335022ceb4b8055c6aee0e9949ac00
[ "BSD-3-Clause" ]
1
2020-01-30T21:16:44.000Z
2020-01-30T21:16:44.000Z
version = '0.3' homepage = 'https://github.com/authlib/loginpass'
22
49
0.712121
9
66
5.222222
1
0
0
0
0
0
0
0
0
0
0
0.033333
0.090909
66
2
50
33
0.75
0
0
0
0
0
0.590909
0
0
0
0
0
0
1
0
false
0.5
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
2659444896245953a35309b89333afaed6eaea14
303
py
Python
product/admin.py
SergueiNK/oc_projet_p8
a2a3e3df7ecd048207f342343163a3aecf246423
[ "Unlicense" ]
null
null
null
product/admin.py
SergueiNK/oc_projet_p8
a2a3e3df7ecd048207f342343163a3aecf246423
[ "Unlicense" ]
3
2021-12-04T16:47:44.000Z
2021-12-04T19:25:31.000Z
product/admin.py
SergueiNK/oc_projet_p8
a2a3e3df7ecd048207f342343163a3aecf246423
[ "Unlicense" ]
null
null
null
from django.contrib import admin from .models import Product, Category # Pour pouvoir modifier les données de register depuis Product # Dépuis admin ça permet d'ajouter du site ça permet de faire les modifications admin.site.register(Product) admin.site.register(Category) # Register your models here.
33.666667
79
0.811881
45
303
5.466667
0.6
0.065041
0.138211
0
0
0
0
0
0
0
0
0
0.135314
303
8
80
37.875
0.938931
0.544554
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
26786c4a1069b5de398f71e5114d509f1670b3b0
143
py
Python
hardware/chip/rtl872xd/hal/hal_test/ucube.py
wstong999/AliOS-Things
6554769cb5b797e28a30a4aa89b3f4cb2ef2f5d9
[ "Apache-2.0" ]
4,538
2017-10-20T05:19:03.000Z
2022-03-30T02:29:30.000Z
hardware/chip/rtl872xd/hal/hal_test/ucube.py
wstong999/AliOS-Things
6554769cb5b797e28a30a4aa89b3f4cb2ef2f5d9
[ "Apache-2.0" ]
1,088
2017-10-21T07:57:22.000Z
2022-03-31T08:15:49.000Z
hardware/chip/rtl872xd/hal/hal_test/ucube.py
willianchanlovegithub/AliOS-Things
637c0802cab667b872d3b97a121e18c66f256eab
[ "Apache-2.0" ]
1,860
2017-10-20T05:22:35.000Z
2022-03-27T10:54:14.000Z
src = Split(''' hal_test.c ''') component = aos_component('hal_test', src) component.add_cflags('-Wall') component.add_cflags('-Werror')
15.888889
42
0.685315
19
143
4.894737
0.578947
0.150538
0.387097
0
0
0
0
0
0
0
0
0
0.118881
143
8
43
17.875
0.738095
0
0
0
0
0
0.251748
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
267f2b638c8a59a785bdd2fe832f0a5d445e6364
437
py
Python
test/locustfile.py
reikoshea/locust-gke
3febaea4417ed0b03603f6d597250ee2c9557611
[ "MIT" ]
13
2015-03-21T07:16:46.000Z
2020-05-12T05:02:23.000Z
test/locustfile.py
reikoshea/locust-gke
3febaea4417ed0b03603f6d597250ee2c9557611
[ "MIT" ]
2
2015-08-18T04:24:30.000Z
2015-08-27T02:14:16.000Z
test/locustfile.py
reikoshea/locust-gke
3febaea4417ed0b03603f6d597250ee2c9557611
[ "MIT" ]
3
2015-07-30T10:19:10.000Z
2016-07-26T10:18:20.000Z
from locust import HttpLocust, TaskSet def login(self): self.client.post("/login", {"username":"ellen_key", "password":"education"}) def index(self): self.client.get("/") def profile(self): self.client.get("/profile") class UserBehavior(TaskSet): tasks = {index:2, profile:1} def on_start(self):...
19.863636
80
0.672769
56
437
5.160714
0.589286
0.083045
0.145329
0.117647
0
0
0
0
0
0
0
0.027855
0.17849
437
21
81
20.809524
0.777159
0
0
0
0
0
0.112128
0
0
0
0
0
0
1
0.266667
false
0.066667
0.066667
0
0.733333
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
cd07847558e9fa4d6dd152d553339f94858868a2
192
py
Python
BOJ_Solved/BOJ-16693.py
CodingLeeSeungHoon/Python_Algorithm_TeamNote
1e92986999b45aa9951e12e67b23062e410e9b36
[ "MIT" ]
7
2021-11-19T14:50:59.000Z
2022-02-25T20:00:20.000Z
BOJ_Solved/BOJ-16693.py
CodingLeeSeungHoon/Python_Algorithm_TeamNote
1e92986999b45aa9951e12e67b23062e410e9b36
[ "MIT" ]
null
null
null
BOJ_Solved/BOJ-16693.py
CodingLeeSeungHoon/Python_Algorithm_TeamNote
1e92986999b45aa9951e12e67b23062e410e9b36
[ "MIT" ]
null
null
null
""" 백준 16693번 : Pizza Deal """ import math a, b = map(int, input().split()) c, d = map(int, input().split()) c = math.pi * (c ** 2) print('Whole pizza' if b / a > d / c else 'Slice of pizza')
21.333333
59
0.567708
35
192
3.114286
0.628571
0.110092
0.201835
0.293578
0.311927
0
0
0
0
0
0
0.039474
0.208333
192
9
59
21.333333
0.677632
0.114583
0
0
0
0
0.153374
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cd17664ce1385f6f789fa56468225c07561ab6a1
57
py
Python
work_training/fifa_league/__init__.py
VMois/work_training
4e614fe427e8d7a66c41c6553e6053949e0fd8be
[ "CC-BY-3.0" ]
null
null
null
work_training/fifa_league/__init__.py
VMois/work_training
4e614fe427e8d7a66c41c6553e6053949e0fd8be
[ "CC-BY-3.0" ]
null
null
null
work_training/fifa_league/__init__.py
VMois/work_training
4e614fe427e8d7a66c41c6553e6053949e0fd8be
[ "CC-BY-3.0" ]
null
null
null
default_app_config = 'fifa_league.apps.FifaLeagueConfig'
28.5
56
0.859649
7
57
6.571429
1
0
0
0
0
0
0
0
0
0
0
0
0.052632
57
1
57
57
0.851852
0
0
0
0
0
0.578947
0.578947
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
cd31676665383cab0d7726ae2f7434e3b3fa3d43
95
py
Python
modules/2.79/bpy/types/VertexPaint.py
cmbasnett/fake-bpy-module
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
[ "MIT" ]
null
null
null
modules/2.79/bpy/types/VertexPaint.py
cmbasnett/fake-bpy-module
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
[ "MIT" ]
null
null
null
modules/2.79/bpy/types/VertexPaint.py
cmbasnett/fake-bpy-module
acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55
[ "MIT" ]
null
null
null
class VertexPaint: use_group_restrict = None use_normal = None use_spray = None
11.875
29
0.684211
12
95
5.083333
0.666667
0.229508
0
0
0
0
0
0
0
0
0
0
0.273684
95
7
30
13.571429
0.884058
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
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
cd342abadd17814ad4a2e1d2e9545d2ee0c490c9
199
py
Python
docs_src/advanced_usage/adv_usage_003.py
cdpath/fastapi_login
4e9cde923b60a6852a24b34292e2a10f4333ced3
[ "MIT" ]
318
2019-10-24T20:18:41.000Z
2022-03-23T16:55:51.000Z
docs_src/advanced_usage/adv_usage_003.py
cdpath/fastapi_login
4e9cde923b60a6852a24b34292e2a10f4333ced3
[ "MIT" ]
47
2020-01-24T01:07:33.000Z
2022-03-16T12:59:06.000Z
docs_src/advanced_usage/adv_usage_003.py
cdpath/fastapi_login
4e9cde923b60a6852a24b34292e2a10f4333ced3
[ "MIT" ]
39
2020-04-01T07:23:13.000Z
2022-02-25T12:43:40.000Z
@app.post('/login') def login(response: Response): ... token = manager.create_access_token( data=dict(sub=user.email) ) manager.set_cookie(response, token) return response
24.875
40
0.658291
24
199
5.333333
0.708333
0.203125
0
0
0
0
0
0
0
0
0
0
0.20603
199
8
41
24.875
0.810127
0
0
0
0
0
0.03
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
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
cd5600874cc095480620188469855bc6055221f8
155
py
Python
1_Fundamental Python Programming/1_2_Control Structures/Pass.py
NishkarshRaj/Python-Programming
29506d8d7ed80730ce5cafd5945f83c81f003e68
[ "Unlicense" ]
6
2019-07-15T14:54:52.000Z
2021-11-26T22:34:44.000Z
1_Fundamental Python Programming/1_2_Control Structures/Pass.py
NishkarshRaj/Python-Programming
29506d8d7ed80730ce5cafd5945f83c81f003e68
[ "Unlicense" ]
1
2019-07-15T14:53:35.000Z
2019-07-15T14:53:35.000Z
1_Fundamental Python Programming/1_2_Control Structures/Pass.py
NishkarshRaj/Python-Programming
29506d8d7ed80730ce5cafd5945f83c81f003e68
[ "Unlicense" ]
2
2019-08-05T01:30:10.000Z
2020-05-04T18:36:46.000Z
print("Pass statement in Python"); for i in range (1,11,1): if(i==3): i = i + 1; pass; else: print(i); i = i + 1;
15.5
34
0.419355
25
155
2.6
0.52
0.092308
0.092308
0
0
0
0
0
0
0
0
0.076923
0.412903
155
9
35
17.222222
0.637363
0
0
0.25
0
0
0.154839
0
0
0
0
0
0
1
0
false
0.25
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
3
cd58a3084b332bb0367aa5aa54a64618c7d95d42
233
py
Python
ex0083.py
EwertonRosendo/PastaDeExercicios
68d23194b87ce1c8405c70fcceb3378955815d7d
[ "MIT" ]
null
null
null
ex0083.py
EwertonRosendo/PastaDeExercicios
68d23194b87ce1c8405c70fcceb3378955815d7d
[ "MIT" ]
null
null
null
ex0083.py
EwertonRosendo/PastaDeExercicios
68d23194b87ce1c8405c70fcceb3378955815d7d
[ "MIT" ]
null
null
null
expressao = list() expressao.append(str(input("Informe uma expressão: "))) lado1 = expressao[0].count("(") lado2 = expressao[0].count(")") if lado1 == lado2: print("A expressão é valida") else: print("A expressão é invalida")
29.125
55
0.67382
31
233
5.064516
0.612903
0.127389
0.191083
0.203822
0
0
0
0
0
0
0
0.03
0.141631
233
8
56
29.125
0.755
0
0
0
0
0
0.286325
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cd64728136df0f06ae485e91afabf483d2256993
325
py
Python
main.py
jamesWalker55/simple-photo-viewer
425f71a093ccdb1edf1c4f892175c7f0875f474a
[ "CC-BY-3.0" ]
null
null
null
main.py
jamesWalker55/simple-photo-viewer
425f71a093ccdb1edf1c4f892175c7f0875f474a
[ "CC-BY-3.0" ]
null
null
null
main.py
jamesWalker55/simple-photo-viewer
425f71a093ccdb1edf1c4f892175c7f0875f474a
[ "CC-BY-3.0" ]
null
null
null
import sys from PySide2.QtWidgets import QApplication import view.mainwindow import controller.controller import model.memory memory = model.memory.MainMemory() controller = controller.controller.Controller(memory) app = QApplication(sys.argv) mw = view.mainwindow.MainWindow(controller) mw.show() sys.exit(app.exec...
21.666667
53
0.806154
40
325
6.525
0.45
0.306513
0.229885
0
0
0
0
0
0
0
0
0.003401
0.095385
325
14
54
23.214286
0.884354
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.454545
0
0.454545
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
1
0
0
0
0
3
cd7d8e84d31d67b133078b1bcc87c4f86672d9b1
216
py
Python
script2.py
RakhmatulloShamsitdinov/cd101
c25e183952bab318e6360627e5bd9febc048f0cd
[ "Apache-2.0" ]
null
null
null
script2.py
RakhmatulloShamsitdinov/cd101
c25e183952bab318e6360627e5bd9febc048f0cd
[ "Apache-2.0" ]
null
null
null
script2.py
RakhmatulloShamsitdinov/cd101
c25e183952bab318e6360627e5bd9febc048f0cd
[ "Apache-2.0" ]
null
null
null
first_name = input("Enter you name") last_name = input("Enter you surname") past_year = input("MS program start year?") a = 2 + int(past_year) print(f"{first_name} {last_name} {past_year} you are graduate in {a}")
43.2
73
0.708333
37
216
3.945946
0.540541
0.164384
0.191781
0.232877
0
0
0
0
0
0
0
0.005405
0.143519
216
5
73
43.2
0.783784
0
0
0
0
0
0.520737
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
cd9947128b79c52865f30c5e9fad62e4077c657a
55
py
Python
agutil/io/src/__init__.py
agraubert/agutil
d9a568df01959ed985c9c8e77bdd501ac13bdbbf
[ "MIT" ]
3
2017-06-05T15:46:22.000Z
2019-05-22T21:26:54.000Z
agutil/io/src/__init__.py
agraubert/agutil
d9a568df01959ed985c9c8e77bdd501ac13bdbbf
[ "MIT" ]
93
2016-06-22T18:57:47.000Z
2022-02-14T10:50:27.000Z
agutil/io/src/__init__.py
agraubert/agutil
d9a568df01959ed985c9c8e77bdd501ac13bdbbf
[ "MIT" ]
null
null
null
_PROTOCOL_IDENTIFIER_ = "<agutil><__protocol__:1.0.0>"
27.5
54
0.763636
7
55
5
0.714286
0
0
0
0
0
0
0
0
0
0
0.057692
0.054545
55
1
55
55
0.615385
0
0
0
0
0
0.509091
0.509091
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
26970462ec9298a219db249583a55fb7796a44df
4,192
py
Python
laser_width/first_position/7_mm/pyData.py
beckstev/purdue_laser_box
aa4fbf2f3cf6a43fea0a8939d2b22005ffae9bc0
[ "MIT" ]
null
null
null
laser_width/first_position/7_mm/pyData.py
beckstev/purdue_laser_box
aa4fbf2f3cf6a43fea0a8939d2b22005ffae9bc0
[ "MIT" ]
null
null
null
laser_width/first_position/7_mm/pyData.py
beckstev/purdue_laser_box
aa4fbf2f3cf6a43fea0a8939d2b22005ffae9bc0
[ "MIT" ]
null
null
null
import ROOT as root ########################## Data of .C file, insert data underneath ###################################### qMap_Ag_C0_V0 = root.TProfile2D("qMap_Ag_C0_V0","qMap_Ag_C0 (V0)",52,0,52,80,0,80,0,0); qMap_Ag_C0_V0.SetBinEntries(2345,1); qMap_Ag_C0_V0.SetBinEntries(2398,14628); qMap_Ag_C0_V0.SetBinEntri...
40.699029
106
0.817032
739
4,192
4.242219
0.247632
0.185646
0.247528
0.30941
0.693461
0.173844
0.058692
0
0
0
0
0.230788
0.028387
4,192
102
107
41.098039
0.538915
0.009303
0
0
0
0
0.010032
0
0
0
0
0
0
1
0
false
0
0.010309
0
0.010309
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
269cc2166b7e7534d1594c7c8e1a37799d3bbf5e
402
py
Python
guess the number/guess.py
VamsiKrishna04/Hacktoberfest_2021-1
6d0d217161957746a4b60b7d1f0f71db21026f5a
[ "MIT" ]
1
2021-10-20T12:15:27.000Z
2021-10-20T12:15:27.000Z
guess the number/guess.py
VamsiKrishna04/Hacktoberfest_2021-1
6d0d217161957746a4b60b7d1f0f71db21026f5a
[ "MIT" ]
3
2021-10-22T04:46:25.000Z
2021-11-17T06:37:10.000Z
guess the number/guess.py
VamsiKrishna04/Hacktoberfest_2021-1
6d0d217161957746a4b60b7d1f0f71db21026f5a
[ "MIT" ]
12
2021-10-21T13:56:49.000Z
2021-11-17T06:32:30.000Z
import random max_num = int(input("Enter the maximum no- ")) random_number = random.randint(1, max_num) guess = 0 while guess != random_number: guess = int(input(f"Guess the number between 1 & {max_num}: ")) if guess < random_number: print("Wrong! Too low...") elif guess > random_number: p...
30.923077
67
0.666667
59
402
4.40678
0.474576
0.276923
0.196154
0.169231
0.230769
0.230769
0
0
0
0
0
0.009288
0.196517
402
13
68
30.923077
0.795666
0
0
0
0
0
0.352357
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.272727
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
26a66bdc3f8dfcf8394e442f0be3e5b317f4d444
9,101
py
Python
openprocurement/contracting/core/tests/validation.py
oleksiyVeretiuk/openprocurement.contracting.core
4f04ef136ac2e819ddc21ee810838e3c78fc11ce
[ "Apache-2.0" ]
null
null
null
openprocurement/contracting/core/tests/validation.py
oleksiyVeretiuk/openprocurement.contracting.core
4f04ef136ac2e819ddc21ee810838e3c78fc11ce
[ "Apache-2.0" ]
28
2018-03-28T05:36:08.000Z
2019-02-28T13:44:15.000Z
openprocurement/contracting/core/tests/validation.py
oleksiyVeretiuk/openprocurement.contracting.core
4f04ef136ac2e819ddc21ee810838e3c78fc11ce
[ "Apache-2.0" ]
5
2018-03-28T08:17:04.000Z
2019-02-07T17:22:17.000Z
# -*- coding: utf-8 -*- import unittest from mock import patch from pyramid.request import Request from openprocurement.contracting.core.models import Contract, Change from openprocurement.contracting.core.validation import ( validate_patch_contract_data, validate_change_data, validate_patch_change_data, ...
41.747706
79
0.680475
942
9,101
6.193206
0.096603
0.069763
0.117244
0.115701
0.796195
0.756599
0.707576
0.682036
0.637641
0.600788
0
0.000145
0.24316
9,101
217
80
41.940092
0.846835
0.002307
0
0.441989
0
0
0.122494
0.097378
0
0
0
0
0.116022
1
0.077348
false
0
0.027624
0
0.116022
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
26a7e0133c30ec4f18f9f3f3b72f82f3822faf2f
294
py
Python
exercicios-com-funcoes/exercicio08.py
diegolinkk/exercicios-python-brasil
3bf7bdf0e98cdd06c115eedae4fa01e0c25fdba5
[ "MIT" ]
null
null
null
exercicios-com-funcoes/exercicio08.py
diegolinkk/exercicios-python-brasil
3bf7bdf0e98cdd06c115eedae4fa01e0c25fdba5
[ "MIT" ]
null
null
null
exercicios-com-funcoes/exercicio08.py
diegolinkk/exercicios-python-brasil
3bf7bdf0e98cdd06c115eedae4fa01e0c25fdba5
[ "MIT" ]
null
null
null
#Faça uma função que informe a quantidade de dígitos de um determinado número inteiro informado def calcula_digito(numero): numero = str(numero) return len(numero) print(calcula_digito(150123123123)) print(calcula_digito(100)) print(calcula_digito(1000)) print(calcula_digito(10000))
26.727273
95
0.792517
41
294
5.560976
0.634146
0.285088
0.315789
0
0
0
0
0
0
0
0
0.093023
0.122449
294
11
96
26.727273
0.790698
0.319728
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0.571429
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
0
1
0
3
26b3a32a40c60dd4c478c232792383563390dbcf
71
py
Python
pypadre/definitions.py
padre-lab-eu/pypadre
c244a5f1d4eb7bf168cc06dd9b43416883534268
[ "MIT" ]
3
2019-12-19T13:29:52.000Z
2019-12-20T07:32:05.000Z
pypadre/definitions.py
padre-lab-eu/pypadre
c244a5f1d4eb7bf168cc06dd9b43416883534268
[ "MIT" ]
1
2019-12-16T13:39:24.000Z
2019-12-16T13:39:24.000Z
pypadre/definitions.py
padre-lab-eu/pypadre
c244a5f1d4eb7bf168cc06dd9b43416883534268
[ "MIT" ]
null
null
null
from pathlib import Path ROOT_DIR = str(Path(__file__).parent.parent)
17.75
44
0.788732
11
71
4.636364
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.112676
71
3
45
23.666667
0.809524
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
26dd66d4444fd88684f335a51a4b725055039d2f
173
py
Python
bin/webserver.py
keithieopia/bin
286f803e0c5113ee847ef67e536d2d3762319915
[ "0BSD" ]
7
2016-04-23T18:19:09.000Z
2018-11-29T15:14:52.000Z
bin/webserver.py
keithieopia/bin
286f803e0c5113ee847ef67e536d2d3762319915
[ "0BSD" ]
14
2016-04-19T17:01:07.000Z
2018-10-31T19:17:21.000Z
bin/webserver.py
keithieopia/bin
286f803e0c5113ee847ef67e536d2d3762319915
[ "0BSD" ]
null
null
null
#!/usr/bin/env python import BaseHTTPServer, SimpleHTTPServer server = BaseHTTPServer.HTTPServer(('',8080),SimpleHTTPServer.SimpleHTTPRequestHandler) server.serve_forever()
34.6
87
0.83237
16
173
8.9375
0.8125
0
0
0
0
0
0
0
0
0
0
0.02439
0.052023
173
5
88
34.6
0.847561
0.115607
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
26f8476959d61709f87f42de23f3a2477370f974
1,162
py
Python
web/services/login-service/src/blueprints/routes/routes.py
fhgrings/match-io
0acb0b006ae8d8073f1d148e80275a568c2517ae
[ "MIT" ]
null
null
null
web/services/login-service/src/blueprints/routes/routes.py
fhgrings/match-io
0acb0b006ae8d8073f1d148e80275a568c2517ae
[ "MIT" ]
null
null
null
web/services/login-service/src/blueprints/routes/routes.py
fhgrings/match-io
0acb0b006ae8d8073f1d148e80275a568c2517ae
[ "MIT" ]
null
null
null
from flask import Flask, jsonify, request, make_response import jwt from functools import wraps from src.services.login_service import LoginService def init_app(app): def token_required(f): @wraps(f) def decorated(*args, **kwargs): token = request.headers.get('Authorizati...
28.341463
76
0.576592
122
1,162
5.434426
0.442623
0.078431
0.120664
0.075415
0.081448
0
0
0
0
0
0
0.003704
0.302926
1,162
41
77
28.341463
0.814815
0
0
0.064516
0
0
0.144256
0
0
0
0
0
0
1
0.225806
false
0
0.129032
0.129032
0.612903
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f81939feddfa91fad3aaaccf0206b97fbec542d2
81
py
Python
examples/optimizers/swarm/create_ssa.py
anukaal/opytimizer
5f1ccc0da80e6a4cabd99578fa24cf4f6466f9b9
[ "Apache-2.0" ]
528
2018-10-01T20:00:09.000Z
2022-03-27T11:15:31.000Z
examples/optimizers/swarm/create_ssa.py
anukaal/opytimizer
5f1ccc0da80e6a4cabd99578fa24cf4f6466f9b9
[ "Apache-2.0" ]
17
2019-10-30T00:47:03.000Z
2022-03-21T11:39:28.000Z
examples/optimizers/swarm/create_ssa.py
anukaal/opytimizer
5f1ccc0da80e6a4cabd99578fa24cf4f6466f9b9
[ "Apache-2.0" ]
35
2018-10-01T20:03:23.000Z
2022-03-20T03:54:15.000Z
from opytimizer.optimizers.swarm import SSA # Creates a SSA optimizer o = SSA()
16.2
43
0.765432
12
81
5.166667
0.833333
0
0
0
0
0
0
0
0
0
0
0
0.160494
81
4
44
20.25
0.911765
0.283951
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