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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
089746b4196a10e91ae26e24b6752ee1b01dc452 | 25,561 | py | Python | bireme/oer/migrations/0001_initial.py | rfdeoliveira/fi-admin | c2df084c7e79d587e2273dc222f106fa243b7f6e | [
"MIT",
"Python-2.0",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | bireme/oer/migrations/0001_initial.py | rfdeoliveira/fi-admin | c2df084c7e79d587e2273dc222f106fa243b7f6e | [
"MIT",
"Python-2.0",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | bireme/oer/migrations/0001_initial.py | rfdeoliveira/fi-admin | c2df084c7e79d587e2273dc222f106fa243b7f6e | [
"MIT",
"Python-2.0",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
from django.conf import settings
import log.models
import utils.fields
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
('mai... | 62.80344 | 197 | 0.588396 | 2,609 | 25,561 | 5.5688 | 0.063243 | 0.134008 | 0.063184 | 0.084245 | 0.787735 | 0.753665 | 0.729094 | 0.703558 | 0.698603 | 0.693923 | 0 | 0.008729 | 0.251516 | 25,561 | 406 | 198 | 62.958128 | 0.750679 | 0.000822 | 0 | 0.6725 | 0 | 0 | 0.200172 | 0.009711 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005 | 0.0125 | 0 | 0.02 | 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 |
08ac9d0050f8129c9257d40ef27f9532385e2dbf | 36 | py | Python | src/__init__.py | power-edge/mlb_statsapi_etl | 9cca2ae059e8aab98ed460e7b71ad6eeeed09ffe | [
"Apache-2.0"
] | null | null | null | src/__init__.py | power-edge/mlb_statsapi_etl | 9cca2ae059e8aab98ed460e7b71ad6eeeed09ffe | [
"Apache-2.0"
] | null | null | null | src/__init__.py | power-edge/mlb_statsapi_etl | 9cca2ae059e8aab98ed460e7b71ad6eeeed09ffe | [
"Apache-2.0"
] | null | null | null | """
created by nikos at 6/24/21
"""
| 9 | 27 | 0.583333 | 7 | 36 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 0.194444 | 36 | 3 | 28 | 12 | 0.551724 | 0.75 | 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 |
08b71cc3f9120ece21af15349b2f89b49a6c8382 | 59 | py | Python | bibrecord/__init__.py | tillbiskup/bibrecord | 890f907d1d4235fbe04b85df5b4368a25a2b4ab5 | [
"BSD-2-Clause"
] | null | null | null | bibrecord/__init__.py | tillbiskup/bibrecord | 890f907d1d4235fbe04b85df5b4368a25a2b4ab5 | [
"BSD-2-Clause"
] | null | null | null | bibrecord/__init__.py | tillbiskup/bibrecord | 890f907d1d4235fbe04b85df5b4368a25a2b4ab5 | [
"BSD-2-Clause"
] | null | null | null | """bibrecord
Handling bib(tex) records for references.
""" | 14.75 | 41 | 0.728814 | 7 | 59 | 6.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 59 | 4 | 42 | 14.75 | 0.826923 | 0.881356 | 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 |
08c9e4e6c772a4ba530e892b6e7c97335f8bb3b2 | 1,048 | py | Python | mltk/core/preprocess/audio/audio_feature_generator/tests/test_audio_feature_generator.py | SiliconLabs/mltk | 56b19518187e9d1c8a0d275de137fc9058984a1f | [
"Zlib"
] | null | null | null | mltk/core/preprocess/audio/audio_feature_generator/tests/test_audio_feature_generator.py | SiliconLabs/mltk | 56b19518187e9d1c8a0d275de137fc9058984a1f | [
"Zlib"
] | 1 | 2021-11-19T20:10:09.000Z | 2021-11-19T20:10:09.000Z | mltk/core/preprocess/audio/audio_feature_generator/tests/test_audio_feature_generator.py | sldriedler/mltk | d82a60359cf875f542a2257f1bc7d8eb4bdaa204 | [
"Zlib"
] | null | null | null |
import numpy as np
from mltk.core.preprocess.audio.audio_feature_generator import AudioFeatureGenerator
from mltk.core.preprocess.audio.audio_feature_generator.tests.data import (
DEFAULT_SETTINGS,
YES_INPUT_AUDIO,
YES_OUTPUT_FEATURES_INT8,
NO_INPUT_AUDIO,
NO_OUTPUT_FEATURES_INT8
)
def test_yes... | 30.823529 | 104 | 0.767176 | 135 | 1,048 | 5.696296 | 0.288889 | 0.054616 | 0.093628 | 0.057217 | 0.782835 | 0.782835 | 0.782835 | 0.782835 | 0.657997 | 0.657997 | 0 | 0.013423 | 0.146947 | 1,048 | 33 | 105 | 31.757576 | 0.846756 | 0 | 0 | 0.347826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 1 | 0.086957 | false | 0 | 0.130435 | 0 | 0.217391 | 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 |
3e98422edac6e5268467862d80126bf418509d1d | 221 | py | Python | django_app/views.py | popenc/stack_example | 3ee6a98d68ad0d7adb9c4e44c3fc7a14052f74a6 | [
"MIT"
] | null | null | null | django_app/views.py | popenc/stack_example | 3ee6a98d68ad0d7adb9c4e44c3fc7a14052f74a6 | [
"MIT"
] | null | null | null | django_app/views.py | popenc/stack_example | 3ee6a98d68ad0d7adb9c4e44c3fc7a14052f74a6 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.template.loader import render_to_string
# Create your views here.
from django.http import HttpResponse
def test_page(request):
return render(request, "ws_test_page.html") | 27.625 | 51 | 0.823529 | 33 | 221 | 5.363636 | 0.666667 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108597 | 221 | 8 | 52 | 27.625 | 0.898477 | 0.104072 | 0 | 0 | 0 | 0 | 0.086294 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
3ecfb4c9948f9e3fe07c6dfcbf69f58d2b7740e1 | 124 | py | Python | brainbite/__init__.py | LouiS0616/brainbite | 573bc9a6103ad3f2525469b001ae30ba39739322 | [
"MIT"
] | null | null | null | brainbite/__init__.py | LouiS0616/brainbite | 573bc9a6103ad3f2525469b001ae30ba39739322 | [
"MIT"
] | null | null | null | brainbite/__init__.py | LouiS0616/brainbite | 573bc9a6103ad3f2525469b001ae30ba39739322 | [
"MIT"
] | null | null | null | from brainbite.biter.biter import Biter
from brainbite.transpiler import transpiler
name = 'brainbite'
__all__ = ['Biter']
| 20.666667 | 43 | 0.790323 | 15 | 124 | 6.266667 | 0.466667 | 0.276596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120968 | 124 | 5 | 44 | 24.8 | 0.862385 | 0 | 0 | 0 | 0 | 0 | 0.112903 | 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 |
3ed5c21f743906e54c1b717d8f712037683b4636 | 189 | py | Python | artificial_bias_experiments/known_prop_scores/scar/experiment_info.py | ML-KULeuven/KBC-as-PU-Learning | a00f606bd40ca06af0a5627e65a4582859976918 | [
"Apache-2.0"
] | 4 | 2021-12-14T16:13:47.000Z | 2022-01-21T13:14:14.000Z | artificial_bias_experiments/known_prop_scores/scar/experiment_info.py | ML-KULeuven/KBC-as-PU-Learning | a00f606bd40ca06af0a5627e65a4582859976918 | [
"Apache-2.0"
] | null | null | null | artificial_bias_experiments/known_prop_scores/scar/experiment_info.py | ML-KULeuven/KBC-as-PU-Learning | a00f606bd40ca06af0a5627e65a4582859976918 | [
"Apache-2.0"
] | null | null | null | from typing import NamedTuple
class KnownPropScoresSCARExperimentInfo(NamedTuple):
dataset_name: str
target_relation: str
true_label_frequency: float
is_pca_version: bool
| 21 | 52 | 0.793651 | 21 | 189 | 6.857143 | 0.904762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169312 | 189 | 8 | 53 | 23.625 | 0.917197 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
3edd4c90229f28048055a2486e2e015c896bc651 | 364 | py | Python | 06/01/Calendar/itermonthdays.py | pylangstudy/201709 | 53d868786d7327a83bfa7f4149549c6f9855a6c6 | [
"CC0-1.0"
] | null | null | null | 06/01/Calendar/itermonthdays.py | pylangstudy/201709 | 53d868786d7327a83bfa7f4149549c6f9855a6c6 | [
"CC0-1.0"
] | 32 | 2017-09-01T00:52:17.000Z | 2017-10-01T00:30:02.000Z | 06/01/Calendar/itermonthdays.py | pylangstudy/201709 | 53d868786d7327a83bfa7f4149549c6f9855a6c6 | [
"CC0-1.0"
] | null | null | null | import calendar
#itermonthdaysの戻り値
#書式: d
# d: 指定した月の日付。ただし指定月の前後月の場合は0になる
def itermonthdays(calendar): return calendar.itermonthdays(2017, 9)
for calendar in [calendar.Calendar(firstweekday=0), calendar.Calendar(firstweekday=6)]:
print('-----',calendar,'-----')
print(itermonthdays(calendar))
for weekday ... | 30.333333 | 87 | 0.747253 | 39 | 364 | 6.974359 | 0.487179 | 0.231618 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.10989 | 364 | 11 | 88 | 33.090909 | 0.814815 | 0.148352 | 0 | 0 | 0 | 0 | 0.03268 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 0.333333 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 4 |
4110496fd0a140416a35d680cec429d453898be9 | 519 | py | Python | Resources/DB/Models/Activity.py | annamatveev/redditGoldenContent | e1676a031c3549275187c6f7e6d674f309c3bb73 | [
"MIT"
] | 5 | 2017-11-08T02:52:22.000Z | 2020-09-29T11:24:05.000Z | Resources/DB/Models/Activity.py | annamatveev/redditGoldenContent | e1676a031c3549275187c6f7e6d674f309c3bb73 | [
"MIT"
] | 3 | 2017-11-09T20:01:23.000Z | 2017-11-12T02:44:56.000Z | Resources/DB/Models/Activity.py | annamatveev/redditGoldenContent | e1676a031c3549275187c6f7e6d674f309c3bb73 | [
"MIT"
] | null | null | null | from mongoengine import *
class Activity(EmbeddedDocument):
reddit_id = StringField(required=True, max_length=50)
username = StringField(required=True, max_length=50)
link = StringField(required=True, max_length=200)
title = StringField(required=True, max_length=300)
body = StringField(required=Tr... | 37.071429 | 57 | 0.751445 | 62 | 519 | 6.16129 | 0.467742 | 0.282723 | 0.361257 | 0.408377 | 0.513089 | 0.17801 | 0 | 0 | 0 | 0 | 0 | 0.040724 | 0.148362 | 519 | 13 | 58 | 39.923077 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 1 | 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 |
f5bdfbcac7968f181c7aedf6b1bd8f853d778eba | 71 | py | Python | 4-9 jiexi.py | Holaplace/path_to_python | 8fae2aca8d6da04c39a67514948fdf50e883750a | [
"MIT"
] | 1 | 2019-02-06T01:49:18.000Z | 2019-02-06T01:49:18.000Z | 4-9 jiexi.py | Holaplace/path_to_python | 8fae2aca8d6da04c39a67514948fdf50e883750a | [
"MIT"
] | null | null | null | 4-9 jiexi.py | Holaplace/path_to_python | 8fae2aca8d6da04c39a67514948fdf50e883750a | [
"MIT"
] | null | null | null | lifang_nums = [value ** 3 for value in range(1,11)]
print(lifang_nums) | 35.5 | 52 | 0.71831 | 13 | 71 | 3.769231 | 0.769231 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 0.140845 | 71 | 2 | 53 | 35.5 | 0.737705 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
f5f01c0e275f6edca22ec9dc4bc8127baa67a72e | 143 | py | Python | sqlsimple/__init__.py | swans-one/sqlsimple | 2f4eed1cd73d62d30b12f79f086806e14c96c8be | [
"MIT"
] | null | null | null | sqlsimple/__init__.py | swans-one/sqlsimple | 2f4eed1cd73d62d30b12f79f086806e14c96c8be | [
"MIT"
] | null | null | null | sqlsimple/__init__.py | swans-one/sqlsimple | 2f4eed1cd73d62d30b12f79f086806e14c96c8be | [
"MIT"
] | null | null | null | from sqlsimple.operations import (
sql_query,
sql_query_file,
sql_exec,
sql_exec_file
)
from sqlsimple.utils import get_cursor
| 17.875 | 38 | 0.748252 | 20 | 143 | 5 | 0.55 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202797 | 143 | 7 | 39 | 20.428571 | 0.877193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f5fdb3764eb36ed213bd616d0f032d44f9a2e4d7 | 191 | py | Python | brmflask/exts/compress.py | BRMWebDev/BRMFlask | 203031aae8a2d2db3c435bb6b39ccda6a90913a1 | [
"MIT"
] | 1 | 2016-09-14T19:20:07.000Z | 2016-09-14T19:20:07.000Z | brmflask/exts/compress.py | BRMWebDev/BRMFlask | 203031aae8a2d2db3c435bb6b39ccda6a90913a1 | [
"MIT"
] | 1 | 2018-06-12T14:06:01.000Z | 2018-06-12T14:06:01.000Z | brmflask/exts/compress.py | brmullikin/BRMFlask | 203031aae8a2d2db3c435bb6b39ccda6a90913a1 | [
"MIT"
] | null | null | null | """Extensions: Call the Flask_Compress plugin."""
from flask_compress import Compress
def register_compress(app):
"""Register the compress extension."""
Compress(app)
return app
| 23.875 | 49 | 0.732984 | 23 | 191 | 5.956522 | 0.565217 | 0.189781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162304 | 191 | 7 | 50 | 27.285714 | 0.85625 | 0.397906 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
eb1038275d57823d26960e1e7062f7870014d9fa | 248 | py | Python | skytour/skytour/apps/dso/urls_atlas.py | ursomniac/skytour | 3320d96d7ca41b8f52ede87e7112477902a37a0e | [
"MIT"
] | null | null | null | skytour/skytour/apps/dso/urls_atlas.py | ursomniac/skytour | 3320d96d7ca41b8f52ede87e7112477902a37a0e | [
"MIT"
] | 1 | 2022-03-17T01:19:23.000Z | 2022-03-17T01:19:23.000Z | skytour/skytour/apps/dso/urls_atlas.py | ursomniac/skytour | 3320d96d7ca41b8f52ede87e7112477902a37a0e | [
"MIT"
] | null | null | null | from django.urls import path
from .views import AtlasPlateListView, AtlasPlateDetailView
urlpatterns = (
path('', AtlasPlateListView.as_view(), name='atlas-list'),
path('<slug:slug>', AtlasPlateDetailView.as_view(), name='atlas-detail'),
) | 35.428571 | 77 | 0.741935 | 27 | 248 | 6.740741 | 0.592593 | 0.065934 | 0.10989 | 0.164835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108871 | 248 | 7 | 78 | 35.428571 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.13253 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
eb381ce1f2dcef2f86fd013d2a2ed80ab878d30c | 8,435 | py | Python | PSEF_SCRIPTS/psef_logic.py | snatch2013/XXS_PSEFABRIC | a382d28545d3f5dac0403bfeb82ee609d137db24 | [
"Apache-2.0",
"MIT"
] | null | null | null | PSEF_SCRIPTS/psef_logic.py | snatch2013/XXS_PSEFABRIC | a382d28545d3f5dac0403bfeb82ee609d137db24 | [
"Apache-2.0",
"MIT"
] | null | null | null | PSEF_SCRIPTS/psef_logic.py | snatch2013/XXS_PSEFABRIC | a382d28545d3f5dac0403bfeb82ee609d137db24 | [
"Apache-2.0",
"MIT"
] | null | null | null | '''
This is essential element of the demultiplexer layes of Psefabric Dataflow Model and one of the key elements of the psefabric concept.
The python dictionaries created here are used in multiplexer.py.
The matter is that depending on the values of the structural elements (for networks in this realization) we have to ... | 33.472222 | 169 | 0.549259 | 1,068 | 8,435 | 4.090824 | 0.106742 | 0.094987 | 0.111696 | 0.057221 | 0.776608 | 0.769055 | 0.715267 | 0.685969 | 0.66949 | 0.611582 | 0 | 0.016129 | 0.220865 | 8,435 | 251 | 170 | 33.605578 | 0.648661 | 0.100178 | 0 | 0.701754 | 0 | 0 | 0.30065 | 0.180058 | 0 | 0 | 0 | 0 | 0 | 1 | 0.040936 | false | 0 | 0.017544 | 0 | 0.099415 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
eb445c7cf45ef790459b0dd05c5d67767ca0e8ec | 114 | py | Python | src/decomposicion/estereo.py | Edilberto-Vazquez/OOP-Python | f49f2c1acfd9fdb3a81ab32c390daa637cabf648 | [
"MIT"
] | null | null | null | src/decomposicion/estereo.py | Edilberto-Vazquez/OOP-Python | f49f2c1acfd9fdb3a81ab32c390daa637cabf648 | [
"MIT"
] | null | null | null | src/decomposicion/estereo.py | Edilberto-Vazquez/OOP-Python | f49f2c1acfd9fdb3a81ab32c390daa637cabf648 | [
"MIT"
] | null | null | null | class Estereo:
def __init__(self, marca) -> None:
self.marca = marca
self.estado = 'apagado'
| 19 | 38 | 0.587719 | 13 | 114 | 4.846154 | 0.692308 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.298246 | 114 | 5 | 39 | 22.8 | 0.7875 | 0 | 0 | 0 | 0 | 0 | 0.061404 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
de23fc4c730b89ebafda34e6faecab5478acabc9 | 145 | py | Python | utils/__init__.py | flywheel-apps/bids-app-template-test | 0accb81738359f6a7f0974d726a4cbef2b84838d | [
"MIT"
] | null | null | null | utils/__init__.py | flywheel-apps/bids-app-template-test | 0accb81738359f6a7f0974d726a4cbef2b84838d | [
"MIT"
] | null | null | null | utils/__init__.py | flywheel-apps/bids-app-template-test | 0accb81738359f6a7f0974d726a4cbef2b84838d | [
"MIT"
] | null | null | null | # This is a comment to prevent CircleCI from considering the file as empty.
# vi:set autoindent ts=4 sw=4 expandtab : See Vim, :help 'modeline'
| 36.25 | 75 | 0.744828 | 25 | 145 | 4.32 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016807 | 0.17931 | 145 | 3 | 76 | 48.333333 | 0.890756 | 0.958621 | 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 |
de746062392af77e054f1821df8ed6bb5b852200 | 6,430 | py | Python | scatter1.py | MarionMcG/Python-Project-2018 | 8a3a5bef7c434cdbbd64b94d5419d8744e0d77f1 | [
"Apache-2.0"
] | 1 | 2018-07-25T12:41:17.000Z | 2018-07-25T12:41:17.000Z | scatter1.py | MarionMcG/Python-Project-2018 | 8a3a5bef7c434cdbbd64b94d5419d8744e0d77f1 | [
"Apache-2.0"
] | null | null | null | scatter1.py | MarionMcG/Python-Project-2018 | 8a3a5bef7c434cdbbd64b94d5419d8744e0d77f1 | [
"Apache-2.0"
] | 2 | 2018-07-25T12:41:19.000Z | 2018-07-25T12:41:23.000Z | #Marion McGowan, 16/04/2018
#Graphical Analysis of Iris Dataset
#This program geaphs measurements against one another on a scatter graph.
#There are six graphs in totalagainst the Petal Length and Sepal.
#The correlation coefficient, r^2 value, p value and slope of line of best fit are found for each.
import numpy ... | 39.447853 | 110 | 0.703577 | 1,008 | 6,430 | 4.439484 | 0.150794 | 0.049609 | 0.026816 | 0.03486 | 0.745475 | 0.736983 | 0.670615 | 0.647151 | 0.647151 | 0.639106 | 0 | 0.016086 | 0.120218 | 6,430 | 162 | 111 | 39.691358 | 0.774969 | 0.278227 | 0 | 0.700855 | 0 | 0 | 0.252008 | 0 | 0.051282 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025641 | 0 | 0.025641 | 0.470085 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
de7fd4aade1b0d7dd0ab1a526a6116cb21d5bf0e | 96 | py | Python | algorithms-cpp/chapter01/max_sum_rec/rand.py | clpsz/algorithms | c537c65eea5176f64cb37af674c3f07bc7d47821 | [
"Apache-2.0"
] | 2 | 2019-08-14T09:32:07.000Z | 2019-12-22T10:54:35.000Z | algorithms-cpp/chapter01/max_sum_rec/rand.py | clpsz/algorithms | c537c65eea5176f64cb37af674c3f07bc7d47821 | [
"Apache-2.0"
] | null | null | null | algorithms-cpp/chapter01/max_sum_rec/rand.py | clpsz/algorithms | c537c65eea5176f64cb37af674c3f07bc7d47821 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/python
import random
for i in range(0, 1000):
print random.randint(-100, 100)
| 12 | 35 | 0.666667 | 16 | 96 | 4 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141026 | 0.1875 | 96 | 7 | 36 | 13.714286 | 0.679487 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
de812774b2b28760ca08db39bb91f588cb68f6ab | 597 | py | Python | source/containers/face-comparison/recognizer/face.py | aws-samples/amazon-ipc-ai-saas | f412634ab407e54990ec8913146cff53f417453f | [
"ECL-2.0",
"Apache-2.0"
] | 7 | 2021-05-07T07:03:11.000Z | 2022-02-07T02:04:48.000Z | source/containers/face-comparison/recognizer/face.py | aws-samples/amazon-ipc-ai-saas | f412634ab407e54990ec8913146cff53f417453f | [
"ECL-2.0",
"Apache-2.0"
] | null | null | null | source/containers/face-comparison/recognizer/face.py | aws-samples/amazon-ipc-ai-saas | f412634ab407e54990ec8913146cff53f417453f | [
"ECL-2.0",
"Apache-2.0"
] | 5 | 2021-05-10T09:57:41.000Z | 2021-12-08T05:12:12.000Z | #!/usr/bin/python3
class Face(object):
def __init__(self, bbox, aligned_face_img, confidence, key_points):
self._bbox = bbox # [x_min, y_min, x_max, y_max]
self._aligned_face_img = aligned_face_img
self._confidence = confidence
self._key_points = key_points
@property
... | 23.88 | 71 | 0.648241 | 76 | 597 | 4.684211 | 0.276316 | 0.154494 | 0.196629 | 0.101124 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002294 | 0.269682 | 597 | 24 | 72 | 24.875 | 0.81422 | 0.077052 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0 | 0.222222 | 0.555556 | 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 |
de8d64236ecae3cab7ff8bffbdb921f75c5233b3 | 121 | py | Python | volumetricspy/__init__.py | scuervo91/volumetricspy | f2ed85628400f22e0dc5ee3871c06851f7bb0264 | [
"MIT"
] | null | null | null | volumetricspy/__init__.py | scuervo91/volumetricspy | f2ed85628400f22e0dc5ee3871c06851f7bb0264 | [
"MIT"
] | null | null | null | volumetricspy/__init__.py | scuervo91/volumetricspy | f2ed85628400f22e0dc5ee3871c06851f7bb0264 | [
"MIT"
] | null | null | null | from .volumetrics import Surface, poly_area, SurfaceGroup
from .montecarlo import MonteCarlo, ProbVar
from . import stats | 40.333333 | 57 | 0.834711 | 15 | 121 | 6.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115702 | 121 | 3 | 58 | 40.333333 | 0.934579 | 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 |
de94880ca42b1b33e8c899f2e5d397708f43047e | 1,155 | py | Python | core/migrations/0011_auto_20160214_2146.py | wolfskaempf/auto-stundenprotokoll | c4d397c3550c382dcb889183e50a6746af1b18f3 | [
"MIT"
] | null | null | null | core/migrations/0011_auto_20160214_2146.py | wolfskaempf/auto-stundenprotokoll | c4d397c3550c382dcb889183e50a6746af1b18f3 | [
"MIT"
] | null | null | null | core/migrations/0011_auto_20160214_2146.py | wolfskaempf/auto-stundenprotokoll | c4d397c3550c382dcb889183e50a6746af1b18f3 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2016-02-14 20:46
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('core', '0010_class_remarks'),
]
operations = [
migrations.RenameField(
mod... | 25.108696 | 45 | 0.538528 | 106 | 1,155 | 5.575472 | 0.433962 | 0.213198 | 0.263959 | 0.304569 | 0.439932 | 0.439932 | 0.439932 | 0.243655 | 0.243655 | 0.243655 | 0 | 0.0253 | 0.349784 | 1,155 | 45 | 46 | 25.666667 | 0.761651 | 0.056277 | 0 | 0.552632 | 1 | 0 | 0.163753 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.131579 | 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 |
dea2fa33c82b71dd452f0d722c98e6f81e862124 | 634 | py | Python | dataset_generator.py | SkirOwen/aie | 22c64983d53f193e70b045003cc872970ab56804 | [
"MIT"
] | 2 | 2021-03-24T04:02:32.000Z | 2021-03-25T16:29:37.000Z | dataset_generator.py | SkirOwen/aie | 22c64983d53f193e70b045003cc872970ab56804 | [
"MIT"
] | 2 | 2021-03-25T16:00:12.000Z | 2021-04-01T00:40:26.000Z | dataset_generator.py | SkirOwen/aie | 22c64983d53f193e70b045003cc872970ab56804 | [
"MIT"
] | null | null | null | import os
import sys
import pickle # see if useful
import numpy as np
import cv2
import constants
import video_interpreter as vi
import to_nodes
def generate_ctm_dataset(activity):
# func to extract frames correctly here, should return either frames by frames
# or multiple frames in a convenient data f... | 24.384615 | 87 | 0.733438 | 91 | 634 | 4.923077 | 0.692308 | 0.046875 | 0.044643 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.20347 | 634 | 25 | 88 | 25.36 | 0.877228 | 0.545741 | 0 | 0 | 1 | 0 | 0.028674 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0.083333 | 0.666667 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
deb0cd58114dda62aeafe154cde4f2ea9f43559b | 334 | py | Python | tests/bytecode/mp-tests/if2.py | LabAixBidouille/micropython | 11aa6ba456287d6c80598a7ebbebd2887ce8f5a2 | [
"MIT"
] | 303 | 2015-07-11T17:12:55.000Z | 2018-01-08T03:02:37.000Z | tests/bytecode/mp-tests/if2.py | LabAixBidouille/micropython | 11aa6ba456287d6c80598a7ebbebd2887ce8f5a2 | [
"MIT"
] | 13 | 2016-05-12T16:51:22.000Z | 2018-01-10T22:33:25.000Z | tests/bytecode/mp-tests/if2.py | LabAixBidouille/micropython | 11aa6ba456287d6c80598a7ebbebd2887ce8f5a2 | [
"MIT"
] | 26 | 2018-01-18T09:15:33.000Z | 2022-02-07T13:09:14.000Z | def f(x):
if x:
return
if x:
return
elif y:
return
if x:
return
else:
return
if x:
return
elif y:
return
else:
return
if x:
return
elif y:
return
elif z:
return
else:
return
... | 12.37037 | 15 | 0.401198 | 38 | 334 | 3.526316 | 0.263158 | 0.11194 | 0.335821 | 0.447761 | 0.686567 | 0.686567 | 0.686567 | 0.492537 | 0.492537 | 0 | 0 | 0 | 0.553892 | 334 | 26 | 16 | 12.846154 | 0.899329 | 0 | 0 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.038462 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
deb58230497b95d8a90944e59b2fc53a935069df | 62 | py | Python | NuO/configParser/__init__.py | akshitgrover/NuO | d8a67b44aa0985cdb2c29571b9cd6c2e649d4514 | [
"MIT"
] | null | null | null | NuO/configParser/__init__.py | akshitgrover/NuO | d8a67b44aa0985cdb2c29571b9cd6c2e649d4514 | [
"MIT"
] | 2 | 2018-11-10T21:51:02.000Z | 2021-03-25T22:17:23.000Z | NuO/configParser/__init__.py | akshitgrover/NuO | d8a67b44aa0985cdb2c29571b9cd6c2e649d4514 | [
"MIT"
] | null | null | null | __all__ = ["parse"]
from .parser import parse
parse = parse
| 10.333333 | 25 | 0.693548 | 8 | 62 | 4.875 | 0.625 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 62 | 5 | 26 | 12.4 | 0.78 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 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 |
debe6e8a262865ce2211ac2f56f3b37e2ba49632 | 48 | py | Python | tutorial11.py | camelCasedAdi/Python-Programming-Tutorials | 65aa7092a90b3c0cad7b35584714570231305d37 | [
"MIT"
] | null | null | null | tutorial11.py | camelCasedAdi/Python-Programming-Tutorials | 65aa7092a90b3c0cad7b35584714570231305d37 | [
"MIT"
] | null | null | null | tutorial11.py | camelCasedAdi/Python-Programming-Tutorials | 65aa7092a90b3c0cad7b35584714570231305d37 | [
"MIT"
] | null | null | null | color = ('blue', 'red', 'green')
print(color[1]) | 24 | 32 | 0.583333 | 7 | 48 | 4 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.104167 | 48 | 2 | 33 | 24 | 0.627907 | 0 | 0 | 0 | 0 | 0 | 0.244898 | 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 |
ded315fc3018ed28ee637cff3af744b1de9c542f | 134 | py | Python | setup.py | kaustubh-sadekar/dlutils | 91b98f7701f4d682ae2790e4cf41b9daa5e3cf77 | [
"MIT"
] | 3 | 2020-03-12T09:21:24.000Z | 2021-12-27T14:06:20.000Z | setup.py | kaustubh-sadekar/dlutils | 91b98f7701f4d682ae2790e4cf41b9daa5e3cf77 | [
"MIT"
] | null | null | null | setup.py | kaustubh-sadekar/dlutils | 91b98f7701f4d682ae2790e4cf41b9daa5e3cf77 | [
"MIT"
] | null | null | null | import setuptools
setuptools.setup(name = 'kdlutils', packages = ['dlutils/kdlutils'],version = '0.1', author = 'Kaustubh sadekar')
| 26.8 | 113 | 0.716418 | 15 | 134 | 6.4 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.119403 | 134 | 4 | 114 | 33.5 | 0.79661 | 0 | 0 | 0 | 0 | 0 | 0.323308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
723e7c45ee91e50da2c858f786ef87e92443d830 | 162 | py | Python | code/get_costs.py | averagephotographer/regular-cost | 4ad8f5917d27376958ef4d668f23175be39d16b2 | [
"MIT"
] | null | null | null | code/get_costs.py | averagephotographer/regular-cost | 4ad8f5917d27376958ef4d668f23175be39d16b2 | [
"MIT"
] | null | null | null | code/get_costs.py | averagephotographer/regular-cost | 4ad8f5917d27376958ef4d668f23175be39d16b2 | [
"MIT"
] | null | null | null | # httpx?
import requests
# fn. for requests
# input: url
# output: price for cheapest good the store offers
# get coffee shop name
# get coffee price
| 13.5 | 50 | 0.685185 | 23 | 162 | 4.826087 | 0.782609 | 0.162162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253086 | 162 | 11 | 51 | 14.727273 | 0.917355 | 0.746914 | 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 | 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 |
a0d1abd011665f15e9287fcdda2c8d41bd28709a | 147 | py | Python | social_redirects/apps.py | JoshZero87/site | c8024b805ff5ff0e16f54dce7bf05097fd2f08e0 | [
"MIT"
] | 4 | 2017-01-29T00:38:41.000Z | 2019-09-04T14:30:24.000Z | social_redirects/apps.py | JoshZero87/site | c8024b805ff5ff0e16f54dce7bf05097fd2f08e0 | [
"MIT"
] | 74 | 2017-10-02T04:42:54.000Z | 2022-01-13T00:44:16.000Z | social_redirects/apps.py | JoshZero87/site | c8024b805ff5ff0e16f54dce7bf05097fd2f08e0 | [
"MIT"
] | 3 | 2017-03-24T23:26:46.000Z | 2019-10-21T01:16:03.000Z | from __future__ import unicode_literals
from django.apps import AppConfig
class SocialRedirectsConfig(AppConfig):
name = 'social_redirects'
| 18.375 | 39 | 0.816327 | 16 | 147 | 7.125 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136054 | 147 | 7 | 40 | 21 | 0.897638 | 0 | 0 | 0 | 0 | 0 | 0.108844 | 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 |
a0d83a23efbca25ef9096662faf9894e78b81f39 | 1,065 | py | Python | Python/DNAToRNAConversion.py | mallorysmith64/codewars-solutions | f629469755c0aefc9753c2c1ecce2ac50afe04fb | [
"MIT"
] | 1 | 2019-11-04T01:42:36.000Z | 2019-11-04T01:42:36.000Z | Python/DNAToRNAConversion.py | mallorysmith64/codewars-solutions | f629469755c0aefc9753c2c1ecce2ac50afe04fb | [
"MIT"
] | null | null | null | Python/DNAToRNAConversion.py | mallorysmith64/codewars-solutions | f629469755c0aefc9753c2c1ecce2ac50afe04fb | [
"MIT"
] | 1 | 2020-08-08T07:54:04.000Z | 2020-08-08T07:54:04.000Z | # Language: Python
# Level: 8kyu
# Name of Problem: DNA to RNA Conversion
# Instructions: Deoxyribonucleic acid, DNA is the primary information storage molecule in biological systems.
# It is composed of four nucleic acid bases Guanine ('G'), Cytosine ('C'), Adenine ('A'), and Thymine ('T').
# Ribonucleic acid, RNA, ... | 42.6 | 113 | 0.723944 | 158 | 1,065 | 4.860759 | 0.620253 | 0.039063 | 0.0625 | 0.09375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002235 | 0.159624 | 1,065 | 25 | 114 | 42.6 | 0.855866 | 0.913615 | 0 | 0 | 0 | 0 | 0.027027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
a0e2af4ee1b735dc907a4672e994fc108dcc9bc4 | 67 | py | Python | main.py | trwstin/genshin_artifact_sim | fa564084eff2e27c396bf67cfe7c8de2b1fc2ebc | [
"MIT"
] | null | null | null | main.py | trwstin/genshin_artifact_sim | fa564084eff2e27c396bf67cfe7c8de2b1fc2ebc | [
"MIT"
] | null | null | null | main.py | trwstin/genshin_artifact_sim | fa564084eff2e27c396bf67cfe7c8de2b1fc2ebc | [
"MIT"
] | null | null | null | from functions import *
if __name__ == '__main__':
menu()
| 13.4 | 27 | 0.61194 | 7 | 67 | 4.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268657 | 67 | 4 | 28 | 16.75 | 0.673469 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 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 |
9d2318c1bd44de07a8b48c6fa6b099a21fe1cd12 | 172 | py | Python | cosmoboost/__init__.py | maamari/CosmoBoost | c59a6d4edce2a981f6d3d8a775f656d62b348d47 | [
"MIT"
] | 1 | 2020-02-21T17:02:43.000Z | 2020-02-21T17:02:43.000Z | cosmoboost/__init__.py | maamari/CosmoBoost | c59a6d4edce2a981f6d3d8a775f656d62b348d47 | [
"MIT"
] | 2 | 2019-11-08T23:19:46.000Z | 2021-10-17T00:12:23.000Z | cosmoboost/__init__.py | maamari/CosmoBoost | c59a6d4edce2a981f6d3d8a775f656d62b348d47 | [
"MIT"
] | 5 | 2019-10-26T00:13:08.000Z | 2021-04-02T21:59:29.000Z | import os
COSMOBOOST_DIR = os.path.dirname(os.path.realpath(__file__))
#sys.path.insert(0, COSMOBOOST_DIR)
from .blueprints import *
from .lib.MatrixHandler import mL2indx
| 28.666667 | 60 | 0.802326 | 25 | 172 | 5.28 | 0.64 | 0.19697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012739 | 0.087209 | 172 | 5 | 61 | 34.4 | 0.828025 | 0.197674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9d5d768aee2fcbfed9744254534647cd8e3aaf5f | 66 | py | Python | config/apps/customer/__init__.py | Steco17/PAYGO-PEG- | cd2d0b845de7d3712d915854c491021b1ea76adf | [
"MIT"
] | null | null | null | config/apps/customer/__init__.py | Steco17/PAYGO-PEG- | cd2d0b845de7d3712d915854c491021b1ea76adf | [
"MIT"
] | null | null | null | config/apps/customer/__init__.py | Steco17/PAYGO-PEG- | cd2d0b845de7d3712d915854c491021b1ea76adf | [
"MIT"
] | null | null | null | default_app_config = "config.apps.customer.apps.CustomerAppConfig" | 66 | 66 | 0.863636 | 8 | 66 | 6.875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 66 | 1 | 66 | 66 | 0.859375 | 0 | 0 | 0 | 0 | 0 | 0.641791 | 0.641791 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
19d6ac1f7da1b13c47ec1a4e09857470a83cf96b | 119 | py | Python | taesko/parachute/pachu/config.py | taesko/training-projects | 638649b0b5987ba971ae5ce1f171642de3cde739 | [
"Apache-2.0"
] | null | null | null | taesko/parachute/pachu/config.py | taesko/training-projects | 638649b0b5987ba971ae5ce1f171642de3cde739 | [
"Apache-2.0"
] | null | null | null | taesko/parachute/pachu/config.py | taesko/training-projects | 638649b0b5987ba971ae5ce1f171642de3cde739 | [
"Apache-2.0"
] | null | null | null | import os
import configparser
config = configparser.ConfigParser()
config.read(os.environ['PARACHUTE_CONFIG_FILE'])
| 14.875 | 48 | 0.806723 | 14 | 119 | 6.714286 | 0.571429 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092437 | 119 | 7 | 49 | 17 | 0.87037 | 0 | 0 | 0 | 0 | 0 | 0.177966 | 0.177966 | 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 |
19d951ed61f61bde6707a7eebfbcc80dbd69cbe7 | 156 | py | Python | Aulas/Aula06A.py | Felix-xilef/Curso-de-Python | cdff7c7f3850e6326e274c8c1987b9e1a18ce910 | [
"MIT"
] | null | null | null | Aulas/Aula06A.py | Felix-xilef/Curso-de-Python | cdff7c7f3850e6326e274c8c1987b9e1a18ce910 | [
"MIT"
] | null | null | null | Aulas/Aula06A.py | Felix-xilef/Curso-de-Python | cdff7c7f3850e6326e274c8c1987b9e1a18ce910 | [
"MIT"
] | null | null | null | import os
print('1: {}\n1.14: {}\nTrue: {}\nFalse: {}\nHahA: {}\n'.format(type(1), type(1.14), type(True), type(False), type('HahA')))
os.system('pause')
| 26 | 124 | 0.583333 | 25 | 156 | 3.64 | 0.68 | 0.10989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056738 | 0.096154 | 156 | 5 | 125 | 31.2 | 0.588652 | 0 | 0 | 0 | 0 | 0 | 0.365385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
19dd09a6135bb6417af690beddb32ed9ce01417a | 60 | py | Python | src/tools/robust-activities/src/python/robust_activities/main/__init__.py | railtoolkit/OpenLinTim | 27eba8b6038946ce162e9f7bbc0bd23045029d51 | [
"MIT"
] | null | null | null | src/tools/robust-activities/src/python/robust_activities/main/__init__.py | railtoolkit/OpenLinTim | 27eba8b6038946ce162e9f7bbc0bd23045029d51 | [
"MIT"
] | null | null | null | src/tools/robust-activities/src/python/robust_activities/main/__init__.py | railtoolkit/OpenLinTim | 27eba8b6038946ce162e9f7bbc0bd23045029d51 | [
"MIT"
] | null | null | null | """
Package containing main files for activity buffering
""" | 20 | 52 | 0.766667 | 7 | 60 | 6.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 60 | 3 | 53 | 20 | 0.884615 | 0.866667 | 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 |
19e05f85c6810ab84c50a080d8f7242cf42234c4 | 72 | py | Python | hacker/challenges/web/visible_ink.py | Tenebrar/codebase | 59c9a35289fb29afedad0e3edd0519b67372ef9f | [
"Unlicense"
] | 1 | 2020-04-21T11:39:25.000Z | 2020-04-21T11:39:25.000Z | hacker/challenges/web/visible_ink.py | Tenebrar/codebase | 59c9a35289fb29afedad0e3edd0519b67372ef9f | [
"Unlicense"
] | 7 | 2020-02-12T01:08:01.000Z | 2022-02-10T11:56:56.000Z | hacker/challenges/web/visible_ink.py | Tenebrar/codebase | 59c9a35289fb29afedad0e3edd0519b67372ef9f | [
"Unlicense"
] | null | null | null | # Can be found by highlighting, or looking in the source
print('squint') | 36 | 56 | 0.763889 | 12 | 72 | 4.583333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152778 | 72 | 2 | 57 | 36 | 0.901639 | 0.75 | 0 | 0 | 0 | 0 | 0.352941 | 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 |
19f6eeeb272a4c25fe91506aa0b320a13e742d84 | 399 | py | Python | Messaging/Packets/Client/Devices/AnalyticEventMessage.py | terexdev/BSDS-V39 | 7deea469fbfbc56c48f8326ba972369679f6b098 | [
"Apache-2.0"
] | 11 | 2021-11-04T01:49:50.000Z | 2022-01-31T16:50:47.000Z | Messaging/Packets/Client/Devices/AnalyticEventMessage.py | terexdev/BSDS-V39 | 7deea469fbfbc56c48f8326ba972369679f6b098 | [
"Apache-2.0"
] | 6 | 2021-11-04T08:52:01.000Z | 2021-12-27T02:33:19.000Z | Messaging/Packets/Client/Devices/AnalyticEventMessage.py | terexdev/BSDS-V39 | 7deea469fbfbc56c48f8326ba972369679f6b098 | [
"Apache-2.0"
] | 5 | 2021-11-04T02:31:56.000Z | 2022-03-14T02:04:33.000Z | from Logic.Settings.PrintHandler import PrintManager
from Logic.Data.DataManager import Writer
from Logic.Data.DataManager import Reader
class AnalyticEventMessage(Reader):
def __init__(self, client, player, header_bytes):
super().__init__(header_bytes)
self.client = client
self.player = ... | 23.470588 | 53 | 0.704261 | 46 | 399 | 5.891304 | 0.5 | 0.099631 | 0.095941 | 0.177122 | 0.221402 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220551 | 399 | 17 | 54 | 23.470588 | 0.871383 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.166667 | 0.25 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
dfa11028d079a91887230c64f8fe02a2aba5f8f5 | 244 | py | Python | app/accounts/views/__init__.py | phessabi/eshop | 6a5352753a0c27f9c3f0eda6eec696f49ef4a8eb | [
"Apache-2.0"
] | 1 | 2020-02-04T21:18:31.000Z | 2020-02-04T21:18:31.000Z | app/accounts/views/__init__.py | phessabi/eshop | 6a5352753a0c27f9c3f0eda6eec696f49ef4a8eb | [
"Apache-2.0"
] | 12 | 2020-01-01T11:46:33.000Z | 2022-03-12T00:10:01.000Z | app/accounts/views/__init__.py | phessabi/eshop | 6a5352753a0c27f9c3f0eda6eec696f49ef4a8eb | [
"Apache-2.0"
] | 1 | 2020-02-18T11:12:48.000Z | 2020-02-18T11:12:48.000Z | from .vendor_profile import CreateVendorViewSet, ListRetrieveVendorViewSet, UpdateRetrieveVendorViewSet
from .buyer_profile import CreateBuyerViewSet, UpdateRetrieveBuyerViewSet
from .user_type import GetTypeView
from .charge import ChargeView
| 48.8 | 103 | 0.893443 | 22 | 244 | 9.772727 | 0.681818 | 0.12093 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077869 | 244 | 4 | 104 | 61 | 0.955556 | 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 |
dfa1c08d10996470503d42bacac9f2b5d2c3ea41 | 95 | py | Python | error.py | nirvanasupermind/qlang | c3264a343f19af0de1161b006c6ec2ee86e73882 | [
"MIT"
] | null | null | null | error.py | nirvanasupermind/qlang | c3264a343f19af0de1161b006c6ec2ee86e73882 | [
"MIT"
] | null | null | null | error.py | nirvanasupermind/qlang | c3264a343f19af0de1161b006c6ec2ee86e73882 | [
"MIT"
] | null | null | null | class Error(SystemExit):
def __init__(self, msg):
super().__init__(f'Error: {msg}') | 31.666667 | 41 | 0.631579 | 12 | 95 | 4.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189474 | 95 | 3 | 41 | 31.666667 | 0.675325 | 0 | 0 | 0 | 0 | 0 | 0.125 | 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 |
dfc38c5c7903bf38f66ba70dbeeb2d32654d80e0 | 164 | py | Python | python/libraries/fek.py | ytchang05/N-lang | f626dc939b33941f3c2f23a4d1c523b58c847c15 | [
"MIT"
] | null | null | null | python/libraries/fek.py | ytchang05/N-lang | f626dc939b33941f3c2f23a4d1c523b58c847c15 | [
"MIT"
] | null | null | null | python/libraries/fek.py | ytchang05/N-lang | f626dc939b33941f3c2f23a4d1c523b58c847c15 | [
"MIT"
] | null | null | null | import re
from native_types import n_cmd_type
def paer(output):
print(output)
def _values():
return {
"paer": ("str", n_cmd_type.with_typevars(["unit"])),
}
| 14.909091 | 54 | 0.695122 | 25 | 164 | 4.28 | 0.72 | 0.074766 | 0.149533 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 164 | 10 | 55 | 16.4 | 0.764286 | 0 | 0 | 0 | 0 | 0 | 0.067073 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.125 | 0.625 | 0.125 | 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 |
dfe035b4f7f7e3f0b0d4147d0a2438cea9b06439 | 29 | py | Python | cosmos/preprocess/__init__.py | hadarohana/myCosmos | 6e4682a2af822eb828180658aaa6d3e304cc85bf | [
"Apache-2.0"
] | null | null | null | cosmos/preprocess/__init__.py | hadarohana/myCosmos | 6e4682a2af822eb828180658aaa6d3e304cc85bf | [
"Apache-2.0"
] | 5 | 2020-01-28T23:13:10.000Z | 2022-02-10T00:28:15.000Z | cosmos/preprocess/__init__.py | hadarohana/myCosmos | 6e4682a2af822eb828180658aaa6d3e304cc85bf | [
"Apache-2.0"
] | 1 | 2021-03-10T19:25:44.000Z | 2021-03-10T19:25:44.000Z | """
Preprocessing module
"""
| 7.25 | 20 | 0.655172 | 2 | 29 | 9.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 3 | 21 | 9.666667 | 0.76 | 0.689655 | 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 |
dfecf2eb7fb301c1d5884764dcf075a374598231 | 139 | py | Python | setup.py | wang0324/segmentation | bc0d8f89c0e4d56784517ecc3bfce2c95bb539f6 | [
"Apache-2.0"
] | null | null | null | setup.py | wang0324/segmentation | bc0d8f89c0e4d56784517ecc3bfce2c95bb539f6 | [
"Apache-2.0"
] | null | null | null | setup.py | wang0324/segmentation | bc0d8f89c0e4d56784517ecc3bfce2c95bb539f6 | [
"Apache-2.0"
] | null | null | null | from setuptools import setup, find_packages
setup(name='segmentation-mibi',
version='0.2.3',
packages=find_packages(),
)
| 23.166667 | 43 | 0.676259 | 17 | 139 | 5.411765 | 0.764706 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026786 | 0.194245 | 139 | 5 | 44 | 27.8 | 0.794643 | 0 | 0 | 0 | 0 | 0 | 0.158273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5f09d2f91640d60d73130e7dcfda451335067b71 | 4,182 | py | Python | testing_torjan_attacked_or_not.py | hasanashik/Common-Trojan-virus-detection-in-Microsoft-Windows- | 701bba7b959dec1c0b662c0fad0a7b19ba994b9e | [
"Unlicense"
] | null | null | null | testing_torjan_attacked_or_not.py | hasanashik/Common-Trojan-virus-detection-in-Microsoft-Windows- | 701bba7b959dec1c0b662c0fad0a7b19ba994b9e | [
"Unlicense"
] | null | null | null | testing_torjan_attacked_or_not.py | hasanashik/Common-Trojan-virus-detection-in-Microsoft-Windows- | 701bba7b959dec1c0b662c0fad0a7b19ba994b9e | [
"Unlicense"
] | null | null | null |
port_list=['1', '2', '20', '21', '22', '23', '25', '30', '31', '41', '48', '50', '58', '59', '79', '80', '711', '81', '99', '110', '113', '119', '121', '123', '133', '137', '137', '138', '139', '142', '146', '146', '170', '334', '411', '420', '451', '455', '456', '513', '555', '605', '666', '667', '669', '692', '777'... | 144.206897 | 3,474 | 0.540411 | 526 | 4,182 | 4.268061 | 0.830798 | 0.034298 | 0.033408 | 0.005345 | 0.106459 | 0.076169 | 0.076169 | 0 | 0 | 0 | 0 | 0.490395 | 0.128647 | 4,182 | 29 | 3,475 | 144.206897 | 0.125686 | 0.034912 | 0 | 0.111111 | 0 | 0 | 0.456793 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.166667 | 0 | 0.277778 | 0.166667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5f1babfeaa215707d37f84a6fbfd72f88443e789 | 382 | py | Python | IVTa/2014/SAVCHENKOV_A_M/task_1_28.py | YukkaSarasti/pythonintask | eadf4245abb65f4400a3bae30a4256b4658e009c | [
"Apache-2.0"
] | null | null | null | IVTa/2014/SAVCHENKOV_A_M/task_1_28.py | YukkaSarasti/pythonintask | eadf4245abb65f4400a3bae30a4256b4658e009c | [
"Apache-2.0"
] | null | null | null | IVTa/2014/SAVCHENKOV_A_M/task_1_28.py | YukkaSarasti/pythonintask | eadf4245abb65f4400a3bae30a4256b4658e009c | [
"Apache-2.0"
] | null | null | null | # Задача 1. Вариант 28
# Напишите программу, которая будет сообщать род деятельности и псевдоним под
# которым скрывается Норма Бейкер. После вывода информации программа должна
# дожидаться пока пользователь нажмет Enter для выхода.
print("Норма Бейкер, более известная как Мэрилин Монро - американская \nкиноактриса, ... | 54.571429 | 108 | 0.795812 | 49 | 382 | 6.204082 | 0.877551 | 0.072368 | 0.092105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009091 | 0.136126 | 382 | 7 | 109 | 54.571429 | 0.912121 | 0.589005 | 0 | 0 | 0 | 0 | 0.836601 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
5f2ae4e48f4b0a702c7c655097b014b282388a58 | 194 | py | Python | mrbaviirc/common/compat.py | brianvanderburg2/python-mrbaviirc-util | 693484955e4794eb0305c63d9f42581e3f3e3bd5 | [
"Apache-2.0"
] | null | null | null | mrbaviirc/common/compat.py | brianvanderburg2/python-mrbaviirc-util | 693484955e4794eb0305c63d9f42581e3f3e3bd5 | [
"Apache-2.0"
] | null | null | null | mrbaviirc/common/compat.py | brianvanderburg2/python-mrbaviirc-util | 693484955e4794eb0305c63d9f42581e3f3e3bd5 | [
"Apache-2.0"
] | null | null | null | """ Compatibility related items. """
__author__ = "Brian Allen Vanderburg II"
__copyright__ = "Copyright (C) 2019 Brian Allen Vanderburg II"
__license__ = "Apache License 2.0"
| 32.333333 | 66 | 0.680412 | 21 | 194 | 5.714286 | 0.714286 | 0.166667 | 0.333333 | 0.366667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039735 | 0.221649 | 194 | 5 | 67 | 38.8 | 0.754967 | 0.14433 | 0 | 0 | 0 | 0 | 0.550633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
5f3189b1f03df9e6f5e9184f40da3b848a9d3471 | 262 | py | Python | en/065/python/main.py | franciscogomes2020/exercises | 8b33c4b9349a9331e4002a8225adc2a482c70024 | [
"MIT"
] | null | null | null | en/065/python/main.py | franciscogomes2020/exercises | 8b33c4b9349a9331e4002a8225adc2a482c70024 | [
"MIT"
] | null | null | null | en/065/python/main.py | franciscogomes2020/exercises | 8b33c4b9349a9331e4002a8225adc2a482c70024 | [
"MIT"
] | null | null | null | # Create a program that reads multiple integers from the keyboard. At the end of the run, show the average between all values and which were the highest and lowest values read. The program should ask the user whether or not he wants to continue entering values.
| 131 | 261 | 0.801527 | 46 | 262 | 4.565217 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179389 | 262 | 1 | 262 | 262 | 0.976744 | 0.98855 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5f32c6201afaec7136b2c800804abbd873e85804 | 95 | py | Python | Hotel/apps/Habitacion/apps.py | SebasttianVelez/Hotel-Data-Base | 921e73c5c4f1b7c4e0541717666d7e6b8c5ec878 | [
"MIT"
] | 1 | 2019-04-16T08:12:40.000Z | 2019-04-16T08:12:40.000Z | Hotel/apps/Habitacion/apps.py | SebasttianVelez/Hotel-Data-Base | 921e73c5c4f1b7c4e0541717666d7e6b8c5ec878 | [
"MIT"
] | null | null | null | Hotel/apps/Habitacion/apps.py | SebasttianVelez/Hotel-Data-Base | 921e73c5c4f1b7c4e0541717666d7e6b8c5ec878 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class HabitacionConfig(AppConfig):
name = 'Habitacion'
| 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 |
a02e340713e6e34d70282ed688fab76ecad6d164 | 163 | py | Python | konoha/__init__.py | upura/konoha | 852fc9275ec9cf6d299a3dfc1cfa6ac5eaf166e5 | [
"MIT"
] | null | null | null | konoha/__init__.py | upura/konoha | 852fc9275ec9cf6d299a3dfc1cfa6ac5eaf166e5 | [
"MIT"
] | null | null | null | konoha/__init__.py | upura/konoha | 852fc9275ec9cf6d299a3dfc1cfa6ac5eaf166e5 | [
"MIT"
] | null | null | null | """__init__.py."""
from konoha.sentence_tokenizer import SentenceTokenizer # NOQA
from konoha.word_tokenizer import WordTokenizer # NOQA
__version__ = "4.5.0"
| 23.285714 | 63 | 0.773006 | 20 | 163 | 5.8 | 0.75 | 0.172414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020979 | 0.122699 | 163 | 6 | 64 | 27.166667 | 0.79021 | 0.141104 | 0 | 0 | 0 | 0 | 0.037594 | 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 |
a032dfcf7c720ae045e3c03cdf1c76d1dc76ac8b | 85 | py | Python | morad/apps.py | MoradAlkhatib/djangoX | 98759b6ad7931f7af78c892725ea147eeee0a529 | [
"MIT"
] | null | null | null | morad/apps.py | MoradAlkhatib/djangoX | 98759b6ad7931f7af78c892725ea147eeee0a529 | [
"MIT"
] | null | null | null | morad/apps.py | MoradAlkhatib/djangoX | 98759b6ad7931f7af78c892725ea147eeee0a529 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class MoradConfig(AppConfig):
name = 'morad'
| 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 |
a0338f0c09090a3240814d054ada747eaaf43737 | 215 | py | Python | setup.py | cfelton/parallella_elink | ccd2e7d49cca6cf10ed327aadad2d096e38121eb | [
"MIT"
] | null | null | null | setup.py | cfelton/parallella_elink | ccd2e7d49cca6cf10ed327aadad2d096e38121eb | [
"MIT"
] | null | null | null | setup.py | cfelton/parallella_elink | ccd2e7d49cca6cf10ed327aadad2d096e38121eb | [
"MIT"
] | null | null | null |
from setuptools import setup
from setuptools import find_packages
setup(name = 'elink',
version = '0.1pre',
description = 'parallella elink',
license = 'TBD',
packages = find_packages(),
) | 19.545455 | 39 | 0.655814 | 23 | 215 | 6.043478 | 0.652174 | 0.201439 | 0.28777 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.237209 | 215 | 11 | 40 | 19.545455 | 0.835366 | 0 | 0 | 0 | 0 | 0 | 0.140187 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a0422d00abfd6e5b722b4a7821bdc7ecf7830db2 | 169 | py | Python | accounts/apps.py | mgovoni-devel/MatD3 | 5b68d147f886bce427f92bb560159e62cec2d4e7 | [
"BSD-2-Clause-FreeBSD"
] | 7 | 2019-09-14T07:24:09.000Z | 2021-06-15T16:15:05.000Z | accounts/apps.py | mgovoni-devel/MatD3 | 5b68d147f886bce427f92bb560159e62cec2d4e7 | [
"BSD-2-Clause-FreeBSD"
] | 14 | 2019-12-05T01:49:19.000Z | 2021-06-23T18:34:51.000Z | accounts/apps.py | mgovoni-devel/MatD3 | 5b68d147f886bce427f92bb560159e62cec2d4e7 | [
"BSD-2-Clause-FreeBSD"
] | 2 | 2019-11-06T21:16:57.000Z | 2019-11-30T10:51:44.000Z | # This file is covered by the BSD license. See LICENSE in the root directory.
from django.apps import AppConfig
class AccountsConfig(AppConfig):
name = 'accounts'
| 24.142857 | 77 | 0.763314 | 24 | 169 | 5.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177515 | 169 | 6 | 78 | 28.166667 | 0.928058 | 0.443787 | 0 | 0 | 0 | 0 | 0.086957 | 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 |
a08a9f3b13565a39c17c4743c3d7cb578ef3056d | 82 | py | Python | Aula 11/Aula11.py | Katakhan/TrabalhosPython2 | ab47af0ff3c00922857578e58a1a149d9e65e229 | [
"MIT"
] | null | null | null | Aula 11/Aula11.py | Katakhan/TrabalhosPython2 | ab47af0ff3c00922857578e58a1a149d9e65e229 | [
"MIT"
] | null | null | null | Aula 11/Aula11.py | Katakhan/TrabalhosPython2 | ab47af0ff3c00922857578e58a1a149d9e65e229 | [
"MIT"
] | null | null | null | def invest(investimento,mes,taxa):
r = investimento*(1+taxa)**64
return r
| 20.5 | 34 | 0.670732 | 12 | 82 | 4.583333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 0.182927 | 82 | 3 | 35 | 27.333333 | 0.776119 | 0 | 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 |
2623125217dee69151205ec7d8f7ccb8459a5b03 | 65 | py | Python | tests/__init__.py | przemekkot/python_happy_repo | 29355a43d6c5d722b2b1eb5820ce56bdda1eccf8 | [
"MIT"
] | null | null | null | tests/__init__.py | przemekkot/python_happy_repo | 29355a43d6c5d722b2b1eb5820ce56bdda1eccf8 | [
"MIT"
] | null | null | null | tests/__init__.py | przemekkot/python_happy_repo | 29355a43d6c5d722b2b1eb5820ce56bdda1eccf8 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Unit test package for happy_repo."""
| 16.25 | 39 | 0.584615 | 9 | 65 | 4.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.169231 | 65 | 3 | 40 | 21.666667 | 0.666667 | 0.861538 | 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 |
266286508a18621f5c3ecfc580a9ec53f5ce835c | 1,840 | py | Python | src/immutable_data_validation/errors.py | CuriBio/immutable-data-validation | 2d919e213b5090d44b96aaaa5c0ad87a04e57e4c | [
"MIT"
] | null | null | null | src/immutable_data_validation/errors.py | CuriBio/immutable-data-validation | 2d919e213b5090d44b96aaaa5c0ad87a04e57e4c | [
"MIT"
] | 27 | 2020-08-05T17:43:47.000Z | 2022-03-30T14:04:14.000Z | src/immutable_data_validation/errors.py | CuriBio/immutable-data-validation | 2d919e213b5090d44b96aaaa5c0ad87a04e57e4c | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Generic errors for immutable data validation."""
class ImmutableDataValidationError(Exception):
def __init__(self, msg: str = None, append_text: str = None):
if append_text is not None:
msg = "%s %s" % (msg, append_text)
super().__init__(msg)
class Immutabl... | 22.168675 | 82 | 0.810326 | 107 | 1,840 | 13.82243 | 0.411215 | 0.073022 | 0.279919 | 0.250169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000631 | 0.138043 | 1,840 | 82 | 83 | 22.439024 | 0.931904 | 0.059239 | 0 | 0.574468 | 0 | 0 | 0.0029 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021277 | false | 0.297872 | 0 | 0 | 0.340426 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
13fa69c335a52b1f49a6904b68620dd57112decc | 184 | py | Python | froide/account/apps.py | ashmpace/question-mtl | 5ce1289cd6db0e629aa138d2dee235d9a4c4546b | [
"MIT"
] | null | null | null | froide/account/apps.py | ashmpace/question-mtl | 5ce1289cd6db0e629aa138d2dee235d9a4c4546b | [
"MIT"
] | 3 | 2020-02-11T21:43:56.000Z | 2021-11-15T17:47:06.000Z | froide/account/apps.py | ashmpace/question-mtl | 5ce1289cd6db0e629aa138d2dee235d9a4c4546b | [
"MIT"
] | null | null | null | from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
class AccountConfig(AppConfig):
name = 'froide.account'
verbose_name = _("Account")
| 23 | 55 | 0.766304 | 22 | 184 | 6.227273 | 0.727273 | 0.145985 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 184 | 7 | 56 | 26.285714 | 0.878205 | 0 | 0 | 0 | 0 | 0 | 0.11413 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
cd05f64e9eaa2e643db1c6c267fc6c6bbcb3a3a8 | 137 | py | Python | odym/__init__.py | jayarehart/ODYM | 187b91b6e1b91db12b52c7181285b9119a9c8efb | [
"MIT"
] | null | null | null | odym/__init__.py | jayarehart/ODYM | 187b91b6e1b91db12b52c7181285b9119a9c8efb | [
"MIT"
] | null | null | null | odym/__init__.py | jayarehart/ODYM | 187b91b6e1b91db12b52c7181285b9119a9c8efb | [
"MIT"
] | null | null | null | # from .ODYM_Classes import ODYM_Classes
# from .ODYM_Functions import ODYM_Functions
from .dynamic_stock_model import DynamicStockModel
| 34.25 | 50 | 0.861314 | 18 | 137 | 6.222222 | 0.5 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10219 | 137 | 3 | 51 | 45.666667 | 0.910569 | 0.591241 | 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 |
cd5b1f6020886eff31f61755d7f40b7994e74976 | 140 | py | Python | djangoapp_cloudedbats_bat_activity/apps.py | cloudedbats/cloudedbats_web_archive | 39e571aa88efd149fd07b4ecc33207af44276c9b | [
"MIT"
] | null | null | null | djangoapp_cloudedbats_bat_activity/apps.py | cloudedbats/cloudedbats_web_archive | 39e571aa88efd149fd07b4ecc33207af44276c9b | [
"MIT"
] | null | null | null | djangoapp_cloudedbats_bat_activity/apps.py | cloudedbats/cloudedbats_web_archive | 39e571aa88efd149fd07b4ecc33207af44276c9b | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class DjangoappCloudedbatsBatActivityConfig(AppConfig):
name = 'djangoapp_cloudedbats_bat_activity'
| 23.333333 | 55 | 0.842857 | 13 | 140 | 8.846154 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 140 | 5 | 56 | 28 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0.242857 | 0.242857 | 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 |
26bd2148585b0aeaf0f1f6700c6ab8343df2e30a | 62 | py | Python | ibus_sphotik.py | titonbarua/sphotik | 3f457418fc164855a05356a6328fa4a19d2bd968 | [
"BSD-2-Clause"
] | 8 | 2018-10-18T06:02:38.000Z | 2021-11-29T08:52:25.000Z | ibus_sphotik.py | titonbarua/sphotik | 3f457418fc164855a05356a6328fa4a19d2bd968 | [
"BSD-2-Clause"
] | 1 | 2020-08-18T12:06:57.000Z | 2020-08-18T16:26:58.000Z | ibus_sphotik.py | titonbarua/sphotik | 3f457418fc164855a05356a6328fa4a19d2bd968 | [
"BSD-2-Clause"
] | 1 | 2019-02-03T06:59:45.000Z | 2019-02-03T06:59:45.000Z | #!/usr/bin/env python3
from sphotik.engine import main
main()
| 15.5 | 31 | 0.758065 | 10 | 62 | 4.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.112903 | 62 | 3 | 32 | 20.666667 | 0.836364 | 0.33871 | 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 | 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 |
26c7385ed2d9be1c180cabbe66f89b1ea2e21ea6 | 387 | py | Python | d4data/data_access/base.py | kforti/D4Data | e531f115877b751da0543004630dfe54c3ad0bc5 | [
"Apache-2.0"
] | 2 | 2020-09-05T21:49:24.000Z | 2020-11-28T17:00:58.000Z | d4data/data_access/base.py | kforti/D4Data | e531f115877b751da0543004630dfe54c3ad0bc5 | [
"Apache-2.0"
] | null | null | null | d4data/data_access/base.py | kforti/D4Data | e531f115877b751da0543004630dfe54c3ad0bc5 | [
"Apache-2.0"
] | null | null | null | from abc import abstractmethod, ABC
class BaseDataAccess(ABC):
@abstractmethod
def read(self, name):
raise NotImplemented
@abstractmethod
def update(self, name, data):
raise NotImplemented
@abstractmethod
def put(self, name, data):
raise NotImplemented
@abstrac... | 16.125 | 35 | 0.658915 | 38 | 387 | 6.710526 | 0.421053 | 0.266667 | 0.388235 | 0.423529 | 0.376471 | 0.376471 | 0.376471 | 0 | 0 | 0 | 0 | 0 | 0.273902 | 387 | 23 | 36 | 16.826087 | 0.907473 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.071429 | 0 | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
26dcb79605dae5ea61aaa7182e90030c5519adb9 | 1,375 | py | Python | pyvect/prod.py | ToastCoder/vectoralg | 66dc9f00f9d153747db948d3f738010c55264c68 | [
"MIT"
] | 2 | 2020-09-20T07:31:56.000Z | 2020-10-24T10:27:13.000Z | pyvect/prod.py | ToastCoder/vectoralg | 66dc9f00f9d153747db948d3f738010c55264c68 | [
"MIT"
] | 2 | 2020-09-09T12:52:08.000Z | 2020-09-18T16:08:00.000Z | pyvect/prod.py | ToastCoder/vectoralg | 66dc9f00f9d153747db948d3f738010c55264c68 | [
"MIT"
] | null | null | null | # SUBMODULE FOR VECTOR PRODUCT AND SCALAR PRODUCT RELATED FUNCTIONS
# TO USE THE FUNCTIONS IN THIS SUBMODULES:
# >>> pyvect.prod
# IMPORTING REQUIRED MODULES
from . import __init__
from .__init__ import *
# FUNCTIONS
# s3() - Returns the scalar triple product of the given three vectors.
# Syntax: pyvect.prod.s3(vec... | 36.184211 | 105 | 0.725091 | 232 | 1,375 | 4.142241 | 0.228448 | 0.12487 | 0.01873 | 0.07076 | 0.734651 | 0.703434 | 0.609781 | 0.609781 | 0.609781 | 0.51821 | 0 | 0.034662 | 0.160727 | 1,375 | 38 | 106 | 36.184211 | 0.798094 | 0.781818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
26dcd0ba5188788ed798ba0125d0eb3aab49ac5d | 51 | py | Python | run_tests.py | DavHau/FlowUtils | c221a8d2ab5ecd09e340183b17d710c157109589 | [
"BSD-3-Clause"
] | 10 | 2018-12-04T18:33:57.000Z | 2022-03-26T17:00:20.000Z | run_tests.py | DavHau/FlowUtils | c221a8d2ab5ecd09e340183b17d710c157109589 | [
"BSD-3-Clause"
] | 8 | 2015-05-16T19:17:47.000Z | 2022-03-21T14:49:24.000Z | run_tests.py | DavHau/FlowUtils | c221a8d2ab5ecd09e340183b17d710c157109589 | [
"BSD-3-Clause"
] | 5 | 2019-03-15T01:11:36.000Z | 2021-05-14T09:21:26.000Z | import unittest
unittest.main('flowutils.tests')
| 10.2 | 32 | 0.784314 | 6 | 51 | 6.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098039 | 51 | 4 | 33 | 12.75 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
26de7469c5f096a4a77d29cd48728b7adc965bb4 | 136 | py | Python | train.py | BonjourGit/nlc2cmd-submission-hubris | 7928f75ad212295c732dbd4e42ce4eba378d2509 | [
"MIT"
] | 7 | 2020-12-01T16:13:59.000Z | 2022-01-01T18:02:22.000Z | train.py | BonjourGit/nlc2cmd-submission-hubris | 7928f75ad212295c732dbd4e42ce4eba378d2509 | [
"MIT"
] | 1 | 2020-12-22T02:15:13.000Z | 2021-01-05T14:14:30.000Z | train.py | BonjourGit/nlc2cmd-submission-hubris | 7928f75ad212295c732dbd4e42ce4eba378d2509 | [
"MIT"
] | 2 | 2021-01-05T03:16:06.000Z | 2021-01-14T05:06:31.000Z | # Copyright 2020 Nokia
# Licensed under the MIT License.
# SPDX-License-Identifier: MIT
from src.tune import experiments
experiments() | 19.428571 | 33 | 0.786765 | 18 | 136 | 5.944444 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034188 | 0.139706 | 136 | 7 | 34 | 19.428571 | 0.880342 | 0.595588 | 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 | 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 |
26f169a9dd466e184532fa5b4a8e9a88fd38cc10 | 767 | py | Python | contrib/cookiecutter/ckan_extension/{{cookiecutter.project}}/ckanext/{{cookiecutter.project_shortname}}/logic/action.py | gg2/ckan | d61a533cc330b6050f4957573f58ec912695ed0a | [
"BSD-3-Clause"
] | 2,805 | 2015-01-02T18:13:15.000Z | 2022-03-31T03:35:01.000Z | contrib/cookiecutter/ckan_extension/{{cookiecutter.project}}/ckanext/{{cookiecutter.project_shortname}}/logic/action.py | gg2/ckan | d61a533cc330b6050f4957573f58ec912695ed0a | [
"BSD-3-Clause"
] | 3,801 | 2015-01-02T11:05:36.000Z | 2022-03-31T19:24:37.000Z | contrib/cookiecutter/ckan_extension/{{cookiecutter.project}}/ckanext/{{cookiecutter.project_shortname}}/logic/action.py | gg2/ckan | d61a533cc330b6050f4957573f58ec912695ed0a | [
"BSD-3-Clause"
] | 1,689 | 2015-01-02T19:46:43.000Z | 2022-03-28T14:59:43.000Z | import ckan.plugins.toolkit as tk
import ckanext.{{cookiecutter.project_shortname}}.logic.schema as schema
@tk.side_effect_free
def {{cookiecutter.project_shortname}}_get_sum(context, data_dict):
tk.check_access(
"{{cookiecutter.project_shortname}}_get_sum", context, data_dict)
data, errors = tk.navl_... | 26.448276 | 73 | 0.646675 | 85 | 767 | 5.552941 | 0.388235 | 0.241525 | 0.355932 | 0.32839 | 0.438559 | 0.294492 | 0.207627 | 0.207627 | 0 | 0 | 0 | 0 | 0.221643 | 767 | 28 | 74 | 27.392857 | 0.79062 | 0 | 0 | 0.090909 | 0 | 0 | 0.148631 | 0.109518 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.090909 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f87bd92a3963911beb53b0fb57dc0fc34b35099e | 329 | py | Python | State.py | webfraggle/TrinkeyOnlineMeetingMute | 5296d0373014f6ec40ad977f82c31b6ef8071d78 | [
"MIT"
] | 1 | 2021-12-27T11:01:28.000Z | 2021-12-27T11:01:28.000Z | State.py | webfraggle/TrinkeyOnlineMeetingMute | 5296d0373014f6ec40ad977f82c31b6ef8071d78 | [
"MIT"
] | null | null | null | State.py | webfraggle/TrinkeyOnlineMeetingMute | 5296d0373014f6ec40ad977f82c31b6ef8071d78 | [
"MIT"
] | null | null | null | class State:
def __init__(self):
self.pixel = None
self.keyboard = None
self.keyboard_layout = None
pass
def start(self):
pass
def end(self):
pass
def onTick(self):
pass
def onButtonPress(self):
pass
def onButtonRelease(self):
... | 14.954545 | 35 | 0.541033 | 36 | 329 | 4.805556 | 0.416667 | 0.202312 | 0.254335 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.382979 | 329 | 21 | 36 | 15.666667 | 0.852217 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.375 | 0 | 0 | 0.4375 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f893a6c17f477677fd5dac31d3cfa002ab823266 | 101 | py | Python | open/core/betterself/models/__init__.py | lawrendran/open | d136f694bafab647722c78be6f39ec79d589f774 | [
"MIT"
] | 105 | 2019-06-01T08:34:47.000Z | 2022-03-15T11:48:36.000Z | open/core/betterself/models/__init__.py | lawrendran/open | d136f694bafab647722c78be6f39ec79d589f774 | [
"MIT"
] | 111 | 2019-06-04T15:34:14.000Z | 2022-03-12T21:03:20.000Z | open/core/betterself/models/__init__.py | lawrendran/open | d136f694bafab647722c78be6f39ec79d589f774 | [
"MIT"
] | 26 | 2019-09-04T06:06:12.000Z | 2022-01-03T03:40:11.000Z | from open.utilities.importing_models import import_submodules
__all__ = import_submodules(__name__)
| 25.25 | 61 | 0.871287 | 12 | 101 | 6.416667 | 0.75 | 0.415584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079208 | 101 | 3 | 62 | 33.666667 | 0.827957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f8b9d179374e6b988ce47e878e774082c0267d02 | 521 | py | Python | compass/tasks/client.py | huawei-cloud/compass | 1f09b2d270917ffcc3829e533dd90c04ef664ff6 | [
"Apache-2.0"
] | 2 | 2015-12-07T06:47:16.000Z | 2016-01-18T05:27:52.000Z | compass/tasks/client.py | SysCompass/compass-core | b04d02ae97d6fbeea9a6c42c6d368778c371ccde | [
"Apache-2.0"
] | 1 | 2016-03-17T17:36:56.000Z | 2016-03-17T17:36:56.000Z | compass/tasks/client.py | SysCompass/compass-core | b04d02ae97d6fbeea9a6c42c6d368778c371ccde | [
"Apache-2.0"
] | 4 | 2016-06-13T17:19:14.000Z | 2018-09-10T03:11:51.000Z | """Module to setup celery client.
.. moduleauthor:: Xiaodong Wang <xiaodongwang@huawei.com>
.. note::
If CELERY_CONFIG_MODULE is set in environment, load celery config from
the filename declared in CELERY_CONFIG_MODULE.
"""
import os
from celery import Celery
celery = Celery(__name__)
if 'CELERY_... | 26.05 | 76 | 0.763916 | 68 | 521 | 5.602941 | 0.514706 | 0.220472 | 0.188976 | 0.104987 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163148 | 521 | 19 | 77 | 27.421053 | 0.873853 | 0.429942 | 0 | 0 | 0 | 0 | 0.143885 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0.375 | 0 | 0.375 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
f8c8ef83ebc72a4b4bb878a1581f1a889d521c64 | 69 | py | Python | enthought/kiva/fonttools/fontTools/misc/textTools.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/kiva/fonttools/fontTools/misc/textTools.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/kiva/fonttools/fontTools/misc/textTools.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from kiva.fonttools.fontTools.misc.textTools import *
| 23 | 53 | 0.811594 | 9 | 69 | 6.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101449 | 69 | 2 | 54 | 34.5 | 0.903226 | 0.173913 | 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 |
3e0257e4b792fa050adc966d522bb219f9d719a3 | 242 | py | Python | theproject/urlexample/urls.py | racs93/Django_proyects | b2200d4b60a11b331c89925e1cbc5f6d6c9df3b5 | [
"bzip2-1.0.6"
] | null | null | null | theproject/urlexample/urls.py | racs93/Django_proyects | b2200d4b60a11b331c89925e1cbc5f6d6c9df3b5 | [
"bzip2-1.0.6"
] | null | null | null | theproject/urlexample/urls.py | racs93/Django_proyects | b2200d4b60a11b331c89925e1cbc5f6d6c9df3b5 | [
"bzip2-1.0.6"
] | null | null | null | from django.urls import path
from . import views
urlpatterns = [
path('profile/28/', views.profile),
path('profile/<int:username>/', views.profile),
path('profile/<slug:article_value>/', views.article),
path('profile/', views.profile)
]
| 24.2 | 54 | 0.710744 | 31 | 242 | 5.516129 | 0.451613 | 0.25731 | 0.187135 | 0.269006 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009217 | 0.103306 | 242 | 9 | 55 | 26.888889 | 0.778802 | 0 | 0 | 0 | 0 | 0 | 0.293388 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 |
3e14a7ebf9a128a9e727d92e9b4b8e26932b5939 | 15,834 | py | Python | tests/test_main.py | xiachufang/importanize | 594e33b7827a9619c15aaacbe03b8cdf42a5c7a0 | [
"MIT"
] | null | null | null | tests/test_main.py | xiachufang/importanize | 594e33b7827a9619c15aaacbe03b8cdf42a5c7a0 | [
"MIT"
] | null | null | null | tests/test_main.py | xiachufang/importanize | 594e33b7827a9619c15aaacbe03b8cdf42a5c7a0 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals
import json
import sys
import unittest
from copy import deepcopy
import mock
import six
from pathlib2 import Path
from importanize import __version__
from importanize.__main__ import (
CIFailure,
Config,
main,... | 30.102662 | 80 | 0.487243 | 1,485 | 15,834 | 4.919865 | 0.094276 | 0.036956 | 0.04818 | 0.066247 | 0.778812 | 0.745825 | 0.74213 | 0.709554 | 0.692171 | 0.662195 | 0 | 0.002258 | 0.41253 | 15,834 | 525 | 81 | 30.16 | 0.783165 | 0.001326 | 0 | 0.643326 | 0 | 0 | 0.067168 | 0.004807 | 0 | 0 | 0 | 0 | 0.078775 | 1 | 0.056893 | false | 0.004376 | 0.094092 | 0 | 0.172867 | 0.133479 | 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 |
3e1d95281c58420a80cf5f29be0eb254c01e8cd1 | 53 | py | Python | tests/__init__.py | agcooke/Python-Wave-Forecast | adaf4788da06143aa8b1ab4908e542cbb44073e8 | [
"BSD-3-Clause"
] | 4 | 2017-09-21T07:59:43.000Z | 2021-07-12T16:19:36.000Z | tests/__init__.py | agcooke/Python-Wave-Forecast | adaf4788da06143aa8b1ab4908e542cbb44073e8 | [
"BSD-3-Clause"
] | null | null | null | tests/__init__.py | agcooke/Python-Wave-Forecast | adaf4788da06143aa8b1ab4908e542cbb44073e8 | [
"BSD-3-Clause"
] | 1 | 2018-04-09T19:51:47.000Z | 2018-04-09T19:51:47.000Z | __author__="cooke"
__date__ ="$27-Nov-2011 11:42:22$" | 26.5 | 34 | 0.716981 | 9 | 53 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.24 | 0.056604 | 53 | 2 | 34 | 26.5 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0.5 | 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 |
3e4117e4756dec5fadcb1fb30a2c930fe4e72336 | 14,054 | py | Python | nova/tests/unit/virt/hyperv/test_imagecache.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/virt/hyperv/test_imagecache.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/virt/hyperv/test_imagecache.py | bopopescu/nova-token | ec98f69dea7b3e2b9013b27fd55a2c1a1ac6bfb2 | [
"Apache-2.0"
] | 2 | 2017-07-20T17:31:34.000Z | 2020-07-24T02:42:19.000Z | begin_unit
comment|'# Copyright 2014 Cloudbase Solutions Srl'
nl|'\n'
comment|'# All Rights Reserved.'
nl|'\n'
comment|'#'
nl|'\n'
comment|'# Licensed under the Apache License, Version 2.0 (the "License"); you may'
nl|'\n'
comment|'# not use this file except in compliance with the License. You may obtain'
nl|'\n'... | 13.233522 | 88 | 0.634766 | 2,156 | 14,054 | 3.969388 | 0.093228 | 0.194905 | 0.078289 | 0.103061 | 0.805679 | 0.768754 | 0.688362 | 0.64688 | 0.598037 | 0.539729 | 0 | 0.000785 | 0.093354 | 14,054 | 1,061 | 89 | 13.245994 | 0.670852 | 0 | 0 | 0.923657 | 0 | 0 | 0.406503 | 0.064821 | 0 | 0 | 0 | 0 | 0.013195 | 0 | null | null | 0 | 0.010368 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3e69e547561b965ccb8e2de34af927b2f49381b6 | 1,875 | py | Python | projectAi/boot/TwitterBot.py | rajatDeveloper/Jarvis_python_project | 55e0738e8b0051723fc1788c13b0f1a69a76b525 | [
"MIT"
] | 1 | 2022-01-07T06:30:40.000Z | 2022-01-07T06:30:40.000Z | projectAi/boot/TwitterBot.py | rajatDeveloper/Jarvis_python_project | 55e0738e8b0051723fc1788c13b0f1a69a76b525 | [
"MIT"
] | null | null | null | projectAi/boot/TwitterBot.py | rajatDeveloper/Jarvis_python_project | 55e0738e8b0051723fc1788c13b0f1a69a76b525 | [
"MIT"
] | null | null | null | # from io import open_code
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.chrome.options import Options
import time
def account_info():
with open('data.txt','r') as rd:
info = rd.read().split()
email = info[0]
password = info[1]
re... | 41.666667 | 217 | 0.7136 | 346 | 1,875 | 3.760116 | 0.213873 | 0.299769 | 0.269792 | 0.193697 | 0.55957 | 0.543428 | 0.453497 | 0.434281 | 0.362029 | 0.236741 | 0 | 0.027698 | 0.075733 | 1,875 | 44 | 218 | 42.613636 | 0.723024 | 0.0128 | 0 | 0.216216 | 0 | 0.162162 | 0.435911 | 0.383451 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027027 | false | 0.162162 | 0.108108 | 0 | 0.162162 | 0.027027 | 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 |
e468644b08bb99b0eebffbe8413b7ec809db5b0d | 247 | py | Python | project-env/api.py | bachew/distmono | 869c483c50830a8b0938a3e5bcec44d0124ede29 | [
"MIT"
] | null | null | null | project-env/api.py | bachew/distmono | 869c483c50830a8b0938a3e5bcec44d0124ede29 | [
"MIT"
] | null | null | null | project-env/api.py | bachew/distmono | 869c483c50830a8b0938a3e5bcec44d0124ede29 | [
"MIT"
] | null | null | null | from sample_projects.api import ApiProject
def get_project():
return ApiProject(env=get_env())
def get_env():
return {
'namespace': 'distmono-sample-api', # prefix for all stack names
'region': 'ap-southeast-1',
}
| 19 | 73 | 0.647773 | 31 | 247 | 5.032258 | 0.709677 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005236 | 0.226721 | 247 | 12 | 74 | 20.583333 | 0.811518 | 0.105263 | 0 | 0 | 0 | 0 | 0.219178 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.125 | 0.25 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
e475bf26829647718fbf52e37f1eb2c35fcc56df | 1,037 | py | Python | src/codejam/simple_template.py | NoxWings/GoogleCodeJam | c10858c797d53875abb39b9c93cf2c00ef056b2f | [
"MIT"
] | 2 | 2017-04-09T14:47:30.000Z | 2017-04-19T07:43:51.000Z | src/codejam/simple_template.py | NoxWings/GoogleCodeJam | c10858c797d53875abb39b9c93cf2c00ef056b2f | [
"MIT"
] | null | null | null | src/codejam/simple_template.py | NoxWings/GoogleCodeJam | c10858c797d53875abb39b9c93cf2c00ef056b2f | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#===============================================================================
from __future__ import unicode_literals
#===============================================================================
def read_input(strip=True):
return raw_input().strip() if strip el... | 25.292683 | 80 | 0.400193 | 90 | 1,037 | 4.277778 | 0.444444 | 0.116883 | 0.062338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00221 | 0.12729 | 1,037 | 40 | 81 | 25.925 | 0.423204 | 0.420444 | 0 | 0 | 0 | 0 | 0.03367 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.055556 | 0.277778 | 0.666667 | 0.166667 | 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 |
e4cf091c7ff8c3ae9b063a52493395a9ecaad7c3 | 79 | py | Python | bmsapp/periodic_scripts/__init__.py | alanmitchell/bmon | 35b3377efa66d978bb471fe0c69ee0a939ba744b | [
"Apache-2.0"
] | 11 | 2017-03-11T04:29:37.000Z | 2021-11-16T11:37:21.000Z | bmsapp/periodic_scripts/__init__.py | alanmitchell/bmon | 35b3377efa66d978bb471fe0c69ee0a939ba744b | [
"Apache-2.0"
] | 34 | 2015-11-24T18:59:34.000Z | 2021-08-13T00:42:34.000Z | bmsapp/periodic_scripts/__init__.py | alanmitchell/bmon | 35b3377efa66d978bb471fe0c69ee0a939ba744b | [
"Apache-2.0"
] | 7 | 2016-01-15T01:54:22.000Z | 2020-04-26T08:01:06.000Z | """A package for storing and initiating scripts that are run periodically.
"""
| 26.333333 | 74 | 0.759494 | 11 | 79 | 5.454545 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151899 | 79 | 2 | 75 | 39.5 | 0.895522 | 0.898734 | 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 |
e4e72d3c27db3efc2f45bf1750474d36a8209286 | 535 | py | Python | data/ludb/download_ludb.py | raimonpv/NeuroKit | cb37d83ee20d6a13a91c4848aa435f41e979e203 | [
"MIT"
] | null | null | null | data/ludb/download_ludb.py | raimonpv/NeuroKit | cb37d83ee20d6a13a91c4848aa435f41e979e203 | [
"MIT"
] | null | null | null | data/ludb/download_ludb.py | raimonpv/NeuroKit | cb37d83ee20d6a13a91c4848aa435f41e979e203 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Script for formatting the Lobachevsky University Electrocardiography Database
Steps:
1. Run this script.
Credits:
https://github.com/berndporr/py-ecg-detectors/blob/master/tester_MITDB.py by Bernd Porr
"""
import pandas as pd
import numpy as np
import wfdb
import os
#wfdb.rdrecord(p... | 26.75 | 91 | 0.723364 | 82 | 535 | 4.634146 | 0.731707 | 0.047368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010616 | 0.119626 | 535 | 20 | 92 | 26.75 | 0.796178 | 0.846729 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e4e89d1f0cbdc9d47ab325cb92724ef2d165a15f | 93 | py | Python | djangospeed/speedtest/apps.py | titusjoyson/django-flask-speedtest | 9e8fcdbc61db708c77890e93503a115a5114fcf8 | [
"0BSD"
] | 2 | 2019-07-16T19:09:50.000Z | 2020-01-03T09:06:46.000Z | app/tempBerry/speedtest/apps.py | ChristianKreuzberger/tempBerry | d4a9fe543df57ebdb82d6ebf398607ccf9e6c0bf | [
"MIT"
] | 13 | 2019-12-26T17:31:32.000Z | 2022-03-29T22:28:22.000Z | djangospeed/speedtest/apps.py | titusjoyson/django-flask-speedtest | 9e8fcdbc61db708c77890e93503a115a5114fcf8 | [
"0BSD"
] | 1 | 2020-02-09T22:46:05.000Z | 2020-02-09T22:46:05.000Z | from django.apps import AppConfig
class SpeedtestConfig(AppConfig):
name = 'speedtest'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 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 |
e4f803268db2abe06becc9819df03f848bd10812 | 127 | py | Python | example/models.py | gregorynicholas/engineauth | df609fd945a55b796229b3cda9baec79105c6446 | [
"Apache-2.0"
] | 1 | 2015-12-14T10:37:52.000Z | 2015-12-14T10:37:52.000Z | example/models.py | gregorynicholas/engineauth | df609fd945a55b796229b3cda9baec79105c6446 | [
"Apache-2.0"
] | null | null | null | example/models.py | gregorynicholas/engineauth | df609fd945a55b796229b3cda9baec79105c6446 | [
"Apache-2.0"
] | null | null | null | from engineauth import models
class CustomUser(models.User):
@classmethod
def _get_kind(cls):
return 'EAUser'
| 18.142857 | 30 | 0.700787 | 15 | 127 | 5.8 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220472 | 127 | 6 | 31 | 21.166667 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0.047244 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 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 | 0 | 1 | 1 | 0 | 0 | 4 |
90044b4795cabd524ecd61fd4425e141f39d9606 | 83 | py | Python | examples/nowcoder/SQL7/apps.py | zhengtong0898/django-decode | 69680853a4a5b07f6a9c4b65c7d86b2d401a92b1 | [
"MIT"
] | 5 | 2020-07-14T07:48:10.000Z | 2021-12-20T21:20:10.000Z | examples/nowcoder/SQL7/apps.py | zhengtong0898/django-decode | 69680853a4a5b07f6a9c4b65c7d86b2d401a92b1 | [
"MIT"
] | 7 | 2021-03-26T03:13:38.000Z | 2022-03-12T00:42:03.000Z | examples/nowcoder/SQL7/apps.py | zhengtong0898/django-decode | 69680853a4a5b07f6a9c4b65c7d86b2d401a92b1 | [
"MIT"
] | 1 | 2021-02-16T07:04:25.000Z | 2021-02-16T07:04:25.000Z | from django.apps import AppConfig
class Sql7Config(AppConfig):
name = 'SQL7'
| 13.833333 | 33 | 0.73494 | 10 | 83 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.180723 | 83 | 5 | 34 | 16.6 | 0.867647 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 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 |
901c0c11621985d45c5104eaf7d5f2b306604717 | 241 | py | Python | python/qibuild/test/projects/pycmd/test.py | vbarbaresi/qibuild | eab6b815fe0af49ea5c41ccddcd0dff2363410e1 | [
"BSD-3-Clause"
] | null | null | null | python/qibuild/test/projects/pycmd/test.py | vbarbaresi/qibuild | eab6b815fe0af49ea5c41ccddcd0dff2363410e1 | [
"BSD-3-Clause"
] | null | null | null | python/qibuild/test/projects/pycmd/test.py | vbarbaresi/qibuild | eab6b815fe0af49ea5c41ccddcd0dff2363410e1 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (c) 2012-2018 SoftBank Robotics. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the COPYING file.
import sys
print ", ".join([x.capitalize() for x in sys.argv[1:]]) + "!"
| 40.166667 | 72 | 0.709544 | 41 | 241 | 4.170732 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045 | 0.170124 | 241 | 5 | 73 | 48.2 | 0.81 | 0.66805 | 0 | 0 | 0 | 0 | 0.039474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
903a8e0f31ef726e850b165e570426b02713831f | 570 | py | Python | CPT/types_mgr.py | Grosse-pasteque/CPT | 3e3588617a7c058361546844a2c35913b0bcf7ed | [
"MIT"
] | 1 | 2021-06-30T19:54:31.000Z | 2021-06-30T19:54:31.000Z | CPT/types_mgr.py | Grosse-pasteque/CPT | 3e3588617a7c058361546844a2c35913b0bcf7ed | [
"MIT"
] | null | null | null | CPT/types_mgr.py | Grosse-pasteque/CPT | 3e3588617a7c058361546844a2c35913b0bcf7ed | [
"MIT"
] | 1 | 2021-07-20T07:33:20.000Z | 2021-07-20T07:33:20.000Z | import re
types = {
"str": [str, re.compile(r"""('|")(.*)\1""")],
"int": [int, re.compile(r'\d+')],
"float": [float, re.compile(r'\d+\.\d+')],
"bool": [bool, re.compile(r'True|False')],
"tuple": [tuple, re.compile(r'\((.*)\)')],
"list": [list, re.compile(r'\[(.*)\]')],
"dict": [dict, re.compi... | 38 | 68 | 0.414035 | 80 | 570 | 2.95 | 0.375 | 0.419492 | 0.466102 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024793 | 0.150877 | 570 | 15 | 69 | 38 | 0.46281 | 0 | 0 | 0 | 0 | 0 | 0.336252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.071429 | 0 | 0.071429 | 0 | 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 |
5f3d5340550fc26d3ced38a0d2d95c4fea2b2859 | 719 | py | Python | features/steps/__init__.py | longaccess/longaccess-client | 710bab93e9b2b9264228769b3cb37808c97977ea | [
"Apache-2.0"
] | 2 | 2015-01-04T01:15:36.000Z | 2015-01-20T17:05:34.000Z | features/steps/__init__.py | longaccess/longaccess-client | 710bab93e9b2b9264228769b3cb37808c97977ea | [
"Apache-2.0"
] | 1 | 2016-04-21T00:33:46.000Z | 2016-05-05T09:23:50.000Z | features/steps/__init__.py | longaccess/longaccess-client | 710bab93e9b2b9264228769b3cb37808c97977ea | [
"Apache-2.0"
] | null | null | null | from behave_cli.expect.steps import * # noqa
from behave_cli.files.steps import * # noqa
from behave_cli.api.steps import * # noqa
from behave_cli.s3mock.steps import * # noqa
from behave_cli.netrc.steps import * # noqa
from behave_cli.s3mock import setup as s3setup
from behave_cli.s3mock import teardown as s3tear... | 26.62963 | 66 | 0.732962 | 105 | 719 | 4.895238 | 0.361905 | 0.155642 | 0.202335 | 0.184825 | 0.414397 | 0.354086 | 0.132296 | 0 | 0 | 0 | 0 | 0.017153 | 0.189152 | 719 | 26 | 67 | 27.653846 | 0.864494 | 0.086231 | 0 | 0 | 0 | 0 | 0.009231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15 | false | 0 | 0.45 | 0.05 | 0.65 | 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 |
5f4a3be87f1e8307cd1466585175ddedacf3a06d | 426 | py | Python | commerce/auctions/forms.py | alxojy/CS50w | 729578474d6b997128d13910d452ddb19762cb80 | [
"MIT"
] | 7 | 2021-05-15T16:32:00.000Z | 2022-03-31T12:11:35.000Z | commerce/auctions/forms.py | alxojy/CS50w | 729578474d6b997128d13910d452ddb19762cb80 | [
"MIT"
] | 1 | 2022-03-10T07:26:37.000Z | 2022-03-10T07:26:37.000Z | commerce/auctions/forms.py | alxojy/CS50w | 729578474d6b997128d13910d452ddb19762cb80 | [
"MIT"
] | 30 | 2021-01-25T18:20:38.000Z | 2022-03-23T02:59:41.000Z | from django.forms import ModelForm
from django import forms
from .models import Listing, Bid, Comment, Category
class CreateListingForm(forms.Form):
title = forms.CharField(label="Title")
description = forms.CharField(widget=forms.Textarea(attrs={'rows':'5', 'cols':'50'}))
bid = forms.CharField(widget=for... | 42.6 | 89 | 0.725352 | 55 | 426 | 5.6 | 0.581818 | 0.181818 | 0.194805 | 0.243506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.112676 | 426 | 10 | 90 | 42.6 | 0.796296 | 0 | 0 | 0 | 0 | 0 | 0.065574 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5f7fcf1dcadb2740d739660aeae5f2b00a0221c9 | 1,787 | py | Python | quantronauts/src/draw.py | quantronauts/quantum_Nim-game | 65d22e4d32ea6c5458ad84f44a34b375d972c3fe | [
"Apache-2.0"
] | null | null | null | quantronauts/src/draw.py | quantronauts/quantum_Nim-game | 65d22e4d32ea6c5458ad84f44a34b375d972c3fe | [
"Apache-2.0"
] | null | null | null | quantronauts/src/draw.py | quantronauts/quantum_Nim-game | 65d22e4d32ea6c5458ad84f44a34b375d972c3fe | [
"Apache-2.0"
] | null | null | null | def draw(stick: int, cx: str):
"""Function to draw of the board.
Args:
stick: nb of sticks left
cx: past
"""
if stick == 11:
print(
"#######################\n | | | | | | | | | | | \n#######################"
)
if stick == 10:
print(
"#... | 24.479452 | 88 | 0.145495 | 96 | 1,787 | 2.708333 | 0.3125 | 0.296154 | 0.307692 | 0.346154 | 0.553846 | 0.553846 | 0 | 0 | 0 | 0 | 0 | 0.012585 | 0.421936 | 1,787 | 72 | 89 | 24.819444 | 0.239109 | 0.043649 | 0 | 0.45614 | 0 | 0 | 0.422894 | 0.326216 | 0 | 0 | 0 | 0 | 0 | 1 | 0.017544 | false | 0 | 0 | 0 | 0.017544 | 0.192982 | 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 |
5f80e106fd0e4269ccefe435cbe58d20d1c6c8cd | 92 | py | Python | likelihoods/hetlikelihood.py | pmorenoz/Baselines4All | 95a2ebbf8ceab5d9ecc9514b43bb72ed2e126073 | [
"Apache-2.0"
] | null | null | null | likelihoods/hetlikelihood.py | pmorenoz/Baselines4All | 95a2ebbf8ceab5d9ecc9514b43bb72ed2e126073 | [
"Apache-2.0"
] | null | null | null | likelihoods/hetlikelihood.py | pmorenoz/Baselines4All | 95a2ebbf8ceab5d9ecc9514b43bb72ed2e126073 | [
"Apache-2.0"
] | null | null | null | #
# Pablo Moreno-Munoz (pabmo@dtu.dk)
# Technical University of Denmark - DTU
# April 2021
| 15.333333 | 39 | 0.717391 | 13 | 92 | 5.076923 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.173913 | 92 | 5 | 40 | 18.4 | 0.815789 | 0.891304 | 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 |
397c9204b2f223d2aa5aabadcb4c47c1dde92a21 | 182 | py | Python | posts/tests/test_apps.py | xelam11/Social-Network-Yatube | 804efcea727da4d837ec63b29a33d285ac682e07 | [
"BSD-3-Clause"
] | null | null | null | posts/tests/test_apps.py | xelam11/Social-Network-Yatube | 804efcea727da4d837ec63b29a33d285ac682e07 | [
"BSD-3-Clause"
] | null | null | null | posts/tests/test_apps.py | xelam11/Social-Network-Yatube | 804efcea727da4d837ec63b29a33d285ac682e07 | [
"BSD-3-Clause"
] | null | null | null | from django.test import TestCase
from posts.apps import PostsConfig
class ReportsConfigTest(TestCase):
def test_apps(self):
self.assertEqual(PostsConfig.name, "posts")
| 22.75 | 51 | 0.763736 | 22 | 182 | 6.272727 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 182 | 7 | 52 | 26 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0.027473 | 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 |
3990ea605940653c3dfdc0bca4986e96f2def3d1 | 86 | py | Python | main/__init__.py | rshalem/inspire.me | a38bf2428c4488664f98bf2ec3a7da3adbf782b9 | [
"MIT"
] | null | null | null | main/__init__.py | rshalem/inspire.me | a38bf2428c4488664f98bf2ec3a7da3adbf782b9 | [
"MIT"
] | null | null | null | main/__init__.py | rshalem/inspire.me | a38bf2428c4488664f98bf2ec3a7da3adbf782b9 | [
"MIT"
] | null | null | null | # default_apps_config = 'main.apps.MainConfig'
# to use only 'main' in INSTALLED APPS | 28.666667 | 46 | 0.755814 | 13 | 86 | 4.846154 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 86 | 3 | 47 | 28.666667 | 0.851351 | 0.94186 | 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 |
399d16f5407234e746db32933e56ff431dc82dc8 | 166 | py | Python | sqs/tests/non-existant_queue.py | gongchengshi/aws | d04d42739e026d2e99936dd046be05293e063e08 | [
"MIT"
] | null | null | null | sqs/tests/non-existant_queue.py | gongchengshi/aws | d04d42739e026d2e99936dd046be05293e063e08 | [
"MIT"
] | null | null | null | sqs/tests/non-existant_queue.py | gongchengshi/aws | d04d42739e026d2e99936dd046be05293e063e08 | [
"MIT"
] | null | null | null | from aws import USWest2 as aws
sqs = aws.sqs()
queue = sqs.lookup('sel17062013--208_73_211_10_32')
try:
msg = queue.get_messages()
except Exception, e:
pass
| 18.444444 | 51 | 0.710843 | 27 | 166 | 4.185185 | 0.814815 | 0.106195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153285 | 0.174699 | 166 | 8 | 52 | 20.75 | 0.671533 | 0 | 0 | 0 | 0 | 0 | 0.175758 | 0.175758 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.142857 | 0.142857 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
39a121abd30cc09c55d2150e6f8ea3d9bd97374d | 120 | py | Python | photo/admin.py | Trippr-dwoc/Trippr-backend | 69a8bb8e1a742b64b4eaf8612f97806e6191e8fb | [
"MIT"
] | null | null | null | photo/admin.py | Trippr-dwoc/Trippr-backend | 69a8bb8e1a742b64b4eaf8612f97806e6191e8fb | [
"MIT"
] | null | null | null | photo/admin.py | Trippr-dwoc/Trippr-backend | 69a8bb8e1a742b64b4eaf8612f97806e6191e8fb | [
"MIT"
] | null | null | null | from django.contrib import admin
from photo.models import Photo
# Register your models here.
admin.site.register(Photo) | 24 | 32 | 0.816667 | 18 | 120 | 5.444444 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116667 | 120 | 5 | 33 | 24 | 0.924528 | 0.216667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
39d0a7e6b9113977a974a2b646efa31868ae49c8 | 134 | py | Python | wsgi.py | sam0737/niceboat | 97a11ba2b382a95534e0a5224536ce795ba4d646 | [
"MIT"
] | 4 | 2018-04-17T02:16:18.000Z | 2018-07-25T17:20:30.000Z | wsgi.py | sam0737/niceboat | 97a11ba2b382a95534e0a5224536ce795ba4d646 | [
"MIT"
] | null | null | null | wsgi.py | sam0737/niceboat | 97a11ba2b382a95534e0a5224536ce795ba4d646 | [
"MIT"
] | null | null | null | from gevent import monkey
monkey.patch_all()
from config import Config
from app import app
if __name__ == "__main__":
app.run()
| 14.888889 | 26 | 0.738806 | 20 | 134 | 4.5 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 134 | 8 | 27 | 16.75 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
39e217f0f77be20b64fac3ee5f325c417432c64a | 120 | py | Python | src/image_server/forms.py | MakingThingsHappen/thumborweb | 7e54fbde5070f015f8760b2ba0087896bc4b8319 | [
"BSD-3-Clause"
] | null | null | null | src/image_server/forms.py | MakingThingsHappen/thumborweb | 7e54fbde5070f015f8760b2ba0087896bc4b8319 | [
"BSD-3-Clause"
] | null | null | null | src/image_server/forms.py | MakingThingsHappen/thumborweb | 7e54fbde5070f015f8760b2ba0087896bc4b8319 | [
"BSD-3-Clause"
] | null | null | null | from django import forms
class FileNameForm(forms.Form):
filename = forms.CharField(max_length=255, min_length=1)
| 20 | 60 | 0.775 | 17 | 120 | 5.352941 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.133333 | 120 | 5 | 61 | 24 | 0.836538 | 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 |
39e2c454d541f9b873497d989778972f17507208 | 35 | py | Python | tests/__init__.py | yngtodd/paint | ee39d58ad430e473b4d8f88107a6d7658f9e34f8 | [
"MIT"
] | null | null | null | tests/__init__.py | yngtodd/paint | ee39d58ad430e473b4d8f88107a6d7658f9e34f8 | [
"MIT"
] | null | null | null | tests/__init__.py | yngtodd/paint | ee39d58ad430e473b4d8f88107a6d7658f9e34f8 | [
"MIT"
] | null | null | null | """Unit test package for paint."""
| 17.5 | 34 | 0.657143 | 5 | 35 | 4.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 35 | 1 | 35 | 35 | 0.766667 | 0.8 | 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 |
f2cd60946a569a02e6556f8fa3bbf3d99e873b3f | 238 | py | Python | aula08/ex020.py | avacorreia/Exercicio-Curso-em-Video-Pyton-Modulo1 | f04a3b0bc360318b1420b23df3325908220773aa | [
"MIT"
] | null | null | null | aula08/ex020.py | avacorreia/Exercicio-Curso-em-Video-Pyton-Modulo1 | f04a3b0bc360318b1420b23df3325908220773aa | [
"MIT"
] | null | null | null | aula08/ex020.py | avacorreia/Exercicio-Curso-em-Video-Pyton-Modulo1 | f04a3b0bc360318b1420b23df3325908220773aa | [
"MIT"
] | null | null | null | import math
nome1 = input('Insira o nome 1: ')
nome2 = input('Insira o nome 2: ')
nome3 = input('Insira o nome 3: ')
nome4 = input('Insira o nome 4: ')
lista = [nome1, nome2, nome3, nome4]
lista.sort()
print('A ordem é {}'.format(lista))
| 26.444444 | 36 | 0.651261 | 39 | 238 | 3.974359 | 0.538462 | 0.283871 | 0.309677 | 0.412903 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060914 | 0.172269 | 238 | 8 | 37 | 29.75 | 0.725888 | 0 | 0 | 0 | 0 | 0 | 0.336134 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.125 | 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 |
8413a5d5c5e15445434a0e503aca8cd232fcf6dd | 4,164 | py | Python | examples/RelationsGrammar.py | osteele/pyfsa | 58a44106d3e3918a17a5a106584d1a91636f9d52 | [
"Artistic-1.0-Perl"
] | 7 | 2015-11-25T10:52:43.000Z | 2018-09-11T21:35:25.000Z | examples/RelationsGrammar.py | osteele/pyfsa | 58a44106d3e3918a17a5a106584d1a91636f9d52 | [
"Artistic-1.0-Perl"
] | null | null | null | examples/RelationsGrammar.py | osteele/pyfsa | 58a44106d3e3918a17a5a106584d1a91636f9d52 | [
"Artistic-1.0-Perl"
] | 7 | 2015-12-23T05:22:20.000Z | 2021-07-13T19:17:32.000Z | from Matcher import Pattern
from Matcher import PatternElement
from Matcher import Action
from PatternScanner import CreateConstituentAction
from Patterns import *
from PatternScanner import CategoryTest
# Noun phrase Patterns
np1 = Pattern(
'nbar = adj* noun+',
[ PatternElement( tag=np_internal_tags, quant='*... | 4,164 | 4,164 | 0.617675 | 446 | 4,164 | 5.585202 | 0.163677 | 0.166198 | 0.134886 | 0.086712 | 0.452429 | 0.288639 | 0.254115 | 0.217182 | 0.177439 | 0.177439 | 0 | 0.024632 | 0.200528 | 4,164 | 1 | 4,164 | 4,164 | 0.723641 | 0.0317 | 0 | 0.422414 | 0 | 0 | 0.126677 | 0.056135 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | false | 0 | 0.051724 | 0 | 0.051724 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
843ce7a9f0ab680367ea937e3cb1598c27e61ed5 | 469 | py | Python | POO 2 - Polimorfismo/Polimorfismo.py | BrianMarquez3/Python-Course | 2622b4ddfd687505becfd246e82a2ed0cb9b76f3 | [
"MIT"
] | 20 | 2020-08-19T23:27:01.000Z | 2022-02-03T12:02:17.000Z | POO 2 - Polimorfismo/Polimorfismo.py | BrianMarquez3/Python-Course | 2622b4ddfd687505becfd246e82a2ed0cb9b76f3 | [
"MIT"
] | 1 | 2021-04-10T18:06:05.000Z | 2021-04-10T18:06:05.000Z | POO 2 - Polimorfismo/Polimorfismo.py | BrianMarquez3/Python-Course | 2622b4ddfd687505becfd246e82a2ed0cb9b76f3 | [
"MIT"
] | 2 | 2020-12-03T19:35:36.000Z | 2021-11-10T14:58:39.000Z | #POO 2 - POLIFORMISMO
#
class Coche():
def desplazamiento(self):
print("Me desplazo utilizando cuatro ruedas")
class Moto():
def desplazamiento(self):
print("Me Desplazo utilizando dos Ruedas")
class Camion():
def desplazamiento(self):
print("Me Desplazo utilizando seis Rue... | 16.172414 | 53 | 0.703625 | 46 | 469 | 7.173913 | 0.478261 | 0.154545 | 0.190909 | 0.236364 | 0.418182 | 0.418182 | 0.418182 | 0 | 0 | 0 | 0 | 0.002667 | 0.200426 | 469 | 28 | 54 | 16.75 | 0.877333 | 0.06823 | 0 | 0.230769 | 0 | 0 | 0.238979 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0 | 0.538462 | 0.230769 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
8443083bbb932a3c8bf6c533273c399123fa6d55 | 50 | py | Python | app/bank/__init__.py | namuan/crypto-rider | f5b47ada60a7cef07e66609e2e92993619c6bfbe | [
"MIT"
] | 1 | 2022-01-18T19:06:20.000Z | 2022-01-18T19:06:20.000Z | app/bank/__init__.py | namuan/crypto-rider | f5b47ada60a7cef07e66609e2e92993619c6bfbe | [
"MIT"
] | null | null | null | app/bank/__init__.py | namuan/crypto-rider | f5b47ada60a7cef07e66609e2e92993619c6bfbe | [
"MIT"
] | null | null | null | class NotEnoughCashError(BaseException):
pass
| 16.666667 | 40 | 0.8 | 4 | 50 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 2 | 41 | 25 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
84466ed813515e12807be31898e9499a289c2514 | 92 | py | Python | swag_auth/apps.py | LikaloLLC/django-swag-auth | 06fd027beca240ff50567a3be4bedee2a7e40a97 | [
"BSD-3-Clause"
] | null | null | null | swag_auth/apps.py | LikaloLLC/django-swag-auth | 06fd027beca240ff50567a3be4bedee2a7e40a97 | [
"BSD-3-Clause"
] | 6 | 2021-05-10T13:11:24.000Z | 2021-09-08T13:35:46.000Z | swag_auth/apps.py | LikaloLLC/django-swag-auth | 06fd027beca240ff50567a3be4bedee2a7e40a97 | [
"BSD-3-Clause"
] | 2 | 2021-04-29T20:08:21.000Z | 2021-11-17T19:21:42.000Z | from django.apps import AppConfig
class SwagAuthConfig(AppConfig):
name = 'swag_auth'
| 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 |
844b20791fdd9ead3d6d386acd2694082d0636bf | 359 | py | Python | KNN.py | papilong123/pyscript | 15fe0849cf18ad75ce61cfdc7a27504adc38834e | [
"MIT"
] | null | null | null | KNN.py | papilong123/pyscript | 15fe0849cf18ad75ce61cfdc7a27504adc38834e | [
"MIT"
] | null | null | null | KNN.py | papilong123/pyscript | 15fe0849cf18ad75ce61cfdc7a27504adc38834e | [
"MIT"
] | null | null | null | from sklearn.neighbors import KNeighborsClassifier
X = [[0], [1], [2], [3], [4], [5], [6], [7], [8]]
y = [0, 0, 0, 1, 1, 1, 2, 2, 2]
neigh = KNeighborsClassifier(n_neighbors=3)
neigh.fit(X, y)
print(neigh.predict([[1.1]]))
print(neigh.predict([[1.6]]))
print(neigh.predict([[5.2]]))
print(neigh.predict([[5... | 25.642857 | 51 | 0.579387 | 59 | 359 | 3.508475 | 0.355932 | 0.241546 | 0.410628 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094463 | 0.144847 | 359 | 13 | 52 | 27.615385 | 0.579805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.1 | 0 | 0.1 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
84539761ddcafb5c2ea8820f4fe424b8dc03d042 | 139 | py | Python | src/ga/lib/iterable.py | lipopo/ga | 2022554dc16b0038832aec4310225f073f1e904a | [
"MIT"
] | null | null | null | src/ga/lib/iterable.py | lipopo/ga | 2022554dc16b0038832aec4310225f073f1e904a | [
"MIT"
] | null | null | null | src/ga/lib/iterable.py | lipopo/ga | 2022554dc16b0038832aec4310225f073f1e904a | [
"MIT"
] | null | null | null | class Iterable(object):
"""
可迭代对象
"""
def __iter__(self):
return self
def __next__(self):
self.next()
| 13.9 | 23 | 0.517986 | 14 | 139 | 4.571429 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.352518 | 139 | 9 | 24 | 15.444444 | 0.711111 | 0.035971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
84563423962034f241b9b7c0a0229ef72a5aa89f | 150 | py | Python | python/reactive/papi/Side.py | morriph/platform-api | b53cc146a3653ab6c358d6c7ecdfd8b245755f1c | [
"Apache-2.0"
] | null | null | null | python/reactive/papi/Side.py | morriph/platform-api | b53cc146a3653ab6c358d6c7ecdfd8b245755f1c | [
"Apache-2.0"
] | null | null | null | python/reactive/papi/Side.py | morriph/platform-api | b53cc146a3653ab6c358d6c7ecdfd8b245755f1c | [
"Apache-2.0"
] | null | null | null | # automatically generated by the FlatBuffers compiler, do not modify
# namespace: papi
class Side(object):
Sell = -1
None_ = 0
Buy = 1
| 15 | 68 | 0.666667 | 20 | 150 | 4.95 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.26 | 150 | 9 | 69 | 16.666667 | 0.864865 | 0.546667 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.