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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
523377048b678c622a70361d22f28d0b0605b7d2 | 71 | py | Python | src/meru/types.py | HumbleRetreat/meru | a6ca7cd1442b664958c3039f4b0bbe48dc0596a5 | [
"MIT"
] | 1 | 2022-03-09T13:59:55.000Z | 2022-03-09T13:59:55.000Z | src/meru/types.py | HumbleRetreat/meru | a6ca7cd1442b664958c3039f4b0bbe48dc0596a5 | [
"MIT"
] | null | null | null | src/meru/types.py | HumbleRetreat/meru | a6ca7cd1442b664958c3039f4b0bbe48dc0596a5 | [
"MIT"
] | 1 | 2021-02-18T07:30:23.000Z | 2021-02-18T07:30:23.000Z | from typing import TypeVar
StateModelType = TypeVar("StateModelType")
| 17.75 | 42 | 0.816901 | 7 | 71 | 8.285714 | 0.714286 | 0.724138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.112676 | 71 | 3 | 43 | 23.666667 | 0.920635 | 0 | 0 | 0 | 0 | 0 | 0.197183 | 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 |
524a637d4628910056b9c314b22158b0ef04d8cc | 54 | py | Python | test/auth/__init__.py | thenetcircle/dino | 1047c3458e91a1b4189e9f48f1393b3a68a935b3 | [
"Apache-2.0"
] | 150 | 2016-10-05T11:09:36.000Z | 2022-03-06T16:24:41.000Z | test/auth/__init__.py | thenetcircle/dino | 1047c3458e91a1b4189e9f48f1393b3a68a935b3 | [
"Apache-2.0"
] | 27 | 2017-03-02T03:37:02.000Z | 2022-02-10T04:59:54.000Z | test/auth/__init__.py | thenetcircle/dino | 1047c3458e91a1b4189e9f48f1393b3a68a935b3 | [
"Apache-2.0"
] | 21 | 2016-11-11T07:51:48.000Z | 2020-04-26T21:38:33.000Z | __author__ = 'Oscar Eriksson <oscar.eriks@gmail.com>'
| 27 | 53 | 0.759259 | 7 | 54 | 5.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 54 | 1 | 54 | 54 | 0.755102 | 0 | 0 | 0 | 0 | 0 | 0.703704 | 0.425926 | 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 |
525223853a12c6683d9ffc89b48df9ebcf694790 | 197 | py | Python | examples/detection/models/__init__.py | tadejsv/catalyst | 2553ce8fd7cecc025ad88819aea73faf8abb229b | [
"Apache-2.0"
] | 2,693 | 2019-01-23T19:16:12.000Z | 2022-03-31T02:12:42.000Z | examples/detection/models/__init__.py | tadejsv/catalyst | 2553ce8fd7cecc025ad88819aea73faf8abb229b | [
"Apache-2.0"
] | 763 | 2019-01-22T20:12:56.000Z | 2022-03-27T18:36:10.000Z | examples/detection/models/__init__.py | tadejsv/catalyst | 2553ce8fd7cecc025ad88819aea73faf8abb229b | [
"Apache-2.0"
] | 445 | 2019-01-23T17:07:09.000Z | 2022-03-30T05:38:45.000Z | # flake8: noqa
from .centernet import CenterNet
from .ssd import SingleShotDetector
from .yolo_x import (
yolo_x_tiny,
yolo_x_small,
yolo_x_medium,
yolo_x_large,
yolo_x_big,
)
| 16.416667 | 35 | 0.725888 | 29 | 197 | 4.551724 | 0.482759 | 0.227273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006452 | 0.213198 | 197 | 11 | 36 | 17.909091 | 0.845161 | 0.060914 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5253e1016527285d4e0c5cf4465d16d7f2fa0cb6 | 664 | py | Python | controllers/BaseController.py | cdcslab/facebook-scraper | 79aafcb98c4f8ea698196edbe6bd4503f11e28f4 | [
"MIT"
] | null | null | null | controllers/BaseController.py | cdcslab/facebook-scraper | 79aafcb98c4f8ea698196edbe6bd4503f11e28f4 | [
"MIT"
] | null | null | null | controllers/BaseController.py | cdcslab/facebook-scraper | 79aafcb98c4f8ea698196edbe6bd4503f11e28f4 | [
"MIT"
] | null | null | null | import praw
import urllib
import re
class BaseController:
def __init__(self, subreddit):
self._subreddit = subreddit
def search_category(self, category, limit_):
if category=="hot":
return self._subreddit.hot(limit=limit_)
elif category=="new":
return self._s... | 30.181818 | 62 | 0.631024 | 69 | 664 | 5.826087 | 0.318841 | 0.226368 | 0.236318 | 0.218905 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.274096 | 664 | 21 | 63 | 31.619048 | 0.834025 | 0 | 0 | 0 | 0 | 0 | 0.042169 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.105263 | false | 0 | 0.157895 | 0 | 0.631579 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
5275755e8e97289a06eee25b2fcee45350dcce73 | 303 | py | Python | nbvalx/__init__.py | multiphenics/nbvalx | 4961cd806a0a8c0f0a042c1a0bc60d865f057f24 | [
"BSD-3-Clause"
] | null | null | null | nbvalx/__init__.py | multiphenics/nbvalx | 4961cd806a0a8c0f0a042c1a0bc60d865f057f24 | [
"BSD-3-Clause"
] | null | null | null | nbvalx/__init__.py | multiphenics/nbvalx | 4961cd806a0a8c0f0a042c1a0bc60d865f057f24 | [
"BSD-3-Clause"
] | null | null | null | # Copyright (C) 2022 by the nbvalx authors
#
# This file is part of nbvalx.
#
# SPDX-License-Identifier: BSD-3-Clause
"""nbvalx main module."""
# Import jupyter magics so that users can load them with %%load_ext nbvalx
from nbvalx.jupyter_magics import load_ipython_extension, unload_ipython_extension
| 30.3 | 82 | 0.778878 | 46 | 303 | 5 | 0.76087 | 0.113043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.019157 | 0.138614 | 303 | 9 | 83 | 33.666667 | 0.862069 | 0.663366 | 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 |
5289f624f852656986caab82b218a795c6385dfe | 158 | py | Python | examples/getdomains.py | fyxme/pynada | 7f263b3d2892461c93cd3b9c3467e142fba8c74a | [
"MIT"
] | 5 | 2019-02-17T07:05:50.000Z | 2022-03-30T11:15:36.000Z | examples/getdomains.py | fyxme/pynada | 7f263b3d2892461c93cd3b9c3467e142fba8c74a | [
"MIT"
] | 2 | 2019-02-17T07:06:51.000Z | 2021-02-01T13:30:15.000Z | examples/getdomains.py | fyxme/pynada | 7f263b3d2892461c93cd3b9c3467e142fba8c74a | [
"MIT"
] | 3 | 2020-08-02T16:36:04.000Z | 2021-09-23T18:27:05.000Z | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
from pynada import Pynada
nada = Pynada()
print nada.get_domains() # returns a list of all available domains
| 22.571429 | 66 | 0.708861 | 24 | 158 | 4.625 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007519 | 0.158228 | 158 | 6 | 67 | 26.333333 | 0.827068 | 0.531646 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bfe5d43563fadcafa434dd451309115f4fec8211 | 174 | py | Python | src/main.py | Fennec2000GH/AutoTale | 0a13199c5868081b0539fcca6f6ef4c0ac976d6c | [
"Unlicense"
] | 1 | 2021-03-03T00:00:30.000Z | 2021-03-03T00:00:30.000Z | src/main.py | Fennec2000GH/AutoTale | 0a13199c5868081b0539fcca6f6ef4c0ac976d6c | [
"Unlicense"
] | 13 | 2021-03-03T00:04:53.000Z | 2021-03-30T23:29:14.000Z | src/main.py | Fennec2000GH/AutoTale | 0a13199c5868081b0539fcca6f6ef4c0ac976d6c | [
"Unlicense"
] | null | null | null | from GameControl import *
from Location import LocationGroup, Location, Map
if __name__ == '__main__':
# gas_station = Location(name=)
test_sample_story()
| 19.333333 | 50 | 0.695402 | 19 | 174 | 5.789474 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.218391 | 174 | 8 | 51 | 21.75 | 0.808824 | 0.166667 | 0 | 0 | 0 | 0 | 0.059701 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
bff6af1cb7c78d4efac1e0f39c9c7d72541c46b3 | 99 | py | Python | two_sum.py | chandravenky/puzzles | 17ec86bbad43862830ba7059a448a33b232b4088 | [
"MIT"
] | null | null | null | two_sum.py | chandravenky/puzzles | 17ec86bbad43862830ba7059a448a33b232b4088 | [
"MIT"
] | null | null | null | two_sum.py | chandravenky/puzzles | 17ec86bbad43862830ba7059a448a33b232b4088 | [
"MIT"
] | 1 | 2022-03-13T02:04:46.000Z | 2022-03-13T02:04:46.000Z |
#Given an array of integers, return the indices of the two numbers that add up to a given target
| 24.75 | 96 | 0.767677 | 19 | 99 | 4 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212121 | 99 | 3 | 97 | 33 | 0.974359 | 0.959596 | 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 |
87031dbebdf7fe87b102993499ef93c531b075a5 | 97 | py | Python | PSET-6/hello.py | SIVASHANKAR-S/SIVASHANKAR-S-CS50-2020-HARWARD-UNIVERSITY | 32f278e9c69eaea619ba6ded8b22c5520bb03176 | [
"MIT"
] | 1 | 2020-07-26T11:22:47.000Z | 2020-07-26T11:22:47.000Z | PSET-6/hello.py | SIVASHANKAR-S/CS50-2020-HARWARD-UNIVERSITY | 32f278e9c69eaea619ba6ded8b22c5520bb03176 | [
"MIT"
] | null | null | null | PSET-6/hello.py | SIVASHANKAR-S/CS50-2020-HARWARD-UNIVERSITY | 32f278e9c69eaea619ba6ded8b22c5520bb03176 | [
"MIT"
] | null | null | null | from cs50 import get_string
name = get_string("what is your name ?\n")
print(f" hello, {name} ") | 24.25 | 42 | 0.701031 | 17 | 97 | 3.882353 | 0.764706 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02439 | 0.154639 | 97 | 4 | 43 | 24.25 | 0.780488 | 0 | 0 | 0 | 0 | 0 | 0.367347 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
871f43f5d7bfa244161870610c38995269165ded | 75 | py | Python | tests/test_helper.py | HugoTestes/projeto_mercado | 2ecf599bb46900204c64adc963896bf007068278 | [
"MIT"
] | null | null | null | tests/test_helper.py | HugoTestes/projeto_mercado | 2ecf599bb46900204c64adc963896bf007068278 | [
"MIT"
] | 1 | 2021-05-21T18:06:11.000Z | 2021-05-21T18:06:11.000Z | tests/test_helper.py | HugoTestes/projeto_mercado | 2ecf599bb46900204c64adc963896bf007068278 | [
"MIT"
] | 1 | 2021-09-25T22:28:58.000Z | 2021-09-25T22:28:58.000Z |
def formatacao_real(numero: float) -> str:
return f"R${numero:,.2f}"
| 15 | 42 | 0.64 | 11 | 75 | 4.272727 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.173333 | 75 | 4 | 43 | 18.75 | 0.741935 | 0 | 0 | 0 | 0 | 0 | 0.202703 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
87603b093cc765a61813d6588cf199a27c41b115 | 250 | py | Python | vertex/settings.py | lucasdavid/vertex | 4f00a42909fdbdb6bf88a9fe5dc81c55c25493af | [
"MIT"
] | null | null | null | vertex/settings.py | lucasdavid/vertex | 4f00a42909fdbdb6bf88a9fe5dc81c55c25493af | [
"MIT"
] | null | null | null | vertex/settings.py | lucasdavid/vertex | 4f00a42909fdbdb6bf88a9fe5dc81c55c25493af | [
"MIT"
] | null | null | null | from grapher import settings
from grapher.settings import Development as Dev, Testing as Tes, Production as Pro
Dev.BASE_MODULE = 'vertex'
Dev.SECRET_KEY = '0A7AIJTUZ15QZFGQGLYRH04ZIEM1CIB9BLDH278UFWE7I5L001H4C9N8CQP7P55U'
settings.effective = Dev
| 31.25 | 83 | 0.84 | 28 | 250 | 7.428571 | 0.642857 | 0.105769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098655 | 0.108 | 250 | 7 | 84 | 35.714286 | 0.834081 | 0 | 0 | 0 | 0 | 0 | 0.28 | 0.256 | 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 |
876ab922016602b09fcc7f98b650dbfb34b250ce | 425 | py | Python | sap/cf_logging/falcon_logging/response_reader.py | mhaas/cf-python-logging-support | 86b7e8ef35b935401bdec7da275fe4e09302988c | [
"Apache-2.0"
] | 16 | 2017-11-30T06:17:07.000Z | 2021-09-13T13:41:17.000Z | sap/cf_logging/falcon_logging/response_reader.py | mhaas/cf-python-logging-support | 86b7e8ef35b935401bdec7da275fe4e09302988c | [
"Apache-2.0"
] | 32 | 2017-12-01T14:48:17.000Z | 2022-02-19T04:49:55.000Z | sap/cf_logging/falcon_logging/response_reader.py | mhaas/cf-python-logging-support | 86b7e8ef35b935401bdec7da275fe4e09302988c | [
"Apache-2.0"
] | 7 | 2018-03-08T15:52:55.000Z | 2022-02-27T18:52:57.000Z | """ Falcon response reader """
from sap.cf_logging.core.response_reader import ResponseReader
CONTENT_LENGTH = 'Content-Length'
class FalconResponseReader(ResponseReader):
""" Read log related properties out of falcon response """
def get_status_code(self, response):
return response.status.split(' '... | 28.333333 | 62 | 0.731765 | 51 | 425 | 5.941176 | 0.607843 | 0.128713 | 0.118812 | 0.171617 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005618 | 0.162353 | 425 | 14 | 63 | 30.357143 | 0.845506 | 0.174118 | 0 | 0 | 0 | 0 | 0.086053 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.285714 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
5e5108274f531ab45666ed325c4bc2490c3d6d4b | 1,179 | py | Python | main/all/data/users.py | abrgzej/WEBOT | 144a4bd316f2e3491183c70ddf554e9a982caf9f | [
"Apache-2.0"
] | null | null | null | main/all/data/users.py | abrgzej/WEBOT | 144a4bd316f2e3491183c70ddf554e9a982caf9f | [
"Apache-2.0"
] | null | null | null | main/all/data/users.py | abrgzej/WEBOT | 144a4bd316f2e3491183c70ddf554e9a982caf9f | [
"Apache-2.0"
] | null | null | null | import datetime
import sqlalchemy
from flask_login import UserMixin
from sqlalchemy_serializer import SerializerMixin
from werkzeug.security import generate_password_hash, check_password_hash
from .db_session import SqlAlchemyBase
from sqlalchemy import orm
class User(UserMixin, SqlAlchemyBase, SerializerMixin):
... | 39.3 | 73 | 0.73028 | 125 | 1,179 | 6.704 | 0.4 | 0.114558 | 0.186158 | 0.152745 | 0.157518 | 0.157518 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195929 | 1,179 | 29 | 74 | 40.655172 | 0.883966 | 0 | 0 | 0 | 1 | 0 | 0.013571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.086957 | false | 0.26087 | 0.304348 | 0.043478 | 0.826087 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
5e5773afe3568fd62923de41cadf84d9efa4e02f | 159 | py | Python | scripts/npc/createCygnus.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 54 | 2019-04-16T23:24:48.000Z | 2021-12-18T11:41:50.000Z | scripts/npc/createCygnus.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 3 | 2019-05-19T15:19:41.000Z | 2020-04-27T16:29:16.000Z | scripts/npc/createCygnus.py | G00dBye/YYMS | 1de816fc842b6598d5b4b7896b6ab0ee8f7cdcfb | [
"MIT"
] | 49 | 2020-11-25T23:29:16.000Z | 2022-03-26T16:20:24.000Z | # Shinsoo (1101001) | Ereve
sm.useItem(2022458)
sm.sendSayOkay("Don't stop training. Every ounce of your energy is required to protect the world of Maple...")
| 39.75 | 110 | 0.754717 | 25 | 159 | 4.8 | 0.92 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10219 | 0.138365 | 159 | 3 | 111 | 53 | 0.773723 | 0.157233 | 0 | 0 | 0 | 0 | 0.69697 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5e75ef019e977ef079e1a8e18bda6fe9919556a5 | 127 | py | Python | 05_lists/026_copying-a-list.py | selimmh/Python_Basics | 9e16de82306261f3acd44d88b862bcc14d1a71a1 | [
"CNRI-Python"
] | 1 | 2020-04-17T20:12:55.000Z | 2020-04-17T20:12:55.000Z | 05_lists/026_copying-a-list.py | selimmh/Python_Basics | 9e16de82306261f3acd44d88b862bcc14d1a71a1 | [
"CNRI-Python"
] | null | null | null | 05_lists/026_copying-a-list.py | selimmh/Python_Basics | 9e16de82306261f3acd44d88b862bcc14d1a71a1 | [
"CNRI-Python"
] | null | null | null | # how to copy a list
months = ['jan', 'feb', 'march', 'apr', 'may']
months_copy = months[:]
print(months_copy)
print(months) | 15.875 | 46 | 0.637795 | 19 | 127 | 4.157895 | 0.631579 | 0.253165 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15748 | 127 | 8 | 47 | 15.875 | 0.738318 | 0.141732 | 0 | 0 | 0 | 0 | 0.157407 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
5eb8c65d9e210fa1e959b3e22db3213a251c6afa | 295 | py | Python | exercicios/Lista1/Q9.py | AlexandrePeBrito/CursoUdemyPython | 3de58cb30c9f333b32078309847179ff3f9d7e22 | [
"MIT"
] | null | null | null | exercicios/Lista1/Q9.py | AlexandrePeBrito/CursoUdemyPython | 3de58cb30c9f333b32078309847179ff3f9d7e22 | [
"MIT"
] | null | null | null | exercicios/Lista1/Q9.py | AlexandrePeBrito/CursoUdemyPython | 3de58cb30c9f333b32078309847179ff3f9d7e22 | [
"MIT"
] | null | null | null | #Leia uma temperatura em graus Celsius e apresente-a convertida em Kelvin.
# A formula da conversao eh: K=C+273.15,
# sendo K a temperatura em Kelvin e c a temperatura em celsius.
C=float(input("Informe a temperatura em Celsius: "))
K=C+273.15
print(f"A temperatura em Kelvin eh {round(K,1)}") | 36.875 | 74 | 0.742373 | 55 | 295 | 3.981818 | 0.490909 | 0.296804 | 0.255708 | 0.063927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044 | 0.152542 | 295 | 8 | 75 | 36.875 | 0.832 | 0.589831 | 0 | 0 | 0 | 0 | 0.613445 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5ebe5b2512fbe86e33cfc6e0359c9f9123fcbb13 | 92 | py | Python | o4ocart/raspberry/apps.py | kangbada0728/O4O_Cart | d719adc26cdfd419853e0bb0eed12ef15135396e | [
"Apache-2.0"
] | null | null | null | o4ocart/raspberry/apps.py | kangbada0728/O4O_Cart | d719adc26cdfd419853e0bb0eed12ef15135396e | [
"Apache-2.0"
] | null | null | null | o4ocart/raspberry/apps.py | kangbada0728/O4O_Cart | d719adc26cdfd419853e0bb0eed12ef15135396e | [
"Apache-2.0"
] | 1 | 2020-07-14T01:31:30.000Z | 2020-07-14T01:31:30.000Z | from django.apps import AppConfig
class RaspberryConfig(AppConfig):
name = 'raspberry'
| 18.4 | 33 | 0.771739 | 10 | 92 | 7.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152174 | 92 | 4 | 34 | 23 | 0.910256 | 0 | 0 | 0 | 0 | 0 | 0.097826 | 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 |
0d74998722b9650a3394bddb4fb03d383fac39eb | 253 | py | Python | appengine_config.py | zhangweikop/quizgame_fat | 13a3c77a50f1ef0fd06015e69e94318541d6fc73 | [
"Apache-2.0"
] | null | null | null | appengine_config.py | zhangweikop/quizgame_fat | 13a3c77a50f1ef0fd06015e69e94318541d6fc73 | [
"Apache-2.0"
] | null | null | null | appengine_config.py | zhangweikop/quizgame_fat | 13a3c77a50f1ef0fd06015e69e94318541d6fc73 | [
"Apache-2.0"
] | null | null | null | """`appengine_config` gets loaded when starting a new application instance."""
import vendor
# insert `lib` as a site directory so our `main` module can load
# third-party libraries, and override built-ins with newer
# versions.
vendor.add('lib')
| 36.142857 | 79 | 0.73913 | 37 | 253 | 5.027027 | 0.918919 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162055 | 253 | 6 | 80 | 42.166667 | 0.877358 | 0.802372 | 0 | 0 | 0 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 4 |
0d8c694cb87f7e51f6e660357a6e15ade4f2c529 | 445 | py | Python | Crystal/Core.py | Rhodolite/Gem.py.Other | 6d8ca5a4811901b9aab8f148604b3e89a686e304 | [
"MIT"
] | null | null | null | Crystal/Core.py | Rhodolite/Gem.py.Other | 6d8ca5a4811901b9aab8f148604b3e89a686e304 | [
"MIT"
] | null | null | null | Crystal/Core.py | Rhodolite/Gem.py.Other | 6d8ca5a4811901b9aab8f148604b3e89a686e304 | [
"MIT"
] | null | null | null | #
# Copyright (c) 2018 Joy Diamond. All rights reserved.
#
@gem('Crystal.Core')
def gem():
require_gem('Gem.Cache')
from Gem import produce_conjure_dual, produce_conjure_triple, produce_conjure_triple__312
share(
'produce_conjure_dual', produce_conjure_dual,
'produce_conju... | 26.176471 | 93 | 0.685393 | 51 | 445 | 5.490196 | 0.431373 | 0.45 | 0.428571 | 0.267857 | 0.571429 | 0.507143 | 0.507143 | 0.414286 | 0.414286 | 0 | 0 | 0.038012 | 0.231461 | 445 | 16 | 94 | 27.8125 | 0.780702 | 0.119101 | 0 | 0 | 0 | 0 | 0.233161 | 0.126943 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | true | 0 | 0.111111 | 0 | 0.222222 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0df4415a9a9d271ce5c453bbd1369c5723bca816 | 94 | py | Python | core/dal/base/sqlite.py | oboforty/metaindex | 290d6b581fb1c074e28d42dc750ab878585e2eb2 | [
"MIT"
] | null | null | null | core/dal/base/sqlite.py | oboforty/metaindex | 290d6b581fb1c074e28d42dc750ab878585e2eb2 | [
"MIT"
] | null | null | null | core/dal/base/sqlite.py | oboforty/metaindex | 290d6b581fb1c074e28d42dc750ab878585e2eb2 | [
"MIT"
] | null | null | null | from sqlalchemy.ext.declarative import declarative_base
EntityBase = declarative_base()
| 18.8 | 56 | 0.808511 | 10 | 94 | 7.4 | 0.7 | 0.405405 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138298 | 94 | 4 | 57 | 23.5 | 0.91358 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
218efe3b9b46baa0b64e0637e78760946f377626 | 102 | py | Python | player_regions/apps.py | Red-Teapot/bbyaworld.com-django | 6eb8febd2cfa304a062ac924240cbdf060499cfc | [
"MIT"
] | 1 | 2020-01-11T18:04:15.000Z | 2020-01-11T18:04:15.000Z | player_regions/apps.py | Red-Teapot/bbyaworld.com-django | 6eb8febd2cfa304a062ac924240cbdf060499cfc | [
"MIT"
] | 2 | 2018-08-24T08:53:27.000Z | 2019-07-05T16:08:28.000Z | player_regions/apps.py | Red-Teapot/bbyaworld.com-django | 6eb8febd2cfa304a062ac924240cbdf060499cfc | [
"MIT"
] | 1 | 2018-11-22T16:19:52.000Z | 2018-11-22T16:19:52.000Z | from django.apps import AppConfig
class PlayerRegionsConfig(AppConfig):
name = 'player_regions'
| 17 | 37 | 0.784314 | 11 | 102 | 7.181818 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147059 | 102 | 5 | 38 | 20.4 | 0.908046 | 0 | 0 | 0 | 0 | 0 | 0.137255 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2196232a9ae8fa3bc1ecd7751a12544c94c4213e | 296 | py | Python | explainerdashboard/custom.py | eakande/explainerdashboard | a89c56aa02837b9e9ae2d139451ccdb57abbc24a | [
"MIT"
] | 1 | 2022-03-29T06:57:25.000Z | 2022-03-29T06:57:25.000Z | explainerdashboard/custom.py | ehomeaero/explainerdashboard | dd318105a35cdaea684f1366a9d192a1a3440c2a | [
"MIT"
] | null | null | null | explainerdashboard/custom.py | ehomeaero/explainerdashboard | dd318105a35cdaea684f1366a9d192a1a3440c2a | [
"MIT"
] | null | null | null | import dash
from dash import html, dcc, Input, Output, State
from dash.exceptions import PreventUpdate
import dash_bootstrap_components as dbc
from .dashboard_components import *
from .dashboard_tabs import *
from .dashboards import ExplainerTabsLayout, ExplainerPageLayout
from . import to_html | 32.888889 | 64 | 0.841216 | 38 | 296 | 6.421053 | 0.526316 | 0.081967 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.118243 | 296 | 9 | 65 | 32.888889 | 0.934866 | 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 |
2198e9c15370f2b7ad7fbe8d1f64bdf146538a67 | 168 | py | Python | data-science-course/course1/week5/training_test.py | yaskovdev/data-science-sandbox | 8976eae5bf375af3ac8e6ccf0fae2a09afb7bbc0 | [
"MIT"
] | null | null | null | data-science-course/course1/week5/training_test.py | yaskovdev/data-science-sandbox | 8976eae5bf375af3ac8e6ccf0fae2a09afb7bbc0 | [
"MIT"
] | null | null | null | data-science-course/course1/week5/training_test.py | yaskovdev/data-science-sandbox | 8976eae5bf375af3ac8e6ccf0fae2a09afb7bbc0 | [
"MIT"
] | null | null | null | p1 = 0.49
p2 = 0.38
p3 = 0.1
p4 = 0.03
p = p1 * p1 + p1 * p2 + p1 * p3 + p1 * p4 + p2 * p2 + p2 * p4 + p3 * p3 + p3 * p4 + p4 * p4
print(p)
print(10 * 0.2 * 0.8 ** 9) | 18.666667 | 91 | 0.440476 | 40 | 168 | 1.85 | 0.375 | 0.108108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.363636 | 0.345238 | 168 | 9 | 92 | 18.666667 | 0.309091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
21f3ca23f060a026d40cf6e5ab9eca7219992449 | 114 | py | Python | src/masonite/auth/__init__.py | Abeautifulsnow/masonite | f0ebb5ca05f5d88f21264e1cd0934435bd0a8791 | [
"MIT"
] | 95 | 2018-02-22T23:54:00.000Z | 2021-04-17T03:39:21.000Z | src/masonite/auth/__init__.py | Abeautifulsnow/masonite | f0ebb5ca05f5d88f21264e1cd0934435bd0a8791 | [
"MIT"
] | 840 | 2018-01-27T04:26:20.000Z | 2021-01-24T12:28:58.000Z | src/masonite/auth/__init__.py | Abeautifulsnow/masonite | f0ebb5ca05f5d88f21264e1cd0934435bd0a8791 | [
"MIT"
] | 100 | 2018-02-23T00:19:55.000Z | 2020-08-28T07:59:31.000Z | from .Auth import Auth
from .Csrf import Csrf
from .Sign import Sign
from .MustVerifyEmail import MustVerifyEmail
| 22.8 | 44 | 0.824561 | 16 | 114 | 5.875 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140351 | 114 | 4 | 45 | 28.5 | 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 |
0dffd3a4f9adf036134db6b9ef375765ede74a01 | 39 | py | Python | cloud-functions/attack/attack_globals.py | emerginganalytics/cyberarena | 311d179a30017285571f65752eaa91b78c7097aa | [
"MIT"
] | 2 | 2022-01-24T20:15:08.000Z | 2022-01-24T20:15:25.000Z | cloud-functions/attack/attack_globals.py | emerginganalytics/cyberarena | 311d179a30017285571f65752eaa91b78c7097aa | [
"MIT"
] | 26 | 2021-12-23T19:37:27.000Z | 2022-03-28T04:03:41.000Z | cloud-functions/attack/attack_globals.py | emerginganalytics/cyberarena | 311d179a30017285571f65752eaa91b78c7097aa | [
"MIT"
] | null | null | null | class AttackScripts:
NMAP = "nmap"
| 13 | 20 | 0.666667 | 4 | 39 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.230769 | 39 | 2 | 21 | 19.5 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0.102564 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
df5d7d5484558f7528d84fc0e30ebab430227738 | 183 | py | Python | imgwriter/__init__.py | pji/imgwriter | acf068894893df213f81b42e26b5abeefb6c462c | [
"MIT"
] | null | null | null | imgwriter/__init__.py | pji/imgwriter | acf068894893df213f81b42e26b5abeefb6c462c | [
"MIT"
] | 2 | 2021-08-19T00:20:30.000Z | 2021-08-19T12:50:38.000Z | imgwriter/__init__.py | pji/imgwriter | acf068894893df213f81b42e26b5abeefb6c462c | [
"MIT"
] | null | null | null | """
__init__
~~~~~~~~
The namespace of the imgwriter module.
"""
__all__ = ['imgwriter', 'imgreader']
from imgwriter.imgwriter import save
from imgwriter.imgreader import read_image
| 18.3 | 42 | 0.737705 | 21 | 183 | 6 | 0.619048 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125683 | 183 | 9 | 43 | 20.333333 | 0.7875 | 0.311475 | 0 | 0 | 0 | 0 | 0.152542 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
df8b90d66c1a9ac15441ab5e8c299f5809f9048e | 241 | py | Python | purbeurre/admin.py | Mathiou04/Purbeurre | abf138d79c7b35e6dc3294daaa949a63f9afc000 | [
"MIT"
] | null | null | null | purbeurre/admin.py | Mathiou04/Purbeurre | abf138d79c7b35e6dc3294daaa949a63f9afc000 | [
"MIT"
] | 7 | 2020-06-20T20:55:48.000Z | 2021-09-22T19:08:56.000Z | purbeurre/admin.py | Mathiou04/Purbeurre | abf138d79c7b35e6dc3294daaa949a63f9afc000 | [
"MIT"
] | 1 | 2020-07-29T11:38:44.000Z | 2020-07-29T11:38:44.000Z | from django.contrib import admin
# Register your models here.
from purbeurre.models import Category, Product
from favourites.models import Favourite
admin.site.register(Category)
admin.site.register(Product)
admin.site.register(Favourite)
| 24.1 | 46 | 0.829876 | 32 | 241 | 6.25 | 0.46875 | 0.135 | 0.255 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095436 | 241 | 9 | 47 | 26.777778 | 0.917431 | 0.107884 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
10cd32cc8641cdd866773854502bb2cef7187a42 | 76 | py | Python | Chapter 01/Chap01_Example1.79.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | Chapter 01/Chap01_Example1.79.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | Chapter 01/Chap01_Example1.79.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | #bitwise or operator
a=24
b=10
print(bin(a))
print(bin(b))
print(a|b)
| 10.857143 | 21 | 0.631579 | 16 | 76 | 3 | 0.5625 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.064516 | 0.184211 | 76 | 6 | 22 | 12.666667 | 0.709677 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
10dfad7aadac2b67ac9c39bfc93e8bce41435113 | 68 | py | Python | session5FunctionalProgramming/demo4.py | campbellC/introToPython | 988f67adc3f687248308cb9b26481eb30cad687d | [
"MIT"
] | 1 | 2017-11-30T14:10:53.000Z | 2017-11-30T14:10:53.000Z | session5FunctionalProgramming/demo4.py | campbellC/introToPython | 988f67adc3f687248308cb9b26481eb30cad687d | [
"MIT"
] | null | null | null | session5FunctionalProgramming/demo4.py | campbellC/introToPython | 988f67adc3f687248308cb9b26481eb30cad687d | [
"MIT"
] | null | null | null | import demo3
x = [1,2,3]
print demo3.myReduce(lambda x,y: x*y, x,1)
| 17 | 42 | 0.661765 | 16 | 68 | 2.8125 | 0.625 | 0.088889 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 0.147059 | 68 | 3 | 43 | 22.666667 | 0.672414 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
10f0a5eed58cf5efc2a86f7a7504e56d4a4f5136 | 96 | py | Python | djangoevents/exceptions.py | renou/djangoevents | 3b1898378b4d88025f8a7240d3078256e2801776 | [
"MIT"
] | null | null | null | djangoevents/exceptions.py | renou/djangoevents | 3b1898378b4d88025f8a7240d3078256e2801776 | [
"MIT"
] | null | null | null | djangoevents/exceptions.py | renou/djangoevents | 3b1898378b4d88025f8a7240d3078256e2801776 | [
"MIT"
] | null | null | null | class DjangoeventsError(Exception):
pass
class AlreadyExists(DjangoeventsError):
pass
| 13.714286 | 39 | 0.770833 | 8 | 96 | 9.25 | 0.625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 96 | 6 | 40 | 16 | 0.925 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 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 |
8017111a282934954054d1231a94ac89e59d86c4 | 55 | py | Python | enthought/pyface/viewer/tree_viewer.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/pyface/viewer/tree_viewer.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/pyface/viewer/tree_viewer.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from pyface.viewer.tree_viewer import *
| 18.333333 | 39 | 0.8 | 8 | 55 | 5.375 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 55 | 2 | 40 | 27.5 | 0.895833 | 0.218182 | 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 |
8018df532e1483c91afe205b0ad68a9b67a2a769 | 261 | py | Python | LIVE/labs/OOP/genaratorDemo.py | ProgressBG-Python-Course/ProgressBG-VC-Python | 37f8be60fb73d558ebd9e3c2700c88dcb64e7f4f | [
"MIT"
] | null | null | null | LIVE/labs/OOP/genaratorDemo.py | ProgressBG-Python-Course/ProgressBG-VC-Python | 37f8be60fb73d558ebd9e3c2700c88dcb64e7f4f | [
"MIT"
] | null | null | null | LIVE/labs/OOP/genaratorDemo.py | ProgressBG-Python-Course/ProgressBG-VC-Python | 37f8be60fb73d558ebd9e3c2700c88dcb64e7f4f | [
"MIT"
] | null | null | null | def evenNumbersGenerator(x):
while True:
x += 1
yield x
# yield 1
# yield 2
# yield 3
# yield 4
# yield 5
# yield 6
# yield 7
gen=evenNumbersGenerator(5)
print( next(gen) )
print( next(gen) )
print( next(gen) )
print( next(gen) )
| 10.875 | 28 | 0.59387 | 38 | 261 | 4.078947 | 0.421053 | 0.232258 | 0.309677 | 0.329032 | 0.309677 | 0.309677 | 0.309677 | 0.309677 | 0.309677 | 0 | 0 | 0.048128 | 0.283525 | 261 | 23 | 29 | 11.347826 | 0.780749 | 0.210728 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0 | 0 | 0.111111 | 0.444444 | 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 |
802d5441362cb3b248e782411051765070023a59 | 108 | py | Python | Chapter08/packet-layers.py | PacktPublishing/Python-Penetration-Testing-Cookbook | 74eba54a5d9921db0c4679cb4374a742118d4be8 | [
"MIT"
] | 48 | 2017-12-08T16:38:09.000Z | 2022-03-20T12:49:31.000Z | Chapter08/packet-layers.py | shamiul94/Python-Penetration-Testing-Cookbook | a152f14bf7eb1fde2612808f47d7609b58d48980 | [
"MIT"
] | null | null | null | Chapter08/packet-layers.py | shamiul94/Python-Penetration-Testing-Cookbook | a152f14bf7eb1fde2612808f47d7609b58d48980 | [
"MIT"
] | 34 | 2017-12-28T14:01:10.000Z | 2022-03-16T15:54:30.000Z | from scapy.all import *
from pprint import pprint
pkts = sniff(filter="arp",count=10)
print(pkts.summary()) | 21.6 | 35 | 0.75 | 17 | 108 | 4.764706 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020833 | 0.111111 | 108 | 5 | 36 | 21.6 | 0.822917 | 0 | 0 | 0 | 0 | 0 | 0.027523 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
80314c5f3cfbaaed51656427caeed211fcb68443 | 23 | py | Python | Browser/version.py | HelioGuilherme66/robotframework-browser | ae31254c6c63097d803202c1753fa1033a3dfe4a | [
"Apache-2.0"
] | null | null | null | Browser/version.py | HelioGuilherme66/robotframework-browser | ae31254c6c63097d803202c1753fa1033a3dfe4a | [
"Apache-2.0"
] | null | null | null | Browser/version.py | HelioGuilherme66/robotframework-browser | ae31254c6c63097d803202c1753fa1033a3dfe4a | [
"Apache-2.0"
] | null | null | null | __version__ = "11.3.0"
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 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 |
803fceea6ebc077ba61285639b30d27c407a44d4 | 131 | py | Python | lwrl/optimizers/optimizer.py | sealday/lwrl | 52bcd67751e605c38db4afa609c58938c7034e8d | [
"MIT"
] | 2 | 2019-04-11T11:55:48.000Z | 2020-05-29T18:09:51.000Z | lwrl/optimizers/optimizer.py | sealday/lwrl | 52bcd67751e605c38db4afa609c58938c7034e8d | [
"MIT"
] | 6 | 2021-06-01T22:21:00.000Z | 2022-03-11T23:24:36.000Z | lwrl/optimizers/optimizer.py | sealday/lwrl | 52bcd67751e605c38db4afa609c58938c7034e8d | [
"MIT"
] | 1 | 2019-04-12T03:09:47.000Z | 2019-04-12T03:09:47.000Z | class Optimizer:
def __init__(self, parameters):
pass
def step(self, **kwargs):
raise NotImplementedError
| 18.714286 | 35 | 0.641221 | 13 | 131 | 6.153846 | 0.846154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.274809 | 131 | 6 | 36 | 21.833333 | 0.842105 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0.2 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
80506bcbcecb5e2ae490589a72c98d0429930e03 | 93 | py | Python | LokahiProject/LokahiApp/apps.py | Cabell-Glancy/Lokahi_WebApp | 019d7cf0e15befee283e30c6f69dd575d707bb06 | [
"MIT"
] | 3 | 2017-03-17T18:09:30.000Z | 2017-04-03T01:35:13.000Z | LokahiProject/LokahiApp/apps.py | Cabell-Glancy/Lokahi_WebApp | 019d7cf0e15befee283e30c6f69dd575d707bb06 | [
"MIT"
] | 4 | 2017-02-27T22:45:56.000Z | 2017-02-27T22:49:19.000Z | LokahiProject/LokahiApp/apps.py | Cabell-Glancy/Lokahi_WebApp | 019d7cf0e15befee283e30c6f69dd575d707bb06 | [
"MIT"
] | 1 | 2017-03-23T20:15:17.000Z | 2017-03-23T20:15:17.000Z | from django.apps import AppConfig
class LokahiappConfig(AppConfig):
name = 'LokahiApp'
| 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 |
33ba8ecbea0014cd7e618bcf272e51d2a7beb0bf | 122 | py | Python | pangram/pangram.py | myrridin/exercism-python | 9ff082cb5ec7fe65b6efc4db1d956f1ba06f55a1 | [
"MIT"
] | null | null | null | pangram/pangram.py | myrridin/exercism-python | 9ff082cb5ec7fe65b6efc4db1d956f1ba06f55a1 | [
"MIT"
] | null | null | null | pangram/pangram.py | myrridin/exercism-python | 9ff082cb5ec7fe65b6efc4db1d956f1ba06f55a1 | [
"MIT"
] | null | null | null | import re
def is_pangram(sentence):
chars = set(re.sub('[^a-z]', '', sentence.lower()))
return len(chars) == 26
| 17.428571 | 55 | 0.598361 | 18 | 122 | 4 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020202 | 0.188525 | 122 | 6 | 56 | 20.333333 | 0.707071 | 0 | 0 | 0 | 0 | 0 | 0.04918 | 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 |
33d0463924e01e80318ac7da96d1abb717502e0e | 13,859 | py | Python | tests/analyzer/test_api_submitter.py | CMSgov/qpp-claims-to-quality-public | 1e2da9494faf9e316a17cbe899284db9e61d0902 | [
"CC0-1.0"
] | 13 | 2018-09-28T14:02:59.000Z | 2021-12-07T21:31:54.000Z | tests/analyzer/test_api_submitter.py | CMSgov/qpp-claims-to-quality-public | 1e2da9494faf9e316a17cbe899284db9e61d0902 | [
"CC0-1.0"
] | 1 | 2018-10-01T17:49:05.000Z | 2018-10-09T01:10:56.000Z | tests/analyzer/test_api_submitter.py | CMSgov/qpp-claims-to-quality-public | 1e2da9494faf9e316a17cbe899284db9e61d0902 | [
"CC0-1.0"
] | 1 | 2021-02-08T18:32:16.000Z | 2021-02-08T18:32:16.000Z | """Test api_submitter methods."""
# TODO: Add test for bad data format returned by get requests?
import datetime
from claims_to_quality.analyzer.submission import api_submitter
from claims_to_quality.analyzer.submission import qpp_measurement_set
from claims_to_quality.lib.helpers import mocking_config
import mock
i... | 40.761765 | 100 | 0.675446 | 1,533 | 13,859 | 5.716243 | 0.110894 | 0.056145 | 0.049298 | 0.043364 | 0.791852 | 0.753623 | 0.73719 | 0.723497 | 0.676367 | 0.637909 | 0 | 0.012186 | 0.224331 | 13,859 | 339 | 101 | 40.882006 | 0.802977 | 0.039252 | 0 | 0.485401 | 0 | 0 | 0.232797 | 0.102802 | 0 | 0 | 0 | 0.00295 | 0.065693 | 1 | 0.076642 | false | 0 | 0.025547 | 0.00365 | 0.135037 | 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 |
33d38b2ee3245d6822218b9d37c5fc2e8b68995c | 974 | py | Python | tests/management_api/__init__.py | merlin-northern/deviceconnect-1 | fc40be4f52196900347333268166e3481660edb7 | [
"Apache-2.0"
] | null | null | null | tests/management_api/__init__.py | merlin-northern/deviceconnect-1 | fc40be4f52196900347333268166e3481660edb7 | [
"Apache-2.0"
] | null | null | null | tests/management_api/__init__.py | merlin-northern/deviceconnect-1 | fc40be4f52196900347333268166e3481660edb7 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
# flake8: noqa
"""
Device Connect
API for managing persistent device connections. Intended for use by the web GUI # noqa: E501
The version of the OpenAPI document: 1
Contact: support@mender.io
Generated by: https://openapi-generator.tech
"""
from __future__ import absolute_im... | 27.828571 | 98 | 0.818275 | 127 | 974 | 6.094488 | 0.440945 | 0.184755 | 0.219638 | 0.174419 | 0.375969 | 0.080103 | 0 | 0 | 0 | 0 | 0 | 0.010689 | 0.135524 | 974 | 34 | 99 | 28.647059 | 0.908551 | 0.335729 | 0 | 0 | 0 | 0 | 0.008143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.916667 | 0 | 0.916667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
33e0693656549de2355e39c32987ed613098f7b8 | 53 | py | Python | napari/layers/shapes/__init__.py | OKaluza/napari | 95a6afbbdb54a530b1eaca23037b8f98c7c8b064 | [
"BSD-3-Clause"
] | null | null | null | napari/layers/shapes/__init__.py | OKaluza/napari | 95a6afbbdb54a530b1eaca23037b8f98c7c8b064 | [
"BSD-3-Clause"
] | 4 | 2019-12-08T20:20:44.000Z | 2020-01-16T21:57:33.000Z | napari/layers/shapes/__init__.py | OKaluza/napari | 95a6afbbdb54a530b1eaca23037b8f98c7c8b064 | [
"BSD-3-Clause"
] | null | null | null | from .shapes import Shapes
from . import keybindings
| 17.666667 | 26 | 0.811321 | 7 | 53 | 6.142857 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.150943 | 53 | 2 | 27 | 26.5 | 0.955556 | 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 |
1d127f2bbf946132323357d993b7cfb44953931a | 113 | py | Python | Questionnaire_type2/apps.py | AdityaKapoor74/Supervised_Categorization_Study_Pt2 | abedfa64d708360694e5cc00cfae866c5cfaebe8 | [
"MIT"
] | null | null | null | Questionnaire_type2/apps.py | AdityaKapoor74/Supervised_Categorization_Study_Pt2 | abedfa64d708360694e5cc00cfae866c5cfaebe8 | [
"MIT"
] | null | null | null | Questionnaire_type2/apps.py | AdityaKapoor74/Supervised_Categorization_Study_Pt2 | abedfa64d708360694e5cc00cfae866c5cfaebe8 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class Questionnaire_type2Config(AppConfig):
name = 'Questionnaire_type2'
| 18.833333 | 43 | 0.80531 | 12 | 113 | 7.416667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020408 | 0.132743 | 113 | 5 | 44 | 22.6 | 0.887755 | 0 | 0 | 0 | 0 | 0 | 0.168142 | 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 |
1d55f8374a079bf4a0c857c206ceac83a1e2b87e | 1,040 | py | Python | src/demos/simple.py | probinso/color-pollution | 4e6aa728bf14b53478e9a78eac06ce4c89e7cc38 | [
"MIT"
] | 1 | 2018-07-22T00:30:59.000Z | 2018-07-22T00:30:59.000Z | src/demos/simple.py | probinso/color-pollution | 4e6aa728bf14b53478e9a78eac06ce4c89e7cc38 | [
"MIT"
] | null | null | null | src/demos/simple.py | probinso/color-pollution | 4e6aa728bf14b53478e9a78eac06ce4c89e7cc38 | [
"MIT"
] | null | null | null | from more_itertools import unique_everseen as unique
class Human:
def __init__(self, called):
self.called = called
def __str__(self):
return "%s(%s)" % (self.__class__.__name__, self.called)
def __repr__(self):
return "%s(%r)" % (self.__class__, self.__dict__)
class Professional... | 20.392157 | 80 | 0.656731 | 116 | 1,040 | 5.594828 | 0.422414 | 0.09245 | 0.086287 | 0.123267 | 0.14792 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236538 | 1,040 | 50 | 81 | 20.8 | 0.81738 | 0.022115 | 0 | 0.225806 | 0 | 0 | 0.057199 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.258065 | false | 0.096774 | 0.032258 | 0.193548 | 0.774194 | 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 |
1d6ec46e653700e7571f22e3fb752ce6d4033454 | 91 | py | Python | dataset/__init__.py | RyanXingQL/PowerQE | c8bb9e896275c7847e86c915de52ce7428332295 | [
"Apache-2.0"
] | 22 | 2021-04-27T07:18:21.000Z | 2022-01-20T07:08:59.000Z | dataset/__init__.py | ryanxingql/powerqe | 9d3c6d39e662e0bb740ab5bf342c1887ab446258 | [
"Apache-2.0"
] | 5 | 2021-04-27T09:51:01.000Z | 2021-08-23T02:36:06.000Z | dataset/__init__.py | ryanxingql/powerqe | 9d3c6d39e662e0bb740ab5bf342c1887ab446258 | [
"Apache-2.0"
] | 2 | 2021-07-07T02:24:44.000Z | 2021-07-21T12:48:21.000Z | from .im_dataset import ImTrainingSet, ImTestSet
__all__ = ['ImTrainingSet', 'ImTestSet']
| 22.75 | 48 | 0.78022 | 9 | 91 | 7.333333 | 0.777778 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10989 | 91 | 3 | 49 | 30.333333 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0.241758 | 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 |
1d9bda867f497d81b6de5e004221760f4f6d3042 | 68 | py | Python | spkcspider/apps/spider/__init__.py | devkral/spkbspider | 97e448b4da412acebd66c4469c7fcdd07bf90ed2 | [
"MIT"
] | 5 | 2019-06-24T14:15:54.000Z | 2021-05-14T23:16:31.000Z | spkcspider/apps/spider/__init__.py | devkral/spkbspider | 97e448b4da412acebd66c4469c7fcdd07bf90ed2 | [
"MIT"
] | 2 | 2018-06-19T09:56:18.000Z | 2018-11-20T12:02:44.000Z | spkcspider/apps/spider/__init__.py | devkral/spkbspider | 97e448b4da412acebd66c4469c7fcdd07bf90ed2 | [
"MIT"
] | null | null | null | default_app_config = 'spkcspider.apps.spider.apps.SpiderBaseConfig'
| 34 | 67 | 0.852941 | 8 | 68 | 7 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044118 | 68 | 1 | 68 | 68 | 0.861538 | 0 | 0 | 0 | 0 | 0 | 0.647059 | 0.647059 | 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 |
d55ae0a8a2012c4b9b58e29386e5ea115eef3af4 | 188 | py | Python | bioschemas_scraper/items.py | justinccdev/bsbang-crawler-ng | 1c84508310dac7015da29aa240a370660d39fdbb | [
"Apache-2.0"
] | null | null | null | bioschemas_scraper/items.py | justinccdev/bsbang-crawler-ng | 1c84508310dac7015da29aa240a370660d39fdbb | [
"Apache-2.0"
] | 19 | 2018-05-24T14:18:09.000Z | 2018-08-30T17:09:31.000Z | bioschemas_scraper/items.py | buzzbangorg/bsbang-crawler-ng | 1c84508310dac7015da29aa240a370660d39fdbb | [
"Apache-2.0"
] | 1 | 2018-05-07T07:52:01.000Z | 2018-05-07T07:52:01.000Z | # -*- coding: utf-8 -*-
import scrapy
class BioschemasScraperItem(scrapy.Item):
# define the fields for your item here like:
# name = scrapy.Field()
jsonld = scrapy.Field()
| 18.8 | 48 | 0.659574 | 23 | 188 | 5.391304 | 0.782609 | 0.177419 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006757 | 0.212766 | 188 | 9 | 49 | 20.888889 | 0.831081 | 0.457447 | 0 | 0 | 0 | 0 | 0 | 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 |
d5771d6bee1b05e0500744e242e42e5112ebc655 | 92 | py | Python | dimik/dimik-3.py | abdullah-if/my-ojs | 58d03e1f62a3bfe81c53903b123e1810118fa5ce | [
"Unlicense"
] | null | null | null | dimik/dimik-3.py | abdullah-if/my-ojs | 58d03e1f62a3bfe81c53903b123e1810118fa5ce | [
"Unlicense"
] | null | null | null | dimik/dimik-3.py | abdullah-if/my-ojs | 58d03e1f62a3bfe81c53903b123e1810118fa5ce | [
"Unlicense"
] | null | null | null | for i in range(1, 1001):
print(1001 - i, end="\t")
if i % 5 == 0:
print("")
| 18.4 | 29 | 0.434783 | 16 | 92 | 2.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.183333 | 0.347826 | 92 | 4 | 30 | 23 | 0.483333 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
63776f51429418dba3927713e9ddf445c9c303b8 | 224 | py | Python | tests_app/tests/functional/key_constructor/bits/urls.py | makerGeek/drf-extensions | 1917b7f3644ce921aa4f0575ef3ae1c1fd43d97a | [
"MIT"
] | 1 | 2021-03-16T11:12:14.000Z | 2021-03-16T11:12:14.000Z | tests_app/tests/functional/key_constructor/bits/urls.py | makerGeek/drf-extensions | 1917b7f3644ce921aa4f0575ef3ae1c1fd43d97a | [
"MIT"
] | 1 | 2019-04-15T09:49:30.000Z | 2019-04-15T09:49:30.000Z | tests_app/tests/functional/key_constructor/bits/urls.py | makerGeek/drf-extensions | 1917b7f3644ce921aa4f0575ef3ae1c1fd43d97a | [
"MIT"
] | 1 | 2019-10-19T10:34:39.000Z | 2019-10-19T10:34:39.000Z | # -*- coding: utf-8 -*-
from rest_framework import routers
from .views import UserModelViewSet
viewset_router = routers.DefaultRouter()
viewset_router.register('users', UserModelViewSet)
urlpatterns = viewset_router.urls
| 22.4 | 50 | 0.794643 | 25 | 224 | 6.96 | 0.68 | 0.224138 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005 | 0.107143 | 224 | 9 | 51 | 24.888889 | 0.865 | 0.09375 | 0 | 0 | 0 | 0 | 0.024876 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
637e7f741dbd4a38464634267076a2f191fe1264 | 629 | py | Python | tests/recommendations/test_models.py | ExiledNarwal28/glo-2005-project | 3b5b5f9cdcfe53d1e6e702609587068c4bd3310d | [
"MIT"
] | null | null | null | tests/recommendations/test_models.py | ExiledNarwal28/glo-2005-project | 3b5b5f9cdcfe53d1e6e702609587068c4bd3310d | [
"MIT"
] | null | null | null | tests/recommendations/test_models.py | ExiledNarwal28/glo-2005-project | 3b5b5f9cdcfe53d1e6e702609587068c4bd3310d | [
"MIT"
] | 1 | 2020-05-21T10:07:07.000Z | 2020-05-21T10:07:07.000Z | from tests.recommendations.fakes import sport1_recommendation1_user1, sport2_recommendation1_user3
from tests.interfaces.test_basic import BasicTests
class RecommendationTests(BasicTests):
def test_equals_with_non_announce_should_return_false(self):
self.assertFalse(sport1_recommendation1_user1 == object... | 41.933333 | 98 | 0.842607 | 73 | 629 | 6.767123 | 0.424658 | 0.212551 | 0.263158 | 0.103239 | 0.441296 | 0.441296 | 0.283401 | 0.283401 | 0.283401 | 0.283401 | 0 | 0.037367 | 0.106518 | 629 | 14 | 99 | 44.928571 | 0.841637 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0.222222 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
639ca8e726f31a9c2b3790deb96759bee19607ef | 19 | py | Python | legiti_challenge/__init__.py | rafaelleinio/legiti-challenge | 5f15cb759d13e23292dffd103bc63583c934bf8b | [
"MIT"
] | 1 | 2021-04-01T19:55:51.000Z | 2021-04-01T19:55:51.000Z | legiti_challenge/__init__.py | rafaelleinio/legiti-challenge | 5f15cb759d13e23292dffd103bc63583c934bf8b | [
"MIT"
] | null | null | null | legiti_challenge/__init__.py | rafaelleinio/legiti-challenge | 5f15cb759d13e23292dffd103bc63583c934bf8b | [
"MIT"
] | null | null | null | """Root module."""
| 9.5 | 18 | 0.526316 | 2 | 19 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 19 | 1 | 19 | 19 | 0.588235 | 0.631579 | 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 |
63a91988f02ffb24e895003e43a3b233c3dee5d5 | 288 | py | Python | api/core/testing.py | SeedyROM/cosm | fbf3570625a814a7826c04b3dae61bbd52e0a436 | [
"MIT"
] | null | null | null | api/core/testing.py | SeedyROM/cosm | fbf3570625a814a7826c04b3dae61bbd52e0a436 | [
"MIT"
] | 7 | 2020-06-05T18:26:53.000Z | 2022-02-12T01:45:10.000Z | api/core/testing.py | SeedyROM/cosm | fbf3570625a814a7826c04b3dae61bbd52e0a436 | [
"MIT"
] | null | null | null | import pytest
from rest_framework.test import APITestCase as RestFrameworkApiTestCase
from mixer.backend.django import mixer
pytestmark = pytest.mark.django_db
@pytest.mark.django_db()
class APITestCase(RestFrameworkApiTestCase):
pytestmark = pytest.mark.django_db
mixer = mixer | 28.8 | 71 | 0.822917 | 35 | 288 | 6.657143 | 0.457143 | 0.128755 | 0.206009 | 0.23176 | 0.240343 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114583 | 288 | 10 | 72 | 28.8 | 0.913725 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.375 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
892cc1a4337042d754a3ab166bc48ebab43156bf | 528 | py | Python | pwipro/views.py | cinek01/django | 2e3299bad19bc5c17aa7f47024a1a7d0bc47e7ed | [
"MIT"
] | null | null | null | pwipro/views.py | cinek01/django | 2e3299bad19bc5c17aa7f47024a1a7d0bc47e7ed | [
"MIT"
] | null | null | null | pwipro/views.py | cinek01/django | 2e3299bad19bc5c17aa7f47024a1a7d0bc47e7ed | [
"MIT"
] | null | null | null | import os
from django.shortcuts import render, HttpResponse
from django.utils.encoding import smart_str
def index(request):
return render(request, 'pwipro/index.html')
def form(request):
return render(request, 'pwipro/form.html')
def memory(request):
return render(request,'pwipro/memory.html')
def downl... | 29.333333 | 81 | 0.744318 | 66 | 528 | 5.909091 | 0.469697 | 0.1 | 0.146154 | 0.2 | 0.246154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136364 | 528 | 18 | 82 | 29.333333 | 0.855263 | 0 | 0 | 0 | 0 | 0 | 0.240076 | 0.049149 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.214286 | 0.214286 | 0.785714 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
894357ed335018047576e488a6759ffda13e563a | 47 | py | Python | keras_drop_connect/__init__.py | CyberZHG/keras-drop-connect | c6822ad7df030cf262054bb7f4b49b2dc0b88466 | [
"MIT"
] | 8 | 2019-06-04T13:44:21.000Z | 2021-07-22T16:37:11.000Z | keras_drop_connect/__init__.py | CyberZHG/keras-drop-connect | c6822ad7df030cf262054bb7f4b49b2dc0b88466 | [
"MIT"
] | 1 | 2021-06-21T16:43:34.000Z | 2021-06-21T16:43:34.000Z | keras_drop_connect/__init__.py | CyberZHG/keras-drop-connect | c6822ad7df030cf262054bb7f4b49b2dc0b88466 | [
"MIT"
] | 4 | 2019-07-19T15:13:11.000Z | 2021-07-14T06:02:09.000Z | from .wrappers import *
__version__ = '0.3.0'
| 11.75 | 23 | 0.680851 | 7 | 47 | 4 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076923 | 0.170213 | 47 | 3 | 24 | 15.666667 | 0.641026 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
89703fa884dc67324f3b07bc3e843984b6f7c543 | 996 | py | Python | yape/json_schema/__init__.py | calebsmith/yape | d2cd6d5d4f9c5a0b493d23cb1b0514d6e9e3d80c | [
"BSD-2-Clause"
] | null | null | null | yape/json_schema/__init__.py | calebsmith/yape | d2cd6d5d4f9c5a0b493d23cb1b0514d6e9e3d80c | [
"BSD-2-Clause"
] | null | null | null | yape/json_schema/__init__.py | calebsmith/yape | d2cd6d5d4f9c5a0b493d23cb1b0514d6e9e3d80c | [
"BSD-2-Clause"
] | null | null | null | """
json_schema module is written by Ludvig Ericson and is available on Pypi.
The code in this module represents a fork of this library for this sake
of some light customizations
JSON schema defintion & validation
Example:
>>> from yape.json_schema import SchemaCollection, AnyString, AnyInteger
>>> class Foo(Schema... | 26.918919 | 73 | 0.688755 | 144 | 996 | 4.611111 | 0.430556 | 0.105422 | 0.084337 | 0.072289 | 0.135542 | 0.084337 | 0.084337 | 0.084337 | 0 | 0 | 0 | 0.011765 | 0.146586 | 996 | 36 | 74 | 27.666667 | 0.769412 | 0.822289 | 0 | 0 | 0 | 0 | 0.047337 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.6 | 0 | 0.6 | 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 |
897745e5687ad2f5cd50001370ffe2cdd4f1ccc9 | 199 | py | Python | active_semi_clustering/semi_supervised/pairwise_constraints/__init__.py | Gnostikoi/active-semi-supervised-clustering | 429e19a6fe5f8cd1005c0bcbed0bc4ca18c32064 | [
"MIT"
] | null | null | null | active_semi_clustering/semi_supervised/pairwise_constraints/__init__.py | Gnostikoi/active-semi-supervised-clustering | 429e19a6fe5f8cd1005c0bcbed0bc4ca18c32064 | [
"MIT"
] | null | null | null | active_semi_clustering/semi_supervised/pairwise_constraints/__init__.py | Gnostikoi/active-semi-supervised-clustering | 429e19a6fe5f8cd1005c0bcbed0bc4ca18c32064 | [
"MIT"
] | null | null | null | from .copkmeans import COPKMeans
from .pckmeans import PCKMeans
from .mpckmeans import MPCKMeans
from .mpckmeansmf import MPCKMeansMF
# from .mkmeans import MKMeans
# from .rcakmeans import RCAKMeans | 33.166667 | 36 | 0.834171 | 24 | 199 | 6.916667 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125628 | 199 | 6 | 37 | 33.166667 | 0.954023 | 0.306533 | 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 |
89a2cc30a1d021b9cf2a35fc8dc5ed8c77e033eb | 97 | py | Python | python/testData/refactoring/extractsuperclass/withSuper.before.py | jnthn/intellij-community | 8fa7c8a3ace62400c838e0d5926a7be106aa8557 | [
"Apache-2.0"
] | 2 | 2018-12-29T09:53:39.000Z | 2018-12-29T09:53:42.000Z | python/testData/refactoring/extractsuperclass/withSuper.before.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 173 | 2018-07-05T13:59:39.000Z | 2018-08-09T01:12:03.000Z | python/testData/refactoring/extractsuperclass/withSuper.before.py | Cyril-lamirand/intellij-community | 60ab6c61b82fc761dd68363eca7d9d69663cfa39 | [
"Apache-2.0"
] | 2 | 2020-03-15T08:57:37.000Z | 2020-04-07T04:48:14.000Z | class Foo(object):
def bar(self):
print "foo"
def foo(self):
print "bar" | 16.166667 | 19 | 0.515464 | 13 | 97 | 3.846154 | 0.538462 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.350515 | 97 | 6 | 20 | 16.166667 | 0.793651 | 0 | 0 | 0 | 0 | 0 | 0.061224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.4 | 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 |
89b3e1fcece7a2fbe23a3448be4025f56b29e003 | 181 | py | Python | cyder/api/v1/authentication.py | drkitty/cyder | 1babc443cc03aa51fa3c1015bcd22f0ea2e5f0f8 | [
"BSD-3-Clause"
] | 6 | 2015-04-16T23:18:22.000Z | 2020-08-25T22:50:13.000Z | cyder/api/v1/authentication.py | drkitty/cyder | 1babc443cc03aa51fa3c1015bcd22f0ea2e5f0f8 | [
"BSD-3-Clause"
] | 267 | 2015-01-01T00:18:57.000Z | 2015-10-14T00:01:13.000Z | cyder/api/v1/authentication.py | drkitty/cyder | 1babc443cc03aa51fa3c1015bcd22f0ea2e5f0f8 | [
"BSD-3-Clause"
] | 5 | 2015-03-23T00:57:09.000Z | 2019-09-09T22:42:37.000Z | from rest_framework.authentication import TokenAuthentication
from cyder.api.authtoken.models import Token
class CyderTokenAuthentication(TokenAuthentication):
model = Token
| 22.625 | 61 | 0.845304 | 18 | 181 | 8.444444 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.110497 | 181 | 7 | 62 | 25.857143 | 0.944099 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
89b6817c53d23f3785a6d92804047029755f96ca | 12,866 | py | Python | tests/license_test.py | samuelchen/truepy | f1fd86ffccf7c3b2eee4cd4ced9436ff832d257e | [
"OpenSSL"
] | 40 | 2015-08-04T11:01:33.000Z | 2022-01-17T10:45:18.000Z | tests/license_test.py | samuelchen/truepy | f1fd86ffccf7c3b2eee4cd4ced9436ff832d257e | [
"OpenSSL"
] | 9 | 2016-09-14T04:40:58.000Z | 2021-07-22T09:07:51.000Z | tests/license_test.py | samuelchen/truepy | f1fd86ffccf7c3b2eee4cd4ced9436ff832d257e | [
"OpenSSL"
] | 13 | 2015-02-24T05:39:10.000Z | 2022-02-03T00:41:53.000Z | # coding: utf-8
# truepy
# Copyright (C) 2014-2015 Moses Palmér
#
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation, either version 3 of the License, or (at your option) any later
# version.
#
# Th... | 43.761905 | 79 | 0.734805 | 978 | 12,866 | 9.595092 | 0.41002 | 0.015345 | 0.028133 | 0.033248 | 0.190217 | 0.16315 | 0.157182 | 0.140558 | 0.134591 | 0.134591 | 0 | 0.109895 | 0.190191 | 12,866 | 293 | 80 | 43.911263 | 0.790767 | 0.113089 | 0 | 0.342466 | 0 | 0 | 0.610597 | 0.512391 | 0 | 1 | 0 | 0 | 0.050228 | 1 | 0.068493 | false | 0.050228 | 0.031963 | 0 | 0.114155 | 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 | 1 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
982576fe083a9c9e5357e2f3e262cfcb3721b2bd | 176 | py | Python | server/config.py | mofengboy/Chain-of-all-beings | b7f9750391a702b83728118f5db533ecb4d38bf0 | [
"Apache-2.0"
] | 2 | 2022-03-26T15:20:40.000Z | 2022-03-26T15:24:02.000Z | server/config.py | mofengboy/Chain-of-all-beings | b7f9750391a702b83728118f5db533ecb4d38bf0 | [
"Apache-2.0"
] | null | null | null | server/config.py | mofengboy/Chain-of-all-beings | b7f9750391a702b83728118f5db533ecb4d38bf0 | [
"Apache-2.0"
] | 1 | 2022-03-26T15:20:45.000Z | 2022-03-26T15:20:45.000Z | # 允许跨域访问的域名列表
Allow_Url_List = ["https://beings.icu", "http://localhost:8080", "http://localhost:8081", "https://tombchain.org",
"https://www.tombchain.org"]
| 44 | 114 | 0.625 | 20 | 176 | 5.4 | 0.7 | 0.240741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.053691 | 0.153409 | 176 | 3 | 115 | 58.666667 | 0.671141 | 0.0625 | 0 | 0 | 0 | 0 | 0.650307 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
982f643302efbc0815137b415ab447ee9585bd9a | 255 | py | Python | Ene-Jun-2018/Claudia Saldivar/practica2/try_it_yourself_8/City Names.py | Arbupa/DAS_Sistemas | 52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1 | [
"MIT"
] | 41 | 2017-09-26T09:36:32.000Z | 2022-03-19T18:05:25.000Z | Ene-Jun-2018/Claudia Saldivar/practica2/try_it_yourself_8/City Names.py | Arbupa/DAS_Sistemas | 52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1 | [
"MIT"
] | 67 | 2017-09-11T05:06:12.000Z | 2022-02-14T04:44:04.000Z | Ene-Jun-2018/Claudia Saldivar/practica2/try_it_yourself_8/City Names.py | Arbupa/DAS_Sistemas | 52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1 | [
"MIT"
] | 210 | 2017-09-01T00:10:08.000Z | 2022-03-19T18:05:12.000Z | def city_country(city, country):
return(city.title() + ", " + country.title())
city = city_country('santiago', 'chile')
print(city)
city = city_country('ushuaia', 'argentina')
print(city)
city = city_country('longyearbyen', 'svalbard')
print(city)
| 21.25 | 49 | 0.694118 | 31 | 255 | 5.580645 | 0.387097 | 0.317919 | 0.260116 | 0.196532 | 0.277457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121569 | 255 | 11 | 50 | 23.181818 | 0.772321 | 0 | 0 | 0.375 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0.125 | 0.125 | 0.375 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
98497387557d9bbf9b9a19655765aaf7b07bbe21 | 189 | py | Python | src/pso/config.py | marweck/pso-mlp | 6476d0b1e0ae869fd1884213ab03d29e68962858 | [
"MIT"
] | 2 | 2021-07-16T19:05:44.000Z | 2022-02-08T23:25:42.000Z | src/pso/config.py | marweck/pso-mlp | 6476d0b1e0ae869fd1884213ab03d29e68962858 | [
"MIT"
] | null | null | null | src/pso/config.py | marweck/pso-mlp | 6476d0b1e0ae869fd1884213ab03d29e68962858 | [
"MIT"
] | null | null | null | from dataclasses import dataclass
@dataclass(frozen=True, order=True)
class SwarmConfig:
number_of_particles: int
particle_size: int
lower_bound: float
upper_bound: float
| 18.9 | 35 | 0.761905 | 24 | 189 | 5.791667 | 0.791667 | 0.143885 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179894 | 189 | 9 | 36 | 21 | 0.896774 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.142857 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
98a72dd59f96a2479c48a039afe5ba7ea82facf0 | 72 | py | Python | PCA9685_wrapper/__init__.py | being24/PCA9685_Wrapper | ed5f1d90086c2d5dd6c054cf597b100117bc8d03 | [
"MIT"
] | null | null | null | PCA9685_wrapper/__init__.py | being24/PCA9685_Wrapper | ed5f1d90086c2d5dd6c054cf597b100117bc8d03 | [
"MIT"
] | null | null | null | PCA9685_wrapper/__init__.py | being24/PCA9685_Wrapper | ed5f1d90086c2d5dd6c054cf597b100117bc8d03 | [
"MIT"
] | null | null | null | from PCA9685_wrapper.PCA9685_wrapper import *
name = "PCA9685_wrapper"
| 18 | 45 | 0.819444 | 9 | 72 | 6.222222 | 0.555556 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0.111111 | 72 | 3 | 46 | 24 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0.208333 | 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 |
98b5283bec2ff00bd950e9f259481035c1ef3d4d | 354 | py | Python | m2vm/config/dev_config.py | globocom/globomap-m2vm | d57f41622ad55b176f5be443bb58e216e0b4e5ff | [
"Apache-2.0"
] | null | null | null | m2vm/config/dev_config.py | globocom/globomap-m2vm | d57f41622ad55b176f5be443bb58e216e0b4e5ff | [
"Apache-2.0"
] | null | null | null | m2vm/config/dev_config.py | globocom/globomap-m2vm | d57f41622ad55b176f5be443bb58e216e0b4e5ff | [
"Apache-2.0"
] | null | null | null | import os
ENV = 'development'
DEBUG = True
TESTING = False
SECRET_KEY = os.getenv('APP_SECRET_KEY', '4pp53cr37k31')
GLOBOMAP_API_URL = os.getenv('GLOBOMAP_API_URL',
'http://localhost:8888/dummy-gmap-api')
GLOBOMAP_API_USERNAME = os.getenv('GLOBOMAP_API_USERNAME')
GLOBOMAP_API_PASSWORD = o... | 29.5 | 68 | 0.723164 | 46 | 354 | 5.23913 | 0.5 | 0.273859 | 0.19917 | 0.236515 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036913 | 0.158192 | 354 | 11 | 69 | 32.181818 | 0.771812 | 0 | 0 | 0 | 0 | 0 | 0.370057 | 0.118644 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.111111 | 0.111111 | 0 | 0.111111 | 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 |
98b64d88df4feb8c6d7ce0c20e064c02765a5401 | 58 | py | Python | module_template/__main__.py | rstms/repeat | af9f1aa01cc0d5d5fd8e6ff688e7c84267b8600f | [
"MIT"
] | null | null | null | module_template/__main__.py | rstms/repeat | af9f1aa01cc0d5d5fd8e6ff688e7c84267b8600f | [
"MIT"
] | null | null | null | module_template/__main__.py | rstms/repeat | af9f1aa01cc0d5d5fd8e6ff688e7c84267b8600f | [
"MIT"
] | null | null | null | from .cli import cli
if __name__ == '__main__':
cli()
| 14.5 | 26 | 0.637931 | 8 | 58 | 3.625 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.224138 | 58 | 3 | 27 | 19.333333 | 0.644444 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 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 |
98b91fda9f927a2cf0e108ec8f5ba891723d957f | 39 | py | Python | tests/test_list/input.py | waadnakhleh/pythonformatter | 5f622986aa4e2fcdf03e49041a7ddc14e66d1a2f | [
"MIT"
] | null | null | null | tests/test_list/input.py | waadnakhleh/pythonformatter | 5f622986aa4e2fcdf03e49041a7ddc14e66d1a2f | [
"MIT"
] | 19 | 2020-12-28T17:17:12.000Z | 2021-12-22T20:44:42.000Z | tests/test_list/input.py | waadnakhleh/pythonformatter | 5f622986aa4e2fcdf03e49041a7ddc14e66d1a2f | [
"MIT"
] | 1 | 2021-03-20T17:41:14.000Z | 2021-03-20T17:41:14.000Z | [hello, "test",20, False] | 39 | 39 | 0.410256 | 4 | 39 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 0.410256 | 39 | 1 | 39 | 39 | 0.608696 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7f25dbe56e5a8bf1bf9cc65597feeedd8f15f3fe | 6,803 | py | Python | project/api/migrations/0068_auto_20210814_2015.py | hlystovea/BBBS | 7164ef67615e45d750e965bf958af229b56d49e3 | [
"BSD-3-Clause"
] | null | null | null | project/api/migrations/0068_auto_20210814_2015.py | hlystovea/BBBS | 7164ef67615e45d750e965bf958af229b56d49e3 | [
"BSD-3-Clause"
] | 2 | 2021-06-07T14:06:05.000Z | 2021-06-18T16:27:29.000Z | project/api/migrations/0068_auto_20210814_2015.py | hlystovea/BBBS | 7164ef67615e45d750e965bf958af229b56d49e3 | [
"BSD-3-Clause"
] | 2 | 2021-07-27T20:40:18.000Z | 2021-09-12T16:48:19.000Z | # Generated by Django 3.2.3 on 2021-08-14 13:15
import api.validators
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('api', '0067_auto_20210812_2234'),
]
operations = [
migrations.AlterField(
... | 56.22314 | 280 | 0.66015 | 745 | 6,803 | 5.865772 | 0.220134 | 0.09611 | 0.120137 | 0.139359 | 0.755835 | 0.749428 | 0.702975 | 0.670481 | 0.648055 | 0.648055 | 0 | 0.009845 | 0.223578 | 6,803 | 120 | 281 | 56.691667 | 0.817493 | 0.006615 | 0 | 0.631579 | 1 | 0 | 0.30595 | 0.003404 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.026316 | 0 | 0.052632 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7f2e38eb29c0239468fa22216716d60a9ab548d8 | 164 | py | Python | LeetCode/python/1025.py | ZintrulCre/LeetCode_Archiver | de23e16ead29336b5ee7aa1898a392a5d6463d27 | [
"MIT"
] | 279 | 2019-02-19T16:00:32.000Z | 2022-03-23T12:16:30.000Z | LeetCode/python/1025.py | ZintrulCre/LeetCode_Archiver | de23e16ead29336b5ee7aa1898a392a5d6463d27 | [
"MIT"
] | 2 | 2019-03-31T08:03:06.000Z | 2021-03-07T04:54:32.000Z | LeetCode/python/1025.py | ZintrulCre/LeetCode_Crawler | de23e16ead29336b5ee7aa1898a392a5d6463d27 | [
"MIT"
] | 12 | 2019-01-29T11:45:32.000Z | 2019-02-04T16:31:46.000Z | class Solution(object):
def divisorGame(self, N):
"""
:type N: int
:rtype: bool
"""
return True if N % 2 == 0 else False | 23.428571 | 44 | 0.481707 | 20 | 164 | 3.95 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020202 | 0.396341 | 164 | 7 | 44 | 23.428571 | 0.777778 | 0.152439 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
7f38e8058eb2a91badd85a224674b7955ed872c4 | 190 | py | Python | runtests.py | msabramo/pystemmer | f35a67b12e917bd7bee1d1e51014c686e890ab77 | [
"MIT"
] | null | null | null | runtests.py | msabramo/pystemmer | f35a67b12e917bd7bee1d1e51014c686e890ab77 | [
"MIT"
] | null | null | null | runtests.py | msabramo/pystemmer | f35a67b12e917bd7bee1d1e51014c686e890ab77 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
import sys, doctest
py3k = sys.version_info >= (3, 0)
if py3k:
doctest.testfile('docs/quickstart_python3.txt')
else:
doctest.testfile('docs/quickstart.txt')
| 17.272727 | 51 | 0.705263 | 27 | 190 | 4.888889 | 0.703704 | 0.227273 | 0.287879 | 0.439394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030675 | 0.142105 | 190 | 10 | 52 | 19 | 0.779141 | 0.105263 | 0 | 0 | 0 | 0 | 0.272189 | 0.159763 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0 | 1 | 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 | 0 | 0 | 4 |
7f5678ce5f62e98abed344459cdfebbda0e3716e | 353 | py | Python | asyncbolt/__init__.py | davebshow/asyncbolt | 6820e92928a3e331d82efdfba8c01b95261c6e4e | [
"MIT"
] | 12 | 2017-12-08T03:35:27.000Z | 2021-09-18T18:25:53.000Z | asyncbolt/__init__.py | davebshow/asyncbolt | 6820e92928a3e331d82efdfba8c01b95261c6e4e | [
"MIT"
] | 1 | 2017-12-08T18:43:11.000Z | 2017-12-08T18:43:11.000Z | asyncbolt/__init__.py | davebshow/asyncbolt | 6820e92928a3e331d82efdfba8c01b95261c6e4e | [
"MIT"
] | 3 | 2017-12-08T17:45:57.000Z | 2020-10-28T21:28:57.000Z | from asyncbolt.buffer import ChunkedReadBuffer, ChunkedWriteBuffer
from asyncbolt.client import connect
from asyncbolt.messaging import deserialize_message, serialize_message, Message
from asyncbolt.parser import BoltParser
from asyncbolt.protocol import BoltClientProtocol, BoltServerProtocol
from asyncbolt.server impo... | 44.125 | 79 | 0.883853 | 38 | 353 | 8.131579 | 0.526316 | 0.252427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.084986 | 353 | 7 | 80 | 50.428571 | 0.956656 | 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 | 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 |
f68c1ae8c0f1d7f7ea01806b113b82cf1facbd1e | 6,247 | py | Python | Keras_tensorflow_nightly/source2.7/tensorflow/contrib/rpc/python/kernel_tests/test_example_pb2_grpc.py | Con-Mi/lambda-packs | b23a8464abdd88050b83310e1d0e99c54dac28ab | [
"MIT"
] | 1 | 2019-06-27T12:09:44.000Z | 2019-06-27T12:09:44.000Z | Keras_tensorflow_nightly/source2.7/tensorflow/contrib/rpc/python/kernel_tests/test_example_pb2_grpc.py | Con-Mi/lambda-packs | b23a8464abdd88050b83310e1d0e99c54dac28ab | [
"MIT"
] | null | null | null | Keras_tensorflow_nightly/source2.7/tensorflow/contrib/rpc/python/kernel_tests/test_example_pb2_grpc.py | Con-Mi/lambda-packs | b23a8464abdd88050b83310e1d0e99c54dac28ab | [
"MIT"
] | null | null | null | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from tensorflow.contrib.rpc.python.kernel_tests import test_example_pb2 as tensorflow_dot_contrib_dot_rpc_dot_python_dot_kernel__tests_dot_test__example__pb2
class TestCaseServiceStub(object):
# missing associated documentation comme... | 54.321739 | 157 | 0.81175 | 701 | 6,247 | 6.644793 | 0.132668 | 0.051954 | 0.066123 | 0.103693 | 0.742593 | 0.729712 | 0.729712 | 0.633104 | 0.633104 | 0.633104 | 0 | 0.005308 | 0.1255 | 6,247 | 114 | 158 | 54.798246 | 0.847337 | 0.074436 | 0 | 0.506024 | 1 | 0 | 0.12099 | 0.075488 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084337 | false | 0.024096 | 0.024096 | 0 | 0.13253 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f6a3a3854a1a217fcc81c4686686a25b6894f820 | 101 | py | Python | exceptions_demo.py | DForshner/PythonExperiments | ad353d179fd20089f1c8101dc73cf5fb17cc903f | [
"Apache-2.0"
] | null | null | null | exceptions_demo.py | DForshner/PythonExperiments | ad353d179fd20089f1c8101dc73cf5fb17cc903f | [
"Apache-2.0"
] | null | null | null | exceptions_demo.py | DForshner/PythonExperiments | ad353d179fd20089f1c8101dc73cf5fb17cc903f | [
"Apache-2.0"
] | null | null | null | import sys
try:
print 5 / 0
except:
print "exception", sys.exc_info()[0]
print "continued ..."
| 11.222222 | 38 | 0.643564 | 15 | 101 | 4.266667 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037037 | 0.19802 | 101 | 8 | 39 | 12.625 | 0.753086 | 0 | 0 | 0 | 0 | 0 | 0.217822 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
f6b6c0c559f99ee9f6741402d22a78d54ed26737 | 48 | py | Python | bot/plugins/repost/__init__.py | best-coloc-ever/globibot | a4c4dd8bb3b71bff09bd2e1c4c5ce58ab1bad176 | [
"MIT"
] | 14 | 2016-02-03T16:47:01.000Z | 2019-12-09T14:24:25.000Z | bot/plugins/repost/__init__.py | best-coloc-ever/globibot | a4c4dd8bb3b71bff09bd2e1c4c5ce58ab1bad176 | [
"MIT"
] | 11 | 2016-08-19T22:00:25.000Z | 2022-01-13T00:39:48.000Z | bot/plugins/repost/__init__.py | best-coloc-ever/globibot | a4c4dd8bb3b71bff09bd2e1c4c5ce58ab1bad176 | [
"MIT"
] | 6 | 2016-08-19T21:30:58.000Z | 2019-09-27T05:24:08.000Z | from .plugin import Repost
plugin_cls = Repost
| 12 | 26 | 0.791667 | 7 | 48 | 5.285714 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 3 | 27 | 16 | 0.925 | 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 |
f6d3d8a66ab22cd7882ff0eacd75a797c8195d73 | 153 | py | Python | Ejercicios/detalle2.py | julioh/python-chile | da7fc9cdfb03c69c36a98903b80a45c795f2c543 | [
"MIT"
] | null | null | null | Ejercicios/detalle2.py | julioh/python-chile | da7fc9cdfb03c69c36a98903b80a45c795f2c543 | [
"MIT"
] | null | null | null | Ejercicios/detalle2.py | julioh/python-chile | da7fc9cdfb03c69c36a98903b80a45c795f2c543 | [
"MIT"
] | null | null | null | #! /usr/bin/python
# -*- coding: iso-8859-15 -*-
def sum(lista):
suma = 1
for i in lista:
suma = suma * i
return suma
print sum([1,2,3,4]) | 19.125 | 29 | 0.555556 | 27 | 153 | 3.148148 | 0.740741 | 0.211765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096491 | 0.254902 | 153 | 8 | 30 | 19.125 | 0.649123 | 0.294118 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.166667 | 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 |
f6eb256969ad4292beadef05f532f660cb08eb02 | 1,058 | py | Python | test/test_del_project.py | TestQA14/python_training | 7b1c8e6925b274ed05d154a3d434c5ea704595bb | [
"Apache-2.0"
] | null | null | null | test/test_del_project.py | TestQA14/python_training | 7b1c8e6925b274ed05d154a3d434c5ea704595bb | [
"Apache-2.0"
] | null | null | null | test/test_del_project.py | TestQA14/python_training | 7b1c8e6925b274ed05d154a3d434c5ea704595bb | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
from model.project import Project
from random import randrange
def test_delete_first_project(app):
app.project.check_count_projects()
old_projects = app.project.get_project_list()
app.project.delete_first_project()
new_projects = app.project.get_project_list()
assert len(ol... | 31.117647 | 53 | 0.732514 | 147 | 1,058 | 4.92517 | 0.197279 | 0.165746 | 0.174033 | 0.174033 | 0.720994 | 0.720994 | 0.720994 | 0.720994 | 0.553867 | 0.553867 | 0 | 0.008929 | 0.153119 | 1,058 | 33 | 54 | 32.060606 | 0.799107 | 0.231569 | 0 | 0.526316 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 1 | 0.105263 | false | 0 | 0.105263 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
1200ce4f826dc3b8173da36a74c310df12b8cc94 | 87 | py | Python | servis/apps.py | babinho/djangodev | 837a8d122b7fa7b471e982658f8d59860630ef19 | [
"CC0-1.0"
] | null | null | null | servis/apps.py | babinho/djangodev | 837a8d122b7fa7b471e982658f8d59860630ef19 | [
"CC0-1.0"
] | null | null | null | servis/apps.py | babinho/djangodev | 837a8d122b7fa7b471e982658f8d59860630ef19 | [
"CC0-1.0"
] | null | null | null | from django.apps import AppConfig
class servisConfig(AppConfig):
name = 'servis'
| 14.5 | 33 | 0.747126 | 10 | 87 | 6.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 87 | 5 | 34 | 17.4 | 0.902778 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 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 |
122d3e43d9680469495a62e8720f3ce6fc2a695a | 586 | py | Python | enaml/widgets/control.py | mmckerns/enaml | ebf417b4dce9132bffa038a588ad90436a59d37e | [
"BSD-3-Clause"
] | 11 | 2015-01-04T14:29:23.000Z | 2019-12-25T05:38:37.000Z | enaml/widgets/control.py | mmckerns/enaml | ebf417b4dce9132bffa038a588ad90436a59d37e | [
"BSD-3-Clause"
] | 36 | 2015-02-20T00:56:53.000Z | 2020-12-04T10:02:14.000Z | enaml/widgets/control.py | mmckerns/enaml | ebf417b4dce9132bffa038a588ad90436a59d37e | [
"BSD-3-Clause"
] | 3 | 2015-11-19T15:11:37.000Z | 2019-03-11T23:45:02.000Z | #------------------------------------------------------------------------------
# Copyright (c) 2012, Enthought, Inc.
# All rights reserved.
#------------------------------------------------------------------------------
from .constraints_widget import ConstraintsWidget
class Control(ConstraintsWidget):
""" A w... | 32.555556 | 79 | 0.539249 | 55 | 586 | 5.727273 | 0.781818 | 0.019048 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008065 | 0.153584 | 586 | 17 | 80 | 34.470588 | 0.627016 | 0.773038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
89c69c6f98ac7dee9526c7a441863b695e12ed33 | 129 | py | Python | nxsdk_modules_contrib/pcritical/modules/__init__.py | event-driven-robotics/models | 5e5b6521b8bcab6e3576e177784baaed57fd5280 | [
"BSD-3-Clause"
] | 54 | 2020-03-04T17:37:17.000Z | 2022-02-22T13:16:10.000Z | nxsdk_modules_contrib/pcritical/modules/__init__.py | lyes-khacef/models | a8b6e2a83d4842eb99878d3fa53cd92f4c6b3db8 | [
"BSD-3-Clause"
] | 9 | 2020-08-26T13:17:54.000Z | 2021-11-09T09:02:00.000Z | nxsdk_modules_contrib/pcritical/modules/__init__.py | lyes-khacef/models | a8b6e2a83d4842eb99878d3fa53cd92f4c6b3db8 | [
"BSD-3-Clause"
] | 26 | 2020-03-18T17:09:34.000Z | 2021-11-22T16:23:14.000Z | """
This directory contains the necessary modules to use P-CRITICAL on Loihi. See the `script` directory for usage examples.
"""
| 32.25 | 120 | 0.75969 | 19 | 129 | 5.157895 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155039 | 129 | 3 | 121 | 43 | 0.899083 | 0.930233 | 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 |
89d169c9eef51cf323009fdfccbdcc9c74a8f7fc | 230 | py | Python | ThinkPython/chap5/ex2.py | sokolowskik/Tutorials | d2681d4f18b03e00f90f9132c77f0b23b74d2629 | [
"MIT"
] | null | null | null | ThinkPython/chap5/ex2.py | sokolowskik/Tutorials | d2681d4f18b03e00f90f9132c77f0b23b74d2629 | [
"MIT"
] | null | null | null | ThinkPython/chap5/ex2.py | sokolowskik/Tutorials | d2681d4f18b03e00f90f9132c77f0b23b74d2629 | [
"MIT"
] | null | null | null | def print_string(s):
print s
def do_n(f, s, n):
if n <= 0:
print 'done!'
else:
f(s)
do_n(f, s, n-1)
do_n(print_string, 'Hello', 2)
do_n(print_string, 'Nana', 4)
do_n(print_string, 'Dada', 8)
| 15.333333 | 30 | 0.534783 | 44 | 230 | 2.590909 | 0.409091 | 0.131579 | 0.210526 | 0.368421 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030675 | 0.291304 | 230 | 14 | 31 | 16.428571 | 0.668712 | 0 | 0 | 0 | 0 | 0 | 0.078603 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.545455 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
89e1454cf276adae4bdba8144f50c45bc2ee9718 | 146 | py | Python | exercises/exercise02.py | surajwate/57-python-exercises | 3b47c096266fec114300b9340cd852088a00d56e | [
"MIT"
] | null | null | null | exercises/exercise02.py | surajwate/57-python-exercises | 3b47c096266fec114300b9340cd852088a00d56e | [
"MIT"
] | 1 | 2021-07-06T17:34:59.000Z | 2021-07-06T17:34:59.000Z | exercises/exercise02.py | surajwate/57-python-exercises | 3b47c096266fec114300b9340cd852088a00d56e | [
"MIT"
] | null | null | null | def count(word):
return f'{word} has {len(word)} characters.'
if __name__ == '__main__':
print(count(input('What is the input string?'))) | 29.2 | 52 | 0.657534 | 21 | 146 | 4.190476 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164384 | 146 | 5 | 52 | 29.2 | 0.721311 | 0 | 0 | 0 | 0 | 0 | 0.455782 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 0.5 | 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 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
89e36bb718ed2ee371cb4984598d2a0340cb182d | 208 | py | Python | wxgui/__init__.py | pshchelo/vampy | 85555daf3a04bf36e81d6cd64f66bb1e4b341860 | [
"BSD-3-Clause"
] | 1 | 2021-04-19T09:48:04.000Z | 2021-04-19T09:48:04.000Z | wxgui/__init__.py | pshchelo/vampy | 85555daf3a04bf36e81d6cd64f66bb1e4b341860 | [
"BSD-3-Clause"
] | null | null | null | wxgui/__init__.py | pshchelo/vampy | 85555daf3a04bf36e81d6cd64f66bb1e4b341860 | [
"BSD-3-Clause"
] | null | null | null | #!/usr/bin/env python
"""wxPython GUI for VAMP project
TODO: create (or copy?) a wx.Frame subclass for holding a matplotlib plot
with navigation toolbar.
"""
#import uimain, tension, debug, geometry
| 26 | 75 | 0.721154 | 30 | 208 | 5 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177885 | 208 | 7 | 76 | 29.714286 | 0.877193 | 0.908654 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0.142857 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
89e5e9b84972a654fd56adcaa63c3515eeaa6308 | 10,937 | py | Python | src/prefect/tasks/google/storage.py | jamestwebber/prefect | 410c4ac37d2595ab61007742883687f5e284821d | [
"Apache-2.0"
] | null | null | null | src/prefect/tasks/google/storage.py | jamestwebber/prefect | 410c4ac37d2595ab61007742883687f5e284821d | [
"Apache-2.0"
] | null | null | null | src/prefect/tasks/google/storage.py | jamestwebber/prefect | 410c4ac37d2595ab61007742883687f5e284821d | [
"Apache-2.0"
] | null | null | null | import uuid
from google.oauth2.service_account import Credentials
from google.cloud import storage
from google.cloud.exceptions import NotFound
from prefect import context
from prefect.client import Secret
from prefect.core import Task
from prefect.utilities.tasks import defaults_from_attrs
class GCSBaseTask(Task):... | 42.391473 | 138 | 0.654476 | 1,333 | 10,937 | 5.237059 | 0.132783 | 0.057728 | 0.062598 | 0.028363 | 0.7317 | 0.723965 | 0.706776 | 0.701189 | 0.672969 | 0.655923 | 0 | 0.000257 | 0.287556 | 10,937 | 257 | 139 | 42.55642 | 0.895662 | 0.550242 | 0 | 0.522059 | 0 | 0 | 0.066489 | 0.015957 | 0 | 0 | 0 | 0 | 0 | 1 | 0.058824 | false | 0 | 0.058824 | 0 | 0.176471 | 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 |
89e703289caa0a8fe8e5305431bc1a0e97e6445f | 301 | py | Python | src/djandock/presets.py | marxygen/djandock | 13de65bc3323c3c05863e8bc8d2331568894e90d | [
"MIT"
] | null | null | null | src/djandock/presets.py | marxygen/djandock | 13de65bc3323c3c05863e8bc8d2331568894e90d | [
"MIT"
] | null | null | null | src/djandock/presets.py | marxygen/djandock | 13de65bc3323c3c05863e8bc8d2331568894e90d | [
"MIT"
] | null | null | null | DJANGO_PROJECT_CREATE_COMMAND = 'cd {name} && cd venv && cd Scripts && "activate" && cd ../.. && django-admin startproject {name} .'
VIRTUALENV_DIR = 'venv'
PACKAGE_INSTALL_COMMAND = 'cd {name} && cd venv && cd Scripts && "activate" && pip install django && cd ../../ && pip freeze > requirements.txt' | 100.333333 | 144 | 0.66113 | 37 | 301 | 5.216216 | 0.513514 | 0.093264 | 0.134715 | 0.15544 | 0.373057 | 0.373057 | 0.373057 | 0.373057 | 0 | 0 | 0 | 0 | 0.152824 | 301 | 3 | 144 | 100.333333 | 0.756863 | 0 | 0 | 0 | 0 | 0.666667 | 0.721854 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
89f385d7d0d9832610f76804a6c0fb95263887eb | 163 | py | Python | halotools/empirical_models/abunmatch/tests/test_single_unit.py | pllim/halotools | 6499cff09e7e0f169e4f425ee265403f6be816e8 | [
"BSD-3-Clause"
] | 83 | 2015-01-15T14:54:16.000Z | 2021-12-09T11:28:02.000Z | halotools/empirical_models/abunmatch/tests/test_single_unit.py | pllim/halotools | 6499cff09e7e0f169e4f425ee265403f6be816e8 | [
"BSD-3-Clause"
] | 579 | 2015-01-14T15:57:37.000Z | 2022-01-13T18:58:44.000Z | halotools/empirical_models/abunmatch/tests/test_single_unit.py | pllim/halotools | 6499cff09e7e0f169e4f425ee265403f6be816e8 | [
"BSD-3-Clause"
] | 70 | 2015-01-14T15:15:58.000Z | 2021-12-22T18:18:31.000Z | """
"""
import numpy as np
from astropy.utils.misc import NumpyRNGContext
from ..bin_free_cam import conditional_abunmatch
fixed_seed = 5
def test():
pass
| 12.538462 | 48 | 0.742331 | 23 | 163 | 5.086957 | 0.869565 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007407 | 0.171779 | 163 | 12 | 49 | 13.583333 | 0.859259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.5 | 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 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
89f54847e1050b872b097cbdb83e129586c74dfd | 84 | py | Python | env/lib/python3.5/site-packages/passlib/crypto/__init__.py | Udolf15/recommedMeMovies | be5ae74acd98e3f93beaaa5bb55623974fb24247 | [
"MIT"
] | 172 | 2018-01-03T21:07:28.000Z | 2022-03-08T11:12:08.000Z | env/lib/python3.5/site-packages/passlib/crypto/__init__.py | Udolf15/recommedMeMovies | be5ae74acd98e3f93beaaa5bb55623974fb24247 | [
"MIT"
] | 15 | 2018-01-04T00:27:02.000Z | 2022-02-23T19:19:27.000Z | env/lib/python3.5/site-packages/passlib/crypto/__init__.py | Udolf15/recommedMeMovies | be5ae74acd98e3f93beaaa5bb55623974fb24247 | [
"MIT"
] | 37 | 2018-01-03T21:19:13.000Z | 2022-03-10T21:41:18.000Z | """passlib.crypto -- package containing cryptographic primitives used by passlib"""
| 42 | 83 | 0.785714 | 9 | 84 | 7.333333 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.107143 | 84 | 1 | 84 | 84 | 0.88 | 0.916667 | 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 |
d60e610bce391fce0754f8f47c34c30970e3ad15 | 91 | py | Python | enthought/block_canvas/app/export.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/block_canvas/app/export.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/block_canvas/app/export.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from __future__ import absolute_import
from blockcanvas.app.export import *
| 22.75 | 38 | 0.835165 | 12 | 91 | 5.916667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.120879 | 91 | 3 | 39 | 30.333333 | 0.8875 | 0.131868 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d6292af8d7cdb1f302f7aee0f020450b59e914a3 | 736 | py | Python | password/migrations/0008_auto_20160725_2235.py | pyprism/Hiren-Pass | 04f5f2b3b0e4b4caab43953acfd9021d51108388 | [
"MIT"
] | 1 | 2017-07-01T05:30:30.000Z | 2017-07-01T05:30:30.000Z | password/migrations/0008_auto_20160725_2235.py | pyprism/Hiren-Pass | 04f5f2b3b0e4b4caab43953acfd9021d51108388 | [
"MIT"
] | 141 | 2017-03-08T10:43:15.000Z | 2021-02-04T08:31:08.000Z | password/migrations/0008_auto_20160725_2235.py | pyprism/Hiren-Pass | 04f5f2b3b0e4b4caab43953acfd9021d51108388 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by Django 1.9.7 on 2016-07-25 16:35
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('password', '0007_auto_20160724_2156'),
]
operations = [
migrations.AlterFiel... | 23.741935 | 48 | 0.5625 | 71 | 736 | 5.676056 | 0.591549 | 0.148883 | 0.186104 | 0.215881 | 0.421836 | 0.282878 | 0 | 0 | 0 | 0 | 0 | 0.063745 | 0.317935 | 736 | 30 | 49 | 24.533333 | 0.739044 | 0.091033 | 0 | 0.478261 | 1 | 0 | 0.100601 | 0.034535 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.086957 | 0.086957 | 0 | 0.217391 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
c3ac6221915f3cf0f7129e431bb19812901159e8 | 165 | py | Python | src/errors/parsing.py | aka-cs/ia-sim-cmp | fa26f3d961a992698ca08f4213d6eae39f3ec039 | [
"MIT"
] | null | null | null | src/errors/parsing.py | aka-cs/ia-sim-cmp | fa26f3d961a992698ca08f4213d6eae39f3ec039 | [
"MIT"
] | null | null | null | src/errors/parsing.py | aka-cs/ia-sim-cmp | fa26f3d961a992698ca08f4213d6eae39f3ec039 | [
"MIT"
] | null | null | null | class ParsingError(Exception):
pass
class UnexpectedToken(ParsingError):
def __init__(self, index):
super().__init__()
self.index = index
| 16.5 | 36 | 0.660606 | 16 | 165 | 6.3125 | 0.625 | 0.158416 | 0.257426 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.236364 | 165 | 9 | 37 | 18.333333 | 0.801587 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
c3bfe15c88b7b918344693b1c3b246abc5af0568 | 423 | py | Python | test/test_features.py | CSC510-Group-25/feature-hunt | 27a0f52c8f7831e9e77db98d88f41d9fc1dab7ca | [
"MIT"
] | null | null | null | test/test_features.py | CSC510-Group-25/feature-hunt | 27a0f52c8f7831e9e77db98d88f41d9fc1dab7ca | [
"MIT"
] | 147 | 2021-10-14T18:10:04.000Z | 2021-11-30T01:36:42.000Z | test/test_features.py | elric97/feature-hunt | 7f8e77835408cb6592f654bbf59caa952beaeb63 | [
"MIT"
] | 8 | 2021-11-04T04:17:21.000Z | 2021-11-26T12:53:52.000Z | #pylint: skip-file
from pprint import pprint
from flask_cors import CORS
import requests
def test_feature_1():
#response = requests.get("http://localhost:5000/feature-hunt/features")
#assert b'Create product page' in response.content
pass
def test_feature_2():
#response = requests.get("http://loca... | 28.2 | 75 | 0.739953 | 57 | 423 | 5.403509 | 0.578947 | 0.064935 | 0.090909 | 0.149351 | 0.233766 | 0.233766 | 0 | 0 | 0 | 0 | 0 | 0.027933 | 0.153664 | 423 | 14 | 76 | 30.214286 | 0.832402 | 0.612293 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | true | 0.285714 | 0.428571 | 0 | 0.714286 | 0.142857 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
c3d48fea5b6436900f0ec83e25a285e8c8117bdc | 91 | py | Python | workbook/apps.py | Francis-Ebere-Emeafu/carehome | 2a708ac0edbc5c5f58e1ffb570da4fdaec2512b1 | [
"MIT"
] | null | null | null | workbook/apps.py | Francis-Ebere-Emeafu/carehome | 2a708ac0edbc5c5f58e1ffb570da4fdaec2512b1 | [
"MIT"
] | null | null | null | workbook/apps.py | Francis-Ebere-Emeafu/carehome | 2a708ac0edbc5c5f58e1ffb570da4fdaec2512b1 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class WorkbookConfig(AppConfig):
name = 'workbook'
| 15.166667 | 33 | 0.758242 | 10 | 91 | 6.9 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.164835 | 91 | 5 | 34 | 18.2 | 0.907895 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c3dcb8d3c14872b8a7186ac80ff12c1514e687fb | 296 | py | Python | ops/basic_ops_gc.py | PancakeAwesome/tsn_pytorch_gc | 0f9be570fa1cb464d59a111a44c9cba258f0a64a | [
"BSD-2-Clause"
] | 5 | 2018-06-28T09:06:52.000Z | 2020-01-04T13:35:20.000Z | ops/basic_ops_gc.py | PancakeAwesome/tsn_pytorch_gc | 0f9be570fa1cb464d59a111a44c9cba258f0a64a | [
"BSD-2-Clause"
] | null | null | null | ops/basic_ops_gc.py | PancakeAwesome/tsn_pytorch_gc | 0f9be570fa1cb464d59a111a44c9cba258f0a64a | [
"BSD-2-Clause"
] | 1 | 2018-10-07T06:59:58.000Z | 2018-10-07T06:59:58.000Z | class ConsensusModule(torch.nn.Module):
"""docstring for ConsensusModule"""
def __init__(self, consensus_type, dim = 1):
super(ConsensusModule, self).__init__()
self.consensus_type = consensus_type if consensus_type != 'rnn' else 'identity'
self.dim = dim
| 42.285714 | 87 | 0.668919 | 33 | 296 | 5.636364 | 0.575758 | 0.27957 | 0.182796 | 0.225806 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004329 | 0.219595 | 296 | 7 | 88 | 42.285714 | 0.800866 | 0.097973 | 0 | 0 | 0 | 0 | 0.041985 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.4 | 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 |
c3e69e758ac1a00a3d2cb51873b4bd2a9034c793 | 141 | py | Python | exercise904.py | vchatchai/python101 | c2f1c7b0f62a4600f9c64af566dc5630742580f2 | [
"Apache-2.0"
] | null | null | null | exercise904.py | vchatchai/python101 | c2f1c7b0f62a4600f9c64af566dc5630742580f2 | [
"Apache-2.0"
] | null | null | null | exercise904.py | vchatchai/python101 | c2f1c7b0f62a4600f9c64af566dc5630742580f2 | [
"Apache-2.0"
] | null | null | null | import numpy as np
X = np.array([[3,4],[5,12],[24,7]])
print(X)
X = X ** 2
print(X)
X = np.sum(X, axis=1)
print(X)
X = np.sqrt(X)
print(X)
| 12.818182 | 35 | 0.553191 | 34 | 141 | 2.294118 | 0.529412 | 0.307692 | 0.269231 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086207 | 0.177305 | 141 | 10 | 36 | 14.1 | 0.586207 | 0 | 0 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.111111 | 0 | 0.111111 | 0.444444 | 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 |
6137f05d70916eefd110cb2e598ac54c9703c192 | 165 | py | Python | vechelpers.py | murphym18/pip_installable | 20bd442901256cfede3c3d2ec651b2c6199a312c | [
"MIT"
] | null | null | null | vechelpers.py | murphym18/pip_installable | 20bd442901256cfede3c3d2ec651b2c6199a312c | [
"MIT"
] | null | null | null | vechelpers.py | murphym18/pip_installable | 20bd442901256cfede3c3d2ec651b2c6199a312c | [
"MIT"
] | null | null | null | import math
import numpy as np
def vec3d(x, y, z):
return np.array([x, y, z], dtype=float)
def distance(a, b):
c = a - b
return math.sqrt(np.dot(c, c)) | 18.333333 | 43 | 0.6 | 33 | 165 | 3 | 0.606061 | 0.040404 | 0.060606 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007937 | 0.236364 | 165 | 9 | 44 | 18.333333 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
6142df03b4a0ca83c59bd8d0a21f37351719bfb9 | 230 | py | Python | mainmenu/templatetags/version.py | urchinpro/L2-forms | 37f33386984efbb2d1e92c73d915256247801109 | [
"MIT"
] | null | null | null | mainmenu/templatetags/version.py | urchinpro/L2-forms | 37f33386984efbb2d1e92c73d915256247801109 | [
"MIT"
] | null | null | null | mainmenu/templatetags/version.py | urchinpro/L2-forms | 37f33386984efbb2d1e92c73d915256247801109 | [
"MIT"
] | null | null | null | from django import template
import time
import os
#import lis
register = template.Library()
@register.simple_tag
def version_date():
return "%s %s" % (1.0, time.strftime('%m/%d/%Y', time.gmtime(os.path.getmtime('../.git'))))
| 23 | 95 | 0.691304 | 35 | 230 | 4.485714 | 0.742857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009901 | 0.121739 | 230 | 9 | 96 | 25.555556 | 0.767327 | 0.043478 | 0 | 0 | 0 | 0 | 0.091324 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0.142857 | 0.714286 | 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 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
616f82fab178a1a591d137aa9ca71fb150ba58e1 | 23 | py | Python | __init__.py | jaimevalero/github-recommendation-engine | 6024829fb4fa7bd500ba6ee8fd62f0d7ad6fd274 | [
"MIT"
] | 86 | 2017-11-28T20:54:04.000Z | 2022-03-23T12:26:14.000Z | __init__.py | owenblake38/owen | 42b7b8e4630dd12b43bdab8d7f8fc0478e00afcd | [
"MIT"
] | 60 | 2017-10-18T05:43:39.000Z | 2022-01-04T15:15:58.000Z | __init__.py | jaimevalero/github-recommendation-engine | 6024829fb4fa7bd500ba6ee8fd62f0d7ad6fd274 | [
"MIT"
] | 24 | 2017-10-18T05:36:56.000Z | 2020-07-08T05:46:23.000Z | get_repos
flask-app.py
| 7.666667 | 12 | 0.826087 | 5 | 23 | 3.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086957 | 23 | 2 | 13 | 11.5 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
617a11e4d5b06c725f09997ca4b0524f425a2e54 | 276 | py | Python | lifeMEDeasy/admin.py | khareyash05/lifeMEDeasy | baabc4542e9a780a42131cec602cad743c6f1faa | [
"Apache-2.0"
] | 28 | 2020-09-07T16:03:29.000Z | 2022-03-04T06:54:46.000Z | lifeMEDeasy/admin.py | khareyash05/lifeMEDeasy | baabc4542e9a780a42131cec602cad743c6f1faa | [
"Apache-2.0"
] | 93 | 2020-08-28T10:35:53.000Z | 2022-02-26T05:27:02.000Z | lifeMEDeasy/admin.py | khareyash05/lifeMEDeasy | baabc4542e9a780a42131cec602cad743c6f1faa | [
"Apache-2.0"
] | 62 | 2020-08-28T10:05:42.000Z | 2021-09-11T05:14:33.000Z | from django.contrib import admin
from .models import PatientRegister, DoctorRegister, Emergency, Appointment
# Register your models here.
admin.site.register(PatientRegister)
admin.site.register(DoctorRegister)
admin.site.register(Emergency)
admin.site.register(Appointment)
| 30.666667 | 75 | 0.84058 | 32 | 276 | 7.25 | 0.4375 | 0.155172 | 0.293103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.076087 | 276 | 8 | 76 | 34.5 | 0.909804 | 0.094203 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
617fe05f3ba2633e927ea96402d2893c682852e2 | 28 | py | Python | optimization/__init__.py | wangshusen/PyRLA | 066876545c8501dca8ec857676465553a0ebb822 | [
"MIT"
] | 12 | 2018-06-15T09:49:36.000Z | 2020-05-08T12:42:06.000Z | optimization/__init__.py | wangshusen/PyRLA | 066876545c8501dca8ec857676465553a0ebb822 | [
"MIT"
] | 1 | 2020-06-09T11:46:05.000Z | 2020-06-09T12:24:59.000Z | optimization/__init__.py | wangshusen/PyRLA | 066876545c8501dca8ec857676465553a0ebb822 | [
"MIT"
] | 3 | 2018-11-05T19:14:21.000Z | 2019-10-23T02:41:10.000Z | __all__ = ['cg', 'cg_cond']
| 14 | 27 | 0.571429 | 4 | 28 | 2.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 28 | 1 | 28 | 28 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0.321429 | 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 |
618b0ae7c8ff76ce1945eccb29f0895cbcfc641c | 46 | py | Python | app_name/models/__init__.py | Mohammad-Kabajah/django_project | 6598668dbc4f8d777ccf716464d259c49d881cd8 | [
"Apache-2.0"
] | null | null | null | app_name/models/__init__.py | Mohammad-Kabajah/django_project | 6598668dbc4f8d777ccf716464d259c49d881cd8 | [
"Apache-2.0"
] | null | null | null | app_name/models/__init__.py | Mohammad-Kabajah/django_project | 6598668dbc4f8d777ccf716464d259c49d881cd8 | [
"Apache-2.0"
] | null | null | null | """
this package contains all the models
""" | 15.333333 | 37 | 0.673913 | 6 | 46 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195652 | 46 | 3 | 38 | 15.333333 | 0.837838 | 0.782609 | 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 |
61a2aa50f3d84665013e32d124b23d5b0f04af6e | 1,371 | py | Python | SCRAM/Core/CMD.py | cms-sw/SCRAM | ca2e2b7293390df18556f1f2571f02e25cf57cd0 | [
"MIT"
] | 5 | 2015-09-15T15:07:43.000Z | 2021-11-15T08:07:47.000Z | SCRAM/Core/CMD.py | cms-sw/SCRAM | ca2e2b7293390df18556f1f2571f02e25cf57cd0 | [
"MIT"
] | 24 | 2015-01-07T08:16:28.000Z | 2022-03-26T08:20:27.000Z | SCRAM/Core/CMD.py | cms-sw/SCRAM | ca2e2b7293390df18556f1f2571f02e25cf57cd0 | [
"MIT"
] | 2 | 2018-10-08T11:31:44.000Z | 2021-11-15T08:01:12.000Z | def cmd_version(args, opts):
from SCRAM import printmsg, VERSION
printmsg("%s" % VERSION)
return True
def cmd_help(args, opts):
from os import system
system("man scram")
def cmd_arch(args, opts):
from SCRAM import printmsg
from os import environ
from SCRAM.Core.Core import Core
C... | 21.421875 | 71 | 0.718454 | 196 | 1,371 | 4.94898 | 0.158163 | 0.107216 | 0.148454 | 0.192784 | 0.687629 | 0.625773 | 0.352577 | 0.101031 | 0.101031 | 0 | 0 | 0 | 0.194748 | 1,371 | 63 | 72 | 21.761905 | 0.878623 | 0 | 0 | 0.243902 | 0 | 0 | 0.016776 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.292683 | false | 0 | 0.341463 | 0 | 0.902439 | 0.097561 | 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 |
61afdcfab448740c4839c8413ed5c73886923998 | 178 | py | Python | pyviews/expression/__init__.py | eumis/pyviews | 9f3a3a72eddda2bd33bbb16b45d9fa4f9ebfcc0b | [
"MIT"
] | 6 | 2018-02-16T14:37:53.000Z | 2020-03-20T13:22:17.000Z | pyviews/expression/__init__.py | eumis/pyviews | 9f3a3a72eddda2bd33bbb16b45d9fa4f9ebfcc0b | [
"MIT"
] | null | null | null | pyviews/expression/__init__.py | eumis/pyviews | 9f3a3a72eddda2bd33bbb16b45d9fa4f9ebfcc0b | [
"MIT"
] | 1 | 2019-03-15T12:47:42.000Z | 2019-03-15T12:47:42.000Z | """Compilation implementation"""
from .error import ExpressionError
from .expression import Expression, ObjectNode, execute
from .parsing import is_expression, parse_expression
| 29.666667 | 55 | 0.831461 | 19 | 178 | 7.684211 | 0.631579 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.101124 | 178 | 5 | 56 | 35.6 | 0.9125 | 0.146067 | 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 |
61ba1657b81a5a33a76db41dc1cae546ca35564b | 15 | py | Python | openml_data_integration/protobuf_generator/openml_1121/myconstants.py | tuix/tutorials | 733d35a8a39df079e8c2432c441b70785ab08440 | [
"Apache-2.0"
] | 8 | 2020-04-21T13:29:04.000Z | 2021-12-13T08:59:09.000Z | openml_data_integration/protobuf_generator/openml_1121/myconstants.py | tuix/tutorials | 733d35a8a39df079e8c2432c441b70785ab08440 | [
"Apache-2.0"
] | 3 | 2021-04-27T11:03:04.000Z | 2021-05-24T18:22:57.000Z | openml_data_integration/protobuf_generator/openml_1121/myconstants.py | tuix/tutorials | 733d35a8a39df079e8c2432c441b70785ab08440 | [
"Apache-2.0"
] | 6 | 2020-07-06T08:23:25.000Z | 2021-11-24T10:39:34.000Z | DATA_ID = 1121
| 7.5 | 14 | 0.733333 | 3 | 15 | 3.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.2 | 15 | 1 | 15 | 15 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
61be6d56be0750a09198b6a532fa7d7cba2c2936 | 170 | py | Python | Sesiones/Ejemplos Sesion 6/Ejemplos Paquetes/calculos/utilidades/calculos.py | FrancoLorenzo/Python | fbd99380c75b3370171d5cd820cdffbdb73d9ab6 | [
"MIT"
] | null | null | null | Sesiones/Ejemplos Sesion 6/Ejemplos Paquetes/calculos/utilidades/calculos.py | FrancoLorenzo/Python | fbd99380c75b3370171d5cd820cdffbdb73d9ab6 | [
"MIT"
] | null | null | null | Sesiones/Ejemplos Sesion 6/Ejemplos Paquetes/calculos/utilidades/calculos.py | FrancoLorenzo/Python | fbd99380c75b3370171d5cd820cdffbdb73d9ab6 | [
"MIT"
] | null | null | null | """ Módulo para cálculos diversos """
def suma_total(monto=0):
""" Calcula la suma total """
calculo_suma = 20
calculo_suma += monto
return calculo_suma
| 21.25 | 37 | 0.658824 | 22 | 170 | 4.909091 | 0.636364 | 0.305556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022901 | 0.229412 | 170 | 7 | 38 | 24.285714 | 0.801527 | 0.305882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.