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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
6759ecb2a7dda96f49573735fc96e44d136207d6 | 468 | py | Python | average.py | hydrogeohc/Programming_tipsandnotes | 266e7bc6f605ef16e89831bd95b86c60ddbe3a81 | [
"MIT"
] | null | null | null | average.py | hydrogeohc/Programming_tipsandnotes | 266e7bc6f605ef16e89831bd95b86c60ddbe3a81 | [
"MIT"
] | null | null | null | average.py | hydrogeohc/Programming_tipsandnotes | 266e7bc6f605ef16e89831bd95b86c60ddbe3a81 | [
"MIT"
] | null | null | null | # :information_source: Already implemented via statistics.mean. statistics.mean takes an array as an argument whereas this function takes variadic arguments.
# Returns the average of two or more numbers.
#Takes the sum of all the args and divides it by len(args). The second argument 0.0 in sum is to handle floating p... | 42.545455 | 158 | 0.715812 | 79 | 468 | 4.227848 | 0.607595 | 0.083832 | 0.053892 | 0.05988 | 0.071856 | 0.071856 | 0 | 0 | 0 | 0 | 0 | 0.039683 | 0.192308 | 468 | 10 | 159 | 46.8 | 0.843915 | 0.820513 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
677ac43042c514acddbd9de6800bba8e98019dc3 | 138 | py | Python | utils/functions.py | OuroborosD/03-PiggoV2 | 0fdabfeca3a29cf0cfb87f120506ad517ee75ce6 | [
"MIT"
] | null | null | null | utils/functions.py | OuroborosD/03-PiggoV2 | 0fdabfeca3a29cf0cfb87f120506ad517ee75ce6 | [
"MIT"
] | null | null | null | utils/functions.py | OuroborosD/03-PiggoV2 | 0fdabfeca3a29cf0cfb87f120506ad517ee75ce6 | [
"MIT"
] | null | null | null | import datetime
def today_date():
today = datetime.date.today()
return today
def logged_user(request):
return request.user
| 13.8 | 33 | 0.710145 | 18 | 138 | 5.333333 | 0.5 | 0.1875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202899 | 138 | 9 | 34 | 15.333333 | 0.872727 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 1 | 0 | 0 | 5 |
67ac503bf2edb54e3a6e0600fc299920c4304a36 | 23 | py | Python | Python_CI_CD_Test/hi.py | fanoos/Python_CI_CD_Test | be2a93b5bb4c2585f4006befbe1f282b2a9e3f77 | [
"MIT"
] | null | null | null | Python_CI_CD_Test/hi.py | fanoos/Python_CI_CD_Test | be2a93b5bb4c2585f4006befbe1f282b2a9e3f77 | [
"MIT"
] | 9 | 2019-08-29T13:14:00.000Z | 2021-02-02T22:15:19.000Z | Python_CI_CD_Test/hi.py | fanoos/Python_CI_CD_Test | be2a93b5bb4c2585f4006befbe1f282b2a9e3f77 | [
"MIT"
] | null | null | null | print("Hi DevOps HoOo") | 23 | 23 | 0.73913 | 4 | 23 | 4.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 23 | 1 | 23 | 23 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
67c05684ecb26013b5c7af43df5835ec012d7ff8 | 42 | py | Python | scripts/plot_prevalence_survival.py | sarahbald/BIG_2021_microbiome_evolution | 8adb48e9596a30f2db5b49a0f47f0ddc1188fcdf | [
"BSD-2-Clause"
] | null | null | null | scripts/plot_prevalence_survival.py | sarahbald/BIG_2021_microbiome_evolution | 8adb48e9596a30f2db5b49a0f47f0ddc1188fcdf | [
"BSD-2-Clause"
] | null | null | null | scripts/plot_prevalence_survival.py | sarahbald/BIG_2021_microbiome_evolution | 8adb48e9596a30f2db5b49a0f47f0ddc1188fcdf | [
"BSD-2-Clause"
] | 2 | 2021-06-18T06:55:57.000Z | 2021-06-29T17:07:59.000Z |
import calculate_prevalence_difference
| 8.4 | 38 | 0.880952 | 4 | 42 | 8.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119048 | 42 | 4 | 39 | 10.5 | 0.945946 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
67e8d404ca9d39807c53037a35634af08a18d572 | 98,645 | py | Python | classes/items/fonts/font_dutch_blunt.py | michaelfranzl/pyglpainter | 7990be97cc07c6d123d5fa3642eb19f7cb4bb6b4 | [
"Unlicense"
] | 15 | 2015-12-22T15:22:41.000Z | 2022-03-12T14:52:48.000Z | classes/items/fonts/font_dutch_blunt.py | michaelfranzl/pyglpainter | 7990be97cc07c6d123d5fa3642eb19f7cb4bb6b4 | [
"Unlicense"
] | null | null | null | classes/items/fonts/font_dutch_blunt.py | michaelfranzl/pyglpainter | 7990be97cc07c6d123d5fa3642eb19f7cb4bb6b4 | [
"Unlicense"
] | 1 | 2020-03-05T16:17:47.000Z | 2020-03-05T16:17:47.000Z | """
This file contains triangle vertex coordinates of a font
called "Dutch-Blunt" (c) 2015 by Abraham Stolk, commit e1b0044a
The font 'Dutch-Blunt' is licensed under the SIL OPEN FONT LICENSE.
See: https://github.com/stolk/dutch-blunt
"""
widths = [
5.0,
0.55555556,
3.0,
3.54,
2.00065051,
5.0,
5.0,
5.0,
5.0,
5.0,
5... | 107.456427 | 6,330 | 0.626631 | 27,133 | 98,645 | 2.278185 | 0.039951 | 0.020934 | 0.011696 | 0.006147 | 0.848999 | 0.57817 | 0.448474 | 0.28479 | 0.234801 | 0.194891 | 0 | 0.68927 | 0.095687 | 98,645 | 918 | 6,331 | 107.456427 | 0.003666 | 0.002352 | 0 | 0.44316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 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 | 5 |
db0007f34e4ccfc49f896cf8bc6aa7de55fd3abd | 93 | py | Python | run_game.py | Gato-X/NotYourData | 98bd79480795aa6b8ad480aa5c1779b3e8203624 | [
"MIT"
] | null | null | null | run_game.py | Gato-X/NotYourData | 98bd79480795aa6b8ad480aa5c1779b3e8203624 | [
"MIT"
] | null | null | null | run_game.py | Gato-X/NotYourData | 98bd79480795aa6b8ad480aa5c1779b3e8203624 | [
"MIT"
] | null | null | null | import gameowfication.__main__
if __name__ == "__main__":
gameowfication.__main__.main()
| 23.25 | 34 | 0.774194 | 9 | 93 | 6.222222 | 0.555556 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11828 | 93 | 3 | 35 | 31 | 0.682927 | 0 | 0 | 0 | 0 | 0 | 0.086022 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
db0a64e7781885e874f3ccb84365e2288764594e | 52 | py | Python | spacy_stanza/__init__.py | yuhaozhang/spacy-stanza | 148d0219caf88b8a0de58c6b5c9d978ea5d50979 | [
"MIT"
] | null | null | null | spacy_stanza/__init__.py | yuhaozhang/spacy-stanza | 148d0219caf88b8a0de58c6b5c9d978ea5d50979 | [
"MIT"
] | null | null | null | spacy_stanza/__init__.py | yuhaozhang/spacy-stanza | 148d0219caf88b8a0de58c6b5c9d978ea5d50979 | [
"MIT"
] | null | null | null | # coding: utf8
from .language import StanzaLanguage
| 17.333333 | 36 | 0.807692 | 6 | 52 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022222 | 0.134615 | 52 | 2 | 37 | 26 | 0.911111 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
db12fde7ddc303fd4d635882b0b37c4590df1b03 | 65 | py | Python | AppPkg/Applications/Python/Python-2.7.2/Lib/xml/etree/cElementTree.py | CEOALT1/RefindPlusUDK | 116b957ad735f96fbb6d80a0ba582046960ba164 | [
"BSD-2-Clause"
] | 2,757 | 2018-04-28T21:41:36.000Z | 2022-03-29T06:33:36.000Z | AppPkg/Applications/Python/Python-2.7.2/Lib/xml/etree/cElementTree.py | CEOALT1/RefindPlusUDK | 116b957ad735f96fbb6d80a0ba582046960ba164 | [
"BSD-2-Clause"
] | 20 | 2019-07-23T15:29:32.000Z | 2022-01-21T12:53:04.000Z | AppPkg/Applications/Python/Python-2.7.2/Lib/xml/etree/cElementTree.py | CEOALT1/RefindPlusUDK | 116b957ad735f96fbb6d80a0ba582046960ba164 | [
"BSD-2-Clause"
] | 449 | 2018-05-09T05:54:05.000Z | 2022-03-30T14:54:18.000Z | # Wrapper module for _elementtree
from _elementtree import *
| 16.25 | 34 | 0.769231 | 7 | 65 | 6.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 65 | 3 | 35 | 21.666667 | 0.923077 | 0.476923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
db27e055baaec4aaefca2821b2382fb171a722ad | 5,557 | py | Python | test/test_inverse_dft.py | crispitagorico/Neural-SPDEs | 99bab12cfecd626863b7f6d3eab879b3fd54e0f1 | [
"Apache-2.0"
] | 6 | 2021-12-23T09:26:10.000Z | 2022-02-16T08:24:23.000Z | test/test_inverse_dft.py | dungxibo123/Neural-SPDEs | 99bab12cfecd626863b7f6d3eab879b3fd54e0f1 | [
"Apache-2.0"
] | null | null | null | test/test_inverse_dft.py | dungxibo123/Neural-SPDEs | 99bab12cfecd626863b7f6d3eab879b3fd54e0f1 | [
"Apache-2.0"
] | 2 | 2022-02-16T08:20:23.000Z | 2022-03-31T08:54:59.000Z | import pytest
import torch
import numpy as np
from torchspde.fixed_point_solver import inverseDFTn
from torchspde.neural_spde import NeuralSPDE
@pytest.mark.parametrize("dim_phys, modes, dim_fft", (([4, 8], None, [2]),
([4, 8], None, [3]),
... | 45.54918 | 133 | 0.57603 | 871 | 5,557 | 3.535017 | 0.138921 | 0.037675 | 0.019487 | 0.068204 | 0.860019 | 0.834687 | 0.806755 | 0.766807 | 0.665476 | 0.631699 | 0 | 0.069278 | 0.264891 | 5,557 | 121 | 134 | 45.92562 | 0.684455 | 0.080619 | 0 | 0.345679 | 0 | 0 | 0.009425 | 0 | 0 | 0 | 0 | 0 | 0.049383 | 1 | 0.049383 | false | 0 | 0.061728 | 0 | 0.111111 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
db3773fd3299b92b1a0b159263f174fe765bda3f | 56 | py | Python | third_party/PSM/dataloader/__init__.py | zwxu064/RANP | 92135583e0ced21fa5634823b289c5aea366de21 | [
"MIT"
] | 9 | 2020-11-17T08:44:55.000Z | 2022-02-14T12:02:32.000Z | third_party/PSM/dataloader/__init__.py | zwxu064/RANP | 92135583e0ced21fa5634823b289c5aea366de21 | [
"MIT"
] | null | null | null | third_party/PSM/dataloader/__init__.py | zwxu064/RANP | 92135583e0ced21fa5634823b289c5aea366de21 | [
"MIT"
] | 1 | 2021-03-17T02:34:12.000Z | 2021-03-17T02:34:12.000Z | import sys
sys.path.append('third_party/PSM/dataloader') | 28 | 45 | 0.821429 | 9 | 56 | 5 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 56 | 2 | 45 | 28 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.45614 | 0.45614 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c018fcc2c5a2cf7549c1e7c971572f0002456217 | 8,584 | py | Python | migrations/versions/b044e7136f16_.py | necipcanguler/LuckSend-Api | e7e71a7371af8e9f17dd41306a7de034971331f1 | [
"MIT"
] | null | null | null | migrations/versions/b044e7136f16_.py | necipcanguler/LuckSend-Api | e7e71a7371af8e9f17dd41306a7de034971331f1 | [
"MIT"
] | null | null | null | migrations/versions/b044e7136f16_.py | necipcanguler/LuckSend-Api | e7e71a7371af8e9f17dd41306a7de034971331f1 | [
"MIT"
] | null | null | null | """empty message
Revision ID: b044e7136f16
Revises:
Create Date: 2019-07-18 23:50:12.783402
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = 'b044e7136f16'
down_revision = None
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto gene... | 42.706468 | 83 | 0.666473 | 1,061 | 8,584 | 5.286522 | 0.108388 | 0.138349 | 0.251382 | 0.295775 | 0.807096 | 0.795686 | 0.727937 | 0.623997 | 0.597433 | 0.56445 | 0 | 0.005138 | 0.138397 | 8,584 | 200 | 84 | 42.92 | 0.753245 | 0.032968 | 0 | 0.43956 | 0 | 0 | 0.172798 | 0.005082 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010989 | false | 0.005495 | 0.010989 | 0 | 0.021978 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
220d91023964e9c402b3169ae8ed38879dbeba31 | 278 | py | Python | PyPoE/index_dat.py | erosson/PyPoE | 314fb3f6814dd8cf248c7a15d5fffe3bf5cddcaa | [
"MIT"
] | 2 | 2021-02-02T15:44:21.000Z | 2021-08-23T22:08:26.000Z | PyPoE/index_dat.py | erosson/PyPoE | 314fb3f6814dd8cf248c7a15d5fffe3bf5cddcaa | [
"MIT"
] | 7 | 2021-01-07T22:15:37.000Z | 2021-01-15T16:47:26.000Z | third-party/PyPoE/PyPoE/index_dat.py | erosson/pypoe-json | 7b3ddc8dc310c580c3e75c4835389c1204936206 | [
"MIT"
] | null | null | null | # Generate a list of all .dat file names, based on PyPoE specifications.
# Run me from the PyPoE package directory! `scripts/dist` copies me there.
from poe.file.specification.data.stable import specification
import json
print(json.dumps(list(specification.keys()), indent=4))
| 39.714286 | 74 | 0.784173 | 42 | 278 | 5.190476 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004098 | 0.122302 | 278 | 6 | 75 | 46.333333 | 0.889344 | 0.514388 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
22237bc00ccf728d8c0d5e4e81af8e43b7f8d192 | 357 | py | Python | tests/manual_tests/manual_test_all_modes.py | rvbCMTS/PySkinDose | 690c758da291e28245d4bc136cda857e405d50a7 | [
"MIT"
] | 7 | 2021-01-22T17:40:01.000Z | 2022-03-31T17:16:55.000Z | tests/manual_tests/manual_test_all_modes.py | rvbCMTS/PySkinDose | 690c758da291e28245d4bc136cda857e405d50a7 | [
"MIT"
] | 27 | 2020-10-11T10:40:03.000Z | 2022-03-31T13:13:02.000Z | tests/manual_tests/manual_test_all_modes.py | rvbCMTS/PySkinDose | 690c758da291e28245d4bc136cda857e405d50a7 | [
"MIT"
] | 3 | 2021-03-30T04:08:03.000Z | 2022-03-11T11:16:30.000Z | import manual_test_plot_setup
import manual_test_plot_event
import manual_test_calculate_dose_static
import manual_test_calculate_dose_interactive
import manual_test_plot_procedure
manual_test_plot_setup
manual_test_plot_event
manual_test_plot_procedure
manual_test_calculate_dose_static
manual_test_calculate_dose_inte... | 25.5 | 45 | 0.932773 | 53 | 357 | 5.641509 | 0.283019 | 0.334448 | 0.280936 | 0.307692 | 0.648829 | 0.220736 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056022 | 357 | 13 | 46 | 27.461538 | 0.88724 | 0 | 0 | 0 | 0 | 0 | 0.05042 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.454545 | 0 | 0.454545 | 0.090909 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
224bc7b1b4aab269d22b40cbe13affbdb11728a4 | 47 | py | Python | src/textform/common.py | hawkfish/textform | d2859f799291739d3289d323102a0eb6a70fd8fd | [
"MIT"
] | 4 | 2021-07-19T18:14:35.000Z | 2021-09-17T07:31:50.000Z | src/textform/common.py | hawkfish/textform | d2859f799291739d3289d323102a0eb6a70fd8fd | [
"MIT"
] | 11 | 2021-04-14T16:12:23.000Z | 2021-09-08T18:33:13.000Z | src/textform/common.py | hawkfish/textform | d2859f799291739d3289d323102a0eb6a70fd8fd | [
"MIT"
] | null | null | null | class TransformException(Exception):
pass
| 11.75 | 36 | 0.765957 | 4 | 47 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170213 | 47 | 3 | 37 | 15.666667 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
2266a98e9ec95800e7a4990207ec771a7455b880 | 231 | py | Python | temple/views.py | almazkun/templating | 01eb645af03abec372c46ef318277b2305f6a90a | [
"MIT"
] | null | null | null | temple/views.py | almazkun/templating | 01eb645af03abec372c46ef318277b2305f6a90a | [
"MIT"
] | null | null | null | temple/views.py | almazkun/templating | 01eb645af03abec372c46ef318277b2305f6a90a | [
"MIT"
] | 1 | 2022-01-12T11:09:38.000Z | 2022-01-12T11:09:38.000Z | from django.shortcuts import render
# Create your views here.
def x(request):
return render(request, 'x.html')
def y(request):
return render(request, 'y.html')
def omg(request):
return render(request, 'omicron.html') | 21 | 42 | 0.705628 | 33 | 231 | 4.939394 | 0.515152 | 0.239264 | 0.349693 | 0.478528 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164502 | 231 | 11 | 42 | 21 | 0.84456 | 0.099567 | 0 | 0 | 0 | 0 | 0.115942 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0.142857 | 0.428571 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
22706ed21404eccd26d4b6a741f3053232b7abe8 | 166 | py | Python | benchmark/helpers.py | GrAndSE/lighty-template | 63834fbb2421506205745bb596ff8ac726361f2a | [
"BSD-3-Clause"
] | 1 | 2018-05-09T19:56:15.000Z | 2018-05-09T19:56:15.000Z | benchmark/helpers.py | GrAndSE/lighty-template | 63834fbb2421506205745bb596ff8ac726361f2a | [
"BSD-3-Clause"
] | null | null | null | benchmark/helpers.py | GrAndSE/lighty-template | 63834fbb2421506205745bb596ff8ac726361f2a | [
"BSD-3-Clause"
] | null | null | null | def print_time(name, results):
print '\n%s:' % name
for exec_time in results:
print ' ', exec_time
print ' ', sum(results) / len(results), '\n'
| 27.666667 | 48 | 0.578313 | 23 | 166 | 4.043478 | 0.521739 | 0.258065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26506 | 166 | 5 | 49 | 33.2 | 0.762295 | 0 | 0 | 0 | 0 | 0 | 0.066265 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.8 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
97db66a89aee6b980411dd6e7f52adf342e1dcd9 | 278 | py | Python | prawKeys.py | Rohan-Dawar/city-guessr | bba3002c5647b3f166bb93ebb3ca02d36c04bbbd | [
"MIT"
] | null | null | null | prawKeys.py | Rohan-Dawar/city-guessr | bba3002c5647b3f166bb93ebb3ca02d36c04bbbd | [
"MIT"
] | null | null | null | prawKeys.py | Rohan-Dawar/city-guessr | bba3002c5647b3f166bb93ebb3ca02d36c04bbbd | [
"MIT"
] | null | null | null | import praw, os
reddit = praw.Reddit(
client_id = os.environ.get('client_id'),
client_secret = os.environ.get('client_secret'),
username = os.environ.get('username'),
password = os.environ.get('password'),
user_agent = os.environ.get('user_agent'))
| 30.888889 | 53 | 0.661871 | 37 | 278 | 4.810811 | 0.351351 | 0.252809 | 0.337079 | 0.202247 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179856 | 278 | 8 | 54 | 34.75 | 0.780702 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.142857 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
97fc56ab27ba3ce9603894eaca05941a3e31f7b5 | 109 | py | Python | cassiopeia/dto/common.py | Canisback/cassiopeia | 2e4a759d4aadc07f743d1e167d9ecaa1709e50c9 | [
"MIT"
] | null | null | null | cassiopeia/dto/common.py | Canisback/cassiopeia | 2e4a759d4aadc07f743d1e167d9ecaa1709e50c9 | [
"MIT"
] | null | null | null | cassiopeia/dto/common.py | Canisback/cassiopeia | 2e4a759d4aadc07f743d1e167d9ecaa1709e50c9 | [
"MIT"
] | null | null | null | class DtoObject(dict):
@property
def __dict__(self):
return {k: v for k, v in self.items()}
| 18.166667 | 46 | 0.59633 | 16 | 109 | 3.8125 | 0.75 | 0.065574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.275229 | 109 | 5 | 47 | 21.8 | 0.772152 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
3f0dd049082f42887aad1a53a4a0d89c2a4c624c | 154 | py | Python | generators/generator.py | kwyckmans/python-mazes | be992077b3d802c6b8618b15c14c20bb30ed0ad9 | [
"Unlicense"
] | null | null | null | generators/generator.py | kwyckmans/python-mazes | be992077b3d802c6b8618b15c14c20bb30ed0ad9 | [
"Unlicense"
] | null | null | null | generators/generator.py | kwyckmans/python-mazes | be992077b3d802c6b8618b15c14c20bb30ed0ad9 | [
"Unlicense"
] | null | null | null | from typing import Protocol
from core.grid import Grid
class Generator(Protocol):
@staticmethod
def on(grid: Grid) -> Grid:
return grid
| 17.111111 | 31 | 0.694805 | 20 | 154 | 5.35 | 0.6 | 0.149533 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.233766 | 154 | 8 | 32 | 19.25 | 0.90678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 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 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
58c647712054a02f62ebab2ecef4437655363d1a | 12,348 | py | Python | src/config/svc-monitor/svc_monitor/tests/test_virtual_machine_manager.py | jnpr-pranav/contrail-controller | 428eee37c28c31830fd764315794e1a6e52720c1 | [
"Apache-2.0"
] | 37 | 2020-09-21T10:42:26.000Z | 2022-01-09T10:16:40.000Z | src/config/svc-monitor/svc_monitor/tests/test_virtual_machine_manager.py | jnpr-pranav/contrail-controller | 428eee37c28c31830fd764315794e1a6e52720c1 | [
"Apache-2.0"
] | null | null | null | src/config/svc-monitor/svc_monitor/tests/test_virtual_machine_manager.py | jnpr-pranav/contrail-controller | 428eee37c28c31830fd764315794e1a6e52720c1 | [
"Apache-2.0"
] | 21 | 2020-08-25T12:48:42.000Z | 2022-03-22T04:32:18.000Z | from __future__ import absolute_import
import mock
import unittest
from vnc_api.vnc_api import *
from svc_monitor.virtual_machine_manager import VirtualMachineManager
from svc_monitor.config_db import *
from . import test_common_utils as test_utils
class VirtualMachineManagerTest(unittest.TestCase):
def setUp(self... | 48.234375 | 100 | 0.672012 | 1,586 | 12,348 | 4.927491 | 0.08575 | 0.089827 | 0.105566 | 0.133717 | 0.778247 | 0.734613 | 0.713372 | 0.713372 | 0.713372 | 0.702111 | 0 | 0.001425 | 0.204406 | 12,348 | 255 | 101 | 48.423529 | 0.794076 | 0 | 0 | 0.646226 | 0 | 0 | 0.177357 | 0.097749 | 0 | 0 | 0 | 0 | 0.070755 | 1 | 0.089623 | false | 0 | 0.033019 | 0 | 0.193396 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
58e92b891392076f93da6720348db7c0acc3d38b | 41 | py | Python | tests/__init__.py | brobertson/lacebuilder | 56bf8c9ae074db5f4a50562d58e5c70b563c1170 | [
"BSD-3-Clause"
] | 1 | 2021-01-26T15:22:59.000Z | 2021-01-26T15:22:59.000Z | tests/__init__.py | brobertson/lacebuilder | 56bf8c9ae074db5f4a50562d58e5c70b563c1170 | [
"BSD-3-Clause"
] | 4 | 2021-01-30T20:23:22.000Z | 2021-05-25T21:31:12.000Z | tests/__init__.py | brobertson/lacebuilder | 56bf8c9ae074db5f4a50562d58e5c70b563c1170 | [
"BSD-3-Clause"
] | null | null | null | """Unit test package for lacebuilder."""
| 20.5 | 40 | 0.707317 | 5 | 41 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 41 | 1 | 41 | 41 | 0.805556 | 0.829268 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
450ce8ff1e4615b8ac8a9f68bf1c5b2fd5070df0 | 191 | py | Python | authoritarian/__init__.py | michaeljoseph/authoritarian | e19b36d29a4a0b102fbd1024a1cbf6596635d81d | [
"Unlicense"
] | null | null | null | authoritarian/__init__.py | michaeljoseph/authoritarian | e19b36d29a4a0b102fbd1024a1cbf6596635d81d | [
"Unlicense"
] | 1 | 2015-03-31T11:39:22.000Z | 2015-08-15T09:24:09.000Z | authoritarian/__init__.py | michaeljoseph/authoritarian | e19b36d29a4a0b102fbd1024a1cbf6596635d81d | [
"Unlicense"
] | null | null | null | __version__ = '0.0.1'
__author__ = 'Michael Joseph'
from .api import initialise, account_status, search, results, config
hush_pyflakes = initialise, account_status, search, results, config
| 27.285714 | 68 | 0.780105 | 24 | 191 | 5.75 | 0.708333 | 0.246377 | 0.333333 | 0.42029 | 0.608696 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0.017964 | 0.125654 | 191 | 6 | 69 | 31.833333 | 0.808383 | 0 | 0 | 0 | 0 | 0 | 0.099476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
452c04a447241a9d9c81ad170095b93578f8679f | 300 | py | Python | arangodb_driver/models/aql/where.py | pablotcarreira/django-arangodb-driver | c8e3225ddb75f3119d8a7571a7afddbfd23311b3 | [
"Apache-2.0"
] | 28 | 2017-01-06T16:30:33.000Z | 2021-12-11T00:57:15.000Z | arangodb_driver/models/aql/where.py | pablotcarreira/django-arangodb-driver | c8e3225ddb75f3119d8a7571a7afddbfd23311b3 | [
"Apache-2.0"
] | 2 | 2016-10-15T12:17:28.000Z | 2017-06-06T22:39:29.000Z | arangodb_driver/models/aql/where.py | pablotcarreira/django-arangodb-driver | c8e3225ddb75f3119d8a7571a7afddbfd23311b3 | [
"Apache-2.0"
] | 11 | 2017-02-28T12:09:19.000Z | 2020-08-18T10:25:17.000Z | # Pablo Carreira - 15/10/16
from django.db.models.sql.where import WhereNode
# FIXME: Nothing is bing done here, but the overrides are working and may be used.
class AQLWhere(WhereNode):
def as_sql(self, compiler, connection):
return super(AQLWhere, self).as_sql(compiler, connection)
| 30 | 82 | 0.743333 | 45 | 300 | 4.911111 | 0.822222 | 0.045249 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.024 | 0.166667 | 300 | 9 | 83 | 33.333333 | 0.86 | 0.353333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
453e617bfb80239a09ad2f93d48dcd7c1bcbe1ab | 4,427 | py | Python | lift_test.py | konan5d/Ascenseur_Test_Unitaire | 69f49723ef67da441fde10f61d9615e67a9570c8 | [
"MIT"
] | null | null | null | lift_test.py | konan5d/Ascenseur_Test_Unitaire | 69f49723ef67da441fde10f61d9615e67a9570c8 | [
"MIT"
] | null | null | null | lift_test.py | konan5d/Ascenseur_Test_Unitaire | 69f49723ef67da441fde10f61d9615e67a9570c8 | [
"MIT"
] | null | null | null | import unittest
from unittest.mock import MagicMock
from ascenseur.Lift import Lift
class MyTestCase(unittest.TestCase):
def test_lift_up(self):
mock = MagicMock()
mock.getDirection.return_value = 1
mock.shouldStop.return_value = False
lift = Lift(logic=mock, starting_floor=3)
... | 36.286885 | 115 | 0.646939 | 593 | 4,427 | 4.593592 | 0.116358 | 0.093979 | 0.060573 | 0.061674 | 0.884361 | 0.84141 | 0.761013 | 0.748899 | 0.674376 | 0.601689 | 0 | 0.040521 | 0.219562 | 4,427 | 121 | 116 | 36.586777 | 0.747902 | 0.046081 | 0 | 0.512195 | 0 | 0 | 0.001897 | 0 | 0 | 0 | 0 | 0 | 0.341463 | 1 | 0.097561 | false | 0 | 0.036585 | 0 | 0.146341 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
189e8f77d03dc31a3f2a31983611b7cd8f129a26 | 68 | py | Python | tests/features/environment.py | pwoolvett/chained_in | 45da3776f0d1f3f34c95616080c26cf55e566cd7 | [
"MIT"
] | null | null | null | tests/features/environment.py | pwoolvett/chained_in | 45da3776f0d1f3f34c95616080c26cf55e566cd7 | [
"MIT"
] | null | null | null | tests/features/environment.py | pwoolvett/chained_in | 45da3776f0d1f3f34c95616080c26cf55e566cd7 | [
"MIT"
] | null | null | null | import tests # make sure we use the right dotenv file # noqa: F401
| 34 | 67 | 0.735294 | 12 | 68 | 4.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056604 | 0.220588 | 68 | 1 | 68 | 68 | 0.886792 | 0.735294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
18c3512fc699ba52a243e8e512fd94f4b731f059 | 38 | py | Python | tests/__init__.py | toschoch/python-storageapi | 8b48fddb46ac729942f92c85234c8bc9c3ff3ea2 | [
"MIT"
] | null | null | null | tests/__init__.py | toschoch/python-storageapi | 8b48fddb46ac729942f92c85234c8bc9c3ff3ea2 | [
"MIT"
] | null | null | null | tests/__init__.py | toschoch/python-storageapi | 8b48fddb46ac729942f92c85234c8bc9c3ff3ea2 | [
"MIT"
] | null | null | null | """Unit test package for objectdb."""
| 19 | 37 | 0.684211 | 5 | 38 | 5.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 38 | 1 | 38 | 38 | 0.787879 | 0.815789 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
18cebdde94290bc93cfbb45dad21ef8f9a11e1e1 | 127 | py | Python | strings/height2.py | janbodnar/Python-Course | 51705ab5a2adef52bcdb99a800e94c0d67144a38 | [
"BSD-2-Clause"
] | 13 | 2017-08-22T12:26:07.000Z | 2021-07-29T16:13:50.000Z | strings/height2.py | janbodnar/Python-Course | 51705ab5a2adef52bcdb99a800e94c0d67144a38 | [
"BSD-2-Clause"
] | 1 | 2021-02-08T10:24:33.000Z | 2021-02-08T10:24:33.000Z | strings/height2.py | janbodnar/Python-Course | 51705ab5a2adef52bcdb99a800e94c0d67144a38 | [
"BSD-2-Clause"
] | 17 | 2018-08-13T11:10:33.000Z | 2021-07-29T16:14:02.000Z | #!/usr/bin/python
# height2.py
print ('Height: %.2f %s' % (172.3, 'cm'))
print ('Height: {0:.2f} {1:s}'.format(172.3, 'cm'))
| 18.142857 | 51 | 0.543307 | 22 | 127 | 3.136364 | 0.681818 | 0.318841 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118182 | 0.133858 | 127 | 6 | 52 | 21.166667 | 0.509091 | 0.212598 | 0 | 0 | 0 | 0 | 0.408163 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
7a01d7efc5dfa1786888d4f9ef1d39a1d925ae01 | 112,937 | py | Python | pysnmp_mibs/EFM-CU-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 6 | 2017-04-21T13:48:08.000Z | 2022-01-06T19:42:52.000Z | pysnmp_mibs/EFM-CU-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 1 | 2020-05-05T16:42:25.000Z | 2020-05-05T16:42:25.000Z | pysnmp_mibs/EFM-CU-MIB.py | jackjack821/pysnmp-mibs | 9835ea0bb2420715caf4ee9aaa07d59bb263acd6 | [
"BSD-2-Clause"
] | 6 | 2020-02-08T20:28:49.000Z | 2021-09-14T13:36:46.000Z | #
# PySNMP MIB module EFM-CU-MIB (http://pysnmp.sf.net)
# ASN.1 source http://mibs.snmplabs.com:80/asn1/EFM-CU-MIB
# Produced by pysmi-0.0.7 at Sun Feb 14 00:11:39 2016
# On host bldfarm platform Linux version 4.1.13-100.fc21.x86_64 by user goose
# Using Python version 3.5.0 (default, Jan 5 2016, 17:11:52)
#
( OctetS... | 421.406716 | 5,590 | 0.695193 | 15,631 | 112,937 | 5.022008 | 0.086495 | 0.007516 | 0.005312 | 0.006166 | 0.528198 | 0.486286 | 0.435713 | 0.40347 | 0.376986 | 0.354208 | 0 | 0.057091 | 0.205601 | 112,937 | 267 | 5,591 | 422.985019 | 0.817872 | 0.002621 | 0 | 0.007813 | 0 | 0.40625 | 0.714788 | 0.045964 | 0 | 0 | 0.000089 | 0 | 0.003906 | 1 | 0 | false | 0.167969 | 0.03125 | 0 | 0.078125 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
7a11209200d1fe4cc4eee19b9d5763af33cfdee4 | 219 | py | Python | database_study_police/classes/admin.py | dustyRAIN/Study_Police | 9605a1e548732be2982abfbe7c66acd492710d23 | [
"MIT"
] | null | null | null | database_study_police/classes/admin.py | dustyRAIN/Study_Police | 9605a1e548732be2982abfbe7c66acd492710d23 | [
"MIT"
] | null | null | null | database_study_police/classes/admin.py | dustyRAIN/Study_Police | 9605a1e548732be2982abfbe7c66acd492710d23 | [
"MIT"
] | 1 | 2021-07-25T19:54:02.000Z | 2021-07-25T19:54:02.000Z | from django.contrib import admin
from .models import Classroom, ClassHasStudent
class UserAdmin(admin.ModelAdmin):
pass
admin.site.register(Classroom, UserAdmin)
admin.site.register(ClassHasStudent, UserAdmin)
| 18.25 | 47 | 0.808219 | 25 | 219 | 7.08 | 0.56 | 0.158192 | 0.19209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114155 | 219 | 11 | 48 | 19.909091 | 0.912371 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 5 |
e1771d0402dc580081f57a1dcae1be5d64bf5b21 | 78 | py | Python | blaster/aws/__init__.py | abhinavabcd/blaster | e395ec3efa60bb3f197527837c90a05071e65da9 | [
"MIT"
] | 4 | 2018-07-23T19:52:50.000Z | 2022-01-06T11:45:24.000Z | blaster/aws/__init__.py | abhinavabcd/blaster | e395ec3efa60bb3f197527837c90a05071e65da9 | [
"MIT"
] | null | null | null | blaster/aws/__init__.py | abhinavabcd/blaster | e395ec3efa60bb3f197527837c90a05071e65da9 | [
"MIT"
] | null | null | null | # from . import push_tasks
# from . import s3_utils
# from . import ses_utils
| 19.5 | 26 | 0.730769 | 12 | 78 | 4.5 | 0.583333 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.192308 | 78 | 3 | 27 | 26 | 0.84127 | 0.910256 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e17ddb21615cb033787d3f9cb7faf993fbef3b31 | 1,408 | py | Python | state_tracker/state_defs.py | hacknaman/glStream | e7de3cc039c860886ba298400e2008d6e1076f50 | [
"MIT"
] | null | null | null | state_tracker/state_defs.py | hacknaman/glStream | e7de3cc039c860886ba298400e2008d6e1076f50 | [
"MIT"
] | null | null | null | state_tracker/state_defs.py | hacknaman/glStream | e7de3cc039c860886ba298400e2008d6e1076f50 | [
"MIT"
] | null | null | null | # Copyright (c) 2001, Stanford University
# All rights reserved.
#
# See the file LICENSE.txt for information on redistributing this software.
import sys
sys.path.append( "../glapi_parser" )
import apiutil
apiutil.CopyrightDef()
print """
EXPORTS
"""
keys = apiutil.GetDispatchedFunctions("../glapi_parser/APIspec.... | 21.333333 | 75 | 0.862926 | 114 | 1,408 | 10.552632 | 0.692982 | 0.0399 | 0.027431 | 0.032419 | 0.104738 | 0.104738 | 0.104738 | 0.074813 | 0.074813 | 0.074813 | 0 | 0.003101 | 0.083807 | 1,408 | 65 | 76 | 21.661538 | 0.929457 | 0.09517 | 0 | 0.039216 | 0 | 0 | 0.723404 | 0.401103 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0.039216 | null | null | 0.098039 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
e18eb3c53d15e3c5480a04f0080f57f637639243 | 98 | py | Python | uvindx_info_lambda.py | sozonnyk/uvindx.info | 0912f4f296b6ba64e7ed09e84f4a5389ee0d5ca2 | [
"MIT"
] | null | null | null | uvindx_info_lambda.py | sozonnyk/uvindx.info | 0912f4f296b6ba64e7ed09e84f4a5389ee0d5ca2 | [
"MIT"
] | null | null | null | uvindx_info_lambda.py | sozonnyk/uvindx.info | 0912f4f296b6ba64e7ed09e84f4a5389ee0d5ca2 | [
"MIT"
] | null | null | null | from uvindx_info import UvIndexService
def handler(event, context):
UvIndexService().main()
| 16.333333 | 38 | 0.765306 | 11 | 98 | 6.727273 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 98 | 5 | 39 | 19.6 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bedbad9aee903213dec32989bbb9fa9efc1e1daf | 2,625 | py | Python | src/pyherc/test/__init__.py | tuturto/pyherc | 4e7c72a4d80d335f7d3c48cecac96cd7105acac4 | [
"MIT"
] | 25 | 2015-07-21T12:40:42.000Z | 2021-09-23T09:00:45.000Z | src/pyherc/test/__init__.py | tuturto/pyherc | 4e7c72a4d80d335f7d3c48cecac96cd7105acac4 | [
"MIT"
] | 65 | 2015-02-15T19:42:19.000Z | 2018-01-03T10:22:35.000Z | src/pyherc/test/__init__.py | tuturto/pyherc | 4e7c72a4d80d335f7d3c48cecac96cd7105acac4 | [
"MIT"
] | 3 | 2017-06-15T13:07:49.000Z | 2019-04-15T02:18:39.000Z | # -*- coding: utf-8 -*-
# Copyright (c) 2010-2017 Tuukka Turto
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy,... | 45.258621 | 79 | 0.798857 | 406 | 2,625 | 5.068966 | 0.352217 | 0.155491 | 0.217687 | 0.279883 | 0.437318 | 0.426628 | 0.03207 | 0 | 0 | 0 | 0 | 0.003922 | 0.125714 | 2,625 | 57 | 80 | 46.052632 | 0.89281 | 0.41981 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
bef8064b82a2417d001df1ab2a4c7c5a4a48732e | 4,948 | py | Python | tests/test_02_simple_dependency.py | SelfHacked/pytest-dependency | f424eee2efd028982d7df100d105743d58a35351 | [
"Apache-2.0"
] | null | null | null | tests/test_02_simple_dependency.py | SelfHacked/pytest-dependency | f424eee2efd028982d7df100d105743d58a35351 | [
"Apache-2.0"
] | null | null | null | tests/test_02_simple_dependency.py | SelfHacked/pytest-dependency | f424eee2efd028982d7df100d105743d58a35351 | [
"Apache-2.0"
] | 1 | 2021-06-03T12:04:48.000Z | 2021-06-03T12:04:48.000Z | """
Simple dependencies between tests.
"""
def test_no_skip(ctestdir):
"""One test is skipped, but no other test depends on it,
so all other tests pass.
"""
ctestdir.makepyfile("""
import pytest
@pytest.mark.dependency()
def test_a():
pytest.skip("explicit skip")
... | 24.374384 | 79 | 0.568108 | 567 | 4,948 | 4.811287 | 0.164021 | 0.076979 | 0.175953 | 0.123167 | 0.759164 | 0.711877 | 0.711877 | 0.665689 | 0.605938 | 0.590176 | 0 | 0.00524 | 0.30578 | 4,948 | 202 | 80 | 24.49505 | 0.788937 | 0.151779 | 0 | 0.879433 | 0 | 0 | 0.696733 | 0.206972 | 0 | 0 | 0 | 0 | 0.056738 | 1 | 0.042553 | false | 0.248227 | 0.042553 | 0 | 0.085106 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
834d801aa65513a18c02896004937d3755d574ca | 34 | py | Python | mergecli/__main__.py | srp33/ShapeShifter-CLI | 00988234285b00f459e3257e13af71dd889e5c39 | [
"MIT"
] | 1 | 2019-03-11T14:22:33.000Z | 2019-03-11T14:22:33.000Z | mergecli/__main__.py | srp33/ExpressionAble-CLI | 00988234285b00f459e3257e13af71dd889e5c39 | [
"MIT"
] | null | null | null | mergecli/__main__.py | srp33/ExpressionAble-CLI | 00988234285b00f459e3257e13af71dd889e5c39 | [
"MIT"
] | null | null | null | from .mergecli import main
main() | 11.333333 | 26 | 0.764706 | 5 | 34 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 34 | 3 | 27 | 11.333333 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
8352387176ba6a7f8d679c97c046883e823d3da0 | 176 | py | Python | paypal/exceptions.py | brat000012001/django-oscar-paypal | 37ea5c71c1d4f1e8f0edacfa32561bb521ccc0db | [
"BSD-3-Clause"
] | 4 | 2019-12-26T17:27:12.000Z | 2021-04-30T04:04:47.000Z | paypal/exceptions.py | brat000012001/django-oscar-paypal | 37ea5c71c1d4f1e8f0edacfa32561bb521ccc0db | [
"BSD-3-Clause"
] | null | null | null | paypal/exceptions.py | brat000012001/django-oscar-paypal | 37ea5c71c1d4f1e8f0edacfa32561bb521ccc0db | [
"BSD-3-Clause"
] | 3 | 2016-12-04T08:27:58.000Z | 2018-01-25T05:53:45.000Z | try:
from oscar.apps.payment.exceptions import PaymentError
except ImportError:
class PaymentError(Exception):
pass
class PayPalError(PaymentError):
pass
| 17.6 | 58 | 0.738636 | 18 | 176 | 7.222222 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198864 | 176 | 9 | 59 | 19.555556 | 0.921986 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.285714 | 0.285714 | 0 | 0.571429 | 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 | 1 | 0 | 0 | 5 |
8362a090b67c1162541f23b2d5bf051c7b92102d | 91 | py | Python | enthought/enable/example_support.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/enable/example_support.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/enable/example_support.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from enable.example_support import *
| 22.75 | 38 | 0.846154 | 12 | 91 | 5.916667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120879 | 91 | 3 | 39 | 30.333333 | 0.8875 | 0.131868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
55df9e4a54ea8ca1f1b144e7872acc8a72af20bb | 670 | py | Python | src/seabreeze/pyseabreeze/features/introspection.py | moritzj29/python-seabreeze | 8bc579b1efecab106a96835d867244f93b8b40bc | [
"MIT"
] | null | null | null | src/seabreeze/pyseabreeze/features/introspection.py | moritzj29/python-seabreeze | 8bc579b1efecab106a96835d867244f93b8b40bc | [
"MIT"
] | null | null | null | src/seabreeze/pyseabreeze/features/introspection.py | moritzj29/python-seabreeze | 8bc579b1efecab106a96835d867244f93b8b40bc | [
"MIT"
] | null | null | null | from seabreeze.pyseabreeze.features._base import SeaBreezeFeature
# Definition
# ==========
#
# TODO: This feature needs to be implemented for pyseabreeze
#
class SeaBreezeIntrospectionFeature(SeaBreezeFeature):
identifier = 'introspection'
def number_of_pixels(self):
raise NotImplementedError("impl... | 29.130435 | 65 | 0.753731 | 71 | 670 | 6.915493 | 0.521127 | 0.07332 | 0.228106 | 0.301426 | 0.535642 | 0.535642 | 0.535642 | 0.535642 | 0.535642 | 0.419552 | 0 | 0 | 0.167164 | 670 | 22 | 66 | 30.454545 | 0.879928 | 0.120896 | 0 | 0.363636 | 0 | 0 | 0.200686 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 1 | 0.363636 | false | 0 | 0.090909 | 0 | 0.636364 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
55e134b649d233581ca2a824fe069b967d3c99ae | 144 | py | Python | Final Project violin/Code/cmdCode/cmd_viewTruth.py | SweetSourPeter/violin | 91abf09442c990968650e61f33ffb19e14214968 | [
"MIT"
] | null | null | null | Final Project violin/Code/cmdCode/cmd_viewTruth.py | SweetSourPeter/violin | 91abf09442c990968650e61f33ffb19e14214968 | [
"MIT"
] | null | null | null | Final Project violin/Code/cmdCode/cmd_viewTruth.py | SweetSourPeter/violin | 91abf09442c990968650e61f33ffb19e14214968 | [
"MIT"
] | null | null | null | import click
from functions.openFiles import openTruthTable
@click.command()
def cli():
openTruthTable()
click.echo('----Open Now----') | 20.571429 | 46 | 0.701389 | 16 | 144 | 6.3125 | 0.75 | 0.376238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 144 | 7 | 47 | 20.571429 | 0.814516 | 0 | 0 | 0 | 0 | 0 | 0.110345 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.333333 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
55e1414720d16dee188cc334464e4a92bbe618f6 | 36,579 | py | Python | rubiks_cube.py | mclaybaugh/pycube-solver | ea4b6fce8127e0f2d050910809291c5cf1b350a6 | [
"MIT"
] | null | null | null | rubiks_cube.py | mclaybaugh/pycube-solver | ea4b6fce8127e0f2d050910809291c5cf1b350a6 | [
"MIT"
] | null | null | null | rubiks_cube.py | mclaybaugh/pycube-solver | ea4b6fce8127e0f2d050910809291c5cf1b350a6 | [
"MIT"
] | null | null | null | # Possible cube moves/rotations
# Bottom (down) clockwise, counter - D, Dc
# Bottom and middle - d, dc
# Top (up) - U, Uc, u, uc
# Right - R, Rc, r, rc
# Left - L, Lc, l, lc
# Front - F, Fc, f, fc
# Back - B, Bc, b, bc
# Perspective shifts
# notated with which axis (x, y, z) it turns around and direction
# yc means th... | 44.882209 | 79 | 0.544329 | 4,923 | 36,579 | 3.94353 | 0.045094 | 0.101782 | 0.077882 | 0.122386 | 0.839755 | 0.817606 | 0.805913 | 0.737818 | 0.633821 | 0.601782 | 0 | 0.018607 | 0.324148 | 36,579 | 815 | 80 | 44.882209 | 0.766686 | 0.087591 | 0 | 0.580913 | 0 | 0 | 0.006165 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074689 | false | 0 | 0.001383 | 0 | 0.082988 | 0.135546 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
55e93d29159e5188e4bfcb11785e8ce5eb8bc335 | 62 | py | Python | mucinfogram/__init__.py | nickel715/coronaStatsNotifier | 6cdf60a2a00b937869a8dd833a95993c8d1560d1 | [
"MIT"
] | null | null | null | mucinfogram/__init__.py | nickel715/coronaStatsNotifier | 6cdf60a2a00b937869a8dd833a95993c8d1560d1 | [
"MIT"
] | null | null | null | mucinfogram/__init__.py | nickel715/coronaStatsNotifier | 6cdf60a2a00b937869a8dd833a95993c8d1560d1 | [
"MIT"
] | null | null | null | from .datasource import DataSource
from .parser import Parser
| 20.666667 | 34 | 0.83871 | 8 | 62 | 6.5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 62 | 2 | 35 | 31 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
55ea6a4af256aa310624a29af9c766301a5a33a7 | 4,348 | py | Python | tests/test_handler_parameter_scheduler.py | dylanbuchi/MONAI | 1651f1b003b0ffae8b615d191952ad65ad091277 | [
"Apache-2.0"
] | 2,971 | 2019-10-16T23:53:16.000Z | 2022-03-31T20:58:24.000Z | tests/test_handler_parameter_scheduler.py | dylanbuchi/MONAI | 1651f1b003b0ffae8b615d191952ad65ad091277 | [
"Apache-2.0"
] | 2,851 | 2020-01-10T16:23:44.000Z | 2022-03-31T22:14:53.000Z | tests/test_handler_parameter_scheduler.py | dylanbuchi/MONAI | 1651f1b003b0ffae8b615d191952ad65ad091277 | [
"Apache-2.0"
] | 614 | 2020-01-14T19:18:01.000Z | 2022-03-31T14:06:14.000Z | import unittest
import torch
from ignite.engine import Engine, Events
from torch.nn import Module
from monai.handlers.parameter_scheduler import ParamSchedulerHandler
class ToyNet(Module):
def __init__(self, value):
super().__init__()
self.value = value
def forward(self, input):
ret... | 35.064516 | 101 | 0.609016 | 521 | 4,348 | 4.852207 | 0.153551 | 0.066456 | 0.038766 | 0.041535 | 0.763845 | 0.741693 | 0.741693 | 0.727057 | 0.703323 | 0.703323 | 0 | 0.037342 | 0.273229 | 4,348 | 123 | 102 | 35.349594 | 0.762658 | 0.014489 | 0 | 0.676471 | 0 | 0 | 0.067274 | 0 | 0 | 0 | 0 | 0 | 0.068627 | 1 | 0.098039 | false | 0 | 0.04902 | 0.029412 | 0.196078 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
55f4775fc1eebe7789fc10e46bc3bb52b878a791 | 220 | py | Python | tests/unit/test_layers_base.py | dutradda/domainer | 19cc5adf6eabd1a40c503a16a547d5c128e62efe | [
"MIT"
] | 4 | 2018-03-28T21:13:45.000Z | 2021-01-19T14:59:37.000Z | tests/unit/test_layers_base.py | dutradda/domainer | 19cc5adf6eabd1a40c503a16a547d5c128e62efe | [
"MIT"
] | 1 | 2018-03-08T17:01:59.000Z | 2018-03-08T17:01:59.000Z | tests/unit/test_layers_base.py | dutradda/domainer | 19cc5adf6eabd1a40c503a16a547d5c128e62efe | [
"MIT"
] | null | null | null | import pytest
from domainer.exceptions import DomainerError
from domainer.layers.data.repositories import BaseRepository
def test_init_error():
with pytest.raises(DomainerError):
BaseRepository(None, None)
| 24.444444 | 60 | 0.8 | 25 | 220 | 6.96 | 0.68 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 220 | 8 | 61 | 27.5 | 0.915789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
365892f27beb005ed18829f418aaa2e741129a85 | 583 | py | Python | maya/mel/__init__.py | arjun-namdeo/py_stubs | 605bb167e239978f5417f3f1fc1f5c12e2a243cc | [
"MIT"
] | 20 | 2019-09-20T00:30:22.000Z | 2021-12-26T06:56:16.000Z | mayaSDK/maya/mel/__init__.py | minjiang999/vscode-mayapy | 7a21872f80b5b740fc653e79c3f9b5268e87b3c3 | [
"MIT"
] | 5 | 2019-12-29T15:19:03.000Z | 2022-03-29T16:54:19.000Z | mayaSDK/maya/mel/__init__.py | minjiang999/vscode-mayapy | 7a21872f80b5b740fc653e79c3f9b5268e87b3c3 | [
"MIT"
] | 8 | 2019-09-23T05:46:44.000Z | 2022-01-11T14:42:14.000Z | """
# Initialize the maya.mel package
# Note: some functions are added at runtime
#
"""
from maya.mel.melutils import *
def eval(*args, **kwargs):
"""
Takes as input a string containing MEL code, evaluates it, and returns the result.
This function takes a string which contains MEL code and evaluates ... | 23.32 | 86 | 0.696398 | 85 | 583 | 4.776471 | 0.682353 | 0.034483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245283 | 583 | 24 | 87 | 24.291667 | 0.922727 | 0.7753 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
3672aa0382642727b9df630f94e8f90a586f4c39 | 49 | py | Python | venv/Lib/site-packages/sipbuild/version.py | DoesArt-Studios/RamBrowse | a81da53e04d265d17e76855e7affc11130ee6120 | [
"MIT"
] | 1 | 2020-05-18T06:35:36.000Z | 2020-05-18T06:35:36.000Z | venv/Lib/site-packages/sipbuild/version.py | DoesArt-Studios/RamBrowse | a81da53e04d265d17e76855e7affc11130ee6120 | [
"MIT"
] | null | null | null | venv/Lib/site-packages/sipbuild/version.py | DoesArt-Studios/RamBrowse | a81da53e04d265d17e76855e7affc11130ee6120 | [
"MIT"
] | null | null | null | SIP_VERSION = 0x050200
SIP_VERSION_STR = '5.2.0'
| 16.333333 | 25 | 0.755102 | 9 | 49 | 3.777778 | 0.777778 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232558 | 0.122449 | 49 | 2 | 26 | 24.5 | 0.55814 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 0 | 0 | 0 | 0.163265 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
367ac87e7c88e42c1aec51992de51b3b18c2295c | 31 | py | Python | evennia/web/website/__init__.py | Jaykingamez/evennia | cf7cab1fea99ede3efecb70a65c3eb0fba1d3745 | [
"BSD-3-Clause"
] | 1,544 | 2015-01-01T22:16:31.000Z | 2022-03-31T19:17:45.000Z | evennia/web/website/__init__.py | Jaykingamez/evennia | cf7cab1fea99ede3efecb70a65c3eb0fba1d3745 | [
"BSD-3-Clause"
] | 1,686 | 2015-01-02T18:26:31.000Z | 2022-03-31T20:12:03.000Z | evennia/web/website/__init__.py | Jaykingamez/evennia | cf7cab1fea99ede3efecb70a65c3eb0fba1d3745 | [
"BSD-3-Clause"
] | 867 | 2015-01-02T21:01:54.000Z | 2022-03-29T00:28:27.000Z | # The Evennia default website.
| 15.5 | 30 | 0.774194 | 4 | 31 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 31 | 1 | 31 | 31 | 0.923077 | 0.903226 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
367b5b0ad90bc22dc0813670302e52c4d2b7f92e | 222 | py | Python | py_essentials/__init__.py | erkandem/py_essentials | 29084d29517fd53670e3177586164a2fba3a0a47 | [
"MIT"
] | null | null | null | py_essentials/__init__.py | erkandem/py_essentials | 29084d29517fd53670e3177586164a2fba3a0a47 | [
"MIT"
] | null | null | null | py_essentials/__init__.py | erkandem/py_essentials | 29084d29517fd53670e3177586164a2fba3a0a47 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from . import xcptns
from . import checkup
from . import advancedList
from . import prettyPrinting
from . import fileHandler
from . import hashing
from . import simpleRandom
| 20.181818 | 28 | 0.743243 | 28 | 222 | 5.892857 | 0.571429 | 0.424242 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010753 | 0.162162 | 222 | 10 | 29 | 22.2 | 0.876344 | 0.193694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
36e468d5d1e6eb2e604c2fff82cd4f850897cc7e | 143 | py | Python | network_delay.py | BozhiWang/Tangle-based-Blockchain-attack-simulation | e73eee0f500f91dbb6f3d9fa16a0e1260fc58a42 | [
"MIT"
] | null | null | null | network_delay.py | BozhiWang/Tangle-based-Blockchain-attack-simulation | e73eee0f500f91dbb6f3d9fa16a0e1260fc58a42 | [
"MIT"
] | null | null | null | network_delay.py | BozhiWang/Tangle-based-Blockchain-attack-simulation | e73eee0f500f91dbb6f3d9fa16a0e1260fc58a42 | [
"MIT"
] | 1 | 2021-03-31T02:54:53.000Z | 2021-03-31T02:54:53.000Z | # could be set as random or defined by node num
def getdelay(source,destination,size):
return 1
def getdownloadspeed(id):
return 1000 | 20.428571 | 47 | 0.741259 | 22 | 143 | 4.818182 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.195804 | 143 | 7 | 48 | 20.428571 | 0.878261 | 0.314685 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
36e89fccb9288f33d1f0368c0934237730707e68 | 18 | py | Python | tasks/__init__.py | jlantz/MetaPush | 4f04a8e422cf5125cffca2fe339ab0def7799c7f | [
"BSD-3-Clause"
] | 60 | 2015-01-09T23:02:52.000Z | 2021-03-27T13:46:55.000Z | tasks/__init__.py | jlantz/MetaPush | 4f04a8e422cf5125cffca2fe339ab0def7799c7f | [
"BSD-3-Clause"
] | 15 | 2015-02-19T15:06:15.000Z | 2017-10-27T15:06:47.000Z | tasks/__init__.py | jlantz/MetaPush | 4f04a8e422cf5125cffca2fe339ab0def7799c7f | [
"BSD-3-Clause"
] | 55 | 2015-01-02T22:27:13.000Z | 2021-04-27T19:34:15.000Z | # Don't delete me
| 9 | 17 | 0.666667 | 4 | 18 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 18 | 1 | 18 | 18 | 0.857143 | 0.833333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7fcf59b3d56f7329bd1d1fd9c3bd67d924a9ff27 | 136 | py | Python | handling_massages.py | mohamadaref/telegram_bot | 80eaa1da29c8c2f2990f26315b667d5a85e57d14 | [
"MIT"
] | 1 | 2019-09-19T07:05:05.000Z | 2019-09-19T07:05:05.000Z | handling_massages.py | mohamadaref/telegram_bot | 80eaa1da29c8c2f2990f26315b667d5a85e57d14 | [
"MIT"
] | null | null | null | handling_massages.py | mohamadaref/telegram_bot | 80eaa1da29c8c2f2990f26315b667d5a85e57d14 | [
"MIT"
] | null | null | null | from telepot.loop import MessageLoop
from telepot.namedtuple import InlineKeyboardMarkup,InlineKeyboardButton
from pprint import pprint
| 34 | 72 | 0.889706 | 15 | 136 | 8.066667 | 0.6 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 136 | 3 | 73 | 45.333333 | 0.975806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
7fef2e8f214f63dde63b43b095aadc48f4c6811a | 406 | py | Python | libtiepie/objectlist.py | TiePie/python-libtiepie | d2a9875855298a58d6a16be5b61aaa89a558e7d8 | [
"MIT"
] | 6 | 2020-01-04T02:00:35.000Z | 2022-03-22T00:32:26.000Z | libtiepie/objectlist.py | TiePie/python-libtiepie | d2a9875855298a58d6a16be5b61aaa89a558e7d8 | [
"MIT"
] | 3 | 2020-08-05T15:16:29.000Z | 2022-03-21T07:00:27.000Z | libtiepie/objectlist.py | TiePie/python-libtiepie | d2a9875855298a58d6a16be5b61aaa89a558e7d8 | [
"MIT"
] | null | null | null | class ObjectList(object):
""""""
def __init__(self):
self._items = []
def __getitem__(self, index):
if index >= 0 and index < len(self._items):
return self._items[index]
else:
raise IndexError()
def __len__(self):
return len(self._items)
de... | 20.3 | 51 | 0.566502 | 46 | 406 | 4.543478 | 0.434783 | 0.215311 | 0.172249 | 0.162679 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003597 | 0.315271 | 406 | 19 | 52 | 21.368421 | 0.748201 | 0 | 0 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0 | 0 | 0.153846 | 0.692308 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
7ffd89232d9049ddeca9fb1cd0dd0b327c418d90 | 179 | py | Python | utils/__init__.py | clovaai/SSUL | a1df05a5a6c78f122cf606970b0b5dbc3cda97a0 | [
"MIT"
] | 29 | 2021-09-30T06:03:12.000Z | 2022-03-30T07:28:28.000Z | utils/__init__.py | clovaai/SSUL | a1df05a5a6c78f122cf606970b0b5dbc3cda97a0 | [
"MIT"
] | 2 | 2022-01-21T08:03:55.000Z | 2022-01-25T12:49:08.000Z | utils/__init__.py | clovaai/SSUL | a1df05a5a6c78f122cf606970b0b5dbc3cda97a0 | [
"MIT"
] | 5 | 2021-12-16T12:36:22.000Z | 2022-01-25T10:24:24.000Z | from .utils import *
from .visualizer import Visualizer
from .scheduler import PolyLR, WarmupPolyLR
from .loss import BCEWithLogitsLossWithIgnoreIndex
from .loss import FocalLoss
| 29.833333 | 50 | 0.843575 | 20 | 179 | 7.55 | 0.5 | 0.10596 | 0.18543 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117318 | 179 | 5 | 51 | 35.8 | 0.955696 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3d03f3ef5a3085371d9eed7e2bcfc6248105e368 | 4,234 | py | Python | app/schema.py | ev-horrosh/underdog-devs-ds-a | a638d054bef42b59cfeee914c1d4cb7d8edaf66e | [
"MIT"
] | null | null | null | app/schema.py | ev-horrosh/underdog-devs-ds-a | a638d054bef42b59cfeee914c1d4cb7d8edaf66e | [
"MIT"
] | null | null | null | app/schema.py | ev-horrosh/underdog-devs-ds-a | a638d054bef42b59cfeee914c1d4cb7d8edaf66e | [
"MIT"
] | null | null | null | from typing import List, Literal, Optional
from datetime import datetime
from pydantic import BaseModel, constr, Extra
# TODO add pydantic to requirements.txt
class Mentor(BaseModel):
profile_id: constr(max_length=255)
first_name: constr(max_length=255)
last_name: constr(max_length=255)
email: const... | 32.821705 | 59 | 0.747756 | 565 | 4,234 | 5.338053 | 0.145133 | 0.185013 | 0.308355 | 0.328249 | 0.791446 | 0.73939 | 0.643899 | 0.621353 | 0.621353 | 0.621353 | 0 | 0.05379 | 0.152574 | 4,234 | 128 | 60 | 33.078125 | 0.786789 | 0.008739 | 0 | 0.551402 | 0 | 0 | 0.006675 | 0 | 0 | 0 | 0 | 0.007813 | 0 | 1 | 0 | false | 0 | 0.028037 | 0 | 0.981308 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
3d1123e5247997e1a82f2a993be0eeaa628d8680 | 213 | py | Python | pescador/__init__.py | beasteers/pescador | dff2c75e5cbfaa5b03c7fd94ccfc546658bed600 | [
"0BSD"
] | 67 | 2016-08-23T12:42:27.000Z | 2022-03-22T09:55:35.000Z | pescador/__init__.py | beasteers/pescador | dff2c75e5cbfaa5b03c7fd94ccfc546658bed600 | [
"0BSD"
] | 112 | 2016-08-22T23:10:53.000Z | 2020-12-24T13:58:42.000Z | pescador/__init__.py | beasteers/pescador | dff2c75e5cbfaa5b03c7fd94ccfc546658bed600 | [
"0BSD"
] | 11 | 2017-03-19T00:59:50.000Z | 2020-07-14T15:12:06.000Z | #!/usr/bin/env python
'''Pescador streaming learning'''
from .exceptions import *
from .core import *
from .maps import *
from .mux import *
from .zmq_stream import *
from .version import version as __version__
| 19.363636 | 43 | 0.741784 | 29 | 213 | 5.275862 | 0.586207 | 0.326797 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15493 | 213 | 10 | 44 | 21.3 | 0.85 | 0.225352 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3d1e8c65366cd4c122b33879a5f61a1f6adbbef3 | 157 | py | Python | app/cogs/slash/__init__.py | fossabot/Starboard-2 | 798e2d04995ae7d920e76708b9ea8fae6f4af319 | [
"MIT"
] | null | null | null | app/cogs/slash/__init__.py | fossabot/Starboard-2 | 798e2d04995ae7d920e76708b9ea8fae6f4af319 | [
"MIT"
] | null | null | null | app/cogs/slash/__init__.py | fossabot/Starboard-2 | 798e2d04995ae7d920e76708b9ea8fae6f4af319 | [
"MIT"
] | null | null | null | from app.classes.bot import Bot
from . import slash_commands, slash_events
def setup(bot: Bot):
slash_commands.setup(bot)
slash_events.setup(bot)
| 17.444444 | 42 | 0.751592 | 24 | 157 | 4.75 | 0.416667 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159236 | 157 | 8 | 43 | 19.625 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3d24bd26b0c82fc713bac1cbe73fbd78a71351a3 | 159 | py | Python | src/NotYetSelfAware/layers/activations/__init__.py | ezalos/NotYetSelfAware | aa8374d24259be9c93b9b5fc00c07f03538a79df | [
"MIT"
] | 1 | 2021-10-02T09:17:46.000Z | 2021-10-02T09:17:46.000Z | src/NotYetSelfAware/layers/activations/__init__.py | ezalos/NotYetSelfAware | aa8374d24259be9c93b9b5fc00c07f03538a79df | [
"MIT"
] | null | null | null | src/NotYetSelfAware/layers/activations/__init__.py | ezalos/NotYetSelfAware | aa8374d24259be9c93b9b5fc00c07f03538a79df | [
"MIT"
] | null | null | null | from .reLU import ReLU
from .leakyReLU import LeakyReLU
from .sigmoid import Sigmoid
from .tanh import Tanh
from .linear import LU
from .softmax import Softmax | 26.5 | 32 | 0.81761 | 24 | 159 | 5.416667 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144654 | 159 | 6 | 33 | 26.5 | 0.955882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3d42fd93d969b1844b748f3b42a6a235d2d26c02 | 54 | py | Python | pandas/core/matrix.py | breisfeld/pandas | f1fd50bb8e7603042fe93e01e862766673e33450 | [
"BSD-3-Clause"
] | 652 | 2015-07-26T00:00:17.000Z | 2022-02-24T18:30:04.000Z | pandas/core/matrix.py | breisfeld/pandas | f1fd50bb8e7603042fe93e01e862766673e33450 | [
"BSD-3-Clause"
] | 8 | 2015-09-07T03:38:19.000Z | 2021-05-23T03:18:51.000Z | pandas/core/matrix.py | breisfeld/pandas | f1fd50bb8e7603042fe93e01e862766673e33450 | [
"BSD-3-Clause"
] | 40 | 2015-07-24T19:45:08.000Z | 2021-11-01T14:54:56.000Z | from pandas.core.frame import DataFrame as DataMatrix
| 27 | 53 | 0.851852 | 8 | 54 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 54 | 1 | 54 | 54 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3d4a592cf8693f32d34547436ac74f3a181f3c98 | 1,455 | py | Python | largest_continuous_product/tests.py | McCoubs/project-euler | 7acc2fc26e4e36411bafd2bc6d09b17ac4aa9546 | [
"MIT"
] | null | null | null | largest_continuous_product/tests.py | McCoubs/project-euler | 7acc2fc26e4e36411bafd2bc6d09b17ac4aa9546 | [
"MIT"
] | null | null | null | largest_continuous_product/tests.py | McCoubs/project-euler | 7acc2fc26e4e36411bafd2bc6d09b17ac4aa9546 | [
"MIT"
] | null | null | null | import unittest
from largest_continuous_product.largest_continuous_product import largest_continuous_product
class TestLargestContinuousProduct(unittest.TestCase):
def test_string_input(self):
self.assertRaises(TypeError, largest_continuous_product, "123", "string")
def test_none_input(self):
... | 33.837209 | 92 | 0.745704 | 169 | 1,455 | 6.059172 | 0.307692 | 0.232422 | 0.328125 | 0.146484 | 0.609375 | 0.609375 | 0.567383 | 0.567383 | 0.178711 | 0 | 0 | 0.070962 | 0.157388 | 1,455 | 42 | 93 | 34.642857 | 0.764274 | 0 | 0 | 0 | 0 | 0 | 0.053608 | 0 | 0 | 0 | 0 | 0 | 0.407407 | 1 | 0.407407 | false | 0 | 0.074074 | 0 | 0.518519 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
3d53bbe8e494f18b629519b2cff7b7d013d37fa3 | 16 | py | Python | day3.py | murdai/Image-Processing | 620a8a771456bb590a1a741770ea757463df5d10 | [
"MIT"
] | null | null | null | day3.py | murdai/Image-Processing | 620a8a771456bb590a1a741770ea757463df5d10 | [
"MIT"
] | null | null | null | day3.py | murdai/Image-Processing | 620a8a771456bb590a1a741770ea757463df5d10 | [
"MIT"
] | null | null | null | print("sanjay")
| 8 | 15 | 0.6875 | 2 | 16 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 16 | 1 | 16 | 16 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
3d5432fe6cc632c94adcc1fd3635374b01c38c0d | 156 | py | Python | libs/utils/__init__.py | raven38/deeplab-pytorch | de1c1765eab127a5ddffbc8d20d9eb5fff5dc0b3 | [
"MIT"
] | null | null | null | libs/utils/__init__.py | raven38/deeplab-pytorch | de1c1765eab127a5ddffbc8d20d9eb5fff5dc0b3 | [
"MIT"
] | null | null | null | libs/utils/__init__.py | raven38/deeplab-pytorch | de1c1765eab127a5ddffbc8d20d9eb5fff5dc0b3 | [
"MIT"
] | null | null | null | from __future__ import absolute_import
try:
from .crf import DenseCRF
except:
...
from .lr_scheduler import PolynomialLR
from .metric import scores
| 19.5 | 38 | 0.775641 | 20 | 156 | 5.75 | 0.65 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173077 | 156 | 7 | 39 | 22.285714 | 0.891473 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.571429 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
3d594d2b9d26d7ff27d2d6df617a72ad0185b754 | 157 | py | Python | TygerCaddy/dns/admin.py | jlesage/TygerCaddy | 7db12c6525fba261110a0da0315bac731bbfc121 | [
"MIT"
] | 2 | 2022-01-07T23:06:34.000Z | 2022-01-27T18:20:05.000Z | TygerCaddy/dns/admin.py | jlesage/TygerCaddy | 7db12c6525fba261110a0da0315bac731bbfc121 | [
"MIT"
] | null | null | null | TygerCaddy/dns/admin.py | jlesage/TygerCaddy | 7db12c6525fba261110a0da0315bac731bbfc121 | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from .models import DNS, EVariables
admin.site.register(DNS)
admin.site.register(EVariables)
| 19.625 | 35 | 0.802548 | 22 | 157 | 5.727273 | 0.545455 | 0.142857 | 0.269841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11465 | 157 | 7 | 36 | 22.428571 | 0.906475 | 0.165605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1815954487f1be58dd29dd5e8ee4f8772b9ec249 | 239 | py | Python | apps/api/v1/maps/serializers.py | silverlogic/bit-tag-api | 22bc1d79b3d48493ff3880f4c976c4e7c8135973 | [
"MIT"
] | null | null | null | apps/api/v1/maps/serializers.py | silverlogic/bit-tag-api | 22bc1d79b3d48493ff3880f4c976c4e7c8135973 | [
"MIT"
] | null | null | null | apps/api/v1/maps/serializers.py | silverlogic/bit-tag-api | 22bc1d79b3d48493ff3880f4c976c4e7c8135973 | [
"MIT"
] | null | null | null | from apps.maps.models import PointOfInterest
from ...serializers import ModelSerializer
class PointOfInterestSerializer(ModelSerializer):
class Meta:
model = PointOfInterest
fields = ('id', 'name', 'type', 'point',)
| 23.9 | 49 | 0.711297 | 22 | 239 | 7.727273 | 0.772727 | 0.235294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1841 | 239 | 9 | 50 | 26.555556 | 0.871795 | 0 | 0 | 0 | 0 | 0 | 0.062762 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
182b627a39a03af7e70da8f5433bc8042e32695d | 45 | py | Python | global_id/tests/views/__init__.py | ThePokerFaCcCe/messenger | 2db3d5c2ccd05ac40d2442a13d664ca9ad3cb14c | [
"MIT"
] | null | null | null | global_id/tests/views/__init__.py | ThePokerFaCcCe/messenger | 2db3d5c2ccd05ac40d2442a13d664ca9ad3cb14c | [
"MIT"
] | null | null | null | global_id/tests/views/__init__.py | ThePokerFaCcCe/messenger | 2db3d5c2ccd05ac40d2442a13d664ca9ad3cb14c | [
"MIT"
] | null | null | null | from .fake_chat_views import FakeChatViewSet
| 22.5 | 44 | 0.888889 | 6 | 45 | 6.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 45 | 1 | 45 | 45 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1836250b851dc0e7c7b014ec2e4f028d78f9fc2a | 238 | py | Python | python_code/animation_main/DotAgent.py | cholazzzb/APF_Swarm_Control_Simulator | a58a1f55cd709f12928cc31d2320f7833d761c50 | [
"MIT"
] | 2 | 2021-12-21T00:39:46.000Z | 2022-02-28T11:11:27.000Z | python_code/animation_main/DotAgent.py | cholazzzb/APF_Swarm_Control_Simulator | a58a1f55cd709f12928cc31d2320f7833d761c50 | [
"MIT"
] | 1 | 2021-02-03T13:24:13.000Z | 2021-02-03T23:56:33.000Z | python_code/animation_main/DotAgent.py | cholazzzb/APF_Swarm_Control_Simulator | a58a1f55cd709f12928cc31d2320f7833d761c50 | [
"MIT"
] | 1 | 2021-04-16T18:25:15.000Z | 2021-04-16T18:25:15.000Z | import numpy as np
class DotAgent(object):
def __init__(self, initialPosition):
self.position = np.array(initialPosition)
def getBodyPosition(self):
return np.array([self.position, self.position], dtype="object") | 29.75 | 71 | 0.705882 | 28 | 238 | 5.857143 | 0.571429 | 0.219512 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180672 | 238 | 8 | 71 | 29.75 | 0.841026 | 0 | 0 | 0 | 0 | 0 | 0.025105 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.166667 | 0.166667 | 0.833333 | 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 | 1 | 0 | 0 | 0 | 5 |
186b9f713d1c9e4417ab056e2f380b09a44cfa67 | 68,406 | py | Python | src/sepsesam/api.py | wegenerbenjamin/sepsesam | 58f34e522e25325e08f3e5a296d47f8ed9153d59 | [
"MIT"
] | 2 | 2021-05-28T15:30:38.000Z | 2021-05-29T07:21:02.000Z | src/sepsesam/api.py | wegenerbenjamin/sepsesam | 58f34e522e25325e08f3e5a296d47f8ed9153d59 | [
"MIT"
] | 1 | 2021-11-23T09:23:18.000Z | 2021-11-23T09:23:18.000Z | src/sepsesam/api.py | wegenerbenjamin/sepsesam | 58f34e522e25325e08f3e5a296d47f8ed9153d59 | [
"MIT"
] | 2 | 2021-05-29T12:27:02.000Z | 2021-05-30T06:40:35.000Z | # -*- coding: utf-8 -*-
"""
SEP Sesam REST API Wrapper
"""
# import python libraries
import logging
import uuid
import pprint
import json.decoder
import collections.abc
# import third-party libraries
import requests
# globals
ERROR_CODES = {
400: {
"error": "CLIENT_ERROR_BAD_REQUEST",
"message": ... | 36.405535 | 152 | 0.595562 | 7,983 | 68,406 | 5.017663 | 0.056245 | 0.040144 | 0.038945 | 0.059716 | 0.800005 | 0.771844 | 0.733748 | 0.7142 | 0.690758 | 0.654234 | 0 | 0.00367 | 0.279113 | 68,406 | 1,878 | 153 | 36.42492 | 0.80861 | 0.17345 | 0 | 0.684603 | 0 | 0 | 0.141248 | 0.043959 | 0 | 0 | 0 | 0 | 0 | 1 | 0.100993 | false | 0.028146 | 0.004967 | 0 | 0.205298 | 0.081954 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1873725045da71101238429bc3731b253b43efb3 | 213 | py | Python | Chapter06/Code/Edge Code/heater.py | PacktPublishing/Hands-On-Edge-Analytics-with-Azure-IoT | de51828e99ef60f24657d6d5e78a33f727bc0419 | [
"MIT"
] | 4 | 2021-01-01T18:54:13.000Z | 2022-02-10T16:08:23.000Z | Chapter06/Code/Edge Code/heater.py | keeyen88/Hands-On-Edge-Analytics-with-Azure-IoT | de51828e99ef60f24657d6d5e78a33f727bc0419 | [
"MIT"
] | null | null | null | Chapter06/Code/Edge Code/heater.py | keeyen88/Hands-On-Edge-Analytics-with-Azure-IoT | de51828e99ef60f24657d6d5e78a33f727bc0419 | [
"MIT"
] | 2 | 2020-08-25T17:05:49.000Z | 2021-04-02T03:32:43.000Z | import pycom
class Heater:
def __init__(self):
pycom.heartbeat(False)
def on(self):
pycom.rgbled(0xFF0000) # Red
def off(self):
pycom.rgbled(0x000000) # Black
| 16.384615 | 40 | 0.568075 | 24 | 213 | 4.875 | 0.666667 | 0.230769 | 0.25641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084507 | 0.333333 | 213 | 12 | 41 | 17.75 | 0.739437 | 0.042254 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084656 | 0 | 0 | 1 | 0.375 | false | 0 | 0.125 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
1879e62673ffc64e5cdf9956f0d822da742477b5 | 28 | py | Python | python/testData/intentions/PyConvertToFStringIntentionTest/formatMethodGluedString.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/intentions/PyConvertToFStringIntentionTest/formatMethodGluedString.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/intentions/PyConvertToFStringIntentionTest/formatMethodGluedString.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | '{}' '{}'.format('foo', 42)
| 14 | 27 | 0.392857 | 3 | 28 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.107143 | 28 | 1 | 28 | 28 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
43e7088eff62db49fbf66dc08e859f15bfddefaa | 1,028 | py | Python | test/PR_test/integration_test/backend/test_get_lr.py | hanskrupakar/fastestimator | 1c3fe89ad8b012991b524a6c48f328b2a80dc9f6 | [
"Apache-2.0"
] | null | null | null | test/PR_test/integration_test/backend/test_get_lr.py | hanskrupakar/fastestimator | 1c3fe89ad8b012991b524a6c48f328b2a80dc9f6 | [
"Apache-2.0"
] | null | null | null | test/PR_test/integration_test/backend/test_get_lr.py | hanskrupakar/fastestimator | 1c3fe89ad8b012991b524a6c48f328b2a80dc9f6 | [
"Apache-2.0"
] | null | null | null | import unittest
import numpy as np
import tensorflow as tf
import torch
import fastestimator as fe
from fastestimator.test.unittest_util import is_equal
class TestGetLr(unittest.TestCase):
def test_get_lr_tf(self):
m = fe.build(fe.architecture.tensorflow.LeNet, optimizer_fn=lambda: tf.optimizers.Adam(1e... | 34.266667 | 111 | 0.692607 | 164 | 1,028 | 4.243902 | 0.268293 | 0.043103 | 0.045977 | 0.057471 | 0.727011 | 0.727011 | 0.715517 | 0.715517 | 0.715517 | 0.715517 | 0 | 0.018913 | 0.177043 | 1,028 | 29 | 112 | 35.448276 | 0.803783 | 0 | 0 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 1 | 0.095238 | false | 0 | 0.285714 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
43e724d53493c9740ac4df03961f79e15849f7d1 | 293 | py | Python | pydrepr/drepr/models/__init__.py | scorpio975/d-repr | 1d08024192642233d42d29e1d05f8713ee265bca | [
"MIT"
] | 5 | 2019-10-02T01:04:50.000Z | 2022-03-08T09:39:50.000Z | pydrepr/drepr/models/__init__.py | scorpio975/d-repr | 1d08024192642233d42d29e1d05f8713ee265bca | [
"MIT"
] | 3 | 2020-06-13T22:09:48.000Z | 2021-04-23T08:23:49.000Z | pydrepr/drepr/models/__init__.py | scorpio975/d-repr | 1d08024192642233d42d29e1d05f8713ee265bca | [
"MIT"
] | 5 | 2019-10-02T03:01:27.000Z | 2021-02-02T13:34:35.000Z | from .drepr import *
from .drepr_builder import *
from .align import *
from .attr import *
from .sm import *
from .preprocessing import *
from .resource import *
from .path import *
from .parse_v1.resource_parser import ResourceParser
DEFAULT_RESOURCE_ID = ResourceParser.DEFAULT_RESOURCE_ID
| 24.416667 | 56 | 0.795222 | 39 | 293 | 5.794872 | 0.410256 | 0.353982 | 0.256637 | 0.274336 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003953 | 0.136519 | 293 | 11 | 57 | 26.636364 | 0.889328 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.9 | 0 | 0.9 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a139dd600e1312b874d805ee2ea939995180463f | 2,053 | py | Python | tests/test_settings.py | redb0/global-optimization | 82a9624f5b92fa012e4dadec8451053f590e71db | [
"MIT"
] | 2 | 2018-08-02T20:39:24.000Z | 2020-12-02T08:37:23.000Z | tests/test_settings.py | redb0/global-optimization | 82a9624f5b92fa012e4dadec8451053f590e71db | [
"MIT"
] | null | null | null | tests/test_settings.py | redb0/global-optimization | 82a9624f5b92fa012e4dadec8451053f590e71db | [
"MIT"
] | null | null | null | import pytest
from Settings import Settings
class TestSettings:
def setup(self):
self.settings = Settings()
def teardown(self):
pass
def test_min_flag(self):
assert self.settings.min_flag == 1
self.settings.min_flag = 1.2
assert self.settings.min_flag == 1
... | 33.112903 | 118 | 0.652703 | 274 | 2,053 | 4.686131 | 0.153285 | 0.336449 | 0.266355 | 0.124611 | 0.802181 | 0.747664 | 0.657321 | 0.562305 | 0.562305 | 0.490654 | 0 | 0.040842 | 0.236727 | 2,053 | 61 | 119 | 33.655738 | 0.778558 | 0 | 0 | 0.26087 | 0 | 0 | 0.101315 | 0.096931 | 0 | 0 | 0 | 0 | 0.413043 | 1 | 0.130435 | false | 0.021739 | 0.043478 | 0 | 0.195652 | 0.021739 | 0 | 0 | 0 | null | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a13ba0ab7b10d29396c60d03d3eddd79945c9752 | 136,945 | py | Python | diana/classes/goatools/test_data/goids_GOATOOLS_Consistent_Increase.py | quimaguirre/diana | 930da0ea91ad87e354061af18db6c437a3318366 | [
"MIT"
] | 3 | 2019-07-11T05:32:13.000Z | 2021-03-12T01:10:21.000Z | diana/classes/goatools/test_data/goids_GOATOOLS_Consistent_Increase.py | quimaguirre/diana | 930da0ea91ad87e354061af18db6c437a3318366 | [
"MIT"
] | null | null | null | diana/classes/goatools/test_data/goids_GOATOOLS_Consistent_Increase.py | quimaguirre/diana | 930da0ea91ad87e354061af18db6c437a3318366 | [
"MIT"
] | 1 | 2019-02-12T13:45:42.000Z | 2019-02-12T13:45:42.000Z | """GOATOOLS GOEA on 2015 Gjoneska data using go-basic.obo: fmt(1.2) rel(2017-01-12) 47,943 GO Terms"""
# Created: 2017-01-13
import collections as cx
nt_fields = [
"p_uncorrected",
"study_count",
"study_n",
"namespace",
"p_fdr_bh",
"study_items",
"NS",
"pop_items",
"pop_n",
"p_... | 1,304.238095 | 10,983 | 0.802687 | 14,862 | 136,945 | 7.311196 | 0.129323 | 0.006 | 0.007123 | 0.006626 | 0.43874 | 0.347574 | 0.324317 | 0.282259 | 0.262767 | 0.236225 | 0 | 0.395092 | 0.056943 | 136,945 | 104 | 10,984 | 1,316.778846 | 0.446267 | 0.00092 | 0 | 0 | 0 | 0.164948 | 0.646683 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.010309 | 0 | 0.010309 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a1778f3260c1e6e4881945b459e8656b679ad7a5 | 30 | py | Python | python/testData/resolve/multiFile/importPrivateNameWithStar/b.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/resolve/multiFile/importPrivateNameWithStar/b.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/resolve/multiFile/importPrivateNameWithStar/b.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class __Private(object): pass
| 15 | 29 | 0.8 | 4 | 30 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
a18703f561f693d2e4162b33ffcc797aeeb7e5df | 408 | py | Python | remove_digits.py | SparkDevTeams/AI-Fall-2020 | b71e6b593f157f2d745d7eebb754dca7123e1e08 | [
"MIT"
] | 6 | 2020-09-22T21:02:47.000Z | 2020-10-24T00:16:04.000Z | remove_digits.py | SparkDevTeams/AI-Fall-2020 | b71e6b593f157f2d745d7eebb754dca7123e1e08 | [
"MIT"
] | 1 | 2020-11-05T19:44:51.000Z | 2020-11-05T19:44:51.000Z | remove_digits.py | SparkDevTeams/AI-Fall-2020 | b71e6b593f157f2d745d7eebb754dca7123e1e08 | [
"MIT"
] | 1 | 2021-01-20T18:55:23.000Z | 2021-01-20T18:55:23.000Z | import csv
import pandas as pd
import string
#review = pd.read_csv('/Users/alonzofamily5/Desktop/AI-Fall-2020-Dev/Export1.csv')
#csv_f = csv.reader(review)
def remove_dig():
review['reviewText'] = review['reviewText'].str.replace(r'\d+', '')
print(review['reviewText'].head(48))
# review['reviewText'] = r... | 27.2 | 82 | 0.676471 | 55 | 408 | 4.963636 | 0.527273 | 0.351648 | 0.161172 | 0.234432 | 0.520147 | 0.520147 | 0.520147 | 0.520147 | 0.520147 | 0.520147 | 0 | 0.027778 | 0.117647 | 408 | 14 | 83 | 29.142857 | 0.730556 | 0.519608 | 0 | 0 | 0 | 0 | 0.172775 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0 | 0.666667 | 0.166667 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a1a2bf49ed9c3cde25d39bd9f9300f9d86e37d87 | 126 | py | Python | sanic/__init__.py | BananaWanted/sanic | c2b6451c7869f761d3d9d50d4782efff5beedcfa | [
"MIT"
] | 1 | 2019-06-17T05:50:11.000Z | 2019-06-17T05:50:11.000Z | sanic/__init__.py | BananaWanted/sanic | c2b6451c7869f761d3d9d50d4782efff5beedcfa | [
"MIT"
] | null | null | null | sanic/__init__.py | BananaWanted/sanic | c2b6451c7869f761d3d9d50d4782efff5beedcfa | [
"MIT"
] | null | null | null | from sanic.app import Sanic
from sanic.blueprints import Blueprint
__version__ = "19.6.0"
__all__ = ["Sanic", "Blueprint"]
| 15.75 | 38 | 0.738095 | 17 | 126 | 5 | 0.647059 | 0.211765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.142857 | 126 | 7 | 39 | 18 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.15873 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
a1aa636b97de5eaffb9043e0aa4c37f71d0d2404 | 56 | py | Python | String_Manupulation.py | mcjohnchristopher/Python_Samples | 738f3b7d9baa7f4e396647f380118eba66ea645c | [
"CC0-1.0"
] | null | null | null | String_Manupulation.py | mcjohnchristopher/Python_Samples | 738f3b7d9baa7f4e396647f380118eba66ea645c | [
"CC0-1.0"
] | null | null | null | String_Manupulation.py | mcjohnchristopher/Python_Samples | 738f3b7d9baa7f4e396647f380118eba66ea645c | [
"CC0-1.0"
] | null | null | null | word = 'Jeni'
print (word)
word[2] = m
print word | 9.333333 | 14 | 0.571429 | 9 | 56 | 3.555556 | 0.555556 | 0.5625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025 | 0.285714 | 56 | 6 | 15 | 9.333333 | 0.775 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
a1d3390b43214f386f506787400cefe2700b998a | 4,697 | py | Python | types/methods/pretty_cards.py | StepaTa/vkbottle | 3b04a5343380cbabe782151e7cb1c1645a9fa9ce | [
"MIT"
] | null | null | null | types/methods/pretty_cards.py | StepaTa/vkbottle | 3b04a5343380cbabe782151e7cb1c1645a9fa9ce | [
"MIT"
] | null | null | null | types/methods/pretty_cards.py | StepaTa/vkbottle | 3b04a5343380cbabe782151e7cb1c1645a9fa9ce | [
"MIT"
] | null | null | null | # Generated with love
import typing
from .access import APIAccessibility
from .method import BaseMethod
class PrettycardsCreate(BaseMethod):
kwargs: dict = {}
access_token_type: APIAccessibility = [APIAccessibility.USER]
async def __call__(
self,
owner_id: int,
title: str,
... | 28.125749 | 75 | 0.5561 | 535 | 4,697 | 4.747664 | 0.142056 | 0.027559 | 0.047244 | 0.061417 | 0.704724 | 0.704724 | 0.704724 | 0.704724 | 0.692913 | 0.692913 | 0 | 0.001913 | 0.332127 | 4,697 | 166 | 76 | 28.295181 | 0.807778 | 0.004045 | 0 | 0.565217 | 1 | 0 | 0.039084 | 0.0067 | 0 | 0 | 0 | 0 | 0 | 1 | 0.01087 | false | 0 | 0.032609 | 0 | 0.315217 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a1ee63ddc1eed0bbbd2671c8fe7d1b2a6e70521b | 294 | py | Python | graphs/views/__init__.py | CSI-BennettUniversity/Sample-Project-1 | 23197352372b7ad00a026683477b5a95a4178e35 | [
"MIT"
] | 5 | 2020-07-30T16:47:30.000Z | 2021-02-15T16:44:59.000Z | graphs/views/__init__.py | CSI-BennettUniversity/Sample-Project-1 | 23197352372b7ad00a026683477b5a95a4178e35 | [
"MIT"
] | 4 | 2021-06-04T23:42:41.000Z | 2021-09-11T03:17:12.000Z | graphs/views/__init__.py | CSI-BennettUniversity/Sample-Project-1 | 23197352372b7ad00a026683477b5a95a4178e35 | [
"MIT"
] | 7 | 2020-07-05T14:29:17.000Z | 2021-06-05T14:34:20.000Z | from .vanilla import (
ComparisonResultView,
multiple_result_view,
IndividualResultView,
MultipleResultView
)
from .api import update_accuracy
__all__ = [
'ComparisonResultView', 'multiple_result_view', 'IndividualResultView',
'MultipleResultView', 'update_accuracy'
]
| 22.615385 | 75 | 0.758503 | 23 | 294 | 9.26087 | 0.565217 | 0.262911 | 0.319249 | 0.356808 | 0.713615 | 0.713615 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159864 | 294 | 12 | 76 | 24.5 | 0.862348 | 0 | 0 | 0 | 0 | 0 | 0.316327 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.181818 | 0 | 0.181818 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
629fd50f15628aa823830775d748aa656762cd6f | 104 | py | Python | room_sensor_api/routes.py | FIUS/RoomSensorApi | f3e3548e7cacfac9da5ef75613ac949576ddc90a | [
"Apache-2.0"
] | null | null | null | room_sensor_api/routes.py | FIUS/RoomSensorApi | f3e3548e7cacfac9da5ef75613ac949576ddc90a | [
"Apache-2.0"
] | null | null | null | room_sensor_api/routes.py | FIUS/RoomSensorApi | f3e3548e7cacfac9da5ef75613ac949576ddc90a | [
"Apache-2.0"
] | null | null | null | from . import APP
from . import api
if APP.config.get('DEBUG', False):
from . import debug_routes
| 14.857143 | 34 | 0.692308 | 16 | 104 | 4.4375 | 0.625 | 0.422535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201923 | 104 | 6 | 35 | 17.333333 | 0.855422 | 0 | 0 | 0 | 0 | 0 | 0.048077 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
62b17fdff8337758387b92e979fedd760b751fd2 | 90 | py | Python | test/__init__.py | Euraxluo/distance_matrix | 680e3147c263ea5f1abb26998aeb0b1985442a4b | [
"MIT"
] | 1 | 2022-03-15T06:47:36.000Z | 2022-03-15T06:47:36.000Z | test/__init__.py | Euraxluo/distance_matrix | 680e3147c263ea5f1abb26998aeb0b1985442a4b | [
"MIT"
] | null | null | null | test/__init__.py | Euraxluo/distance_matrix | 680e3147c263ea5f1abb26998aeb0b1985442a4b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Time: 2022-03-07 18:56
# Copyright (c) 2022
# author: Euraxluo
| 18 | 24 | 0.6 | 14 | 90 | 3.857143 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.232877 | 0.188889 | 90 | 4 | 25 | 22.5 | 0.506849 | 0.9 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
62bcac1be67614fc85990c33f63abd1b99f6b91e | 155 | py | Python | MovieRecommendationApp/web/admin.py | Harshvardhan1999/Movie-Recommendation-System-Web-Application | 6e04d308d9ba99e555ebdfd616b278ded391aa0c | [
"Apache-2.0"
] | 133 | 2018-07-22T15:03:09.000Z | 2022-03-29T09:04:10.000Z | MovieRecommendationApp/web/admin.py | Harshvardhan1999/Movie-Recommendation-System-Web-Application | 6e04d308d9ba99e555ebdfd616b278ded391aa0c | [
"Apache-2.0"
] | 3 | 2019-08-10T03:40:23.000Z | 2020-06-05T18:38:44.000Z | MovieRecommendationApp/web/admin.py | Harshvardhan1999/Movie-Recommendation-System-Web-Application | 6e04d308d9ba99e555ebdfd616b278ded391aa0c | [
"Apache-2.0"
] | 70 | 2019-03-03T22:21:45.000Z | 2022-02-25T12:55:23.000Z | from django.contrib import admin
from .models import Movie,Myrating
admin.site.register(Movie)
admin.site.register(Myrating)
# Register your models here.
| 22.142857 | 34 | 0.812903 | 22 | 155 | 5.727273 | 0.545455 | 0.142857 | 0.269841 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103226 | 155 | 6 | 35 | 25.833333 | 0.906475 | 0.167742 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
62c82942b7c78b0d705130489725c7ae58090e97 | 130 | py | Python | unit_test_basic/app1/tests/test_ex1.py | bluebamus/django_pytest | 2a2e6b070e3f23616119f1661eee25722c770eb2 | [
"MIT"
] | null | null | null | unit_test_basic/app1/tests/test_ex1.py | bluebamus/django_pytest | 2a2e6b070e3f23616119f1661eee25722c770eb2 | [
"MIT"
] | null | null | null | unit_test_basic/app1/tests/test_ex1.py | bluebamus/django_pytest | 2a2e6b070e3f23616119f1661eee25722c770eb2 | [
"MIT"
] | null | null | null | import pytest
def test_example():
print("222 테스트 코드 입니다")
assert 1 ==1
def test_failed_example1():
assert 1 == 1
| 14.444444 | 28 | 0.630769 | 20 | 130 | 3.95 | 0.7 | 0.177215 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.083333 | 0.261538 | 130 | 8 | 29 | 16.25 | 0.739583 | 0 | 0 | 0.333333 | 0 | 0 | 0.107692 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | true | 0 | 0.166667 | 0 | 0.5 | 0.166667 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
62dd826257aa3dc88da44e8fb570b4572aaf7b40 | 310 | py | Python | test/test_meta.py | philipphessler/asysync | 9540eee15a23daf5c1b4e38c39e44c460bd10897 | [
"MIT"
] | null | null | null | test/test_meta.py | philipphessler/asysync | 9540eee15a23daf5c1b4e38c39e44c460bd10897 | [
"MIT"
] | 35 | 2019-04-30T22:34:16.000Z | 2019-09-20T22:07:58.000Z | test/test_meta.py | philipphessler/asysync | 9540eee15a23daf5c1b4e38c39e44c460bd10897 | [
"MIT"
] | null | null | null | import asysync
def test___author___is_set():
assert hasattr(asysync, "__author__")
def test___email___is_set():
assert hasattr(asysync, "__email__")
def test___version___is_set():
assert hasattr(asysync, "__version__")
def test___license___is_set():
assert hasattr(asysync, "__license__")
| 20.666667 | 42 | 0.758065 | 38 | 310 | 5.026316 | 0.315789 | 0.146597 | 0.230366 | 0.376963 | 0.52356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.13871 | 310 | 14 | 43 | 22.142857 | 0.715356 | 0 | 0 | 0 | 0 | 0 | 0.132258 | 0 | 0 | 0 | 0 | 0 | 0.444444 | 1 | 0.444444 | true | 0 | 0.111111 | 0 | 0.555556 | 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 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
62ddc5a7e62594b808fa89a325e04535ecb5a7a7 | 25 | py | Python | shivyc/tree/__init__.py | cmm-compiler/ShivyC | 56a5b73cadc7f300832589367fe5c0ce04414d23 | [
"MIT"
] | 953 | 2016-09-16T16:46:16.000Z | 2022-03-19T20:05:27.000Z | shivyc/tree/__init__.py | me2nuk/ShivyC | e7d72eff237e1ef49ec70333497348baf86be425 | [
"MIT"
] | 111 | 2016-07-15T05:36:14.000Z | 2021-06-06T21:51:20.000Z | shivyc/tree/__init__.py | me2nuk/ShivyC | e7d72eff237e1ef49ec70333497348baf86be425 | [
"MIT"
] | 86 | 2018-03-31T01:58:14.000Z | 2022-03-22T04:35:38.000Z | """Dummy __init__.py."""
| 12.5 | 24 | 0.6 | 3 | 25 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 25 | 1 | 25 | 25 | 0.478261 | 0.72 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
62f814efcd00b604ec8951749cf152a48805ccbd | 132 | py | Python | competitive/AtCoder/sumitrust2019/A.py | pn11/benkyokai | 9ebdc46b529e76b7196add26dbc1e62ad48e72b0 | [
"MIT"
] | null | null | null | competitive/AtCoder/sumitrust2019/A.py | pn11/benkyokai | 9ebdc46b529e76b7196add26dbc1e62ad48e72b0 | [
"MIT"
] | 22 | 2020-03-24T16:24:47.000Z | 2022-02-26T15:51:18.000Z | competitive/AtCoder/sumitrust2019/A.py | pn11/benkyokai | 9ebdc46b529e76b7196add26dbc1e62ad48e72b0 | [
"MIT"
] | null | null | null | M1, D1 = [int(x) for x in input().split()]
M2, D2 = [int(x) for x in input().split()]
if M1 != M2:
print(1)
else:
print(0)
| 16.5 | 42 | 0.530303 | 26 | 132 | 2.692308 | 0.576923 | 0.114286 | 0.2 | 0.228571 | 0.571429 | 0.571429 | 0.571429 | 0 | 0 | 0 | 0 | 0.08 | 0.242424 | 132 | 7 | 43 | 18.857143 | 0.62 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
62faedbe5ff5803b48f5461686d4fe814ba85250 | 6,113 | py | Python | masking.py | cliang1453/super-structured-lottery-tickets | caad8b6618831cfde9ba764bfe27ab7564dfda60 | [
"MIT"
] | 10 | 2021-06-09T06:32:25.000Z | 2022-03-25T14:23:10.000Z | masking.py | cliang1453/super-structured-lottery-tickets | caad8b6618831cfde9ba764bfe27ab7564dfda60 | [
"MIT"
] | 1 | 2021-12-10T06:31:38.000Z | 2021-12-11T06:12:42.000Z | masking.py | cliang1453/super-structured-lottery-tickets | caad8b6618831cfde9ba764bfe27ab7564dfda60 | [
"MIT"
] | 1 | 2021-07-28T20:10:58.000Z | 2021-07-28T20:10:58.000Z | from math import sqrt
from logger import logger
import torch
import math
def determine_masking_sequence(args, n_heads=0, n_layers=0):
mask_number = args.mask_number
if mask_number is None:
# Compute the number of heads to prune on percentage if needed
mask_number = []
for prun... | 35.540698 | 101 | 0.586782 | 816 | 6,113 | 4.117647 | 0.134804 | 0.069643 | 0.088393 | 0.075 | 0.775595 | 0.756845 | 0.733036 | 0.728869 | 0.728869 | 0.728869 | 0 | 0.007704 | 0.341731 | 6,113 | 171 | 102 | 35.748538 | 0.827286 | 0.113692 | 0 | 0.671875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 1 | 0.03125 | false | 0 | 0.078125 | 0 | 0.140625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1a03256efe5c3ac9d7ec28fbc6f046ec45e8f655 | 21 | py | Python | src/ralph_assets/__init__.py | kula1922/ralph_assets | 613d9ae716a51cdfc76669f2b1e3391073b77da2 | [
"Apache-2.0"
] | null | null | null | src/ralph_assets/__init__.py | kula1922/ralph_assets | 613d9ae716a51cdfc76669f2b1e3391073b77da2 | [
"Apache-2.0"
] | null | null | null | src/ralph_assets/__init__.py | kula1922/ralph_assets | 613d9ae716a51cdfc76669f2b1e3391073b77da2 | [
"Apache-2.0"
] | null | null | null | VERSION = (1, 2, 13)
| 10.5 | 20 | 0.52381 | 4 | 21 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 0.238095 | 21 | 1 | 21 | 21 | 0.4375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1a0b5b102c80cfc0f231b76edba1476f163ac5de | 4,472 | py | Python | helper/nuker.py | AmitGamingKing/xyno-selfbot | 12c59bf654066e0fb5fecf854653adf0cda1e3e0 | [
"MIT"
] | 9 | 2021-09-28T08:06:26.000Z | 2022-01-23T22:20:43.000Z | helper/nuker.py | AmitGamingKing/xyno-selfbot | 12c59bf654066e0fb5fecf854653adf0cda1e3e0 | [
"MIT"
] | null | null | null | helper/nuker.py | AmitGamingKing/xyno-selfbot | 12c59bf654066e0fb5fecf854653adf0cda1e3e0 | [
"MIT"
] | 2 | 2021-12-02T20:42:22.000Z | 2022-01-06T00:43:43.000Z | from helper import menu
import os
import asyncio
from colorama import init
init()
from colorama import Fore, Style
import json
from cfg.cfg import get_value
from aioconsole import ainput
async def ban_all(client):
try:
os.system('cls')
print((Fore.RED + Style.BRIGHT) + '< ' + str(get... | 49.142857 | 193 | 0.560152 | 508 | 4,472 | 4.905512 | 0.261811 | 0.061396 | 0.028892 | 0.040931 | 0.745987 | 0.736758 | 0.736758 | 0.719904 | 0.719904 | 0.719904 | 0 | 0.001985 | 0.32424 | 4,472 | 91 | 194 | 49.142857 | 0.822634 | 0 | 0 | 0.625 | 0 | 0.011364 | 0.270591 | 0.004791 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.011364 | 0.090909 | 0 | 0.090909 | 0.193182 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c54c5117c8891599f8806dc8d3107a5d9d7f0037 | 168 | py | Python | allure-pytest/test/steps/outside/conftest.py | vdsbenoit/allure-python | 7b56b031c42369dd73844105382e9ceb9a88d6cd | [
"Apache-2.0"
] | 1 | 2021-02-19T21:00:11.000Z | 2021-02-19T21:00:11.000Z | allure-pytest/test/steps/outside/conftest.py | vdsbenoit/allure-python | 7b56b031c42369dd73844105382e9ceb9a88d6cd | [
"Apache-2.0"
] | null | null | null | allure-pytest/test/steps/outside/conftest.py | vdsbenoit/allure-python | 7b56b031c42369dd73844105382e9ceb9a88d6cd | [
"Apache-2.0"
] | 1 | 2020-08-05T05:40:44.000Z | 2020-08-05T05:40:44.000Z | import allure
import pytest
@allure.step('step in conftest.py')
def conftest_step():
pass
@pytest.fixture
def fixture_with_conftest_step():
conftest_step()
| 12.923077 | 35 | 0.744048 | 23 | 168 | 5.217391 | 0.478261 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154762 | 168 | 12 | 36 | 14 | 0.84507 | 0 | 0 | 0 | 0 | 0 | 0.113095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.125 | 0.25 | 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 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
c55fffd7d66a28787f88ddc2b61f4be212080934 | 63 | py | Python | hiBrad.py | franTarkenton/gitdemo2 | 7c73387fa558c31eea82055f6608d53f5288dad4 | [
"Apache-2.0"
] | null | null | null | hiBrad.py | franTarkenton/gitdemo2 | 7c73387fa558c31eea82055f6608d53f5288dad4 | [
"Apache-2.0"
] | null | null | null | hiBrad.py | franTarkenton/gitdemo2 | 7c73387fa558c31eea82055f6608d53f5288dad4 | [
"Apache-2.0"
] | null | null | null | print("I hate .")
print('actually i don\'t')
print("I'm a da")
| 15.75 | 26 | 0.603175 | 13 | 63 | 2.923077 | 0.692308 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 63 | 3 | 27 | 21 | 0.703704 | 0 | 0 | 0 | 0 | 0 | 0.492063 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
3d7f4e6087aaa8385ce934c9b12d5fb1a755547c | 212 | py | Python | v3/const.py | chaurwu/py-category | 5a358d3d4f64edcd7e74c956b11ae04a6196a775 | [
"MIT"
] | null | null | null | v3/const.py | chaurwu/py-category | 5a358d3d4f64edcd7e74c956b11ae04a6196a775 | [
"MIT"
] | null | null | null | v3/const.py | chaurwu/py-category | 5a358d3d4f64edcd7e74c956b11ae04a6196a775 | [
"MIT"
] | null | null | null | from functor import *
def const():
class Const(Functor):
def join(self):
return Const.const
def map(self, f):
return self
Const.const = Const()
return Const
| 16.307692 | 30 | 0.54717 | 25 | 212 | 4.64 | 0.44 | 0.258621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.363208 | 212 | 12 | 31 | 17.666667 | 0.859259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.111111 | 0.222222 | 0.888889 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
3d8870332918d0f34faf5a6dd99c558ddeb0e7b1 | 130 | py | Python | devel/apps/__init__.py | riscoscloverleaf/chatcube | a7184ef76108f90a74a88d3183a3d21c1249a0f5 | [
"MIT"
] | null | null | null | devel/apps/__init__.py | riscoscloverleaf/chatcube | a7184ef76108f90a74a88d3183a3d21c1249a0f5 | [
"MIT"
] | null | null | null | devel/apps/__init__.py | riscoscloverleaf/chatcube | a7184ef76108f90a74a88d3183a3d21c1249a0f5 | [
"MIT"
] | null | null | null | # from uwsgi_tasks import set_uwsgi_callbacks, django_setup
#
# django_setup()
#
# set_uwsgi_callbacks()
#
# from ik import tasks
| 16.25 | 59 | 0.769231 | 18 | 130 | 5.166667 | 0.5 | 0.172043 | 0.365591 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 130 | 7 | 60 | 18.571429 | 0.830357 | 0.884615 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3da8662c1ddaf8783016dd3b8f445abd083cf782 | 4,234 | py | Python | api/parsers/device.py | yanchen01/patient-management-platform | f38b45b5e2c4bbe33098440ab742723c13cae950 | [
"MIT"
] | null | null | null | api/parsers/device.py | yanchen01/patient-management-platform | f38b45b5e2c4bbe33098440ab742723c13cae950 | [
"MIT"
] | null | null | null | api/parsers/device.py | yanchen01/patient-management-platform | f38b45b5e2c4bbe33098440ab742723c13cae950 | [
"MIT"
] | null | null | null | from flask_restx import reqparse
from datetime import datetime
def date_type(date):
"""Parse date type"""
try:
datetime.strptime(date, "%m-%d-%Y")
except ValueError:
raise ValueError('This is not date type')
return date
# custom schema
date_type.__schema__ = {'type': 'string', 'forma... | 41.106796 | 84 | 0.422296 | 319 | 4,234 | 5.369906 | 0.203762 | 0.078809 | 0.148862 | 0.122008 | 0.778751 | 0.778751 | 0.76941 | 0.76941 | 0.741389 | 0.691185 | 0 | 0 | 0.491261 | 4,234 | 103 | 85 | 41.106796 | 0.795265 | 0.007086 | 0 | 0.659341 | 0 | 0 | 0.161229 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.010989 | false | 0 | 0.021978 | 0 | 0.043956 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
9ab935de899e953051f0cd247cc198d3b5c2073b | 127 | py | Python | app/character/__init__.py | ironarmchad/depths_char_sheet | 542f969af951e9d249fe36bbd6dad147a69d9edb | [
"MIT"
] | null | null | null | app/character/__init__.py | ironarmchad/depths_char_sheet | 542f969af951e9d249fe36bbd6dad147a69d9edb | [
"MIT"
] | 1 | 2021-06-02T00:01:31.000Z | 2021-06-02T00:01:31.000Z | app/character/__init__.py | ironarmchad/depths_char_sheet | 542f969af951e9d249fe36bbd6dad147a69d9edb | [
"MIT"
] | 1 | 2019-08-01T16:55:54.000Z | 2019-08-01T16:55:54.000Z | from flask import Blueprint
main = Blueprint('main', __name__, template_folder='templates')
from app.character import routes
| 21.166667 | 63 | 0.795276 | 16 | 127 | 6 | 0.75 | 0.270833 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11811 | 127 | 5 | 64 | 25.4 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0.102362 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
9ac44b4f1e3ecd28fdfcaaea5ec88c89d0a0fac0 | 102 | py | Python | apps/cooggerapp/views/home/__init__.py | coogger/coogger | 9e5e3ca172d8a14272948284a6822000b119119c | [
"MIT"
] | 48 | 2018-04-13T13:00:10.000Z | 2020-03-17T23:35:23.000Z | core/cooggerapp/views/home/__init__.py | emregeldegul/coogger | 9aaf2d5904438d91b9bb403ce3c739a5431bdaac | [
"MIT"
] | 77 | 2018-03-25T13:17:12.000Z | 2020-08-11T08:24:49.000Z | core/cooggerapp/views/home/__init__.py | emregeldegul/coogger | 9aaf2d5904438d91b9bb403ce3c739a5431bdaac | [
"MIT"
] | 35 | 2018-03-30T21:43:21.000Z | 2020-08-11T05:51:46.000Z | from .feed import Feed
from .index import Index
from .report import Report
from .search import Search
| 20.4 | 26 | 0.803922 | 16 | 102 | 5.125 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156863 | 102 | 4 | 27 | 25.5 | 0.953488 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b1220b74c3e30d4077fe00cbf9ba1f189647d675 | 312 | py | Python | pydeflate/config.py | jm-rivera/pydeflate | 3e95950124de4bdcfb7fdcefdc91cbe1b2c32935 | [
"MIT"
] | null | null | null | pydeflate/config.py | jm-rivera/pydeflate | 3e95950124de4bdcfb7fdcefdc91cbe1b2c32935 | [
"MIT"
] | null | null | null | pydeflate/config.py | jm-rivera/pydeflate | 3e95950124de4bdcfb7fdcefdc91cbe1b2c32935 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
class Paths:
def __init__(self, project_dir):
self.project_dir = project_dir
@property
def data(self):
return os.path.join(self.project_dir, "pydeflate", "data")
paths = Paths(os.path.dirname(os.path.dirname(__file__)))
| 17.333333 | 66 | 0.650641 | 43 | 312 | 4.44186 | 0.55814 | 0.209424 | 0.219895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008 | 0.198718 | 312 | 17 | 67 | 18.352941 | 0.756 | 0.137821 | 0 | 0 | 0 | 0 | 0.048689 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b150f5ed30481025c0df22f99b88715661e23770 | 106 | py | Python | src/examples/incomplete/nn_topology_object_oriented/Event.py | calebebrim/GeneticAlgorithm | 93475adfac4bba145054e1bbb3acfad77505fa85 | [
"MIT"
] | null | null | null | src/examples/incomplete/nn_topology_object_oriented/Event.py | calebebrim/GeneticAlgorithm | 93475adfac4bba145054e1bbb3acfad77505fa85 | [
"MIT"
] | null | null | null | src/examples/incomplete/nn_topology_object_oriented/Event.py | calebebrim/GeneticAlgorithm | 93475adfac4bba145054e1bbb3acfad77505fa85 | [
"MIT"
] | null | null | null |
class Event:
# TODO: This gonna abstract the concept of row data in traditional ML approach
pass
| 21.2 | 82 | 0.726415 | 16 | 106 | 4.8125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.245283 | 106 | 4 | 83 | 26.5 | 0.9625 | 0.716981 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 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 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
b1891bc519c10ead165837b59fa9745631517b9c | 147 | py | Python | main.py | LG95/xy-inc | 7ddf667f961b9f22d55e99f4a07fd66952fdbe10 | [
"MIT"
] | null | null | null | main.py | LG95/xy-inc | 7ddf667f961b9f22d55e99f4a07fd66952fdbe10 | [
"MIT"
] | null | null | null | main.py | LG95/xy-inc | 7ddf667f961b9f22d55e99f4a07fd66952fdbe10 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from rest import serve
from service import PointOfInterestServices as Services
if __name__ == "__main__": serve(Services)
| 21 | 55 | 0.789116 | 19 | 147 | 5.684211 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007813 | 0.129252 | 147 | 6 | 56 | 24.5 | 0.835938 | 0.142857 | 0 | 0 | 0 | 0 | 0.064 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
490a9174e2110eae377e2208abd2cdb5dd690345 | 94 | py | Python | web/impact/impact/tests/contexts/__init__.py | masschallenge/impact-api | 81075ced8fcc95de9390dd83c15e523e67fc48c0 | [
"MIT"
] | 5 | 2017-10-19T15:11:52.000Z | 2020-03-08T07:16:21.000Z | web/impact/impact/tests/contexts/__init__.py | masschallenge/impact-api | 81075ced8fcc95de9390dd83c15e523e67fc48c0 | [
"MIT"
] | 182 | 2017-06-21T19:32:13.000Z | 2021-03-22T13:38:16.000Z | web/impact/impact/tests/contexts/__init__.py | masschallenge/impact-api | 81075ced8fcc95de9390dd83c15e523e67fc48c0 | [
"MIT"
] | 1 | 2018-06-23T11:53:18.000Z | 2018-06-23T11:53:18.000Z | # MIT License
# Copyright (c) 2017 MassChallenge, Inc.
from .user_context import UserContext
| 18.8 | 40 | 0.776596 | 12 | 94 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0.148936 | 94 | 4 | 41 | 23.5 | 0.85 | 0.531915 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
492f45e4933acdad1a9fe46a9bf40380cb4a2800 | 157 | py | Python | heron/instance/src/python/instance/__init__.py | ajorgensen/heron | 6430c51a4a6030e93018e0ed40e5936a64317636 | [
"Apache-2.0"
] | 2 | 2016-07-04T07:10:31.000Z | 2018-03-28T16:59:02.000Z | heron/instance/src/python/instance/__init__.py | ajorgensen/heron | 6430c51a4a6030e93018e0ed40e5936a64317636 | [
"Apache-2.0"
] | null | null | null | heron/instance/src/python/instance/__init__.py | ajorgensen/heron | 6430c51a4a6030e93018e0ed40e5936a64317636 | [
"Apache-2.0"
] | 1 | 2017-06-05T17:55:45.000Z | 2017-06-05T17:55:45.000Z | '''single thread heron instance module'''
__all__ = ['st_heron_instance.py', 'st_stmgr_client.py']
from .st_heron_instance import SingleThreadHeronInstance
| 31.4 | 56 | 0.802548 | 20 | 157 | 5.8 | 0.65 | 0.336207 | 0.258621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.089172 | 157 | 4 | 57 | 39.25 | 0.811189 | 0.22293 | 0 | 0 | 0 | 0 | 0.327586 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 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 | 1 | 0 | 0 | 0 | 0 | 5 |
b8ef3b40c61cb8121dbbfa8554fbca7b7689980f | 110 | py | Python | tests/utils/setup_constants.py | amitmalav/service-fabrik-backup-restore | 5c1c46de8c9aba618906dda7f91e3c210cbf49c5 | [
"Apache-2.0"
] | null | null | null | tests/utils/setup_constants.py | amitmalav/service-fabrik-backup-restore | 5c1c46de8c9aba618906dda7f91e3c210cbf49c5 | [
"Apache-2.0"
] | null | null | null | tests/utils/setup_constants.py | amitmalav/service-fabrik-backup-restore | 5c1c46de8c9aba618906dda7f91e3c210cbf49c5 | [
"Apache-2.0"
] | null | null | null | import os
#setting environment varibale before importing module
os.environ['SF_IAAS_CLIENT_MAX_RETRY'] = '1' | 27.5 | 54 | 0.809091 | 16 | 110 | 5.3125 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.109091 | 110 | 4 | 55 | 27.5 | 0.857143 | 0.472727 | 0 | 0 | 0 | 0 | 0.438596 | 0.421053 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.