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
765dc997ccefa3eb2c11421063d001f7c2a20a28
195
py
Python
src/atomate2/__init__.py
Zhuoying/atomate2
4501c8ff2a72243dee51afb17d93ecff426b3e8c
[ "BSD-3-Clause-LBNL" ]
14
2021-09-24T05:18:02.000Z
2022-03-31T23:12:47.000Z
src/atomate2/__init__.py
Zhuoying/atomate2
4501c8ff2a72243dee51afb17d93ecff426b3e8c
[ "BSD-3-Clause-LBNL" ]
83
2021-11-02T17:19:57.000Z
2022-03-31T17:27:00.000Z
src/atomate2/__init__.py
Zhuoying/atomate2
4501c8ff2a72243dee51afb17d93ecff426b3e8c
[ "BSD-3-Clause-LBNL" ]
11
2021-11-19T09:50:45.000Z
2022-03-31T05:56:39.000Z
"""Atomate2 is a library of computational materials science workflows.""" from atomate2._version import __version__ from atomate2.settings import Atomate2Settings SETTINGS = Atomate2Settings()
27.857143
73
0.825641
21
195
7.428571
0.666667
0.153846
0
0
0
0
0
0
0
0
0
0.028902
0.112821
195
6
74
32.5
0.872832
0.34359
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7682cf2513d094081bebe0e42c3ddc5f4d1cd95d
222
py
Python
coderdojo/lekcja_1_pos_block.py
jarekczek/minecraft
414b8ffe25d51ef8bde259d5f8f104c89026573a
[ "MIT" ]
null
null
null
coderdojo/lekcja_1_pos_block.py
jarekczek/minecraft
414b8ffe25d51ef8bde259d5f8f104c89026573a
[ "MIT" ]
null
null
null
coderdojo/lekcja_1_pos_block.py
jarekczek/minecraft
414b8ffe25d51ef8bde259d5f8f104c89026573a
[ "MIT" ]
null
null
null
from mine import * mc = Minecraft() print(mc.player.getTilePos()) #mc.player.setPos(500, 15, 500) print(mc.getBlock(500, 5, 500)) mc.setBlock(500, 5, 500, 78) mc.setBlock(500, 5, 499, 79) mc.setBlock(500, 5, 498, 80)
15.857143
31
0.671171
39
222
3.820513
0.487179
0.107383
0.261745
0.281879
0
0
0
0
0
0
0
0.219895
0.13964
222
13
32
17.076923
0.560209
0.135135
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.285714
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
7692c8ffe039d5591708a31d5669d76bafc3bc19
661
py
Python
src/user/sudo_service.py
fugwenna/bunkbot
f438c6a7d1f2c1797755eb8287bc1499c0cf2a88
[ "MIT" ]
2
2017-05-10T03:41:12.000Z
2017-08-12T12:51:44.000Z
src/user/sudo_service.py
fugwenna/bunkbot
f438c6a7d1f2c1797755eb8287bc1499c0cf2a88
[ "MIT" ]
13
2017-08-09T00:41:17.000Z
2021-09-04T17:47:11.000Z
src/user/sudo_service.py
fugwenna/bunkbot
f438c6a7d1f2c1797755eb8287bc1499c0cf2a88
[ "MIT" ]
4
2017-05-10T01:15:03.000Z
2021-03-02T03:49:45.000Z
from discord import Member from ..bunkbot import BunkBot from ..channel.channel_service import ChannelService from ..core.constants import ROLE_MODERATOR from ..core.service import Service from ..db.database_service import DatabaseService """ Service responsible for anything superuser related - handles some...
38.882353
92
0.754917
76
661
6.407895
0.552632
0.080082
0
0
0
0
0
0
0
0
0
0
0.170953
661
17
93
38.882353
0.888686
0.072617
0
0
0
0
0
0
0
0
0
0.058824
0
1
0.090909
false
0
0.545455
0
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
1
0
0
0
0
0
1
0
1
0
0
3
7692d323372e99ea09fd05c7bd5e6f270356a88a
331
py
Python
ex_018.py
antonioravila/Exercicios-CEV-Python
aef19b7872b90b8ad40b0b1b54f7e063832181e3
[ "MIT" ]
null
null
null
ex_018.py
antonioravila/Exercicios-CEV-Python
aef19b7872b90b8ad40b0b1b54f7e063832181e3
[ "MIT" ]
null
null
null
ex_018.py
antonioravila/Exercicios-CEV-Python
aef19b7872b90b8ad40b0b1b54f7e063832181e3
[ "MIT" ]
null
null
null
import math angulo = float(input('digite um ângulo: ')) sen = math.sin(math.radians(angulo)) cos = math.cos(math.radians(angulo)) tan = math.tan(math.radians(angulo)) print(f'o seno do ângulo de {angulo}° é {sen:.2f}') print(f'o cosceno do ângulo de {angulo}° é {cos:.2f}') print(f'a tangente do ângulo de {angulo}° é {...
33.1
55
0.685801
62
331
3.709677
0.403226
0.143478
0.221739
0.208696
0.234783
0.234783
0
0
0
0
0
0.010381
0.126888
331
9
56
36.777778
0.775087
0
0
0
0
0
0.44713
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0.375
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
76a62d9c9180a20643d7f2a8dad6835e096b2cb2
9,970
py
Python
tools/FileIO.py
mtstamp/stamp
76c3e4d1e57192c1404e2c127f8e27d99a57efdf
[ "MIT" ]
null
null
null
tools/FileIO.py
mtstamp/stamp
76c3e4d1e57192c1404e2c127f8e27d99a57efdf
[ "MIT" ]
null
null
null
tools/FileIO.py
mtstamp/stamp
76c3e4d1e57192c1404e2c127f8e27d99a57efdf
[ "MIT" ]
null
null
null
############################################################################# # #Updated by: Yiqin Wang # ############################################################################## import sys import subprocess import types import struct import gzip,bz2,zipfile def execute(cmd, stderr = sys.stderr, run = True): #...
27.092391
80
0.627583
1,519
9,970
4.075049
0.134957
0.085622
0.067851
0.090469
0.607431
0.555735
0.511147
0.466236
0.45622
0.385137
0
0.014781
0.192477
9,970
367
81
27.166213
0.754068
0.091775
0
0.381944
0
0
0.021919
0
0
0
0
0
0.006944
1
0.232639
false
0
0.017361
0.15625
0.513889
0.010417
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
76a707e20886ecdf081daa356107b31515ed4835
352
py
Python
tests/test_checks.py
saxix/django-admin-extra-buttons
7c72d0887ba71b4f7ae8bd2a1c0f8b78bf0fe6ca
[ "BSD-1-Clause" ]
null
null
null
tests/test_checks.py
saxix/django-admin-extra-buttons
7c72d0887ba71b4f7ae8bd2a1c0f8b78bf0fe6ca
[ "BSD-1-Clause" ]
null
null
null
tests/test_checks.py
saxix/django-admin-extra-buttons
7c72d0887ba71b4f7ae8bd2a1c0f8b78bf0fe6ca
[ "BSD-1-Clause" ]
null
null
null
from demo.admin import Admin1 from demo.models import DemoModel1 from django.contrib.admin import site from admin_extra_buttons.utils import check_decorator_errors def test_permissions(db): assert check_decorator_errors(Admin1) == [] def test_mixin_checks(db): model_admin = site._registry[DemoModel1] a...
23.466667
60
0.784091
48
352
5.5
0.520833
0.060606
0.151515
0
0
0
0
0
0
0
0
0.013158
0.136364
352
14
61
25.142857
0.855263
0
0
0
0
0
0
0
0
0
0
0
0.222222
1
0.222222
false
0
0.444444
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
76aa62d55607a1098ff1d96acdbbd5fe7fb9eb12
481
py
Python
tests/parsing/parser/test_list_to_variable_length_tuple.py
LeeeeT/valtypes
0c5df3cbab296bf9ca34544604fbb9496a41e01a
[ "MIT" ]
3
2022-02-22T12:59:59.000Z
2022-03-10T14:12:25.000Z
tests/parsing/parser/test_list_to_variable_length_tuple.py
LeeeeT/valtypes
0c5df3cbab296bf9ca34544604fbb9496a41e01a
[ "MIT" ]
3
2022-03-08T13:33:38.000Z
2022-03-25T03:31:56.000Z
tests/parsing/parser/test_list_to_variable_length_tuple.py
LeeeeT/valtypes
0c5df3cbab296bf9ca34544604fbb9496a41e01a
[ "MIT" ]
null
null
null
from typing import TypeVar import pytest from valtypes import BaseParsingError, parse T = TypeVar("T") def test_parse_items() -> None: """ It parses the list items to the desired type """ assert parse(tuple[int, ...], [1, "2", b"3"]) == (1, 2, 3) def test_wrong_item() -> None: """ It rai...
19.24
70
0.607069
71
481
4.056338
0.521127
0.020833
0.083333
0.111111
0.104167
0
0
0
0
0
0
0.027322
0.239085
481
24
71
20.041667
0.759563
0.230769
0
0
0
0
0.020649
0
0
0
0
0
0.111111
1
0.222222
false
0
0.333333
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
0
1
0
1
0
0
3
76b495719d4186d9e9b5129332b9fe1977659c05
38
py
Python
pbhhg_py/modules/__init__.py
dragonteros/unsuspected-hangeul
52dda3768809f5ba91e4fd7bb754223737b2da3d
[ "MIT" ]
62
2019-02-24T17:45:04.000Z
2021-06-14T07:34:57.000Z
pbhhg_py/modules/__init__.py
dragonteros/unsuspected-hangeul
52dda3768809f5ba91e4fd7bb754223737b2da3d
[ "MIT" ]
11
2019-02-25T17:19:45.000Z
2020-07-18T05:04:17.000Z
pbhhg_py/modules/__init__.py
dragonteros/unsuspected-hangeul
52dda3768809f5ba91e4fd7bb754223737b2da3d
[ "MIT" ]
2
2019-02-25T07:51:14.000Z
2019-09-23T12:36:08.000Z
__all__ = ['bitwise', 'byte', 'math']
19
37
0.578947
4
38
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.131579
38
1
38
38
0.545455
0
0
0
0
0
0.394737
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
76c175e4e645537d5d0ab6decc9218cf5795a4ce
825
py
Python
tests/conftest.py
cryptomaniac512/falcon-toolkit
da4950cf93b4923a0733e8903df0cb54879932ec
[ "MIT" ]
3
2018-02-08T09:00:37.000Z
2018-02-13T09:17:17.000Z
tests/conftest.py
cryptomaniac512/pytest-falcon-client
da4950cf93b4923a0733e8903df0cb54879932ec
[ "MIT" ]
1
2019-02-08T13:26:08.000Z
2019-02-08T13:26:08.000Z
tests/conftest.py
sivakov512/pytest-falcon-client
da4950cf93b4923a0733e8903df0cb54879932ec
[ "MIT" ]
null
null
null
import pytest import example_api from pytest_falcon_client import ApiTestClient @pytest.fixture def cors_api(): return example_api.cors_api @pytest.fixture def api(): return example_api.api class CorsApiTestClient(ApiTestClient): def response_assertions(self, response): # test cors headers gl...
21.153846
65
0.694545
95
825
5.884211
0.4
0.093023
0.11449
0.071556
0.08229
0
0
0
0
0
0
0
0.210909
825
38
66
21.710526
0.858679
0.076364
0
0.166667
0
0
0.102767
0.035573
0
0
0
0
0.083333
1
0.25
false
0
0.125
0.166667
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
76cee478e0ad471500e5800f235d66c66ee49683
403
py
Python
pop/mods/pop/conf.py
Akm0d/pop
77d9f6e6de8e02aa2ee5520d0aa0052fabd53243
[ "Apache-2.0" ]
null
null
null
pop/mods/pop/conf.py
Akm0d/pop
77d9f6e6de8e02aa2ee5520d0aa0052fabd53243
[ "Apache-2.0" ]
null
null
null
pop/mods/pop/conf.py
Akm0d/pop
77d9f6e6de8e02aa2ee5520d0aa0052fabd53243
[ "Apache-2.0" ]
null
null
null
''' Convenience wrappers to make using the conf system as easy and seamless as possible ''' def integrate(hub, imports, override=None, cli=None, roots=None, home_root=None, loader='json'): ''' Load the conf sub and run the integrate sequence. ''' hub.pop.sub.add('pop.mods.conf') hub.conf.integrate...
33.583333
104
0.712159
61
403
4.655738
0.52459
0.084507
0
0
0
0
0
0
0
0
0
0
0.158809
403
11
105
36.636364
0.837758
0.330025
0
0
0
0
0.068826
0
0
0
0
0
0
1
0.333333
false
0
0.666667
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
4f138e6e5bdcf88699abf1851c7a5ec60dfca05a
1,442
py
Python
data-integration/test/countryEnrichmentTestHelper.py
kbrbe/beltrans-data-integration
951ae3941b22a6fe0a8d30079bdf6f4f0a55f092
[ "MIT" ]
null
null
null
data-integration/test/countryEnrichmentTestHelper.py
kbrbe/beltrans-data-integration
951ae3941b22a6fe0a8d30079bdf6f4f0a55f092
[ "MIT" ]
21
2022-02-14T10:58:52.000Z
2022-03-28T14:04:40.000Z
data-integration/test/countryEnrichmentTestHelper.py
kbrbe/beltrans-data-integration
951ae3941b22a6fe0a8d30079bdf6f4f0a55f092
[ "MIT" ]
null
null
null
import pandas as pd import utils class CountryEnrichmentTestHelper: # --------------------------------------------------------------------------- def __init__(self, data): self.df = pd.DataFrame(data) # --------------------------------------------------------------------------- def kbrIdentifierHasCountr...
45.0625
249
0.569348
86
1,442
9.5
0.372093
0.029376
0.084455
0.091799
0.318237
0.318237
0.318237
0.318237
0.181151
0
0
0.005464
0.11165
1,442
31
250
46.516129
0.632319
0.526352
0
0
0
0
0.210443
0.120253
0
0
0
0
0
1
0.363636
false
0
0.181818
0.181818
0.818182
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
4f2b6ed9fca71b721b1ca8d80ec966bb3fb552a4
1,827
py
Python
accounts/tests/test_view_password_reset.py
marksweissma/boards
7e19d34bb4d0f042f7ba875737a20d75931902eb
[ "BSD-3-Clause" ]
null
null
null
accounts/tests/test_view_password_reset.py
marksweissma/boards
7e19d34bb4d0f042f7ba875737a20d75931902eb
[ "BSD-3-Clause" ]
null
null
null
accounts/tests/test_view_password_reset.py
marksweissma/boards
7e19d34bb4d0f042f7ba875737a20d75931902eb
[ "BSD-3-Clause" ]
null
null
null
from django.contrib.auth import views as auth_views from django.contrib.auth.forms import PasswordResetForm from django.contrib.auth.models import User from django.core import mail from django.urls import reverse from django.urls import resolve from django.test import TestCase class PasswordResetTests(TestCase): ...
32.625
85
0.711549
221
1,827
5.746606
0.298643
0.085039
0.056693
0.072441
0.447244
0.372441
0.372441
0.372441
0.20315
0.20315
0
0.008021
0.181171
1,827
55
86
33.218182
0.840909
0
0
0.317073
0
0
0.087575
0.012589
0
0
0
0
0.219512
1
0.268293
false
0.292683
0.170732
0
0.512195
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
4f2f6bc71263183d2cdef442af15858bb89fab71
1,086
py
Python
flist/__init__.py
StormyDragon/python-flist
7cb8a0501a72341800af9a0543b73c0c74662d26
[ "BSD-2-Clause" ]
2
2016-02-04T00:28:16.000Z
2019-01-10T12:19:57.000Z
flist/__init__.py
StormyDragon/python-flist
7cb8a0501a72341800af9a0543b73c0c74662d26
[ "BSD-2-Clause" ]
null
null
null
flist/__init__.py
StormyDragon/python-flist
7cb8a0501a72341800af9a0543b73c0c74662d26
[ "BSD-2-Clause" ]
3
2017-10-02T06:40:45.000Z
2022-01-17T21:08:06.000Z
from flist.chat import opcode def account_login(account, password): """Log in to an f-list account. :param account: F-list account name. :param password: Password for the account. """ from flist.account import Account account = Account(account, password) return account.login() def start_...
37.448276
120
0.735727
140
1,086
5.685714
0.407143
0.056533
0.048995
0
0
0
0
0
0
0
0
0.001138
0.190608
1,086
28
121
38.785714
0.904437
0.448435
0
0
0
0
0.049091
0.049091
0
0
0
0
0
1
0.153846
false
0.153846
0.384615
0
0.692308
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
4f3d42cff62959c99403dfbcb3fd848ea3b7be08
1,739
py
Python
view/renderer.py
PetrSpacek/angrylikegame-python-pyqt5
2ddc73fb5b4398117c3a83593632408b4b44e246
[ "MIT" ]
2
2020-01-17T10:43:13.000Z
2021-11-21T14:56:53.000Z
view/renderer.py
PetrSpacek/angrylikegame-python-pyqt5
2ddc73fb5b4398117c3a83593632408b4b44e246
[ "MIT" ]
null
null
null
view/renderer.py
PetrSpacek/angrylikegame-python-pyqt5
2ddc73fb5b4398117c3a83593632408b4b44e246
[ "MIT" ]
null
null
null
import math from model.cannon import AbsCannon from model.enemy import AbstEnemy from model.missile import AbsMissile from model.collision import AbsCollision from model.game_info import AbsGameInfo from utils.geometry import Position from view.game_graphics import AbsGameGraphics from visitor import Visitor class G...
43.475
134
0.721679
233
1,739
5.171674
0.253219
0.089627
0.092946
0.06971
0.229046
0.079668
0
0
0
0
0
0.006901
0.166763
1,739
39
135
44.589744
0.824707
0.00575
0
0
0
0
0.047481
0.017371
0
0
0
0
0
1
0.206897
false
0
0.310345
0
0.551724
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
4f53b6c8e76c1bf2bd41012faad8800e66e3e1b6
2,749
py
Python
getuipy/igetui/igt_message.py
brzx/getuipy
e51d7951efbeea0bcb5b6568e8a965a7db82a458
[ "MIT" ]
null
null
null
getuipy/igetui/igt_message.py
brzx/getuipy
e51d7951efbeea0bcb5b6568e8a965a7db82a458
[ "MIT" ]
null
null
null
getuipy/igetui/igt_message.py
brzx/getuipy
e51d7951efbeea0bcb5b6568e8a965a7db82a458
[ "MIT" ]
1
2021-02-09T02:57:19.000Z
2021-02-09T02:57:19.000Z
__author__ = 'wei' from getuipy.igetui.template.igt_base_template import * from getuipy.igetui.utils.AppConditions import * class IGtMessage: def __init__(self): self.isOffline = False self.offlineExpireTime = 0 self.data = BaseTemplate() self.pushNetWorkType = 0 self.priori...
19.359155
57
0.611859
250
2,749
6.592
0.244
0.078884
0.110437
0.050971
0.077063
0.077063
0.077063
0.053398
0
0
0
0.002111
0.310658
2,749
141
58
19.496454
0.867546
0
0
0.088608
0
0
0.001098
0
0
0
0
0
0
1
0.379747
false
0
0.025316
0.164557
0.620253
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
4f78d6b5ab38df369c0fdd79c7ca2c1d699df724
219
py
Python
submissions/defanging-an-ip-address/solution.py
Wattyyy/LeetCode
13a9be056d0a0c38c2f8c8222b11dc02cb25a935
[ "MIT" ]
null
null
null
submissions/defanging-an-ip-address/solution.py
Wattyyy/LeetCode
13a9be056d0a0c38c2f8c8222b11dc02cb25a935
[ "MIT" ]
1
2022-03-04T20:24:32.000Z
2022-03-04T20:31:58.000Z
submissions/defanging-an-ip-address/solution.py
Wattyyy/LeetCode
13a9be056d0a0c38c2f8c8222b11dc02cb25a935
[ "MIT" ]
null
null
null
# https://leetcode.com/problems/defanging-an-ip-address class Solution: def defangIPaddr(self, address): if not address: return "" ls = address.split(".") return "[.]".join(ls)
21.9
55
0.579909
24
219
5.291667
0.791667
0
0
0
0
0
0
0
0
0
0
0
0.269406
219
9
56
24.333333
0.79375
0.242009
0
0
0
0
0.02439
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
4fac6704aeb1a53183672dd8dfc305fe70745aa6
199
py
Python
forum/urls.py
Samrat-Nakarmi/Minerva
4dd87ef102e4c83d26cdf8b6f12bad9d3fed4c7a
[ "MIT" ]
null
null
null
forum/urls.py
Samrat-Nakarmi/Minerva
4dd87ef102e4c83d26cdf8b6f12bad9d3fed4c7a
[ "MIT" ]
null
null
null
forum/urls.py
Samrat-Nakarmi/Minerva
4dd87ef102e4c83d26cdf8b6f12bad9d3fed4c7a
[ "MIT" ]
null
null
null
from os import name from django.urls import path from . import views urlpatterns = [ path("<int:id>", views.forum, name="question"), path("question/<int:id>", views.answers, name="answer") ]
22.111111
59
0.683417
28
199
4.857143
0.535714
0.073529
0.147059
0
0
0
0
0
0
0
0
0
0.150754
199
8
60
24.875
0.804734
0
0
0
0
0
0.19598
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
96cd1fb4ffdd5d2afd232ec1aa6ea7fe17cee9d3
575
py
Python
tests/test_MsgPitLaneEvent.py
jdamiani27/PyRaceView
9c62861e2b659407948c77a780f47c95482cdfbf
[ "MIT" ]
4
2019-09-10T18:14:53.000Z
2022-01-08T02:01:01.000Z
tests/test_MsgPitLaneEvent.py
jdamiani27/pyraceview
9c62861e2b659407948c77a780f47c95482cdfbf
[ "MIT" ]
null
null
null
tests/test_MsgPitLaneEvent.py
jdamiani27/pyraceview
9c62861e2b659407948c77a780f47c95482cdfbf
[ "MIT" ]
null
null
null
import pytest from pyraceview.messages import MsgPitLaneEvent raw = b"\xab\xcd\x00\x00\x00\x03P\x0c\x07\x03" @pytest.fixture def msg_pit_lane_event(): return MsgPitLaneEvent(raw) def test_header(msg_pit_lane_event): header = msg_pit_lane_event.header assert ( header.sync == 43981 and h...
19.827586
47
0.707826
90
575
4.2
0.433333
0.111111
0.185185
0.277778
0.328042
0.328042
0.201058
0.201058
0.201058
0.201058
0
0.05
0.2
575
28
48
20.535714
0.771739
0
0
0
0
0
0.066087
0.064348
0
0
0
0
0.166667
1
0.222222
false
0
0.111111
0.055556
0.388889
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
96d2e00779d2308be8af1cf5b7a833143b4c8a5c
1,654
py
Python
src/gaze_estimation.py
NAITTOU/computer_pointer_controller
b36ce51e7638543b54da1abe56f7ae54eb21918f
[ "MIT" ]
1
2020-09-04T06:28:43.000Z
2020-09-04T06:28:43.000Z
src/gaze_estimation.py
NAITTOU/computer_pointer_controller
b36ce51e7638543b54da1abe56f7ae54eb21918f
[ "MIT" ]
1
2022-01-13T02:59:41.000Z
2022-01-13T02:59:41.000Z
src/gaze_estimation.py
NAITTOU/computer_pointer_controller
b36ce51e7638543b54da1abe56f7ae54eb21918f
[ "MIT" ]
null
null
null
''' This is a class for Gaze Estimation model. ''' import numpy as np import cv2 from model import Model class GazeEstimation(Model): ''' Class for the Gaze Estimation Model. ''' def __init__(self, model_name, device='CPU', extensions=None): ''' TODO: Use this to set your instance vari...
28.517241
88
0.576179
205
1,654
4.502439
0.404878
0.045504
0.04117
0.036836
0.169014
0.067172
0.067172
0.067172
0
0
0
0.007273
0.334946
1,654
58
89
28.517241
0.831818
0.237606
0
0
0
0
0.058925
0
0
0
0
0.017241
0
1
0.208333
false
0
0.125
0.083333
0.541667
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
0
0
0
1
0
0
3
96e6ebfdf1b41579016dffb4a7cc21d845aa098c
203
wsgi
Python
Web/API/api.wsgi
HackathonGermany/Smart
f3f815eca0a66ee7aaeab86d717c4081a2b25631
[ "MIT" ]
2
2019-10-19T10:04:50.000Z
2019-10-20T11:22:23.000Z
Web/API/api.wsgi
HackathonGermany/Smart
f3f815eca0a66ee7aaeab86d717c4081a2b25631
[ "MIT" ]
1
2019-10-25T04:40:27.000Z
2020-07-17T12:26:27.000Z
Web/API/api.wsgi
HackathonGermany/Smart
f3f815eca0a66ee7aaeab86d717c4081a2b25631
[ "MIT" ]
null
null
null
import logging import sys logging.basicConfig(stream=sys.stderr) sys.path.insert(0, '/var/www/html/Smart/Web/API/') from restserver import app as application application.secret_key = 'gag43hr37hR§nuKWT§'
33.833333
50
0.802956
32
203
5.125
0.78125
0
0
0
0
0
0
0
0
0
0
0.026596
0.073892
203
6
51
33.833333
0.835106
0
0
0
0
0
0.22549
0.137255
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
8c09249fcbe44b5e047db1d9407188a4400741a8
334
py
Python
Python/python-practice/chapter3-list/cars.py
jiaoqiyuan/Tests
a3595b0e4b430d910f90e428d6b6b4465f67a059
[ "Apache-2.0" ]
null
null
null
Python/python-practice/chapter3-list/cars.py
jiaoqiyuan/Tests
a3595b0e4b430d910f90e428d6b6b4465f67a059
[ "Apache-2.0" ]
null
null
null
Python/python-practice/chapter3-list/cars.py
jiaoqiyuan/Tests
a3595b0e4b430d910f90e428d6b6b4465f67a059
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python3 cars = ['bmw', 'audi', 'toyota', 'subaru'] cars.sort() print(cars) cars.sort(reverse=True) print(cars) print("\nHere is the sorted list:") print(sorted(cars)) print("\nHere is the sorted list(reverse=True):") print(sorted(cars, reverse = True)) print("\nHere is the original list:") print(cars) pri...
19.647059
49
0.691617
51
334
4.529412
0.372549
0.116883
0.207792
0.194805
0.251082
0.251082
0.251082
0
0
0
0
0.003356
0.107784
334
16
50
20.875
0.771812
0.050898
0
0.25
0
0
0.357595
0
0
0
0
0
0
1
0
false
0
0
0
0
0.75
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
8c0b2ecd07ff56aed8b4c4fed5872eeadbff7f92
220
py
Python
raspberryio/userprofile/admin.py
cvautounix/raspberryio
f1cac1cef47bdcc6523e1870cfd89cf14326236b
[ "Apache-2.0" ]
113
2015-01-11T11:23:29.000Z
2022-03-31T23:56:53.000Z
raspberryio/userprofile/admin.py
cvautounix/raspberryio
f1cac1cef47bdcc6523e1870cfd89cf14326236b
[ "Apache-2.0" ]
3
2015-03-25T07:54:08.000Z
2018-07-12T09:55:33.000Z
raspberryio/userprofile/admin.py
cvautounix/raspberryio
f1cac1cef47bdcc6523e1870cfd89cf14326236b
[ "Apache-2.0" ]
28
2015-04-15T03:36:04.000Z
2022-01-23T06:32:30.000Z
from django.contrib import admin from raspberryio.userprofile import models as userprofile class ProfileAdmin(admin.ModelAdmin): model = userprofile.Profile admin.site.register(userprofile.Profile, ProfileAdmin)
22
57
0.822727
25
220
7.24
0.64
0.198895
0
0
0
0
0
0
0
0
0
0
0.113636
220
9
58
24.444444
0.928205
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.8
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
8c4d55084a3446770b9fd3d367dcc71d338e101e
37
py
Python
scripts/__init__.py
zc-play/face-model
4afb468b3a2ea6e7f3acdef3245d79852095da84
[ "Apache-2.0" ]
null
null
null
scripts/__init__.py
zc-play/face-model
4afb468b3a2ea6e7f3acdef3245d79852095da84
[ "Apache-2.0" ]
null
null
null
scripts/__init__.py
zc-play/face-model
4afb468b3a2ea6e7f3acdef3245d79852095da84
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 platform = 'windows'
12.333333
20
0.675676
5
37
5
1
0
0
0
0
0
0
0
0
0
0
0.032258
0.162162
37
2
21
18.5
0.774194
0.351351
0
0
0
0
0.318182
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
8c620a573bdea40047b6df84d59521decff64394
122
py
Python
search/urls.py
jennie6151/inwiththeold
5b9bfb91d754a8cff515e41cb9b8beb3a4c79669
[ "MIT" ]
null
null
null
search/urls.py
jennie6151/inwiththeold
5b9bfb91d754a8cff515e41cb9b8beb3a4c79669
[ "MIT" ]
11
2020-02-12T01:21:38.000Z
2022-01-13T01:31:56.000Z
search/urls.py
jennie6151/inwiththeold
5b9bfb91d754a8cff515e41cb9b8beb3a4c79669
[ "MIT" ]
1
2019-08-23T17:27:45.000Z
2019-08-23T17:27:45.000Z
from django.conf.urls import url from .views import do_search urlpatterns = [ url(r'^$', do_search, name='search'), ]
20.333333
41
0.696721
18
122
4.611111
0.666667
0.192771
0
0
0
0
0
0
0
0
0
0
0.155738
122
6
42
20.333333
0.805825
0
0
0
0
0
0.065041
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
8c6276dbe9b7f6d1ae531c6fa756bfaadc237f5e
171
py
Python
wsgi.py
themysticsavages/memebot9000
c45b2c7c50d1f92da90bc2074e8ffbc13e160312
[ "Apache-2.0" ]
null
null
null
wsgi.py
themysticsavages/memebot9000
c45b2c7c50d1f92da90bc2074e8ffbc13e160312
[ "Apache-2.0" ]
1
2021-11-29T17:59:23.000Z
2021-11-29T17:59:23.000Z
wsgi.py
themysticsavages/memebot9000
c45b2c7c50d1f92da90bc2074e8ffbc13e160312
[ "Apache-2.0" ]
null
null
null
from app import app import json if __name__ == '__main__': port = json.load(open('bot.config.json'))['web']['port'] app.run(threaded=True, port=port, host='0.0.0.0')
24.428571
58
0.666667
29
171
3.655172
0.62069
0.056604
0.056604
0
0
0
0
0
0
0
0
0.026667
0.122807
171
6
59
28.5
0.68
0
0
0
0
0
0.216374
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
4fb2bbab79a542d1d0e4f5eb132a42081e8e77d1
385,996
py
Python
Data/scigrid-de/pypower/scigrid_2011_01_04_20.py
thanever/SOC
9f30d1a9c7610a68de9c178a1170bdf1c8ca11d4
[ "MIT" ]
null
null
null
Data/scigrid-de/pypower/scigrid_2011_01_04_20.py
thanever/SOC
9f30d1a9c7610a68de9c178a1170bdf1c8ca11d4
[ "MIT" ]
null
null
null
Data/scigrid-de/pypower/scigrid_2011_01_04_20.py
thanever/SOC
9f30d1a9c7610a68de9c178a1170bdf1c8ca11d4
[ "MIT" ]
null
null
null
from numpy import array def scigrid_2011_01_04_20(): ppc = {"version": '2'} ppc["baseMVA"] = 100.0 ppc["bus"] = array([ [586, 3, 0, 0, 0, 0, 0, 1.0, 0, 220.0, 0, 1.1, 0.9 ], [589, 2, 0, 0, 0, 0, 0, 1.0, 0, 380.0, 0, 1.1, 0.9 ], [590, 2, 0, 0, 0, 0, 0, 1.0, 0, 380.0, 0, 1.1,...
70.514432
137
0.461344
73,707
385,996
2.415673
0.08162
0.198863
0.178043
0.184867
0.468476
0.467936
0.4497
0.438153
0.371431
0.370251
0
0.668658
0.313954
385,996
5,474
138
70.514432
0.003716
0
0
0.000913
0
0
0.00035
0
0
0
0
0
0
1
0.000183
false
0
0.000183
0
0.000548
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4fb31a4df38ac74ca881d4cdb273a65a2140b2bb
2,653
py
Python
core/base.py
lsx137946009/pawo
69cef1797fe1971d87c59cb8c5c167089fa66ecd
[ "MIT" ]
null
null
null
core/base.py
lsx137946009/pawo
69cef1797fe1971d87c59cb8c5c167089fa66ecd
[ "MIT" ]
null
null
null
core/base.py
lsx137946009/pawo
69cef1797fe1971d87c59cb8c5c167089fa66ecd
[ "MIT" ]
1
2019-05-08T05:50:13.000Z
2019-05-08T05:50:13.000Z
# -*- coding: utf-8 -*- """ Created on Fri Jun 12 14:20:34 2020 @author: sixingliu, yaruchen """ import pandas as pd import numpy as np #from pandas.core.indexes.numeric import (NumericIndex, Float64Index, # noqa # Int64Index, UInt64Index) #from pandas.core.indexes.datetimes import ...
21.395161
77
0.612514
282
2,653
5.652482
0.255319
0.07591
0.061481
0.065245
0.622961
0.497491
0.476161
0.476161
0.442911
0.442911
0
0.010287
0.303807
2,653
123
78
21.569106
0.852734
0.158311
0
0.727273
0
0
0.00361
0
0
0
0
0.00813
0
1
0.272727
false
0.012987
0.025974
0.142857
0.506494
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
0
0
0
3
4fcd0e7c5afdccc5ec247a388e26e5450b2b6d5c
1,399
py
Python
start.py
dreaming-coder/RadarSet
c912298d0d6058c6647986524e5d95a205b51c1d
[ "MIT" ]
null
null
null
start.py
dreaming-coder/RadarSet
c912298d0d6058c6647986524e5d95a205b51c1d
[ "MIT" ]
null
null
null
start.py
dreaming-coder/RadarSet
c912298d0d6058c6647986524e5d95a205b51c1d
[ "MIT" ]
null
null
null
from service.DatasetService import create_dataset_with_rainy_days, create_extrapolation_dataset from service.MeteorologyService import extract_meteorology, compute_rain_6_min from src.log import logger from service import filter_sequence from service.RadarService import extract_background_noise, extract_systematic_mask...
34.975
95
0.664761
153
1,399
5.771242
0.444444
0.0906
0.038505
0.04983
0.05889
0
0
0
0
0
0
0.00665
0.1401
1,399
39
96
35.871795
0.727348
0.493924
0
0
0
0
0.040757
0
0
0
0
0
0
1
0
true
0
0.6
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
4fdaa480a6376d91a793cde9d125c8c04b0183a7
814
py
Python
larq/snapshots/snap_quantized_variable_test.py
sfalkena/larq
5a66108c695d5df2dd7e06f8b25c73f26a1df35e
[ "Apache-2.0" ]
496
2019-07-12T14:31:39.000Z
2022-03-30T22:10:56.000Z
larq/snapshots/snap_quantized_variable_test.py
sfalkena/larq
5a66108c695d5df2dd7e06f8b25c73f26a1df35e
[ "Apache-2.0" ]
201
2019-07-12T22:29:51.000Z
2022-02-10T01:49:02.000Z
larq/snapshots/snap_quantized_variable_test.py
sfalkena/larq
5a66108c695d5df2dd7e06f8b25c73f26a1df35e
[ "Apache-2.0" ]
69
2019-07-29T03:07:26.000Z
2022-03-31T21:21:08.000Z
# -*- coding: utf-8 -*- # snapshottest: v1 - https://goo.gl/zC4yUc from __future__ import unicode_literals from snapshottest import Snapshot snapshots = Snapshot() snapshots['test_repr[eager] 1'] = "<QuantizedVariable 'x:0' shape=() dtype=float32 quantizer=<lambda> numpy=0.0>" snapshots['test_repr[eager] 2'] = "<Qu...
40.7
114
0.724816
107
814
5.411215
0.308411
0.134715
0.176166
0.248705
0.673575
0.673575
0.632124
0.531952
0.531952
0
0
0.047684
0.09828
814
19
115
42.842105
0.741144
0.076167
0
0
0
0.333333
0.70494
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
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
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
4fdd992164bb079d5b3c6c891fe595d4a129a97e
3,209
py
Python
app/models.py
Alvin-21/blog
6869f5e5d4a5373e8be81ea4610483417cbb540f
[ "Unlicense" ]
null
null
null
app/models.py
Alvin-21/blog
6869f5e5d4a5373e8be81ea4610483417cbb540f
[ "Unlicense" ]
null
null
null
app/models.py
Alvin-21/blog
6869f5e5d4a5373e8be81ea4610483417cbb540f
[ "Unlicense" ]
null
null
null
from . import db from werkzeug.security import generate_password_hash, check_password_hash from flask_login import UserMixin, current_user from . import login_manager from datetime import datetime @login_manager.user_loader def load_user(user_id): return User.query.get(int(user_id)) class User(db.Model, UserMixin...
27.663793
81
0.647865
411
3,209
4.919708
0.260341
0.06726
0.084075
0.063304
0.379822
0.328882
0.324926
0.294263
0.136499
0.051434
0
0.008492
0.229355
3,209
115
82
27.904348
0.809139
0.085073
0
0.253521
1
0
0.04918
0
0
0
0
0
0
1
0.183099
false
0.126761
0.070423
0.042254
0.690141
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
4fee0462c3675b53dc3dd213d6fa1b59a8cd9f3a
822
py
Python
src/lib/helper.py
Amorteza1376/quantum-computing-search-algorithms
cffaa568cbebe31cf62eff0e3b71c097803a81f5
[ "Apache-2.0" ]
1
2022-02-28T00:06:31.000Z
2022-02-28T00:06:31.000Z
src/lib/helper.py
AMorteza/Quantum-Computing-Search-Algorithms
cffaa568cbebe31cf62eff0e3b71c097803a81f5
[ "Apache-2.0" ]
null
null
null
src/lib/helper.py
AMorteza/Quantum-Computing-Search-Algorithms
cffaa568cbebe31cf62eff0e3b71c097803a81f5
[ "Apache-2.0" ]
null
null
null
"""Helper functions.""" import itertools import math from typing import List, Iterable, Tuple import numpy as np def bitprod(nbits: int) -> Iterable[int]: """Produce the iterable cartesian of nbits {0, 1}.""" for bits in itertools.product([0, 1], repeat=nbits): yield bits def bits2val(bits: List[int]) -> ...
28.344828
68
0.660584
139
822
3.906475
0.438849
0.01105
0.033149
0
0
0
0
0
0
0
0
0.028788
0.19708
822
29
69
28.344828
0.793939
0.434307
0
0
0
0
0.020362
0
0
0
0
0
0
1
0.272727
false
0
0.363636
0
0.818182
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
8b05d4b53372ac994de5191d489ba712448f03ae
395
py
Python
tests/test_get_python_version.py
LucaCappelletti94/setup_python_package
61b5f3cff1ed3181f932293c63c4fcb71cbe0062
[ "MIT" ]
5
2019-09-17T14:46:35.000Z
2020-06-06T08:17:02.000Z
tests/test_get_python_version.py
LucaCappelletti94/setup_python_package
61b5f3cff1ed3181f932293c63c4fcb71cbe0062
[ "MIT" ]
2
2020-12-18T01:47:55.000Z
2020-12-25T10:08:30.000Z
tests/test_get_python_version.py
LucaCappelletti94/setup_python_package
61b5f3cff1ed3181f932293c63c4fcb71cbe0062
[ "MIT" ]
null
null
null
from setup_python_package.queries import get_python_version from setup_python_package.utils import get_default_python_version def test_get_python_version(monkeypatch): monkeypatch.setattr('builtins.input', lambda x: "\n") assert get_python_version() == get_default_python_version() monkeypatch.setattr('bui...
43.888889
65
0.78481
56
395
5.196429
0.392857
0.268041
0.219931
0.151203
0.261168
0.261168
0
0
0
0
0
0.017045
0.108861
395
9
66
43.888889
0.809659
0
0
0
0
0
0.10101
0
0
0
0
0
0.285714
1
0.142857
false
0
0.285714
0
0.428571
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
8b0fb4bf96aa1d2ef2dee5eaea2522da4eeb3d18
3,057
py
Python
evmautomation/contracts/dripgardencontract.py
nightshift2k/evmautomation
987f454f729172c1d5fe086e44dcb60239a1b127
[ "MIT" ]
null
null
null
evmautomation/contracts/dripgardencontract.py
nightshift2k/evmautomation
987f454f729172c1d5fe086e44dcb60239a1b127
[ "MIT" ]
null
null
null
evmautomation/contracts/dripgardencontract.py
nightshift2k/evmautomation
987f454f729172c1d5fe086e44dcb60239a1b127
[ "MIT" ]
1
2022-03-24T00:19:47.000Z
2022-03-24T00:19:47.000Z
""" DRIP Garden Contract Subclass """ from math import floor from evmautomation.contracts import BscContract from evmautomation.defines.drip import DRIP_GARDEN_CONTRACT_ADDRESS, DRIP_GARDEN_ABI from evmautomation.defines.generic import NULL_ADDRESS class DripGardenContract(BscContract): """ Subclass for Web3 ...
36.831325
110
0.701668
377
3,057
5.33687
0.254642
0.039761
0.05169
0.050696
0.310636
0.240557
0.104374
0.045726
0
0
0
0.005824
0.213608
3,057
83
111
36.831325
0.831115
0.092902
0
0.041667
0
0
0.005201
0
0
0
0
0
0
1
0.270833
false
0
0.083333
0.145833
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
8cb5712f19cfd4e544d51c29279219e91b9b81ea
380
py
Python
aragog/errors.py
bramwelt/aragog
6d3fe562164581519bf8e876cff6f63dc9b66578
[ "Apache-2.0" ]
null
null
null
aragog/errors.py
bramwelt/aragog
6d3fe562164581519bf8e876cff6f63dc9b66578
[ "Apache-2.0" ]
null
null
null
aragog/errors.py
bramwelt/aragog
6d3fe562164581519bf8e876cff6f63dc9b66578
[ "Apache-2.0" ]
null
null
null
""" Client Error HTTP Status Callables """ def HTTP404(environ, start_response): """ HTTP 404 Response """ start_response('404 NOT FOUND', [('Content-Type', 'text/plain')]) return [''] def HTTP405(environ, start_response): """ HTTP 405 Response """ start_response('405 METHOD NOT ...
19
78
0.610526
42
380
5.428571
0.52381
0.22807
0.175439
0.210526
0.22807
0
0
0
0
0
0
0.060403
0.215789
380
19
79
20
0.704698
0.184211
0
0.333333
0
0
0.290441
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.666667
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
1
0
0
0
0
0
0
0
3
8cf3f699857174910b29d8a05de9e285173993d1
1,488
py
Python
soluciones/cajero/sistema/comandos.py
carlosviveros/Soluciones
115f4fa929c7854ca497e4c994352adc64565456
[ "MIT" ]
4
2021-12-14T23:51:25.000Z
2022-03-24T11:14:00.000Z
soluciones/cajero/sistema/comandos.py
leugimkm/Soluciones
d71601c8d9b5e86e926f48d9e49462af8a956b6d
[ "MIT" ]
null
null
null
soluciones/cajero/sistema/comandos.py
leugimkm/Soluciones
d71601c8d9b5e86e926f48d9e49462af8a956b6d
[ "MIT" ]
5
2021-11-10T06:49:50.000Z
2022-03-24T01:42:28.000Z
"""AyudaEnPython: https://www.facebook.com/groups/ayudapython """ from dataclasses import dataclass, field from .cuenta import Cuenta from .transaccion import Transaccion @dataclass class Depositar(Transaccion): cuenta: Cuenta monto: float @property def detalles(self) -> str: return f"${self...
24
66
0.637097
177
1,488
5.254237
0.220339
0.067742
0.083871
0.090323
0.563441
0.563441
0.505376
0.467742
0.36129
0.36129
0
0.002641
0.236559
1,488
62
67
24
0.816021
0.113575
0
0.487805
0
0
0.196034
0.035088
0
0
0
0
0
1
0.219512
false
0
0.073171
0.146341
0.682927
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
5066dfbcb8a57fbcb9b55d5c11f25aeb57fe3881
245
py
Python
accelerator/tests/test_legal_check.py
masschallenge/django-accelerator
8af898b574be3b8335edc8961924d1c6fa8b5fd5
[ "MIT" ]
6
2017-06-14T19:34:01.000Z
2020-03-08T07:16:59.000Z
accelerator/tests/test_legal_check.py
masschallenge/django-accelerator
8af898b574be3b8335edc8961924d1c6fa8b5fd5
[ "MIT" ]
160
2017-06-20T17:12:13.000Z
2022-03-30T13:53:12.000Z
accelerator/tests/test_legal_check.py
masschallenge/django-accelerator
8af898b574be3b8335edc8961924d1c6fa8b5fd5
[ "MIT" ]
null
null
null
from django.test import TestCase from accelerator.tests.factories import LegalCheckFactory class TestLegalCheck(TestCase): def test_str(self): legal_check = LegalCheckFactory() assert legal_check.name in str(legal_check)
22.272727
57
0.763265
29
245
6.310345
0.655172
0.163934
0
0
0
0
0
0
0
0
0
0
0.17551
245
10
58
24.5
0.905941
0
0
0
0
0
0
0
0
0
0
0
0.166667
1
0.166667
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
507b61489c2bb46d6dc915566412e20410484528
107
py
Python
src/greenbudget/conf/settings/admin.py
nickmflorin/django-proper-architecture-testing
da7c4019697e85f921695144375d2f548f1e98ad
[ "MIT" ]
null
null
null
src/greenbudget/conf/settings/admin.py
nickmflorin/django-proper-architecture-testing
da7c4019697e85f921695144375d2f548f1e98ad
[ "MIT" ]
null
null
null
src/greenbudget/conf/settings/admin.py
nickmflorin/django-proper-architecture-testing
da7c4019697e85f921695144375d2f548f1e98ad
[ "MIT" ]
null
null
null
ADMIN_SITE_HEADER = "Greenbudget Admin" ADMIN_SITE_TITLE = "Greenbudget" ADMIN_INDEX_TITLE = "Greenbudget"
26.75
39
0.82243
13
107
6.307692
0.461538
0.219512
0
0
0
0
0
0
0
0
0
0
0.093458
107
3
40
35.666667
0.845361
0
0
0
0
0
0.364486
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
508eaa70934d9e446868786f9234a59d63450517
531
py
Python
my-list-ex1.py
cmcbean/pynet_test
b2b95dc63080238e4f205b04c841d02e92f99802
[ "Apache-2.0" ]
null
null
null
my-list-ex1.py
cmcbean/pynet_test
b2b95dc63080238e4f205b04c841d02e92f99802
[ "Apache-2.0" ]
null
null
null
my-list-ex1.py
cmcbean/pynet_test
b2b95dc63080238e4f205b04c841d02e92f99802
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python ip_addr = raw_input("Please enter the IP Address: ") ip_addr2 = ip_addr.split(".") ip_addr2[-1] = 0 ip_binary = [] ip_binary.append(bin(int(ip_addr2[0]))) ip_binary.append(bin(int(ip_addr2[1]))) ip_binary.append(bin(int(ip_addr2[2]))) ip_binary.append(bin(int(ip_addr2[3]))) print print print ...
21.24
82
0.642185
88
531
3.693182
0.318182
0.110769
0.110769
0.209231
0.52
0.52
0.461538
0
0
0
0
0.085774
0.099812
531
24
83
22.125
0.594142
0.037665
0
0.352941
0
0
0.264706
0
0
0
0
0
0
0
null
null
0
0
null
null
0.529412
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
3
50a2bfdca5a97e7fa4da0ba3a0530f1c546c9e45
256
py
Python
statuscheck/services/sparkpost.py
amureki/statuscheck
caff92ef211f1fd2bf6c8a18ba8243eb434bc0df
[ "Apache-2.0" ]
35
2018-10-22T06:04:55.000Z
2022-02-01T10:20:00.000Z
statuscheck/services/sparkpost.py
amureki/statuscheck
caff92ef211f1fd2bf6c8a18ba8243eb434bc0df
[ "Apache-2.0" ]
209
2018-10-22T11:44:57.000Z
2022-03-31T04:02:37.000Z
statuscheck/services/sparkpost.py
amureki/statuscheck
caff92ef211f1fd2bf6c8a18ba8243eb434bc0df
[ "Apache-2.0" ]
2
2020-06-05T02:41:19.000Z
2020-09-03T07:03:46.000Z
from statuscheck.services.bases._statuspageio import BaseStatusPageAPI class ServiceAPI(BaseStatusPageAPI): name = "SparkPost" domain_id = "7ky1q6zd3fyp" status_url = "https://status.sparkpost.com/" service_url = "https://sparkpost.com/"
28.444444
70
0.746094
26
256
7.192308
0.730769
0.085562
0
0
0
0
0
0
0
0
0
0.018182
0.140625
256
8
71
32
0.831818
0
0
0
0
0
0.28125
0
0
0
0
0
0
1
0
false
0
0.166667
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
50ec61c7f869dc3491850899a2b24fd75db3fe63
54
py
Python
4/4.9/cube.py
singi2016cn/python-scaffold
274e508d1919da67e599aa73be139800c043bce4
[ "MIT" ]
null
null
null
4/4.9/cube.py
singi2016cn/python-scaffold
274e508d1919da67e599aa73be139800c043bce4
[ "MIT" ]
null
null
null
4/4.9/cube.py
singi2016cn/python-scaffold
274e508d1919da67e599aa73be139800c043bce4
[ "MIT" ]
null
null
null
# 立方 cube = [v**3 for v in range(1, 11)] print(cube)
10.8
35
0.574074
12
54
2.583333
0.833333
0
0
0
0
0
0
0
0
0
0
0.095238
0.222222
54
4
36
13.5
0.642857
0.037037
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
50fcfc9233fcf203053ad613e287f8d511b1c9b8
883
py
Python
estreamer/common/__init__.py
beirne-arcsight/fp-05-firepower-cef-connector-arcsight
8aa9a7c0ae6ed0e355d7b54c57527ccc9a64bde9
[ "Unlicense" ]
25
2018-10-08T15:05:15.000Z
2021-07-01T20:10:45.000Z
estreamer/common/__init__.py
beirne-arcsight/fp-05-firepower-cef-connector-arcsight
8aa9a7c0ae6ed0e355d7b54c57527ccc9a64bde9
[ "Unlicense" ]
19
2019-01-14T19:10:11.000Z
2021-12-15T07:31:47.000Z
estreamer/common/__init__.py
beirne-arcsight/fp-05-firepower-cef-connector-arcsight
8aa9a7c0ae6ed0e355d7b54c57527ccc9a64bde9
[ "Unlicense" ]
13
2018-10-08T15:56:06.000Z
2021-04-25T21:17:45.000Z
"""The common package contains general utils and classes which are project wide""" #******************************************************************** # File: __init__.py # Author: Sam Strachan # # Description: # common package # # Copyright (c) 2017 by Cisco Systems, Inc. # # ALL ...
38.391304
82
0.605889
95
883
5.589474
0.642105
0.097928
0.143126
0.06403
0
0
0
0
0
0
0
0.005571
0.186863
883
22
83
40.136364
0.733983
0.764439
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
0fa467240d656bacd00f9116e8a5c6600f6602d6
490
py
Python
backend/models.py
rushton3179/VideoOrganiser
a454209813331c07d873f2d97c9332b6e4d7a89c
[ "Unlicense" ]
1
2020-02-01T02:07:08.000Z
2020-02-01T02:07:08.000Z
backend/models.py
ryan-rushton/VideoOrganiser
a454209813331c07d873f2d97c9332b6e4d7a89c
[ "Unlicense" ]
null
null
null
backend/models.py
ryan-rushton/VideoOrganiser
a454209813331c07d873f2d97c9332b6e4d7a89c
[ "Unlicense" ]
null
null
null
from django.db import models # Create your models here. class Genre(models.Model): genre = models.TextField(primary_key=True) class TvShow(models.Model): title = models.TextField(primary_key=True) seasons = models.IntegerField() path = models.CharField(max_length=400) genre = models.ForeignKey(...
24.5
61
0.726531
64
490
5.5
0.4375
0.125
0.1875
0.213068
0.582386
0.5
0.5
0.5
0
0
0
0.007229
0.153061
490
19
62
25.789474
0.840964
0.04898
0
0.363636
0
0
0.021552
0
0
0
0
0
0
1
0
false
0
0.090909
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
0fbd9ee4f43f2480f16b628ff8db9f2ccc2d7ef9
173
py
Python
Chapter 07/ch7_2_28.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
Chapter 07/ch7_2_28.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
Chapter 07/ch7_2_28.py
bpbpublications/TEST-YOUR-SKILLS-IN-PYTHON-LANGUAGE
f6a4194684515495d00aa38347a725dd08f39a0c
[ "MIT" ]
null
null
null
def power(integer1, integer2=3): result = 1 for i in range(integer2): result = result * integer1 return result print(power(3)) print(power(3,2))
21.625
35
0.612717
24
173
4.416667
0.583333
0.188679
0.207547
0
0
0
0
0
0
0
0
0.071429
0.271676
173
8
36
21.625
0.769841
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0.285714
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
0fc34aad86ff2e427f997b9c50554cd8155cee5d
2,077
py
Python
dae/dae/configuration/schemas/annotation_conf.py
iossifovlab/gpf
e556243d29666179dbcb72859845b4d6c011af2b
[ "MIT" ]
null
null
null
dae/dae/configuration/schemas/annotation_conf.py
iossifovlab/gpf
e556243d29666179dbcb72859845b4d6c011af2b
[ "MIT" ]
82
2019-07-22T11:44:23.000Z
2022-01-13T15:27:33.000Z
dae/dae/configuration/schemas/annotation_conf.py
iossifovlab/gpf
e556243d29666179dbcb72859845b4d6c011af2b
[ "MIT" ]
null
null
null
from dae.configuration.gpf_config_parser import validate_path # TODO Add additional rules for specific option fields annotation_section_schema = { "annotator": {"type": "string"}, "options": { "type": "dict", "default": dict(), "schema": { "mode": {"type": "string"}, ...
31.469697
72
0.435243
161
2,077
5.47205
0.378882
0.192963
0.183882
0.23496
0.208854
0.208854
0.208854
0.208854
0.108967
0
0
0.000762
0.367838
2,077
65
73
31.953846
0.670221
0.173327
0
0.339623
0
0
0.282787
0
0
0
0
0.015385
0
1
0
false
0
0.018868
0
0.018868
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
0fdf9c8c86e877c46f4f40fcf4a22e0b959b2494
61
py
Python
tests/urls.py
suzutomato/django-neomodel
4398851be590ad9976f04aa0451cae08afac2878
[ "MIT" ]
null
null
null
tests/urls.py
suzutomato/django-neomodel
4398851be590ad9976f04aa0451cae08afac2878
[ "MIT" ]
null
null
null
tests/urls.py
suzutomato/django-neomodel
4398851be590ad9976f04aa0451cae08afac2878
[ "MIT" ]
1
2020-10-16T09:43:04.000Z
2020-10-16T09:43:04.000Z
from django.conf.urls import include, url urlpatterns = []
12.2
41
0.737705
8
61
5.625
1
0
0
0
0
0
0
0
0
0
0
0
0.163934
61
4
42
15.25
0.882353
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
0fe12a76417551325265f73296bcd5bc323bc4fa
816
py
Python
tests/test_text_layout.py
JonathanMurray/dialog-tree-py
b7ef5b24db1763eb06f3d75678ccc9025ab45cac
[ "MIT" ]
8
2020-08-27T19:02:16.000Z
2022-02-07T23:01:57.000Z
tests/test_text_layout.py
JonathanMurray/dialog-tree-py
b7ef5b24db1763eb06f3d75678ccc9025ab45cac
[ "MIT" ]
4
2020-08-27T16:02:44.000Z
2020-08-31T19:12:38.000Z
tests/test_text_layout.py
JonathanMurray/dialog-tree-py
b7ef5b24db1763eb06f3d75678ccc9025ab45cac
[ "MIT" ]
4
2020-09-21T22:51:43.000Z
2021-12-13T18:40:45.000Z
import text_util def test_simple(): assert list(text_util.layout_text_in_area("AB", len, 2)) == ["AB"] def test_word_boundaries(): assert list(text_util.layout_text_in_area("hello world", len, 8)) == ["hello ", "world"] def test_no_whitespace_at_start_of_line(): assert list(text_util.layout_text_in_ar...
30.222222
113
0.659314
125
816
4.032
0.344
0.095238
0.138889
0.178571
0.553571
0.553571
0.553571
0.553571
0.418651
0.345238
0
0.008942
0.177696
816
26
114
31.384615
0.742176
0
0
0
0
0
0.209559
0
0
0
0
0
0.5
1
0.3125
false
0
0.0625
0
0.375
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
1
0
1
0
0
0
0
0
0
0
3
0ffd654be5b666109c257ac0c74e8f0614d70b74
4,863
py
Python
src/seedsigner/models/seed_storage.py
eriknylund/seedsigner
59cff2fbd8a99355868f33dfa800d51bcce3ac3c
[ "MIT" ]
4
2022-02-13T14:03:53.000Z
2022-03-09T00:30:43.000Z
src/seedsigner/models/seed_storage.py
eriknylund/seedsigner
59cff2fbd8a99355868f33dfa800d51bcce3ac3c
[ "MIT" ]
4
2022-03-26T18:15:46.000Z
2022-03-26T18:20:45.000Z
src/seedsigner/models/seed_storage.py
newtonick/seedsigner
106f654504b9a61eaae6f72843f3adc197500b20
[ "MIT" ]
2
2022-02-13T14:46:58.000Z
2022-03-13T20:10:00.000Z
# External Dependencies from seedsigner.models import Seed class SeedStorage: def __init__(self) -> None: self.seeds = [] # to be removed once the concepts of slots is removed # this is a list of 3 indexes to the actual seed/mnemonic/passphrase data # -1 means the slot is empty self.slots = [-1,-1,-1] ...
26.71978
86
0.679005
774
4,863
4.111111
0.133075
0.090195
0.062854
0.105594
0.625079
0.565053
0.516656
0.479258
0.447517
0.406348
0
0.024297
0.19597
4,863
182
87
26.71978
0.789514
0.119268
0
0.491935
0
0
0.030211
0
0
0
0
0.005495
0
1
0.217742
false
0.177419
0.008065
0.040323
0.540323
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
ba0473a7684506332a2885daebbdf3eb0b0a5f1a
1,658
py
Python
data/transcoder_evaluation_gfg/python/SUBARRAYS_DISTINCT_ELEMENTS.py
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
241
2021-07-20T08:35:20.000Z
2022-03-31T02:39:08.000Z
data/transcoder_evaluation_gfg/python/SUBARRAYS_DISTINCT_ELEMENTS.py
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
49
2021-07-22T23:18:42.000Z
2022-03-24T09:15:26.000Z
data/transcoder_evaluation_gfg/python/SUBARRAYS_DISTINCT_ELEMENTS.py
mxl1n/CodeGen
e5101dd5c5e9c3720c70c80f78b18f13e118335a
[ "MIT" ]
71
2021-07-21T05:17:52.000Z
2022-03-29T23:49:28.000Z
# Copyright (c) 2019-present, Facebook, Inc. # All rights reserved. # # This source code is licensed under the license found in the # LICENSE file in the root directory of this source tree. # def f_gold ( arr , n ) : s = [ ] j = 0 ans = 0 for i in range ( n ) : while ( j < n and ( arr [ j ] not ...
42.512821
180
0.449337
331
1,658
2.199396
0.380665
0.104396
0.148352
0.186813
0.103022
0.103022
0.103022
0.103022
0.103022
0.103022
0
0.314734
0.308203
1,658
39
181
42.512821
0.319965
0.11158
0
0
0
0
0.016371
0
0
0
0
0
0
1
0.034483
false
0
0
0
0.068966
0.034483
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
ba078a78acac8e60df6d23c52ef631a3970d6f51
1,105
py
Python
tests/test_resolvers/test_environment_variable.py
dennisconrad/sceptre
d596500eb395489d889db476b8fcf4fa5753d563
[ "Apache-2.0" ]
493
2019-07-09T12:38:25.000Z
2022-03-30T19:13:33.000Z
tests/test_resolvers/test_environment_variable.py
dennisconrad/sceptre
d596500eb395489d889db476b8fcf4fa5753d563
[ "Apache-2.0" ]
407
2019-07-02T07:22:53.000Z
2022-03-29T17:35:00.000Z
tests/test_resolvers/test_environment_variable.py
dennisconrad/sceptre
d596500eb395489d889db476b8fcf4fa5753d563
[ "Apache-2.0" ]
108
2019-07-10T07:41:24.000Z
2022-03-05T21:43:09.000Z
# -*- coding: utf-8 -*- from mock import patch from sceptre.resolvers.environment_variable import EnvironmentVariable class TestEnvironmentVariableResolver(object): def setup_method(self, test_method): self.environment_variable_resolver = EnvironmentVariable( argument=None ) @p...
35.645161
70
0.743891
116
1,105
6.767241
0.318966
0.290446
0.205096
0.276433
0.403822
0.35414
0.244586
0.244586
0.168153
0.168153
0
0.001106
0.1819
1,105
30
71
36.833333
0.867257
0.019005
0
0.238095
0
0
0.073937
0.037893
0
0
0
0
0.142857
1
0.190476
false
0
0.095238
0
0.333333
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
ba084e8718cb6a401d81afbf932b24eb8e29ce93
1,017
py
Python
mysite/sec/models.py
viplav153/scanq-backend
da721133159d697acc914700c80789d21852ebfe
[ "MIT" ]
null
null
null
mysite/sec/models.py
viplav153/scanq-backend
da721133159d697acc914700c80789d21852ebfe
[ "MIT" ]
null
null
null
mysite/sec/models.py
viplav153/scanq-backend
da721133159d697acc914700c80789d21852ebfe
[ "MIT" ]
1
2020-03-30T16:25:33.000Z
2020-03-30T16:25:33.000Z
from django.db import models # from django.db.utils import timezone class extended_user(models.Model): user_code = models.CharField(max_length=6, null=True) teacher = models.NullBooleanField() def __str__(self): return self.user_code class teacher_user(models.Model): class_name = models.CharField(max_length=64...
33.9
63
0.794494
138
1,017
5.637681
0.289855
0.123393
0.138817
0.18509
0.539846
0.416452
0.308483
0.203085
0
0
0
0.016376
0.099312
1,017
30
64
33.9
0.832969
0.035398
0
0.130435
0
0
0
0
0
0
0
0
0
1
0.130435
false
0
0.043478
0.130435
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
ba1ce45c469b417e07215ff5b19fb85facf23141
98
py
Python
needl/adapters/__init__.py
NeuroWinter/Needl
4050f7a1de03760a295625dd834340115608699b
[ "MIT" ]
413
2016-11-17T15:50:28.000Z
2022-03-28T07:46:33.000Z
needl/adapters/__init__.py
NeuroWinter/Needl
4050f7a1de03760a295625dd834340115608699b
[ "MIT" ]
18
2016-11-18T00:40:49.000Z
2021-07-26T04:22:20.000Z
needl/adapters/__init__.py
NeuroWinter/Needl
4050f7a1de03760a295625dd834340115608699b
[ "MIT" ]
52
2016-11-17T23:06:31.000Z
2022-03-22T16:19:06.000Z
import requests from requests.packages.urllib3 import poolmanager __all__ = ( 'poolmanager' )
16.333333
49
0.77551
10
98
7.2
0.7
0
0
0
0
0
0
0
0
0
0
0.012048
0.153061
98
6
50
16.333333
0.855422
0
0
0
0
0
0.111111
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ba2a0801e7a2271b19a567d59aacd0a2b8ce6933
214
py
Python
src/lpcjobqueue/__init__.py
GageDeZoort/lpcjobqueue
fc0838fe0bc92ff555bee378ca54c08ffc61f6c0
[ "BSD-3-Clause" ]
null
null
null
src/lpcjobqueue/__init__.py
GageDeZoort/lpcjobqueue
fc0838fe0bc92ff555bee378ca54c08ffc61f6c0
[ "BSD-3-Clause" ]
null
null
null
src/lpcjobqueue/__init__.py
GageDeZoort/lpcjobqueue
fc0838fe0bc92ff555bee378ca54c08ffc61f6c0
[ "BSD-3-Clause" ]
null
null
null
"""A dask-jobqueue plugin for the LPC Condor queue """ from .cluster import LPCCondorCluster, LPCCondorJob from .version import version as __version__ __all__ = ["__version__", "LPCCondorJob", "LPCCondorCluster"]
30.571429
61
0.780374
24
214
6.458333
0.708333
0
0
0
0
0
0
0
0
0
0
0
0.121495
214
6
62
35.666667
0.824468
0.219626
0
0
0
0
0.24375
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
ba2ffe08b7381d8be4966146c184b01c9b3e6dbb
176
py
Python
LessonPlanComponents/ActivityType.py
qwoodmansee/LessonPlannerGenerator
957e7e21541dc6714f0f4c07290aecfe263c5145
[ "MIT" ]
1
2021-07-19T15:02:45.000Z
2021-07-19T15:02:45.000Z
LessonPlanComponents/ActivityType.py
qwoodmansee/LessonPlannerGenerator
957e7e21541dc6714f0f4c07290aecfe263c5145
[ "MIT" ]
null
null
null
LessonPlanComponents/ActivityType.py
qwoodmansee/LessonPlannerGenerator
957e7e21541dc6714f0f4c07290aecfe263c5145
[ "MIT" ]
1
2022-01-11T16:04:42.000Z
2022-01-11T16:04:42.000Z
__author__ = 'Quinton' from enum import Enum class ActivityType(Enum): NONE = 0 INITIAL_ACTIVITY = 1 MIDDLE_ACTIVITY = 2 REVIEW_ACTIVITY = 3 TRANSITION = 4
19.555556
25
0.6875
22
176
5.181818
0.818182
0
0
0
0
0
0
0
0
0
0
0.037879
0.25
176
8
26
22
0.825758
0
0
0
0
0
0.039773
0
0
0
0
0
0
1
0
false
0
0.125
0
0.875
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
e83d5be20fbe9bae7bc6bdf28f203b7ca03ef5d3
76
py
Python
bot/utils/embeds.py
ombe1229/JeongbalLunchBot
36765c269ef7a58f69b44bce6b6a00de168c6c77
[ "Apache-2.0" ]
1
2020-11-12T06:51:09.000Z
2020-11-12T06:51:09.000Z
bot/utils/embeds.py
ombe1229/JeongbalLunchBot
36765c269ef7a58f69b44bce6b6a00de168c6c77
[ "Apache-2.0" ]
null
null
null
bot/utils/embeds.py
ombe1229/JeongbalLunchBot
36765c269ef7a58f69b44bce6b6a00de168c6c77
[ "Apache-2.0" ]
null
null
null
from discord.embeds import Embed pleaseWait = Embed(title="정보를 불러오는 중..")
15.2
40
0.736842
11
76
5.090909
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.144737
76
4
41
19
0.861538
0
0
0
0
0
0.157895
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
e84ae00d66b1dda87cb16bcfda34fd1b5a326fa7
216
py
Python
netbox_prometheus_sd/api/serializers.py
feuri/netbox-plugin-prometheus-sd
0a294748541662cf0ce1dd87e2bc2462476312a4
[ "MIT" ]
null
null
null
netbox_prometheus_sd/api/serializers.py
feuri/netbox-plugin-prometheus-sd
0a294748541662cf0ce1dd87e2bc2462476312a4
[ "MIT" ]
null
null
null
netbox_prometheus_sd/api/serializers.py
feuri/netbox-plugin-prometheus-sd
0a294748541662cf0ce1dd87e2bc2462476312a4
[ "MIT" ]
null
null
null
from rest_framework import serializers class TargetSerializer(serializers.Serializer): targets = serializers.ListField(serializers.CharField()) labels = serializers.DictField(child=serializers.CharField())
30.857143
65
0.810185
20
216
8.7
0.7
0.229885
0
0
0
0
0
0
0
0
0
0
0.101852
216
6
66
36
0.896907
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
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
e860de1e4bc3f808410a957db35ef671cf457fb1
92,677
py
Python
src/event_detection.py
speedshi/MALMI
8e3f53a8c95e1f1306e3d6ddfd7356f85ec60df7
[ "MIT" ]
13
2021-08-13T00:35:25.000Z
2022-02-05T11:01:05.000Z
src/event_detection.py
speedshi/MALMI
8e3f53a8c95e1f1306e3d6ddfd7356f85ec60df7
[ "MIT" ]
null
null
null
src/event_detection.py
speedshi/MALMI
8e3f53a8c95e1f1306e3d6ddfd7356f85ec60df7
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Jul 22 16:45:23 2021 @author: Peidong SHI @email: speedshi@hotmail.com """ import os import h5py import datetime import numpy as np from ioformatting import vector2trace, output_seissegment import copy # define some common parameters that will be us...
71.344881
284
0.555888
10,790
92,677
4.620945
0.052456
0.038267
0.05359
0.066988
0.792499
0.750642
0.716085
0.675692
0.655696
0.623065
0
0.009388
0.347174
92,677
1,298
285
71.399846
0.814717
0.317479
0
0.517615
0
0
0.055314
0.003794
0
0
0
0
0.077236
1
0.004065
false
0
0.01084
0
0.01897
0.012195
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
e88a1f99840e21e688c916aee408845ead57c662
427
py
Python
Taller/ejercicio_17.py
Majito17/Trabajos-Majo
88a5c814365686747d843ca3ce56b7ae694c98cb
[ "MIT" ]
null
null
null
Taller/ejercicio_17.py
Majito17/Trabajos-Majo
88a5c814365686747d843ca3ce56b7ae694c98cb
[ "MIT" ]
null
null
null
Taller/ejercicio_17.py
Majito17/Trabajos-Majo
88a5c814365686747d843ca3ce56b7ae694c98cb
[ "MIT" ]
null
null
null
""" Datos de entrada Presupuesto-->p-->float Datos de Salida Presupuesto ginecologia-->g-->float Presupuesto traumatologiaa-->t-->float Presupuesto pediatria-->e-->float """ #entrada p=float(input("Digite el presupuesto Total: ")) #caja negra g=p*0.4 t=p*0.3 e=p*0.3 #salida print("El presupuesto dedicado a ginecologia:...
23.722222
52
0.737705
65
427
4.846154
0.4
0.165079
0.171429
0.247619
0.257143
0
0
0
0
0
0
0.015666
0.103045
427
18
53
23.722222
0.806789
0.442623
0
0
0
0
0.637555
0
0
0
0
0
0
1
0
false
0
0
0
0
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
e89675bdd0bf8a9dc2af3b0e7ab2ed143330854c
820
py
Python
rustplus/api/structures/rust_contents.py
clearsh0t/rustplus
b4489b96e65bb8862d30fb92eb7f15e690245a11
[ "MIT" ]
null
null
null
rustplus/api/structures/rust_contents.py
clearsh0t/rustplus
b4489b96e65bb8862d30fb92eb7f15e690245a11
[ "MIT" ]
null
null
null
rustplus/api/structures/rust_contents.py
clearsh0t/rustplus
b4489b96e65bb8862d30fb92eb7f15e690245a11
[ "MIT" ]
null
null
null
from datetime import timedelta from typing import List from .rust_item import RustItem class RustContents: def __init__(self, protection_time, has_protection, contents) -> None: self._protection_time: timedelta = protection_time self._has_protection: bool = has_protection self._contents: ...
28.275862
89
0.691463
90
820
5.955556
0.266667
0.182836
0.134328
0.100746
0.246269
0
0
0
0
0
0
0
0.220732
820
28
90
29.285714
0.838811
0
0
0.142857
0
0
0.078049
0.039024
0
0
0
0
0
1
0.238095
false
0
0.142857
0.190476
0.619048
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
e8a03c93d9355a9056713f405e7acd93379ddd98
9,188
py
Python
src/zn_poly-0.9/makemakefile.py
ph4r05/class-poly
8ca71f3f291767dd917bd53362edd6e57acd3baa
[ "BSD-3-Clause" ]
1
2020-09-08T09:58:12.000Z
2020-09-08T09:58:12.000Z
src/zn_poly-0.9/makemakefile.py
ph4r05/class-poly
8ca71f3f291767dd917bd53362edd6e57acd3baa
[ "BSD-3-Clause" ]
1
2020-09-19T14:57:30.000Z
2020-09-19T14:57:30.000Z
src/zn_poly-0.9/makemakefile.py
ph4r05/class-poly
8ca71f3f291767dd917bd53362edd6e57acd3baa
[ "BSD-3-Clause" ]
null
null
null
# # This python script is called by configure to generate the makefile # for zn_poly. # version = "0.9" # -------------------------------------------------------------------------- # various lists of modules # These are the modules that go into the actual zn_poly library. They get # compiled in both optimised and d...
32.238596
79
0.631585
1,335
9,188
4.21573
0.164045
0.074627
0.018124
0.012793
0.385217
0.299751
0.219083
0.165601
0.149431
0.130952
0
0.001722
0.178494
9,188
284
80
32.352113
0.743906
0.151502
0
0.287805
1
0.043902
0.440866
0.01327
0
0
0
0
0
0
null
null
0
0.009756
null
null
0.614634
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
1
0
0
0
0
0
0
1
0
3
e8c0bc65b8a7ffc8daac15e241c48130e027fba3
405
py
Python
JackDawTool/core/Configuration/ConfigBase.py
mustafmst/JackDaw-Tool
88c83b66f2e47c66cda6b54ce615692f4926af65
[ "MIT" ]
null
null
null
JackDawTool/core/Configuration/ConfigBase.py
mustafmst/JackDaw-Tool
88c83b66f2e47c66cda6b54ce615692f4926af65
[ "MIT" ]
1
2018-09-07T12:37:23.000Z
2018-09-08T07:37:59.000Z
JackDawTool/core/Configuration/ConfigBase.py
mustafmst/JackDaw-Tool
88c83b66f2e47c66cda6b54ce615692f4926af65
[ "MIT" ]
null
null
null
class ConfigBase: def __init__(self): self.zookeeper = "" self.brokers = "" self.topic = "" def __str__(self): return str(self.zookeeper + ";" + self.brokers + ";" + self.topic) def set_zookeeper(self, conf): self.zookeeper = conf def set_brokers(self, conf): ...
22.5
74
0.567901
46
405
4.76087
0.26087
0.178082
0.164384
0.219178
0.328767
0.328767
0.328767
0
0
0
0
0
0.303704
405
17
75
23.823529
0.776596
0
0
0
0
0
0.004938
0
0
0
0
0
0
1
0.384615
false
0
0
0.076923
0.538462
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
e8c95388dd16fda53d65e228bdbf30282245cf69
2,143
py
Python
gtd/models.py
jb1b84/Getting-Things-Done-with-Django
6b03fd077632f0c8df8240c51b66ec790a2c21fc
[ "MIT" ]
null
null
null
gtd/models.py
jb1b84/Getting-Things-Done-with-Django
6b03fd077632f0c8df8240c51b66ec790a2c21fc
[ "MIT" ]
null
null
null
gtd/models.py
jb1b84/Getting-Things-Done-with-Django
6b03fd077632f0c8df8240c51b66ec790a2c21fc
[ "MIT" ]
null
null
null
from django.db import models from django.template.defaultfilters import slugify from django.core.urlresolvers import reverse # Create your models here. class Page(models.Model): title = models.CharField(max_length=250) slug = models.SlugField(max_length=60, unique=True) created = models.DateTimeField(auto_...
31.985075
93
0.640224
257
2,143
5.198444
0.307393
0.052395
0.068862
0.077844
0.493263
0.404192
0.404192
0.404192
0.359281
0.359281
0
0.006811
0.246384
2,143
67
94
31.985075
0.820433
0.019599
0
0.217391
0
0
0.045281
0
0
0
0
0
0
1
0.217391
false
0
0.065217
0.152174
0.76087
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
2cde53aedae04530b3e9ddbc5b0a6dbc9d5ec0c0
331
py
Python
src/applications/web/app.py
kolesa-team/python-ms-skeleton
b0ac658a0539ce18bb4384f96dc7f7473e701111
[ "MIT" ]
null
null
null
src/applications/web/app.py
kolesa-team/python-ms-skeleton
b0ac658a0539ce18bb4384f96dc7f7473e701111
[ "MIT" ]
1
2021-06-01T22:48:10.000Z
2021-06-01T22:48:10.000Z
src/applications/web/app.py
kolesa-team/python-ms-skeleton
b0ac658a0539ce18bb4384f96dc7f7473e701111
[ "MIT" ]
1
2018-10-12T11:40:55.000Z
2018-10-12T11:40:55.000Z
from src.lib.application.webApp.webApp import WebApp as BaseWebApp from src.applications.web.env.Development import Development class WebApp(BaseWebApp): def isDevelopment(self): return type(self.getEnv()) == Development def getRoutes(self): return self.getEnv().getConfig()['web-app']...
30.090909
66
0.70997
39
331
6.025641
0.589744
0.059574
0
0
0
0
0
0
0
0
0
0
0.172205
331
10
67
33.1
0.857664
0
0
0
0
0
0.039275
0
0
0
0
0
0
1
0.285714
false
0
0.285714
0.285714
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
2cfb6ac2141ee3a7ed0b173c8efcffa758857286
346
py
Python
src/blobxfer/wrapper.py
pivotal-cf/service-backup-release
6ff5b73d82817dd4e77533cd2286b74c9ca4a519
[ "Apache-2.0" ]
1
2021-10-18T18:44:44.000Z
2021-10-18T18:44:44.000Z
src/blobxfer/wrapper.py
pivotal-cf/service-backup-release
6ff5b73d82817dd4e77533cd2286b74c9ca4a519
[ "Apache-2.0" ]
178
2017-06-05T15:10:03.000Z
2022-03-11T22:13:05.000Z
src/blobxfer/wrapper.py
pivotal-cf/service-backup-release
6ff5b73d82817dd4e77533cd2286b74c9ca4a519
[ "Apache-2.0" ]
2
2020-04-08T12:28:04.000Z
2021-02-05T10:55:50.000Z
#!/var/vcap/packages/service-backup_blobxfer/bin/python3 # -*- coding: utf-8 -*- import re import sys sys.path.append('/var/vcap/packages/service-backup_blobxfer/lib/python3.6/site-packages') from blobxfer_cli.cli import cli if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.arg...
24.714286
89
0.684971
53
346
4.264151
0.603774
0.061947
0.132743
0.19469
0.318584
0.318584
0
0
0
0
0
0.019417
0.106936
346
13
90
26.615385
0.711974
0.222543
0
0
0
0
0.378277
0.348315
0
0
0
0
0
1
0
true
0
0.428571
0
0.428571
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
3
fa15bb0ea4e774aa8d88477ccbf97860ab1c5a7f
1,100
py
Python
project_euler/problem_030/sol1.py
TeddyFirman/Algorithm_Python
edbd50a97a62c2beb2a187e4c411c677aa43115e
[ "MIT" ]
null
null
null
project_euler/problem_030/sol1.py
TeddyFirman/Algorithm_Python
edbd50a97a62c2beb2a187e4c411c677aa43115e
[ "MIT" ]
null
null
null
project_euler/problem_030/sol1.py
TeddyFirman/Algorithm_Python
edbd50a97a62c2beb2a187e4c411c677aa43115e
[ "MIT" ]
null
null
null
""" Problem Statement (Digit Fifth Power ): https://projecteuler.net/problem=30 Surprisingly there are only three numbers that can be written as the sum of fourth powers of their digits: 1634 = 1^4 + 6^4 + 3^4 + 4^4 8208 = 8^4 + 2^4 + 0^4 + 8^4 9474 = 9^4 + 4^4 + 7^4 + 4^4 As 1 = 1^4 is not a sum it is not in...
27.5
88
0.627273
206
1,100
3.31068
0.461165
0.017595
0.046921
0.046921
0.096774
0.096774
0.096774
0.096774
0.096774
0
0
0.157005
0.247273
1,100
39
89
28.205128
0.666667
0.712727
0
0
0
0
0.032
0
0
0
0
0
0
1
0.285714
false
0
0
0.142857
0.571429
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
0
0
1
1
0
0
3
fa39f3a572890db54602dba80fa771d26a1bbaf8
1,019
py
Python
lego/apps/companies/fields.py
andrinelo/lego
9b53c8fe538d9107b980a70e2a21fb487cc3b290
[ "MIT" ]
null
null
null
lego/apps/companies/fields.py
andrinelo/lego
9b53c8fe538d9107b980a70e2a21fb487cc3b290
[ "MIT" ]
null
null
null
lego/apps/companies/fields.py
andrinelo/lego
9b53c8fe538d9107b980a70e2a21fb487cc3b290
[ "MIT" ]
null
null
null
from rest_framework import serializers class SemesterField(serializers.PrimaryKeyRelatedField): def use_pk_only_optimization(self): return False def to_representation(self, value): from lego.apps.companies.serializers import SemesterSerializer serializer = SemesterSerializer(instance=...
31.84375
76
0.76055
98
1,019
7.77551
0.306122
0.129921
0.141732
0.153543
0.686352
0.643045
0.543307
0.543307
0.543307
0.543307
0
0
0.183513
1,019
31
77
32.870968
0.915865
0
0
0.545455
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.181818
0.136364
0.863636
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
fa66ec41d4409a2a3c0b4c4f486d8036d97acf99
92
py
Python
python/testData/inspections/PyMethodMayBeStaticInspection/classMethod.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2019-04-28T07:48:50.000Z
2020-12-11T14:18:08.000Z
python/testData/inspections/PyMethodMayBeStaticInspection/classMethod.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
173
2018-07-05T13:59:39.000Z
2018-08-09T01:12:03.000Z
python/testData/inspections/PyMethodMayBeStaticInspection/classMethod.py
truthiswill/intellij-community
fff88cfb0dc168eea18ecb745d3e5b93f57b0b95
[ "Apache-2.0" ]
2
2020-03-15T08:57:37.000Z
2020-04-07T04:48:14.000Z
__author__ = 'ktisha' class A(): @classmethod def my_method(cls): print 1
11.5
23
0.586957
11
92
4.454545
1
0
0
0
0
0
0
0
0
0
0
0.015625
0.304348
92
7
24
13.142857
0.75
0
0
0
0
0
0.065217
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
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
d71e91f580074faabe8da27d43bf9208ec7be6f4
562
py
Python
portal/mailservice/message.py
jamesprinc3/mad
1925ff527d919c720438c3cf4a8c51191e8706c8
[ "MIT" ]
4
2017-06-19T09:27:36.000Z
2017-08-23T21:24:14.000Z
portal/mailservice/message.py
jamesprinc3/mad
1925ff527d919c720438c3cf4a8c51191e8706c8
[ "MIT" ]
30
2017-06-18T15:35:39.000Z
2021-06-10T18:52:02.000Z
portal/mailservice/message.py
jamesprinc3/mad
1925ff527d919c720438c3cf4a8c51191e8706c8
[ "MIT" ]
13
2017-06-18T22:05:55.000Z
2018-09-15T14:28:56.000Z
from portal.config.messages import MAIL_TEMPLATE class Message: def __init__(self, student, subject, message): if not subject or not message: raise ValueError("Subject and message cannot be empty") self.__student = student self.__subject = subject self.__message = mess...
26.761905
72
0.670819
67
562
5.328358
0.462687
0.123249
0.095238
0
0
0
0
0
0
0
0
0
0.241993
562
20
73
28.1
0.838028
0
0
0
0
0
0.081851
0
0
0
0
0
0
1
0.285714
false
0
0.071429
0.214286
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d76c95d653d314e96b3d65ab8af414c740362f04
792
py
Python
05.py
brianfl/project-euler
9f83a3c2da04fd0801a4a575081add665edccd5f
[ "MIT" ]
null
null
null
05.py
brianfl/project-euler
9f83a3c2da04fd0801a4a575081add665edccd5f
[ "MIT" ]
null
null
null
05.py
brianfl/project-euler
9f83a3c2da04fd0801a4a575081add665edccd5f
[ "MIT" ]
null
null
null
''' Simpler to just do the math than iterating. Break each number from 1 to 20 into its prime components. The find the maximum times each unique prime occurs in any of the numbers. Include the prime that number of times. For instance, 9 is ( 3 * 3 ) and 18 is ( 3 * 3 * 2 ), both of which are the most number of times ...
36
101
0.667929
153
792
3.457516
0.51634
0.028355
0.030246
0.056711
0
0
0
0
0
0
0
0.100334
0.244949
792
22
102
36
0.784281
0.92298
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
1
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
0
0
0
1
0
3
d796a2c3aa340921aa710ecb22d8701058091bee
981
py
Python
tests/forms_tests/field_tests/test_slugfield.py
jpmallarino/django
659d2421c7adbbcd205604002d521d82d6b0b465
[ "BSD-3-Clause", "0BSD" ]
16
2019-08-10T12:24:06.000Z
2020-05-21T09:11:14.000Z
tests/forms_tests/field_tests/test_slugfield.py
jpmallarino/django
659d2421c7adbbcd205604002d521d82d6b0b465
[ "BSD-3-Clause", "0BSD" ]
12
2019-08-10T11:55:29.000Z
2020-05-21T04:46:30.000Z
tests/forms_tests/field_tests/test_slugfield.py
jpmallarino/django
659d2421c7adbbcd205604002d521d82d6b0b465
[ "BSD-3-Clause", "0BSD" ]
3
2019-08-20T13:29:34.000Z
2020-01-30T22:05:10.000Z
from django.forms import SlugField from django.test import SimpleTestCase class SlugFieldTest(SimpleTestCase): def test_slugfield_normalization(self): f = SlugField() self.assertEqual(f.clean(" aa-bb-cc "), "aa-bb-cc") def test_slugfield_unicode_normalization(self): f = SlugFiel...
36.333333
65
0.622834
123
981
4.894309
0.300813
0.119601
0.265781
0.348837
0
0
0
0
0
0
0
0.005168
0.211009
981
26
66
37.730769
0.77261
0
0
0
0
0
0.077472
0
0
0
0
0
0.545455
1
0.136364
false
0
0.090909
0
0.272727
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
3
ad1738ca2d0f3a73046d4bc67135ef65330c110b
2,878
py
Python
xwing_data/migrations/0016_auto_20170325_1807.py
sheepeatingtaz/xwingoverlayer
759007ea7cc8981fcbf87a395f8e9a61e8163f09
[ "MIT" ]
7
2017-03-28T21:11:16.000Z
2021-01-26T11:13:37.000Z
xwing_data/migrations/0016_auto_20170325_1807.py
sheepeatingtaz/xwingoverlayer
759007ea7cc8981fcbf87a395f8e9a61e8163f09
[ "MIT" ]
3
2017-06-01T23:12:40.000Z
2018-02-26T19:29:30.000Z
xwing_data/migrations/0016_auto_20170325_1807.py
sheepeatingtaz/xwingoverlayer
759007ea7cc8981fcbf87a395f8e9a61e8163f09
[ "MIT" ]
6
2017-06-05T18:26:24.000Z
2019-06-24T11:08:23.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-03-25 18:07 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import django.utils.timezone import model_utils.fields class Migration(migrations.Migration): dependencies = [ ('xwin...
42.955224
147
0.602849
279
2,878
6.075269
0.283154
0.063717
0.084956
0.092035
0.752212
0.752212
0.674336
0.674336
0.674336
0.674336
0
0.020321
0.264767
2,878
66
148
43.606061
0.780718
0.023628
0
0.610169
1
0
0.100107
0.023156
0
0
0
0
0
1
0
false
0
0.084746
0
0.135593
0
0
0
0
null
0
0
0
0
1
0
0
0
1
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
ad42fb5cbd9a52a061f2ed6ae4a8b8c14363450e
8,884
py
Python
dialogue-engine/test/programytest/rdf/test_creation.py
cotobadesign/cotoba-agent-oss
3833d56e79dcd7529c3e8b3a3a8a782d513d9b12
[ "MIT" ]
104
2020-03-30T09:40:00.000Z
2022-03-06T22:34:25.000Z
dialogue-engine/test/programytest/rdf/test_creation.py
cotobadesign/cotoba-agent-oss
3833d56e79dcd7529c3e8b3a3a8a782d513d9b12
[ "MIT" ]
25
2020-06-12T01:36:35.000Z
2022-02-19T07:30:44.000Z
dialogue-engine/test/programytest/rdf/test_creation.py
cotobadesign/cotoba-agent-oss
3833d56e79dcd7529c3e8b3a3a8a782d513d9b12
[ "MIT" ]
10
2020-04-02T23:43:56.000Z
2021-05-14T13:47:01.000Z
""" Copyright (c) 2020 COTOBA DESIGN, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distri...
45.096447
126
0.708577
954
8,884
6.437107
0.171908
0.112197
0.179775
0.202247
0.718124
0.673343
0.643055
0.60609
0.60609
0.60609
0
0.00608
0.166929
8,884
196
127
45.326531
0.823672
0.119541
0
0.625954
0
0
0.139365
0
0
0
0
0
0.519084
1
0.083969
false
0
0.053435
0
0.145038
0
0
0
0
null
0
0
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
1
0
0
0
0
0
0
0
0
0
3
ad59fdf457f0bb2624a1e20e0d105378e61c2891
991
py
Python
test_userData.py
mireille1999/Credential-Locker
fc7e8c9035a3d89c889ab7db603eec4ec3d62522
[ "Unlicense" ]
null
null
null
test_userData.py
mireille1999/Credential-Locker
fc7e8c9035a3d89c889ab7db603eec4ec3d62522
[ "Unlicense" ]
null
null
null
test_userData.py
mireille1999/Credential-Locker
fc7e8c9035a3d89c889ab7db603eec4ec3d62522
[ "Unlicense" ]
null
null
null
import unittest from userData import UserData class TestuserData(unittest.TestCase): def setUp(self): """ set up method """ self.new_user = UserData("cliff", "kasera", "ckasera@gmail.com", "Blankphrase", "lololo") def test_init(self): """ testing initialization...
26.783784
98
0.611504
105
991
5.571429
0.409524
0.083761
0.131624
0.188034
0.222222
0
0
0
0
0
0
0.001368
0.262361
991
36
99
27.527778
0.798906
0.081736
0
0
0
0
0.119951
0
0
0
0
0
0.333333
1
0.222222
false
0.055556
0.111111
0
0.388889
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
1
0
0
0
0
0
3
ad5cc3a951c6c4080c3a4a7065fce3c4cd1bb4ef
1,306
py
Python
tests/test_utils/graph_cases.py
LunaBlack/dgl
bd1e48a51e348b0e8e25622325adeb5ddea1c0ea
[ "Apache-2.0" ]
2
2021-12-09T12:36:13.000Z
2022-03-01T21:22:36.000Z
tests/test_utils/graph_cases.py
sherry-1001/dgl
60d2e7d3c928d43bbb18e7ab17c066451c49f649
[ "Apache-2.0" ]
null
null
null
tests/test_utils/graph_cases.py
sherry-1001/dgl
60d2e7d3c928d43bbb18e7ab17c066451c49f649
[ "Apache-2.0" ]
2
2020-12-07T09:34:01.000Z
2020-12-13T06:18:58.000Z
from collections import defaultdict import dgl import networkx as nx import scipy.sparse as ssp case_registry = defaultdict(list) def register_case(labels): def wrapper(fn): for lbl in labels: case_registry[lbl].append(fn) return fn return wrapper def get_cases(labels=None, exclud...
28.391304
90
0.646248
197
1,306
4.167513
0.304569
0.065773
0.065773
0.034105
0.211937
0.133983
0.133983
0.133983
0.077954
0
0
0.034516
0.201378
1,306
45
91
29.022222
0.752637
0.013017
0
0.057143
0
0
0.052836
0
0
0
0
0
0
1
0.257143
false
0
0.114286
0.171429
0.628571
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
ad5eacae753797cd88a95f9bfd6e4c6b56938e33
2,179
py
Python
sdk/python/pulumi_azure_nextgen/policyinsights/v20180701preview/__init__.py
pulumi/pulumi-azure-nextgen
452736b0a1cf584c2d4c04666e017af6e9b2c15c
[ "Apache-2.0" ]
31
2020-09-21T09:41:01.000Z
2021-02-26T13:21:59.000Z
sdk/python/pulumi_azure_nextgen/policyinsights/v20180701preview/__init__.py
pulumi/pulumi-azure-nextgen
452736b0a1cf584c2d4c04666e017af6e9b2c15c
[ "Apache-2.0" ]
231
2020-09-21T09:38:45.000Z
2021-03-01T11:16:03.000Z
sdk/python/pulumi_azure_nextgen/policyinsights/v20180701preview/__init__.py
pulumi/pulumi-azure-nextgen
452736b0a1cf584c2d4c04666e017af6e9b2c15c
[ "Apache-2.0" ]
4
2020-09-29T14:14:59.000Z
2021-02-10T20:38:16.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** # Export this package's modules as members: from .get_remediation_at_management_group import * from .get_remediation_at_resource import * from .get_rem...
44.469388
113
0.753098
234
2,179
6.760684
0.333333
0.082174
0.05689
0.132743
0.494943
0.391277
0.240202
0.151707
0.151707
0.151707
0
0.022639
0.168885
2,179
48
114
45.395833
0.850911
0.093162
0
0
1
0
0.180112
0.159817
0
0
0
0
0
1
0.085714
false
0
0.457143
0.028571
0.742857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
ad6e4a3f909c233f6d32118acc8c1fc87490543c
321
py
Python
f8a_tagger/collectors/__init__.py
pombredanne/fabric8-analytics-tagger
840bf07bfe209311bfe8cf762834854f54b8383f
[ "Apache-2.0" ]
9
2017-07-20T13:41:54.000Z
2020-12-13T15:04:17.000Z
f8a_tagger/collectors/__init__.py
pombredanne/fabric8-analytics-tagger
840bf07bfe209311bfe8cf762834854f54b8383f
[ "Apache-2.0" ]
110
2017-07-26T13:53:09.000Z
2021-12-13T19:50:49.000Z
f8a_tagger/collectors/__init__.py
pombredanne/fabric8-analytics-tagger
840bf07bfe209311bfe8cf762834854f54b8383f
[ "Apache-2.0" ]
11
2017-07-20T12:25:29.000Z
2020-04-16T14:02:50.000Z
"""Keywords collectors.""" from .base import CollectorBase from .maven import MavenCollector from .npm import NpmCollector from .pypi import PypiCollector from .stackoverflow import StackOverflowCollector assert CollectorBase assert MavenCollector assert NpmCollector assert PypiCollector assert StackOverflowCollector...
22.928571
49
0.856698
32
321
8.59375
0.46875
0
0
0
0
0
0
0
0
0
0
0
0.105919
321
13
50
24.692308
0.958188
0.062305
0
0
0
0
0
0
0
0
0
0
0.5
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
0
0
0
0
0
0
0
null
0
0
0
1
0
0
1
0
1
0
0
0
0
3
a8f05f92a79cfcfb878cb42480574cf0e0bffe6d
12,471
py
Python
backend/subq/tests.py
triippz-tech/TheraQ
e157b6dc482b7411845dfe28b4e50b1859002c9f
[ "MIT" ]
null
null
null
backend/subq/tests.py
triippz-tech/TheraQ
e157b6dc482b7411845dfe28b4e50b1859002c9f
[ "MIT" ]
null
null
null
backend/subq/tests.py
triippz-tech/TheraQ
e157b6dc482b7411845dfe28b4e50b1859002c9f
[ "MIT" ]
null
null
null
import json from django.contrib.auth import get_user_model from rest_framework import status from rest_framework.test import APIClient, APITestCase from accounts.serializers import IdUserSerializer from subq.models import SubQ, SubQFollower User = get_user_model() # Create your tests here. def create_user(**para...
43.152249
100
0.674204
1,557
12,471
5.209377
0.098266
0.086919
0.079892
0.058562
0.785846
0.744791
0.715571
0.690174
0.625817
0.624337
0
0.017105
0.19838
12,471
288
101
43.302083
0.794238
0.012028
0
0.404255
0
0
0.165205
0.080653
0
0
0
0
0.255319
1
0.110638
false
0.042553
0.025532
0.008511
0.165957
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
a8f63124f6479a6360b9b20b24d1a9f12a43c8bf
1,474
py
Python
resources/dot_PyCharm/system/python_stubs/-762174762/PySide/QtCore/QHistoryState.py
basepipe/developer_onboarding
05b6a776f8974c89517868131b201f11c6c2a5ad
[ "MIT" ]
1
2020-04-20T02:27:20.000Z
2020-04-20T02:27:20.000Z
resources/dot_PyCharm/system/python_stubs/cache/16012662ddca113c1f50140f9e0d3bd290a511015767475cf362e5267760f062/PySide/QtCore/QHistoryState.py
basepipe/developer_onboarding
05b6a776f8974c89517868131b201f11c6c2a5ad
[ "MIT" ]
null
null
null
resources/dot_PyCharm/system/python_stubs/cache/16012662ddca113c1f50140f9e0d3bd290a511015767475cf362e5267760f062/PySide/QtCore/QHistoryState.py
basepipe/developer_onboarding
05b6a776f8974c89517868131b201f11c6c2a5ad
[ "MIT" ]
null
null
null
# encoding: utf-8 # module PySide.QtCore # from C:\Python27\lib\site-packages\PySide\QtCore.pyd # by generator 1.147 # no doc # imports import Shiboken as __Shiboken from QAbstractState import QAbstractState class QHistoryState(QAbstractState): # no doc def defaultState(self, *args, **kwargs): # real signat...
29.48
106
0.679783
169
1,474
5.798817
0.384615
0.119388
0.183673
0.146939
0.433673
0.331633
0.331633
0.292857
0
0
0
0.018166
0.215739
1,474
49
107
30.081633
0.829585
0.401628
0
0.346154
0
0
0
0
0
0
0
0
0
1
0.346154
false
0.346154
0.076923
0
0.615385
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
3
d102dd8142f42a6b4102e077e73f7b2f73826e97
130
py
Python
products/models.py
denmasoft/denma-django-rest-api
eb5df7e3f9194377d482e116306d8f2c12d58ddc
[ "MIT" ]
null
null
null
products/models.py
denmasoft/denma-django-rest-api
eb5df7e3f9194377d482e116306d8f2c12d58ddc
[ "MIT" ]
6
2020-06-05T22:21:04.000Z
2022-02-10T09:33:34.000Z
products/models.py
denmasoft/denma-django-rest-api
eb5df7e3f9194377d482e116306d8f2c12d58ddc
[ "MIT" ]
null
null
null
from django.db import models # Create Movie Model class Product(models.Model): title = models.CharField(max_length=100)
13
44
0.738462
18
130
5.277778
0.833333
0
0
0
0
0
0
0
0
0
0
0.028037
0.176923
130
9
45
14.444444
0.859813
0.138462
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
d14f6538dcff13ba466e7d88737976b5501dda24
567
py
Python
semeval2020/factory_hub/model_factory.py
DavidRother/semeval2020-task1
715f82afb8b282669d59ff610b63714d19db4618
[ "MIT" ]
8
2020-12-02T23:18:59.000Z
2021-12-19T11:19:28.000Z
semeval2020/factory_hub/model_factory.py
DavidRother/semeval2020-task1
715f82afb8b282669d59ff610b63714d19db4618
[ "MIT" ]
1
2020-05-24T15:22:26.000Z
2020-05-25T08:08:07.000Z
semeval2020/factory_hub/model_factory.py
DavidRother/semeval2020-task1
715f82afb8b282669d59ff610b63714d19db4618
[ "MIT" ]
null
null
null
from abc import ABCMeta from typing import List, Dict from semeval2020.factory_hub import abstract_model __dispatcher: Dict[str, ABCMeta] = {} def create_model(method_name: str, **kwargs) -> abstract_model.AbstractModel: return __dispatcher[method_name](**kwargs) def get_selection() -> List[str]: return ...
25.772727
84
0.749559
74
567
5.432432
0.486486
0.124378
0.064677
0
0
0
0
0
0
0
0
0.008282
0.148148
567
21
85
27
0.824017
0
0
0
0
0
0.097002
0.042328
0
0
0
0
0
1
0.25
false
0
0.25
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
d16980983f60003c2851bc0939f2f321ebeaf0ee
284
py
Python
medicSearch/urls/ProfileUrls.py
robsonleal/medic_search
647ee95effd4206d7090ae7e7af1706686caf4ec
[ "MIT" ]
null
null
null
medicSearch/urls/ProfileUrls.py
robsonleal/medic_search
647ee95effd4206d7090ae7e7af1706686caf4ec
[ "MIT" ]
null
null
null
medicSearch/urls/ProfileUrls.py
robsonleal/medic_search
647ee95effd4206d7090ae7e7af1706686caf4ec
[ "MIT" ]
null
null
null
from django.urls import path from medicSearch.views.ProfileView import list_profile_view, edit_profile urlpatterns = [ path('', list_profile_view, name='profile'), path('<int:id>', list_profile_view, name='profile'), path('edit', edit_profile, name='edit-profile'), ]
35.5
73
0.721831
37
284
5.324324
0.432432
0.167513
0.228426
0.192893
0.304569
0.304569
0
0
0
0
0
0
0.133803
284
8
74
35.5
0.800813
0
0
0
0
0
0.133333
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d170958931d4c5906e624942bb9eae5a111aa8a1
14,414
py
Python
djangosige/apps/vendas/migrations/0001_initial.py
CTECHSUL/SG
0d4822b3826e015ad24690815bb9c52952431ea7
[ "MIT" ]
330
2017-07-03T08:41:24.000Z
2022-03-31T04:34:17.000Z
djangosige/apps/vendas/migrations/0001_initial.py
CTECHSUL/SG
0d4822b3826e015ad24690815bb9c52952431ea7
[ "MIT" ]
107
2017-07-03T22:21:35.000Z
2022-03-30T08:10:24.000Z
djangosige/apps/vendas/migrations/0001_initial.py
matfurrier/SIGEsistema
6b0072741809c5e5077d201862ea76d839161735
[ "MIT" ]
258
2017-06-27T20:11:46.000Z
2022-03-20T21:46:34.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2017-06-25 17:50 from __future__ import unicode_literals from decimal import Decimal import django.core.validators from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependen...
69.298077
173
0.555363
1,364
14,414
5.730205
0.145161
0.037871
0.047339
0.118987
0.743731
0.728378
0.654555
0.654555
0.647262
0.647262
0
0.028857
0.305189
14,414
207
174
69.63285
0.751573
0.004718
0
0.467337
1
0
0.119919
0.010737
0
0
0
0
0
1
0
false
0
0.030151
0
0.050251
0
0
0
0
null
0
0
0
0
1
0
0
0
1
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
66feb40f69fa872304b4aeaae2a37870e8750355
108
py
Python
data/commands/exit.py
T3Lakuna/Diplomat
1ca1adbb36b674c5e79a96b7a7a37c04a6928568
[ "MIT" ]
null
null
null
data/commands/exit.py
T3Lakuna/Diplomat
1ca1adbb36b674c5e79a96b7a7a37c04a6928568
[ "MIT" ]
null
null
null
data/commands/exit.py
T3Lakuna/Diplomat
1ca1adbb36b674c5e79a96b7a7a37c04a6928568
[ "MIT" ]
null
null
null
name = 'exit' usage = 'EXIT' description = 'Exits Diplomat.' def execute(query): return 'Exiting Diplomat.'
21.6
31
0.712963
13
108
5.923077
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.138889
108
5
32
21.6
0.827957
0
0
0
0
0
0.366972
0
0
0
0
0
0
1
0.2
false
0
0
0.2
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
0
1
0
0
0
3
0f17a2141e21af2e407fd57b69d49596eb6cb10f
1,420
py
Python
users/urls.py
fhb93/INF1407-2021.2-T2
425fd7654d826cb754023b42b4cbeccffb3e2af6
[ "MIT" ]
null
null
null
users/urls.py
fhb93/INF1407-2021.2-T2
425fd7654d826cb754023b42b4cbeccffb3e2af6
[ "MIT" ]
null
null
null
users/urls.py
fhb93/INF1407-2021.2-T2
425fd7654d826cb754023b42b4cbeccffb3e2af6
[ "MIT" ]
null
null
null
''' Created on Nov 19, 2021 @author: felipe ''' from django.contrib.auth.views import LoginView, LogoutView, PasswordChangeView, PasswordChangeDoneView from django.urls.base import reverse_lazy from django.urls.conf import path, include import games from users import views from games.views import GameListView app...
39.444444
187
0.700704
167
1,420
5.838323
0.371257
0.043077
0.030769
0.055385
0.154872
0.075897
0.075897
0
0
0
0
0.004862
0.130986
1,420
36
188
39.444444
0.785251
0.726761
0
0
0
0
0.013699
0
0
0
0
0
0
1
0
false
0.111111
0.666667
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
0f1854f8dddc6c4df2e4f2a8775d5bbfa402844c
201
py
Python
backend/todoList/api/v1/serializers.py
crowdbotics-apps/basic-todo-app-28878
c84718ed616ec508eeb948caa78413f964f560b6
[ "FTL", "AML", "RSA-MD" ]
null
null
null
backend/todoList/api/v1/serializers.py
crowdbotics-apps/basic-todo-app-28878
c84718ed616ec508eeb948caa78413f964f560b6
[ "FTL", "AML", "RSA-MD" ]
null
null
null
backend/todoList/api/v1/serializers.py
crowdbotics-apps/basic-todo-app-28878
c84718ed616ec508eeb948caa78413f964f560b6
[ "FTL", "AML", "RSA-MD" ]
null
null
null
from rest_framework import serializers from todoList.models import ToDoItem class ToDoItemSerializer(serializers.ModelSerializer): class Meta: model = ToDoItem fields = "__all__"
22.333333
54
0.751244
20
201
7.3
0.75
0
0
0
0
0
0
0
0
0
0
0
0.199005
201
8
55
25.125
0.906832
0
0
0
0
0
0.034826
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0f2b097867a04c3b379a22c78c077267e60d377d
293
py
Python
src/yellowdog_client/model/compute_requirement_supported_operations.py
yellowdog/yellowdog-sdk-python-public
da69a7d6e45c92933e34fefcaef8b5d98dcd6036
[ "Apache-2.0" ]
null
null
null
src/yellowdog_client/model/compute_requirement_supported_operations.py
yellowdog/yellowdog-sdk-python-public
da69a7d6e45c92933e34fefcaef8b5d98dcd6036
[ "Apache-2.0" ]
null
null
null
src/yellowdog_client/model/compute_requirement_supported_operations.py
yellowdog/yellowdog-sdk-python-public
da69a7d6e45c92933e34fefcaef8b5d98dcd6036
[ "Apache-2.0" ]
null
null
null
from dataclasses import dataclass @dataclass class ComputeRequirementSupportedOperations: """Describes operations supported by a Compute Requirement based the traits of its compute sources.""" canStopStart: bool = False canScaleOut: bool = False canReprovision: bool = False
29.3
106
0.774744
30
293
7.566667
0.8
0.118943
0
0
0
0
0
0
0
0
0
0
0.174061
293
9
107
32.555556
0.938017
0.327645
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
0f40e84068af7f66c767fa9956e9439d1cb0d39d
207
py
Python
learningprogress/accounts/apps.py
normanjaeckel/LearningProgress
b975dd71fd4de94983e4a7eb6f0c7036613e34c5
[ "MIT" ]
null
null
null
learningprogress/accounts/apps.py
normanjaeckel/LearningProgress
b975dd71fd4de94983e4a7eb6f0c7036613e34c5
[ "MIT" ]
null
null
null
learningprogress/accounts/apps.py
normanjaeckel/LearningProgress
b975dd71fd4de94983e4a7eb6f0c7036613e34c5
[ "MIT" ]
null
null
null
from django.apps import AppConfig from django.utils.translation import ugettext_lazy class AccountsAppConfig(AppConfig): name = 'learningprogress.accounts' verbose_name = ugettext_lazy('Accounts')
25.875
50
0.801932
23
207
7.086957
0.652174
0.122699
0
0
0
0
0
0
0
0
0
0
0.125604
207
7
51
29.571429
0.900552
0
0
0
0
0
0.15942
0.120773
0
0
0
0
0
1
0
false
0
0.4
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
0f665e5faae629088b9b038991ed6544333e8308
166
py
Python
checkpyversion.py
daltschu22/crawlinator
0f73087b65da65ed42505d2828787b684955ade7
[ "MIT" ]
2
2018-10-01T15:44:20.000Z
2018-10-17T16:50:01.000Z
checkpyversion.py
daltschu22/crawlinator
0f73087b65da65ed42505d2828787b684955ade7
[ "MIT" ]
4
2018-12-15T01:38:45.000Z
2019-01-22T15:33:01.000Z
checkpyversion.py
daltschu22/crawlinator
0f73087b65da65ed42505d2828787b684955ade7
[ "MIT" ]
1
2018-10-01T15:49:29.000Z
2018-10-01T15:49:29.000Z
import sys def check_py_version(): if sys.version_info <= (3, 0): sys.stdout.write("Sorry, requires Python 3.x, not Python 2.x\n") sys.exit(1)
33.2
73
0.614458
28
166
3.535714
0.75
0
0
0
0
0
0
0
0
0
0
0.039683
0.240964
166
5
74
33.2
0.746032
0
0
0
0
0
0.269939
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
0f6bc2d31c2e2c5be00506e14b3b3d8f926966a7
31
py
Python
tres.py
coordinadorcalidad/prueba-publica
ea4ac02889562ab58a0da765c3bccfb96593658c
[ "Unlicense" ]
null
null
null
tres.py
coordinadorcalidad/prueba-publica
ea4ac02889562ab58a0da765c3bccfb96593658c
[ "Unlicense" ]
null
null
null
tres.py
coordinadorcalidad/prueba-publica
ea4ac02889562ab58a0da765c3bccfb96593658c
[ "Unlicense" ]
null
null
null
#tres c = int(input("numero"))
10.333333
24
0.612903
5
31
3.8
1
0
0
0
0
0
0
0
0
0
0
0
0.129032
31
2
25
15.5
0.703704
0.129032
0
0
0
0
0.230769
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0f8415b4e220171ed9e567c825ad13207b08e1b4
412
py
Python
pybtooth/constants.py
elParaguayo/pybtooth
d74155f5fddbfcf7fbf6795f31ea8e22ad68b576
[ "MIT" ]
2
2018-04-28T08:30:37.000Z
2018-06-30T23:55:08.000Z
pybtooth/constants.py
Pybias/pybtooth
d74155f5fddbfcf7fbf6795f31ea8e22ad68b576
[ "MIT" ]
null
null
null
pybtooth/constants.py
Pybias/pybtooth
d74155f5fddbfcf7fbf6795f31ea8e22ad68b576
[ "MIT" ]
1
2020-11-12T20:40:25.000Z
2020-11-12T20:40:25.000Z
SERVICE_NAME = "org.bluez" AGENT_IFACE = SERVICE_NAME + '.Agent1' ADAPTER_IFACE = SERVICE_NAME + ".Adapter1" DEVICE_IFACE = SERVICE_NAME + ".Device1" PLAYER_IFACE = SERVICE_NAME + '.MediaPlayer1' TRANSPORT_IFACE = SERVICE_NAME + '.MediaTransport1' OBJECT_IFACE = "org.freedesktop.DBus.ObjectManager" PROPERTIES_IFACE =...
37.454545
56
0.791262
47
412
6.638298
0.468085
0.211538
0.25641
0.221154
0
0
0
0
0
0
0
0.013405
0.09466
412
10
57
41.2
0.823056
0
0
0
0
0
0.393204
0.242718
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0f8d22464426a269f4243e4ad0a956e910e84912
27
py
Python
pyskel/__init__.py
cmarqu/pyskel
5c12648c429dc93a94dd90ae068ae5e35356a036
[ "MIT" ]
97
2015-01-15T15:59:19.000Z
2022-03-12T11:22:37.000Z
pyskel/__init__.py
cmarqu/pyskel
5c12648c429dc93a94dd90ae068ae5e35356a036
[ "MIT" ]
2
2015-03-27T01:59:42.000Z
2016-07-03T15:41:19.000Z
pyskel/__init__.py
cmarqu/pyskel
5c12648c429dc93a94dd90ae068ae5e35356a036
[ "MIT" ]
28
2015-01-23T17:14:52.000Z
2021-07-19T20:36:32.000Z
# pyskel has_legs = False
6.75
16
0.703704
4
27
4.5
1
0
0
0
0
0
0
0
0
0
0
0
0.222222
27
3
17
9
0.857143
0.222222
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0f8f8ec855df64d5f3931af473c48473988b7952
27
py
Python
app/api/utils.py
lq411122/fast-methods
0bca39c37abc4c9dac9a194e635641848c128b1b
[ "MIT" ]
null
null
null
app/api/utils.py
lq411122/fast-methods
0bca39c37abc4c9dac9a194e635641848c128b1b
[ "MIT" ]
null
null
null
app/api/utils.py
lq411122/fast-methods
0bca39c37abc4c9dac9a194e635641848c128b1b
[ "MIT" ]
null
null
null
per_page = 10 # 分页/每页数据条数
13.5
26
0.666667
5
27
3.4
1
0
0
0
0
0
0
0
0
0
0
0.095238
0.222222
27
1
27
27
0.714286
0.333333
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7e2ff47e416a850eee709bfae5d2f2e93da0e794
581
py
Python
activityio/srm/__init__.py
moritzhoferer/activityio
c24526d967a6de535c60f29846f17f81bf8fdfaf
[ "MIT" ]
11
2018-05-07T09:56:15.000Z
2020-12-20T16:47:01.000Z
activityio/srm/__init__.py
moritzhoferer/activityio
c24526d967a6de535c60f29846f17f81bf8fdfaf
[ "MIT" ]
null
null
null
activityio/srm/__init__.py
moritzhoferer/activityio
c24526d967a6de535c60f29846f17f81bf8fdfaf
[ "MIT" ]
5
2018-11-08T14:13:31.000Z
2020-12-27T20:42:56.000Z
""" Decode Schoberer Rad Messtechnik (SRM) power files. This code was adapted largely from the GoldenCheetah code base [1]_. Rainer Clasen [2]_, developer of the `srmio` utility, was also kind enough to provide a file format specification. This specification, though incomplete, can be found in 'references' at the roo...
34.176471
92
0.781411
85
581
5.258824
0.717647
0.049217
0.06264
0.107383
0.134228
0
0
0
0
0
0
0.00789
0.127367
581
16
93
36.3125
0.873767
0.796902
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
7e4bc2d93632449eaba9cfc6d93a750226ca8758
175
py
Python
TauAnalysis/MCEmbeddingTools/python/DYToMuMuGenFilter_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
TauAnalysis/MCEmbeddingTools/python/DYToMuMuGenFilter_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
TauAnalysis/MCEmbeddingTools/python/DYToMuMuGenFilter_cfi.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms dYToMuMuGenFilter = cms.EDFilter("DYToMuMuGenFilter", inputTag = cms.InputTag("prunedGenParticles"))
29.166667
76
0.668571
14
175
8.357143
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.245714
175
5
77
35
0.886364
0
0
0
0
0
0.2
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
7e4e1bc898f130821c5c96ec120f24bba79f3cdc
351
py
Python
noise_pendulum.py
ssantos97/SyMo
58d7b64f888fd78cc27d4c1092071ef35725f0d4
[ "MIT" ]
null
null
null
noise_pendulum.py
ssantos97/SyMo
58d7b64f888fd78cc27d4c1092071ef35725f0d4
[ "MIT" ]
null
null
null
noise_pendulum.py
ssantos97/SyMo
58d7b64f888fd78cc27d4c1092071ef35725f0d4
[ "MIT" ]
null
null
null
#%% import numpy as np import matplotlib.pyplot as plt import os, sys import argparse import torch from Code.Utils import from_pickle from Code.models import pendulum from Code.integrate_models import implicit_integration_DEL, integrate_ODE from Code.symo import SyMo_T from Code.NN import LODE_T, NODE_T from Code.mode...
23.4
73
0.831909
58
351
4.87931
0.5
0.169611
0.09894
0.141343
0
0
0
0
0
0
0
0
0.128205
351
14
74
25.071429
0.924837
0.005698
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
7e99d488539c1b337dde7739ef697d06461b9004
975
py
Python
tests/unit/test_isp_bad.py
schuna/design-patterns-python
3798e6c418bcbc224e57dd6b95ef03046729e9d2
[ "MIT" ]
null
null
null
tests/unit/test_isp_bad.py
schuna/design-patterns-python
3798e6c418bcbc224e57dd6b95ef03046729e9d2
[ "MIT" ]
null
null
null
tests/unit/test_isp_bad.py
schuna/design-patterns-python
3798e6c418bcbc224e57dd6b95ef03046729e9d2
[ "MIT" ]
null
null
null
from unittest import TestCase from design_patterns.solid.isp.printer_bad import MultiFunctionPrinter, OldFashionedPrinter class TestMultiFunctionPrinter(TestCase): def setUp(self) -> None: self.printer = MultiFunctionPrinter() def test_print(self): self.assertEqual("print document", self.pri...
29.545455
91
0.700513
106
975
6.367925
0.264151
0.13037
0.140741
0.059259
0.533333
0.533333
0.533333
0.42963
0.42963
0.42963
0
0
0.180513
975
32
92
30.46875
0.844806
0
0
0.571429
0
0
0.115897
0
0
0
0
0
0.285714
1
0.380952
false
0
0.095238
0
0.571429
0.52381
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
0
1
1
0
3
0e2267a34892e88836a51086ba82b4c2c8654882
173
py
Python
chipy_org/apps/about/urls.py
smandekar1/chipy.org
d70c6936a389d3e8b7c3530360f08d01aa4fa7f3
[ "MIT" ]
null
null
null
chipy_org/apps/about/urls.py
smandekar1/chipy.org
d70c6936a389d3e8b7c3530360f08d01aa4fa7f3
[ "MIT" ]
null
null
null
chipy_org/apps/about/urls.py
smandekar1/chipy.org
d70c6936a389d3e8b7c3530360f08d01aa4fa7f3
[ "MIT" ]
null
null
null
from django.conf.urls import url from django.contrib.flatpages.views import flatpage urlpatterns = [ url(r"^$", flatpage, {'url': '/about/'}, name='about'), ]
19.222222
51
0.647399
21
173
5.333333
0.666667
0.178571
0
0
0
0
0
0
0
0
0
0
0.179191
173
8
52
21.625
0.788732
0
0
0
0
0
0.098266
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
0e44f60b813b02c2234a7d484f45dfc622ef4779
876
py
Python
src/backend/backend/restaurants/models.py
jordimart/findmenu-ng-django
14606889f8b8a1aeb49c87128de6efe084377365
[ "MIT" ]
null
null
null
src/backend/backend/restaurants/models.py
jordimart/findmenu-ng-django
14606889f8b8a1aeb49c87128de6efe084377365
[ "MIT" ]
null
null
null
src/backend/backend/restaurants/models.py
jordimart/findmenu-ng-django
14606889f8b8a1aeb49c87128de6efe084377365
[ "MIT" ]
null
null
null
from django.db import models from ..authentication.models import User class Restaurant(models.Model): # author = models.ForeignKey(User) name = models.CharField(max_length=100) image = models.CharField(max_length=300) city = models.CharField(max_length=50) lat = models.FloatField(default=0) lo...
32.444444
58
0.731735
110
876
5.681818
0.454545
0.1024
0.2208
0.2304
0.3152
0
0
0
0
0
0
0.027137
0.158676
876
26
59
33.692308
0.820896
0.03653
0
0
0
0
0.003576
0
0
0
0
0
0
1
0.052632
false
0
0.105263
0.052632
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
0e4edddcf63a09b77c6137a7110e3bccfad0e83f
224
py
Python
tests/simple_page/test_link.py
kejkz/webium
ccb09876a201e75f5c5810392d4db7a8708b90cb
[ "Apache-2.0" ]
152
2015-01-16T11:26:56.000Z
2022-01-22T12:11:28.000Z
tests/simple_page/test_link.py
goblinintree/webium
ccb09876a201e75f5c5810392d4db7a8708b90cb
[ "Apache-2.0" ]
13
2015-03-05T14:36:44.000Z
2018-08-08T09:43:39.000Z
tests/simple_page/test_link.py
goblinintree/webium
ccb09876a201e75f5c5810392d4db7a8708b90cb
[ "Apache-2.0" ]
57
2015-01-27T12:53:49.000Z
2022-03-26T23:02:36.000Z
from nose.tools import eq_ from tests import get_url from tests.simple_page import SimplePageTest class TestClick(SimplePageTest): def test_link(self): eq_(self.page.icon_link.get_href(), get_url('icon.gif'))
22.4
64
0.758929
34
224
4.764706
0.588235
0.111111
0
0
0
0
0
0
0
0
0
0
0.147321
224
9
65
24.888889
0.848168
0
0
0
0
0
0.035714
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
0e525073c3bad278d28cae3b9439f54774893341
773
py
Python
classes.py
Chrus3/PythonTest
4e54453481311bb46bc9d769f464b824ae92c589
[ "MIT" ]
null
null
null
classes.py
Chrus3/PythonTest
4e54453481311bb46bc9d769f464b824ae92c589
[ "MIT" ]
null
null
null
classes.py
Chrus3/PythonTest
4e54453481311bb46bc9d769f464b824ae92c589
[ "MIT" ]
null
null
null
students = [] class Student: school_name = "Springfied Elementary" def __init__(self, name, student_id=332): self.name = name self.student_id = student_id students.append(self) def __str__(self): return "Student " + self.name def get_name_capitalize(self): r...
21.472222
54
0.672704
93
773
5.290323
0.311828
0.101626
0.138211
0.081301
0.203252
0.105691
0
0
0
0
0
0.005068
0.234153
773
36
55
21.472222
0.826014
0
0
0.181818
0
0
0.114987
0
0
0
0
0
0
1
0.272727
false
0
0
0.181818
0.681818
0.045455
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
0e5cb66f0df242c08069c62109eb0dc427dfd234
973
py
Python
spinqkit/backend/backend.py
SpinQTech/SpinQKit
2e24826688b2b26cf7efa66fd47f0e7ef883a96c
[ "Apache-2.0" ]
2
2021-12-20T05:19:44.000Z
2021-12-20T05:21:48.000Z
spinqkit/backend/backend.py
SpinQTech/SpinQKit
2e24826688b2b26cf7efa66fd47f0e7ef883a96c
[ "Apache-2.0" ]
null
null
null
spinqkit/backend/backend.py
SpinQTech/SpinQKit
2e24826688b2b26cf7efa66fd47f0e7ef883a96c
[ "Apache-2.0" ]
1
2021-12-20T05:20:35.000Z
2021-12-20T05:20:35.000Z
# Copyright 2021 SpinQ Technology Co., Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed ...
33.551724
74
0.783145
134
973
5.61194
0.61194
0.079787
0.034574
0.042553
0
0
0
0
0
0
0
0.009709
0.153135
973
29
75
33.551724
0.902913
0.578623
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.272727
0.272727
0.818182
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