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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
551d7656dfcd2d9ac6106ecaf6448701f59205fd | 393 | py | Python | closest_numbers.py | odellus/year_of_code | bfa2b30893bcc12f46e73ac34c63b5b05b27af5f | [
"MIT"
] | 1 | 2017-01-03T02:24:34.000Z | 2017-01-03T02:24:34.000Z | closest_numbers.py | odellus/year_of_code | bfa2b30893bcc12f46e73ac34c63b5b05b27af5f | [
"MIT"
] | null | null | null | closest_numbers.py | odellus/year_of_code | bfa2b30893bcc12f46e73ac34c63b5b05b27af5f | [
"MIT"
] | null | null | null | def closestNumbers(numbers):
numbers.sort()
mindiff = sys.maxint
n = len(numbers)
for k in range(n-1):
absdiff = abs(numbers[k] - numbers[k+1])
if absdiff < mindiff:
mindiff = absdiff
for k in range(n-1):
absdiff = abs(numbers[k] - numbers[k+1])
if absdiff... | 30.230769 | 59 | 0.554707 | 54 | 393 | 4.037037 | 0.37037 | 0.220183 | 0.206422 | 0.220183 | 0.591743 | 0.513761 | 0.513761 | 0.513761 | 0.513761 | 0.513761 | 0 | 0.025362 | 0.29771 | 393 | 12 | 60 | 32.75 | 0.764493 | 0 | 0 | 0.333333 | 0 | 0 | 0.017812 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.083333 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9b2b7e3184a648dffa11f8e71194a20d3c591394 | 13,484 | py | Python | denverapi/bdtp.py | xcodz-dot/denver | 4142594756ceb7edb23d77cf7549f8d770185def | [
"MIT"
] | 4 | 2020-09-26T08:48:53.000Z | 2020-12-02T21:50:28.000Z | denverapi/bdtp.py | xcodz-dot/denver | 4142594756ceb7edb23d77cf7549f8d770185def | [
"MIT"
] | 22 | 2020-09-26T08:12:13.000Z | 2020-12-03T04:01:13.000Z | denverapi/bdtp.py | xcodz-dot/denver-api | 4142594756ceb7edb23d77cf7549f8d770185def | [
"MIT"
] | 3 | 2020-09-26T17:25:14.000Z | 2020-12-02T21:47:18.000Z | """
##Big Data Transfer Protocol
###What does it do
This protocol sends big data on a address (IPv4,port)
without worrying about pipe errors.
"""
__author__ = "Xcodz"
__version__ = "2021.2.24"
import abc
import socket
import time
import typing
from . import thread_control
default_buffer_size = 100000
class _Base... | 30.575964 | 117 | 0.637867 | 1,837 | 13,484 | 4.525313 | 0.135547 | 0.058944 | 0.030314 | 0.010105 | 0.760135 | 0.742812 | 0.729219 | 0.724287 | 0.699627 | 0.68026 | 0 | 0.02084 | 0.270469 | 13,484 | 440 | 118 | 30.645455 | 0.824235 | 0.411228 | 0 | 0.638614 | 0 | 0.004951 | 0.034597 | 0.00703 | 0 | 0 | 0 | 0 | 0 | 1 | 0.09901 | false | 0.009901 | 0.029703 | 0 | 0.188119 | 0.029703 | 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 |
9b8fd2bf80fa07a3bd7f3ddd5254592ae0988fc9 | 190 | py | Python | pics/admin.py | Joseph-Odhiambo/Gallary | f8dfab1149f11de94519afe597fe87f4ed28b9a5 | [
"MIT"
] | 1 | 2021-05-19T12:58:15.000Z | 2021-05-19T12:58:15.000Z | pics/admin.py | HASSAN1A/Gallery | a73bd93bcecbb830b4d676c9e9dd306880cac6f2 | [
"MIT"
] | null | null | null | pics/admin.py | HASSAN1A/Gallery | a73bd93bcecbb830b4d676c9e9dd306880cac6f2 | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Image,Areas,Category
# Register your models here.
admin.site.register(Image)
admin.site.register(Areas)
admin.site.register(Category) | 19 | 40 | 0.805263 | 27 | 190 | 5.666667 | 0.481481 | 0.176471 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 190 | 10 | 41 | 19 | 0.894737 | 0.136842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 |
32da7030ea8ed7c10970c252248ba50cc03bff1f | 152 | py | Python | kfdda/models/__init__.py | ll1l11/pymysql-test | de5747366bbf23ecb0b1f01059b3a69c8ac4936d | [
"MIT"
] | null | null | null | kfdda/models/__init__.py | ll1l11/pymysql-test | de5747366bbf23ecb0b1f01059b3a69c8ac4936d | [
"MIT"
] | null | null | null | kfdda/models/__init__.py | ll1l11/pymysql-test | de5747366bbf23ecb0b1f01059b3a69c8ac4936d | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from ..core import db
from ..helpers import JSONSerializer
class BaseModel(db.Model, JSONSerializer):
__abstract__ = True
| 19 | 42 | 0.710526 | 18 | 152 | 5.777778 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.007874 | 0.164474 | 152 | 7 | 43 | 21.714286 | 0.811024 | 0.138158 | 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 |
32e4f05624819cc83857abc3b6af4086f2c2a88e | 167 | py | Python | setup.py | kimballa/arduino-dbg | 639d73b6d96996218cf9aafde52f3683c9d93775 | [
"BSD-3-Clause"
] | null | null | null | setup.py | kimballa/arduino-dbg | 639d73b6d96996218cf9aafde52f3683c9d93775 | [
"BSD-3-Clause"
] | null | null | null | setup.py | kimballa/arduino-dbg | 639d73b6d96996218cf9aafde52f3683c9d93775 | [
"BSD-3-Clause"
] | null | null | null | # Minimal setup.py
#
# Enables installing requirements as declared in setup.cfg.
# From this directory, run:
# pip install .
from setuptools import setup
setup()
| 18.555556 | 59 | 0.736527 | 22 | 167 | 5.590909 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185629 | 167 | 8 | 60 | 20.875 | 0.904412 | 0.706587 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
32ff2b91e7cdacd12f1c52a76ec14a6214fafa45 | 452 | py | Python | main.py | rishi-chauhan/sudoku | 2b07954b2f3ab5146ab0f96eb4d0509a3ea45eb2 | [
"MIT"
] | null | null | null | main.py | rishi-chauhan/sudoku | 2b07954b2f3ab5146ab0f96eb4d0509a3ea45eb2 | [
"MIT"
] | null | null | null | main.py | rishi-chauhan/sudoku | 2b07954b2f3ab5146ab0f96eb4d0509a3ea45eb2 | [
"MIT"
] | null | null | null | """Main class for sudoku game. Run this to solve the game."""
from board import Board
# ENTRIES contains the values of each cell
ENTRIES = [0, 0, 0, 2, 6, 0, 7, 0, 1, 6, 8, 0, 0, 7, 0, 0, 9, 0, 1,
9, 0, 0, 0, 4, 5, 0, 0, 8, 2, 0, 1, 0, 0, 0, 4, 0, 0,
0, 4, 6, 0, 2, 9, 0, 0, 0, 5, 0, 0, 0, 3, 0, 2... | 37.666667 | 67 | 0.446903 | 107 | 452 | 1.88785 | 0.271028 | 0.217822 | 0.118812 | 0.059406 | 0.049505 | 0 | 0 | 0 | 0 | 0 | 0 | 0.272727 | 0.34292 | 452 | 11 | 68 | 41.090909 | 0.407407 | 0.214602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0 | 0 | 0 | 1 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fd51dbb2cb05ef487bcf83c509336b681bc19872 | 769 | py | Python | regcore/tests/layer_tests.py | navigo/regulations-core | 0b2a2034baacfa1cc5ff87f14db7d1aaa8d260c3 | [
"CC0-1.0"
] | 17 | 2016-06-14T19:06:02.000Z | 2021-10-03T23:46:00.000Z | regcore/tests/layer_tests.py | navigo/regulations-core | 0b2a2034baacfa1cc5ff87f14db7d1aaa8d260c3 | [
"CC0-1.0"
] | 42 | 2016-04-06T22:34:26.000Z | 2020-04-14T22:00:24.000Z | regcore/tests/layer_tests.py | navigo/regulations-core | 0b2a2034baacfa1cc5ff87f14db7d1aaa8d260c3 | [
"CC0-1.0"
] | 20 | 2016-05-04T06:04:34.000Z | 2020-10-07T16:16:03.000Z | from django.test import TestCase
from regcore.layer import standardize_params
class LayerParamsTests(TestCase):
def test_old_format(self):
lp = standardize_params('label', 'version')
self.assertEqual(lp.doc_type, 'cfr')
self.assertEqual(lp.doc_id, 'version/label')
self.assertEqual... | 33.434783 | 55 | 0.669701 | 96 | 769 | 5.1875 | 0.28125 | 0.271084 | 0.307229 | 0.240964 | 0.636546 | 0.35743 | 0.35743 | 0.35743 | 0.35743 | 0.35743 | 0 | 0 | 0.19896 | 769 | 22 | 56 | 34.954545 | 0.808442 | 0 | 0 | 0.352941 | 0 | 0 | 0.131339 | 0 | 0 | 0 | 0 | 0 | 0.529412 | 1 | 0.117647 | false | 0 | 0.117647 | 0 | 0.294118 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b5bf895845b26e76fb4d05e08f9ee6d0b182cce7 | 37 | py | Python | reto_numeros_nones.py | Naxred/PensamientoComputacionalPython | a19fe394fd8b6265d486d432bbc5774d0cf35368 | [
"Unlicense"
] | null | null | null | reto_numeros_nones.py | Naxred/PensamientoComputacionalPython | a19fe394fd8b6265d486d432bbc5774d0cf35368 | [
"Unlicense"
] | null | null | null | reto_numeros_nones.py | Naxred/PensamientoComputacionalPython | a19fe394fd8b6265d486d432bbc5774d0cf35368 | [
"Unlicense"
] | null | null | null | for x in range(1,100,2):
print(x) | 18.5 | 24 | 0.594595 | 9 | 37 | 2.444444 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.172414 | 0.216216 | 37 | 2 | 25 | 18.5 | 0.586207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
b5da3aa622fc6ae31ee50b900da3081886393cc7 | 215 | py | Python | category_tree/helper.py | bharathramh92/shop | 0c5800b2d36fbe1bfffaf555c3dc741d020aa5d7 | [
"MIT"
] | 1 | 2016-05-27T22:13:37.000Z | 2016-05-27T22:13:37.000Z | category_tree/helper.py | bharathramh92/shop | 0c5800b2d36fbe1bfffaf555c3dc741d020aa5d7 | [
"MIT"
] | null | null | null | category_tree/helper.py | bharathramh92/shop | 0c5800b2d36fbe1bfffaf555c3dc741d020aa5d7 | [
"MIT"
] | null | null | null | from category_tree.categories import data
def get_store_name_from_child(store_id):
while data[store_id]['parent_category'] is not None:
store_id = data[store_id]['parent_category']
return store_id
| 26.875 | 56 | 0.75814 | 33 | 215 | 4.575758 | 0.545455 | 0.231788 | 0.145695 | 0.225166 | 0.331126 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15814 | 215 | 7 | 57 | 30.714286 | 0.834254 | 0 | 0 | 0 | 0 | 0 | 0.139535 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b5f35bed476c5278cc37b5eb93da2b3545e9bfe8 | 957 | py | Python | magmango/tests/test_potcar.py | nimalec/Magno | 016bed1c2fb8275ac76ece3d0b7f39c4ebc45551 | [
"MIT"
] | 1 | 2021-01-08T18:22:13.000Z | 2021-01-08T18:22:13.000Z | magmango/tests/test_potcar.py | nimalec/Magno | 016bed1c2fb8275ac76ece3d0b7f39c4ebc45551 | [
"MIT"
] | null | null | null | magmango/tests/test_potcar.py | nimalec/Magno | 016bed1c2fb8275ac76ece3d0b7f39c4ebc45551 | [
"MIT"
] | null | null | null | import unittest
import os
import numpy as np
from pymatgen import Structure
from magmango.calculation.potcar import PotcarSettings
#
# class PotcarSettingsTest(unittest.TestCase):
# def setUp(self):
# self.potcar_file_path = "data/potcar_pto"
# #self.structure = Structure.from_file(self.poscar_file_pa... | 35.444444 | 76 | 0.736677 | 116 | 957 | 5.732759 | 0.284483 | 0.105263 | 0.144361 | 0.108271 | 0.285714 | 0.285714 | 0.246617 | 0.246617 | 0.246617 | 0.246617 | 0 | 0 | 0.167189 | 957 | 26 | 77 | 36.807692 | 0.834379 | 0.810867 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bd167da504ac1a51b81416178b209b951582f2de | 583 | py | Python | cpc/type/__init__.py | U-Ar/Cpresto | f723458fb237c9e3e8bc8a6afdf7c81858a65363 | [
"BSD-3-Clause"
] | 1 | 2021-05-09T07:10:19.000Z | 2021-05-09T07:10:19.000Z | cpc/type/__init__.py | U-Ar/Cpresto | f723458fb237c9e3e8bc8a6afdf7c81858a65363 | [
"BSD-3-Clause"
] | null | null | null | cpc/type/__init__.py | U-Ar/Cpresto | f723458fb237c9e3e8bc8a6afdf7c81858a65363 | [
"BSD-3-Clause"
] | null | null | null | from .ArrayType import *
from .ArrayTypeRef import *
from .CompositeType import *
from .FunctionType import *
from .FunctionTypeRef import *
from .IntegerType import *
from .IntegerTypeRef import *
from .NamedType import *
from .ParamTypes import *
from .PointerType import *
from .PointerTypeRef import *
from .StructTy... | 26.5 | 30 | 0.7753 | 66 | 583 | 6.848485 | 0.363636 | 0.464602 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149228 | 583 | 22 | 31 | 26.5 | 0.91129 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
bd16c8b39601a36ca38158d3199f58ce464da6a0 | 41 | py | Python | packages/speex.py | mhutch/bockbuild | 0d989e2d0259d17d41a195f8d28b3844a4652e7b | [
"MIT"
] | null | null | null | packages/speex.py | mhutch/bockbuild | 0d989e2d0259d17d41a195f8d28b3844a4652e7b | [
"MIT"
] | null | null | null | packages/speex.py | mhutch/bockbuild | 0d989e2d0259d17d41a195f8d28b3844a4652e7b | [
"MIT"
] | null | null | null | XiphPackage ('speex', 'speex', '1.2rc1')
| 20.5 | 40 | 0.634146 | 5 | 41 | 5.2 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081081 | 0.097561 | 41 | 1 | 41 | 41 | 0.621622 | 0 | 0 | 0 | 0 | 0 | 0.390244 | 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 |
bd2f0d561dd6a11311d27d509b7dfde5f4ee84a5 | 114 | py | Python | portabletext_html/__init__.py | otovo/python-sanity-html | e445dd9d0f05f8cfe424112e568f37c36e663096 | [
"Apache-2.0"
] | 13 | 2021-04-14T11:19:20.000Z | 2021-11-26T11:56:39.000Z | portabletext_html/__init__.py | otovo/python-sanity-html | e445dd9d0f05f8cfe424112e568f37c36e663096 | [
"Apache-2.0"
] | 25 | 2021-04-14T12:48:50.000Z | 2021-11-29T08:11:14.000Z | portabletext_html/__init__.py | otovo/python-portabletext-html | 31718a70db58afd143976bf0edfb42239f1800dc | [
"Apache-2.0"
] | null | null | null | from portabletext_html.renderer import PortableTextRenderer, render
__all__ = ['PortableTextRenderer', 'render']
| 28.5 | 67 | 0.824561 | 10 | 114 | 8.9 | 0.8 | 0.58427 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.087719 | 114 | 3 | 68 | 38 | 0.855769 | 0 | 0 | 0 | 0 | 0 | 0.22807 | 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 |
1fa2167771953e0aff81f31c29233d456380649d | 67 | py | Python | latex/slides/resources/01_getting_started/present_main.py | AntonObersteiner/python-lessons | 1d5536f0777853fba437566672cfb1d613984945 | [
"CC-BY-4.0"
] | null | null | null | latex/slides/resources/01_getting_started/present_main.py | AntonObersteiner/python-lessons | 1d5536f0777853fba437566672cfb1d613984945 | [
"CC-BY-4.0"
] | null | null | null | latex/slides/resources/01_getting_started/present_main.py | AntonObersteiner/python-lessons | 1d5536f0777853fba437566672cfb1d613984945 | [
"CC-BY-4.0"
] | null | null | null | print(present("Py-Kurs", "am Di in der 5.", "dem FSR-Kurssystem"))
| 33.5 | 66 | 0.656716 | 12 | 67 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016949 | 0.119403 | 67 | 1 | 67 | 67 | 0.728814 | 0 | 0 | 0 | 0 | 0 | 0.597015 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
1ffbe3042328109603927698807569c875283801 | 180 | py | Python | atividades/ex31.py | Fleen66/Python_exercises | fd05fdf1181da833a1a1bc9f4a476afc8f467977 | [
"MIT"
] | null | null | null | atividades/ex31.py | Fleen66/Python_exercises | fd05fdf1181da833a1a1bc9f4a476afc8f467977 | [
"MIT"
] | null | null | null | atividades/ex31.py | Fleen66/Python_exercises | fd05fdf1181da833a1a1bc9f4a476afc8f467977 | [
"MIT"
] | null | null | null | distancia = int(input('Digite a distancia de sua viagem: '))
if distancia <= 200:
preco = distancia * 0.50
print(preco)
else:
preco = distancia * 0.40
print(preco)
| 22.5 | 60 | 0.644444 | 25 | 180 | 4.64 | 0.64 | 0.241379 | 0.258621 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.065217 | 0.233333 | 180 | 7 | 61 | 25.714286 | 0.775362 | 0 | 0 | 0.285714 | 0 | 0 | 0.188889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.285714 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
950b9bd680855e1bc01f2dffb96d063d03df4633 | 137 | py | Python | plasmapy/utils/pytest_helpers/__init__.py | seanjunheng2/PlasmaPy | 7b4e4aaf8b03d88b654456bca881329ade09e377 | [
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-1-Clause",
"BSD-3-Clause"
] | 429 | 2016-10-31T19:40:32.000Z | 2022-03-25T12:27:11.000Z | plasmapy/utils/pytest_helpers/__init__.py | RAJAGOPALAN-GANGADHARAN/PlasmaPy | 6df9583cc47375687a07300c0aa11ba31634d770 | [
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-1-Clause",
"BSD-3-Clause"
] | 1,400 | 2015-11-24T23:00:44.000Z | 2022-03-30T21:03:25.000Z | plasmapy/utils/pytest_helpers/__init__.py | RAJAGOPALAN-GANGADHARAN/PlasmaPy | 6df9583cc47375687a07300c0aa11ba31634d770 | [
"BSD-2-Clause",
"MIT",
"BSD-2-Clause-Patent",
"BSD-1-Clause",
"BSD-3-Clause"
] | 289 | 2015-11-24T18:54:57.000Z | 2022-03-18T17:26:59.000Z | from plasmapy.utils.pytest_helpers.pytest_helpers import (
assert_can_handle_nparray,
run_test,
run_test_equivalent_calls,
)
| 22.833333 | 58 | 0.79562 | 18 | 137 | 5.555556 | 0.777778 | 0.26 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145985 | 137 | 5 | 59 | 27.4 | 0.854701 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0 | true | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9512a6419412924d68f8311278ec236177bb738a | 138 | py | Python | api/models/province.py | krosben/api-ctan | 01d5e29694e6f4e35fbe6797c319b109e5bc1c3f | [
"MIT"
] | null | null | null | api/models/province.py | krosben/api-ctan | 01d5e29694e6f4e35fbe6797c319b109e5bc1c3f | [
"MIT"
] | 6 | 2020-06-05T23:40:32.000Z | 2021-06-10T19:03:25.000Z | api/models/province.py | krosben/api-ctan | 01d5e29694e6f4e35fbe6797c319b109e5bc1c3f | [
"MIT"
] | null | null | null | from django.db import models
class Province(models.Model):
name = models.CharField(max_length=50, help_text="Name of the province")
| 23 | 76 | 0.76087 | 21 | 138 | 4.904762 | 0.809524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016807 | 0.137681 | 138 | 5 | 77 | 27.6 | 0.84874 | 0 | 0 | 0 | 0 | 0 | 0.144928 | 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 |
1f17a8045e62dbb0dc195713bf778e0658496213 | 131 | py | Python | src/pricehist/beanprice/alphavantage.py | chrisberkhout/pricehist | a54da85a6fae15e2f771e8612aed089407ec5c22 | [
"MIT"
] | 4 | 2021-09-15T03:23:10.000Z | 2022-02-08T23:31:10.000Z | src/pricehist/beanprice/alphavantage.py | chrisberkhout/pricehist | a54da85a6fae15e2f771e8612aed089407ec5c22 | [
"MIT"
] | null | null | null | src/pricehist/beanprice/alphavantage.py | chrisberkhout/pricehist | a54da85a6fae15e2f771e8612aed089407ec5c22 | [
"MIT"
] | null | null | null | from pricehist import beanprice
from pricehist.sources.alphavantage import AlphaVantage
Source = beanprice.source(AlphaVantage())
| 26.2 | 55 | 0.847328 | 14 | 131 | 7.928571 | 0.5 | 0.234234 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091603 | 131 | 4 | 56 | 32.75 | 0.932773 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
1f41eb6162eb883a714a301cdb2d992b3f4f957d | 119 | py | Python | examples/__init__.py | DiMoser/PyPinT | 3cba394d0fd87055ab412d35fe6dbf4a3b0dbe73 | [
"MIT"
] | null | null | null | examples/__init__.py | DiMoser/PyPinT | 3cba394d0fd87055ab412d35fe6dbf4a3b0dbe73 | [
"MIT"
] | null | null | null | examples/__init__.py | DiMoser/PyPinT | 3cba394d0fd87055ab412d35fe6dbf4a3b0dbe73 | [
"MIT"
] | null | null | null | # coding=utf-8
"""Examples demonstrating usage of PyPinT
.. moduleauthor:: Torbjörn Klatt <t.klatt@fz-juelich.de>
"""
| 19.833333 | 56 | 0.722689 | 16 | 119 | 5.375 | 0.9375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.117647 | 119 | 5 | 57 | 23.8 | 0.809524 | 0.92437 | 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 |
1f6aef11602a1e5873d6782928e3986a359ca69a | 123 | py | Python | carin/help.py | fiskurgit/Carin | 41f5e8003d169f1f0454e7b674daf341d238f061 | [
"Unlicense"
] | null | null | null | carin/help.py | fiskurgit/Carin | 41f5e8003d169f1f0454e7b674daf341d238f061 | [
"Unlicense"
] | null | null | null | carin/help.py | fiskurgit/Carin | 41f5e8003d169f1f0454e7b674daf341d238f061 | [
"Unlicense"
] | null | null | null | def show_help():
print("Carbon Intensity API Help")
def show_bad_argument_help():
print("app -e generation")
| 11.181818 | 38 | 0.674797 | 17 | 123 | 4.647059 | 0.705882 | 0.177215 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.203252 | 123 | 10 | 39 | 12.3 | 0.806122 | 0 | 0 | 0 | 0 | 0 | 0.352941 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
1f7102de5fec932b92f1cdaf56485f914e53929e | 79 | py | Python | pyup/settings.py | Callek/pyup | e29014320accdca2947b9e18c215d2144752081a | [
"MIT"
] | 445 | 2016-01-14T09:19:26.000Z | 2022-03-16T13:19:33.000Z | pyup/settings.py | Callek/pyup | e29014320accdca2947b9e18c215d2144752081a | [
"MIT"
] | 387 | 2015-12-28T09:54:32.000Z | 2022-01-04T00:45:00.000Z | pyup/settings.py | Callek/pyup | e29014320accdca2947b9e18c215d2144752081a | [
"MIT"
] | 96 | 2016-01-19T19:25:00.000Z | 2021-09-30T18:22:02.000Z | api_key = None
def configure(key=None):
global api_key
api_key = key
| 11.285714 | 24 | 0.670886 | 13 | 79 | 3.846154 | 0.461538 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.253165 | 79 | 6 | 25 | 13.166667 | 0.847458 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 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 |
1f907167fd216693dde972de5a46db5460599384 | 183 | py | Python | src/emuvim/api/util/process_utils.py | RafaelSche/vim-emu | 6503ba9fcbe13ca73c94d318157a1ba78ef26b5b | [
"Apache-2.0"
] | 34 | 2016-09-05T06:11:12.000Z | 2021-12-24T08:45:24.000Z | src/emuvim/api/util/process_utils.py | RafaelSche/vim-emu | 6503ba9fcbe13ca73c94d318157a1ba78ef26b5b | [
"Apache-2.0"
] | 89 | 2016-07-19T14:14:27.000Z | 2020-01-09T07:19:45.000Z | src/emuvim/api/util/process_utils.py | RafaelSche/vim-emu | 6503ba9fcbe13ca73c94d318157a1ba78ef26b5b | [
"Apache-2.0"
] | 32 | 2016-07-19T14:58:06.000Z | 2020-05-05T13:30:01.000Z | import logging
import subprocess
import time
def wait_until(cmd):
logging.debug('waiting for %s\n' % cmd)
while subprocess.call(cmd, shell=True) != 0:
time.sleep(1)
| 18.3 | 48 | 0.677596 | 27 | 183 | 4.555556 | 0.740741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013699 | 0.202186 | 183 | 9 | 49 | 20.333333 | 0.828767 | 0 | 0 | 0 | 0 | 0 | 0.087432 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.428571 | 0 | 0.571429 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
2f194f4c6d0e43f1d9af761e30aabf62de1d5d85 | 393 | py | Python | tests/analysis/test_general.py | trumanw/ScaffoldGraph | a594e5c5effe6c5e45c0061a235ccbeb64e416f9 | [
"MIT"
] | 121 | 2019-12-12T15:30:16.000Z | 2022-02-28T02:00:54.000Z | tests/analysis/test_general.py | trumanw/ScaffoldGraph | a594e5c5effe6c5e45c0061a235ccbeb64e416f9 | [
"MIT"
] | 8 | 2020-04-04T15:37:26.000Z | 2021-11-17T07:30:31.000Z | tests/analysis/test_general.py | trumanw/ScaffoldGraph | a594e5c5effe6c5e45c0061a235ccbeb64e416f9 | [
"MIT"
] | 28 | 2019-12-16T11:58:53.000Z | 2021-11-19T09:57:46.000Z | """
scaffoldgraph tests.analysis.test_general
"""
from scaffoldgraph.analysis import get_singleton_scaffolds, get_virtual_scaffolds
from ..test_network import long_test_network
def test_get_virtual_scaffolds(network):
v = get_virtual_scaffolds(network)
assert len(v) == 19
def test_get_singleton_scaffolds(n... | 23.117647 | 81 | 0.78626 | 52 | 393 | 5.596154 | 0.384615 | 0.219931 | 0.216495 | 0.178694 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008798 | 0.132316 | 393 | 16 | 82 | 24.5625 | 0.844575 | 0.104326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
2f19e1c9987607e703c57f23deb45035eb248b71 | 87 | py | Python | izone/apps/secret/apps.py | shenjl/vmatrix | 8f510d04005aa707cb6b296825f459f852cb59f6 | [
"MIT"
] | null | null | null | izone/apps/secret/apps.py | shenjl/vmatrix | 8f510d04005aa707cb6b296825f459f852cb59f6 | [
"MIT"
] | 2 | 2020-02-11T23:34:28.000Z | 2020-06-05T17:33:09.000Z | izone/apps/secret/apps.py | selonsy/vmatrix | 8f510d04005aa707cb6b296825f459f852cb59f6 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class SecretConfig(AppConfig):
name = 'secret'
| 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 |
2f79b110e6695d3ccede296e521acb7c60c79294 | 889 | py | Python | src/backend/common/models/notifications/tests/verification_test.py | bovlb/the-blue-alliance | 29389649d96fe060688f218d463e642dcebfd6cc | [
"MIT"
] | null | null | null | src/backend/common/models/notifications/tests/verification_test.py | bovlb/the-blue-alliance | 29389649d96fe060688f218d463e642dcebfd6cc | [
"MIT"
] | null | null | null | src/backend/common/models/notifications/tests/verification_test.py | bovlb/the-blue-alliance | 29389649d96fe060688f218d463e642dcebfd6cc | [
"MIT"
] | null | null | null | from backend.common.consts.notification_type import NotificationType
from backend.common.models.notifications.verification import (
VerificationNotification,
)
def test_str():
notification = VerificationNotification("https://thebluealliance.com/", "password")
assert "{'verification_key': " in str(notifica... | 34.192308 | 87 | 0.786277 | 90 | 889 | 7.566667 | 0.333333 | 0.041116 | 0.180617 | 0.246696 | 0.356828 | 0.356828 | 0.356828 | 0.249633 | 0 | 0 | 0 | 0 | 0.11811 | 889 | 25 | 88 | 35.56 | 0.868622 | 0 | 0 | 0.176471 | 0 | 0 | 0.163105 | 0 | 0 | 0 | 0 | 0 | 0.294118 | 1 | 0.235294 | false | 0.176471 | 0.117647 | 0 | 0.352941 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
85d564c27e33a35fe1a491c27c616e6e1a78f815 | 2,604 | py | Python | DailyProgrammer/DP20160818B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | 2 | 2020-12-23T18:59:22.000Z | 2021-04-14T13:16:09.000Z | DailyProgrammer/DP20160818B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | DailyProgrammer/DP20160818B.py | DayGitH/Python-Challenges | bc32f1332a92fcc2dfa6f5ea4d95f8a8d64c3edf | [
"MIT"
] | null | null | null | """
[2016-08-18] Challenge #279 [Intermediate] Text Reflow
https://www.reddit.com/r/dailyprogrammer/comments/4ybbcz/20160818_challenge_279_intermediate_text_reflow/
#Description:
Text reflow means to break up lines of text so that they fit within a certain width. It is useful in e.g. mobile
browsers. When you zoom in... | 40.061538 | 119 | 0.720814 | 431 | 2,604 | 4.322506 | 0.313225 | 0.032206 | 0.05314 | 0.027375 | 0.630703 | 0.594203 | 0.594203 | 0.565217 | 0.565217 | 0.565217 | 0 | 0.013487 | 0.231183 | 2,604 | 64 | 120 | 40.6875 | 0.917083 | 0.97235 | 0 | 0 | 0 | 0 | 0.125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.25 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
c8063918c58e85541c9a3697d5b6790d29d944d4 | 103 | py | Python | chapter2/chapter2_type_hints_01.py | GoodMonsters/Building-Data-Science-Applications-with-FastAPI | d2218d225c5b93723ecf46c19619ed5d3f2473e6 | [
"MIT"
] | 107 | 2021-03-26T20:18:51.000Z | 2022-03-26T03:38:08.000Z | chapter2/chapter2_type_hints_01.py | GoodMonsters/Building-Data-Science-Applications-with-FastAPI | d2218d225c5b93723ecf46c19619ed5d3f2473e6 | [
"MIT"
] | 4 | 2021-06-09T08:48:21.000Z | 2021-12-27T09:04:43.000Z | chapter2/chapter2_type_hints_01.py | GoodMonsters/Building-Data-Science-Applications-with-FastAPI | d2218d225c5b93723ecf46c19619ed5d3f2473e6 | [
"MIT"
] | 58 | 2021-03-12T20:51:19.000Z | 2022-03-27T15:49:49.000Z | def greeting(name: str) -> str:
return f"Hello, {name}"
print(greeting("John")) # "Hello, John"
| 17.166667 | 40 | 0.61165 | 14 | 103 | 4.5 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.184466 | 103 | 5 | 41 | 20.6 | 0.75 | 0.126214 | 0 | 0 | 0 | 0 | 0.193182 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 0.666667 | 0.333333 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
c81398777499e20a3165a99b2f64b68aeafcfd64 | 54 | py | Python | emma.py | patrickdijusto/python.hub | 776a6a843dbd8895c414dcb8e7730c8cb2f3894d | [
"MIT"
] | null | null | null | emma.py | patrickdijusto/python.hub | 776a6a843dbd8895c414dcb8e7730c8cb2f3894d | [
"MIT"
] | null | null | null | emma.py | patrickdijusto/python.hub | 776a6a843dbd8895c414dcb8e7730c8cb2f3894d | [
"MIT"
] | null | null | null | def fun(name, age=20):
print(name, age)
fun('Emma')
| 10.8 | 22 | 0.62963 | 10 | 54 | 3.4 | 0.7 | 0.411765 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0.148148 | 54 | 4 | 23 | 13.5 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0.074074 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c84446517bb1f74fa114d36c91ba50e5edd245d3 | 125,439 | py | Python | scripts/ui/images_rc.py | ROOSTER-fleet-management/multi_robot_sim | c5f50b271e7c21d95a843ede1d9227720974764a | [
"Apache-2.0"
] | 1 | 2021-02-25T19:11:03.000Z | 2021-02-25T19:11:03.000Z | scripts/ui/images_rc.py | ROOSTER-fleet-management/multi_robot_sim | c5f50b271e7c21d95a843ede1d9227720974764a | [
"Apache-2.0"
] | null | null | null | scripts/ui/images_rc.py | ROOSTER-fleet-management/multi_robot_sim | c5f50b271e7c21d95a843ede1d9227720974764a | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt4 (Qt v4.8.7)
#
# WARNING! All changes made in this file will be lost!
from PyQt4 import QtCore
qt_resource_data = "\
\x00\x00\x05\x96\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x00\x18\x00... | 62.939789 | 129 | 0.726505 | 30,314 | 125,439 | 3.005674 | 0.009666 | 0.021073 | 0.015804 | 0.00698 | 0.044022 | 0.040301 | 0.039643 | 0.036416 | 0.032432 | 0.030226 | 0 | 0.320359 | 0.016287 | 125,439 | 1,992 | 130 | 62.971386 | 0.418028 | 0.001204 | 0 | 0.033367 | 0 | 0.949444 | 0 | 0 | 0 | 1 | 0.000064 | 0 | 0 | 1 | 0.001011 | false | 0 | 0.000506 | 0 | 0.001517 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c856f5773044e5156600553546b88ed62d7ca1dd | 235 | py | Python | trip_distributer/admin.py | princegoyani/TRIP-DISTRIBUTER | 22793ae603508c9388d03f044759dc925462595a | [
"BSD-3-Clause"
] | null | null | null | trip_distributer/admin.py | princegoyani/TRIP-DISTRIBUTER | 22793ae603508c9388d03f044759dc925462595a | [
"BSD-3-Clause"
] | null | null | null | trip_distributer/admin.py | princegoyani/TRIP-DISTRIBUTER | 22793ae603508c9388d03f044759dc925462595a | [
"BSD-3-Clause"
] | null | null | null | from django.contrib import admin
from .models import User , Trip, Notification , Spending
# Register your models here.
admin.site.register(User)
admin.site.register(Trip)
admin.site.register(Notification)
admin.site.register(Spending) | 29.375 | 56 | 0.808511 | 32 | 235 | 5.9375 | 0.4375 | 0.189474 | 0.357895 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093617 | 235 | 8 | 57 | 29.375 | 0.892019 | 0.110638 | 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 |
c867e56be1f71eb568a6e918ed29a6d7c65c450d | 58 | py | Python | mean-var-std/main.py | PedroEduardoSS/Data-Analisys-projects | f06c2d7091a9a61509525019f2f0375e21698f6a | [
"MIT"
] | null | null | null | mean-var-std/main.py | PedroEduardoSS/Data-Analisys-projects | f06c2d7091a9a61509525019f2f0375e21698f6a | [
"MIT"
] | null | null | null | mean-var-std/main.py | PedroEduardoSS/Data-Analisys-projects | f06c2d7091a9a61509525019f2f0375e21698f6a | [
"MIT"
] | null | null | null | from mean_var_std import *
calculate([0,1,2,3,4,5,6,7,8]) | 19.333333 | 30 | 0.689655 | 15 | 58 | 2.533333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.169811 | 0.086207 | 58 | 3 | 30 | 19.333333 | 0.54717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c0712de2126b7958548be086996c8304d5bf2f45 | 89 | py | Python | Project/Connect/apps.py | AashishKhanal69/PeakyBlinders_ADC7_PartII | a4474c02be4ee8f8405b51df2f1d215e56ac192d | [
"bzip2-1.0.6"
] | null | null | null | Project/Connect/apps.py | AashishKhanal69/PeakyBlinders_ADC7_PartII | a4474c02be4ee8f8405b51df2f1d215e56ac192d | [
"bzip2-1.0.6"
] | null | null | null | Project/Connect/apps.py | AashishKhanal69/PeakyBlinders_ADC7_PartII | a4474c02be4ee8f8405b51df2f1d215e56ac192d | [
"bzip2-1.0.6"
] | null | null | null | from django.apps import AppConfig
class ConnectConfig(AppConfig):
name = 'Connect'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 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 |
c074c692de4483f97d3f233f58a66ad3a9239b2d | 1,337 | py | Python | src/scs_core/osio/data/message_body.py | seoss/scs_core | 0d4323c5697a39eb44a887f179ba5dca3716c1d2 | [
"MIT"
] | 3 | 2019-03-12T01:59:58.000Z | 2020-09-12T07:27:42.000Z | src/scs_core/osio/data/message_body.py | seoss/scs_core | 0d4323c5697a39eb44a887f179ba5dca3716c1d2 | [
"MIT"
] | 1 | 2018-04-20T07:58:38.000Z | 2021-03-27T08:52:45.000Z | src/scs_core/osio/data/message_body.py | seoss/scs_core | 0d4323c5697a39eb44a887f179ba5dca3716c1d2 | [
"MIT"
] | 4 | 2017-09-29T13:08:43.000Z | 2019-10-09T09:13:58.000Z | """
Created on 7 Nov 2016
@author: Bruno Beloff (bruno.beloff@southcoastscience.com)
example:
25 June 2016 17:44:28 BST: {"datum":{"conc":92,"dens":184},"measured-at":"2016-06-25T17:41:01+01:00"}
"""
from collections import OrderedDict
from scs_core.data.json import JSONable
# ------------------------------------... | 25.711538 | 118 | 0.324607 | 88 | 1,337 | 4.772727 | 0.613636 | 0.095238 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036199 | 0.173523 | 1,337 | 51 | 119 | 26.215686 | 0.343891 | 0.592371 | 0 | 0 | 0 | 0 | 0.050607 | 0.04251 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0.142857 | 0.714286 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
c07be394b73091661999efe65e37d5d6f073209b | 4,205 | py | Python | src/evaluation/regression.py | lyonva/Nue | 90680de00b0c76f6bfdbed71b785671e7c3a3f54 | [
"Apache-2.0"
] | null | null | null | src/evaluation/regression.py | lyonva/Nue | 90680de00b0c76f6bfdbed71b785671e7c3a3f54 | [
"Apache-2.0"
] | null | null | null | src/evaluation/regression.py | lyonva/Nue | 90680de00b0c76f6bfdbed71b785671e7c3a3f54 | [
"Apache-2.0"
] | null | null | null | from evaluation import MetricScorer
from .formulas import mar, sa, sd, sdar, effect_size, mmre, mdmre, pred25, pred40
from baseline import MARP0
class MAR(MetricScorer):
def setConstants(self):
self.name = "mar"
self.problem = "regression"
self.greater_is_better = False
self.lo... | 31.616541 | 81 | 0.617122 | 545 | 4,205 | 4.625688 | 0.095413 | 0.0357 | 0.06426 | 0.0714 | 0.90004 | 0.894486 | 0.694962 | 0.694962 | 0.694962 | 0.694962 | 0 | 0.020518 | 0.292985 | 4,205 | 133 | 82 | 31.616541 | 0.827447 | 0.085375 | 0 | 0.720721 | 0 | 0 | 0.034663 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.162162 | false | 0 | 0.027027 | 0.081081 | 0.351351 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
c0a387ecd74cdd18e1dae76a145f773dea75a7b7 | 262 | py | Python | src/syntax/statements/__init__.py | andaviaco/tronido | 08a1619a0e8c10f35ed6710eb6e1f72dc5b87421 | [
"MIT"
] | null | null | null | src/syntax/statements/__init__.py | andaviaco/tronido | 08a1619a0e8c10f35ed6710eb6e1f72dc5b87421 | [
"MIT"
] | null | null | null | src/syntax/statements/__init__.py | andaviaco/tronido | 08a1619a0e8c10f35ed6710eb6e1f72dc5b87421 | [
"MIT"
] | null | null | null | from .ifstat import IfStat
from .returnstat import ReturnStat
from .whilestat import WhileStat
from .breakstat import BreakStat
from .switchstat import SwitchStat
from .casestat import CaseStat
from .forstat import ForStat
from .continuestat import ContinueStat
| 29.111111 | 38 | 0.847328 | 32 | 262 | 6.9375 | 0.3125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122137 | 262 | 8 | 39 | 32.75 | 0.965217 | 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 |
c0a82c8edb06be2ad657e3733a1e2ee863cd955f | 32 | py | Python | resolwe/rest/__init__.py | plojyon/resolwe | 1bee6f0860fdd087534adf1680e9350d79ab97cf | [
"Apache-2.0"
] | 27 | 2015-12-07T18:29:12.000Z | 2022-03-16T08:01:47.000Z | resolwe/rest/__init__.py | plojyon/resolwe | 1bee6f0860fdd087534adf1680e9350d79ab97cf | [
"Apache-2.0"
] | 681 | 2015-12-01T11:52:24.000Z | 2022-03-21T07:43:37.000Z | resolwe/rest/__init__.py | plojyon/resolwe | 1bee6f0860fdd087534adf1680e9350d79ab97cf | [
"Apache-2.0"
] | 28 | 2015-12-01T08:32:57.000Z | 2021-12-14T00:04:16.000Z | """Resolwe REST API helpers."""
| 16 | 31 | 0.65625 | 4 | 32 | 5.25 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.75 | 0.78125 | 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 |
c0d6aa4598374762a450e52b8af29f49f301387d | 105 | py | Python | oyster/celeryconfig.py | jamesturk/oyster | c6e93fdd48ed1ead1ea5b163c6ba9cf227f831ae | [
"BSD-3-Clause"
] | 1 | 2020-09-03T08:10:43.000Z | 2020-09-03T08:10:43.000Z | oyster/celeryconfig.py | jamesturk/oyster | c6e93fdd48ed1ead1ea5b163c6ba9cf227f831ae | [
"BSD-3-Clause"
] | null | null | null | oyster/celeryconfig.py | jamesturk/oyster | c6e93fdd48ed1ead1ea5b163c6ba9cf227f831ae | [
"BSD-3-Clause"
] | null | null | null | from oyster.conf import settings
CELERY_IMPORTS = ['oyster.tasks'] + list(settings.CELERY_TASK_MODULES)
| 26.25 | 70 | 0.8 | 14 | 105 | 5.785714 | 0.785714 | 0.345679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 105 | 3 | 71 | 35 | 0.852632 | 0 | 0 | 0 | 0 | 0 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c0d85d28668ecd7ceba3957da1e2fcc7a48d395d | 83 | py | Python | kwueBackend/kwue/apps.py | bounswe/bounswe2016group4 | cbc8201aa86049b81f20ef44ee37eb065a469d46 | [
"Apache-2.0"
] | 6 | 2016-02-14T18:04:48.000Z | 2016-12-18T20:09:15.000Z | kwueBackend/kwue/apps.py | bounswe/bounswe2016group4 | cbc8201aa86049b81f20ef44ee37eb065a469d46 | [
"Apache-2.0"
] | 113 | 2016-02-14T18:06:57.000Z | 2021-06-10T17:57:12.000Z | kwueBackend/kwue/apps.py | bounswe/bounswe2016group4 | cbc8201aa86049b81f20ef44ee37eb065a469d46 | [
"Apache-2.0"
] | 1 | 2017-02-15T18:48:55.000Z | 2017-02-15T18:48:55.000Z | from django.apps import AppConfig
class KwueConfig(AppConfig):
name = 'kwue'
| 13.833333 | 33 | 0.73494 | 10 | 83 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180723 | 83 | 5 | 34 | 16.6 | 0.897059 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8d0629eab200e0d853386685fca3ce29b3fc85c5 | 295 | py | Python | models/account.py | Tingesplatform/tokenomics | b541a54b1709a1282c5133e731b26a6ca05ac901 | [
"MIT"
] | 2 | 2021-01-12T04:44:06.000Z | 2022-03-15T23:34:41.000Z | models/account.py | Tingesplatform/tokenomics | b541a54b1709a1282c5133e731b26a6ca05ac901 | [
"MIT"
] | 5 | 2019-01-14T07:17:34.000Z | 2021-06-01T23:38:58.000Z | models/account.py | Tingesplatform/tokenomics | b541a54b1709a1282c5133e731b26a6ca05ac901 | [
"MIT"
] | 2 | 2019-01-11T17:07:48.000Z | 2022-03-03T17:26:41.000Z | import os
class Account:
ACCOUNTS_STORAGE = {}
"""Ethereum account"""
def __init__(self):
self.address = "0x" + os.urandom(20).hex()
self.ACCOUNTS_STORAGE[self.address] = self
def __str__(self):
return f'Account {self.address}'
__repr__ = __str__
| 19.666667 | 50 | 0.616949 | 34 | 295 | 4.823529 | 0.558824 | 0.20122 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013636 | 0.254237 | 295 | 14 | 51 | 21.071429 | 0.731818 | 0 | 0 | 0 | 0 | 0 | 0.087912 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.111111 | 0.777778 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
23944dce2a5292a5f4dccddbeb6c459b0db88881 | 821 | py | Python | punk/aggregator/aggregateByDateTimeCategory.py | NewKnowledge/punk | 53007a38433023f9a9f5cf39786b1c5a28f1f996 | [
"MIT"
] | 2 | 2017-08-23T16:58:01.000Z | 2020-07-03T01:53:34.000Z | punk/aggregator/aggregateByDateTimeCategory.py | NewKnowledge/punk | 53007a38433023f9a9f5cf39786b1c5a28f1f996 | [
"MIT"
] | 11 | 2017-08-18T17:19:21.000Z | 2022-03-18T15:54:40.000Z | punk/aggregator/aggregateByDateTimeCategory.py | NewKnowledge/punk | 53007a38433023f9a9f5cf39786b1c5a28f1f996 | [
"MIT"
] | 2 | 2017-09-11T19:38:04.000Z | 2020-05-28T00:58:05.000Z | import pandas as pd
from typing import List, NamedTuple
from .timeseries import agg_by_category_by_date
from primitive_interfaces.base import PrimitiveBase
class AggregateByDateTimeCategory(PrimitiveBase[pd.DataFrame, List[str]]):
__author__ = 'distil'
def __init__(self):
pass
def get_params(sel... | 28.310345 | 94 | 0.65408 | 94 | 821 | 5.489362 | 0.468085 | 0.040698 | 0.050388 | 0.05814 | 0.073643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247259 | 821 | 28 | 95 | 29.321429 | 0.834951 | 0 | 0 | 0.2 | 0 | 0 | 0.007308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.1 | 0.2 | 0.15 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
23971993e9893cd5f385730b84276166fd285f88 | 184 | py | Python | printshops/apps.py | amid-africa/photoorder | 407cf58b3dbd3e2144a8533f489889295f946776 | [
"MIT"
] | null | null | null | printshops/apps.py | amid-africa/photoorder | 407cf58b3dbd3e2144a8533f489889295f946776 | [
"MIT"
] | null | null | null | printshops/apps.py | amid-africa/photoorder | 407cf58b3dbd3e2144a8533f489889295f946776 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class PrintshopsConfig(AppConfig):
name = 'printshops'
""" Register our signals """
def ready(self):
import printshops.signals
| 18.4 | 34 | 0.684783 | 19 | 184 | 6.631579 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.222826 | 184 | 9 | 35 | 20.444444 | 0.881119 | 0 | 0 | 0 | 0 | 0 | 0.064103 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 1 | 0.4 | 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 |
23a0582a156a5116f9a3e62beef47135533e30c9 | 203 | py | Python | tests/decisionreqdef/test_module.py | fasfoxcom/pycamunda | 6bbebe1db40ce9fb29a9d420366e6dca1892df7b | [
"MIT"
] | null | null | null | tests/decisionreqdef/test_module.py | fasfoxcom/pycamunda | 6bbebe1db40ce9fb29a9d420366e6dca1892df7b | [
"MIT"
] | null | null | null | tests/decisionreqdef/test_module.py | fasfoxcom/pycamunda | 6bbebe1db40ce9fb29a9d420366e6dca1892df7b | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
def test_all_contains_only_valid_names():
import pycamunda.decisionreqdef
for name in pycamunda.decisionreqdef.__all__:
getattr(pycamunda.decisionreqdef, name)
| 22.555556 | 49 | 0.73399 | 23 | 203 | 6.086957 | 0.73913 | 0.492857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005917 | 0.167488 | 203 | 8 | 50 | 25.375 | 0.822485 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 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 |
23bd7796ce5dbbe94cd644365987adb6f71698db | 191 | py | Python | mtga_event_prize_level.py | everybodyeverybody/mtga_earnings_calculator | 4be67e37299c122eba110eb07308426d8078c645 | [
"MIT"
] | null | null | null | mtga_event_prize_level.py | everybodyeverybody/mtga_earnings_calculator | 4be67e37299c122eba110eb07308426d8078c645 | [
"MIT"
] | null | null | null | mtga_event_prize_level.py | everybodyeverybody/mtga_earnings_calculator | 4be67e37299c122eba110eb07308426d8078c645 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3.7
from decimal import Decimal
from collections import namedtuple
EventPrizeLevel = namedtuple(
"EventPrizeLevel", ["packs", "gems", "gold"], defaults=[0, 0, 0],
)
| 23.875 | 69 | 0.712042 | 23 | 191 | 5.913043 | 0.695652 | 0.367647 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030303 | 0.136126 | 191 | 7 | 70 | 27.285714 | 0.793939 | 0.120419 | 0 | 0 | 0 | 0 | 0.167665 | 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 |
23d1de5c4b1de87a253332547b768f99517edb24 | 326 | py | Python | lfs/core/admin.py | restless/django-lfs | 4058f9d45b416ef2e8c28a87856ea0f1550b523d | [
"BSD-3-Clause"
] | 1 | 2020-02-26T03:07:39.000Z | 2020-02-26T03:07:39.000Z | lfs/core/admin.py | mxins/django-lfs | bf42ed80ce0e1ec96db6ab985adcc614ea79dfc8 | [
"BSD-3-Clause"
] | null | null | null | lfs/core/admin.py | mxins/django-lfs | bf42ed80ce0e1ec96db6ab985adcc614ea79dfc8 | [
"BSD-3-Clause"
] | null | null | null | # django imports
from django.contrib import admin
# lfs imports
from lfs.core.models import Action
from lfs.core.models import ActionGroup
from lfs.core.models import Shop
from lfs.core.models import Country
admin.site.register(Shop)
admin.site.register(Action)
admin.site.register(ActionGroup)
admin.site.register(Cou... | 23.285714 | 39 | 0.819018 | 49 | 326 | 5.44898 | 0.306122 | 0.104869 | 0.164794 | 0.254682 | 0.344569 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.09816 | 326 | 13 | 40 | 25.076923 | 0.908163 | 0.079755 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.555556 | 0 | 0.555556 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
23ecadb81a5ec6b2f9e0c728e946a750d6f1f36e | 93 | py | Python | modules/tankshapes/__init__.py | bullseyestudio/guns-game | 3104c44e43ea7f000f6b9e756d622f98110d0a21 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | modules/tankshapes/__init__.py | bullseyestudio/guns-game | 3104c44e43ea7f000f6b9e756d622f98110d0a21 | [
"Apache-2.0",
"BSD-3-Clause"
] | 1 | 2018-11-21T04:50:57.000Z | 2018-11-21T04:50:57.000Z | modules/tankshapes/__init__.py | bullseyestudio/guns-game | 3104c44e43ea7f000f6b9e756d622f98110d0a21 | [
"Apache-2.0",
"BSD-3-Clause"
] | null | null | null | """ Tank shapes package for Guns.
This init file marks the package as a usable module.
"""
| 15.5 | 52 | 0.709677 | 15 | 93 | 4.4 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.204301 | 93 | 5 | 53 | 18.6 | 0.891892 | 0.892473 | 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 |
23edadd6c1315ae3bef9cd266a3d92857c911930 | 229 | py | Python | tfbs_footprinter-runner.py | thirtysix/TFBS_footprinting | f627e0a5186e00fe166dad46b21d9b2742b51760 | [
"MIT"
] | null | null | null | tfbs_footprinter-runner.py | thirtysix/TFBS_footprinting | f627e0a5186e00fe166dad46b21d9b2742b51760 | [
"MIT"
] | null | null | null | tfbs_footprinter-runner.py | thirtysix/TFBS_footprinting | f627e0a5186e00fe166dad46b21d9b2742b51760 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Convenience wrapper for running tfbs_footprinter directly from source tree."""
from tfbs_footprinter.tfbs_footprinter import main
if __name__ == '__main__':
main()
| 17.615385 | 81 | 0.694323 | 28 | 229 | 5.285714 | 0.75 | 0.304054 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005319 | 0.179039 | 229 | 12 | 82 | 19.083333 | 0.781915 | 0.515284 | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 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 |
9b019d69f7dc7afa332c3b317d1c035ebf327b40 | 94 | py | Python | dive_sites/apps.py | Scuba-Chris/dive_site_api | 9c5f2a26e6c8a1e2eeaf6cd1b4174e764f83a6b6 | [
"MIT"
] | null | null | null | dive_sites/apps.py | Scuba-Chris/dive_site_api | 9c5f2a26e6c8a1e2eeaf6cd1b4174e764f83a6b6 | [
"MIT"
] | 7 | 2020-06-05T21:03:39.000Z | 2021-09-22T18:33:33.000Z | dive_sites/apps.py | Scuba-Chris/dive_site_api | 9c5f2a26e6c8a1e2eeaf6cd1b4174e764f83a6b6 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class DiveSitesConfig(AppConfig):
name = 'dive_sites'
| 15.666667 | 33 | 0.765957 | 11 | 94 | 6.454545 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.159574 | 94 | 5 | 34 | 18.8 | 0.898734 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 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 |
9b076c62dfd81be9905f0f82e953e93e7d7c02e5 | 313 | py | Python | covid19_id/pemeriksaan_vaksinasi/vaksinasi_harian.py | hexatester/covid19-id | 8d8aa3f9092a40461a308f4db054ab4f95374849 | [
"MIT"
] | null | null | null | covid19_id/pemeriksaan_vaksinasi/vaksinasi_harian.py | hexatester/covid19-id | 8d8aa3f9092a40461a308f4db054ab4f95374849 | [
"MIT"
] | null | null | null | covid19_id/pemeriksaan_vaksinasi/vaksinasi_harian.py | hexatester/covid19-id | 8d8aa3f9092a40461a308f4db054ab4f95374849 | [
"MIT"
] | null | null | null | import attr
from covid19_id.utils import ValueInt
@attr.dataclass(slots=True)
class VaksinasiHarian:
key_as_string: str
key: int
doc_count: int
jumlah_vaksinasi_2: ValueInt
jumlah_vaksinasi_1: ValueInt
jumlah_jumlah_vaksinasi_1_kum: ValueInt
jumlah_jumlah_vaksinasi_2_kum: ValueInt
| 20.866667 | 43 | 0.782748 | 43 | 313 | 5.325581 | 0.55814 | 0.262009 | 0.139738 | 0.253275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.023166 | 0.172524 | 313 | 14 | 44 | 22.357143 | 0.861004 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.181818 | 0 | 0.909091 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
9b26d22dac1fa85ff57a7518cc0afd23693491bf | 111 | py | Python | adonai/user/api/queries.py | Egnod/adonai | b365d81c826fd7b626c9145154ee0136ea73fac1 | [
"MIT"
] | 6 | 2020-01-20T20:02:09.000Z | 2020-02-24T08:40:23.000Z | adonai/user/api/queries.py | Egnod/adonai | b365d81c826fd7b626c9145154ee0136ea73fac1 | [
"MIT"
] | null | null | null | adonai/user/api/queries.py | Egnod/adonai | b365d81c826fd7b626c9145154ee0136ea73fac1 | [
"MIT"
] | null | null | null | from .user.queries import UserQuery # isort:skip
from .user_group.queries import UserGroupQuery # isort:skip
| 37 | 60 | 0.801802 | 15 | 111 | 5.866667 | 0.6 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.126126 | 111 | 2 | 61 | 55.5 | 0.907216 | 0.189189 | 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 |
f19bffe1d8db01545aa2bac87ec675c56149bef9 | 195 | py | Python | kali/comandosOs.py | NandoDev-lab/AssistenteEmPython | 3d6e7c4abef39154e710e82807d0534586294c1c | [
"MIT"
] | 1 | 2021-06-30T18:08:42.000Z | 2021-06-30T18:08:42.000Z | kali/comandosOs.py | NandoDev-lab/AssistenteEmPython | 3d6e7c4abef39154e710e82807d0534586294c1c | [
"MIT"
] | null | null | null | kali/comandosOs.py | NandoDev-lab/AssistenteEmPython | 3d6e7c4abef39154e710e82807d0534586294c1c | [
"MIT"
] | null | null | null | import sys
import os
import subprocess
import pyautogui
import time
subprocess.run("C:/Windows/system32/cmd.exe")
time.sleep(3)
pyautogui.typewrite("python")
| 8.478261 | 46 | 0.651282 | 23 | 195 | 5.521739 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02069 | 0.25641 | 195 | 23 | 47 | 8.478261 | 0.855172 | 0 | 0 | 0 | 0 | 0 | 0.189655 | 0.155172 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.625 | 0 | 0.625 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f1d17c8b8c557bcd6739e64fad4920995078f733 | 160 | py | Python | 7KYU/words_to_sentence.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | 4 | 2021-07-17T22:48:03.000Z | 2022-03-25T14:10:58.000Z | 7KYU/words_to_sentence.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | null | null | null | 7KYU/words_to_sentence.py | yaznasivasai/python_codewars | 25493591dde4649dc9c1ec3bece8191a3bed6818 | [
"MIT"
] | 3 | 2021-06-14T14:18:16.000Z | 2022-03-16T06:02:02.000Z | def words_to_sentence(words: list) -> str:
""" This function create a string from a list of strings, separated by space. """
return ' '.join(words)
| 40 | 85 | 0.6625 | 23 | 160 | 4.521739 | 0.826087 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.21875 | 160 | 4 | 86 | 40 | 0.832 | 0.45625 | 0 | 0 | 0 | 0 | 0.0125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | 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 |
f1d3eb9d9dab05a31381c38ed24576dd96752996 | 920 | py | Python | python_submitty_utils/tests/test_string_utils.py | zeez2030/Submitty | 7118944ff4adc6f15d76984eb10a1e862926d724 | [
"BSD-3-Clause"
] | 411 | 2016-06-14T20:52:25.000Z | 2022-03-31T21:20:25.000Z | python_submitty_utils/tests/test_string_utils.py | KaelanWillauer/Submitty | cf9b6ceda15ec0a661e2ca81ea7864790094c64a | [
"BSD-3-Clause"
] | 5,730 | 2016-05-23T21:04:32.000Z | 2022-03-31T10:08:06.000Z | python_submitty_utils/tests/test_string_utils.py | KaelanWillauer/Submitty | cf9b6ceda15ec0a661e2ca81ea7864790094c64a | [
"BSD-3-Clause"
] | 423 | 2016-09-22T21:11:30.000Z | 2022-03-29T18:55:28.000Z | import unittest
from submitty_utils import string_utils
class TestUser(unittest.TestCase):
def testNegativeLength(self):
self.assertEqual(string_utils.generate_random_string(-1), '')
def testZeroLength(self):
self.assertEqual(string_utils.generate_random_string(0), '')
def testPositiveL... | 36.8 | 117 | 0.742391 | 110 | 920 | 5.863636 | 0.354545 | 0.170543 | 0.265116 | 0.348837 | 0.609302 | 0.609302 | 0.389147 | 0.313178 | 0 | 0 | 0 | 0.031169 | 0.163043 | 920 | 24 | 118 | 38.333333 | 0.806494 | 0.056522 | 0 | 0 | 1 | 0 | 0.009238 | 0 | 0 | 0 | 0 | 0 | 0.375 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.4375 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9e477dd3df7f5df09267317cd3bfe78b579ab14e | 212 | py | Python | coaster/views/__init__.py | AferriDaniel/coaster | 3ffbc9d33c981284593445299aaee0c3cc0cdb0b | [
"BSD-2-Clause"
] | 48 | 2015-01-15T08:57:24.000Z | 2022-01-26T04:04:34.000Z | coaster/views/__init__.py | AferriDaniel/coaster | 3ffbc9d33c981284593445299aaee0c3cc0cdb0b | [
"BSD-2-Clause"
] | 169 | 2015-01-16T13:17:38.000Z | 2021-05-31T13:23:23.000Z | coaster/views/__init__.py | AferriDaniel/coaster | 3ffbc9d33c981284593445299aaee0c3cc0cdb0b | [
"BSD-2-Clause"
] | 17 | 2015-02-15T07:39:04.000Z | 2021-10-05T11:20:22.000Z | """
View helpers
============
Coaster provides classes, functions and decorators for common scenarios in view
handlers.
"""
# flake8: noqa
from .classview import *
from .decorators import *
from .misc import *
| 16.307692 | 79 | 0.707547 | 25 | 212 | 6 | 0.76 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005618 | 0.160377 | 212 | 12 | 80 | 17.666667 | 0.837079 | 0.613208 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9e66515414c951c5a5647702f8a347abcfdec43d | 10,659 | py | Python | unittests/TestGameServerController.py | dgsd-consulting/python_cowbull_server | b3f5e36c98c29701b0faf0adcf5d7b56a91a7402 | [
"Apache-2.0"
] | 1 | 2019-01-22T03:48:30.000Z | 2019-01-22T03:48:30.000Z | unittests/TestGameServerController.py | dgsd-consulting/python_cowbull_server | b3f5e36c98c29701b0faf0adcf5d7b56a91a7402 | [
"Apache-2.0"
] | 1 | 2019-04-14T21:15:17.000Z | 2019-08-08T01:25:29.000Z | unittests/TestGameServerController.py | davidjsanders/python_cowbull_server | b3f5e36c98c29701b0faf0adcf5d7b56a91a7402 | [
"Apache-2.0"
] | 2 | 2018-09-20T20:28:48.000Z | 2018-10-02T20:57:45.000Z | import json
from unittest import TestCase
from flask import Flask
from flask_controllers.GameServerController import GameServerController
from flask_helpers.VersionHelpers import VersionHelpers
from python_cowbull_server import app
from python_cowbull_server.Configurator import Configurator
from flask_helpers.ErrorHan... | 36.628866 | 111 | 0.512149 | 1,142 | 10,659 | 4.65937 | 0.128722 | 0.051118 | 0.039466 | 0.114452 | 0.759632 | 0.742342 | 0.722609 | 0.705694 | 0.694982 | 0.667168 | 0 | 0.027661 | 0.372549 | 10,659 | 290 | 112 | 36.755172 | 0.767943 | 0.002533 | 0 | 0.610687 | 0 | 0 | 0.134619 | 0.002916 | 0 | 0 | 0 | 0 | 0.148855 | 1 | 0.083969 | false | 0 | 0.034351 | 0 | 0.122137 | 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 |
9e80b42b52475d6e15054bfeda78fadd12468c69 | 2,133 | py | Python | spotify/v1/track.py | geekonedge/spotify | 1f4cf733a1fb11ab96259ed1e229b141e5c696f3 | [
"MIT"
] | 2 | 2018-10-10T08:00:47.000Z | 2021-10-12T04:15:33.000Z | spotify/v1/track.py | geekonedge/spotify | 1f4cf733a1fb11ab96259ed1e229b141e5c696f3 | [
"MIT"
] | 2 | 2018-08-31T21:59:47.000Z | 2018-08-31T22:27:57.000Z | spotify/v1/track.py | geekonedge/spotify | 1f4cf733a1fb11ab96259ed1e229b141e5c696f3 | [
"MIT"
] | 1 | 2018-08-31T21:18:58.000Z | 2018-08-31T21:18:58.000Z | from spotify import values
from spotify.page import Page
from spotify.resource import Resource, UpgradableInstance
class TrackContext(Resource):
def __init__(self, version, id):
super(TrackContext, self).__init__(version)
self.id = id
def fetch(self, market=values.UNSET):
params = va... | 23.184783 | 92 | 0.635724 | 235 | 2,133 | 5.680851 | 0.238298 | 0.107116 | 0.115356 | 0.181273 | 0.158802 | 0.116854 | 0.070412 | 0.070412 | 0 | 0 | 0 | 0.000624 | 0.248476 | 2,133 | 91 | 93 | 23.43956 | 0.83219 | 0 | 0 | 0.292308 | 0 | 0 | 0.069386 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.261538 | false | 0 | 0.061538 | 0.2 | 0.630769 | 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 |
9e930c5a58d02157e9d5c759c46110f181e09d5b | 85 | py | Python | lxman/cli/__main__.py | stuxcrystal/lxman | ea0b44a8b9424b3489e393591f5384a986f583a3 | [
"MIT"
] | 1 | 2017-12-04T18:48:21.000Z | 2017-12-04T18:48:21.000Z | lxman/cli/__main__.py | stuxcrystal/lxman | ea0b44a8b9424b3489e393591f5384a986f583a3 | [
"MIT"
] | null | null | null | lxman/cli/__main__.py | stuxcrystal/lxman | ea0b44a8b9424b3489e393591f5384a986f583a3 | [
"MIT"
] | null | null | null | import colorama
from lxman.cli import cli
if __name__ == "__main__":
cli()
| 14.166667 | 27 | 0.658824 | 11 | 85 | 4.363636 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.247059 | 85 | 5 | 28 | 17 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.1 | 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 |
9eb81dc7bd07da6f0a064dae1f82cb5f9f4c811b | 422 | py | Python | app/auth/forms.py | jakhax/esp9266_rfid_lock | e9c25628a023c8d6005a136e240ca1a36589fd36 | [
"MIT"
] | 2 | 2020-11-10T09:16:21.000Z | 2021-12-15T07:27:17.000Z | app/auth/forms.py | jakhax/consecutive_normal_punches | e9c25628a023c8d6005a136e240ca1a36589fd36 | [
"MIT"
] | null | null | null | app/auth/forms.py | jakhax/consecutive_normal_punches | e9c25628a023c8d6005a136e240ca1a36589fd36 | [
"MIT"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import StringField,SubmitField,BooleanField,PasswordField
from wtforms.validators import Required,DataRequired,Length
class LoginForm(FlaskForm):
username = StringField('username', validators=[DataRequired(), Length(1, 32)])
password = PasswordField('Password', vali... | 46.888889 | 82 | 0.779621 | 43 | 422 | 7.627907 | 0.581395 | 0.067073 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008021 | 0.113744 | 422 | 9 | 83 | 46.888889 | 0.868984 | 0 | 0 | 0 | 0 | 0 | 0.078014 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0.375 | 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 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
7b35640cc33e749326b0108e01c9308ac2c3ffda | 603 | py | Python | pRestore/stuff.py | snaiperskaya96/pRestore | cd51050fbd02423b038233c804e1c1ee0bfe59e7 | [
"MIT"
] | null | null | null | pRestore/stuff.py | snaiperskaya96/pRestore | cd51050fbd02423b038233c804e1c1ee0bfe59e7 | [
"MIT"
] | null | null | null | pRestore/stuff.py | snaiperskaya96/pRestore | cd51050fbd02423b038233c804e1c1ee0bfe59e7 | [
"MIT"
] | null | null | null | class Stuff:
def __init__(self):
return
@staticmethod
def print_logo():
print '''
____ _
_ __ | _ \ ___ ___| |_ ___ _ __ ___
| '_ \| |_) / _ \/ __| __/ _ \| '__/ _ \\
| |_) | _ < __/\__ \ || (_) | | | __/
| .__/|_| \_\___||___/\__\___/|_| \___|
|_|
'''
cla... | 19.451613 | 41 | 0.507463 | 45 | 603 | 4.888889 | 0.333333 | 0.245455 | 0.15 | 0.181818 | 0.618182 | 0.618182 | 0.618182 | 0.618182 | 0.618182 | 0.618182 | 0 | 0 | 0.3267 | 603 | 30 | 42 | 20.1 | 0.541872 | 0 | 0 | 0.347826 | 0 | 0.086957 | 0.333333 | 0.038143 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.086957 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7b600881aefecd926df3678ce829274a46e661ba | 18 | py | Python | schicexplorer/_version.py | joachimwolff/scHiCExplorer | 8aebb444f3968d398c260690c89c9cd0e3186f0e | [
"MIT"
] | 10 | 2019-12-09T04:11:18.000Z | 2021-03-24T15:29:06.000Z | common/walt/common/version.py | drakkar-lig/walt-python-packages | b778992e241d54b684f54715d83c4aff98a01db7 | [
"BSD-3-Clause"
] | 73 | 2016-04-29T13:17:26.000Z | 2022-03-01T15:06:48.000Z | common/walt/common/version.py | drakkar-lig/walt-python-packages | b778992e241d54b684f54715d83c4aff98a01db7 | [
"BSD-3-Clause"
] | 3 | 2019-03-18T14:27:56.000Z | 2021-06-03T12:07:02.000Z | __version__ = '7'
| 9 | 17 | 0.666667 | 2 | 18 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 0.166667 | 18 | 1 | 18 | 18 | 0.466667 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 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 |
7b65f6a1d2bed41aa57a027424c81ab5587c97d9 | 123 | py | Python | exercise/newfile5.py | LeeBeral/python | 9f0d360d69ee5245e3ef13a9dc9fc666374587a4 | [
"MIT"
] | null | null | null | exercise/newfile5.py | LeeBeral/python | 9f0d360d69ee5245e3ef13a9dc9fc666374587a4 | [
"MIT"
] | null | null | null | exercise/newfile5.py | LeeBeral/python | 9f0d360d69ee5245e3ef13a9dc9fc666374587a4 | [
"MIT"
] | null | null | null | alist = [1,2,3,5,5,1,3]
b = set(alist)
c = tuple(alist)
print(b)
print(c)
print([x for x in b])
print([x for x in c]) | 17.571429 | 24 | 0.569106 | 30 | 123 | 2.333333 | 0.433333 | 0.171429 | 0.257143 | 0.285714 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0.072165 | 0.211382 | 123 | 7 | 25 | 17.571429 | 0.649485 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.571429 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
7b661c16cd5afafef4aba119027c917f67774a50 | 170 | py | Python | ocp_resources/kubevirt_metrics_aggregation.py | kbidarkar/openshift-python-wrapper | 3cd4d6d3b71c82ff87f032a51510d9c9d207f6cb | [
"Apache-2.0"
] | 9 | 2021-07-05T18:35:55.000Z | 2021-12-31T03:09:39.000Z | ocp_resources/kubevirt_metrics_aggregation.py | kbidarkar/openshift-python-wrapper | 3cd4d6d3b71c82ff87f032a51510d9c9d207f6cb | [
"Apache-2.0"
] | 418 | 2021-07-04T13:12:09.000Z | 2022-03-30T08:37:45.000Z | ocp_resources/kubevirt_metrics_aggregation.py | kbidarkar/openshift-python-wrapper | 3cd4d6d3b71c82ff87f032a51510d9c9d207f6cb | [
"Apache-2.0"
] | 28 | 2021-07-04T12:48:18.000Z | 2022-02-22T15:19:30.000Z | from ocp_resources.resource import NamespacedResource
class KubevirtMetricsAggregation(NamespacedResource):
api_group = NamespacedResource.ApiGroup.SSP_KUBEVIRT_IO
| 28.333333 | 59 | 0.870588 | 16 | 170 | 9 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.088235 | 170 | 5 | 60 | 34 | 0.929032 | 0 | 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 |
7b72e8377f711b1cb1ee17fd39204a3883465200 | 78 | py | Python | shopify_csv/__init__.py | d-e-h-i-o/shopify_csv | 0c49666bca38802a756502f72f835abb63115025 | [
"MIT"
] | 1 | 2021-02-28T11:36:50.000Z | 2021-02-28T11:36:50.000Z | shopify_csv/__init__.py | d-e-h-i-o/shopify_csv | 0c49666bca38802a756502f72f835abb63115025 | [
"MIT"
] | null | null | null | shopify_csv/__init__.py | d-e-h-i-o/shopify_csv | 0c49666bca38802a756502f72f835abb63115025 | [
"MIT"
] | null | null | null | from .constants import FIELDS, PROPERTIES
from .shopify_csv import ShopifyRow
| 26 | 41 | 0.846154 | 10 | 78 | 6.5 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 78 | 2 | 42 | 39 | 0.942029 | 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 |
7b87f62b10bc328cd7870120d84ededf89b99acb | 21 | py | Python | data/studio21_generated/introductory/4853/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4853/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/introductory/4853/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def double_char(s):
| 10.5 | 19 | 0.714286 | 4 | 21 | 3.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 21 | 2 | 20 | 10.5 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7b9a53fe727088aa66ec964d3fe2b9eeb158dba7 | 543 | py | Python | dashboard/migrations/0016_auto_20200222_2336.py | BDALab/GENEActiv-sleep-analyses-system | f0458de041153f2dee240a53571149827de00a2e | [
"MIT"
] | null | null | null | dashboard/migrations/0016_auto_20200222_2336.py | BDALab/GENEActiv-sleep-analyses-system | f0458de041153f2dee240a53571149827de00a2e | [
"MIT"
] | null | null | null | dashboard/migrations/0016_auto_20200222_2336.py | BDALab/GENEActiv-sleep-analyses-system | f0458de041153f2dee240a53571149827de00a2e | [
"MIT"
] | null | null | null | # Generated by Django 2.2.5 on 2020-02-22 22:36
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('dashboard', '0015_auto_20200222_2200'),
]
operations = [
migrations.RemoveField(
model_name='subject',
name='handedness',
... | 20.884615 | 49 | 0.546961 | 49 | 543 | 5.938776 | 0.612245 | 0.216495 | 0.268041 | 0.309278 | 0.42268 | 0.42268 | 0 | 0 | 0 | 0 | 0 | 0.086592 | 0.3407 | 543 | 25 | 50 | 21.72 | 0.726257 | 0.082873 | 0 | 0.473684 | 1 | 0 | 0.15121 | 0.046371 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.052632 | 0 | 0.210526 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7bbe575d89df5cb9077767131f1bcff71b4ea2bc | 191 | py | Python | cloudflare_ddns/__init__.py | joshuaavalon/cloudflare-ddns | 9a79a73dc6f723d2bd9afd26289a9c990744f4e7 | [
"Apache-2.0"
] | 1 | 2019-05-16T15:25:22.000Z | 2019-05-16T15:25:22.000Z | cloudflare_ddns/__init__.py | joshuaavalon/cloudflare-ddns | 9a79a73dc6f723d2bd9afd26289a9c990744f4e7 | [
"Apache-2.0"
] | null | null | null | cloudflare_ddns/__init__.py | joshuaavalon/cloudflare-ddns | 9a79a73dc6f723d2bd9afd26289a9c990744f4e7 | [
"Apache-2.0"
] | 1 | 2019-06-17T15:22:29.000Z | 2019-06-17T15:22:29.000Z | from cloudflare_ddns.configuration import Configuration, SiteConfiguration
from cloudflare_ddns.ddns import CloudflareDDNS
__all__ = ["CloudflareDDNS", "Configuration", "SiteConfiguration"]
| 38.2 | 74 | 0.848168 | 17 | 191 | 9.176471 | 0.470588 | 0.179487 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078534 | 191 | 4 | 75 | 47.75 | 0.886364 | 0 | 0 | 0 | 0 | 0 | 0.230366 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c8870211f55a315e2890fcb0bc548ae67550546d | 137 | py | Python | apps/users/urls.py | akundev/akundotdev | 98b47925b948c920789c5acebad86944162bf53a | [
"Apache-2.0"
] | null | null | null | apps/users/urls.py | akundev/akundotdev | 98b47925b948c920789c5acebad86944162bf53a | [
"Apache-2.0"
] | 3 | 2021-03-30T14:21:08.000Z | 2021-07-07T03:04:26.000Z | apps/users/urls.py | almazkun/akundotdev | 98b47925b948c920789c5acebad86944162bf53a | [
"Apache-2.0"
] | null | null | null | from django.urls import path
from .views import AboutTemplateView
urlpatterns = [path("", AboutTemplateView.as_view(), name="about")]
| 19.571429 | 67 | 0.759124 | 16 | 137 | 6.4375 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116788 | 137 | 6 | 68 | 22.833333 | 0.85124 | 0 | 0 | 0 | 0 | 0 | 0.036496 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c8d1c681c7ce88bcb176a7a0b8c693c830a7bc65 | 160 | py | Python | Python/mixedfractions/mixedfractions.py | rvrheenen/OpenKattis | 7fd59fcb54e86cdf10f56c580c218c62e584f391 | [
"MIT"
] | 12 | 2016-10-03T20:43:43.000Z | 2021-06-12T17:18:42.000Z | Python/mixedfractions/mixedfractions.py | rvrheenen/OpenKattis | 7fd59fcb54e86cdf10f56c580c218c62e584f391 | [
"MIT"
] | null | null | null | Python/mixedfractions/mixedfractions.py | rvrheenen/OpenKattis | 7fd59fcb54e86cdf10f56c580c218c62e584f391 | [
"MIT"
] | 10 | 2017-11-14T19:56:37.000Z | 2021-02-02T07:39:57.000Z | while(True):
inp = [int(x) for x in input().split()]
if inp[0] == 0 and inp[1] == 0:
break
print(inp[0]//inp[1], inp[0]%inp[1], "/", inp[1]) | 32 | 53 | 0.48125 | 30 | 160 | 2.566667 | 0.5 | 0.207792 | 0.181818 | 0.207792 | 0.246753 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075 | 0.25 | 160 | 5 | 53 | 32 | 0.566667 | 0 | 0 | 0 | 0 | 0 | 0.006211 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.2 | 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 |
c8d758a027414f97b213413022804a7b0f68fe28 | 523 | py | Python | version.py | Jin-Tao-208/web_science_coursework | bb4ab2226b70e7b0f7bbef40ceb002900e757a31 | [
"MIT"
] | null | null | null | version.py | Jin-Tao-208/web_science_coursework | bb4ab2226b70e7b0f7bbef40ceb002900e757a31 | [
"MIT"
] | null | null | null | version.py | Jin-Tao-208/web_science_coursework | bb4ab2226b70e7b0f7bbef40ceb002900e757a31 | [
"MIT"
] | null | null | null | # versions of libraries used
import sys
import tweepy
import numpy as np
import pymongo
import emoji
import nltk.tokenize
import requests
print("Python version:{}".format(sys.version))
print("tweepy version:{}".format(tweepy.__version__))
print("pymongo version:{}".format(pymongo.__version__))
print("emoji... | 29.055556 | 58 | 0.745698 | 63 | 523 | 5.809524 | 0.301587 | 0.248634 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10325 | 523 | 17 | 59 | 30.764706 | 0.780384 | 0.049713 | 0 | 0 | 0 | 0 | 0.247379 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0.5 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 4 |
c8ea55c5455ae4d69b07f53ce37792d7f4a82837 | 132 | py | Python | 3_binary_tree/__init__.py | freshklauser/LeeCodeSummary | d9d776ddfc44fee844123b848d43a78e9ba4117e | [
"MIT"
] | null | null | null | 3_binary_tree/__init__.py | freshklauser/LeeCodeSummary | d9d776ddfc44fee844123b848d43a78e9ba4117e | [
"MIT"
] | null | null | null | 3_binary_tree/__init__.py | freshklauser/LeeCodeSummary | d9d776ddfc44fee844123b848d43a78e9ba4117e | [
"MIT"
] | 1 | 2021-11-18T01:58:29.000Z | 2021-11-18T01:58:29.000Z | # -*- coding: utf-8 -*-
# @Author : Administrator
# @DateTime : 2021/10/17 20:40
# @FileName : __init__.py
# @SoftWare : PyCharm
| 18.857143 | 30 | 0.621212 | 16 | 132 | 4.875 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121495 | 0.189394 | 132 | 6 | 31 | 22 | 0.607477 | 0.909091 | 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 |
740438f708cbfe346a44823a28bc4994e0b1022b | 196 | py | Python | uuid1/models.py | charlesDavid009/Uuid | 7553843c0112e7f0e248cd5692eccca72553e720 | [
"MIT"
] | 1 | 2021-05-24T18:52:53.000Z | 2021-05-24T18:52:53.000Z | uuid1/models.py | charlesDavid009/Uuid | 7553843c0112e7f0e248cd5692eccca72553e720 | [
"MIT"
] | null | null | null | uuid1/models.py | charlesDavid009/Uuid | 7553843c0112e7f0e248cd5692eccca72553e720 | [
"MIT"
] | null | null | null | from django.db import models
import uuid
# Create your models here.
class Uuid(models.Model):
uuids = models.CharField(max_length=225)
created = models.DateTimeField(auto_now_add=True)
| 19.6 | 53 | 0.760204 | 28 | 196 | 5.214286 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018072 | 0.153061 | 196 | 9 | 54 | 21.777778 | 0.861446 | 0.122449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
cdc3dc53bc12e7691159632083c1b94dc1973dac | 74 | py | Python | tests/unit/conftest.py | fourTheorem/slic-slack | cffc870c2399feff67199050460abdcb3385ef17 | [
"Apache-2.0"
] | 4 | 2022-01-14T15:47:55.000Z | 2022-01-14T16:15:18.000Z | tests/unit/conftest.py | fourTheorem/slic-slack | cffc870c2399feff67199050460abdcb3385ef17 | [
"Apache-2.0"
] | null | null | null | tests/unit/conftest.py | fourTheorem/slic-slack | cffc870c2399feff67199050460abdcb3385ef17 | [
"Apache-2.0"
] | null | null | null | import os
os.environ['SLACK_WEBHOOK_URL'] = 'https://example.com/slack'
| 14.8 | 61 | 0.72973 | 11 | 74 | 4.727273 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.094595 | 74 | 4 | 62 | 18.5 | 0.776119 | 0 | 0 | 0 | 0 | 0 | 0.575342 | 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 |
cdcc7612e16b3989892d1765ee8591ffd8c61843 | 1,536 | py | Python | src/database/CRUD/create.py | gregory-chekler/api | 11ecbea945e7eb6fa677a0c0bb32bda51ba15f28 | [
"MIT"
] | 2 | 2020-07-24T12:58:17.000Z | 2020-12-17T02:26:13.000Z | src/database/CRUD/create.py | gregory-chekler/api | 11ecbea945e7eb6fa677a0c0bb32bda51ba15f28 | [
"MIT"
] | 214 | 2019-06-26T17:33:54.000Z | 2022-03-26T00:02:34.000Z | src/database/CRUD/create.py | massenergize/portalBackEnd | 7ed971b2be13901667a216d8c8a46f0bed6d6ccd | [
"MIT"
] | 6 | 2020-03-13T20:29:06.000Z | 2021-08-20T16:15:08.000Z | """
This file contains code to post data from the database. This is meant to
centralize the insertion of data into the database so that multiple apps can
call on the methods in this file without having to define their own
and to prevent code redundancy.
"""
from ..models import *
from ..utils.common import ensure_re... | 25.180328 | 76 | 0.76888 | 201 | 1,536 | 5.791045 | 0.313433 | 0.056701 | 0.226804 | 0.217354 | 0.074742 | 0.074742 | 0 | 0 | 0 | 0 | 0 | 0 | 0.143229 | 1,536 | 60 | 77 | 25.6 | 0.884498 | 0.163411 | 0 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.305556 | false | 0 | 0.083333 | 0 | 0.694444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
b5aa67663a42b92a7d170586d7626bb2aa4c2ae4 | 350 | py | Python | problems/reverse-words-in-string/reverse-words-in-string.py | vidyadeepa/the-coding-interview | 90171b77b6884176a6c28bdccb5d45bd6929b489 | [
"MIT"
] | 1,571 | 2015-12-09T14:08:47.000Z | 2022-03-30T21:34:36.000Z | problems/reverse-words-in-string/reverse-words-in-string.py | vidyadeepa/the-coding-interview | 90171b77b6884176a6c28bdccb5d45bd6929b489 | [
"MIT"
] | 117 | 2015-10-22T05:59:19.000Z | 2021-09-17T00:14:38.000Z | problems/reverse-words-in-string/reverse-words-in-string.py | vidyadeepa/the-coding-interview | 90171b77b6884176a6c28bdccb5d45bd6929b489 | [
"MIT"
] | 452 | 2015-10-21T23:00:58.000Z | 2022-03-18T21:16:50.000Z | import re
def reverse_str(string):
string = string.strip()
string = re.sub("\s+", " ", string)
result = [word[::-1] for word in string[::-1].split(" ")]
return " ".join(result)
# "degree CS":
print reverse_str(" CS degree")
print reverse_str("CS degree")
print reverse_str("CS degree ")
print re... | 23.333333 | 61 | 0.614286 | 48 | 350 | 4.375 | 0.416667 | 0.238095 | 0.285714 | 0.32381 | 0.438095 | 0.438095 | 0.438095 | 0.438095 | 0.438095 | 0.438095 | 0 | 0.00722 | 0.208571 | 350 | 14 | 62 | 25 | 0.750903 | 0.034286 | 0 | 0.4 | 0 | 0 | 0.167164 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.1 | null | null | 0.4 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
b5b452ab3b7a17e033f9002b103343c10716d627 | 27 | py | Python | my_env/lib/python3.6/site-packages/affine/tests/__init__.py | wilsonfilhodev/gis | 65926fd36460a7a3590ef7511ccae1d64e3d9988 | [
"MIT"
] | 121 | 2015-03-26T15:40:37.000Z | 2021-10-10T14:19:06.000Z | my_env/lib/python3.6/site-packages/affine/tests/__init__.py | wilsonfilhodev/gis | 65926fd36460a7a3590ef7511ccae1d64e3d9988 | [
"MIT"
] | 53 | 2015-06-01T23:44:58.000Z | 2020-12-14T15:40:47.000Z | my_env/lib/python3.6/site-packages/affine/tests/__init__.py | wilsonfilhodev/gis | 65926fd36460a7a3590ef7511ccae1d64e3d9988 | [
"MIT"
] | 24 | 2015-06-01T19:30:21.000Z | 2021-08-13T19:47:41.000Z | """Affine tests package"""
| 13.5 | 26 | 0.666667 | 3 | 27 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 27 | 1 | 27 | 27 | 0.75 | 0.740741 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a9085ff8566d990dfd43c879277cd4b73db4ecb9 | 185 | py | Python | exercicios1/ex017A_hypotensue.py | GabrielaCardosoSilva/python | 51d2733c3f3378427f025633d7d0d623fb6c2d73 | [
"MIT"
] | 1 | 2021-12-21T21:46:31.000Z | 2021-12-21T21:46:31.000Z | exercicios1/ex017A_hypotensue.py | GabrielaCardosoSilva/python | 51d2733c3f3378427f025633d7d0d623fb6c2d73 | [
"MIT"
] | null | null | null | exercicios1/ex017A_hypotensue.py | GabrielaCardosoSilva/python | 51d2733c3f3378427f025633d7d0d623fb6c2d73 | [
"MIT"
] | null | null | null | co = float(input('Comprimento do cateto oposto: '))
ca = float(input('Comprimento do cateto adjacente: '))
hy = ((co**2 + ca**2) ** (1/2))
print('A hipotenusa mede {:.2f}'.format(hy))
| 30.833333 | 54 | 0.632432 | 28 | 185 | 4.178571 | 0.642857 | 0.17094 | 0.358974 | 0.393162 | 0.495727 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031447 | 0.140541 | 185 | 5 | 55 | 37 | 0.704403 | 0 | 0 | 0 | 0 | 0 | 0.47027 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.25 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a93139d8990a5f884a5f91950142a530d39d5797 | 170 | py | Python | correctiv_auth/urls.py | correctiv/django-allauth-correctiv | 833e1f6e019834df04146c25198a93f411d66b79 | [
"MIT"
] | null | null | null | correctiv_auth/urls.py | correctiv/django-allauth-correctiv | 833e1f6e019834df04146c25198a93f411d66b79 | [
"MIT"
] | null | null | null | correctiv_auth/urls.py | correctiv/django-allauth-correctiv | 833e1f6e019834df04146c25198a93f411d66b79 | [
"MIT"
] | null | null | null | from allauth.socialaccount.providers.oauth2.urls import default_urlpatterns
from .provider import CorrectivProvider
urlpatterns = default_urlpatterns(CorrectivProvider)
| 34 | 75 | 0.882353 | 17 | 170 | 8.705882 | 0.647059 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006329 | 0.070588 | 170 | 4 | 76 | 42.5 | 0.93038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a9420e4c78acda83f196da1eaae00337d68d7f90 | 132 | py | Python | docs/src/mkautodoc/__init__.py | kabirkhan/spacy-data-debug | 5df124d5520d5eb9bbdcd45943e325e07ed2aed2 | [
"MIT"
] | null | null | null | docs/src/mkautodoc/__init__.py | kabirkhan/spacy-data-debug | 5df124d5520d5eb9bbdcd45943e325e07ed2aed2 | [
"MIT"
] | null | null | null | docs/src/mkautodoc/__init__.py | kabirkhan/spacy-data-debug | 5df124d5520d5eb9bbdcd45943e325e07ed2aed2 | [
"MIT"
] | null | null | null |
from .extension import MKAutoDocExtension, makeExtension
__version__ = "0.1.0"
__all__ = ["MKAutoDocExtension", "makeExtension"]
| 18.857143 | 56 | 0.772727 | 12 | 132 | 7.833333 | 0.75 | 0.659574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.113636 | 132 | 6 | 57 | 22 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0.274809 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
a96249e5e27a4fb1f8a7acc8336f250dfb9992c9 | 64,609 | py | Python | pyeccodes/defs/grib2/localConcepts/eswi/name_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | 7 | 2020-04-14T09:41:17.000Z | 2021-08-06T09:38:19.000Z | pyeccodes/defs/grib2/localConcepts/eswi/name_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | null | null | null | pyeccodes/defs/grib2/localConcepts/eswi/name_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | 3 | 2020-04-30T12:44:48.000Z | 2020-12-15T08:40:26.000Z | import pyeccodes.accessors as _
def load(h):
def wrapped(h):
discipline = h.get_l('discipline')
parameterCategory = h.get_l('parameterCategory')
parameterNumber = h.get_l('parameterNumber')
if discipline == 3 and parameterCategory == 1 and parameterNumber == 19:
retu... | 42.646205 | 102 | 0.638208 | 6,691 | 64,609 | 6.161112 | 0.086385 | 0.145546 | 0.112895 | 0.138948 | 0.847128 | 0.838104 | 0.82042 | 0.797303 | 0.563968 | 0.441175 | 0 | 0.047594 | 0.287808 | 64,609 | 1,514 | 103 | 42.674373 | 0.848307 | 0 | 0 | 0.217262 | 0 | 0 | 0.172654 | 0.000511 | 0 | 0 | 0 | 0 | 0 | 1 | 0.001984 | false | 0 | 0.000992 | 0 | 0.5 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a96d1ad4941b2f2e2aed74363daf53f8103f7801 | 54 | py | Python | configs/postgres.py | enabokov/chat | 4a3a11c68c5089c119ebe5bec1dfebe699aa7c78 | [
"MIT"
] | 1 | 2019-04-14T16:49:32.000Z | 2019-04-14T16:49:32.000Z | configs/postgres.py | enabokov/Chat | 4a3a11c68c5089c119ebe5bec1dfebe699aa7c78 | [
"MIT"
] | 1 | 2021-03-25T21:44:52.000Z | 2021-03-25T21:44:52.000Z | configs/postgres.py | enabokov/chat | 4a3a11c68c5089c119ebe5bec1dfebe699aa7c78 | [
"MIT"
] | null | null | null | DSN = 'postgresql://edward:edward@postgres:5432/chat'
| 27 | 53 | 0.759259 | 7 | 54 | 5.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.078431 | 0.055556 | 54 | 1 | 54 | 54 | 0.72549 | 0 | 0 | 0 | 0 | 0 | 0.833333 | 0.833333 | 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 |
8d21b09432278f9368a292eca49b25d9da12e492 | 88 | py | Python | apps/salt/apps.py | plsof/tabops_api | 39f5d2fd5158ae0c22e43ab6ff7e2b07a68a62d8 | [
"MIT"
] | 1 | 2019-07-31T07:34:38.000Z | 2019-07-31T07:34:38.000Z | apps/salt/apps.py | plsof/tabops_api | 39f5d2fd5158ae0c22e43ab6ff7e2b07a68a62d8 | [
"MIT"
] | 9 | 2019-12-05T00:39:29.000Z | 2022-02-10T14:13:29.000Z | apps/salt/apps.py | plsof/tabops_api | 39f5d2fd5158ae0c22e43ab6ff7e2b07a68a62d8 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class SaltConfig(AppConfig):
name = 'apps.salt'
| 14.666667 | 33 | 0.738636 | 11 | 88 | 5.909091 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.170455 | 88 | 5 | 34 | 17.6 | 0.890411 | 0 | 0 | 0 | 0 | 0 | 0.102273 | 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 |
8d7113f4a3fa2caf2cf878a899bd18ce82a24a1b | 103 | py | Python | article/serializers/__init__.py | mentix02/medialist-backend | 397b1a382b12bab273360dadb0b3c32de43747cd | [
"MIT"
] | 1 | 2019-11-22T19:29:39.000Z | 2019-11-22T19:29:39.000Z | article/serializers/__init__.py | mentix02/medialist-backend | 397b1a382b12bab273360dadb0b3c32de43747cd | [
"MIT"
] | 1 | 2019-11-25T09:50:07.000Z | 2021-07-15T07:05:28.000Z | article/serializers/__init__.py | mentix02/medialist-backend | 397b1a382b12bab273360dadb0b3c32de43747cd | [
"MIT"
] | null | null | null | from article.serializers.serializers import (
ArticleListSerializer,
ArticleDetailSerializer
)
| 20.6 | 45 | 0.805825 | 7 | 103 | 11.857143 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.145631 | 103 | 4 | 46 | 25.75 | 0.943182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8d86e19a0f7bf48d0eb61da351363ace81caa8fc | 353 | py | Python | greetings.py | ucsd-cse-spis-2016/spis16-lecture-0815 | 24e0a8ea9726f969eb357db33eb2925aabd25e43 | [
"MIT"
] | null | null | null | greetings.py | ucsd-cse-spis-2016/spis16-lecture-0815 | 24e0a8ea9726f969eb357db33eb2925aabd25e43 | [
"MIT"
] | null | null | null | greetings.py | ucsd-cse-spis-2016/spis16-lecture-0815 | 24e0a8ea9726f969eb357db33eb2925aabd25e43 | [
"MIT"
] | null | null | null | from flask import Flask
app = Flask(__name__)
@app.route("/en")
def hello():
return "Hello SPIS 2016!"
@app.route("/cn")
def ni_hao():
return "Ni Hao SPIS 2016!"
@app.route("/es")
def hola():
return "Hola SPIS 2016!"
@app.route("/fa")
def sobh_bx():
return "Sobh Bexair SPIS 2016!"
if __name__ == "_... | 16.045455 | 35 | 0.628895 | 54 | 353 | 3.851852 | 0.481481 | 0.153846 | 0.158654 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.06993 | 0.189802 | 353 | 21 | 36 | 16.809524 | 0.657343 | 0 | 0 | 0 | 0 | 0 | 0.254958 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.0625 | 0.25 | 0.5625 | 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 |
57172ba3fed738751a65af00ff67b7037fd96b96 | 206 | py | Python | qclib/qclab.py | hagne/qclib | c90e06cb22708d610126710715a5d66bd4dc0898 | [
"MIT"
] | null | null | null | qclib/qclab.py | hagne/qclib | c90e06cb22708d610126710715a5d66bd4dc0898 | [
"MIT"
] | null | null | null | qclib/qclab.py | hagne/qclib | c90e06cb22708d610126710715a5d66bd4dc0898 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
import qclib.tag_times
def qc_by_tagging_times(path2data, path2database):
out = qclib.tag_times.Controller(path2data=path2data, path2database=path2database)
return out
| 25.75 | 86 | 0.747573 | 25 | 206 | 5.96 | 0.64 | 0.107383 | 0.174497 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039773 | 0.145631 | 206 | 8 | 87 | 25.75 | 0.806818 | 0.101942 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
571ee3c5442f3448677cce9af4cb7b0165e2aa98 | 148 | py | Python | tests/test_tail_chunks.py | moskytw/tacit | 58286a71140be150438d10acf93028ef5f78f6d1 | [
"MIT"
] | null | null | null | tests/test_tail_chunks.py | moskytw/tacit | 58286a71140be150438d10acf93028ef5f78f6d1 | [
"MIT"
] | null | null | null | tests/test_tail_chunks.py | moskytw/tacit | 58286a71140be150438d10acf93028ef5f78f6d1 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from tacit import tac_slices
for chunk in tac_slices('data/ordered.list', 2):
print repr(chunk)
| 18.5 | 48 | 0.675676 | 24 | 148 | 4.083333 | 0.875 | 0.183673 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016129 | 0.162162 | 148 | 7 | 49 | 21.142857 | 0.774194 | 0.283784 | 0 | 0 | 0 | 0 | 0.163462 | 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 |
572a6ba98328eb8f0c8ea9e03989e22fca55780e | 271 | py | Python | backend/users/serializers.py | rmisiarek/django_vue_base | 440459fdd73209e47567fb3572c056a05dc1c45a | [
"MIT"
] | 2 | 2019-04-28T20:26:13.000Z | 2020-05-04T03:18:23.000Z | backend/users/serializers.py | rmisiarek/django_vue_base | 440459fdd73209e47567fb3572c056a05dc1c45a | [
"MIT"
] | 22 | 2019-12-04T22:34:42.000Z | 2022-02-12T07:12:29.000Z | backend/users/serializers.py | shrekdev/Django_Vue_Base | 4f200358724bce137f9c5e723036b280e4fd81e2 | [
"MIT"
] | null | null | null | from djoser.serializers import UserCreateSerializer
from .models import CustomUser
class CustomUserRegistrationSerializer(UserCreateSerializer):
class Meta(UserCreateSerializer.Meta):
model = CustomUser
fields = ('first_name', 'email', 'password')
| 27.1 | 61 | 0.763838 | 23 | 271 | 8.956522 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158672 | 271 | 9 | 62 | 30.111111 | 0.903509 | 0 | 0 | 0 | 0 | 0 | 0.084871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 4 |
572d902af0ded1f19ce7ceba83a724a3db7dd67b | 30 | py | Python | flaskslack/__init__.py | Jamiewu2/flask-slack-template | 8a2168aaab03ed080a3eab186c20a488cdf2055e | [
"MIT"
] | null | null | null | flaskslack/__init__.py | Jamiewu2/flask-slack-template | 8a2168aaab03ed080a3eab186c20a488cdf2055e | [
"MIT"
] | null | null | null | flaskslack/__init__.py | Jamiewu2/flask-slack-template | 8a2168aaab03ed080a3eab186c20a488cdf2055e | [
"MIT"
] | null | null | null | name = "flask_slack_template"
| 15 | 29 | 0.8 | 4 | 30 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
939077a570d47a79177487efee3028816d6b91da | 421 | py | Python | trains/models.py | Seshathri-saravanan/quest | 397c92e36167b9554fd72f55bdac0a2cbcdfea6f | [
"MIT"
] | null | null | null | trains/models.py | Seshathri-saravanan/quest | 397c92e36167b9554fd72f55bdac0a2cbcdfea6f | [
"MIT"
] | null | null | null | trains/models.py | Seshathri-saravanan/quest | 397c92e36167b9554fd72f55bdac0a2cbcdfea6f | [
"MIT"
] | 1 | 2021-11-09T15:58:33.000Z | 2021-11-09T15:58:33.000Z | from django.db import models
class Train(models.Model):
no = models.CharField(max_length=20)
destination = models.CharField(max_length=50)
source = models.CharField(max_length=50)
days = models.CharField(max_length=10)
name = models.CharField(max_length=50)
arrival = models.CharField(max_length... | 32.384615 | 49 | 0.724466 | 57 | 421 | 5.157895 | 0.438596 | 0.357143 | 0.428571 | 0.571429 | 0.530612 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040115 | 0.171021 | 421 | 12 | 50 | 35.083333 | 0.802292 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.090909 | false | 0 | 0.090909 | 0.090909 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
93ea9b725dcae36d582332e92813504608956ade | 49 | py | Python | src/fseq/__init__.py | tanioklyce/python-fseq | be0d5d895ead1b099dd0d47602520c9ebf1f449d | [
"MIT"
] | 3 | 2019-12-07T19:32:32.000Z | 2021-12-27T05:19:26.000Z | src/fseq/__init__.py | tanioklyce/python-fseq | be0d5d895ead1b099dd0d47602520c9ebf1f449d | [
"MIT"
] | 3 | 2020-01-05T03:05:58.000Z | 2021-04-24T06:28:16.000Z | src/fseq/__init__.py | tanioklyce/python-fseq | be0d5d895ead1b099dd0d47602520c9ebf1f449d | [
"MIT"
] | 4 | 2020-03-13T17:49:06.000Z | 2022-03-14T01:26:28.000Z | __version__ = '0.1.0'
from .parser import parse
| 12.25 | 25 | 0.714286 | 8 | 49 | 3.875 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073171 | 0.163265 | 49 | 3 | 26 | 16.333333 | 0.682927 | 0 | 0 | 0 | 0 | 0 | 0.102041 | 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 |
93f8df4d6dce3b4bf4d20eae42a3c300c4be5bdc | 139,378 | py | Python | rcsb/utils/dictionary/DictMethodEntityInstanceHelper.py | rcsb/py-rcsb_utils_dictionary | 459f759ed7bc267ef63f57b230974afe555d9157 | [
"Apache-2.0"
] | 2 | 2022-01-22T16:23:44.000Z | 2022-01-22T20:28:34.000Z | rcsb/utils/dictionary/DictMethodEntityInstanceHelper.py | rcsb/py-rcsb_utils_dictionary | 459f759ed7bc267ef63f57b230974afe555d9157 | [
"Apache-2.0"
] | 4 | 2021-11-23T15:27:49.000Z | 2022-03-30T19:51:43.000Z | rcsb/utils/dictionary/DictMethodEntityInstanceHelper.py | rcsb/py-rcsb_utils_dictionary | 459f759ed7bc267ef63f57b230974afe555d9157 | [
"Apache-2.0"
] | 2 | 2022-01-22T16:23:46.000Z | 2022-03-27T18:01:42.000Z | ##
# File: DictMethodEntityInstanceHelper.py
# Author: J. Westbrook
# Date: 16-Jul-2019
# Version: 0.001 Initial version
#
#
# Updates:
# 22-Nov-2021 dwp authSeqBeg and authSeqEnd are returned as integers but must be compared as strings in pAuthAsymD
#
##
"""
This helper class implements methods supporting enti... | 56.474068 | 184 | 0.543536 | 13,074 | 139,378 | 5.589873 | 0.065473 | 0.079637 | 0.07337 | 0.047727 | 0.785077 | 0.751745 | 0.712091 | 0.670411 | 0.650995 | 0.632618 | 0 | 0.009702 | 0.359576 | 139,378 | 2,467 | 185 | 56.49696 | 0.809043 | 0.120679 | 0 | 0.703576 | 0 | 0.00346 | 0.142303 | 0.05038 | 0 | 0 | 0 | 0 | 0 | 1 | 0.012687 | false | 0.00173 | 0.00346 | 0 | 0.047866 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9e246f8197a11b73a278225e329244b30642e5a1 | 196 | py | Python | ch04/return.none.py | kxen42/Learn-Python-Programming-Third-Edition | 851ddc5e6094fadd44f31a9ad1d3876456b04372 | [
"MIT"
] | 19 | 2021-11-05T22:54:09.000Z | 2022-03-29T15:03:47.000Z | ch04/return.none.py | kxen42/Learn-Python-Programming-Third-Edition | 851ddc5e6094fadd44f31a9ad1d3876456b04372 | [
"MIT"
] | null | null | null | ch04/return.none.py | kxen42/Learn-Python-Programming-Third-Edition | 851ddc5e6094fadd44f31a9ad1d3876456b04372 | [
"MIT"
] | 26 | 2021-11-12T17:04:50.000Z | 2022-03-29T01:10:35.000Z | # return.none.py
def func():
pass
func() # the return of this call won't be collected. It's lost.
a = func() # the return of this one instead is collected into `a`
print(a) # prints: None
| 24.5 | 66 | 0.663265 | 35 | 196 | 3.714286 | 0.685714 | 0.107692 | 0.2 | 0.230769 | 0.292308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.219388 | 196 | 7 | 67 | 28 | 0.849673 | 0.688776 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0 | 0 | 0.2 | 0.2 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
f508880d35de4e5c61d56d0000d4001cccea0293 | 163 | py | Python | server/controllers/main.py | eruixma/trading-app | 3db3bbd27fdc405b9ecb41d9e68330899a3dcc6a | [
"BSD-2-Clause"
] | 2 | 2019-03-27T04:46:29.000Z | 2019-10-10T13:03:24.000Z | server/controllers/main.py | eruixma/trading-app | 3db3bbd27fdc405b9ecb41d9e68330899a3dcc6a | [
"BSD-2-Clause"
] | 1 | 2021-06-01T23:31:21.000Z | 2021-06-01T23:31:21.000Z | server/controllers/main.py | eruixma/trading-app | 3db3bbd27fdc405b9ecb41d9e68330899a3dcc6a | [
"BSD-2-Clause"
] | 1 | 2021-08-19T03:09:05.000Z | 2021-08-19T03:09:05.000Z | from flask import Blueprint, current_app
main = Blueprint('main', __name__)
@main.route('/')
def home():
return current_app.send_static_file('index.html')
| 16.3 | 53 | 0.723926 | 22 | 163 | 5 | 0.772727 | 0.181818 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134969 | 163 | 9 | 54 | 18.111111 | 0.780142 | 0 | 0 | 0 | 0 | 0 | 0.092593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.2 | 0.2 | 0.6 | 0.4 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
f523394a40a39dc77c57c643a75603c33eb11af0 | 176 | py | Python | lib/models/backbones/efficientdet/__init__.py | shachargluska/centerpose | 01c2c8bfa9d3ee91807f2ffdcc48728d104265bd | [
"MIT"
] | 245 | 2019-11-29T02:55:25.000Z | 2022-03-30T07:30:18.000Z | lib/models/backbones/efficientdet/__init__.py | shachargluska/centerpose | 01c2c8bfa9d3ee91807f2ffdcc48728d104265bd | [
"MIT"
] | 24 | 2019-11-29T10:05:00.000Z | 2022-03-30T07:16:06.000Z | lib/models/backbones/efficientdet/__init__.py | FishLiuabc/centerpose | 555d753cd82693476f91f78c53aa4147f5a83015 | [
"MIT"
] | 45 | 2019-11-29T05:12:02.000Z | 2022-03-21T02:20:36.000Z | from .efficientdet import EfficientDet
def get_efficientdet(num_layers, cfg):
model = EfficientDet(intermediate_channels=cfg.MODEL.INTERMEDIATE_CHANNEL)
return model
| 25.142857 | 78 | 0.8125 | 20 | 176 | 6.95 | 0.65 | 0.115108 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 176 | 6 | 79 | 29.333333 | 0.902597 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
f52fef7331b7922effcc0ce7dc2004ff0e5e1b57 | 149 | py | Python | src/pygame_utils/sprite/gamecomponent.py | MarronEyes/pygame_utils | 27a1f1328533d04c20ccb95208d44fda3be81a09 | [
"MIT"
] | null | null | null | src/pygame_utils/sprite/gamecomponent.py | MarronEyes/pygame_utils | 27a1f1328533d04c20ccb95208d44fda3be81a09 | [
"MIT"
] | null | null | null | src/pygame_utils/sprite/gamecomponent.py | MarronEyes/pygame_utils | 27a1f1328533d04c20ccb95208d44fda3be81a09 | [
"MIT"
] | null | null | null | import pygame
from graphics.component import Component
class GameComponent(Component):
def __init__(self) -> None:
super().__init__()
| 16.555556 | 40 | 0.718121 | 16 | 149 | 6.1875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.187919 | 149 | 8 | 41 | 18.625 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
f566d3437e302ac56089e454a2ea9560ed781683 | 14,376 | py | Python | dttpy/dttdata.py | neouniverse/dttpy | c5ff8870d796d84b39c4e6f82ec4eefe523cc3e7 | [
"MIT"
] | null | null | null | dttpy/dttdata.py | neouniverse/dttpy | c5ff8870d796d84b39c4e6f82ec4eefe523cc3e7 | [
"MIT"
] | null | null | null | dttpy/dttdata.py | neouniverse/dttpy | c5ff8870d796d84b39c4e6f82ec4eefe523cc3e7 | [
"MIT"
] | null | null | null | #
#! coding:utf-8
import xml.etree.ElementTree as ET
from xml.etree import ElementTree
import base64
import binascii
import numpy as np
import matplotlib.pyplot as plt
from collections import OrderedDict
SubType = {'1':'ASD','2':'CSD','3':'TF','4':'???','5':'COH'}
average_type = {'0':'Fixed','1':'Exponential','2':'Ac... | 38.438503 | 81 | 0.483097 | 1,673 | 14,376 | 4.115959 | 0.112971 | 0.040517 | 0.048795 | 0.062736 | 0.754284 | 0.726111 | 0.719576 | 0.704328 | 0.685013 | 0.649579 | 0 | 0.018671 | 0.35921 | 14,376 | 373 | 82 | 38.541555 | 0.728832 | 0.059265 | 0 | 0.643836 | 0 | 0 | 0.107916 | 0.044035 | 0 | 0 | 0 | 0 | 0 | 1 | 0.061644 | false | 0 | 0.034247 | 0 | 0.136986 | 0.027397 | 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 |
f570cddcfd6909cf11435d43423d70ccb8d64b16 | 133 | py | Python | WEEKS/wk17/CodeSignal-Solutions/Core_007_-_lateRide.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/wk17/CodeSignal-Solutions/Core_007_-_lateRide.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | WEEKS/wk17/CodeSignal-Solutions/Core_007_-_lateRide.py | webdevhub42/Lambda | b04b84fb5b82fe7c8b12680149e25ae0d27a0960 | [
"MIT"
] | null | null | null | def lateRide(n):
hours = n // 60
minutes = n % 60
return (hours // 10) + (hours % 10) + (minutes // 10) + (minutes % 10)
| 26.6 | 74 | 0.511278 | 18 | 133 | 3.777778 | 0.444444 | 0.088235 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.129032 | 0.300752 | 133 | 4 | 75 | 33.25 | 0.602151 | 0 | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f57f22bf388fb4aa2a7b99663c5c1b62f0a9da4f | 108 | py | Python | getpaid/rest_framework/apps.py | wuuuduu/django-getpaid | d864de53bc947e2d1ab4f2d3879a803cab1216d3 | [
"MIT"
] | 6 | 2020-05-26T08:49:10.000Z | 2022-01-03T17:44:19.000Z | getpaid/rest_framework/apps.py | wuuuduu/django-getpaid | d864de53bc947e2d1ab4f2d3879a803cab1216d3 | [
"MIT"
] | null | null | null | getpaid/rest_framework/apps.py | wuuuduu/django-getpaid | d864de53bc947e2d1ab4f2d3879a803cab1216d3 | [
"MIT"
] | 1 | 2021-08-23T06:59:05.000Z | 2021-08-23T06:59:05.000Z | from django.apps import AppConfig
class GetpaidRestConfig(AppConfig):
name = "getpaid_rest_framework"
| 18 | 35 | 0.796296 | 12 | 108 | 7 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138889 | 108 | 5 | 36 | 21.6 | 0.903226 | 0 | 0 | 0 | 0 | 0 | 0.203704 | 0.203704 | 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 |
f58a63fcbad7aec0c720d44005782e265c314a57 | 17 | py | Python | inventoryanalytics/simulation/deterministic/__init__.py | vishalbelsare/inventoryanalytics | 85feff8f1abaf2c29414e066eed096ac3a74973b | [
"MIT"
] | 7 | 2018-06-17T02:45:33.000Z | 2021-06-11T09:13:06.000Z | inventoryanalytics/simulation/deterministic/__init__.py | vishalbelsare/inventoryanalytics | 85feff8f1abaf2c29414e066eed096ac3a74973b | [
"MIT"
] | 1 | 2021-02-07T03:33:22.000Z | 2021-06-02T21:11:59.000Z | inventoryanalytics/simulation/deterministic/__init__.py | vishalbelsare/inventoryanalytics | 85feff8f1abaf2c29414e066eed096ac3a74973b | [
"MIT"
] | 7 | 2018-07-14T19:45:43.000Z | 2021-10-12T09:45:04.000Z | __all__ = ["des"] | 17 | 17 | 0.588235 | 2 | 17 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117647 | 17 | 1 | 17 | 17 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 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 |
f59759138fa73fcc525ff95be2e388e6c99396f6 | 530 | py | Python | app/models/user.py | johnshumon/fastapi-boilerplate | f0cb31e74ab773b8ce044149b17ce24c2e7fa4fc | [
"MIT"
] | null | null | null | app/models/user.py | johnshumon/fastapi-boilerplate | f0cb31e74ab773b8ce044149b17ce24c2e7fa4fc | [
"MIT"
] | null | null | null | app/models/user.py | johnshumon/fastapi-boilerplate | f0cb31e74ab773b8ce044149b17ce24c2e7fa4fc | [
"MIT"
] | null | null | null | """
User models module
"""
from sqlalchemy import Column, Integer, String
from app.models import Base
class User(Base):
"""User class"""
id: int = Column(Integer, primary_key=True, index=True)
firstname: str = Column(String(50), nullable=False, index=True)
lastname: str = Column(String(50), nullabl... | 27.894737 | 79 | 0.696226 | 71 | 530 | 5.183099 | 0.408451 | 0.122283 | 0.203804 | 0.138587 | 0.461957 | 0.461957 | 0.211957 | 0.211957 | 0 | 0 | 0 | 0.027088 | 0.164151 | 530 | 18 | 80 | 29.444444 | 0.803612 | 0.054717 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.111111 | 0.222222 | 0 | 1 | 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 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
f5987f75714e27b31f8445c59b2b8df50b29383c | 782 | py | Python | oops_fhir/r4/value_set/parent_relationship_codes.py | Mikuana/oops_fhir | 77963315d123756b7d21ae881f433778096a1d25 | [
"MIT"
] | null | null | null | oops_fhir/r4/value_set/parent_relationship_codes.py | Mikuana/oops_fhir | 77963315d123756b7d21ae881f433778096a1d25 | [
"MIT"
] | null | null | null | oops_fhir/r4/value_set/parent_relationship_codes.py | Mikuana/oops_fhir | 77963315d123756b7d21ae881f433778096a1d25 | [
"MIT"
] | null | null | null | from pathlib import Path
from fhir.resources.valueset import ValueSet as _ValueSet
from oops_fhir.utils import ValueSet
from oops_fhir.r4.code_system.v3_role_code import v3RoleCode
__all__ = ["ParentRelationshipCodes"]
_resource = _ValueSet.parse_file(Path(__file__).with_suffix(".json"))
class ParentRelationsh... | 23 | 76 | 0.751918 | 99 | 782 | 5.747475 | 0.666667 | 0.049209 | 0.056239 | 0.070299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013953 | 0.175192 | 782 | 33 | 77 | 23.69697 | 0.868217 | 0.468031 | 0 | 0 | 0 | 0 | 0.069136 | 0.05679 | 0 | 0 | 0 | 0.030303 | 0 | 1 | 0 | false | 0.1 | 0.4 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
194c38c24bff2dd1b26d3bd458a2d3f23f28316b | 121 | py | Python | controle_de_estoque/app.py | rodrigo-labs/controle_estoque | 890acefef2c3dace68723d086a0d40f27ff20476 | [
"MIT"
] | 6 | 2020-09-20T21:38:47.000Z | 2021-11-15T10:45:02.000Z | controle_de_estoque/app.py | rodrigo-labs/controle_estoque | 890acefef2c3dace68723d086a0d40f27ff20476 | [
"MIT"
] | null | null | null | controle_de_estoque/app.py | rodrigo-labs/controle_estoque | 890acefef2c3dace68723d086a0d40f27ff20476 | [
"MIT"
] | 6 | 2019-06-27T18:15:51.000Z | 2022-02-17T19:31:59.000Z | from controle_de_estoque.controllers import controllers
if __name__ == "__main__":
controllers.principal_controle()
| 24.2 | 55 | 0.809917 | 13 | 121 | 6.692308 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115702 | 121 | 4 | 56 | 30.25 | 0.813084 | 0 | 0 | 0 | 0 | 0 | 0.066116 | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.