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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fe1dd55af5cfb0d56d82d5b39b541add8efe58fc | 3,049 | py | Python | tests/test_subset_csv.py | ucsd-ccbb/covid_sequencing_analysis_pipeline | 91d2c4368cdb68f462bcb6e1c6a869e88e38fad0 | [
"MIT"
] | 4 | 2021-03-24T23:07:55.000Z | 2021-04-16T20:59:01.000Z | tests/test_subset_csv.py | ucsd-ccbb/covid_sequencing_analysis_pipeline | 91d2c4368cdb68f462bcb6e1c6a869e88e38fad0 | [
"MIT"
] | 87 | 2021-03-18T16:57:16.000Z | 2021-09-09T18:23:59.000Z | tests/test_subset_csv.py | ucsd-ccbb/covid_sequencing_analysis_pipeline | 91d2c4368cdb68f462bcb6e1c6a869e88e38fad0 | [
"MIT"
] | 3 | 2021-03-20T22:14:04.000Z | 2021-04-13T15:26:28.000Z | import os
import filecmp
from tests.test_sarscov2_consensus_acceptance import FileTestCase
from qc.subset_csv import filter_csv
class SubsetCsvTest(FileTestCase):
def test_filter_csv_filter_lines(self):
output_fp = f"{self.test_temp_dir}/temp_test_filter_lines.csv"
expected_fp = f"{self.dummy_dir}... | 53.491228 | 552 | 0.704493 | 414 | 3,049 | 4.826087 | 0.207729 | 0.048048 | 0.066066 | 0.09009 | 0.721722 | 0.712713 | 0.712713 | 0.697197 | 0.674174 | 0.652653 | 0 | 0.10883 | 0.201378 | 3,049 | 56 | 553 | 54.446429 | 0.711704 | 0.005576 | 0 | 0.4 | 0 | 0.04 | 0.467151 | 0.410366 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.08 | false | 0.02 | 0.08 | 0 | 0.18 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a3b91d53bc9dcdf0dd0984b87457aa082529d4e2 | 2,287 | py | Python | analyse/migrations/0005_auto_20181112_1450.py | cuizhenduo/watermelon | 98933979ba40fdc0f0257598c28191f209a822d2 | [
"Apache-2.0"
] | null | null | null | analyse/migrations/0005_auto_20181112_1450.py | cuizhenduo/watermelon | 98933979ba40fdc0f0257598c28191f209a822d2 | [
"Apache-2.0"
] | null | null | null | analyse/migrations/0005_auto_20181112_1450.py | cuizhenduo/watermelon | 98933979ba40fdc0f0257598c28191f209a822d2 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.0.4 on 2018-11-12 14:50
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('analyse', '0004_plantrange'),
]
operations = [
migrations.AlterField(
model_name='plantrange',
name='ChengshuTimeH',... | 35.734375 | 93 | 0.602099 | 217 | 2,287 | 6.156682 | 0.258065 | 0.149701 | 0.187126 | 0.217066 | 0.770958 | 0.770958 | 0.449102 | 0.449102 | 0.449102 | 0.449102 | 0 | 0.03591 | 0.281592 | 2,287 | 63 | 94 | 36.301587 | 0.777237 | 0.019676 | 0 | 0.526316 | 1 | 0 | 0.126786 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017544 | 0 | 0.070175 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a3e53d1d9df89d20e055a0c339cee82abae39bac | 2,877 | py | Python | keras/layers/rnn/__init__.py | futtetennista/keras | e7b4343f127784a84ef344ecb728b4de123155ad | [
"Apache-2.0"
] | null | null | null | keras/layers/rnn/__init__.py | futtetennista/keras | e7b4343f127784a84ef344ecb728b4de123155ad | [
"Apache-2.0"
] | null | null | null | keras/layers/rnn/__init__.py | futtetennista/keras | e7b4343f127784a84ef344ecb728b4de123155ad | [
"Apache-2.0"
] | null | null | null | # Copyright 2016 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 39.410959 | 91 | 0.781022 | 427 | 2,877 | 5.192037 | 0.306792 | 0.133965 | 0.223275 | 0.26793 | 0.428056 | 0.382048 | 0.337393 | 0.126297 | 0 | 0 | 0 | 0.016302 | 0.125826 | 2,877 | 72 | 92 | 39.958333 | 0.865209 | 0.308307 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.772727 | 0 | 0.772727 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a3f4f668debdb5f4da3d5eff20fd8da5d70a5de1 | 88 | py | Python | pandagg/node/query/shape.py | leonardbinet/pandagg | 5a5619e2190503da841e32782a4e55b35727d656 | [
"MIT"
] | 13 | 2020-03-03T20:59:08.000Z | 2022-02-16T09:51:40.000Z | pandagg/node/query/shape.py | leonardbinet/pandagg | 5a5619e2190503da841e32782a4e55b35727d656 | [
"MIT"
] | 57 | 2020-06-21T18:48:20.000Z | 2022-03-16T09:52:39.000Z | pandagg/node/query/shape.py | leonardbinet/pandagg | 5a5619e2190503da841e32782a4e55b35727d656 | [
"MIT"
] | 2 | 2020-03-03T20:59:20.000Z | 2020-05-10T20:31:53.000Z | from .abstract import LeafQueryClause
class Shape(LeafQueryClause):
KEY = "shape"
| 14.666667 | 37 | 0.75 | 9 | 88 | 7.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170455 | 88 | 5 | 38 | 17.6 | 0.90411 | 0 | 0 | 0 | 0 | 0 | 0.056818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
430a2cb7cbe155905b6760a51c9455edb794f7ef | 693 | py | Python | lib/cicdctl/commands/types/group.py | cicdenv/cicdenv | 5b72fd9ef000bf07c2052471b59edaa91af18778 | [
"MIT"
] | 8 | 2020-08-10T20:57:24.000Z | 2021-08-08T10:46:20.000Z | lib/cicdctl/commands/types/group.py | cicdenv/cicdenv | 5b72fd9ef000bf07c2052471b59edaa91af18778 | [
"MIT"
] | null | null | null | lib/cicdctl/commands/types/group.py | cicdenv/cicdenv | 5b72fd9ef000bf07c2052471b59edaa91af18778 | [
"MIT"
] | 1 | 2020-08-10T20:42:09.000Z | 2020-08-10T20:42:09.000Z | import click
from collections import namedtuple
class Group(namedtuple('Group', ['name', 'workspace'])):
def __str__(self):
return f'{self.name}:{self.workspace}'
def parse_group(value):
"""Parses a command line "group" value into its name, workspace parts.
Keyword arguments:
value -- <gro... | 23.896552 | 92 | 0.659452 | 88 | 693 | 5.125 | 0.522727 | 0.115299 | 0.119734 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009158 | 0.212121 | 693 | 28 | 93 | 24.75 | 0.81685 | 0.304473 | 0 | 0 | 0 | 0 | 0.112311 | 0.060475 | 0 | 0 | 0 | 0.035714 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0.142857 | 0.785714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
430d02659060b48698ae09e1dbfe8671e70ffa8c | 157 | py | Python | utils/create_models.py | bolilyivs/MirrorIS_Server | 06a53f893881adbe53778463b11639a0c85eb566 | [
"MIT"
] | 1 | 2019-12-23T08:36:30.000Z | 2019-12-23T08:36:30.000Z | utils/create_models.py | bolilyivs/MirrorIS_Server | 06a53f893881adbe53778463b11639a0c85eb566 | [
"MIT"
] | null | null | null | utils/create_models.py | bolilyivs/MirrorIS_Server | 06a53f893881adbe53778463b11639a0c85eb566 | [
"MIT"
] | null | null | null | from models.models import *
def create_tables():
User.create_table()
Repository.create_table()
Task.create_table()
QueueTask.create_table()
| 19.625 | 29 | 0.719745 | 19 | 157 | 5.684211 | 0.578947 | 0.407407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171975 | 157 | 7 | 30 | 22.428571 | 0.830769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.166667 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
4316c09cbdc728b8a19299d5e0e5dce33a3bdc9c | 402 | py | Python | goodcalc/strmanip.py | NoSocksForYou/kaaponparempimatikka | 19829c51e24012673fffde3c4bef3b5984f77105 | [
"MIT"
] | null | null | null | goodcalc/strmanip.py | NoSocksForYou/kaaponparempimatikka | 19829c51e24012673fffde3c4bef3b5984f77105 | [
"MIT"
] | null | null | null | goodcalc/strmanip.py | NoSocksForYou/kaaponparempimatikka | 19829c51e24012673fffde3c4bef3b5984f77105 | [
"MIT"
] | null | null | null | def replaceSlice(string, l_index, r_index, replaceable):
string = string[0:l_index] + string[r_index - 1:]
string = string[0:l_index] + replaceable + string[r_index:]
return string
def correctSpaces(expression):
return expression.replace(" ", "")
def replaceAlternateOperationSigns(expression):
r... | 25.125 | 63 | 0.711443 | 44 | 402 | 6.363636 | 0.363636 | 0.064286 | 0.157143 | 0.1 | 0.392857 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008876 | 0.159204 | 402 | 16 | 64 | 25.125 | 0.819527 | 0 | 0 | 0 | 0 | 0 | 0.009926 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.1 | 0 | 0.2 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
4320cbd200a170eb8dcde78ba843d36353b7b542 | 253 | py | Python | imbalanced_ensemble/sampler/under_sampling/_prototype_generation/__init__.py | ZhiningLiu1998/imbalanced-ensemble | 26670c8a6b7bab26ae1e18cba3174a9d9038a680 | [
"MIT"
] | 87 | 2021-05-19T08:29:26.000Z | 2022-03-30T23:59:05.000Z | imbalanced_ensemble/sampler/under_sampling/_prototype_generation/__init__.py | breakend2010/imbalanced-ensemble | d6ed07689ad8c9cd27ecd589849f7122b98ab1a4 | [
"MIT"
] | 8 | 2021-05-28T10:27:28.000Z | 2022-01-11T11:21:03.000Z | imbalanced_ensemble/sampler/under_sampling/_prototype_generation/__init__.py | breakend2010/imbalanced-ensemble | d6ed07689ad8c9cd27ecd589849f7122b98ab1a4 | [
"MIT"
] | 18 | 2021-05-19T08:30:29.000Z | 2022-03-28T08:30:10.000Z | """
The :mod:`imbalanced_ensemble.sampler.under_sampling.prototype_generation`
submodule contains methods that generate new samples in order to balance
the dataset.
"""
from ._cluster_centroids import ClusterCentroids
__all__ = ["ClusterCentroids"]
| 25.3 | 75 | 0.810277 | 29 | 253 | 6.758621 | 0.931034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110672 | 253 | 9 | 76 | 28.111111 | 0.871111 | 0.640316 | 0 | 0 | 1 | 0 | 0.192771 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4a536c57d425522b2ce8ad7d79ec94a787c170a7 | 304 | py | Python | Desafios/Ex-003.py | LuckyCards/Curso-Python3 | b39c7b2645220c71c35012f16c102428053fee25 | [
"MIT"
] | 1 | 2021-04-06T16:14:43.000Z | 2021-04-06T16:14:43.000Z | Desafios/Ex-003.py | LuckyCards/Curso-Python3 | b39c7b2645220c71c35012f16c102428053fee25 | [
"MIT"
] | null | null | null | Desafios/Ex-003.py | LuckyCards/Curso-Python3 | b39c7b2645220c71c35012f16c102428053fee25 | [
"MIT"
] | null | null | null | print(f'\033[33m{"β"*30:^30}\033[m')
print(f'\033[36m{"EXERCΓCIO NΒΊ 3":^30}\033[m')
print(f'\033[33m{"β"*30:^30}\033[m')
print("Soma de dois nΓΊmeros")
n1 = int(input("Digite o primeiro nΓΊmero: "))
n2 = int(input("Digite o segundo nΓΊmero: "))
s = n1 + n2
print(f"A soma entre {n1} e {n2} equivale a {s}.") | 38 | 50 | 0.621711 | 61 | 304 | 3.131148 | 0.47541 | 0.125654 | 0.141361 | 0.172775 | 0.324607 | 0.324607 | 0.272251 | 0.272251 | 0.272251 | 0.272251 | 0 | 0.152985 | 0.118421 | 304 | 8 | 50 | 38 | 0.552239 | 0 | 0 | 0.25 | 0 | 0 | 0.652459 | 0.170492 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.625 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
4a7bcb9bc81391ffc6d9f20ed7b411a6d38564a4 | 352 | py | Python | bicycleparking/migrations/0003_merge_20171208_0613.py | bikespace/bikespace | abd05b0232b5ef14bcc5abf64cfd2ef6141938c8 | [
"MIT"
] | 3 | 2019-01-25T23:04:12.000Z | 2019-05-28T18:46:30.000Z | bicycleparking/migrations/0003_merge_20171208_0613.py | bikespace/bikespace | abd05b0232b5ef14bcc5abf64cfd2ef6141938c8 | [
"MIT"
] | 12 | 2020-02-11T23:24:06.000Z | 2022-02-10T08:04:25.000Z | bicycleparking/migrations/0003_merge_20171208_0613.py | bikespace/bikespace | abd05b0232b5ef14bcc5abf64cfd2ef6141938c8 | [
"MIT"
] | 1 | 2019-01-25T23:08:34.000Z | 2019-01-25T23:08:34.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.11.1 on 2017-12-08 06:13
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('bicycleparking', '0002_auto_20171129_0126'),
('bicycleparking', '0002_auto_20171129_0128'),
... | 20.705882 | 54 | 0.676136 | 41 | 352 | 5.536585 | 0.756098 | 0.15859 | 0.193833 | 0.264317 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175 | 0.204545 | 352 | 16 | 55 | 22 | 0.635714 | 0.193182 | 0 | 0 | 1 | 0 | 0.263345 | 0.163701 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.222222 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
4a8cda5b95504dbf640cf3cfd44412f10b548a0f | 298 | py | Python | pysls/utils/rmdir.py | LucasFDutra/pysls | 8a31788d23a6b785def02187d43d2510f808da7f | [
"MIT"
] | 1 | 2021-09-06T08:00:38.000Z | 2021-09-06T08:00:38.000Z | pysls/utils/rmdir.py | LucasFDutra/pysls | 8a31788d23a6b785def02187d43d2510f808da7f | [
"MIT"
] | 6 | 2020-10-11T13:39:37.000Z | 2020-10-24T18:13:55.000Z | pysls/utils/rmdir.py | LucasFDutra/pysls | 8a31788d23a6b785def02187d43d2510f808da7f | [
"MIT"
] | null | null | null | import os
def rmdir(root_directory_name):
for root, dirs, files in os.walk(root_directory_name, topdown=False):
for name in files:
os.remove(os.path.join(root, name))
for name in dirs:
os.rmdir(os.path.join(root, name))
os.rmdir(root_directory_name) | 33.111111 | 73 | 0.651007 | 46 | 298 | 4.086957 | 0.369565 | 0.207447 | 0.271277 | 0.234043 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241611 | 298 | 9 | 74 | 33.111111 | 0.831858 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4a9e4695aba016e4122cfe78c24846f2ed3848de | 123 | py | Python | Codewars/7kyu/find-the-next-perfect-square/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | 7 | 2017-09-20T16:40:39.000Z | 2021-08-31T18:15:08.000Z | Codewars/7kyu/find-the-next-perfect-square/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | Codewars/7kyu/find-the-next-perfect-square/Python/solution1.py | RevansChen/online-judge | ad1b07fee7bd3c49418becccda904e17505f3018 | [
"MIT"
] | null | null | null | # Python - 2.7.6
def find_next_square(sq):
num = int(sq ** 0.5)
return (num + 1) ** 2 if (num ** 2) == sq else -1
| 20.5 | 53 | 0.520325 | 24 | 123 | 2.583333 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101124 | 0.276423 | 123 | 5 | 54 | 24.6 | 0.595506 | 0.113821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
4aabae3d79ce0bd8cb7f57a49b341407b4482f32 | 94 | py | Python | HotelManagement/hotel_home/apps.py | michaelnutt2/DjangoHotelManagementApp | b868dc08cce9c9f669a00b2aabc8d7378a6763a3 | [
"MIT"
] | null | null | null | HotelManagement/hotel_home/apps.py | michaelnutt2/DjangoHotelManagementApp | b868dc08cce9c9f669a00b2aabc8d7378a6763a3 | [
"MIT"
] | null | null | null | HotelManagement/hotel_home/apps.py | michaelnutt2/DjangoHotelManagementApp | b868dc08cce9c9f669a00b2aabc8d7378a6763a3 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class HotelHomeConfig(AppConfig):
name = 'hotel_home'
| 15.666667 | 33 | 0.765957 | 11 | 94 | 6.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 5 | 34 | 18.8 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4ac75126c71893b61c07505f3f0d34ab35b5baff | 25 | py | Python | bak/__init__.py | mike-k0/bak | 29fedad033f5b3f57d86246efb5647dca0363fec | [
"MIT"
] | 25 | 2020-10-29T00:02:30.000Z | 2021-10-09T15:18:43.000Z | bak/__init__.py | mike-k0/bak | 29fedad033f5b3f57d86246efb5647dca0363fec | [
"MIT"
] | 53 | 2020-10-28T23:32:26.000Z | 2021-11-11T01:19:16.000Z | bak/__init__.py | mike-k0/bak | 29fedad033f5b3f57d86246efb5647dca0363fec | [
"MIT"
] | 3 | 2020-10-28T23:33:45.000Z | 2021-10-15T18:17:02.000Z | BAK_VERSION = "0.2.2a10"
| 12.5 | 24 | 0.68 | 5 | 25 | 3.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0.12 | 25 | 1 | 25 | 25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.32 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
434eb7803d7607d0c0dd65a52a48dd4773fa1b67 | 1,319 | py | Python | tests/conftest.py | sixty-north/intentionally-blank | ef00c91003811b05170f417a3acbcf4bf92bd643 | [
"MIT"
] | null | null | null | tests/conftest.py | sixty-north/intentionally-blank | ef00c91003811b05170f417a3acbcf4bf92bd643 | [
"MIT"
] | null | null | null | tests/conftest.py | sixty-north/intentionally-blank | ef00c91003811b05170f417a3acbcf4bf92bd643 | [
"MIT"
] | null | null | null | from pathlib import Path
import pytest
DATA_DIRPATH = Path(__file__).parent / "data"
@pytest.fixture()
def airtravel_empty_file():
airtravel_filepath = DATA_DIRPATH / "airtravel_empty.py.txt"
with open(airtravel_filepath, "rt", encoding="utf8") as f:
yield f
@pytest.fixture()
def airtravel_ragged_... | 27.479167 | 84 | 0.72555 | 172 | 1,319 | 5.267442 | 0.180233 | 0.225166 | 0.10596 | 0.165563 | 0.809051 | 0.760486 | 0.488962 | 0.488962 | 0.488962 | 0.488962 | 0 | 0.005445 | 0.164519 | 1,319 | 47 | 85 | 28.06383 | 0.816697 | 0 | 0 | 0.545455 | 0 | 0 | 0.160728 | 0.130402 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.060606 | 0 | 0.242424 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
437155b4e9c7965a47a8e3c7e50d9eaa4363e8bb | 266 | py | Python | src/gedml/launcher/creators/factories/managers_creator.py | zbr17/GeDML | 83f6f835e7c3319e32432b3013820f98476cc96c | [
"MIT"
] | 25 | 2021-09-06T13:26:02.000Z | 2022-01-06T13:25:24.000Z | src/gedml/launcher/creators/factories/managers_creator.py | zbr17/GeDML | 83f6f835e7c3319e32432b3013820f98476cc96c | [
"MIT"
] | 1 | 2021-09-09T08:29:29.000Z | 2021-09-13T15:05:59.000Z | src/gedml/launcher/creators/factories/managers_creator.py | zbr17/GeDML | 83f6f835e7c3319e32432b3013820f98476cc96c | [
"MIT"
] | 2 | 2021-09-07T08:44:41.000Z | 2021-09-09T08:31:55.000Z | from .base_creator import BaseCreator
from ... import managers
from ...misc import utils
class managersCreator(BaseCreator):
def __init__(self, **kwargs):
super().__init__(**kwargs)
def prepare_packages(self):
self.package = [managers]
| 24.181818 | 37 | 0.68797 | 29 | 266 | 5.965517 | 0.62069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.199248 | 266 | 10 | 38 | 26.6 | 0.812207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
43948e30c4b791f958aa10a53dac345e9d1d16cb | 128 | py | Python | BigBuyPy/_tracking_api_methods.py | devandrepascoa/BigBuyPy | d69277cdf4cadc9922205600c63a2de0700c221d | [
"MIT"
] | null | null | null | BigBuyPy/_tracking_api_methods.py | devandrepascoa/BigBuyPy | d69277cdf4cadc9922205600c63a2de0700c221d | [
"MIT"
] | null | null | null | BigBuyPy/_tracking_api_methods.py | devandrepascoa/BigBuyPy | d69277cdf4cadc9922205600c63a2de0700c221d | [
"MIT"
] | null | null | null | class TrackingMixin:
def __init__(self):
raise NotImplementedError("This Class is not supposed to be instantiated")
| 32 | 82 | 0.742188 | 15 | 128 | 6.066667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195313 | 128 | 3 | 83 | 42.666667 | 0.883495 | 0 | 0 | 0 | 0 | 0 | 0.351563 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
4397b98a5f24e45d58ed06f169adab7183f9c275 | 386 | py | Python | eltyer/models/__init__.py | ELTYER/eltyer-python-client | b60585161dbbb23632e2a9c987f300f493b07939 | [
"Apache-2.0"
] | 1 | 2022-01-06T10:32:32.000Z | 2022-01-06T10:32:32.000Z | eltyer/models/__init__.py | ELTYER/eltyer-python-client | b60585161dbbb23632e2a9c987f300f493b07939 | [
"Apache-2.0"
] | 10 | 2022-01-06T11:15:32.000Z | 2022-03-12T09:56:15.000Z | eltyer/models/__init__.py | ELTYER/eltyer-python-client | b60585161dbbb23632e2a9c987f300f493b07939 | [
"Apache-2.0"
] | null | null | null | from eltyer.models.order_type import OrderType
from eltyer.models.order_side import OrderSide
from eltyer.models.order_status import OrderStatus
from eltyer.models.order import Order
from eltyer.models.position import Position
from eltyer.models.portfolio import Portfolio
__all__ = [
"OrderType",
"OrderSide",
... | 24.125 | 50 | 0.764249 | 46 | 386 | 6.26087 | 0.304348 | 0.208333 | 0.333333 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15285 | 386 | 15 | 51 | 25.733333 | 0.880734 | 0 | 0 | 0 | 0 | 0 | 0.132124 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
43ae2c60e12cfb1b5c700196725b5b79a73bf2e5 | 204 | py | Python | heroku-code/backend/services.py | nd-0r/Musiquity | 768e37201a793501c9e2f7972266d24d49fc3cf1 | [
"MIT"
] | null | null | null | heroku-code/backend/services.py | nd-0r/Musiquity | 768e37201a793501c9e2f7972266d24d49fc3cf1 | [
"MIT"
] | null | null | null | heroku-code/backend/services.py | nd-0r/Musiquity | 768e37201a793501c9e2f7972266d24d49fc3cf1 | [
"MIT"
] | 1 | 2021-10-02T04:03:55.000Z | 2021-10-02T04:03:55.000Z | from backend.service_components.spotify import Spotify
from backend.service_components.youtube import YouTube
services = {
'spotify': Spotify(),
'youtube_music': YouTube(),
'youtube': YouTube(),
}
| 22.666667 | 54 | 0.754902 | 22 | 204 | 6.863636 | 0.409091 | 0.145695 | 0.238411 | 0.370861 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122549 | 204 | 8 | 55 | 25.5 | 0.843575 | 0 | 0 | 0 | 0 | 0 | 0.132353 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
43c828c6ae59f409ab08587481038cd2762c4fbc | 256 | py | Python | spookyaction/ui.py | adam-short/spookyaction | a999050e877750715f43f28a8c5923258267eb63 | [
"MIT"
] | 2 | 2017-10-03T13:38:16.000Z | 2018-07-24T18:46:00.000Z | spookyaction/ui.py | adam-short/spookyaction | a999050e877750715f43f28a8c5923258267eb63 | [
"MIT"
] | null | null | null | spookyaction/ui.py | adam-short/spookyaction | a999050e877750715f43f28a8c5923258267eb63 | [
"MIT"
] | null | null | null | import pyautogui
class GUI_INTERFACE():
def __init__(self):
pass
def keywrite(self, *args, **kwargs):
pyautogui.typewrite(list(args), interval=kwargs.get("delay", 0.1))
def write(self, msg):
pyautogui.typewrite(msg)
| 19.692308 | 74 | 0.636719 | 31 | 256 | 5.096774 | 0.677419 | 0.227848 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010101 | 0.226563 | 256 | 12 | 75 | 21.333333 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0.019531 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0.125 | 0.125 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
78d8f9830ab4b08602501e59b745ee90dfad2d9a | 66 | py | Python | py_advanced_search_list_prod/__init__.py | saurabhranem/python_library | 04ba056468d96e978a64427179444de058e95d77 | [
"MIT"
] | null | null | null | py_advanced_search_list_prod/__init__.py | saurabhranem/python_library | 04ba056468d96e978a64427179444de058e95d77 | [
"MIT"
] | null | null | null | py_advanced_search_list_prod/__init__.py | saurabhranem/python_library | 04ba056468d96e978a64427179444de058e95d77 | [
"MIT"
] | null | null | null | name = "py_advanced_search_list_prod"
from .function import search | 33 | 37 | 0.848485 | 10 | 66 | 5.2 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 66 | 2 | 38 | 33 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.41791 | 0.41791 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
78ee17ad6c215c2f1d45d303f2c91aed43c0207b | 138 | py | Python | switchboard/apps.py | Duke-GCB/D4S2 | 47bef4b632967440608f2cc7a3fc31c32b2060fa | [
"MIT"
] | null | null | null | switchboard/apps.py | Duke-GCB/D4S2 | 47bef4b632967440608f2cc7a3fc31c32b2060fa | [
"MIT"
] | 138 | 2016-09-23T18:09:18.000Z | 2022-03-03T15:50:19.000Z | switchboard/apps.py | Duke-GCB/D4S2 | 47bef4b632967440608f2cc7a3fc31c32b2060fa | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.apps import AppConfig
class SwitchboardConfig(AppConfig):
name = 'switchboard'
| 17.25 | 39 | 0.804348 | 15 | 138 | 7.066667 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 138 | 7 | 40 | 19.714286 | 0.898305 | 0 | 0 | 0 | 0 | 0 | 0.07971 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
60081fe1c608f9c0fe15ca534abcf7914d11ffb0 | 101 | bzl | Python | third_party/bazel_skylib/lib/shell.bzl | jblebrun/arcs | 11e69d95d7e0972198fb40847b392284a0590c11 | [
"BSD-Source-Code"
] | 57 | 2017-05-17T02:27:13.000Z | 2022-03-24T07:45:39.000Z | third_party/bazel_skylib/lib/shell.bzl | jblebrun/arcs | 11e69d95d7e0972198fb40847b392284a0590c11 | [
"BSD-Source-Code"
] | 2,687 | 2017-04-28T01:25:03.000Z | 2022-01-07T13:51:39.000Z | third_party/bazel_skylib/lib/shell.bzl | jblebrun/arcs | 11e69d95d7e0972198fb40847b392284a0590c11 | [
"BSD-Source-Code"
] | 52 | 2017-04-28T00:06:50.000Z | 2021-08-29T05:36:06.000Z | """Re-exports shell rule."""
load("@bazel_skylib//lib:shell.bzl", _shell = "shell")
shell = _shell
| 16.833333 | 54 | 0.663366 | 14 | 101 | 4.571429 | 0.642857 | 0.46875 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118812 | 101 | 5 | 55 | 20.2 | 0.719101 | 0.217822 | 0 | 0 | 0 | 0 | 0.452055 | 0.383562 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
602ce4f2a5545176f7cf35e472a5dc5e881b1331 | 864 | py | Python | fgivenx/__init__.py | Stefan-Heimersheim/fgivenx | ef8b02f47eea24af4de1a17088c092ef9d523fec | [
"MIT"
] | 11 | 2017-10-13T11:04:53.000Z | 2021-03-26T15:54:12.000Z | fgivenx/__init__.py | Stefan-Heimersheim/fgivenx | ef8b02f47eea24af4de1a17088c092ef9d523fec | [
"MIT"
] | 16 | 2018-08-01T09:25:08.000Z | 2022-03-04T12:29:52.000Z | fgivenx/__init__.py | Stefan-Heimersheim/fgivenx | ef8b02f47eea24af4de1a17088c092ef9d523fec | [
"MIT"
] | 12 | 2018-02-04T20:34:01.000Z | 2021-12-10T10:58:20.000Z | """
The main driving routines for this package are:
* :func:`plot_contours <fgivenx.drivers.plot_contours>`
* :func:`plot_lines <fgivenx.drivers.plot_lines>`
* :func:`plot_dkl <fgivenx.drivers.plot_dkl>`
* :func:`samples_from_getdist_chains
<fgivenx.samples.samples_from_getdist_chains>`
Example import and usage:
... | 27 | 63 | 0.686343 | 118 | 864 | 4.771186 | 0.330508 | 0.117229 | 0.159858 | 0.213144 | 0.230906 | 0.120782 | 0.120782 | 0 | 0 | 0 | 0 | 0.006859 | 0.15625 | 864 | 31 | 64 | 27.870968 | 0.765432 | 0.846065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
602f51358f9816de2df6a22cb5b180fb8a4cfd8a | 106 | py | Python | setup.py | kajusz/ufscreenadsclient | 0151edec0117161c522a87643eef2f7be214210c | [
"MIT"
] | null | null | null | setup.py | kajusz/ufscreenadsclient | 0151edec0117161c522a87643eef2f7be214210c | [
"MIT"
] | null | null | null | setup.py | kajusz/ufscreenadsclient | 0151edec0117161c522a87643eef2f7be214210c | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from distutils.core import setup
import py2exe
setup(console=['ufads.py'])
| 15.142857 | 33 | 0.707547 | 15 | 106 | 5 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0.160377 | 106 | 6 | 34 | 17.666667 | 0.820225 | 0.198113 | 0 | 0 | 0 | 0 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
60310ecf6894b6df26c4eba52269c65aa4c79279 | 498 | py | Python | lzhw/pq.py | MNoorFawi/lzhw | 97beb8ad13e3fdf09358ce3d28084fa03389283a | [
"MIT"
] | 4 | 2020-05-29T02:40:04.000Z | 2021-04-08T17:35:58.000Z | lzhw/pq.py | MNoorFawi/lzhw | 97beb8ad13e3fdf09358ce3d28084fa03389283a | [
"MIT"
] | 1 | 2020-05-29T02:34:51.000Z | 2020-05-29T06:24:11.000Z | lzhw/pq.py | MNoorFawi/lzhw | 97beb8ad13e3fdf09358ce3d28084fa03389283a | [
"MIT"
] | 4 | 2020-05-29T02:32:14.000Z | 2022-01-14T15:55:02.000Z | from heapq import heappop, heappush
## to store codes for huffman coding
class CodeHeap():
def __init__(self):
self._container = []
def push(self, item):
heappush(self._container, item) # in by sort
def pop(self):
return heappop(self._container)#.popleft() # FIFO
def __geti... | 22.636364 | 58 | 0.640562 | 60 | 498 | 4.95 | 0.483333 | 0.262626 | 0.107744 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25502 | 498 | 21 | 59 | 23.714286 | 0.800539 | 0.12249 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.071429 | 0.285714 | 0.857143 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
6064386fa8709857e003fa79000944ec475f5ea5 | 8,244 | py | Python | onnxruntime/core/flatbuffers/ort_flatbuffers_py/experimental/fbs/Graph.py | dennyac/onnxruntime | d5175795d2b7f2db18b0390f394a49238f814668 | [
"MIT"
] | 6,036 | 2019-05-07T06:03:57.000Z | 2022-03-31T17:59:54.000Z | onnxruntime/core/flatbuffers/ort_flatbuffers_py/experimental/fbs/Graph.py | dennyac/onnxruntime | d5175795d2b7f2db18b0390f394a49238f814668 | [
"MIT"
] | 5,730 | 2019-05-06T23:04:55.000Z | 2022-03-31T23:55:56.000Z | onnxruntime/core/flatbuffers/ort_flatbuffers_py/experimental/fbs/Graph.py | dennyac/onnxruntime | d5175795d2b7f2db18b0390f394a49238f814668 | [
"MIT"
] | 1,566 | 2019-05-07T01:30:07.000Z | 2022-03-31T17:06:50.000Z | # automatically generated by the FlatBuffers compiler, do not modify
# namespace: fbs
import flatbuffers
from flatbuffers.compat import import_numpy
np = import_numpy()
class Graph(object):
__slots__ = ['_tab']
@classmethod
def GetRootAsGraph(cls, buf, offset):
n = flatbuffers.encode.Get(flatbuf... | 38.166667 | 170 | 0.664241 | 988 | 8,244 | 5.396761 | 0.134615 | 0.066954 | 0.152663 | 0.236309 | 0.637284 | 0.61928 | 0.562266 | 0.562266 | 0.562266 | 0.493999 | 0 | 0.017852 | 0.232169 | 8,244 | 215 | 171 | 38.344186 | 0.824487 | 0.026565 | 0 | 0.596273 | 1 | 0 | 0.0025 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.26087 | false | 0 | 0.049689 | 0.055901 | 0.565217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
607b67df1f5280639cef98fb0dbbe62e79b0bcaa | 727 | py | Python | webStorm-APICloud/python_tools/Lib/new.py | zzr925028429/androidyianyan | 8967fdba92473e8e65ee222515dfc54cdae5bb0b | [
"MIT"
] | 81 | 2017-03-13T08:24:01.000Z | 2021-04-02T09:48:38.000Z | Macros/Python/new.py | rec/DMXIS | 540baa59df6f4ae39990e5888f90b95caa362279 | [
"Artistic-2.0"
] | 6 | 2017-04-30T08:36:55.000Z | 2017-09-22T01:37:28.000Z | Macros/Python/new.py | rec/DMXIS | 540baa59df6f4ae39990e5888f90b95caa362279 | [
"Artistic-2.0"
] | 41 | 2017-03-18T14:11:58.000Z | 2021-04-14T05:06:09.000Z | """Create new objects of various types. Deprecated.
This module is no longer required except for backward compatibility.
Objects of most types can now be created by calling the type object.
"""
from warnings import warnpy3k
warnpy3k("The 'new' module has been removed in Python 3.0; use the 'types' "
... | 33.045455 | 77 | 0.759285 | 102 | 727 | 5.411765 | 0.617647 | 0.097826 | 0.163043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010345 | 0.202201 | 727 | 21 | 78 | 34.619048 | 0.941379 | 0.337001 | 0 | 0 | 0 | 0 | 0.176211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.076923 | 0.615385 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
60a0fb90ee1b1dcb5ab8eba52f1d5fd5a3c0e7b6 | 111 | py | Python | tools/slim/slim.py | dcortie/refnx | 037434fa0a64755f72c540d75063986bd517ab10 | [
"BSD-3-Clause"
] | 32 | 2016-04-18T15:29:59.000Z | 2022-03-27T08:35:29.000Z | tools/slim/slim.py | dcortie/refnx | 037434fa0a64755f72c540d75063986bd517ab10 | [
"BSD-3-Clause"
] | 116 | 2015-10-27T04:33:09.000Z | 2022-02-22T02:02:47.000Z | tools/slim/slim.py | dcortie/refnx | 037434fa0a64755f72c540d75063986bd517ab10 | [
"BSD-3-Clause"
] | 22 | 2015-09-29T23:21:15.000Z | 2022-02-27T18:12:18.000Z | import pandas
import h5py
import xlrd
if __name__ == "__main__":
from refnx.reduce import main
main()
| 13.875 | 33 | 0.711712 | 15 | 111 | 4.733333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.216216 | 111 | 7 | 34 | 15.857143 | 0.804598 | 0 | 0 | 0 | 0 | 0 | 0.072072 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
60be088dcf8790e0441c0ffad2121cd826ee1297 | 22 | py | Python | djangocms_text_ckeditor/__init__.py | webu/djangocms-text-ckeditor | 03e3139d6264d2ec5e7a61ad37c231fbdd502e0b | [
"BSD-3-Clause"
] | 255 | 2018-12-01T21:41:40.000Z | 2022-03-29T02:53:08.000Z | djangocms_text_ckeditor/__init__.py | webu/djangocms-text-ckeditor | 03e3139d6264d2ec5e7a61ad37c231fbdd502e0b | [
"BSD-3-Clause"
] | 32 | 2018-12-19T16:08:13.000Z | 2021-08-16T04:26:46.000Z | djangocms_text_ckeditor/__init__.py | webu/djangocms-text-ckeditor | 03e3139d6264d2ec5e7a61ad37c231fbdd502e0b | [
"BSD-3-Clause"
] | 34 | 2018-12-01T22:00:34.000Z | 2021-10-02T15:17:14.000Z | __version__ = "2.4.2"
| 11 | 21 | 0.636364 | 4 | 22 | 2.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0.136364 | 22 | 1 | 22 | 22 | 0.368421 | 0 | 0 | 0 | 0 | 0 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
60db9cbd03b0b5d96cb440442f036d7ed1650ff5 | 446 | py | Python | config.py | daleal/queue | 71bcfbf492026ef1125fcecddbdc12a81f007dc1 | [
"MIT"
] | null | null | null | config.py | daleal/queue | 71bcfbf492026ef1125fcecddbdc12a81f007dc1 | [
"MIT"
] | null | null | null | config.py | daleal/queue | 71bcfbf492026ef1125fcecddbdc12a81f007dc1 | [
"MIT"
] | null | null | null | import os
basedir = os.path.abspath(os.path.dirname(__file__))
class Config(object):
DEBUG = False
TESTING = False
CSRF_ENABLED = True
SECRET_KEY = os.environ.get('SQLALCHEMY_SECRET_KEY')
SQLALCHEMY_DATABASE_URI = (
os.environ.get('DATABASE_URL') or f'postgresql://'
f'{os.environ.g... | 29.733333 | 75 | 0.656951 | 61 | 446 | 4.557377 | 0.52459 | 0.194245 | 0.258993 | 0.201439 | 0.107914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174888 | 446 | 14 | 76 | 31.857143 | 0.755435 | 0 | 0 | 0 | 0 | 0 | 0.369955 | 0.313901 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.083333 | 0.083333 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
71483b2d7d5ebe814ed37fe59c4794761ba83070 | 264 | py | Python | boto3_type_annotations/boto3_type_annotations/eks/waiter.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 119 | 2018-12-01T18:20:57.000Z | 2022-02-02T10:31:29.000Z | boto3_type_annotations/boto3_type_annotations/eks/waiter.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 15 | 2018-11-16T00:16:44.000Z | 2021-11-13T03:44:18.000Z | boto3_type_annotations/boto3_type_annotations/eks/waiter.py | cowboygneox/boto3_type_annotations | 450dce1de4e066b939de7eac2ec560ed1a7ddaa2 | [
"MIT"
] | 11 | 2019-05-06T05:26:51.000Z | 2021-09-28T15:27:59.000Z | from typing import Dict
from botocore.waiter import Waiter
class ClusterActive(Waiter):
def wait(self, name: str, WaiterConfig: Dict = None):
pass
class ClusterDeleted(Waiter):
def wait(self, name: str, WaiterConfig: Dict = None):
pass
| 20.307692 | 57 | 0.693182 | 33 | 264 | 5.545455 | 0.515152 | 0.098361 | 0.142077 | 0.185792 | 0.52459 | 0.52459 | 0.52459 | 0.52459 | 0.52459 | 0.52459 | 0 | 0 | 0.219697 | 264 | 12 | 58 | 22 | 0.88835 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
715b2e51a508239a13d49233f2d0e39f4862ab77 | 21 | py | Python | api/core/constants.py | tropicoo/yt-dlp-bot | d9d9b42ced8ef2eede453c659c9272078f8ab2eb | [
"BSD-3-Clause"
] | 2 | 2022-03-10T03:07:23.000Z | 2022-03-22T07:36:16.000Z | api/core/constants.py | tropicoo/yt-dlp-bot | d9d9b42ced8ef2eede453c659c9272078f8ab2eb | [
"BSD-3-Clause"
] | 1 | 2022-03-18T08:03:26.000Z | 2022-03-18T08:03:26.000Z | api/core/constants.py | tropicoo/yt-dlp-bot | d9d9b42ced8ef2eede453c659c9272078f8ab2eb | [
"BSD-3-Clause"
] | null | null | null | GZIP_MIN_SIZE = 1000
| 10.5 | 20 | 0.809524 | 4 | 21 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0.142857 | 21 | 1 | 21 | 21 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
719d185a5ee65e8001cf3e4f71a6961fe138a88a | 6,462 | py | Python | tests/responses/test_static_response.py | TeoDV/jj | a58d91ad7b37ba3115daea4890190abede8f3353 | [
"Apache-2.0"
] | 4 | 2020-09-08T08:14:21.000Z | 2022-01-27T19:22:53.000Z | tests/responses/test_static_response.py | TeoDV/jj | a58d91ad7b37ba3115daea4890190abede8f3353 | [
"Apache-2.0"
] | 19 | 2018-02-13T05:51:25.000Z | 2022-03-27T22:48:11.000Z | tests/responses/test_static_response.py | TeoDV/jj | a58d91ad7b37ba3115daea4890190abede8f3353 | [
"Apache-2.0"
] | 3 | 2017-11-17T13:25:23.000Z | 2022-02-03T12:57:00.000Z | import os
import sys
if sys.version_info >= (3, 8):
from unittest import IsolatedAsyncioTestCase as TestCase
else:
from unittest import TestCase
import pytest
import jj
from jj import server_version
from jj.apps import create_app
from jj.handlers import default_handler
from jj.matchers import MethodMatcher
f... | 39.888889 | 95 | 0.655525 | 754 | 6,462 | 5.456233 | 0.143236 | 0.094798 | 0.134176 | 0.131259 | 0.781721 | 0.768352 | 0.768352 | 0.736753 | 0.666262 | 0.649976 | 0 | 0.003418 | 0.230269 | 6,462 | 161 | 96 | 40.136646 | 0.823683 | 0.010368 | 0 | 0.565574 | 0 | 0 | 0.102428 | 0.01112 | 0 | 0 | 0 | 0 | 0.245902 | 1 | 0.02459 | false | 0 | 0.106557 | 0.008197 | 0.172131 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
71a22cab3a5f46c536fa8e2e24f0611fcff253c2 | 1,091 | py | Python | PyOpenGL-3.0.2/OpenGL/raw/GL/ARB/base_instance.py | frederica07/Dragon_Programming_Process | c0dff2e20c1be6db5adc6f9977efae8f7f888ef5 | [
"BSD-2-Clause"
] | null | null | null | PyOpenGL-3.0.2/OpenGL/raw/GL/ARB/base_instance.py | frederica07/Dragon_Programming_Process | c0dff2e20c1be6db5adc6f9977efae8f7f888ef5 | [
"BSD-2-Clause"
] | null | null | null | PyOpenGL-3.0.2/OpenGL/raw/GL/ARB/base_instance.py | frederica07/Dragon_Programming_Process | c0dff2e20c1be6db5adc6f9977efae8f7f888ef5 | [
"BSD-2-Clause"
] | null | null | null | '''Autogenerated by get_gl_extensions script, do not edit!'''
from OpenGL import platform as _p, constants as _cs, arrays
from OpenGL.GL import glget
import ctypes
EXTENSION_NAME = 'GL_ARB_base_instance'
def _f( function ):
return _p.createFunction( function,_p.GL,'GL_ARB_base_instance',False)
@_f
@_p.types(None,_... | 45.458333 | 119 | 0.810266 | 144 | 1,091 | 5.868056 | 0.409722 | 0.063905 | 0.078107 | 0.039053 | 0.346746 | 0.249704 | 0.249704 | 0.224852 | 0.224852 | 0.224852 | 0 | 0 | 0.08066 | 1,091 | 23 | 120 | 47.434783 | 0.842473 | 0.107241 | 0 | 0.166667 | 1 | 0 | 0.041537 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0.166667 | 0.222222 | 0.055556 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
71b222c5c9c70a70a2997d836484238a8b1ba5b4 | 118 | py | Python | packages/jet_bridge_base/jet_bridge_base/models/table.py | bokal2/jet-bridge | dddc4f55c2d5a28c02ce9515dffc750e3887450f | [
"MIT"
] | 1,247 | 2019-01-10T22:22:08.000Z | 2022-03-29T20:54:32.000Z | packages/jet_bridge_base/jet_bridge_base/models/table.py | bokal2/jet-bridge | dddc4f55c2d5a28c02ce9515dffc750e3887450f | [
"MIT"
] | 12 | 2019-03-15T20:06:14.000Z | 2022-01-07T10:28:20.000Z | packages/jet_bridge_base/jet_bridge_base/models/table.py | bokal2/jet-bridge | dddc4f55c2d5a28c02ce9515dffc750e3887450f | [
"MIT"
] | 130 | 2019-02-26T17:36:53.000Z | 2022-03-17T22:46:27.000Z |
class Table(object):
def __init__(self, name, columns):
self.name = name
self.columns = columns
| 16.857143 | 38 | 0.610169 | 14 | 118 | 4.857143 | 0.571429 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.288136 | 118 | 6 | 39 | 19.666667 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
71be47594919ee6ab8b06b58bf9977e0ebc86ecd | 137 | py | Python | get_drives.py | Digitwidgit/Code-Snippets-for-Socket-Programming | 7e0a0744d3f16dcbe3e12b5ac5af2f9a01c655c3 | [
"Unlicense"
] | null | null | null | get_drives.py | Digitwidgit/Code-Snippets-for-Socket-Programming | 7e0a0744d3f16dcbe3e12b5ac5af2f9a01c655c3 | [
"Unlicense"
] | null | null | null | get_drives.py | Digitwidgit/Code-Snippets-for-Socket-Programming | 7e0a0744d3f16dcbe3e12b5ac5af2f9a01c655c3 | [
"Unlicense"
] | null | null | null | import os, string
available_drives = ['%s:' % d for d in string.ascii_uppercase if os.path.exists('%s:' % d)]
print(available_drives)
| 34.25 | 92 | 0.70073 | 22 | 137 | 4.227273 | 0.681818 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145985 | 137 | 3 | 93 | 45.666667 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
71c5e1cecfeaf0d1d874eef2a5522176f948df01 | 45 | py | Python | Chapter03/distribution/__init__.py | jvstinian/Python-Reinforcement-Learning-Projects | 6c97c68351fc4af426cb5c3583d75aebfabac8aa | [
"MIT"
] | 114 | 2018-10-20T15:32:59.000Z | 2022-03-21T14:16:25.000Z | Chapter03/distribution/__init__.py | jvstinian/Python-Reinforcement-Learning-Projects | 6c97c68351fc4af426cb5c3583d75aebfabac8aa | [
"MIT"
] | 11 | 2018-10-18T12:39:42.000Z | 2022-02-10T03:28:19.000Z | Chapter03/distribution/__init__.py | jvstinian/Python-Reinforcement-Learning-Projects | 6c97c68351fc4af426cb5c3583d75aebfabac8aa | [
"MIT"
] | 72 | 2018-10-12T13:02:32.000Z | 2022-03-11T13:03:26.000Z | '''
Created on 18 Sep 2017
@author: ywz
'''
| 7.5 | 22 | 0.6 | 7 | 45 | 3.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 0.222222 | 45 | 5 | 23 | 9 | 0.6 | 0.8 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
71e567494ed9c2f265dc3d95f587cae686dc6803 | 70 | py | Python | docs/labs/lab01/solutions/exercise1.py | lingcog/2019-CS109A | f1eaa62976fe989c3ad3f3ab4b8dd5d71574a2c3 | [
"MIT"
] | 442 | 2019-06-11T06:47:00.000Z | 2022-03-12T11:19:31.000Z | docs/labs/lab01/solutions/exercise1.py | lelandroberts97/2019-CS109A | 976da6b65c26fd3c5db285cbf9ec9cde92751a70 | [
"MIT"
] | 3 | 2019-09-23T17:32:51.000Z | 2022-02-09T06:06:00.000Z | docs/labs/lab01/solutions/exercise1.py | lelandroberts97/2019-CS109A | 976da6b65c26fd3c5db285cbf9ec9cde92751a70 | [
"MIT"
] | 486 | 2019-06-17T05:01:07.000Z | 2022-03-13T20:30:44.000Z | a = 3
b = 4.0
c = a + b
d = a - b
e = a / b
tup = (a, b, c, d, e)
tup
| 8.75 | 21 | 0.357143 | 21 | 70 | 1.190476 | 0.428571 | 0.32 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.414286 | 70 | 7 | 22 | 10 | 0.536585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
71e7f2ebde65af1d41f2296cd17e025fd3f47b3a | 1,056 | py | Python | snek_case/sneks/cool_snek.py | ARMcK-hub/template-python | c5e8c48fc92dde522f91227189a3d4822c86d170 | [
"MIT"
] | null | null | null | snek_case/sneks/cool_snek.py | ARMcK-hub/template-python | c5e8c48fc92dde522f91227189a3d4822c86d170 | [
"MIT"
] | 2 | 2022-02-24T02:58:57.000Z | 2022-02-24T02:59:15.000Z | snek_case/sneks/cool_snek.py | ARMcK-hub/template-pyspark | d5ba2e0175cab449b2a3b345b2be8978a7d238a3 | [
"MIT"
] | null | null | null | from .snek import Snek
class CoolSnek(Snek):
"""
A really cool type of Snek.
"""
snek_type = "cool"
snek = r"""
/^\/^\
_|__| O|
\/ /~ \_/ \
\____|__________/ \
\_______ \
... | 36.413793 | 64 | 0.122159 | 19 | 1,056 | 3.894737 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.763258 | 1,056 | 28 | 65 | 37.714286 | 0.296 | 0.025568 | 0 | 0.181818 | 0 | 0 | 0.907614 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.045455 | 0 | 0.181818 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e0a0847fd4c84f2041ae5e1ad17b4fb88bfcd686 | 201 | py | Python | udemy/python-video-workbook/my_progress/066.py | djrgit/coursework | 2a91da9b76cb1acbd12f3d8049f15d2e71f475a1 | [
"MIT"
] | null | null | null | udemy/python-video-workbook/my_progress/066.py | djrgit/coursework | 2a91da9b76cb1acbd12f3d8049f15d2e71f475a1 | [
"MIT"
] | null | null | null | udemy/python-video-workbook/my_progress/066.py | djrgit/coursework | 2a91da9b76cb1acbd12f3d8049f15d2e71f475a1 | [
"MIT"
] | 3 | 2018-08-13T23:14:22.000Z | 2019-01-11T22:50:07.000Z | # Exercise 66 - Translator
d = dict(weather = "clima", earth = "terra", rain = "chuva")
def vocabulary(word):
return d[word] if word in d else ''
word = input('Enter word: ')
print(vocabulary(word)) | 25.125 | 60 | 0.666667 | 29 | 201 | 4.62069 | 0.724138 | 0.208955 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011976 | 0.169154 | 201 | 8 | 61 | 25.125 | 0.790419 | 0.119403 | 0 | 0 | 0 | 0 | 0.153409 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0.2 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
e0a0f349a1b9e3e5c7644266d5db480a690643a4 | 62 | py | Python | djsw_wrapper/models.py | ErintLabs/django-openapi-gen | 0f39f0cc4ca98c34b989426851827e7764497156 | [
"MIT"
] | 4 | 2017-03-25T20:31:38.000Z | 2017-04-02T08:55:51.000Z | djsw_wrapper/models.py | Ecognize/django-openapi-gen | 0f39f0cc4ca98c34b989426851827e7764497156 | [
"MIT"
] | 18 | 2016-10-13T01:18:42.000Z | 2017-05-11T12:41:43.000Z | djsw_wrapper/models.py | ErintLabs/django-openapi-gen | 0f39f0cc4ca98c34b989426851827e7764497156 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# just to make ./manage.py check happy | 31 | 38 | 0.612903 | 10 | 62 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.177419 | 62 | 2 | 38 | 31 | 0.72549 | 0.935484 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e0aad674bce7e7c5ed21ff556d65abba93132a21 | 113 | py | Python | lib/spack/spack/test/util/unparse/__init__.py | player1537-forks/spack | 822b7632222ec5a91dc7b7cda5fc0e08715bd47c | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 348 | 2015-12-30T04:05:54.000Z | 2022-02-21T10:57:53.000Z | lib/spack/spack/test/util/unparse/__init__.py | player1537-forks/spack | 822b7632222ec5a91dc7b7cda5fc0e08715bd47c | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 3,994 | 2015-12-09T09:43:00.000Z | 2017-11-04T02:46:39.000Z | lib/spack/spack/test/util/unparse/__init__.py | player1537-forks/spack | 822b7632222ec5a91dc7b7cda5fc0e08715bd47c | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 359 | 2015-12-16T18:25:55.000Z | 2017-11-02T14:51:13.000Z | # Copyright (c) 2014-2021, Simon Percivall and Spack Project Developers.
#
# SPDX-License-Identifier: Python-2.0
| 28.25 | 72 | 0.761062 | 16 | 113 | 5.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10101 | 0.123894 | 113 | 3 | 73 | 37.666667 | 0.767677 | 0.938053 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e0addeb3795b577a2acff9075c83d401e135e2f3 | 10,526 | py | Python | sdl2/sdl2_ttf.py | vaiorabbit/python-sdl2 | 77b4ce73d83d19dedc943ae7f56ee6f73f62ecad | [
"Zlib"
] | 1 | 2018-03-12T01:54:40.000Z | 2018-03-12T01:54:40.000Z | sdl2/sdl2_ttf.py | vaiorabbit/python-sdl2 | 77b4ce73d83d19dedc943ae7f56ee6f73f62ecad | [
"Zlib"
] | null | null | null | sdl2/sdl2_ttf.py | vaiorabbit/python-sdl2 | 77b4ce73d83d19dedc943ae7f56ee6f73f62ecad | [
"Zlib"
] | null | null | null | # Python-SDL2 : Yet another SDL2 wrapper for Python
#
# * https://github.com/vaiorabbit/python-sdl2
#
# [NOTICE] This is an automatically generated file.
import ctypes
from .api import SDL2_API_NAMES, SDL2_API_ARGS_MAP, SDL2_API_RETVAL_MAP
from .api import SDL2_TTF_API_NAMES, SDL2_TTF_API_ARGS_MAP, SDL2_TTF_API_RETVAL... | 48.284404 | 167 | 0.796124 | 1,693 | 10,526 | 4.356763 | 0.056704 | 0.139507 | 0.199295 | 0.125271 | 0.868628 | 0.787419 | 0.692381 | 0.611307 | 0.564534 | 0.442923 | 0 | 0.018348 | 0.104218 | 10,526 | 217 | 168 | 48.506912 | 0.76392 | 0.017576 | 0 | 0 | 1 | 0 | 0.262006 | 0.132455 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006579 | false | 0 | 0.026316 | 0 | 0.032895 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e0b12af93dc04f25bb6d7fc1b3cffeb88ad47ed1 | 2,422 | py | Python | python/rename.py | usnationalarchives/nara-scripts | d86f94f64acadc83188628f6968920b9c3921d19 | [
"CC0-1.0"
] | 14 | 2018-02-15T16:12:20.000Z | 2021-03-16T19:48:32.000Z | python/rename.py | usnationalarchives/nara-scripts | d86f94f64acadc83188628f6968920b9c3921d19 | [
"CC0-1.0"
] | 7 | 2017-05-03T14:42:43.000Z | 2018-03-29T11:37:54.000Z | python/rename.py | usnationalarchives/nara-scripts | d86f94f64acadc83188628f6968920b9c3921d19 | [
"CC0-1.0"
] | 4 | 2018-03-06T19:59:14.000Z | 2019-12-20T04:56:11.000Z | # -*- coding: utf-8 -*-
import os
def renameFiles(folder='specialCharFix'):
print 'Renaming files of ' + folder + ' and its subfolders...'
for dirpath, _, filenames in os.walk(folder, topdown=True):
print '\nRenaming files from', dirpath, '\n'
if filenames:
for filename in f... | 45.698113 | 87 | 0.539637 | 221 | 2,422 | 5.633484 | 0.221719 | 0.462651 | 0.337349 | 0.404819 | 0.544578 | 0.544578 | 0.518072 | 0.518072 | 0.518072 | 0.518072 | 0 | 0.000594 | 0.30512 | 2,422 | 52 | 88 | 46.576923 | 0.737374 | 0.017341 | 0 | 0.521739 | 0 | 0 | 0.098495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.021739 | null | null | 0.152174 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e0cb3ddbb37299f42283bdf154a037945999b384 | 58 | py | Python | i3-tab-small.py | 11philip22/scripts | 28503b13a4cf6bef917404eca00d54e25733dfd4 | [
"MIT"
] | null | null | null | i3-tab-small.py | 11philip22/scripts | 28503b13a4cf6bef917404eca00d54e25733dfd4 | [
"MIT"
] | null | null | null | i3-tab-small.py | 11philip22/scripts | 28503b13a4cf6bef917404eca00d54e25733dfd4 | [
"MIT"
] | null | null | null | import i3ipc
i3ipc.Connection().command('workspace next') | 19.333333 | 44 | 0.793103 | 7 | 58 | 6.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.068966 | 58 | 3 | 44 | 19.333333 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0.237288 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e0cb93b0c0c5686c7cae6be4411ead6572b889a9 | 88 | py | Python | fastapi/middleware/httpsredirect.py | ivangsm/fastapi | a0a08f608b1397b0e8a33d139b733a39061e65b0 | [
"MIT"
] | 1 | 2021-07-06T14:01:52.000Z | 2021-07-06T14:01:52.000Z | fastapi/middleware/httpsredirect.py | ivangsm/fastapi | a0a08f608b1397b0e8a33d139b733a39061e65b0 | [
"MIT"
] | null | null | null | fastapi/middleware/httpsredirect.py | ivangsm/fastapi | a0a08f608b1397b0e8a33d139b733a39061e65b0 | [
"MIT"
] | 1 | 2021-07-06T14:35:31.000Z | 2021-07-06T14:35:31.000Z | from starlette.middleware.httpsredirect import ( # noqa
HTTPSRedirectMiddleware,
)
| 22 | 56 | 0.784091 | 7 | 88 | 9.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147727 | 88 | 3 | 57 | 29.333333 | 0.92 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e0d402297a3372ddcba6f9de4a32481010fe915b | 21,294 | py | Python | tests/hwsim/test_ap_params.py | doumadou/hostap | ad02e79d12fd70ed6bd5fbaf64001a2851e5bb7b | [
"Unlicense"
] | null | null | null | tests/hwsim/test_ap_params.py | doumadou/hostap | ad02e79d12fd70ed6bd5fbaf64001a2851e5bb7b | [
"Unlicense"
] | null | null | null | tests/hwsim/test_ap_params.py | doumadou/hostap | ad02e79d12fd70ed6bd5fbaf64001a2851e5bb7b | [
"Unlicense"
] | null | null | null | # Test various AP mode parameters
# Copyright (c) 2014, Qualcomm Atheros, Inc.
#
# This software may be distributed under the terms of the BSD license.
# See README for more details.
from remotehost import remote_compatible
import logging
logger = logging.getLogger()
import os
import subprocess
import hwsim_utils
imp... | 39.360444 | 84 | 0.621114 | 2,948 | 21,294 | 4.311398 | 0.11228 | 0.038395 | 0.02738 | 0.036113 | 0.803777 | 0.7369 | 0.698348 | 0.669866 | 0.662234 | 0.64524 | 0 | 0.055489 | 0.212924 | 21,294 | 540 | 85 | 39.433333 | 0.702864 | 0.061989 | 0 | 0.717622 | 0 | 0 | 0.221612 | 0.026372 | 0 | 0 | 0.004538 | 0 | 0 | 1 | 0.057325 | false | 0.046709 | 0.016985 | 0 | 0.07431 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e0dbeb7f22a08452ffc61297d75744423f6259bc | 247 | py | Python | ecommerce/apps/shipments/constants.py | crstnrm/ecommerce | 72e757b1ecc7b2dfeecabe0ff06ee9797815dc8e | [
"MIT"
] | null | null | null | ecommerce/apps/shipments/constants.py | crstnrm/ecommerce | 72e757b1ecc7b2dfeecabe0ff06ee9797815dc8e | [
"MIT"
] | null | null | null | ecommerce/apps/shipments/constants.py | crstnrm/ecommerce | 72e757b1ecc7b2dfeecabe0ff06ee9797815dc8e | [
"MIT"
] | null | null | null | from enum import IntEnum
class ShipmentStatus(IntEnum):
CREATED = 1
SENT = 2
COMPLETED = 3
NOT_COMPLETED = 4
class ShipmentProductStatus(IntEnum):
CREATED = 1
SENT = 2
RECEIVED = 3
RETURNED = 4
CANCELED = 5
| 14.529412 | 37 | 0.635628 | 29 | 247 | 5.37931 | 0.655172 | 0.179487 | 0.192308 | 0.24359 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052326 | 0.303644 | 247 | 16 | 38 | 15.4375 | 0.854651 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.083333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
1cc8a760a5136cbf5e5e503caca051d433ba9215 | 519 | py | Python | tests/user_test.py | IanMK-1/1-minute-app | f44dd652ab8107f27c81cb2f1c0eceb8cfd7ecfd | [
"MIT"
] | null | null | null | tests/user_test.py | IanMK-1/1-minute-app | f44dd652ab8107f27c81cb2f1c0eceb8cfd7ecfd | [
"MIT"
] | null | null | null | tests/user_test.py | IanMK-1/1-minute-app | f44dd652ab8107f27c81cb2f1c0eceb8cfd7ecfd | [
"MIT"
] | null | null | null | import unittest
from app.models import User
class UserTest(unittest.TestCase):
def setUp(self):
self.new_pitch_user = User(password='password')
def test_user_password_not_empty(self):
self.assertTrue(self.new_pitch_user.user_password is not None)
def test_block_access_to_password(self):
... | 28.833333 | 72 | 0.737958 | 69 | 519 | 5.26087 | 0.405797 | 0.077135 | 0.132231 | 0.176309 | 0.297521 | 0.297521 | 0.187328 | 0 | 0 | 0 | 0 | 0 | 0.177264 | 519 | 17 | 73 | 30.529412 | 0.850117 | 0 | 0 | 0 | 0 | 0 | 0.030829 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.333333 | false | 0.583333 | 0.166667 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
1cd4e87d9c3d065ef54e13c364cf1e57f2c6d29f | 545 | py | Python | Data Science and Machine Learning/Machine-Learning-In-Python-THOROUGH/EXAMPLES/EDABIT/EARLIER/01_rearrange_the_number.py | okara83/Becoming-a-Data-Scientist | f09a15f7f239b96b77a2f080c403b2f3e95c9650 | [
"MIT"
] | null | null | null | Data Science and Machine Learning/Machine-Learning-In-Python-THOROUGH/EXAMPLES/EDABIT/EARLIER/01_rearrange_the_number.py | okara83/Becoming-a-Data-Scientist | f09a15f7f239b96b77a2f080c403b2f3e95c9650 | [
"MIT"
] | null | null | null | Data Science and Machine Learning/Machine-Learning-In-Python-THOROUGH/EXAMPLES/EDABIT/EARLIER/01_rearrange_the_number.py | okara83/Becoming-a-Data-Scientist | f09a15f7f239b96b77a2f080c403b2f3e95c9650 | [
"MIT"
] | 2 | 2022-02-09T15:41:33.000Z | 2022-02-11T07:47:40.000Z | """
Rearrange the Number
Given a number, return the difference between the maximum and minimum numbers that can be formed when the digits are rearranged.
Examples
rearranged_difference(972882) β 760833
# 988722 - 227889 = 760833
rearranged_difference(3320707) β 7709823
# 7733200 - 23377 = 7709823
rearranged_differen... | 25.952381 | 128 | 0.743119 | 74 | 545 | 5.445946 | 0.608108 | 0.248139 | 0.133995 | 0.084367 | 0.114144 | 0.114144 | 0 | 0 | 0 | 0 | 0 | 0.196581 | 0.141284 | 545 | 21 | 129 | 25.952381 | 0.65812 | 0.66789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
1cd580623759b3e93c437a02519caf717e2fa051 | 184 | py | Python | models/Form.py | PaulinaKomorek/StockMarketTwitterInfluence | 0f635431a553919cb79e92f82bb868b1902ef3f4 | [
"MIT"
] | 1 | 2021-02-19T04:55:08.000Z | 2021-02-19T04:55:08.000Z | models/Form.py | PaulinaKomorek/StockMarketTwitterInfluence | 0f635431a553919cb79e92f82bb868b1902ef3f4 | [
"MIT"
] | null | null | null | models/Form.py | PaulinaKomorek/StockMarketTwitterInfluence | 0f635431a553919cb79e92f82bb868b1902ef3f4 | [
"MIT"
] | null | null | null | class Form:
company: str
user: str
days: int
def __init__(self, company, user, days):
self.company = company
self.user = user
self.days = days
| 18.4 | 44 | 0.570652 | 23 | 184 | 4.391304 | 0.434783 | 0.217822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.342391 | 184 | 9 | 45 | 20.444444 | 0.834711 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
1cef1236123a7817df429cdd4ea7d381f5416741 | 123 | py | Python | env/lib/python2.7/site-packages/annoying/exceptions.py | jlwysf/onduty | 20d90583a6996d037912af08eb29a6d6fa06bf66 | [
"MIT"
] | null | null | null | env/lib/python2.7/site-packages/annoying/exceptions.py | jlwysf/onduty | 20d90583a6996d037912af08eb29a6d6fa06bf66 | [
"MIT"
] | null | null | null | env/lib/python2.7/site-packages/annoying/exceptions.py | jlwysf/onduty | 20d90583a6996d037912af08eb29a6d6fa06bf66 | [
"MIT"
] | 1 | 2019-03-20T21:05:00.000Z | 2019-03-20T21:05:00.000Z | class Redirect(Exception):
def __init__(self, *args, **kwargs):
self.args = args
self.kwargs = kwargs
| 20.5 | 40 | 0.609756 | 14 | 123 | 5.071429 | 0.571429 | 0.225352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268293 | 123 | 5 | 41 | 24.6 | 0.788889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e80e62db2d12af7a8107365900d1f6cdacf8b460 | 206 | py | Python | exe_from_python.py | tonypithony/mijn-subprogram | ee7e0eed72fce31a84566e0c35c6952eeac794f4 | [
"MIT"
] | null | null | null | exe_from_python.py | tonypithony/mijn-subprogram | ee7e0eed72fce31a84566e0c35c6952eeac794f4 | [
"MIT"
] | null | null | null | exe_from_python.py | tonypithony/mijn-subprogram | ee7e0eed72fce31a84566e0c35c6952eeac794f4 | [
"MIT"
] | null | null | null | # ΠΡΠΎΡ ΠΌΠ΅ΡΠΎΠ΄ ΡΠ°Π±ΠΎΡΠ°Π΅Ρ ΡΠ°ΠΊ, ΠΊΠ°ΠΊ Π±ΡΠ΄ΡΠΎ ΡΠ°ΠΉΠ» Π·Π°ΠΏΡΡΡΠΈΠ»ΠΈ Π΄Π²ΠΎΠΉΠ½ΡΠΌ ΠΊΠ»ΠΈΠΊΠΎΠΌ --
# ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΡ Π±ΡΠ΄ΡΡ Π·Π°ΠΏΡΡΠ΅Π½Ρ, Π΄Π»Ρ ΡΠ°ΠΉΠ»ΠΎΠ² Π±ΡΠ΄Π΅Ρ Π²ΡΠ·Π²Π°Π½Π° Π°ΡΡΠΎΡΠΈΠΈΡΠΎΠ²Π°Π½Π½Π°Ρ
# Ρ Π½ΠΈΠΌΠΈ ΠΏΡΠΎΠ³ΡΠ°ΠΌΠΌΠ°.
import os
os.startfile('app4Stoma.exe') | 34.333333 | 71 | 0.762136 | 27 | 206 | 5.814815 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005848 | 0.169903 | 206 | 6 | 72 | 34.333333 | 0.912281 | 0.747573 | 0 | 0 | 0 | 0 | 0.295455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e8211c066a53ebcffc57ede2bfb3df074bb69c29 | 310 | py | Python | fileshare/models.py | sgilabert/active-vaulting | 7f48ad44978e6514a1f729f865319058829b3237 | [
"CC0-1.0"
] | null | null | null | fileshare/models.py | sgilabert/active-vaulting | 7f48ad44978e6514a1f729f865319058829b3237 | [
"CC0-1.0"
] | 3 | 2020-06-05T17:18:26.000Z | 2021-06-10T18:27:10.000Z | fileshare/models.py | sgilabert/active-vaulting | 7f48ad44978e6514a1f729f865319058829b3237 | [
"CC0-1.0"
] | null | null | null | from django.db import models
# Create your models here.
class TmpDropboxAccessTokenRetrieval(models.Model):
session_key = models.CharField(max_length=64, unique=True)
status = models.CharField(max_length=256, blank=True, null=True)
access_token = models.CharField(max_length=256, blank=True, null=True) | 38.75 | 72 | 0.793548 | 43 | 310 | 5.604651 | 0.581395 | 0.186722 | 0.224066 | 0.298755 | 0.365145 | 0.365145 | 0.365145 | 0.365145 | 0.365145 | 0 | 0 | 0.028777 | 0.103226 | 310 | 8 | 72 | 38.75 | 0.83813 | 0.077419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
e821c8a8524351cd9dd154c434ef5e4d598e25df | 1,020 | py | Python | onlinepayments/sdk/domain/mandate_contact_details.py | wl-online-payments-direct/sdk-python3 | 99fca127334520cde4ffa3a34cbea3b3a0d3fbff | [
"Apache-2.0"
] | null | null | null | onlinepayments/sdk/domain/mandate_contact_details.py | wl-online-payments-direct/sdk-python3 | 99fca127334520cde4ffa3a34cbea3b3a0d3fbff | [
"Apache-2.0"
] | null | null | null | onlinepayments/sdk/domain/mandate_contact_details.py | wl-online-payments-direct/sdk-python3 | 99fca127334520cde4ffa3a34cbea3b3a0d3fbff | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
#
# This class was auto-generated.
#
from onlinepayments.sdk.data_object import DataObject
class MandateContactDetails(DataObject):
"""
| Object containing contact details like email address and phone number
"""
__email_address = None
@property
def email_address(self)... | 26.153846 | 75 | 0.661765 | 107 | 1,020 | 6.121495 | 0.420561 | 0.201527 | 0.122137 | 0.058015 | 0.164886 | 0.164886 | 0 | 0 | 0 | 0 | 0 | 0.001311 | 0.251961 | 1,020 | 38 | 76 | 26.842105 | 0.857143 | 0.164706 | 0 | 0 | 1 | 0 | 0.044888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.052632 | 0 | 0.526316 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
e8369f270bd7519a39671ed69639f84fa36731c6 | 207 | py | Python | async_tools/current_task.py | HeavenVolkoff/async_tools | c2fb373f4de11542f61fdbf596955f118a2ba467 | [
"BSD-3-Clause"
] | 4 | 2019-10-30T20:03:31.000Z | 2021-03-05T18:29:42.000Z | async_tools/current_task.py | HeavenVolkoff/async_tools | c2fb373f4de11542f61fdbf596955f118a2ba467 | [
"BSD-3-Clause"
] | 2 | 2019-06-11T18:26:10.000Z | 2021-05-25T20:43:50.000Z | async_tools/current_task.py | HeavenVolkoff/async_tools | c2fb373f4de11542f61fdbf596955f118a2ba467 | [
"BSD-3-Clause"
] | 1 | 2021-05-24T13:31:13.000Z | 2021-05-24T13:31:13.000Z | # Internal
from asyncio import current_task
from warnings import warn
warn(
"async_tools.current_task is deprecated, use asyncio.current_task instead", DeprecationWarning
)
__all__ = ("current_task",)
| 20.7 | 98 | 0.792271 | 26 | 207 | 5.961538 | 0.615385 | 0.283871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135266 | 207 | 9 | 99 | 23 | 0.865922 | 0.038647 | 0 | 0 | 0 | 0 | 0.426396 | 0.121827 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e8386b010efca4885e6993c8b74180472c6ce6e9 | 1,697 | py | Python | pycommon/text.py | chbrown/python-common | 78880fb903a1f237388e3a124b969c185279a3d4 | [
"MIT"
] | null | null | null | pycommon/text.py | chbrown/python-common | 78880fb903a1f237388e3a124b969c185279a3d4 | [
"MIT"
] | null | null | null | pycommon/text.py | chbrown/python-common | 78880fb903a1f237388e3a124b969c185279a3d4 | [
"MIT"
] | null | null | null | import re
import codecs
import os.path
from .memo import memoized_property
class TextFile(object):
'''
TextFile is a representation of a text file on disk that memoizes (caches)
most of its functionality.
TODO: abstract the tokenizer somehow
'''
def __init__(self, filepath, encoding='utf-8')... | 26.936508 | 96 | 0.662935 | 221 | 1,697 | 4.954751 | 0.470588 | 0.087671 | 0.086758 | 0.029224 | 0.056621 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010363 | 0.203889 | 1,697 | 62 | 97 | 27.370968 | 0.800148 | 0.192693 | 0 | 0.15625 | 0 | 0 | 0.066463 | 0.016807 | 0 | 0 | 0 | 0.016129 | 0 | 1 | 0.28125 | false | 0 | 0.125 | 0.1875 | 0.6875 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
1c01bf910f3190ec59e838e26b5e09da623500c1 | 198 | py | Python | dist/brukva/tests/__init__.py | procool/mygw | f35b72b5915d314e883dcde45c3c33ff26f173df | [
"BSD-2-Clause"
] | 83 | 2015-01-05T08:16:02.000Z | 2021-11-12T11:42:46.000Z | dist/brukva/tests/__init__.py | procool/mygw | f35b72b5915d314e883dcde45c3c33ff26f173df | [
"BSD-2-Clause"
] | 4 | 2015-02-22T06:17:08.000Z | 2018-03-13T09:06:11.000Z | dist/brukva/tests/__init__.py | procool/mygw | f35b72b5915d314e883dcde45c3c33ff26f173df | [
"BSD-2-Clause"
] | 12 | 2015-01-22T06:03:42.000Z | 2019-02-09T08:52:21.000Z | import unittest
from server_commands import ServerCommandsTestCase
def all_tests():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(ServerCommandsTestCase))
return suite
| 22 | 61 | 0.792929 | 20 | 198 | 7.75 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141414 | 198 | 8 | 62 | 24.75 | 0.911765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1c02da2dcd10437ae24e2e153c7b92dab585848a | 25 | py | Python | pyhomeseer/devices/__init__.py | lenaxia/PyHomeSeer-old | 25554836c6fcbc14425cd524656f14f258668eee | [
"MIT"
] | 9 | 2017-11-05T15:30:06.000Z | 2020-11-03T15:22:57.000Z | pyhomeseer/devices/__init__.py | lenaxia/PyHomeSeer-old | 25554836c6fcbc14425cd524656f14f258668eee | [
"MIT"
] | 2 | 2017-09-11T23:30:23.000Z | 2017-09-12T14:07:02.000Z | pyhomeseer/devices/__init__.py | lenaxia/PyHomeSeer-old | 25554836c6fcbc14425cd524656f14f258668eee | [
"MIT"
] | 3 | 2020-08-01T14:21:52.000Z | 2021-11-05T00:22:15.000Z | """ HomeSeer Devices """
| 12.5 | 24 | 0.6 | 2 | 25 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.714286 | 0.64 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1c09858d8b282ee4c353f999753fa51a0996ee9b | 3,190 | py | Python | tests/integration/states/test_folder.py | dmurphy18/salt-ext-modules-vmware | 93342bfed2261c2f41232ff14d6cc0fb731b4d49 | [
"Apache-2.0"
] | null | null | null | tests/integration/states/test_folder.py | dmurphy18/salt-ext-modules-vmware | 93342bfed2261c2f41232ff14d6cc0fb731b4d49 | [
"Apache-2.0"
] | null | null | null | tests/integration/states/test_folder.py | dmurphy18/salt-ext-modules-vmware | 93342bfed2261c2f41232ff14d6cc0fb731b4d49 | [
"Apache-2.0"
] | 1 | 2021-12-15T02:46:59.000Z | 2021-12-15T02:46:59.000Z | # Copyright 2021 VMware, Inc.
# SPDX-License-Identifier: Apache-2.0
import pytest
import saltext.vmware.states.folder as folder
def test_create_folder_test(patch_salt_globals_folder_state_test):
"""
test create folder in test mode
"""
ret = folder.manage("test_folder_state", "create", "Datacenter", "v... | 35.444444 | 99 | 0.68652 | 417 | 3,190 | 4.973621 | 0.122302 | 0.153809 | 0.15188 | 0.08486 | 0.817261 | 0.786885 | 0.771456 | 0.663452 | 0.624879 | 0.490839 | 0 | 0.002276 | 0.173668 | 3,190 | 89 | 100 | 35.842697 | 0.784522 | 0.083386 | 0 | 0.425532 | 0 | 0 | 0.404711 | 0.102784 | 0 | 0 | 0 | 0 | 0.510638 | 1 | 0.170213 | false | 0 | 0.042553 | 0 | 0.212766 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1c25993c0c3cfefa42e58028c11afe254f13513b | 874 | py | Python | src/estimators.py | mkashifn/celosia | 2caa776620b9e7c3f63c41329f10c8c91fb4857f | [
"MIT"
] | null | null | null | src/estimators.py | mkashifn/celosia | 2caa776620b9e7c3f63c41329f10c8c91fb4857f | [
"MIT"
] | null | null | null | src/estimators.py | mkashifn/celosia | 2caa776620b9e7c3f63c41329f10c8c91fb4857f | [
"MIT"
] | null | null | null | #!/bin/python
import numpy as np
from functions import softmax
class Estimator:
def __init__(self):
pass
def __call__(self, A, B):
return self.fx(A, B)
def fx(self, A, B):
return 0
def dfx(self, A, B):
return 0
class MSE(Estimator):
def __init__(self):
pass
def fx(self, A, B):
retu... | 21.317073 | 51 | 0.599542 | 150 | 874 | 3.393333 | 0.32 | 0.039293 | 0.082515 | 0.094303 | 0.392927 | 0.284872 | 0.117878 | 0.117878 | 0.117878 | 0.117878 | 0 | 0.013554 | 0.240275 | 874 | 41 | 52 | 21.317073 | 0.753012 | 0.081236 | 0 | 0.529412 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.264706 | false | 0.058824 | 0.058824 | 0.117647 | 0.617647 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
1c2d762e5e744e5c8b75430425321b19fcc833b9 | 247 | py | Python | python/testData/inspections/PyUnboundLocalVariableInspection/OrPatternAlternativesDefineDifferentNames.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | python/testData/inspections/PyUnboundLocalVariableInspection/OrPatternAlternativesDefineDifferentNames.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | python/testData/inspections/PyUnboundLocalVariableInspection/OrPatternAlternativesDefineDifferentNames.py | 06needhamt/intellij-community | 63d7b8030e4fdefeb4760e511e289f7e6b3a5c5b | [
"Apache-2.0"
] | null | null | null | def func(x):
match x:
case [1, y] | [2, z]:
print(<warning descr="Local variable 'y' might be referenced before assignment">y</warning>, <warning descr="Local variable 'z' might be referenced before assignment">z</warning>) | 61.75 | 191 | 0.651822 | 35 | 247 | 4.6 | 0.542857 | 0.149068 | 0.21118 | 0.310559 | 0.409938 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.206478 | 247 | 4 | 191 | 61.75 | 0.811224 | 0 | 0 | 0 | 0 | 0 | 0.451613 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1c4f763e26ec6dbdbac76c7bc9b7877d48c06dc1 | 86 | py | Python | bokego/__init__.py | CGLemon/bokego | 351eac74e095ddae2cd98c50c91c599331a04c3a | [
"MIT"
] | null | null | null | bokego/__init__.py | CGLemon/bokego | 351eac74e095ddae2cd98c50c91c599331a04c3a | [
"MIT"
] | null | null | null | bokego/__init__.py | CGLemon/bokego | 351eac74e095ddae2cd98c50c91c599331a04c3a | [
"MIT"
] | null | null | null | import os
PKG_PATH = os.path.abspath(os.path.join(os.path.dirname( __file__ ), '..'))
| 28.666667 | 75 | 0.697674 | 14 | 86 | 3.928571 | 0.571429 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 86 | 2 | 76 | 43 | 0.705128 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1c616575964d574be022798c8014065bce4706da | 969 | py | Python | generated-libraries/python/netapp/vserver_peer/vserver_peer_state.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | 2 | 2017-03-28T15:31:26.000Z | 2018-08-16T22:15:18.000Z | generated-libraries/python/netapp/vserver_peer/vserver_peer_state.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | generated-libraries/python/netapp/vserver_peer/vserver_peer_state.py | radekg/netapp-ontap-lib-get | 6445ebb071ec147ea82a486fbe9f094c56c5c40d | [
"MIT"
] | null | null | null | class VserverPeerState(basestring):
"""
peered|pending|initializing|initiated|rejected|suspended|deleted
Possible values:
<ul>
<li> "peered" - Vserver peer relationship is
established and the respective applications can use peer
relationship,
<li> "pending" - Vserver peer re... | 33.413793 | 68 | 0.665635 | 105 | 969 | 6.12381 | 0.485714 | 0.068429 | 0.07154 | 0.077761 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.261094 | 969 | 28 | 69 | 34.607143 | 0.898045 | 0.769866 | 0 | 0 | 0 | 0 | 0.137405 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0.25 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
1c82a8e86ef24fff6e2b490df771ffb80bdd9a8e | 88 | py | Python | dataset/__init__.py | InchSoup/HWCC2020_RS_segmentation | ed21435e61c19a700e870acaaa1dfc27e0d5683c | [
"MIT"
] | 16 | 2020-12-25T12:46:20.000Z | 2021-11-28T10:22:42.000Z | dataset/__init__.py | InchSoup/HWCC2020_RS_segmentation | ed21435e61c19a700e870acaaa1dfc27e0d5683c | [
"MIT"
] | 1 | 2020-12-25T13:15:39.000Z | 2020-12-25T15:24:10.000Z | dataset/__init__.py | InchSoup/HWCC2020_RS_segmentation | ed21435e61c19a700e870acaaa1dfc27e0d5683c | [
"MIT"
] | 4 | 2020-12-25T13:15:33.000Z | 2021-02-05T08:54:41.000Z | from .RSCDataset import RSCDataset
from .transform import train_transform, val_transform | 44 | 53 | 0.875 | 11 | 88 | 6.818182 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 88 | 2 | 53 | 44 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1c92da2bb9d37ad32c4a1839b80a12d59a1e9b47 | 120 | py | Python | URI2766.py | rashidulhasanhridoy/URI-Online-Judge-Problem-Solve-with-Python-3 | c7db434e2e6e40c2ca3bd56db0d04cf79f69de12 | [
"Apache-2.0"
] | 2 | 2020-07-21T18:01:37.000Z | 2021-11-29T01:08:14.000Z | URI2766.py | rashidulhasanhridoy/URI-Online-Judge-Problem-Solve-with-Python-3 | c7db434e2e6e40c2ca3bd56db0d04cf79f69de12 | [
"Apache-2.0"
] | null | null | null | URI2766.py | rashidulhasanhridoy/URI-Online-Judge-Problem-Solve-with-Python-3 | c7db434e2e6e40c2ca3bd56db0d04cf79f69de12 | [
"Apache-2.0"
] | null | null | null | names = []
for i in range(10):
X =str(input(''))
names.append(X)
print(names[2])
print(names[6])
print(names[8]) | 17.142857 | 21 | 0.6 | 21 | 120 | 3.428571 | 0.666667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.166667 | 120 | 7 | 22 | 17.142857 | 0.67 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
98c2589144df2943d52c9cd4e6fbc72dd4e65a15 | 125 | py | Python | jaysblog/blueprints/oauth/__init__.py | cRiii/jaysblog | f96ecd82f17750a47147ae3c5e72cf1320be21e5 | [
"MIT"
] | 5 | 2019-10-14T01:51:02.000Z | 2019-11-07T15:01:14.000Z | jaysblog/blueprints/oauth/__init__.py | cRiii/jaysblog | f96ecd82f17750a47147ae3c5e72cf1320be21e5 | [
"MIT"
] | 1 | 2019-11-07T06:58:26.000Z | 2019-11-07T06:58:26.000Z | jaysblog/blueprints/oauth/__init__.py | cRiii/jaysblog | f96ecd82f17750a47147ae3c5e72cf1320be21e5 | [
"MIT"
] | null | null | null | """
# @TimeΒ Β Β : 2019/10/30 14:16
# @AuthorΒ Β : jay
# @FileΒ Β Β : __init__.py.py
# @GitHub Β : https://github.com/Locusc
""" | 20.833333 | 39 | 0.536 | 17 | 125 | 3.705882 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126316 | 0.24 | 125 | 6 | 40 | 20.833333 | 0.536842 | 0.936 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
98cb5ecfede7a2199b0f9573692806c65d09d315 | 10,124 | py | Python | eggs/BTrees-4.1.1-py2.7-linux-x86_64.egg/BTrees/tests/test_LOBTree.py | salayhin/talkofacta | 8b5a14245dd467bb1fda75423074c4840bd69fb7 | [
"MIT"
] | 2 | 2020-05-16T08:38:34.000Z | 2020-10-01T01:32:57.000Z | eggs/BTrees-4.1.1-py2.7-linux-x86_64.egg/BTrees/tests/test_LOBTree.py | salayhin/talkofacta | 8b5a14245dd467bb1fda75423074c4840bd69fb7 | [
"MIT"
] | 1 | 2021-03-25T21:51:01.000Z | 2021-03-25T21:51:01.000Z | eggs/BTrees-4.1.1-py2.7-linux-x86_64.egg/BTrees/tests/test_LOBTree.py | salayhin/talkofacta | 8b5a14245dd467bb1fda75423074c4840bd69fb7 | [
"MIT"
] | null | null | null | ##############################################################################
#
# Copyright (c) 2001-2012 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# THI... | 28.122222 | 78 | 0.703576 | 972 | 10,124 | 7.289095 | 0.154321 | 0.097248 | 0.124771 | 0.168807 | 0.596471 | 0.568807 | 0.557798 | 0.546224 | 0.523077 | 0.463232 | 0 | 0.001261 | 0.216416 | 10,124 | 359 | 79 | 28.200557 | 0.891844 | 0.045338 | 0 | 0.5 | 0 | 0 | 0.008529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.207627 | false | 0.008475 | 0.300847 | 0.004237 | 0.834746 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
98cfa1ec051ac7027b878465c2f4de8c96383ab8 | 97 | py | Python | restapi/papertrader/apps.py | Varun487/CapstoneProject_TradingSystem | b21e3f2c6c5e75596927666bf65294a2014babcf | [
"MIT"
] | 3 | 2022-01-10T01:39:00.000Z | 2022-01-11T13:17:36.000Z | restapi/papertrader/apps.py | Varun487/CapstoneProject_TradingSystem | b21e3f2c6c5e75596927666bf65294a2014babcf | [
"MIT"
] | null | null | null | restapi/papertrader/apps.py | Varun487/CapstoneProject_TradingSystem | b21e3f2c6c5e75596927666bf65294a2014babcf | [
"MIT"
] | 1 | 2022-01-09T07:30:36.000Z | 2022-01-09T07:30:36.000Z | from django.apps import AppConfig
class PapertraderConfig(AppConfig):
name = 'papertrader'
| 16.166667 | 35 | 0.773196 | 10 | 97 | 7.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154639 | 97 | 5 | 36 | 19.4 | 0.914634 | 0 | 0 | 0 | 0 | 0 | 0.113402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
98ddf7c5a62bbf69ee216c4f28e1dd1f6a83d4ee | 399 | py | Python | test/utils.py | pei223/deepext_with_lightning | e40ac19844a05864f803431d8ef4a534286a0950 | [
"MIT"
] | 1 | 2021-02-25T14:30:08.000Z | 2021-02-25T14:30:08.000Z | test/utils.py | pei223/deepext_with_lightning | e40ac19844a05864f803431d8ef4a534286a0950 | [
"MIT"
] | null | null | null | test/utils.py | pei223/deepext_with_lightning | e40ac19844a05864f803431d8ef4a534286a0950 | [
"MIT"
] | null | null | null | import warnings
from typing import Tuple
warnings.simplefilter('ignore')
import torch
def gen_random_tensor(batch_size: int, img_size: Tuple[int, int], channels: int = 3):
return torch.randn([batch_size, channels, img_size[0], img_size[1]])
def assert_tensor_shape(result_tensor: torch.Tensor, expected_shape: T... | 28.5 | 90 | 0.77193 | 58 | 399 | 5.086207 | 0.482759 | 0.071186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008571 | 0.122807 | 399 | 13 | 91 | 30.692308 | 0.834286 | 0 | 0 | 0 | 0 | 0 | 0.015038 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.375 | 0.125 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
98e165155a2afc3a740b85ed73d58558d256c0c8 | 1,729 | py | Python | tethysext/atcore/tests/unit_tests/__init__.py | Aquaveo/tethysext-atcore | 7a83ccea24fdbbe806f12154f938554dd6c8015f | [
"BSD-3-Clause"
] | 3 | 2020-11-05T23:50:47.000Z | 2021-02-26T21:43:29.000Z | tethysext/atcore/tests/unit_tests/__init__.py | Aquaveo/tethysext-atcore | 7a83ccea24fdbbe806f12154f938554dd6c8015f | [
"BSD-3-Clause"
] | 7 | 2020-10-29T16:53:49.000Z | 2021-05-07T19:46:47.000Z | tethysext/atcore/tests/unit_tests/__init__.py | Aquaveo/tethysext-atcore | 7a83ccea24fdbbe806f12154f938554dd6c8015f | [
"BSD-3-Clause"
] | null | null | null | from .mixins.status_mixin import StatusMixinTests # noqa: F401
from .mixins.options_mixin import OptionsMixinTests # noqa: F401
from .mixins.results_mixin import ResultMixinTests # noqa: F401
from .model_types.guid_tests import GuidTests # noqa: F401
from .services.app_users.licenses import LicensesTests # noqa: F... | 75.173913 | 105 | 0.841527 | 199 | 1,729 | 7.115578 | 0.296482 | 0.124294 | 0.144068 | 0.169492 | 0.262712 | 0.199859 | 0.05226 | 0 | 0 | 0 | 0 | 0.050355 | 0.104106 | 1,729 | 22 | 106 | 78.590909 | 0.863783 | 0.153268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
98e3351490e83d67a6a26d618dce33c66ce1c49a | 1,517 | py | Python | setup.py | narpfel/yay-ast | 2c090f9bce3f6846ef2eeb5dc157f95a0853fc7a | [
"PSF-2.0"
] | null | null | null | setup.py | narpfel/yay-ast | 2c090f9bce3f6846ef2eeb5dc157f95a0853fc7a | [
"PSF-2.0"
] | null | null | null | setup.py | narpfel/yay-ast | 2c090f9bce3f6846ef2eeb5dc157f95a0853fc7a | [
"PSF-2.0"
] | null | null | null | #!/usr/bin/env python3
from setuptools import setup, Extension
_yay_ast = Extension(
"_yay_ast",
include_dirs=["_yay_ast/Include"],
sources=[
"_yay_ast/Custom/yay_ast.c",
"_yay_ast/Parser/acceler.c",
"_yay_ast/Parser/bitset.c",
"_yay_ast/Parser/grammar.c",
"_yay_as... | 26.155172 | 48 | 0.582729 | 194 | 1,517 | 4.206186 | 0.283505 | 0.242647 | 0.207108 | 0.171569 | 0.041667 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0097 | 0.252472 | 1,517 | 57 | 49 | 26.614035 | 0.709877 | 0.013843 | 0 | 0.078431 | 0 | 0 | 0.545151 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.019608 | 0 | 0.019608 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
98f089dac7423c361a0c3bbf00a169da3b0e11b5 | 215 | py | Python | checkarg/exceptions/__init__.py | tiagogandarezff/checkarg | 99f2f18bebf99f47acb4f53925f7a0696de04bba | [
"MIT"
] | 17 | 2020-11-06T14:56:50.000Z | 2022-02-03T10:46:20.000Z | checkarg/exceptions/__init__.py | tiagogandarezff/checkarg | 99f2f18bebf99f47acb4f53925f7a0696de04bba | [
"MIT"
] | 12 | 2020-11-20T15:35:27.000Z | 2021-04-21T17:01:32.000Z | checkarg/exceptions/__init__.py | tiagogandarezff/checkarg | 99f2f18bebf99f47acb4f53925f7a0696de04bba | [
"MIT"
] | 4 | 2020-11-20T20:35:04.000Z | 2022-01-04T14:43:08.000Z | from .error_messages import (
DefaultErrorMessages,
NoneTypeErrorMessages,
NumberErrorMessages,
TextErrorMessages,
)
from .exceptions import ArgumentError, ArgumentNoneError, ArgumentOutOfRangeError
| 26.875 | 81 | 0.809302 | 14 | 215 | 12.357143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144186 | 215 | 7 | 82 | 30.714286 | 0.940217 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.285714 | 0 | 0.285714 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
98feacbd49d2c3d57a74d54cd3601c278dd8e5b2 | 252 | py | Python | unittest_reinvent/running_modes/inception_tests/test_add_jaccard_distance.py | lilleswing/Reinvent-1 | ac4e3e6fa6379c6f4af883478dfd1b3407933ada | [
"Apache-2.0"
] | 183 | 2020-04-04T02:01:15.000Z | 2022-03-30T21:56:56.000Z | unittest_reinvent/running_modes/inception_tests/test_add_jaccard_distance.py | lilleswing/Reinvent-1 | ac4e3e6fa6379c6f4af883478dfd1b3407933ada | [
"Apache-2.0"
] | 39 | 2020-04-05T15:19:56.000Z | 2022-03-09T12:58:21.000Z | unittest_reinvent/running_modes/inception_tests/test_add_jaccard_distance.py | lilleswing/Reinvent-1 | ac4e3e6fa6379c6f4af883478dfd1b3407933ada | [
"Apache-2.0"
] | 70 | 2020-04-05T19:25:43.000Z | 2022-02-22T12:04:39.000Z | from unittest_reinvent.running_modes.inception_tests.test_add_base import TestInceptionAddBase
class TestInceptionAddJaccardDistance(TestInceptionAddBase):
def test_eval_add_1(self):
self.assertEqual(len(self.inception_model.memory), 3)
| 31.5 | 94 | 0.833333 | 29 | 252 | 6.931034 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008811 | 0.099206 | 252 | 7 | 95 | 36 | 0.876652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c7047270ee829cd3fd3852057f291212955d6e0a | 2,582 | py | Python | ant/fs/beacon.py | CS6/openant | 590eea3a6ff78c35f1783c646bbbeba086dbe45e | [
"MIT"
] | 1 | 2020-10-05T16:50:23.000Z | 2020-10-05T16:50:23.000Z | openANT/ant/fs/beacon.py | RonanLeGuillou/ANT4ROTOR | cc188a8232c264098c34b99f665db82457891585 | [
"MIT"
] | null | null | null | openANT/ant/fs/beacon.py | RonanLeGuillou/ANT4ROTOR | cc188a8232c264098c34b99f665db82457891585 | [
"MIT"
] | 1 | 2020-10-05T17:02:28.000Z | 2020-10-05T17:02:28.000Z | # Ant
#
# Copyright (c) 2012, Gustav Tiger <gustav@tiger.name>
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, m... | 35.861111 | 96 | 0.726181 | 355 | 2,582 | 5.08169 | 0.461972 | 0.083149 | 0.054878 | 0.049889 | 0.165188 | 0.138581 | 0.122506 | 0.10643 | 0 | 0 | 0 | 0.056558 | 0.205655 | 2,582 | 71 | 97 | 36.366197 | 0.823013 | 0.453912 | 0 | 0 | 0 | 0 | 0.008708 | 0 | 0 | 0 | 0.029028 | 0.014085 | 0.030303 | 1 | 0.272727 | false | 0 | 0.060606 | 0.212121 | 0.666667 | 0.030303 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c704f6cee2654be986d694cd7d40afcf97a30bf5 | 278 | py | Python | pycred/credentials.py | devconsoft/pycred | d72bdae2e703a87a7424f08af326834281b83fee | [
"MIT"
] | null | null | null | pycred/credentials.py | devconsoft/pycred | d72bdae2e703a87a7424f08af326834281b83fee | [
"MIT"
] | 5 | 2018-07-01T22:53:24.000Z | 2018-07-17T21:54:10.000Z | pycred/credentials.py | devconsoft/pycred | d72bdae2e703a87a7424f08af326834281b83fee | [
"MIT"
] | null | null | null | class Credentials(object):
def __init__(self, username, password):
"""
Credentials.
:param username: Username
:param password: Password
"""
self.username = username #: Username
self.password = password #: Password
| 23.166667 | 45 | 0.582734 | 23 | 278 | 6.869565 | 0.391304 | 0.303797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.320144 | 278 | 11 | 46 | 25.272727 | 0.835979 | 0.309353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
c72b99fcd6137a1b1aa9286914c8af8ae7a0f3bf | 2,780 | gyp | Python | gyp/svg.gyp | chromium-googlesource-mirror/skia | 983d158373c3ac8c18514481e80ce939e1e01199 | [
"BSD-3-Clause"
] | null | null | null | gyp/svg.gyp | chromium-googlesource-mirror/skia | 983d158373c3ac8c18514481e80ce939e1e01199 | [
"BSD-3-Clause"
] | null | null | null | gyp/svg.gyp | chromium-googlesource-mirror/skia | 983d158373c3ac8c18514481e80ce939e1e01199 | [
"BSD-3-Clause"
] | 1 | 2020-11-12T05:40:43.000Z | 2020-11-12T05:40:43.000Z | {
'includes': [
'common.gypi',
],
'targets': [
{
'target_name': 'svg',
'type': 'static_library',
'include_dirs': [
'../include/config',
'../include/core',
'../include/xml',
'../include/utils',
'../include/svg',
],
'sources': [
'... | 30.217391 | 77 | 0.510072 | 284 | 2,780 | 4.971831 | 0.271127 | 0.220963 | 0.165722 | 0.025496 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001458 | 0.260072 | 2,780 | 91 | 78 | 30.549451 | 0.684978 | 0.05 | 0 | 0.119048 | 0 | 0 | 0.636674 | 0.550873 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c7334de5d77696378cbb7819b270d30b54c64245 | 319 | py | Python | accounts/urls.py | navotsil/Open-Knesset | d6cc6457f87e67a3dbeaec9c1ccbc8d8b7c60c04 | [
"BSD-3-Clause"
] | 69 | 2015-02-03T12:02:56.000Z | 2022-02-16T13:08:01.000Z | accounts/urls.py | navotsil/Open-Knesset | d6cc6457f87e67a3dbeaec9c1ccbc8d8b7c60c04 | [
"BSD-3-Clause"
] | 446 | 2015-01-01T11:10:33.000Z | 2021-11-01T08:15:39.000Z | accounts/urls.py | navotsil/Open-Knesset | d6cc6457f87e67a3dbeaec9c1ccbc8d8b7c60c04 | [
"BSD-3-Clause"
] | 67 | 2015-01-01T09:13:58.000Z | 2021-11-01T07:51:08.000Z | #encoding: UTF-8
from django.conf.urls import url, patterns
from views import send_validation_email, validate_email
urlpatterns = patterns('',
url(r'^send-validation-email/$', send_validation_email, name='send-validation-email'),
url(r'^validate-email/(?P<key>.*)/$', validate_email, name='validate-email'),
)
| 35.444444 | 90 | 0.736677 | 43 | 319 | 5.325581 | 0.465116 | 0.244541 | 0.331878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003472 | 0.097179 | 319 | 8 | 91 | 39.875 | 0.791667 | 0.047022 | 0 | 0 | 0 | 0 | 0.290429 | 0.244224 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c74a9f8635ff8449c49977b61727f5af9943ae4c | 523 | py | Python | chapter_4/character_picture_grid.py | ebogucka/automate-the-boring-stuff | 9cfade4f66ba8b704a28bffabc52b2b07ce78c08 | [
"MIT"
] | 1 | 2020-05-31T14:21:05.000Z | 2020-05-31T14:21:05.000Z | chapter_4/character_picture_grid.py | ebogucka/automate-the-boring-stuff | 9cfade4f66ba8b704a28bffabc52b2b07ce78c08 | [
"MIT"
] | null | null | null | chapter_4/character_picture_grid.py | ebogucka/automate-the-boring-stuff | 9cfade4f66ba8b704a28bffabc52b2b07ce78c08 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# Character Picture Grid
grid = [
[".", ".", ".", ".", ".", "."],
[".", "O", "O", ".", ".", "."],
["O", "O", "O", "O", ".", "."],
["O", "O", "O", "O", "O", "."],
[".", "O", "O", "O", "O", "O"],
["O", "O", "O", "O", "O", "."],
["O", "O", "O", "O", ".", "."],
[".", ... | 22.73913 | 35 | 0.277247 | 58 | 523 | 2.5 | 0.327586 | 0.358621 | 0.517241 | 0.662069 | 0.186207 | 0.186207 | 0.186207 | 0.186207 | 0.186207 | 0.186207 | 0 | 0.005168 | 0.260038 | 523 | 22 | 36 | 23.772727 | 0.369509 | 0.08413 | 0 | 0.470588 | 0 | 0 | 0.113208 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.117647 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c79ae40f96b6381db0e65c3f4c73b5e9bebeafc4 | 849 | py | Python | core/crawlers/basecrawler.py | cmu-db/cmdbac | 1f981e6f110728e51ba4ffdb90ff2d4ce091057a | [
"Apache-2.0"
] | 31 | 2016-04-07T04:54:29.000Z | 2021-11-30T02:30:57.000Z | core/crawlers/basecrawler.py | cmu-db/db-webcrawler | 1f981e6f110728e51ba4ffdb90ff2d4ce091057a | [
"Apache-2.0"
] | 22 | 2015-12-19T14:49:18.000Z | 2021-09-07T23:48:24.000Z | core/crawlers/basecrawler.py | cmu-db/dbac | 1f981e6f110728e51ba4ffdb90ff2d4ce091057a | [
"Apache-2.0"
] | 7 | 2016-05-13T01:02:01.000Z | 2019-10-06T16:52:54.000Z | import os, sys
sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir))
sys.path.append(os.path.join(os.path.dirname(__file__), os.pardir, "core"))
import utils
from library.models import *
class BaseCrawler(object):
def __init__(self, crawlerStatus, auth = None):
self.crawlerStatus = crawlerSt... | 28.3 | 78 | 0.684335 | 105 | 849 | 5.228571 | 0.380952 | 0.043716 | 0.202186 | 0.20765 | 0.491803 | 0.491803 | 0.491803 | 0.491803 | 0.491803 | 0.3898 | 0 | 0 | 0.196702 | 849 | 30 | 79 | 28.3 | 0.804985 | 0.029446 | 0 | 0.176471 | 0 | 0 | 0.063725 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.294118 | false | 0 | 0.176471 | 0 | 0.529412 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c7a59495f5de7d8c8e0ca543ada9b10b699710c3 | 1,356 | py | Python | chef_admin/models.py | pradeepdhankhar/chef24x7 | 4b8a36c07b78b7f985227874d169171ff7b0dd5f | [
"MIT"
] | null | null | null | chef_admin/models.py | pradeepdhankhar/chef24x7 | 4b8a36c07b78b7f985227874d169171ff7b0dd5f | [
"MIT"
] | null | null | null | chef_admin/models.py | pradeepdhankhar/chef24x7 | 4b8a36c07b78b7f985227874d169171ff7b0dd5f | [
"MIT"
] | 1 | 2019-12-13T10:21:30.000Z | 2019-12-13T10:21:30.000Z | from django.db import models
# Create your models here.
class Question(models.Model):
question_text = models.CharField(max_length=200)
pub_date = models.DateTimeField('date published')
class Choice(models.Model):
question = models.ForeignKey(Question, on_delete=models.CASCADE)
choice_text = models.Ch... | 30.818182 | 68 | 0.764749 | 181 | 1,356 | 5.569061 | 0.259669 | 0.223214 | 0.267857 | 0.357143 | 0.659722 | 0.606151 | 0.446429 | 0.446429 | 0.446429 | 0.375992 | 0 | 0.038623 | 0.121681 | 1,356 | 44 | 69 | 30.818182 | 0.807725 | 0.017699 | 0 | 0.34375 | 0 | 0 | 0.042074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.03125 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c7af904944607c128d9c37b4f38025f9e50d4249 | 173 | py | Python | test.py | HansomeBo/SgsDaily | d79bf7e847d00af2f632f5ba269c4d8d89904952 | [
"MIT"
] | null | null | null | test.py | HansomeBo/SgsDaily | d79bf7e847d00af2f632f5ba269c4d8d89904952 | [
"MIT"
] | null | null | null | test.py | HansomeBo/SgsDaily | d79bf7e847d00af2f632f5ba269c4d8d89904952 | [
"MIT"
] | null | null | null | import time
import win32api
if __name__ == '__main__':
win32api.SetCursor(1028, 240)
# while True:
# time.sleep(2)
# print(win32api.GetCursorPos()) | 19.222222 | 40 | 0.635838 | 19 | 173 | 5.368421 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10687 | 0.242775 | 173 | 9 | 40 | 19.222222 | 0.671756 | 0.369942 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c7b45a0d7846b5219ddebfce2e629c0c83cac707 | 157 | py | Python | Validation/CaloTowers/python/CaloTowersPostProcessor_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Validation/CaloTowers/python/CaloTowersPostProcessor_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Validation/CaloTowers/python/CaloTowersPostProcessor_cff.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 3,240 | 2015-01-02T05:53:18.000Z | 2022-03-31T17:24:21.000Z | import FWCore.ParameterSet.Config as cms
from Validation.CaloTowers.CaloTowersClient_cfi import *
calotowersPostProcessor = cms.Sequence(calotowersClient)
| 26.166667 | 56 | 0.859873 | 16 | 157 | 8.375 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082803 | 157 | 5 | 57 | 31.4 | 0.930556 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c7c0d29b441ca2bd7dfd35a8d49f31113c886d97 | 238 | py | Python | corehq/apps/builds/tests.py | kkrampa/commcare-hq | d64d7cad98b240325ad669ccc7effb07721b4d44 | [
"BSD-3-Clause"
] | 1 | 2020-05-05T13:10:01.000Z | 2020-05-05T13:10:01.000Z | corehq/apps/builds/tests.py | kkrampa/commcare-hq | d64d7cad98b240325ad669ccc7effb07721b4d44 | [
"BSD-3-Clause"
] | 1 | 2019-12-09T14:00:14.000Z | 2019-12-09T14:00:14.000Z | corehq/apps/builds/tests.py | MaciejChoromanski/commcare-hq | fd7f65362d56d73b75a2c20d2afeabbc70876867 | [
"BSD-3-Clause"
] | 5 | 2015-11-30T13:12:45.000Z | 2019-07-01T19:27:07.000Z | from __future__ import absolute_import
from __future__ import unicode_literals
from corehq.apps.builds.utils import extract_build_info_from_filename
__test__ = {
'extract_build_info_from_filename': extract_build_info_from_filename
}
| 29.75 | 72 | 0.865546 | 32 | 238 | 5.625 | 0.46875 | 0.2 | 0.266667 | 0.333333 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096639 | 238 | 7 | 73 | 34 | 0.837209 | 0 | 0 | 0 | 0 | 0 | 0.134454 | 0.134454 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1bf287864b5a67fa9485cad8ede8c5c0ecee288b | 95 | py | Python | test/UT/CA/mfgCAs/certgen/__init__.py | lubical/libest | 43116f6e373d030c088c20b1351f7436e070c898 | [
"curl"
] | 61 | 2015-01-20T22:33:51.000Z | 2022-03-17T22:10:06.000Z | test/UT/CA/mfgCAs/certgen/__init__.py | lubical/libest | 43116f6e373d030c088c20b1351f7436e070c898 | [
"curl"
] | 67 | 2015-04-14T13:06:10.000Z | 2022-03-15T22:26:18.000Z | test/UT/CA/mfgCAs/certgen/__init__.py | lubical/libest | 43116f6e373d030c088c20b1351f7436e070c898 | [
"curl"
] | 79 | 2015-01-07T15:36:23.000Z | 2022-03-01T08:50:06.000Z | print('Invoking __init__.py for %s' % __name__)
from ESTCommon import *
from MfgCommon import * | 31.666667 | 47 | 0.768421 | 13 | 95 | 5 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 95 | 3 | 48 | 31.666667 | 0.792683 | 0 | 0 | 0 | 0 | 0 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1bfae2debf6df8caa57b88a2df54a6238654b77e | 17,326 | py | Python | authorizenet/migrations/0005_auto__add_customerpaymentprofile__add_customerprofile__chg_field_cimre.py | ajmirsky/django-authorizenet | 0342e79eabffc49a85a40b0937b5e89663c334ca | [
"MIT"
] | 18 | 2015-01-03T22:54:21.000Z | 2021-11-15T11:54:32.000Z | authorizenet/migrations/0005_auto__add_customerpaymentprofile__add_customerprofile__chg_field_cimre.py | ajmirsky/django-authorizenet | 0342e79eabffc49a85a40b0937b5e89663c334ca | [
"MIT"
] | 1 | 2016-08-31T21:00:40.000Z | 2016-08-31T21:00:40.000Z | authorizenet/migrations/0005_auto__add_customerpaymentprofile__add_customerprofile__chg_field_cimre.py | ajmirsky/django-authorizenet | 0342e79eabffc49a85a40b0937b5e89663c334ca | [
"MIT"
] | 19 | 2015-01-02T07:34:26.000Z | 2021-09-09T03:24:37.000Z | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'CustomerPaymentProfile'
db.create_table(u'authorizenet_customerpaymentprofile', (
... | 78.754545 | 192 | 0.58317 | 1,825 | 17,326 | 5.40274 | 0.099178 | 0.107911 | 0.187424 | 0.267748 | 0.773529 | 0.724341 | 0.702536 | 0.684888 | 0.624138 | 0.561765 | 0 | 0.013416 | 0.182616 | 17,326 | 220 | 193 | 78.754545 | 0.682813 | 0.014141 | 0 | 0.154229 | 0 | 0 | 0.571512 | 0.344208 | 0 | 0 | 0 | 0 | 0 | 1 | 0.00995 | false | 0 | 0.019901 | 0 | 0.044776 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4015e2c8700effdc4066ceb387572ea5732e058b | 88 | py | Python | models/__init__.py | iSarmad/MeanTeacher-SNTG-HybridNet | 7ca9f8fc89a7be0524b2a0fb648678b9556f8843 | [
"MIT"
] | 24 | 2019-01-22T06:20:41.000Z | 2022-03-26T07:51:40.000Z | models/__init__.py | iSarmad/MeanTeacher-SNTG-HybridNet | 7ca9f8fc89a7be0524b2a0fb648678b9556f8843 | [
"MIT"
] | 1 | 2021-04-12T06:27:43.000Z | 2021-04-12T06:27:43.000Z | models/__init__.py | iSarmad/MeanTeacher-SNTG-HybridNet | 7ca9f8fc89a7be0524b2a0fb648678b9556f8843 | [
"MIT"
] | 12 | 2019-01-03T07:18:06.000Z | 2021-12-09T18:24:27.000Z | from .ConvLarge import *
from .HybridNet import *
__all__ = ('ConvLarge','HybridNet')
| 14.666667 | 35 | 0.715909 | 9 | 88 | 6.555556 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147727 | 88 | 5 | 36 | 17.6 | 0.786667 | 0 | 0 | 0 | 0 | 0 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4037c2ff0a2686aaf3e5d296e1b546fade439ce3 | 1,043 | py | Python | tests/conftest.py | Shanmugapriya03/mimesis | 649253fef05c6b5c362805000c1d7a99898aa0fe | [
"MIT"
] | 3 | 2020-08-20T10:27:13.000Z | 2021-11-02T20:28:16.000Z | tests/conftest.py | Shanmugapriya03/mimesis | 649253fef05c6b5c362805000c1d7a99898aa0fe | [
"MIT"
] | 1 | 2020-06-05T10:34:20.000Z | 2020-08-08T08:45:18.000Z | tests/conftest.py | Shanmugapriya03/mimesis | 649253fef05c6b5c362805000c1d7a99898aa0fe | [
"MIT"
] | null | null | null | import pytest
import mimesis
from mimesis.locales import LIST_OF_LOCALES
locales = LIST_OF_LOCALES
platform = ['win32', 'linux']
@pytest.fixture
def seed():
return 'mimesis'
@pytest.fixture(params=locales)
def generic(request):
return mimesis.Generic(request.param)
@pytest.fixture(params=locales)
def ad... | 17.982759 | 43 | 0.758389 | 132 | 1,043 | 5.962121 | 0.204545 | 0.165184 | 0.217281 | 0.264295 | 0.440915 | 0.364676 | 0.364676 | 0 | 0 | 0 | 0 | 0.002183 | 0.121764 | 1,043 | 57 | 44 | 18.298246 | 0.856987 | 0 | 0 | 0.228571 | 0 | 0 | 0.016299 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.085714 | 0.285714 | 0.657143 | 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 | 0 | 0 | 0 | 4 |
4038c4cdbd24bbb88d494a349aef79543ba54974 | 77 | py | Python | launch.py | Damugeisme/JDSpider | ab77c045561f854929ba0f95a5e4335fdbec0118 | [
"MIT"
] | null | null | null | launch.py | Damugeisme/JDSpider | ab77c045561f854929ba0f95a5e4335fdbec0118 | [
"MIT"
] | null | null | null | launch.py | Damugeisme/JDSpider | ab77c045561f854929ba0f95a5e4335fdbec0118 | [
"MIT"
] | 1 | 2019-08-24T10:17:53.000Z | 2019-08-24T10:17:53.000Z | from scrapy import cmdline
cmdline.execute("scrapy crawl JDSpider".split())
| 19.25 | 48 | 0.792208 | 10 | 77 | 6.1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 77 | 3 | 49 | 25.666667 | 0.884058 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
404f14e6e9604483ebfb89e02b38d641858df27b | 27 | py | Python | semantic-python/test/fixtures/1-03-empty-tuple.py | Temurson/semantic | 2e9cd2c006cec9a0328791e47d8c6d60af6d5a1b | [
"MIT"
] | 8,844 | 2019-05-31T15:47:12.000Z | 2022-03-31T18:33:51.000Z | semantic-python/test/fixtures/1-03-empty-tuple.py | Qanora/semantic | b0eda9a61bbc690a342fb177cfc12eec8c1c001c | [
"MIT"
] | 401 | 2019-05-31T18:30:26.000Z | 2022-03-31T16:32:29.000Z | semantic-python/test/fixtures/1-03-empty-tuple.py | Qanora/semantic | b0eda9a61bbc690a342fb177cfc12eec8c1c001c | [
"MIT"
] | 504 | 2019-05-31T17:55:03.000Z | 2022-03-30T04:15:04.000Z | # CHECK-TREE: #record{}
()
| 9 | 23 | 0.555556 | 3 | 27 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 2 | 24 | 13.5 | 0.652174 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
405c0f82c63761a28fb20d6c304346eb0a15f4ab | 319 | py | Python | macro/autoping.py | muhiqsimui/PyTraining | 41c99adf0d5bd330b3c35242c9f447e8992d9074 | [
"MIT"
] | 6 | 2021-07-15T01:33:31.000Z | 2021-11-17T11:05:50.000Z | macro/autoping.py | cxml2/PyTraining | 41c99adf0d5bd330b3c35242c9f447e8992d9074 | [
"MIT"
] | null | null | null | macro/autoping.py | cxml2/PyTraining | 41c99adf0d5bd330b3c35242c9f447e8992d9074 | [
"MIT"
] | 1 | 2021-08-23T11:22:53.000Z | 2021-08-23T11:22:53.000Z | import pyautogui as piu
import time
print("ready")
piu.alert('Mulai program')
time.sleep(3)
piu.hotkey('win','r')
time.sleep(0.5)
piu.typewrite("cmd")
time.sleep(0.5)
piu.hotkey('enter')
time.sleep(0.5)
piu.typewrite("ping 8.8.8.8 -t")
time.sleep(0.5)
piu.hotkey('enter')
time.sleep(0.5)
piu.alert('berhasil ping')
| 15.190476 | 32 | 0.695925 | 60 | 319 | 3.7 | 0.4 | 0.243243 | 0.225225 | 0.247748 | 0.495496 | 0.495496 | 0.351351 | 0.351351 | 0.351351 | 0.351351 | 0 | 0.051546 | 0.087774 | 319 | 20 | 33 | 15.95 | 0.71134 | 0 | 0 | 0.4375 | 0 | 0 | 0.197492 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0.0625 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
406b6e69ceb902539aeea1ad0852b58654eed3c3 | 225 | py | Python | presentation/formatter/ip_formatter.py | xaman/ScrollZ | 1377dc268748bedd4bdb0c93d9e2d9e72e08dc65 | [
"Apache-2.0"
] | 1 | 2017-12-29T21:05:16.000Z | 2017-12-29T21:05:16.000Z | presentation/formatter/ip_formatter.py | xaman/ScrollZ | 1377dc268748bedd4bdb0c93d9e2d9e72e08dc65 | [
"Apache-2.0"
] | null | null | null | presentation/formatter/ip_formatter.py | xaman/ScrollZ | 1377dc268748bedd4bdb0c93d9e2d9e72e08dc65 | [
"Apache-2.0"
] | null | null | null | from presentation.formatter.formatter import Formatter
class IpFormatter(Formatter):
_FORMAT = "{interface} addr {ip}"
def format(self, value):
return self._FORMAT.format(interface=value.name, ip=value.ip)
| 25 | 69 | 0.728889 | 27 | 225 | 6 | 0.555556 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 225 | 8 | 70 | 28.125 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.093333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 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 | 0 | 1 | 1 | 0 | 0 | 4 |
409fbac9cf13b960bfb331d24bc96315d208fb94 | 67 | py | Python | wsgi.py | DerwenAI/RCServer | 4e6aae31ac7356d0a70a15bca1453de6cf603724 | [
"CC0-1.0"
] | 3 | 2020-02-16T22:55:33.000Z | 2021-07-29T00:20:34.000Z | wsgi.py | DerwenAI/RCServer | 4e6aae31ac7356d0a70a15bca1453de6cf603724 | [
"CC0-1.0"
] | 6 | 2020-02-10T19:40:19.000Z | 2020-08-05T16:07:50.000Z | wsgi.py | Coleridge-Initiative/RCServer | 4e6aae31ac7356d0a70a15bca1453de6cf603724 | [
"CC0-1.0"
] | null | null | null | from app import APP
if __name__ == "__main__":
APP.run()
| 11.166667 | 26 | 0.597015 | 9 | 67 | 3.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283582 | 67 | 5 | 27 | 13.4 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
40a6139e9d982a05b71a7bc151ba548551f84ed9 | 180 | py | Python | utils/DEMO/DEMO/__init__.py | slyslyme/CTF_AWD_Platform | 6e9eec0a23a316aaf1927d4ec5be923ac26ff21e | [
"MIT"
] | 85 | 2019-04-21T01:38:18.000Z | 2022-03-22T08:06:21.000Z | utils/DEMO/__init__.py | xuchaoa/CTF_AWD_Platform | b2201f18677939442002e16e64280acd44f72bfe | [
"MIT"
] | 12 | 2019-05-10T14:09:12.000Z | 2022-03-11T23:45:35.000Z | utils/DEMO/__init__.py | slyslyme/CTF_AWD_Platform | 6e9eec0a23a316aaf1927d4ec5be923ac26ff21e | [
"MIT"
] | 21 | 2019-04-14T16:12:15.000Z | 2022-03-22T08:06:22.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 19-5-18 δΈε8:58
# @Author : Archerx
# @Site : https://blog.ixuchao.cn
# @File : __init__.py.py
# @Software: PyCharm | 25.714286 | 36 | 0.583333 | 26 | 180 | 3.884615 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.2 | 180 | 7 | 37 | 25.714286 | 0.638889 | 0.927778 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
40ba92567c2091b16067fefbfb5dc84529cf3cf0 | 52 | py | Python | packages/vaex-contrib/vaex/contrib/_version.py | And0k/vaex | 298d0d5c6ace0ea4c335339fef10ba7ee54cc077 | [
"MIT"
] | 337 | 2016-02-11T07:36:35.000Z | 2018-12-10T07:17:35.000Z | packages/vaex-contrib/vaex/contrib/_version.py | And0k/vaex | 298d0d5c6ace0ea4c335339fef10ba7ee54cc077 | [
"MIT"
] | 127 | 2016-07-06T15:43:14.000Z | 2018-12-11T18:46:27.000Z | packages/vaex-contrib/vaex/contrib/_version.py | And0k/vaex | 298d0d5c6ace0ea4c335339fef10ba7ee54cc077 | [
"MIT"
] | 29 | 2016-10-05T14:15:28.000Z | 2018-11-29T10:17:00.000Z | __version__ = '0.1.2'
__version_tuple__ = (0, 1, 2)
| 17.333333 | 29 | 0.653846 | 9 | 52 | 2.777778 | 0.555556 | 0.16 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0.153846 | 52 | 2 | 30 | 26 | 0.431818 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
40cf623c7d7341454847bedd60f075a26af53171 | 26 | py | Python | my_classes/.history/ModulesPackages_PackageNamespaces/ImportingModules_20210725180701.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | my_classes/.history/ModulesPackages_PackageNamespaces/ImportingModules_20210725180701.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | my_classes/.history/ModulesPackages_PackageNamespaces/ImportingModules_20210725180701.py | minefarmer/deep-Dive-1 | b0675b853180c5b5781888266ea63a3793b8d855 | [
"Unlicense"
] | null | null | null | """Importing modules
""" | 6.5 | 20 | 0.615385 | 2 | 26 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 26 | 4 | 21 | 6.5 | 0.727273 | 0.653846 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
40d3d8db11e11b83931a399661c8e87bc9d13827 | 50 | py | Python | westjr/__init__.py | unyacat/westjr | a5e89fa6d8fed567233fbd87a1fd106418cbd760 | [
"Unlicense"
] | 2 | 2021-04-01T13:42:48.000Z | 2021-12-16T02:18:22.000Z | westjr/__init__.py | unyacat/westjr | a5e89fa6d8fed567233fbd87a1fd106418cbd760 | [
"Unlicense"
] | 1 | 2021-04-07T06:19:23.000Z | 2021-04-07T06:19:23.000Z | westjr/__init__.py | unyacat/westjr | a5e89fa6d8fed567233fbd87a1fd106418cbd760 | [
"Unlicense"
] | 1 | 2021-12-16T01:50:35.000Z | 2021-12-16T01:50:35.000Z | # -*- coding: utf-8 -*-
from .api import WestJR
| 10 | 23 | 0.58 | 7 | 50 | 4.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.22 | 50 | 4 | 24 | 12.5 | 0.717949 | 0.42 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
40d78561ec0de1ee5f4a651045fc1a5b1ad51c78 | 161 | py | Python | Pipelines/GenomeAssembly/ContigAssembly.py | mahajrod/MAVR | 4db74dff7376a2ffe4426db720b241de9198f329 | [
"MIT"
] | 10 | 2015-04-28T14:15:04.000Z | 2021-03-15T00:07:38.000Z | Pipelines/GenomeAssembly/ContigAssembly.py | mahajrod/MAVR | 4db74dff7376a2ffe4426db720b241de9198f329 | [
"MIT"
] | null | null | null | Pipelines/GenomeAssembly/ContigAssembly.py | mahajrod/MAVR | 4db74dff7376a2ffe4426db720b241de9198f329 | [
"MIT"
] | 6 | 2017-03-16T22:38:41.000Z | 2021-08-11T00:22:52.000Z | #!/usr/bin/env python
from Pipelines.Abstract import Pipeline
class ContigAssemblyPipeline(Pipeline):
def __init__(self):
Pipeline.__init__(self)
| 17.888889 | 39 | 0.745342 | 18 | 161 | 6.222222 | 0.777778 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161491 | 161 | 8 | 40 | 20.125 | 0.82963 | 0.124224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
40dd45d8910883175bf61961401ccd958a71e761 | 1,017 | py | Python | qmeq/approach/__init__.py | gedaskir/test-deploy-qmeq | 47f1176df5341a0f251657c299a4a98aaac40833 | [
"BSD-2-Clause"
] | 16 | 2016-12-14T09:21:16.000Z | 2022-02-23T08:01:45.000Z | qmeq/approach/__init__.py | gedaskir/test-deploy-qmeq | 47f1176df5341a0f251657c299a4a98aaac40833 | [
"BSD-2-Clause"
] | 3 | 2018-02-03T19:13:01.000Z | 2021-06-09T14:10:28.000Z | qmeq/approach/__init__.py | gedaskir/test-deploy-qmeq | 47f1176df5341a0f251657c299a4a98aaac40833 | [
"BSD-2-Clause"
] | 7 | 2017-07-09T04:46:42.000Z | 2021-04-26T16:27:55.000Z | """
This QmeQ package contains modules, where different approximate master equations
are implemented. Modules starting with `c_` are implemented using Cython.
"""
# For backwards compatibility with 1.0
import sys
from .base import pauli
from .base import lindblad
from .base import neumann1
from .base import neumann2
f... | 31.78125 | 80 | 0.749263 | 140 | 1,017 | 5.378571 | 0.257143 | 0.106242 | 0.185923 | 0.292165 | 0.533865 | 0.528552 | 0.2417 | 0.2417 | 0.124834 | 0 | 0 | 0.016148 | 0.147493 | 1,017 | 31 | 81 | 32.806452 | 0.852364 | 0.188791 | 0 | 0.166667 | 0 | 0 | 0.259486 | 0.194614 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.041667 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.