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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
52e1a4d9caecf8fe94d1f16dee07f2830a9b1bec | 1,241 | py | Python | tests/v2/test_service_response_data.py | anbnyc/datadog-api-client-python | 162bd0c6f2523a809aec08a3197e85dc74b78c21 | [
"Apache-2.0"
] | null | null | null | tests/v2/test_service_response_data.py | anbnyc/datadog-api-client-python | 162bd0c6f2523a809aec08a3197e85dc74b78c21 | [
"Apache-2.0"
] | null | null | null | tests/v2/test_service_response_data.py | anbnyc/datadog-api-client-python | 162bd0c6f2523a809aec08a3197e85dc74b78c21 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
# This product includes software developed at Datadog (https://www.datadoghq.com/).
# Copyright 2019-Present Datadog, Inc.
import sys
import unittest
import datadog_api_client.v2
from datadog... | 31.820513 | 108 | 0.775181 | 136 | 1,241 | 6.897059 | 0.558824 | 0.053305 | 0.085288 | 0.095949 | 0.162047 | 0.162047 | 0.162047 | 0.089552 | 0 | 0 | 0 | 0.014178 | 0.147462 | 1,241 | 38 | 109 | 32.657895 | 0.872401 | 0.333602 | 0 | 0.157895 | 0 | 0 | 0.079012 | 0.030864 | 0 | 0 | 0 | 0.026316 | 0 | 1 | 0.157895 | false | 0.157895 | 0.368421 | 0 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
5e0f9ec800c06344b82d12a8fe344794f62f7fa9 | 53 | py | Python | custom_components/xboxone/__init__.py | batfasturd/xboxone-home-assistant | 3ae29cda17e56700310f941315a0c9a23abdc2b5 | [
"MIT"
] | 32 | 2020-02-28T13:00:42.000Z | 2021-05-29T17:50:55.000Z | custom_components/xboxone/__init__.py | batfasturd/xboxone-home-assistant | 3ae29cda17e56700310f941315a0c9a23abdc2b5 | [
"MIT"
] | 28 | 2020-03-01T04:45:37.000Z | 2020-10-31T14:30:39.000Z | custom_components/xboxone/__init__.py | batfasturd/xboxone-home-assistant | 3ae29cda17e56700310f941315a0c9a23abdc2b5 | [
"MIT"
] | 20 | 2020-04-05T08:46:08.000Z | 2021-06-09T17:21:41.000Z | """Xbox one smartglass - media player integration"""
| 26.5 | 52 | 0.735849 | 6 | 53 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 53 | 1 | 53 | 53 | 0.847826 | 0.867925 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5e3a4dc87b369775a2e4fed6ba5ca4f50a1e8428 | 121 | py | Python | app/exceptions/invalid_content_type.py | Pocket/proxy-server | f7a6d668224dd2b93d0b9b0c41c91744c5b042d3 | [
"Apache-2.0"
] | 13 | 2019-11-04T23:55:18.000Z | 2021-11-26T07:07:46.000Z | app/exceptions/invalid_content_type.py | Pocket/proxy-server | f7a6d668224dd2b93d0b9b0c41c91744c5b042d3 | [
"Apache-2.0"
] | 12 | 2020-02-02T10:54:21.000Z | 2021-06-10T16:12:55.000Z | app/exceptions/invalid_content_type.py | Pocket/proxy-server | f7a6d668224dd2b93d0b9b0c41c91744c5b042d3 | [
"Apache-2.0"
] | 2 | 2020-01-15T07:38:24.000Z | 2022-01-19T19:55:59.000Z | from app.exceptions.base_exception import BaseException
class InvalidContentType(BaseException):
status_code = 400
| 20.166667 | 55 | 0.826446 | 13 | 121 | 7.538462 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028302 | 0.123967 | 121 | 5 | 56 | 24.2 | 0.896226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
eae02c0529c1b4e8d36f6c01d314d2b28a631e80 | 189 | py | Python | Basic_Python/getting_started3.py | vibhgupta/python-basics | c898f292eccc39a4fded7d1f1a4f90084bf934ab | [
"MIT"
] | null | null | null | Basic_Python/getting_started3.py | vibhgupta/python-basics | c898f292eccc39a4fded7d1f1a4f90084bf934ab | [
"MIT"
] | null | null | null | Basic_Python/getting_started3.py | vibhgupta/python-basics | c898f292eccc39a4fded7d1f1a4f90084bf934ab | [
"MIT"
] | null | null | null | import sys
sys.stderr.write("This is the stderr test\n")
sys.stderr.flush()
sys.stderr.write('this is my first sys tutorial\n')
print (sys.argv)
print datetime.datetime.now
| 15.75 | 52 | 0.698413 | 31 | 189 | 4.258065 | 0.548387 | 0.204545 | 0.212121 | 0.272727 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179894 | 189 | 11 | 53 | 17.181818 | 0.851613 | 0 | 0 | 0 | 0 | 0 | 0.314607 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.333333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d816ef1d65379ebcb0d6888e5a2de9ffba06d92c | 17,116 | py | Python | src/hydrogen/tags.py | beesperester/python-markup | 93e826db37a894354001a36690506966677dcbce | [
"MIT"
] | null | null | null | src/hydrogen/tags.py | beesperester/python-markup | 93e826db37a894354001a36690506966677dcbce | [
"MIT"
] | null | null | null | src/hydrogen/tags.py | beesperester/python-markup | 93e826db37a894354001a36690506966677dcbce | [
"MIT"
] | null | null | null | from __future__ import annotations
from typing import Any
from hydrogen.elements import Element, T_element
class a(Element):
def __init__(self, *children: T_element, **attributes: Any) -> None:
super().__init__("a", *children, **attributes)
class abbr(Element):
def __init__(self, *children: T_elem... | 30.728905 | 72 | 0.651905 | 1,885 | 17,116 | 5.391512 | 0.068435 | 0.087376 | 0.15153 | 0.194824 | 0.649415 | 0.649415 | 0.649415 | 0.649415 | 0.649415 | 0.649415 | 0 | 0.000849 | 0.174457 | 17,116 | 556 | 73 | 30.784173 | 0.718401 | 0 | 0 | 0.33033 | 0 | 0 | 0.02752 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.33033 | false | 0 | 0.009009 | 0 | 0.66967 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
d83448a771b43ddb92df4dc7b8de8d2c78cba0dc | 57 | py | Python | statdepth/__init__.py | braingeneers/functional_depth_methods | 40bbd91fb1e154e5f6b9f21e76e6fb79976dad38 | [
"MIT"
] | 1 | 2021-01-18T21:45:02.000Z | 2021-01-18T21:45:02.000Z | statdepth/__init__.py | braingeneers/functional_depth_methods | 40bbd91fb1e154e5f6b9f21e76e6fb79976dad38 | [
"MIT"
] | 1 | 2021-03-22T16:03:20.000Z | 2021-03-22T16:03:20.000Z | statdepth/__init__.py | braingeneers/functional_depth_methods | 40bbd91fb1e154e5f6b9f21e76e6fb79976dad38 | [
"MIT"
] | null | null | null | from .depth.depth import FunctionalDepth, PointcloudDepth | 57 | 57 | 0.877193 | 6 | 57 | 8.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 57 | 1 | 57 | 57 | 0.943396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d834a51f7c3145aa94bf185f7ebf0d7888c21bf7 | 31 | py | Python | graph_weather/models/layers/__init__.py | openclimatefix/graph_weather | e00b75418d62181d213fede2925bb100b4091f57 | [
"MIT"
] | 6 | 2022-02-25T09:27:57.000Z | 2022-03-28T22:26:56.000Z | graph_weather/models/layers/__init__.py | openclimatefix/graph_weather | e00b75418d62181d213fede2925bb100b4091f57 | [
"MIT"
] | 11 | 2022-02-25T08:24:17.000Z | 2022-03-30T18:31:16.000Z | graph_weather/models/layers/__init__.py | openclimatefix/graph_weather | e00b75418d62181d213fede2925bb100b4091f57 | [
"MIT"
] | null | null | null | """Layers for use in models"""
| 15.5 | 30 | 0.645161 | 5 | 31 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 1 | 31 | 31 | 0.769231 | 0.774194 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dc243ef423c0fbf9ec38ba85cd04651704aef416 | 105 | py | Python | AbuseCh/__init__.py | colingrady/AbuseCh | 0aff00fd12bdfaba9bd2d47150173e0ff5bbacf7 | [
"Apache-2.0"
] | null | null | null | AbuseCh/__init__.py | colingrady/AbuseCh | 0aff00fd12bdfaba9bd2d47150173e0ff5bbacf7 | [
"Apache-2.0"
] | null | null | null | AbuseCh/__init__.py | colingrady/AbuseCh | 0aff00fd12bdfaba9bd2d47150173e0ff5bbacf7 | [
"Apache-2.0"
] | null | null | null | from ._version import __version__
from .malwarebazaar import MalwareBazaar
from .urlhaus import URLhaus
| 21 | 40 | 0.847619 | 12 | 105 | 7 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12381 | 105 | 4 | 41 | 26.25 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
dc2e666e95f98cab7c6d9ec14f7843e1d3340ef4 | 421 | py | Python | Document.py | BeatrizRCorreia/health-informatics-project2 | e26dd1a0be6c209fd756b22aa8fa912fbfb46b1c | [
"MIT"
] | null | null | null | Document.py | BeatrizRCorreia/health-informatics-project2 | e26dd1a0be6c209fd756b22aa8fa912fbfb46b1c | [
"MIT"
] | null | null | null | Document.py | BeatrizRCorreia/health-informatics-project2 | e26dd1a0be6c209fd756b22aa8fa912fbfb46b1c | [
"MIT"
] | null | null | null | class Document:
def __init__(self, docID, docTitle, docContent, docAll):
self.docID = docID
self.docTitle = docTitle
self.docContent = docContent
self.docAll = docAll
def get_docID(self):
return self.docID
def get_docTitle(self):
return self.docTitle
def get_docContent(self):
return self.docConten... | 19.136364 | 57 | 0.741093 | 57 | 421 | 5.315789 | 0.22807 | 0.079208 | 0.184818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168646 | 421 | 22 | 58 | 19.136364 | 0.865714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.25 | 0.6875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
dc84ea7f37843ce480eb90d3e001d624b05cd735 | 529 | py | Python | scfmsp/controlflowanalysis/instructions/InstructionAdd.py | sepidehpouyan/SCF-MSP430 | 1d7565bf38d9f42e775031d4ea8515ff99bef778 | [
"MIT"
] | 1 | 2020-07-03T21:26:52.000Z | 2020-07-03T21:26:52.000Z | scfmsp/controlflowanalysis/instructions/InstructionAdd.py | sepidehpouyan/SCF-MSP430 | 1d7565bf38d9f42e775031d4ea8515ff99bef778 | [
"MIT"
] | null | null | null | scfmsp/controlflowanalysis/instructions/InstructionAdd.py | sepidehpouyan/SCF-MSP430 | 1d7565bf38d9f42e775031d4ea8515ff99bef778 | [
"MIT"
] | null | null | null | from scfmsp.controlflowanalysis.instructions.AbstractInstructionTwoRegisters import AbstractInstructionTwoRegisters
class InstructionAdd(AbstractInstructionTwoRegisters):
name = 'add'
def get_execution_time(self):
return self.clock
def execute_judgment(self, ac):
super(Instruct... | 33.0625 | 116 | 0.742911 | 51 | 529 | 7.392157 | 0.490196 | 0.238727 | 0.251989 | 0.222812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190926 | 529 | 15 | 117 | 35.266667 | 0.880841 | 0 | 0 | 0 | 0 | 0 | 0.005837 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.090909 | 0.090909 | 0.545455 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
dc85b2581325920f87d17d9b15241283b03a95fe | 3,928 | py | Python | serial/src/serial_test3.py | Choi-Laboratory/SOBIT-Bringup | 89a921ac5922b2963155d80739013c7ef4c67abf | [
"Apache-2.0"
] | null | null | null | serial/src/serial_test3.py | Choi-Laboratory/SOBIT-Bringup | 89a921ac5922b2963155d80739013c7ef4c67abf | [
"Apache-2.0"
] | null | null | null | serial/src/serial_test3.py | Choi-Laboratory/SOBIT-Bringup | 89a921ac5922b2963155d80739013c7ef4c67abf | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import serial
ser=serial.Serial(
port = '/dev/vsrc',
baudrate = 115200,
parity = serial.PARITY_NONE,
bytesize = serial.EIGHTBITS,
stopbits = serial.STOPBITS_ONE,
timeout = None,
xonxoff = 0,
rtscts = 0,
# interCharTimeout = None
)
joint... | 33.57265 | 429 | 0.555244 | 490 | 3,928 | 4.261224 | 0.244898 | 0.172414 | 0.201149 | 0.229885 | 0.380268 | 0.315613 | 0.290709 | 0.290709 | 0.290709 | 0.235632 | 0 | 0.131987 | 0.130092 | 3,928 | 116 | 430 | 33.862069 | 0.479075 | 0.135947 | 0 | 0.246154 | 0 | 0.076923 | 0.407353 | 0.232353 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.015385 | 0.015385 | null | null | 0.215385 | 0 | 0 | 0 | null | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dc8cc626a4b58ba41326004e9570b4cfe377aed5 | 57 | py | Python | __init__.py | Jalepeno112/SphinxWePayApi | 111d2b4a792c06406a55053d38000985c87c0d67 | [
"Apache-2.0"
] | null | null | null | __init__.py | Jalepeno112/SphinxWePayApi | 111d2b4a792c06406a55053d38000985c87c0d67 | [
"Apache-2.0"
] | null | null | null | __init__.py | Jalepeno112/SphinxWePayApi | 111d2b4a792c06406a55053d38000985c87c0d67 | [
"Apache-2.0"
] | null | null | null | #__init__.py file so that this directory can be imported
| 28.5 | 56 | 0.807018 | 10 | 57 | 4.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 57 | 1 | 57 | 57 | 0.875 | 0.964912 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dcb43f8468694be88a09207fcbc3927860cf178f | 48 | py | Python | 06/00/4.py | pylangstudy/201706 | f1cc6af6b18e5bd393cda27f5166067c4645d4d3 | [
"CC0-1.0"
] | null | null | null | 06/00/4.py | pylangstudy/201706 | f1cc6af6b18e5bd393cda27f5166067c4645d4d3 | [
"CC0-1.0"
] | 70 | 2017-06-01T11:02:51.000Z | 2017-06-30T00:35:32.000Z | 06/00/4.py | pylangstudy/201706 | f1cc6af6b18e5bd393cda27f5166067c4645d4d3 | [
"CC0-1.0"
] | null | null | null | for item in reversed(range(5)):
print(item)
| 16 | 31 | 0.666667 | 8 | 48 | 4 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.1875 | 48 | 2 | 32 | 24 | 0.794872 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
f4b858aace0468758291d45e88234ecf540ae898 | 346 | py | Python | edam_data/streams.py | galaxyproject/edam_data | 0fa349214d70994cd43752e252c465e5eb52bf17 | [
"MIT"
] | 4 | 2021-07-26T16:12:11.000Z | 2021-07-29T00:29:51.000Z | edam_data/streams.py | galaxyproject/edam_data | 0fa349214d70994cd43752e252c465e5eb52bf17 | [
"MIT"
] | null | null | null | edam_data/streams.py | galaxyproject/edam_data | 0fa349214d70994cd43752e252c465e5eb52bf17 | [
"MIT"
] | null | null | null | """Return text streams to EDAM data.
Keep parsing and such to minimum to maintain maximum backward compatibility.
"""
from importlib.resources import open_text
from typing import TextIO
def tabular_stream() -> TextIO:
"""Yield EDAM data in TSV format as a Python UTF-8 encoded text stream."""
return open_text... | 28.833333 | 78 | 0.748555 | 52 | 346 | 4.903846 | 0.673077 | 0.094118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00346 | 0.16474 | 346 | 11 | 79 | 31.454545 | 0.878893 | 0.520231 | 0 | 0 | 0 | 0 | 0.11039 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f4d3bb534fbad7ed4687e12693434eb57d5667e0 | 185 | py | Python | signbank/settings/pruebas.py | GDiaz16/signbank | fe492965a6e1294eb036c3a2adc54d1c8ba19f0f | [
"BSD-3-Clause"
] | null | null | null | signbank/settings/pruebas.py | GDiaz16/signbank | fe492965a6e1294eb036c3a2adc54d1c8ba19f0f | [
"BSD-3-Clause"
] | 3 | 2020-04-30T14:18:57.000Z | 2021-06-10T22:30:30.000Z | signbank/settings/pruebas.py | GDiaz16/signbank | fe492965a6e1294eb036c3a2adc54d1c8ba19f0f | [
"BSD-3-Clause"
] | null | null | null | import os
BASE_DIR = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))
PROJECT_DIR = os.path.dirname(BASE_DIR)
print(os.path.join(os.path.dirname(BASE_DIR), "static_collect")) | 46.25 | 70 | 0.783784 | 32 | 185 | 4.25 | 0.40625 | 0.264706 | 0.382353 | 0.25 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048649 | 185 | 4 | 71 | 46.25 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0.075269 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.25 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7608a5b82d5d7405d1f5ccb0b1303b55d5b9f242 | 698 | py | Python | src/graph_db/access/db.py | ilya16/graph-db | 6b35130c3fb540f030e65cdf309419f75f94cedf | [
"MIT"
] | 9 | 2018-04-27T07:49:08.000Z | 2021-03-15T12:06:23.000Z | src/graph_db/access/db.py | ilya16/graph-db | 6b35130c3fb540f030e65cdf309419f75f94cedf | [
"MIT"
] | 14 | 2018-04-10T13:09:34.000Z | 2018-05-07T21:40:01.000Z | src/graph_db/access/db.py | ilya16/graph-db | 6b35130c3fb540f030e65cdf309419f75f94cedf | [
"MIT"
] | null | null | null | from graph_db.access.cursor import Cursor
from graph_db.engine.api import EngineAPI
from graph_db.engine.graph_engine import GraphEngine
class GraphDB:
def __init__(self, config_path: str):
self.config_path = config_path
self.graph_engine: EngineAPI = GraphEngine(config_path)
def cursor(self)... | 23.266667 | 63 | 0.704871 | 96 | 698 | 4.864583 | 0.239583 | 0.164882 | 0.192719 | 0.122056 | 0.173448 | 0.119914 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213467 | 698 | 29 | 64 | 24.068966 | 0.850638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.35 | false | 0 | 0.15 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
761b1c20fee4b1f922a5a4307eb111834db41917 | 203 | py | Python | setup.py | CoveoWhisper/ModelGenerator | f20743ab075d9a965df00e63eaf4907aa57ed849 | [
"MIT"
] | null | null | null | setup.py | CoveoWhisper/ModelGenerator | f20743ab075d9a965df00e63eaf4907aa57ed849 | [
"MIT"
] | null | null | null | setup.py | CoveoWhisper/ModelGenerator | f20743ab075d9a965df00e63eaf4907aa57ed849 | [
"MIT"
] | null | null | null | from distutils.core import setup
setup(
name='Model Generator',
version='1',
packages=['generator'],
license='MIT',
long_description='Project to generate model for Whisper product'
) | 22.555556 | 68 | 0.694581 | 24 | 203 | 5.833333 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006061 | 0.187192 | 203 | 9 | 69 | 22.555556 | 0.842424 | 0 | 0 | 0 | 1 | 0 | 0.357843 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.125 | 0 | 0.125 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7624431f2f64cf8f39a7bfc79019058714754ed5 | 159 | py | Python | slack/python/mongo/config.py | m4573rn3rd/scripts | df29a79b5ed6a996ccf0357e4fe495dd05377848 | [
"MIT"
] | null | null | null | slack/python/mongo/config.py | m4573rn3rd/scripts | df29a79b5ed6a996ccf0357e4fe495dd05377848 | [
"MIT"
] | null | null | null | slack/python/mongo/config.py | m4573rn3rd/scripts | df29a79b5ed6a996ccf0357e4fe495dd05377848 | [
"MIT"
] | null | null | null | import pymongo
import pandas as pd
from pymongo import MongoClient
from datetime import datetime
myclient = pymongo.MongoClient("mongodb://localhost:27017/")
| 22.714286 | 60 | 0.81761 | 20 | 159 | 6.5 | 0.6 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035461 | 0.113208 | 159 | 6 | 61 | 26.5 | 0.886525 | 0 | 0 | 0 | 0 | 0 | 0.163522 | 0.163522 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
523509b77492645ad2ced51dab575976e2c72385 | 53 | py | Python | src/sandbox/fred.py | knead/code | 8826233da319cab90dac1338a481ef4ec1476770 | [
"BSD-2-Clause"
] | null | null | null | src/sandbox/fred.py | knead/code | 8826233da319cab90dac1338a481ef4ec1476770 | [
"BSD-2-Clause"
] | null | null | null | src/sandbox/fred.py | knead/code | 8826233da319cab90dac1338a481ef4ec1476770 | [
"BSD-2-Clause"
] | null | null | null | def lp(x: float) -> float:
y=f(x)
return y+(1-y)
| 13.25 | 26 | 0.528302 | 12 | 53 | 2.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.226415 | 53 | 3 | 27 | 17.666667 | 0.658537 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
524735b478f9c88462cfc72c86a3b47f271db39a | 310 | py | Python | py_moysklad/entities/price.py | upmarket-cc/py_moysklad | e026e611344c38f8a8d4f428781fcfb315aaaa60 | [
"MIT"
] | null | null | null | py_moysklad/entities/price.py | upmarket-cc/py_moysklad | e026e611344c38f8a8d4f428781fcfb315aaaa60 | [
"MIT"
] | null | null | null | py_moysklad/entities/price.py | upmarket-cc/py_moysklad | e026e611344c38f8a8d4f428781fcfb315aaaa60 | [
"MIT"
] | null | null | null | from decimal import Decimal
from typing import Optional
from py_moysklad.entities.currency import Currency
from py_moysklad.entities.entity import Entity
from py_moysklad.entities.price_type import PriceType
class Price(Entity):
price_type: Optional[PriceType]
currency: Currency
value: Decimal
| 23.846154 | 53 | 0.816129 | 41 | 310 | 6.04878 | 0.365854 | 0.072581 | 0.169355 | 0.266129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13871 | 310 | 12 | 54 | 25.833333 | 0.928839 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.555556 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5273834c10d61e52b27a9693bf5c8003b9cdf77c | 215 | py | Python | frontend/urls.py | jphacks/E_2010 | b2dcddf7910f539c274069f26bf7220b762204f9 | [
"MIT"
] | null | null | null | frontend/urls.py | jphacks/E_2010 | b2dcddf7910f539c274069f26bf7220b762204f9 | [
"MIT"
] | 1 | 2020-11-07T05:42:33.000Z | 2020-11-07T05:42:33.000Z | frontend/urls.py | jphacks/E_2010 | b2dcddf7910f539c274069f26bf7220b762204f9 | [
"MIT"
] | null | null | null | from django.conf.urls.static import static
from django.urls import path
from django.urls.conf import re_path
from . import views
from django.conf import settings
urlpatterns = [
re_path('^.*$', views.index),
]
| 21.5 | 42 | 0.753488 | 32 | 215 | 5 | 0.375 | 0.25 | 0.175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144186 | 215 | 9 | 43 | 23.888889 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0.018605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.625 | 0 | 0.625 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
527a9a25357fb0b0bda2f16fdfcd1bb044cfaa18 | 120 | py | Python | src_py/hat/gui/__main__.py | hat-open/hat-gui | 5937dbcd443c4f7bba87f9b0d268fe1d057b0164 | [
"Apache-2.0"
] | 1 | 2022-02-01T13:43:11.000Z | 2022-02-01T13:43:11.000Z | src_py/hat/gui/__main__.py | hat-open/hat-gui | 5937dbcd443c4f7bba87f9b0d268fe1d057b0164 | [
"Apache-2.0"
] | null | null | null | src_py/hat/gui/__main__.py | hat-open/hat-gui | 5937dbcd443c4f7bba87f9b0d268fe1d057b0164 | [
"Apache-2.0"
] | null | null | null | import sys
from hat.gui.main import main
if __name__ == '__main__':
sys.argv[0] = 'hat-gui'
sys.exit(main())
| 13.333333 | 29 | 0.633333 | 19 | 120 | 3.578947 | 0.578947 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010526 | 0.208333 | 120 | 8 | 30 | 15 | 0.705263 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bfe9653809f570b12fe7c927f8f0056fb265406e | 252 | py | Python | tests/test_utilities/conftest.py | coinator/hp-VPINNs | 04565217e2fdc84c48a6d36c3bd160b17af89c07 | [
"MIT"
] | null | null | null | tests/test_utilities/conftest.py | coinator/hp-VPINNs | 04565217e2fdc84c48a6d36c3bd160b17af89c07 | [
"MIT"
] | null | null | null | tests/test_utilities/conftest.py | coinator/hp-VPINNs | 04565217e2fdc84c48a6d36c3bd160b17af89c07 | [
"MIT"
] | null | null | null | import pytest
from hp_VPINN.utilities import np as numpy
from hp_VPINN.utilities import tf as tensorflow
tensorflow.set_random_seed(0)
numpy.random.seed(0)
@pytest.fixture
def tf():
return tensorflow
@pytest.fixture
def np():
return numpy
| 15.75 | 47 | 0.769841 | 39 | 252 | 4.871795 | 0.461538 | 0.063158 | 0.115789 | 0.210526 | 0.273684 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00939 | 0.154762 | 252 | 15 | 48 | 16.8 | 0.882629 | 0 | 0 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | true | 0 | 0.272727 | 0.181818 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
bffc444a1de315349bffe78d7e610bdf0ef24582 | 278 | py | Python | tests/bi_encoders/qa/tfhub/test_lareqa_qa.py | boba-and-beer/vectorhub | fc536a59c77755f4051af37338839e24e0add5c4 | [
"Apache-2.0"
] | 385 | 2020-10-26T13:12:11.000Z | 2021-10-07T15:14:48.000Z | tests/bi_encoders/qa/tfhub/test_lareqa_qa.py | boba-and-beer/vectorhub | fc536a59c77755f4051af37338839e24e0add5c4 | [
"Apache-2.0"
] | 24 | 2020-10-29T13:16:31.000Z | 2021-08-31T06:47:33.000Z | tests/bi_encoders/qa/tfhub/test_lareqa_qa.py | boba-and-beer/vectorhub | fc536a59c77755f4051af37338839e24e0add5c4 | [
"Apache-2.0"
] | 45 | 2020-10-29T15:25:19.000Z | 2021-09-05T21:50:57.000Z | from vectorhub.bi_encoders.qa.tfhub import LAReQA2Vec
from ....test_utils import assert_encoder_works
def test_lare_qa_works():
"""
Testing for LAReQA works
"""
encoder = LAReQA2Vec()
assert_encoder_works(encoder, data_type='text', model_type='bi_encoder')
| 27.8 | 76 | 0.741007 | 37 | 278 | 5.243243 | 0.594595 | 0.134021 | 0.185567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008511 | 0.154676 | 278 | 9 | 77 | 30.888889 | 0.817021 | 0.086331 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0.4 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
873dc2e4e399b596c4b670fef5ae4e6b4fd22401 | 238 | py | Python | toggl_dinero/__init__.py | esben/toggl-dinero | f836d45cda04e2993844463a9669408700fd3f29 | [
"MIT"
] | 1 | 2021-07-01T08:19:00.000Z | 2021-07-01T08:19:00.000Z | toggl_dinero/__init__.py | esben/toggl-dinero | f836d45cda04e2993844463a9669408700fd3f29 | [
"MIT"
] | null | null | null | toggl_dinero/__init__.py | esben/toggl-dinero | f836d45cda04e2993844463a9669408700fd3f29 | [
"MIT"
] | 1 | 2020-08-18T14:07:41.000Z | 2020-08-18T14:07:41.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Dinero invoicing from Toggl time entries.
.. currentmodule:: toggl_dinero
.. moduleauthor:: Esben Haabendal <esben@geanix.com>
"""
from .version import __version__, __release__ # noqa
| 19.833333 | 53 | 0.705882 | 28 | 238 | 5.678571 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004902 | 0.142857 | 238 | 11 | 54 | 21.636364 | 0.77451 | 0.735294 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8746c62d72a0975395bec35eefb18741a57bcb6f | 4,394 | py | Python | client.py | MingzheHu-Duke/Heart-Rate-Sentinel-Server | 3f6a7cad7cd50c67221e168fae1fee1183de9d66 | [
"MIT"
] | null | null | null | client.py | MingzheHu-Duke/Heart-Rate-Sentinel-Server | 3f6a7cad7cd50c67221e168fae1fee1183de9d66 | [
"MIT"
] | null | null | null | client.py | MingzheHu-Duke/Heart-Rate-Sentinel-Server | 3f6a7cad7cd50c67221e168fae1fee1183de9d66 | [
"MIT"
] | null | null | null | import requests
from server import init_db
print("\n")
print("Add an attending with his phone number is not string")
# should be 400
new_attending = {"attending_username": "Everett",
"attending_email": "Every@outlook.com",
"attending_phone": 9191111110}
r = requests.post("http://127.... | 26.957055 | 76 | 0.676604 | 700 | 4,394 | 4.14 | 0.147143 | 0.066253 | 0.060732 | 0.049689 | 0.777433 | 0.743616 | 0.743616 | 0.688406 | 0.677019 | 0.677019 | 0 | 0.086721 | 0.160218 | 4,394 | 162 | 77 | 27.123457 | 0.698645 | 0.053482 | 0 | 0.637168 | 0 | 0 | 0.451886 | 0.01088 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017699 | 0 | 0.017699 | 0.566372 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
5e4918f123f9a9e05fad31d3960697de89c57a82 | 185 | py | Python | src/charma/common/__init__.py | mononobi/charma-server | ed90f5ec0b5ff3996232d5fe49a4f77f96d82ced | [
"BSD-3-Clause"
] | 1 | 2020-01-16T23:36:10.000Z | 2020-01-16T23:36:10.000Z | src/charma/common/__init__.py | mononobi/imovie-server | ed90f5ec0b5ff3996232d5fe49a4f77f96d82ced | [
"BSD-3-Clause"
] | 24 | 2020-06-08T18:27:04.000Z | 2021-06-06T12:01:39.000Z | src/charma/common/__init__.py | mononobi/charma-server | ed90f5ec0b5ff3996232d5fe49a4f77f96d82ced | [
"BSD-3-Clause"
] | 1 | 2020-12-20T05:29:04.000Z | 2020-12-20T05:29:04.000Z | # -*- coding: utf-8 -*-
"""
common package.
"""
from pyrin.packaging.base import Package
class CommonPackage(Package):
"""
common package class.
"""
NAME = __name__
| 12.333333 | 40 | 0.610811 | 19 | 185 | 5.736842 | 0.684211 | 0.238532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.232432 | 185 | 14 | 41 | 13.214286 | 0.760563 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5e74394e58c61d14394be61a0d7cbed418dbba1e | 81 | py | Python | src/plntter/opnav/sun/sun.py | acgardner/plntter | d8d5b8e1fb2d7c1c4e21ec9e66cbb3c7419a7825 | [
"MIT"
] | null | null | null | src/plntter/opnav/sun/sun.py | acgardner/plntter | d8d5b8e1fb2d7c1c4e21ec9e66cbb3c7419a7825 | [
"MIT"
] | null | null | null | src/plntter/opnav/sun/sun.py | acgardner/plntter | d8d5b8e1fb2d7c1c4e21ec9e66cbb3c7419a7825 | [
"MIT"
] | null | null | null | """
Placeholder file for sun image processing algorithms
"""
import numpy as np
| 13.5 | 52 | 0.753086 | 11 | 81 | 5.545455 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17284 | 81 | 5 | 53 | 16.2 | 0.910448 | 0.641975 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5e8a7c90e55b99a8d9c753684e325e79d6523049 | 196 | py | Python | hello.py | Eieiphyu/flask-with-jinja | 36da7b46599cae0f3516369d6c046cff3c2ae970 | [
"MIT"
] | null | null | null | hello.py | Eieiphyu/flask-with-jinja | 36da7b46599cae0f3516369d6c046cff3c2ae970 | [
"MIT"
] | null | null | null | hello.py | Eieiphyu/flask-with-jinja | 36da7b46599cae0f3516369d6c046cff3c2ae970 | [
"MIT"
] | null | null | null | from flask import Flask,render_template,url_for
myapp=Flask(__name__)
@myapp.route("/")
def hello():
return render_template("index1.html")
if __name__=="__main__":
myapp.run(debug=True)
| 21.777778 | 48 | 0.734694 | 27 | 196 | 4.777778 | 0.740741 | 0.217054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00578 | 0.117347 | 196 | 8 | 49 | 24.5 | 0.739884 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.142857 | 0.428571 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
5eaa57261888e4f1b1e3bd7eea9b88f6bb5870b8 | 135 | py | Python | src/signalflow_algorithms/common/json_dict.py | naaeef/signalflowgrapher | 0ac3b4a8f11830e5cd7665264ab4e723b5ddaad9 | [
"Artistic-2.0"
] | 17 | 2020-09-15T11:25:32.000Z | 2022-02-02T18:20:45.000Z | src/signalflow_algorithms/common/json_dict.py | hzhikai97/signalflowgrapher | 928a1c072d22bc606d03197ca3c326dd8e0ae89e | [
"Artistic-2.0"
] | 29 | 2020-09-16T16:23:28.000Z | 2021-05-08T17:29:34.000Z | src/signalflow_algorithms/common/json_dict.py | hzhikai97/signalflowgrapher | 928a1c072d22bc606d03197ca3c326dd8e0ae89e | [
"Artistic-2.0"
] | 6 | 2020-09-21T06:32:19.000Z | 2022-03-05T17:33:14.000Z | from typing import Dict
import abc
class JSONDict(abc.ABC):
@abc.abstractmethod
def to_dict(self) -> Dict:
return {}
| 15 | 30 | 0.659259 | 18 | 135 | 4.888889 | 0.666667 | 0.136364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.244444 | 135 | 8 | 31 | 16.875 | 0.862745 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 4 |
5eb236110e3b237b34883b18e8c1c713db5cbea6 | 339 | py | Python | 000000stepikProgBasKirFed/Stepik000000ProgBasKirFedсh01p01st05TASK05_20210205_print.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 000000stepikProgBasKirFed/Stepik000000ProgBasKirFedсh01p01st05TASK05_20210205_print.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | 000000stepikProgBasKirFed/Stepik000000ProgBasKirFedсh01p01st05TASK05_20210205_print.py | SafonovMikhail/python_000577 | 739f764e80f1ca354386f00b8e9db1df8c96531d | [
"Apache-2.0"
] | null | null | null | '''
Напишите программу, которая объявляет переменную "s" и присваивает ей значение
"Мы изучаем язык программирования Python".
После инициализации переменной программа должна напечатать значение этой переменной.
Sample Input:
Sample Output:
Мы изучаем язык программирования Python
'''
s = 'Мы изучаем язык программировани... | 30.818182 | 84 | 0.814159 | 41 | 339 | 6.731707 | 0.634146 | 0.097826 | 0.141304 | 0.315217 | 0.380435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126844 | 339 | 10 | 85 | 33.9 | 0.932432 | 0.811209 | 0 | 0 | 0 | 0 | 0.696429 | 0 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
5eb4f05efcf96285aaa8c5f0ace832258f9118c8 | 217 | py | Python | src/ashley/machina_extensions/forum_conversation/__init__.py | openfun/ashley | 33af6a46bc22c86417c200fdd84876c2c46b02ce | [
"MIT"
] | 6 | 2020-05-05T11:50:29.000Z | 2021-09-19T06:01:39.000Z | src/ashley/machina_extensions/forum_conversation/__init__.py | openfun/ashley | 33af6a46bc22c86417c200fdd84876c2c46b02ce | [
"MIT"
] | 93 | 2020-02-17T16:28:57.000Z | 2022-03-18T14:06:45.000Z | src/ashley/machina_extensions/forum_conversation/__init__.py | openfun/ashley | 33af6a46bc22c86417c200fdd84876c2c46b02ce | [
"MIT"
] | 1 | 2020-03-02T04:36:12.000Z | 2020-03-02T04:36:12.000Z | """This application overrides to django-machina's forum_conversation app."""
# pylint: disable=invalid-name
default_app_config = (
"ashley.machina_extensions.forum_conversation.apps.ForumConversationAppConfig"
)
| 31 | 82 | 0.806452 | 24 | 217 | 7.083333 | 0.833333 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092166 | 217 | 6 | 83 | 36.166667 | 0.862944 | 0.460829 | 0 | 0 | 0 | 0 | 0.684685 | 0.684685 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0d70ed3c458caf069ce800d443b7953d7e59582b | 95 | py | Python | playsounds/apps.py | jedrzej2j/nemo | 85b8274a922359aa781cf3b297b854c01c83be5b | [
"MIT"
] | null | null | null | playsounds/apps.py | jedrzej2j/nemo | 85b8274a922359aa781cf3b297b854c01c83be5b | [
"MIT"
] | null | null | null | playsounds/apps.py | jedrzej2j/nemo | 85b8274a922359aa781cf3b297b854c01c83be5b | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class PlaysoundsConfig(AppConfig):
name = 'playsounds'
| 15.833333 | 34 | 0.768421 | 10 | 95 | 7.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 35 | 19 | 0.9125 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
0d8fed3e4d0b2c11c98bf409cf4d466a83969786 | 1,851 | py | Python | stix2generator/test/test_object_generator_number.py | majacQ/cti-stix-generator | 7465ecd29ef6caabf9f1b60ad45dad789c475028 | [
"BSD-3-Clause"
] | 20 | 2020-12-10T18:16:28.000Z | 2022-02-20T19:30:53.000Z | stix2generator/test/test_object_generator_number.py | majacQ/cti-stix-generator | 7465ecd29ef6caabf9f1b60ad45dad789c475028 | [
"BSD-3-Clause"
] | 26 | 2021-01-13T23:32:19.000Z | 2022-03-29T06:47:02.000Z | stix2generator/test/test_object_generator_number.py | majacQ/cti-stix-generator | 7465ecd29ef6caabf9f1b60ad45dad789c475028 | [
"BSD-3-Clause"
] | 8 | 2020-12-14T23:10:16.000Z | 2021-12-06T13:07:24.000Z | import pytest
import stix2generator.exceptions
def test_number_closed(object_generator, num_trials):
for _ in range(num_trials):
value = object_generator.generate_from_spec({
"type": "number",
"minimum": 0,
"maximum": 1
})
assert 0 <= value <= 1
... | 26.826087 | 77 | 0.603998 | 195 | 1,851 | 5.45641 | 0.282051 | 0.169173 | 0.073308 | 0.152256 | 0.769737 | 0.769737 | 0.769737 | 0.75 | 0.56203 | 0.56203 | 0 | 0.022325 | 0.298217 | 1,851 | 68 | 78 | 27.220588 | 0.796767 | 0.053485 | 0 | 0.673469 | 1 | 0 | 0.102916 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 1 | 0.122449 | false | 0 | 0.040816 | 0 | 0.163265 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0d995c80fc83c53f61c0891b3a9a3fe2f23eb5eb | 387 | py | Python | Task1F.py | StanleyHou117/group66_LentTermProject | 0255310cb202f21cada8cf7c0f45a045a9b72c1f | [
"MIT"
] | null | null | null | Task1F.py | StanleyHou117/group66_LentTermProject | 0255310cb202f21cada8cf7c0f45a045a9b72c1f | [
"MIT"
] | null | null | null | Task1F.py | StanleyHou117/group66_LentTermProject | 0255310cb202f21cada8cf7c0f45a045a9b72c1f | [
"MIT"
] | null | null | null | from floodsystem.station import inconsistent_typical_range_stations
from floodsystem.stationdata import build_station_list
def run():
print(sorted(inconsistent_typical_range_stations(build_station_list())))
print(len(inconsistent_typical_range_stations(build_station_list())))
if __name__ == "__main__":
pr... | 38.7 | 76 | 0.78553 | 48 | 387 | 5.854167 | 0.5625 | 0.202847 | 0.256228 | 0.341637 | 0.341637 | 0.341637 | 0.341637 | 0 | 0 | 0 | 0 | 0.002915 | 0.113695 | 387 | 10 | 77 | 38.7 | 0.816327 | 0 | 0 | 0 | 0 | 0 | 0.149485 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | true | 0 | 0.25 | 0 | 0.375 | 0.375 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0da38a2c31acd6e55f600d018ec0f0215babf42e | 153 | py | Python | arbitrage/public_markets/bitfinexusd.py | fiona-pet/bitcoin-arbitrage | a955b5930997b2ad46d2bbfb29db4dcad5e6c3e7 | [
"MIT"
] | 1,633 | 2015-01-05T00:47:41.000Z | 2022-03-27T04:05:03.000Z | arbitrage/public_markets/bitfinexusd.py | fiona-pet/bitcoin-arbitrage | a955b5930997b2ad46d2bbfb29db4dcad5e6c3e7 | [
"MIT"
] | 22 | 2015-02-16T09:31:32.000Z | 2020-10-14T20:14:26.000Z | arbitrage/public_markets/bitfinexusd.py | fiona-pet/bitcoin-arbitrage | a955b5930997b2ad46d2bbfb29db4dcad5e6c3e7 | [
"MIT"
] | 531 | 2015-01-02T10:13:01.000Z | 2022-03-26T16:06:19.000Z | from arbitrage.public_markets._bitfinex import Bitfinex
class BitfinexUSD(Bitfinex):
def __init__(self):
super().__init__("USD", "btcusd")
| 21.857143 | 55 | 0.72549 | 17 | 153 | 5.941176 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 153 | 6 | 56 | 25.5 | 0.782946 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0db2343a3b060f6419e5784c92b29e86549d8e60 | 171 | py | Python | aladin/bin/django-admin.py | ApsRajput/oscar-extend | 8828d66b78ae139a73d5ca707c0fe0710eac890a | [
"BSD-3-Clause"
] | null | null | null | aladin/bin/django-admin.py | ApsRajput/oscar-extend | 8828d66b78ae139a73d5ca707c0fe0710eac890a | [
"BSD-3-Clause"
] | null | null | null | aladin/bin/django-admin.py | ApsRajput/oscar-extend | 8828d66b78ae139a73d5ca707c0fe0710eac890a | [
"BSD-3-Clause"
] | null | null | null | #!/home/ankit/Desktop/oscar-test/django-oscar/aladin/bin/python3
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 28.5 | 64 | 0.789474 | 23 | 171 | 5.391304 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00641 | 0.087719 | 171 | 5 | 65 | 34.2 | 0.788462 | 0.368421 | 0 | 0 | 0 | 0 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0dc6d219e74b94d2f27520d71ba21dd192c125b4 | 184 | py | Python | python-L2/one.py | MajhiRockzZ/py-dj-fswdbc | aa14da5febeb0280994e00936428bca67e800214 | [
"MIT"
] | null | null | null | python-L2/one.py | MajhiRockzZ/py-dj-fswdbc | aa14da5febeb0280994e00936428bca67e800214 | [
"MIT"
] | null | null | null | python-L2/one.py | MajhiRockzZ/py-dj-fswdbc | aa14da5febeb0280994e00936428bca67e800214 | [
"MIT"
] | null | null | null | def func():
print("func() in one.py")
print("TOP LEVEL ONE.PY")
if __name__ == "__main__":
print("one.py is being run directly")
else:
print("one.py has been imported")
| 16.727273 | 41 | 0.630435 | 29 | 184 | 3.724138 | 0.655172 | 0.185185 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201087 | 184 | 10 | 42 | 18.4 | 0.734694 | 0 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0.142857 | 0 | 0.285714 | 0.571429 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
0dc6f7d7c442d5c0d6a44309e34b98f01e75d80e | 5,867 | py | Python | cmdb_extend_sdk/api/agent/agent_client.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | 5 | 2019-07-31T04:11:05.000Z | 2021-01-07T03:23:20.000Z | cmdb_extend_sdk/api/agent/agent_client.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | null | null | null | cmdb_extend_sdk/api/agent/agent_client.py | easyopsapis/easyops-api-python | adf6e3bad33fa6266b5fa0a449dd4ac42f8447d0 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import os
import sys
import cmdb_extend_sdk.api.agent.agent_install_pb2
import cmdb_extend_sdk.api.agent.agent_install_progress_pb2
import google.protobuf.empty_pb2
import cmdb_extend_sdk.api.agent.get_install_key_pb2
import cmdb_extend_sdk.utils.http_util
import google.protobuf.json_forma... | 37.851613 | 198 | 0.64002 | 663 | 5,867 | 5.31825 | 0.170437 | 0.068066 | 0.077425 | 0.063528 | 0.75865 | 0.756948 | 0.737096 | 0.714691 | 0.686047 | 0.640386 | 0 | 0.006069 | 0.269814 | 5,867 | 154 | 199 | 38.097403 | 0.816993 | 0.235214 | 0 | 0.648936 | 0 | 0 | 0.074546 | 0.058504 | 0 | 0 | 0 | 0 | 0 | 1 | 0.042553 | false | 0 | 0.085106 | 0 | 0.170213 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0dd8cbc2411cb46ee5f68fc09b674f31a8a880b4 | 81 | py | Python | jklib/db/__init__.py | Jordan-Kowal/jklib | 84dc8ad64b9216926ba9af0ec11f1dbd5d8a53f4 | [
"MIT"
] | 1 | 2020-02-28T21:53:51.000Z | 2020-02-28T21:53:51.000Z | jklib/db/__init__.py | Jordan-Kowal/jklib | 84dc8ad64b9216926ba9af0ec11f1dbd5d8a53f4 | [
"MIT"
] | null | null | null | jklib/db/__init__.py | Jordan-Kowal/jklib | 84dc8ad64b9216926ba9af0ec11f1dbd5d8a53f4 | [
"MIT"
] | null | null | null | """Package with utility functions for handling databases and storage packages"""
| 40.5 | 80 | 0.802469 | 10 | 81 | 6.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 81 | 1 | 81 | 81 | 0.915493 | 0.91358 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0de645b0ea458e896f43a9a51de2bcc5f5ce2f47 | 218 | py | Python | example/notes/views.py | xunil154/ExampleREST | 8c536d6368101857181e5eb6e6af893f4cc0e005 | [
"MIT"
] | null | null | null | example/notes/views.py | xunil154/ExampleREST | 8c536d6368101857181e5eb6e6af893f4cc0e005 | [
"MIT"
] | null | null | null | example/notes/views.py | xunil154/ExampleREST | 8c536d6368101857181e5eb6e6af893f4cc0e005 | [
"MIT"
] | null | null | null | from rest_framework import viewsets
from .models import Note
from .serializers import NoteSerializer
class NotesViewSet(viewsets.ModelViewSet):
queryset = Note.objects.all()
serializer_class = NoteSerializer
| 24.222222 | 42 | 0.807339 | 24 | 218 | 7.25 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137615 | 218 | 8 | 43 | 27.25 | 0.925532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2194392c032be7c7d693634424f7cfd5cc02e0fa | 81 | py | Python | daw/apps.py | suzupro2019/Deeparture | 74b4de5bc2fc07adb0ade0207ac623997b5a0689 | [
"FTL"
] | 5 | 2020-02-09T03:42:44.000Z | 2020-03-15T03:39:26.000Z | daw/apps.py | suzupro2019/Deeparture | 74b4de5bc2fc07adb0ade0207ac623997b5a0689 | [
"FTL"
] | null | null | null | daw/apps.py | suzupro2019/Deeparture | 74b4de5bc2fc07adb0ade0207ac623997b5a0689 | [
"FTL"
] | null | null | null | from django.apps import AppConfig
class DawConfig(AppConfig):
name = 'daw'
| 13.5 | 33 | 0.728395 | 10 | 81 | 5.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 81 | 5 | 34 | 16.2 | 0.893939 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
21c4cdc65a30c8f32d3eea7e46e550cde95a482c | 13,453 | py | Python | dop/atm/migrations/0001_initial.py | zhang5171291/dop | 6c7e8645e290759c988932617606887b71ea2dd6 | [
"Apache-2.0"
] | null | null | null | dop/atm/migrations/0001_initial.py | zhang5171291/dop | 6c7e8645e290759c988932617606887b71ea2dd6 | [
"Apache-2.0"
] | 2 | 2019-10-17T05:18:13.000Z | 2019-10-17T05:19:43.000Z | dop/atm/migrations/0001_initial.py | zhang5171291/dop | 6c7e8645e290759c988932617606887b71ea2dd6 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
]
operations = [
migrations.Create... | 66.930348 | 252 | 0.614435 | 1,457 | 13,453 | 5.49897 | 0.12011 | 0.133175 | 0.07676 | 0.067399 | 0.825137 | 0.76348 | 0.727159 | 0.675487 | 0.644658 | 0.616201 | 0 | 0.09194 | 0.226269 | 13,453 | 200 | 253 | 67.265 | 0.677779 | 0.001561 | 0 | 0.530928 | 0 | 0 | 0.260164 | 0.107669 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.015464 | 0 | 0.030928 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
21d90e792322c93ef7de9258a6c7b95fa67748a5 | 80 | py | Python | mal/const.py | Nearata/myanimelist-rest-api | f254e53e7f54415c6b11f5b2e9a8afe142975f70 | [
"Unlicense"
] | 1 | 2020-11-11T14:55:23.000Z | 2020-11-11T14:55:23.000Z | mal/const.py | Nearata/myanimelist-rest-api | f254e53e7f54415c6b11f5b2e9a8afe142975f70 | [
"Unlicense"
] | 5 | 2021-03-31T19:26:31.000Z | 2021-08-09T13:33:07.000Z | mal/const.py | Nearata/myanimelist-rest-api | f254e53e7f54415c6b11f5b2e9a8afe142975f70 | [
"Unlicense"
] | null | null | null | MAL_URL = "https://myanimelist.net"
MAL_CDN_URL = "https://cdn.myanimelist.net"
| 26.666667 | 43 | 0.7375 | 12 | 80 | 4.666667 | 0.5 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 80 | 2 | 44 | 40 | 0.756757 | 0 | 0 | 0 | 0 | 0 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0dfc92abb6852249364ca74a5ae98c9ddd82fbdd | 38 | py | Python | venv/lib/python3.6/encodings/cp1251.py | JamesMusyoka/Blog | fdcb51cf4541bbb3b9b3e7a1c3735a0b1f45f0b5 | [
"Unlicense"
] | 2 | 2019-04-17T13:35:50.000Z | 2021-12-21T00:11:36.000Z | venv/lib/python3.6/encodings/cp1251.py | JamesMusyoka/Blog | fdcb51cf4541bbb3b9b3e7a1c3735a0b1f45f0b5 | [
"Unlicense"
] | 2 | 2021-03-31T19:51:24.000Z | 2021-06-10T23:05:09.000Z | venv/lib/python3.6/encodings/cp1251.py | JamesMusyoka/Blog | fdcb51cf4541bbb3b9b3e7a1c3735a0b1f45f0b5 | [
"Unlicense"
] | 2 | 2019-10-01T08:47:35.000Z | 2020-07-11T06:32:16.000Z | /usr/lib/python3.6/encodings/cp1251.py | 38 | 38 | 0.815789 | 7 | 38 | 4.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 0 | 38 | 1 | 38 | 38 | 0.657895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 4 |
df1d80ef18daf65dc7b8ba3663d46ae6f3a47ba1 | 26 | py | Python | Data Structure and Algorithm.py | lovefov/Python | ba8fc49e6e503927dc1f827f37b77f3e43b5d0c8 | [
"MIT"
] | null | null | null | Data Structure and Algorithm.py | lovefov/Python | ba8fc49e6e503927dc1f827f37b77f3e43b5d0c8 | [
"MIT"
] | null | null | null | Data Structure and Algorithm.py | lovefov/Python | ba8fc49e6e503927dc1f827f37b77f3e43b5d0c8 | [
"MIT"
] | 1 | 2021-02-08T08:48:44.000Z | 2021-02-08T08:48:44.000Z | ''''
long way to work
''' | 8.666667 | 17 | 0.5 | 4 | 26 | 3.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 26 | 3 | 18 | 8.666667 | 0.65 | 0.730769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
df588779d1483bbafdf7759fb633924b332c72a4 | 238 | py | Python | src/metarl/torch/embeddings/__init__.py | icml2020submission6857/metarl | 9b66cefa2b6bcb6a38096d629ce8853b47c7171d | [
"MIT"
] | 2 | 2020-03-15T14:35:15.000Z | 2021-02-15T16:38:00.000Z | src/metarl/torch/embeddings/__init__.py | icml2020submission6857/metarl | 9b66cefa2b6bcb6a38096d629ce8853b47c7171d | [
"MIT"
] | null | null | null | src/metarl/torch/embeddings/__init__.py | icml2020submission6857/metarl | 9b66cefa2b6bcb6a38096d629ce8853b47c7171d | [
"MIT"
] | 1 | 2020-02-24T03:04:23.000Z | 2020-02-24T03:04:23.000Z | """PyTorch embedding modules for meta-learning algorithms."""
from metarl.torch.embeddings.mlp_encoder import MLPEncoder
from metarl.torch.embeddings.recurrent_encoder import RecurrentEncoder
__all__ = ['MLPEncoder', 'RecurrentEncoder']
| 39.666667 | 70 | 0.827731 | 26 | 238 | 7.346154 | 0.692308 | 0.104712 | 0.157068 | 0.26178 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079832 | 238 | 5 | 71 | 47.6 | 0.872146 | 0.231092 | 0 | 0 | 0 | 0 | 0.146893 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
df62e70dbb7e8540bf989df573035564f4e63513 | 72 | py | Python | resdk/data_upload/__init__.py | tristanbrown/resolwe-bio-py | c911defde8a5e7e902ad1adf4f9e480f17002c18 | [
"Apache-2.0"
] | null | null | null | resdk/data_upload/__init__.py | tristanbrown/resolwe-bio-py | c911defde8a5e7e902ad1adf4f9e480f17002c18 | [
"Apache-2.0"
] | null | null | null | resdk/data_upload/__init__.py | tristanbrown/resolwe-bio-py | c911defde8a5e7e902ad1adf4f9e480f17002c18 | [
"Apache-2.0"
] | null | null | null | """Collection of helper functions for uploading and annotating data."""
| 36 | 71 | 0.777778 | 9 | 72 | 6.222222 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 72 | 1 | 72 | 72 | 0.888889 | 0.902778 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
df81922e10c996c477ca2bd4e363c03b5ab6a04e | 129 | py | Python | plant_pathology/self_knowledge_distillation.py | bwolfson97/plant-pathology | 4036889136d03236b427522ae87368fefc4f0025 | [
"Apache-2.0"
] | null | null | null | plant_pathology/self_knowledge_distillation.py | bwolfson97/plant-pathology | 4036889136d03236b427522ae87368fefc4f0025 | [
"Apache-2.0"
] | 3 | 2021-04-09T21:57:48.000Z | 2021-04-12T01:49:25.000Z | plant_pathology/self_knowledge_distillation.py | bwolfson97/plant-pathology | 4036889136d03236b427522ae87368fefc4f0025 | [
"Apache-2.0"
] | null | null | null | # AUTOGENERATED! DO NOT EDIT! File to edit: nbks/05_self_knowledge_distillation.ipynb (unless otherwise specified).
__all__ = [] | 43 | 115 | 0.790698 | 17 | 129 | 5.588235 | 0.941176 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.116279 | 129 | 3 | 116 | 43 | 0.815789 | 0.875969 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
10f26e1070848c4fff68796ed179cae8485f4e7b | 85 | py | Python | config.py | CRImier/escaperoom-web | a03ec02eabd0dcf29ba1129583e0532fd90d6c2d | [
"MIT"
] | null | null | null | config.py | CRImier/escaperoom-web | a03ec02eabd0dcf29ba1129583e0532fd90d6c2d | [
"MIT"
] | null | null | null | config.py | CRImier/escaperoom-web | a03ec02eabd0dcf29ba1129583e0532fd90d6c2d | [
"MIT"
] | null | null | null | import web
db_filename = "config.db"
DB = web.database(dbn='sqlite', db=db_filename)
| 21.25 | 47 | 0.741176 | 14 | 85 | 4.357143 | 0.571429 | 0.327869 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105882 | 85 | 3 | 48 | 28.333333 | 0.802632 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
10fb813a33b3e1839627ca5449e541bc8ac93ccc | 24 | py | Python | cupy/_version.py | casheera/cupy | c670b6f6f1282665c9985180c10f498d8591f909 | [
"MIT"
] | null | null | null | cupy/_version.py | casheera/cupy | c670b6f6f1282665c9985180c10f498d8591f909 | [
"MIT"
] | null | null | null | cupy/_version.py | casheera/cupy | c670b6f6f1282665c9985180c10f498d8591f909 | [
"MIT"
] | null | null | null | __version__ = '7.0.0b3'
| 12 | 23 | 0.666667 | 4 | 24 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0.125 | 24 | 1 | 24 | 24 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
10fd30e77ebc57c1673a1219c96f972cf1a3b00c | 242 | py | Python | filter_plugins/custom.py | oscaromeu/k3s-playground | 3790cde94050ae336f0469bbac9ce21285b8e123 | [
"Apache-2.0"
] | 1 | 2021-03-17T08:44:57.000Z | 2021-03-17T08:44:57.000Z | filter_plugins/custom.py | oscaromeu/k3s-ansible-deploy-monitoring-playground | a7086a590ee4be28cc812154812b29a8b8d44aa9 | [
"Apache-2.0"
] | 1 | 2022-03-24T06:28:43.000Z | 2022-03-24T06:28:43.000Z | filter_plugins/custom.py | oscaromeu/k3s-ansible-deploy-monitoring-playground | a7086a590ee4be28cc812154812b29a8b8d44aa9 | [
"Apache-2.0"
] | null | null | null | __author__ = "oscar romeu"
from ansible import errors
class FilterModule(object):
def filters(self):
return {
"is_list": self.is_list,
}
def is_list(self, value):
return isinstance(value, list)
| 17.285714 | 38 | 0.61157 | 28 | 242 | 5.035714 | 0.642857 | 0.12766 | 0.141844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.293388 | 242 | 13 | 39 | 18.615385 | 0.824561 | 0 | 0 | 0 | 0 | 0 | 0.07438 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.222222 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
801111c94b3c6722d6bedd6016a910a8153cd1e1 | 73,599 | py | Python | tests/ui/stdio/test_commands.py | Matoking/siliqua | b943822631ab18dde85e95d1731ebd7ffd7ef14a | [
"CC0-1.0"
] | 8 | 2019-10-31T19:16:08.000Z | 2021-12-04T00:09:24.000Z | tests/ui/stdio/test_commands.py | Matoking/siliqua | b943822631ab18dde85e95d1731ebd7ffd7ef14a | [
"CC0-1.0"
] | null | null | null | tests/ui/stdio/test_commands.py | Matoking/siliqua | b943822631ab18dde85e95d1731ebd7ffd7ef14a | [
"CC0-1.0"
] | 1 | 2019-11-01T19:27:48.000Z | 2019-11-01T19:27:48.000Z | import pytest
import json
import copy
from siliqua.server import WalletServer
from siliqua.wallet import Account, AccountSource, Block, LinkBlock
from siliqua.wallet.secret import Secret
from siliqua.ui.stdio import logger
from tests.util import hook
class TestCreateWallet:
def test_create_wallet_non_encrypted(... | 34.848011 | 168 | 0.626245 | 7,513 | 73,599 | 5.874351 | 0.050446 | 0.07092 | 0.034667 | 0.033987 | 0.801967 | 0.759415 | 0.715888 | 0.679408 | 0.636493 | 0.610414 | 0 | 0.061206 | 0.265873 | 73,599 | 2,111 | 169 | 34.864519 | 0.755622 | 0.024321 | 0 | 0.674051 | 0 | 0 | 0.183582 | 0.086987 | 0 | 0 | 0 | 0 | 0.194937 | 1 | 0.058228 | false | 0.012025 | 0.005063 | 0 | 0.079114 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
801b4dd2ecf29e7d5ba4349a775cdaacc33b708a | 1,418 | py | Python | InvenTree/part/settings.py | onurtatli/InvenTree | 4ce479cf97cc62563ab08ed6123d3c6ca28ba6a3 | [
"MIT"
] | null | null | null | InvenTree/part/settings.py | onurtatli/InvenTree | 4ce479cf97cc62563ab08ed6123d3c6ca28ba6a3 | [
"MIT"
] | null | null | null | InvenTree/part/settings.py | onurtatli/InvenTree | 4ce479cf97cc62563ab08ed6123d3c6ca28ba6a3 | [
"MIT"
] | null | null | null | """
User-configurable settings for the Part app
"""
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from common.models import InvenTreeSetting
def part_assembly_default():
"""
Returns the default value for the 'assembly' field of a Part object
"""
return InvenTreeSetting.get_setting... | 21.815385 | 75 | 0.71086 | 175 | 1,418 | 5.56 | 0.228571 | 0.043165 | 0.122302 | 0.230216 | 0.603289 | 0.603289 | 0.603289 | 0.412127 | 0.336074 | 0.336074 | 0 | 0.00088 | 0.198166 | 1,418 | 64 | 76 | 22.15625 | 0.854881 | 0.389281 | 0 | 0 | 0 | 0 | 0.126162 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4375 | true | 0 | 0.125 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
80271f3d6310bf220424190d5f1d4daa92fd1369 | 792 | py | Python | app/controller/ponto_verificacao_controller.py | Alfser/webservice-paem | ca018e98a04c62fc2da391ba9c835fb697dc17ff | [
"Apache-2.0"
] | null | null | null | app/controller/ponto_verificacao_controller.py | Alfser/webservice-paem | ca018e98a04c62fc2da391ba9c835fb697dc17ff | [
"Apache-2.0"
] | null | null | null | app/controller/ponto_verificacao_controller.py | Alfser/webservice-paem | ca018e98a04c62fc2da391ba9c835fb697dc17ff | [
"Apache-2.0"
] | 3 | 2021-07-06T17:46:06.000Z | 2021-07-27T19:49:16.000Z | from ..model import PontoVerificacaoModel
from .base_controller import BaseHasUsuarioController, BaseHasNameController
class PontoVerificacaoController(BaseHasUsuarioController, BaseHasNameController):
@classmethod
def get(cls, id_usuario):
return super().get(id_usuario, PontoVerificacaoModel)
... | 29.333333 | 82 | 0.728535 | 74 | 792 | 7.662162 | 0.364865 | 0.123457 | 0.185185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190657 | 792 | 26 | 83 | 30.461538 | 0.884555 | 0 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.277778 | false | 0 | 0.111111 | 0.277778 | 0.722222 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
8038cf12556598d9836724e314c50180d3f10d89 | 29,202 | py | Python | Libraries/Python/CommonEnvironment/v1.0/CommonEnvironment/TypeInfo/FundamentalTypes/Serialization/UnitTests/StringSerialization_UnitTest.py | davidbrownell/v3-Common_Environment | 8f42f256e573cbd83cbf9813db9958025ddf12f2 | [
"BSL-1.0"
] | null | null | null | Libraries/Python/CommonEnvironment/v1.0/CommonEnvironment/TypeInfo/FundamentalTypes/Serialization/UnitTests/StringSerialization_UnitTest.py | davidbrownell/v3-Common_Environment | 8f42f256e573cbd83cbf9813db9958025ddf12f2 | [
"BSL-1.0"
] | 1 | 2018-06-08T06:45:16.000Z | 2018-06-08T06:45:16.000Z | Libraries/Python/CommonEnvironment/v1.0/CommonEnvironment/TypeInfo/FundamentalTypes/Serialization/UnitTests/StringSerialization_UnitTest.py | davidbrownell/v3-Common_Environment | 8f42f256e573cbd83cbf9813db9958025ddf12f2 | [
"BSL-1.0"
] | 1 | 2018-06-08T04:15:17.000Z | 2018-06-08T04:15:17.000Z | # ----------------------------------------------------------------------
# |
# | StringSerialization_UnitTest.py
# |
# | David Brownell <db@DavidBrownell.com>
# | 2018-04-26 22:06:18
# |
# ----------------------------------------------------------------------
# |
# | Copyright David Brownell 2018-22.
... | 78.289544 | 252 | 0.634991 | 2,702 | 29,202 | 6.822724 | 0.104367 | 0.066721 | 0.151234 | 0.127583 | 0.846379 | 0.784812 | 0.715216 | 0.623651 | 0.554001 | 0.482235 | 0 | 0.071257 | 0.130162 | 29,202 | 372 | 253 | 78.5 | 0.654502 | 0.119855 | 0 | 0.163934 | 0 | 0 | 0.106086 | 0.035929 | 0 | 0 | 0 | 0 | 0.635246 | 1 | 0.127049 | false | 0.004098 | 0.036885 | 0 | 0.17623 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
80573f7d1e34b4a318836d16a3f92db9e1221d13 | 158 | py | Python | meterer/__init__.py | dacut/meterer | 441e7f021e3302597f56876948a40fe8799a3375 | [
"Apache-2.0"
] | null | null | null | meterer/__init__.py | dacut/meterer | 441e7f021e3302597f56876948a40fe8799a3375 | [
"Apache-2.0"
] | null | null | null | meterer/__init__.py | dacut/meterer | 441e7f021e3302597f56876948a40fe8799a3375 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
"""
Metering agent for general requests.
"""
from .client import Meterer
from .s3 import S3Meterer
__all__ = ["Meterer", "S3Meterer"]
| 17.555556 | 36 | 0.721519 | 20 | 158 | 5.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.139241 | 158 | 8 | 37 | 19.75 | 0.779412 | 0.367089 | 0 | 0 | 0 | 0 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
337a63584bfc18d2efd6aa11defad0d6d9d4fd29 | 181 | py | Python | backend/__init__.py | jmather625/OSM_buildingdetector | 7b814f6579dc399dc55b131becf6d1ae202b25bb | [
"MIT"
] | 6 | 2019-07-25T05:04:48.000Z | 2021-11-05T04:48:22.000Z | backend/__init__.py | jmather625/OSM_buildingdetector | 7b814f6579dc399dc55b131becf6d1ae202b25bb | [
"MIT"
] | 14 | 2019-02-24T15:36:40.000Z | 2022-02-10T00:36:23.000Z | backend/__init__.py | jmather625/OSM_buildingdetector | 7b814f6579dc399dc55b131becf6d1ae202b25bb | [
"MIT"
] | 2 | 2019-11-13T04:26:22.000Z | 2019-12-18T01:01:41.000Z | # makes the backend folder's different python files callable
# essentially all combined into one big "backend" python file
from .OSMAPI_Interactor import *
from .citySearch import * | 45.25 | 61 | 0.80663 | 25 | 181 | 5.8 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143646 | 181 | 4 | 62 | 45.25 | 0.935484 | 0.651934 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
33ad5ed48c7d540c84f1d9e07165951d314f169a | 512 | py | Python | IA/Python/3/3.2/3.py | worthl3ss/random-small | ffb60781f57eb865acbd81aaa07056046bad32fe | [
"MIT"
] | 1 | 2022-02-23T12:47:00.000Z | 2022-02-23T12:47:00.000Z | IA/Python/3/3.2/3.py | worthl3ss/random-small | ffb60781f57eb865acbd81aaa07056046bad32fe | [
"MIT"
] | null | null | null | IA/Python/3/3.2/3.py | worthl3ss/random-small | ffb60781f57eb865acbd81aaa07056046bad32fe | [
"MIT"
] | null | null | null | M = []
size1 = int(input())
for i in range(size1):
row = []
for j in range(size1):
row.append(int(input()))
M.append(row)
M2 = []
for i in range(size1):
row = []
for j in range(size1):
row.append(int(input()))
M2.append(row)
result = [ [ 0 for i in range(size1) ] for j in r... | 20.48 | 62 | 0.529297 | 85 | 512 | 3.188235 | 0.188235 | 0.258303 | 0.442804 | 0.202952 | 0.690037 | 0.630996 | 0.630996 | 0.630996 | 0.630996 | 0.630996 | 0 | 0.041667 | 0.296875 | 512 | 24 | 63 | 21.333333 | 0.711111 | 0 | 0 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.05 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
33b6e84eefb8af820d7c3a39a730cf860eae20fe | 242 | py | Python | generate/util.py | kudoo-cloud/timeseries-prediction | daf5179b5cf5f2090401721bf668962b9f397868 | [
"MIT"
] | null | null | null | generate/util.py | kudoo-cloud/timeseries-prediction | daf5179b5cf5f2090401721bf668962b9f397868 | [
"MIT"
] | null | null | null | generate/util.py | kudoo-cloud/timeseries-prediction | daf5179b5cf5f2090401721bf668962b9f397868 | [
"MIT"
] | null | null | null | def currencyCodes():
"""
This function returns a list of currency codes.
It looks simple, but it can be improved without
affecting other components.
"""
currency_codes = ['USD', 'EUR', 'AUD']
return currency_codes
| 26.888889 | 51 | 0.661157 | 30 | 242 | 5.266667 | 0.833333 | 0.246835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243802 | 242 | 8 | 52 | 30.25 | 0.863388 | 0.508264 | 0 | 0 | 0 | 0 | 0.094737 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
d501a0b1765fbf9b55290fdfb930328386e1a43d | 203 | py | Python | intercom/job.py | affiliprint/python-intercom | d7d9de8deba3db1acc3a779c6f258d47620c16f4 | [
"MIT"
] | 77 | 2018-01-12T20:14:37.000Z | 2022-03-21T04:57:24.000Z | intercom/job.py | affiliprint/python-intercom | d7d9de8deba3db1acc3a779c6f258d47620c16f4 | [
"MIT"
] | 40 | 2018-01-11T01:43:37.000Z | 2022-02-16T19:24:35.000Z | intercom/job.py | affiliprint/python-intercom | d7d9de8deba3db1acc3a779c6f258d47620c16f4 | [
"MIT"
] | 60 | 2018-03-20T00:38:56.000Z | 2022-02-22T15:49:24.000Z | # -*- coding: utf-8 -*- # noqa
from intercom.traits.api_resource import Resource
class Job(Resource):
"""A Bulk API Job.
Ref: https://developers.intercom.io/reference#bulk-job-model
"""
| 18.454545 | 64 | 0.660099 | 27 | 203 | 4.925926 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006024 | 0.182266 | 203 | 10 | 65 | 20.3 | 0.795181 | 0.527094 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1d325920d18892822c4e266ce9b94444dbf78470 | 84 | py | Python | textvinf/__init__.py | vikigenius/textvinf | 65f1f5595c17488a01a56a064dc217a94d887399 | [
"MIT"
] | null | null | null | textvinf/__init__.py | vikigenius/textvinf | 65f1f5595c17488a01a56a064dc217a94d887399 | [
"MIT"
] | null | null | null | textvinf/__init__.py | vikigenius/textvinf | 65f1f5595c17488a01a56a064dc217a94d887399 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from typing import Any, Dict
config: Dict[str, Any] = {}
| 12 | 28 | 0.583333 | 12 | 84 | 4.083333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.214286 | 84 | 6 | 29 | 14 | 0.727273 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1d35884322495718ca19207e7b23f351c80819b6 | 12 | py | Python | closures.py | elijahanderson/Python-Practice | 881f3dad9d6050d4f3c268172187e6a17ed39426 | [
"MIT"
] | null | null | null | closures.py | elijahanderson/Python-Practice | 881f3dad9d6050d4f3c268172187e6a17ed39426 | [
"MIT"
] | null | null | null | closures.py | elijahanderson/Python-Practice | 881f3dad9d6050d4f3c268172187e6a17ed39426 | [
"MIT"
] | null | null | null | # Closures
| 4 | 10 | 0.666667 | 1 | 12 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 12 | 2 | 11 | 6 | 0.888889 | 0.666667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1d48f636ffb2f9cb48a598d5a8b1d8c61b76b342 | 1,438 | py | Python | dicestimulate.py | FRANK732/Dice-Rolling | 868258ae10afe4537252acbd245c7a0877d7c69e | [
"MIT"
] | 1 | 2020-12-21T15:34:34.000Z | 2020-12-21T15:34:34.000Z | dicestimulate.py | FRANK732/Dice-Rolling | 868258ae10afe4537252acbd245c7a0877d7c69e | [
"MIT"
] | null | null | null | dicestimulate.py | FRANK732/Dice-Rolling | 868258ae10afe4537252acbd245c7a0877d7c69e | [
"MIT"
] | null | null | null | import random
title = "Dice Simulation"
y = title.center(70)
y = y.upper()
print(y)
x = "y"
while x == "y":
Numb = random.randint(1,6)
x = input("press y to continue ")
x = x.lower()
if x != "y":
break
if Numb == 1:
print("--------")
print("| ... | 21.147059 | 38 | 0.273296 | 111 | 1,438 | 3.540541 | 0.27027 | 0.610687 | 0.458015 | 0.129771 | 0.491094 | 0 | 0 | 0 | 0 | 0 | 0 | 0.049268 | 0.477747 | 1,438 | 67 | 39 | 21.462687 | 0.474035 | 0 | 0 | 0.586207 | 0 | 0 | 0.247257 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.017241 | 0 | 0.017241 | 0.706897 | 0 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
1d68b5c052e23ae31a5a50163bee912596213b3d | 73 | py | Python | haystack/graph_retriever/__init__.py | agolo/haystack | ff6bc38b85ecec3c4d3d7c47b0f2a60da6b1f898 | [
"Apache-2.0"
] | 4,544 | 2019-11-14T11:57:49.000Z | 2022-03-31T17:41:18.000Z | haystack/graph_retriever/__init__.py | agolo/haystack | ff6bc38b85ecec3c4d3d7c47b0f2a60da6b1f898 | [
"Apache-2.0"
] | 1,679 | 2020-01-14T15:55:58.000Z | 2022-03-31T20:55:25.000Z | haystack/graph_retriever/__init__.py | agolo/haystack | ff6bc38b85ecec3c4d3d7c47b0f2a60da6b1f898 | [
"Apache-2.0"
] | 820 | 2019-11-27T13:01:42.000Z | 2022-03-31T12:54:34.000Z | from haystack.graph_retriever.text_to_sparql import Text2SparqlRetriever
| 36.5 | 72 | 0.917808 | 9 | 73 | 7.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.054795 | 73 | 1 | 73 | 73 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d51828b90389cfe38e43c56a59687110caa10b9c | 4,136 | py | Python | pypond/exceptions.py | jkafader-esnet/pypond | 01c440e9f7c1785e8867b3ba13a46530ffef42e1 | [
"BSD-3-Clause-LBNL"
] | 5 | 2016-09-07T20:29:12.000Z | 2018-02-16T08:21:34.000Z | pypond/exceptions.py | jkafader-esnet/pypond | 01c440e9f7c1785e8867b3ba13a46530ffef42e1 | [
"BSD-3-Clause-LBNL"
] | 23 | 2016-06-15T23:22:08.000Z | 2018-09-20T20:49:49.000Z | pypond/exceptions.py | jkafader-esnet/pypond | 01c440e9f7c1785e8867b3ba13a46530ffef42e1 | [
"BSD-3-Clause-LBNL"
] | 2 | 2020-03-12T04:51:34.000Z | 2021-11-03T21:02:40.000Z | # Copyright (c) 2016, The Regents of the University of California,
# through Lawrence Berkeley National Laboratory (subject to receipt
# of any required approvals from the U.S. Dept. of Energy).
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the ... | 21.768421 | 72 | 0.661025 | 464 | 4,136 | 5.700431 | 0.221983 | 0.112287 | 0.066541 | 0.083176 | 0.486578 | 0.486578 | 0.486578 | 0.486578 | 0.486578 | 0.486578 | 0 | 0.001256 | 0.229932 | 4,136 | 189 | 73 | 21.883598 | 0.829199 | 0.370648 | 0 | 0.705128 | 0 | 0 | 0.017501 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.282051 | false | 0.141026 | 0 | 0.141026 | 0.705128 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 4 |
d551d850d82a961578dd0ecfb3ab33b3c5849af3 | 64 | py | Python | dummy_config.py | jrigden/muckamuck | b77711d140a1229b6608d1c4269a74525bdaafc8 | [
"MIT"
] | 2 | 2015-06-17T19:17:02.000Z | 2015-06-17T19:17:04.000Z | dummy_config.py | jrigden/muckamuck | b77711d140a1229b6608d1c4269a74525bdaafc8 | [
"MIT"
] | null | null | null | dummy_config.py | jrigden/muckamuck | b77711d140a1229b6608d1c4269a74525bdaafc8 | [
"MIT"
] | null | null | null | PAGE_ITEM_LIMIT = 10
RSS_ITEM_LIMIT = 10
OUTPUT_DIRECTORY = ""
| 12.8 | 21 | 0.765625 | 10 | 64 | 4.4 | 0.7 | 0.409091 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0.15625 | 64 | 4 | 22 | 16 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d5665c295a12ddff20666945315cc89b12a158d1 | 343 | py | Python | theapp/serializer.py | je-ss-y/awards | c7633c4cb8a50fcebc05003e8a4d3e2719b13ef3 | [
"CNRI-Python"
] | null | null | null | theapp/serializer.py | je-ss-y/awards | c7633c4cb8a50fcebc05003e8a4d3e2719b13ef3 | [
"CNRI-Python"
] | 3 | 2020-06-05T23:53:13.000Z | 2021-06-10T22:09:59.000Z | theapp/serializer.py | je-ss-y/awards | c7633c4cb8a50fcebc05003e8a4d3e2719b13ef3 | [
"CNRI-Python"
] | null | null | null | from rest_framework import serializers
from .models import *
class MerchSerializer(serializers.ModelSerializer):
class Meta:
model = Snap
fields = ('image', 'photoname', 'description')
class ProfSerializer(serializers.ModelSerializer):
class Meta:
model = Profile
fields = ('bi... | 22.866667 | 54 | 0.685131 | 31 | 343 | 7.548387 | 0.645161 | 0.222222 | 0.264957 | 0.299145 | 0.34188 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218659 | 343 | 14 | 55 | 24.5 | 0.873134 | 0 | 0 | 0.2 | 0 | 0 | 0.122807 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
d573d64b3495a15617e6902c47afd2480ec42fbb | 583 | py | Python | app/enquiry/migrations/0003_auto_20190622_1002.py | S3Infosoft/mvr-insights | ac73feff03c1592d5efd8e0b82f72dd4dbd3e921 | [
"MIT"
] | null | null | null | app/enquiry/migrations/0003_auto_20190622_1002.py | S3Infosoft/mvr-insights | ac73feff03c1592d5efd8e0b82f72dd4dbd3e921 | [
"MIT"
] | 20 | 2019-06-17T11:01:25.000Z | 2020-05-09T06:13:17.000Z | app/enquiry/migrations/0003_auto_20190622_1002.py | S3Infosoft/mvr-insights | ac73feff03c1592d5efd8e0b82f72dd4dbd3e921 | [
"MIT"
] | 1 | 2020-03-03T11:13:57.000Z | 2020-03-03T11:13:57.000Z | # Generated by Django 2.2.2 on 2019-06-22 10:02
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('enquiry', '0002_auto_20190607_0853'),
]
operations = [
migrations.AlterModelOptions(
name='ota',
options={'ordering': ('-id'... | 22.423077 | 47 | 0.526587 | 49 | 583 | 6.204082 | 0.632653 | 0.266447 | 0.305921 | 0.177632 | 0.315789 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0.078481 | 0.32247 | 583 | 25 | 48 | 23.32 | 0.691139 | 0.077187 | 0 | 0.473684 | 1 | 0 | 0.147388 | 0.04291 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.210526 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d57c96a7194940e3766cdce96c158dc34d4e2524 | 470 | py | Python | locations/admin.py | moralrecordings/parkourdex | be0badf084b583588dbe672e53948a24ea82de95 | [
"BSD-3-Clause"
] | null | null | null | locations/admin.py | moralrecordings/parkourdex | be0badf084b583588dbe672e53948a24ea82de95 | [
"BSD-3-Clause"
] | 8 | 2021-04-08T18:31:49.000Z | 2022-03-11T23:31:32.000Z | locations/admin.py | moralrecordings/parkourdex | be0badf084b583588dbe672e53948a24ea82de95 | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from django.contrib.gis.admin import GeoModelAdmin
from simple_history.admin import SimpleHistoryAdmin
from locations.models import FeatureCategory, Feature, Location, Comment, Photo
admin.site.register(FeatureCategory, SimpleHistoryAdmin)
admin.site.register(Feature, SimpleHistoryAdm... | 39.166667 | 79 | 0.857447 | 52 | 470 | 7.730769 | 0.365385 | 0.11194 | 0.211443 | 0.348259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068085 | 470 | 11 | 80 | 42.727273 | 0.917808 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.444444 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d5aaa3706d941ceac17dc7abc38c1c97e0c95fe0 | 161 | py | Python | 003/todo-app/main/todo/forms/create.py | akiracadet/django-projects-v1 | 35ab3b88ed9bb9fab7e3d32a8fb838fff6571937 | [
"MIT"
] | null | null | null | 003/todo-app/main/todo/forms/create.py | akiracadet/django-projects-v1 | 35ab3b88ed9bb9fab7e3d32a8fb838fff6571937 | [
"MIT"
] | 5 | 2021-03-30T14:07:08.000Z | 2021-09-22T19:28:43.000Z | 006/ui-design/main/todo/forms/create.py | akiracadet/django-projects-v1 | 35ab3b88ed9bb9fab7e3d32a8fb838fff6571937 | [
"MIT"
] | null | null | null | from django.forms import ModelForm
from todo.models import Todo
class CreateTodoForm(ModelForm):
class Meta:
model = Todo
fields = ['todo']
| 20.125 | 34 | 0.68323 | 19 | 161 | 5.789474 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242236 | 161 | 7 | 35 | 23 | 0.901639 | 0 | 0 | 0 | 0 | 0 | 0.024845 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d5ad32c7c13c71a06ce8640185bdba528bd7bd43 | 199 | py | Python | OpenCV Python/7. Camera Calibration & 3D Reconstruction/2. Pose Estimation/pose.py | Ashleshk/Machine-Learning-Data-Science-Deep-Learning | 03357ab98155bf73b8f1d2fd53255cc16bea2333 | [
"MIT"
] | 1 | 2020-05-24T06:55:31.000Z | 2020-05-24T06:55:31.000Z | OpenCV Python/7. Camera Calibration & 3D Reconstruction/2. Pose Estimation/pose.py | Ashleshk/Machine-Learning-Data-Science-Deep-Learning | 03357ab98155bf73b8f1d2fd53255cc16bea2333 | [
"MIT"
] | null | null | null | OpenCV Python/7. Camera Calibration & 3D Reconstruction/2. Pose Estimation/pose.py | Ashleshk/Machine-Learning-Data-Science-Deep-Learning | 03357ab98155bf73b8f1d2fd53255cc16bea2333 | [
"MIT"
] | null | null | null | import cv2
import numpy as np
import glob
# Load previously saved data
with np.load('1. Camera Calibration\camera.py') as X:
mtx, dist, _, _ = [X[i] for i in ('mtx','dist','rvecs','tvecs')]
| 24.875 | 68 | 0.653266 | 33 | 199 | 3.878788 | 0.69697 | 0.109375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012422 | 0.190955 | 199 | 8 | 69 | 24.875 | 0.782609 | 0.130653 | 0 | 0 | 0 | 0 | 0.27907 | 0.122093 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
6394413f4c360a7b7e358f346610c597fc938e6e | 141 | py | Python | example/settings_authors.py | callowayproject/django-stories | ea0398d69ea597819d0a6c75d4a3f65820321e13 | [
"Apache-2.0"
] | 10 | 2015-06-25T23:35:29.000Z | 2021-08-20T04:22:00.000Z | example/settings_authors.py | callowayproject/django-stories | ea0398d69ea597819d0a6c75d4a3f65820321e13 | [
"Apache-2.0"
] | null | null | null | example/settings_authors.py | callowayproject/django-stories | ea0398d69ea597819d0a6c75d4a3f65820321e13 | [
"Apache-2.0"
] | 2 | 2017-03-21T04:10:29.000Z | 2020-04-06T12:38:12.000Z | from example.settings import *
STORY_SETTINGS.update({
'AUTHOR_MODEL': 'simpleapp.basicauthor',
'AUTHOR_MODEL_LIMIT_CHOICES': {}
})
| 20.142857 | 44 | 0.730496 | 15 | 141 | 6.533333 | 0.8 | 0.22449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134752 | 141 | 6 | 45 | 23.5 | 0.803279 | 0 | 0 | 0 | 0 | 0 | 0.41844 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
639bffa2c3a82b4de776b2aa9ab2fcbc7ee5a6ce | 125 | py | Python | miping/training/noGloveValueError.py | mclgoerg/MiningPersonalityInGerman | 4c5811a0f72100b7afef9695475a6de9251444b7 | [
"Apache-2.0"
] | 1 | 2020-09-11T01:11:19.000Z | 2020-09-11T01:11:19.000Z | miping/training/noGloveValueError.py | mclgoerg/MiningPersonalityInGerman | 4c5811a0f72100b7afef9695475a6de9251444b7 | [
"Apache-2.0"
] | null | null | null | miping/training/noGloveValueError.py | mclgoerg/MiningPersonalityInGerman | 4c5811a0f72100b7afef9695475a6de9251444b7 | [
"Apache-2.0"
] | 2 | 2020-08-12T15:57:06.000Z | 2020-12-17T18:11:03.000Z | class NoGloveValueError(Exception):
"""
Raised if no value can be found in GloVe for a user's text.
"""
pass
| 20.833333 | 63 | 0.64 | 18 | 125 | 4.444444 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272 | 125 | 5 | 64 | 25 | 0.879121 | 0.472 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
63c0e979df24bd01001b827dbd63c017bce3afe9 | 304 | py | Python | application/model/dao/todo_dao.py | UniversidadeDeVassouras/labproghiper-todolist | 6f2f6ba807afd97e1de0b31bd3a9d556db29b879 | [
"Apache-2.0"
] | null | null | null | application/model/dao/todo_dao.py | UniversidadeDeVassouras/labproghiper-todolist | 6f2f6ba807afd97e1de0b31bd3a9d556db29b879 | [
"Apache-2.0"
] | null | null | null | application/model/dao/todo_dao.py | UniversidadeDeVassouras/labproghiper-todolist | 6f2f6ba807afd97e1de0b31bd3a9d556db29b879 | [
"Apache-2.0"
] | 1 | 2020-04-14T00:21:34.000Z | 2020-04-14T00:21:34.000Z | from datetime import date
class ToDoDAO():
def __init__(self):
self._todo_list = []
def inserir(self, todo):
todo.set_id(len(self._todo_list) + 1)
todo.set_data(date.today())
self._todo_list.append(todo)
def listar(self):
return self._todo_list | 21.714286 | 45 | 0.615132 | 41 | 304 | 4.219512 | 0.512195 | 0.231214 | 0.277457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004505 | 0.269737 | 304 | 14 | 46 | 21.714286 | 0.774775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.1 | 0.1 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
63c56a791ea1864ec8e1e9fbc46cb8168dfe81bd | 204 | py | Python | wsgi.py | stackean/sample-flask-restful | 4cb3f63ddcde13645e56f6c553b6d50dcbeb501f | [
"MIT"
] | null | null | null | wsgi.py | stackean/sample-flask-restful | 4cb3f63ddcde13645e56f6c553b6d50dcbeb501f | [
"MIT"
] | null | null | null | wsgi.py | stackean/sample-flask-restful | 4cb3f63ddcde13645e56f6c553b6d50dcbeb501f | [
"MIT"
] | null | null | null | #!/usr/bin/python
import sys
# working directory
sys.path.insert(0,"/var/www/webroot/ROOT/")
# write app name after from. for example if it is hello.py then write hello
from app import app as application
| 29.142857 | 75 | 0.759804 | 36 | 204 | 4.305556 | 0.805556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005682 | 0.137255 | 204 | 6 | 76 | 34 | 0.875 | 0.529412 | 0 | 0 | 0 | 0 | 0.236559 | 0.236559 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
892550d49dad893714415ee4a1ddb645d8d02fd8 | 384 | py | Python | backend/account/schema.py | elielagmay/react-budgeteer | 49a25dbd6dd6ea5d8bc93421eefbc12808f585af | [
"Unlicense"
] | 2 | 2018-10-23T00:40:53.000Z | 2021-05-31T08:19:40.000Z | backend/account/schema.py | elielagmay/react-budgeteer | 49a25dbd6dd6ea5d8bc93421eefbc12808f585af | [
"Unlicense"
] | null | null | null | backend/account/schema.py | elielagmay/react-budgeteer | 49a25dbd6dd6ea5d8bc93421eefbc12808f585af | [
"Unlicense"
] | null | null | null | import graphene
from graphene_django.types import DjangoObjectType
from . import models
class CategoryNode(DjangoObjectType):
class Meta:
model = models.Category
interfaces = (graphene.relay.Node, )
class AccountNode(DjangoObjectType):
class Meta:
model = models.Account
inter... | 19.2 | 50 | 0.703125 | 39 | 384 | 6.897436 | 0.512821 | 0.156134 | 0.185874 | 0.223048 | 0.505576 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221354 | 384 | 19 | 51 | 20.210526 | 0.899666 | 0 | 0 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.076923 | 0.230769 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
896d76d0fd8727985beed88c52f4d5872cdca136 | 142 | py | Python | examples/research/proj/load.py | fishjojo/pydmfe | 93cfc655314933d3531b5733521a1f95a044f6cb | [
"MIT"
] | 3 | 2021-02-26T06:26:00.000Z | 2022-02-20T08:58:20.000Z | examples/research/proj/load.py | fishjojo/pydmfet | 93cfc655314933d3531b5733521a1f95a044f6cb | [
"MIT"
] | null | null | null | examples/research/proj/load.py | fishjojo/pydmfet | 93cfc655314933d3531b5733521a1f95a044f6cb | [
"MIT"
] | null | null | null | from pyscf.tools import molden
mol, mo_energy, mo_coeff, mo_occ, irrep_labels, spins = molden.load("mo_lo.molden")
print (mo_coeff.shape)
| 17.75 | 83 | 0.760563 | 24 | 142 | 4.25 | 0.708333 | 0.137255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126761 | 142 | 7 | 84 | 20.285714 | 0.822581 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
898a4df5ae359f76f02922e17204b3257d027a32 | 24,884 | py | Python | tca_ng/example_maps.py | wichovw/tca-gt | ad862286f153e5cd83db8a44ff0bb6ae7c4925ce | [
"MIT"
] | 1 | 2016-09-09T15:51:38.000Z | 2016-09-09T15:51:38.000Z | tca_ng/example_maps.py | wichovw/tca-gt | ad862286f153e5cd83db8a44ff0bb6ae7c4925ce | [
"MIT"
] | null | null | null | tca_ng/example_maps.py | wichovw/tca-gt | ad862286f153e5cd83db8a44ff0bb6ae7c4925ce | [
"MIT"
] | null | null | null | import tca_ng.cells
import tca_ng.models
def generate_street(length, rate=0.8):
topo = tca_ng.models.Topology()
entrance = tca_ng.cells.StreetEntranceCell()
topo.cells.append(entrance)
topo.endpoint_cells.append(entrance)
for _ in range(length - 2):
topo.cells.append(tca_ng.cells.Stre... | 36.327007 | 102 | 0.607418 | 3,506 | 24,884 | 4.21563 | 0.031375 | 0.066373 | 0.05866 | 0.031664 | 0.837551 | 0.798782 | 0.734777 | 0.638701 | 0.6023 | 0.548173 | 0 | 0.053371 | 0.241762 | 24,884 | 685 | 103 | 36.327007 | 0.729966 | 0.013061 | 0 | 0.518027 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.018975 | false | 0 | 0.003795 | 0 | 0.041746 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
899e3296d2b0b8e7d95ffa27505e5d672e160728 | 169 | py | Python | client/client/functions/commands/get_client_mac.py | IchBInHanz/clientnet | 20a75df953eee08d9bc1135a20cc662ba87efea1 | [
"MIT"
] | 1 | 2021-01-08T15:27:29.000Z | 2021-01-08T15:27:29.000Z | client/client/functions/commands/get_client_mac.py | IchBInHanz/clientnet | 20a75df953eee08d9bc1135a20cc662ba87efea1 | [
"MIT"
] | null | null | null | client/client/functions/commands/get_client_mac.py | IchBInHanz/clientnet | 20a75df953eee08d9bc1135a20cc662ba87efea1 | [
"MIT"
] | null | null | null | def getClientMac():
import uuid
mac = ':'.join(['{:02x}'.format((uuid.getnode() >> ele) & 0xff) for ele in range(0,8*6,8)][::-1])
return "Client MAC: " + mac | 42.25 | 101 | 0.56213 | 25 | 169 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058394 | 0.189349 | 169 | 4 | 102 | 42.25 | 0.635037 | 0 | 0 | 0 | 0 | 0 | 0.111765 | 0 | 0 | 0 | 0.023529 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
89ad09670ba90ebb38d2513cc437bd11d0bc083c | 1,296 | py | Python | cemc/tools/__init__.py | davidkleiven/WangLandau | 0b253dd98033c53560fe95c76f5e38257834bdf6 | [
"MIT"
] | 2 | 2022-02-10T00:38:53.000Z | 2022-03-17T22:08:40.000Z | cemc/tools/__init__.py | davidkleiven/CEMC | 0b253dd98033c53560fe95c76f5e38257834bdf6 | [
"MIT"
] | 30 | 2018-05-21T14:52:00.000Z | 2021-02-24T07:45:09.000Z | cemc/tools/__init__.py | davidkleiven/WangLandau | 0b253dd98033c53560fe95c76f5e38257834bdf6 | [
"MIT"
] | 3 | 2018-10-09T14:03:32.000Z | 2022-02-09T05:36:05.000Z | # Empty file
from cemc.tools.gsfinder import GSFinder
from cemc.tools.free_energy import FreeEnergy
from cemc.tools.dataset_averager import DatasetAverager
from cemc.tools.phase_boundary_tracker import PhaseBoundaryTracker
from cemc.tools.canonical_free_energy import CanonicalFreeEnergy
from cemc.tools.chemical_potenti... | 56.347826 | 79 | 0.891975 | 175 | 1,296 | 6.365714 | 0.36 | 0.150808 | 0.245063 | 0.061041 | 0.193896 | 0.14991 | 0.118492 | 0 | 0 | 0 | 0 | 0.003322 | 0.070988 | 1,296 | 22 | 80 | 58.909091 | 0.921927 | 0.007716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
89ba5a24c5e2e6f290426c0285f8736aa164b43f | 120 | py | Python | tests/cluecode/data/ics/chromium-testing-gmock-scripts/upload.py | s4-2/scancode-toolkit | 8931b42e2630b94d0cabc834dfb3c16f01f82321 | [
"Apache-2.0",
"CC-BY-4.0"
] | 1,511 | 2015-07-01T15:29:03.000Z | 2022-03-30T13:40:05.000Z | tests/cluecode/data/ics/chromium-testing-gmock-scripts/upload.py | s4-2/scancode-toolkit | 8931b42e2630b94d0cabc834dfb3c16f01f82321 | [
"Apache-2.0",
"CC-BY-4.0"
] | 2,695 | 2015-07-01T16:01:35.000Z | 2022-03-31T19:17:44.000Z | tests/cluecode/data/ics/chromium-testing-gmock-scripts/upload.py | s4-2/scancode-toolkit | 8931b42e2630b94d0cabc834dfb3c16f01f82321 | [
"Apache-2.0",
"CC-BY-4.0"
] | 540 | 2015-07-01T15:08:19.000Z | 2022-03-31T12:13:11.000Z | #!/usr/bin/env python
#
# Copyright 2007 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); | 24 | 65 | 0.708333 | 18 | 120 | 4.722222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058824 | 0.15 | 120 | 5 | 65 | 24 | 0.77451 | 0.925 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
98257e89e108a155825f65d71395859587358827 | 232 | py | Python | server/rideshare/forms.py | aadabi/tagrides | 980a6f7df62f1bb9b396eca79421388c36987f45 | [
"Unlicense"
] | 2 | 2018-03-21T23:32:09.000Z | 2018-03-22T01:39:51.000Z | server/rideshare/forms.py | aadabi/Cruzer | 980a6f7df62f1bb9b396eca79421388c36987f45 | [
"Unlicense"
] | null | null | null | server/rideshare/forms.py | aadabi/Cruzer | 980a6f7df62f1bb9b396eca79421388c36987f45 | [
"Unlicense"
] | null | null | null | from django import forms
class UploadFileForm(forms.Form):
user_email = forms.CharField(max_length=150)
image = forms.FileField()
class DownloadFileForm(forms.Form):
user_email = forms.CharField(max_length=150) | 29 | 49 | 0.741379 | 29 | 232 | 5.793103 | 0.551724 | 0.107143 | 0.154762 | 0.214286 | 0.52381 | 0.52381 | 0.52381 | 0.52381 | 0.52381 | 0 | 0 | 0.030928 | 0.163793 | 232 | 8 | 50 | 29 | 0.835052 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
988a9258575b12423828e9d590bc5d36d8a43e80 | 162 | py | Python | tests/test_filerecorder.py | hopper-maker/openxc-python | 2054c3d7a7ba09b8f0eeecc2348185857dc22f5f | [
"BSD-3-Clause"
] | 81 | 2015-01-17T04:21:55.000Z | 2022-01-12T16:54:26.000Z | tests/test_filerecorder.py | hopper-maker/openxc-python | 2054c3d7a7ba09b8f0eeecc2348185857dc22f5f | [
"BSD-3-Clause"
] | 84 | 2015-01-14T20:17:44.000Z | 2020-10-19T21:46:25.000Z | tests/test_filerecorder.py | hopper-maker/openxc-python | 2054c3d7a7ba09b8f0eeecc2348185857dc22f5f | [
"BSD-3-Clause"
] | 32 | 2015-03-08T14:03:53.000Z | 2022-01-04T12:21:59.000Z | import unittest
from openxc.sinks import FileRecorderSink
class FileRecorderSinkTest(unittest.TestCase):
def test_create(self):
FileRecorderSink()
| 18 | 46 | 0.777778 | 16 | 162 | 7.8125 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160494 | 162 | 8 | 47 | 20.25 | 0.919118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7f4066b0a8be1b0f63906cad618b87e4915d031e | 4,656 | py | Python | src/test_deque.py | Tsarcastic/data_structures_wr | a17e9caa668ccc4415bf2baf74df37d2d5d89792 | [
"MIT"
] | null | null | null | src/test_deque.py | Tsarcastic/data_structures_wr | a17e9caa668ccc4415bf2baf74df37d2d5d89792 | [
"MIT"
] | 1 | 2018-01-08T05:17:26.000Z | 2018-01-08T05:17:26.000Z | src/test_deque.py | Tsarcastic/data_structures_wr | a17e9caa668ccc4415bf2baf74df37d2d5d89792 | [
"MIT"
] | null | null | null | """."""
import pytest
def test_node_exists_in_continuum01():
"""Test for previous."""
from deque import Node, Deque
dq = Deque()
dq.append_left('banana')
dq.append_left('orange')
assert dq.head.next_node.previous.data == 'orange'
def test_node_exists_in_continuum02():
"""Test for previo... | 25.032258 | 76 | 0.656357 | 674 | 4,656 | 4.332344 | 0.137982 | 0.093493 | 0.107877 | 0.136644 | 0.764726 | 0.732877 | 0.712329 | 0.684932 | 0.684932 | 0.669178 | 0 | 0.005211 | 0.216924 | 4,656 | 185 | 77 | 25.167568 | 0.795666 | 0.167311 | 0 | 0.725806 | 0 | 0 | 0.049389 | 0 | 0 | 0 | 0 | 0 | 0.153226 | 1 | 0.169355 | false | 0 | 0.177419 | 0 | 0.346774 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7f5849095b8be8c5f688cf2a57a832b5a019aa8c | 232 | py | Python | js/jquery_elastic/__init__.py | fanstatic/js.jquery_elastic | 8a25992b188ce3c6dbf2103b6e8863c9286858b0 | [
"BSD-3-Clause"
] | null | null | null | js/jquery_elastic/__init__.py | fanstatic/js.jquery_elastic | 8a25992b188ce3c6dbf2103b6e8863c9286858b0 | [
"BSD-3-Clause"
] | null | null | null | js/jquery_elastic/__init__.py | fanstatic/js.jquery_elastic | 8a25992b188ce3c6dbf2103b6e8863c9286858b0 | [
"BSD-3-Clause"
] | null | null | null | from fanstatic import Library, Resource
from js.jquery import jquery
library = Library('jquery_elastic', 'resources')
elastic = Resource(library,
'jquery.elastic.source.js',
depends=[jquery])
| 25.777778 | 48 | 0.650862 | 24 | 232 | 6.25 | 0.458333 | 0.173333 | 0.266667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 232 | 8 | 49 | 29 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.202586 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7f74e0e309e51015d4e9b96bade504316589475e | 150 | py | Python | tests/pyexp_tests.py | nguyentu1602/pyexp | 36527f299f92ce8600910879a942d70afeb7b4d2 | [
"MIT"
] | null | null | null | tests/pyexp_tests.py | nguyentu1602/pyexp | 36527f299f92ce8600910879a942d70afeb7b4d2 | [
"MIT"
] | 2 | 2015-09-02T22:34:46.000Z | 2015-09-02T22:36:15.000Z | tests/pyexp_tests.py | nguyentu1602/pyexp | 36527f299f92ce8600910879a942d70afeb7b4d2 | [
"MIT"
] | null | null | null | from nose.tools import *
import pyexp
def setup():
print("Setup.")
def teardown():
print("Tear down.")
def test_basic():
print("Ran.")
| 12.5 | 24 | 0.62 | 20 | 150 | 4.6 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.206667 | 150 | 11 | 25 | 13.636364 | 0.773109 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | true | 0 | 0.25 | 0 | 0.625 | 0.375 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7f7525695b41f2bf9bd17b5bf5e053a31b070165 | 258 | py | Python | Python/Strings/Easy/String-Formatting.py | Justin-Teng/HackerRank | bb501715d4fb0322ccffa70b75c4d6df1463a334 | [
"MIT"
] | null | null | null | Python/Strings/Easy/String-Formatting.py | Justin-Teng/HackerRank | bb501715d4fb0322ccffa70b75c4d6df1463a334 | [
"MIT"
] | null | null | null | Python/Strings/Easy/String-Formatting.py | Justin-Teng/HackerRank | bb501715d4fb0322ccffa70b75c4d6df1463a334 | [
"MIT"
] | null | null | null | def print_formatted(number):
binlen = len(str(bin(number))) - 2
for i in range(1, number+1):
print("{0} {1} {2} {3}".format(str(i).rjust(binlen), str(oct(i))[1:].rjust(binlen), format(i, 'x').upper().rjust(binlen), bin(i)[2:].rjust(binlen)))
| 51.6 | 156 | 0.596899 | 44 | 258 | 3.477273 | 0.477273 | 0.287582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040541 | 0.139535 | 258 | 4 | 157 | 64.5 | 0.648649 | 0 | 0 | 0 | 0 | 0 | 0.062016 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
7f928e28689b19265ffb9b40c5977afcfcc40d76 | 5,574 | py | Python | eggs/nose-0.11.1-py2.7.egg/nose/plugins/__init__.py | bopopescu/phyG | 023f505b705ab953f502cbc55e90612047867583 | [
"CC-BY-3.0"
] | null | null | null | eggs/nose-0.11.1-py2.7.egg/nose/plugins/__init__.py | bopopescu/phyG | 023f505b705ab953f502cbc55e90612047867583 | [
"CC-BY-3.0"
] | null | null | null | eggs/nose-0.11.1-py2.7.egg/nose/plugins/__init__.py | bopopescu/phyG | 023f505b705ab953f502cbc55e90612047867583 | [
"CC-BY-3.0"
] | 1 | 2020-07-25T21:03:18.000Z | 2020-07-25T21:03:18.000Z | """
Writing Plugins
---------------
nose supports plugins for test collection, selection, observation and
reporting. There are two basic rules for plugins:
* Plugin classes should subclass :class:`nose.plugins.Plugin`.
* Plugins may implement any of the methods described in the class
:doc:`IPluginInterface <interf... | 34.196319 | 114 | 0.726229 | 768 | 5,574 | 5.234375 | 0.376302 | 0.05199 | 0.034826 | 0.026866 | 0.067164 | 0.021393 | 0.021393 | 0.021393 | 0 | 0 | 0 | 0.000651 | 0.173843 | 5,574 | 162 | 115 | 34.407407 | 0.872313 | 0.962684 | 0 | 0 | 0 | 0 | 0.040816 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7fa8073122a562c1580019d02eaf11aa0e0461de | 496 | py | Python | model/history.py | LianGee/akalid | bb2246f423ea28f37e834081b58495b30ae33f1c | [
"MIT"
] | null | null | null | model/history.py | LianGee/akalid | bb2246f423ea28f37e834081b58495b30ae33f1c | [
"MIT"
] | null | null | null | model/history.py | LianGee/akalid | bb2246f423ea28f37e834081b58495b30ae33f1c | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @File : history.py
# @Author: zaoshu
# @Date : 2020-02-08
# @Desc :
from sqlalchemy import String, Column, BigInteger
from model.base import BaseModel
from model.db import Model
class History(Model, BaseModel):
__tablename__ = 'history'
date = Column(String)... | 24.8 | 49 | 0.691532 | 62 | 496 | 5.467742 | 0.564516 | 0.235988 | 0.271386 | 0.283186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03202 | 0.181452 | 496 | 19 | 50 | 26.105263 | 0.802956 | 0.215726 | 0 | 0 | 0 | 0 | 0.018277 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.3 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7fb3b5d4398572c9fac31bc463fa66ab558d4173 | 226 | py | Python | vsclibaries.py | MarianneLawless/Project-2018-Programming-and-Scripting | 495350d642c8f0f33e696e7a16ccf156610ce1ff | [
"Apache-2.0"
] | null | null | null | vsclibaries.py | MarianneLawless/Project-2018-Programming-and-Scripting | 495350d642c8f0f33e696e7a16ccf156610ce1ff | [
"Apache-2.0"
] | null | null | null | vsclibaries.py | MarianneLawless/Project-2018-Programming-and-Scripting | 495350d642c8f0f33e696e7a16ccf156610ce1ff | [
"Apache-2.0"
] | null | null | null | import sys
print("Pyhton: {}".format(sys.version))
import numpy
print("numpy: {}" .format(numpy.version))
import matplotlib
print("matplotlib {}".format(matplotlib))
import pandas
print("pandas {}".format(pandas))
| 20.545455 | 42 | 0.69469 | 26 | 226 | 6.038462 | 0.346154 | 0.165605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128319 | 226 | 10 | 43 | 22.6 | 0.796954 | 0 | 0 | 0 | 0 | 0 | 0.191589 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
f6e89948a0d4e9bc820b8ed9dcbce5a54e2e99d8 | 11,234 | py | Python | python/classifications_backup.py | montycheese/UGA-Hacks-digits-webapp | 09bb048898f7587207005d3cd6463c21d0952145 | [
"CC-BY-3.0"
] | null | null | null | python/classifications_backup.py | montycheese/UGA-Hacks-digits-webapp | 09bb048898f7587207005d3cd6463c21d0952145 | [
"CC-BY-3.0"
] | null | null | null | python/classifications_backup.py | montycheese/UGA-Hacks-digits-webapp | 09bb048898f7587207005d3cd6463c21d0952145 | [
"CC-BY-3.0"
] | null | null | null | # ASL ALPHABET, j,Z OMITTED
language = {
'letter_a' : [
"http://science.opposingviews.com/DM-Resize/photos.demandstudios.com/getty/article/81/210/78033946.jpg?w=600&h=600&keep_ratio=1",
"http://www.lifeprint.com/asl101/signjpegs/a/a.jpg",
"http://thumbs.dreamstime.com/x/letter-sign-language-587184.jpg",
"http:/... | 33.837349 | 130 | 0.691116 | 1,831 | 11,234 | 4.206445 | 0.185691 | 0.202675 | 0.202545 | 0.263308 | 0.640223 | 0.315373 | 0.138665 | 0.057128 | 0.017658 | 0.017658 | 0 | 0.048263 | 0.051985 | 11,234 | 331 | 131 | 33.939577 | 0.67493 | 0.002225 | 0 | 0.078689 | 0 | 0.022951 | 0.868374 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.121311 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
100315f0c4c11a88ca1e2f510b90be2734f1cf20 | 133 | py | Python | jupyterlab2pymolpysnips/Selection/duplicateObject.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | jupyterlab2pymolpysnips/Selection/duplicateObject.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | jupyterlab2pymolpysnips/Selection/duplicateObject.py | MooersLab/pymolpysnips | 50a89c85adf8006d85c1d6cd3f8aad7e440a0b92 | [
"MIT"
] | null | null | null | """
cmd.do('create ${1:t4l}, ${2:1lw9};')
"""
cmd.do('create t4l, 1lw9;')
# Description: Duplicate object.
# Source: placeHolder
| 14.777778 | 37 | 0.609023 | 17 | 133 | 4.764706 | 0.705882 | 0.123457 | 0.271605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 0.142857 | 133 | 8 | 38 | 16.625 | 0.640351 | 0.684211 | 0 | 0 | 0 | 0 | 0.53125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
101a7d321334b8d15ebfc36762c971697884507e | 207 | py | Python | C_Tut/tutorials/admin.py | jaydeep11/C-tutorial-web-application | 3ec0225efda834fe93a678d887044906124de59b | [
"MIT"
] | null | null | null | C_Tut/tutorials/admin.py | jaydeep11/C-tutorial-web-application | 3ec0225efda834fe93a678d887044906124de59b | [
"MIT"
] | null | null | null | C_Tut/tutorials/admin.py | jaydeep11/C-tutorial-web-application | 3ec0225efda834fe93a678d887044906124de59b | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Tutorial
# Register your models here.
class TutorialAdmin(admin.ModelAdmin):
list_filter=('created_date',)
admin.site.register(Tutorial,TutorialAdmin) | 34.5 | 43 | 0.811594 | 26 | 207 | 6.384615 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096618 | 207 | 6 | 43 | 34.5 | 0.887701 | 0.125604 | 0 | 0 | 0 | 0 | 0.066667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
122d9b62a77856545299598352c98c228d58d7b3 | 467 | py | Python | Apartment_Renting_App/backend/models/admin.py | sushilkplassar/csc848_LiveGator | e95d861679f1dfb8f547d5b9f7d9b7a4fa530c8d | [
"MIT"
] | null | null | null | Apartment_Renting_App/backend/models/admin.py | sushilkplassar/csc848_LiveGator | e95d861679f1dfb8f547d5b9f7d9b7a4fa530c8d | [
"MIT"
] | 1 | 2021-03-20T05:01:15.000Z | 2021-03-20T05:01:15.000Z | Apartment_Renting_App/backend/models/admin.py | pancreaspinch/LiveGator | 680592aaf7a6c1603c0ae798a8094ca5f3ff250f | [
"MIT"
] | null | null | null | ####################################
# File name: admin.py #
# Description:
# Author: Team-13 #
# Submission: Spring-2019 #
# Instructor: Dragutin Petkovic #
####################################
from ..db import DButils
def approve_new_listing(house_id):
DButils.approve_n... | 23.35 | 41 | 0.563169 | 51 | 467 | 4.843137 | 0.588235 | 0.080972 | 0.137652 | 0.178138 | 0.194332 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.203426 | 467 | 20 | 42 | 23.35 | 0.647849 | 0.308351 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
12389f902c027e864fc9e94cac9bdb0966c22ede | 129 | py | Python | value_assessment/sos_processes/generic_value_assessment/__init__.py | os-climate/sostrades-value-assessment | ec93df566ef557f2342f6b21db9a0ba3b6097900 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | value_assessment/sos_processes/generic_value_assessment/__init__.py | os-climate/sostrades-value-assessment | ec93df566ef557f2342f6b21db9a0ba3b6097900 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | value_assessment/sos_processes/generic_value_assessment/__init__.py | os-climate/sostrades-value-assessment | ec93df566ef557f2342f6b21db9a0ba3b6097900 | [
"MIT",
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | LABEL = 'Generic Value Assessment Process'
DESCRIPTION = 'Process to calculate a value assessment for any manufacturing usecase'
| 43 | 85 | 0.813953 | 16 | 129 | 6.5625 | 0.8125 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 129 | 2 | 86 | 64.5 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0.782946 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
124d3bcf7bd4cc790009dd826f1eb5843fae131d | 220 | py | Python | tests/test_miners.py | brucelit/skelevision | 693e9edb3a83fbd5dde27c5b7ba39706b5b02840 | [
"BSD-3-Clause"
] | null | null | null | tests/test_miners.py | brucelit/skelevision | 693e9edb3a83fbd5dde27c5b7ba39706b5b02840 | [
"BSD-3-Clause"
] | null | null | null | tests/test_miners.py | brucelit/skelevision | 693e9edb3a83fbd5dde27c5b7ba39706b5b02840 | [
"BSD-3-Clause"
] | null | null | null | import os
import pytest
from skelevision import TraceLog, IllegalLogAction, LogSkeleton
HERE = os.path.dirname(os.path.abspath(__file__))
DATA = os.path.join(HERE, "datasets")
class TestLogSkeleton(object):
pass | 18.333333 | 63 | 0.772727 | 28 | 220 | 5.928571 | 0.714286 | 0.108434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 220 | 12 | 64 | 18.333333 | 0.864583 | 0 | 0 | 0 | 0 | 0 | 0.036199 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0.428571 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
1255bd128acd466951b80030f6d54b6e46ef487d | 202 | py | Python | test.py | Rahul-RB/titanium-silver | 7d62e194e26adf15e26f6a84cbfc454cf5db5a7e | [
"MIT"
] | 1 | 2019-09-13T18:55:43.000Z | 2019-09-13T18:55:43.000Z | test.py | Rahul-RB/titanium-silver | 7d62e194e26adf15e26f6a84cbfc454cf5db5a7e | [
"MIT"
] | 1 | 2019-04-22T15:49:49.000Z | 2019-04-22T15:49:50.000Z | test.py | Rahul-RB/titanium-silver | 7d62e194e26adf15e26f6a84cbfc454cf5db5a7e | [
"MIT"
] | null | null | null | from titanium_silver.docker_client import Docker_Client
dcli = Docker_Client()
import os
dcli.spawn_process(name='usn-%d'%1, num=1, params='%d 5000'%1, path=os.getcwd()+'/tests/SC', lang='CContainer')
| 33.666667 | 111 | 0.747525 | 33 | 202 | 4.424242 | 0.69697 | 0.246575 | 0.246575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037634 | 0.079208 | 202 | 5 | 112 | 40.4 | 0.747312 | 0 | 0 | 0 | 0 | 0 | 0.159204 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
89ec34500add6dc7f8c392da2b67be31a4f80c1d | 37,101 | py | Python | backend/config_app/config_decider_ensemble/config_app_data_endpoints.py | co-demos/apiviz-backend | 8a86b92dce728e81c1c935427b890da590edd720 | [
"MIT"
] | 1 | 2019-12-17T22:31:00.000Z | 2019-12-17T22:31:00.000Z | backend/config_app/config_decider_ensemble/config_app_data_endpoints.py | co-demos/apiviz-backend | 8a86b92dce728e81c1c935427b890da590edd720 | [
"MIT"
] | 10 | 2019-05-28T19:57:28.000Z | 2021-06-01T23:46:00.000Z | backend/config_app/config_decider_ensemble/config_app_data_endpoints.py | co-demos/apiviz-backend | 8a86b92dce728e81c1c935427b890da590edd720 | [
"MIT"
] | null | null | null | # -*- encoding: utf-8 -*-
from . import version, uuid_models
default_data_endpoints_config = [
### - - - - - - - - - - - - - - - ###
### CONFIG DECIDER ENSEMBLE
### - - - - - - - - - - - - - - - ###
### USER MANAGEMENT
### - - - - - - - - - - - - - - - ###
### AUTH ROOT URLS
{ "field" ... | 63.747423 | 277 | 0.468855 | 3,696 | 37,101 | 4.537879 | 0.109307 | 0.023611 | 0.031481 | 0.055092 | 0.757572 | 0.737002 | 0.725435 | 0.704329 | 0.697412 | 0.674517 | 0 | 0.007299 | 0.30576 | 37,101 | 581 | 278 | 63.857143 | 0.643864 | 0.150616 | 0 | 0.523404 | 0 | 0.014894 | 0.454076 | 0.027491 | 0 | 0 | 0 | 0.001721 | 0 | 1 | 0 | false | 0.008511 | 0.002128 | 0 | 0.002128 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d6099eba2399b5bd164ea1f840b4b2471cc0a763 | 127 | py | Python | genoome/disease/exceptions.py | jiivan/genoomy | e71fdd7ef7440e41efd8e245bbdb61f11b896be5 | [
"MIT"
] | null | null | null | genoome/disease/exceptions.py | jiivan/genoomy | e71fdd7ef7440e41efd8e245bbdb61f11b896be5 | [
"MIT"
] | 2 | 2016-01-19T13:09:05.000Z | 2017-03-15T13:49:02.000Z | genoome/disease/exceptions.py | jiivan/genoomy | e71fdd7ef7440e41efd8e245bbdb61f11b896be5 | [
"MIT"
] | null | null | null | class DiseaseError(Exception):
"Base class for disease module exceptions."
pass
class ParserError(DiseaseError): pass
| 21.166667 | 47 | 0.76378 | 14 | 127 | 6.928571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165354 | 127 | 5 | 48 | 25.4 | 0.915094 | 0.322835 | 0 | 0 | 0 | 0 | 0.322835 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.