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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fdccf6b9b0510715a5cb7e87ac21ae3925e55022 | 8,069 | py | Python | setup.py | pooyagheyami/Employee3 | 35a3f78637cf61cc8f2ebd5b1953e1aae668a365 | [
"Unlicense"
] | null | null | null | setup.py | pooyagheyami/Employee3 | 35a3f78637cf61cc8f2ebd5b1953e1aae668a365 | [
"Unlicense"
] | null | null | null | setup.py | pooyagheyami/Employee3 | 35a3f78637cf61cc8f2ebd5b1953e1aae668a365 | [
"Unlicense"
] | null | null | null |
# ======================================================== #
# File automagically generated by GUI2Exe version 0.5.3
# Copyright: (c) 2007-2012 Andrea Gavana
# ======================================================== #
# Let's start with some default (for me) imports...
from distutils.core import setup
from... | 47.745562 | 92 | 0.511835 | 983 | 8,069 | 4.12411 | 0.295015 | 0.026147 | 0.213863 | 0.239023 | 0.426986 | 0.411199 | 0.411199 | 0.376418 | 0.210163 | 0.172176 | 0 | 0.049725 | 0.302144 | 8,069 | 168 | 93 | 48.029762 | 0.670218 | 0.19705 | 0 | 0 | 1 | 0 | 0.50423 | 0.421389 | 0 | 0 | 0 | 0 | 0 | 1 | 0.009434 | false | 0 | 0.056604 | 0 | 0.075472 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fddcad4658c79b85fd6f74b81cbd5a25f480e036 | 7,046 | py | Python | tests/test_pool.py | elastic-coders/aioes | a15a6cbc886d8afb67782947571676587e5b9a84 | [
"Apache-2.0"
] | null | null | null | tests/test_pool.py | elastic-coders/aioes | a15a6cbc886d8afb67782947571676587e5b9a84 | [
"Apache-2.0"
] | null | null | null | tests/test_pool.py | elastic-coders/aioes | a15a6cbc886d8afb67782947571676587e5b9a84 | [
"Apache-2.0"
] | 1 | 2021-02-09T10:09:03.000Z | 2021-02-09T10:09:03.000Z | import asyncio
import random
import time
import unittest
from aioes.pool import RandomSelector, RoundRobinSelector, ConnectionPool
from aioes.transport import Endpoint
from aioes.connection import Connection
class TestRandomSelector(unittest.TestCase):
def setUp(self):
random.seed(123456)
def tearD... | 30.903509 | 74 | 0.588135 | 825 | 7,046 | 4.876364 | 0.111515 | 0.065623 | 0.06786 | 0.054934 | 0.801641 | 0.758141 | 0.745961 | 0.684067 | 0.670395 | 0.656972 | 0 | 0.022956 | 0.295203 | 7,046 | 227 | 75 | 31.039648 | 0.787153 | 0 | 0 | 0.678571 | 0 | 0 | 0.005961 | 0 | 0 | 0 | 0 | 0 | 0.261905 | 1 | 0.154762 | false | 0 | 0.041667 | 0 | 0.220238 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
fde4820c6beec0012d1ab8b2ffd45b67c73f889e | 243 | py | Python | emukit/core/acquisition/__init__.py | aaronkl/emukit | ccd80811a1b8e11ece97dceb2f8c7b92a7a4f236 | [
"Apache-2.0"
] | 6 | 2019-06-02T21:23:27.000Z | 2020-02-17T09:46:30.000Z | emukit/core/acquisition/__init__.py | aaronkl/emukit | ccd80811a1b8e11ece97dceb2f8c7b92a7a4f236 | [
"Apache-2.0"
] | 4 | 2019-05-17T13:30:21.000Z | 2019-06-21T13:49:19.000Z | emukit/core/acquisition/__init__.py | aaronkl/emukit | ccd80811a1b8e11ece97dceb2f8c7b92a7a4f236 | [
"Apache-2.0"
] | null | null | null | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
from .acquisition import Acquisition # noqa: F401
from .acquisition_per_cost import acquisition_per_expected_cost # noqa: F401
| 34.714286 | 77 | 0.794239 | 34 | 243 | 5.529412 | 0.735294 | 0.159574 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.056872 | 0.131687 | 243 | 6 | 78 | 40.5 | 0.834123 | 0.530864 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
a903024a1bfc351611f82b0550fe80cd66f80b59 | 274 | py | Python | tests/v1/test_health.py | anthcor/firestore-fastapi | ff2bb02811e4cd8f776119879a1db260a6f550ac | [
"MIT"
] | 14 | 2020-10-15T19:29:08.000Z | 2021-12-07T22:34:39.000Z | tests/test_health.py | anthonycorletti/firestore-fastapi | 00667de7b477403599c5db56ae326d32334208c2 | [
"MIT"
] | 1 | 2021-02-03T00:38:09.000Z | 2021-02-03T00:38:09.000Z | tests/v1/test_health.py | anthcor/firestore-fastapi | ff2bb02811e4cd8f776119879a1db260a6f550ac | [
"MIT"
] | 1 | 2022-02-19T16:34:02.000Z | 2022-02-19T16:34:02.000Z | from starlette.testclient import TestClient
def test_healthcheck(client: TestClient):
request = client.get("/healthcheck")
response = request.json()
assert response.get("message") == "healthy"
assert response.get("version")
assert response.get("time")
| 27.4 | 47 | 0.715328 | 30 | 274 | 6.5 | 0.566667 | 0.215385 | 0.261538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.156934 | 274 | 9 | 48 | 30.444444 | 0.844156 | 0 | 0 | 0 | 0 | 0 | 0.135037 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.142857 | false | 0 | 0.142857 | 0 | 0.285714 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e30328ff867e56c2585e767767e1211f355601b8 | 202 | py | Python | kortex_driver/conanfile.py | OLdGuann/ros_kortex | a334ce2a9fcbec12b27012f77183a81a75ec6e6e | [
"BSD-3-Clause"
] | 89 | 2018-12-07T20:39:29.000Z | 2022-03-18T18:13:31.000Z | kortex_driver/conanfile.py | OLdGuann/ros_kortex | a334ce2a9fcbec12b27012f77183a81a75ec6e6e | [
"BSD-3-Clause"
] | 164 | 2019-01-25T21:43:16.000Z | 2022-03-31T03:56:54.000Z | kortex_driver/conanfile.py | OLdGuann/ros_kortex | a334ce2a9fcbec12b27012f77183a81a75ec6e6e | [
"BSD-3-Clause"
] | 102 | 2019-01-25T21:49:05.000Z | 2022-03-28T17:20:16.000Z | from conans import ConanFile, CMake
import os
import shutil
import time
class ROSKortexConan(ConanFile):
def requirements(self):
self.requires("kortex_api_cpp/2.3.0-r.34@kortex/stable")
| 20.2 | 64 | 0.747525 | 29 | 202 | 5.137931 | 0.793103 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.029412 | 0.158416 | 202 | 9 | 65 | 22.444444 | 0.847059 | 0 | 0 | 0 | 0 | 0 | 0.193069 | 0.193069 | 0 | 0 | 0 | 0 | 0 | 1 | 0.142857 | false | 0 | 0.571429 | 0 | 0.857143 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
e336b191f25105983cbb35852dc5cc710dcfb45e | 42 | py | Python | api/config.py | gotangle/aribox-iota | 0282f5e8830fd16ba4d727f5d8f86183e34ace83 | [
"MIT"
] | null | null | null | api/config.py | gotangle/aribox-iota | 0282f5e8830fd16ba4d727f5d8f86183e34ace83 | [
"MIT"
] | null | null | null | api/config.py | gotangle/aribox-iota | 0282f5e8830fd16ba4d727f5d8f86183e34ace83 | [
"MIT"
] | null | null | null | HOST_URL = 'http://node3.puyuma.org:8000'
| 21 | 41 | 0.714286 | 7 | 42 | 4.142857 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 0.071429 | 42 | 1 | 42 | 42 | 0.615385 | 0 | 0 | 0 | 0 | 0 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
e34693d941582d553bcadbc4f314ae312781b4ac | 604,969 | py | Python | icons_rc.py | keroo-adel/Binking_System_management. | c0276f74f676e2ab761d149b79834517bab0ba7f | [
"MIT"
] | null | null | null | icons_rc.py | keroo-adel/Binking_System_management. | c0276f74f676e2ab761d149b79834517bab0ba7f | [
"MIT"
] | null | null | null | icons_rc.py | keroo-adel/Binking_System_management. | c0276f74f676e2ab761d149b79834517bab0ba7f | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
# Resource object code
#
# Created by: The Resource Compiler for PyQt5 (Qt v5.15.0)
#
# WARNING! All changes made in this file will be lost!
from PyQt5 import QtCore
qt_resource_data = b"\
\x00\x00\x20\x62\
\x89\
\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d\x49\x48\x44\x52\x00\
\x00\x01\x00\x... | 65.550872 | 103 | 0.727203 | 146,562 | 604,969 | 3.00144 | 0.002095 | 0.00551 | 0.003437 | 0.003819 | 0.036022 | 0.027238 | 0.023812 | 0.022469 | 0.021009 | 0.02058 | 0 | 0.316051 | 0.015399 | 604,969 | 9,228 | 104 | 65.557976 | 0.422461 | 0.000251 | 0 | 0.012267 | 0 | 0.992618 | 0.000002 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0.000217 | false | 0 | 0.000109 | 0 | 0.000326 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
8b660d1ef9517c211d960e3d086998a60c570140 | 186 | py | Python | bcproject/bcapp/serializers.py | imajic-unimelb/backend_challenge | 3de5c43ec54161cf2cae7a0dc0466d50b7f84aef | [
"MIT"
] | null | null | null | bcproject/bcapp/serializers.py | imajic-unimelb/backend_challenge | 3de5c43ec54161cf2cae7a0dc0466d50b7f84aef | [
"MIT"
] | null | null | null | bcproject/bcapp/serializers.py | imajic-unimelb/backend_challenge | 3de5c43ec54161cf2cae7a0dc0466d50b7f84aef | [
"MIT"
] | null | null | null | from rest_framework import serializers
from .models import Routes
class RoutesSerializer(serializers.ModelSerializer):
class Meta:
model = Routes
fields = '__all__' | 23.25 | 52 | 0.736559 | 19 | 186 | 6.947368 | 0.736842 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.209677 | 186 | 8 | 53 | 23.25 | 0.897959 | 0 | 0 | 0 | 0 | 0 | 0.037433 | 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 | 1 | 0 | 0 | 4 |
8b8a54dd6f2433d2ecd25422197bbb52a3e41ec3 | 290 | py | Python | on_excel/__init__.py | yuyuko-C/pyworkkit | 7785356bcbc93f56c81f3d78362598d1a6ba10c2 | [
"Apache-2.0"
] | null | null | null | on_excel/__init__.py | yuyuko-C/pyworkkit | 7785356bcbc93f56c81f3d78362598d1a6ba10c2 | [
"Apache-2.0"
] | null | null | null | on_excel/__init__.py | yuyuko-C/pyworkkit | 7785356bcbc93f56c81f3d78362598d1a6ba10c2 | [
"Apache-2.0"
] | null | null | null | from openpyxl.styles import PatternFill, Border, Side, Alignment, Protection, Font
from openpyxl.utils import get_column_letter, column_index_from_string
from .reader import load_workbook
from .workbook import Workbook
from .worksheet import Worksheet
from .cell import Cell, MergedCell
| 29 | 82 | 0.837931 | 39 | 290 | 6.076923 | 0.564103 | 0.101266 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.117241 | 290 | 9 | 83 | 32.222222 | 0.925781 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
8b8cfc8a39b6c64992f5a8494ddc670dde4e0081 | 300 | py | Python | ex13/ex13-2b.py | taylorcreekbaum/lpthw | 7d9848875c421a2e96faecd3f3bbaa18e1e5880f | [
"MIT"
] | null | null | null | ex13/ex13-2b.py | taylorcreekbaum/lpthw | 7d9848875c421a2e96faecd3f3bbaa18e1e5880f | [
"MIT"
] | null | null | null | ex13/ex13-2b.py | taylorcreekbaum/lpthw | 7d9848875c421a2e96faecd3f3bbaa18e1e5880f | [
"MIT"
] | null | null | null | from sys import argv
script, breakfast, lunch, dinner, dessert= argv
print(f"You ate {breakfast} this morning? Sounds yummy!")
print(f"And {lunch} for lunch? I'm so jealous!")
print(f"And {dinner} for dinner?? Really? Please come be my chef!")
print(f"Ah, sweet succulent {dessert}... to die for.") | 37.5 | 67 | 0.716667 | 50 | 300 | 4.3 | 0.68 | 0.111628 | 0.083721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 300 | 8 | 68 | 37.5 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0.61794 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
8bc2262449bd35c6b8050744b5cb28eb2c56407e | 77 | py | Python | manage.py | williamHuang5468/StockServer | 9a70d0dc2f36b6f1ccb61c593334d518415e166f | [
"MIT"
] | null | null | null | manage.py | williamHuang5468/StockServer | 9a70d0dc2f36b6f1ccb61c593334d518415e166f | [
"MIT"
] | 6 | 2017-02-13T10:07:21.000Z | 2017-02-16T15:02:17.000Z | manage.py | williamHuang5468/StockServer | 9a70d0dc2f36b6f1ccb61c593334d518415e166f | [
"MIT"
] | null | null | null | from stockserver import app, views
if __name__ == '__main__':
app.run()
| 15.4 | 34 | 0.688312 | 10 | 77 | 4.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.194805 | 77 | 4 | 35 | 19.25 | 0.725806 | 0 | 0 | 0 | 0 | 0 | 0.103896 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
8be644d7cb7b892f243601e0baf2312a3f71ab44 | 80 | py | Python | vpp-api/python/vpp_papi/__init__.py | muharif/vpp | 74436ed67d8cfa1f5cf18563b6060e298bfd64b9 | [
"Apache-2.0"
] | null | null | null | vpp-api/python/vpp_papi/__init__.py | muharif/vpp | 74436ed67d8cfa1f5cf18563b6060e298bfd64b9 | [
"Apache-2.0"
] | null | null | null | vpp-api/python/vpp_papi/__init__.py | muharif/vpp | 74436ed67d8cfa1f5cf18563b6060e298bfd64b9 | [
"Apache-2.0"
] | null | null | null | __import__('pkg_resources').declare_namespace(__name__)
from .vpp_papi import *
| 26.666667 | 55 | 0.825 | 10 | 80 | 5.5 | 0.9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 80 | 2 | 56 | 40 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.1625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
4746fc65c09cba9ce5f8e849afeb73d1dc3a674d | 115 | py | Python | iris_sdk/models/maps/hosts.py | NumberAI/python-bandwidth-iris | 0e05f79d68b244812afb97e00fd65b3f46d00aa3 | [
"MIT"
] | 2 | 2020-04-13T13:47:59.000Z | 2022-02-23T20:32:41.000Z | iris_sdk/models/maps/hosts.py | bandwidthcom/python-bandwidth-iris | dbcb30569631395041b92917252d913166f7d3c9 | [
"MIT"
] | 5 | 2020-09-18T20:59:24.000Z | 2021-08-25T16:51:42.000Z | iris_sdk/models/maps/hosts.py | bandwidthcom/python-bandwidth-iris | dbcb30569631395041b92917252d913166f7d3c9 | [
"MIT"
] | 5 | 2018-12-12T14:39:50.000Z | 2020-11-17T21:42:29.000Z | #!/usr/bin/env python
from iris_sdk.models.maps.base_map import BaseMap
class HostsMap(BaseMap):
host = None | 16.428571 | 49 | 0.747826 | 18 | 115 | 4.666667 | 0.944444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.147826 | 115 | 7 | 50 | 16.428571 | 0.857143 | 0.173913 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
4756ce02c3d6cf93ebe7ab36109c1bdbef7f5df1 | 239 | py | Python | tests/test_init.py | WIPACrepo/MQClient | 5d60adbfd327826389eb3f3af4950b94cdfac620 | [
"MIT"
] | null | null | null | tests/test_init.py | WIPACrepo/MQClient | 5d60adbfd327826389eb3f3af4950b94cdfac620 | [
"MIT"
] | 26 | 2020-07-22T15:21:55.000Z | 2022-03-21T23:57:17.000Z | tests/test_init.py | WIPACrepo/MQClient | 5d60adbfd327826389eb3f3af4950b94cdfac620 | [
"MIT"
] | null | null | null | """Unit test imports."""
import importlib
def test_import() -> None:
"""Test module imports."""
m = importlib.import_module("mqclient")
print(dir(m))
assert hasattr(m, "queue")
assert hasattr(m, "backend_interface")
| 19.916667 | 43 | 0.648536 | 29 | 239 | 5.241379 | 0.586207 | 0.171053 | 0.184211 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188285 | 239 | 11 | 44 | 21.727273 | 0.783505 | 0.16318 | 0 | 0 | 0 | 0 | 0.15873 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.166667 | false | 0 | 0.5 | 0 | 0.666667 | 0.166667 | 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 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
475dac830749a3a73715068ecbb2b6c449ba0b3f | 122 | py | Python | accounts/db/__init__.py | aobcvr/rpg_quest_accounts | 960772a159618194ea26e81d6d874e5f69fbbec7 | [
"MIT"
] | 2 | 2021-08-15T14:27:37.000Z | 2021-09-14T10:55:38.000Z | accounts/db/__init__.py | aobcvr/rpg_quest_accounts | 960772a159618194ea26e81d6d874e5f69fbbec7 | [
"MIT"
] | 1 | 2021-09-12T12:30:11.000Z | 2021-09-12T12:30:11.000Z | accounts/db/__init__.py | aobcvr/rpg_quest_accounts | 960772a159618194ea26e81d6d874e5f69fbbec7 | [
"MIT"
] | null | null | null | from .base import Base, engine, metadata # noqa
from .models import * # noqa
from .session import async_session # noqa
| 30.5 | 48 | 0.737705 | 17 | 122 | 5.235294 | 0.529412 | 0.179775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.188525 | 122 | 3 | 49 | 40.666667 | 0.89899 | 0.114754 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
477dd4e8c377c9095276345ffe86be5cac0ce177 | 62 | py | Python | credentials.py | scxpn/reader-ai | 885f16b67ca6e38842473ebdf1a08963d6dc03c5 | [
"MIT"
] | null | null | null | credentials.py | scxpn/reader-ai | 885f16b67ca6e38842473ebdf1a08963d6dc03c5 | [
"MIT"
] | null | null | null | credentials.py | scxpn/reader-ai | 885f16b67ca6e38842473ebdf1a08963d6dc03c5 | [
"MIT"
] | null | null | null | user = 'ubirajara2018@gmail.com'
password = 'dnygokmrngbshshr' | 31 | 32 | 0.790323 | 6 | 62 | 8.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.070175 | 0.080645 | 62 | 2 | 33 | 31 | 0.789474 | 0 | 0 | 0 | 0 | 0 | 0.619048 | 0.365079 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.5 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
4790fcd13aba1d7f952b64ef1978db67055e38f3 | 130 | py | Python | sober/apikeys.py | CaspianSoft-TR/Sober | 769e3fc1e363755398c034772159b1a5056f87e1 | [
"MIT"
] | null | null | null | sober/apikeys.py | CaspianSoft-TR/Sober | 769e3fc1e363755398c034772159b1a5056f87e1 | [
"MIT"
] | 23 | 2019-01-19T08:54:48.000Z | 2022-03-11T23:39:37.000Z | sober/apikeys.py | CaspianSoft-TR/Sober | 769e3fc1e363755398c034772159b1a5056f87e1 | [
"MIT"
] | null | null | null |
GOOGLE_MAP_API_KEY = 'AIzaSyA2b8Zh0rzAJQjwDn0_CZ_tHdPXm6G2Sjs'
FIREBASE_FCM_API_KEY = 'AIzaSyAYd8wWQYEJFBzdLJgSGaa1fpJO0OT4APA'
| 26 | 64 | 0.892308 | 12 | 130 | 9 | 0.833333 | 0.111111 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081967 | 0.061538 | 130 | 4 | 65 | 32.5 | 0.803279 | 0 | 0 | 0 | 0 | 0 | 0.609375 | 0.609375 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
479be340dbf6e099b395ca54f902d6884ddd98ac | 206 | py | Python | netbox_proxbox/admin.py | MesoSource/netbox-proxbox | 7af9ea7f6bed5302260181033fc12d56a70b35fc | [
"Apache-2.0"
] | 41 | 2021-05-04T17:16:03.000Z | 2022-03-18T14:11:58.000Z | netbox_proxbox/admin.py | MesoSource/netbox-proxbox | 7af9ea7f6bed5302260181033fc12d56a70b35fc | [
"Apache-2.0"
] | 15 | 2021-05-05T00:06:08.000Z | 2022-03-31T16:43:03.000Z | netbox_proxbox/admin.py | MesoSource/netbox-proxbox | 7af9ea7f6bed5302260181033fc12d56a70b35fc | [
"Apache-2.0"
] | 13 | 2021-05-04T12:50:54.000Z | 2022-03-22T13:04:28.000Z | from django.contrib import admin
from .models import ProxmoxVM
@admin.register(ProxmoxVM)
class ProxmoxVMAdmin(admin.ModelAdmin):
list_display = ("cluster", "node", "virtual_machine", "proxmox_vm_id")
| 29.428571 | 74 | 0.776699 | 25 | 206 | 6.24 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106796 | 206 | 6 | 75 | 34.333333 | 0.847826 | 0 | 0 | 0 | 0 | 0 | 0.18932 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
479f749363e29792f3dc7692151fd117659c987f | 3,108 | py | Python | FictionTools/amitools/test/unit/vamos_log.py | polluks/Puddle-BuildTools | c1762d53a33002b62d8cffe3db129505a387bec3 | [
"BSD-2-Clause"
] | 38 | 2021-06-18T12:56:15.000Z | 2022-03-12T20:38:40.000Z | FictionTools/amitools/test/unit/vamos_log.py | polluks/Puddle-BuildTools | c1762d53a33002b62d8cffe3db129505a387bec3 | [
"BSD-2-Clause"
] | 2 | 2021-06-20T16:28:12.000Z | 2021-11-17T21:33:56.000Z | FictionTools/amitools/test/unit/vamos_log.py | polluks/Puddle-BuildTools | c1762d53a33002b62d8cffe3db129505a387bec3 | [
"BSD-2-Clause"
] | 6 | 2021-06-18T18:18:36.000Z | 2021-12-22T08:01:32.000Z | import logging
from amitools.vamos.cfgcore import ConfigDict
from amitools.vamos.log import *
def do_log():
log_main.debug("debug")
log_main.info("info")
log_main.warning("warn")
log_main.error("error")
log_mem.debug("debug")
log_mem.info("info")
log_mem.warning("warn")
log_mem.error(... | 25.064516 | 88 | 0.525097 | 324 | 3,108 | 4.842593 | 0.138889 | 0.061185 | 0.086679 | 0.061185 | 0.776291 | 0.762269 | 0.739324 | 0.717017 | 0.692161 | 0.636074 | 0 | 0.000476 | 0.324003 | 3,108 | 123 | 89 | 25.268293 | 0.746311 | 0.015766 | 0 | 0.527778 | 0 | 0 | 0.14038 | 0 | 0 | 0 | 0 | 0 | 0.111111 | 1 | 0.064815 | false | 0 | 0.027778 | 0 | 0.092593 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9a07365993fc25b9787d26b17eaffb5aaaaf2308 | 6,601 | py | Python | src/third_party/beaengine/tests/0fc6.py | CrackerCat/rp | 5fe693c26d76b514efaedb4084f6e37d820db023 | [
"MIT"
] | 1 | 2022-01-19T01:59:58.000Z | 2022-01-19T01:59:58.000Z | src/third_party/beaengine/tests/0fc6.py | CrackerCat/rp | 5fe693c26d76b514efaedb4084f6e37d820db023 | [
"MIT"
] | null | null | null | src/third_party/beaengine/tests/0fc6.py | CrackerCat/rp | 5fe693c26d76b514efaedb4084f6e37d820db023 | [
"MIT"
] | null | null | null | #!/usr/bin/python
# -*- coding: utf-8 -*-
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This progra... | 41 | 84 | 0.642781 | 847 | 6,601 | 4.9634 | 0.201889 | 0.102046 | 0.176261 | 0.14843 | 0.807326 | 0.782112 | 0.671265 | 0.62274 | 0.62274 | 0.62274 | 0 | 0.072837 | 0.224208 | 6,601 | 160 | 85 | 41.25625 | 0.748096 | 0.233298 | 0 | 0.663043 | 0 | 0 | 0.160526 | 0.020912 | 0 | 0 | 0.010954 | 0 | 0.423913 | 1 | 0.01087 | false | 0 | 0.021739 | 0 | 0.043478 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9a21f84cca2d96d8cf80c40977198c7c1584d2f1 | 269 | py | Python | tests/test_general.py | rhjdjong/xdrlib2 | 256bdef4af7551a975abc879ba6dc887255b9602 | [
"MIT"
] | null | null | null | tests/test_general.py | rhjdjong/xdrlib2 | 256bdef4af7551a975abc879ba6dc887255b9602 | [
"MIT"
] | 27 | 2017-12-30T13:04:27.000Z | 2022-01-05T16:25:22.000Z | tests/test_general.py | rhjdjong/xdrlib2 | 256bdef4af7551a975abc879ba6dc887255b9602 | [
"MIT"
] | null | null | null | # Copyright (c) 2018 Ruud de Jong
# This file is part of the xdrlib2 project which is released under the MIT license.
# See https://github.com/rhjdjong/xdrlib2 for details.
import sys
def test_import_xdrlib2():
import xdrlib2
assert 'xdrlib2' in sys.modules
| 24.454545 | 83 | 0.747212 | 42 | 269 | 4.738095 | 0.785714 | 0.130653 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040909 | 0.182156 | 269 | 10 | 84 | 26.9 | 0.863636 | 0.6171 | 0 | 0 | 0 | 0 | 0.070707 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | true | 0 | 0.75 | 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 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
9a37af1171e4dd317ab4be3a976edbd3fa0498c9 | 7,813 | py | Python | modules/dorksListing.py | OussamaOBS/findorks | 394fac3834e5678837546068da5c16861d1089ef | [
"MIT"
] | 19 | 2019-05-18T04:23:38.000Z | 2022-03-30T08:46:06.000Z | modules/dorkTable.py | ByXAlem/vulnx | 241233491a70c9dfff20dd982b31a51964136736 | [
"MIT"
] | 1 | 2020-02-03T20:12:35.000Z | 2020-02-03T20:12:35.000Z | modules/dorkTable.py | ByXAlem/vulnx | 241233491a70c9dfff20dd982b31a51964136736 | [
"MIT"
] | 3 | 2020-02-02T15:57:41.000Z | 2020-12-08T09:50:54.000Z | from common.colors import R,W,end,info
def dorkslist():
print (" %s lists of existing dorks" % (info))
print ("""%s
+−−−−−−−−−−−−−−−−−−−−−−+−−−−−−−−−−−−−−−−−+−−−−−−−−−−−−−−−−−−+−−−−−−−−−−−−−−−−−−−−−−−−−−−−+−−−−−−−−−−−−−−−−−+
| WordPress | Joomla | Drupal | Prestashop ... | 42.005376 | 145 | 0.202355 | 235 | 7,813 | 8.706383 | 0.331915 | 0.035191 | 0.032258 | 0.038123 | 0.445748 | 0.288368 | 0.288368 | 0.288368 | 0.288368 | 0.288368 | 0 | 0.001258 | 0.593114 | 7,813 | 186 | 146 | 42.005376 | 0.489462 | 0 | 0 | 0.536313 | 0 | 0 | 0.933069 | 0.1656 | 0 | 0 | 0 | 0 | 0 | 1 | 0.03352 | true | 0 | 0.005587 | 0 | 0.039106 | 0.100559 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9a3ea8fe751be41f7d2c1a97313ec07c5068270f | 131 | py | Python | track2route/__init__.py | fhausmann/track2route | d37584a317a7ceba3e7b6b3d91ca43daded2bec3 | [
"Apache-2.0"
] | null | null | null | track2route/__init__.py | fhausmann/track2route | d37584a317a7ceba3e7b6b3d91ca43daded2bec3 | [
"Apache-2.0"
] | null | null | null | track2route/__init__.py | fhausmann/track2route | d37584a317a7ceba3e7b6b3d91ca43daded2bec3 | [
"Apache-2.0"
] | null | null | null | """Convert GPX Tracks to Routes."""
__version__ = "0.1.0"
from track2route._base import Track, Point
__all__ = ["Track", "Point"]
| 21.833333 | 42 | 0.694656 | 18 | 131 | 4.555556 | 0.833333 | 0.243902 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035398 | 0.137405 | 131 | 5 | 43 | 26.2 | 0.690265 | 0.221374 | 0 | 0 | 0 | 0 | 0.15625 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
9a455de7fbc9686714482c3ad79798deab6ef521 | 14 | py | Python | hello.py | cancer525/mypython | f0d575d2510cb6b8389f42bee464e300d10213d9 | [
"Apache-2.0"
] | null | null | null | hello.py | cancer525/mypython | f0d575d2510cb6b8389f42bee464e300d10213d9 | [
"Apache-2.0"
] | null | null | null | hello.py | cancer525/mypython | f0d575d2510cb6b8389f42bee464e300d10213d9 | [
"Apache-2.0"
] | null | null | null | i=10
print(i) | 7 | 8 | 0.642857 | 4 | 14 | 2.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 0.142857 | 14 | 2 | 8 | 7 | 0.583333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
7bd1fc86f51b0c65cdf5b585efddb2ab4791e825 | 69 | py | Python | debug.py | tobey008/HttpRunnerManager | 13368c9553ab5ce32f61b95e9f9add623012b88b | [
"MIT"
] | null | null | null | debug.py | tobey008/HttpRunnerManager | 13368c9553ab5ce32f61b95e9f9add623012b88b | [
"MIT"
] | null | null | null | debug.py | tobey008/HttpRunnerManager | 13368c9553ab5ce32f61b95e9f9add623012b88b | [
"MIT"
] | null | null | null | import webbrowser
webbrowser.open("http://localhost:8000/api/login/") | 34.5 | 51 | 0.797101 | 9 | 69 | 6.111111 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 0.028986 | 69 | 2 | 51 | 34.5 | 0.761194 | 0 | 0 | 0 | 0 | 0 | 0.457143 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7bd266a4cae61ef3c42935e43371f4118257881d | 83 | py | Python | MachineLearningToolkitCore/Optimizer/__init__.py | showintime/MachineLearningToolkit | cb265f8b0d3ca5aa16ad92cdbe74e138b5f56023 | [
"Apache-2.0"
] | null | null | null | MachineLearningToolkitCore/Optimizer/__init__.py | showintime/MachineLearningToolkit | cb265f8b0d3ca5aa16ad92cdbe74e138b5f56023 | [
"Apache-2.0"
] | null | null | null | MachineLearningToolkitCore/Optimizer/__init__.py | showintime/MachineLearningToolkit | cb265f8b0d3ca5aa16ad92cdbe74e138b5f56023 | [
"Apache-2.0"
] | null | null | null | # -*- coding: utf-8 -*-
"""
Created on Mon Dec 2 22:43:50 2019
@author: ZWH
"""
| 10.375 | 35 | 0.542169 | 14 | 83 | 3.214286 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 0.228916 | 83 | 7 | 36 | 11.857143 | 0.515625 | 0.86747 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
7be4d244d87609a2bdad04315184c875228cfcb6 | 90 | py | Python | day09/aaa.py | 1923851861/Oldboy_SH_Python | c9d8224cf41c58235fc67783d73a48f82fee61a1 | [
"MIT"
] | null | null | null | day09/aaa.py | 1923851861/Oldboy_SH_Python | c9d8224cf41c58235fc67783d73a48f82fee61a1 | [
"MIT"
] | null | null | null | day09/aaa.py | 1923851861/Oldboy_SH_Python | c9d8224cf41c58235fc67783d73a48f82fee61a1 | [
"MIT"
] | null | null | null | def func():
print('first')
print('second')
return 3
print('third')
func() | 12.857143 | 19 | 0.544444 | 11 | 90 | 4.454545 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.015152 | 0.266667 | 90 | 7 | 20 | 12.857143 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.175824 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0 | 0 | 0.333333 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
d018745e563de6b22f97b687d7d4907eac8205df | 214 | py | Python | deportistas/admin.py | Yojanpardo/scout_sport | 28b031bcb5444e4e3a3e5a8baa04c7ecfcaeab70 | [
"Apache-2.0"
] | null | null | null | deportistas/admin.py | Yojanpardo/scout_sport | 28b031bcb5444e4e3a3e5a8baa04c7ecfcaeab70 | [
"Apache-2.0"
] | null | null | null | deportistas/admin.py | Yojanpardo/scout_sport | 28b031bcb5444e4e3a3e5a8baa04c7ecfcaeab70 | [
"Apache-2.0"
] | null | null | null | from django.contrib import admin
from .models import Deportista
# Register your models here.
@admin.register(Deportista)
class AdminDeportista(admin.ModelAdmin):
list_display=('first_name','interested_sport',)
| 30.571429 | 51 | 0.803738 | 26 | 214 | 6.5 | 0.730769 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.098131 | 214 | 6 | 52 | 35.666667 | 0.875648 | 0.121495 | 0 | 0 | 0 | 0 | 0.139785 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
d03b8cd31f7b355fda8ba82c9fe392caa72cd763 | 557 | py | Python | final_project/machinetranslation/tests/tests.py | cuttie1979/xzceb-flask_eng_fr | 31088d9bb1a692335b6546a16d6e214e94dd7017 | [
"Apache-2.0"
] | null | null | null | final_project/machinetranslation/tests/tests.py | cuttie1979/xzceb-flask_eng_fr | 31088d9bb1a692335b6546a16d6e214e94dd7017 | [
"Apache-2.0"
] | null | null | null | final_project/machinetranslation/tests/tests.py | cuttie1979/xzceb-flask_eng_fr | 31088d9bb1a692335b6546a16d6e214e94dd7017 | [
"Apache-2.0"
] | null | null | null | import translator as t
import unittest
hello_en = "Hello"
class TestNull1(unittest.TestCase):
def test1(self):
self.assertEqual(t.frenchToEnglish(None),None)
class TestNull2(unittest.TestCase):
def test2(self):
self.assertEqual(t.englishToFrench(None), None)
class TestEn2Fr(unitte... | 24.217391 | 63 | 0.705566 | 64 | 557 | 6.109375 | 0.390625 | 0.163683 | 0.194373 | 0.204604 | 0.358056 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017354 | 0.172352 | 557 | 23 | 64 | 24.217391 | 0.830803 | 0 | 0 | 0 | 0 | 0 | 0.043011 | 0 | 0 | 0 | 0 | 0 | 0.25 | 1 | 0.25 | false | 0 | 0.125 | 0 | 0.625 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
d042577da4fda57b1f3257bcf3d3f036e5980a59 | 203 | py | Python | bobstack/sipmessaging/concretesipmessages/cancelSIPRequest.py | bobjects/BobStack | c177b286075044832f44baf9ace201780c8b4320 | [
"Apache-2.0"
] | null | null | null | bobstack/sipmessaging/concretesipmessages/cancelSIPRequest.py | bobjects/BobStack | c177b286075044832f44baf9ace201780c8b4320 | [
"Apache-2.0"
] | null | null | null | bobstack/sipmessaging/concretesipmessages/cancelSIPRequest.py | bobjects/BobStack | c177b286075044832f44baf9ace201780c8b4320 | [
"Apache-2.0"
] | null | null | null | from ...sipmessaging import SIPRequest
class CANCELSIPRequest(SIPRequest):
@property
def is_cancel_request(self):
return True
@property
def is_known(self):
return True
| 16.916667 | 38 | 0.679803 | 22 | 203 | 6.136364 | 0.681818 | 0.162963 | 0.192593 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.251232 | 203 | 11 | 39 | 18.454545 | 0.888158 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.125 | 0.25 | 0.75 | 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 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 4 |
d048702381bb7dcace5e6341bed6db5ec7127dc2 | 414 | py | Python | 6-strings/code-challenge/check-name.py | orby2002/learn-python | db531ca1c33179a87f1cd63273bb3dd4cfa0ce88 | [
"MIT"
] | null | null | null | 6-strings/code-challenge/check-name.py | orby2002/learn-python | db531ca1c33179a87f1cd63273bb3dd4cfa0ce88 | [
"MIT"
] | null | null | null | 6-strings/code-challenge/check-name.py | orby2002/learn-python | db531ca1c33179a87f1cd63273bb3dd4cfa0ce88 | [
"MIT"
] | null | null | null | # Write your check_for_name function here:
def check_for_name(sentence, name) -> object:
return name.lower() in sentence.lower()
# Uncomment these function calls to test your function:
print(check_for_name("My name is Jamie", "Jamie"))
# should print True
print(check_for_name("My name is jamie", "Jamie"))
# ... | 37.636364 | 56 | 0.736715 | 64 | 414 | 4.609375 | 0.40625 | 0.135593 | 0.20339 | 0.172881 | 0.423729 | 0.423729 | 0.423729 | 0.423729 | 0.423729 | 0.423729 | 0 | 0 | 0.152174 | 414 | 11 | 57 | 37.636364 | 0.840456 | 0.359903 | 0 | 0 | 0 | 0 | 0.264 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0 | 0 | 0.2 | 0.4 | 0.6 | 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 | 1 | 0 | 4 |
d06773c184c39f7a05432be583ec7c602e9d8bef | 174 | py | Python | install-dev.py | MarkusPeitl/python_console_package | cc73658a54d2fa85126a8e8e3d58ec08693f34a5 | [
"Apache-2.0"
] | null | null | null | install-dev.py | MarkusPeitl/python_console_package | cc73658a54d2fa85126a8e8e3d58ec08693f34a5 | [
"Apache-2.0"
] | null | null | null | install-dev.py | MarkusPeitl/python_console_package | cc73658a54d2fa85126a8e8e3d58ec08693f34a5 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python3
#Install this directory locally (should immediately reflect changes in the package when executing script then)
import os
os.system("pip install -e .") | 34.8 | 110 | 0.781609 | 26 | 174 | 5.230769 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.006623 | 0.132184 | 174 | 5 | 111 | 34.8 | 0.89404 | 0.747126 | 0 | 0 | 0 | 0 | 0.372093 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
d0b22e50ad725086e5487ef68ed53d13a89b02d6 | 175 | py | Python | Weno/PyVec/GodunovFlux.py | danielcort/benchmarks-python-julia-c | aececc9f1fc3c368ae57f84028b0cf35a0c138e4 | [
"MIT"
] | 21 | 2018-03-27T08:36:34.000Z | 2021-10-01T12:26:54.000Z | Weno/PyVec/GodunovFlux.py | danielcort/benchmarks-python-julia-c | aececc9f1fc3c368ae57f84028b0cf35a0c138e4 | [
"MIT"
] | 2 | 2018-05-13T16:44:06.000Z | 2019-09-27T06:33:09.000Z | Weno/PyVec/GodunovFlux.py | danielcort/benchmarks-python-julia-c | aececc9f1fc3c368ae57f84028b0cf35a0c138e4 | [
"MIT"
] | 6 | 2018-05-29T13:27:31.000Z | 2021-06-27T17:49:09.000Z | import numpy as np
def NumFlux(F,a,b):
#if a<=b:
# return F.minf(a,b)
#else:
# return F.maxf(b,a);
return np.where(a <= b, F.minf(a, b), F.maxf(b, a))
| 17.5 | 55 | 0.52 | 36 | 175 | 2.527778 | 0.416667 | 0.10989 | 0.131868 | 0.153846 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.268571 | 175 | 9 | 56 | 19.444444 | 0.710938 | 0.308571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0.333333 | 0.333333 | 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 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 4 |
ef7d23375070adb88a25358fa8f99ec8aa6ac72b | 16 | py | Python | bibcrawl/pipelines/__init__.py | OlivierBlanvillain/crawler | 9ce0136380681232ed2b20a030c7dacf874b1963 | [
"MIT"
] | 5 | 2017-03-06T21:46:21.000Z | 2017-10-12T07:13:53.000Z | bibcrawl/pipelines/__init__.py | agstudy/crawler | 9ce0136380681232ed2b20a030c7dacf874b1963 | [
"MIT"
] | null | null | null | bibcrawl/pipelines/__init__.py | agstudy/crawler | 9ce0136380681232ed2b20a030c7dacf874b1963 | [
"MIT"
] | 3 | 2017-03-06T21:49:54.000Z | 2019-02-07T00:09:40.000Z | """pipelines"""
| 8 | 15 | 0.5625 | 1 | 16 | 9 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.0625 | 16 | 1 | 16 | 16 | 0.6 | 0.5625 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ef8aac1ca16cdd555236cf7d5d8daaf7e70abdeb | 2,528 | py | Python | 7 term/DSIP-Digital-Signal-and-Image-Processing/Lab 3/main.py | Vanya112/BSUIR_Labs | d63de54f1d07c5bd0eae598d507be051101f1165 | [
"Apache-2.0"
] | 24 | 2019-05-24T18:10:33.000Z | 2022-02-09T14:33:34.000Z | 7 term/DSIP-Digital-Signal-and-Image-Processing/Lab 3/main.py | Vanya112/BSUIR_Labs | d63de54f1d07c5bd0eae598d507be051101f1165 | [
"Apache-2.0"
] | null | null | null | 7 term/DSIP-Digital-Signal-and-Image-Processing/Lab 3/main.py | Vanya112/BSUIR_Labs | d63de54f1d07c5bd0eae598d507be051101f1165 | [
"Apache-2.0"
] | 16 | 2019-05-23T18:15:53.000Z | 2022-01-17T15:25:58.000Z | import numpy as np
import utils
from HopfieldNetwork import HopfieldNetwork
def process_shape(initial_shape: np.ndarray, net: HopfieldNetwork):
noised_shapes = []
for i in range(5, 105, 5):
noise_level = i / 100
noised_shapes.append(utils.noise_shape(initial_shape, noise_level))
for i ... | 28.088889 | 80 | 0.465585 | 465 | 2,528 | 2.449462 | 0.131183 | 0.261633 | 0.316067 | 0.330114 | 0.294996 | 0.28446 | 0.28446 | 0.28446 | 0.278314 | 0.256365 | 0 | 0.188578 | 0.335047 | 2,528 | 89 | 81 | 28.404494 | 0.488995 | 0.040744 | 0 | 0.338462 | 0 | 0 | 0.026871 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.030769 | false | 0 | 0.046154 | 0 | 0.076923 | 0.076923 | 0 | 0 | 0 | null | 1 | 1 | 1 | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
ef8b601eeade44557ab0b9e7f7f66edd15dbefea | 116 | py | Python | provision/dev/publish_cy15_projects.py | larry1138/peacecorps-site-BUT-BETTER | 7e1ebbb46c47873cd74675c2db641b8ba60a1169 | [
"CC0-1.0"
] | 8 | 2015-01-06T15:38:12.000Z | 2016-05-02T23:55:39.000Z | provision/dev/publish_cy15_projects.py | larry1138/peacecorps-site-BUT-BETTER | 7e1ebbb46c47873cd74675c2db641b8ba60a1169 | [
"CC0-1.0"
] | 61 | 2015-01-05T18:20:57.000Z | 2016-01-28T22:08:03.000Z | provision/dev/publish_cy15_projects.py | larry1138/peacecorps-site-BUT-BETTER | 7e1ebbb46c47873cd74675c2db641b8ba60a1169 | [
"CC0-1.0"
] | 12 | 2015-02-04T21:15:41.000Z | 2021-02-17T11:03:27.000Z | from peacecorps.models import Project
Project.objects.filter(account__code__startswith='15').update(published=True) | 38.666667 | 77 | 0.853448 | 15 | 116 | 6.333333 | 0.933333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018018 | 0.043103 | 116 | 3 | 77 | 38.666667 | 0.837838 | 0 | 0 | 0 | 0 | 0 | 0.017094 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
efb6480793665dad636812b6ce09c20b8a349d11 | 468 | py | Python | showroompodcast/showroom_datetime.py | road-master/showroom-podcast | 71221b361cabd40e70aa4e8710292b20398e0ab5 | [
"MIT"
] | null | null | null | showroompodcast/showroom_datetime.py | road-master/showroom-podcast | 71221b361cabd40e70aa4e8710292b20398e0ab5 | [
"MIT"
] | 1 | 2021-08-22T07:35:13.000Z | 2021-08-22T07:35:13.000Z | showroompodcast/showroom_datetime.py | road-master/showroom-podcast | 71221b361cabd40e70aa4e8710292b20398e0ab5 | [
"MIT"
] | null | null | null | """Datetime for SHOWROOM specification."""
from datetime import datetime, timedelta, timezone
class ShowroomDatetime:
"""Datetime for SHOWROOM specification."""
FORMAT_CODE = "%Y_%m_%d-%H_%M_%S"
@staticmethod
def encode(argument_datetime: datetime) -> str:
return argument_datetime.strftime(S... | 27.529412 | 71 | 0.707265 | 52 | 468 | 6.192308 | 0.557692 | 0.068323 | 0.118012 | 0.198758 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002577 | 0.17094 | 468 | 16 | 72 | 29.25 | 0.82732 | 0.155983 | 0 | 0.222222 | 0 | 0 | 0.052083 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.111111 | 0.222222 | 0.777778 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
efba83b860d8b427fec05ffeeb0043ca36626b40 | 257 | py | Python | dtamg_py/full_extract.py | transparencia-mg/dtamg-py | 6007d33a1f33f01f504f82a52ed298cc9f466f61 | [
"MIT"
] | null | null | null | dtamg_py/full_extract.py | transparencia-mg/dtamg-py | 6007d33a1f33f01f504f82a52ed298cc9f466f61 | [
"MIT"
] | 15 | 2021-12-20T15:25:23.000Z | 2022-03-07T21:55:57.000Z | dtamg_py/full_extract.py | transparencia-mg/dtamg-py | 6007d33a1f33f01f504f82a52ed298cc9f466f61 | [
"MIT"
] | null | null | null | import click
from frictionless import Package
from dtamg_py.utils import full_extract
@click.command(name='full-extract')
def full_extract_cli():
"""
Função responsável pela extração dos dados de todas as tabelas no banco Mysql.
"""
full_extract()
| 23.363636 | 80 | 0.770428 | 37 | 257 | 5.216216 | 0.72973 | 0.227979 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14786 | 257 | 10 | 81 | 25.7 | 0.881279 | 0.303502 | 0 | 0 | 0 | 0 | 0.071856 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.166667 | true | 0 | 0.5 | 0 | 0.666667 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
efbc9216fa177e7750d740e36c122f4419c952b4 | 190 | py | Python | core/signals.py | RealCyGuy/Clipboard | aeb3c3fe36113d1289e306ec80458869fa09fb47 | [
"MIT"
] | 1 | 2020-04-13T03:44:10.000Z | 2020-04-13T03:44:10.000Z | core/signals.py | RealCyGuy/Clipboard | aeb3c3fe36113d1289e306ec80458869fa09fb47 | [
"MIT"
] | 1 | 2021-02-23T19:42:54.000Z | 2021-02-23T19:42:54.000Z | core/signals.py | RealCyGuy/Clipboard | aeb3c3fe36113d1289e306ec80458869fa09fb47 | [
"MIT"
] | 1 | 2021-08-12T05:29:46.000Z | 2021-08-12T05:29:46.000Z | from colorama import Fore
class Signals:
FATAL = f"{Fore.RED}[FATAL]{Fore.RESET}: "
SUCCESS = f"{Fore.GREEN}[SUCCESS]{Fore.RESET}: "
ERROR = f"{Fore.RED}[ERROR]{Fore.RESET}: "
| 23.75 | 52 | 0.636842 | 27 | 190 | 4.481481 | 0.481481 | 0.123967 | 0.132231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.168421 | 190 | 7 | 53 | 27.142857 | 0.765823 | 0 | 0 | 0 | 0 | 0 | 0.510526 | 0.494737 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 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 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
efd1cf51cda104b8dc166fa98d638cfa396319f8 | 199 | py | Python | noted_users/users/admin.py | jsgilberto/noted-users-service | 36ebc8e461b979887812f8e3a5192bbc9cda592c | [
"MIT"
] | null | null | null | noted_users/users/admin.py | jsgilberto/noted-users-service | 36ebc8e461b979887812f8e3a5192bbc9cda592c | [
"MIT"
] | null | null | null | noted_users/users/admin.py | jsgilberto/noted-users-service | 36ebc8e461b979887812f8e3a5192bbc9cda592c | [
"MIT"
] | null | null | null | from django.contrib import admin
from django.contrib.auth.admin import UserAdmin
from .models import User
# @admin.register(User)
# class UserAdmin(UserAdmin):
# pass
admin.site.register(User) | 19.9 | 47 | 0.773869 | 27 | 199 | 5.703704 | 0.481481 | 0.12987 | 0.220779 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130653 | 199 | 10 | 48 | 19.9 | 0.890173 | 0.291457 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.75 | 0 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
5601a09cdcbd027f01d6d6f941ec353ebe78e909 | 35 | py | Python | example_snippets/multimenus_snippets/Snippets/Matplotlib/Save the current figure.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/Matplotlib/Save the current figure.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | null | null | null | example_snippets/multimenus_snippets/Snippets/Matplotlib/Save the current figure.py | kuanpern/jupyterlab-snippets-multimenus | 477f51cfdbad7409eab45abe53cf774cd70f380c | [
"BSD-3-Clause"
] | 1 | 2021-02-04T04:51:48.000Z | 2021-02-04T04:51:48.000Z | plt.savefig("figure_file_name.pdf") | 35 | 35 | 0.828571 | 6 | 35 | 4.5 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 35 | 1 | 35 | 35 | 0.771429 | 0 | 0 | 0 | 0 | 0 | 0.555556 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
5605e3894bafc40176eb6d93bebdb1d181ee4379 | 23 | py | Python | version.py | algorithmia-algorithms/awsflow | 927698c27e57377dbe8094c71d5b0c36548b0937 | [
"MIT"
] | 12 | 2019-04-06T14:59:29.000Z | 2020-04-14T21:02:23.000Z | version.py | vaquarkhan/awsflow | 59f9001972aec2bac60a97d174b97f96689360ce | [
"MIT"
] | null | null | null | version.py | vaquarkhan/awsflow | 59f9001972aec2bac60a97d174b97f96689360ce | [
"MIT"
] | 3 | 2019-07-30T17:11:14.000Z | 2020-02-17T20:39:25.000Z | __version__ = "0.0.80"
| 11.5 | 22 | 0.652174 | 4 | 23 | 2.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 0.130435 | 23 | 1 | 23 | 23 | 0.35 | 0 | 0 | 0 | 0 | 0 | 0.26087 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4be7bb99d6745c8cb00bb3200d5bbb82a7bd638c | 60 | py | Python | delete_repeated_element.py | chiechie/BasicAlgo | 1bbd686673c650a5c71ed0781d8081124841e282 | [
"MIT"
] | null | null | null | delete_repeated_element.py | chiechie/BasicAlgo | 1bbd686673c650a5c71ed0781d8081124841e282 | [
"MIT"
] | null | null | null | delete_repeated_element.py | chiechie/BasicAlgo | 1bbd686673c650a5c71ed0781d8081124841e282 | [
"MIT"
] | null | null | null | # 给你一个有序数组 nums ,请你 原地 删除重复出现的元素,使每个元素 只出现一次 ,返回删除后数组的新长度。
| 20 | 58 | 0.766667 | 8 | 60 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15 | 60 | 2 | 59 | 30 | 0.901961 | 0.933333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4bebe8c8d58d5580f0f1a84b9a71ab52e99bebf9 | 431 | py | Python | applications/TrilinosApplication/TrilinosApplication.py | Jacklwln/Kratos | 12ffe332622d7e8ea3e4a10bc061beb9d8e6e8de | [
"BSD-4-Clause"
] | 1 | 2019-08-01T09:01:08.000Z | 2019-08-01T09:01:08.000Z | applications/TrilinosApplication/TrilinosApplication.py | Jacklwln/Kratos | 12ffe332622d7e8ea3e4a10bc061beb9d8e6e8de | [
"BSD-4-Clause"
] | null | null | null | applications/TrilinosApplication/TrilinosApplication.py | Jacklwln/Kratos | 12ffe332622d7e8ea3e4a10bc061beb9d8e6e8de | [
"BSD-4-Clause"
] | null | null | null | from __future__ import print_function, absolute_import, division #makes KratosMultiphysics backward compatible with python 2.6 and 2.7
import KratosMultiphysics as KM
from KratosTrilinosApplication import *
application = KratosTrilinosApplication()
application_name = "KratosTrilinosApplication"
application_folder = "Tr... | 47.888889 | 134 | 0.865429 | 42 | 431 | 8.52381 | 0.619048 | 0.201117 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010152 | 0.085847 | 431 | 8 | 135 | 53.875 | 0.898477 | 0.157773 | 0 | 0 | 0 | 0 | 0.121547 | 0.069061 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0.142857 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
ef39edc9fd25c4339886a3ebbfa896431c94076c | 880 | py | Python | wukong/master/api/service.py | wukong-m2m/wukong-darjeeling | 429ffdd62384c0a6b7f6695bb780359fc58a804c | [
"BSD-2-Clause-FreeBSD"
] | 16 | 2015-01-07T10:32:47.000Z | 2019-01-16T16:13:51.000Z | wukong/master/api/service.py | wukong-m2m/wukong-darjeeling | 429ffdd62384c0a6b7f6695bb780359fc58a804c | [
"BSD-2-Clause-FreeBSD"
] | 14 | 2015-05-01T04:45:45.000Z | 2016-05-11T01:29:23.000Z | wukong/master/api/service.py | wukong-m2m/wukong-darjeeling | 429ffdd62384c0a6b7f6695bb780359fc58a804c | [
"BSD-2-Clause-FreeBSD"
] | 13 | 2015-06-17T06:42:17.000Z | 2020-11-27T18:23:08.000Z | import urllib2
#from google.appengine.api import oauth
print "==================Create System and device==================================="
print "[CreateSystem]"
print urllib2.urlopen('http://localhost:8888/createsystem?id=a&holder=b&devices=c&fbps=d&gateways=e&wuclasses=f').read()
print "[CreateDevice]"
print ur... | 32.592593 | 124 | 0.672727 | 105 | 880 | 5.628571 | 0.495238 | 0.118443 | 0.152284 | 0.228426 | 0.343486 | 0.343486 | 0.152284 | 0 | 0 | 0 | 0 | 0.051995 | 0.060227 | 880 | 27 | 125 | 32.592593 | 0.662636 | 0.043182 | 0 | 0.125 | 0 | 0.125 | 0.648456 | 0.154394 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.0625 | null | null | 0.8125 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
ef53ee5668e0e5638317d212d2475a73f410bc97 | 243 | py | Python | code/pyseg/diff_geom/__init__.py | anmartinezs/pyseg_system | 5bb07c7901062452a34b73f376057cabc15a13c3 | [
"Apache-2.0"
] | 12 | 2020-01-08T01:33:02.000Z | 2022-03-16T00:25:34.000Z | code/pyorg/diff_geom/__init__.py | anmartinezs/pyseg_system | 5bb07c7901062452a34b73f376057cabc15a13c3 | [
"Apache-2.0"
] | 8 | 2019-12-19T19:34:56.000Z | 2022-03-10T10:11:28.000Z | code/pyorg/diff_geom/__init__.py | anmartinezs/pyseg_system | 5bb07c7901062452a34b73f376057cabc15a13c3 | [
"Apache-2.0"
] | 2 | 2022-03-30T13:12:22.000Z | 2022-03-30T18:12:10.000Z | """
Package for numerical implementation of differential geometry concepts
# Author: Antonio Martinez-Sanchez (Max Planck Institute for Biochemistry)
# Date: 29.02.16
"""
__author__ = 'Antonio Martinez-Sanchez'
from .curve import SpaceCurve | 24.3 | 74 | 0.786008 | 29 | 243 | 6.448276 | 0.827586 | 0.139037 | 0.224599 | 0.299465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028436 | 0.131687 | 243 | 10 | 75 | 24.3 | 0.85782 | 0.670782 | 0 | 0 | 0 | 0 | 0.328767 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
ef5b413558c97ca0f5d07dc9b54d82809aa3f921 | 261 | py | Python | UnityEngine/ParticleSystemCurveMode/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/ParticleSystemCurveMode/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | UnityEngine/ParticleSystemCurveMode/__init__.py | Grim-es/udon-pie-auto-completion | c2cd86554ed615cdbbb01e19fa40665eafdfaedc | [
"MIT"
] | null | null | null | from UdonPie import UnityEngine
from UdonPie.Undefined import *
class ParticleSystemCurveMode:
def __new__(cls, arg1=None):
'''
:returns: ParticleSystemCurveMode
:rtype: UnityEngine.ParticleSystemCurveMode
'''
pass
| 21.75 | 51 | 0.67433 | 21 | 261 | 8.190476 | 0.714286 | 0.127907 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.005128 | 0.252874 | 261 | 11 | 52 | 23.727273 | 0.876923 | 0.295019 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.2 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
ef60bef6b6f4172afacdb93fa338ecda97370f0a | 145 | py | Python | web/stockify/apps/market_analyzer/apps.py | jlaurelli/stockify | fc6e4be918413ed3844f3baaac7e80a60b35e469 | [
"MIT"
] | null | null | null | web/stockify/apps/market_analyzer/apps.py | jlaurelli/stockify | fc6e4be918413ed3844f3baaac7e80a60b35e469 | [
"MIT"
] | null | null | null | web/stockify/apps/market_analyzer/apps.py | jlaurelli/stockify | fc6e4be918413ed3844f3baaac7e80a60b35e469 | [
"MIT"
] | null | null | null | from __future__ import unicode_literals
from django.apps import AppConfig
class MarketAnalyzerConfig(AppConfig):
name = 'market_analyzer'
| 18.125 | 39 | 0.813793 | 16 | 145 | 7 | 0.8125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.137931 | 145 | 7 | 40 | 20.714286 | 0.896 | 0 | 0 | 0 | 0 | 0 | 0.103448 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
323336d4a001995523eb973bad6dbf5977209c72 | 289 | py | Python | src/nbpreview/component/content/output/output.py | GuilloteauQ/nbpreview | a3793b540374a0559b765db291eda3a938db28ea | [
"MIT"
] | 92 | 2021-12-13T08:48:55.000Z | 2022-03-29T14:40:28.000Z | src/nbpreview/component/content/output/output.py | GuilloteauQ/nbpreview | a3793b540374a0559b765db291eda3a938db28ea | [
"MIT"
] | 314 | 2021-03-22T09:13:14.000Z | 2022-03-31T03:42:56.000Z | src/nbpreview/component/content/output/output.py | GuilloteauQ/nbpreview | a3793b540374a0559b765db291eda3a938db28ea | [
"MIT"
] | 4 | 2022-01-17T04:45:18.000Z | 2022-03-11T04:03:30.000Z | """Jupyter notebook output data."""
from typing import Union
from nbpreview.component.content.output.error import Error
from nbpreview.component.content.output.result.result import Result
from nbpreview.component.content.output.stream import Stream
Output = Union[Result, Error, Stream]
| 32.111111 | 67 | 0.820069 | 38 | 289 | 6.236842 | 0.368421 | 0.164557 | 0.278481 | 0.367089 | 0.443038 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.093426 | 289 | 8 | 68 | 36.125 | 0.90458 | 0.100346 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.8 | 0 | 0.8 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
328fedffb702d82a8ae14bbc46de069cac70bd4d | 1,050 | py | Python | utils.py | wolfinabox/Windows-Mic-Volume-Locker | 39abea0bf441f93c8139c67538bd12b268bfc569 | [
"MIT"
] | null | null | null | utils.py | wolfinabox/Windows-Mic-Volume-Locker | 39abea0bf441f93c8139c67538bd12b268bfc569 | [
"MIT"
] | null | null | null | utils.py | wolfinabox/Windows-Mic-Volume-Locker | 39abea0bf441f93c8139c67538bd12b268bfc569 | [
"MIT"
] | null | null | null | import os
def is_executable()->bool:
"""
Determine if the current script is packaged as an executable\n
(EG: If packed into a .exe with PyInstaller)\n
returns : True/False, if the script is an executable
"""
import sys
return getattr(sys,'frozen',False)
def script_dir()->str:
"""
Ge... | 37.5 | 125 | 0.701905 | 162 | 1,050 | 4.475309 | 0.339506 | 0.066207 | 0.057931 | 0.049655 | 0.347586 | 0.347586 | 0.347586 | 0.347586 | 0.347586 | 0.226207 | 0 | 0.001198 | 0.204762 | 1,050 | 27 | 126 | 38.888889 | 0.867066 | 0.491429 | 0 | 0.416667 | 0 | 0 | 0.012821 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.083333 | 0.5 | 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 | 1 | 1 | 0 | 1 | 0 | 0 | 4 |
3292396e8a84a68973213c45577ea84bd75bb5ce | 347 | py | Python | dataset/dataset_base.py | LZX-0201/L3-Net- | fdb8398e7ff87a0a148f82f320cab391c2c1ff8d | [
"MIT"
] | 7 | 2021-11-19T13:16:25.000Z | 2022-02-11T03:24:30.000Z | dataset/dataset_base.py | LZX-0201/L3-Net- | fdb8398e7ff87a0a148f82f320cab391c2c1ff8d | [
"MIT"
] | null | null | null | dataset/dataset_base.py | LZX-0201/L3-Net- | fdb8398e7ff87a0a148f82f320cab391c2c1ff8d | [
"MIT"
] | 1 | 2022-01-02T08:32:13.000Z | 2022-01-02T08:32:13.000Z | from torch.utils.data import Dataset
class DatasetBase(Dataset):
def __init__(self):
super(DatasetBase, self).__init__()
def __getitem__(self, index):
raise NotImplementedError
def __len__(self):
raise NotImplementedError
def get_data_loader(self, distributed=False):
... | 21.6875 | 49 | 0.70317 | 36 | 347 | 6.277778 | 0.583333 | 0.318584 | 0.238938 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.221902 | 347 | 15 | 50 | 23.133333 | 0.837037 | 0 | 0 | 0.3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.4 | false | 0 | 0.1 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
32be2bc121f02bf2ebc9ee9ba19f22385d5c7ca6 | 92 | py | Python | student/admin.py | Rekha-Pal/Bingo-Buddy | 1ba705e049122faa6efb8b193d8bcd03680d9cb6 | [
"MIT"
] | null | null | null | student/admin.py | Rekha-Pal/Bingo-Buddy | 1ba705e049122faa6efb8b193d8bcd03680d9cb6 | [
"MIT"
] | null | null | null | student/admin.py | Rekha-Pal/Bingo-Buddy | 1ba705e049122faa6efb8b193d8bcd03680d9cb6 | [
"MIT"
] | null | null | null | from django.contrib import admin
from student.models import Game
admin.site.register(Game)
| 18.4 | 32 | 0.826087 | 14 | 92 | 5.428571 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.108696 | 92 | 4 | 33 | 23 | 0.926829 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
087126148ba46f9a2e3d1427e220a8b8b08e9dda | 98 | py | Python | travelperk_python_api_types/webhooks/webhooks/event.py | namelivia/travelperk-python-api-types | d71cee9757938ed4189479c81e4f2ff1f73ca489 | [
"MIT"
] | null | null | null | travelperk_python_api_types/webhooks/webhooks/event.py | namelivia/travelperk-python-api-types | d71cee9757938ed4189479c81e4f2ff1f73ca489 | [
"MIT"
] | 1 | 2021-09-03T04:20:35.000Z | 2021-09-03T04:20:35.000Z | travelperk_python_api_types/webhooks/webhooks/event.py | namelivia/travelperk-python-api-types | d71cee9757938ed4189479c81e4f2ff1f73ca489 | [
"MIT"
] | null | null | null | from pydantic.dataclasses import dataclass
@dataclass
class Event:
name: str
topic: str
| 12.25 | 42 | 0.734694 | 12 | 98 | 6 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 98 | 7 | 43 | 14 | 0.935065 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.2 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
0877eb52e6306840d68564ea1598fe21173bfe66 | 1,686 | py | Python | test_tageditor.py | mikekucharski/PyD3 | bf1ba768f27f0bdd6e2b4fa0c5f069b0f8cdad7d | [
"MIT"
] | 4 | 2017-05-02T13:27:57.000Z | 2021-06-01T08:02:27.000Z | test_tageditor.py | mikekucharski/PyD3 | bf1ba768f27f0bdd6e2b4fa0c5f069b0f8cdad7d | [
"MIT"
] | null | null | null | test_tageditor.py | mikekucharski/PyD3 | bf1ba768f27f0bdd6e2b4fa0c5f069b0f8cdad7d | [
"MIT"
] | 1 | 2019-08-12T13:31:31.000Z | 2019-08-12T13:31:31.000Z | import unittest
from tageditor import musicTitle
class TestTagEditor(unittest.TestCase):
def test_title_case(self):
title = "I LiKe TyPiNg LiKe ThIs"
self.assertEquals(musicTitle(title), "I Like Typing Like This")
def test_title_with_spaces(self):
title = "this contains spaces ... | 38.318182 | 73 | 0.660735 | 208 | 1,686 | 5.192308 | 0.240385 | 0.222222 | 0.361111 | 0.103704 | 0.302778 | 0.216667 | 0.172222 | 0.172222 | 0.172222 | 0.133333 | 0 | 0 | 0.206406 | 1,686 | 44 | 74 | 38.318182 | 0.807175 | 0 | 0 | 0 | 0 | 0 | 0.250148 | 0 | 0 | 0 | 0 | 0 | 0.441176 | 1 | 0.235294 | false | 0 | 0.058824 | 0 | 0.323529 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
0879947f81181213220f8a59fd030d2b669927dd | 173 | py | Python | logger/__main__.py | majo48/froeling-web-connect-logger | 65082b27980783c2a6407fa484836a7b28a05d3b | [
"MIT"
] | 2 | 2021-01-11T16:25:15.000Z | 2021-01-11T16:25:22.000Z | logger/__main__.py | majo48/froeling-web-connect-logger | 65082b27980783c2a6407fa484836a7b28a05d3b | [
"MIT"
] | 5 | 2020-12-28T10:14:55.000Z | 2021-11-13T10:53:20.000Z | logger/__main__.py | majo48/froeling-web-connect-logger | 65082b27980783c2a6407fa484836a7b28a05d3b | [
"MIT"
] | null | null | null | """ main part of the logger app
Copyright (c) 2020 M. Jonasse (martin.jonasse@mail.ch)
"""
from logger import app
if __name__ == '__main__':
app.manage_arguments() | 21.625 | 58 | 0.687861 | 25 | 173 | 4.4 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028369 | 0.184971 | 173 | 8 | 59 | 21.625 | 0.751773 | 0.473988 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
088b3cb696614b191747123859f4d8835461e7ac | 71 | py | Python | wagtail/wagtailusers/__init__.py | balkantechnologies/BalkanCMS_core | 68625199028fc96abb175e410a4a7a92c02cb261 | [
"BSD-3-Clause"
] | 3 | 2016-08-17T13:56:36.000Z | 2019-04-23T19:59:25.000Z | wagtail/wagtailusers/__init__.py | balkantechnologies/BalkanCMS_core | 68625199028fc96abb175e410a4a7a92c02cb261 | [
"BSD-3-Clause"
] | 11 | 2016-08-05T15:43:06.000Z | 2016-12-16T13:32:23.000Z | wagtail/wagtailusers/__init__.py | balkantechnologies/BalkanCMS_core | 68625199028fc96abb175e410a4a7a92c02cb261 | [
"BSD-3-Clause"
] | 2 | 2017-08-08T01:39:02.000Z | 2018-05-06T06:16:10.000Z | default_app_config = 'wagtail.wagtailusers.apps.WagtailUsersAppConfig'
| 35.5 | 70 | 0.873239 | 7 | 71 | 8.571429 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.042254 | 71 | 1 | 71 | 71 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0.661972 | 0.661972 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
08a4ace0682fb7b0ec9c01191be84accf71d215d | 89 | py | Python | modul.py | Anyutask3/lesson1 | 29071c20adf1aa734086c8d963a3638e3270173b | [
"CC-BY-4.0"
] | null | null | null | modul.py | Anyutask3/lesson1 | 29071c20adf1aa734086c8d963a3638e3270173b | [
"CC-BY-4.0"
] | null | null | null | modul.py | Anyutask3/lesson1 | 29071c20adf1aa734086c8d963a3638e3270173b | [
"CC-BY-4.0"
] | null | null | null | import Lesson9
# print(Lesson9.Hurray(5))
print(__name__)
print(__file__)
print(__doc__) | 14.833333 | 26 | 0.786517 | 12 | 89 | 4.833333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.036585 | 0.078652 | 89 | 6 | 27 | 14.833333 | 0.670732 | 0.269663 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.25 | 0 | 0.25 | 0.75 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
08b50eec787c7fc847e004b1b734683aab2105bc | 123 | py | Python | myblog/settings/local.py | k115626/myblog | 71df4a1c2e300f41ba2580200ec17e9b778de138 | [
"MIT"
] | null | null | null | myblog/settings/local.py | k115626/myblog | 71df4a1c2e300f41ba2580200ec17e9b778de138 | [
"MIT"
] | null | null | null | myblog/settings/local.py | k115626/myblog | 71df4a1c2e300f41ba2580200ec17e9b778de138 | [
"MIT"
] | null | null | null | from .common import *
SECRET_KEY = 'h*+-2b+$b@#wo4t7f_)3p3y3-@-xj_&p=j=h+y^*(_$ns=21!6'
DEBUG = True
ALLOWED_HOSTS = ['*'] | 24.6 | 65 | 0.626016 | 22 | 123 | 3.272727 | 0.954545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081818 | 0.105691 | 123 | 5 | 66 | 24.6 | 0.572727 | 0 | 0 | 0 | 0 | 0.25 | 0.41129 | 0.403226 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.25 | 0 | 0.25 | 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 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
08e3ca90b6e11e4d9c8f43b2fa0f97e847f632c5 | 266 | py | Python | tests/test_helper.py | LarsVomMars/mathew | 02594b8a3e939b48a3bd05fd26ecf9415b670b22 | [
"MIT"
] | 1 | 2020-05-28T13:33:53.000Z | 2020-05-28T13:33:53.000Z | tests/test_helper.py | LarsVomMars/mathlib | 02594b8a3e939b48a3bd05fd26ecf9415b670b22 | [
"MIT"
] | 2 | 2020-07-15T01:22:25.000Z | 2020-09-03T23:20:07.000Z | tests/test_helper.py | LarsVomMars/mathlib | 02594b8a3e939b48a3bd05fd26ecf9415b670b22 | [
"MIT"
] | 1 | 2020-07-21T12:52:51.000Z | 2020-07-21T12:52:51.000Z | import pytest
from mathew import helper
def test_fib():
assert helper.fibonacci(3) == 2
assert helper.fibonacci(-3) == 2
def test_factorial():
assert helper.factorial(12) == 479001600
with pytest.raises(ValueError):
helper.factorial(-5)
| 17.733333 | 44 | 0.684211 | 34 | 266 | 5.294118 | 0.558824 | 0.2 | 0.233333 | 0.244444 | 0.255556 | 0 | 0 | 0 | 0 | 0 | 0 | 0.075472 | 0.203008 | 266 | 14 | 45 | 19 | 0.773585 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.333333 | 1 | 0.222222 | true | 0 | 0.222222 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
08eb6e44e4c5063ee80b7db1aff3b521805bd959 | 32 | py | Python | txtulip/test/__init__.py | itamarst/txtulip | aa37d4cdd384ff75dd4d789a357a2fda9721dfd7 | [
"MIT"
] | 11 | 2015-03-19T01:23:41.000Z | 2021-01-10T07:50:24.000Z | txtulip/test/__init__.py | itamarst/txtulip | aa37d4cdd384ff75dd4d789a357a2fda9721dfd7 | [
"MIT"
] | 4 | 2015-01-15T06:09:50.000Z | 2021-05-11T12:52:23.000Z | txtulip/test/__init__.py | itamarst/txtulip | aa37d4cdd384ff75dd4d789a357a2fda9721dfd7 | [
"MIT"
] | 4 | 2015-08-24T19:49:30.000Z | 2018-03-24T15:17:03.000Z | """
Unit tests for txtulip.
"""
| 8 | 23 | 0.59375 | 4 | 32 | 4.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1875 | 32 | 3 | 24 | 10.666667 | 0.730769 | 0.71875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
3ecb5580825d4713ac710ef54472773ed0a1c3fb | 421 | py | Python | day04_part1.py | jkbockstael/adventofcode-2017 | 92337342335898a8493517c82bf1e787acbe9ffa | [
"MIT"
] | null | null | null | day04_part1.py | jkbockstael/adventofcode-2017 | 92337342335898a8493517c82bf1e787acbe9ffa | [
"MIT"
] | null | null | null | day04_part1.py | jkbockstael/adventofcode-2017 | 92337342335898a8493517c82bf1e787acbe9ffa | [
"MIT"
] | null | null | null | # Advent of Code 2017 - Day 4 - High-Entropy Passphrases
# http://adventofcode.com/2017/day/4
import sys
def words(separator):
def words_inner(line):
return line.rstrip().split(separator)
return words_inner
def unique(words):
return len(words) == len(set(words))
if __name__ == '__main__':
pa... | 24.764706 | 66 | 0.684086 | 56 | 421 | 4.964286 | 0.607143 | 0.05036 | 0.057554 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.028653 | 0.171021 | 421 | 16 | 67 | 26.3125 | 0.767908 | 0.211401 | 0 | 0 | 0 | 0 | 0.027356 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0.2 | 0.1 | 0.2 | 0.7 | 0.1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 4 |
3ede058780ffa4f8b51b235b85d50b4e8fc8813b | 90 | py | Python | smart_microscopy_mini/_tests/test_function.py | JanWoyzi/smart-microscopy-mini | 9de9361a50a4417de8ab4ff2f2303f030c7648e0 | [
"BSD-3-Clause"
] | null | null | null | smart_microscopy_mini/_tests/test_function.py | JanWoyzi/smart-microscopy-mini | 9de9361a50a4417de8ab4ff2f2303f030c7648e0 | [
"BSD-3-Clause"
] | null | null | null | smart_microscopy_mini/_tests/test_function.py | JanWoyzi/smart-microscopy-mini | 9de9361a50a4417de8ab4ff2f2303f030c7648e0 | [
"BSD-3-Clause"
] | null | null | null | # from smart_microscopy_mini import threshold, image_arithmetic
# add your tests here...
| 22.5 | 63 | 0.8 | 12 | 90 | 5.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.133333 | 90 | 3 | 64 | 30 | 0.884615 | 0.933333 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4109c0d53e891bd14d17634357857aa185c73026 | 75 | py | Python | csv_builder.py | jessedeveloperinvestor/Multiple-Jesse-Projects | f66a6eed79117fd005668f79e0bee3d8ac76e2b8 | [
"Apache-2.0"
] | null | null | null | csv_builder.py | jessedeveloperinvestor/Multiple-Jesse-Projects | f66a6eed79117fd005668f79e0bee3d8ac76e2b8 | [
"Apache-2.0"
] | null | null | null | csv_builder.py | jessedeveloperinvestor/Multiple-Jesse-Projects | f66a6eed79117fd005668f79e0bee3d8ac76e2b8 | [
"Apache-2.0"
] | null | null | null | with open('python-built-this_excel_file.csv', 'w') as file:
f.write('')
| 25 | 60 | 0.666667 | 13 | 75 | 3.692308 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.12 | 75 | 2 | 61 | 37.5 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0.452055 | 0.438356 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
4118203f8f52fb455b2390a8f02d292fbbcf6ddb | 42 | py | Python | ffta/nfmd/__init__.py | GingerLabUW/FFTA | 576591d6ba23731c26f7dfa90591e94795f1b288 | [
"MIT"
] | 2 | 2020-05-05T17:36:44.000Z | 2020-05-05T19:37:00.000Z | ffta/nfmd/__init__.py | GingerLabUW/FFTA | 576591d6ba23731c26f7dfa90591e94795f1b288 | [
"MIT"
] | 3 | 2020-05-08T05:41:18.000Z | 2020-09-13T01:44:30.000Z | ffta/nfmd/__init__.py | GingerLabUW/FFTA | 576591d6ba23731c26f7dfa90591e94795f1b288 | [
"MIT"
] | 2 | 2020-05-05T19:20:56.000Z | 2020-08-19T20:05:57.000Z | from .NFMD import NFMD
__all__ = ["NFMD"] | 14 | 22 | 0.690476 | 6 | 42 | 4.166667 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 42 | 3 | 23 | 14 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0.093023 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
411c444d7050e4c5bc5d6db45d3bdf5c4416c079 | 97 | py | Python | api_cerved/__init__.py | ferromauro/api-cerved-tutorial | 103ac67fb6e08028d0f5e64f616d525677986e5f | [
"MIT"
] | null | null | null | api_cerved/__init__.py | ferromauro/api-cerved-tutorial | 103ac67fb6e08028d0f5e64f616d525677986e5f | [
"MIT"
] | null | null | null | api_cerved/__init__.py | ferromauro/api-cerved-tutorial | 103ac67fb6e08028d0f5e64f616d525677986e5f | [
"MIT"
] | null | null | null | import sys, os
sys.path.insert(0, os.path.dirname(__file__)) # Only for make runnable the tests.
| 32.333333 | 81 | 0.752577 | 17 | 97 | 4.058824 | 0.823529 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0.123711 | 97 | 2 | 82 | 48.5 | 0.8 | 0.340206 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
412b84b1110c9a7917c1673363c8ae897b3650fa | 147 | py | Python | 1138_05_06-utm2latlon.py | nchaparr/Geospatial-Analysis-with-Python | 6e0d1ff429baa4205c63bf842ab950ed4176536f | [
"CC0-1.0"
] | null | null | null | 1138_05_06-utm2latlon.py | nchaparr/Geospatial-Analysis-with-Python | 6e0d1ff429baa4205c63bf842ab950ed4176536f | [
"CC0-1.0"
] | null | null | null | 1138_05_06-utm2latlon.py | nchaparr/Geospatial-Analysis-with-Python | 6e0d1ff429baa4205c63bf842ab950ed4176536f | [
"CC0-1.0"
] | null | null | null | """Convert utm to lat/lon"""
import utm
y = 479747.0453210057
x = 5377685.825323031
zone = 32
band = 'U'
print utm.to_latlon(y,x,zone,band)
| 18.375 | 35 | 0.673469 | 25 | 147 | 3.92 | 0.72 | 0.102041 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.283333 | 0.183673 | 147 | 7 | 36 | 21 | 0.533333 | 0 | 0 | 0 | 0 | 0 | 0.008929 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.166667 | null | null | 0.166667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
f5ab278b6596e1daa07e39a00a4488f9cf484975 | 56 | py | Python | main.py | thasmarinho/root-image-compressor | 499098013a56da533b69877919fc0737a399527f | [
"MIT"
] | 2 | 2020-08-01T02:51:48.000Z | 2021-11-22T11:58:40.000Z | main.py | thasmarinho/root-image-editor | 0c3e955a1f81be02fef9a488b2b45a44cf16930a | [
"MIT"
] | 4 | 2019-10-30T14:14:46.000Z | 2022-03-11T23:57:52.000Z | main.py | thasmarinho/root-image-compressor | 499098013a56da533b69877919fc0737a399527f | [
"MIT"
] | 1 | 2021-02-21T12:18:05.000Z | 2021-02-21T12:18:05.000Z | import root
if __name__ == "__main__":
root.main()
| 11.2 | 26 | 0.642857 | 7 | 56 | 4 | 0.714286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.214286 | 56 | 4 | 27 | 14 | 0.636364 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
f5cebfd705dd45ae40a23ff2f5d83ccd4c8fbdc4 | 75 | py | Python | MCSlice/__init__.py | dantheta/mcslice | 284e4a17441dd318d416cd27b8edc5a569bb3b2f | [
"BSD-2-Clause"
] | 1 | 2017-02-27T20:27:35.000Z | 2017-02-27T20:27:35.000Z | MCSlice/__init__.py | dantheta/mcslice | 284e4a17441dd318d416cd27b8edc5a569bb3b2f | [
"BSD-2-Clause"
] | null | null | null | MCSlice/__init__.py | dantheta/mcslice | 284e4a17441dd318d416cd27b8edc5a569bb3b2f | [
"BSD-2-Clause"
] | null | null | null |
from explorer import Explorer
from pos import Pos
from chunk import Chunk
| 15 | 29 | 0.826667 | 12 | 75 | 5.166667 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.173333 | 75 | 4 | 30 | 18.75 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
eb02320d902f864d7942e761848009c50eb692bd | 279 | py | Python | myapp/tasks.py | ClassicWannabe/django-celery | 40e242c53548980e7911a8eb4fdd366faf12f614 | [
"MIT"
] | 1 | 2021-07-29T17:24:36.000Z | 2021-07-29T17:24:36.000Z | myapp/tasks.py | ClassicWannabe/django-celery | 40e242c53548980e7911a8eb4fdd366faf12f614 | [
"MIT"
] | null | null | null | myapp/tasks.py | ClassicWannabe/django-celery | 40e242c53548980e7911a8eb4fdd366faf12f614 | [
"MIT"
] | null | null | null | from django.conf import settings
from django.core.mail import send_mail
from MQ.celery import app
@app.task
def add(x, y):
return x + y
@app.task
def send_email(user_email: str) -> None:
send_mail("Hello, man!", "Be strong!", settings.EMAIL_HOST_USER, [user_email])
| 18.6 | 82 | 0.716846 | 47 | 279 | 4.106383 | 0.553191 | 0.103627 | 0.103627 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16129 | 279 | 14 | 83 | 19.928571 | 0.824786 | 0 | 0 | 0.222222 | 0 | 0 | 0.075269 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | 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 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 4 |
eb42f95a13fb9c67e7de524efa4f4db84f716681 | 1,922 | py | Python | pseudocode.py | yahyaeldarieby/snakerun | b0d9b8a925669fd185e943a8a87b56ef6aaf5d75 | [
"Unlicense"
] | null | null | null | pseudocode.py | yahyaeldarieby/snakerun | b0d9b8a925669fd185e943a8a87b56ef6aaf5d75 | [
"Unlicense"
] | null | null | null | pseudocode.py | yahyaeldarieby/snakerun | b0d9b8a925669fd185e943a8a87b56ef6aaf5d75 | [
"Unlicense"
] | null | null | null | # Name: Yahya Eldarieby
# Course: CS30
# Date: 01/10/2019
# Description: RPG Pseudocode
# A text based game following the demo at: https://www.youtube.com/watch?v=higMRrO5AkU
# Start
# Display a welcoming branding image
# Pick an intial location for snake
# Pick an initial location for fruits and obstacles
# Forever ... | 46.878049 | 164 | 0.731009 | 356 | 1,922 | 3.946629 | 0.36236 | 0.054804 | 0.025623 | 0.051246 | 0.170819 | 0.132384 | 0.096797 | 0.096797 | 0 | 0 | 0 | 0.008442 | 0.198751 | 1,922 | 40 | 165 | 48.05 | 0.903896 | 0.492716 | 0 | 0 | 0 | 0.214286 | 0.809874 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
de2a1c6d1b898832b3e4fdb371ba66d55af64390 | 32 | py | Python | Chapter 01/Chap01_Example1.163.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | Chapter 01/Chap01_Example1.163.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | Chapter 01/Chap01_Example1.163.py | bpbpublications/Programming-Techniques-using-Python | 49b785f37e95a3aad1d36cef51e219ac56e5e9f0 | [
"MIT"
] | null | null | null | bin = '111'
print(int(bin,2))
| 10.666667 | 18 | 0.5625 | 6 | 32 | 3 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 0.1875 | 32 | 2 | 19 | 16 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
de3cd7e37f9889d865bf2928fce1adc2cbd4f377 | 294 | py | Python | quantlib/instruments/api.py | dpinte/pyql | 9e5b272947b269ee07c7741d05d21675983d69b4 | [
"BSD-3-Clause"
] | null | null | null | quantlib/instruments/api.py | dpinte/pyql | 9e5b272947b269ee07c7741d05d21675983d69b4 | [
"BSD-3-Clause"
] | null | null | null | quantlib/instruments/api.py | dpinte/pyql | 9e5b272947b269ee07c7741d05d21675983d69b4 | [
"BSD-3-Clause"
] | null | null | null | from .bonds import FixedRateBond, ZeroCouponBond
from .credit_default_swap import CreditDefaultSwap
from .option import EuropeanExercise, AmericanExercise, VanillaOption
from .option import DividendVanillaOption, EuropeanOption
from .payoffs import Put, Call, PlainVanillaPayoff, PAYOFF_TO_STR
| 49 | 69 | 0.867347 | 31 | 294 | 8.096774 | 0.709677 | 0.079681 | 0.12749 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.091837 | 294 | 5 | 70 | 58.8 | 0.940075 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
de4e92c0625ea1f041bc667c48e4b3710b28db78 | 54 | py | Python | Chapter04/deque_reverse.py | PacktPublishing/Secret-Recipes-of-the-Python-Ninja | 805d00c7a54927ba94c9077e9a580508ee3c5e56 | [
"MIT"
] | 13 | 2018-06-21T01:44:49.000Z | 2021-12-01T10:49:53.000Z | Chapter04/deque_reverse.py | PacktPublishing/Secret-Recipes-of-the-Python-Ninja | 805d00c7a54927ba94c9077e9a580508ee3c5e56 | [
"MIT"
] | null | null | null | Chapter04/deque_reverse.py | PacktPublishing/Secret-Recipes-of-the-Python-Ninja | 805d00c7a54927ba94c9077e9a580508ee3c5e56 | [
"MIT"
] | 6 | 2018-10-05T08:29:24.000Z | 2022-01-11T14:49:50.000Z | >>> list(reversed(d))
['i', 'h', 'g']
| 18 | 37 | 0.296296 | 6 | 54 | 2.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.388889 | 54 | 2 | 38 | 27 | 0.484848 | 0 | 0 | 0 | 0 | 0 | 0.055556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
de6635dc543c4f7999cb03d6e6e0fe1b430ec3be | 211 | py | Python | environment/serializers.py | trejiiten/testrun_python_restapi | 81496c72868be46174495989fb528231c532fe82 | [
"MIT"
] | null | null | null | environment/serializers.py | trejiiten/testrun_python_restapi | 81496c72868be46174495989fb528231c532fe82 | [
"MIT"
] | null | null | null | environment/serializers.py | trejiiten/testrun_python_restapi | 81496c72868be46174495989fb528231c532fe82 | [
"MIT"
] | null | null | null | from rest_framework import serializers
from environment.models import Environment
class EnvironmentSerializer(serializers.ModelSerializer):
class Meta:
model = Environment
fields = '__all__' | 30.142857 | 57 | 0.772512 | 20 | 211 | 7.9 | 0.7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.180095 | 211 | 7 | 58 | 30.142857 | 0.913295 | 0 | 0 | 0 | 0 | 0 | 0.033019 | 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 | 1 | 0 | 0 | 4 |
de75b42c693adbf0302aeb5a12d51e6d5ef4587c | 833 | py | Python | tests/__init__.py | SuneelMaurya/the-example-app | ec3238ec1db387037aba56baeaabc4a34d6fa2fd | [
"MIT"
] | 17 | 2018-03-30T03:03:12.000Z | 2022-01-20T02:21:59.000Z | tests/__init__.py | SuneelMaurya/the-example-app | ec3238ec1db387037aba56baeaabc4a34d6fa2fd | [
"MIT"
] | 6 | 2018-01-18T20:18:26.000Z | 2020-06-29T20:39:44.000Z | tests/__init__.py | SuneelMaurya/the-example-app | ec3238ec1db387037aba56baeaabc4a34d6fa2fd | [
"MIT"
] | 38 | 2018-03-30T03:03:14.000Z | 2022-03-30T13:49:46.000Z | from unittest import TestCase
from app import app
from i18n.i18n import I18n
class MockApp(object):
def add_template_filter(self, fn):
pass
class IntegrationTestBase(TestCase):
def setUp(self):
I18n(app)
app.testing = True
self.app = app.test_client()
def _assertStatusC... | 23.8 | 52 | 0.692677 | 90 | 833 | 6.3 | 0.411111 | 0.126984 | 0.141093 | 0.282187 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035385 | 0.219688 | 833 | 34 | 53 | 24.5 | 0.836923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.521739 | 1 | 0.347826 | false | 0.043478 | 0.130435 | 0 | 0.565217 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
de7a19294fc3d349f3b5a2ad29b394ae362e3643 | 94 | py | Python | apps/page/admin.py | TeijiW/finances | ee4ceb2daa4d6a2b1993bdc5c3583073b2a8eaa5 | [
"MIT"
] | null | null | null | apps/page/admin.py | TeijiW/finances | ee4ceb2daa4d6a2b1993bdc5c3583073b2a8eaa5 | [
"MIT"
] | null | null | null | apps/page/admin.py | TeijiW/finances | ee4ceb2daa4d6a2b1993bdc5c3583073b2a8eaa5 | [
"MIT"
] | null | null | null | from django.contrib import admin
from apps.page.models import Page
admin.site.register(Page)
| 18.8 | 33 | 0.819149 | 15 | 94 | 5.133333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106383 | 94 | 4 | 34 | 23.5 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
de8bb25793e1b7f4439ea44596b4565ff8c5cc5b | 115 | py | Python | tests/helpers/pkg/circles/simple_operation.py | hyperleex/dependencies | 188843f616670a90e5e4a4c48b2fb954a460c2ee | [
"BSD-2-Clause"
] | null | null | null | tests/helpers/pkg/circles/simple_operation.py | hyperleex/dependencies | 188843f616670a90e5e4a4c48b2fb954a460c2ee | [
"BSD-2-Clause"
] | null | null | null | tests/helpers/pkg/circles/simple_operation.py | hyperleex/dependencies | 188843f616670a90e5e4a4c48b2fb954a460c2ee | [
"BSD-2-Clause"
] | null | null | null | # -*- coding: utf-8 -*-
from dependencies import operation
@operation
def Foo(foo):
pass # pragma: no cover
| 14.375 | 34 | 0.66087 | 15 | 115 | 5.066667 | 0.866667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010989 | 0.208696 | 115 | 7 | 35 | 16.428571 | 0.824176 | 0.330435 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0.25 | 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 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
debd0a176b9d6e0943975d3d98125ae401b2a778 | 54 | py | Python | Term 2/17/t.py | theseana/ajisa | 1c92b00acd3fad7c92b8222b5f6a86fc6db4bcae | [
"MIT"
] | null | null | null | Term 2/17/t.py | theseana/ajisa | 1c92b00acd3fad7c92b8222b5f6a86fc6db4bcae | [
"MIT"
] | null | null | null | Term 2/17/t.py | theseana/ajisa | 1c92b00acd3fad7c92b8222b5f6a86fc6db4bcae | [
"MIT"
] | null | null | null | import tkinter as tk
root = tk.Tk()
root.mainloop() | 9 | 20 | 0.685185 | 9 | 54 | 4.111111 | 0.666667 | 0.324324 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 54 | 6 | 21 | 9 | 0.840909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
7211095a3fab9d898a7dd5d216a6a4ce831ddff0 | 538 | gyp | Python | binding.gyp | vladski-i/rooda | 62cf7f4e19a21e51feab1852419d32fa742e5888 | [
"MIT"
] | null | null | null | binding.gyp | vladski-i/rooda | 62cf7f4e19a21e51feab1852419d32fa742e5888 | [
"MIT"
] | null | null | null | binding.gyp | vladski-i/rooda | 62cf7f4e19a21e51feab1852419d32fa742e5888 | [
"MIT"
] | null | null | null | {
"targets": [
{
"target_name": "roo",
"sources": [ "./src/c/roo/roo.c",
"./src/c/roo/roo_node.c",
"./src/c/roo/callbacks.c",
"./src/c/roo/startup.c",
"./src/c/roo/interface.c",
"./src/c/roo/log.c",
"./src/c/roo/plugin.c",
"./src/c/roo/map.c",
... | 26.9 | 75 | 0.479554 | 71 | 538 | 3.577465 | 0.380282 | 0.15748 | 0.275591 | 0.283465 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.004963 | 0.250929 | 538 | 19 | 76 | 28.315789 | 0.62531 | 0 | 0 | 0 | 0 | 0 | 0.611524 | 0.260223 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 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 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a0c76eab77b027d17e093c83a412e746681910cb | 2,282 | py | Python | products/models.py | Readri205/MS4_shopfront | 353683ff79da36391c25f4d6037b65fd97cac5d2 | [
"Unlicense"
] | null | null | null | products/models.py | Readri205/MS4_shopfront | 353683ff79da36391c25f4d6037b65fd97cac5d2 | [
"Unlicense"
] | null | null | null | products/models.py | Readri205/MS4_shopfront | 353683ff79da36391c25f4d6037b65fd97cac5d2 | [
"Unlicense"
] | 1 | 2021-05-31T07:59:38.000Z | 2021-05-31T07:59:38.000Z | from django.db import models
class Type(models.Model):
class Meta:
verbose_name_plural = "Types"
name = models.CharField(max_length=254)
friendly_name = models.CharField(max_length=254, null=True, blank=True)
def __str__(self):
return self.name
def get_friendly_name(self):
... | 26.847059 | 75 | 0.689308 | 297 | 2,282 | 5.063973 | 0.181818 | 0.095745 | 0.103723 | 0.135638 | 0.734707 | 0.716755 | 0.716755 | 0.588431 | 0.588431 | 0.433511 | 0 | 0.021041 | 0.208589 | 2,282 | 84 | 76 | 27.166667 | 0.811739 | 0 | 0 | 0.482759 | 0 | 0 | 0.022787 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.172414 | false | 0 | 0.017241 | 0.172414 | 0.827586 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 4 |
a0ce27ecaab707b1a48fc37e08a5da31a6ad9ff6 | 37 | py | Python | src/RobotFrameworkCore/org.robotframework.ide.core-functions/src/test/python/scripts/res_test_red_variables/vars_class_as_var.py | alex729/RED | 128bf203cf035892c02805aabd0c915f96006bb0 | [
"Apache-2.0"
] | 375 | 2015-11-02T19:15:30.000Z | 2022-03-19T03:32:10.000Z | src/RobotFrameworkCore/org.robotframework.ide.core-functions/src/test/python/scripts/res_test_red_variables/vars_class_as_var.py | alex729/RED | 128bf203cf035892c02805aabd0c915f96006bb0 | [
"Apache-2.0"
] | 433 | 2015-11-03T13:24:40.000Z | 2022-03-30T11:20:14.000Z | src/RobotFrameworkCore/org.robotframework.ide.core-functions/src/test/python/scripts/res_test_red_variables/vars_class_as_var.py | alex729/RED | 128bf203cf035892c02805aabd0c915f96006bb0 | [
"Apache-2.0"
] | 133 | 2016-05-02T02:20:06.000Z | 2022-01-06T06:01:28.000Z | class SomeClass(object):
ONE = 1 | 18.5 | 25 | 0.648649 | 5 | 37 | 4.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.035714 | 0.243243 | 37 | 2 | 26 | 18.5 | 0.821429 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
a0d0d2838a1f9e87a749e3e30601764ee79582b4 | 91 | py | Python | leapmotion/tests/factories.py | uncommitted-and-forgotten/django-leapmotion | 38575c81d0ccc7a1fabad4fa2e2bac3bd82c0499 | [
"MIT"
] | 1 | 2016-11-10T21:04:30.000Z | 2016-11-10T21:04:30.000Z | leapmotion/tests/factories.py | uncommitted-and-forgotten/django-leapmotion | 38575c81d0ccc7a1fabad4fa2e2bac3bd82c0499 | [
"MIT"
] | null | null | null | leapmotion/tests/factories.py | uncommitted-and-forgotten/django-leapmotion | 38575c81d0ccc7a1fabad4fa2e2bac3bd82c0499 | [
"MIT"
] | null | null | null | """Factories for the leapmotion app."""
# import factory
# from ..models import YourModel
| 18.2 | 39 | 0.725275 | 11 | 91 | 6 | 0.909091 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.153846 | 91 | 4 | 40 | 22.75 | 0.857143 | 0.879121 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a0d286293b2e7aaf1c57a57ed98a54949b19cd7b | 141 | py | Python | 002 byte_bit_table.py | NaiveTom/massive_computer | 1737ca499911ffb46e9ad286cf20d2d687a92a8d | [
"MIT"
] | null | null | null | 002 byte_bit_table.py | NaiveTom/massive_computer | 1737ca499911ffb46e9ad286cf20d2d687a92a8d | [
"MIT"
] | null | null | null | 002 byte_bit_table.py | NaiveTom/massive_computer | 1737ca499911ffb46e9ad286cf20d2d687a92a8d | [
"MIT"
] | null | null | null | num = 1
for i in range(16):
print(num<<i, end=', ')
print(); print()
for i in range(16):
print('0x%x'%(num<<i), end=',')
| 14.1 | 36 | 0.475177 | 24 | 141 | 2.791667 | 0.458333 | 0.119403 | 0.179104 | 0.328358 | 0.537313 | 0.537313 | 0 | 0 | 0 | 0 | 0 | 0.058252 | 0.269504 | 141 | 9 | 37 | 15.666667 | 0.592233 | 0 | 0 | 0.333333 | 0 | 0 | 0.05303 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 4 |
a0db08f0903a7319d5d344d6620d93328bbd18ee | 53 | py | Python | speechbrain/nnet/quaternion_networks/__init__.py | JasonSWFu/speechbrain | cb78ba2b33fceba273b055dc471535344c3053f0 | [
"Apache-2.0"
] | 3,913 | 2021-03-14T13:54:52.000Z | 2022-03-30T05:09:55.000Z | speechbrain/nnet/quaternion_networks/__init__.py | JasonSWFu/speechbrain | cb78ba2b33fceba273b055dc471535344c3053f0 | [
"Apache-2.0"
] | 667 | 2021-03-14T20:11:17.000Z | 2022-03-31T04:07:17.000Z | speechbrain/nnet/quaternion_networks/__init__.py | JasonSWFu/speechbrain | cb78ba2b33fceba273b055dc471535344c3053f0 | [
"Apache-2.0"
] | 785 | 2021-03-14T13:20:57.000Z | 2022-03-31T03:26:03.000Z | """Package containing quaternion neural networks
"""
| 17.666667 | 48 | 0.773585 | 5 | 53 | 8.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 53 | 2 | 49 | 26.5 | 0.87234 | 0.849057 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
a0eb7df4b94e328e62a870a1873e3850c5dc8e2f | 36,954 | py | Python | util/analysis/visualize_optimization.py | joelouismarino/variational_rl | 11dc14bfb56f3ebbfccd5de206b78712a8039a9a | [
"MIT"
] | 15 | 2020-10-20T22:09:36.000Z | 2021-12-24T13:40:36.000Z | util/analysis/visualize_optimization.py | joelouismarino/variational_rl | 11dc14bfb56f3ebbfccd5de206b78712a8039a9a | [
"MIT"
] | null | null | null | util/analysis/visualize_optimization.py | joelouismarino/variational_rl | 11dc14bfb56f3ebbfccd5de206b78712a8039a9a | [
"MIT"
] | 1 | 2020-10-23T19:48:06.000Z | 2020-10-23T19:48:06.000Z | import comet_ml, json
import numpy as np
import torch
from torch import optim
from misc import clear_gradients
from lib import create_agent
from util.env_util import create_env
from util.plot_util import load_checkpoint
from lib.distributions import kl_divergence
from local_vars import PROJECT_NAME, WORKSPACE, LOADING_... | 46.1925 | 151 | 0.663636 | 5,046 | 36,954 | 4.575505 | 0.063813 | 0.042013 | 0.042879 | 0.027157 | 0.770833 | 0.740904 | 0.711062 | 0.701057 | 0.66593 | 0.645573 | 0 | 0.027148 | 0.2285 | 36,954 | 799 | 152 | 46.250313 | 0.782673 | 0.169887 | 0 | 0.653543 | 0 | 0 | 0.054191 | 0.007219 | 0 | 0 | 0 | 0 | 0.001969 | 1 | 0.009843 | false | 0 | 0.019685 | 0 | 0.03937 | 0.064961 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
9d15c387d2254b8d4fccaafb7dccd361f3a8cb64 | 174 | py | Python | pack.py | Sanster/LeetCode | 5a0c448928b216b49c127c4542ae3cd74c797782 | [
"MIT"
] | 2 | 2018-10-13T15:12:55.000Z | 2020-06-07T09:35:40.000Z | pack.py | Sanster/PyLeeCode | 5a0c448928b216b49c127c4542ae3cd74c797782 | [
"MIT"
] | null | null | null | pack.py | Sanster/PyLeeCode | 5a0c448928b216b49c127c4542ae3cd74c797782 | [
"MIT"
] | null | null | null | def pack01():
"""
01 背包问题:
有 N 件物品和一个容积为 V 的背包。每件物品的体积为 v[i] ,每件物品的价值为 w[i] 。求解将哪些物品装入背包可使价值总和最大。
子问题:
"""
pass
if __name__ == "__main__":
pass
| 14.5 | 74 | 0.563218 | 22 | 174 | 4.090909 | 0.863636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.032787 | 0.298851 | 174 | 11 | 75 | 15.818182 | 0.704918 | 0.482759 | 0 | 0.5 | 0 | 0 | 0.121212 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | true | 0.5 | 0 | 0 | 0.25 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
9d2eac224f1bb070893d278fb9e4cbf87fa14324 | 591 | py | Python | mads/apps/core/serializers.py | hugis/mads | d5a2ed633932621849ebe073655371cb381c8f6b | [
"MIT"
] | null | null | null | mads/apps/core/serializers.py | hugis/mads | d5a2ed633932621849ebe073655371cb381c8f6b | [
"MIT"
] | null | null | null | mads/apps/core/serializers.py | hugis/mads | d5a2ed633932621849ebe073655371cb381c8f6b | [
"MIT"
] | null | null | null | from rest_framework import serializers
from . import models
class DomainSerializer(serializers.ModelSerializer):
class Meta:
model = models.Domain
fields = ["name", "created", "modified", "active"]
class MailboxSerializer(serializers.ModelSerializer):
class Meta:
model = models.Mail... | 26.863636 | 85 | 0.671743 | 54 | 591 | 7.333333 | 0.462963 | 0.19697 | 0.234848 | 0.265152 | 0.348485 | 0.348485 | 0 | 0 | 0 | 0 | 0 | 0 | 0.199662 | 591 | 21 | 86 | 28.142857 | 0.837209 | 0 | 0 | 0.214286 | 0 | 0 | 0.184433 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.071429 | 0.142857 | 0 | 0.571429 | 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 | 1 | 0 | 0 | 1 | 0 | 0 | 4 |
9d536cba7b62b0f25fc4e2a85f5fd8a9e6950d51 | 285 | py | Python | cogs/settings/errors.py | thatoneolib/senko | 686d768f8bc0c69a874dba180abb85049ff473b9 | [
"MIT"
] | null | null | null | cogs/settings/errors.py | thatoneolib/senko | 686d768f8bc0c69a874dba180abb85049ff473b9 | [
"MIT"
] | null | null | null | cogs/settings/errors.py | thatoneolib/senko | 686d768f8bc0c69a874dba180abb85049ff473b9 | [
"MIT"
] | null | null | null | class BadSetting(Exception):
"""
Exception raised when an invalid value is provided
for one or more settings when updating settings.
"""
class UnknownSetting(Exception):
"""
Exception raised when attempting to access a setting
that does not exist.
""" | 23.75 | 56 | 0.687719 | 34 | 285 | 5.764706 | 0.764706 | 0.183673 | 0.244898 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.242105 | 285 | 12 | 57 | 23.75 | 0.907407 | 0.607018 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
19b5c11ecd1ed49dd2ba4caf9874fa1fe5e8f579 | 137 | py | Python | gitlab_api/settings.py | dazza-codes/gitlab-api-pyclient | e850c9c193cfb1fb2d3c6adef2a0aabdae510da1 | [
"Apache-2.0"
] | null | null | null | gitlab_api/settings.py | dazza-codes/gitlab-api-pyclient | e850c9c193cfb1fb2d3c6adef2a0aabdae510da1 | [
"Apache-2.0"
] | null | null | null | gitlab_api/settings.py | dazza-codes/gitlab-api-pyclient | e850c9c193cfb1fb2d3c6adef2a0aabdae510da1 | [
"Apache-2.0"
] | null | null | null | from pathlib import Path
from dotenv import load_dotenv
env_path = Path(".") / ".env"
load_dotenv(dotenv_path=env_path, verbose=True)
| 17.125 | 47 | 0.759124 | 21 | 137 | 4.714286 | 0.428571 | 0.20202 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131387 | 137 | 7 | 48 | 19.571429 | 0.831933 | 0 | 0 | 0 | 0 | 0 | 0.036496 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
19c0df9a7a15b0f571dc4327515e7a9ffeaa2655 | 4,113 | py | Python | paralleltools/tests/acceptance_tests.py | andrusha/paralleltools | ffb4f3f3eb45eed1b95440507cce309ff4c37f8e | [
"MIT"
] | 3 | 2015-08-02T10:56:26.000Z | 2018-08-23T08:14:21.000Z | paralleltools/tests/acceptance_tests.py | andrusha/paralleltools | ffb4f3f3eb45eed1b95440507cce309ff4c37f8e | [
"MIT"
] | null | null | null | paralleltools/tests/acceptance_tests.py | andrusha/paralleltools | ffb4f3f3eb45eed1b95440507cce309ff4c37f8e | [
"MIT"
] | null | null | null | import sys
import unittest
import random
import paralleltools
if sys.version_info >= (3, 0):
xrange = range
class AcceptanceTestCase(unittest.TestCase):
### Map:
def test_sync_map(self):
lst = [1, 3, 3, 7]
exp = [1, 9, 9, 49]
res = paralleltools.map(lambda x: x * x, lst)
... | 26.031646 | 76 | 0.54656 | 586 | 4,113 | 3.728669 | 0.12628 | 0.017391 | 0.062243 | 0.06865 | 0.817391 | 0.767963 | 0.726773 | 0.643478 | 0.603661 | 0.51762 | 0 | 0.048798 | 0.322392 | 4,113 | 157 | 77 | 26.197452 | 0.735199 | 0.024799 | 0 | 0.495238 | 0 | 0 | 0.021489 | 0 | 0 | 0 | 0 | 0 | 0.171429 | 1 | 0.209524 | false | 0 | 0.038095 | 0 | 0.27619 | 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 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
19c353b29101edd39f5df57efa0875b84b7c8f1e | 106 | py | Python | web/main.py | zhengbigbig/python_demo | 29b62bea9e5abaa02e51744a926f722d1b99ec8d | [
"MIT"
] | null | null | null | web/main.py | zhengbigbig/python_demo | 29b62bea9e5abaa02e51744a926f722d1b99ec8d | [
"MIT"
] | null | null | null | web/main.py | zhengbigbig/python_demo | 29b62bea9e5abaa02e51744a926f722d1b99ec8d | [
"MIT"
] | null | null | null | from myproject.web import app
if __name__ == '__main__':
app.run(host='0.0.0.0', port=8888, debug=True)
| 21.2 | 47 | 0.698113 | 19 | 106 | 3.473684 | 0.789474 | 0.090909 | 0.090909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.086022 | 0.122642 | 106 | 4 | 48 | 26.5 | 0.623656 | 0 | 0 | 0 | 0 | 0 | 0.141509 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
19c5521e0d0cf23204ca8d13bc7e7b4ed69a6660 | 20 | py | Python | data/studio21_generated/interview/1707/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/interview/1707/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | data/studio21_generated/interview/1707/starter_code.py | vijaykumawat256/Prompt-Summarization | 614f5911e2acd2933440d909de2b4f86653dc214 | [
"Apache-2.0"
] | null | null | null | def cut_log(p, n):
| 10 | 18 | 0.6 | 5 | 20 | 2.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.2 | 20 | 2 | 19 | 10 | 0.6875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
19ed6d1312a77164af425dc96917b9a579a3d263 | 1,643 | py | Python | website/views.py | Geometrein/flask-sqlite-stripe | 9b5b928f7361edc949096a2717f754dbb9309cf8 | [
"MIT"
] | null | null | null | website/views.py | Geometrein/flask-sqlite-stripe | 9b5b928f7361edc949096a2717f754dbb9309cf8 | [
"MIT"
] | null | null | null | website/views.py | Geometrein/flask-sqlite-stripe | 9b5b928f7361edc949096a2717f754dbb9309cf8 | [
"MIT"
] | null | null | null | from flask import Blueprint, render_template
from .models import User
from flask_login import login_required, current_user
views = Blueprint('views', __name__)
def base():
"""
"""
return render_template("base.html", user=current_user)
@views.route('/')
@views.route('/home')
def home():
"""
"""
... | 20.797468 | 62 | 0.647596 | 191 | 1,643 | 5.397906 | 0.183246 | 0.176528 | 0.186227 | 0.221145 | 0.410281 | 0.410281 | 0.100873 | 0.100873 | 0 | 0 | 0 | 0 | 0.176506 | 1,643 | 79 | 62 | 20.797468 | 0.76201 | 0.055386 | 0 | 0 | 0 | 0 | 0.156821 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.3 | false | 0 | 0.075 | 0 | 0.675 | 0.05 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 4 |
19f9603a27cee2ccca0807b41357f9b10d1dd038 | 528 | py | Python | unused/cv/__init__.py | VirtualVFix/AndroidTestFramework | 1feb769c6aca39a78e6daefd6face0a1e4d62cd4 | [
"MIT"
] | null | null | null | unused/cv/__init__.py | VirtualVFix/AndroidTestFramework | 1feb769c6aca39a78e6daefd6face0a1e4d62cd4 | [
"MIT"
] | null | null | null | unused/cv/__init__.py | VirtualVFix/AndroidTestFramework | 1feb769c6aca39a78e6daefd6face0a1e4d62cd4 | [
"MIT"
] | null | null | null | # All rights reserved by forest fairy.
# You cannot modify or share anything without sacrifice.
# If you don't agree, keep calm and don't look at code bellow!
__author__ = "VirtualV <https://github.com/virtualvfix>"
__date__ = "$Apr 28, 2016 12:18:02 PM$"
from benchmarks.toolkits.cv.CV import CV
from benchmarks.toolk... | 40.615385 | 62 | 0.780303 | 75 | 528 | 5.333333 | 0.626667 | 0.14 | 0.22 | 0.24 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025806 | 0.119318 | 528 | 13 | 63 | 40.615385 | 0.834409 | 0.287879 | 0 | 0 | 0 | 0 | 0.265416 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.571429 | 0 | 0.571429 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 4 |
c20ef96f5bbb4706deac525408622f102352a345 | 748 | py | Python | losses/LSGanLoss.py | And1210/Cartoonization | 8b05040d574e64b565cdfbff98dbebbab4c7a9d2 | [
"MIT"
] | null | null | null | losses/LSGanLoss.py | And1210/Cartoonization | 8b05040d574e64b565cdfbff98dbebbab4c7a9d2 | [
"MIT"
] | null | null | null | losses/LSGanLoss.py | And1210/Cartoonization | 8b05040d574e64b565cdfbff98dbebbab4c7a9d2 | [
"MIT"
] | null | null | null | import numpy as np
import torch
import torch.nn as nn
import torch.nn.functional as F
from torch import Tensor
from torch.autograd import Variable
import matplotlib.pyplot as plt
class LSGanLoss(nn.Module):
def __init__(self) -> None:
super().__init__()
# NOTE c=b a=0
def _d_loss(self, real_logit, fake_lo... | 28.769231 | 108 | 0.668449 | 134 | 748 | 3.5 | 0.313433 | 0.134328 | 0.059701 | 0.115139 | 0.176972 | 0.083156 | 0.055437 | 0 | 0 | 0 | 0 | 0.03928 | 0.183155 | 748 | 25 | 109 | 29.92 | 0.728314 | 0.081551 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.388889 | 0.111111 | 0.833333 | 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 | 1 | 1 | 0 | 0 | 4 |
c20f4544dcae0f2ae1155940864d2e8c71ea5217 | 721 | py | Python | packages/watchmen-storage/src/watchmen_storage/storage_exception.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | packages/watchmen-storage/src/watchmen_storage/storage_exception.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | packages/watchmen-storage/src/watchmen_storage/storage_exception.py | Indexical-Metrics-Measure-Advisory/watchmen | c54ec54d9f91034a38e51fd339ba66453d2c7a6d | [
"MIT"
] | null | null | null | # noinspection DuplicatedCode
class InsertConflictException(Exception):
pass
class OptimisticLockException(Exception):
pass
class UnexpectedStorageException(Exception):
pass
class UnsupportedCriteriaException(UnexpectedStorageException):
pass
class UnsupportedComputationException(UnexpectedStorageException)... | 16.386364 | 69 | 0.859917 | 46 | 721 | 13.478261 | 0.347826 | 0.145161 | 0.33871 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.092926 | 721 | 43 | 70 | 16.767442 | 0.948012 | 0.037448 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 0 | 0 | 1 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 4 |
c217bedcd70c92f59d5654562cfe26c8b956e5fa | 189 | py | Python | autode/thermochemistry/__init__.py | tlestang/autodE | 56fd4c78e7d7e78c5747428190211ff69dc6d94a | [
"MIT"
] | 90 | 2020-03-13T15:03:35.000Z | 2022-03-14T13:41:04.000Z | autode/thermochemistry/__init__.py | skphy/autodE | fd80995206ac601299d2f78105d0fe4deee8c2cf | [
"MIT"
] | 117 | 2020-06-13T00:11:06.000Z | 2022-03-24T08:54:16.000Z | autode/thermochemistry/__init__.py | skphy/autodE | fd80995206ac601299d2f78105d0fe4deee8c2cf | [
"MIT"
] | 26 | 2020-08-14T04:52:53.000Z | 2022-03-06T13:04:17.000Z | from autode.thermochemistry.igm import calculate_thermo_cont
from autode.thermochemistry.symmetry import symmetry_number
__all__ = ['calculate_thermo_cont',
'symmetry_number']
| 27 | 60 | 0.804233 | 21 | 189 | 6.761905 | 0.52381 | 0.140845 | 0.352113 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.132275 | 189 | 6 | 61 | 31.5 | 0.865854 | 0 | 0 | 0 | 0 | 0 | 0.191489 | 0.111702 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 4 |
c2364e03fc19c9d07f2473b28cbca55d8660a042 | 144 | py | Python | celery_example_initial/run.py | sklarsa/rabbitmq-presentation | 76c10f6001e4fc76b4a05b0d91b1a9438104f3ca | [
"MIT"
] | 9 | 2018-05-13T18:01:22.000Z | 2020-02-27T14:09:53.000Z | celery_example_initial/run.py | sklarsa/rabbitmq-presentation | 76c10f6001e4fc76b4a05b0d91b1a9438104f3ca | [
"MIT"
] | 1 | 2019-09-28T15:31:41.000Z | 2019-09-28T22:31:03.000Z | celery_example_initial/run.py | sklarsa/rabbitmq-presentation | 76c10f6001e4fc76b4a05b0d91b1a9438104f3ca | [
"MIT"
] | 3 | 2018-10-03T18:03:27.000Z | 2021-11-01T04:36:18.000Z | from tasks import fit_neural_net, run_user_query
for x in range(4):
fit_neural_net.delay()
for x in range(40):
run_user_query.delay()
| 18 | 48 | 0.736111 | 27 | 144 | 3.62963 | 0.592593 | 0.183673 | 0.244898 | 0.22449 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.02521 | 0.173611 | 144 | 7 | 49 | 20.571429 | 0.798319 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.2 | 0 | 0.2 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dfb13ec2674ab9d9820a67076e62579c438e0914 | 116 | py | Python | contador.py | laurisag/contador | 686f6073d3b00e0b71039e6adaf939be49372f16 | [
"Apache-2.0"
] | 2 | 2019-02-15T16:08:27.000Z | 2019-02-15T16:09:14.000Z | contador.py | laurisag/contador | 686f6073d3b00e0b71039e6adaf939be49372f16 | [
"Apache-2.0"
] | null | null | null | contador.py | laurisag/contador | 686f6073d3b00e0b71039e6adaf939be49372f16 | [
"Apache-2.0"
] | null | null | null | class Contador():
counts = count(0)
def __init__(self, counting):
self.counting = next(self.counts)
| 23.2 | 38 | 0.637931 | 14 | 116 | 5 | 0.714286 | 0.342857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011236 | 0.232759 | 116 | 4 | 39 | 29 | 0.775281 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
dfd296dc0a21a0bc25868bea06faf8a806a513bd | 102 | py | Python | galini_dashboard/main.py | cog-imperial/galini-dashboard | f5dafc5d9bd7de41fae1ffa92564b3e36123889b | [
"Apache-2.0"
] | 1 | 2021-02-28T04:52:59.000Z | 2021-02-28T04:52:59.000Z | galini_dashboard/main.py | cog-imperial/galini-dashboard | f5dafc5d9bd7de41fae1ffa92564b3e36123889b | [
"Apache-2.0"
] | null | null | null | galini_dashboard/main.py | cog-imperial/galini-dashboard | f5dafc5d9bd7de41fae1ffa92564b3e36123889b | [
"Apache-2.0"
] | null | null | null | from galini_dashboard.API.server import create_app
def main():
app = create_app()
app.run()
| 14.571429 | 50 | 0.696078 | 15 | 102 | 4.533333 | 0.733333 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.196078 | 102 | 6 | 51 | 17 | 0.829268 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.