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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
dbd8f78b064be6d992dd13fbfa97e40d68c26218 | 900 | py | Python | nesta/packages/misc_utils/tests/test_guess_sql_type.py | anniyanvr/nesta | 4b3ae79922cebde0ad33e08ac4c40b9a10e8e7c3 | [
"MIT"
] | 13 | 2019-06-18T16:53:53.000Z | 2021-03-04T10:58:52.000Z | nesta/packages/misc_utils/tests/test_guess_sql_type.py | nestauk/old_nesta_daps | 4b3ae79922cebde0ad33e08ac4c40b9a10e8e7c3 | [
"MIT"
] | 208 | 2018-08-10T13:15:40.000Z | 2021-07-21T10:16:07.000Z | nesta/packages/misc_utils/tests/test_guess_sql_type.py | nestauk/old_nesta_daps | 4b3ae79922cebde0ad33e08ac4c40b9a10e8e7c3 | [
"MIT"
] | 8 | 2018-09-20T15:19:23.000Z | 2020-12-15T17:41:34.000Z | import pytest
from nesta.packages.misc_utils.guess_sql_type import guess_sql_type
@pytest.fixture
def int_data():
return [1,2,4,False]
@pytest.fixture
def text_data():
return ['a', True, 2,
('A very long sentence A very long sentence A '
'very long sentence A very long sentence'), 'd... | 25.714286 | 73 | 0.725556 | 144 | 900 | 4.215278 | 0.277778 | 0.144975 | 0.217463 | 0.14827 | 0.461285 | 0.220758 | 0.220758 | 0.220758 | 0.112026 | 0.112026 | 0 | 0.015894 | 0.161111 | 900 | 34 | 74 | 26.470588 | 0.788079 | 0 | 0 | 0.16 | 0 | 0 | 0.128889 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.32 | false | 0 | 0.08 | 0.16 | 0.56 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
916cb78c9e97224f18aea1ae145aa0983c3481c1 | 274 | py | Python | iwg_blog/blog/views/__init__.py | razortheory/who-iwg-webapp | e2318d286cd9ab87d4d8103bc7b3072cfb99bf76 | [
"MIT"
] | null | null | null | iwg_blog/blog/views/__init__.py | razortheory/who-iwg-webapp | e2318d286cd9ab87d4d8103bc7b3072cfb99bf76 | [
"MIT"
] | null | null | null | iwg_blog/blog/views/__init__.py | razortheory/who-iwg-webapp | e2318d286cd9ab87d4d8103bc7b3072cfb99bf76 | [
"MIT"
] | null | null | null | from .base import ArticleView, ArticlePreviewView, ArticleListView, SearchView, LandingView, \
CategoryView, TagView, SubscribeForUpdates, UnsubscribeFromUpdates
from .ajax import GetArticleSlugAjax, TagsAutocompleteAjax
from .errors import page_not_found, server_error
| 54.8 | 94 | 0.850365 | 25 | 274 | 9.2 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09854 | 274 | 4 | 95 | 68.5 | 0.931174 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
919312f26ed57e4c093335409a623694c54be188 | 877 | py | Python | regipy/exceptions.py | kamnon/regipy | 12d3be9da631dcc0d6fb342767e51ec4799141c6 | [
"MIT"
] | 190 | 2019-03-06T09:13:08.000Z | 2022-03-19T14:43:34.000Z | regipy/exceptions.py | kamnon/regipy | 12d3be9da631dcc0d6fb342767e51ec4799141c6 | [
"MIT"
] | 117 | 2019-05-15T12:22:46.000Z | 2022-03-30T10:43:03.000Z | regipy/exceptions.py | kamnon/regipy | 12d3be9da631dcc0d6fb342767e51ec4799141c6 | [
"MIT"
] | 37 | 2019-03-12T14:46:12.000Z | 2022-01-12T11:07:10.000Z | class RegipyException(Exception):
"""
This is the parent exception for all regipy exceptions
"""
pass
class RegipyGeneralException(RegipyException):
"""
General exception
"""
pass
class RegistryValueNotFoundException(RegipyException):
pass
class NoRegistrySubkeysException(Regipy... | 18.270833 | 75 | 0.741163 | 74 | 877 | 8.783784 | 0.554054 | 0.124615 | 0.221538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196123 | 877 | 47 | 76 | 18.659574 | 0.921986 | 0.242873 | 0 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.473684 | 0 | 0 | 0.526316 | 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 |
91c2c2561ea4fef57e7b95890c99ab69daf79a23 | 6,939 | py | Python | python/lib/viewer/gener_q_vs_w_for_df.py | timtyree/bgmc | 891e003a9594be9e40c53822879421c2b8c44eed | [
"MIT"
] | null | null | null | python/lib/viewer/gener_q_vs_w_for_df.py | timtyree/bgmc | 891e003a9594be9e40c53822879421c2b8c44eed | [
"MIT"
] | null | null | null | python/lib/viewer/gener_q_vs_w_for_df.py | timtyree/bgmc | 891e003a9594be9e40c53822879421c2b8c44eed | [
"MIT"
] | null | null | null | import matplotlib.pyplot as plt, numpy as np, pandas as pd,os
from ..model import recall_powerlaw_fits_to_full_models
from .. import compute_power_rmse
from .bluf import *
from ..measure.powerlaw import *
from .gener_q_vs_w_for_result_folder import *
def q_vs_w_plotter_function_from_df(ax,df):
# npartitions=os.cp... | 39.651429 | 130 | 0.678484 | 1,149 | 6,939 | 3.889469 | 0.140992 | 0.034907 | 0.069814 | 0.102036 | 0.764601 | 0.743791 | 0.726785 | 0.699485 | 0.672634 | 0.644887 | 0 | 0.021555 | 0.150886 | 6,939 | 174 | 131 | 39.87931 | 0.736931 | 0.17553 | 0 | 0.728682 | 0 | 0.007752 | 0.187125 | 0.100353 | 0 | 0 | 0 | 0.005747 | 0 | 1 | 0.015504 | false | 0 | 0.046512 | 0 | 0.077519 | 0.232558 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
91d348a1fe2260f1d59725d0f07d7baf69518dae | 22 | py | Python | quacc/recipes/xtb/__init__.py | arosen93/HT-ASE | a76542e7a2bc5bf6e7382d8f1387374eb2abc713 | [
"BSD-3-Clause-LBNL"
] | 9 | 2022-02-08T08:31:30.000Z | 2022-03-30T21:37:35.000Z | quacc/recipes/xtb/__init__.py | arosen93/HT-ASE | a76542e7a2bc5bf6e7382d8f1387374eb2abc713 | [
"BSD-3-Clause-LBNL"
] | 5 | 2022-02-02T21:47:59.000Z | 2022-03-18T21:28:52.000Z | quacc/recipes/xtb/__init__.py | arosen93/HT-ASE | a76542e7a2bc5bf6e7382d8f1387374eb2abc713 | [
"BSD-3-Clause-LBNL"
] | 3 | 2022-02-23T12:00:57.000Z | 2022-03-24T23:54:22.000Z | """Recipes for xTB"""
| 11 | 21 | 0.590909 | 3 | 22 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.684211 | 0.681818 | 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 |
91e3f480fdcbf40fb3a62c946e3ea8b2a208638d | 92 | py | Python | webex_assistant_sdk/templates/mindmeld_template/{{cookiecutter.skill_name}}/{{cookiecutter.skill_name}}/__init__.py | sachanacar/webex-assistant-sdk | bb0f1ad16973cfa5784d7d887381229fab01effa | [
"Apache-2.0"
] | null | null | null | webex_assistant_sdk/templates/mindmeld_template/{{cookiecutter.skill_name}}/{{cookiecutter.skill_name}}/__init__.py | sachanacar/webex-assistant-sdk | bb0f1ad16973cfa5784d7d887381229fab01effa | [
"Apache-2.0"
] | null | null | null | webex_assistant_sdk/templates/mindmeld_template/{{cookiecutter.skill_name}}/{{cookiecutter.skill_name}}/__init__.py | sachanacar/webex-assistant-sdk | bb0f1ad16973cfa5784d7d887381229fab01effa | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from {{cookiecutter.skill_name}}.root import app
__all__ = ['app']
| 18.4 | 48 | 0.641304 | 12 | 92 | 4.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.141304 | 92 | 4 | 49 | 23 | 0.670886 | 0.228261 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
37e2c12beb329286ae2d567a8dedde433414f28a | 417 | py | Python | client/setup.py | emilywoods/docker-workshop | 46fef25ed06ab33f653bebffdd837ee4cc31c373 | [
"MIT"
] | 1 | 2022-03-21T07:32:36.000Z | 2022-03-21T07:32:36.000Z | client/setup.py | emilywoods/docker-workshop | 46fef25ed06ab33f653bebffdd837ee4cc31c373 | [
"MIT"
] | null | null | null | client/setup.py | emilywoods/docker-workshop | 46fef25ed06ab33f653bebffdd837ee4cc31c373 | [
"MIT"
] | null | null | null | from setuptools import setup
setup(
name="workshop-client",
install_requires=["flask==1.1.1", "requests==2.22.0"],
python_requires=">=3.7",
classifiers=[
"Development Status :: 1 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"P... | 27.8 | 58 | 0.580336 | 46 | 417 | 5.217391 | 0.630435 | 0.2375 | 0.3125 | 0.325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047923 | 0.2494 | 417 | 14 | 59 | 29.785714 | 0.71885 | 0 | 0 | 0 | 0 | 0 | 0.539568 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.076923 | 0 | 0.076923 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
37fb65065000540ac24e1a720effb1e2f2805f1c | 57 | py | Python | setup.py | karianjahi/advent_of_code | 16939cc7c475465c35d8750328b9b7aef60fc4d6 | [
"MIT"
] | null | null | null | setup.py | karianjahi/advent_of_code | 16939cc7c475465c35d8750328b9b7aef60fc4d6 | [
"MIT"
] | null | null | null | setup.py | karianjahi/advent_of_code | 16939cc7c475465c35d8750328b9b7aef60fc4d6 | [
"MIT"
] | null | null | null | import setuptools
setuptools.setup(name='advent_of_code') | 28.5 | 39 | 0.859649 | 8 | 57 | 5.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035088 | 57 | 2 | 39 | 28.5 | 0.854545 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 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 |
5312cd144bf0324fa0ae682f9f5f4f2654ceadda | 781 | py | Python | armstrong/hatband/tests/_utils.py | joncotton/armstrong.hatband | c71aed4bd0b03a78d68a6b306e8a0ba9cd92324e | [
"Apache-2.0"
] | null | null | null | armstrong/hatband/tests/_utils.py | joncotton/armstrong.hatband | c71aed4bd0b03a78d68a6b306e8a0ba9cd92324e | [
"Apache-2.0"
] | 3 | 2015-05-29T05:07:09.000Z | 2018-07-18T13:53:36.000Z | armstrong/hatband/tests/_utils.py | joncotton/armstrong.hatband | c71aed4bd0b03a78d68a6b306e8a0ba9cd92324e | [
"Apache-2.0"
] | 2 | 2015-07-29T20:58:29.000Z | 2015-08-07T02:59:37.000Z | from armstrong.dev.tests.utils import ArmstrongTestCase
import random
def random_range():
# TODO: make sure this can only be generated once
return range(random.randint(1000, 2000))
class HatbandTestCase(ArmstrongTestCase):
pass
class HatbandTestMixin(object):
script_code = """
<script type="t... | 27.892857 | 79 | 0.729834 | 84 | 781 | 6.702381 | 0.535714 | 0.127886 | 0.056838 | 0.106572 | 0.092362 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012232 | 0.162612 | 781 | 27 | 80 | 28.925926 | 0.848624 | 0.060179 | 0 | 0 | 1 | 0 | 0.154372 | 0.128415 | 0 | 0 | 0 | 0.037037 | 0.352941 | 1 | 0.176471 | false | 0.058824 | 0.117647 | 0.058824 | 0.588235 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
53249bb622e69bc18a3497cdf35b1da555bf7b6c | 87 | py | Python | nautobot_capacity_metrics/management/commands/__init__.py | david-kn/nautobot-plugin-capacity-metrics | df2a635257a464b8340b788d8723b5f00e3e238f | [
"Apache-2.0"
] | 6 | 2021-02-24T22:17:11.000Z | 2022-01-25T18:36:29.000Z | nautobot_capacity_metrics/management/commands/__init__.py | david-kn/nautobot-plugin-capacity-metrics | df2a635257a464b8340b788d8723b5f00e3e238f | [
"Apache-2.0"
] | 12 | 2021-04-26T17:23:53.000Z | 2021-09-09T16:23:56.000Z | nautobot_capacity_metrics/management/commands/__init__.py | david-kn/nautobot-plugin-capacity-metrics | df2a635257a464b8340b788d8723b5f00e3e238f | [
"Apache-2.0"
] | 3 | 2021-06-28T12:44:45.000Z | 2021-08-02T18:00:22.000Z | """Additional Django management commands added by nautobot_capacity_metrics plugin."""
| 43.5 | 86 | 0.827586 | 10 | 87 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091954 | 87 | 1 | 87 | 87 | 0.886076 | 0.91954 | 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 |
534d9ad6eb702336fba7d16987e60cced1fa2979 | 250 | py | Python | salt/_modules/freebsd_common.py | rbtcollins/rusty_rail | 6ab8a95247b42a81add03500a75ce6678ede5d58 | [
"Apache-2.0"
] | 16 | 2017-08-23T20:04:36.000Z | 2020-03-09T19:12:30.000Z | salt/_modules/freebsd_common.py | rbtcollins/rusty_rail | 6ab8a95247b42a81add03500a75ce6678ede5d58 | [
"Apache-2.0"
] | null | null | null | salt/_modules/freebsd_common.py | rbtcollins/rusty_rail | 6ab8a95247b42a81add03500a75ce6678ede5d58 | [
"Apache-2.0"
] | 2 | 2018-08-18T04:59:26.000Z | 2021-02-20T05:22:57.000Z | def sysrc(value):
"""Call sysrc.
CLI Example:
.. code-block:: bash
salt '*' freebsd_common.sysrc sshd_enable=YES
salt '*' freebsd_common.sysrc static_routes
"""
return __salt__['cmd.run_all']("sysrc %s" % value)
| 22.727273 | 54 | 0.612 | 31 | 250 | 4.645161 | 0.709677 | 0.152778 | 0.236111 | 0.305556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244 | 250 | 10 | 55 | 25 | 0.761905 | 0.58 | 0 | 0 | 0 | 0 | 0.24359 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
726955e0b07fe2c8c796176a5076ee44d6371107 | 304 | py | Python | pytm/__init__.py | jeremyng123/pytm | e0bbbbbcfa387887753e27f78678c6004edf0e85 | [
"MIT"
] | null | null | null | pytm/__init__.py | jeremyng123/pytm | e0bbbbbcfa387887753e27f78678c6004edf0e85 | [
"MIT"
] | null | null | null | pytm/__init__.py | jeremyng123/pytm | e0bbbbbcfa387887753e27f78678c6004edf0e85 | [
"MIT"
] | null | null | null | __all__ = ['Element', 'Server', 'ExternalEntity', 'Datastore', 'Actor', 'Process', 'SetOfProcesses', 'Dataflow', 'Boundary', 'TM', 'Action', 'Lambda', 'Threat']
from .pytm import Element, Server, ExternalEntity, Dataflow, Datastore, Actor, Process, SetOfProcesses, Boundary, TM, Action, Lambda, Threat
| 60.8 | 160 | 0.713816 | 30 | 304 | 7.1 | 0.566667 | 0.122066 | 0.253521 | 0.328639 | 0.262911 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108553 | 304 | 4 | 161 | 76 | 0.785978 | 0 | 0 | 0 | 0 | 0 | 0.323432 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
726ed8580c5eeb89980b035843019ba84698e921 | 102 | py | Python | src/run.py | rhiga2/mturk-tsep-test | 2cc4388442bc9155022d28ec9132acc10a1b82f7 | [
"MIT"
] | 38 | 2016-08-25T16:12:54.000Z | 2022-01-30T05:05:28.000Z | src/run.py | rhiga2/mturk-tsep-test | 2cc4388442bc9155022d28ec9132acc10a1b82f7 | [
"MIT"
] | 24 | 2016-06-29T15:28:16.000Z | 2022-03-08T02:38:51.000Z | src/run.py | rhiga2/mturk-tsep-test | 2cc4388442bc9155022d28ec9132acc10a1b82f7 | [
"MIT"
] | 16 | 2016-06-29T17:03:17.000Z | 2022-03-19T09:43:42.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from caqe import app
app.run(debug=True, threaded=True) | 20.4 | 34 | 0.676471 | 17 | 102 | 4.058824 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.127451 | 102 | 5 | 34 | 20.4 | 0.764045 | 0.411765 | 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 |
727226bedc426059fe3d1bd87ec9c301e86441f8 | 3,005 | py | Python | tests/test_remote.py | epenet/samsung-tv-ws-api | 23e0cf8188ba16ab128cff40fc56358cc2167ead | [
"MIT"
] | null | null | null | tests/test_remote.py | epenet/samsung-tv-ws-api | 23e0cf8188ba16ab128cff40fc56358cc2167ead | [
"MIT"
] | null | null | null | tests/test_remote.py | epenet/samsung-tv-ws-api | 23e0cf8188ba16ab128cff40fc56358cc2167ead | [
"MIT"
] | null | null | null | """Tests for remote module."""
from unittest.mock import Mock, call, patch
from samsungtvws.remote import SamsungTVWS
def test_send_key(connection: Mock) -> None:
"""Ensure simple data can be parsed."""
open_response = (
'{"data": {"token": 123456789}, "event": "ms.channel.connect", "from": "host"}'
... | 37.098765 | 386 | 0.609651 | 357 | 3,005 | 4.957983 | 0.252101 | 0.035593 | 0.040678 | 0.054237 | 0.728814 | 0.705085 | 0.705085 | 0.705085 | 0.657627 | 0.657627 | 0 | 0.083542 | 0.203328 | 3,005 | 80 | 387 | 37.5625 | 0.655806 | 0.055907 | 0 | 0.360656 | 0 | 0.114754 | 0.452508 | 0.228388 | 0 | 0 | 0 | 0 | 0.098361 | 1 | 0.065574 | false | 0 | 0.032787 | 0 | 0.098361 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
72948f0d5e0688cdcff4ef82755618fc89287414 | 37 | py | Python | examples/in.py | alehander42/pseudo-python | 5cdc9211a5ad28e720882f034651d579b0aa0592 | [
"MIT"
] | 94 | 2016-03-11T13:55:12.000Z | 2018-11-14T06:46:19.000Z | examples/in.py | alehander42/pseudo-python | 5cdc9211a5ad28e720882f034651d579b0aa0592 | [
"MIT"
] | 11 | 2016-03-07T18:17:16.000Z | 2017-04-17T08:08:57.000Z | examples/in.py | alehander42/pseudo-python | 5cdc9211a5ad28e720882f034651d579b0aa0592 | [
"MIT"
] | 9 | 2016-03-14T22:44:44.000Z | 2018-11-07T12:49:19.000Z | s = [4, 2]
if '2' in s:
print(s)
| 9.25 | 12 | 0.405405 | 9 | 37 | 1.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.351351 | 37 | 3 | 13 | 12.333333 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
72a3a6f79755d64c89ce82684ad3ec8dc5568be0 | 65 | py | Python | run.py | TovarischSuhov/QR_quest | d2735a60f9018e59fcef09fd76b40c3a1e9d7412 | [
"Apache-2.0"
] | null | null | null | run.py | TovarischSuhov/QR_quest | d2735a60f9018e59fcef09fd76b40c3a1e9d7412 | [
"Apache-2.0"
] | null | null | null | run.py | TovarischSuhov/QR_quest | d2735a60f9018e59fcef09fd76b40c3a1e9d7412 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
from app import app
app.run(debug = True)
| 13 | 21 | 0.707692 | 12 | 65 | 3.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 65 | 4 | 22 | 16.25 | 0.836364 | 0.307692 | 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 |
72d551e4fbff60d0217a556d091c57b4d8d63fe7 | 1,086 | py | Python | src/Utilities/metadata_worker.py | sigseg5/nometa-tg | 7d0d9f0cf5d8fd98a3808c07a5c44d30f1b13032 | [
"MIT"
] | 3 | 2020-12-15T07:44:58.000Z | 2022-03-11T18:57:44.000Z | src/Utilities/metadata_worker.py | sigseg5/nometa-tg | 7d0d9f0cf5d8fd98a3808c07a5c44d30f1b13032 | [
"MIT"
] | null | null | null | src/Utilities/metadata_worker.py | sigseg5/nometa-tg | 7d0d9f0cf5d8fd98a3808c07a5c44d30f1b13032 | [
"MIT"
] | null | null | null | from shutil import move
import piexif
from PIL import Image
def delete_metadata(full_path_to_img):
"""
This function used for remove metadata only from documents, if you send image 'as image' Telegram automatically
removes all metadata at sending. This function removes all metadata via 'piexif' lib, save... | 40.222222 | 115 | 0.745856 | 166 | 1,086 | 4.722892 | 0.301205 | 0.061224 | 0.076531 | 0.09949 | 0.609694 | 0.609694 | 0.609694 | 0.609694 | 0.609694 | 0.609694 | 0 | 0 | 0.175875 | 1,086 | 26 | 116 | 41.769231 | 0.875978 | 0.618785 | 0 | 0 | 0 | 0 | 0.222841 | 0.139276 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 4 |
72f00f9b87241d8593ec5b5f4a827b52ab93ebc1 | 156 | py | Python | external/pyTorchChamferDistance/chamfer_distance/__init__.py | chengzhag/DeepPanoContext | 14f847e51ec2bd08e0fc178dd1640541752addb7 | [
"MIT"
] | 52 | 2021-09-12T02:41:02.000Z | 2022-03-05T21:55:36.000Z | external/pyTorchChamferDistance/chamfer_distance/__init__.py | mertkiray/EndtoEnd3DSceneUnderstandingWithAttention | f220017f8218c8ce311e9ffa1ee205ef0e735fc5 | [
"MIT"
] | 2 | 2021-11-25T06:50:19.000Z | 2022-01-19T10:11:06.000Z | external/pyTorchChamferDistance/chamfer_distance/__init__.py | chengzhag/DeepPanoContext | 14f847e51ec2bd08e0fc178dd1640541752addb7 | [
"MIT"
] | 9 | 2021-09-18T01:44:05.000Z | 2022-01-12T16:19:46.000Z | import os
os.makedirs(os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'build')), exist_ok=True)
from .chamfer_distance import ChamferDistance
| 39 | 99 | 0.769231 | 23 | 156 | 4.956522 | 0.695652 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064103 | 156 | 3 | 100 | 52 | 0.780822 | 0 | 0 | 0 | 0 | 0 | 0.044872 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f406ec6db00306ef4d7774bf08e8d323010c32b3 | 201 | py | Python | MAIL_SERVER.py | dastacy/gve_devnet_unity_unread_voicemail_notifier | 445177d1107e465d90971d3d6ebb3249c5ed7b29 | [
"RSA-MD"
] | null | null | null | MAIL_SERVER.py | dastacy/gve_devnet_unity_unread_voicemail_notifier | 445177d1107e465d90971d3d6ebb3249c5ed7b29 | [
"RSA-MD"
] | null | null | null | MAIL_SERVER.py | dastacy/gve_devnet_unity_unread_voicemail_notifier | 445177d1107e465d90971d3d6ebb3249c5ed7b29 | [
"RSA-MD"
] | 1 | 2021-06-09T14:09:01.000Z | 2021-06-09T14:09:01.000Z | #!/usr/bin/env python3
USER = r'server\user'
PASSWORD = 'server_password'
HOSTNAME = 'hostname.goes.here.com'
DOMAIN = 'domain.goes.here.com'
FROM_ADDR = 'emailyouwanttosendmessagesfrom@something.com'
| 28.714286 | 58 | 0.771144 | 26 | 201 | 5.884615 | 0.653846 | 0.104575 | 0.143791 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005435 | 0.084577 | 201 | 6 | 59 | 33.5 | 0.826087 | 0.104478 | 0 | 0 | 0 | 0 | 0.625698 | 0.368715 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f40ced5dbf4e657687527c5b0ff47c429e361805 | 868 | py | Python | Mentorama/Modulo 3 - POO/Retangulo.py | MOURAIGOR/python | b267f8ef277a385e3e315e88a22390512bf1e101 | [
"MIT"
] | null | null | null | Mentorama/Modulo 3 - POO/Retangulo.py | MOURAIGOR/python | b267f8ef277a385e3e315e88a22390512bf1e101 | [
"MIT"
] | null | null | null | Mentorama/Modulo 3 - POO/Retangulo.py | MOURAIGOR/python | b267f8ef277a385e3e315e88a22390512bf1e101 | [
"MIT"
] | null | null | null | class Retangulo:
# Atributos
def __init__(self, comprimento, altura):
self.setcomprimento(comprimento)
self.setAltura(altura)
# Mรฉtodos
def setcomprimento(self, comprimento):
self.comprimento = comprimento
def getcomprimento(self):
return self.comprimento
def se... | 28 | 71 | 0.679724 | 94 | 868 | 6.234043 | 0.319149 | 0.153584 | 0.071672 | 0.085324 | 0.075085 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002946 | 0.217742 | 868 | 30 | 72 | 28.933333 | 0.860088 | 0.032258 | 0 | 0 | 0 | 0 | 0.113636 | 0 | 0 | 0 | 0 | 0.033333 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.190476 | 0.571429 | 0.095238 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
f429caab4270145beb2ac6d0e280f42b19535df8 | 53 | py | Python | python/compile.py | liamgam/gdkit | e9d419ff916f15dbd8ec6d7cc59b0a3d8f636a95 | [
"BSD-2-Clause"
] | 1 | 2019-01-16T05:59:53.000Z | 2019-01-16T05:59:53.000Z | python/compile.py | liamgam/gdkit | e9d419ff916f15dbd8ec6d7cc59b0a3d8f636a95 | [
"BSD-2-Clause"
] | null | null | null | python/compile.py | liamgam/gdkit | e9d419ff916f15dbd8ec6d7cc59b0a3d8f636a95 | [
"BSD-2-Clause"
] | null | null | null | import compileall
compileall.compile_dir(".",force=1) | 26.5 | 35 | 0.811321 | 7 | 53 | 6 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.037736 | 53 | 2 | 35 | 26.5 | 0.803922 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 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 |
f435ce04c79c1712e8cc0abcb3f67f2a72425976 | 134 | py | Python | virtual/lib/python3.6/site-packages/django_pusher/context_processors.py | petermirithu/hooby_lab | ffd641948bc2d2539649ec747114c78b5ad105e7 | [
"MIT"
] | 2 | 2020-01-26T15:09:48.000Z | 2020-05-10T05:31:05.000Z | virtual/lib/python3.6/site-packages/django_pusher/context_processors.py | petermirithu/hooby_lab | ffd641948bc2d2539649ec747114c78b5ad105e7 | [
"MIT"
] | 10 | 2020-06-06T01:10:07.000Z | 2022-03-12T00:12:22.000Z | virtual/lib/python3.6/site-packages/django_pusher/context_processors.py | petermirithu/hooby_lab | ffd641948bc2d2539649ec747114c78b5ad105e7 | [
"MIT"
] | null | null | null | from django.conf import settings
def pusher(request):
return {
"PUSHER_KEY": getattr(settings, "PUSHER_KEY", ""),
}
| 16.75 | 58 | 0.634328 | 15 | 134 | 5.533333 | 0.733333 | 0.216867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231343 | 134 | 7 | 59 | 19.142857 | 0.805825 | 0 | 0 | 0 | 0 | 0 | 0.149254 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 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 | 1 | 0 | 0 | 0 | 4 |
f46f5e7244355f200cf15f2877d74e3a5f0c0027 | 26 | py | Python | tests/__init__.py | flowolf/yessssms | 438928967aca38d3d2bb07799d3723757e928553 | [
"MIT"
] | 6 | 2015-02-17T09:51:11.000Z | 2021-01-05T12:39:26.000Z | tests/__init__.py | flowolf/yessssms | 438928967aca38d3d2bb07799d3723757e928553 | [
"MIT"
] | 1 | 2019-09-19T20:07:22.000Z | 2019-09-24T09:24:04.000Z | tests/__init__.py | flowolf/yessssms | 438928967aca38d3d2bb07799d3723757e928553 | [
"MIT"
] | 2 | 2017-05-06T09:14:19.000Z | 2020-03-04T20:43:33.000Z | """Tests for YesssSMS."""
| 13 | 25 | 0.615385 | 3 | 26 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.695652 | 0.730769 | 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 |
f485d7305ea8da6e0bb04315c8cf68b15f093141 | 496 | py | Python | Exercise_8.py | aurimas13/Python-stuff | a6e89e9f6088a6ab29da5b57830e4b7750427454 | [
"MIT"
] | 1 | 2021-06-30T09:31:52.000Z | 2021-06-30T09:31:52.000Z | Exercise_8.py | aurimas13/Python-stuff | a6e89e9f6088a6ab29da5b57830e4b7750427454 | [
"MIT"
] | null | null | null | Exercise_8.py | aurimas13/Python-stuff | a6e89e9f6088a6ab29da5b57830e4b7750427454 | [
"MIT"
] | null | null | null | # Solution of Exercise 8 - Exercise_8.py
#
# Uploaded by Aurimas A. Nausedas on 11/23/20.
# Updated by Aurimas A. Nausedas on 11/06/21.
formatter = "%r %r %r %r"
print formatter % (1, 2, 3, 4)
print formatter % ("one", "two", "three", "four")
print formatter % (True, False, False, True)
print formatter % (formatter,... | 27.555556 | 62 | 0.645161 | 75 | 496 | 4.253333 | 0.64 | 0.219436 | 0.253919 | 0.112853 | 0.137931 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0.045918 | 0.209677 | 496 | 17 | 63 | 29.176471 | 0.767857 | 0.256048 | 0 | 0 | 0 | 0 | 0.304945 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.454545 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
f48be2ac89c37ef219c2ad00751eceeb8e3e514f | 270 | py | Python | bartender/drinks/generators.py | autiwg/bartender | 1c26aefb777a01ce527745c543e60b11a972fe5d | [
"Unlicense",
"MIT"
] | null | null | null | bartender/drinks/generators.py | autiwg/bartender | 1c26aefb777a01ce527745c543e60b11a972fe5d | [
"Unlicense",
"MIT"
] | null | null | null | bartender/drinks/generators.py | autiwg/bartender | 1c26aefb777a01ce527745c543e60b11a972fe5d | [
"Unlicense",
"MIT"
] | null | null | null | from django.utils import timezone
from django.utils.text import slugify
def generate_billed_document_path(instance, filename):
cur_time = timezone.now()
return f"{cur_time.strftime('%Y/%m')}/{slugify(instance.name)}-{cur_time.strftime('%d.%m.%Y %H:%M')}.csv"
| 30 | 109 | 0.725926 | 41 | 270 | 4.634146 | 0.634146 | 0.110526 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103704 | 270 | 8 | 110 | 33.75 | 0.785124 | 0 | 0 | 0 | 1 | 0.2 | 0.351852 | 0.303704 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bea518b5d7670e7d0f948f9ce8eda34d0fa0bd36 | 20,671 | py | Python | evalml/tests/objective_tests/test_standard_metrics.py | sharshofski/evalml | f13dcd969e86b72ba01ca520247a16850030dcb0 | [
"BSD-3-Clause"
] | null | null | null | evalml/tests/objective_tests/test_standard_metrics.py | sharshofski/evalml | f13dcd969e86b72ba01ca520247a16850030dcb0 | [
"BSD-3-Clause"
] | null | null | null | evalml/tests/objective_tests/test_standard_metrics.py | sharshofski/evalml | f13dcd969e86b72ba01ca520247a16850030dcb0 | [
"BSD-3-Clause"
] | null | null | null | from itertools import product
import numpy as np
import pandas as pd
import pytest
from sklearn.metrics import matthews_corrcoef as sk_matthews_corrcoef
from evalml.objectives import (
F1,
MAPE,
MSE,
AccuracyBinary,
AccuracyMulticlass,
BalancedAccuracyBinary,
BalancedAccuracyMulticlass,
... | 40.771203 | 133 | 0.592473 | 3,304 | 20,671 | 3.586259 | 0.063862 | 0.053675 | 0.042535 | 0.069879 | 0.784623 | 0.749177 | 0.718373 | 0.703688 | 0.687653 | 0.666892 | 0 | 0.092297 | 0.239466 | 20,671 | 506 | 134 | 40.851779 | 0.661408 | 0.008418 | 0 | 0.466307 | 0 | 0 | 0.035376 | 0.00122 | 0 | 0 | 0 | 0 | 0.264151 | 1 | 0.083558 | false | 0 | 0.018868 | 0 | 0.102426 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fe67c40ce9ecf1d76fc170ecd6e31ab09246551a | 64 | py | Python | prml/linear/_classifier.py | alexandru-dinu/PRML | acd823e098df67abe0306a70225e7539f8edda40 | [
"MIT"
] | null | null | null | prml/linear/_classifier.py | alexandru-dinu/PRML | acd823e098df67abe0306a70225e7539f8edda40 | [
"MIT"
] | null | null | null | prml/linear/_classifier.py | alexandru-dinu/PRML | acd823e098df67abe0306a70225e7539f8edda40 | [
"MIT"
] | 1 | 2019-06-22T20:56:02.000Z | 2019-06-22T20:56:02.000Z | class Classifier(object):
"""Base class for classifiers."""
| 21.333333 | 37 | 0.6875 | 7 | 64 | 6.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 64 | 2 | 38 | 32 | 0.814815 | 0.421875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
fe7e1b8337434731ea17dce123e62981ed1e6ab4 | 87 | py | Python | pyano2/apps.py | mental689/pyano | 2bc75e79618392f2013dfde2ac8035fe5fa1dc61 | [
"MIT"
] | 1 | 2022-01-31T17:34:37.000Z | 2022-01-31T17:34:37.000Z | pyano2/apps.py | mental689/pyano | 2bc75e79618392f2013dfde2ac8035fe5fa1dc61 | [
"MIT"
] | null | null | null | pyano2/apps.py | mental689/pyano | 2bc75e79618392f2013dfde2ac8035fe5fa1dc61 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class Pyano2Config(AppConfig):
name = 'pyano2'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
fe83754072cf9c384870b3ad7538706613b6e5d9 | 675 | py | Python | apps/inventory/serializers.py | sseits-skku/its-backend | faf020568b930aaff4958d47602c511aad8a6c8e | [
"MIT"
] | null | null | null | apps/inventory/serializers.py | sseits-skku/its-backend | faf020568b930aaff4958d47602c511aad8a6c8e | [
"MIT"
] | 8 | 2020-06-05T23:00:49.000Z | 2022-03-11T23:59:32.000Z | apps/inventory/serializers.py | sseits-skku/its-backend | faf020568b930aaff4958d47602c511aad8a6c8e | [
"MIT"
] | 1 | 2019-10-01T13:07:22.000Z | 2019-10-01T13:07:22.000Z | from rest_framework.serializers import ModelSerializer
from .models import Place, Status, OSType, Stock, ComputerStock
class PlaceSerializer(ModelSerializer):
class Meta:
model = Place
fields = '__all__'
class StatusSerializer(ModelSerializer):
class Meta:
model = Status
fie... | 19.852941 | 63 | 0.675556 | 59 | 675 | 7.372881 | 0.372881 | 0.229885 | 0.275862 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.256296 | 675 | 33 | 64 | 20.454545 | 0.866534 | 0 | 0 | 0.454545 | 0 | 0 | 0.051852 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 0.545455 | 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 |
fe8e3a04a382b9b727449826066c850475d83dbe | 190 | py | Python | programme.py | GaLaXy102/Vacationing | e476f1047deeca8f68897a497716319afab3e7f0 | [
"MIT"
] | null | null | null | programme.py | GaLaXy102/Vacationing | e476f1047deeca8f68897a497716319afab3e7f0 | [
"MIT"
] | null | null | null | programme.py | GaLaXy102/Vacationing | e476f1047deeca8f68897a497716319afab3e7f0 | [
"MIT"
] | null | null | null | from lib import get_itineraries
import data
if __name__ == '__main__':
for itinerary in get_itineraries(data.sicily):
print("#" * 24)
print(itinerary)
print("")
| 21.111111 | 50 | 0.636842 | 22 | 190 | 5.045455 | 0.681818 | 0.252252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.252632 | 190 | 8 | 51 | 23.75 | 0.767606 | 0 | 0 | 0 | 0 | 0 | 0.047368 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 0.285714 | 0.428571 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
fe995885e2a5bd2844820d9d11a66c6433d1051b | 1,166 | py | Python | jumpscale/packages/vdc_dashboard/bottle/api/exceptions.py | threefoldtech/js-sdk | 811f783ac34a60225175bab2d806802a87b9d5c7 | [
"Apache-2.0"
] | 13 | 2020-09-02T09:05:08.000Z | 2022-03-12T02:43:24.000Z | jumpscale/packages/vdc_dashboard/bottle/api/exceptions.py | threefoldtech/js-sdk | 811f783ac34a60225175bab2d806802a87b9d5c7 | [
"Apache-2.0"
] | 1,998 | 2020-06-15T11:46:10.000Z | 2022-03-24T22:12:41.000Z | jumpscale/packages/vdc_dashboard/bottle/api/exceptions.py | threefoldtech/js-sdk | 811f783ac34a60225175bab2d806802a87b9d5c7 | [
"Apache-2.0"
] | 8 | 2020-09-29T06:50:35.000Z | 2021-06-14T03:30:52.000Z | from jumpscale.core import exceptions
class BaseError(exceptions.Base):
"""a generic base error for bcdb rest, with status code"""
def __init__(self, status, *args, **kwargs):
super().__init__(*args, *kwargs)
self.status = status
class VDCNotFound(BaseError):
pass
class MissingAuthori... | 13.55814 | 62 | 0.732419 | 108 | 1,166 | 7.833333 | 0.398148 | 0.291962 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19211 | 1,166 | 85 | 63 | 13.717647 | 0.898089 | 0.044597 | 0 | 0.44186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.023256 | false | 0.44186 | 0.023256 | 0 | 0.511628 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
feaaec4a50d5a134457fe10cd74a02481c434561 | 440 | py | Python | 11_app/script/purchase_order.py | israillaky/ERPOSAPP11 | 90dd26213fecce7f6301bfa2f2356d8f5d3a8086 | [
"MIT"
] | null | null | null | 11_app/script/purchase_order.py | israillaky/ERPOSAPP11 | 90dd26213fecce7f6301bfa2f2356d8f5d3a8086 | [
"MIT"
] | null | null | null | 11_app/script/purchase_order.py | israillaky/ERPOSAPP11 | 90dd26213fecce7f6301bfa2f2356d8f5d3a8086 | [
"MIT"
] | null | null | null | import frappe
@frappe.whitelist()
def filt_itemby_supplier(doctype, txt, searchfield, start, page_len, filters):
return frappe.db.sql("""Select parent from `tabItem Supplier` where supplier= %s""",(filters.get("supplier")));
@frappe.whitelist()
def filteritem(doctype, txt, searchfield, start, page_len, filters... | 44 | 117 | 0.740909 | 59 | 440 | 5.372881 | 0.559322 | 0.094637 | 0.113565 | 0.164038 | 0.397476 | 0.397476 | 0.397476 | 0.397476 | 0.397476 | 0.397476 | 0 | 0 | 0.111364 | 440 | 10 | 118 | 44 | 0.810742 | 0 | 0 | 0.285714 | 0 | 0 | 0.335601 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 0.714286 | 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 |
feb57d630ade4f4d7aefdadbe2f5755982d89a54 | 127 | py | Python | src/unicef_security/apps.py | unicef/unicef-security | cc51ba52cddb845b8174cf3dc94706f0334453b2 | [
"Apache-2.0"
] | null | null | null | src/unicef_security/apps.py | unicef/unicef-security | cc51ba52cddb845b8174cf3dc94706f0334453b2 | [
"Apache-2.0"
] | 10 | 2019-04-24T14:33:49.000Z | 2020-12-19T01:07:06.000Z | src/unicef_security/apps.py | unicef/unicef-security | cc51ba52cddb845b8174cf3dc94706f0334453b2 | [
"Apache-2.0"
] | 1 | 2019-04-11T15:34:18.000Z | 2019-04-11T15:34:18.000Z | from django.apps import AppConfig
class Config(AppConfig):
name = 'unicef_security'
verbose_name = "UNICEF Security"
| 18.142857 | 36 | 0.740157 | 15 | 127 | 6.133333 | 0.733333 | 0.217391 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181102 | 127 | 6 | 37 | 21.166667 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0.23622 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 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 |
22a124507f9c19ec78061c640c8a18dd5ea530ee | 180 | py | Python | 6 kyu/SumFibs.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 6 | 2020-09-03T09:32:25.000Z | 2020-12-07T04:10:01.000Z | 6 kyu/SumFibs.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 1 | 2021-12-13T15:30:21.000Z | 2021-12-13T15:30:21.000Z | 6 kyu/SumFibs.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | null | null | null | from functools import lru_cache
@lru_cache
def fib(n):
return n if n<2 else fib(n-1)+fib(n-2)
def sum_fibs(n):
return sum(j for j in (fib(i) for i in range(n+1)) if j%2==0) | 30 | 65 | 0.661111 | 44 | 180 | 2.636364 | 0.477273 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041096 | 0.188889 | 180 | 6 | 65 | 30 | 0.753425 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.333333 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
22a5a69bd0005b87e47d0ff6d4ecd35b5d2cdf15 | 159 | py | Python | reach.py | NIKH0610/class5-homework | d4cfb1b28656a37002dff6b1b20bae1253b2ae80 | [
"MIT"
] | null | null | null | reach.py | NIKH0610/class5-homework | d4cfb1b28656a37002dff6b1b20bae1253b2ae80 | [
"MIT"
] | null | null | null | reach.py | NIKH0610/class5-homework | d4cfb1b28656a37002dff6b1b20bae1253b2ae80 | [
"MIT"
] | null | null | null | import os
import numpy as np
import pandas as pd
housing_df = pd.read_csv(filepath_or_buffer='~/C:\Users\nikhi\NIKH0610\class5-homework\toys-datasets\boston') | 31.8 | 109 | 0.805031 | 27 | 159 | 4.592593 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034247 | 0.081761 | 159 | 5 | 109 | 31.8 | 0.815068 | 0 | 0 | 0 | 0 | 0 | 0.3875 | 0.3875 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.75 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
22acbc10643824eb1f53a753c9581e0e1f9b708d | 86 | py | Python | bin/run.py | Conengmo/python-empty-project | 18d275422116577d48ae4fdbe1c93501a5e6ef78 | [
"MIT"
] | null | null | null | bin/run.py | Conengmo/python-empty-project | 18d275422116577d48ae4fdbe1c93501a5e6ef78 | [
"MIT"
] | null | null | null | bin/run.py | Conengmo/python-empty-project | 18d275422116577d48ae4fdbe1c93501a5e6ef78 | [
"MIT"
] | null | null | null | import myproject
myproject.logs(show_level='debug')
myproject.mymod.do_something()
| 12.285714 | 34 | 0.802326 | 11 | 86 | 6.090909 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081395 | 86 | 6 | 35 | 14.333333 | 0.848101 | 0 | 0 | 0 | 0 | 0 | 0.05814 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
22cafbcbf0f7a34d5ff23e6e75d1650c542e7866 | 450 | py | Python | leetcode/group2/461.py | HPluseven/playground | 78e363b5b376af3945bcb55a13d6a96b7c151a1b | [
"MIT"
] | 1 | 2021-03-26T05:51:08.000Z | 2021-03-26T05:51:08.000Z | leetcode/group2/461.py | HPluseven/playground | 78e363b5b376af3945bcb55a13d6a96b7c151a1b | [
"MIT"
] | null | null | null | leetcode/group2/461.py | HPluseven/playground | 78e363b5b376af3945bcb55a13d6a96b7c151a1b | [
"MIT"
] | null | null | null | class Solution:
def hammingDistance(self, x: int, y: int) -> int:
xor = x ^ y
distance = 0
while xor:
if xor & 1:
distance += 1
xor = xor >> 1
return distance
class Solution:
def hammingDistance(self, x: int, y: int) -> int:
xor =... | 21.428571 | 53 | 0.455556 | 52 | 450 | 3.942308 | 0.288462 | 0.058537 | 0.156098 | 0.302439 | 0.868293 | 0.663415 | 0.663415 | 0.663415 | 0.663415 | 0.663415 | 0 | 0.02834 | 0.451111 | 450 | 20 | 54 | 22.5 | 0.801619 | 0 | 0 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0 | 0 | 0.352941 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
22d0777e1db496026b52bc09fc63aa81f467b3e2 | 105 | py | Python | headlesspreview/apps.py | arush15june/wagtail-torchbox | c4d06e096c72bd8007975dc016133024f9d27fab | [
"MIT"
] | null | null | null | headlesspreview/apps.py | arush15june/wagtail-torchbox | c4d06e096c72bd8007975dc016133024f9d27fab | [
"MIT"
] | null | null | null | headlesspreview/apps.py | arush15june/wagtail-torchbox | c4d06e096c72bd8007975dc016133024f9d27fab | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class HeadlesspreviewConfig(AppConfig):
name = 'headlesspreview'
| 17.5 | 39 | 0.790476 | 10 | 105 | 8.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 105 | 5 | 40 | 21 | 0.922222 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 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 |
22d210de31752ef0c139ecd0a2fcb3a182d83a41 | 216 | py | Python | 2021/day_25.py | mpcjanssen/Advent-of-Code | 06c5257d038bfcd3d4790f3213afecb5c36d5c61 | [
"Unlicense"
] | 1 | 2022-02-06T08:33:08.000Z | 2022-02-06T08:33:08.000Z | 2021/day_25.py | mpcjanssen/Advent-of-Code | 06c5257d038bfcd3d4790f3213afecb5c36d5c61 | [
"Unlicense"
] | null | null | null | 2021/day_25.py | mpcjanssen/Advent-of-Code | 06c5257d038bfcd3d4790f3213afecb5c36d5c61 | [
"Unlicense"
] | null | null | null | import aoc_helper
RAW = aoc_helper.day(25)
print(RAW)
def parse_raw():
...
DATA = parse_raw()
def part_one():
...
def part_two():
...
aoc_helper.submit(25, part_one)
aoc_helper.submit(25, part_two)
| 11.368421 | 31 | 0.652778 | 34 | 216 | 3.852941 | 0.411765 | 0.274809 | 0.229008 | 0.259542 | 0.320611 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 0.185185 | 216 | 18 | 32 | 12 | 0.710227 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0 | 0.333333 | 0.083333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
22d6fda860ed01e0cc3ade5c2a2e95bc621ae7ac | 992 | py | Python | venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/GL/EXT/draw_buffers2.py | temelkirci/Motion_Editor | a8b8d4c4d2dcc9be28385600f56066cef92a38ad | [
"MIT"
] | 1 | 2022-03-02T17:07:20.000Z | 2022-03-02T17:07:20.000Z | venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/GL/EXT/draw_buffers2.py | temelkirci/RealTime_6DOF_Motion_Editor | a8b8d4c4d2dcc9be28385600f56066cef92a38ad | [
"MIT"
] | null | null | null | venv/Lib/site-packages/PyOpenGL-3.0.1/OpenGL/GL/EXT/draw_buffers2.py | temelkirci/RealTime_6DOF_Motion_Editor | a8b8d4c4d2dcc9be28385600f56066cef92a38ad | [
"MIT"
] | null | null | null | '''OpenGL extension EXT.draw_buffers2
This module customises the behaviour of the
OpenGL.raw.GL.EXT.draw_buffers2 to provide a more
Python-friendly API
Overview (from the spec)
This extension builds upon the ARB_draw_buffers extension and provides
separate blend enables and color write masks for each color outp... | 36.740741 | 73 | 0.803427 | 155 | 992 | 5.090323 | 0.554839 | 0.035488 | 0.076046 | 0.035488 | 0.065906 | 0.065906 | 0 | 0 | 0 | 0 | 0 | 0.007109 | 0.149194 | 992 | 27 | 74 | 36.740741 | 0.927725 | 0.875 | 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 |
22e519a060ec94aa77f57c2992012dba58e6efff | 221 | py | Python | pyseqlogo/__init__.py | BioGeek/pyseqlogo | e41d9645c7a9fa5baf3deab281acf40ea5357f64 | [
"MIT"
] | 24 | 2017-10-23T16:06:18.000Z | 2022-03-04T14:09:25.000Z | pyseqlogo/__init__.py | BioGeek/pyseqlogo | e41d9645c7a9fa5baf3deab281acf40ea5357f64 | [
"MIT"
] | 7 | 2020-11-19T13:55:54.000Z | 2021-11-30T03:16:33.000Z | pyseqlogo/__init__.py | BioGeek/pyseqlogo | e41d9645c7a9fa5baf3deab281acf40ea5357f64 | [
"MIT"
] | 16 | 2018-02-01T16:12:07.000Z | 2021-09-28T03:53:11.000Z | # -*- coding: utf-8 -*-
"""Top-level package for pyseqlogo."""
__author__ = """Saket Choudhary"""
__email__ = 'saketkc@gmail.com'
__version__ = '0.1.0'
from .pyseqlogo import draw_logo
from .pyseqlogo import setup_axis
| 22.1 | 38 | 0.705882 | 29 | 221 | 4.896552 | 0.827586 | 0.183099 | 0.267606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.131222 | 221 | 9 | 39 | 24.555556 | 0.71875 | 0.248869 | 0 | 0 | 0 | 0 | 0.23125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 |
22ed999c1f1e8e891adad2dd4f4e9520b2e7dd4f | 267 | py | Python | kanban_backend/project_management/apps.py | hamzabouissi/kanban_backend | 549d8c2711313011f3186b5b3a3ac969481df3f7 | [
"MIT"
] | null | null | null | kanban_backend/project_management/apps.py | hamzabouissi/kanban_backend | 549d8c2711313011f3186b5b3a3ac969481df3f7 | [
"MIT"
] | null | null | null | kanban_backend/project_management/apps.py | hamzabouissi/kanban_backend | 549d8c2711313011f3186b5b3a3ac969481df3f7 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class ProjectManagementConfig(AppConfig):
name = 'kanban_backend.project_management'
def ready(self):
try:
import kanban_backend.users.signals # noqa F401
except ImportError:
pass
| 20.538462 | 60 | 0.666667 | 27 | 267 | 6.481481 | 0.851852 | 0.148571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015464 | 0.273408 | 267 | 12 | 61 | 22.25 | 0.886598 | 0.033708 | 0 | 0 | 0 | 0 | 0.129412 | 0.129412 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.125 | 0.375 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
a3e19235aa28103e4d3ebb91450083d6b6b9fdab | 5,898 | py | Python | botstory/middlewares/text/text_test.py | botstory/bot-story | 9c5b2fc7f7a14dbd467d70f60d5ba855ef89dac3 | [
"MIT"
] | 5 | 2017-01-14T13:42:13.000Z | 2021-07-27T21:52:04.000Z | botstory/middlewares/text/text_test.py | botstory/bot-story | 9c5b2fc7f7a14dbd467d70f60d5ba855ef89dac3 | [
"MIT"
] | 235 | 2016-11-07T23:33:28.000Z | 2018-03-13T11:27:33.000Z | botstory/middlewares/text/text_test.py | hyzhak/bot-story | 9c5b2fc7f7a14dbd467d70f60d5ba855ef89dac3 | [
"MIT"
] | 5 | 2017-01-14T13:42:14.000Z | 2020-11-06T08:33:20.000Z | import logging
import pytest
import re
from . import text
from ... import matchers
from ...utils import answer, SimpleTrigger
logger = logging.getLogger(__name__)
@pytest.mark.asyncio
async def test_should_run_story_on_equal_message():
trigger = SimpleTrigger()
with answer.Talk() as talk:
story = ta... | 25.755459 | 77 | 0.623432 | 732 | 5,898 | 4.784153 | 0.14071 | 0.059966 | 0.047973 | 0.058252 | 0.744146 | 0.726728 | 0.714163 | 0.687036 | 0.673901 | 0.663335 | 0 | 0.003448 | 0.262462 | 5,898 | 228 | 78 | 25.868421 | 0.801609 | 0 | 0 | 0.625 | 0 | 0 | 0.049339 | 0 | 0 | 0 | 0 | 0 | 0.125 | 1 | 0.1875 | false | 0.05625 | 0.0375 | 0 | 0.225 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
430c4f20a5d171398035a332ff9b2e75bf80435b | 5,403 | py | Python | satori.core/satori/core/export/pc.py | Cloud11665/satori-git | ea1855a920c98b480423bf247bce6e5626985c4a | [
"MIT"
] | 4 | 2021-01-05T01:35:36.000Z | 2021-12-13T00:05:14.000Z | satori.core/satori/core/export/pc.py | Cloud11665/satori-git | ea1855a920c98b480423bf247bce6e5626985c4a | [
"MIT"
] | 2 | 2020-06-06T01:12:07.000Z | 2020-06-06T01:16:01.000Z | satori.core/satori/core/export/pc.py | Cloud11665/satori-git | ea1855a920c98b480423bf247bce6e5626985c4a | [
"MIT"
] | 2 | 2021-01-05T01:33:30.000Z | 2021-03-06T13:48:21.000Z | # vim:ts=4:sts=4:sw=4:expandtab
from token import token_container
from satori.core.export.type_helpers import DefineException
AccessDenied = DefineException('AccessDenied', 'You don\'t have rights to call this procedure')
class PCDeny(object):
def __call__(__pc__self, **kwargs):
return False
def __... | 29.686813 | 105 | 0.661299 | 726 | 5,403 | 4.044077 | 0.129477 | 0.21049 | 0.105586 | 0.061989 | 0.698569 | 0.679496 | 0.629428 | 0.521798 | 0.480586 | 0.455041 | 0 | 0.00406 | 0.22506 | 5,403 | 181 | 106 | 29.850829 | 0.697158 | 0.005367 | 0 | 0.484375 | 0 | 0.023438 | 0.054366 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.320313 | false | 0 | 0.023438 | 0.179688 | 0.710938 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
4a2aaff818a2a9076ae44aab87a87c809613d1d6 | 34 | py | Python | python-jenkins/yaml_read_config/custom_log.py | MathiasStadler/docker-jenkins-scripted | 3f908987ab0428dd2239b524150ff3b65c71104c | [
"Apache-2.0"
] | null | null | null | python-jenkins/yaml_read_config/custom_log.py | MathiasStadler/docker-jenkins-scripted | 3f908987ab0428dd2239b524150ff3b65c71104c | [
"Apache-2.0"
] | null | null | null | python-jenkins/yaml_read_config/custom_log.py | MathiasStadler/docker-jenkins-scripted | 3f908987ab0428dd2239b524150ff3b65c71104c | [
"Apache-2.0"
] | 1 | 2020-02-11T04:42:40.000Z | 2020-02-11T04:42:40.000Z | """ module logging"""
# logging
| 6.8 | 21 | 0.588235 | 3 | 34 | 6.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205882 | 34 | 4 | 22 | 8.5 | 0.740741 | 0.676471 | 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 |
4a35a45ae37a4457776d2a6b8d99ec59f3f7c227 | 614 | py | Python | proxybroker/errors.py | aljeshishe/ProxyBroker | 195c050162275f63ebe033be765abec90601e3e1 | [
"Apache-2.0"
] | null | null | null | proxybroker/errors.py | aljeshishe/ProxyBroker | 195c050162275f63ebe033be765abec90601e3e1 | [
"Apache-2.0"
] | null | null | null | proxybroker/errors.py | aljeshishe/ProxyBroker | 195c050162275f63ebe033be765abec90601e3e1 | [
"Apache-2.0"
] | 1 | 2020-04-30T09:25:25.000Z | 2020-04-30T09:25:25.000Z | """Errors."""
class ProxyError(Exception):
pass
class NoProxyError(Exception):
pass
class ResolveError(Exception):
pass
class ProxyConnError(ProxyError):
pass
class ProxyRecvError(ProxyError): # connection_is_reset
pass
class ProxySendError(ProxyError): # connection_is_reset
pass
... | 12.28 | 56 | 0.732899 | 56 | 614 | 7.964286 | 0.339286 | 0.221973 | 0.201794 | 0.121076 | 0.161435 | 0.161435 | 0 | 0 | 0 | 0 | 0 | 0 | 0.192182 | 614 | 49 | 57 | 12.530612 | 0.899194 | 0.100977 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
4a428a5645724e361b7bbf5d6b4f839753d082e4 | 58 | py | Python | tests/__init__.py | mihaidumitrescu/flake8-html | d5b62c05fb220a5cd6c777feacd69cb726a42e9a | [
"Apache-2.0"
] | 36 | 2017-03-05T13:12:28.000Z | 2021-02-03T15:05:34.000Z | tests/__init__.py | mihaidumitrescu/flake8-html | d5b62c05fb220a5cd6c777feacd69cb726a42e9a | [
"Apache-2.0"
] | 23 | 2017-03-01T19:40:10.000Z | 2022-03-31T17:13:17.000Z | tests/__init__.py | mihaidumitrescu/flake8-html | d5b62c05fb220a5cd6c777feacd69cb726a42e9a | [
"Apache-2.0"
] | 15 | 2017-03-05T13:12:39.000Z | 2022-03-25T14:46:28.000Z | # -*- coding: utf-8 -*-
"""Tests go in this directory."""
| 19.333333 | 33 | 0.551724 | 8 | 58 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.172414 | 58 | 2 | 34 | 29 | 0.645833 | 0.862069 | 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 |
4a4611f60a1d159391b648d9954a9b9efff56f91 | 11,842 | py | Python | tools/wptserve/tests/functional/test_response.py | qanat/wpt | 7c61a4594a95682531367b6956d1c37f8b8fd486 | [
"BSD-3-Clause"
] | 1 | 2021-12-12T18:13:24.000Z | 2021-12-12T18:13:24.000Z | tools/wptserve/tests/functional/test_response.py | qanat/wpt | 7c61a4594a95682531367b6956d1c37f8b8fd486 | [
"BSD-3-Clause"
] | 112 | 2021-09-27T14:39:02.000Z | 2022-03-30T14:26:35.000Z | tools/wptserve/tests/functional/test_response.py | qanat/wpt | 7c61a4594a95682531367b6956d1c37f8b8fd486 | [
"BSD-3-Clause"
] | null | null | null | import os
import unittest
import json
import types
from http.client import BadStatusLine
from io import BytesIO
import pytest
wptserve = pytest.importorskip("wptserve")
from .base import TestUsingServer, TestUsingH2Server, doc_root
def send_body_as_header(self):
if self._response.add_required_headers:
s... | 36.549383 | 123 | 0.616703 | 1,386 | 11,842 | 5.077922 | 0.103175 | 0.052572 | 0.065359 | 0.073885 | 0.760727 | 0.739415 | 0.718812 | 0.712134 | 0.695368 | 0.636687 | 0 | 0.012807 | 0.25494 | 11,842 | 323 | 124 | 36.662539 | 0.78488 | 0.00532 | 0 | 0.609375 | 0 | 0 | 0.11998 | 0.056041 | 0 | 0 | 0 | 0 | 0.207031 | 1 | 0.160156 | false | 0.019531 | 0.035156 | 0 | 0.214844 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4a579bbd92a904600d51867b452bca5458bcdea4 | 114 | py | Python | hello_world.py | BronWang/first_github | 9cdd40458014a448a5121268ebca907e3cba1eee | [
"MIT"
] | null | null | null | hello_world.py | BronWang/first_github | 9cdd40458014a448a5121268ebca907e3cba1eee | [
"MIT"
] | null | null | null | hello_world.py | BronWang/first_github | 9cdd40458014a448a5121268ebca907e3cba1eee | [
"MIT"
] | null | null | null | def hello_world():
"""ๆๅฐHello world"""
message = 'hello world'
print(message.title())
hello_world()
| 14.25 | 27 | 0.622807 | 13 | 114 | 5.307692 | 0.538462 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 114 | 7 | 28 | 16.285714 | 0.766667 | 0.114035 | 0 | 0 | 0 | 0 | 0.115789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4a71f720f8188e39f1b7b64f6e15744bd236efe6 | 72 | py | Python | lsf_ibutils/ibsub/__init__.py | seanfisk/lsf-ibutils | a22c738376d656ab38f4bfa3572d4693288098cb | [
"MIT"
] | null | null | null | lsf_ibutils/ibsub/__init__.py | seanfisk/lsf-ibutils | a22c738376d656ab38f4bfa3572d4693288098cb | [
"MIT"
] | null | null | null | lsf_ibutils/ibsub/__init__.py | seanfisk/lsf-ibutils | a22c738376d656ab38f4bfa3572d4693288098cb | [
"MIT"
] | 1 | 2021-06-03T22:32:54.000Z | 2021-06-03T22:32:54.000Z | """:mod:`lsf_ibutils.ibsub` -- Interactive batch submission utility
"""
| 24 | 67 | 0.722222 | 8 | 72 | 6.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 72 | 2 | 68 | 36 | 0.784615 | 0.888889 | 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 |
4a9299355672fcaae0c15f4927fbd9d0f9c5887b | 642 | py | Python | logistics/permissions.py | geo2tag-logistics/main | 3b55185ea97481bbabe38497e4608abefbf1ece1 | [
"Apache-2.0"
] | null | null | null | logistics/permissions.py | geo2tag-logistics/main | 3b55185ea97481bbabe38497e4608abefbf1ece1 | [
"Apache-2.0"
] | 5 | 2016-09-25T20:01:43.000Z | 2016-09-25T20:32:44.000Z | logistics/permissions.py | geo2tag-logistics/main | 3b55185ea97481bbabe38497e4608abefbf1ece1 | [
"Apache-2.0"
] | null | null | null | from rest_framework import permissions
def is_owner(user):
return user.groups.filter(name='OWNER').exists()
def is_driver(user):
return user.groups.filter(name='DRIVER').exists()
class IsOwnerPermission(permissions.BasePermission):
def has_permission(self, request, view):
return is_owner(reque... | 25.68 | 64 | 0.755452 | 77 | 642 | 6.168831 | 0.337662 | 0.092632 | 0.176842 | 0.195789 | 0.602105 | 0.602105 | 0.475789 | 0.475789 | 0.475789 | 0.475789 | 0 | 0 | 0.143302 | 642 | 24 | 65 | 26.75 | 0.863636 | 0 | 0 | 0.214286 | 0 | 0 | 0.017134 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.357143 | false | 0 | 0.071429 | 0.357143 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
4ab09ca1eb1f8969f1a877484a232ef5df5d51ce | 253 | py | Python | sanansaattaja/website/forms/comment_form.py | KEZKA/YL-WEB-PROJECT | dcefb490bdd6a1ae8449b3cbd5d6b36219506e8f | [
"MIT"
] | 3 | 2020-04-04T12:48:11.000Z | 2020-05-03T04:12:34.000Z | sanansaattaja/website/forms/comment_form.py | KEZKA/YL-WEB-PROJECT | dcefb490bdd6a1ae8449b3cbd5d6b36219506e8f | [
"MIT"
] | null | null | null | sanansaattaja/website/forms/comment_form.py | KEZKA/YL-WEB-PROJECT | dcefb490bdd6a1ae8449b3cbd5d6b36219506e8f | [
"MIT"
] | 3 | 2020-03-24T15:49:50.000Z | 2020-05-04T14:00:27.000Z | from flask_wtf import FlaskForm
from wtforms import SubmitField, TextAreaField
from wtforms.validators import DataRequired
class CommentForm(FlaskForm):
text = TextAreaField("Text", validators=[DataRequired()])
submit = SubmitField('Publish')
| 28.111111 | 61 | 0.790514 | 26 | 253 | 7.653846 | 0.576923 | 0.110553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126482 | 253 | 8 | 62 | 31.625 | 0.900452 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 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 |
4ab990bdf241333adbd85027e848b2433fdf4b53 | 52 | py | Python | basic_assignment/39.py | 1212091/python-learning | 30fad66460daf73fd3961cf667ee25b91dee923d | [
"MIT"
] | null | null | null | basic_assignment/39.py | 1212091/python-learning | 30fad66460daf73fd3961cf667ee25b91dee923d | [
"MIT"
] | null | null | null | basic_assignment/39.py | 1212091/python-learning | 30fad66460daf73fd3961cf667ee25b91dee923d | [
"MIT"
] | null | null | null | input_num = raw_input()
print(str(eval(input_num)))
| 17.333333 | 27 | 0.75 | 9 | 52 | 4 | 0.666667 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 52 | 2 | 28 | 26 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 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 |
434cd47f7ba08d7cc16a2a4b4b972a8099060404 | 207 | py | Python | sensors/__init__.py | dawnos/robotcar-to-rosbag | c51035d7fd7e08487629a9b06d84a86890f7cc03 | [
"MIT"
] | null | null | null | sensors/__init__.py | dawnos/robotcar-to-rosbag | c51035d7fd7e08487629a9b06d84a86890f7cc03 | [
"MIT"
] | null | null | null | sensors/__init__.py | dawnos/robotcar-to-rosbag | c51035d7fd7e08487629a9b06d84a86890f7cc03 | [
"MIT"
] | null | null | null |
from mono_left import MonoLeft
from mono_right import MonoRight
from mono_rear import MonoRear
from stereo_left import StereoLeft
from stereo_right import StereoRight
from stereo_centre import StereoCentre
| 25.875 | 38 | 0.879227 | 30 | 207 | 5.866667 | 0.466667 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120773 | 207 | 7 | 39 | 29.571429 | 0.967033 | 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 |
43503b600179235461951733f8a10d6ec6cc9d94 | 219 | py | Python | PyGRB/__init__.py | HughPaynter/PyGRB | 2eaf834cf3c62a639a056285ca9518456daa4b7c | [
"BSD-3-Clause"
] | null | null | null | PyGRB/__init__.py | HughPaynter/PyGRB | 2eaf834cf3c62a639a056285ca9518456daa4b7c | [
"BSD-3-Clause"
] | null | null | null | PyGRB/__init__.py | HughPaynter/PyGRB | 2eaf834cf3c62a639a056285ca9518456daa4b7c | [
"BSD-3-Clause"
] | null | null | null | """
PyGRB.
A GRB light-curve analysis package.
"""
__version__ = "0.0.5"
__author__ = 'James Paynter'
from . import backend
from . import fetch
from . import main
from . import postprocess
from . import preprocess
| 13.6875 | 35 | 0.716895 | 29 | 219 | 5.137931 | 0.689655 | 0.33557 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01676 | 0.182648 | 219 | 15 | 36 | 14.6 | 0.815642 | 0.196347 | 0 | 0 | 0 | 0 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.714286 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4356791d282fbcbf316192672ada1b6fc8d08206 | 45 | py | Python | main.py | Dephilia/pipenv-docker-development | 3be5f63120638922fe98336b6ee5b3b0f6f182dc | [
"MIT"
] | null | null | null | main.py | Dephilia/pipenv-docker-development | 3be5f63120638922fe98336b6ee5b3b0f6f182dc | [
"MIT"
] | null | null | null | main.py | Dephilia/pipenv-docker-development | 3be5f63120638922fe98336b6ee5b3b0f6f182dc | [
"MIT"
] | null | null | null | var = "Docker"
print(f"Hello {var} world!")
| 11.25 | 28 | 0.622222 | 7 | 45 | 4 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 3 | 29 | 15 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
4367a493fbe503c8a8ff6c69a39f88b75c5407aa | 125 | py | Python | kts/core/types.py | konodyuk/kts | 3af5ccbf1d2089cb41d171626fcde4b0ba5aa8a7 | [
"MIT"
] | 18 | 2019-02-14T13:10:07.000Z | 2021-11-26T07:10:13.000Z | kts/core/types.py | konodyuk/kts | 3af5ccbf1d2089cb41d171626fcde4b0ba5aa8a7 | [
"MIT"
] | 2 | 2019-02-17T14:06:42.000Z | 2019-09-15T18:05:54.000Z | kts/core/types.py | konodyuk/kts | 3af5ccbf1d2089cb41d171626fcde4b0ba5aa8a7 | [
"MIT"
] | 2 | 2019-09-15T13:12:42.000Z | 2020-04-15T14:05:54.000Z | from typing import Union
import pandas as pd
from kts.core.frame import KTSFrame
AnyFrame = Union[pd.DataFrame, KTSFrame]
| 15.625 | 40 | 0.792 | 19 | 125 | 5.210526 | 0.684211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152 | 125 | 7 | 41 | 17.857143 | 0.933962 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
43a9435c49bd01eb9bc3513864f993e95030f51a | 19 | py | Python | antolib/AntoCommon.py | srsuper/BOT2020 | 2cadfad470de62819b7aaa0f9ecf1e4b4052ea68 | [
"Apache-2.0"
] | 1 | 2020-05-19T16:07:05.000Z | 2020-05-19T16:07:05.000Z | antolib/AntoCommon.py | srsuper/BOT2020 | 2cadfad470de62819b7aaa0f9ecf1e4b4052ea68 | [
"Apache-2.0"
] | null | null | null | antolib/AntoCommon.py | srsuper/BOT2020 | 2cadfad470de62819b7aaa0f9ecf1e4b4052ea68 | [
"Apache-2.0"
] | null | null | null | ANTO_VER = '0.1.2'
| 9.5 | 18 | 0.578947 | 5 | 19 | 2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0.157895 | 19 | 1 | 19 | 19 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0.263158 | 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 |
43ab35693a6001a55d9d6314ecedca585fa99ed4 | 489 | py | Python | tests/test_scraper.py | ananelson/oacensus | 87916c92ab1233bcf82a481113017dfb8d7701b9 | [
"Apache-2.0"
] | null | null | null | tests/test_scraper.py | ananelson/oacensus | 87916c92ab1233bcf82a481113017dfb8d7701b9 | [
"Apache-2.0"
] | 2 | 2016-01-10T20:23:41.000Z | 2016-01-14T16:57:06.000Z | tests/test_scraper.py | ananelson/oacensus | 87916c92ab1233bcf82a481113017dfb8d7701b9 | [
"Apache-2.0"
] | null | null | null | from oacensus.scraper import Scraper
from oacensus.commands import defaults
class TestScraper(Scraper):
"""
Scraper for testing scraper methods.
"""
aliases = ['testscraper']
def scrape(self):
pass
def process(self):
pass
def test_hashcode():
scraper = Scraper.create_inst... | 21.26087 | 62 | 0.678937 | 53 | 489 | 6.188679 | 0.471698 | 0.128049 | 0.067073 | 0.170732 | 0.286585 | 0.286585 | 0 | 0 | 0 | 0 | 0 | 0.005195 | 0.212679 | 489 | 22 | 63 | 22.227273 | 0.846753 | 0.07362 | 0 | 0.285714 | 0 | 0 | 0.075515 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 1 | 0.285714 | false | 0.142857 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
78ddf0916f6002f2dfd416cfa16eaf9855682728 | 77 | py | Python | comix-imagenet/init_paths.py | drumpt/Co-Mixup | 4c43f0ec873ce6c1e8ab446c7cb9e25089b9b91a | [
"MIT"
] | 86 | 2021-02-05T03:13:09.000Z | 2022-03-29T03:10:50.000Z | comix-imagenet/init_paths.py | drumpt/Co-Mixup | 4c43f0ec873ce6c1e8ab446c7cb9e25089b9b91a | [
"MIT"
] | 4 | 2021-06-01T13:07:06.000Z | 2022-02-15T03:08:30.000Z | comix-imagenet/init_paths.py | drumpt/Co-Mixup | 4c43f0ec873ce6c1e8ab446c7cb9e25089b9b91a | [
"MIT"
] | 7 | 2021-02-09T01:27:03.000Z | 2021-09-01T14:07:40.000Z | import sys
import matplotlib
matplotlib.use('Agg')
sys.path.insert(0, 'lib')
| 15.4 | 25 | 0.753247 | 12 | 77 | 4.833333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014286 | 0.090909 | 77 | 4 | 26 | 19.25 | 0.814286 | 0 | 0 | 0 | 0 | 0 | 0.077922 | 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 |
78f6f92a5932a9d711316ff3341b072e7d33ca29 | 99 | py | Python | piped/processors/test/__init__.py | alexbrasetvik/Piped | 0312c14d6c4c293df378c915cc9787bcc7faed36 | [
"MIT"
] | 3 | 2015-02-12T20:34:30.000Z | 2016-08-06T06:54:48.000Z | piped/processors/test/__init__.py | alexbrasetvik/Piped | 0312c14d6c4c293df378c915cc9787bcc7faed36 | [
"MIT"
] | null | null | null | piped/processors/test/__init__.py | alexbrasetvik/Piped | 0312c14d6c4c293df378c915cc9787bcc7faed36 | [
"MIT"
] | 2 | 2015-12-16T14:18:14.000Z | 2019-04-12T01:43:10.000Z | # Copyright (c) 2010-2011, Found IT A/S and Piped Project Contributors.
# See LICENSE for details.
| 33 | 71 | 0.747475 | 16 | 99 | 4.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096386 | 0.161616 | 99 | 2 | 72 | 49.5 | 0.795181 | 0.949495 | 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 |
78f942b69039b6e57cce7169cc8dc3ffec50e359 | 107 | py | Python | python/testData/resolve/AssignmentExpressionsAndOuterVar.py | tgodzik/intellij-community | f5ef4191fc30b69db945633951fb160c1cfb7b6f | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/resolve/AssignmentExpressionsAndOuterVar.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2022-02-19T09:45:05.000Z | 2022-02-27T20:32:55.000Z | python/testData/resolve/AssignmentExpressionsAndOuterVar.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | total = 0
partial_sums = [total := total + v for v in values]
print("Total:", total)
<ref> | 26.75 | 51 | 0.551402 | 15 | 107 | 3.866667 | 0.666667 | 0.344828 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013514 | 0.308411 | 107 | 4 | 52 | 26.75 | 0.77027 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
78fcfe3906cb71dfe94a77355e4db2bd1f039142 | 335 | py | Python | scripts/dump_training_data.py | davmre/sigvisa | 91a1f163b8f3a258dfb78d88a07f2a11da41bd04 | [
"BSD-3-Clause"
] | null | null | null | scripts/dump_training_data.py | davmre/sigvisa | 91a1f163b8f3a258dfb78d88a07f2a11da41bd04 | [
"BSD-3-Clause"
] | null | null | null | scripts/dump_training_data.py | davmre/sigvisa | 91a1f163b8f3a258dfb78d88a07f2a11da41bd04 | [
"BSD-3-Clause"
] | null | null | null | from sigvisa.learn.train_coda_models import get_shape_training_data
import numpy as np
X, y, evids = get_shape_training_data(runid=4, site="AS12", chan="SHZ", band="freq_2.0_3.0", phases=["P",], target="amp_transfer", max_acost=np.float("inf"), min_amp=-2)
np.savetxt("X.txt", X)
np.savetxt("y.txt", y)
np.savetxt("evid... | 41.875 | 169 | 0.728358 | 62 | 335 | 3.725806 | 0.645161 | 0.116883 | 0.138528 | 0.17316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025974 | 0.080597 | 335 | 7 | 170 | 47.857143 | 0.724026 | 0 | 0 | 0 | 0 | 0 | 0.161194 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
601367658aacd910181efee0a2e8d64036a1544b | 111 | py | Python | plucker/__init__.py | takkaria/json-plucker | 6407dcc9a21d99d8f138128e9ee80c901a08c2e1 | [
"MIT"
] | null | null | null | plucker/__init__.py | takkaria/json-plucker | 6407dcc9a21d99d8f138128e9ee80c901a08c2e1 | [
"MIT"
] | 1 | 2021-03-09T20:57:15.000Z | 2021-03-09T20:57:15.000Z | plucker/__init__.py | takkaria/plucker-python | 6407dcc9a21d99d8f138128e9ee80c901a08c2e1 | [
"MIT"
] | null | null | null | from .plucker import pluck, Path
from .exceptions import PluckError
__all__ = ["pluck", "Path", "PluckError"]
| 22.2 | 41 | 0.738739 | 13 | 111 | 6 | 0.615385 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 111 | 4 | 42 | 27.75 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.171171 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
601cd7cd07ee2ea23d637edb23a7aada960db1af | 47,259 | py | Python | test/unit/common/middleware/s3api/test_obj.py | Priyanka-Askani/swift | 1ab691f63778008015b34ce004992844acee9968 | [
"Apache-2.0"
] | 1 | 2019-05-25T10:55:58.000Z | 2019-05-25T10:55:58.000Z | test/unit/common/middleware/s3api/test_obj.py | Priyanka-Askani/swift | 1ab691f63778008015b34ce004992844acee9968 | [
"Apache-2.0"
] | 12 | 2015-06-23T23:20:17.000Z | 2016-01-27T00:37:12.000Z | test/unit/common/middleware/s3api/test_obj.py | Priyanka-Askani/swift | 1ab691f63778008015b34ce004992844acee9968 | [
"Apache-2.0"
] | 5 | 2015-06-04T19:00:11.000Z | 2015-12-16T21:04:33.000Z | # Copyright (c) 2014 OpenStack Foundation
#
# 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 applicable law or agreed to ... | 46.744807 | 79 | 0.578874 | 5,073 | 47,259 | 5.199487 | 0.07944 | 0.087576 | 0.02415 | 0.035827 | 0.794745 | 0.766918 | 0.732835 | 0.715093 | 0.691701 | 0.658073 | 0 | 0.019115 | 0.295944 | 47,259 | 1,010 | 80 | 46.791089 | 0.77363 | 0.032861 | 0 | 0.642105 | 0 | 0 | 0.187163 | 0.045198 | 0 | 0 | 0 | 0 | 0.250292 | 1 | 0.067836 | false | 0 | 0.017544 | 0 | 0.098246 | 0.002339 | 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 |
60895518586c2070b8a2145b7e9e913530aac964 | 107 | py | Python | coding/reverse_bits/starter.py | skumaravelan/tech-interview-questions | 637dfbf131123c77a8e2e4e45ba420355dcb381f | [
"MIT"
] | 14 | 2022-02-08T17:29:29.000Z | 2022-03-27T17:22:14.000Z | coding/reverse_bits/starter.py | skumaravelan/tech-interview-questions | 637dfbf131123c77a8e2e4e45ba420355dcb381f | [
"MIT"
] | 18 | 2022-01-27T17:37:26.000Z | 2022-03-29T15:16:18.000Z | coding/reverse_bits/starter.py | skumaravelan/tech-interview-questions | 637dfbf131123c77a8e2e4e45ba420355dcb381f | [
"MIT"
] | 9 | 2022-02-08T16:03:10.000Z | 2022-03-19T03:26:30.000Z | class Solution:
# @param n, an integer
# @return an integer
def reverseBits(self, n):
| 17.833333 | 29 | 0.579439 | 13 | 107 | 4.769231 | 0.769231 | 0.290323 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.327103 | 107 | 5 | 30 | 21.4 | 0.861111 | 0.364486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
60989896ae8b3f69efc7d2350add8f6f19d85669 | 220 | py | Python | sympy/physics/__init__.py | utkarshdeorah/sympy | dcdf59bbc6b13ddbc329431adf72fcee294b6389 | [
"BSD-3-Clause"
] | 1 | 2018-11-20T11:40:30.000Z | 2018-11-20T11:40:30.000Z | sympy/physics/__init__.py | utkarshdeorah/sympy | dcdf59bbc6b13ddbc329431adf72fcee294b6389 | [
"BSD-3-Clause"
] | 14 | 2018-02-08T10:11:03.000Z | 2019-04-16T10:32:46.000Z | sympy/physics/__init__.py | utkarshdeorah/sympy | dcdf59bbc6b13ddbc329431adf72fcee294b6389 | [
"BSD-3-Clause"
] | 1 | 2022-02-04T13:50:29.000Z | 2022-02-04T13:50:29.000Z | """
A module that helps solving problems in physics.
"""
from . import units
from .matrices import mgamma, msigma, minkowski_tensor, mdft
__all__ = [
'units',
'mgamma', 'msigma', 'minkowski_tensor', 'mdft',
]
| 16.923077 | 60 | 0.677273 | 26 | 220 | 5.5 | 0.692308 | 0.167832 | 0.293706 | 0.377622 | 0.433566 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.186364 | 220 | 12 | 61 | 18.333333 | 0.798883 | 0.218182 | 0 | 0 | 0 | 0 | 0.22561 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
60f9b711d1be6899f182566e81c346882c7e82b3 | 19 | py | Python | app/packageB/__init__.py | An7ar35/python-app-skeleton-structure | 9060411bd32840c6510ad8fe18dcdc097c07b511 | [
"MIT"
] | null | null | null | app/packageB/__init__.py | An7ar35/python-app-skeleton-structure | 9060411bd32840c6510ad8fe18dcdc097c07b511 | [
"MIT"
] | null | null | null | app/packageB/__init__.py | An7ar35/python-app-skeleton-structure | 9060411bd32840c6510ad8fe18dcdc097c07b511 | [
"MIT"
] | null | null | null | __all__=['module1'] | 19 | 19 | 0.736842 | 2 | 19 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 19 | 1 | 19 | 19 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0.35 | 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 |
60fbe7657269c996fc3948f64ef4c1f61caa8318 | 881 | bzl | Python | third_party/nasm/workspace.bzl | wainshine/tensorflow | dc7a8dc8546c679b9c7b3df7494ce4506bfc1a6d | [
"Apache-2.0"
] | 54 | 2017-06-17T14:07:48.000Z | 2022-03-29T02:11:20.000Z | third_party/nasm/workspace.bzl | wainshine/tensorflow | dc7a8dc8546c679b9c7b3df7494ce4506bfc1a6d | [
"Apache-2.0"
] | 19 | 2021-12-28T12:44:55.000Z | 2022-01-13T08:11:28.000Z | third_party/nasm/workspace.bzl | wainshine/tensorflow | dc7a8dc8546c679b9c7b3df7494ce4506bfc1a6d | [
"Apache-2.0"
] | 11 | 2018-04-19T22:36:01.000Z | 2021-08-02T08:44:43.000Z | """loads the nasm library, used by TF."""
load("//third_party:repo.bzl", "tf_http_archive")
def repo():
tf_http_archive(
name = "nasm",
urls = [
"https://storage.googleapis.com/mirror.tensorflow.org/www.nasm.us/pub/nasm/releasebuilds/2.13.03/nasm-2.13.03.tar.bz2",
"http://p... | 48.944444 | 237 | 0.694665 | 105 | 881 | 5.72381 | 0.419048 | 0.034942 | 0.058236 | 0.074875 | 0.302829 | 0.22629 | 0.201331 | 0.163062 | 0.163062 | 0.163062 | 0 | 0.232527 | 0.155505 | 881 | 17 | 238 | 51.823529 | 0.575269 | 0.039728 | 0 | 0 | 0 | 0.214286 | 0.696429 | 0.17381 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | true | 0 | 0 | 0 | 0.071429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8806b7d99f0084120c35f1e69100c53537ba82bc | 422 | py | Python | Tests/Aula_7a.py | o-Ian/Practice-Python | 1e4b2d0788e70006096a53a7cf038db3148ba4b7 | [
"MIT"
] | 4 | 2021-04-23T18:07:58.000Z | 2021-05-12T11:38:14.000Z | Tests/Aula_7a.py | o-Ian/Practice-Python | 1e4b2d0788e70006096a53a7cf038db3148ba4b7 | [
"MIT"
] | null | null | null | Tests/Aula_7a.py | o-Ian/Practice-Python | 1e4b2d0788e70006096a53a7cf038db3148ba4b7 | [
"MIT"
] | null | null | null | n1 = int(input('Digite um valor: '))
n2 = int(input('Digite outro valor: '))
print('A soma รฉ: {}!' .format(n1+n2))
print('A subtraรงรฃo entre {} e {} รฉ {}!' .format(n1, n2, n1-n2))
print('A multiplicaรงรฃo desses valores รฉ {}!' .format(n1 * n2))
print('A divisรฃo entre {} e {} รฉ {:.3}' .format(n1, n2, n1/n2))
print('A divis... | 46.888889 | 63 | 0.601896 | 70 | 422 | 3.628571 | 0.385714 | 0.125984 | 0.23622 | 0.216535 | 0.346457 | 0.291339 | 0.15748 | 0 | 0 | 0 | 0 | 0.053672 | 0.161137 | 422 | 8 | 64 | 52.75 | 0.663842 | 0 | 0 | 0 | 0 | 0 | 0.476303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.75 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
7152e1ff12041d507f6d8d481cc402ae12c07a3f | 91 | py | Python | apps/tg_bot/apps.py | VladimirLazor/Lohika | a36407feeb2e3ade4f8c689030f343d88ff47a92 | [
"Apache-2.0"
] | null | null | null | apps/tg_bot/apps.py | VladimirLazor/Lohika | a36407feeb2e3ade4f8c689030f343d88ff47a92 | [
"Apache-2.0"
] | 9 | 2021-03-19T15:59:10.000Z | 2022-03-12T00:57:56.000Z | apps/tg_bot/apps.py | VladimirLazor/Lohika | a36407feeb2e3ade4f8c689030f343d88ff47a92 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class TgBotConfig(AppConfig):
name = 'apps.tg_bot'
| 15.166667 | 33 | 0.747253 | 12 | 91 | 5.583333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.881579 | 0 | 0 | 0 | 0 | 0 | 0.120879 | 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 |
715433d014e2773f3519d53929b4573136138236 | 186 | py | Python | tests/errors/e_tuple_args_T692.py | smok-serwis/cython | e551a3a348888bd89d4aad809916709a634af1fb | [
"Apache-2.0"
] | 2 | 2020-01-29T08:20:22.000Z | 2020-01-29T08:20:25.000Z | tests/errors/e_tuple_args_T692.py | smok-serwis/cython | e551a3a348888bd89d4aad809916709a634af1fb | [
"Apache-2.0"
] | 1 | 2019-09-21T19:58:10.000Z | 2019-09-21T19:58:10.000Z | tests/errors/e_tuple_args_T692.py | smok-serwis/cython | e551a3a348888bd89d4aad809916709a634af1fb | [
"Apache-2.0"
] | 2 | 2017-06-18T04:09:18.000Z | 2018-11-30T20:03:58.000Z | # ticket: 692
# mode: error
def func((a, b)):
return a + b
_ERRORS = u"""
4:9: Missing argument name
5:11: undeclared name not builtin: a
5:15: undeclared name not builtin: b
"""
| 14.307692 | 36 | 0.645161 | 32 | 186 | 3.71875 | 0.6875 | 0.033613 | 0.285714 | 0.403361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075342 | 0.215054 | 186 | 12 | 37 | 15.5 | 0.739726 | 0.123656 | 0 | 0 | 0 | 0 | 0.641509 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
717f58f0b458c75ac48a3f2890221b9b52dcce70 | 88 | py | Python | plerr/__main__.py | b2bs-team/pylint-errors | f1362c8afbe6b7075f805560d7699f63ad35a10b | [
"MIT"
] | 2 | 2020-10-28T23:53:59.000Z | 2020-10-29T03:31:20.000Z | plerr/__main__.py | b2bs-team/pylint-errors | f1362c8afbe6b7075f805560d7699f63ad35a10b | [
"MIT"
] | null | null | null | plerr/__main__.py | b2bs-team/pylint-errors | f1362c8afbe6b7075f805560d7699f63ad35a10b | [
"MIT"
] | 1 | 2020-10-28T23:53:47.000Z | 2020-10-28T23:53:47.000Z | """plerr entrypoint"""
from plerr import cli
if __name__ == '__main__':
cli.main()
| 14.666667 | 26 | 0.659091 | 11 | 88 | 4.545455 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 88 | 5 | 27 | 17.6 | 0.694444 | 0.181818 | 0 | 0 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
71a155a137fa83ef0306a441e11bd003d9b6a750 | 154 | py | Python | facto.py | divine-coder/CODECHEF-PYTHON | a1e34d6f9f75cf7b9497f1ef2f937cb4f64f1543 | [
"MIT"
] | null | null | null | facto.py | divine-coder/CODECHEF-PYTHON | a1e34d6f9f75cf7b9497f1ef2f937cb4f64f1543 | [
"MIT"
] | 4 | 2020-10-04T07:49:30.000Z | 2021-10-02T05:24:40.000Z | facto.py | divine-coder/CODECHEF-PYTHON | a1e34d6f9f75cf7b9497f1ef2f937cb4f64f1543 | [
"MIT"
] | 7 | 2020-10-04T07:46:55.000Z | 2021-11-05T14:30:00.000Z | import math
if __name__=='__main__':
n=(int)(input())
for abc in range(n):
t=(int)(input())
print math.factorial(t)
| 17.111111 | 31 | 0.512987 | 20 | 154 | 3.55 | 0.75 | 0.225352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.324675 | 154 | 8 | 32 | 19.25 | 0.682692 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.166667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
71b09341fe6822cfcd03800b867e3d43b02d5db2 | 242 | py | Python | pykuna/errors.py | marthoc/pykuna | f5bf02f26e1931b35becde6e1da58fb8bb0cc2d8 | [
"MIT"
] | 4 | 2018-12-16T18:05:14.000Z | 2019-12-31T17:12:48.000Z | pykuna/errors.py | marthoc/pykuna | f5bf02f26e1931b35becde6e1da58fb8bb0cc2d8 | [
"MIT"
] | 2 | 2019-05-08T17:22:25.000Z | 2020-03-10T20:52:42.000Z | pykuna/errors.py | marthoc/pykuna | f5bf02f26e1931b35becde6e1da58fb8bb0cc2d8 | [
"MIT"
] | null | null | null | class KunaError(Exception):
pass
class AuthenticationError(KunaError):
"""Raised when authentication fails."""
pass
class UnauthorizedError(KunaError):
"""Raised when an API call fails as unauthorized (401)."""
pass
| 16.133333 | 62 | 0.698347 | 25 | 242 | 6.76 | 0.64 | 0.106509 | 0.224852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015464 | 0.198347 | 242 | 14 | 63 | 17.285714 | 0.85567 | 0.355372 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 | 0 | 0 | 0 | 4 |
e0889d0fbe9b0d9be87761477e494198517f6636 | 308 | py | Python | src/error.py | LydiaMelles/relativum | c7c0fc2b5c8d01842f6a02b67e7145cbd3a1ff65 | [
"MIT"
] | null | null | null | src/error.py | LydiaMelles/relativum | c7c0fc2b5c8d01842f6a02b67e7145cbd3a1ff65 | [
"MIT"
] | null | null | null | src/error.py | LydiaMelles/relativum | c7c0fc2b5c8d01842f6a02b67e7145cbd3a1ff65 | [
"MIT"
] | 1 | 2021-05-01T16:46:24.000Z | 2021-05-01T16:46:24.000Z | class RequirementsNotMetError(Exception):
"""For SQL INSERT, missing table attributes."""
def __init__(self, message):
super().__init__(message)
class AuthenticationError(Exception):
"""Generic authentication error."""
def __init__(self, message):
super().__init__(message)
| 28 | 51 | 0.694805 | 29 | 308 | 6.827586 | 0.62069 | 0.070707 | 0.111111 | 0.181818 | 0.343434 | 0.343434 | 0.343434 | 0 | 0 | 0 | 0 | 0 | 0.178571 | 308 | 10 | 52 | 30.8 | 0.782609 | 0.230519 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
e08cf0fb5bb3a579c0b07a1fe1738a0670a18bc7 | 10,230 | py | Python | src/sage/tests/books/computational-mathematics-with-sagemath/domaines_doctest.py | hsm207/sage | 020bd59ec28717bfab9af44d2231c53da1ff99f1 | [
"BSL-1.0"
] | 1,742 | 2015-01-04T07:06:13.000Z | 2022-03-30T11:32:52.000Z | src/sage/tests/books/computational-mathematics-with-sagemath/domaines_doctest.py | hsm207/sage | 020bd59ec28717bfab9af44d2231c53da1ff99f1 | [
"BSL-1.0"
] | 66 | 2015-03-19T19:17:24.000Z | 2022-03-16T11:59:30.000Z | src/sage/tests/books/computational-mathematics-with-sagemath/domaines_doctest.py | hsm207/sage | 020bd59ec28717bfab9af44d2231c53da1ff99f1 | [
"BSL-1.0"
] | 495 | 2015-01-10T10:23:18.000Z | 2022-03-24T22:06:11.000Z | ## -*- encoding: utf-8 -*-
"""
This file (./domaines_doctest.sage) was *autogenerated* from ./domaines.tex,
with sagetex.sty version 2011/05/27 v2.3.1.
It contains the contents of all the sageexample environments from this file.
You should be able to doctest this file with:
sage -t ./domaines_doctest.sage
It is always ... | 22.93722 | 127 | 0.607527 | 1,879 | 10,230 | 3.299095 | 0.143161 | 0.120665 | 0.140507 | 0.226972 | 0.543959 | 0.512825 | 0.410711 | 0.297306 | 0.231489 | 0.209227 | 0 | 0.129288 | 0.221994 | 10,230 | 445 | 128 | 22.988764 | 0.649579 | 0.998729 | 0 | null | 1 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e091b9679a6111bb854970806d6dc9286999927c | 127 | py | Python | ML/complete_model/setlist.py | saisankargochhayat/doot | 00bd74463a065f23886e829aae677267b7619e13 | [
"MIT"
] | null | null | null | ML/complete_model/setlist.py | saisankargochhayat/doot | 00bd74463a065f23886e829aae677267b7619e13 | [
"MIT"
] | null | null | null | ML/complete_model/setlist.py | saisankargochhayat/doot | 00bd74463a065f23886e829aae677267b7619e13 | [
"MIT"
] | null | null | null | setlist = [['a','m','n','s','t','g','q','o','x'],['b','e','c'],['h','k','u','v'],
['d','r','p'],['f'],['l'],['i'],['w'],['y']]
| 42.333333 | 81 | 0.244094 | 25 | 127 | 1.24 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031496 | 127 | 2 | 82 | 63.5 | 0.252033 | 0 | 0 | 0 | 0 | 0 | 0.188976 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e093e95399d65bf6f2743e6fc81bac4c0cc5d9b1 | 138 | py | Python | messager.py | plasticruler/newshound | c97ef09165eabb27ac65682e4893cf72dae7f3fb | [
"Apache-2.0"
] | null | null | null | messager.py | plasticruler/newshound | c97ef09165eabb27ac65682e4893cf72dae7f3fb | [
"Apache-2.0"
] | null | null | null | messager.py | plasticruler/newshound | c97ef09165eabb27ac65682e4893cf72dae7f3fb | [
"Apache-2.0"
] | null | null | null | import requests
#newspi key c2d941c74c144421945618d97a458144
class Article:
link:str
headline:str
summary:str
body:str
| 12.545455 | 44 | 0.73913 | 15 | 138 | 6.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240741 | 0.217391 | 138 | 10 | 45 | 13.8 | 0.703704 | 0.311594 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
e0979923ac060ab5145d8b58681ac366fea606f9 | 1,190 | py | Python | courses/backend/django-for-everybody/Web Application Technologies and Django/resources/dj4e-samples/tmpl/views.py | Nahid-Hassan/fullstack-software-development | 892ffb33e46795061ea63378279a6469de317b1a | [
"CC0-1.0"
] | 297 | 2019-01-25T08:44:08.000Z | 2022-03-29T18:46:08.000Z | courses/backend/django-for-everybody/Web Application Technologies and Django/resources/dj4e-samples/tmpl/views.py | Nahid-Hassan/fullstack-software-development | 892ffb33e46795061ea63378279a6469de317b1a | [
"CC0-1.0"
] | 22 | 2019-05-06T14:21:04.000Z | 2022-02-21T10:05:25.000Z | courses/backend/django-for-everybody/Web Application Technologies and Django/resources/dj4e-samples/tmpl/views.py | Nahid-Hassan/fullstack-software-development | 892ffb33e46795061ea63378279a6469de317b1a | [
"CC0-1.0"
] | 412 | 2019-02-12T20:44:43.000Z | 2022-03-30T04:23:25.000Z | from django.shortcuts import render
from django.views import View
# Create your views here.
def simple(request):
return render(request, 'tmpl/simple.html')
def guess(request) :
context = {'zap' : '42' }
return render(request, 'tmpl/guess.html', context)
def special(request) :
context = {'txt' : '<b>... | 27.045455 | 56 | 0.595798 | 152 | 1,190 | 4.664474 | 0.368421 | 0.135402 | 0.214386 | 0.25952 | 0.392102 | 0.35402 | 0.235543 | 0.177715 | 0.177715 | 0.177715 | 0 | 0.0131 | 0.230252 | 1,190 | 43 | 57 | 27.674419 | 0.760917 | 0.070588 | 0 | 0.2 | 0 | 0 | 0.203451 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.266667 | false | 0 | 0.066667 | 0.033333 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
e09eabe2c9581024fbbd8098d315804c81879f55 | 205 | py | Python | src/__init__.py | codeKgu/BiLevel-Graph-Neural-Network | ed89c7d39baca757411cf333c595ac464e991a8e | [
"MIT"
] | 20 | 2020-07-22T03:56:13.000Z | 2021-12-02T01:13:09.000Z | src/__init__.py | codeKgu/BiLevel-Graph-Neural-Network | ed89c7d39baca757411cf333c595ac464e991a8e | [
"MIT"
] | 1 | 2020-07-28T17:47:17.000Z | 2020-08-03T15:38:40.000Z | src/__init__.py | codeKgu/BiLevel-Graph-Neural-Network | ed89c7d39baca757411cf333c595ac464e991a8e | [
"MIT"
] | 5 | 2020-08-09T11:14:49.000Z | 2020-12-10T11:37:44.000Z | import sys
from os.path import dirname, abspath, join
cur_folder = dirname(abspath(__file__))
sys.path.insert(0, join(dirname(cur_folder), 'src'))
sys.path.insert(0, dirname(cur_folder))
print(cur_folder) | 29.285714 | 52 | 0.77561 | 33 | 205 | 4.575758 | 0.454545 | 0.238411 | 0.172185 | 0.18543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010638 | 0.082927 | 205 | 7 | 53 | 29.285714 | 0.792553 | 0 | 0 | 0 | 0 | 0 | 0.014563 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.166667 | 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 |
e0bfc9b4798ab097e11ab7694665e7ba80ac9336 | 220 | py | Python | src/rekognition_online_action_detection/engines/__init__.py | amazon-research/long-short-term-transformer | a425be4b52ab68fddd85c91d26571e4cdfe8379a | [
"Apache-2.0"
] | 52 | 2021-11-19T01:35:10.000Z | 2022-03-24T11:48:10.000Z | src/rekognition_online_action_detection/engines/__init__.py | amazon-research/long-short-term-transformer | a425be4b52ab68fddd85c91d26571e4cdfe8379a | [
"Apache-2.0"
] | 9 | 2021-11-24T18:50:13.000Z | 2022-03-10T05:13:53.000Z | src/rekognition_online_action_detection/engines/__init__.py | amazon-research/long-short-term-transformer | a425be4b52ab68fddd85c91d26571e4cdfe8379a | [
"Apache-2.0"
] | 8 | 2022-01-15T08:01:33.000Z | 2022-03-20T22:08:29.000Z | # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
from .engines import do_train, do_inference
from .lstr.lstr_trainer import *
from .lstr.lstr_inference import *
| 31.428571 | 68 | 0.786364 | 33 | 220 | 5.121212 | 0.727273 | 0.094675 | 0.142012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010363 | 0.122727 | 220 | 6 | 69 | 36.666667 | 0.865285 | 0.463636 | 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 |
e0ccb86ce9db729b21b4c70f3e21fc86885bf209 | 83 | py | Python | test/source_dir/comments_blank_lines_code.py | Pierre-Thibault/neo-insert-imports | c20399d5666b2c3590be7f40c8be1130343bbadc | [
"MIT"
] | 1 | 2015-05-07T02:44:52.000Z | 2015-05-07T02:44:52.000Z | test/source_dir/comments_blank_lines_code.py | Pierre-Thibault/neo-insert-imports | c20399d5666b2c3590be7f40c8be1130343bbadc | [
"MIT"
] | null | null | null | test/source_dir/comments_blank_lines_code.py | Pierre-Thibault/neo-insert-imports | c20399d5666b2c3590be7f40c8be1130343bbadc | [
"MIT"
] | null | null | null | # comments------------------
def a(x):
print x
if True:
a(10) | 10.375 | 28 | 0.337349 | 10 | 83 | 2.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.361446 | 83 | 8 | 29 | 10.375 | 0.490566 | 0.313253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4613c4acf26a49b9382fcd9cbead5b7bfa04eb32 | 1,772 | py | Python | taiga/hooks/gitlab/migrations/0002_auto_20150703_1102.py | threefoldtech/Threefold-Circles | cbc433796b25cf7af9a295af65d665a4a279e2d6 | [
"Apache-2.0"
] | 1 | 2017-05-29T19:01:06.000Z | 2017-05-29T19:01:06.000Z | docker-images/taigav2/taiga-back/taiga/hooks/gitlab/migrations/0002_auto_20150703_1102.py | mattcongy/itshop | 6be025a9eaa7fe7f495b5777d1f0e5a3184121c9 | [
"MIT"
] | 12 | 2019-11-25T14:08:32.000Z | 2021-06-24T10:35:51.000Z | taiga/hooks/gitlab/migrations/0002_auto_20150703_1102.py | threefoldtech/Threefold-Circles | cbc433796b25cf7af9a295af65d665a4a279e2d6 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.core.files import File
def update_gitlab_system_user_photo_to_v2(apps, schema_editor):
# We get the model from the versioned app registry;
# if we directly import it, it'll be the wrong version... | 34.745098 | 79 | 0.603273 | 214 | 1,772 | 4.761682 | 0.341122 | 0.052993 | 0.070658 | 0.086359 | 0.789009 | 0.789009 | 0.789009 | 0.661433 | 0.661433 | 0.661433 | 0 | 0.011236 | 0.29684 | 1,772 | 50 | 80 | 35.44 | 0.806581 | 0.128104 | 0 | 0.555556 | 0 | 0 | 0.109812 | 0.051332 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0.055556 | 0.083333 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
1ca5ea50e3b728f56855c54f3c17bbd2fb106298 | 4,382 | py | Python | rdr_service/lib_fhir/fhirclient_3_0_0/models/allergyintolerance_tests.py | all-of-us/raw-data-repository | d28ad957557587b03ff9c63d55dd55e0508f91d8 | [
"BSD-3-Clause"
] | 39 | 2017-10-13T19:16:27.000Z | 2021-09-24T16:58:21.000Z | rdr_service/lib_fhir/fhirclient_3_0_0/models/allergyintolerance_tests.py | all-of-us/raw-data-repository | d28ad957557587b03ff9c63d55dd55e0508f91d8 | [
"BSD-3-Clause"
] | 312 | 2017-09-08T15:42:13.000Z | 2022-03-23T18:21:40.000Z | rdr_service/lib_fhir/fhirclient_3_0_0/models/allergyintolerance_tests.py | all-of-us/raw-data-repository | d28ad957557587b03ff9c63d55dd55e0508f91d8 | [
"BSD-3-Clause"
] | 19 | 2017-09-15T13:58:00.000Z | 2022-02-07T18:33:20.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Generated from FHIR 3.0.0.11832 on 2017-03-22.
# 2017, SMART Health IT.
import io
import json
import os
import unittest
from . import allergyintolerance
from .fhirdate import FHIRDate
class AllergyIntoleranceTests(unittest.TestCase):
def instantiate_from(self... | 57.657895 | 153 | 0.707211 | 531 | 4,382 | 5.817326 | 0.299435 | 0.199094 | 0.239883 | 0.174814 | 0.424733 | 0.356426 | 0.302039 | 0.240531 | 0.153448 | 0.080932 | 0 | 0.054618 | 0.147649 | 4,382 | 75 | 154 | 58.426667 | 0.772423 | 0.026016 | 0 | 0.032787 | 1 | 0 | 0.219615 | 0.023932 | 0 | 0 | 0 | 0 | 0.688525 | 1 | 0.04918 | false | 0 | 0.098361 | 0 | 0.180328 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1cc4d424336a53cdc71bcc2c504f86ad318db561 | 361 | py | Python | tests/util/test_helper.py | TobiasRasbold/pywrangler | 3f4ba5891a75430e0882b223bda4c6c7f55dbd51 | [
"MIT"
] | 14 | 2019-04-08T21:14:50.000Z | 2022-02-12T18:58:48.000Z | tests/util/test_helper.py | TobiasRasbold/pywrangler | 3f4ba5891a75430e0882b223bda4c6c7f55dbd51 | [
"MIT"
] | 27 | 2019-03-15T12:35:29.000Z | 2020-07-10T10:31:38.000Z | tests/util/test_helper.py | TobiasRasbold/pywrangler | 3f4ba5891a75430e0882b223bda4c6c7f55dbd51 | [
"MIT"
] | 3 | 2019-11-20T11:18:06.000Z | 2021-07-26T04:50:00.000Z | """This module contains tests for the helper module.
"""
from pywrangler.util.helper import get_param_names
def test_get_param_names():
def func():
pass
assert get_param_names(func) == []
def func1(a, b=4, c=6):
pass
assert get_param_names(func1) == ["a", "b", "c"]
assert get... | 18.05 | 54 | 0.609418 | 53 | 361 | 3.943396 | 0.471698 | 0.191388 | 0.311005 | 0.272727 | 0.38756 | 0.258373 | 0.258373 | 0.258373 | 0 | 0 | 0 | 0.017986 | 0.229917 | 361 | 19 | 55 | 19 | 0.733813 | 0.135734 | 0 | 0.222222 | 0 | 0 | 0.019737 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0.222222 | 0.111111 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
e8163cfdf2d7fa0a32158347c9c5f81ab0a3df6a | 1,759 | py | Python | tests/conftest.py | SolomidHero/speech-regeneration-enhancer | eb43907ff085d68a707ff7bc3af14e93ff66fd65 | [
"MIT"
] | 8 | 2021-03-27T00:17:17.000Z | 2022-01-26T05:26:19.000Z | tests/conftest.py | SolomidHero/speech-regeneration-enhancer | eb43907ff085d68a707ff7bc3af14e93ff66fd65 | [
"MIT"
] | 1 | 2021-09-26T02:29:21.000Z | 2021-09-27T08:56:13.000Z | tests/conftest.py | SolomidHero/speech-regeneration-enhancer | eb43907ff085d68a707ff7bc3af14e93ff66fd65 | [
"MIT"
] | 1 | 2021-03-26T12:30:14.000Z | 2021-03-26T12:30:14.000Z | # here we make fixtures of toy data
# real parameters are stored and accessed from config
import pytest
import librosa
import os
import numpy as np
from hydra.experimental import compose, initialize
@pytest.fixture(scope="session")
def cfg():
with initialize(config_path="../", job_name="test_app"):
config = ... | 25.867647 | 77 | 0.74133 | 267 | 1,759 | 4.719101 | 0.359551 | 0.113492 | 0.130952 | 0.198413 | 0.385714 | 0.17619 | 0.049206 | 0 | 0 | 0 | 0 | 0.007792 | 0.124503 | 1,759 | 68 | 77 | 25.867647 | 0.81039 | 0.125071 | 0 | 0.212766 | 0 | 0 | 0.150587 | 0.04498 | 0 | 0 | 0 | 0 | 0 | 1 | 0.234043 | false | 0 | 0.106383 | 0.170213 | 0.553191 | 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 |
1c020c67e87e2c7154ebd489b70107987ace54ea | 23 | py | Python | miika_nlu/venv/Lib/site-packages/tqdm/_dist_ver.py | NimBuzz01/Project-Miika_SDGP | 08ad1aafafbe9f47c59bd1568b8ac367fefe5503 | [
"MIT"
] | null | null | null | miika_nlu/venv/Lib/site-packages/tqdm/_dist_ver.py | NimBuzz01/Project-Miika_SDGP | 08ad1aafafbe9f47c59bd1568b8ac367fefe5503 | [
"MIT"
] | null | null | null | miika_nlu/venv/Lib/site-packages/tqdm/_dist_ver.py | NimBuzz01/Project-Miika_SDGP | 08ad1aafafbe9f47c59bd1568b8ac367fefe5503 | [
"MIT"
] | null | null | null | __version__ = '4.64.0'
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 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 |
1c0586c2c8dd465a0ae7f5e9116c1bf2f5320f2f | 46 | py | Python | examples/Tests/Misc/Resources/PythonFile/basic.py | esayui/mworks | 0522e5afc1e30fdbf1e67cedd196ee50f7924499 | [
"MIT"
] | null | null | null | examples/Tests/Misc/Resources/PythonFile/basic.py | esayui/mworks | 0522e5afc1e30fdbf1e67cedd196ee50f7924499 | [
"MIT"
] | null | null | null | examples/Tests/Misc/Resources/PythonFile/basic.py | esayui/mworks | 0522e5afc1e30fdbf1e67cedd196ee50f7924499 | [
"MIT"
] | null | null | null | setvar('nsamples', getvar('a') + getvar('b'))
| 23 | 45 | 0.608696 | 6 | 46 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 46 | 1 | 46 | 46 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1c245bb9f12c18581a3c0f8f320d7e2f0d45632a | 42 | py | Python | rn/__init__.py | vikneswaran20/rn | 33e0bfaf58bb8a5ec54c6d010035693b35e9909d | [
"BSD-3-Clause"
] | null | null | null | rn/__init__.py | vikneswaran20/rn | 33e0bfaf58bb8a5ec54c6d010035693b35e9909d | [
"BSD-3-Clause"
] | null | null | null | rn/__init__.py | vikneswaran20/rn | 33e0bfaf58bb8a5ec54c6d010035693b35e9909d | [
"BSD-3-Clause"
] | null | null | null | __version__ = '0.0.1'
__license__ = 'BSD'
| 14 | 21 | 0.666667 | 6 | 42 | 3.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.142857 | 42 | 2 | 22 | 21 | 0.472222 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 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 |
1c25d14605a86b5c88bbbc4dc7cdc7e4ecc3b9b3 | 216 | py | Python | semana2/mail_settings.py | ArseniumGX/bluemer-modulo2 | 24e5071b734de362dc47ef9d402c191699d15b43 | [
"MIT"
] | null | null | null | semana2/mail_settings.py | ArseniumGX/bluemer-modulo2 | 24e5071b734de362dc47ef9d402c191699d15b43 | [
"MIT"
] | null | null | null | semana2/mail_settings.py | ArseniumGX/bluemer-modulo2 | 24e5071b734de362dc47ef9d402c191699d15b43 | [
"MIT"
] | null | null | null | mail_settings = {
"MAIL_SERVER": 'smtp.gmail.com',
"MAIL_PORT": 465,
"MAIL_USE_TLS": False,
"MAIL_USE_SSL": True,
"MAIL_USERNAME": 'c003.teste.jp@gmail.com',
"MAIL_PASSWORD": 'C003.teste'
} | 27 | 47 | 0.625 | 29 | 216 | 4.344828 | 0.62069 | 0.126984 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051724 | 0.194444 | 216 | 8 | 48 | 27 | 0.672414 | 0 | 0 | 0 | 0 | 0 | 0.539171 | 0.105991 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.125 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
1c25eef341ba86ac217ef07e6815f7ede8df615f | 3,071 | py | Python | frame/base/parser.py | dingjingmaster/blog_spider | 7a0885bf886166eac0caca4471ee9f6424be2225 | [
"MIT"
] | null | null | null | frame/base/parser.py | dingjingmaster/blog_spider | 7a0885bf886166eac0caca4471ee9f6424be2225 | [
"MIT"
] | null | null | null | frame/base/parser.py | dingjingmaster/blog_spider | 7a0885bf886166eac0caca4471ee9f6424be2225 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3.6
# -*- encoding=utf8 -*-
import pyquery
"""
้ๆฑๅญๆฎต๏ผ
ๆจ้กใ็ผ่กจๆฅๆใๅ้กใๆจ็ฑคใๅ
งๅฎนใๅ็
้่ฆ็ๅญๆฎตไฟกๆฏ
1. ็ฝ็ซๆ นURL
2. ่งฃๆๅจๅๅญ
3. ่งฃๆๅจ็ฑปๅ
1. PARSER_PASSAGE_URL ๆ็ซ URL
2. PARSER_PASSAGE_TITLE ๆ็ซ ๆ ้ข
3. PARSER_PASSAGE_DATE ... | 31.659794 | 71 | 0.552914 | 355 | 3,071 | 4.484507 | 0.194366 | 0.285804 | 0.149497 | 0.050251 | 0.521985 | 0.431533 | 0.417085 | 0.417085 | 0.397613 | 0.250628 | 0 | 0.010474 | 0.347118 | 3,071 | 96 | 72 | 31.989583 | 0.783541 | 0.014653 | 0 | 0.359375 | 0 | 0 | 0.004344 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.171875 | false | 0.4375 | 0.015625 | 0.140625 | 0.703125 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
1c2e98b8bfffd32e002ee05aa4877b21658d72a4 | 59,466 | py | Python | azure-devops/azure/devops/released/build/build_client.py | imafidon2020/azure-devops-python-api | ea9075f0c54dbc10115a23a8b7ad34feacbbdc14 | [
"MIT"
] | 248 | 2019-05-10T14:20:24.000Z | 2022-03-29T12:17:27.000Z | azure-devops/azure/devops/released/build/build_client.py | AzureMentor/azure-devops-python-api | 3838e91d662dba1f77b43ad560ca23c1cb7e84e8 | [
"MIT"
] | 147 | 2019-05-08T14:20:49.000Z | 2022-03-28T19:36:21.000Z | azure-devops/azure/devops/released/build/build_client.py | AzureMentor/azure-devops-python-api | 3838e91d662dba1f77b43ad560ca23c1cb7e84e8 | [
"MIT"
] | 121 | 2019-05-08T06:24:39.000Z | 2022-03-01T12:58:02.000Z | ๏ปฟ# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# -------------------------------------------------------------------... | 54.505958 | 411 | 0.618437 | 6,739 | 59,466 | 5.246921 | 0.068556 | 0.060663 | 0.036653 | 0.029695 | 0.748522 | 0.710965 | 0.666761 | 0.643599 | 0.625131 | 0.604401 | 0 | 0.02413 | 0.279387 | 59,466 | 1,090 | 412 | 54.555963 | 0.800989 | 0.009064 | 0 | 0.753623 | 0 | 0 | 0.136635 | 0.048239 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.004348 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1c2ecd7374ac4b43cc0c12a94a556e95164106a8 | 190 | py | Python | tests/test_train.py | hugobb/sgda | 69dcda47bb2c5b76d46ead32eb46ab5fb5e5e6d3 | [
"MIT"
] | 1 | 2022-02-16T04:20:02.000Z | 2022-02-16T04:20:02.000Z | tests/test_train.py | hugobb/sgda | 69dcda47bb2c5b76d46ead32eb46ab5fb5e5e6d3 | [
"MIT"
] | null | null | null | tests/test_train.py | hugobb/sgda | 69dcda47bb2c5b76d46ead32eb46ab5fb5e5e6d3 | [
"MIT"
] | null | null | null | import unittest
from gamesopt.train import train, TrainConfig
class TestOptimizer(unittest.TestCase):
def test_sgda(self):
config = TrainConfig(num_iter=2)
train(config) | 27.142857 | 45 | 0.736842 | 23 | 190 | 6 | 0.73913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0.184211 | 190 | 7 | 46 | 27.142857 | 0.883871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1c4260852b0f621da5efbc981c92c14d38f9bbe8 | 1,469 | py | Python | src/UQpy/distributions/collection/__init__.py | SURGroup/UncertaintyQuantification | a94c8db47d07134ea2b3b0a3ca53ca818532c3e6 | [
"MIT"
] | null | null | null | src/UQpy/distributions/collection/__init__.py | SURGroup/UncertaintyQuantification | a94c8db47d07134ea2b3b0a3ca53ca818532c3e6 | [
"MIT"
] | null | null | null | src/UQpy/distributions/collection/__init__.py | SURGroup/UncertaintyQuantification | a94c8db47d07134ea2b3b0a3ca53ca818532c3e6 | [
"MIT"
] | null | null | null | """distributions module."""
from UQpy.distributions.collection.Beta import Beta
from UQpy.distributions.collection.Binomial import Binomial
from UQpy.distributions.collection.Cauchy import Cauchy
from UQpy.distributions.collection.ChiSquare import ChiSquare
from UQpy.distributions.collection.Exponential import Exponent... | 58.76 | 79 | 0.884275 | 163 | 1,469 | 7.969325 | 0.184049 | 0.141647 | 0.371824 | 0.548884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063989 | 1,469 | 24 | 80 | 61.208333 | 0.944727 | 0.014295 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1c4353fef35e15660683e78f01919ecd4744808d | 574 | py | Python | flask_monitoringdashboard/test/core/profiler/util/test_stringhash.py | timgates42/Flask-MonitoringDashboard | 0404b05b9a8f1917796e0f314a77a53a754a0b15 | [
"MIT"
] | 3 | 2020-07-17T05:37:41.000Z | 2021-09-06T19:46:15.000Z | flask_monitoringdashboard/test/core/profiler/util/test_stringhash.py | timgates42/Flask-MonitoringDashboard | 0404b05b9a8f1917796e0f314a77a53a754a0b15 | [
"MIT"
] | null | null | null | flask_monitoringdashboard/test/core/profiler/util/test_stringhash.py | timgates42/Flask-MonitoringDashboard | 0404b05b9a8f1917796e0f314a77a53a754a0b15 | [
"MIT"
] | 1 | 2020-11-21T01:25:51.000Z | 2020-11-21T01:25:51.000Z | import unittest
from flask_monitoringdashboard.core.profiler.util.stringHash import StringHash
class TestStringHash(unittest.TestCase):
def test_stringhash(self):
string_hash = StringHash()
self.assertEqual(string_hash.hash('abc'), 0)
self.assertEqual(string_hash.hash('def'), 1)
... | 31.888889 | 78 | 0.709059 | 67 | 574 | 5.910448 | 0.373134 | 0.20202 | 0.212121 | 0.252525 | 0.424242 | 0.35101 | 0.35101 | 0.247475 | 0 | 0 | 0 | 0.006303 | 0.170732 | 574 | 17 | 79 | 33.764706 | 0.82563 | 0 | 0 | 0.333333 | 0 | 0 | 0.038328 | 0 | 0 | 0 | 0 | 0 | 0.416667 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.416667 | 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 |
98c1adf25f25e2b996bb3df26aef461028014a20 | 55 | py | Python | examples/forest_fire/run.py | fire-suppression-abm/mesa | 8498eea3e5d4a739aee3b003107a0e7de59c5026 | [
"Apache-2.0"
] | 1,704 | 2015-02-01T17:59:44.000Z | 2022-03-30T13:25:47.000Z | examples/forest_fire/run.py | fire-suppression-abm/mesa | 8498eea3e5d4a739aee3b003107a0e7de59c5026 | [
"Apache-2.0"
] | 1,048 | 2015-01-12T01:16:05.000Z | 2022-03-31T11:44:33.000Z | examples/forest_fire/run.py | fire-suppression-abm/mesa | 8498eea3e5d4a739aee3b003107a0e7de59c5026 | [
"Apache-2.0"
] | 831 | 2015-03-04T13:41:25.000Z | 2022-03-30T14:33:17.000Z | from forest_fire.server import server
server.launch()
| 13.75 | 37 | 0.818182 | 8 | 55 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109091 | 55 | 3 | 38 | 18.333333 | 0.897959 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
98c37885dc6ddaa81fc5bc670f8b3da95afaa94e | 673 | py | Python | oscar/lib/python2.7/site-packages/phonenumbers/data/region_DJ.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/phonenumbers/data/region_DJ.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | oscar/lib/python2.7/site-packages/phonenumbers/data/region_DJ.py | sainjusajan/django-oscar | 466e8edc807be689b0a28c9e525c8323cc48b8e1 | [
"BSD-3-Clause"
] | null | null | null | """Auto-generated file, do not edit by hand. DJ metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_DJ = PhoneMetadata(id='DJ', country_code=253, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='[27]\\d{7}', possible_length=(8,)),
... | 74.777778 | 132 | 0.708767 | 91 | 673 | 5.043956 | 0.538462 | 0.017429 | 0.189542 | 0.235294 | 0.017429 | 0.017429 | 0 | 0 | 0 | 0 | 0 | 0.074797 | 0.086181 | 673 | 8 | 133 | 84.125 | 0.671545 | 0.078752 | 0 | 0 | 1 | 0 | 0.178218 | 0.090759 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
98d3b83719bd7419b5fbeccf9de154866fb50efc | 117 | py | Python | flocx_ui/content/flocx/views.py | whitel/flocx-ui | 3887882f1a7a650850bda9d7627cf6ebcc6c32e8 | [
"Apache-2.0"
] | null | null | null | flocx_ui/content/flocx/views.py | whitel/flocx-ui | 3887882f1a7a650850bda9d7627cf6ebcc6c32e8 | [
"Apache-2.0"
] | null | null | null | flocx_ui/content/flocx/views.py | whitel/flocx-ui | 3887882f1a7a650850bda9d7627cf6ebcc6c32e8 | [
"Apache-2.0"
] | null | null | null | from django.views import generic
class IndexView(generic.TemplateView):
template_name = 'project/flocx/index.html' | 29.25 | 44 | 0.811966 | 15 | 117 | 6.266667 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094017 | 117 | 4 | 44 | 29.25 | 0.886792 | 0 | 0 | 0 | 0 | 0 | 0.20339 | 0.20339 | 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 |
c713402fab437e2023ffb914ab06de89a1b21a69 | 220 | py | Python | src/spaceone/inventory/manager/rds_manager.py | jean1042/plugin-aws-cloud-services | 1cf192557b03478af33ae81f40b2a49f735716bb | [
"Apache-2.0"
] | 4 | 2020-06-22T01:48:07.000Z | 2020-08-24T00:51:09.000Z | src/spaceone/inventory/manager/rds_manager.py | jean1042/plugin-aws-cloud-services | 1cf192557b03478af33ae81f40b2a49f735716bb | [
"Apache-2.0"
] | 2 | 2020-07-20T01:58:32.000Z | 2020-08-04T07:41:37.000Z | src/spaceone/inventory/manager/rds_manager.py | jean1042/plugin-aws-cloud-services | 1cf192557b03478af33ae81f40b2a49f735716bb | [
"Apache-2.0"
] | 6 | 2020-06-22T09:19:40.000Z | 2020-09-17T06:35:37.000Z | from spaceone.inventory.libs.manager import AWSManager
# todo: __init__์์ ํ๋ฒ์ ๋ช
์ธ ํ ์ ์๊ฒ ๋ฐ๊พธ๊ธฐ
# ์ง๊ธ์ ๋ก์ผ์ดํฐ์์ ๊ธ๋ก๋ฒ์์ ๊ฐ์ ๊ฐ์ ธ์ค๋ ๋ก์ง ๋๋ฌธ์ ๋ณ๋ ํ์ผ์ด ์์ผ๋ฉด ์๋ฌ ๋ฐ์
class RDSConnectorManager(AWSManager):
connector_name = 'RDSConnector'
| 24.444444 | 54 | 0.777273 | 33 | 220 | 5.030303 | 0.969697 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168182 | 220 | 8 | 55 | 27.5 | 0.907104 | 0.372727 | 0 | 0 | 0 | 0 | 0.088889 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0 | false | 0 | 0.333333 | 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 | 1 | 0 | 0 | 0 | 0 | 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.