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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e4e744cea09aa5c17b5498d8639be53e51afe5ae | 246 | py | Python | algorithms/__init__.py | farfanoide/simuladorHDD | 27418ae2d0ed6f8d8642f670682a66451c5cbc43 | [
"MIT"
] | 1 | 2019-02-06T05:14:25.000Z | 2019-02-06T05:14:25.000Z | algorithms/__init__.py | farfanoide/simuladorHDD | 27418ae2d0ed6f8d8642f670682a66451c5cbc43 | [
"MIT"
] | null | null | null | algorithms/__init__.py | farfanoide/simuladorHDD | 27418ae2d0ed6f8d8642f670682a66451c5cbc43 | [
"MIT"
] | null | null | null | from algorithms.scheduling import Scheduling
from algorithms.clook import CLOOK
from algorithms.cscan import CSCAN
from algorithms.fcfs import FCFS
from algorithms.look import LOOK
from algorithms.scan import SCAN
from algorithms.sstf import SSTF | 35.142857 | 44 | 0.861789 | 35 | 246 | 6.057143 | 0.285714 | 0.462264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.109756 | 246 | 7 | 45 | 35.142857 | 0.968037 | 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 |
e4f50dbec0ca1e407b428adeab5fc918e5d6199f | 659 | py | Python | tests/test_utils.py | benchuang11046/afs2-model | c821f078a2c1379b16273dc34d5d488a3d032f06 | [
"Apache-2.0"
] | 2 | 2019-05-27T06:19:33.000Z | 2021-01-24T14:39:25.000Z | tests/test_utils.py | benchuang11046/afs2-model | c821f078a2c1379b16273dc34d5d488a3d032f06 | [
"Apache-2.0"
] | 24 | 2019-04-26T02:02:02.000Z | 2020-05-14T10:18:55.000Z | tests/test_utils.py | benchuang11046/afs2-model | c821f078a2c1379b16273dc34d5d488a3d032f06 | [
"Apache-2.0"
] | null | null | null | import pytest
from afs import utils
def test_urljoin():
url = utils.urljoin(
"http://afs.org.tw",
"instance_id",
"1234-4567-7890",
"model_respositories",
"123",
extra_paths={},
)
assert url == "http://afs.org.tw/instance_id/1234-4567-7890/model_respositories... | 22.724138 | 88 | 0.579666 | 78 | 659 | 4.717949 | 0.307692 | 0.076087 | 0.108696 | 0.130435 | 0.720109 | 0.720109 | 0.720109 | 0.720109 | 0.720109 | 0.720109 | 0 | 0.124224 | 0.267071 | 659 | 28 | 89 | 23.535714 | 0.637681 | 0 | 0 | 0.416667 | 0 | 0.041667 | 0.420334 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 1 | 0.083333 | false | 0 | 0.083333 | 0 | 0.166667 | 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 |
902cd08c4f4388ffd915a79c7766a95543e4b2df | 148 | py | Python | vsp-banckend/virtualStoreApp/models/__init__.py | DannielF/virtual-store-project | a8600b6acdabf33cdc4d7ae5c744edd064fe0a1b | [
"MIT"
] | null | null | null | vsp-banckend/virtualStoreApp/models/__init__.py | DannielF/virtual-store-project | a8600b6acdabf33cdc4d7ae5c744edd064fe0a1b | [
"MIT"
] | null | null | null | vsp-banckend/virtualStoreApp/models/__init__.py | DannielF/virtual-store-project | a8600b6acdabf33cdc4d7ae5c744edd064fe0a1b | [
"MIT"
] | null | null | null | from .user import User
from .order import Order
from .product import Product
from .provider import Provider
from .order_product import OrderProduct
| 24.666667 | 39 | 0.831081 | 21 | 148 | 5.809524 | 0.333333 | 0.147541 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 148 | 5 | 40 | 29.6 | 0.953125 | 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 |
902f715205288441efc880c579b2f4b1071092e5 | 163 | py | Python | src/managers/__init__.py | deepak2431/pygame-Coin-Fall- | 2238fb8badc7db138e1bfa5e1d4e2672d652e935 | [
"MIT"
] | null | null | null | src/managers/__init__.py | deepak2431/pygame-Coin-Fall- | 2238fb8badc7db138e1bfa5e1d4e2672d652e935 | [
"MIT"
] | null | null | null | src/managers/__init__.py | deepak2431/pygame-Coin-Fall- | 2238fb8badc7db138e1bfa5e1d4e2672d652e935 | [
"MIT"
] | null | null | null | from .resources import Resources
from .game_manager import Game_manager
from .sound_manager import Play_sound
from .gameplay_parameters import Gameplay_Parameters
| 32.6 | 52 | 0.877301 | 22 | 163 | 6.227273 | 0.409091 | 0.160584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09816 | 163 | 4 | 53 | 40.75 | 0.931973 | 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 |
90339faf283a28114b167e35435605ba4f6be749 | 5,398 | py | Python | tests/utilities/test_async_tools.py | apollo13/lightbus | ad9bb5e376e7aabb400d01307345e00fd07e4677 | [
"Apache-2.0"
] | null | null | null | tests/utilities/test_async_tools.py | apollo13/lightbus | ad9bb5e376e7aabb400d01307345e00fd07e4677 | [
"Apache-2.0"
] | null | null | null | tests/utilities/test_async_tools.py | apollo13/lightbus | ad9bb5e376e7aabb400d01307345e00fd07e4677 | [
"Apache-2.0"
] | null | null | null | import asyncio
from datetime import timedelta
import pytest
import schedule
from lightbus.exceptions import CannotBlockHere
from lightbus.utilities.async_tools import (
call_every,
cancel,
call_on_schedule,
run_user_provided_callable,
block,
)
pytestmark = pytest.mark.unit
@pytest.fixture()
def... | 22.872881 | 80 | 0.643016 | 683 | 5,398 | 4.789165 | 0.136164 | 0.048915 | 0.057169 | 0.073983 | 0.790278 | 0.751758 | 0.742892 | 0.742892 | 0.738918 | 0.723326 | 0 | 0.017821 | 0.272323 | 5,398 | 235 | 81 | 22.970213 | 0.814919 | 0.01445 | 0 | 0.68 | 0 | 0 | 0.000384 | 0 | 0 | 0 | 0 | 0 | 0.062857 | 1 | 0.028571 | false | 0.005714 | 0.045714 | 0 | 0.097143 | 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 |
5f539a160e413b2e4710706e394d417f8da45590 | 2,623 | py | Python | pygrank/core/backend/specification.py | maniospas/pygrank | a92f6bb6d13553dd960f2e6bda4c041a8027a9d1 | [
"Apache-2.0"
] | 19 | 2019-10-07T14:42:40.000Z | 2022-03-24T15:02:02.000Z | pygrank/core/backend/specification.py | maniospas/pygrank | a92f6bb6d13553dd960f2e6bda4c041a8027a9d1 | [
"Apache-2.0"
] | 13 | 2021-08-25T12:54:37.000Z | 2022-03-05T03:31:34.000Z | pygrank/core/backend/specification.py | maniospas/pygrank | a92f6bb6d13553dd960f2e6bda4c041a8027a9d1 | [
"Apache-2.0"
] | 4 | 2019-09-25T09:54:51.000Z | 2020-12-09T00:11:21.000Z | from pygrank.core.typing import BackendGraph, BackendPrimitive
from typing import Iterable, Optional, Tuple
def backend_name() -> str: # pragma: no cover
return "no backend loaded"
def backend_init(): # pragma: no cover
pass
def graph_dropout(M: BackendGraph, dropout: BackendPrimitive) -> BackendPrimiti... | 22.808696 | 104 | 0.701106 | 310 | 2,623 | 5.887097 | 0.232258 | 0.12274 | 0.199452 | 0.251507 | 0.668493 | 0.635616 | 0.563288 | 0.356712 | 0.157808 | 0.157808 | 0 | 0.000475 | 0.197103 | 2,623 | 114 | 105 | 23.008772 | 0.866097 | 0.180709 | 0 | 0.465517 | 0 | 0 | 0.008019 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.482759 | false | 0.465517 | 0.034483 | 0.017241 | 0.534483 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
5f8a29602b5f61769a85daac8cf0468be341357a | 3,543 | py | Python | tests/drum/test_drum_runtime.py | andreakropp/datarobot-user-models | 423ab8c703a545491ad6013a0b7efa3119e2c0fc | [
"Apache-2.0"
] | null | null | null | tests/drum/test_drum_runtime.py | andreakropp/datarobot-user-models | 423ab8c703a545491ad6013a0b7efa3119e2c0fc | [
"Apache-2.0"
] | 9 | 2021-11-10T20:16:41.000Z | 2022-03-12T00:59:05.000Z | tests/drum/test_drum_runtime.py | andreakropp/datarobot-user-models | 423ab8c703a545491ad6013a0b7efa3119e2c0fc | [
"Apache-2.0"
] | 1 | 2021-06-17T22:05:33.000Z | 2021-06-17T22:05:33.000Z | import collections
from unittest import mock
import pytest
from datarobot_drum.drum.args_parser import CMRunnerArgsRegistry
from datarobot_drum.drum.common import RunMode
from datarobot_drum.drum.runtime import DrumRuntime
class TestDrumRuntime:
Options = collections.namedtuple(
"Options",
"with... | 40.724138 | 97 | 0.714649 | 370 | 3,543 | 6.527027 | 0.159459 | 0.109317 | 0.121739 | 0.104348 | 0.787164 | 0.787164 | 0.776398 | 0.776398 | 0.776398 | 0.776398 | 0 | 0 | 0.211967 | 3,543 | 86 | 98 | 41.197674 | 0.864971 | 0 | 0 | 0.626866 | 0 | 0 | 0.11177 | 0.086932 | 0 | 0 | 0 | 0 | 0.104478 | 1 | 0.104478 | false | 0.029851 | 0.089552 | 0 | 0.238806 | 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 |
5fad1f9314f35b9f953ccb370f0f47315536b8af | 45 | py | Python | amazon_scraper/__init__.py | picorana/amazon-scraper | 28e9c692ffd0af47a7f90355a53e41c47ddebf7f | [
"Unlicense"
] | 32 | 2017-11-02T08:50:07.000Z | 2021-11-18T14:45:00.000Z | amazon_scraper/__init__.py | picorana/amazon-scraper | 28e9c692ffd0af47a7f90355a53e41c47ddebf7f | [
"Unlicense"
] | 11 | 2017-11-01T16:20:10.000Z | 2019-12-26T12:56:59.000Z | amazon_scraper/__init__.py | picorana/amazon-scraper | 28e9c692ffd0af47a7f90355a53e41c47ddebf7f | [
"Unlicense"
] | 4 | 2018-02-11T08:52:13.000Z | 2021-12-05T19:17:40.000Z | from amazon_scraper.app import AmazonScraper
| 22.5 | 44 | 0.888889 | 6 | 45 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.95122 | 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 |
395c51b1257b20db070e8856b928b87dc77f85d3 | 155 | py | Python | src/effective_python/simple_generator.py | mketiku/python-tutorials | 57f05ed78d5391b0c551c7e064a1b2f4304a3c82 | [
"MIT"
] | 1 | 2022-03-30T00:22:21.000Z | 2022-03-30T00:22:21.000Z | src/effective_python/simple_generator.py | mketiku/python-tutorials | 57f05ed78d5391b0c551c7e064a1b2f4304a3c82 | [
"MIT"
] | null | null | null | src/effective_python/simple_generator.py | mketiku/python-tutorials | 57f05ed78d5391b0c551c7e064a1b2f4304a3c82 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
def simple_generator():
yield 1
yield 2
yield 3
simple_generator()
print(simple_generator)
print(simple_generator()) | 11.923077 | 25 | 0.709677 | 21 | 155 | 5.047619 | 0.571429 | 0.566038 | 0.377358 | 0.490566 | 0.518868 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02381 | 0.187097 | 155 | 13 | 25 | 11.923077 | 0.81746 | 0.129032 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0 | 0 | 0.142857 | 0.285714 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
39d69a4587895bbd0cdc3f66f88fe9b67673fba2 | 261 | py | Python | link/linalg.py | wx-b/link | c99ff6f3026e1d7401516d0564097685ec032ee7 | [
"MIT"
] | 3 | 2021-08-11T02:07:38.000Z | 2021-12-27T11:20:27.000Z | link/linalg.py | wx-b/link | c99ff6f3026e1d7401516d0564097685ec032ee7 | [
"MIT"
] | 1 | 2021-08-11T01:02:20.000Z | 2021-09-25T12:45:37.000Z | link/linalg.py | wx-b/link | c99ff6f3026e1d7401516d0564097685ec032ee7 | [
"MIT"
] | 1 | 2021-08-11T02:08:25.000Z | 2021-08-11T02:08:25.000Z | import numpy as np
def skew(x: np.ndarray) -> np.ndarray:
"""
Args:
x: An array of shape (3,).
Returns:
The skew symmetric array of shape (3, 3).
"""
return np.array([[0, -x[2], x[1]], [x[2], 0, -x[0]], [-x[1], x[0], 0]])
| 20.076923 | 75 | 0.482759 | 45 | 261 | 2.8 | 0.466667 | 0.047619 | 0.190476 | 0.206349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064865 | 0.291188 | 261 | 12 | 76 | 21.75 | 0.616216 | 0.35249 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8410184025fd93ef2b6817670f6d9cf70884e13b | 148 | py | Python | music/admin.py | rishidutta92/django | 5d2fdb94b1c273577512cbd8a0dbb3a7b310f371 | [
"BSD-2-Clause"
] | null | null | null | music/admin.py | rishidutta92/django | 5d2fdb94b1c273577512cbd8a0dbb3a7b310f371 | [
"BSD-2-Clause"
] | null | null | null | music/admin.py | rishidutta92/django | 5d2fdb94b1c273577512cbd8a0dbb3a7b310f371 | [
"BSD-2-Clause"
] | null | null | null | from django.contrib import admin
from . models import Album,song
admin.site.register(Album)
# Register your models here.
admin.site.register(song)
| 21.142857 | 32 | 0.797297 | 22 | 148 | 5.363636 | 0.545455 | 0.152542 | 0.288136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114865 | 148 | 6 | 33 | 24.666667 | 0.900763 | 0.175676 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 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 |
84436bd9e54b8292e30ed0a6b3bb756bcee330f0 | 1,265 | py | Python | SQLAlchemy_expression.py | Wingsgo/sqlachemy-exqmple | b97ab8c56df755064fc38c8d0ed8261957331b8c | [
"MIT"
] | null | null | null | SQLAlchemy_expression.py | Wingsgo/sqlachemy-exqmple | b97ab8c56df755064fc38c8d0ed8261957331b8c | [
"MIT"
] | null | null | null | SQLAlchemy_expression.py | Wingsgo/sqlachemy-exqmple | b97ab8c56df755064fc38c8d0ed8261957331b8c | [
"MIT"
] | null | null | null | >>> from sqlalchemy import select
>>> product_higher_than_one_hundred = select([Product.id]).where(Product.price > 100.00)
>>>
>>> session = DBSession()
>>> session.query(Product).filter(Product.id.in_(product_higher_than_one_hundred)).all()
[( :u'CPU':300.0 ), ( :u'Motherboard':150.0 )]
>>> session.close()
>>> shoppi... | 46.851852 | 119 | 0.726482 | 166 | 1,265 | 5.192771 | 0.222892 | 0.073086 | 0.146172 | 0.116009 | 0.881671 | 0.851508 | 0.770302 | 0.712297 | 0.555684 | 0.468677 | 0 | 0.029235 | 0.080632 | 1,265 | 27 | 120 | 46.851852 | 0.711952 | 0 | 0 | 0.32 | 0 | 0 | 0.033175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.08 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8458879066d6609153a6b137d7bd8b8ed6d401cc | 194 | py | Python | music_collection_manager/__main__.py | nikohonu/music_collection_manager | 74c7eb81badef52e981d905ccebc651c04b4bee6 | [
"MIT"
] | null | null | null | music_collection_manager/__main__.py | nikohonu/music_collection_manager | 74c7eb81badef52e981d905ccebc651c04b4bee6 | [
"MIT"
] | null | null | null | music_collection_manager/__main__.py | nikohonu/music_collection_manager | 74c7eb81badef52e981d905ccebc651c04b4bee6 | [
"MIT"
] | null | null | null | from music_collection_manager.models import MusicCollection
from music_collection_manager.utils import Config
def main():
MusicCollection(Config())
if __name__ == '__main__':
main()
| 17.636364 | 59 | 0.773196 | 22 | 194 | 6.272727 | 0.590909 | 0.130435 | 0.275362 | 0.376812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14433 | 194 | 10 | 60 | 19.4 | 0.831325 | 0 | 0 | 0 | 0 | 0 | 0.041237 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ffd03f974abdfe49296b6264d6933a1e086e9315 | 54 | py | Python | lipanampesa.py | gelson1996/daraja_api | f489092ff09eb9691d7d23973312dd351300dee8 | [
"MIT"
] | null | null | null | lipanampesa.py | gelson1996/daraja_api | f489092ff09eb9691d7d23973312dd351300dee8 | [
"MIT"
] | null | null | null | lipanampesa.py | gelson1996/daraja_api | f489092ff09eb9691d7d23973312dd351300dee8 | [
"MIT"
] | null | null | null | print('Hello ready to craete some mpesa applications') | 54 | 54 | 0.814815 | 8 | 54 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 54 | 1 | 54 | 54 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
fff04d3a77c8b67690fe2c4280c7378b68317a13 | 59 | py | Python | discovery-provider/src/queries/get_route_metrics_test.py | ppak10/audius-protocol | 4dd9df787cbd39f86c5623ce7899b3855b7b314e | [
"Apache-2.0"
] | 429 | 2019-08-14T01:34:07.000Z | 2022-03-30T06:31:38.000Z | discovery-provider/src/queries/get_route_metrics_test.py | ppak10/audius-protocol | 4dd9df787cbd39f86c5623ce7899b3855b7b314e | [
"Apache-2.0"
] | 998 | 2019-08-14T01:52:37.000Z | 2022-03-31T23:17:22.000Z | discovery-provider/src/queries/get_route_metrics_test.py | ppak10/audius-protocol | 4dd9df787cbd39f86c5623ce7899b3855b7b314e | [
"Apache-2.0"
] | 73 | 2019-10-04T04:24:16.000Z | 2022-03-24T16:27:30.000Z | def test():
"""See /tests/test_get_route_metrics.py"""
| 19.666667 | 46 | 0.661017 | 9 | 59 | 4 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 59 | 2 | 47 | 29.5 | 0.705882 | 0.610169 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | true | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
08298ea7ede9e38d20c4f30da379c9550f77c44c | 43 | py | Python | __init__.py | pveiga-abreu/pdf2text | 69eb30f42aaa845e7bfd0269da02c3f6e8a60a16 | [
"MIT"
] | 1 | 2021-09-16T16:50:07.000Z | 2021-09-16T16:50:07.000Z | __init__.py | pveiga-abreu/pdf2text | 69eb30f42aaa845e7bfd0269da02c3f6e8a60a16 | [
"MIT"
] | null | null | null | __init__.py | pveiga-abreu/pdf2text | 69eb30f42aaa845e7bfd0269da02c3f6e8a60a16 | [
"MIT"
] | null | null | null | from .pdf2text import (
PDF2Text
)
| 10.75 | 23 | 0.604651 | 4 | 43 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.325581 | 43 | 3 | 24 | 14.333333 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 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 |
0856e18fc1dac6c13ec918311a9d7f30d14ba2a7 | 48 | py | Python | datasimple/__init__.py | CraigKelly/datasimple | 1458149f789b7aeb0e2d7886bc9ba5fd5600d700 | [
"Apache-2.0"
] | 1 | 2018-05-29T18:12:13.000Z | 2018-05-29T18:12:13.000Z | datasimple/__init__.py | CraigKelly/datasimple | 1458149f789b7aeb0e2d7886bc9ba5fd5600d700 | [
"Apache-2.0"
] | null | null | null | datasimple/__init__.py | CraigKelly/datasimple | 1458149f789b7aeb0e2d7886bc9ba5fd5600d700 | [
"Apache-2.0"
] | null | null | null | """Library for simple data processing tasks."""
| 24 | 47 | 0.729167 | 6 | 48 | 5.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 1 | 48 | 48 | 0.833333 | 0.854167 | 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 |
f22fabfbed6ab4f344fd6a2a6ea6ef3a9c5f8760 | 1,092 | py | Python | layers/searcher/Searcher.py | iamsg08/Joing-Parsing-and-Generation-for-Abstractive-Summarization | a432e6e78ac1b3016c2a5f8788a613772b11da40 | [
"BSD-3-Clause"
] | 29 | 2019-11-17T08:03:28.000Z | 2021-01-06T15:16:05.000Z | layers/searcher/Searcher.py | iamsg08/Joing-Parsing-and-Generation-for-Abstractive-Summarization | a432e6e78ac1b3016c2a5f8788a613772b11da40 | [
"BSD-3-Clause"
] | 1 | 2020-04-30T08:09:39.000Z | 2020-07-24T11:24:02.000Z | layers/searcher/Searcher.py | iamsg08/Joing-Parsing-and-Generation-for-Abstractive-Summarization | a432e6e78ac1b3016c2a5f8788a613772b11da40 | [
"BSD-3-Clause"
] | 4 | 2020-01-04T14:44:46.000Z | 2021-12-20T06:30:04.000Z | #==============================#
# System Import #
#==============================#
#==============================#
# Platform Import #
#==============================#
import torch.nn as nn
#==============================#
# Class/Layer Part Import #
#==============================#... | 30.333333 | 64 | 0.521062 | 110 | 1,092 | 5.063636 | 0.309091 | 0.179533 | 0.125673 | 0.179533 | 0.303411 | 0.303411 | 0.18851 | 0 | 0 | 0 | 0 | 0 | 0.198718 | 1,092 | 36 | 65 | 30.333333 | 0.636571 | 0.247253 | 0 | 0 | 0 | 0 | 0.012422 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.315789 | false | 0 | 0.315789 | 0.263158 | 0.947368 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
f24cd12135bcc361f0c26becb7b12c7bd8aa5354 | 5,992 | py | Python | matlab_ext/measurement/mc-assistant/projects/py_hw_models/hided/air_liq_curves/sqlTest.py | zaqwes8811/coordinator-tasks | 7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a | [
"MIT"
] | null | null | null | matlab_ext/measurement/mc-assistant/projects/py_hw_models/hided/air_liq_curves/sqlTest.py | zaqwes8811/coordinator-tasks | 7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a | [
"MIT"
] | 15 | 2015-03-07T12:46:41.000Z | 2015-04-11T09:08:36.000Z | matlab_ext/measurement/mc-assistant/projects/py_hw_models/trash/_air_or_liq_curves/sqlTest.py | zaqwes8811/micro-apps | 7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a | [
"MIT"
] | null | null | null | #-*- coding: utf-8 -*-
# хранилище
import sqlite3
# Run
if __name__ == '__main__':
conn = sqlite3.connect('Curves.db')
# создаем курсор
c = conn.cursor()
# Create table
c.execute('''
CREATE TABLE if not exists stocks(
NameCurve text primary key,
CurveValue text,
Type boolean
)'''
)
# запись ... | 56 | 184 | 0.587951 | 1,205 | 5,992 | 2.912863 | 0.294606 | 0.013675 | 0.021368 | 0.023932 | 0.31567 | 0.31567 | 0.303134 | 0.287179 | 0.287179 | 0.287179 | 0 | 0.47484 | 0.21729 | 5,992 | 107 | 185 | 56 | 0.273561 | 0.065421 | 0 | 0.275 | 0 | 0.45 | 0.877284 | 0 | 0 | 0 | 0.145468 | 0 | 0 | 0 | null | null | 0 | 0.0125 | null | null | 0.025 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f290b791885d4d3cf7180f249c81061fd1069873 | 53 | py | Python | lizardanalysis/utils/__init__.py | JojoReikun/ClimbingLizardDLCAnalysis | 6cc38090217a3ffd4860ef6d06ba7967d3c10b7c | [
"MIT"
] | 1 | 2021-03-09T19:12:44.000Z | 2021-03-09T19:12:44.000Z | lizardanalysis/utils/__init__.py | JojoReikun/ClimbingLizardDLCAnalysis | 6cc38090217a3ffd4860ef6d06ba7967d3c10b7c | [
"MIT"
] | null | null | null | lizardanalysis/utils/__init__.py | JojoReikun/ClimbingLizardDLCAnalysis | 6cc38090217a3ffd4860ef6d06ba7967d3c10b7c | [
"MIT"
] | null | null | null | from lizardanalysis.utils.auxiliaryfunctions import * | 53 | 53 | 0.886792 | 5 | 53 | 9.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 53 | 1 | 53 | 53 | 0.94 | 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 |
f29157831d19478d2f9698d1b2a7c2a7fad227c3 | 124 | py | Python | osu_map_gen/train/__init__.py | Syps/osu_beatmap_generator | 684b5356bbf79ba847b3ab20e2b6b3a73d7721ad | [
"MIT"
] | 15 | 2018-11-28T12:00:53.000Z | 2022-02-04T05:56:45.000Z | osu_map_gen/train/__init__.py | Syps/osu_beatmap_generator | 684b5356bbf79ba847b3ab20e2b6b3a73d7721ad | [
"MIT"
] | 3 | 2020-07-16T11:40:33.000Z | 2021-06-15T15:13:25.000Z | osu_map_gen/train/__init__.py | Syps/osu_beatmap_generator | 684b5356bbf79ba847b3ab20e2b6b3a73d7721ad | [
"MIT"
] | 4 | 2020-11-12T09:12:39.000Z | 2021-12-26T16:35:11.000Z |
import sys
from .. import definitions
# load submodule files into python path
# sys.path.append(definitions.MODULE_PATH)
| 15.5 | 42 | 0.782258 | 17 | 124 | 5.647059 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145161 | 124 | 7 | 43 | 17.714286 | 0.90566 | 0.629032 | 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 |
f2a48c5c27bd3992f95e57ad139de2cd7edfa95d | 184 | py | Python | replay-topo/init.py | Cyphysecurity/ICS-SDN-1 | c04d9e7bb7ad945166e969e071a2f82fb5bd18bf | [
"MIT"
] | 4 | 2019-12-17T08:59:57.000Z | 2022-01-09T19:52:27.000Z | replay-topo/init.py | Cyphysecurity/ICS-SDN-1 | c04d9e7bb7ad945166e969e071a2f82fb5bd18bf | [
"MIT"
] | 3 | 2020-08-13T16:05:46.000Z | 2021-10-17T07:49:33.000Z | replay-topo/init.py | Cyphysecurity/ICS-SDN-1 | c04d9e7bb7ad945166e969e071a2f82fb5bd18bf | [
"MIT"
] | 4 | 2017-06-14T23:41:50.000Z | 2021-03-01T18:54:03.000Z | from minicps.states import SQLiteState
from utils import PATH, SCHEMA, SCHEMA_INIT
if __name__ == "__main__":
SQLiteState._create(PATH, SCHEMA)
SQLiteState._init(PATH, SCHEMA_INIT)
| 26.285714 | 43 | 0.798913 | 24 | 184 | 5.625 | 0.541667 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11413 | 184 | 6 | 44 | 30.666667 | 0.828221 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 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 |
f2acf36dc6007fa2d5132a6acac07a07686fdaa9 | 67 | py | Python | org/bash/frame/handler.py | Kai-Builder/kobash | 7f3c6fbcb129fd4ea709b07c50c624db4d82a1ca | [
"BSD-3-Clause"
] | null | null | null | org/bash/frame/handler.py | Kai-Builder/kobash | 7f3c6fbcb129fd4ea709b07c50c624db4d82a1ca | [
"BSD-3-Clause"
] | null | null | null | org/bash/frame/handler.py | Kai-Builder/kobash | 7f3c6fbcb129fd4ea709b07c50c624db4d82a1ca | [
"BSD-3-Clause"
] | null | null | null | from org.scripts.lib.libraries.linuxsystemX64.scriptEngine import * | 67 | 67 | 0.865672 | 8 | 67 | 7.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 0.044776 | 67 | 1 | 67 | 67 | 0.875 | 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 |
4b300799b9b205cef828c468b22c940c68d9437e | 681 | py | Python | Gathered CTF writeups/ptr-yudai-writeups/2019/Teaser_CONFidence_2019_CTF/oldschool/decode.py | mihaid-b/CyberSakura | f60e6b6bfd6898c69b84424b080090ae98f8076c | [
"MIT"
] | 1 | 2022-03-27T06:00:41.000Z | 2022-03-27T06:00:41.000Z | Gathered CTF writeups/ptr-yudai-writeups/2019/Teaser_CONFidence_2019_CTF/oldschool/decode.py | mihaid-b/CyberSakura | f60e6b6bfd6898c69b84424b080090ae98f8076c | [
"MIT"
] | null | null | null | Gathered CTF writeups/ptr-yudai-writeups/2019/Teaser_CONFidence_2019_CTF/oldschool/decode.py | mihaid-b/CyberSakura | f60e6b6bfd6898c69b84424b080090ae98f8076c | [
"MIT"
] | 1 | 2022-03-27T06:01:42.000Z | 2022-03-27T06:01:42.000Z | route = [(1, -1), (1, 1), (1, -1), (-1, 1), (-1, 1), (1, -1), (1, -1), (1, 1), (-1, -1), (1, 1), (1, -1), (-1, 1), (1, -1), (-1, 1), (-1, 1), (-1, -1), (1, -1), (1, 1), (-1, -1), (1, -1), (1, -1), (1, 1), (1, -1), (-1, 1), (-1, 1), (-1, 1), (-1, -1), (1, -1), (1, -1), (1, 1), (-1, -1), (1, 1), (1, -1), (1, -1), (-1, -1... | 27.24 | 332 | 0.309838 | 123 | 681 | 1.715447 | 0.121951 | 0.691943 | 0.995261 | 1.308057 | 0.464455 | 0.341232 | 0.341232 | 0.341232 | 0.341232 | 0.341232 | 0 | 0.19181 | 0.318649 | 681 | 24 | 333 | 28.375 | 0.262931 | 0 | 0 | 0.380952 | 0 | 0 | 0.005874 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.095238 | 0 | 0 | 1 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4b32f224d6c6a2586e2548c03aff5fc282f800a8 | 202 | py | Python | __init__.py | cod3licious/simec | 45392475debc37883a79eddb0e90f2669ce0a44e | [
"MIT"
] | 28 | 2016-11-05T16:05:04.000Z | 2022-03-05T15:47:45.000Z | __init__.py | cod3licious/simec | 45392475debc37883a79eddb0e90f2669ce0a44e | [
"MIT"
] | 4 | 2018-04-28T03:10:50.000Z | 2020-06-26T13:59:52.000Z | __init__.py | cod3licious/simec | 45392475debc37883a79eddb0e90f2669ce0a44e | [
"MIT"
] | 5 | 2017-02-10T11:54:37.000Z | 2022-02-17T13:45:45.000Z | from __future__ import unicode_literals, division, print_function, absolute_import
from .simec import SimilarityEncoder, masked_mse, masked_binary_crossentropy, LastLayerReg
from .utils import center_K
| 50.5 | 90 | 0.871287 | 25 | 202 | 6.6 | 0.76 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089109 | 202 | 3 | 91 | 67.333333 | 0.896739 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4baab62ce0176a048e4a86f509579ccedbf3c77f | 4,663 | py | Python | evalne/evaluation/edge_embeddings.py | bhevencious/EvalNE | a62bd11901ea891535f6cb2a05e7abb65b1f3e6f | [
"MIT"
] | null | null | null | evalne/evaluation/edge_embeddings.py | bhevencious/EvalNE | a62bd11901ea891535f6cb2a05e7abb65b1f3e6f | [
"MIT"
] | null | null | null | evalne/evaluation/edge_embeddings.py | bhevencious/EvalNE | a62bd11901ea891535f6cb2a05e7abb65b1f3e6f | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Author: Mara Alexandru Cristian
# Contact: alexandru.mara@ugent.be
# Date: 18/12/2018
# This code provides implementations of several methods for computing edge embeddings from given node feature vectors.
from __future__ import division
import numpy as np
def average... | 32.381944 | 120 | 0.634999 | 706 | 4,663 | 4.152975 | 0.161473 | 0.057981 | 0.052183 | 0.027285 | 0.77899 | 0.761937 | 0.747613 | 0.747613 | 0.747613 | 0.740791 | 0 | 0.012277 | 0.266352 | 4,663 | 143 | 121 | 32.608392 | 0.844782 | 0.628565 | 0 | 0.434783 | 0 | 0 | 0.042283 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.108696 | false | 0 | 0.043478 | 0 | 0.326087 | 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 |
29f6f65b6a9382bcd6bd1fffa765871ec71749d7 | 141 | py | Python | modules/__init__.py | Kandongwe/RunestoneServer | f555868521b3717beec0ec42dbcbcb443c64686c | [
"MIT"
] | 344 | 2015-10-15T20:03:57.000Z | 2022-03-25T18:37:42.000Z | modules/__init__.py | Kandongwe/RunestoneServer | f555868521b3717beec0ec42dbcbcb443c64686c | [
"MIT"
] | 1,170 | 2015-10-15T08:17:03.000Z | 2022-03-28T14:32:47.000Z | modules/__init__.py | Kandongwe/RunestoneServer | f555868521b3717beec0ec42dbcbcb443c64686c | [
"MIT"
] | 278 | 2015-10-12T23:44:38.000Z | 2022-03-19T09:22:47.000Z | # **************************
# |docname| - web2py modules
# **************************
# .. toctree::
# :maxdepth: 2
# :glob:
#
# *.py
| 15.666667 | 28 | 0.297872 | 8 | 141 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017391 | 0.184397 | 141 | 8 | 29 | 17.625 | 0.347826 | 0.879433 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4b1040252af7799ab2d710177f8047301d1ef7f6 | 301 | py | Python | OLD CODE/Robotics/buzzer.py | ahmetakif/Voice-Controlled-Raspberry-Pi-Robot | 00dcc15dfbb7441d6403fb0467b2144e8750cc0c | [
"Apache-2.0"
] | 5 | 2019-08-21T08:08:27.000Z | 2021-06-14T06:56:50.000Z | Robotics/robo/buzzer.py | ahmetakif/Voice-Controlled-Raspberry-Pi-Robot | 00dcc15dfbb7441d6403fb0467b2144e8750cc0c | [
"Apache-2.0"
] | null | null | null | Robotics/robo/buzzer.py | ahmetakif/Voice-Controlled-Raspberry-Pi-Robot | 00dcc15dfbb7441d6403fb0467b2144e8750cc0c | [
"Apache-2.0"
] | 2 | 2019-08-21T08:16:58.000Z | 2021-04-07T11:56:11.000Z |
import RPi.GPIO as gpio
import time
gpio.setmode(gpio.BCM)
gpio.setup(21,gpio.OUT)
gpio.output(21,1)
time.sleep(0.1)
gpio.output(21,0)
time.sleep(0.1)
gpio.output(21,1)
time.sleep(0.1)
gpio.output(21,0)
time.sleep(0.1)
gpio.output(21,1)
time.sleep(0.1)
gpio.output(21,0)
gpio.cleanup()
| 9.40625 | 23 | 0.694352 | 62 | 301 | 3.370968 | 0.241935 | 0.287081 | 0.344498 | 0.263158 | 0.636364 | 0.636364 | 0.636364 | 0.636364 | 0.636364 | 0.636364 | 0 | 0.112782 | 0.116279 | 301 | 31 | 24 | 9.709677 | 0.672932 | 0 | 0 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8a2062dd086e1a6fdb0d2f3ca923411c91d9d346 | 393 | py | Python | snowplow_tracker/__init__.py | vicrep/snowplow-python-tracker | a2c50de16afa32a6fa4ee46d83c2be2b70dbee44 | [
"Apache-2.0"
] | 1 | 2021-09-01T14:23:16.000Z | 2021-09-01T14:23:16.000Z | snowplow_tracker/__init__.py | vicrep/snowplow-python-tracker | a2c50de16afa32a6fa4ee46d83c2be2b70dbee44 | [
"Apache-2.0"
] | 1 | 2019-01-08T17:09:11.000Z | 2019-01-08T17:09:11.000Z | snowplow_tracker/__init__.py | vicrep/snowplow-python-tracker | a2c50de16afa32a6fa4ee46d83c2be2b70dbee44 | [
"Apache-2.0"
] | 1 | 2019-05-10T22:37:16.000Z | 2019-05-10T22:37:16.000Z | from snowplow_tracker._version import __version__
from snowplow_tracker.subject import Subject
from snowplow_tracker.emitters import logger, Emitter, AsyncEmitter, CeleryEmitter, RedisEmitter
from snowplow_tracker.self_describing_json import SelfDescribingJson
from snowplow_tracker.tracker import Tracker
from contracts... | 56.142857 | 96 | 0.890585 | 49 | 393 | 6.816327 | 0.428571 | 0.179641 | 0.284431 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083969 | 393 | 6 | 97 | 65.5 | 0.927778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 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 |
8a2743e9f349800044dadf1fe5647a2088ecae8f | 127 | py | Python | client/admin.py | alexbali/authentication-lab | 83705ec162d7bec8d01cad0725a4fdfc43c6a02c | [
"MIT"
] | null | null | null | client/admin.py | alexbali/authentication-lab | 83705ec162d7bec8d01cad0725a4fdfc43c6a02c | [
"MIT"
] | null | null | null | client/admin.py | alexbali/authentication-lab | 83705ec162d7bec8d01cad0725a4fdfc43c6a02c | [
"MIT"
] | null | null | null | from django.contrib import admin
from rest_framework.authtoken.admin import TokenAdmin
TokenAdmin.raw_id_fields = ('user',)
| 18.142857 | 53 | 0.811024 | 17 | 127 | 5.882353 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110236 | 127 | 6 | 54 | 21.166667 | 0.884956 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8a2e6436e184ccb771a4977106c41d31ab05fd1d | 60 | py | Python | exdir/plugins/__init__.py | knc-neural-calculus/exdir | 5448d41d60c0583892ab7bcf10342d8fb2f2a26b | [
"MIT"
] | 67 | 2017-10-25T11:08:59.000Z | 2022-02-25T18:04:36.000Z | exdir/plugins/__init__.py | knc-neural-calculus/exdir | 5448d41d60c0583892ab7bcf10342d8fb2f2a26b | [
"MIT"
] | 107 | 2017-02-03T16:50:53.000Z | 2022-03-18T04:18:14.000Z | exdir/plugins/__init__.py | knc-neural-calculus/exdir | 5448d41d60c0583892ab7bcf10342d8fb2f2a26b | [
"MIT"
] | 11 | 2018-09-11T11:05:44.000Z | 2022-02-13T10:37:09.000Z | # from . import quantities
# from . import numpy_attributes
| 20 | 32 | 0.766667 | 7 | 60 | 6.428571 | 0.714286 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 60 | 2 | 33 | 30 | 0.9 | 0.916667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8a33b57a0be7ab967dcfe25148d6158c661b0300 | 43 | py | Python | scitorch/_device.py | christophfritz/scitorch | 64660a42bf70ad0d5da848a55fa4bc8b0bcc559e | [
"Apache-2.0"
] | null | null | null | scitorch/_device.py | christophfritz/scitorch | 64660a42bf70ad0d5da848a55fa4bc8b0bcc559e | [
"Apache-2.0"
] | 6 | 2019-01-15T10:38:22.000Z | 2019-03-13T22:09:55.000Z | scitorch/_device.py | christophfritz/scitorch | 64660a42bf70ad0d5da848a55fa4bc8b0bcc559e | [
"Apache-2.0"
] | null | null | null | import torch
DEVICE = torch.device('cpu') | 14.333333 | 28 | 0.72093 | 6 | 43 | 5.166667 | 0.666667 | 0.709677 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 43 | 3 | 28 | 14.333333 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.068182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
76d219c72a9fbf7a3485f7e0400fb1a3452e431f | 9,065 | py | Python | tests/test_orders.py | ChukwuEmekaAjah/buycoins_python | 86547aa742364a0e308b1dfb5f7c73b4467b1e06 | [
"MIT"
] | 1 | 2021-03-25T19:28:48.000Z | 2021-03-25T19:28:48.000Z | tests/test_orders.py | ChukwuEmekaAjah/buycoins_python | 86547aa742364a0e308b1dfb5f7c73b4467b1e06 | [
"MIT"
] | null | null | null | tests/test_orders.py | ChukwuEmekaAjah/buycoins_python | 86547aa742364a0e308b1dfb5f7c73b4467b1e06 | [
"MIT"
] | null | null | null | from buycoins_client import Auth
from buycoins_client import Orders
import unittest
from unittest.mock import patch
class MockResponse:
def __init__(self, json_data, status_code):
self.json_data = json_data
self.status_code = status_code
def json(self):
return self.json_data
class Tes... | 40.288889 | 318 | 0.609266 | 960 | 9,065 | 5.605208 | 0.15 | 0.058539 | 0.036424 | 0.028433 | 0.811188 | 0.7874 | 0.77179 | 0.75525 | 0.68333 | 0.666233 | 0 | 0.016534 | 0.266078 | 9,065 | 224 | 319 | 40.46875 | 0.792274 | 0.134694 | 0 | 0.537931 | 0 | 0 | 0.303646 | 0.046011 | 0 | 0 | 0 | 0 | 0.144828 | 1 | 0.117241 | false | 0 | 0.027586 | 0.006897 | 0.165517 | 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 |
76dc711d032abc2d783277dc6a30d1e7ef8b6903 | 19 | py | Python | hello_world.py | Sahinovic/profiles-rest-api | 054744d87d187ebe21eeae6c252db2fbda1ba5a3 | [
"MIT"
] | null | null | null | hello_world.py | Sahinovic/profiles-rest-api | 054744d87d187ebe21eeae6c252db2fbda1ba5a3 | [
"MIT"
] | null | null | null | hello_world.py | Sahinovic/profiles-rest-api | 054744d87d187ebe21eeae6c252db2fbda1ba5a3 | [
"MIT"
] | null | null | null | print('heloo word') | 19 | 19 | 0.736842 | 3 | 19 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 19 | 1 | 19 | 19 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.5 | 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 |
76e77cd68434c4fc2cb6eb4acaf50eb44dc1d9da | 98 | py | Python | dating_skeleton.py | beluzoni/Machine-Learning-Fundamentals | 5d6e4f8cafe25479f98e6cd50c5ae5dec37691df | [
"MIT"
] | null | null | null | dating_skeleton.py | beluzoni/Machine-Learning-Fundamentals | 5d6e4f8cafe25479f98e6cd50c5ae5dec37691df | [
"MIT"
] | 1 | 2019-01-07T22:09:09.000Z | 2019-01-07T22:09:09.000Z | dating_skeleton.py | beluzoni/Machine-Learning-Fundamentals | 5d6e4f8cafe25479f98e6cd50c5ae5dec37691df | [
"MIT"
] | null | null | null | import pandas as pd
import numpy as np
from matplotlib import pyplot as plt
#Create your df here: | 19.6 | 36 | 0.795918 | 18 | 98 | 4.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183673 | 98 | 5 | 37 | 19.6 | 0.975 | 0.204082 | 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 |
76ee2f1be9aa87a673ac4165b0968ff6682de36e | 81 | py | Python | src/android/toga_android/widgets/box.py | d3r3kk/toga | 2d8c0eb30371c4ef4f0610251233569e9c618e93 | [
"BSD-3-Clause"
] | 1 | 2021-05-05T14:36:08.000Z | 2021-05-05T14:36:08.000Z | src/android/toga_android/widgets/box.py | d3r3kk/toga | 2d8c0eb30371c4ef4f0610251233569e9c618e93 | [
"BSD-3-Clause"
] | null | null | null | src/android/toga_android/widgets/box.py | d3r3kk/toga | 2d8c0eb30371c4ef4f0610251233569e9c618e93 | [
"BSD-3-Clause"
] | null | null | null | from .base import Widget
class Box(Widget):
def create(self):
pass
| 11.571429 | 24 | 0.62963 | 11 | 81 | 4.636364 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283951 | 81 | 6 | 25 | 13.5 | 0.87931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
76f75d3f3dce5e0e0a23602299b3da4e787944a8 | 38 | py | Python | virtual/Lib/site-packages/pylint/test/regrtest_data/bad_package/__init__.py | JamesKimari/pitch-one | aac9007716bf2e3b6446588a06508fac068f3d20 | [
"MIT"
] | 35 | 2016-09-22T22:53:14.000Z | 2020-02-13T15:12:21.000Z | virtual/Lib/site-packages/pylint/test/regrtest_data/bad_package/__init__.py | JamesKimari/pitch-one | aac9007716bf2e3b6446588a06508fac068f3d20 | [
"MIT"
] | 32 | 2018-05-01T05:24:43.000Z | 2022-03-11T23:20:39.000Z | flask/Lib/site-packages/pylint/test/regrtest_data/bad_package/__init__.py | koyota79/weekly-report | a9f518965d9f51e81c13711a8b0bfda336eae2a0 | [
"bzip2-1.0.6"
] | 88 | 2016-11-27T02:16:11.000Z | 2020-02-28T05:10:26.000Z | import missing
raise missing.Missing.. | 19 | 23 | 0.842105 | 5 | 38 | 6.4 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078947 | 38 | 2 | 23 | 19 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
0a23ac88a9c3c85806794f7489cc4a657db875dc | 250 | py | Python | virtualenv/Lib/site-packages/tdl/queue/abstractions/response/fatal_error_response.py | DPNT-Sourcecode/CHK-hbjk01 | 270d6dc5433845352a27ab5caa8bc1d5ecf1236c | [
"Apache-2.0"
] | null | null | null | virtualenv/Lib/site-packages/tdl/queue/abstractions/response/fatal_error_response.py | DPNT-Sourcecode/CHK-hbjk01 | 270d6dc5433845352a27ab5caa8bc1d5ecf1236c | [
"Apache-2.0"
] | 7 | 2015-12-09T20:56:28.000Z | 2020-01-27T12:48:17.000Z | virtualenv/Lib/site-packages/tdl/queue/abstractions/response/fatal_error_response.py | DPNT-Sourcecode/CHK-hbjk01 | 270d6dc5433845352a27ab5caa8bc1d5ecf1236c | [
"Apache-2.0"
] | 1 | 2015-09-03T18:33:05.000Z | 2015-09-03T18:33:05.000Z |
class FatalErrorResponse:
def __init__(self, message):
self._message = message
self.result = message
self.id = "error"
def get_audit_text(self):
return 'error = "{0}", (NOT PUBLISHED)'.format(self._message)
| 22.727273 | 69 | 0.62 | 28 | 250 | 5.25 | 0.607143 | 0.22449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005405 | 0.26 | 250 | 10 | 70 | 25 | 0.789189 | 0 | 0 | 0 | 0 | 0 | 0.140562 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0 | 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 |
0a62a6dc6491517353481ccd653ab5277df773f4 | 122 | py | Python | messengerext/events/admin.py | groupsome/groupsome | 4edcf30d66ff458c4df37d3198ef187219a768d7 | [
"MIT"
] | 6 | 2016-10-07T13:43:17.000Z | 2017-10-07T22:34:44.000Z | messengerext/events/admin.py | groupsome/groupsome | 4edcf30d66ff458c4df37d3198ef187219a768d7 | [
"MIT"
] | null | null | null | messengerext/events/admin.py | groupsome/groupsome | 4edcf30d66ff458c4df37d3198ef187219a768d7 | [
"MIT"
] | 1 | 2020-07-15T04:29:31.000Z | 2020-07-15T04:29:31.000Z | from django.contrib import admin
from events.models import Event
# Register your models here.
admin.site.register(Event)
| 20.333333 | 32 | 0.811475 | 18 | 122 | 5.5 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122951 | 122 | 5 | 33 | 24.4 | 0.925234 | 0.213115 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6a61e19bd15516ab5146e6396e46688a06dcace1 | 29 | py | Python | openstack_client/__init__.py | uzum/cran-orchestrator | c2235bf324c8c04e82960ca58ec49f2f700c065d | [
"MIT"
] | null | null | null | openstack_client/__init__.py | uzum/cran-orchestrator | c2235bf324c8c04e82960ca58ec49f2f700c065d | [
"MIT"
] | null | null | null | openstack_client/__init__.py | uzum/cran-orchestrator | c2235bf324c8c04e82960ca58ec49f2f700c065d | [
"MIT"
] | null | null | null | from .server import OCServer
| 14.5 | 28 | 0.827586 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 29 | 1 | 29 | 29 | 0.96 | 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 |
6a7765bea8cc2fa5f6cc039cb43fc441da9fbbfb | 18 | py | Python | dbt/adapters/sqlserver/__version__.py | alangsbo/dbt-sqlserver | 87871676707e771461bc4a6e7db892d90d53ea7a | [
"MIT"
] | null | null | null | dbt/adapters/sqlserver/__version__.py | alangsbo/dbt-sqlserver | 87871676707e771461bc4a6e7db892d90d53ea7a | [
"MIT"
] | null | null | null | dbt/adapters/sqlserver/__version__.py | alangsbo/dbt-sqlserver | 87871676707e771461bc4a6e7db892d90d53ea7a | [
"MIT"
] | null | null | null | version = '0.18.1' | 18 | 18 | 0.611111 | 4 | 18 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.111111 | 18 | 1 | 18 | 18 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6a8fd727fa00fca8f37716747f17a670ba9b42c2 | 1,630 | py | Python | GPU_Computer/catkin_ws/build/darknet_ros/darknet_ros_msgs/cmake/darknet_ros_msgs-genmsg-context.py | HYEON-JIN-KWON/Drone_Project | 81d0ea6532f9edb27be7d1d534f3e48f302203d4 | [
"MIT"
] | null | null | null | GPU_Computer/catkin_ws/build/darknet_ros/darknet_ros_msgs/cmake/darknet_ros_msgs-genmsg-context.py | HYEON-JIN-KWON/Drone_Project | 81d0ea6532f9edb27be7d1d534f3e48f302203d4 | [
"MIT"
] | null | null | null | GPU_Computer/catkin_ws/build/darknet_ros/darknet_ros_msgs/cmake/darknet_ros_msgs-genmsg-context.py | HYEON-JIN-KWON/Drone_Project | 81d0ea6532f9edb27be7d1d534f3e48f302203d4 | [
"MIT"
] | 2 | 2021-05-18T07:04:23.000Z | 2021-05-23T13:22:13.000Z | # generated from genmsg/cmake/pkg-genmsg.context.in
messages_str = "/home/pnu/catkin_ws/src/darknet_ros/darknet_ros_msgs/msg/BoundingBox.msg;/home/pnu/catkin_ws/src/darknet_ros/darknet_ros_msgs/msg/BoundingBoxes.msg;/home/pnu/catkin_ws/src/darknet_ros/darknet_ros_msgs/msg/ObjectCount.msg;/home/pnu/catkin_ws/devel/shar... | 135.833333 | 808 | 0.838037 | 253 | 1,630 | 5.106719 | 0.249012 | 0.147059 | 0.162539 | 0.139319 | 0.510062 | 0.44195 | 0.44195 | 0.420279 | 0.420279 | 0.420279 | 0 | 0.000627 | 0.020859 | 1,630 | 11 | 809 | 148.181818 | 0.808897 | 0.030061 | 0 | 0 | 1 | 0.222222 | 0.871438 | 0.848638 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6a9c74cb85800ca6fa81559da1ab301d49d188bb | 3,929 | py | Python | cpp/cpp_if.py | btc-ag/revengtools | d58680ef7d6bdc8ef518860d5d13a5acc0d01758 | [
"Apache-2.0"
] | 2 | 2019-07-15T14:59:59.000Z | 2022-01-18T14:23:54.000Z | cpp/cpp_if.py | btc-ag/revengtools | d58680ef7d6bdc8ef518860d5d13a5acc0d01758 | [
"Apache-2.0"
] | 10 | 2018-05-03T13:25:07.000Z | 2021-06-25T15:14:55.000Z | cpp/cpp_if.py | btc-ag/revengtools | d58680ef7d6bdc8ef518860d5d13a5acc0d01758 | [
"Apache-2.0"
] | 1 | 2018-05-02T13:59:27.000Z | 2018-05-02T13:59:27.000Z | #! /usr/bin/env python
# -*- coding: UTF-8 -*-
'''
Created on 22.09.2010
@author: SIGIESEC
'''
from commons.config_if import AutoConfigurable
from commons.core_if import EnumerationItem, Enumeration
class HeaderListSupply(AutoConfigurable):
def get_header_list(self):
raise NotImplementedError(self.__clas... | 32.471074 | 103 | 0.73632 | 412 | 3,929 | 6.61165 | 0.359223 | 0.15859 | 0.185022 | 0.218062 | 0.411894 | 0.381057 | 0.347651 | 0.270191 | 0.240455 | 0.171806 | 0 | 0.002823 | 0.188598 | 3,929 | 120 | 104 | 32.741667 | 0.851631 | 0.170018 | 0 | 0.28169 | 0 | 0 | 0.005962 | 0 | 0 | 0 | 0 | 0.025 | 0 | 1 | 0.295775 | false | 0.014085 | 0.028169 | 0.014085 | 0.647887 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
6abbf82251970cd2e5a311f6940fee0230da6099 | 538 | py | Python | tests/y_2015/test_2015_day1.py | Stegallo/adventofcode | 74cd3725318150a4fee397a9388326d56ca49333 | [
"MIT"
] | 4 | 2020-11-28T15:46:43.000Z | 2021-12-02T22:37:27.000Z | tests/y_2015/test_2015_day1.py | Stegallo/adventofcode | 74cd3725318150a4fee397a9388326d56ca49333 | [
"MIT"
] | 80 | 2020-07-02T19:01:20.000Z | 2021-12-06T03:48:46.000Z | tests/y_2015/test_2015_day1.py | Stegallo/adventofcode | 74cd3725318150a4fee397a9388326d56ca49333 | [
"MIT"
] | 2 | 2021-04-04T06:22:56.000Z | 2021-05-03T20:23:51.000Z | from y_2015.day1 import calculate_1, calculate_2
def test_calculate_1():
assert calculate_1("(())") == 0
assert calculate_1("()()") == 0
assert calculate_1("(((") == 3
assert calculate_1("(()(()(") == 3
assert calculate_1("))(((((") == 3
assert calculate_1("())") == -1
assert calculate_1("... | 26.9 | 48 | 0.550186 | 65 | 538 | 4.261538 | 0.215385 | 0.649819 | 0.519856 | 0.306859 | 0.552347 | 0.552347 | 0.552347 | 0.364621 | 0.241877 | 0.241877 | 0 | 0.076923 | 0.202602 | 538 | 19 | 49 | 28.315789 | 0.568765 | 0 | 0 | 0 | 0 | 0 | 0.089219 | 0 | 0 | 0 | 0 | 0 | 0.8 | 1 | 0.133333 | true | 0 | 0.066667 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6accff745a134496f560abe15e50b42be70294b6 | 13,817 | py | Python | tests/unit/modules/test_parted.py | dmyerscough/salt | d7b19ab64f0695568f78c12b4ba209e033903804 | [
"Apache-2.0"
] | 1 | 2021-08-14T13:48:38.000Z | 2021-08-14T13:48:38.000Z | tests/unit/modules/test_parted.py | dmyerscough/salt | d7b19ab64f0695568f78c12b4ba209e033903804 | [
"Apache-2.0"
] | 3 | 2015-03-31T14:44:05.000Z | 2015-06-18T19:02:24.000Z | tests/unit/modules/test_parted.py | dmyerscough/salt | d7b19ab64f0695568f78c12b4ba209e033903804 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
'''
:codeauthor: :email:`Dave Rawks (dave@pandora.com)`
tests.unit.modules.parted_test
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
'''
# Import Python libs
from __future__ import absolute_import
# Import Salt Testing libs
from tests.support.mixins import LoaderModuleMockMixin
from tests.sup... | 40.878698 | 108 | 0.490772 | 1,339 | 13,817 | 4.851382 | 0.123973 | 0.028633 | 0.051724 | 0.036946 | 0.789101 | 0.773399 | 0.773399 | 0.75431 | 0.75431 | 0.713824 | 0 | 0.039519 | 0.37367 | 13,817 | 337 | 109 | 41 | 0.711116 | 0.044149 | 0 | 0.643411 | 0 | 0 | 0.22085 | 0.05119 | 0 | 0 | 0 | 0 | 0.112403 | 1 | 0.081395 | false | 0 | 0.023256 | 0 | 0.116279 | 0.073643 | 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 |
0a773e7735124c957f70c7f288150c1a89d7516d | 339 | py | Python | pythonProject2/exercicios/exercicio38.py | DeyvidMonteiro/PycharmProjects | c8fb45f05bbbaab41a20ff22f0e60fdde87210af | [
"MIT"
] | null | null | null | pythonProject2/exercicios/exercicio38.py | DeyvidMonteiro/PycharmProjects | c8fb45f05bbbaab41a20ff22f0e60fdde87210af | [
"MIT"
] | null | null | null | pythonProject2/exercicios/exercicio38.py | DeyvidMonteiro/PycharmProjects | c8fb45f05bbbaab41a20ff22f0e60fdde87210af | [
"MIT"
] | null | null | null | from random import randint
numeros = randint(1, 10), randint(1, 10), randint(1, 10), randint(1, 10),\
randint(1, 10), randint(1, 10),
print(f'Os valores sorteados foram : ', end='')
for n in numeros:
print(f'{n} ', end='')
print(f'\nO maior valor sorteado foi {max(numeros)}')
print(f'O menor numero sorteado foi... | 33.9 | 74 | 0.657817 | 56 | 339 | 3.982143 | 0.482143 | 0.215247 | 0.269058 | 0.381166 | 0.269058 | 0.269058 | 0.269058 | 0.269058 | 0.269058 | 0.269058 | 0 | 0.062937 | 0.156342 | 339 | 9 | 75 | 37.666667 | 0.716783 | 0 | 0 | 0 | 0 | 0 | 0.349112 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.5 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
0ac190d3dce6a5003795d895b3f95776c2a6b1e1 | 197 | py | Python | aoc2021/tests/test_day18.py | e-jameson/aoc | f26196d5564a9ac8027532c276af00aaf3718c6e | [
"MIT"
] | null | null | null | aoc2021/tests/test_day18.py | e-jameson/aoc | f26196d5564a9ac8027532c276af00aaf3718c6e | [
"MIT"
] | null | null | null | aoc2021/tests/test_day18.py | e-jameson/aoc | f26196d5564a9ac8027532c276af00aaf3718c6e | [
"MIT"
] | null | null | null | from aoc.day18 import part1, part2
#
# --- Part One ---
#
def test_part1():
assert part1.result(None) == None
#
# --- Part Two ---
#
def test_part2():
assert part2.result(None) == None
| 12.3125 | 37 | 0.598985 | 26 | 197 | 4.461538 | 0.538462 | 0.12069 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.051948 | 0.218274 | 197 | 15 | 38 | 13.133333 | 0.701299 | 0.167513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.4 | true | 0 | 0.2 | 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 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
0ad95c60c545c21fde9aa34cadda25bb4491b679 | 107 | py | Python | tests/k8s/conftest.py | pawelkopka/kopf | 51a3a70e09a17cf3baec2946b64b125a90595cf4 | [
"MIT"
] | 1,038 | 2019-03-26T16:32:56.000Z | 2022-03-27T09:15:03.000Z | tests/k8s/conftest.py | pawelkopka/kopf | 51a3a70e09a17cf3baec2946b64b125a90595cf4 | [
"MIT"
] | 393 | 2019-03-26T13:43:42.000Z | 2020-09-14T13:18:14.000Z | tests/k8s/conftest.py | pawelkopka/kopf | 51a3a70e09a17cf3baec2946b64b125a90595cf4 | [
"MIT"
] | 116 | 2019-03-31T23:01:09.000Z | 2022-03-18T16:44:58.000Z | import pytest
@pytest.fixture(autouse=True)
def _autouse_resp_mocker(resp_mocker, version_api):
pass
| 15.285714 | 51 | 0.794393 | 15 | 107 | 5.333333 | 0.733333 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121495 | 107 | 6 | 52 | 17.833333 | 0.851064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
0adf85c5c2698e32f5625c72580f7959f7948d25 | 67 | py | Python | bees/b/__init__.py | jcarizza/serverfull | 4fced3c81997c7105e4f558d5314eee76f525f18 | [
"MIT"
] | 1 | 2021-01-14T16:59:39.000Z | 2021-01-14T16:59:39.000Z | bees/b/__init__.py | jcarizza/serverfull | 4fced3c81997c7105e4f558d5314eee76f525f18 | [
"MIT"
] | null | null | null | bees/b/__init__.py | jcarizza/serverfull | 4fced3c81997c7105e4f558d5314eee76f525f18 | [
"MIT"
] | 1 | 2020-03-19T13:55:14.000Z | 2020-03-19T13:55:14.000Z | def handler(request):
return f"Hi there!, this is B {request}"
| 22.333333 | 44 | 0.671642 | 11 | 67 | 4.090909 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19403 | 67 | 2 | 45 | 33.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.447761 | 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 |
0af883b0cd98ae89ea3a6ca9b0ef4de94fe56be4 | 300 | py | Python | Chapter 4/restful_python_chapter_04_05/gamesapi/games/admin.py | Mohamed2011-bit/Building-RESTful-Python-Web-Services | 503c9b5fec57eeb58397514f3168c3c5248724a3 | [
"MIT"
] | 116 | 2016-12-07T00:50:04.000Z | 2022-03-31T06:34:02.000Z | Chapter 4/restful_python_chapter_04_05/gamesapi/games/admin.py | Mohamed2011-bit/Building-RESTful-Python-Web-Services | 503c9b5fec57eeb58397514f3168c3c5248724a3 | [
"MIT"
] | 5 | 2018-09-29T20:48:05.000Z | 2021-06-10T18:21:51.000Z | Chapter 4/restful_python_chapter_04_05/gamesapi/games/admin.py | Mohamed2011-bit/Building-RESTful-Python-Web-Services | 503c9b5fec57eeb58397514f3168c3c5248724a3 | [
"MIT"
] | 79 | 2017-01-02T05:16:01.000Z | 2022-02-16T04:23:52.000Z | """
Book: Building RESTful Python Web Services
Chapter 4: Throttling, Filtering, Testing and Deploying an API with Django
Author: Gaston C. Hillar - Twitter.com/gastonhillar
Publisher: Packt Publishing Ltd. - http://www.packtpub.com
"""
from django.contrib import admin
# Register your models here.
| 30 | 74 | 0.776667 | 41 | 300 | 5.682927 | 0.95122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003861 | 0.136667 | 300 | 9 | 75 | 33.333333 | 0.895753 | 0.853333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e400096bd1f34be745d29be20dba6c39f4b1a6e2 | 349 | py | Python | radonpy/ff/__init__.py | RadonPy/RadonPy | f3bf51a9273cf630d1ba259b454551f3713724d8 | [
"BSD-3-Clause"
] | 1 | 2022-03-30T00:09:58.000Z | 2022-03-30T00:09:58.000Z | radonpy/ff/__init__.py | RadonPy/RadonPy | f3bf51a9273cf630d1ba259b454551f3713724d8 | [
"BSD-3-Clause"
] | null | null | null | radonpy/ff/__init__.py | RadonPy/RadonPy | f3bf51a9273cf630d1ba259b454551f3713724d8 | [
"BSD-3-Clause"
] | null | null | null | # ******************************************************************************
# RadonPy ff.__init__
# ******************************************************************************
from .gaff import GAFF
from .gaff2 import GAFF2
from .gaff2_mod import GAFF2_mod
#from .dreiding import Dreiding
#from .pcff import PCF... | 29.083333 | 80 | 0.421203 | 29 | 349 | 4.862069 | 0.37931 | 0.12766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018987 | 0.094556 | 349 | 11 | 81 | 31.727273 | 0.427215 | 0.724928 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7c4480ca7fcc2a8e377901a38769b2ab5d0a0853 | 53 | py | Python | enthought/util/wx/drag_and_drop.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/util/wx/drag_and_drop.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/util/wx/drag_and_drop.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from pyface.wx.drag_and_drop import *
| 17.666667 | 37 | 0.792453 | 9 | 53 | 4.444444 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 53 | 2 | 38 | 26.5 | 0.869565 | 0.226415 | 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 |
7ca17b1df719d942c7133ab741e0658009d77a17 | 211 | py | Python | goflow/graphics2/urls_admin.py | mikewolfli/django2-goflow | 136afbfd90205ee83b2d50ac1be6a6b207fbcdf8 | [
"MIT"
] | 10 | 2018-08-10T15:07:29.000Z | 2021-11-05T23:14:47.000Z | goflow/graphics2/urls_admin.py | mikewolfli/django2-goflow | 136afbfd90205ee83b2d50ac1be6a6b207fbcdf8 | [
"MIT"
] | 5 | 2019-11-20T06:09:00.000Z | 2022-03-11T23:26:40.000Z | goflow/graphics2/urls_admin.py | mikewolfli/django2-goflow | 136afbfd90205ee83b2d50ac1be6a6b207fbcdf8 | [
"MIT"
] | 1 | 2018-08-10T15:07:37.000Z | 2018-08-10T15:07:37.000Z | from django.urls import path
from goflow.graphics2 import views as goflow_graphics2_views
urlpatterns = [
path('processimage/<int:process_id>/pos_activity/', goflow_graphics2_views.pos_activity),
]
| 26.375 | 94 | 0.777251 | 27 | 211 | 5.814815 | 0.592593 | 0.286624 | 0.254777 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016484 | 0.137441 | 211 | 7 | 95 | 30.142857 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0.210784 | 0.210784 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 |
7ca50aa5e48c383df1c2efe216531a603b7863b3 | 727 | py | Python | kyu6/tests/test_autocorrect.py | juanshishido/codewars | d50d4ac07ddcc00fa2f7c367ec39cdb5e274d8da | [
"MIT"
] | null | null | null | kyu6/tests/test_autocorrect.py | juanshishido/codewars | d50d4ac07ddcc00fa2f7c367ec39cdb5e274d8da | [
"MIT"
] | null | null | null | kyu6/tests/test_autocorrect.py | juanshishido/codewars | d50d4ac07ddcc00fa2f7c367ec39cdb5e274d8da | [
"MIT"
] | null | null | null | import unittest
from kyu6.autocorrect import autocorrect
class TestAutocorrect(unittest.TestCase):
def test_u(self):
self.assertEquals('your sister', autocorrect('u'))
def test_you(self):
self.assertEquals('your sister', autocorrect('you'))
def test_You(self):
self.assertEquals... | 25.964286 | 74 | 0.674003 | 84 | 727 | 5.738095 | 0.25 | 0.10166 | 0.290456 | 0.19917 | 0.408714 | 0.408714 | 0.238589 | 0.238589 | 0.238589 | 0.238589 | 0 | 0.001701 | 0.191197 | 727 | 27 | 75 | 26.925926 | 0.818027 | 0 | 0 | 0 | 0 | 0 | 0.151307 | 0 | 0 | 0 | 0 | 0 | 0.411765 | 1 | 0.411765 | false | 0 | 0.117647 | 0 | 0.588235 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
7cc88654be9d7939bcad8aca35e3bfc7de647215 | 45 | py | Python | tests/contrib/django/fake2/__init__.py | lyrixderaven/apm-agent-python | e21b306da70995ca1582666378b7059495ff1bee | [
"BSD-3-Clause"
] | 2 | 2019-02-15T20:23:39.000Z | 2019-02-15T20:26:06.000Z | tests/contrib/django/fake2/__init__.py | lyrixderaven/apm-agent-python | e21b306da70995ca1582666378b7059495ff1bee | [
"BSD-3-Clause"
] | null | null | null | tests/contrib/django/fake2/__init__.py | lyrixderaven/apm-agent-python | e21b306da70995ca1582666378b7059495ff1bee | [
"BSD-3-Clause"
] | null | null | null | class FakeException(BaseException):
pass
| 15 | 35 | 0.777778 | 4 | 45 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155556 | 45 | 2 | 36 | 22.5 | 0.921053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
8630712c6c6d2bf8e4b7f13ee0c47e390110e61d | 71 | py | Python | restaurants/tests/test_models.py | mredisax/Gastrofaza24 | c3d92c74112c34444bcb983a53ca1987989fbace | [
"MIT"
] | null | null | null | restaurants/tests/test_models.py | mredisax/Gastrofaza24 | c3d92c74112c34444bcb983a53ca1987989fbace | [
"MIT"
] | 8 | 2019-10-08T16:02:40.000Z | 2021-08-05T17:56:06.000Z | restaurants/tests/test_models.py | mredisax/Gastrofaza24 | c3d92c74112c34444bcb983a53ca1987989fbace | [
"MIT"
] | 2 | 2020-02-20T05:40:10.000Z | 2021-04-30T16:37:44.000Z | from django.test import TestCase
from restaurants.models import Place
| 17.75 | 36 | 0.84507 | 10 | 71 | 6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 71 | 3 | 37 | 23.666667 | 0.967742 | 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 |
8663ffa911722f6c6e62198b43d1eaa5548ead40 | 645 | py | Python | gym/envs/leg_learning/__init__.py | abhiksingla/gym | 8c897619696a089db773691919d394990edb36eb | [
"Python-2.0",
"OLDAP-2.7"
] | null | null | null | gym/envs/leg_learning/__init__.py | abhiksingla/gym | 8c897619696a089db773691919d394990edb36eb | [
"Python-2.0",
"OLDAP-2.7"
] | null | null | null | gym/envs/leg_learning/__init__.py | abhiksingla/gym | 8c897619696a089db773691919d394990edb36eb | [
"Python-2.0",
"OLDAP-2.7"
] | null | null | null | # from gym.envs.robotics.fetch_env import FetchEnv
# from gym.envs.robotics.fetch.slide import FetchSlideEnv
# from gym.envs.robotics.fetch.pick_and_place import FetchPickAndPlaceEnv
# from gym.envs.robotics.fetch.push import FetchPushEnv
# from gym.envs.robotics.fetch.reach import FetchReachEnv
# from gym.envs.roboti... | 46.071429 | 73 | 0.835659 | 92 | 645 | 5.793478 | 0.282609 | 0.144465 | 0.227017 | 0.320826 | 0.643527 | 0.34334 | 0.34334 | 0 | 0 | 0 | 0 | 0 | 0.085271 | 645 | 13 | 74 | 49.615385 | 0.90339 | 0.795349 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
86f517d28126d91ba4ef9d5046714bdf071c4c83 | 19,258 | py | Python | examples/unfinished/flp_nonlinear.py | gasse/PySCIPOpt | 2dd37997297ab226bed69cc48b7c606131fed1a9 | [
"MIT"
] | 311 | 2016-05-19T14:31:41.000Z | 2020-11-16T07:54:41.000Z | examples/unfinished/flp_nonlinear.py | gasse/PySCIPOpt | 2dd37997297ab226bed69cc48b7c606131fed1a9 | [
"MIT"
] | 380 | 2016-05-19T15:52:43.000Z | 2020-11-16T20:09:16.000Z | examples/unfinished/flp_nonlinear.py | gasse/PySCIPOpt | 2dd37997297ab226bed69cc48b7c606131fed1a9 | [
"MIT"
] | 165 | 2016-05-19T16:19:11.000Z | 2020-11-10T19:04:35.000Z | # todo
"""
flp_nonlinear.py: piecewise linear model for the capacitated facility location problem
minimize the total (weighted) travel cost from n customers to a
given set of facilities, with fixed costs and limited capacities;
costs are nonlinear (square root of the total quantity serviced
by a facility).
Approache... | 33.260794 | 106 | 0.547045 | 3,187 | 19,258 | 3.265453 | 0.077502 | 0.01768 | 0.031133 | 0.036322 | 0.778034 | 0.759104 | 0.747093 | 0.72432 | 0.719516 | 0.70712 | 0 | 0.017179 | 0.298733 | 19,258 | 578 | 107 | 33.318339 | 0.753425 | 0.357462 | 0 | 0.6 | 0 | 0 | 0.102676 | 0 | 0 | 0 | 0 | 0.00173 | 0.003077 | 1 | 0.030769 | false | 0 | 0.021538 | 0.003077 | 0.083077 | 0.064615 | 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 |
86fbc0c32add31a2666211620dcb4aa45d6f19a4 | 12,648 | py | Python | firecares/firestation/migrations/0016_auto_20151006_1131.py | FireCARES/firecares | aa708d441790263206dd3a0a480eb6ca9031439d | [
"MIT"
] | 12 | 2016-01-30T02:28:35.000Z | 2019-05-29T15:49:56.000Z | firecares/firestation/migrations/0016_auto_20151006_1131.py | FireCARES/firecares | aa708d441790263206dd3a0a480eb6ca9031439d | [
"MIT"
] | 455 | 2015-07-27T20:21:56.000Z | 2022-03-11T23:26:20.000Z | firecares/firestation/migrations/0016_auto_20151006_1131.py | FireCARES/firecares | aa708d441790263206dd3a0a480eb6ca9031439d | [
"MIT"
] | 14 | 2015-07-29T09:45:53.000Z | 2020-10-21T20:03:17.000Z | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('firestation', '0015_auto_20150901_1056'),
]
stations = [(25852, 73144), (22168, 75975), (50316, 78189), (53370, 93639), (53447, 7332... | 903.428571 | 12,131 | 0.628795 | 1,584 | 12,648 | 5.010101 | 0.809343 | 0.004284 | 0.007056 | 0.007813 | 0.020665 | 0.020665 | 0.009829 | 0 | 0 | 0 | 0 | 0.684634 | 0.125791 | 12,648 | 14 | 12,132 | 903.428571 | 0.033101 | 0.00166 | 0 | 0 | 0 | 0 | 0.016553 | 0.0099 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
811ce141d89f518abb28f17f6417becf4a4068d9 | 235 | py | Python | labs/ex04/template/__init__.py | kcyu1993/ML_course_kyu | 99671281bcf83cbcd75d1c57772bdfdf79d28aff | [
"MIT"
] | null | null | null | labs/ex04/template/__init__.py | kcyu1993/ML_course_kyu | 99671281bcf83cbcd75d1c57772bdfdf79d28aff | [
"MIT"
] | null | null | null | labs/ex04/template/__init__.py | kcyu1993/ML_course_kyu | 99671281bcf83cbcd75d1c57772bdfdf79d28aff | [
"MIT"
] | null | null | null | from __future__ import absolute_import
from . import build_polynomial
from . import costs
from . import helpers
from . import plots
from . import least_squares
from . import split_data
from . import ridge_regression
from . import ex04
| 23.5 | 38 | 0.812766 | 33 | 235 | 5.515152 | 0.484848 | 0.43956 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01005 | 0.153191 | 235 | 9 | 39 | 26.111111 | 0.904523 | 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 |
d4c79849630a42599ef052310cb4c3a0511a6329 | 26 | py | Python | tests/cnert/__init__.py | maartenq/cnert | 6467854c9022ab24d4c445275ab3feb7d0289076 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | tests/cnert/__init__.py | maartenq/cnert | 6467854c9022ab24d4c445275ab3feb7d0289076 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | 2 | 2022-01-03T18:32:43.000Z | 2022-01-31T19:09:50.000Z | tests/cnert/__init__.py | maartenq/cnert | 6467854c9022ab24d4c445275ab3feb7d0289076 | [
"ECL-2.0",
"Apache-2.0",
"MIT-0",
"MIT"
] | null | null | null | # tests/cnert/__init__.py
| 13 | 25 | 0.769231 | 4 | 26 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 26 | 1 | 26 | 26 | 0.666667 | 0.884615 | 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 |
d4ecf53cc47cce7b6a49029cf08f21ccc8f1a8f9 | 27 | py | Python | graphene/graphene_core/relation_extraction/model/extraction.py | kkatsamaktsis/PyGraphene | 0e9db929d8471df5048e35e37d86de74a0f733d2 | [
"MIT"
] | null | null | null | graphene/graphene_core/relation_extraction/model/extraction.py | kkatsamaktsis/PyGraphene | 0e9db929d8471df5048e35e37d86de74a0f733d2 | [
"MIT"
] | null | null | null | graphene/graphene_core/relation_extraction/model/extraction.py | kkatsamaktsis/PyGraphene | 0e9db929d8471df5048e35e37d86de74a0f733d2 | [
"MIT"
] | null | null | null | class Extraction:
pass
| 9 | 17 | 0.703704 | 3 | 27 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259259 | 27 | 2 | 18 | 13.5 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
d4f1e95dec22cbc9b7319c124604efd3574f9f22 | 215 | py | Python | settings.py | akshaykr/oracle_cb | 68f10fce5eca8ebe3f57fd5a56a0ef8d82537ab4 | [
"MIT"
] | 26 | 2017-08-02T19:58:06.000Z | 2021-11-03T06:31:01.000Z | settings.py | akshaykr/oracle_cb | 68f10fce5eca8ebe3f57fd5a56a0ef8d82537ab4 | [
"MIT"
] | 1 | 2020-03-03T06:06:32.000Z | 2020-03-03T06:06:32.000Z | settings.py | akshaykr/oracle_cb | 68f10fce5eca8ebe3f57fd5a56a0ef8d82537ab4 | [
"MIT"
] | 10 | 2017-06-02T19:34:38.000Z | 2022-03-22T10:38:51.000Z | BASE_DIR=""
DATA_DIR="/mnt/nfs/work1/akshay/akshay/projects/oracle_cb/data/"
REMOTE_PATH_TO_PYTHON="/mnt/nfs/work1/akshay/akshay/anaconda3/python3"
REMOTE_BASE_DIR="/mnt/nfs/work1/akshay/akshay/projects/oracle_cb/"
| 43 | 70 | 0.813953 | 35 | 215 | 4.742857 | 0.457143 | 0.108434 | 0.198795 | 0.307229 | 0.644578 | 0.506024 | 0.506024 | 0.506024 | 0.506024 | 0 | 0 | 0.023697 | 0.018605 | 215 | 4 | 71 | 53.75 | 0.763033 | 0 | 0 | 0 | 0 | 0 | 0.683721 | 0.683721 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
be190c0e680b169c47507399e1988ecfe885a6fe | 118 | py | Python | xmipy/__init__.py | jdhughes-usgs/modflow6-bmipy | a0c435465d5c6987e5914a2da3523e1f5f7f2c91 | [
"CC0-1.0"
] | 1 | 2021-10-08T00:56:48.000Z | 2021-10-08T00:56:48.000Z | xmipy/__init__.py | jdhughes-usgs/modflow6-bmipy | a0c435465d5c6987e5914a2da3523e1f5f7f2c91 | [
"CC0-1.0"
] | 20 | 2020-06-23T09:01:59.000Z | 2020-07-16T14:05:22.000Z | xmipy/__init__.py | jdhughes-usgs/modflow6-bmipy | a0c435465d5c6987e5914a2da3523e1f5f7f2c91 | [
"CC0-1.0"
] | null | null | null | # imports
from xmipy.xmi import Xmi as Xmi
from xmipy.xmiwrapper import XmiWrapper as XmiWrapper
__version__ = "1.1"
| 19.666667 | 53 | 0.788136 | 18 | 118 | 4.944444 | 0.5 | 0.202247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0.152542 | 118 | 5 | 54 | 23.6 | 0.87 | 0.059322 | 0 | 0 | 0 | 0 | 0.027523 | 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 |
078a2b885b93169f3d6bf412854fac73738af56a | 159 | py | Python | uncharted/exceptions.py | bashu/django-uncharted | b285b4dfc8310cb62e7535fb39326916e2c81159 | [
"MIT"
] | 9 | 2015-06-07T06:50:42.000Z | 2020-09-04T05:57:20.000Z | uncharted/exceptions.py | bashu/django-uncharted | b285b4dfc8310cb62e7535fb39326916e2c81159 | [
"MIT"
] | 1 | 2015-09-24T08:17:25.000Z | 2019-03-31T03:51:00.000Z | uncharted/exceptions.py | bashu/django-uncharted | b285b4dfc8310cb62e7535fb39326916e2c81159 | [
"MIT"
] | 2 | 2018-11-13T22:56:05.000Z | 2020-11-18T07:18:49.000Z | # -*- coding: utf-8 -*-
class FieldError(Exception):
pass
class FieldDoesNotExist(Exception):
pass
class ReadOnlyError(AttributeError):
pass
| 11.357143 | 36 | 0.685535 | 15 | 159 | 7.266667 | 0.666667 | 0.238532 | 0.330275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 0.201258 | 159 | 13 | 37 | 12.230769 | 0.850394 | 0.132075 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
07ae4ed3d743b4dd71996aa11ea28ec9e558d479 | 156 | py | Python | ultron8/exceptions/ssh.py | bossjones/ultron8 | 45db73d32542a844570d44bc83defa935e15803f | [
"Apache-2.0",
"MIT"
] | null | null | null | ultron8/exceptions/ssh.py | bossjones/ultron8 | 45db73d32542a844570d44bc83defa935e15803f | [
"Apache-2.0",
"MIT"
] | 43 | 2019-06-01T23:08:32.000Z | 2022-02-07T22:24:53.000Z | ultron8/exceptions/ssh.py | bossjones/ultron8 | 45db73d32542a844570d44bc83defa935e15803f | [
"Apache-2.0",
"MIT"
] | null | null | null | __all__ = ["InvalidCredentialsException"]
class InvalidCredentialsException(Exception):
pass
class NoHostsConnectedToException(Exception):
pass
| 15.6 | 45 | 0.794872 | 10 | 156 | 12 | 0.6 | 0.216667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134615 | 156 | 9 | 46 | 17.333333 | 0.888889 | 0 | 0 | 0.4 | 0 | 0 | 0.173077 | 0.173077 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.4 | 0 | 0 | 0.4 | 0 | 1 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
07febe57d3e46c65f0339756cdc89a8fd1b3230e | 3,216 | py | Python | funcx/serialize/concretes.py | NickolausDS/funcX | 94420221453aa2be65d259244968a94a12104a4a | [
"Apache-2.0"
] | null | null | null | funcx/serialize/concretes.py | NickolausDS/funcX | 94420221453aa2be65d259244968a94a12104a4a | [
"Apache-2.0"
] | null | null | null | funcx/serialize/concretes.py | NickolausDS/funcX | 94420221453aa2be65d259244968a94a12104a4a | [
"Apache-2.0"
] | null | null | null | import codecs
import json
import dill
import pickle
import inspect
import logging
logger = logging.getLogger(__name__)
from funcx.serialize.base import fxPicker_enforcer, fxPicker_shared
class json_base64(fxPicker_shared):
_identifier = '00\n'
_for_code = False
def __init__(self):
super().__ini... | 25.125 | 76 | 0.63495 | 403 | 3,216 | 4.828784 | 0.208437 | 0.043165 | 0.020555 | 0.04111 | 0.709661 | 0.709661 | 0.709661 | 0.709661 | 0.686023 | 0.686023 | 0 | 0.016096 | 0.24658 | 3,216 | 127 | 77 | 25.322835 | 0.787041 | 0.123134 | 0 | 0.609756 | 0 | 0 | 0.039223 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.195122 | false | 0 | 0.085366 | 0.012195 | 0.597561 | 0.02439 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
580517f64b701b2811884caa070d2d05b34578b8 | 7,281 | py | Python | Packs/Yara/Scripts/YaraScan/YaraScan.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 799 | 2016-08-02T06:43:14.000Z | 2022-03-31T11:10:11.000Z | Packs/Yara/Scripts/YaraScan/YaraScan.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 9,317 | 2016-08-07T19:00:51.000Z | 2022-03-31T21:56:04.000Z | Packs/Yara/Scripts/YaraScan/YaraScan.py | diCagri/content | c532c50b213e6dddb8ae6a378d6d09198e08fc9f | [
"MIT"
] | 1,297 | 2016-08-04T13:59:00.000Z | 2022-03-31T23:43:06.000Z | import demistomock as demisto
from CommonServerPython import *
# The script uses the Python yara library to scan a file or files
''' IMPORTS '''
import yara
''' GLOBAL VARIABLES '''
yaraLogo = "iVBORw0KGgoAAAANSUhEUgAAAR0AAABgCAYAAAAgoabQAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAC9VJREFUeNrsnW1sVFUax59pp7RQ... | 78.290323 | 4,185 | 0.778739 | 385 | 7,281 | 14.696104 | 0.568831 | 0.002828 | 0.008484 | 0.00707 | 0.034641 | 0.034641 | 0.034641 | 0.034641 | 0.034641 | 0.034641 | 0 | 0.108282 | 0.147645 | 7,281 | 92 | 4,186 | 79.141304 | 0.803416 | 0.009339 | 0 | 0.168831 | 0 | 0.012987 | 0.661275 | 0.592107 | 0 | 1 | 0 | 0 | 0 | 1 | 0.012987 | false | 0 | 0.038961 | 0 | 0.051948 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ed131e375d7e3ff8bd83cab6c7d88bb8c39f7b38 | 144 | py | Python | recipe_app/admin.py | Ljohns635/recipebox | 59b70f02dcf322284bc76cf636315ca8839dc722 | [
"MIT"
] | null | null | null | recipe_app/admin.py | Ljohns635/recipebox | 59b70f02dcf322284bc76cf636315ca8839dc722 | [
"MIT"
] | null | null | null | recipe_app/admin.py | Ljohns635/recipebox | 59b70f02dcf322284bc76cf636315ca8839dc722 | [
"MIT"
] | null | null | null | from django.contrib import admin
from recipe_app.models import Author, RecipeItems
admin.site.register(Author)
admin.site.register(RecipeItems) | 28.8 | 49 | 0.847222 | 20 | 144 | 6.05 | 0.6 | 0.14876 | 0.280992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076389 | 144 | 5 | 50 | 28.8 | 0.909774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 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 |
ed3734895d06351efd8db151c78cab4264d53ff7 | 146 | py | Python | factory-ai-vision/EdgeSolution/modules/WebModule/backend/vision_on_edge/locations/admin.py | piyushka17/azure-intelligent-edge-patterns | 0d088899afb0022daa2ac434226824dba2c997c1 | [
"MIT"
] | 1 | 2020-08-17T16:50:09.000Z | 2020-08-17T16:50:09.000Z | factory-ai-vision/EdgeSolution/modules/WebModule/backend/vision_on_edge/locations/admin.py | piyushka17/azure-intelligent-edge-patterns | 0d088899afb0022daa2ac434226824dba2c997c1 | [
"MIT"
] | null | null | null | factory-ai-vision/EdgeSolution/modules/WebModule/backend/vision_on_edge/locations/admin.py | piyushka17/azure-intelligent-edge-patterns | 0d088899afb0022daa2ac434226824dba2c997c1 | [
"MIT"
] | null | null | null | """
Location admin
"""
from django.contrib import admin
from .models import Location
# Register your models here.
admin.site.register(Location)
| 14.6 | 32 | 0.767123 | 19 | 146 | 5.894737 | 0.578947 | 0.160714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 146 | 9 | 33 | 16.222222 | 0.888889 | 0.287671 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
ed6b05951e84ee2f2aa080cc8043aa0423da46f1 | 155 | py | Python | rlfd/rlfd/agents/__init__.py | cheneyuwu/RLProject | a2708e3a13e74e3617cb11799ba2a128a63709e9 | [
"MIT"
] | 1 | 2021-01-11T16:42:58.000Z | 2021-01-11T16:42:58.000Z | rlfd/rlfd/agents/__init__.py | cheneyuwu/RLProject | a2708e3a13e74e3617cb11799ba2a128a63709e9 | [
"MIT"
] | 4 | 2020-01-04T22:07:24.000Z | 2020-06-26T00:08:32.000Z | rlfd/rlfd/agents/__init__.py | cheneyuwu/RLProject | a2708e3a13e74e3617cb11799ba2a128a63709e9 | [
"MIT"
] | null | null | null | # Import modules with agent class defined
from . import td3, sac, cql, cql_dp, bc, cql_online, sac_offline
from . import gan, nf
from .agent import AGENTS
| 31 | 64 | 0.76129 | 26 | 155 | 4.423077 | 0.653846 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007752 | 0.167742 | 155 | 4 | 65 | 38.75 | 0.883721 | 0.251613 | 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 |
ed736d36cbe3de9fe39a9baf79f2c131427e4135 | 235 | py | Python | app/demo/countries/translation.py | frankhood/django-material-admin | ea384bdf8ebcc59532fcb605519a8e9362e96414 | [
"MIT"
] | null | null | null | app/demo/countries/translation.py | frankhood/django-material-admin | ea384bdf8ebcc59532fcb605519a8e9362e96414 | [
"MIT"
] | null | null | null | app/demo/countries/translation.py | frankhood/django-material-admin | ea384bdf8ebcc59532fcb605519a8e9362e96414 | [
"MIT"
] | null | null | null | from modeltranslation.translator import translator, TranslationOptions
from .models import Country
class CountryTranslationOptions(TranslationOptions):
fields = ('name',)
translator.register(Country, CountryTranslationOptions)
| 23.5 | 70 | 0.829787 | 19 | 235 | 10.263158 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102128 | 235 | 9 | 71 | 26.111111 | 0.924171 | 0 | 0 | 0 | 0 | 0 | 0.017021 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
71f54575d5a74f37fd6acd6d3a477b783765eef7 | 214 | py | Python | src/airfly/_vendor/airflow/operators/s3_to_redshift_operator.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | 7 | 2021-09-27T11:38:48.000Z | 2022-02-01T06:06:24.000Z | src/airfly/_vendor/airflow/operators/s3_to_redshift_operator.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | null | null | null | src/airfly/_vendor/airflow/operators/s3_to_redshift_operator.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | null | null | null | # Auto generated by 'inv collect-airflow'
from airfly._vendor.airflow.providers.amazon.aws.transfers.s3_to_redshift import (
S3ToRedshiftOperator,
)
class S3ToRedshiftTransfer(S3ToRedshiftOperator):
pass
| 23.777778 | 82 | 0.803738 | 23 | 214 | 7.347826 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021164 | 0.116822 | 214 | 8 | 83 | 26.75 | 0.873016 | 0.182243 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
9c08901375fa94ba6347f296a119d1c9f1d074b7 | 79 | py | Python | djackal/views/__init__.py | jrog612/djackal | f46733f69f7a2e796ac611700ac5ffe20b7f0927 | [
"MIT"
] | null | null | null | djackal/views/__init__.py | jrog612/djackal | f46733f69f7a2e796ac611700ac5ffe20b7f0927 | [
"MIT"
] | null | null | null | djackal/views/__init__.py | jrog612/djackal | f46733f69f7a2e796ac611700ac5ffe20b7f0927 | [
"MIT"
] | null | null | null | from .base import DjackalAPIView
from .generics import *
from .mixins import *
| 19.75 | 32 | 0.78481 | 10 | 79 | 6.2 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151899 | 79 | 3 | 33 | 26.333333 | 0.925373 | 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 |
9c32972e9a8d8a36d99ef1dfe241aa3b60fe49c2 | 122 | py | Python | simpleAPI/companys/admin.py | Gleb-Stasuyk/simpleAPI | 9b30202915a4f144921b9bd5204f7bfac8b1201f | [
"MIT"
] | null | null | null | simpleAPI/companys/admin.py | Gleb-Stasuyk/simpleAPI | 9b30202915a4f144921b9bd5204f7bfac8b1201f | [
"MIT"
] | null | null | null | simpleAPI/companys/admin.py | Gleb-Stasuyk/simpleAPI | 9b30202915a4f144921b9bd5204f7bfac8b1201f | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Company, News
admin.site.register(Company)
admin.site.register(News) | 24.4 | 33 | 0.819672 | 18 | 122 | 5.555556 | 0.555556 | 0.18 | 0.34 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090164 | 122 | 5 | 34 | 24.4 | 0.900901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 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 |
9c49e7ea9dc0c83f5d74bb36493688e800e07822 | 91 | py | Python | python/flask/simpledu/simpledu/handlers/course.py | smallyear/linuxLearn | 342e5020bf24b5fac732c4275a512087b47e578d | [
"Apache-2.0"
] | 1 | 2017-11-21T16:57:27.000Z | 2017-11-21T16:57:27.000Z | python/flask/simpledu/simpledu/handlers/course.py | smallyear/linuxLearn | 342e5020bf24b5fac732c4275a512087b47e578d | [
"Apache-2.0"
] | null | null | null | python/flask/simpledu/simpledu/handlers/course.py | smallyear/linuxLearn | 342e5020bf24b5fac732c4275a512087b47e578d | [
"Apache-2.0"
] | null | null | null | from flask import Blueprint
course = Blueprint('course', __name__, url_prefix='/courses')
| 22.75 | 61 | 0.769231 | 11 | 91 | 5.909091 | 0.818182 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10989 | 91 | 3 | 62 | 30.333333 | 0.802469 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 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 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
9c8192fd57840d66f2ad325f625cc003dcadc59b | 100 | py | Python | pySGDabao/__init__.py | rizemon/pySGDabao | 3c4e24e29fa42fbabd5b7f34c81cd849e56bfe5b | [
"Apache-2.0"
] | 1 | 2021-05-31T21:50:26.000Z | 2021-05-31T21:50:26.000Z | pySGDabao/__init__.py | rizemon/pySGDabao | 3c4e24e29fa42fbabd5b7f34c81cd849e56bfe5b | [
"Apache-2.0"
] | null | null | null | pySGDabao/__init__.py | rizemon/pySGDabao | 3c4e24e29fa42fbabd5b7f34c81cd849e56bfe5b | [
"Apache-2.0"
] | 1 | 2021-05-18T07:29:05.000Z | 2021-05-18T07:29:05.000Z | from .foodpanda import Foodpanda
from .deliveroo import Deliveroo
from .honestbee import Honestbee | 33.333333 | 33 | 0.84 | 12 | 100 | 7 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13 | 100 | 3 | 34 | 33.333333 | 0.965517 | 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 |
9c836e59bdb6aeb9e92956636746187b11661e26 | 5,984 | py | Python | nova/tests/unit/api/openstack/compute/test_urlmap.py | larsbutler/nova | fb190f30a911658d8b0c4deaf43cbb8c9e35b672 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/api/openstack/compute/test_urlmap.py | larsbutler/nova | fb190f30a911658d8b0c4deaf43cbb8c9e35b672 | [
"Apache-2.0"
] | null | null | null | nova/tests/unit/api/openstack/compute/test_urlmap.py | larsbutler/nova | fb190f30a911658d8b0c4deaf43cbb8c9e35b672 | [
"Apache-2.0"
] | null | null | null | # Copyright 2011 OpenStack Foundation
# 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 requ... | 45.333333 | 78 | 0.652406 | 760 | 5,984 | 5.011842 | 0.177632 | 0.106327 | 0.070885 | 0.047257 | 0.792859 | 0.771069 | 0.729588 | 0.724337 | 0.714886 | 0.667104 | 0 | 0.040302 | 0.224599 | 5,984 | 131 | 79 | 45.679389 | 0.780603 | 0.181818 | 0 | 0.691489 | 0 | 0 | 0.165435 | 0.074097 | 0 | 0 | 0 | 0 | 0.287234 | 1 | 0.117021 | false | 0 | 0.053191 | 0 | 0.180851 | 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 |
92bba209fd8770afe9d70a559e255d710034f02f | 18,258 | py | Python | src/controller/python/test/test_scripts/network_commissioning.py | mykrupp/connectedhomeip-1 | c6ca8bde66f76fa95b0383e2faa6a67c74cef2c3 | [
"Apache-2.0"
] | null | null | null | src/controller/python/test/test_scripts/network_commissioning.py | mykrupp/connectedhomeip-1 | c6ca8bde66f76fa95b0383e2faa6a67c74cef2c3 | [
"Apache-2.0"
] | null | null | null | src/controller/python/test/test_scripts/network_commissioning.py | mykrupp/connectedhomeip-1 | c6ca8bde66f76fa95b0383e2faa6a67c74cef2c3 | [
"Apache-2.0"
] | null | null | null | #
# Copyright (c) 2021 Project CHIP Authors
# All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# ... | 57.23511 | 197 | 0.672801 | 1,771 | 18,258 | 6.871824 | 0.142292 | 0.04355 | 0.047001 | 0.028102 | 0.771076 | 0.761873 | 0.745357 | 0.741085 | 0.736565 | 0.736565 | 0 | 0.016115 | 0.242086 | 18,258 | 318 | 198 | 57.415094 | 0.863347 | 0.064465 | 0 | 0.699605 | 0 | 0.007905 | 0.215182 | 0.040537 | 0 | 0 | 0 | 0 | 0.098814 | 1 | 0.007905 | false | 0.007905 | 0.023715 | 0 | 0.047431 | 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 |
92d32ac56b0f90ff3bfa98fd1fc537b6449c1c3f | 41 | py | Python | 04/00/0.py | pylangstudy/201707 | c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6 | [
"CC0-1.0"
] | null | null | null | 04/00/0.py | pylangstudy/201707 | c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6 | [
"CC0-1.0"
] | 46 | 2017-06-30T22:19:07.000Z | 2017-07-31T22:51:31.000Z | 04/00/0.py | pylangstudy/201707 | c1cc72667f1e0b6e8eef4ee85067d7fa4ca500b6 | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/python3
print('Hello 0.py!!')
| 13.666667 | 21 | 0.634146 | 7 | 41 | 3.714286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.073171 | 41 | 2 | 22 | 20.5 | 0.631579 | 0.414634 | 0 | 0 | 0 | 0 | 0.521739 | 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 |
92d3b08e4119b987a48cc7f52d765bdc3738b10e | 727 | py | Python | examples/RemoteCtrl/script/testScript.py | prototypicalpro/spix | 3b758e8ec88d9884627670f8d05bd50f7992e9c0 | [
"MIT"
] | 97 | 2019-06-26T07:48:49.000Z | 2022-03-19T14:10:43.000Z | examples/RemoteCtrl/script/testScript.py | prototypicalpro/spix | 3b758e8ec88d9884627670f8d05bd50f7992e9c0 | [
"MIT"
] | 35 | 2019-07-15T22:04:44.000Z | 2022-03-24T13:57:49.000Z | examples/RemoteCtrl/script/testScript.py | prototypicalpro/spix | 3b758e8ec88d9884627670f8d05bd50f7992e9c0 | [
"MIT"
] | 28 | 2019-07-10T10:53:37.000Z | 2022-02-21T19:33:42.000Z | import xmlrpc.client
s = xmlrpc.client.ServerProxy('http://localhost:9000')
print("Available Methods:")
print(s.system.listMethods())
s.mouseClick("mainWindow/Button_1")
s.wait(200)
s.mouseClick("mainWindow/Button_2")
s.wait(200)
s.mouseClick("mainWindow/Button_2")
s.wait(200)
s.mouseClick("mainWindow/Button_2")
s.wai... | 25.068966 | 62 | 0.763411 | 110 | 727 | 4.954545 | 0.254545 | 0.201835 | 0.385321 | 0.495413 | 0.66055 | 0.66055 | 0.66055 | 0.66055 | 0.66055 | 0.66055 | 0 | 0.063584 | 0.048143 | 727 | 28 | 63 | 25.964286 | 0.723988 | 0 | 0 | 0.740741 | 0 | 0 | 0.360385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.037037 | 0 | 0.037037 | 0.111111 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
13235744121c09374187173c10a88e9d6ab03ece | 193 | py | Python | pytorch-perceiver/pytorch_perceiver.py | rish-16/pytorch-perceiver | 547cb337dd1e47800951e0c4d21bf67f5794ba5d | [
"MIT"
] | 1 | 2021-08-05T06:30:43.000Z | 2021-08-05T06:30:43.000Z | pytorch-perceiver/pytorch_perceiver.py | rish-16/pytorch-perceiver | 547cb337dd1e47800951e0c4d21bf67f5794ba5d | [
"MIT"
] | null | null | null | pytorch-perceiver/pytorch_perceiver.py | rish-16/pytorch-perceiver | 547cb337dd1e47800951e0c4d21bf67f5794ba5d | [
"MIT"
] | 1 | 2021-08-05T06:30:49.000Z | 2021-08-05T06:30:49.000Z | import torch
from torch import nn
import torch.nn.functional as F
class Perceiver(nn.Module):
def __init__(self):
super().__init__()
def forward(self, x):
pass | 19.3 | 31 | 0.637306 | 26 | 193 | 4.423077 | 0.653846 | 0.191304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26943 | 193 | 10 | 32 | 19.3 | 0.815603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.125 | 0.375 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
13244e735da5482b85e015adccaee9fc3950940a | 2,877 | py | Python | tests/unit/bokeh/plotting/test__tools.py | goncaloperes/bokeh | b857d2d17d7c19779bb0a7be2601d8238fb1d5e9 | [
"BSD-3-Clause"
] | 1 | 2021-04-09T02:57:29.000Z | 2021-04-09T02:57:29.000Z | tests/unit/bokeh/plotting/test__tools.py | goncaloperes/bokeh | b857d2d17d7c19779bb0a7be2601d8238fb1d5e9 | [
"BSD-3-Clause"
] | 1 | 2021-04-21T19:44:07.000Z | 2021-04-21T19:44:07.000Z | tests/unit/bokeh/plotting/test__tools.py | goncaloperes/bokeh | b857d2d17d7c19779bb0a7be2601d8238fb1d5e9 | [
"BSD-3-Clause"
] | null | null | null | #-----------------------------------------------------------------------------
# Copyright (c) 2012 - 2021, Anaconda, Inc., and Bokeh Contributors.
# All rights reserved.
#
# The full license is in the file LICENSE.txt, distributed with this software.
#-------------------------------------------------------------------... | 43.590909 | 78 | 0.400417 | 232 | 2,877 | 4.741379 | 0.357759 | 0.224545 | 0.310909 | 0.2 | 0.414545 | 0.250909 | 0.223636 | 0.195455 | 0.163636 | 0.163636 | 0 | 0.009966 | 0.093153 | 2,877 | 65 | 79 | 44.261538 | 0.411652 | 0.517553 | 0 | 0 | 0 | 0 | 0.314937 | 0.269316 | 0 | 0 | 0 | 0 | 0.75 | 1 | 0.083333 | false | 0 | 0.083333 | 0 | 0.208333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1352987d65d6bab2cc42ab1a29c5ddc7d4989639 | 134 | py | Python | PythonExercicios/ex005.py | github-felipe/ExerciciosEmPython-cursoemvideo | 0045464a287f21b6245554a975588cf06c5b476d | [
"MIT"
] | null | null | null | PythonExercicios/ex005.py | github-felipe/ExerciciosEmPython-cursoemvideo | 0045464a287f21b6245554a975588cf06c5b476d | [
"MIT"
] | null | null | null | PythonExercicios/ex005.py | github-felipe/ExerciciosEmPython-cursoemvideo | 0045464a287f21b6245554a975588cf06c5b476d | [
"MIT"
] | null | null | null | n = int(input('Digite um número inteiro: '))
print(f'O antecessor de {n} é \033[7;30m{n-1}\033[m e o sucessor é \033[30m{n+1}\033[m')
| 44.666667 | 88 | 0.649254 | 31 | 134 | 2.806452 | 0.645161 | 0.091954 | 0.114943 | 0.183908 | 0.206897 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163793 | 0.134328 | 134 | 2 | 89 | 67 | 0.586207 | 0 | 0 | 0 | 0 | 0.5 | 0.776119 | 0.156716 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
13745a2272cacb5bd845a0693956b1aab64ef375 | 90 | py | Python | commands/config.py | pieroproietti/penguins-eggs2 | 7c029cf1d180bd5d7ace856d547de8540b61c093 | [
"MIT"
] | null | null | null | commands/config.py | pieroproietti/penguins-eggs2 | 7c029cf1d180bd5d7ace856d547de8540b61c093 | [
"MIT"
] | null | null | null | commands/config.py | pieroproietti/penguins-eggs2 | 7c029cf1d180bd5d7ace856d547de8540b61c093 | [
"MIT"
] | null | null | null | def config(args):
"""
This command configure eggs
"""
print("configure eggs")
| 15 | 30 | 0.611111 | 10 | 90 | 5.5 | 0.8 | 0.472727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244444 | 90 | 5 | 31 | 18 | 0.808824 | 0.3 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
138eb8ba6f42506cccd1eaebffa8b180468ff9ab | 43 | py | Python | test/login.py | rebecca1202/010101 | 139d9fc5817be55c3765b9d527d2ff83c86730cf | [
"MIT"
] | null | null | null | test/login.py | rebecca1202/010101 | 139d9fc5817be55c3765b9d527d2ff83c86730cf | [
"MIT"
] | null | null | null | test/login.py | rebecca1202/010101 | 139d9fc5817be55c3765b9d527d2ff83c86730cf | [
"MIT"
] | null | null | null | num1=10
num2=20
num3=300
num3=30
num4=40
| 5.375 | 8 | 0.72093 | 10 | 43 | 3.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 0.162791 | 43 | 7 | 9 | 6.142857 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
13aa23256de6e1903da7ff97977046bcd31f883a | 428 | py | Python | xastropy/igm/fN/__init__.py | bpholden/xastropy | 66aff0995a84c6829da65996d2379ba4c946dabe | [
"BSD-3-Clause"
] | 3 | 2015-08-23T00:32:58.000Z | 2020-12-31T02:37:52.000Z | xastropy/igm/fN/__init__.py | Kristall-WangShiwei/xastropy | 723fe56cb48d5a5c4cdded839082ee12ef8c6732 | [
"BSD-3-Clause"
] | 104 | 2015-07-17T18:31:54.000Z | 2018-06-29T17:04:09.000Z | xastropy/igm/fN/__init__.py | Kristall-WangShiwei/xastropy | 723fe56cb48d5a5c4cdded839082ee12ef8c6732 | [
"BSD-3-Clause"
] | 16 | 2015-07-17T15:50:37.000Z | 2019-04-21T03:42:47.000Z | # Non-dependent modules
import data
# Dependent modules
try:
import pymc
except ImportError:
print('-----------------------------------------------------------')
print('-----------------------------------------------------------')
print('WARNING: Not loading model in xastropy.fN \n Install pymc if yo... | 30.571429 | 87 | 0.390187 | 33 | 428 | 5.060606 | 0.727273 | 0.191617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13785 | 428 | 13 | 88 | 32.923077 | 0.452575 | 0.091122 | 0 | 0.3 | 0 | 0 | 0.650259 | 0.458549 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0.4 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
13bdb6c681a5844598b50783e8027c0a73cf55b6 | 150 | py | Python | Django/Ubi/status_point/admin.py | LuckyMagpie/StatusMap | 7518fb7b98a759f6b184c7fc2c0b1c2656a55fe4 | [
"Apache-2.0"
] | 3 | 2016-03-04T22:28:26.000Z | 2017-02-02T20:27:19.000Z | Django/Ubi/status_point/admin.py | LuckyMagpie/Ubi | 7518fb7b98a759f6b184c7fc2c0b1c2656a55fe4 | [
"Apache-2.0"
] | null | null | null | Django/Ubi/status_point/admin.py | LuckyMagpie/Ubi | 7518fb7b98a759f6b184c7fc2c0b1c2656a55fe4 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import *
admin.site.register(StatusPoint)
admin.site.register(Indicator)
# Register your models here.
| 18.75 | 32 | 0.8 | 20 | 150 | 6 | 0.6 | 0.183333 | 0.283333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113333 | 150 | 7 | 33 | 21.428571 | 0.902256 | 0.173333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 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 |
13dba8fbfab8b2412ffc4a60e3e7cec0ace7a1b4 | 194 | py | Python | tests/test_decorators.py | Olegt0rr/aiodine | 89f6207e780ec2c08d62e9ec20372658af7ccef9 | [
"MIT"
] | 61 | 2019-02-27T21:07:54.000Z | 2021-09-23T01:38:26.000Z | tests/test_decorators.py | Olegt0rr/aiodine | 89f6207e780ec2c08d62e9ec20372658af7ccef9 | [
"MIT"
] | 30 | 2019-02-28T22:27:42.000Z | 2021-09-07T04:49:47.000Z | tests/test_decorators.py | Olegt0rr/aiodine | 89f6207e780ec2c08d62e9ec20372658af7ccef9 | [
"MIT"
] | 2 | 2019-10-14T15:51:59.000Z | 2021-09-07T04:28:22.000Z | from aiodine import Store, Provider
def test_at_provider_returns_a_provider_object(store: Store):
@store.provider
def example():
pass
assert isinstance(example, Provider)
| 19.4 | 61 | 0.737113 | 24 | 194 | 5.708333 | 0.625 | 0.189781 | 0.233577 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195876 | 194 | 9 | 62 | 21.555556 | 0.878205 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
b9176488ace89464189f43bc4e306167909572a0 | 216 | py | Python | contrib/zmq/piped/plugins/zmq_plugin.py | alexbrasetvik/Piped | 0312c14d6c4c293df378c915cc9787bcc7faed36 | [
"MIT"
] | 3 | 2015-02-12T20:34:30.000Z | 2016-08-06T06:54:48.000Z | contrib/zmq/piped/plugins/zmq_plugin.py | alexbrasetvik/Piped | 0312c14d6c4c293df378c915cc9787bcc7faed36 | [
"MIT"
] | null | null | null | contrib/zmq/piped/plugins/zmq_plugin.py | alexbrasetvik/Piped | 0312c14d6c4c293df378c915cc9787bcc7faed36 | [
"MIT"
] | 2 | 2015-12-16T14:18:14.000Z | 2019-04-12T01:43:10.000Z | from piped_zmq import version
from piped_zmq.providers import ZMQSocketProvider, ZMQProcessorFeederProvider
from piped_zmq.processors import MessageSender
from piped_zmq.mongrel2_processors import MongrelReplySender | 43.2 | 77 | 0.902778 | 25 | 216 | 7.6 | 0.48 | 0.189474 | 0.252632 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005025 | 0.078704 | 216 | 5 | 78 | 43.2 | 0.949749 | 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 | 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 |
b95b2f27cd6e7f7cd494e0ae61bfacf156b8cbcd | 365 | py | Python | sscanss/core/instrument/__init__.py | samtygier-stfc/SScanSS-2 | 0df2160c32fdc533f7d391735bd55d524e253f4d | [
"BSD-3-Clause"
] | 9 | 2018-09-09T13:45:38.000Z | 2022-01-04T09:02:37.000Z | sscanss/core/instrument/__init__.py | samtygier-stfc/SScanSS-2 | 0df2160c32fdc533f7d391735bd55d524e253f4d | [
"BSD-3-Clause"
] | 21 | 2020-10-07T14:37:01.000Z | 2022-03-18T09:14:35.000Z | sscanss/core/instrument/__init__.py | samtygier-stfc/SScanSS-2 | 0df2160c32fdc533f7d391735bd55d524e253f4d | [
"BSD-3-Clause"
] | 8 | 2019-11-18T12:00:35.000Z | 2022-02-17T13:35:15.000Z | from .calibration import circle_point_analysis, generate_description, robot_world_calibration
from .create import (read_instrument_description_file, read_detector_description, read_jaw_description,
read_instrument_description)
from .instrument import Instrument
from .robotics import Sequence, Link,... | 52.142857 | 103 | 0.830137 | 41 | 365 | 7.04878 | 0.512195 | 0.096886 | 0.17301 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131507 | 365 | 6 | 104 | 60.833333 | 0.911672 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.833333 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b9b1107e74771b20384f51ef715265fc733e0153 | 190 | py | Python | python/aws_lambda_powertools/metrics/exceptions.py | doc22940/aws-lambda-powertools | 70d927771176a221ca0d8e6e156cedd1187c6bff | [
"MIT-0"
] | 1 | 2020-05-11T05:37:06.000Z | 2020-05-11T05:37:06.000Z | python/aws_lambda_powertools/metrics/exceptions.py | doc22940/aws-lambda-powertools | 70d927771176a221ca0d8e6e156cedd1187c6bff | [
"MIT-0"
] | null | null | null | python/aws_lambda_powertools/metrics/exceptions.py | doc22940/aws-lambda-powertools | 70d927771176a221ca0d8e6e156cedd1187c6bff | [
"MIT-0"
] | null | null | null | class MetricUnitError(Exception):
pass
class SchemaValidationError(Exception):
pass
class MetricValueError(Exception):
pass
class UniqueNamespaceError(Exception):
pass
| 12.666667 | 39 | 0.757895 | 16 | 190 | 9 | 0.4375 | 0.361111 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178947 | 190 | 14 | 40 | 13.571429 | 0.923077 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
6a1d485a335681eaf0394441ea3928e3cd7423ab | 39 | py | Python | tests/__init__.py | NikhilJArora/pytorrent | 77342e3675603d692fb24ba86ef8d1971932b16a | [
"MIT"
] | null | null | null | tests/__init__.py | NikhilJArora/pytorrent | 77342e3675603d692fb24ba86ef8d1971932b16a | [
"MIT"
] | null | null | null | tests/__init__.py | NikhilJArora/pytorrent | 77342e3675603d692fb24ba86ef8d1971932b16a | [
"MIT"
] | null | null | null | """Unit test package for pytorrent."""
| 19.5 | 38 | 0.692308 | 5 | 39 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 1 | 39 | 39 | 0.794118 | 0.820513 | 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 |
6a1e60f6318b2121e4265afae2a5723671404ab2 | 1,303 | py | Python | backend/services/iotdevices.py | AmirAbaskohi/Castrol-Smart-Oil-Dispenser-App | adaf9d5ffee74283144eed9d75d2cabc67bf673d | [
"MIT"
] | null | null | null | backend/services/iotdevices.py | AmirAbaskohi/Castrol-Smart-Oil-Dispenser-App | adaf9d5ffee74283144eed9d75d2cabc67bf673d | [
"MIT"
] | null | null | null | backend/services/iotdevices.py | AmirAbaskohi/Castrol-Smart-Oil-Dispenser-App | adaf9d5ffee74283144eed9d75d2cabc67bf673d | [
"MIT"
] | null | null | null | iot_devices = {
"cl01": "HostName=znetinnn12ioth01.azure-devices.net;DeviceId=cl01;SharedAccessKey=C3lI2jbo0DVgPtUqMjg7BYxXpBRvGsvXCCP/33zRK34=", # Cristian's Device
"js01": "HostName=znetinnn12ioth01.azure-devices.net;DeviceId=js01;SharedAccessKey=9g4Qmbfoi/WZPNTA3HqePqrCjYd1mtj15CKu8hMow9Y=", # John's Devic... | 100.230769 | 176 | 0.811972 | 122 | 1,303 | 8.631148 | 0.418033 | 0.182336 | 0.220323 | 0.273504 | 0.374169 | 0.374169 | 0.150997 | 0 | 0 | 0 | 0 | 0.114592 | 0.069071 | 1,303 | 12 | 177 | 108.583333 | 0.753504 | 0.095165 | 0 | 0 | 0 | 0.090909 | 0.868038 | 0.824336 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.090909 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
dbe5053a0600edc09328b5d170f0fec13dbb23f6 | 115 | py | Python | deep_rl/__init__.py | Louis-Bagot/DeepRL | 0b152c52bbba90362c8276c223fee3f9a464eb32 | [
"MIT"
] | null | null | null | deep_rl/__init__.py | Louis-Bagot/DeepRL | 0b152c52bbba90362c8276c223fee3f9a464eb32 | [
"MIT"
] | null | null | null | deep_rl/__init__.py | Louis-Bagot/DeepRL | 0b152c52bbba90362c8276c223fee3f9a464eb32 | [
"MIT"
] | null | null | null | from .agent import *
from .component import *
from .network import *
from .utils import *
from .reward_fs import *
| 19.166667 | 24 | 0.73913 | 16 | 115 | 5.25 | 0.5 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 115 | 5 | 25 | 23 | 0.884211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e00afd8cf124c27cecda8e2c97e7620875202d16 | 184 | py | Python | calculation/gmhazard_calc/gmhazard_calc/disagg/__init__.py | ucgmsim/gmhazard | d3d90b4c94b3d9605597a3efeccc8523a1e50c0e | [
"MIT"
] | null | null | null | calculation/gmhazard_calc/gmhazard_calc/disagg/__init__.py | ucgmsim/gmhazard | d3d90b4c94b3d9605597a3efeccc8523a1e50c0e | [
"MIT"
] | 8 | 2021-10-13T02:33:23.000Z | 2022-03-29T21:01:08.000Z | calculation/gmhazard_calc/gmhazard_calc/disagg/__init__.py | ucgmsim/gmhazard | d3d90b4c94b3d9605597a3efeccc8523a1e50c0e | [
"MIT"
] | null | null | null | from .disagg import run_ensemble_disagg, run_branches_disagg, run_branch_disagg, run_disagg_gridding
from .DisaggResult import BranchDisaggResult, EnsembleDisaggResult, DisaggGridData
| 61.333333 | 100 | 0.891304 | 21 | 184 | 7.428571 | 0.571429 | 0.173077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070652 | 184 | 2 | 101 | 92 | 0.912281 | 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 |
e00d24a87f304741748f78f58e4da607f825a34c | 209 | py | Python | docs/source/tutorials/installation/install_check.demo.py | HansBug/hbutils | 6872311c8a441c5955572e0093b10189a2b90708 | [
"Apache-2.0"
] | null | null | null | docs/source/tutorials/installation/install_check.demo.py | HansBug/hbutils | 6872311c8a441c5955572e0093b10189a2b90708 | [
"Apache-2.0"
] | 25 | 2021-10-03T06:19:05.000Z | 2022-03-27T12:48:57.000Z | docs/source/tutorials/installation/install_check.demo.py | HansBug/hbutils | 6872311c8a441c5955572e0093b10189a2b90708 | [
"Apache-2.0"
] | null | null | null | from hbutils.config.meta import __TITLE__, __VERSION__, __AUTHOR__, __DESCRIPTION__
if __name__ == '__main__':
print(__TITLE__, __VERSION__)
print(__DESCRIPTION__)
print('Powered by', __AUTHOR__)
| 29.857143 | 83 | 0.760766 | 21 | 209 | 5.666667 | 0.714286 | 0.201681 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143541 | 209 | 6 | 84 | 34.833333 | 0.664804 | 0 | 0 | 0 | 0 | 0 | 0.086124 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.6 | 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 |
e02c617141c58e19ba5f22f1729dd354634a3dc7 | 122 | py | Python | depiction/models/uri/rest_api/__init__.py | IBM/dl-interpretability-compbio | 3b13394f2dd9614736b4183b407a938a2c5924ac | [
"Apache-2.0"
] | 23 | 2019-07-10T08:35:11.000Z | 2019-11-20T13:53:01.000Z | depiction/models/uri/rest_api/__init__.py | IBM/dl-interpretability-compbio | 3b13394f2dd9614736b4183b407a938a2c5924ac | [
"Apache-2.0"
] | 31 | 2019-07-03T17:08:31.000Z | 2019-11-21T12:45:56.000Z | depiction/models/uri/rest_api/__init__.py | IBM/dl-interpretability-compbio | 3b13394f2dd9614736b4183b407a938a2c5924ac | [
"Apache-2.0"
] | 13 | 2019-07-12T18:45:19.000Z | 2019-11-20T16:25:20.000Z | """Initialize rest_api module."""
from .rest_api_model import RESTAPIModel # noqa
from .max_model import MAXModel # noqa | 40.666667 | 48 | 0.778689 | 17 | 122 | 5.352941 | 0.647059 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131148 | 122 | 3 | 49 | 40.666667 | 0.858491 | 0.311475 | 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 |
e033302b9354d5acb6404fa797a22ae5b860c834 | 59 | py | Python | src/d365fo_tools/core/__init__.py | OnoArnaldo/d365fo-tools | c7e6ced108c53b01522daf963d1949ad7071ba0a | [
"MIT"
] | null | null | null | src/d365fo_tools/core/__init__.py | OnoArnaldo/d365fo-tools | c7e6ced108c53b01522daf963d1949ad7071ba0a | [
"MIT"
] | null | null | null | src/d365fo_tools/core/__init__.py | OnoArnaldo/d365fo-tools | c7e6ced108c53b01522daf963d1949ad7071ba0a | [
"MIT"
] | null | null | null | from .core import Log, Folder
from .helpers import Package
| 19.666667 | 29 | 0.79661 | 9 | 59 | 5.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152542 | 59 | 2 | 30 | 29.5 | 0.94 | 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 |
0eb9ed814632a8d8a1317fe5ac24ba830a80dc75 | 1,420 | py | Python | app/gws/tools/vendor/chartreux/renderer.py | ewie/gbd-websuite | 6f2814c7bb64d11cb5a0deec712df751718fb3e1 | [
"Apache-2.0"
] | 3 | 2020-07-24T10:10:18.000Z | 2022-03-16T10:22:04.000Z | chartreux/renderer.py | gebrkn/chartreux | 95402b6850e6f823440e7586a9c239b8eea68299 | [
"MIT"
] | 28 | 2020-03-03T17:35:58.000Z | 2021-07-12T12:05:47.000Z | chartreux/renderer.py | gebrkn/chartreux | 95402b6850e6f823440e7586a9c239b8eea68299 | [
"MIT"
] | 1 | 2021-02-22T14:32:10.000Z | 2021-02-22T14:32:10.000Z | from . import compiler, runtime as rt
_DefaultRuntime = rt.Runtime()
def call(
template,
context=None,
runtime=None,
error=None,
):
return template(runtime or _DefaultRuntime, context, error)
def render(
text,
context=None,
error=None,
runtime=N... | 17.317073 | 63 | 0.519014 | 131 | 1,420 | 5.59542 | 0.198473 | 0.049113 | 0.077763 | 0.05457 | 0.725784 | 0.725784 | 0.725784 | 0.725784 | 0.60573 | 0.60573 | 0 | 0 | 0.390845 | 1,420 | 81 | 64 | 17.530864 | 0.847399 | 0 | 0 | 0.797101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0.014493 | 0.014493 | 0.101449 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.