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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7d7bfde87e7be896e80bd91366d8ba499d2ef258 | 131 | py | Python | InvenTree/common/test_views.py | carlos-riquelme/InvenTree | 724dd2a9c82e4c10e14bd6aba8f48553b183fef9 | [
"MIT"
] | 5 | 2020-08-14T06:18:57.000Z | 2022-01-11T01:22:56.000Z | InvenTree/common/test_views.py | carlos-riquelme/InvenTree | 724dd2a9c82e4c10e14bd6aba8f48553b183fef9 | [
"MIT"
] | 27 | 2021-04-12T22:05:39.000Z | 2022-03-13T20:33:54.000Z | InvenTree/common/test_views.py | carlos-riquelme/InvenTree | 724dd2a9c82e4c10e14bd6aba8f48553b183fef9 | [
"MIT"
] | 1 | 2021-12-10T04:47:10.000Z | 2021-12-10T04:47:10.000Z | """
Unit tests for the views associated with the 'common' app
"""
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
| 18.714286 | 57 | 0.70229 | 18 | 131 | 4.833333 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.167939 | 131 | 6 | 58 | 21.833333 | 0.788991 | 0.610687 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7d8ceb95813a801f9859bd922c218e869bfcea10 | 315 | py | Python | Python/libraries/recognizers-number/recognizers_number/resources/__init__.py | ahmedabuamra/Recognizers-Text | 31193d89d3532839742992a2755c1d8539c68116 | [
"MIT"
] | 2 | 2017-08-22T11:21:19.000Z | 2017-09-17T20:06:00.000Z | Python/libraries/recognizers-number/recognizers_number/resources/__init__.py | ahmedabuamra/Recognizers-Text | 31193d89d3532839742992a2755c1d8539c68116 | [
"MIT"
] | 9 | 2020-07-21T11:36:38.000Z | 2020-08-26T11:40:29.000Z | Python/libraries/recognizers-number/recognizers_number/resources/__init__.py | ahmedabuamra/Recognizers-Text | 31193d89d3532839742992a2755c1d8539c68116 | [
"MIT"
] | 1 | 2020-07-30T11:53:22.000Z | 2020-07-30T11:53:22.000Z | from .base_numbers import BaseNumbers
from .chinese_numeric import ChineseNumeric
from .english_numeric import EnglishNumeric
from .french_numeric import FrenchNumeric
from .portuguese_numeric import PortugueseNumeric
from .spanish_numeric import SpanishNumeric
from .japanese_numeric import JapaneseNumeric
| 39.375 | 50 | 0.866667 | 35 | 315 | 7.6 | 0.514286 | 0.293233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 315 | 7 | 51 | 45 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7d8d8de2e415abcd118468d209df0b738ec107d0 | 30,430 | py | Python | tests/cupy_tests/test_cusparse.py | Pandinosaurus/cupy | c98064928c8242d0c6a07e2c714e6c811f684a4e | [
"MIT"
] | 1 | 2021-05-16T11:52:30.000Z | 2021-05-16T11:52:30.000Z | tests/cupy_tests/test_cusparse.py | Pandinosaurus/cupy | c98064928c8242d0c6a07e2c714e6c811f684a4e | [
"MIT"
] | null | null | null | tests/cupy_tests/test_cusparse.py | Pandinosaurus/cupy | c98064928c8242d0c6a07e2c714e6c811f684a4e | [
"MIT"
] | null | null | null | import pickle
import unittest
import numpy
import pytest
try:
import scipy.sparse
except ImportError:
pass
import cupy
from cupy import testing
from cupy import cusparse
from cupyx.scipy import sparse
if cupy.cuda.runtime.is_hip:
pytest.skip('HIP sparse support is not yet ready',
allow_m... | 35.342625 | 79 | 0.603319 | 4,196 | 30,430 | 4.271687 | 0.055291 | 0.027896 | 0.048538 | 0.053002 | 0.827159 | 0.786153 | 0.755021 | 0.7158 | 0.674794 | 0.659897 | 0 | 0.017146 | 0.260204 | 30,430 | 860 | 80 | 35.383721 | 0.779051 | 0.007033 | 0 | 0.642857 | 0 | 0 | 0.052076 | 0 | 0 | 0 | 0 | 0 | 0.10084 | 1 | 0.081232 | false | 0.001401 | 0.014006 | 0 | 0.161064 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7dd99c9710524ffbea5b4c2d672ae245e2a8d295 | 139 | py | Python | kkutil/type_util/str_util.py | kaka19ace/kkutils | 1ac449488d85ba2c6b18c5dc9cf77a0bc36579b1 | [
"MIT"
] | 1 | 2015-12-13T18:42:52.000Z | 2015-12-13T18:42:52.000Z | kkutil/type_util/str_util.py | kaka19ace/kkutil | 1ac449488d85ba2c6b18c5dc9cf77a0bc36579b1 | [
"MIT"
] | null | null | null | kkutil/type_util/str_util.py | kaka19ace/kkutil | 1ac449488d85ba2c6b18c5dc9cf77a0bc36579b1 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
def is_whitespaces_str(s):
return True if len(s.strip(" \t\n\r\f\v")) == 0 else False | 19.857143 | 62 | 0.597122 | 26 | 139 | 3.115385 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017391 | 0.172662 | 139 | 7 | 62 | 19.857143 | 0.686957 | 0.302158 | 0 | 0 | 0 | 0 | 0.115789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
7de49f84adccf90e986eb2b6f01530707e24d499 | 408 | py | Python | mythx_models/request/project_status.py | ConsenSys/mythx-models | e912c2fc6e7d18041310d3b9f0f95085db47ed9b | [
"MIT"
] | 2 | 2019-08-26T13:42:28.000Z | 2019-11-13T15:44:16.000Z | mythx_models/request/project_status.py | ConsenSys/mythx-models | e912c2fc6e7d18041310d3b9f0f95085db47ed9b | [
"MIT"
] | 22 | 2019-08-26T13:14:55.000Z | 2021-04-18T14:22:52.000Z | mythx_models/request/project_status.py | ConsenSys/mythx-models | e912c2fc6e7d18041310d3b9f0f95085db47ed9b | [
"MIT"
] | 6 | 2019-08-29T15:51:38.000Z | 2021-04-05T11:41:34.000Z | from pydantic import BaseModel
class ProjectStatusRequest(BaseModel):
project_id: str
@property
def endpoint(self):
return f"v1/projects/{self.project_id}"
@property
def method(self):
return "GET"
@property
def payload(self):
return {}
@property
def head... | 15.692308 | 47 | 0.60049 | 42 | 408 | 5.785714 | 0.52381 | 0.226337 | 0.148148 | 0.17284 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003521 | 0.303922 | 408 | 25 | 48 | 16.32 | 0.852113 | 0 | 0 | 0.444444 | 0 | 0 | 0.078431 | 0.071078 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.055556 | 0.277778 | 0.722222 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
81626ebc523afb0144bc98e3786b83cfd756165e | 198 | py | Python | tmp.py | adamamiller/NU_git_intro | dd775beedca82c7d24db23d143992cac678fea9b | [
"MIT"
] | null | null | null | tmp.py | adamamiller/NU_git_intro | dd775beedca82c7d24db23d143992cac678fea9b | [
"MIT"
] | null | null | null | tmp.py | adamamiller/NU_git_intro | dd775beedca82c7d24db23d143992cac678fea9b | [
"MIT"
] | null | null | null | import numpy as np
print("Did you know 2 + 2 = {}".format(2+2))
print("Of course I knew that, I have 4 fingers")
print("Well, I knew you had 4 fingers. I didn't know that you knew how to count!") | 28.285714 | 82 | 0.676768 | 41 | 198 | 3.268293 | 0.609756 | 0.029851 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.19697 | 198 | 7 | 82 | 28.285714 | 0.805031 | 0 | 0 | 0 | 0 | 0.25 | 0.678392 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.75 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
817548d2cfd30d338110cab215d59d6c64b56a62 | 159 | py | Python | uranus_middleware/endpoints/__init__.py | cigui/uranus-middleware | 5e77cea7fd6a3b0e77e8a095820546ca5cf224eb | [
"MIT"
] | null | null | null | uranus_middleware/endpoints/__init__.py | cigui/uranus-middleware | 5e77cea7fd6a3b0e77e8a095820546ca5cf224eb | [
"MIT"
] | null | null | null | uranus_middleware/endpoints/__init__.py | cigui/uranus-middleware | 5e77cea7fd6a3b0e77e8a095820546ca5cf224eb | [
"MIT"
] | null | null | null | from flask_socketio import SocketIO
socketio = SocketIO()
def init_app(app):
# from . import test
socketio.init_app(app, cors_allowed_origins='*')
| 15.9 | 52 | 0.72327 | 21 | 159 | 5.238095 | 0.52381 | 0.290909 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176101 | 159 | 9 | 53 | 17.666667 | 0.839695 | 0.113208 | 0 | 0 | 0 | 0 | 0.007194 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
81d6310965bc6aed90479884f156f01c70591fd8 | 3,061 | py | Python | jdaviz/tests/test_subsets.py | orifox/jdaviz | 49979137e54a3b8b3d9da996aff4d0575c60e998 | [
"MIT",
"BSD-3-Clause"
] | null | null | null | jdaviz/tests/test_subsets.py | orifox/jdaviz | 49979137e54a3b8b3d9da996aff4d0575c60e998 | [
"MIT",
"BSD-3-Clause"
] | 6 | 2021-03-05T14:27:53.000Z | 2021-09-30T14:02:54.000Z | jdaviz/tests/test_subsets.py | javerbukh/jdaviz | 552ab90ab6ec3c44d53325670324c773aab20e54 | [
"BSD-3-Clause"
] | null | null | null | import numpy as np
import pytest
from glue.core import Data
from glue.core.roi import RectangularROI, XRangeROI
from glue.core.subset import RoiSubsetState
from numpy.testing import assert_allclose
from regions import RectanglePixelRegion
from jdaviz.app import Application
@pytest.fixture
def jdaviz_app():
retur... | 33.271739 | 94 | 0.694871 | 416 | 3,061 | 4.877404 | 0.173077 | 0.075407 | 0.117299 | 0.090685 | 0.795466 | 0.78413 | 0.772302 | 0.748645 | 0.748645 | 0.748645 | 0 | 0.038649 | 0.196994 | 3,061 | 91 | 95 | 33.637363 | 0.786819 | 0 | 0 | 0.625 | 0 | 0 | 0.071545 | 0 | 0 | 0 | 0 | 0 | 0.328125 | 1 | 0.0625 | false | 0 | 0.125 | 0.015625 | 0.203125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c492af4efed7ccf3e3d347cf3679626646b2041d | 239 | py | Python | tools/PerformanceProfiler.pack/performance_profiler/command/__init__.py | usualoma/mt-plugin-PerformanceProfiler | 3c37e5033f296057885e9ce2e86edb199877f3fc | [
"MIT"
] | 1 | 2021-03-28T02:05:53.000Z | 2021-03-28T02:05:53.000Z | tools/PerformanceProfiler.pack/performance_profiler/command/__init__.py | usualoma/mt-plugin-PerformanceProfiler | 3c37e5033f296057885e9ce2e86edb199877f3fc | [
"MIT"
] | 1 | 2021-04-15T11:47:09.000Z | 2021-04-15T11:47:09.000Z | tools/PerformanceProfiler.pack/performance_profiler/command/__init__.py | usualoma/mt-plugin-PerformanceProfiler | 3c37e5033f296057885e9ce2e86edb199877f3fc | [
"MIT"
] | null | null | null | from .dump_command import DumpCommand
from .load_command import LoadCommand
from .prepare_command import PrepareCommand
from .tidyup_command import TidyupCommand
__all__ = ["DumpCommand", "LoadCommand", "PrepareCommand", "TidyupCommand"]
| 34.142857 | 75 | 0.828452 | 25 | 239 | 7.6 | 0.48 | 0.273684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096234 | 239 | 6 | 76 | 39.833333 | 0.87963 | 0 | 0 | 0 | 0 | 0 | 0.205021 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c4bcf598f0235822f75a35f7588b877731e03503 | 113 | py | Python | Easy/Hamming_distance/hamming_distance.py | nitin3685/LeetCode_Solutions | ab920e96cd27e0b2c3c895ce20853edceef0cce8 | [
"MIT"
] | null | null | null | Easy/Hamming_distance/hamming_distance.py | nitin3685/LeetCode_Solutions | ab920e96cd27e0b2c3c895ce20853edceef0cce8 | [
"MIT"
] | null | null | null | Easy/Hamming_distance/hamming_distance.py | nitin3685/LeetCode_Solutions | ab920e96cd27e0b2c3c895ce20853edceef0cce8 | [
"MIT"
] | null | null | null | class Solution:
def hammingDistance(self, x: int, y: int) -> int:
return (list(bin(x^y))).count('1')
| 28.25 | 53 | 0.59292 | 17 | 113 | 3.941176 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.212389 | 113 | 3 | 54 | 37.666667 | 0.741573 | 0 | 0 | 0 | 0 | 0 | 0.00885 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
c4bf72901dbdd848e02683e8f28808e1b1e8af5b | 29,695 | py | Python | venv/lib/python3.9/site-packages/NetworkExtension/_metadata.py | naveenthammu/edith | 80c91f7d4a8f5617fbc9d3586932c4b9264faebf | [
"MIT"
] | 1 | 2020-12-21T13:05:08.000Z | 2020-12-21T13:05:08.000Z | venv/lib/python3.9/site-packages/NetworkExtension/_metadata.py | naveenthammu/edith | 80c91f7d4a8f5617fbc9d3586932c4b9264faebf | [
"MIT"
] | null | null | null | venv/lib/python3.9/site-packages/NetworkExtension/_metadata.py | naveenthammu/edith | 80c91f7d4a8f5617fbc9d3586932c4b9264faebf | [
"MIT"
] | null | null | null | # This file is generated by objective.metadata
#
# Last update: Thu Nov 12 22:02:13 2020
#
# flake8: noqa
import objc, sys
if sys.maxsize > 2 ** 32:
def sel32or64(a, b): return b
else:
def sel32or64(a, b): return a
misc = {
}
constants = '''$NEAppProxyErrorDomain$NEAppPushErrorDomain$NEDNSProxyConfigurationD... | 154.661458 | 7,545 | 0.691194 | 2,810 | 29,695 | 7.296441 | 0.181851 | 0.059991 | 0.033946 | 0.053748 | 0.436424 | 0.419695 | 0.394576 | 0.337853 | 0.278203 | 0.257377 | 0 | 0.024421 | 0.078869 | 29,695 | 191 | 7,546 | 155.471204 | 0.725149 | 0.003603 | 0 | 0 | 1 | 0.01105 | 0.676076 | 0.423042 | 0 | 0 | 0 | 0 | 0.016575 | 1 | 0.01105 | false | 0.022099 | 0.005525 | 0.01105 | 0.016575 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c4c5cb9be617a6585ef8b182b5b24b9ee0d7549a | 66 | py | Python | tests.py | zurgeg/esp32-micropython-installer | 2367f4570000db7b3adcb7aa50a2e96b391d91a9 | [
"MIT"
] | null | null | null | tests.py | zurgeg/esp32-micropython-installer | 2367f4570000db7b3adcb7aa50a2e96b391d91a9 | [
"MIT"
] | 1 | 2020-03-14T15:29:32.000Z | 2020-03-14T15:29:32.000Z | tests.py | zurgeg/esp32-micropython-installer | 2367f4570000db7b3adcb7aa50a2e96b391d91a9 | [
"MIT"
] | null | null | null | import os
os.system('ampy --help')
os.system('esptool.py --help')
| 16.5 | 30 | 0.681818 | 11 | 66 | 4.090909 | 0.636364 | 0.355556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 66 | 3 | 31 | 22 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c4c75f41f1e1fa1e5dc379633e37c4bcc5442f91 | 319 | py | Python | Flask/flaskApp.py | golesuman/flask-webpage | a057c4241fd536559d6ab61f6213535ea3d7f6fa | [
"Apache-2.0"
] | 1 | 2020-11-18T01:20:15.000Z | 2020-11-18T01:20:15.000Z | Flask/flaskApp.py | golesuman/flask-webpage | a057c4241fd536559d6ab61f6213535ea3d7f6fa | [
"Apache-2.0"
] | null | null | null | Flask/flaskApp.py | golesuman/flask-webpage | a057c4241fd536559d6ab61f6213535ea3d7f6fa | [
"Apache-2.0"
] | null | null | null | from flask import Flask, render_template
app = Flask(__name__)
@app.route('/')
def hello_world():
return render_template("index.html")
@app.route('/About')
def About():
return render_template('AboutMe.html')
@app.route('/boots')
def bootstrap():
return render_template('boots.html')
app.run() | 22.785714 | 43 | 0.680251 | 41 | 319 | 5.073171 | 0.463415 | 0.269231 | 0.288462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15674 | 319 | 14 | 44 | 22.785714 | 0.773234 | 0 | 0 | 0 | 0 | 0 | 0.14658 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.083333 | 0.25 | 0.583333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
c4d8ad74ae930e704d9b23a379f37f5079a82ba9 | 402 | py | Python | sachima/game.py | DessertsLab/Sachima | 5ddf2c8afd493b593e36703dbb09b000b08eeede | [
"MIT"
] | 4 | 2019-01-25T01:44:36.000Z | 2020-06-28T00:44:43.000Z | sachima/game.py | DessertsLab/Sachima | 5ddf2c8afd493b593e36703dbb09b000b08eeede | [
"MIT"
] | 154 | 2019-01-28T03:35:34.000Z | 2022-03-24T03:04:25.000Z | sachima/game.py | DessertsLab/Sachima | 5ddf2c8afd493b593e36703dbb09b000b08eeede | [
"MIT"
] | 1 | 2019-02-18T06:10:55.000Z | 2019-02-18T06:10:55.000Z | if __name__ == "__main__":
ant_map = """
------a------------------------------------
------------------o----------------------
-----------------o-----------------------
------------------------------------------
------------------------------------------
-------------------------------------... | 30.923077 | 47 | 0.099502 | 11 | 402 | 2.727273 | 0.727273 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141791 | 402 | 12 | 48 | 33.5 | 0.086957 | 0 | 0 | 0.272727 | 0 | 0 | 0.850746 | 0.731343 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f20500b7e50945538710fb4f513f4a15558b1a69 | 16,614 | py | Python | docker-app/qfieldcloud/core/tests/test_qfield_file.py | stcz/qfieldcloud | b128f8689268d73de052e67e0c09c6c0d5abdc05 | [
"MIT"
] | null | null | null | docker-app/qfieldcloud/core/tests/test_qfield_file.py | stcz/qfieldcloud | b128f8689268d73de052e67e0c09c6c0d5abdc05 | [
"MIT"
] | null | null | null | docker-app/qfieldcloud/core/tests/test_qfield_file.py | stcz/qfieldcloud | b128f8689268d73de052e67e0c09c6c0d5abdc05 | [
"MIT"
] | null | null | null | import json
import logging
import os
import tempfile
import time
import psycopg2
import requests
from django.http.response import HttpResponse, HttpResponseRedirect
from qfieldcloud.authentication.models import AuthToken
from qfieldcloud.core.geodb_utils import delete_db_and_role
from qfieldcloud.core.models import Ge... | 36.514286 | 91 | 0.555315 | 1,778 | 16,614 | 5.084364 | 0.140607 | 0.044248 | 0.061726 | 0.064159 | 0.738274 | 0.723673 | 0.719137 | 0.716482 | 0.707633 | 0.695465 | 0 | 0.016418 | 0.314434 | 16,614 | 454 | 92 | 36.594714 | 0.777261 | 0.054954 | 0 | 0.607784 | 0 | 0 | 0.176884 | 0.090359 | 0 | 0 | 0 | 0 | 0.10479 | 1 | 0.032934 | false | 0.011976 | 0.041916 | 0 | 0.095808 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1eedb5ebbace35b279cfe2795f493c1721dea351 | 416 | py | Python | src/Shared/InterfaceAdapters/IPaginator.py | DigiChanges/python-experience | 3332d2c4d922a5eb302fa151582a4f63c668a570 | [
"MIT"
] | null | null | null | src/Shared/InterfaceAdapters/IPaginator.py | DigiChanges/python-experience | 3332d2c4d922a5eb302fa151582a4f63c668a570 | [
"MIT"
] | null | null | null | src/Shared/InterfaceAdapters/IPaginator.py | DigiChanges/python-experience | 3332d2c4d922a5eb302fa151582a4f63c668a570 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from typing import Any
class IPaginator(ABC):
@abstractmethod
def paginate(self) -> Any:
pass
@abstractmethod
def getTotal(self) -> int:
pass
@abstractmethod
def getCurrentUrl(self) -> str:
pass
@abstractmethod
def getNext... | 16.64 | 35 | 0.612981 | 42 | 416 | 6.071429 | 0.452381 | 0.333333 | 0.329412 | 0.196078 | 0.219608 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.305288 | 416 | 25 | 36 | 16.64 | 0.882353 | 0 | 0 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0.277778 | 0.111111 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
48049eb279750085b104ecc67fed60d3cf6decb8 | 144 | py | Python | tests/test_noise.py | patel-zeel/regdata | 4b823368750a1afd24b1b8d63e3b2ba58d983c79 | [
"MIT"
] | null | null | null | tests/test_noise.py | patel-zeel/regdata | 4b823368750a1afd24b1b8d63e3b2ba58d983c79 | [
"MIT"
] | 3 | 2021-09-22T08:31:49.000Z | 2021-10-13T14:23:14.000Z | tests/test_noise.py | patel-zeel/regdata | 4b823368750a1afd24b1b8d63e3b2ba58d983c79 | [
"MIT"
] | null | null | null | import pytest
def test_noise():
import regdata as rd
with pytest.raises(ValueError):
rd.Step(s_to_n_ratio=2, noise_variance=2)
| 20.571429 | 49 | 0.708333 | 23 | 144 | 4.217391 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017391 | 0.201389 | 144 | 6 | 50 | 24 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
481a63486886655f4d23b99ce43e8a415d03fcf7 | 5,881 | py | Python | tests/components/wemo/test_binary_sensor.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 4 | 2021-07-11T09:11:00.000Z | 2022-02-27T14:43:50.000Z | tests/components/wemo/test_binary_sensor.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 1,016 | 2019-06-18T21:27:47.000Z | 2020-03-06T11:09:58.000Z | tests/components/wemo/test_binary_sensor.py | MrDelik/core | 93a66cc357b226389967668441000498a10453bb | [
"Apache-2.0"
] | 3 | 2022-01-02T18:49:54.000Z | 2022-01-25T02:03:54.000Z | """Tests for the Wemo binary_sensor entity."""
import pytest
from homeassistant.components.homeassistant import (
DOMAIN as HA_DOMAIN,
SERVICE_UPDATE_ENTITY,
)
from homeassistant.components.wemo.binary_sensor import (
InsightBinarySensor,
MakerBinarySensor,
)
from homeassistant.const import ATTR_ENTIT... | 35.859756 | 85 | 0.666893 | 687 | 5,881 | 5.419214 | 0.135371 | 0.141821 | 0.047274 | 0.053183 | 0.792103 | 0.726833 | 0.726833 | 0.726833 | 0.726027 | 0.691378 | 0 | 0.007341 | 0.235674 | 5,881 | 163 | 86 | 36.079755 | 0.820912 | 0.094202 | 0 | 0.610619 | 0 | 0 | 0.036397 | 0 | 0 | 0 | 0 | 0 | 0.079646 | 1 | 0.061947 | false | 0 | 0.053097 | 0 | 0.185841 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
48294613ec0b38a81f7e318d47c91775abdd37f2 | 416 | py | Python | src/classifier/interface.py | William9923/IF4072-SentimentClassification | 5e22a6da418056955243c310bab0382e4683b781 | [
"MIT"
] | null | null | null | src/classifier/interface.py | William9923/IF4072-SentimentClassification | 5e22a6da418056955243c310bab0382e4683b781 | [
"MIT"
] | null | null | null | src/classifier/interface.py | William9923/IF4072-SentimentClassification | 5e22a6da418056955243c310bab0382e4683b781 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
class IClassifier(ABC):
@abstractmethod
def train(self):
pass
@abstractmethod
def predict_proba(self):
pass
@abstractmethod
def predict(self):
pass
@abstractmethod
def summary(self):
pass
@abstractmetho... | 14.344828 | 35 | 0.574519 | 39 | 416 | 6.102564 | 0.384615 | 0.428571 | 0.462185 | 0.52521 | 0.268908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.358173 | 416 | 28 | 36 | 14.857143 | 0.891386 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.3 | 0.05 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
486be6799e220e0c5e1de56c3cb23902bacb1e85 | 116 | py | Python | utils/__init__.py | willdevgh/dlbingwallpaper | 8514399a9662febd3a7521bbdfaf746dd544d79b | [
"MIT"
] | 1 | 2017-07-12T08:00:52.000Z | 2017-07-12T08:00:52.000Z | utils/__init__.py | willdevgh/dlbingwallpaper | 8514399a9662febd3a7521bbdfaf746dd544d79b | [
"MIT"
] | 6 | 2021-03-18T20:29:55.000Z | 2022-03-11T23:19:40.000Z | utils/__init__.py | willdevgh/dlbingwallpaper | 8514399a9662febd3a7521bbdfaf746dd544d79b | [
"MIT"
] | null | null | null | from utils.database import WallpaperDatabase
from utils.spin import Spin
__all__ = ["WallpaperDatabase", "Spin", ]
| 23.2 | 44 | 0.784483 | 13 | 116 | 6.692308 | 0.538462 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12069 | 116 | 4 | 45 | 29 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0.181034 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6febc036822800b0bbe4f13857e0e9653620aa36 | 235 | py | Python | tests/basics/builtin_issubclass.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 13,648 | 2015-01-01T01:34:51.000Z | 2022-03-31T16:19:53.000Z | tests/basics/builtin_issubclass.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 7,092 | 2015-01-01T07:59:11.000Z | 2022-03-31T23:52:18.000Z | tests/basics/builtin_issubclass.py | learnforpractice/micropython-cpp | 004bc8382f74899e7b876cc29bfa6a9cc976ba10 | [
"MIT"
] | 4,942 | 2015-01-02T11:48:50.000Z | 2022-03-31T19:57:10.000Z | # test builtin issubclass
class A:
pass
print(issubclass(A, A))
print(issubclass(A, (A,)))
try:
issubclass(A, 1)
except TypeError:
print('TypeError')
try:
issubclass('a', 1)
except TypeError:
print('TypeError')
| 13.055556 | 26 | 0.651064 | 30 | 235 | 5.1 | 0.366667 | 0.287582 | 0.20915 | 0.222222 | 0.575163 | 0.575163 | 0.575163 | 0.575163 | 0 | 0 | 0 | 0.010638 | 0.2 | 235 | 17 | 27 | 13.823529 | 0.803191 | 0.097872 | 0 | 0.5 | 0 | 0 | 0.090476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.083333 | 0 | 0 | 0.083333 | 0.333333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
6ff120b369a70dd964f738ade7013dec14e0a541 | 22 | py | Python | base/test-show-scope/class-2.py | jpolitz/lambda-py-paper | 746ef63fc1123714b4adaf78119028afbea7bd76 | [
"Apache-2.0"
] | 25 | 2015-04-16T04:31:49.000Z | 2022-03-10T15:53:28.000Z | base/test-show-scope/class-2.py | jpolitz/lambda-py-paper | 746ef63fc1123714b4adaf78119028afbea7bd76 | [
"Apache-2.0"
] | 1 | 2018-11-21T22:40:02.000Z | 2018-11-26T17:53:11.000Z | base/test-show-scope/class-2.py | jpolitz/lambda-py-paper | 746ef63fc1123714b4adaf78119028afbea7bd76 | [
"Apache-2.0"
] | 1 | 2021-03-26T03:36:19.000Z | 2021-03-26T03:36:19.000Z | x = 7
class C:
x = 9
| 5.5 | 8 | 0.454545 | 6 | 22 | 1.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0.409091 | 22 | 3 | 9 | 7.333333 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.666667 | 0 | 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 | 1 | 0 | 0 | 5 |
b51616851b731dd79e3580faab311b514d9588d6 | 9,064 | py | Python | oplot/plot_audio.py | otosense/oplot | 5b4b4b96ebfa5486501c02e7051d1c11b1c3b86c | [
"Apache-2.0"
] | 1 | 2021-12-21T05:43:01.000Z | 2021-12-21T05:43:01.000Z | oplot/plot_audio.py | otosense/oplot | 5b4b4b96ebfa5486501c02e7051d1c11b1c3b86c | [
"Apache-2.0"
] | 2 | 2021-01-09T01:13:48.000Z | 2021-07-29T12:33:11.000Z | oplot/plot_audio.py | otosense/oplot | 5b4b4b96ebfa5486501c02e7051d1c11b1c3b86c | [
"Apache-2.0"
] | 1 | 2021-12-14T14:33:07.000Z | 2021-12-14T14:33:07.000Z | """Functions intended to plot waveform and spectra plus some timestamps information as vertical lines on the plots"""
import matplotlib.pyplot as plt
from cycler import cycler
import numpy as np
from matplotlib.pyplot import cm
def plot_lines(
ax,
lines_loc,
label=None,
color='r',
line_width=0.5,... | 26.196532 | 117 | 0.611209 | 1,357 | 9,064 | 3.775976 | 0.123803 | 0.112412 | 0.045667 | 0.030055 | 0.745902 | 0.733607 | 0.728532 | 0.712529 | 0.705504 | 0.688915 | 0 | 0.016386 | 0.293027 | 9,064 | 345 | 118 | 26.272464 | 0.78324 | 0.254744 | 0 | 0.696078 | 0 | 0 | 0.017538 | 0.006577 | 0 | 0 | 0 | 0.005797 | 0 | 1 | 0.02451 | false | 0 | 0.019608 | 0 | 0.044118 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d204dd1bd0b4c970f44c3f61a5c340a34df73bc4 | 8,998 | py | Python | script/SpiderGanji/SpiderGanji/spiders/startURL_cs.py | jiming-liu/overpick_Scrapy | 0fd9995f6a4560285804371608216ec527c2a793 | [
"MIT"
] | null | null | null | script/SpiderGanji/SpiderGanji/spiders/startURL_cs.py | jiming-liu/overpick_Scrapy | 0fd9995f6a4560285804371608216ec527c2a793 | [
"MIT"
] | null | null | null | script/SpiderGanji/SpiderGanji/spiders/startURL_cs.py | jiming-liu/overpick_Scrapy | 0fd9995f6a4560285804371608216ec527c2a793 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# coding=utf-8
class startURL:
xinfangURL = [
'http://cs.ganji.com/fang12/o1/',
'http://cs.ganji.com/fang12/o2/',
'http://cs.ganji.com/fang12/o3/',
'http://cs.ganji.com/fang12/o4/',
'http://cs.ganji.com/fang12/o5/',
'http://cs.ganji.com/fang12/o... | 40.169643 | 42 | 0.526006 | 1,272 | 8,998 | 3.720912 | 0.069969 | 0.266216 | 0.488063 | 0.621171 | 0.983309 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095494 | 0.215603 | 8,998 | 223 | 43 | 40.349776 | 0.575092 | 0.003667 | 0 | 0 | 0 | 0 | 0.707687 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0.018433 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d2062449803043e0c9f8ee74ffad0ada9af45ec0 | 127 | py | Python | numpy/arange_&_randam.py | abhayanigam/Learn_Python_Programming | 801e3fff2b1fe35e4c93f4ced649516c519eb8f9 | [
"MIT"
] | 1 | 2021-08-28T15:10:26.000Z | 2021-08-28T15:10:26.000Z | numpy/arange_&_randam.py | abhayanigam/Learn_Python_Programming | 801e3fff2b1fe35e4c93f4ced649516c519eb8f9 | [
"MIT"
] | null | null | null | numpy/arange_&_randam.py | abhayanigam/Learn_Python_Programming | 801e3fff2b1fe35e4c93f4ced649516c519eb8f9 | [
"MIT"
] | null | null | null | import numpy as np
n1 = np.arange(10,21)
print(n1)
n2 = np.arange(10,21,2)
print(n2)
n3 = np.random.randint(1,10,5)
print(n3) | 14.111111 | 30 | 0.677165 | 28 | 127 | 3.071429 | 0.571429 | 0.186047 | 0.232558 | 0.27907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172727 | 0.133858 | 127 | 9 | 31 | 14.111111 | 0.609091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.428571 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
d2091c89054b2a2a0cd1920bc938ecbb011050c7 | 5,896 | py | Python | mongoengine_migrate/actions/index.py | Mohsen-Khodabakhshi/mongoengine-migrate | 1a7a26a47a474f70743c04700ce2a42f1872f166 | [
"Apache-2.0"
] | 15 | 2020-08-05T22:25:54.000Z | 2022-02-08T20:50:35.000Z | mongoengine_migrate/actions/index.py | Mohsen-Khodabakhshi/mongoengine-migrate | 1a7a26a47a474f70743c04700ce2a42f1872f166 | [
"Apache-2.0"
] | 36 | 2020-10-22T09:05:01.000Z | 2022-02-21T14:50:17.000Z | mongoengine_migrate/actions/index.py | Mohsen-Khodabakhshi/mongoengine-migrate | 1a7a26a47a474f70743c04700ce2a42f1872f166 | [
"Apache-2.0"
] | 5 | 2020-10-23T04:06:32.000Z | 2022-02-21T14:35:33.000Z | __all__ = [
'CreateIndex',
'DropIndex',
'AlterIndex'
]
from copy import deepcopy
from typing import Optional, Sequence
from pymongo.database import Database
from mongoengine_migrate.flags import EMBEDDED_DOCUMENT_NAME_PREFIX
from mongoengine_migrate.graph import MigrationPolicy
from mongoengine_migrate.s... | 39.046358 | 103 | 0.669098 | 721 | 5,896 | 5.188627 | 0.162275 | 0.128308 | 0.060946 | 0.027265 | 0.797648 | 0.7637 | 0.739107 | 0.739107 | 0.728949 | 0.660519 | 0 | 0.002036 | 0.250339 | 5,896 | 150 | 104 | 39.306667 | 0.844344 | 0.137381 | 0 | 0.58 | 0 | 0 | 0.032554 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.15 | false | 0 | 0.07 | 0 | 0.34 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
d2809440c6da11a5a7c0f3d53f2382a9d4364f4c | 94 | py | Python | aaem_summaries/components/biomass_wood/__init__.py | gina-alaska/alaska_affordable_energy_model | 96fed0137152985ce280ea37e0affec131e3087f | [
"MIT-feh"
] | 1 | 2022-01-23T07:18:36.000Z | 2022-01-23T07:18:36.000Z | aaem_summaries/components/biomass_wood/__init__.py | gina-alaska/alaska_affordable_energy_model | 96fed0137152985ce280ea37e0affec131e3087f | [
"MIT-feh"
] | 5 | 2017-07-14T21:56:46.000Z | 2017-07-14T21:59:15.000Z | aaem_summaries/components/biomass_wood/__init__.py | gina-alaska/alaska_affordable_energy_model | 96fed0137152985ce280ea37e0affec131e3087f | [
"MIT-feh"
] | 2 | 2020-04-28T18:12:55.000Z | 2021-01-13T01:56:57.000Z | """
__init__.py
summary for
Biomass - Cordwood in a community
"""
from summary import *
| 11.75 | 33 | 0.680851 | 12 | 94 | 5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.223404 | 94 | 7 | 34 | 13.428571 | 0.821918 | 0.670213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
966f8cc647da0f7b75021cefc29faeb32ddad27d | 156 | py | Python | neuralnetwork/code/cells/__init__.py | realwsq/MuscleSpindleCircuitsModel | 4418b180559ea1464ee6139161af7e6bf3762c50 | [
"MIT"
] | 5 | 2018-11-13T15:22:14.000Z | 2022-03-23T17:00:38.000Z | neuralnetwork/code/cells/__init__.py | realwsq/MuscleSpindleCircuitsModel | 4418b180559ea1464ee6139161af7e6bf3762c50 | [
"MIT"
] | null | null | null | neuralnetwork/code/cells/__init__.py | realwsq/MuscleSpindleCircuitsModel | 4418b180559ea1464ee6139161af7e6bf3762c50 | [
"MIT"
] | 1 | 2020-05-28T15:40:11.000Z | 2020-05-28T15:40:11.000Z | from Cell import Cell
from AfferentFiber import AfferentFiber
from IntFire import IntFire
from IntFireMn import IntFireMn
from Motoneuron import Motoneuron
| 26 | 39 | 0.871795 | 20 | 156 | 6.8 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 156 | 5 | 40 | 31.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7367d4d019ee8161e39bb213b44757e547a96f5f | 147 | py | Python | a/empresa.py | mariagarciau/AgregComposPOO | dc2671ec54d5678d79c003b070ecb4d233d7f35f | [
"Apache-2.0"
] | null | null | null | a/empresa.py | mariagarciau/AgregComposPOO | dc2671ec54d5678d79c003b070ecb4d233d7f35f | [
"Apache-2.0"
] | null | null | null | a/empresa.py | mariagarciau/AgregComposPOO | dc2671ec54d5678d79c003b070ecb4d233d7f35f | [
"Apache-2.0"
] | null | null | null | import empleado
import edificio
class empresa:
def __init__(self, nombreEmpresa):
self.nombreEmpresa = nombreEmpresa
YooHoo = empresa() | 24.5 | 42 | 0.755102 | 15 | 147 | 7.133333 | 0.666667 | 0.317757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176871 | 147 | 6 | 43 | 24.5 | 0.884298 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
73ad4350ace962ff533f8b90806fe838e01968ed | 55 | py | Python | src/ranking.py | Thoughtful-Automation/bots-ta2-python-hockey-challenge | 5a0a213ba8db9f23ae47b21c6d5ab8524c349aa3 | [
"Apache-2.0"
] | null | null | null | src/ranking.py | Thoughtful-Automation/bots-ta2-python-hockey-challenge | 5a0a213ba8db9f23ae47b21c6d5ab8524c349aa3 | [
"Apache-2.0"
] | null | null | null | src/ranking.py | Thoughtful-Automation/bots-ta2-python-hockey-challenge | 5a0a213ba8db9f23ae47b21c6d5ab8524c349aa3 | [
"Apache-2.0"
] | null | null | null |
class Ranking:
# TODO: Add your code here
pass | 13.75 | 30 | 0.636364 | 8 | 55 | 4.375 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.309091 | 55 | 4 | 31 | 13.75 | 0.921053 | 0.436364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
73be6c50f61d79c38fdc27e76a4283abd02d6bab | 40 | py | Python | carla/recourse_methods/catalog/clue/__init__.py | jayanthyetukuri/CARLA | c3f3aaf11a5a8499c4bec5065e0c17ec8e6f5950 | [
"MIT"
] | 140 | 2021-08-03T21:53:32.000Z | 2022-03-20T08:52:02.000Z | carla/recourse_methods/catalog/clue/__init__.py | jayanthyetukuri/CARLA | c3f3aaf11a5a8499c4bec5065e0c17ec8e6f5950 | [
"MIT"
] | 54 | 2021-03-07T18:22:16.000Z | 2021-08-03T12:06:31.000Z | carla/recourse_methods/catalog/clue/__init__.py | jayanthyetukuri/CARLA | c3f3aaf11a5a8499c4bec5065e0c17ec8e6f5950 | [
"MIT"
] | 16 | 2021-08-23T12:14:58.000Z | 2022-03-01T00:52:58.000Z | # flake8: noqa
from .model import Clue
| 10 | 23 | 0.725 | 6 | 40 | 4.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.2 | 40 | 3 | 24 | 13.333333 | 0.875 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
73fc04b570eb73b6ca58068fe6300d2076334be2 | 5,557 | py | Python | stdplugins/getmusic.py | Colossalhavoc/PepeBot | 238f246e84696970a93eba508c3b084704b44944 | [
"Apache-2.0"
] | 20 | 2020-01-25T05:08:26.000Z | 2022-01-18T07:37:53.000Z | stdplugins/getmusic.py | ishaizz/PepeBot | 7440cadc8228106d221fc8e436a0809a86be5159 | [
"Apache-2.0"
] | 15 | 2019-11-07T07:53:56.000Z | 2022-01-23T09:21:17.000Z | stdplugins/getmusic.py | ishaizz/PepeBot | 7440cadc8228106d221fc8e436a0809a86be5159 | [
"Apache-2.0"
] | 62 | 2019-10-20T06:35:19.000Z | 2021-01-23T17:26:05.000Z | """
by @sandy1709 ( https://t.me/mrconfused )
"""
# songs finder for PepeBot
import os
from pathlib import Path
from validators.url import url
from uniborg import SYNTAX, name_dl, runcmd, song_dl, thumb_dl, video_dl, yt_search
from uniborg.util import admin_cmd, edit_or_reply
DEFAULTUSER = "𠘨 工 长 工 丅 卂"
@borg.... | 35.170886 | 96 | 0.623718 | 788 | 5,557 | 4.244924 | 0.173858 | 0.035575 | 0.060987 | 0.068759 | 0.826607 | 0.753064 | 0.724664 | 0.704933 | 0.686099 | 0.655306 | 0 | 0.010233 | 0.243837 | 5,557 | 157 | 97 | 35.394904 | 0.784864 | 0.012417 | 0 | 0.619718 | 0 | 0.014085 | 0.143796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.035211 | 0 | 0.119718 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fb77a8c7007783846524e88b0bf1a21fa0443484 | 197 | py | Python | experiments/models/__init__.py | QUVA-Lab/e2cnn_experiments | 0c8f275be0361367c52d2d268471ac32f39fe3f3 | [
"BSD-3-Clause"
] | 13 | 2021-02-26T10:42:10.000Z | 2022-02-09T05:08:07.000Z | experiments/models/__init__.py | QUVA-Lab/e2cnn_experiments | 0c8f275be0361367c52d2d268471ac32f39fe3f3 | [
"BSD-3-Clause"
] | 2 | 2021-11-23T12:04:17.000Z | 2022-03-07T01:51:35.000Z | experiments/models/__init__.py | QUVA-Lab/e2cnn_experiments | 0c8f275be0361367c52d2d268471ac32f39fe3f3 | [
"BSD-3-Clause"
] | 2 | 2021-11-26T05:56:50.000Z | 2022-01-25T13:21:42.000Z |
from .e2sfcnn import E2SFCNN
from .e2sfcnn_quotient import E2SFCNN_QUOT
from .exp_e2sfcnn import ExpE2SFCNN
from .exp_cnn import ExpCNN
from .e2_wide_resnet import *
from .wide_resnet import *
| 17.909091 | 42 | 0.817259 | 29 | 197 | 5.310345 | 0.413793 | 0.142857 | 0.207792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04142 | 0.142132 | 197 | 10 | 43 | 19.7 | 0.869822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
fb90cbf9de4df75107352597d50f047f44bac86c | 525 | py | Python | Python/treehopper/libraries/sensors/Proximity.py | ehailey1/treehopper-sdk | c242f939a93d93da11ff79577666130c15aecec7 | [
"MIT"
] | 3 | 2018-03-16T07:00:42.000Z | 2022-03-27T00:39:55.000Z | Python/treehopper/libraries/sensors/Proximity.py | ehailey1/treehopper-sdk | c242f939a93d93da11ff79577666130c15aecec7 | [
"MIT"
] | 16 | 2016-08-12T18:51:04.000Z | 2021-04-16T16:14:07.000Z | Python/treehopper/libraries/sensors/Proximity.py | ehailey1/treehopper-sdk | c242f939a93d93da11ff79577666130c15aecec7 | [
"MIT"
] | 6 | 2015-11-04T15:53:49.000Z | 2020-06-25T18:34:47.000Z | from abc import abstractmethod, ABC
from treehopper.libraries.sensors import Pollable
class Proximity(Pollable):
def __init__(self):
self._meters = 0
@property
def meters(self):
if self.auto_update_when_property_read:
self.update()
return self._meters
@property
... | 19.444444 | 49 | 0.64 | 62 | 525 | 5.258065 | 0.483871 | 0.153374 | 0.196319 | 0.184049 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04244 | 0.281905 | 525 | 26 | 50 | 20.192308 | 0.822281 | 0 | 0 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.105263 | 0.157895 | 0.631579 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
fbe1c23b13bee85060daedfc744013aa2d84713b | 91 | py | Python | PythonClient/carla/driving_benchmark/experiment_suites/__init__.py | Fatiepie/SelfDrivingCarController | 359f5416f9d001a989d87cc002727f0e14903aa7 | [
"MIT"
] | 1 | 2021-04-22T16:15:51.000Z | 2021-04-22T16:15:51.000Z | PythonClient/carla/driving_benchmark/experiment_suites/__init__.py | Fatiepie/SelfDrivingCarController | 359f5416f9d001a989d87cc002727f0e14903aa7 | [
"MIT"
] | null | null | null | PythonClient/carla/driving_benchmark/experiment_suites/__init__.py | Fatiepie/SelfDrivingCarController | 359f5416f9d001a989d87cc002727f0e14903aa7 | [
"MIT"
] | null | null | null | from .basic_experiment_suite import BasicExperimentSuite
from .corl_2017 import CoRL2017
| 30.333333 | 57 | 0.868132 | 11 | 91 | 6.909091 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 0.10989 | 91 | 2 | 58 | 45.5 | 0.839506 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8376a9ef9fc9afbcf6cafdf6801ffa2cf8c0775f | 261 | py | Python | tipping/sqlalchemy-fauna/sqlalchemy_fauna/fauna/fql/__init__.py | tipresias/tipresias | 8945acb8276f22f2159c24e5a1bd411e7920a79e | [
"MIT"
] | 12 | 2019-05-27T10:28:59.000Z | 2022-02-01T23:49:50.000Z | tipping/sqlalchemy-fauna/sqlalchemy_fauna/fauna/fql/__init__.py | tipresias/tipresias | 8945acb8276f22f2159c24e5a1bd411e7920a79e | [
"MIT"
] | 275 | 2019-05-27T06:46:37.000Z | 2022-03-18T03:58:33.000Z | tipping/sqlalchemy-fauna/sqlalchemy_fauna/fauna/fql/__init__.py | tipresias/tipresias | 8945acb8276f22f2159c24e5a1bd411e7920a79e | [
"MIT"
] | 6 | 2019-08-27T08:49:50.000Z | 2021-10-04T12:28:37.000Z | """Module for building FQL queries based on SQL query structures."""
from .delete import translate_delete
from .insert import translate_insert
from .select import translate_select
from .common import update_documents, index_name, convert_to_ref_set, IndexType
| 37.285714 | 79 | 0.831418 | 37 | 261 | 5.648649 | 0.702703 | 0.215311 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114943 | 261 | 6 | 80 | 43.5 | 0.904762 | 0.237548 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8382d787fa36147f7475a831c267e3ae57e0e8f3 | 26,442 | py | Python | firestore/tests/unit/gapic/v1beta1/test_firestore_client_v1beta1.py | bomboradata/bombora-google-cloud-python | 255bbebe6c50490f40fcc3eed40bae1e77e03859 | [
"Apache-2.0"
] | null | null | null | firestore/tests/unit/gapic/v1beta1/test_firestore_client_v1beta1.py | bomboradata/bombora-google-cloud-python | 255bbebe6c50490f40fcc3eed40bae1e77e03859 | [
"Apache-2.0"
] | null | null | null | firestore/tests/unit/gapic/v1beta1/test_firestore_client_v1beta1.py | bomboradata/bombora-google-cloud-python | 255bbebe6c50490f40fcc3eed40bae1e77e03859 | [
"Apache-2.0"
] | null | null | null | # Copyright 2017, Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or ... | 36.930168 | 79 | 0.661448 | 2,834 | 26,442 | 5.918843 | 0.071983 | 0.048647 | 0.043401 | 0.04185 | 0.8354 | 0.810481 | 0.780494 | 0.726899 | 0.663229 | 0.635925 | 0 | 0.011497 | 0.24011 | 26,442 | 715 | 80 | 36.981818 | 0.823322 | 0.068187 | 0 | 0.640257 | 0 | 0 | 0.095254 | 0.050356 | 0 | 0 | 0 | 0 | 0.207709 | 1 | 0.055675 | false | 0.002141 | 0.017131 | 0 | 0.077088 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
83c54bc9eaa4a1861dd3fa4ea4a880beb29a904e | 630 | py | Python | mock_ahrs.py | NAzT/ahrs-visualizer | 98d69592af60cc98323680a2e8c442e7bffd123e | [
"MIT"
] | 39 | 2015-01-25T02:12:07.000Z | 2021-09-12T12:56:26.000Z | mock_ahrs.py | NAzT/ahrs-visualizer | 98d69592af60cc98323680a2e8c442e7bffd123e | [
"MIT"
] | 8 | 2015-05-21T08:27:25.000Z | 2020-03-21T17:07:42.000Z | mock_ahrs.py | NAzT/ahrs-visualizer | 98d69592af60cc98323680a2e8c442e7bffd123e | [
"MIT"
] | 10 | 2015-03-22T23:55:12.000Z | 2021-03-16T11:08:33.000Z | #!/usr/bin/env python2
import time
import sys
def out(*args):
print "%.6f %.6f %.6f %.6f %.6f %.6f %.6f %.6f %.6f %.6f %.6f %.6f %.6f %.6f %.6f" % args
sys.stdout.flush()
# Origin
while True:
out(0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, -1, 1, 1)
time.sleep(1)
out(0, 0, -1, 1, 0, 0, 0, -1, 0, 1, 1, 1, ... | 27.391304 | 93 | 0.5 | 140 | 630 | 2.25 | 0.35 | 0.177778 | 0.247619 | 0.304762 | 0.330159 | 0.285714 | 0.285714 | 0.285714 | 0.285714 | 0.285714 | 0 | 0.348361 | 0.225397 | 630 | 22 | 94 | 28.636364 | 0.297131 | 0.044444 | 0 | 0.25 | 0 | 0.0625 | 0.126878 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.125 | null | null | 0.0625 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
83e0267cb0bec96a31b11a4704d2ad653baf866d | 330 | py | Python | setup.py | Lawliet19189/Dirichlet | 08a72efc39b88d74d0790552f03332979cd6ca61 | [
"MIT"
] | null | null | null | setup.py | Lawliet19189/Dirichlet | 08a72efc39b88d74d0790552f03332979cd6ca61 | [
"MIT"
] | null | null | null | setup.py | Lawliet19189/Dirichlet | 08a72efc39b88d74d0790552f03332979cd6ca61 | [
"MIT"
] | null | null | null | # For Dataset Download
import torchaudio
import torch
def download_dataset()
data_samples = torchaudio.datasets.LIBRISPEECH("Datasets/LibriSpeech", url="train-clean-100", download=True)
dev_samples = torchaudio.datasets.LIBRISPEECH("Datasets/LibriSpeech", url="dev-clean", download=True)
assert len(data_sam... | 30 | 112 | 0.775758 | 40 | 330 | 6.3 | 0.5 | 0.301587 | 0.198413 | 0.285714 | 0.460317 | 0.460317 | 0.460317 | 0 | 0 | 0 | 0 | 0.013652 | 0.112121 | 330 | 10 | 113 | 33 | 0.846416 | 0.060606 | 0 | 0 | 0 | 0 | 0.20915 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | null | null | 0 | 0.333333 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f7ac58209ea3ac573a3aecf1c00a0065f24d2583 | 122 | py | Python | cvxpy/reductions/dgp2dcp/atom_canonicalizers/power_canon.py | lumbric/cvxpy | 77ee02aadba1bdcf995117ea98224054dba6406e | [
"ECL-2.0",
"Apache-2.0"
] | 3,285 | 2015-01-03T04:02:29.000Z | 2021-04-19T14:51:29.000Z | cvxpy/reductions/dgp2dcp/atom_canonicalizers/power_canon.py | h-vetinari/cvxpy | 86307f271819bb78fcdf64a9c3a424773e8269fa | [
"ECL-2.0",
"Apache-2.0"
] | 1,138 | 2015-01-01T19:40:14.000Z | 2021-04-18T23:37:31.000Z | cvxpy/reductions/dgp2dcp/atom_canonicalizers/power_canon.py | h-vetinari/cvxpy | 86307f271819bb78fcdf64a9c3a424773e8269fa | [
"ECL-2.0",
"Apache-2.0"
] | 765 | 2015-01-02T19:29:39.000Z | 2021-04-20T00:50:43.000Z | def power_canon(expr, args):
# u = log x; x^p --> exp(u^p) --> log(exp(u^p)) = p * u
return expr.p * args[0], []
| 30.5 | 60 | 0.491803 | 24 | 122 | 2.458333 | 0.5 | 0.135593 | 0.169492 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.254098 | 122 | 3 | 61 | 40.666667 | 0.637363 | 0.442623 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
f7c1a9a48fbd29d1dce14cb6d7a9d838bab9f312 | 202 | py | Python | foe_pool.py | QwerTech/foe-automation | 9978cd365097a2c9ebec9039642c4e5f6c361018 | [
"MIT"
] | null | null | null | foe_pool.py | QwerTech/foe-automation | 9978cd365097a2c9ebec9039642c4e5f6c361018 | [
"MIT"
] | 3 | 2021-09-08T02:13:20.000Z | 2022-03-12T00:36:40.000Z | foe_pool.py | QwerTech/foe-automation | 9978cd365097a2c9ebec9039642c4e5f6c361018 | [
"MIT"
] | null | null | null | import multiprocessing
pool = None
def initPool():
global pool
pool = multiprocessing.Pool(int(multiprocessing.cpu_count()))
def execInPool(func, params):
return pool.map(func, params)
| 15.538462 | 65 | 0.722772 | 24 | 202 | 6.041667 | 0.625 | 0.262069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173267 | 202 | 12 | 66 | 16.833333 | 0.868263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
f7ea7fe9f9912328c0fc442f2071a09cf4c299dc | 182 | py | Python | doc/training/test_02.py | sriiora/tcf | e607ce04f97dbb4910d94428c0600a6a7145a825 | [
"Apache-2.0"
] | 24 | 2018-08-21T18:04:48.000Z | 2022-02-07T22:50:06.000Z | doc/training/test_02.py | sriiora/tcf | e607ce04f97dbb4910d94428c0600a6a7145a825 | [
"Apache-2.0"
] | 16 | 2018-08-21T18:03:52.000Z | 2022-03-01T17:15:42.000Z | doc/training/test_02.py | sriiora/tcf | e607ce04f97dbb4910d94428c0600a6a7145a825 | [
"Apache-2.0"
] | 29 | 2018-08-22T19:40:59.000Z | 2021-12-21T11:13:23.000Z | #! /usr/bin/python3
import tcfl.tc
class _test(tcfl.tc.tc_c):
def eval_00(self):
self.report_info("Hello 1")
def eval_01(self):
self.report_info("Hello 2")
| 18.2 | 35 | 0.631868 | 30 | 182 | 3.633333 | 0.633333 | 0.110092 | 0.256881 | 0.330275 | 0.422018 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049296 | 0.21978 | 182 | 9 | 36 | 20.222222 | 0.71831 | 0.098901 | 0 | 0 | 0 | 0 | 0.08589 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
f7f3244612927f459a9a92bc9aa249e3a62575cf | 10,932 | py | Python | Algorithm.Python/stubs/QuantConnect/Data/__Fundamental_59.py | gaoxiaojun/Lean | 9dca43bccb720d0df91e4bfc1d363b71e3a36cb5 | [
"Apache-2.0"
] | 2 | 2020-12-08T11:27:20.000Z | 2021-04-06T13:21:15.000Z | Algorithm.Python/stubs/QuantConnect/Data/__Fundamental_59.py | gaoxiaojun/Lean | 9dca43bccb720d0df91e4bfc1d363b71e3a36cb5 | [
"Apache-2.0"
] | null | null | null | Algorithm.Python/stubs/QuantConnect/Data/__Fundamental_59.py | gaoxiaojun/Lean | 9dca43bccb720d0df91e4bfc1d363b71e3a36cb5 | [
"Apache-2.0"
] | 1 | 2020-12-08T11:27:21.000Z | 2020-12-08T11:27:21.000Z | from .__Fundamental_60 import *
import typing
import System.IO
import System.Collections.Generic
import System
import QuantConnect.Data.Fundamental.MultiPeriodField
import QuantConnect.Data.Fundamental
import QuantConnect.Data
import QuantConnect
import datetime
class RentExpenseSupplementalIncomeStatement(QuantConne... | 31.323782 | 173 | 0.737559 | 1,056 | 10,932 | 7.587121 | 0.171402 | 0.077883 | 0.128058 | 0.134174 | 0.664254 | 0.632551 | 0.610584 | 0.610584 | 0.610584 | 0.610584 | 0 | 0.000226 | 0.189261 | 10,932 | 348 | 174 | 31.413793 | 0.903757 | 0.282108 | 0 | 0.790123 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0.222222 | 0.061728 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
f7f46e2b3c6e42b33eb61ceb086623c097b17c00 | 21,617 | py | Python | pvpn/crypto.py | qwj/python-vpn | b09e4ab180e3cb4c6b480e9693e8f19854c7b6ec | [
"MIT"
] | 125 | 2018-12-25T12:18:55.000Z | 2022-03-26T17:56:31.000Z | pvpn/crypto.py | Open-ATS-Github/python-vpn | b09e4ab180e3cb4c6b480e9693e8f19854c7b6ec | [
"MIT"
] | 6 | 2019-01-08T09:12:28.000Z | 2022-01-11T15:39:24.000Z | pvpn/crypto.py | Open-ATS-Github/python-vpn | b09e4ab180e3cb4c6b480e9693e8f19854c7b6ec | [
"MIT"
] | 36 | 2018-12-29T15:40:12.000Z | 2022-03-25T21:37:04.000Z | import hashlib, os, random, hmac
from Crypto.Cipher import AES, ChaCha20_Poly1305
from . import enums
class Prf:
DIGESTS_1 = {
enums.HashId_1.MD5: (hashlib.md5, 16),
enums.HashId_1.SHA: (hashlib.sha1, 20),
enums.HashId_1.SHA2_256: (hashlib.sha256, 32),
enums.HashId_1.SHA2_384: (hash... | 96.075556 | 2,084 | 0.825554 | 1,581 | 21,617 | 11.117647 | 0.151803 | 0.013654 | 0.013768 | 0.015133 | 0.178358 | 0.155032 | 0.123115 | 0.119702 | 0.117597 | 0.108608 | 0 | 0.393716 | 0.101864 | 21,617 | 224 | 2,085 | 96.504464 | 0.511615 | 0.003562 | 0 | 0.202899 | 0 | 0 | 0.006826 | 0 | 0 | 1 | 0.558321 | 0 | 0.009662 | 1 | 0.135266 | false | 0 | 0.014493 | 0.033816 | 0.304348 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
790148dd4299989881099779cd6bebf759687808 | 133 | py | Python | basics/math.py | augustoscher/python-excercises | 502fb3c15597033ba19e32f871be12d347a9aa2a | [
"MIT"
] | null | null | null | basics/math.py | augustoscher/python-excercises | 502fb3c15597033ba19e32f871be12d347a9aa2a | [
"MIT"
] | null | null | null | basics/math.py | augustoscher/python-excercises | 502fb3c15597033ba19e32f871be12d347a9aa2a | [
"MIT"
] | null | null | null | print()
print("--- Math ---")
print(1+1)
print(1*3)
print(1/2)
print(3**2)
print(4%2)
print(4%2 == 0)
print(type(1))
print(type(1.0)) | 13.3 | 21 | 0.586466 | 29 | 133 | 2.689655 | 0.275862 | 0.230769 | 0.179487 | 0.205128 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0.097744 | 133 | 10 | 22 | 13.3 | 0.516667 | 0 | 0 | 0 | 0 | 0 | 0.089552 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
792c6117ab0836c1f92f4b975a15d00d72d0ed4a | 243 | py | Python | launcher/drkcraft_launcher/installer.py | D3r3k23/DrkCraft | 5eaae66f558ce84f18de702b4227ca8d2cfe534f | [
"MIT"
] | 1 | 2022-02-10T04:41:57.000Z | 2022-02-10T04:41:57.000Z | launcher/drkcraft_launcher/installer.py | D3r3k23/DrkCraft | 5eaae66f558ce84f18de702b4227ca8d2cfe534f | [
"MIT"
] | null | null | null | launcher/drkcraft_launcher/installer.py | D3r3k23/DrkCraft | 5eaae66f558ce84f18de702b4227ca8d2cfe534f | [
"MIT"
] | null | null | null | from typing import *
import os.path
from . import *
def run():
...
def get_window_size() -> tuple[int, int]:
return ( 600, 480 )
def get_base_installation_dir() -> str:
return os.path.join(os.path.expanduser('~'), '.drkcraft')
| 17.357143 | 61 | 0.641975 | 34 | 243 | 4.441176 | 0.647059 | 0.119205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030457 | 0.1893 | 243 | 13 | 62 | 18.692308 | 0.736041 | 0 | 0 | 0 | 0 | 0 | 0.041152 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0 | 0.333333 | 0.222222 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
f70c9e3b50c4675c04919b64426f03ccededdeba | 118 | py | Python | zdevelop/tests/test_example.py | illuscio-dev/islelib-py | 6f4dd27233a7c38f112954673bb683c6790956fd | [
"MIT"
] | 1 | 2020-04-16T00:58:39.000Z | 2020-04-16T00:58:39.000Z | zdevelop/tests/test_example.py | illuscio-dev/islelib-py | 6f4dd27233a7c38f112954673bb683c6790956fd | [
"MIT"
] | null | null | null | zdevelop/tests/test_example.py | illuscio-dev/islelib-py | 6f4dd27233a7c38f112954673bb683c6790956fd | [
"MIT"
] | 1 | 2021-04-28T22:25:21.000Z | 2021-04-28T22:25:21.000Z | from islelib import __version__
def test_example(example_fixture: int) -> None:
assert __version__ is not False
| 19.666667 | 47 | 0.779661 | 16 | 118 | 5.125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169492 | 118 | 5 | 48 | 23.6 | 0.836735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f756e5b7f5b1a9393484397ceb2e9e27d7532533 | 129 | py | Python | python-sdk/nuscenes/prediction/tests/test_mtp_loss.py | tanjiangyuan/Classification_nuScence | b94c4b0b6257fc1c048a676e3fd9e71183108d53 | [
"Apache-2.0"
] | null | null | null | python-sdk/nuscenes/prediction/tests/test_mtp_loss.py | tanjiangyuan/Classification_nuScence | b94c4b0b6257fc1c048a676e3fd9e71183108d53 | [
"Apache-2.0"
] | null | null | null | python-sdk/nuscenes/prediction/tests/test_mtp_loss.py | tanjiangyuan/Classification_nuScence | b94c4b0b6257fc1c048a676e3fd9e71183108d53 | [
"Apache-2.0"
] | null | null | null | version https://git-lfs.github.com/spec/v1
oid sha256:3348198148bbe54d8b7ff5d3e8ed868e45a258d2922323ff5915ff307ab28bf0
size 7907
| 32.25 | 75 | 0.883721 | 13 | 129 | 8.769231 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.406504 | 0.046512 | 129 | 3 | 76 | 43 | 0.520325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f77065a3c82b76ba704d7535d3bf1066d1716c36 | 58 | py | Python | ts/model_service/__init__.py | vvekic/serve | f02a56bf1f0de1705fd9f399c1115d36e343c90c | [
"Apache-2.0"
] | 2 | 2022-03-26T05:17:45.000Z | 2022-03-26T05:44:53.000Z | ts/model_service/__init__.py | vvekic/serve | f02a56bf1f0de1705fd9f399c1115d36e343c90c | [
"Apache-2.0"
] | 3 | 2022-03-12T01:08:09.000Z | 2022-03-15T10:56:14.000Z | ts/model_service/__init__.py | vvekic/serve | f02a56bf1f0de1705fd9f399c1115d36e343c90c | [
"Apache-2.0"
] | 4 | 2020-04-23T17:55:41.000Z | 2020-04-27T17:06:33.000Z |
"""
Model services code
"""
from . import model_service
| 8.285714 | 27 | 0.689655 | 7 | 58 | 5.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.189655 | 58 | 6 | 28 | 9.666667 | 0.829787 | 0.327586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
f78ae60441cd1bf47214da397a97921946a3dbbd | 351 | py | Python | mailbot/tests/__init__.py | alseageo/mailbot | 642200dce8b34cfcce6276d76952b9454155f8b3 | [
"BSD-3-Clause"
] | 13 | 2015-07-15T19:28:09.000Z | 2021-11-04T23:50:13.000Z | mailbot/tests/__init__.py | alseageo/mailbot | 642200dce8b34cfcce6276d76952b9454155f8b3 | [
"BSD-3-Clause"
] | 7 | 2015-04-26T07:11:29.000Z | 2019-11-19T12:54:12.000Z | mailbot/tests/__init__.py | alseageo/mailbot | 642200dce8b34cfcce6276d76952b9454155f8b3 | [
"BSD-3-Clause"
] | 12 | 2015-04-25T17:48:57.000Z | 2021-07-11T14:28:34.000Z | # -*- coding: utf-8 -*-
from unittest2 import TestCase
from .. import CALLBACKS_MAP
class MailBotTestCase(TestCase):
"""TestCase that restores the CALLBACKS_MAP after each test run."""
def setUp(self):
self.callbacks_map_save = CALLBACKS_MAP.copy()
def tearDown(self):
CALLBACKS_MAP = s... | 21.9375 | 71 | 0.698006 | 44 | 351 | 5.386364 | 0.568182 | 0.303797 | 0.202532 | 0.168776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007143 | 0.202279 | 351 | 15 | 72 | 23.4 | 0.839286 | 0.253561 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0 | 0.714286 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
e3ba619f35b89a226ec0d4771dbbf96d3265ed33 | 109 | py | Python | src/test/ocr_test.py | WaterHyacinthInNANHU/ArkOS | 1919b7a2f22bc407d0a5503a9c1db8e30bbbc092 | [
"MIT"
] | null | null | null | src/test/ocr_test.py | WaterHyacinthInNANHU/ArkOS | 1919b7a2f22bc407d0a5503a9c1db8e30bbbc092 | [
"MIT"
] | null | null | null | src/test/ocr_test.py | WaterHyacinthInNANHU/ArkOS | 1919b7a2f22bc407d0a5503a9c1db8e30bbbc092 | [
"MIT"
] | null | null | null | from arknights.player import Player
player = Player()
player.connect_device()
res = player.stage_ocr()
pass
| 15.571429 | 35 | 0.779817 | 15 | 109 | 5.533333 | 0.666667 | 0.433735 | 0.433735 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119266 | 109 | 6 | 36 | 18.166667 | 0.864583 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.2 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
e3c7872df24ce5d54bd6f1a67b76f54b19d05659 | 158 | py | Python | src/src/globaloptim/__init__.py | ychnlgy/LipoWithGradients | 4fe5228a3dae8bf5d457eef6191ba29314421f6b | [
"MIT"
] | null | null | null | src/src/globaloptim/__init__.py | ychnlgy/LipoWithGradients | 4fe5228a3dae8bf5d457eef6191ba29314421f6b | [
"MIT"
] | null | null | null | src/src/globaloptim/__init__.py | ychnlgy/LipoWithGradients | 4fe5228a3dae8bf5d457eef6191ba29314421f6b | [
"MIT"
] | null | null | null | from .Lipo import Lipo
from .AdaptiveDataTable import AdaptiveDataTable
from .GlobalOptim import GlobalOptim
from .NeuralGlobalOptim import NeuralGlobalOptim
| 31.6 | 48 | 0.873418 | 16 | 158 | 8.625 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101266 | 158 | 4 | 49 | 39.5 | 0.971831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e3e1e421a9bfd409df81eff1a34f88e6c7c10f0b | 8,668 | py | Python | CUR_D.py | xadityax/Recommender-Systems-MovieLens1M | 80298dc74d5458c325f946dd1d5e4f05760c39f8 | [
"MIT"
] | 1 | 2020-11-23T05:23:09.000Z | 2020-11-23T05:23:09.000Z | CUR_D.py | xadityax/Recommender-Systems-MovieLens1M | 80298dc74d5458c325f946dd1d5e4f05760c39f8 | [
"MIT"
] | null | null | null | CUR_D.py | xadityax/Recommender-Systems-MovieLens1M | 80298dc74d5458c325f946dd1d5e4f05760c39f8 | [
"MIT"
] | 1 | 2021-05-04T03:06:08.000Z | 2021-05-04T03:06:08.000Z | # -*- coding: utf-8 -*-
"""
Created on sat Nov 21 18:09:37 2020
@author: Jalaj
"""
import numpy as np
from math import sqrt
from SV_D import building_matrix_svd_for
from SV_D import energy_90_top
from Stats import for_getting_metrics
import timeit
from sklearn.metrics import mean_squared_error
def C... | 33.596899 | 129 | 0.631518 | 1,405 | 8,668 | 3.642705 | 0.121708 | 0.037515 | 0.056272 | 0.079719 | 0.776866 | 0.751465 | 0.714342 | 0.714342 | 0.701837 | 0.684642 | 0 | 0.031777 | 0.241232 | 8,668 | 257 | 130 | 33.727626 | 0.746389 | 0.170282 | 0 | 0.596685 | 0 | 0 | 0.055572 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.027624 | false | 0 | 0.038674 | 0 | 0.077348 | 0.077348 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e3e3e47cfcfcccb5d74b4d16ddd929ae31cbb62f | 213 | py | Python | tests/neural_net/__init__.py | X-rayLaser/DeepNetLib | abe64d2c0d87082aae1b2063a06a4b778ea285bd | [
"MIT",
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | tests/neural_net/__init__.py | X-rayLaser/DeepNetLib | abe64d2c0d87082aae1b2063a06a4b778ea285bd | [
"MIT",
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | tests/neural_net/__init__.py | X-rayLaser/DeepNetLib | abe64d2c0d87082aae1b2063a06a4b778ea285bd | [
"MIT",
"BSD-2-Clause",
"Apache-2.0"
] | null | null | null | from .init_tests import *
from .feed_tests import *
from .layer_sizes_tests import *
from .create_from_file_tests import *
from .save_tests import *
from .add_layer_tests import *
from .net_factory_tests import *
| 26.625 | 37 | 0.802817 | 33 | 213 | 4.818182 | 0.393939 | 0.484277 | 0.566038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131455 | 213 | 7 | 38 | 30.428571 | 0.859459 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5415e92698f3131feac1feb736325bbfc4de2d50 | 97 | py | Python | duty/callback_signals/ping.py | MirEEtoN/IrCA-Duty | d06993071fa30d7da61c5429e9a92a3a60922d28 | [
"MIT"
] | null | null | null | duty/callback_signals/ping.py | MirEEtoN/IrCA-Duty | d06993071fa30d7da61c5429e9a92a3a60922d28 | [
"MIT"
] | null | null | null | duty/callback_signals/ping.py | MirEEtoN/IrCA-Duty | d06993071fa30d7da61c5429e9a92a3a60922d28 | [
"MIT"
] | null | null | null | from duty.objects import dp
@dp.event_register('ping')
def ping(event) -> str:
return "ok"
| 13.857143 | 27 | 0.680412 | 15 | 97 | 4.333333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175258 | 97 | 6 | 28 | 16.166667 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0.061856 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
54167ebb8383c51524b281d417d695a64acc7b0c | 5,560 | py | Python | pymnn/pip_package/MNN/tools/mnn_fb/IDSTQuan.py | xhuan28/MNN | 81df3a48d79cbc0b75251d12934345948866f7be | [
"Apache-2.0"
] | 3 | 2019-12-27T01:10:32.000Z | 2021-05-14T08:10:40.000Z | pymnn/pip_package/MNN/tools/mnn_fb/IDSTQuan.py | xhuan28/MNN | 81df3a48d79cbc0b75251d12934345948866f7be | [
"Apache-2.0"
] | 10 | 2019-07-04T01:40:13.000Z | 2019-10-30T02:38:42.000Z | pymnn/pip_package/MNN/tools/mnn_fb/IDSTQuan.py | xhuan28/MNN | 81df3a48d79cbc0b75251d12934345948866f7be | [
"Apache-2.0"
] | 1 | 2020-03-10T02:17:47.000Z | 2020-03-10T02:17:47.000Z | # automatically generated by the FlatBuffers compiler, do not modify
# namespace: MNN
import flatbuffers
class IDSTQuan(object):
__slots__ = ['_tab']
@classmethod
def GetRootAsIDSTQuan(cls, buf, offset):
n = flatbuffers.encode.Get(flatbuffers.packer.uoffset, buf, offset)
x = IDSTQuan()
... | 38.881119 | 137 | 0.680396 | 688 | 5,560 | 5.356105 | 0.15843 | 0.079783 | 0.191045 | 0.180461 | 0.609227 | 0.574491 | 0.552239 | 0.552239 | 0.525645 | 0.525645 | 0 | 0.029633 | 0.210971 | 5,560 | 142 | 138 | 39.15493 | 0.810349 | 0.040468 | 0 | 0.475728 | 1 | 0 | 0.000752 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.31068 | false | 0 | 0.009709 | 0.029126 | 0.640777 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
580c961256ef6e760c883aba29553ed149773328 | 572 | py | Python | stackoversight/pipeline/tokenizer.py | walker76/stackoversight | c33e1b98910d054da0f9698bc086d7736c2c5656 | [
"BSD-2-Clause"
] | 3 | 2019-07-15T14:59:09.000Z | 2019-07-25T04:02:56.000Z | stackoversight/pipeline/tokenizer.py | walker76-research/stackoversight | c33e1b98910d054da0f9698bc086d7736c2c5656 | [
"BSD-2-Clause"
] | 27 | 2019-07-16T07:57:27.000Z | 2019-09-10T12:40:55.000Z | stackoversight/pipeline/tokenizer.py | walker76-research/stackoversight | c33e1b98910d054da0f9698bc086d7736c2c5656 | [
"BSD-2-Clause"
] | 2 | 2019-07-21T17:45:11.000Z | 2019-08-07T11:13:36.000Z | from io import StringIO
from tokenize import generate_tokens
from pipeline.processing_step import ProcessingStep
class Tokenizer(ProcessingStep):
"""
Input for Pipeline - An array of strings, each string is a code snippet
Output for Pipeline - An array of arrays of tokens
"""
def operation(self, ... | 27.238095 | 91 | 0.681818 | 73 | 572 | 5.30137 | 0.575342 | 0.072351 | 0.067183 | 0.093023 | 0.103359 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004619 | 0.243007 | 572 | 20 | 92 | 28.6 | 0.889146 | 0.316434 | 0 | 0 | 1 | 0 | 0.025862 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0.111111 | 0.888889 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
580ff7adf98ed584840e6a089c9001370965d0e0 | 69 | py | Python | thoughtrnn/__init__.py | tehZevo/thoughtrnn | f59e16b1f59f386cb645579173c567500f10fc37 | [
"MIT"
] | 2 | 2019-10-22T15:29:57.000Z | 2019-10-31T02:48:09.000Z | thoughtrnn/__init__.py | tehZevo/thoughtrnn | f59e16b1f59f386cb645579173c567500f10fc37 | [
"MIT"
] | null | null | null | thoughtrnn/__init__.py | tehZevo/thoughtrnn | f59e16b1f59f386cb645579173c567500f10fc37 | [
"MIT"
] | null | null | null | from .thoughtrnn import ThoughtRNN
from .helper import ThoughtHelper
| 23 | 34 | 0.855072 | 8 | 69 | 7.375 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115942 | 69 | 2 | 35 | 34.5 | 0.967213 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
58141645d916e48b973a40f720590e89b2672280 | 16,448 | py | Python | Tools/resultsdbpy/resultsdbpy/model/commit_context_unittest.py | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 6 | 2021-07-05T16:09:39.000Z | 2022-03-06T22:44:42.000Z | Tools/resultsdbpy/resultsdbpy/model/commit_context_unittest.py | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | 7 | 2022-03-15T13:25:39.000Z | 2022-03-15T13:25:44.000Z | Tools/resultsdbpy/resultsdbpy/model/commit_context_unittest.py | jacadcaps/webkitty | 9aebd2081349f9a7b5d168673c6f676a1450a66d | [
"BSD-2-Clause"
] | null | null | null | # Copyright (C) 2019 Apple Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the f... | 58.120141 | 159 | 0.738266 | 1,886 | 16,448 | 6.172322 | 0.113468 | 0.037883 | 0.046302 | 0.05472 | 0.790911 | 0.762649 | 0.750193 | 0.739627 | 0.705008 | 0.670303 | 0 | 0.046003 | 0.158135 | 16,448 | 282 | 160 | 58.326241 | 0.794685 | 0.078064 | 0 | 0.455357 | 0 | 0.004464 | 0.084137 | 0.020341 | 0 | 0 | 0 | 0 | 0.160714 | 1 | 0.09375 | false | 0 | 0.03125 | 0 | 0.133929 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
586d3da93d189fd94120f0a3a2d50c1835b522f8 | 26,599 | py | Python | spherical/spherical_Jfactors.py | jls713/jfactors | 2427f4bad052b37fb7eefffaa4ee46d398f33504 | [
"MIT"
] | null | null | null | spherical/spherical_Jfactors.py | jls713/jfactors | 2427f4bad052b37fb7eefffaa4ee46d398f33504 | [
"MIT"
] | null | null | null | spherical/spherical_Jfactors.py | jls713/jfactors | 2427f4bad052b37fb7eefffaa4ee46d398f33504 | [
"MIT"
] | null | null | null | import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
import pandas as pd
from scipy.special import gamma as Gamma
from scipy.integrate import quad
G = 4.300918e-6 ## in units solar mass, km/s kpc
GEV2cm5toMsol2kpc5 = 2.2482330e-07
GEVcm2toMsolkpc2 = 8.5358230e-15
def integrate_J_spherical_alphabe... | 47.329181 | 240 | 0.618106 | 4,925 | 26,599 | 3.226802 | 0.073503 | 0.028694 | 0.019129 | 0.028694 | 0.795432 | 0.778945 | 0.754468 | 0.744274 | 0.729927 | 0.725271 | 0 | 0.056419 | 0.133727 | 26,599 | 561 | 241 | 47.413547 | 0.633278 | 0.561562 | 0 | 0.647059 | 0 | 0 | 0.010496 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.117647 | false | 0 | 0.02521 | 0.02521 | 0.289916 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
58877904bfdf9fc9566d69c4af636854fdeeb4e5 | 56,760 | py | Python | src/azure-cli/azure/cli/command_modules/rdbms/tests/latest/test_rdbms_flexible_commands.py | major/azure-cli | 13c46f6e1d94a2eddf31539a0bbf1d5f2f28f63a | [
"MIT"
] | 2 | 2021-06-21T14:15:32.000Z | 2021-06-21T14:15:38.000Z | src/azure-cli/azure/cli/command_modules/rdbms/tests/latest/test_rdbms_flexible_commands.py | major/azure-cli | 13c46f6e1d94a2eddf31539a0bbf1d5f2f28f63a | [
"MIT"
] | 2 | 2017-02-11T21:16:40.000Z | 2017-02-11T21:30:54.000Z | src/azure-cli/azure/cli/command_modules/rdbms/tests/latest/test_rdbms_flexible_commands.py | major/azure-cli | 13c46f6e1d94a2eddf31539a0bbf1d5f2f28f63a | [
"MIT"
] | 2 | 2020-07-16T09:56:27.000Z | 2021-07-09T00:52:51.000Z | # --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------... | 55.16035 | 252 | 0.634056 | 6,087 | 56,760 | 5.675374 | 0.071135 | 0.089967 | 0.10444 | 0.128177 | 0.828084 | 0.78559 | 0.750825 | 0.719562 | 0.682887 | 0.649077 | 0 | 0.011828 | 0.241825 | 56,760 | 1,028 | 253 | 55.214008 | 0.790933 | 0.074207 | 0 | 0.5 | 0 | 0.049716 | 0.256899 | 0.035733 | 0 | 0 | 0 | 0 | 0.022727 | 1 | 0.082386 | false | 0.00142 | 0.022727 | 0.00142 | 0.12642 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5434a6767fdadeec33a6d0867db561c1a660c360 | 409 | py | Python | lightly/api/routes/users/datasets/tags/__init__.py | laurenmoos/lightly | 2e9ae8bbf433b09c89d666eee0358935d7f9eb9d | [
"MIT"
] | null | null | null | lightly/api/routes/users/datasets/tags/__init__.py | laurenmoos/lightly | 2e9ae8bbf433b09c89d666eee0358935d7f9eb9d | [
"MIT"
] | null | null | null | lightly/api/routes/users/datasets/tags/__init__.py | laurenmoos/lightly | 2e9ae8bbf433b09c89d666eee0358935d7f9eb9d | [
"MIT"
] | null | null | null | """ Tags Routes """
# Copyright (c) 2020. Lightly AG and its affiliates.
# All Rights Reserved
# provided functions
from lightly.api.routes.users.datasets.tags.service import post # noqa: F401, E402, E501
from lightly.api.routes.users.datasets.tags.service import get # noqa: F401, E402, E501
from lig... | 40.9 | 96 | 0.731051 | 58 | 409 | 5.137931 | 0.482759 | 0.110738 | 0.14094 | 0.201342 | 0.630872 | 0.630872 | 0.630872 | 0.630872 | 0.630872 | 0.463087 | 0 | 0.090643 | 0.163814 | 409 | 9 | 97 | 45.444444 | 0.780702 | 0.420538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
54b5c24fdcb3e68cc3136baef3e6beada3a9cff5 | 38 | py | Python | tests/__init__.py | jorgenwh/bionumpy | 18c1adbc38be403ceb5d79e411f1562c6afe21c9 | [
"MIT"
] | null | null | null | tests/__init__.py | jorgenwh/bionumpy | 18c1adbc38be403ceb5d79e411f1562c6afe21c9 | [
"MIT"
] | null | null | null | tests/__init__.py | jorgenwh/bionumpy | 18c1adbc38be403ceb5d79e411f1562c6afe21c9 | [
"MIT"
] | 1 | 2022-03-07T21:58:03.000Z | 2022-03-07T21:58:03.000Z | """Unit test package for bionumpy."""
| 19 | 37 | 0.684211 | 5 | 38 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.787879 | 0.815789 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
54bdb11c7698e84f31b185964ce24c59ae797ca7 | 193 | py | Python | Morphology/max_tree.py | Joevaen/Scikit-image_On_CT | e3bf0eeadc50691041b4b7c44a19d07546a85001 | [
"Apache-2.0"
] | null | null | null | Morphology/max_tree.py | Joevaen/Scikit-image_On_CT | e3bf0eeadc50691041b4b7c44a19d07546a85001 | [
"Apache-2.0"
] | null | null | null | Morphology/max_tree.py | Joevaen/Scikit-image_On_CT | e3bf0eeadc50691041b4b7c44a19d07546a85001 | [
"Apache-2.0"
] | null | null | null | # 从图像构建最大树。
#
# 组件树表示连接的组件的层次结构,这些组件是由应用于图像的顺序阈值操作产生的。 如果更高级别的组件包含在第一层中,则该级别上的已连接组件是该更高级别组件的父级。 最大树是组件树的有效表示。 一个级别上的连接组件由该级别上的一个参考像素表示,该像素是该级别上所有其他像素以及该级别上的参考像素的父级。 max-tree是许多形态运算符(即连通运算符)的基础。 | 64.333333 | 179 | 0.880829 | 12 | 193 | 14.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041451 | 193 | 3 | 179 | 64.333333 | 0.918919 | 0.968912 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
49ce684f5f3684e8cd6b498cb6e1ec858f4bd5ca | 197 | py | Python | website/ttkom/admin.py | CharlesRigal/projet_website | ba55e3b65d1ab587d9d896d76b6a54d4c3e0b4b6 | [
"MIT"
] | null | null | null | website/ttkom/admin.py | CharlesRigal/projet_website | ba55e3b65d1ab587d9d896d76b6a54d4c3e0b4b6 | [
"MIT"
] | null | null | null | website/ttkom/admin.py | CharlesRigal/projet_website | ba55e3b65d1ab587d9d896d76b6a54d4c3e0b4b6 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Post, User, Comment, Profile
# Register your models here.
admin.site.register(Post)
admin.site.register(Comment)
admin.site.register(Profile)
| 21.888889 | 48 | 0.796954 | 28 | 197 | 5.607143 | 0.5 | 0.171975 | 0.324841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106599 | 197 | 8 | 49 | 24.625 | 0.892045 | 0.13198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
49e979e4feee73f3942f051ccb85d354b78365aa | 69 | py | Python | emgen/core/__init__.py | etedor/emgen | 2b891431887f1d4b3f28ec64408e75ee7baa0d66 | [
"MIT"
] | null | null | null | emgen/core/__init__.py | etedor/emgen | 2b891431887f1d4b3f28ec64408e75ee7baa0d66 | [
"MIT"
] | null | null | null | emgen/core/__init__.py | etedor/emgen | 2b891431887f1d4b3f28ec64408e75ee7baa0d66 | [
"MIT"
] | null | null | null | # -*- coding:utf-8 -*-
from emgen.core.local_part import local_part
| 17.25 | 44 | 0.710145 | 11 | 69 | 4.272727 | 0.818182 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.130435 | 69 | 3 | 45 | 23 | 0.766667 | 0.289855 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
49f002d16a79c214190642452d3102345c93924c | 2,392 | py | Python | app/egresos/routes.py | abazbaz/project_1 | a0ac32b6aa86df3c920cd59718fe63b935a79dcc | [
"MIT"
] | null | null | null | app/egresos/routes.py | abazbaz/project_1 | a0ac32b6aa86df3c920cd59718fe63b935a79dcc | [
"MIT"
] | null | null | null | app/egresos/routes.py | abazbaz/project_1 | a0ac32b6aa86df3c920cd59718fe63b935a79dcc | [
"MIT"
] | null | null | null | from app.egresos import blueprint
from flask import render_template, request
from flask_login import login_required
from bcrypt import checkpw
from app import db, login_manager
@blueprint.route('/<template>')
@login_required
def route_template(template):
return render_template(template + '.html')
@blueprint.ro... | 43.490909 | 113 | 0.607441 | 247 | 2,392 | 5.578947 | 0.222672 | 0.087083 | 0.060958 | 0.100145 | 0.770682 | 0.735849 | 0.735849 | 0.735849 | 0.735849 | 0.735849 | 0 | 0.023986 | 0.267977 | 2,392 | 54 | 114 | 44.296296 | 0.762993 | 0 | 0 | 0.666667 | 0 | 0 | 0.279264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.066667 | false | 0 | 0.111111 | 0.022222 | 0.244444 | 0.133333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b70a3e47b8cf41082d976f96360a5ac68601ef87 | 305 | py | Python | src/api/routers/room/schemas.py | b1team/trada | 22ceaf4d50fe3a38ff402315c029e574773ca9e0 | [
"MIT"
] | null | null | null | src/api/routers/room/schemas.py | b1team/trada | 22ceaf4d50fe3a38ff402315c029e574773ca9e0 | [
"MIT"
] | 1 | 2021-03-12T15:16:03.000Z | 2021-03-12T15:16:03.000Z | src/api/routers/room/schemas.py | b1team/trada | 22ceaf4d50fe3a38ff402315c029e574773ca9e0 | [
"MIT"
] | null | null | null | from typing import Optional
from pydantic import BaseModel
class BasicSchemas(BaseModel):
room_id: Optional[str] = None
member_name: Optional[str] = None
class UpdateRoomSchemas(BaseModel):
room_id: Optional[str] = None
room_name: Optional[str] = None
avatar: Optional[str] = None | 21.785714 | 37 | 0.731148 | 38 | 305 | 5.763158 | 0.421053 | 0.251142 | 0.342466 | 0.210046 | 0.273973 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183607 | 305 | 14 | 38 | 21.785714 | 0.879518 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.222222 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
b724bc77fade7ac5eddeffc55b06570d1414a8c8 | 51 | py | Python | Beta/How many rectangles can you find.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 6 | 2020-09-03T09:32:25.000Z | 2020-12-07T04:10:01.000Z | Beta/How many rectangles can you find.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | 1 | 2021-12-13T15:30:21.000Z | 2021-12-13T15:30:21.000Z | Beta/How many rectangles can you find.py | mwk0408/codewars_solutions | 9b4f502b5f159e68024d494e19a96a226acad5e5 | [
"MIT"
] | null | null | null | def rectangle_number(n):
return (n*(n+1)//2)**2 | 25.5 | 26 | 0.607843 | 10 | 51 | 3 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 0.137255 | 51 | 2 | 26 | 25.5 | 0.613636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b73347f29fb932c9fe963917ac6e1bf22c2e3512 | 64 | py | Python | Applications/SlicerApp/Testing/Python/SlicerTestingExitSuccessTest.py | forfullstack/slicersources-src | 91bcecf037a27f3fad4c0ab57e8286fc258bb0f5 | [
"Apache-2.0"
] | null | null | null | Applications/SlicerApp/Testing/Python/SlicerTestingExitSuccessTest.py | forfullstack/slicersources-src | 91bcecf037a27f3fad4c0ab57e8286fc258bb0f5 | [
"Apache-2.0"
] | null | null | null | Applications/SlicerApp/Testing/Python/SlicerTestingExitSuccessTest.py | forfullstack/slicersources-src | 91bcecf037a27f3fad4c0ab57e8286fc258bb0f5 | [
"Apache-2.0"
] | null | null | null | from __future__ import print_function
print("Hello Slicer !")
| 12.8 | 37 | 0.78125 | 8 | 64 | 5.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140625 | 64 | 4 | 38 | 16 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
3f8bb166964310d4f3e5fbba042aadb7d03aab43 | 1,831 | py | Python | tests/test_models/test_inventory_item_image.py | stcstores/linnapi | 88cc1d73444f44b7d901dc1086790a300066ea6e | [
"MIT"
] | null | null | null | tests/test_models/test_inventory_item_image.py | stcstores/linnapi | 88cc1d73444f44b7d901dc1086790a300066ea6e | [
"MIT"
] | null | null | null | tests/test_models/test_inventory_item_image.py | stcstores/linnapi | 88cc1d73444f44b7d901dc1086790a300066ea6e | [
"MIT"
] | null | null | null | import pytest
from linnapi import models
@pytest.fixture
def add_image_to_inventory_item_response():
return {
"StockItemId": "972af264-d768-4c6c-9152-0ad9d9d5b352",
"ImageId": "eea21827-491d-4022-996a-d068dd6b25ea",
"ImageUrl": "https://image.jpg",
"ImageThumbnailUrl": "https://im... | 29.063492 | 86 | 0.78864 | 233 | 1,831 | 5.55794 | 0.184549 | 0.29112 | 0.222394 | 0.190734 | 0.745174 | 0.745174 | 0.72278 | 0.533591 | 0.533591 | 0.533591 | 0 | 0.027564 | 0.148007 | 1,831 | 62 | 87 | 29.532258 | 0.802564 | 0 | 0 | 0.361702 | 0 | 0 | 0.110322 | 0.039323 | 0 | 0 | 0 | 0 | 0.106383 | 1 | 0.148936 | false | 0 | 0.042553 | 0.042553 | 0.234043 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3f9f124d21f37be7bf1ec8abb39969d7b64ce9aa | 123 | py | Python | pyolite/__init__.py | PressLabs/pyolite | e8e5a76fc3a714bd71b66d4c0ba3ff6357595ff0 | [
"BSD-2-Clause"
] | 23 | 2015-02-23T10:53:38.000Z | 2017-08-22T11:58:06.000Z | pyolite/__init__.py | sona1111/pyolite | e8e5a76fc3a714bd71b66d4c0ba3ff6357595ff0 | [
"BSD-2-Clause"
] | 11 | 2015-03-20T10:45:52.000Z | 2017-07-03T16:26:57.000Z | pyolite/__init__.py | sona1111/pyolite | e8e5a76fc3a714bd71b66d4c0ba3ff6357595ff0 | [
"BSD-2-Clause"
] | 11 | 2015-03-05T20:11:42.000Z | 2017-01-31T13:16:02.000Z | try:
from .pyolite import Pyolite
except ImportError as exp:
# need this in order to make versioneer work
pass
| 20.5 | 48 | 0.715447 | 18 | 123 | 4.888889 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252033 | 123 | 5 | 49 | 24.6 | 0.956522 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
3fa03152ff8ea66b671b5845fef20126052fe274 | 192 | py | Python | backend/user/views.py | dzhfrv/dzhfrv-starn | cae3261ed85653643032218c4a2f2cd273ff47ae | [
"MIT"
] | 1 | 2021-01-19T14:04:53.000Z | 2021-01-19T14:04:53.000Z | apps/user/views.py | dzhfrv/django-base-app | 9dcc27a2e75e7aa3c6d31b468f089e0b70f52df9 | [
"MIT"
] | 5 | 2021-03-19T01:23:20.000Z | 2021-09-22T18:48:54.000Z | apps/user/views.py | dzhfrv/django-base-app | 9dcc27a2e75e7aa3c6d31b468f089e0b70f52df9 | [
"MIT"
] | 1 | 2020-04-01T12:37:00.000Z | 2020-04-01T12:37:00.000Z | from rest_framework import generics
from .serializers import UserRegistrationSerializer
class RegistrationEndpoint(generics.CreateAPIView):
serializer_class = UserRegistrationSerializer
| 27.428571 | 51 | 0.869792 | 16 | 192 | 10.3125 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098958 | 192 | 6 | 52 | 32 | 0.953757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3fccb24b2c597cbc26016f1270eef396a70b2d1f | 196 | py | Python | 1201-1300/1243-Number of Segments in a String/1243-Number of Segments in a String.py | jiadaizhao/LintCode | a8aecc65c47a944e9debad1971a7bc6b8776e48b | [
"MIT"
] | 77 | 2017-12-30T13:33:37.000Z | 2022-01-16T23:47:08.000Z | 1201-1300/1243-Number of Segments in a String/1243-Number of Segments in a String.py | jxhangithub/LintCode-1 | a8aecc65c47a944e9debad1971a7bc6b8776e48b | [
"MIT"
] | 1 | 2018-05-14T14:15:40.000Z | 2018-05-14T14:15:40.000Z | 1201-1300/1243-Number of Segments in a String/1243-Number of Segments in a String.py | jxhangithub/LintCode-1 | a8aecc65c47a944e9debad1971a7bc6b8776e48b | [
"MIT"
] | 39 | 2017-12-07T14:36:25.000Z | 2022-03-10T23:05:37.000Z | class Solution:
"""
@param s: a string
@return: the number of segments in a string
"""
def countSegments(self, s):
# write yout code here
return len(s.split())
| 21.777778 | 47 | 0.576531 | 26 | 196 | 4.346154 | 0.807692 | 0.123894 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.316327 | 196 | 8 | 48 | 24.5 | 0.843284 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
3fe01a6fedd1c2868f6a55f48644a981f87d94ac | 255 | py | Python | src/mission/task/task.py | AuraUAS/aura-core | 4711521074db72ba9089213e14455d89dc5306c0 | [
"MIT",
"BSD-2-Clause-FreeBSD"
] | 8 | 2016-08-03T19:35:03.000Z | 2019-12-15T06:25:05.000Z | src/mission/task/task.py | AuraUAS/aura-core | 4711521074db72ba9089213e14455d89dc5306c0 | [
"MIT",
"BSD-2-Clause-FreeBSD"
] | 4 | 2018-09-27T15:48:56.000Z | 2018-11-05T12:38:10.000Z | src/mission/task/task.py | AuraUAS/aura-core | 4711521074db72ba9089213e14455d89dc5306c0 | [
"MIT",
"BSD-2-Clause-FreeBSD"
] | 5 | 2017-06-28T19:15:36.000Z | 2020-02-19T19:31:24.000Z | class Task:
def __init__(self):
self.name = "";
self.active = False;
def activate(self):
pass
def update(self, dt):
pass
def is_complete(self):
pass
def close(self):
pass
| 15 | 28 | 0.482353 | 28 | 255 | 4.214286 | 0.535714 | 0.20339 | 0.186441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.419608 | 255 | 16 | 29 | 15.9375 | 0.797297 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0.333333 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
3ffad49a6fa8ced3611bd3f71d9aa3baf6492cf4 | 64 | py | Python | backend/lucas/main/scrapyd/__init__.py | ralucaportase/lucas | 035196fc7c42d80ec1b6c0f7d9ce7e1eff200e92 | [
"MIT"
] | null | null | null | backend/lucas/main/scrapyd/__init__.py | ralucaportase/lucas | 035196fc7c42d80ec1b6c0f7d9ce7e1eff200e92 | [
"MIT"
] | 9 | 2021-03-30T14:15:54.000Z | 2022-03-02T14:54:12.000Z | backend/lucas/main/scrapyd/__init__.py | ralucaportase/lucas | 035196fc7c42d80ec1b6c0f7d9ce7e1eff200e92 | [
"MIT"
] | null | null | null | from .api import get_scrapyd_api
__all__ = ["get_scrapyd_api"]
| 16 | 32 | 0.78125 | 10 | 64 | 4.2 | 0.6 | 0.47619 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 64 | 3 | 33 | 21.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.234375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b748ff6308cd70326a3678580b7cb40d6f0652dd | 59 | py | Python | modelmanager/plugins/__init__.py | mwort/modelmanager | f079d5aa09165fcd43a2bef3cb1cfc2ab36cb47a | [
"BSD-3-Clause"
] | 1 | 2020-06-11T17:29:49.000Z | 2020-06-11T17:29:49.000Z | modelmanager/plugins/__init__.py | mwort/modelmanager | f079d5aa09165fcd43a2bef3cb1cfc2ab36cb47a | [
"BSD-3-Clause"
] | 1 | 2020-02-12T01:15:46.000Z | 2020-02-12T01:15:46.000Z | modelmanager/plugins/__init__.py | mwort/modelmanager | f079d5aa09165fcd43a2bef3cb1cfc2ab36cb47a | [
"BSD-3-Clause"
] | 1 | 2021-04-05T13:33:31.000Z | 2021-04-05T13:33:31.000Z | from .templates import templates
from .clones import clone
| 19.666667 | 32 | 0.830508 | 8 | 59 | 6.125 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 59 | 2 | 33 | 29.5 | 0.960784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b7496e96dc4bb9a7c3c93ec0d2ad282854a5e1a6 | 144 | py | Python | mmseg/runner/__init__.py | yoyoyoohh/spacenet6 | 57829afb6a642d96c30c42434929080b6d927fb4 | [
"Apache-2.0"
] | null | null | null | mmseg/runner/__init__.py | yoyoyoohh/spacenet6 | 57829afb6a642d96c30c42434929080b6d927fb4 | [
"Apache-2.0"
] | null | null | null | mmseg/runner/__init__.py | yoyoyoohh/spacenet6 | 57829afb6a642d96c30c42434929080b6d927fb4 | [
"Apache-2.0"
] | null | null | null | '''
Author: Shuailin Chen
Created Date: 2021-11-15
Last Modified: 2021-11-15
content:
'''
from .my_iter_based_runner import MyIterBasedRunner | 18 | 51 | 0.770833 | 21 | 144 | 5.142857 | 0.857143 | 0.111111 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 0.125 | 144 | 8 | 51 | 18 | 0.730159 | 0.618056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b7879651168e291663f80e2ce730fe20e214177a | 23 | py | Python | tests/runtime-trace-tests/cases/TODO_poly_print.py | jaydeetay/pxt | aad1beaf15edc46e1327806367298cbc942dcbc1 | [
"MIT"
] | 977 | 2019-05-06T23:12:55.000Z | 2022-03-29T19:11:44.000Z | tests/runtime-trace-tests/cases/TODO_poly_print.py | jaydeetay/pxt | aad1beaf15edc46e1327806367298cbc942dcbc1 | [
"MIT"
] | 3,980 | 2019-05-09T20:48:14.000Z | 2022-03-28T20:33:07.000Z | tests/runtime-trace-tests/cases/TODO_poly_print.py | jaydeetay/pxt | aad1beaf15edc46e1327806367298cbc942dcbc1 | [
"MIT"
] | 306 | 2016-04-09T05:28:07.000Z | 2019-05-02T14:23:29.000Z | print("baz")
print(123) | 11.5 | 12 | 0.695652 | 4 | 23 | 4 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 0.043478 | 23 | 2 | 13 | 11.5 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b7a30f16910112e68e6f8421110bf4f2ee718945 | 11,032 | py | Python | filter_plugins/oc_output/interfaces/interface/routed_vlan/ipv6/router_advertisement/config/__init__.py | lnde/ansible-ncyang | 214d001564a4c2a27d25a20f4f095b5a0b69b378 | [
"MIT"
] | null | null | null | filter_plugins/oc_output/interfaces/interface/routed_vlan/ipv6/router_advertisement/config/__init__.py | lnde/ansible-ncyang | 214d001564a4c2a27d25a20f4f095b5a0b69b378 | [
"MIT"
] | null | null | null | filter_plugins/oc_output/interfaces/interface/routed_vlan/ipv6/router_advertisement/config/__init__.py | lnde/ansible-ncyang | 214d001564a4c2a27d25a20f4f095b5a0b69b378 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from operator import attrgetter
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListTy... | 54.613861 | 405 | 0.741207 | 1,418 | 11,032 | 5.555712 | 0.138928 | 0.033003 | 0.044428 | 0.042904 | 0.783828 | 0.746636 | 0.734704 | 0.723661 | 0.708936 | 0.69675 | 0 | 0.016468 | 0.141316 | 11,032 | 201 | 406 | 54.885572 | 0.815159 | 0.260877 | 0 | 0.321429 | 0 | 0.026786 | 0.298914 | 0.068221 | 0 | 0 | 0 | 0 | 0 | 1 | 0.098214 | false | 0 | 0.133929 | 0 | 0.357143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4d3cd8b1df3b76e0dec0d6a98cfec3ece87f00bb | 40 | py | Python | hello.py | DanHusariu/session1 | 2efe735079f897274a3ca4308032e6f118e57319 | [
"MIT"
] | null | null | null | hello.py | DanHusariu/session1 | 2efe735079f897274a3ca4308032e6f118e57319 | [
"MIT"
] | null | null | null | hello.py | DanHusariu/session1 | 2efe735079f897274a3ca4308032e6f118e57319 | [
"MIT"
] | null | null | null | print('Hello World!')
print(':)pitonul') | 20 | 21 | 0.675 | 5 | 40 | 5.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 40 | 2 | 22 | 20 | 0.710526 | 0 | 0 | 0 | 0 | 0 | 0.512195 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
4d4ca1d0b5bb7f62274c820a7b7248e4df671dc3 | 439 | py | Python | abstractfactory/tablefactory/table_factory.py | kotaaaa/design_pattern_py | 4276a5d564b91360c956ea33bf741c40aa6b1abb | [
"Apache-2.0"
] | null | null | null | abstractfactory/tablefactory/table_factory.py | kotaaaa/design_pattern_py | 4276a5d564b91360c956ea33bf741c40aa6b1abb | [
"Apache-2.0"
] | null | null | null | abstractfactory/tablefactory/table_factory.py | kotaaaa/design_pattern_py | 4276a5d564b91360c956ea33bf741c40aa6b1abb | [
"Apache-2.0"
] | null | null | null | from factory.factory import Factory
from tablefactory.table_link import TableLink
from tablefactory.table_tray import TableTray
from tablefactory.table_page import TablePage
class TableFactory(Factory):
def create_link(self, caption, url):
return TableLink(caption, url)
def create_tray(self, caption)... | 27.4375 | 45 | 0.758542 | 54 | 439 | 6.055556 | 0.37037 | 0.146789 | 0.192661 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175399 | 439 | 15 | 46 | 29.266667 | 0.903315 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.363636 | 0.272727 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
4d813ecab449ed90516d66a0446a8399be40be22 | 2,136 | py | Python | tests/test_http_nsqd.py | aohan237/asyncnsq | aa60dad1360c7c4f1eeb1119243555526c86635c | [
"MIT"
] | 47 | 2017-10-26T16:11:12.000Z | 2021-12-27T03:34:02.000Z | tests/test_http_nsqd.py | aohan237/asyncnsq | aa60dad1360c7c4f1eeb1119243555526c86635c | [
"MIT"
] | 18 | 2018-02-28T10:33:19.000Z | 2021-01-11T15:43:47.000Z | tests/test_http_nsqd.py | aohan237/asyncnsq | aa60dad1360c7c4f1eeb1119243555526c86635c | [
"MIT"
] | 19 | 2017-12-15T06:43:32.000Z | 2020-11-06T21:51:14.000Z | from ._testutils import run_until_complete, BaseTest
from asyncnsq.http.writer import NsqdHttpWriter
class NsqdHttpWriterTest(BaseTest):
"""
:see: http://nsq.io/components/NsqdHttpWriter.html
"""
@run_until_complete
async def test_ok(self):
conn = NsqdHttpWriter('127.0.0.1', 4151, loop=se... | 31.880597 | 64 | 0.621255 | 281 | 2,136 | 4.590747 | 0.174377 | 0.118605 | 0.148837 | 0.130233 | 0.758915 | 0.758915 | 0.712403 | 0.712403 | 0.712403 | 0.679845 | 0 | 0.051948 | 0.242978 | 2,136 | 66 | 65 | 32.363636 | 0.745826 | 0.023408 | 0 | 0.603774 | 0 | 0 | 0.067633 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 1 | 0 | false | 0 | 0.037736 | 0 | 0.056604 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4d9c1215826fcab716ad6cb95fd89167cdd7d64c | 130 | py | Python | docs/pge-sdk/OAuth2/fetch_and_print.py | ianwinsemius/open-energy-view | ea4084a63ab7e75572f0234a311f2c041cbbb562 | [
"MIT"
] | 16 | 2020-10-20T05:51:10.000Z | 2022-02-27T05:43:40.000Z | docs/pge-sdk/OAuth2/fetch_and_print.py | ianwinsemius/open-energy-view | ea4084a63ab7e75572f0234a311f2c041cbbb562 | [
"MIT"
] | 13 | 2021-08-19T23:38:00.000Z | 2022-03-05T20:32:06.000Z | docs/pge-sdk/OAuth2/fetch_and_print.py | ianwinsemius/open-energy-view | ea4084a63ab7e75572f0234a311f2c041cbbb562 | [
"MIT"
] | 2 | 2022-01-16T12:39:20.000Z | 2022-02-25T05:45:07.000Z | """
Get token, make request, print results.
"""
from OAuth2.ClientCredentials import ClientCredentials
from OAuth2.Api import Api
| 21.666667 | 54 | 0.792308 | 16 | 130 | 6.4375 | 0.6875 | 0.194175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.123077 | 130 | 5 | 55 | 26 | 0.885965 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4dc556e18d5ff8f71ec82c360d37302b329b0544 | 117 | py | Python | Module Sample/MyModule/MyModuleClass.py | SauceChord/learning-python | eef70d809a3ed82fc2c9e8ac64253d7e372b7440 | [
"MIT"
] | null | null | null | Module Sample/MyModule/MyModuleClass.py | SauceChord/learning-python | eef70d809a3ed82fc2c9e8ac64253d7e372b7440 | [
"MIT"
] | null | null | null | Module Sample/MyModule/MyModuleClass.py | SauceChord/learning-python | eef70d809a3ed82fc2c9e8ac64253d7e372b7440 | [
"MIT"
] | null | null | null | class MyModuleClass(object):
def sayHi(self):
print('class "MyModuleClass" in module "MyModule" says hi') | 39 | 67 | 0.692308 | 14 | 117 | 5.785714 | 0.857143 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188034 | 117 | 3 | 67 | 39 | 0.852632 | 0 | 0 | 0 | 0 | 0 | 0.423729 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
4dd04813a848ff83f960c31485e6158838e272a9 | 52 | py | Python | interface/controller/testdata/i_am_not_go.py | Syuparn/chapa | bc78e33ca5a141264457118baca5d17be3ffa876 | [
"MIT"
] | null | null | null | interface/controller/testdata/i_am_not_go.py | Syuparn/chapa | bc78e33ca5a141264457118baca5d17be3ffa876 | [
"MIT"
] | 1 | 2021-04-17T08:56:41.000Z | 2021-04-17T08:56:41.000Z | interface/controller/testdata/i_am_not_go.py | Syuparn/chapati | bc78e33ca5a141264457118baca5d17be3ffa876 | [
"MIT"
] | null | null | null | def greet():
print("I am Python! not Golang!!")
| 17.333333 | 38 | 0.596154 | 8 | 52 | 3.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211538 | 52 | 2 | 39 | 26 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0.480769 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
4dd35800a4721581c35c28114dd5078a23c3de08 | 182 | py | Python | django_minifier/filesystem.py | realnoobs/django_minifier | 4750ddacd8ab2efd66680abfa3e267d0363e1a8d | [
"MIT"
] | null | null | null | django_minifier/filesystem.py | realnoobs/django_minifier | 4750ddacd8ab2efd66680abfa3e267d0363e1a8d | [
"MIT"
] | null | null | null | django_minifier/filesystem.py | realnoobs/django_minifier | 4750ddacd8ab2efd66680abfa3e267d0363e1a8d | [
"MIT"
] | null | null | null | from django.template.loaders.filesystem import Loader as FilesystemLoader
from .mixins import TemplateMinifierMixin
class Loader(TemplateMinifierMixin, FilesystemLoader):
pass
| 26 | 73 | 0.846154 | 18 | 182 | 8.555556 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10989 | 182 | 6 | 74 | 30.333333 | 0.950617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
4ddae184fcb0bd9a93ae0df5e1de3a3f21c91e8d | 257 | py | Python | src/wagtail_live/publishers/piesocket/__init__.py | wagtail/wagtail-live | dd769be089d457cf36db2506520028bc5f506ac3 | [
"BSD-3-Clause"
] | 22 | 2021-06-07T20:36:18.000Z | 2022-03-29T01:48:58.000Z | src/wagtail_live/publishers/piesocket/__init__.py | wagtail/wagtail-live | dd769be089d457cf36db2506520028bc5f506ac3 | [
"BSD-3-Clause"
] | 73 | 2021-05-21T16:08:44.000Z | 2022-03-20T23:59:59.000Z | src/wagtail_live/publishers/piesocket/__init__.py | wagtail/wagtail-live | dd769be089d457cf36db2506520028bc5f506ac3 | [
"BSD-3-Clause"
] | 11 | 2021-06-10T10:05:13.000Z | 2022-02-12T13:31:34.000Z | from .publisher import PieSocketPublisher
from .utils import get_piesocket_api_key, get_piesocket_endpoint, get_piesocket_secret
__all__ = [
"PieSocketPublisher",
"get_piesocket_api_key",
"get_piesocket_endpoint",
"get_piesocket_secret",
]
| 25.7 | 86 | 0.789883 | 29 | 257 | 6.37931 | 0.413793 | 0.389189 | 0.162162 | 0.194595 | 0.605405 | 0.605405 | 0.605405 | 0.605405 | 0.605405 | 0.605405 | 0 | 0 | 0.136187 | 257 | 9 | 87 | 28.555556 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.315175 | 0.167315 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4ddcf323d0d9b51a3e2a2c026a45ffba5ddcbb97 | 4,550 | py | Python | TCP_Models/Linux_4.8/Script/enumaration_generate.py | seclab-ucr/SCENT | f2fbfc5902b2dbd7dc72c8dc23ff28e24c31e50a | [
"MIT"
] | 3 | 2019-10-24T00:49:51.000Z | 2020-12-16T13:34:49.000Z | TCP_Models/Linux_4.8/Script/enumaration_generate.py | seclab-ucr/SCENT | f2fbfc5902b2dbd7dc72c8dc23ff28e24c31e50a | [
"MIT"
] | null | null | null | TCP_Models/Linux_4.8/Script/enumaration_generate.py | seclab-ucr/SCENT | f2fbfc5902b2dbd7dc72c8dc23ff28e24c31e50a | [
"MIT"
] | 1 | 2020-11-14T03:08:53.000Z | 2020-11-14T03:08:53.000Z | #!/bin/bash
# -------------------------
# Filename: enumeration_generation.py
# Revision: 1.0
# Data: long ago
# Author: Yue Cao
# Description: Generate all interations for model used in model checking
# -------------------------
import os
#f = file("../model_part.txt", "w")
f_head = file("../new_model_head", "... | 78.448276 | 622 | 0.552527 | 635 | 4,550 | 3.707087 | 0.124409 | 0.071368 | 0.112999 | 0.042056 | 0.799915 | 0.792268 | 0.742991 | 0.708581 | 0.697536 | 0.654206 | 0 | 0.028229 | 0.229231 | 4,550 | 57 | 623 | 79.824561 | 0.643 | 0.09978 | 0 | 0.1 | 1 | 0.05 | 0.356921 | 0.22084 | 0 | 0 | 0 | 0 | 0.05 | 1 | 0 | false | 0 | 0.05 | 0 | 0.05 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4de9f36adf25680ae83045f1d135520c47b39437 | 36 | py | Python | turbustat/statistics/scf/__init__.py | CFD-UTSA/Turbulence-stars | 354d02e38d15e3b0d1f751b43f430dbd3a14c250 | [
"MIT"
] | 42 | 2016-04-07T20:49:59.000Z | 2022-03-28T12:54:13.000Z | turbustat/statistics/scf/__init__.py | CFD-UTSA/Turbulence-stars | 354d02e38d15e3b0d1f751b43f430dbd3a14c250 | [
"MIT"
] | 131 | 2015-03-05T21:42:27.000Z | 2021-07-22T14:59:04.000Z | turbustat/statistics/scf/__init__.py | CFD-UTSA/Turbulence-stars | 354d02e38d15e3b0d1f751b43f430dbd3a14c250 | [
"MIT"
] | 21 | 2015-06-10T17:10:06.000Z | 2022-02-28T15:59:42.000Z | from .scf import SCF, SCF_Distance
| 18 | 35 | 0.777778 | 6 | 36 | 4.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 36 | 1 | 36 | 36 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4dec515c45705c49b9b21ea1058a88464142194d | 30 | py | Python | goto_cloud/enums/public.py | jdepoix/goto_cloud | 59bb9923026e1b1dc6e8e08fb6b21300c8e8854a | [
"MIT"
] | 2 | 2018-02-04T23:22:17.000Z | 2019-04-15T12:06:04.000Z | goto_cloud/enums/public.py | jdepoix/goto_cloud | 59bb9923026e1b1dc6e8e08fb6b21300c8e8854a | [
"MIT"
] | null | null | null | goto_cloud/enums/public.py | jdepoix/goto_cloud | 59bb9923026e1b1dc6e8e08fb6b21300c8e8854a | [
"MIT"
] | null | null | null | from .enums import StringEnum
| 15 | 29 | 0.833333 | 4 | 30 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 30 | 1 | 30 | 30 | 0.961538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1290575784421decb7b5b4000fb15e40b45cf2f7 | 186 | py | Python | wagtail_hallo/test/apps.py | lb-/wagtail-hallo | 470c5dbb52abecc1ef303dd0f42ba5f20f423ece | [
"MIT"
] | 2 | 2022-03-01T21:24:31.000Z | 2022-03-03T05:57:31.000Z | wagtail_hallo/test/apps.py | lb-/wagtail-hallo | 470c5dbb52abecc1ef303dd0f42ba5f20f423ece | [
"MIT"
] | 11 | 2022-02-13T02:02:01.000Z | 2022-03-27T21:56:33.000Z | wagtail_hallo/test/apps.py | wagtail/wagtail-hallo | 470c5dbb52abecc1ef303dd0f42ba5f20f423ece | [
"MIT"
] | 1 | 2022-02-05T10:14:48.000Z | 2022-02-05T10:14:48.000Z | from django.apps import AppConfig
class WagtailHalloTestAppConfig(AppConfig):
label = "wagtail_hallo_test"
name = "wagtail_hallo.test"
verbose_name = "Wagtail Hallo tests"
| 23.25 | 43 | 0.758065 | 21 | 186 | 6.52381 | 0.666667 | 0.262774 | 0.233577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 186 | 7 | 44 | 26.571429 | 0.883871 | 0 | 0 | 0 | 0 | 0 | 0.295699 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
12d41679d093e91e5897ca62b8a59a53f8cba7d0 | 76 | py | Python | gmail_api_wrapper/version.py | qqgg231/gmail-api-wrapper | cd7a9b0d3e9ef5f2f059f4ba74377190edf7ebaa | [
"MIT"
] | null | null | null | gmail_api_wrapper/version.py | qqgg231/gmail-api-wrapper | cd7a9b0d3e9ef5f2f059f4ba74377190edf7ebaa | [
"MIT"
] | null | null | null | gmail_api_wrapper/version.py | qqgg231/gmail-api-wrapper | cd7a9b0d3e9ef5f2f059f4ba74377190edf7ebaa | [
"MIT"
] | null | null | null | """Version file."""
__version__ = '0.1.1a2'
version = (0, 1, 1, 'alpha', 2)
| 19 | 31 | 0.565789 | 12 | 76 | 3.25 | 0.583333 | 0.410256 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.157895 | 76 | 3 | 32 | 25.333333 | 0.484375 | 0.171053 | 0 | 0 | 0 | 0 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
421c050dff5e15c2fd4ce32223b5d90243def375 | 158 | py | Python | tests/impl/string_test.py | YAmikep/datasource | 6c8d72bd299aa0a9e2880228f0f39d2b8721b146 | [
"MIT"
] | 1 | 2018-06-16T11:33:56.000Z | 2018-06-16T11:33:56.000Z | tests/impl/string_test.py | YAmikep/datasource | 6c8d72bd299aa0a9e2880228f0f39d2b8721b146 | [
"MIT"
] | 1 | 2020-03-24T17:32:45.000Z | 2020-03-24T17:32:45.000Z | tests/impl/string_test.py | YAmikep/datasource | 6c8d72bd299aa0a9e2880228f0f39d2b8721b146 | [
"MIT"
] | 2 | 2018-06-16T11:37:34.000Z | 2020-07-30T17:56:54.000Z | import unittest
from datasource.impl.string import StringDataSource
class StringDataSourceTests(unittest.TestCase):
def test_(self):
pass
| 17.555556 | 51 | 0.746835 | 16 | 158 | 7.3125 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196203 | 158 | 8 | 52 | 19.75 | 0.92126 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
423b4b14d52a5ca5735070b839a793feb29dbd5d | 169 | py | Python | src/posts/admin.py | Jordyvm/Django_portfolio | da0c49275b0c3b1ea362e5cf402bef8e86c193e4 | [
"MIT"
] | null | null | null | src/posts/admin.py | Jordyvm/Django_portfolio | da0c49275b0c3b1ea362e5cf402bef8e86c193e4 | [
"MIT"
] | null | null | null | src/posts/admin.py | Jordyvm/Django_portfolio | da0c49275b0c3b1ea362e5cf402bef8e86c193e4 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import Post
from .models import Skill
admin.site.register(Post)
admin.site.register(Skill) | 16.9 | 32 | 0.792899 | 25 | 169 | 5.36 | 0.48 | 0.149254 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130178 | 169 | 10 | 33 | 16.9 | 0.911565 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
42455b85b4a3d710089bf17f1cec843567fa9b98 | 263 | py | Python | fdint/tests/__init__.py | jgukelberger/fdint | 0237323d6fd5d4161190ff7982811d8ae290f89e | [
"BSD-3-Clause"
] | 11 | 2015-10-25T18:51:55.000Z | 2021-02-26T13:05:07.000Z | fdint/tests/__init__.py | jgukelberger/fdint | 0237323d6fd5d4161190ff7982811d8ae290f89e | [
"BSD-3-Clause"
] | 19 | 2015-04-23T19:41:20.000Z | 2017-08-01T02:04:04.000Z | fdint/tests/__init__.py | jgukelberger/fdint | 0237323d6fd5d4161190ff7982811d8ae290f89e | [
"BSD-3-Clause"
] | 10 | 2017-05-31T07:27:16.000Z | 2021-08-28T15:34:09.000Z | # Copyright (c) 2015, Scott J Maddox. All rights reserved.
# Use of this source code is governed by the BSD-3-Clause
# license that can be found in the LICENSE file.
from .test_fd import *
from .test_ifd import *
from .test_gfd import *
from .test_scfd import *
| 29.222222 | 58 | 0.745247 | 46 | 263 | 4.173913 | 0.76087 | 0.166667 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.18251 | 263 | 8 | 59 | 32.875 | 0.869767 | 0.604563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
427269aeef771d1c3ec5ed6b52d2f6e833332cf2 | 252 | py | Python | app/es_gestione_ambulanze/database/tables/ambulanze.py | nyxgear/PSD-e-service-pronto-soccorso | 92eb0586c2cfb12a844a106b71911c80e8e3e57b | [
"MIT"
] | null | null | null | app/es_gestione_ambulanze/database/tables/ambulanze.py | nyxgear/PSD-e-service-pronto-soccorso | 92eb0586c2cfb12a844a106b71911c80e8e3e57b | [
"MIT"
] | null | null | null | app/es_gestione_ambulanze/database/tables/ambulanze.py | nyxgear/PSD-e-service-pronto-soccorso | 92eb0586c2cfb12a844a106b71911c80e8e3e57b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
table = [
{
'id': 500,
'posizione_lat': '45.467269',
'posizione_long': '9.214908',
},
{
'id': 501,
'posizione_lat': '45.481383',
'posizione_long': '9.169981',
}
]
| 16.8 | 37 | 0.43254 | 24 | 252 | 4.375 | 0.666667 | 0.228571 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.228395 | 0.357143 | 252 | 14 | 38 | 18 | 0.419753 | 0.083333 | 0 | 0 | 0 | 0 | 0.401747 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
35f4c9270c15adc7343b59efea74470f9699511e | 185 | py | Python | Code/0.ejercicios_extra/dic_comprehension.py | davidMartinVergues/PYTHON | dd39d3aabfc43b3cb09aadb2919e51d03364117d | [
"DOC"
] | null | null | null | Code/0.ejercicios_extra/dic_comprehension.py | davidMartinVergues/PYTHON | dd39d3aabfc43b3cb09aadb2919e51d03364117d | [
"DOC"
] | null | null | null | Code/0.ejercicios_extra/dic_comprehension.py | davidMartinVergues/PYTHON | dd39d3aabfc43b3cb09aadb2919e51d03364117d | [
"DOC"
] | null | null | null |
import math
def run ():
print(dic_generator(10))
def dic_generator(num):
return {num:round(math.sqrt(num),5) for num in range(1,num)}
if __name__ == "__main__":
run() | 13.214286 | 64 | 0.643243 | 29 | 185 | 3.758621 | 0.689655 | 0.220183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027027 | 0.2 | 185 | 14 | 65 | 13.214286 | 0.709459 | 0 | 0 | 0 | 0 | 0 | 0.043243 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.571429 | 0.142857 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
c41730c6c78129a57c94a511d64b0105145e33cf | 104 | py | Python | installer/hooks/hook-wx.py | chrisidefix/devide | 99bfe156e710fa47ba7ae88b0ce1eef592a3a439 | [
"BSD-3-Clause"
] | 25 | 2015-08-24T16:05:14.000Z | 2020-12-09T20:07:14.000Z | installer/hooks/hook-wx.py | chrisidefix/devide | 99bfe156e710fa47ba7ae88b0ce1eef592a3a439 | [
"BSD-3-Clause"
] | 1 | 2016-02-16T21:18:10.000Z | 2016-02-16T21:18:10.000Z | installer/hooks/hook-wx.py | chrisidefix/devide | 99bfe156e710fa47ba7ae88b0ce1eef592a3a439 | [
"BSD-3-Clause"
] | 5 | 2016-02-16T20:05:37.000Z | 2020-01-31T11:27:39.000Z | hiddenimports = ['wx.aui', 'wx.lib.mixins']
print "[*] hook-wx.py - HIDDENIMPORTS"
print hiddenimports
| 20.8 | 43 | 0.701923 | 13 | 104 | 5.615385 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 104 | 4 | 44 | 26 | 0.793478 | 0 | 0 | 0 | 0 | 0 | 0.471154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 0.666667 | 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 | 1 | 0 | 5 |
c42547337f7451d45d3b17a0f9c5790a8bad3038 | 95 | py | Python | workspace/testdata/tf-test-python.py | jarobey/terraform-provider-databricks | 04e7061ffe3b9728fba6bb6027ba4d888460ad64 | [
"Apache-2.0"
] | 183 | 2020-06-17T23:18:36.000Z | 2022-03-23T08:08:26.000Z | workspace/testdata/tf-test-python.py | jarobey/terraform-provider-databricks | 04e7061ffe3b9728fba6bb6027ba4d888460ad64 | [
"Apache-2.0"
] | 1,098 | 2020-06-15T21:17:42.000Z | 2022-03-31T11:55:59.000Z | workspace/testdata/tf-test-python.py | jarobey/terraform-provider-databricks | 04e7061ffe3b9728fba6bb6027ba4d888460ad64 | [
"Apache-2.0"
] | 140 | 2020-06-18T10:20:19.000Z | 2022-03-25T01:09:16.000Z | # Databricks notebook source
print("hello world")
# COMMAND ----------
print("hello world2")
| 13.571429 | 28 | 0.652632 | 10 | 95 | 6.2 | 0.8 | 0.322581 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.136842 | 95 | 6 | 29 | 15.833333 | 0.743902 | 0.473684 | 0 | 0 | 0 | 0 | 0.489362 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.