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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f955aafb376c624d62c25d91d1316ff0c75e472d | 60 | py | Python | Py4e/py4e.py | fattahsamit/Python | 45aa3c75c2044285d724cafb123959d46de68c49 | [
"MIT"
] | null | null | null | Py4e/py4e.py | fattahsamit/Python | 45aa3c75c2044285d724cafb123959d46de68c49 | [
"MIT"
] | null | null | null | Py4e/py4e.py | fattahsamit/Python | 45aa3c75c2044285d724cafb123959d46de68c49 | [
"MIT"
] | null | null | null | # Hello World! is overrated
print('Greetings, Pythonistas!') | 30 | 32 | 0.766667 | 7 | 60 | 6.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 60 | 2 | 32 | 30 | 0.851852 | 0.416667 | 0 | 0 | 0 | 0 | 0.676471 | 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 |
f95d6cd11c971d8934c541cc80aa9183cad44e9c | 1,596 | py | Python | test/grouping_test.py | RobertMcCarter/animal-finder | 5ac839a65df62ab312e440ce43416727492e84d8 | [
"MIT"
] | null | null | null | test/grouping_test.py | RobertMcCarter/animal-finder | 5ac839a65df62ab312e440ce43416727492e84d8 | [
"MIT"
] | null | null | null | test/grouping_test.py | RobertMcCarter/animal-finder | 5ac839a65df62ab312e440ce43416727492e84d8 | [
"MIT"
] | null | null | null | import unittest
import src.model as model
import src.grouping as sut
class GroupTest(unittest.TestCase):
def test_two_groups_different_path(self):
# Setup
# Different path, same file name with correct #
image1 = model.ImageInfo(False, "unit/testing/data/test/foo_0001.jpg", [])
imag... | 36.272727 | 82 | 0.640351 | 195 | 1,596 | 5.117949 | 0.271795 | 0.112224 | 0.152305 | 0.184369 | 0.790581 | 0.740481 | 0.740481 | 0.740481 | 0.647295 | 0.647295 | 0 | 0.049919 | 0.221805 | 1,596 | 43 | 83 | 37.116279 | 0.753623 | 0.074561 | 0 | 0.384615 | 0 | 0 | 0.196453 | 0.190996 | 0 | 0 | 0 | 0 | 0.230769 | 1 | 0.076923 | false | 0 | 0.115385 | 0 | 0.230769 | 0 | 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 |
f981a1da00b6ce90464a0ea459f3b4f706d33667 | 16 | py | Python | openml_data_integration/protobuf_generator/openml_40647/myconstants.py | tuix/tutorials | 733d35a8a39df079e8c2432c441b70785ab08440 | [
"Apache-2.0"
] | 8 | 2020-04-21T13:29:04.000Z | 2021-12-13T08:59:09.000Z | openml_data_integration/protobuf_generator/openml_40647/myconstants.py | tuix/tutorials | 733d35a8a39df079e8c2432c441b70785ab08440 | [
"Apache-2.0"
] | 3 | 2021-04-27T11:03:04.000Z | 2021-05-24T18:22:57.000Z | openml_data_integration/protobuf_generator/openml_40647/myconstants.py | tuix/tutorials | 733d35a8a39df079e8c2432c441b70785ab08440 | [
"Apache-2.0"
] | 6 | 2020-07-06T08:23:25.000Z | 2021-11-24T10:39:34.000Z | DATA_ID = 40647
| 8 | 15 | 0.75 | 3 | 16 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.384615 | 0.1875 | 16 | 1 | 16 | 16 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f990a7fb3e4c90f3dd33ad7428a1a7e6f54a286e | 200 | py | Python | TextEncoder/__init__.py | Lzejie/TextTransform | 12b3ea1c9196ce662a554ec076e1c7173b02c7f3 | [
"MIT"
] | 5 | 2018-08-09T10:29:33.000Z | 2020-12-14T13:19:32.000Z | TextEncoder/__init__.py | Lzejie/TextTransform | 12b3ea1c9196ce662a554ec076e1c7173b02c7f3 | [
"MIT"
] | null | null | null | TextEncoder/__init__.py | Lzejie/TextTransform | 12b3ea1c9196ce662a554ec076e1c7173b02c7f3 | [
"MIT"
] | 1 | 2018-08-13T01:13:38.000Z | 2018-08-13T01:13:38.000Z | # -*- coding: utf-8 -*-
# @Time : 18/8/1 下午6:20
# @Author : Edward
# @Site :
# @File : __init__.py.py
# @Software: PyCharm Community Edition
from TextEncoder.transformer import Transformer
| 22.222222 | 47 | 0.645 | 25 | 200 | 5 | 0.88 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050314 | 0.205 | 200 | 8 | 48 | 25 | 0.735849 | 0.69 | 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 |
f9ab0e6072bf4c4092b6464f16dcf5c19ea0ff71 | 21 | py | Python | exercicios/Sequencial/ex01.py | mferoc/Uniprojecao-Topicos-Avancados-em-Analise-e-Desenvolvimento-de-Sistemas | 41aec22c7e9f402bd60522aa6ed29ec1a4ecf024 | [
"MIT"
] | 1 | 2020-02-20T16:56:05.000Z | 2020-02-20T16:56:05.000Z | exercicios/Sequencial/ex01.py | mferoc/Uniprojecao-Topicos-Avancados-em-Analise-e-Desenvolvimento-de-Sistemas | 41aec22c7e9f402bd60522aa6ed29ec1a4ecf024 | [
"MIT"
] | null | null | null | exercicios/Sequencial/ex01.py | mferoc/Uniprojecao-Topicos-Avancados-em-Analise-e-Desenvolvimento-de-Sistemas | 41aec22c7e9f402bd60522aa6ed29ec1a4ecf024 | [
"MIT"
] | null | null | null | print('Alô Mundo!!!') | 21 | 21 | 0.619048 | 3 | 21 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.047619 | 21 | 1 | 21 | 21 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 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 |
ddbed348f45941dffaa56d45685235ef2b3c85c5 | 1,407 | py | Python | institutions/migrations/0003_auto_20190821_1658.py | xni06/wagtail-CMS | defe0f46e8109e96d6d5e9fd4cf002790fbcd54b | [
"MIT"
] | 4 | 2019-06-04T07:18:44.000Z | 2020-06-15T22:27:36.000Z | institutions/migrations/0003_auto_20190821_1658.py | jaspotsangbam/wagtail-CMS | 2ec0dd05ba1f9339b705ce529588131049aa9bc7 | [
"MIT"
] | 38 | 2019-05-09T13:14:56.000Z | 2022-03-12T00:54:57.000Z | institutions/migrations/0003_auto_20190821_1658.py | jaspotsangbam/wagtail-CMS | 2ec0dd05ba1f9339b705ce529588131049aa9bc7 | [
"MIT"
] | 3 | 2019-09-26T14:32:36.000Z | 2021-05-06T15:48:01.000Z | # Generated by Django 2.2.4 on 2019-08-21 16:58
from django.db import migrations
import wagtail.core.fields
class Migration(migrations.Migration):
dependencies = [
('institutions', '0002_auto_20190821_1523'),
]
operations = [
migrations.AddField(
model_name='institutiondetai... | 31.266667 | 64 | 0.613362 | 129 | 1,407 | 6.51938 | 0.341085 | 0.091558 | 0.141498 | 0.192628 | 0.734839 | 0.734839 | 0.734839 | 0.669441 | 0.612366 | 0.612366 | 0 | 0.030693 | 0.282161 | 1,407 | 44 | 65 | 31.977273 | 0.80198 | 0.031983 | 0 | 0.631579 | 1 | 0 | 0.196324 | 0.127941 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.131579 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fb05faced82471c8714b529e595fc77f3ef61829 | 7,868 | py | Python | docker_registry_frontend/test_manifest.py | cschaba/docker-registry-frontend | 93fe4bec031534938f362f1dccfb876806efeb69 | [
"MIT"
] | 21 | 2018-04-12T10:26:27.000Z | 2021-12-02T23:14:10.000Z | docker_registry_frontend/test_manifest.py | cschaba/docker-registry-frontend | 93fe4bec031534938f362f1dccfb876806efeb69 | [
"MIT"
] | 14 | 2017-06-29T19:28:22.000Z | 2021-02-10T08:17:53.000Z | docker_registry_frontend/test_manifest.py | cschaba/docker-registry-frontend | 93fe4bec031534938f362f1dccfb876806efeb69 | [
"MIT"
] | 10 | 2018-02-27T14:15:47.000Z | 2021-03-16T09:20:36.000Z | import json
from unittest import TestCase
from docker_registry_frontend.manifest import DockerRegistrySchema1Manifest
docker_registry_schema1_manifest_content = """{
"schemaVersion": 1,
"name": "registry",
"tag": "2",
"architecture": "amd64",
"fsLayers": [
{
"blobSum": "sha256:a3ed95caeb... | 62.944 | 1,763 | 0.642222 | 533 | 7,868 | 9.39212 | 0.345216 | 0.023372 | 0.014383 | 0.016181 | 0.360368 | 0.332201 | 0.255693 | 0.234119 | 0.167399 | 0.146424 | 0 | 0.250367 | 0.134469 | 7,868 | 124 | 1,764 | 63.451613 | 0.484728 | 0 | 0 | 0.096491 | 0 | 0.087719 | 0.857905 | 0.661668 | 0 | 0 | 0 | 0 | 0.04386 | 1 | 0.052632 | false | 0 | 0.026316 | 0 | 0.096491 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fb0d493273453c55a74e7621554e5f17ffaa6b4d | 121 | py | Python | tocando.mp3.py | eduardobaltazarmarfim/PythonC | 8e44b4f191582c73cca6df98120ab142145c4ba1 | [
"MIT"
] | null | null | null | tocando.mp3.py | eduardobaltazarmarfim/PythonC | 8e44b4f191582c73cca6df98120ab142145c4ba1 | [
"MIT"
] | null | null | null | tocando.mp3.py | eduardobaltazarmarfim/PythonC | 8e44b4f191582c73cca6df98120ab142145c4ba1 | [
"MIT"
] | null | null | null | import pygame
pygame.init()
pygame.mixer.music.load('videoplayback.mp3')
pygame.mixer.music.play()
pygame.event.wait() | 15.125 | 44 | 0.768595 | 17 | 121 | 5.470588 | 0.647059 | 0.236559 | 0.344086 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00885 | 0.066116 | 121 | 8 | 45 | 15.125 | 0.814159 | 0 | 0 | 0 | 0 | 0 | 0.139344 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
fb1937acc0063116ceaee4a7983bb511104c0849 | 22,710 | py | Python | meteostat/meteostat2.py | SNR20db/meteostat2 | 8f15e6bfa2cf8653b7aea91bf2bec191707244cd | [
"MIT"
] | null | null | null | meteostat/meteostat2.py | SNR20db/meteostat2 | 8f15e6bfa2cf8653b7aea91bf2bec191707244cd | [
"MIT"
] | null | null | null | meteostat/meteostat2.py | SNR20db/meteostat2 | 8f15e6bfa2cf8653b7aea91bf2bec191707244cd | [
"MIT"
] | null | null | null | # Copyright (c) 2021
# Permission is hereby granted, free of charge, to any person
# obtaining a copy of this software and associated documentation
# files (the "Software"), to deal in the Software without
# restriction, including without limitation the rights to use,
# copy, modify, merge, publish, distribute, s... | 26.686251 | 141 | 0.619155 | 2,687 | 22,710 | 5.071455 | 0.102345 | 0.024143 | 0.030528 | 0.03904 | 0.768254 | 0.749248 | 0.743524 | 0.741469 | 0.737947 | 0.730608 | 0 | 0.005506 | 0.256187 | 22,710 | 850 | 142 | 26.717647 | 0.801208 | 0.415676 | 0 | 0.569811 | 0 | 0 | 0.141759 | 0.052716 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086792 | false | 0 | 0.022642 | 0.007547 | 0.256604 | 0.003774 | 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 |
fb24fc3e3562367a3f92a1c6fa87ca360416f4e6 | 10,022 | py | Python | lib/cogs/wakatime.py | dev-nolant/Developer_DiscordBot | 16a1de343040bb068678b144c564456796bd1f18 | [
"MIT"
] | null | null | null | lib/cogs/wakatime.py | dev-nolant/Developer_DiscordBot | 16a1de343040bb068678b144c564456796bd1f18 | [
"MIT"
] | null | null | null | lib/cogs/wakatime.py | dev-nolant/Developer_DiscordBot | 16a1de343040bb068678b144c564456796bd1f18 | [
"MIT"
] | null | null | null | ''' [WAKATIME COMMANDS]
Handler for the WakaTime command.
This command will gather and output coding information gathered by WAKATIME in the past \
And then output it to Discord.
COMMANDS = [wakatime <check/NONE> \CHECK = user]
'''
from datetime import datetime
import discord
import requests
from discord... | 42.646809 | 243 | 0.497306 | 1,069 | 10,022 | 4.564079 | 0.176801 | 0.065382 | 0.027055 | 0.034843 | 0.798114 | 0.798114 | 0.79258 | 0.79258 | 0.775774 | 0.732527 | 0 | 0.006486 | 0.384654 | 10,022 | 234 | 244 | 42.82906 | 0.78466 | 0.045999 | 0 | 0.636364 | 0 | 0.019139 | 0.325027 | 0.01203 | 0 | 0 | 0.001719 | 0 | 0 | 1 | 0.009569 | false | 0 | 0.028708 | 0 | 0.043062 | 0.004785 | 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 |
fb3cde585b3eb18461dcb60f1ebf008bbf005dda | 53 | py | Python | hypster/.ipynb_checkpoints/__init__-checkpoint.py | gilad-rubin/hypster | e8a15b9023a1bbffad4e5cdd756aed33e2682931 | [
"MIT"
] | 14 | 2019-09-09T12:41:59.000Z | 2020-10-12T05:05:02.000Z | hypster/__init__.py | gilad-rubin/optuna-on-steroids | e8a15b9023a1bbffad4e5cdd756aed33e2682931 | [
"MIT"
] | null | null | null | hypster/__init__.py | gilad-rubin/optuna-on-steroids | e8a15b9023a1bbffad4e5cdd756aed33e2682931 | [
"MIT"
] | 2 | 2019-12-29T13:38:14.000Z | 2020-03-28T06:01:59.000Z | from .core import HyPSTERClassifier, HyPSTERRegressor | 53 | 53 | 0.886792 | 5 | 53 | 9.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 53 | 1 | 53 | 53 | 0.959184 | 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 |
34986c5e48e52027d079cf10c4bc4391c662e333 | 151 | py | Python | micropython/005_diy_image.py | mirontoli/tolle-rasp | 020638e86c167aedd7b556d8515a3adef70724af | [
"MIT"
] | 2 | 2021-06-29T17:18:09.000Z | 2022-01-25T08:29:59.000Z | micropython/005_diy_image.py | mirontoli/tolle-rasp | 020638e86c167aedd7b556d8515a3adef70724af | [
"MIT"
] | null | null | null | micropython/005_diy_image.py | mirontoli/tolle-rasp | 020638e86c167aedd7b556d8515a3adef70724af | [
"MIT"
] | null | null | null | from microbit import *
boat = Image("05050:"
"05050:"
"05050:"
"99999:"
"09990")
display.show(boat) | 21.571429 | 22 | 0.443709 | 13 | 151 | 5.153846 | 0.769231 | 0.298507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.284091 | 0.417219 | 151 | 7 | 23 | 21.571429 | 0.477273 | 0 | 0 | 0.285714 | 0 | 0 | 0.190789 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
551b928f972b83397890a2078fe8c25bd8f4cd94 | 285 | py | Python | product_default_image/models/__init__.py | woodbrettm/odoo | bd843b901f2c3852fe069eee705692fd21cffa15 | [
"BSD-Source-Code"
] | null | null | null | product_default_image/models/__init__.py | woodbrettm/odoo | bd843b901f2c3852fe069eee705692fd21cffa15 | [
"BSD-Source-Code"
] | null | null | null | product_default_image/models/__init__.py | woodbrettm/odoo | bd843b901f2c3852fe069eee705692fd21cffa15 | [
"BSD-Source-Code"
] | null | null | null | # -*- coding: utf-8 -*-
# Copyright 2017 LasLabs Inc.
# License LGPL-3.0 or later (http://www.gnu.org/licenses/lgpl.html).
from . import abstract_product_image
from . import product_category
from . import product_template
from . import res_company
from . import stock_config_settings
| 28.5 | 68 | 0.764912 | 42 | 285 | 5.02381 | 0.738095 | 0.236967 | 0.161137 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028226 | 0.129825 | 285 | 9 | 69 | 31.666667 | 0.822581 | 0.407018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9b2f221515e2f0ac583d380a0d5185c4a45bf2d8 | 2,088 | py | Python | tests/test_command_red.py | mariakimheinert/stoplight | a036c11bbcfa4150d9d7cd32742278821b5d6efe | [
"MIT"
] | 5 | 2022-02-07T16:52:40.000Z | 2022-02-24T23:51:17.000Z | tests/test_command_red.py | mariakimheinert/stoplight | a036c11bbcfa4150d9d7cd32742278821b5d6efe | [
"MIT"
] | null | null | null | tests/test_command_red.py | mariakimheinert/stoplight | a036c11bbcfa4150d9d7cd32742278821b5d6efe | [
"MIT"
] | null | null | null | import pytest
from typer.testing import CliRunner
import toml
from stoplight.run import app
runner = CliRunner()
@pytest.fixture(autouse=True)
def patch_run(mocker):
mocker.patch('stoplight.run.run_red')
mocker.patch('stoplight.rc.rc_filename', return_value='.stoplightrc')
yield
def test_red_errs_if_... | 29.828571 | 73 | 0.66523 | 282 | 2,088 | 4.663121 | 0.177305 | 0.109506 | 0.127757 | 0.091255 | 0.779468 | 0.779468 | 0.761217 | 0.752091 | 0.752091 | 0.743726 | 0 | 0.003472 | 0.172414 | 2,088 | 69 | 74 | 30.26087 | 0.757523 | 0 | 0 | 0.634615 | 0 | 0 | 0.170977 | 0.021552 | 0 | 0 | 0 | 0 | 0.115385 | 1 | 0.134615 | false | 0 | 0.076923 | 0 | 0.211538 | 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 |
9b33614b9a1056382ef7ec4d71690849b7b2135a | 227 | py | Python | fancy/trainer/model/checkpoint_plotter_base.py | susautw/fancy-trainer | eeb7ba1a541a8070171f1be972f8d99f81a4bff9 | [
"MIT"
] | null | null | null | fancy/trainer/model/checkpoint_plotter_base.py | susautw/fancy-trainer | eeb7ba1a541a8070171f1be972f8d99f81a4bff9 | [
"MIT"
] | null | null | null | fancy/trainer/model/checkpoint_plotter_base.py | susautw/fancy-trainer | eeb7ba1a541a8070171f1be972f8d99f81a4bff9 | [
"MIT"
] | null | null | null | from abc import ABC, abstractmethod
from matplotlib import pyplot as plt
from . import Checkpoint
class CheckpointPlotterBase(ABC):
@abstractmethod
def plot(self, checkpoint: Checkpoint) -> plt.Figure:
pass
| 18.916667 | 57 | 0.740088 | 26 | 227 | 6.461538 | 0.615385 | 0.202381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198238 | 227 | 11 | 58 | 20.636364 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.428571 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
9b652ea154b7f5fa6dcf7e2b03417aac0876fd74 | 34 | py | Python | tti/tests/test_config.py | ashwinahuja/HowQuicklyCanWeGetBackToThePub | da9a041642c4d226fa9388e6241fe952a8a330ef | [
"MIT"
] | 1 | 2021-01-13T16:57:34.000Z | 2021-01-13T16:57:34.000Z | tti/tests/test_config.py | ashwinahuja/HowQuicklyCanWeGetBackToThePub | da9a041642c4d226fa9388e6241fe952a8a330ef | [
"MIT"
] | null | null | null | tti/tests/test_config.py | ashwinahuja/HowQuicklyCanWeGetBackToThePub | da9a041642c4d226fa9388e6241fe952a8a330ef | [
"MIT"
] | null | null | null | from tti_explorer import config
| 8.5 | 31 | 0.823529 | 5 | 34 | 5.4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 34 | 3 | 32 | 11.333333 | 0.964286 | 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 |
9b8583fbf61d6652377810b6ded57111db208156 | 76 | py | Python | case/teachers_day_vote/__init__.py | lzpsgh/AscTrio | f969beece5dc93d29063da03793521bc54b814dd | [
"MIT"
] | 5 | 2021-07-21T06:50:51.000Z | 2022-03-31T04:18:28.000Z | case/teachers_day_vote/__init__.py | lzpsgh/AscTrio | f969beece5dc93d29063da03793521bc54b814dd | [
"MIT"
] | null | null | null | case/teachers_day_vote/__init__.py | lzpsgh/AscTrio | f969beece5dc93d29063da03793521bc54b814dd | [
"MIT"
] | 1 | 2022-03-28T01:50:03.000Z | 2022-03-28T01:50:03.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2021/8/19 下午1:23
| 19 | 29 | 0.539474 | 13 | 76 | 3.153846 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180328 | 0.197368 | 76 | 3 | 30 | 25.333333 | 0.491803 | 0.921053 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9b93abe4cdca56ce035b770f9132be8e55ad88c9 | 39 | py | Python | dictipy/__init__.py | gioelecrispo/dictipy | 3a4ab678472215541ae92624e5bfa98cd7d37bf4 | [
"MIT"
] | null | null | null | dictipy/__init__.py | gioelecrispo/dictipy | 3a4ab678472215541ae92624e5bfa98cd7d37bf4 | [
"MIT"
] | null | null | null | dictipy/__init__.py | gioelecrispo/dictipy | 3a4ab678472215541ae92624e5bfa98cd7d37bf4 | [
"MIT"
] | null | null | null | from dictipy.dict_maker import get_dict | 39 | 39 | 0.897436 | 7 | 39 | 4.714286 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 39 | 1 | 39 | 39 | 0.916667 | 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 |
9b97e8ee4432bb30a083a51c8350e1b39a3123f5 | 55 | py | Python | helpers/models/__init__.py | DimonLuk/django-boilerplate | ce629e3d32d3a121932d21aa78e83c34e78a9bf0 | [
"MIT"
] | 9 | 2020-01-31T17:29:21.000Z | 2020-03-07T12:32:36.000Z | helpers/models/__init__.py | DimonLuk/django-boilerplate | ce629e3d32d3a121932d21aa78e83c34e78a9bf0 | [
"MIT"
] | 8 | 2020-02-20T16:53:45.000Z | 2020-06-03T07:26:57.000Z | helpers/models/__init__.py | DimonLuk/django-boilerplate | ce629e3d32d3a121932d21aa78e83c34e78a9bf0 | [
"MIT"
] | null | null | null | from .abstract_models import AbstractTimeStamp # NOQA
| 27.5 | 54 | 0.836364 | 6 | 55 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 55 | 1 | 55 | 55 | 0.9375 | 0.072727 | 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 |
fd2220aa746d2717ba6f2f2feefaebd425f0308a | 1,159 | py | Python | 5/5-4.py | Inch-Z/Algorithm | 595e2e135874e182a5389d887b99fdaac6b99920 | [
"MIT"
] | 3 | 2020-05-13T14:55:57.000Z | 2020-06-04T15:40:24.000Z | 5/5-4.py | Inch-Z/Algorithm | 595e2e135874e182a5389d887b99fdaac6b99920 | [
"MIT"
] | null | null | null | 5/5-4.py | Inch-Z/Algorithm | 595e2e135874e182a5389d887b99fdaac6b99920 | [
"MIT"
] | null | null | null | class dpcharge:
def __init__(self, T: list, Coins: list, money: int):
n = len(Coins)
bag = [999999 for i in range(money+1)]
bag[0] = 0
for i in range(n-1, 0, -1):
for j in range(1, Coins[i]+1):
for k in range(m, T[i]-1, -1):
bag[k] = mi... | 29.717949 | 57 | 0.4478 | 194 | 1,159 | 2.634021 | 0.221649 | 0.123288 | 0.046967 | 0.086106 | 0.794521 | 0.794521 | 0.794521 | 0.794521 | 0.794521 | 0.794521 | 0 | 0.068681 | 0.371872 | 1,159 | 38 | 58 | 30.5 | 0.633242 | 0.059534 | 0 | 0.6875 | 0 | 0 | 0.034959 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.0625 | false | 0 | 0 | 0 | 0.125 | 0.15625 | 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 |
fd376c6df041acc56f2205e1cfd888298d91bec8 | 170 | py | Python | src/study/models/__init__.py | ppmzhang2/gpt3-study | 1c4e34238301e06da8cbda23eb4e473567e15c80 | [
"MIT"
] | null | null | null | src/study/models/__init__.py | ppmzhang2/gpt3-study | 1c4e34238301e06da8cbda23eb4e473567e15c80 | [
"MIT"
] | null | null | null | src/study/models/__init__.py | ppmzhang2/gpt3-study | 1c4e34238301e06da8cbda23eb4e473567e15c80 | [
"MIT"
] | null | null | null | """models and utils to expose"""
from ._predictor import prompt_predict
from ._trainer import train_seq_model
__all__ = [
'prompt_predict',
'train_seq_model',
]
| 18.888889 | 38 | 0.735294 | 22 | 170 | 5.136364 | 0.681818 | 0.230089 | 0.230089 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164706 | 170 | 8 | 39 | 21.25 | 0.795775 | 0.152941 | 0 | 0 | 0 | 0 | 0.210145 | 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 |
fd545c9a60320765afb1965503fd72d337346765 | 24 | py | Python | tests/.tests/modE.py | sourcery-ai-bot/justuse | 01e023eca60c45f354f6fcfebce9e8ec08f28270 | [
"MIT"
] | 27 | 2021-06-14T22:48:47.000Z | 2022-03-27T13:52:23.000Z | tests/.tests/modE.py | sourcery-ai-bot/justuse | 01e023eca60c45f354f6fcfebce9e8ec08f28270 | [
"MIT"
] | 375 | 2021-05-27T22:21:57.000Z | 2022-03-31T17:27:54.000Z | tests/.tests/modE.py | thirteenpylons/justuse | 02ad8811bd3c993b72cdc7acbf31d62d8accaf52 | [
"MIT"
] | 7 | 2021-06-13T17:54:43.000Z | 2021-12-02T20:02:01.000Z | print("FROM", __file__)
| 12 | 23 | 0.708333 | 3 | 24 | 4.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 24 | 1 | 24 | 24 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 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 |
fd58c6bddaae74286dff98b27035aeb870b29f51 | 146 | py | Python | ramda/partition.py | zydmayday/pamda | 6740d0294f3bedbeeef3bbc3042a43dceb3239b2 | [
"MIT"
] | 1 | 2022-03-14T07:35:13.000Z | 2022-03-14T07:35:13.000Z | ramda/partition.py | zydmayday/pamda | 6740d0294f3bedbeeef3bbc3042a43dceb3239b2 | [
"MIT"
] | 3 | 2022-03-24T02:30:18.000Z | 2022-03-31T07:46:04.000Z | ramda/partition.py | zydmayday/pamda | 6740d0294f3bedbeeef3bbc3042a43dceb3239b2 | [
"MIT"
] | null | null | null | from .filter import filter
from .juxt import juxt
from .reject import reject
partition = juxt([filter, reject])
partition.__name__ = 'partition'
| 20.857143 | 34 | 0.773973 | 19 | 146 | 5.736842 | 0.368421 | 0.275229 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136986 | 146 | 6 | 35 | 24.333333 | 0.865079 | 0 | 0 | 0 | 0 | 0 | 0.061644 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.6 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bd08f4b74e06dd8eb48beadf4cf7142eb8c48870 | 60 | py | Python | rsakeys/__init__.py | djangulo/django-crypto | 40d165aac5618877eb41d95f2a899606d32a8d4c | [
"MIT"
] | null | null | null | rsakeys/__init__.py | djangulo/django-crypto | 40d165aac5618877eb41d95f2a899606d32a8d4c | [
"MIT"
] | null | null | null | rsakeys/__init__.py | djangulo/django-crypto | 40d165aac5618877eb41d95f2a899606d32a8d4c | [
"MIT"
] | null | null | null | from .fields import RSAKeyField, RSAEncryptedTextField #noqa | 60 | 60 | 0.866667 | 6 | 60 | 8.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 60 | 1 | 60 | 60 | 0.945455 | 0.066667 | 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 |
1fa75f57abf359a805102902feda917b572e6a26 | 147 | py | Python | src/products/admin.py | vladimir-grigoriev/python_curse | 2ec55f453f29892bfbd8ba2d4f0712f7c0263ec2 | [
"Apache-2.0"
] | null | null | null | src/products/admin.py | vladimir-grigoriev/python_curse | 2ec55f453f29892bfbd8ba2d4f0712f7c0263ec2 | [
"Apache-2.0"
] | null | null | null | src/products/admin.py | vladimir-grigoriev/python_curse | 2ec55f453f29892bfbd8ba2d4f0712f7c0263ec2 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import Book
from django import forms
from directory.models import Series
admin.site.register(Book)
| 18.375 | 35 | 0.823129 | 22 | 147 | 5.5 | 0.545455 | 0.165289 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129252 | 147 | 7 | 36 | 21 | 0.945313 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.8 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
1fd3c1cbe97d74f3445f90e5d77a243306382d82 | 115 | py | Python | notes/admin.py | germang2/django_mongodb | bf108cb48670b16c7d8041f4edf406549dfbd6d6 | [
"MIT"
] | null | null | null | notes/admin.py | germang2/django_mongodb | bf108cb48670b16c7d8041f4edf406549dfbd6d6 | [
"MIT"
] | 5 | 2020-02-12T03:02:07.000Z | 2022-02-10T12:05:00.000Z | notes/admin.py | germang2/django_mongodb | bf108cb48670b16c7d8041f4edf406549dfbd6d6 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Notes
# Register your models here.
admin.site.register(Notes)
| 23 | 32 | 0.808696 | 17 | 115 | 5.470588 | 0.647059 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121739 | 115 | 4 | 33 | 28.75 | 0.920792 | 0.226087 | 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 |
1fe6e84939207ec9b9ffecb1b89db24c61085242 | 131 | py | Python | __init__.py | agarret7/PythonLibTemplate | 8313e12faf227e6471bf3fdba1f89471498175cd | [
"MIT"
] | null | null | null | __init__.py | agarret7/PythonLibTemplate | 8313e12faf227e6471bf3fdba1f89471498175cd | [
"MIT"
] | null | null | null | __init__.py | agarret7/PythonLibTemplate | 8313e12faf227e6471bf3fdba1f89471498175cd | [
"MIT"
] | null | null | null | # Make sure [SURFACE_EXPORTS] is a subset of exports in the core.__init__ file!
from [PROJECT_NAME].core import [SURFACE_EXPORTS]
| 32.75 | 79 | 0.78626 | 21 | 131 | 4.571429 | 0.809524 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137405 | 131 | 3 | 80 | 43.666667 | 0.849558 | 0.587786 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 1 | null | null | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1ff31321962739b1415b9a141cac22a98af36d87 | 90 | py | Python | test_example.py | cmput401-fall2018/web-app-ci-cd-with-travis-ci-MichaelParadis | 0de2168a3286ab671321fad00431761af3f496cb | [
"MIT"
] | null | null | null | test_example.py | cmput401-fall2018/web-app-ci-cd-with-travis-ci-MichaelParadis | 0de2168a3286ab671321fad00431761af3f496cb | [
"MIT"
] | 3 | 2020-02-11T23:13:04.000Z | 2021-06-10T20:50:27.000Z | test_example.py | cmput401-fall2018/web-app-ci-cd-with-travis-ci-MichaelParadis | 0de2168a3286ab671321fad00431761af3f496cb | [
"MIT"
] | null | null | null | # content of test_sample.py
def test_answer():
assert True # to see what was printed
| 22.5 | 42 | 0.722222 | 15 | 90 | 4.2 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211111 | 90 | 3 | 43 | 30 | 0.887324 | 0.544444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1ffde224d72eda88072f000ca6f0018cb2384124 | 244 | py | Python | baseStation/src/pathfinding/domain/iPathfinder.py | olgam4/design3 | 6e05d123a24deae7dda646df535844a158ef5cc0 | [
"WTFPL"
] | null | null | null | baseStation/src/pathfinding/domain/iPathfinder.py | olgam4/design3 | 6e05d123a24deae7dda646df535844a158ef5cc0 | [
"WTFPL"
] | null | null | null | baseStation/src/pathfinding/domain/iPathfinder.py | olgam4/design3 | 6e05d123a24deae7dda646df535844a158ef5cc0 | [
"WTFPL"
] | null | null | null | from abc import ABC, abstractmethod
from pathfinding.domain.position import Position
from pathfinding.domain.table import Table
class IPathfinder(ABC):
@abstractmethod
def pathable_to(self, position: Position) -> Table:
pass
| 22.181818 | 55 | 0.762295 | 29 | 244 | 6.37931 | 0.517241 | 0.183784 | 0.227027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172131 | 244 | 10 | 56 | 24.4 | 0.915842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0.142857 | 0.428571 | 0 | 0.714286 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
1f13cbec558d614240ba4bf46bc1398288425fb8 | 69 | py | Python | openpyxl/formula/__init__.py | xinetzone/openpyxl | df1507591952e6b4f865957bafc4f69e44845b75 | [
"MIT"
] | null | null | null | openpyxl/formula/__init__.py | xinetzone/openpyxl | df1507591952e6b4f865957bafc4f69e44845b75 | [
"MIT"
] | null | null | null | openpyxl/formula/__init__.py | xinetzone/openpyxl | df1507591952e6b4f865957bafc4f69e44845b75 | [
"MIT"
] | null | null | null | # Copyright (c) 2010-2022 openpyxl
from .tokenizer import Tokenizer
| 17.25 | 34 | 0.782609 | 9 | 69 | 6 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 0.144928 | 69 | 3 | 35 | 23 | 0.779661 | 0.463768 | 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 |
1f49715786b72e815ea2d72c636ebfc383479ef0 | 38 | py | Python | tests/__init__.py | beingkk/graphico | 4f72ec991d1aa98f49c6c4ce03bd44ba2777f6d7 | [
"MIT"
] | null | null | null | tests/__init__.py | beingkk/graphico | 4f72ec991d1aa98f49c6c4ce03bd44ba2777f6d7 | [
"MIT"
] | 3 | 2022-02-19T19:06:21.000Z | 2022-02-19T20:13:50.000Z | tests/__init__.py | beingkk/graphico | 4f72ec991d1aa98f49c6c4ce03bd44ba2777f6d7 | [
"MIT"
] | null | null | null | """Unit test package for graphico."""
| 19 | 37 | 0.684211 | 5 | 38 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.787879 | 0.815789 | 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 |
1f514393340292904241f95daa69030206922cd7 | 96 | py | Python | test_fib.py | chapman-cs510-2017f/cw-03-logan_tim_atabak | 9e77ff4cb87ae7f2986ebde1a8fff55ea88d3554 | [
"MIT"
] | null | null | null | test_fib.py | chapman-cs510-2017f/cw-03-logan_tim_atabak | 9e77ff4cb87ae7f2986ebde1a8fff55ea88d3554 | [
"MIT"
] | null | null | null | test_fib.py | chapman-cs510-2017f/cw-03-logan_tim_atabak | 9e77ff4cb87ae7f2986ebde1a8fff55ea88d3554 | [
"MIT"
] | null | null | null | import fib
def test_fib():
assert fib.main(['progam_name', '10']) == 55
assert 1 == 1
| 13.714286 | 48 | 0.583333 | 15 | 96 | 3.6 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082192 | 0.239583 | 96 | 6 | 49 | 16 | 0.657534 | 0 | 0 | 0 | 0 | 0 | 0.136842 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.25 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2f1b9f1afba30b8eb6158a68c2d3022e9d66bba2 | 9,313 | py | Python | DDTmethod/Converters.py | anovak10/plots | 235934e6200a8283a210f0dba9de8b4f1f3a7b7a | [
"MIT"
] | null | null | null | DDTmethod/Converters.py | anovak10/plots | 235934e6200a8283a210f0dba9de8b4f1f3a7b7a | [
"MIT"
] | null | null | null | DDTmethod/Converters.py | anovak10/plots | 235934e6200a8283a210f0dba9de8b4f1f3a7b7a | [
"MIT"
] | null | null | null | # A bunch of CONVERTERS for the Fit part of Alphabet.
import os
import math
from array import array
import optparse
import ROOT
from ROOT import *
import scipy
#### LINEAR ####
class LinearFit:
def __init__(self, init_var, range_min, range_max, name, Opt):
self.Opt = Opt
self.rm = range_min
self.rp = range_max... | 65.584507 | 517 | 0.65167 | 1,510 | 9,313 | 3.994702 | 0.055629 | 0.128316 | 0.187997 | 0.043767 | 0.914456 | 0.911472 | 0.852288 | 0.587202 | 0.587202 | 0.587202 | 0 | 0.074425 | 0.070869 | 9,313 | 141 | 518 | 66.049645 | 0.622674 | 0.032965 | 0 | 0.425 | 0 | 0.133333 | 0.228354 | 0.112501 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.058333 | null | null | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2f4521abdbf9f9ee82a6128003ed48cb9429aa8c | 3,458 | py | Python | tests/test_modify.py | noqqe/rvo | 423e1ea1aea0a2dc849ceae838e18896a13e7771 | [
"MIT"
] | 14 | 2016-05-04T13:56:10.000Z | 2019-08-01T14:31:33.000Z | tests/test_modify.py | noqqe/rvo | 423e1ea1aea0a2dc849ceae838e18896a13e7771 | [
"MIT"
] | 12 | 2016-08-01T12:42:53.000Z | 2022-02-16T09:37:47.000Z | tests/test_modify.py | noqqe/rvo | 423e1ea1aea0a2dc849ceae838e18896a13e7771 | [
"MIT"
] | null | null | null | from conftest import rvo_output, rvo_err
from click.testing import CliRunner
from rvo import cli
def test_modify_all_parameters():
options = ['modify', '-t', 'foo', '-c', 'test', '569e5eed6815b47ce7bdb583']
output = ['Updated', 'categories', 'test']
rvo_output(options,output)
def test_modify_no_category()... | 35.285714 | 101 | 0.657606 | 413 | 3,458 | 5.300242 | 0.154964 | 0.057561 | 0.106898 | 0.120603 | 0.858383 | 0.834628 | 0.801279 | 0.735496 | 0.639561 | 0.576976 | 0 | 0.042955 | 0.158473 | 3,458 | 97 | 102 | 35.649485 | 0.709278 | 0 | 0 | 0.525641 | 0 | 0 | 0.222961 | 0.055523 | 0 | 0 | 0 | 0 | 0.115385 | 1 | 0.230769 | false | 0.012821 | 0.038462 | 0 | 0.269231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2f4a8c126b8b24a541da885cce383db3c18142ed | 35 | py | Python | gears_sass/__init__.py | radiocutfm/gears-sass | 99e2eb7748dff2776fa76eaf531dfcc192223ad4 | [
"ISC"
] | null | null | null | gears_sass/__init__.py | radiocutfm/gears-sass | 99e2eb7748dff2776fa76eaf531dfcc192223ad4 | [
"ISC"
] | null | null | null | gears_sass/__init__.py | radiocutfm/gears-sass | 99e2eb7748dff2776fa76eaf531dfcc192223ad4 | [
"ISC"
] | 2 | 2015-02-19T21:28:17.000Z | 2020-02-20T22:57:28.000Z | from .compiler import SASSCompiler
| 17.5 | 34 | 0.857143 | 4 | 35 | 7.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 35 | 1 | 35 | 35 | 0.967742 | 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 |
2f54a6c1f86ddf24d08bcc4d7ddab6e7eb64837e | 20 | py | Python | transform/__init__.py | AndresRubianoM/exportVisualization | 1e2d00542f65f7d45805d1cd5ed44401cb5ebc00 | [
"MIT"
] | null | null | null | transform/__init__.py | AndresRubianoM/exportVisualization | 1e2d00542f65f7d45805d1cd5ed44401cb5ebc00 | [
"MIT"
] | null | null | null | transform/__init__.py | AndresRubianoM/exportVisualization | 1e2d00542f65f7d45805d1cd5ed44401cb5ebc00 | [
"MIT"
] | null | null | null | from .clean import * | 20 | 20 | 0.75 | 3 | 20 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 20 | 1 | 20 | 20 | 0.882353 | 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 |
2f9a8a9d50474e2cf4055836a4f061e629961546 | 926 | py | Python | test/test_sites_page.py | CiscoDevNet/python-msx-sdk | d7e0a08c656504b4f4551d263e67c671a2a04b3f | [
"MIT"
] | null | null | null | test/test_sites_page.py | CiscoDevNet/python-msx-sdk | d7e0a08c656504b4f4551d263e67c671a2a04b3f | [
"MIT"
] | null | null | null | test/test_sites_page.py | CiscoDevNet/python-msx-sdk | d7e0a08c656504b4f4551d263e67c671a2a04b3f | [
"MIT"
] | null | null | null | """
MSX SDK
MSX SDK client. # noqa: E501
The version of the OpenAPI document: 1.0.9
Generated by: https://openapi-generator.tech
"""
import sys
import unittest
import python_msx_sdk
from python_msx_sdk.model.page_header import PageHeader
from python_msx_sdk.model.site import Site
from python_msx_s... | 22.047619 | 79 | 0.701944 | 116 | 926 | 5.405172 | 0.474138 | 0.066986 | 0.095694 | 0.102073 | 0.162679 | 0.095694 | 0.095694 | 0 | 0 | 0 | 0 | 0.012195 | 0.203024 | 926 | 41 | 80 | 22.585366 | 0.837398 | 0.293737 | 0 | 0.157895 | 1 | 0 | 0.058252 | 0 | 0 | 0 | 0 | 0.02439 | 0 | 1 | 0.157895 | false | 0.157895 | 0.368421 | 0 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
2f9c8137eff3d6b546a5c179305a16eef01bd2cd | 24 | py | Python | tigerforecast/utils/tests/__init__.py | danielsuo/TigerForecast | ae18b169d96dd81db88ab27a8b055036845d3a8f | [
"Apache-2.0"
] | 1 | 2020-07-28T09:07:29.000Z | 2020-07-28T09:07:29.000Z | ctsb/utils/tests/__init__.py | paula-gradu/ctsb | fdc00acb798949ce1120778ad4725faf170f80c3 | [
"Apache-2.0"
] | null | null | null | ctsb/utils/tests/__init__.py | paula-gradu/ctsb | fdc00acb798949ce1120778ad4725faf170f80c3 | [
"Apache-2.0"
] | 1 | 2021-04-12T22:39:26.000Z | 2021-04-12T22:39:26.000Z | # utils/tests init file
| 12 | 23 | 0.75 | 4 | 24 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.9 | 0.875 | 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 |
c80bc04c1a47d49c8202b92263e536aeea3a685d | 167 | py | Python | watering_logs/urls.py | Kexolotl/App.SmartWateringSystem | a8e6f197b50cb76adff5ab65c14a02a1a251491c | [
"MIT"
] | null | null | null | watering_logs/urls.py | Kexolotl/App.SmartWateringSystem | a8e6f197b50cb76adff5ab65c14a02a1a251491c | [
"MIT"
] | null | null | null | watering_logs/urls.py | Kexolotl/App.SmartWateringSystem | a8e6f197b50cb76adff5ab65c14a02a1a251491c | [
"MIT"
] | null | null | null | from django.urls import path
from watering_logs import views
urlpatterns = [
path('<int:lines>', views.logs, name='logs'),
path('', views.logs, name='logs')
] | 23.857143 | 49 | 0.676647 | 23 | 167 | 4.869565 | 0.521739 | 0.160714 | 0.232143 | 0.303571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155689 | 167 | 7 | 50 | 23.857143 | 0.794326 | 0 | 0 | 0 | 0 | 0 | 0.113095 | 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 |
c80bcf9173db99098eaa14b4ab29d71de039dd3f | 45 | py | Python | tests/components/ps4/__init__.py | domwillcode/home-assistant | f170c80bea70c939c098b5c88320a1c789858958 | [
"Apache-2.0"
] | 30,023 | 2016-04-13T10:17:53.000Z | 2020-03-02T12:56:31.000Z | tests/components/ps4/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 31,101 | 2020-03-02T13:00:16.000Z | 2022-03-31T23:57:36.000Z | tests/components/ps4/__init__.py | jagadeeshvenkatesh/core | 1bd982668449815fee2105478569f8e4b5670add | [
"Apache-2.0"
] | 11,956 | 2016-04-13T18:42:31.000Z | 2020-03-02T09:32:12.000Z | """Tests for the PlayStation 4 component."""
| 22.5 | 44 | 0.711111 | 6 | 45 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.133333 | 45 | 1 | 45 | 45 | 0.794872 | 0.844444 | 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 |
c83e8d50b39ecb01325ff6c9e3c038619df0609d | 385 | py | Python | SUAVE/SUAVE-2.5.0/trunk/SUAVE/Optimization/Package_Setups/__init__.py | Vinicius-Tanigawa/Undergraduate-Research-Project | e92372f07882484b127d7affe305eeec2238b8a9 | [
"MIT"
] | null | null | null | SUAVE/SUAVE-2.5.0/trunk/SUAVE/Optimization/Package_Setups/__init__.py | Vinicius-Tanigawa/Undergraduate-Research-Project | e92372f07882484b127d7affe305eeec2238b8a9 | [
"MIT"
] | null | null | null | SUAVE/SUAVE-2.5.0/trunk/SUAVE/Optimization/Package_Setups/__init__.py | Vinicius-Tanigawa/Undergraduate-Research-Project | e92372f07882484b127d7affe305eeec2238b8a9 | [
"MIT"
] | null | null | null | ## @defgroup Optimization-Package_Setups Package_Setups
# Individual package setups that help you interface with other codes
# @ingroup Optimization
from . import pyopt_setup
from . import scipy_setup
from . import ipopt_setup
from . import pyopt_surrogate_setup
from . import TRMM
from . import additive_setup
from . i... | 32.083333 | 68 | 0.831169 | 51 | 385 | 6.058824 | 0.490196 | 0.2589 | 0.291262 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12987 | 385 | 12 | 69 | 32.083333 | 0.922388 | 0.366234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 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 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c06e370a2e03780212c3bdd2afba076826e1bae9 | 314 | py | Python | tests/rock_paper_scissors/context.py | muzudho/state-machine-py | f8f442c88fcc16db07960ffccc5e466bf20d9a11 | [
"MIT"
] | null | null | null | tests/rock_paper_scissors/context.py | muzudho/state-machine-py | f8f442c88fcc16db07960ffccc5e466bf20d9a11 | [
"MIT"
] | null | null | null | tests/rock_paper_scissors/context.py | muzudho/state-machine-py | f8f442c88fcc16db07960ffccc5e466bf20d9a11 | [
"MIT"
] | null | null | null | class Context():
"""ステートマシンは、このContextが何なのか知りません。
外部から任意に与えることができる変数です"""
def __init__(self):
self._user_name = ""
@property
def user_name(self):
"""ログインユーザー名"""
return self._user_name
@user_name.setter
def user_name(self, val):
self._user_name = val
| 19.625 | 36 | 0.611465 | 33 | 314 | 5.424242 | 0.454545 | 0.268156 | 0.201117 | 0.167598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.270701 | 314 | 15 | 37 | 20.933333 | 0.781659 | 0.191083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
c06f44bd8fd62272a59590d85ff358375ffcdb5b | 204 | py | Python | project/admin.py | NoobLucifer/NSP | f411570924905f1bf3c39fa36b5949e5b9e37c0a | [
"MIT"
] | 20 | 2018-08-02T15:10:30.000Z | 2019-05-15T14:38:06.000Z | project/admin.py | nk521/NSP | ecffc873fbfe3471ed320f0698adca4e8c573ab5 | [
"MIT"
] | 55 | 2018-06-19T04:31:56.000Z | 2018-07-19T17:42:00.000Z | project/admin.py | nk521/NSP | ecffc873fbfe3471ed320f0698adca4e8c573ab5 | [
"MIT"
] | 10 | 2018-08-03T10:42:16.000Z | 2019-01-31T10:07:57.000Z | from django.contrib import admin
from .models import ProjectDetail, ProjectPeopleInterested
# Register your models here.
admin.site.register(ProjectDetail)
admin.site.register(ProjectPeopleInterested)
| 22.666667 | 58 | 0.843137 | 22 | 204 | 7.818182 | 0.545455 | 0.104651 | 0.197674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093137 | 204 | 8 | 59 | 25.5 | 0.92973 | 0.127451 | 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 |
c0d708b588b006859c5c29ce15743a48dd415078 | 280 | py | Python | backend/app/core/crud/crud_serializer.py | air-services/boilerplate | 8c69927c299882048f9aaaaa58483eea2a6a1cd0 | [
"MIT"
] | null | null | null | backend/app/core/crud/crud_serializer.py | air-services/boilerplate | 8c69927c299882048f9aaaaa58483eea2a6a1cd0 | [
"MIT"
] | null | null | null | backend/app/core/crud/crud_serializer.py | air-services/boilerplate | 8c69927c299882048f9aaaaa58483eea2a6a1cd0 | [
"MIT"
] | null | null | null | class CrudSerializer:
get_list_response_model = None
get_item_response_model = None
update_item_request_model = None
update_item_response_model = None
create_item_request_model = None
create_item_response_model = None
remove_item_response_model = None
| 31.111111 | 37 | 0.789286 | 37 | 280 | 5.405405 | 0.324324 | 0.315 | 0.425 | 0.42 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182143 | 280 | 8 | 38 | 35 | 0.873362 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 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 |
c0f22251beef7847c2ef32170b7f3e583d5b8acf | 283,195 | py | Python | mayaSDK/maya/_OpenMaya.py | FXTD-ODYSSEY/vscode-mayapy | 7a21872f80b5b740fc653e79c3f9b5268e87b3c3 | [
"MIT"
] | 20 | 2019-09-20T00:30:22.000Z | 2021-12-26T06:56:16.000Z | mayaSDK/maya/_OpenMaya.py | minjiang999/vscode-mayapy | 7a21872f80b5b740fc653e79c3f9b5268e87b3c3 | [
"MIT"
] | 5 | 2019-12-29T15:19:03.000Z | 2022-03-29T16:54:19.000Z | mayaSDK/maya/_OpenMaya.py | minjiang999/vscode-mayapy | 7a21872f80b5b740fc653e79c3f9b5268e87b3c3 | [
"MIT"
] | 8 | 2019-09-23T05:46:44.000Z | 2022-01-11T14:42:14.000Z | def MFnComponent_elementCount(*args, **kwargs):
pass
def MFloatMatrix_isEquivalent(*args, **kwargs):
pass
def MTrimBoundaryArray_insert(*args, **kwargs):
pass
def boolPtr_value(*args, **kwargs):
pass
def MQuaternion_setToZAxis(*args, **kwargs):
pass
def MDataBlock_inputArrayValue(*args, **... | 14.299167 | 77 | 0.717396 | 29,808 | 283,195 | 6.597457 | 0.161165 | 0.221604 | 0.310246 | 0.376641 | 0.735194 | 0.157457 | 0.000702 | 0 | 0 | 0 | 0 | 0.017443 | 0.170632 | 283,195 | 19,804 | 78 | 14.299889 | 0.819847 | 0 | 0 | 0.440158 | 0 | 0 | 0.00006 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.440158 | false | 0.442481 | 0.000505 | 0 | 0.440663 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
23bc54dce26731feafdb24b6b81b7902d9025a7f | 67 | py | Python | src/graphdj/__init__.py | hlop3z/graphdj | 4a7dc53f1e5b207f311d5385ff582e5d222d6ac7 | [
"BSD-3-Clause"
] | 1 | 2021-08-24T04:53:50.000Z | 2021-08-24T04:53:50.000Z | src/graphdj/__init__.py | hlop3z/graphdj | 4a7dc53f1e5b207f311d5385ff582e5d222d6ac7 | [
"BSD-3-Clause"
] | null | null | null | src/graphdj/__init__.py | hlop3z/graphdj | 4a7dc53f1e5b207f311d5385ff582e5d222d6ac7 | [
"BSD-3-Clause"
] | null | null | null | from .core import schema
from .middleware import DisableIntrospect
| 22.333333 | 41 | 0.850746 | 8 | 67 | 7.125 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119403 | 67 | 2 | 42 | 33.5 | 0.966102 | 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 |
23de28d655c6719335c09615985155d2a67428e3 | 25 | py | Python | hello_world.py | jyotipro10/profile-rest-api | e91d1b3aa387bb4eae87f00190597e2d228067c5 | [
"MIT"
] | null | null | null | hello_world.py | jyotipro10/profile-rest-api | e91d1b3aa387bb4eae87f00190597e2d228067c5 | [
"MIT"
] | null | null | null | hello_world.py | jyotipro10/profile-rest-api | e91d1b3aa387bb4eae87f00190597e2d228067c5 | [
"MIT"
] | null | null | null | print("Hello Django!!!")
| 12.5 | 24 | 0.64 | 3 | 25 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 25 | 1 | 25 | 25 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0.6 | 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 |
23f8cf921e1e9cac80301c8a7a64d4410653e0e8 | 3,572 | py | Python | t/text_test.py | doy/libvt100-python | 1adf706513f097a545760b17badbbd132ed7d1b4 | [
"MIT"
] | 1 | 2021-05-25T01:58:24.000Z | 2021-05-25T01:58:24.000Z | t/text_test.py | doy/libvt100-python | 1adf706513f097a545760b17badbbd132ed7d1b4 | [
"MIT"
] | null | null | null | t/text_test.py | doy/libvt100-python | 1adf706513f097a545760b17badbbd132ed7d1b4 | [
"MIT"
] | 1 | 2015-03-15T14:09:00.000Z | 2015-03-15T14:09:00.000Z | # coding=utf-8
from . import VT100Test
class TextTest(VT100Test):
def test_ascii(self):
self.process("foo")
assert self.vt.cell(0, 0).contents() == "f"
assert self.vt.cell(0, 1).contents() == "o"
assert self.vt.cell(0, 2).contents() == "o"
assert self.vt.cell(0, 3).contents(... | 47 | 139 | 0.537514 | 524 | 3,572 | 3.629771 | 0.131679 | 0.247108 | 0.29653 | 0.294427 | 0.746583 | 0.712934 | 0.677182 | 0.499474 | 0.371188 | 0.31756 | 0 | 0.110044 | 0.241881 | 3,572 | 75 | 140 | 47.626667 | 0.592319 | 0.003359 | 0 | 0.191176 | 0 | 0 | 0.081788 | 0 | 0 | 0 | 0 | 0 | 0.691176 | 1 | 0.088235 | false | 0 | 0.014706 | 0 | 0.117647 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f1ac4fd522f3d6da217bf541f085ce4bb2ee8371 | 156 | py | Python | Version0.2/Python/Mesh/Mesh.py | glwagner/Exasim | ee4540443435f958fa2ca78d59cbf9cff0fe69de | [
"MIT"
] | 37 | 2020-12-09T20:24:36.000Z | 2022-02-18T17:19:23.000Z | Version0.2/Python/Mesh/Mesh.py | glwagner/Exasim | ee4540443435f958fa2ca78d59cbf9cff0fe69de | [
"MIT"
] | 25 | 2020-11-25T20:37:33.000Z | 2022-02-25T15:53:11.000Z | Version0.2/Python/Mesh/Mesh.py | glwagner/Exasim | ee4540443435f958fa2ca78d59cbf9cff0fe69de | [
"MIT"
] | 8 | 2020-11-30T15:34:06.000Z | 2022-01-09T21:06:00.000Z | from squaremesh import SquareMesh
from cubemesh import cubemesh
from gmshcall import gmshcall
from readmesh import readmesh
from writemesh import writemesh
| 26 | 33 | 0.871795 | 20 | 156 | 6.8 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 156 | 5 | 34 | 31.2 | 1 | 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 |
9e67a7aff3e2009453fea9f21d100a7b55f90efb | 204 | py | Python | fanscribed/apps/transcripts/templatetags/timecode_tags.py | fanscribed/fanscribed | 89b14496459f81a152df38ed5098fba2b087a1d7 | [
"MIT"
] | 8 | 2015-01-05T07:04:02.000Z | 2016-07-19T17:56:46.000Z | fanscribed/apps/transcripts/templatetags/timecode_tags.py | fanscribed/fanscribed | 89b14496459f81a152df38ed5098fba2b087a1d7 | [
"MIT"
] | 32 | 2015-03-18T18:51:00.000Z | 2021-06-10T20:37:33.000Z | fanscribed/apps/transcripts/templatetags/timecode_tags.py | fanscribed/fanscribed | 89b14496459f81a152df38ed5098fba2b087a1d7 | [
"MIT"
] | 5 | 2015-02-10T21:15:32.000Z | 2016-06-02T17:26:14.000Z | from django import template
from fanscribed.apps.media.timecode import decimal_to_timecode
register = template.Library()
@register.filter()
def timecode(value):
return decimal_to_timecode(value)
| 17 | 62 | 0.79902 | 26 | 204 | 6.115385 | 0.615385 | 0.113208 | 0.213836 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122549 | 204 | 11 | 63 | 18.545455 | 0.888268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0.166667 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
7bb024fd4a81830c8e45f307e78cf11f51356da1 | 25 | py | Python | python/sub/__init__.py | robotlightsyou/test | 015f13943fc402d8ce86c5f6d2f5a7d032b3340a | [
"MIT"
] | 2 | 2019-05-26T15:09:34.000Z | 2021-09-12T08:01:23.000Z | python/sub/__init__.py | robotlightsyou/test | 015f13943fc402d8ce86c5f6d2f5a7d032b3340a | [
"MIT"
] | null | null | null | python/sub/__init__.py | robotlightsyou/test | 015f13943fc402d8ce86c5f6d2f5a7d032b3340a | [
"MIT"
] | 1 | 2021-04-11T20:28:21.000Z | 2021-04-11T20:28:21.000Z | print('sub/__init__.py')
| 12.5 | 24 | 0.72 | 4 | 25 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 25 | 1 | 25 | 25 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0.6 | 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 |
c87d4dc7a39ac756c215d14b6b3bccde93d33020 | 69 | py | Python | spring_cloud/commons/client/loadbalancer/supplier/__init__.py | haribo0915/Spring-Cloud-in-Python | 0bcd7093869c797df14428bf2d1b0a779f96e573 | [
"Apache-2.0"
] | 5 | 2020-10-06T09:48:23.000Z | 2020-10-07T13:19:46.000Z | spring_cloud/commons/client/loadbalancer/supplier/__init__.py | haribo0915/Spring-Cloud-in-Python | 0bcd7093869c797df14428bf2d1b0a779f96e573 | [
"Apache-2.0"
] | 5 | 2020-10-05T09:57:01.000Z | 2020-10-12T19:52:48.000Z | spring_cloud/commons/client/loadbalancer/supplier/__init__.py | haribo0915/Spring-Cloud-in-Python | 0bcd7093869c797df14428bf2d1b0a779f96e573 | [
"Apache-2.0"
] | 8 | 2020-10-05T06:34:49.000Z | 2020-10-07T13:19:46.000Z | # -*- coding: utf-8 -*-
from .base import *
from .decorator import *
| 17.25 | 24 | 0.623188 | 9 | 69 | 4.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0.188406 | 69 | 3 | 25 | 23 | 0.75 | 0.304348 | 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 |
c8b42733ce815ece53d00ef656523f653cc0e77a | 339 | py | Python | engine/azure/settingaz.py | furukawaMassiveReborn777/ChildChatbot | ebbe4fc94eb0a86db84ecb090c5240391ff244cf | [
"MIT"
] | 4 | 2019-06-26T10:16:47.000Z | 2022-01-27T08:13:57.000Z | engine/azure/settingaz.py | furukawaMassiveReborn777/ChildChatbot | ebbe4fc94eb0a86db84ecb090c5240391ff244cf | [
"MIT"
] | null | null | null | engine/azure/settingaz.py | furukawaMassiveReborn777/ChildChatbot | ebbe4fc94eb0a86db84ecb090c5240391ff244cf | [
"MIT"
] | null | null | null | SEARCH_WORD_LIST = ['woman', 'wear', 'skirt']#['cat', 'and', 'dog']
SECRET_FILE = "./engine/data/refer/azure_secret_sample.json"# be careful not to expose!
SAVE_DIR = "./engine/data/tmp"
SAVE_PAR_DIR = "./engine/data/tmp/bingimgs"
OBJINFO_PATH = "./engine/data/tmp/obj.json"
AZURE_DICT = "./engine/data/tmp/azure_rel_di... | 48.428571 | 87 | 0.722714 | 53 | 339 | 4.377358 | 0.622642 | 0.215517 | 0.224138 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079646 | 339 | 7 | 88 | 48.428571 | 0.74359 | 0.138643 | 0 | 0 | 0 | 0 | 0.601375 | 0.494845 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c8e0004570487d62a80559710d2337d2721bd300 | 171 | py | Python | core/utils/dotted_dict.py | jklemm/py-dnd | 9f20a0e4f484297e80170cb529c0af8da0cf1032 | [
"MIT"
] | 9 | 2015-04-16T20:13:20.000Z | 2021-11-29T18:56:16.000Z | core/utils/dotted_dict.py | jklemm/py-dnd | 9f20a0e4f484297e80170cb529c0af8da0cf1032 | [
"MIT"
] | 1 | 2015-04-16T20:12:43.000Z | 2015-04-18T12:25:48.000Z | core/utils/dotted_dict.py | jklemm/py-dnd | 9f20a0e4f484297e80170cb529c0af8da0cf1032 | [
"MIT"
] | 2 | 2021-11-27T23:49:52.000Z | 2021-11-29T18:56:19.000Z | class DottedDict(dict):
__slots__ = ()
def __getattr__(self, item):
return self[item]
def __setattr__(self, name, value):
self[name] = value
| 19 | 39 | 0.608187 | 19 | 171 | 4.842105 | 0.631579 | 0.173913 | 0.282609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.274854 | 171 | 8 | 40 | 21.375 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
c8f057ca5c5634abaa98f2c41bcf033d2017b131 | 71 | py | Python | random.py | Max143/Python_programs | 5084900844d7f6c39a255a6cfb8fa5120a189026 | [
"MIT"
] | null | null | null | random.py | Max143/Python_programs | 5084900844d7f6c39a255a6cfb8fa5120a189026 | [
"MIT"
] | null | null | null | random.py | Max143/Python_programs | 5084900844d7f6c39a255a6cfb8fa5120a189026 | [
"MIT"
] | null | null | null | # Using random
import random
print (random.randint(0, 9))
| 7.888889 | 29 | 0.605634 | 9 | 71 | 4.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0.295775 | 71 | 8 | 30 | 8.875 | 0.82 | 0.169014 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
cdc8df6fe8846f07820eded6b721e901455ca7bb | 244 | py | Python | Py4ePlus/examples/chapter11/__init__.py | morrigan-dev/python-examples | e54062678f3d23e555a95e63587717a5c470e2fc | [
"Apache-2.0"
] | 1 | 2021-12-22T11:34:17.000Z | 2021-12-22T11:34:17.000Z | Py4ePlus/examples/chapter11/__init__.py | morrigan-dev/python-examples | e54062678f3d23e555a95e63587717a5c470e2fc | [
"Apache-2.0"
] | 2 | 2020-06-25T20:33:33.000Z | 2020-06-25T20:34:01.000Z | Py4ePlus/examples/chapter11/__init__.py | morrigan-dev/python-examples | e54062678f3d23e555a95e63587717a5c470e2fc | [
"Apache-2.0"
] | null | null | null | '''
Kapitel 11 - Reguläre Ausdrücke
In diesem Kapitel geht es um reguläre Ausdrücke
@see: https://www.py4e.com/html3/11-regex
@see: https://www.python-kurs.eu/python3_re.php
@see: https://www.python-kurs.eu/python3_re_fortgeschrittene.php
''' | 27.111111 | 64 | 0.758197 | 39 | 244 | 4.666667 | 0.589744 | 0.131868 | 0.181319 | 0.186813 | 0.351648 | 0.351648 | 0.351648 | 0.351648 | 0 | 0 | 0 | 0.036036 | 0.090164 | 244 | 9 | 65 | 27.111111 | 0.783784 | 0.967213 | 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 |
cdcf69d6afbec5f60925f5bf494cfb00430698e7 | 28,486 | py | Python | tests/adapters/switches/juniper_qfx_copper_test.py | internap/netman | 8760f168cf056ce4428d239610514969e5f9bf56 | [
"Apache-2.0"
] | 38 | 2015-11-30T10:11:42.000Z | 2022-02-10T18:31:44.000Z | tests/adapters/switches/juniper_qfx_copper_test.py | internap/netman | 8760f168cf056ce4428d239610514969e5f9bf56 | [
"Apache-2.0"
] | 143 | 2015-12-10T19:00:42.000Z | 2020-08-20T13:51:42.000Z | tests/adapters/switches/juniper_qfx_copper_test.py | internap/netman | 8760f168cf056ce4428d239610514969e5f9bf56 | [
"Apache-2.0"
] | 15 | 2015-12-14T23:03:30.000Z | 2019-01-15T19:35:45.000Z | # Copyright 2015 Internap.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, so... | 39.291034 | 124 | 0.457032 | 2,568 | 28,486 | 4.910047 | 0.115265 | 0.028551 | 0.038544 | 0.019668 | 0.770006 | 0.741296 | 0.717345 | 0.694107 | 0.671187 | 0.660163 | 0 | 0.037596 | 0.427614 | 28,486 | 724 | 125 | 39.345304 | 0.735725 | 0.019167 | 0 | 0.812594 | 0 | 0.035982 | 0.728461 | 0.153943 | 0 | 0 | 0.001074 | 0 | 0.085457 | 1 | 0.017991 | false | 0.002999 | 0.01949 | 0 | 0.038981 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
cdebba5d181a189ca8950e35d7dfd186ebd2f061 | 51 | py | Python | tests/unit/test_misc.py | supposedly/kizbra | c2a8c6a355dc2cc5fd9a245a053c1f5f1fa59dce | [
"MIT"
] | 8 | 2018-05-25T02:00:35.000Z | 2018-08-14T01:49:15.000Z | tests/unit/test_misc.py | supposedly/kizbra | c2a8c6a355dc2cc5fd9a245a053c1f5f1fa59dce | [
"MIT"
] | 2 | 2018-06-04T15:43:38.000Z | 2018-07-08T23:56:22.000Z | tests/unit/test_misc.py | supposedly/kizbra | c2a8c6a355dc2cc5fd9a245a053c1f5f1fa59dce | [
"MIT"
] | 1 | 2020-09-21T08:10:37.000Z | 2020-09-21T08:10:37.000Z | import pytest
from joffrey import CLI
cli = CLI() | 10.2 | 23 | 0.745098 | 8 | 51 | 4.75 | 0.625 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196078 | 51 | 5 | 24 | 10.2 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a8114f76a73e28e8dbb4a7edbec68da3a3818e61 | 93 | py | Python | src/nl/ekholabs/sample/python/module/__init__.py | ekholabs/python | 03a80c1341fa3259513e794703eb88c7cca9db21 | [
"Apache-2.0"
] | null | null | null | src/nl/ekholabs/sample/python/module/__init__.py | ekholabs/python | 03a80c1341fa3259513e794703eb88c7cca9db21 | [
"Apache-2.0"
] | null | null | null | src/nl/ekholabs/sample/python/module/__init__.py | ekholabs/python | 03a80c1341fa3259513e794703eb88c7cca9db21 | [
"Apache-2.0"
] | null | null | null | '''
Created on Sep 2, 2010
@author: Wilder Rodrigues (wilder.rodrigues@ekholabs.nl)
'''
| 15.5 | 57 | 0.677419 | 12 | 93 | 5.25 | 0.833333 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064935 | 0.172043 | 93 | 5 | 58 | 18.6 | 0.753247 | 0.860215 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a827b0fc9d0505c6a9f1b6b98e9359deaefdca90 | 282 | py | Python | ansys/tools/repo_sync/__init__.py | greschd/ansys-tools-repo-sync | c0db4cc6de2dcd9d9d5309fc1783b6aa49778f90 | [
"MIT"
] | null | null | null | ansys/tools/repo_sync/__init__.py | greschd/ansys-tools-repo-sync | c0db4cc6de2dcd9d9d5309fc1783b6aa49778f90 | [
"MIT"
] | null | null | null | ansys/tools/repo_sync/__init__.py | greschd/ansys-tools-repo-sync | c0db4cc6de2dcd9d9d5309fc1783b6aa49778f90 | [
"MIT"
] | null | null | null | """Tool to synchronize the content of different repositories."""
try:
import importlib.metadata as importlib_metadata
except ModuleNotFoundError:
import importlib_metadata
__version__ = importlib_metadata.version(__package__ or __name__)
from .repo_sync import synchronize
| 31.333333 | 65 | 0.822695 | 32 | 282 | 6.75 | 0.6875 | 0.314815 | 0.212963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.124113 | 282 | 8 | 66 | 35.25 | 0.874494 | 0.205674 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b51bab65b1e0ff50299d7593fb28ab8c1fe8ccbe | 1,615 | py | Python | venv/lib/python3.8/site-packages/keras/api/_v1/keras/utils/__init__.py | JIANG-CX/data_labeling | 8d2470bbb537dfc09ed2f7027ed8ee7de6447248 | [
"MIT"
] | 1 | 2021-05-24T10:08:51.000Z | 2021-05-24T10:08:51.000Z | venv/lib/python3.8/site-packages/keras/api/keras/utils/__init__.py | JIANG-CX/data_labeling | 8d2470bbb537dfc09ed2f7027ed8ee7de6447248 | [
"MIT"
] | null | null | null | venv/lib/python3.8/site-packages/keras/api/keras/utils/__init__.py | JIANG-CX/data_labeling | 8d2470bbb537dfc09ed2f7027ed8ee7de6447248 | [
"MIT"
] | null | null | null | # This file is MACHINE GENERATED! Do not edit.
# Generated by: tensorflow/python/tools/api/generator/create_python_api.py script.
"""Public API for tf.keras.utils namespace.
"""
from __future__ import print_function as _print_function
import sys as _sys
from keras.utils.data_utils import GeneratorEnqueuer
from keras... | 42.5 | 82 | 0.853251 | 236 | 1,615 | 5.516949 | 0.317797 | 0.16129 | 0.204301 | 0.145161 | 0.572965 | 0.549923 | 0.280338 | 0.144393 | 0.075269 | 0 | 0 | 0 | 0.091641 | 1,615 | 37 | 83 | 43.648649 | 0.887526 | 0.103406 | 0 | 0 | 1 | 0 | 0.007639 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.814815 | 0 | 0.814815 | 0.074074 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b533abb7a1dc1491b2477a6a09da08ff94a50119 | 1,854 | py | Python | tests/test_utils.py | KevinMenden/tools | 8c68650409a3f95376dd55c291dae5f9fc346347 | [
"MIT"
] | null | null | null | tests/test_utils.py | KevinMenden/tools | 8c68650409a3f95376dd55c291dae5f9fc346347 | [
"MIT"
] | null | null | null | tests/test_utils.py | KevinMenden/tools | 8c68650409a3f95376dd55c291dae5f9fc346347 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
""" Tests covering for utility functions.
"""
import nf_core.utils
import os
import unittest
class TestUtils(unittest.TestCase):
"""Class for utils tests"""
def test_check_if_outdated_1(self):
current_version = "1.0"
remote_version = "2.0"
is_outdated, current,... | 33.709091 | 103 | 0.690399 | 258 | 1,854 | 4.627907 | 0.205426 | 0.058626 | 0.125628 | 0.058626 | 0.786432 | 0.70268 | 0.70268 | 0.70268 | 0.70268 | 0.637353 | 0 | 0.022618 | 0.213053 | 1,854 | 54 | 104 | 34.333333 | 0.795751 | 0.04315 | 0 | 0.461538 | 0 | 0 | 0.065872 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 1 | 0.179487 | false | 0 | 0.076923 | 0 | 0.282051 | 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 |
b539695f664654db87100c189f87f27c6e95bd62 | 42 | py | Python | botrecon/__main__.py | mhubl/botrecon | 04902913bd993fee072681c482f97e6f8472db6a | [
"MIT"
] | null | null | null | botrecon/__main__.py | mhubl/botrecon | 04902913bd993fee072681c482f97e6f8472db6a | [
"MIT"
] | null | null | null | botrecon/__main__.py | mhubl/botrecon | 04902913bd993fee072681c482f97e6f8472db6a | [
"MIT"
] | null | null | null | from botrecon import botrecon
botrecon()
| 10.5 | 29 | 0.809524 | 5 | 42 | 6.8 | 0.6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 42 | 3 | 30 | 14 | 0.944444 | 0 | 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 |
8d30c7ac420d4d7c7cf341db52ccbe1e7a2d61e0 | 25 | py | Python | FHEM/bindings/python/fhempy/lib/miio/__init__.py | xerion3800/fhempy | 24a0d1e55c77716ca9bedcbe97dee909143fd02a | [
"MIT"
] | 16 | 2021-01-01T16:04:18.000Z | 2022-03-10T21:46:44.000Z | FHEM/bindings/python/fhempy/lib/miio/__init__.py | xerion3800/fhempy | 24a0d1e55c77716ca9bedcbe97dee909143fd02a | [
"MIT"
] | 60 | 2020-12-27T19:18:02.000Z | 2022-03-06T18:28:58.000Z | FHEM/bindings/python/fhempy/lib/miio/__init__.py | xerion3800/fhempy | 24a0d1e55c77716ca9bedcbe97dee909143fd02a | [
"MIT"
] | 10 | 2021-01-30T11:56:15.000Z | 2022-02-18T13:01:05.000Z | # Xiaomi Chuangmi Camera
| 12.5 | 24 | 0.8 | 3 | 25 | 6.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0.88 | 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 |
8d4895473ebac85c6819accc684f4da88bc993b2 | 157 | py | Python | rllib/evaluation/tf_policy_graph.py | vermashresth/ray | 9aaaa508cacb90a5be714478970b2191aaa43170 | [
"Apache-2.0"
] | 4 | 2019-10-18T17:44:58.000Z | 2021-04-14T14:37:21.000Z | rllib/evaluation/tf_policy_graph.py | vermashresth/ray | 9aaaa508cacb90a5be714478970b2191aaa43170 | [
"Apache-2.0"
] | 3 | 2021-06-08T21:46:35.000Z | 2022-03-12T00:35:21.000Z | rllib/evaluation/tf_policy_graph.py | vermashresth/ray | 9aaaa508cacb90a5be714478970b2191aaa43170 | [
"Apache-2.0"
] | 1 | 2020-06-26T07:54:25.000Z | 2020-06-26T07:54:25.000Z | from ray.rllib.policy.tf_policy import TFPolicy
from ray.rllib.utils import renamed_class
TFPolicyGraph = renamed_class(TFPolicy, old_name="TFPolicyGraph")
| 31.4 | 65 | 0.840764 | 22 | 157 | 5.818182 | 0.590909 | 0.109375 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082803 | 157 | 4 | 66 | 39.25 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.082803 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8d565ca19db712a8a6e243074d81d12c2bfbeea5 | 130 | py | Python | main.py | FlUxIuS/powpy | 3d8ed2506cceaf44367d2908387af864aa1b9686 | [
"BSD-2-Clause"
] | 4 | 2015-06-15T10:29:18.000Z | 2020-07-12T15:18:50.000Z | main.py | FlUxIuS/powpy | 3d8ed2506cceaf44367d2908387af864aa1b9686 | [
"BSD-2-Clause"
] | null | null | null | main.py | FlUxIuS/powpy | 3d8ed2506cceaf44367d2908387af864aa1b9686 | [
"BSD-2-Clause"
] | 1 | 2020-07-12T15:18:51.000Z | 2020-07-12T15:18:51.000Z | import code
from core.Init import *
def interact(): # Calls the interactif mode
code.interact(banner=banner, local=globals()) | 26 | 49 | 0.746154 | 18 | 130 | 5.388889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146154 | 130 | 5 | 49 | 26 | 0.873874 | 0.192308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0.5 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8d58da3f71eb5a0d05ed046246a19b68693f8aef | 118 | py | Python | {{cookiecutter.project_slug}}/src/resources/__init__.py | ardydedase/cookiecutter-flask-postgres-api | e6a9095a31d54f024a30a44e368f4a0a8f15829b | [
"MIT"
] | 20 | 2020-05-24T15:07:27.000Z | 2021-08-24T04:58:06.000Z | src/resources/__init__.py | ardydedase/flask-postgres-api | d9edb69988f89f480d595a8b111fafeb7ae81234 | [
"MIT"
] | null | null | null | src/resources/__init__.py | ardydedase/flask-postgres-api | d9edb69988f89f480d595a8b111fafeb7ae81234 | [
"MIT"
] | 6 | 2020-08-11T10:58:30.000Z | 2021-09-09T03:57:37.000Z | from .healthcheck import HealthCheck
from .user import UserList, User
__all__ = ['HealthCheck', 'UserList', 'User']
| 19.666667 | 45 | 0.745763 | 13 | 118 | 6.461538 | 0.461538 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135593 | 118 | 5 | 46 | 23.6 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0.194915 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8d7bfa7edebe94da20c5a2b1751f141c2d6727dc | 44 | py | Python | tests/__init__.py | helecloud/redshift-query | 391ab4dd98e594c35facbdf49162f30ed8c271bd | [
"MIT"
] | 3 | 2020-07-26T21:51:47.000Z | 2021-09-10T01:54:53.000Z | tests/__init__.py | helecloud/redshift-query | 391ab4dd98e594c35facbdf49162f30ed8c271bd | [
"MIT"
] | 1 | 2020-07-14T18:12:16.000Z | 2020-07-14T18:12:16.000Z | tests/__init__.py | helecloud/redshift-query | 391ab4dd98e594c35facbdf49162f30ed8c271bd | [
"MIT"
] | 1 | 2020-07-12T15:25:18.000Z | 2020-07-12T15:25:18.000Z | """Unit test package for redshift_query."""
| 22 | 43 | 0.727273 | 6 | 44 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113636 | 44 | 1 | 44 | 44 | 0.794872 | 0.840909 | 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 |
a5c0403084ea61ec13e53210a632f0bba817e442 | 108 | py | Python | test/config.py | NLPchina/chubaodb | b5abd5f01bdc494ad8b7906bfa3546a4944eae64 | [
"Apache-2.0"
] | 36 | 2020-03-23T02:02:13.000Z | 2021-12-16T02:22:46.000Z | test/config.py | NLPchina/chubaodb | b5abd5f01bdc494ad8b7906bfa3546a4944eae64 | [
"Apache-2.0"
] | 1 | 2020-03-24T04:49:41.000Z | 2020-03-25T02:31:00.000Z | test/config.py | NLPchina/chubaodb | b5abd5f01bdc494ad8b7906bfa3546a4944eae64 | [
"Apache-2.0"
] | 10 | 2020-03-23T00:57:40.000Z | 2021-09-07T11:42:54.000Z |
MASTER = "127.0.0.1:7070"
ROUTER = "127.0.0.1:8080"
#MASTER = "11.3.146.195:443"
#ROUTER = "11.3.146.195"
| 15.428571 | 28 | 0.601852 | 23 | 108 | 2.826087 | 0.521739 | 0.123077 | 0.153846 | 0.184615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.43617 | 0.12963 | 108 | 6 | 29 | 18 | 0.255319 | 0.462963 | 0 | 0 | 0 | 0 | 0.509091 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5732472dd780e97b1eff00c14e6202dd045fbb42 | 45 | py | Python | problemas-resolvidos/uri-online-judge/matematica/1807.py | Ramo-UERJ/competitive-programming | 7f2b821862853a7ebc1de5454914bcc9ea626083 | [
"MIT"
] | null | null | null | problemas-resolvidos/uri-online-judge/matematica/1807.py | Ramo-UERJ/competitive-programming | 7f2b821862853a7ebc1de5454914bcc9ea626083 | [
"MIT"
] | 1 | 2020-07-29T13:23:25.000Z | 2020-07-29T13:23:25.000Z | problemas-resolvidos/uri-online-judge/matematica/1807.py | ieee-uerj/competitive-programming | 7f2b821862853a7ebc1de5454914bcc9ea626083 | [
"MIT"
] | null | null | null | n = int(input())
print(pow(3, n, 2**31 -1))
| 11.25 | 26 | 0.511111 | 10 | 45 | 2.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135135 | 0.177778 | 45 | 3 | 27 | 15 | 0.486486 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
93a636d8f5aa5e6aae578304762d2716f9b85e03 | 55 | py | Python | or_suite/envs/ridesharing/__init__.py | seanrsinclair/ORSuite | 54e05db3d6d34e60ce8982ef4e25eefdbe07b11e | [
"MIT"
] | 4 | 2021-12-01T10:56:17.000Z | 2022-02-06T17:07:43.000Z | or_suite/envs/ridesharing/__init__.py | seanrsinclair/ORSuite | 54e05db3d6d34e60ce8982ef4e25eefdbe07b11e | [
"MIT"
] | 2 | 2021-08-11T13:25:01.000Z | 2022-03-20T19:23:23.000Z | or_suite/envs/ridesharing/__init__.py | seanrsinclair/ORSuite | 54e05db3d6d34e60ce8982ef4e25eefdbe07b11e | [
"MIT"
] | 3 | 2021-04-02T20:24:25.000Z | 2021-04-10T23:53:28.000Z | from or_suite.envs.ridesharing.rideshare_graph import * | 55 | 55 | 0.872727 | 8 | 55 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 55 | 1 | 55 | 55 | 0.884615 | 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 |
93d7120563e03afaacba54944687b37f81563acc | 162 | py | Python | MRS/leastsqbound/__init__.py | arokem/MRS | fa7d560e1dcabbb6829422a01e3ddd761d675bed | [
"MIT"
] | 6 | 2015-02-12T05:32:57.000Z | 2021-05-07T04:37:41.000Z | MRS/leastsqbound/__init__.py | arokem/MRS | fa7d560e1dcabbb6829422a01e3ddd761d675bed | [
"MIT"
] | null | null | null | MRS/leastsqbound/__init__.py | arokem/MRS | fa7d560e1dcabbb6829422a01e3ddd761d675bed | [
"MIT"
] | 3 | 2015-02-12T14:39:18.000Z | 2018-07-24T09:30:52.000Z | """
leastsqbound: Constrained least-squares optimization
Taken from: https://github.com/jjhelmus/leastsqbound-scipy
"""
from .leastsqbound import leastsqbound
| 18 | 58 | 0.796296 | 17 | 162 | 7.588235 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 162 | 8 | 59 | 20.25 | 0.883562 | 0.691358 | 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 |
93fc0a901eb873a49c3fa383594b46fc2982b4d8 | 28 | py | Python | atcoder/abc/a068.py | tomato-300yen/coding | db6f440a96d8c83f486005c650461a69f27e3926 | [
"MIT"
] | null | null | null | atcoder/abc/a068.py | tomato-300yen/coding | db6f440a96d8c83f486005c650461a69f27e3926 | [
"MIT"
] | null | null | null | atcoder/abc/a068.py | tomato-300yen/coding | db6f440a96d8c83f486005c650461a69f27e3926 | [
"MIT"
] | null | null | null | print("ABC" + str(input()))
| 14 | 27 | 0.571429 | 4 | 28 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 28 | 1 | 28 | 28 | 0.64 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 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 |
93fdb4b943d901810977b3763cdaefc875680979 | 98 | py | Python | sarpy/deprecated/tools/aperture_tool_web/__init__.py | spowlas/sarpy | c4a404203607d404b93a556459aa5311d7148e95 | [
"MIT"
] | null | null | null | sarpy/deprecated/tools/aperture_tool_web/__init__.py | spowlas/sarpy | c4a404203607d404b93a556459aa5311d7148e95 | [
"MIT"
] | 1 | 2019-11-14T20:55:57.000Z | 2019-12-27T18:11:29.000Z | sarpy/deprecated/tools/aperture_tool_web/__init__.py | spowlas/sarpy | c4a404203607d404b93a556459aa5311d7148e95 | [
"MIT"
] | 2 | 2020-02-12T20:11:00.000Z | 2020-03-26T16:55:03.000Z | from .views.aperture_tool import mb
from algorithm_toolkit import app
app.register_blueprint(mb)
| 19.6 | 35 | 0.846939 | 15 | 98 | 5.333333 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 98 | 4 | 36 | 24.5 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9e116eeb586d1a2bb7b2b970156836504b1fdb38 | 157 | py | Python | bot/api/__init__.py | Doctorinna/telegram-bot | 1fa07fd42173f5e8aad3c99d3fa6720286b9b7dd | [
"MIT"
] | 13 | 2021-09-13T06:16:34.000Z | 2021-09-24T21:13:52.000Z | bot/api/__init__.py | Doctorinna/telegram-bot | 1fa07fd42173f5e8aad3c99d3fa6720286b9b7dd | [
"MIT"
] | 2 | 2021-09-28T22:48:49.000Z | 2021-10-11T03:24:33.000Z | bot/api/__init__.py | Doctorinna/telegram-bot | 1fa07fd42173f5e8aad3c99d3fa6720286b9b7dd | [
"MIT"
] | null | null | null | from .answers import AnswerOption, AnswerRange
from .questions import Question, QuestionsCategory
from .questionnaire import Questionnaire, QuestionnaireAPI
| 39.25 | 58 | 0.866242 | 15 | 157 | 9.066667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095541 | 157 | 3 | 59 | 52.333333 | 0.957746 | 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 |
9e1fda79df532c5e3f613336a375c48fa757d96b | 514 | py | Python | examples/arithmetic/test.py | berjc/code-complete | 03c1acb2561cb85e62e791a81ecd624b6297c1c0 | [
"MIT"
] | 1 | 2017-04-29T12:55:42.000Z | 2017-04-29T12:55:42.000Z | examples/arithmetic/test.py | berjc/code-complete | 03c1acb2561cb85e62e791a81ecd624b6297c1c0 | [
"MIT"
] | null | null | null | examples/arithmetic/test.py | berjc/code-complete | 03c1acb2561cb85e62e791a81ecd624b6297c1c0 | [
"MIT"
] | null | null | null | import unittest
from example import main_1
from example import main_2
from example import main_3
from example import main_4
class TestExample(unittest.TestCase):
def test_example_add(self):
self.assertEqual(main_1(), 3)
def test_example_multiply(self):
self.assertEqual(main_2(), 56)
de... | 19.769231 | 38 | 0.706226 | 71 | 514 | 4.774648 | 0.338028 | 0.129794 | 0.20059 | 0.247788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033981 | 0.198444 | 514 | 25 | 39 | 20.56 | 0.788835 | 0 | 0 | 0 | 0 | 0 | 0.015564 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.3125 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9e24560d8948fc88c94d00c990e863a1b9aaf99b | 2,806 | py | Python | asv_bench/benchmarks/move.py | odidev/bottleneck | bcfdfa8b1ee6787ca396146a55d969ddbbf62da5 | [
"BSD-2-Clause"
] | 372 | 2019-08-15T02:10:45.000Z | 2022-03-29T12:35:59.000Z | asv_bench/benchmarks/move.py | odidev/bottleneck | bcfdfa8b1ee6787ca396146a55d969ddbbf62da5 | [
"BSD-2-Clause"
] | 120 | 2019-08-14T01:09:57.000Z | 2022-03-19T13:46:30.000Z | asv_bench/benchmarks/move.py | odidev/bottleneck | bcfdfa8b1ee6787ca396146a55d969ddbbf62da5 | [
"BSD-2-Clause"
] | 46 | 2019-08-27T15:58:26.000Z | 2022-03-19T09:55:21.000Z | import bottleneck as bn
from .reduce import get_cached_rand_array
class Time1DMove:
params = [
["int32", "int64", "float32", "float64"],
[(10 ** 3,), (10 ** 5,), (10 ** 7,)],
[10],
]
param_names = ["dtype", "shape", "window"]
def setup(self, dtype, shape, window):
self... | 31.52809 | 66 | 0.632217 | 405 | 2,806 | 4.204938 | 0.120988 | 0.140928 | 0.180857 | 0.133881 | 0.941867 | 0.906048 | 0.86788 | 0.463887 | 0.04815 | 0 | 0 | 0.017931 | 0.224875 | 2,806 | 88 | 67 | 31.886364 | 0.765057 | 0 | 0 | 0.096774 | 0 | 0 | 0.032787 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.354839 | false | 0 | 0.032258 | 0 | 0.483871 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
f516aeab417e7681285ed40654a7696298413573 | 885 | py | Python | dinofw/utils/exceptions.py | thenetcircle/dino-service | 90f90e0b21ba920506dc8fc44caf69d5bed9fb6a | [
"MIT"
] | null | null | null | dinofw/utils/exceptions.py | thenetcircle/dino-service | 90f90e0b21ba920506dc8fc44caf69d5bed9fb6a | [
"MIT"
] | 4 | 2021-05-24T04:31:34.000Z | 2021-06-28T03:38:56.000Z | dinofw/utils/exceptions.py | thenetcircle/dino-service | 90f90e0b21ba920506dc8fc44caf69d5bed9fb6a | [
"MIT"
] | null | null | null | class UserNotInGroupException(Exception):
def __init__(self, message):
self.message = f"user is not in group: {message}"
class InvalidRangeException(Exception):
def __init__(self, message):
self.message = message
class NoSuchGroupException(Exception):
def __init__(self, message):
... | 26.029412 | 59 | 0.700565 | 96 | 885 | 6.166667 | 0.260417 | 0.260135 | 0.189189 | 0.236486 | 0.5 | 0.5 | 0.5 | 0.435811 | 0.304054 | 0.304054 | 0 | 0 | 0.19435 | 885 | 33 | 60 | 26.818182 | 0.830295 | 0 | 0 | 0.333333 | 0 | 0 | 0.187571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
f53cd31834e2edadd1cf11684c8403b5e0bbf796 | 950 | py | Python | examples/axial-bar/basis.py | komahanb/isogeometric-analysis | 5ddf1f3edce0a5fb5e8fc999a0d5b661083305f4 | [
"Apache-2.0"
] | 2 | 2019-04-05T06:38:43.000Z | 2020-04-07T06:00:05.000Z | examples/axial-bar/basis.py | komahanb/isogeometric-analysis | 5ddf1f3edce0a5fb5e8fc999a0d5b661083305f4 | [
"Apache-2.0"
] | null | null | null | examples/axial-bar/basis.py | komahanb/isogeometric-analysis | 5ddf1f3edce0a5fb5e8fc999a0d5b661083305f4 | [
"Apache-2.0"
] | 1 | 2021-08-08T02:47:40.000Z | 2021-08-08T02:47:40.000Z | def N(xi, i, enum):
if enum == 1:
if i == 1:
return (2*xi-1)**2
if i == 2:
return -2*xi*(3*xi-2)
if i == 3:
return 2*xi*xi
if enum == 2:
if i == 1:
return (2*xi-2)*(xi-1)
if i == 2:
return -6*xi**2 +... | 19 | 38 | 0.34 | 158 | 950 | 2.044304 | 0.126582 | 0.148607 | 0.074303 | 0.185759 | 0.801858 | 0.770898 | 0.752322 | 0.365325 | 0.148607 | 0.148607 | 0 | 0.122363 | 0.501053 | 950 | 49 | 39 | 19.387755 | 0.559072 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0 | 0 | 0.47619 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 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 |
f5790875bb339e7f969bc00696fda4df2d741364 | 131 | py | Python | conan/tools/__init__.py | ShuangLiu1992/conan | b420ec1601febfa97f1f61d8da9ba083928ca7ea | [
"MIT"
] | null | null | null | conan/tools/__init__.py | ShuangLiu1992/conan | b420ec1601febfa97f1f61d8da9ba083928ca7ea | [
"MIT"
] | null | null | null | conan/tools/__init__.py | ShuangLiu1992/conan | b420ec1601febfa97f1f61d8da9ba083928ca7ea | [
"MIT"
] | null | null | null | from conans.model.version import Version
CONAN_TOOLCHAIN_ARGS_FILE = "conanbuild.conf"
CONAN_TOOLCHAIN_ARGS_SECTION = "toolchain"
| 26.2 | 45 | 0.847328 | 17 | 131 | 6.176471 | 0.705882 | 0.266667 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083969 | 131 | 4 | 46 | 32.75 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0.183206 | 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 |
f57cf8773bb7c53154a65db3ad35c33c6ed9c59b | 156 | py | Python | src/onevision/file/__init__.py | phlong3105/onevision | 90552b64df7213e7fbe23c80ffd8a89583289433 | [
"MIT"
] | 2 | 2022-03-28T09:46:38.000Z | 2022-03-28T14:12:32.000Z | src/onevision/file/__init__.py | phlong3105/onevision | 90552b64df7213e7fbe23c80ffd8a89583289433 | [
"MIT"
] | null | null | null | src/onevision/file/__init__.py | phlong3105/onevision | 90552b64df7213e7fbe23c80ffd8a89583289433 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
"""
from __future__ import annotations
from .filedir import *
from .handler import *
from .io import *
| 13 | 34 | 0.653846 | 20 | 156 | 4.9 | 0.7 | 0.204082 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0.179487 | 156 | 11 | 35 | 14.181818 | 0.757813 | 0.269231 | 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 | 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 |
f57f9abef8505933db82431e39ab7d977adefe4e | 42 | py | Python | cmake_file_api/errors.py | thefifo/python-cmake-file-api | 30d164e43ad86998659a22ebf056acdca4127bb9 | [
"MIT"
] | 4 | 2021-02-10T07:19:45.000Z | 2022-01-20T19:36:26.000Z | cmake_file_api/errors.py | thefifo/python-cmake-file-api | 30d164e43ad86998659a22ebf056acdca4127bb9 | [
"MIT"
] | 3 | 2021-04-27T20:01:11.000Z | 2022-03-07T12:20:39.000Z | cmake_file_api/errors.py | thefifo/python-cmake-file-api | 30d164e43ad86998659a22ebf056acdca4127bb9 | [
"MIT"
] | 4 | 2021-04-27T07:54:03.000Z | 2022-03-05T17:04:47.000Z | class CMakeException(Exception):
pass
| 14 | 32 | 0.761905 | 4 | 42 | 8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 2 | 33 | 21 | 0.914286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
f58cc04088df6eb5275d85f526f21aa2197affbf | 33 | py | Python | string/2908/code.py | ToTo-Mo/BaekJoon | e7540448a810e350b461b1300dd47bda58bfcaeb | [
"Apache-2.0"
] | null | null | null | string/2908/code.py | ToTo-Mo/BaekJoon | e7540448a810e350b461b1300dd47bda58bfcaeb | [
"Apache-2.0"
] | null | null | null | string/2908/code.py | ToTo-Mo/BaekJoon | e7540448a810e350b461b1300dd47bda58bfcaeb | [
"Apache-2.0"
] | null | null | null | print(max(input()[::-1].split())) | 33 | 33 | 0.575758 | 5 | 33 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0 | 33 | 1 | 33 | 33 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
191018ac7cf73ec72fae442d1291b046edb53e14 | 233 | py | Python | login/register/models.py | Gabriel-Spinola/Sistema-De-Cadastro | ae082d9568844ff8145e0281342a05ad9dec3e69 | [
"MIT"
] | null | null | null | login/register/models.py | Gabriel-Spinola/Sistema-De-Cadastro | ae082d9568844ff8145e0281342a05ad9dec3e69 | [
"MIT"
] | null | null | null | login/register/models.py | Gabriel-Spinola/Sistema-De-Cadastro | ae082d9568844ff8145e0281342a05ad9dec3e69 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class User (models.Model):
username = models.CharField(max_length=100)
password = models.CharField(max_length=100)
def __str__(self):
return self.username | 23.3 | 47 | 0.72103 | 31 | 233 | 5.225806 | 0.677419 | 0.185185 | 0.222222 | 0.296296 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0.188841 | 233 | 10 | 48 | 23.3 | 0.825397 | 0.103004 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.166667 | 0.166667 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
19451955db838464ebc7904fa049fd3f26ef5eac | 199 | py | Python | Idat_Python2022/Semana_1/EJERCICIO001.py | Kennethguerra3/Python_Ejercicio_2022 | cf1297cf1e1585eba699e32c02993818c3d9ecbf | [
"MIT"
] | null | null | null | Idat_Python2022/Semana_1/EJERCICIO001.py | Kennethguerra3/Python_Ejercicio_2022 | cf1297cf1e1585eba699e32c02993818c3d9ecbf | [
"MIT"
] | null | null | null | Idat_Python2022/Semana_1/EJERCICIO001.py | Kennethguerra3/Python_Ejercicio_2022 | cf1297cf1e1585eba699e32c02993818c3d9ecbf | [
"MIT"
] | null | null | null | #APRENDIENDO INSTRUCCIONES EN PYTHON
print("funciones basicas de python")
print("-"*28)
print("input:Ingresar Datos")
print("print:Imprimir Datos")
print("MIN: Menor Valor")
print("ROUND:Redondear")
| 24.875 | 36 | 0.758794 | 26 | 199 | 5.807692 | 0.692308 | 0.145695 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.085427 | 199 | 7 | 37 | 28.428571 | 0.818681 | 0.175879 | 0 | 0 | 0 | 0 | 0.607362 | 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 |
1963151a6d51846a3de3bc2b1868162e8c6de5ed | 55 | py | Python | autogluon/task/object_detection/__init__.py | zhanghang1989/autogluon | 8bfe6b0da8915020eeb9895fd18d7688c0d604c1 | [
"Apache-2.0"
] | 6 | 2020-06-16T19:17:36.000Z | 2021-07-07T14:50:31.000Z | autogluon/task/object_detection/__init__.py | zhanghang1989/autogluon | 8bfe6b0da8915020eeb9895fd18d7688c0d604c1 | [
"Apache-2.0"
] | null | null | null | autogluon/task/object_detection/__init__.py | zhanghang1989/autogluon | 8bfe6b0da8915020eeb9895fd18d7688c0d604c1 | [
"Apache-2.0"
] | 2 | 2020-12-13T16:40:04.000Z | 2021-03-08T09:14:16.000Z | from .object_detection import *
from .detector import * | 27.5 | 31 | 0.8 | 7 | 55 | 6.142857 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 55 | 2 | 32 | 27.5 | 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 |
198a4338440199c1bd03df27e245877f8ec28aa9 | 143 | py | Python | tpnetwork/network/ipv4/__init__.py | tomarrok/tpnetwork | 6ed0b2ed1e90cd36af062ecc4abcce45d35e5c40 | [
"MIT"
] | null | null | null | tpnetwork/network/ipv4/__init__.py | tomarrok/tpnetwork | 6ed0b2ed1e90cd36af062ecc4abcce45d35e5c40 | [
"MIT"
] | 1 | 2021-02-16T09:55:30.000Z | 2021-02-16T09:55:42.000Z | tpnetwork/network/ipv4/__init__.py | tomarrok/tpnetwork | 6ed0b2ed1e90cd36af062ecc4abcce45d35e5c40 | [
"MIT"
] | null | null | null | from .exceptions import AddressValueError, NetworkValueError
from .address import IPv4Address, binary_to_ipv4
from .network import IPv4Network
| 35.75 | 60 | 0.867133 | 16 | 143 | 7.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023256 | 0.097902 | 143 | 3 | 61 | 47.666667 | 0.922481 | 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 |
274a70c4a8db6382a0c447393e566d8b59659868 | 3,275 | py | Python | tests/GenPro/genetic_algorithm/crossovers/test_crossover_single_point.py | Hispar/procedural_generation | ed265637cb5ddf570439ee26263d534e07fac7b1 | [
"MIT"
] | null | null | null | tests/GenPro/genetic_algorithm/crossovers/test_crossover_single_point.py | Hispar/procedural_generation | ed265637cb5ddf570439ee26263d534e07fac7b1 | [
"MIT"
] | null | null | null | tests/GenPro/genetic_algorithm/crossovers/test_crossover_single_point.py | Hispar/procedural_generation | ed265637cb5ddf570439ee26263d534e07fac7b1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Python imports
# 3rd Party imports
import random
# App imports
from src.GenPro.genetic_algorithm.crossovers.crossover_single_point import CrossoverSinglePoint
from src.GenPro.genetic_algorithm.individual import Individual
from src.GenPro.genetic_algorithm.individuals.basic import BasicIndivi... | 38.529412 | 109 | 0.76458 | 379 | 3,275 | 6.316623 | 0.139842 | 0.073517 | 0.066834 | 0.056809 | 0.836675 | 0.771512 | 0.746867 | 0.627402 | 0.627402 | 0.627402 | 0 | 0.020996 | 0.141985 | 3,275 | 84 | 110 | 38.988095 | 0.830961 | 0.020153 | 0 | 0.65625 | 0 | 0 | 0.029963 | 0 | 0 | 0 | 0 | 0 | 0.40625 | 1 | 0.109375 | false | 0 | 0.0625 | 0 | 0.171875 | 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 |
279199e8646a6dd82f885105472bcbb964b84d84 | 137 | py | Python | lib/ns_workflow/ns_workflow/__init__.py | RENCI-NRIG/notary-service | f8b3ed91f9ea4e36ba007a3eaac7373905475a37 | [
"MIT"
] | 8 | 2019-05-27T23:00:18.000Z | 2022-03-01T11:10:39.000Z | lib/ns_workflow/ns_workflow/__init__.py | RENCI-NRIG/notary-service | f8b3ed91f9ea4e36ba007a3eaac7373905475a37 | [
"MIT"
] | 52 | 2018-10-12T18:59:43.000Z | 2022-03-28T21:16:35.000Z | lib/ns_workflow/ns_workflow/__init__.py | RENCI-NRIG/notary-service | 5d519d925d011004aefd6a4acdfc8565f5b76a94 | [
"MIT"
] | 1 | 2020-04-30T19:34:54.000Z | 2020-04-30T19:34:54.000Z | from .abstract_workflow import WorkflowQueryError, WorkflowImportError, WorkflowError, AbstractWorkflow
from .neo4j import Neo4jWorkflow
| 45.666667 | 103 | 0.883212 | 12 | 137 | 10 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.080292 | 137 | 2 | 104 | 68.5 | 0.936508 | 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 |
27e5432135e2d52b7ee8dd1fb91cda8058681095 | 23 | py | Python | tests/test.py | maxqai/datasci-ml-experiments | d591f9deb5558ce480960cda2c29f4793abe31ac | [
"Apache-2.0"
] | null | null | null | tests/test.py | maxqai/datasci-ml-experiments | d591f9deb5558ce480960cda2c29f4793abe31ac | [
"Apache-2.0"
] | null | null | null | tests/test.py | maxqai/datasci-ml-experiments | d591f9deb5558ce480960cda2c29f4793abe31ac | [
"Apache-2.0"
] | null | null | null | print('Hello docker!')
| 11.5 | 22 | 0.695652 | 3 | 23 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 23 | 1 | 23 | 23 | 0.761905 | 0 | 0 | 0 | 0 | 0 | 0.565217 | 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 |
27fca567d123cb75456dbfc4b68fd4998dd50401 | 128 | py | Python | oremda/constants.py | cclauss/oremda | b04e58fbb8c9c08a928f876ae1358462f3ef311d | [
"BSD-3-Clause"
] | null | null | null | oremda/constants.py | cclauss/oremda | b04e58fbb8c9c08a928f876ae1358462f3ef311d | [
"BSD-3-Clause"
] | null | null | null | oremda/constants.py | cclauss/oremda | b04e58fbb8c9c08a928f876ae1358462f3ef311d | [
"BSD-3-Clause"
] | null | null | null | DEFAULT_OREMDA_VAR_DIR = "/tmp"
DEFAULT_PLASMA_SOCKET_PATH = f"{DEFAULT_OREMDA_VAR_DIR}/plasma.sock"
DEFAULT_DATA_DIR = "/data"
| 32 | 68 | 0.8125 | 20 | 128 | 4.65 | 0.55 | 0.27957 | 0.344086 | 0.408602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070313 | 128 | 3 | 69 | 42.666667 | 0.781513 | 0 | 0 | 0 | 0 | 0 | 0.351563 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 |
fdb2cb7e0bdb5a7f31174ed58bb70172ad1ff37c | 290 | py | Python | locations/models.py | mhiloca/TourismApi | b9904354f2d249e996d79f7a6ad58269c68363d7 | [
"MIT"
] | null | null | null | locations/models.py | mhiloca/TourismApi | b9904354f2d249e996d79f7a6ad58269c68363d7 | [
"MIT"
] | null | null | null | locations/models.py | mhiloca/TourismApi | b9904354f2d249e996d79f7a6ad58269c68363d7 | [
"MIT"
] | null | null | null | from django.db import models
class Location(models.Model):
line1 = models.CharField(max_length=255)
city = models.CharField(max_length=100)
state = models.CharField(max_length=50)
country = models.CharField(max_length=50)
def __str__(self):
return self.line1
| 24.166667 | 45 | 0.717241 | 39 | 290 | 5.128205 | 0.564103 | 0.3 | 0.36 | 0.48 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 0.050633 | 0.182759 | 290 | 11 | 46 | 26.363636 | 0.793249 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0.125 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
e31314418c267938a2410bfa77df8fba91a1dded | 22 | py | Python | test.py | redeye999/pyneta | 96aebbf5f59a9abdbd9d21d29a0e80a988fcf45a | [
"Apache-2.0"
] | null | null | null | test.py | redeye999/pyneta | 96aebbf5f59a9abdbd9d21d29a0e80a988fcf45a | [
"Apache-2.0"
] | null | null | null | test.py | redeye999/pyneta | 96aebbf5f59a9abdbd9d21d29a0e80a988fcf45a | [
"Apache-2.0"
] | null | null | null | print("Hello Workld")
| 11 | 21 | 0.727273 | 3 | 22 | 5.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 22 | 1 | 22 | 22 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.545455 | 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 |
e32b5c5adafb843588cb1b423224010999aac8ba | 64 | py | Python | facerec/__init__.py | thierrypin/face-biometry | d1ef417f82942e28a1e809f9ce7cd1282fa29687 | [
"MIT"
] | null | null | null | facerec/__init__.py | thierrypin/face-biometry | d1ef417f82942e28a1e809f9ce7cd1282fa29687 | [
"MIT"
] | null | null | null | facerec/__init__.py | thierrypin/face-biometry | d1ef417f82942e28a1e809f9ce7cd1282fa29687 | [
"MIT"
] | null | null | null |
from .biometry import MTCNNDetector, Arcface, FaceRecognition
| 16 | 61 | 0.828125 | 6 | 64 | 8.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 64 | 3 | 62 | 21.333333 | 0.946429 | 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 |
8b78a1a73774ca60d1b971a1ad5dda60b7a3e7cd | 52 | py | Python | pytools/modules/computersinger/__init__.py | maopucheng/pytools | 7d42b0fb1ef539559d931db7b70ef6725d32617a | [
"MIT"
] | 757 | 2018-08-25T07:59:26.000Z | 2021-12-20T12:44:11.000Z | pytools/modules/computersinger/__init__.py | junyang-zhou/pytools | eca4dbace589ba74a95628d1c285e75e20ea7d1e | [
"MIT"
] | 7 | 2020-02-19T00:42:44.000Z | 2021-09-04T07:42:51.000Z | pytools/modules/computersinger/__init__.py | junyang-zhou/pytools | eca4dbace589ba74a95628d1c285e75e20ea7d1e | [
"MIT"
] | 485 | 2018-08-25T13:53:51.000Z | 2021-12-21T05:11:08.000Z | '''初始化'''
from .computersinger import ComputerSinger | 26 | 42 | 0.788462 | 5 | 52 | 8.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 52 | 2 | 42 | 26 | 0.854167 | 0.057692 | 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 |
8b913ae36a764e4217be90910532ac718c1fcb97 | 89 | py | Python | venv/Lib/site-packages/pybrain3/rl/environments/shipsteer/__init__.py | ishatserka/MachineLearningAndDataAnalysisCoursera | e82e772df2f4aec162cb34ac6127df10d14a625a | [
"MIT"
] | null | null | null | venv/Lib/site-packages/pybrain3/rl/environments/shipsteer/__init__.py | ishatserka/MachineLearningAndDataAnalysisCoursera | e82e772df2f4aec162cb34ac6127df10d14a625a | [
"MIT"
] | null | null | null | venv/Lib/site-packages/pybrain3/rl/environments/shipsteer/__init__.py | ishatserka/MachineLearningAndDataAnalysisCoursera | e82e772df2f4aec162cb34ac6127df10d14a625a | [
"MIT"
] | null | null | null | from .shipsteer import ShipSteeringEnvironment
from .northwardtask import GoNorthwardTask | 44.5 | 46 | 0.898876 | 8 | 89 | 10 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 89 | 2 | 47 | 44.5 | 0.97561 | 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 |
8bb50e2f6c922651bc9723adf8f3c9ab32e8357e | 143 | py | Python | virtool_workflow/abc/caches/analysis_caches.py | BlakeASmith/virtool-workflow | 80db243103a0019de61d7392786c0a1a565039e8 | [
"MIT"
] | null | null | null | virtool_workflow/abc/caches/analysis_caches.py | BlakeASmith/virtool-workflow | 80db243103a0019de61d7392786c0a1a565039e8 | [
"MIT"
] | null | null | null | virtool_workflow/abc/caches/analysis_caches.py | BlakeASmith/virtool-workflow | 80db243103a0019de61d7392786c0a1a565039e8 | [
"MIT"
] | null | null | null | from dataclasses import dataclass
from virtool_workflow.abc.caches.cache import Cache
@dataclass
class ReadsCache(Cache):
quality: dict
| 15.888889 | 51 | 0.804196 | 18 | 143 | 6.333333 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13986 | 143 | 8 | 52 | 17.875 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
47429fdda752b149ca53922e870c5b6ece6ed45b | 51 | py | Python | icbs/__init__.py | lolloz98/icbs | 6c3544da78bf93798797e922e39a5b2a6d4a478c | [
"MIT"
] | null | null | null | icbs/__init__.py | lolloz98/icbs | 6c3544da78bf93798797e922e39a5b2a6d4a478c | [
"MIT"
] | null | null | null | icbs/__init__.py | lolloz98/icbs | 6c3544da78bf93798797e922e39a5b2a6d4a478c | [
"MIT"
] | null | null | null | from . cut import cut
from . rebuild import rebuild | 25.5 | 29 | 0.784314 | 8 | 51 | 5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.176471 | 51 | 2 | 29 | 25.5 | 0.952381 | 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 |
478da4645e7880141c8ff45b4e4b284f0f9175f5 | 216 | py | Python | important_operations/__init__.py | csertant/important | 62dc3a931a62542c85ccc50ec98f8d30daa7879f | [
"Unlicense"
] | null | null | null | important_operations/__init__.py | csertant/important | 62dc3a931a62542c85ccc50ec98f8d30daa7879f | [
"Unlicense"
] | null | null | null | important_operations/__init__.py | csertant/important | 62dc3a931a62542c85ccc50ec98f8d30daa7879f | [
"Unlicense"
] | null | null | null | """
Implements operations for the IMPORTANT Compiler & Interpreter
"""
from .operations import MEMORY_SIZE, MAX_STACK_SIZE
from .operations import execute, build_bracemap
from .compilations import important_compile
| 27 | 62 | 0.828704 | 26 | 216 | 6.692308 | 0.692308 | 0.16092 | 0.229885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115741 | 216 | 7 | 63 | 30.857143 | 0.910995 | 0.287037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
47a9dc0d24bf11ce73ee8bc0d89f4b0d214ce675 | 174 | py | Python | contexts/admin.py | ChalkLab/SciFlow | 5bf021007d6184402ebfe6cefc2111d99160cb69 | [
"MIT"
] | 1 | 2021-04-26T20:03:11.000Z | 2021-04-26T20:03:11.000Z | contexts/admin.py | ChalkLab/SciFlow | 5bf021007d6184402ebfe6cefc2111d99160cb69 | [
"MIT"
] | 17 | 2021-04-23T16:51:59.000Z | 2021-12-13T21:17:41.000Z | contexts/admin.py | ChalkLab/SciFlow | 5bf021007d6184402ebfe6cefc2111d99160cb69 | [
"MIT"
] | null | null | null | """ django admin config """
from django.contrib import admin
from .models import *
admin.site.register(Nspaces)
admin.site.register(Ontterms)
admin.site.register(Metadata)
| 19.333333 | 32 | 0.775862 | 23 | 174 | 5.869565 | 0.521739 | 0.2 | 0.377778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 174 | 8 | 33 | 21.75 | 0.865385 | 0.109195 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 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.