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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c65ec83a7e8dc31b2a15948db4561a30217c0a86 | 408 | py | Python | utils/__init__.py | LegionChang/CoTNet | b1bc456c0b13b282b807d1082a1598b71014b4fe | [
"Apache-2.0"
] | 360 | 2021-07-26T07:23:29.000Z | 2022-03-16T03:03:25.000Z | python_developer_tools/cv/bases/conv/CoTNet/CoTNet-master/utils/__init__.py | HonestyBrave/python_developer_tools | fc0dcf5c4ef088e2e535206dc82f09bbfd01f280 | [
"Apache-2.0"
] | 22 | 2021-07-29T15:05:00.000Z | 2022-03-17T04:28:14.000Z | python_developer_tools/cv/bases/conv/CoTNet/CoTNet-master/utils/__init__.py | HonestyBrave/python_developer_tools | fc0dcf5c4ef088e2e535206dc82f09bbfd01f280 | [
"Apache-2.0"
] | 47 | 2021-07-27T02:14:21.000Z | 2022-02-25T09:15:12.000Z | from .checkpoint_saver import CheckpointSaver
from .cuda import ApexScaler, NativeScaler
from .distributed import distribute_bn, reduce_tensor
from .jit import set_jit_legacy
from .meters import AverageMeter, accuracy, TrainMeter, TestMeter
from .misc import natural_key, add_bool_arg
from .model import unwrap_model, ge... | 45.333333 | 65 | 0.857843 | 58 | 408 | 5.775862 | 0.637931 | 0.053731 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002732 | 0.102941 | 408 | 9 | 66 | 45.333333 | 0.912568 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
c6961f7c587862f9c42a5e5f7ec67ad346e6f046 | 258 | py | Python | ex011.py | EthanBoa/Aulas-no-Curso-em-v-deo-Python-exercices | 309e6e414ce3554a0bdff9b649f633aac8fea8a4 | [
"MIT"
] | null | null | null | ex011.py | EthanBoa/Aulas-no-Curso-em-v-deo-Python-exercices | 309e6e414ce3554a0bdff9b649f633aac8fea8a4 | [
"MIT"
] | null | null | null | ex011.py | EthanBoa/Aulas-no-Curso-em-v-deo-Python-exercices | 309e6e414ce3554a0bdff9b649f633aac8fea8a4 | [
"MIT"
] | 1 | 2022-01-11T08:44:20.000Z | 2022-01-11T08:44:20.000Z | l = float(input('Digite a largura da sua parede:'))
h = float(input("Digite a altura da parede:"))
a = l * h
t = a / 2
print('A sua sua parede tem uma diamensao de {}X{} equivalentes a uma area de {}m2 e e necessario {}l de tinta '.format(l, h, a, t))
| 43 | 134 | 0.635659 | 50 | 258 | 3.28 | 0.52 | 0.121951 | 0.195122 | 0.207317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.217054 | 258 | 5 | 135 | 51.6 | 0.80198 | 0 | 0 | 0 | 0 | 0.2 | 0.640316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c6a865e240b69fc4f315ffce43aea5c8885ff143 | 56 | py | Python | src/westpa/trajtree/__init__.py | burntyellow/adelman_ci | cca251a51b34843faed0275cce01d7a307829993 | [
"MIT"
] | 140 | 2015-01-07T23:30:36.000Z | 2022-03-28T17:15:30.000Z | lib/west_tools/trajtree/__init__.py | burntyellow/westpa | 9dc62478fcef0001b9c038cd56a40b6be1b9d64a | [
"MIT"
] | 157 | 2015-01-03T03:38:36.000Z | 2022-03-31T14:12:16.000Z | lib/west_tools/trajtree/__init__.py | burntyellow/westpa | 9dc62478fcef0001b9c038cd56a40b6be1b9d64a | [
"MIT"
] | 56 | 2015-01-02T21:21:40.000Z | 2022-03-03T16:27:54.000Z | from . import trajtree
from .trajtree import TrajTreeSet | 28 | 33 | 0.839286 | 7 | 56 | 6.714286 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 56 | 2 | 33 | 28 | 0.959184 | 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 |
c6b468ec0deec9abe8b3adba5ac3712793428b71 | 203 | py | Python | posts/models.py | kerolloskromer/Voicee-Backend | 4ceb944b968044341b4f53000e851820f13e0613 | [
"MIT"
] | 1 | 2020-09-29T10:57:21.000Z | 2020-09-29T10:57:21.000Z | posts/models.py | kerolloskromer/Voicee-Backend | 4ceb944b968044341b4f53000e851820f13e0613 | [
"MIT"
] | 6 | 2021-02-08T20:51:33.000Z | 2021-06-10T20:11:37.000Z | posts/models.py | kerolloskromer/Voicee-Backend | 4ceb944b968044341b4f53000e851820f13e0613 | [
"MIT"
] | null | null | null | from django.db import models
class Post(models.Model):
text = models.CharField(max_length=100)
file = models.FileField(blank=False, null=False)
def __str__(self):
return self.text
| 20.3 | 52 | 0.699507 | 28 | 203 | 4.892857 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018405 | 0.197044 | 203 | 9 | 53 | 22.555556 | 0.822086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c6c4a3a6413b79a80460f4984eed30d6bd30e5e6 | 61 | py | Python | myproject/login.py | lixuemin13/test | a840b8ab1caf854b48aefb5ef4e7793c39cb619d | [
"MIT"
] | null | null | null | myproject/login.py | lixuemin13/test | a840b8ab1caf854b48aefb5ef4e7793c39cb619d | [
"MIT"
] | null | null | null | myproject/login.py | lixuemin13/test | a840b8ab1caf854b48aefb5ef4e7793c39cb619d | [
"MIT"
] | null | null | null | num1 = 10
num2 = 20
num3 = 30
num5 = 50
num6 = 60
num7 = 700
| 8.714286 | 10 | 0.606557 | 12 | 61 | 3.083333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.44186 | 0.295082 | 61 | 6 | 11 | 10.166667 | 0.418605 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
c6de1bb55bcbe16f0757378ece8c86ec16158f07 | 108 | py | Python | seattle_buildings/apps.py | CivicComments/CivicComments | 3c1af97567b7e26fe1e0d589c2bbe13acd118bef | [
"MIT"
] | null | null | null | seattle_buildings/apps.py | CivicComments/CivicComments | 3c1af97567b7e26fe1e0d589c2bbe13acd118bef | [
"MIT"
] | null | null | null | seattle_buildings/apps.py | CivicComments/CivicComments | 3c1af97567b7e26fe1e0d589c2bbe13acd118bef | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class SeattleBuildingsConfig(AppConfig):
name = 'seattle_buildings'
| 18 | 40 | 0.796296 | 11 | 108 | 7.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 108 | 5 | 41 | 21.6 | 0.913978 | 0 | 0 | 0 | 0 | 0 | 0.157407 | 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 |
c6edcfc335da00d56324b9331073e59301b0be7e | 2,299 | py | Python | fix_logs/fix_from_logs.py | spel-uchile/langmuir_parser | d356e749ac09ee9af1519683f9b4a7bf68aa18eb | [
"MIT"
] | 1 | 2019-09-30T21:48:50.000Z | 2019-09-30T21:48:50.000Z | fix_logs/fix_from_logs.py | spel-uchile/langmuir_parser | d356e749ac09ee9af1519683f9b4a7bf68aa18eb | [
"MIT"
] | null | null | null | fix_logs/fix_from_logs.py | spel-uchile/langmuir_parser | d356e749ac09ee9af1519683f9b4a7bf68aa18eb | [
"MIT"
] | 1 | 2019-09-30T21:48:52.000Z | 2019-09-30T21:48:52.000Z | #!/usr/bin/env python
import re
import sys
import time
import argparse
import datetime
import pandas as pd
from telemetry import Telemetry
parser = argparse.ArgumentParser()
parser.add_argument('file', type=str, nargs='+', help="Log files to process")
parser.add_argument('-t', '--time', type=float, help="Hours to ad... | 31.493151 | 118 | 0.708134 | 347 | 2,299 | 4.657061 | 0.458213 | 0.207921 | 0.267327 | 0.29703 | 0.170792 | 0.152228 | 0.152228 | 0.152228 | 0.122525 | 0.122525 | 0 | 0.210185 | 0.128752 | 2,299 | 72 | 119 | 31.930556 | 0.596605 | 0.30361 | 0 | 0 | 0 | 0.029412 | 0.179191 | 0.09744 | 0 | 0 | 0.037985 | 0 | 0 | 1 | 0 | false | 0 | 0.205882 | 0 | 0.205882 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
05b1e5484eec61d7bc7de4e334d2a68a0601d422 | 133 | py | Python | backend/tests/api/fixtures.py | hearot/pycon | 9a722c4803d8583ae8168066c7b710ce96d659a5 | [
"MIT"
] | null | null | null | backend/tests/api/fixtures.py | hearot/pycon | 9a722c4803d8583ae8168066c7b710ce96d659a5 | [
"MIT"
] | null | null | null | backend/tests/api/fixtures.py | hearot/pycon | 9a722c4803d8583ae8168066c7b710ce96d659a5 | [
"MIT"
] | null | null | null | import pytest
@pytest.fixture()
def graphql_client(client):
from .utils import GraphQLClient
return GraphQLClient(client)
| 14.777778 | 36 | 0.759398 | 15 | 133 | 6.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165414 | 133 | 8 | 37 | 16.625 | 0.900901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
05bb595d963dd22236a1d91da7bb95840763ad8e | 295 | py | Python | Xaraktirismos_Ilikias.py | bilakos26/Python-Test-Projects | 54f79bac08dd6a7f49485444c1944ba8de6376e2 | [
"Apache-2.0"
] | null | null | null | Xaraktirismos_Ilikias.py | bilakos26/Python-Test-Projects | 54f79bac08dd6a7f49485444c1944ba8de6376e2 | [
"Apache-2.0"
] | null | null | null | Xaraktirismos_Ilikias.py | bilakos26/Python-Test-Projects | 54f79bac08dd6a7f49485444c1944ba8de6376e2 | [
"Apache-2.0"
] | null | null | null | ilikia = float(input('Δώσε την ηλικία ενός ατόμου: '))
if ilikia <= 1:
print('Το άτομο είναι βρέφος')
elif ilikia > 1 and ilikia < 13:
print('Το άτομο είναι παιδί')
elif ilikia >= 13 and ilikia < 20:
print('Το άτομο είναι έφηβος')
else:
print('Το άτομο είναι ενήλικας')
| 29.5 | 55 | 0.644068 | 44 | 295 | 4.318182 | 0.522727 | 0.147368 | 0.252632 | 0.357895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035556 | 0.237288 | 295 | 9 | 56 | 32.777778 | 0.808889 | 0 | 0 | 0 | 0 | 0 | 0.398601 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.444444 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
05c48ddd9806d8763cb74129c559a9b274d31bfb | 296 | py | Python | packages/views/partners.py | dandeduck/package-tracking-web | f7cb3dffd6f7f6b7ced5b1106a049c79c192dfa5 | [
"MIT"
] | 1 | 2021-02-11T22:16:51.000Z | 2021-02-11T22:16:51.000Z | packages/views/partners.py | dandeduck/package-tracking-web | f7cb3dffd6f7f6b7ced5b1106a049c79c192dfa5 | [
"MIT"
] | 54 | 2021-02-11T18:52:11.000Z | 2021-06-13T13:45:01.000Z | packages/views/partners.py | dandeduck/package-tracking-web | f7cb3dffd6f7f6b7ced5b1106a049c79c192dfa5 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from django.contrib.admin.views.decorators import staff_member_required
from util import user_partners
@staff_member_required
def partners_view(request):
return render(request, 'packages/partners.html', {'partners': user_partners(request.user)})
| 32.888889 | 96 | 0.800676 | 38 | 296 | 6.052632 | 0.552632 | 0.086957 | 0.165217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114865 | 296 | 8 | 97 | 37 | 0.877863 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 0.076389 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0.166667 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
05ceb93a8938160a9d9c026b792387c9eb8cfce8 | 150 | py | Python | taric_challange/gui/icons.py | franramirez688/Taric-Challange | 5c8647b21df527fcba0d98442f575a14d8115748 | [
"MIT"
] | null | null | null | taric_challange/gui/icons.py | franramirez688/Taric-Challange | 5c8647b21df527fcba0d98442f575a14d8115748 | [
"MIT"
] | null | null | null | taric_challange/gui/icons.py | franramirez688/Taric-Challange | 5c8647b21df527fcba0d98442f575a14d8115748 | [
"MIT"
] | null | null | null | import os
_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..'))
MAIN_WINDOW_ICON = "%s/resources/images/isbndb.jpg" % _path
| 21.428571 | 76 | 0.686667 | 22 | 150 | 4.318182 | 0.681818 | 0.252632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 150 | 6 | 77 | 25 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0.226667 | 0.2 | 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 |
05d51aae50bb4022695d0968befa8df46a5303bd | 254 | py | Python | redash/tasks/__init__.py | haroldwoo/redash | faf9c84513666ea43c3ad4baacae539b18123bb5 | [
"BSD-2-Clause"
] | null | null | null | redash/tasks/__init__.py | haroldwoo/redash | faf9c84513666ea43c3ad4baacae539b18123bb5 | [
"BSD-2-Clause"
] | null | null | null | redash/tasks/__init__.py | haroldwoo/redash | faf9c84513666ea43c3ad4baacae539b18123bb5 | [
"BSD-2-Clause"
] | null | null | null | from .general import record_event, version_check, send_mail
from .health import health_status
from .queries import QueryTask, refresh_queries, refresh_schemas, cleanup_tasks, cleanup_query_results, execute_query
from .alerts import check_alerts_for_query | 63.5 | 117 | 0.870079 | 36 | 254 | 5.777778 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086614 | 254 | 4 | 118 | 63.5 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
af00f3a41a01993a5f06728dfe283b7f74323e6d | 168 | py | Python | py-polars/pypolars/__init__.py | Dandandan/polars | a0cbf55652161326713a52266df266d48b58b067 | [
"MIT"
] | null | null | null | py-polars/pypolars/__init__.py | Dandandan/polars | a0cbf55652161326713a52266df266d48b58b067 | [
"MIT"
] | null | null | null | py-polars/pypolars/__init__.py | Dandandan/polars | a0cbf55652161326713a52266df266d48b58b067 | [
"MIT"
] | null | null | null | from .series import Series, wrap_s
from .frame import DataFrame
from .pandas import *
# needed for side effects
from pypolars.lazy import *
__pdoc__ = {"ffi": False}
| 18.666667 | 34 | 0.75 | 24 | 168 | 5.041667 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 168 | 8 | 35 | 21 | 0.864286 | 0.136905 | 0 | 0 | 0 | 0 | 0.020979 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 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 |
af1b8286a5819ffdf75516bc3fe693a656b98e8f | 98 | py | Python | backend/setup.py | GuillaumeOj/P13-WOD-Board | 36df7979e63c354507edb56eabdfc548b1964d08 | [
"MIT"
] | null | null | null | backend/setup.py | GuillaumeOj/P13-WOD-Board | 36df7979e63c354507edb56eabdfc548b1964d08 | [
"MIT"
] | 82 | 2021-01-17T18:12:23.000Z | 2021-06-12T21:46:49.000Z | backend/setup.py | GuillaumeOj/WodBoard | 1ac12404f6094909c9bf116bcaf6ccd60e85bc00 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import setuptools
setuptools.setup(setup_requires=["setuptools>=30.3.0"])
| 16.333333 | 55 | 0.755102 | 14 | 98 | 5.214286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 0.071429 | 98 | 5 | 56 | 19.6 | 0.758242 | 0.204082 | 0 | 0 | 0 | 0 | 0.233766 | 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 |
af70cb6c7c896214612ca1a3971ae3aed78358ee | 33 | py | Python | modules/2.79/bpy/types/PointLamp.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/types/PointLamp.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | modules/2.79/bpy/types/PointLamp.py | cmbasnett/fake-bpy-module | acb8b0f102751a9563e5b5e5c7cd69a4e8aa2a55 | [
"MIT"
] | null | null | null | PointLamp.falloff_curve = None
| 8.25 | 30 | 0.787879 | 4 | 33 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 33 | 3 | 31 | 11 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
af9cb0597d175a21e81c959b6a29cc86b9c2470f | 347 | py | Python | Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/djangoapps/programs/admin.py | osoco/better-ways-of-thinking-about-software | 83e70d23c873509e22362a09a10d3510e10f6992 | [
"MIT"
] | 3 | 2021-12-15T04:58:18.000Z | 2022-02-06T12:15:37.000Z | Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/djangoapps/programs/admin.py | osoco/better-ways-of-thinking-about-software | 83e70d23c873509e22362a09a10d3510e10f6992 | [
"MIT"
] | null | null | null | Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/djangoapps/programs/admin.py | osoco/better-ways-of-thinking-about-software | 83e70d23c873509e22362a09a10d3510e10f6992 | [
"MIT"
] | 1 | 2019-01-02T14:38:50.000Z | 2019-01-02T14:38:50.000Z | """
django admin pages for program support models
"""
from config_models.admin import ConfigurationModelAdmin
from django.contrib import admin
from openedx.core.djangoapps.programs.models import ProgramsApiConfig
class ProgramsApiConfigAdmin(ConfigurationModelAdmin):
pass
admin.site.register(ProgramsApiConfi... | 20.411765 | 69 | 0.835735 | 35 | 347 | 8.257143 | 0.628571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106628 | 347 | 16 | 70 | 21.6875 | 0.932258 | 0.129683 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.5 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
af9d0c6ab65731dfe7340365d3d19d9632de7981 | 41,725 | py | Python | qondor/cmssw_releases.py | tklijnsma/qondor | a3e851c54758338aa8b0408d2e350fcbbe0b555a | [
"BSD-3-Clause"
] | 1 | 2021-01-26T10:12:36.000Z | 2021-01-26T10:12:36.000Z | qondor/cmssw_releases.py | tklijnsma/qondor | a3e851c54758338aa8b0408d2e350fcbbe0b555a | [
"BSD-3-Clause"
] | null | null | null | qondor/cmssw_releases.py | tklijnsma/qondor | a3e851c54758338aa8b0408d2e350fcbbe0b555a | [
"BSD-3-Clause"
] | 3 | 2020-03-10T19:36:18.000Z | 2020-03-11T21:05:58.000Z | import logging
import re
logger = logging.getLogger("qondor")
RELEASES = {
"slc5_amd64_gcc434": [
"CMSSW_3_11_3",
"CMSSW_3_7_0",
"CMSSW_3_8_0",
"CMSSW_3_8_6",
"CMSSW_3_9_2",
"CMSSW_4_1_1",
"CMSSW_4_1_10",
"CMSSW_4_1_2",
"CMSSW_4_1_3",
... | 26.391524 | 88 | 0.551516 | 6,957 | 41,725 | 2.546069 | 0.04111 | 0.108282 | 0.045052 | 0.03297 | 0.739965 | 0.694405 | 0.681251 | 0.669 | 0.65483 | 0.62536 | 0 | 0.223725 | 0.335291 | 41,725 | 1,580 | 89 | 26.408228 | 0.414927 | 0.00441 | 0 | 0.70592 | 0 | 0 | 0.52912 | 0.050752 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000637 | false | 0 | 0.001273 | 0 | 0.002546 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
afa8a80ecf9d42599af8ce32f2f0b3762b5a4e71 | 27,801 | py | Python | skynet/neural_network/classifiers/cnn.py | Alexoner/skynet | 499508de3c4071ef16698b3056e9c0d0e4cecba1 | [
"MIT"
] | null | null | null | skynet/neural_network/classifiers/cnn.py | Alexoner/skynet | 499508de3c4071ef16698b3056e9c0d0e4cecba1 | [
"MIT"
] | null | null | null | skynet/neural_network/classifiers/cnn.py | Alexoner/skynet | 499508de3c4071ef16698b3056e9c0d0e4cecba1 | [
"MIT"
] | null | null | null | import numpy as np
from skynet.neural_network.layers import *
from skynet.neural_network.fast_layers import *
from skynet.neural_network.layer_utils import *
class ThreeLayerConvNet(object):
"""
A three-layer convolutional network with the following architecture:
conv - relu - 2x2 max pool - affine - relu - a... | 42.574273 | 102 | 0.529046 | 3,481 | 27,801 | 4.109451 | 0.08848 | 0.055225 | 0.026005 | 0.015938 | 0.818245 | 0.787487 | 0.739671 | 0.686893 | 0.648095 | 0.62978 | 0 | 0.015753 | 0.280745 | 27,801 | 652 | 103 | 42.639571 | 0.69964 | 0.350995 | 0 | 0.52907 | 0 | 0 | 0.065206 | 0 | 0 | 0 | 0 | 0.007669 | 0 | 1 | 0.023256 | false | 0.026163 | 0.011628 | 0 | 0.06686 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bba287e34d6b0c607b2a6c07acb568275c57adfd | 112 | py | Python | lio/__init__.py | YivanZhang/lio | 07587a6d864e7876b2ae4cdc00e59ac1b82781bc | [
"MIT"
] | 8 | 2021-04-16T14:33:42.000Z | 2022-03-23T03:47:33.000Z | lio/__init__.py | YivanZhang/lio | 07587a6d864e7876b2ae4cdc00e59ac1b82781bc | [
"MIT"
] | 1 | 2021-08-20T18:33:24.000Z | 2021-08-21T14:54:00.000Z | lio/__init__.py | YivanZhang/lio | 07587a6d864e7876b2ae4cdc00e59ac1b82781bc | [
"MIT"
] | null | null | null | __version__ = '0.3.0'
from . import observations
from . import models
from . import losses
from . import utils
| 16 | 26 | 0.741071 | 16 | 112 | 4.9375 | 0.5625 | 0.506329 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032609 | 0.178571 | 112 | 6 | 27 | 18.666667 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.044643 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 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 |
bbc98e6d69bd8bac77dc9f80af10960027c91e72 | 614 | py | Python | src/pagnn/models/autoencoder/permute_pad.py | ostrokach/protein-adjacency-net | fd3ad0b9034eb61b0187752c1f38f7eed1a8f1dc | [
"MIT"
] | 1 | 2022-01-16T12:06:13.000Z | 2022-01-16T12:06:13.000Z | src/pagnn/models/autoencoder/permute_pad.py | ostrokach/protein-adjacency-net | fd3ad0b9034eb61b0187752c1f38f7eed1a8f1dc | [
"MIT"
] | null | null | null | src/pagnn/models/autoencoder/permute_pad.py | ostrokach/protein-adjacency-net | fd3ad0b9034eb61b0187752c1f38f7eed1a8f1dc | [
"MIT"
] | null | null | null | import torch
import torch.nn as nn
class PermutePad(nn.Module):
def __init__(self, padding=1):
super().__init__()
self.padding = 1
def forward(self, x):
x = torch.cat([x[:, :, -self.padding :], x, x[:, :, : self.padding]], 2)
return x.contiguous()
class PermutePadTranspose(n... | 24.56 | 80 | 0.542345 | 74 | 614 | 4.283784 | 0.297297 | 0.347003 | 0.227129 | 0.123028 | 0.277603 | 0.277603 | 0 | 0 | 0 | 0 | 0 | 0.008989 | 0.275244 | 614 | 24 | 81 | 25.583333 | 0.703371 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0 | 0.555556 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
a546b5c5e8826745c18559dc4022dafedea1b432 | 125 | py | Python | Project Euler/problems/036/36.py | object-oriented-human/competitive | 9e761020e887d8980a39a64eeaeaa39af0ecd777 | [
"MIT"
] | 2 | 2021-07-27T10:46:47.000Z | 2021-07-27T10:47:57.000Z | Project Euler/problems/036/36.py | foooop/competitive | 9e761020e887d8980a39a64eeaeaa39af0ecd777 | [
"MIT"
] | null | null | null | Project Euler/problems/036/36.py | foooop/competitive | 9e761020e887d8980a39a64eeaeaa39af0ecd777 | [
"MIT"
] | null | null | null | t = 0
for i in range(1, 1000001):
if str(i)[::-1] == str(i) and bin(i)[2:][::-1] == bin(i)[2:]:
t += i
print(t) | 17.857143 | 65 | 0.432 | 26 | 125 | 2.076923 | 0.538462 | 0.148148 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141304 | 0.264 | 125 | 7 | 66 | 17.857143 | 0.445652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a560ee47aec3fa0fb9ff0de38d8526840d35dec7 | 273 | py | Python | src/figure_report/__init__.py | stephenkraemer/figure_report | 15c9d1a346906eff329ef27f9c6dcdca5612afdb | [
"MIT"
] | null | null | null | src/figure_report/__init__.py | stephenkraemer/figure_report | 15c9d1a346906eff329ef27f9c6dcdca5612afdb | [
"MIT"
] | null | null | null | src/figure_report/__init__.py | stephenkraemer/figure_report | 15c9d1a346906eff329ef27f9c6dcdca5612afdb | [
"MIT"
] | null | null | null | from figure_report.report import Report
from figure_report.html_report import HtmlReport
from figure_report.patterns import (
pattern_to_metadata_table,
pattern_set_to_metadata_table,
copy_report_files_to_report_dir,
convert_metadata_table_to_report_json,
) | 34.125 | 48 | 0.849817 | 39 | 273 | 5.410256 | 0.435897 | 0.14218 | 0.227488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117216 | 273 | 8 | 49 | 34.125 | 0.875519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
a56514a4495dea171d80d2821fc45e091f9c8df1 | 122 | py | Python | setup.py | VENULLLC/addp | 9a5dd6fc1b151a5265c1e00cde98bd5db59dff34 | [
"MIT"
] | null | null | null | setup.py | VENULLLC/addp | 9a5dd6fc1b151a5265c1e00cde98bd5db59dff34 | [
"MIT"
] | null | null | null | setup.py | VENULLLC/addp | 9a5dd6fc1b151a5265c1e00cde98bd5db59dff34 | [
"MIT"
] | null | null | null | from setuptools import setup, find_packages
setup(
name="addp",
version="1.0.1",
packages=find_packages(),
)
| 15.25 | 43 | 0.672131 | 16 | 122 | 5 | 0.6875 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.188525 | 122 | 7 | 44 | 17.428571 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.07377 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 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 |
a56e33d2f3cb66b60f1d84b8c924897657b0097d | 227 | py | Python | leads/admin.py | SarimAliKhan1998/CRM_Website | 8fffd06f7a8833a6f3acacc80626d386227c211f | [
"MIT"
] | 1 | 2021-07-10T17:36:59.000Z | 2021-07-10T17:36:59.000Z | leads/admin.py | SarimAliKhan1998/CRM_Website | 8fffd06f7a8833a6f3acacc80626d386227c211f | [
"MIT"
] | null | null | null | leads/admin.py | SarimAliKhan1998/CRM_Website | 8fffd06f7a8833a6f3acacc80626d386227c211f | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import User, Agent, Lead, UserProfile
admin.site.register(User)
admin.site.register(UserProfile)
admin.site.register(Agent)
admin.site.register(Lead) | 22.7 | 50 | 0.801762 | 32 | 227 | 5.6875 | 0.4375 | 0.197802 | 0.373626 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096916 | 227 | 10 | 51 | 22.7 | 0.887805 | 0.114537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a577d310373c8d36f98ea0a1c75151df5a0b9e45 | 1,481 | py | Python | dbpewee.py | andrusstrockiy/alotprobot | 9a607687745c949bd92c10d48cd7fdedb98f5d91 | [
"Apache-2.0"
] | null | null | null | dbpewee.py | andrusstrockiy/alotprobot | 9a607687745c949bd92c10d48cd7fdedb98f5d91 | [
"Apache-2.0"
] | null | null | null | dbpewee.py | andrusstrockiy/alotprobot | 9a607687745c949bd92c10d48cd7fdedb98f5d91 | [
"Apache-2.0"
] | null | null | null | from peewee import *
database = SqliteDatabase('alotpro.db')
class CallRecords(Model):
uploadedby = CharField(max_length=120)
recid = AutoField()
address = CharField(max_length=255)
phone = CharField(max_length=32)
name = CharField(max_length=140)
zip = CharField(max_length=10)
employees =... | 25.982456 | 50 | 0.6921 | 173 | 1,481 | 5.757225 | 0.387283 | 0.204819 | 0.307229 | 0.253012 | 0.267068 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040886 | 0.207292 | 1,481 | 56 | 51 | 26.446429 | 0.807496 | 0 | 0 | 0.136364 | 0 | 0 | 0.009466 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.022727 | 0 | 0.909091 | 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 |
a5893153a6a06b12ca8990a98e413684ab9bcc14 | 1,179 | py | Python | spec/construct/test_expr_calc_array_ops.py | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 11 | 2018-04-01T03:58:15.000Z | 2021-08-14T09:04:55.000Z | spec/construct/test_expr_calc_array_ops.py | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 73 | 2016-07-20T10:27:15.000Z | 2020-12-17T18:56:46.000Z | spec/construct/test_expr_calc_array_ops.py | DarkShadow44/kaitai_struct_tests | 4bb13cef82965cca66dda2eb2b77cd64e9f70a12 | [
"MIT"
] | 37 | 2016-08-15T08:25:56.000Z | 2021-08-28T14:48:46.000Z | # Autogenerated from KST: please remove this line if doing any edits by hand!
import unittest
from expr_calc_array_ops import _schema
class TestExprCalcArrayOps(unittest.TestCase):
def test_expr_calc_array_ops(self):
r = _schema.parse_file('src/fixed_struct.bin')
self.assertEqual(r.int_array_siz... | 40.655172 | 77 | 0.706531 | 177 | 1,179 | 4.440678 | 0.322034 | 0.343511 | 0.366412 | 0.145038 | 0.608142 | 0.295165 | 0.157761 | 0 | 0 | 0 | 0 | 0.040795 | 0.189143 | 1,179 | 28 | 78 | 42.107143 | 0.781381 | 0.063613 | 0 | 0 | 1 | 0 | 0.034483 | 0 | 0 | 0 | 0 | 0 | 0.782609 | 1 | 0.043478 | false | 0 | 0.086957 | 0 | 0.173913 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a58d5dd3e7e4873b8a15fbe9b02644df2e82e5bb | 2,198 | py | Python | DataUse/models.py | psymen145/OVS-django-rest-api | 45b70e44feb43ca4e314131de29ff573d856d72d | [
"MIT"
] | null | null | null | DataUse/models.py | psymen145/OVS-django-rest-api | 45b70e44feb43ca4e314131de29ff573d856d72d | [
"MIT"
] | null | null | null | DataUse/models.py | psymen145/OVS-django-rest-api | 45b70e44feb43ca4e314131de29ff573d856d72d | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import User
class DataPull_ID(models.Model):
TYPE_CHOICES = (
('keyword', 'keyword'),
('author', 'author'),
)
pulldate = models.DateTimeField(auto_now_add=True)
pullname = models.CharField(max_length=1000)
pull... | 37.254237 | 91 | 0.705641 | 246 | 2,198 | 6.150407 | 0.276423 | 0.237938 | 0.285525 | 0.380701 | 0.526107 | 0.169861 | 0.099141 | 0.099141 | 0 | 0 | 0 | 0.047778 | 0.181074 | 2,198 | 58 | 92 | 37.896552 | 0.792778 | 0 | 0 | 0.083333 | 0 | 0 | 0.042095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.041667 | 0 | 0.833333 | 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 |
36fe6a1daeb3c41dbf31a9e6c808be5b294a9357 | 28 | py | Python | src/coolbeans/apps/__init__.py | runarp/coolbeans | 128a7f2e45690d2d22b05608e555c44334f46859 | [
"MIT"
] | 5 | 2020-05-17T04:48:25.000Z | 2022-01-27T09:36:45.000Z | src/coolbeans/apps/__init__.py | runarp/coolbeans | 128a7f2e45690d2d22b05608e555c44334f46859 | [
"MIT"
] | 1 | 2020-05-17T06:21:52.000Z | 2020-05-22T13:49:33.000Z | src/coolbeans/apps/__init__.py | runarp/coolbeans | 128a7f2e45690d2d22b05608e555c44334f46859 | [
"MIT"
] | 1 | 2021-01-28T03:00:27.000Z | 2021-01-28T03:00:27.000Z | BEAN_FILE_ENV = 'BEAN_FILE'
| 14 | 27 | 0.785714 | 5 | 28 | 3.8 | 0.6 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0.321429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3c027030d86fb8882ae9c495f131bd42d069b37f | 851 | bzl | Python | deps.bzl | agtonomy/bazel-aarch64-linux-gnu | 95c9f4412526d7a6f6c1df93cb623758441b0b8a | [
"Apache-2.0"
] | null | null | null | deps.bzl | agtonomy/bazel-aarch64-linux-gnu | 95c9f4412526d7a6f6c1df93cb623758441b0b8a | [
"Apache-2.0"
] | null | null | null | deps.bzl | agtonomy/bazel-aarch64-linux-gnu | 95c9f4412526d7a6f6c1df93cb623758441b0b8a | [
"Apache-2.0"
] | null | null | null | """deps.bzl"""
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
# Using Linaro release https://releases.linaro.org/components/toolchain/binaries/latest-7/aarch64-linux-gnu/
def aarch64_linux_gnu_deps():
"""Workspace dependencies for the aarch64 linux gnu toolchain"""
http_archive(
... | 40.52381 | 158 | 0.733255 | 111 | 851 | 5.396396 | 0.441441 | 0.180301 | 0.225376 | 0.1202 | 0.36394 | 0.36394 | 0.36394 | 0.36394 | 0.36394 | 0.36394 | 0 | 0.128378 | 0.130435 | 851 | 20 | 159 | 42.55 | 0.681081 | 0.20564 | 0 | 0 | 0 | 0.083333 | 0.640602 | 0.410526 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | true | 0 | 0 | 0 | 0.083333 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3c2db18961e68d24f62f9a46cc8c373ca4a4ed1f | 1,034 | py | Python | DailyProgrammer/DP20130424.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/DP20130424.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/DP20130424.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
[04/24/13] EXTENSIONS: Week-Long Challenge #1 due FRIDAY!
https://www.reddit.com/r/dailyprogrammer/comments/1d0qnm/042413_extensions_weeklong_challenge_1_due_friday/
Hey r/DailyProgrammers,
I'm *still* receiving a bunch of challenge submissions; so much so, I'm going to do one final extension: the challenge
(maki... | 43.083333 | 119 | 0.757253 | 172 | 1,034 | 4.47093 | 0.72093 | 0.026008 | 0.03381 | 0.049415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025114 | 0.152805 | 1,034 | 23 | 120 | 44.956522 | 0.85274 | 0.930368 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
3c42949ee392eb5203a1ae7095dbf2fab9c125d6 | 106 | py | Python | conjure-python-core/src/test/resources/types/expected/package_name/nested_service2/__init__.py | chewr/conjure-python | ca0ac825f86741c02cd85b1b4ea9456d5786e0ae | [
"Apache-2.0"
] | 10 | 2018-11-21T19:39:54.000Z | 2021-12-16T12:05:02.000Z | conjure-python-core/src/test/resources/types/expected/package_name/nested_service2/__init__.py | chewr/conjure-python | ca0ac825f86741c02cd85b1b4ea9456d5786e0ae | [
"Apache-2.0"
] | 61 | 2018-11-25T18:48:01.000Z | 2022-03-30T02:02:35.000Z | conjure-python-core/src/test/resources/types/expected/package_name/nested_service2/__init__.py | chewr/conjure-python | ca0ac825f86741c02cd85b1b4ea9456d5786e0ae | [
"Apache-2.0"
] | 10 | 2018-11-21T21:53:43.000Z | 2021-07-29T18:13:38.000Z | # coding=utf-8
from .._impl import (
nested_service2_SimpleNestedService2 as SimpleNestedService2,
)
| 17.666667 | 65 | 0.783019 | 11 | 106 | 7.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043956 | 0.141509 | 106 | 5 | 66 | 21.2 | 0.835165 | 0.113208 | 0 | 0 | 0 | 0 | 0 | 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 |
3c8e6506269569e4961b427a10e5d8a006bfb4d4 | 330 | py | Python | toolware/utils/field.py | un33k/django-toolware | 973f3e003dc38b812897dab88455bee37dcaf931 | [
"MIT"
] | 7 | 2015-07-01T16:10:51.000Z | 2019-04-19T23:11:40.000Z | toolware/utils/field.py | D2563/django-toolware | 973f3e003dc38b812897dab88455bee37dcaf931 | [
"MIT"
] | null | null | null | toolware/utils/field.py | D2563/django-toolware | 973f3e003dc38b812897dab88455bee37dcaf931 | [
"MIT"
] | 2 | 2020-03-17T13:02:54.000Z | 2021-01-01T15:52:04.000Z | from django.db import models
class EmailFieldLowerCase(models.EmailField):
"""Case-Insensitive Email (lower case)"""
def get_prep_value(self, value):
prep_value = super(EmailFieldLowerCase, self).get_prep_value(value)
if prep_value:
prep_value = prep_value.lower()
return p... | 27.5 | 75 | 0.693939 | 40 | 330 | 5.5 | 0.5 | 0.286364 | 0.190909 | 0.163636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215152 | 330 | 11 | 76 | 30 | 0.849421 | 0.106061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.571429 | 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 |
3c8e6554531425a7d75d89a4db1c746ad0ea7c9e | 236 | py | Python | Python_Projects/Python_MySQL/FTD_SQL_stored_procedure/scripts/state_data_imports_4d_NAICS.py | YangLiu928/NDP_Projects | d2ebfa7b95a0003481dde1361c6ab563ac94f2e6 | [
"MIT"
] | null | null | null | Python_Projects/Python_MySQL/FTD_SQL_stored_procedure/scripts/state_data_imports_4d_NAICS.py | YangLiu928/NDP_Projects | d2ebfa7b95a0003481dde1361c6ab563ac94f2e6 | [
"MIT"
] | 12 | 2015-11-11T15:50:16.000Z | 2015-12-15T19:05:57.000Z | Python_Projects/Python_MySQL/Foreign_Trade_Data_Pipe_Delimination/scripts/state_data_imports_4d_NAICS.py | YangLiu928/NDP_Projects | d2ebfa7b95a0003481dde1361c6ab563ac94f2e6 | [
"MIT"
] | null | null | null | import process_data
data_folder = '../data/state_data_imports_4d_NAICS/'
output_folder = '../output/state_data_imports_4d_NAICS/'
date = '0902'
process_data.process_ISTNAICS(data_folder, output_folder, date)
print 'task completed'
| 19.666667 | 63 | 0.79661 | 33 | 236 | 5.242424 | 0.454545 | 0.127168 | 0.184971 | 0.208092 | 0.265896 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028037 | 0.09322 | 236 | 11 | 64 | 21.454545 | 0.780374 | 0 | 0 | 0 | 0 | 0 | 0.393162 | 0.316239 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.166667 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3c90cd5820c7cdaf8c9077deabc70748b82350ab | 95 | py | Python | kartverket_tide_api/tideobjects/__init__.py | matsjp/kartverket_tide_api | b4be15e9c8f077ef6ec0747fe67f0a64383cfa30 | [
"MIT"
] | null | null | null | kartverket_tide_api/tideobjects/__init__.py | matsjp/kartverket_tide_api | b4be15e9c8f077ef6ec0747fe67f0a64383cfa30 | [
"MIT"
] | null | null | null | kartverket_tide_api/tideobjects/__init__.py | matsjp/kartverket_tide_api | b4be15e9c8f077ef6ec0747fe67f0a64383cfa30 | [
"MIT"
] | null | null | null | from .location import Location
from .station import Station
from .waterlevel import WaterLevel
| 23.75 | 34 | 0.842105 | 12 | 95 | 6.666667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126316 | 95 | 3 | 35 | 31.666667 | 0.963855 | 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 |
3c9d08c2b3b0d38ef43d9cd8bb4ba896114d99d8 | 1,308 | py | Python | test_numbeats.py | clairenied15/bme590hrm | 29545b68c6d1dbb6861783d7c0c392bd0bdd1dd0 | [
"Apache-2.0"
] | null | null | null | test_numbeats.py | clairenied15/bme590hrm | 29545b68c6d1dbb6861783d7c0c392bd0bdd1dd0 | [
"Apache-2.0"
] | 9 | 2018-10-17T19:54:42.000Z | 2018-10-28T21:12:14.000Z | test_numbeats.py | clairenied15/bme590hrm | 29545b68c6d1dbb6861783d7c0c392bd0bdd1dd0 | [
"Apache-2.0"
] | null | null | null | import numpy as np
from num_beats_bme590hrm import n_beats
def test_num_beats():
s = n_beats(list(np.arange(0, 5, 0.1)), np.array([-0.5, -0.3, 0,
0.6, 1.9,
4, 2.7, 1.7,
... | 52.32 | 73 | 0.147554 | 116 | 1,308 | 1.612069 | 0.224138 | 0.096257 | 0.080214 | 0.106952 | 0.379679 | 0.379679 | 0.347594 | 0.347594 | 0.347594 | 0.347594 | 0 | 0.302251 | 0.762232 | 1,308 | 24 | 74 | 54.5 | 0.299035 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 1 | 0.045455 | false | 0 | 0.090909 | 0 | 0.136364 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 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 |
b1e335c97dabaa605531b5137fe08e411ea9da54 | 65 | py | Python | setup.py | KieranCNZTech/django-shopping-cart | 20be2b8033ff3a34539e910301a962ebabfc4793 | [
"MIT"
] | null | null | null | setup.py | KieranCNZTech/django-shopping-cart | 20be2b8033ff3a34539e910301a962ebabfc4793 | [
"MIT"
] | null | null | null | setup.py | KieranCNZTech/django-shopping-cart | 20be2b8033ff3a34539e910301a962ebabfc4793 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(install_requires=['django'])
| 16.25 | 34 | 0.8 | 8 | 65 | 6.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 65 | 3 | 35 | 21.666667 | 0.864407 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 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 |
b1f30aa80e66945afa33809a33ccff37b2480f58 | 270 | py | Python | palindromo/main.py | taller-python/santiagoPatino | 1a203c1b1248daa951e3322928b8beb1268f4fee | [
"MIT"
] | null | null | null | palindromo/main.py | taller-python/santiagoPatino | 1a203c1b1248daa951e3322928b8beb1268f4fee | [
"MIT"
] | null | null | null | palindromo/main.py | taller-python/santiagoPatino | 1a203c1b1248daa951e3322928b8beb1268f4fee | [
"MIT"
] | null | null | null | """ Ejercicio para definir si una palabra ingresada por consola es palindroma """
def es_palindroma(word):
""" Retorna falso o verdadero dependiendo si la palabra es palindroma """
return word[::-1] == word
print(es_palindroma(input('Ingrese una palabra: ')))
| 33.75 | 81 | 0.718519 | 36 | 270 | 5.333333 | 0.666667 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004444 | 0.166667 | 270 | 7 | 82 | 38.571429 | 0.848889 | 0.518519 | 0 | 0 | 0 | 0 | 0.181034 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0.333333 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
5920f419f6f355e10268176754909546a9b21603 | 214 | py | Python | overriding.py | evanascence27/py_prog | d6eb7cc3d399ba3ff5c1214e5aed6f9acc75596c | [
"MIT"
] | null | null | null | overriding.py | evanascence27/py_prog | d6eb7cc3d399ba3ff5c1214e5aed6f9acc75596c | [
"MIT"
] | null | null | null | overriding.py | evanascence27/py_prog | d6eb7cc3d399ba3ff5c1214e5aed6f9acc75596c | [
"MIT"
] | null | null | null | #overriding
class Employee:
def Display(self):
print("Employee")
class Student(Employee):
def Display(self):
super().Display()
print("Student")
ob=Student()
ob.Display()
| 17.833333 | 26 | 0.588785 | 22 | 214 | 5.727273 | 0.454545 | 0.174603 | 0.285714 | 0.349206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.271028 | 214 | 11 | 27 | 19.454545 | 0.807692 | 0.046729 | 0 | 0.222222 | 0 | 0 | 0.078534 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0 | 0 | 0.444444 | 0.222222 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3ca02fd6492385a6e9b22b882da3c8c30e80a41a | 1,466 | py | Python | orbitkit/util/util_date.py | clown-0726/orbitkit | 233c4a8a7b4fda3bbdb1631de4fd4fbdf79c7b6f | [
"MIT"
] | 3 | 2021-07-27T10:39:56.000Z | 2021-07-28T00:09:03.000Z | orbitkit/util/util_date.py | clown-0726/orbitkit | 233c4a8a7b4fda3bbdb1631de4fd4fbdf79c7b6f | [
"MIT"
] | null | null | null | orbitkit/util/util_date.py | clown-0726/orbitkit | 233c4a8a7b4fda3bbdb1631de4fd4fbdf79c7b6f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
def get_date_range_list_v1(start_date, end_date):
"""
This method will return a list in which all date range are included with the very start and ending.
:param start_date: '2019-06-03'
:param end_date: '2019-06-05'
:return:
"""
datestart = datetime.... | 34.093023 | 103 | 0.689632 | 212 | 1,466 | 4.556604 | 0.245283 | 0.014493 | 0.021739 | 0.099379 | 0.881988 | 0.817805 | 0.732919 | 0.684265 | 0.684265 | 0.684265 | 0 | 0.032691 | 0.186221 | 1,466 | 42 | 104 | 34.904762 | 0.777033 | 0.306276 | 0 | 0.526316 | 0 | 0 | 0.041929 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.052632 | 0 | 0.263158 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3cb5aa30e0b2af7ee673e58d53c295953b5f13bf | 189 | py | Python | mess/admin.py | HALLOWe3n/DBToLim | e281e8bf3ce4cdd2277876ea3e3dd1de9db392ee | [
"MIT"
] | null | null | null | mess/admin.py | HALLOWe3n/DBToLim | e281e8bf3ce4cdd2277876ea3e3dd1de9db392ee | [
"MIT"
] | 8 | 2020-02-12T02:43:17.000Z | 2022-02-10T10:49:16.000Z | mess/admin.py | HALLOWe3n/DBToLim | e281e8bf3ce4cdd2277876ea3e3dd1de9db392ee | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Message
@admin.register(Message)
class MessageAdmin(admin.ModelAdmin):
list_display = ('email', 'message', 'created', 'updated')
| 21 | 61 | 0.746032 | 22 | 189 | 6.363636 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 189 | 8 | 62 | 23.625 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0.137566 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3cdc97e470edc0eaba030831673abfdb0238b56c | 796 | py | Python | trade_remedies_api/cases/migrations/0036_auto_20190502_1532.py | uktrade/trade-remedies-api | fbe2d142ef099c7244788a0f72dd1003eaa7edce | [
"MIT"
] | 1 | 2020-08-13T10:37:15.000Z | 2020-08-13T10:37:15.000Z | trade_remedies_api/cases/migrations/0036_auto_20190502_1532.py | uktrade/trade-remedies-api | fbe2d142ef099c7244788a0f72dd1003eaa7edce | [
"MIT"
] | 4 | 2020-09-10T13:41:52.000Z | 2020-12-16T09:00:21.000Z | trade_remedies_api/cases/migrations/0036_auto_20190502_1532.py | uktrade/trade-remedies-api | fbe2d142ef099c7244788a0f72dd1003eaa7edce | [
"MIT"
] | null | null | null | # Generated by Django 2.0.13 on 2019-05-02 15:32
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
("cases", "0035_auto_20190429_1533"),
]
operations = [
migrations.RemoveField(model_name="casedocument", name="case",),
migrations.RemoveFiel... | 36.181818 | 79 | 0.693467 | 81 | 796 | 6.666667 | 0.444444 | 0.207407 | 0.288889 | 0.333333 | 0.533333 | 0.533333 | 0.362963 | 0 | 0 | 0 | 0 | 0.04812 | 0.164573 | 796 | 21 | 80 | 37.904762 | 0.76391 | 0.057789 | 0 | 0 | 1 | 0 | 0.23262 | 0.030749 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a71311b62c98a8b92fa9a370541e5ae8d1979d37 | 98 | py | Python | venv/Lib/site-packages/hashid_field/__init__.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | venv/Lib/site-packages/hashid_field/__init__.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | venv/Lib/site-packages/hashid_field/__init__.py | roshanba/mangal | f7b428811dc07214009cc33f0beb665ead402038 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | from .field import HashidField, HashidAutoField
from .hashid import Hashid
__version__ = "1.2.3"
| 19.6 | 47 | 0.785714 | 13 | 98 | 5.615385 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035294 | 0.132653 | 98 | 4 | 48 | 24.5 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.05102 | 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 |
596220eda36a1d38ba173ab1a235d1f22bf6e64d | 182 | py | Python | Scripts/django-admin.py | ssulkar/recipe-app-api | 49be6d41a4f4f7e48a69fe5d33d0522f938367b9 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | Scripts/django-admin.py | ssulkar/recipe-app-api | 49be6d41a4f4f7e48a69fe5d33d0522f938367b9 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | Scripts/django-admin.py | ssulkar/recipe-app-api | 49be6d41a4f4f7e48a69fe5d33d0522f938367b9 | [
"bzip2-1.0.6",
"MIT"
] | null | null | null | #!c:\users\shivs\documents\pythonprojects\recipe-app-api\scripts\python.exe
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 30.333333 | 75 | 0.796703 | 24 | 182 | 5.583333 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082418 | 182 | 5 | 76 | 36.4 | 0.802395 | 0.406593 | 0 | 0 | 0 | 0 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
59904651fa34d3f9f73db78d49c36f809e47eee5 | 150 | py | Python | Mundo 1/ArquivosComCores/File 008.py | PedroHenriqueSimoes/Exercicios-Python | 702a819d508dd7878b88fb676559d899237ac761 | [
"MIT"
] | 1 | 2020-04-30T21:32:01.000Z | 2020-04-30T21:32:01.000Z | Mundo 1/ArquivosComCores/File 008.py | PedroHenriqueSimoes/Exercicios-Python | 702a819d508dd7878b88fb676559d899237ac761 | [
"MIT"
] | 1 | 2021-10-05T02:00:04.000Z | 2021-10-05T02:00:04.000Z | Mundo 1/ArquivosComCores/File 008.py | PedroHenriqueSimoes/Exercicios-Python | 702a819d508dd7878b88fb676559d899237ac761 | [
"MIT"
] | null | null | null | m = (float(input('\033[31mDigite um valor em metros M: \033[m')))
print('\033[33m{:.1f}m valem {:.1f}cm, {:.1f}mm\033[m'.format(m, m * 100, m * 1000)) | 75 | 84 | 0.6 | 30 | 150 | 3 | 0.6 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19697 | 0.12 | 150 | 2 | 84 | 75 | 0.484848 | 0 | 0 | 0 | 0 | 0.5 | 0.589404 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
59b6b7d4025315835c11da4d3503204834fe1bac | 5,967 | py | Python | utest/test_binary_tools.py | wuyonghong/Rammbock-python3 | d882540ea71aef4759abfcd33578605e63f2b2f8 | [
"Apache-2.0"
] | null | null | null | utest/test_binary_tools.py | wuyonghong/Rammbock-python3 | d882540ea71aef4759abfcd33578605e63f2b2f8 | [
"Apache-2.0"
] | null | null | null | utest/test_binary_tools.py | wuyonghong/Rammbock-python3 | d882540ea71aef4759abfcd33578605e63f2b2f8 | [
"Apache-2.0"
] | null | null | null | from unittest import TestCase, main
from Rammbock.binary_tools import to_bin, to_bin_of_length, to_hex, to_0xhex, \
to_binary_string_of_length, to_tbcd_value, to_bin_str_from_int_string, \
to_tbcd_binary, to_twos_comp, from_twos_comp
class TestBinaryConversions(TestCase):
def test_empty_values_to_bin(sel... | 48.120968 | 117 | 0.661639 | 885 | 5,967 | 4.183051 | 0.148023 | 0.28363 | 0.220421 | 0.194489 | 0.528903 | 0.424635 | 0.333333 | 0.19611 | 0.19611 | 0.189357 | 0 | 0.147478 | 0.176135 | 5,967 | 123 | 118 | 48.512195 | 0.605574 | 0 | 0 | 0 | 0 | 0.029126 | 0.191889 | 0.082453 | 0 | 0 | 0.011899 | 0 | 0.68932 | 1 | 0.15534 | false | 0 | 0.019417 | 0 | 0.184466 | 0.058252 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
59e1cf47acf481c0f727b5059a01d31cdd49c70e | 210 | py | Python | communication/__init__.py | WaffleHacks/application-portal | 53d4d47ddb4e9cc38671c1a2859153d1143d526f | [
"MIT"
] | null | null | null | communication/__init__.py | WaffleHacks/application-portal | 53d4d47ddb4e9cc38671c1a2859153d1143d526f | [
"MIT"
] | 2 | 2022-02-15T23:52:50.000Z | 2022-03-23T01:05:22.000Z | communication/__init__.py | WaffleHacks/application-portal | 53d4d47ddb4e9cc38671c1a2859153d1143d526f | [
"MIT"
] | null | null | null | def run():
"""
Start the development server
"""
import uvicorn
print("Running communication API development server...")
uvicorn.run("communication.main:app", host="0.0.0.0", port=8002)
| 23.333333 | 68 | 0.642857 | 26 | 210 | 5.192308 | 0.692308 | 0.044444 | 0.044444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047904 | 0.204762 | 210 | 8 | 69 | 26.25 | 0.760479 | 0.133333 | 0 | 0 | 0 | 0 | 0.457831 | 0.13253 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
59e96ba5774a86c65447a2277906654ce9ec6af4 | 132 | py | Python | cloudbio/config_management/__init__.py | glebkuznetsov/cloudbiolinux | ec47b90ce72f6cd1bc4e5422231f19d41378b122 | [
"MIT"
] | 122 | 2015-01-04T13:23:27.000Z | 2022-01-18T22:52:12.000Z | cloudbio/config_management/__init__.py | glebkuznetsov/cloudbiolinux | ec47b90ce72f6cd1bc4e5422231f19d41378b122 | [
"MIT"
] | 170 | 2015-02-09T18:03:49.000Z | 2021-11-14T02:32:09.000Z | cloudbio/config_management/__init__.py | glebkuznetsov/cloudbiolinux | ec47b90ce72f6cd1bc4e5422231f19d41378b122 | [
"MIT"
] | 107 | 2015-01-06T06:10:04.000Z | 2022-02-10T17:25:34.000Z | """ This module contains code related to integrating the configuration
management tools `chef` and `puppet` into CloudBioLinux. """
| 44 | 70 | 0.780303 | 16 | 132 | 6.4375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 132 | 2 | 71 | 66 | 0.903509 | 0.931818 | 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 |
ab72c14be01530d2f166d730dc48984ce46daf45 | 985 | py | Python | word_embedder/embedders/base.py | Yoctol/word-embedder | 0b4a0afc4c5f9a2af596a3ada060a2360a51579e | [
"MIT"
] | 3 | 2019-04-29T21:59:49.000Z | 2020-04-01T15:34:21.000Z | word_embedder/embedders/base.py | Yoctol/word-embedder | 0b4a0afc4c5f9a2af596a3ada060a2360a51579e | [
"MIT"
] | 2 | 2018-09-17T05:48:52.000Z | 2018-09-19T04:26:46.000Z | word_embedder/embedders/base.py | Yoctol/word-embedder | 0b4a0afc4c5f9a2af596a3ada060a2360a51579e | [
"MIT"
] | 2 | 2019-06-03T02:19:00.000Z | 2020-09-23T15:29:15.000Z | from abc import ABC, abstractmethod, abstractproperty
from typing import List
import numpy as np
class Embedder(ABC):
@abstractmethod
def __getitem__(self, key) -> np.ndarray:
"""Get a word vector
If key is an int, return vector by index.
If key is a string, return vector by... | 21.413043 | 54 | 0.625381 | 103 | 985 | 5.902913 | 0.349515 | 0.276316 | 0.1875 | 0.202303 | 0.383224 | 0.164474 | 0 | 0 | 0 | 0 | 0 | 0 | 0.298477 | 985 | 45 | 55 | 21.888889 | 0.879884 | 0.144162 | 0 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.28 | false | 0 | 0.12 | 0 | 0.44 | 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 |
ab85572b4e52eef771819bd539b7b9f5eb85be61 | 39 | py | Python | probability/probability/moment/variance.py | jedhsu/probability | cd94726315cd6d9e537925cdd2f13cf7911dbb92 | [
"Apache-2.0"
] | null | null | null | probability/probability/moment/variance.py | jedhsu/probability | cd94726315cd6d9e537925cdd2f13cf7911dbb92 | [
"Apache-2.0"
] | null | null | null | probability/probability/moment/variance.py | jedhsu/probability | cd94726315cd6d9e537925cdd2f13cf7911dbb92 | [
"Apache-2.0"
] | null | null | null | """
Variance, the second moment.
"""
| 6.5 | 28 | 0.589744 | 4 | 39 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 39 | 5 | 29 | 7.8 | 0.741935 | 0.717949 | 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 |
ab8d9052805243f933f71c059440ac932e90bf02 | 667 | py | Python | os3_rll/tests/utils/test_math.py | Erik-Lamers1/OS3-RRL-Python | c1fbc1f2279f1b43290582ee39ed226d8173a101 | [
"MIT"
] | null | null | null | os3_rll/tests/utils/test_math.py | Erik-Lamers1/OS3-RRL-Python | c1fbc1f2279f1b43290582ee39ed226d8173a101 | [
"MIT"
] | null | null | null | os3_rll/tests/utils/test_math.py | Erik-Lamers1/OS3-RRL-Python | c1fbc1f2279f1b43290582ee39ed226d8173a101 | [
"MIT"
] | null | null | null | from os3_rll.tests import OS3RLLTestCase
from os3_rll.utils.math import ordinal
class TestMath(OS3RLLTestCase):
def test_ordinal_returns_first(self):
self.assertEqual(ordinal(1), "1st")
def test_ordinal_returns_second(self):
self.assertEqual(ordinal(2), "2nd")
def test_ordinal_returns_th... | 29 | 57 | 0.722639 | 86 | 667 | 5.325581 | 0.418605 | 0.091703 | 0.183406 | 0.275109 | 0.275109 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039711 | 0.169415 | 667 | 22 | 58 | 30.318182 | 0.787004 | 0 | 0 | 0 | 0 | 0 | 0.031484 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | false | 0 | 0.133333 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
aba2eeded58ce16f9310b769c9dc2abae32202d8 | 527 | py | Python | findy/database/schema/quotes/stock/stock_1h_kdata.py | doncat99/FinanceDataCenter | 1538c8347ed5bff9a99a3cca07507a7605108124 | [
"MIT"
] | null | null | null | findy/database/schema/quotes/stock/stock_1h_kdata.py | doncat99/FinanceDataCenter | 1538c8347ed5bff9a99a3cca07507a7605108124 | [
"MIT"
] | null | null | null | findy/database/schema/quotes/stock/stock_1h_kdata.py | doncat99/FinanceDataCenter | 1538c8347ed5bff9a99a3cca07507a7605108124 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# this file is generated by gen_kdata_schema function, dont't change it
from sqlalchemy.ext.declarative import declarative_base
from findy.database.schema.datatype import StockKdataCommon
hKdataBase = declarative_base()
class Stock1hKdata(hKdataBase, StockKdataCommon):
__tablename__ = 's... | 26.35 | 71 | 0.798861 | 59 | 527 | 6.728814 | 0.610169 | 0.196474 | 0.264484 | 0.302267 | 0.31738 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.12334 | 527 | 19 | 72 | 27.736842 | 0.844156 | 0.172676 | 0 | 0 | 1 | 0 | 0.115473 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
abb84293466891e09d3703ae22c3cb14ca257d37 | 894 | py | Python | tuya_bulb_control/exceptions.py | prankard/tuya-bulb-control | 367b3c013a54f8f3a9307113f370d00367d75bb6 | [
"MIT"
] | 17 | 2021-01-11T16:16:30.000Z | 2022-03-28T17:43:51.000Z | tuya_bulb_control/exceptions.py | prankard/tuya-bulb-control | 367b3c013a54f8f3a9307113f370d00367d75bb6 | [
"MIT"
] | 2 | 2021-02-17T11:41:28.000Z | 2021-05-06T12:16:43.000Z | tuya_bulb_control/exceptions.py | prankard/tuya-bulb-control | 367b3c013a54f8f3a9307113f370d00367d75bb6 | [
"MIT"
] | 2 | 2021-04-29T08:41:47.000Z | 2021-12-27T22:43:57.000Z | class __MainException(Exception):
def __init__(self, target: str, msg: str = ""):
self.target = target
self.msg = msg
def __str__(self):
return f"{self.target} -> {self.msg}"
class ModeNotSupported(__MainException):
def __init__(self, target: str, msg: str = "Mode not supported yo... | 27.9375 | 86 | 0.643177 | 103 | 894 | 5.252427 | 0.23301 | 0.203327 | 0.144177 | 0.157116 | 0.704251 | 0.704251 | 0.656192 | 0.484288 | 0.195933 | 0.195933 | 0 | 0 | 0.242729 | 894 | 31 | 87 | 28.83871 | 0.799114 | 0 | 0 | 0.454545 | 0 | 0 | 0.139821 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0 | 0.045455 | 0.545455 | 0 | 0 | 0 | 0 | null | 1 | 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 | 0 | 1 | 0 | 0 | 4 |
abc0bdcb952276376ca9ba80b6d050bc574b6b48 | 9,575 | py | Python | StatisticalDisclosureControl/Rank Swapping Filter.py | bitmapup/privacyAlgorithms | fa8ff1d8fd903b31f78dfad5152ca55bc84b37bd | [
"Apache-2.0"
] | null | null | null | StatisticalDisclosureControl/Rank Swapping Filter.py | bitmapup/privacyAlgorithms | fa8ff1d8fd903b31f78dfad5152ca55bc84b37bd | [
"Apache-2.0"
] | null | null | null | StatisticalDisclosureControl/Rank Swapping Filter.py | bitmapup/privacyAlgorithms | fa8ff1d8fd903b31f78dfad5152ca55bc84b37bd | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# coding: utf-8
# In[8]:
# https://geoffboeing.com/2014/08/clustering-to-reduce-spatial-data-set-size/
# Essentials
import pandas as pd
import numpy as np
import time
import sys
import math
import collections
# Ignorar ciertos warnings
import warnings
warnings.filterwarnings(action="ignore")
... | 29.281346 | 271 | 0.635718 | 1,303 | 9,575 | 4.501151 | 0.178051 | 0.061381 | 0.086957 | 0.040921 | 0.765217 | 0.72532 | 0.704518 | 0.704518 | 0.693947 | 0.665644 | 0 | 0.021274 | 0.2047 | 9,575 | 326 | 272 | 29.371166 | 0.748917 | 0.123551 | 0 | 0.649425 | 0 | 0 | 0.13275 | 0.023984 | 0 | 0 | 0 | 0 | 0 | 1 | 0.034483 | false | 0 | 0.114943 | 0.011494 | 0.178161 | 0.022989 | 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 |
280237bff3a7353bd26059c06ab7889846cafdd7 | 218 | py | Python | coop_cms/apps/newsletters/apps.py | ljean/coop_cms | 531f65ceb9ad82c113597d15b764dbcf51264794 | [
"BSD-3-Clause"
] | 3 | 2016-01-29T10:55:09.000Z | 2022-03-08T16:02:12.000Z | coop_cms/apps/newsletters/apps.py | ljean/coop_cms | 531f65ceb9ad82c113597d15b764dbcf51264794 | [
"BSD-3-Clause"
] | 11 | 2015-03-07T17:30:24.000Z | 2016-07-13T09:40:43.000Z | coop_cms/apps/newsletters/apps.py | ljean/coop_cms | 531f65ceb9ad82c113597d15b764dbcf51264794 | [
"BSD-3-Clause"
] | 5 | 2018-08-30T09:03:22.000Z | 2019-09-10T13:01:56.000Z | from django.apps import AppConfig as BaseAppConfig
from django.utils.translation import ugettext_lazy as _
class AppConfig(BaseAppConfig):
name = 'coop_cms.apps.newsletters'
verbose_name = _("Newsletters")
| 21.8 | 55 | 0.779817 | 26 | 218 | 6.346154 | 0.653846 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146789 | 218 | 9 | 56 | 24.222222 | 0.887097 | 0 | 0 | 0 | 0 | 0 | 0.165899 | 0.115207 | 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 |
f9ed911f495d1db7dd27eb266a6a4a49d953c9be | 21 | py | Python | la_edu/__init__.py | devoli170/python_utils | 82c240cf273240bb096ae9c75ec9601c4e05f183 | [
"MIT"
] | null | null | null | la_edu/__init__.py | devoli170/python_utils | 82c240cf273240bb096ae9c75ec9601c4e05f183 | [
"MIT"
] | 1 | 2021-10-12T08:08:38.000Z | 2021-10-12T08:08:38.000Z | la_edu/__init__.py | devoli170/python_utils | 82c240cf273240bb096ae9c75ec9601c4e05f183 | [
"MIT"
] | null | null | null | __all__ = ["la_edu"]
| 10.5 | 20 | 0.619048 | 3 | 21 | 2.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 1 | 21 | 21 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f9fe8d67073f5138da0161f9bc6c4915761f5813 | 25 | py | Python | mpf/modes/tilt/__init__.py | Scottacus64/mpf | fcfb6c5698b9c7d8bf0eb64b021aaa389ea6478a | [
"MIT"
] | 163 | 2015-01-25T02:19:50.000Z | 2022-03-26T12:00:28.000Z | mpf/modes/tilt/__init__.py | Scottacus64/mpf | fcfb6c5698b9c7d8bf0eb64b021aaa389ea6478a | [
"MIT"
] | 1,086 | 2015-03-23T19:53:17.000Z | 2022-03-24T20:46:11.000Z | mpf/modes/tilt/__init__.py | Scottacus64/mpf | fcfb6c5698b9c7d8bf0eb64b021aaa389ea6478a | [
"MIT"
] | 148 | 2015-01-28T02:31:39.000Z | 2022-03-22T13:54:01.000Z | """Default tilt mode."""
| 12.5 | 24 | 0.6 | 3 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.681818 | 0.72 | 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 |
e62bd3e23689cdcd88bf0f353bb4e6e34f49834c | 137 | py | Python | functional/do_map.py | semoren/learn_python | d3140c3d4cb2bdb674d9c072c4195ebcfe686be3 | [
"Apache-2.0"
] | null | null | null | functional/do_map.py | semoren/learn_python | d3140c3d4cb2bdb674d9c072c4195ebcfe686be3 | [
"Apache-2.0"
] | null | null | null | functional/do_map.py | semoren/learn_python | d3140c3d4cb2bdb674d9c072c4195ebcfe686be3 | [
"Apache-2.0"
] | null | null | null | def f(x):
return x * x
r = map(f, [1,2,3,4,5,6,7,8,9])
print(list(r))
r = map(str,[1, 2, 3, 4, 5, 6, 7, 8 ,9, '1a'])
print(list(r)) | 17.125 | 46 | 0.474453 | 37 | 137 | 1.756757 | 0.513514 | 0.123077 | 0.092308 | 0.123077 | 0.276923 | 0.276923 | 0.276923 | 0.276923 | 0.276923 | 0 | 0 | 0.175926 | 0.211679 | 137 | 8 | 47 | 17.125 | 0.425926 | 0 | 0 | 0.333333 | 0 | 0 | 0.014493 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.166667 | 0.333333 | 0.333333 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
e6341245ade2245b52b6a96e84db446d04ec0219 | 44 | py | Python | train/__init__.py | themightyoarfish/ikkuna | dc7b26f5e21998dfe7218bd883a49bc990c8a618 | [
"MIT"
] | 4 | 2018-08-09T13:33:47.000Z | 2019-02-11T21:07:07.000Z | train/__init__.py | Peltarion/ai_ikkuna | dc7b26f5e21998dfe7218bd883a49bc990c8a618 | [
"MIT"
] | 32 | 2018-08-09T13:58:45.000Z | 2019-03-01T17:03:09.000Z | train/__init__.py | themightyoarfish/ikkuna | dc7b26f5e21998dfe7218bd883a49bc990c8a618 | [
"MIT"
] | 1 | 2019-01-10T15:46:15.000Z | 2019-01-10T15:46:15.000Z | from .train import *
__all__ = ['Trainer']
| 11 | 21 | 0.659091 | 5 | 44 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 44 | 3 | 22 | 14.666667 | 0.694444 | 0 | 0 | 0 | 0 | 0 | 0.159091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e64aad341c548b3d88cf45a3d883ca1182feffdb | 223 | py | Python | lux/core/commands/create_uuid.py | quantmind/lux | 7318fcd86c77616aada41d8182a04339680a554c | [
"BSD-3-Clause"
] | 21 | 2015-03-28T23:27:43.000Z | 2020-11-23T13:24:10.000Z | lux/core/commands/create_uuid.py | quantmind/lux | 7318fcd86c77616aada41d8182a04339680a554c | [
"BSD-3-Clause"
] | 195 | 2015-02-18T17:22:28.000Z | 2017-12-01T23:01:16.000Z | lux/core/commands/create_uuid.py | quantmind/lux | 7318fcd86c77616aada41d8182a04339680a554c | [
"BSD-3-Clause"
] | 16 | 2015-03-31T23:15:38.000Z | 2017-04-18T11:59:43.000Z | from lux.core import LuxCommand
from lux.utils.crypt import create_uuid
class Command(LuxCommand):
help = "Create a Universal Unique Identifier"
def run(self, options, **params):
return create_uuid().hex
| 22.3 | 49 | 0.726457 | 30 | 223 | 5.333333 | 0.766667 | 0.0875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188341 | 223 | 9 | 50 | 24.777778 | 0.883978 | 0 | 0 | 0 | 0 | 0 | 0.161435 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 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 |
e65eec2284ee0642c215f9930832b51b78331a75 | 283 | py | Python | config/database.py | Vijayant101/FastAPI | 93db7ff4fa40caaff22ae0bd5c40a651a554ed36 | [
"CC0-1.0"
] | null | null | null | config/database.py | Vijayant101/FastAPI | 93db7ff4fa40caaff22ae0bd5c40a651a554ed36 | [
"CC0-1.0"
] | null | null | null | config/database.py | Vijayant101/FastAPI | 93db7ff4fa40caaff22ae0bd5c40a651a554ed36 | [
"CC0-1.0"
] | null | null | null | from pymongo import MongoClient, collection, database
client = MongoClient("mongodb+srv://user:Medika_123@test-db.krdwa.mongodb.net/myFirstDatabase?retryWrites=true&w=majority")
db = client.todo_application #naming database as todo_application
collection_name = db['todos_app']
| 28.3 | 123 | 0.809187 | 37 | 283 | 6.054054 | 0.756757 | 0.133929 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011583 | 0.084806 | 283 | 9 | 124 | 31.444444 | 0.853282 | 0.123675 | 0 | 0 | 0 | 0.25 | 0.439024 | 0.402439 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 | 1 | 0 | 1 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
050b30b1b6b65c0bba0194fe9e2168b250b23e39 | 73 | py | Python | caribe/__init__.py | bombark/caribe | d161c744a4764430ce58819f74d0b99aa4e500f9 | [
"MIT"
] | null | null | null | caribe/__init__.py | bombark/caribe | d161c744a4764430ce58819f74d0b99aa4e500f9 | [
"MIT"
] | null | null | null | caribe/__init__.py | bombark/caribe | d161c744a4764430ce58819f74d0b99aa4e500f9 | [
"MIT"
] | null | null | null | from .base import Project, Workspace
__all__ = ["Project", "Workspace"]
| 18.25 | 36 | 0.726027 | 8 | 73 | 6.125 | 0.75 | 0.653061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 73 | 3 | 37 | 24.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.219178 | 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 |
051ad1d2c56de989bff429273dae49f89ab1b2a3 | 259 | py | Python | Aula63/Ex11.py | matheusschuetz/TrabalhoPython | 953957898de633f8f2776681a45a1a15b68e80b9 | [
"MIT"
] | 1 | 2020-01-21T11:43:12.000Z | 2020-01-21T11:43:12.000Z | Aula63/Ex11.py | matheusschuetz/TrabalhoPython | 953957898de633f8f2776681a45a1a15b68e80b9 | [
"MIT"
] | null | null | null | Aula63/Ex11.py | matheusschuetz/TrabalhoPython | 953957898de633f8f2776681a45a1a15b68e80b9 | [
"MIT"
] | null | null | null | from Aula63.Ex9 import Pessoa
class PessoaFisica(Pessoa):
def __init__(self):
super().__init__()
self.__cpf = ''
def set_cpf(self, cpf: str) -> None:
self.__cpf = cpf
def get_cpf(self) -> str:
return self.__cpf
| 18.5 | 40 | 0.590734 | 33 | 259 | 4.151515 | 0.515152 | 0.20438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016304 | 0.289575 | 259 | 13 | 41 | 19.923077 | 0.728261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
0526fb13be10f9fd0e12761bdc7aef2718f4909f | 258 | py | Python | pb_test/fixtures.py | Majsvaffla/pizzabot | 252e331dd06742935aefd516dda05347329cb930 | [
"MIT"
] | null | null | null | pb_test/fixtures.py | Majsvaffla/pizzabot | 252e331dd06742935aefd516dda05347329cb930 | [
"MIT"
] | 8 | 2018-07-17T20:49:49.000Z | 2020-02-19T22:01:43.000Z | pb_test/fixtures.py | Majsvaffla/pizzabot | 252e331dd06742935aefd516dda05347329cb930 | [
"MIT"
] | null | null | null | import pytest
@pytest.fixture
def dummy_view_class():
def decorated_fixture(response):
class ViewClass:
def view_method(self, *args, **kwargs):
return response
return ViewClass
return decorated_fixture
| 19.846154 | 51 | 0.643411 | 27 | 258 | 5.962963 | 0.555556 | 0.198758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.290698 | 258 | 12 | 52 | 21.5 | 0.879781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.111111 | 0.888889 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
052846ea72484ce9d2be166b04cdabecd88d25d5 | 186 | py | Python | html4slides/markups/markdownmarkup.py | GDG-Xian/html4slides | 9121476fcdb65248f16114eb74f85977ecf267d8 | [
"BSD-3-Clause"
] | 1 | 2016-10-15T00:55:07.000Z | 2016-10-15T00:55:07.000Z | html4slides/markups/markdownmarkup.py | GDG-Xian/html4slides | 9121476fcdb65248f16114eb74f85977ecf267d8 | [
"BSD-3-Clause"
] | null | null | null | html4slides/markups/markdownmarkup.py | GDG-Xian/html4slides | 9121476fcdb65248f16114eb74f85977ecf267d8 | [
"BSD-3-Clause"
] | null | null | null | #-*-coding:utf-8-*-
from markdown import markdown
from base import BaseMarkup
class MarkdownMarkup(BaseMarkup):
def markup(self):
self.html_content = markdown(self.content)
| 23.25 | 50 | 0.736559 | 23 | 186 | 5.913043 | 0.652174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006369 | 0.155914 | 186 | 7 | 51 | 26.571429 | 0.859873 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
05617c59cb6450d0beff0418fcd6b9e05e85d9c6 | 403 | py | Python | backend/core/views.py | banglar-mukti/khabar-bonton | fed2e3e5e9b6e2b08221e640264911d0b4e073e6 | [
"MIT"
] | 3 | 2020-01-06T19:34:27.000Z | 2020-01-18T16:25:21.000Z | backend/core/views.py | banglar-mukti/khabar-bonton | fed2e3e5e9b6e2b08221e640264911d0b4e073e6 | [
"MIT"
] | 29 | 2020-01-06T20:06:38.000Z | 2022-02-26T22:06:17.000Z | backend/core/views.py | banglar-mukti/khabar-bonton | fed2e3e5e9b6e2b08221e640264911d0b4e073e6 | [
"MIT"
] | 3 | 2020-01-06T19:34:32.000Z | 2020-01-17T18:10:51.000Z | from rest_framework import generics
from .models import CustomUser, Post
from .serializers import UserSerializer, PostSerializer
# Create your views here.
class UserViewset(generics.ListCreateAPIView):
serializer_class = UserSerializer
queryset = CustomUser.objects.all()
class PostViewset(generics.ListCrea... | 26.866667 | 55 | 0.799007 | 41 | 403 | 7.780488 | 0.560976 | 0.15674 | 0.219436 | 0.250784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136476 | 403 | 15 | 56 | 26.866667 | 0.916667 | 0.057072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 |
0598cdcab07e08e9853899073b94c9c037b0fa05 | 196 | py | Python | exercicios/ex010.py | danielmsa/Python-Curso-em-Video | ca247a767477f0b93b2ac36ae911f0a12d63f3c9 | [
"MIT"
] | null | null | null | exercicios/ex010.py | danielmsa/Python-Curso-em-Video | ca247a767477f0b93b2ac36ae911f0a12d63f3c9 | [
"MIT"
] | null | null | null | exercicios/ex010.py | danielmsa/Python-Curso-em-Video | ca247a767477f0b93b2ac36ae911f0a12d63f3c9 | [
"MIT"
] | null | null | null | v = float(input('Dinheiro na carteira: R$'))
#c = v / 3.27
#print('Com R${:.2f}, consigo comprar US${:.2f}.'.format(v, c))
print('Com R${:.2f}, consigo comprar US${:.2f}.'.format(v, v / 5.04))
| 24.5 | 69 | 0.571429 | 35 | 196 | 3.2 | 0.542857 | 0.142857 | 0.160714 | 0.196429 | 0.642857 | 0.642857 | 0.642857 | 0.642857 | 0.642857 | 0.642857 | 0 | 0.059524 | 0.142857 | 196 | 7 | 70 | 28 | 0.607143 | 0.377551 | 0 | 0 | 0 | 0 | 0.547009 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
553437326be148b53e660180237d9622259b9644 | 201 | py | Python | foreanalyzer/tests/test_engine.py | federico123579/Foreanalyzer | 8d66550a894304c0f62f985c1410f56ed1561b3a | [
"MIT"
] | 2 | 2020-12-24T00:10:04.000Z | 2021-12-19T03:34:41.000Z | foreanalyzer/tests/test_engine.py | federico123579/Foreanalyzer | 8d66550a894304c0f62f985c1410f56ed1561b3a | [
"MIT"
] | null | null | null | foreanalyzer/tests/test_engine.py | federico123579/Foreanalyzer | 8d66550a894304c0f62f985c1410f56ed1561b3a | [
"MIT"
] | 1 | 2020-11-17T07:41:06.000Z | 2020-11-17T07:41:06.000Z | """
tests.test_engine
~~~~~~~~~~~~~~~~~~
Test the engine module.
"""
# logger
import logging
LOGGER = logging.getLogger("foreanalyzer.tests.test_engine")
LOGGER.info("TESTING test_engine.py module")
| 16.75 | 60 | 0.696517 | 24 | 201 | 5.708333 | 0.541667 | 0.218978 | 0.218978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099502 | 201 | 11 | 61 | 18.272727 | 0.756906 | 0.343284 | 0 | 0 | 0 | 0 | 0.475806 | 0.241935 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
553c7577c01fa5ceb179b23921ba27e33445b849 | 142 | py | Python | pt/061/python/main.py | franciscogomes2020/exercises | 8b33c4b9349a9331e4002a8225adc2a482c70024 | [
"MIT"
] | null | null | null | pt/061/python/main.py | franciscogomes2020/exercises | 8b33c4b9349a9331e4002a8225adc2a482c70024 | [
"MIT"
] | null | null | null | pt/061/python/main.py | franciscogomes2020/exercises | 8b33c4b9349a9331e4002a8225adc2a482c70024 | [
"MIT"
] | null | null | null | # Refaça o DESAFIO 051, lendo o primeiro termo e a razão de uma PA, mostrando os 10 primeiros termos da progressão usando a estrutura while.
| 47.333333 | 140 | 0.78169 | 25 | 142 | 4.44 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.190141 | 142 | 2 | 141 | 71 | 0.921739 | 0.971831 | 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 |
554161b8b905811840bc9d25c0a66fbb5622a031 | 87 | py | Python | harimo/apps.py | mila411/django-jwt-token | 1c6f6aca03d34a4737d3dcb2ff05c74c88a09d5c | [
"MIT"
] | null | null | null | harimo/apps.py | mila411/django-jwt-token | 1c6f6aca03d34a4737d3dcb2ff05c74c88a09d5c | [
"MIT"
] | null | null | null | harimo/apps.py | mila411/django-jwt-token | 1c6f6aca03d34a4737d3dcb2ff05c74c88a09d5c | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class HarimoConfig(AppConfig):
name = 'harimo'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 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 |
5560b5a2fa43cd5b3381e99688c14a060fcc2d6f | 166 | py | Python | ghgi/datasets/master/__init__.py | ghgindex/gh | f47bfbc4f2b0b2ecceff946caa37b370cf526cf6 | [
"CC0-1.0"
] | null | null | null | ghgi/datasets/master/__init__.py | ghgindex/gh | f47bfbc4f2b0b2ecceff946caa37b370cf526cf6 | [
"CC0-1.0"
] | 4 | 2021-09-26T18:59:35.000Z | 2021-10-01T21:35:18.000Z | ghgi/datasets/master/__init__.py | ghgindex/ghgi | f47bfbc4f2b0b2ecceff946caa37b370cf526cf6 | [
"CC0-1.0"
] | null | null | null | MASTER_PRODUCTS = 'products.json'
MASTER_AKA_INDEX = 'aka_index.json'
MASTER_TRIGRAM_INDEX = 'trigram_product_index.json'
MASTER_GIN_INDEX = 'gin_product_index.json'
| 33.2 | 51 | 0.831325 | 24 | 166 | 5.25 | 0.333333 | 0.238095 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072289 | 166 | 4 | 52 | 41.5 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.451807 | 0.289157 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5582aa4dd5860ec5742bc2d4f7e102e357079435 | 459 | py | Python | miprometheus/models/__init__.py | vincentalbouy/mi-prometheus | 99a0c94b0d0f3476fa021213b3246fda0db8b2db | [
"Apache-2.0"
] | null | null | null | miprometheus/models/__init__.py | vincentalbouy/mi-prometheus | 99a0c94b0d0f3476fa021213b3246fda0db8b2db | [
"Apache-2.0"
] | null | null | null | miprometheus/models/__init__.py | vincentalbouy/mi-prometheus | 99a0c94b0d0f3476fa021213b3246fda0db8b2db | [
"Apache-2.0"
] | null | null | null | # Sequential models.
from .controllers import *
# MANN models.
from .dnc import *
from .dwm import *
from .encoder_solver import *
from .lstm import *
from .ntm import *
from .thalnet import *
# VQA models.
from .mac import *
from .s_mac import *
from .relational_net import *
from .vision import *
from .vqa_baselines... | 19.956522 | 45 | 0.760349 | 62 | 459 | 5.532258 | 0.419355 | 0.262391 | 0.075802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163399 | 459 | 22 | 46 | 20.863636 | 0.893229 | 0.126362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
558ab73ebc2f53300da8343b312643c5f038c3e8 | 152 | py | Python | src/config.py | psydox/Axie_Manager_Bot | 34894e4f6f3eb55efbdea2d4a1e54ec23ffd1ffd | [
"MIT"
] | 4 | 2021-12-10T01:44:15.000Z | 2021-12-14T11:57:20.000Z | src/config.py | psydox/Axie_Manager_Bot | 34894e4f6f3eb55efbdea2d4a1e54ec23ffd1ffd | [
"MIT"
] | 133 | 2021-10-16T16:05:44.000Z | 2022-02-25T10:28:44.000Z | src/config.py | psydox/Axie_Manager_Bot | 34894e4f6f3eb55efbdea2d4a1e54ec23ffd1ffd | [
"MIT"
] | 5 | 2021-12-14T11:57:22.000Z | 2022-03-02T09:11:05.000Z | # > 3rd Party Dependencies
import yaml
# Read config.yaml content
with open("config.yaml", "r", encoding="utf-8") as f:
config = yaml.full_load(f)
| 21.714286 | 53 | 0.690789 | 24 | 152 | 4.333333 | 0.75 | 0.288462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015748 | 0.164474 | 152 | 6 | 54 | 25.333333 | 0.80315 | 0.322368 | 0 | 0 | 0 | 0 | 0.17 | 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 |
e97b22d888857a69e1eee42910394b7a7a254458 | 133 | py | Python | servers/FreebaseWebServer/src/util/__init__.py | davidgolub/SimpleQA | f072f87185c22a815c5abef3d0ff28eeac129119 | [
"BSD-3-Clause"
] | 81 | 2016-09-02T08:18:22.000Z | 2022-01-25T08:18:40.000Z | servers/FreebaseWebServer/src/util/__init__.py | davidgolub/SimpleQA | f072f87185c22a815c5abef3d0ff28eeac129119 | [
"BSD-3-Clause"
] | 8 | 2017-04-11T13:56:50.000Z | 2021-06-05T07:22:45.000Z | servers/FreebaseWebServer/src/util/__init__.py | davidgolub/SimpleQA | f072f87185c22a815c5abef3d0ff28eeac129119 | [
"BSD-3-Clause"
] | 28 | 2016-09-02T08:18:23.000Z | 2022-01-07T01:20:03.000Z | from .parse_params import parse_params
from .freebase import FreebaseObject, FreebaseFact
from .freebase_helper import FreebaseHelper | 44.333333 | 50 | 0.879699 | 16 | 133 | 7.125 | 0.5625 | 0.192982 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090226 | 133 | 3 | 51 | 44.333333 | 0.942149 | 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 |
e97f607fc1c2019c5e22467dd73acf2d2b1bf97a | 22 | py | Python | scrapersite/version.py | lordoftheflies/gargantula-scrapersite | 0abcb82bf30540ac5cd57d5ec9178e692a1a2ca6 | [
"Apache-2.0"
] | null | null | null | scrapersite/version.py | lordoftheflies/gargantula-scrapersite | 0abcb82bf30540ac5cd57d5ec9178e692a1a2ca6 | [
"Apache-2.0"
] | null | null | null | scrapersite/version.py | lordoftheflies/gargantula-scrapersite | 0abcb82bf30540ac5cd57d5ec9178e692a1a2ca6 | [
"Apache-2.0"
] | null | null | null | __version__ = '5.7.9'
| 11 | 21 | 0.636364 | 4 | 22 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.136364 | 22 | 1 | 22 | 22 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e995ef597f8441d1dbadd741b6fbb16d69bb28d1 | 488 | py | Python | decoder.py | MisakaMikato/Merciless-Brute-Force-Machine | bc6fe0e20511cb99ad7b70e0144b51f3e559f631 | [
"MIT"
] | null | null | null | decoder.py | MisakaMikato/Merciless-Brute-Force-Machine | bc6fe0e20511cb99ad7b70e0144b51f3e559f631 | [
"MIT"
] | null | null | null | decoder.py | MisakaMikato/Merciless-Brute-Force-Machine | bc6fe0e20511cb99ad7b70e0144b51f3e559f631 | [
"MIT"
] | null | null | null | import base64
import hashlib
def encode64(s: bytes):
return base64.b64encode(s).decode()
def decode64(s):
return base64.b64decode(s)
def calMD5(s: bytes):
m = hashlib.md5()
m.update(s)
return encode64(m.digest())
def set_passwd(passwd: str, challenge: str):
challenge = decode64(challenge... | 18.074074 | 62 | 0.67418 | 62 | 488 | 5.145161 | 0.5 | 0.037618 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065491 | 0.186475 | 488 | 26 | 63 | 18.769231 | 0.738035 | 0 | 0 | 0 | 0 | 0 | 0.086066 | 0.04918 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.125 | 0.125 | 0.625 | 0.0625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
e9bcc34c95fb6b3afad5e1cd280cf7c0f888ed34 | 57 | py | Python | abc/193/A.py | tonko2/AtCoder | 5d617072517881d226d7c8af09cb88684d41af7e | [
"Xnet",
"X11",
"CECILL-B"
] | 2 | 2022-01-22T07:56:58.000Z | 2022-01-24T00:29:37.000Z | abc/193/A.py | tonko2/AtCoder | 5d617072517881d226d7c8af09cb88684d41af7e | [
"Xnet",
"X11",
"CECILL-B"
] | null | null | null | abc/193/A.py | tonko2/AtCoder | 5d617072517881d226d7c8af09cb88684d41af7e | [
"Xnet",
"X11",
"CECILL-B"
] | null | null | null | A, B = map(int, input().split())
print(100 - B / A * 100) | 28.5 | 32 | 0.54386 | 11 | 57 | 2.818182 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.192982 | 57 | 2 | 33 | 28.5 | 0.543478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
e9d8e02a76ab206d976c02fdadd37268849ea607 | 88 | py | Python | tests/perf/test_long_cycles_nbrows_cycle_length_1000_200.py | shaido987/pyaf | b9afd089557bed6b90b246d3712c481ae26a1957 | [
"BSD-3-Clause"
] | 377 | 2016-10-13T20:52:44.000Z | 2022-03-29T18:04:14.000Z | tests/perf/test_long_cycles_nbrows_cycle_length_1000_200.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 160 | 2016-10-13T16:11:53.000Z | 2022-03-28T04:21:34.000Z | tests/perf/test_long_cycles_nbrows_cycle_length_1000_200.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 63 | 2017-03-09T14:51:18.000Z | 2022-03-27T20:52:57.000Z | import tests.perf.test_cycles_full_long_long as gen
gen.test_nbrows_cycle(1000 , 200)
| 17.6 | 51 | 0.829545 | 16 | 88 | 4.1875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088608 | 0.102273 | 88 | 4 | 52 | 22 | 0.759494 | 0 | 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 |
756ea0c3b912ea731a7b49a205c6fec458b2e280 | 349 | py | Python | django/solution/untitled/mna/models.py | giserh/book-python | ebd4e70cea1dd56986aa8efbae3629ba3f1ba087 | [
"MIT"
] | 1 | 2019-01-02T15:04:08.000Z | 2019-01-02T15:04:08.000Z | django/solution/untitled/mna/models.py | giserh/book-python | ebd4e70cea1dd56986aa8efbae3629ba3f1ba087 | [
"MIT"
] | null | null | null | django/solution/untitled/mna/models.py | giserh/book-python | ebd4e70cea1dd56986aa8efbae3629ba3f1ba087 | [
"MIT"
] | null | null | null | from django.db import models
from django.utils.translation import ugettext_lazy as _
class Redirection(models.Model):
duty_number = models.PositiveIntegerField(verbose_name=_('Duty Number'))
msisdn = models.PositiveIntegerField(verbose_name=_('MSISDN'))
def __str__(self):
return f'Duty: {self.dut... | 29.083333 | 76 | 0.744986 | 42 | 349 | 5.904762 | 0.571429 | 0.120968 | 0.266129 | 0.298387 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143266 | 349 | 11 | 77 | 31.727273 | 0.829431 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0.142857 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
7582e8d701e6dd9112e658235c6c341a39825534 | 108 | py | Python | models/EmbeddedModels/__init__.py | vishu221b/bookme-flask-REST-API-Collection | 9ee923e13d786af9b11421370edac718743855af | [
"MIT"
] | null | null | null | models/EmbeddedModels/__init__.py | vishu221b/bookme-flask-REST-API-Collection | 9ee923e13d786af9b11421370edac718743855af | [
"MIT"
] | null | null | null | models/EmbeddedModels/__init__.py | vishu221b/bookme-flask-REST-API-Collection | 9ee923e13d786af9b11421370edac718743855af | [
"MIT"
] | null | null | null | from .UserFollowers import Followers
from .UserFollowing import Following
from .BlockedUsers import Blocked
| 27 | 36 | 0.861111 | 12 | 108 | 7.75 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 108 | 3 | 37 | 36 | 0.96875 | 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 |
75868f3c711a46e9c34157d5c964c6d3f1d2f9c4 | 830 | py | Python | server/services/service_watson_conversation.py | ndibbern/Watson-Assistant-Offline | 2460ba763b73a6cbc370e3228e7529f62965b800 | [
"MIT"
] | null | null | null | server/services/service_watson_conversation.py | ndibbern/Watson-Assistant-Offline | 2460ba763b73a6cbc370e3228e7529f62965b800 | [
"MIT"
] | null | null | null | server/services/service_watson_conversation.py | ndibbern/Watson-Assistant-Offline | 2460ba763b73a6cbc370e3228e7529f62965b800 | [
"MIT"
] | null | null | null | from ibmcloudenv import IBMCloudEnv
from watson_developer_cloud import AssistantV1
if IBMCloudEnv.getString('watson_conversation_apikey'):
iam_url = 'https://iam.stage1.bluemix.net/identity/token' if 'staging' in IBMCloudEnv.getString('watson_conversation_iam_serviceid_crn') else 'https://iam.bluemix.net/identity/... | 41.5 | 186 | 0.760241 | 92 | 830 | 6.630435 | 0.391304 | 0.206557 | 0.255738 | 0.37377 | 0.144262 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027855 | 0.13494 | 830 | 19 | 187 | 43.684211 | 0.821727 | 0 | 0 | 0.125 | 0 | 0 | 0.358263 | 0.202654 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0.0625 | 0.125 | 0.0625 | 0.1875 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
75a246e0f968cc3bebd07a2cf66a56e67ebc4ad6 | 770 | py | Python | PostgresScheduleRunner.py | pvacca/ceci | f05c4597278472d84ff1142f3d78fc773007aedd | [
"MIT"
] | null | null | null | PostgresScheduleRunner.py | pvacca/ceci | f05c4597278472d84ff1142f3d78fc773007aedd | [
"MIT"
] | null | null | null | PostgresScheduleRunner.py | pvacca/ceci | f05c4597278472d84ff1142f3d78fc773007aedd | [
"MIT"
] | null | null | null | from __future__ import (division, print_function, unicode_literals)
from datetime import datetime, timedelta
from PostgresBase import PostgresConnectionBase
from TimerThread import RecurringTimerThread
class ScheduledItem(Object):
def __init__(self):
pass
@property
def interval(self):
return self.... | 21.388889 | 68 | 0.745455 | 88 | 770 | 6.25 | 0.409091 | 0.06 | 0.076364 | 0.061818 | 0.087273 | 0.087273 | 0 | 0 | 0 | 0 | 0 | 0.001575 | 0.175325 | 770 | 36 | 69 | 21.388889 | 0.864567 | 0 | 0 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0.115385 | 0.153846 | 0.115385 | 0.653846 | 0.038462 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
75b03f09bf29c3ab7922b006d4f7fe7c43fe5afa | 217 | py | Python | handlers/__init__.py | StGrail/AlleyCat-bot | 3681627138e088bef2eea6867eb0b9a11d183e38 | [
"MIT"
] | null | null | null | handlers/__init__.py | StGrail/AlleyCat-bot | 3681627138e088bef2eea6867eb0b9a11d183e38 | [
"MIT"
] | 1 | 2021-03-16T17:39:14.000Z | 2021-03-17T07:31:26.000Z | handlers/__init__.py | StGrail/AlleyCat-bot | 3681627138e088bef2eea6867eb0b9a11d183e38 | [
"MIT"
] | null | null | null | from .start import dp
from .help import dp
from .registration import dp
from .race import dp
from .delete import dp
from .winners import dp
from .command_info import dp
from .media_catch import dp
__all__ = ["dp"]
| 16.692308 | 28 | 0.764977 | 36 | 217 | 4.444444 | 0.388889 | 0.4 | 0.525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175115 | 217 | 12 | 29 | 18.083333 | 0.893855 | 0 | 0 | 0 | 0 | 0 | 0.009217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.888889 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f94399d45ce824611ecbc03ed31dc824e2727999 | 128 | py | Python | voice_control/apps.py | AlexGolovaschenko/BUMart-voice-control-system | 808626355361e4fcc3ad95818eb43f0dcf6d06b1 | [
"MIT"
] | null | null | null | voice_control/apps.py | AlexGolovaschenko/BUMart-voice-control-system | 808626355361e4fcc3ad95818eb43f0dcf6d06b1 | [
"MIT"
] | null | null | null | voice_control/apps.py | AlexGolovaschenko/BUMart-voice-control-system | 808626355361e4fcc3ad95818eb43f0dcf6d06b1 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
# run module
import initial
class VoiceControlConfig(AppConfig):
name = 'voice_control'
| 16 | 36 | 0.78125 | 15 | 128 | 6.6 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 128 | 7 | 37 | 18.285714 | 0.916667 | 0.078125 | 0 | 0 | 0 | 0 | 0.112069 | 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 |
f9455c1fbdce2e595ace195775d1b09f669724ad | 554 | py | Python | lambdata/__init__.py | FancyFun/lambdata | b12f4cb632789562175481e86c2c74a92cc92c75 | [
"MIT"
] | null | null | null | lambdata/__init__.py | FancyFun/lambdata | b12f4cb632789562175481e86c2c74a92cc92c75 | [
"MIT"
] | null | null | null | lambdata/__init__.py | FancyFun/lambdata | b12f4cb632789562175481e86c2c74a92cc92c75 | [
"MIT"
] | 1 | 2020-09-02T15:07:58.000Z | 2020-09-02T15:07:58.000Z | """lambdata - a collection of Data Science helper functions
"""
import pandas as pd
import numpy as np
from sklearn.model_selection import train_test_split
TEST = pd.DataFrame(np.ones(10))
def df_cleaner(df):
"""Clean a dataframe!"""
pass # TODO -implement
def check_nulls(df):
na_counts = df.isnull()... | 21.307692 | 108 | 0.725632 | 92 | 554 | 4.097826 | 0.478261 | 0.06366 | 0.074271 | 0.058355 | 0.185676 | 0.106101 | 0.106101 | 0.106101 | 0 | 0 | 0 | 0.004357 | 0.17148 | 554 | 25 | 109 | 22.16 | 0.816993 | 0.166065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0 | 1 | 0.25 | false | 0.083333 | 0.25 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
f97d945163046bd926d2a1bc1ea377a09c3276a6 | 145 | py | Python | setup.py | butlerbt/opportunity_youth | 9f2e9769d065719428d9ac8e25fa530b7240fbdd | [
"MIT"
] | null | null | null | setup.py | butlerbt/opportunity_youth | 9f2e9769d065719428d9ac8e25fa530b7240fbdd | [
"MIT"
] | null | null | null | setup.py | butlerbt/opportunity_youth | 9f2e9769d065719428d9ac8e25fa530b7240fbdd | [
"MIT"
] | null | null | null | from setuptools import find_packages, setup
setup(
name='src',
packages=find_packages(),
version='0.1.0',
author="Brent Butler"
) | 20.714286 | 43 | 0.675862 | 19 | 145 | 5.052632 | 0.736842 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025424 | 0.186207 | 145 | 7 | 44 | 20.714286 | 0.788136 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
f990dc83aef0cd16fe9ea6ec1ebbebab4f9bd31b | 193 | py | Python | elm-finder/apps/searchv2/admin.py | martin-jahn/elm-finder | 7510e38d52eebaf462ae5c5ce961e4884b1709bd | [
"MIT"
] | 2 | 2019-04-28T21:32:46.000Z | 2019-05-13T05:27:09.000Z | elm-finder/apps/searchv2/admin.py | martin-jahn/elm-finder | 7510e38d52eebaf462ae5c5ce961e4884b1709bd | [
"MIT"
] | null | null | null | elm-finder/apps/searchv2/admin.py | martin-jahn/elm-finder | 7510e38d52eebaf462ae5c5ce961e4884b1709bd | [
"MIT"
] | null | null | null | from django.contrib import admin
from apps.searchv2.models import SearchV2
@admin.register(SearchV2)
class SearchV2Admin(admin.ModelAdmin):
search_fields = ("title", "title_no_prefix")
| 19.3 | 48 | 0.782383 | 24 | 193 | 6.166667 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023529 | 0.119171 | 193 | 9 | 49 | 21.444444 | 0.847059 | 0 | 0 | 0 | 0 | 0 | 0.103627 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f9ca34fdd02894198c0e4251fbf052f4653fc180 | 163 | py | Python | my_defaults.py | Doodleverse/dash_doodler | 7644d761b6e4b0b35bdbfb19ecefea799ac5de66 | [
"MIT"
] | 2 | 2022-02-23T22:04:32.000Z | 2022-03-02T21:12:00.000Z | my_defaults.py | Doodleverse/dash_doodler | 7644d761b6e4b0b35bdbfb19ecefea799ac5de66 | [
"MIT"
] | 5 | 2022-03-09T16:35:55.000Z | 2022-03-24T18:59:27.000Z | my_defaults.py | Doodleverse/dash_doodler | 7644d761b6e4b0b35bdbfb19ecefea799ac5de66 | [
"MIT"
] | 1 | 2022-03-23T15:01:41.000Z | 2022-03-23T15:01:41.000Z | DEFAULT_PEN_WIDTH = 3
DEFAULT_CRF_DOWNSAMPLE = 3
DEFAULT_RF_DOWNSAMPLE = 8
DEFAULT_CRF_THETA = 1
DEFAULT_CRF_MU = 1
DEFAULT_CRF_GTPROB = 0.9
DEFAULT_NUMSCALES = 2
| 20.375 | 26 | 0.822086 | 28 | 163 | 4.321429 | 0.571429 | 0.330579 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 0.128834 | 163 | 7 | 27 | 23.285714 | 0.795775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f9cb343a5c6cf481521b15f97857ba162c36e163 | 320 | py | Python | miragecore/codable/encorder_decorder.py | shotastage/mirage-django | afdc1ca1fa6db01af174cf31310b6ef690d9254a | [
"Apache-2.0"
] | null | null | null | miragecore/codable/encorder_decorder.py | shotastage/mirage-django | afdc1ca1fa6db01af174cf31310b6ef690d9254a | [
"Apache-2.0"
] | 77 | 2019-05-10T22:24:54.000Z | 2021-07-02T03:11:01.000Z | miragecore/codable/encorder_decorder.py | shotastage/mirage-django | afdc1ca1fa6db01af174cf31310b6ef690d9254a | [
"Apache-2.0"
] | 1 | 2018-12-08T09:57:54.000Z | 2018-12-08T09:57:54.000Z | """
Mirage Framework
decodable.py
Created by Shota Shimazu on 2018/07/18
Copyright (c) 2018-2020 Shota Shimazu All Rights Reserved.
This software is released under the Apache License, see LICENSE for detail.
https://github.com/shotastage/mirageframework/blob/master/LICENSE
"""
from typing import Callable, NoReturn
| 22.857143 | 75 | 0.79375 | 46 | 320 | 5.521739 | 0.891304 | 0.094488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.057348 | 0.128125 | 320 | 13 | 76 | 24.615385 | 0.853047 | 0.85 | 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 |
f9d62de6b48c81d5e1258bbfa59a0f004039b761 | 461 | py | Python | platform_registry_api/upstream.py | neuro-inc/platform-registry-api | a69ebf9912d86da589e2bc0fca983c760ec7fe72 | [
"Apache-2.0"
] | null | null | null | platform_registry_api/upstream.py | neuro-inc/platform-registry-api | a69ebf9912d86da589e2bc0fca983c760ec7fe72 | [
"Apache-2.0"
] | 7 | 2021-11-19T00:06:38.000Z | 2022-03-25T00:10:09.000Z | platform_registry_api/upstream.py | neuro-inc/platform-registry-api | a69ebf9912d86da589e2bc0fca983c760ec7fe72 | [
"Apache-2.0"
] | null | null | null | from abc import ABC, abstractmethod
class Upstream(ABC):
async def create_repo(self, repo: str) -> None:
pass
@abstractmethod
async def get_headers_for_version(self) -> dict[str, str]:
pass
@abstractmethod
async def get_headers_for_catalog(self) -> dict[str, str]:
pass
... | 21.952381 | 62 | 0.633406 | 58 | 461 | 4.844828 | 0.362069 | 0.113879 | 0.245552 | 0.27758 | 0.516014 | 0.516014 | 0.516014 | 0.377224 | 0.377224 | 0.377224 | 0 | 0 | 0.26898 | 461 | 20 | 63 | 23.05 | 0.833828 | 0 | 0 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.266667 | 0.066667 | 0 | 0.133333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
ddabd4f077c6e38de87b708c7ce589fb5e1014f6 | 705 | py | Python | losses/__init__.py | ariel415el/PerceptualLossGLO-Pytorch | 7caa743b719cd95066103a69f3e78a70507de8b5 | [
"MIT"
] | null | null | null | losses/__init__.py | ariel415el/PerceptualLossGLO-Pytorch | 7caa743b719cd95066103a69f3e78a70507de8b5 | [
"MIT"
] | null | null | null | losses/__init__.py | ariel415el/PerceptualLossGLO-Pytorch | 7caa743b719cd95066103a69f3e78a70507de8b5 | [
"MIT"
] | null | null | null |
from losses.ssim.SSIM import SSIM
from losses.empty_loss import *
from losses.experimental_patch_losses import *
from losses.classic_losses.l2 import L2
from losses.classic_losses.grad_loss import GradLoss, GradLoss3Channels
from losses.classic_losses.lap1_loss import LapLoss
from losses.composite_losses.list_loss i... | 39.166667 | 71 | 0.875177 | 102 | 705 | 5.813725 | 0.303922 | 0.236088 | 0.080944 | 0.116358 | 0.131535 | 0.131535 | 0 | 0 | 0 | 0 | 0 | 0.006202 | 0.085106 | 705 | 17 | 72 | 41.470588 | 0.913178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ddb0ea3bf9a6dae651a9d72540f09643d3ede9e0 | 619 | py | Python | dashtable/html2data/restructify/converters/__init__.py | r-dgreen/DashTable | 744cfb6a717fa75a8092c83ebcd49b2668023681 | [
"MIT"
] | 35 | 2017-04-25T04:37:16.000Z | 2022-02-23T05:44:37.000Z | dashtable/html2data/restructify/converters/__init__.py | r-dgreen/DashTable | 744cfb6a717fa75a8092c83ebcd49b2668023681 | [
"MIT"
] | 14 | 2016-12-11T12:00:48.000Z | 2021-06-13T06:52:09.000Z | dashtable/html2data/restructify/converters/__init__.py | r-dgreen/DashTable | 744cfb6a717fa75a8092c83ebcd49b2668023681 | [
"MIT"
] | 11 | 2017-04-05T14:10:16.000Z | 2022-02-14T16:32:18.000Z | from .convert_a import convert_a
from .convert_b import convert_b
from .convert_blockquote import convert_blockquote
from .convert_br import convert_br
from .convert_cite import convert_cite
from .convert_dd import convert_dd
from .convert_div import convert_div
from .convert_em import convert_em
from .convert_h1 impor... | 34.388889 | 50 | 0.862682 | 102 | 619 | 4.901961 | 0.196078 | 0.374 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010889 | 0.109855 | 619 | 17 | 51 | 36.411765 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
dddda5aed3dfe72a0331480937ff5f848665e1a7 | 188 | py | Python | ch13/myproject_virtualenv/src/django-myproject/myproject/apps/music/apps.py | PacktPublishing/Django-3-Web-Development-Cookbook | 6ffe6e0add93a43a9abaff62e0147dc1f4f5351a | [
"MIT"
] | 159 | 2019-11-13T14:11:39.000Z | 2022-03-24T05:47:10.000Z | ch13/myproject_virtualenv/src/django-myproject/myproject/apps/music/apps.py | PacktPublishing/Django-3-Web-Development-Cookbook | 6ffe6e0add93a43a9abaff62e0147dc1f4f5351a | [
"MIT"
] | 34 | 2019-11-06T08:32:48.000Z | 2022-01-14T11:31:29.000Z | ch13/myproject_virtualenv/src/django-myproject/myproject/apps/music/apps.py | PacktPublishing/Django-3-Web-Development-Cookbook | 6ffe6e0add93a43a9abaff62e0147dc1f4f5351a | [
"MIT"
] | 103 | 2019-08-15T21:35:26.000Z | 2022-03-20T05:29:11.000Z | from django.apps import AppConfig
from django.utils.translation import gettext_lazy as _
class MusicAppConfig(AppConfig):
name = "myproject.apps.music"
verbose_name = _("Music")
| 23.5 | 54 | 0.765957 | 23 | 188 | 6.086957 | 0.695652 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148936 | 188 | 7 | 55 | 26.857143 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.132979 | 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 |
ddee717a3552d31095bc93f8b3d6236e5f85ac33 | 141 | py | Python | database/types/movie.py | alexvnilsson-edu/biograf-seeder | f266a9e2d6d92bf6cbcf273d179f5d82ce944b77 | [
"MIT"
] | null | null | null | database/types/movie.py | alexvnilsson-edu/biograf-seeder | f266a9e2d6d92bf6cbcf273d179f5d82ce944b77 | [
"MIT"
] | null | null | null | database/types/movie.py | alexvnilsson-edu/biograf-seeder | f266a9e2d6d92bf6cbcf273d179f5d82ce944b77 | [
"MIT"
] | null | null | null | from .__typeclass import TypeClass
class Movie(TypeClass):
def __init__(self, **kwargs):
super(Movie, self).__init__(**kwargs)
| 20.142857 | 45 | 0.695035 | 16 | 141 | 5.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177305 | 141 | 6 | 46 | 23.5 | 0.758621 | 0 | 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 |
ddf7356721dc058b09eb5f2ed61c352fd48eaeb1 | 101 | py | Python | src/git_svn_monitor/__init__.py | shin-hama/git-svn-monitor | acb793c2da63d6802efa8e0e6c99482f4fad0f80 | [
"MIT"
] | null | null | null | src/git_svn_monitor/__init__.py | shin-hama/git-svn-monitor | acb793c2da63d6802efa8e0e6c99482f4fad0f80 | [
"MIT"
] | 36 | 2021-07-12T00:08:03.000Z | 2022-03-25T11:19:39.000Z | src/git_svn_monitor/__init__.py | shin-hama/git-svn-monitor | acb793c2da63d6802efa8e0e6c99482f4fad0f80 | [
"MIT"
] | null | null | null | from git_svn_monitor.core.logger import setup_logger
setup_logger(__name__)
__version__ = '0.1.0'
| 14.428571 | 52 | 0.80198 | 16 | 101 | 4.3125 | 0.75 | 0.318841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.108911 | 101 | 6 | 53 | 16.833333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.049505 | 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 |
fb1856bc43abac57ecbfd5a66815c17c8384c195 | 713 | py | Python | examples/django/helloworld/translate/mas/controller/translatecontroller.py | akenfactory/pbesa | 2ebc731a680f14e0fba85ffef0248eb9ea4bd944 | [
"MIT"
] | 2 | 2020-10-22T22:23:40.000Z | 2021-09-14T01:18:01.000Z | examples/django/helloworld/translate/mas/controller/translatecontroller.py | akenfactory/pbesa | 2ebc731a680f14e0fba85ffef0248eb9ea4bd944 | [
"MIT"
] | 2 | 2020-05-27T13:59:42.000Z | 2022-03-02T14:58:12.000Z | examples/django/helloworld/translate/mas/controller/translatecontroller.py | akenfactory/pbesa | 2ebc731a680f14e0fba85ffef0248eb9ea4bd944 | [
"MIT"
] | 1 | 2020-05-27T13:50:40.000Z | 2020-05-27T13:50:40.000Z | from .translatedelegate import TranslateDelegate
from .translateresponse import TranslateResponse
from pbesa.social.linealcontroller.linealcontroller import LinealController
class TranslateController(LinealController):
""" Through a class the concept of agent is defined """
def build(self):
"""
... | 33.952381 | 75 | 0.698457 | 73 | 713 | 6.821918 | 0.547945 | 0.040161 | 0.056225 | 0.064257 | 0.124498 | 0.124498 | 0.124498 | 0 | 0 | 0 | 0 | 0 | 0.239832 | 713 | 20 | 76 | 35.65 | 0.918819 | 0.332398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.111111 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
349104510ffc9915937081d21b08815ab89913b3 | 130 | py | Python | lib/__init__.py | psobot/biographer | 4968162a617edd766c01f7e49ff26e6b74abb085 | [
"MIT-0"
] | 1 | 2015-09-01T17:17:43.000Z | 2015-09-01T17:17:43.000Z | lib/__init__.py | psobot/biographer | 4968162a617edd766c01f7e49ff26e6b74abb085 | [
"MIT-0"
] | null | null | null | lib/__init__.py | psobot/biographer | 4968162a617edd766c01f7e49ff26e6b74abb085 | [
"MIT-0"
] | null | null | null | import logging
from customlog import ColoredLogger
#logging.basicConfig(level=logging.INFO)
logging.setLoggerClass(ColoredLogger)
| 26 | 40 | 0.869231 | 14 | 130 | 8.071429 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061538 | 130 | 4 | 41 | 32.5 | 0.92623 | 0.3 | 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 |
3498593e8b7a4366d96e6c14b3a94cce9c085007 | 135 | py | Python | corehq/apps/app_manager/xpath_validator/__init__.py | akashkj/commcare-hq | b00a62336ec26cea1477dfb8c048c548cc462831 | [
"BSD-3-Clause"
] | null | null | null | corehq/apps/app_manager/xpath_validator/__init__.py | akashkj/commcare-hq | b00a62336ec26cea1477dfb8c048c548cc462831 | [
"BSD-3-Clause"
] | null | null | null | corehq/apps/app_manager/xpath_validator/__init__.py | akashkj/commcare-hq | b00a62336ec26cea1477dfb8c048c548cc462831 | [
"BSD-3-Clause"
] | null | null | null | from .exceptions import XPathValidationError
from .wrapper import validate_xpath
__all__ = ['validate_xpath', 'XPathValidationError']
| 27 | 52 | 0.82963 | 13 | 135 | 8.153846 | 0.615385 | 0.245283 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096296 | 135 | 4 | 53 | 33.75 | 0.868852 | 0 | 0 | 0 | 0 | 0 | 0.251852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
34b16e7753b62c1bdbbeec30ddb70f2da91f3c40 | 49 | py | Python | sui_hei/__init__.py | heyrict/cindy-realtime | a4adef0c5542185968bd205a4e066079ce2dd130 | [
"MIT"
] | 9 | 2017-12-31T08:38:25.000Z | 2020-07-20T10:23:21.000Z | sui_hei/__init__.py | heyrict/cindy-realtime | a4adef0c5542185968bd205a4e066079ce2dd130 | [
"MIT"
] | 7 | 2017-12-31T08:17:03.000Z | 2021-05-06T20:53:32.000Z | sui_hei/__init__.py | heyrict/cindy-realtime | a4adef0c5542185968bd205a4e066079ce2dd130 | [
"MIT"
] | 10 | 2018-03-06T05:29:36.000Z | 2022-03-20T14:35:28.000Z | default_app_config = 'sui_hei.apps.SuiHeiConfig'
| 24.5 | 48 | 0.836735 | 7 | 49 | 5.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 49 | 1 | 49 | 49 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0.510204 | 0.510204 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
34c87efea6d6ada3ae033dfd4aaab736d41b969e | 151 | py | Python | examples/flask/run.py | Guillerbr/python-pagseguro | 279eacf251e99a2f15d665f8193fcad0be6ea0bf | [
"MIT"
] | 115 | 2015-02-19T22:17:44.000Z | 2019-07-24T17:31:30.000Z | examples/flask/run.py | rubens8848/python-pagseguro | 08a8aa7f934b16d00948ead17a0e470a88f2479f | [
"MIT"
] | 49 | 2015-03-04T00:53:31.000Z | 2019-07-13T16:41:22.000Z | examples/flask/run.py | rubens8848/python-pagseguro | 08a8aa7f934b16d00948ead17a0e470a88f2479f | [
"MIT"
] | 53 | 2015-01-12T22:13:33.000Z | 2019-07-20T01:52:48.000Z | from flask_seguro import create_app
app = create_app('development')
@app.shell_context_processor
def make_shell_context():
return dict(app=app)
| 16.777778 | 35 | 0.788079 | 22 | 151 | 5.090909 | 0.636364 | 0.160714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125828 | 151 | 8 | 36 | 18.875 | 0.848485 | 0 | 0 | 0 | 0 | 0 | 0.072848 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
551aa990aabfb505b5f68601ff6bcf223f05d6e1 | 34 | py | Python | example_snippets/multimenus_snippets/Snippets/SciPy/Special functions/Orthogonal polynomials/eval_sh_jacobi Evaluate shifted Jacobi polynomial at a point.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/SciPy/Special functions/Orthogonal polynomials/eval_sh_jacobi Evaluate shifted Jacobi polynomial at a point.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/SciPy/Special functions/Orthogonal polynomials/eval_sh_jacobi Evaluate shifted Jacobi polynomial at a point.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | 1 | 2021-02-04T04:51:48.000Z | 2021-02-04T04:51:48.000Z | special.eval_sh_jacobi(n, p, q, x) | 34 | 34 | 0.735294 | 8 | 34 | 2.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 34 | 1 | 34 | 34 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.