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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fe0ff5fe7b70112082aca5dca0ee41e68d1aef81 | 1,335 | py | Python | Module 2/Chapter06/my_app/auth/models.py | nikitabrazhnik/flask2 | fd7a7e26f00402da09ee2159253cc1958df54814 | [
"MIT"
] | 40 | 2017-02-11T18:28:53.000Z | 2021-10-04T04:52:49.000Z | Module 2/Chapter06/my_app/auth/models.py | nikitabrazhnik/flask2 | fd7a7e26f00402da09ee2159253cc1958df54814 | [
"MIT"
] | 1 | 2018-06-15T13:46:47.000Z | 2018-06-15T13:46:47.000Z | Module 2/Chapter06/my_app/auth/models.py | nikitabrazhnik/flask2 | fd7a7e26f00402da09ee2159253cc1958df54814 | [
"MIT"
] | 40 | 2017-04-11T12:01:22.000Z | 2021-05-30T18:05:27.000Z | from werkzeug.security import generate_password_hash, check_password_hash
from flask_wtf import Form
from wtforms import TextField, PasswordField
from wtforms.validators import InputRequired, EqualTo
from my_app import db
class User(db.Model):
id = db.Column(db.Integer, primary_key=True)
username = db.Column(... | 26.7 | 79 | 0.691386 | 146 | 1,335 | 6.184932 | 0.363014 | 0.053156 | 0.033223 | 0.035437 | 0.228128 | 0.186047 | 0.186047 | 0.186047 | 0.186047 | 0 | 0 | 0.002817 | 0.202247 | 1,335 | 49 | 80 | 27.244898 | 0.84507 | 0 | 0 | 0.114286 | 1 | 0 | 0.060674 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.171429 | false | 0.314286 | 0.142857 | 0.142857 | 0.828571 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
fe12ad06b35d2d54c70f3169192c6e64ab3f95e8 | 9,096 | py | Python | ensemble_model/main_ensemble_1.py | achm6174/kaggle-physics-tau | 46f2922aa5cefd69b03ca7eaf62fabd24799c53b | [
"MIT"
] | 1 | 2015-10-20T13:47:08.000Z | 2015-10-20T13:47:08.000Z | ensemble_model/main_ensemble_1.py | achm6174/kaggle-physics-tau | 46f2922aa5cefd69b03ca7eaf62fabd24799c53b | [
"MIT"
] | null | null | null | ensemble_model/main_ensemble_1.py | achm6174/kaggle-physics-tau | 46f2922aa5cefd69b03ca7eaf62fabd24799c53b | [
"MIT"
] | null | null | null | """
@author: achm
Final ensemble of strong and weak model, weight based on ../ensemble_weight
"""
import numpy as np
import pandas as pd
import sys
sys.path.append('../input')
import evaluation
import cPickle
import copy
import glob
import os
print("Load test data using pandas")
test = pd.read_csv(... | 45.029703 | 167 | 0.6073 | 1,175 | 9,096 | 4.488511 | 0.104681 | 0.059158 | 0.102389 | 0.118316 | 0.786879 | 0.759006 | 0.726204 | 0.682215 | 0.636329 | 0.633295 | 0 | 0.018893 | 0.185356 | 9,096 | 201 | 168 | 45.253731 | 0.692848 | 0.051341 | 0 | 0.50625 | 0 | 0 | 0.251012 | 0.055766 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.05 | null | null | 0.1375 | 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 |
430a657b957501807ccf91597f8bfedc08ceead7 | 99 | py | Python | Projects/Naver_map_halte_navigator.py | wooooooogi/SAlgorithm | bf76bb721785a52b6abf158077b554b0626ee1f7 | [
"MIT"
] | null | null | null | Projects/Naver_map_halte_navigator.py | wooooooogi/SAlgorithm | bf76bb721785a52b6abf158077b554b0626ee1f7 | [
"MIT"
] | null | null | null | Projects/Naver_map_halte_navigator.py | wooooooogi/SAlgorithm | bf76bb721785a52b6abf158077b554b0626ee1f7 | [
"MIT"
] | null | null | null | # Travling salesperson problem using Naver Map Application. (Map App. only can use halte under 5) | 99 | 99 | 0.777778 | 15 | 99 | 5.133333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.171717 | 99 | 1 | 99 | 99 | 0.926829 | 0.959596 | 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 |
430cf8803539e615bed4fdad3888afda70ae5e8c | 162 | py | Python | src/ppe_match/__init__.py | samorani/MatchingPPE | c684c75afc6671f90644d1a2622a9972f689eadc | [
"MIT"
] | null | null | null | src/ppe_match/__init__.py | samorani/MatchingPPE | c684c75afc6671f90644d1a2622a9972f689eadc | [
"MIT"
] | null | null | null | src/ppe_match/__init__.py | samorani/MatchingPPE | c684c75afc6671f90644d1a2622a9972f689eadc | [
"MIT"
] | null | null | null | from . import testing_framework
from . import strategies
from .testing_framework import TestingFramework
__all__ = [
'testing_framework',
'strategies'
]
| 18 | 47 | 0.765432 | 16 | 162 | 7.3125 | 0.4375 | 0.410256 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 162 | 8 | 48 | 20.25 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
432fd0ba964910848bc9543840be0cf1c7bacb91 | 455 | py | Python | motionvation/forms/change_password_form.py | v-like-engine/plane-planer-web | 0e1fb546b6b780697e45d259c07a99ac634390c7 | [
"MIT"
] | 1 | 2020-06-26T17:45:06.000Z | 2020-06-26T17:45:06.000Z | motionvation/forms/change_password_form.py | v-like-engine/plane-planer-web | 0e1fb546b6b780697e45d259c07a99ac634390c7 | [
"MIT"
] | null | null | null | motionvation/forms/change_password_form.py | v-like-engine/plane-planer-web | 0e1fb546b6b780697e45d259c07a99ac634390c7 | [
"MIT"
] | 9 | 2020-04-18T11:04:29.000Z | 2020-05-08T08:53:45.000Z | from flask_wtf import FlaskForm
from wtforms import StringField, SubmitField, PasswordField
from wtforms.validators import DataRequired
class ChangePasswordForm(FlaskForm):
old_password = PasswordField('Old password', validators=[DataRequired()])
new_password = PasswordField('New password', validators=[DataRe... | 45.5 | 89 | 0.789011 | 45 | 455 | 7.866667 | 0.422222 | 0.124294 | 0.169492 | 0.186441 | 0.231638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 455 | 10 | 90 | 45.5 | 0.878412 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.625 | 0.375 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
4333cde494f86894d049863806f7f90f5bb0ae57 | 136 | py | Python | 1. Estrutura Sequencial/Lista 01/programa 08.py | enosteteo/Introducao-a-Programacao-P1 | bd8f90c96fd16c88e7dc7136942fe29a828f86fa | [
"MIT"
] | null | null | null | 1. Estrutura Sequencial/Lista 01/programa 08.py | enosteteo/Introducao-a-Programacao-P1 | bd8f90c96fd16c88e7dc7136942fe29a828f86fa | [
"MIT"
] | null | null | null | 1. Estrutura Sequencial/Lista 01/programa 08.py | enosteteo/Introducao-a-Programacao-P1 | bd8f90c96fd16c88e7dc7136942fe29a828f86fa | [
"MIT"
] | null | null | null | #Programa 08
c = 49
print(c)
a = (c - 7) / 6
print(c, a)
b = c % 5
print(c, a, b)
c = c / a + 2
print(c, a, b)
a = b ** 3
print(c, a, b) | 12.363636 | 15 | 0.470588 | 35 | 136 | 1.828571 | 0.342857 | 0.1875 | 0.546875 | 0.5 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09375 | 0.294118 | 136 | 11 | 16 | 12.363636 | 0.572917 | 0.080882 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 4 |
4a2a71d4405f02e59da471819cd9a907763a3496 | 346 | py | Python | tests/asp/AllAnswerSets/nontight/example.hamiltonian.6.asp.gringo.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 19 | 2015-12-03T08:53:45.000Z | 2022-03-31T02:09:43.000Z | tests/asp/AllAnswerSets/nontight/example.hamiltonian.6.asp.gringo.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 80 | 2017-11-25T07:57:32.000Z | 2018-06-10T19:03:30.000Z | tests/asp/AllAnswerSets/nontight/example.hamiltonian.6.asp.gringo.test.py | bernardocuteri/wasp | 05c8f961776dbdbf7afbf905ee00fc262eba51ad | [
"Apache-2.0"
] | 6 | 2015-01-15T07:51:48.000Z | 2020-06-18T14:47:48.000Z | input = """
1 2 1 1 3
1 3 1 1 2
1 4 1 1 5
1 6 1 1 7
1 5 1 1 4
1 7 1 1 6
1 8 1 0 5
1 9 2 0 8 2
1 8 2 0 9 7
1 1 2 0 5 7
1 1 1 1 8
1 1 1 1 9
0
8 reached(2)
9 reached(4)
3 out_hm(2,4)
4 out_hm(3,2)
6 out_hm(4,2)
2 in_hm(2,4)
5 in_hm(3,2)
7 in_hm(4,2)
0
B+
0
B-
1
0
1
"""
output = """
{in_hm(2,4), in_hm(3,2), out_hm(4,2), re... | 10.176471 | 61 | 0.546243 | 125 | 346 | 1.44 | 0.136 | 0.144444 | 0.066667 | 0.044444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.402439 | 0.289017 | 346 | 33 | 62 | 10.484848 | 0.329268 | 0 | 0 | 0.060606 | 0 | 0.030303 | 0.910405 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4a3da80a455b810bf83bb3c556de21cc1904b534 | 179 | py | Python | setup.py | jacopoabbate/watchilst-api-python-client | 1d0b25ab778a34e36612d1629f31d9c07d017b9e | [
"MIT"
] | null | null | null | setup.py | jacopoabbate/watchilst-api-python-client | 1d0b25ab778a34e36612d1629f31d9c07d017b9e | [
"MIT"
] | null | null | null | setup.py | jacopoabbate/watchilst-api-python-client | 1d0b25ab778a34e36612d1629f31d9c07d017b9e | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import setuptools
# this shim allows for editable installs when setup.cfg and pyproject.toml are in use.
if __name__ == "__main__":
setuptools.setup()
| 22.375 | 86 | 0.743017 | 26 | 179 | 4.807692 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162011 | 179 | 7 | 87 | 25.571429 | 0.833333 | 0.586592 | 0 | 0 | 0 | 0 | 0.111111 | 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 |
4a400f27dabb214dace08cbe711ca989e936e3e9 | 321 | py | Python | stats/config.example.py | harkovs/x4stats | 86a1c3ffb487aa9cd82938e68647aa045c28eb50 | [
"MIT"
] | 1 | 2021-06-07T19:02:06.000Z | 2021-06-07T19:02:06.000Z | stats/config.example.py | harkovs/x4stats | 86a1c3ffb487aa9cd82938e68647aa045c28eb50 | [
"MIT"
] | null | null | null | stats/config.example.py | harkovs/x4stats | 86a1c3ffb487aa9cd82938e68647aa045c28eb50 | [
"MIT"
] | null | null | null | # SAVE_LOCATION can be a specific file or a directory. When the update button on the dashboard is clicked, the program
# will check whether a file in the directory is newer than the current file or if the single file has been updated.
SAVE_LOCATION = r"C:\Users\<your_username>\Documents\Egosoft\X4\<random_number>\save"... | 80.25 | 118 | 0.791277 | 56 | 321 | 4.464286 | 0.714286 | 0.096 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00365 | 0.146417 | 321 | 3 | 119 | 107 | 0.908759 | 0.716511 | 0 | 0 | 0 | 0 | 0.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4a59941f3c6365dceecccbedc3dc83c5830f391d | 214 | py | Python | back/ai/models.py | soulgchoi/bonsildoongsil | 6f596ab86339b6b62cc5d76ab11cb1b0e343b5f3 | [
"MIT"
] | 1 | 2020-08-18T01:10:17.000Z | 2020-08-18T01:10:17.000Z | back/ai/models.py | soulgchoi/bonsildoongsil | 6f596ab86339b6b62cc5d76ab11cb1b0e343b5f3 | [
"MIT"
] | 14 | 2021-03-19T08:51:18.000Z | 2022-02-27T07:29:26.000Z | back/ai/models.py | sigk218/BSDS | 2976a9da57609b47e3b8ce06d2c05d1e2eae5f71 | [
"MIT"
] | 1 | 2020-08-18T01:10:18.000Z | 2020-08-18T01:10:18.000Z | from django.db import models
class Color(models.Model):
color = models.CharField(max_length=20, unique=True)
class Category(models.Model):
category = models.CharField(max_length=20, unique=True)
| 12.588235 | 59 | 0.728972 | 29 | 214 | 5.310345 | 0.517241 | 0.142857 | 0.233766 | 0.311688 | 0.467532 | 0.467532 | 0.467532 | 0 | 0 | 0 | 0 | 0.022346 | 0.163551 | 214 | 16 | 60 | 13.375 | 0.837989 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
4a7d716c8d9154f4413c1ffbca9ddb80e138c12a | 150 | py | Python | modules/invite.py | xfnw/kim | 847d5ae7e9a842c724c928c629016e724dc08620 | [
"MIT"
] | 1 | 2021-07-20T08:16:13.000Z | 2021-07-20T08:16:13.000Z | modules/invite.py | xfnw/kim | 847d5ae7e9a842c724c928c629016e724dc08620 | [
"MIT"
] | 2 | 2021-08-01T00:52:57.000Z | 2022-03-24T23:52:33.000Z | modules/invite.py | xfnw/kim | 847d5ae7e9a842c724c928c629016e724dc08620 | [
"MIT"
] | 2 | 2021-07-20T08:16:17.000Z | 2021-09-26T03:22:48.000Z |
from bot import *
@listener('INVITE')
async def on_invite(self,line):
self.send(build("JOIN",[line.params[1]]))
async def init(self):
pass
| 15 | 45 | 0.666667 | 23 | 150 | 4.304348 | 0.73913 | 0.161616 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007937 | 0.16 | 150 | 9 | 46 | 16.666667 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.067114 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.166667 | 0 | 0.166667 | 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 |
4abb2b569afde4d5e19fbe7e245cc01998de21be | 285 | py | Python | ncov/parser/__init__.py | fmaguire/ncov-parser | bf3ba6e609f04e0a33c3779973bc4c9066e498b0 | [
"MIT"
] | 1 | 2021-03-17T16:12:18.000Z | 2021-03-17T16:12:18.000Z | ncov/parser/__init__.py | fmaguire/ncov-parser | bf3ba6e609f04e0a33c3779973bc4c9066e498b0 | [
"MIT"
] | null | null | null | ncov/parser/__init__.py | fmaguire/ncov-parser | bf3ba6e609f04e0a33c3779973bc4c9066e498b0 | [
"MIT"
] | 2 | 2021-02-18T18:07:57.000Z | 2021-04-05T22:56:38.000Z | from .qc import *
from .Meta import *
from .Consensus import *
from .Alleles import *
from .PerBaseCoverage import *
from .Variants import *
from .Vcf import *
from .NegativeControl import *
from .primers import *
from .Lineage import *
from .Snpeff import *
from .WatchList import *
| 20.357143 | 30 | 0.74386 | 36 | 285 | 5.888889 | 0.388889 | 0.518868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.17193 | 285 | 13 | 31 | 21.923077 | 0.898305 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
4ac797afc1ca02224eecd8a5c246f287a0d66554 | 145 | py | Python | thundera.py | maxhbr/thunderabsa-cli | c0a426720cc225fd742921a7bbd4b5307860e17d | [
"Apache-2.0"
] | 5 | 2021-08-16T23:26:11.000Z | 2022-01-03T16:11:02.000Z | thundera.py | maxhbr/thunderabsa-cli | c0a426720cc225fd742921a7bbd4b5307860e17d | [
"Apache-2.0"
] | 11 | 2021-08-21T05:12:29.000Z | 2021-12-17T07:22:15.000Z | thundera.py | oscarvalenzuelab/thunderabsa-cli | 3eff9e2582e5f634beb06a73b13cacba913966c3 | [
"Apache-2.0"
] | 2 | 2021-08-16T22:15:05.000Z | 2022-01-02T10:11:04.000Z | #!/usr/bin/env python3
import os
from thundera import thundera
os.environ['LANG'] = 'C.UTF-8'
os.environ['LC_ALL'] = 'C.UTF-8'
thundera.cli()
| 14.5 | 32 | 0.682759 | 25 | 145 | 3.92 | 0.64 | 0.183673 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023622 | 0.124138 | 145 | 9 | 33 | 16.111111 | 0.748032 | 0.144828 | 0 | 0 | 0 | 0 | 0.195122 | 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 |
4ac941aeb682deb1d10afc01b0cbb280275fda76 | 1,294 | py | Python | test/test_ast.py | gulan/jsdtools | 1707f7c1571dcde6eac456caadb625f691a16bba | [
"0BSD"
] | null | null | null | test/test_ast.py | gulan/jsdtools | 1707f7c1571dcde6eac456caadb625f691a16bba | [
"0BSD"
] | 4 | 2018-09-04T14:40:24.000Z | 2018-09-04T19:36:27.000Z | test/test_ast.py | gulan/jsdtools | 1707f7c1571dcde6eac456caadb625f691a16bba | [
"0BSD"
] | null | null | null | #!python
from jsdtools.ast import (Lit, Seq, Alt, Rep)
# def test_repr_lit():
# assert repr(Lit('alpha')) == '(lit alpha)'
# def test_repr_seq():
# s = Seq('seq1')
# s.add_child(Lit('alpha'))
# s.add_child(Lit('beta'))
# s.add_child(Lit('gamma'))
# assert repr(s) == '(seq seq1 [(lit alpha... | 23.962963 | 73 | 0.513138 | 196 | 1,294 | 3.265306 | 0.19898 | 0.1875 | 0.154688 | 0.13125 | 0.398438 | 0.371875 | 0.371875 | 0.371875 | 0.296875 | 0.190625 | 0 | 0.029661 | 0.270479 | 1,294 | 53 | 74 | 24.415094 | 0.648305 | 0.878671 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
435928e4b6dd7e694fef39e0c053e8f7a9dd350b | 27,561 | py | Python | geosoft/gxapi/GXMATH.py | fearaschiarrai/gxpy | 4c5e7594b24e530a8cd94df1eef562c5c6ce3e92 | [
"BSD-2-Clause"
] | 25 | 2017-07-14T06:39:37.000Z | 2022-03-09T21:39:51.000Z | geosoft/gxapi/GXMATH.py | fearaschiarrai/gxpy | 4c5e7594b24e530a8cd94df1eef562c5c6ce3e92 | [
"BSD-2-Clause"
] | 100 | 2016-12-13T17:30:41.000Z | 2021-08-01T20:21:13.000Z | geosoft/gxapi/GXMATH.py | fearaschiarrai/gxpy | 4c5e7594b24e530a8cd94df1eef562c5c6ce3e92 | [
"BSD-2-Clause"
] | 28 | 2016-12-12T17:34:40.000Z | 2022-03-16T15:39:39.000Z | ### extends 'class_empty.py'
### block ClassImports
# NOTICE: Do not edit anything here, it is generated code
from . import gxapi_cy
from geosoft.gxapi import GXContext, float_ref, int_ref, str_ref
### endblock ClassImports
### block Header
# NOTICE: The code generator will not replace the code in this block
### end... | 27.533467 | 159 | 0.573056 | 3,440 | 27,561 | 4.44564 | 0.09593 | 0.024325 | 0.037272 | 0.044726 | 0.75407 | 0.71621 | 0.698097 | 0.672138 | 0.654156 | 0.633035 | 0 | 0.032948 | 0.319437 | 27,561 | 1,001 | 160 | 27.533467 | 0.782375 | 0.602264 | 0 | 0.453947 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.013158 | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
437734c9309ad9fa7431aabce1558f62ec39c6ad | 117 | py | Python | COVID19Map/PublicFun/config/pgsqlconfig.py | xtawfnhdx/COVID19Map | 3e5dbb610d2f569137b1331736cd50e070a080c2 | [
"Apache-2.0"
] | null | null | null | COVID19Map/PublicFun/config/pgsqlconfig.py | xtawfnhdx/COVID19Map | 3e5dbb610d2f569137b1331736cd50e070a080c2 | [
"Apache-2.0"
] | null | null | null | COVID19Map/PublicFun/config/pgsqlconfig.py | xtawfnhdx/COVID19Map | 3e5dbb610d2f569137b1331736cd50e070a080c2 | [
"Apache-2.0"
] | null | null | null | import psycopg2
conn = psycopg2.connect(host="10.100.157.168",user="postgres",password="postgres",database="testdb") | 39 | 100 | 0.769231 | 16 | 117 | 5.625 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116071 | 0.042735 | 117 | 3 | 100 | 39 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
437aa83f1e9c28624ccdd32ee4dfce6e67bae358 | 364 | py | Python | vframe_cli/vframe/utils/misc_utils.py | ngi-nix/vframe | 60469e25203136f9d6a5ecaabe2423695ee9a0f2 | [
"MIT"
] | null | null | null | vframe_cli/vframe/utils/misc_utils.py | ngi-nix/vframe | 60469e25203136f9d6a5ecaabe2423695ee9a0f2 | [
"MIT"
] | null | null | null | vframe_cli/vframe/utils/misc_utils.py | ngi-nix/vframe | 60469e25203136f9d6a5ecaabe2423695ee9a0f2 | [
"MIT"
] | null | null | null | #############################################################################
#
# VFRAME
# MIT License
# Copyright (c) 2019 Adam Harvey and VFRAME
# https://vframe.io
#
#############################################################################
def even(n, ceil=True):
return n if n % 2 == 0 else n + 1
def odd(n... | 26 | 78 | 0.351648 | 40 | 364 | 3.2 | 0.575 | 0.078125 | 0.140625 | 0.234375 | 0.3125 | 0.3125 | 0.3125 | 0.3125 | 0 | 0 | 0 | 0.029032 | 0.148352 | 364 | 14 | 79 | 26 | 0.383871 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
43881796961dee7be2afe06468b9be207332aa37 | 219 | py | Python | order/urls.py | Amwata-Albert/Fast-Food | 1a6667efb10652852877422616ff80f69c3b066a | [
"MIT"
] | null | null | null | order/urls.py | Amwata-Albert/Fast-Food | 1a6667efb10652852877422616ff80f69c3b066a | [
"MIT"
] | 2 | 2020-11-13T06:51:26.000Z | 2020-11-17T07:22:36.000Z | order/urls.py | Amwata-Albert/Fast-Food | 1a6667efb10652852877422616ff80f69c3b066a | [
"MIT"
] | null | null | null | # from django.urls import path
# from .api import CurrentOrders, CurrentOrdersApi
# urlpatterns = [
# path('api/order', CurrentOrdersApi.as_view()),
# path('api/order/<int:pk>', CurrentOrdersApi.as_view()),
# ] | 31.285714 | 61 | 0.694064 | 25 | 219 | 6 | 0.56 | 0.093333 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141553 | 219 | 7 | 62 | 31.285714 | 0.797872 | 0.940639 | 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 |
43be9a7500733dca7fbc0856013a261c72cafd5f | 202 | py | Python | src/u012_input_laukums.py | armandspucs/python-testi-1 | d23a483a08640226bf3f0933dd72d9a354ffe695 | [
"MIT"
] | null | null | null | src/u012_input_laukums.py | armandspucs/python-testi-1 | d23a483a08640226bf3f0933dd72d9a354ffe695 | [
"MIT"
] | null | null | null | src/u012_input_laukums.py | armandspucs/python-testi-1 | d23a483a08640226bf3f0933dd72d9a354ffe695 | [
"MIT"
] | null | null | null | """
Uzrakstiet programmu, kas ielasa divus skaitļus (kā float) -
trijstūra augstumu un pamatu
un izvada uz ekrāna (print) trijstūra laukumu.
Pārbaudiet programmas darbību ar dažādiem ievaddatiem.
"""
| 28.857143 | 60 | 0.782178 | 25 | 202 | 6.32 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148515 | 202 | 6 | 61 | 33.666667 | 0.918605 | 0.950495 | 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 |
43d717d8e28bb30a38dba8d7c7ab1ca5563d82f8 | 329 | py | Python | api/namex/services/payment/models/abstract/serializable.py | sumesh-aot/namex | 53e11aed5ea550b71b7b983f1b57b65db5a06766 | [
"Apache-2.0"
] | 4 | 2018-10-05T23:41:05.000Z | 2019-06-19T16:17:50.000Z | api/namex/services/payment/models/abstract/serializable.py | sumesh-aot/namex | 53e11aed5ea550b71b7b983f1b57b65db5a06766 | [
"Apache-2.0"
] | 635 | 2018-05-31T04:12:46.000Z | 2022-03-31T18:45:42.000Z | api/namex/services/payment/models/abstract/serializable.py | sumesh-aot/namex | 53e11aed5ea550b71b7b983f1b57b65db5a06766 | [
"Apache-2.0"
] | 71 | 2018-05-14T20:47:55.000Z | 2022-03-31T23:08:30.000Z | import jsonpickle
class Serializable(dict):
def as_dict(self):
return self.__dict__
def to_json_test(self):
# Allows us to unwrap the response when we're running pytests
return jsonpickle.encode(self)
def to_json(self):
return jsonpickle.encode(self, unpicklable=False, wa... | 23.5 | 69 | 0.68997 | 44 | 329 | 4.977273 | 0.613636 | 0.063927 | 0.082192 | 0.237443 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234043 | 329 | 13 | 70 | 25.307692 | 0.869048 | 0.179331 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.375 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
78e26433f28a188c1a876f7198bcba676508ecfa | 336 | py | Python | src/test.py | decafjoe/clik-shell | ccacf02a49efc53cf063e56484aaf53e95ecc368 | [
"BSD-3-Clause"
] | null | null | null | src/test.py | decafjoe/clik-shell | ccacf02a49efc53cf063e56484aaf53e95ecc368 | [
"BSD-3-Clause"
] | null | null | null | src/test.py | decafjoe/clik-shell | ccacf02a49efc53cf063e56484aaf53e95ecc368 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Tests for :mod:`clik_shell`.
:author: Joe Joyce <joe@decafjoe.com>
:copyright: Copyright (c) Joe Joyce and contributors, 2017-2019.
:license: BSD
"""
import clik_shell # noqa: F401 (required for coverage to generate report)
def test():
"""Assert that true is in fact true."""
asse... | 22.4 | 74 | 0.675595 | 49 | 336 | 4.591837 | 0.755102 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.178571 | 336 | 14 | 75 | 24 | 0.771739 | 0.764881 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
78e75d2fb467e6ec2a72bb4b9a79d05ee11a384b | 39 | py | Python | cvat/settings/staging.py | syonekura/cvat | c579ba2319f967f09ab2bf080e357b2bde7180dd | [
"MIT"
] | 1 | 2022-01-18T16:08:34.000Z | 2022-01-18T16:08:34.000Z | cvat/settings/staging.py | syonekura/cvat | c579ba2319f967f09ab2bf080e357b2bde7180dd | [
"MIT"
] | null | null | null | cvat/settings/staging.py | syonekura/cvat | c579ba2319f967f09ab2bf080e357b2bde7180dd | [
"MIT"
] | null | null | null | from .production import *
DEBUG = True | 13 | 25 | 0.74359 | 5 | 39 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 39 | 3 | 26 | 13 | 0.90625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
78ff4295f87a0b99286385582b5b22bfd8168f15 | 126 | py | Python | account/tokens.py | saarikabhasi/postIT | 8a877eea5df0a44e9b6a1868776172fff78a6d47 | [
"MIT"
] | null | null | null | account/tokens.py | saarikabhasi/postIT | 8a877eea5df0a44e9b6a1868776172fff78a6d47 | [
"MIT"
] | null | null | null | account/tokens.py | saarikabhasi/postIT | 8a877eea5df0a44e9b6a1868776172fff78a6d47 | [
"MIT"
] | null | null | null | from django.contrib.auth.tokens import PasswordResetTokenGenerator
account_activation_token = PasswordResetTokenGenerator() | 31.5 | 66 | 0.880952 | 11 | 126 | 9.909091 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 126 | 4 | 67 | 31.5 | 0.931624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 1 | 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 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
6021a1a6677b884e62aa7ee5698e0e480a7bc05c | 930 | py | Python | tmtrader/controller/order_history_controller.py | reouno/tomatorader | b781206051129fa59439a0f314f4f1ed647a6852 | [
"MIT"
] | null | null | null | tmtrader/controller/order_history_controller.py | reouno/tomatorader | b781206051129fa59439a0f314f4f1ed647a6852 | [
"MIT"
] | null | null | null | tmtrader/controller/order_history_controller.py | reouno/tomatorader | b781206051129fa59439a0f314f4f1ed647a6852 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from typing import List
from tmtrader.entity.order import BasicOrder
from tmtrader.entity.trade import Trade
class OrderManagerClient(ABC):
@abstractmethod
def list_open_orders(self) -> List[BasicOrder]:
pass
@abstractmethod
def list_trade_history(self) ->... | 24.473684 | 61 | 0.727957 | 104 | 930 | 6.221154 | 0.259615 | 0.064915 | 0.162287 | 0.185471 | 0.394127 | 0.394127 | 0.335394 | 0.281298 | 0.173107 | 0.173107 | 0 | 0 | 0.194624 | 930 | 37 | 62 | 25.135135 | 0.863818 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.269231 | false | 0.192308 | 0.153846 | 0.038462 | 0.576923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
6035d66cca8c91654d59c1afb2a9f3fb4ecc93ae | 22 | py | Python | test/main/__init__.py | crockmitnic/question-paper-generator | 3f5339226aedd4332c562913945a08cdb45983b0 | [
"MIT"
] | 6 | 2020-08-02T20:58:34.000Z | 2022-03-23T20:33:20.000Z | test/main/__init__.py | crockmitnic/question-paper-generator | 3f5339226aedd4332c562913945a08cdb45983b0 | [
"MIT"
] | 209 | 2020-02-12T17:09:15.000Z | 2021-06-03T20:34:35.000Z | test/main/__init__.py | crockmitnic/question-paper-generator | 3f5339226aedd4332c562913945a08cdb45983b0 | [
"MIT"
] | 54 | 2020-02-18T14:54:35.000Z | 2021-09-05T06:31:12.000Z | """main test suite"""
| 11 | 21 | 0.590909 | 3 | 22 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 22 | 1 | 22 | 22 | 0.684211 | 0.681818 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
6036e90c4b417cb5ce7ac329528a9894730ec3b0 | 125 | py | Python | compilador/vm/router_solver.py | Nombre-Pendiente/Super-Compi | 3f2a8e0219b04863fbf78d03aba782d235ccb11a | [
"MIT"
] | 6 | 2021-05-20T16:01:45.000Z | 2021-05-27T18:48:57.000Z | compilador/vm/router_solver.py | Nombre-Pendiente/Super-Compi | 3f2a8e0219b04863fbf78d03aba782d235ccb11a | [
"MIT"
] | 1 | 2021-05-18T14:44:04.000Z | 2021-05-18T14:44:04.000Z | compilador/vm/router_solver.py | Nombre-Pendiente/Super-Compi | 3f2a8e0219b04863fbf78d03aba782d235ccb11a | [
"MIT"
] | null | null | null | import sys
import os
route = os.getcwd().replace("/compilador/vm", "").replace("/compilador", "")
sys.path.insert(1, route)
| 20.833333 | 76 | 0.68 | 17 | 125 | 5 | 0.647059 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00885 | 0.096 | 125 | 5 | 77 | 25 | 0.743363 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
60452360f87c92bc5eb0bd208b6009773287c134 | 18 | py | Python | kallisticore/version.py | jpmorganchase/kallisti-core | d9dfcaa2ec3c9cd26dd37b5f2c39c3788a3d05aa | [
"Apache-2.0"
] | 1 | 2022-03-03T14:27:25.000Z | 2022-03-03T14:27:25.000Z | kallisticore/version.py | jpmorganchase/kallisti-core | d9dfcaa2ec3c9cd26dd37b5f2c39c3788a3d05aa | [
"Apache-2.0"
] | null | null | null | kallisticore/version.py | jpmorganchase/kallisti-core | d9dfcaa2ec3c9cd26dd37b5f2c39c3788a3d05aa | [
"Apache-2.0"
] | 1 | 2022-03-09T05:57:55.000Z | 2022-03-09T05:57:55.000Z | VERSION = '1.3.5'
| 9 | 17 | 0.555556 | 4 | 18 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.166667 | 18 | 1 | 18 | 18 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0.277778 | 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 |
605055397842ed97ab324194b1d9191f3cea91d4 | 145 | py | Python | books_management/publisher/api.py | blackriddle/books-management | ba485a362a8bc50052dd6f4fc3884e639ca762b0 | [
"MIT"
] | null | null | null | books_management/publisher/api.py | blackriddle/books-management | ba485a362a8bc50052dd6f4fc3884e639ca762b0 | [
"MIT"
] | null | null | null | books_management/publisher/api.py | blackriddle/books-management | ba485a362a8bc50052dd6f4fc3884e639ca762b0 | [
"MIT"
] | null | null | null | from books_management import api
from resource import PublisherResource
api.add_resource(PublisherResource, '/publisher/', '/publisher/<isbn>')
| 29 | 71 | 0.813793 | 16 | 145 | 7.25 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082759 | 145 | 4 | 72 | 36.25 | 0.87218 | 0 | 0 | 0 | 0 | 0 | 0.193103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
60543ede8fd901b81627543ce6607434a401af48 | 1,705 | py | Python | codewars/8kyu/dinamuh/keepHydrated/test_bench.py | dinamuh/Training_one | d18e8fb12608ce1753162c20252ca928c4df97ab | [
"MIT"
] | null | null | null | codewars/8kyu/dinamuh/keepHydrated/test_bench.py | dinamuh/Training_one | d18e8fb12608ce1753162c20252ca928c4df97ab | [
"MIT"
] | 2 | 2019-01-22T10:53:42.000Z | 2019-01-31T08:02:48.000Z | codewars/8kyu/dinamuh/keepHydrated/test_bench.py | dinamuh/Training_one | d18e8fb12608ce1753162c20252ca928c4df97ab | [
"MIT"
] | 13 | 2019-01-22T10:37:42.000Z | 2019-01-25T13:30:43.000Z | from main import litres
from main import litres2
def test(benchmark):
assert benchmark(litres, 2) == 1
def test2(benchmark):
assert benchmark(litres2, 2) == 1
''''''''''
--------------------------------------------------------------------------------------------- benchmark: 2 tests ---------------------... | 65.576923 | 205 | 0.313196 | 147 | 1,705 | 3.632653 | 0.62585 | 0.026217 | 0.052434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144587 | 0.22522 | 1,705 | 25 | 206 | 68.2 | 0.259652 | 0 | 0 | 0.111111 | 0 | 0.222222 | 0.890524 | 0.394938 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.111111 | false | 0.055556 | 0.111111 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
605f4445cfe53f0b128df6bf7ab40b7151f7072d | 2,852 | py | Python | app/models.py | theonilahtash/pitches | 2bc26a3f87078572b745cc961e67a3f56edaad76 | [
"MIT",
"Unlicense"
] | null | null | null | app/models.py | theonilahtash/pitches | 2bc26a3f87078572b745cc961e67a3f56edaad76 | [
"MIT",
"Unlicense"
] | null | null | null | app/models.py | theonilahtash/pitches | 2bc26a3f87078572b745cc961e67a3f56edaad76 | [
"MIT",
"Unlicense"
] | null | null | null | from . import db
from werkzeug.security import generate_password_hash, check_password_hash
from flask_login import UserMixin
from . import login_manager
@login_manager.user_loader
def load_user(user_id):
return User.query.get(int(user_id))
class User(UserMixin,db.Model):
__tablename__ = 'users'
id = db.C... | 35.209877 | 83 | 0.704418 | 399 | 2,852 | 4.879699 | 0.192982 | 0.069851 | 0.087314 | 0.07396 | 0.582948 | 0.482794 | 0.463277 | 0.362609 | 0.216744 | 0.216744 | 0 | 0.009067 | 0.187938 | 2,852 | 81 | 84 | 35.209877 | 0.831606 | 0.199509 | 0 | 0.192308 | 1 | 0 | 0.121758 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | false | 0.192308 | 0.076923 | 0.115385 | 0.903846 | 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 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
6079713f9988d3ab6b671e0ef49d5c5a39410f2b | 148 | py | Python | python/use_C_fortran_in_python/fortran/f2py-hw/setup.py | qingkaikong/useful_script | 2547931dd11dbff7438e323ff4cd168427ff92ce | [
"BSD-3-Clause"
] | 4 | 2016-03-16T17:06:42.000Z | 2021-07-26T15:43:42.000Z | python/use_C_fortran_in_python/fortran/f2py-hw/setup.py | qingkaikong/useful_script | 2547931dd11dbff7438e323ff4cd168427ff92ce | [
"BSD-3-Clause"
] | null | null | null | python/use_C_fortran_in_python/fortran/f2py-hw/setup.py | qingkaikong/useful_script | 2547931dd11dbff7438e323ff4cd168427ff92ce | [
"BSD-3-Clause"
] | 3 | 2015-12-01T20:38:19.000Z | 2020-12-15T20:10:34.000Z | from numpy.distutils.core import Extension, setup
setup(name='hw',
ext_modules=[Extension(name='hw', sources=['../useFortran77.f'])],) | 37 | 80 | 0.668919 | 18 | 148 | 5.444444 | 0.777778 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015748 | 0.141892 | 148 | 4 | 80 | 37 | 0.755906 | 0 | 0 | 0 | 0 | 0 | 0.14094 | 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 |
607f2d1ab92403f8ec8e60f13e4e3c23fe59fc6a | 141 | py | Python | biggestno.py | sushmitajaiswal/PythonPrograms | d4fb1b36953185e2f8dd866798ca6965a52563a9 | [
"MIT"
] | null | null | null | biggestno.py | sushmitajaiswal/PythonPrograms | d4fb1b36953185e2f8dd866798ca6965a52563a9 | [
"MIT"
] | null | null | null | biggestno.py | sushmitajaiswal/PythonPrograms | d4fb1b36953185e2f8dd866798ca6965a52563a9 | [
"MIT"
] | null | null | null | n1=int(input("enter first no."))
n2=int(input("enter second no."))
if n1>n2:
print("biggest no. is:",n1)
else :
print("biggest no. is",n2)
| 20.142857 | 33 | 0.64539 | 26 | 141 | 3.5 | 0.5 | 0.175824 | 0.285714 | 0.351648 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04878 | 0.12766 | 141 | 6 | 34 | 23.5 | 0.691057 | 0 | 0 | 0 | 0 | 0 | 0.425532 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 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 |
60b4acaebe160845a0943a04023efc4315033d9e | 84 | py | Python | Copyright.novaextension/Tests/file.py | tommasongr/nova-copyright | d0162688d57aba21d8579c2808bf42c285e347e1 | [
"MIT"
] | 1 | 2021-04-06T18:24:20.000Z | 2021-04-06T18:24:20.000Z | Copyright.novaextension/Tests/file.py | tommasongr/nova-copyright | d0162688d57aba21d8579c2808bf42c285e347e1 | [
"MIT"
] | 1 | 2021-08-30T17:47:03.000Z | 2021-09-04T10:53:31.000Z | Copyright.novaextension/Tests/file.py | tommasongr/nova-copyright | d0162688d57aba21d8579c2808bf42c285e347e1 | [
"MIT"
] | null | null | null | #
# file.py
# Copyright.novaextension
#
# Created by Tommaso Negri on 07/11/20.
#
| 9.333333 | 39 | 0.678571 | 12 | 84 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 0.190476 | 84 | 8 | 40 | 10.5 | 0.75 | 0.821429 | 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 |
60d2c0626b861acf4ef800b084fa2fc97499ef57 | 639 | py | Python | napalm_dellos6/dellos6_constants.py | danimo/napalm-dellos6 | 859a24cad8e9d9ef8b60309dd207d5e320696c2b | [
"Apache-2.0"
] | 4 | 2021-04-01T13:47:26.000Z | 2021-12-09T03:35:49.000Z | napalm_dellos6/dellos6_constants.py | danimo/napalm-dellos6 | 859a24cad8e9d9ef8b60309dd207d5e320696c2b | [
"Apache-2.0"
] | 22 | 2020-06-10T23:49:21.000Z | 2020-06-24T18:59:12.000Z | napalm_dellos6/dellos6_constants.py | danimo/napalm-dellos6 | 859a24cad8e9d9ef8b60309dd207d5e320696c2b | [
"Apache-2.0"
] | 1 | 2020-06-14T19:13:28.000Z | 2020-06-14T19:13:28.000Z | """Constants to be used with Dell OS6 driver."""
DELLOS6_SANITIZE_FILTERS = {
r"^(username\s+\S+\s+password)\s+(\S+)(\s+privilege\s+\d+(\s+encrypted)?)?$": r"\1 <removed>\3",
r"^(key)\s+\S+$": r"\1 <removed>",
r"^(snmp-server engineid local).*$": r"\1 <removed>",
r"^(snmp-server community)\s+\S+(\s*(ro... | 49.153846 | 100 | 0.539906 | 107 | 639 | 3.205607 | 0.373832 | 0.06414 | 0.183673 | 0.087464 | 0.466472 | 0.274052 | 0 | 0 | 0 | 0 | 0 | 0.026978 | 0.12989 | 639 | 12 | 101 | 53.25 | 0.589928 | 0.065728 | 0 | 0 | 0 | 0.3 | 0.764805 | 0.248731 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0 | 0 | 0 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
60d3019c19bc9a3a70db6005bec862cfc966d266 | 305 | py | Python | test_excercise2.py | LukasHoste/Algorithms_Vives_exercises_test | 9bc17450352ed1adf57833f739ba9e58bd2deb80 | [
"Apache-2.0"
] | null | null | null | test_excercise2.py | LukasHoste/Algorithms_Vives_exercises_test | 9bc17450352ed1adf57833f739ba9e58bd2deb80 | [
"Apache-2.0"
] | null | null | null | test_excercise2.py | LukasHoste/Algorithms_Vives_exercises_test | 9bc17450352ed1adf57833f739ba9e58bd2deb80 | [
"Apache-2.0"
] | 1 | 2021-10-14T07:30:44.000Z | 2021-10-14T07:30:44.000Z | from exercise2 import luc, lucasRow, sumOfEvenLucasNumbers
def test_generateLucas():
assert(3 == luc(2))
assert(4 == luc(3))
def test_sumOfLucas():
assert(2 == lucasRow(3))
def test_generateSumOfEvenLucasNumbers():
assert(6 == sumOfEvenLucasNumbers(4))
assert(24 == sumOfEvenLucasNumbers(7))
| 23.461538 | 58 | 0.734426 | 35 | 305 | 6.314286 | 0.514286 | 0.095023 | 0.072398 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.045283 | 0.131148 | 305 | 12 | 59 | 25.416667 | 0.788679 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.555556 | 1 | 0.333333 | true | 0 | 0.111111 | 0 | 0.444444 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
60e5c961108a703bedf7bcdf680b917f3992bf64 | 6,534 | py | Python | octavia/tests/unit/cmd/test_status.py | buty4649/octavia | a4aa03d3bc98eb27cc353140cd998a623baa505f | [
"Apache-2.0"
] | null | null | null | octavia/tests/unit/cmd/test_status.py | buty4649/octavia | a4aa03d3bc98eb27cc353140cd998a623baa505f | [
"Apache-2.0"
] | 2 | 2018-09-28T08:41:14.000Z | 2019-08-01T11:20:37.000Z | octavia/tests/unit/cmd/test_status.py | buty4649/octavia | a4aa03d3bc98eb27cc353140cd998a623baa505f | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2018 NEC, Corp.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | 45.375 | 78 | 0.684726 | 746 | 6,534 | 5.705094 | 0.187668 | 0.067199 | 0.045818 | 0.054981 | 0.75 | 0.737312 | 0.71828 | 0.704652 | 0.671758 | 0.650141 | 0 | 0.005696 | 0.220845 | 6,534 | 143 | 79 | 45.692308 | 0.830289 | 0.088613 | 0 | 0.693694 | 0 | 0 | 0.144925 | 0.105706 | 0 | 0 | 0 | 0 | 0.117117 | 1 | 0.108108 | false | 0 | 0.072072 | 0 | 0.189189 | 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 |
60e70b07afdde00648cc8638f1db07d0d68bba25 | 300 | py | Python | testapp/testdata/__init__.py | shockflash/reviews | f6cf2727e56f190e48f08d5da7932ff9d7b12936 | [
"BSD-3-Clause"
] | 1 | 2015-03-01T10:39:22.000Z | 2015-03-01T10:39:22.000Z | testapp/testdata/__init__.py | shockflash/reviews | f6cf2727e56f190e48f08d5da7932ff9d7b12936 | [
"BSD-3-Clause"
] | null | null | null | testapp/testdata/__init__.py | shockflash/reviews | f6cf2727e56f190e48f08d5da7932ff9d7b12936 | [
"BSD-3-Clause"
] | null | null | null | from models import TestReview, TestReviewSegment
from forms import TestReviewForm, TestReviewSegmentForm
def get_model():
return TestReview
def get_segment_model():
return TestReviewSegment
def get_form():
return TestReviewForm
def get_segment_form():
return TestReviewSegmentForm | 21.428571 | 55 | 0.803333 | 32 | 300 | 7.34375 | 0.4375 | 0.102128 | 0.110638 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 300 | 14 | 56 | 21.428571 | 0.921569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
88096622ada8c477c0aea93172dbd699d2932deb | 308 | py | Python | BitTornado/tests/__init__.py | crossbrowsertesting/BitTornado | 30b8da65ec620573351838e0281b3c9c9dc0982b | [
"MIT"
] | 1 | 2020-06-01T06:16:03.000Z | 2020-06-01T06:16:03.000Z | BitTornado/tests/__init__.py | crossbrowsertesting/BitTornado | 30b8da65ec620573351838e0281b3c9c9dc0982b | [
"MIT"
] | null | null | null | BitTornado/tests/__init__.py | crossbrowsertesting/BitTornado | 30b8da65ec620573351838e0281b3c9c9dc0982b | [
"MIT"
] | null | null | null | from .test_bencode import CodecTests
from .test_bitfield import BitfieldTests
from .test_networkaddress import AddressTests, AddressRangeTests, \
SubnetTests, TestAddrList
from .test_parseargs import ParseArgsTest
from .test_piecebuffer import PieceBufferTests
from .test_selectpoll import PollListTests
| 38.5 | 67 | 0.863636 | 33 | 308 | 7.878788 | 0.545455 | 0.184615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 308 | 7 | 68 | 44 | 0.942029 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.857143 | 0 | 0.857143 | 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 |
716d9f0ca71afa0e524c1033e8d9607870977570 | 160 | py | Python | files/data/ChunLua.py | ArezalGame89/ChungOSB | 8fbf7d875af911eb9fe7faeb97bf802e974e3b38 | [
"MIT"
] | null | null | null | files/data/ChunLua.py | ArezalGame89/ChungOSB | 8fbf7d875af911eb9fe7faeb97bf802e974e3b38 | [
"MIT"
] | null | null | null | files/data/ChunLua.py | ArezalGame89/ChungOSB | 8fbf7d875af911eb9fe7faeb97bf802e974e3b38 | [
"MIT"
] | null | null | null | import lupa
from lupa import LuaRuntime
from ply import lex, yacc
l = LuaRuntime()
tokens = {"52554e", "52454144", "4E554C4C" ""} #! RUNNER #! READ #! NUL
| 20 | 74 | 0.6625 | 20 | 160 | 5.3 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 0.19375 | 160 | 7 | 75 | 22.857143 | 0.682171 | 0.14375 | 0 | 0 | 0 | 0 | 0.164179 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
71a2bed1085d9a2a0942251f741829af9f8a00a4 | 26 | py | Python | modules/utils/__init__.py | hasandiwan/ZppixBot-Source | 8364ace985897b84433244450ab22d4ed4ad8191 | [
"EFL-2.0"
] | 1 | 2019-11-27T16:56:51.000Z | 2019-11-27T16:56:51.000Z | modules/utils/__init__.py | RhinosF1/ZppixBot-Source | 32f45c85d70a1961aafe7a4ce9b95c34e0133aa7 | [
"EFL-2.0"
] | null | null | null | modules/utils/__init__.py | RhinosF1/ZppixBot-Source | 32f45c85d70a1961aafe7a4ce9b95c34e0133aa7 | [
"EFL-2.0"
] | null | null | null | """Utils for ZppixBot."""
| 13 | 25 | 0.615385 | 3 | 26 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 26 | 1 | 26 | 26 | 0.695652 | 0.730769 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
71e46d16e1692d8b0e822e2973b98a5888007258 | 132 | py | Python | notification/parameters.py | EhsanSaZ/send_message_api_bale_bot | 803e9b91d1eea477d3060b5dcc4e0099641876c9 | [
"MIT"
] | 1 | 2018-11-12T17:00:35.000Z | 2018-11-12T17:00:35.000Z | notification/parameters.py | EhsanSaZ/send_message_api_bale_bot | 803e9b91d1eea477d3060b5dcc4e0099641876c9 | [
"MIT"
] | null | null | null | notification/parameters.py | EhsanSaZ/send_message_api_bale_bot | 803e9b91d1eea477d3060b5dcc4e0099641876c9 | [
"MIT"
] | null | null | null | class Parameters:
def __init__(self, **kwargs):
for key, value in kwargs.items():
setattr(self, key, value)
| 26.4 | 41 | 0.598485 | 16 | 132 | 4.6875 | 0.75 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.280303 | 132 | 4 | 42 | 33 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e07a4e1adf9fd9c67a7dfa28e3ca0cf9758a88ec | 76 | py | Python | src/integrations/datadog/__init__.py | augustuswm/flagsmith-api | 6f37947fe3791726a92b4df2cdbded11e77387d3 | [
"BSD-3-Clause"
] | 1,259 | 2021-06-10T11:24:09.000Z | 2022-03-31T10:30:44.000Z | src/integrations/datadog/__init__.py | augustuswm/flagsmith-api | 6f37947fe3791726a92b4df2cdbded11e77387d3 | [
"BSD-3-Clause"
] | 392 | 2021-06-10T11:12:29.000Z | 2022-03-31T10:13:53.000Z | src/integrations/datadog/__init__.py | augustuswm/flagsmith-api | 6f37947fe3791726a92b4df2cdbded11e77387d3 | [
"BSD-3-Clause"
] | 58 | 2021-06-11T03:18:07.000Z | 2022-03-31T14:39:10.000Z | default_app_config = "integrations.datadog.apps.DataDogConfigurationConfig"
| 38 | 75 | 0.881579 | 7 | 76 | 9.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039474 | 76 | 1 | 76 | 76 | 0.890411 | 0 | 0 | 0 | 0 | 0 | 0.684211 | 0.684211 | 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 |
e088633c1599193e94b7da771979b83b31597e30 | 725 | py | Python | finwatch/app/serializers.py | bgunebakan/finwatch | 28e70b58a1ba1de55146262eeb94d20a8e2ac909 | [
"MIT"
] | null | null | null | finwatch/app/serializers.py | bgunebakan/finwatch | 28e70b58a1ba1de55146262eeb94d20a8e2ac909 | [
"MIT"
] | null | null | null | finwatch/app/serializers.py | bgunebakan/finwatch | 28e70b58a1ba1de55146262eeb94d20a8e2ac909 | [
"MIT"
] | null | null | null | from app.models import News, Stock
from django.contrib.auth.models import User, Group
from rest_framework import serializers
class UserSerializer(serializers.HyperlinkedModelSerializer):
class Meta:
model = User
fields = ['url', 'username', 'email', 'groups']
class GroupSerializer(serializers.Hy... | 25 | 65 | 0.689655 | 68 | 725 | 7.323529 | 0.485294 | 0.297189 | 0.337349 | 0.369478 | 0.409639 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.208276 | 725 | 28 | 66 | 25.892857 | 0.867596 | 0 | 0 | 0.210526 | 0 | 0 | 0.097931 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.157895 | 0 | 0.578947 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
e090b4c7243d288b8cefe0af06ba46317ce8b8ad | 9,897 | py | Python | brainlit/algorithms/generate_fragments/tests/test_tube_seg.py | neurodata/brainl | 2de7b5b161000d4d0957de4e836c9e72f7b62ec0 | [
"Apache-2.0"
] | null | null | null | brainlit/algorithms/generate_fragments/tests/test_tube_seg.py | neurodata/brainl | 2de7b5b161000d4d0957de4e836c9e72f7b62ec0 | [
"Apache-2.0"
] | null | null | null | brainlit/algorithms/generate_fragments/tests/test_tube_seg.py | neurodata/brainl | 2de7b5b161000d4d0957de4e836c9e72f7b62ec0 | [
"Apache-2.0"
] | null | null | null | import pytest
import brainlit
from brainlit.algorithms.generate_fragments import tube_seg
import numpy as np
from brainlit.utils.session import NeuroglancerSession
from brainlit.utils.Neuron_trace import NeuronTrace
from skimage import draw
from pathlib import Path
top_level = Path(__file__).parents[4] / "data"
input ... | 35.473118 | 126 | 0.640598 | 1,535 | 9,897 | 4.023453 | 0.127036 | 0.028497 | 0.053433 | 0.048575 | 0.742228 | 0.727655 | 0.70612 | 0.693491 | 0.678918 | 0.650421 | 0 | 0.026543 | 0.238658 | 9,897 | 278 | 127 | 35.600719 | 0.793099 | 0.194503 | 0 | 0.591463 | 1 | 0 | 0.008913 | 0 | 0 | 0 | 0 | 0 | 0.140244 | 1 | 0.04878 | false | 0 | 0.04878 | 0 | 0.097561 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e0afaf31235f5b87510cddc561581440be006f0d | 162 | py | Python | basic/conditionals.py | tonper19/PythonDemos | 633a40e282049e511fd965c0afe104e775a2f526 | [
"MIT"
] | null | null | null | basic/conditionals.py | tonper19/PythonDemos | 633a40e282049e511fd965c0afe104e775a2f526 | [
"MIT"
] | null | null | null | basic/conditionals.py | tonper19/PythonDemos | 633a40e282049e511fd965c0afe104e775a2f526 | [
"MIT"
] | null | null | null | name = 'jon Snow'
if name == 'Arya Stark':
print('Valar Morghulis')
elif name == 'Jon Snow':
print('You know nothing')
else:
print('carry on') | 23.142857 | 29 | 0.58642 | 22 | 162 | 4.318182 | 0.727273 | 0.147368 | 0.231579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253086 | 162 | 7 | 30 | 23.142857 | 0.785124 | 0 | 0 | 0 | 0 | 0 | 0.398773 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 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 |
e0b2c8db6308779748279a600cddaea18642cdf7 | 260 | py | Python | app/api/v1/api.py | carpe-astra/jarvis-client | 26f14fee1a971dce67e28ddd5192fa0688361b66 | [
"MIT"
] | null | null | null | app/api/v1/api.py | carpe-astra/jarvis-client | 26f14fee1a971dce67e28ddd5192fa0688361b66 | [
"MIT"
] | null | null | null | app/api/v1/api.py | carpe-astra/jarvis-client | 26f14fee1a971dce67e28ddd5192fa0688361b66 | [
"MIT"
] | null | null | null | from fastapi import APIRouter
from app.api.v1.endpoints import modules, tasks
router = APIRouter()
router.include_router(router=modules.router, prefix="/modules", tags=["Modules"])
router.include_router(router=tasks.router, prefix="/tasks", tags=["Tasks"])
| 28.888889 | 81 | 0.769231 | 34 | 260 | 5.823529 | 0.411765 | 0.111111 | 0.191919 | 0.252525 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004184 | 0.080769 | 260 | 8 | 82 | 32.5 | 0.824268 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
e0bfc1da540cd1ab90513f95fecb4d06f621acad | 89 | py | Python | pagework/page404/apps.py | Grizzy-bear/Virtual-experiment-WEB | 9fc1fdfc1bb369addfc52e39f713200a3724c8e8 | [
"MIT"
] | null | null | null | pagework/page404/apps.py | Grizzy-bear/Virtual-experiment-WEB | 9fc1fdfc1bb369addfc52e39f713200a3724c8e8 | [
"MIT"
] | null | null | null | pagework/page404/apps.py | Grizzy-bear/Virtual-experiment-WEB | 9fc1fdfc1bb369addfc52e39f713200a3724c8e8 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class Page404Config(AppConfig):
name = 'page404'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.824324 | 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 |
4601a58dcbd32a630ac20a2afe9b6da031888991 | 205 | py | Python | minigest/docfisc/urls/fatture_acquisto.py | ctrlmaniac/minigest | 2bfceb57e41c872e4112e24d0e6991164846888b | [
"MIT"
] | null | null | null | minigest/docfisc/urls/fatture_acquisto.py | ctrlmaniac/minigest | 2bfceb57e41c872e4112e24d0e6991164846888b | [
"MIT"
] | 1 | 2021-09-22T19:10:20.000Z | 2021-09-22T19:10:20.000Z | minigest/docfisc/urls/fatture_acquisto.py | ctrlmaniac/minigest | 2bfceb57e41c872e4112e24d0e6991164846888b | [
"MIT"
] | null | null | null | from django.urls import path
from ..views import FattureAcquisto
urlpatterns = [
path("<int:azienda>/", FattureAcquisto.as_view()),
path("<int:azienda>/<periodo>/", FattureAcquisto.as_view()),
]
| 22.777778 | 64 | 0.702439 | 23 | 205 | 6.173913 | 0.565217 | 0.098592 | 0.197183 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126829 | 205 | 8 | 65 | 25.625 | 0.793296 | 0 | 0 | 0 | 0 | 0 | 0.185366 | 0.117073 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
460bbe71fbd897862154794e0d743d49c1ef07a2 | 225 | py | Python | src/modules/role_selectors/__init__.py | NagisaZj/RODE | f7f6831fee58a7910e1d7c3a8ae19cef82ab8d03 | [
"Apache-2.0"
] | null | null | null | src/modules/role_selectors/__init__.py | NagisaZj/RODE | f7f6831fee58a7910e1d7c3a8ae19cef82ab8d03 | [
"Apache-2.0"
] | null | null | null | src/modules/role_selectors/__init__.py | NagisaZj/RODE | f7f6831fee58a7910e1d7c3a8ae19cef82ab8d03 | [
"Apache-2.0"
] | null | null | null | REGISTRY = {}
from .dot_selector import DotSelector
from .q_selector import QSelector
from .dot_rnn_selector import DotRNNSelector
REGISTRY['dot'] = DotSelector
REGISTRY['dot_rnn'] = DotRNNSelector
REGISTRY['q'] = QSelector
| 25 | 44 | 0.795556 | 27 | 225 | 6.444444 | 0.37037 | 0.241379 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 225 | 8 | 45 | 28.125 | 0.87 | 0 | 0 | 0 | 0 | 0 | 0.048889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
461a6c0bcd3910c6d56d11a3f32a21aea6ae0a6f | 107 | py | Python | keycloak_admin_aio/_resources/users/__init__.py | V-Mann-Nick/keycloak-admin-aio | 83ac1af910e492a5864eb369aacfc0512e5c8c45 | [
"Apache-2.0"
] | 12 | 2021-11-08T18:03:09.000Z | 2022-03-17T16:34:06.000Z | keycloak_admin_aio/_resources/users/__init__.py | V-Mann-Nick/keycloak-admin-aio | 83ac1af910e492a5864eb369aacfc0512e5c8c45 | [
"Apache-2.0"
] | null | null | null | keycloak_admin_aio/_resources/users/__init__.py | V-Mann-Nick/keycloak-admin-aio | 83ac1af910e492a5864eb369aacfc0512e5c8c45 | [
"Apache-2.0"
] | 1 | 2021-11-14T13:55:30.000Z | 2021-11-14T13:55:30.000Z | """https://www.keycloak.org/docs-api/15.0/rest-api/index.html#_users_resource"""
from .users import Users
| 26.75 | 80 | 0.747664 | 18 | 107 | 4.333333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029703 | 0.056075 | 107 | 3 | 81 | 35.666667 | 0.742574 | 0.691589 | 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 |
1cf51434bf855fe1b93df31729c23e30823dc8cb | 98 | py | Python | click_web/exceptions.py | Whatang/click-web | c07068f4fa39e3900da6883f9a2ee7e85fe02700 | [
"MIT"
] | 204 | 2019-01-27T22:37:33.000Z | 2022-03-24T15:59:11.000Z | click_web/exceptions.py | Whatang/click-web | c07068f4fa39e3900da6883f9a2ee7e85fe02700 | [
"MIT"
] | 10 | 2019-02-02T22:33:23.000Z | 2021-12-09T00:33:15.000Z | click_web/exceptions.py | Whatang/click-web | c07068f4fa39e3900da6883f9a2ee7e85fe02700 | [
"MIT"
] | 7 | 2019-01-28T15:14:57.000Z | 2021-08-25T10:32:42.000Z | class ClickWebException(Exception):
pass
class CommandNotFound(ClickWebException):
pass
| 14 | 41 | 0.77551 | 8 | 98 | 9.5 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 98 | 6 | 42 | 16.333333 | 0.926829 | 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 |
e80315ca43687ef9dc3abae40de83e4e2ed434af | 286 | py | Python | vueSuit/vuePacks/layout/__init__.py | Ryuchen/django-vue-su | 28c08a157cd243b475673ca7486aedb1719759ea | [
"BSD-3-Clause"
] | 23 | 2019-08-16T07:53:51.000Z | 2021-06-15T14:50:19.000Z | vueSuit/vuePacks/layout/__init__.py | Ryuchen/django-vue-su | 28c08a157cd243b475673ca7486aedb1719759ea | [
"BSD-3-Clause"
] | null | null | null | vueSuit/vuePacks/layout/__init__.py | Ryuchen/django-vue-su | 28c08a157cd243b475673ca7486aedb1719759ea | [
"BSD-3-Clause"
] | 3 | 2019-11-14T08:04:32.000Z | 2021-02-18T07:05:02.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# ==================================================
# @Author : Copyright@Ryuchen
# ==================================================
from .base import (
LayoutA, LayoutB, LayoutC
)
__all__ = [
"LayoutA", "LayoutB", "LayoutC"
]
| 20.428571 | 52 | 0.384615 | 20 | 286 | 5.3 | 0.85 | 0.264151 | 0.396226 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004065 | 0.13986 | 286 | 13 | 53 | 22 | 0.426829 | 0.601399 | 0 | 0 | 0 | 0 | 0.192661 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e82310e03600fd283adcf4eee8fa5f8f2dac23a9 | 3,025 | py | Python | untypy/impl/generic.py | skogsbaer/untypy | 514b57cef05cdc7a2a11e9e4a7f648d073b304b5 | [
"MIT"
] | null | null | null | untypy/impl/generic.py | skogsbaer/untypy | 514b57cef05cdc7a2a11e9e4a7f648d073b304b5 | [
"MIT"
] | null | null | null | untypy/impl/generic.py | skogsbaer/untypy | 514b57cef05cdc7a2a11e9e4a7f648d073b304b5 | [
"MIT"
] | null | null | null | import typing
from typing import Optional, TypeVar, Any
from untypy.error import UntypyTypeError
from untypy.impl.protocol import ProtocolChecker
from untypy.interfaces import TypeCheckerFactory, CreationContext, TypeChecker, ExecutionContext
class GenericProtocolChecker(ProtocolChecker):
def protocol_type(self)... | 32.880435 | 120 | 0.642314 | 331 | 3,025 | 5.655589 | 0.259819 | 0.033654 | 0.032051 | 0.024038 | 0.160791 | 0.115919 | 0.115919 | 0.115919 | 0.081731 | 0.081731 | 0 | 0 | 0.262149 | 3,025 | 91 | 121 | 33.241758 | 0.83871 | 0.011901 | 0 | 0.21875 | 0 | 0 | 0.044526 | 0.027787 | 0 | 0 | 0 | 0.010989 | 0 | 1 | 0.234375 | false | 0 | 0.078125 | 0.140625 | 0.640625 | 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 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
e830db137baa4c6770d62def6834e370a78390d3 | 198 | py | Python | src/cobra/apps/home/config.py | lyoniionly/django-cobra | 2427e5cf74b7739115b1224da3306986b3ee345c | [
"Apache-2.0"
] | 1 | 2015-01-27T08:56:46.000Z | 2015-01-27T08:56:46.000Z | src/cobra/apps/home/config.py | lyoniionly/django-cobra | 2427e5cf74b7739115b1224da3306986b3ee345c | [
"Apache-2.0"
] | null | null | null | src/cobra/apps/home/config.py | lyoniionly/django-cobra | 2427e5cf74b7739115b1224da3306986b3ee345c | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
from django.utils.translation import ugettext_lazy as _
class HomeConfig(AppConfig):
label = 'home'
name = 'cobra.apps.home'
verbose_name = _('Home')
| 22 | 55 | 0.727273 | 25 | 198 | 5.6 | 0.68 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176768 | 198 | 8 | 56 | 24.75 | 0.858896 | 0 | 0 | 0 | 0 | 0 | 0.116162 | 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 |
1c0345c3cc2ca1f8a8242224dc9e4d0a06b335b8 | 89 | py | Python | api/projeto/__main__.py | ldynczuki/iris-model-api | 0519f5d3d8158f7560326219bd2263a234ad0cbe | [
"MIT"
] | null | null | null | api/projeto/__main__.py | ldynczuki/iris-model-api | 0519f5d3d8158f7560326219bd2263a234ad0cbe | [
"MIT"
] | null | null | null | api/projeto/__main__.py | ldynczuki/iris-model-api | 0519f5d3d8158f7560326219bd2263a234ad0cbe | [
"MIT"
] | null | null | null | def start():
print(__package__, ' started.')
if __name__ == '__main__':
start() | 14.833333 | 35 | 0.606742 | 9 | 89 | 4.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.213483 | 89 | 6 | 36 | 14.833333 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0.188889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1c0b8fed01a4879f94e908cb37d6468936fdbca2 | 64 | py | Python | statsmanager/main/settings.py | bugg86/CSC490-League-Stat-Manager | 243236432dd4addf5dc08bfc6a6edd41add1f0c1 | [
"MIT"
] | null | null | null | statsmanager/main/settings.py | bugg86/CSC490-League-Stat-Manager | 243236432dd4addf5dc08bfc6a6edd41add1f0c1 | [
"MIT"
] | null | null | null | statsmanager/main/settings.py | bugg86/CSC490-League-Stat-Manager | 243236432dd4addf5dc08bfc6a6edd41add1f0c1 | [
"MIT"
] | null | null | null | EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' | 64 | 64 | 0.84375 | 8 | 64 | 6.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.03125 | 64 | 1 | 64 | 64 | 0.854839 | 0 | 0 | 0 | 0 | 0 | 0.707692 | 0.707692 | 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 |
1c0f2c585b2baa70d6ec7d59aab5fb6fa95ad0b4 | 275 | py | Python | exercise 2.py | lucasdasneves/python_puc_minas | aae6f9407e9709130b0f38a8b227cd72b168b80a | [
"MIT"
] | null | null | null | exercise 2.py | lucasdasneves/python_puc_minas | aae6f9407e9709130b0f38a8b227cd72b168b80a | [
"MIT"
] | null | null | null | exercise 2.py | lucasdasneves/python_puc_minas | aae6f9407e9709130b0f38a8b227cd72b168b80a | [
"MIT"
] | null | null | null | #exercise 2
#Faça um programa para calcular e exibir o valor de 𝑃, onde 𝑥, 𝑎
#e 𝑁 são informados pelo usuário, sendo 𝑁 o número de
#termos da sequência:
#Ao final, você deverá armazenar e imprimir todos os termos da
#sequência e o valor de 𝑃.
#𝑃 = 𝑎𝑥^1 + 𝑎𝑥^2 + ... + 𝑎𝑥^n
| 27.5 | 64 | 0.705455 | 54 | 275 | 3.592593 | 0.685185 | 0.061856 | 0.082474 | 0.092784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013825 | 0.210909 | 275 | 9 | 65 | 30.555556 | 0.880184 | 0.941818 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.111111 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1c24b83ea9d6cd0a7c5ac91a4ae8af09f41e347d | 188 | py | Python | conbench/tests/test_version.py | jonkeane/conbench | f096cc2f8b7a85d8e9aea32d8310127cf1923212 | [
"MIT"
] | 48 | 2020-03-02T16:55:46.000Z | 2022-02-26T00:35:57.000Z | conbench/tests/test_version.py | jonkeane/conbench | f096cc2f8b7a85d8e9aea32d8310127cf1923212 | [
"MIT"
] | 103 | 2020-03-23T00:22:46.000Z | 2022-03-31T22:34:40.000Z | conbench/tests/test_version.py | jonkeane/conbench | f096cc2f8b7a85d8e9aea32d8310127cf1923212 | [
"MIT"
] | 6 | 2020-03-04T17:52:35.000Z | 2022-03-30T11:53:40.000Z | import importlib.metadata as importlib_metadata
import conbench
__version__ = importlib_metadata.version("conbench")
def test_version():
assert __version__ == conbench.__version__
| 18.8 | 52 | 0.808511 | 20 | 188 | 6.85 | 0.45 | 0.372263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12234 | 188 | 9 | 53 | 20.888889 | 0.830303 | 0 | 0 | 0 | 0 | 0 | 0.042553 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | false | 0 | 0.6 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1c62f9a5a3f6c0b2f24f9613fbd98d0843c50ba1 | 86,586 | py | Python | src/openprocurement/tender/pricequotation/tests/tender_blanks.py | ProzorroUKR/openprocurement.api | 2855a99aa8738fb832ee0dbad4e9590bd3643511 | [
"Apache-2.0"
] | 10 | 2020-02-18T01:56:21.000Z | 2022-03-28T00:32:57.000Z | src/openprocurement/tender/pricequotation/tests/tender_blanks.py | quintagroup/openprocurement.api | 2855a99aa8738fb832ee0dbad4e9590bd3643511 | [
"Apache-2.0"
] | 26 | 2018-07-16T09:30:44.000Z | 2021-02-02T17:51:30.000Z | src/openprocurement/tender/pricequotation/tests/tender_blanks.py | ProzorroUKR/openprocurement.api | 2855a99aa8738fb832ee0dbad4e9590bd3643511 | [
"Apache-2.0"
] | 15 | 2019-08-08T10:50:47.000Z | 2022-02-05T14:13:36.000Z | import mock
from uuid import uuid4
from copy import deepcopy
from datetime import timedelta
from openprocurement.api.utils import get_now
from openprocurement.api.constants import (
ROUTE_PREFIX,
CPV_BLOCK_FROM,
NOT_REQUIRED_ADDITIONAL_CLASSIFICATION_FROM,
SANDBOX_MODE,
CPV_ITEMS_CLASS_FROM,
PQ... | 43.034791 | 164 | 0.637771 | 9,378 | 86,586 | 5.774366 | 0.050117 | 0.120494 | 0.123597 | 0.066941 | 0.773914 | 0.745679 | 0.720417 | 0.704997 | 0.681951 | 0.669726 | 0 | 0.015493 | 0.191186 | 86,586 | 2,011 | 165 | 43.056191 | 0.757754 | 0.017151 | 0 | 0.576587 | 0 | 0.001165 | 0.267533 | 0.059253 | 0 | 0 | 0 | 0 | 0.311008 | 1 | 0.013978 | false | 0 | 0.006407 | 0 | 0.020384 | 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 |
1c8d67def6c3a9e7b0b9bfe27fd07a97f6e9f14f | 90 | py | Python | snacks/admin.py | shahd1995913/djangox | 8e3c11bd893a96b686d0c18a324c77f8e7dd876d | [
"MIT"
] | null | null | null | snacks/admin.py | shahd1995913/djangox | 8e3c11bd893a96b686d0c18a324c77f8e7dd876d | [
"MIT"
] | 1 | 2021-11-17T19:51:48.000Z | 2021-11-17T19:51:48.000Z | snacks/admin.py | shahd1995913/djangox | 8e3c11bd893a96b686d0c18a324c77f8e7dd876d | [
"MIT"
] | null | null | null | from .models import Snack
from django.contrib import admin
admin.site.register(Snack)
| 11.25 | 32 | 0.788889 | 13 | 90 | 5.461538 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144444 | 90 | 7 | 33 | 12.857143 | 0.922078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
98e0b570b572a018216e20abe4b392f286b1ca89 | 225 | py | Python | UnityEngine/Events/UnityAction/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/Events/UnityAction/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/Events/UnityAction/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | from UdonPie import UnityEngine
from UdonPie.Undefined import *
class UnityAction:
def __new__(cls, arg1=None):
'''
:returns: UnityAction
:rtype: UnityEngine.UnityAction
'''
pass
| 18.75 | 39 | 0.622222 | 21 | 225 | 6.47619 | 0.714286 | 0.161765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006289 | 0.293333 | 225 | 11 | 40 | 20.454545 | 0.849057 | 0.235556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
c70cff7261b038a056770c5ccb5d404398917130 | 651 | py | Python | src/yupdates/yapi.py | yupdates/yupdates-sdk-py | d767b1dd884a6597c3310dc409d10a10d435fe84 | [
"MIT"
] | 1 | 2022-01-18T15:55:08.000Z | 2022-01-18T15:55:08.000Z | src/yupdates/yapi.py | yupdates/yupdates-sdk-py | d767b1dd884a6597c3310dc409d10a10d435fe84 | [
"MIT"
] | null | null | null | src/yupdates/yapi.py | yupdates/yupdates-sdk-py | d767b1dd884a6597c3310dc409d10a10d435fe84 | [
"MIT"
] | null | null | null | """
This module is a convenience wrapper around a default instance of `YupdatesClient` for quick
scripts and easy calls from a Python interpreter.
This will always maintain parity with the `YupdatesClient` methods, so you can build programs
on top of this module or store one `YupdatesClient` instance in a variable and... | 25.038462 | 95 | 0.764977 | 95 | 651 | 5.189474 | 0.610526 | 0.085193 | 0.081136 | 0.097363 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173579 | 651 | 25 | 96 | 26.04 | 0.916357 | 0.760369 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | true | 0 | 0.2 | 0.4 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c71bc9fc2c03ee4e7d29d52bf63758fd81a3725f | 239 | py | Python | src/openpersonen/api/serializers/verblijfs_titel_historie.py | maykinmedia/open-personen | ddcf083ccd4eb864c5305bcd8bc75c6c64108272 | [
"RSA-MD"
] | 2 | 2020-08-26T11:24:43.000Z | 2021-07-28T09:46:40.000Z | src/openpersonen/api/serializers/verblijfs_titel_historie.py | maykinmedia/open-personen | ddcf083ccd4eb864c5305bcd8bc75c6c64108272 | [
"RSA-MD"
] | 153 | 2020-08-26T10:45:35.000Z | 2021-12-10T17:33:16.000Z | src/openpersonen/api/serializers/verblijfs_titel_historie.py | maykinmedia/open-personen | ddcf083ccd4eb864c5305bcd8bc75c6c64108272 | [
"RSA-MD"
] | null | null | null | from rest_framework import serializers
from .verblijfs_titel import VerblijfsTitelSerializer
class VerblijfsTitelHistorieSerializer(VerblijfsTitelSerializer):
geheimhoudingPersoonsgegevens = serializers.BooleanField(required=False)
| 29.875 | 76 | 0.878661 | 18 | 239 | 11.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083682 | 239 | 7 | 77 | 34.142857 | 0.949772 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c71fc9883e3a40901f8962899a28612bfb974a3d | 143 | py | Python | src/rotest/core/result/monitor/__init__.py | gregoil/rotest | c443bc1b99e02f047adfcab9943966f0023f652c | [
"MIT"
] | 26 | 2017-06-11T18:21:17.000Z | 2021-02-21T20:36:30.000Z | src/rotest/core/result/monitor/__init__.py | gregoil/rotest | c443bc1b99e02f047adfcab9943966f0023f652c | [
"MIT"
] | 143 | 2017-06-29T11:18:35.000Z | 2021-06-10T17:23:46.000Z | src/rotest/core/result/monitor/__init__.py | gregoil/rotest | c443bc1b99e02f047adfcab9943966f0023f652c | [
"MIT"
] | 11 | 2017-06-12T09:16:14.000Z | 2021-07-11T23:20:59.000Z | from .monitor import (AbstractMonitor, AbstractResourceMonitor, require_attr,
skip_if_block, skip_if_case, skip_if_flow)
| 47.666667 | 77 | 0.727273 | 16 | 143 | 6.0625 | 0.75 | 0.185567 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216783 | 143 | 2 | 78 | 71.5 | 0.866071 | 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 |
c727a0d5c7f074a8a0d47a2af39a4980e9cbd89e | 92 | py | Python | Python Part 1 Exercises/number_7.py | ryanzhao2/grade11cs | 173b9f50db49368ea2042f6803d6674dd9f185cd | [
"Apache-2.0"
] | null | null | null | Python Part 1 Exercises/number_7.py | ryanzhao2/grade11cs | 173b9f50db49368ea2042f6803d6674dd9f185cd | [
"Apache-2.0"
] | null | null | null | Python Part 1 Exercises/number_7.py | ryanzhao2/grade11cs | 173b9f50db49368ea2042f6803d6674dd9f185cd | [
"Apache-2.0"
] | null | null | null | def clear_screen():
for i in range(25):
print('\n')
clear_screen()
| 9.2 | 23 | 0.5 | 12 | 92 | 3.666667 | 0.833333 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.358696 | 92 | 9 | 24 | 10.222222 | 0.711864 | 0 | 0 | 0 | 0 | 0 | 0.022727 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c72bc3cdaffbf24886ad017ea36ace674ce49859 | 139 | py | Python | setup.py | yunqingqing/django_practice | 95ac5f2aee2fd1f736cec795c05489a23548abac | [
"Apache-2.0"
] | null | null | null | setup.py | yunqingqing/django_practice | 95ac5f2aee2fd1f736cec795c05489a23548abac | [
"Apache-2.0"
] | 7 | 2020-06-05T17:11:56.000Z | 2021-09-22T17:43:59.000Z | setup.py | yunqingqing/django_practice | 95ac5f2aee2fd1f736cec795c05489a23548abac | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
import setuptools
setuptools.setup(name="django_practice",
packages=setuptools.find_packages())
| 19.857143 | 53 | 0.654676 | 14 | 139 | 6.357143 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009009 | 0.201439 | 139 | 6 | 54 | 23.166667 | 0.792793 | 0.151079 | 0 | 0 | 0 | 0 | 0.12931 | 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 |
c72f675faf49b71e48566b3b0478548010fcb099 | 10,991 | py | Python | dynaban/tests/code.py | laukik-hase/imitation_of_human_arm_on_robotic_manipulator | 995beb1ab41597ca6cbecd0baecdef1ef13450f9 | [
"MIT"
] | 3 | 2021-11-13T16:54:31.000Z | 2021-11-13T20:50:18.000Z | dynaban/tests/code.py | laukik-hase/human_arm_imitation | 995beb1ab41597ca6cbecd0baecdef1ef13450f9 | [
"MIT"
] | null | null | null | dynaban/tests/code.py | laukik-hase/human_arm_imitation | 995beb1ab41597ca6cbecd0baecdef1ef13450f9 | [
"MIT"
] | null | null | null | # This file was automatically generated by SWIG (http://www.swig.org).
# Version 3.0.12
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.
from sys import version_info as _swig_python_version_info
if _swig_python_version_info >= (2, 7, 0):
def swig_im... | 27.825316 | 92 | 0.666636 | 1,313 | 10,991 | 5.059406 | 0.140137 | 0.120428 | 0.082192 | 0.058859 | 0.596116 | 0.50414 | 0.47885 | 0.397561 | 0.291585 | 0.175373 | 0 | 0.002266 | 0.237012 | 10,991 | 394 | 93 | 27.895939 | 0.789888 | 0.02684 | 0 | 0.415225 | 1 | 0 | 0.016844 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.314879 | false | 0.00692 | 0.065744 | 0.287197 | 0.788927 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c773b8a8855913f3b14d1f29870250ef036181cf | 1,065 | py | Python | pya/backend/base.py | thomas-hermann/pya | 7dccda7e40c39c09f53ef97eed4b10790faff0ad | [
"MIT"
] | 23 | 2019-10-18T07:48:44.000Z | 2022-01-24T06:51:17.000Z | pya/backend/base.py | dreinsch/pya | 7dccda7e40c39c09f53ef97eed4b10790faff0ad | [
"MIT"
] | 35 | 2019-09-16T18:56:23.000Z | 2021-04-03T09:53:09.000Z | pya/backend/base.py | dreinsch/pya | 7dccda7e40c39c09f53ef97eed4b10790faff0ad | [
"MIT"
] | 3 | 2020-07-07T19:27:19.000Z | 2021-06-20T15:17:53.000Z | from abc import abstractmethod, ABC
class BackendBase(ABC):
@abstractmethod
def get_device_count(self):
raise NotImplementedError
@abstractmethod
def get_device_info_by_index(self):
raise NotImplementedError
@abstractmethod
def get_default_output_device_info(self):
r... | 20.480769 | 46 | 0.699531 | 99 | 1,065 | 7.343434 | 0.323232 | 0.257221 | 0.34663 | 0.507565 | 0.675378 | 0.447043 | 0.240715 | 0 | 0 | 0 | 0 | 0 | 0.243192 | 1,065 | 51 | 47 | 20.882353 | 0.901985 | 0 | 0 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.305556 | false | 0 | 0.027778 | 0 | 0.388889 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c7938372f573665a1ea1d911a4aad413a4cc429e | 9 | py | Python | hdp/process/img/recognition.py | Open-Health-Data-Project/ohdp | 9b7e339ecf09cb9319ee4d507327701619b70317 | [
"BSD-3-Clause"
] | 10 | 2020-05-06T17:59:37.000Z | 2021-02-15T23:11:05.000Z | hdp/process/img/recognition.py | Open-Health-Data-Project/ohdp | 9b7e339ecf09cb9319ee4d507327701619b70317 | [
"BSD-3-Clause"
] | 2 | 2020-07-02T16:36:23.000Z | 2020-07-14T21:51:07.000Z | hdp/process/img/recognition.py | Open-Health-Data-Project/ohdp | 9b7e339ecf09cb9319ee4d507327701619b70317 | [
"BSD-3-Clause"
] | 11 | 2020-05-08T18:49:55.000Z | 2020-06-29T17:33:10.000Z | # Team 4
| 4.5 | 8 | 0.555556 | 2 | 9 | 2.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.333333 | 9 | 1 | 9 | 9 | 0.666667 | 0.666667 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c79f42ec44757bad85071709751e9c50e18cdf07 | 411 | py | Python | BiliReminder/Apps/User/forms.py | HoBeedzc/BiliReminder | bf9f2bde7e41cb3c0816b39159d5a916b01609fa | [
"MIT"
] | 2 | 2021-02-22T15:01:36.000Z | 2021-12-17T03:15:02.000Z | BiliReminder/Apps/User/forms.py | HoBeedzc/BiliReminder | bf9f2bde7e41cb3c0816b39159d5a916b01609fa | [
"MIT"
] | null | null | null | BiliReminder/Apps/User/forms.py | HoBeedzc/BiliReminder | bf9f2bde7e41cb3c0816b39159d5a916b01609fa | [
"MIT"
] | null | null | null | from django import forms
class LoginForm(forms.Form):
uid = forms.CharField(required=True)
pwd = forms.CharField(required=True)
class SignupForm(forms.Form):
email = forms.CharField(required=True)
name = forms.CharField(required=True)
pwd = forms.CharField(required=True)
pwd2 = forms.CharFie... | 22.833333 | 42 | 0.727494 | 51 | 411 | 5.862745 | 0.333333 | 0.327759 | 0.51505 | 0.608696 | 0.585284 | 0.367893 | 0.367893 | 0.367893 | 0.367893 | 0 | 0 | 0.00289 | 0.158151 | 411 | 17 | 43 | 24.176471 | 0.861272 | 0 | 0 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.090909 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
c7a1bac432af2c592332d43f6838cc948070bf52 | 159 | py | Python | run.py | timkpaine/live-pnl-test | 04898a9552c3858d1960d602722f5e23c75037a7 | [
"Apache-2.0"
] | null | null | null | run.py | timkpaine/live-pnl-test | 04898a9552c3858d1960d602722f5e23c75037a7 | [
"Apache-2.0"
] | 4 | 2018-06-01T03:56:15.000Z | 2019-01-01T00:42:39.000Z | run.py | timkpaine/live-pnl-test | 04898a9552c3858d1960d602722f5e23c75037a7 | [
"Apache-2.0"
] | 1 | 2019-11-27T17:59:09.000Z | 2019-11-27T17:59:09.000Z | import os
from app import app, socketio
if __name__ == "__main__":
socketio.run(app, host='0.0.0.0', debug=True, port=int(os.environ.get('PORT', 8080)))
| 22.714286 | 89 | 0.679245 | 27 | 159 | 3.703704 | 0.666667 | 0.06 | 0.06 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058394 | 0.138365 | 159 | 6 | 90 | 26.5 | 0.671533 | 0 | 0 | 0 | 0 | 0 | 0.119497 | 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 |
c7d33b392ae41b64beeccadc3ef9b5a108ef8d0e | 9,646 | py | Python | ci/test_kernelsMatricesStore.py | joacorapela/svGPFA | 181c03f47a3b7023ac7f873c2ec98cba54a73feb | [
"MIT"
] | 2 | 2020-09-01T16:46:20.000Z | 2022-02-28T19:43:04.000Z | ci/test_kernelsMatricesStore.py | joacorapela/svGPFA | 181c03f47a3b7023ac7f873c2ec98cba54a73feb | [
"MIT"
] | 13 | 2020-12-22T20:16:28.000Z | 2021-06-01T16:18:00.000Z | ci/test_kernelsMatricesStore.py | joacorapela/svGPFA | 181c03f47a3b7023ac7f873c2ec98cba54a73feb | [
"MIT"
] | 1 | 2020-03-26T18:14:52.000Z | 2020-03-26T18:14:52.000Z |
import sys
import os
import pdb
import math
from scipy.io import loadmat
import numpy as np
import torch
sys.path.append("../src")
from stats.kernels import PeriodicKernel, ExponentialQuadraticKernel
from stats.svGPFA.kernelsMatricesStore import IndPointsLocsKMS, IndPointsLocsAndAllTimesKMS, IndPointsLocsAndAssocTimes... | 50.768421 | 136 | 0.657164 | 1,188 | 9,646 | 5.260101 | 0.103535 | 0.048168 | 0.069611 | 0.070731 | 0.724756 | 0.716115 | 0.708113 | 0.697232 | 0.697232 | 0.68603 | 0 | 0.021795 | 0.191375 | 9,646 | 189 | 137 | 51.037037 | 0.779359 | 0.00705 | 0 | 0.719745 | 0 | 0 | 0.060677 | 0.021397 | 0 | 0 | 0 | 0 | 0.031847 | 1 | 0.019108 | false | 0 | 0.057325 | 0 | 0.076433 | 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 |
c7d8248cc0e26addc70430bfdd058ab6bc0777ff | 235 | py | Python | inbm-lib/tests/unit/inbm_vision_lib/test_path_prefixes.py | ahameedx/intel-inb-manageability | aca445fa4cef0b608e6e88e74476547e10c06073 | [
"Apache-2.0"
] | 5 | 2021-12-13T21:19:31.000Z | 2022-01-18T18:29:43.000Z | inbm-lib/tests/unit/inbm_vision_lib/test_path_prefixes.py | ahameedx/intel-inb-manageability | aca445fa4cef0b608e6e88e74476547e10c06073 | [
"Apache-2.0"
] | 45 | 2021-12-30T17:21:09.000Z | 2022-03-29T22:47:32.000Z | inbm-lib/tests/unit/inbm_vision_lib/test_path_prefixes.py | ahameedx/intel-inb-manageability | aca445fa4cef0b608e6e88e74476547e10c06073 | [
"Apache-2.0"
] | 4 | 2022-01-26T17:42:54.000Z | 2022-03-30T04:48:04.000Z | from unittest import TestCase
from mock import patch
class TestPathPrefixes(TestCase):
@patch('platform.system', return_value='Windows')
def test_client_creation(self, platform):
import inbm_vision_lib.path_prefixes
| 23.5 | 53 | 0.770213 | 29 | 235 | 6.034483 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153191 | 235 | 9 | 54 | 26.111111 | 0.879397 | 0 | 0 | 0 | 0 | 0 | 0.093617 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1bf84faa7e3c45eda282863998c46996250727c5 | 79 | py | Python | core/api/request/eval_request.py | rits-dajare/DaaS | ab8483250a1a2b2838c316ba71fdaf748130dff1 | [
"MIT"
] | 7 | 2020-07-20T12:03:06.000Z | 2021-05-22T15:57:18.000Z | core/api/request/eval_request.py | averak/DaaS | ab8483250a1a2b2838c316ba71fdaf748130dff1 | [
"MIT"
] | 19 | 2020-08-28T10:23:53.000Z | 2021-11-17T23:48:45.000Z | core/api/request/eval_request.py | averak/DaaS | ab8483250a1a2b2838c316ba71fdaf748130dff1 | [
"MIT"
] | 2 | 2020-08-08T21:20:01.000Z | 2021-05-20T01:37:46.000Z | from pydantic import BaseModel
class EvalRequest(BaseModel):
dajare: str
| 13.166667 | 30 | 0.772152 | 9 | 79 | 6.777778 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177215 | 79 | 5 | 31 | 15.8 | 0.938462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1bfa8ae48cc09d84cb0e3fdb290358125d24227f | 106 | py | Python | djangovalidators/apps.py | jpic/django-validators | c7a017060befe6659aceaa0577cd32a04db93583 | [
"MIT"
] | 5 | 2019-03-19T11:25:17.000Z | 2020-08-29T05:35:37.000Z | djangovalidators/apps.py | jpic/django-validators | c7a017060befe6659aceaa0577cd32a04db93583 | [
"MIT"
] | null | null | null | djangovalidators/apps.py | jpic/django-validators | c7a017060befe6659aceaa0577cd32a04db93583 | [
"MIT"
] | 4 | 2020-05-15T16:15:08.000Z | 2020-08-19T18:35:16.000Z | from django.apps import AppConfig
class DurationwidgetConfig(AppConfig):
name = 'django_validators'
| 17.666667 | 38 | 0.792453 | 11 | 106 | 7.545455 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141509 | 106 | 5 | 39 | 21.2 | 0.912088 | 0 | 0 | 0 | 0 | 0 | 0.160377 | 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 |
4041d7acf078257ff501697242c162955f95e427 | 651 | py | Python | servidor/machine_learning/static_beacons.py | FelipeLimaM/ItsMyLife-Framework | c1d1ce89db1882a2594b126ac6407fca6d9255aa | [
"MIT"
] | null | null | null | servidor/machine_learning/static_beacons.py | FelipeLimaM/ItsMyLife-Framework | c1d1ce89db1882a2594b126ac6407fca6d9255aa | [
"MIT"
] | null | null | null | servidor/machine_learning/static_beacons.py | FelipeLimaM/ItsMyLife-Framework | c1d1ce89db1882a2594b126ac6407fca6d9255aa | [
"MIT"
] | null | null | null | '''
This class returns the hardcoded static beacons (for now)
'''
class StaticBeacons():
def build(self,df):
static = ["0C:F3:EE:09:3A:01", "0C:F3:EE:09:38:3C", "0C:F3:EE:09:39:55",
"0C:F3:EE:09:36:47", "0C:F3:EE:09:39:A4", "0C:F3:EE:09:38:EF",
"0C:F3:EE:09:35:E0", "20:91:48:DF:2D:... | 40.6875 | 80 | 0.520737 | 140 | 651 | 2.421429 | 0.464286 | 0.129794 | 0.19469 | 0.259587 | 0.330383 | 0.283186 | 0.235988 | 0.235988 | 0.235988 | 0.235988 | 0 | 0.284314 | 0.21659 | 651 | 15 | 81 | 43.4 | 0.380392 | 0.087558 | 0 | 0 | 0 | 0 | 0.551195 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.1 | false | 0 | 0 | 0 | 0.3 | 0 | 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 |
404b279b4d76afad23b17f7cb47117beb729bbd4 | 235 | py | Python | mezzanine_fluent_pages/mezzanine_page/apps.py | sjdines/mezzanine-fluent-pages | 43c804756acc9ba039846d2d9d6584fed3837f94 | [
"BSD-2-Clause"
] | 1 | 2016-05-04T12:05:29.000Z | 2016-05-04T12:05:29.000Z | mezzanine_fluent_pages/mezzanine_page/apps.py | sjdines/mezzanine-fluent-pages | 43c804756acc9ba039846d2d9d6584fed3837f94 | [
"BSD-2-Clause"
] | null | null | null | mezzanine_fluent_pages/mezzanine_page/apps.py | sjdines/mezzanine-fluent-pages | 43c804756acc9ba039846d2d9d6584fed3837f94 | [
"BSD-2-Clause"
] | null | null | null | from django.apps import AppConfig
class FluentMezzaninePageConfig(AppConfig):
"""
App configuration for the `mezzanine_page` app.
"""
label = 'fluent_mezzanine_page'
name = 'mezzanine_fluent_pages.mezzanine_page'
| 23.5 | 51 | 0.73617 | 25 | 235 | 6.68 | 0.68 | 0.233533 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178723 | 235 | 9 | 52 | 26.111111 | 0.865285 | 0.2 | 0 | 0 | 0 | 0 | 0.337209 | 0.337209 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
40621f74a7414673fdbe08f5c6ee5400d8a1fd78 | 112 | py | Python | django_orghierarchy/apps.py | City-of-Turku/django-orghierarchy | 5dd6b402b1954654c5d5c0791ef8db59f1f3db76 | [
"MIT"
] | 6 | 2019-12-27T15:01:14.000Z | 2022-02-03T19:19:19.000Z | django_orghierarchy/apps.py | City-of-Turku/django-orghierarchy | 5dd6b402b1954654c5d5c0791ef8db59f1f3db76 | [
"MIT"
] | 6 | 2017-11-14T11:51:39.000Z | 2019-12-13T09:00:38.000Z | django_orghierarchy/apps.py | City-of-Turku/django-orghierarchy | 5dd6b402b1954654c5d5c0791ef8db59f1f3db76 | [
"MIT"
] | 6 | 2017-11-08T13:34:53.000Z | 2022-02-03T19:19:22.000Z | from django.apps import AppConfig
class DjangoOrghierarchyConfig(AppConfig):
name = 'django_orghierarchy'
| 18.666667 | 42 | 0.803571 | 11 | 112 | 8.090909 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133929 | 112 | 5 | 43 | 22.4 | 0.917526 | 0 | 0 | 0 | 0 | 0 | 0.169643 | 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 |
4073cbc6777e860f562d4afc18e094d563269c67 | 26,274 | py | Python | xchem_db/models.py | TJGorrie/pipeline | 95d7e728a71ade41e2fc089777c61510a94eabed | [
"Apache-2.0"
] | null | null | null | xchem_db/models.py | TJGorrie/pipeline | 95d7e728a71ade41e2fc089777c61510a94eabed | [
"Apache-2.0"
] | null | null | null | xchem_db/models.py | TJGorrie/pipeline | 95d7e728a71ade41e2fc089777c61510a94eabed | [
"Apache-2.0"
] | null | null | null | # This is an auto-generated Django model module.
# You'll have to do the following manually to clean this up:
# * Rearrange models' order
# * Make sure each model has one field with primary_key=True
# * Make sure each ForeignKey has `on_delete` set to the desired behavior.
# * Remove `managed = False` lines if ... | 47.086022 | 120 | 0.724671 | 3,454 | 26,274 | 5.35524 | 0.115229 | 0.098611 | 0.145321 | 0.204033 | 0.782613 | 0.761367 | 0.671028 | 0.527707 | 0.431638 | 0.369033 | 0 | 0.005741 | 0.158065 | 26,274 | 557 | 121 | 47.170557 | 0.830433 | 0.052485 | 0 | 0.242697 | 1 | 0 | 0.083451 | 0.052479 | 0 | 0 | 0 | 0.001795 | 0 | 1 | 0 | false | 0 | 0.008989 | 0 | 0.804494 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
4084d37358eca1aab0f46b1693bc1dc5e34986ec | 6,675 | py | Python | tests/components/climate/test_device_action.py | miccico/core | 14c205384171dee59c1a908f8449f9864778b2dc | [
"Apache-2.0"
] | 6 | 2017-08-02T19:26:39.000Z | 2020-03-14T22:47:41.000Z | tests/components/climate/test_device_action.py | miccico/core | 14c205384171dee59c1a908f8449f9864778b2dc | [
"Apache-2.0"
] | 58 | 2020-08-03T07:33:02.000Z | 2022-03-31T06:02:05.000Z | tests/components/climate/test_device_action.py | miccico/core | 14c205384171dee59c1a908f8449f9864778b2dc | [
"Apache-2.0"
] | 14 | 2018-08-19T16:28:26.000Z | 2021-09-02T18:26:53.000Z | """The tests for Climate device actions."""
import pytest
import voluptuous_serialize
import homeassistant.components.automation as automation
from homeassistant.components.climate import DOMAIN, const, device_action
from homeassistant.helpers import config_validation as cv, device_registry
from homeassistant.setup im... | 32.881773 | 88 | 0.594607 | 723 | 6,675 | 5.146611 | 0.160443 | 0.047299 | 0.032518 | 0.029024 | 0.746842 | 0.741467 | 0.733674 | 0.718624 | 0.675625 | 0.651975 | 0 | 0.011621 | 0.290936 | 6,675 | 202 | 89 | 33.044554 | 0.774562 | 0.021423 | 0 | 0.514793 | 0 | 0 | 0.164384 | 0.015746 | 0 | 0 | 0 | 0 | 0.071006 | 1 | 0.011834 | false | 0 | 0.047337 | 0 | 0.071006 | 0.005917 | 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 |
40869fc64c7b4f47893154af2bdf0e5cd337ecd8 | 90 | py | Python | yir/relay/__init__.py | zhiqwang/yir | 5dae3060e40ccc24804ef38591a03d4ca36b38c1 | [
"Apache-2.0"
] | 4 | 2021-11-16T08:54:02.000Z | 2021-11-16T10:39:31.000Z | yir/relay/__init__.py | zhiqwang/huluir | 5dae3060e40ccc24804ef38591a03d4ca36b38c1 | [
"Apache-2.0"
] | 4 | 2021-12-06T19:02:54.000Z | 2022-03-07T07:14:48.000Z | yir/relay/__init__.py | zhiqwang/huluir | 5dae3060e40ccc24804ef38591a03d4ca36b38c1 | [
"Apache-2.0"
] | null | null | null | # Copyright (c) 2021, Zhiqiang Wang. All Rights Reserved.
from .dot import JitVisualizer
| 22.5 | 57 | 0.766667 | 12 | 90 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.052632 | 0.155556 | 90 | 3 | 58 | 30 | 0.855263 | 0.611111 | 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 |
409d52edcc2a0ccd941f44d0d5abeeaec3cbd1d1 | 4,164 | py | Python | test/python/testfiledatabase.py | neuml/paperetl | 5b2737db07c88d0249c9768b67e6fa8eb344eb6d | [
"Apache-2.0"
] | 95 | 2020-07-10T17:51:14.000Z | 2022-03-30T21:03:59.000Z | test/python/testfiledatabase.py | neuml/paperetl | 5b2737db07c88d0249c9768b67e6fa8eb344eb6d | [
"Apache-2.0"
] | 40 | 2020-07-24T20:07:44.000Z | 2021-12-17T18:09:53.000Z | test/python/testfiledatabase.py | neuml/paperetl | 5b2737db07c88d0249c9768b67e6fa8eb344eb6d | [
"Apache-2.0"
] | 12 | 2020-07-16T01:16:51.000Z | 2022-02-19T19:01:48.000Z | """
File ETL to database tests
"""
import sqlite3
# pylint: disable=E0401
from paperetl.file.execute import Execute
from testprocess import TestProcess
from utils import Utils
class TestFileDatabase(TestProcess):
"""
File ETL to database tests
"""
@classmethod
def setUpClass(cls):
"""
... | 41.227723 | 97 | 0.662104 | 201 | 4,164 | 13.716418 | 0.572139 | 0.011607 | 0.006529 | 0.012332 | 0.015959 | 0 | 0 | 0 | 0 | 0 | 0 | 0.422754 | 0.256964 | 4,164 | 100 | 98 | 41.64 | 0.468326 | 0.090538 | 0 | 0 | 0 | 0 | 0.557273 | 0.527463 | 0 | 0 | 0 | 0 | 0 | 1 | 0.113208 | false | 0 | 0.075472 | 0 | 0.207547 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
40b6dcb0a22af4a47844bcd381a0cb6e4fe1d8cc | 89 | py | Python | stinkin/lincoln/apps.py | NewsNerdsAtCoJMC/ProjectTicoTeam7 | 904ce0d74b986a64e8bedf31c499b6f57bb65863 | [
"MIT"
] | null | null | null | stinkin/lincoln/apps.py | NewsNerdsAtCoJMC/ProjectTicoTeam7 | 904ce0d74b986a64e8bedf31c499b6f57bb65863 | [
"MIT"
] | null | null | null | stinkin/lincoln/apps.py | NewsNerdsAtCoJMC/ProjectTicoTeam7 | 904ce0d74b986a64e8bedf31c499b6f57bb65863 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class LincolnConfig(AppConfig):
name = 'lincoln'
| 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 |
40dcce655a25818e5ce58c54ad016f1404c89e3e | 75 | py | Python | src/model/final_test.py | Nix-code/Nix-code-Neural-Machine-Translation-communication-system-to-diminish-language-barrier | f54d3ad007a3a6b20101522bf9cc6300fb89cdf7 | [
"MIT"
] | 9 | 2021-12-31T01:31:41.000Z | 2022-01-09T12:24:28.000Z | src/model/final_test.py | Nix-code/Nix-code-Neural-Machine-Translation-communication-system-to-diminish-language-barrier | f54d3ad007a3a6b20101522bf9cc6300fb89cdf7 | [
"MIT"
] | null | null | null | src/model/final_test.py | Nix-code/Nix-code-Neural-Machine-Translation-communication-system-to-diminish-language-barrier | f54d3ad007a3a6b20101522bf9cc6300fb89cdf7 | [
"MIT"
] | 2 | 2021-12-31T01:31:44.000Z | 2022-01-04T11:41:39.000Z | from translate import*
'''load the saved latest checkpoint'''
mycheck()
| 10.714286 | 38 | 0.72 | 9 | 75 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 75 | 6 | 39 | 12.5 | 0.857143 | 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 |
dc07cbb2de2936d0f628bedea3552a3b28f39dd3 | 225 | py | Python | files/ta/Splunk_TA_nix/bin/ta_unix/decorators.py | robruma/puppet-splunk | 48726344643642e37faa96561a2fab82a1088ae5 | [
"MIT"
] | 14 | 2015-01-08T15:50:36.000Z | 2019-11-02T15:31:51.000Z | files/ta/Splunk_TA_nix/bin/ta_unix/decorators.py | robruma/puppet-splunk | 48726344643642e37faa96561a2fab82a1088ae5 | [
"MIT"
] | 32 | 2015-02-08T14:24:41.000Z | 2020-07-08T17:16:30.000Z | files/ta/Splunk_TA_nix/bin/ta_unix/decorators.py | robruma/puppet-splunk | 48726344643642e37faa96561a2fab82a1088ae5 | [
"MIT"
] | 33 | 2015-02-17T21:01:35.000Z | 2021-02-23T10:39:49.000Z | import cherrypy
def host_app(fn):
def decorator(self, *args, **kwargs):
kwargs.update({'host_app' : cherrypy.request.path_info.split('/')[3]})
return fn(self, *args, **kwargs)
return decorator
| 20.454545 | 78 | 0.622222 | 28 | 225 | 4.892857 | 0.607143 | 0.10219 | 0.20438 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005682 | 0.217778 | 225 | 10 | 79 | 22.5 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0.040179 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
904c982a8d90ce6c2ab4748ae70fc0b98c35ec87 | 99 | py | Python | tests/utils.py | ninoseki/niteru | 9d05a221bffc6c399ce10586ce5546fdb0b483c8 | [
"MIT"
] | 3 | 2021-04-30T17:33:53.000Z | 2021-08-24T13:05:49.000Z | tests/utils.py | ninoseki/niteru | 9d05a221bffc6c399ce10586ce5546fdb0b483c8 | [
"MIT"
] | null | null | null | tests/utils.py | ninoseki/niteru | 9d05a221bffc6c399ce10586ce5546fdb0b483c8 | [
"MIT"
] | null | null | null | def almost_equal(x: float, y: float, threshold: float = 0.0001):
return abs(x - y) < threshold
| 33 | 64 | 0.666667 | 16 | 99 | 4.0625 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.191919 | 99 | 2 | 65 | 49.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
905ea98b3b9c8234e532f2dd1a21d958d38ce0f1 | 4,371 | py | Python | osgar/drivers/test_gps.py | m3d/osgar_archive_2020 | 556b534e59f8aa9b6c8055e2785c8ae75a1a0a0e | [
"MIT"
] | 12 | 2017-02-16T10:22:59.000Z | 2022-03-20T05:48:06.000Z | osgar/drivers/test_gps.py | m3d/osgar_archive_2020 | 556b534e59f8aa9b6c8055e2785c8ae75a1a0a0e | [
"MIT"
] | 618 | 2016-08-30T04:46:12.000Z | 2022-03-25T16:03:10.000Z | osgar/drivers/test_gps.py | robotika/osgar | 6f4f584d5553ab62c08a1c7bb493fefdc9033173 | [
"MIT"
] | 11 | 2016-08-27T20:02:55.000Z | 2022-03-07T08:53:53.000Z | import unittest
from osgar.drivers import gps
class GPSTest(unittest.TestCase):
def test_checksum(self):
self.assertEqual(gps.checksum(b'GNGGA,182433.10,5007.71882,N,01422.50467,E,1,05,6.09,305.1,M,44.3,M,,'), b'41')
def test_str2ms(self):
self.assertEqual(gps.str2ms(b'5007.71882'), 1804631... | 56.038462 | 124 | 0.641043 | 802 | 4,371 | 3.437656 | 0.269327 | 0.163221 | 0.127312 | 0.078346 | 0.367428 | 0.278201 | 0.206384 | 0.184621 | 0.15778 | 0.13239 | 0 | 0.248713 | 0.155571 | 4,371 | 77 | 125 | 56.766234 | 0.498239 | 0.034546 | 0 | 0.183333 | 0 | 0.216667 | 0.504389 | 0.47758 | 0 | 0 | 0.003796 | 0 | 0.266667 | 1 | 0.183333 | false | 0 | 0.033333 | 0 | 0.233333 | 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 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9076f84be858afb7efe68f05f078b81c502a2d92 | 84 | py | Python | pycodeanalyzer/core/languages/analyzers/__init__.py | miong/pycodeanalyzer | 6728d8f77385a1145db67952167710cf412b2343 | [
"MIT"
] | 3 | 2022-03-25T16:13:16.000Z | 2022-03-26T06:42:39.000Z | pycodeanalyzer/core/languages/analyzers/__init__.py | miong/pycodeanalyzer | 6728d8f77385a1145db67952167710cf412b2343 | [
"MIT"
] | null | null | null | pycodeanalyzer/core/languages/analyzers/__init__.py | miong/pycodeanalyzer | 6728d8f77385a1145db67952167710cf412b2343 | [
"MIT"
] | null | null | null | """Languages analyzer package.
Package of all parsers for supported languages.
"""
| 16.8 | 47 | 0.761905 | 10 | 84 | 6.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 84 | 4 | 48 | 21 | 0.888889 | 0.904762 | 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 |
909830c31710e9b28e6a74d98d27f92afdd668ed | 574 | py | Python | lib/galaxy/tool_shed/repository_type.py | rikeshi/galaxy | c536a877e4a9b3d12aa0d00fd4d5e705109a0d0a | [
"CC-BY-3.0"
] | 1,085 | 2015-02-18T16:14:38.000Z | 2022-03-30T23:52:07.000Z | lib/galaxy/tool_shed/repository_type.py | rikeshi/galaxy | c536a877e4a9b3d12aa0d00fd4d5e705109a0d0a | [
"CC-BY-3.0"
] | 11,253 | 2015-02-18T17:47:32.000Z | 2022-03-31T21:47:03.000Z | lib/galaxy/tool_shed/repository_type.py | rikeshi/galaxy | c536a877e4a9b3d12aa0d00fd4d5e705109a0d0a | [
"CC-BY-3.0"
] | 1,000 | 2015-02-18T16:18:10.000Z | 2022-03-29T08:22:56.000Z | REPOSITORY_DEPENDENCY_DEFINITION_FILENAME = 'repository_dependencies.xml'
REPOSITORY_SUITE_DEFINITION = 'repository_suite_definition'
TOOL_DEPENDENCY_DEFINITION = 'tool_dependency_definition'
TOOL_DEPENDENCY_DEFINITION_FILENAME = 'tool_dependencies.xml'
UNRESTRICTED = 'unrestricted'
types = [UNRESTRICTED, TOOL_DEPENDE... | 33.764706 | 79 | 0.827526 | 53 | 574 | 8.320755 | 0.207547 | 0.362812 | 0.326531 | 0.385488 | 0.61678 | 0.421769 | 0.421769 | 0.421769 | 0.331066 | 0 | 0 | 0 | 0.097561 | 574 | 16 | 80 | 35.875 | 0.851351 | 0 | 0 | 0 | 0 | 0 | 0.45122 | 0.400697 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
90ab0e00395646d5033fdb478a3f998bfd70959f | 95 | py | Python | dqs_poc_app/apps.py | Stark27398/dqs | 5a88a5195927643108a26a8f02792c800d092733 | [
"MIT"
] | null | null | null | dqs_poc_app/apps.py | Stark27398/dqs | 5a88a5195927643108a26a8f02792c800d092733 | [
"MIT"
] | 2 | 2020-06-05T23:25:52.000Z | 2021-06-10T22:00:48.000Z | dqs_poc_app/apps.py | unknownjedi/dqs | 5a88a5195927643108a26a8f02792c800d092733 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class DqsPocAppConfig(AppConfig):
name = 'dqs_poc_app'
| 15.833333 | 33 | 0.768421 | 12 | 95 | 5.916667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 95 | 5 | 34 | 19 | 0.8875 | 0 | 0 | 0 | 0 | 0 | 0.115789 | 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 |
90e6a76b53778063273175c30ae48af5319131b5 | 1,040 | py | Python | DigitalMeLib/servers/gedis/systemactors/chat.py | jdelrue/digital_me | e5c92c405c0cea419ce18d25863f35d1bfe5a428 | [
"Apache-2.0"
] | null | null | null | DigitalMeLib/servers/gedis/systemactors/chat.py | jdelrue/digital_me | e5c92c405c0cea419ce18d25863f35d1bfe5a428 | [
"Apache-2.0"
] | 72 | 2018-08-01T06:13:46.000Z | 2019-02-01T15:50:20.000Z | DigitalMeLib/servers/gedis/systemactors/chat.py | jdelrue/digital_me | e5c92c405c0cea419ce18d25863f35d1bfe5a428 | [
"Apache-2.0"
] | 2 | 2018-08-05T08:09:13.000Z | 2018-11-21T13:11:28.000Z | from jumpscale import j
JSBASE = j.application.jsbase_get_class()
class chat(JSBASE):
"""
"""
def __init__(self):
JSBASE.__init__(self)
self.chatbot = j.servers.gedis.latest.chatbot
# check self.chatbot.chatflows for the existing chatflows
# all required commands are her... | 20 | 65 | 0.506731 | 108 | 1,040 | 4.703704 | 0.481481 | 0.086614 | 0.074803 | 0.086614 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001517 | 0.366346 | 1,040 | 52 | 66 | 20 | 0.769348 | 0.264423 | 0 | 0 | 0 | 0 | 0.006667 | 0 | 0 | 0 | 0 | 0.019231 | 0 | 1 | 0.3125 | false | 0.0625 | 0.0625 | 0.0625 | 0.625 | 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 |
90f6c72806139881a8ebc1b7d89813853ca685a5 | 223 | py | Python | utils/paginator.py | mallusrgreatv2/PyHDISCORD | e414976441cbdb3a57b2c545ab164810bebe2e4b | [
"MIT"
] | 2 | 2021-07-05T12:00:39.000Z | 2021-07-05T12:00:49.000Z | utils/paginator.py | mallusrgreatv2/PyHDISCORD | e414976441cbdb3a57b2c545ab164810bebe2e4b | [
"MIT"
] | null | null | null | utils/paginator.py | mallusrgreatv2/PyHDISCORD | e414976441cbdb3a57b2c545ab164810bebe2e4b | [
"MIT"
] | null | null | null | import discord
from discord.ext.buttons import Paginator
class Pag(Paginator):
async def teardown(self):
try:
await self.page.clear_reactions()
except discord.HTTPException:
pass | 24.777778 | 45 | 0.659193 | 25 | 223 | 5.84 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.273543 | 223 | 9 | 46 | 24.777778 | 0.901235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.125 | 0.25 | 0 | 0.375 | 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 |
292d4ba914046b93da871cc64c66e0f7877c7898 | 153 | py | Python | ExerciciosPythonMundo1/53. Separando os dígitos.py | juniorppb/arquivos-python | 25690e9ba65352fc332a0517ef65f1042e44edff | [
"MIT"
] | null | null | null | ExerciciosPythonMundo1/53. Separando os dígitos.py | juniorppb/arquivos-python | 25690e9ba65352fc332a0517ef65f1042e44edff | [
"MIT"
] | null | null | null | ExerciciosPythonMundo1/53. Separando os dígitos.py | juniorppb/arquivos-python | 25690e9ba65352fc332a0517ef65f1042e44edff | [
"MIT"
] | null | null | null | frase = str(input('Digite o ano que você nasceu:'))
dividido = frase.split()
print(dividido[0])
print(dividido[1])
print(dividido[2])
print(dividido[3])
| 21.857143 | 51 | 0.718954 | 24 | 153 | 4.583333 | 0.666667 | 0.472727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028986 | 0.098039 | 153 | 6 | 52 | 25.5 | 0.768116 | 0 | 0 | 0 | 0 | 0 | 0.189542 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.666667 | 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 |
293f2dea2333a35854b9bfc524e0aa1a41adac7b | 121 | py | Python | hackpyapp_project/hackpyapp/admin.py | abdielfloresz/HackPyAppRep | 4f8110af44f5b9460383fc3f92b4056146da1bb4 | [
"MIT"
] | null | null | null | hackpyapp_project/hackpyapp/admin.py | abdielfloresz/HackPyAppRep | 4f8110af44f5b9460383fc3f92b4056146da1bb4 | [
"MIT"
] | null | null | null | hackpyapp_project/hackpyapp/admin.py | abdielfloresz/HackPyAppRep | 4f8110af44f5b9460383fc3f92b4056146da1bb4 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import BodyPart
admin.site.register(BodyPart) | 24.2 | 32 | 0.818182 | 17 | 121 | 5.823529 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115702 | 121 | 5 | 33 | 24.2 | 0.925234 | 0.214876 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
294414b219a98032b0a9eee382344f0e85e12208 | 206 | py | Python | FastDetector/models/CustomV1/__init__.py | Yoshi-E/Object-Localizer-Project | 0f55009581d207cce6345a3e2c44a8a91c9bb3c4 | [
"MIT"
] | null | null | null | FastDetector/models/CustomV1/__init__.py | Yoshi-E/Object-Localizer-Project | 0f55009581d207cce6345a3e2c44a8a91c9bb3c4 | [
"MIT"
] | null | null | null | FastDetector/models/CustomV1/__init__.py | Yoshi-E/Object-Localizer-Project | 0f55009581d207cce6345a3e2c44a8a91c9bb3c4 | [
"MIT"
] | null | null | null | from .model import FastModel
import sys
import os
# importing sibiling package
sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
if __name__ == "__main__":
print("LOAD OK") | 20.6 | 76 | 0.747573 | 30 | 206 | 4.733333 | 0.666667 | 0.126761 | 0.183099 | 0.211268 | 0.225352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121359 | 206 | 10 | 77 | 20.6 | 0.78453 | 0.126214 | 0 | 0 | 0 | 0 | 0.083799 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.166667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
29465cebc863e4386c2cd3e59ad0bf1aa0d5da8b | 102,740 | py | Python | synapse/tests/test_lib_grammar.py | kcreyts/synapse | fe740fd1e0febfa32f8d431b32ab48f8a0cf306e | [
"Apache-2.0"
] | 1 | 2021-02-15T22:07:05.000Z | 2021-02-15T22:07:05.000Z | synapse/tests/test_lib_grammar.py | kcreyts/synapse | fe740fd1e0febfa32f8d431b32ab48f8a0cf306e | [
"Apache-2.0"
] | null | null | null | synapse/tests/test_lib_grammar.py | kcreyts/synapse | fe740fd1e0febfa32f8d431b32ab48f8a0cf306e | [
"Apache-2.0"
] | null | null | null | import unittest
import lark # type: ignore
import synapse.exc as s_exc
import synapse.lib.parser as s_parser
import synapse.lib.datfile as s_datfile
import synapse.lib.grammar as s_grammar
import synapse.tests.utils as s_t_utils
# flake8: noqa: E501
_Queries = [
'metrics.edits.byprop inet:fqdn:domain --newv... | 83.190283 | 1,212 | 0.600088 | 12,511 | 102,740 | 4.918152 | 0.053473 | 0.043572 | 0.061237 | 0.052786 | 0.786514 | 0.712649 | 0.65172 | 0.594952 | 0.543173 | 0.502917 | 0 | 0.034432 | 0.16495 | 102,740 | 1,234 | 1,213 | 83.257699 | 0.682748 | 0.005353 | 0 | 0.02646 | 0 | 0.445255 | 0.864687 | 0.041844 | 0 | 0 | 0.000201 | 0 | 0 | 1 | 0.008212 | false | 0 | 0.006387 | 0 | 0.016423 | 0.005474 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
464290f187979035c17efc9448df151df58fb35e | 21 | py | Python | __init__.py | DrTol/radiator_performance-Python | e9e8244ed1ba23f7fb9b6e87fc4e4b6d6f55cc5b | [
"MIT"
] | 16 | 2019-11-03T13:33:47.000Z | 2022-03-30T04:14:54.000Z | __init__.py | DrTol/pressure_loss_calculator-Python | 44f2c2adce161ef663fd6774d1f1c188b4c7e5c3 | [
"MIT"
] | 1 | 2020-02-26T15:04:09.000Z | 2021-05-16T02:51:37.000Z | __init__.py | dgoo2308/GoalSeek_Python | d9deb0f212f382842fbc7cbe2aa269a1661224e8 | [
"MIT"
] | 17 | 2019-11-03T11:19:06.000Z | 2022-03-11T23:25:09.000Z | # Package maker :)
| 10.5 | 20 | 0.571429 | 2 | 21 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.285714 | 21 | 1 | 21 | 21 | 0.8 | 0.761905 | 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 |
46642680da160d37e662479701ae1e24d0995af8 | 516 | py | Python | run_analyzer.py | qjhqqqqq/biliob-spider | aa47addacaf0e9ea15f004765de2f0c38a6b27ec | [
"MIT"
] | 9 | 2020-06-18T15:36:45.000Z | 2021-12-10T02:27:41.000Z | run_analyzer.py | qjhqqqqq/biliob-spider | aa47addacaf0e9ea15f004765de2f0c38a6b27ec | [
"MIT"
] | null | null | null | run_analyzer.py | qjhqqqqq/biliob-spider | aa47addacaf0e9ea15f004765de2f0c38a6b27ec | [
"MIT"
] | 28 | 2020-09-25T10:36:55.000Z | 2022-01-22T02:33:01.000Z | from biliob_analyzer.author_analyzer import AuthorAnalyzer
from biliob_analyzer.video_analyzer import VideoAnalyzer
import biliob_analyzer.author_rate_caculate
import biliob_analyzer.author_fans_watcher
import biliob_analyzer.author_rank
# import biliob_analyzer.video_rank
from biliob_analyzer.add_keyword import AddKey... | 32.25 | 58 | 0.877907 | 65 | 516 | 6.569231 | 0.276923 | 0.229508 | 0.187354 | 0.18267 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063953 | 516 | 15 | 59 | 34.4 | 0.884058 | 0.063953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
466946fedc95414521f84771877435678a4a8fc1 | 5,379 | py | Python | project/apps/registration/migrations/0022_auto_20210702_1104.py | dbinetti/barberscore | 13c3d8193834bd2bb79922e28d3f5ab1675bdffd | [
"BSD-2-Clause"
] | 13 | 2017-08-07T15:45:49.000Z | 2019-07-03T13:58:50.000Z | project/apps/registration/migrations/0022_auto_20210702_1104.py | barberscore/barberscore-api | 2aa9f8598c18c28ba1d4a294f76fd055619f803e | [
"BSD-2-Clause"
] | 309 | 2017-07-14T02:34:12.000Z | 2022-01-14T21:37:02.000Z | project/apps/registration/migrations/0022_auto_20210702_1104.py | dbinetti/barberscore-django | 16fbd9945becda0a765bbdf52ad459a63655128f | [
"BSD-2-Clause"
] | 5 | 2017-08-07T14:01:07.000Z | 2019-06-24T19:44:55.000Z | # Generated by Django 2.2.20 on 2021-07-02 18:04
import apps.registration.models
from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('bhs', '0008_auto_20210702_1049'),
('registration',... | 70.776316 | 1,373 | 0.541922 | 640 | 5,379 | 4.498438 | 0.376563 | 0.037513 | 0.078152 | 0.090656 | 0.444599 | 0.423758 | 0.395971 | 0.380688 | 0.380688 | 0.380688 | 0 | 0.25967 | 0.211749 | 5,379 | 75 | 1,374 | 71.72 | 0.41934 | 0.008552 | 0 | 0.57971 | 1 | 0 | 0.12493 | 0.008629 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.057971 | 0 | 0.101449 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
46737510b9c57dee4aded2a5669ad3bffdf3be4b | 86 | py | Python | flappybird.py | namitakarnatak/crispy-potato | 67f3ebde3281cbf2073c45c2a2c7bb2d2311f338 | [
"bzip2-1.0.6"
] | null | null | null | flappybird.py | namitakarnatak/crispy-potato | 67f3ebde3281cbf2073c45c2a2c7bb2d2311f338 | [
"bzip2-1.0.6"
] | null | null | null | flappybird.py | namitakarnatak/crispy-potato | 67f3ebde3281cbf2073c45c2a2c7bb2d2311f338 | [
"bzip2-1.0.6"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Wed Mar 3 17:03:53 2021
@author: a
"""
| 12.285714 | 36 | 0.5 | 14 | 86 | 3.071429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193548 | 0.27907 | 86 | 6 | 37 | 14.333333 | 0.5 | 0.813953 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.