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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
cf354b3d1bbdd2a36e0af470464763b62d8647bc | 4,415 | py | Python | reasoning_lib/analyze/models.py | UKPLab/emnlp2020-faithful-rationales | f8db727019b9498765a502dd2cadb3b0a62ee766 | [
"Apache-1.1"
] | 4 | 2021-01-28T17:10:49.000Z | 2021-11-09T14:50:47.000Z | reasoning_lib/analyze/models.py | UKPLab/emnlp2020-faithful-rationales | f8db727019b9498765a502dd2cadb3b0a62ee766 | [
"Apache-1.1"
] | null | null | null | reasoning_lib/analyze/models.py | UKPLab/emnlp2020-faithful-rationales | f8db727019b9498765a502dd2cadb3b0a62ee766 | [
"Apache-1.1"
] | 1 | 2020-11-15T16:28:14.000Z | 2020-11-15T16:28:14.000Z | PRED_DIR = './../../../predictions'
#
# TEST
#
# MultiRC
# Test Predictions
MULTIRC_TEST_BB_S1 = 'multirc_bert_blackbox_predictions_test.jsonl'
MULTIRC_TEST_BB_S2 = 'multirc_bert_blackbox_seed2_predictions_test.jsonl'
MULTIRC_TEST_BB_S3 = 'multirc_bert_blackbox_seed3_predictions_test.jsonl'
MULTIRC_TEST_BB_S4 = 'multi... | 48.516484 | 83 | 0.892412 | 683 | 4,415 | 5.038067 | 0.04246 | 0.183086 | 0.238303 | 0.125545 | 0.850625 | 0.695437 | 0.453647 | 0.040395 | 0 | 0 | 0 | 0.020957 | 0.048924 | 4,415 | 91 | 84 | 48.516484 | 0.798523 | 0.011325 | 0 | 0 | 0 | 0 | 0.616039 | 0.616039 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d89315f437c62b83e64784669129e42587a8b141 | 72 | py | Python | src/module/__init__.py | cchao0116/S2PNM-TKDE2021 | 594d95a909a6c13c598c1ed16396409d0f75d142 | [
"MIT"
] | 2 | 2022-03-29T03:58:40.000Z | 2022-03-29T15:40:45.000Z | src/module/__init__.py | cchao0116/S2PNM-TKDE2021 | 594d95a909a6c13c598c1ed16396409d0f75d142 | [
"MIT"
] | null | null | null | src/module/__init__.py | cchao0116/S2PNM-TKDE2021 | 594d95a909a6c13c598c1ed16396409d0f75d142 | [
"MIT"
] | null | null | null | """
@version: 2.0
@author: Chao Chen
@contact: cchao@didiglobal.com
"""
| 12 | 30 | 0.666667 | 10 | 72 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031746 | 0.125 | 72 | 5 | 31 | 14.4 | 0.730159 | 0.875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d894b5412d7dbb34bcd49c6ab96e41db3cbb0093 | 141 | py | Python | server/src/police_lineups/db/base_model_.py | vabalcar/police-lineups | 9c4a17d58e973d6db6e442bd9d5f4313ad4d51b7 | [
"MIT"
] | null | null | null | server/src/police_lineups/db/base_model_.py | vabalcar/police-lineups | 9c4a17d58e973d6db6e442bd9d5f4313ad4d51b7 | [
"MIT"
] | 2 | 2021-09-24T11:43:58.000Z | 2021-09-24T12:00:21.000Z | server/src/police_lineups/db/base_model_.py | vabalcar/police-lineups | 9c4a17d58e973d6db6e442bd9d5f4313ad4d51b7 | [
"MIT"
] | null | null | null | from peewee import Model
from police_lineups.singletons import DB
class BaseModel(Model):
class Meta:
database = DB().current
| 15.666667 | 40 | 0.723404 | 18 | 141 | 5.611111 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212766 | 141 | 8 | 41 | 17.625 | 0.90991 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d895875ca8a4735253cf5f847719041a81b31c13 | 88 | py | Python | example/run.py | ccharlesgb/fastapi-versioned | 5488cda86665de5cb2d0cfce7ff5660e90c6358f | [
"MIT"
] | null | null | null | example/run.py | ccharlesgb/fastapi-versioned | 5488cda86665de5cb2d0cfce7ff5660e90c6358f | [
"MIT"
] | null | null | null | example/run.py | ccharlesgb/fastapi-versioned | 5488cda86665de5cb2d0cfce7ff5660e90c6358f | [
"MIT"
] | null | null | null | from uvicorn import run
if __name__ == "__main__":
run("example:app", reload=True)
| 17.6 | 35 | 0.693182 | 12 | 88 | 4.416667 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170455 | 88 | 4 | 36 | 22 | 0.726027 | 0 | 0 | 0 | 0 | 0 | 0.215909 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d8a9a7c7233ed003456da709547ef82ed35db981 | 141 | py | Python | diskimgr/__main__.py | bitsgalore/diskimgr | e374bb44132c7c45da107203b90f3644ddfba065 | [
"Apache-2.0"
] | 6 | 2019-09-23T17:38:53.000Z | 2022-02-18T01:33:50.000Z | diskimgr/__main__.py | bitsgalore/diskimgr | e374bb44132c7c45da107203b90f3644ddfba065 | [
"Apache-2.0"
] | 5 | 2019-04-02T16:15:12.000Z | 2019-04-03T16:28:40.000Z | diskimgr/__main__.py | bitsgalore/diskimgr | e374bb44132c7c45da107203b90f3644ddfba065 | [
"Apache-2.0"
] | null | null | null | #! /usr/bin/env python3
"""diskimgr.__main__: executed when diskimgr directory is called as script."""
from .diskimgr import main
main()
| 15.666667 | 78 | 0.730496 | 19 | 141 | 5.210526 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008333 | 0.148936 | 141 | 8 | 79 | 17.625 | 0.816667 | 0.673759 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d8b31b7a6021efd8592113fabe2ab7eefb579264 | 2,626 | py | Python | DATABASE/ShellsploitFancy/FreeBSDx86/add_user.py | EgeBalci/Shellcode | 2475af53b20186283b3eb1572d4de58650ad4652 | [
"MIT"
] | 2 | 2017-04-11T21:58:34.000Z | 2020-05-18T02:04:41.000Z | DATABASE/ShellsploitFancy/FreeBSDx86/add_user.py | EgeBalci/Shellcode | 2475af53b20186283b3eb1572d4de58650ad4652 | [
"MIT"
] | null | null | null | DATABASE/ShellsploitFancy/FreeBSDx86/add_user.py | EgeBalci/Shellcode | 2475af53b20186283b3eb1572d4de58650ad4652 | [
"MIT"
] | 4 | 2017-04-11T21:58:35.000Z | 2021-05-14T04:53:15.000Z | #http://shell-storm.org/shellcode/files/shellcode-165.php
#I can use it ..
"""
00000000 EB2B jmp short 0x2d
00000002 5E pop esi
00000003 31C0 xor eax,eax
00000005 88460B mov [esi+0xb],al
00000008 884629 mov [esi+0x29],al
0000000B 50 ... | 36.472222 | 57 | 0.498096 | 308 | 2,626 | 4.246753 | 0.522727 | 0.061162 | 0.122324 | 0.039755 | 0.041284 | 0 | 0 | 0 | 0 | 0 | 0 | 0.518012 | 0.471439 | 2,626 | 72 | 58 | 36.472222 | 0.424352 | 0.99505 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d8cb8cfe4f25242bae287c41e163e9ec10a61242 | 255 | py | Python | guet/git/set_author.py | sapphon/guet | 60872bfb149ad16a3c5309e283a6b886080a13dc | [
"Apache-2.0"
] | null | null | null | guet/git/set_author.py | sapphon/guet | 60872bfb149ad16a3c5309e283a6b886080a13dc | [
"Apache-2.0"
] | null | null | null | guet/git/set_author.py | sapphon/guet | 60872bfb149ad16a3c5309e283a6b886080a13dc | [
"Apache-2.0"
] | null | null | null | import subprocess
def configure_git_author(name: str, email: str) -> None:
process = subprocess.Popen(['git', 'config', 'user.name', name])
process.wait()
process = subprocess.Popen(['git', 'config', 'user.email', email])
process.wait()
| 28.333333 | 70 | 0.658824 | 31 | 255 | 5.354839 | 0.483871 | 0.204819 | 0.26506 | 0.301205 | 0.421687 | 0.421687 | 0 | 0 | 0 | 0 | 0 | 0 | 0.160784 | 255 | 8 | 71 | 31.875 | 0.775701 | 0 | 0 | 0.333333 | 0 | 0 | 0.145098 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 4 |
d8ddb4b997642590f6014f199919c3014c679611 | 82 | py | Python | vnpy_tts/api/__init__.py | noranhe/vnpy_tts | 0926ebe7449fe56fcb3a8055e8758c4d7b15e459 | [
"MIT"
] | 4 | 2021-07-24T08:02:23.000Z | 2021-09-26T00:05:10.000Z | vnpy_tts/api/__init__.py | noranhe/vnpy_tts | 0926ebe7449fe56fcb3a8055e8758c4d7b15e459 | [
"MIT"
] | 1 | 2022-03-11T04:15:05.000Z | 2022-03-11T09:54:23.000Z | vnpy_tts/api/__init__.py | noranhe/vnpy_tts | 0926ebe7449fe56fcb3a8055e8758c4d7b15e459 | [
"MIT"
] | 3 | 2021-07-22T03:28:05.000Z | 2022-02-24T05:18:32.000Z | from .vnttsmd import MdApi
from .vnttstd import TdApi
from .tts_constant import *
| 20.5 | 27 | 0.804878 | 12 | 82 | 5.416667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146341 | 82 | 3 | 28 | 27.333333 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2b4bf9f244a4841e4cab1e3b5d2bd1857131bfec | 12,992 | py | Python | 1. (200817).py | Adrian123K/tensor | f5cb9bbb8b98d3ca52356454b1c6adf2851ed507 | [
"MIT"
] | null | null | null | 1. (200817).py | Adrian123K/tensor | f5cb9bbb8b98d3ca52356454b1c6adf2851ed507 | [
"MIT"
] | null | null | null | 1. (200817).py | Adrian123K/tensor | f5cb9bbb8b98d3ca52356454b1c6adf2851ed507 | [
"MIT"
] | null | null | null | import tensorflow as tf
import numpy as np
import warnings
import os
from tensorflow.examples.tutorials.mnist import input_data
mnist = input_data.read_data_sets("MNIST_data/", one_hot = True)
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2'
warnings.filterwarnings('ignore')
# old_v = tf.logging.get_verbosity()
# tf.logging.se... | 26.246465 | 194 | 0.567657 | 2,168 | 12,992 | 3.285978 | 0.117159 | 0.054043 | 0.018529 | 0.021336 | 0.784812 | 0.748035 | 0.723751 | 0.709994 | 0.691746 | 0.660584 | 0 | 0.062613 | 0.193581 | 12,992 | 495 | 194 | 26.246465 | 0.617352 | 0.782482 | 0 | 0 | 0 | 0 | 0.04203 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.028571 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2b52cbb975cd80c525a9cb2bc12f2d16c7593101 | 386 | py | Python | app.py | jience/flask_gunicorn_nginx | 0e0389344091d7eae2cd24c52bb8fbc2f397cce5 | [
"MIT"
] | 1 | 2020-07-14T07:57:37.000Z | 2020-07-14T07:57:37.000Z | app.py | jience/flask_gunicorn_nginx | 0e0389344091d7eae2cd24c52bb8fbc2f397cce5 | [
"MIT"
] | null | null | null | app.py | jience/flask_gunicorn_nginx | 0e0389344091d7eae2cd24c52bb8fbc2f397cce5 | [
"MIT"
] | null | null | null | from flask import Flask
from flask import render_template
app = Flask(__name__)
@app.errorhandler(404)
def page_not_found(error):
return render_template('404.html'), 404
@app.errorhandler(500)
def internal_server_error(error):
return render_template('500.html'), 500
@app.route('/')
def hello_world():
... | 16.083333 | 43 | 0.717617 | 53 | 386 | 4.849057 | 0.471698 | 0.163424 | 0.116732 | 0.194553 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055046 | 0.15285 | 386 | 23 | 44 | 16.782609 | 0.730887 | 0 | 0 | 0 | 0 | 0 | 0.095855 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0.214286 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
2b6c4bcc44a7b52a522a61da85ecd144d4871a83 | 228 | py | Python | UnityEngine/MeshTopology/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/MeshTopology/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/MeshTopology/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | from UdonPie import UnityEngine
from UdonPie.Undefined import *
class MeshTopology:
def __new__(cls, arg1=None):
'''
:returns: MeshTopology
:rtype: UnityEngine.MeshTopology
'''
pass
| 19 | 40 | 0.627193 | 21 | 228 | 6.619048 | 0.714286 | 0.158273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006173 | 0.289474 | 228 | 11 | 41 | 20.727273 | 0.851852 | 0.241228 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
9913d930be7ff26702b454434c46327b957cc1ad | 34 | py | Python | 2. entrada/exemplo_2.py | lusmoura/Python-workshop | 41a0f82e964a0a77a95d558806e7200dc3fab052 | [
"MIT"
] | 1 | 2021-11-10T18:33:48.000Z | 2021-11-10T18:33:48.000Z | 2. entrada/exemplo_2.py | lusmoura/Python-workshop | 41a0f82e964a0a77a95d558806e7200dc3fab052 | [
"MIT"
] | null | null | null | 2. entrada/exemplo_2.py | lusmoura/Python-workshop | 41a0f82e964a0a77a95d558806e7200dc3fab052 | [
"MIT"
] | null | null | null | idade = int(input())
print(idade)
| 11.333333 | 20 | 0.676471 | 5 | 34 | 4.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 34 | 2 | 21 | 17 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
991dbd6ec14affdbae0dbcec468c161cdb240b41 | 556 | py | Python | tests/demo_app/views.py | zlqm/django_improved_view | 642e5fdc5ebfab5d73fc2cdc67c4a916b239b479 | [
"BSD-3-Clause"
] | 1 | 2021-02-10T08:26:30.000Z | 2021-02-10T08:26:30.000Z | tests/demo_app/views.py | zlqm/simple_django_api | 642e5fdc5ebfab5d73fc2cdc67c4a916b239b479 | [
"BSD-3-Clause"
] | null | null | null | tests/demo_app/views.py | zlqm/simple_django_api | 642e5fdc5ebfab5d73fc2cdc67c4a916b239b479 | [
"BSD-3-Clause"
] | null | null | null | from simple_django_api.views import APIView
from .permissions import (BasicAuthRequired, login_required, owner_required)
class BasicAuthView(APIView):
method_perms = {'GET': BasicAuthRequired}
def get(self, request):
return {'msg': 'hello world'}
class AuthView(APIView):
method_perms = {'get': ... | 23.166667 | 76 | 0.692446 | 64 | 556 | 5.875 | 0.46875 | 0.103723 | 0.143617 | 0.167553 | 0.210106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188849 | 556 | 23 | 77 | 24.173913 | 0.833703 | 0 | 0 | 0.142857 | 0 | 0 | 0.059353 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.142857 | 0.214286 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
993102380875e8723255b07174de4628447aa1d2 | 100 | py | Python | devhttp/__init__.py | shearern/devhttp | 75a7242e2c54f36b4f0d1f0d609bc9876dfb2fa0 | [
"MIT"
] | null | null | null | devhttp/__init__.py | shearern/devhttp | 75a7242e2c54f36b4f0d1f0d609bc9876dfb2fa0 | [
"MIT"
] | null | null | null | devhttp/__init__.py | shearern/devhttp | 75a7242e2c54f36b4f0d1f0d609bc9876dfb2fa0 | [
"MIT"
] | null | null | null | from .DevelopmentHttpServer import DevelopmentHttpServer
from .template_helpers import render_jinja | 33.333333 | 56 | 0.9 | 10 | 100 | 8.8 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 100 | 3 | 57 | 33.333333 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
993e74e2001d7d4da39a3780bc9d556b80b12bde | 864 | py | Python | api/serializers.py | mpilkou/django_code | 08e42ef3cdbbcdd9050e591fd97b0d8be060df6b | [
"Apache-2.0"
] | null | null | null | api/serializers.py | mpilkou/django_code | 08e42ef3cdbbcdd9050e591fd97b0d8be060df6b | [
"Apache-2.0"
] | null | null | null | api/serializers.py | mpilkou/django_code | 08e42ef3cdbbcdd9050e591fd97b0d8be060df6b | [
"Apache-2.0"
] | null | null | null | from rest_framework import serializers
class SudokuPuzzleField(serializers.ListField):
child = serializers.ListField(
child=serializers.IntegerField(min_value = 0, max_value = 9),
min_length = 9,
max_length = 9,
allow_empty = False
)
min_length = 9
... | 27.870968 | 73 | 0.550926 | 135 | 864 | 3.451852 | 0.2 | 0.343348 | 0.508584 | 0.669528 | 0.324034 | 0.324034 | 0.324034 | 0.324034 | 0.324034 | 0.17382 | 0 | 0.138535 | 0.273148 | 864 | 31 | 74 | 27.870968 | 0.603503 | 0.275463 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.066667 | 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 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
9968ec2cf628656abc0a379b8ecd2235b47cfa75 | 181 | py | Python | Code/utils/initialize.py | Timothy102/Brain-FMRI | 25ae74d4537c698930db455ccf494454f7f3d542 | [
"MIT"
] | 3 | 2021-07-12T00:13:18.000Z | 2021-11-06T09:20:10.000Z | Code/utils/initialize.py | Timothy102/Brain-FMRI | 25ae74d4537c698930db455ccf494454f7f3d542 | [
"MIT"
] | null | null | null | Code/utils/initialize.py | Timothy102/Brain-FMRI | 25ae74d4537c698930db455ccf494454f7f3d542 | [
"MIT"
] | 2 | 2021-07-12T00:13:24.000Z | 2022-01-27T00:53:13.000Z | import os
import shutil
import re
def initfolder(path):
if not os.path.exists(path):
os.makedirs(path)
else:
shutil.rmtree(path)
os.makedirs(path)
| 16.454545 | 32 | 0.629834 | 25 | 181 | 4.56 | 0.52 | 0.105263 | 0.245614 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.270718 | 181 | 10 | 33 | 18.1 | 0.863636 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0 | 0.444444 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
998c7b0fb41e1a86b3928b2726584593278bf0d8 | 196 | py | Python | apps/manufacturers/models.py | theSoloBrewer/Project_Management | 20db0abc400568da593bdea075b414dfde89f564 | [
"Apache-2.0"
] | null | null | null | apps/manufacturers/models.py | theSoloBrewer/Project_Management | 20db0abc400568da593bdea075b414dfde89f564 | [
"Apache-2.0"
] | null | null | null | apps/manufacturers/models.py | theSoloBrewer/Project_Management | 20db0abc400568da593bdea075b414dfde89f564 | [
"Apache-2.0"
] | null | null | null | from django.db import models
# Create your models here.
class Manufacture(models.Model):
name = models.CharField(max_length=200)
def __str__(self):
return '%s' % (self.name) | 21.777778 | 43 | 0.673469 | 26 | 196 | 4.884615 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019481 | 0.214286 | 196 | 9 | 44 | 21.777778 | 0.805195 | 0.122449 | 0 | 0 | 0 | 0 | 0.011696 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
99907d60338b093ac182a6bd4f62b0abff59c6b1 | 3,889 | py | Python | src/cms/cms/settings.py | toxicmender/PyDjaMS | c632c021bb6c1f4e7ab6d7869602731bdb2e0a7a | [
"MIT"
] | null | null | null | src/cms/cms/settings.py | toxicmender/PyDjaMS | c632c021bb6c1f4e7ab6d7869602731bdb2e0a7a | [
"MIT"
] | null | null | null | src/cms/cms/settings.py | toxicmender/PyDjaMS | c632c021bb6c1f4e7ab6d7869602731bdb2e0a7a | [
"MIT"
] | null | null | null | """
Django settings for cms project.
Generated by 'django-admin startproject' using Django 3.2.
For more information on this file, see
https://docs.djangoproject.com/en/3.2/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/3.2/ref/settings/
"""
# For type checking... | 27.58156 | 91 | 0.697866 | 459 | 3,889 | 5.836601 | 0.379085 | 0.072788 | 0.065696 | 0.074655 | 0.209406 | 0.192236 | 0.114595 | 0.114595 | 0.059724 | 0 | 0 | 0.011063 | 0.163281 | 3,889 | 140 | 92 | 27.778571 | 0.812231 | 0.292363 | 0 | 0.025974 | 1 | 0.012987 | 0.492291 | 0.407856 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.064935 | 0.038961 | 0 | 0.038961 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
999e6ab2e7e83a3554fb77a7c99589260739dc64 | 189 | py | Python | tests/core/test_setproctitle.py | Sweety-Network/sweety-blockchain | dd0d272656a41d13a012b1600d74aa93d89fc45b | [
"Apache-2.0"
] | 1 | 2021-10-16T02:27:38.000Z | 2021-10-16T02:27:38.000Z | tests/core/test_setproctitle.py | Sweety-Network/sweety-blockchain | dd0d272656a41d13a012b1600d74aa93d89fc45b | [
"Apache-2.0"
] | null | null | null | tests/core/test_setproctitle.py | Sweety-Network/sweety-blockchain | dd0d272656a41d13a012b1600d74aa93d89fc45b | [
"Apache-2.0"
] | null | null | null | import unittest
from sweety.util.setproctitle import setproctitle
class TestSetProcTitle(unittest.TestCase):
def test_does_not_crash(self):
setproctitle("sweety test title")
| 21 | 49 | 0.783069 | 22 | 189 | 6.590909 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 189 | 8 | 50 | 23.625 | 0.900621 | 0 | 0 | 0 | 0 | 0 | 0.089947 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
99a7cf42a50781d2f1fd9d50bd2f55037af0205f | 47 | py | Python | src/dpln/__init__.py | shizuku/dpln | d6f62e97073313a92ba492bbf1b9cd57842a8369 | [
"MIT"
] | 3 | 2021-10-16T11:43:16.000Z | 2021-10-31T13:32:04.000Z | src/dpln/__init__.py | shizuku/dpln | d6f62e97073313a92ba492bbf1b9cd57842a8369 | [
"MIT"
] | null | null | null | src/dpln/__init__.py | shizuku/dpln | d6f62e97073313a92ba492bbf1b9cd57842a8369 | [
"MIT"
] | 1 | 2021-10-14T04:06:40.000Z | 2021-10-14T04:06:40.000Z | from .autograd import *
__version__ = "0.1.2"
| 11.75 | 23 | 0.680851 | 7 | 47 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.170213 | 47 | 3 | 24 | 15.666667 | 0.641026 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5100209bdfe3f476fbf85de2cda09d139e9f55ae | 8,324 | py | Python | scripts/model_meta_nodeps.py | leonardopsantos/tf_to_trt_image_classification | ec8689eb5633c2145427b2752172b121571e7d38 | [
"BSD-3-Clause"
] | 309 | 2018-11-05T07:20:50.000Z | 2022-03-28T11:20:52.000Z | scripts/model_meta_nodeps.py | hz658832/tf_to_trt_image_classification | 10822955cd9d8747f35faf26338de8742dc914dc | [
"BSD-3-Clause"
] | 21 | 2018-11-10T11:29:58.000Z | 2021-07-23T13:00:12.000Z | scripts/model_meta_nodeps.py | hz658832/tf_to_trt_image_classification | 10822955cd9d8747f35faf26338de8742dc914dc | [
"BSD-3-Clause"
] | 103 | 2018-11-05T09:10:13.000Z | 2022-01-27T04:28:55.000Z | # Copyright (c) 2018, NVIDIA CORPORATION. All rights reserved.
# Full license terms provided in LICENSE.md file.
CHECKPOINT_DIR = 'data/checkpoints/'
FROZEN_GRAPHS_DIR = 'data/frozen_graphs/'
UFF_DIR = 'data/uff/'
NETS = {
'vgg_16': {
'num_classes': 1000,
'input_name': 'input',
'output_na... | 35.57265 | 86 | 0.615329 | 915 | 8,324 | 5.149727 | 0.091803 | 0.033956 | 0.054117 | 0.105263 | 0.877334 | 0.853141 | 0.853141 | 0.705857 | 0.597411 | 0.474321 | 0 | 0.068388 | 0.246396 | 8,324 | 233 | 87 | 35.725322 | 0.682767 | 0.015377 | 0 | 0.502415 | 0 | 0 | 0.522897 | 0.133472 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5107321886fc24907e43e891c635d9b491b13a95 | 192 | py | Python | sensoglove/wrist.py | TheRizzen/senso-glove | eb15d3a08350877174cd62b75beacec8f72e12af | [
"MIT"
] | null | null | null | sensoglove/wrist.py | TheRizzen/senso-glove | eb15d3a08350877174cd62b75beacec8f72e12af | [
"MIT"
] | 2 | 2018-07-02T15:54:07.000Z | 2018-08-15T19:42:21.000Z | sensoglove/wrist.py | TheRizzen/senso-glove | eb15d3a08350877174cd62b75beacec8f72e12af | [
"MIT"
] | null | null | null | from .rotation import Rotation
class Wrist:
def __init__(self, data):
wrist = data['data']['wrist']
self.data = wrist
self.rotation = Rotation(*wrist['quat'][1:])
| 24 | 52 | 0.604167 | 23 | 192 | 4.869565 | 0.478261 | 0.241071 | 0.232143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006897 | 0.244792 | 192 | 7 | 53 | 27.428571 | 0.765517 | 0 | 0 | 0 | 0 | 0 | 0.067708 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5131eb0e4e7175dfc890e06672dac0d73d4ae9da | 104 | py | Python | master_overview/apps.py | AthenaExplorer/xm_s_explorer | b8ccd57e7bd493f46c493a967ec22e42171a6091 | [
"MIT"
] | null | null | null | master_overview/apps.py | AthenaExplorer/xm_s_explorer | b8ccd57e7bd493f46c493a967ec22e42171a6091 | [
"MIT"
] | null | null | null | master_overview/apps.py | AthenaExplorer/xm_s_explorer | b8ccd57e7bd493f46c493a967ec22e42171a6091 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class MasterOverviewConfig(AppConfig):
name = 'master_overview'
| 17.333333 | 38 | 0.788462 | 11 | 104 | 7.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 104 | 5 | 39 | 20.8 | 0.910112 | 0 | 0 | 0 | 0 | 0 | 0.144231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
5a9bebc3dc3d81fcb46b6d0a387137c51e4eb2f5 | 304 | py | Python | profiles_api/admin.py | yoni2k/django-rest-api | bfd26c50a2c1289bc8b1724584a08159e55753b3 | [
"MIT"
] | null | null | null | profiles_api/admin.py | yoni2k/django-rest-api | bfd26c50a2c1289bc8b1724584a08159e55753b3 | [
"MIT"
] | 4 | 2021-03-18T22:52:07.000Z | 2022-02-10T11:15:19.000Z | profiles_api/admin.py | yoni2k/django-rest-api | bfd26c50a2c1289bc8b1724584a08159e55753b3 | [
"MIT"
] | null | null | null | from django.contrib import admin
from profiles_api import models
# Register our UserProfile with admin site and make it available through admin interface
admin.site.register(models.UserProfile)
# to be able to administer Profile Feed Items in the Admin site
admin.site.register(models.ProfileFeedItem)
| 33.777778 | 88 | 0.828947 | 45 | 304 | 5.577778 | 0.644444 | 0.143426 | 0.135458 | 0.183267 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128289 | 304 | 8 | 89 | 38 | 0.94717 | 0.486842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5aebbf46a83f1a371fd32edb971fcfb43047ae07 | 184,224 | py | Python | profiling/mix_big.py | StarryInternet/black | f90f50a7436ca13517933c290ef007e7cb2e7258 | [
"MIT"
] | 16,110 | 2019-07-22T21:54:54.000Z | 2022-03-31T22:52:39.000Z | profiling/mix_big.py | StarryInternet/black | f90f50a7436ca13517933c290ef007e7cb2e7258 | [
"MIT"
] | 1,981 | 2019-07-22T21:26:16.000Z | 2022-03-31T23:14:35.000Z | profiling/mix_big.py | StarryInternet/black | f90f50a7436ca13517933c290ef007e7cb2e7258 | [
"MIT"
] | 1,762 | 2019-07-22T21:23:00.000Z | 2022-03-31T06:10:22.000Z | config = some.Structure(
globalMap = {
103310322020340: [100000031211103,101042000320420,100100001202021,112320301100420,110101024402203,112001202000203,112101112010031,102130400200010,100401014300441,103000401422033],
110040120003212: [114413100031332,102101001412002,100210000032130,214000110100040... | 183.672981 | 191 | 0.876639 | 10,730 | 184,224 | 15.051072 | 0.799534 | 0.001486 | 0.001672 | 0.001858 | 0.126262 | 0.104992 | 0.088181 | 0.075828 | 0.067654 | 0.057623 | 0 | 0.926774 | 0.05426 | 184,224 | 1,002 | 192 | 183.856287 | 0.000161 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
850c69c5c8f3751fffd4312845f0c532632079e5 | 141 | py | Python | backend/config/settings/ci.py | yegorLitvinov/costcontrol | f3c9316ea0c9e7f2509087dabdbe7f1cf5fe2d80 | [
"MIT"
] | null | null | null | backend/config/settings/ci.py | yegorLitvinov/costcontrol | f3c9316ea0c9e7f2509087dabdbe7f1cf5fe2d80 | [
"MIT"
] | 1 | 2020-02-11T21:46:59.000Z | 2020-02-11T21:46:59.000Z | backend/config/settings/ci.py | yegorLitvinov/costcontrol | f3c9316ea0c9e7f2509087dabdbe7f1cf5fe2d80 | [
"MIT"
] | null | null | null | from .dev import * # noqa
DATABASES["default"]["HOST"] = "db" # noqa
PASSWORD_HASHERS = ["django.contrib.auth.hashers.MD5PasswordHasher"]
| 28.2 | 68 | 0.70922 | 16 | 141 | 6.1875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.120567 | 141 | 4 | 69 | 35.25 | 0.790323 | 0.06383 | 0 | 0 | 0 | 0 | 0.449612 | 0.348837 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
8511d9b0e5ee734afb8d9fd975b8ac1bc0f8428c | 158 | py | Python | problem0244.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0244.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0244.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | ###########################
#
# #244 Sliders - Project Euler
# https://projecteuler.net/problem=244
#
# Code by Kevin Marciniak
#
###########################
| 17.555556 | 38 | 0.455696 | 13 | 158 | 5.538462 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 0.113924 | 158 | 8 | 39 | 19.75 | 0.471429 | 0.556962 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
51861aae27393755ad0c2d5ef4b3c1b3b6f6bb1b | 689 | py | Python | api/tacticalrmm/clients/permissions.py | rfost52/tacticalrmm | 44dd59fa3f530e7cf6730ef44606fa869c8cd222 | [
"MIT"
] | 903 | 2019-10-22T22:56:42.000Z | 2022-03-18T14:15:54.000Z | api/tacticalrmm/clients/permissions.py | rfost52/tacticalrmm | 44dd59fa3f530e7cf6730ef44606fa869c8cd222 | [
"MIT"
] | 720 | 2019-12-07T08:11:26.000Z | 2022-03-17T21:47:04.000Z | api/tacticalrmm/clients/permissions.py | rfost52/tacticalrmm | 44dd59fa3f530e7cf6730ef44606fa869c8cd222 | [
"MIT"
] | 231 | 2020-02-11T14:14:21.000Z | 2022-03-16T21:23:10.000Z | from rest_framework import permissions
from tacticalrmm.permissions import _has_perm
class ManageClientsPerms(permissions.BasePermission):
def has_permission(self, r, view):
if r.method == "GET":
return True
return _has_perm(r, "can_manage_clients")
class ManageSitesPerms(permissio... | 24.607143 | 56 | 0.680697 | 80 | 689 | 5.6375 | 0.35 | 0.062084 | 0.186253 | 0.206208 | 0.631929 | 0.631929 | 0.631929 | 0.631929 | 0.631929 | 0.631929 | 0 | 0 | 0.230769 | 689 | 27 | 57 | 25.518519 | 0.850943 | 0 | 0 | 0.529412 | 0 | 0 | 0.09434 | 0.03193 | 0 | 0 | 0 | 0 | 0 | 1 | 0.176471 | false | 0 | 0.117647 | 0 | 0.823529 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
a40680eed0bbac2f7638ae87772a6eefbef84597 | 210 | py | Python | src/charts/models.py | vijaykumarmcp/StockChartVisual | 569010e5180640039b201460095abd341a922ec2 | [
"MIT"
] | null | null | null | src/charts/models.py | vijaykumarmcp/StockChartVisual | 569010e5180640039b201460095abd341a922ec2 | [
"MIT"
] | null | null | null | src/charts/models.py | vijaykumarmcp/StockChartVisual | 569010e5180640039b201460095abd341a922ec2 | [
"MIT"
] | null | null | null | from django.db import models
# Create your models here.
class Company(models.Model):
name=models.CharField(max_length=120)
article=models.IntegerField()
def __str__(self):
return self.name | 23.333333 | 41 | 0.72381 | 28 | 210 | 5.25 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017442 | 0.180952 | 210 | 9 | 42 | 23.333333 | 0.837209 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
cf8a9416b21f67ee6fab0dadf36ecd93ef2d923a | 289 | py | Python | tweet_crawler/api.py | RobinSchaefer/tweet-crawler | 4512247402c1b62f5e63c9576da204f67fe0f979 | [
"MIT"
] | 1 | 2022-02-20T14:36:12.000Z | 2022-02-20T14:36:12.000Z | tweet_crawler/api.py | RobinSchaefer/tweet-crawler | 4512247402c1b62f5e63c9576da204f67fe0f979 | [
"MIT"
] | null | null | null | tweet_crawler/api.py | RobinSchaefer/tweet-crawler | 4512247402c1b62f5e63c9576da204f67fe0f979 | [
"MIT"
] | 1 | 2021-10-17T22:00:39.000Z | 2021-10-17T22:00:39.000Z | import tweepy
def init_api(consumer_key, consumer_secret, access_token, access_token_secret):
'''
'''
auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
auth.set_access_token(access_token, access_token_secret)
return tweepy.API(auth, wait_on_rate_limit=True)
| 26.272727 | 79 | 0.768166 | 39 | 289 | 5.282051 | 0.487179 | 0.26699 | 0.247573 | 0.320388 | 0.271845 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141869 | 289 | 10 | 80 | 28.9 | 0.830645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
cfa6454498eb904bfab68167dbb0ea888846bd8c | 94 | py | Python | tests/conftest.py | kunansy/Vocabulary | 8794f093067262cf6e71bf64428716d6677d83aa | [
"MIT"
] | null | null | null | tests/conftest.py | kunansy/Vocabulary | 8794f093067262cf6e71bf64428716d6677d83aa | [
"MIT"
] | 7 | 2020-09-11T05:43:58.000Z | 2021-08-21T20:42:59.000Z | tests/conftest.py | FaustGoethe/EnglishVocabulary | ec1af4f38b9b5196558ce7cda05878827727fcd3 | [
"MIT"
] | null | null | null | import time
import pytest
@pytest.fixture(scope="function")
def sleep():
time.sleep(3)
| 10.444444 | 33 | 0.702128 | 13 | 94 | 5.076923 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012658 | 0.159574 | 94 | 8 | 34 | 11.75 | 0.822785 | 0 | 0 | 0 | 0 | 0 | 0.085106 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
cfc2ae675abb9e1e9b65beea095e8bcb74415877 | 345 | py | Python | django-L4/learning_templates/basic_app/views.py | MajhiRockzZ/py-dj-fswdbc | aa14da5febeb0280994e00936428bca67e800214 | [
"MIT"
] | null | null | null | django-L4/learning_templates/basic_app/views.py | MajhiRockzZ/py-dj-fswdbc | aa14da5febeb0280994e00936428bca67e800214 | [
"MIT"
] | null | null | null | django-L4/learning_templates/basic_app/views.py | MajhiRockzZ/py-dj-fswdbc | aa14da5febeb0280994e00936428bca67e800214 | [
"MIT"
] | null | null | null | from django.shortcuts import render
def index(request):
context_dic = {'text': 'hello world', 'number': 100}
return render(request, 'basic_app/index.html', context_dic)
def other(request):
return render(request, 'basic_app/other.html')
def relative(request):
return render(request, 'basic_app/relat... | 23 | 67 | 0.730435 | 46 | 345 | 5.326087 | 0.5 | 0.146939 | 0.232653 | 0.293878 | 0.387755 | 0.277551 | 0 | 0 | 0 | 0 | 0 | 0.010135 | 0.142029 | 345 | 14 | 68 | 24.642857 | 0.817568 | 0 | 0 | 0 | 0 | 0 | 0.284058 | 0.107246 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0.25 | 0.875 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
cfd01e63ddcb87c5d7f00237e3a4df28ce70e759 | 261 | py | Python | weather/src/forecast/serializers.py | chrysopoeia/fluffy-fuzz | 7b1f094d4ec19a6c1b29665cde06aa25e2faf3f3 | [
"MIT"
] | null | null | null | weather/src/forecast/serializers.py | chrysopoeia/fluffy-fuzz | 7b1f094d4ec19a6c1b29665cde06aa25e2faf3f3 | [
"MIT"
] | null | null | null | weather/src/forecast/serializers.py | chrysopoeia/fluffy-fuzz | 7b1f094d4ec19a6c1b29665cde06aa25e2faf3f3 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import WeatherForecast
class WeatherForecastSerializer(serializers.ModelSerializer):
class Meta:
model = WeatherForecast
fields = ('city', 'date', 'min_temp', 'max_temp', 'wind', 'rain')
| 29 | 73 | 0.724138 | 26 | 261 | 7.153846 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 261 | 8 | 74 | 32.625 | 0.861111 | 0 | 0 | 0 | 0 | 0 | 0.122605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
cfd064e022bf4766ad11ded505958d95b19df1e4 | 81 | py | Python | gms/apps.py | mainaerick/test-gms | 0e847fa6f40a1b3308f5b66383c3ab61524198fe | [
"MIT"
] | 1 | 2022-02-03T07:45:21.000Z | 2022-02-03T07:45:21.000Z | gms/apps.py | mainaerick/test-gms | 0e847fa6f40a1b3308f5b66383c3ab61524198fe | [
"MIT"
] | null | null | null | gms/apps.py | mainaerick/test-gms | 0e847fa6f40a1b3308f5b66383c3ab61524198fe | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class GmsConfig(AppConfig):
name = 'gms'
| 13.5 | 33 | 0.728395 | 10 | 81 | 5.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 81 | 5 | 34 | 16.2 | 0.893939 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
cffb1bac066f156335df406ba6b55f3e3b81349d | 553 | py | Python | vmraid/patches/v8_0/rename_print_to_printing.py | sowrisurya/vmraid | f833e00978019dad87af80b41279c0146c063ed5 | [
"MIT"
] | null | null | null | vmraid/patches/v8_0/rename_print_to_printing.py | sowrisurya/vmraid | f833e00978019dad87af80b41279c0146c063ed5 | [
"MIT"
] | null | null | null | vmraid/patches/v8_0/rename_print_to_printing.py | sowrisurya/vmraid | f833e00978019dad87af80b41279c0146c063ed5 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
import vmraid
def execute():
if vmraid.db.exists('Module Def', 'Print'):
vmraid.reload_doc('printing', 'doctype', 'print_format')
vmraid.reload_doc('printing', 'doctype', 'print_settings')
vmraid.reload_doc('printing', 'doctype', 'print_heading')
vmraid.reload_doc('prin... | 42.538462 | 90 | 0.730561 | 70 | 553 | 5.528571 | 0.428571 | 0.155039 | 0.193798 | 0.297158 | 0.348837 | 0.271318 | 0 | 0 | 0 | 0 | 0 | 0 | 0.099458 | 553 | 13 | 91 | 42.538462 | 0.777108 | 0 | 0 | 0 | 0 | 0 | 0.431408 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | true | 0 | 0.181818 | 0 | 0.272727 | 0.454545 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
5c529030df9b0e9fc95c1cc10b7eef8955639190 | 18,586 | py | Python | script/TrajectoryPlanner/SuspensionMatrices.py | ryanp543/autotuner | 521bddeb45f874d5422057992e2787beb7955e3c | [
"MIT"
] | null | null | null | script/TrajectoryPlanner/SuspensionMatrices.py | ryanp543/autotuner | 521bddeb45f874d5422057992e2787beb7955e3c | [
"MIT"
] | null | null | null | script/TrajectoryPlanner/SuspensionMatrices.py | ryanp543/autotuner | 521bddeb45f874d5422057992e2787beb7955e3c | [
"MIT"
] | null | null | null | import numpy as np
from numpy import sin, cos
"""
# Example use
from numpy import linalg
sus = Suspension_8legs()
K = sus.GetStiffnessMatrix()
B = sus.GetDampingMatrix()
# To get the eigen values:
eigvalues,eigenvectors = linalg.eig(K)
lambda_min = min(eigvalues)
"""
class Suspension_8legs():
#... | 121.477124 | 1,702 | 0.460831 | 2,800 | 18,586 | 3.001429 | 0.086429 | 0.109948 | 0.061875 | 0.029391 | 0.579724 | 0.386007 | 0.192289 | 0.14029 | 0.107211 | 0.094836 | 0 | 0.224578 | 0.355536 | 18,586 | 152 | 1,703 | 122.276316 | 0.477041 | 0.056225 | 0 | 0.233645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.028037 | false | 0 | 0.018692 | 0 | 0.074766 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5c9456760fb977b61c76c1697676ffc524219247 | 234 | py | Python | 4-19-18/python-basics.py | missystrab/misy350-s18-exercises | 67ce7bd7be0e3aa0978889460465dd2e1a7a1e68 | [
"MIT"
] | null | null | null | 4-19-18/python-basics.py | missystrab/misy350-s18-exercises | 67ce7bd7be0e3aa0978889460465dd2e1a7a1e68 | [
"MIT"
] | null | null | null | 4-19-18/python-basics.py | missystrab/misy350-s18-exercises | 67ce7bd7be0e3aa0978889460465dd2e1a7a1e68 | [
"MIT"
] | null | null | null | # this is my first python code
greeting = "hello"
name = "Missy"
print greeting # this print out string
print len(greeting)
print greeting.upper()
print greeting[4]
print greeting + " " + name + "!"
print "%s %s!" % (greeting, name)
| 23.4 | 39 | 0.683761 | 33 | 234 | 4.848485 | 0.515152 | 0.325 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005208 | 0.179487 | 234 | 9 | 40 | 26 | 0.828125 | 0.213675 | 0 | 0 | 0 | 0 | 0.099448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.75 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
5ca9b2c05513bb8e4de4607f59e8bb9acca601df | 219 | py | Python | pyndodax/tests/api_request_test.py | diwangs/PyIndodax | d0f2f187673971d04a3aff83d62ffca2cfc9bb08 | [
"Apache-2.0"
] | 1 | 2021-11-07T02:33:09.000Z | 2021-11-07T02:33:09.000Z | pyndodax/tests/api_request_test.py | rundhik/pyndodax | d0f2f187673971d04a3aff83d62ffca2cfc9bb08 | [
"Apache-2.0"
] | null | null | null | pyndodax/tests/api_request_test.py | rundhik/pyndodax | d0f2f187673971d04a3aff83d62ffca2cfc9bb08 | [
"Apache-2.0"
] | 2 | 2020-07-29T11:07:21.000Z | 2020-08-08T04:25:58.000Z | import pytest
from pyndodax import api_request
import asyncio
@pytest.mark.asyncio
async def test_aio_api_request():
url = "https://indodax.com/api/btc_idr/ticker"
assert await api_request.aio_api_request(url) | 24.333333 | 50 | 0.789954 | 34 | 219 | 4.852941 | 0.617647 | 0.242424 | 0.157576 | 0.193939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123288 | 219 | 9 | 51 | 24.333333 | 0.859375 | 0 | 0 | 0 | 0 | 0 | 0.172727 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5cc5942e2ed5ee5f52facec64ff548802bbfda0e | 290 | py | Python | typeclasses/bauble.py | stesla/arxcode | a0ebf7c4d310de8c1980a8ba2a48948a68bb5a0a | [
"MIT"
] | 5 | 2019-03-16T08:26:53.000Z | 2019-11-27T15:42:16.000Z | typeclasses/bauble.py | stesla/arxcode | a0ebf7c4d310de8c1980a8ba2a48948a68bb5a0a | [
"MIT"
] | 7 | 2018-09-29T05:08:15.000Z | 2021-06-10T21:35:32.000Z | typeclasses/bauble.py | stesla/arxcode | a0ebf7c4d310de8c1980a8ba2a48948a68bb5a0a | [
"MIT"
] | 7 | 2018-09-19T21:11:29.000Z | 2019-11-19T12:46:14.000Z | """
Placeholder class. Currently identical to regular
objects.
"""
from typeclasses.objects import Object as DefaultObject
from .mixins import ObjectMixins
class Bauble(DefaultObject):
"""
Essentially a placeolder in case we wanna do anything with it
later.
"""
pass
| 18.125 | 65 | 0.727586 | 34 | 290 | 6.205882 | 0.852941 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203448 | 290 | 15 | 66 | 19.333333 | 0.91342 | 0.437931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.25 | 0.5 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
7a2583e20051bcdef9e0dd209974971e828e9b25 | 3,748 | py | Python | tests/test_Lookup.py | sms77io/python-client | f729e017da89575bc48a80bd9b6d8d6fe0e124d3 | [
"MIT"
] | null | null | null | tests/test_Lookup.py | sms77io/python-client | f729e017da89575bc48a80bd9b6d8d6fe0e124d3 | [
"MIT"
] | 1 | 2021-02-03T19:47:42.000Z | 2021-02-04T17:58:46.000Z | tests/test_Lookup.py | sms77io/python-client | f729e017da89575bc48a80bd9b6d8d6fe0e124d3 | [
"MIT"
] | null | null | null | from src.sms77api.classes.Lookup import LookupType, MnpResponse
from tests.BaseTest import BaseTest
class TestLookup(BaseTest):
def test_lookup_cnam(self) -> None:
res = self.client.lookup(LookupType.CNAM, '+491771783130')
self.assertIsInstance(res, dict)
self.assertIsInstance(res['succes... | 45.156627 | 80 | 0.667289 | 399 | 3,748 | 6.162907 | 0.16792 | 0.357869 | 0.411549 | 0.306629 | 0.634811 | 0.393656 | 0.334282 | 0.265148 | 0.181375 | 0.136641 | 0 | 0.021495 | 0.19317 | 3,748 | 82 | 81 | 45.707317 | 0.791667 | 0.001067 | 0 | 0.176471 | 0 | 0 | 0.16542 | 0.037413 | 0 | 0 | 0 | 0 | 0.735294 | 1 | 0.073529 | false | 0 | 0.029412 | 0 | 0.132353 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7a3401c2458c723c8b0d02a5f1cf64982ddd3e17 | 63 | py | Python | BirdSongToolbox/test/test_preprocessing/__init__.py | Darilbii/BirdSongToolbox | f4853a7f6cb5c4ef0f57e9f346be08f6e153ca65 | [
"Apache-2.0"
] | 3 | 2021-08-03T00:03:37.000Z | 2021-09-25T04:37:52.000Z | BirdSongToolbox/test/test_preprocessing/__init__.py | Darilbii/BirdSongToolbox | f4853a7f6cb5c4ef0f57e9f346be08f6e153ca65 | [
"Apache-2.0"
] | 1 | 2021-08-08T11:04:36.000Z | 2021-08-08T11:04:36.000Z | BirdSongToolbox/test/test_preprocessing/__init__.py | Darilbii/BirdSongToolbox | f4853a7f6cb5c4ef0f57e9f346be08f6e153ca65 | [
"Apache-2.0"
] | null | null | null | """Test code for preprocessing functions in BirdSongToolbox.""" | 63 | 63 | 0.793651 | 7 | 63 | 7.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 63 | 1 | 63 | 63 | 0.877193 | 0.904762 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7a34da83c5e82543367898e8730e095e655e8e28 | 239 | py | Python | home/.interactive_rc.py | ssokolow/profile | 09f2a842077909d883a08b546659516deec7d719 | [
"MIT"
] | 9 | 2015-04-14T22:27:40.000Z | 2022-02-23T05:33:00.000Z | home/.interactive_rc.py | ssokolow/profile | 09f2a842077909d883a08b546659516deec7d719 | [
"MIT"
] | null | null | null | home/.interactive_rc.py | ssokolow/profile | 09f2a842077909d883a08b546659516deec7d719 | [
"MIT"
] | 9 | 2015-04-14T22:27:42.000Z | 2017-11-21T11:34:23.000Z | try:
import readline
except ImportError:
print ("Module readline not available.")
else:
import rlcompleter
#TODO: Figure out how to make binding to Control-Tab not also grab Tab
readline.parse_and_bind("tab: complete")
| 26.555556 | 74 | 0.728033 | 33 | 239 | 5.212121 | 0.787879 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.200837 | 239 | 8 | 75 | 29.875 | 0.900524 | 0.288703 | 0 | 0 | 0 | 0 | 0.254438 | 0 | 0 | 0 | 0 | 0.125 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7a44a90cbd5c01a191f671e90d4705b13272c5e5 | 176 | py | Python | data_io_fns/import_data/__init__.py | chrisjdavie/ws_cross_project | 10ffd6d0df1aeea0e5d2d6c5dfddab907a2cd439 | [
"MIT"
] | null | null | null | data_io_fns/import_data/__init__.py | chrisjdavie/ws_cross_project | 10ffd6d0df1aeea0e5d2d6c5dfddab907a2cd439 | [
"MIT"
] | null | null | null | data_io_fns/import_data/__init__.py | chrisjdavie/ws_cross_project | 10ffd6d0df1aeea0e5d2d6c5dfddab907a2cd439 | [
"MIT"
] | null | null | null | from csv_functions import vect_read, csv_matrix_read, read_single_val
from zeus_hdf_fns import zmp3d_hdf_read, sph_col_2d_hdfread, zmp_hdf_t, zmp3d_coords_read, zmp3d_var_read | 58.666667 | 105 | 0.886364 | 33 | 176 | 4.151515 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024691 | 0.079545 | 176 | 3 | 105 | 58.666667 | 0.820988 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7a8a642b1901ae4f6a5f05af861d47779d94d199 | 536 | bzl | Python | tools/repositories.bzl | depp/terrestrial-collection-machine | 54b4f2906bd733d2f5b62622cfcbb7508674bc98 | [
"MIT"
] | null | null | null | tools/repositories.bzl | depp/terrestrial-collection-machine | 54b4f2906bd733d2f5b62622cfcbb7508674bc98 | [
"MIT"
] | null | null | null | tools/repositories.bzl | depp/terrestrial-collection-machine | 54b4f2906bd733d2f5b62622cfcbb7508674bc98 | [
"MIT"
] | null | null | null | load(":pkg_config.bzl", "pkg_config_repository")
def add_repositories():
pkg_config_repository(
name = "glfw3",
spec = "glfw3",
includes = [
"GLFW/*.h",
],
)
pkg_config_repository(
name = "glew",
spec = "glew",
includes = [
"GL... | 19.851852 | 48 | 0.434701 | 45 | 536 | 4.955556 | 0.444444 | 0.201794 | 0.340807 | 0.309417 | 0.215247 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0.421642 | 536 | 26 | 49 | 20.615385 | 0.712903 | 0 | 0 | 0.36 | 0 | 0 | 0.203358 | 0.039179 | 0 | 0 | 0 | 0 | 0 | 1 | 0.04 | true | 0 | 0 | 0 | 0.04 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7a9f69c1e7ea96bb2a36b989beea1f60c27788ac | 189 | py | Python | Calculator/addition.py | LachlanDev/Python-Basics | 000568d011b393d1d74454093373148cba69cfd2 | [
"MIT"
] | 2 | 2020-07-14T13:09:13.000Z | 2020-12-17T13:28:16.000Z | Calculator/addition.py | PapaSnags/Python-Basics | 000568d011b393d1d74454093373148cba69cfd2 | [
"MIT"
] | null | null | null | Calculator/addition.py | PapaSnags/Python-Basics | 000568d011b393d1d74454093373148cba69cfd2 | [
"MIT"
] | null | null | null | print("Welcome to the Python Addition Calculator")
num1 = int(input("Give me a number to add "))
num2 = int(input("Give me another number to add "))
print(num1,"+",num2,"=", num1 + num2) | 47.25 | 52 | 0.677249 | 30 | 189 | 4.266667 | 0.566667 | 0.125 | 0.1875 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.15873 | 189 | 4 | 53 | 47.25 | 0.767296 | 0 | 0 | 0 | 0 | 0 | 0.518717 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
7aac280fa5d7e6952aad1059ef94a005390b20b8 | 120 | py | Python | eucaconsole/models/arn/__init__.py | gholms/eucaconsole | 4629c961c90e3aae27e3a869a7f157bafeda6489 | [
"BSD-2-Clause"
] | null | null | null | eucaconsole/models/arn/__init__.py | gholms/eucaconsole | 4629c961c90e3aae27e3a869a7f157bafeda6489 | [
"BSD-2-Clause"
] | 10 | 2018-03-28T17:25:16.000Z | 2021-03-05T10:15:06.000Z | eucaconsole/models/arn/__init__.py | gholms/eucaconsole | 4629c961c90e3aae27e3a869a7f157bafeda6489 | [
"BSD-2-Clause"
] | 1 | 2019-06-07T20:43:45.000Z | 2019-06-07T20:43:45.000Z | from arn import AmazonResourceName
from autoscaling import AutoScaling
__all__ = ['AmazonResourceName', 'AutoScaling']
| 24 | 47 | 0.825 | 11 | 120 | 8.636364 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108333 | 120 | 4 | 48 | 30 | 0.88785 | 0 | 0 | 0 | 0 | 0 | 0.241667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7ab2e70ffb681a0d33286a2350104a3c880e6f3e | 87 | py | Python | app/db/errors.py | dormantman/simple-insurance | fe54aa75fcecebc222d3e8ce734ff8aed737d6fe | [
"MIT"
] | null | null | null | app/db/errors.py | dormantman/simple-insurance | fe54aa75fcecebc222d3e8ce734ff8aed737d6fe | [
"MIT"
] | null | null | null | app/db/errors.py | dormantman/simple-insurance | fe54aa75fcecebc222d3e8ce734ff8aed737d6fe | [
"MIT"
] | null | null | null | class EntityDoesNotExist(Exception):
"""Raised when entity was not found in db."""
| 29 | 49 | 0.724138 | 11 | 87 | 5.727273 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16092 | 87 | 2 | 50 | 43.5 | 0.863014 | 0.448276 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 4 |
7abb3f6124f66b767f38a00f86fc66a1dd3287d8 | 61 | py | Python | django/apps/stories/__init__.py | Haakenlid/tassen | 911a2541c77eca522ba5a723f175786f4f9eb481 | [
"Apache-2.0"
] | 16 | 2017-03-21T03:53:37.000Z | 2021-08-14T06:28:02.000Z | django/apps/stories/__init__.py | universitas/universitas.no | 911a2541c77eca522ba5a723f175786f4f9eb481 | [
"Apache-2.0"
] | 104 | 2017-03-25T00:12:46.000Z | 2021-03-09T22:40:58.000Z | django/apps/stories/__init__.py | Haakenlid/tassen | 911a2541c77eca522ba5a723f175786f4f9eb481 | [
"Apache-2.0"
] | 6 | 2017-03-21T03:53:40.000Z | 2020-06-07T14:15:38.000Z | default_app_config = 'apps.stories.appconf.StoriesAppConfig'
| 30.5 | 60 | 0.852459 | 7 | 61 | 7.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 61 | 1 | 61 | 61 | 0.862069 | 0 | 0 | 0 | 0 | 0 | 0.606557 | 0.606557 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8914c942a79705f0b8bef015e1bd257bb376415d | 81 | py | Python | tests/test_models.py | ibm-skills-network/edx-course-team-api | 662a756f61047bd2f1c10ede2feb6f1a24c2717d | [
"MIT"
] | null | null | null | tests/test_models.py | ibm-skills-network/edx-course-team-api | 662a756f61047bd2f1c10ede2feb6f1a24c2717d | [
"MIT"
] | null | null | null | tests/test_models.py | ibm-skills-network/edx-course-team-api | 662a756f61047bd2f1c10ede2feb6f1a24c2717d | [
"MIT"
] | null | null | null | #!/usr/bin/env python
"""
Tests for the `edx_course_team_api` models module.
"""
| 16.2 | 50 | 0.703704 | 13 | 81 | 4.153846 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.123457 | 81 | 4 | 51 | 20.25 | 0.760563 | 0.876543 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
64e6e31d5c41cc07f8c9aba65377e2e39c115afd | 240 | py | Python | qri/version_info.py | xxristoskk/qri-python | 148a659ba5d1c1c46aa66ab9b21cbcb1aec26747 | [
"MIT"
] | null | null | null | qri/version_info.py | xxristoskk/qri-python | 148a659ba5d1c1c46aa66ab9b21cbcb1aec26747 | [
"MIT"
] | null | null | null | qri/version_info.py | xxristoskk/qri-python | 148a659ba5d1c1c46aa66ab9b21cbcb1aec26747 | [
"MIT"
] | null | null | null | from .util import set_fields
class VersionInfo(object):
def __init__(self, obj):
set_fields(self, obj, ['bodySize', 'bodyRows', 'bodyFormat', 'numErrors', 'commitTime'])
def __repr__(self):
return 'VersionInfo()'
| 24 | 96 | 0.658333 | 26 | 240 | 5.692308 | 0.730769 | 0.121622 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195833 | 240 | 9 | 97 | 26.666667 | 0.766839 | 0 | 0 | 0 | 0 | 0 | 0.241667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
8f0637079ea2748685472bd6abb4d06c5e5d140f | 209 | py | Python | tests/test_connectors.py | aaronhackney/pycdo | 0c0b938b74dbc0ab45a1ed7926c2d5e2f8651e7a | [
"MIT"
] | null | null | null | tests/test_connectors.py | aaronhackney/pycdo | 0c0b938b74dbc0ab45a1ed7926c2d5e2f8651e7a | [
"MIT"
] | 1 | 2022-03-17T22:38:44.000Z | 2022-03-17T22:38:44.000Z | tests/test_connectors.py | aaronhackney/pycdo | 0c0b938b74dbc0ab45a1ed7926c2d5e2f8651e7a | [
"MIT"
] | null | null | null | from pycdo import CDOClient
from datetime import datetime
class TestConnectors:
def test_get_connectors(self, cdo_client: CDOClient):
sdc_list = cdo_client.get_sdc_list()
assert sdc_list
| 23.222222 | 57 | 0.755981 | 28 | 209 | 5.357143 | 0.607143 | 0.14 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196172 | 209 | 8 | 58 | 26.125 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8f08050084b78c719b9ebf660f2871ee87c187fc | 628 | py | Python | tasks.py | jefftriplett/django-rq-email-backend | 674e48ab086d31ea5837fc12dd267c3b20d0fab1 | [
"BSD-3-Clause"
] | 10 | 2015-01-25T22:11:51.000Z | 2021-01-06T07:07:59.000Z | tasks.py | jefftriplett/django-rq-email-backend | 674e48ab086d31ea5837fc12dd267c3b20d0fab1 | [
"BSD-3-Clause"
] | null | null | null | tasks.py | jefftriplett/django-rq-email-backend | 674e48ab086d31ea5837fc12dd267c3b20d0fab1 | [
"BSD-3-Clause"
] | 4 | 2015-05-11T16:34:37.000Z | 2018-09-26T17:38:39.000Z | from invoke import run, task
@task
def clean():
run('cd docs && make clean')
@task
def docs():
run('cd docs && make html')
@task
def package():
run('python setup.py sdist')
run('python setup.py bdist_wheel')
@task
def package_upload():
run('python setup.py sdist upload')
run('python setu... | 15.7 | 53 | 0.652866 | 97 | 628 | 4.14433 | 0.226804 | 0.179104 | 0.278607 | 0.318408 | 0.59204 | 0.477612 | 0.412935 | 0.154229 | 0 | 0 | 0 | 0 | 0.207006 | 628 | 39 | 54 | 16.102564 | 0.807229 | 0 | 0 | 0.24 | 0 | 0 | 0.471338 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.28 | true | 0 | 0.04 | 0 | 0.32 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8f5c5c60dfa99185ae595eefb3b76425d9cb750f | 341 | py | Python | Auto Tests/fixture/menu.py | novdima-github/barantcev-training | c8ce9ece5e83f29a819570ad58383047271d906b | [
"Apache-2.0"
] | null | null | null | Auto Tests/fixture/menu.py | novdima-github/barantcev-training | c8ce9ece5e83f29a819570ad58383047271d906b | [
"Apache-2.0"
] | null | null | null | Auto Tests/fixture/menu.py | novdima-github/barantcev-training | c8ce9ece5e83f29a819570ad58383047271d906b | [
"Apache-2.0"
] | null | null | null | class MenuHelper:
def __init__(self, app):
self.app = app
def check_menu_items(self):
driver = self.app.driver
driver.find_element_by_partial_link_text('Dashboard').click()
driver.find_element_by_partial_link_text('Feedback').click()
driver.find_element_by_partial_link_t... | 34.1 | 69 | 0.70088 | 45 | 341 | 4.844444 | 0.444444 | 0.09633 | 0.233945 | 0.261468 | 0.513761 | 0.513761 | 0.513761 | 0.357798 | 0 | 0 | 0 | 0 | 0.190616 | 341 | 9 | 70 | 37.888889 | 0.789855 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8f6401be42d7dd50d18f2b8d1799c2beb3b282bc | 178 | py | Python | examples/fit_on_screen.py | MrTeferi/photoshop-python-api | 3467c345c836e0515af793d365edb83fe9166643 | [
"MIT"
] | 270 | 2020-04-11T22:41:20.000Z | 2022-03-29T09:16:43.000Z | examples/fit_on_screen.py | MrTeferi/photoshop-python-api | 3467c345c836e0515af793d365edb83fe9166643 | [
"MIT"
] | 67 | 2020-04-18T08:12:34.000Z | 2022-03-31T16:51:56.000Z | examples/fit_on_screen.py | MrTeferi/photoshop-python-api | 3467c345c836e0515af793d365edb83fe9166643 | [
"MIT"
] | 32 | 2020-05-13T10:51:04.000Z | 2022-03-19T02:53:43.000Z | """Let the current document Fit on screen."""
# Import local modules
from photoshop import Session
with Session() as ps:
ps.app.runMenuItem(ps.app.charIDToTypeID("FtOn"))
| 19.777778 | 53 | 0.730337 | 25 | 178 | 5.2 | 0.8 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151685 | 178 | 8 | 54 | 22.25 | 0.860927 | 0.342697 | 0 | 0 | 0 | 0 | 0.036036 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
56c0dfeea36f82c7bb09da89dc904ac4b9c449e5 | 52 | py | Python | src/suton/tonlibs/tonliteclient/exceptions/base.py | jarig/suton | a946779bdee61f62de28da666ce01dba03ab9128 | [
"MIT"
] | 4 | 2020-08-24T21:20:21.000Z | 2021-02-20T16:53:11.000Z | src/suton/tonlibs/tonliteclient/exceptions/base.py | jarig/suton | a946779bdee61f62de28da666ce01dba03ab9128 | [
"MIT"
] | null | null | null | src/suton/tonlibs/tonliteclient/exceptions/base.py | jarig/suton | a946779bdee61f62de28da666ce01dba03ab9128 | [
"MIT"
] | null | null | null |
class TonLiteClientException(Exception):
pass
| 10.4 | 40 | 0.769231 | 4 | 52 | 10 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 52 | 4 | 41 | 13 | 0.930233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
56cec8e34c65bd3cfb4cea7fc6cb83cc0f6b178e | 109 | py | Python | karp/tests/e2e/test_health_api.py | spraakbanken/karp-backend-v6-tmp | e5b78157bd999df18c188973ae2a337015b6f35d | [
"MIT"
] | 1 | 2021-12-08T15:33:42.000Z | 2021-12-08T15:33:42.000Z | karp/tests/e2e/test_health_api.py | spraakbanken/karp-backend-v6-tmp | e5b78157bd999df18c188973ae2a337015b6f35d | [
"MIT"
] | null | null | null | karp/tests/e2e/test_health_api.py | spraakbanken/karp-backend-v6-tmp | e5b78157bd999df18c188973ae2a337015b6f35d | [
"MIT"
] | null | null | null | def test_healthz(fa_client):
response = fa_client.get("/healthz")
assert response.status_code == 200
| 27.25 | 40 | 0.724771 | 15 | 109 | 5 | 0.733333 | 0.213333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032609 | 0.155963 | 109 | 3 | 41 | 36.333333 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0.073395 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
56d7ea9bc6d982880a1adf032421005bb10d62bb | 78 | py | Python | test_codes/func_sys.py | EmersonAires/Introduction_to_Computer_Science_and_Programming-_in_Python | 9fdc8e3e6665ef5f17d25e0c1db144461ccacab7 | [
"MIT"
] | 2 | 2021-09-08T00:23:55.000Z | 2021-11-14T18:33:41.000Z | test_codes/func_sys.py | EmersonAires/Introduction_to_Computer_Science_and_Programming-_in_Python | 9fdc8e3e6665ef5f17d25e0c1db144461ccacab7 | [
"MIT"
] | null | null | null | test_codes/func_sys.py | EmersonAires/Introduction_to_Computer_Science_and_Programming-_in_Python | 9fdc8e3e6665ef5f17d25e0c1db144461ccacab7 | [
"MIT"
] | null | null | null | import sys
def print_path():
for line in sys.path:
print(line)
| 9.75 | 25 | 0.602564 | 12 | 78 | 3.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.307692 | 78 | 7 | 26 | 11.142857 | 0.851852 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
56f01d4e9c8953e84c5587668e30b3dd842c30d2 | 121 | py | Python | viewsets/apps.py | kindlycat/django-view-sets | 32d28ca9b3d91472d1a71b3eeaadecdab953cf5b | [
"BSD-3-Clause"
] | null | null | null | viewsets/apps.py | kindlycat/django-view-sets | 32d28ca9b3d91472d1a71b3eeaadecdab953cf5b | [
"BSD-3-Clause"
] | null | null | null | viewsets/apps.py | kindlycat/django-view-sets | 32d28ca9b3d91472d1a71b3eeaadecdab953cf5b | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class ViewsetsConfig(AppConfig):
name = 'viewsets'
verbose_name = 'viewsets'
| 17.285714 | 33 | 0.735537 | 13 | 121 | 6.769231 | 0.769231 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 121 | 6 | 34 | 20.166667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.132231 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
56f2522f6f2bd35dbfbe85091377153fd7dbf630 | 177 | py | Python | example/main.py | Jezza672/zest | 5beaa3ab0661d1bd528154fd5d63f1d422ad49d1 | [
"MIT"
] | null | null | null | example/main.py | Jezza672/zest | 5beaa3ab0661d1bd528154fd5d63f1d422ad49d1 | [
"MIT"
] | null | null | null | example/main.py | Jezza672/zest | 5beaa3ab0661d1bd528154fd5d63f1d422ad49d1 | [
"MIT"
] | null | null | null | from zest import Testable
def squared(x):
return x*x
@Testable
def summed(x, y):
return x + y
if __name__ == "__main__":
print(squared(5))
print(summed(5, 7)) | 14.75 | 26 | 0.632768 | 28 | 177 | 3.714286 | 0.571429 | 0.211538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022059 | 0.231638 | 177 | 12 | 27 | 14.75 | 0.742647 | 0 | 0 | 0 | 0 | 0 | 0.044944 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.222222 | 0.555556 | 0.222222 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
7109ff3114b621405500f3c181557d609d18ffe3 | 226 | py | Python | blog-v03-crud/schemas.py | ivanmmarkovic/fastapi-blog | 366466242f95ea9dffdabaa5fdbd954795a1abc0 | [
"MIT"
] | null | null | null | blog-v03-crud/schemas.py | ivanmmarkovic/fastapi-blog | 366466242f95ea9dffdabaa5fdbd954795a1abc0 | [
"MIT"
] | null | null | null | blog-v03-crud/schemas.py | ivanmmarkovic/fastapi-blog | 366466242f95ea9dffdabaa5fdbd954795a1abc0 | [
"MIT"
] | null | null | null | from typing import Optional
from pydantic import BaseModel
from pydantic.types import SecretStr
class Article(BaseModel):
title: str
body: str
class User(BaseModel):
name: str
email: str
password: str
| 14.125 | 36 | 0.721239 | 29 | 226 | 5.62069 | 0.586207 | 0.147239 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.225664 | 226 | 15 | 37 | 15.066667 | 0.931429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.1 | 0.3 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
710f06f98a8c2ec77d80f0155309baf899191c94 | 328 | py | Python | tool/models.py | shanmukmichael/Asset-Discovery-Tool | 82c3f2f5cecb394a1ad87b2e504fbef219a466fd | [
"MIT"
] | null | null | null | tool/models.py | shanmukmichael/Asset-Discovery-Tool | 82c3f2f5cecb394a1ad87b2e504fbef219a466fd | [
"MIT"
] | null | null | null | tool/models.py | shanmukmichael/Asset-Discovery-Tool | 82c3f2f5cecb394a1ad87b2e504fbef219a466fd | [
"MIT"
] | null | null | null | from . import db
class Scan(db.Model):
# primary keys are required by SQLAlchemy
ID = db.Column(db.Integer, primary_key=True)
Hostname = db.Column(db.String(100))
IP = db.Column(db.String(100))
MAC = db.Column(db.String(100))
Lastseen = db.Column(db.String(100))
Status = db.Column(db.Strin... | 27.333333 | 48 | 0.664634 | 51 | 328 | 4.254902 | 0.470588 | 0.221198 | 0.276498 | 0.368664 | 0.437788 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056391 | 0.189024 | 328 | 11 | 49 | 29.818182 | 0.759399 | 0.118902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
852f2aee2d2a12761725e2bf5907c15445196314 | 70 | py | Python | src/hyperad/errors.py | huykingsofm/hyperad | f0de456a9d9550492263b134fad612fa8954f1f3 | [
"MIT"
] | null | null | null | src/hyperad/errors.py | huykingsofm/hyperad | f0de456a9d9550492263b134fad612fa8954f1f3 | [
"MIT"
] | null | null | null | src/hyperad/errors.py | huykingsofm/hyperad | f0de456a9d9550492263b134fad612fa8954f1f3 | [
"MIT"
] | null | null | null | class ParseError(Exception): ...
class DuplicateValue(Exception): ...
| 23.333333 | 36 | 0.742857 | 6 | 70 | 8.666667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 70 | 2 | 37 | 35 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 4 |
857948c28946ae72bc76bbe47a60a16f947f5e2f | 187 | py | Python | patients/apps.py | michael-xander/communique-webapp | 85b450d7f6d0313c5e5ef53a262a850b7e93c3d6 | [
"MIT"
] | null | null | null | patients/apps.py | michael-xander/communique-webapp | 85b450d7f6d0313c5e5ef53a262a850b7e93c3d6 | [
"MIT"
] | null | null | null | patients/apps.py | michael-xander/communique-webapp | 85b450d7f6d0313c5e5ef53a262a850b7e93c3d6 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class PatientsConfig(AppConfig):
name = 'patients'
def ready(self):
import patients.signals # register receiver functions for signals
| 20.777778 | 73 | 0.73262 | 21 | 187 | 6.52381 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203209 | 187 | 8 | 74 | 23.375 | 0.919463 | 0.208556 | 0 | 0 | 0 | 0 | 0.054795 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a427b18d51ded15be9f2d4136ff24862618d8295 | 192 | py | Python | kor2vec/__init__.py | sujoung/kor2vec | 2cd0b6e60e3f5ca1fc32ea4bd6b40b7a21dfa52e | [
"Apache-2.0"
] | 175 | 2018-10-10T09:52:09.000Z | 2021-11-15T11:15:05.000Z | kor2vec/__init__.py | sayduke/kor2vec | 2cd0b6e60e3f5ca1fc32ea4bd6b40b7a21dfa52e | [
"Apache-2.0"
] | 2 | 2019-01-05T07:06:29.000Z | 2019-09-06T02:53:38.000Z | kor2vec/__init__.py | sayduke/kor2vec | 2cd0b6e60e3f5ca1fc32ea4bd6b40b7a21dfa52e | [
"Apache-2.0"
] | 32 | 2018-10-12T06:49:30.000Z | 2021-06-21T07:44:38.000Z | from .kor2vec import Kor2Vec
from .context_kor2vec import ContextKor2Vec
from .model.vocab import *
# from .pretrained import SejongVector
import warnings
warnings.filterwarnings("ignore")
| 19.2 | 43 | 0.817708 | 22 | 192 | 7.090909 | 0.545455 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023669 | 0.119792 | 192 | 9 | 44 | 21.333333 | 0.899408 | 0.1875 | 0 | 0 | 0 | 0 | 0.038961 | 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 | 0 | 0 | 0 | 4 |
a45da188a6d1651807201da4ac7ba01b4ce6b35d | 150 | py | Python | nsd1805/python/day09/myfork.py | MrWangwf/nsd1806 | 069e993b0bb64cb21adc2a25aa56f6da674453bc | [
"Apache-2.0"
] | null | null | null | nsd1805/python/day09/myfork.py | MrWangwf/nsd1806 | 069e993b0bb64cb21adc2a25aa56f6da674453bc | [
"Apache-2.0"
] | null | null | null | nsd1805/python/day09/myfork.py | MrWangwf/nsd1806 | 069e993b0bb64cb21adc2a25aa56f6da674453bc | [
"Apache-2.0"
] | null | null | null | import os
print('hello world!')
pid = os.fork()
if pid:
print('hello from parent')
else:
print('hello from child')
print('hello from both')
| 13.636364 | 30 | 0.653333 | 23 | 150 | 4.26087 | 0.565217 | 0.408163 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.193333 | 150 | 10 | 31 | 15 | 0.809917 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.125 | 0 | 0.125 | 0.5 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
a45de61816968a7a48765a14c1b87106498a4e95 | 399 | py | Python | apps/arrivals/tests.py | HON95/studlan | 8dc38c64d0060506d865b9c834466fed2f9f9571 | [
"MIT"
] | 9 | 2016-03-15T21:03:49.000Z | 2020-12-02T19:45:44.000Z | apps/arrivals/tests.py | HON95/studlan | 8dc38c64d0060506d865b9c834466fed2f9f9571 | [
"MIT"
] | 161 | 2016-02-05T14:11:50.000Z | 2020-10-14T10:13:21.000Z | apps/arrivals/tests.py | HON95/studlan | 8dc38c64d0060506d865b9c834466fed2f9f9571 | [
"MIT"
] | 11 | 2016-07-27T12:20:05.000Z | 2021-04-18T05:49:17.000Z | # -*- coding: utf-8 -*-
from django.test import TestCase
from .views import flip_string_bool
class ArrivalsTests(TestCase):
def test_views_flip_string_bool(self):
self.assertEqual(flip_string_bool('True'), False)
self.assertEqual(flip_string_bool('False'), True)
self.assertEqual(flip_st... | 26.6 | 57 | 0.711779 | 51 | 399 | 5.294118 | 0.411765 | 0.222222 | 0.311111 | 0.37037 | 0.42963 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003003 | 0.165414 | 399 | 14 | 58 | 28.5 | 0.807808 | 0.052632 | 0 | 0 | 0 | 0 | 0.037234 | 0 | 0 | 0 | 0 | 0 | 0.5 | 1 | 0.125 | false | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a46f6b8bf20ef5b4a06b80f69a6ed80f5233feba | 182 | py | Python | Rota_System/Reporting/__init__.py | ergoregion/Rota-Program | 44dab4cb11add184619d88aa0fcab61532d128e6 | [
"MIT"
] | null | null | null | Rota_System/Reporting/__init__.py | ergoregion/Rota-Program | 44dab4cb11add184619d88aa0fcab61532d128e6 | [
"MIT"
] | null | null | null | Rota_System/Reporting/__init__.py | ergoregion/Rota-Program | 44dab4cb11add184619d88aa0fcab61532d128e6 | [
"MIT"
] | null | null | null | __author__ = 'Neil Butcher'
#visitors to produce reports about aspects of a duration
from Event import EventReporter
from Role import RoleReporter
from Person import PersonReporter | 26 | 56 | 0.835165 | 24 | 182 | 6.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 182 | 7 | 57 | 26 | 0.948718 | 0.302198 | 0 | 0 | 0 | 0 | 0.094488 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a48d25aba2a587bd58a87c29c2a2d4f4710854d9 | 810 | py | Python | src/gluonts/nursery/torch_arsgls_rbpf/torch_extensions/affine.py | richardk53/gluon-ts | 5bde492198c0348b550ac6f7269f1740a699ec30 | [
"Apache-2.0"
] | null | null | null | src/gluonts/nursery/torch_arsgls_rbpf/torch_extensions/affine.py | richardk53/gluon-ts | 5bde492198c0348b550ac6f7269f1740a699ec30 | [
"Apache-2.0"
] | null | null | null | src/gluonts/nursery/torch_arsgls_rbpf/torch_extensions/affine.py | richardk53/gluon-ts | 5bde492198c0348b550ac6f7269f1740a699ec30 | [
"Apache-2.0"
] | null | null | null | from typing import Union
import torch
from torch import nn
class Affine(nn.Module):
def __init__(
self,
loc: Union[float, torch.Tensor],
scale: Union[float, torch.Tensor],
):
super().__init__()
self.loc = loc
self.scale = scale
def forward(self, x: torch.Te... | 20.25 | 48 | 0.576543 | 101 | 810 | 4.386139 | 0.217822 | 0.173815 | 0.099323 | 0.189616 | 0.781038 | 0.738149 | 0.738149 | 0.738149 | 0.647856 | 0.419865 | 0 | 0 | 0.303704 | 810 | 39 | 49 | 20.769231 | 0.785461 | 0 | 0 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.1 | 0.1 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a49f6536d1690cacec08bd5ff904c452f0b4122c | 49 | py | Python | docViewer/__init__.py | zlqm/showDoc | d0a2041922bc6384a784820c85a3533c7b2233fb | [
"MIT"
] | null | null | null | docViewer/__init__.py | zlqm/showDoc | d0a2041922bc6384a784820c85a3533c7b2233fb | [
"MIT"
] | null | null | null | docViewer/__init__.py | zlqm/showDoc | d0a2041922bc6384a784820c85a3533c7b2233fb | [
"MIT"
] | null | null | null | from .render import render
__all__ = ['render']
| 12.25 | 26 | 0.714286 | 6 | 49 | 5.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.163265 | 49 | 3 | 27 | 16.333333 | 0.756098 | 0 | 0 | 0 | 0 | 0 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a4a111ac5e07a0cdcbd957ce02da662f2d6252d0 | 498 | py | Python | gym_electric_motor/envs/gym_dcm/permex_dc_motor_env/__init__.py | RaviPandey33/gym-electric-motor-1 | 999e18dceed709decf43d646fb29dc7602b9a89c | [
"MIT"
] | 179 | 2019-10-21T15:08:05.000Z | 2022-03-29T08:46:13.000Z | gym_electric_motor/envs/gym_dcm/permex_dc_motor_env/__init__.py | RaviPandey33/gym-electric-motor-1 | 999e18dceed709decf43d646fb29dc7602b9a89c | [
"MIT"
] | 149 | 2019-12-16T16:02:00.000Z | 2022-03-18T19:42:33.000Z | gym_electric_motor/envs/gym_dcm/permex_dc_motor_env/__init__.py | RaviPandey33/gym-electric-motor-1 | 999e18dceed709decf43d646fb29dc7602b9a89c | [
"MIT"
] | 36 | 2019-12-10T17:32:02.000Z | 2022-03-16T20:54:18.000Z | from .cont_cc_permex_dc_env import ContCurrentControlDcPermanentlyExcitedMotorEnv
from .cont_tc_permex_dc_env import ContTorqueControlDcPermanentlyExcitedMotorEnv
from .cont_sc_permex_dc_env import ContSpeedControlDcPermanentlyExcitedMotorEnv
from .finite_tc_permex_dc_env import FiniteTorqueControlDcPermanentlyExcitedM... | 71.142857 | 85 | 0.939759 | 48 | 498 | 9.25 | 0.333333 | 0.108108 | 0.148649 | 0.22973 | 0.256757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 498 | 6 | 86 | 83 | 0.936709 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a4a5e59b40854e45a8d9bb20ff071e08a0531271 | 1,081 | py | Python | ClassicMedium/Bender/test_completable.py | RevDownie/CodinGameSolutions | af7d0ef4b38007766c3b121ea14be59eec26541c | [
"MIT"
] | null | null | null | ClassicMedium/Bender/test_completable.py | RevDownie/CodinGameSolutions | af7d0ef4b38007766c3b121ea14be59eec26541c | [
"MIT"
] | null | null | null | ClassicMedium/Bender/test_completable.py | RevDownie/CodinGameSolutions | af7d0ef4b38007766c3b121ea14be59eec26541c | [
"MIT"
] | null | null | null | # Test that allows Bender to reach the goal while testing all possible rules
import core
SAMPLE_INPUT_DIMS = '15 15'
SAMPLE_INPUT_GRID_LINES = [
'###############',
'# IXXXXX #',
'# @ #',
'# #',
'# #',
'# I #',
'# B #',
'# B S W#',
'# B T #',
'#... | 12.869048 | 76 | 0.490287 | 119 | 1,081 | 4.302521 | 0.310924 | 0.332031 | 0.410156 | 0.429688 | 0.439453 | 0.408203 | 0.408203 | 0.408203 | 0.318359 | 0.318359 | 0 | 0.004872 | 0.240518 | 1,081 | 83 | 77 | 13.024096 | 0.618758 | 0.068455 | 0 | 0.75641 | 0 | 0 | 0.479602 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.012821 | 0 | 0.012821 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f11407b881a87bb8ab16f19379073669fba09d32 | 4,040 | py | Python | src/RPFramework/RPFrameworkNonCommChildDevice.py | RogueProeliator/IndigoPlugins-RPFramework | c6c6c570f5fe3a4ae63a1f5fe5349ce97289e9b1 | [
"MIT"
] | 1 | 2016-10-01T00:54:46.000Z | 2016-10-01T00:54:46.000Z | src/RPFramework/RPFrameworkNonCommChildDevice.py | RogueProeliator/IndigoPlugins-RPFramework | c6c6c570f5fe3a4ae63a1f5fe5349ce97289e9b1 | [
"MIT"
] | 1 | 2022-01-18T22:24:01.000Z | 2022-01-18T22:24:01.000Z | src/RPFramework/RPFrameworkNonCommChildDevice.py | RogueProeliator/IndigoPlugins-RPFramework | c6c6c570f5fe3a4ae63a1f5fe5349ce97289e9b1 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
# -*- coding: utf-8 -*-
#/////////////////////////////////////////////////////////////////////////////////////////
#/////////////////////////////////////////////////////////////////////////////////////////
# RPFrameworkNonCommChildDevice by RogueProeliator <adam.d.ashe@gmail.com>
# Base class fo... | 48.674699 | 182 | 0.449505 | 268 | 4,040 | 6.712687 | 0.522388 | 0.015008 | 0.013341 | 0.016676 | 0.131184 | 0.131184 | 0.131184 | 0.131184 | 0.131184 | 0.131184 | 0 | 0.000539 | 0.081931 | 4,040 | 83 | 183 | 48.674699 | 0.484497 | 0.711139 | 0 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.16 | false | 0.08 | 0.36 | 0 | 0.56 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
f14359795f0e471118229038a9c6a5036eb032ba | 74 | py | Python | cca_zoo/utils/__init__.py | raamana/cca_zoo | 7137918a6bac098ec20ba998d1774d5335c178dd | [
"MIT"
] | 1 | 2021-06-19T13:57:44.000Z | 2021-06-19T13:57:44.000Z | cca_zoo/utils/__init__.py | raamana/cca_zoo | 7137918a6bac098ec20ba998d1774d5335c178dd | [
"MIT"
] | null | null | null | cca_zoo/utils/__init__.py | raamana/cca_zoo | 7137918a6bac098ec20ba998d1774d5335c178dd | [
"MIT"
] | null | null | null | from .check_values import *
from .plot_utils import cv_plot, plot_results
| 24.666667 | 45 | 0.824324 | 12 | 74 | 4.75 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121622 | 74 | 2 | 46 | 37 | 0.876923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f158f0245d1b51b47d6f258ee2cbcdaddd580b17 | 113 | py | Python | kite-go/lang/python/pythonbatch/testdata/kite.py | kiteco/kiteco-public | 74aaf5b9b0592153b92f7ed982d65e15eea885e3 | [
"BSD-3-Clause"
] | 17 | 2022-01-10T11:01:50.000Z | 2022-03-25T03:21:08.000Z | kite-go/lang/python/pythonbatch/testdata/kite.py | kiteco/kiteco-public | 74aaf5b9b0592153b92f7ed982d65e15eea885e3 | [
"BSD-3-Clause"
] | 1 | 2022-01-13T14:28:47.000Z | 2022-01-13T14:28:47.000Z | kite-go/lang/python/pythonbatch/testdata/kite.py | kiteco/kiteco-public | 74aaf5b9b0592153b92f7ed982d65e15eea885e3 | [
"BSD-3-Clause"
] | 7 | 2022-01-07T03:58:10.000Z | 2022-03-24T07:38:20.000Z | class Kite(object):
def __init__(self):
self.code = "kite"
def foo(self):
print("bar!")
| 18.833333 | 27 | 0.530973 | 14 | 113 | 4 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.309735 | 113 | 5 | 28 | 22.6 | 0.717949 | 0 | 0 | 0 | 0 | 0 | 0.070796 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0 | 0 | 0.6 | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
f176fdc679daf7f3b224cbc3bd62258fb827139a | 40 | py | Python | src/aqi_livibility_analysis/__init__.py | tconbeer/aqi_livibility_analysis | 8004f3383897d9066e3167fdfddcdd4c8418b7ea | [
"Apache-2.0"
] | null | null | null | src/aqi_livibility_analysis/__init__.py | tconbeer/aqi_livibility_analysis | 8004f3383897d9066e3167fdfddcdd4c8418b7ea | [
"Apache-2.0"
] | 1 | 2021-10-01T21:40:35.000Z | 2021-10-01T21:40:35.000Z | src/aqi_livibility_analysis/__init__.py | tconbeer/aqi_livibility_analysis | 8004f3383897d9066e3167fdfddcdd4c8418b7ea | [
"Apache-2.0"
] | null | null | null | GCP_PROJECT = "aqi-livibility-analysis"
| 20 | 39 | 0.8 | 5 | 40 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 40 | 1 | 40 | 40 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.575 | 0.575 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f18037c556e28f19fed5b37e4983faac4c025c88 | 91 | py | Python | api/folioman/apps.py | Kk-ships/folioman | b9bb1782cf6a01ee9e438b5b2a41216036b4cc91 | [
"MIT"
] | 19 | 2021-05-10T15:13:28.000Z | 2022-03-11T10:22:00.000Z | api/folioman/apps.py | Kk-ships/folioman | b9bb1782cf6a01ee9e438b5b2a41216036b4cc91 | [
"MIT"
] | 5 | 2021-09-06T13:16:54.000Z | 2022-02-14T18:16:02.000Z | api/folioman/apps.py | Kk-ships/folioman | b9bb1782cf6a01ee9e438b5b2a41216036b4cc91 | [
"MIT"
] | 8 | 2021-05-29T11:02:26.000Z | 2022-01-05T08:57:58.000Z | from django.apps import AppConfig
class FoliomanConfig(AppConfig):
name = "folioman"
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
74cf68ed1413195f4c553046cf0f83ec45a3a9a3 | 17,997 | py | Python | resources/WPy32/python-3.10.2/Lib/site-packages/Cryptodome/SelfTest/IO/test_PKCS8.py | eladkarako/yt-dlp_kit | 6365651111ef4d2f94335cf38bf4d9b0136d42d2 | [
"Unlicense"
] | 1 | 2022-03-26T15:43:50.000Z | 2022-03-26T15:43:50.000Z | resources/WPy32/python-3.10.2/Lib/site-packages/Cryptodome/SelfTest/IO/test_PKCS8.py | eladkarako/yt-dlp_kit | 6365651111ef4d2f94335cf38bf4d9b0136d42d2 | [
"Unlicense"
] | null | null | null | resources/WPy32/python-3.10.2/Lib/site-packages/Cryptodome/SelfTest/IO/test_PKCS8.py | eladkarako/yt-dlp_kit | 6365651111ef4d2f94335cf38bf4d9b0136d42d2 | [
"Unlicense"
] | 1 | 2022-03-28T19:28:45.000Z | 2022-03-28T19:28:45.000Z | #
# SelfTest/IO/test_PKCS8.py: Self-test for the PKCS8 module
#
# ===================================================================
#
# Copyright (c) 2014, Legrandin <helderijs@gmail.com>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permit... | 42.445755 | 107 | 0.821748 | 1,117 | 17,997 | 13.165622 | 0.38496 | 0.009792 | 0.01428 | 0.00748 | 0.127295 | 0.119339 | 0.110567 | 0.109479 | 0.108187 | 0.097851 | 0 | 0.429853 | 0.120742 | 17,997 | 423 | 108 | 42.546099 | 0.499494 | 0.202145 | 0 | 0.315436 | 0 | 0 | 0.430696 | 0.378265 | 0 | 1 | 0 | 0.002364 | 0.04698 | 1 | 0.060403 | false | 0 | 0.033557 | 0 | 0.127517 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
74e72efb24695b8a636d124e0f49fe6b12339676 | 50 | py | Python | manimtda/linalg/__init__.py | bnels/manimtda | 36954a6c8e27312a3f8b5c1aa9935909ac1c62da | [
"MIT"
] | null | null | null | manimtda/linalg/__init__.py | bnels/manimtda | 36954a6c8e27312a3f8b5c1aa9935909ac1c62da | [
"MIT"
] | null | null | null | manimtda/linalg/__init__.py | bnels/manimtda | 36954a6c8e27312a3f8b5c1aa9935909ac1c62da | [
"MIT"
] | null | null | null | from .shapes import Lmat, Umat, Dmat, ELmat, Pmat
| 25 | 49 | 0.74 | 8 | 50 | 4.625 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 50 | 1 | 50 | 50 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
2d4669d29243bc82e95f1a8df1364a9ed0b15d81 | 131 | py | Python | namespaces/apps.py | mertsaygi/Hita | c54d4011644d53401bc06db2c871f2271bf35927 | [
"Apache-2.0"
] | null | null | null | namespaces/apps.py | mertsaygi/Hita | c54d4011644d53401bc06db2c871f2271bf35927 | [
"Apache-2.0"
] | null | null | null | namespaces/apps.py | mertsaygi/Hita | c54d4011644d53401bc06db2c871f2271bf35927 | [
"Apache-2.0"
] | 1 | 2021-12-01T13:27:36.000Z | 2021-12-01T13:27:36.000Z | from __future__ import unicode_literals
from django.apps import AppConfig
class SpaceConfig(AppConfig):
name = 'namespaces'
| 16.375 | 39 | 0.793893 | 15 | 131 | 6.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152672 | 131 | 7 | 40 | 18.714286 | 0.891892 | 0 | 0 | 0 | 0 | 0 | 0.076336 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7418194aa991952e5a4b0d67006d6cd6927f4c83 | 98 | py | Python | grafana/python-scripts/api_get_token.py | vPackets/DOCKER-TIG | c65efaa5707fefc9b0d14dcbd104e3ca17351fa8 | [
"MIT"
] | null | null | null | grafana/python-scripts/api_get_token.py | vPackets/DOCKER-TIG | c65efaa5707fefc9b0d14dcbd104e3ca17351fa8 | [
"MIT"
] | null | null | null | grafana/python-scripts/api_get_token.py | vPackets/DOCKER-TIG | c65efaa5707fefc9b0d14dcbd104e3ca17351fa8 | [
"MIT"
] | null | null | null | from api_func import *
#token = get_token_authentication()
token = verify_token_authentication()
| 19.6 | 37 | 0.806122 | 12 | 98 | 6.166667 | 0.666667 | 0.513514 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112245 | 98 | 4 | 38 | 24.5 | 0.850575 | 0.346939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
742fdf7c4640eeb89a3aca36b0e67b04f02b2091 | 592 | py | Python | benchmarks/comparison/utils.py | jakemassoth/MessageFirst | 7135ffb8c541570d7bcaab1c7394c683a2832bbd | [
"MIT"
] | null | null | null | benchmarks/comparison/utils.py | jakemassoth/MessageFirst | 7135ffb8c541570d7bcaab1c7394c683a2832bbd | [
"MIT"
] | null | null | null | benchmarks/comparison/utils.py | jakemassoth/MessageFirst | 7135ffb8c541570d7bcaab1c7394c683a2832bbd | [
"MIT"
] | null | null | null | import os
def fix_csv_parse(netperf_df):
netperf_df = netperf_df.drop([0]).reset_index()
netperf_df = netperf_df.drop(['index'], axis=1)
netperf_df = netperf_df.rename(columns={'Unnamed: 0': 'Test'})
netperf_df = netperf_df.rename(columns={'tput MBps': 'Netperf Throughput (MB/s)'})
return netperf_... | 29.6 | 86 | 0.662162 | 84 | 592 | 4.488095 | 0.452381 | 0.238727 | 0.212202 | 0.238727 | 0.392573 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0.00616 | 0.177365 | 592 | 20 | 87 | 29.6 | 0.767967 | 0 | 0 | 0 | 0 | 0 | 0.126476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0 | 0.071429 | 0.071429 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
745c179a95fa008669e441ac7446701009cd5bdf | 87 | py | Python | spektral/__init__.py | larsroe/spektral | 1c4a98ac6853ea5fe99fba8f4675da0b77823f89 | [
"MIT"
] | null | null | null | spektral/__init__.py | larsroe/spektral | 1c4a98ac6853ea5fe99fba8f4675da0b77823f89 | [
"MIT"
] | null | null | null | spektral/__init__.py | larsroe/spektral | 1c4a98ac6853ea5fe99fba8f4675da0b77823f89 | [
"MIT"
] | null | null | null | from . import layers
from . import datasets
from . import utils
__version__ = '1.0.0'
| 14.5 | 22 | 0.724138 | 13 | 87 | 4.538462 | 0.615385 | 0.508475 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042254 | 0.183908 | 87 | 5 | 23 | 17.4 | 0.788732 | 0 | 0 | 0 | 0 | 0 | 0.057471 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
746a565478d6f6c369fb0f4a1ace408df4af095e | 215 | py | Python | tests/context.py | lbuckalew/PythonSpades | 887a65832eb4e9cab530d06342d50970cafce8a4 | [
"MIT"
] | null | null | null | tests/context.py | lbuckalew/PythonSpades | 887a65832eb4e9cab530d06342d50970cafce8a4 | [
"MIT"
] | null | null | null | tests/context.py | lbuckalew/PythonSpades | 887a65832eb4e9cab530d06342d50970cafce8a4 | [
"MIT"
] | null | null | null | # Provides context to import pyspades from testing module when not installed in site-packages
import os
import sys
sys.path.insert(0, os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
import pyspades | 30.714286 | 93 | 0.776744 | 34 | 215 | 4.794118 | 0.676471 | 0.110429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005236 | 0.111628 | 215 | 7 | 94 | 30.714286 | 0.848168 | 0.423256 | 0 | 0 | 0 | 0 | 0.01626 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
776394515e0c9434683115c4e4e15f7be0964761 | 96 | py | Python | validator.py | DIPET-UVT/EDE-Dipet | 6679699c9416df9c4c0cde989b687b085daf9b21 | [
"Apache-2.0"
] | null | null | null | validator.py | DIPET-UVT/EDE-Dipet | 6679699c9416df9c4c0cde989b687b085daf9b21 | [
"Apache-2.0"
] | 22 | 2021-09-22T10:59:10.000Z | 2021-11-01T11:49:00.000Z | validator.py | IeAT-ASPIDE/Event-Detection-Engine | 08f36d5fa56cae0e9ef86f61edf193aa4e780177 | [
"Apache-2.0"
] | null | null | null | import os
logFile = os.path.join(os.path.dirname(os.path.abspath('')), 'ede.log')
print(logFile) | 32 | 71 | 0.71875 | 16 | 96 | 4.3125 | 0.625 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 96 | 3 | 72 | 32 | 0.766667 | 0 | 0 | 0 | 0 | 0 | 0.072165 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7767eec5d0ccf8b617167d21ae9cb126131cfecd | 52 | py | Python | ztf_viewer/catalogs/extinction/__init__.py | snad-space/ztf-viewer | a0152d415beb11095134d0e407956ea088db1684 | [
"MIT"
] | 2 | 2020-11-14T02:24:57.000Z | 2021-06-04T06:13:42.000Z | ztf_viewer/catalogs/extinction/__init__.py | snad-space/ztf-viewer | a0152d415beb11095134d0e407956ea088db1684 | [
"MIT"
] | 74 | 2020-07-13T09:38:41.000Z | 2022-03-31T15:58:04.000Z | ztf_viewer/catalogs/extinction/__init__.py | snad-space/ztf-viewer | a0152d415beb11095134d0e407956ea088db1684 | [
"MIT"
] | null | null | null | from .bayestar import bayestar
from .sfd import sfd
| 17.333333 | 30 | 0.807692 | 8 | 52 | 5.25 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 52 | 2 | 31 | 26 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
779638e6d3b40cd5c6f9089ab98ad5264c1cc29e | 150 | py | Python | angle_routines/setup.py | jwg4/acute_sets | dd2c1b30d5cd6883b86bd3fc8531d0234ed1a2b7 | [
"MIT"
] | null | null | null | angle_routines/setup.py | jwg4/acute_sets | dd2c1b30d5cd6883b86bd3fc8531d0234ed1a2b7 | [
"MIT"
] | null | null | null | angle_routines/setup.py | jwg4/acute_sets | dd2c1b30d5cd6883b86bd3fc8531d0234ed1a2b7 | [
"MIT"
] | null | null | null | from distutils.core import setup
from Cython.Build import cythonize
setup(name='check and search modules',
ext_modules=cythonize("check.pyx"))
| 25 | 41 | 0.773333 | 21 | 150 | 5.47619 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 150 | 5 | 42 | 30 | 0.884615 | 0 | 0 | 0 | 0 | 0 | 0.22 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
77dfb971d66e213c4f1b29c3d220c6c677e2f22f | 52 | py | Python | geosupport/__init__.py | NYCPlanning/python-geosupport | 30a2097e91fdaa12e031ebf3780c77d22315dda7 | [
"MIT"
] | 15 | 2017-10-06T00:43:49.000Z | 2022-01-06T21:07:25.000Z | geosupport/__init__.py | SPTKL/python-geosupport | afad89f9065b6611d7c1428e895fa27e97bedf40 | [
"MIT"
] | 23 | 2018-08-01T13:35:56.000Z | 2021-09-15T15:06:53.000Z | geosupport/__init__.py | SPTKL/python-geosupport | afad89f9065b6611d7c1428e895fa27e97bedf40 | [
"MIT"
] | 11 | 2017-10-21T14:24:29.000Z | 2021-03-21T02:05:14.000Z | from .geosupport import Geosupport, GeosupportError
| 26 | 51 | 0.865385 | 5 | 52 | 9 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 52 | 1 | 52 | 52 | 0.957447 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
77eead610feec31116d0897a15d8d71c43249630 | 13,245 | py | Python | probs.py | vield/mcmc-and-substitution-ciphers | b723e2bd8cdce84b7ca9542ce2fe302e3bafc6c9 | [
"MIT"
] | null | null | null | probs.py | vield/mcmc-and-substitution-ciphers | b723e2bd8cdce84b7ca9542ce2fe302e3bafc6c9 | [
"MIT"
] | null | null | null | probs.py | vield/mcmc-and-substitution-ciphers | b723e2bd8cdce84b7ca9542ce2fe302e3bafc6c9 | [
"MIT"
] | 1 | 2019-01-27T18:11:48.000Z | 2019-01-27T18:11:48.000Z | transitions = {' ': {' ': 2877,
'?': 24468,
'a': 68563,
'b': 24641,
'c': 21074,
'd': 16954,
'e': 11615,
'f': 21199,
'g': 9600,
'h': 49177,
'i': 29498,
'j': 1618,
'k': 3983,
'l': 13015,
'm': 19254,
'n': 14619,
... | 16.872611 | 31 | 0.225897 | 1,539 | 13,245 | 1.94412 | 0.34373 | 0.012701 | 0.018048 | 0.009358 | 0.06885 | 0.035428 | 0.035428 | 0.02139 | 0.02139 | 0.02139 | 0 | 0.353548 | 0.524424 | 13,245 | 784 | 32 | 16.894133 | 0.121448 | 0 | 0 | 0.220663 | 0 | 0 | 0.061306 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
77f8d16fe8ccc958458145a3d03729552548e5e9 | 195 | py | Python | ephios/core/registries.py | garinm90/ephios | 7d04d3287ae16ee332e31add1f25829b199f29a5 | [
"MIT"
] | null | null | null | ephios/core/registries.py | garinm90/ephios | 7d04d3287ae16ee332e31add1f25829b199f29a5 | [
"MIT"
] | null | null | null | ephios/core/registries.py | garinm90/ephios | 7d04d3287ae16ee332e31add1f25829b199f29a5 | [
"MIT"
] | null | null | null | from dynamic_preferences.registries import PerInstancePreferenceRegistry
class EventTypeRegistry(PerInstancePreferenceRegistry):
pass
event_type_preference_registry = EventTypeRegistry()
| 21.666667 | 72 | 0.871795 | 15 | 195 | 11.066667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092308 | 195 | 8 | 73 | 24.375 | 0.937853 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
7afb85ff36d4474ad8c34c3a4679bdb1dcfdab79 | 63 | py | Python | python/flareapps/django/common/services/__init__.py | flarebyte/wonderful-bazar | 810514cd7d73505b11d738f8b84d91842d18d074 | [
"MIT"
] | null | null | null | python/flareapps/django/common/services/__init__.py | flarebyte/wonderful-bazar | 810514cd7d73505b11d738f8b84d91842d18d074 | [
"MIT"
] | null | null | null | python/flareapps/django/common/services/__init__.py | flarebyte/wonderful-bazar | 810514cd7d73505b11d738f8b84d91842d18d074 | [
"MIT"
] | null | null | null | __author__="olivierhuin"
__date__ ="$Sep 17, 2009 10:32:03 PM$" | 31.5 | 38 | 0.730159 | 10 | 63 | 3.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 0.095238 | 63 | 2 | 38 | 31.5 | 0.45614 | 0 | 0 | 0 | 0 | 0 | 0.578125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 4 |
bb152cb2fcf898aedc759b79427e0b54da07ae0a | 53 | py | Python | tests/__init__.py | auto-deprecator/auto-deprecator-example | ae4ec930e62b7a6bfe645832b6b83266eb971a76 | [
"MIT"
] | 1 | 2020-03-23T00:19:37.000Z | 2020-03-23T00:19:37.000Z | tests/__init__.py | auto-deprecator/auto-deprecator-example | ae4ec930e62b7a6bfe645832b6b83266eb971a76 | [
"MIT"
] | null | null | null | tests/__init__.py | auto-deprecator/auto-deprecator-example | ae4ec930e62b7a6bfe645832b6b83266eb971a76 | [
"MIT"
] | null | null | null | """Unit test package for auto_deprecator_example."""
| 26.5 | 52 | 0.773585 | 7 | 53 | 5.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09434 | 53 | 1 | 53 | 53 | 0.8125 | 0.867925 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
bb19c654c6821a4c9f9f2c7f3dd8a022adc67256 | 228 | py | Python | Practice/Python/Sets/Symmetric_Difference.py | alexanderbauer89/HackerRank | 0fb6face083b0183692c9251ffe4bb635591393f | [
"MIT"
] | 1 | 2021-11-17T02:47:11.000Z | 2021-11-17T02:47:11.000Z | Practice/Python/Sets/Symmetric_Difference.py | alexanderbauer89/HackerRank | 0fb6face083b0183692c9251ffe4bb635591393f | [
"MIT"
] | null | null | null | Practice/Python/Sets/Symmetric_Difference.py | alexanderbauer89/HackerRank | 0fb6face083b0183692c9251ffe4bb635591393f | [
"MIT"
] | null | null | null | def symmetric_difference(a, b):
return sorted(set(a ^ b), key=int)
if __name__ == '__main__':
_,a = input(), set(input().split())
_,b = input(), set(input().split())
print('\n'.join(symmetric_difference(a, b)))
| 28.5 | 48 | 0.605263 | 32 | 228 | 3.9375 | 0.5625 | 0.047619 | 0.31746 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 228 | 7 | 49 | 32.571429 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0.04386 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.166667 | 0.333333 | 0.166667 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
bb1a339f3cdbfaec24d9e4df5ad8466877edd21b | 581 | py | Python | StoryApp/migrations/0010_auto_20181219_0139.py | psanon19/Requiem-Tales | 4eafea6ca4eb7e3d3d99f19810a9fba4f2227269 | [
"Apache-2.0"
] | null | null | null | StoryApp/migrations/0010_auto_20181219_0139.py | psanon19/Requiem-Tales | 4eafea6ca4eb7e3d3d99f19810a9fba4f2227269 | [
"Apache-2.0"
] | null | null | null | StoryApp/migrations/0010_auto_20181219_0139.py | psanon19/Requiem-Tales | 4eafea6ca4eb7e3d3d99f19810a9fba4f2227269 | [
"Apache-2.0"
] | null | null | null | # Generated by Django 2.0.6 on 2018-12-19 01:39
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('StoryApp', '0009_auto_20181219_0124'),
]
operations = [
migrations.RemoveField(
model_name='playercharactermodel',
name='ema... | 22.346154 | 48 | 0.576592 | 50 | 581 | 6.56 | 0.64 | 0.192073 | 0.237805 | 0.27439 | 0.493902 | 0.493902 | 0 | 0 | 0 | 0 | 0 | 0.078283 | 0.318417 | 581 | 25 | 49 | 23.24 | 0.75 | 0.077453 | 0 | 0.473684 | 1 | 0 | 0.21161 | 0.043071 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.052632 | 0.052632 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
bb2d020bc735a8dc29e4ef67779621095b8495dc | 142 | py | Python | tests/exmaple/test_all_read.py | DKorytkin/pytest_hercule | 68343af694df732256e2de8faf58030b60abea24 | [
"MIT"
] | 12 | 2020-03-02T17:10:03.000Z | 2022-02-22T17:17:53.000Z | tests/exmaple/test_all_read.py | DKorytkin/pytest_hercule | 68343af694df732256e2de8faf58030b60abea24 | [
"MIT"
] | null | null | null | tests/exmaple/test_all_read.py | DKorytkin/pytest_hercule | 68343af694df732256e2de8faf58030b60abea24 | [
"MIT"
] | null | null | null | def test_passed():
assert True
def test_read_params(config, param):
assert config.get(param) == 2
def test_do_nothing():
pass
| 12.909091 | 36 | 0.683099 | 21 | 142 | 4.380952 | 0.666667 | 0.228261 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008929 | 0.211268 | 142 | 10 | 37 | 14.2 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.5 | false | 0.333333 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
24a96cf59ffd822b7fac32796ef8d2e7c5ec27a3 | 224 | py | Python | feature_examples/tensorflow/replication/conftest.py | Paperspace/tutorials | 8e20ffb687080c44e75dabea594d2b57acc53713 | [
"MIT"
] | null | null | null | feature_examples/tensorflow/replication/conftest.py | Paperspace/tutorials | 8e20ffb687080c44e75dabea594d2b57acc53713 | [
"MIT"
] | 78 | 2021-09-20T11:48:08.000Z | 2021-10-21T07:10:39.000Z | feature_examples/tensorflow/replication/conftest.py | Paperspace/tutorials | 8e20ffb687080c44e75dabea594d2b57acc53713 | [
"MIT"
] | null | null | null | # Copyright (c) 2021 Graphcore Ltd. All rights reserved.
from tensorflow.keras.datasets import cifar10
def pytest_sessionstart(session):
"""Load the cifar10 data at the start of the session"""
cifar10.load_data()
| 24.888889 | 59 | 0.75 | 31 | 224 | 5.354839 | 0.774194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053476 | 0.165179 | 224 | 8 | 60 | 28 | 0.834225 | 0.46875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
24ca222d174b8b319dd18c0d49821fdc97aa50c7 | 1,304 | py | Python | setup.py | NZSmartie/PyHIDParser | a2758929c82a4316a665a779b9a391740103b318 | [
"MIT"
] | 22 | 2016-04-28T10:29:11.000Z | 2022-02-02T17:30:08.000Z | setup.py | NZSmartie/PyHIDParser | a2758929c82a4316a665a779b9a391740103b318 | [
"MIT"
] | 12 | 2016-04-24T03:29:00.000Z | 2018-11-26T22:34:37.000Z | setup.py | NZSmartie/PyHIDParser | a2758929c82a4316a665a779b9a391740103b318 | [
"MIT"
] | 5 | 2017-02-21T13:01:25.000Z | 2021-10-04T07:13:53.000Z | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="hidparser",
version="0.0.7",
description="HID Descriptor Parser",
license="MIT",
author="Roman Vaughan",
url="https://github.com/NZSmartie/PyHIDParser",
classifiers=[
"Development Status :: 2 - Pre-Al... | 28.347826 | 82 | 0.596626 | 127 | 1,304 | 6.110236 | 0.566929 | 0.195876 | 0.257732 | 0.268041 | 0.069588 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021694 | 0.257669 | 1,304 | 46 | 83 | 28.347826 | 0.779959 | 0.015337 | 0 | 0 | 0 | 0 | 0.640187 | 0.034268 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.030303 | 0 | 0.030303 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7017dcd9500ae0566bcaabea91f6c64e4a1ecd56 | 880 | py | Python | api/src/opentrons/config/feature_flags.py | wheresaddie/opentrons | b90a87e2b45ea3db7677d130d683249460e4b91a | [
"Apache-2.0"
] | null | null | null | api/src/opentrons/config/feature_flags.py | wheresaddie/opentrons | b90a87e2b45ea3db7677d130d683249460e4b91a | [
"Apache-2.0"
] | null | null | null | api/src/opentrons/config/feature_flags.py | wheresaddie/opentrons | b90a87e2b45ea3db7677d130d683249460e4b91a | [
"Apache-2.0"
] | null | null | null | import os
from opentrons.config import advanced_settings as advs
def get_setting_with_env_overload(setting_name):
env_name = 'OT_API_FF_' + setting_name
if env_name in os.environ:
return os.environ[env_name].lower() in ('1', 'true', 'on')
else:
return advs.get_adv_setting(setting_name) is ... | 25.142857 | 69 | 0.781818 | 120 | 880 | 5.275 | 0.45 | 0.110585 | 0.154818 | 0.187994 | 0.333333 | 0.293839 | 0 | 0 | 0 | 0 | 0 | 0.003947 | 0.136364 | 880 | 34 | 70 | 25.882353 | 0.828947 | 0 | 0 | 0 | 0 | 0 | 0.142045 | 0.028409 | 0 | 0 | 0 | 0 | 0 | 1 | 0.35 | false | 0 | 0.1 | 0.3 | 0.85 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
701e83ae0da67425d8e2a48bfd4b46b700ff9969 | 93 | py | Python | abc/152/b/answer.py | TakuyaNoguchi/atcoder | d079402e6fe9c9aaf3a6fc9272331ee71fc497da | [
"MIT"
] | null | null | null | abc/152/b/answer.py | TakuyaNoguchi/atcoder | d079402e6fe9c9aaf3a6fc9272331ee71fc497da | [
"MIT"
] | null | null | null | abc/152/b/answer.py | TakuyaNoguchi/atcoder | d079402e6fe9c9aaf3a6fc9272331ee71fc497da | [
"MIT"
] | null | null | null | a, b = input().split()
if int(a) > int(b):
print(b * int(a))
else:
print(a * int(b)) | 15.5 | 22 | 0.494624 | 18 | 93 | 2.555556 | 0.444444 | 0.173913 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247312 | 93 | 6 | 23 | 15.5 | 0.657143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
70286afd5ee0143a31994110757ca2f06311c3a8 | 210 | py | Python | paperlims/core/models/organ.py | slohr/paperlims | 598899b3a0945d9e7353ba79742bd94798b3e17b | [
"MIT"
] | null | null | null | paperlims/core/models/organ.py | slohr/paperlims | 598899b3a0945d9e7353ba79742bd94798b3e17b | [
"MIT"
] | 1 | 2020-06-05T17:32:56.000Z | 2020-06-05T17:32:56.000Z | paperlims/core/models/organ.py | slohr/paperlims | 598899b3a0945d9e7353ba79742bd94798b3e17b | [
"MIT"
] | null | null | null | from core.models.base import StandardModel
class Organ(StandardModel):
class Meta:
app_label = "core"
db_table = 'organ'
ordering = ['-date_created']
def __str__(self):
return self.name
| 16.153846 | 42 | 0.680952 | 26 | 210 | 5.230769 | 0.807692 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 210 | 12 | 43 | 17.5 | 0.824242 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.125 | 0.125 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
704df1598d6c8c5330e04e4a7fefcea333424b6f | 102 | py | Python | gqqa_interface/apps.py | kuPacemaker/restful-unilm-django | 679bcbc7f76e3a8e2e63f11cb3d9bc188ff8fc23 | [
"MIT"
] | 1 | 2020-10-25T12:31:33.000Z | 2020-10-25T12:31:33.000Z | gqqa_interface/apps.py | kuPacemaker/restful-unilm-django | 679bcbc7f76e3a8e2e63f11cb3d9bc188ff8fc23 | [
"MIT"
] | 1 | 2021-07-18T11:14:51.000Z | 2021-07-18T14:38:00.000Z | gqqa_interface/apps.py | kuPacemaker/restful-unilm-django | 679bcbc7f76e3a8e2e63f11cb3d9bc188ff8fc23 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class GqqaInterfaceConfig(AppConfig):
name = 'gqqa_interface'
| 17 | 37 | 0.784314 | 11 | 102 | 7.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 102 | 5 | 38 | 20.4 | 0.908046 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.