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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
12cb85d99b745dcf283c6bc149161e52a78562bc | 511 | py | Python | srcs/computor_v1/tokens/sign.py | pomponchik/computor_v2 | 742b3f3b47c8d46806b2f733b4ec07ae63a23f00 | [
"MIT"
] | null | null | null | srcs/computor_v1/tokens/sign.py | pomponchik/computor_v2 | 742b3f3b47c8d46806b2f733b4ec07ae63a23f00 | [
"MIT"
] | null | null | null | srcs/computor_v1/tokens/sign.py | pomponchik/computor_v2 | 742b3f3b47c8d46806b2f733b4ec07ae63a23f00 | [
"MIT"
] | null | null | null | from srcs.computor_v1.tokens.abstract_token import AbstractToken
from srcs.computor_v1.utils.error import error
class Sign(AbstractToken):
def prove_of_piece(self):
if not self.piece_of_string in ('+', '-', '*', '='):
error(f'unidentified token {self.piece_of_string}')
def get_content(sel... | 28.388889 | 64 | 0.616438 | 62 | 511 | 4.887097 | 0.467742 | 0.145215 | 0.108911 | 0.168317 | 0.132013 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005208 | 0.248532 | 511 | 17 | 65 | 30.058824 | 0.783854 | 0 | 0 | 0 | 0 | 0 | 0.09589 | 0.043053 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.153846 | 0.076923 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
12ec1cfbd6276c6664611b82c8f085fb7c8a004c | 153 | py | Python | pylot/__init__.py | paultiplady/pylot | 6e1a599d046f8fa1efd8bedaafb97e486dea5b65 | [
"MIT"
] | null | null | null | pylot/__init__.py | paultiplady/pylot | 6e1a599d046f8fa1efd8bedaafb97e486dea5b65 | [
"MIT"
] | 2 | 2017-12-02T18:38:37.000Z | 2021-06-01T21:32:34.000Z | pylot/__init__.py | paultiplady/pylot | 6e1a599d046f8fa1efd8bedaafb97e486dea5b65 | [
"MIT"
] | null | null | null | import logging
log = logging.getLogger(__name__)
logging.basicConfig(level=logging.DEBUG, format='%(message)s')
class PylotError(Exception):
pass
| 17 | 62 | 0.764706 | 18 | 153 | 6.277778 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 153 | 8 | 63 | 19.125 | 0.830882 | 0 | 0 | 0 | 0 | 0 | 0.071895 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
420bf980f3d0ae3f57892e795f838b6541e3ca1d | 397 | py | Python | src/yellowdog_client/model/internal_attribute_source.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | src/yellowdog_client/model/internal_attribute_source.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | src/yellowdog_client/model/internal_attribute_source.py | yellowdog/yellowdog-sdk-python-public | da69a7d6e45c92933e34fefcaef8b5d98dcd6036 | [
"Apache-2.0"
] | null | null | null | from dataclasses import dataclass
from typing import List, Optional
from .attribute_definition import AttributeDefinition
from .attribute_source import AttributeSource
from .attribute_source_type import AttributeSourceType
@dataclass
class InternalAttributeSource(AttributeSource):
sourceType: Optional[AttributeS... | 30.538462 | 58 | 0.846348 | 38 | 397 | 8.736842 | 0.5 | 0.11747 | 0.114458 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108312 | 397 | 12 | 59 | 33.083333 | 0.937853 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.555556 | 0 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
421dcc6e7d2ea12a904152e8999acf865d8472f1 | 166 | py | Python | cfg/samples/producer.py | metmit/easyAppium | fcffd84a83d68589727ded7b63205b1ba602b835 | [
"MIT"
] | null | null | null | cfg/samples/producer.py | metmit/easyAppium | fcffd84a83d68589727ded7b63205b1ba602b835 | [
"MIT"
] | null | null | null | cfg/samples/producer.py | metmit/easyAppium | fcffd84a83d68589727ded7b63205b1ba602b835 | [
"MIT"
] | null | null | null | from producer.aweme import AwemeProducer
from producer.gifmaker import GifMakerProducer
producers = {
"aweme": AwemeProducer,
"gifmaker": GifMakerProducer
}
| 20.75 | 46 | 0.777108 | 15 | 166 | 8.6 | 0.533333 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150602 | 166 | 7 | 47 | 23.714286 | 0.914894 | 0 | 0 | 0 | 0 | 0 | 0.078313 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
424bc474298117d25bc1066bd8268e4d852d1d00 | 2,124 | py | Python | app/migrations/0002_auto_20200512_2012.py | abhijmics/Mediclear-Admin | d6f84d5aa94303b19e115e6d993caadda4df2ecf | [
"MIT"
] | null | null | null | app/migrations/0002_auto_20200512_2012.py | abhijmics/Mediclear-Admin | d6f84d5aa94303b19e115e6d993caadda4df2ecf | [
"MIT"
] | null | null | null | app/migrations/0002_auto_20200512_2012.py | abhijmics/Mediclear-Admin | d6f84d5aa94303b19e115e6d993caadda4df2ecf | [
"MIT"
] | null | null | null | # Generated by Django 3.0.5 on 2020-05-12 14:42
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('app', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='Certificate',
fields=[
('id', ... | 32.676923 | 114 | 0.551789 | 203 | 2,124 | 5.615764 | 0.29064 | 0.171053 | 0.205263 | 0.273684 | 0.683333 | 0.612281 | 0.489474 | 0.457895 | 0.457895 | 0.415789 | 0 | 0.040334 | 0.322976 | 2,124 | 64 | 115 | 33.1875 | 0.752434 | 0.021186 | 0 | 0.551724 | 1 | 0 | 0.099182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017241 | 0 | 0.068966 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4265780060e19d27f520b5105a1ff709fdb3f36b | 890 | py | Python | test_mc_fparity.py | tomkren/TFGPy | 24c46dac95fd4bc28a9e3cd1d988a6050266c069 | [
"MIT"
] | 3 | 2017-04-28T11:04:49.000Z | 2021-08-23T18:20:29.000Z | test_mc_fparity.py | tomkren/TFGPy | 24c46dac95fd4bc28a9e3cd1d988a6050266c069 | [
"MIT"
] | 7 | 2017-06-13T15:58:36.000Z | 2017-07-03T10:07:04.000Z | test_mc_fparity.py | tomkren/TFGPy | 24c46dac95fd4bc28a9e3cd1d988a6050266c069 | [
"MIT"
] | null | null | null | import unittest
import domain_fparity_apptree
import domain_parity_apptree
import domain_parity_stack
from app_tree import UnfinishedLeaf
from mcts import MCTNode
from test_mc_koza import run_gen_basic, run_basic_nmcs, run_basic_mcts
from tree_node import UFTNode, StackNode
class TestParityDomainApptree(unittest.Tes... | 26.969697 | 73 | 0.746067 | 120 | 890 | 5.141667 | 0.35 | 0.084279 | 0.12966 | 0.081037 | 0.243112 | 0.145867 | 0.145867 | 0.145867 | 0.145867 | 0.145867 | 0 | 0.009589 | 0.179775 | 890 | 32 | 74 | 27.8125 | 0.835616 | 0 | 0 | 0.166667 | 0 | 0 | 0.008989 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.083333 | 0.333333 | 0 | 0.541667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
426b6dc74366538fe985a3c14bafa09874c7af6e | 302 | py | Python | api/src/application/rest_api/authentication/schemas.py | iliaskaras/VCFHandler | 5372659e4472207be964e0d233994a0ffff536fe | [
"MIT"
] | null | null | null | api/src/application/rest_api/authentication/schemas.py | iliaskaras/VCFHandler | 5372659e4472207be964e0d233994a0ffff536fe | [
"MIT"
] | null | null | null | api/src/application/rest_api/authentication/schemas.py | iliaskaras/VCFHandler | 5372659e4472207be964e0d233994a0ffff536fe | [
"MIT"
] | null | null | null | from marshmallow import fields
from marshmallow.schema import BaseSchema
class UserCredentialsRequestSchema(BaseSchema):
email = fields.Str(required=True)
password = fields.Str(required=True)
class AccessTokenResponseSchema(BaseSchema):
access_token = fields.Str(dump_to="accessToken")
| 25.166667 | 52 | 0.798013 | 32 | 302 | 7.46875 | 0.59375 | 0.112971 | 0.142259 | 0.175732 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122517 | 302 | 11 | 53 | 27.454545 | 0.901887 | 0 | 0 | 0 | 0 | 0 | 0.036424 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0.285714 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
4272200fb009187ac8fc145ff815c11c51faceb5 | 350 | py | Python | main.py | nmedovich/surf-exel | 3eabc02586e06623bb99e8caae36ff13d68f3613 | [
"MIT"
] | null | null | null | main.py | nmedovich/surf-exel | 3eabc02586e06623bb99e8caae36ff13d68f3613 | [
"MIT"
] | 1 | 2020-10-26T09:15:47.000Z | 2020-10-26T09:22:38.000Z | main.py | nmedovich/surf-exel | 3eabc02586e06623bb99e8caae36ff13d68f3613 | [
"MIT"
] | null | null | null | import editor
import platform
from editor import root
from editor import *
from editor.colourx import *
if platform.system() == 'Windows':
if platform.release() == '7':
print('Windows 7 is not supported, please install an older version of surf-exel ')
root.mainloop()
else:
root.mainloo... | 23.333333 | 90 | 0.668571 | 45 | 350 | 5.2 | 0.555556 | 0.153846 | 0.136752 | 0.17094 | 0.188034 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.228571 | 350 | 14 | 91 | 25 | 0.859259 | 0 | 0 | 0.384615 | 0 | 0 | 0.231429 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.384615 | 0 | 0.384615 | 0.076923 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4272e1037c690959b44ae700e9cceb8cfdc69376 | 135 | py | Python | setup.py | geo-fluid-dynamics/sunfire-ice | 4c3df93e4844df5584765e2b8443aa97dfdb4714 | [
"MIT"
] | 6 | 2019-04-03T06:43:44.000Z | 2020-10-24T15:38:02.000Z | setup.py | geo-fluid-dynamics/sunfire-ice | 4c3df93e4844df5584765e2b8443aa97dfdb4714 | [
"MIT"
] | 5 | 2019-04-02T16:36:44.000Z | 2019-05-09T13:54:23.000Z | setup.py | geo-fluid-dynamics/sunfire-ice | 4c3df93e4844df5584765e2b8443aa97dfdb4714 | [
"MIT"
] | 5 | 2019-05-09T23:19:46.000Z | 2021-06-17T08:57:00.000Z | import setuptools
setuptools.setup(
name = "sapphire-ice",
version = "0.1.0a0",
packages = setuptools.find_packages(),
)
| 15 | 42 | 0.659259 | 15 | 135 | 5.866667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.2 | 135 | 8 | 43 | 16.875 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.140741 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
42754def7f64a0bfbcc132600754244b66086fc6 | 174 | py | Python | meshnet/config/__init__.py | janLo/automation_mesh | 8fedabb5e258b86ad51cb2b90850b9b15283db1a | [
"BSD-3-Clause"
] | null | null | null | meshnet/config/__init__.py | janLo/automation_mesh | 8fedabb5e258b86ad51cb2b90850b9b15283db1a | [
"BSD-3-Clause"
] | null | null | null | meshnet/config/__init__.py | janLo/automation_mesh | 8fedabb5e258b86ad51cb2b90850b9b15283db1a | [
"BSD-3-Clause"
] | null | null | null | import yaml
from . import schema
def load_config(filename: str):
with open(filename, "r") as fp:
return schema.validate_config(yaml.load(fp, yaml.SafeLoader))
| 19.333333 | 69 | 0.706897 | 25 | 174 | 4.84 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183908 | 174 | 8 | 70 | 21.75 | 0.852113 | 0 | 0 | 0 | 0 | 0 | 0.005747 | 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 | 0 | 0 | 0 | 3 |
4276fb1c5163c3712e9e7170e83f89d8864dd21c | 314 | py | Python | app/app/test/api/test_status.py | icapora/fastapi-tortoise | 521e02c097718552a46b5f8fa228ce4669cd095c | [
"MIT"
] | null | null | null | app/app/test/api/test_status.py | icapora/fastapi-tortoise | 521e02c097718552a46b5f8fa228ce4669cd095c | [
"MIT"
] | null | null | null | app/app/test/api/test_status.py | icapora/fastapi-tortoise | 521e02c097718552a46b5f8fa228ce4669cd095c | [
"MIT"
] | null | null | null | from app.core.config import settings
from fastapi import status
from fastapi.testclient import TestClient
def test_status(client: TestClient) -> None:
response = client.get(f"{settings.API_V1}/status/")
assert response.status_code == status.HTTP_200_OK
assert response.json() == {"status": "Alive!"}
| 31.4 | 55 | 0.745223 | 42 | 314 | 5.452381 | 0.595238 | 0.09607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01476 | 0.136943 | 314 | 9 | 56 | 34.888889 | 0.830258 | 0 | 0 | 0 | 0 | 0 | 0.117834 | 0.079618 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
4283f1fdc6fb8813f5771938ae2e7d9f85715e55 | 5,143 | py | Python | Source/Svn/wb_svn_factory.py | cadappl/scm-workbench | 302cdb8e36bb755f4977062e8977c37e7f4491f9 | [
"Apache-2.0"
] | 24 | 2017-03-23T06:24:02.000Z | 2022-03-19T13:35:44.000Z | Source/Svn/wb_svn_factory.py | cadappl/scm-workbench | 302cdb8e36bb755f4977062e8977c37e7f4491f9 | [
"Apache-2.0"
] | 14 | 2016-06-21T10:06:27.000Z | 2020-07-25T11:56:23.000Z | Source/Svn/wb_svn_factory.py | barry-scott/git-workbench | 9f352875ab097ce5e45f85bf255b1fa02a196807 | [
"Apache-2.0"
] | 11 | 2016-12-25T12:36:16.000Z | 2022-03-23T14:25:25.000Z | '''
====================================================================
Copyright (c) 2003-2017 Barry A Scott. All rights reserved.
This software is licensed as described in the file LICENSE.txt,
which you should have received as part of this distribution.
======================================================... | 30.613095 | 106 | 0.634455 | 566 | 5,143 | 5.510601 | 0.30212 | 0.044886 | 0.024687 | 0.033665 | 0.178583 | 0.090414 | 0.070535 | 0 | 0 | 0 | 0 | 0.0031 | 0.247326 | 5,143 | 167 | 107 | 30.796407 | 0.802635 | 0.091581 | 0 | 0.133333 | 0 | 0 | 0.049409 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0.009524 | 0.085714 | 0.2 | 0.609524 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4284d1cd3db17296a0127cde7614d940018d6530 | 723 | py | Python | app/server/filters.py | mimifo/doccano | 6ee23ec4fafa26dc807446dfa35945acd423dfec | [
"MIT"
] | 2 | 2019-04-01T03:55:10.000Z | 2020-05-06T01:39:24.000Z | app/server/filters.py | mimifo/doccano | 6ee23ec4fafa26dc807446dfa35945acd423dfec | [
"MIT"
] | null | null | null | app/server/filters.py | mimifo/doccano | 6ee23ec4fafa26dc807446dfa35945acd423dfec | [
"MIT"
] | 1 | 2021-02-04T14:52:58.000Z | 2021-02-04T14:52:58.000Z | from django_filters.rest_framework import FilterSet, BooleanFilter
from .models import Document
class DocumentFilter(FilterSet):
seq_annotations__isnull = BooleanFilter(field_name='seq_annotations', lookup_expr='isnull')
doc_annotations__isnull = BooleanFilter(field_name='doc_annotations', lookup_expr='isnull... | 48.2 | 103 | 0.749654 | 77 | 723 | 6.506494 | 0.402597 | 0.203593 | 0.179641 | 0.209581 | 0.233533 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004902 | 0.153527 | 723 | 14 | 104 | 51.642857 | 0.813725 | 0 | 0 | 0 | 0 | 0 | 0.31397 | 0.172891 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.181818 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
4292969af06af2d087c04b4282edaf5a3b66f46c | 70 | py | Python | run.py | thayannevls/openface-api | 1c537082e4bdd76eef2fe4fd87157c8d4d3550a4 | [
"Apache-2.0"
] | null | null | null | run.py | thayannevls/openface-api | 1c537082e4bdd76eef2fe4fd87157c8d4d3550a4 | [
"Apache-2.0"
] | 5 | 2018-10-13T17:02:12.000Z | 2018-10-13T17:04:14.000Z | run.py | thayannevls/HeyYou | 1c537082e4bdd76eef2fe4fd87157c8d4d3550a4 | [
"Apache-2.0"
] | null | null | null | from api import app
app.run(
debug = True,
host = '0.0.0.0'
) | 11.666667 | 20 | 0.557143 | 13 | 70 | 3 | 0.692308 | 0.153846 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.285714 | 70 | 6 | 21 | 11.666667 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
42991431e8de4c7a92a952f54385e09dcba3033d | 138 | py | Python | 1/1.py | vezril/ProjectEuler | ca4aeb68262dee0c26ea2c89276c646e8ab050b6 | [
"MIT"
] | null | null | null | 1/1.py | vezril/ProjectEuler | ca4aeb68262dee0c26ea2c89276c646e8ab050b6 | [
"MIT"
] | null | null | null | 1/1.py | vezril/ProjectEuler | ca4aeb68262dee0c26ea2c89276c646e8ab050b6 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
rez = 0
for n in range(1,1000):
if (n % 3 == 0) or (n % 5 == 0):
rez += n
print "Answer is: " + str(rez) | 17.25 | 34 | 0.492754 | 27 | 138 | 2.518519 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103093 | 0.297101 | 138 | 8 | 35 | 17.25 | 0.597938 | 0.144928 | 0 | 0 | 0 | 0 | 0.099099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
42ac5ef089c63d91b6cb491dbf9b8aba8842da45 | 940 | py | Python | wordbag/wordbag.py | whatevery1says/scripts | a0320d322c90235bdb5057c8c61b9b1a230bc19a | [
"MIT"
] | 1 | 2017-09-16T20:09:30.000Z | 2017-09-16T20:09:30.000Z | wordbag/wordbag.py | whatevery1says/scripts | a0320d322c90235bdb5057c8c61b9b1a230bc19a | [
"MIT"
] | null | null | null | wordbag/wordbag.py | whatevery1says/scripts | a0320d322c90235bdb5057c8c61b9b1a230bc19a | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""
wordbag.py
Collections of words from text / files.
jeremydouglass@gmail.com
v1.0 2017-09-16
"""
import os
from string import punctuation
from collections import Counter
from itertools import chain
from cStringIO import StringIO
#----------
class Wordbag:
def __init__(self, file... | 22.926829 | 103 | 0.638298 | 118 | 940 | 5 | 0.474576 | 0.061017 | 0.088136 | 0.061017 | 0.20678 | 0.20678 | 0.20678 | 0 | 0 | 0 | 0 | 0.014045 | 0.242553 | 940 | 40 | 104 | 23.5 | 0.814607 | 0.131915 | 0 | 0 | 0 | 0 | 0.001239 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.15 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
42b0967277ebb1dec389f9a9242b332ec3d7301f | 803 | py | Python | ders-1.py | dogancankilment/learn-python | a3fe4aba63d98810c3906f09085e3885ba720dd0 | [
"Apache-2.0"
] | null | null | null | ders-1.py | dogancankilment/learn-python | a3fe4aba63d98810c3906f09085e3885ba720dd0 | [
"Apache-2.0"
] | null | null | null | ders-1.py | dogancankilment/learn-python | a3fe4aba63d98810c3906f09085e3885ba720dd0 | [
"Apache-2.0"
] | null | null | null | # python
# ekrana yazdirma komutlari
print "dogancankilment"
# utf-8 hata verecektir, python dosyasi icersinde
# python komut satirinda calistirilabilir
print "doğancankilment"
# tirnak ve ozel karakterden kacis
print 'dogancankilment'
print " utopian'dan dogancankilment "
print """ utopian'dan "dogancankilment" """... | 21.702703 | 49 | 0.767123 | 94 | 803 | 6.553191 | 0.489362 | 0.162338 | 0.175325 | 0.194805 | 0.227273 | 0.227273 | 0.227273 | 0.227273 | 0.227273 | 0.227273 | 0 | 0.03193 | 0.141968 | 803 | 36 | 50 | 22.305556 | 0.862119 | 0.323786 | 0 | 0.095238 | 0 | 0 | 0.410882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.52381 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
c409a03ae34d6898051a6b8823be0d362195c00b | 448 | py | Python | data/convert.py | kilaruoleh-def/ModelNet40-C | fb8b8fdb636fb9c47d8766e6f64ac6c1a89e9c05 | [
"BSD-3-Clause"
] | 90 | 2022-01-29T17:14:57.000Z | 2022-03-30T03:28:39.000Z | data/convert.py | kilaruoleh-def/ModelNet40-C | fb8b8fdb636fb9c47d8766e6f64ac6c1a89e9c05 | [
"BSD-3-Clause"
] | 4 | 2022-01-29T17:15:59.000Z | 2022-03-28T22:31:59.000Z | data/convert.py | kilaruoleh-def/ModelNet40-C | fb8b8fdb636fb9c47d8766e6f64ac6c1a89e9c05 | [
"BSD-3-Clause"
] | 4 | 2022-01-28T17:37:44.000Z | 2022-03-17T13:17:57.000Z | import open3d as o3d
def load_mesh(filepath):
return o3d.io.read_triangle_mesh(filepath)
def export_mesh(mesh, filepath):
o3d.io.write_triangle_mesh(filepath, mesh)
def load_pcd(filepath):
return o3d.io.read_point_cloud(filepath)
def export_pcd(pcd, filepath):
o3d.io.write_point_cloud(filepath, ... | 20.363636 | 74 | 0.78125 | 70 | 448 | 4.685714 | 0.342857 | 0.146341 | 0.128049 | 0.115854 | 0.140244 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025575 | 0.127232 | 448 | 21 | 75 | 21.333333 | 0.813299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.454545 | false | 0 | 0.090909 | 0.272727 | 0.818182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c413782b2d7d81312a202d0a33ea59be6f67318e | 467 | py | Python | module/user.py | WilfredShen/ArithmeticProblemGenerator | cb456c02235a0b417ee23d2ce15be44190dcb879 | [
"MIT"
] | null | null | null | module/user.py | WilfredShen/ArithmeticProblemGenerator | cb456c02235a0b417ee23d2ce15be44190dcb879 | [
"MIT"
] | null | null | null | module/user.py | WilfredShen/ArithmeticProblemGenerator | cb456c02235a0b417ee23d2ce15be44190dcb879 | [
"MIT"
] | 1 | 2020-10-19T06:10:03.000Z | 2020-10-19T06:10:03.000Z | class User:
def __init__(self, usertype, username, password):
self.__type = usertype
self.__username = username
self.__password = password
def getUsername(self):
return self.__username
def setType(self, usertype):
self.__type = usertype
def authenticate(se... | 27.470588 | 71 | 0.638116 | 48 | 467 | 5.791667 | 0.333333 | 0.172662 | 0.115108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.284797 | 467 | 17 | 72 | 27.470588 | 0.832335 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0.307692 | 0 | 0.076923 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
c4480f2ce9adcf5439a683fde9ffeddfd0f98798 | 213 | py | Python | hw4/linreg.py | hakuliu/inf552 | 3fc1fbec0ea1692742b76d4fe8bd0f6946eba4f6 | [
"Apache-2.0"
] | 1 | 2018-08-24T00:29:53.000Z | 2018-08-24T00:29:53.000Z | hw4/linreg.py | hakuliu/inf552 | 3fc1fbec0ea1692742b76d4fe8bd0f6946eba4f6 | [
"Apache-2.0"
] | null | null | null | hw4/linreg.py | hakuliu/inf552 | 3fc1fbec0ea1692742b76d4fe8bd0f6946eba4f6 | [
"Apache-2.0"
] | null | null | null | import numpy
def getW(d, y):
dt = numpy.transpose(d)
ddt = numpy.matmul(d,dt)
ddtinv = numpy.linalg.inv(ddt)
result = numpy.matmul(ddtinv, d)
result = numpy.matmul(result, y)
return result | 23.666667 | 36 | 0.643192 | 32 | 213 | 4.28125 | 0.46875 | 0.240876 | 0.248175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225352 | 213 | 9 | 37 | 23.666667 | 0.830303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c46391372e2ab7cb8b6701315810e9d18378a3a4 | 1,522 | py | Python | nhais-adaptor/edifact/outgoing/models/segment.py | tomzo/integration-adaptors | d4f296d3e44475df6f69a78a27fac6ed5b67513b | [
"Apache-2.0"
] | 15 | 2019-08-06T16:08:12.000Z | 2021-05-24T13:14:39.000Z | nhais-adaptor/edifact/outgoing/models/segment.py | tomzo/integration-adaptors | d4f296d3e44475df6f69a78a27fac6ed5b67513b | [
"Apache-2.0"
] | 75 | 2019-04-25T13:59:02.000Z | 2021-09-15T06:05:36.000Z | nhais-adaptor/edifact/outgoing/models/segment.py | tomzo/integration-adaptors | d4f296d3e44475df6f69a78a27fac6ed5b67513b | [
"Apache-2.0"
] | 7 | 2019-11-12T15:26:34.000Z | 2021-04-11T07:23:56.000Z | class Segment(object):
"""
A segment is the basic building block of an edifact message.
It represent each line in the edifact message that will be generated.
example: NAD+GP+4826940,281:900'
"""
TERMINATOR = "'"
def __init__(self, key, value):
"""
A segment is a ... | 30.44 | 87 | 0.603154 | 178 | 1,522 | 5.044944 | 0.331461 | 0.109131 | 0.053452 | 0.035635 | 0.048998 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012405 | 0.311432 | 1,522 | 49 | 88 | 31.061224 | 0.844466 | 0.416557 | 0 | 0.117647 | 1 | 0 | 0.065089 | 0.063609 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0 | 0 | 0.588235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c48363a29d6218f556d2bd7212cb293b38d9463d | 2,274 | py | Python | electrumsv/logs.py | KeyvanJS/electrumsv | 0d60310422e3b108389517d74fcddc85b8fc96cc | [
"MIT"
] | null | null | null | electrumsv/logs.py | KeyvanJS/electrumsv | 0d60310422e3b108389517d74fcddc85b8fc96cc | [
"MIT"
] | null | null | null | electrumsv/logs.py | KeyvanJS/electrumsv | 0d60310422e3b108389517d74fcddc85b8fc96cc | [
"MIT"
] | null | null | null | # ElectrumSV - lightweight Bitcoin SV client
# Copyright (C) 2019 The ElectrumSV Developers
#
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation files
# (the "Software"), to deal in the Software without restriction,
# including without limitati... | 34.984615 | 87 | 0.715919 | 310 | 2,274 | 5.203226 | 0.493548 | 0.054557 | 0.016119 | 0.026038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002208 | 0.203166 | 2,274 | 64 | 88 | 35.53125 | 0.887969 | 0.580475 | 0 | 0 | 0 | 0 | 0.0131 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.041667 | 0.125 | 0.541667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
c488dc5f3ea8e925cbf72575f4c02e0821f78187 | 383 | py | Python | connect/decorators.py | yassine-youcefi/Quiz | 059ac637c0cfdac77943a2d2b7f843272a9a6f59 | [
"MIT"
] | 1 | 2021-11-09T16:30:28.000Z | 2021-11-09T16:30:28.000Z | connect/decorators.py | yassine-youcefi/Quiz | 059ac637c0cfdac77943a2d2b7f843272a9a6f59 | [
"MIT"
] | null | null | null | connect/decorators.py | yassine-youcefi/Quiz | 059ac637c0cfdac77943a2d2b7f843272a9a6f59 | [
"MIT"
] | null | null | null | from django.http import HttpRequest, HttpResponse
from django.shortcuts import redirect
# def unauthenticated_user(view_func):
# def wrapper_func(request,*args, **kwargs):
# if request.user.is_authenticated:
# return redirect('main:index')
# else:
# return view_func(request... | 25.533333 | 59 | 0.642298 | 41 | 383 | 5.853659 | 0.585366 | 0.083333 | 0.125 | 0.175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263708 | 383 | 15 | 60 | 25.533333 | 0.851064 | 0.686684 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
670f18a942381795c828004789f82dd763b25483 | 15,795 | py | Python | pgmpy/tests/test_models/test_DynamicBayesianNetwork.py | predictive-analytics-lab/pgmpy | 6c2a31641adc72793acd130d007190fdb1632271 | [
"MIT"
] | null | null | null | pgmpy/tests/test_models/test_DynamicBayesianNetwork.py | predictive-analytics-lab/pgmpy | 6c2a31641adc72793acd130d007190fdb1632271 | [
"MIT"
] | null | null | null | pgmpy/tests/test_models/test_DynamicBayesianNetwork.py | predictive-analytics-lab/pgmpy | 6c2a31641adc72793acd130d007190fdb1632271 | [
"MIT"
] | null | null | null | import unittest
import pgmpy.tests.help_functions as hf
from pgmpy.models import DynamicBayesianNetwork
from pgmpy.factors.discrete import TabularCPD
import numpy as np
class TestDynamicBayesianNetworkCreation(unittest.TestCase):
def setUp(self):
self.network = DynamicBayesianNetwork()
def test_add_... | 39.389027 | 100 | 0.519405 | 2,247 | 15,795 | 3.478416 | 0.050289 | 0.115404 | 0.014969 | 0.095957 | 0.845445 | 0.81346 | 0.760235 | 0.69281 | 0.591607 | 0.531858 | 0 | 0.058763 | 0.264134 | 15,795 | 400 | 101 | 39.4875 | 0.613697 | 0 | 0 | 0.432836 | 0 | 0 | 0.015575 | 0 | 0 | 0 | 0 | 0 | 0.197015 | 1 | 0.089552 | false | 0 | 0.014925 | 0 | 0.113433 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6728beadd33acbbd66ae6aa0f29b74746770b51c | 296 | py | Python | backpack/extensions/firstorder/batch_grad/conv1d.py | jabader97/backpack | 089daafa0d611e13901fd7ecf8a0d708ce7a5928 | [
"MIT"
] | 395 | 2019-10-04T09:37:52.000Z | 2022-03-29T18:00:56.000Z | backpack/extensions/firstorder/batch_grad/conv1d.py | jabader97/backpack | 089daafa0d611e13901fd7ecf8a0d708ce7a5928 | [
"MIT"
] | 78 | 2019-10-11T18:56:43.000Z | 2022-03-23T01:49:54.000Z | backpack/extensions/firstorder/batch_grad/conv1d.py | jabader97/backpack | 089daafa0d611e13901fd7ecf8a0d708ce7a5928 | [
"MIT"
] | 50 | 2019-10-03T16:31:10.000Z | 2022-03-15T19:36:14.000Z | from backpack.core.derivatives.conv1d import Conv1DDerivatives
from backpack.extensions.firstorder.batch_grad.batch_grad_base import BatchGradBase
class BatchGradConv1d(BatchGradBase):
def __init__(self):
super().__init__(derivatives=Conv1DDerivatives(), params=["bias", "weight"])
| 37 | 84 | 0.800676 | 31 | 296 | 7.290323 | 0.709677 | 0.106195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014981 | 0.097973 | 296 | 7 | 85 | 42.285714 | 0.831461 | 0 | 0 | 0 | 0 | 0 | 0.033784 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
67381ed9f522d6fb4f867fa5339f3702990bd847 | 177 | py | Python | pacote_download/PythonExercicios/ex015.py | leandrotune/Python | 2077f9854ed107975de76bfecf99c27a80e38863 | [
"MIT"
] | null | null | null | pacote_download/PythonExercicios/ex015.py | leandrotune/Python | 2077f9854ed107975de76bfecf99c27a80e38863 | [
"MIT"
] | null | null | null | pacote_download/PythonExercicios/ex015.py | leandrotune/Python | 2077f9854ed107975de76bfecf99c27a80e38863 | [
"MIT"
] | null | null | null | dias = float(input('Quantos dias alugado ? '))
rodado =float(input('Quantos km rodados ?'))
carro = (60*dias) + (0.15*rodado)
print('O total á pagar é de {}'.format(carro))
| 22.125 | 47 | 0.649718 | 27 | 177 | 4.259259 | 0.740741 | 0.173913 | 0.295652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033557 | 0.158192 | 177 | 7 | 48 | 25.285714 | 0.738255 | 0 | 0 | 0 | 0 | 0 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
67418b0fe74361ad082ff23a2e29b38c9b3d0e81 | 231 | py | Python | __init__.py | karttur/geoimagine03-landsat | 7f22452b95b1c38f2c62b1ee69b30b09763e2849 | [
"BSD-3-Clause"
] | null | null | null | __init__.py | karttur/geoimagine03-landsat | 7f22452b95b1c38f2c62b1ee69b30b09763e2849 | [
"BSD-3-Clause"
] | null | null | null | __init__.py | karttur/geoimagine03-landsat | 7f22452b95b1c38f2c62b1ee69b30b09763e2849 | [
"BSD-3-Clause"
] | null | null | null | """
Created 22 Jan 2021
Last updated 12 Feb 2021
Karttur Landsat specific processing
Author
______
Thomas Gumbricht
"""
from .version import __version__, VERSION
from .landsat import ProcessLandsat
__all__ = ['ProcessLandsat'] | 14.4375 | 41 | 0.787879 | 27 | 231 | 6.222222 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 0.151515 | 231 | 16 | 42 | 14.4375 | 0.795918 | 0.489177 | 0 | 0 | 0 | 0 | 0.126126 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
675df8e9f10d47be3aa8c7eaf64b80943ff4573d | 207 | py | Python | examples/bucket-py/__main__.py | la3mmchen/pulumi-gcp | 0e3c6fecd062dff78a4fd95b7ebd5ce4492ad1ea | [
"ECL-2.0",
"Apache-2.0"
] | 121 | 2018-06-18T19:16:42.000Z | 2022-03-31T06:06:48.000Z | examples/bucket-py/__main__.py | la3mmchen/pulumi-gcp | 0e3c6fecd062dff78a4fd95b7ebd5ce4492ad1ea | [
"ECL-2.0",
"Apache-2.0"
] | 492 | 2018-06-22T19:41:03.000Z | 2022-03-31T15:33:53.000Z | examples/bucket-py/__main__.py | la3mmchen/pulumi-gcp | 0e3c6fecd062dff78a4fd95b7ebd5ce4492ad1ea | [
"ECL-2.0",
"Apache-2.0"
] | 43 | 2018-06-19T01:43:13.000Z | 2022-03-23T22:43:37.000Z | # Copyright 2016-2018, Pulumi Corporation. All rights reserved.
import pulumi
from pulumi_gcp import storage
bucket = storage.Bucket('bucket-py', location="US")
pulumi.export('bucket_name', bucket.name)
| 23 | 64 | 0.772947 | 28 | 207 | 5.642857 | 0.642857 | 0.164557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043716 | 0.115942 | 207 | 8 | 65 | 25.875 | 0.819672 | 0.299517 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
676121c3fd571765ce13ad4fb510b9ab52f3fc43 | 583 | py | Python | exer_21_decorator_time.py | structlooper/Learning_exercises | 531b00cb1fcd1c7c1aea05854c685a51566942bf | [
"MIT"
] | null | null | null | exer_21_decorator_time.py | structlooper/Learning_exercises | 531b00cb1fcd1c7c1aea05854c685a51566942bf | [
"MIT"
] | null | null | null | exer_21_decorator_time.py | structlooper/Learning_exercises | 531b00cb1fcd1c7c1aea05854c685a51566942bf | [
"MIT"
] | null | null | null | from functools import wraps
import time
def time_taken(any_function):
@wraps(any_function)
def warpper_function(*args,**kwags):
t1 = time.time()
returned_value = any_function(*args,**kwags)
t2 = time.time()
print(f"time taken by {any_function.__name__} function to run is ... | 26.5 | 87 | 0.658662 | 85 | 583 | 4.317647 | 0.458824 | 0.098093 | 0.092643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03118 | 0.229846 | 583 | 21 | 88 | 27.761905 | 0.786192 | 0 | 0 | 0.105263 | 0 | 0 | 0.120996 | 0.040925 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.105263 | 0.105263 | 0.526316 | 0.157895 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
678331b9484a85fcfb35a4ffd4ba2bf992c0fd69 | 371 | py | Python | src/zvt/recorders/em/quotes/__init__.py | vishalbelsare/zvt | d55051147274c0a4157f08ec60908c781a323c8f | [
"MIT"
] | 2,032 | 2019-04-16T14:10:32.000Z | 2022-03-31T12:40:13.000Z | src/zvt/recorders/em/quotes/__init__.py | vishalbelsare/zvt | d55051147274c0a4157f08ec60908c781a323c8f | [
"MIT"
] | 162 | 2019-05-07T09:57:46.000Z | 2022-03-25T16:23:08.000Z | src/zvt/recorders/em/quotes/__init__.py | vishalbelsare/zvt | d55051147274c0a4157f08ec60908c781a323c8f | [
"MIT"
] | 755 | 2019-04-30T10:25:16.000Z | 2022-03-29T17:50:49.000Z | # -*- coding: utf-8 -*-
# the __all__ is generated
__all__ = []
# __init__.py structure:
# common code of the package
# export interface in __all__ which contains __all__ of its sub modules
# import all from submodule em_kdata_recorder
from .em_kdata_recorder import *
from .em_kdata_recorder import __all__ as _em_kda... | 26.5 | 71 | 0.784367 | 55 | 371 | 4.527273 | 0.527273 | 0.140562 | 0.301205 | 0.15261 | 0.200803 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003175 | 0.150943 | 371 | 13 | 72 | 28.538462 | 0.787302 | 0.566038 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
6785568ba81cacfa29cf059e32c54a06c3bcaebe | 196 | py | Python | Curso Python/Mundo 1/Modulo2/Desafios/Desafios 2/des008.py | catabimbas/Curso-Python | 72549952db77fa9b0ea3746b83f94592e3fdeb30 | [
"MIT"
] | null | null | null | Curso Python/Mundo 1/Modulo2/Desafios/Desafios 2/des008.py | catabimbas/Curso-Python | 72549952db77fa9b0ea3746b83f94592e3fdeb30 | [
"MIT"
] | null | null | null | Curso Python/Mundo 1/Modulo2/Desafios/Desafios 2/des008.py | catabimbas/Curso-Python | 72549952db77fa9b0ea3746b83f94592e3fdeb30 | [
"MIT"
] | null | null | null | metro = int(input('Digite um valor: '))
centimetro = metro * 100
milimetros = centimetro * 10
print('{} metros tem {} centímetros e {} metros tem {}'.format(metro, centimetro, metro, milimetros))
| 39.2 | 101 | 0.69898 | 24 | 196 | 5.708333 | 0.666667 | 0.218978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02994 | 0.147959 | 196 | 4 | 102 | 49 | 0.790419 | 0 | 0 | 0 | 0 | 0 | 0.326531 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
6795819296a51854dfa785b52995298eb51aa320 | 710 | py | Python | app.py | Sigurdur01/Midannarverk | 2136ca7348fbd57fc510aa5a0f56e972a445db7d | [
"MIT"
] | null | null | null | app.py | Sigurdur01/Midannarverk | 2136ca7348fbd57fc510aa5a0f56e972a445db7d | [
"MIT"
] | null | null | null | app.py | Sigurdur01/Midannarverk | 2136ca7348fbd57fc510aa5a0f56e972a445db7d | [
"MIT"
] | null | null | null | from bottle import *
import urllib.request, json, os
with urllib.request.urlopen("http://apis.is/petrol") as url:
data = json.loads(url.read().decode())
@route("/")
def index():
return template("index",data=data)
@route("/company/<company>")
def index(company):
return template("company.tpl",d... | 24.482759 | 71 | 0.647887 | 104 | 710 | 4.413462 | 0.557692 | 0.052288 | 0.013072 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021559 | 0.150704 | 710 | 28 | 72 | 25.357143 | 0.739635 | 0.030986 | 0 | 0 | 0 | 0 | 0.264036 | 0.033384 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.1 | 0.25 | 0.55 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
679cd03e709497b9f8fe6ae9a6740504d789bb34 | 2,605 | py | Python | tests/split-classes/run.py | dariobig/pyangbind | db0808f719bb963dac85606fddd65a1930a84aef | [
"Apache-2.0"
] | 1 | 2016-11-10T05:07:53.000Z | 2016-11-10T05:07:53.000Z | tests/split-classes/run.py | dariobig/pyangbind | db0808f719bb963dac85606fddd65a1930a84aef | [
"Apache-2.0"
] | null | null | null | tests/split-classes/run.py | dariobig/pyangbind | db0808f719bb963dac85606fddd65a1930a84aef | [
"Apache-2.0"
] | 3 | 2016-11-01T23:51:35.000Z | 2018-05-23T10:09:08.000Z | #!/usr/bin/env python
import os
import sys
import getopt
TESTNAME = "split-classes"
# generate bindings in this folder
def main():
try:
opts, args = getopt.getopt(sys.argv[1:], "k", ["keepfiles"])
except getopt.GetoptError as e:
print str(e)
sys.exit(127)
keepfiles = False
for o, a in opts:
... | 30.647059 | 79 | 0.657582 | 356 | 2,605 | 4.688202 | 0.311798 | 0.038346 | 0.057519 | 0.044937 | 0.305572 | 0.262433 | 0.22888 | 0.152187 | 0.065908 | 0.065908 | 0 | 0.001944 | 0.209981 | 2,605 | 84 | 80 | 31.011905 | 0.809038 | 0.020345 | 0 | 0.171875 | 1 | 0 | 0.280784 | 0.045882 | 0 | 0 | 0 | 0 | 0.109375 | 0 | null | null | 0.125 | 0.0625 | null | null | 0.015625 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
67c843c0ad65ea2dd66c2289c85ffc06d44afc7d | 232 | py | Python | hub/forms.py | AtakanAytar/Django-Restaurant-app | 30d7e1e4ceaec049858a4199d86783aa214edc16 | [
"MIT"
] | null | null | null | hub/forms.py | AtakanAytar/Django-Restaurant-app | 30d7e1e4ceaec049858a4199d86783aa214edc16 | [
"MIT"
] | null | null | null | hub/forms.py | AtakanAytar/Django-Restaurant-app | 30d7e1e4ceaec049858a4199d86783aa214edc16 | [
"MIT"
] | null | null | null | from django import forms
from .models import *
class HotelForm(forms.ModelForm):
class Meta:
model = menu_item
fields = ['title', 'food_item_name',"details","price","restaurant_id","branch_id","menu_pic"]
| 23.2 | 101 | 0.668103 | 29 | 232 | 5.137931 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198276 | 232 | 9 | 102 | 25.777778 | 0.801075 | 0 | 0 | 0 | 0 | 0 | 0.264069 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
67ce31b1d077f6cc12201f35370f193abab1971f | 417 | py | Python | src/huaytools/utils/excel_helper/__init__.py | imhuay/studies-gitbook | 69a31c20c91d131d0fafce0622f4035b9b95e93a | [
"MIT"
] | 100 | 2021-10-13T01:22:27.000Z | 2022-03-31T09:52:49.000Z | src/huaytools/utils/excel_helper/__init__.py | imhuay/studies-gitbook | 69a31c20c91d131d0fafce0622f4035b9b95e93a | [
"MIT"
] | null | null | null | src/huaytools/utils/excel_helper/__init__.py | imhuay/studies-gitbook | 69a31c20c91d131d0fafce0622f4035b9b95e93a | [
"MIT"
] | 27 | 2021-11-01T01:05:09.000Z | 2022-03-31T03:32:01.000Z | #!/usr/bin/env python
# -*- coding:utf-8 -*-
"""
Time: 2022-03-04 11:39 上午
Author: huayang
Subject:
"""
import os # noqa
import doctest # noqa
from ._basic import *
# from collections import defaultdict
# from itertools import islice
# from pathlib import Path
# from typing import *
# from tqdm import tqdm
d... | 12.636364 | 37 | 0.635492 | 53 | 417 | 4.792453 | 0.698113 | 0.07874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039877 | 0.218225 | 417 | 32 | 38 | 13.03125 | 0.739264 | 0.568345 | 0 | 0 | 0 | 0 | 0.05298 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.428571 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
67ddd75970c6210d7760aff389f00b8e430178a0 | 1,552 | py | Python | src/main/python/programmingtheiot/cda/sim/PressureSensorSimTask.py | Taowyoo/-constrained-device-app | c858f786dfa7fc82006068d405a04dc21f2fcda5 | [
"MIT"
] | null | null | null | src/main/python/programmingtheiot/cda/sim/PressureSensorSimTask.py | Taowyoo/-constrained-device-app | c858f786dfa7fc82006068d405a04dc21f2fcda5 | [
"MIT"
] | 2 | 2020-10-31T06:33:20.000Z | 2020-11-05T06:36:44.000Z | src/main/python/programmingtheiot/cda/sim/PressureSensorSimTask.py | Taowyoo/-constrained-device-app | c858f786dfa7fc82006068d405a04dc21f2fcda5 | [
"MIT"
] | 1 | 2020-12-13T03:41:57.000Z | 2020-12-13T03:41:57.000Z | #####
#
# This class is part of the Programming the Internet of Things project.
#
# It is provided as a simple shell to guide the student and assist with
# implementation for the Programming the Internet of Things exercises,
# and designed to be modified by the student as needed.
#
import logging
from programmingth... | 40.842105 | 121 | 0.761598 | 166 | 1,552 | 7.006024 | 0.457831 | 0.072227 | 0.029235 | 0.042992 | 0.153052 | 0.153052 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186211 | 1,552 | 37 | 122 | 41.945946 | 0.920823 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0.083333 | 0.416667 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
67f9c71b696a5b82738597138ab420840ad3f6e7 | 373 | py | Python | modules/WorkerFunctions.py | PrizrakPS/discord | c53ecbace49ac59026ce33e08bc1a2e7541a11fb | [
"MIT"
] | 1 | 2021-07-02T16:18:19.000Z | 2021-07-02T16:18:19.000Z | modules/WorkerFunctions.py | PrizrakPS/discord | c53ecbace49ac59026ce33e08bc1a2e7541a11fb | [
"MIT"
] | null | null | null | modules/WorkerFunctions.py | PrizrakPS/discord | c53ecbace49ac59026ce33e08bc1a2e7541a11fb | [
"MIT"
] | 4 | 2020-05-12T12:47:34.000Z | 2022-01-02T16:16:39.000Z | # -*- coding: utf-8 -*-
import re
from classes.SourceQuery import SourceQuery
def is_valid_ip(ip: str):
return re.match(r'^((\d{1,2}|1\d{2}|2[0-4]\d|25[0-5])\.){3}(\d{1,2}|1\d{2}|2[0-4]\d|25[0-5])$', ip);
def is_alive(ip: str, port=27015, timeout=2.0):
lServer=SourceQuery(addr=ip, port=port, timeout=timeout).getIn... | 33.909091 | 101 | 0.659517 | 76 | 373 | 3.197368 | 0.473684 | 0.024691 | 0.024691 | 0.032922 | 0.115226 | 0.115226 | 0.115226 | 0.115226 | 0.115226 | 0.115226 | 0 | 0.092814 | 0.104558 | 373 | 11 | 102 | 33.909091 | 0.634731 | 0.0563 | 0 | 0 | 0 | 0.142857 | 0.213675 | 0.213675 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
db067d96c930e355617f71b6ba6f76fed66de83b | 100 | py | Python | docker/sample-data/add_vat_udf.py | sixeyed/hive-succinctly | 62fff2eaecae5b20fa3090e482434500d507ee68 | [
"MIT"
] | 1 | 2017-03-01T21:50:49.000Z | 2017-03-01T21:50:49.000Z | docker/sample-data/add_vat_udf.py | sixeyed/hive-succinctly | 62fff2eaecae5b20fa3090e482434500d507ee68 | [
"MIT"
] | null | null | null | docker/sample-data/add_vat_udf.py | sixeyed/hive-succinctly | 62fff2eaecae5b20fa3090e482434500d507ee68 | [
"MIT"
] | null | null | null | #!/usr/bin/python
import sys
for line in sys.stdin:
line = line.strip()
print int(line) * 1.2 | 16.666667 | 24 | 0.65 | 18 | 100 | 3.611111 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.2 | 100 | 6 | 24 | 16.666667 | 0.7875 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.25 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
db0be9326c14924d4f849472483db7a56af4b582 | 1,087 | py | Python | pyuavcan/dsdl/_serialized_representation/__init__.py | subakio/pyuavcan | 4ec55a80f8fd3dd21a3d08102837c43d832b71a3 | [
"MIT"
] | 89 | 2015-06-10T11:42:06.000Z | 2022-03-28T08:34:06.000Z | pyuavcan/dsdl/_serialized_representation/__init__.py | subakio/pyuavcan | 4ec55a80f8fd3dd21a3d08102837c43d832b71a3 | [
"MIT"
] | 195 | 2015-06-10T12:02:44.000Z | 2022-03-28T15:30:50.000Z | pyuavcan/dsdl/_serialized_representation/__init__.py | subakio/pyuavcan | 4ec55a80f8fd3dd21a3d08102837c43d832b71a3 | [
"MIT"
] | 96 | 2016-02-29T07:47:15.000Z | 2022-03-19T06:05:44.000Z | # Copyright (c) 2019 UAVCAN Consortium
# This software is distributed under the terms of the MIT License.
# Author: Pavel Kirienko <pavel@uavcan.org>
import sys
from ._serializer import Serializer as Serializer
from ._deserializer import Deserializer as Deserializer
if sys.byteorder != "little": # pragma: no cover
... | 57.210526 | 119 | 0.74977 | 147 | 1,087 | 5.530612 | 0.659864 | 0.03321 | 0.04428 | 0.051661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004592 | 0.198712 | 1,087 | 18 | 120 | 60.388889 | 0.928817 | 0.147194 | 0 | 0 | 0 | 0.153846 | 0.723427 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.076923 | 0.230769 | 0 | 0.230769 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
db11a4b04289d3efd24a355879bdd2d9dc8e3010 | 452 | py | Python | examples/insert_design.py | mradway/hycohanz | 717f1c84a8a6b555b4327b868aa5968a9a717a74 | [
"BSD-2-Clause"
] | 76 | 2015-07-13T19:56:25.000Z | 2022-03-29T08:53:56.000Z | examples/insert_design.py | zxzion/hycohanz | 717f1c84a8a6b555b4327b868aa5968a9a717a74 | [
"BSD-2-Clause"
] | 2 | 2016-09-12T14:13:17.000Z | 2020-03-23T17:57:30.000Z | examples/insert_design.py | zxzion/hycohanz | 717f1c84a8a6b555b4327b868aa5968a9a717a74 | [
"BSD-2-Clause"
] | 44 | 2015-01-10T12:43:37.000Z | 2022-03-27T14:13:00.000Z | import hycohanz as hfss
raw_input('Press "Enter" to connect to HFSS.>')
with hfss.App() as App:
raw_input('Press "Enter" to create a new project.>')
with hfss.NewProject(App.oDesktop) as P:
raw_input('Press "Enter" to insert a new DrivenModal design named HFSSDesign1.>')
wi... | 28.25 | 89 | 0.634956 | 61 | 452 | 4.639344 | 0.459016 | 0.113074 | 0.183746 | 0.254417 | 0.282686 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0059 | 0.25 | 452 | 15 | 90 | 30.133333 | 0.828909 | 0 | 0 | 0 | 0 | 0 | 0.422566 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e1e07158e6b0e21fa77f7678d6436bd3664e508c | 425 | py | Python | async_demos/async_demos/app_auth/signals.py | Minkov/python-web-framework-demos- | 30f39de0b4344e1b7e5d4cf96f6d6bbbfe867305 | [
"MIT"
] | 2 | 2022-03-06T11:56:35.000Z | 2022-03-20T09:31:45.000Z | async_demos/async_demos/app_auth/signals.py | Minkov/python-web-framework-demos- | 30f39de0b4344e1b7e5d4cf96f6d6bbbfe867305 | [
"MIT"
] | null | null | null | async_demos/async_demos/app_auth/signals.py | Minkov/python-web-framework-demos- | 30f39de0b4344e1b7e5d4cf96f6d6bbbfe867305 | [
"MIT"
] | 4 | 2022-03-17T18:05:19.000Z | 2022-03-22T16:38:11.000Z | from django.contrib.auth import get_user_model
from django.db.models.signals import post_save
from django.dispatch import receiver
from async_demos.app_auth.tasks import send_successful_registration_email
UserModel = get_user_model()
@receiver(post_save, sender=UserModel)
def user_created(instance, created, *args, ... | 26.5625 | 73 | 0.807059 | 59 | 425 | 5.559322 | 0.59322 | 0.091463 | 0.073171 | 0.189024 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122353 | 425 | 15 | 74 | 28.333333 | 0.879357 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
e1e37536b2782f552f4448feba152eaea9a49aa3 | 97 | py | Python | huformation/urls.py | roharon/HUFormation-kakaoi | 1b8ba7109c2dd4a7af7f8624681f68272fa57ab4 | [
"MIT"
] | null | null | null | huformation/urls.py | roharon/HUFormation-kakaoi | 1b8ba7109c2dd4a7af7f8624681f68272fa57ab4 | [
"MIT"
] | 2 | 2019-10-21T18:55:13.000Z | 2019-12-25T07:52:46.000Z | huformation/urls.py | roharon/HUFormation-kakaoi | 1b8ba7109c2dd4a7af7f8624681f68272fa57ab4 | [
"MIT"
] | null | null | null | from django.urls import path
import views
urlpatterns = [
path('^keyboard/',views.keyboard)
] | 19.4 | 37 | 0.731959 | 12 | 97 | 5.916667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14433 | 97 | 5 | 38 | 19.4 | 0.855422 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e1e618ab580567ce516f9bb3b21bcce2420cf6ee | 270 | py | Python | bci_learning_studio/qt/sample_serialization.py | hellomoto-ai/bci-learning-studio | f37256bd0e2d85590ff258f14d70f09afcd9609f | [
"MIT"
] | null | null | null | bci_learning_studio/qt/sample_serialization.py | hellomoto-ai/bci-learning-studio | f37256bd0e2d85590ff258f14d70f09afcd9609f | [
"MIT"
] | 13 | 2018-11-28T05:00:00.000Z | 2019-01-07T04:06:37.000Z | bci_learning_studio/qt/sample_serialization.py | hellomoto-ai/bci-learning-studio | f37256bd0e2d85590ff258f14d70f09afcd9609f | [
"MIT"
] | null | null | null | import umsgpack
class SampleSerialization:
def __init__(self, path):
super().__init__()
self._fileobj = open(path, mode='bw')
def save(self, data):
umsgpack.dump(data, self._fileobj)
def close(self):
self._fileobj.close()
| 19.285714 | 45 | 0.622222 | 31 | 270 | 5.064516 | 0.548387 | 0.210191 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251852 | 270 | 13 | 46 | 20.769231 | 0.777228 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
c01366f5cbbb2eb5cbdf781c8026b28ce0f51d11 | 107 | py | Python | twitter_collector/credentials.py | bananajoe182/tweet-collector | 58b04fc1a5e43208eb42998f11bc9e1887259e2c | [
"MIT"
] | null | null | null | twitter_collector/credentials.py | bananajoe182/tweet-collector | 58b04fc1a5e43208eb42998f11bc9e1887259e2c | [
"MIT"
] | null | null | null | twitter_collector/credentials.py | bananajoe182/tweet-collector | 58b04fc1a5e43208eb42998f11bc9e1887259e2c | [
"MIT"
] | null | null | null | CONSUMER_API_KEY = ''
CONSUMER_API_SECRET = ''
ACCESS_TOKEN = ''
ACCESS_TOKEN_SECRET = ''
postgres_key = '' | 21.4 | 24 | 0.728972 | 13 | 107 | 5.384615 | 0.538462 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130841 | 107 | 5 | 25 | 21.4 | 0.752688 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c01d8a3aa7a558aeac713f84232e134a99544821 | 52 | py | Python | __init__.py | Yepikae/fee | 36f885ffc718aa92eff97020e315769aaaaeed55 | [
"MIT"
] | 1 | 2020-04-19T16:49:09.000Z | 2020-04-19T16:49:09.000Z | __init__.py | Yepikae/fee | 36f885ffc718aa92eff97020e315769aaaaeed55 | [
"MIT"
] | null | null | null | __init__.py | Yepikae/fee | 36f885ffc718aa92eff97020e315769aaaaeed55 | [
"MIT"
] | null | null | null | """Todo."""
__all__ = ["landmarks", "visualizer"]
| 10.4 | 37 | 0.576923 | 4 | 52 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 52 | 4 | 38 | 13 | 0.577778 | 0.096154 | 0 | 0 | 0 | 0 | 0.463415 | 0 | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c03ffb995d5a4430700a7f2a59dff4e4b8055982 | 490 | py | Python | Dataset/Leetcode/train/56/273.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/train/56/273.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | Dataset/Leetcode/train/56/273.py | kkcookies99/UAST | fff81885aa07901786141a71e5600a08d7cb4868 | [
"MIT"
] | null | null | null | class Solution:
def XXX(self, intervals: List[List[int]]) -> List[List[int]]:
intervals.sort()
l=[]
for i in range(len(intervals)):
if len(l)==0:
l.append(intervals[i])
else:
if intervals[i][0]>l[-1][1]:
l.append(in... | 30.625 | 65 | 0.414286 | 64 | 490 | 3.171875 | 0.359375 | 0.246305 | 0.044335 | 0.167488 | 0.344828 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 0.4 | 490 | 15 | 66 | 32.666667 | 0.642857 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c05a3b05351fc64f4717e8bd89a761b025bce547 | 191 | py | Python | chat/urls.py | abhishekkushwaha4u/vitolx-backend | c280bc5095307d854bb050a5b495a9cedc985673 | [
"MIT"
] | 2 | 2021-06-09T15:21:51.000Z | 2021-06-09T15:26:31.000Z | chat/urls.py | Shounak-bhattacharya/vitolx-backend | c280bc5095307d854bb050a5b495a9cedc985673 | [
"MIT"
] | null | null | null | chat/urls.py | Shounak-bhattacharya/vitolx-backend | c280bc5095307d854bb050a5b495a9cedc985673 | [
"MIT"
] | 1 | 2021-06-10T05:26:47.000Z | 2021-06-10T05:26:47.000Z | from django.urls import path
from chat import views
urlpatterns = [
path('sendMessage/', views.MessageCreateView.as_view()),
path('updateChat/', views.GetUnreadChatView.as_view()),
] | 27.285714 | 60 | 0.73822 | 22 | 191 | 6.318182 | 0.636364 | 0.086331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125654 | 191 | 7 | 61 | 27.285714 | 0.832335 | 0 | 0 | 0 | 0 | 0 | 0.119792 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c060cf7f4201a74850dd4ab0664cbce101b095d1 | 94 | py | Python | test/data/synerr_1/Makefile.py | ActiveState/mk | 2d0afd81ce4e8a3f39885cae5a50ded7bece7f76 | [
"MIT"
] | 2 | 2015-12-21T22:35:16.000Z | 2017-08-29T14:47:38.000Z | test/data/synerr_1/Makefile.py | ActiveState/mk | 2d0afd81ce4e8a3f39885cae5a50ded7bece7f76 | [
"MIT"
] | 1 | 2020-05-14T12:59:01.000Z | 2020-12-11T18:34:07.000Z | test/data/synerr_1/Makefile.py | ActiveState/mk | 2d0afd81ce4e8a3f39885cae5a50ded7bece7f76 | [
"MIT"
] | null | null | null | from mklib import Task
class foo(Task):
"do some foo"
default = True
deps = "b"
| 11.75 | 22 | 0.595745 | 14 | 94 | 4 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.308511 | 94 | 7 | 23 | 13.428571 | 0.861538 | 0.117021 | 0 | 0 | 0 | 0 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 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 | 0 | 0 | 1 | 0 | 0 | 3 |
c061d049db34d27b874b0c6e6a2c664c81d2a700 | 2,786 | py | Python | dataset_utils.py | Wuchongying/constant_velocity_pedestrian_motion | fe6af8fe70ddb3d4c2a4bfd66dfddde58e1259f5 | [
"MIT"
] | 1 | 2019-07-18T01:46:45.000Z | 2019-07-18T01:46:45.000Z | dataset_utils.py | Wuchongying/constant_velocity_pedestrian_motion | fe6af8fe70ddb3d4c2a4bfd66dfddde58e1259f5 | [
"MIT"
] | null | null | null | dataset_utils.py | Wuchongying/constant_velocity_pedestrian_motion | fe6af8fe70ddb3d4c2a4bfd66dfddde58e1259f5 | [
"MIT"
] | 1 | 2019-12-13T04:27:31.000Z | 2019-12-13T04:27:31.000Z | import json
class DetectedObject:
def __init__(self, obj_id, position):
self.id = obj_id
self.position = position
def from_json(obj_json):
return DetectedObject(obj_json['id'], obj_json['position'])
class Detection:
def __init__(self, timestamp, size, object_list):
... | 29.020833 | 143 | 0.648959 | 333 | 2,786 | 5.135135 | 0.198198 | 0.032164 | 0.026316 | 0.024561 | 0.182456 | 0.135088 | 0.094737 | 0.049123 | 0.049123 | 0.049123 | 0 | 0.001471 | 0.267767 | 2,786 | 95 | 144 | 29.326316 | 0.836765 | 0.06066 | 0 | 0.138462 | 0 | 0 | 0.013153 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.246154 | false | 0 | 0.015385 | 0.123077 | 0.507692 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
221242a31d227047eae941c4bc13f2ca095c6acd | 174 | py | Python | taxonwiki/models/kingdom.py | philiptzou/taxon | 1ae9ec3f6af90a10f1a7471fe16b87e3fc6cc33e | [
"MIT"
] | 4 | 2015-03-21T07:00:15.000Z | 2015-05-05T13:17:52.000Z | taxonwiki/models/kingdom.py | philiptzou/taxon | 1ae9ec3f6af90a10f1a7471fe16b87e3fc6cc33e | [
"MIT"
] | 1 | 2015-05-05T13:09:27.000Z | 2015-05-05T13:09:27.000Z | taxonwiki/models/kingdom.py | philiptzou/taxonwiki | 1ae9ec3f6af90a10f1a7471fe16b87e3fc6cc33e | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from flask import current_app as app
db = app.db
class Kingdom(db.Model):
name = db.Column(db.Unicode(256), primary_key=True, nullable=False)
| 17.4 | 71 | 0.683908 | 28 | 174 | 4.178571 | 0.785714 | 0.08547 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027586 | 0.166667 | 174 | 9 | 72 | 19.333333 | 0.77931 | 0.12069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
222d7fe11a9eeeae59dde51ad576178d20d0f777 | 1,768 | py | Python | main/migrations/0002_dmis_field_report.py | IFRCGo/ifrcgo_react | bfd8572daeb492b0659543be58152626f613a7f4 | [
"MIT"
] | null | null | null | main/migrations/0002_dmis_field_report.py | IFRCGo/ifrcgo_react | bfd8572daeb492b0659543be58152626f613a7f4 | [
"MIT"
] | null | null | null | main/migrations/0002_dmis_field_report.py | IFRCGo/ifrcgo_react | bfd8572daeb492b0659543be58152626f613a7f4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.10.3 on 2016-11-23 12:42
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('main', '0001_initial'),
]
operations = [
migrations.CreateModel(
... | 43.121951 | 114 | 0.585973 | 151 | 1,768 | 6.708609 | 0.476821 | 0.17769 | 0.213228 | 0.284304 | 0.319842 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044358 | 0.27319 | 1,768 | 40 | 115 | 44.2 | 0.743969 | 0.038462 | 0 | 0 | 1 | 0 | 0.174425 | 0.029464 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.060606 | 0 | 0.151515 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
225bf2aee95dd83dc08095060678241359448734 | 288 | py | Python | todo/admin.py | alstn2468/redux-todo-web-backend | 0295d1d2e9396b38d8c8f15cde87778dd18e507a | [
"MIT"
] | 5 | 2020-05-27T23:57:26.000Z | 2020-11-08T12:58:01.000Z | todo/admin.py | alstn2468/Redux_ToDo_Web_Backend | 0295d1d2e9396b38d8c8f15cde87778dd18e507a | [
"MIT"
] | 7 | 2020-06-06T02:10:00.000Z | 2021-06-10T20:17:53.000Z | todo/admin.py | alstn2468/redux-todo-web-backend | 0295d1d2e9396b38d8c8f15cde87778dd18e507a | [
"MIT"
] | 3 | 2020-05-27T23:57:27.000Z | 2020-08-27T04:31:00.000Z | from django.contrib import admin
from todo.models import Todo
@admin.register(Todo)
class TodoAdmin(admin.ModelAdmin):
"""Register model classes inherited from the AbstractItem model"""
list_display = ("id", "user", "text", "is_completed", "created_at", "updated_at")
| 28.8 | 86 | 0.711806 | 36 | 288 | 5.583333 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163194 | 288 | 9 | 87 | 32 | 0.834025 | 0.208333 | 0 | 0 | 0 | 0 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
22612045aae3553b2c4f72c8f409fb7b304ac5a7 | 20 | py | Python | utils/contstants.py | algotr/qirat | 7a1e2117379075726b98657ffaf3e7c897fc3bdc | [
"MIT"
] | 3 | 2016-03-15T08:20:02.000Z | 2016-03-15T08:24:07.000Z | utils/contstants.py | algotr/qirat | 7a1e2117379075726b98657ffaf3e7c897fc3bdc | [
"MIT"
] | null | null | null | utils/contstants.py | algotr/qirat | 7a1e2117379075726b98657ffaf3e7c897fc3bdc | [
"MIT"
] | null | null | null | POSTS_PER_PAGE = 10
| 10 | 19 | 0.8 | 4 | 20 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 0.15 | 20 | 1 | 20 | 20 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
22642a8bfb85489510d463e68b585cc70303726b | 153 | py | Python | application/models.py | skorokithakis/landing-page | d800decb3a36519e2dd86826f660f5fa4f62cf5c | [
"MIT"
] | 4 | 2015-10-16T09:26:45.000Z | 2020-04-13T02:36:55.000Z | application/models.py | skorokithakis/landing-page | d800decb3a36519e2dd86826f660f5fa4f62cf5c | [
"MIT"
] | null | null | null | application/models.py | skorokithakis/landing-page | d800decb3a36519e2dd86826f660f5fa4f62cf5c | [
"MIT"
] | null | null | null | from google.appengine.ext import db
class SignupModel(db.Model):
email = db.EmailProperty()
timestamp = db.DateTimeProperty(auto_now_add=True)
| 21.857143 | 54 | 0.75817 | 20 | 153 | 5.7 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143791 | 153 | 6 | 55 | 25.5 | 0.870229 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
2274b567cdaa2f595d6d1f980d2eb5ab6d142136 | 271 | py | Python | day3/3. Assignment/_solutions/assignment3-q2.py | gcc-a132/BigData | 694a9c4d3478d812c4a73e3931d442320a0bc590 | [
"MIT"
] | null | null | null | day3/3. Assignment/_solutions/assignment3-q2.py | gcc-a132/BigData | 694a9c4d3478d812c4a73e3931d442320a0bc590 | [
"MIT"
] | null | null | null | day3/3. Assignment/_solutions/assignment3-q2.py | gcc-a132/BigData | 694a9c4d3478d812c4a73e3931d442320a0bc590 | [
"MIT"
] | 4 | 2018-06-06T16:09:16.000Z | 2018-06-28T09:28:21.000Z | def answer_two():
# create new row containing abs value of Gold and Gold.1 differences
df['diff'] = abs(df['Gold'] - df['Gold.1'])
# index / name from the element with the largest difference
return df[df['diff'] == df['diff'].max()].index[0]
answer_two() | 38.714286 | 72 | 0.649446 | 43 | 271 | 4.046512 | 0.627907 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013636 | 0.188192 | 271 | 7 | 73 | 38.714286 | 0.777273 | 0.457565 | 0 | 0 | 0 | 0 | 0.151724 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
2278bf79fcf4808dfb95b66b72c1abe6d97843ee | 558 | py | Python | koku/api/migrations/0046_jsonb_sha256_text.py | rubik-ai/koku | 3255d1c217b7b6685cb2e130bf4e025946e76fac | [
"Apache-2.0"
] | 157 | 2018-04-30T16:27:53.000Z | 2022-03-31T08:17:21.000Z | koku/api/migrations/0046_jsonb_sha256_text.py | rubik-ai/koku | 3255d1c217b7b6685cb2e130bf4e025946e76fac | [
"Apache-2.0"
] | 3,250 | 2018-04-26T14:14:25.000Z | 2022-03-31T23:49:15.000Z | koku/api/migrations/0046_jsonb_sha256_text.py | rubik-ai/koku | 3255d1c217b7b6685cb2e130bf4e025946e76fac | [
"Apache-2.0"
] | 65 | 2018-05-10T14:11:50.000Z | 2022-03-18T19:22:58.000Z | # Generated by Django 3.1.10 on 2021-05-14 17:53
import os
import sys
from django.db import migrations
from koku import migration_sql_helpers as msh
def apply_public_function_updates(apps, schema_editor):
path = msh.find_db_functions_dir()
for funcfile in ("jsonb_sha256_text.sql",):
msh.apply_sql_fi... | 26.571429 | 75 | 0.770609 | 80 | 558 | 5.1125 | 0.6625 | 0.05379 | 0.09291 | 0.127139 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047718 | 0.136201 | 558 | 20 | 76 | 27.9 | 0.80083 | 0.082437 | 0 | 0 | 1 | 0 | 0.121569 | 0.115686 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.363636 | 0 | 0.727273 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
97dbc4de28464b8553b8f620930326b29ee9522f | 101 | py | Python | flearn/utils/python_utils.py | Iacob-Alexandru-Andrei/fair_flearn | 7ad96e2271a5bfdfda57812320ee0dc2d00c6cd9 | [
"MIT"
] | 171 | 2019-05-25T09:01:16.000Z | 2022-03-24T18:42:15.000Z | flearn/utils/python_utils.py | Iacob-Alexandru-Andrei/fair_flearn | 7ad96e2271a5bfdfda57812320ee0dc2d00c6cd9 | [
"MIT"
] | 14 | 2019-06-27T17:57:16.000Z | 2022-02-09T23:30:21.000Z | flearn/utils/python_utils.py | Iacob-Alexandru-Andrei/fair_flearn | 7ad96e2271a5bfdfda57812320ee0dc2d00c6cd9 | [
"MIT"
] | 59 | 2019-09-11T05:43:35.000Z | 2022-03-15T18:51:58.000Z | def add_lists_of_lists(l):
'''l: [[a, b],
[c, d]]
return: [a+c, b+d]
'''
| 16.833333 | 26 | 0.366337 | 16 | 101 | 2.125 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.386139 | 101 | 6 | 27 | 16.833333 | 0.548387 | 0.445545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3f150d122275bb356f421bd7dfa1ca81e6354643 | 459 | py | Python | FunctionsWithReturn.py | Snehasis124/PythonTutorials | 133060cd4f2126dbc427a724b831834e90c26fdc | [
"Apache-2.0"
] | null | null | null | FunctionsWithReturn.py | Snehasis124/PythonTutorials | 133060cd4f2126dbc427a724b831834e90c26fdc | [
"Apache-2.0"
] | null | null | null | FunctionsWithReturn.py | Snehasis124/PythonTutorials | 133060cd4f2126dbc427a724b831834e90c26fdc | [
"Apache-2.0"
] | null | null | null | #7TH PROGRAM
#THIS WILL HELP US IN KNOWING THE USE OF "RETURN" STATEMENT
def hello_world():
print("Hello World without return statement")
def hello_world_return():
print("Hello world")
return("Hello world with return statement")
print("Calling hello_world")
hello_world()
print("Calling hello_world_with_r... | 28.6875 | 72 | 0.769063 | 65 | 459 | 5.184615 | 0.369231 | 0.32641 | 0.237389 | 0.136499 | 0.166172 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002506 | 0.130719 | 459 | 16 | 72 | 28.6875 | 0.842105 | 0.150327 | 0 | 0 | 0 | 0 | 0.452442 | 0.059126 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0 | 0 | 0.181818 | 0.454545 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
3f273d92ff048a43017ac5a7afe932b578531f34 | 2,746 | py | Python | Ene-Jun-2021/perez-gutierrez-julio-cesar/Examen Extraordinario/Ejercicio-5/factory.py | jarmarj/DAS_Sistemas | 36c876673e7abae503cc137c3f66585a0e45ed79 | [
"MIT"
] | 41 | 2017-09-26T09:36:32.000Z | 2022-03-19T18:05:25.000Z | Ene-Jun-2021/perez-gutierrez-julio-cesar/Examen Extraordinario/Ejercicio-5/factory.py | jarmarj/DAS_Sistemas | 36c876673e7abae503cc137c3f66585a0e45ed79 | [
"MIT"
] | 67 | 2017-09-11T05:06:12.000Z | 2022-02-14T04:44:04.000Z | Ene-Jun-2021/perez-gutierrez-julio-cesar/Examen Extraordinario/Ejercicio-5/factory.py | jarmarj/DAS_Sistemas | 36c876673e7abae503cc137c3f66585a0e45ed79 | [
"MIT"
] | 210 | 2017-09-01T00:10:08.000Z | 2022-03-19T18:05:12.000Z | from __future__ import annotations
from abc import ABC, abstractmethod
# fabrica
class Factory_Triangulo(ABC):
@abstractmethod
def get_triangulo(self) -> Triangulo:
pass
class ConcreteCreatorEquilatero(Factory_Triangulo):
def get_triangulo(self, t:Triangulo):
return Con... | 35.662338 | 99 | 0.618718 | 352 | 2,746 | 4.715909 | 0.21875 | 0.050602 | 0.054217 | 0.043373 | 0.360843 | 0.328313 | 0.328313 | 0.328313 | 0.328313 | 0.21988 | 0 | 0.062871 | 0.264385 | 2,746 | 77 | 100 | 35.662338 | 0.758911 | 0.181719 | 0 | 0.372549 | 0 | 0.019608 | 0.076032 | 0.012981 | 0 | 0 | 0 | 0 | 0 | 1 | 0.215686 | false | 0.039216 | 0.039216 | 0.117647 | 0.627451 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3f301270659bf33c0f7fa59c6d63d4b4fb478e0f | 323 | py | Python | trinity/chains/ropsten.py | C4Coin/py-fhm-evm | 0892d5f40b6a346eb4e60b2dd2f712f9226e6888 | [
"MIT"
] | 5 | 2018-09-28T20:01:42.000Z | 2022-02-22T19:54:46.000Z | trinity/chains/ropsten.py | C4Coin/py-fhm-evm | 0892d5f40b6a346eb4e60b2dd2f712f9226e6888 | [
"MIT"
] | null | null | null | trinity/chains/ropsten.py | C4Coin/py-fhm-evm | 0892d5f40b6a346eb4e60b2dd2f712f9226e6888 | [
"MIT"
] | 1 | 2019-01-29T21:09:31.000Z | 2019-01-29T21:09:31.000Z | from eth.chains.ropsten import (
BaseRopstenChain,
RopstenChain
)
from trinity.chains.coro import AsyncChainMixin
from trinity.chains.light import LightDispatchChain
class RopstenFullChain(RopstenChain, AsyncChainMixin):
pass
class RopstenLightDispatchChain(BaseRopstenChain, LightDispatchChain):
pa... | 20.1875 | 70 | 0.811146 | 29 | 323 | 9.034483 | 0.551724 | 0.083969 | 0.129771 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136223 | 323 | 15 | 71 | 21.533333 | 0.939068 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.3 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
3f3627bcac9d042ebd658fac98e7eadefbdfe400 | 2,743 | py | Python | firmwire/workspace.py | j4s0n/FirmWire | d3a20e2429cb4827f538d1a16163afde8b45826b | [
"BSD-3-Clause"
] | null | null | null | firmwire/workspace.py | j4s0n/FirmWire | d3a20e2429cb4827f538d1a16163afde8b45826b | [
"BSD-3-Clause"
] | null | null | null | firmwire/workspace.py | j4s0n/FirmWire | d3a20e2429cb4827f538d1a16163afde8b45826b | [
"BSD-3-Clause"
] | null | null | null | ## Copyright (c) 2022, Team FirmWire
## SPDX-License-Identifier: BSD-3-Clause
import tempfile
import os
from pathlib import PurePath, Path
class WorkspacePath:
def __init__(self, workspace, path):
self.workspace = workspace
if not self.workspace.exists():
raise ValueError("Workspace h... | 25.877358 | 85 | 0.624863 | 347 | 2,743 | 4.706052 | 0.311239 | 0.039192 | 0.051439 | 0.044091 | 0.13962 | 0.029394 | 0 | 0 | 0 | 0 | 0 | 0.002973 | 0.264309 | 2,743 | 105 | 86 | 26.12381 | 0.806244 | 0.110828 | 0 | 0.059701 | 0 | 0 | 0.071252 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.253731 | false | 0 | 0.044776 | 0.164179 | 0.537313 | 0.059701 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
3f3e893656acbf5fff6f0ce97816739472604bf8 | 140 | py | Python | opdrachtA1.py | kalkoen/informatica-olympiade-2019 | 0b6e810d906b105ad7a1a1a6800e5710517c3527 | [
"MIT"
] | null | null | null | opdrachtA1.py | kalkoen/informatica-olympiade-2019 | 0b6e810d906b105ad7a1a1a6800e5710517c3527 | [
"MIT"
] | null | null | null | opdrachtA1.py | kalkoen/informatica-olympiade-2019 | 0b6e810d906b105ad7a1a1a6800e5710517c3527 | [
"MIT"
] | null | null | null | n = int(input())
m = int(input())
v = int(input())
for i in range(m):
for j in range(n + v*i):
print("*", end="")
print()
| 14 | 28 | 0.471429 | 24 | 140 | 2.75 | 0.5 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 140 | 9 | 29 | 15.555556 | 0.66 | 0 | 0 | 0 | 0 | 0 | 0.007194 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3f4cb3cbcb298fc8293c87c15d03aeef7439b8a5 | 348 | py | Python | main.py | sguzman/python-protobuf-journal | 9603788976ce33fce6feeeca707ab33a229f9753 | [
"Unlicense"
] | null | null | null | main.py | sguzman/python-protobuf-journal | 9603788976ce33fce6feeeca707ab33a229f9753 | [
"Unlicense"
] | null | null | null | main.py | sguzman/python-protobuf-journal | 9603788976ce33fce6feeeca707ab33a229f9753 | [
"Unlicense"
] | null | null | null | import journal_pb2
import sys
import time
def main() -> None:
journal: journal_pb2.JournalEntry = journal_pb2.JournalEntry()
journal.time = int(time.time())
journal.message = ' '.join(sys.argv[1:])
byte_vec: bytes = bytes(journal.SerializeToString())
sys.stdout.buffer.write(byte_vec)
if __name_... | 20.470588 | 66 | 0.689655 | 44 | 348 | 5.159091 | 0.522727 | 0.132159 | 0.193833 | 0.255507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013889 | 0.172414 | 348 | 16 | 67 | 21.75 | 0.774306 | 0 | 0 | 0 | 0 | 0 | 0.025862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | true | 0 | 0.272727 | 0 | 0.363636 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
3f5ed4d799f9ac10d881651b2663d959b117a0e8 | 164 | py | Python | mlm/apps/main/forms.py | pierreclaverkoko/django-mlm-system | abfd895003b1ab59c6d0bfb4a06051ac6e4ca90f | [
"MIT"
] | null | null | null | mlm/apps/main/forms.py | pierreclaverkoko/django-mlm-system | abfd895003b1ab59c6d0bfb4a06051ac6e4ca90f | [
"MIT"
] | null | null | null | mlm/apps/main/forms.py | pierreclaverkoko/django-mlm-system | abfd895003b1ab59c6d0bfb4a06051ac6e4ca90f | [
"MIT"
] | 1 | 2020-06-09T09:16:57.000Z | 2020-06-09T09:16:57.000Z | from django import forms
from .models import MLMConfig
class MLMConfigForm(forms.ModelForm):
class Meta:
model = MLMConfig
fields = "__all__"
| 18.222222 | 37 | 0.695122 | 18 | 164 | 6.111111 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243902 | 164 | 8 | 38 | 20.5 | 0.887097 | 0 | 0 | 0 | 0 | 0 | 0.042683 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
3f726e018b613e65f182d524f2792940f89deeed | 1,022 | py | Python | src/waldur_ansible/common/views.py | opennode/waldur-ansible | c81c5f0491be02fa9a55a6d5bf9d845750fd1ba9 | [
"MIT"
] | 1 | 2017-09-05T08:09:47.000Z | 2017-09-05T08:09:47.000Z | src/waldur_ansible/common/views.py | opennode/waldur-ansible | c81c5f0491be02fa9a55a6d5bf9d845750fd1ba9 | [
"MIT"
] | null | null | null | src/waldur_ansible/common/views.py | opennode/waldur-ansible | c81c5f0491be02fa9a55a6d5bf9d845750fd1ba9 | [
"MIT"
] | 3 | 2017-09-24T03:13:19.000Z | 2018-08-12T07:44:38.000Z | import logging
from django_filters.rest_framework import DjangoFilterBackend
from rest_framework.mixins import ListModelMixin
from rest_framework.viewsets import GenericViewSet
from waldur_core.structure import views as structure_views, filters as structure_filters
from . import filters, managers, models, serializer... | 31.9375 | 96 | 0.838552 | 106 | 1,022 | 7.783019 | 0.443396 | 0.047273 | 0.083636 | 0.046061 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10274 | 1,022 | 31 | 97 | 32.967742 | 0.899673 | 0 | 0 | 0 | 0 | 0 | 0.006849 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
58b652b8f800fce33b862b3de43f6276201519f4 | 73,961 | py | Python | ot/backend.py | Pseudomanifold/POT | 5861209f27fe8e022eca2ed2c8d0bb1da4a1146b | [
"MIT"
] | 830 | 2020-04-21T03:45:02.000Z | 2022-03-31T18:27:08.000Z | ot/backend.py | Pseudomanifold/POT | 5861209f27fe8e022eca2ed2c8d0bb1da4a1146b | [
"MIT"
] | 192 | 2020-04-17T10:15:37.000Z | 2022-03-24T10:00:57.000Z | ot/backend.py | Pseudomanifold/POT | 5861209f27fe8e022eca2ed2c8d0bb1da4a1146b | [
"MIT"
] | 402 | 2020-04-17T18:24:00.000Z | 2022-03-29T18:26:33.000Z | # -*- coding: utf-8 -*-
"""
Multi-lib backend for POT
The goal is to write backend-agnostic code. Whether you're using Numpy, PyTorch,
Jax, Cupy, or Tensorflow, POT code should work nonetheless.
To achieve that, POT provides backend classes which implements functions in their respective backend
imitating Numpy API. As... | 31.246726 | 262 | 0.596206 | 10,285 | 73,961 | 4.194944 | 0.071561 | 0.030015 | 0.028926 | 0.029204 | 0.706316 | 0.664874 | 0.622227 | 0.565952 | 0.517905 | 0.434674 | 0 | 0.014505 | 0.280378 | 73,961 | 2,366 | 263 | 31.259932 | 0.796126 | 0.257027 | 0 | 0.542756 | 0 | 0.002827 | 0.019444 | 0.001219 | 0 | 0 | 0 | 0 | 0.009187 | 1 | 0.272792 | false | 0.000707 | 0.015548 | 0.158304 | 0.581625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
58d6ceab08388022d79537ef0945b111fc71c5c8 | 3,878 | py | Python | course/serializers.py | VahidZareCE/school | 06ea0925d4885308412844a3a9ee0418db07e9c4 | [
"MIT"
] | null | null | null | course/serializers.py | VahidZareCE/school | 06ea0925d4885308412844a3a9ee0418db07e9c4 | [
"MIT"
] | null | null | null | course/serializers.py | VahidZareCE/school | 06ea0925d4885308412844a3a9ee0418db07e9c4 | [
"MIT"
] | null | null | null | # pakage python
import magic
from datetime import datetime
# rest_framework
from rest_framework import serializers
# app course
from course.models import Exercise, Answer
# app account
from account.serializers import StudentListSerilaizer
class ExerciseSerializer(serializers.ModelSerializer):
class Meta:
... | 37.288462 | 106 | 0.646467 | 431 | 3,878 | 5.707657 | 0.206497 | 0.035772 | 0.07561 | 0.02439 | 0.734146 | 0.71626 | 0.71626 | 0.597967 | 0.597967 | 0.563008 | 0 | 0 | 0.255028 | 3,878 | 104 | 107 | 37.288462 | 0.851506 | 0.029654 | 0 | 0.728395 | 0 | 0 | 0.173635 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0.061728 | 0 | 0.45679 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
58d886f700aa79e9665d4604f02d72b3f471e082 | 4,156 | py | Python | util/locale_utils.py | MAKENTNU/web | 7a5b512bf4c087d1561cdb623d7df4b3d04811a2 | [
"MIT"
] | 10 | 2017-11-25T01:47:20.000Z | 2020-03-24T18:28:24.000Z | util/locale_utils.py | MAKENTNU/web | 7a5b512bf4c087d1561cdb623d7df4b3d04811a2 | [
"MIT"
] | 319 | 2017-11-16T09:56:03.000Z | 2022-03-28T00:24:37.000Z | util/locale_utils.py | MAKENTNU/web | 7a5b512bf4c087d1561cdb623d7df4b3d04811a2 | [
"MIT"
] | 6 | 2017-11-12T14:04:08.000Z | 2021-03-10T09:41:18.000Z | from calendar import day_name
from datetime import datetime, timedelta
from django.utils import timezone, translation
from django.utils.dateparse import parse_datetime
from django.utils.formats import date_format
from django.utils.timezone import make_aware
from django.utils.translation import gettext
DEFAULT_TIMEZO... | 29.267606 | 102 | 0.718961 | 608 | 4,156 | 4.745066 | 0.197368 | 0.057192 | 0.051993 | 0.043674 | 0.340035 | 0.237088 | 0.17539 | 0.058232 | 0.058232 | 0.058232 | 0 | 0.008142 | 0.202117 | 4,156 | 141 | 103 | 29.475177 | 0.861882 | 0.361646 | 0 | 0.071429 | 0 | 0 | 0.042967 | 0.008512 | 0 | 0 | 0 | 0 | 0 | 1 | 0.303571 | false | 0 | 0.125 | 0.107143 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
58da95ad5dc16479baa24f8b056f0f3ba4b48600 | 26,805 | py | Python | dht/tests/test_protocol.py | oktoshi/OpenBazaar-Server | 605644c628db0d472e85380c4f16fafc13631991 | [
"MIT"
] | 723 | 2015-08-19T08:43:06.000Z | 2022-01-25T10:34:27.000Z | dht/tests/test_protocol.py | oktoshi/OpenBazaar-Server | 605644c628db0d472e85380c4f16fafc13631991 | [
"MIT"
] | 470 | 2015-08-18T21:18:46.000Z | 2018-07-03T21:36:03.000Z | dht/tests/test_protocol.py | mrudtf/OpenBazaar-Server | a3964b8337a2eb0815c29145d67782c5de1ada73 | [
"MIT"
] | 250 | 2015-08-19T03:01:02.000Z | 2022-01-23T21:05:25.000Z | __author__ = 'chris'
import time
import random
from binascii import unhexlify
import mock
import nacl.signing
import nacl.encoding
import nacl.hash
import os
from txrudp import connection, rudp, packet, constants
from twisted.trial import unittest
from twisted.internet import task, address, udp, defer, reactor
from d... | 43.233871 | 112 | 0.661481 | 3,123 | 26,805 | 5.528338 | 0.088056 | 0.050043 | 0.047147 | 0.059079 | 0.748451 | 0.722155 | 0.706111 | 0.694179 | 0.681089 | 0.670142 | 0 | 0.023614 | 0.213244 | 26,805 | 619 | 113 | 43.303716 | 0.795059 | 0.003917 | 0 | 0.614367 | 0 | 0 | 0.036338 | 0.003933 | 0 | 0 | 0 | 0 | 0.128544 | 1 | 0.047259 | false | 0 | 0.035917 | 0 | 0.086957 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
58dae8f7e6e6ed4d3feb5ff9d4505cf505c4a88c | 1,108 | py | Python | venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/GL/NV/texgen_reflection.py | temelkirci/Motion_Editor | a8b8d4c4d2dcc9be28385600f56066cef92a38ad | [
"MIT"
] | 1 | 2022-03-02T17:07:20.000Z | 2022-03-02T17:07:20.000Z | venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/GL/NV/texgen_reflection.py | temelkirci/RealTime_6DOF_Motion_Editor | a8b8d4c4d2dcc9be28385600f56066cef92a38ad | [
"MIT"
] | null | null | null | venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/GL/NV/texgen_reflection.py | temelkirci/RealTime_6DOF_Motion_Editor | a8b8d4c4d2dcc9be28385600f56066cef92a38ad | [
"MIT"
] | null | null | null | '''OpenGL extension NV.texgen_reflection
This module customises the behaviour of the
OpenGL.raw.GL.NV.texgen_reflection to provide a more
Python-friendly API
Overview (from the spec)
This extension provides two new texture coordinate generation modes
that are useful texture-based lighting and environment mappin... | 41.037037 | 68 | 0.812274 | 163 | 1,108 | 5.496933 | 0.527607 | 0.035714 | 0.080357 | 0.029018 | 0.227679 | 0.1875 | 0.122768 | 0.122768 | 0.122768 | 0.122768 | 0 | 0 | 0.136282 | 1,108 | 27 | 69 | 41.037037 | 0.936259 | 0.885379 | 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 | 0 | 0 | 0 | 3 |
58e12af392c84258fa0e05bc304b36de3d9279a4 | 79 | py | Python | python/2475.py | zheedong/BaekJoon | 7f9e00085276a337d18ee3bb90c98126f7af4d3a | [
"MIT"
] | null | null | null | python/2475.py | zheedong/BaekJoon | 7f9e00085276a337d18ee3bb90c98126f7af4d3a | [
"MIT"
] | null | null | null | python/2475.py | zheedong/BaekJoon | 7f9e00085276a337d18ee3bb90c98126f7af4d3a | [
"MIT"
] | null | null | null | ret = sum(list(map(lambda x : x*x, map(int, input().split())))) % 10
print(ret) | 39.5 | 68 | 0.607595 | 15 | 79 | 3.2 | 0.733333 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0.126582 | 79 | 2 | 69 | 39.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
58e5ee67b68e4d1e2273c6be325557f4cace2d57 | 852 | py | Python | {{cookiecutter.project_name}}/core/domain/{{cookiecutter.api_2_for_name}}/entity/user.py | sarimurrab/cookiecutter-space | 4ba9da5c0c16c902dc737951bc84c21671a24091 | [
"MIT"
] | 3 | 2021-08-31T18:53:45.000Z | 2022-03-11T06:06:25.000Z | {{cookiecutter.project_name}}/core/domain/{{cookiecutter.api_2_for_name}}/entity/user.py | sarimurrab/cookiecutter-space | 4ba9da5c0c16c902dc737951bc84c21671a24091 | [
"MIT"
] | null | null | null | {{cookiecutter.project_name}}/core/domain/{{cookiecutter.api_2_for_name}}/entity/user.py | sarimurrab/cookiecutter-space | 4ba9da5c0c16c902dc737951bc84c21671a24091 | [
"MIT"
] | null | null | null | import attr
from typing import List
from core.kernel.entity import Entity
from .{{cookiecutter.api_2_for_name}} import UserBasic{{cookiecutter.api_2_for_name}}, UserExtra{{cookiecutter.api_2_for_name}}
@attr.s(auto_attribs=True)
class User(Entity):
""" Base User Entity """
user_type: str = None
user_name... | 30.428571 | 127 | 0.724178 | 122 | 852 | 4.803279 | 0.295082 | 0.179181 | 0.191126 | 0.226962 | 0.604096 | 0.486348 | 0.334471 | 0.334471 | 0.334471 | 0.194539 | 0 | 0.009537 | 0.138498 | 852 | 27 | 128 | 31.555556 | 0.788828 | 0 | 0 | 0.176471 | 0 | 0 | 0.027704 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.235294 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
45038f42a6382eaef00723b6f48a6b3f1a87e2aa | 533 | py | Python | tests/test__preprocess/asserts.py | allenyummy/KeyExtractor | 6476c71d0fdb86c3060257a0c2f23dbd372cb1ae | [
"MIT"
] | 7 | 2021-05-14T13:54:47.000Z | 2022-01-05T07:05:30.000Z | tests/test__preprocess/asserts.py | allenyummy/KeyExtractor | 6476c71d0fdb86c3060257a0c2f23dbd372cb1ae | [
"MIT"
] | 8 | 2021-05-14T09:14:29.000Z | 2021-09-01T08:00:47.000Z | tests/test__preprocess/asserts.py | allenyummy/KeyExtractor | 6476c71d0fdb86c3060257a0c2f23dbd372cb1ae | [
"MIT"
] | 1 | 2021-10-17T18:23:54.000Z | 2021-10-17T18:23:54.000Z | # encoding=utf-8
# Author: Yu-Lun Chiang
# Description: assert functions for testing preprocess function
import logging
logger = logging.getLogger(__name__)
def assertEquals(
content_text, expected_content_text, n_gram_text, expected_n_gram_text
):
assert len(content_text) == len(expected_content_text)
... | 28.052632 | 74 | 0.776735 | 78 | 533 | 4.884615 | 0.358974 | 0.104987 | 0.188976 | 0.178478 | 0.51706 | 0.309711 | 0.136483 | 0 | 0 | 0 | 0 | 0.00655 | 0.140713 | 533 | 18 | 75 | 29.611111 | 0.825328 | 0.183865 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.6 | 1 | 0.1 | false | 0 | 0.1 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4506e14a748b52a300d097402ea9207aa4b8dfa0 | 211 | py | Python | kubernetes_rest_service/app/api/urls.py | stkrizh/otus | 6bff5cf62661bb7bab6eac6cb563a63a52a56423 | [
"MIT"
] | 1 | 2021-07-25T11:11:55.000Z | 2021-07-25T11:11:55.000Z | kubernetes_rest_service/app/api/urls.py | stkrizh/otus | 6bff5cf62661bb7bab6eac6cb563a63a52a56423 | [
"MIT"
] | 3 | 2020-03-24T17:33:29.000Z | 2021-08-23T20:20:31.000Z | kubernetes_rest_service/app/api/urls.py | stkrizh/otus | 6bff5cf62661bb7bab6eac6cb563a63a52a56423 | [
"MIT"
] | null | null | null | from rest_framework.routers import DefaultRouter
from app.api import views
router = DefaultRouter(trailing_slash=False)
router.register("users", views.UserViewSet, basename="user")
urlpatterns = router.urls
| 21.1 | 60 | 0.810427 | 26 | 211 | 6.5 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099526 | 211 | 9 | 61 | 23.444444 | 0.889474 | 0 | 0 | 0 | 0 | 0 | 0.042654 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
451521aff90050f1f2571d12b3b2841cc83ade31 | 125,444 | py | Python | import_export_batches/views_admin.py | ranadeepmitra21/WeVoteServer_Ranadeep | 505945209aad5cef21e118b5bfa7f63d0bd462da | [
"MIT"
] | 2 | 2021-11-11T11:02:02.000Z | 2021-11-11T11:02:15.000Z | import_export_batches/views_admin.py | ranadeepmitra21/WeVoteServer_Ranadeep | 505945209aad5cef21e118b5bfa7f63d0bd462da | [
"MIT"
] | null | null | null | import_export_batches/views_admin.py | ranadeepmitra21/WeVoteServer_Ranadeep | 505945209aad5cef21e118b5bfa7f63d0bd462da | [
"MIT"
] | null | null | null | # import_export_batches/views_admin.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
from .models import ACTIVITY_NOTICE_PROCESS, API_REFRESH_REQUEST, \
BatchDescription, BatchHeader, BatchHeaderMap, BatchManager, \
BatchProcess, BatchProcessAnalyticsChunk, BatchProcessBallotItemChunk, BatchPro... | 52.575021 | 123 | 0.668258 | 14,641 | 125,444 | 5.230312 | 0.036473 | 0.033953 | 0.027867 | 0.040038 | 0.835094 | 0.789467 | 0.7216 | 0.674001 | 0.630999 | 0.592632 | 0 | 0.002624 | 0.26175 | 125,444 | 2,385 | 124 | 52.597065 | 0.824261 | 0.090686 | 0 | 0.580381 | 0 | 0 | 0.128594 | 0.065125 | 0 | 0 | 0 | 0.000419 | 0 | 1 | 0.013079 | false | 0.008174 | 0.077384 | 0 | 0.124796 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
45360df2664fd23c1b34c69e5170448bb6db121d | 2,191 | py | Python | pymterm/term_pyglet/key_board.py | stonewell/pymterm | af36656d5f7fb008533178d14b00d83d72ba00cf | [
"MIT"
] | 102 | 2016-07-21T06:39:02.000Z | 2022-03-09T19:34:03.000Z | pymterm/term_pyglet/key_board.py | stonewell/pymterm | af36656d5f7fb008533178d14b00d83d72ba00cf | [
"MIT"
] | 2 | 2017-01-11T13:43:34.000Z | 2020-01-19T12:06:47.000Z | pymterm/term_pyglet/key_board.py | stonewell/pymterm | af36656d5f7fb008533178d14b00d83d72ba00cf | [
"MIT"
] | 4 | 2020-03-22T04:08:35.000Z | 2021-06-27T23:38:02.000Z | import string
from pyglet.window import key
class KeyState(object):
def __init__(self, symbol, modifiers):
_key = key.symbol_string(symbol).lower()
_text = _key if len(_key) == 1 and _key[0] in string.printable \
else chr(symbol) if symbol < 256 \
and chr(symbol) in strin... | 24.344444 | 75 | 0.590598 | 284 | 2,191 | 4.264085 | 0.211268 | 0.156895 | 0.17341 | 0.168456 | 0.274979 | 0.0545 | 0 | 0 | 0 | 0 | 0 | 0.003932 | 0.303514 | 2,191 | 89 | 76 | 24.617978 | 0.789646 | 0 | 0 | 0 | 0 | 0 | 0.050205 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.322581 | false | 0 | 0.032258 | 0.306452 | 0.677419 | 0.048387 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
453aa993f42f7e30d48f3aa0d287c4d2f5a45b62 | 1,219 | py | Python | cave/libcave/tags/registered_tags.py | cuauv/software | 5ad4d52d603f81a7f254f365d9b0fe636d03a260 | [
"BSD-3-Clause"
] | 70 | 2015-11-16T18:04:01.000Z | 2022-03-05T09:04:02.000Z | cave/libcave/tags/registered_tags.py | cuauv/software | 5ad4d52d603f81a7f254f365d9b0fe636d03a260 | [
"BSD-3-Clause"
] | 1 | 2016-08-03T05:13:19.000Z | 2016-08-03T06:19:39.000Z | cave/libcave/tags/registered_tags.py | cuauv/software | 5ad4d52d603f81a7f254f365d9b0fe636d03a260 | [
"BSD-3-Clause"
] | 34 | 2015-12-15T17:29:23.000Z | 2021-11-18T14:15:12.000Z | registered_tags = {}
registered_reqs = {}
#decorator for registering tag types with CAVE
def register_tag_type(obj):
registered_tags[obj.get_name()] = obj
return obj
#decorator to ensure that this tagtype will only be applied to
#mission elements implementing these methods
def require_mission_elements_to_impl... | 29.731707 | 70 | 0.746514 | 180 | 1,219 | 4.772222 | 0.477778 | 0.097788 | 0.093132 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.000999 | 0.178835 | 1,219 | 40 | 71 | 30.475 | 0.857143 | 0.289582 | 0 | 0.083333 | 0 | 0 | 0.018648 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.083333 | 0.166667 | 0.708333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
189b4e18eabfaf643593c9f763e573acf364ab6d | 1,647 | py | Python | tests/integration/examples/test_config_trust_example.py | polyrize/neo4j-python-driver | 1ed96f94a7a59f49c473dadbb81715dc9651db98 | [
"Apache-2.0"
] | null | null | null | tests/integration/examples/test_config_trust_example.py | polyrize/neo4j-python-driver | 1ed96f94a7a59f49c473dadbb81715dc9651db98 | [
"Apache-2.0"
] | null | null | null | tests/integration/examples/test_config_trust_example.py | polyrize/neo4j-python-driver | 1ed96f94a7a59f49c473dadbb81715dc9651db98 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) "Neo4j"
# Neo4j Sweden AB [https://neo4j.com]
#
# This file is part of Neo4j.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2... | 30.5 | 75 | 0.695203 | 215 | 1,647 | 5.293023 | 0.525581 | 0.052724 | 0.022847 | 0.02812 | 0.080844 | 0.080844 | 0.080844 | 0.080844 | 0.080844 | 0.080844 | 0 | 0.010786 | 0.2119 | 1,647 | 53 | 76 | 31.075472 | 0.865948 | 0.63813 | 0 | 0 | 0 | 0 | 0.099291 | 0 | 0 | 0 | 0 | 0.018868 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
18a9bccf2d46fd717a3488f7429ca1c00b311978 | 891 | py | Python | napari_autolign/widgets/utility.py | krentzd/napari-autolign | 7a2172585cf4b7279bf7923c7ab44d841ba0bae6 | [
"MIT"
] | 1 | 2021-12-20T22:48:41.000Z | 2021-12-20T22:48:41.000Z | napari_autolign/widgets/utility.py | krentzd/napari-autolign | 7a2172585cf4b7279bf7923c7ab44d841ba0bae6 | [
"MIT"
] | null | null | null | napari_autolign/widgets/utility.py | krentzd/napari-autolign | 7a2172585cf4b7279bf7923c7ab44d841ba0bae6 | [
"MIT"
] | 1 | 2021-12-21T01:23:09.000Z | 2021-12-21T01:23:09.000Z | #!/usr/bin/env python3
# coding: utf-8
import numpy as np
from magicgui import magic_factory, widgets
from scipy import ndimage
from napari.layers import Image, Shapes
from napari.qt import thread_worker
import time
import math
#
def crop_volume(input: Image,
crop_area: Shapes) -> Image:
"Cropping i... | 33 | 84 | 0.687991 | 155 | 891 | 3.793548 | 0.4 | 0.095238 | 0.132653 | 0.173469 | 0.258503 | 0.258503 | 0.217687 | 0.132653 | 0 | 0 | 0 | 0.027586 | 0.186308 | 891 | 26 | 85 | 34.269231 | 0.783448 | 0.180696 | 0 | 0 | 0 | 0 | 0.103106 | 0 | 0 | 0 | 0 | 0.038462 | 0 | 1 | 0.095238 | false | 0.047619 | 0.333333 | 0 | 0.47619 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
18b8e58a79bce2472e81aef341d90ff6ba7f8eb4 | 376 | py | Python | pythonProject/exercicios_refeitos/ex011.py | Israel-covello/Python3-studies | 078976850279f627847025c5fafdd3384779d606 | [
"MIT"
] | null | null | null | pythonProject/exercicios_refeitos/ex011.py | Israel-covello/Python3-studies | 078976850279f627847025c5fafdd3384779d606 | [
"MIT"
] | null | null | null | pythonProject/exercicios_refeitos/ex011.py | Israel-covello/Python3-studies | 078976850279f627847025c5fafdd3384779d606 | [
"MIT"
] | null | null | null | largura = float(input('Qual a largura da parede? '))
altura = float(input('Qual a altura da parede? '))
print('Sabendo que a largura da parede é {}m e a altura é {}m, sua área é de \033[31m{:.2f}m²\033[m.\n'
'Sabendo que 1l de tinta pinta 2m, a quantidade de tinta usa é de \033[31m{:.2f}l\033[m!'
.format(la... | 62.666667 | 103 | 0.662234 | 69 | 376 | 3.608696 | 0.449275 | 0.096386 | 0.11245 | 0.120482 | 0.088353 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072131 | 0.18883 | 376 | 5 | 104 | 75.2 | 0.744262 | 0 | 0 | 0 | 0 | 0.4 | 0.619681 | 0.125 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
18e0241c8c3aa43d805875143e8192d22bce2852 | 322 | py | Python | app/behaviors/projectbehavior.py | Joeper214/barm | 77cd8ddcf73ceacf86b13ca819d8e56471e43574 | [
"MIT"
] | 2 | 2015-03-04T07:05:57.000Z | 2015-03-04T07:06:00.000Z | app/behaviors/projectbehavior.py | Joeper214/barm | 77cd8ddcf73ceacf86b13ca819d8e56471e43574 | [
"MIT"
] | null | null | null | app/behaviors/projectbehavior.py | Joeper214/barm | 77cd8ddcf73ceacf86b13ca819d8e56471e43574 | [
"MIT"
] | null | null | null | from ferris.core.ndb import Behavior
from app.models.allocation import Allocation
class ProjectBehavior(Behavior):
def __init__(self, Model):
self.Model = (Allocation,)
def after_delete(self, key):
Allocation.del_by_project_id(key)
pass
def after_put(self, instance):
pass
... | 20.125 | 44 | 0.686335 | 40 | 322 | 5.3 | 0.625 | 0.084906 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229814 | 322 | 15 | 45 | 21.466667 | 0.854839 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.2 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
7a149f0592732bba1d58ca3bb5aa012ca6b139a6 | 349 | py | Python | byslib/graph/graph.py | bayashi-cl/byslib-python | d7cbb1cb75904e85c353227def7c99a2bceea12c | [
"CC0-1.0"
] | null | null | null | byslib/graph/graph.py | bayashi-cl/byslib-python | d7cbb1cb75904e85c353227def7c99a2bceea12c | [
"CC0-1.0"
] | null | null | null | byslib/graph/graph.py | bayashi-cl/byslib-python | d7cbb1cb75904e85c353227def7c99a2bceea12c | [
"CC0-1.0"
] | null | null | null | # @title Adjacency List
from typing import List, Tuple
class LilMatrix(List[List[Tuple[int, int]]]):
"""List in List Matrix"""
@classmethod
def empty(cls, n: int) -> "LilMatrix":
return cls([[] for _ in range(n)])
def add_edge(self, src: int, dest: int, weight: int = 1) -> None:
self... | 24.928571 | 69 | 0.610315 | 49 | 349 | 4.306122 | 0.591837 | 0.085308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003704 | 0.226361 | 349 | 13 | 70 | 26.846154 | 0.777778 | 0.120344 | 0 | 0 | 0 | 0 | 0.0299 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
e15276ba093ded8df8144c05e50556bd05513219 | 3,237 | py | Python | src/nalkinscloud_api/functions.py | ArieLevs/NalkinsCloud-Django | 3fab970e4545db2e0b3e63a4bc8a5a1488a4a2bf | [
"Apache-2.0"
] | 6 | 2019-01-07T15:34:27.000Z | 2020-05-16T14:40:38.000Z | src/nalkinscloud_api/functions.py | ArieLevs/NalkinsCloud-Django | 3fab970e4545db2e0b3e63a4bc8a5a1488a4a2bf | [
"Apache-2.0"
] | 9 | 2019-12-28T12:08:36.000Z | 2021-09-22T17:44:41.000Z | src/nalkinscloud_api/functions.py | ArieLevs/NalkinsCloud-Django-Backend | 3fab970e4545db2e0b3e63a4bc8a5a1488a4a2bf | [
"Apache-2.0"
] | null | null | null |
from django.contrib.auth.hashers import make_password
from django_user_email_extension.models import User
from oauth2_provider.models import Application
# For password generating
import random
import string
from pytz import utc
import datetime
def build_json_response(status, value):
"""
Generate json form... | 25.690476 | 93 | 0.707136 | 413 | 3,237 | 5.368039 | 0.256659 | 0.043302 | 0.021651 | 0.023004 | 0.287776 | 0.227334 | 0.227334 | 0.193054 | 0.149752 | 0.149752 | 0 | 0.021384 | 0.205437 | 3,237 | 125 | 94 | 25.896 | 0.840591 | 0.466172 | 0 | 0 | 0 | 0 | 0.018957 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.30303 | false | 0.090909 | 0.212121 | 0 | 0.848485 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
e153272a796edf4bae91021a9adb0a8887362090 | 174 | py | Python | examples/locate-device.py | jaraco/jaraco.nxt | c37e66e2dc69206013db718057697510f87ad9fa | [
"MIT"
] | 7 | 2016-02-12T00:31:41.000Z | 2020-09-08T00:01:29.000Z | examples/locate-device.py | jaraco/jaraco.nxt | c37e66e2dc69206013db718057697510f87ad9fa | [
"MIT"
] | 3 | 2015-11-30T01:30:56.000Z | 2022-03-08T12:23:04.000Z | examples/locate-device.py | jaraco/jaraco.nxt | c37e66e2dc69206013db718057697510f87ad9fa | [
"MIT"
] | 2 | 2016-02-12T01:38:07.000Z | 2017-12-05T17:25:46.000Z | from jaraco.nxt import locator
import logging
def run():
logging.basicConfig(level=logging.DEBUG)
locator.find_brick()
__name__ == '__main__' and run()
| 15.818182 | 45 | 0.683908 | 21 | 174 | 5.238095 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212644 | 174 | 10 | 46 | 17.4 | 0.80292 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
e15a8aa2bcb6880afac88a7a469e95ad5ab2d56b | 185 | py | Python | src/test/Controller.py | Steins7/MyLittleERP | f0220196136c1a0eff5dd7de469dfdb3466c1d5d | [
"MIT"
] | null | null | null | src/test/Controller.py | Steins7/MyLittleERP | f0220196136c1a0eff5dd7de469dfdb3466c1d5d | [
"MIT"
] | null | null | null | src/test/Controller.py | Steins7/MyLittleERP | f0220196136c1a0eff5dd7de469dfdb3466c1d5d | [
"MIT"
] | 1 | 2019-06-03T21:18:21.000Z | 2019-06-03T21:18:21.000Z | import tkinter as tk
from Gui import *
class Controller :
def __init__(self):
self.gui = Gui(self)
def changePage(self,i):
self.gui.changePage(i)
| 16.818182 | 30 | 0.594595 | 24 | 185 | 4.416667 | 0.541667 | 0.132075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.313514 | 185 | 11 | 31 | 16.818182 | 0.834646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
e18762722c520b408c1ead025c6c0e1a6f29f280 | 373 | py | Python | python/robot_controller/core/comm/message_base.py | ZaoLahma/RoboNoop | c98c4a3d1384ac83a6427f7b1a0ac6a03af622e8 | [
"MIT"
] | null | null | null | python/robot_controller/core/comm/message_base.py | ZaoLahma/RoboNoop | c98c4a3d1384ac83a6427f7b1a0ac6a03af622e8 | [
"MIT"
] | 16 | 2021-03-10T20:33:34.000Z | 2021-04-12T13:51:07.000Z | python/robot_controller/core/comm/message_base.py | ZaoLahma/RoboNoop | c98c4a3d1384ac83a6427f7b1a0ac6a03af622e8 | [
"MIT"
] | null | null | null | from time import time
class MessageBase:
def __init__(self):
self.msg_create_time = time()
self.msg_receive_time = None
self.msg_send_time = None
@staticmethod
def get_msg_id(self):
raise NotImplementedError
def encode(self):
raise NotImplementedError
def ... | 21.941176 | 37 | 0.664879 | 43 | 373 | 5.488372 | 0.488372 | 0.088983 | 0.237288 | 0.262712 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.273458 | 373 | 17 | 38 | 21.941176 | 0.870849 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0.076923 | 0 | 0.461538 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
e1a9052febe7737d6538fa1f9776290257f44519 | 944 | py | Python | uontypes/collections/uon_seq.py | uon-language/uon-parser | 666894cf4917d8da01512918a147882550382269 | [
"MIT"
] | 1 | 2020-05-29T06:47:16.000Z | 2020-05-29T06:47:16.000Z | uontypes/collections/uon_seq.py | Cell00phane/uon-parser | 666894cf4917d8da01512918a147882550382269 | [
"MIT"
] | 1 | 2020-07-16T08:19:08.000Z | 2020-07-16T08:19:08.000Z | uontypes/collections/uon_seq.py | uon-language/uon-parser | 666894cf4917d8da01512918a147882550382269 | [
"MIT"
] | null | null | null | import pprint
from uontypes.uon_value import UonValue
from binary.utils import EOL
class UonSeq(UonValue):
def __init__(self, seq=[], presentation_properties={}):
if seq is None:
seq = []
super().__init__(seq, "seq", presentation_properties)
def get(self, index):
return ... | 24.205128 | 62 | 0.606992 | 116 | 944 | 4.62931 | 0.396552 | 0.117318 | 0.067039 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002907 | 0.271186 | 944 | 38 | 63 | 24.842105 | 0.777616 | 0 | 0 | 0 | 0 | 0 | 0.024364 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.296296 | false | 0 | 0.111111 | 0.148148 | 0.703704 | 0.074074 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
e1aadc3b68aa4e00c924eaa42cf7737022aa29cc | 787 | py | Python | 10.CheckBox.py | sarincr/GUI-With-Tkinter-using-Python | 3b57fc4aeed9e4a3018fc940bafdb4160ec853fc | [
"MIT"
] | null | null | null | 10.CheckBox.py | sarincr/GUI-With-Tkinter-using-Python | 3b57fc4aeed9e4a3018fc940bafdb4160ec853fc | [
"MIT"
] | null | null | null | 10.CheckBox.py | sarincr/GUI-With-Tkinter-using-Python | 3b57fc4aeed9e4a3018fc940bafdb4160ec853fc | [
"MIT"
] | null | null | null | from tkinter import *
top = Tk()
top.geometry("200x200")
x = IntVar()
y = IntVar()
z = IntVar()
b1 = Checkbutton(top,
text = "Yes",
variable = x,
onvalue = 1,
offvalue = 0,
height = 2,
width = 10)
b2 ... | 25.387097 | 31 | 0.35197 | 67 | 787 | 4.134328 | 0.447761 | 0.151625 | 0.194946 | 0.184116 | 0.33574 | 0.33574 | 0.33574 | 0.33574 | 0 | 0 | 0 | 0.075419 | 0.545108 | 787 | 31 | 32 | 25.387097 | 0.698324 | 0 | 0 | 0.387097 | 0 | 0 | 0.017767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.032258 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
becac7cac29e145875bc076c8b480dc243c23857 | 163 | py | Python | salient/enums.py | tombulled/salient | 85e3c1d2f7a0edec32e4b3827545636160cb3829 | [
"MIT"
] | null | null | null | salient/enums.py | tombulled/salient | 85e3c1d2f7a0edec32e4b3827545636160cb3829 | [
"MIT"
] | 1 | 2022-01-04T23:09:54.000Z | 2022-01-15T22:07:09.000Z | salient/enums.py | tombulled/salient | 85e3c1d2f7a0edec32e4b3827545636160cb3829 | [
"MIT"
] | null | null | null | import enumb
class Method(enumb.AutoName):
PUT: str
GET: str
POST: str
HEAD: str
PATCH: str
DELETE: str
OPTIONS: str
| 14.818182 | 29 | 0.539877 | 20 | 163 | 4.4 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.392638 | 163 | 10 | 30 | 16.3 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.111111 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
becefde3722fe780858a51bbed8deaa7388c58ca | 14,155 | py | Python | ctm/one_site_c4v/rdm_c4v_specialized.py | tateobori/AD-peps | ab93b8a69f280e1fa6012ef0c09595b7c237b134 | [
"MIT"
] | null | null | null | ctm/one_site_c4v/rdm_c4v_specialized.py | tateobori/AD-peps | ab93b8a69f280e1fa6012ef0c09595b7c237b134 | [
"MIT"
] | null | null | null | ctm/one_site_c4v/rdm_c4v_specialized.py | tateobori/AD-peps | ab93b8a69f280e1fa6012ef0c09595b7c237b134 | [
"MIT"
] | null | null | null | import itertools
import torch
from ipeps.ipeps_c4v import IPEPS_C4V
from ctm.one_site_c4v.env_c4v import ENV_C4V
from ctm.one_site_c4v.ctm_components_c4v import c2x2_dl
from ctm.one_site_c4v.rdm_c4v import _log_cuda_mem, _sym_pos_def
import logging
log = logging.getLogger(__name__)
def rdm2x1_tiled(state, env, sym_pos... | 32.024887 | 93 | 0.529566 | 2,086 | 14,155 | 3.401726 | 0.115053 | 0.050733 | 0.04566 | 0.049605 | 0.741263 | 0.718856 | 0.702649 | 0.693912 | 0.693912 | 0.690812 | 0 | 0.076334 | 0.279972 | 14,155 | 441 | 94 | 32.097506 | 0.619898 | 0.311621 | 0 | 0.652941 | 0 | 0 | 0.078153 | 0.009319 | 0 | 0 | 0 | 0 | 0.005882 | 1 | 0.041176 | false | 0 | 0.041176 | 0.017647 | 0.123529 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
bedb4626723767d83445b7e8dd2ac311129282e1 | 224 | py | Python | tutorials/W2D2_ModernConvnets/solutions/W2D2_Tutorial1_Solution_b3ebfd81.py | justynaekert/course-content-dl | aa64d9feb1ae92ad4b7afaf13b13616b3a020c20 | [
"CC-BY-4.0",
"BSD-3-Clause"
] | 473 | 2021-04-13T18:27:42.000Z | 2022-03-28T14:14:35.000Z | tutorials/W2D2_ModernConvnets/solutions/W2D2_Tutorial1_Solution_b3ebfd81.py | justynaekert/course-content-dl | aa64d9feb1ae92ad4b7afaf13b13616b3a020c20 | [
"CC-BY-4.0",
"BSD-3-Clause"
] | 399 | 2021-06-07T20:56:59.000Z | 2022-01-26T23:05:06.000Z | tutorials/W2D2_ModernConvnets/solutions/W2D2_Tutorial1_Solution_b3ebfd81.py | justynaekert/course-content-dl | aa64d9feb1ae92ad4b7afaf13b13616b3a020c20 | [
"CC-BY-4.0",
"BSD-3-Clause"
] | 170 | 2021-04-16T11:09:32.000Z | 2022-03-31T12:13:52.000Z |
"""
1. More weights are adjusted to the pretraining domain.
2. Since only one layer is trained, the training procedure is faster/less computationally expensive.
3. If your pretraining and target data domains are close.
"""; | 37.333333 | 100 | 0.776786 | 34 | 224 | 5.117647 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.15625 | 224 | 6 | 101 | 37.333333 | 0.904762 | 0.955357 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
bee858b5e9a0541d74ab18b86ac495187fe76c7c | 416 | py | Python | penknife/msg.py | mfhorita/Autotasks-Python | 083937e3d5dd56c44edf9d5fb54e9357dd9c6dc3 | [
"MIT"
] | 1 | 2021-11-26T00:21:01.000Z | 2021-11-26T00:21:01.000Z | penknife/msg.py | mfhorita/Autotasks-Python | 083937e3d5dd56c44edf9d5fb54e9357dd9c6dc3 | [
"MIT"
] | null | null | null | penknife/msg.py | mfhorita/Autotasks-Python | 083937e3d5dd56c44edf9d5fb54e9357dd9c6dc3 | [
"MIT"
] | null | null | null | from pyautogui import password, confirm, alert, prompt
def credencial(mask='*', timeout=None):
import getpass
username = getpass.getuser()
return password(text=username, title="Informe sua senha:", mask=mask, timeout=timeout)
def input(text='', title='', default='', root=None, timeout=None):
result ... | 32 | 90 | 0.713942 | 52 | 416 | 5.711538 | 0.480769 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146635 | 416 | 12 | 91 | 34.666667 | 0.83662 | 0 | 0 | 0 | 0 | 0 | 0.045673 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.5 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
bef321e964632abb9a68e3032518894beb7328e5 | 319 | py | Python | examples/idioms/programs/045.0570-pause-execution-for-5-seconds.py | laowantong/paroxython | 4626798a60eeaa765dbfab9e63e04030c9fcb1d0 | [
"MIT"
] | 31 | 2020-05-02T13:34:26.000Z | 2021-06-06T17:25:52.000Z | examples/idioms/programs/045.0570-pause-execution-for-5-seconds.py | laowantong/paroxython | 4626798a60eeaa765dbfab9e63e04030c9fcb1d0 | [
"MIT"
] | 108 | 2019-11-18T19:41:52.000Z | 2022-03-18T13:58:17.000Z | examples/idioms/programs/045.0570-pause-execution-for-5-seconds.py | laowantong/paroxython | 4626798a60eeaa765dbfab9e63e04030c9fcb1d0 | [
"MIT"
] | 4 | 2020-05-19T08:57:44.000Z | 2020-09-21T08:53:46.000Z | """Pause execution for 5 seconds.
Sleep for 5 seconds in current thread, before proceeding with next instructions.
Source: programming-idioms.org
"""
# Implementation author: JackStouffer
# Created on 2015-11-30T12:37:29.012454Z
# Last modified on 2015-11-30T12:37:29.012454Z
# Version 1
import time
time.sleep(5)
| 19.9375 | 80 | 0.768025 | 48 | 319 | 5.104167 | 0.729167 | 0.032653 | 0.089796 | 0.106122 | 0.195918 | 0.195918 | 0.195918 | 0 | 0 | 0 | 0 | 0.16 | 0.137931 | 319 | 15 | 81 | 21.266667 | 0.730909 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
befeabdd3a08adf4504adc632a3e74fc6c81dc55 | 117 | py | Python | main/forms.py | manishmanjul77/Simulated-system-for-automation | 7eeda0546b0511517a5b42fb813076873846e0ca | [
"MIT"
] | 1 | 2021-05-21T21:09:29.000Z | 2021-05-21T21:09:29.000Z | main/forms.py | manishmanjul77/Simulated-system-for-automation | 7eeda0546b0511517a5b42fb813076873846e0ca | [
"MIT"
] | null | null | null | main/forms.py | manishmanjul77/Simulated-system-for-automation | 7eeda0546b0511517a5b42fb813076873846e0ca | [
"MIT"
] | null | null | null | from django import forms
class DocumentForm(forms.Form):
docfile = forms.FileField(label='Select a file')
| 19.5 | 53 | 0.717949 | 15 | 117 | 5.6 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188034 | 117 | 5 | 54 | 23.4 | 0.884211 | 0 | 0 | 0 | 0 | 0 | 0.116071 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8305d46e0b37d428546e312ab5e777ca277cf664 | 165 | py | Python | ee/clickhouse/migrations/0011_cohortpeople_no_shard.py | msnitish/posthog | cb86113f568e72eedcb64b5fd00c313d21e72f90 | [
"MIT"
] | null | null | null | ee/clickhouse/migrations/0011_cohortpeople_no_shard.py | msnitish/posthog | cb86113f568e72eedcb64b5fd00c313d21e72f90 | [
"MIT"
] | null | null | null | ee/clickhouse/migrations/0011_cohortpeople_no_shard.py | msnitish/posthog | cb86113f568e72eedcb64b5fd00c313d21e72f90 | [
"MIT"
] | null | null | null | # This migration has been removed - it was only ever relevant on posthog-cloud and caused issues with
# replicated schema migration.
operations = [] # type: ignore
| 41.25 | 101 | 0.763636 | 23 | 165 | 5.478261 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175758 | 165 | 3 | 102 | 55 | 0.926471 | 0.854545 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
830887740b4ead5f2068881773ce828778b7f33d | 15,025 | py | Python | src/oci/identity/models/__init__.py | ezequielramos/oci-python-sdk | cc4235cf217beaf9feed75760e9ce82610222762 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/oci/identity/models/__init__.py | ezequielramos/oci-python-sdk | cc4235cf217beaf9feed75760e9ce82610222762 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | src/oci/identity/models/__init__.py | ezequielramos/oci-python-sdk | cc4235cf217beaf9feed75760e9ce82610222762 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | # coding: utf-8
# Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c... | 55.442804 | 245 | 0.863161 | 1,172 | 15,025 | 10.790102 | 0.225256 | 0.055512 | 0.007117 | 0.007117 | 0.0514 | 0.009964 | 0 | 0 | 0 | 0 | 0 | 0.003148 | 0.090982 | 15,025 | 270 | 246 | 55.648148 | 0.922756 | 0.025624 | 0 | 0 | 0 | 0 | 0.187837 | 0.129894 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.045627 | 0.501901 | 0 | 0.501901 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
83128ed5095da60deeb417c6c2a30365d04a9f10 | 3,698 | py | Python | tensorflow/python/keras/layers/preprocessing/categorical_encoding_v1.py | joshz123/tensorflow | 7841ca029060ab78e221e757d4b1ee6e3e0ffaa4 | [
"Apache-2.0"
] | 57 | 2017-09-03T07:08:31.000Z | 2022-02-28T04:33:42.000Z | tensorflow/python/keras/layers/preprocessing/categorical_encoding_v1.py | sagol/tensorflow | 04f2870814d2773e09dcfa00cbe76a66a2c4de88 | [
"Apache-2.0"
] | 58 | 2021-11-22T05:41:28.000Z | 2022-01-19T01:33:40.000Z | tensorflow/python/keras/layers/preprocessing/categorical_encoding_v1.py | sagol/tensorflow | 04f2870814d2773e09dcfa00cbe76a66a2c4de88 | [
"Apache-2.0"
] | 66 | 2020-05-15T10:05:12.000Z | 2022-02-14T07:28:18.000Z | # Copyright 2020 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 53.594203 | 81 | 0.731476 | 532 | 3,698 | 5.007519 | 0.421053 | 0.013138 | 0.018018 | 0.012012 | 0.054805 | 0.025526 | 0.025526 | 0.025526 | 0 | 0 | 0 | 0.004741 | 0.20146 | 3,698 | 68 | 82 | 54.382353 | 0.897392 | 0.849648 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.625 | 0 | 0.75 | 0.125 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
831b3e78664801abbec3b75b5b236657ba1df0e9 | 281 | py | Python | pinaxcon/registrasion/admin.py | lamby/website | f7cb924f39daac9eb5e80df9013d04c8f99da78a | [
"MIT"
] | 4 | 2017-08-09T02:17:14.000Z | 2019-11-02T02:37:41.000Z | pinaxcon/registrasion/admin.py | bheklilr/pyarkansas-website | da51cd86da757796b7f21c696190d3790bb51ec5 | [
"MIT"
] | 59 | 2017-08-09T02:19:42.000Z | 2021-11-30T03:16:58.000Z | pinaxcon/registrasion/admin.py | bheklilr/pyarkansas-website | da51cd86da757796b7f21c696190d3790bb51ec5 | [
"MIT"
] | 6 | 2017-12-15T23:37:08.000Z | 2020-10-01T06:06:49.000Z | import models
from django.contrib import admin
from django.utils.translation import ugettext_lazy as _
@admin.register(models.AttendeeProfile)
class UserProfileAdmin(admin.ModelAdmin):
model = models.AttendeeProfile
list_display = ("name", "company", "name_per_invoice")
| 28.1 | 58 | 0.793594 | 33 | 281 | 6.606061 | 0.69697 | 0.091743 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117438 | 281 | 9 | 59 | 31.222222 | 0.879032 | 0 | 0 | 0 | 0 | 0 | 0.096085 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
833c5a51cc676092de9b8b8151b45fe9ded1d76f | 114 | py | Python | tests/conftest.py | nuno-andre/pydentic | 3351a3682c4bcc38d356210b8aad83021ef7ddab | [
"BSD-3-Clause"
] | 3 | 2021-06-18T10:41:46.000Z | 2022-01-29T16:27:05.000Z | tests/conftest.py | nuno-andre/pydentic | 3351a3682c4bcc38d356210b8aad83021ef7ddab | [
"BSD-3-Clause"
] | 1 | 2021-11-08T20:12:53.000Z | 2021-11-10T14:58:56.000Z | tests/conftest.py | nuno-andre/pydentic | 3351a3682c4bcc38d356210b8aad83021ef7ddab | [
"BSD-3-Clause"
] | null | null | null | from pathlib import Path
import sys
basedir = Path(__file__).parents[1]
sys.path.insert(0, str(basedir / 'src'))
| 19 | 40 | 0.736842 | 18 | 114 | 4.444444 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.122807 | 114 | 5 | 41 | 22.8 | 0.78 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
55d8f4cddb7893c2fb759ef2efec213da1549314 | 148 | py | Python | backend/auth/apps.py | Guanch1/rep1 | a0ab377be65acd85f12e13cc2e1d340e5e0e76cd | [
"MIT"
] | 20 | 2021-01-08T08:23:27.000Z | 2022-03-17T10:16:25.000Z | backend/auth/apps.py | Guanch1/rep1 | a0ab377be65acd85f12e13cc2e1d340e5e0e76cd | [
"MIT"
] | 7 | 2021-03-17T09:59:03.000Z | 2022-02-06T08:56:48.000Z | backend/auth/apps.py | Guanch1/rep1 | a0ab377be65acd85f12e13cc2e1d340e5e0e76cd | [
"MIT"
] | 20 | 2021-06-02T08:09:46.000Z | 2022-03-29T14:40:55.000Z | from django.apps import AppConfig
class AuthAppConfig(AppConfig):
label = 'backend_auth'
name = 'backend.auth'
verbose_name = 'Users'
| 18.5 | 33 | 0.709459 | 17 | 148 | 6.058824 | 0.764706 | 0.213592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195946 | 148 | 7 | 34 | 21.142857 | 0.865546 | 0 | 0 | 0 | 0 | 0 | 0.195946 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.