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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
87324fc6a4d0476e8f06f9dc1fd3830351f7fe6c | 5,709 | py | Python | Salt and Sanctuary parse bosses saltandsanctuary.fandom.com/print_bosses.py | DazEB2/SimplePyScripts | 1dde0a42ba93fe89609855d6db8af1c63b1ab7cc | [
"CC-BY-4.0"
] | 117 | 2015-12-18T07:18:27.000Z | 2022-03-28T00:25:54.000Z | Salt and Sanctuary parse bosses saltandsanctuary.fandom.com/print_bosses.py | DazEB2/SimplePyScripts | 1dde0a42ba93fe89609855d6db8af1c63b1ab7cc | [
"CC-BY-4.0"
] | 8 | 2018-10-03T09:38:46.000Z | 2021-12-13T19:51:09.000Z | Salt and Sanctuary parse bosses saltandsanctuary.fandom.com/print_bosses.py | DazEB2/SimplePyScripts | 1dde0a42ba93fe89609855d6db8af1c63b1ab7cc | [
"CC-BY-4.0"
] | 28 | 2016-08-02T17:43:47.000Z | 2022-03-21T08:31:12.000Z | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
__author__ = 'ipetrash'
from typing import Dict, List
from utils import get_bosses, Boss
def print_bosses(bosses: Dict[str, List[Boss]], only_names=False):
print('Salt and Sanctuary ({}):'.format(sum(len(i) for i in bosses.values())))
for category, bosses in ... | 65.62069 | 214 | 0.60571 | 1,055 | 5,709 | 3.229384 | 0.146919 | 0.032874 | 0.182272 | 0.202524 | 0.557675 | 0.455533 | 0.409745 | 0.332844 | 0.248899 | 0.208982 | 0 | 0.154736 | 0.182694 | 5,709 | 86 | 215 | 66.383721 | 0.575439 | 0.807847 | 0 | 0.111111 | 0 | 0 | 0.084534 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.111111 | 0 | 0.166667 | 0.5 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
875b61e62544f4cb8cfb35c55c7a63797569dcb2 | 288 | py | Python | Intro/Island of Knowledge/arrayMaximalAdjacentDifference.py | shanemichaelarcaro/codesignal | 69b0460dbc163091dc115634bbb730da5caf65a9 | [
"MIT"
] | null | null | null | Intro/Island of Knowledge/arrayMaximalAdjacentDifference.py | shanemichaelarcaro/codesignal | 69b0460dbc163091dc115634bbb730da5caf65a9 | [
"MIT"
] | null | null | null | Intro/Island of Knowledge/arrayMaximalAdjacentDifference.py | shanemichaelarcaro/codesignal | 69b0460dbc163091dc115634bbb730da5caf65a9 | [
"MIT"
] | null | null | null | def arrayMaximalAdjacentDifference(inputArray):
return max([abs(inputArray[x] - inputArray[x + 1]) for x in range(len(inputArray) - 1)])
# [2. 4, 1, 0] => 3
# [1, 1, 1, 1] => 1
# [-1, 4, 10, 3, -2] => 7
# [10, 11, 13] => 2
print(arrayMaximalAdjacentDifference([1, 1, 1, 1])) | 32 | 93 | 0.576389 | 44 | 288 | 3.772727 | 0.477273 | 0.096386 | 0.108434 | 0.096386 | 0.036145 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131004 | 0.204861 | 288 | 9 | 94 | 32 | 0.593886 | 0.267361 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
877b435ad9c649112fcdd5ead633e2ac941e7faa | 104 | py | Python | contrib/mmpmon/mmpmon_parse.py | stevec7/gpfs | 9d92f2a77bc1df2d4340db607596f0b057d6203e | [
"MIT"
] | 2 | 2016-05-27T18:53:14.000Z | 2020-07-18T16:49:45.000Z | contrib/mmpmon/mmpmon_parse.py | stevec7/gpfs | 9d92f2a77bc1df2d4340db607596f0b057d6203e | [
"MIT"
] | null | null | null | contrib/mmpmon/mmpmon_parse.py | stevec7/gpfs | 9d92f2a77bc1df2d4340db607596f0b057d6203e | [
"MIT"
] | 1 | 2020-07-18T16:49:49.000Z | 2020-07-18T16:49:49.000Z | #!/usr/bin/env python
import gpfs
import sys
f = open(sys.argv[1], 'r')
for line in f:
print line
| 11.555556 | 26 | 0.644231 | 20 | 104 | 3.35 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012195 | 0.211538 | 104 | 8 | 27 | 13 | 0.804878 | 0.192308 | 0 | 0 | 0 | 0 | 0.012048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.4 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
0d9344aa02a2fed3fc403f514e2f356d15591996 | 130 | py | Python | src/generate.py | landin3thorsted/cmake-example | 30f6c5b41d056d450573ed1329524a1b10492c77 | [
"BSD-3-Clause"
] | 161 | 2015-07-17T20:07:32.000Z | 2022-02-28T07:47:56.000Z | src/generate.py | landin3thorsted/cmake-example | 30f6c5b41d056d450573ed1329524a1b10492c77 | [
"BSD-3-Clause"
] | 2 | 2019-12-15T20:05:08.000Z | 2021-05-31T16:41:28.000Z | src/generate.py | landin3thorsted/cmake-example | 30f6c5b41d056d450573ed1329524a1b10492c77 | [
"BSD-3-Clause"
] | 69 | 2015-06-26T18:30:51.000Z | 2021-11-25T03:21:47.000Z | source = r'''#include <cstdio>
#include "mylib.h"
void do_something_else()
{
printf("something else\n");
}'''
print(source)
| 13 | 31 | 0.653846 | 17 | 130 | 4.882353 | 0.764706 | 0.313253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.146154 | 130 | 9 | 32 | 14.444444 | 0.747748 | 0 | 0 | 0 | 0 | 0 | 0.753846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0dbf230bd3176dff3a517c02dda3704a5b0765c7 | 24 | py | Python | sct/support/__init__.py | aresys-srl/sar-calibration-tool | 06e67061217b6c1747c1c79b46129c113e9c1374 | [
"MIT"
] | null | null | null | sct/support/__init__.py | aresys-srl/sar-calibration-tool | 06e67061217b6c1747c1c79b46129c113e9c1374 | [
"MIT"
] | null | null | null | sct/support/__init__.py | aresys-srl/sar-calibration-tool | 06e67061217b6c1747c1c79b46129c113e9c1374 | [
"MIT"
] | null | null | null | """
Support package
"""
| 6 | 15 | 0.583333 | 2 | 24 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 3 | 16 | 8 | 0.7 | 0.625 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
217d25036c8b3a9cb5b5a7116693cc84321db6d9 | 2,402 | py | Python | src/Products/Five/tests/test_directives.py | rbanffy/Zope | ecf6770219052e7c7f8c9634ddf187a1e6280742 | [
"ZPL-2.1"
] | 289 | 2015-01-05T12:38:21.000Z | 2022-03-05T21:20:39.000Z | src/Products/Five/tests/test_directives.py | rbanffy/Zope | ecf6770219052e7c7f8c9634ddf187a1e6280742 | [
"ZPL-2.1"
] | 732 | 2015-02-09T23:35:57.000Z | 2022-03-31T09:10:13.000Z | src/Products/Five/tests/test_directives.py | rbanffy/Zope | ecf6770219052e7c7f8c9634ddf187a1e6280742 | [
"ZPL-2.1"
] | 102 | 2015-01-12T14:03:35.000Z | 2022-03-30T11:02:44.000Z | ##############################################################################
#
# Copyright (c) 2004, 2005 Zope Foundation and Contributors.
# All Rights Reserved.
#
# This software is subject to the provisions of the Zope Public License,
# Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution.
# TH... | 32.026667 | 78 | 0.62448 | 275 | 2,402 | 5.436364 | 0.509091 | 0.056187 | 0.068227 | 0.04214 | 0.046823 | 0.046823 | 0 | 0 | 0 | 0 | 0 | 0.00587 | 0.219817 | 2,402 | 74 | 79 | 32.459459 | 0.791889 | 0.801832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0.25 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
21990f0f29f6fa4136f8516603953f62814b29ee | 169 | py | Python | USACO/template.py | raad1masum/Competitive-Programming | f4bc58f2bd370a398c37b9fe8ffbfac548a488b2 | [
"MIT"
] | null | null | null | USACO/template.py | raad1masum/Competitive-Programming | f4bc58f2bd370a398c37b9fe8ffbfac548a488b2 | [
"MIT"
] | null | null | null | USACO/template.py | raad1masum/Competitive-Programming | f4bc58f2bd370a398c37b9fe8ffbfac548a488b2 | [
"MIT"
] | null | null | null | """
ID: piraadw1
LANG: PYTHON3
TASK: [Task Name]
"""
fin = open ('[Task Name].in', 'r')
fout = open ('[Task Name].out', 'w')
fout.write([send to server])
fout.close()
| 14.083333 | 36 | 0.597633 | 26 | 169 | 3.884615 | 0.692308 | 0.237624 | 0.237624 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014085 | 0.159763 | 169 | 11 | 37 | 15.363636 | 0.697183 | 0 | 0 | 0 | 0 | 0 | 0.264957 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
21a21956eda3ce18deb3576b78e102353d761692 | 168 | py | Python | archeogitvsszz/__init__.py | samaritan/archeogit-vs-szz | d7e25a24879904fccb7fec793af77c83516ab751 | [
"MIT"
] | null | null | null | archeogitvsszz/__init__.py | samaritan/archeogit-vs-szz | d7e25a24879904fccb7fec793af77c83516ab751 | [
"MIT"
] | null | null | null | archeogitvsszz/__init__.py | samaritan/archeogit-vs-szz | d7e25a24879904fccb7fec793af77c83516ab751 | [
"MIT"
] | null | null | null | from .analyzer import Analyzer
from .blamers import Archeogit, SZZ
from .cli import CLI
from .vulnerabilities import Vulnerabilities
from .repository import Repository
| 28 | 44 | 0.839286 | 21 | 168 | 6.714286 | 0.428571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 168 | 5 | 45 | 33.6 | 0.959184 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
21aa50a8d4c1f990c60f51405be26525a4eb2864 | 24 | py | Python | cupy/_version.py | disktnk/cupy | cbd9c30db2eff89f8d102684085779d75a7e6f5f | [
"MIT"
] | 1 | 2021-10-04T21:57:09.000Z | 2021-10-04T21:57:09.000Z | cupy/_version.py | hephaex/cupy | 5cf50a93bbdebe825337ed7996c464e84b1495ba | [
"MIT"
] | null | null | null | cupy/_version.py | hephaex/cupy | 5cf50a93bbdebe825337ed7996c464e84b1495ba | [
"MIT"
] | null | null | null | __version__ = '7.0.0a1'
| 12 | 23 | 0.666667 | 4 | 24 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.190476 | 0.125 | 24 | 1 | 24 | 24 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
21cbb39d15499e402d7dbdd4634d8c9e4c5b13d5 | 338 | py | Python | news_app/users/models.py | hanumanthareddy/NewsApp | a4659cdf55c7829b1f50b35a01c70c8e35fdcd1a | [
"MIT"
] | null | null | null | news_app/users/models.py | hanumanthareddy/NewsApp | a4659cdf55c7829b1f50b35a01c70c8e35fdcd1a | [
"MIT"
] | 7 | 2019-12-04T23:04:32.000Z | 2022-02-10T08:03:57.000Z | news_app/users/models.py | hanumanthareddy/NewsApp | a4659cdf55c7829b1f50b35a01c70c8e35fdcd1a | [
"MIT"
] | null | null | null | from django.db import models
from django.contrib.auth.models import AbstractUser
class CustomUser(AbstractUser):
email = models.EmailField(null=True, blank=True)
age = models.PositiveIntegerField(null=True, blank=True)
mobile = models.IntegerField(null=True, blank=True)
address = models.TextField(null... | 37.555556 | 60 | 0.769231 | 43 | 338 | 6.046512 | 0.488372 | 0.123077 | 0.2 | 0.261538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127219 | 338 | 9 | 61 | 37.555556 | 0.881356 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.285714 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
21ced600626cd4b0f72334a2370039d2fd706d40 | 278 | py | Python | systemconfig/models/__init__.py | PyFlux/PyFlux | 8abae10261e276bf4942aed8d54ef3b5498754ca | [
"Apache-2.0"
] | null | null | null | systemconfig/models/__init__.py | PyFlux/PyFlux | 8abae10261e276bf4942aed8d54ef3b5498754ca | [
"Apache-2.0"
] | 10 | 2020-03-24T17:09:56.000Z | 2021-12-13T20:00:15.000Z | systemconfig/models/__init__.py | PyFlux/PyFlux-Django-Html | 8abae10261e276bf4942aed8d54ef3b5498754ca | [
"Apache-2.0"
] | null | null | null | from .Country import *
from .State import *
from .CityTown import *
from .Languages import *
from .Nationality import *
from .Religion import *
from .Relationship import *
from .Occupation import *
from .Organization import *
from .SmsConfig import *
from .EmailConfig import *
| 23.166667 | 27 | 0.76259 | 33 | 278 | 6.424242 | 0.393939 | 0.471698 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158273 | 278 | 11 | 28 | 25.272727 | 0.905983 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
21ec08f97f18ac9b5a05815e0421c572e2e8d8f8 | 213 | py | Python | backend/event/permissions.py | berserg2010/todo | e4151f9d694a3702c53d22a68fff5a75f5db3eed | [
"Apache-2.0"
] | null | null | null | backend/event/permissions.py | berserg2010/todo | e4151f9d694a3702c53d22a68fff5a75f5db3eed | [
"Apache-2.0"
] | null | null | null | backend/event/permissions.py | berserg2010/todo | e4151f9d694a3702c53d22a68fff5a75f5db3eed | [
"Apache-2.0"
] | null | null | null | from rest_framework import permissions
class IsOwner(permissions.BasePermission):
message = "Not an owner"
def has_object_permission(self, request, view, obj):
return request.user == obj.owner
| 21.3 | 56 | 0.732394 | 26 | 213 | 5.884615 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.187793 | 213 | 9 | 57 | 23.666667 | 0.884393 | 0 | 0 | 0 | 0 | 0 | 0.056338 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
1d01dd4e6a73b8091453f1490a71d05fcbb12c73 | 55 | py | Python | models/vision/detection/configs/retinanet/SM/CI/4/retinanet_r50v1_d_fpn_1x_coco.py | piyushghai/deep-learning-models | eebc5007a9f60540a98ed8ea5f9fbd5786b21db9 | [
"Apache-2.0",
"MIT"
] | 129 | 2018-07-21T11:51:16.000Z | 2022-03-09T07:15:09.000Z | models/vision/detection/configs/retinanet/SM/CI/4/retinanet_r50v1_d_fpn_1x_coco.py | piyushghai/deep-learning-models | eebc5007a9f60540a98ed8ea5f9fbd5786b21db9 | [
"Apache-2.0",
"MIT"
] | 20 | 2018-09-13T23:19:56.000Z | 2021-05-22T02:12:53.000Z | models/vision/detection/configs/retinanet/SM/CI/4/retinanet_r50v1_d_fpn_1x_coco.py | piyushghai/deep-learning-models | eebc5007a9f60540a98ed8ea5f9fbd5786b21db9 | [
"Apache-2.0",
"MIT"
] | 74 | 2018-07-23T12:14:01.000Z | 2022-01-21T05:17:13.000Z | base_files=['../../4/retinanet_r50v1_d_fpn_1x_coco.py'] | 55 | 55 | 0.763636 | 10 | 55 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.090909 | 0 | 55 | 1 | 55 | 55 | 0.563636 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
df1f1281be421de5fae10f3cd574aa492ae6fe64 | 70 | py | Python | python-packages/order_utils/src/zero_ex/dev_utils/__init__.py | nordicenergy/powerchain-protocol-dev-kit | 9aa3b7185a0c7d4b55fa5531e5f7b5a5141ef10a | [
"Apache-2.0"
] | 1 | 2020-01-18T15:50:06.000Z | 2020-01-18T15:50:06.000Z | python-packages/order_utils/src/zero_ex/dev_utils/__init__.py | nordicenergy/powerchain-monorepo | 9aa3b7185a0c7d4b55fa5531e5f7b5a5141ef10a | [
"Apache-2.0"
] | null | null | null | python-packages/order_utils/src/zero_ex/dev_utils/__init__.py | nordicenergy/powerchain-monorepo | 9aa3b7185a0c7d4b55fa5531e5f7b5a5141ef10a | [
"Apache-2.0"
] | null | null | null | """Dev utils to be shared across powerchain projects and packages."""
| 35 | 69 | 0.757143 | 10 | 70 | 5.3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 70 | 1 | 70 | 70 | 0.883333 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
df2716e55157eceb0eb51d6e45bcc63b3490dc99 | 63 | py | Python | lambda_handler.py | Lanseuo/ElonMuskSkill | 60be5a265897fe340e67d9614dc1c4218f044a1c | [
"MIT"
] | null | null | null | lambda_handler.py | Lanseuo/ElonMuskSkill | 60be5a265897fe340e67d9614dc1c4218f044a1c | [
"MIT"
] | null | null | null | lambda_handler.py | Lanseuo/ElonMuskSkill | 60be5a265897fe340e67d9614dc1c4218f044a1c | [
"MIT"
] | null | null | null | from skill import lambda_handler
__all__ = ["lambda_handler"]
| 15.75 | 32 | 0.793651 | 8 | 63 | 5.5 | 0.75 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126984 | 63 | 3 | 33 | 21 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
df46ee0ad7e9007fa024c86f0e9da802d9e7663d | 2,517 | py | Python | tests/pytest/test_commands/test_poptop.py | Stashchen/bot-top-ranking-slack | 9fe3a673a9a023b9329b23229fa619d12da93b4b | [
"MIT"
] | null | null | null | tests/pytest/test_commands/test_poptop.py | Stashchen/bot-top-ranking-slack | 9fe3a673a9a023b9329b23229fa619d12da93b4b | [
"MIT"
] | null | null | null | tests/pytest/test_commands/test_poptop.py | Stashchen/bot-top-ranking-slack | 9fe3a673a9a023b9329b23229fa619d12da93b4b | [
"MIT"
] | null | null | null | from unittest.mock import Mock
from handlers.commands.poptop import check_poptop_argument, start_poptop, DEFAULT_EXCEPTION_VALUE
def test_check_poptop_argument_with_bad_argument():
request_form = {
'text': 'Not int'
}
result = check_poptop_argument(None, request_form)
assert result == DEFAULT_... | 31.4625 | 97 | 0.713945 | 312 | 2,517 | 5.358974 | 0.205128 | 0.078947 | 0.113636 | 0.09689 | 0.7811 | 0.761364 | 0.708732 | 0.708732 | 0.680622 | 0.649522 | 0 | 0.003918 | 0.188717 | 2,517 | 80 | 98 | 31.4625 | 0.814887 | 0 | 0 | 0.625 | 0 | 0 | 0.163622 | 0.117156 | 0 | 0 | 0 | 0 | 0.09375 | 1 | 0.078125 | false | 0 | 0.03125 | 0 | 0.109375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
df4791bf694050b6cc9bf789ce6066528c19db13 | 202 | py | Python | dp_tornado/engine/scheduler/processor.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 18 | 2015-04-07T14:28:39.000Z | 2020-02-08T14:03:38.000Z | dp_tornado/engine/scheduler/processor.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 7 | 2016-10-05T05:14:06.000Z | 2021-05-20T02:07:22.000Z | dp_tornado/engine/scheduler/processor.py | donghak-shin/dp-tornado | 095bb293661af35cce5f917d8a2228d273489496 | [
"MIT"
] | 11 | 2015-12-15T09:49:39.000Z | 2021-09-06T18:38:21.000Z | # -*- coding: utf-8 -*-
from dp_tornado.engine.engine import Engine
class Processor(Engine):
def __init__(self, timeout=None):
pass
def run(self):
raise NotImplementedError
| 15.538462 | 43 | 0.653465 | 24 | 202 | 5.291667 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006494 | 0.237624 | 202 | 12 | 44 | 16.833333 | 0.818182 | 0.10396 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0.166667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
df50a69dbe33bf87b681ce0a79f251e27631c409 | 28,805 | py | Python | app/admindb.py | zulily/dubweb | f6476fd59e26f6b630206d63a461fb25465bd045 | [
"Apache-2.0"
] | 5 | 2015-10-21T15:24:13.000Z | 2020-11-11T21:37:30.000Z | app/admindb.py | zulily/dubweb | f6476fd59e26f6b630206d63a461fb25465bd045 | [
"Apache-2.0"
] | null | null | null | app/admindb.py | zulily/dubweb | f6476fd59e26f6b630206d63a461fb25465bd045 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
"""
admindb helper library
Called by flask app admin
to modify budgets, etc.
Copyright 2015 zulily, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
... | 36.741071 | 78 | 0.489359 | 2,850 | 28,805 | 4.805614 | 0.077193 | 0.022999 | 0.026577 | 0.027599 | 0.744013 | 0.712544 | 0.677278 | 0.643546 | 0.609667 | 0.600613 | 0 | 0.005166 | 0.408644 | 28,805 | 783 | 79 | 36.787995 | 0.798873 | 0.000937 | 0 | 0.715517 | 0 | 0.001724 | 0.160818 | 0.001041 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.031034 | 0.003448 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
df59ee50b25b00d3f108b3134faca06bee3a0a51 | 117 | py | Python | ROS2/src/my_package/my_package/my_node.py | zuqingxie/ROS_learning | c6fcfa76eb3bc91a52850d0f28785f123ca82409 | [
"MIT"
] | null | null | null | ROS2/src/my_package/my_package/my_node.py | zuqingxie/ROS_learning | c6fcfa76eb3bc91a52850d0f28785f123ca82409 | [
"MIT"
] | null | null | null | ROS2/src/my_package/my_package/my_node.py | zuqingxie/ROS_learning | c6fcfa76eb3bc91a52850d0f28785f123ca82409 | [
"MIT"
] | null | null | null | # 这就是一个简单的节点了,相当的简单哈!!!
def main():
print('Hi from python my_package.')
if __name__ == '__main__':
main()
| 13 | 39 | 0.623932 | 14 | 117 | 4.571429 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 117 | 8 | 40 | 14.625 | 0.688172 | 0.179487 | 0 | 0 | 0 | 0 | 0.361702 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0 | 0 | 0 | 0.25 | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
10c4cb25f57d97b7661da2ace537042d370a641e | 125 | py | Python | ibm_botocore/retries/__init__.py | Bhaskers-Blu-Org1/ibm-cos-sdk-python-core | dbd5dd4b6362724f068648fad7a6771e20bf994f | [
"Apache-2.0"
] | 6 | 2018-01-18T02:18:28.000Z | 2021-03-16T17:42:48.000Z | ibm_botocore/retries/__init__.py | Bhaskers-Blu-Org1/ibm-cos-sdk-python-core | dbd5dd4b6362724f068648fad7a6771e20bf994f | [
"Apache-2.0"
] | 12 | 2017-09-21T13:55:17.000Z | 2022-01-25T16:48:28.000Z | ibm_botocore/retries/__init__.py | IBM/ibm-cos-sdk-python-core | 18e8a854a2a4fdca7fbb50d5b80fb666734def1f | [
"Apache-2.0"
] | 10 | 2018-01-18T02:17:55.000Z | 2020-06-29T13:50:59.000Z | """New retry v2 handlers.
This package obsoletes the ibm_botocore/retryhandler.py module and contains
new retry logic.
"""
| 17.857143 | 75 | 0.776 | 18 | 125 | 5.333333 | 0.888889 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009346 | 0.144 | 125 | 6 | 76 | 20.833333 | 0.88785 | 0.928 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
10e9d426c717246980ce454a9b3a416c7af2f446 | 342 | py | Python | operator_api/ledger/integrity/withdrawal_request.py | liquidity-network/nocust-hub | 76f49f9b8a6c264fcbe9e0c110e98031d463c0a8 | [
"MIT"
] | 1 | 2021-08-04T06:09:46.000Z | 2021-08-04T06:09:46.000Z | operator_api/ledger/integrity/withdrawal_request.py | liquidity-network/nocust-hub | 76f49f9b8a6c264fcbe9e0c110e98031d463c0a8 | [
"MIT"
] | 8 | 2020-11-01T19:48:21.000Z | 2022-02-10T14:12:25.000Z | operator_api/ledger/integrity/withdrawal_request.py | liquidity-network/nocust-hub | 76f49f9b8a6c264fcbe9e0c110e98031d463c0a8 | [
"MIT"
] | 3 | 2020-11-01T15:59:56.000Z | 2021-09-16T07:18:18.000Z | # Withdrawal Request amount must be non-negative
non_negative_amount = \
"""
ALTER TABLE ledger_withdrawalrequest DROP CONSTRAINT IF EXISTS non_negative_amount;
ALTER TABLE ledger_withdrawalrequest ADD CONSTRAINT non_negative_amount CHECK ("amount" >= 0);
ALTER TABLE ledger_withdrawalrequest VALIDATE CONSTRAINT non... | 42.75 | 94 | 0.827485 | 42 | 342 | 6.47619 | 0.452381 | 0.202206 | 0.25 | 0.363971 | 0.367647 | 0.367647 | 0.367647 | 0 | 0 | 0 | 0 | 0.003311 | 0.116959 | 342 | 7 | 95 | 48.857143 | 0.897351 | 0.134503 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
10f421f0027218f9fabe245c5d27a6270d492db1 | 234 | py | Python | lms_aadi_postgres/contacts/contacts_controllers/contacts_read.py | hcmuleva/personal-profile | 051b5a2f36b927951691f48abe584beb8bc25440 | [
"MIT"
] | null | null | null | lms_aadi_postgres/contacts/contacts_controllers/contacts_read.py | hcmuleva/personal-profile | 051b5a2f36b927951691f48abe584beb8bc25440 | [
"MIT"
] | 3 | 2020-07-13T17:46:32.000Z | 2020-07-26T10:30:59.000Z | lms_aadi_postgres/contacts/contacts_controllers/contacts_read.py | hcmuleva/personal-profile | 051b5a2f36b927951691f48abe584beb8bc25440 | [
"MIT"
] | null | null | null | from contacts.contacts_modules import read_contact
to_read = read_contact.ReadContact()
rows = to_read.read_contact()
for row in rows:
print("name = ", row[0])
print("email = ", row[1])
print("contact number = ", row[2])
| 26 | 50 | 0.683761 | 34 | 234 | 4.529412 | 0.558824 | 0.214286 | 0.12987 | 0.220779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015464 | 0.17094 | 234 | 8 | 51 | 29.25 | 0.778351 | 0 | 0 | 0 | 0 | 0 | 0.136752 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.428571 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
80319f8d18537004609a90091b5185e69c52b703 | 105 | py | Python | pythonweb/piWorkingStatus/apps.py | onwebbe/rasiberryPiWebManager | 14ff9f14f3f873457666fa1669fae715148538c9 | [
"Apache-2.0"
] | null | null | null | pythonweb/piWorkingStatus/apps.py | onwebbe/rasiberryPiWebManager | 14ff9f14f3f873457666fa1669fae715148538c9 | [
"Apache-2.0"
] | 7 | 2020-09-07T07:51:28.000Z | 2022-02-26T17:54:49.000Z | pythonweb/piWorkingStatus/apps.py | onwebbe/rasiberryPiWebManager | 14ff9f14f3f873457666fa1669fae715148538c9 | [
"Apache-2.0"
] | null | null | null | from django.apps import AppConfig
class PiworkingstatusConfig(AppConfig):
name = 'piWorkingStatus'
| 17.5 | 39 | 0.790476 | 10 | 105 | 8.3 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 105 | 5 | 40 | 21 | 0.922222 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
80365d6b55b235df5f5740ddbc55424f095f83b8 | 132 | py | Python | src/py/janki/tests/__init__.py | nrbgt/janki | 40ffafe171fca11bbee1bd2e100f6d96e9387975 | [
"BSD-3-Clause"
] | 1 | 2021-05-25T15:59:25.000Z | 2021-05-25T15:59:25.000Z | src/py/janki/tests/__init__.py | nrbgt/janki | 40ffafe171fca11bbee1bd2e100f6d96e9387975 | [
"BSD-3-Clause"
] | 7 | 2021-05-11T19:37:23.000Z | 2021-06-16T15:12:12.000Z | src/py/janki/tests/__init__.py | nrbgt/janki | 40ffafe171fca11bbee1bd2e100f6d96e9387975 | [
"BSD-3-Clause"
] | 1 | 2021-05-11T19:34:46.000Z | 2021-05-11T19:34:46.000Z | # Copyright (c) 2021 University System of Georgia and janki contributors
# Distributed under the terms of the BSD-3-Clause License.
| 44 | 72 | 0.795455 | 20 | 132 | 5.25 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044643 | 0.151515 | 132 | 2 | 73 | 66 | 0.892857 | 0.962121 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
338b05b58fec17ed9efd279896aba894e3c553e4 | 641 | py | Python | account/mixins.py | MostafaMotahari/Sila-Website | 0004ac5a502c1b9febfd8a9087eb7a932dd039f1 | [
"MIT"
] | null | null | null | account/mixins.py | MostafaMotahari/Sila-Website | 0004ac5a502c1b9febfd8a9087eb7a932dd039f1 | [
"MIT"
] | null | null | null | account/mixins.py | MostafaMotahari/Sila-Website | 0004ac5a502c1b9febfd8a9087eb7a932dd039f1 | [
"MIT"
] | null | null | null | from account.models import User
class AdminMixin():
def dispatch(self, request, *args, **kwargs):
if request.user.is_superuser or request.user.is_admin:
return super().dispatch(request, *args, **kwargs)
class TopLevelAdminMixin():
def dispatch(self, request, *args, **kwargs):
if r... | 35.611111 | 70 | 0.670827 | 78 | 641 | 5.435897 | 0.320513 | 0.15566 | 0.240566 | 0.15566 | 0.775943 | 0.775943 | 0.691038 | 0.497642 | 0.497642 | 0.497642 | 0 | 0.001946 | 0.198128 | 641 | 18 | 71 | 35.611111 | 0.822957 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0 | 0.769231 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
339e63bfab9e3c7d3d8727f1dff33cc13bae217e | 41 | py | Python | main/gtk+3/update.py | RoastVeg/cports | 803c7f07af341eb32f791b6ec1f237edb2764bd5 | [
"BSD-2-Clause"
] | 46 | 2021-06-10T02:27:32.000Z | 2022-03-27T11:33:24.000Z | main/gtk+3/update.py | RoastVeg/cports | 803c7f07af341eb32f791b6ec1f237edb2764bd5 | [
"BSD-2-Clause"
] | 58 | 2021-07-03T13:58:20.000Z | 2022-03-13T16:45:35.000Z | main/gtk+3/update.py | RoastVeg/cports | 803c7f07af341eb32f791b6ec1f237edb2764bd5 | [
"BSD-2-Clause"
] | 6 | 2021-07-04T10:46:40.000Z | 2022-01-09T00:03:59.000Z | pkgname = "gtk+"
ignore = ["*.9[0-9].*"]
| 13.666667 | 23 | 0.463415 | 6 | 41 | 3.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.146341 | 41 | 2 | 24 | 20.5 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0.341463 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
33c6f7d430496fe4f86b8129e0022c9be96d4dd7 | 163 | py | Python | vplot/style/__init__.py | VirtualPlanetaryLaboratory/vplot | cb391860aa0659af33d8054c14441de9fbafcd25 | [
"MIT"
] | null | null | null | vplot/style/__init__.py | VirtualPlanetaryLaboratory/vplot | cb391860aa0659af33d8054c14441de9fbafcd25 | [
"MIT"
] | 15 | 2018-08-10T22:06:24.000Z | 2021-05-13T17:09:03.000Z | vplot/style/__init__.py | VirtualPlanetaryLaboratory/vplot | cb391860aa0659af33d8054c14441de9fbafcd25 | [
"MIT"
] | 2 | 2018-11-28T22:56:33.000Z | 2018-12-16T01:20:35.000Z | # -*- coding: utf-8 -*-
import os
import matplotlib.pyplot as plt
plt.style.use(
os.path.join(os.path.dirname(os.path.abspath(__file__)), "vplot.mplstyle")
)
| 20.375 | 78 | 0.693252 | 25 | 163 | 4.36 | 0.72 | 0.165138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006993 | 0.122699 | 163 | 7 | 79 | 23.285714 | 0.755245 | 0.128834 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
33c8837742a2f323a37fb0b7eb964d24b5f66fb4 | 257 | py | Python | rec_to_nwb/processing/nwb/components/position/fl_position.py | jihyunbak/rec_to_nwb | 6e65f8bf0a4faa4d986483ec2442ba19d70c92a9 | [
"Apache-2.0"
] | 8 | 2020-05-29T13:48:35.000Z | 2021-11-19T04:24:48.000Z | rec_to_nwb/processing/nwb/components/position/fl_position.py | jihyunbak/rec_to_nwb | 6e65f8bf0a4faa4d986483ec2442ba19d70c92a9 | [
"Apache-2.0"
] | 8 | 2020-07-13T00:42:35.000Z | 2020-11-16T16:17:12.000Z | rec_to_nwb/processing/nwb/components/position/fl_position.py | jihyunbak/rec_to_nwb | 6e65f8bf0a4faa4d986483ec2442ba19d70c92a9 | [
"Apache-2.0"
] | 1 | 2020-08-28T01:34:35.000Z | 2020-08-28T01:34:35.000Z | class FlPosition:
def __init__(self, position_data, column_labels, timestamps, conversion):
self.position_data = position_data
self.column_labels = column_labels
self.timestamps = timestamps
self.conversion = conversion
| 32.125 | 77 | 0.715953 | 27 | 257 | 6.444444 | 0.407407 | 0.206897 | 0.183908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.22179 | 257 | 7 | 78 | 36.714286 | 0.87 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
33dcc9959cac54ce2a7929f313c1ab7d2cabd4b8 | 851 | py | Python | PythonExercicio/ex031.py | VazMF/Curso-de-Python | 9b33f0bc3de5dd9380fdd4eb3d901b04e536d45a | [
"MIT"
] | null | null | null | PythonExercicio/ex031.py | VazMF/Curso-de-Python | 9b33f0bc3de5dd9380fdd4eb3d901b04e536d45a | [
"MIT"
] | null | null | null | PythonExercicio/ex031.py | VazMF/Curso-de-Python | 9b33f0bc3de5dd9380fdd4eb3d901b04e536d45a | [
"MIT"
] | null | null | null | #Desenvolva um programa que pergunte a distância de uma viagem em km. Calcule o preço da passagem, cobrando R$0,50 por km para viagens de até 200km e R$0,45 para viagens mais longas.
from time import sleep
print('\033[33m---------CALCULADORA DE PREÇOS DE PASSAGEM---------\033[m') #titúlo
d = int(input('Quilômetros nece... | 77.363636 | 182 | 0.72738 | 160 | 851 | 3.86875 | 0.5125 | 0.038772 | 0.03231 | 0.061389 | 0.193861 | 0.193861 | 0.193861 | 0.193861 | 0.193861 | 0.193861 | 0 | 0.107438 | 0.146886 | 851 | 10 | 183 | 85.1 | 0.745179 | 0.480611 | 0 | 0 | 0 | 0.222222 | 0.713959 | 0.315789 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.111111 | 0 | 0.111111 | 0.444444 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 4 |
33e5415457524c4bd7d522789cce4d9103d989ac | 425 | py | Python | core/device_factory.py | thiagolcmelo/dynamic | 9e4e71dd25ce3c778b17b62ef4062273d244a5ac | [
"MIT"
] | null | null | null | core/device_factory.py | thiagolcmelo/dynamic | 9e4e71dd25ce3c778b17b62ef4062273d244a5ac | [
"MIT"
] | null | null | null | core/device_factory.py | thiagolcmelo/dynamic | 9e4e71dd25ce3c778b17b62ef4062273d244a5ac | [
"MIT"
] | null | null | null | ########################################################################
# Useful classes for implementing quantum heterostructures behavior #
# author: Thiago Melo #
# creation: 2018-11-09 #
# update: 2018-11-09 ... | 42.5 | 72 | 0.331765 | 25 | 425 | 5.48 | 0.88 | 0.087591 | 0.116788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068376 | 0.449412 | 425 | 10 | 73 | 42.5 | 0.517094 | 0.536471 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.333333 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
33ea5f921d4071524fa084ee1a280a9f70ce196d | 58 | py | Python | code-festival-2017-qualc/a/answer.py | TakuyaNoguchi/atcoder | d079402e6fe9c9aaf3a6fc9272331ee71fc497da | [
"MIT"
] | null | null | null | code-festival-2017-qualc/a/answer.py | TakuyaNoguchi/atcoder | d079402e6fe9c9aaf3a6fc9272331ee71fc497da | [
"MIT"
] | null | null | null | code-festival-2017-qualc/a/answer.py | TakuyaNoguchi/atcoder | d079402e6fe9c9aaf3a6fc9272331ee71fc497da | [
"MIT"
] | null | null | null | if 'AC' in input():
print('Yes')
else:
print('No') | 14.5 | 19 | 0.517241 | 9 | 58 | 3.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241379 | 58 | 4 | 20 | 14.5 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0.118644 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
33f89a93b3afc0599d9b43c85b1816702be61f56 | 150 | py | Python | vgazer/version/pypi.py | edomin/vgazer | 3ffe64f2517cbfbe0b0292bacc9fbf7391687e76 | [
"CC0-1.0"
] | 2 | 2020-10-09T13:51:04.000Z | 2020-11-11T12:29:41.000Z | vgazer/version/pypi.py | edomin/vgazer | 3ffe64f2517cbfbe0b0292bacc9fbf7391687e76 | [
"CC0-1.0"
] | null | null | null | vgazer/version/pypi.py | edomin/vgazer | 3ffe64f2517cbfbe0b0292bacc9fbf7391687e76 | [
"CC0-1.0"
] | null | null | null | def CheckPypi(auth, project):
projectInfo = auth.GetJson("https://pypi.org/pypi/" + project + "/json")
return projectInfo["info"]["version"]
| 30 | 76 | 0.666667 | 17 | 150 | 5.882353 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 150 | 4 | 77 | 37.5 | 0.775194 | 0 | 0 | 0 | 0 | 0 | 0.253333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 0 | 0 | 1 | 0 | 0 | 4 |
d5062a9f6ebac837ce561f9e1513e547120ed4a0 | 100 | py | Python | load_data.py | katsugeneration/gap-conf-kaggle | 6c91b40a0f7dd30b24cbc3cbab664d187540e159 | [
"MIT"
] | null | null | null | load_data.py | katsugeneration/gap-conf-kaggle | 6c91b40a0f7dd30b24cbc3cbab664d187540e159 | [
"MIT"
] | null | null | null | load_data.py | katsugeneration/gap-conf-kaggle | 6c91b40a0f7dd30b24cbc3cbab664d187540e159 | [
"MIT"
] | null | null | null | import pandas
def load(filepath: str):
df = pandas.read_csv(filepath, sep='\t')
return df
| 14.285714 | 44 | 0.66 | 15 | 100 | 4.333333 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21 | 100 | 6 | 45 | 16.666667 | 0.822785 | 0 | 0 | 0 | 0 | 0 | 0.02 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
1d17f817f877df08a5ae236f1c1ebe785ba1932f | 126 | py | Python | app/tests/__init__.py | AKMFCJ/flask-example | 91abb959232688010e3a29536c047538f5b64040 | [
"Apache-2.0"
] | null | null | null | app/tests/__init__.py | AKMFCJ/flask-example | 91abb959232688010e3a29536c047538f5b64040 | [
"Apache-2.0"
] | null | null | null | app/tests/__init__.py | AKMFCJ/flask-example | 91abb959232688010e3a29536c047538f5b64040 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Created by AKM_FAN@163.com on 2017/11/6
if __name__ == '__main__':
pass | 15.75 | 41 | 0.619048 | 21 | 126 | 3.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107843 | 0.190476 | 126 | 8 | 42 | 15.75 | 0.568627 | 0.650794 | 0 | 0 | 0 | 0 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
1d400e5b0fef8d1cf650fbd8ec94b8fbca597c60 | 71 | py | Python | baseline/fast_rcnn/model/__init__.py | ITMO-NSS-team/LightObjRecEnsembler | 1375400f0a681aefdd3ab484e828257fd7aed318 | [
"BSD-3-Clause"
] | 4 | 2021-07-01T14:04:47.000Z | 2022-03-05T08:31:40.000Z | baseline/fast_rcnn/model/__init__.py | ITMO-NSS-team/LightObjRecEnsembler | 1375400f0a681aefdd3ab484e828257fd7aed318 | [
"BSD-3-Clause"
] | 3 | 2021-09-10T14:13:42.000Z | 2021-10-05T11:35:07.000Z | baseline/fast_rcnn/model/__init__.py | ITMO-NSS-team/LightObjRecEnsembler | 1375400f0a681aefdd3ab484e828257fd7aed318 | [
"BSD-3-Clause"
] | null | null | null | from baseline.fast_rcnn.model.faster_rcnn_vgg16 import FasterRCNNVGG16
| 35.5 | 70 | 0.901408 | 10 | 71 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 0.056338 | 71 | 1 | 71 | 71 | 0.850746 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1d46e58c414bd6350df79f98b06dd5c92460e654 | 537 | py | Python | ural/strip_protocol.py | Yomguithereal/ural | 3b59087cd53d08200b4007e4ca0434c795e5fa1f | [
"MIT"
] | 30 | 2018-09-28T22:17:35.000Z | 2022-01-07T18:33:33.000Z | ural/strip_protocol.py | Yomguithereal/ural | 3b59087cd53d08200b4007e4ca0434c795e5fa1f | [
"MIT"
] | 79 | 2018-10-26T11:41:58.000Z | 2022-02-28T10:24:44.000Z | ural/strip_protocol.py | Yomguithereal/ural | 3b59087cd53d08200b4007e4ca0434c795e5fa1f | [
"MIT"
] | 7 | 2019-04-26T15:16:28.000Z | 2022-01-06T14:21:44.000Z | # =============================================================================
# Ural URL Strip Protocol Function
# =============================================================================
#
# A function removing the protocol from the given url.
#
from ural.patterns import PROTOCOL_RE
def strip_protocol(url):
... | 24.409091 | 79 | 0.467412 | 51 | 537 | 4.862745 | 0.45098 | 0.104839 | 0.153226 | 0.217742 | 0.33871 | 0.33871 | 0.33871 | 0.33871 | 0 | 0 | 0 | 0 | 0.18622 | 537 | 21 | 80 | 25.571429 | 0.567506 | 0.72067 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1d4b461388dc62a7dc6745aebfc37fccf4709165 | 184 | py | Python | python/testData/quickFixes/PyAddExceptionSuperClassQuickFixTest/emptySuperList.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2019-04-28T07:48:50.000Z | 2020-12-11T14:18:08.000Z | python/testData/quickFixes/PyAddExceptionSuperClassQuickFixTest/emptySuperList.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/quickFixes/PyAddExceptionSuperClassQuickFixTest/emptySuperList.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z |
class MyException:
def __new__(cls, x):
pass
def foo():
raise <warning descr="Exception doesn't inherit from base 'Exception' class">My<caret>Exception()</warning>
| 18.4 | 111 | 0.673913 | 24 | 184 | 5 | 0.791667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.201087 | 184 | 9 | 112 | 20.444444 | 0.816327 | 0 | 0 | 0 | 0 | 0 | 0.291209 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0.2 | 0 | null | null | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
1d4f41e083d9398abf3bc2b3602e6e9bc6636c58 | 192 | py | Python | lorikeet/apps.py | excitedleigh/lorikeet | fe99cf4557736891f2a0e951f0f748074d5e02d4 | [
"MIT"
] | 6 | 2020-02-15T19:22:30.000Z | 2020-12-27T10:58:58.000Z | lorikeet/apps.py | excitedleigh/lorikeet | fe99cf4557736891f2a0e951f0f748074d5e02d4 | [
"MIT"
] | 79 | 2019-12-29T22:13:51.000Z | 2022-03-30T23:12:37.000Z | lorikeet/apps.py | excitedleigh/lorikeet | fe99cf4557736891f2a0e951f0f748074d5e02d4 | [
"MIT"
] | 2 | 2019-12-29T22:06:19.000Z | 2020-08-27T20:30:47.000Z | from django.apps import AppConfig
class LorikeetAppConfig(AppConfig):
name = "lorikeet"
verbose_name = "Lorikeet"
def ready(self):
from . import signal_handlers # noqa
| 19.2 | 45 | 0.692708 | 21 | 192 | 6.238095 | 0.761905 | 0.183206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229167 | 192 | 9 | 46 | 21.333333 | 0.885135 | 0.020833 | 0 | 0 | 0 | 0 | 0.086022 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
1d7b8bea4123ffe2e34398ce1f696c62ab7bb777 | 37 | py | Python | data/studio21_generated/introductory/2988/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/2988/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/2988/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def reverse_and_combine_text(text):
| 18.5 | 35 | 0.837838 | 6 | 37 | 4.666667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 37 | 2 | 36 | 18.5 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1da31bf69d7b5f0539218c57982649994951c7f4 | 328 | py | Python | tests/integration/test_db_init.py | geometry-labs/icon-governance | 2f084de358525808c6f05ab99a686463d2273c8b | [
"Apache-2.0"
] | null | null | null | tests/integration/test_db_init.py | geometry-labs/icon-governance | 2f084de358525808c6f05ab99a686463d2273c8b | [
"Apache-2.0"
] | 23 | 2021-10-04T19:13:57.000Z | 2022-02-16T23:50:15.000Z | tests/integration/test_db_init.py | geometry-labs/icon-governance | 2f084de358525808c6f05ab99a686463d2273c8b | [
"Apache-2.0"
] | null | null | null | # from icon_governance.db import session
#
# from icon_governance.db_init import preps_cron
#
# from icon_governance.models.preps import Prep
# def test_get_initial_preps(run_process_wait):
# run_process_wait(get_initial_preps)
# prep = session.get(Prep, "hx9121c5914ce34f59de52fe15efd6f7982c2ab8ae")
# asse... | 29.818182 | 76 | 0.792683 | 42 | 328 | 5.857143 | 0.47619 | 0.097561 | 0.219512 | 0.162602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080702 | 0.131098 | 328 | 10 | 77 | 32.8 | 0.782456 | 0.939024 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d5521d75de376d6b0f6ed3a81d1b7982e8f5f0a1 | 258 | py | Python | Aula17/exercicio/exercicio4.py | diegocolombo1989/Trabalho-Python | 4603117bebfb6e801c3289e108b4e8f29442ab6f | [
"MIT"
] | null | null | null | Aula17/exercicio/exercicio4.py | diegocolombo1989/Trabalho-Python | 4603117bebfb6e801c3289e108b4e8f29442ab6f | [
"MIT"
] | null | null | null | Aula17/exercicio/exercicio4.py | diegocolombo1989/Trabalho-Python | 4603117bebfb6e801c3289e108b4e8f29442ab6f | [
"MIT"
] | null | null | null | # Faça um programa que lê um numero inteiro do teclado e mostre a soma do numero com os valores da
# seguinte tupla:
# (61, 138, 13, 86, 7, 160, 150, 90, 182, 158, 167, 171, 79, 162, 197, 63, 164, 22, 194, 17, 168)
# use o f-string para apresentar o numero. | 64.5 | 98 | 0.678295 | 51 | 258 | 3.431373 | 0.901961 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.259804 | 0.209302 | 258 | 4 | 99 | 64.5 | 0.598039 | 0.968992 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d56030edc83a5f8c0fabcd5f647fdae810c5e307 | 110 | py | Python | src/randonet/generator/__init__.py | ahgamut/randonet | b55241809318d70e97c7718b3fcdc91a7219f269 | [
"MIT"
] | null | null | null | src/randonet/generator/__init__.py | ahgamut/randonet | b55241809318d70e97c7718b3fcdc91a7219f269 | [
"MIT"
] | null | null | null | src/randonet/generator/__init__.py | ahgamut/randonet | b55241809318d70e97c7718b3fcdc91a7219f269 | [
"MIT"
] | null | null | null | from .param import IntParam, FloatParam, BinaryParam, ChoiceParam, TupleParam
from .unit import Unit, Factory
| 36.666667 | 77 | 0.818182 | 13 | 110 | 6.923077 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118182 | 110 | 2 | 78 | 55 | 0.927835 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d5664bf6fe3674ab75dfceed33453cb8f14ccb9d | 61 | py | Python | apps/elasticstack2/__init__.py | dryprojects/MyBlog | ec04ba2bc658e96cddeb1d4766047ca8e89ff656 | [
"BSD-3-Clause"
] | 2 | 2021-08-17T13:29:21.000Z | 2021-09-04T05:00:01.000Z | apps/elasticstack2/__init__.py | dryprojects/MyBlog | ec04ba2bc658e96cddeb1d4766047ca8e89ff656 | [
"BSD-3-Clause"
] | 1 | 2020-07-16T11:22:32.000Z | 2020-07-16T11:22:32.000Z | apps/elasticstack2/__init__.py | dryprojects/MyBlog | ec04ba2bc658e96cddeb1d4766047ca8e89ff656 | [
"BSD-3-Clause"
] | 1 | 2020-09-18T10:41:59.000Z | 2020-09-18T10:41:59.000Z | default_app_config = 'elasticstack2.apps.Elasticstack2Config' | 61 | 61 | 0.885246 | 6 | 61 | 8.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.032787 | 61 | 1 | 61 | 61 | 0.847458 | 0 | 0 | 0 | 0 | 0 | 0.612903 | 0.612903 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
d5a84cc6f104a39d65b738814fe67717c542d8f9 | 164 | py | Python | problem0630.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0630.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | problem0630.py | kmarcini/Project-Euler-Python | d644e8e1ec4fac70a9ab407ad5e1f0a75547c8d3 | [
"BSD-3-Clause"
] | null | null | null | ###########################
#
# #630 Crossed lines - Project Euler
# https://projecteuler.net/problem=630
#
# Code by Kevin Marciniak
#
###########################
| 18.222222 | 38 | 0.469512 | 14 | 164 | 5.5 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041379 | 0.115854 | 164 | 8 | 39 | 20.5 | 0.489655 | 0.573171 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
633e05ffdc02bfddae958d9a97dc0189ae12cec0 | 117 | py | Python | Level 1/minion-labor-shifts/solution.py | shubhamnag14/Google-foobar-2020 | cee8539cab09fad0cf257f2d4a40ec839d3df4a8 | [
"Apache-2.0"
] | null | null | null | Level 1/minion-labor-shifts/solution.py | shubhamnag14/Google-foobar-2020 | cee8539cab09fad0cf257f2d4a40ec839d3df4a8 | [
"Apache-2.0"
] | null | null | null | Level 1/minion-labor-shifts/solution.py | shubhamnag14/Google-foobar-2020 | cee8539cab09fad0cf257f2d4a40ec839d3df4a8 | [
"Apache-2.0"
] | null | null | null | from collections import Counter
def solution(data,n):
d = Counter(data)
return [i for i in data if d[i]>=n]
| 19.5 | 39 | 0.666667 | 21 | 117 | 3.714286 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222222 | 117 | 5 | 40 | 23.4 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
6352de78cf0ad25242cdf4b70909af1c4d8973da | 128 | py | Python | prereise/gather/tests/__init__.py | terrywqf/PreREISE | f8052dd37091eaa15024725d5c92a3ef0ee311ee | [
"MIT"
] | null | null | null | prereise/gather/tests/__init__.py | terrywqf/PreREISE | f8052dd37091eaa15024725d5c92a3ef0ee311ee | [
"MIT"
] | null | null | null | prereise/gather/tests/__init__.py | terrywqf/PreREISE | f8052dd37091eaa15024725d5c92a3ef0ee311ee | [
"MIT"
] | null | null | null | __all__ = [
"mock_generation_data_frame",
"test_get_monthly_net_generation",
"test_rate_limit",
"test_retry",
]
| 18.285714 | 38 | 0.695313 | 15 | 128 | 5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 128 | 6 | 39 | 21.333333 | 0.721154 | 0 | 0 | 0 | 0 | 0 | 0.640625 | 0.445313 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
638e97b8fb1c322060be7475f4ca083a7b9841ff | 323 | py | Python | packages/mccomponents/python/mccomponents/sample/GridSQ.py | mcvine/mcvine | 42232534b0c6af729628009bed165cd7d833789d | [
"BSD-3-Clause"
] | 5 | 2017-01-16T03:59:47.000Z | 2020-06-23T02:54:19.000Z | packages/mccomponents/python/mccomponents/sample/GridSQ.py | mcvine/mcvine | 42232534b0c6af729628009bed165cd7d833789d | [
"BSD-3-Clause"
] | 293 | 2015-10-29T17:45:52.000Z | 2022-01-07T16:31:09.000Z | packages/mccomponents/python/mccomponents/sample/GridSQ.py | mcvine/mcvine | 42232534b0c6af729628009bed165cd7d833789d | [
"BSD-3-Clause"
] | 1 | 2019-05-25T00:53:31.000Z | 2019-05-25T00:53:31.000Z | #!/usr/bin/env python
#
from .AbstractSQ import AbstractSQ as base
class GridSQ(base):
def __init__(self, sqhist):
'''sqhist: a histogram instance'''
self.sqhist = sqhist
return
def identify(self, visitor): return visitor.onGridSQ( self )
pass # end of GridSQ
# End of fil... | 17 | 64 | 0.631579 | 40 | 323 | 5 | 0.65 | 0.1 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26935 | 323 | 18 | 65 | 17.944444 | 0.847458 | 0.232198 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.142857 | 0.142857 | 0.714286 | 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 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
892992766a0e87532e75f12883dd212a577bd9f9 | 304 | py | Python | qurator/eynollah/ocrd_cli.py | jacektl/eynollah | d784202ae177f975c648bb6885d5a126ec14b059 | [
"Apache-2.0"
] | 155 | 2020-12-03T17:12:17.000Z | 2022-03-31T02:01:26.000Z | qurator/eynollah/ocrd_cli.py | jacektl/eynollah | d784202ae177f975c648bb6885d5a126ec14b059 | [
"Apache-2.0"
] | 45 | 2020-12-04T20:51:29.000Z | 2022-03-31T16:17:01.000Z | qurator/eynollah/ocrd_cli.py | jacektl/eynollah | d784202ae177f975c648bb6885d5a126ec14b059 | [
"Apache-2.0"
] | 17 | 2020-12-08T21:16:38.000Z | 2022-03-23T21:18:51.000Z | from .processor import EynollahProcessor
from click import command
from ocrd.decorators import ocrd_cli_options, ocrd_cli_wrap_processor
@command()
@ocrd_cli_options
def main(*args, **kwargs):
return ocrd_cli_wrap_processor(EynollahProcessor, *args, **kwargs)
if __name__ == '__main__':
main()
| 25.333333 | 70 | 0.786184 | 39 | 304 | 5.666667 | 0.461538 | 0.126697 | 0.126697 | 0.180995 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121711 | 304 | 11 | 71 | 27.636364 | 0.827715 | 0 | 0 | 0 | 0 | 0 | 0.026316 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.333333 | 0.111111 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 4 |
8940a282d28cf588549f6cf636df4fa5d6de16bc | 141 | py | Python | Problem Solving/Unitdigit.py | prathimacode-hub/PythonScripts | e80d472705315b55ae61205c4606c46dcbf62cfc | [
"MIT"
] | 5 | 2020-11-24T12:32:11.000Z | 2020-12-08T18:14:25.000Z | Problem Solving/Unitdigit.py | prathimacode-hub/PythonScripts | e80d472705315b55ae61205c4606c46dcbf62cfc | [
"MIT"
] | 2 | 2021-06-23T13:01:34.000Z | 2021-07-07T04:00:41.000Z | Problem Solving/Unitdigit.py | prathimacode-hub/PythonScripts | e80d472705315b55ae61205c4606c46dcbf62cfc | [
"MIT"
] | 8 | 2020-11-24T09:48:02.000Z | 2021-05-28T15:10:12.000Z | print("To print the place values of integer")
a=int(input("Enter the integer value:"))
n=a%10
print("The unit digit of {} is{}".format(a,n))
| 28.2 | 46 | 0.687943 | 27 | 141 | 3.592593 | 0.666667 | 0.164948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.01626 | 0.12766 | 141 | 4 | 47 | 35.25 | 0.772358 | 0 | 0 | 0 | 0 | 0 | 0.602837 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
894a4a2cc6ce6151eb65e1e31871fb88364da9f7 | 1,116 | py | Python | sila_cetoni/core/sila/core_service/generated/batteryprovider/batteryprovider_base.py | CETONI-Software/sila_cetoni_core | 01395abc6e434d66ba2da56c90c81d3ecb805113 | [
"BSD-3-Clause"
] | 1 | 2022-03-08T13:40:00.000Z | 2022-03-08T13:40:00.000Z | sila_cetoni/core/sila/core_service/generated/batteryprovider/batteryprovider_base.py | CETONI-Software/sila_cetoni_core | 01395abc6e434d66ba2da56c90c81d3ecb805113 | [
"BSD-3-Clause"
] | null | null | null | sila_cetoni/core/sila/core_service/generated/batteryprovider/batteryprovider_base.py | CETONI-Software/sila_cetoni_core | 01395abc6e434d66ba2da56c90c81d3ecb805113 | [
"BSD-3-Clause"
] | null | null | null | from __future__ import annotations
from abc import ABC
from queue import Queue
from typing import Any, Dict
from sila2.framework import FullyQualifiedIdentifier
from sila2.server import FeatureImplementationBase
class BatteryProviderBase(FeatureImplementationBase, ABC):
_BatteryVoltage_producer_queue: Queue[fl... | 27.9 | 103 | 0.708781 | 116 | 1,116 | 6.646552 | 0.465517 | 0.085603 | 0.105058 | 0.083009 | 0.101167 | 0.101167 | 0.101167 | 0.101167 | 0 | 0 | 0 | 0.002336 | 0.232975 | 1,116 | 39 | 104 | 28.615385 | 0.898364 | 0.303763 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.214286 | false | 0.071429 | 0.428571 | 0 | 0.785714 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
895d543e45de815e4acbf0b3b4182d6e399f8027 | 93 | py | Python | discourse/discourse/apps.py | GonnaFlyMethod/discourse-django-vue | e323fc38c970a97788620a176f94bf3f2c830a60 | [
"MIT"
] | 1 | 2020-11-21T04:22:29.000Z | 2020-11-21T04:22:29.000Z | discourse/discourse/apps.py | GonnaFlyMethod/discourse-django-vue | e323fc38c970a97788620a176f94bf3f2c830a60 | [
"MIT"
] | 17 | 2020-11-21T00:41:50.000Z | 2020-12-12T08:46:40.000Z | apps/discourse/apps.py | codeselfstudy/codeselfstudy_django | 6ecb22a453df9be34e2174489e026dfbd026c50e | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class DiscourseConfig(AppConfig):
name = 'discourse'
| 15.5 | 33 | 0.763441 | 10 | 93 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
895de1e49fc6ee8a8331aa8b8e50161807a65db2 | 663 | py | Python | src/pydbsrt/tools/ffmpeg_wrapper/FFException.py | yoyonel/pydbsrt | 840b9cfb085cfd0d2d1ee94455d4544456aa7094 | [
"MIT"
] | null | null | null | src/pydbsrt/tools/ffmpeg_wrapper/FFException.py | yoyonel/pydbsrt | 840b9cfb085cfd0d2d1ee94455d4544456aa7094 | [
"MIT"
] | null | null | null | src/pydbsrt/tools/ffmpeg_wrapper/FFException.py | yoyonel/pydbsrt | 840b9cfb085cfd0d2d1ee94455d4544456aa7094 | [
"MIT"
] | null | null | null | class BinaryNotFound(Exception):
def __init__(self, binary_name):
Exception.__init__(self)
self.binary_name = binary_name
class BinaryCallFailed(Exception):
def __init__(self):
Exception.__init__(self)
class InvalidMedia(Exception):
def __init__(self, media_path):
Excepti... | 22.1 | 39 | 0.705882 | 68 | 663 | 6.088235 | 0.220588 | 0.231884 | 0.231884 | 0.289855 | 0.39372 | 0.39372 | 0.39372 | 0.304348 | 0 | 0 | 0 | 0 | 0.20362 | 663 | 30 | 40 | 22.1 | 0.784091 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
896a8d4889af20d22390e18dc10a05986e7d2df9 | 141 | py | Python | webAPi/exceptions/auth_error.py | BennyJane/web-common-service | 761ecbe1f2dca66babff5f0b9d9636ab9c5e6ebc | [
"Apache-2.0"
] | 2 | 2021-01-04T07:23:52.000Z | 2021-01-11T01:37:06.000Z | webAPi/utils/__init__.py | BennyJane/web-common-service | 761ecbe1f2dca66babff5f0b9d9636ab9c5e6ebc | [
"Apache-2.0"
] | null | null | null | webAPi/utils/__init__.py | BennyJane/web-common-service | 761ecbe1f2dca66babff5f0b9d9636ab9c5e6ebc | [
"Apache-2.0"
] | null | null | null | # !/usr/bin/env python
# -*-coding:utf-8 -*-
# PROJECT : web-common-service
# Time :2020/12/4 11:09
# Warning:The Hard Way Is Easier | 28.2 | 33 | 0.624113 | 23 | 141 | 3.826087 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106195 | 0.198582 | 141 | 5 | 34 | 28.2 | 0.672566 | 0.929078 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
89aa68e825c1bee613ca7e2c59e1962f93b0ec08 | 87 | py | Python | jack/tfutil/__init__.py | mitchelljeff/hack1 | 990d873cbcd40d2978f44560016d18a76800908e | [
"MIT"
] | 1 | 2018-10-23T12:07:31.000Z | 2018-10-23T12:07:31.000Z | jack/tfutil/__init__.py | mitchelljeff/hack1 | 990d873cbcd40d2978f44560016d18a76800908e | [
"MIT"
] | null | null | null | jack/tfutil/__init__.py | mitchelljeff/hack1 | 990d873cbcd40d2978f44560016d18a76800908e | [
"MIT"
] | null | null | null | """The tf_util package should contain all tf functionality of jtr for maximal reuse"""
| 43.5 | 86 | 0.781609 | 14 | 87 | 4.785714 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 87 | 1 | 87 | 87 | 0.905405 | 0.91954 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
89ba8e11eddc669958708ee2361b5b159454499c | 78 | py | Python | retri/__init__.py | eggveloper/retry | 81837581ff49a890a292f9c80a989a0dd5e52e3c | [
"MIT"
] | null | null | null | retri/__init__.py | eggveloper/retry | 81837581ff49a890a292f9c80a989a0dd5e52e3c | [
"MIT"
] | null | null | null | retri/__init__.py | eggveloper/retry | 81837581ff49a890a292f9c80a989a0dd5e52e3c | [
"MIT"
] | null | null | null | from retri.app import App
from pyglet.window import key
__all__ = [App, key]
| 15.6 | 29 | 0.75641 | 13 | 78 | 4.230769 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 78 | 4 | 30 | 19.5 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
982ba9e26a3d82ff470444f7f463d193a78431c0 | 205 | py | Python | backend/src/settings.py | aleksandr-kiriushin/billogram-test-app | e7be0bd6276e72693c539daf5cb7ab9e043c8802 | [
"MIT"
] | null | null | null | backend/src/settings.py | aleksandr-kiriushin/billogram-test-app | e7be0bd6276e72693c539daf5cb7ab9e043c8802 | [
"MIT"
] | null | null | null | backend/src/settings.py | aleksandr-kiriushin/billogram-test-app | e7be0bd6276e72693c539daf5cb7ab9e043c8802 | [
"MIT"
] | null | null | null | """ Settings for application set by envs """
import os
API_USER = os.getenv('API_USER')
API_PASSWORD = os.getenv('API_PASSWORD')
API_URL = os.getenv('API_URL')
SERVER_PORT = int(os.getenv('SERVER_PORT'))
| 25.625 | 44 | 0.731707 | 33 | 205 | 4.30303 | 0.484848 | 0.225352 | 0.232394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112195 | 205 | 7 | 45 | 29.285714 | 0.78022 | 0.17561 | 0 | 0 | 0 | 0 | 0.236025 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
98368239c2df02529d8473e2a0234d0af9e86c7a | 83 | py | Python | csfa/apps.py | ManHunter175/CSFA2test | 115daea8d859729569b0520a5183a784aa757833 | [
"bzip2-1.0.6"
] | null | null | null | csfa/apps.py | ManHunter175/CSFA2test | 115daea8d859729569b0520a5183a784aa757833 | [
"bzip2-1.0.6"
] | null | null | null | csfa/apps.py | ManHunter175/CSFA2test | 115daea8d859729569b0520a5183a784aa757833 | [
"bzip2-1.0.6"
] | null | null | null | from django.apps import AppConfig
class CsfaConfig(AppConfig):
name = 'csfa'
| 13.833333 | 33 | 0.73494 | 10 | 83 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 83 | 5 | 34 | 16.6 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
98419258045339adc3c0973ba71c531781d8063b | 612 | py | Python | app/charts/__init__.py | chenxinjingjing/pyecharts-app | 76ee6684b1b4ee416928adb29764b6316ad3bb39 | [
"MIT"
] | 188 | 2017-12-21T15:27:28.000Z | 2022-01-14T10:46:34.000Z | app/charts/__init__.py | QuincyC379/pyecharts-app | 316b370622c316e49a556aab71409d79e26c0a86 | [
"MIT"
] | 5 | 2018-10-29T06:12:29.000Z | 2019-12-30T07:08:09.000Z | app/charts/__init__.py | QuincyC379/pyecharts-app | 316b370622c316e49a556aab71409d79e26c0a86 | [
"MIT"
] | 90 | 2017-12-22T07:21:15.000Z | 2022-03-03T07:35:24.000Z |
# 基本图形
from . import bar
from . import bar3d
from . import boxplot
from . import effectscatter
from . import funnel
from . import gauge
from . import geo
from . import geolines
from . import graph
from . import heatmap
from . import kline
from . import line
from . import line3d
from . import liquid
from . import map
f... | 18 | 27 | 0.756536 | 86 | 612 | 5.383721 | 0.372093 | 0.604752 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006085 | 0.194444 | 612 | 33 | 28 | 18.545455 | 0.933063 | 0.01634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9844ea44f4e1861b2c6af6cf1b4a198f96ac070c | 98 | py | Python | deblurrer/scripts/datasets/__init__.py | ElPapi42/DeepDeblurring | 8649f607ddf70a14c067cf902fbba341f99635af | [
"MIT"
] | 2 | 2020-06-23T21:56:53.000Z | 2021-02-02T10:21:35.000Z | deblurrer/scripts/datasets/__init__.py | ElPapi42/DeepDeblurring | 8649f607ddf70a14c067cf902fbba341f99635af | [
"MIT"
] | 6 | 2020-05-27T15:07:07.000Z | 2021-02-11T12:24:46.000Z | deblurrer/scripts/datasets/__init__.py | ElPapi42/DeepDeblurring | 8649f607ddf70a14c067cf902fbba341f99635af | [
"MIT"
] | 2 | 2020-09-28T21:04:31.000Z | 2021-02-11T12:26:56.000Z | #!/usr/bin/python
# coding=utf-8
"""Scripts related to datasets dowloading and preprocessing."""
| 19.6 | 63 | 0.734694 | 13 | 98 | 5.538462 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011494 | 0.112245 | 98 | 4 | 64 | 24.5 | 0.816092 | 0.887755 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
984edd71780ad802c75b5b4de49e1aa441f913b4 | 3,365 | py | Python | test_case_3_8.py | Alekseybykov126/autotesting | 7febd5717f7d677ce7c1fc2d1c8a3b9c8e0ed902 | [
"Apache-2.0"
] | null | null | null | test_case_3_8.py | Alekseybykov126/autotesting | 7febd5717f7d677ce7c1fc2d1c8a3b9c8e0ed902 | [
"Apache-2.0"
] | null | null | null | test_case_3_8.py | Alekseybykov126/autotesting | 7febd5717f7d677ce7c1fc2d1c8a3b9c8e0ed902 | [
"Apache-2.0"
] | null | null | null | from .page import *
def case_3_8(self, full_screen):
self.driver.get("https://www.tvzavr.ru/")
self.page.loger('\n Запуск Тест кейс № 3_8 tvweb_new-3_8: Проверка статуса фильмов в разделах "Подписка tvzavr +" и "Отключи рекламу на tvzavr!" \n')
self.page.click_f('Клик_Новинки', 1)
... | 60.089286 | 161 | 0.711738 | 470 | 3,365 | 4.961702 | 0.257447 | 0.068611 | 0.061321 | 0.038593 | 0.805317 | 0.737564 | 0.70669 | 0.680961 | 0.656947 | 0.656947 | 0 | 0.011859 | 0.147994 | 3,365 | 56 | 162 | 60.089286 | 0.800837 | 0.095097 | 0 | 0.531915 | 0 | 0.021277 | 0.503296 | 0.132828 | 0 | 0 | 0 | 0 | 0.085106 | 1 | 0.021277 | false | 0 | 0.021277 | 0 | 0.042553 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
985ee80d107a50c8bbf9666b41e8f89b926c1ea8 | 1,087 | py | Python | probr/settings.example.py | mohbandy/probr-core | df152c4fe0d0e5e393f11154db38dc56dcefb636 | [
"MIT"
] | 45 | 2015-08-11T11:37:46.000Z | 2022-03-27T19:27:56.000Z | probr/settings.example.py | mohbandy/probr-core | df152c4fe0d0e5e393f11154db38dc56dcefb636 | [
"MIT"
] | 33 | 2015-08-11T10:23:44.000Z | 2022-03-01T15:57:15.000Z | probr/settings.example.py | mohbandy/probr-core | df152c4fe0d0e5e393f11154db38dc56dcefb636 | [
"MIT"
] | 23 | 2015-10-06T17:07:54.000Z | 2021-11-12T10:47:17.000Z | from base_settings import *
# Redis Connection for Sockets
# WS4REDIS_CONNECTION = {
# 'host': os.environ.get('REDIS_PORT_6379_TCP_ADDR', 'localhost'),
# 'port': os.environ.get('REDIS_PORT_6379_TCP_PORT', '6379'),
# }
#
# Broker URL for Celery
# BROKER_URL = 'redis://' + os.environ.get('REDIS_PORT_6379_TCP_AD... | 33.96875 | 167 | 0.632935 | 127 | 1,087 | 5.102362 | 0.417323 | 0.111111 | 0.148148 | 0.104938 | 0.481481 | 0.481481 | 0.46142 | 0.237654 | 0.237654 | 0 | 0 | 0.058954 | 0.172953 | 1,087 | 31 | 168 | 35.064516 | 0.661847 | 0.917203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
98640f74f074ed7432e4bc156ee2edc3dd5627dd | 135 | py | Python | power_data_to_sat_passes/Sat1/gpstime.py | abrahamneben/orbcomm_beam_mapping | 71b3e7d6e4214db0a6f4e68ebeeb7d7f846f5004 | [
"MIT"
] | 1 | 2019-04-10T02:50:19.000Z | 2019-04-10T02:50:19.000Z | power_data_to_sat_passes/Sat1/gpstime.py | abrahamneben/orbcomm_beam_mapping | 71b3e7d6e4214db0a6f4e68ebeeb7d7f846f5004 | [
"MIT"
] | null | null | null | power_data_to_sat_passes/Sat1/gpstime.py | abrahamneben/orbcomm_beam_mapping | 71b3e7d6e4214db0a6f4e68ebeeb7d7f846f5004 | [
"MIT"
] | null | null | null | #!/usr/bin/python
from astropy.time import Time
from datetime import datetime
ut = Time(datetime.utcnow(), scale='utc')
print ut.gps
| 16.875 | 41 | 0.748148 | 21 | 135 | 4.809524 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125926 | 135 | 7 | 42 | 19.285714 | 0.855932 | 0.118519 | 0 | 0 | 0 | 0 | 0.025641 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0.25 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9881e736cb772eeeb3c6973e15d95d91402a0a2d | 169 | py | Python | examples/sms-simple.py | messente/messente-python | 5a9d4648c75b6aebbba0944bad28815f3cba37ae | [
"Apache-2.0"
] | null | null | null | examples/sms-simple.py | messente/messente-python | 5a9d4648c75b6aebbba0944bad28815f3cba37ae | [
"Apache-2.0"
] | 1 | 2020-03-25T08:17:09.000Z | 2020-03-25T12:25:44.000Z | examples/sms-simple.py | messente/messente-python | 5a9d4648c75b6aebbba0944bad28815f3cba37ae | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from messente.api.sms import Messente
api = Messente(username="user", password="password")
api.sms.send(dict(to="+XXXxxxxxxxxx", text="test"))
| 24.142857 | 52 | 0.692308 | 23 | 169 | 5.086957 | 0.73913 | 0.188034 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006579 | 0.100592 | 169 | 6 | 53 | 28.166667 | 0.763158 | 0.12426 | 0 | 0 | 0 | 0 | 0.19863 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.333333 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
988a53b8b880af78ae2fb5495948ed529a59becb | 215 | py | Python | tests/_support/foo.py | tyewang/invoke | e40b3ef3b8e9a9b275b2964c65e2ce878fec4349 | [
"BSD-2-Clause"
] | null | null | null | tests/_support/foo.py | tyewang/invoke | e40b3ef3b8e9a9b275b2964c65e2ce878fec4349 | [
"BSD-2-Clause"
] | null | null | null | tests/_support/foo.py | tyewang/invoke | e40b3ef3b8e9a9b275b2964c65e2ce878fec4349 | [
"BSD-2-Clause"
] | null | null | null | from invoke.tasks import task
@task
def mytask():
pass
@task
def basic_arg(arg='val'):
pass
@task
def multiple_args(arg1='val1', otherarg='val2'):
pass
@task
def basic_bool(mybool=True):
pass
| 10.238095 | 48 | 0.665116 | 32 | 215 | 4.375 | 0.625 | 0.2 | 0.235714 | 0.228571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017544 | 0.204651 | 215 | 20 | 49 | 10.75 | 0.80117 | 0 | 0 | 0.615385 | 0 | 0 | 0.051163 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.307692 | false | 0.307692 | 0.076923 | 0 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
98974ccfdc0abd85f726e8db4712482a0dc902ef | 135 | py | Python | mediaman/test/local_exists.py | MattCCS/MediaMan | 388c0d16da437b0ede4f0903a01e41dc8e927ae6 | [
"BSD-3-Clause-Clear"
] | 1 | 2019-05-06T19:51:08.000Z | 2019-05-06T19:51:08.000Z | mediaman/test/local_exists.py | MattCCS/MediaMan | 388c0d16da437b0ede4f0903a01e41dc8e927ae6 | [
"BSD-3-Clause-Clear"
] | 1 | 2021-02-08T20:22:34.000Z | 2021-02-08T20:22:34.000Z | mediaman/test/local_exists.py | MattCCS/MediaMan | 388c0d16da437b0ede4f0903a01e41dc8e927ae6 | [
"BSD-3-Clause-Clear"
] | null | null | null |
from mediaman.services import loader
local = loader.load_local()
print(local.exists("missing.txt"))
print(local.exists("test.txt"))
| 16.875 | 36 | 0.755556 | 19 | 135 | 5.315789 | 0.631579 | 0.19802 | 0.316832 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 135 | 7 | 37 | 19.285714 | 0.821138 | 0 | 0 | 0 | 0 | 0 | 0.141791 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 0.5 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
7f3b97a13e0bedfb180193a91d4e5cabcc0650da | 179 | py | Python | musics/views.py | zhusheng/django_basic | e3b9665d38ffeadf92f45c526677b151e40c6e62 | [
"Apache-2.0"
] | null | null | null | musics/views.py | zhusheng/django_basic | e3b9665d38ffeadf92f45c526677b151e40c6e62 | [
"Apache-2.0"
] | null | null | null | musics/views.py | zhusheng/django_basic | e3b9665d38ffeadf92f45c526677b151e40c6e62 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
# Create your views here.
def hello_view(request):
return render(request, 'hello_django.html', {
'data': "Hello Django ",
})
| 19.888889 | 49 | 0.670391 | 22 | 179 | 5.363636 | 0.727273 | 0.186441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212291 | 179 | 8 | 50 | 22.375 | 0.836879 | 0.128492 | 0 | 0 | 0 | 0 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
7f456a90c8eeaea5e22531fb6b10a671e7de9a6c | 228 | py | Python | mne_nirs/channels/__init__.py | larsoner/mne-nirs | 7b0fd29c93a94604d797f1cbf02a5c2c640f1867 | [
"BSD-3-Clause"
] | null | null | null | mne_nirs/channels/__init__.py | larsoner/mne-nirs | 7b0fd29c93a94604d797f1cbf02a5c2c640f1867 | [
"BSD-3-Clause"
] | null | null | null | mne_nirs/channels/__init__.py | larsoner/mne-nirs | 7b0fd29c93a94604d797f1cbf02a5c2c640f1867 | [
"BSD-3-Clause"
] | null | null | null | """Functions to help with handling channel information."""
# Authors: Robert Luke <mail@robertluke.net>
#
# License: BSD (3-clause)
from ._short import get_short_channels, get_long_channels
from ._roi import picks_pair_to_idx
| 25.333333 | 58 | 0.780702 | 33 | 228 | 5.121212 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005 | 0.122807 | 228 | 8 | 59 | 28.5 | 0.84 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
7f63e92daf8a67c4d96b20b1f17e2219fd2dec8f | 47 | py | Python | angrop/__init__.py | cokesme/angrop-mirror | f1b7a2875a5325082220e96a5cd9017f6bd2ac01 | [
"BSD-2-Clause"
] | null | null | null | angrop/__init__.py | cokesme/angrop-mirror | f1b7a2875a5325082220e96a5cd9017f6bd2ac01 | [
"BSD-2-Clause"
] | null | null | null | angrop/__init__.py | cokesme/angrop-mirror | f1b7a2875a5325082220e96a5cd9017f6bd2ac01 | [
"BSD-2-Clause"
] | null | null | null | __version__ = (8, 20, 6, 1)
from . import rop
| 11.75 | 27 | 0.617021 | 8 | 47 | 3.125 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 0.234043 | 47 | 3 | 28 | 15.666667 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7f7ed02f951ddd89e589087ab8aa67380e463eef | 1,509 | py | Python | predict.py | IngJavierR/AnomalyDetectionPython | fdf9dfb7f3d3cc6c817b6c75f36cb45b23c73d80 | [
"Apache-2.0"
] | 1 | 2022-02-19T02:02:37.000Z | 2022-02-19T02:02:37.000Z | predict.py | IngJavierR/AnomalyDetectionPython | fdf9dfb7f3d3cc6c817b6c75f36cb45b23c73d80 | [
"Apache-2.0"
] | null | null | null | predict.py | IngJavierR/AnomalyDetectionPython | fdf9dfb7f3d3cc6c817b6c75f36cb45b23c73d80 | [
"Apache-2.0"
] | null | null | null | import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
from sklearn.ensemble import IsolationForest, RandomForestClassifier
from sklearn.neighbors import LocalOutlierFactor
from sklearn.svm import OneClassSVM
from sklearn.covariance import EllipticEnvelope
from sklearn.metrics import classification_repo... | 32.804348 | 467 | 0.707753 | 259 | 1,509 | 4.057915 | 0.30888 | 0.152236 | 0.182683 | 0.182683 | 0.068506 | 0.054234 | 0.048525 | 0.048525 | 0.048525 | 0.048525 | 0 | 0.258114 | 0.142478 | 1,509 | 45 | 468 | 33.533333 | 0.554096 | 0.332671 | 0 | 0 | 0 | 0 | 0.075226 | 0.03009 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.37037 | 0 | 0.37037 | 0.296296 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f690a724334c67923b7ccd8acf90a3335d815b31 | 262 | py | Python | DQMServices/Components/python/DQMDcsInfoClient_cfi.py | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 3 | 2018-08-24T19:10:26.000Z | 2019-02-19T11:45:32.000Z | DQMServices/Components/python/DQMDcsInfoClient_cfi.py | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 7 | 2016-07-17T02:34:54.000Z | 2019-08-13T07:58:37.000Z | DQMServices/Components/python/DQMDcsInfoClient_cfi.py | NTrevisani/cmssw | a212a27526f34eb9507cf8b875c93896e6544781 | [
"Apache-2.0"
] | 5 | 2018-08-21T16:37:52.000Z | 2020-01-09T13:33:17.000Z | import FWCore.ParameterSet.Config as cms
from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
dqmDcsInfoClient = DQMEDHarvester("DQMDcsInfoClient",
subSystemFolder = cms.untracked.string('Info'),
dcsInfoFolder = cms.untracked.string('DcsInfo')
)
| 32.75 | 59 | 0.79771 | 25 | 262 | 8.36 | 0.68 | 0.287081 | 0.172249 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10687 | 262 | 7 | 60 | 37.428571 | 0.893162 | 0 | 0 | 0 | 0 | 0 | 0.103053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 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 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f69a1afaf79a321fc3afe6ac7167c82de6c16188 | 27 | py | Python | source/__init__.py | vb64/pdftoc | b45122dab59b17bd566c19ec0afdbecb80cb4b8d | [
"MIT"
] | null | null | null | source/__init__.py | vb64/pdftoc | b45122dab59b17bd566c19ec0afdbecb80cb4b8d | [
"MIT"
] | null | null | null | source/__init__.py | vb64/pdftoc | b45122dab59b17bd566c19ec0afdbecb80cb4b8d | [
"MIT"
] | null | null | null | """Need for test suite."""
| 13.5 | 26 | 0.592593 | 4 | 27 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 27 | 1 | 27 | 27 | 0.695652 | 0.740741 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f6a100d267afeef7099c69055602950d7611666c | 2,168 | py | Python | phonenumbers/data/region_LK.py | ayushgoel/FixGoogleContacts | e49e58db6718bef8f95b6f767241605441c7fe41 | [
"MIT"
] | 2 | 2019-02-22T05:27:22.000Z | 2020-12-30T19:33:18.000Z | phonenumbers/data/region_LK.py | ayushgoel/FixGoogleContacts | e49e58db6718bef8f95b6f767241605441c7fe41 | [
"MIT"
] | null | null | null | phonenumbers/data/region_LK.py | ayushgoel/FixGoogleContacts | e49e58db6718bef8f95b6f767241605441c7fe41 | [
"MIT"
] | null | null | null | """Auto-generated file, do not edit by hand. LK metadata"""
from ..phonemetadata import NumberFormat, PhoneNumberDesc, PhoneMetadata
PHONE_METADATA_LK = PhoneMetadata(id='LK', country_code=94, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='[1-9]\\d{8}', possible_number_pattern='\\... | 90.333333 | 184 | 0.759686 | 284 | 2,168 | 5.475352 | 0.285211 | 0.250804 | 0.212219 | 0.347267 | 0.571704 | 0.543408 | 0.473955 | 0.436656 | 0.436656 | 0.083601 | 0 | 0.048515 | 0.068266 | 2,168 | 23 | 185 | 94.26087 | 0.721287 | 0.024446 | 0 | 0 | 1 | 0.047619 | 0.13229 | 0.051683 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.047619 | 0 | 0.047619 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f6c9427abe5a00c56cd45876b6a9d59700e3f872 | 448 | py | Python | pc_softmax_higher_accuracy/cub_experiments/data_splits/data_tool.py | ZhenyueQin/Research-Softmax-with-Mutual-Information | 5c77c0bda6d5652e2d525e1acf1606d67d047cfd | [
"CC-BY-4.0"
] | 103 | 2019-11-25T03:51:16.000Z | 2022-03-04T01:00:28.000Z | pc_softmax_higher_accuracy/cub_experiments/data_splits/data_tool.py | ZhenyueQin/Research-Softmax-with-Mutual-Information | 5c77c0bda6d5652e2d525e1acf1606d67d047cfd | [
"CC-BY-4.0"
] | 2 | 2019-12-08T11:58:50.000Z | 2020-01-03T11:49:06.000Z | pc_softmax_higher_accuracy/cub_experiments/data_splits/data_tool.py | ZhenyueQin/Research-Softmax-with-Mutual-Information | 5c77c0bda6d5652e2d525e1acf1606d67d047cfd | [
"CC-BY-4.0"
] | 9 | 2019-11-27T01:15:15.000Z | 2020-09-14T06:50:57.000Z | f = open("cub_200/val.txt", "r")
class_dict = {}
rtn = open('val_tmp.txt', 'w')
for x in f:
class_int = int(x[7:10])
if class_int not in class_dict.keys():
class_dict[class_int] = 1
else:
class_dict[class_int] += 1
if class_dict[class_int] > 5:
if class_int % 2 == 0:
... | 19.478261 | 43 | 0.517857 | 70 | 448 | 3.1 | 0.414286 | 0.258065 | 0.258065 | 0.313364 | 0.341014 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044218 | 0.34375 | 448 | 22 | 44 | 20.363636 | 0.693878 | 0 | 0 | 0.294118 | 0 | 0 | 0.062921 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.058824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f6d771efa61eb9a7d2b7006649d2ec6abcdbf4ae | 216 | py | Python | pytest/tests/test_cli.py | imsardine/learning | 925841ddd93d60c740a62e12d9f57ef15b6e0a20 | [
"MIT"
] | null | null | null | pytest/tests/test_cli.py | imsardine/learning | 925841ddd93d60c740a62e12d9f57ef15b6e0a20 | [
"MIT"
] | null | null | null | pytest/tests/test_cli.py | imsardine/learning | 925841ddd93d60c740a62e12d9f57ef15b6e0a20 | [
"MIT"
] | null | null | null | import pytest
from .matchers import *
def test_version(shell):
r = shell.run('pytest --version')
assert r.err == like("""
This is pytest version %s, imported from ...
""" % pytest.__version__)
| 19.636364 | 52 | 0.625 | 27 | 216 | 4.814815 | 0.62963 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.231481 | 216 | 10 | 53 | 21.6 | 0.783133 | 0 | 0 | 0 | 0 | 0 | 0.344186 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
10184454ca076e1831b79d6208c0cf2240ddd3f4 | 325 | py | Python | source/components/base_serializer.py | chenjd/pyuml | d4af3040f443d61d339c06faab51a4c3aa4775b4 | [
"MIT"
] | 4 | 2021-01-22T05:47:13.000Z | 2021-11-06T08:29:31.000Z | source/components/base_serializer.py | chenjd/pyuml | d4af3040f443d61d339c06faab51a4c3aa4775b4 | [
"MIT"
] | 2 | 2021-01-22T05:47:28.000Z | 2022-03-12T00:44:22.000Z | source/components/base_serializer.py | chenjd/pyuml | d4af3040f443d61d339c06faab51a4c3aa4775b4 | [
"MIT"
] | 1 | 2021-01-22T05:46:57.000Z | 2021-01-22T05:46:57.000Z | from abc import ABCMeta, abstractmethod
class BaseSerializer(metaclass=ABCMeta):
@abstractmethod
def serialize(self, obj):
pass
@abstractmethod
def deserilize(self, name):
pass
@abstractmethod
def get_keys(self):
pass
@abstractmethod
def clear(self):
... | 16.25 | 40 | 0.64 | 32 | 325 | 6.46875 | 0.5625 | 0.328502 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.289231 | 325 | 19 | 41 | 17.105263 | 0.896104 | 0 | 0 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.285714 | 0.071429 | 0 | 0.428571 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
63e290056a9420196487f94d9b18eb6fd57497e1 | 222 | py | Python | pacote-download/controle-visitantes/venv/Scripts/django-admin.py | daiane0/Django-na-pratica-udemy | 47734d7f8ce746273fbbb4eef664f7fab8d0868f | [
"MIT"
] | null | null | null | pacote-download/controle-visitantes/venv/Scripts/django-admin.py | daiane0/Django-na-pratica-udemy | 47734d7f8ce746273fbbb4eef664f7fab8d0868f | [
"MIT"
] | null | null | null | pacote-download/controle-visitantes/venv/Scripts/django-admin.py | daiane0/Django-na-pratica-udemy | 47734d7f8ce746273fbbb4eef664f7fab8d0868f | [
"MIT"
] | null | null | null | #!C:\Users\Daiane\OneDrive\Documentos\udemy\Django framework na prática\controle-visitantes\venv\Scripts\python.exe
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
| 37 | 115 | 0.810811 | 29 | 222 | 5.827586 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 222 | 5 | 116 | 44.4 | 0.828431 | 0.513514 | 0 | 0 | 0 | 0 | 0.074766 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
63f5d3cf905e5f71fe0df740a1d69abc1ae29df7 | 122 | py | Python | vlkit/utils/__init__.py | vlkit/vlk | 0fc79b39972356af1ca921eab5fce5d671366725 | [
"MIT"
] | null | null | null | vlkit/utils/__init__.py | vlkit/vlk | 0fc79b39972356af1ca921eab5fce5d671366725 | [
"MIT"
] | null | null | null | vlkit/utils/__init__.py | vlkit/vlk | 0fc79b39972356af1ca921eab5fce5d671366725 | [
"MIT"
] | null | null | null | from .misc import get_logger, get_workdir, AverageMeter
from .torch import accuracy
from .is_object import isarray, isimg
| 30.5 | 55 | 0.827869 | 18 | 122 | 5.444444 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122951 | 122 | 3 | 56 | 40.666667 | 0.915888 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
12447f539c7a787bfaab28db5bdfc00f897a45a0 | 271 | py | Python | flow/envs/nemodrive_lab/networks.py | remusionita/flow_rl | f26cd13bdcc89c00fe980cd8d7873c88af8e2744 | [
"MIT"
] | null | null | null | flow/envs/nemodrive_lab/networks.py | remusionita/flow_rl | f26cd13bdcc89c00fe980cd8d7873c88af8e2744 | [
"MIT"
] | 1 | 2019-12-05T09:04:05.000Z | 2019-12-05T21:23:49.000Z | flow/envs/nemodrive_lab/networks.py | remusionita/flow_rl | f26cd13bdcc89c00fe980cd8d7873c88af8e2744 | [
"MIT"
] | 3 | 2019-12-07T11:36:21.000Z | 2020-01-04T16:29:57.000Z | from flow.networks.figure_eight import ADDITIONAL_NET_PARAMS
# ENV1_NET PARAMS
ADDITIONAL_NET_PARAMS_ENV1 = ADDITIONAL_NET_PARAMS.copy()
ADDITIONAL_NET_PARAMS_ENV1["lanes"] = 2
ADDITIONAL_NET_PARAMS_ENV1["resolution"] = 40
ADDITIONAL_NET_PARAMS_ENV1["radius_ring"] = 60
| 33.875 | 60 | 0.845018 | 39 | 271 | 5.384615 | 0.461538 | 0.3 | 0.542857 | 0.547619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039841 | 0.073801 | 271 | 7 | 61 | 38.714286 | 0.796813 | 0.055351 | 0 | 0 | 0 | 0 | 0.102362 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
124972393b902ec3b03b36f36e22f850f21593f9 | 105 | py | Python | Exercises/005.py | Fenias-Manhenge/Scripts---Python | 5e425f330d72b427dcf877bb4d5743330cdd4104 | [
"MIT"
] | null | null | null | Exercises/005.py | Fenias-Manhenge/Scripts---Python | 5e425f330d72b427dcf877bb4d5743330cdd4104 | [
"MIT"
] | null | null | null | Exercises/005.py | Fenias-Manhenge/Scripts---Python | 5e425f330d72b427dcf877bb4d5743330cdd4104 | [
"MIT"
] | null | null | null | nr = int(input("Digite um numero inteiro: "))
print(f"Seu antecessor: {nr - 1} \nSeu sucessor: {nr + 1}") | 52.5 | 59 | 0.647619 | 17 | 105 | 4 | 0.823529 | 0.088235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022472 | 0.152381 | 105 | 2 | 59 | 52.5 | 0.741573 | 0 | 0 | 0 | 0 | 0 | 0.707547 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
12735ebcc847a1bd4dd062f76353d365b7e15a77 | 660 | py | Python | tmt/steps/execute/beakerlib.py | mruprich/tmt | 2f0ae3f864b1cd51e4b66bf92ba51e9a58e6882c | [
"MIT"
] | null | null | null | tmt/steps/execute/beakerlib.py | mruprich/tmt | 2f0ae3f864b1cd51e4b66bf92ba51e9a58e6882c | [
"MIT"
] | null | null | null | tmt/steps/execute/beakerlib.py | mruprich/tmt | 2f0ae3f864b1cd51e4b66bf92ba51e9a58e6882c | [
"MIT"
] | null | null | null | from tmt.steps.execute.shell import ExecutorShell
""" Beakerlib Executor Provider Class """
class ExecutorBeakerlib(ExecutorShell):
""" Run tests using how: beakerlib """
type = 'beakerlib'
def go(self, plan_workdir):
""" Run tests """
super(ExecutorBeakerlib, self).go(plan_workdir)
... | 25.384615 | 55 | 0.619697 | 64 | 660 | 6.359375 | 0.5 | 0.058968 | 0.199017 | 0.228501 | 0.167076 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.266667 | 660 | 25 | 56 | 26.4 | 0.840909 | 0.186364 | 0 | 0 | 0 | 0 | 0.038217 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
89f490ee5a3aefd92eaf2385e6cb40c9c98a4c8c | 71,158 | py | Python | pysnmp-with-texts/Nortel-MsCarrier-MscPassport-AtmBearerServiceMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 8 | 2019-05-09T17:04:00.000Z | 2021-06-09T06:50:51.000Z | pysnmp-with-texts/Nortel-MsCarrier-MscPassport-AtmBearerServiceMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 4 | 2019-05-31T16:42:59.000Z | 2020-01-31T21:57:17.000Z | pysnmp-with-texts/Nortel-MsCarrier-MscPassport-AtmBearerServiceMIB.py | agustinhenze/mibs.snmplabs.com | 1fc5c07860542b89212f4c8ab807057d9a9206c7 | [
"Apache-2.0"
] | 10 | 2019-04-30T05:51:36.000Z | 2022-02-16T03:33:41.000Z | #
# PySNMP MIB module Nortel-MsCarrier-MscPassport-AtmBearerServiceMIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Nortel-MsCarrier-MscPassport-AtmBearerServiceMIB
# Produced by pysmi-0.3.4 at Wed May 1 14:29:02 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.... | 234.072368 | 6,337 | 0.805742 | 8,594 | 71,158 | 6.671515 | 0.054573 | 0.037673 | 0.065928 | 0.007325 | 0.712514 | 0.633697 | 0.633697 | 0.633069 | 0.615941 | 0.605668 | 0 | 0.045187 | 0.102139 | 71,158 | 303 | 6,338 | 234.844884 | 0.852215 | 0.005481 | 0 | 0 | 0 | 0.131757 | 0.47129 | 0.044376 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.067568 | 0.054054 | 0 | 0.054054 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
89fb3052ba7958c5d553c58a982c75dda9756f22 | 112 | py | Python | django_project/apps/fourth_django_app/apps.py | AnatoleCI/D-p-t-GitHub---Django-API-REST-SwaggerURL | 056869aa31223d2bcce0bbdeb3b57a2ab5899661 | [
"MIT"
] | 2 | 2021-04-15T01:08:05.000Z | 2021-11-23T21:48:02.000Z | django_project/apps/fourth_django_app/apps.py | AnatoleCI/D-p-t-GitHub---Django-API-REST-SwaggerURL | 056869aa31223d2bcce0bbdeb3b57a2ab5899661 | [
"MIT"
] | null | null | null | django_project/apps/fourth_django_app/apps.py | AnatoleCI/D-p-t-GitHub---Django-API-REST-SwaggerURL | 056869aa31223d2bcce0bbdeb3b57a2ab5899661 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class FourthDjangoAppConfig(AppConfig):
name = 'apps.fourth_django_app'
| 18.666667 | 39 | 0.794643 | 13 | 112 | 6.692308 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133929 | 112 | 5 | 40 | 22.4 | 0.896907 | 0 | 0 | 0 | 0 | 0 | 0.196429 | 0.196429 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d643ccdf23477d1e55d3259c0ac4f638ec404640 | 330 | py | Python | pupa/importers/__init__.py | azban/pupa | 158378e19bcc322796aa4fb766784cbd4fd08413 | [
"BSD-3-Clause"
] | 62 | 2015-01-08T05:46:46.000Z | 2022-01-31T03:27:14.000Z | pupa/importers/__init__.py | azban/pupa | 158378e19bcc322796aa4fb766784cbd4fd08413 | [
"BSD-3-Clause"
] | 199 | 2015-01-10T03:19:37.000Z | 2021-05-21T20:34:58.000Z | pupa/importers/__init__.py | azban/pupa | 158378e19bcc322796aa4fb766784cbd4fd08413 | [
"BSD-3-Clause"
] | 35 | 2015-03-09T19:41:42.000Z | 2021-06-22T20:01:35.000Z | # flake8: noqa
from .jurisdiction import JurisdictionImporter
from .organizations import OrganizationImporter
from .people import PersonImporter
from .posts import PostImporter
from .memberships import MembershipImporter
from .bills import BillImporter
from .vote_events import VoteEventImporter
from .events import Even... | 33 | 47 | 0.863636 | 35 | 330 | 8.114286 | 0.571429 | 0.084507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.00339 | 0.106061 | 330 | 9 | 48 | 36.666667 | 0.959322 | 0.036364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d64f212583eb816397fc62b9bbad31bc313c839f | 268 | py | Python | threatstack/errors.py | giany/threatstack-python-client | c9e0a4bed55685d3a032c6f1a03261d44de64c4a | [
"MIT"
] | 4 | 2018-03-14T21:51:46.000Z | 2020-01-06T17:25:53.000Z | threatstack/errors.py | giany/threatstack-python-client | c9e0a4bed55685d3a032c6f1a03261d44de64c4a | [
"MIT"
] | 4 | 2018-01-17T19:58:29.000Z | 2018-04-13T17:03:01.000Z | threatstack/errors.py | giany/threatstack-python-client | c9e0a4bed55685d3a032c6f1a03261d44de64c4a | [
"MIT"
] | 6 | 2018-01-15T18:46:25.000Z | 2022-02-17T10:13:35.000Z | """
ThreatStack Python Client Exceptions
"""
class Error(Exception):
pass
class ThreatStackClientError(Exception):
pass
class ThreatStackAPIError(Error):
pass
class APIRateLimitError(Error):
""" Used to trigger retry on rate limit """
pass
| 12.761905 | 47 | 0.705224 | 27 | 268 | 7 | 0.666667 | 0.142857 | 0.190476 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205224 | 268 | 20 | 48 | 13.4 | 0.887324 | 0.272388 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
c38b8b5fa3eec58195ea52467639a35140847b35 | 109 | py | Python | account/admin.py | dacom-dark-sun/dacom-api | 7efd77bf75cd28771b4a466ff36310d12b634f30 | [
"MIT"
] | null | null | null | account/admin.py | dacom-dark-sun/dacom-api | 7efd77bf75cd28771b4a466ff36310d12b634f30 | [
"MIT"
] | null | null | null | account/admin.py | dacom-dark-sun/dacom-api | 7efd77bf75cd28771b4a466ff36310d12b634f30 | [
"MIT"
] | null | null | null | from django.contrib import admin
from account.models import Account
admin.site.register([
Account,
])
| 12.111111 | 34 | 0.752294 | 14 | 109 | 5.857143 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.165138 | 109 | 8 | 35 | 13.625 | 0.901099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c39bbc4ff62a4ef359c1536436fe6e798000cfac | 264 | py | Python | menpo/shape/exceptions.py | ikassi/menpo | ca702fc814a1ad50b27c44c6544ba364d3aa7e31 | [
"BSD-3-Clause"
] | null | null | null | menpo/shape/exceptions.py | ikassi/menpo | ca702fc814a1ad50b27c44c6544ba364d3aa7e31 | [
"BSD-3-Clause"
] | null | null | null | menpo/shape/exceptions.py | ikassi/menpo | ca702fc814a1ad50b27c44c6544ba364d3aa7e31 | [
"BSD-3-Clause"
] | 1 | 2021-04-14T12:09:00.000Z | 2021-04-14T12:09:00.000Z |
class FieldError(Exception):
"""
Base class for errors to do with setting fields on PointClouds and their
subclasses.
"""
pass
class PointFieldError(FieldError):
"""
Raised when setting point fields on PointClouds.
"""
pass
| 16.5 | 76 | 0.655303 | 29 | 264 | 5.965517 | 0.724138 | 0.092486 | 0.219653 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268939 | 264 | 15 | 77 | 17.6 | 0.896373 | 0.503788 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
7f21e3e9ee58ea0a47a706a3a85aa0fed619361d | 892 | py | Python | skcriteria/utils/__init__.py | elcolie/scikit-criteria | 216674d699b60d68fefa98d44afd619943f3bb00 | [
"BSD-3-Clause"
] | null | null | null | skcriteria/utils/__init__.py | elcolie/scikit-criteria | 216674d699b60d68fefa98d44afd619943f3bb00 | [
"BSD-3-Clause"
] | null | null | null | skcriteria/utils/__init__.py | elcolie/scikit-criteria | 216674d699b60d68fefa98d44afd619943f3bb00 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# License: BSD-3 (https://tldrlegal.com/license/bsd-3-clause-license-(revised))
# Copyright (c) 2016-2021, Cabral, Juan; Luczywo, Nadia
# All rights reserved.
# =============================================================================
# DOCS
# =========================... | 34.307692 | 79 | 0.316143 | 56 | 892 | 4.928571 | 0.714286 | 0.072464 | 0.07971 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013382 | 0.078475 | 892 | 25 | 80 | 35.68 | 0.322384 | 0.79148 | 0 | 0 | 0 | 0 | 0.185629 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
61590d6e030d9d80e035442c22fe38cc90859147 | 410 | py | Python | baselines/tabular/algo/HumanAgent.py | MouseHu/emdqn | ba907e959f21dd0b5a17117accccae9c82a79a3b | [
"MIT"
] | null | null | null | baselines/tabular/algo/HumanAgent.py | MouseHu/emdqn | ba907e959f21dd0b5a17117accccae9c82a79a3b | [
"MIT"
] | null | null | null | baselines/tabular/algo/HumanAgent.py | MouseHu/emdqn | ba907e959f21dd0b5a17117accccae9c82a79a3b | [
"MIT"
] | 1 | 2021-04-26T13:55:47.000Z | 2021-04-26T13:55:47.000Z | import numpy as np
import readchar
class HumanAgent(object):
def __init__(self, keyboard_config):
self.keyboard_config = keyboard_config
def act(self, obs, train=True):
print("input action:",end=" ")
char = readchar.readchar()
action = self.keyboard_config.get(char, -1)
... | 21.578947 | 57 | 0.641463 | 50 | 410 | 5.1 | 0.6 | 0.219608 | 0.211765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003268 | 0.253659 | 410 | 18 | 58 | 22.777778 | 0.830065 | 0 | 0 | 0 | 0 | 0 | 0.034146 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.083333 | 0.166667 | 0 | 0.583333 | 0.083333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
61b70e39f35f7c65b59f28115ed4500771cb1b65 | 151 | py | Python | example/books/scaffolding.py | spapas/django-generic-scaffold | dbc819455c077f56b0a2202c8a073f2e9e7ca80c | [
"MIT"
] | 106 | 2016-01-07T15:01:16.000Z | 2022-03-31T15:00:17.000Z | example/books/scaffolding.py | spapas/django-generic-scaffold | dbc819455c077f56b0a2202c8a073f2e9e7ca80c | [
"MIT"
] | 4 | 2016-03-07T07:14:55.000Z | 2020-04-24T14:29:34.000Z | example/books/scaffolding.py | spapas/django-generic-scaffold | dbc819455c077f56b0a2202c8a073f2e9e7ca80c | [
"MIT"
] | 15 | 2016-03-06T18:32:57.000Z | 2022-03-30T16:29:35.000Z | from generic_scaffold import CrudManager
from books.models import Book
class BookCrudManager(CrudManager):
model = Book
prefix = 'books'
| 18.875 | 40 | 0.748344 | 17 | 151 | 6.588235 | 0.705882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.198676 | 151 | 7 | 41 | 21.571429 | 0.92562 | 0 | 0 | 0 | 0 | 0 | 0.033113 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f602b15e903a9f93011d4f53c862ac9ab07943fc | 810 | py | Python | tests/test_go_classification.py | kzfm/pychembldb | 0dde6a05b2dc138e0be7f8f27f57b5c2a42e23c7 | [
"CC0-1.0"
] | 8 | 2020-01-16T00:43:46.000Z | 2021-11-27T18:26:12.000Z | tests/test_go_classification.py | iwatobipen/pychembldb | 0dde6a05b2dc138e0be7f8f27f57b5c2a42e23c7 | [
"CC0-1.0"
] | null | null | null | tests/test_go_classification.py | iwatobipen/pychembldb | 0dde6a05b2dc138e0be7f8f27f57b5c2a42e23c7 | [
"CC0-1.0"
] | 3 | 2020-05-31T05:54:33.000Z | 2021-11-15T04:31:07.000Z | import unittest
from pychembldb import chembldb, GOClassification
from datetime import datetime
class GOClassificationTest(unittest.TestCase):
def setUp(self):
self.target = chembldb.query(GOClassification).filter_by(go_id="GO:0000003").first()
def test_parent_go_id(self):
self.assertEqual(sel... | 32.4 | 92 | 0.725926 | 102 | 810 | 5.598039 | 0.372549 | 0.098074 | 0.19965 | 0.201401 | 0.25394 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025148 | 0.165432 | 810 | 25 | 93 | 32.4 | 0.819527 | 0 | 0 | 0 | 0 | 0 | 0.080148 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.388889 | false | 0 | 0.166667 | 0 | 0.611111 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
f62622cfad88f89cd961f96300d1fc6080f8b855 | 288 | py | Python | wishlist/domain/product/models.py | guiyllw/wishlist-luizalabs | 0bc9f594cd7973fcb39e839e5540232cf1f718f9 | [
"Apache-2.0"
] | null | null | null | wishlist/domain/product/models.py | guiyllw/wishlist-luizalabs | 0bc9f594cd7973fcb39e839e5540232cf1f718f9 | [
"Apache-2.0"
] | null | null | null | wishlist/domain/product/models.py | guiyllw/wishlist-luizalabs | 0bc9f594cd7973fcb39e839e5540232cf1f718f9 | [
"Apache-2.0"
] | null | null | null | from typing import Optional
from pydantic import BaseModel
class Product(BaseModel):
id: Optional[str] = None
price: Optional[float] = None
image: Optional[str] = None
brand: Optional[str] = None
title: Optional[str] = None
review_score: Optional[float] = None
| 22.153846 | 40 | 0.694444 | 36 | 288 | 5.527778 | 0.5 | 0.221106 | 0.301508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211806 | 288 | 12 | 41 | 24 | 0.876652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.222222 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
f6306d22c27ad812922e6f4bc7485016a4906f95 | 258 | py | Python | examples/cnn/models/__init__.py | initzhang/Hetu | 447111a358e4dc6df5db9c216bdb3590fff05f84 | [
"Apache-2.0"
] | 82 | 2021-07-20T02:45:54.000Z | 2022-03-14T07:08:45.000Z | examples/cnn/models/__init__.py | initzhang/Hetu | 447111a358e4dc6df5db9c216bdb3590fff05f84 | [
"Apache-2.0"
] | 4 | 2021-11-25T13:39:21.000Z | 2022-03-13T04:14:14.000Z | examples/cnn/models/__init__.py | initzhang/Hetu | 447111a358e4dc6df5db9c216bdb3590fff05f84 | [
"Apache-2.0"
] | 13 | 2021-07-18T14:40:56.000Z | 2022-03-09T06:37:42.000Z | from .VGG import vgg, vgg16, vgg19
from .LogReg import logreg
from .CNN import cnn_3_layers
from .AlexNet import alexnet
from .LeNet import lenet
from .MLP import mlp
from .RNN import rnn
from .LSTM import lstm
from .ResNet import resnet, resnet18, resnet34
| 25.8 | 46 | 0.794574 | 42 | 258 | 4.833333 | 0.404762 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.041284 | 0.155039 | 258 | 9 | 47 | 28.666667 | 0.889908 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f6362d34a40091f413bbe15cce182def1fa30e1c | 1,150 | py | Python | lfs/net_price/__init__.py | restless/django-lfs | 4058f9d45b416ef2e8c28a87856ea0f1550b523d | [
"BSD-3-Clause"
] | 1 | 2020-02-26T03:07:39.000Z | 2020-02-26T03:07:39.000Z | lfs/net_price/__init__.py | mxins/django-lfs | bf42ed80ce0e1ec96db6ab985adcc614ea79dfc8 | [
"BSD-3-Clause"
] | null | null | null | lfs/net_price/__init__.py | mxins/django-lfs | bf42ed80ce0e1ec96db6ab985adcc614ea79dfc8 | [
"BSD-3-Clause"
] | null | null | null | # lfs imports
from lfs.plugins import PriceCalculator
class NetPriceCalculator(PriceCalculator):
"""
The value of product.price stored in the database excludes tax, in other
words, the stored price is the net price of the product.
See lfs.plugins.PriceCalculator for more information.
"""
def ... | 35.9375 | 92 | 0.762609 | 162 | 1,150 | 5.049383 | 0.253086 | 0.205379 | 0.132029 | 0.161369 | 0.651589 | 0.561125 | 0.561125 | 0.561125 | 0.555012 | 0.292176 | 0 | 0 | 0.166957 | 1,150 | 31 | 93 | 37.096774 | 0.853862 | 0.171304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4375 | false | 0 | 0.0625 | 0.4375 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
f656b095adad406bf8e3dd6c7bda9ea853446edc | 63 | py | Python | REQUIREMENTS.py | saiabhishek-io/covid19MaskDetector | f817b8f40755869879f946d3bf1b33f9e3a7f549 | [
"MIT"
] | 1 | 2021-03-03T10:57:43.000Z | 2021-03-03T10:57:43.000Z | REQUIREMENTS.py | saiabhishek-io/covid19MaskDetector | f817b8f40755869879f946d3bf1b33f9e3a7f549 | [
"MIT"
] | null | null | null | REQUIREMENTS.py | saiabhishek-io/covid19MaskDetector | f817b8f40755869879f946d3bf1b33f9e3a7f549 | [
"MIT"
] | null | null | null | pip install numpy
pip install opencv-python
pip install pandas
| 15.75 | 25 | 0.84127 | 10 | 63 | 5.3 | 0.6 | 0.566038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 63 | 3 | 26 | 21 | 0.981481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f677f999b5b925a74f4b12a99ec5c5264b0faed9 | 117 | py | Python | pysat_kamodo/__init__.py | pysat/pysatKamodo | 4eaf3d7595517448787d6d759459c24027b4cdb4 | [
"BSD-3-Clause"
] | null | null | null | pysat_kamodo/__init__.py | pysat/pysatKamodo | 4eaf3d7595517448787d6d759459c24027b4cdb4 | [
"BSD-3-Clause"
] | 2 | 2019-10-28T21:21:53.000Z | 2021-08-28T01:42:43.000Z | pysat_kamodo/__init__.py | pysat/pysatKamodo | 4eaf3d7595517448787d6d759459c24027b4cdb4 | [
"BSD-3-Clause"
] | 1 | 2020-01-31T18:45:13.000Z | 2020-01-31T18:45:13.000Z | import os, sys; sys.path.append(os.path.dirname(os.path.realpath(__file__)))
from pysat_kamodo.pysat_kamodo import *
| 39 | 76 | 0.794872 | 19 | 117 | 4.578947 | 0.578947 | 0.137931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068376 | 117 | 2 | 77 | 58.5 | 0.798165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9c84986cf03393d5b3200b5b64c372f003acd256 | 65 | py | Python | tests/__init__.py | wenranxiao/ticketshow | edd35fe55ebf0a874d707eb79aeb804bd0a78e16 | [
"MIT"
] | null | null | null | tests/__init__.py | wenranxiao/ticketshow | edd35fe55ebf0a874d707eb79aeb804bd0a78e16 | [
"MIT"
] | null | null | null | tests/__init__.py | wenranxiao/ticketshow | edd35fe55ebf0a874d707eb79aeb804bd0a78e16 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""Unit test package for ticketshow."""
| 16.25 | 39 | 0.584615 | 8 | 65 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018519 | 0.169231 | 65 | 3 | 40 | 21.666667 | 0.685185 | 0.861538 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9c905fbfdf6a6a1b4ce68c491a41cb659dd1dfbb | 200 | py | Python | app.py | UF-OCR/covid-data-dashoard | 92f2d6d8cf5b8f62204c3c5d9ad5a754f97c9245 | [
"Apache-2.0"
] | null | null | null | app.py | UF-OCR/covid-data-dashoard | 92f2d6d8cf5b8f62204c3c5d9ad5a754f97c9245 | [
"Apache-2.0"
] | null | null | null | app.py | UF-OCR/covid-data-dashoard | 92f2d6d8cf5b8f62204c3c5d9ad5a754f97c9245 | [
"Apache-2.0"
] | null | null | null | from flask import Flask
from routes import init_api_routes
app = Flask(__name__, template_folder='template')
init_api_routes(app)
if __name__ == '__main__':
app.run(debug=True, host='0.0.0.0')
| 20 | 49 | 0.745 | 32 | 200 | 4.125 | 0.53125 | 0.045455 | 0.19697 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 0.13 | 200 | 9 | 50 | 22.222222 | 0.735632 | 0 | 0 | 0 | 0 | 0 | 0.115 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9cd66d44a81b54491d38ba874a770016418caf4d | 27 | py | Python | lined/examples/__init__.py | otosense/lined | 771bc5df5aa95de2f38ff608f65b2578d369b63d | [
"Apache-2.0"
] | 1 | 2020-11-05T18:15:01.000Z | 2020-11-05T18:15:01.000Z | lined/examples/__init__.py | otosense/lined | 771bc5df5aa95de2f38ff608f65b2578d369b63d | [
"Apache-2.0"
] | 13 | 2020-10-15T19:44:34.000Z | 2022-01-26T00:27:51.000Z | lined/examples/__init__.py | otosense/lined | 771bc5df5aa95de2f38ff608f65b2578d369b63d | [
"Apache-2.0"
] | null | null | null | """Examples using lined"""
| 13.5 | 26 | 0.666667 | 3 | 27 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.75 | 0.740741 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9cf6f7e6be862af35d27a1917e5799fd7ff25877 | 70 | py | Python | proj.py | katherinenaughton/SantaFinalProjKatie | 90e2a5906ed274c307ba8c0e7acf8b6f8e6f5d39 | [
"MIT"
] | null | null | null | proj.py | katherinenaughton/SantaFinalProjKatie | 90e2a5906ed274c307ba8c0e7acf8b6f8e6f5d39 | [
"MIT"
] | null | null | null | proj.py | katherinenaughton/SantaFinalProjKatie | 90e2a5906ed274c307ba8c0e7acf8b6f8e6f5d39 | [
"MIT"
] | null | null | null | '''
Katie Naughton
Final Project
Intro to Programming
Sources:
'''
| 7.777778 | 20 | 0.714286 | 8 | 70 | 6.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185714 | 70 | 8 | 21 | 8.75 | 0.877193 | 0.828571 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
142f35ba60247202fff2237873419d5104a93490 | 252 | py | Python | class5/demo2.py | sanderslhc/python-learing | 2769f72c9b6de24d768175bed1aa9851d0469d19 | [
"MIT"
] | 1 | 2021-07-20T09:52:55.000Z | 2021-07-20T09:52:55.000Z | class5/demo2.py | sanderslhc/python-learning | 2769f72c9b6de24d768175bed1aa9851d0469d19 | [
"MIT"
] | null | null | null | class5/demo2.py | sanderslhc/python-learning | 2769f72c9b6de24d768175bed1aa9851d0469d19 | [
"MIT"
] | null | null | null | print('--------------------字典获取元素----------------------')
scores={'张三':12,'李四':22,'王五':44}
#使用[]
print(scores['张三'])
#使用get()
print(scores.get("张三"))
print(scores.get("里屋"))
print(scores.get('里屋',12)) #当查找的key不存在时,可以靠value来定位,但不能直接靠value定位
| 22.909091 | 66 | 0.531746 | 30 | 252 | 4.466667 | 0.533333 | 0.328358 | 0.313433 | 0.238806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034632 | 0.083333 | 252 | 10 | 67 | 25.2 | 0.545455 | 0.190476 | 0 | 0 | 0 | 0 | 0.326316 | 0.252632 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.833333 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.