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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
f0a91f0f697d1c7f602b763894c82d584829f871 | 454 | py | Python | new_arch/Players/TestPlayer2.py | unball/strategy | 51a9bd0b7c55222712dd655ceaa85fa1099dcf60 | [
"MIT"
] | 1 | 2017-11-27T12:49:03.000Z | 2017-11-27T12:49:03.000Z | new_arch/Players/TestPlayer2.py | unball/strategy | 51a9bd0b7c55222712dd655ceaa85fa1099dcf60 | [
"MIT"
] | null | null | null | new_arch/Players/TestPlayer2.py | unball/strategy | 51a9bd0b7c55222712dd655ceaa85fa1099dcf60 | [
"MIT"
] | null | null | null | from player import *
from math import pi
from math import fabs
class TestPlayer2(Player):
def __init__(self):
super(TestPlayer2, self).__init__()
self.strategy = GoToBall2()
def updateStrategy(self):
pass
def isInsideConeOfRadiusAndMaxDistance(self, angle_ball_to_player, radius = ... | 23.894737 | 103 | 0.682819 | 51 | 454 | 5.862745 | 0.568627 | 0.053512 | 0.093645 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020057 | 0.231278 | 454 | 18 | 104 | 25.222222 | 0.836676 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0.142857 | 0.214286 | 0.071429 | 0.642857 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
f0c203313aee317df1740ec7af53178fa8c524f6 | 93 | py | Python | src/controllers/__init__.py | liyheng/FOP | e100a972753a5232d2eab399b1c4f76dfa43947e | [
"Apache-2.0"
] | 5 | 2021-07-28T08:31:33.000Z | 2021-12-22T06:49:37.000Z | src/controllers/__init__.py | liyheng/FOP | e100a972753a5232d2eab399b1c4f76dfa43947e | [
"Apache-2.0"
] | null | null | null | src/controllers/__init__.py | liyheng/FOP | e100a972753a5232d2eab399b1c4f76dfa43947e | [
"Apache-2.0"
] | 4 | 2021-07-09T04:56:57.000Z | 2022-01-08T04:53:27.000Z | REGISTRY = {}
from .basic_controller import BasicMAC
REGISTRY["basic_mac"] = BasicMAC
| 15.5 | 39 | 0.72043 | 10 | 93 | 6.5 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.182796 | 93 | 5 | 40 | 18.6 | 0.855263 | 0 | 0 | 0 | 0 | 0 | 0.102273 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
f0c8cffb078d08435da02ffd9a283e9346fc92fc | 679 | py | Python | api/models/user.py | thpereiras/chatbot_api | 39b6084b6665910912e1438d950c7e769e321d02 | [
"MIT"
] | null | null | null | api/models/user.py | thpereiras/chatbot_api | 39b6084b6665910912e1438d950c7e769e321d02 | [
"MIT"
] | null | null | null | api/models/user.py | thpereiras/chatbot_api | 39b6084b6665910912e1438d950c7e769e321d02 | [
"MIT"
] | null | null | null | from api import db
from flask_bcrypt import generate_password_hash, check_password_hash
class UserModel(db.Model):
__tablename__ = "users"
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(100))
login = db.Column(db.String(100), unique=True)
password = db.Column(db.String(100... | 32.333333 | 71 | 0.702504 | 89 | 679 | 5.146067 | 0.382022 | 0.087336 | 0.10917 | 0.104803 | 0.124454 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018182 | 0.189985 | 679 | 20 | 72 | 33.95 | 0.814545 | 0 | 0 | 0 | 1 | 0 | 0.013255 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0.375 | 0.125 | 0.0625 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
f0d643de3a03e61af76799f34be0ce3b905e4860 | 366 | py | Python | tests/test_input_navier_stokes2d_iga.py | BubuLK/sfepy | 3e8e2082c26d574dc334fe3a0e0eeb723f7a6657 | [
"BSD-3-Clause"
] | 510 | 2015-01-19T16:22:25.000Z | 2022-03-30T19:02:51.000Z | tests/test_input_navier_stokes2d_iga.py | vlukes/sfepy | f02f88c5df9814ad710c658429e23c90744b0d9d | [
"BSD-3-Clause"
] | 402 | 2015-01-22T10:57:50.000Z | 2022-03-30T15:19:23.000Z | tests/test_input_navier_stokes2d_iga.py | vlukes/sfepy | f02f88c5df9814ad710c658429e23c90744b0d9d | [
"BSD-3-Clause"
] | 156 | 2015-01-05T14:23:38.000Z | 2022-03-22T13:08:30.000Z | from __future__ import absolute_import
input_name = '../examples/navier_stokes/navier_stokes2d_iga.py'
output_name = 'test_navier_stokes2d_iga.vtk'
try:
from igakit import igalib
except ImportError:
from tests_basic import TestDummy
class Test(TestDummy):
pass
else:
from tests_basic import Test... | 24.4 | 63 | 0.751366 | 47 | 366 | 5.531915 | 0.574468 | 0.107692 | 0.130769 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006734 | 0.188525 | 366 | 14 | 64 | 26.142857 | 0.868687 | 0 | 0 | 0.153846 | 0 | 0 | 0.20765 | 0.20765 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.153846 | 0.384615 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 3 |
f0e331bd0650176a200701f28d2a71e26c3c99bc | 555 | py | Python | utime/models/utils.py | aluquecerp/U-Time | c792259825b57e49544684ce2997f3ac8db84c6e | [
"MIT"
] | 138 | 2019-11-20T02:31:17.000Z | 2022-03-23T04:31:51.000Z | utime/models/utils.py | amiyapatanaik/U-Time | a9ed4892da77d165a71dbfef1d069d782c909757 | [
"MIT"
] | 46 | 2019-12-04T03:13:28.000Z | 2022-03-31T13:10:48.000Z | utime/models/utils.py | amiyapatanaik/U-Time | a9ed4892da77d165a71dbfef1d069d782c909757 | [
"MIT"
] | 42 | 2019-11-26T16:02:26.000Z | 2022-01-06T11:01:32.000Z |
def standardize_batch_shape(batch_shape):
batch_shape = list(batch_shape)
if len(batch_shape) == 3:
return batch_shape[1:]
elif len(batch_shape) == 2:
return batch_shape
elif len(batch_shape) == 1:
return batch_shape + [1]
elif len(batch_shape) == 4:
return batch_sh... | 32.647059 | 84 | 0.596396 | 71 | 555 | 4.422535 | 0.422535 | 0.44586 | 0.165605 | 0.16242 | 0.216561 | 0.216561 | 0.216561 | 0.216561 | 0 | 0 | 0 | 0.020672 | 0.302703 | 555 | 16 | 85 | 34.6875 | 0.790698 | 0 | 0 | 0 | 0 | 0 | 0.202532 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.071429 | false | 0.071429 | 0 | 0 | 0.357143 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
f0e5dd4682cb37f4e68333f27ec63948065ce570 | 338 | py | Python | bananagui/wrappers/dummy/widgets/basewidgets.py | Akuli/BananaGUI | d1bb2823770fb9d2e13da1d377d7a51e6a144679 | [
"MIT"
] | 4 | 2017-01-13T16:51:45.000Z | 2019-06-13T20:54:42.000Z | bananagui/wrappers/dummy/widgets/basewidgets.py | Akuli/BananaGUI | d1bb2823770fb9d2e13da1d377d7a51e6a144679 | [
"MIT"
] | 1 | 2019-06-13T21:04:42.000Z | 2019-06-20T13:27:56.000Z | bananagui/wrappers/dummy/widgets/basewidgets.py | Akuli/BananaGUI | d1bb2823770fb9d2e13da1d377d7a51e6a144679 | [
"MIT"
] | null | null | null | class Widget:
def __init__(self, bananawidget):
self.real_widget = None
self.bananawidget = bananawidget
def focus(self):
pass
class Child(Widget):
def set_expand(self, expand):
pass
def set_tooltip(self, tooltip):
pass
def set_grayed_out(self, grayed_o... | 16.095238 | 41 | 0.615385 | 40 | 338 | 4.95 | 0.4 | 0.090909 | 0.10101 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.304734 | 338 | 20 | 42 | 16.9 | 0.842553 | 0 | 0 | 0.307692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0.307692 | 0 | 0 | 0.538462 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 3 |
f0ec5241ba8b7e88491f6724d5f5c28c3e4b3530 | 820 | py | Python | etlt/condition/TrueCondition.py | SetBased/py-etlt | 542e4d1dc974dad60f4e338a334c932a40b45ee2 | [
"MIT"
] | 4 | 2016-06-21T21:13:54.000Z | 2017-11-30T21:14:14.000Z | etlt/condition/TrueCondition.py | PyETLT/etlt | 542e4d1dc974dad60f4e338a334c932a40b45ee2 | [
"MIT"
] | null | null | null | etlt/condition/TrueCondition.py | PyETLT/etlt | 542e4d1dc974dad60f4e338a334c932a40b45ee2 | [
"MIT"
] | 4 | 2016-06-21T21:02:24.000Z | 2019-04-24T14:59:36.000Z | from etlt.condition.SimpleCondition import SimpleCondition
class TrueCondition(SimpleCondition):
"""
A true condition always evaluates to True.
"""
# ------------------------------------------------------------------------------------------------------------------
def match(self, row):
""... | 26.451613 | 120 | 0.30122 | 43 | 820 | 5.744186 | 0.604651 | 0.089069 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.217073 | 820 | 30 | 121 | 27.333333 | 0.384735 | 0.6 | 0 | 0 | 0 | 0 | 0.016667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.142857 | 0 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
f0f4c79f393762a1301647b6bb693973d7151fd2 | 589 | py | Python | inspire_magpie/errors.py | jstypka/inspire-magpie | 7294b9f5347197f59bf7b3f9d164f2ff35a52cef | [
"MIT"
] | 1 | 2017-11-17T17:30:36.000Z | 2017-11-17T17:30:36.000Z | inspire_magpie/errors.py | jstypka/inspire-magpie | 7294b9f5347197f59bf7b3f9d164f2ff35a52cef | [
"MIT"
] | 6 | 2016-05-03T09:25:19.000Z | 2019-03-22T00:45:43.000Z | inspire_magpie/errors.py | jstypka/inspire-magpie | 7294b9f5347197f59bf7b3f9d164f2ff35a52cef | [
"MIT"
] | 2 | 2016-04-13T13:53:36.000Z | 2016-04-28T14:51:42.000Z | # -*- coding: utf-8 -*-
#
# This file is part of Inspire-Magpie.
# Copyright (c) 2016 CERN
#
# Inspire-Magpie is a free software; you can redistribute it and/or modify it
# under the terms of the MIT License; see LICENSE file for
# more details.
"""Custom exceptions.
.. codeauthor:: Jan Aage Lavik <jan.age.lavik@cern... | 24.541667 | 77 | 0.733447 | 79 | 589 | 5.392405 | 0.759494 | 0.091549 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010081 | 0.157895 | 589 | 23 | 78 | 25.608696 | 0.84879 | 0.672326 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 1 | 0.333333 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
0b0c3e87b36c369313081ab6d6174d957264ab7b | 884 | py | Python | tools/leetcode.002.Add Two Numbers/leetcode.002.Add Two Numbers.submission16.py | tedye/leetcode | 975d7e3b8cb9b6be9e80e07febf4bcf6414acd46 | [
"MIT"
] | 4 | 2015-10-10T00:30:55.000Z | 2020-07-27T19:45:54.000Z | tools/leetcode.002.Add Two Numbers/leetcode.002.Add Two Numbers.submission16.py | tedye/leetcode | 975d7e3b8cb9b6be9e80e07febf4bcf6414acd46 | [
"MIT"
] | null | null | null | tools/leetcode.002.Add Two Numbers/leetcode.002.Add Two Numbers.submission16.py | tedye/leetcode | 975d7e3b8cb9b6be9e80e07febf4bcf6414acd46 | [
"MIT"
] | null | null | null | # Definition for singly-linked list.
# class ListNode:
# def __init__(self, x):
# self.val = x
# self.next = None
class Solution:
# @return a ListNode
def addTwoNumbers(self, l1, l2):
if not l1: return l2
if not l2: return l1
s = (l1.val + l2.val) % 10
carry ... | 884 | 884 | 0.443439 | 106 | 884 | 3.660377 | 0.301887 | 0.03866 | 0.036082 | 0.051546 | 0.061856 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077406 | 0.459276 | 884 | 1 | 884 | 884 | 0.73431 | 0.958145 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.043478 | false | 0 | 0 | 0 | 0.130435 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0b1a6e9e03a412c93c7abf3ffbcbcf06ea27175e | 837 | py | Python | aiotdlib/api/functions/get_recent_inline_bots.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 37 | 2021-05-04T10:41:41.000Z | 2022-03-30T13:48:05.000Z | aiotdlib/api/functions/get_recent_inline_bots.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 13 | 2021-07-17T19:54:51.000Z | 2022-02-26T06:50:00.000Z | aiotdlib/api/functions/get_recent_inline_bots.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 7 | 2021-09-22T21:27:11.000Z | 2022-02-20T02:33:19.000Z | # =============================================================================== #
# #
# This file has been generated automatically!! Do not change this manually! #
# ... | 34.875 | 83 | 0.425329 | 58 | 837 | 6.051724 | 0.810345 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.003565 | 0.329749 | 837 | 23 | 84 | 36.391304 | 0.622103 | 0.573477 | 0 | 0 | 1 | 0 | 0.07362 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0.375 | 0.125 | 0.875 | 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 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 3 |
9bc636a3fbf20f5de00bc19a2c592987ec34164d | 12,816 | py | Python | tests/activity_recognition_metric_values.py | darpa-sail-on/sail-on-client | 1fd7c0ec359469040fd7af0c8e56fe53277d4a27 | [
"Apache-2.0"
] | 1 | 2021-04-12T17:20:54.000Z | 2021-04-12T17:20:54.000Z | tests/activity_recognition_metric_values.py | darpa-sail-on/sail-on-client | 1fd7c0ec359469040fd7af0c8e56fe53277d4a27 | [
"Apache-2.0"
] | 92 | 2021-03-08T22:32:15.000Z | 2022-03-25T03:53:01.000Z | tests/activity_recognition_metric_values.py | darpa-sail-on/sail-on-client | 1fd7c0ec359469040fd7af0c8e56fe53277d4a27 | [
"Apache-2.0"
] | null | null | null | """values for different metrics used activity recognition evaluation."""
import pytest
@pytest.fixture(scope="function")
def expected_ar_m_acc_values():
"""Values for m_acc."""
return {
"full_top1": 0.1988,
"full_top3": 0.25602,
"pre_top1": 0.0,
"pre_top3": 0.08547,
"p... | 27.62069 | 72 | 0.490247 | 2,129 | 12,816 | 2.643025 | 0.086426 | 0.071974 | 0.063977 | 0.010663 | 0.563 | 0.370002 | 0.33126 | 0.33126 | 0.27368 | 0.22783 | 0 | 0.297855 | 0.327013 | 12,816 | 463 | 73 | 27.680346 | 0.354551 | 0.020443 | 0 | 0.301843 | 0 | 0 | 0.360473 | 0.003359 | 0 | 0 | 0 | 0 | 0 | 1 | 0.020737 | true | 0 | 0.002304 | 0 | 0.043779 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
9bc9f72db0672c95b953aa3a5cf29e2baa1c7154 | 1,019 | py | Python | holobot/sdk/database/queries/on_conflict_builder.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 1 | 2021-05-24T00:17:46.000Z | 2021-05-24T00:17:46.000Z | holobot/sdk/database/queries/on_conflict_builder.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | 41 | 2021-03-24T22:50:09.000Z | 2021-12-17T12:15:13.000Z | holobot/sdk/database/queries/on_conflict_builder.py | rexor12/holobot | 89b7b416403d13ccfeee117ef942426b08d3651d | [
"MIT"
] | null | null | null | from .compiled_query import CompiledQuery
from .do_nothing_builder import DoNothingBuilder
from .iquery_part_builder import IQueryPartBuilder
from .on_conflict_update_builder import OnConflictUpdateBuilder
from typing import Any, List, Tuple
class OnConflictBuilder(IQueryPartBuilder):
def __init__(self, parent_bui... | 40.76 | 94 | 0.716389 | 107 | 1,019 | 6.570093 | 0.336449 | 0.073969 | 0.072546 | 0.096728 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178606 | 1,019 | 24 | 95 | 42.458333 | 0.839904 | 0 | 0 | 0 | 0 | 0 | 0.019627 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.263158 | false | 0 | 0.263158 | 0.157895 | 0.789474 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
9bf2b71ddf9e6c7879cba66ac241d7dd5b937dfb | 212 | py | Python | minst/sources/__init__.py | oriolromani/minst-dataset | 5847ac421522a393df77ca2a43acdc326f7d64e8 | [
"0BSD"
] | 44 | 2016-03-26T13:41:09.000Z | 2022-01-19T08:52:47.000Z | minst/sources/__init__.py | oriolromani/minst-dataset | 5847ac421522a393df77ca2a43acdc326f7d64e8 | [
"0BSD"
] | 37 | 2016-05-25T06:32:44.000Z | 2018-08-21T09:15:40.000Z | minst/sources/__init__.py | oriolromani/minst-dataset | 5847ac421522a393df77ca2a43acdc326f7d64e8 | [
"0BSD"
] | 8 | 2016-05-25T13:45:44.000Z | 2021-06-18T12:14:01.000Z | from . import philharmonia as philz
from . import rwc
from . import uiowa
from . import goodsounds
SOURCES = {
philz.NAME: philz,
rwc.NAME: rwc,
uiowa.NAME: uiowa,
goodsounds.NAME: goodsounds
}
| 16.307692 | 35 | 0.688679 | 27 | 212 | 5.407407 | 0.37037 | 0.273973 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.226415 | 212 | 12 | 36 | 17.666667 | 0.890244 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
5011efb15d87509d0d406a8fb676c53e3a429dc9 | 157 | py | Python | flexitext/version.py | swiftfish/flexitext | 9863650b662bef6dd63222f0b9bade2e72f4d762 | [
"MIT"
] | 73 | 2021-09-19T20:38:49.000Z | 2022-03-30T10:23:08.000Z | flexitext/version.py | swiftfish/flexitext | 9863650b662bef6dd63222f0b9bade2e72f4d762 | [
"MIT"
] | 9 | 2021-09-22T11:49:35.000Z | 2022-03-06T18:20:09.000Z | flexitext/version.py | swiftfish/flexitext | 9863650b662bef6dd63222f0b9bade2e72f4d762 | [
"MIT"
] | 3 | 2021-09-21T01:30:52.000Z | 2022-03-06T12:30:48.000Z | __all__ = ["__author__", "__author_email__", "__version__"]
__author__ = "Tomas Capretto"
__author_email__ = "tomicapretto@gmail.com"
__version__ = "0.2.0"
| 26.166667 | 59 | 0.745223 | 17 | 157 | 5.117647 | 0.647059 | 0.252874 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.021277 | 0.101911 | 157 | 5 | 60 | 31.4 | 0.595745 | 0 | 0 | 0 | 0 | 0 | 0.496815 | 0.140127 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
501e54bca9ee3e0136e250d184a9585a652508b1 | 2,910 | py | Python | reunionite/models.py | Irkam/reunionite | cdff15e85616b6e971db2b5a3dd54c325499c7b0 | [
"Beerware"
] | null | null | null | reunionite/models.py | Irkam/reunionite | cdff15e85616b6e971db2b5a3dd54c325499c7b0 | [
"Beerware"
] | null | null | null | reunionite/models.py | Irkam/reunionite | cdff15e85616b6e971db2b5a3dd54c325499c7b0 | [
"Beerware"
] | null | null | null | '''
Created on 26 déc. 2014
@author: Jean-Vincent
'''
from django.db import models
from django.db.models import Model
from django.contrib.auth.models import Group, User
class Meeting(Model):
name = models.CharField(max_length=64, blank=False)
description = models.TextField(blank=False)
location = mo... | 32.333333 | 172 | 0.688316 | 374 | 2,910 | 5.181818 | 0.251337 | 0.05676 | 0.04128 | 0.024768 | 0.26677 | 0.152219 | 0.102683 | 0.047472 | 0.047472 | 0.047472 | 0 | 0.004202 | 0.182131 | 2,910 | 90 | 173 | 32.333333 | 0.810084 | 0.015808 | 0 | 0.155172 | 0 | 0 | 0.037802 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.224138 | false | 0 | 0.051724 | 0.206897 | 0.810345 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5026152a0c9025a2f68a5134c8c700ad3358197c | 492 | py | Python | tests/test_coverage.py | knutdrand/bdgtools | 18d21586515ec03e5fb96e959447f6b35e5350de | [
"MIT"
] | null | null | null | tests/test_coverage.py | knutdrand/bdgtools | 18d21586515ec03e5fb96e959447f6b35e5350de | [
"MIT"
] | null | null | null | tests/test_coverage.py | knutdrand/bdgtools | 18d21586515ec03e5fb96e959447f6b35e5350de | [
"MIT"
] | null | null | null | import pytest
from bdgtools.regions import Regions
from bdgtools.bedgraph import BedGraph
from bdgtools.coverage import get_coverage
@pytest.fixture
def regions():
return Regions([2, 2, 3, 5, 5, 7],
[5, 6, 7, 8, 9, 10])
@pytest.fixture
def bedgraph():
return BedGraph([0, 2, 3, 5, 6, 8, 9, ... | 24.6 | 46 | 0.634146 | 73 | 492 | 4.205479 | 0.342466 | 0.143322 | 0.175896 | 0.169381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0.237805 | 492 | 19 | 47 | 25.894737 | 0.738667 | 0 | 0 | 0.133333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.066667 | 1 | 0.2 | false | 0 | 0.266667 | 0.133333 | 0.6 | 0.066667 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
503bd62bfd71be31eaa3d1ae9125feba6ab20bc9 | 112 | py | Python | Ekeopara_Praise/Phase 2/STRINGS/Day31 Tasks/Task3.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 6 | 2020-05-23T19:53:25.000Z | 2021-05-08T20:21:30.000Z | Ekeopara_Praise/Phase 2/STRINGS/Day31 Tasks/Task3.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 8 | 2020-05-14T18:53:12.000Z | 2020-07-03T00:06:20.000Z | Ekeopara_Praise/Phase 2/STRINGS/Day31 Tasks/Task3.py | CodedLadiesInnovateTech/-python-challenge-solutions | 430cd3eb84a2905a286819eef384ee484d8eb9e7 | [
"MIT"
] | 39 | 2020-05-10T20:55:02.000Z | 2020-09-12T17:40:59.000Z | '''3. Write a Python program to remove a newline in Python. '''
line ='Python Exercises\n'
print(line.rstrip()) | 28 | 63 | 0.705357 | 18 | 112 | 4.388889 | 0.777778 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0.142857 | 112 | 4 | 64 | 28 | 0.8125 | 0.5 | 0 | 0 | 0 | 0 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
503e4c82863d119cbe4488326ca3fedfb9b90307 | 122 | py | Python | awkwardql/version.py | lgray/AwkwardQL | 53802afa248740893512d01b8b7365a2e3a34367 | [
"BSD-3-Clause"
] | 1 | 2019-12-28T21:11:22.000Z | 2019-12-28T21:11:22.000Z | awkwardql/version.py | lgray/AwkwardQL | 53802afa248740893512d01b8b7365a2e3a34367 | [
"BSD-3-Clause"
] | 3 | 2020-01-08T07:01:57.000Z | 2020-01-08T15:54:48.000Z | awkwardql/version.py | lgray/AwkwardQL | 53802afa248740893512d01b8b7365a2e3a34367 | [
"BSD-3-Clause"
] | 1 | 2020-01-08T06:50:13.000Z | 2020-01-08T06:50:13.000Z | import re
__version__ = "0.0.1.dev4"
version = __version__
version_info = tuple(re.split(r"[-\.]", __version__))
del re
| 15.25 | 53 | 0.696721 | 18 | 122 | 4 | 0.611111 | 0.388889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.037736 | 0.131148 | 122 | 7 | 54 | 17.428571 | 0.641509 | 0 | 0 | 0 | 0 | 0 | 0.122951 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ac97af0921dc2cdc7177c5b6ef9ecde0a576accd | 25 | py | Python | examples/common/python/database/__init__.py | dcmiddle/avalon | 0a71627fc7c53bd55c7f479930ccd4b5b9e084b6 | [
"Apache-2.0"
] | 1 | 2021-07-07T06:12:27.000Z | 2021-07-07T06:12:27.000Z | examples/common/python/database/__init__.py | dcmiddle/avalon | 0a71627fc7c53bd55c7f479930ccd4b5b9e084b6 | [
"Apache-2.0"
] | null | null | null | examples/common/python/database/__init__.py | dcmiddle/avalon | 0a71627fc7c53bd55c7f479930ccd4b5b9e084b6 | [
"Apache-2.0"
] | 2 | 2019-09-14T06:00:29.000Z | 2020-04-02T10:21:42.000Z |
__all__ = ["connector"]
| 8.333333 | 23 | 0.64 | 2 | 25 | 6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 2 | 24 | 12.5 | 0.571429 | 0 | 0 | 0 | 0 | 0 | 0.375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
ac9b6f488adffb2656e2c314a998ead01de386d9 | 934 | py | Python | prmlmy/util.py | jms7446/PRML | 39325e085597cb48623f331d63726eea0dc9a714 | [
"MIT"
] | 2 | 2020-09-07T04:21:58.000Z | 2020-09-24T23:32:05.000Z | prmlmy/util.py | jms7446/PRML | 39325e085597cb48623f331d63726eea0dc9a714 | [
"MIT"
] | null | null | null | prmlmy/util.py | jms7446/PRML | 39325e085597cb48623f331d63726eea0dc9a714 | [
"MIT"
] | null | null | null | import numpy as np
from numpy import asarray
from numpy.linalg import norm
def linv(X):
return np.linalg.pinv(X.transpose() @ X) @ X.transpose()
def rinv(X):
return X.transpose() @ np.linalg.pinv(X @ X.transpose())
def cv_(x):
x = asarray(x)
if x.ndim == 1:
return x[:, None]
elif x.ndi... | 19.061224 | 60 | 0.574946 | 163 | 934 | 3.220859 | 0.319018 | 0.053333 | 0.045714 | 0.049524 | 0.049524 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034884 | 0.263383 | 934 | 48 | 61 | 19.458333 | 0.728198 | 0 | 0 | 0 | 0 | 0 | 0.069593 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.09375 | 0.15625 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
aca701477b7919245bdb6d8890287af8c6aabe6e | 2,168 | py | Python | palto/errors.py | snlab/alto-server | 1d8b8530a8948930c267298801b0e2dcd78dd71a | [
"Apache-2.0"
] | null | null | null | palto/errors.py | snlab/alto-server | 1d8b8530a8948930c267298801b0e2dcd78dd71a | [
"Apache-2.0"
] | null | null | null | palto/errors.py | snlab/alto-server | 1d8b8530a8948930c267298801b0e2dcd78dd71a | [
"Apache-2.0"
] | 1 | 2015-04-25T17:03:18.000Z | 2015-04-25T17:03:18.000Z | #!/usr/bin/env python3
"""
See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html for a list of status code
"""
from .rfc7285 import mimetypes
import logging
import traceback
import bottle
def is_error(code):
return not code in [200, 204]
def format_error(response = bottle.response, message='', exception = ... | 32.848485 | 84 | 0.706181 | 269 | 2,168 | 5.591078 | 0.319703 | 0.086436 | 0.113697 | 0.132979 | 0.271277 | 0.224734 | 0.071809 | 0 | 0 | 0 | 0 | 0.025641 | 0.172509 | 2,168 | 65 | 85 | 33.353846 | 0.812709 | 0.132841 | 0 | 0.181818 | 0 | 0 | 0.054654 | 0 | 0 | 0 | 0 | 0.015385 | 0 | 1 | 0.227273 | false | 0 | 0.090909 | 0.022727 | 0.545455 | 0.022727 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
accec6ddbecf75ed2ba9141e4c7ea7854e09cb7e | 150 | py | Python | snapmerge/home/routing.py | R4356th/smerge | 2f2a6a4acfe3903ed4f71d90537f7277248e8b59 | [
"MIT"
] | 13 | 2018-07-16T09:59:55.000Z | 2022-01-27T19:07:17.000Z | snapmerge/home/routing.py | R4356th/smerge | 2f2a6a4acfe3903ed4f71d90537f7277248e8b59 | [
"MIT"
] | 55 | 2018-07-16T12:17:58.000Z | 2022-03-17T16:10:30.000Z | snapmerge/home/routing.py | R4356th/smerge | 2f2a6a4acfe3903ed4f71d90537f7277248e8b59 | [
"MIT"
] | 4 | 2019-10-10T20:16:49.000Z | 2021-03-12T07:15:50.000Z | from django.conf.urls import url
from . import consumers
websocket_urlpatterns = [
url(r'^ws/(?P<proj_id>[-\w]+)', consumers.SmergeConsumer),
]
| 18.75 | 62 | 0.7 | 20 | 150 | 5.15 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 150 | 7 | 63 | 21.428571 | 0.792308 | 0 | 0 | 0 | 0 | 0 | 0.153333 | 0.153333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
ace675bb98d3b79da1d068b876bfbeff7e10349d | 24 | py | Python | fdtool/modules/dbschema/__init__.py | dancps/FDTool | 0958f79fccbb3bb7d55cf9031ee4bd411e9c9b5a | [
"CC0-1.0"
] | 13 | 2019-03-22T13:30:04.000Z | 2022-02-01T04:46:44.000Z | fdtool/modules/dbschema/__init__.py | dancps/FDTool | 0958f79fccbb3bb7d55cf9031ee4bd411e9c9b5a | [
"CC0-1.0"
] | 3 | 2020-07-01T11:17:40.000Z | 2022-02-13T11:20:34.000Z | fdtool/modules/dbschema/__init__.py | dancps/FDTool | 0958f79fccbb3bb7d55cf9031ee4bd411e9c9b5a | [
"CC0-1.0"
] | 11 | 2018-07-02T23:46:31.000Z | 2021-12-14T12:29:38.000Z | __all__ = ['dbschema']
| 12 | 23 | 0.625 | 2 | 24 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 24 | 1 | 24 | 24 | 0.55 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
acf450460723575149f81578228ab39c55a80fe1 | 80 | py | Python | microsetta_public_api/api/diversity/beta.py | wasade/microsetta-public-api | cdbaa18103bbb2e49927a35ad956e079ad445f53 | [
"BSD-3-Clause"
] | null | null | null | microsetta_public_api/api/diversity/beta.py | wasade/microsetta-public-api | cdbaa18103bbb2e49927a35ad956e079ad445f53 | [
"BSD-3-Clause"
] | null | null | null | microsetta_public_api/api/diversity/beta.py | wasade/microsetta-public-api | cdbaa18103bbb2e49927a35ad956e079ad445f53 | [
"BSD-3-Clause"
] | null | null | null | def pcoa_contains(named_sample_set, sample_id):
raise NotImplementedError()
| 26.666667 | 47 | 0.8125 | 10 | 80 | 6.1 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1125 | 80 | 2 | 48 | 40 | 0.859155 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4a0429bbff48c89628ccdbb6f74b5a63736e69f5 | 259 | py | Python | 62. Unique Paths.py | viewv/leetcode | b31e643846bb38978746342e3e3a94991178565a | [
"MIT"
] | 2 | 2018-02-26T09:12:19.000Z | 2019-06-07T13:38:10.000Z | 62. Unique Paths.py | viewv/leetcode | b31e643846bb38978746342e3e3a94991178565a | [
"MIT"
] | 1 | 2018-12-24T07:03:34.000Z | 2018-12-24T07:03:34.000Z | 62. Unique Paths.py | viewv/leetcode | b31e643846bb38978746342e3e3a94991178565a | [
"MIT"
] | 2 | 2018-12-24T07:01:03.000Z | 2019-06-07T13:38:07.000Z | class Solution(object):
def uniquePaths(self, m, n):
dp = [[1 for x in range(m)] for y in range(n)]
for x in range(1, n):
for y in range(1, m):
dp[x][y] = dp[x - 1][y] + dp[x][y - 1]
return dp[n-1][m-1]
| 32.375 | 54 | 0.455598 | 49 | 259 | 2.408163 | 0.326531 | 0.237288 | 0.101695 | 0.186441 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042424 | 0.362934 | 259 | 7 | 55 | 37 | 0.672727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | 0 | null | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4a137381b585e9f7c5f4ba90e5898586431f64b1 | 1,880 | py | Python | tests/fixtures/schnet_fixtures.py | lmj1029123/schnetpack | 5b4c26f06db8fc9947d166840b5faba65519a11b | [
"MIT"
] | null | null | null | tests/fixtures/schnet_fixtures.py | lmj1029123/schnetpack | 5b4c26f06db8fc9947d166840b5faba65519a11b | [
"MIT"
] | null | null | null | tests/fixtures/schnet_fixtures.py | lmj1029123/schnetpack | 5b4c26f06db8fc9947d166840b5faba65519a11b | [
"MIT"
] | null | null | null | import pytest
from schnetpack.nn.cutoff import HardCutoff
from schnetpack.representation import SchNet
@pytest.fixture(scope="session")
def n_atom_basis():
return 128
@pytest.fixture(scope="session")
def n_filters():
return 128
@pytest.fixture(scope="session")
def n_interactions():
return 1
@pytest.... | 18.431373 | 50 | 0.714362 | 217 | 1,880 | 5.949309 | 0.184332 | 0.140976 | 0.195198 | 0.271108 | 0.419055 | 0.336948 | 0.209915 | 0.058869 | 0 | 0 | 0 | 0.009162 | 0.187234 | 1,880 | 101 | 51 | 18.613861 | 0.835733 | 0 | 0 | 0.287671 | 0 | 0 | 0.052128 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.191781 | false | 0 | 0.041096 | 0.191781 | 0.424658 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
4a1b57587f05c4ff9db916a44af54b319556d244 | 1,057 | py | Python | prg/config.py | abultman/PiAutomator | 2ad3aafdd6c94cf11fc2d60c9be489f76ac78277 | [
"Apache-2.0"
] | 5 | 2015-10-21T05:54:30.000Z | 2021-01-13T01:10:36.000Z | prg/config.py | abultman/PiAutomator | 2ad3aafdd6c94cf11fc2d60c9be489f76ac78277 | [
"Apache-2.0"
] | null | null | null | prg/config.py | abultman/PiAutomator | 2ad3aafdd6c94cf11fc2d60c9be489f76ac78277 | [
"Apache-2.0"
] | 5 | 2015-03-30T16:25:40.000Z | 2016-07-29T09:10:03.000Z | #!/usr/bin/python
import yaml
class AutomationConfig(object):
def __init__(self, basedir):
self.basedir = basedir
with open("%s/conf/config.yaml" % basedir) as f:
self.yaml = yaml.load(f)
def get_setting(self, mapList, default=None):
try:
return reduce(lambda d... | 24.022727 | 64 | 0.578051 | 128 | 1,057 | 4.640625 | 0.375 | 0.10101 | 0.094276 | 0.085859 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.317881 | 1,057 | 43 | 65 | 24.581395 | 0.823856 | 0.015137 | 0 | 0.125 | 0 | 0 | 0.0375 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.28125 | false | 0 | 0.03125 | 0.15625 | 0.65625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4a26c60d9fe0a6b4323489911c9aa7674c735b8d | 306 | py | Python | setup.py | jpmfribeiro/PyCharts | e1b52ba11adbb8fa884116019e2321bc769adfba | [
"MIT"
] | null | null | null | setup.py | jpmfribeiro/PyCharts | e1b52ba11adbb8fa884116019e2321bc769adfba | [
"MIT"
] | null | null | null | setup.py | jpmfribeiro/PyCharts | e1b52ba11adbb8fa884116019e2321bc769adfba | [
"MIT"
] | null | null | null | from distutils.core import setup
setup(
name='PyCharts',
version='',
packages=['pycharts', 'pycharts.charts',
'pycharts.fields', 'pycharts.fields.series', 'pycharts.fields.plot_options'],
url='',
license='',
author='jpedro',
author_email='',
description=''
)
| 21.857143 | 91 | 0.611111 | 29 | 306 | 6.37931 | 0.689655 | 0.227027 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.212418 | 306 | 13 | 92 | 23.538462 | 0.767635 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 0.163399 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.083333 | 0 | 0.083333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c5916dde625ca82a8aae1ae58e9bee0fec1a3207 | 223 | py | Python | backend/api_v1/serializers/groups.py | mailmumailku/lala | 3442abfeaa6b1260d9558720505ae8ff24cf9d45 | [
"MIT"
] | null | null | null | backend/api_v1/serializers/groups.py | mailmumailku/lala | 3442abfeaa6b1260d9558720505ae8ff24cf9d45 | [
"MIT"
] | null | null | null | backend/api_v1/serializers/groups.py | mailmumailku/lala | 3442abfeaa6b1260d9558720505ae8ff24cf9d45 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from contacts_app.models import GroupContacts
class GroupContactsSerializer(serializers.ModelSerializer):
class Meta:
model = GroupContacts
fields = ('id', 'name') | 31.857143 | 59 | 0.757848 | 22 | 223 | 7.590909 | 0.772727 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.174888 | 223 | 7 | 60 | 31.857143 | 0.907609 | 0 | 0 | 0 | 0 | 0 | 0.026786 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c59628082bbf7348e6305d9caaeb72cff2bc8109 | 186 | py | Python | src/__init__.py | AndrewBurdyug/makechat | 46c1fc8446b55699c44611fc3b18840be8d1e5cb | [
"Apache-2.0"
] | 3 | 2016-03-07T16:08:51.000Z | 2021-02-27T00:40:44.000Z | src/__init__.py | AndrewBurdyug/makechat | 46c1fc8446b55699c44611fc3b18840be8d1e5cb | [
"Apache-2.0"
] | 5 | 2016-04-22T20:55:16.000Z | 2016-04-22T21:06:35.000Z | src/__init__.py | AndrewBurdyug/makechat | 46c1fc8446b55699c44611fc3b18840be8d1e5cb | [
"Apache-2.0"
] | null | null | null | """Import makechat configuration from /etc/makechat.conf."""
import configparser
import os.path
config = configparser.ConfigParser()
config.read(os.path.expanduser('~/makechat.conf'))
| 23.25 | 60 | 0.774194 | 22 | 186 | 6.545455 | 0.545455 | 0.166667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.080645 | 186 | 7 | 61 | 26.571429 | 0.842105 | 0.290323 | 0 | 0 | 0 | 0 | 0.119048 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
c59d4503579a67804358401691e2d730d39b4fba | 259 | py | Python | tartiflette/parser/nodes/argument.py | alexchamberlain/tartiflette | 6904b0f47770c348553e907be5f5bdb0929fe149 | [
"MIT"
] | null | null | null | tartiflette/parser/nodes/argument.py | alexchamberlain/tartiflette | 6904b0f47770c348553e907be5f5bdb0929fe149 | [
"MIT"
] | 1 | 2020-08-11T15:41:41.000Z | 2020-08-11T15:41:41.000Z | tartiflette/parser/nodes/argument.py | alexchamberlain/tartiflette | 6904b0f47770c348553e907be5f5bdb0929fe149 | [
"MIT"
] | null | null | null | from tartiflette.types.location import Location
from .node import Node
class NodeArgument(Node):
def __init__(self, path: str, location: Location, name: str) -> None:
super().__init__(path, "Argument", location, name)
self.value = None
| 25.9 | 73 | 0.694981 | 32 | 259 | 5.375 | 0.5625 | 0.139535 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19305 | 259 | 9 | 74 | 28.777778 | 0.822967 | 0 | 0 | 0 | 0 | 0 | 0.030888 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
c59d5da23c3dba13313ca5c532d8ccf518dd0467 | 470 | py | Python | language/Basics/Listschallenge.py | Binary-bug/Python | 233425ded6abc26c889599a82a181487789e3bab | [
"MIT"
] | null | null | null | language/Basics/Listschallenge.py | Binary-bug/Python | 233425ded6abc26c889599a82a181487789e3bab | [
"MIT"
] | null | null | null | language/Basics/Listschallenge.py | Binary-bug/Python | 233425ded6abc26c889599a82a181487789e3bab | [
"MIT"
] | null | null | null | menu=[]
menu.append(["egg","spam","bacon"])
menu.append(["egg","sausage","bacon"])
menu.append(["egg","spam"])
menu.append(["egg","bacon","spam"])
menu.append(["egg","bacon","sausage","spam"])
menu.append(["spam","bacon","sausage","spam"])
menu.append(["spam","egg","spam","spam","bacon","spam"])
menu.append(["s... | 26.111111 | 57 | 0.574468 | 63 | 470 | 4.285714 | 0.206349 | 0.296296 | 0.240741 | 0.2 | 0.455556 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144681 | 470 | 17 | 58 | 27.647059 | 0.671642 | 0.023404 | 0 | 0 | 0 | 0 | 0.297052 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.076923 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
c5f4041e848531fbe0f29ba56c24b95783e6b952 | 192 | py | Python | src/bxcommon/messages/eth/serializers/transaction_type.py | dolphinridercrypto/bxcommon | 8f70557c1dbff785a5dd3fcdf91176066e085c3a | [
"MIT"
] | null | null | null | src/bxcommon/messages/eth/serializers/transaction_type.py | dolphinridercrypto/bxcommon | 8f70557c1dbff785a5dd3fcdf91176066e085c3a | [
"MIT"
] | null | null | null | src/bxcommon/messages/eth/serializers/transaction_type.py | dolphinridercrypto/bxcommon | 8f70557c1dbff785a5dd3fcdf91176066e085c3a | [
"MIT"
] | null | null | null | from enum import Enum
class EthTransactionType(Enum):
LEGACY = 0
ACCESS_LIST = 1
DYNAMIC_FEE = 2
def encode_rlp(self) -> bytes:
return self.value.to_bytes(1, "big")
| 17.454545 | 44 | 0.651042 | 27 | 192 | 4.481481 | 0.814815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.027972 | 0.255208 | 192 | 10 | 45 | 19.2 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0.015625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.142857 | 0.142857 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a83c82f1dc1d68a3cab85da61166b55cb1b2ab0d | 1,121 | py | Python | examples/_nx/mandelbrot.py | elnardu/PyNX | 6292d0b8e605903525a16edf452f1ffe5b27296e | [
"ISC"
] | 169 | 2018-03-30T17:31:15.000Z | 2022-03-28T13:49:44.000Z | examples/_nx/mandelbrot.py | rocketprogrammer/PyNX | 40304aae8c8a106e1befd8932f34d35ff6853c6a | [
"ISC"
] | 15 | 2018-04-26T09:34:14.000Z | 2021-09-13T15:33:00.000Z | examples/_nx/mandelbrot.py | rocketprogrammer/PyNX | 40304aae8c8a106e1befd8932f34d35ff6853c6a | [
"ISC"
] | 22 | 2018-04-19T20:45:46.000Z | 2022-03-25T21:43:16.000Z | import _nx
GfxMode_LinearDouble = 2
WIDTH = 1280
HEIGHT = 720
MAX_ITER = 32
palette_r = [0, 8, 16, 24, 32, 40, 42, 38, 32, 22, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 22, 57, 96, 137, 182, 216, 224, 232, 240, 248]
palette_g = [0, 1, 6, 13, 24, 37, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 110, 90, 66, 40, 10, 0, 0... | 32.028571 | 142 | 0.547725 | 225 | 1,121 | 2.635556 | 0.408889 | 0.107926 | 0.141653 | 0.161889 | 0.145025 | 0.128162 | 0.060708 | 0.060708 | 0.060708 | 0.060708 | 0 | 0.265945 | 0.258698 | 1,121 | 34 | 143 | 32.970588 | 0.447653 | 0.007136 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.037037 | false | 0 | 0.037037 | 0 | 0.148148 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a83f1d5478ee57769f0d8c1ead3b3c0ffa2d7a4c | 188 | py | Python | mlprodict/grammar_sklearn/grammar/exc.py | sdpython/mlprodic | 9367dacc91d35ec670c8a8a76708300a75bbc993 | [
"MIT"
] | 32 | 2018-03-04T23:33:30.000Z | 2022-03-10T19:15:06.000Z | mlprodict/grammar_sklearn/grammar/exc.py | sdpython/mlprodic | 9367dacc91d35ec670c8a8a76708300a75bbc993 | [
"MIT"
] | 184 | 2017-11-30T14:10:35.000Z | 2022-02-21T08:29:31.000Z | mlprodict/grammar_sklearn/grammar/exc.py | sdpython/mlprodic | 9367dacc91d35ec670c8a8a76708300a75bbc993 | [
"MIT"
] | 9 | 2019-07-24T13:18:00.000Z | 2022-03-07T04:08:07.000Z | """
@file
@brief Exception definition.
"""
class Float32InfError(Exception):
"""
Raised when a float is out of range and cannot be
converted into a float32.
"""
pass
| 14.461538 | 53 | 0.643617 | 23 | 188 | 5.26087 | 0.913043 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028571 | 0.255319 | 188 | 12 | 54 | 15.666667 | 0.835714 | 0.585106 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
a8409840b8a5c6348f2a73e6aae7d089426d7176 | 766 | py | Python | src/compas/interop/__init__.py | yijiangh/compas | a9e86edf6b602f47ca051fccedcaa88a5e5d3600 | [
"MIT"
] | 1 | 2019-03-27T22:46:29.000Z | 2019-03-27T22:46:29.000Z | src/compas/interop/__init__.py | yijiangh/compas | a9e86edf6b602f47ca051fccedcaa88a5e5d3600 | [
"MIT"
] | 9 | 2019-09-11T08:53:19.000Z | 2019-09-16T08:35:39.000Z | src/compas/interop/__init__.py | yijiangh/compas | a9e86edf6b602f47ca051fccedcaa88a5e5d3600 | [
"MIT"
] | 1 | 2022-01-16T02:32:43.000Z | 2022-01-16T02:32:43.000Z | """
********************************************************************************
interop
********************************************************************************
.. currentmodule:: compas.interop
.. warning::
The functionality of this package is experimental and subject to frequent change.
For no... | 16.297872 | 85 | 0.524804 | 66 | 766 | 5.818182 | 0.712121 | 0.078125 | 0.125 | 0.203125 | 0.21875 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004754 | 0.17624 | 766 | 46 | 86 | 16.652174 | 0.603803 | 0.825065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.75 | 0 | 0.75 | 0.25 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
a84711998362bdce79798b2d47bc1f954c6c54fc | 187 | py | Python | toio_API/scenarios/customs/custom3.py | Yoshi-0921/toio_API | 5642a8c9813d7acde440f6c6160b7c69f4396682 | [
"MIT"
] | 10 | 2021-04-22T06:06:43.000Z | 2022-01-31T14:10:54.000Z | toio_API/scenarios/customs/custom3.py | Yoshi-0921/toio_API | 5642a8c9813d7acde440f6c6160b7c69f4396682 | [
"MIT"
] | null | null | null | toio_API/scenarios/customs/custom3.py | Yoshi-0921/toio_API | 5642a8c9813d7acde440f6c6160b7c69f4396682 | [
"MIT"
] | 1 | 2021-06-23T02:18:17.000Z | 2021-06-23T02:18:17.000Z | # -*- coding: utf-8 -*-
from toio_API.scenarios.abstract_scenario import AbstractSenario
class Custom3(AbstractSenario):
async def _main(self):
raise NotImplementedError()
| 20.777778 | 64 | 0.73262 | 20 | 187 | 6.7 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012821 | 0.165775 | 187 | 8 | 65 | 23.375 | 0.846154 | 0.112299 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a84dffc5508311c5ad055774dd0415014edd799b | 367 | py | Python | hooks/post_gen_project.py | textileio/textile-react-cookie | ae0b38ace472902bb654359852af6a591e90d2cd | [
"MIT"
] | 1 | 2019-06-12T12:37:34.000Z | 2019-06-12T12:37:34.000Z | hooks/post_gen_project.py | textileio/textile-react-cookie | ae0b38ace472902bb654359852af6a591e90d2cd | [
"MIT"
] | null | null | null | hooks/post_gen_project.py | textileio/textile-react-cookie | ae0b38ace472902bb654359852af6a591e90d2cd | [
"MIT"
] | 1 | 2022-03-24T06:23:13.000Z | 2022-03-24T06:23:13.000Z | import subprocess
subprocess.call(['git', 'init'])
subprocess.call(['git', 'add', '*'])
subprocess.call(['git', 'commit', '-m', 'Initial commit'])
subprocess.call(
[
'git',
'remote',
'add',
'origin',
'https://github.com/{{cookiecutter.github_username}}/{{cookiecutter.appname... | 22.9375 | 90 | 0.577657 | 36 | 367 | 5.861111 | 0.555556 | 0.265403 | 0.322275 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.19891 | 367 | 15 | 91 | 24.466667 | 0.717687 | 0 | 0 | 0 | 0 | 0 | 0.430518 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.071429 | 0 | 0.071429 | 0.071429 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a84e0120ffd209d29964e3d65aacdb2b76e27f75 | 129,093 | py | Python | src/elarian/utils/generated/messaging_model_pb2.py | ElarianLtd/python-sdk | f603688dffba4b46c5a9f208a75b3dc3d75ed565 | [
"MIT"
] | 4 | 2021-05-27T23:15:21.000Z | 2021-12-29T11:40:02.000Z | src/elarian/utils/generated/messaging_model_pb2.py | ElarianLtd/python-sdk | f603688dffba4b46c5a9f208a75b3dc3d75ed565 | [
"MIT"
] | 2 | 2021-05-20T05:51:02.000Z | 2021-07-13T11:25:54.000Z | src/elarian/utils/generated/messaging_model_pb2.py | ElarianLtd/python-sdk | f603688dffba4b46c5a9f208a75b3dc3d75ed565 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: messaging_model.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from googl... | 48.935936 | 14,252 | 0.785155 | 15,705 | 129,093 | 6.072588 | 0.045145 | 0.04643 | 0.081483 | 0.069645 | 0.785908 | 0.724043 | 0.677614 | 0.610265 | 0.597997 | 0.581042 | 0 | 0.035659 | 0.106295 | 129,093 | 2,637 | 14,253 | 48.954494 | 0.790979 | 0.019312 | 0 | 0.661064 | 1 | 0.004802 | 0.207732 | 0.17043 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.003601 | 0 | 0.003601 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a8600b48957598f61a526fdc13fc73d420f6aa18 | 25 | py | Python | lang/py/cookbook/v2/source/cb2_16_0_exm_1.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_16_0_exm_1.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | lang/py/cookbook/v2/source/cb2_16_0_exm_1.py | ch1huizong/learning | 632267634a9fd84a5f5116de09ff1e2681a6cc85 | [
"MIT"
] | null | null | null | fields = line.split(':')
| 12.5 | 24 | 0.6 | 3 | 25 | 5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 25 | 1 | 25 | 25 | 0.681818 | 0 | 0 | 0 | 0 | 0 | 0.04 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a864c4e5b4083214d4e81729f6bd6359da084104 | 226 | py | Python | preader/reader/management/commands/update_subscriptions.py | jobscry/preader | 20bfcc88da723f1393f43a296ed12c03320d232e | [
"MIT"
] | null | null | null | preader/reader/management/commands/update_subscriptions.py | jobscry/preader | 20bfcc88da723f1393f43a296ed12c03320d232e | [
"MIT"
] | null | null | null | preader/reader/management/commands/update_subscriptions.py | jobscry/preader | 20bfcc88da723f1393f43a296ed12c03320d232e | [
"MIT"
] | null | null | null | from django.core.management.base import BaseCommand
from reader.models import UserEntry
class Command(BaseCommand):
help = 'Update feeds'
def handle(self, *args, **options):
UserEntry.update_subscriptions()
| 22.6 | 51 | 0.738938 | 26 | 226 | 6.384615 | 0.807692 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168142 | 226 | 9 | 52 | 25.111111 | 0.882979 | 0 | 0 | 0 | 0 | 0 | 0.053097 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0.333333 | 0 | 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 | 0 | 0 | 0 | 0 | 3 |
a87d1a494cd5fa8b43b95bb1495080da792dd85c | 4,109 | py | Python | menu.py | Hurrific/Hurrifics-multi-tool | acddb215959ab688173a923d5672672dfc0ea247 | [
"MIT"
] | null | null | null | menu.py | Hurrific/Hurrifics-multi-tool | acddb215959ab688173a923d5672672dfc0ea247 | [
"MIT"
] | null | null | null | menu.py | Hurrific/Hurrifics-multi-tool | acddb215959ab688173a923d5672672dfc0ea247 | [
"MIT"
] | null | null | null | _ _ _ __ _
| | | | (_)/ _(_)
| |__| |_ _ _ __ _ __ _| |_ _ ___ Hurrific Multitool V1 | Made by: ~ Hurriic
| __ | | | | '__| '__| | _| |/ __| ~ Hurrific#7181
| | | | |_| | | | | | | | | | (... | 91.311111 | 395 | 0.148211 | 124 | 4,109 | 4.314516 | 0.862903 | 0.014953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.048193 | 0.737406 | 4,109 | 45 | 396 | 91.311111 | 0.447637 | 0 | 0 | 0 | 0 | 0.02439 | 0.030207 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
a89e3580b19a7d83121ae05ac0219f0e012e8ad4 | 851 | py | Python | abbot/galaxy/celestial_body.py | narfman0/abbot | 206ed692299956fbccb457c6e845bc92682ea79f | [
"MIT"
] | null | null | null | abbot/galaxy/celestial_body.py | narfman0/abbot | 206ed692299956fbccb457c6e845bc92682ea79f | [
"MIT"
] | null | null | null | abbot/galaxy/celestial_body.py | narfman0/abbot | 206ed692299956fbccb457c6e845bc92682ea79f | [
"MIT"
] | null | null | null | import pymunk
class CelestialBody:
def __init__(self, x, y, radius):
""" x, y in absolute coordinates """
self.radius = radius
mass = 1
moment = pymunk.moment_for_circle(mass, 0, radius)
self.body = pymunk.Body(mass, moment, body_type=pymunk.body.Body.STATIC)
self.... | 26.59375 | 80 | 0.596945 | 119 | 851 | 4.109244 | 0.310924 | 0.0818 | 0.09816 | 0.06953 | 0.106339 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011272 | 0.27027 | 851 | 31 | 81 | 27.451613 | 0.776167 | 0.032902 | 0 | 0.090909 | 0 | 0 | 0.060123 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.045455 | 0.227273 | 0.590909 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
a8a7b43e9abeffb24647d9ac359e6e290b959e8a | 1,866 | py | Python | demo.py | Hyask/MPFA | 74e4292a72d4a16b43653a7bd3b0fe222b23efb0 | [
"BSD-2-Clause"
] | 101 | 2021-08-09T20:04:26.000Z | 2022-03-04T08:15:05.000Z | demo.py | Hyask/MPFA | 74e4292a72d4a16b43653a7bd3b0fe222b23efb0 | [
"BSD-2-Clause"
] | 4 | 2021-08-11T10:59:58.000Z | 2021-09-08T13:14:26.000Z | demo.py | Hyask/MPFA | 74e4292a72d4a16b43653a7bd3b0fe222b23efb0 | [
"BSD-2-Clause"
] | 3 | 2021-08-13T01:29:23.000Z | 2021-09-06T17:16:13.000Z | #! /usr/bin/env python3
# Copyright (c) 2021, juju2013@github
# All rights reserved
# This file is under BSD 2-Clause License, see LICENSE file
import subprocess as sp
test_data=[
"https://improveyourdrawings.com/wp-content/uploads/2019/01/Step-9-Lights-914x914.jpg"
, "http://www.clipartbest.com/cliparts/4T9/L... | 46.65 | 199 | 0.716506 | 276 | 1,866 | 4.815217 | 0.623188 | 0.042137 | 0.036117 | 0.021068 | 0.096313 | 0.096313 | 0.078254 | 0.078254 | 0.078254 | 0.042137 | 0 | 0.143355 | 0.076635 | 1,866 | 39 | 200 | 47.846154 | 0.627974 | 0.072883 | 0 | 0.142857 | 0 | 0.321429 | 0.798841 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.071429 | 0.035714 | 0 | 0.035714 | 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 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
a8c5c42aa7fec20d168f136afcbb1f03b7c27b88 | 1,273 | py | Python | aiotdlib/api/functions/answer_shipping_query.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 37 | 2021-05-04T10:41:41.000Z | 2022-03-30T13:48:05.000Z | aiotdlib/api/functions/answer_shipping_query.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 13 | 2021-07-17T19:54:51.000Z | 2022-02-26T06:50:00.000Z | aiotdlib/api/functions/answer_shipping_query.py | jraylan/aiotdlib | 4528fcfca7c5c69b54a878ce6ce60e934a2dcc73 | [
"MIT"
] | 7 | 2021-09-22T21:27:11.000Z | 2022-02-20T02:33:19.000Z | # =============================================================================== #
# #
# This file has been generated automatically!! Do not change this manually! #
# ... | 34.405405 | 83 | 0.527887 | 109 | 1,273 | 6.009174 | 0.513761 | 0.099237 | 0.068702 | 0.058015 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283582 | 1,273 | 36 | 84 | 35.361111 | 0.718202 | 0.590731 | 0 | 0 | 1 | 0 | 0.052863 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.083333 | false | 0 | 0.333333 | 0.083333 | 0.916667 | 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 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
7634cb111586daba2aed4bf394065ba1f2f8a991 | 816 | py | Python | tests/conftest.py | jonathanchukinas/card_game | 71ede41ac8239c3ddc9b69ba200de6aa1433d48b | [
"MIT"
] | null | null | null | tests/conftest.py | jonathanchukinas/card_game | 71ede41ac8239c3ddc9b69ba200de6aa1433d48b | [
"MIT"
] | null | null | null | tests/conftest.py | jonathanchukinas/card_game | 71ede41ac8239c3ddc9b69ba200de6aa1433d48b | [
"MIT"
] | null | null | null | # --- Standard Library Imports ------------------------------------------------
# None
# --- Third Party Imports -----------------------------------------------------
import pytest
# --- Intra-Package Imports ---------------------------------------------------
from card_game.cards import CardDeck
from card_game.game ... | 24 | 79 | 0.574755 | 90 | 816 | 5.033333 | 0.333333 | 0.121413 | 0.05298 | 0.083885 | 0.11479 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.167892 | 816 | 33 | 80 | 24.727273 | 0.667158 | 0.291667 | 0 | 0.105263 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.210526 | false | 0 | 0.157895 | 0.105263 | 0.578947 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
763b0c50256ce015cbcaf477306e728da7a0faf9 | 594 | py | Python | guides/quick-start/iris_classifier.py | awesome-archive/BentoML | 9a1d21a014ab11dc235ddf878d590ec7c496f291 | [
"Apache-2.0"
] | null | null | null | guides/quick-start/iris_classifier.py | awesome-archive/BentoML | 9a1d21a014ab11dc235ddf878d590ec7c496f291 | [
"Apache-2.0"
] | null | null | null | guides/quick-start/iris_classifier.py | awesome-archive/BentoML | 9a1d21a014ab11dc235ddf878d590ec7c496f291 | [
"Apache-2.0"
] | null | null | null | from bentoml import BentoService, api, env, artifacts
from bentoml.artifact import PickleArtifact
from bentoml.handlers import DataframeHandler
# You can also import your own python module here and BentoML will automatically
# figure out the dependency chain and package all those python modules
@artifacts([PickleArti... | 37.125 | 80 | 0.779461 | 74 | 594 | 6.243243 | 0.689189 | 0.071429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.151515 | 594 | 15 | 81 | 39.6 | 0.916667 | 0.361953 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.111111 | false | 0 | 0.333333 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 3 |
763e58c30da348999e9ffebf6e0b300daf06d187 | 420 | gyp | Python | binding.gyp | uber-archive/node-flame | 20bef3d3e03d42d0a39301c992e58e2aeac24414 | [
"MIT"
] | 2 | 2020-11-04T00:54:54.000Z | 2021-04-17T23:29:48.000Z | binding.gyp | uber-archive/node-flame | 20bef3d3e03d42d0a39301c992e58e2aeac24414 | [
"MIT"
] | null | null | null | binding.gyp | uber-archive/node-flame | 20bef3d3e03d42d0a39301c992e58e2aeac24414 | [
"MIT"
] | null | null | null | {
"targets": [
{
"target_name": "demangle",
"sources": [ "demangle.cc" ]
},
{
"target_name": "node_backtrace",
"include_dirs": ["<!(node -e \"require('nan')\")"],
"conditions": [
['OS == "linux"', {
"sources": [ "node_backtrace.linux.cc" ]
}],
... | 20 | 57 | 0.407143 | 32 | 420 | 5.15625 | 0.53125 | 0.236364 | 0.242424 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.357143 | 420 | 20 | 58 | 21 | 0.611111 | 0 | 0 | 0 | 0 | 0 | 0.45 | 0.104762 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7646cf468ecf75b40d99a622145907d9a66d74a2 | 93 | py | Python | api/analyze/apps.py | hawzie197/pyllama | 20e1fd1d6edcbb164f190684fb96fdff00f6a701 | [
"BSD-3-Clause"
] | 4 | 2019-10-21T04:27:04.000Z | 2019-11-17T04:08:39.000Z | api/analyze/apps.py | hawzie197/llama-api | 20e1fd1d6edcbb164f190684fb96fdff00f6a701 | [
"BSD-3-Clause"
] | 32 | 2019-10-21T01:44:57.000Z | 2022-02-18T13:07:50.000Z | api/analyze/apps.py | hawzie197/llama-api | 20e1fd1d6edcbb164f190684fb96fdff00f6a701 | [
"BSD-3-Clause"
] | null | null | null | from django.apps import AppConfig
class AnalyzeConfig(AppConfig):
name = "api.analyze"
| 15.5 | 33 | 0.752688 | 11 | 93 | 6.363636 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 93 | 5 | 34 | 18.6 | 0.897436 | 0 | 0 | 0 | 0 | 0 | 0.11828 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
764879b16a107a781c8a0e6043557f501bab0436 | 347 | py | Python | bluebottle/cms/migrations/0052_auto_20171027_1419.py | terrameijar/bluebottle | b4f5ba9c4f03e678fdd36091b29240307ea69ffd | [
"BSD-3-Clause"
] | 10 | 2015-05-28T18:26:40.000Z | 2021-09-06T10:07:03.000Z | bluebottle/cms/migrations/0052_auto_20171027_1419.py | terrameijar/bluebottle | b4f5ba9c4f03e678fdd36091b29240307ea69ffd | [
"BSD-3-Clause"
] | 762 | 2015-01-15T10:00:59.000Z | 2022-03-31T15:35:14.000Z | bluebottle/cms/migrations/0052_auto_20171027_1419.py | terrameijar/bluebottle | b4f5ba9c4f03e678fdd36091b29240307ea69ffd | [
"BSD-3-Clause"
] | 9 | 2015-02-20T13:19:30.000Z | 2022-03-08T14:09:17.000Z | # -*- coding: utf-8 -*-
# Generated by Django 1.10.8 on 2017-10-27 12:19
from __future__ import unicode_literals
from django.db import migrations, connection
from django.core.management import call_command
class Migration(migrations.Migration):
dependencies = [
('cms', '0051_auto_20171024_1631'),
]... | 19.277778 | 48 | 0.697406 | 44 | 347 | 5.295455 | 0.772727 | 0.085837 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.11828 | 0.195965 | 347 | 17 | 49 | 20.411765 | 0.716846 | 0.195965 | 0 | 0 | 1 | 0 | 0.094203 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
765467bddf94bb3c43b546af2add689aba769dab | 117 | py | Python | poodle/base/__init__.py | danielkauffmann/poodle | 05b46f43fbceef0cc080733b29c515e84ade3e38 | [
"MIT"
] | null | null | null | poodle/base/__init__.py | danielkauffmann/poodle | 05b46f43fbceef0cc080733b29c515e84ade3e38 | [
"MIT"
] | null | null | null | poodle/base/__init__.py | danielkauffmann/poodle | 05b46f43fbceef0cc080733b29c515e84ade3e38 | [
"MIT"
] | null | null | null | from .moodle import BaseMoodle
from .process import BaseProcess
__all__ = [
"BaseMoodle",
"BaseProcess",
]
| 13 | 32 | 0.700855 | 11 | 117 | 7.090909 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.205128 | 117 | 8 | 33 | 14.625 | 0.83871 | 0 | 0 | 0 | 0 | 0 | 0.179487 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
76749a2c6f72d54544cad2ad0c35ba0a11c891fd | 4,032 | py | Python | mapreduce/datadog_checks/mapreduce/metrics.py | mchelen-gov/integrations-core | 81281600b3cc7025a7a32148c59620c9592a564f | [
"BSD-3-Clause"
] | 663 | 2016-08-23T05:23:45.000Z | 2022-03-29T00:37:23.000Z | mapreduce/datadog_checks/mapreduce/metrics.py | mchelen-gov/integrations-core | 81281600b3cc7025a7a32148c59620c9592a564f | [
"BSD-3-Clause"
] | 6,642 | 2016-06-09T16:29:20.000Z | 2022-03-31T22:24:09.000Z | mapreduce/datadog_checks/mapreduce/metrics.py | mchelen-gov/integrations-core | 81281600b3cc7025a7a32148c59620c9592a564f | [
"BSD-3-Clause"
] | 1,222 | 2017-01-27T15:51:38.000Z | 2022-03-31T18:17:51.000Z | """
MapReduce Job Metrics
---------------------
mapreduce.job.elapsed_time The elapsed time since the application started (in ms)
mapreduce.job.maps_total The total number of maps
mapreduce.job.maps_completed The number of completed maps
mapreduce.job.reduces_total ... | 53.76 | 102 | 0.746032 | 464 | 4,032 | 6.303879 | 0.140086 | 0.213333 | 0.060171 | 0.064957 | 0.474188 | 0.128889 | 0 | 0 | 0 | 0 | 0 | 0 | 0.141369 | 4,032 | 74 | 103 | 54.486486 | 0.844887 | 0.517361 | 0 | 0 | 0 | 0 | 0.609189 | 0.441921 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 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 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
7677646784d3f58e0658152e1904f2b3e4b0d20b | 26 | py | Python | key.py | TDMcgowan/sql-challenge | d11f05faa11f440fe701b65e426c5b7a5edcec3f | [
"ADSL"
] | null | null | null | key.py | TDMcgowan/sql-challenge | d11f05faa11f440fe701b65e426c5b7a5edcec3f | [
"ADSL"
] | null | null | null | key.py | TDMcgowan/sql-challenge | d11f05faa11f440fe701b65e426c5b7a5edcec3f | [
"ADSL"
] | null | null | null | key = "postgres"
| 5.2 | 16 | 0.423077 | 2 | 26 | 5.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.461538 | 26 | 5 | 17 | 5.2 | 0.785714 | 0 | 0 | 0 | 0 | 0 | 0.296296 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
767bb6f354e423866279e16df8b91440d2911670 | 1,867 | py | Python | django_jinja/library.py | centum/django-jinja | f715b19f7bf9883d48bb4fc1c3b6c03a9f4b7f8c | [
"BSD-3-Clause"
] | 1 | 2015-11-07T12:37:58.000Z | 2015-11-07T12:37:58.000Z | django_jinja/library.py | michaelBenin/django-jinja | 42f301d7dc5cbd6ec1581ff5e7d36f194be566db | [
"BSD-3-Clause"
] | null | null | null | django_jinja/library.py | michaelBenin/django-jinja | 42f301d7dc5cbd6ec1581ff5e7d36f194be566db | [
"BSD-3-Clause"
] | 1 | 2021-02-12T14:15:58.000Z | 2021-02-12T14:15:58.000Z | # -*- coding: utf-8 -*-
class Library(object):
instance = None
_globals = {}
_tests = {}
_filters = {}
def __new__(cls, *args, **kwargs):
if cls.instance == None:
cls.instance = super(Library, cls).__new__(cls, *args, **kwargs)
return cls.instance
@classmethod
... | 27.865672 | 76 | 0.587574 | 218 | 1,867 | 4.761468 | 0.229358 | 0.077071 | 0.061657 | 0.049133 | 0.300578 | 0.175337 | 0.082852 | 0.082852 | 0.082852 | 0.082852 | 0 | 0.000769 | 0.30316 | 1,867 | 66 | 77 | 28.287879 | 0.797079 | 0.028388 | 0 | 0.12766 | 0 | 0 | 0.022087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.255319 | false | 0 | 0 | 0.148936 | 0.638298 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
7690ccdb499fc518dbd9c172141b4c1905cb526a | 1,050 | py | Python | bob/pipelines/transformers/file_loader.py | bioidiap/bob.pipelines | cbefdaf3b384ee11cb26a279281f007adc2d8f19 | [
"BSD-3-Clause"
] | 1 | 2020-10-13T19:58:44.000Z | 2020-10-13T19:58:44.000Z | bob/pipelines/transformers/file_loader.py | bioidiap/bob.pipelines | cbefdaf3b384ee11cb26a279281f007adc2d8f19 | [
"BSD-3-Clause"
] | null | null | null | bob/pipelines/transformers/file_loader.py | bioidiap/bob.pipelines | cbefdaf3b384ee11cb26a279281f007adc2d8f19 | [
"BSD-3-Clause"
] | null | null | null | import os
from sklearn.preprocessing import FunctionTransformer
from bob.io.base import load
from ..wrappers import wrap
def file_loader(files, original_directory, original_extension):
data = []
for path in files:
d = load(os.path.join(original_directory, path + original_extension))
data.ap... | 29.166667 | 82 | 0.728571 | 118 | 1,050 | 6.271186 | 0.415254 | 0.206757 | 0.236486 | 0.22973 | 0.194595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.199048 | 1,050 | 35 | 83 | 30 | 0.879905 | 0.072381 | 0 | 0 | 0 | 0 | 0.009259 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.12 | false | 0 | 0.16 | 0 | 0.4 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
769c1c1aced066678058c8e36fae1e3fcc7e6b6a | 395 | py | Python | py_lazy_vin/helpers/helpers.py | tabuckner/py_lazy_vin | ba570a1bb862cb967e34dd8c47b4c9ce2c37a010 | [
"MIT"
] | null | null | null | py_lazy_vin/helpers/helpers.py | tabuckner/py_lazy_vin | ba570a1bb862cb967e34dd8c47b4c9ce2c37a010 | [
"MIT"
] | null | null | null | py_lazy_vin/helpers/helpers.py | tabuckner/py_lazy_vin | ba570a1bb862cb967e34dd8c47b4c9ce2c37a010 | [
"MIT"
] | null | null | null | from random import randint
class Helpers():
@staticmethod
def get_random_number_of_length(length):
range_start = 10**(length - 1)
range_end = (10**length) - 1
return randint(range_start, range_end)
@staticmethod
def get_number_as_string(number):
return str(number)
... | 21.944444 | 46 | 0.658228 | 49 | 395 | 5.040816 | 0.489796 | 0.182186 | 0.145749 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.020339 | 0.253165 | 395 | 17 | 47 | 23.235294 | 0.816949 | 0 | 0 | 0.230769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.076923 | 0.153846 | 0.615385 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
76ad97ca073a9acc78d4a3b7fca45a95fb7484c8 | 207 | py | Python | demos/getDreamJob.py | Henrilin28/data_science_intro_tw | 42f29f063e180132a101c0772e1b5248d9b36dd5 | [
"MIT"
] | null | null | null | demos/getDreamJob.py | Henrilin28/data_science_intro_tw | 42f29f063e180132a101c0772e1b5248d9b36dd5 | [
"MIT"
] | null | null | null | demos/getDreamJob.py | Henrilin28/data_science_intro_tw | 42f29f063e180132a101c0772e1b5248d9b36dd5 | [
"MIT"
] | null | null | null |
def getDreamJob(studying, hardworking, projects):
isPrepared = studying & hardworking & projects
if (isPrepared):
print("I am ready")
return True
else:
return False
| 14.785714 | 50 | 0.618357 | 20 | 207 | 6.4 | 0.75 | 0.296875 | 0.421875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.304348 | 207 | 13 | 51 | 15.923077 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0.049261 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0 | 0 | 0.428571 | 0.142857 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
76b99c941750e78956dc62f66aa1833bf222e1dd | 5,799 | py | Python | src/server/telemetry/pandas_import.py | chicco785/ngsi-timeseries-api | 6f8ca2e277960bc9549e3fd79350732e459a345f | [
"MIT"
] | null | null | null | src/server/telemetry/pandas_import.py | chicco785/ngsi-timeseries-api | 6f8ca2e277960bc9549e3fd79350732e459a345f | [
"MIT"
] | null | null | null | src/server/telemetry/pandas_import.py | chicco785/ngsi-timeseries-api | 6f8ca2e277960bc9549e3fd79350732e459a345f | [
"MIT"
] | 1 | 2020-11-11T16:26:52.000Z | 2020-11-11T16:26:52.000Z | """
Utilities to import CSV telemetry data into Pandas data frames and series.
"""
from glob import glob
import os
from typing import Optional
import pandas as pd
from server.telemetry.flush import TIMEPOINT_CSV_FIELD, \
MEASUREMENT_CSV_FIELD, LABEL_CSV_FIELD, PID_CSV_FIELD
from server.telemetry.monitor import D... | 33.912281 | 78 | 0.686498 | 733 | 5,799 | 5.169168 | 0.186903 | 0.051465 | 0.038797 | 0.044339 | 0.362629 | 0.317762 | 0.252309 | 0.226973 | 0.226973 | 0.170494 | 0 | 0 | 0.233661 | 5,799 | 170 | 79 | 34.111765 | 0.85261 | 0.252285 | 0 | 0.060976 | 0 | 0 | 0.017426 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.292683 | false | 0 | 0.085366 | 0.134146 | 0.670732 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
76bdadfe110dd09a210b426ab9a5d4f1469907b7 | 283 | py | Python | mesh_sequence_player/geometries/Geometry.py | cansik/mesh-sequence-player | 1b37467e3043f135725049d93431503f64fd5c73 | [
"MIT"
] | 10 | 2021-04-19T18:31:06.000Z | 2022-03-04T00:08:19.000Z | mesh_sequence_player/geometries/Geometry.py | cansik/mesh-sequence-player | 1b37467e3043f135725049d93431503f64fd5c73 | [
"MIT"
] | 2 | 2021-05-24T11:49:33.000Z | 2022-02-06T20:56:56.000Z | mesh_sequence_player/geometries/Geometry.py | cansik/mesh-sequence-player | 1b37467e3043f135725049d93431503f64fd5c73 | [
"MIT"
] | null | null | null | from open3d.cpu.pybind.geometry import Geometry3D
from mesh_sequence_player.geometries.BaseGeometry import BaseGeometry
class Geometry(BaseGeometry):
def __init__(self, geometry):
self.geometry = geometry
def get(self) -> Geometry3D:
return self.geometry
| 23.583333 | 69 | 0.75265 | 32 | 283 | 6.46875 | 0.5625 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012876 | 0.176678 | 283 | 11 | 70 | 25.727273 | 0.875536 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.285714 | false | 0 | 0.285714 | 0.142857 | 0.857143 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 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 | 3 |
76ca9678741eb66fb2e773f20569d466820bced6 | 173 | py | Python | src/__init__.py | lingeen/lingeen-Ying | b7d4771d556e2168bd3dfae15b39336046319a9c | [
"Apache-2.0"
] | null | null | null | src/__init__.py | lingeen/lingeen-Ying | b7d4771d556e2168bd3dfae15b39336046319a9c | [
"Apache-2.0"
] | null | null | null | src/__init__.py | lingeen/lingeen-Ying | b7d4771d556e2168bd3dfae15b39336046319a9c | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
# @Time : 2020/12/29 6:07 PM
# @Author : Kevin
import sys
import os
curPath = os.path.abspath(os.path.dirname(__file__))
sys.path.append(curPath) | 24.714286 | 52 | 0.67052 | 28 | 173 | 4 | 0.75 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081633 | 0.150289 | 173 | 7 | 53 | 24.714286 | 0.680272 | 0.393064 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
76cc19393b7ed963faac4fd5c3668b74c5100862 | 995 | py | Python | announcements/admin.py | CMU-Robotics-Club/roboticsclub.org | 5f2ad4a15dc62160c6d03c87c121e934cacb8228 | [
"MIT"
] | null | null | null | announcements/admin.py | CMU-Robotics-Club/roboticsclub.org | 5f2ad4a15dc62160c6d03c87c121e934cacb8228 | [
"MIT"
] | 16 | 2015-01-01T03:42:36.000Z | 2016-06-21T05:14:16.000Z | announcements/admin.py | CMU-Robotics-Club/roboticsclub.org | 5f2ad4a15dc62160c6d03c87c121e934cacb8228 | [
"MIT"
] | 2 | 2015-07-23T14:37:16.000Z | 2021-09-11T01:23:25.000Z | from django.contrib import admin
from .models import Announcement
from crm.admin import UpdatedByAdmin
from django_object_actions import DjangoObjectActions
from django.http import HttpResponse
from .label import create_announcement_label
class AnnouncementAdmin(DjangoObjectActions, UpdatedByAdmin):
fields = ('id... | 39.8 | 104 | 0.771859 | 112 | 995 | 6.642857 | 0.428571 | 0.145161 | 0.185484 | 0.120968 | 0.193548 | 0.193548 | 0.139785 | 0.139785 | 0.139785 | 0 | 0 | 0.002273 | 0.115578 | 995 | 24 | 105 | 41.458333 | 0.843182 | 0 | 0 | 0 | 0 | 0 | 0.259557 | 0.049296 | 0 | 0 | 0 | 0 | 0 | 1 | 0.055556 | false | 0 | 0.333333 | 0 | 0.722222 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
4f167f6ea8b4298e8cde57bc174992bdc929885c | 598 | py | Python | run_experiments.py | Gyrst/A-Comparative-Study-on-Matrix-Multiplication-Algorithms | bc415c41dcb2d6a013ee3705f862e4e05f0f27e2 | [
"Apache-2.0"
] | 1 | 2022-02-20T21:12:36.000Z | 2022-02-20T21:12:36.000Z | run_experiments.py | Gyrst/A-Comparative-Study-on-Matrix-Multiplication-Algorithms | bc415c41dcb2d6a013ee3705f862e4e05f0f27e2 | [
"Apache-2.0"
] | null | null | null | run_experiments.py | Gyrst/A-Comparative-Study-on-Matrix-Multiplication-Algorithms | bc415c41dcb2d6a013ee3705f862e4e05f0f27e2 | [
"Apache-2.0"
] | null | null | null | from experiments.strassen_write_through_n_fixed_m_experiment import run_write_through_fixed_n_experiment, run_strassen_fixed_n_experiment
from experiments.strassen_write_through_m_experiment import run_write_through_multiple_n_experiment, run_strassen_multiple_n_experiment
from experiments.tiled_experiment import run_t... | 46 | 137 | 0.90301 | 89 | 598 | 5.494382 | 0.280899 | 0.179959 | 0.171779 | 0.179959 | 0.711656 | 0.568507 | 0.498978 | 0.498978 | 0.498978 | 0.498978 | 0 | 0 | 0.065217 | 598 | 13 | 138 | 46 | 0.874776 | 0.132107 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.375 | 0 | 0.375 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
4f1e25367b7d4ec9e99d8e0a915eb5d22819e5f9 | 168 | py | Python | PYTHON/pythonDesafios/desafio097.py | Santos1000/Curso-Python | 549223a1633f6f619c87554dd8078cf7841bb1df | [
"MIT"
] | null | null | null | PYTHON/pythonDesafios/desafio097.py | Santos1000/Curso-Python | 549223a1633f6f619c87554dd8078cf7841bb1df | [
"MIT"
] | null | null | null | PYTHON/pythonDesafios/desafio097.py | Santos1000/Curso-Python | 549223a1633f6f619c87554dd8078cf7841bb1df | [
"MIT"
] | null | null | null | def escr(msg):
tam = len(msg)
print('~'*tam)
print(msg)
print('~'*tam)
for c in range(0,4):
msg = str(input('Escreva uma palavra: '))
escr(msg) | 18.666667 | 45 | 0.541667 | 26 | 168 | 3.5 | 0.653846 | 0.153846 | 0.241758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016 | 0.255952 | 168 | 9 | 46 | 18.666667 | 0.712 | 0 | 0 | 0.25 | 0 | 0 | 0.136095 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.125 | false | 0 | 0 | 0 | 0.125 | 0.375 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4f2c4add528dc84bff884140a259ffae395036ae | 76 | py | Python | lambda_py/lambda_get/rds_config.py | oceanosis/aws-apigw-lambda-mysql | 7ae2bf1c41bc68f576981b0d0452e4bd3e762b46 | [
"MIT"
] | 11 | 2020-08-27T19:10:55.000Z | 2022-03-13T22:20:44.000Z | lambda_py/lambda_put/rds_config.py | oceanosis/aws-apigw-lambda-mysql | 7ae2bf1c41bc68f576981b0d0452e4bd3e762b46 | [
"MIT"
] | null | null | null | lambda_py/lambda_put/rds_config.py | oceanosis/aws-apigw-lambda-mysql | 7ae2bf1c41bc68f576981b0d0452e4bd3e762b46 | [
"MIT"
] | 8 | 2020-08-27T19:11:18.000Z | 2021-12-01T14:23:28.000Z | db_host = ""
db_username = "root"
db_password = "password"
db_name = "hwdb"
| 15.2 | 24 | 0.684211 | 11 | 76 | 4.363636 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.157895 | 76 | 4 | 25 | 19 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.25 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
4f5409874b3b655a51aaa710392bca1c81602e4a | 694 | py | Python | scripts/ru_s mTSP/b.py | goofyweng/mavros_multi_uav_control | 60a17e59bd54b491521ac4fb173c9bca74490718 | [
"BSD-3-Clause"
] | 1 | 2022-03-07T06:13:04.000Z | 2022-03-07T06:13:04.000Z | scripts/ru_s mTSP/b.py | goofyweng/mavros_multi_uav_control | 60a17e59bd54b491521ac4fb173c9bca74490718 | [
"BSD-3-Clause"
] | null | null | null | scripts/ru_s mTSP/b.py | goofyweng/mavros_multi_uav_control | 60a17e59bd54b491521ac4fb173c9bca74490718 | [
"BSD-3-Clause"
] | 1 | 2020-08-31T02:42:10.000Z | 2020-08-31T02:42:10.000Z | #!/usr/bin/env python
#coding=utf-8
# calculate the distance between each tours
import numpy as np
x = [0,19.47000,-6.47000,40.09000,5.39000,15.23000,-10,-20.47000,5.20000,16.30000]
y = [0,6.10000,-4.44000,-1.54000,6.37000,7.24000,4.05000,7.02000,7.666,-7.38000]
n=len(x) #計算點數
node=np.zeros((n,2)) # node 是2維矩陣
for... | 19.828571 | 82 | 0.590778 | 145 | 694 | 2.827586 | 0.468966 | 0.073171 | 0.058537 | 0.053659 | 0.058537 | 0 | 0 | 0 | 0 | 0 | 0 | 0.234458 | 0.188761 | 694 | 34 | 83 | 20.411765 | 0.493783 | 0.128242 | 0 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136364 | false | 0 | 0.045455 | 0.136364 | 0.318182 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
4f54e3df09102cb15baafe1ac39fc21f4b9fe37e | 775 | py | Python | devito/yask/grid.py | yuriyi/devito | d0a29b3ad3653c20f88b35c2780471cef107b7a2 | [
"MIT"
] | 11 | 2019-07-18T11:15:12.000Z | 2021-09-14T02:20:52.000Z | devito/yask/grid.py | yuriyi/devito | d0a29b3ad3653c20f88b35c2780471cef107b7a2 | [
"MIT"
] | null | null | null | devito/yask/grid.py | yuriyi/devito | d0a29b3ad3653c20f88b35c2780471cef107b7a2 | [
"MIT"
] | 3 | 2020-02-15T14:23:29.000Z | 2021-02-04T01:51:02.000Z | import devito.grid as grid
from devito.yask.function import Constant
from devito.yask.wrappers import contexts
__all__ = ['Grid']
class Grid(grid.Grid):
def __init__(self, *args, **kwargs):
super(Grid, self).__init__(*args, **kwargs)
# Initialize a new YaskContext for this Grid
context... | 25.833333 | 79 | 0.670968 | 99 | 775 | 4.989899 | 0.484848 | 0.040486 | 0.05668 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242581 | 775 | 29 | 80 | 26.724138 | 0.841567 | 0.247742 | 0 | 0.125 | 0 | 0 | 0.00692 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.1875 | 0.125 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4f6523970599255b8f7751e04674055228ddf655 | 104 | py | Python | Chapter09/divied.py | kaushalkumarshah/Learn-Python-in-7-Days | 2663656767c8959ace836f0c0e272f3e501bbe6e | [
"MIT"
] | 12 | 2018-07-09T16:20:31.000Z | 2022-03-21T22:52:15.000Z | Chapter09/divied.py | kaushalkumarshah/Learn-Python-in-7-Days | 2663656767c8959ace836f0c0e272f3e501bbe6e | [
"MIT"
] | null | null | null | Chapter09/divied.py | kaushalkumarshah/Learn-Python-in-7-Days | 2663656767c8959ace836f0c0e272f3e501bbe6e | [
"MIT"
] | 19 | 2018-01-09T12:49:06.000Z | 2021-11-23T08:05:55.000Z | def divide1():
num = int(raw_input("Enter the number "))
c = 45/num
print c
divide1()
| 10.4 | 43 | 0.557692 | 15 | 104 | 3.8 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0.307692 | 104 | 9 | 44 | 11.555556 | 0.736111 | 0 | 0 | 0 | 0 | 0 | 0.186813 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.2 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4f6631aac327c231869410d26f753a14f269e4b9 | 1,013 | py | Python | cache_alchemy/link.py | GuangTianLi/cache_alchemy | 6904aeb94cace6b9347637f0e7c02030bba1017b | [
"MIT"
] | 3 | 2020-04-15T06:21:42.000Z | 2021-03-31T08:54:13.000Z | cache_alchemy/link.py | GuangTianLi/cache_alchemy | 6904aeb94cace6b9347637f0e7c02030bba1017b | [
"MIT"
] | 1 | 2020-05-06T01:31:11.000Z | 2020-05-06T01:31:11.000Z | cache_alchemy/link.py | GuangTianLi/cache_alchemy | 6904aeb94cace6b9347637f0e7c02030bba1017b | [
"MIT"
] | 3 | 2019-12-13T05:45:15.000Z | 2020-05-04T22:06:28.000Z | from typing import Iterable
_sentry = object()
class DoublyLinkedListNode(Iterable):
__slots__ = ("prev", "next", "key", "result")
def __init__(self, key=_sentry, result=None):
self.prev = self
self.next = self
self.key = key
self.result = result
def __iter__(self):
... | 22.021739 | 59 | 0.588351 | 125 | 1,013 | 4.464 | 0.304 | 0.114695 | 0.046595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.001427 | 0.307996 | 1,013 | 45 | 60 | 22.511111 | 0.794579 | 0 | 0 | 0 | 0 | 0 | 0.036525 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.272727 | false | 0 | 0.030303 | 0.121212 | 0.515152 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4f75b65794b561f6d30d8c09458a50b9c92c65a7 | 7,233 | py | Python | imcsdk/mometa/adaptor/AdaptorExtEthIf.py | vadimkuznetsov/imcsdk | ed038ce1dbc8031f99d2dfb3ccee3bf0b48309d8 | [
"Apache-2.0"
] | null | null | null | imcsdk/mometa/adaptor/AdaptorExtEthIf.py | vadimkuznetsov/imcsdk | ed038ce1dbc8031f99d2dfb3ccee3bf0b48309d8 | [
"Apache-2.0"
] | null | null | null | imcsdk/mometa/adaptor/AdaptorExtEthIf.py | vadimkuznetsov/imcsdk | ed038ce1dbc8031f99d2dfb3ccee3bf0b48309d8 | [
"Apache-2.0"
] | 1 | 2019-11-10T18:42:04.000Z | 2019-11-10T18:42:04.000Z | """This module contains the general information for AdaptorExtEthIf ManagedObject."""
from ...imcmo import ManagedObject
from ...imccoremeta import MoPropertyMeta, MoMeta
from ...imcmeta import VersionMeta
class AdaptorExtEthIfConsts:
ADMIN_SPEED_ = "-"
ADMIN_SPEED_10_GBPS = "10Gbps"
ADMIN_SPEED_1_GBPS =... | 57.404762 | 276 | 0.618277 | 737 | 7,233 | 5.873813 | 0.154681 | 0.085008 | 0.077616 | 0.106722 | 0.728575 | 0.728575 | 0.707323 | 0.692539 | 0.631786 | 0.626473 | 0 | 0.037769 | 0.201991 | 7,233 | 125 | 277 | 57.864 | 0.712231 | 0.015208 | 0 | 0.25 | 0 | 0.019231 | 0.261145 | 0.01575 | 0 | 0 | 0.005906 | 0 | 0 | 1 | 0.009615 | false | 0 | 0.028846 | 0 | 0.346154 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4f8e98ace342e8ec75fac32a9a9520056215ea36 | 324 | py | Python | modulo-3/exercicios/109-moeda-v3.py | Luis-Felipe-N/curso-em-video-python | 09ff58ae31ae0360ebec74de609011d527956065 | [
"MIT"
] | null | null | null | modulo-3/exercicios/109-moeda-v3.py | Luis-Felipe-N/curso-em-video-python | 09ff58ae31ae0360ebec74de609011d527956065 | [
"MIT"
] | null | null | null | modulo-3/exercicios/109-moeda-v3.py | Luis-Felipe-N/curso-em-video-python | 09ff58ae31ae0360ebec74de609011d527956065 | [
"MIT"
] | null | null | null | from ex109 import moeda
num = float(input('Digite um número: '))
print(f'A metade de {moeda.meoda(num)} é {moeda.metade(num, False)}')
print(f'O dobro de {moeda.moeda(num)} é {moeda.dobro(num)}')
print(f'O aumento de 10% de {num} é {moeda.aumentar(num, 10)}')
print(f'A redução de 13% de {num} é {moeda.diminur(num, 13... | 40.5 | 69 | 0.675926 | 61 | 324 | 3.590164 | 0.42623 | 0.109589 | 0.164384 | 0.100457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.039007 | 0.12963 | 324 | 8 | 70 | 40.5 | 0.737589 | 0 | 0 | 0 | 0 | 0 | 0.713846 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.166667 | 0 | 0.166667 | 0.666667 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 3 |
96e4d74eb7246f94e1c6059bd950273134b49514 | 249 | py | Python | src/huaytools/pytorch/modules/_base.py | imhuay/studies-gitbook | 69a31c20c91d131d0fafce0622f4035b9b95e93a | [
"MIT"
] | 100 | 2021-10-13T01:22:27.000Z | 2022-03-31T09:52:49.000Z | src/huaytools/pytorch/modules/_base.py | imhuay/studies-gitbook | 69a31c20c91d131d0fafce0622f4035b9b95e93a | [
"MIT"
] | null | null | null | src/huaytools/pytorch/modules/_base.py | imhuay/studies-gitbook | 69a31c20c91d131d0fafce0622f4035b9b95e93a | [
"MIT"
] | 27 | 2021-11-01T01:05:09.000Z | 2022-03-31T03:32:01.000Z | #!/usr/bin/env python
# -*- coding:utf-8 -*-
"""
Time: 2021-10-28 6:04 下午
Author: huayang
Subject:
"""
import os
import sys
import json
import doctest
from typing import *
from collections import defaultdict
import torch
import torch.nn as nn
| 11.318182 | 35 | 0.714859 | 39 | 249 | 4.564103 | 0.74359 | 0.123596 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.058252 | 0.172691 | 249 | 21 | 36 | 11.857143 | 0.805825 | 0.373494 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
96e52e8e79c8c1285b9e885d19eb0e1ad12585d4 | 32,965 | py | Python | examples/pyboost_dev/unittestst/date_time/local_time_tester.py | electronicvisions/pyplusplus | 4d88bb8754d22654a61202ae8adc222807953e38 | [
"BSL-1.0"
] | 9 | 2016-06-07T19:14:53.000Z | 2020-02-28T09:06:19.000Z | examples/pyboost_dev/unittestst/date_time/local_time_tester.py | electronicvisions/pyplusplus | 4d88bb8754d22654a61202ae8adc222807953e38 | [
"BSL-1.0"
] | 1 | 2018-08-15T11:33:40.000Z | 2018-08-15T11:33:40.000Z | examples/pyboost_dev/unittestst/date_time/local_time_tester.py | electronicvisions/pyplusplus | 4d88bb8754d22654a61202ae8adc222807953e38 | [
"BSL-1.0"
] | 5 | 2016-06-23T09:37:00.000Z | 2019-12-18T13:51:29.000Z | #! /usr/bin/python
# Copyright 2004-2008 Roman Yakovenko.
# Distributed under the Boost Software License, Version 1.0. (See
# accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)
import os
import sys
sys.path.append( '../..' )
from pyboost import date_time
from pyboost.date_... | 54.21875 | 131 | 0.569331 | 4,291 | 32,965 | 4.080168 | 0.068049 | 0.180717 | 0.055175 | 0.027759 | 0.837503 | 0.764907 | 0.65233 | 0.599098 | 0.55586 | 0.51148 | 0 | 0.070902 | 0.309025 | 32,965 | 608 | 132 | 54.21875 | 0.697735 | 0.006097 | 0 | 0.30754 | 0 | 0.021825 | 0.064971 | 0.028209 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.017857 | null | null | 0.011905 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
96e99b6fea5eab4ad4e4050201302e00edfe395b | 121 | py | Python | dskc/_util/string.py | NovaSBE-DSKC/predict-campaing-sucess-rate | fec339aee7c883f55d64130eb69e490f765ee27d | [
"MIT"
] | null | null | null | dskc/_util/string.py | NovaSBE-DSKC/predict-campaing-sucess-rate | fec339aee7c883f55d64130eb69e490f765ee27d | [
"MIT"
] | null | null | null | dskc/_util/string.py | NovaSBE-DSKC/predict-campaing-sucess-rate | fec339aee7c883f55d64130eb69e490f765ee27d | [
"MIT"
] | null | null | null | def get_display_text(text):
return text.replace("_", " ") \
.strip() \
.lstrip() \
.lower() \
.title()
| 17.285714 | 33 | 0.512397 | 12 | 121 | 4.916667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.264463 | 121 | 6 | 34 | 20.166667 | 0.662921 | 0 | 0 | 0 | 0 | 0 | 0.016529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | false | 0 | 0 | 0.166667 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
96fb6bbdf60bfbb90032591c1bba23dc3158f258 | 119 | py | Python | src/constants.py | kapzlok2408/pyplup | 5dd0f5ad95f5c4d8a39ba1e9c8fe3df0d2441c16 | [
"MIT"
] | 1 | 2020-07-02T16:46:29.000Z | 2020-07-02T16:46:29.000Z | src/constants.py | kapzlok2408/pyplup | 5dd0f5ad95f5c4d8a39ba1e9c8fe3df0d2441c16 | [
"MIT"
] | null | null | null | src/constants.py | kapzlok2408/pyplup | 5dd0f5ad95f5c4d8a39ba1e9c8fe3df0d2441c16 | [
"MIT"
] | null | null | null | WEBSOCKET_URL = "ws://sim.smogon.com:8000/showdown/websocket"
LOGIN_URL = "http://play.pokemonshowdown.com/action.php"
| 39.666667 | 61 | 0.773109 | 17 | 119 | 5.294118 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035398 | 0.05042 | 119 | 2 | 62 | 59.5 | 0.761062 | 0 | 0 | 0 | 0 | 0 | 0.714286 | 0.361345 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8c12a256172bd959d1f7b965df84f3a1a1bd2347 | 227 | py | Python | utils/config-sample.py | novanauliazami/Mind-Expanding-Books | 751a16ca3e2af6d9403a06ad7e536c711b42a4ed | [
"CC0-1.0"
] | 9,262 | 2015-06-06T15:16:09.000Z | 2022-03-31T11:09:58.000Z | utils/config-sample.py | aakashsr/Mind-Expanding-Books | 53e2941d4a520dfca9197dad33f58617afef8b5d | [
"CC0-1.0"
] | 464 | 2021-08-25T14:34:07.000Z | 2022-03-31T23:04:51.000Z | utils/config-sample.py | aakashsr/Mind-Expanding-Books | 53e2941d4a520dfca9197dad33f58617afef8b5d | [
"CC0-1.0"
] | 1,100 | 2015-07-15T06:13:53.000Z | 2022-03-31T14:35:55.000Z | # save this file as 'config.py' and then, fill it with you api key
GOODREADS_PUBLIC_API_KEY = "write here your goodreads public API key"
GOOGLE_SEARCH_RAPIDAPI_HOST = ""
GOOGLE_SEARCH_RAPIDAPI_KEY = ""
GOOGLE_BOOK_API_KEY = ""
| 37.833333 | 69 | 0.784141 | 37 | 227 | 4.486486 | 0.648649 | 0.144578 | 0.216867 | 0.253012 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140969 | 227 | 5 | 70 | 45.4 | 0.851282 | 0.281938 | 0 | 0 | 0 | 0 | 0.248447 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8c519a5ac502d809eb0abb563254568d83e38789 | 284 | py | Python | api_dev/blog/admin.py | ManhTai01/api | 09d7a8dd0a11c1552c34cd9006c5afae94897afc | [
"MIT"
] | null | null | null | api_dev/blog/admin.py | ManhTai01/api | 09d7a8dd0a11c1552c34cd9006c5afae94897afc | [
"MIT"
] | null | null | null | api_dev/blog/admin.py | ManhTai01/api | 09d7a8dd0a11c1552c34cd9006c5afae94897afc | [
"MIT"
] | null | null | null | from django.contrib import admin
# Register your models here.
from django.db import models
from .models import Blog
# Register your models here.
class BlogAmin(admin.ModelAdmin):
list_display = ['title', 'author', 'thumnail', 'create_at']
admin.site.register(Blog, BlogAmin)
| 20.285714 | 63 | 0.75 | 38 | 284 | 5.552632 | 0.578947 | 0.094787 | 0.170616 | 0.208531 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.144366 | 284 | 13 | 64 | 21.846154 | 0.868313 | 0.18662 | 0 | 0 | 0 | 0 | 0.122807 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
8c577361198838864aa9df289a11398b325f7f45 | 1,461 | py | Python | lib/buttons.py | liudonghua123/cheat.sh | a3bd7a1dc024b15c96f329c32bfeb5dfff3ecc27 | [
"MIT"
] | 28,992 | 2017-05-24T12:21:03.000Z | 2022-03-31T09:35:08.000Z | lib/buttons.py | liudonghua123/cheat.sh | a3bd7a1dc024b15c96f329c32bfeb5dfff3ecc27 | [
"MIT"
] | 274 | 2017-05-24T17:14:48.000Z | 2022-03-31T12:50:14.000Z | lib/buttons.py | liudonghua123/cheat.sh | a3bd7a1dc024b15c96f329c32bfeb5dfff3ecc27 | [
"MIT"
] | 1,578 | 2017-05-24T20:40:41.000Z | 2022-03-31T15:23:42.000Z | TWITTER_BUTTON = """
<a href="https://twitter.com/igor_chubin" class="twitter-follow-button" data-show-count="false" data-button="grey">Follow @igor_chubin</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.... | 69.571429 | 318 | 0.727584 | 227 | 1,461 | 4.638767 | 0.348018 | 0.073124 | 0.045584 | 0.064577 | 0.436847 | 0.436847 | 0.436847 | 0.362773 | 0.362773 | 0.362773 | 0 | 0.001474 | 0.071184 | 1,461 | 20 | 319 | 73.05 | 0.774503 | 0 | 0 | 0.375 | 0 | 0.3125 | 0.928082 | 0.505479 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4fb15bbab014ea49ec4d29c55d2ea7b9957999cc | 322 | py | Python | src/CLIIDE/Class.py | Zistack/cliide | 1f4c1c9a14b44c3587d37348aae8b2f8de6a9cfa | [
"0BSD"
] | 1 | 2017-04-29T03:15:52.000Z | 2017-04-29T03:15:52.000Z | src/CLIIDE/Class.py | Zistack/cliide | 1f4c1c9a14b44c3587d37348aae8b2f8de6a9cfa | [
"0BSD"
] | null | null | null | src/CLIIDE/Class.py | Zistack/cliide | 1f4c1c9a14b44c3587d37348aae8b2f8de6a9cfa | [
"0BSD"
] | null | null | null | def isAlpha (c):
return (c >= 'A' and c <= 'Z') or (c >= 'a' and c <= 'z')
def isDigit (c):
return c >= '0' and c <= '9'
def isAlphaNum (c):
return isAlpha (c) or isDigit (c)
def isWhitespace (c):
return c == ' ' or c == '\t' or c == '\n' or c == '\r'
def isIdentifier (c):
return isAlphaNum (c) or c == '_... | 16.1 | 58 | 0.518634 | 55 | 322 | 3.018182 | 0.309091 | 0.210843 | 0.144578 | 0.072289 | 0.084337 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008368 | 0.257764 | 322 | 19 | 59 | 16.947368 | 0.686192 | 0 | 0 | 0 | 0 | 0 | 0.043478 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0 | 0 | 0.5 | 1 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
4fbadf5ee55c044859b3c2b32e6677be5c09b8c0 | 557 | py | Python | api/models/__init__.py | SdeWit/stereotypes-cs | d830d2362be251537abbfd08d17ea120da4e6eb2 | [
"MIT"
] | 5 | 2020-06-30T09:14:52.000Z | 2020-10-14T13:08:27.000Z | api/models/__init__.py | SdeWit/stereotypes-cs | d830d2362be251537abbfd08d17ea120da4e6eb2 | [
"MIT"
] | null | null | null | api/models/__init__.py | SdeWit/stereotypes-cs | d830d2362be251537abbfd08d17ea120da4e6eb2 | [
"MIT"
] | 3 | 2020-06-30T09:14:59.000Z | 2020-09-22T19:07:49.000Z | # pylint: disable=invalid-name, too-many-arguments, too-few-public-methods, no-member, dangerous-default-value
""" Module that imports the models for the database
(classes that will be mapped to the database schema)."""
from .enums import *
from .user import User
from .consent import Consent
from .participant impo... | 39.785714 | 110 | 0.81149 | 76 | 557 | 5.868421 | 0.539474 | 0.049327 | 0.076233 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.122083 | 557 | 13 | 111 | 42.846154 | 0.912065 | 0.378815 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 3 |
4fbc339e047c7ebaa1c517883178479f5a9d86cb | 2,356 | py | Python | src/backend/__init__.py | SubOptimal/seascope | 8a669e0e333801477c4624883bd1ab1823b71bbb | [
"BSD-3-Clause"
] | 8 | 2015-03-29T01:29:17.000Z | 2020-05-10T18:45:43.000Z | src/backend/__init__.py | SubOptimal/seascope | 8a669e0e333801477c4624883bd1ab1823b71bbb | [
"BSD-3-Clause"
] | 5 | 2015-12-04T10:53:35.000Z | 2021-01-03T05:39:55.000Z | src/backend/__init__.py | SubOptimal/seascope | 8a669e0e333801477c4624883bd1ab1823b71bbb | [
"BSD-3-Clause"
] | 9 | 2016-09-06T15:53:51.000Z | 2020-12-15T16:32:48.000Z | # Copyright (c) 2010 Anil Kumar
# All rights reserved.
#
# License: BSD
import os
import sys
import re
backend_plugins = []
backend_dict = {}
def _load_plugins(module, directory):
pluginImports = __import__(module, globals(), locals())
print('Scanning for backend plugins...')
plist = []
pdict = {}
for i in sor... | 18.40625 | 86 | 0.715195 | 372 | 2,356 | 4.233871 | 0.252688 | 0.084444 | 0.091429 | 0.047619 | 0.132063 | 0.111746 | 0.040635 | 0.040635 | 0.040635 | 0 | 0 | 0.002516 | 0.156621 | 2,356 | 127 | 87 | 18.551181 | 0.790136 | 0.02674 | 0 | 0.136364 | 0 | 0 | 0.038478 | 0 | 0 | 0 | 0 | 0 | 0.011364 | 1 | 0.261364 | false | 0.011364 | 0.068182 | 0.159091 | 0.534091 | 0.022727 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
4fd6fa9e162dbc8f694a943eed746285244f9f48 | 735 | py | Python | rogue/features/screen_resizing.py | SekouDiaoNlp/silver-rogue-df | 6b3f4d014084eb780f79e9eae8ae22553cf3d8ca | [
"MIT"
] | 1 | 2020-10-03T15:12:48.000Z | 2020-10-03T15:12:48.000Z | rogue/features/screen_resizing.py | SekouDiaoNlp/silver-rogue-df | 6b3f4d014084eb780f79e9eae8ae22553cf3d8ca | [
"MIT"
] | null | null | null | rogue/features/screen_resizing.py | SekouDiaoNlp/silver-rogue-df | 6b3f4d014084eb780f79e9eae8ae22553cf3d8ca | [
"MIT"
] | 1 | 2020-09-22T12:45:51.000Z | 2020-09-22T12:45:51.000Z |
class ScreenResizingFeature:
def addScreen(game, direction):
if hasattr(game, 'resize_amount'):
game.resize_amount += 1
else:
game.resize_amount = 0
def resizeScreen(game, direction):
resize_amount = game.resize_amount
game.resize_amount = 0
if d... | 30.625 | 49 | 0.582313 | 88 | 735 | 4.625 | 0.295455 | 0.29484 | 0.19656 | 0.162162 | 0.457002 | 0.324324 | 0.167076 | 0 | 0 | 0 | 0 | 0.016293 | 0.331973 | 735 | 23 | 50 | 31.956522 | 0.812627 | 0 | 0 | 0.095238 | 0 | 0 | 0.017711 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.095238 | false | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
4fead1b44693845252cb043e2e47065ed6584f6f | 13,721 | py | Python | casbin/management_enforcer.py | cosmix/pycasbin | 4d03d6e4ffee610b54ba9612115a8583d716f982 | [
"Apache-2.0"
] | null | null | null | casbin/management_enforcer.py | cosmix/pycasbin | 4d03d6e4ffee610b54ba9612115a8583d716f982 | [
"Apache-2.0"
] | null | null | null | casbin/management_enforcer.py | cosmix/pycasbin | 4d03d6e4ffee610b54ba9612115a8583d716f982 | [
"Apache-2.0"
] | null | null | null | # Copyright 2021 The casbin 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 applicable... | 44.548701 | 128 | 0.682749 | 1,866 | 13,721 | 4.833333 | 0.084673 | 0.034372 | 0.030159 | 0.037255 | 0.842776 | 0.792438 | 0.728573 | 0.678235 | 0.631777 | 0.559153 | 0 | 0.00284 | 0.230012 | 13,721 | 307 | 129 | 44.693811 | 0.850828 | 0.13913 | 0 | 0.269737 | 0 | 0 | 0.006495 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.138158 | false | 0 | 0.013158 | 0 | 0.460526 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 3 |
8b1ae59daabe4f8cafc22278f1be4c57b43c1028 | 2,284 | py | Python | sports/mlb/handlers/GamedaySynXml.py | OrangeCardinal/sportsdata | e6e182e89c8f8a12ffe18b218a37b8bdb8971e03 | [
"Apache-2.0"
] | null | null | null | sports/mlb/handlers/GamedaySynXml.py | OrangeCardinal/sportsdata | e6e182e89c8f8a12ffe18b218a37b8bdb8971e03 | [
"Apache-2.0"
] | null | null | null | sports/mlb/handlers/GamedaySynXml.py | OrangeCardinal/sportsdata | e6e182e89c8f8a12ffe18b218a37b8bdb8971e03 | [
"Apache-2.0"
] | null | null | null | import xml.sax
from sports.models.Game import Game
from sports.models.Bunch import Bunch
class GamedaySynXml(xml.sax.ContentHandler):
def __init__(self):
self.game = None
def startElement(self, name, attrs):
if name == 'game':
self.game = Game(**attrs)
elif name == 'date':
... | 25.662921 | 48 | 0.427758 | 226 | 2,284 | 4.29646 | 0.287611 | 0.313079 | 0.420185 | 0.055613 | 0.224511 | 0.179197 | 0.146241 | 0.146241 | 0 | 0 | 0 | 0 | 0.456655 | 2,284 | 89 | 49 | 25.662921 | 0.782434 | 0 | 0 | 0.448276 | 0 | 0 | 0.118162 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.022989 | false | 0.402299 | 0.034483 | 0 | 0.068966 | 0.011494 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
8b21747c93bea44bdafe862d0c86a54219ef2eb2 | 1,027 | py | Python | webcomix/tests/fake_websites/fixture.py | J-CPelletier/WebComicToCBZ | f845697beb15fa7b1fa3454bcfc18bcafa2e9961 | [
"MIT"
] | 29 | 2017-12-06T19:52:07.000Z | 2022-02-02T04:56:13.000Z | webcomix/tests/fake_websites/fixture.py | J-CPelletier/webcomix | 748f98c1e18aa5bd631b27a2b76b16d02640c392 | [
"MIT"
] | 35 | 2018-06-15T04:20:13.000Z | 2021-10-11T17:28:20.000Z | webcomix/tests/fake_websites/fixture.py | J-CPelletier/WebComicToCBZ | f845697beb15fa7b1fa3454bcfc18bcafa2e9961 | [
"MIT"
] | 2 | 2020-06-25T21:24:28.000Z | 2020-06-30T19:17:13.000Z | import os
from pathlib import Path
import pytest
def get_dir_path_of_script():
return Path(os.path.dirname(os.path.abspath(__file__)))
@pytest.fixture
def three_webpages_uri():
return str(
get_dir_path_of_script().joinpath("three_webpages/1.html").resolve().as_uri()
)
@pytest.fixture
def thre... | 19.377358 | 85 | 0.661149 | 136 | 1,027 | 4.580882 | 0.227941 | 0.057785 | 0.096308 | 0.11557 | 0.788122 | 0.685393 | 0.685393 | 0.685393 | 0.685393 | 0.685393 | 0 | 0.006234 | 0.219085 | 1,027 | 52 | 86 | 19.75 | 0.770574 | 0 | 0 | 0.487179 | 0 | 0 | 0.123661 | 0.106134 | 0 | 0 | 0 | 0 | 0 | 1 | 0.153846 | true | 0 | 0.076923 | 0.153846 | 0.384615 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
8c9bd2d46449be0220117d5ae05179b5c9f1390c | 325 | py | Python | app/main/forms.py | Evan-cell/Blog | 19fa9da920f640e9a19bbbdfeeef84caf17dd58e | [
"Unlicense"
] | null | null | null | app/main/forms.py | Evan-cell/Blog | 19fa9da920f640e9a19bbbdfeeef84caf17dd58e | [
"Unlicense"
] | null | null | null | app/main/forms.py | Evan-cell/Blog | 19fa9da920f640e9a19bbbdfeeef84caf17dd58e | [
"Unlicense"
] | null | null | null | from flask_wtf import FlaskForm
from wtforms import StringField,PasswordField,SubmitField,ValidationError,BooleanField,TextAreaField
from wtforms.validators import Required,Email,EqualTo
class UpdateProfile(FlaskForm):
bio = TextAreaField('Tell us about you.',validators = [Required()])
submit = SubmitField('Sub... | 54.166667 | 100 | 0.815385 | 35 | 325 | 7.542857 | 0.685714 | 0.083333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098462 | 325 | 6 | 101 | 54.166667 | 0.901024 | 0 | 0 | 0 | 0 | 0 | 0.07362 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0.5 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 3 |
8ca0a25990d7b8dca8ac28495b86871dd57c34df | 138 | py | Python | ctfproblems/binary/test4/grader.py | diptangsu/pactf | 34c0901966a47db1b1c54c1cdb023f512322c5b9 | [
"MIT"
] | 10 | 2016-02-29T00:30:54.000Z | 2021-04-18T17:47:54.000Z | ctfproblems/binary/test4/grader.py | diptangsu/pactf | 34c0901966a47db1b1c54c1cdb023f512322c5b9 | [
"MIT"
] | 1 | 2018-06-21T21:55:33.000Z | 2018-06-25T12:49:59.000Z | ctfproblems/binary/test4/grader.py | PACTF/pactf | 43420bf29b04087ae23c64053569d7414258670e | [
"MIT"
] | 8 | 2016-04-01T14:57:05.000Z | 2019-04-01T03:37:21.000Z | def grade(key, submission):
if 'flag4' in submission:
return True, "You did it!"
else:
return False, "Try again…"
| 23 | 34 | 0.586957 | 19 | 138 | 4.421053 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010309 | 0.297101 | 138 | 5 | 35 | 27.6 | 0.824742 | 0 | 0 | 0 | 0 | 0 | 0.188406 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
8cd6cb11a68647f012790826d8d01aef1818b137 | 229 | py | Python | self_supervised/model/__init__.py | 36000/myow | 73f2b430d284bcd6bb0c6faaac30576e84393ff1 | [
"Apache-2.0"
] | 19 | 2021-02-22T15:51:30.000Z | 2022-01-23T12:25:30.000Z | self_supervised/model/__init__.py | 36000/myow | 73f2b430d284bcd6bb0c6faaac30576e84393ff1 | [
"Apache-2.0"
] | 1 | 2022-01-19T16:21:51.000Z | 2022-01-19T16:21:51.000Z | self_supervised/model/__init__.py | 36000/myow | 73f2b430d284bcd6bb0c6faaac30576e84393ff1 | [
"Apache-2.0"
] | 2 | 2021-07-28T21:19:07.000Z | 2022-01-26T23:10:56.000Z | from .mlp3 import MLP3
from .byol import BYOL
from .double_byol import DoubleBYOL
from .myow_factory import myow_factory
# generate myow variants
MYOW = myow_factory(DoubleBYOL)
__all__ = [
'BYOL',
'MLP3',
'MYOW'
]
| 16.357143 | 38 | 0.724891 | 30 | 229 | 5.266667 | 0.366667 | 0.208861 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016216 | 0.19214 | 229 | 13 | 39 | 17.615385 | 0.837838 | 0.09607 | 0 | 0 | 1 | 0 | 0.058537 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 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 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8cd71278a9e2a5d1a6f36ddce6f016388a59fee5 | 150 | py | Python | runners/cs/main.py | MBRUN138/open-contest | 2d0f4f0db3da5b59a6e50c8ee3775fba1bf6297c | [
"Apache-2.0"
] | null | null | null | runners/cs/main.py | MBRUN138/open-contest | 2d0f4f0db3da5b59a6e50c8ee3775fba1bf6297c | [
"Apache-2.0"
] | 49 | 2019-04-02T09:35:40.000Z | 2021-03-20T17:15:12.000Z | runners/cs/main.py | MBRUN138/open-contest | 2d0f4f0db3da5b59a6e50c8ee3775fba1bf6297c | [
"Apache-2.0"
] | 22 | 2019-03-29T18:07:06.000Z | 2021-02-24T19:49:50.000Z | import sys
import runner
runner.runCode(
int(sys.argv[1]),
int(sys.argv[2]),
"csc code.cs -out:code.exe",
"mono code.exe",
True
) | 15 | 32 | 0.6 | 24 | 150 | 3.75 | 0.625 | 0.133333 | 0.222222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017241 | 0.226667 | 150 | 10 | 33 | 15 | 0.758621 | 0 | 0 | 0 | 0 | 0 | 0.251656 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.222222 | 0 | 0.222222 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
8ce6b599eb221e90b4b056d92f49498687931f61 | 575 | py | Python | AuthenticationApp/views.py | cs-fullstack-2019-spring/django-authentication-cw-Kenn-CodeCrew | 8bb833ae0cf11ef7ab197f23879e59565ae36af5 | [
"Apache-2.0"
] | null | null | null | AuthenticationApp/views.py | cs-fullstack-2019-spring/django-authentication-cw-Kenn-CodeCrew | 8bb833ae0cf11ef7ab197f23879e59565ae36af5 | [
"Apache-2.0"
] | null | null | null | AuthenticationApp/views.py | cs-fullstack-2019-spring/django-authentication-cw-Kenn-CodeCrew | 8bb833ae0cf11ef7ab197f23879e59565ae36af5 | [
"Apache-2.0"
] | null | null | null | from django.shortcuts import render
from django.http import HttpResponse
from .forms import FoodFitnessForm
from django.contrib.auth.models import User
# Create your views here.
def index(request):
return render(request, "AuthenticationApp/index.html")
def new_user(request):
form = FoodFitnessForm()
con... | 27.380952 | 70 | 0.756522 | 71 | 575 | 6.028169 | 0.43662 | 0.070093 | 0.133178 | 0.252336 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133913 | 575 | 20 | 71 | 28.75 | 0.859438 | 0.04 | 0 | 0 | 0 | 0 | 0.196364 | 0.174545 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.307692 | 0.076923 | 0.769231 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
8cf22298da75498b1411d453ebb3592b1d7652d0 | 1,045 | py | Python | SerialControl/HardwareLibrary.py | robdobsn/SingleArmScaraSoftware | f8d8782b8cd015bea374dd038ec791ead2477d4f | [
"MIT"
] | 1 | 2017-12-19T16:31:09.000Z | 2017-12-19T16:31:09.000Z | SerialControl/HardwareLibrary.py | robdobsn/SingleArmScaraSoftware | f8d8782b8cd015bea374dd038ec791ead2477d4f | [
"MIT"
] | null | null | null | SerialControl/HardwareLibrary.py | robdobsn/SingleArmScaraSoftware | f8d8782b8cd015bea374dd038ec791ead2477d4f | [
"MIT"
] | null | null | null |
import time
class UART:
testString = "G0 0 100\x0aV0 100\x0aV0 0\x0a"
testStringPos = 0
def __init__(self, port, baud):
print("UART", port, "baud", baud)
def write(self, ch):
print(ch,end="")
def any(self):
return len(self.testString)-self.testStringPos
def readcha... | 16.854839 | 54 | 0.57799 | 139 | 1,045 | 4.244604 | 0.366906 | 0.035593 | 0.055932 | 0.040678 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.030914 | 0.288038 | 1,045 | 61 | 55 | 17.131148 | 0.762097 | 0 | 0 | 0.102564 | 0 | 0 | 0.06232 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.384615 | false | 0 | 0.025641 | 0.179487 | 0.769231 | 0.179487 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 3 |
5072de79cce2ba27bfc96f0a504766ca7336d934 | 149 | py | Python | ehall/conf/global_settings.py | DEQh64t/ehall | 0786db25b4cffe3f3b6392da5de966d9d9fe14a9 | [
"MIT"
] | null | null | null | ehall/conf/global_settings.py | DEQh64t/ehall | 0786db25b4cffe3f3b6392da5de966d9d9fe14a9 | [
"MIT"
] | null | null | null | ehall/conf/global_settings.py | DEQh64t/ehall | 0786db25b4cffe3f3b6392da5de966d9d9fe14a9 | [
"MIT"
] | null | null | null | LOGIN_URL = 'http://authserver.njmu.edu.cn/authserver/login'
USERNAME = None
PASSWORD = None
INSTALLED_APPS = {
"Yjsyss": "5458968778271492"
}
| 16.555556 | 60 | 0.718121 | 17 | 149 | 6.176471 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 0.14094 | 149 | 8 | 61 | 18.625 | 0.695313 | 0 | 0 | 0 | 0 | 0 | 0.456376 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.166667 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 3 |
50c258e35307491c57323fe721748aec2607d71f | 1,752 | py | Python | savu/plugins/reconstructions/astra_recons/astra_recon_cpu_tools.py | nghia-vo/Savu | 1cf7343c141224643b2e1fb2f05e74448bc4fd58 | [
"Apache-2.0"
] | null | null | null | savu/plugins/reconstructions/astra_recons/astra_recon_cpu_tools.py | nghia-vo/Savu | 1cf7343c141224643b2e1fb2f05e74448bc4fd58 | [
"Apache-2.0"
] | null | null | null | savu/plugins/reconstructions/astra_recons/astra_recon_cpu_tools.py | nghia-vo/Savu | 1cf7343c141224643b2e1fb2f05e74448bc4fd58 | [
"Apache-2.0"
] | null | null | null | from savu.plugins.plugin_tools import PluginTools
class AstraReconCpuTools(PluginTools):
"""A Plugin to run the astra reconstruction
"""
def define_parameters(self):
"""
algorithm:
visibility: basic
dtype: str
options: [FBP,SIRT,SART,ART,CGLS,BP]
... | 38.933333 | 76 | 0.559361 | 176 | 1,752 | 5.545455 | 0.488636 | 0.030738 | 0.052254 | 0.058402 | 0.252049 | 0.17418 | 0.17418 | 0.17418 | 0.17418 | 0.17418 | 0 | 0 | 0.393265 | 1,752 | 44 | 77 | 39.818182 | 0.918156 | 0.745434 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 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 | 1 | 0 | 1 | 0 | 0 | 3 |
50ef57a20af66dcb1f9b9603bfde62f36086d250 | 19,234 | py | Python | src/python_pachyderm/client/admin/admin_pb2.py | thedrow/python-pachyderm | eefd5a60dd051499c04d338b645ce59f1a6d8e50 | [
"Apache-2.0"
] | null | null | null | src/python_pachyderm/client/admin/admin_pb2.py | thedrow/python-pachyderm | eefd5a60dd051499c04d338b645ce59f1a6d8e50 | [
"Apache-2.0"
] | null | null | null | src/python_pachyderm/client/admin/admin_pb2.py | thedrow/python-pachyderm | eefd5a60dd051499c04d338b645ce59f1a6d8e50 | [
"Apache-2.0"
] | null | null | null | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: client/admin/admin.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflectio... | 39.821946 | 2,112 | 0.757045 | 2,609 | 19,234 | 5.23074 | 0.087007 | 0.042793 | 0.032388 | 0.025793 | 0.718326 | 0.669671 | 0.637356 | 0.601158 | 0.560416 | 0.531032 | 0 | 0.050068 | 0.119424 | 19,234 | 482 | 2,113 | 39.904564 | 0.755683 | 0.028595 | 0 | 0.635321 | 1 | 0.016055 | 0.148672 | 0.101168 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.022936 | null | null | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 3 |
0fa08914c0c7ca120d777c5e2e3896ca6830072a | 450 | py | Python | tests/beta_tests/test_unscrambled_eggs.py | the-zebulan/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 40 | 2016-03-09T12:26:20.000Z | 2022-03-23T08:44:51.000Z | tests/beta_tests/test_unscrambled_eggs.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | null | null | null | tests/beta_tests/test_unscrambled_eggs.py | akalynych/CodeWars | 1eafd1247d60955a5dfb63e4882e8ce86019f43a | [
"MIT"
] | 36 | 2016-11-07T19:59:58.000Z | 2022-03-31T11:18:27.000Z | import unittest
from katas.beta.unscrambled_eggs import unscramble_eggs
class UnscrambleEggsTestCase(unittest.TestCase):
def test_equals(self):
self.assertEqual(unscramble_eggs('Beggegeggineggneggeregg'), 'Beginner')
def test_equals_2(self):
self.assertEqual(unscramble_eggs('ceggodegge hegge... | 30 | 80 | 0.755556 | 50 | 450 | 6.6 | 0.56 | 0.169697 | 0.118182 | 0.263636 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005195 | 0.144444 | 450 | 14 | 81 | 32.142857 | 0.851948 | 0 | 0 | 0 | 0 | 0 | 0.197778 | 0.051111 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.333333 | false | 0 | 0.222222 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0fa7417a8345dcc5184c666a32319fc72eb585d5 | 89 | py | Python | mailgun/apps.py | KirovVerst/YAQueueProject | d232267f67230dc54223c4b1019b6f66b9f5e249 | [
"MIT"
] | 3 | 2021-03-23T03:48:03.000Z | 2021-11-24T04:08:38.000Z | mailgun/apps.py | KirovVerst/YAQueueProject | d232267f67230dc54223c4b1019b6f66b9f5e249 | [
"MIT"
] | 3 | 2020-06-06T00:17:14.000Z | 2021-06-10T22:23:50.000Z | mailgun/apps.py | KirovVerst/YAQueueProject | d232267f67230dc54223c4b1019b6f66b9f5e249 | [
"MIT"
] | null | null | null | from django.apps import AppConfig
class MailgunConfig(AppConfig):
name = 'mailgun'
| 14.833333 | 33 | 0.752809 | 10 | 89 | 6.7 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168539 | 89 | 5 | 34 | 17.8 | 0.905405 | 0 | 0 | 0 | 0 | 0 | 0.078652 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
0faa012656fbf00d38a2ae69d33236dfe0a2a9ca | 168 | py | Python | release/stubs.min/Tekla/Structures/ModelInternal_parts/dotPosition_t.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | release/stubs.min/Tekla/Structures/ModelInternal_parts/dotPosition_t.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | release/stubs.min/Tekla/Structures/ModelInternal_parts/dotPosition_t.py | YKato521/ironpython-stubs | b1f7c580de48528490b3ee5791b04898be95a9ae | [
"MIT"
] | null | null | null | class dotPosition_t(object):
# no doc
Depth = None
DepthOffset = None
Plane = None
PlaneOffset = None
Rotation = None
RotationOffset = None
| 18.666667 | 28 | 0.636905 | 18 | 168 | 5.888889 | 0.722222 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.303571 | 168 | 8 | 29 | 21 | 0.905983 | 0.035714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0fad214d2abdde0c3668c31026af84616dd46e76 | 1,379 | py | Python | src/moegplib/baselines/layers/fc.py | DLR-RM/moegplib | 501c7fff49bc98e7cb62831f4185c34523837597 | [
"MIT"
] | null | null | null | src/moegplib/baselines/layers/fc.py | DLR-RM/moegplib | 501c7fff49bc98e7cb62831f4185c34523837597 | [
"MIT"
] | null | null | null | src/moegplib/baselines/layers/fc.py | DLR-RM/moegplib | 501c7fff49bc98e7cb62831f4185c34523837597 | [
"MIT"
] | null | null | null | import torch
from .layer import VarPropagationLayer
from .layer_utils import get_jacobian_loop
class DenseVarPropagationLayer(VarPropagationLayer):
def __init__(self, layer: torch.nn.Module, use_cov=False, **kwargs):
super(DenseVarPropagationLayer, self).__init__(layer, use_cov, **kwargs)
self.wei... | 38.305556 | 99 | 0.627991 | 174 | 1,379 | 4.758621 | 0.247126 | 0.086957 | 0.060386 | 0.05314 | 0.673913 | 0.652174 | 0.652174 | 0.652174 | 0.652174 | 0.652174 | 0 | 0.010446 | 0.236403 | 1,379 | 35 | 100 | 39.4 | 0.775878 | 0.013053 | 0 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.230769 | false | 0 | 0.115385 | 0.076923 | 0.576923 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 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 | 3 |
0fb6ad71afc9e14f1ce986da36c1582f0c4917d5 | 350 | py | Python | plugin/vimrsync/lib/utils.py | pe1te3son/vim-rsync | 157d36f732f672df2fb02ee6460c22a82ef44180 | [
"MIT"
] | null | null | null | plugin/vimrsync/lib/utils.py | pe1te3son/vim-rsync | 157d36f732f672df2fb02ee6460c22a82ef44180 | [
"MIT"
] | null | null | null | plugin/vimrsync/lib/utils.py | pe1te3son/vim-rsync | 157d36f732f672df2fb02ee6460c22a82ef44180 | [
"MIT"
] | null | null | null | import vim
def get_args_list(args):
args, values = zip(*args)
return list(args)
def print_error_msg(msg):
vim.command(":echohl ErrorMsg | echo '" + msg + "' | echohl None")
def print_msg(msg):
vim.command(":echo '" + msg + "'")
def print_success_msg(msg):
vim.command(":echohl DiffAdd | echo ... | 18.421053 | 70 | 0.62 | 48 | 350 | 4.375 | 0.395833 | 0.114286 | 0.128571 | 0.228571 | 0.209524 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.211429 | 350 | 18 | 71 | 19.444444 | 0.76087 | 0 | 0 | 0 | 0 | 0 | 0.248571 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0 | 0.6 | 0.3 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 |
0fbdafdda4bffa6053092bd4cdf78d33f464fbc3 | 949 | py | Python | tests/conftest.py | armyoftanks/MockCongress | 56a3811ed07912a840bfd37e26915580e82a00a4 | [
"MIT"
] | 4 | 2021-08-07T19:49:47.000Z | 2021-08-17T23:36:53.000Z | tests/conftest.py | PacManDAO/MockCongress | 1f03598064501772ce1b31f1f5e092ae8d1cb13d | [
"MIT"
] | null | null | null | tests/conftest.py | PacManDAO/MockCongress | 1f03598064501772ce1b31f1f5e092ae8d1cb13d | [
"MIT"
] | null | null | null | import pytest
from brownie import *
@pytest.fixture(scope="function", autouse=True)
def isolate(fn_isolation):
# perform a chain rewind after completing each test, to ensure proper isolation
# https://eth-brownie.readthedocs.io/en/v1.10.3/tests-pytest-intro.html#isolation-fixtures
pass
@pytest.fixture(s... | 24.333333 | 94 | 0.70706 | 121 | 949 | 5.471074 | 0.471074 | 0.117825 | 0.163142 | 0.181269 | 0.436556 | 0.299094 | 0.108761 | 0 | 0 | 0 | 0 | 0.013514 | 0.142255 | 949 | 38 | 95 | 24.973684 | 0.799754 | 0.173867 | 0 | 0.291667 | 0 | 0 | 0.14359 | 0.029487 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.041667 | 0.083333 | 0.125 | 0.541667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 3 |
0fc84d7b9c123bd63a853509d41473eb8f5ca7c8 | 189 | py | Python | apps/task/urls.py | banyanbbt/banyan_data | 4ce87dc1c49920d587a472b70842fcf5b3d9a3d2 | [
"MIT"
] | 2 | 2018-09-08T05:16:39.000Z | 2018-09-10T02:50:31.000Z | apps/task/urls.py | banyanbbt/banyan_data | 4ce87dc1c49920d587a472b70842fcf5b3d9a3d2 | [
"MIT"
] | null | null | null | apps/task/urls.py | banyanbbt/banyan_data | 4ce87dc1c49920d587a472b70842fcf5b3d9a3d2 | [
"MIT"
] | null | null | null | from django.urls import path
from django.conf.urls import url
from . import views
app_name = 'task'
urlpatterns = [
url(r'^$', views.TaskListPage.as_view(), name='task-list-page'),
]
| 18.9 | 68 | 0.703704 | 28 | 189 | 4.678571 | 0.642857 | 0.152672 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.148148 | 189 | 9 | 69 | 21 | 0.813665 | 0 | 0 | 0 | 0 | 0 | 0.10582 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 3 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.