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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
c6bbceea046b476c39627d5d6f8b471ec4d99673 | 75 | py | Python | tno/mpc/encryption_schemes/templates/test/__init__.py | TNO-MPC/encryption_schemes.templates | fa2f25ba513d9c00bd79c08af7f6720131ea174f | [
"Apache-2.0"
] | null | null | null | tno/mpc/encryption_schemes/templates/test/__init__.py | TNO-MPC/encryption_schemes.templates | fa2f25ba513d9c00bd79c08af7f6720131ea174f | [
"Apache-2.0"
] | null | null | null | tno/mpc/encryption_schemes/templates/test/__init__.py | TNO-MPC/encryption_schemes.templates | fa2f25ba513d9c00bd79c08af7f6720131ea174f | [
"Apache-2.0"
] | null | null | null | """
Testing module of the tno.mpc.encryption_schemes.templates library
"""
| 18.75 | 66 | 0.773333 | 10 | 75 | 5.7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 3 | 67 | 25 | 0.850746 | 0.88 | 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 |
05b1a8f89a65070bb3fc8824abde9b4efb9f7abf | 124 | py | Python | 02_basic_data_types/02_using_variables.py | r7asmu7s/art_of_doing_python | 62a03bcca084046c319976fc308bf3de3a2d412d | [
"Unlicense"
] | null | null | null | 02_basic_data_types/02_using_variables.py | r7asmu7s/art_of_doing_python | 62a03bcca084046c319976fc308bf3de3a2d412d | [
"Unlicense"
] | null | null | null | 02_basic_data_types/02_using_variables.py | r7asmu7s/art_of_doing_python | 62a03bcca084046c319976fc308bf3de3a2d412d | [
"Unlicense"
] | null | null | null | x = 5
print(5)
print(x)
print('x')
message = 'Hello World!'
print(message)
message = 'Goodbye cruel world...'
print(message) | 15.5 | 34 | 0.685484 | 19 | 124 | 4.473684 | 0.421053 | 0.141176 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.129032 | 124 | 8 | 35 | 15.5 | 0.768519 | 0 | 0 | 0.25 | 0 | 0 | 0.28 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.625 | 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 | 0 | 0 | 0 | 1 | 0 | 4 |
05bacfe8c4886b876a1bd9efa7341550b5a14050 | 175 | py | Python | 036.py | xianlinfeng/project_euler_python3 | 77eca44eb2b1d13bc70d6dc0258b737449d43a23 | [
"MIT"
] | null | null | null | 036.py | xianlinfeng/project_euler_python3 | 77eca44eb2b1d13bc70d6dc0258b737449d43a23 | [
"MIT"
] | null | null | null | 036.py | xianlinfeng/project_euler_python3 | 77eca44eb2b1d13bc70d6dc0258b737449d43a23 | [
"MIT"
] | null | null | null | import eulerlib
if __name__ == "__main__":
ans = sum(i for i in range(1, 1000000) if eulerlib.is_palindrome(
i) and eulerlib.is_palindrome(i, 2))
print(ans)
| 21.875 | 69 | 0.662857 | 27 | 175 | 3.925926 | 0.666667 | 0.188679 | 0.377358 | 0.396226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066176 | 0.222857 | 175 | 7 | 70 | 25 | 0.713235 | 0 | 0 | 0 | 0 | 0 | 0.045714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0.2 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
05bc6fa82c293b18db5024a19838e33a177f9ce6 | 219 | py | Python | recommender.py | dina-deifallah/dummy_recommender | de7d7642187631ccc4cae383968c33554add4e18 | [
"MIT"
] | null | null | null | recommender.py | dina-deifallah/dummy_recommender | de7d7642187631ccc4cae383968c33554add4e18 | [
"MIT"
] | null | null | null | recommender.py | dina-deifallah/dummy_recommender | de7d7642187631ccc4cae383968c33554add4e18 | [
"MIT"
] | null | null | null | '''
dummy recommender
'''
def recommend_random(movies, k=10):
"""
Dummy recommender that recommends a list of random movies. Ignores the actual query.
"""
return movies['title'].sample(k).to_list()
| 21.9 | 88 | 0.6621 | 28 | 219 | 5.107143 | 0.75 | 0.223776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.205479 | 219 | 10 | 89 | 21.9 | 0.810345 | 0.465753 | 0 | 0 | 0 | 0 | 0.052632 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
05c3746b198d717cee8970409e94865d5078ccca | 192 | py | Python | ch6/9 text widget.py | PacktPublishing/Learning-Jupyter | 734ef16ade5f9874e5187e483746524a675bf915 | [
"MIT"
] | 11 | 2017-02-02T08:47:32.000Z | 2021-09-15T18:04:01.000Z | ch6/9 text widget.py | PacktPublishing/Learning-Jupyter | 734ef16ade5f9874e5187e483746524a675bf915 | [
"MIT"
] | 2 | 2016-12-02T04:43:11.000Z | 2016-12-02T04:43:57.000Z | ch6/9 text widget.py | PacktPublishing/Learning-Jupyter | 734ef16ade5f9874e5187e483746524a675bf915 | [
"MIT"
] | 8 | 2016-12-02T04:39:10.000Z | 2018-04-01T22:58:19.000Z | from ipywidgets import widgets
from IPython.display import display
text.on_submit(handle_submit)
display(text)
def handle_submit(sender):
print(text.value)
text.on_submit(handle_submit)
| 19.2 | 35 | 0.817708 | 28 | 192 | 5.428571 | 0.5 | 0.236842 | 0.157895 | 0.236842 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104167 | 192 | 9 | 36 | 21.333333 | 0.883721 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.285714 | 0 | 0.428571 | 0.142857 | 1 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
05dc17a49e0aa924488fd1ddb2e0d45ffd1b80ce | 1,727 | py | Python | weatherstation/mainland/datamanagement/datagatherer.py | Risocos/WeatherStation-WEB | 73a4a55699694b6b639abeb0ddf90c96e382f847 | [
"MIT"
] | null | null | null | weatherstation/mainland/datamanagement/datagatherer.py | Risocos/WeatherStation-WEB | 73a4a55699694b6b639abeb0ddf90c96e382f847 | [
"MIT"
] | null | null | null | weatherstation/mainland/datamanagement/datagatherer.py | Risocos/WeatherStation-WEB | 73a4a55699694b6b639abeb0ddf90c96e382f847 | [
"MIT"
] | null | null | null | import random
class DataGatherer:
def __init__(self):
pass
@staticmethod
def get_temperature_data():
# TODO: read actual data from station folders
# for datefolder in datefolders:
# for stationfolder in datefolder:
# for hourfile in stationfolder:
... | 29.271186 | 72 | 0.565142 | 191 | 1,727 | 5.026178 | 0.277487 | 0.051042 | 0.0375 | 0.06875 | 0.451042 | 0.438542 | 0.384375 | 0.361458 | 0.361458 | 0.361458 | 0 | 0.031774 | 0.343949 | 1,727 | 58 | 73 | 29.775862 | 0.815534 | 0.471338 | 0 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0 | 1 | 0.368421 | false | 0.052632 | 0.052632 | 0 | 0.789474 | 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 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
05ddd22e9f2c2783b5628ec7d23ccd67ac71eee5 | 4,084 | py | Python | src/tf_ops/nn_distance/tf_nndistance_test.py | minghanz/monopsr | f3cb31909666012dfcf38e5fe0b0f6feb3801560 | [
"MIT"
] | 104 | 2019-08-13T01:26:19.000Z | 2022-03-30T12:08:00.000Z | src/tf_ops/nn_distance/tf_nndistance_test.py | weidezhang/monopsr | e194d2547f10e7ab50d786762dcf9f5619069ce8 | [
"MIT"
] | 5 | 2020-01-28T22:16:24.000Z | 2022-02-09T23:33:07.000Z | src/tf_ops/nn_distance/tf_nndistance_test.py | weidezhang/monopsr | e194d2547f10e7ab50d786762dcf9f5619069ce8 | [
"MIT"
] | 25 | 2019-08-12T23:31:40.000Z | 2022-02-12T02:27:12.000Z | import unittest
import numpy as np
import tensorflow as tf
from tf_ops.nn_distance import tf_nndistance
from monopsr.core import distance_metrics
class NearestNeighborTest(unittest.TestCase):
def test_nn_distance(self):
"""Test for nearest neighbor algorithm where distance should be 0.
"""
... | 38.168224 | 99 | 0.606024 | 617 | 4,084 | 3.740681 | 0.142626 | 0.186308 | 0.100087 | 0.084489 | 0.707972 | 0.705806 | 0.705806 | 0.705806 | 0.640815 | 0.640815 | 0 | 0.071891 | 0.243879 | 4,084 | 106 | 100 | 38.528302 | 0.675518 | 0.17238 | 0 | 0.45614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 1 | 0.087719 | false | 0 | 0.087719 | 0 | 0.192982 | 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 |
05e244ab8d96ba413b68b7a0546e05d7e29fd581 | 190 | py | Python | exercises/oops.py | jashwanthp/template-python-django | 627c5df8eb4ea2b92729809c0b678b62c9120b32 | [
"MIT"
] | null | null | null | exercises/oops.py | jashwanthp/template-python-django | 627c5df8eb4ea2b92729809c0b678b62c9120b32 | [
"MIT"
] | null | null | null | exercises/oops.py | jashwanthp/template-python-django | 627c5df8eb4ea2b92729809c0b678b62c9120b32 | [
"MIT"
] | null | null | null | class Vehicle:
def __init__(self, max_speed, mileage):
self.max_speed = max_speed
self.mileage = mileage
modelS = Vehicle(200,20)
print(modelS.max_speed, modelS.mileage) | 27.142857 | 43 | 0.705263 | 26 | 190 | 4.846154 | 0.461538 | 0.253968 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03268 | 0.194737 | 190 | 7 | 44 | 27.142857 | 0.79085 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.333333 | 0.166667 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
05fac2d95a89d871466ffb95a3d301130253d727 | 3,143 | py | Python | scalpr/database/ticker.py | TvanMeer/scalpr | c4d2e07da60663f77c3d17875aa61ad9d215a08d | [
"MIT"
] | 1 | 2022-02-14T22:48:58.000Z | 2022-02-14T22:48:58.000Z | scalpr/database/ticker.py | TvanMeer/scalpr | c4d2e07da60663f77c3d17875aa61ad9d215a08d | [
"MIT"
] | null | null | null | scalpr/database/ticker.py | TvanMeer/scalpr | c4d2e07da60663f77c3d17875aa61ad9d215a08d | [
"MIT"
] | 1 | 2022-02-14T22:49:01.000Z | 2022-02-14T22:49:01.000Z | # pylint: disable=no-name-in-module
from datetime import datetime
from pydantic import BaseModel
from pydantic.types import PositiveInt, condecimal
class MiniTicker(BaseModel):
"""24 hour rolling window statistics.
{
"e": "24hrMiniTicker", // Event type
"E": 123456789, // Event time
... | 40.294872 | 98 | 0.526567 | 358 | 3,143 | 4.446927 | 0.284916 | 0.160176 | 0.216709 | 0.211055 | 0.592337 | 0.592337 | 0.535176 | 0.512563 | 0.512563 | 0.461055 | 0 | 0.090281 | 0.355075 | 3,143 | 77 | 99 | 40.818182 | 0.695116 | 0.51384 | 0 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.130435 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
af03a909a2443bc59aa1f59570756d37269aac99 | 176 | py | Python | pages/workshop/Metpy_Introduction/solutions/temperature_change.py | zbruick/python-training | ba227820accb5849aea8d05ff5cb5c134f56955e | [
"BSD-3-Clause"
] | 87 | 2019-08-29T06:54:06.000Z | 2022-03-14T12:52:59.000Z | pages/workshop/Metpy_Introduction/solutions/temperature_change.py | zbruick/python-training | ba227820accb5849aea8d05ff5cb5c134f56955e | [
"BSD-3-Clause"
] | 258 | 2015-02-02T20:49:11.000Z | 2018-10-04T22:04:47.000Z | pages/workshop/Metpy_Introduction/solutions/temperature_change.py | zbruick/python-training | ba227820accb5849aea8d05ff5cb5c134f56955e | [
"BSD-3-Clause"
] | 65 | 2015-02-04T18:48:42.000Z | 2018-10-03T18:33:39.000Z | temperature_change_rate = -2.3 * units.delta_degF / (10 * units.minutes)
temperature = 25 * units.degC
dt = 1.5 * units.hours
print(temperature + temperature_change_rate * dt)
| 35.2 | 72 | 0.744318 | 26 | 176 | 4.846154 | 0.653846 | 0.269841 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.136364 | 176 | 4 | 73 | 44 | 0.776316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 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 |
af1035572c941f93ec9fa5c623462723ec119689 | 167 | py | Python | tests/test_cli/model.py | csdms/model_metadata | 62acab7ae2a152bec64bc1f52751f7a8aa1d4184 | [
"MIT"
] | 1 | 2021-05-25T14:38:10.000Z | 2021-05-25T14:38:10.000Z | tests/test_cli/model.py | csdms/model_metadata | 62acab7ae2a152bec64bc1f52751f7a8aa1d4184 | [
"MIT"
] | 3 | 2018-04-05T21:50:24.000Z | 2021-04-02T03:54:04.000Z | tests/test_cli/model.py | csdms/model_metadata | 62acab7ae2a152bec64bc1f52751f7a8aa1d4184 | [
"MIT"
] | null | null | null | import pathlib
class ModelString:
METADATA = "."
class ModelPath:
METADATA = pathlib.Path(".")
class ModelAbsolutePath:
METADATA = pathlib.Path("/")
| 11.928571 | 32 | 0.664671 | 15 | 167 | 7.4 | 0.533333 | 0.27027 | 0.342342 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209581 | 167 | 13 | 33 | 12.846154 | 0.840909 | 0 | 0 | 0 | 0 | 0 | 0.017964 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
af19ffbdd3e1800a9174efb79812e43ee3c415fb | 751 | py | Python | project/fs/fs_exceptions.py | cj8-cheerful-cheetas/project | 5d9c7cfc2cfec5fca05997bc42d490529cd935ab | [
"MIT"
] | null | null | null | project/fs/fs_exceptions.py | cj8-cheerful-cheetas/project | 5d9c7cfc2cfec5fca05997bc42d490529cd935ab | [
"MIT"
] | 3 | 2021-07-17T10:52:21.000Z | 2021-07-17T10:55:54.000Z | project/fs/fs_exceptions.py | cj8-cheerful-cheetas/project | 5d9c7cfc2cfec5fca05997bc42d490529cd935ab | [
"MIT"
] | 2 | 2021-07-17T10:54:33.000Z | 2021-08-30T19:27:49.000Z | class NoSuchFileOrDirectory(Exception):
def __init__(self):
super().__init__("no such file or directory")
class FileOrDirectoryAlreadyExist(Exception):
def __init__(self):
super().__init__("file or directory already exist")
class NotAnDirectory(Exception):
def __init__(self):
sup... | 22.088235 | 59 | 0.681758 | 80 | 751 | 5.7 | 0.325 | 0.184211 | 0.245614 | 0.307018 | 0.504386 | 0.504386 | 0.377193 | 0.377193 | 0 | 0 | 0 | 0 | 0.197071 | 751 | 33 | 60 | 22.757576 | 0.756219 | 0 | 0 | 0.333333 | 0 | 0 | 0.167776 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
af4efe60a883fc6b9b9d86591c97d0706b8abb01 | 113 | py | Python | idlib/systems/urn.py | tgbugs/idlib | 4760322b023cc38a8f6800141fe8735d10fa014a | [
"MIT"
] | 2 | 2021-11-28T23:52:48.000Z | 2022-02-17T18:12:32.000Z | idlib/systems/urn.py | tgbugs/idlib | 4760322b023cc38a8f6800141fe8735d10fa014a | [
"MIT"
] | 2 | 2020-05-22T10:40:58.000Z | 2022-01-05T22:38:06.000Z | idlib/systems/urn.py | tgbugs/idlib | 4760322b023cc38a8f6800141fe8735d10fa014a | [
"MIT"
] | null | null | null | import idlib
from idlib import families
class Urn(idlib.Identifier):
""" """
_family = families.IETF
| 11.3 | 28 | 0.672566 | 13 | 113 | 5.769231 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221239 | 113 | 9 | 29 | 12.555556 | 0.852273 | 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 |
af627db44ca4b1c8efa047c6013ab07fdc4ec734 | 171 | py | Python | expykit/os/clipboard/__init__.py | fakegit/mo-han-toolbox | 9d5bbc1fe7f12040715d3a0d3f320a1ad617aed8 | [
"MIT"
] | 24 | 2019-12-08T03:56:32.000Z | 2021-10-02T13:26:37.000Z | expykit/os/clipboard/__init__.py | fakegit/mo-han-toolbox | 9d5bbc1fe7f12040715d3a0d3f320a1ad617aed8 | [
"MIT"
] | 2 | 2020-04-27T14:20:01.000Z | 2020-07-17T06:05:33.000Z | expykit/os/clipboard/__init__.py | fakegit/mo-han-toolbox | 9d5bbc1fe7f12040715d3a0d3f320a1ad617aed8 | [
"MIT"
] | 10 | 2019-08-06T01:11:28.000Z | 2021-07-19T08:45:11.000Z | #!/usr/bin/env python3
import os as _os
if _os.name == 'nt':
from .nt import *
elif _os.name == 'posix':
from .posix import *
else:
raise NotImplementedError
| 17.1 | 29 | 0.649123 | 25 | 171 | 4.32 | 0.64 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.222222 | 171 | 9 | 30 | 19 | 0.804511 | 0.122807 | 0 | 0 | 0 | 0 | 0.04698 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 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 |
af70565f0994c219913f2986623ebe387a29747b | 493 | py | Python | adapter_tools/tests/SS2/metadata_analysis/input_data.py | broadinstitute/hca-adapter-tools | 55b69d28fd4c88e5551df46cc67b6596271c2ab6 | [
"BSD-3-Clause"
] | null | null | null | adapter_tools/tests/SS2/metadata_analysis/input_data.py | broadinstitute/hca-adapter-tools | 55b69d28fd4c88e5551df46cc67b6596271c2ab6 | [
"BSD-3-Clause"
] | null | null | null | adapter_tools/tests/SS2/metadata_analysis/input_data.py | broadinstitute/hca-adapter-tools | 55b69d28fd4c88e5551df46cc67b6596271c2ab6 | [
"BSD-3-Clause"
] | null | null | null | # Instead of parsing cromwell metadata we pass the intermediate SS2 files
ANALYSIS_FILE_INPUT = {
"input_uuid": "0244354d-cf37-4483-8db3-425b7e504ca6",
"input_file": "",
"pipeline_type": "SS2",
"workspace_version": "2021-10-19T17:43:52.000000Z",
"ss2_bam_file": "call-HISAT2PairedEnd/cacheCopy/02443... | 41.083333 | 101 | 0.738337 | 64 | 493 | 5.484375 | 0.609375 | 0.102564 | 0.136752 | 0.17094 | 0.48433 | 0.393162 | 0.393162 | 0.393162 | 0.393162 | 0.393162 | 0 | 0.218894 | 0.119675 | 493 | 11 | 102 | 44.818182 | 0.589862 | 0.144016 | 0 | 0 | 0 | 0 | 0.72619 | 0.511905 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 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 |
bb7a2d27e226c204be01f62bd4d1c8fe45d154df | 130 | py | Python | flask/flask_r_interpolaton/run_dev.py | andreipreda/py-r-interpolation | d7be5799b9cf1da95ce728c00eb0ce1c73bf4c02 | [
"MIT"
] | null | null | null | flask/flask_r_interpolaton/run_dev.py | andreipreda/py-r-interpolation | d7be5799b9cf1da95ce728c00eb0ce1c73bf4c02 | [
"MIT"
] | 13 | 2019-12-26T17:31:05.000Z | 2022-02-26T10:36:46.000Z | flask/flask_r_interpolaton/run_dev.py | andreipreda/py-r-interpolation | d7be5799b9cf1da95ce728c00eb0ce1c73bf4c02 | [
"MIT"
] | null | null | null | from app import create_app
from config import Config
dev_app = create_app(config=Config)
dev_app.run(host='localhost', port=7000) | 26 | 40 | 0.807692 | 22 | 130 | 4.590909 | 0.5 | 0.178218 | 0.237624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034188 | 0.1 | 130 | 5 | 40 | 26 | 0.82906 | 0 | 0 | 0 | 0 | 0 | 0.068702 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bb9cf83139e40fc7e3af40c380ee6c897a5f19d7 | 803 | py | Python | logos.py | Titaniumtown/pyfetch | 56887709cc0b5235603633cd92286eb0d595ce93 | [
"MIT"
] | 2 | 2022-02-04T09:44:13.000Z | 2022-02-10T21:00:09.000Z | logos.py | Titaniumtown/pyfetch | 56887709cc0b5235603633cd92286eb0d595ce93 | [
"MIT"
] | 1 | 2020-05-20T23:05:48.000Z | 2020-05-25T02:59:39.000Z | logos.py | Titaniumtown/pyfetch | 56887709cc0b5235603633cd92286eb0d595ce93 | [
"MIT"
] | 4 | 2021-09-18T20:55:17.000Z | 2022-03-30T04:00:03.000Z | logo_array = [['--------------------------------------',
'--------------------------------------',
'--------------------------------------',
'---\\\\\\\\\\\\\\\\\\\\\\\\-----------------------',
'----\\\\\\ \\\\\\----------------------',
'-----\\\\\\ \\\\\\---------------------',
'------\\\\\\ \\\\\\\\\\... | 47.235294 | 61 | 0.019925 | 2 | 803 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.175592 | 803 | 17 | 62 | 47.235294 | 0.013595 | 0 | 0 | 0.235294 | 0 | 0 | 0.895522 | 0.514925 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bbef613a358fdf050779577fef45484c36d24440 | 271 | py | Python | snowflake/router/idservice.py | Indexical-Metrics-Measure-Advisory/watchmen-snowflake | e55db55f97c4f7509ac99c337fcaac8c7af74891 | [
"MIT"
] | null | null | null | snowflake/router/idservice.py | Indexical-Metrics-Measure-Advisory/watchmen-snowflake | e55db55f97c4f7509ac99c337fcaac8c7af74891 | [
"MIT"
] | null | null | null | snowflake/router/idservice.py | Indexical-Metrics-Measure-Advisory/watchmen-snowflake | e55db55f97c4f7509ac99c337fcaac8c7af74891 | [
"MIT"
] | null | null | null | import logging
from fastapi import APIRouter
from snowflake.core.snowflake import get_int_surrogate_key
router = APIRouter()
log = logging.getLogger("app." + __name__)
@router.get("/snowflakeid", tags=["snowflake"])
def next_id():
return get_int_surrogate_key()
| 19.357143 | 58 | 0.763838 | 35 | 271 | 5.6 | 0.628571 | 0.061224 | 0.153061 | 0.183673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121771 | 271 | 13 | 59 | 20.846154 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.092251 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0.125 | 0.625 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
bbf8d9d738b8a7fcb404fb0e52cac086922679f4 | 247 | py | Python | FrameApp/flaskApp/module/rainModuleUser.py | Rainstyd/rainsty | 9a0d5f46c20faf909c4194f315fb9960652cffc6 | [
"Apache-2.0"
] | 1 | 2020-03-25T01:13:35.000Z | 2020-03-25T01:13:35.000Z | FrameApp/flaskApp/module/rainModuleUser.py | Rainstyed/rainsty | f74e0ccaf16d1871c9d1870bd8a7c8a63243fcf5 | [
"Apache-2.0"
] | 1 | 2022-01-06T23:49:21.000Z | 2022-01-06T23:49:21.000Z | FrameApp/flaskApp/module/rainModuleUser.py | rainstyd/rainsty | 9a0d5f46c20faf909c4194f315fb9960652cffc6 | [
"Apache-2.0"
] | 1 | 2020-03-20T08:48:36.000Z | 2020-03-20T08:48:36.000Z | # -*- coding: UTF-8 -*-
import sys
sys.path.append('./lib')
from raindborm import Model
from raindborm import Column
class rainModuleUser(Model):
username = Column('String', 'username', 255)
password = Column('String', 'password', 255)
| 20.583333 | 48 | 0.688259 | 30 | 247 | 5.666667 | 0.6 | 0.152941 | 0.223529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033654 | 0.157895 | 247 | 11 | 49 | 22.454545 | 0.783654 | 0.08502 | 0 | 0 | 0 | 0 | 0.147321 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0.428571 | 0 | 0.857143 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
a5739a8efb8276902638332538e2209a96a4f211 | 902 | py | Python | python/origen/origen/timesets.py | Origen-SDK/o2 | 5b0f9a6d113ddebc73c7ee224931e8b2d0301794 | [
"MIT"
] | null | null | null | python/origen/origen/timesets.py | Origen-SDK/o2 | 5b0f9a6d113ddebc73c7ee224931e8b2d0301794 | [
"MIT"
] | 127 | 2019-11-23T17:09:35.000Z | 2021-09-02T11:06:20.000Z | python/origen/origen/timesets.py | Origen-SDK/o2 | 5b0f9a6d113ddebc73c7ee224931e8b2d0301794 | [
"MIT"
] | null | null | null | import origen
class Proxy:
def __init__(self, controller):
self.controller = controller
@property
def timesets(self):
return origen.dut.db.timesets(self.controller.model_id)
def add_timeset(self, name, period=None, **kwargs):
return origen.dut.db.add_timeset(self.controller.m... | 23.128205 | 72 | 0.580931 | 96 | 902 | 5.302083 | 0.260417 | 0.220039 | 0.088409 | 0.100196 | 0.302554 | 0.302554 | 0.176817 | 0 | 0 | 0 | 0 | 0 | 0.31153 | 902 | 38 | 73 | 23.736842 | 0.819646 | 0 | 0 | 0.142857 | 0 | 0 | 0.036585 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.035714 | 0.214286 | 0.607143 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
a5a0f3e5b469211b49cba9178029999db7fd589e | 262 | py | Python | docs/source/examples/loop_2.py | astooke/gtimer | 2146dab459e5d959feb291821733d3d3ba7c523c | [
"MIT"
] | 8 | 2016-09-08T05:40:40.000Z | 2020-04-29T18:17:54.000Z | docs/source/examples/loop_2.py | astooke/gtimer | 2146dab459e5d959feb291821733d3d3ba7c523c | [
"MIT"
] | 1 | 2022-01-27T13:11:58.000Z | 2022-01-27T13:11:58.000Z | docs/source/examples/loop_2.py | astooke/gtimer | 2146dab459e5d959feb291821733d3d3ba7c523c | [
"MIT"
] | null | null | null | import gtimer as gt
import time
time.sleep(0.1)
gt.stamp('first')
for i in gt.timed_for([1, 2, 3]):
time.sleep(0.1)
gt.stamp('loop_1')
if i > 1:
time.sleep(0.1)
gt.stamp('loop_2')
time.sleep(0.1)
gt.stamp('second')
print gt.report()
| 17.466667 | 33 | 0.603053 | 51 | 262 | 3.039216 | 0.411765 | 0.232258 | 0.258065 | 0.283871 | 0.516129 | 0.516129 | 0.283871 | 0 | 0 | 0 | 0 | 0.067633 | 0.209924 | 262 | 14 | 34 | 18.714286 | 0.681159 | 0 | 0 | 0.307692 | 0 | 0 | 0.087786 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.153846 | null | null | 0.076923 | 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 |
a5b5765f695b007b0ced89139a690e0b7fcb7c9d | 254 | py | Python | accounts/models.py | veldakarimi/filmreview | ef50fc2f43cf87064162cbb43ab5c80cfe24eeb2 | [
"Apache-2.0"
] | null | null | null | accounts/models.py | veldakarimi/filmreview | ef50fc2f43cf87064162cbb43ab5c80cfe24eeb2 | [
"Apache-2.0"
] | 3 | 2020-07-26T09:27:41.000Z | 2022-01-13T03:07:25.000Z | accounts/models.py | veldakarimi/filmreview | ef50fc2f43cf87064162cbb43ab5c80cfe24eeb2 | [
"Apache-2.0"
] | null | null | null | from django.db import models
from django.contrib.auth.models import AbstractUser
# Create your models here.
class CustomUser(AbstractUser):
class Meta:
pass
def main__str__(self):
return self.username
| 19.538462 | 53 | 0.649606 | 29 | 254 | 5.551724 | 0.724138 | 0.124224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.295276 | 254 | 13 | 54 | 19.538462 | 0.899441 | 0.094488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.285714 | 0.142857 | 0.857143 | 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 | 0 | 1 | 1 | 0 | 0 | 4 |
a5bd34d3b4b5bbbadca338acf6ea18a3b88edbfc | 2,207 | py | Python | static/shapes/const.py | marcinbittel/WarsawGTFS | 5e2d3c6ff2465b06352216e67dbf303e9b69b946 | [
"MIT"
] | null | null | null | static/shapes/const.py | marcinbittel/WarsawGTFS | 5e2d3c6ff2465b06352216e67dbf303e9b69b946 | [
"MIT"
] | null | null | null | static/shapes/const.py | marcinbittel/WarsawGTFS | 5e2d3c6ff2465b06352216e67dbf303e9b69b946 | [
"MIT"
] | null | null | null | from ..const import _BASE_GIST
# Shape-generation external data
GIST_OVERRIDE_RATIOS = _BASE_GIST + "shapes_override_ratios.json"
GIST_FORCE_VIA = _BASE_GIST + "shapes_force_via.json"
# Bus router settings
BUS_ROUTER_SETTINGS = {
"weights": {
"motorway": 1.5, "trunk": 1.5, "primary": 1.4, "secondary": 1.3... | 35.031746 | 98 | 0.637517 | 335 | 2,207 | 4.068657 | 0.456716 | 0.110051 | 0.051357 | 0.032282 | 0.045488 | 0.045488 | 0.045488 | 0.045488 | 0.045488 | 0.045488 | 0 | 0.234646 | 0.136837 | 2,207 | 62 | 99 | 35.596774 | 0.48084 | 0.043045 | 0 | 0.076923 | 0 | 0.038462 | 0.713811 | 0.310394 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.096154 | 0.019231 | 0 | 0.019231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
a5bdd10106f455dd3e0e5bc80a3bf4bd1bc4ca73 | 115 | py | Python | instruction.py | bhopkinson/mqtt-TLC5947 | e0924455b52349d51171ac0ab2c81565542bef8e | [
"MIT"
] | null | null | null | instruction.py | bhopkinson/mqtt-TLC5947 | e0924455b52349d51171ac0ab2c81565542bef8e | [
"MIT"
] | null | null | null | instruction.py | bhopkinson/mqtt-TLC5947 | e0924455b52349d51171ac0ab2c81565542bef8e | [
"MIT"
] | null | null | null | import queue
class instruction:
def __init__(self, addr, pwm):
self.addr = addr
self.pwm = pwm | 19.166667 | 34 | 0.617391 | 15 | 115 | 4.466667 | 0.6 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.295652 | 115 | 6 | 35 | 19.166667 | 0.82716 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
3c16865b949aa032f4da7ec92cced1905dcfe058 | 56 | py | Python | tests/test_rotations.py | Ceres-Navigation/ceres | 2ab8431e85e783fcdd21a53ccc62fd09ce687dce | [
"MIT"
] | null | null | null | tests/test_rotations.py | Ceres-Navigation/ceres | 2ab8431e85e783fcdd21a53ccc62fd09ce687dce | [
"MIT"
] | null | null | null | tests/test_rotations.py | Ceres-Navigation/ceres | 2ab8431e85e783fcdd21a53ccc62fd09ce687dce | [
"MIT"
] | null | null | null | from ceres.rotations import Rotation
import numpy as np
| 18.666667 | 36 | 0.839286 | 9 | 56 | 5.222222 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 37 | 28 | 0.979167 | 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 |
3c3787923a67e552d8ed86e40030b6cc39c7aa3b | 170 | py | Python | openomics/database/disease.py | muluayele999/OpenOmics | 29e3bbc586489c3929ac54d9886627f907aa38b1 | [
"MIT"
] | null | null | null | openomics/database/disease.py | muluayele999/OpenOmics | 29e3bbc586489c3929ac54d9886627f907aa38b1 | [
"MIT"
] | 1 | 2021-12-13T20:51:32.000Z | 2021-12-13T20:51:32.000Z | openomics/database/disease.py | muluayele999/OpenOmics | 29e3bbc586489c3929ac54d9886627f907aa38b1 | [
"MIT"
] | 1 | 2021-02-18T10:39:00.000Z | 2021-02-18T10:39:00.000Z |
from openomics.database.annotation import *
class DiseaseAssociation(Dataset):
@abstractmethod
def get_disease_assocs(self, index): raise NotImplementedError
| 18.888889 | 66 | 0.794118 | 17 | 170 | 7.823529 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141176 | 170 | 8 | 67 | 21.25 | 0.910959 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
3c381d56992d190cfe1228dc7b2d02dd50278b83 | 187 | py | Python | setup.py | stephen-khan/feature_infection | 96eb505d17e3b3d540305ae9a6f86be09ceb4974 | [
"Unlicense"
] | null | null | null | setup.py | stephen-khan/feature_infection | 96eb505d17e3b3d540305ae9a6f86be09ceb4974 | [
"Unlicense"
] | null | null | null | setup.py | stephen-khan/feature_infection | 96eb505d17e3b3d540305ae9a6f86be09ceb4974 | [
"Unlicense"
] | null | null | null | from distutils.core import setup
setup(name='Feature Infection',
version='1.0',
description='Assign features to groups of users.',
packages=['feature_infection']
) | 26.714286 | 56 | 0.679144 | 22 | 187 | 5.727273 | 0.863636 | 0.253968 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013423 | 0.203209 | 187 | 7 | 57 | 26.714286 | 0.832215 | 0 | 0 | 0 | 0 | 0 | 0.382979 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 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 |
3c4c9730441ae9db6146bd976d0a865b07d68a7d | 708 | py | Python | spot_motion_monitor/utils/__init__.py | lsst-sitcom/spot_motion_monitor | 3d0242276198126240667ba13e95b7bdf901d053 | [
"BSD-3-Clause"
] | null | null | null | spot_motion_monitor/utils/__init__.py | lsst-sitcom/spot_motion_monitor | 3d0242276198126240667ba13e95b7bdf901d053 | [
"BSD-3-Clause"
] | 5 | 2020-01-08T23:50:22.000Z | 2020-02-14T18:15:20.000Z | spot_motion_monitor/utils/__init__.py | lsst-com/spot_motion_monitor | 3d0242276198126240667ba13e95b7bdf901d053 | [
"MIT"
] | null | null | null | # This file is part of spot_motion_monitor.
#
# Developed for LSST System Integration, Test and Commissioning.
#
# See the LICENSE file at the top-level directory of this distribution
# for details of code ownership.
#
# Use of this source code is governed by a 3-clause BSD-style
# license that can be found in the LICE... | 29.5 | 70 | 0.782486 | 103 | 708 | 5.281553 | 0.601942 | 0.202206 | 0.110294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001678 | 0.158192 | 708 | 23 | 71 | 30.782609 | 0.911074 | 0.439266 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
3c69e3160ff1023d44ee954cb3530f0458f98d4f | 154 | py | Python | Do-it-first-python/mission/3-01.py | siyoon210/Python-Practice | 778922a8be2faaa564915bcbcab761d39753b1f8 | [
"MIT"
] | null | null | null | Do-it-first-python/mission/3-01.py | siyoon210/Python-Practice | 778922a8be2faaa564915bcbcab761d39753b1f8 | [
"MIT"
] | null | null | null | Do-it-first-python/mission/3-01.py | siyoon210/Python-Practice | 778922a8be2faaa564915bcbcab761d39753b1f8 | [
"MIT"
] | null | null | null | num = int(input())
if num >= 1 and num <= 9:
print('한 자리 숫자입니다')
elif num >= 10 and num <= 99:
print('두 자리 숫자입니다')
else:
print('세 자리 숫자입니다')
| 17.111111 | 29 | 0.545455 | 28 | 154 | 3 | 0.607143 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053571 | 0.272727 | 154 | 8 | 30 | 19.25 | 0.696429 | 0 | 0 | 0 | 0 | 0 | 0.194805 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
3c928821056e65900be167b206aeca158eb32c7a | 98 | py | Python | src/ShowPythonVersion.py | bink81/python-tools | 57f9aa13051a9ac925da293241f4be9cd54e8fb3 | [
"MIT"
] | null | null | null | src/ShowPythonVersion.py | bink81/python-tools | 57f9aa13051a9ac925da293241f4be9cd54e8fb3 | [
"MIT"
] | null | null | null | src/ShowPythonVersion.py | bink81/python-tools | 57f9aa13051a9ac925da293241f4be9cd54e8fb3 | [
"MIT"
] | null | null | null | '''
Created on 27 Mar 2016
'''
import sys
if __name__ == '__main__':
print(sys.version)
| 14 | 27 | 0.612245 | 13 | 98 | 4 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0.244898 | 98 | 6 | 28 | 16.333333 | 0.621622 | 0.22449 | 0 | 0 | 0 | 0 | 0.129032 | 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 |
b1bfc66a792603fd76fa2f9c8684603375012e41 | 97 | py | Python | src/haydi/base/exception.py | Kobzol/haydi | 4b49230d33ce02edff207b49a5db4ef6e605200c | [
"MIT"
] | 5 | 2017-08-09T17:12:31.000Z | 2020-06-14T13:13:05.000Z | src/haydi/base/exception.py | Kobzol/haydi | 4b49230d33ce02edff207b49a5db4ef6e605200c | [
"MIT"
] | 13 | 2017-01-31T15:42:13.000Z | 2017-12-04T11:24:26.000Z | src/haydi/base/exception.py | Kobzol/haydi | 4b49230d33ce02edff207b49a5db4ef6e605200c | [
"MIT"
] | 2 | 2017-08-21T09:49:10.000Z | 2021-02-28T13:51:05.000Z | class HaydiException(BaseException):
pass
class TimeoutException(HaydiException):
pass
| 13.857143 | 39 | 0.773196 | 8 | 97 | 9.375 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164948 | 97 | 6 | 40 | 16.166667 | 0.925926 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
b1c30971b46bfa8d8a90ce95f5137be9b5ad6950 | 71 | py | Python | Dessert.Benchmarks/SimPy3/monitoring.py | saboco/Dessert | bced609c40f74aeb2c938b754b475f0a79ba92c4 | [
"MIT"
] | 1 | 2022-03-04T18:03:41.000Z | 2022-03-04T18:03:41.000Z | Dessert.Benchmarks/SimPy3/monitoring.py | saboco/Dessert | bced609c40f74aeb2c938b754b475f0a79ba92c4 | [
"MIT"
] | null | null | null | Dessert.Benchmarks/SimPy3/monitoring.py | saboco/Dessert | bced609c40f74aeb2c938b754b475f0a79ba92c4 | [
"MIT"
] | null | null | null | """
SimPy's monitoring capabilities will be added in version 3.1.
"""
| 14.2 | 61 | 0.704225 | 11 | 71 | 4.545455 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.169014 | 71 | 4 | 62 | 17.75 | 0.813559 | 0.859155 | 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 |
b1cb0c6c49d13a33c28b9d21e1e26e33bd2594f7 | 92 | py | Python | nest_apps/old_style/apps.py | thinkAmi-sandbox/Django_AppConfig-sample | 14e2018dcaf31c6a615e615fb4b1ae713ea56416 | [
"Unlicense"
] | null | null | null | nest_apps/old_style/apps.py | thinkAmi-sandbox/Django_AppConfig-sample | 14e2018dcaf31c6a615e615fb4b1ae713ea56416 | [
"Unlicense"
] | null | null | null | nest_apps/old_style/apps.py | thinkAmi-sandbox/Django_AppConfig-sample | 14e2018dcaf31c6a615e615fb4b1ae713ea56416 | [
"Unlicense"
] | null | null | null | from django.apps import AppConfig
class OldStyleConfig(AppConfig):
name = 'old_style'
| 15.333333 | 33 | 0.76087 | 11 | 92 | 6.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163043 | 92 | 5 | 34 | 18.4 | 0.896104 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 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 |
b1f04d77a166513bd6a12c4ea95de49565df889b | 71 | py | Python | src/lamplib/src/tests/__init__.py | MikhailShchatko/genny | 00938dc557ef1ad9b6b2d950447bc0e372e951ef | [
"Apache-2.0"
] | 30 | 2019-01-30T17:21:44.000Z | 2022-01-21T00:05:33.000Z | src/lamplib/src/tests/__init__.py | MikhailShchatko/genny | 00938dc557ef1ad9b6b2d950447bc0e372e951ef | [
"Apache-2.0"
] | 358 | 2019-01-15T21:51:57.000Z | 2022-03-30T16:10:42.000Z | src/lamplib/src/tests/__init__.py | MikhailShchatko/genny | 00938dc557ef1ad9b6b2d950447bc0e372e951ef | [
"Apache-2.0"
] | 50 | 2019-01-15T20:01:15.000Z | 2022-03-24T16:19:52.000Z | # Run tests in this directory with `python3 -m unittest` from lamplib.
| 35.5 | 70 | 0.760563 | 11 | 71 | 4.909091 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.169014 | 71 | 1 | 71 | 71 | 0.898305 | 0.957746 | 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 |
591de0335759fbdf4b67e2a6c0d0f0d62a14dfb0 | 139,841 | py | Python | tg263/dictionary.py | gacou54/tg263 | dc4efab8937e2edb46d6d994bbbb242bc01f2108 | [
"MIT"
] | 1 | 2019-10-08T15:51:39.000Z | 2019-10-08T15:51:39.000Z | tg263/dictionary.py | gacou54/tg263 | dc4efab8937e2edb46d6d994bbbb242bc01f2108 | [
"MIT"
] | null | null | null | tg263/dictionary.py | gacou54/tg263 | dc4efab8937e2edb46d6d994bbbb242bc01f2108 | [
"MIT"
] | null | null | null | # coding: utf-8
# author: Gabriel Couture
import re
from tg263.structure import Structure
ALLOWED_STRUCTURES = [
Structure(re.compile(r'^(A_Aorta~?(\^[\w\d_\+-]+)?)$'), 'A_Aorta', '3734', 'Anatomic', 'Artery', 'Aorta', 'Thorax', 'Aorta'),
Structure(re.compile(r'^(A_Aorta_Asc~?(\^[\w\d_\+-]+)?)$'), 'A_Aorta_A... | 194.493741 | 9,419 | 0.631703 | 18,758 | 139,841 | 4.439759 | 0.068291 | 0.093647 | 0.15324 | 0.161754 | 0.775555 | 0.663585 | 0.527575 | 0.447689 | 0.391494 | 0.353358 | 0 | 0.026942 | 0.078461 | 139,841 | 718 | 9,420 | 194.764624 | 0.619303 | 0.000265 | 0 | 0 | 0 | 0.007013 | 0.695152 | 0.365169 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.001403 | 0.002805 | 0 | 0.002805 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
591f0a5345a4e6f604e7e3288869d9abb3cc1c1c | 121 | py | Python | tetris/view/assets/__init__.py | TomerHanochi/Tetris | 5be6c02b27164d0b3897006e5d1476b3e8546533 | [
"MIT"
] | null | null | null | tetris/view/assets/__init__.py | TomerHanochi/Tetris | 5be6c02b27164d0b3897006e5d1476b3e8546533 | [
"MIT"
] | null | null | null | tetris/view/assets/__init__.py | TomerHanochi/Tetris | 5be6c02b27164d0b3897006e5d1476b3e8546533 | [
"MIT"
] | null | null | null | import pygame as pg
pg.mixer.init()
pg.font.init()
from tetris.view.assets.assets import Colors, Images, Fonts, Sounds
| 17.285714 | 67 | 0.760331 | 20 | 121 | 4.6 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123967 | 121 | 6 | 68 | 20.166667 | 0.867925 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
592454fffc7c03614e2f08e285aca6b36230f4da | 2,043 | py | Python | configs/hibernateconfig.py | tshrove/technicaldebtprediction | 11c5d84b4976cc7e93cf79294403c7615cce81bd | [
"MIT"
] | null | null | null | configs/hibernateconfig.py | tshrove/technicaldebtprediction | 11c5d84b4976cc7e93cf79294403c7615cce81bd | [
"MIT"
] | null | null | null | configs/hibernateconfig.py | tshrove/technicaldebtprediction | 11c5d84b4976cc7e93cf79294403c7615cce81bd | [
"MIT"
] | null | null | null | from .iconfig import IConfig
class HibernateConfig(IConfig):
__priority_val_dict = {
"Blocker": 5,
"Critical": 4,
"Major": 3,
"Minor": 2,
"Trivial": 1
}
__issue_tracker_type = 'jira'
__jira_url = 'https://hibernate.atlassian.net'
__jira_username = ''
__... | 34.627119 | 116 | 0.621145 | 258 | 2,043 | 4.596899 | 0.29845 | 0.033727 | 0.059022 | 0.092749 | 0.392074 | 0.392074 | 0.392074 | 0.392074 | 0.392074 | 0.392074 | 0 | 0.135385 | 0.204601 | 2,043 | 58 | 117 | 35.224138 | 0.594462 | 0.011258 | 0 | 0 | 0 | 0 | 0.382061 | 0.201189 | 0 | 0 | 0 | 0 | 0 | 1 | 0.209302 | false | 0.069767 | 0.023256 | 0.186047 | 0.581395 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
5934925f0ceaff80cd3d86944909e84d5e5cd333 | 50 | py | Python | drivers/laserDiodeDrv/__init__.py | mv20100/phd_code | 2262c71c7c35aed5759c4b0e058fe74c44e5266b | [
"MIT"
] | null | null | null | drivers/laserDiodeDrv/__init__.py | mv20100/phd_code | 2262c71c7c35aed5759c4b0e058fe74c44e5266b | [
"MIT"
] | null | null | null | drivers/laserDiodeDrv/__init__.py | mv20100/phd_code | 2262c71c7c35aed5759c4b0e058fe74c44e5266b | [
"MIT"
] | null | null | null | from .np560B import NP560B
__all__ = ['NP560B'] | 16.666667 | 27 | 0.7 | 6 | 50 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219512 | 0.18 | 50 | 3 | 28 | 16.666667 | 0.536585 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
3ca25a5fe868bb52a7f000d615da2e6761aff14c | 161 | py | Python | ldap2html/ldap2html/config.py | nonylene/ldap2html | 99a0d012e50d1aaa96ebd0ae49240befe6bff858 | [
"MIT"
] | 4 | 2019-11-02T10:53:56.000Z | 2021-12-10T14:40:20.000Z | ldap2html/ldap2html/config.py | nonylene/ldap2html | 99a0d012e50d1aaa96ebd0ae49240befe6bff858 | [
"MIT"
] | 1 | 2021-09-03T15:36:53.000Z | 2021-09-03T15:36:53.000Z | ldap2html/ldap2html/config.py | nonylene/ldap2html | 99a0d012e50d1aaa96ebd0ae49240befe6bff858 | [
"MIT"
] | null | null | null | from dataclasses import dataclass
@dataclass
class Config:
ldap_uri: str
search_base: str
bind_dn: str
bind_dn_passwd: str
directory: str
| 13.416667 | 33 | 0.708075 | 22 | 161 | 4.954545 | 0.681818 | 0.12844 | 0.165138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.248447 | 161 | 11 | 34 | 14.636364 | 0.900826 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 0.125 | 0 | 0.875 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
3caf628abb33ee261ba11a62eb54691417e7c8c5 | 455 | py | Python | api/system/mocks/errors.py | djzelenak/espa-api | ebf347a4dd58008e3e9c368cf6086925e3bf12b7 | [
"Unlicense"
] | null | null | null | api/system/mocks/errors.py | djzelenak/espa-api | ebf347a4dd58008e3e9c368cf6086925e3bf12b7 | [
"Unlicense"
] | null | null | null | api/system/mocks/errors.py | djzelenak/espa-api | ebf347a4dd58008e3e9c368cf6086925e3bf12b7 | [
"Unlicense"
] | null | null | null |
class MockError(object):
def __init__(self, status, reason):
self.status = status
self.reason = reason
self.extra = {'retry_after': 9, 'retry_limit': 10}
def resolve_submitted(error_message, name):
return MockError('submitted', 'a reason')
def resolve_unavailable(error_message, name):... | 23.947368 | 58 | 0.687912 | 55 | 455 | 5.472727 | 0.4 | 0.099668 | 0.159468 | 0.219269 | 0.30897 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00813 | 0.189011 | 455 | 18 | 59 | 25.277778 | 0.807588 | 0 | 0 | 0 | 0 | 0 | 0.157428 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.363636 | false | 0 | 0 | 0.272727 | 0.727273 | 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 |
3cd4fb8af3a2eb3b19279379c4474a84bbf786f3 | 51,246 | py | Python | Typing_Test/tests/01.py | zetianluo/Data-Science-Portfolio | 5d568dca73e76d5513c685ffcf42525e8c4f8232 | [
"MIT"
] | null | null | null | Typing_Test/tests/01.py | zetianluo/Data-Science-Portfolio | 5d568dca73e76d5513c685ffcf42525e8c4f8232 | [
"MIT"
] | null | null | null | Typing_Test/tests/01.py | zetianluo/Data-Science-Portfolio | 5d568dca73e76d5513c685ffcf42525e8c4f8232 | [
"MIT"
] | null | null | null | test = {
'name': 'Problem 1',
'points': 1,
'suites': [
{
'cases': [
{
'code': r"""
>>> ps = ['short', 'really long', 'tiny']
>>> s = lambda p: len(p) <= 5
>>> choose(ps, s, 0)
'short'
>>> choose(ps, s, 1)
'tiny'
>>> ... | 25.059169 | 141 | 0.289623 | 4,594 | 51,246 | 3.230736 | 0.092947 | 0.12532 | 0.366864 | 0.06805 | 0.508894 | 0.505188 | 0.505188 | 0.505188 | 0.504379 | 0.504379 | 0 | 0.049662 | 0.504117 | 51,246 | 2,044 | 142 | 25.071429 | 0.534393 | 0 | 0 | 0.723581 | 0 | 0.03229 | 0.827967 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.000978 | 0 | 0.000978 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3ce6a55ed3386e2078fd95c3780559b02064f8e5 | 91 | py | Python | metREx/app/main/util/misc_helper.py | vijayragava/metREx | 095ad24680b8351a4ec89744f2ef407ae73795f6 | [
"Apache-2.0"
] | 8 | 2020-03-13T13:19:25.000Z | 2021-06-07T15:13:11.000Z | metREx/app/main/util/misc_helper.py | vijayragava/metREx | 095ad24680b8351a4ec89744f2ef407ae73795f6 | [
"Apache-2.0"
] | null | null | null | metREx/app/main/util/misc_helper.py | vijayragava/metREx | 095ad24680b8351a4ec89744f2ef407ae73795f6 | [
"Apache-2.0"
] | 2 | 2020-04-27T20:38:16.000Z | 2021-06-07T15:13:48.000Z | def str_to_bool(x):
x = str(x)
return x.lower() in ('true', 't', 'yes', 'y', '1')
| 18.2 | 54 | 0.483516 | 17 | 91 | 2.470588 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014493 | 0.241758 | 91 | 4 | 55 | 22.75 | 0.594203 | 0 | 0 | 0 | 0 | 0 | 0.10989 | 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 |
3cf25d614747f0a4eb45aa7409790183521d9166 | 113 | py | Python | lib/__init__.py | ivan1993spb/snake-backend | 77b115202a8e433ac3fa934b3dae932b5018b9a0 | [
"MIT"
] | null | null | null | lib/__init__.py | ivan1993spb/snake-backend | 77b115202a8e433ac3fa934b3dae932b5018b9a0 | [
"MIT"
] | 3 | 2021-09-08T01:38:22.000Z | 2022-03-12T00:14:06.000Z | lib/__init__.py | ivan1993spb/snake-backend | 77b115202a8e433ac3fa934b3dae932b5018b9a0 | [
"MIT"
] | null | null | null | """The module contains necessary classes, functions and methods to provide
operations with the Snake-Server.
"""
| 28.25 | 74 | 0.787611 | 15 | 113 | 5.933333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132743 | 113 | 3 | 75 | 37.666667 | 0.908163 | 0.929204 | 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 |
3cff2efdb16dbcc9414b52617014c6ca8ab980fa | 320 | py | Python | app/services/tokyo_commodities_exchange/export_site_to_db/abstract/destinations/tokyo_c_e_historical_db/connection.py | Tinitto/crypto-exchange | cb61664ff0119d8120315b8c6feb77aeba0ec050 | [
"MIT"
] | null | null | null | app/services/tokyo_commodities_exchange/export_site_to_db/abstract/destinations/tokyo_c_e_historical_db/connection.py | Tinitto/crypto-exchange | cb61664ff0119d8120315b8c6feb77aeba0ec050 | [
"MIT"
] | null | null | null | app/services/tokyo_commodities_exchange/export_site_to_db/abstract/destinations/tokyo_c_e_historical_db/connection.py | Tinitto/crypto-exchange | cb61664ff0119d8120315b8c6feb77aeba0ec050 | [
"MIT"
] | null | null | null | """Module with the connection settings for the Tokyo Commodities Exchange file download service"""
import os
from judah.destinations.database.config import DatabaseConnectionConfig
class TokyoCEHistoricalDbConnectionConfig(DatabaseConnectionConfig):
db_uri: str = os.getenv("TOKYO_COMMODITIES_HISTORICAL_DB_URI")
| 35.555556 | 98 | 0.840625 | 35 | 320 | 7.542857 | 0.771429 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 320 | 8 | 99 | 40 | 0.916667 | 0.2875 | 0 | 0 | 0 | 0 | 0.157658 | 0.157658 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a737c58a04b7f20715a418ebd1a9e00255703285 | 155 | py | Python | app/wsgi.py | vince21/nwapw-condensity-os | ddfcdf969d3eee8966d5cbe525242e06445f7e2f | [
"MIT"
] | null | null | null | app/wsgi.py | vince21/nwapw-condensity-os | ddfcdf969d3eee8966d5cbe525242e06445f7e2f | [
"MIT"
] | null | null | null | app/wsgi.py | vince21/nwapw-condensity-os | ddfcdf969d3eee8966d5cbe525242e06445f7e2f | [
"MIT"
] | null | null | null | # NWAPW
# Spencer Chang, Toby Ueno, Vincent Wilson
# date: 8/04/20
# description: wsgi file
from app import app
if __name__ == "__main__":
app.run()
| 15.5 | 42 | 0.683871 | 23 | 155 | 4.26087 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040323 | 0.2 | 155 | 9 | 43 | 17.222222 | 0.75 | 0.535484 | 0 | 0 | 0 | 0 | 0.119403 | 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 |
598e2e363264d6f315feae291c15680c71720bfb | 415 | py | Python | toontown/uberdog/DistributedSecurityMgrAI.py | SuperM0use24/TT-CL-Edition | fdad8394f0656ae122b687d603f72afafd220c65 | [
"MIT"
] | 3 | 2020-01-02T08:43:36.000Z | 2020-07-05T08:59:02.000Z | toontown/uberdog/DistributedSecurityMgrAI.py | NoraTT/Historical-Commits-Project-Altis-Source | fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179 | [
"Apache-2.0"
] | 1 | 2021-06-08T17:16:48.000Z | 2021-06-08T17:16:48.000Z | toontown/uberdog/DistributedSecurityMgrAI.py | NoraTT/Historical-Commits-Project-Altis-Source | fe88e6d07edf418f7de6ad5b3d9ecb3d0d285179 | [
"Apache-2.0"
] | 4 | 2019-06-20T23:45:23.000Z | 2020-10-14T20:30:15.000Z | from direct.directnotify import DirectNotifyGlobal
from direct.distributed.DistributedObjectGlobalAI import DistributedObjectGlobalAI
class DistributedSecurityMgrAI(DistributedObjectGlobalAI):
notify = DirectNotifyGlobal.directNotify.newCategory("DistributedSecurityMgrAI")
def requestAccountId(self, todo0, to... | 31.923077 | 84 | 0.807229 | 32 | 415 | 10.46875 | 0.59375 | 0.059701 | 0.083582 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013928 | 0.13494 | 415 | 12 | 85 | 34.583333 | 0.91922 | 0 | 0 | 0.25 | 0 | 0 | 0.057971 | 0.057971 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
59cdf967829e52140f9a93408e3f0bf4e8e0e808 | 511 | py | Python | day05/day05.py | RobinRH/advent-of-code-2017 | 8996691abf4d9020294e5b750bef1e35effd5c68 | [
"MIT"
] | null | null | null | day05/day05.py | RobinRH/advent-of-code-2017 | 8996691abf4d9020294e5b750bef1e35effd5c68 | [
"MIT"
] | null | null | null | day05/day05.py | RobinRH/advent-of-code-2017 | 8996691abf4d9020294e5b750bef1e35effd5c68 | [
"MIT"
] | null | null | null | # answer -> 388611
# answer -> 27763113
import io
# part 1
input = [int(line) for line in open('input05.txt', 'r')]
index = 0
count = 0
while index < len(input):
jump = input[index]
input[index] += 1
index += jump
count += 1
print('part 1: ', count)
# part 2
input = [int(line) for line in open('in... | 15.96875 | 56 | 0.58317 | 79 | 511 | 3.772152 | 0.341772 | 0.134228 | 0.080537 | 0.100671 | 0.775168 | 0.775168 | 0.775168 | 0.610738 | 0.610738 | 0.610738 | 0 | 0.08399 | 0.254403 | 511 | 31 | 57 | 16.483871 | 0.698163 | 0.09589 | 0 | 0.736842 | 0 | 0 | 0.087719 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.052632 | 0.105263 | 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 |
ab8b6431e73b0b65448403693bc7faf189e03585 | 89 | py | Python | galeria/apps.py | JoseDevApps/Pets | 280e193c5bb293893a2baa547fcde0141f5db010 | [
"MIT"
] | null | null | null | galeria/apps.py | JoseDevApps/Pets | 280e193c5bb293893a2baa547fcde0141f5db010 | [
"MIT"
] | 9 | 2020-06-08T03:31:08.000Z | 2022-01-13T02:44:42.000Z | galeria/apps.py | JoseDevApps/Pets | 280e193c5bb293893a2baa547fcde0141f5db010 | [
"MIT"
] | 1 | 2020-06-01T17:43:20.000Z | 2020-06-01T17:43:20.000Z | from django.apps import AppConfig
class GaleriaConfig(AppConfig):
name = 'galeria'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ab971cbe77810088a27561292be60f87c7244231 | 168 | py | Python | starlette_context/plugins/user_agent.py | adamantike/starlette-context | a935fbfc2f58799661c33f72695a42958af92545 | [
"MIT"
] | 242 | 2019-12-28T15:00:15.000Z | 2022-03-23T11:40:55.000Z | starlette_context/plugins/user_agent.py | adamantike/starlette-context | a935fbfc2f58799661c33f72695a42958af92545 | [
"MIT"
] | 37 | 2019-12-31T16:52:43.000Z | 2022-03-04T02:49:46.000Z | starlette_context/plugins/user_agent.py | hhamana/starlette-context | 6638504c4e702578fa23ae4b163a65ffc79d798a | [
"MIT"
] | 15 | 2020-03-10T13:13:28.000Z | 2022-01-31T13:23:10.000Z | from starlette_context.header_keys import HeaderKeys
from starlette_context.plugins.base import Plugin
class UserAgentPlugin(Plugin):
key = HeaderKeys.user_agent
| 24 | 52 | 0.839286 | 21 | 168 | 6.52381 | 0.714286 | 0.189781 | 0.291971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113095 | 168 | 6 | 53 | 28 | 0.919463 | 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 | 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 |
abc35ba380794faca22842c672f37f9d33017f19 | 156 | py | Python | src/setup.py | PejLab/aFC-n | 5dbaf963b92c41955b36c036eee45b84774ca1a7 | [
"Apache-2.0"
] | null | null | null | src/setup.py | PejLab/aFC-n | 5dbaf963b92c41955b36c036eee45b84774ca1a7 | [
"Apache-2.0"
] | null | null | null | src/setup.py | PejLab/aFC-n | 5dbaf963b92c41955b36c036eee45b84774ca1a7 | [
"Apache-2.0"
] | null | null | null | from setuptools import setup
from Cython.Build import cythonize
setup(
ext_modules = cythonize("*.pyx",compiler_directives={'language_level' : "3"})
)
| 22.285714 | 81 | 0.75 | 19 | 156 | 6 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007353 | 0.128205 | 156 | 6 | 82 | 26 | 0.830882 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 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 |
abc797c4d9d5b0b8133c74e2c3f5159a2afb9b04 | 223 | py | Python | remass/tui/forms/__init__.py | snototter/remass | 60494346f676f29a3517bcce30e8aab21cf3d3c6 | [
"MIT"
] | null | null | null | remass/tui/forms/__init__.py | snototter/remass | 60494346f676f29a3517bcce30e8aab21cf3d3c6 | [
"MIT"
] | null | null | null | remass/tui/forms/__init__.py | snototter/remass | 60494346f676f29a3517bcce30e8aab21cf3d3c6 | [
"MIT"
] | null | null | null | from .connection import StartUpForm
from .export import ExportForm
from .screens import ScreenCustomizationForm
from .templates import TemplateSynchronizationForm, TemplateRemovalForm
from .device import DeviceSettingsForm
| 37.166667 | 71 | 0.878924 | 21 | 223 | 9.333333 | 0.619048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09417 | 223 | 5 | 72 | 44.6 | 0.970297 | 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 |
abd034ee603ee9265f1cbcae49ceec7392305185 | 24 | py | Python | tests/__init__.py | vb64/bulls_cows | dae6c19027c317c475111d35ee18721c563dc22d | [
"MIT"
] | null | null | null | tests/__init__.py | vb64/bulls_cows | dae6c19027c317c475111d35ee18721c563dc22d | [
"MIT"
] | 2 | 2019-05-23T19:20:35.000Z | 2019-05-24T10:51:00.000Z | tests/__init__.py | vb64/bulls_cows | dae6c19027c317c475111d35ee18721c563dc22d | [
"MIT"
] | 1 | 2019-06-19T14:32:39.000Z | 2019-06-19T14:32:39.000Z | """
Run tests stuff
"""
| 6 | 15 | 0.541667 | 3 | 24 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 24 | 3 | 16 | 8 | 0.684211 | 0.625 | 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 |
abdce5033ab88016e6d5fcd66c40115ece752c4c | 34 | py | Python | Python_Codes_for_BJ/stage03 for문 사용하기/합.py | ch96an/BaekJoonSolution | 25594fda5ba1c0c4d26ff0828ec8dcf2f6572d33 | [
"MIT"
] | null | null | null | Python_Codes_for_BJ/stage03 for문 사용하기/합.py | ch96an/BaekJoonSolution | 25594fda5ba1c0c4d26ff0828ec8dcf2f6572d33 | [
"MIT"
] | null | null | null | Python_Codes_for_BJ/stage03 for문 사용하기/합.py | ch96an/BaekJoonSolution | 25594fda5ba1c0c4d26ff0828ec8dcf2f6572d33 | [
"MIT"
] | null | null | null | n = int(input())
print(n*(n+1)//2) | 17 | 17 | 0.529412 | 8 | 34 | 2.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.088235 | 34 | 2 | 17 | 17 | 0.516129 | 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 |
abf8b08728d1534e8e835c07c3e299e33de88ca6 | 93 | py | Python | anonymous/apps.py | ParkHyeonChae/Re-Born-Web | 95f66600e048b6b10459ed7674d0fa5d3f53dcd5 | [
"MIT"
] | 23 | 2020-01-22T09:22:46.000Z | 2022-03-18T08:31:12.000Z | anonymous/apps.py | ParkHyeonChae/Re-Born-Web | 95f66600e048b6b10459ed7674d0fa5d3f53dcd5 | [
"MIT"
] | 9 | 2020-06-05T20:41:34.000Z | 2022-03-12T00:46:58.000Z | anonymous/apps.py | ParkHyeonChae/Re-Born-Web | 95f66600e048b6b10459ed7674d0fa5d3f53dcd5 | [
"MIT"
] | 15 | 2020-02-09T12:54:25.000Z | 2022-03-02T00:06:18.000Z | from django.apps import AppConfig
class AnonymousConfig(AppConfig):
name = 'anonymous'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 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 |
abfba4a94f9a540df9a4132aa8980ed000925170 | 690 | py | Python | unbroke/models.py | astar55/unbrokeme | a0fb5e59550c7853c866011cc46b8da2dff283b0 | [
"Apache-2.0"
] | null | null | null | unbroke/models.py | astar55/unbrokeme | a0fb5e59550c7853c866011cc46b8da2dff283b0 | [
"Apache-2.0"
] | null | null | null | unbroke/models.py | astar55/unbrokeme | a0fb5e59550c7853c866011cc46b8da2dff283b0 | [
"Apache-2.0"
] | null | null | null | from django.db import models
class salary(models.Model):
amount = models.IntegerField()
frequency = models.IntegerField()
monthlysalary = models.IntegerField()
def __str__(self):
return self.id
class income(models.Model):
otherincome = models.IntegerField()
total = models.IntegerField()
def... | 23 | 67 | 0.724638 | 81 | 690 | 5.938272 | 0.444444 | 0.261954 | 0.174636 | 0.199584 | 0.363825 | 0.363825 | 0.363825 | 0.363825 | 0.280665 | 0 | 0 | 0.010471 | 0.169565 | 690 | 30 | 68 | 23 | 0.82897 | 0 | 0 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.181818 | false | 0 | 0.045455 | 0.181818 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
abffb9f410bf1001bc549c2c53e223d3d4971b0d | 1,107 | py | Python | tests/test_FIPS.py | JohnAndrewTaylor/flowsa | 21b14b19f08370db574bdd59219a2773983c6f95 | [
"CC0-1.0"
] | null | null | null | tests/test_FIPS.py | JohnAndrewTaylor/flowsa | 21b14b19f08370db574bdd59219a2773983c6f95 | [
"CC0-1.0"
] | null | null | null | tests/test_FIPS.py | JohnAndrewTaylor/flowsa | 21b14b19f08370db574bdd59219a2773983c6f95 | [
"CC0-1.0"
] | null | null | null | # test_FIPS.py (tests)
# !/usr/bin/env python3
# coding=utf-8
# ingwersen.wesley@epa.gov
"""Add docstring in public module.""" # TODO add docstring.
import unittest
from flowsa.common import getFIPS
class TestFIPS(unittest.TestCase):
"""Add docstring in public class.""" # TODO add docstring.
def test_bad... | 30.75 | 70 | 0.64318 | 134 | 1,107 | 5.246269 | 0.358209 | 0.204836 | 0.119488 | 0.170697 | 0.529161 | 0.321479 | 0.321479 | 0.321479 | 0.321479 | 0.321479 | 0 | 0.014068 | 0.229449 | 1,107 | 35 | 71 | 31.628571 | 0.810082 | 0.35411 | 0 | 0 | 0 | 0 | 0.077037 | 0 | 0 | 0 | 0 | 0.028571 | 0.235294 | 1 | 0.235294 | false | 0 | 0.117647 | 0 | 0.411765 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f9f7f421259f6693589aa5cdd961133e2e69eb7d | 563 | py | Python | Inheritance/animal.py | tatonkoduje/pythonforbegginers | 1fec11ecd6788c91833d06dfabbb0b1319ff8e68 | [
"Apache-2.0"
] | null | null | null | Inheritance/animal.py | tatonkoduje/pythonforbegginers | 1fec11ecd6788c91833d06dfabbb0b1319ff8e68 | [
"Apache-2.0"
] | null | null | null | Inheritance/animal.py | tatonkoduje/pythonforbegginers | 1fec11ecd6788c91833d06dfabbb0b1319ff8e68 | [
"Apache-2.0"
] | null | null | null | class Animal:
name = "Nieznane"
legs = 4
ears = 2
def __init__(self, name):
self.name = name
def move(self):
print(self.name + " biegnie...")
def stop(self):
print(self.name + " zatrzymuje się.")
def make_noise(self):
print(self.name + " szczeka!")
class... | 17.59375 | 45 | 0.53286 | 68 | 563 | 4.338235 | 0.411765 | 0.216949 | 0.264407 | 0.345763 | 0.162712 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005141 | 0.309059 | 563 | 32 | 46 | 17.59375 | 0.753213 | 0 | 0 | 0.095238 | 0 | 0 | 0.129433 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0.285714 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e602f677c5c4468ef6f08aef9adbbee72b6c08b1 | 59 | py | Python | insurance_charges_model/prediction/__init__.py | schmidtbri/regression-model | c112949fdb59a947c9f1a6616af9df5d640fe155 | [
"BSD-3-Clause"
] | null | null | null | insurance_charges_model/prediction/__init__.py | schmidtbri/regression-model | c112949fdb59a947c9f1a6616af9df5d640fe155 | [
"BSD-3-Clause"
] | 2 | 2022-02-26T18:36:16.000Z | 2022-03-15T12:37:47.000Z | insurance_charges_model/prediction/__init__.py | schmidtbri/regression-model | c112949fdb59a947c9f1a6616af9df5d640fe155 | [
"BSD-3-Clause"
] | null | null | null | """Code for making predictions with a regression model."""
| 29.5 | 58 | 0.745763 | 8 | 59 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 59 | 1 | 59 | 59 | 0.862745 | 0.881356 | 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 |
e63b3c39c3c6e8d54be6adcc9322949265f57d91 | 26 | py | Python | T02-03/program.py | miguelgaoreiss/SSof-Project1920 | 0bf74c264e06966931d6a2e0b42134dfddc32eb4 | [
"MIT"
] | 2 | 2019-11-20T19:26:07.000Z | 2019-11-22T00:42:23.000Z | T02-03/program.py | miguelgaoreiss/SSof-Project1920 | 0bf74c264e06966931d6a2e0b42134dfddc32eb4 | [
"MIT"
] | 2 | 2019-11-28T05:21:24.000Z | 2019-11-28T05:21:58.000Z | T02-03/program.py | miguelgaoreiss/SSof-Project1920 | 0bf74c264e06966931d6a2e0b42134dfddc32eb4 | [
"MIT"
] | 25 | 2019-11-27T01:40:56.000Z | 2019-12-04T23:38:59.000Z | send_mail_jinja(get(), 2)
| 13 | 25 | 0.730769 | 5 | 26 | 3.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041667 | 0.076923 | 26 | 1 | 26 | 26 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e645a291fde419fdc95f6166cfe258a5137c2927 | 104 | py | Python | surro/__main__.py | MatthewScholefield/surro | db666a8c5c2fd456b1816562014572ceaabd2b5f | [
"MIT"
] | null | null | null | surro/__main__.py | MatthewScholefield/surro | db666a8c5c2fd456b1816562014572ceaabd2b5f | [
"MIT"
] | null | null | null | surro/__main__.py | MatthewScholefield/surro | db666a8c5c2fd456b1816562014572ceaabd2b5f | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
import sys
sys.path += ['.'] # noqa
from surro.game import Game
Game().run()
| 11.555556 | 27 | 0.634615 | 16 | 104 | 4.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011628 | 0.173077 | 104 | 8 | 28 | 13 | 0.755814 | 0.25 | 0 | 0 | 0 | 0 | 0.013158 | 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 |
0523eccc016d326b432a2a44e523a694aa9f7f34 | 27 | py | Python | venv-lib/lib/python3.7/imp.py | migmaciasdiaz/venvs | bcdbb75931cb27fc4b5b30f12fc44be85952157e | [
"MIT"
] | 2 | 2020-03-30T14:17:10.000Z | 2020-10-04T12:33:00.000Z | venv-lib/lib/python3.7/imp.py | migmaciasdiaz/venvs | bcdbb75931cb27fc4b5b30f12fc44be85952157e | [
"MIT"
] | 1 | 2020-11-24T03:31:13.000Z | 2020-11-24T03:31:13.000Z | venv/lib/python3.7/imp.py | wensu425/aws-eb-webapp | 4b149c75c11fe5b33c9a080313ec336fabb45824 | [
"MIT"
] | 1 | 2021-05-04T09:18:22.000Z | 2021-05-04T09:18:22.000Z | /usr/lib64/python3.7/imp.py | 27 | 27 | 0.777778 | 6 | 27 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 0 | 27 | 1 | 27 | 27 | 0.62963 | 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 |
05440900ef2c6cd63c982cca941fa868b3b29e1c | 878 | py | Python | oops_fhir/r4/value_set/nutrient_modifier_codes.py | Mikuana/oops_fhir | 77963315d123756b7d21ae881f433778096a1d25 | [
"MIT"
] | null | null | null | oops_fhir/r4/value_set/nutrient_modifier_codes.py | Mikuana/oops_fhir | 77963315d123756b7d21ae881f433778096a1d25 | [
"MIT"
] | null | null | null | oops_fhir/r4/value_set/nutrient_modifier_codes.py | Mikuana/oops_fhir | 77963315d123756b7d21ae881f433778096a1d25 | [
"MIT"
] | null | null | null | from pathlib import Path
from fhir.resources.valueset import ValueSet as _ValueSet
from oops_fhir.utils import ValueSet
from oops_fhir.r4.code_system.snomed_ct import SNOMEDCT
__all__ = ["NutrientModifierCodes"]
_resource = _ValueSet.parse_file(Path(__file__).with_suffix(".json"))
class NutrientModifierCodes(V... | 24.388889 | 76 | 0.747153 | 117 | 878 | 5.452991 | 0.649573 | 0.043887 | 0.050157 | 0.062696 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02069 | 0.17426 | 878 | 35 | 77 | 25.085714 | 0.85931 | 0.536446 | 0 | 0 | 0 | 0 | 0.065657 | 0.05303 | 0 | 0 | 0 | 0.028571 | 0 | 1 | 0 | false | 0.1 | 0.4 | 0 | 0.6 | 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 |
054b5c231dfed8abdeafa03df31b71950f5cd52f | 431 | py | Python | src/lib/phdi-transforms/tests/test_basic.py | CDCgov/prime-public-health-data-infrastructure | 7e4849c3a486a84e94765bf0023b80261c510c57 | [
"Apache-2.0"
] | 3 | 2022-02-24T18:16:39.000Z | 2022-03-29T20:21:41.000Z | src/lib/phdi-transforms/tests/test_basic.py | CDCgov/prime-public-health-data-infrastructure | 7e4849c3a486a84e94765bf0023b80261c510c57 | [
"Apache-2.0"
] | 17 | 2022-02-08T17:13:55.000Z | 2022-03-28T16:49:00.000Z | src/lib/phdi-transforms/tests/test_basic.py | CDCgov/prime-public-health-data-infrastructure | 7e4849c3a486a84e94765bf0023b80261c510c57 | [
"Apache-2.0"
] | 3 | 2022-02-27T23:12:50.000Z | 2022-03-17T04:51:47.000Z | from phdi_transforms.basic import transform_name
from phdi_transforms.basic import transform_phone
def test_transform_name():
assert "JOHN DOE" == transform_name(" JOHN DOE ")
assert "JOHN DOE" == transform_name(" John Doe3 ")
def test_transform_phone():
assert "0123456789" == transform_phone("012345678... | 30.785714 | 59 | 0.740139 | 55 | 431 | 5.563636 | 0.363636 | 0.228758 | 0.117647 | 0.150327 | 0.444444 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0.13079 | 0.148492 | 431 | 13 | 60 | 33.153846 | 0.702997 | 0 | 0 | 0 | 0 | 0 | 0.204176 | 0 | 0 | 0 | 0 | 0 | 0.555556 | 1 | 0.222222 | true | 0 | 0.222222 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
05527b69f8cbd606816c8a5a32074c305e9fbb73 | 258 | py | Python | aps/admin.py | themobilecompany/Bullfrog | a13ff0ccaec6887f839cf58435220264fde8df24 | [
"MIT"
] | 1 | 2017-06-06T07:21:02.000Z | 2017-06-06T07:21:02.000Z | aps/admin.py | themobilecompany/Bullfrog | a13ff0ccaec6887f839cf58435220264fde8df24 | [
"MIT"
] | null | null | null | aps/admin.py | themobilecompany/Bullfrog | a13ff0ccaec6887f839cf58435220264fde8df24 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Person
from .models import Circle
from .models import Role
from .models import RoleFiller
admin.site.register(Person)
admin.site.register(Circle)
admin.site.register(Role)
admin.site.register(RoleFiller) | 23.454545 | 32 | 0.821705 | 37 | 258 | 5.72973 | 0.324324 | 0.188679 | 0.301887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096899 | 258 | 11 | 33 | 23.454545 | 0.909871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.555556 | 0 | 0.555556 | 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 |
0555563c511d848420d5f54b06149304608ec5e9 | 315 | py | Python | gvm/language/__init__.py | alurin/gvm | 03feca42c2ab56f26a7167b4a07213ce5c0fbdb4 | [
"MIT"
] | null | null | null | gvm/language/__init__.py | alurin/gvm | 03feca42c2ab56f26a7167b4a07213ce5c0fbdb4 | [
"MIT"
] | null | null | null | gvm/language/__init__.py | alurin/gvm | 03feca42c2ab56f26a7167b4a07213ce5c0fbdb4 | [
"MIT"
] | null | null | null | # Copyright (C) 2019-2020 Vasiliy Sheredeko
#
# This software may be modified and distributed under the terms
# of the MIT license. See the LICENSE file for details.
from gvm.language.grammar import Grammar, SymbolID, TokenID, ParseletID
from gvm.language.scanner import Scanner, DefaultScanner, IndentationScanner
| 45 | 76 | 0.809524 | 43 | 315 | 5.930233 | 0.790698 | 0.054902 | 0.117647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029304 | 0.133333 | 315 | 6 | 77 | 52.5 | 0.904762 | 0.498413 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
05688790794410d8d64c49cb76b8e6088947f708 | 5,731 | py | Python | src/python/tests/unittests/test_common/test_multiprocessing_logger.py | annihilatethee/seedsync | 7a0ba915cc570bc12916088baa6eb6bee6f291c9 | [
"Apache-2.0"
] | 255 | 2017-12-25T00:53:40.000Z | 2022-03-27T10:29:21.000Z | src/python/tests/unittests/test_common/test_multiprocessing_logger.py | annihilatethee/seedsync | 7a0ba915cc570bc12916088baa6eb6bee6f291c9 | [
"Apache-2.0"
] | 111 | 2018-01-04T10:35:49.000Z | 2022-03-29T15:12:52.000Z | src/python/tests/unittests/test_common/test_multiprocessing_logger.py | annihilatethee/seedsync | 7a0ba915cc570bc12916088baa6eb6bee6f291c9 | [
"Apache-2.0"
] | 53 | 2017-12-25T09:34:19.000Z | 2022-03-15T17:53:27.000Z | # Copyright 2017, Inderpreet Singh, All rights reserved.
import unittest
import logging
import sys
import time
import multiprocessing
from testfixtures import LogCapture
import timeout_decorator
from common import MultiprocessingLogger
class TestMultiprocessingLogger(unittest.TestCase):
def setUp(self):
... | 36.503185 | 93 | 0.560635 | 583 | 5,731 | 5.284734 | 0.13036 | 0.09088 | 0.042843 | 0.03408 | 0.792924 | 0.738072 | 0.70172 | 0.664719 | 0.653684 | 0.653684 | 0 | 0.021293 | 0.32804 | 5,731 | 156 | 94 | 36.737179 | 0.778759 | 0.017972 | 0 | 0.75969 | 0 | 0 | 0.16133 | 0.046958 | 0 | 0 | 0 | 0 | 0 | 1 | 0.054264 | false | 0 | 0.062016 | 0 | 0.124031 | 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 |
05747c6260b3b281351581caa02c0eb1953c3b48 | 98 | py | Python | retweet/wsgi.py | adventuringImagineer/estimator-retweet-adventure | 3c3ea925f38cd50870c6150a804014bfd07ca190 | [
"MIT"
] | null | null | null | retweet/wsgi.py | adventuringImagineer/estimator-retweet-adventure | 3c3ea925f38cd50870c6150a804014bfd07ca190 | [
"MIT"
] | null | null | null | retweet/wsgi.py | adventuringImagineer/estimator-retweet-adventure | 3c3ea925f38cd50870c6150a804014bfd07ca190 | [
"MIT"
] | null | null | null | from .app import app
# do some production specific things to the app
app.config["DEBUG"] = False
| 19.6 | 47 | 0.744898 | 16 | 98 | 4.5625 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173469 | 98 | 4 | 48 | 24.5 | 0.901235 | 0.459184 | 0 | 0 | 0 | 0 | 0.098039 | 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 |
557da8a78bcfb8395725531335231579a20c615a | 128 | py | Python | sample_app/actors/apps.py | inmagik/django-search-views | 315cbe8e6cac158884ced02069aa945bc7438dba | [
"MIT"
] | 31 | 2016-10-01T15:41:02.000Z | 2022-02-12T18:44:20.000Z | sample_app/actors/apps.py | bianchimro/django-search-views | 315cbe8e6cac158884ced02069aa945bc7438dba | [
"MIT"
] | 8 | 2016-10-01T12:19:05.000Z | 2019-09-30T09:33:47.000Z | sample_app/actors/apps.py | inmagik/django-search-views | 315cbe8e6cac158884ced02069aa945bc7438dba | [
"MIT"
] | 6 | 2017-09-07T18:39:40.000Z | 2021-08-30T06:45:20.000Z | from __future__ import unicode_literals
from django.apps import AppConfig
class ActorsConfig(AppConfig):
name = 'actors'
| 16 | 39 | 0.789063 | 15 | 128 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 128 | 7 | 40 | 18.285714 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.046875 | 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 |
558f4b5dfe368365ee39dbd6359d748133a4fbca | 3,947 | py | Python | pong_easy.py | Yiluo-pHoton/Pong | 385d9557759a1e730fc2b41b6a6019d669275399 | [
"MIT"
] | 1 | 2017-12-31T02:00:59.000Z | 2017-12-31T02:00:59.000Z | pong_easy.py | Yiluo-pHoton/Pong | 385d9557759a1e730fc2b41b6a6019d669275399 | [
"MIT"
] | 1 | 2017-12-27T17:06:44.000Z | 2017-12-27T17:06:44.000Z | pong_easy.py | Yiluo-pHoton/Pong | 385d9557759a1e730fc2b41b6a6019d669275399 | [
"MIT"
] | null | null | null | import Tkinter
import gameStatus
class Handler:
def __init__(self, game):
self.__game = game
# More get and set functions go below here
# WHY USE GET AND SET FUNCTIONS:
# Some fields should remain unaccessible by the user
# therefore unaccessible outside of this class.
# We call this... | 22.683908 | 70 | 0.633392 | 553 | 3,947 | 4.318264 | 0.177215 | 0.083752 | 0.087521 | 0.090452 | 0.722781 | 0.713987 | 0.682161 | 0.682161 | 0.682161 | 0.682161 | 0 | 0 | 0.292881 | 3,947 | 173 | 71 | 22.815029 | 0.855607 | 0.467444 | 0 | 0.523256 | 0 | 0 | 0.059459 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.44186 | false | 0 | 0.023256 | 0.034884 | 0.546512 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
559341c75374ea6e3677a1dccde11d84cacca3b3 | 135 | py | Python | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/context_processors.py | oddbird/sfdo-template | ac128ca5b2db18d3069a1535cb6ac23f83aa987f | [
"BSD-3-Clause"
] | 3 | 2018-08-23T18:59:59.000Z | 2021-05-25T00:05:52.000Z | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/context_processors.py | oddbird/sfdo-template | ac128ca5b2db18d3069a1535cb6ac23f83aa987f | [
"BSD-3-Clause"
] | 9 | 2018-09-28T21:30:35.000Z | 2020-08-10T20:42:34.000Z | {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/context_processors.py | oddbird/sfdo-template | ac128ca5b2db18d3069a1535cb6ac23f83aa987f | [
"BSD-3-Clause"
] | 2 | 2019-03-28T05:03:08.000Z | 2019-05-05T18:10:30.000Z | from django.conf import settings
def env(request):
GLOBALS = {"SENTRY_DSN": settings.SENTRY_DSN}
return {"GLOBALS": GLOBALS}
| 19.285714 | 49 | 0.711111 | 17 | 135 | 5.529412 | 0.705882 | 0.191489 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17037 | 135 | 6 | 50 | 22.5 | 0.839286 | 0 | 0 | 0 | 0 | 0 | 0.125926 | 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 |
e974a8af2a36fd2e6f2f0ee548b8c2b6659b4a2f | 168 | py | Python | factory-ai-vision/OVMSAdaptorEdgeSolution/send_config.py | michellechena/azure-intelligent-edge-patterns | b1260b962b208880532391e7ef2148d240f489f8 | [
"MIT"
] | null | null | null | factory-ai-vision/OVMSAdaptorEdgeSolution/send_config.py | michellechena/azure-intelligent-edge-patterns | b1260b962b208880532391e7ef2148d240f489f8 | [
"MIT"
] | null | null | null | factory-ai-vision/OVMSAdaptorEdgeSolution/send_config.py | michellechena/azure-intelligent-edge-patterns | b1260b962b208880532391e7ef2148d240f489f8 | [
"MIT"
] | null | null | null | import json
import requests
j = json.load(open('voe_config.json'))
js = json.dumps(j)
requests.post('http://YOUR_DEVICE_IP:8585/set_voe_config', json={'config': js})
| 21 | 79 | 0.732143 | 28 | 168 | 4.214286 | 0.607143 | 0.152542 | 0.220339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026144 | 0.089286 | 168 | 7 | 80 | 24 | 0.745098 | 0 | 0 | 0 | 0 | 0 | 0.369048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e98c44929a46d22e081d3db767ec47b015a7a80e | 348 | py | Python | dev/script.py | zmoitier/accoster | 648b9edf7e73848eacb60af0885be4d30fdbbafc | [
"MIT"
] | null | null | null | dev/script.py | zmoitier/accoster | 648b9edf7e73848eacb60af0885be4d30fdbbafc | [
"MIT"
] | 5 | 2020-12-04T21:17:00.000Z | 2020-12-06T19:54:36.000Z | dev/script.py | zmoitier/accoster | 648b9edf7e73848eacb60af0885be4d30fdbbafc | [
"MIT"
] | 1 | 2020-11-18T17:24:52.000Z | 2020-11-18T17:24:52.000Z | from sys import argv
import matplotlib.pyplot as plt
import numpy as np
import claudius_dev as claudius
obs = claudius.create_obstacle("Disk", "Penetrable", [1, 2], [1, 2], [3, 4])
print(obs)
print(obs.sig_rho[0][0](np.zeros(5)))
print(obs.sig_rho[0][1](np.zeros(5)))
print(obs.sig_rho[1][0](np.zeros(5)))
print(obs.... | 23.2 | 76 | 0.692529 | 68 | 348 | 3.455882 | 0.397059 | 0.170213 | 0.187234 | 0.238298 | 0.365957 | 0.297872 | 0.297872 | 0.297872 | 0 | 0 | 0 | 0.057508 | 0.100575 | 348 | 14 | 77 | 24.857143 | 0.693291 | 0 | 0 | 0 | 0 | 0 | 0.04023 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
e9bbe4c979028541c6c61168eebf0fa55bb82f8c | 6,116 | py | Python | tests/test_cellpy_cmd.py | streamengineer/cellpy | 59a83065297ce0ba370fc11181085c98f587101e | [
"MIT"
] | 38 | 2016-08-16T10:54:56.000Z | 2022-03-03T04:43:20.000Z | tests/test_cellpy_cmd.py | Ozzstein/cellpy | ee532905741db4cb928303d75426d2a4fa77144a | [
"MIT"
] | 88 | 2016-08-16T13:10:27.000Z | 2022-03-29T10:36:39.000Z | tests/test_cellpy_cmd.py | Ozzstein/cellpy | ee532905741db4cb928303d75426d2a4fa77144a | [
"MIT"
] | 13 | 2019-01-02T03:57:52.000Z | 2022-01-19T08:06:49.000Z | import click
from click.testing import CliRunner
import pytest
from cellpy import log
from cellpy import prms
import cellpy
from cellpy import cli, prmreader
NUMBER_OF_DIRS = 9
def test_get_user_name():
u = prmreader.get_user_name()
print(f"\ncurrent username: {u}")
def test_get_user_dir_and_dst():
us... | 24.861789 | 80 | 0.639143 | 790 | 6,116 | 4.76962 | 0.129114 | 0.050159 | 0.109873 | 0.128185 | 0.811571 | 0.803079 | 0.774151 | 0.774151 | 0.644374 | 0.570594 | 0 | 0.02058 | 0.205526 | 6,116 | 245 | 81 | 24.963265 | 0.754888 | 0 | 0 | 0.576087 | 0 | 0 | 0.113146 | 0.023872 | 0 | 0 | 0 | 0 | 0.157609 | 1 | 0.146739 | false | 0.01087 | 0.043478 | 0 | 0.190217 | 0.173913 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e9d0dd010aa6cf5e8e1f824f1424a88378325add | 62 | py | Python | django_covid19/__init__.py | zhangguoyuanshuai/Python-Covid19API | 2c5f69a8eed16df4c04af5137fb5574ea5125ee5 | [
"MIT"
] | 103 | 2020-05-07T06:13:25.000Z | 2022-03-27T14:15:35.000Z | django_covid19/__init__.py | zhangguoyuanshuai/Python-Covid19API | 2c5f69a8eed16df4c04af5137fb5574ea5125ee5 | [
"MIT"
] | 13 | 2020-05-14T05:18:41.000Z | 2022-03-02T14:53:44.000Z | django_covid19/__init__.py | zhangguoyuanshuai/Python-Covid19API | 2c5f69a8eed16df4c04af5137fb5574ea5125ee5 | [
"MIT"
] | 31 | 2020-05-17T13:24:09.000Z | 2022-03-28T09:22:31.000Z | default_app_config = 'django_covid19.apps.DjangoCovid19Config' | 62 | 62 | 0.887097 | 7 | 62 | 7.428571 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.032258 | 62 | 1 | 62 | 62 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.619048 | 0.619048 | 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 |
758d4a1361d5a80859c87827f5f8df13a263b3ef | 85,497 | py | Python | greekAnalysisTools/shared/getResults.py | storey/seniorThesisCode | c388bdfe23cf0a25df4f92392bdd4065fb92dc93 | [
"MIT"
] | 1 | 2017-07-07T04:54:14.000Z | 2017-07-07T04:54:14.000Z | greekAnalysisTools/shared/getResults.py | storey/seniorThesisCode | c388bdfe23cf0a25df4f92392bdd4065fb92dc93 | [
"MIT"
] | null | null | null | greekAnalysisTools/shared/getResults.py | storey/seniorThesisCode | c388bdfe23cf0a25df4f92392bdd4065fb92dc93 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Code for getting the various results
import numpy as np
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
from matplotlib.backends.backend_pdf import PdfPages
from sklearn import decomposition
from sklearn import datasets
from sklearn import preprocessing
from sklearn.p... | 40.539118 | 310 | 0.547996 | 9,184 | 85,497 | 5.039416 | 0.076002 | 0.033706 | 0.022817 | 0.021391 | 0.754181 | 0.723067 | 0.701612 | 0.679768 | 0.651571 | 0.61538 | 0 | 0.01837 | 0.353755 | 85,497 | 2,108 | 311 | 40.558349 | 0.819283 | 0.125209 | 0 | 0.669951 | 0 | 0.011084 | 0.125074 | 0.007343 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.000616 | 0.012315 | null | null | 0.021552 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
75aa428b3cfcfdfbb975e4d52c3188d992750742 | 87 | py | Python | src/hkmeans/c_package/__init__.py | IBM/hartigan-kmeans | f1a61da4c3123f7f020362c6790caa688f29b932 | [
"Apache-2.0"
] | 1 | 2021-12-29T00:34:27.000Z | 2021-12-29T00:34:27.000Z | src/hkmeans/c_package/__init__.py | IBM/hartigan-kmeans | f1a61da4c3123f7f020362c6790caa688f29b932 | [
"Apache-2.0"
] | 1 | 2021-12-27T10:05:14.000Z | 2021-12-27T10:05:14.000Z | src/hkmeans/c_package/__init__.py | IBM/hartigan-kmeans | f1a61da4c3123f7f020362c6790caa688f29b932 | [
"Apache-2.0"
] | null | null | null | #
# Copyright 2021- IBM Inc. All rights reserved
# SPDX-License-Identifier: Apache2.0
# | 21.75 | 46 | 0.747126 | 12 | 87 | 5.416667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.137931 | 87 | 4 | 47 | 21.75 | 0.786667 | 0.908046 | 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 |
75c03822fa95d6bb20bf0a368d362d3abf84300f | 368 | py | Python | problem/10000~19999/15632/15632.pypy3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-19T16:37:44.000Z | 2019-04-19T16:37:44.000Z | problem/10000~19999/15632/15632.pypy3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 1 | 2019-04-20T11:42:44.000Z | 2019-04-20T11:42:44.000Z | problem/10000~19999/15632/15632.pypy3.py | njw1204/BOJ-AC | 1de41685725ae4657a7ff94e413febd97a888567 | [
"MIT"
] | 3 | 2019-04-19T16:37:47.000Z | 2021-10-25T00:45:00.000Z | ans=0
x1,y1,r1=map(int,input().split())
x2,y2,r2=map(int,input().split())
x3,y3,r3=map(int,input().split())
for i in range(23001):
for j in range(23001):
if (x1-i/230+0.0022)**2+(y1-j/230+0.0022)**2<=r1*r1: ans+=1
elif (x2-i/230+0.0022)**2+(y2-j/230+0.0022)**2<=r2*r2: ans+=1
elif (x3-i/230+0.0022)**2+(y3-... | 36.8 | 65 | 0.600543 | 87 | 368 | 2.54023 | 0.333333 | 0.108597 | 0.217195 | 0.244344 | 0.271493 | 0 | 0 | 0 | 0 | 0 | 0 | 0.282282 | 0.095109 | 368 | 10 | 66 | 36.8 | 0.381381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
75d25e4fe0a601a04722de7c5c2111f822146dcc | 93 | py | Python | api/specimens/apps.py | fujikawahiroaki/webspecimanager | d46a4feec0c695d5231b21e3311f4adbe25435cb | [
"BSD-2-Clause"
] | 1 | 2017-06-20T08:09:29.000Z | 2017-06-20T08:09:29.000Z | website/specimens/apps.py | BelgianBiodiversityPlatform/Astapor | b54f6b8595e90250575e1220802720ab4ac0229d | [
"BSD-2-Clause"
] | 31 | 2017-06-20T11:11:29.000Z | 2018-01-11T15:03:24.000Z | website/specimens/apps.py | BelgianBiodiversityPlatform/Astapor | b54f6b8595e90250575e1220802720ab4ac0229d | [
"BSD-2-Clause"
] | null | null | null | from django.apps import AppConfig
class SpecimensConfig(AppConfig):
name = 'specimens'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 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 |
75faeb688e84c494c936ae1cc3a4cf0fb0b40809 | 23 | py | Python | platzigram_api/users/tests/__init__.py | ChekeGT/Platzigram-Api | 0ab05f1bb325b02563aead2e885194e274013150 | [
"MIT"
] | null | null | null | platzigram_api/users/tests/__init__.py | ChekeGT/Platzigram-Api | 0ab05f1bb325b02563aead2e885194e274013150 | [
"MIT"
] | null | null | null | platzigram_api/users/tests/__init__.py | ChekeGT/Platzigram-Api | 0ab05f1bb325b02563aead2e885194e274013150 | [
"MIT"
] | null | null | null | """Users app tests."""
| 11.5 | 22 | 0.565217 | 3 | 23 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 23 | 1 | 23 | 23 | 0.65 | 0.695652 | 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 |
f935dd6236691f10d1a726fbd22121ded1de8d6f | 268 | py | Python | wSelect.py | chinmxy/hman | bc9c032e3e26fef211c5774d3200143838645357 | [
"Apache-2.0"
] | null | null | null | wSelect.py | chinmxy/hman | bc9c032e3e26fef211c5774d3200143838645357 | [
"Apache-2.0"
] | null | null | null | wSelect.py | chinmxy/hman | bc9c032e3e26fef211c5774d3200143838645357 | [
"Apache-2.0"
] | null | null | null | import random
#to generate a random word from .txt file
def generate_the_word(infile):
random_line = random.choice(open(infile).read().split('\n'))
return random_line
def get_word():
infile = "words.txt"
return(generate_the_word(infile))
| 22.333333 | 65 | 0.686567 | 38 | 268 | 4.657895 | 0.552632 | 0.169492 | 0.169492 | 0.237288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197761 | 268 | 11 | 66 | 24.363636 | 0.823256 | 0.149254 | 0 | 0 | 1 | 0 | 0.050926 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
f956f8705d7a28a552c10a8c71304f7242c78c8e | 144 | py | Python | trivial_sudoku/apps.py | alexpirine/django-trivial-sudoku | 75cc2ea7e28ea88e349c01af9fddb34fedd6123c | [
"BSD-3-Clause"
] | null | null | null | trivial_sudoku/apps.py | alexpirine/django-trivial-sudoku | 75cc2ea7e28ea88e349c01af9fddb34fedd6123c | [
"BSD-3-Clause"
] | null | null | null | trivial_sudoku/apps.py | alexpirine/django-trivial-sudoku | 75cc2ea7e28ea88e349c01af9fddb34fedd6123c | [
"BSD-3-Clause"
] | null | null | null | from __future__ import unicode_literals
from django.apps import AppConfig
class TrivialSudoku2Config(AppConfig):
name = 'trivial_sudoku'
| 18 | 39 | 0.8125 | 16 | 144 | 6.9375 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.138889 | 144 | 7 | 40 | 20.571429 | 0.887097 | 0 | 0 | 0 | 0 | 0 | 0.097222 | 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 |
f9608dc3f3ad15137b71e947659c6b9c3389688b | 443 | py | Python | utils.py | retroinspect/tweetstock | cd6e0d5a2c00674d3f9ef2b858bf9001580738aa | [
"MIT"
] | null | null | null | utils.py | retroinspect/tweetstock | cd6e0d5a2c00674d3f9ef2b858bf9001580738aa | [
"MIT"
] | null | null | null | utils.py | retroinspect/tweetstock | cd6e0d5a2c00674d3f9ef2b858bf9001580738aa | [
"MIT"
] | null | null | null | from transformers import AutoTokenizer
import pandas as pd
import numpy as np
tokenizer = AutoTokenizer.from_pretrained("vinai/bertweet-base", normalization=True)
def tokenize_function(examples):
return tokenizer(examples["body"], padding="max_length", truncation=True)
def save(tweets, filename, directory="./data")... | 36.916667 | 84 | 0.76298 | 59 | 443 | 5.644068 | 0.728814 | 0.042042 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092551 | 443 | 11 | 85 | 40.272727 | 0.828358 | 0 | 0 | 0 | 0 | 0 | 0.21219 | 0.058691 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.333333 | 0.111111 | 0.666667 | 0.111111 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
f98148f481897546dc2b6297250dc54a615e4967 | 89 | py | Python | app/datasci/apps.py | sappachok/django-anaconda | 1ffd33ded759f622b6db23a3550a898b62350403 | [
"MIT"
] | null | null | null | app/datasci/apps.py | sappachok/django-anaconda | 1ffd33ded759f622b6db23a3550a898b62350403 | [
"MIT"
] | 7 | 2019-12-06T05:34:28.000Z | 2021-06-10T18:25:17.000Z | app/datasci/apps.py | sappachok/django-datasci | 1ffd33ded759f622b6db23a3550a898b62350403 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class DatasciConfig(AppConfig):
name = 'datasci'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f9890fec81e4cae1097c0b77acb0d98a16329696 | 89 | py | Python | LunarLight/Solaris/apps.py | NafrayuDev/LunarLight | 130cc1fa6284ed69d922e45e66d4f85a0581cfe0 | [
"Apache-2.0"
] | null | null | null | LunarLight/Solaris/apps.py | NafrayuDev/LunarLight | 130cc1fa6284ed69d922e45e66d4f85a0581cfe0 | [
"Apache-2.0"
] | null | null | null | LunarLight/Solaris/apps.py | NafrayuDev/LunarLight | 130cc1fa6284ed69d922e45e66d4f85a0581cfe0 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class SolarisConfig(AppConfig):
name = 'Solaris'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f9c2cdfaec7db5de16dc19ee055c29b102ffe109 | 498 | py | Python | experiments/rusentrel/mimlre/model.py | nicolay-r/attitude-extraction-with-frames | d23d46c426a2321534edb914bfc6a645e7d154a8 | [
"MIT"
] | null | null | null | experiments/rusentrel/mimlre/model.py | nicolay-r/attitude-extraction-with-frames | d23d46c426a2321534edb914bfc6a645e7d154a8 | [
"MIT"
] | 2 | 2020-12-17T09:23:49.000Z | 2020-12-17T09:42:08.000Z | experiments/rusentrel/mimlre/model.py | nicolay-r/attitude-extraction-with-frames | d23d46c426a2321534edb914bfc6a645e7d154a8 | [
"MIT"
] | null | null | null | from core.networks.multi.training.batch import MultiInstanceBatch
from experiments.rusentrel.context.model import ContextLevelTensorflowModel
from experiments.rusentrel.mimlre.helper.initialization import MIMLREModelInitHelper
class MIMLRETensorflowModel(ContextLevelTensorflowModel):
def create_batch_by_bags_gro... | 38.307692 | 84 | 0.835341 | 53 | 498 | 7.679245 | 0.54717 | 0.066339 | 0.117936 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.104418 | 498 | 12 | 85 | 41.5 | 0.912556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.375 | 0.25 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
ddbf58bbc2c8ff642c67519c2ca970e370f5ac3b | 295 | py | Python | groups/test_apps.py | ebaymademepoor/django_milestone_project_myTeam | 95d503e2c303b9525e9eaff2e08340f6e9f1987b | [
"ADSL"
] | null | null | null | groups/test_apps.py | ebaymademepoor/django_milestone_project_myTeam | 95d503e2c303b9525e9eaff2e08340f6e9f1987b | [
"ADSL"
] | 5 | 2020-06-05T19:45:53.000Z | 2022-03-11T23:41:23.000Z | groups/test_apps.py | Deirdre18/django_milestone_project_myTeam | 0555105f65076214087cfed73802470652dd1dcd | [
"ADSL"
] | 2 | 2019-04-30T11:08:14.000Z | 2019-07-24T20:04:50.000Z | from django.apps import apps
from django.test import TestCase
from .apps import GroupsConfig
class TestAccountsConfig(TestCase):
def test_app(self):
self.assertEqual("groups", GroupsConfig.name)
self.assertEqual("Groups", apps.get_app_config("groups").verbose_name)
| 32.777778 | 78 | 0.738983 | 36 | 295 | 5.944444 | 0.5 | 0.093458 | 0.196262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166102 | 295 | 9 | 79 | 32.777778 | 0.869919 | 0 | 0 | 0 | 0 | 0 | 0.060811 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.714286 | 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 |
fb1065aad5d02a31c7434d3cc8b0c742fb92ba0e | 238 | py | Python | treepages/forms.py | scotu/django-treepages | 4c0a3afa6f14244a45c712e1c9b0526804aa90bc | [
"MIT"
] | 1 | 2015-11-05T01:38:27.000Z | 2015-11-05T01:38:27.000Z | treepages/forms.py | scotu/django-treepages | 4c0a3afa6f14244a45c712e1c9b0526804aa90bc | [
"MIT"
] | null | null | null | treepages/forms.py | scotu/django-treepages | 4c0a3afa6f14244a45c712e1c9b0526804aa90bc | [
"MIT"
] | null | null | null | from django import forms
from tinymce.widgets import TinyMCE
from treepages.models import Page
class PageAdminModelForm(forms.ModelForm):
body = forms.CharField(required=False, widget=TinyMCE())
class Meta:
model = Page
| 23.8 | 60 | 0.756303 | 29 | 238 | 6.206897 | 0.655172 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172269 | 238 | 9 | 61 | 26.444444 | 0.913706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.857143 | 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 |
fb3e8ab98916ffce9fc34d6e2d050966f8496dbf | 133 | py | Python | app.py | sinhard/learning-bottle-framework | 685b1f73e2a0e24b12a5a558668a4b268504097e | [
"MIT"
] | null | null | null | app.py | sinhard/learning-bottle-framework | 685b1f73e2a0e24b12a5a558668a4b268504097e | [
"MIT"
] | null | null | null | app.py | sinhard/learning-bottle-framework | 685b1f73e2a0e24b12a5a558668a4b268504097e | [
"MIT"
] | null | null | null | from bottle import run, route
@route('/')
def index():
return '<h1>Hello, World!</h1>'
run(port=8080, host='localhost')
| 16.625 | 36 | 0.609023 | 18 | 133 | 4.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056075 | 0.195489 | 133 | 7 | 37 | 19 | 0.700935 | 0 | 0 | 0 | 0 | 0 | 0.253968 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
34946d1644e6652da3e946489e016156cab053ac | 610 | py | Python | proxyclient/hv/trace_all.py | Ferdi265/m1n1 | 526cd8a55eedd7f9ea5f5877c47eceb242a422ba | [
"MIT"
] | null | null | null | proxyclient/hv/trace_all.py | Ferdi265/m1n1 | 526cd8a55eedd7f9ea5f5877c47eceb242a422ba | [
"MIT"
] | null | null | null | proxyclient/hv/trace_all.py | Ferdi265/m1n1 | 526cd8a55eedd7f9ea5f5877c47eceb242a422ba | [
"MIT"
] | null | null | null | # SPDX-License-Identifier: MIT
# Map the entire MMIO range as traceable
map_sw(0x2_00000000,
0x2_00000000 | hv.SPTE_TRACE_READ | hv.SPTE_TRACE_WRITE,
0x5_00000000)
# Skip some noisy devices
try:
trace_device("/arm-io/usb-drd0", False)
except KeyError:
pass
try:
trace_device("/arm-io/usb-drd1... | 24.4 | 63 | 0.716393 | 96 | 610 | 4.375 | 0.479167 | 0.183333 | 0.233333 | 0.266667 | 0.304762 | 0.104762 | 0 | 0 | 0 | 0 | 0 | 0.065134 | 0.144262 | 610 | 24 | 64 | 25.416667 | 0.739464 | 0.231148 | 0 | 0.352941 | 0 | 0 | 0.217672 | 0.045259 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.117647 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
34a2e2d788b6dc02585e952c25a6e4ffa42660fc | 170 | py | Python | runserver.py | skakanka/barter_network | 598ec337682941600704ef293ce415a9c826762d | [
"PostgreSQL",
"Unlicense",
"MIT"
] | 1 | 2020-08-30T11:49:46.000Z | 2020-08-30T11:49:46.000Z | runserver.py | anka-kondraska/swiftswap | 598ec337682941600704ef293ce415a9c826762d | [
"MIT",
"PostgreSQL",
"Unlicense"
] | null | null | null | runserver.py | anka-kondraska/swiftswap | 598ec337682941600704ef293ce415a9c826762d | [
"MIT",
"PostgreSQL",
"Unlicense"
] | 1 | 2019-06-02T07:55:59.000Z | 2019-06-02T07:55:59.000Z | from flask_debugtoolbar import DebugToolbarExtension
from barter_network import app
# running flask server
app.run(host='0.0.0.0', debug=True)
DebugToolbarExtension(app) | 28.333333 | 52 | 0.829412 | 24 | 170 | 5.791667 | 0.625 | 0.043165 | 0.043165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025806 | 0.088235 | 170 | 6 | 53 | 28.333333 | 0.870968 | 0.117647 | 0 | 0 | 0 | 0 | 0.04698 | 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 |
34e17293f026a1be678d590691caca3b09594c16 | 687 | py | Python | funtest/iface.py | duboviy/funtest | 60a5b768e55d21efb9953479d9a7171a33a896de | [
"MIT"
] | 6 | 2017-02-12T22:02:32.000Z | 2019-04-22T11:43:21.000Z | funtest/iface.py | duboviy/funtest | 60a5b768e55d21efb9953479d9a7171a33a896de | [
"MIT"
] | null | null | null | funtest/iface.py | duboviy/funtest | 60a5b768e55d21efb9953479d9a7171a33a896de | [
"MIT"
] | null | null | null | from abc import ABCMeta, abstractmethod
class AbstractCommandExecutor(object):
__metaclass__ = ABCMeta
@abstractmethod
def run(self, cmd, ret_code):
"""For example, run command with args, return stdout merged with stderr. """
pass
@abstractmethod
def cd(self, arg):
pass
... | 17.615385 | 84 | 0.612809 | 72 | 687 | 5.75 | 0.513889 | 0.328502 | 0.355072 | 0.120773 | 0.280193 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.308588 | 687 | 38 | 85 | 18.078947 | 0.871579 | 0.100437 | 0 | 0.592593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.296296 | false | 0.296296 | 0.037037 | 0 | 0.407407 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
34fbbdb543d9abfb883dc28e9fbcd80bd7444d07 | 1,024 | py | Python | 1_16_Project_4_Advanced_Lane_Lines/CreateVideos.py | Alyxion/Udacity_SelfDrivingCarEngineerNd | 7da27ec7ee86fc65d07c9e1b316088be6975f2d3 | [
"MIT"
] | 7 | 2018-12-27T00:12:50.000Z | 2022-03-29T13:13:42.000Z | 1_16_Project_4_Advanced_Lane_Lines/CreateVideos.py | Alyxion/Udacity_SelfDrivingCarEngineerNd | 7da27ec7ee86fc65d07c9e1b316088be6975f2d3 | [
"MIT"
] | null | null | null | 1_16_Project_4_Advanced_Lane_Lines/CreateVideos.py | Alyxion/Udacity_SelfDrivingCarEngineerNd | 7da27ec7ee86fc65d07c9e1b316088be6975f2d3 | [
"MIT"
] | 8 | 2018-10-03T16:46:39.000Z | 2021-01-11T18:29:42.000Z | #####################################################################################################################
# #
# This file is part of the 4th project of Udacity's Self-Driving Car Engineer Nanode... | 68.266667 | 117 | 0.285156 | 44 | 1,024 | 6.477273 | 0.772727 | 0.263158 | 0.210526 | 0.231579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008977 | 0.456055 | 1,024 | 15 | 118 | 68.266667 | 0.502693 | 0.260742 | 0 | 0 | 0 | 0 | 0.135922 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0.2 | 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 |
5503194ce88ada1c3452ab7f045bba23f75e01bf | 120 | py | Python | 100.py | cwd0204/Python | 35413d0cfab0d659d710fd3f752dacef00f4a713 | [
"MIT"
] | 1 | 2022-01-05T05:49:59.000Z | 2022-01-05T05:49:59.000Z | 100.py | cwd0204/Python | 35413d0cfab0d659d710fd3f752dacef00f4a713 | [
"MIT"
] | null | null | null | 100.py | cwd0204/Python | 35413d0cfab0d659d710fd3f752dacef00f4a713 | [
"MIT"
] | null | null | null |
k_list = [0] * 100
k_list[0] = 1
for i in range(1,100):
k_list[i] = k_list[i-1]+i
print('100 刀最多切 %d块' %k_list[99])
| 13.333333 | 33 | 0.591667 | 29 | 120 | 2.275862 | 0.448276 | 0.378788 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164948 | 0.191667 | 120 | 8 | 34 | 15 | 0.515464 | 0 | 0 | 0 | 0 | 0 | 0.10084 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
55040345a3d9a38bc15942f1bb4d7dd0dbb11589 | 109 | py | Python | Main/handleFileRequest/apps.py | mayankkumar2/BulkDataEntryAPI | 59e65cddbb0a63d3912e75b4b5c40aa3023a5253 | [
"Apache-2.0"
] | null | null | null | Main/handleFileRequest/apps.py | mayankkumar2/BulkDataEntryAPI | 59e65cddbb0a63d3912e75b4b5c40aa3023a5253 | [
"Apache-2.0"
] | 1 | 2021-03-30T12:51:31.000Z | 2021-03-30T12:51:31.000Z | Main/handleFileRequest/apps.py | mayankkumar2/BulkDataEntryAPI | 59e65cddbb0a63d3912e75b4b5c40aa3023a5253 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class HandlefilerequestConfig(AppConfig):
name = 'handleFileRequest'
| 18.166667 | 41 | 0.798165 | 10 | 109 | 8.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137615 | 109 | 5 | 42 | 21.8 | 0.925532 | 0 | 0 | 0 | 0 | 0 | 0.155963 | 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 |
9b2f4f5577b89735b08b79bae6c9606945424e39 | 1,657 | py | Python | z2/part3/updated_part2_batch/jm/parser_errors_2/725512976.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 1 | 2020-04-16T12:13:47.000Z | 2020-04-16T12:13:47.000Z | z2/part3/updated_part2_batch/jm/parser_errors_2/725512976.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:50:15.000Z | 2020-05-19T14:58:30.000Z | z2/part3/updated_part2_batch/jm/parser_errors_2/725512976.py | kozakusek/ipp-2020-testy | 09aa008fa53d159672cc7cbf969a6b237e15a7b8 | [
"MIT"
] | 18 | 2020-03-06T17:45:13.000Z | 2020-06-09T19:18:31.000Z | from part1 import (
gamma_board,
gamma_busy_fields,
gamma_delete,
gamma_free_fields,
gamma_golden_move,
gamma_golden_possible,
gamma_move,
gamma_new,
)
"""
scenario: test_random_actions
uuid: 725512976
"""
"""
random actions, total chaos
"""
board = gamma_new(2, 4, 4, 1)
assert board is... | 23.671429 | 44 | 0.671092 | 283 | 1,657 | 3.770318 | 0.123675 | 0.247423 | 0.29522 | 0.393627 | 0.550141 | 0.54358 | 0.397376 | 0.309278 | 0.259606 | 0.233365 | 0 | 0.150776 | 0.183464 | 1,657 | 69 | 45 | 24.014493 | 0.637842 | 0 | 0 | 0.245283 | 0 | 0 | 0.020395 | 0 | 0 | 0 | 0 | 0 | 0.54717 | 1 | 0 | false | 0 | 0.018868 | 0 | 0.018868 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9b37cc0de8fa35ee844609fda6a00dee81aecdd0 | 1,030 | py | Python | clients/oathkeeper/python/test/test_metadata_api.py | ALTELMA/sdk | a04d56edd0431382dda8a9d10229b8479174aa8e | [
"Apache-2.0"
] | null | null | null | clients/oathkeeper/python/test/test_metadata_api.py | ALTELMA/sdk | a04d56edd0431382dda8a9d10229b8479174aa8e | [
"Apache-2.0"
] | null | null | null | clients/oathkeeper/python/test/test_metadata_api.py | ALTELMA/sdk | a04d56edd0431382dda8a9d10229b8479174aa8e | [
"Apache-2.0"
] | null | null | null | """
Ory Oathkeeper API
Documentation for all of Ory Oathkeeper's APIs. # noqa: E501
The version of the OpenAPI document: v0.38.20-beta.1
Contact: hi@ory.sh
Generated by: https://openapi-generator.tech
"""
import unittest
import ory_oathkeeper_client
from ory_oathkeeper_client.api.metadata_api... | 20.196078 | 76 | 0.628155 | 129 | 1,030 | 4.844961 | 0.48062 | 0.0768 | 0.0528 | 0.072 | 0.1216 | 0.0672 | 0 | 0 | 0 | 0 | 0 | 0.032476 | 0.282524 | 1,030 | 50 | 77 | 20.6 | 0.813261 | 0.450485 | 0 | 0.25 | 1 | 0 | 0.017167 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3125 | false | 0.25 | 0.1875 | 0 | 0.5625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
9b58126b51559db4207624ddec5d37db46b1aac6 | 112 | py | Python | utils/__init__.py | Gurpreet-Singh121/auto-archiver | d76e3bc7ec7c4eb267ec9fe767fabd23102d89f6 | [
"MIT"
] | null | null | null | utils/__init__.py | Gurpreet-Singh121/auto-archiver | d76e3bc7ec7c4eb267ec9fe767fabd23102d89f6 | [
"MIT"
] | null | null | null | utils/__init__.py | Gurpreet-Singh121/auto-archiver | d76e3bc7ec7c4eb267ec9fe767fabd23102d89f6 | [
"MIT"
] | 1 | 2022-03-06T09:08:12.000Z | 2022-03-06T09:08:12.000Z | # we need to explicitly expose the available imports here
from .gworksheet import GWorksheet
from .misc import * | 37.333333 | 57 | 0.8125 | 16 | 112 | 5.6875 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151786 | 112 | 3 | 58 | 37.333333 | 0.957895 | 0.491071 | 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 |
9b6f86e81a68737f65a6df5112cb93f40a5d4d65 | 52 | py | Python | bridge/__main__.py | Paula-Kli/IOT | c215a748667265c8da4c00d0473ea17f7da9d21a | [
"Apache-2.0"
] | null | null | null | bridge/__main__.py | Paula-Kli/IOT | c215a748667265c8da4c00d0473ea17f7da9d21a | [
"Apache-2.0"
] | 1 | 2022-02-08T08:55:56.000Z | 2022-02-08T08:55:56.000Z | bridge/__main__.py | Paula-Kli/IOT | c215a748667265c8da4c00d0473ea17f7da9d21a | [
"Apache-2.0"
] | 1 | 2022-02-07T20:26:40.000Z | 2022-02-07T20:26:40.000Z | from .bridge import Bridge
br = Bridge()
br.loop()
| 10.4 | 26 | 0.692308 | 8 | 52 | 4.5 | 0.625 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 52 | 4 | 27 | 13 | 0.837209 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
32f3aedde05b9caaf0b08bd76d973b0850dd659b | 27 | py | Python | runtimes/xgboost/mlserver_xgboost/version.py | shane-breeze/MLServer | ebe730211eb7ff0796e5efd1dcd6de0fcb4488d0 | [
"Apache-2.0"
] | null | null | null | runtimes/xgboost/mlserver_xgboost/version.py | shane-breeze/MLServer | ebe730211eb7ff0796e5efd1dcd6de0fcb4488d0 | [
"Apache-2.0"
] | null | null | null | runtimes/xgboost/mlserver_xgboost/version.py | shane-breeze/MLServer | ebe730211eb7ff0796e5efd1dcd6de0fcb4488d0 | [
"Apache-2.0"
] | null | null | null | __version__ = "1.1.0.dev3"
| 13.5 | 26 | 0.666667 | 5 | 27 | 2.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.111111 | 27 | 1 | 27 | 27 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0.37037 | 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 |
32fd3be6589d50264cde6fad7f1d03b410451a5c | 686 | py | Python | pybook/ch12/CircleFromGeometicObject.py | YanhaoXu/python-learning | 856687a71635a2ca67dab49d396c238f128e5ec0 | [
"MIT"
] | 2 | 2021-12-06T13:29:48.000Z | 2022-01-20T11:39:45.000Z | pybook/ch12/CircleFromGeometicObject.py | YanhaoXu/python-learning | 856687a71635a2ca67dab49d396c238f128e5ec0 | [
"MIT"
] | null | null | null | pybook/ch12/CircleFromGeometicObject.py | YanhaoXu/python-learning | 856687a71635a2ca67dab49d396c238f128e5ec0 | [
"MIT"
] | null | null | null | import math
from GeometricObject import GeometricObject
class Circle(GeometricObject):
def __init__(self, radius):
super().__init__()
self.__radius = radius
def getRadius(self):
return self.__radius
def setRadius(self, raidus):
self.__radius = raidus
def getArea(sel... | 22.129032 | 67 | 0.626822 | 76 | 686 | 5.184211 | 0.302632 | 0.228426 | 0.071066 | 0.101523 | 0.111675 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005929 | 0.262391 | 686 | 30 | 68 | 22.866667 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0.026239 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0.25 | 0.8 | 0.1 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.