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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
75583fd8e907a42d6c7f26f42dac565275d98762 | 85 | py | Python | csda/uterg/apps.py | zrhans/pythonanywhere | 1e9dc9a8ce59872f89e5c61a34b8b858a3cad0ee | [
"Apache-2.0"
] | null | null | null | csda/uterg/apps.py | zrhans/pythonanywhere | 1e9dc9a8ce59872f89e5c61a34b8b858a3cad0ee | [
"Apache-2.0"
] | null | null | null | csda/uterg/apps.py | zrhans/pythonanywhere | 1e9dc9a8ce59872f89e5c61a34b8b858a3cad0ee | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class UtergConfig(AppConfig):
name = 'uterg'
| 14.166667 | 33 | 0.741176 | 10 | 85 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 5 | 34 | 17 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 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 | 1 | 0 | 0 | 4 |
f32f5a869b9907a50c405a34dd0e11c08e2d8fa9 | 47 | py | Python | chalicelib/http.py | codeforanchorage/land_acknowledgement_lambda | 7104c4631832126dc5c3c6762a6930afa7e7ea42 | [
"MIT"
] | null | null | null | chalicelib/http.py | codeforanchorage/land_acknowledgement_lambda | 7104c4631832126dc5c3c6762a6930afa7e7ea42 | [
"MIT"
] | null | null | null | chalicelib/http.py | codeforanchorage/land_acknowledgement_lambda | 7104c4631832126dc5c3c6762a6930afa7e7ea42 | [
"MIT"
] | null | null | null | import urllib3
session = urllib3.PoolManager() | 15.666667 | 31 | 0.808511 | 5 | 47 | 7.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.106383 | 47 | 3 | 31 | 15.666667 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
f3443f36c4cf9c890f691cedbd4d9a7088a98412 | 186 | py | Python | Mains/Main11.py | Galieve/algebra_computacional | 2e60100de9d605cf65e90e677458264d9a923e2b | [
"MIT"
] | 1 | 2020-12-28T16:40:16.000Z | 2020-12-28T16:40:16.000Z | Mains/Main11.py | Galieve/algebra_computacional | 2e60100de9d605cf65e90e677458264d9a923e2b | [
"MIT"
] | null | null | null | Mains/Main11.py | Galieve/algebra_computacional | 2e60100de9d605cf65e90e677458264d9a923e2b | [
"MIT"
] | null | null | null | import Structures.Integers
Z = Structures.Integers.Integers()
for i in range(2, 100):
if Z.miller_rabin(i, 100):
print i, "es primo"
else:
print i, "no es primo" | 23.25 | 34 | 0.629032 | 29 | 186 | 4 | 0.62069 | 0.310345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05036 | 0.252688 | 186 | 8 | 35 | 23.25 | 0.784173 | 0 | 0 | 0 | 0 | 0 | 0.101604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | null | null | 0.285714 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f344f46ab49a8e83861cc9e9da71f121de3b3f63 | 95 | py | Python | obfuscator/apps.py | oesah/django-db-obfuscator | 12e95c93a24f5111f3a322f7cb8bab4e4f2e0050 | [
"MIT"
] | 1 | 2020-03-09T22:20:54.000Z | 2020-03-09T22:20:54.000Z | obfuscator/apps.py | oesah/django-db-obfuscator | 12e95c93a24f5111f3a322f7cb8bab4e4f2e0050 | [
"MIT"
] | null | null | null | obfuscator/apps.py | oesah/django-db-obfuscator | 12e95c93a24f5111f3a322f7cb8bab4e4f2e0050 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ObfuscatorConfig(AppConfig):
name = 'obfuscator'
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 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 | 1 | 0 | 0 | 4 |
f359fc4f077bc95fb6efcb3e4103d1519abc7f74 | 3,006 | py | Python | web/pipeline/migrations/0079_auto_20200908_0345.py | stevenstuber/CIT | 8c485e72084c06da6db45da1cb402bac26411ec2 | [
"Apache-2.0"
] | 10 | 2020-11-12T15:13:40.000Z | 2022-03-05T22:33:08.000Z | web/pipeline/migrations/0079_auto_20200908_0345.py | stevenstuber/CIT | 8c485e72084c06da6db45da1cb402bac26411ec2 | [
"Apache-2.0"
] | 28 | 2020-07-17T16:33:55.000Z | 2022-03-21T16:24:25.000Z | web/pipeline/migrations/0079_auto_20200908_0345.py | stevenstuber/CIT | 8c485e72084c06da6db45da1cb402bac26411ec2 | [
"Apache-2.0"
] | 5 | 2020-11-02T23:39:53.000Z | 2022-03-01T19:09:45.000Z | # Generated by Django 2.2.13 on 2020-09-08 03:45
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('pipeline', '0078_auto_20200904_0711'),
]
operations = [
migrations.AlterModelOptions(
name='censussubdivision',
options={'o... | 30.673469 | 124 | 0.511311 | 189 | 3,006 | 8.084656 | 0.296296 | 0.371073 | 0.426047 | 0.318063 | 0.565445 | 0.565445 | 0 | 0 | 0 | 0 | 0 | 0.016 | 0.334664 | 3,006 | 97 | 125 | 30.989691 | 0.748 | 0.015303 | 0 | 0.67033 | 1 | 0 | 0.210615 | 0.023327 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010989 | 0 | 0.043956 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f35a12211948091e28764bf1e6ca0ee7be801cdd | 119 | py | Python | enthought/units/plugin/action/set_unit_system_action.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/units/plugin/action/set_unit_system_action.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/units/plugin/action/set_unit_system_action.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from scimath.units.plugin.action.set_unit_system_action import *
| 29.75 | 64 | 0.857143 | 17 | 119 | 5.529412 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092437 | 119 | 3 | 65 | 39.666667 | 0.87037 | 0.10084 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f36bb528a54dac7cf2fa02ff55976476528b0fad | 231 | py | Python | mltemplate/tests/test_stages.py | vmarkovtsev/ml-repo-template | bf3596e2a1c319166092c1fd263ec28ceacc1dd1 | [
"MIT"
] | null | null | null | mltemplate/tests/test_stages.py | vmarkovtsev/ml-repo-template | bf3596e2a1c319166092c1fd263ec28ceacc1dd1 | [
"MIT"
] | null | null | null | mltemplate/tests/test_stages.py | vmarkovtsev/ml-repo-template | bf3596e2a1c319166092c1fd263ec28ceacc1dd1 | [
"MIT"
] | null | null | null | import pytest
from mltemplate.ci.stages import PytestStage, StyleCheckStage
@pytest.fixture(params=[StyleCheckStage, PytestStage])
def stage(request):
return request.param()
def test_style_test(stage):
stage.compile()
| 17.769231 | 61 | 0.774892 | 27 | 231 | 6.555556 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125541 | 231 | 12 | 62 | 19.25 | 0.876238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
f37f9b150487801576d329637e59dbbe1b3c6834 | 253 | py | Python | xmsandbox/__init__.py | xmake-io/pxmake | c5ca995e1afa840d54b513e8b2f193de463a3606 | [
"Apache-2.0"
] | 1 | 2021-08-15T21:26:10.000Z | 2021-08-15T21:26:10.000Z | xmsandbox/__init__.py | xmake-io/pxmake | c5ca995e1afa840d54b513e8b2f193de463a3606 | [
"Apache-2.0"
] | null | null | null | xmsandbox/__init__.py | xmake-io/pxmake | c5ca995e1afa840d54b513e8b2f193de463a3606 | [
"Apache-2.0"
] | null | null | null | from functools import partial
from xmsandbox.interactive import xm_sandbox_interactive
def register(lua):
lua.execute("sandbox = sandbox or {}")
xmsandbox = lua.globals().sandbox
xmsandbox.interactive = partial(xm_sandbox_interactive, lua)
| 31.625 | 64 | 0.774704 | 30 | 253 | 6.4 | 0.466667 | 0.208333 | 0.208333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13834 | 253 | 7 | 65 | 36.142857 | 0.880734 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
f3a8f1f263192982396d39baeed03a19888fe394 | 109 | py | Python | walnutz/coins.py | ayrnee/snakey-stuff | 54179e198050d9f5759046408ab6bace0c97de12 | [
"Apache-2.0"
] | 1 | 2017-10-06T17:32:51.000Z | 2017-10-06T17:32:51.000Z | walnutz/coins.py | ayrnee/snakey-stuff | 54179e198050d9f5759046408ab6bace0c97de12 | [
"Apache-2.0"
] | null | null | null | walnutz/coins.py | ayrnee/snakey-stuff | 54179e198050d9f5759046408ab6bace0c97de12 | [
"Apache-2.0"
] | null | null | null |
class Coins:
''' Coins class for monetization '''
def __init__(self):
self.quarter = True
| 13.625 | 40 | 0.59633 | 12 | 109 | 5.083333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.293578 | 109 | 7 | 41 | 15.571429 | 0.792208 | 0.256881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
f3b6841aac7ea52e08d3633984661a9d91b5e3de | 201 | py | Python | src/lesson_data_compression_and_archiving/zipfile_write_arcname.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | 3 | 2018-08-14T09:33:52.000Z | 2022-03-21T12:31:58.000Z | src/lesson_data_compression_and_archiving/zipfile_write_arcname.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | null | null | null | src/lesson_data_compression_and_archiving/zipfile_write_arcname.py | jasonwee/asus-rt-n14uhp-mrtg | 4fa96c3406e32ea6631ce447db6d19d70b2cd061 | [
"Apache-2.0"
] | null | null | null | from zipfile_infolist import print_info
import zipfile
with zipfile.ZipFile('write_arcname.zip', mode='w') as zf:
zf.write('README.txt', arcname='NOT_README.txt')
print_info('write_arcname.zip')
| 25.125 | 58 | 0.766169 | 31 | 201 | 4.774194 | 0.548387 | 0.121622 | 0.202703 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099502 | 201 | 7 | 59 | 28.714286 | 0.81768 | 0 | 0 | 0 | 0 | 0 | 0.293532 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0.4 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
45ee43d25468313ca21a9a6fde69a1b7d8ee4bed | 2,737 | py | Python | src/scs_host/bus/spi.py | south-coast-science/scs_host_rpi | a02afde3fd2e1f2b8c6dc08beef8c74039108a64 | [
"MIT"
] | null | null | null | src/scs_host/bus/spi.py | south-coast-science/scs_host_rpi | a02afde3fd2e1f2b8c6dc08beef8c74039108a64 | [
"MIT"
] | 1 | 2020-07-13T14:54:08.000Z | 2020-11-16T10:11:04.000Z | src/scs_host/bus/spi.py | south-coast-science/scs_host_rpi | a02afde3fd2e1f2b8c6dc08beef8c74039108a64 | [
"MIT"
] | 2 | 2017-11-07T16:59:02.000Z | 2019-09-29T15:39:37.000Z | """
Created on 4 Jul 2016
http://tightdev.net/SpiDev_Doc.pdf
http://www.takaitra.com/posts/492
http://www.raspberrypi-spy.co.uk/2014/08/enabling-the-spi-interface-on-the-raspberry-pi/
@author: Bruno Beloff (bruno.beloff@southcoastscience.com)
"""
from spidev import SpiDev
from scs_host.lock.lock import Lock
# --... | 25.342593 | 118 | 0.431494 | 232 | 2,737 | 4.659483 | 0.318966 | 0.155412 | 0.036078 | 0.029602 | 0.038853 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007745 | 0.198027 | 2,737 | 107 | 119 | 25.579439 | 0.484738 | 0.38692 | 0 | 0.159091 | 0 | 0.022727 | 0.04059 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.045455 | 0.136364 | 0.522727 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
caa8d6d4f97055adc95fde3f07d4bba8f21f6419 | 413 | py | Python | aiopenapi3/v30/xml.py | commonism/aiopenapi3 | 3efb0e65fdcdce7408c888df3f4adbad8abb4359 | [
"BSD-3-Clause"
] | null | null | null | aiopenapi3/v30/xml.py | commonism/aiopenapi3 | 3efb0e65fdcdce7408c888df3f4adbad8abb4359 | [
"BSD-3-Clause"
] | 7 | 2022-01-03T19:48:06.000Z | 2022-03-14T22:01:57.000Z | aiopenapi3/v30/xml.py | commonism/aiopenapi3 | 3efb0e65fdcdce7408c888df3f4adbad8abb4359 | [
"BSD-3-Clause"
] | null | null | null | from pydantic import Field
from .general import ObjectExtended
class XML(ObjectExtended):
"""
.. XML Object: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#xml-object
"""
name: str = Field(default=None)
namespace: str = Field(default=None)
prefix: str = Field(defau... | 24.294118 | 102 | 0.692494 | 53 | 413 | 5.396226 | 0.584906 | 0.20979 | 0.157343 | 0.199301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008824 | 0.176755 | 413 | 16 | 103 | 25.8125 | 0.832353 | 0.237288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
cae842e432fa0375aaefb1a0150679e6812dee4b | 119 | py | Python | pages/feature_list_item.py | jack-skerrett-bluefruit/Python-ScreenPlay | 045486bdf441fa3a7a6cde59e7b7e12a7d53fbed | [
"MIT"
] | null | null | null | pages/feature_list_item.py | jack-skerrett-bluefruit/Python-ScreenPlay | 045486bdf441fa3a7a6cde59e7b7e12a7d53fbed | [
"MIT"
] | null | null | null | pages/feature_list_item.py | jack-skerrett-bluefruit/Python-ScreenPlay | 045486bdf441fa3a7a6cde59e7b7e12a7d53fbed | [
"MIT"
] | null | null | null | from selenium.webdriver.common.by import By
class feature_list_item():
edit_pencil = (By.CLASS_NAME, "oi-pencil")
| 23.8 | 46 | 0.756303 | 18 | 119 | 4.777778 | 0.777778 | 0.162791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12605 | 119 | 4 | 47 | 29.75 | 0.826923 | 0 | 0 | 0 | 0 | 0 | 0.07563 | 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 | 1 | 0 | 0 | 4 |
caf37e7d7b49de8687298d16d9ffc48665e325cb | 123 | py | Python | pyramid_with_celery/tasks.py | antkit/pyramid_with_celery | 1329274d254b685ec005eaffcf9f36f8b4fc0fbf | [
"MIT"
] | null | null | null | pyramid_with_celery/tasks.py | antkit/pyramid_with_celery | 1329274d254b685ec005eaffcf9f36f8b4fc0fbf | [
"MIT"
] | 1 | 2020-09-18T05:58:11.000Z | 2020-09-18T05:58:11.000Z | pyramid_with_celery/tasks.py | antkit/pyramid_with_celery | 1329274d254b685ec005eaffcf9f36f8b4fc0fbf | [
"MIT"
] | null | null | null | import time
from pyramid_celery import celery_app as app
@app.task
def my_task1(data):
time.sleep(5)
return 'ok'
| 13.666667 | 44 | 0.723577 | 21 | 123 | 4.095238 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020202 | 0.195122 | 123 | 8 | 45 | 15.375 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0.01626 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 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 | 4 |
1b00c82e2e5fcbf244ff4a3b9b1d4f04c807a861 | 342 | py | Python | Curso_em_Video_Exercicios/ex074.py | Cohuzer/Exercicios-do-Curso-em-Video | 879cbb53c54ba226e12d9972bc28eadcd521fc10 | [
"MIT"
] | null | null | null | Curso_em_Video_Exercicios/ex074.py | Cohuzer/Exercicios-do-Curso-em-Video | 879cbb53c54ba226e12d9972bc28eadcd521fc10 | [
"MIT"
] | null | null | null | Curso_em_Video_Exercicios/ex074.py | Cohuzer/Exercicios-do-Curso-em-Video | 879cbb53c54ba226e12d9972bc28eadcd521fc10 | [
"MIT"
] | null | null | null | #criar 5 números aleatorios, jogar numa tupla e listalos do menor para o maior
from random import randint
lista = (randint(0, 10), randint(0, 10), randint(0, 10), randint(0, 10), randint(0, 10))
print(f'Os números sorteados foram {lista}')
print(f'O maior número sorteado foi {max(lista)}')
print(f'O menor número sortea... | 48.857143 | 88 | 0.72807 | 59 | 342 | 4.220339 | 0.525424 | 0.160643 | 0.200803 | 0.273092 | 0.200803 | 0.200803 | 0.200803 | 0.200803 | 0.200803 | 0.200803 | 0 | 0.054237 | 0.137427 | 342 | 6 | 89 | 57 | 0.789831 | 0.225146 | 0 | 0 | 0 | 0 | 0.431818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.6 | 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 | 1 | 0 | 4 |
1b36486538085651fb0625b28f0393292792eef1 | 92 | py | Python | tworaven_apps/test_data/apps.py | Mital188/TwoRavens | f84751b33fde26cd379d8120b3c6a6b5ed2c315d | [
"Apache-2.0"
] | 20 | 2017-12-11T07:26:06.000Z | 2021-11-22T16:16:20.000Z | tworaven_apps/test_data/apps.py | Mital188/TwoRavens | f84751b33fde26cd379d8120b3c6a6b5ed2c315d | [
"Apache-2.0"
] | 849 | 2017-10-20T18:21:18.000Z | 2022-02-18T02:45:44.000Z | tworaven_apps/test_data/apps.py | Mital188/TwoRavens | f84751b33fde26cd379d8120b3c6a6b5ed2c315d | [
"Apache-2.0"
] | 1 | 2020-05-18T06:02:13.000Z | 2020-05-18T06:02:13.000Z | from django.apps import AppConfig
class TestDataConfig(AppConfig):
name = 'test_data'
| 15.333333 | 33 | 0.76087 | 11 | 92 | 6.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 5 | 34 | 18.4 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 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 | 1 | 0 | 0 | 4 |
1b3a96154a96b785a4f34de433ba66c347dd17be | 129 | py | Python | test/probe/__init__.py | ericwanghp/swift | 71a20d04ccac24b37b23fba87063e74e802c08fc | [
"Apache-2.0"
] | 1 | 2021-04-18T15:23:18.000Z | 2021-04-18T15:23:18.000Z | test/probe/__init__.py | Triv90/SwiftUml | 98fa5adfe5664dbb4f328ba2a1789a63c7550eed | [
"Apache-2.0"
] | null | null | null | test/probe/__init__.py | Triv90/SwiftUml | 98fa5adfe5664dbb4f328ba2a1789a63c7550eed | [
"Apache-2.0"
] | null | null | null | from test import get_config
config = get_config('probe_test')
CHECK_SERVER_TIMEOUT = int(config.get('check_server_timeout', 30))
| 32.25 | 66 | 0.806202 | 20 | 129 | 4.85 | 0.55 | 0.185567 | 0.371134 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.085271 | 129 | 3 | 67 | 43 | 0.805085 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1b75abbf997ea090cdfc71d96fe285ee3910af9c | 92 | py | Python | jupiter/repository/yaml/__init__.py | horia141/jupiter | 2c721d1d44e1cd2607ad9936e54a20ea254741dc | [
"MIT"
] | 15 | 2019-05-05T14:34:58.000Z | 2022-02-25T09:57:28.000Z | jupiter/repository/yaml/__init__.py | horia141/jupiter | 2c721d1d44e1cd2607ad9936e54a20ea254741dc | [
"MIT"
] | 3 | 2020-02-22T16:09:39.000Z | 2021-12-18T21:33:06.000Z | jupiter/repository/yaml/__init__.py | horia141/jupiter | 2c721d1d44e1cd2607ad9936e54a20ea254741dc | [
"MIT"
] | null | null | null | """Concrete implementations of domain-level repositories with a text-based YAML storage."""
| 46 | 91 | 0.793478 | 12 | 92 | 6.083333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 92 | 1 | 92 | 92 | 0.890244 | 0.923913 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1b96fc080b28212a75a8a1de56a3363495d5cebf | 67 | py | Python | test_py.py | EricMostertFreiberg/Learning_Git_and_GitHub | 06bd3bf44f04f9bb714e2d7c307fb0731f96b569 | [
"MIT"
] | null | null | null | test_py.py | EricMostertFreiberg/Learning_Git_and_GitHub | 06bd3bf44f04f9bb714e2d7c307fb0731f96b569 | [
"MIT"
] | null | null | null | test_py.py | EricMostertFreiberg/Learning_Git_and_GitHub | 06bd3bf44f04f9bb714e2d7c307fb0731f96b569 | [
"MIT"
] | null | null | null | print("Am I a genuis?")
print("Probably not")
print("But maybe...") | 22.333333 | 23 | 0.656716 | 11 | 67 | 4 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104478 | 67 | 3 | 24 | 22.333333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.558824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
1ba33c3b92bba587dd1c1ae394dddef243e852db | 143 | py | Python | app/web/api/__init__.py | gallop/flask-mvc-demo | 3272e700fd22f412bd24e756cfdddc9fac9dab95 | [
"Apache-2.0"
] | null | null | null | app/web/api/__init__.py | gallop/flask-mvc-demo | 3272e700fd22f412bd24e756cfdddc9fac9dab95 | [
"Apache-2.0"
] | null | null | null | app/web/api/__init__.py | gallop/flask-mvc-demo | 3272e700fd22f412bd24e756cfdddc9fac9dab95 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from flask import Blueprint
route_api = Blueprint('api_page', __name__)
from app.web.api.UserController import *
| 23.833333 | 44 | 0.706294 | 19 | 143 | 5 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.160839 | 143 | 5 | 45 | 28.6 | 0.783333 | 0.146853 | 0 | 0 | 0 | 0 | 0.069565 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
1bb7ddaa7980b2ddca2d5282a71ce458454d3c10 | 299 | py | Python | monitoring/prober/rid/v2/common.py | interuss/InterUSS-Platform | 099abaa1159c4c143f8f1fde6b88956c86608281 | [
"Apache-2.0"
] | null | null | null | monitoring/prober/rid/v2/common.py | interuss/InterUSS-Platform | 099abaa1159c4c143f8f1fde6b88956c86608281 | [
"Apache-2.0"
] | null | null | null | monitoring/prober/rid/v2/common.py | interuss/InterUSS-Platform | 099abaa1159c4c143f8f1fde6b88956c86608281 | [
"Apache-2.0"
] | null | null | null | from monitoring.prober.rid.v1 import common as common_v1
VERTICES = common_v1.VERTICES
GEO_POLYGON_STRING = common_v1.GEO_POLYGON_STRING
HUGE_GEO_POLYGON_STRING = common_v1.HUGE_GEO_POLYGON_STRING
LOOP_GEO_POLYGON_STRING = common_v1.LOOP_GEO_POLYGON_STRING
HUGE_VERTICES = common_v1.HUGE_VERTICES
| 33.222222 | 59 | 0.879599 | 48 | 299 | 4.979167 | 0.291667 | 0.200837 | 0.401674 | 0.276151 | 0.301255 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025362 | 0.076923 | 299 | 8 | 60 | 37.375 | 0.84058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
1bd65d69257f55a00b7c2c4a1cb6630a4d5f0bc3 | 163 | py | Python | print_plus_vs_comma.py | CrazyJ36/python | 4cff6e7240672a273d978521bb511065f45d4312 | [
"MIT"
] | null | null | null | print_plus_vs_comma.py | CrazyJ36/python | 4cff6e7240672a273d978521bb511065f45d4312 | [
"MIT"
] | null | null | null | print_plus_vs_comma.py | CrazyJ36/python | 4cff6e7240672a273d978521bb511065f45d4312 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
x = "text"
# these do the same thing.
print("x is:", x) # simply prints two things.
print("x is: " + x) # concatenates to string(no space)
| 23.285714 | 54 | 0.650307 | 28 | 163 | 3.785714 | 0.785714 | 0.113208 | 0.150943 | 0.169811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.184049 | 163 | 6 | 55 | 27.166667 | 0.789474 | 0.644172 | 0 | 0 | 0 | 0 | 0.283019 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
59fd97d761277e5f397d4966e7f0b7cc8f3fb0f2 | 222 | py | Python | web/impact/impact/v1/helpers/industry_helper.py | masschallenge/impact-api | 81075ced8fcc95de9390dd83c15e523e67fc48c0 | [
"MIT"
] | 5 | 2017-10-19T15:11:52.000Z | 2020-03-08T07:16:21.000Z | web/impact/impact/v1/helpers/industry_helper.py | masschallenge/impact-api | 81075ced8fcc95de9390dd83c15e523e67fc48c0 | [
"MIT"
] | 182 | 2017-06-21T19:32:13.000Z | 2021-03-22T13:38:16.000Z | web/impact/impact/v1/helpers/industry_helper.py | masschallenge/impact-api | 81075ced8fcc95de9390dd83c15e523e67fc48c0 | [
"MIT"
] | 1 | 2018-06-23T11:53:18.000Z | 2018-06-23T11:53:18.000Z | # MIT License
# Copyright (c) 2017 MassChallenge, Inc.
from accelerator.models import Industry
from impact.v1.helpers.mptt_model_helper import MPTTModelHelper
class IndustryHelper(MPTTModelHelper):
model = Industry
| 22.2 | 63 | 0.806306 | 26 | 222 | 6.807692 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025907 | 0.130631 | 222 | 9 | 64 | 24.666667 | 0.891192 | 0.225225 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 1 | 0 | 0 | 4 |
940f10bf1f8af0e380181c7c4c0b8bdb4862c210 | 349 | py | Python | tests/unit/conftest.py | confiq/seedeebot | d513745237b59b1992ccc836ed573abbf6ddcff9 | [
"MIT"
] | null | null | null | tests/unit/conftest.py | confiq/seedeebot | d513745237b59b1992ccc836ed573abbf6ddcff9 | [
"MIT"
] | null | null | null | tests/unit/conftest.py | confiq/seedeebot | d513745237b59b1992ccc836ed573abbf6ddcff9 | [
"MIT"
] | null | null | null | import pytest
@pytest.fixture(scope='function', autouse=True)
def mock_settings(monkeypatch):
class Settings:
ALIASES = ''
def __getattr__(self, item):
return None
settings = Settings()
monkeypatch.setattr('seedeebot.settings', settings)
monkeypatch.setattr('seedeebot.dis... | 23.266667 | 66 | 0.687679 | 34 | 349 | 6.911765 | 0.617647 | 0.242553 | 0.229787 | 0.289362 | 0.365957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203438 | 349 | 14 | 67 | 24.928571 | 0.845324 | 0 | 0 | 0 | 0 | 0 | 0.157593 | 0.083095 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.1 | 0.1 | 0.6 | 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 | 1 | 0 | 0 | 4 |
946a0e199a4a129170f5db668fd47a0a9f18490f | 282 | py | Python | E2_6/Pythagorean.py | AidaNajafi/AidaNajafi.github.io | a5d86dc67a1d272794586e0a5c612a3893b75e69 | [
"Apache-2.0"
] | null | null | null | E2_6/Pythagorean.py | AidaNajafi/AidaNajafi.github.io | a5d86dc67a1d272794586e0a5c612a3893b75e69 | [
"Apache-2.0"
] | null | null | null | E2_6/Pythagorean.py | AidaNajafi/AidaNajafi.github.io | a5d86dc67a1d272794586e0a5c612a3893b75e69 | [
"Apache-2.0"
] | null | null | null | for a in range(1,100):
for b in range(1,100):
for c in range(1,100):
if a*a == b*b + c*c:
print(a , b , c)
elif b*b == a*a + c*c:
print(b , a , c)
elif c*c == a*a + b*b:
print(c , a , b) | 31.333333 | 34 | 0.343972 | 51 | 282 | 1.901961 | 0.215686 | 0.082474 | 0.247423 | 0.340206 | 0.28866 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 0.496454 | 282 | 9 | 35 | 31.333333 | 0.598592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 1 | 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 | 4 |
947ca95fa0cd71f55135d703bfd4bc7014dc6d71 | 50 | py | Python | terraform_builder/specs/project/__init__.py | mrlesmithjr/terraform-builder | 08ed71333e988682ce50c6ef865fdd8ba27de395 | [
"MIT"
] | 7 | 2020-03-21T20:40:50.000Z | 2022-02-17T17:17:53.000Z | terraform_builder/specs/project/__init__.py | mrlesmithjr/terraform-builder | 08ed71333e988682ce50c6ef865fdd8ba27de395 | [
"MIT"
] | 39 | 2020-03-24T04:37:21.000Z | 2020-06-17T04:20:22.000Z | terraform_builder/specs/project/__init__.py | mrlesmithjr/terraform-builder | 08ed71333e988682ce50c6ef865fdd8ba27de395 | [
"MIT"
] | null | null | null | """terraform_builder/specs/project/__init__.py"""
| 25 | 49 | 0.78 | 6 | 50 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 50 | 1 | 50 | 50 | 0.693878 | 0.86 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
846edb0110d12d53d51a3a0978050633d184a7f2 | 485 | py | Python | django/Lib/BookManagement/views.py | pythontrainernag/python_7 | eaff90ac6885f3c1e1db91d885215040b32d8f0f | [
"MIT"
] | null | null | null | django/Lib/BookManagement/views.py | pythontrainernag/python_7 | eaff90ac6885f3c1e1db91d885215040b32d8f0f | [
"MIT"
] | null | null | null | django/Lib/BookManagement/views.py | pythontrainernag/python_7 | eaff90ac6885f3c1e1db91d885215040b32d8f0f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.shortcuts import render
from django.http.response import HttpResponse
# Create your views here.
def first_book(request):
return HttpResponse('<h1> This is first view in Book</h1>')
def first_book_h3(request):
return Http... | 30.3125 | 74 | 0.696907 | 70 | 485 | 4.714286 | 0.542857 | 0.163636 | 0.072727 | 0.090909 | 0.127273 | 0.127273 | 0 | 0 | 0 | 0 | 0 | 0.02267 | 0.181443 | 485 | 16 | 74 | 30.3125 | 0.808564 | 0.092784 | 0 | 0 | 0 | 0 | 0.269504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
847878d6619f3ba0f73b0ee26c70d5a1fdaff29d | 119 | py | Python | post_install.py | cassandra-dataset-manager/demo | ed49ff0b652cf216b30a09b9b79de8079ee5184e | [
"Apache-2.0"
] | null | null | null | post_install.py | cassandra-dataset-manager/demo | ed49ff0b652cf216b30a09b9b79de8079ee5184e | [
"Apache-2.0"
] | null | null | null | post_install.py | cassandra-dataset-manager/demo | ed49ff0b652cf216b30a09b9b79de8079ee5184e | [
"Apache-2.0"
] | null | null | null |
def main(context):
session = context.session
session.execute("INSERT INTO test (id, name) values (1, 'jon')")
| 23.8 | 68 | 0.663866 | 16 | 119 | 4.9375 | 0.8125 | 0.35443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.184874 | 119 | 4 | 69 | 29.75 | 0.804124 | 0 | 0 | 0 | 0 | 0 | 0.381356 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8499dd33ceef212fc01f6516cd42502b924773bf | 405 | py | Python | trapdoor/core/exceptions.py | subutux/trapdoor | 5daa6b4e8aaa0d4318890582881fc579103e434a | [
"MIT"
] | null | null | null | trapdoor/core/exceptions.py | subutux/trapdoor | 5daa6b4e8aaa0d4318890582881fc579103e434a | [
"MIT"
] | null | null | null | trapdoor/core/exceptions.py | subutux/trapdoor | 5daa6b4e8aaa0d4318890582881fc579103e434a | [
"MIT"
] | null | null | null | class ErrorTrapTransport(Exception):
pass
class ConfigNotFoundError(Exception):
pass
class ConfigNotParsedError(Exception):
pass
class MibCompileError(Exception):
pass
class MibCompileFailed(Exception):
pass
class FilterPathError(Exception):
pass
class FilterProcessError(Exception):
pass
c... | 20.25 | 38 | 0.775309 | 36 | 405 | 8.722222 | 0.333333 | 0.372611 | 0.458599 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158025 | 405 | 20 | 39 | 20.25 | 0.920821 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
84c405ce4b33288d4c42f9a01cecda6c8fb91527 | 176 | py | Python | env/bin/django-admin.py | emmanueljimawo/recipe_api | 20c1168d4611ec5fa313f9d9fe90e8873c6dc329 | [
"MIT"
] | null | null | null | env/bin/django-admin.py | emmanueljimawo/recipe_api | 20c1168d4611ec5fa313f9d9fe90e8873c6dc329 | [
"MIT"
] | 9 | 2019-12-04T23:09:28.000Z | 2022-02-10T09:27:36.000Z | env/bin/django-admin.py | emmanueljimawo/recipe_api | 20c1168d4611ec5fa313f9d9fe90e8873c6dc329 | [
"MIT"
] | null | null | null | #!/Users/Jimawo/Documents/Development/codes/recipe_api/env/bin/python
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 29.333333 | 69 | 0.801136 | 23 | 176 | 5.608696 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085227 | 176 | 5 | 70 | 35.2 | 0.801242 | 0.386364 | 0 | 0 | 0 | 0 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
84e9c2562b1a5c66d8da64421b3760db6d749772 | 247 | py | Python | src/investmentstk/data_feeds/__init__.py | fernandobrito/investments-toolkit | 40663857d83ec99be7aecd78cf50d092c7144d8f | [
"Apache-2.0"
] | 3 | 2021-08-23T16:47:22.000Z | 2021-11-19T12:41:19.000Z | src/investmentstk/data_feeds/__init__.py | fernandobrito/investments-toolkit | 40663857d83ec99be7aecd78cf50d092c7144d8f | [
"Apache-2.0"
] | 14 | 2021-08-28T14:17:50.000Z | 2021-11-28T20:12:54.000Z | src/investmentstk/data_feeds/__init__.py | fernandobrito/investments-toolkit | 40663857d83ec99be7aecd78cf50d092c7144d8f | [
"Apache-2.0"
] | 1 | 2021-11-04T06:51:32.000Z | 2021-11-04T06:51:32.000Z | from .avanza_feed import AvanzaFeed
from .cmc_feed import CMCFeed
from .data_feed import DataFeed
from .degiro_feed import DegiroFeed
from .kraken_feed import KrakenFeed
__all__ = ["AvanzaFeed", "CMCFeed", "DataFeed", "DegiroFeed", "KrakenFeed"]
| 30.875 | 75 | 0.797571 | 31 | 247 | 6.064516 | 0.451613 | 0.265957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11336 | 247 | 7 | 76 | 35.285714 | 0.858447 | 0 | 0 | 0 | 0 | 0 | 0.182186 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 4 |
ca054c3ceca1133a2c461ada6da5c92200f4596b | 219 | py | Python | Extra long factorials.py | abhisheks008/Developer-Students-Club-UEM-Kolkata-CP-Contest | d141b8872fb3e8c0b37c182690f8df9385a58953 | [
"MIT"
] | null | null | null | Extra long factorials.py | abhisheks008/Developer-Students-Club-UEM-Kolkata-CP-Contest | d141b8872fb3e8c0b37c182690f8df9385a58953 | [
"MIT"
] | null | null | null | Extra long factorials.py | abhisheks008/Developer-Students-Club-UEM-Kolkata-CP-Contest | d141b8872fb3e8c0b37c182690f8df9385a58953 | [
"MIT"
] | null | null | null | # Extra long factorials of DSC UEM Kolkata Competitive Programming Contest
# Solution in Python Programming Language
# Author Abhishek Sharma
# Date : 08.11.2020
from math import factorial as f
print (f(int(input())))
| 27.375 | 74 | 0.776256 | 32 | 219 | 5.3125 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043243 | 0.155251 | 219 | 7 | 75 | 31.285714 | 0.875676 | 0.69863 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 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 | 1 | 0 | 4 |
ca1c68dbf0cf4c3c093d5c920af76d0633fc2016 | 113 | py | Python | tests/ocd_backend/models/test_postgres_database.py | aolieman/open-raadsinformatie | 66469fc924fb0d312607afe998d271bf6f55c9d6 | [
"MIT"
] | 23 | 2015-10-28T09:02:41.000Z | 2021-12-15T08:40:41.000Z | tests/ocd_backend/models/test_postgres_database.py | aolieman/open-raadsinformatie | 66469fc924fb0d312607afe998d271bf6f55c9d6 | [
"MIT"
] | 326 | 2015-11-03T12:59:48.000Z | 2022-03-11T23:18:14.000Z | tests/ocd_backend/models/test_postgres_database.py | aolieman/open-raadsinformatie | 66469fc924fb0d312607afe998d271bf6f55c9d6 | [
"MIT"
] | 10 | 2016-02-05T08:43:07.000Z | 2022-03-09T10:04:32.000Z | import datetime
from unittest import TestCase
from ocd_backend.models.postgres_database import PostgresDatabase
| 22.6 | 65 | 0.884956 | 14 | 113 | 7 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097345 | 113 | 4 | 66 | 28.25 | 0.960784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0471826a3f744d789b974919c88fee21859c01cc | 1,740 | py | Python | __pkginfo__.py | Alpha-Demon404/pycolumize | bc74e253c9c819c6a0d9a651e8f9ef913600ab4b | [
"MIT"
] | null | null | null | __pkginfo__.py | Alpha-Demon404/pycolumize | bc74e253c9c819c6a0d9a651e8f9ef913600ab4b | [
"MIT"
] | null | null | null | __pkginfo__.py | Alpha-Demon404/pycolumize | bc74e253c9c819c6a0d9a651e8f9ef913600ab4b | [
"MIT"
] | null | null | null | """packaging information"""
import os.path as osp
# Things that change more often go here.
copyright = """
Copyright (C) 2008-2010, 2013, 2015, 2020, 2022 Rocky Bernstein <rocky@gnu.org>.
"""
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI ... | 30 | 80 | 0.655747 | 210 | 1,740 | 5.380952 | 0.52381 | 0.252212 | 0.331858 | 0.230089 | 0.047788 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038055 | 0.184483 | 1,740 | 57 | 81 | 30.526316 | 0.75828 | 0.051724 | 0 | 0 | 0 | 0.023256 | 0.610469 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046512 | false | 0 | 0.023256 | 0.023256 | 0.116279 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
04c677266a63d0a69bb3e29577866cf439e0ff1a | 4,797 | py | Python | tests/test_n2v_utils.py | Tiamat-Tech/n2v | a146831f28c4c6e63b983e505c7fe7071d98e048 | [
"BSD-3-Clause"
] | 246 | 2019-01-13T06:03:42.000Z | 2022-03-29T14:02:30.000Z | tests/test_n2v_utils.py | Tiamat-Tech/n2v | a146831f28c4c6e63b983e505c7fe7071d98e048 | [
"BSD-3-Clause"
] | 92 | 2019-01-22T05:42:55.000Z | 2022-03-05T04:00:38.000Z | tests/test_n2v_utils.py | Tiamat-Tech/n2v | a146831f28c4c6e63b983e505c7fe7071d98e048 | [
"BSD-3-Clause"
] | 90 | 2019-01-14T11:22:34.000Z | 2022-02-28T12:50:30.000Z | import numpy as np
from n2v.utils import n2v_utils
from n2v.utils.n2v_utils import tta_forward, tta_backward
def test_get_subpatch():
patch = np.arange(100)
patch.shape = (10, 10)
subpatch_target = np.array([[11, 12, 13, 14, 15],
[21, 22, 23, 24, 25],
... | 27.255682 | 76 | 0.528038 | 716 | 4,797 | 3.451117 | 0.153631 | 0.07932 | 0.063132 | 0.067989 | 0.775799 | 0.775799 | 0.747875 | 0.733306 | 0.690409 | 0.646297 | 0 | 0.12058 | 0.310194 | 4,797 | 175 | 77 | 27.411429 | 0.626171 | 0 | 0 | 0.635593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 1 | 0.067797 | false | 0 | 0.025424 | 0 | 0.09322 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 4 |
04d03c372669764680507d9d12b347f2684bff61 | 180 | py | Python | pattern_library/exceptions.py | allcaps/django-pattern-library | 6f12de0bd7971221218759c40be09fd47aa47f14 | [
"BSD-3-Clause"
] | 201 | 2020-02-19T06:05:53.000Z | 2022-03-29T10:52:09.000Z | pattern_library/exceptions.py | allcaps/django-pattern-library | 6f12de0bd7971221218759c40be09fd47aa47f14 | [
"BSD-3-Clause"
] | 155 | 2020-02-19T06:08:14.000Z | 2022-03-21T16:26:17.000Z | pattern_library/exceptions.py | allcaps/django-pattern-library | 6f12de0bd7971221218759c40be09fd47aa47f14 | [
"BSD-3-Clause"
] | 22 | 2020-02-21T21:39:31.000Z | 2022-03-19T14:34:46.000Z |
class PatternLibraryException(Exception):
pass
class TemplateIsNotPattern(PatternLibraryException):
pass
class PatternLibraryEmpty(PatternLibraryException):
pass
| 13.846154 | 52 | 0.8 | 12 | 180 | 12 | 0.5 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 180 | 12 | 53 | 15 | 0.941176 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
04fd8f8fcca363fcdc3f439efaf3c5263317c407 | 36 | py | Python | custom_components/authenticated/__init__.py | mikeage/authenticated | 4db29ab20413b141d2dfd89fd08ebb5ecfc994ef | [
"MIT"
] | null | null | null | custom_components/authenticated/__init__.py | mikeage/authenticated | 4db29ab20413b141d2dfd89fd08ebb5ecfc994ef | [
"MIT"
] | null | null | null | custom_components/authenticated/__init__.py | mikeage/authenticated | 4db29ab20413b141d2dfd89fd08ebb5ecfc994ef | [
"MIT"
] | null | null | null | """The authenticated component."""
| 18 | 35 | 0.694444 | 3 | 36 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.78125 | 0.777778 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b6bbc36db5496530d382f6b37b8abc8203ed3a69 | 31 | py | Python | lib/python3.4/sre_parse.py | caiocsalvador/whats_the_craic | c49ef62f1acd7379f6fd90c2b93aa1fa00c8661d | [
"MIT"
] | 7 | 2017-04-26T12:28:22.000Z | 2021-02-09T18:59:50.000Z | django-ng/lib/python3.4/sre_parse.py | Arsalen/BusinessStrategies | 209e57340359af3ea063c064982198848dc36c5f | [
"MIT"
] | 13 | 2015-12-04T03:38:37.000Z | 2015-12-12T00:15:46.000Z | django-ng/lib/python3.4/sre_parse.py | Arsalen/BusinessStrategies | 209e57340359af3ea063c064982198848dc36c5f | [
"MIT"
] | 8 | 2017-06-01T08:42:16.000Z | 2020-07-23T12:30:19.000Z | /usr/lib/python3.4/sre_parse.py | 31 | 31 | 0.806452 | 7 | 31 | 3.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0 | 31 | 1 | 31 | 31 | 0.709677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b6e7be386b10217d070132fbfb6e45bf068f9015 | 59 | py | Python | src/main/python/domain/SinkTypes.py | Ritabrata-TW/test-data-ingestion | 57255699c1bbca698b2e649200fe9e8519d274ae | [
"Apache-2.0"
] | null | null | null | src/main/python/domain/SinkTypes.py | Ritabrata-TW/test-data-ingestion | 57255699c1bbca698b2e649200fe9e8519d274ae | [
"Apache-2.0"
] | null | null | null | src/main/python/domain/SinkTypes.py | Ritabrata-TW/test-data-ingestion | 57255699c1bbca698b2e649200fe9e8519d274ae | [
"Apache-2.0"
] | null | null | null | from enum import Enum
class SinkTypes(Enum):
CSV = 1
| 9.833333 | 22 | 0.677966 | 9 | 59 | 4.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0.254237 | 59 | 5 | 23 | 11.8 | 0.886364 | 0 | 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 | 1 | 0 | 0 | 4 |
8e2b5fc5764a41cb2388d0d8bc269d52e9912fce | 165 | py | Python | log/admin.py | lahodny/test4 | eb5c80419cbb9fb79dd54705bbefe731160053e4 | [
"MIT"
] | null | null | null | log/admin.py | lahodny/test4 | eb5c80419cbb9fb79dd54705bbefe731160053e4 | [
"MIT"
] | null | null | null | log/admin.py | lahodny/test4 | eb5c80419cbb9fb79dd54705bbefe731160053e4 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import *
# Registrace modelů v administraci aplikace
admin.site.register(Workout)
admin.site.register(WorkoutType) | 16.5 | 43 | 0.806061 | 21 | 165 | 6.333333 | 0.714286 | 0.135338 | 0.255639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121212 | 165 | 10 | 44 | 16.5 | 0.917241 | 0.248485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8e362eb11b11ae305edc7abbff0e271c2b13782b | 156 | py | Python | src/models/test_predict_model.py | dddTESTxx/Gym-Final | 4ce6eea0291fc4a4d886ce6b26c04b9d46d9aff8 | [
"MIT"
] | null | null | null | src/models/test_predict_model.py | dddTESTxx/Gym-Final | 4ce6eea0291fc4a4d886ce6b26c04b9d46d9aff8 | [
"MIT"
] | null | null | null | src/models/test_predict_model.py | dddTESTxx/Gym-Final | 4ce6eea0291fc4a4d886ce6b26c04b9d46d9aff8 | [
"MIT"
] | null | null | null | import unittest
from predict_model import main
class TestPredictModel(unittest.TestCase):
def test_main_runs(self):
self.assertTrue(main())
| 15.6 | 42 | 0.75 | 19 | 156 | 6 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 156 | 9 | 43 | 17.333333 | 0.883721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | 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 | 1 | 0 | 0 | 4 |
f3d4b3b13a909c1445163827eb1ecb008e933154 | 2,123 | py | Python | qcodes/tests/helpers/test_isfunction.py | riju-pal/QCoDeS_riju | 816e76809160e9af457f6ef6d4aca1b0dd5eea82 | [
"MIT"
] | 223 | 2016-10-29T15:00:24.000Z | 2022-03-20T06:53:34.000Z | qcodes/tests/helpers/test_isfunction.py | M1racleShih/Qcodes | c03029a6968e16379155aadc8b083a02e01876a6 | [
"MIT"
] | 3,406 | 2016-10-25T10:44:50.000Z | 2022-03-31T09:47:35.000Z | qcodes/tests/helpers/test_isfunction.py | nikhartman/Qcodes | 042c5e25ab9e40b20c316b4055c4842844834d1e | [
"MIT"
] | 263 | 2016-10-25T11:35:36.000Z | 2022-03-31T08:53:20.000Z | import pytest
from qcodes.utils.helpers import is_function
def test_non_function():
assert not is_function(0, 0)
assert not is_function('hello!', 0)
assert not is_function(None, 0)
def test_function():
def f0():
raise RuntimeError('function should not get called')
def f1(a):
rai... | 27.217949 | 63 | 0.682525 | 325 | 2,123 | 4.286154 | 0.184615 | 0.236899 | 0.09476 | 0.163676 | 0.593683 | 0.455851 | 0.376167 | 0.290022 | 0.153625 | 0.084709 | 0 | 0.027644 | 0.216203 | 2,123 | 77 | 64 | 27.571429 | 0.809495 | 0.018841 | 0 | 0.188679 | 0 | 0 | 0.120135 | 0 | 0 | 0 | 0 | 0 | 0.45283 | 1 | 0.207547 | false | 0 | 0.037736 | 0 | 0.264151 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f3e5e862f9a466086b0ec9a2c4d3a568c313f7ce | 235 | py | Python | standalone_spider.py | cnwarden/mico2 | 017c52ef4626649d162904f247f21eec768fafc3 | [
"MIT"
] | null | null | null | standalone_spider.py | cnwarden/mico2 | 017c52ef4626649d162904f247f21eec768fafc3 | [
"MIT"
] | null | null | null | standalone_spider.py | cnwarden/mico2 | 017c52ef4626649d162904f247f21eec768fafc3 | [
"MIT"
] | null | null | null | # coding:utf-8
import click
@click.command()
@click.option('--symbol', default='SH000001', help='crawl symbol')
def start_spider(symbol):
print 'start spider:' + symbol
if __name__ == '__main__':
start_spider() | 18.076923 | 67 | 0.651064 | 28 | 235 | 5.107143 | 0.678571 | 0.230769 | 0.237762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036842 | 0.191489 | 235 | 13 | 68 | 18.076923 | 0.715789 | 0.051064 | 0 | 0 | 0 | 0 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.142857 | null | null | 0.142857 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f3ea507241e4daa024731bef515f9b1a3b1fc30e | 578 | py | Python | stat570/datasets/failure_stresses.py | ppham27/stat570 | 859832aed3ae172abc8b6fbcd2221eb552291a00 | [
"MIT"
] | 2 | 2019-04-22T11:05:54.000Z | 2022-02-25T22:46:11.000Z | stat570/datasets/failure_stresses.py | ppham27/stat570 | 859832aed3ae172abc8b6fbcd2221eb552291a00 | [
"MIT"
] | null | null | null | stat570/datasets/failure_stresses.py | ppham27/stat570 | 859832aed3ae172abc8b6fbcd2221eb552291a00 | [
"MIT"
] | null | null | null | """Load failure stress data."""
import pandas as pd
def load_data() -> pd.DataFrame:
return pd.DataFrame([
[2.247, 2.640, 2.842, 2.908, 3.099, 3.126, 3.245, 3.328, 3.355, 3.383, 3.572, 3.581, 3.681],
[1.901, 2.132, 2.203, 2.228, 2.257, 2.35, 2.361, 2.396, 2.397, 2.445, 2.454, 2.454, 2.474],
... | 44.461538 | 100 | 0.546713 | 130 | 578 | 2.423077 | 0.561538 | 0.069841 | 0.031746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.463203 | 0.200692 | 578 | 12 | 101 | 48.166667 | 0.218615 | 0.043253 | 0 | 0 | 0 | 0 | 0.02011 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.125 | 0.125 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
6d5993e22cf551721fd49917fe94f99f36e4de83 | 150 | py | Python | tensorflow1_ipynb/basic-ml/test_matplot.py | neverset123/deeplearning-models | 089372f8f7a1828d703c978f258fbeb95fb39f57 | [
"MIT"
] | null | null | null | tensorflow1_ipynb/basic-ml/test_matplot.py | neverset123/deeplearning-models | 089372f8f7a1828d703c978f258fbeb95fb39f57 | [
"MIT"
] | null | null | null | tensorflow1_ipynb/basic-ml/test_matplot.py | neverset123/deeplearning-models | 089372f8f7a1828d703c978f258fbeb95fb39f57 | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt
fig, ax=plt.subplots(1,2,figsize=(7, 2.5))
ax[0].scatter([1,2], [1,2])
ax[0].scatter([1.2,2.5], [1.2,2.5])
plt.show() | 25 | 42 | 0.626667 | 35 | 150 | 2.685714 | 0.457143 | 0.106383 | 0.212766 | 0.234043 | 0.255319 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137681 | 0.08 | 150 | 6 | 43 | 25 | 0.543478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
6d612e2ca83a4309a6e15bc9ea82f11de7ab2176 | 209 | py | Python | unit_test/test_AbstractModel.py | demetoir/ALLGANS | 2f972db5e9a65f18aee0695d817f4acc221e54da | [
"MIT"
] | 11 | 2018-01-25T15:31:54.000Z | 2019-12-17T06:12:57.000Z | unit_test/test_AbstractModel.py | demetoir/ALLGANs | 2f972db5e9a65f18aee0695d817f4acc221e54da | [
"MIT"
] | 19 | 2018-01-29T16:12:09.000Z | 2018-02-15T15:56:48.000Z | unit_test/test_AbstractModel.py | demetoir/ALLGANs | 2f972db5e9a65f18aee0695d817f4acc221e54da | [
"MIT"
] | 2 | 2018-02-06T00:31:55.000Z | 2018-02-19T15:29:10.000Z | from env_settting import ROOT_PATH
from unit_test.DummyModel import DummyModel
class test_AbstractModel:
def __init__(self):
pass
def test__00(self):
DummyModel(ROOT_PATH)
| 19 | 44 | 0.698565 | 26 | 209 | 5.192308 | 0.615385 | 0.118519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.253589 | 209 | 10 | 45 | 20.9 | 0.852564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.285714 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
eda3867d88ce8130b9294913096230a57ccbe7c6 | 51 | py | Python | tests/__init__.py | calestar/cloudformation-helper | 3e329261518a8bef827adbaad59f8e46d4fa7e3a | [
"MIT"
] | null | null | null | tests/__init__.py | calestar/cloudformation-helper | 3e329261518a8bef827adbaad59f8e46d4fa7e3a | [
"MIT"
] | 7 | 2021-04-30T03:45:34.000Z | 2021-09-04T18:27:16.000Z | tests/__init__.py | calestar/cloudformation-helper | 3e329261518a8bef827adbaad59f8e46d4fa7e3a | [
"MIT"
] | null | null | null | """Unit test package for cloudformation_helper."""
| 25.5 | 50 | 0.764706 | 6 | 51 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 51 | 1 | 51 | 51 | 0.826087 | 0.862745 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
edac3f55b6d8449d2286ebc4316e68b54c30053c | 223 | py | Python | clickhouse_driver/columns/nothingcolumn.py | vadimonster/clickhouse-driver | 293b5962a8bc5d913c4b0328f89e2a2881da1a3d | [
"MIT"
] | 1 | 2019-11-09T00:19:20.000Z | 2019-11-09T00:19:20.000Z | clickhouse_driver/columns/nothingcolumn.py | vadimonster/clickhouse-driver | 293b5962a8bc5d913c4b0328f89e2a2881da1a3d | [
"MIT"
] | null | null | null | clickhouse_driver/columns/nothingcolumn.py | vadimonster/clickhouse-driver | 293b5962a8bc5d913c4b0328f89e2a2881da1a3d | [
"MIT"
] | 1 | 2021-08-09T09:13:33.000Z | 2021-08-09T09:13:33.000Z | from .intcolumn import FormatColumn
class NothingColumn(FormatColumn):
ch_type = 'Nothing'
format = 'B'
@property
def size(self):
return 1
def after_read_item(self, buf):
return None
| 15.928571 | 35 | 0.641256 | 26 | 223 | 5.384615 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006211 | 0.278027 | 223 | 13 | 36 | 17.153846 | 0.863354 | 0 | 0 | 0 | 0 | 0 | 0.035874 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.222222 | 0.888889 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
ede4985c8161896ebc4efffb95f46df360dd9976 | 209 | py | Python | telegram_bot/urls.py | alenworld/django_telegram_bot | aa9a3570787feaaf474086a8cee66155f749983e | [
"MIT"
] | 3 | 2021-07-07T02:30:56.000Z | 2021-12-19T07:48:35.000Z | telegram_bot/urls.py | alenworld/django_telegram_bot | aa9a3570787feaaf474086a8cee66155f749983e | [
"MIT"
] | null | null | null | telegram_bot/urls.py | alenworld/django_telegram_bot | aa9a3570787feaaf474086a8cee66155f749983e | [
"MIT"
] | 1 | 2021-07-07T02:42:23.000Z | 2021-07-07T02:42:23.000Z | from django.urls import path
from django.conf import settings
from .views import UpdateHandler
from . import views
urlpatterns = [
path('webhook/', UpdateHandler.as_view(), name='update_handler_url'),
]
| 20.9 | 73 | 0.760766 | 27 | 209 | 5.777778 | 0.62963 | 0.128205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138756 | 209 | 9 | 74 | 23.222222 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.124402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 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 | 1 | 0 | 0 | 4 |
ede91838768aaebd85f9c1baef6c1a93b7fe696d | 42 | py | Python | code/abc046_a_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/abc046_a_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/abc046_a_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | c=list(input().split())
print(len(set(c))) | 21 | 23 | 0.642857 | 8 | 42 | 3.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 42 | 2 | 24 | 21 | 0.658537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 4 |
611e22bfaf389a02a87b01c101e32d917314eaac | 15,408 | py | Python | tests/test_mets_validation.py | eark-project/earchivingtoolbox | ac85bb708b6cfc1eb64b766a9a0dd4303ab66f6d | [
"MIT"
] | 1 | 2021-05-20T12:05:59.000Z | 2021-05-20T12:05:59.000Z | tests/test_mets_validation.py | eark-project/earchivingtoolbox | ac85bb708b6cfc1eb64b766a9a0dd4303ab66f6d | [
"MIT"
] | 1 | 2019-08-30T14:30:14.000Z | 2019-08-30T14:30:14.000Z | tests/test_mets_validation.py | eark-project/earchivingtoolbox | ac85bb708b6cfc1eb64b766a9a0dd4303ab66f6d | [
"MIT"
] | 1 | 2019-07-18T09:41:49.000Z | 2019-07-18T09:41:49.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import unittest
from eatb import ROOT
from eatb.metadata.mets.MetsValidation import MetsValidation
from tests.base import Base
from tests.test_utils import validate
class TestMetsRootElement(Base):
def test_csip1(self):
validation_result, _ = valid... | 40.229765 | 98 | 0.69756 | 2,002 | 15,408 | 5.054446 | 0.112388 | 0.268801 | 0.120368 | 0.120368 | 0.85799 | 0.837237 | 0.555687 | 0.555687 | 0.555687 | 0.555687 | 0 | 0.029477 | 0.185358 | 15,408 | 382 | 99 | 40.335079 | 0.776689 | 0.002726 | 0 | 0.300725 | 0 | 0 | 0.056431 | 0.005598 | 0 | 0 | 0 | 0 | 0.307971 | 1 | 0.311594 | false | 0 | 0.021739 | 0 | 0.358696 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6127a446c00ae81f22e0e1495917f97ede5992b7 | 225 | py | Python | src/utils/admin.py | VitalyPetrov/asgi-ml | c297df2e3365cb8fd36fb8048db31e8f16d96fe7 | [
"MIT"
] | 1 | 2020-10-09T16:04:43.000Z | 2020-10-09T16:04:43.000Z | src/utils/admin.py | VitalyPetrov/asgi-ml | c297df2e3365cb8fd36fb8048db31e8f16d96fe7 | [
"MIT"
] | null | null | null | src/utils/admin.py | VitalyPetrov/asgi-ml | c297df2e3365cb8fd36fb8048db31e8f16d96fe7 | [
"MIT"
] | null | null | null | import re
from fastapi import Request
SLUG_RE = re.compile(r"\W")
def get_version(request: Request):
return request.app.version
def get_slug(request: Request):
return SLUG_RE.sub("-", request.app.title.lower())
| 16.071429 | 54 | 0.72 | 34 | 225 | 4.647059 | 0.5 | 0.075949 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151111 | 225 | 13 | 55 | 17.307692 | 0.827225 | 0 | 0 | 0 | 0 | 0 | 0.013333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.285714 | 0.857143 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
fca9b7dbf7189f45a5400bcc4b555756cfa211a7 | 154 | py | Python | terrabot/packets/packet14.py | RootCellar/terrabot | 1b5222ed8d7c9d844d5514a969c102708057cd46 | [
"MIT"
] | 47 | 2015-11-24T21:28:01.000Z | 2022-02-23T18:10:01.000Z | terrabot/packets/packet14.py | RootCellar/terrabot | 1b5222ed8d7c9d844d5514a969c102708057cd46 | [
"MIT"
] | 5 | 2017-03-06T15:29:29.000Z | 2021-04-15T07:59:03.000Z | terrabot/packets/packet14.py | RootCellar/terrabot | 1b5222ed8d7c9d844d5514a969c102708057cd46 | [
"MIT"
] | 18 | 2016-10-02T10:29:18.000Z | 2021-12-09T21:27:27.000Z | import struct
from terrabot.util.streamer import Streamer
class Packet14Parser(object):
def parse(self, world, player, data, ev_man):
pass
| 17.111111 | 49 | 0.727273 | 20 | 154 | 5.55 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.194805 | 154 | 8 | 50 | 19.25 | 0.879032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
fcbecf10853e6b33f185d9717abcb2132547a405 | 2,500 | py | Python | bip_utils/addr/__init__.py | 3rdIteration/bip_utils | 84abeff9158618a0ecf9a059c19fd1a3d882e724 | [
"MIT"
] | null | null | null | bip_utils/addr/__init__.py | 3rdIteration/bip_utils | 84abeff9158618a0ecf9a059c19fd1a3d882e724 | [
"MIT"
] | null | null | null | bip_utils/addr/__init__.py | 3rdIteration/bip_utils | 84abeff9158618a0ecf9a059c19fd1a3d882e724 | [
"MIT"
] | null | null | null | from bip_utils.addr.iaddr_encoder import IAddrEncoder
from bip_utils.addr.algo_addr import AlgoAddrDecoder, AlgoAddrEncoder, AlgoAddr
from bip_utils.addr.atom_addr import AtomAddrDecoder, AtomAddrEncoder, AtomAddr
from bip_utils.addr.avax_addr import (
AvaxPChainAddrDecoder, AvaxPChainAddrEncoder, AvaxPChainAddr,
... | 59.52381 | 102 | 0.8616 | 274 | 2,500 | 7.667883 | 0.452555 | 0.086625 | 0.148501 | 0.198001 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028058 | 0.0876 | 2,500 | 41 | 103 | 60.97561 | 0.893029 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.634146 | 0 | 0.634146 | 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 | 1 | 0 | 0 | 4 |
fcc0d39b000a367a51e6a92250412ce4b92edda5 | 1,808 | py | Python | models.py | CVxTz/streamlit_demo | aa1a5046ceb926ca035844071545bf1e8338def4 | [
"MIT"
] | 1 | 2021-05-16T18:51:40.000Z | 2021-05-16T18:51:40.000Z | models.py | CVxTz/streamlit_demo | aa1a5046ceb926ca035844071545bf1e8338def4 | [
"MIT"
] | 2 | 2020-11-13T18:43:59.000Z | 2021-05-21T16:18:36.000Z | models.py | CVxTz/streamlit_demo | aa1a5046ceb926ca035844071545bf1e8338def4 | [
"MIT"
] | null | null | null | from tensorflow.keras.layers import (
Dense,
Input,
GlobalMaxPooling2D,
Convolution2D,
MaxPooling2D,
)
from tensorflow.keras.losses import categorical_crossentropy
from tensorflow.keras.models import Model
from tensorflow.keras.optimizers import Adam
def get_model_cnn(
input_shape=(None, None,... | 25.111111 | 78 | 0.670907 | 227 | 1,808 | 5.220264 | 0.23348 | 0.0827 | 0.064135 | 0.070886 | 0.744304 | 0.708017 | 0.708017 | 0.708017 | 0.620253 | 0.620253 | 0 | 0.043806 | 0.191925 | 1,808 | 71 | 79 | 25.464789 | 0.767283 | 0 | 0 | 0.576923 | 0 | 0 | 0.036504 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0.076923 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 4 |
fcc1495e99e40c791e71c731ff56a660f2c2fb6b | 688 | py | Python | tests/wasp1/AllAnswerSets/grounding_2.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 19 | 2015-12-03T08:53:45.000Z | 2022-03-31T02:09:43.000Z | tests/wasp1/AllAnswerSets/grounding_2.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 80 | 2017-11-25T07:57:32.000Z | 2018-06-10T19:03:30.000Z | tests/wasp1/AllAnswerSets/grounding_2.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 6 | 2015-01-15T07:51:48.000Z | 2020-06-18T14:47:48.000Z | input = """
n(1).
n(2).
n(3).
n(4).
a(1,2).
a(1,3).
a(4,3).
a(3,1).
a(2,3).
a(1,4).
b(1,2,1).
b(1,1,1).
b(2,1,2).
b(3,1,1).
b(2,2,2).
c(1,2,3,4).
c(1,2,3,5).
c(4,3,2,1).
c(1,2,4,3).
c(2,1,3,4).
d(1,2,3,4,5).
d(5,4,3,2,1).
d(1,2,3,5,1).
%p(X,Y) v q(X,Z) v r(X,Y,Z,U,W) :- n(X), a(X,Y), b(X,Y,Z), c(X,Y,Z,U),
%d(X,Y,... | 17.2 | 288 | 0.388081 | 254 | 688 | 1.051181 | 0.086614 | 0.11985 | 0.089888 | 0.059925 | 0.636704 | 0.460674 | 0.363296 | 0.273408 | 0.153558 | 0.153558 | 0 | 0.248748 | 0.12936 | 688 | 39 | 289 | 17.641026 | 0.196995 | 0 | 0 | 0.064516 | 0 | 0.096774 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fcd18a98f0ee9fa69d8912af6981400257fc0308 | 74 | py | Python | code-basic/dsa2.py | shilpasayura/bk | 2b0a1aa9300da80e201264bcf80226b3c5ff4ad6 | [
"MIT"
] | 4 | 2018-09-08T10:30:27.000Z | 2021-07-23T07:59:24.000Z | code-basic/dsa2.py | shilpasayura/bk | 2b0a1aa9300da80e201264bcf80226b3c5ff4ad6 | [
"MIT"
] | null | null | null | code-basic/dsa2.py | shilpasayura/bk | 2b0a1aa9300da80e201264bcf80226b3c5ff4ad6 | [
"MIT"
] | 6 | 2018-09-07T05:54:17.000Z | 2021-07-23T07:59:25.000Z | N=10
for x in range (N):
for y in range (N):
print (x,y,x*y)
| 12.333333 | 24 | 0.486486 | 17 | 74 | 2.117647 | 0.470588 | 0.388889 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.351351 | 74 | 5 | 25 | 14.8 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 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 | 4 |
fcec3d737c65c40996d62b75efc6334d693243e4 | 40,137 | py | Python | GUI/resource.py | xqm32/TikTokDownload | e2bc2fb709181ce7d682ad2b7ff8171c0f077cd5 | [
"MIT"
] | 1 | 2022-02-12T16:48:08.000Z | 2022-02-12T16:48:08.000Z | GUI/resource.py | xqm32/TikTokDownload | e2bc2fb709181ce7d682ad2b7ff8171c0f077cd5 | [
"MIT"
] | null | null | null | GUI/resource.py | xqm32/TikTokDownload | e2bc2fb709181ce7d682ad2b7ff8171c0f077cd5 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.15.2)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x22\x3e\
\x3c\
\x3f\x78\x6d\x6c\x20\x76\x65\x72\x73\x69\x6f\x6e\x3d\x22\x31\x2e\
\x30\x22\x20\x... | 61.844376 | 129 | 0.727035 | 9,644 | 40,137 | 3.021879 | 0.030071 | 0.14844 | 0.109632 | 0.028412 | 0.78832 | 0.683011 | 0.585389 | 0.509728 | 0.457949 | 0.380537 | 0 | 0.40164 | 0.018337 | 40,137 | 648 | 130 | 61.939815 | 0.338012 | 0.003787 | 0 | 0.022152 | 0 | 0.935127 | 0.000025 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.003165 | false | 0 | 0.001582 | 0 | 0.004747 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1e0a8c5a36caea7d8ca451f9975938918b2a67ad | 85 | py | Python | syapp/apps.py | lllllaurel/jujiaodata | 96bbd9386ba0746a0cccd0f1976098115f74ffb3 | [
"MIT"
] | null | null | null | syapp/apps.py | lllllaurel/jujiaodata | 96bbd9386ba0746a0cccd0f1976098115f74ffb3 | [
"MIT"
] | null | null | null | syapp/apps.py | lllllaurel/jujiaodata | 96bbd9386ba0746a0cccd0f1976098115f74ffb3 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class SyappConfig(AppConfig):
name = 'syapp'
| 14.166667 | 33 | 0.741176 | 10 | 85 | 6.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 85 | 5 | 34 | 17 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 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 | 1 | 0 | 0 | 4 |
1e31bb3b3fa76a2a42bd77f820df36a0d97a8ed4 | 1,674 | py | Python | pywally/tests/test_bip39.py | LeoComandini/libwally-py | 416799c6007389c43bbec0acf4b2b8aa25698586 | [
"MIT"
] | 5 | 2019-11-24T15:36:28.000Z | 2021-09-04T09:42:04.000Z | pywally/tests/test_bip39.py | LeoComandini/libwally-py | 416799c6007389c43bbec0acf4b2b8aa25698586 | [
"MIT"
] | null | null | null | pywally/tests/test_bip39.py | LeoComandini/libwally-py | 416799c6007389c43bbec0acf4b2b8aa25698586 | [
"MIT"
] | 3 | 2019-11-24T15:36:33.000Z | 2021-02-19T09:39:37.000Z | import unittest
from pywally.bip39 import (
entropy_to_mnemonic,
mnemonic_to_entropy,
mnemonic_to_seed,
is_mnemonic_valid,
InvalidEntropy,
InvalidMnemonic,
)
from pywally.util import h2b
class TestBip39(unittest.TestCase):
def test_valid(self):
"""Valid mnemonic"""
# http... | 38.930233 | 137 | 0.728196 | 157 | 1,674 | 7.573248 | 0.292994 | 0.247267 | 0.335576 | 0.400336 | 0.266611 | 0.231287 | 0.148865 | 0.148865 | 0.148865 | 0.148865 | 0 | 0.118834 | 0.200717 | 1,674 | 42 | 138 | 39.857143 | 0.769806 | 0.08184 | 0 | 0 | 0 | 0 | 0.254593 | 0.127297 | 0 | 0 | 0 | 0 | 0.266667 | 1 | 0.066667 | false | 0.066667 | 0.1 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
1e85393edd78474f1b537abd6d05b80b9a6aedfd | 126,322 | py | Python | final/logo_rc.py | dongjundev/HongsamMayiHelpyou | 6d5bd1f6c5b34c2f7c14473724e482b3970e276a | [
"MIT"
] | null | null | null | final/logo_rc.py | dongjundev/HongsamMayiHelpyou | 6d5bd1f6c5b34c2f7c14473724e482b3970e276a | [
"MIT"
] | null | null | null | final/logo_rc.py | dongjundev/HongsamMayiHelpyou | 6d5bd1f6c5b34c2f7c14473724e482b3970e276a | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.9.6)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x76\x46\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x02\x46\x0... | 64.780513 | 103 | 0.727245 | 30,538 | 126,322 | 3.00704 | 0.01002 | 0.00673 | 0.005488 | 0.004312 | 0.063967 | 0.049952 | 0.040042 | 0.030274 | 0.024622 | 0.017794 | 0 | 0.309488 | 0.016094 | 126,322 | 1,949 | 104 | 64.813751 | 0.429346 | 0.001195 | 0 | 0.005173 | 0 | 0.982411 | 0.000032 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.001035 | false | 0 | 0.000517 | 0 | 0.001552 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1e8766665c804f994c02066e8487c88aaf7f3ab8 | 56 | py | Python | server.py | jvdgoltz/mini-bot | ca51f37bfd8d53eaedac4df4ebba6be6ed0eeacf | [
"MIT"
] | null | null | null | server.py | jvdgoltz/mini-bot | ca51f37bfd8d53eaedac4df4ebba6be6ed0eeacf | [
"MIT"
] | null | null | null | server.py | jvdgoltz/mini-bot | ca51f37bfd8d53eaedac4df4ebba6be6ed0eeacf | [
"MIT"
] | null | null | null | # Here we make the server for a remote controlled robot
| 28 | 55 | 0.785714 | 10 | 56 | 4.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196429 | 56 | 1 | 56 | 56 | 0.977778 | 0.946429 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1ea9607053b6c0358f5b89b92c09039decb4174c | 152 | py | Python | ip_changer.py | 5l1v3r1/whatsapp-auto | f725a109f0918616076f94b5f671c690c200cb79 | [
"Apache-2.0"
] | 5 | 2021-03-28T02:36:16.000Z | 2021-11-14T19:52:28.000Z | ip_changer.py | finesoft2009/whatsapp-auto | f725a109f0918616076f94b5f671c690c200cb79 | [
"Apache-2.0"
] | null | null | null | ip_changer.py | finesoft2009/whatsapp-auto | f725a109f0918616076f94b5f671c690c200cb79 | [
"Apache-2.0"
] | 2 | 2020-03-20T11:22:18.000Z | 2021-03-28T02:36:17.000Z | import os
ip = input('Give any static ip you want assigned ranging from (1, 253)--->> ')
os.system('networksetup -setmanualwithdhcprouter Wi-Fi '+ip)
| 25.333333 | 78 | 0.717105 | 22 | 152 | 4.954545 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030769 | 0.144737 | 152 | 5 | 79 | 30.4 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0.710526 | 0.157895 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1ec619dc429f1f2f87bfc20ad9ac09778701f436 | 491 | py | Python | experiment/decision_tree/planners/core.py | junkilee/stable-baselines3 | e191f08673afb8c432a73469a837b060d71e2d1f | [
"MIT"
] | null | null | null | experiment/decision_tree/planners/core.py | junkilee/stable-baselines3 | e191f08673afb8c432a73469a837b060d71e2d1f | [
"MIT"
] | null | null | null | experiment/decision_tree/planners/core.py | junkilee/stable-baselines3 | e191f08673afb8c432a73469a837b060d71e2d1f | [
"MIT"
] | null | null | null | """Contains core classes for planners
Code structures are borrowed from simple_rl(https://github.com/david-abel/simple_rl)
"""
from abc import ABC, abstractmethod
class Planner(ABC):
def __init__(self, name: str):
self._name = name
@property
def name(self):
return self._name
@abstra... | 18.884615 | 84 | 0.651731 | 61 | 491 | 5.032787 | 0.557377 | 0.104235 | 0.091205 | 0.117264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.254582 | 491 | 25 | 85 | 19.64 | 0.838798 | 0.244399 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.133333 | 0.066667 | 0.133333 | 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 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
1edbf3e9d2c1edfeebc4e20b85a57b879064aece | 361 | py | Python | medusa_website/osce_bank/views/__init__.py | DeakinMeDUSA/medusa_website | 2f865a34ca29b42f4376623659f0e5b3a457769d | [
"MIT"
] | 1 | 2021-06-20T22:55:51.000Z | 2021-06-20T22:55:51.000Z | medusa_website/osce_bank/views/__init__.py | cfculhane/medusa_website | dd478c8f3d4ccefd048fd819a1dd6fa4a1f4f6d4 | [
"MIT"
] | null | null | null | medusa_website/osce_bank/views/__init__.py | cfculhane/medusa_website | dd478c8f3d4ccefd048fd819a1dd6fa4a1f4f6d4 | [
"MIT"
] | null | null | null | from .history import OSCEHistoryView
from .osce_base import OSCEIndexRedirectView, OSCEIndexView
from .osce_run import OSCERunView
from .osce_station import (
OSCEStationCreateView,
OSCEStationDetailView,
OSCEStationListEditView,
OSCEStationListView,
OSCEStationMarkFlaggedView,
OSCEStationMarkRe... | 27.769231 | 59 | 0.814404 | 26 | 361 | 11.192308 | 0.692308 | 0.082474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146814 | 361 | 12 | 60 | 30.083333 | 0.944805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1edd0e4ae470f3285668ea829b471e97d73a9cbd | 53 | py | Python | test/files/legaluri/beslut-jk-basic.py | redhog/ferenda | 6935e26fdc63adc68b8e852292456b8d9155b1f7 | [
"BSD-2-Clause"
] | 18 | 2015-03-12T17:42:44.000Z | 2021-12-27T10:32:22.000Z | test/files/legaluri/beslut-jk-basic.py | redhog/ferenda | 6935e26fdc63adc68b8e852292456b8d9155b1f7 | [
"BSD-2-Clause"
] | 13 | 2016-01-27T10:19:07.000Z | 2021-12-13T20:24:36.000Z | test/files/legaluri/beslut-jk-basic.py | redhog/ferenda | 6935e26fdc63adc68b8e852292456b8d9155b1f7 | [
"BSD-2-Clause"
] | 6 | 2016-11-28T15:41:29.000Z | 2022-01-08T11:16:48.000Z | {'dnr': '1075-02-40', 'myndighet': 'jk', 'type': 8}
| 26.5 | 52 | 0.509434 | 8 | 53 | 3.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 0.132075 | 53 | 1 | 53 | 53 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
948ec0ee5df6c809c42f092022ea195f57880354 | 66 | py | Python | 题源分类/剑指offer/python/[剑指 Offer 第 2 版第 50_2 题] “字符流中第一个不重复的字符”.py | ZhengyangXu/Algorithm-Daily-Practice | 3017a3d476fc9a857026190ea4fae2911058df59 | [
"MIT"
] | null | null | null | 题源分类/剑指offer/python/[剑指 Offer 第 2 版第 50_2 题] “字符流中第一个不重复的字符”.py | ZhengyangXu/Algorithm-Daily-Practice | 3017a3d476fc9a857026190ea4fae2911058df59 | [
"MIT"
] | null | null | null | 题源分类/剑指offer/python/[剑指 Offer 第 2 版第 50_2 题] “字符流中第一个不重复的字符”.py | ZhengyangXu/Algorithm-Daily-Practice | 3017a3d476fc9a857026190ea4fae2911058df59 | [
"MIT"
] | null | null | null | # 面试题35:第一个只出现一次的字符
# 题目:在字符串中找出第一个只出现一次的字符。如输入"abaccdeff",则输出'b'。 | 33 | 46 | 0.787879 | 8 | 66 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0.045455 | 66 | 2 | 46 | 33 | 0.793651 | 0.939394 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
94b388caaa49f3e766c760395702b5f04289e5e0 | 6,342 | py | Python | alembic/versions/4609e428f1eb_create_nbr_audits.py | bodastage/bts-database | 96df7915621dd46daf55016eedf5cfc84dd0e3a2 | [
"Apache-2.0"
] | 1 | 2019-08-30T01:20:14.000Z | 2019-08-30T01:20:14.000Z | alembic/versions/4609e428f1eb_create_nbr_audits.py | bodastage/bts-database | 96df7915621dd46daf55016eedf5cfc84dd0e3a2 | [
"Apache-2.0"
] | 1 | 2018-05-30T09:29:24.000Z | 2018-05-30T10:04:37.000Z | alembic/versions/4609e428f1eb_create_nbr_audits.py | bodastage/bts-database | 96df7915621dd46daf55016eedf5cfc84dd0e3a2 | [
"Apache-2.0"
] | 3 | 2018-03-10T23:29:30.000Z | 2019-02-19T22:11:09.000Z | """Create NBR audit tables
Revision ID: 4609e428f1eb
Revises: a5ff5b06e303
Create Date: 2018-05-29 09:44:44.930000
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '4609e428f1eb'
down_revision = 'a5ff5b06e303'
branch_labels = None
depends_on = None
def upgrade... | 46.632353 | 225 | 0.665405 | 818 | 6,342 | 4.98044 | 0.139364 | 0.104075 | 0.086156 | 0.128866 | 0.835297 | 0.781051 | 0.771232 | 0.696367 | 0.621993 | 0.609475 | 0 | 0.025474 | 0.176758 | 6,342 | 135 | 226 | 46.977778 | 0.754836 | 0.034059 | 0 | 0.504762 | 0 | 0 | 0.273218 | 0.105952 | 0 | 0 | 0 | 0.007407 | 0 | 1 | 0.019048 | false | 0 | 0.019048 | 0 | 0.038095 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 4 |
94b75e1c5a6ea5b6d30aacb4775d0e7c4bc27da5 | 210 | py | Python | pyBrematic/utils/rand.py | d-Rickyy-b/Brematic-Controller | 878ace569ff7df0617a35f595cb74244c21ebb9c | [
"MIT"
] | 11 | 2018-05-02T21:31:57.000Z | 2021-11-09T11:40:47.000Z | pyBrematic/utils/rand.py | d-Rickyy-b/Brematic-Controller | 878ace569ff7df0617a35f595cb74244c21ebb9c | [
"MIT"
] | 20 | 2018-05-01T14:32:59.000Z | 2022-02-14T21:53:58.000Z | pyBrematic/utils/rand.py | d-Rickyy-b/Brematic-Controller | 878ace569ff7df0617a35f595cb74244c21ebb9c | [
"MIT"
] | 5 | 2018-11-08T15:35:48.000Z | 2020-12-27T18:28:44.000Z | # -*- coding: utf-8 -*-
from random import seed, randint
class Rand(object):
def __init__(self, generator_seed):
seed(generator_seed)
def next_bool(self):
return randint(0, 1) == 1
| 16.153846 | 39 | 0.62381 | 28 | 210 | 4.428571 | 0.714286 | 0.209677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 0.247619 | 210 | 12 | 40 | 17.5 | 0.759494 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
a2018994305b96a3adf3729d2aa01a1a399b4719 | 43 | py | Python | python/testData/postfix/isNone/function_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/postfix/isNone/function_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/postfix/isNone/function_after.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | def f(a):
if a is None:
<caret> | 14.333333 | 17 | 0.44186 | 8 | 43 | 2.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.418605 | 43 | 3 | 18 | 14.333333 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a203907979613baccbd145bd4665d8a6f67bb7ae | 54 | py | Python | custom_components/sony_4kuhd_gc/__init__.py | thom-brooke/ha-components | d8a3a06e2a2ddf1926a413a6d23cc1ba11db36df | [
"MIT"
] | null | null | null | custom_components/sony_4kuhd_gc/__init__.py | thom-brooke/ha-components | d8a3a06e2a2ddf1926a413a6d23cc1ba11db36df | [
"MIT"
] | null | null | null | custom_components/sony_4kuhd_gc/__init__.py | thom-brooke/ha-components | d8a3a06e2a2ddf1926a413a6d23cc1ba11db36df | [
"MIT"
] | null | null | null | """Sony Ultra HD BluRay player, via GC-100 IR port"""
| 27 | 53 | 0.685185 | 10 | 54 | 3.7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.166667 | 54 | 1 | 54 | 54 | 0.755556 | 0.87037 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a21399c12e28768ec7f23a3eec0fa598af4cb3d2 | 68 | py | Python | tests/__init__.py | OpenDroneMap/python-WebODM | e370cf31c37cd06764e4a0f69d3ce87ef55c9d56 | [
"MIT"
] | 20 | 2017-08-23T21:48:40.000Z | 2022-03-25T05:06:32.000Z | tests/__init__.py | Pandinosaurus/python-WebODM | e370cf31c37cd06764e4a0f69d3ce87ef55c9d56 | [
"MIT"
] | 139 | 2017-08-29T14:03:51.000Z | 2019-05-20T17:47:26.000Z | tests/__init__.py | Pandinosaurus/python-WebODM | e370cf31c37cd06764e4a0f69d3ce87ef55c9d56 | [
"MIT"
] | 9 | 2017-08-23T21:51:15.000Z | 2019-09-03T13:22:28.000Z | # -*- coding: utf-8 -*-
"""Unit test package for python-WebODM."""
| 17 | 42 | 0.588235 | 9 | 68 | 4.444444 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.161765 | 68 | 3 | 43 | 22.666667 | 0.684211 | 0.867647 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a217297c7383e67d9ea9a42ba0214c3404000dd9 | 3,596 | py | Python | carrentalsystem/crcapp/TestCases/Staff/test_staffInsert.py | ruchaidandev/car-rental-system-ifb299 | 478e955db4a8fe9e2dd434f4fa3e938e9bb32b46 | [
"MIT"
] | 2 | 2020-03-28T20:05:42.000Z | 2021-09-21T13:17:29.000Z | carrentalsystem/crcapp/TestCases/Staff/test_staffInsert.py | ruchaidandev/car-rental-system-ifb299 | 478e955db4a8fe9e2dd434f4fa3e938e9bb32b46 | [
"MIT"
] | null | null | null | carrentalsystem/crcapp/TestCases/Staff/test_staffInsert.py | ruchaidandev/car-rental-system-ifb299 | 478e955db4a8fe9e2dd434f4fa3e938e9bb32b46 | [
"MIT"
] | null | null | null | import unittest
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support.ui import Select
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from seleni... | 64.214286 | 152 | 0.698832 | 468 | 3,596 | 5.096154 | 0.213675 | 0.150943 | 0.256604 | 0.286792 | 0.690147 | 0.659539 | 0.404612 | 0.384486 | 0.353459 | 0.3174 | 0 | 0.020833 | 0.132369 | 3,596 | 55 | 153 | 65.381818 | 0.74359 | 0.715795 | 0 | 0 | 0 | 0 | 0.02238 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.733333 | 0 | 0.866667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a223b8a00e0e55351c69c1d048a7a1453901efd0 | 277 | py | Python | Algorithm/Naive/283Max of 3 Numbers.py | MartinYan623/Lint-Code | 57d2fa441d6496234615736e3f55d0b71aaa51dc | [
"MIT"
] | null | null | null | Algorithm/Naive/283Max of 3 Numbers.py | MartinYan623/Lint-Code | 57d2fa441d6496234615736e3f55d0b71aaa51dc | [
"MIT"
] | 1 | 2020-08-08T10:14:53.000Z | 2020-08-08T10:18:37.000Z | Algorithm/Naive/283Max of 3 Numbers.py | MartinYan623/Lint-Code | 57d2fa441d6496234615736e3f55d0b71aaa51dc | [
"MIT"
] | null | null | null | class Solution:
"""
@param num1: An integer
@param num2: An integer
@param num3: An integer
@return: an interger
"""
def maxOfThreeNumbers(self, num1, num2, num3):
# write your code here
return max(max(num1, num2), max(num2, num3))
| 23.083333 | 52 | 0.602888 | 35 | 277 | 4.771429 | 0.514286 | 0.161677 | 0.167665 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050505 | 0.285199 | 277 | 11 | 53 | 25.181818 | 0.792929 | 0.411552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
bf4b47a7555267bde411b7826158b0eb2f1de2fa | 332 | py | Python | test.py | ntuckertriplet/python-uwuifier | ba28ad44b771a4ca2f1b7e11b29130debf9768e4 | [
"MIT"
] | 1 | 2021-02-02T17:01:30.000Z | 2021-02-02T17:01:30.000Z | test.py | ntuckertriplet/python-uwuifier | ba28ad44b771a4ca2f1b7e11b29130debf9768e4 | [
"MIT"
] | null | null | null | test.py | ntuckertriplet/python-uwuifier | ba28ad44b771a4ca2f1b7e11b29130debf9768e4 | [
"MIT"
] | 1 | 2020-02-05T21:23:17.000Z | 2020-02-05T21:23:17.000Z | from uwuifier import uwuify
teststr = 'Brutally MURDER every SINGLE FUCKING DEVELOPER AT FREEDESKTOP!!! In other words, an official White Team so that things work properly? I signed up for only Iowa State contact for this, but I will split it into an error in lower right rack plugged in to.'
print(uwuify.uwuify_stri... | 66.4 | 264 | 0.792169 | 55 | 332 | 4.763636 | 0.854545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162651 | 332 | 5 | 265 | 66.4 | 0.942446 | 0 | 0 | 0 | 0 | 0.333333 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bf590bed89a658cf5a31be4dc79da7e2964dbc11 | 97 | py | Python | Hotel/apps/Registrador/apps.py | SebasttianVelez/Hotel-Data-Base | 921e73c5c4f1b7c4e0541717666d7e6b8c5ec878 | [
"MIT"
] | 1 | 2019-04-16T08:12:40.000Z | 2019-04-16T08:12:40.000Z | Hotel/apps/Registrador/apps.py | SebasttianVelez/Hotel-Data-Base | 921e73c5c4f1b7c4e0541717666d7e6b8c5ec878 | [
"MIT"
] | null | null | null | Hotel/apps/Registrador/apps.py | SebasttianVelez/Hotel-Data-Base | 921e73c5c4f1b7c4e0541717666d7e6b8c5ec878 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class RegistradorConfig(AppConfig):
name = 'Registrador'
| 16.166667 | 35 | 0.773196 | 10 | 97 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 36 | 19.4 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 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 | 1 | 0 | 0 | 4 |
bf66926957a94713a9f42b7e463fb5b880c76aaf | 158 | py | Python | out/production/cci/models/__init__.py | yjc9696/cci_PPP | 69cbf059c2f2c2d0de9ecba6865202f7e5e09998 | [
"MIT"
] | null | null | null | out/production/cci/models/__init__.py | yjc9696/cci_PPP | 69cbf059c2f2c2d0de9ecba6865202f7e5e09998 | [
"MIT"
] | null | null | null | out/production/cci/models/__init__.py | yjc9696/cci_PPP | 69cbf059c2f2c2d0de9ecba6865202f7e5e09998 | [
"MIT"
] | null | null | null | from .graphsage import GraphSAGE
from .gcn import GCN
from .gat import GAT
from .VAE import VAE
from .focalloss import FocalLoss
from .mmd import mix_rbf_mmd2 | 26.333333 | 32 | 0.816456 | 26 | 158 | 4.884615 | 0.423077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.14557 | 158 | 6 | 33 | 26.333333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bf89f5fce1dcad8189787b3ad29a114130f5af18 | 221 | py | Python | tests/development/source/binlog_source/binlog_parser/test_created_at.py | denssk/backup | 292d5f1b1a3765ce0ea8d3cab8bd1ae0c583f72e | [
"Apache-2.0"
] | 69 | 2016-06-29T16:13:55.000Z | 2022-03-21T06:38:37.000Z | tests/development/source/binlog_source/binlog_parser/test_created_at.py | denssk/backup | 292d5f1b1a3765ce0ea8d3cab8bd1ae0c583f72e | [
"Apache-2.0"
] | 237 | 2016-09-28T02:12:34.000Z | 2022-03-25T13:32:23.000Z | tests/development/source/binlog_source/binlog_parser/test_created_at.py | denssk/backup | 292d5f1b1a3765ce0ea8d3cab8bd1ae0c583f72e | [
"Apache-2.0"
] | 45 | 2017-01-04T21:20:27.000Z | 2021-12-29T10:42:22.000Z | from twindb_backup.source.binlog_source import BinlogParser
def test_created_at():
bp = BinlogParser(
'/tmp/mysql-bin.000001')
assert bp.name == 'mysql-bin.000001'
assert bp.created_at == 1533403742
| 24.555556 | 59 | 0.710407 | 29 | 221 | 5.241379 | 0.655172 | 0.118421 | 0.184211 | 0.263158 | 0.289474 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121547 | 0.180995 | 221 | 8 | 60 | 27.625 | 0.718232 | 0 | 0 | 0 | 0 | 0 | 0.167421 | 0.095023 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 0 | 1 | 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 | 4 |
bfc9b938356ff75e44a7b73a18b327acf38c277f | 184 | py | Python | apps/cards/admin.py | LimaGuilherme/django_graphql | 2b7fcb5feabfbc21aad78ab4086b3aa07622a2c4 | [
"MIT"
] | null | null | null | apps/cards/admin.py | LimaGuilherme/django_graphql | 2b7fcb5feabfbc21aad78ab4086b3aa07622a2c4 | [
"MIT"
] | null | null | null | apps/cards/admin.py | LimaGuilherme/django_graphql | 2b7fcb5feabfbc21aad78ab4086b3aa07622a2c4 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Card
class CardAdmin(admin.ModelAdmin):
list_display = ('deck', 'question', 'bucket')
admin.site.register(Card, CardAdmin)
| 18.4 | 49 | 0.744565 | 23 | 184 | 5.913043 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13587 | 184 | 9 | 50 | 20.444444 | 0.855346 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 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 | 1 | 0 | 0 | 4 |
44c7295115c4510eb8ce3c8512fc6fbe48d7a573 | 77 | py | Python | linkfix/config.py | fxjung/linkfix | 8e3de5759fda149dc4d96395f2d028ee3c47b63d | [
"MIT"
] | null | null | null | linkfix/config.py | fxjung/linkfix | 8e3de5759fda149dc4d96395f2d028ee3c47b63d | [
"MIT"
] | 3 | 2021-12-26T16:09:21.000Z | 2022-01-31T09:50:48.000Z | linkfix/config.py | fxjung/linkfix | 8e3de5759fda149dc4d96395f2d028ee3c47b63d | [
"MIT"
] | null | null | null | import dotmap
config = dotmap.DotMap
config.unit_fname = "linkfix.service"
| 12.833333 | 37 | 0.779221 | 10 | 77 | 5.9 | 0.7 | 0.40678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 77 | 5 | 38 | 15.4 | 0.880597 | 0 | 0 | 0 | 0 | 0 | 0.194805 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
44d3d87392a93921fe6ec3e52ea922c3faa7f779 | 125 | py | Python | python/pygimli/viewer/showdata.py | mjziebarth/gimli | 196ac4d6dd67e0326cccc44a87b367f64051e490 | [
"Apache-2.0"
] | 224 | 2015-02-20T21:36:24.000Z | 2022-03-30T07:27:43.000Z | python/pygimli/viewer/showdata.py | ivek1312/gimli | 5fafebb7c96dd0e04e2616df402fa27a01609d63 | [
"Apache-2.0"
] | 341 | 2015-05-21T14:39:51.000Z | 2022-03-31T01:54:07.000Z | python/pygimli/viewer/showdata.py | ivek1312/gimli | 5fafebb7c96dd0e04e2616df402fa27a01609d63 | [
"Apache-2.0"
] | 107 | 2015-01-24T14:40:21.000Z | 2022-02-25T12:12:13.000Z | # -*- coding: utf-8 -*-
"""General methods to show data like structures. Maybe redundant (BERT).
no mpl specific stuff.
"""
| 20.833333 | 72 | 0.672 | 17 | 125 | 4.941176 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009615 | 0.168 | 125 | 5 | 73 | 25 | 0.798077 | 0.928 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
44e3e73c5bdfbad93d48d9ee7303ef6550c1cc5f | 272 | py | Python | icecoal/__init__.py | af8662/icecoal | eaf41e6012cf00000cfcb0f0bf3183a66f316a0b | [
"MIT"
] | 9 | 2020-04-24T11:07:10.000Z | 2021-08-15T18:40:43.000Z | icecoal/__init__.py | af8662/icecoal | eaf41e6012cf00000cfcb0f0bf3183a66f316a0b | [
"MIT"
] | null | null | null | icecoal/__init__.py | af8662/icecoal | eaf41e6012cf00000cfcb0f0bf3183a66f316a0b | [
"MIT"
] | 1 | 2021-05-28T11:17:07.000Z | 2021-05-28T11:17:07.000Z | """
Light weight SQL database
Usage::
>>> from icecoal import query
>>> result=query("select name from input.csv,heads.csv where native='usa'")
"""
from .icecoal import query,escape
from .utilfuns import setdel,getdel
__all__=['query','setdel','getdel','escape'] | 24.727273 | 79 | 0.705882 | 36 | 272 | 5.222222 | 0.638889 | 0.117021 | 0.180851 | 0.234043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136029 | 272 | 11 | 80 | 24.727273 | 0.8 | 0.540441 | 0 | 0 | 0 | 0 | 0.194915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
44ffaf85eeeb406d9f200b7f03f154cb59a6e53b | 179 | py | Python | qsstats/compat.py | AlanCoding/django-qsstats-magic | c0569b2842e1edfc4a3c52e9395ec35c2065cae2 | [
"BSD-3-Clause"
] | 27 | 2017-07-25T09:41:23.000Z | 2022-02-08T01:41:48.000Z | qsstats/compat.py | AlanCoding/django-qsstats-magic | c0569b2842e1edfc4a3c52e9395ec35c2065cae2 | [
"BSD-3-Clause"
] | 3 | 2017-07-26T09:08:34.000Z | 2021-01-07T06:26:36.000Z | qsstats/compat.py | AlanCoding/django-qsstats-magic | c0569b2842e1edfc4a3c52e9395ec35c2065cae2 | [
"BSD-3-Clause"
] | 12 | 2015-08-10T07:20:43.000Z | 2017-07-19T13:53:23.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
import datetime
try:
from django.utils.timezone import now
except ImportError:
now = datetime.datetime.now
| 19.888889 | 41 | 0.743017 | 23 | 179 | 5.565217 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006711 | 0.167598 | 179 | 8 | 42 | 22.375 | 0.852349 | 0.117318 | 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 | 1 | 0 | 0 | 4 |
7806a1c00f181f0b778b546d2aef12e0624526dc | 237 | py | Python | src/satlas2/__init__.py | woutergins/satlas2 | 51afdc445c8c603372bb26abe19d1eb7bd3f3f24 | [
"MIT"
] | null | null | null | src/satlas2/__init__.py | woutergins/satlas2 | 51afdc445c8c603372bb26abe19d1eb7bd3f3f24 | [
"MIT"
] | null | null | null | src/satlas2/__init__.py | woutergins/satlas2 | 51afdc445c8c603372bb26abe19d1eb7bd3f3f24 | [
"MIT"
] | null | null | null | from .core import *
from . import core
from .overwrite import *
from . import overwrite
from .plotting import *
from . import plotting
from .models import *
from . import models
from . import _version
__version__ = _version.version
| 14.8125 | 30 | 0.751055 | 30 | 237 | 5.733333 | 0.233333 | 0.290698 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185654 | 237 | 15 | 31 | 15.8 | 0.891192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.9 | 0 | 0.9 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7830a22692795360e2a0ce475099bbf874a1b126 | 91 | py | Python | connpapi/apps.py | MatsLanGoH/dj-connpass | 1166c5027be0d97b99b542ae293d1c2220880136 | [
"MIT"
] | 1 | 2017-11-17T09:24:42.000Z | 2017-11-17T09:24:42.000Z | connpapi/apps.py | MatsLanGoH/dj-connpass | 1166c5027be0d97b99b542ae293d1c2220880136 | [
"MIT"
] | 6 | 2020-02-12T01:26:34.000Z | 2022-01-06T22:24:59.000Z | connpapi/apps.py | MatsLanGoH/dj-connpass | 1166c5027be0d97b99b542ae293d1c2220880136 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ConnpapiConfig(AppConfig):
name = 'connpapi'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 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 | 1 | 0 | 0 | 4 |
7835591c7e5354708869fd95e6cd5be2e6de98e1 | 298 | py | Python | handlers/users/__init__.py | vlsh1n/ChatBot_PlekhanovUniversity | fa28ee623a2f020b5ddddb45655444bc537f0c53 | [
"MIT"
] | null | null | null | handlers/users/__init__.py | vlsh1n/ChatBot_PlekhanovUniversity | fa28ee623a2f020b5ddddb45655444bc537f0c53 | [
"MIT"
] | null | null | null | handlers/users/__init__.py | vlsh1n/ChatBot_PlekhanovUniversity | fa28ee623a2f020b5ddddb45655444bc537f0c53 | [
"MIT"
] | null | null | null | from . import help
from . import cv
from . import cv_cats
from . import feedback_handler
from . import contacts
from . import contacts_categories
from . import schedule_handler
from . import mainblock
from . import start
from . import echo
# Здесь мы регистрируем подгруппы хэндлеров группы users
| 22.923077 | 56 | 0.798658 | 41 | 298 | 5.707317 | 0.487805 | 0.42735 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16443 | 298 | 12 | 57 | 24.833333 | 0.939759 | 0.181208 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
783d4787b8ea29174bf008c82957fca0a743d917 | 409 | py | Python | preprocessing/cleaning/NegationHandling.py | mrForest13/sentiment-analysis | f747800b78dbf5d9c598d52cbe9f92a44b90cc42 | [
"Apache-2.0"
] | null | null | null | preprocessing/cleaning/NegationHandling.py | mrForest13/sentiment-analysis | f747800b78dbf5d9c598d52cbe9f92a44b90cc42 | [
"Apache-2.0"
] | null | null | null | preprocessing/cleaning/NegationHandling.py | mrForest13/sentiment-analysis | f747800b78dbf5d9c598d52cbe9f92a44b90cc42 | [
"Apache-2.0"
] | null | null | null | from preprocessing.Processor import Processor
from preprocessing.negations import Negations
class NegationHandlingProcessor(Processor):
def process(self, data):
data['text'] = self.transform_negations(data)
return self.next_processor.process(data)
@staticmethod
def transform_negations(d... | 27.266667 | 82 | 0.748166 | 45 | 409 | 6.711111 | 0.488889 | 0.112583 | 0.145695 | 0.18543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161369 | 409 | 14 | 83 | 29.214286 | 0.880466 | 0 | 0 | 0 | 0 | 0 | 0.01956 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
78a6d3b451909ed30f8ecaa684f5a3ea03c77fa8 | 32 | py | Python | dataprep/tests/datasets/__init__.py | Waterpine/dataprep-1 | 4032acb1d1f2c413d4cb000d17e8ffa611315f9f | [
"MIT"
] | 1,229 | 2019-12-21T02:58:59.000Z | 2022-03-30T08:12:33.000Z | dataprep/tests/datasets/__init__.py | Waterpine/dataprep-1 | 4032acb1d1f2c413d4cb000d17e8ffa611315f9f | [
"MIT"
] | 680 | 2019-12-19T06:09:23.000Z | 2022-03-31T04:15:25.000Z | dataprep/tests/datasets/__init__.py | Waterpine/dataprep-1 | 4032acb1d1f2c413d4cb000d17e8ffa611315f9f | [
"MIT"
] | 170 | 2020-01-08T03:27:26.000Z | 2022-03-20T20:42:55.000Z | """
dataprep.datasets tests
"""
| 8 | 23 | 0.65625 | 3 | 32 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 3 | 24 | 10.666667 | 0.75 | 0.71875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
152052b733de26cc1d5b7e00eb783f8eb8191ce0 | 87 | py | Python | tcn/__init__.py | BlaiMelendezCatalan/keras-tcn | 447de908e30263b450cb8f1129a0c2af3a0d0586 | [
"MIT"
] | null | null | null | tcn/__init__.py | BlaiMelendezCatalan/keras-tcn | 447de908e30263b450cb8f1129a0c2af3a0d0586 | [
"MIT"
] | null | null | null | tcn/__init__.py | BlaiMelendezCatalan/keras-tcn | 447de908e30263b450cb8f1129a0c2af3a0d0586 | [
"MIT"
] | null | null | null | from tcn.tcn import TCN, compiled_tcn, tcn_full_summary # noqa
__version__ = '3.2.1'
| 21.75 | 63 | 0.747126 | 15 | 87 | 3.866667 | 0.733333 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040541 | 0.149425 | 87 | 3 | 64 | 29 | 0.743243 | 0.045977 | 0 | 0 | 0 | 0 | 0.061728 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
1527f690b0467792ab9f79082d13964372a669a9 | 56 | py | Python | index.py | cicihou/test2018 | 34cde1b03e476447464a9c16ec2c242040ba549f | [
"MIT"
] | null | null | null | index.py | cicihou/test2018 | 34cde1b03e476447464a9c16ec2c242040ba549f | [
"MIT"
] | null | null | null | index.py | cicihou/test2018 | 34cde1b03e476447464a9c16ec2c242040ba549f | [
"MIT"
] | null | null | null | num1 =10
num2 = 20
num3 = 30
num4 = 100
num5 = 'orz'
| 6.222222 | 12 | 0.571429 | 10 | 56 | 3.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.358974 | 0.303571 | 56 | 8 | 13 | 7 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
152f91fa12f2897473c66f5157d0c80368fec32a | 56 | py | Python | src/main/resources/assets/openpython/opos/v1.1/lib/internal/re.py | fossabot/OpenPython | 8fe3f794f2a6c543d96c1ef5c097ffa18f90b680 | [
"PSF-2.0",
"Apache-2.0",
"CC0-1.0",
"MIT"
] | 41 | 2018-10-25T06:15:31.000Z | 2022-02-20T11:20:43.000Z | src/main/resources/assets/openpython/opos/v1.1/lib/internal/re.py | fossabot/OpenPython | 8fe3f794f2a6c543d96c1ef5c097ffa18f90b680 | [
"PSF-2.0",
"Apache-2.0",
"CC0-1.0",
"MIT"
] | 16 | 2018-03-20T12:25:27.000Z | 2018-03-25T13:34:44.000Z | src/main/resources/assets/openpython/opos/v1.1/lib/internal/re.py | fossabot/OpenPython | 8fe3f794f2a6c543d96c1ef5c097ffa18f90b680 | [
"PSF-2.0",
"Apache-2.0",
"CC0-1.0",
"MIT"
] | 8 | 2018-11-04T02:03:15.000Z | 2022-01-13T11:46:28.000Z | # noinspection PyUnresolvedReferences
from ure import *
| 18.666667 | 37 | 0.839286 | 5 | 56 | 9.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 56 | 2 | 38 | 28 | 0.959184 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
153f8c7ba1d2983eaa1839eb48d569c8eaf785cb | 246 | py | Python | dataset/waveform/waveform_configs.py | ariel415el/SoundEventDetection | 22591921bb84aace01ae4605506fb95892935689 | [
"Apache-2.0"
] | 4 | 2021-06-23T03:29:21.000Z | 2021-12-29T08:19:01.000Z | dataset/waveform/waveform_configs.py | ariel415el/SoundEventDetection-Pytorch | 22591921bb84aace01ae4605506fb95892935689 | [
"Apache-2.0"
] | null | null | null | dataset/waveform/waveform_configs.py | ariel415el/SoundEventDetection-Pytorch | 22591921bb84aace01ae4605506fb95892935689 | [
"Apache-2.0"
] | null | null | null | from utils.common import human_format
from dataset.common_config import *
cfg_descriptor = f"WaveForm_SaR-{human_format(working_sample_rate)}_FrS-{human_format(frame_size)}" \
f"_HoS-{human_format(hop_size)}_Ch-{audio_channels}" | 49.2 | 101 | 0.768293 | 35 | 246 | 4.971429 | 0.685714 | 0.252874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 246 | 5 | 102 | 49.2 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0.518219 | 0.518219 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1547905bf489bf66225bb63c59680d9611724c0f | 97 | py | Python | FarmerLink/ussdConnect/apps.py | DeeMATT/FarmerLink | efd64cfa37ca85b2c4aad89f281aafaff8feb8c2 | [
"MIT"
] | null | null | null | FarmerLink/ussdConnect/apps.py | DeeMATT/FarmerLink | efd64cfa37ca85b2c4aad89f281aafaff8feb8c2 | [
"MIT"
] | null | null | null | FarmerLink/ussdConnect/apps.py | DeeMATT/FarmerLink | efd64cfa37ca85b2c4aad89f281aafaff8feb8c2 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class UssdconnectConfig(AppConfig):
name = 'ussdConnect'
| 16.166667 | 35 | 0.773196 | 10 | 97 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 36 | 19.4 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 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 | 1 | 0 | 0 | 4 |
154bf776d8279c9546dfbb251ca5d9003b6abdd8 | 197 | py | Python | Musofirlar.Website/src/work/urls.py | SanjarbekSaminjonov/Musofirlar.uz | aab647e06c2f06979408d8f2d2a78758a8b3c65c | [
"Apache-2.0"
] | 3 | 2021-12-22T09:01:50.000Z | 2021-12-23T18:29:12.000Z | Musofirlar.Website/src/work/urls.py | SanjarbekSaminjonov/Musofirlar.uz | aab647e06c2f06979408d8f2d2a78758a8b3c65c | [
"Apache-2.0"
] | null | null | null | Musofirlar.Website/src/work/urls.py | SanjarbekSaminjonov/Musofirlar.uz | aab647e06c2f06979408d8f2d2a78758a8b3c65c | [
"Apache-2.0"
] | 1 | 2021-12-28T06:15:33.000Z | 2021-12-28T06:15:33.000Z | from django.urls import path
from . import views
urlpatterns = [
path('work/', views.work_home, name='work_home'),
path('mobile/work/', views.mobile_work_home, name='mobile_work_home'),
]
| 24.625 | 74 | 0.71066 | 28 | 197 | 4.785714 | 0.392857 | 0.238806 | 0.179104 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137056 | 197 | 7 | 75 | 28.142857 | 0.788235 | 0 | 0 | 0 | 0 | 0 | 0.213198 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
1557b865384d362d705d70213d7bca369bdfea8e | 597 | py | Python | chap04/char_picture_grid.py | asadmoosvi/automate-the-boring-stuff-solutions | 36c9fdf6706db64338e075a3367c4493bb62960f | [
"MIT"
] | null | null | null | chap04/char_picture_grid.py | asadmoosvi/automate-the-boring-stuff-solutions | 36c9fdf6706db64338e075a3367c4493bb62960f | [
"MIT"
] | null | null | null | chap04/char_picture_grid.py | asadmoosvi/automate-the-boring-stuff-solutions | 36c9fdf6706db64338e075a3367c4493bb62960f | [
"MIT"
] | null | null | null | import sys
def main() -> int:
grid = [
['.', '.', '.', '.', '.', '.'],
['.', 'O', 'O', '.', '.', '.'],
['O', 'O', 'O', 'O', '.', '.'],
['O', 'O', 'O', 'O', 'O', '.'],
['.', 'O', 'O', 'O', 'O', 'O'],
['O', 'O', 'O', 'O', 'O', '.'],
['O', 'O', 'O', 'O', '.', '.... | 23.88 | 39 | 0.237856 | 60 | 597 | 2.233333 | 0.333333 | 0.38806 | 0.559701 | 0.716418 | 0.201493 | 0.201493 | 0.201493 | 0.201493 | 0.201493 | 0.201493 | 0 | 0.005115 | 0.345059 | 597 | 24 | 40 | 24.875 | 0.337596 | 0 | 0 | 0.4 | 0 | 0 | 0.103853 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.05 | false | 0 | 0.05 | 0 | 0.15 | 0.1 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
155d6234e025c92941f03f7ce3ec5dc48acf74d7 | 19,324 | py | Python | main.py | internetmosquito/amazon_product_searcher | a8e7deccf2525f3f6ce39dfa9a266fb809c6f977 | [
"MIT"
] | null | null | null | main.py | internetmosquito/amazon_product_searcher | a8e7deccf2525f3f6ce39dfa9a266fb809c6f977 | [
"MIT"
] | null | null | null | main.py | internetmosquito/amazon_product_searcher | a8e7deccf2525f3f6ce39dfa9a266fb809c6f977 | [
"MIT"
] | null | null | null | __author__ = 'mosquito'
import logging
from logging import Formatter, FileHandler
from amazon.api import AmazonAPI
import bottlenose.api
import urllib2
from urllib2 import URLError
from scrapy.selector import Selector
import json
import os
import sys
from time import sleep
import xlwt
from view.button import Button
fro... | 43.522523 | 123 | 0.520751 | 2,070 | 19,324 | 4.68744 | 0.155072 | 0.086571 | 0.06297 | 0.096877 | 0.739565 | 0.718644 | 0.702257 | 0.683294 | 0.66969 | 0.653818 | 0 | 0.027161 | 0.394121 | 19,324 | 443 | 124 | 43.620767 | 0.801589 | 0.033896 | 0 | 0.690691 | 0 | 0.006006 | 0.094248 | 0.011803 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.045045 | null | null | 0.033033 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
15ad50618190438a0474eb2d29b503c46b4fe8d6 | 48 | py | Python | idefix/__init__.py | h3/django-idefix | b31625d596829b8ed1b18423add46f4aa14b300e | [
"BSD-3-Clause"
] | 2 | 2017-02-03T03:38:50.000Z | 2017-03-30T05:39:03.000Z | idefix/__init__.py | h3/django-idefix | b31625d596829b8ed1b18423add46f4aa14b300e | [
"BSD-3-Clause"
] | null | null | null | idefix/__init__.py | h3/django-idefix | b31625d596829b8ed1b18423add46f4aa14b300e | [
"BSD-3-Clause"
] | null | null | null | default_app_config = 'idefix.apps.IdefixConfig'
| 24 | 47 | 0.833333 | 6 | 48 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 48 | 1 | 48 | 48 | 0.844444 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0.5 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
15bf3306a00f0531da25e180467d476f7ae763b7 | 30 | py | Python | streamparse/ext/__init__.py | mdemaster/mdemaster_w205_exercise2 | 0030d78d674840f848250bff970824a1d49587fb | [
"Apache-2.0"
] | 1 | 2015-06-08T23:05:04.000Z | 2015-06-08T23:05:04.000Z | streamparse/ext/__init__.py | singhdev/streamparse | 3ce614e85b6f5d663216348aa07a9c35a1a1e083 | [
"Apache-2.0"
] | 1 | 2020-06-25T07:11:18.000Z | 2020-06-25T07:11:18.000Z | streamparse/ext/__init__.py | singhdev/streamparse | 3ce614e85b6f5d663216348aa07a9c35a1a1e083 | [
"Apache-2.0"
] | null | null | null | """streamparse.ext package"""
| 15 | 29 | 0.7 | 3 | 30 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 30 | 1 | 30 | 30 | 0.75 | 0.766667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ec843dd3de544e5570d588bc83085f0f5add61a6 | 200 | py | Python | examples/dom_mdn/environment.py | xrg/behave_manners | 93cb570e04af870f3401048d26dd7f0e8350759e | [
"BSD-2-Clause"
] | 3 | 2020-02-02T11:11:44.000Z | 2021-11-17T22:21:18.000Z | examples/dom_mdn/environment.py | xrg/behave_manners | 93cb570e04af870f3401048d26dd7f0e8350759e | [
"BSD-2-Clause"
] | null | null | null | examples/dom_mdn/environment.py | xrg/behave_manners | 93cb570e04af870f3401048d26dd7f0e8350759e | [
"BSD-2-Clause"
] | null | null | null | #from behave_manners.site import WebSite
import logging
from behave_manners import site_setup
import time
def before_all(context):
site_setup(context, config=['config*.yaml', 'config2.yaml'])
| 18.181818 | 64 | 0.78 | 28 | 200 | 5.392857 | 0.571429 | 0.13245 | 0.225166 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005714 | 0.125 | 200 | 10 | 65 | 20 | 0.857143 | 0.195 | 0 | 0 | 0 | 0 | 0.151899 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ec92768000144d674e106ea1e16d12709c4512a6 | 35 | py | Python | nowcasting_utils/training/__init__.py | openclimatefix/nowcasting_utils | 7a45e9d24ce29693d96fd9c75a34ca1d205b64bc | [
"MIT"
] | 2 | 2021-12-20T15:56:40.000Z | 2022-02-09T07:31:27.000Z | nowcasting_utils/training/__init__.py | openclimatefix/nowcasting_utils | 7a45e9d24ce29693d96fd9c75a34ca1d205b64bc | [
"MIT"
] | 37 | 2021-09-08T14:36:00.000Z | 2022-02-16T20:05:24.000Z | nowcasting_utils/training/__init__.py | openclimatefix/nowcasting_utils | 7a45e9d24ce29693d96fd9c75a34ca1d205b64bc | [
"MIT"
] | null | null | null | """ General training functions """
| 17.5 | 34 | 0.685714 | 3 | 35 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.8 | 0.742857 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.