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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
395981eb97ba0d5630afef67430f063c0cfadca3 | 65 | py | Python | src/setup.py | ThaDeveloper/grind | fa90b65d12e6d9b3d658b132874801ecda08c57f | [
"MIT"
] | 1 | 2019-11-06T22:26:26.000Z | 2019-11-06T22:26:26.000Z | src/setup.py | ThaDeveloper/grind | fa90b65d12e6d9b3d658b132874801ecda08c57f | [
"MIT"
] | 5 | 2021-03-19T02:49:44.000Z | 2021-06-10T19:13:00.000Z | src/setup.py | ThaDeveloper/grind | fa90b65d12e6d9b3d658b132874801ecda08c57f | [
"MIT"
] | null | null | null | import setuptools
setuptools.setup(name='grind', version='1.0')
| 16.25 | 45 | 0.753846 | 9 | 65 | 5.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033333 | 0.076923 | 65 | 3 | 46 | 21.666667 | 0.783333 | 0 | 0 | 0 | 0 | 0 | 0.123077 | 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 |
395bf15f68b877308dd905ac4aed62d8edba6f44 | 174 | py | Python | LeetCode/Google Interview Questions/Unique Number of Occurrences.py | UtkarshPathrabe/Competitive-Coding | ba322fbb1b88682d56a9b80bdd92a853f1caa84e | [
"MIT"
] | 13 | 2021-09-02T07:30:02.000Z | 2022-03-22T19:32:03.000Z | LeetCode/Google Interview Questions/Unique Number of Occurrences.py | UtkarshPathrabe/Competitive-Coding | ba322fbb1b88682d56a9b80bdd92a853f1caa84e | [
"MIT"
] | null | null | null | LeetCode/Google Interview Questions/Unique Number of Occurrences.py | UtkarshPathrabe/Competitive-Coding | ba322fbb1b88682d56a9b80bdd92a853f1caa84e | [
"MIT"
] | 3 | 2021-08-24T16:06:22.000Z | 2021-09-17T15:39:53.000Z | class Solution:
def uniqueOccurrences(self, arr: List[int]) -> bool:
countsMap = Counter(arr)
return len(countsMap.keys()) == len(set(countsMap.values())) | 43.5 | 68 | 0.649425 | 20 | 174 | 5.65 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195402 | 174 | 4 | 68 | 43.5 | 0.807143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 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 |
39609757874076a7f9fb1412a7aaba1659bb2caf | 86 | py | Python | workschedule/shift_exception.py | point85/PyShift | 46d0e1c23d3c570416633f68d416abd587b8e22f | [
"MIT"
] | null | null | null | workschedule/shift_exception.py | point85/PyShift | 46d0e1c23d3c570416633f68d416abd587b8e22f | [
"MIT"
] | null | null | null | workschedule/shift_exception.py | point85/PyShift | 46d0e1c23d3c570416633f68d416abd587b8e22f | [
"MIT"
] | null | null | null | ## Base class for more specific exceptions
class PyShiftException(Exception):
pass | 28.666667 | 42 | 0.790698 | 10 | 86 | 6.8 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151163 | 86 | 3 | 43 | 28.666667 | 0.931507 | 0.453488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
3963f28189e11bd041986953f7c2ffe5e7a4d4a7 | 288 | py | Python | equipment/framework/Mail/AbstractMail.py | didacelgueta/equipment | 12cd86bfe4b70bce3e2578e3ec79fc4c0f76c322 | [
"MIT"
] | 1 | 2022-03-02T11:32:10.000Z | 2022-03-02T11:32:10.000Z | equipment/framework/Mail/AbstractMail.py | didacelgueta/equipment | 12cd86bfe4b70bce3e2578e3ec79fc4c0f76c322 | [
"MIT"
] | 35 | 2022-03-02T14:33:49.000Z | 2022-03-30T08:14:26.000Z | equipment/framework/Mail/AbstractMail.py | didacelgueta/equipment | 12cd86bfe4b70bce3e2578e3ec79fc4c0f76c322 | [
"MIT"
] | 1 | 2022-03-24T11:52:01.000Z | 2022-03-24T11:52:01.000Z | import abc
from typing import Union
from equipment.framework.Mail.Email.Email import Email
from equipment.framework.Mail.Email.EmailFactory import EmailFactory
class AbstractMail(abc.ABC):
def send(self, email: Union[Email, EmailFactory]) -> bool:
raise NotImplementedError
| 28.8 | 68 | 0.788194 | 36 | 288 | 6.305556 | 0.5 | 0.114537 | 0.193833 | 0.229075 | 0.273128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135417 | 288 | 9 | 69 | 32 | 0.911647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.571429 | 0 | 0.857143 | 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 |
3969eae37682dde13327b382a75d05a161284884 | 7,164 | py | Python | interactiontransformer/utils.py | jlevy44/InteractionTransformer | e92473889cca25a292baa4a54e84490bf7699063 | [
"MIT"
] | 4 | 2019-12-16T08:54:42.000Z | 2021-11-05T15:29:52.000Z | interactiontransformer/utils.py | jlevy44/InteractionTransformer | e92473889cca25a292baa4a54e84490bf7699063 | [
"MIT"
] | 5 | 2020-05-20T00:55:06.000Z | 2021-08-28T20:23:09.000Z | interactiontransformer/utils.py | jlevy44/InteractionTransformer | e92473889cca25a292baa4a54e84490bf7699063 | [
"MIT"
] | null | null | null | from openml import datasets, tasks, runs, flows, config
import os, pandas, sklearn, arff, pprint, numpy, seaborn
import numpy as np, pandas as pd, pickle
import copy
from sklearn.model_selection import StratifiedKFold
import dask
MANUSCRIPT_IDs=np.array([4154, 4329, 4136, 4137, 73, 143, 142, 72, 77, 120, 135, 139, 146... | 125.684211 | 4,598 | 0.656477 | 1,180 | 7,164 | 3.930508 | 0.766949 | 0.011212 | 0.005821 | 0.017464 | 0.054334 | 0.054334 | 0.036654 | 0.023286 | 0.013799 | 0 | 0 | 0.518468 | 0.176159 | 7,164 | 56 | 4,599 | 127.928571 | 0.267367 | 0 | 0 | 0.039216 | 0 | 0 | 0.009631 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.078431 | false | 0 | 0.117647 | 0 | 0.27451 | 0.019608 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
396eefa606edee58bbd568f0cb16e09f7c914c23 | 526 | py | Python | diagnosis/models/__init__.py | Naceine/diagnosis | 0068fcd597d7607aee1723a551ba47e72047e098 | [
"BSD-3-Clause"
] | 3 | 2019-09-29T11:13:38.000Z | 2021-12-11T03:23:12.000Z | diagnosis/models/__init__.py | victor-iyiola/diagnosis | 0068fcd597d7607aee1723a551ba47e72047e098 | [
"BSD-3-Clause"
] | 1 | 2022-02-10T00:36:16.000Z | 2022-02-10T00:36:16.000Z | diagnosis/models/__init__.py | Naceine/diagnosis | 0068fcd597d7607aee1723a551ba47e72047e098 | [
"BSD-3-Clause"
] | 3 | 2020-06-04T15:50:08.000Z | 2021-11-26T14:14:36.000Z | """`diagnosis.models` - for instantiating models, including data pre-processing and loss functions.
@author
Victor I. Afolabi
Artificial Intelligence Expert & Researcher.
Email: javafolabi@gmail.com
GitHub: https://github.com/victor-iyiola
@project
File: __init__.py
Package: diagno... | 27.684211 | 99 | 0.690114 | 65 | 526 | 5.523077 | 0.8 | 0.083565 | 0.077994 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036496 | 0.218631 | 526 | 19 | 100 | 27.684211 | 0.836983 | 0.8327 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3978633c733811885535151c5b199d09d930dc86 | 3,365 | py | Python | test/tests/binaryop.py | jonco3/dynamic | 76d10b012a7860595c7d9abbdf542c7d8f2a4d53 | [
"MIT"
] | 1 | 2020-11-26T23:37:19.000Z | 2020-11-26T23:37:19.000Z | test/tests/binaryop.py | jonco3/dynamic | 76d10b012a7860595c7d9abbdf542c7d8f2a4d53 | [
"MIT"
] | null | null | null | test/tests/binaryop.py | jonco3/dynamic | 76d10b012a7860595c7d9abbdf542c7d8f2a4d53 | [
"MIT"
] | null | null | null | # output: ok
a, b, c, d, e, f = 1000, 1000, 1000, 1000, 1000, 1000
g, h, i, j, k, l = 2, 1000, 1000, 1000, 1000, 1000
a = a + 1
b = b - 2
c = c * 3
d = d / 4
e = e // 5
f = f % 6
g = g ** 7
h = h << 8
i = i >> 9
j = j & 10
k = k ^ 11
l = l | 12
assert a == 1001
assert b == 998
assert c == 3000
assert d == 250
assert... | 23.531469 | 107 | 0.594651 | 541 | 3,365 | 3.513863 | 0.131238 | 0.118359 | 0.189374 | 0.138874 | 0.749605 | 0.749605 | 0.731194 | 0.542872 | 0.296686 | 0.296686 | 0 | 0.116505 | 0.265379 | 3,365 | 142 | 108 | 23.697183 | 0.652508 | 0.002972 | 0 | 0.4 | 0 | 0 | 0.000596 | 0 | 0 | 0 | 0 | 0 | 0.276923 | 1 | 0.192308 | false | 0 | 0 | 0.184615 | 0.384615 | 0.007692 | 0 | 0 | 0 | null | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 4 |
397956f488e4d6b404b647125e2db7eee5a5d84e | 1,285 | py | Python | utils/pattern/pattern_base.py | ElevenPaths/FARO | 4d5585a1f08ce74baff3acf92668646dc9919439 | [
"MIT"
] | 8 | 2020-04-17T11:35:14.000Z | 2022-01-13T05:07:37.000Z | utils/pattern/pattern_base.py | ElevenPaths/FARO | 4d5585a1f08ce74baff3acf92668646dc9919439 | [
"MIT"
] | 1 | 2020-08-03T15:38:14.000Z | 2020-08-03T15:38:14.000Z | utils/pattern/pattern_base.py | ElevenPaths/FARO | 4d5585a1f08ce74baff3acf92668646dc9919439 | [
"MIT"
] | 1 | 2020-09-28T02:50:34.000Z | 2020-09-28T02:50:34.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from utils.utils import clean_text
class PluginPatternBase:
def get_strict_regexp(self):
return self.dict_regex_strict
def get_lax_regexp(self):
return self.dict_regex_lax
def get_strict_entities(self):
return self._strict_entities
... | 24.245283 | 73 | 0.673152 | 162 | 1,285 | 4.932099 | 0.265432 | 0.045056 | 0.105131 | 0.082603 | 0.20025 | 0.137672 | 0 | 0 | 0 | 0 | 0 | 0.001034 | 0.247471 | 1,285 | 52 | 74 | 24.711538 | 0.825233 | 0.032685 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.342857 | false | 0.085714 | 0.028571 | 0.2 | 0.657143 | 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 |
398a169253e6e1ec5b4e70385c86d5d011ee9f49 | 208 | py | Python | ch01_intro/p1.py | mikeckennedy/gk_python_demos | e9a81c5a0775f0ad368843ccec434c5b1d588d71 | [
"MIT"
] | null | null | null | ch01_intro/p1.py | mikeckennedy/gk_python_demos | e9a81c5a0775f0ad368843ccec434c5b1d588d71 | [
"MIT"
] | null | null | null | ch01_intro/p1.py | mikeckennedy/gk_python_demos | e9a81c5a0775f0ad368843ccec434c5b1d588d71 | [
"MIT"
] | null | null | null | print("About to import p2")
from p2 import get_user_name
print("Done importing p2")
print("Downloading data, we'll save it to your profile")
name = get_user_name()
print("Using /Users/{}/data".format(name)) | 26 | 56 | 0.740385 | 35 | 208 | 4.285714 | 0.628571 | 0.093333 | 0.146667 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016393 | 0.120192 | 208 | 8 | 57 | 26 | 0.803279 | 0 | 0 | 0 | 0 | 0 | 0.488038 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
3993b323c7167ee26363ee489ca98fb1151fe937 | 25 | py | Python | rasa/version.py | yurilq/rasa01 | 315f0878cf66c39143bc298acd665a05bff8510b | [
"Apache-2.0"
] | 1 | 2020-12-19T10:17:18.000Z | 2020-12-19T10:17:18.000Z | rasa/version.py | yurilq/rasa01 | 315f0878cf66c39143bc298acd665a05bff8510b | [
"Apache-2.0"
] | null | null | null | rasa/version.py | yurilq/rasa01 | 315f0878cf66c39143bc298acd665a05bff8510b | [
"Apache-2.0"
] | 1 | 2020-12-19T10:10:55.000Z | 2020-12-19T10:10:55.000Z | __version__ = "1.0.0rc9"
| 12.5 | 24 | 0.68 | 4 | 25 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 0.12 | 25 | 1 | 25 | 25 | 0.409091 | 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 | 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 |
3995ab10ac9e94f32b4f07e6e1ab7695d20eaf1d | 27 | py | Python | homeassistant/components/solax/__init__.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 22,481 | 2020-03-02T13:09:59.000Z | 2022-03-31T23:34:28.000Z | homeassistant/components/solax/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | homeassistant/components/solax/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,411 | 2020-03-02T14:19:20.000Z | 2022-03-31T22:46:07.000Z | """The solax component."""
| 13.5 | 26 | 0.62963 | 3 | 27 | 5.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.708333 | 0.740741 | 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 |
39a8586fc20a644391e1e4e582809d826e0ec684 | 263 | py | Python | pivot/tests.py | uw-it-aca/pivot | a3e404b30f4d2ebf37608d7c4595edb667df0222 | [
"Apache-2.0"
] | 4 | 2017-11-07T23:49:45.000Z | 2019-11-26T10:59:50.000Z | pivot/tests.py | uw-it-aca/pivot | a3e404b30f4d2ebf37608d7c4595edb667df0222 | [
"Apache-2.0"
] | 204 | 2017-02-08T00:12:51.000Z | 2022-02-02T23:52:46.000Z | pivot/tests.py | uw-it-aca/pivot | a3e404b30f4d2ebf37608d7c4595edb667df0222 | [
"Apache-2.0"
] | 2 | 2018-03-20T22:41:27.000Z | 2019-07-10T21:40:36.000Z | # Copyright 2021 UW-IT, University of Washington
# SPDX-License-Identifier: Apache-2.0
"""
Tests for the pivot app.
"""
from pivot.test.context import ContextProcessorTest
from pivot.test.csvapi import CsvDataApiTest
from pivot.test.misc import PivotConfigTest
| 23.909091 | 51 | 0.798479 | 36 | 263 | 5.833333 | 0.75 | 0.128571 | 0.185714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025862 | 0.117871 | 263 | 10 | 52 | 26.3 | 0.87931 | 0.410646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
39c55ce1e035c65cad05929f12d3c687e6db616c | 190 | py | Python | accounts/admin.py | JAYBLA/mobile_payments | 9fcd7b4b3f894e14225fd1ebefc31a9e18c11112 | [
"MIT"
] | 4 | 2022-01-03T16:26:42.000Z | 2022-01-04T02:55:52.000Z | accounts/admin.py | JAYBLA/mobile_payments | 9fcd7b4b3f894e14225fd1ebefc31a9e18c11112 | [
"MIT"
] | null | null | null | accounts/admin.py | JAYBLA/mobile_payments | 9fcd7b4b3f894e14225fd1ebefc31a9e18c11112 | [
"MIT"
] | 1 | 2022-01-16T21:41:20.000Z | 2022-01-16T21:41:20.000Z | from django.contrib import admin
from django.contrib.auth import get_user_model
from .models import Profile
User = get_user_model()
admin.site.register(User)
admin.site.register(Profile)
| 19 | 46 | 0.815789 | 29 | 190 | 5.206897 | 0.448276 | 0.13245 | 0.225166 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 190 | 9 | 47 | 21.111111 | 0.888235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
39c7048fd0f5c222bf39ed309f3ba33618945132 | 324 | py | Python | Validation/CaloTowers/python/CaloTowersClient_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 852 | 2015-01-11T21:03:51.000Z | 2022-03-25T21:14:00.000Z | Validation/CaloTowers/python/CaloTowersClient_cfi.py | ckamtsikis/cmssw | ea19fe642bb7537cbf58451dcf73aa5fd1b66250 | [
"Apache-2.0"
] | 30,371 | 2015-01-02T00:14:40.000Z | 2022-03-31T23:26:05.000Z | Validation/CaloTowers/python/CaloTowersClient_cfi.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 DQMServices.Core.DQMEDHarvester import DQMEDHarvester
calotowersClient = DQMEDHarvester("CaloTowersClient",
# outputFile = cms.untracked.string('CaloTowersHarvestingME.root'),
outputFile = cms.untracked.string(''),
DQMDirName = cms.string("/") # root director... | 36 | 71 | 0.765432 | 30 | 324 | 8.266667 | 0.6 | 0.241935 | 0.177419 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 324 | 8 | 72 | 40.5 | 0.873239 | 0.246914 | 0 | 0 | 0 | 0 | 0.07173 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f2d0de465a55797339086f1d035cb9f4d7c4a0d2 | 186 | py | Python | scripts/training-data-processing/vector_utilities/utils_readwrite.py | DDS-Lab/disaster-image-processing | 5d87e858c8d933bf4d5288061d121129fadb863d | [
"MIT"
] | 10 | 2018-11-07T14:39:15.000Z | 2022-03-30T11:27:27.000Z | scripts/training-data-processing/vector_utilities/utils_readwrite.py | DDS-Lab/disaster-image-processing | 5d87e858c8d933bf4d5288061d121129fadb863d | [
"MIT"
] | 1 | 2019-09-24T07:22:33.000Z | 2019-09-24T07:22:33.000Z | scripts/training-data-processing/vector_utilities/utils_readwrite.py | DDS-Lab/disaster-image-processing | 5d87e858c8d933bf4d5288061d121129fadb863d | [
"MIT"
] | 5 | 2018-08-02T21:25:30.000Z | 2020-08-08T18:52:50.000Z | import geopandas as gpd
def load_file(file_path):
shape = gpd.GeoDataFrame(gpd.read_file(file_path))
return shape
def writeFile(shape, new_file):
shape.to_file(new_file)
| 16.909091 | 54 | 0.741935 | 29 | 186 | 4.517241 | 0.517241 | 0.122137 | 0.183206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 186 | 10 | 55 | 18.6 | 0.845161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
f2d93bd98441081a60423726cda89abcc0a84869 | 180 | py | Python | scripts/deploy.py | banteg/pink-duck | f770f80fe64589949a2f8319f57f77db5ac825f4 | [
"MIT"
] | 3 | 2020-12-08T23:03:47.000Z | 2020-12-09T04:11:42.000Z | scripts/deploy.py | banteg/pink-duck | f770f80fe64589949a2f8319f57f77db5ac825f4 | [
"MIT"
] | null | null | null | scripts/deploy.py | banteg/pink-duck | f770f80fe64589949a2f8319f57f77db5ac825f4 | [
"MIT"
] | 1 | 2021-09-06T02:28:24.000Z | 2021-09-06T02:28:24.000Z | import click
from brownie import Duck, accounts
def main():
user = accounts.load(click.prompt("account", type=click.Choice(accounts.load())))
Duck.deploy({"from": user})
| 22.5 | 85 | 0.7 | 24 | 180 | 5.25 | 0.625 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 180 | 7 | 86 | 25.714286 | 0.812903 | 0 | 0 | 0 | 0 | 0 | 0.061111 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f2f43f23669b3672ddf80e446c7b0b4ee962e966 | 365 | py | Python | tips_and_tricks/models.py | immanuelnadeak/temenin-isoman | 8a497f7defe402820045ab9b748a447fc2e8a5f9 | [
"MIT"
] | 1 | 2021-11-04T08:11:18.000Z | 2021-11-04T08:11:18.000Z | tips_and_tricks/models.py | immanuelnadeak/temenin-isoman | 8a497f7defe402820045ab9b748a447fc2e8a5f9 | [
"MIT"
] | 1 | 2021-11-05T03:52:27.000Z | 2021-11-05T03:52:27.000Z | tips_and_tricks/models.py | immanuelnadeak/temenin-isoman | 8a497f7defe402820045ab9b748a447fc2e8a5f9 | [
"MIT"
] | 4 | 2021-10-10T12:55:28.000Z | 2021-10-29T18:27:42.000Z | from django.db import models
# Create your models here.
class TipsAndTrick(models.Model):
title = models.CharField(max_length=500)
source = models.CharField(max_length=500)
published_date = models.DateField()
brief_description = models.TextField()
image_url = models.CharField(max_length=500)
a... | 36.5 | 50 | 0.756164 | 47 | 365 | 5.702128 | 0.553191 | 0.223881 | 0.268657 | 0.358209 | 0.425373 | 0.223881 | 0 | 0 | 0 | 0 | 0 | 0.038585 | 0.147945 | 365 | 10 | 50 | 36.5 | 0.823151 | 0.065753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 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 |
f2f7b0ac58a95ec874e2b2da8533825417fb71d4 | 864 | py | Python | tests/test_methods/test_chat.py | jackwardell/SlackTime | c40be4854a26084e1a368a975e220d613c14d8d8 | [
"Apache-2.0"
] | 2 | 2020-09-24T00:07:13.000Z | 2020-09-27T19:27:06.000Z | tests/test_methods/test_chat.py | jackwardell/SlackTime | c40be4854a26084e1a368a975e220d613c14d8d8 | [
"Apache-2.0"
] | null | null | null | tests/test_methods/test_chat.py | jackwardell/SlackTime | c40be4854a26084e1a368a975e220d613c14d8d8 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
def test_chat_delete(slack_time):
assert slack_time.chat.delete
def test_chat_delete_scheduled_message(slack_time):
assert slack_time.chat.delete_scheduled_message
def test_chat_get_permalink(slack_time):
assert slack_time.chat.get_permalink
def test_chat_me_message(slack_tim... | 20.571429 | 51 | 0.809028 | 131 | 864 | 4.900763 | 0.167939 | 0.280374 | 0.17134 | 0.311526 | 0.510903 | 0.510903 | 0.336449 | 0 | 0 | 0 | 0 | 0.001318 | 0.121528 | 864 | 41 | 52 | 21.073171 | 0.844532 | 0.024306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8414af8a79e61004889d24a623e136c739d04808 | 103 | py | Python | scripts/portal/market34.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | 9 | 2021-04-26T11:59:29.000Z | 2021-12-20T13:15:27.000Z | scripts/portal/market34.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | null | null | null | scripts/portal/market34.py | Snewmy/swordie | ae01ed4ec0eb20a18730e8cd209eea0b84a8dd17 | [
"MIT"
] | 6 | 2021-07-14T06:32:05.000Z | 2022-02-06T02:32:56.000Z | # Stump Town (866000000) => Free Market
sm.setReturnField()
sm.setReturnPortal()
sm.warp(910000000, 36) | 25.75 | 39 | 0.757282 | 13 | 103 | 6 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.215054 | 0.097087 | 103 | 4 | 40 | 25.75 | 0.623656 | 0.359223 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
845a836f69b54690c33dacca21531c5039908fe7 | 112 | py | Python | fastapi/core/models/images.py | ilDug/docker-utils | 6580e916a8c2c0d91f2e3da52a9d839507569bb7 | [
"MIT"
] | null | null | null | fastapi/core/models/images.py | ilDug/docker-utils | 6580e916a8c2c0d91f2e3da52a9d839507569bb7 | [
"MIT"
] | null | null | null | fastapi/core/models/images.py | ilDug/docker-utils | 6580e916a8c2c0d91f2e3da52a9d839507569bb7 | [
"MIT"
] | null | null | null | from pydantic import BaseModel
class ImageB64UploadRequestModel(BaseModel):
filename: str
base64: str
| 16 | 44 | 0.776786 | 11 | 112 | 7.909091 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.178571 | 112 | 6 | 45 | 18.666667 | 0.902174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
ffca8e9bbe49907d8307566fdfef601a37da7a91 | 60 | py | Python | dlhub_cli/__init__.py | DLHub-Argonne/dlhub_cli | 4193683c92b9be546588b8e3ac419c5efecd8ef7 | [
"Apache-2.0"
] | 6 | 2018-10-19T03:29:03.000Z | 2021-07-09T20:28:37.000Z | dlhub_cli/__init__.py | DLHub-Argonne/dlhub_cli | 4193683c92b9be546588b8e3ac419c5efecd8ef7 | [
"Apache-2.0"
] | 13 | 2018-11-29T15:23:25.000Z | 2019-05-08T20:36:17.000Z | dlhub_cli/__init__.py | DLHub-Argonne/dlhub_cli | 4193683c92b9be546588b8e3ac419c5efecd8ef7 | [
"Apache-2.0"
] | 1 | 2019-03-06T15:52:47.000Z | 2019-03-06T15:52:47.000Z | from dlhub_cli.main import cli_root
__all__ = ['cli_root']
| 15 | 35 | 0.766667 | 10 | 60 | 3.9 | 0.7 | 0.358974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 60 | 3 | 36 | 20 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 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 |
08134ca88bcdd23eae89c5b9e67c3e8816771d05 | 29,060 | py | Python | vscworkflows/workflows/core.py | zezhong-zhang/vsc-workflows | 83fbd534592eac973f4390bead670809cb4e47eb | [
"MIT"
] | null | null | null | vscworkflows/workflows/core.py | zezhong-zhang/vsc-workflows | 83fbd534592eac973f4390bead670809cb4e47eb | [
"MIT"
] | null | null | null | vscworkflows/workflows/core.py | zezhong-zhang/vsc-workflows | 83fbd534592eac973f4390bead670809cb4e47eb | [
"MIT"
] | 1 | 2019-11-14T14:55:23.000Z | 2019-11-14T14:55:23.000Z | # coding: utf8
# Copyright (c) Marnik Bercx, University of Antwerp
# Distributed under the terms of the MIT License
import os
import numpy as np
from string import ascii_lowercase
from fireworks import Workflow
from monty.serialization import loadfn
from pymatgen.core.surface import Slab, SlabGenerator
from vscworkfl... | 43.115727 | 85 | 0.629732 | 3,500 | 29,060 | 5.04 | 0.103429 | 0.016156 | 0.040816 | 0.019388 | 0.772392 | 0.742177 | 0.714569 | 0.704252 | 0.694388 | 0.688889 | 0 | 0.005784 | 0.297935 | 29,060 | 673 | 86 | 43.179792 | 0.858837 | 0.426325 | 0 | 0.509434 | 0 | 0 | 0.078613 | 0.005633 | 0.003145 | 0 | 0 | 0 | 0 | 1 | 0.031447 | false | 0.003145 | 0.025157 | 0 | 0.08805 | 0.003145 | 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 |
082364d42cde77f34692a39b3f9d58f88475a8f2 | 210 | py | Python | zestipy/__init__.py | akremin/M2FSreduce | 42092f18aa1e5d7ad6f6528a395ee93e89165b30 | [
"BSD-3-Clause"
] | null | null | null | zestipy/__init__.py | akremin/M2FSreduce | 42092f18aa1e5d7ad6f6528a395ee93e89165b30 | [
"BSD-3-Clause"
] | null | null | null | zestipy/__init__.py | akremin/M2FSreduce | 42092f18aa1e5d7ad6f6528a395ee93e89165b30 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Tue Nov 17 11:15:36 2015
@author: kremin
"""
from . import io
from . import plotting_tools
from . import workflow_funcs
from . import z_est
from . import data_structures | 17.5 | 35 | 0.709524 | 33 | 210 | 4.393939 | 0.757576 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075145 | 0.17619 | 210 | 12 | 36 | 17.5 | 0.763006 | 0.357143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
084a5ce782bef776e1ab0618cc0ac296ea2c360a | 213 | py | Python | sessao03/05_57-FuncoesPart4/aula57.py | Ruteski/CursoPythonOM | afe5ad5e50f903dab370be2b76966a81f07e51dd | [
"MIT"
] | null | null | null | sessao03/05_57-FuncoesPart4/aula57.py | Ruteski/CursoPythonOM | afe5ad5e50f903dab370be2b76966a81f07e51dd | [
"MIT"
] | null | null | null | sessao03/05_57-FuncoesPart4/aula57.py | Ruteski/CursoPythonOM | afe5ad5e50f903dab370be2b76966a81f07e51dd | [
"MIT"
] | null | null | null | """
escopo
"""
variavel = 'valor'
def func():
print(variavel)
def func2():
global variavel
variavel = 'outro valor'
print(variavel)
def func3():
print(variavel)
func()
func2()
func3()
| 8.52 | 28 | 0.596244 | 23 | 213 | 5.521739 | 0.434783 | 0.307087 | 0.251969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.248826 | 213 | 24 | 29 | 8.875 | 0.76875 | 0.028169 | 0 | 0.25 | 0 | 0 | 0.080402 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f24994f3d3e6ec8a1a157412a4393a209bc38f6d | 19 | py | Python | exercises/en/exc_04_12.py | Lavendulaa/programming-in-python-for-data-science | bc41da8afacf4c180ae0ff9c6dc26a7e6292252f | [
"MIT"
] | 1 | 2020-06-26T20:15:44.000Z | 2020-06-26T20:15:44.000Z | exercises/en/exc_04_12.py | Lavendulaa/programming-in-python-for-data-science | bc41da8afacf4c180ae0ff9c6dc26a7e6292252f | [
"MIT"
] | 20 | 2020-06-15T23:05:20.000Z | 2020-09-01T22:07:45.000Z | exercises/en/exc_04_12.py | UBC-MDS/MCL-programming-in-python | 22836d9013d3e3d1b1074678ba7dc3ee2e66f398 | [
"MIT"
] | 1 | 2020-06-25T20:53:13.000Z | 2020-06-25T20:53:13.000Z | ____ = ____
# ____ | 6.333333 | 11 | 0.631579 | 0 | 19 | null | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 19 | 3 | 12 | 6.333333 | 0 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f2a21b477e667dfda44e7f989d0c8fa3fa3aed8d | 48,305 | py | Python | django_harmonization/ui/models.py | chrisroederucdenver/Kao-Harmonization-Release | 1a90db58cd378244a8aba138e27f049376045729 | [
"Apache-2.0"
] | null | null | null | django_harmonization/ui/models.py | chrisroederucdenver/Kao-Harmonization-Release | 1a90db58cd378244a8aba138e27f049376045729 | [
"Apache-2.0"
] | null | null | null | django_harmonization/ui/models.py | chrisroederucdenver/Kao-Harmonization-Release | 1a90db58cd378244a8aba138e27f049376045729 | [
"Apache-2.0"
] | null | null | null | from django.db import models
# for api-token-auth
from django.db.models.signals import post_save
from django.dispatch import receiver
from django.conf import settings
# Most tables are NOT managed, TableColumn is
#class AttributeDefinition(models.Model):
# attribute_definition_id = models.IntegerField(primary_k... | 50.740546 | 300 | 0.744498 | 6,131 | 48,305 | 5.613277 | 0.058392 | 0.074008 | 0.106901 | 0.139794 | 0.812262 | 0.768415 | 0.732471 | 0.675432 | 0.628621 | 0.569345 | 0 | 0.01671 | 0.14394 | 48,305 | 951 | 301 | 50.793901 | 0.815535 | 0.411345 | 0 | 0.330377 | 0 | 0.002217 | 0.092635 | 0.02633 | 0 | 0 | 0 | 0.001052 | 0 | 1 | 0.004435 | false | 0 | 0.008869 | 0.004435 | 0.791574 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
f2c3001f68fb60667771dffa13aaa385ab3d02ef | 87,668 | py | Python | pysnmp_mibs/POLICY-BASED-MANAGEMENT-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 6 | 2017-04-21T13:48:08.000Z | 2022-01-06T19:42:52.000Z | pysnmp_mibs/POLICY-BASED-MANAGEMENT-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 1 | 2020-05-05T16:42:25.000Z | 2020-05-05T16:42:25.000Z | pysnmp_mibs/POLICY-BASED-MANAGEMENT-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 6 | 2020-02-08T20:28:49.000Z | 2021-09-14T13:36:46.000Z | #
# PySNMP MIB module POLICY-BASED-MANAGEMENT-MIB (http://pysnmp.sf.net)
# ASN.1 source http://mibs.snmplabs.com:80/asn1/POLICY-BASED-MANAGEMENT-MIB
# Produced by pysmi-0.0.7 at Sun Feb 14 00:23:59 2016
# On host bldfarm platform Linux version 4.1.13-100.fc21.x86_64 by user goose
# Using Python version 3.5.0 (default, ... | 419.464115 | 4,000 | 0.71935 | 12,101 | 87,668 | 5.211057 | 0.111644 | 0.005772 | 0.004757 | 0.00628 | 0.358791 | 0.312723 | 0.27035 | 0.252827 | 0.232893 | 0.22111 | 0 | 0.03601 | 0.195111 | 87,668 | 208 | 4,001 | 421.480769 | 0.857645 | 0.003764 | 0 | 0 | 0 | 0.4 | 0.71691 | 0.055503 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.025 | 0.035 | 0 | 0.045 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f2c7dab2890b7f29703291212dfc57406365fba6 | 112 | py | Python | Exercise_4_8.py | kushrami/Python-Crash-Course-book-Excersice | 7093181940a90d9f4bab5775ef56f57963450393 | [
"Apache-2.0"
] | null | null | null | Exercise_4_8.py | kushrami/Python-Crash-Course-book-Excersice | 7093181940a90d9f4bab5775ef56f57963450393 | [
"Apache-2.0"
] | null | null | null | Exercise_4_8.py | kushrami/Python-Crash-Course-book-Excersice | 7093181940a90d9f4bab5775ef56f57963450393 | [
"Apache-2.0"
] | null | null | null | #cubes
list = []
for number in range(1,11):
list.append(number**3)
for number in list:
print(number)
| 11.2 | 26 | 0.633929 | 18 | 112 | 3.944444 | 0.611111 | 0.253521 | 0.309859 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045977 | 0.223214 | 112 | 9 | 27 | 12.444444 | 0.770115 | 0.044643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 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 |
4b3f0937b9be14faeaa713b3a310910118e6b68b | 145 | py | Python | config/conf.py | lllllaurel/bravo | 2c25f5af1779e2662533a64ca8b2f4e40d96fd07 | [
"Apache-2.0"
] | null | null | null | config/conf.py | lllllaurel/bravo | 2c25f5af1779e2662533a64ca8b2f4e40d96fd07 | [
"Apache-2.0"
] | null | null | null | config/conf.py | lllllaurel/bravo | 2c25f5af1779e2662533a64ca8b2f4e40d96fd07 | [
"Apache-2.0"
] | null | null | null | from urllib import parse
#数据库配置
class DatabaseConfig():
DBNAME = 'admin'
USER = 'bravo'
PASSWORD = parse.unquote_plus('Jujiao2020%') | 20.714286 | 48 | 0.689655 | 16 | 145 | 6.1875 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034188 | 0.193103 | 145 | 7 | 48 | 20.714286 | 0.811966 | 0.034483 | 0 | 0 | 0 | 0 | 0.15 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.2 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
4b49cb90139afc69c594095e7a0ece4f01e09d1b | 204 | py | Python | step03.py | ml-as-a-service/scrapping-example | a6ddcd0cc03c382b81b89ca953cbfc74c95b62a4 | [
"MIT"
] | null | null | null | step03.py | ml-as-a-service/scrapping-example | a6ddcd0cc03c382b81b89ca953cbfc74c95b62a4 | [
"MIT"
] | null | null | null | step03.py | ml-as-a-service/scrapping-example | a6ddcd0cc03c382b81b89ca953cbfc74c95b62a4 | [
"MIT"
] | null | null | null | from selenium import webdriver
from selenium.webdriver.common.keys import Keys
import pandas as pd
driver = webdriver.Chrome('/usr/bin/chromedriver')
driver.get('https://hoopshype.com/salaries/players/') | 34 | 53 | 0.803922 | 28 | 204 | 5.857143 | 0.714286 | 0.146341 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 204 | 6 | 53 | 34 | 0.87234 | 0 | 0 | 0 | 0 | 0 | 0.292683 | 0.102439 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4b5a662386f9621559f98785b5c92045886293dd | 148 | py | Python | django_mailbox2/transports/mh.py | sunset-crew/django-mailbox | e9f6079c66e70e705f3c968e2e8c7b00c182ef40 | [
"MIT"
] | null | null | null | django_mailbox2/transports/mh.py | sunset-crew/django-mailbox | e9f6079c66e70e705f3c968e2e8c7b00c182ef40 | [
"MIT"
] | null | null | null | django_mailbox2/transports/mh.py | sunset-crew/django-mailbox | e9f6079c66e70e705f3c968e2e8c7b00c182ef40 | [
"MIT"
] | null | null | null | from mailbox import MH
from django_mailbox2.transports.generic import GenericFileMailbox
class MHTransport(GenericFileMailbox):
_variant = MH
| 21.142857 | 65 | 0.831081 | 16 | 148 | 7.5625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.128378 | 148 | 6 | 66 | 24.666667 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
4b76d48b54e922cc8ff511a526cbf261e7dac189 | 14,467 | py | Python | python/GradFuncs.py | ziyuchen7/SpecNet2 | ae814e6e1e9a823bd221394a566c461fac6d0a59 | [
"MIT"
] | null | null | null | python/GradFuncs.py | ziyuchen7/SpecNet2 | ae814e6e1e9a823bd221394a566c461fac6d0a59 | [
"MIT"
] | null | null | null | python/GradFuncs.py | ziyuchen7/SpecNet2 | ae814e6e1e9a823bd221394a566c461fac6d0a59 | [
"MIT"
] | null | null | null | import torch
import numpy as np
from functools import reduce
import time
def specnet1_grad_fullu(model, batch_idx, matdata):
n = matdata.Size()
W = matdata.Wmat(rowidx=batch_idx)
D = matdata.Dmat()
Y = model.rotate(matdata.Xdata(), D = D)
# DY = torch.mul(D[batch_idx], Y[batch_idx,:])
WY = t... | 34.36342 | 101 | 0.637174 | 2,220 | 14,467 | 3.891441 | 0.056757 | 0.090751 | 0.02917 | 0.028591 | 0.83123 | 0.795578 | 0.760042 | 0.706216 | 0.633407 | 0.592545 | 0 | 0.009667 | 0.220571 | 14,467 | 421 | 102 | 34.36342 | 0.756474 | 0.141633 | 0 | 0.57037 | 0 | 0 | 0.000728 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.051852 | false | 0 | 0.014815 | 0 | 0.077778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4b7bfa9e65393125315c4abe3f0b69c8d5b9f62c | 148 | py | Python | packages/qsmstoken/qsmstoken/clients/alidayusms/__init__.py | lianxiaopang/camel-store-api | b8021250bf3d8cf7adc566deebdba55225148316 | [
"Apache-2.0"
] | 12 | 2020-02-01T01:52:01.000Z | 2021-04-28T15:06:43.000Z | packages/qsmstoken/qsmstoken/clients/alidayusms/__init__.py | lianxiaopang/camel-store-api | b8021250bf3d8cf7adc566deebdba55225148316 | [
"Apache-2.0"
] | 5 | 2020-02-06T08:07:58.000Z | 2020-06-02T13:03:45.000Z | packages/qsmstoken/qsmstoken/clients/alidayusms/__init__.py | lianxiaopang/camel-store-api | b8021250bf3d8cf7adc566deebdba55225148316 | [
"Apache-2.0"
] | 11 | 2020-02-03T13:07:46.000Z | 2020-11-29T01:44:06.000Z | import os
import sys
parent_dir = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, parent_dir)
from .services import AlidayuSMSClient
| 21.142857 | 55 | 0.804054 | 23 | 148 | 4.913043 | 0.608696 | 0.159292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007463 | 0.094595 | 148 | 6 | 56 | 24.666667 | 0.835821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
29b6bf701d9bdedb3ca4d562964e8b817b848384 | 98 | py | Python | lattice_sync/apps.py | PressLabs/zinc | 9e1dc852f31f9897e7759962cf0f3e6d42fbe637 | [
"Apache-2.0"
] | 29 | 2017-06-29T15:03:49.000Z | 2018-01-30T14:07:26.000Z | lattice_sync/apps.py | presslabs/zinc | 94146e5203fc93ee0e8bb011a4db0ffcd4b0096e | [
"Apache-2.0"
] | 9 | 2019-01-11T09:07:17.000Z | 2022-02-03T12:50:21.000Z | lattice_sync/apps.py | PressLabs/zinc | 9e1dc852f31f9897e7759962cf0f3e6d42fbe637 | [
"Apache-2.0"
] | 1 | 2020-08-09T18:17:25.000Z | 2020-08-09T18:17:25.000Z | from django.apps import AppConfig
class LatticeSyncConfig(AppConfig):
name = 'lattice_sync'
| 16.333333 | 35 | 0.77551 | 11 | 98 | 6.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153061 | 98 | 5 | 36 | 19.6 | 0.903614 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 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 |
29d68863e335a8d647877b64ca4d2bc2812a52b5 | 124 | py | Python | Recommender/test.py | wpwbb510582246/PocketFIlm | 356d057810fd48a77197fe0f00b1f2adccb02d39 | [
"MIT"
] | 17 | 2019-09-11T08:37:26.000Z | 2021-08-17T12:08:54.000Z | Recommender/test.py | wpwbb510582246/PocketFIlm | 356d057810fd48a77197fe0f00b1f2adccb02d39 | [
"MIT"
] | 5 | 2019-10-26T00:28:35.000Z | 2021-05-08T09:10:36.000Z | Recommender/test.py | wpwbb510582246/PocketFIlm | 356d057810fd48a77197fe0f00b1f2adccb02d39 | [
"MIT"
] | 8 | 2020-03-17T08:17:35.000Z | 2021-07-30T15:48:36.000Z | from util.CommonUtils import *
from util.MongoDbUtils import MongoDbUtils
if __name__ == '__main__':
print(get_today()) | 24.8 | 42 | 0.766129 | 15 | 124 | 5.733333 | 0.733333 | 0.186047 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137097 | 124 | 5 | 43 | 24.8 | 0.803738 | 0 | 0 | 0 | 0 | 0 | 0.064 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
29eb98577605361c475a71b506aa7bffb53980dd | 109 | py | Python | src/words/__init__.py | winkidney/MakeABit | 8438b177218fadd6bd8faeedac1b586429e9bc7f | [
"MIT"
] | 1 | 2016-09-08T07:46:39.000Z | 2016-09-08T07:46:39.000Z | src/words/__init__.py | winkidney/MakeABit | 8438b177218fadd6bd8faeedac1b586429e9bc7f | [
"MIT"
] | null | null | null | src/words/__init__.py | winkidney/MakeABit | 8438b177218fadd6bd8faeedac1b586429e9bc7f | [
"MIT"
] | null | null | null | import os
HERE = os.path.abspath(os.path.dirname(__file__))
TEMPLATES_DIR = os.path.join(HERE, "templates") | 21.8 | 49 | 0.752294 | 17 | 109 | 4.529412 | 0.588235 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091743 | 109 | 5 | 50 | 21.8 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.081818 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4b1a1cc40d3da2f488c81d227ffdce85b53f6ac8 | 166 | py | Python | chunked_media/apps.py | CerealBoxMedia/chunked_media | 324d9b7d76323fa1ca5296d733b82dc5ab5f98c0 | [
"BSD-2-Clause"
] | null | null | null | chunked_media/apps.py | CerealBoxMedia/chunked_media | 324d9b7d76323fa1ca5296d733b82dc5ab5f98c0 | [
"BSD-2-Clause"
] | null | null | null | chunked_media/apps.py | CerealBoxMedia/chunked_media | 324d9b7d76323fa1ca5296d733b82dc5ab5f98c0 | [
"BSD-2-Clause"
] | null | null | null | from django.apps import AppConfig
class ChunkedMediaAppConfig(AppConfig):
name = 'chunked_media'
label = 'chunked_media'
verbose_name = "Chunked media"
| 20.75 | 39 | 0.740964 | 18 | 166 | 6.666667 | 0.666667 | 0.3 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 166 | 7 | 40 | 23.714286 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0.23494 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 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 |
4b260f10cf9f7e288044481e9b95e59f63c5878a | 465 | py | Python | wwdtm/panelist/__init__.py | questionlp/wwdtm | f3cf3399c22bf19e369e6e0250e7c72de0be3a90 | [
"Apache-2.0"
] | null | null | null | wwdtm/panelist/__init__.py | questionlp/wwdtm | f3cf3399c22bf19e369e6e0250e7c72de0be3a90 | [
"Apache-2.0"
] | 1 | 2022-01-17T04:25:49.000Z | 2022-01-17T04:25:49.000Z | wwdtm/panelist/__init__.py | questionlp/wwdtm | f3cf3399c22bf19e369e6e0250e7c72de0be3a90 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# vim: set noai syntax=python ts=4 sw=4:
#
# Copyright (c) 2018-2021 Linh Pham
# wwdtm is released under the terms of the Apache License 2.0
"""Wait Wait Stats: Panelist module"""
from wwdtm.panelist.appearances import PanelistAppearances
from wwdtm.panelist.panelist import Panelist
from wwdtm.p... | 38.75 | 61 | 0.795699 | 65 | 465 | 5.692308 | 0.646154 | 0.121622 | 0.22973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031785 | 0.12043 | 465 | 11 | 62 | 42.272727 | 0.872861 | 0.404301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d9a129abd63f0d9c386cac6d0ce1e4a9b6222916 | 199 | py | Python | ml_web/users/tests/test_models.py | mahidul-islam/ml_web | 6e4b0f034aaa6c86b53dc2edb7c5123419e0541d | [
"MIT"
] | 1 | 2021-08-19T17:42:31.000Z | 2021-08-19T17:42:31.000Z | ml_web/users/tests/test_models.py | mahidul-islam/ml_web | 6e4b0f034aaa6c86b53dc2edb7c5123419e0541d | [
"MIT"
] | null | null | null | ml_web/users/tests/test_models.py | mahidul-islam/ml_web | 6e4b0f034aaa6c86b53dc2edb7c5123419e0541d | [
"MIT"
] | null | null | null | import pytest
from ml_web.users.models import User
pytestmark = pytest.mark.django_db
def test_user_get_absolute_url(user: User):
assert user.get_absolute_url() == f"/users/{user.username}/"
| 19.9 | 64 | 0.768844 | 31 | 199 | 4.677419 | 0.645161 | 0.096552 | 0.206897 | 0.248276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120603 | 199 | 9 | 65 | 22.111111 | 0.828571 | 0 | 0 | 0 | 0 | 0 | 0.115578 | 0.115578 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 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 |
d9b83d7ce43d5ceb515bbb8e5157b420964a03e2 | 541 | py | Python | cms/templatetags/cms_tags.py | eldarion-client/hedera | a01d44232fadab4e60e8d06971feba9fad21e3f2 | [
"MIT"
] | 8 | 2018-10-25T19:30:49.000Z | 2021-07-27T18:16:42.000Z | cms/templatetags/cms_tags.py | eldarion-client/hedera | a01d44232fadab4e60e8d06971feba9fad21e3f2 | [
"MIT"
] | 233 | 2018-11-01T14:30:25.000Z | 2022-03-30T16:38:24.000Z | cms/templatetags/cms_tags.py | eldarion-client/hedera | a01d44232fadab4e60e8d06971feba9fad21e3f2 | [
"MIT"
] | 3 | 2019-05-16T14:57:55.000Z | 2021-03-16T13:05:01.000Z | from django import template
from cms.models import FlatPage, HomePage
register = template.Library()
@register.simple_tag
def get_home_page():
return HomePage.objects.first()
@register.simple_tag
def get_site_nav():
return FlatPage.objects.live().filter(show_in_menus=True).order_by('title')
@register.si... | 20.037037 | 79 | 0.759704 | 76 | 541 | 5.157895 | 0.421053 | 0.142857 | 0.173469 | 0.204082 | 0.443878 | 0.326531 | 0.219388 | 0.219388 | 0.219388 | 0 | 0 | 0 | 0.109057 | 541 | 26 | 80 | 20.807692 | 0.813278 | 0 | 0 | 0.2 | 0 | 0 | 0.027726 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.133333 | 0.266667 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
d9c789fed2e7686c7e0513ac9e434c3f6ff56b9b | 492 | py | Python | KOPy/__init__.py | alexrudy/KOPy | fcce623f1efc2e2891645af484f3dc23b70ce7f8 | [
"BSD-3-Clause"
] | null | null | null | KOPy/__init__.py | alexrudy/KOPy | fcce623f1efc2e2891645af484f3dc23b70ce7f8 | [
"BSD-3-Clause"
] | null | null | null | KOPy/__init__.py | alexrudy/KOPy | fcce623f1efc2e2891645af484f3dc23b70ce7f8 | [
"BSD-3-Clause"
] | null | null | null | # Licensed under a 3-clause BSD style license - see LICENSE.rst
"""
KOPy - Keck Observing Python
"""
# Affiliated packages may add whatever they like to this file, but
# should keep this content at the top.
# ----------------------------------------------------------------------------
from ._astropy_init import *
# -... | 30.75 | 78 | 0.506098 | 53 | 492 | 4.584906 | 0.90566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002358 | 0.138211 | 492 | 15 | 79 | 32.8 | 0.570755 | 0.827236 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
d9ca34b32611e04843b57807b53f42282d7aa2b4 | 144 | py | Python | posts/widgets.py | Duskhorizon/discoplaytogether | e74a11b0f65d14db6f15d1bb0536411dd546eda6 | [
"MIT"
] | null | null | null | posts/widgets.py | Duskhorizon/discoplaytogether | e74a11b0f65d14db6f15d1bb0536411dd546eda6 | [
"MIT"
] | null | null | null | posts/widgets.py | Duskhorizon/discoplaytogether | e74a11b0f65d14db6f15d1bb0536411dd546eda6 | [
"MIT"
] | null | null | null | from django.forms import DateTimeInput
class XDSoftDateTimePickerInput(DateTimeInput):
template_name = 'widgets/xdsoft_datetimepicker.html' | 36 | 56 | 0.847222 | 14 | 144 | 8.571429 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090278 | 144 | 4 | 56 | 36 | 0.916031 | 0 | 0 | 0 | 0 | 0 | 0.234483 | 0.234483 | 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 |
d9cf9573a2207d7e74cd336a12bbcab09f94e2d9 | 70 | py | Python | create_schema.py | dwahler/spelling-list-generator | acb8c3c0929c8a1caf20db07f8ca896e57827637 | [
"MIT"
] | 2 | 2019-03-11T07:36:12.000Z | 2019-09-07T03:55:28.000Z | create_schema.py | dwahler/spelling-list-generator | acb8c3c0929c8a1caf20db07f8ca896e57827637 | [
"MIT"
] | null | null | null | create_schema.py | dwahler/spelling-list-generator | acb8c3c0929c8a1caf20db07f8ca896e57827637 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
from spelling.storage import db
db.create_all()
| 17.5 | 31 | 0.771429 | 12 | 70 | 4.416667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 70 | 3 | 32 | 23.333333 | 0.84127 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d9dac6d49626f764fd967fa8db12e093465915c8 | 15 | py | Python | src/rewoven/__init__.py | radifar/rewoven | 048ca4337133fe0fab2caa40c5ec8ddd1c52bcd2 | [
"MIT"
] | null | null | null | src/rewoven/__init__.py | radifar/rewoven | 048ca4337133fe0fab2caa40c5ec8ddd1c52bcd2 | [
"MIT"
] | 40 | 2021-11-01T11:22:13.000Z | 2022-03-30T11:27:05.000Z | src/rewoven/__init__.py | radifar/rewoven | 048ca4337133fe0fab2caa40c5ec8ddd1c52bcd2 | [
"MIT"
] | null | null | null | """Rewoven."""
| 7.5 | 14 | 0.466667 | 1 | 15 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 15 | 1 | 15 | 15 | 0.5 | 0.533333 | 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 |
d9db0e9bf33ddd885dd6ee9a60718e604b127977 | 3,162 | py | Python | databaser/settings.py | yart2211/databaser | e34a738b07fff7be384625635f37143a8cec3e97 | [
"MIT"
] | 21 | 2020-04-29T11:10:14.000Z | 2022-03-15T11:16:22.000Z | databaser/settings.py | yart2211/databaser | e34a738b07fff7be384625635f37143a8cec3e97 | [
"MIT"
] | null | null | null | databaser/settings.py | yart2211/databaser | e34a738b07fff7be384625635f37143a8cec3e97 | [
"MIT"
] | 6 | 2020-07-16T05:53:14.000Z | 2021-09-23T07:15:14.000Z | import logging
from core.enums import (
LogLevelEnum,
)
from core.helpers import (
get_bool_environ_parameter,
get_int_environ_parameter,
get_iterable_environ_parameter,
get_str_environ_parameter,
logger,
)
# Logger
LOG_LEVEL = get_str_environ_parameter(
name='DATABASER_LOG_LEVEL',
def... | 24.511628 | 65 | 0.772612 | 421 | 3,162 | 5.218527 | 0.171021 | 0.211197 | 0.227583 | 0.316796 | 0.65635 | 0.580792 | 0.414201 | 0.393264 | 0.042786 | 0 | 0 | 0.001116 | 0.149589 | 3,162 | 128 | 66 | 24.703125 | 0.815917 | 0.028147 | 0 | 0.017857 | 0 | 0 | 0.232073 | 0.200456 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.053571 | 0.026786 | 0 | 0.026786 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d9dbb4e3cf51668889c1d2dd53f6c2920509e999 | 73 | py | Python | kriegspiel_api_server/kriegspiel/exceptions.py | Kriegspiel/python-api | f25107d5ebc8810af622c66960c153c43a1ffb03 | [
"MIT"
] | 1 | 2016-12-30T10:11:11.000Z | 2016-12-30T10:11:11.000Z | kriegspiel_api_server/kriegspiel/exceptions.py | Kriegspiel/python-api | f25107d5ebc8810af622c66960c153c43a1ffb03 | [
"MIT"
] | null | null | null | kriegspiel_api_server/kriegspiel/exceptions.py | Kriegspiel/python-api | f25107d5ebc8810af622c66960c153c43a1ffb03 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
class KriegspielException(Exception):
pass
| 12.166667 | 37 | 0.643836 | 7 | 73 | 6.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.191781 | 73 | 5 | 38 | 14.6 | 0.779661 | 0.287671 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
d9fcbec087b3096414a368ead8a5532c01831c36 | 96 | py | Python | Intelligent-interrogation/IISever/mainFunc/apps.py | Intelligent-interrogation/Intelligent-interrogation | 17ecdc85b37a1624bf3115a0539008cb0574d5ce | [
"MIT"
] | 7 | 2017-12-21T03:45:29.000Z | 2021-11-06T16:11:50.000Z | Intelligent-interrogation/IISever/mainFunc/apps.py | Intelligent-interrogation/Intelligent-interrogation | 17ecdc85b37a1624bf3115a0539008cb0574d5ce | [
"MIT"
] | 1 | 2017-12-13T08:41:51.000Z | 2017-12-13T08:41:51.000Z | Intelligent-interrogation/IISever/mainFunc/apps.py | Intelligent-interrogation/Intelligent-interrogation | 17ecdc85b37a1624bf3115a0539008cb0574d5ce | [
"MIT"
] | 4 | 2018-06-19T07:00:38.000Z | 2019-09-18T01:15:31.000Z | from django.apps import AppConfig
class MainfuncConfig(AppConfig):
name = 'mainFunc'
| 16 | 34 | 0.71875 | 10 | 96 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 96 | 5 | 35 | 19.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 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 |
8a202dd058b0b797f44343d0a1f94b0f7b2b341c | 2,194 | py | Python | tests/run_data_tests.py | Cloudlock/gdata-python3 | a6481a13590bfa225f91a97b2185cca9aacd1403 | [
"Apache-2.0"
] | 19 | 2017-06-09T13:38:03.000Z | 2020-12-12T07:45:48.000Z | tests/run_data_tests.py | AlexxIT/gdata-python3 | 5cc5a83a469d87f804d1fda8760ec76bcb6050c9 | [
"Apache-1.1"
] | 11 | 2017-07-22T07:09:54.000Z | 2020-12-02T15:08:48.000Z | tests/run_data_tests.py | AlexxIT/gdata-python3 | 5cc5a83a469d87f804d1fda8760ec76bcb6050c9 | [
"Apache-1.1"
] | 25 | 2017-07-03T11:30:39.000Z | 2020-10-01T02:21:13.000Z | import os
import sys
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), '../src'))
import atom_test
import atom_tests.core_test
import atom_tests.http_interface_test
import atom_tests.mock_http_test
import atom_tests.token_store_test
import atom_tests.url_test
# Modules whose tests we will run... | 38.491228 | 86 | 0.680948 | 266 | 2,194 | 5.184211 | 0.195489 | 0.232052 | 0.174039 | 0.232052 | 0.345178 | 0.166788 | 0 | 0 | 0 | 0 | 0 | 0.000619 | 0.263446 | 2,194 | 56 | 87 | 39.178571 | 0.852723 | 0.014585 | 0 | 0 | 0 | 0 | 0.006481 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.02 | false | 0 | 0.52 | 0 | 0.54 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8a34fe18f81ca4dd57f7f9d5cb96c87fb91d6fea | 205 | py | Python | django/contrib/syndication/apps.py | benjaoming/django | 6dbe979b4d9396e1b307c7d27388c97c13beb21c | [
"BSD-3-Clause"
] | 2 | 2016-09-27T09:30:19.000Z | 2016-10-17T01:47:43.000Z | env/lib/python2.7/site-packages/django/contrib/syndication/apps.py | luiscarlosgph/nas | e5acee61e8bbf12c34785fe971ce7df8dee775d4 | [
"MIT"
] | 10 | 2019-12-26T17:31:31.000Z | 2022-03-21T22:17:33.000Z | env/lib/python2.7/site-packages/django/contrib/syndication/apps.py | luiscarlosgph/nas | e5acee61e8bbf12c34785fe971ce7df8dee775d4 | [
"MIT"
] | 1 | 2020-05-25T08:55:19.000Z | 2020-05-25T08:55:19.000Z | from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
class SyndicationConfig(AppConfig):
name = 'django.contrib.syndication'
verbose_name = _("Syndication")
| 22.777778 | 55 | 0.780488 | 23 | 205 | 6.782609 | 0.695652 | 0.128205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141463 | 205 | 8 | 56 | 25.625 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0.180488 | 0.126829 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8a67d40fcf341e06108d4cbf7ff08865af1229bc | 133 | py | Python | Shivani/circle.py | 63Shivani/Python-BootCamp | 2ed0ef95af35d35c0602031670fecfc92d8cea0a | [
"MIT"
] | null | null | null | Shivani/circle.py | 63Shivani/Python-BootCamp | 2ed0ef95af35d35c0602031670fecfc92d8cea0a | [
"MIT"
] | null | null | null | Shivani/circle.py | 63Shivani/Python-BootCamp | 2ed0ef95af35d35c0602031670fecfc92d8cea0a | [
"MIT"
] | null | null | null | r=int(input("enter radius\n"))
area=3.14*r*r
print(area)
r=int(input("enter radius\n"))
circumference=2*3.14*r
print(circumference)
| 16.625 | 30 | 0.721805 | 26 | 133 | 3.692308 | 0.461538 | 0.083333 | 0.1875 | 0.291667 | 0.4375 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0.056452 | 0.067669 | 133 | 7 | 31 | 19 | 0.717742 | 0 | 0 | 0.333333 | 0 | 0 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 |
8a8e8552549687adefcd485b49a51a6a0e84b48e | 262 | py | Python | core/consts.py | telminov/viber-service | 21f671522084ff1afcd320406a7e5bf71a04437f | [
"MIT"
] | null | null | null | core/consts.py | telminov/viber-service | 21f671522084ff1afcd320406a7e5bf71a04437f | [
"MIT"
] | 1 | 2017-09-21T14:08:57.000Z | 2017-09-21T14:08:57.000Z | core/consts.py | telminov/viber-service | 21f671522084ff1afcd320406a7e5bf71a04437f | [
"MIT"
] | null | null | null | SEND_TEXT = 'send_text'
SEND_IMAGE = 'send_image'
SEND_TEXT_AND_BUTTON = 'send_text_and_button'
CHECK_STATUS_MESSAGES = 'check_status_messages'
API = [SEND_TEXT, SEND_IMAGE, SEND_TEXT_AND_BUTTON, CHECK_STATUS_MESSAGES]
API_CHOICES = [(api, api) for api in API] | 32.75 | 74 | 0.805344 | 42 | 262 | 4.5 | 0.285714 | 0.253968 | 0.190476 | 0.269841 | 0.698413 | 0.566138 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0.103053 | 262 | 8 | 75 | 32.75 | 0.804255 | 0 | 0 | 0 | 0 | 0 | 0.228137 | 0.079848 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
8a920e80df22a9bd3983e7cd6ef1db5a0e7bf417 | 59 | py | Python | tests/assets/scannersuccess/scannersuccess/in/class.py | SimonBiggs/layer_linter | 9eb518b74118e4a2d8079e2f32ecc12612ca9e86 | [
"BSD-3-Clause"
] | 63 | 2018-06-21T10:39:54.000Z | 2021-06-04T14:28:44.000Z | tests/assets/scannersuccess/scannersuccess/in/class.py | SimonBiggs/layer_linter | 9eb518b74118e4a2d8079e2f32ecc12612ca9e86 | [
"BSD-3-Clause"
] | 86 | 2018-06-20T13:30:30.000Z | 2019-06-04T12:47:28.000Z | tests/assets/scannersuccess/scannersuccess/in/class.py | SimonBiggs/layer_linter | 9eb518b74118e4a2d8079e2f32ecc12612ca9e86 | [
"BSD-3-Clause"
] | 4 | 2018-08-14T08:49:55.000Z | 2019-02-16T09:24:47.000Z | # 'Class' is a reserved keyword so can't be a module name.
| 29.5 | 58 | 0.711864 | 12 | 59 | 3.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20339 | 59 | 1 | 59 | 59 | 0.893617 | 0.949153 | 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 |
8aa85418b10b53fb83bf755181836087da8a451c | 18,553 | py | Python | VersionAlpha0.0.1/performanceEstimator/indexer/tokenizer.py | GoranBotic/Water_Fern | d4f513315c0cd668b17529cc65271bf455b15adc | [
"MIT"
] | null | null | null | VersionAlpha0.0.1/performanceEstimator/indexer/tokenizer.py | GoranBotic/Water_Fern | d4f513315c0cd668b17529cc65271bf455b15adc | [
"MIT"
] | null | null | null | VersionAlpha0.0.1/performanceEstimator/indexer/tokenizer.py | GoranBotic/Water_Fern | d4f513315c0cd668b17529cc65271bf455b15adc | [
"MIT"
] | null | null | null | # Generated from JavaParser.g4 by ANTLR 4.7.1
from antlr4 import *
from indexer.JavaLexer import JavaLexer
# This class defines a complete generic visitor for a parse tree produced by JavaParser.
#theStuff = dict()
from hashlib import md5
class Tokenizer(ParseTreeVisitor):
#this provides some default behavior
... | 30.767828 | 190 | 0.705546 | 2,038 | 18,553 | 6.422964 | 0.18106 | 0.057219 | 0.080214 | 0.144385 | 0.554622 | 0.539496 | 0.534683 | 0.529335 | 0.529335 | 0.529335 | 0 | 0.001043 | 0.224815 | 18,553 | 602 | 191 | 30.818937 | 0.909123 | 0.417453 | 0 | 0.427386 | 1 | 0 | 0.006434 | 0.003406 | 0 | 0 | 0 | 0 | 0 | 1 | 0.439834 | false | 0 | 0.016598 | 0.423237 | 0.904564 | 0.012448 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
8ac3ec5a75dfd6f612253b02a2c195507cfa0eaf | 531 | py | Python | pyportlib/__init__.py | phil-lo/PortfolioCore | 3fbe7460c809a80e48615e934990dcd2d1f5003b | [
"CC0-1.0"
] | 2 | 2021-11-18T21:40:02.000Z | 2021-12-13T21:01:18.000Z | pyportlib/__init__.py | phil-lo/PortfolioCore | 3fbe7460c809a80e48615e934990dcd2d1f5003b | [
"CC0-1.0"
] | null | null | null | pyportlib/__init__.py | phil-lo/PortfolioCore | 3fbe7460c809a80e48615e934990dcd2d1f5003b | [
"CC0-1.0"
] | null | null | null | from pyportlib.portfolio import Portfolio
from pyportlib.position import Position
from pyportlib.reporting import plots, html_reports
from pyportlib.services.transaction import Transaction
from pyportlib.services.cash_change import CashChange
from pyportlib.utils.files_utils import set_client_dir
from pyportlib.utils i... | 48.272727 | 78 | 0.881356 | 70 | 531 | 6.528571 | 0.457143 | 0.284464 | 0.118162 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082863 | 531 | 10 | 79 | 53.1 | 0.938398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8acdc056be73dd5efca538564809ca38737fdb0b | 1,794 | py | Python | tests/unit/service_test.py | ryanbrainard/fig | 9a825c5c35128b0b49eb255966f7a93b4093459a | [
"Apache-2.0"
] | 1 | 2016-04-25T08:43:35.000Z | 2016-04-25T08:43:35.000Z | tests/unit/service_test.py | ryanbrainard/fig | 9a825c5c35128b0b49eb255966f7a93b4093459a | [
"Apache-2.0"
] | null | null | null | tests/unit/service_test.py | ryanbrainard/fig | 9a825c5c35128b0b49eb255966f7a93b4093459a | [
"Apache-2.0"
] | null | null | null | from __future__ import unicode_literals
from __future__ import absolute_import
from .. import unittest
from fig import Service
from fig.service import ConfigError, split_port
class ServiceTest(unittest.TestCase):
def test_name_validations(self):
self.assertRaises(ConfigError, lambda: Service(name=''))
... | 39.866667 | 82 | 0.684504 | 206 | 1,794 | 5.737864 | 0.18932 | 0.120981 | 0.251269 | 0.307107 | 0.72335 | 0.72335 | 0.692047 | 0.688663 | 0.641286 | 0.538071 | 0 | 0.049391 | 0.176143 | 1,794 | 44 | 83 | 40.772727 | 0.750338 | 0 | 0 | 0.147059 | 0 | 0 | 0.077567 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.117647 | false | 0 | 0.147059 | 0 | 0.294118 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8ace10c7b0e37f6633ee727c284be0d9be61c3e2 | 81 | py | Python | docker/python/django/testapp/foo/apps.py | jlvoiseux/apm-integration-testing | 53ec49f80bb8dc8175e21e9ac26452fa8c3b7cf0 | [
"Apache-2.0"
] | 191 | 2015-02-18T08:52:21.000Z | 2022-03-24T18:38:36.000Z | docker/python/django/testapp/foo/apps.py | jlvoiseux/apm-integration-testing | 53ec49f80bb8dc8175e21e9ac26452fa8c3b7cf0 | [
"Apache-2.0"
] | 902 | 2018-05-25T15:42:22.000Z | 2022-03-31T16:12:35.000Z | docker/python/django/testapp/foo/apps.py | jlvoiseux/apm-integration-testing | 53ec49f80bb8dc8175e21e9ac26452fa8c3b7cf0 | [
"Apache-2.0"
] | 68 | 2015-07-09T09:40:26.000Z | 2022-02-07T20:46:35.000Z | from django.apps import AppConfig
class FooConfig(AppConfig):
name = 'foo'
| 13.5 | 33 | 0.728395 | 10 | 81 | 5.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 81 | 5 | 34 | 16.2 | 0.893939 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 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 |
76d976a74595513a5144dc3bbce73fc7ae015b3f | 25,531 | py | Python | sdk/python/pulumi_azure_native/desktopvirtualization/application.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/desktopvirtualization/application.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | sdk/python/pulumi_azure_native/desktopvirtualization/application.py | sebtelko/pulumi-azure-native | 711ec021b5c73da05611c56c8a35adb0ce3244e4 | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# *** WARNING: this file was generated by the Pulumi SDK Generator. ***
# *** Do not edit by hand unless you're certain you know what you are doing! ***
import warnings
import pulumi
import pulumi.runtime
from typing import Any, Mapping, Optional, Sequence, Union, overload
from .. import _utilities
from... | 48.171698 | 1,874 | 0.675806 | 2,883 | 25,531 | 5.675338 | 0.073188 | 0.067901 | 0.061606 | 0.059161 | 0.826977 | 0.750153 | 0.692214 | 0.552439 | 0.530497 | 0.474942 | 0 | 0.009013 | 0.222083 | 25,531 | 529 | 1,875 | 48.26276 | 0.814813 | 0.217109 | 0 | 0.425076 | 1 | 0 | 0.193859 | 0.11387 | 0 | 0 | 0 | 0 | 0 | 1 | 0.152905 | false | 0.003058 | 0.018349 | 0 | 0.272171 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
76f250487d9708ee70a7784ad67d42eb67f7c889 | 1,266 | py | Python | astro_cloud_tests/fits/test_utils.py | RichardScottOZ/astro-cloud | f45d002566e97007f1bdfa7dce9094ec27c3f912 | [
"MIT"
] | 1 | 2022-02-02T11:03:54.000Z | 2022-02-02T11:03:54.000Z | astro_cloud_tests/fits/test_utils.py | RichardScottOZ/astro-cloud | f45d002566e97007f1bdfa7dce9094ec27c3f912 | [
"MIT"
] | 2 | 2020-10-13T17:31:09.000Z | 2021-04-04T22:31:03.000Z | astro_cloud_tests/fits/test_utils.py | RichardScottOZ/astro-cloud | f45d002566e97007f1bdfa7dce9094ec27c3f912 | [
"MIT"
] | 1 | 2022-02-02T11:04:37.000Z | 2022-02-02T11:04:37.000Z | from astro_cloud_tests.pytest_utils import fits_files
def test__as_np_dtype__uint8():
import numpy as np
from astro_cloud.fits.utils import as_np_dtype
assert as_np_dtype(8) == np.dtype(np.uint8)
def test__as_np_dtype__uint16():
import numpy as np
from astro_cloud.fits.utils import as_np_dtype
... | 25.836735 | 62 | 0.765403 | 210 | 1,266 | 4.204762 | 0.185714 | 0.0906 | 0.152888 | 0.183465 | 0.770102 | 0.679502 | 0.618347 | 0.618347 | 0.618347 | 0.618347 | 0 | 0.02639 | 0.161927 | 1,266 | 48 | 63 | 26.375 | 0.805844 | 0.040284 | 0 | 0.518519 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 1 | 0.259259 | false | 0 | 0.555556 | 0 | 0.814815 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 4 |
76fbf00220b15db81ebeef9af48312f51593a2c1 | 80,376 | py | Python | nova/tests/unit/virt/ironic/test_driver.py | badock/nova-tidb | 4c4591f2cd887fdc22828e12f0c297c051bbd912 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/virt/ironic/test_driver.py | badock/nova-tidb | 4c4591f2cd887fdc22828e12f0c297c051bbd912 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/virt/ironic/test_driver.py | badock/nova-tidb | 4c4591f2cd887fdc22828e12f0c297c051bbd912 | [
"Apache-2.0"
] | 1 | 2020-03-01T17:04:57.000Z | 2020-03-01T17:04:57.000Z | # Copyright 2015 Red Hat, Inc.
# Copyright 2013 Hewlett-Packard Development Company, L.P.
#
# 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/L... | 47.169014 | 79 | 0.647892 | 9,319 | 80,376 | 5.219122 | 0.05462 | 0.030717 | 0.051196 | 0.038489 | 0.800831 | 0.760018 | 0.726402 | 0.698378 | 0.668401 | 0.646648 | 0 | 0.00273 | 0.261795 | 80,376 | 1,703 | 80 | 47.196712 | 0.816985 | 0.032124 | 0 | 0.599006 | 0 | 0 | 0.07734 | 0.025411 | 0 | 0 | 0 | 0 | 0.156139 | 1 | 0.07665 | false | 0.004258 | 0.018453 | 0.002839 | 0.1022 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0a0209ad5dbb303b1a095721bb81092d757703f0 | 399 | py | Python | numba_compile.py | saturdays/hyperlearn | 42b80c2b83c43d8bb84730efc3a9614e6affc01d | [
"BSD-3-Clause"
] | null | null | null | numba_compile.py | saturdays/hyperlearn | 42b80c2b83c43d8bb84730efc3a9614e6affc01d | [
"BSD-3-Clause"
] | null | null | null | numba_compile.py | saturdays/hyperlearn | 42b80c2b83c43d8bb84730efc3a9614e6affc01d | [
"BSD-3-Clause"
] | null | null | null |
print("******* Now compiling Numba and LLVM code..... *******")
print("******* This can be VERY SLOW. Please wait.... *******\n"
"Progress: |||||||||||||||", end = "")
from hyperlearn.numba.funcs import *
print("|||||||||||||||", end = "")
from hyperlearn.utils import *
print("|||||||||||||||")
from hyperlearn.s... | 23.470588 | 64 | 0.516291 | 40 | 399 | 5.15 | 0.675 | 0.203884 | 0.165049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135338 | 399 | 16 | 65 | 24.9375 | 0.597101 | 0 | 0 | 0 | 0 | 0 | 0.550251 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.555556 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
0a1177d84612d9949f365edb97453814bb6bf39b | 5,528 | py | Python | go_core/goboard_test.py | DamonDeng/thetago | 2dba48460aaf3e3544b6d228deb4cff0d0fd7123 | [
"MIT"
] | null | null | null | go_core/goboard_test.py | DamonDeng/thetago | 2dba48460aaf3e3544b6d228deb4cff0d0fd7123 | [
"MIT"
] | null | null | null | go_core/goboard_test.py | DamonDeng/thetago | 2dba48460aaf3e3544b6d228deb4cff0d0fd7123 | [
"MIT"
] | null | null | null | from go_core.goboard import GoBoard
from gosgf import Sgf_game
from go_core.sequence_goboard import SequenceGoBoard
from go_core.array_goboard import ArrayGoBoard
from data_loader.kgs_zip_reader import KGSZipReader
import numpy as np
import time
def speed_testing():
# reader = KGSZipReader('data')
# sgf_generator ... | 29.248677 | 76 | 0.653401 | 772 | 5,528 | 4.411917 | 0.11399 | 0.045214 | 0.035526 | 0.048444 | 0.765414 | 0.74633 | 0.721374 | 0.721374 | 0.693188 | 0.66559 | 0 | 0.012155 | 0.226122 | 5,528 | 189 | 77 | 29.248677 | 0.784011 | 0.243488 | 0 | 0.543689 | 0 | 0 | 0.056239 | 0.007 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058252 | false | 0 | 0.067961 | 0 | 0.145631 | 0.145631 | 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 |
0a3a30e7909ba3672e083498c34575db14a1c3bf | 97 | py | Python | StudentData/apps.py | backstab319/CollegeDataManagement | 39864efc3de706f9479f6fff29c1a1a9326c7b73 | [
"BSD-3-Clause"
] | null | null | null | StudentData/apps.py | backstab319/CollegeDataManagement | 39864efc3de706f9479f6fff29c1a1a9326c7b73 | [
"BSD-3-Clause"
] | null | null | null | StudentData/apps.py | backstab319/CollegeDataManagement | 39864efc3de706f9479f6fff29c1a1a9326c7b73 | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class StudentdataConfig(AppConfig):
name = 'StudentData'
| 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 |
0a41d17bc70163b5daa211227b33794caf96d50f | 72 | py | Python | datefns/__init__.py | ktr/datefns | 0b9ac5f36578894705a0cf5bcd8dfd15c00e967b | [
"MIT"
] | null | null | null | datefns/__init__.py | ktr/datefns | 0b9ac5f36578894705a0cf5bcd8dfd15c00e967b | [
"MIT"
] | null | null | null | datefns/__init__.py | ktr/datefns | 0b9ac5f36578894705a0cf5bcd8dfd15c00e967b | [
"MIT"
] | null | null | null |
from .datefns import *
from .timefns import *
__version__ = '0.0.1a8'
| 12 | 23 | 0.694444 | 10 | 72 | 4.6 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.067797 | 0.180556 | 72 | 5 | 24 | 14.4 | 0.711864 | 0 | 0 | 0 | 0 | 0 | 0.098592 | 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 |
0a42ffe3ebc08032806b7c5e582485e739b8efe2 | 145 | py | Python | python/ex17.py | kazushiyuuki/Lab-ICC | f84ac28b230c9a43d1d323cf0826237c39608429 | [
"MIT"
] | null | null | null | python/ex17.py | kazushiyuuki/Lab-ICC | f84ac28b230c9a43d1d323cf0826237c39608429 | [
"MIT"
] | null | null | null | python/ex17.py | kazushiyuuki/Lab-ICC | f84ac28b230c9a43d1d323cf0826237c39608429 | [
"MIT"
] | null | null | null | a = int(input())
b = int(input())
c = int(input())
max = a
if max < b:
max = b
if max < c:
max = c
elif max < c:
max = c
print(max) | 11.153846 | 16 | 0.489655 | 28 | 145 | 2.535714 | 0.321429 | 0.225352 | 0.197183 | 0.225352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.324138 | 145 | 13 | 17 | 11.153846 | 0.72449 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0a49c12160e1c40311ffe4ef7424ab453f8bd70b | 561 | py | Python | pyNastran/op2/errors.py | als0052/pyNastran | 8493323c30475d1fc3238eed7480bfe9015ce233 | [
"BSD-3-Clause"
] | null | null | null | pyNastran/op2/errors.py | als0052/pyNastran | 8493323c30475d1fc3238eed7480bfe9015ce233 | [
"BSD-3-Clause"
] | null | null | null | pyNastran/op2/errors.py | als0052/pyNastran | 8493323c30475d1fc3238eed7480bfe9015ce233 | [
"BSD-3-Clause"
] | null | null | null | from pyNastran.f06.errors import FatalError
class FortranMarkerError(Exception):
pass
class EmptyRecordError(SyntaxError):
pass
class SortCodeError(RuntimeError):
pass
class DeviceCodeError(SyntaxError):
pass
class MultipleSolutionNotImplementedError(NotImplementedError):
pass
class Mixe... | 13.357143 | 63 | 0.775401 | 46 | 561 | 9.456522 | 0.478261 | 0.186207 | 0.193103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004283 | 0.167558 | 561 | 41 | 64 | 13.682927 | 0.927195 | 0 | 0 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.47619 | 0.047619 | 0 | 0.52381 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
0a61c71d902ed1dcf85b9656ab3824848dca88bd | 25 | py | Python | tests/__init__.py | trickeydan/pepper2 | 3aba1c74568cd0a04c9178caba26e9238c90e9ba | [
"MIT"
] | null | null | null | tests/__init__.py | trickeydan/pepper2 | 3aba1c74568cd0a04c9178caba26e9238c90e9ba | [
"MIT"
] | 22 | 2019-12-22T20:11:24.000Z | 2020-01-18T19:09:11.000Z | tests/__init__.py | j5api/pepper2 | 3aba1c74568cd0a04c9178caba26e9238c90e9ba | [
"MIT"
] | null | null | null | """Tests for pepper2."""
| 12.5 | 24 | 0.6 | 3 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045455 | 0.12 | 25 | 1 | 25 | 25 | 0.636364 | 0.72 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0a66b427bbb59d08092115e691f648c245d168f9 | 344 | py | Python | src/html_generators/_utils.py | quadrant-newmedia/html_generators | c78bb28518efd212a13541c794e8ae426818bb9e | [
"MIT"
] | 1 | 2022-01-19T11:02:00.000Z | 2022-01-19T11:02:00.000Z | src/html_generators/_utils.py | quadrant-newmedia/html_generators | c78bb28518efd212a13541c794e8ae426818bb9e | [
"MIT"
] | null | null | null | src/html_generators/_utils.py | quadrant-newmedia/html_generators | c78bb28518efd212a13541c794e8ae426818bb9e | [
"MIT"
] | 1 | 2022-01-19T11:02:08.000Z | 2022-01-19T11:02:08.000Z | '''
Various utility methods for building html attributes.
'''
def styles(*styles):
'''Join multiple "conditional styles" and return a single style attribute'''
return '; '.join(filter(None, styles))
def classes(*classes):
'''Join multiple "conditional classes" and return a single class attribute'''
return ' '.joi... | 34.4 | 78 | 0.726744 | 43 | 344 | 5.813953 | 0.511628 | 0.096 | 0.184 | 0.128 | 0.232 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133721 | 344 | 10 | 79 | 34.4 | 0.838926 | 0.569767 | 0 | 0 | 0 | 0 | 0.023077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6a5f4c36218a0cd62343e835f253ab69d9caa7b4 | 23 | py | Python | packages/snet_cli/snet/snet_cli/version.py | Vivek205/snet-cli | e5bf64ab6086af71eafc18b86040fa91ad2c5e9f | [
"MIT"
] | 1 | 2021-02-16T17:03:54.000Z | 2021-02-16T17:03:54.000Z | packages/snet_cli/snet/snet_cli/version.py | Vivek205/snet-cli | e5bf64ab6086af71eafc18b86040fa91ad2c5e9f | [
"MIT"
] | null | null | null | packages/snet_cli/snet/snet_cli/version.py | Vivek205/snet-cli | e5bf64ab6086af71eafc18b86040fa91ad2c5e9f | [
"MIT"
] | null | null | null | __version__ = "v1.1.6"
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 0.130435 | 23 | 1 | 23 | 23 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 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 |
6a7f93bb57b52cfb86a0db8287aed9b39b1c35bb | 122 | py | Python | packages/dask-task-models-library/src/dask_task_models_library/__init__.py | elisabettai/osparc-simcore | ad7b6e05111b50fe95e49306a992170490a7247f | [
"MIT"
] | null | null | null | packages/dask-task-models-library/src/dask_task_models_library/__init__.py | elisabettai/osparc-simcore | ad7b6e05111b50fe95e49306a992170490a7247f | [
"MIT"
] | 55 | 2018-05-15T09:47:00.000Z | 2022-03-31T06:56:50.000Z | packages/dask-task-models-library/src/dask_task_models_library/__init__.py | mrnicegyu11/osparc-simcore | b6fa6c245dbfbc18cc74a387111a52de9b05d1f4 | [
"MIT"
] | 1 | 2020-04-22T15:06:58.000Z | 2020-04-22T15:06:58.000Z | import pkg_resources
__version__: str = pkg_resources.get_distribution(
"simcore-dask-task-models-library"
).version
| 20.333333 | 50 | 0.795082 | 15 | 122 | 6 | 0.8 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106557 | 122 | 5 | 51 | 24.4 | 0.825688 | 0 | 0 | 0 | 0 | 0 | 0.262295 | 0.262295 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 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 |
6a87e55dfbcff8cc9517854eb5c942b03924efa5 | 1,125 | py | Python | utils/messages.py | LUNA761/RickBot | 8798e08cd1e05c0b3440e27ce0e3d48f4b9b6f12 | [
"MIT"
] | 1 | 2022-03-03T21:38:34.000Z | 2022-03-03T21:38:34.000Z | utils/messages.py | LUNA761/RickBot | 8798e08cd1e05c0b3440e27ce0e3d48f4b9b6f12 | [
"MIT"
] | null | null | null | utils/messages.py | LUNA761/RickBot | 8798e08cd1e05c0b3440e27ce0e3d48f4b9b6f12 | [
"MIT"
] | null | null | null | """
Copyright (c) 2022, Zach Lagden
All rights reserved.
"""
import discord
from discord.ext import commands
from .embed import Embed
async def cb_reply(ctx: commands.Context, content: str, mention: bool = False):
return await ctx.message.reply(embed=Embed(description=f"`{content}`").raw(), mention_author=menti... | 33.088235 | 105 | 0.742222 | 157 | 1,125 | 5.254777 | 0.229299 | 0.058182 | 0.123636 | 0.152727 | 0.767273 | 0.733333 | 0.694545 | 0.603636 | 0.603636 | 0.603636 | 0 | 0.004065 | 0.125333 | 1,125 | 33 | 106 | 34.090909 | 0.83435 | 0.046222 | 0 | 0 | 0 | 0 | 0.030986 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0a8b1f9750c9b351dae0f0f98acadcb01876caf0 | 239 | py | Python | server/users/serializers/organizations.py | yizhang7210/Syllable | 0536763a21db9532fc73cd32d03a7732d73f4ab8 | [
"MIT"
] | null | null | null | server/users/serializers/organizations.py | yizhang7210/Syllable | 0536763a21db9532fc73cd32d03a7732d73f4ab8 | [
"MIT"
] | 13 | 2018-09-29T21:34:25.000Z | 2018-12-15T18:54:52.000Z | server/users/serializers/organizations.py | yizhang7210/Syllable | 0536763a21db9532fc73cd32d03a7732d73f4ab8 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from users.models.organizations import Organization
class OrganizationSerializer(serializers.ModelSerializer):
class Meta:
model = Organization
fields = ('id', 'name', 'domain')
| 26.555556 | 58 | 0.74477 | 23 | 239 | 7.695652 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175732 | 239 | 8 | 59 | 29.875 | 0.898477 | 0 | 0 | 0 | 0 | 0 | 0.050209 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0ad0dfcdad536b5f9b0aab980c6f0d035a99381d | 1,235 | py | Python | tests/test_plugin_zattoo.py | eleeeeeee/abc | 5d81d68c7a47e931f050632ae7cddb3b044971b4 | [
"BSD-2-Clause"
] | 1 | 2017-11-26T18:48:29.000Z | 2017-11-26T18:48:29.000Z | tests/test_plugin_zattoo.py | eleeeeeee/abc | 5d81d68c7a47e931f050632ae7cddb3b044971b4 | [
"BSD-2-Clause"
] | null | null | null | tests/test_plugin_zattoo.py | eleeeeeee/abc | 5d81d68c7a47e931f050632ae7cddb3b044971b4 | [
"BSD-2-Clause"
] | 1 | 2021-06-03T23:08:48.000Z | 2021-06-03T23:08:48.000Z | import unittest
from streamlink.plugins.zattoo import Zattoo
class TestPluginZattoo(unittest.TestCase):
def test_can_handle_url(self):
# ewe live
self.assertTrue(Zattoo.can_handle_url('http://tvonline.ewe.de/watch/daserste'))
self.assertTrue(Zattoo.can_handle_url('http://tvonline.ewe.de/w... | 49.4 | 127 | 0.719838 | 155 | 1,235 | 5.574194 | 0.264516 | 0.125 | 0.166667 | 0.229167 | 0.704861 | 0.704861 | 0.704861 | 0.645833 | 0.543981 | 0.516204 | 0 | 0.004704 | 0.139271 | 1,235 | 24 | 128 | 51.458333 | 0.80809 | 0.051012 | 0 | 0 | 0 | 0 | 0.35506 | 0 | 0 | 0 | 0 | 0 | 0.733333 | 1 | 0.066667 | false | 0 | 0.133333 | 0 | 0.266667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0ae199629e255a55d28132986561c869fd109846 | 238 | py | Python | autogl/module/hpo/suggestion/early_stop_algorithm/early_stop_first_trial.py | general502570/AutoGL | cbac7954db8555af576692384b09d305a4ef67c2 | [
"MIT"
] | 824 | 2020-11-30T14:38:07.000Z | 2022-03-19T10:14:04.000Z | autogl/module/hpo/suggestion/early_stop_algorithm/early_stop_first_trial.py | lucylow/AutoGL | e560ca7ef3b35a8b85d9b89063ce5ce7afaed52f | [
"MIT"
] | 38 | 2020-12-21T12:32:57.000Z | 2022-01-31T02:32:05.000Z | autogl/module/hpo/suggestion/early_stop_algorithm/early_stop_first_trial.py | lucylow/AutoGL | e560ca7ef3b35a8b85d9b89063ce5ce7afaed52f | [
"MIT"
] | 85 | 2020-12-21T05:16:09.000Z | 2022-03-28T08:44:22.000Z | from suggestion.early_stop_algorithm.abstract_early_stop import (
AbstractEarlyStopAlgorithm,
)
class EarlyStopFirstTrialAlgorithm(AbstractEarlyStopAlgorithm):
def get_early_stop_trials(self, trials):
return [trials[0]]
| 26.444444 | 65 | 0.802521 | 23 | 238 | 8 | 0.695652 | 0.146739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004831 | 0.130252 | 238 | 8 | 66 | 29.75 | 0.884058 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 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 | 0 | 1 | 1 | 0 | 0 | 4 |
0aef85f46f929aacb67d9c3b5b200885f0cb7792 | 190 | py | Python | Sets/Sets_Eliminar.py | BrianMarquez3/Python-Course | 2622b4ddfd687505becfd246e82a2ed0cb9b76f3 | [
"MIT"
] | 20 | 2020-08-19T23:27:01.000Z | 2022-02-03T12:02:17.000Z | Sets/Sets_Eliminar.py | BrianMarquez3/Python-Course | 2622b4ddfd687505becfd246e82a2ed0cb9b76f3 | [
"MIT"
] | 1 | 2021-04-10T18:06:05.000Z | 2021-04-10T18:06:05.000Z | Sets/Sets_Eliminar.py | BrianMarquez3/Python-Course | 2622b4ddfd687505becfd246e82a2ed0cb9b76f3 | [
"MIT"
] | 2 | 2020-12-03T19:35:36.000Z | 2021-11-10T14:58:39.000Z | #Eliminar
conjuntos = set()
conjuntos = {1,2,3,"brian", 4.6}
conjuntos.discard(3)
print (conjuntos)
("==================================================================================")
| 21.111111 | 86 | 0.368421 | 15 | 190 | 4.666667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034286 | 0.078947 | 190 | 8 | 87 | 23.75 | 0.365714 | 0.042105 | 0 | 0 | 0 | 0 | 0.480663 | 0.453039 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0af374bcb532b4870abb788973b7ef113795908f | 242 | py | Python | wagtail/wagtailsnippets/apps.py | patphongs/wagtail | 32555f7a1c599c139e0f26c22907c9612af2e015 | [
"BSD-3-Clause"
] | 3 | 2016-08-17T13:56:36.000Z | 2019-04-23T19:59:25.000Z | wagtail/wagtailsnippets/apps.py | patphongs/wagtail | 32555f7a1c599c139e0f26c22907c9612af2e015 | [
"BSD-3-Clause"
] | 11 | 2016-08-05T15:43:06.000Z | 2016-12-16T13:32:23.000Z | wagtail/wagtailsnippets/apps.py | patphongs/wagtail | 32555f7a1c599c139e0f26c22907c9612af2e015 | [
"BSD-3-Clause"
] | 2 | 2017-08-08T01:39:02.000Z | 2018-05-06T06:16:10.000Z | from __future__ import absolute_import, unicode_literals
from django.apps import AppConfig
class WagtailSnippetsAppConfig(AppConfig):
name = 'wagtail.wagtailsnippets'
label = 'wagtailsnippets'
verbose_name = "Wagtail snippets"
| 24.2 | 56 | 0.789256 | 24 | 242 | 7.666667 | 0.708333 | 0.119565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14876 | 242 | 9 | 57 | 26.888889 | 0.893204 | 0 | 0 | 0 | 0 | 0 | 0.223141 | 0.095041 | 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 |
e40b8922234e1569224b37ab6fe5115c827b8061 | 299 | py | Python | src/compas/datastructures/mesh/operations/__init__.py | gonzalocasas/compas | 2fabc7e5c966a02d823fa453564151e1a1e7e3c6 | [
"MIT"
] | null | null | null | src/compas/datastructures/mesh/operations/__init__.py | gonzalocasas/compas | 2fabc7e5c966a02d823fa453564151e1a1e7e3c6 | [
"MIT"
] | null | null | null | src/compas/datastructures/mesh/operations/__init__.py | gonzalocasas/compas | 2fabc7e5c966a02d823fa453564151e1a1e7e3c6 | [
"MIT"
] | null | null | null | from .collapse import *
from .insert import *
from .split import *
from .swap import *
from .weld import *
from .collapse import __all__ as a
from .insert import __all__ as c
from .split import __all__ as d
from .swap import __all__ as e
from .weld import __all__ as f
__all__ = a + c + d + e + f
| 21.357143 | 34 | 0.722408 | 51 | 299 | 3.764706 | 0.27451 | 0.260417 | 0.286458 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210702 | 299 | 13 | 35 | 23 | 0.813559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.909091 | 0 | 0.909091 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7c38218c6c3c3b7ff9aca60cf305bf546e5e879a | 66,351 | py | Python | ex1_w2v/attentionMain.py | minkj1992/Korean_emotion_classification_attention | 7e09cd8cd9b18c438d7b9032efb8ee37c505a7fa | [
"MIT"
] | 3 | 2020-04-24T12:54:37.000Z | 2021-12-21T02:03:06.000Z | ex1_w2v/attentionMain.py | minkj1992/Korean_emotion_classification_attention | 7e09cd8cd9b18c438d7b9032efb8ee37c505a7fa | [
"MIT"
] | null | null | null | ex1_w2v/attentionMain.py | minkj1992/Korean_emotion_classification_attention | 7e09cd8cd9b18c438d7b9032efb8ee37c505a7fa | [
"MIT"
] | 3 | 2020-03-10T10:50:03.000Z | 2021-12-21T02:03:07.000Z | import numpy as np
import os, re, csv, math, codecs
from keras.models import Sequential
from keras.layers import Embedding
from keras.preprocessing import sequence
from keras.preprocessing.text import Tokenizer as t
from tqdm import tqdm
from keras.layers import merge, Dense, Input, LSTM, Embedding, Dropout, Activation... | 66.351 | 3,718 | 0.573465 | 9,546 | 66,351 | 3.793002 | 0.150115 | 0.060208 | 0.153612 | 0.160572 | 0.6548 | 0.599564 | 0.565151 | 0.542283 | 0.511351 | 0.499972 | 0 | 0.167563 | 0.140134 | 66,351 | 1,000 | 3,719 | 66.351 | 0.467074 | 0.813085 | 0 | 0.172414 | 0 | 0 | 0.100691 | 0.026448 | 0 | 0 | 0 | 0.001 | 0 | 1 | 0.019157 | false | 0 | 0.114943 | 0.003831 | 0.153257 | 0.187739 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7c39a0225a53a4903ba1e5f3e2520ad263e09bd9 | 55 | py | Python | pylibs/hej/__main__.py | srittau/hej | 87f2e577205895a988813abc057cd62234c87379 | [
"MIT"
] | null | null | null | pylibs/hej/__main__.py | srittau/hej | 87f2e577205895a988813abc057cd62234c87379 | [
"MIT"
] | 90 | 2018-07-31T22:50:13.000Z | 2022-03-29T06:29:48.000Z | pylibs/hej/__main__.py | srittau/hej | 87f2e577205895a988813abc057cd62234c87379 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from .main import main
main()
| 9.166667 | 22 | 0.690909 | 9 | 55 | 4.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.163636 | 55 | 5 | 23 | 11 | 0.804348 | 0.381818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7c50853e04f52f8b7c864cc192d121b7a52f4861 | 117 | py | Python | exceptions/user_exception.py | iseoluwaYN/eden | aa11f14ae41bb752f424abbcb6b8b9037a01c1b0 | [
"MIT"
] | null | null | null | exceptions/user_exception.py | iseoluwaYN/eden | aa11f14ae41bb752f424abbcb6b8b9037a01c1b0 | [
"MIT"
] | 1 | 2021-09-09T10:19:14.000Z | 2021-09-09T10:19:14.000Z | exceptions/user_exception.py | iseoluwaYN/eden | aa11f14ae41bb752f424abbcb6b8b9037a01c1b0 | [
"MIT"
] | 19 | 2021-08-19T13:01:18.000Z | 2021-08-19T15:08:05.000Z | class UserException(Exception):
def __init__(self, message):
super(UserException, self).__init__(message) | 39 | 52 | 0.735043 | 12 | 117 | 6.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 117 | 3 | 52 | 39 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7c56bad3cfe0b9d1f85c61ac0034fe4ca5fb750f | 18,040 | py | Python | x-dump/utilities/miscellaneous_tester.py | eda-ricercatore/python-sandbox | 741d23e15f22239cb5df8af6e695cd8e3574be50 | [
"MIT"
] | null | null | null | x-dump/utilities/miscellaneous_tester.py | eda-ricercatore/python-sandbox | 741d23e15f22239cb5df8af6e695cd8e3574be50 | [
"MIT"
] | null | null | null | x-dump/utilities/miscellaneous_tester.py | eda-ricercatore/python-sandbox | 741d23e15f22239cb5df8af6e695cd8e3574be50 | [
"MIT"
] | null | null | null | #!/usr/local/bin/python3
###!/Users/zhiyang/anaconda3/bin/python3
"""
This Python script is written by Zhiyang Ong to test miscellaneous
methods in the miscellaneous class.
Synopsis:
Perform a subset of the methods in the miscellaneous class.
Revision History:
July 31, 2018 Version 0.1, initial build.
"... | 38.382979 | 462 | 0.707705 | 2,469 | 18,040 | 4.968813 | 0.140543 | 0.100668 | 0.146071 | 0.177372 | 0.736143 | 0.714868 | 0.697587 | 0.687154 | 0.67778 | 0.667835 | 0 | 0.038319 | 0.147949 | 18,040 | 469 | 463 | 38.464819 | 0.759807 | 0.153326 | 0 | 0.657692 | 0 | 0.015385 | 0.244296 | 0.077235 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011538 | false | 0.123077 | 0.038462 | 0 | 0.053846 | 0.269231 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
7c5a635ec2fdb6b840f73c0a5f173226e68df761 | 2,392 | py | Python | kubernetes/client/apis/__init__.py | scele/kubernetes-client-python | 9e982cbdb5f19dc1a3935a75bdd92288f3b807fb | [
"Apache-2.0"
] | null | null | null | kubernetes/client/apis/__init__.py | scele/kubernetes-client-python | 9e982cbdb5f19dc1a3935a75bdd92288f3b807fb | [
"Apache-2.0"
] | null | null | null | kubernetes/client/apis/__init__.py | scele/kubernetes-client-python | 9e982cbdb5f19dc1a3935a75bdd92288f3b807fb | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
# import apis into api package
from .admissionregistration_api import AdmissionregistrationApi
from .admissionregistration_v1alpha1_api import AdmissionregistrationV1alpha1Api
from .apiextensions_api import ApiextensionsApi
from .apiextensions_v1beta1_api import ApiextensionsV1be... | 46.901961 | 80 | 0.896739 | 276 | 2,392 | 7.471014 | 0.297101 | 0.205141 | 0.085354 | 0.023278 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040128 | 0.083194 | 2,392 | 50 | 81 | 47.84 | 0.900137 | 0.011706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7c77680fd062cc2598a075d374892a1667353a63 | 249 | py | Python | python-design/code-examples/Section 2/Section 2 Code/5428_02_ CODE_FD_MD_1stdraft_ACC/singleton.py | vermuz/mani-professional-notes | 896328e81e376bc113553c81d38ad6c1781b8e0b | [
"CC-BY-3.0"
] | 11 | 2018-06-07T15:54:40.000Z | 2021-07-24T19:08:52.000Z | python-design/code-examples/Section 2/Section 2 Code/5428_02_ CODE_FD_MD_1stdraft_ACC/singleton.py | vermuz/mani-professional-notes | 896328e81e376bc113553c81d38ad6c1781b8e0b | [
"CC-BY-3.0"
] | null | null | null | python-design/code-examples/Section 2/Section 2 Code/5428_02_ CODE_FD_MD_1stdraft_ACC/singleton.py | vermuz/mani-professional-notes | 896328e81e376bc113553c81d38ad6c1781b8e0b | [
"CC-BY-3.0"
] | 8 | 2018-02-19T16:12:09.000Z | 2021-12-24T09:20:26.000Z | class Singleton:
__instance = None
def __new__(cls, val=None):
if Singleton.__instance is None:
Singleton.__instance = object.__new__(cls)
Singleton.__instance.val = val
return Singleton.__instance
| 31.125 | 55 | 0.64257 | 26 | 249 | 5.461538 | 0.461538 | 0.598592 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285141 | 249 | 7 | 56 | 35.571429 | 0.797753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7c8dc6e2a1b1abf82f396132d37090de977197f4 | 243 | py | Python | xai/explainer/__init__.py | ngpgn/contextual-ai | deb119395ced5242f243b2b31c074507e96646c0 | [
"Apache-2.0"
] | 83 | 2020-06-17T04:07:29.000Z | 2022-03-12T13:45:24.000Z | xai/explainer/__init__.py | ngpgn/contextual-ai | deb119395ced5242f243b2b31c074507e96646c0 | [
"Apache-2.0"
] | 15 | 2020-06-30T09:22:19.000Z | 2021-11-11T10:52:40.000Z | xai/explainer/__init__.py | ngpgn/contextual-ai | deb119395ced5242f243b2b31c074507e96646c0 | [
"Apache-2.0"
] | 11 | 2020-06-17T17:01:24.000Z | 2022-02-27T18:53:03.000Z | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright 2019 SAP SE or an SAP affiliate company. All rights reserved
# ============================================================================
from .explainer_factory import ExplainerFactory
| 34.714286 | 78 | 0.506173 | 23 | 243 | 5.304348 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023041 | 0.106996 | 243 | 6 | 79 | 40.5 | 0.539171 | 0.765432 | 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 |
7c9febbc7b0fa16b8d184bf8c1e9bab60512d404 | 285 | py | Python | main_console.py | TPei/jawbone_visualizer | dadefbddb47450c3c43d474abaf9ae8d1317e03b | [
"MIT"
] | null | null | null | main_console.py | TPei/jawbone_visualizer | dadefbddb47450c3c43d474abaf9ae8d1317e03b | [
"MIT"
] | 1 | 2015-05-11T07:21:21.000Z | 2015-05-11T07:21:21.000Z | main_console.py | TPei/jawbone_visualizer | dadefbddb47450c3c43d474abaf9ae8d1317e03b | [
"MIT"
] | null | null | null | __author__ = 'TPei'
from data.manager import *
#visualize_sleep_per_weekday()
#plot_sleep()
#plot_step_graph()
plot_all(get_all_the_data())
#print(get_all_the_data('awake_time'))
#compareDicts(get_all_the_data(), get_all_the_data('awake_time'))
#coffee_effect_sleep(get_all_the_data()) | 31.666667 | 65 | 0.810526 | 46 | 285 | 4.369565 | 0.478261 | 0.149254 | 0.223881 | 0.323383 | 0.218905 | 0.218905 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049123 | 285 | 9 | 66 | 31.666667 | 0.741697 | 0.694737 | 0 | 0 | 0 | 0 | 0.04878 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 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 |
7ca6d61751dd8b252eb5706b6b419e29608de0b6 | 158 | py | Python | ehpi_action_recognition/configurator.py | steuwe/ehpi_action_recognition | 4318e82e541c9b42bf0af7976815229ed6261c39 | [
"MIT"
] | 100 | 2019-04-16T17:18:02.000Z | 2022-02-23T08:59:51.000Z | ehpi_action_recognition/configurator.py | steuwe/ehpi_action_recognition | 4318e82e541c9b42bf0af7976815229ed6261c39 | [
"MIT"
] | 15 | 2019-06-14T13:30:12.000Z | 2022-02-17T12:16:07.000Z | ehpi_action_recognition/configurator.py | steuwe/ehpi_action_recognition | 4318e82e541c9b42bf0af7976815229ed6261c39 | [
"MIT"
] | 21 | 2019-05-08T03:29:12.000Z | 2022-03-05T05:51:00.000Z | def setup_application():
# Example to change config stuff, call this method before everything else.
# config.cache_config.cache_dir = "abc"
a = 1
| 31.6 | 78 | 0.708861 | 22 | 158 | 4.954545 | 0.863636 | 0.201835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008 | 0.208861 | 158 | 4 | 79 | 39.5 | 0.864 | 0.696203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | 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 |
7cb9993a81a5d7f79507310f093d2f6a43fbee19 | 1,508 | py | Python | main.py | TiffanyXQZ/tf26 | 52e4779dee0a5f398da62d9ffbd3bdc55b3d463d | [
"MIT"
] | null | null | null | main.py | TiffanyXQZ/tf26 | 52e4779dee0a5f398da62d9ffbd3bdc55b3d463d | [
"MIT"
] | null | null | null | main.py | TiffanyXQZ/tf26 | 52e4779dee0a5f398da62d9ffbd3bdc55b3d463d | [
"MIT"
] | 1 | 2022-01-31T21:59:52.000Z | 2022-01-31T21:59:52.000Z | import tensorflow as tf
print(tf.config.list_physical_devices())
# import matplotlib.pyplot as plt
# import numpy as np
# import tensorflow as tf
#
# points_n = 200
# clusters_n = 3
# iteration_n = 100
#
# points = tf.constant(np.random.uniform(0, 10, (points_n, 2)))
# centroids = tf.Variable(tf.slice(tf.random.shuff... | 32.085106 | 93 | 0.639257 | 195 | 1,508 | 4.769231 | 0.415385 | 0.060215 | 0.03871 | 0.043011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026801 | 0.208223 | 1,508 | 47 | 94 | 32.085106 | 0.752094 | 0.898541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
7cc53f31b06a151312323ad2083c3fd2f9de05b8 | 927 | py | Python | moto/efs/urls.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | null | null | null | moto/efs/urls.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | 1 | 2022-03-07T07:39:03.000Z | 2022-03-07T07:39:03.000Z | moto/efs/urls.py | symroe/moto | 4e106995af6f2820273528fca8a4e9ee288690a5 | [
"Apache-2.0"
] | null | null | null | from .responses import EFSResponse
url_bases = [
r"https?://elasticfilesystem\.(.+)\.amazonaws.com",
r"https?://elasticfilesystem\.amazonaws.com",
]
response = EFSResponse()
url_paths = {
"{0}/.*?$": response.dispatch,
"/2015-02-01/access-points": response.dispatch,
"/2015-02-01/access-points/<... | 37.08 | 91 | 0.707659 | 119 | 927 | 5.386555 | 0.302521 | 0.274571 | 0.312012 | 0.343214 | 0.74571 | 0.599064 | 0.599064 | 0.430577 | 0.372855 | 0.372855 | 0 | 0.097473 | 0.10356 | 927 | 24 | 92 | 38.625 | 0.673887 | 0 | 0 | 0 | 0 | 0 | 0.555556 | 0.546926 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.052632 | 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 |
7ccb809f234d6084d3fba2fa3c9122e2a9a0cb1c | 57 | py | Python | tests/checks/__init__.py | aidanmelen/website_checker | f2324a67cb8e0288bcbee8ecdae9b836bab23f8e | [
"MIT"
] | 1 | 2021-05-18T18:19:45.000Z | 2021-05-18T18:19:45.000Z | tests/checks/__init__.py | aidanmelen/website_checker | f2324a67cb8e0288bcbee8ecdae9b836bab23f8e | [
"MIT"
] | null | null | null | tests/checks/__init__.py | aidanmelen/website_checker | f2324a67cb8e0288bcbee8ecdae9b836bab23f8e | [
"MIT"
] | null | null | null | """Test suite for the website_checker.checks package."""
| 28.5 | 56 | 0.754386 | 8 | 57 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 57 | 1 | 57 | 57 | 0.823529 | 0.877193 | 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 |
7ce5fb2da678eac7006b6e95ceba3b54b072463f | 42,915 | py | Python | tensorflow/contrib/legacy_seq2seq/python/kernel_tests/seq2seq_test.py | tianyapiaozi/tensorflow | fb3ce0467766a8e91f1da0ad7ada7c24fde7a73a | [
"Apache-2.0"
] | 522 | 2016-06-08T02:15:50.000Z | 2022-03-02T05:30:36.000Z | tensorflow/contrib/legacy_seq2seq/python/kernel_tests/seq2seq_test.py | shrikunjsarda/tensorflow | 7e8927e7af0c51ac20a63bd4eab6ff83df1a39ae | [
"Apache-2.0"
] | 133 | 2017-04-26T16:49:49.000Z | 2019-10-15T11:39:26.000Z | tensorflow/contrib/legacy_seq2seq/python/kernel_tests/seq2seq_test.py | shrikunjsarda/tensorflow | 7e8927e7af0c51ac20a63bd4eab6ff83df1a39ae | [
"Apache-2.0"
] | 108 | 2016-06-16T15:34:05.000Z | 2022-03-12T13:23:11.000Z | # Copyright 2015 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... | 38.978202 | 86 | 0.601981 | 5,334 | 42,915 | 4.609861 | 0.07799 | 0.049697 | 0.035138 | 0.019521 | 0.783887 | 0.749319 | 0.721095 | 0.700761 | 0.687137 | 0.675058 | 0 | 0.032571 | 0.288873 | 42,915 | 1,100 | 87 | 39.013636 | 0.77315 | 0.154212 | 0 | 0.668241 | 0 | 0 | 0.007538 | 0.000637 | 0 | 0 | 0 | 0.000909 | 0.107438 | 1 | 0.03778 | false | 0 | 0.029516 | 0.002361 | 0.082645 | 0.001181 | 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 |
7ce819ce9237fcd0822279c4b4ad2383ea8a5407 | 1,616 | py | Python | ossdbtoolsservice/query/data_storage/__init__.py | DaeunYim/pgtoolsservice | b7e548718d797883027b2caee2d4722810b33c0f | [
"MIT"
] | 33 | 2019-05-27T13:04:35.000Z | 2022-03-17T13:33:05.000Z | ossdbtoolsservice/query/data_storage/__init__.py | DaeunYim/pgtoolsservice | b7e548718d797883027b2caee2d4722810b33c0f | [
"MIT"
] | 31 | 2019-06-10T01:55:47.000Z | 2022-03-09T07:27:49.000Z | ossdbtoolsservice/query/data_storage/__init__.py | DaeunYim/pgtoolsservice | b7e548718d797883027b2caee2d4722810b33c0f | [
"MIT"
] | 25 | 2019-05-13T18:39:24.000Z | 2021-11-16T03:07:33.000Z | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 73.454545 | 116 | 0.782178 | 148 | 1,616 | 8.209459 | 0.317568 | 0.17284 | 0.213992 | 0.246914 | 0.401646 | 0.340741 | 0.340741 | 0.340741 | 0.187654 | 0 | 0 | 0 | 0.058787 | 1,616 | 21 | 117 | 76.952381 | 0.798817 | 0.207921 | 0 | 0 | 0 | 0 | 0.173333 | 0.10902 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 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 |
7cee0a9ba7f29bf6898fd8366b5ada8790465a30 | 104 | py | Python | Python Basics/While Loop/Lab/Task03.py | DonikaChervenkova/SoftUni | bff579c037ec48f39ed193b34bc3502a32e90732 | [
"MIT"
] | 1 | 2022-03-16T10:23:04.000Z | 2022-03-16T10:23:04.000Z | Python Basics/While Loop/Lab/Task03.py | IvanTodorovBG/SoftUni | 7b667f6905d9f695ab1484efbb02b6715f6d569e | [
"MIT"
] | null | null | null | Python Basics/While Loop/Lab/Task03.py | IvanTodorovBG/SoftUni | 7b667f6905d9f695ab1484efbb02b6715f6d569e | [
"MIT"
] | 1 | 2021-12-04T12:30:57.000Z | 2021-12-04T12:30:57.000Z | x = int(input())
numbers = 0
while numbers < x:
y = int(input())
numbers += y
print(numbers)
| 10.4 | 20 | 0.567308 | 15 | 104 | 3.933333 | 0.533333 | 0.271186 | 0.508475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013158 | 0.269231 | 104 | 9 | 21 | 11.555556 | 0.763158 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.166667 | 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 |
6b17667c63ee699f67543db9de9de99bc805f59c | 122 | py | Python | gui/apps.py | narsi84/digilib | eec9632e7b7d3cb64a9832e313f47719621219c6 | [
"MIT"
] | null | null | null | gui/apps.py | narsi84/digilib | eec9632e7b7d3cb64a9832e313f47719621219c6 | [
"MIT"
] | null | null | null | gui/apps.py | narsi84/digilib | eec9632e7b7d3cb64a9832e313f47719621219c6 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.apps import AppConfig
class GuiConfig(AppConfig):
name = 'gui'
| 15.25 | 39 | 0.778689 | 15 | 122 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163934 | 122 | 7 | 40 | 17.428571 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0.02459 | 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 |
6b3abb8f30388b08a82b7a065add3a309e439bc7 | 106 | py | Python | assignments/essential/jinpackage/count.py | JinTang96/cv | 530a3082bf20a9d624d09a1ace1bce6703e524ac | [
"MIT"
] | null | null | null | assignments/essential/jinpackage/count.py | JinTang96/cv | 530a3082bf20a9d624d09a1ace1bce6703e524ac | [
"MIT"
] | null | null | null | assignments/essential/jinpackage/count.py | JinTang96/cv | 530a3082bf20a9d624d09a1ace1bce6703e524ac | [
"MIT"
] | null | null | null | # 2. Write a function that count 1 to n in the module.
def count(n):
print([i for i in range(1,n+1)])
| 26.5 | 54 | 0.641509 | 24 | 106 | 2.833333 | 0.708333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.226415 | 106 | 3 | 55 | 35.333333 | 0.780488 | 0.490566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
6b45128f58ded7b150dcb763a0e88c5175ac0e32 | 89 | py | Python | checkin/apps.py | mahoyen/web | 1d190a86e3277315804bfcc0b8f9abd4f9c1d780 | [
"MIT"
] | 1 | 2020-07-16T02:41:35.000Z | 2020-07-16T02:41:35.000Z | checkin/apps.py | borsezf2/dscatc-webapp | 68867cb528cdd1698b251156d26049b384357c7d | [
"MIT"
] | 22 | 2021-02-26T20:32:50.000Z | 2021-10-21T06:21:20.000Z | checkin/apps.py | borsezf2/dscatc-webapp | 68867cb528cdd1698b251156d26049b384357c7d | [
"MIT"
] | 9 | 2019-09-25T08:22:52.000Z | 2019-10-02T14:11:33.000Z | from django.apps import AppConfig
class CheckinConfig(AppConfig):
name = 'checkin'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 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 |
86099710b6f8db2187636f8e6f63fb2cb177b87d | 5,475 | py | Python | project-euler/13.py | hydroo/coding-and-math-exercises | c0c9b8ae48e043b0809e4c592444f3e4bc3222d8 | [
"CC0-1.0"
] | 2 | 2015-05-29T21:03:26.000Z | 2019-11-11T02:10:53.000Z | project-euler/13.py | hydroo/coding-and-math-exercises | c0c9b8ae48e043b0809e4c592444f3e4bc3222d8 | [
"CC0-1.0"
] | null | null | null | project-euler/13.py | hydroo/coding-and-math-exercises | c0c9b8ae48e043b0809e4c592444f3e4bc3222d8 | [
"CC0-1.0"
] | null | null | null | #! /usr/bin/python
nums = (37107287533902102798797998220837590246510135740250
,46376937677490009712648124896970078050417018260538
,74324986199524741059474233309513058123726617309629
,91942213363574161572522430563301811072406154908250
,23067588207539346171171980310421047513778063246676
,8926167069662363382013... | 49.324324 | 58 | 0.920913 | 114 | 5,475 | 44.22807 | 0.964912 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.970503 | 0.058813 | 5,475 | 110 | 59 | 49.772727 | 0.007957 | 0.003105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.009615 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
861aefe5d6b193c96144e3a1d5c3d6871cc34e1f | 3,565 | py | Python | multiworld/envs/pygame/__init__.py | szk9876/multiworld | c90149d2913280298d5c54236ac40b793b0c2632 | [
"MIT"
] | null | null | null | multiworld/envs/pygame/__init__.py | szk9876/multiworld | c90149d2913280298d5c54236ac40b793b0c2632 | [
"MIT"
] | null | null | null | multiworld/envs/pygame/__init__.py | szk9876/multiworld | c90149d2913280298d5c54236ac40b793b0c2632 | [
"MIT"
] | null | null | null | from gym.envs.registration import register
import logging
LOGGER = logging.getLogger(__name__)
_REGISTERED = False
def register_custom_envs():
global _REGISTERED
if _REGISTERED:
return
_REGISTERED = True
LOGGER.info("Registering multiworld pygame gym environments")
register(
id=... | 27.007576 | 68 | 0.501543 | 333 | 3,565 | 5.111111 | 0.24024 | 0.032902 | 0.070505 | 0.084606 | 0.740306 | 0.740306 | 0.740306 | 0.73678 | 0.73678 | 0.59577 | 0 | 0.041871 | 0.370266 | 3,565 | 131 | 69 | 27.21374 | 0.716258 | 0 | 0 | 0.636364 | 0 | 0 | 0.360449 | 0.129313 | 0 | 0 | 0 | 0 | 0 | 1 | 0.008264 | false | 0 | 0.016529 | 0 | 0.033058 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 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 |
861ffd1f8c52997d9ec4325c68e4d23aec753915 | 343 | py | Python | spearmint/sampling/__init__.py | fernandezdaniel/Spearmint | 3c9e0a4be6108c3d652606bd957f0c9ae1bfaf84 | [
"RSA-MD"
] | 1,590 | 2015-01-02T19:11:29.000Z | 2022-03-31T13:36:16.000Z | spearmint/sampling/__init__.py | fernandezdaniel/Spearmint | 3c9e0a4be6108c3d652606bd957f0c9ae1bfaf84 | [
"RSA-MD"
] | 99 | 2015-02-20T06:45:49.000Z | 2021-12-06T13:28:44.000Z | spearmint/sampling/__init__.py | fernandezdaniel/Spearmint | 3c9e0a4be6108c3d652606bd957f0c9ae1bfaf84 | [
"RSA-MD"
] | 366 | 2015-01-17T20:29:49.000Z | 2022-02-21T16:22:31.000Z | from abstract_sampler import AbstractSampler
from slice_sampler import SliceSampler
from whitened_prior_slice_sampler import WhitenedPriorSliceSampler
from elliptical_slice_sampler import EllipticalSliceSampler
__all__ = ["AbstractSampler", "SliceSampler", "WhitenedPriorSliceSampler", "E... | 57.166667 | 100 | 0.804665 | 28 | 343 | 9.464286 | 0.464286 | 0.196226 | 0.203774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154519 | 343 | 6 | 100 | 57.166667 | 0.913793 | 0 | 0 | 0 | 0 | 0 | 0.215116 | 0.136628 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8658813448afef752d768bb87e84d83a145883b7 | 79 | py | Python | encrypt/reverse_encrypt.py | edgells/python-commons | 38c0aa0ec10304a4147ea231c92c9e34da462052 | [
"MIT"
] | null | null | null | encrypt/reverse_encrypt.py | edgells/python-commons | 38c0aa0ec10304a4147ea231c92c9e34da462052 | [
"MIT"
] | null | null | null | encrypt/reverse_encrypt.py | edgells/python-commons | 38c0aa0ec10304a4147ea231c92c9e34da462052 | [
"MIT"
] | null | null | null | target_str = "hello python world"
# reverse encrypt
print(target_str[-1::-1])
| 15.8 | 33 | 0.721519 | 12 | 79 | 4.583333 | 0.75 | 0.327273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0.126582 | 79 | 4 | 34 | 19.75 | 0.768116 | 0.189873 | 0 | 0 | 0 | 0 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
869724dbb9d849f8284d2b7696d35a28fb3d893d | 2,811 | py | Python | z2/part3/updated_part2_batch/jm/parser_errors_2/193497097.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 1 | 2020-04-16T12:13:47.000Z | 2020-04-16T12:13:47.000Z | z2/part3/updated_part2_batch/jm/parser_errors_2/193497097.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:50:15.000Z | 2020-05-19T14:58:30.000Z | z2/part3/updated_part2_batch/jm/parser_errors_2/193497097.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:45:13.000Z | 2020-06-09T19:18:31.000Z | from part1 import (
gamma_board,
gamma_busy_fields,
gamma_delete,
gamma_free_fields,
gamma_golden_move,
gamma_golden_possible,
gamma_move,
gamma_new,
)
"""
scenario: test_random_actions
uuid: 193497097
"""
"""
random actions, total chaos
"""
board = gamma_new(3, 4, 3, 5)
assert board is... | 28.683673 | 58 | 0.695126 | 483 | 2,811 | 3.886128 | 0.086957 | 0.257858 | 0.247736 | 0.330314 | 0.626532 | 0.582312 | 0.540757 | 0.336708 | 0.291955 | 0.256793 | 0 | 0.163352 | 0.159374 | 2,811 | 97 | 59 | 28.979381 | 0.630978 | 0 | 0 | 0.181818 | 0 | 0 | 0.029379 | 0 | 0 | 0 | 0 | 0 | 0.688312 | 1 | 0 | false | 0 | 0.012987 | 0 | 0.012987 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
86cf5ff1f1bec5e1c0d650d428c95182f9c4dc59 | 295 | py | Python | Participants/Whos_Rem/main/__init__.py | python-discord/game-jam-2020 | cdcb1c2c9246825518a29b05cc39a679b36d666e | [
"MIT"
] | 15 | 2020-04-17T12:02:14.000Z | 2022-03-16T03:01:34.000Z | Participants/Whos_Rem/main/__init__.py | python-discord/game-jam-2020 | cdcb1c2c9246825518a29b05cc39a679b36d666e | [
"MIT"
] | 9 | 2020-04-25T01:57:16.000Z | 2020-04-29T11:42:34.000Z | Participants/Whos_Rem/main/__init__.py | python-discord/game-jam-2020 | cdcb1c2c9246825518a29b05cc39a679b36d666e | [
"MIT"
] | 55 | 2020-04-17T12:01:11.000Z | 2021-12-28T10:14:02.000Z | from .settings import Settings
from .main_menu import MainMenu
from .song_select import SongSelection
from .perspective_objects import Shape, ShapeManager
from .display.input_tools import Button, Slider
from .display.utility import ListFunctions, ColourBlend
from .play_screen import GameScreen
| 36.875 | 55 | 0.854237 | 38 | 295 | 6.5 | 0.631579 | 0.089069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105085 | 295 | 7 | 56 | 42.142857 | 0.935606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.