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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
47bb0b9675faa8418d859f85b988b418efd2613b | 2,067 | py | Python | test/test_add_user.py | DmitriyYa/python_training | e8cbb729eaf59ae19ce97c67532a5e0154ca5ca3 | [
"Apache-2.0"
] | null | null | null | test/test_add_user.py | DmitriyYa/python_training | e8cbb729eaf59ae19ce97c67532a5e0154ca5ca3 | [
"Apache-2.0"
] | null | null | null | test/test_add_user.py | DmitriyYa/python_training | e8cbb729eaf59ae19ce97c67532a5e0154ca5ca3 | [
"Apache-2.0"
] | null | null | null | from model.myuser import MyUser
import random
import pytest
def test_add_user(app, db, json_users, check_ui):
user = json_users
old_users = db.get_user_list()
app.user.create(user)
new_users = db.get_user_list()
old_users.append(user)
assert sorted(old_users, key=MyUser.id_or_max) == sorted(n... | 36.910714 | 111 | 0.742622 | 346 | 2,067 | 3.947977 | 0.112717 | 0.128111 | 0.175695 | 0.10981 | 0.838214 | 0.811859 | 0.811859 | 0.756955 | 0.695461 | 0.695461 | 0 | 0 | 0.17223 | 2,067 | 56 | 112 | 36.910714 | 0.798364 | 0 | 0 | 0.512821 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 1 | 0.076923 | false | 0 | 0.076923 | 0 | 0.153846 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
47bb6f4fd3767ca82f111945636c6910c2cded5c | 353 | py | Python | proxy/dependencies.py | Darshan-AS/dopagent_proxy | 555ccbeee00512514f9460ec6169413cba57dea3 | [
"MIT"
] | null | null | null | proxy/dependencies.py | Darshan-AS/dopagent_proxy | 555ccbeee00512514f9460ec6169413cba57dea3 | [
"MIT"
] | 3 | 2020-12-17T18:46:22.000Z | 2021-01-24T10:04:36.000Z | proxy/dependencies.py | Darshan-AS/dopagent_proxy | 555ccbeee00512514f9460ec6169413cba57dea3 | [
"MIT"
] | null | null | null | from fastapi.params import Depends
from fastapi.security.http import HTTPBasic, HTTPBasicCredentials
import services.dopagent_scraper as scraper
security = HTTPBasic()
def get_auth_token(
credentials: HTTPBasicCredentials = Depends(security),
) -> scraper.AuthToken:
return scraper.get_auth_token(credentials... | 27.153846 | 77 | 0.815864 | 39 | 353 | 7.25641 | 0.564103 | 0.077739 | 0.084806 | 0.162544 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113314 | 353 | 12 | 78 | 29.416667 | 0.904153 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.125 | 0.375 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 5 |
47d01f88a1663b5722b360c0ca959ca599827718 | 321 | py | Python | actions/lib/metrics.py | userlocalhost/stackstorm-datadog | 6c70d6023f63e6d5d805ceb6dd3bc1edeea8123d | [
"Apache-2.0"
] | 164 | 2015-01-17T16:08:33.000Z | 2021-08-03T02:34:07.000Z | actions/lib/metrics.py | userlocalhost/stackstorm-datadog | 6c70d6023f63e6d5d805ceb6dd3bc1edeea8123d | [
"Apache-2.0"
] | 442 | 2015-01-01T11:19:01.000Z | 2017-09-06T23:26:17.000Z | actions/lib/metrics.py | userlocalhost/stackstorm-datadog | 6c70d6023f63e6d5d805ceb6dd3bc1edeea8123d | [
"Apache-2.0"
] | 202 | 2015-01-13T00:37:40.000Z | 2020-11-07T11:30:10.000Z | from base import DatadogBaseAction
from datadog import api
class DatadogPostTSPoints(DatadogBaseAction):
def _run(self, **kwargs):
return api.Metric.send(kwargs.pop("series"), **kwargs)
class DatadogQueryTSPoints(DatadogBaseAction):
def _run(self, **kwargs):
return api.Metric.query(**kwargs)... | 24.692308 | 62 | 0.728972 | 35 | 321 | 6.628571 | 0.542857 | 0.172414 | 0.198276 | 0.232759 | 0.413793 | 0.413793 | 0.413793 | 0.413793 | 0 | 0 | 0 | 0 | 0.158879 | 321 | 12 | 63 | 26.75 | 0.859259 | 0 | 0 | 0.25 | 0 | 0 | 0.018692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
9a28fc5c81eaebc242d6878209d98d91439d7721 | 709 | py | Python | Python/PYHTON/Strings/UDMY1 - Slicing - Split - Indices.py | ccpn1988/Python | 94c84aa6f3ef9d05d64c3d87212dfd67694f4544 | [
"MIT"
] | null | null | null | Python/PYHTON/Strings/UDMY1 - Slicing - Split - Indices.py | ccpn1988/Python | 94c84aa6f3ef9d05d64c3d87212dfd67694f4544 | [
"MIT"
] | null | null | null | Python/PYHTON/Strings/UDMY1 - Slicing - Split - Indices.py | ccpn1988/Python | 94c84aa6f3ef9d05d64c3d87212dfd67694f4544 | [
"MIT"
] | null | null | null | nome = 'Caio'
sobrenome = 'Cesar Pereira Neves'
print(len(nome + ' ' + sobrenome))
print(f'Seu nome é {nome} e a primeira letra do seu nome é: "{nome[0]}" e o indice dela é 0')
print(f'Seu nome é {nome} e a segunda letra do seu nome é: "{nome[1]}" e o indice dela é 1')
print(f'Seu nome é {nome} e a terceira letra do ... | 47.266667 | 93 | 0.668547 | 143 | 709 | 3.335664 | 0.195804 | 0.1174 | 0.134172 | 0.201258 | 0.800839 | 0.691824 | 0.532495 | 0.532495 | 0.36478 | 0.36478 | 0 | 0.023932 | 0.174894 | 709 | 14 | 94 | 50.642857 | 0.786325 | 0 | 0 | 0 | 0 | 0.4 | 0.803672 | 0.09322 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.8 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
9a349e7ed87397188414e79b809186a711b3fd9a | 38 | py | Python | ambiente.py | josevini/editor-python | 830594b629ed06404f777218ae4ab97005fdeb83 | [
"MIT"
] | null | null | null | ambiente.py | josevini/editor-python | 830594b629ed06404f777218ae4ab97005fdeb83 | [
"MIT"
] | null | null | null | ambiente.py | josevini/editor-python | 830594b629ed06404f777218ae4ab97005fdeb83 | [
"MIT"
] | null | null | null | # testes
import editor
editor.menu()
| 7.6 | 13 | 0.736842 | 5 | 38 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 38 | 4 | 14 | 9.5 | 0.875 | 0.157895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
9a5023531abcabffa2547f59e2bc15ce8c75e6ce | 211 | py | Python | prplatform/core/views.py | piehei/prplatform | f3248b66019f207bb06a4681a62057e175408b3e | [
"MIT"
] | 3 | 2018-10-07T18:50:01.000Z | 2020-07-29T14:43:51.000Z | prplatform/core/views.py | piehei/prplatform | f3248b66019f207bb06a4681a62057e175408b3e | [
"MIT"
] | 9 | 2019-08-26T11:55:00.000Z | 2020-05-04T13:56:06.000Z | prplatform/core/views.py | piehei/prplatform | f3248b66019f207bb06a4681a62057e175408b3e | [
"MIT"
] | null | null | null | from django.conf import settings
from django.shortcuts import render
def handler_500(request):
return render(request,
'500.html',
{ 'contact_email': settings.ADMIN_CONTACT_EMAIL })
| 23.444444 | 62 | 0.691943 | 25 | 211 | 5.68 | 0.64 | 0.140845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0.222749 | 211 | 8 | 63 | 26.375 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0.099526 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
7be6d6f6dfac779f98d298bb03de004f187a92c2 | 105 | py | Python | mtsg/commands/__init__.py | stjude/mutspec | 59a4ccc0fcda9b041637e27d7e9f6a2135581e31 | [
"MIT"
] | 1 | 2020-12-24T19:51:35.000Z | 2020-12-24T19:51:35.000Z | mtsg/commands/__init__.py | stjude/mtsg | 59a4ccc0fcda9b041637e27d7e9f6a2135581e31 | [
"MIT"
] | null | null | null | mtsg/commands/__init__.py | stjude/mtsg | 59a4ccc0fcda9b041637e27d7e9f6a2135581e31 | [
"MIT"
] | 1 | 2021-02-08T14:28:24.000Z | 2021-02-08T14:28:24.000Z | from .init import init as init
from .run import run as run
from .visualize import visualize as visualize
| 26.25 | 45 | 0.8 | 18 | 105 | 4.666667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 105 | 3 | 46 | 35 | 0.965517 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d02eb5379f29523843ae9380b15a8ed225de9fad | 80 | py | Python | 2. Recognising Faces/Source/utils/__init__.py | PacktPublishing/Learning-Python-Artificial-Intelligence-by-Example | 77300e5b7b1ba36c31fc8c03d1962689513f04a1 | [
"MIT"
] | 25 | 2018-11-23T11:05:24.000Z | 2022-02-06T20:09:04.000Z | 2. Recognising Faces/Source/utils/__init__.py | PacktPublishing/Learning-Python-Artificial-Intelligence-by-Example | 77300e5b7b1ba36c31fc8c03d1962689513f04a1 | [
"MIT"
] | 2 | 2018-12-07T22:36:13.000Z | 2019-07-08T10:12:04.000Z | 2. Recognising Faces/Source/utils/__init__.py | PacktPublishing/Learning-Python-Artificial-Intelligence-by-Example | 77300e5b7b1ba36c31fc8c03d1962689513f04a1 | [
"MIT"
] | 17 | 2018-12-03T13:37:49.000Z | 2021-08-10T14:33:33.000Z | from utils.image_utils import show_side_by_side, load_image_as_array, show_image | 80 | 80 | 0.9 | 15 | 80 | 4.266667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 80 | 1 | 80 | 80 | 0.853333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d04b6d7596a78c43a452d9e046063cc8798207ce | 160 | py | Python | ephesus/allenest.py | tdaylan/tesstarg | 470310b0620961b10762cb6a6b0e14ff536a43a2 | [
"MIT"
] | 1 | 2021-09-28T18:51:53.000Z | 2021-09-28T18:51:53.000Z | ephesus/allenest.py | tdaylan/ephesus | 07e58bd86b89aab4330e2f2b4ea5327d8bc6e573 | [
"MIT"
] | null | null | null | ephesus/allenest.py | tdaylan/ephesus | 07e58bd86b89aab4330e2f2b4ea5327d8bc6e573 | [
"MIT"
] | null | null | null | import allesfitter
import os
pathalle = os.getcwd() + '/'
allesfitter.show_initial_guess(pathalle)
allesfitter.ns_fit(pathalle)
allesfitter.ns_output(pathalle)
| 22.857143 | 40 | 0.81875 | 20 | 160 | 6.35 | 0.55 | 0.299213 | 0.330709 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 160 | 6 | 41 | 26.666667 | 0.858108 | 0 | 0 | 0 | 0 | 0 | 0.00625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d08c76217368de952625e7f4646ffa98d26f4fe9 | 56 | py | Python | tinkoff_invest/__init__.py | asakharov/tinkoff_invest | 1f85dbdb038ace24fc52da9bfae573b4fada0abb | [
"MIT"
] | 1 | 2021-12-08T10:06:02.000Z | 2021-12-08T10:06:02.000Z | tinkoff_invest/__init__.py | asakharov/tinkoff_invest | 1f85dbdb038ace24fc52da9bfae573b4fada0abb | [
"MIT"
] | null | null | null | tinkoff_invest/__init__.py | asakharov/tinkoff_invest | 1f85dbdb038ace24fc52da9bfae573b4fada0abb | [
"MIT"
] | 3 | 2021-09-24T14:01:48.000Z | 2022-01-06T12:05:38.000Z | from . session import ProductionSession, SandboxSession
| 28 | 55 | 0.857143 | 5 | 56 | 9.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 56 | 1 | 56 | 56 | 0.96 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d0c74a1f39c33b74234572c225217ef28b17abd6 | 246 | py | Python | handlers/api.py | gph03n1x/Hurricane | 629cc6838242a07f004773f243d3c4ce386ea3d8 | [
"MIT"
] | 1 | 2018-09-25T11:13:54.000Z | 2018-09-25T11:13:54.000Z | handlers/api.py | gph03n1x/Hurricane | 629cc6838242a07f004773f243d3c4ce386ea3d8 | [
"MIT"
] | null | null | null | handlers/api.py | gph03n1x/Hurricane | 629cc6838242a07f004773f243d3c4ce386ea3d8 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Third party libraries
import tornado.web
class ApiHandler(tornado.web.RequestHandler):
def post(self):
"""
TODO: not yet implemented
:return:
"""
pass
| 16.4 | 45 | 0.573171 | 27 | 246 | 5.222222 | 0.925926 | 0.141844 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005747 | 0.292683 | 246 | 14 | 46 | 17.571429 | 0.804598 | 0.402439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 5 |
d0dc3647380620e76d67c0d012bba005f98ead11 | 290 | py | Python | __init__.py | LAION-AI/crawlingathome | 43a477777fb403046d67224747cde1dac9f2094a | [
"MIT"
] | 11 | 2021-06-02T03:46:52.000Z | 2021-09-11T22:19:12.000Z | __init__.py | LAION-AI/crawlingathome | 43a477777fb403046d67224747cde1dac9f2094a | [
"MIT"
] | 9 | 2021-06-14T07:46:20.000Z | 2021-08-28T22:50:46.000Z | __init__.py | LAION-AI/crawlingathome | 43a477777fb403046d67224747cde1dac9f2094a | [
"MIT"
] | 7 | 2021-06-01T11:59:36.000Z | 2022-03-20T13:44:18.000Z | from .version import PrintVersion as _printversion
_printversion()
from .core import init, print, HybridClient, CPUClient, GPUClient
from .temp import TempCPUWorker as FullWATClient
from .recycler import dump, load
from .version import VERSION as __version__
from .errors import *
| 32.222222 | 66 | 0.796552 | 35 | 290 | 6.428571 | 0.514286 | 0.097778 | 0.151111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155172 | 290 | 8 | 67 | 36.25 | 0.918367 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.857143 | 0 | 0.857143 | 0.428571 | 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 | 1 | 0 | 5 |
d0fcfb778539e8fcd1df136b95e1609078487841 | 114 | py | Python | src/main/jython/__run__.py | rzabini/gradle-sphinx | 693c62c49dd7a1bbe05f9aeeeebd7d83ef984a8c | [
"Apache-2.0"
] | 1 | 2016-07-07T14:49:32.000Z | 2016-07-07T14:49:32.000Z | src/main/jython/__run__.py | rzabini/gradle-sphinx | 693c62c49dd7a1bbe05f9aeeeebd7d83ef984a8c | [
"Apache-2.0"
] | null | null | null | src/main/jython/__run__.py | rzabini/gradle-sphinx | 693c62c49dd7a1bbe05f9aeeeebd7d83ef984a8c | [
"Apache-2.0"
] | null | null | null | import sys
from sphinx import cmdline
sys.argv.pop(0)
sys.argv.insert(0, "sphinx-build")
cmdline.main(sys.argv)
| 14.25 | 34 | 0.754386 | 20 | 114 | 4.3 | 0.55 | 0.244186 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019608 | 0.105263 | 114 | 7 | 35 | 16.285714 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ef7b3d4eb23f2b8ce29c635d9803f4360f8c4dbf | 6,887 | py | Python | sara_flexbe_states/src/sara_flexbe_states/TourGuide.py | WalkingMachine/sara_behaviors | fcb55d274331915cd39d7d444546f17a39f85a44 | [
"BSD-3-Clause"
] | 5 | 2018-05-07T19:58:08.000Z | 2021-04-21T10:49:05.000Z | sara_flexbe_states/src/sara_flexbe_states/TourGuide.py | WalkingMachine/sara_behaviors | fcb55d274331915cd39d7d444546f17a39f85a44 | [
"BSD-3-Clause"
] | 21 | 2017-05-26T01:20:06.000Z | 2021-01-26T23:03:36.000Z | sara_flexbe_states/src/sara_flexbe_states/TourGuide.py | WalkingMachine/sara_behaviors | fcb55d274331915cd39d7d444546f17a39f85a44 | [
"BSD-3-Clause"
] | 2 | 2019-07-22T07:21:20.000Z | 2019-11-11T20:49:22.000Z | #!/usr/bin/env python
import rospy
from flexbe_core import EventState, Logger
'''
Created on 6.07.2019
@author: Huynh-Anh Le
'''
class TourGuide(EventState):
'''
Implements a state will give the sequence to get to the object needed.
state will return the sequence to travel to the object's room.
>... | 63.768519 | 5,281 | 0.631625 | 1,047 | 6,887 | 4.126075 | 0.148997 | 0.048611 | 0.027778 | 0.051852 | 0.684259 | 0.675 | 0.665509 | 0.626852 | 0.6 | 0.569676 | 0 | 0.001959 | 0.184551 | 6,887 | 107 | 5,282 | 64.364486 | 0.767272 | 0.005372 | 0 | 0 | 0 | 0.588235 | 0.675792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.058824 | 0.117647 | null | null | 0.058824 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
ef9dd00e69275b642ea01d3fb7f12512c215220b | 81 | py | Python | src/quiltz/id/__init__.py | qwaneu/quiltz | c6e5319848e44690de9ef292de88f6c71d53cf7f | [
"MIT"
] | null | null | null | src/quiltz/id/__init__.py | qwaneu/quiltz | c6e5319848e44690de9ef292de88f6c71d53cf7f | [
"MIT"
] | null | null | null | src/quiltz/id/__init__.py | qwaneu/quiltz | c6e5319848e44690de9ef292de88f6c71d53cf7f | [
"MIT"
] | null | null | null | import warnings
warnings.warn("deprecated", DeprecationWarning)
from .id import * | 27 | 47 | 0.814815 | 9 | 81 | 7.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08642 | 81 | 3 | 48 | 27 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
efab4a104ca03e292f1a8242ab657ced60c09ca6 | 130 | py | Python | durgod/__init__.py | iliazeus/durgod | 6e81ccaa37ab615e72ecf6fbbfef45bc1b466359 | [
"MIT"
] | 2 | 2021-12-21T17:45:31.000Z | 2022-01-13T15:31:45.000Z | durgod/__init__.py | iliazeus/durgod | 6e81ccaa37ab615e72ecf6fbbfef45bc1b466359 | [
"MIT"
] | 2 | 2021-12-20T19:12:11.000Z | 2021-12-22T07:53:54.000Z | durgod/__init__.py | iliazeus/durgod | 6e81ccaa37ab615e72ecf6fbbfef45bc1b466359 | [
"MIT"
] | null | null | null | import usb
from . import constants
from . import messages
from .constants import Matrix, Key, RgbEffect
from .keyboard import *
| 16.25 | 45 | 0.776923 | 17 | 130 | 5.941176 | 0.529412 | 0.19802 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169231 | 130 | 7 | 46 | 18.571429 | 0.935185 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
efbc15b160b87fad563c0ae4274c1e7ee85c2be1 | 29 | py | Python | requests_monitor/tests/__init__.py | fanatid/django-requests-monitor | 4aa1f797e8c4e94572c6bc12819abd4501b0d1e4 | [
"BSD-3-Clause"
] | 1 | 2018-05-08T00:42:44.000Z | 2018-05-08T00:42:44.000Z | requests_monitor/tests/__init__.py | fanatid/django-requests-monitor | 4aa1f797e8c4e94572c6bc12819abd4501b0d1e4 | [
"BSD-3-Clause"
] | null | null | null | requests_monitor/tests/__init__.py | fanatid/django-requests-monitor | 4aa1f797e8c4e94572c6bc12819abd4501b0d1e4 | [
"BSD-3-Clause"
] | null | null | null | from builtin_storage import * | 29 | 29 | 0.862069 | 4 | 29 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 1 | 29 | 29 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4bf48d7028fee161ec61864741f3690355fc2579 | 54 | py | Python | SeleniumWrapper_JE/selenium_wrapper/selenium_utils_wrapper/__init__.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | SeleniumWrapper_JE/selenium_wrapper/selenium_utils_wrapper/__init__.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | SeleniumWrapper_JE/selenium_wrapper/selenium_utils_wrapper/__init__.py | JE-Chen/je_old_repo | a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5 | [
"MIT"
] | null | null | null | from selenium_wrapper.selenium_utils_wrapper import *
| 27 | 53 | 0.888889 | 7 | 54 | 6.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 54 | 1 | 54 | 54 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4bfdde697440161097ce625ff6e39f64e9d257e8 | 23,661 | py | Python | apps/hardspot/views.py | Sunbird-Ed/evolve-api | 371b39422839762e32401340456c13858cb8e1e9 | [
"MIT"
] | 1 | 2019-02-27T15:26:11.000Z | 2019-02-27T15:26:11.000Z | apps/hardspot/views.py | Sunbird-Ed/evolve-api | 371b39422839762e32401340456c13858cb8e1e9 | [
"MIT"
] | 9 | 2019-12-16T10:09:46.000Z | 2022-03-11T23:42:12.000Z | apps/hardspot/views.py | Sunbird-Ed/evolve-api | 371b39422839762e32401340456c13858cb8e1e9 | [
"MIT"
] | null | null | null | from django.shortcuts import render
from rest_framework import status
from rest_framework.generics import (
ListAPIView,
ListCreateAPIView,
ListAPIView,
RetrieveUpdateAPIView,)
from rest_framework.response import Response
from rest_framework.permissions import IsAuthenticated
from rest_framework.decorat... | 53.775 | 519 | 0.649254 | 2,642 | 23,661 | 5.610901 | 0.089705 | 0.029142 | 0.049582 | 0.063748 | 0.793848 | 0.777388 | 0.75027 | 0.726727 | 0.706692 | 0.703319 | 0 | 0.007039 | 0.24944 | 23,661 | 439 | 520 | 53.897494 | 0.827693 | 0 | 0 | 0.668435 | 0 | 0.005305 | 0.147526 | 0.018013 | 0 | 0 | 0 | 0 | 0 | 1 | 0.039788 | false | 0 | 0.068966 | 0 | 0.302387 | 0.002653 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ef01d3756b91ea83e886a2ce57da9b67e7342ae0 | 712 | py | Python | objs/EbWrapper.py | danilocgsilva/awsebdirect | 3958ee73dac259b5493ea123aadee28bd6321802 | [
"MIT"
] | null | null | null | objs/EbWrapper.py | danilocgsilva/awsebdirect | 3958ee73dac259b5493ea123aadee28bd6321802 | [
"MIT"
] | null | null | null | objs/EbWrapper.py | danilocgsilva/awsebdirect | 3958ee73dac259b5493ea123aadee28bd6321802 | [
"MIT"
] | null | null | null | class EbWrapper:
def set_eb_raw_json_data(self, eb_raw_json_data: dict):
if not type(eb_raw_json_data).__name__ == 'dict':
raise TypeError('The entered data must be of type dict')
self.eb_raw_json_data = eb_raw_json_data
return self
def get_environment_name(self):
... | 23.733333 | 68 | 0.69382 | 103 | 712 | 4.368932 | 0.31068 | 0.111111 | 0.2 | 0.288889 | 0.393333 | 0.317778 | 0.317778 | 0.137778 | 0 | 0 | 0 | 0 | 0.22191 | 712 | 29 | 69 | 24.551724 | 0.812274 | 0 | 0 | 0 | 0 | 0 | 0.133427 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.3125 | 0.8125 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
ef159b3e91aa0917df68c01c3a38577166a8efe8 | 173 | py | Python | pokerscores/api/tests.py | dannytrigo/django-pokerscores | 657da3dcf4aec59387ccfdad404536c5a0f4e9e1 | [
"Apache-2.0"
] | null | null | null | pokerscores/api/tests.py | dannytrigo/django-pokerscores | 657da3dcf4aec59387ccfdad404536c5a0f4e9e1 | [
"Apache-2.0"
] | 6 | 2018-11-14T00:20:26.000Z | 2018-11-14T02:17:08.000Z | pokerscores/api/tests.py | nmaludy/django-pokerscores | 1b854cde0bacfa3230be5b5e9bb812ca5c5f066f | [
"Apache-2.0"
] | 1 | 2019-10-23T22:30:14.000Z | 2019-10-23T22:30:14.000Z | # -*- coding: utf-8 -*-
# TODO uncomment when we get tests working
# from __future__ import unicode_literals
# from django.test import TestCase
# Create your tests here.
| 19.222222 | 42 | 0.734104 | 24 | 173 | 5.083333 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007042 | 0.179191 | 173 | 8 | 43 | 21.625 | 0.852113 | 0.919075 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.125 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ef6303b465410a24d5e7bd82a0031a969bc5d56c | 42 | py | Python | Tag_01/a-03_hello_world.py | MrMontag/internship-june-2021 | 44bcf06c50535c0cadee3d305b0a0da9653b1cf1 | [
"CC0-1.0"
] | null | null | null | Tag_01/a-03_hello_world.py | MrMontag/internship-june-2021 | 44bcf06c50535c0cadee3d305b0a0da9653b1cf1 | [
"CC0-1.0"
] | null | null | null | Tag_01/a-03_hello_world.py | MrMontag/internship-june-2021 | 44bcf06c50535c0cadee3d305b0a0da9653b1cf1 | [
"CC0-1.0"
] | null | null | null | #!/usr/bin/python3
print("Hallo World!")
| 10.5 | 21 | 0.666667 | 6 | 42 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0.095238 | 42 | 3 | 22 | 14 | 0.710526 | 0.404762 | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
32560c5f136c366622e792ab5035808a103e9490 | 731 | py | Python | terrascript/guacamole/r.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 507 | 2017-07-26T02:58:38.000Z | 2022-01-21T12:35:13.000Z | terrascript/guacamole/r.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 135 | 2017-07-20T12:01:59.000Z | 2021-10-04T22:25:40.000Z | terrascript/guacamole/r.py | mjuenema/python-terrascript | 6d8bb0273a14bfeb8ff8e950fe36f97f7c6e7b1d | [
"BSD-2-Clause"
] | 81 | 2018-02-20T17:55:28.000Z | 2022-01-31T07:08:40.000Z | # terrascript/guacamole/r.py
# Automatically generated by tools/makecode.py ()
import warnings
warnings.warn(
"using the 'legacy layout' is deprecated", DeprecationWarning, stacklevel=2
)
import terrascript
class guacamole_connection_group(terrascript.Resource):
pass
class guacamole_connection_kubernetes(... | 17.404762 | 79 | 0.793434 | 80 | 731 | 7.0625 | 0.4 | 0.19823 | 0.325664 | 0.346903 | 0.561062 | 0.561062 | 0 | 0 | 0 | 0 | 0 | 0.001585 | 0.136799 | 731 | 41 | 80 | 17.829268 | 0.893819 | 0.101231 | 0 | 0.380952 | 1 | 0 | 0.059633 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.380952 | 0.095238 | 0 | 0.47619 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
32a079a21184702f7b705c8f5a20a2e71dc7bf8d | 88 | py | Python | voters/admin.py | isidaruk/eurovision_project | 976743e66a2fed17c0513f17a9a7d35850e9cde5 | [
"MIT"
] | null | null | null | voters/admin.py | isidaruk/eurovision_project | 976743e66a2fed17c0513f17a9a7d35850e9cde5 | [
"MIT"
] | 8 | 2020-02-12T00:23:27.000Z | 2022-03-08T21:10:13.000Z | voters/admin.py | isidaruk/eurovision_project | 976743e66a2fed17c0513f17a9a7d35850e9cde5 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Voter
admin.site.register(Voter)
| 14.666667 | 32 | 0.806818 | 13 | 88 | 5.461538 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 88 | 5 | 33 | 17.6 | 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 | 1 | 0 | 0 | 5 |
32bfa25439b6e68044890884d687c8d322c1fd48 | 219 | py | Python | src/wechatpaypy/errors.py | gudong-coding/wechatpay-py | 99c6d6db04e08bf977ad5174b446b80489dddbdd | [
"MIT"
] | 2 | 2021-06-18T08:38:27.000Z | 2022-03-17T08:17:38.000Z | src/wechatpaypy/errors.py | gudong-coding/wechatpay-py | 99c6d6db04e08bf977ad5174b446b80489dddbdd | [
"MIT"
] | null | null | null | src/wechatpaypy/errors.py | gudong-coding/wechatpay-py | 99c6d6db04e08bf977ad5174b446b80489dddbdd | [
"MIT"
] | null | null | null | class WechatPayError(Exception):
pass
class APIError(WechatPayError):
pass
class ValidationError(APIError):
pass
class AuthenticationError(APIError):
pass
class RequestFailed(APIError):
pass
| 11.526316 | 36 | 0.73516 | 20 | 219 | 8.05 | 0.4 | 0.223602 | 0.21118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196347 | 219 | 18 | 37 | 12.166667 | 0.914773 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
086d8367b66080d5ea892b05bb5fd4b22a9db438 | 209 | py | Python | src/GUIMLEV1.1/main.py | Steins7/MyLittleERP | f0220196136c1a0eff5dd7de469dfdb3466c1d5d | [
"MIT"
] | null | null | null | src/GUIMLEV1.1/main.py | Steins7/MyLittleERP | f0220196136c1a0eff5dd7de469dfdb3466c1d5d | [
"MIT"
] | null | null | null | src/GUIMLEV1.1/main.py | Steins7/MyLittleERP | f0220196136c1a0eff5dd7de469dfdb3466c1d5d | [
"MIT"
] | 1 | 2019-06-03T21:18:21.000Z | 2019-06-03T21:18:21.000Z | import tkinter as tk
from matplotlib.figure import Figure
from matplotlib.backends.backend_tkagg import FigureCanvasTkAgg
import MLE
import UtilBar
import DisplayWindow
import NavigationBar
import Controller
| 20.9 | 63 | 0.875598 | 26 | 209 | 7 | 0.615385 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110048 | 209 | 9 | 64 | 23.222222 | 0.978495 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
08b146b4e3ca18ad8e0357d63975370471ede5b6 | 179 | py | Python | iced/world.py | Frigus27/Structure-Iced | 8709beb62fd237c7df69688d1e1257ac8f9ed781 | [
"MIT"
] | null | null | null | iced/world.py | Frigus27/Structure-Iced | 8709beb62fd237c7df69688d1e1257ac8f9ed781 | [
"MIT"
] | null | null | null | iced/world.py | Frigus27/Structure-Iced | 8709beb62fd237c7df69688d1e1257ac8f9ed781 | [
"MIT"
] | null | null | null | # world.py: the operator, manager of the game.
#
from iced.room import Room
class World(object):
current_room = Room() # the current room
#Todo: finish the world | 25.571429 | 53 | 0.670391 | 26 | 179 | 4.576923 | 0.615385 | 0.184874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.240223 | 179 | 7 | 54 | 25.571429 | 0.875 | 0.463687 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3e9434d34f5c288d4786580338251fc6b2a1cf0c | 13,403 | py | Python | tests/test_models.py | Bernardoow/gh | 585f57a9ce2efe5b12de3497933cb28065c164be | [
"MIT"
] | null | null | null | tests/test_models.py | Bernardoow/gh | 585f57a9ce2efe5b12de3497933cb28065c164be | [
"MIT"
] | 1 | 2018-05-26T16:40:47.000Z | 2018-05-26T18:05:50.000Z | tests/test_models.py | Bernardoow/gh | 585f57a9ce2efe5b12de3497933cb28065c164be | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import unittest
from src.models import FileModel, Aggregate
class FileModelTest(unittest.TestCase):
def setUp(self):
self.filemodel = FileModel('www', 0, 0, '-', 0, '-')
def test_model(self):
self.assertTrue(hasattr(self.filemodel.__attrs_attrs__, 'url'))
s... | 41.113497 | 87 | 0.618667 | 1,416 | 13,403 | 5.301554 | 0.062147 | 0.134541 | 0.170241 | 0.21753 | 0.939257 | 0.909151 | 0.865059 | 0.815239 | 0.694685 | 0.586386 | 0 | 0.012768 | 0.29292 | 13,403 | 325 | 88 | 41.24 | 0.779361 | 0.012087 | 0 | 0.632576 | 0 | 0 | 0.063458 | 0.031427 | 0 | 0 | 0 | 0 | 0.265152 | 1 | 0.117424 | false | 0 | 0.007576 | 0 | 0.132576 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3ed588fce3dcbc28237252678e03e78c6ee540a0 | 35 | py | Python | Data Scientist Career Path/3. Python Fundamentals/9. Python Classes/5. class variables.py | myarist/Codecademy | 2ba0f104bc67ab6ef0f8fb869aa12aa02f5f1efb | [
"MIT"
] | 23 | 2021-06-06T15:35:55.000Z | 2022-03-21T06:53:42.000Z | Data Scientist Career Path/3. Python Fundamentals/9. Python Classes/5. class variables.py | shivaniverma1/Data-Scientist | f82939a411484311171465591455880c8e354750 | [
"MIT"
] | null | null | null | Data Scientist Career Path/3. Python Fundamentals/9. Python Classes/5. class variables.py | shivaniverma1/Data-Scientist | f82939a411484311171465591455880c8e354750 | [
"MIT"
] | 9 | 2021-06-08T01:32:04.000Z | 2022-03-18T15:38:09.000Z | class Grade:
minimum_passing = 65 | 17.5 | 22 | 0.771429 | 5 | 35 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 0.171429 | 35 | 2 | 22 | 17.5 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
3ef4c921c8b544006deb4b7f484982b05ac65f49 | 104 | py | Python | apps/node/src/app/main/users/__init__.py | devtastic/PyGrid | c059c88baba65592547b9c98f218739daf1021db | [
"Apache-2.0"
] | 7 | 2020-04-20T22:22:08.000Z | 2020-07-25T17:32:08.000Z | apps/node/src/app/main/users/__init__.py | devtastic/PyGrid | c059c88baba65592547b9c98f218739daf1021db | [
"Apache-2.0"
] | 3 | 2020-04-24T21:20:57.000Z | 2020-05-28T09:17:02.000Z | apps/node/src/app/main/users/__init__.py | devtastic/PyGrid | c059c88baba65592547b9c98f218739daf1021db | [
"Apache-2.0"
] | 4 | 2020-04-24T22:32:37.000Z | 2020-05-25T19:29:20.000Z | from .role import Role
from .group import Group
from .user import User
from .usergroup import UserGroup
| 20.8 | 32 | 0.807692 | 16 | 104 | 5.25 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 104 | 4 | 33 | 26 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3efbf89894dedd76298e098efbf1b5eb8da34539 | 110 | py | Python | ref/functions/returnfunction.py | skrymets/python-core-and-advanced | 7cb486e9b9413d4cbb7fa67929d492094b2a3abb | [
"Apache-2.0"
] | 2 | 2019-04-13T14:10:38.000Z | 2021-01-17T00:57:51.000Z | functions/returnfunction.py | mohanasrujana/python-basic-codes | f6b1c1fdf407e43bd1e911e87193f1fe39e31841 | [
"MIT"
] | null | null | null | functions/returnfunction.py | mohanasrujana/python-basic-codes | f6b1c1fdf407e43bd1e911e87193f1fe39e31841 | [
"MIT"
] | 1 | 2020-02-20T15:44:36.000Z | 2020-02-20T15:44:36.000Z | def display():
def message():
return "Hello "
return message
fun=display()
print(fun())
| 11 | 23 | 0.563636 | 12 | 110 | 5.166667 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 110 | 9 | 24 | 12.222222 | 0.805195 | 0 | 0 | 0 | 0 | 0 | 0.055046 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.666667 | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
4104a7bc03b6566d854d880376a0160cfc23852a | 318 | py | Python | europython/schemas.py | arugifa/EuroPython-2018-Workshop | 862e3e8c3687f0036a716c54e0ad847d695cdda9 | [
"MIT"
] | 8 | 2018-07-23T17:15:28.000Z | 2019-01-24T15:05:52.000Z | europython/schemas.py | arugifa/EuroPython-2018-Workshop | 862e3e8c3687f0036a716c54e0ad847d695cdda9 | [
"MIT"
] | 14 | 2018-07-23T17:31:53.000Z | 2019-02-13T21:45:33.000Z | europython/schemas.py | arugifa/EuroPython-2018-Workshop | 862e3e8c3687f0036a716c54e0ad847d695cdda9 | [
"MIT"
] | 2 | 2018-07-24T00:32:47.000Z | 2018-07-24T08:53:51.000Z | from apistar import types, validators
class Article(types.Type):
"""Schema for :class:`europython.models.Article`."""
id = validators.Integer(description="Article's identifier.")
title = validators.String(description="Article's title.")
content = validators.String(description="Article's content.")
| 31.8 | 65 | 0.72956 | 36 | 318 | 6.444444 | 0.555556 | 0.232759 | 0.24569 | 0.293103 | 0.301724 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128931 | 318 | 9 | 66 | 35.333333 | 0.837545 | 0.144654 | 0 | 0 | 0 | 0 | 0.206767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
411addde9fa1d53c6f2b8ab86f3312bd6d0a6b86 | 23 | py | Python | AAEI/__init__.py | Kwabratseur/AAEI | 17f16f206e4383991984d111b5fedc589e036364 | [
"MIT"
] | null | null | null | AAEI/__init__.py | Kwabratseur/AAEI | 17f16f206e4383991984d111b5fedc589e036364 | [
"MIT"
] | null | null | null | AAEI/__init__.py | Kwabratseur/AAEI | 17f16f206e4383991984d111b5fedc589e036364 | [
"MIT"
] | null | null | null | from .AAEI import main
| 11.5 | 22 | 0.782609 | 4 | 23 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173913 | 23 | 1 | 23 | 23 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f5c30c440147eaec1b011c332463286fef06c438 | 91 | py | Python | ch09/ex02_Indexing.py | eroicaleo/LearningPython | 297d46eddce6e43ce0c160d2660dff5f5d616800 | [
"MIT"
] | 1 | 2020-10-12T13:33:29.000Z | 2020-10-12T13:33:29.000Z | ch09/ex02_Indexing.py | eroicaleo/LearningPython | 297d46eddce6e43ce0c160d2660dff5f5d616800 | [
"MIT"
] | null | null | null | ch09/ex02_Indexing.py | eroicaleo/LearningPython | 297d46eddce6e43ce0c160d2660dff5f5d616800 | [
"MIT"
] | 1 | 2016-11-09T07:28:45.000Z | 2016-11-09T07:28:45.000Z | #!/usr/local/bin/python3.3
L = [1, 2, 3, 4]
print(L[-1000:100])
L[3:1] = ['?']
print(L)
| 10.111111 | 26 | 0.505495 | 19 | 91 | 2.421053 | 0.631579 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.197368 | 0.164835 | 91 | 8 | 27 | 11.375 | 0.407895 | 0.274725 | 0 | 0 | 0 | 0 | 0.015385 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 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 | 1 | 0 | 5 |
eb0bd29249ec70858dd0768ae13a916a54b16e7a | 219 | py | Python | dfdatetime/__init__.py | puccia/dfdatetime | 4535e2f20015b195c2508095d9e1da2d55a06725 | [
"Apache-2.0"
] | null | null | null | dfdatetime/__init__.py | puccia/dfdatetime | 4535e2f20015b195c2508095d9e1da2d55a06725 | [
"Apache-2.0"
] | null | null | null | dfdatetime/__init__.py | puccia/dfdatetime | 4535e2f20015b195c2508095d9e1da2d55a06725 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""Digital Forensics Date and Time (dfDateTime).
dfDateTime, or Digital Forensics date and time, provides date and time
objects to preserve accuracy and precision.
"""
__version__ = '20180324'
| 24.333333 | 70 | 0.73516 | 28 | 219 | 5.607143 | 0.642857 | 0.133758 | 0.210191 | 0.292994 | 0.343949 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048649 | 0.155251 | 219 | 8 | 71 | 27.375 | 0.8 | 0.840183 | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
eb39dd47aeb5a9cc62d19f46b9e6f50ab2454afe | 17,256 | py | Python | data/data-pipeline/data_pipeline/etl/score/constants.py | snowcoding/justice40-tool | b6a6813bb5d617abf400cafc97da891618541558 | [
"CC0-1.0"
] | null | null | null | data/data-pipeline/data_pipeline/etl/score/constants.py | snowcoding/justice40-tool | b6a6813bb5d617abf400cafc97da891618541558 | [
"CC0-1.0"
] | null | null | null | data/data-pipeline/data_pipeline/etl/score/constants.py | snowcoding/justice40-tool | b6a6813bb5d617abf400cafc97da891618541558 | [
"CC0-1.0"
] | null | null | null | from pathlib import Path
import datetime
from data_pipeline.config import settings
from data_pipeline.score import field_names
# Base Paths
DATA_PATH = Path(settings.APP_ROOT) / "data"
TMP_PATH = DATA_PATH / "tmp"
FILES_PATH = Path(settings.APP_ROOT) / "files"
# Remote Paths
CENSUS_COUNTIES_ZIP_URL = "https://www2.... | 47.933333 | 111 | 0.826089 | 2,474 | 17,256 | 5.170574 | 0.133387 | 0.219669 | 0.157129 | 0.160256 | 0.763759 | 0.733583 | 0.714744 | 0.703174 | 0.672452 | 0.546513 | 0 | 0.011019 | 0.111208 | 17,256 | 359 | 112 | 48.066852 | 0.823042 | 0.068324 | 0 | 0.305921 | 0 | 0.003289 | 0.057595 | 0.00854 | 0 | 0 | 0 | 0.002786 | 0 | 1 | 0 | false | 0 | 0.013158 | 0 | 0.013158 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
eb4561f9230c0f39a2cc122f903440c56bd4faff | 121 | py | Python | hechuang/api/admin.py | VirtualBookStore/hechuang_backend | 421bdeca90eb174b117e8bd8ac0f4cb002461dcd | [
"MIT"
] | null | null | null | hechuang/api/admin.py | VirtualBookStore/hechuang_backend | 421bdeca90eb174b117e8bd8ac0f4cb002461dcd | [
"MIT"
] | 1 | 2021-06-28T19:34:17.000Z | 2021-06-29T02:25:24.000Z | hechuang/api/admin.py | VirtualBookStore/hechuang_backend | 421bdeca90eb174b117e8bd8ac0f4cb002461dcd | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import APIInfo
# Register your models here.
admin.site.register(APIInfo)
| 17.285714 | 32 | 0.801653 | 17 | 121 | 5.705882 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132231 | 121 | 6 | 33 | 20.166667 | 0.92381 | 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 | 1 | 0 | 0 | 5 |
de1bb63efddb3eb1e678d8fe7ffeefd26dcc69ad | 8,530 | py | Python | tests/test_pathlibutil.py | RhetTbull/autofile | b61235b29f8047699654ea101312bda257835e7c | [
"MIT"
] | 6 | 2021-11-18T17:33:04.000Z | 2022-01-08T04:51:55.000Z | tests/test_pathlibutil.py | RhetTbull/autofile | b61235b29f8047699654ea101312bda257835e7c | [
"MIT"
] | 8 | 2021-10-30T16:04:56.000Z | 2022-01-02T17:26:52.000Z | tests/test_pathlibutil.py | RhetTbull/autofile | b61235b29f8047699654ea101312bda257835e7c | [
"MIT"
] | null | null | null | """ test FileUtil """
import os
import os.path
import pathlib
import tempfile
import pytest
import autofile.pathlibutil
from autofile.pathlibutil import SYSTEM, PathlibUtil
TEST_FILE = "tests/test_files/pears.jpg"
TEST_FILE_NAME = "pears.jpg"
TEST_DIR = "tests/test_files"
# if on macOS and pyobjc is installed, tes... | 31.592593 | 77 | 0.698945 | 1,156 | 8,530 | 4.922145 | 0.08045 | 0.0529 | 0.027417 | 0.056942 | 0.83884 | 0.809842 | 0.765729 | 0.704921 | 0.656766 | 0.647276 | 0 | 0.001288 | 0.180891 | 8,530 | 269 | 78 | 31.710037 | 0.813081 | 0.206565 | 0 | 0.668675 | 0 | 0 | 0.06266 | 0.01446 | 0 | 0 | 0 | 0 | 0.186747 | 1 | 0.108434 | false | 0.006024 | 0.054217 | 0 | 0.162651 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
de2afb89cb97c5f7c1d8126656f122a619fc6ba7 | 175 | py | Python | utils/paths.py | herrfeder/RaaS | f2da76a0ddce9817117fa2226fe941056bed1620 | [
"MIT"
] | 1 | 2020-01-22T20:23:57.000Z | 2020-01-22T20:23:57.000Z | utils/paths.py | herrfeder/RaaS | f2da76a0ddce9817117fa2226fe941056bed1620 | [
"MIT"
] | null | null | null | utils/paths.py | herrfeder/RaaS | f2da76a0ddce9817117fa2226fe941056bed1620 | [
"MIT"
] | 1 | 2021-05-16T15:31:10.000Z | 2021-05-16T15:31:10.000Z |
PATH={ "amass":"../amass/amass",
"subfinder":"../subfinder",
"fierce":"../fierce/fierce/fierce.py",
"dirsearch":"../dirsearch/dirsearch.py"
}
| 25 | 47 | 0.525714 | 15 | 175 | 6.133333 | 0.4 | 0.391304 | 0.391304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222857 | 175 | 6 | 48 | 29.166667 | 0.676471 | 0 | 0 | 0 | 0 | 0 | 0.609195 | 0.293103 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
de63dbbab554c1326789a494af03698c7321f13a | 175 | py | Python | scripts/python/hackerrank/test.py | jeremiahmarks/dangerzone | fe2946b8463ed018d2136ca0eb178161ad370565 | [
"MIT"
] | 1 | 2015-08-15T05:25:35.000Z | 2015-08-15T05:25:35.000Z | scripts/python/hackerrank/test.py | jeremiahmarks/dangerzone | fe2946b8463ed018d2136ca0eb178161ad370565 | [
"MIT"
] | null | null | null | scripts/python/hackerrank/test.py | jeremiahmarks/dangerzone | fe2946b8463ed018d2136ca0eb178161ad370565 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Author: Jeremiah Marks
# @Date: 2015-01-10 22:59:14
# @Last Modified 2015-01-10
# @Last Modified time: 2015-01-10 23:03:19
| 21.875 | 42 | 0.64 | 31 | 175 | 3.612903 | 0.741935 | 0.160714 | 0.214286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251701 | 0.16 | 175 | 7 | 43 | 25 | 0.510204 | 0.925714 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
de6693957d60c0ba5ebc24bac5cc65643176b8d2 | 11,069 | py | Python | tests/unit/test_applications_ut.py | jlrgraham23/okta-sdk-python | 5d4ffa5402b7c1739f571dffd00b205eef5e1761 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_applications_ut.py | jlrgraham23/okta-sdk-python | 5d4ffa5402b7c1739f571dffd00b205eef5e1761 | [
"Apache-2.0"
] | null | null | null | tests/unit/test_applications_ut.py | jlrgraham23/okta-sdk-python | 5d4ffa5402b7c1739f571dffd00b205eef5e1761 | [
"Apache-2.0"
] | null | null | null | import aiohttp
import asyncio
import json
import pytest
import okta.models as models
from okta.client import Client as OktaClient
@pytest.mark.asyncio
async def test_set_provisioning_connection(monkeypatch, mocker):
org_url = "https://test.okta.com"
token = "TOKEN"
config = {'orgUrl': org_url, 'token': t... | 34.917981 | 143 | 0.583883 | 1,018 | 11,069 | 6.124754 | 0.128684 | 0.026945 | 0.038492 | 0.028869 | 0.828869 | 0.778508 | 0.738412 | 0.720609 | 0.693665 | 0.676343 | 0 | 0.003405 | 0.310236 | 11,069 | 316 | 144 | 35.028481 | 0.813229 | 0.029723 | 0 | 0.691729 | 0 | 0 | 0.298211 | 0.014347 | 0 | 0 | 0 | 0 | 0.090226 | 1 | 0.018797 | false | 0.045113 | 0.022556 | 0 | 0.116541 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
de763a5df07d5a2a25ecba8f7367168bea111ebc | 614 | py | Python | bip_utils/utils/mnemonic/__init__.py | 3rdIteration/bip_utils | 84abeff9158618a0ecf9a059c19fd1a3d882e724 | [
"MIT"
] | null | null | null | bip_utils/utils/mnemonic/__init__.py | 3rdIteration/bip_utils | 84abeff9158618a0ecf9a059c19fd1a3d882e724 | [
"MIT"
] | null | null | null | bip_utils/utils/mnemonic/__init__.py | 3rdIteration/bip_utils | 84abeff9158618a0ecf9a059c19fd1a3d882e724 | [
"MIT"
] | null | null | null | from bip_utils.utils.mnemonic.entropy_generator import EntropyGenerator
from bip_utils.utils.mnemonic.mnemonic_ex import MnemonicChecksumError
from bip_utils.utils.mnemonic.mnemonic import MnemonicLanguages, Mnemonic
from bip_utils.utils.mnemonic.mnemonic_decoder_base import MnemonicDecoderBase
from bip_utils.utils.mne... | 61.4 | 108 | 0.894137 | 68 | 614 | 7.852941 | 0.323529 | 0.09176 | 0.157303 | 0.222846 | 0.417603 | 0.370787 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061889 | 614 | 9 | 109 | 68.222222 | 0.927083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.777778 | 0 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
de896fdd971baec74ae49e725fdc5781e7b04d5e | 116 | py | Python | Todos/exc.py | MrKiven/Todo.py | 945090ce29daad740b9adf34ac8e859026fed3d5 | [
"MIT"
] | 17 | 2016-03-02T08:41:34.000Z | 2019-05-14T03:40:42.000Z | Todos/exc.py | prolen/Todo.py | 945090ce29daad740b9adf34ac8e859026fed3d5 | [
"MIT"
] | 4 | 2016-05-18T06:01:33.000Z | 2021-04-04T20:22:15.000Z | Todos/exc.py | prolen/Todo.py | 945090ce29daad740b9adf34ac8e859026fed3d5 | [
"MIT"
] | 4 | 2016-03-14T03:07:11.000Z | 2018-08-16T05:48:05.000Z | # -*- coding: utf-8 -*-
class InvalidTodoFile(Exception):
pass
class InvalidTodoStatus(Exception):
pass
| 11.6 | 35 | 0.672414 | 11 | 116 | 7.090909 | 0.727273 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.198276 | 116 | 9 | 36 | 12.888889 | 0.827957 | 0.181034 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
de9b38d479b1489edd702e5e71df10de7e244f83 | 83 | py | Python | imagebutler/apis/apis.py | ViiSiX/ImageButler | f3507b8ba130ff5f8660c9218e62ba1ac7444c75 | [
"BSD-3-Clause"
] | 1 | 2017-11-10T17:58:45.000Z | 2017-11-10T17:58:45.000Z | imagebutler/apis/apis.py | ViiSiX/ImageButler | f3507b8ba130ff5f8660c9218e62ba1ac7444c75 | [
"BSD-3-Clause"
] | 35 | 2017-11-15T08:14:52.000Z | 2018-08-14T13:36:59.000Z | imagebutler/apis/apis.py | ViiSiX/ImageButler | f3507b8ba130ff5f8660c9218e62ba1ac7444c75 | [
"BSD-3-Clause"
] | 2 | 2017-11-12T19:19:56.000Z | 2017-12-21T12:51:48.000Z | from ..imagebutler import api, config
from flask_restful import Resource, reqparse
| 27.666667 | 44 | 0.831325 | 11 | 83 | 6.181818 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120482 | 83 | 2 | 45 | 41.5 | 0.931507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dea542e796fd96ec43828e3945ae1d4765ed5160 | 6,831 | py | Python | tests/models/edx/test_enrollment.py | p-bizouard/ralph | 50a37f6b070dcb4109dcc49d8d885949a0099643 | [
"MIT"
] | 5 | 2020-06-26T10:44:23.000Z | 2022-01-26T11:41:03.000Z | tests/models/edx/test_enrollment.py | p-bizouard/ralph | 50a37f6b070dcb4109dcc49d8d885949a0099643 | [
"MIT"
] | 73 | 2020-02-18T15:09:25.000Z | 2022-03-14T13:32:20.000Z | tests/models/edx/test_enrollment.py | p-bizouard/ralph | 50a37f6b070dcb4109dcc49d8d885949a0099643 | [
"MIT"
] | 4 | 2020-02-27T12:52:10.000Z | 2021-11-23T19:45:07.000Z | """Tests for the enrollment event models"""
import json
from hypothesis import given, provisional, settings
from hypothesis import strategies as st
from ralph.models.edx.enrollment.fields.contexts import (
EdxCourseEnrollmentUpgradeClickedContextField,
EdxCourseEnrollmentUpgradeSucceededContextField,
)
from ... | 29.7 | 99 | 0.739862 | 685 | 6,831 | 7.172263 | 0.110949 | 0.054956 | 0.116019 | 0.063505 | 0.83106 | 0.81437 | 0.769184 | 0.739874 | 0.693059 | 0.693059 | 0 | 0.001754 | 0.165569 | 6,831 | 229 | 100 | 29.829694 | 0.860175 | 0.20041 | 0 | 0.625767 | 0 | 0 | 0.080557 | 0.0655 | 0 | 0 | 0 | 0 | 0.092025 | 1 | 0.06135 | false | 0 | 0.042945 | 0 | 0.104294 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
decf53208b0c184e1903073341931ae3d13ca3ee | 53 | py | Python | minkindr_python/python/minkindr/__init__.py | migueldelaiv/minkindr | 1ce815131f0688a81a54e9995d8ad2a79bc57b82 | [
"BSD-3-Clause"
] | 2 | 2020-11-24T11:16:48.000Z | 2021-04-02T05:14:44.000Z | minkindr_python/python/minkindr/__init__.py | migueldelaiv/minkindr | 1ce815131f0688a81a54e9995d8ad2a79bc57b82 | [
"BSD-3-Clause"
] | 1 | 2021-02-19T14:31:39.000Z | 2021-12-24T02:55:39.000Z | minkindr_python/python/minkindr/__init__.py | migueldelaiv/minkindr | 1ce815131f0688a81a54e9995d8ad2a79bc57b82 | [
"BSD-3-Clause"
] | 3 | 2021-03-24T08:34:25.000Z | 2022-02-28T07:17:54.000Z | import numpy_eigen
from libminkindr_python import *
| 13.25 | 32 | 0.849057 | 7 | 53 | 6.142857 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 53 | 3 | 33 | 17.666667 | 0.934783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dee9df7c6594dfd6b0fc4ebf2580788de69104ed | 84 | py | Python | motPapa/__init__.py | bru08/mot | a737c66ce80d71da3c9b69da3a6bbd6d6430031a | [
"MIT"
] | 2 | 2021-03-19T08:30:29.000Z | 2022-03-01T22:09:43.000Z | motPapa/__init__.py | bru08/mot | a737c66ce80d71da3c9b69da3a6bbd6d6430031a | [
"MIT"
] | 5 | 2019-12-23T16:38:18.000Z | 2022-03-12T00:10:16.000Z | motPapa/__init__.py | bru08/mot | a737c66ce80d71da3c9b69da3a6bbd6d6430031a | [
"MIT"
] | null | null | null | from .pedestrian_detector import *
from .mot_tracker import *
from .myUtil import *
| 21 | 34 | 0.785714 | 11 | 84 | 5.818182 | 0.636364 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 84 | 3 | 35 | 28 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
deeb6ade6f90748e695af15fd353fb0a6eacb310 | 7,751 | py | Python | WebServer/microservices/db/unittest/video_test.py | AnneEjsing/TrafficDataAnonymisation | 6ee5b4a46d53a656299d6a53896175b78008228a | [
"MIT"
] | 1 | 2020-03-12T13:27:58.000Z | 2020-03-12T13:27:58.000Z | WebServer/microservices/db/unittest/video_test.py | AnneEjsing/TrafficDataAnonymisation | 6ee5b4a46d53a656299d6a53896175b78008228a | [
"MIT"
] | 7 | 2020-04-02T12:47:45.000Z | 2022-03-02T07:35:49.000Z | WebServer/microservices/db/unittest/video_test.py | AnneEjsing/Traffic-Data-Anonymisation-Web | 6ee5b4a46d53a656299d6a53896175b78008228a | [
"MIT"
] | null | null | null | import json
import aiounittest
import testing.postgresql
import psycopg2
import unittest2
import sys
import os
sys.path.append(os.getcwd() + '/..')
import video
import dbresolver
# mock request to resemble aiohttp request
class request:
dic = {}
def __init__(self, dict):
self.dic = dict
async de... | 41.897297 | 208 | 0.682493 | 976 | 7,751 | 5.246926 | 0.133197 | 0.056239 | 0.106229 | 0.112478 | 0.836751 | 0.811756 | 0.779926 | 0.739309 | 0.668229 | 0.652216 | 0 | 0.109572 | 0.180493 | 7,751 | 184 | 209 | 42.125 | 0.696631 | 0.008257 | 0 | 0.547945 | 0 | 0 | 0.279984 | 0.18505 | 0 | 0 | 0 | 0 | 0.123288 | 1 | 0.054795 | false | 0.013699 | 0.061644 | 0 | 0.157534 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
720209412117859d90e082700225746b2b70efc5 | 79 | py | Python | python/ql/test/experimental/library-tests/frameworks/stdlib-py2/CodeExecution.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 4,036 | 2020-04-29T00:09:57.000Z | 2022-03-31T14:16:38.000Z | python/ql/test/experimental/library-tests/frameworks/stdlib-py2/CodeExecution.py | vadi2/codeql | a806a4f08696d241ab295a286999251b56a6860c | [
"MIT"
] | 2,970 | 2020-04-28T17:24:18.000Z | 2022-03-31T22:40:46.000Z | python/ql/test/library-tests/frameworks/stdlib-py2/CodeExecution.py | ScriptBox99/github-codeql | 2ecf0d3264db8fb4904b2056964da469372a235c | [
"MIT"
] | 794 | 2020-04-29T00:28:25.000Z | 2022-03-30T08:21:46.000Z | # exec statement is Python 2 specific
exec "print(42)" # $getCode="print(42)"
| 26.333333 | 40 | 0.696203 | 12 | 79 | 4.583333 | 0.75 | 0.254545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.074627 | 0.151899 | 79 | 2 | 41 | 39.5 | 0.746269 | 0.708861 | 0 | 0 | 0 | 0 | 0.45 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
722c600535b23aa14fa57dd25ecc9eafc1dbd753 | 97 | py | Python | examples/simple_example/simple_example/__init__.py | contains-io/rcli | 77e4113f7a16b9a7b92d04d30840fe21ae575e44 | [
"MIT"
] | 11 | 2017-03-14T00:08:34.000Z | 2020-08-14T10:59:06.000Z | examples/simple_example/simple_example/__init__.py | contains-io/rcli | 77e4113f7a16b9a7b92d04d30840fe21ae575e44 | [
"MIT"
] | 20 | 2017-03-12T09:40:19.000Z | 2019-10-21T08:51:39.000Z | examples/simple_example/simple_example/__init__.py | contains-io/rcli | 77e4113f7a16b9a7b92d04d30840fe21ae575e44 | [
"MIT"
] | 7 | 2017-03-14T22:16:14.000Z | 2022-01-17T21:05:05.000Z | def hello(name):
"""usage: say hello <name>"""
print("Hello, {name}!".format(name=name))
| 24.25 | 45 | 0.587629 | 13 | 97 | 4.384615 | 0.538462 | 0.473684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164948 | 97 | 3 | 46 | 32.333333 | 0.703704 | 0.237113 | 0 | 0 | 0 | 0 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
a0ce28bc494737f856865e703e6defe5be03d7a8 | 146 | py | Python | yaga_ga/evolutionary_algorithm/operators/multiple_individuals/crossover/__init__.py | alessandrolenzi/yaga | 872503ad04a2831135143750bc309188e5685284 | [
"MIT"
] | null | null | null | yaga_ga/evolutionary_algorithm/operators/multiple_individuals/crossover/__init__.py | alessandrolenzi/yaga | 872503ad04a2831135143750bc309188e5685284 | [
"MIT"
] | null | null | null | yaga_ga/evolutionary_algorithm/operators/multiple_individuals/crossover/__init__.py | alessandrolenzi/yaga | 872503ad04a2831135143750bc309188e5685284 | [
"MIT"
] | null | null | null | from .one_point import OnePointCrossoverOperator
from .two_points import TwoPointsCrossoverOperator
from .uniform import UniformCrossoverOperator
| 36.5 | 50 | 0.89726 | 14 | 146 | 9.214286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 146 | 3 | 51 | 48.666667 | 0.962687 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a0e029d16818e6be92a8c1e3ee7eed6ae09346c0 | 6,393 | py | Python | tests/test_applications.py | Lokaltog/axis | f602ef8089ed0332317274e0433f4ede75109533 | [
"MIT"
] | null | null | null | tests/test_applications.py | Lokaltog/axis | f602ef8089ed0332317274e0433f4ede75109533 | [
"MIT"
] | null | null | null | tests/test_applications.py | Lokaltog/axis | f602ef8089ed0332317274e0433f4ede75109533 | [
"MIT"
] | null | null | null | """Test Axis Applications API.
pytest --cov-report term-missing --cov=axis.applications tests/test_applications.py
"""
from asynctest import Mock
import pytest
from axis.applications import Applications
@pytest.fixture
def applications() -> Applications:
"""Returns the api_discovery mock object."""
mock_re... | 44.089655 | 271 | 0.714844 | 774 | 6,393 | 5.770026 | 0.134367 | 0.120914 | 0.053739 | 0.031348 | 0.818182 | 0.715629 | 0.714734 | 0.666144 | 0.637035 | 0.612629 | 0 | 0.016114 | 0.145784 | 6,393 | 144 | 272 | 44.395833 | 0.801685 | 0.041764 | 0 | 0.6 | 0 | 0.045455 | 0.388415 | 0.088776 | 0 | 0 | 0 | 0 | 0.681818 | 1 | 0.045455 | false | 0 | 0.027273 | 0 | 0.081818 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
19baa4585e6457fe7b945b182699a755c35cf014 | 237 | py | Python | biopandas/testutils/__init__.py | tahmidbintaslim/biopandas | 75a2d15584a61ad11536104fa280f2885454a394 | [
"BSD-3-Clause"
] | 453 | 2015-11-24T01:16:05.000Z | 2022-03-18T13:52:04.000Z | biopandas/testutils/__init__.py | tahmidbintaslim/biopandas | 75a2d15584a61ad11536104fa280f2885454a394 | [
"BSD-3-Clause"
] | 84 | 2015-11-24T07:41:53.000Z | 2022-03-17T00:37:37.000Z | biopandas/testutils/__init__.py | tahmidbintaslim/biopandas | 75a2d15584a61ad11536104fa280f2885454a394 | [
"BSD-3-Clause"
] | 115 | 2015-12-01T01:37:43.000Z | 2022-03-10T13:20:24.000Z | # BioPandas
# Author: Sebastian Raschka <mail@sebastianraschka.com>
# License: BSD 3 clause
# Project Website: http://rasbt.github.io/biopandas/
# Code Repository: https://github.com/rasbt/biopandas
from .testutils import assert_raises
| 29.625 | 55 | 0.780591 | 30 | 237 | 6.133333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004717 | 0.105485 | 237 | 7 | 56 | 33.857143 | 0.863208 | 0.793249 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
19d64647b544b64258acd8bc96a97e6d3c210241 | 61 | py | Python | gym_cityflow/envs/__init__.py | Skylark0924/Gamma_Reward | 2eed6e2ea246974946b16bb7743fa55219436580 | [
"Apache-2.0"
] | 12 | 2020-10-15T08:11:50.000Z | 2021-12-11T03:10:47.000Z | gym_cityflow/envs/__init__.py | Skylark0924/Gamma_Reward | 2eed6e2ea246974946b16bb7743fa55219436580 | [
"Apache-2.0"
] | null | null | null | gym_cityflow/envs/__init__.py | Skylark0924/Gamma_Reward | 2eed6e2ea246974946b16bb7743fa55219436580 | [
"Apache-2.0"
] | 2 | 2021-01-28T09:53:11.000Z | 2021-10-03T17:29:41.000Z | from gym_cityflow.envs.cityflow_env_ray import CityFlowEnvRay | 61 | 61 | 0.918033 | 9 | 61 | 5.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 61 | 1 | 61 | 61 | 0.913793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c2057b26c07406208e404ca9d67d6cd762228ca2 | 96 | py | Python | venv/lib/python3.8/site-packages/parso/python/prefix.py | GiulianaPola/select_repeats | 17a0d053d4f874e42cf654dd142168c2ec8fbd11 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/parso/python/prefix.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/parso/python/prefix.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/28/d2/30/3a117a8cfe84e10484a55ddd76b8fdd709bd6bb3fc39841bf6a7bfce97 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | 96 | 1 | 96 | 96 | 0.520833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c20fe493c27644863ed485df5b60b414ff160164 | 63 | py | Python | gym_fluids/gym_fluids/envs/__init__.py | kargarisaac/Urban_Driving_Simulator | a9cea0568562e233b7430e249b83fdd71c6d8341 | [
"MIT"
] | 1 | 2021-05-20T14:32:56.000Z | 2021-05-20T14:32:56.000Z | gym_fluids/gym_fluids/envs/__init__.py | kargarisaac/Urban_Driving_Simulator | a9cea0568562e233b7430e249b83fdd71c6d8341 | [
"MIT"
] | null | null | null | gym_fluids/gym_fluids/envs/__init__.py | kargarisaac/Urban_Driving_Simulator | a9cea0568562e233b7430e249b83fdd71c6d8341 | [
"MIT"
] | null | null | null | from gym_fluids.envs.fluids_env import FluidsEnv, FluidsVelEnv
| 31.5 | 62 | 0.873016 | 9 | 63 | 5.888889 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079365 | 63 | 1 | 63 | 63 | 0.913793 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c23be88c4b26f81dc7f82a274465e245cf89e1bc | 99 | py | Python | src/spaceone/inventory/connector/aws_elasticache_connector/__init__.py | jean1042/plugin-aws-cloud-services | 1cf192557b03478af33ae81f40b2a49f735716bb | [
"Apache-2.0"
] | 4 | 2020-06-22T01:48:07.000Z | 2020-08-24T00:51:09.000Z | src/spaceone/inventory/connector/aws_elasticache_connector/__init__.py | jean1042/plugin-aws-cloud-services | 1cf192557b03478af33ae81f40b2a49f735716bb | [
"Apache-2.0"
] | 2 | 2020-07-20T01:58:32.000Z | 2020-08-04T07:41:37.000Z | src/spaceone/inventory/connector/aws_elasticache_connector/__init__.py | jean1042/plugin-aws-cloud-services | 1cf192557b03478af33ae81f40b2a49f735716bb | [
"Apache-2.0"
] | 6 | 2020-06-22T09:19:40.000Z | 2020-09-17T06:35:37.000Z | from spaceone.inventory.connector.aws_elasticache_connector.connector import ElastiCacheConnector
| 33 | 97 | 0.909091 | 10 | 99 | 8.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050505 | 99 | 2 | 98 | 49.5 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c24b012e3102d997eabf41096867d0e43b3aa20f | 52 | py | Python | convlab2/policy/larl/multiwoz/__init__.py | ljw23/ConvLab-2 | 13d48ea0e441701bd66100689b6c25b561f15525 | [
"Apache-2.0"
] | 339 | 2020-03-04T09:43:22.000Z | 2022-03-26T17:27:38.000Z | convlab2/policy/larl/multiwoz/__init__.py | ljw23/ConvLab-2 | 13d48ea0e441701bd66100689b6c25b561f15525 | [
"Apache-2.0"
] | 122 | 2020-04-12T04:19:06.000Z | 2022-03-23T14:20:57.000Z | convlab2/policy/larl/multiwoz/__init__.py | ljw23/ConvLab-2 | 13d48ea0e441701bd66100689b6c25b561f15525 | [
"Apache-2.0"
] | 138 | 2020-02-18T16:48:04.000Z | 2022-03-26T17:27:43.000Z | from convlab2.policy.larl.multiwoz.larl import LaRL
| 26 | 51 | 0.846154 | 8 | 52 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.076923 | 52 | 1 | 52 | 52 | 0.895833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dfc9f95b9c1b20b2e56b8514c12560c239e8a3c1 | 59 | py | Python | enthought/pyface/ui/wx/directory_dialog.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/pyface/ui/wx/directory_dialog.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/pyface/ui/wx/directory_dialog.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from pyface.ui.wx.directory_dialog import *
| 19.666667 | 43 | 0.79661 | 9 | 59 | 5.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 59 | 2 | 44 | 29.5 | 0.884615 | 0.20339 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
dfeb08720a08925be4237bada3d3602aa7ca3337 | 1,499 | py | Python | guess_number_game/tests/test_utils.py | karinsasaki/Python_ML_projects | 56aacc8905782c6d876e1fc0a4bb0050f1388df8 | [
"MIT"
] | null | null | null | guess_number_game/tests/test_utils.py | karinsasaki/Python_ML_projects | 56aacc8905782c6d876e1fc0a4bb0050f1388df8 | [
"MIT"
] | null | null | null | guess_number_game/tests/test_utils.py | karinsasaki/Python_ML_projects | 56aacc8905782c6d876e1fc0a4bb0050f1388df8 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun Mar 8 12:57:15 2020
@author: sasaki
Notes: Working directory should be guess_number_game.
Run as python -m pytest ./tests/test_utils.py
"""
import pytest
import guess_number_game.utils as utils
def test_for_right_guess():
assert utils.eval_gues... | 22.044118 | 79 | 0.673115 | 224 | 1,499 | 4.352679 | 0.263393 | 0.043077 | 0.061538 | 0.092308 | 0.889231 | 0.835897 | 0.654359 | 0.588718 | 0.588718 | 0.535385 | 0 | 0.036007 | 0.18479 | 1,499 | 68 | 80 | 22.044118 | 0.761866 | 0.721815 | 0 | 0 | 0 | 0 | 0.09589 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.375 | true | 0 | 0.25 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
5f07a2155ae6c8ad79b87dd697545f32df488826 | 140 | py | Python | qtutils/measurements/testing/testin_mock_instrs.py | albe-jj/qtutils | c515baa6a4ef61de70b883d8bc9feda5c4d259b3 | [
"BSD-2-Clause"
] | null | null | null | qtutils/measurements/testing/testin_mock_instrs.py | albe-jj/qtutils | c515baa6a4ef61de70b883d8bc9feda5c4d259b3 | [
"BSD-2-Clause"
] | null | null | null | qtutils/measurements/testing/testin_mock_instrs.py | albe-jj/qtutils | c515baa6a4ef61de70b883d8bc9feda5c4d259b3 | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Thu Mar 11 22:28:32 2021
@author: atosato
"""
from qcodes.tests.instrument_mocks import MockParabola | 20 | 54 | 0.707143 | 21 | 140 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108333 | 0.142857 | 140 | 7 | 54 | 20 | 0.708333 | 0.542857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5f251c59c0c1fd26d36a65407e533634a55bd9a3 | 3,249 | py | Python | utils/english.py | DavidBuchanan314/cryptopals-python3 | fe53fb1d324639193451e11d2d93cb251bce3021 | [
"MIT"
] | null | null | null | utils/english.py | DavidBuchanan314/cryptopals-python3 | fe53fb1d324639193451e11d2d93cb251bce3021 | [
"MIT"
] | null | null | null | utils/english.py | DavidBuchanan314/cryptopals-python3 | fe53fb1d324639193451e11d2d93cb251bce3021 | [
"MIT"
] | null | null | null | from .stats import *
from .functional import *
# https://github.com/DavidBuchanan314/english-letter-freqs
byte_freqs = [
0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000,
0.000000, 0.000000, 0.022298, 0.000000, 0.000000, 0.022298, 0.000000, 0.000000,
0.000000, 0.000000, 0.000000, 0.000... | 43.905405 | 80 | 0.683595 | 619 | 3,249 | 3.579968 | 0.206785 | 0.540162 | 0.613718 | 1.017148 | 0.550993 | 0.550993 | 0.550993 | 0.541065 | 0.541065 | 0.521661 | 0 | 0.636364 | 0.1265 | 3,249 | 73 | 81 | 44.506849 | 0.144468 | 0.044629 | 0 | 0.305085 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001613 | 0 | 0.016949 | 1 | 0.033898 | false | 0 | 0.033898 | 0 | 0.101695 | 0 | 0 | 0 | 0 | null | 1 | 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 | 5 |
5f2db20781583c001f2ee52d125c5810d66abd09 | 304 | py | Python | tests/integration/projects/general_non_batch/tests/test_meta.py | Shumpei-Kikuta/BentoML | 4fe508934ab431ea5c414ee9d8b84c2104688381 | [
"Apache-2.0"
] | 2 | 2020-12-15T08:58:59.000Z | 2021-09-27T06:12:38.000Z | tests/integration/projects/general_non_batch/tests/test_meta.py | Shumpei-Kikuta/BentoML | 4fe508934ab431ea5c414ee9d8b84c2104688381 | [
"Apache-2.0"
] | 2 | 2020-08-13T05:55:02.000Z | 2020-08-27T23:58:39.000Z | tests/integration/projects/general_non_batch/tests/test_meta.py | Shumpei-Kikuta/BentoML | 4fe508934ab431ea5c414ee9d8b84c2104688381 | [
"Apache-2.0"
] | 2 | 2021-05-19T15:37:37.000Z | 2021-05-31T15:02:35.000Z | # pylint: disable=redefined-outer-name
import pytest
@pytest.mark.asyncio
async def test_api_server_meta(host):
await pytest.assert_request("GET", f"http://{host}/")
await pytest.assert_request("GET", f"http://{host}/healthz")
await pytest.assert_request("GET", f"http://{host}/docs.json")
| 30.4 | 66 | 0.717105 | 44 | 304 | 4.818182 | 0.568182 | 0.15566 | 0.240566 | 0.339623 | 0.528302 | 0.528302 | 0.528302 | 0.528302 | 0.358491 | 0 | 0 | 0 | 0.105263 | 304 | 9 | 67 | 33.777778 | 0.779412 | 0.118421 | 0 | 0 | 0 | 0 | 0.25188 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | true | 0 | 0.166667 | 0 | 0.166667 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a02e1c937211983296c94484f8679b11fd17719c | 184 | py | Python | rabbitgetapi/exceptions.py | Sidon/get-rabbitmq-messages | 8feff8c9b9edee863d875966f5e5f3a5eb6ab06a | [
"MIT"
] | 11 | 2022-01-10T13:49:39.000Z | 2022-01-11T05:57:45.000Z | rabbitgetapi/exceptions.py | Sidon/get-rabbitmq-messages | 8feff8c9b9edee863d875966f5e5f3a5eb6ab06a | [
"MIT"
] | null | null | null | rabbitgetapi/exceptions.py | Sidon/get-rabbitmq-messages | 8feff8c9b9edee863d875966f5e5f3a5eb6ab06a | [
"MIT"
] | null | null | null | """Module containing exceptions raised by ."""
# Copyleft 2021 Sidon Duarte
class GetRmqApiException(Exception):
"""Base class for all exceptions raised by twine."""
pass
| 16.727273 | 56 | 0.711957 | 21 | 184 | 6.238095 | 0.809524 | 0.244275 | 0.274809 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026846 | 0.190217 | 184 | 10 | 57 | 18.4 | 0.852349 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
a0424e979a26f1c041814206334cd8caeeaaa80d | 198 | py | Python | fulfillment/Warehouse/Warehouse.py | tat2ddaddy/EasyPost-Fulfillment | 4f04ac85e2da1054add8a7fed1a3bff65eea6214 | [
"MIT"
] | 1 | 2020-01-31T23:31:24.000Z | 2020-01-31T23:31:24.000Z | fulfillment/Warehouse/Warehouse.py | tat2ddaddy/EasyPost-Fulfillment | 4f04ac85e2da1054add8a7fed1a3bff65eea6214 | [
"MIT"
] | null | null | null | fulfillment/Warehouse/Warehouse.py | tat2ddaddy/EasyPost-Fulfillment | 4f04ac85e2da1054add8a7fed1a3bff65eea6214 | [
"MIT"
] | 1 | 2020-03-10T01:28:32.000Z | 2020-03-10T01:28:32.000Z | import fulfillment.core
base_url = 'warehouses/'
# warehouse function to send to core
def retrieveAll():
url = fulfillment.core.base_url + base_url
fulfillment.core.Resource.retrieve(url)
| 22 | 46 | 0.757576 | 26 | 198 | 5.653846 | 0.538462 | 0.306122 | 0.258503 | 0.29932 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 198 | 8 | 47 | 24.75 | 0.875 | 0.171717 | 0 | 0 | 0 | 0 | 0.067901 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a04957c049c4d2a9a9473f6a3ae92b02c3e868d4 | 53 | py | Python | romania/__init__.py | lahr/icyt-tfds | 2a7c87dd9c7398c792407d5b79d71e1ed9b24cb7 | [
"CC-BY-4.0"
] | null | null | null | romania/__init__.py | lahr/icyt-tfds | 2a7c87dd9c7398c792407d5b79d71e1ed9b24cb7 | [
"CC-BY-4.0"
] | null | null | null | romania/__init__.py | lahr/icyt-tfds | 2a7c87dd9c7398c792407d5b79d71e1ed9b24cb7 | [
"CC-BY-4.0"
] | null | null | null | """romania dataset."""
from .romania import Romania
| 13.25 | 28 | 0.716981 | 6 | 53 | 6.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132075 | 53 | 3 | 29 | 17.666667 | 0.826087 | 0.301887 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a06098245eb4644566baf4eab8b52ea0e045fbfa | 1,219 | py | Python | app/models/auth.py | gozik/booktoshare | 22e5a972a2435efb88d6de97998d45fbbf99e591 | [
"MIT"
] | null | null | null | app/models/auth.py | gozik/booktoshare | 22e5a972a2435efb88d6de97998d45fbbf99e591 | [
"MIT"
] | null | null | null | app/models/auth.py | gozik/booktoshare | 22e5a972a2435efb88d6de97998d45fbbf99e591 | [
"MIT"
] | null | null | null | from flask_login import UserMixin
from werkzeug.security import check_password_hash, generate_password_hash
from app import db, login
class User(UserMixin, db.Model):
id = db.Column(db.Integer, primary_key=True)
username = db.Column(db.String(64), index=True, unique=True)
email = db.Column(db.String(120)... | 27.704545 | 73 | 0.685808 | 172 | 1,219 | 4.633721 | 0.30814 | 0.105395 | 0.087829 | 0.080301 | 0.284818 | 0.135508 | 0.082811 | 0.082811 | 0 | 0 | 0 | 0.01 | 0.179655 | 1,219 | 44 | 74 | 27.704545 | 0.787 | 0 | 0 | 0.206897 | 1 | 0 | 0.095082 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.241379 | false | 0.206897 | 0.103448 | 0.206897 | 0.931034 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
a066fe48598c8c0ee5c53d7e1af617d1f991da03 | 137 | py | Python | declare_qtquick/widgets/api/qtquick/virtualkeyboard/styles/__init__.py | likianta/declare-qtquick | 93c2ce49d841ccdeb0272085c5f731139927f0d7 | [
"MIT"
] | 3 | 2021-11-02T03:45:27.000Z | 2022-03-27T05:33:36.000Z | declare_qtquick/widgets/api/qtquick/virtualkeyboard/styles/__init__.py | likianta/declare-qtquick | 93c2ce49d841ccdeb0272085c5f731139927f0d7 | [
"MIT"
] | null | null | null | declare_qtquick/widgets/api/qtquick/virtualkeyboard/styles/__init__.py | likianta/declare-qtquick | 93c2ce49d841ccdeb0272085c5f731139927f0d7 | [
"MIT"
] | null | null | null | from __declare_qtquick_internals__ import qml_imports
qml_imports.add("QtQuick.VirtualKeyboard.Styles")
from .__list__ import * # noqa
| 27.4 | 53 | 0.832117 | 17 | 137 | 6 | 0.705882 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094891 | 137 | 4 | 54 | 34.25 | 0.822581 | 0.029197 | 0 | 0 | 0 | 0 | 0.229008 | 0.229008 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a094b951e319556c94577aede0d65e61b5c46bb8 | 11,971 | py | Python | tests/test_book_sphinx.py | josiah-wolf-oberholtzer/uqbar | 96f86eb6264b0677a9e2931a527769640e5658b6 | [
"MIT"
] | 7 | 2018-12-02T05:59:54.000Z | 2021-12-28T22:40:18.000Z | tests/test_book_sphinx.py | josiah-wolf-oberholtzer/uqbar | 96f86eb6264b0677a9e2931a527769640e5658b6 | [
"MIT"
] | 16 | 2017-12-28T22:08:09.000Z | 2022-02-26T14:47:23.000Z | tests/test_book_sphinx.py | josiah-wolf-oberholtzer/uqbar | 96f86eb6264b0677a9e2931a527769640e5658b6 | [
"MIT"
] | 5 | 2020-03-28T14:57:47.000Z | 2022-02-01T10:02:18.000Z | import sys
from distutils.version import LooseVersion
import pytest
from docutils.parsers.rst import directives
import uqbar.book.sphinx
from uqbar.book.console import ConsoleError, ConsoleInput, ConsoleOutput
from uqbar.book.extensions import GraphExtension
from uqbar.book.sphinx import UqbarBookDirective
from uqbar... | 29.485222 | 90 | 0.521761 | 1,220 | 11,971 | 4.968852 | 0.118033 | 0.053448 | 0.084131 | 0.072583 | 0.798086 | 0.752062 | 0.74101 | 0.722204 | 0.712141 | 0.685912 | 0 | 0.016098 | 0.340991 | 11,971 | 405 | 91 | 29.558025 | 0.752313 | 0.00969 | 0 | 0.494792 | 0 | 0.005208 | 0.235565 | 0.011517 | 0 | 0 | 0 | 0 | 0.0625 | 1 | 0.0625 | false | 0 | 0.0625 | 0 | 0.125 | 0.020833 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a0aa51c4080f91c4f50f5d80d80cdc16a8b0cf51 | 2,679 | py | Python | products/migrations/0009_auto_20151126_1644.py | n2o/guhema | eb390cbb5213a5ae16539ea46d473a5dc1866415 | [
"MIT"
] | null | null | null | products/migrations/0009_auto_20151126_1644.py | n2o/guhema | eb390cbb5213a5ae16539ea46d473a5dc1866415 | [
"MIT"
] | 2 | 2016-01-20T22:21:33.000Z | 2016-01-29T08:50:21.000Z | products/migrations/0009_auto_20151126_1644.py | n2o/guhema | eb390cbb5213a5ae16539ea46d473a5dc1866415 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9c1 on 2015-11-26 16:44
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('products', '0008_auto_20151124_1903'),
]
operations = [
migrations.AddField(... | 31.151163 | 71 | 0.545726 | 246 | 2,679 | 5.796748 | 0.223577 | 0.176718 | 0.225806 | 0.265077 | 0.84432 | 0.84432 | 0.451613 | 0 | 0 | 0 | 0 | 0.017738 | 0.326614 | 2,679 | 85 | 72 | 31.517647 | 0.772727 | 0.025009 | 0 | 0.538462 | 1 | 0 | 0.071292 | 0.008816 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.025641 | 0 | 0.064103 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 5 |
a0b0aff0125d0a2344720376b23d747c73a69655 | 146 | py | Python | models/__init__.py | ml-postech/LISA | 4f3c1cd7e56d6d7b107a587152cd703663cfa4c4 | [
"BSD-3-Clause"
] | null | null | null | models/__init__.py | ml-postech/LISA | 4f3c1cd7e56d6d7b107a587152cd703663cfa4c4 | [
"BSD-3-Clause"
] | null | null | null | models/__init__.py | ml-postech/LISA | 4f3c1cd7e56d6d7b107a587152cd703663cfa4c4 | [
"BSD-3-Clause"
] | 1 | 2022-03-31T16:06:22.000Z | 2022-03-31T16:06:22.000Z | from .models import register, make
from . import mlp
from . import lisa
from . import siren
from . import audio_encoder
from . import gon_encoder
| 20.857143 | 34 | 0.780822 | 22 | 146 | 5.090909 | 0.5 | 0.446429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171233 | 146 | 6 | 35 | 24.333333 | 0.92562 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
261b7a3a15c68e7687dc79ff9da2341297e7e446 | 10,782 | py | Python | tests/renderutils.py | Correct-Syntax/wgpu-py | de57c89183b2092ff73e584fed3494a59d396269 | [
"BSD-2-Clause"
] | null | null | null | tests/renderutils.py | Correct-Syntax/wgpu-py | de57c89183b2092ff73e584fed3494a59d396269 | [
"BSD-2-Clause"
] | null | null | null | tests/renderutils.py | Correct-Syntax/wgpu-py | de57c89183b2092ff73e584fed3494a59d396269 | [
"BSD-2-Clause"
] | null | null | null | """ Utils to render to a texture or screen. Tuned to the tests, so quite some
assumptions here.
"""
import ctypes
import numpy as np
import wgpu.backends.rs # noqa
def upload_to_texture(device, texture, data, nx, ny, nz):
nbytes = ctypes.sizeof(data)
bpp = nbytes // (nx * ny * nz)
# Create a buffer ... | 34.893204 | 88 | 0.624652 | 1,281 | 10,782 | 4.984387 | 0.201405 | 0.059514 | 0.025059 | 0.03289 | 0.743305 | 0.739859 | 0.72733 | 0.704777 | 0.696006 | 0.645419 | 0 | 0.013837 | 0.276108 | 10,782 | 308 | 89 | 35.006494 | 0.804228 | 0.081989 | 0 | 0.695652 | 0 | 0 | 0.080377 | 0.00446 | 0 | 0 | 0.002027 | 0 | 0 | 1 | 0.019763 | false | 0.150198 | 0.019763 | 0 | 0.047431 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
264f481a14714112d8529ce7466a2d35a3c9ae76 | 365,446 | py | Python | Z - Tool Box/LaZagne/Windows/lazagne/softwares/memory/keethief.py | dfirpaul/Active-Directory-Exploitation-Cheat-Sheet-1 | 1dcf54522e9d20711ff1114550dc2893ed3e9ed0 | [
"MIT"
] | 1,290 | 2020-05-28T21:24:43.000Z | 2022-03-31T16:38:43.000Z | Z - Tool Box/LaZagne/Windows/lazagne/softwares/memory/keethief.py | dfirpaul/Active-Directory-Exploitation-Cheat-Sheet-1 | 1dcf54522e9d20711ff1114550dc2893ed3e9ed0 | [
"MIT"
] | 1 | 2020-07-03T21:14:52.000Z | 2020-07-03T21:14:52.000Z | Z - Tool Box/LaZagne/Windows/lazagne/softwares/memory/keethief.py | dfirpaul/Active-Directory-Exploitation-Cheat-Sheet-1 | 1dcf54522e9d20711ff1114550dc2893ed3e9ed0 | [
"MIT"
] | 280 | 2020-05-29T17:28:38.000Z | 2022-03-31T13:54:15.000Z | # -*- coding: utf-8 -*-
import json
import os
import sys
from lazagne.config.constant import constant
from lazagne.config.execute_cmd import powershell_execute
from lazagne.config.write_output import print_debug
class KeeThief():
def launch_kee_thief(self):
# Awesome work of harmjoy (than... | 100.232035 | 117 | 0.933665 | 17,634 | 365,446 | 19.347681 | 0.920154 | 0.000211 | 0.000492 | 0.000698 | 0.000865 | 0.000601 | 0.000381 | 0.000381 | 0.000381 | 0 | 0 | 0.169072 | 0.025276 | 365,446 | 3,645 | 118 | 100.259534 | 0.788728 | 0.000506 | 0 | 0.001928 | 0 | 0.037731 | 0.997282 | 0.978651 | 0 | 1 | 0 | 0 | 0 | 1 | 0.000826 | false | 0.004682 | 0.001652 | 0 | 0.004131 | 0.000551 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
268b2c13410e863251f21bcdc603589449f175c2 | 117 | py | Python | boardgames/tictactoe/admin.py | diophung/django-sample | 4916f4aa70506f6f40b736f68a0bbe398ea1ea8e | [
"Apache-2.0"
] | null | null | null | boardgames/tictactoe/admin.py | diophung/django-sample | 4916f4aa70506f6f40b736f68a0bbe398ea1ea8e | [
"Apache-2.0"
] | null | null | null | boardgames/tictactoe/admin.py | diophung/django-sample | 4916f4aa70506f6f40b736f68a0bbe398ea1ea8e | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import Game, Move
admin.site.register(Game)
admin.site.register(Move)
| 19.5 | 32 | 0.803419 | 18 | 117 | 5.222222 | 0.555556 | 0.191489 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 117 | 5 | 33 | 23.4 | 0.895238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
13fe071ff99a2b7456469d836064e532cc6002c4 | 932 | py | Python | src/COCCharGen/Generator.py | chaserhkj/COCCharGen | 516edd9377051bc173d5faa89ed5e332baf3f0ce | [
"MIT"
] | null | null | null | src/COCCharGen/Generator.py | chaserhkj/COCCharGen | 516edd9377051bc173d5faa89ed5e332baf3f0ce | [
"MIT"
] | null | null | null | src/COCCharGen/Generator.py | chaserhkj/COCCharGen | 516edd9377051bc173d5faa89ed5e332baf3f0ce | [
"MIT"
] | null | null | null | class Generator():
"""Virtual class for Generators."""
def generate_char(self, char):
self.generate_basic_info(char)
self.generate_characteristics(char)
self.generate_status(char)
self.generate_combact_stat(char)
self.generate_skills(char)
self.generate_weapons(ch... | 29.125 | 46 | 0.656652 | 107 | 932 | 5.485981 | 0.196262 | 0.187394 | 0.245315 | 0.204429 | 0.313458 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26073 | 932 | 31 | 47 | 30.064516 | 0.851959 | 0.031116 | 0 | 0.310345 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.344828 | false | 0.310345 | 0 | 0 | 0.37931 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
cd23535663c0fa5edb452b9faf2a11936ef380f1 | 177 | py | Python | infiniti/handlers.py | bryceweiner/Infiniti | 5ea829dfa26c0948970329651d3cacff7788d116 | [
"MIT"
] | 1 | 2018-10-12T13:35:45.000Z | 2018-10-12T13:35:45.000Z | infiniti/handlers.py | bryceweiner/Infiniti | 5ea829dfa26c0948970329651d3cacff7788d116 | [
"MIT"
] | 4 | 2021-03-18T20:57:03.000Z | 2022-03-11T23:28:19.000Z | infiniti/handlers.py | bryceweiner/Infiniti | 5ea829dfa26c0948970329651d3cacff7788d116 | [
"MIT"
] | 2 | 2018-09-10T13:43:26.000Z | 2018-09-12T06:05:22.000Z | def handle_cardtransfer():
pass
def handle_deckspawn():
pass
def handle_identity();
pass
def handle_metaproof():
pass
def handle_claim():
pass
def handle_vote():
pass | 10.411765 | 26 | 0.740113 | 24 | 177 | 5.208333 | 0.375 | 0.432 | 0.52 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158192 | 177 | 17 | 27 | 10.411765 | 0.838926 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.5 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
cd39a97e22d092947ad02afe8838276439b329aa | 157 | py | Python | perfbench/__init__.py | Hasenpfote/test_py | 7bf9faaeb1c3a022e4d47ef03c03a6e0ecd04121 | [
"MIT"
] | null | null | null | perfbench/__init__.py | Hasenpfote/test_py | 7bf9faaeb1c3a022e4d47ef03c03a6e0ecd04121 | [
"MIT"
] | 2 | 2021-03-19T23:57:09.000Z | 2021-06-01T22:48:01.000Z | perfbench/__init__.py | Hasenpfote/perfbench | 846cc46689c78810081a2345e1c99926d60128f4 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .version import __version__, VERSION
from .bench import NotReadyError, Dataset, Kernel, LayoutSize, MeasurementMode, Benchmark
| 31.4 | 89 | 0.764331 | 17 | 157 | 6.823529 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007299 | 0.127389 | 157 | 4 | 90 | 39.25 | 0.839416 | 0.133758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cd454a503c9812ca8524f5d2d9930fc0e754c471 | 2,849 | py | Python | source/tests/test_model.py | janzmazek/Wave-propagation | 9176555f4b1b8a93be3fcc502f4f5094c9bb927b | [
"MIT"
] | 1 | 2019-12-17T19:20:11.000Z | 2019-12-17T19:20:11.000Z | source/tests/test_model.py | janzmazek/Wave-propagation | 9176555f4b1b8a93be3fcc502f4f5094c9bb927b | [
"MIT"
] | null | null | null | source/tests/test_model.py | janzmazek/Wave-propagation | 9176555f4b1b8a93be3fcc502f4f5094c9bb927b | [
"MIT"
] | null | null | null | from unittest import TestCase
from source.model import Model
import json
with open("source/tests/fixtures.json", "r") as file:
invalues = json.load(file)
ALPHA = invalues[0] # Alpha values set to 0
BETA = invalues[1] # Beta values set to 0
WIDTH = invalues[2] # width values set to 1e0-10
class TestModel(TestCase... | 30.308511 | 59 | 0.619867 | 352 | 2,849 | 4.920455 | 0.161932 | 0.133949 | 0.064665 | 0.092379 | 0.797344 | 0.797344 | 0.797344 | 0.746536 | 0.746536 | 0.700346 | 0 | 0.030288 | 0.269919 | 2,849 | 93 | 60 | 30.634409 | 0.802404 | 0.065637 | 0 | 0.657534 | 0 | 0 | 0.010181 | 0.009804 | 0 | 0 | 0 | 0 | 0.287671 | 1 | 0.041096 | false | 0 | 0.041096 | 0 | 0.09589 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cd52fd546a9b9ff3208a140ee11e401b12e0dd8b | 102 | py | Python | bot/cogs/blurple/__init__.py | Antonio32A/blurplefier | 967a02b4e312de1689b38bdbc134b9eda5b3fabf | [
"MIT"
] | null | null | null | bot/cogs/blurple/__init__.py | Antonio32A/blurplefier | 967a02b4e312de1689b38bdbc134b9eda5b3fabf | [
"MIT"
] | null | null | null | bot/cogs/blurple/__init__.py | Antonio32A/blurplefier | 967a02b4e312de1689b38bdbc134b9eda5b3fabf | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from .cog import Blurplefy
def setup(bot):
bot.add_cog(Blurplefy(bot))
| 12.75 | 31 | 0.637255 | 15 | 102 | 4.266667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012048 | 0.186275 | 102 | 7 | 32 | 14.571429 | 0.759036 | 0.205882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cd56e64cf2e7d7261668d3a28e45ae1fd9b69642 | 144 | py | Python | tests/test_noop.py | dmontemayor/autoplier | bf0647169913d6f5f57e021cd8ce7ac139bad62b | [
"MIT"
] | 1 | 2021-12-04T18:09:30.000Z | 2021-12-04T18:09:30.000Z | tests/test_noop.py | dmontemayor/autoplier | bf0647169913d6f5f57e021cd8ce7ac139bad62b | [
"MIT"
] | 16 | 2021-10-14T03:41:12.000Z | 2022-01-08T10:56:39.000Z | tests/test_noop.py | dmontemayor/autoplier | bf0647169913d6f5f57e021cd8ce7ac139bad62b | [
"MIT"
] | null | null | null | """NOOP test
"""
from autoplier import noop
def test_noop():
"""test autoplier code is found properly.
"""
assert noop() is None
| 13.090909 | 45 | 0.631944 | 19 | 144 | 4.736842 | 0.631579 | 0.177778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.243056 | 144 | 10 | 46 | 14.4 | 0.825688 | 0.368056 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
cd5e67effa14c2d1c2a3a80c8bd4744a202a0ae8 | 36 | py | Python | xss_payloads/data.py | k3170makan/PyMLProjects | 0676bb89119d509c9c44d7af8820aa8d620d0e4a | [
"MIT"
] | 156 | 2017-07-26T17:33:24.000Z | 2021-11-17T16:52:20.000Z | xss_payloads/data.py | k3170makan/PyMLProjects | 0676bb89119d509c9c44d7af8820aa8d620d0e4a | [
"MIT"
] | 1 | 2017-09-01T01:34:35.000Z | 2017-09-01T01:34:35.000Z | xss_payloads/data.py | k3170makan/PyMLProjects | 0676bb89119d509c9c44d7af8820aa8d620d0e4a | [
"MIT"
] | 29 | 2017-07-30T13:39:45.000Z | 2021-06-01T06:17:51.000Z | DATA_LIB="../data/xss_payloads.txt"
| 18 | 35 | 0.75 | 6 | 36 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 36 | 1 | 36 | 36 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0.666667 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cd964b0dba8b22edb9397c0a6393234ce1cbb5fa | 27 | py | Python | modelviewer/programs/SfaModel/shaders/__init__.py | knight-ryu12/StarFoxAdventures | 83648dabda9777d7de5da1bf9b83ddb82d7dd2a0 | [
"MIT"
] | 22 | 2019-11-29T21:20:59.000Z | 2022-01-25T06:39:02.000Z | modelviewer/programs/SfaModel/shaders/__init__.py | knight-ryu12/StarFoxAdventures | 83648dabda9777d7de5da1bf9b83ddb82d7dd2a0 | [
"MIT"
] | 7 | 2021-01-26T11:57:25.000Z | 2022-02-07T11:00:06.000Z | modelviewer/programs/SfaModel/shaders/__init__.py | knight-ryu12/StarFoxAdventures | 83648dabda9777d7de5da1bf9b83ddb82d7dd2a0 | [
"MIT"
] | 3 | 2021-01-03T23:47:37.000Z | 2021-08-06T09:02:11.000Z | # empty file for importlib
| 13.5 | 26 | 0.777778 | 4 | 27 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 27 | 1 | 27 | 27 | 0.954545 | 0.888889 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cd979fb341aa0a91803ca2379c4b49f7c68e3160 | 106 | py | Python | ip/ip/bookApp/models.py | SuryaVamsiKrishna/Inner-Pieces | deb9e83af891dac58966230446a5a32fe10e86f2 | [
"MIT"
] | 1 | 2021-02-17T06:06:50.000Z | 2021-02-17T06:06:50.000Z | ip/ip/bookApp/models.py | SuryaVamsiKrishna/Inner-Pieces | deb9e83af891dac58966230446a5a32fe10e86f2 | [
"MIT"
] | null | null | null | ip/ip/bookApp/models.py | SuryaVamsiKrishna/Inner-Pieces | deb9e83af891dac58966230446a5a32fe10e86f2 | [
"MIT"
] | null | null | null |
from django.db import models
from users.models import Patient, Doctor
from django.utils import timezone
| 17.666667 | 40 | 0.820755 | 16 | 106 | 5.4375 | 0.625 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141509 | 106 | 5 | 41 | 21.2 | 0.956044 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
cd98f0a80c7dbb2a68f8174351ff20babebd16e9 | 7,912 | py | Python | tests/test_DeltaQuery.py | opencitations/time-agnostic-library | e98fafc14f4a8478b179e4e6235627d88f199732 | [
"0BSD"
] | null | null | null | tests/test_DeltaQuery.py | opencitations/time-agnostic-library | e98fafc14f4a8478b179e4e6235627d88f199732 | [
"0BSD"
] | null | null | null | tests/test_DeltaQuery.py | opencitations/time-agnostic-library | e98fafc14f4a8478b179e4e6235627d88f199732 | [
"0BSD"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright (c) 2021, Arcangelo Massari <arcangelomas@gmail.com>
#
# Permission to use, copy, modify, and/or distribute this software for any purpose
# with or without fee is hereby granted, provided that the above copyright notice
# and this permission notice appear in all cop... | 54.565517 | 866 | 0.629929 | 961 | 7,912 | 5.030177 | 0.187305 | 0.084402 | 0.095573 | 0.163839 | 0.768515 | 0.752172 | 0.728175 | 0.710178 | 0.683699 | 0.683699 | 0 | 0.060237 | 0.232053 | 7,912 | 145 | 867 | 54.565517 | 0.735352 | 0.100733 | 0 | 0.566667 | 0 | 0.041667 | 0.561329 | 0.003943 | 0 | 0 | 0 | 0 | 0.041667 | 1 | 0.041667 | false | 0 | 0.025 | 0 | 0.075 | 0.008333 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 5 |
cd99c47c2dd9281c5c127fc4c0e04d932efc0611 | 751 | py | Python | src/cec2008.py | marisgg/pca_bats | 8189034bad1769bae8938fd8a8f868692e09240d | [
"MIT"
] | null | null | null | src/cec2008.py | marisgg/pca_bats | 8189034bad1769bae8938fd8a8f868692e09240d | [
"MIT"
] | null | null | null | src/cec2008.py | marisgg/pca_bats | 8189034bad1769bae8938fd8a8f868692e09240d | [
"MIT"
] | null | null | null | from opfunu.cec.cec2008.F7 import Model as f7
from opfunu.cec.cec2008.F6 import Model as f6
from opfunu.cec.cec2008.F5 import Model as f5
from opfunu.cec.cec2008.F4 import Model as f4
from opfunu.cec.cec2008.F3 import Model as f3
from opfunu.cec.cec2008.F2 import Model as f2
from opfunu.cec.cec2008.F1 import Model as f... | 19.763158 | 45 | 0.745672 | 112 | 751 | 4.8125 | 0.223214 | 0.12987 | 0.168831 | 0.25974 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0.151798 | 751 | 37 | 46 | 20.297297 | 0.758242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 1 | 1 | 0 | 0 | 5 |
269a45a97457a2840ea66a4c3b67e49ec597aada | 248 | py | Python | python/basic-python/guided_exercises/ch4_functions/simple_function.py | codingandcommunity/rise_high | 042d07cee1119b46f723a9c763b8ee3d0fc4ac2c | [
"MIT"
] | 2 | 2019-08-12T23:19:48.000Z | 2019-08-15T00:24:01.000Z | python/basic-python/guided_exercises/ch4_functions/simple_function.py | codingandcommunity/rise_high | 042d07cee1119b46f723a9c763b8ee3d0fc4ac2c | [
"MIT"
] | null | null | null | python/basic-python/guided_exercises/ch4_functions/simple_function.py | codingandcommunity/rise_high | 042d07cee1119b46f723a9c763b8ee3d0fc4ac2c | [
"MIT"
] | null | null | null | '''write a simple function to add two integers,
demonstrate how to call the function with various
inputs'''
# call the function add, 2 and 3, print the result to the terminal
# call the function add, 2 and 3, save the result as a variable | 35.428571 | 67 | 0.729839 | 43 | 248 | 4.209302 | 0.55814 | 0.116022 | 0.248619 | 0.198895 | 0.254144 | 0.254144 | 0.254144 | 0 | 0 | 0 | 0 | 0.020619 | 0.217742 | 248 | 7 | 68 | 35.428571 | 0.912371 | 0.931452 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
26ae64e4679c3e4800581ab7674a580a24e0a357 | 162 | py | Python | scripts/__init__.py | jbeda/chess | 9e25a73adfc78302fdc2402f626f1d4c2eb1734a | [
"Apache-2.0"
] | null | null | null | scripts/__init__.py | jbeda/chess | 9e25a73adfc78302fdc2402f626f1d4c2eb1734a | [
"Apache-2.0"
] | null | null | null | scripts/__init__.py | jbeda/chess | 9e25a73adfc78302fdc2402f626f1d4c2eb1734a | [
"Apache-2.0"
] | null | null | null | from scripts.build import run as _script_build_
from scripts.test import run as _script_test_
SCRIPTS = {
"build": _script_build_,
"test": _script_test_
} | 27 | 47 | 0.759259 | 23 | 162 | 4.826087 | 0.347826 | 0.198198 | 0.198198 | 0.306306 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 162 | 6 | 48 | 27 | 0.822222 | 0 | 0 | 0 | 0 | 0 | 0.055215 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
26de06ae0ac8f313ec5e4836bb91d0b6415b9fb0 | 46 | py | Python | tests/components/garmin_connect/__init__.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 11 | 2018-02-16T15:35:47.000Z | 2020-01-14T15:20:00.000Z | tests/components/garmin_connect/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 79 | 2020-07-23T07:13:37.000Z | 2022-03-22T06:02:37.000Z | tests/components/garmin_connect/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 14 | 2018-08-19T16:28:26.000Z | 2021-09-02T18:26:53.000Z | """Tests for the Garmin Connect component."""
| 23 | 45 | 0.717391 | 6 | 46 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 46 | 1 | 46 | 46 | 0.825 | 0.847826 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f80743d2d9e779de1f1de069b17da6972e71023b | 654 | py | Python | getnet/errors/business_error.py | 7bruno/getnet-py | 590db2f19e0c7f98ffdfbb27f4c6ffd7fb1f47ed | [
"MIT"
] | 2 | 2021-04-09T20:17:41.000Z | 2021-04-09T20:18:06.000Z | getnet/errors/business_error.py | 7bruno/getnet-py | 590db2f19e0c7f98ffdfbb27f4c6ffd7fb1f47ed | [
"MIT"
] | 5 | 2019-11-24T16:24:11.000Z | 2021-02-22T16:10:05.000Z | getnet/errors/business_error.py | 7bruno/getnet-py | 590db2f19e0c7f98ffdfbb27f4c6ffd7fb1f47ed | [
"MIT"
] | 3 | 2020-07-25T23:00:59.000Z | 2022-02-15T02:37:27.000Z | from getnet.errors.request_error import RequestError
class BusinessError(RequestError):
@property
def details(self):
return self.response.json().get("details")[0]
@property
def payment_id(self):
return self.details.get("payment_id")
@property
def authorization_code(self):
... | 23.357143 | 58 | 0.680428 | 76 | 654 | 5.710526 | 0.355263 | 0.152074 | 0.193548 | 0.241935 | 0.285714 | 0.119816 | 0 | 0 | 0 | 0 | 0 | 0.001942 | 0.212538 | 654 | 27 | 59 | 24.222222 | 0.840777 | 0 | 0 | 0.3 | 0 | 0 | 0.116208 | 0.035168 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.05 | 0.3 | 0.7 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
f846b8e0385ad6e33b62fc8410e15d646083c024 | 54 | py | Python | snow_camera/services/exceptions.py | wolendranh/flying_bear_bot | 0b8a8ad47a744146e59cc218dc6d6547fb9b6c0e | [
"Apache-2.0"
] | 1 | 2018-12-28T13:58:56.000Z | 2018-12-28T13:58:56.000Z | snow_camera/services/exceptions.py | wolendranh/flying_bear_bot | 0b8a8ad47a744146e59cc218dc6d6547fb9b6c0e | [
"Apache-2.0"
] | 12 | 2019-12-04T22:16:35.000Z | 2022-03-12T00:50:02.000Z | snow_camera/services/exceptions.py | wolendranh/flying_bear_bot | 0b8a8ad47a744146e59cc218dc6d6547fb9b6c0e | [
"Apache-2.0"
] | null | null | null | class CameraTemporaryUnavailable(Exception):
pass
| 18 | 44 | 0.814815 | 4 | 54 | 11 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12963 | 54 | 2 | 45 | 27 | 0.93617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
f84ec8db336c49b5deba6f1d3e01acdc7cbb3d24 | 277 | py | Python | _test_build.py | yotamr/backslash-python | 03bdbcfadad9a7add6ad295ecba8686ab871e03d | [
"BSD-3-Clause"
] | null | null | null | _test_build.py | yotamr/backslash-python | 03bdbcfadad9a7add6ad295ecba8686ab871e03d | [
"BSD-3-Clause"
] | null | null | null | _test_build.py | yotamr/backslash-python | 03bdbcfadad9a7add6ad295ecba8686ab871e03d | [
"BSD-3-Clause"
] | null | null | null | #! /usr/bin/python
import subprocess
if __name__ == '__main__':
subprocess.check_call("pip install --use-mirrors -r test_requirements.txt", shell=True)
subprocess.check_call("python setup.py develop", shell=True)
subprocess.check_call("py.test tests", shell=True)
| 34.625 | 91 | 0.740072 | 38 | 277 | 5.078947 | 0.631579 | 0.233161 | 0.295337 | 0.248705 | 0.290155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122744 | 277 | 7 | 92 | 39.571429 | 0.794239 | 0.061372 | 0 | 0 | 0 | 0 | 0.362934 | 0.081081 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f85c71dfc7baea7961be9b82416352496d9e5073 | 225 | py | Python | koala/network/session_id_gen.py | egmkang/koala | 70ea68c0d4380242c61faa8a6f023fa248049ec8 | [
"MIT"
] | 15 | 2021-06-02T12:43:26.000Z | 2022-01-24T19:14:02.000Z | koala/network/session_id_gen.py | egmkang/flash | 70ea68c0d4380242c61faa8a6f023fa248049ec8 | [
"MIT"
] | 1 | 2021-06-14T10:08:46.000Z | 2021-06-14T10:08:46.000Z | koala/network/session_id_gen.py | egmkang/flash | 70ea68c0d4380242c61faa8a6f023fa248049ec8 | [
"MIT"
] | 1 | 2021-01-20T06:38:01.000Z | 2021-01-20T06:38:01.000Z | from koala.sequence_id import SequenceId
_session_id_sequence = SequenceId()
def new_session_id() -> int:
return _session_id_sequence.new_id()
def session_id_seed(seed: int):
_session_id_sequence.set_seed(seed)
| 17.307692 | 40 | 0.777778 | 33 | 225 | 4.818182 | 0.393939 | 0.283019 | 0.320755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137778 | 225 | 12 | 41 | 18.75 | 0.819588 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
f87143d5f683e5f2676504802afd7d319b99687d | 42 | py | Python | LR-splitpipe/__init__.py | fairliereese/LR-splitpipe | ba8fccb56b570e5547ef8fb19a360e9d3cbc7e48 | [
"MIT"
] | 4 | 2021-08-23T02:23:49.000Z | 2021-12-17T18:53:22.000Z | LR-splitpipe/__init__.py | fairliereese/LR-splitpipe | ba8fccb56b570e5547ef8fb19a360e9d3cbc7e48 | [
"MIT"
] | 2 | 2021-07-29T16:53:49.000Z | 2021-12-17T19:39:16.000Z | LR-splitpipe/__init__.py | fairliereese/LR-splitpipe | ba8fccb56b570e5547ef8fb19a360e9d3cbc7e48 | [
"MIT"
] | 2 | 2021-06-10T17:35:52.000Z | 2021-07-29T00:39:39.000Z | from pacbio-splitpipe.demultiplex import * | 42 | 42 | 0.857143 | 5 | 42 | 7.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.071429 | 42 | 1 | 42 | 42 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3e081c5d2555a1091ef0a6eda7efc9e3371fd4ee | 57 | py | Python | scr/file.py | rohank63/SEC | 19db2f8d843712f3aad5e6fe6e94be0b0ea2acca | [
"Apache-2.0"
] | 1 | 2020-05-28T21:11:01.000Z | 2020-05-28T21:11:01.000Z | scr/file.py | rohank63/SEC | 19db2f8d843712f3aad5e6fe6e94be0b0ea2acca | [
"Apache-2.0"
] | null | null | null | scr/file.py | rohank63/SEC | 19db2f8d843712f3aad5e6fe6e94be0b0ea2acca | [
"Apache-2.0"
] | null | null | null | print("FIles can be accessed from Travis without Docker") | 57 | 57 | 0.807018 | 9 | 57 | 5.111111 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122807 | 57 | 1 | 57 | 57 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0.827586 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
3e089b0051b1994b46b97454ca9dab9aacefe58d | 146 | py | Python | lltk/model/model.py | literarylab/lltk | 0e516d7fa0978c1a3bd2cb7636f0089772e515ec | [
"MIT"
] | 5 | 2021-03-15T21:05:06.000Z | 2022-03-04T10:52:16.000Z | lltk/model/model.py | literarylab/lltk | 0e516d7fa0978c1a3bd2cb7636f0089772e515ec | [
"MIT"
] | 1 | 2021-05-04T17:01:47.000Z | 2021-05-10T15:14:55.000Z | lltk/model/model.py | literarylab/lltk | 0e516d7fa0978c1a3bd2cb7636f0089772e515ec | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
class Model(object):
pass
class NullModel(Model):
def __init__(self):
pass
@property
def name(self):
return ''
| 11.230769 | 23 | 0.636986 | 19 | 146 | 4.684211 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008547 | 0.19863 | 146 | 12 | 24 | 12.166667 | 0.752137 | 0.143836 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 0 | 0.125 | 0.625 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
3e23a1a24de7a0ff4d1eebc6144cb05cbf8cc80b | 175 | py | Python | install-windows.py | Phil0nator/Cb-Compiler | 63059ee4c2e0426dc1424586324730af89f435de | [
"MIT"
] | 3 | 2021-03-09T04:54:04.000Z | 2021-09-28T21:07:37.000Z | install-windows.py | Phil0nator/Cb-major-Compiler | 63059ee4c2e0426dc1424586324730af89f435de | [
"MIT"
] | null | null | null | install-windows.py | Phil0nator/Cb-major-Compiler | 63059ee4c2e0426dc1424586324730af89f435de | [
"MIT"
] | null | null | null | import os
os.system("""
py -m pip install argparse
""")
os.system("py -m pip install colorama")
os.system("py -m pip install termcolor")
os.system("py -m pip install cpuid")
| 19.444444 | 40 | 0.697143 | 30 | 175 | 4.066667 | 0.366667 | 0.262295 | 0.327869 | 0.360656 | 0.688525 | 0.688525 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 175 | 8 | 41 | 21.875 | 0.813333 | 0 | 0 | 0 | 0 | 0 | 0.594286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3e726f9a6fdd0d0f3c9fb24d07b92a3152733205 | 231 | py | Python | pysteam/problem/__init__.py | utiasASRL/pysteam | c0c8809ee2a5e1dab5ce7f9e5ff9de91138ce68b | [
"BSD-3-Clause"
] | 5 | 2021-10-23T00:35:20.000Z | 2022-03-22T02:32:43.000Z | pysteam/problem/__init__.py | utiasASRL/pysteam | c0c8809ee2a5e1dab5ce7f9e5ff9de91138ce68b | [
"BSD-3-Clause"
] | null | null | null | pysteam/problem/__init__.py | utiasASRL/pysteam | c0c8809ee2a5e1dab5ce7f9e5ff9de91138ce68b | [
"BSD-3-Clause"
] | 1 | 2022-02-04T21:49:48.000Z | 2022-02-04T21:49:48.000Z | from .noise_model import NoiseModel, StaticNoiseModel, DynamicNoiseModel
from .loss_func import LossFunc, L2LossFunc
from .cost_term import CostTerm, WeightedLeastSquareCostTerm
from .optimization_problem import OptimizationProblem | 57.75 | 72 | 0.883117 | 24 | 231 | 8.333333 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004717 | 0.082251 | 231 | 4 | 73 | 57.75 | 0.938679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e425020e3f9eec188f6f18c02d720b3f9e44d7e3 | 387 | py | Python | SUASSystem/SUASSystem/__init__.py | liyu711/SUAS | 2f6592fc2ab316475eeabe2f4828e5ba5c1a4b0b | [
"MIT"
] | null | null | null | SUASSystem/SUASSystem/__init__.py | liyu711/SUAS | 2f6592fc2ab316475eeabe2f4828e5ba5c1a4b0b | [
"MIT"
] | null | null | null | SUASSystem/SUASSystem/__init__.py | liyu711/SUAS | 2f6592fc2ab316475eeabe2f4828e5ba5c1a4b0b | [
"MIT"
] | null | null | null | from .location import *
from .competition_viewer_socket import *
from .vehicle_state import *
from .converter_functions import *
from .interop_client import *
from .sda_converter import *
from .settings import *
from .competition_viewer import *
from .image_processing import *
from .load_sd_card import *
from .image_p... | 25.8 | 40 | 0.79845 | 52 | 387 | 5.711538 | 0.403846 | 0.40404 | 0.141414 | 0.181818 | 0.23569 | 0.23569 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136951 | 387 | 14 | 41 | 27.642857 | 0.889222 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
e46ed43cb39271c971950cd880f370dfad2ffe27 | 71 | py | Python | djangocmd.py | szintakacseva/PythonTutorial | c32c8a7e00871e542d74c4c5bd56ee499bf0b6c3 | [
"Apache-2.0"
] | null | null | null | djangocmd.py | szintakacseva/PythonTutorial | c32c8a7e00871e542d74c4c5bd56ee499bf0b6c3 | [
"Apache-2.0"
] | null | null | null | djangocmd.py | szintakacseva/PythonTutorial | c32c8a7e00871e542d74c4c5bd56ee499bf0b6c3 | [
"Apache-2.0"
] | null | null | null | import django
django.setup()
from raktarweb.models import SzamlaTorzs | 14.2 | 40 | 0.830986 | 9 | 71 | 6.555556 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 71 | 5 | 40 | 14.2 | 0.936508 | 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 | 1 | 0 | 0 | 5 |
e4af255b9858353ca096b7cf1f4ef6dbd617a95a | 146 | py | Python | sum.py | xinxueHEAI/ML602 | 373d1f24154759dbca6c101bc252320aa172bd1f | [
"MIT"
] | null | null | null | sum.py | xinxueHEAI/ML602 | 373d1f24154759dbca6c101bc252320aa172bd1f | [
"MIT"
] | 1 | 2022-02-22T17:29:20.000Z | 2022-02-22T17:29:20.000Z | sum.py | xinxueHEAI/ML602 | 373d1f24154759dbca6c101bc252320aa172bd1f | [
"MIT"
] | null | null | null | # adding two numbers
def sum(a: float, b: float):
return a+b
<<<<<<< HEAD
sum(2,3)
=======
>>>>>>> 5a796bed5c554f9b3c7e104e35185128a2741031
| 14.6 | 48 | 0.623288 | 17 | 146 | 5.352941 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.252033 | 0.157534 | 146 | 9 | 49 | 16.222222 | 0.487805 | 0.123288 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.